UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

148 lines (147 loc) 4.9 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 { FilteringExpressionsTree } from "./FilteringExpressionsTree"; import { SortingDirection_$type } from "./SortingDirection"; import { GridColumnDataType_$type } from "./GridColumnDataType"; /** * @hidden */ export let PivotDimension = /*@__PURE__*/ (() => { class PivotDimension extends Base { constructor() { super(...arguments); this.f = new WCNativeHelper(); this.l = null; this.memberFunction = null; } get g() { return this.f; } get nativeElement() { return this.l; } set nativeElement(a) { this.l = a; this.f.o = this.l; } setNativeElement(a) { this.nativeElement = a; } get d() { let ret_ = this.g.m("childLevel", (a) => new PivotDimension()); return ret_; } set d(a) { let value_ = a; this.g.w("childLevel", value_); } get o() { let ret_ = this.g.n("memberName"); return ret_; } set o(a) { let value_ = a; this.g.w("memberName", value_); } memberFunctionChanged() { if (this.memberFunction != null) { let value_ = this.memberFunction; this.g.w("memberFunction", value_); } else { let value_ = null; this.g.w("memberFunction", value_); } } get n() { let ret_ = this.g.n("displayName"); return ret_; } set n(a) { let value_ = a; this.g.w("displayName", value_); } get h() { let ret_ = this.g.n("enabled"); return ret_; } set h(a) { let value_ = a; this.g.w("enabled", value_); } get a() { let ret_ = this.g.m("filter", (a) => new FilteringExpressionsTree()); return ret_; } set a(a) { let value_ = a; this.g.w("filter", value_); } get j() { let ret_ = this.g.n("sortable"); return ret_; } set j(a) { let value_ = a; this.g.w("sortable", value_); } get e() { let ret_ = this.g.n("sortDirection"); if ((ret_ === undefined && this.___rawMode)) { return undefined; } ret_ = enumGetBox(SortingDirection_$type, EnumUtil.getEnumValue(SortingDirection_$type, this.g.f(SortingDirection_$type, ret_))); return EnumUtil.getEnumValue(SortingDirection_$type, ret_); } set e(a) { let value_ = enumGetBox(SortingDirection_$type, a); value_ = this.g.f(SortingDirection_$type, value_); this.g.w("sortDirection", value_); } get b() { let ret_ = this.g.n("dataType"); if ((ret_ === undefined && this.___rawMode)) { return undefined; } ret_ = enumGetBox(GridColumnDataType_$type, EnumUtil.getEnumValue(GridColumnDataType_$type, this.g.f(GridColumnDataType_$type, ret_))); return EnumUtil.getEnumValue(GridColumnDataType_$type, ret_); } set b(a) { let value_ = enumGetBox(GridColumnDataType_$type, a); value_ = WCNativeHelper.camel(value_.toString()); this.g.w("dataType", value_); } get p() { let ret_ = this.g.n("width"); return ret_; } set p(a) { let value_ = a; this.g.w("width", value_); } get k() { let ret_ = this.g.n("level"); return ret_; } set k(a) { let value_ = a; this.g.w("level", value_); } get i() { let ret_ = this.g.n("horizontalSummary"); return ret_; } set i(a) { let value_ = a; this.g.w("horizontalSummary", value_); } } PivotDimension.$t = /*@__PURE__*/ markType(PivotDimension, 'PivotDimension'); return PivotDimension; })();