UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

55 lines (54 loc) 2.02 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 { GridBaseDirective } from "./GridBaseDirective"; import { markType } from "igniteui-react-core"; import { ForOfStateEventArgs } from "./ForOfStateEventArgs"; /** * @hidden */ export let HierarchicalGridBaseDirective = /*@__PURE__*/ (() => { class HierarchicalGridBaseDirective extends GridBaseDirective { constructor() { super(...arguments); this.dataPreLoad = null; } get g3() { let ret_ = this.b9.n("hasChildrenKey"); return ret_; } set g3(a) { let value_ = a; this.b9.w("hasChildrenKey", value_); } get g2() { let ret_ = this.b9.n("showExpandAll"); return ret_; } set g2(a) { let value_ = a; this.b9.w("showExpandAll", value_); } get g1() { let ret_ = this.b9.n("rootGrid"); return ret_; } set g1(a) { let value_ = a; this.b9.w("rootGrid", value_); } dataPreLoadChanged() { if (this.dataPreLoad != null) { this.b9.s("dataPreLoad", (a) => this.dataPreLoad(this, ForOfStateEventArgs.b(a)), false); } else { this.b9.v("dataPreLoad"); } } } HierarchicalGridBaseDirective.$t = /*@__PURE__*/ markType(HierarchicalGridBaseDirective, 'HierarchicalGridBaseDirective', GridBaseDirective.$); return HierarchicalGridBaseDirective; })();