UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

89 lines (88 loc) 3.49 kB
/* 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 { Base, enumGetBox, EnumUtil, markType } from "igniteui-react-core"; import { WCNativeHelper } from "igniteui-react"; import { FilteringExpressionsTreeOrFilteringExpression } from "./FilteringExpressionsTreeOrFilteringExpression"; import { FilteringExpressionsTreeType_$type } from "./FilteringExpressionsTreeType"; import { FilteringLogic_$type } from "./FilteringLogic"; /** * @hidden */ export let FilteringExpressionsTree = /*@__PURE__*/ (() => { class FilteringExpressionsTree extends Base { constructor() { super(...arguments); this.d = new WCNativeHelper(); this.f = null; } get e() { return this.d; } get nativeElement() { return this.f; } set nativeElement(a) { this.f = a; this.d.o = this.f; } setNativeElement(a) { this.nativeElement = a; } get a() { let ret_ = this.e.m("filteringOperands", (a) => new FilteringExpressionsTreeOrFilteringExpression()); return ret_; } set a(a) { let value_ = a; this.e.w("filteringOperands", value_); } get b() { 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 b(a) { let value_ = enumGetBox(FilteringExpressionsTreeType_$type, a); value_ = this.e.f(FilteringExpressionsTreeType_$type, value_); this.e.w("type", value_); } get h() { let ret_ = this.e.n("owner"); return ret_; } set h(a) { let value_ = a; this.e.w("owner", value_); } get c() { 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 c(a) { let value_ = enumGetBox(FilteringLogic_$type, a); value_ = this.e.f(FilteringLogic_$type, value_); this.e.w("operator", value_); } get i() { let ret_ = this.e.n("fieldName"); return ret_; } set i(a) { let value_ = a; this.e.w("fieldName", value_); } } FilteringExpressionsTree.$t = /*@__PURE__*/ markType(FilteringExpressionsTree, 'FilteringExpressionsTree'); return FilteringExpressionsTree; })();