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