igniteui-react-grids
Version:
Ignite UI React grid components.
38 lines (37 loc) • 1.81 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 { SummaryOperand } from "./SummaryOperand";
import { markType } from "igniteui-react-core";
import { SummaryResult } from "./SummaryResult";
/**
* @hidden
*/
var NumberSummaryOperand = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(NumberSummaryOperand, _super);
function NumberSummaryOperand() {
return _super !== null && _super.apply(this, arguments) || this;
}
NumberSummaryOperand.prototype.k = function (a) {
return (this.nativeElement.min(this.c.i(a)));
};
NumberSummaryOperand.prototype.j = function (a) {
return (this.nativeElement.max(this.c.i(a)));
};
NumberSummaryOperand.prototype.l = function (a) {
return (this.nativeElement.sum(this.c.i(a)));
};
NumberSummaryOperand.prototype.i = function (a) {
return (this.nativeElement.average(this.c.i(a)));
};
NumberSummaryOperand.prototype.h = function (a, b, c, d) {
return this.c.g(this.nativeElement.operate(this.c.i(a), this.c.i(b), this.c.i(c), this.c.i(d)), function (e) { return new SummaryResult(); });
};
NumberSummaryOperand.$t = markType(NumberSummaryOperand, 'NumberSummaryOperand', SummaryOperand.$);
return NumberSummaryOperand;
}(SummaryOperand));
export { NumberSummaryOperand };