UNPKG

igniteui-webcomponents-charts

Version:

Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.

82 lines (81 loc) 3.55 kB
import { __extends } from "tslib"; import { IgcStackedLineSeriesComponent } from "./igc-stacked-line-series-component"; import { Stacked100LineSeries } from "./Stacked100LineSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent stacked100 line series. */ export var IgcStacked100LineSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcStacked100LineSeriesComponent, _super); function IgcStacked100LineSeriesComponent() { return _super.call(this) || this; } IgcStacked100LineSeriesComponent.prototype.createImplementation = function () { return new Stacked100LineSeries(); }; Object.defineProperty(IgcStacked100LineSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcStacked100LineSeriesComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcStacked100LineSeriesComponent.prototype.disconnectedCallback = function () { if (_super.prototype["disconnectedCallback"]) { _super.prototype["disconnectedCallback"].call(this); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } }; Object.defineProperty(IgcStacked100LineSeriesComponent, "observedAttributes", { get: function () { if (IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent == null) { var names = getAllPropertyNames(IgcStacked100LineSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent = names; } return IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent; }, enumerable: false, configurable: true }); IgcStacked100LineSeriesComponent.register = function () { if (!IgcStacked100LineSeriesComponent._isElementRegistered) { IgcStacked100LineSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcStacked100LineSeriesComponent.htmlTagName, IgcStacked100LineSeriesComponent); } }; Object.defineProperty(IgcStacked100LineSeriesComponent.prototype, "isPercentBased", { get: function () { return this.i.abr; }, enumerable: false, configurable: true }); IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent = null; IgcStacked100LineSeriesComponent.htmlTagName = "igc-stacked-100-line-series"; IgcStacked100LineSeriesComponent._isElementRegistered = false; return IgcStacked100LineSeriesComponent; }(IgcStackedLineSeriesComponent));