UNPKG

igniteui-webcomponents-charts

Version:

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

71 lines (70 loc) 3.26 kB
import { IgcItemwiseStrategyBasedIndicatorComponent } from "./igc-itemwise-strategy-based-indicator-component"; import { MarketFacilitationIndexIndicator } from "./MarketFacilitationIndexIndicator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; let IgcMarketFacilitationIndexIndicatorComponent = /*@__PURE__*/ (() => { class IgcMarketFacilitationIndexIndicatorComponent extends IgcItemwiseStrategyBasedIndicatorComponent { createImplementation() { return new MarketFacilitationIndexIndicator(); } /** * @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 (IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent == null) { let names = getAllPropertyNames(IgcMarketFacilitationIndexIndicatorComponent); for (let i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent = names; } return IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent; } static register() { if (!IgcMarketFacilitationIndexIndicatorComponent._isElementRegistered) { IgcMarketFacilitationIndexIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcMarketFacilitationIndexIndicatorComponent.htmlTagName, IgcMarketFacilitationIndexIndicatorComponent); } } /** * Gets default display type for the current Financial Indicator */ get defaultDisplayType() { return this.i.abn; } } IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent = null; IgcMarketFacilitationIndexIndicatorComponent.htmlTagName = "igc-market-facilitation-index-indicator"; IgcMarketFacilitationIndexIndicatorComponent._isElementRegistered = false; return IgcMarketFacilitationIndexIndicatorComponent; })(); export { IgcMarketFacilitationIndexIndicatorComponent };