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