igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
78 lines (77 loc) • 3.73 kB
JavaScript
import { __extends } from "tslib";
import { IgcStrategyBasedIndicatorComponent } from "./igc-strategy-based-indicator-component";
import { UltimateOscillatorIndicator } from "./UltimateOscillatorIndicator";
import { getAllPropertyNames, toSpinal } from "igniteui-webcomponents-core";
import { RegisterElementHelper } from "igniteui-webcomponents-core";
/**
* Represents a IgxDataChartComponent Ultimate Oscillator indicator series.
* Default required members: High, Low, Close
*
* You can use the `UltimateOscillatorIndicator` which represents a IgxDataChartComponent Ultimate Oscillator indicator series.
*/
export var IgcUltimateOscillatorIndicatorComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgcUltimateOscillatorIndicatorComponent, _super);
function IgcUltimateOscillatorIndicatorComponent() {
return _super.call(this) || this;
}
IgcUltimateOscillatorIndicatorComponent.prototype.createImplementation = function () {
return new UltimateOscillatorIndicator();
};
Object.defineProperty(IgcUltimateOscillatorIndicatorComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcUltimateOscillatorIndicatorComponent.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();
}
};
IgcUltimateOscillatorIndicatorComponent.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(IgcUltimateOscillatorIndicatorComponent, "observedAttributes", {
get: function () {
if (IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent == null) {
var names = getAllPropertyNames(IgcUltimateOscillatorIndicatorComponent);
for (var i = 0; i < names.length; i++) {
names[i] = toSpinal(names[i]);
}
IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent = names;
}
return IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent;
},
enumerable: false,
configurable: true
});
IgcUltimateOscillatorIndicatorComponent.register = function () {
if (!IgcUltimateOscillatorIndicatorComponent._isElementRegistered) {
IgcUltimateOscillatorIndicatorComponent._isElementRegistered = true;
RegisterElementHelper.registerElement(IgcUltimateOscillatorIndicatorComponent.htmlTagName, IgcUltimateOscillatorIndicatorComponent);
}
};
IgcUltimateOscillatorIndicatorComponent._observedAttributesIgcUltimateOscillatorIndicatorComponent = null;
IgcUltimateOscillatorIndicatorComponent.htmlTagName = "igc-ultimate-oscillator-indicator";
IgcUltimateOscillatorIndicatorComponent._isElementRegistered = false;
return IgcUltimateOscillatorIndicatorComponent;
}(IgcStrategyBasedIndicatorComponent));