UNPKG

igniteui-webcomponents-charts

Version:

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

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