import * as tslib_1 from "tslib";
import { IgrStrategyBasedIndicator } from "./igr-strategy-based-indicator";
/**
 * Financial indicator base class for doing calculating an itemwize indicator.
 * An itemwise indicator's individual values don't depend on any other values in the
 * collection so can always be independently recalculated. Also, because of this, the
 * base class handles all the looping logic and inheritors only need to provide the
 * actual calculation.
*/
var IgrItemwiseStrategyBasedIndicator = /** @class */ (function (_super) {
    tslib_1.__extends(IgrItemwiseStrategyBasedIndicator, _super);
    function IgrItemwiseStrategyBasedIndicator(props) {
        return _super.call(this, props) || this;
    }
    Object.defineProperty(IgrItemwiseStrategyBasedIndicator.prototype, "i", {
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    return IgrItemwiseStrategyBasedIndicator;
}(IgrStrategyBasedIndicator));
export { IgrItemwiseStrategyBasedIndicator };
