/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { ChartUserShapePartManager } from "./ChartUserShapePartManager";
import { Base, typeCast, markType } from "igniteui-angular-core";
import { DocCoreUtils } from "./DocCoreUtils";
import { BinaryData } from "./BinaryData";
import { WorkItem } from "./WorkItem";
import { Excel2007ChartData } from "./Excel2007ChartData";
/**
 * @hidden
 */
var ObjectModelChartUserShapePartManager = /** @class */ (function (_super) {
    tslib_1.__extends(ObjectModelChartUserShapePartManager, _super);
    function ObjectModelChartUserShapePartManager() {
        return _super.call(this) || this;
    }
    ObjectModelChartUserShapePartManager.prototype.a = function () {
        return WorkItem.g(Base.$, new BinaryData(DocCoreUtils.c(this.l)));
    };
    ObjectModelChartUserShapePartManager.prototype.b = function (a) {
        var b = typeCast(Excel2007ChartData.$, a);
        if (b == null) {
            return null;
        }
        if (b.e != null) {
            this.l.write(b.e.d.a, 0, b.e.d.a.length);
        }
        return null;
    };
    ObjectModelChartUserShapePartManager.$t = markType(ObjectModelChartUserShapePartManager, 'ObjectModelChartUserShapePartManager', ChartUserShapePartManager.$);
    ObjectModelChartUserShapePartManager.v = new ObjectModelChartUserShapePartManager();
    return ObjectModelChartUserShapePartManager;
}(ChartUserShapePartManager));
export { ObjectModelChartUserShapePartManager };
//# sourceMappingURL=ObjectModelChartUserShapePartManager.js.map