UNPKG

igniteui-webcomponents-charts

Version:

Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.

65 lines (64 loc) 2.74 kB
import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component"; import { MassIndexIndicator } from "./MassIndexIndicator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcMassIndexIndicatorComponent = /*@__PURE__*/ (() => { class IgcMassIndexIndicatorComponent extends IgcStrategyBasedIndicatorComponent { createImplementation() { return new MassIndexIndicator(); } /** * @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 (IgcMassIndexIndicatorComponent._observedAttributesIgcMassIndexIndicatorComponent == null) { let names = getAllPropertyNames(IgcMassIndexIndicatorComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcMassIndexIndicatorComponent._observedAttributesIgcMassIndexIndicatorComponent = names; } return IgcMassIndexIndicatorComponent._observedAttributesIgcMassIndexIndicatorComponent; } static register() { if (!IgcMassIndexIndicatorComponent._isElementRegistered) { IgcMassIndexIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcMassIndexIndicatorComponent.htmlTagName, IgcMassIndexIndicatorComponent); } } } IgcMassIndexIndicatorComponent._observedAttributesIgcMassIndexIndicatorComponent = null; IgcMassIndexIndicatorComponent.htmlTagName = "igc-mass-index-indicator"; IgcMassIndexIndicatorComponent._isElementRegistered = false; return IgcMassIndexIndicatorComponent; })(); export { IgcMassIndexIndicatorComponent };