igniteui-react-grids
Version:
Ignite UI React grid components.
86 lines (85 loc) • 3.33 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 { ExpressionTree } from "./ExpressionTree";
import { enumGetBox, EnumUtil, markType } from "igniteui-react-core";
import { FilteringExpressionsTreeType_$type } from "./FilteringExpressionsTreeType";
import { FilteringLogic_$type } from "./FilteringLogic";
/**
* @hidden
*/
export let FilteringExpressionsTree = /*@__PURE__*/ (() => {
class FilteringExpressionsTree extends ExpressionTree {
get k() {
let ret_ = this.e.m("filteringOperands", (a) => new Array(0));
return ret_;
}
set k(a) {
let value_ = a;
this.e.w("filteringOperands", value_);
}
get m() {
let ret_ = this.e.n("type");
if ((ret_ === undefined && this.___rawMode)) {
return undefined;
}
ret_ = enumGetBox(FilteringExpressionsTreeType_$type, EnumUtil.getEnumValue(FilteringExpressionsTreeType_$type, this.e.f(FilteringExpressionsTreeType_$type, ret_)));
return EnumUtil.getEnumValue(FilteringExpressionsTreeType_$type, ret_);
}
set m(a) {
let value_ = enumGetBox(FilteringExpressionsTreeType_$type, a);
value_ = this.e.f(FilteringExpressionsTreeType_$type, value_);
this.e.w("type", value_);
}
get o() {
let ret_ = this.e.n("owner");
return ret_;
}
set o(a) {
let value_ = a;
this.e.w("owner", value_);
}
get n() {
let 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 n(a) {
let value_ = enumGetBox(FilteringLogic_$type, a);
value_ = this.e.f(FilteringLogic_$type, value_);
this.e.w("operator", value_);
}
get q() {
let ret_ = this.e.n("fieldName");
return ret_;
}
set q(a) {
let value_ = a;
this.e.w("fieldName", value_);
}
get p() {
let ret_ = this.e.n("entity");
return ret_;
}
set p(a) {
let value_ = a;
this.e.w("entity", value_);
}
get l() {
let ret_ = this.e.n("returnFields");
return ret_;
}
set l(a) {
let value_ = a;
this.e.w("returnFields", value_);
}
}
FilteringExpressionsTree.$t = /*@__PURE__*/ markType(FilteringExpressionsTree, 'FilteringExpressionsTree', ExpressionTree.$);
return FilteringExpressionsTree;
})();