UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

80 lines (79 loc) 3.09 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 { PivotRowLayoutType_$type } from "./PivotRowLayoutType"; import { PivotSummaryPosition_$type } from "./PivotSummaryPosition"; /** * @hidden */ export let PivotUISettings = /*@__PURE__*/ (() => { class PivotUISettings extends Base { constructor() { super(...arguments); this.c = new WCNativeHelper(); this.g = null; } get d() { return this.c; } get nativeElement() { return this.g; } set nativeElement(a) { this.g = a; this.c.o = this.g; } setNativeElement(a) { this.nativeElement = a; } get e() { let ret_ = this.d.n("showConfiguration"); return ret_; } set e(a) { let value_ = a; this.d.w("showConfiguration", value_); } get f() { let ret_ = this.d.n("showRowHeaders"); return ret_; } set f(a) { let value_ = a; this.d.w("showRowHeaders", value_); } get a() { let ret_ = this.d.n("rowLayout"); if ((ret_ === undefined && this.___rawMode)) { return undefined; } ret_ = enumGetBox(PivotRowLayoutType_$type, EnumUtil.getEnumValue(PivotRowLayoutType_$type, this.d.f(PivotRowLayoutType_$type, ret_))); return EnumUtil.getEnumValue(PivotRowLayoutType_$type, ret_); } set a(a) { let value_ = enumGetBox(PivotRowLayoutType_$type, a); value_ = WCNativeHelper.camel(value_.toString()); this.d.w("rowLayout", value_); } get b() { let ret_ = this.d.n("horizontalSummariesPosition"); if ((ret_ === undefined && this.___rawMode)) { return undefined; } ret_ = enumGetBox(PivotSummaryPosition_$type, EnumUtil.getEnumValue(PivotSummaryPosition_$type, this.d.f(PivotSummaryPosition_$type, ret_))); return EnumUtil.getEnumValue(PivotSummaryPosition_$type, ret_); } set b(a) { let value_ = enumGetBox(PivotSummaryPosition_$type, a); value_ = WCNativeHelper.camel(value_.toString()); this.d.w("horizontalSummariesPosition", value_); } } PivotUISettings.$t = /*@__PURE__*/ markType(PivotUISettings, 'PivotUISettings'); return PivotUISettings; })();