igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
68 lines (67 loc) • 3 kB
JavaScript
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";
let IgcStacked100SplineAreaSeriesComponent = /*@__PURE__*/ (() => {
class IgcStacked100SplineAreaSeriesComponent extends IgcStackedSplineAreaSeriesComponent {
createImplementation() {
return new Stacked100SplineAreaSeries();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor() {
super();
}
connectedCallback() {
if (super["connectedCallback"]) {
super["connectedCallback"]();
}
if (this.i.connectedCallback) {
this.i.connectedCallback();
}
if (!this._attached) {
this._attached = true;
this._flushQueuedAttributes();
}
}
disconnectedCallback() {
if (super["disconnectedCallback"]) {
super["disconnectedCallback"]();
}
if (this.i.disconnectedCallback) {
this.i.disconnectedCallback();
}
if (this._attached) {
this._attached = false;
}
}
static get observedAttributes() {
if (IgcStacked100SplineAreaSeriesComponent._observedAttributesIgcStacked100SplineAreaSeriesComponent == null) {
let names = getAllPropertyNames(IgcStacked100SplineAreaSeriesComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcStacked100SplineAreaSeriesComponent._observedAttributesIgcStacked100SplineAreaSeriesComponent = names;
}
return IgcStacked100SplineAreaSeriesComponent._observedAttributesIgcStacked100SplineAreaSeriesComponent;
}
static register() {
if (!IgcStacked100SplineAreaSeriesComponent._isElementRegistered) {
IgcStacked100SplineAreaSeriesComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcStacked100SplineAreaSeriesComponent.htmlTagName, IgcStacked100SplineAreaSeriesComponent);
}
}
get isPercentBased() {
return this.i.abr;
}
}
IgcStacked100SplineAreaSeriesComponent._observedAttributesIgcStacked100SplineAreaSeriesComponent = null;
IgcStacked100SplineAreaSeriesComponent.htmlTagName = "igc-stacked-100-spline-area-series";
IgcStacked100SplineAreaSeriesComponent._isElementRegistered = false;
return IgcStacked100SplineAreaSeriesComponent;
})();
export { IgcStacked100SplineAreaSeriesComponent };