UNPKG

igniteui-webcomponents-charts

Version:

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

92 lines (91 loc) 4.41 kB
import { __extends } from "tslib"; 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"; /** * Represents a IgxDataChartComponent Market Facilitation Index indicator series. * The Market Facilitation Index (MFI) indicator is represented by * the difference of the high and the low for a bar divided by the volume. * Default required members: High, Low, Volume * * The Market Facilitation Index (MFI) indicator is represented by the difference of the high and the low for a bar divided by the volume. * * Example: */ export var IgcMarketFacilitationIndexIndicatorComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcMarketFacilitationIndexIndicatorComponent, _super); function IgcMarketFacilitationIndexIndicatorComponent() { return _super.call(this) || this; } IgcMarketFacilitationIndexIndicatorComponent.prototype.createImplementation = function () { return new MarketFacilitationIndexIndicator(); }; Object.defineProperty(IgcMarketFacilitationIndexIndicatorComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcMarketFacilitationIndexIndicatorComponent.prototype.connectedCallback = function () { if (_super.prototype["connectedCallback"]) { _super.prototype["connectedCallback"].call(this); } if (this.i.connectedCallback) { this.i.connectedCallback(); } if (!this._attached) { this._attached = true; this._flushQueuedAttributes(); } }; IgcMarketFacilitationIndexIndicatorComponent.prototype.disconnectedCallback = function () { if (_super.prototype["disconnectedCallback"]) { _super.prototype["disconnectedCallback"].call(this); } if (this.i.disconnectedCallback) { this.i.disconnectedCallback(); } if (this._attached) { this._attached = false; } }; Object.defineProperty(IgcMarketFacilitationIndexIndicatorComponent, "observedAttributes", { get: function () { if (IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent == null) { var names = getAllPropertyNames(IgcMarketFacilitationIndexIndicatorComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent = names; } return IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent; }, enumerable: false, configurable: true }); IgcMarketFacilitationIndexIndicatorComponent.register = function () { if (!IgcMarketFacilitationIndexIndicatorComponent._isElementRegistered) { IgcMarketFacilitationIndexIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcMarketFacilitationIndexIndicatorComponent.htmlTagName, IgcMarketFacilitationIndexIndicatorComponent); } }; Object.defineProperty(IgcMarketFacilitationIndexIndicatorComponent.prototype, "defaultDisplayType", { /** * Gets default display type for the current Financial Indicator */ get: function () { return this.i.abn; }, enumerable: false, configurable: true }); IgcMarketFacilitationIndexIndicatorComponent._observedAttributesIgcMarketFacilitationIndexIndicatorComponent = null; IgcMarketFacilitationIndexIndicatorComponent.htmlTagName = "igc-market-facilitation-index-indicator"; IgcMarketFacilitationIndexIndicatorComponent._isElementRegistered = false; return IgcMarketFacilitationIndexIndicatorComponent; }(IgcItemwiseStrategyBasedIndicatorComponent));