igniteui-react-grids
Version:
Ignite UI React grid components.
43 lines (42 loc) • 1.83 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 { Base, typeCast, Array_$type, markType } from "igniteui-react-core";
import { SortingExpression } from "./SortingExpression";
import { WCNativeHelper } from "igniteui-react";
/**
* @hidden
*/
var SortingExpressionEventArgs = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(SortingExpressionEventArgs, _super);
function SortingExpressionEventArgs() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.a = null;
return _this;
}
SortingExpressionEventArgs.b = function (a) {
var b = WCNativeHelper.h(a, function (c) { return new SortingExpression(); });
if (typeCast(Array_$type, b) !== null) {
return ((function () {
var $ret = new SortingExpressionEventArgs();
$ret.a = b;
return $ret;
})());
}
else {
var c_1 = [b];
return ((function () {
var $ret = new SortingExpressionEventArgs();
$ret.a = c_1;
return $ret;
})());
}
};
SortingExpressionEventArgs.$t = markType(SortingExpressionEventArgs, 'SortingExpressionEventArgs');
return SortingExpressionEventArgs;
}(Base));
export { SortingExpressionEventArgs };