igniteui-react-grids
Version:
Ignite UI React grid components.
113 lines (112 loc) • 4.08 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 { FilteringExpressionsTreeOrFilteringExpression } from "./FilteringExpressionsTreeOrFilteringExpression";
import { WCNativeHelper } from "igniteui-react";
import { enumGetBox, EnumUtil, markType } from "igniteui-react-core";
import { FilteringLogic_$type } from "./FilteringLogic";
/**
* @hidden
*/
var ExpressionTree = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(ExpressionTree, _super);
function ExpressionTree() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.d = new WCNativeHelper();
_this.f = null;
return _this;
}
Object.defineProperty(ExpressionTree.prototype, "e", {
get: function () {
return this.d;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ExpressionTree.prototype, "nativeElement", {
get: function () {
return this.f;
},
set: function (a) {
this.f = a;
this.d.o = this.f;
},
enumerable: false,
configurable: true
});
ExpressionTree.prototype.setNativeElement = function (a) {
this.nativeElement = a;
};
Object.defineProperty(ExpressionTree.prototype, "a", {
get: function () {
var ret_ = this.e.m("filteringOperands", function (a) { return new Array(0); });
return ret_;
},
set: function (a) {
var value_ = a;
this.e.w("filteringOperands", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ExpressionTree.prototype, "c", {
get: function () {
var ret_ = this.e.n("operator");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(FilteringLogic_$type, EnumUtil.getEnumValue(FilteringLogic_$type, this.e.f(FilteringLogic_$type, ret_)));
return EnumUtil.getEnumValue(FilteringLogic_$type, ret_);
},
set: function (a) {
var value_ = enumGetBox(FilteringLogic_$type, a);
value_ = this.e.f(FilteringLogic_$type, value_);
this.e.w("operator", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ExpressionTree.prototype, "i", {
get: function () {
var ret_ = this.e.n("fieldName");
return ret_;
},
set: function (a) {
var value_ = a;
this.e.w("fieldName", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ExpressionTree.prototype, "h", {
get: function () {
var ret_ = this.e.n("entity");
return ret_;
},
set: function (a) {
var value_ = a;
this.e.w("entity", value_);
},
enumerable: false,
configurable: true
});
Object.defineProperty(ExpressionTree.prototype, "b", {
get: function () {
var ret_ = this.e.n("returnFields");
return ret_;
},
set: function (a) {
var value_ = a;
this.e.w("returnFields", value_);
},
enumerable: false,
configurable: true
});
ExpressionTree.$t = markType(ExpressionTree, 'ExpressionTree', FilteringExpressionsTreeOrFilteringExpression.$);
return ExpressionTree;
}(FilteringExpressionsTreeOrFilteringExpression));
export { ExpressionTree };