UNPKG

igniteui-webcomponents-charts

Version:

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

78 lines (77 loc) 3.62 kB
import { __extends } from "tslib"; import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component"; import { OnBalanceVolumeIndicator } from "./OnBalanceVolumeIndicator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent On Balance Bolume indicator series. * Default required members: Close, Volume * * You can use the `OnBalanceVolumeIndicator` to calculate a running total of sales volume for a stock. */ export var IgcOnBalanceVolumeIndicatorComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcOnBalanceVolumeIndicatorComponent, _super); function IgcOnBalanceVolumeIndicatorComponent() { return _super.call(this) || this; } IgcOnBalanceVolumeIndicatorComponent.prototype.createImplementation = function () { return new OnBalanceVolumeIndicator(); }; Object.defineProperty(IgcOnBalanceVolumeIndicatorComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcOnBalanceVolumeIndicatorComponent.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(); } }; IgcOnBalanceVolumeIndicatorComponent.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(IgcOnBalanceVolumeIndicatorComponent, "observedAttributes", { get: function () { if (IgcOnBalanceVolumeIndicatorComponent._observedAttributesIgcOnBalanceVolumeIndicatorComponent == null) { var names = getAllPropertyNames(IgcOnBalanceVolumeIndicatorComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcOnBalanceVolumeIndicatorComponent._observedAttributesIgcOnBalanceVolumeIndicatorComponent = names; } return IgcOnBalanceVolumeIndicatorComponent._observedAttributesIgcOnBalanceVolumeIndicatorComponent; }, enumerable: false, configurable: true }); IgcOnBalanceVolumeIndicatorComponent.register = function () { if (!IgcOnBalanceVolumeIndicatorComponent._isElementRegistered) { IgcOnBalanceVolumeIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcOnBalanceVolumeIndicatorComponent.htmlTagName, IgcOnBalanceVolumeIndicatorComponent); } }; IgcOnBalanceVolumeIndicatorComponent._observedAttributesIgcOnBalanceVolumeIndicatorComponent = null; IgcOnBalanceVolumeIndicatorComponent.htmlTagName = "igc-on-balance-volume-indicator"; IgcOnBalanceVolumeIndicatorComponent._isElementRegistered = false; return IgcOnBalanceVolumeIndicatorComponent; }(IgcStrategyBasedIndicatorComponent));