igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
82 lines (81 loc) • 3.62 kB
JavaScript
import { __extends } from "tslib";
import { IgcStackedColumnSeriesComponent } from "./igc-stacked-column-series-component";
import { Stacked100ColumnSeries } from "./Stacked100ColumnSeries";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
* Represents a IgxDataChartComponent stacked100 column series.
*/
export var IgcStacked100ColumnSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcStacked100ColumnSeriesComponent, _super);
function IgcStacked100ColumnSeriesComponent() {
return _super.call(this) || this;
}
IgcStacked100ColumnSeriesComponent.prototype.createImplementation = function () {
return new Stacked100ColumnSeries();
};
Object.defineProperty(IgcStacked100ColumnSeriesComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcStacked100ColumnSeriesComponent.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();
}
};
IgcStacked100ColumnSeriesComponent.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(IgcStacked100ColumnSeriesComponent, "observedAttributes", {
get: function () {
if (IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent == null) {
var names = getAllPropertyNames(IgcStacked100ColumnSeriesComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent = names;
}
return IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent;
},
enumerable: false,
configurable: true
});
IgcStacked100ColumnSeriesComponent.register = function () {
if (!IgcStacked100ColumnSeriesComponent._isElementRegistered) {
IgcStacked100ColumnSeriesComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcStacked100ColumnSeriesComponent.htmlTagName, IgcStacked100ColumnSeriesComponent);
}
};
Object.defineProperty(IgcStacked100ColumnSeriesComponent.prototype, "isPercentBased", {
get: function () {
return this.i.abr;
},
enumerable: false,
configurable: true
});
IgcStacked100ColumnSeriesComponent._observedAttributesIgcStacked100ColumnSeriesComponent = null;
IgcStacked100ColumnSeriesComponent.htmlTagName = "igc-stacked-100-column-series";
IgcStacked100ColumnSeriesComponent._isElementRegistered = false;
return IgcStacked100ColumnSeriesComponent;
}(IgcStackedColumnSeriesComponent));