UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

202 lines (201 loc) 6.78 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 { __extends } from "tslib"; import { GridBaseDirective } from "./GridBaseDirective"; import { markType } from "igniteui-react-core"; import { TreeGridRecord } from "./TreeGridRecord"; import { CellType } from "./CellType"; import { RowType } from "./RowType"; /** * @hidden */ var TreeGrid = /** @class */ /*@__PURE__*/ (function (_super) { __extends(TreeGrid, _super); function TreeGrid() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.hd = null; return _this; } Object.defineProperty(TreeGrid.prototype, "hf", { get: function () { var ret_ = this.b9.n("childDataKey"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("childDataKey", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "hg", { get: function () { var ret_ = this.b9.n("foreignKey"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("foreignKey", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "hh", { get: function () { var ret_ = this.b9.n("hasChildrenKey"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("hasChildrenKey", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "g9", { get: function () { var ret_ = this.b9.n("cascadeOnDelete"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("cascadeOnDelete", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "hi", { get: function () { var ret_ = this.b9.n("id"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("id", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "g3", { get: function () { var ret_ = this.b9.m("rootRecords", function (a) { return new TreeGridRecord(); }); return ret_; }, set: function (a) { var value_ = a; this.b9.w("rootRecords", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "g2", { get: function () { var ret_ = this.b9.m("processedRootRecords", function (a) { return new TreeGridRecord(); }); return ret_; }, set: function (a) { var value_ = a; this.b9.w("processedRootRecords", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "g0", { get: function () { var ret_ = this.b9.n("data"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("data", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "hc", { get: function () { var ret_ = this.b9.n("expansionDepth"); return ret_; }, set: function (a) { var value_ = a; this.b9.w("expansionDepth", value_); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "he", { get: function () { return this.hd; }, set: function (a) { this.hd = a; this.b9.t("rowLoadingIndicatorTemplate", function (b) { return b; }, this.hd); }, enumerable: false, configurable: true }); Object.defineProperty(TreeGrid.prototype, "g4", { get: function () { var ret_ = this.b9.m("selectedCells", function (a) { return new CellType(); }); return ret_; }, enumerable: false, configurable: true }); TreeGrid.prototype.hn = function (a) { this.nativeElement.getDefaultExpandState(this.b9.i(a)); }; TreeGrid.prototype.hm = function () { this.nativeElement.expandAll(); }; TreeGrid.prototype.hl = function () { this.nativeElement.collapseAll(); }; TreeGrid.prototype.hj = function (a, b) { this.nativeElement.addRow(this.b9.i(a), this.b9.i(b)); }; TreeGrid.prototype.hk = function (a, b) { if (b === void 0) { b = false; } this.nativeElement.beginAddRowByIndex(this.b9.i(a), this.b9.i(b)); }; TreeGrid.prototype.g1 = function (a, b) { if (a === void 0) { a = false; } if (b === void 0) { b = false; } return (this.nativeElement.getSelectedData(this.b9.i(a), this.b9.i(b))); }; TreeGrid.prototype.g7 = function (a) { return this.b9.g(this.nativeElement.getRowByIndex(this.b9.i(a)), function (b) { return new RowType(); }); }; TreeGrid.prototype.g8 = function (a) { return this.b9.g(this.nativeElement.getRowByKey(this.b9.i(a)), function (b) { return new RowType(); }); }; TreeGrid.prototype.g5 = function (a, b) { return this.b9.g(this.nativeElement.getCellByColumn(this.b9.i(a), this.b9.i(b)), function (c) { return new CellType(); }); }; TreeGrid.prototype.g6 = function (a, b) { return this.b9.g(this.nativeElement.getCellByKey(this.b9.i(a), this.b9.i(b)), function (c) { return new CellType(); }); }; TreeGrid.prototype.ha = function (a, b) { if (b === void 0) { b = -1; } return (this.nativeElement.pinRow(this.b9.i(a), this.b9.i(b))); }; TreeGrid.prototype.hb = function (a) { return (this.nativeElement.unpinRow(this.b9.i(a))); }; TreeGrid.$t = markType(TreeGrid, 'TreeGrid', GridBaseDirective.$); return TreeGrid; }(GridBaseDirective)); export { TreeGrid };