igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
68 lines (67 loc) • 2.85 kB
JavaScript
import { IgcStackedLineSeriesComponent } from "./igc-stacked-line-series-component";
import { Stacked100LineSeries } from "./Stacked100LineSeries";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
let IgcStacked100LineSeriesComponent = /*@__PURE__*/ (() => {
class IgcStacked100LineSeriesComponent extends IgcStackedLineSeriesComponent {
createImplementation() {
return new Stacked100LineSeries();
}
/**
* @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 (IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent == null) {
let names = getAllPropertyNames(IgcStacked100LineSeriesComponent);
for (let i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent = names;
}
return IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent;
}
static register() {
if (!IgcStacked100LineSeriesComponent._isElementRegistered) {
IgcStacked100LineSeriesComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcStacked100LineSeriesComponent.htmlTagName, IgcStacked100LineSeriesComponent);
}
}
get isPercentBased() {
return this.i.abr;
}
}
IgcStacked100LineSeriesComponent._observedAttributesIgcStacked100LineSeriesComponent = null;
IgcStacked100LineSeriesComponent.htmlTagName = "igc-stacked-100-line-series";
IgcStacked100LineSeriesComponent._isElementRegistered = false;
return IgcStacked100LineSeriesComponent;
})();
export { IgcStacked100LineSeriesComponent };