UNPKG

igniteui-webcomponents-charts

Version:

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

82 lines (81 loc) 3.52 kB
import { __extends } from "tslib"; import { IgcStackedBarSeriesComponent } from "./igc-stacked-bar-series-component"; import { Stacked100BarSeries } from "./Stacked100BarSeries"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent stacked100 bar series. */ export var IgcStacked100BarSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcStacked100BarSeriesComponent, _super); function IgcStacked100BarSeriesComponent() { return _super.call(this) || this; } IgcStacked100BarSeriesComponent.prototype.createImplementation = function () { return new Stacked100BarSeries(); }; Object.defineProperty(IgcStacked100BarSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcStacked100BarSeriesComponent.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(); } }; IgcStacked100BarSeriesComponent.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(IgcStacked100BarSeriesComponent, "observedAttributes", { get: function () { if (IgcStacked100BarSeriesComponent._observedAttributesIgcStacked100BarSeriesComponent == null) { var names = getAllPropertyNames(IgcStacked100BarSeriesComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcStacked100BarSeriesComponent._observedAttributesIgcStacked100BarSeriesComponent = names; } return IgcStacked100BarSeriesComponent._observedAttributesIgcStacked100BarSeriesComponent; }, enumerable: false, configurable: true }); IgcStacked100BarSeriesComponent.register = function () { if (!IgcStacked100BarSeriesComponent._isElementRegistered) { IgcStacked100BarSeriesComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcStacked100BarSeriesComponent.htmlTagName, IgcStacked100BarSeriesComponent); } }; Object.defineProperty(IgcStacked100BarSeriesComponent.prototype, "isPercentBased", { get: function () { return this.i.abr; }, enumerable: false, configurable: true }); IgcStacked100BarSeriesComponent._observedAttributesIgcStacked100BarSeriesComponent = null; IgcStacked100BarSeriesComponent.htmlTagName = "igc-stacked-100-bar-series"; IgcStacked100BarSeriesComponent._isElementRegistered = false; return IgcStacked100BarSeriesComponent; }(IgcStackedBarSeriesComponent));