igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
75 lines (74 loc) • 3.47 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { StrategyBasedIndicator } from "./StrategyBasedIndicator";
import { IShortPeriodLongPeriod_$type } from "./IShortPeriodLongPeriod";
import { PercentagePriceOscillatorIndicatorStrategy } from "./PercentagePriceOscillatorIndicatorStrategy";
import { typeGetValue, markType } from "igniteui-react-core";
/**
* @hidden
*/
var PercentagePriceOscillatorIndicator = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(PercentagePriceOscillatorIndicator, _super);
function PercentagePriceOscillatorIndicator() {
return _super !== null && _super.apply(this, arguments) || this;
}
PercentagePriceOscillatorIndicator.prototype.bk = function () {
return new PercentagePriceOscillatorIndicator();
};
PercentagePriceOscillatorIndicator.prototype.get_ach = function () {
return new PercentagePriceOscillatorIndicatorStrategy();
};
Object.defineProperty(PercentagePriceOscillatorIndicator.prototype, "ach", {
get: function () {
return this.get_ach();
},
enumerable: false,
configurable: true
});
PercentagePriceOscillatorIndicator.prototype.get_acu = function () {
return PercentagePriceOscillatorIndicator.$;
};
Object.defineProperty(PercentagePriceOscillatorIndicator.prototype, "acu", {
get: function () {
return this.get_acu();
},
enumerable: false,
configurable: true
});
Object.defineProperty(PercentagePriceOscillatorIndicator.prototype, "shortPeriod", {
get: function () {
return typeGetValue(this.c(PercentagePriceOscillatorIndicator.ac3));
},
set: function (a) {
this.h(PercentagePriceOscillatorIndicator.ac3, a);
},
enumerable: false,
configurable: true
});
PercentagePriceOscillatorIndicator.prototype.acp = function () {
return this.shortPeriod;
};
Object.defineProperty(PercentagePriceOscillatorIndicator.prototype, "longPeriod", {
get: function () {
return typeGetValue(this.c(PercentagePriceOscillatorIndicator.ac2));
},
set: function (a) {
this.h(PercentagePriceOscillatorIndicator.ac2, a);
},
enumerable: false,
configurable: true
});
PercentagePriceOscillatorIndicator.prototype.acm = function () {
return this.longPeriod;
};
PercentagePriceOscillatorIndicator.$t = markType(PercentagePriceOscillatorIndicator, 'PercentagePriceOscillatorIndicator', StrategyBasedIndicator.$, [IShortPeriodLongPeriod_$type]);
PercentagePriceOscillatorIndicator.ac3 = StrategyBasedIndicator.ac1(10, PercentagePriceOscillatorIndicator.$);
PercentagePriceOscillatorIndicator.ac2 = StrategyBasedIndicator.acx(30, PercentagePriceOscillatorIndicator.$);
return PercentagePriceOscillatorIndicator;
}(StrategyBasedIndicator));
export { PercentagePriceOscillatorIndicator };