UNPKG

igniteui-webcomponents-charts

Version:

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

92 lines (91 loc) 4.4 kB
import { __extends } from "tslib"; import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component"; import { FastStochasticOscillatorIndicator } from "./FastStochasticOscillatorIndicator"; import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core"; import { RegisterElementHelper } from "igniteui-webcomponents-core"; /** * Represents a IgxDataChartComponent Fast Stochastic Oscillator indicator series. * Default required members: High, Low, Close */ var IgcFastStochasticOscillatorIndicatorComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcFastStochasticOscillatorIndicatorComponent, _super); function IgcFastStochasticOscillatorIndicatorComponent() { return _super.call(this) || this; } IgcFastStochasticOscillatorIndicatorComponent.prototype.createImplementation = function () { return new FastStochasticOscillatorIndicator(); }; Object.defineProperty(IgcFastStochasticOscillatorIndicatorComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); IgcFastStochasticOscillatorIndicatorComponent.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(); } }; IgcFastStochasticOscillatorIndicatorComponent.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(IgcFastStochasticOscillatorIndicatorComponent, "observedAttributes", { get: function () { if (IgcFastStochasticOscillatorIndicatorComponent._observedAttributesIgcFastStochasticOscillatorIndicatorComponent == null) { var names = getAllPropertyNames(IgcFastStochasticOscillatorIndicatorComponent); for (var i = 0; i < names.length; i++) { names[i] = toSpinal(names[i]); } IgcFastStochasticOscillatorIndicatorComponent._observedAttributesIgcFastStochasticOscillatorIndicatorComponent = names; } return IgcFastStochasticOscillatorIndicatorComponent._observedAttributesIgcFastStochasticOscillatorIndicatorComponent; }, enumerable: false, configurable: true }); IgcFastStochasticOscillatorIndicatorComponent.register = function () { if (!IgcFastStochasticOscillatorIndicatorComponent._isElementRegistered) { IgcFastStochasticOscillatorIndicatorComponent._isElementRegistered = true; RegisterElementHelper.registerElement(IgcFastStochasticOscillatorIndicatorComponent.htmlTagName, IgcFastStochasticOscillatorIndicatorComponent); } }; Object.defineProperty(IgcFastStochasticOscillatorIndicatorComponent.prototype, "period", { /** * Gets or sets the moving average period for the current FastStochasticOscillatorIndicator object. * The typical, and initial, value for FastStochasticOscillatorIndicator periods is 14. */ get: function () { return this.i.acl; }, set: function (v) { this.i.acl = +v; this._a("period", this.i.acl); }, enumerable: false, configurable: true }); IgcFastStochasticOscillatorIndicatorComponent._observedAttributesIgcFastStochasticOscillatorIndicatorComponent = null; IgcFastStochasticOscillatorIndicatorComponent.htmlTagName = "igc-fast-stochastic-oscillator-indicator"; IgcFastStochasticOscillatorIndicatorComponent._isElementRegistered = false; return IgcFastStochasticOscillatorIndicatorComponent; }(IgcStrategyBasedIndicatorComponent)); export { IgcFastStochasticOscillatorIndicatorComponent };