@syncfusion/ej2-treegrid 21.2.6 → 21.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +170 -100
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +232 -139
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/treegrid/actions/edit.js +7 -2
- package/src/treegrid/actions/rowdragdrop.js +4 -5
- package/src/treegrid/actions/virtual-scroll.js +7 -4
- package/src/treegrid/base/data.js +17 -1
- package/src/treegrid/base/treegrid-model.d.ts +3 -0
- package/src/treegrid/base/treegrid.d.ts +3 -0
- package/src/treegrid/base/treegrid.js +20 -3
- package/src/treegrid/enum.d.ts +2 -0
- package/src/treegrid/models/column-model.d.ts +30 -0
- package/src/treegrid/models/column.d.ts +32 -0
- package/src/treegrid/models/column.js +45 -1
- package/src/treegrid/models/filter-settings-model.d.ts +1 -0
- package/src/treegrid/models/filter-settings.d.ts +1 -0
- package/src/treegrid/models/selection-settings-model.d.ts +2 -0
- package/src/treegrid/models/selection-settings.d.ts +2 -0
- package/src/treegrid/renderer/render.js +2 -1
- package/src/treegrid/renderer/virtual-tree-content-render.js +12 -2
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { Browser, ChildProperty, Collection, Complex, Component, Event, EventHandler, Internationalization, KeyboardEvents, L10n, NotifyPropertyChanges, Property, SanitizeHtmlHelper, addClass, classList, closest, compile, createElement, debounce, extend, getEnumValue, getValue, isNullOrUndefined, merge, remove, removeClass, select, setStyleAttribute, setValue } from '@syncfusion/ej2-base';
|
|
2
|
-
import { Aggregate, Cell, CellRenderer, CellType, Clipboard, ColumnChooser, ColumnFreezeContentRenderer, ColumnFreezeHeaderRenderer, ColumnMenu, ColumnVirtualFreezeRenderer, CommandColumn, ContextMenu, DetailRow, Edit, ExcelExport, Filter, Freeze, FreezeContentRender, FreezeRender, FreezeRowModelGenerator, Grid, InfiniteScroll, InterSectionObserver, Logger, Page, PdfExport, Print, RenderType, Reorder, Resize, RowDD, RowDropSettings, RowRenderer, Scroll, Sort, Toolbar, VirtualContentRenderer, VirtualFreezeHdrRenderer, VirtualFreezeRenderer, VirtualHeaderRenderer, VirtualRowModelGenerator, VirtualScroll, appendChildren, calculateAggregate, detailLists, extend as extend$1, getActualProperties, getObject, getUid, iterateArrayOrObject, parentsUntil, resetRowIndex, setDebounce, templateCompiler } from '@syncfusion/ej2-grids';
|
|
2
|
+
import { Aggregate, Cell, CellRenderer, CellType, Clipboard, ColumnChooser, ColumnFreezeContentRenderer, ColumnFreezeHeaderRenderer, ColumnMenu, ColumnVirtualFreezeRenderer, CommandColumn, ContextMenu, DetailRow, Edit, ExcelExport, Filter, Freeze, FreezeContentRender, FreezeRender, FreezeRowModelGenerator, Grid, InfiniteScroll, InterSectionObserver, Logger, Page, PdfExport, Print, RenderType, Reorder, Resize, RowDD, RowDropSettings, RowRenderer, Scroll, Sort, Toolbar, VirtualContentRenderer, VirtualFreezeHdrRenderer, VirtualFreezeRenderer, VirtualHeaderRenderer, VirtualRowModelGenerator, VirtualScroll, appendChildren, calculateAggregate, detailLists, extend as extend$1, getActualProperties, getObject, getTransformValues, getUid, iterateArrayOrObject, parentsUntil, resetRowIndex, setDebounce, templateCompiler } from '@syncfusion/ej2-grids';
|
|
3
3
|
import { createCheckBox } from '@syncfusion/ej2-buttons';
|
|
4
4
|
import { CacheAdaptor, DataManager, DataUtil, Deferred, JsonAdaptor, ODataAdaptor, Predicate, Query, RemoteSaveAdaptor, UrlAdaptor, WebApiAdaptor, WebMethodAdaptor } from '@syncfusion/ej2-data';
|
|
5
5
|
import { createSpinner, hideSpinner, showSpinner } from '@syncfusion/ej2-popups';
|
|
6
6
|
|
|
7
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
8
|
+
var extendStatics = function (d, b) {
|
|
9
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12
|
+
return extendStatics(d, b);
|
|
13
|
+
};
|
|
14
|
+
return function (d, b) {
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
7
26
|
/**
|
|
8
27
|
* Represents TreeGrid `Column` model class.
|
|
9
28
|
*/
|
|
@@ -97,8 +116,31 @@ var Column = /** @__PURE__ @class */ (function () {
|
|
|
97
116
|
};
|
|
98
117
|
return Column;
|
|
99
118
|
}());
|
|
119
|
+
/**
|
|
120
|
+
* Defines TreeGrid column
|
|
121
|
+
*/
|
|
122
|
+
var TreeGridColumn = /** @__PURE__ @class */ (function (_super) {
|
|
123
|
+
__extends$1(TreeGridColumn, _super);
|
|
124
|
+
function TreeGridColumn() {
|
|
125
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
126
|
+
}
|
|
127
|
+
__decorate$1([
|
|
128
|
+
Property(null)
|
|
129
|
+
], TreeGridColumn.prototype, "columns", void 0);
|
|
130
|
+
return TreeGridColumn;
|
|
131
|
+
}(Column));
|
|
132
|
+
/**
|
|
133
|
+
* Defines stacked tree grid column
|
|
134
|
+
*/
|
|
135
|
+
var StackedColumn = /** @__PURE__ @class */ (function (_super) {
|
|
136
|
+
__extends$1(StackedColumn, _super);
|
|
137
|
+
function StackedColumn() {
|
|
138
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
139
|
+
}
|
|
140
|
+
return StackedColumn;
|
|
141
|
+
}(TreeGridColumn));
|
|
100
142
|
|
|
101
|
-
var __extends$
|
|
143
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
102
144
|
var extendStatics = function (d, b) {
|
|
103
145
|
extendStatics = Object.setPrototypeOf ||
|
|
104
146
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -111,7 +153,7 @@ var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
|
111
153
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
112
154
|
};
|
|
113
155
|
})();
|
|
114
|
-
var __decorate$
|
|
156
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
115
157
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
116
158
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
117
159
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -121,17 +163,17 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
121
163
|
* Configures the Loading Indicator of the Tree Grid.
|
|
122
164
|
*/
|
|
123
165
|
var LoadingIndicator = /** @__PURE__ @class */ (function (_super) {
|
|
124
|
-
__extends$
|
|
166
|
+
__extends$2(LoadingIndicator, _super);
|
|
125
167
|
function LoadingIndicator() {
|
|
126
168
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
127
169
|
}
|
|
128
|
-
__decorate$
|
|
170
|
+
__decorate$2([
|
|
129
171
|
Property('Spinner')
|
|
130
172
|
], LoadingIndicator.prototype, "indicatorType", void 0);
|
|
131
173
|
return LoadingIndicator;
|
|
132
174
|
}(ChildProperty));
|
|
133
175
|
|
|
134
|
-
var __extends$
|
|
176
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
135
177
|
var extendStatics = function (d, b) {
|
|
136
178
|
extendStatics = Object.setPrototypeOf ||
|
|
137
179
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -144,7 +186,7 @@ var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
|
144
186
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
145
187
|
};
|
|
146
188
|
})();
|
|
147
|
-
var __decorate$
|
|
189
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
148
190
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
149
191
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
150
192
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -154,44 +196,44 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
154
196
|
* Represents the Tree Grid predicate for the filter column.
|
|
155
197
|
*/
|
|
156
198
|
var Predicate$1 = /** @__PURE__ @class */ (function (_super) {
|
|
157
|
-
__extends$
|
|
199
|
+
__extends$3(Predicate$$1, _super);
|
|
158
200
|
function Predicate$$1() {
|
|
159
201
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
160
202
|
}
|
|
161
|
-
__decorate$
|
|
203
|
+
__decorate$3([
|
|
162
204
|
Property()
|
|
163
205
|
], Predicate$$1.prototype, "field", void 0);
|
|
164
|
-
__decorate$
|
|
206
|
+
__decorate$3([
|
|
165
207
|
Property()
|
|
166
208
|
], Predicate$$1.prototype, "operator", void 0);
|
|
167
|
-
__decorate$
|
|
209
|
+
__decorate$3([
|
|
168
210
|
Property()
|
|
169
211
|
], Predicate$$1.prototype, "value", void 0);
|
|
170
|
-
__decorate$
|
|
212
|
+
__decorate$3([
|
|
171
213
|
Property()
|
|
172
214
|
], Predicate$$1.prototype, "matchCase", void 0);
|
|
173
|
-
__decorate$
|
|
215
|
+
__decorate$3([
|
|
174
216
|
Property()
|
|
175
217
|
], Predicate$$1.prototype, "ignoreAccent", void 0);
|
|
176
|
-
__decorate$
|
|
218
|
+
__decorate$3([
|
|
177
219
|
Property()
|
|
178
220
|
], Predicate$$1.prototype, "predicate", void 0);
|
|
179
|
-
__decorate$
|
|
221
|
+
__decorate$3([
|
|
180
222
|
Property({})
|
|
181
223
|
], Predicate$$1.prototype, "actualFilterValue", void 0);
|
|
182
|
-
__decorate$
|
|
224
|
+
__decorate$3([
|
|
183
225
|
Property({})
|
|
184
226
|
], Predicate$$1.prototype, "actualOperator", void 0);
|
|
185
|
-
__decorate$
|
|
227
|
+
__decorate$3([
|
|
186
228
|
Property()
|
|
187
229
|
], Predicate$$1.prototype, "type", void 0);
|
|
188
|
-
__decorate$
|
|
230
|
+
__decorate$3([
|
|
189
231
|
Property()
|
|
190
232
|
], Predicate$$1.prototype, "ejpredicate", void 0);
|
|
191
|
-
__decorate$
|
|
233
|
+
__decorate$3([
|
|
192
234
|
Property()
|
|
193
235
|
], Predicate$$1.prototype, "uid", void 0);
|
|
194
|
-
__decorate$
|
|
236
|
+
__decorate$3([
|
|
195
237
|
Property()
|
|
196
238
|
], Predicate$$1.prototype, "isForeignKey", void 0);
|
|
197
239
|
return Predicate$$1;
|
|
@@ -200,38 +242,38 @@ var Predicate$1 = /** @__PURE__ @class */ (function (_super) {
|
|
|
200
242
|
* Configures the filtering behavior of the TreeGrid.
|
|
201
243
|
*/
|
|
202
244
|
var FilterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
203
|
-
__extends$
|
|
245
|
+
__extends$3(FilterSettings, _super);
|
|
204
246
|
function FilterSettings() {
|
|
205
247
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
206
248
|
}
|
|
207
|
-
__decorate$
|
|
249
|
+
__decorate$3([
|
|
208
250
|
Collection([], Predicate$1)
|
|
209
251
|
], FilterSettings.prototype, "columns", void 0);
|
|
210
|
-
__decorate$
|
|
252
|
+
__decorate$3([
|
|
211
253
|
Property('FilterBar')
|
|
212
254
|
], FilterSettings.prototype, "type", void 0);
|
|
213
|
-
__decorate$
|
|
255
|
+
__decorate$3([
|
|
214
256
|
Property()
|
|
215
257
|
], FilterSettings.prototype, "mode", void 0);
|
|
216
|
-
__decorate$
|
|
258
|
+
__decorate$3([
|
|
217
259
|
Property(true)
|
|
218
260
|
], FilterSettings.prototype, "showFilterBarStatus", void 0);
|
|
219
|
-
__decorate$
|
|
261
|
+
__decorate$3([
|
|
220
262
|
Property(1500)
|
|
221
263
|
], FilterSettings.prototype, "immediateModeDelay", void 0);
|
|
222
|
-
__decorate$
|
|
264
|
+
__decorate$3([
|
|
223
265
|
Property()
|
|
224
266
|
], FilterSettings.prototype, "operators", void 0);
|
|
225
|
-
__decorate$
|
|
267
|
+
__decorate$3([
|
|
226
268
|
Property(false)
|
|
227
269
|
], FilterSettings.prototype, "ignoreAccent", void 0);
|
|
228
|
-
__decorate$
|
|
270
|
+
__decorate$3([
|
|
229
271
|
Property('Parent')
|
|
230
272
|
], FilterSettings.prototype, "hierarchyMode", void 0);
|
|
231
273
|
return FilterSettings;
|
|
232
274
|
}(ChildProperty));
|
|
233
275
|
|
|
234
|
-
var __extends$
|
|
276
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
235
277
|
var extendStatics = function (d, b) {
|
|
236
278
|
extendStatics = Object.setPrototypeOf ||
|
|
237
279
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -244,7 +286,7 @@ var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
|
244
286
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
245
287
|
};
|
|
246
288
|
})();
|
|
247
|
-
var __decorate$
|
|
289
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
248
290
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
249
291
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
250
292
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -254,17 +296,17 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
254
296
|
* Configures the textwrap behavior of the TreeGrid.
|
|
255
297
|
*/
|
|
256
298
|
var TextWrapSettings = /** @__PURE__ @class */ (function (_super) {
|
|
257
|
-
__extends$
|
|
299
|
+
__extends$4(TextWrapSettings, _super);
|
|
258
300
|
function TextWrapSettings() {
|
|
259
301
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
260
302
|
}
|
|
261
|
-
__decorate$
|
|
303
|
+
__decorate$4([
|
|
262
304
|
Property('Both')
|
|
263
305
|
], TextWrapSettings.prototype, "wrapMode", void 0);
|
|
264
306
|
return TextWrapSettings;
|
|
265
307
|
}(ChildProperty));
|
|
266
308
|
|
|
267
|
-
var __extends$
|
|
309
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
268
310
|
var extendStatics = function (d, b) {
|
|
269
311
|
extendStatics = Object.setPrototypeOf ||
|
|
270
312
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -287,7 +329,7 @@ var BASE_DOC_URL = 'https://ej2.syncfusion.com/documentation';
|
|
|
287
329
|
var ERROR = '[EJ2TreeGrid.Error]';
|
|
288
330
|
var IsRowDDEnabled = false;
|
|
289
331
|
var Logger$1 = /** @__PURE__ @class */ (function (_super) {
|
|
290
|
-
__extends$
|
|
332
|
+
__extends$5(Logger$$1, _super);
|
|
291
333
|
function Logger$$1(parent) {
|
|
292
334
|
var _this = this;
|
|
293
335
|
Grid.Inject(Logger);
|
|
@@ -561,7 +603,7 @@ var dataRowIndex = 'data-rowindex';
|
|
|
561
603
|
/** @hidden */
|
|
562
604
|
var ariaRowIndex = 'aria-rowindex';
|
|
563
605
|
|
|
564
|
-
var __extends$
|
|
606
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
565
607
|
var extendStatics = function (d, b) {
|
|
566
608
|
extendStatics = Object.setPrototypeOf ||
|
|
567
609
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -580,7 +622,7 @@ var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
|
580
622
|
* @hidden
|
|
581
623
|
*/
|
|
582
624
|
var TreeClipboard = /** @__PURE__ @class */ (function (_super) {
|
|
583
|
-
__extends$
|
|
625
|
+
__extends$6(TreeClipboard, _super);
|
|
584
626
|
function TreeClipboard(parent, serviceLocator) {
|
|
585
627
|
var _this = _super.call(this, parent.grid, serviceLocator) || this;
|
|
586
628
|
_this.treeCopyContent = '';
|
|
@@ -1506,7 +1548,7 @@ var Print$1 = /** @__PURE__ @class */ (function () {
|
|
|
1506
1548
|
return Print$$1;
|
|
1507
1549
|
}());
|
|
1508
1550
|
|
|
1509
|
-
var __extends$
|
|
1551
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
1510
1552
|
var extendStatics = function (d, b) {
|
|
1511
1553
|
extendStatics = Object.setPrototypeOf ||
|
|
1512
1554
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1519,7 +1561,7 @@ var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
|
1519
1561
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1520
1562
|
};
|
|
1521
1563
|
})();
|
|
1522
|
-
var __decorate$
|
|
1564
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1523
1565
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1524
1566
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1525
1567
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1529,29 +1571,29 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1529
1571
|
* Configures the filtering behavior of the TreeGrid.
|
|
1530
1572
|
*/
|
|
1531
1573
|
var SearchSettings = /** @__PURE__ @class */ (function (_super) {
|
|
1532
|
-
__extends$
|
|
1574
|
+
__extends$7(SearchSettings, _super);
|
|
1533
1575
|
function SearchSettings() {
|
|
1534
1576
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1535
1577
|
}
|
|
1536
|
-
__decorate$
|
|
1578
|
+
__decorate$5([
|
|
1537
1579
|
Property()
|
|
1538
1580
|
], SearchSettings.prototype, "fields", void 0);
|
|
1539
|
-
__decorate$
|
|
1581
|
+
__decorate$5([
|
|
1540
1582
|
Property(false)
|
|
1541
1583
|
], SearchSettings.prototype, "ignoreCase", void 0);
|
|
1542
|
-
__decorate$
|
|
1584
|
+
__decorate$5([
|
|
1543
1585
|
Property('contains')
|
|
1544
1586
|
], SearchSettings.prototype, "operator", void 0);
|
|
1545
|
-
__decorate$
|
|
1587
|
+
__decorate$5([
|
|
1546
1588
|
Property()
|
|
1547
1589
|
], SearchSettings.prototype, "key", void 0);
|
|
1548
|
-
__decorate$
|
|
1590
|
+
__decorate$5([
|
|
1549
1591
|
Property()
|
|
1550
1592
|
], SearchSettings.prototype, "hierarchyMode", void 0);
|
|
1551
1593
|
return SearchSettings;
|
|
1552
1594
|
}(ChildProperty));
|
|
1553
1595
|
|
|
1554
|
-
var __extends$
|
|
1596
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
1555
1597
|
var extendStatics = function (d, b) {
|
|
1556
1598
|
extendStatics = Object.setPrototypeOf ||
|
|
1557
1599
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1564,7 +1606,7 @@ var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
|
1564
1606
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1565
1607
|
};
|
|
1566
1608
|
})();
|
|
1567
|
-
var __decorate$
|
|
1609
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1568
1610
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1569
1611
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1570
1612
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -1574,29 +1616,29 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
1574
1616
|
* Configures the selection behavior of the TreeGrid.
|
|
1575
1617
|
*/
|
|
1576
1618
|
var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
1577
|
-
__extends$
|
|
1619
|
+
__extends$8(SelectionSettings, _super);
|
|
1578
1620
|
function SelectionSettings() {
|
|
1579
1621
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1580
1622
|
}
|
|
1581
|
-
__decorate$
|
|
1623
|
+
__decorate$6([
|
|
1582
1624
|
Property('Row')
|
|
1583
1625
|
], SelectionSettings.prototype, "mode", void 0);
|
|
1584
|
-
__decorate$
|
|
1626
|
+
__decorate$6([
|
|
1585
1627
|
Property('Flow')
|
|
1586
1628
|
], SelectionSettings.prototype, "cellSelectionMode", void 0);
|
|
1587
|
-
__decorate$
|
|
1629
|
+
__decorate$6([
|
|
1588
1630
|
Property('Single')
|
|
1589
1631
|
], SelectionSettings.prototype, "type", void 0);
|
|
1590
|
-
__decorate$
|
|
1632
|
+
__decorate$6([
|
|
1591
1633
|
Property(false)
|
|
1592
1634
|
], SelectionSettings.prototype, "persistSelection", void 0);
|
|
1593
|
-
__decorate$
|
|
1635
|
+
__decorate$6([
|
|
1594
1636
|
Property('Default')
|
|
1595
1637
|
], SelectionSettings.prototype, "checkboxMode", void 0);
|
|
1596
|
-
__decorate$
|
|
1638
|
+
__decorate$6([
|
|
1597
1639
|
Property(false)
|
|
1598
1640
|
], SelectionSettings.prototype, "checkboxOnly", void 0);
|
|
1599
|
-
__decorate$
|
|
1641
|
+
__decorate$6([
|
|
1600
1642
|
Property(true)
|
|
1601
1643
|
], SelectionSettings.prototype, "enableToggle", void 0);
|
|
1602
1644
|
return SelectionSettings;
|
|
@@ -1640,7 +1682,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
1640
1682
|
if (collapsed$$1 && !isNullOrUndefined(args.row)) {
|
|
1641
1683
|
args.row.style.display = 'none';
|
|
1642
1684
|
var rowsObj = this.parent.grid.getRowsObject();
|
|
1643
|
-
if (!isNullOrUndefined(args.row.getAttribute('data-uid'))) {
|
|
1685
|
+
if (!this.parent.grid.isFrozenGrid() && !isNullOrUndefined(args.row.getAttribute('data-uid'))) {
|
|
1644
1686
|
rowsObj.filter(function (e) { return e.uid === args.row.getAttribute('data-uid'); })[0].visible = false;
|
|
1645
1687
|
}
|
|
1646
1688
|
}
|
|
@@ -1826,6 +1868,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
1826
1868
|
if (summaryRow) {
|
|
1827
1869
|
addClass([args.cell], 'e-summarycell');
|
|
1828
1870
|
var summaryData = getObject(args.column.field, args.data);
|
|
1871
|
+
summaryData = isNullOrUndefined(summaryData) ? null : summaryData;
|
|
1829
1872
|
if (args.cell.querySelector('.e-treecell') != null) {
|
|
1830
1873
|
args.cell.querySelector('.e-treecell').innerHTML = summaryData;
|
|
1831
1874
|
}
|
|
@@ -2334,7 +2377,18 @@ var DataManipulation = /** @__PURE__ @class */ (function () {
|
|
|
2334
2377
|
}
|
|
2335
2378
|
result = resultChildData;
|
|
2336
2379
|
}
|
|
2337
|
-
|
|
2380
|
+
if (_this.parent.enableVirtualization && rowDetails.action === 'remoteExpand') {
|
|
2381
|
+
rowDetails.record.childRecords = [];
|
|
2382
|
+
for (var i = 0; i < result.length; i++) {
|
|
2383
|
+
if (rowDetails.record['' + _this.parent.idMapping] !== result[parseInt(i.toString(), 10)]['' + _this.parent.idMapping] &&
|
|
2384
|
+
rowDetails.record['' + _this.parent.idMapping] === result[parseInt(i.toString(), 10)]['' + _this.parent.parentIdMapping] && Object.prototype.hasOwnProperty.call(result, i)) {
|
|
2385
|
+
rowDetails.record.childRecords.push(result[parseInt(i.toString(), 10)]);
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
else {
|
|
2390
|
+
rowDetails.record.childRecords = result;
|
|
2391
|
+
}
|
|
2338
2392
|
for (var r = 0; r < result.length; r++) {
|
|
2339
2393
|
if (_this.parent.enableVirtualization && result[parseInt(r.toString(), 10)]["" + _this.parent.idMapping] === rowDetails.record["" + _this.parent.idMapping] && rowDetails.action === 'remoteExpand') {
|
|
2340
2394
|
_this.parent["" + remoteExpandedData].push(rowDetails.record);
|
|
@@ -2352,6 +2406,7 @@ var DataManipulation = /** @__PURE__ @class */ (function () {
|
|
|
2352
2406
|
if (result[parseInt(r.toString(), 10)]["" + _this.parent.parentIdMapping] === _this.parent["" + remoteExpandedData][parseInt(i.toString(), 10)]["" + _this.parent.idMapping]) {
|
|
2353
2407
|
result[parseInt(r.toString(), 10)].level = _this.parent["" + remoteExpandedData][parseInt(i.toString(), 10)]["" + level] + 1;
|
|
2354
2408
|
var parentData = _this.parent["" + remoteExpandedData][parseInt(i.toString(), 10)];
|
|
2409
|
+
delete parentData.childRecords;
|
|
2355
2410
|
result[parseInt(r.toString(), 10)].parentItem = parentData;
|
|
2356
2411
|
result[parseInt(r.toString(), 10)].parentUniqueID = rowDetails.record.uniqueID;
|
|
2357
2412
|
}
|
|
@@ -2363,6 +2418,10 @@ var DataManipulation = /** @__PURE__ @class */ (function () {
|
|
|
2363
2418
|
&& !(haveChild && !haveChild[parseInt(r.toString(), 10)])) {
|
|
2364
2419
|
if (isNullOrUndefined(result[parseInt(r.toString(), 10)]["" + _this.parent.parentIdMapping])) {
|
|
2365
2420
|
result[parseInt(r.toString(), 10)].level = 0;
|
|
2421
|
+
if (rowDetails.action === 'remoteExpand') {
|
|
2422
|
+
result[parseInt(r.toString(), 10)].childRecords = [];
|
|
2423
|
+
result[parseInt(r.toString(), 10)].childRecords = rowDetails.record.childRecords;
|
|
2424
|
+
}
|
|
2366
2425
|
}
|
|
2367
2426
|
else {
|
|
2368
2427
|
result[parseInt(r.toString(), 10)].level = rowDetails.record.level;
|
|
@@ -2807,7 +2866,7 @@ var ContextMenuItems;
|
|
|
2807
2866
|
ContextMenuItems[ContextMenuItems["RowOutdent"] = 17] = "RowOutdent";
|
|
2808
2867
|
})(ContextMenuItems || (ContextMenuItems = {}));
|
|
2809
2868
|
|
|
2810
|
-
var __extends$
|
|
2869
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
2811
2870
|
var extendStatics = function (d, b) {
|
|
2812
2871
|
extendStatics = Object.setPrototypeOf ||
|
|
2813
2872
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2820,7 +2879,7 @@ var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
|
2820
2879
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2821
2880
|
};
|
|
2822
2881
|
})();
|
|
2823
|
-
var __decorate$
|
|
2882
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2824
2883
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2825
2884
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2826
2885
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2830,38 +2889,38 @@ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2830
2889
|
* Configures the paging behavior of the TreeGrid.
|
|
2831
2890
|
*/
|
|
2832
2891
|
var PageSettings = /** @__PURE__ @class */ (function (_super) {
|
|
2833
|
-
__extends$
|
|
2892
|
+
__extends$9(PageSettings, _super);
|
|
2834
2893
|
function PageSettings() {
|
|
2835
2894
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2836
2895
|
}
|
|
2837
|
-
__decorate$
|
|
2896
|
+
__decorate$7([
|
|
2838
2897
|
Property(12)
|
|
2839
2898
|
], PageSettings.prototype, "pageSize", void 0);
|
|
2840
|
-
__decorate$
|
|
2899
|
+
__decorate$7([
|
|
2841
2900
|
Property(8)
|
|
2842
2901
|
], PageSettings.prototype, "pageCount", void 0);
|
|
2843
|
-
__decorate$
|
|
2902
|
+
__decorate$7([
|
|
2844
2903
|
Property(1)
|
|
2845
2904
|
], PageSettings.prototype, "currentPage", void 0);
|
|
2846
|
-
__decorate$
|
|
2905
|
+
__decorate$7([
|
|
2847
2906
|
Property()
|
|
2848
2907
|
], PageSettings.prototype, "totalRecordsCount", void 0);
|
|
2849
|
-
__decorate$
|
|
2908
|
+
__decorate$7([
|
|
2850
2909
|
Property(false)
|
|
2851
2910
|
], PageSettings.prototype, "enableQueryString", void 0);
|
|
2852
|
-
__decorate$
|
|
2911
|
+
__decorate$7([
|
|
2853
2912
|
Property(false)
|
|
2854
2913
|
], PageSettings.prototype, "pageSizes", void 0);
|
|
2855
|
-
__decorate$
|
|
2914
|
+
__decorate$7([
|
|
2856
2915
|
Property(null)
|
|
2857
2916
|
], PageSettings.prototype, "template", void 0);
|
|
2858
|
-
__decorate$
|
|
2917
|
+
__decorate$7([
|
|
2859
2918
|
Property('All')
|
|
2860
2919
|
], PageSettings.prototype, "pageSizeMode", void 0);
|
|
2861
2920
|
return PageSettings;
|
|
2862
2921
|
}(ChildProperty));
|
|
2863
2922
|
|
|
2864
|
-
var __extends$
|
|
2923
|
+
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
2865
2924
|
var extendStatics = function (d, b) {
|
|
2866
2925
|
extendStatics = Object.setPrototypeOf ||
|
|
2867
2926
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2874,7 +2933,7 @@ var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
|
2874
2933
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2875
2934
|
};
|
|
2876
2935
|
})();
|
|
2877
|
-
var __decorate$
|
|
2936
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2878
2937
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2879
2938
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2880
2939
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -2884,7 +2943,7 @@ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
2884
2943
|
* Configures the TreeGrid's aggregate column.
|
|
2885
2944
|
*/
|
|
2886
2945
|
var AggregateColumn = /** @__PURE__ @class */ (function (_super) {
|
|
2887
|
-
__extends$
|
|
2946
|
+
__extends$10(AggregateColumn, _super);
|
|
2888
2947
|
function AggregateColumn() {
|
|
2889
2948
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2890
2949
|
_this.intl = new Internationalization();
|
|
@@ -2952,41 +3011,41 @@ var AggregateColumn = /** @__PURE__ @class */ (function (_super) {
|
|
|
2952
3011
|
AggregateColumn.prototype.setPropertiesSilent = function (prop) {
|
|
2953
3012
|
this.setProperties(prop, true);
|
|
2954
3013
|
};
|
|
2955
|
-
__decorate$
|
|
3014
|
+
__decorate$8([
|
|
2956
3015
|
Property()
|
|
2957
3016
|
], AggregateColumn.prototype, "type", void 0);
|
|
2958
|
-
__decorate$
|
|
3017
|
+
__decorate$8([
|
|
2959
3018
|
Property()
|
|
2960
3019
|
], AggregateColumn.prototype, "footerTemplate", void 0);
|
|
2961
|
-
__decorate$
|
|
3020
|
+
__decorate$8([
|
|
2962
3021
|
Property()
|
|
2963
3022
|
], AggregateColumn.prototype, "field", void 0);
|
|
2964
|
-
__decorate$
|
|
3023
|
+
__decorate$8([
|
|
2965
3024
|
Property()
|
|
2966
3025
|
], AggregateColumn.prototype, "format", void 0);
|
|
2967
|
-
__decorate$
|
|
3026
|
+
__decorate$8([
|
|
2968
3027
|
Property()
|
|
2969
3028
|
], AggregateColumn.prototype, "columnName", void 0);
|
|
2970
|
-
__decorate$
|
|
3029
|
+
__decorate$8([
|
|
2971
3030
|
Property()
|
|
2972
3031
|
], AggregateColumn.prototype, "customAggregate", void 0);
|
|
2973
3032
|
return AggregateColumn;
|
|
2974
3033
|
}(ChildProperty));
|
|
2975
3034
|
var AggregateRow = /** @__PURE__ @class */ (function (_super) {
|
|
2976
|
-
__extends$
|
|
3035
|
+
__extends$10(AggregateRow, _super);
|
|
2977
3036
|
function AggregateRow() {
|
|
2978
3037
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2979
3038
|
}
|
|
2980
|
-
__decorate$
|
|
3039
|
+
__decorate$8([
|
|
2981
3040
|
Collection([], AggregateColumn)
|
|
2982
3041
|
], AggregateRow.prototype, "columns", void 0);
|
|
2983
|
-
__decorate$
|
|
3042
|
+
__decorate$8([
|
|
2984
3043
|
Property(true)
|
|
2985
3044
|
], AggregateRow.prototype, "showChildSummary", void 0);
|
|
2986
3045
|
return AggregateRow;
|
|
2987
3046
|
}(ChildProperty));
|
|
2988
3047
|
|
|
2989
|
-
var __extends$
|
|
3048
|
+
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
2990
3049
|
var extendStatics = function (d, b) {
|
|
2991
3050
|
extendStatics = Object.setPrototypeOf ||
|
|
2992
3051
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2999,7 +3058,7 @@ var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
|
2999
3058
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3000
3059
|
};
|
|
3001
3060
|
})();
|
|
3002
|
-
var __decorate$
|
|
3061
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3003
3062
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3004
3063
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3005
3064
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3009,47 +3068,47 @@ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
3009
3068
|
* Configures the edit behavior of the TreeGrid.
|
|
3010
3069
|
*/
|
|
3011
3070
|
var EditSettings = /** @__PURE__ @class */ (function (_super) {
|
|
3012
|
-
__extends$
|
|
3071
|
+
__extends$11(EditSettings, _super);
|
|
3013
3072
|
function EditSettings() {
|
|
3014
3073
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3015
3074
|
}
|
|
3016
|
-
__decorate$
|
|
3075
|
+
__decorate$9([
|
|
3017
3076
|
Property(false)
|
|
3018
3077
|
], EditSettings.prototype, "allowAdding", void 0);
|
|
3019
|
-
__decorate$
|
|
3078
|
+
__decorate$9([
|
|
3020
3079
|
Property(false)
|
|
3021
3080
|
], EditSettings.prototype, "allowEditing", void 0);
|
|
3022
|
-
__decorate$
|
|
3081
|
+
__decorate$9([
|
|
3023
3082
|
Property(false)
|
|
3024
3083
|
], EditSettings.prototype, "allowDeleting", void 0);
|
|
3025
|
-
__decorate$
|
|
3084
|
+
__decorate$9([
|
|
3026
3085
|
Property('Cell')
|
|
3027
3086
|
], EditSettings.prototype, "mode", void 0);
|
|
3028
|
-
__decorate$
|
|
3087
|
+
__decorate$9([
|
|
3029
3088
|
Property('Top')
|
|
3030
3089
|
], EditSettings.prototype, "newRowPosition", void 0);
|
|
3031
|
-
__decorate$
|
|
3090
|
+
__decorate$9([
|
|
3032
3091
|
Property(true)
|
|
3033
3092
|
], EditSettings.prototype, "allowEditOnDblClick", void 0);
|
|
3034
|
-
__decorate$
|
|
3093
|
+
__decorate$9([
|
|
3035
3094
|
Property(true)
|
|
3036
3095
|
], EditSettings.prototype, "showConfirmDialog", void 0);
|
|
3037
|
-
__decorate$
|
|
3096
|
+
__decorate$9([
|
|
3038
3097
|
Property(false)
|
|
3039
3098
|
], EditSettings.prototype, "showDeleteConfirmDialog", void 0);
|
|
3040
|
-
__decorate$
|
|
3099
|
+
__decorate$9([
|
|
3041
3100
|
Property('')
|
|
3042
3101
|
], EditSettings.prototype, "template", void 0);
|
|
3043
|
-
__decorate$
|
|
3102
|
+
__decorate$9([
|
|
3044
3103
|
Property({})
|
|
3045
3104
|
], EditSettings.prototype, "dialog", void 0);
|
|
3046
|
-
__decorate$
|
|
3105
|
+
__decorate$9([
|
|
3047
3106
|
Property(false)
|
|
3048
3107
|
], EditSettings.prototype, "allowNextRowEdit", void 0);
|
|
3049
3108
|
return EditSettings;
|
|
3050
3109
|
}(ChildProperty));
|
|
3051
3110
|
|
|
3052
|
-
var __extends$
|
|
3111
|
+
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
3053
3112
|
var extendStatics = function (d, b) {
|
|
3054
3113
|
extendStatics = Object.setPrototypeOf ||
|
|
3055
3114
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -3062,7 +3121,7 @@ var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
|
3062
3121
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3063
3122
|
};
|
|
3064
3123
|
})();
|
|
3065
|
-
var __decorate$
|
|
3124
|
+
var __decorate$10 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3066
3125
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3067
3126
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3068
3127
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3072,14 +3131,14 @@ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
3072
3131
|
* Represents the field name and direction of sort column.
|
|
3073
3132
|
*/
|
|
3074
3133
|
var SortDescriptor = /** @__PURE__ @class */ (function (_super) {
|
|
3075
|
-
__extends$
|
|
3134
|
+
__extends$12(SortDescriptor, _super);
|
|
3076
3135
|
function SortDescriptor() {
|
|
3077
3136
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3078
3137
|
}
|
|
3079
|
-
__decorate$
|
|
3138
|
+
__decorate$10([
|
|
3080
3139
|
Property()
|
|
3081
3140
|
], SortDescriptor.prototype, "field", void 0);
|
|
3082
|
-
__decorate$
|
|
3141
|
+
__decorate$10([
|
|
3083
3142
|
Property()
|
|
3084
3143
|
], SortDescriptor.prototype, "direction", void 0);
|
|
3085
3144
|
return SortDescriptor;
|
|
@@ -3088,14 +3147,14 @@ var SortDescriptor = /** @__PURE__ @class */ (function (_super) {
|
|
|
3088
3147
|
* Configures the sorting behavior of TreeGrid.
|
|
3089
3148
|
*/
|
|
3090
3149
|
var SortSettings = /** @__PURE__ @class */ (function (_super) {
|
|
3091
|
-
__extends$
|
|
3150
|
+
__extends$12(SortSettings, _super);
|
|
3092
3151
|
function SortSettings() {
|
|
3093
3152
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3094
3153
|
}
|
|
3095
|
-
__decorate$
|
|
3154
|
+
__decorate$10([
|
|
3096
3155
|
Collection([], SortDescriptor)
|
|
3097
3156
|
], SortSettings.prototype, "columns", void 0);
|
|
3098
|
-
__decorate$
|
|
3157
|
+
__decorate$10([
|
|
3099
3158
|
Property(true)
|
|
3100
3159
|
], SortSettings.prototype, "allowUnsort", void 0);
|
|
3101
3160
|
return SortSettings;
|
|
@@ -3508,7 +3567,7 @@ function updateParentRow(key, record, action, control, isSelfReference, child) {
|
|
|
3508
3567
|
}
|
|
3509
3568
|
}
|
|
3510
3569
|
|
|
3511
|
-
var __extends$
|
|
3570
|
+
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
3512
3571
|
var extendStatics = function (d, b) {
|
|
3513
3572
|
extendStatics = Object.setPrototypeOf ||
|
|
3514
3573
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -3521,7 +3580,7 @@ var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
|
3521
3580
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3522
3581
|
};
|
|
3523
3582
|
})();
|
|
3524
|
-
var __decorate$
|
|
3583
|
+
var __decorate$11 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3525
3584
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3526
3585
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3527
3586
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -3531,17 +3590,17 @@ var __decorate$10 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
3531
3590
|
* Configures the infinite scroll behavior of Tree Grid.
|
|
3532
3591
|
*/
|
|
3533
3592
|
var InfiniteScrollSettings = /** @__PURE__ @class */ (function (_super) {
|
|
3534
|
-
__extends$
|
|
3593
|
+
__extends$13(InfiniteScrollSettings, _super);
|
|
3535
3594
|
function InfiniteScrollSettings() {
|
|
3536
3595
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3537
3596
|
}
|
|
3538
|
-
__decorate$
|
|
3597
|
+
__decorate$11([
|
|
3539
3598
|
Property(false)
|
|
3540
3599
|
], InfiniteScrollSettings.prototype, "enableCache", void 0);
|
|
3541
|
-
__decorate$
|
|
3600
|
+
__decorate$11([
|
|
3542
3601
|
Property(3)
|
|
3543
3602
|
], InfiniteScrollSettings.prototype, "maxBlocks", void 0);
|
|
3544
|
-
__decorate$
|
|
3603
|
+
__decorate$11([
|
|
3545
3604
|
Property(3)
|
|
3546
3605
|
], InfiniteScrollSettings.prototype, "initialBlocks", void 0);
|
|
3547
3606
|
return InfiniteScrollSettings;
|
|
@@ -6174,7 +6233,17 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
6174
6233
|
record = this.grid.getCurrentViewRecords()[row.getAttribute('data-rowindex')];
|
|
6175
6234
|
}
|
|
6176
6235
|
else {
|
|
6177
|
-
|
|
6236
|
+
if (this.enableVirtualization && this.isCollapseAll) {
|
|
6237
|
+
if (this.isExpandAll && row.rowIndex === -1) {
|
|
6238
|
+
record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
|
|
6239
|
+
}
|
|
6240
|
+
else {
|
|
6241
|
+
record = this.grid.getCurrentViewRecords()[row.rowIndex];
|
|
6242
|
+
}
|
|
6243
|
+
}
|
|
6244
|
+
else {
|
|
6245
|
+
record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
|
|
6246
|
+
}
|
|
6178
6247
|
}
|
|
6179
6248
|
}
|
|
6180
6249
|
return record;
|
|
@@ -6404,10 +6473,17 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
6404
6473
|
if (rows.length) {
|
|
6405
6474
|
for (var i = 0; i < rows.length; i++) {
|
|
6406
6475
|
if (action === 'collapse') {
|
|
6407
|
-
this.
|
|
6476
|
+
if (!isNullOrUndefined(this.getCurrentViewRecords()[rows[parseInt(i.toString(), 10)].rowIndex])) {
|
|
6477
|
+
this.collapseRow(rows[parseInt(i.toString(), 10)]);
|
|
6478
|
+
}
|
|
6408
6479
|
}
|
|
6409
6480
|
else {
|
|
6410
|
-
this.
|
|
6481
|
+
if (!this.enableVirtualization) {
|
|
6482
|
+
this.expandRow(rows[parseInt(i.toString(), 10)]);
|
|
6483
|
+
}
|
|
6484
|
+
else if (rows[0].getAttribute('aria-expanded') !== 'true') {
|
|
6485
|
+
this.expandRow(rows[0]);
|
|
6486
|
+
}
|
|
6411
6487
|
}
|
|
6412
6488
|
}
|
|
6413
6489
|
}
|
|
@@ -8771,14 +8847,13 @@ var RowDD$1 = /** @__PURE__ @class */ (function () {
|
|
|
8771
8847
|
var childRecords = rec[0].childRecords;
|
|
8772
8848
|
var droppedRecordIndex = childRecords.indexOf(droppedRecord) + 1;
|
|
8773
8849
|
childRecords.splice(droppedRecordIndex, 0, draggedRecord_2);
|
|
8774
|
-
|
|
8775
|
-
draggedRecord_2.parentItem = droppedRecord.parentItem;
|
|
8776
|
-
draggedRecord_2.level = droppedRecord.level;
|
|
8777
|
-
}
|
|
8850
|
+
draggedRecord_2.parentItem = droppedRecord.parentItem;
|
|
8778
8851
|
draggedRecord_2.parentUniqueID = droppedRecord.parentUniqueID;
|
|
8852
|
+
draggedRecord_2.level = droppedRecord.level;
|
|
8779
8853
|
if (this_1.parent.parentIdMapping) {
|
|
8780
8854
|
draggedRecord_2[this_1.parent.parentIdMapping] = droppedRecord[this_1.parent.parentIdMapping];
|
|
8781
|
-
draggedRecord_2.
|
|
8855
|
+
draggedRecord_2.parentItem = droppedRecord.parentItem;
|
|
8856
|
+
draggedRecord_2.level = droppedRecord.level;
|
|
8782
8857
|
}
|
|
8783
8858
|
}
|
|
8784
8859
|
if (draggedRecord_2.hasChildRecords) {
|
|
@@ -9169,7 +9244,7 @@ var RowDD$1 = /** @__PURE__ @class */ (function () {
|
|
|
9169
9244
|
* Base export
|
|
9170
9245
|
*/
|
|
9171
9246
|
|
|
9172
|
-
var __extends$
|
|
9247
|
+
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
9173
9248
|
var extendStatics = function (d, b) {
|
|
9174
9249
|
extendStatics = Object.setPrototypeOf ||
|
|
9175
9250
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9182,7 +9257,7 @@ var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
|
9182
9257
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9183
9258
|
};
|
|
9184
9259
|
})();
|
|
9185
|
-
var __decorate$
|
|
9260
|
+
var __decorate$12 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
9186
9261
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9187
9262
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9188
9263
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9192,11 +9267,11 @@ var __decorate$11 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
9192
9267
|
* Configures the row drop settings of the TreeGrid.
|
|
9193
9268
|
*/
|
|
9194
9269
|
var RowDropSettings$1 = /** @__PURE__ @class */ (function (_super) {
|
|
9195
|
-
__extends$
|
|
9270
|
+
__extends$14(RowDropSettings$$1, _super);
|
|
9196
9271
|
function RowDropSettings$$1() {
|
|
9197
9272
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
9198
9273
|
}
|
|
9199
|
-
__decorate$
|
|
9274
|
+
__decorate$12([
|
|
9200
9275
|
Property()
|
|
9201
9276
|
], RowDropSettings$$1.prototype, "targetID", void 0);
|
|
9202
9277
|
return RowDropSettings$$1;
|
|
@@ -9206,7 +9281,7 @@ var RowDropSettings$1 = /** @__PURE__ @class */ (function (_super) {
|
|
|
9206
9281
|
* Models export
|
|
9207
9282
|
*/
|
|
9208
9283
|
|
|
9209
|
-
var __extends$
|
|
9284
|
+
var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
9210
9285
|
var extendStatics = function (d, b) {
|
|
9211
9286
|
extendStatics = Object.setPrototypeOf ||
|
|
9212
9287
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9225,7 +9300,7 @@ var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
|
9225
9300
|
* @hidden
|
|
9226
9301
|
*/
|
|
9227
9302
|
var TreeVirtualRowModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
9228
|
-
__extends$
|
|
9303
|
+
__extends$15(TreeVirtualRowModelGenerator, _super);
|
|
9229
9304
|
function TreeVirtualRowModelGenerator(parent) {
|
|
9230
9305
|
var _this = _super.call(this, parent) || this;
|
|
9231
9306
|
_this.addEventListener();
|
|
@@ -11498,6 +11573,9 @@ var Edit$1 = /** @__PURE__ @class */ (function () {
|
|
|
11498
11573
|
};
|
|
11499
11574
|
Edit$$1.prototype.gridDblClick = function (e) {
|
|
11500
11575
|
this.doubleClickTarget = e.target;
|
|
11576
|
+
if (e.target.classList.contains('e-frame') && this.parent.getCurrentViewRecords().length === 0) {
|
|
11577
|
+
this.doubleClickTarget = null;
|
|
11578
|
+
}
|
|
11501
11579
|
};
|
|
11502
11580
|
Edit$$1.prototype.getRowPosition = function (addArgs) {
|
|
11503
11581
|
addArgs.newRowPosition = this.parent.editSettings.newRowPosition;
|
|
@@ -11505,7 +11583,9 @@ var Edit$1 = /** @__PURE__ @class */ (function () {
|
|
|
11505
11583
|
addArgs.dataRowIndex = +this.prevAriaRowIndex;
|
|
11506
11584
|
};
|
|
11507
11585
|
Edit$$1.prototype.beforeStartEdit = function (args) {
|
|
11508
|
-
this.parent.
|
|
11586
|
+
if (this.parent.editSettings.mode === 'Cell') {
|
|
11587
|
+
this.parent.trigger(actionBegin, args);
|
|
11588
|
+
}
|
|
11509
11589
|
};
|
|
11510
11590
|
Edit$$1.prototype.beforeBatchCancel = function (args) {
|
|
11511
11591
|
if (this.parent.editSettings.mode === 'Cell') {
|
|
@@ -12074,7 +12154,7 @@ var Edit$1 = /** @__PURE__ @class */ (function () {
|
|
|
12074
12154
|
index = index + batchChildCount;
|
|
12075
12155
|
}
|
|
12076
12156
|
}
|
|
12077
|
-
else {
|
|
12157
|
+
else if (!this.parent.enableVirtualization) {
|
|
12078
12158
|
index += findChildrenRecords(records[parseInt(index.toString(), 10)]).length;
|
|
12079
12159
|
}
|
|
12080
12160
|
}
|
|
@@ -12650,7 +12730,7 @@ var DetailRow$1 = /** @__PURE__ @class */ (function () {
|
|
|
12650
12730
|
return DetailRow$$1;
|
|
12651
12731
|
}());
|
|
12652
12732
|
|
|
12653
|
-
var __extends$
|
|
12733
|
+
var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
12654
12734
|
var extendStatics = function (d, b) {
|
|
12655
12735
|
extendStatics = Object.setPrototypeOf ||
|
|
12656
12736
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12664,7 +12744,7 @@ var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
|
12664
12744
|
};
|
|
12665
12745
|
})();
|
|
12666
12746
|
var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
12667
|
-
__extends$
|
|
12747
|
+
__extends$17(VirtualTreeContentRenderer, _super);
|
|
12668
12748
|
function VirtualTreeContentRenderer(parent, locator) {
|
|
12669
12749
|
var _this = _super.call(this, parent, locator) || this;
|
|
12670
12750
|
_this.isExpandCollapse = false;
|
|
@@ -13027,7 +13107,7 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
13027
13107
|
var currentViewData = this.parent.currentViewData;
|
|
13028
13108
|
var indexValue = 'index';
|
|
13029
13109
|
if (upScroll && (scrollArgs.direction !== 'right' && scrollArgs.direction !== 'left')) {
|
|
13030
|
-
var vHeight = +(this.parent.height.toString().indexOf('%') < 0 ? this.parent.height :
|
|
13110
|
+
var vHeight = +(this.parent.height.toString().indexOf('%') < 0 ? parseInt(this.parent.height.toString(), 10) :
|
|
13031
13111
|
this.parent.element.getBoundingClientRect().height);
|
|
13032
13112
|
var index = (~~(content$$1.scrollTop / rowHeight)
|
|
13033
13113
|
+ Math.ceil(vHeight / rowHeight))
|
|
@@ -13086,6 +13166,11 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
13086
13166
|
}
|
|
13087
13167
|
this.startIndex = !isLastBlock ? lastIndex - this.parent.pageSettings.pageSize : nextSetResIndex;
|
|
13088
13168
|
this.endIndex = lastIndex;
|
|
13169
|
+
if ((nextSetResIndex + this.parent.pageSettings.pageSize) > this.totalRecords &&
|
|
13170
|
+
(this.endIndex - this.startIndex) < (this.parent.pageSettings.pageSize / 2) &&
|
|
13171
|
+
(this.endIndex - nextSetResIndex) < (this.parent.pageSettings.pageSize / 2)) {
|
|
13172
|
+
this.startIndex = lastIndex - (this.parent.pageSettings.pageSize / 2);
|
|
13173
|
+
}
|
|
13089
13174
|
if (currentViewData.length && this.startIndex > currentViewData[0]["" + indexValue] &&
|
|
13090
13175
|
((this.startIndex - currentViewData[0]["" + indexValue]) < (this.parent.pageSettings.pageSize / 2)) && this.parent.selectionModule.isRowSelected) {
|
|
13091
13176
|
this.startIndex = currentViewData[0]["" + indexValue] + (this.parent.pageSettings.pageSize / 2);
|
|
@@ -13098,7 +13183,12 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
13098
13183
|
this.translateY = scrollArgs.offset.top - rowHeight * 2;
|
|
13099
13184
|
}
|
|
13100
13185
|
else {
|
|
13101
|
-
this.
|
|
13186
|
+
if (this.totalRecords == this.endIndex) {
|
|
13187
|
+
this.translateY = scrollArgs.offset.top - (rowHeight - outBuffer);
|
|
13188
|
+
}
|
|
13189
|
+
else {
|
|
13190
|
+
this.translateY = scrollArgs.offset.top;
|
|
13191
|
+
}
|
|
13102
13192
|
}
|
|
13103
13193
|
}
|
|
13104
13194
|
}
|
|
@@ -13228,7 +13318,7 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
13228
13318
|
return VirtualTreeContentRenderer;
|
|
13229
13319
|
}(VirtualContentRenderer));
|
|
13230
13320
|
var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
|
|
13231
|
-
__extends$
|
|
13321
|
+
__extends$17(TreeInterSectionObserver, _super);
|
|
13232
13322
|
function TreeInterSectionObserver() {
|
|
13233
13323
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13234
13324
|
_this.isWheeling = false;
|
|
@@ -13320,7 +13410,7 @@ var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
|
|
|
13320
13410
|
return TreeInterSectionObserver;
|
|
13321
13411
|
}(InterSectionObserver));
|
|
13322
13412
|
|
|
13323
|
-
var __extends$
|
|
13413
|
+
var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
13324
13414
|
var extendStatics = function (d, b) {
|
|
13325
13415
|
extendStatics = Object.setPrototypeOf ||
|
|
13326
13416
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13438,14 +13528,17 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
|
|
|
13438
13528
|
this.parent.grid.getContent().firstElementChild.scrollTop = 0;
|
|
13439
13529
|
this.parent.grid.notify(virtualActionArgs, { setTop: true });
|
|
13440
13530
|
}
|
|
13441
|
-
if (requestType === 'save'
|
|
13531
|
+
if (requestType === 'save') {
|
|
13532
|
+
startIndex = counts.startIndex + (counts.count - counts.endIndex);
|
|
13442
13533
|
endIndex = counts.count;
|
|
13443
13534
|
}
|
|
13444
13535
|
//if ((this.prevendIndex !== -1 && this.prevstartIndex !== -1) &&
|
|
13445
13536
|
//this.prevendIndex === endIndex && this.prevstartIndex === startIndex) {
|
|
13537
|
+
var virtualWrapperElement = this.parent.grid.contentModule.virtualEle.wrapper;
|
|
13538
|
+
var translateY = getTransformValues(virtualWrapperElement).height;
|
|
13446
13539
|
if (!isNullOrUndefined(this.expandCollapseRec) && (pageingDetails.actionArgs.requestType === 'virtualscroll' ||
|
|
13447
13540
|
(pageingDetails.actionArgs.requestType === 'refresh' && startIndex !== this.prevstartIndex)) &&
|
|
13448
|
-
(startIndex < this.parent.getRows().length && endIndex <= startIndex + this.parent.getRows().length)) {
|
|
13541
|
+
(startIndex < this.parent.getRows().length && endIndex <= startIndex + this.parent.getRows().length) && translateY === 0) {
|
|
13449
13542
|
startIndex = 0;
|
|
13450
13543
|
}
|
|
13451
13544
|
if (!isNullOrUndefined(this.expandCollapseRec)) {
|
|
@@ -13493,7 +13586,7 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
|
|
|
13493
13586
|
return VirtualScroll$$1;
|
|
13494
13587
|
}());
|
|
13495
13588
|
var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
|
|
13496
|
-
__extends$
|
|
13589
|
+
__extends$16(TreeVirtual, _super);
|
|
13497
13590
|
function TreeVirtual(parent, locator) {
|
|
13498
13591
|
var _this = _super.call(this, parent, locator) || this;
|
|
13499
13592
|
getValue('parent', _this).off('initial-load', getValue('instantiateRenderer', _this), _this);
|
|
@@ -13524,7 +13617,7 @@ var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
|
|
|
13524
13617
|
if (!isNullOrUndefined(parentGrid.height) && typeof (parentGrid.height) === 'string' && parentGrid.height.indexOf('%') !== -1) {
|
|
13525
13618
|
parentGrid.element.style.height = parentGrid.height;
|
|
13526
13619
|
}
|
|
13527
|
-
var vHeight = parentGrid.height.toString().indexOf('%') < 0 ? parentGrid.height :
|
|
13620
|
+
var vHeight = parentGrid.height.toString().indexOf('%') < 0 ? parseInt(parentGrid.height.toString(), 10) :
|
|
13528
13621
|
parentGrid.element.getBoundingClientRect().height;
|
|
13529
13622
|
var blockSize = ~~(vHeight / rowHeight);
|
|
13530
13623
|
var height = blockSize * 2;
|
|
@@ -13534,7 +13627,7 @@ var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
|
|
|
13534
13627
|
return TreeVirtual;
|
|
13535
13628
|
}(VirtualScroll));
|
|
13536
13629
|
|
|
13537
|
-
var __extends$
|
|
13630
|
+
var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
13538
13631
|
var extendStatics = function (d, b) {
|
|
13539
13632
|
extendStatics = Object.setPrototypeOf ||
|
|
13540
13633
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13553,7 +13646,7 @@ var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
|
13553
13646
|
* @hidden
|
|
13554
13647
|
*/
|
|
13555
13648
|
var VirtualTreeFreezeRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
13556
|
-
__extends$
|
|
13649
|
+
__extends$18(VirtualTreeFreezeRenderer, _super);
|
|
13557
13650
|
function VirtualTreeFreezeRenderer(parent, locator) {
|
|
13558
13651
|
var _this = _super.call(this, parent, locator) || this;
|
|
13559
13652
|
_this.addEventListener();
|
|
@@ -13623,7 +13716,7 @@ var VirtualTreeFreezeRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
13623
13716
|
* @hidden
|
|
13624
13717
|
*/
|
|
13625
13718
|
var ColumnVirtualTreeFreezeRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
13626
|
-
__extends$
|
|
13719
|
+
__extends$18(ColumnVirtualTreeFreezeRenderer, _super);
|
|
13627
13720
|
function ColumnVirtualTreeFreezeRenderer(parent, locator) {
|
|
13628
13721
|
var _this = _super.call(this, parent, locator) || this;
|
|
13629
13722
|
_this.serviceLoc = locator;
|
|
@@ -13673,7 +13766,7 @@ var ColumnVirtualTreeFreezeRenderer = /** @__PURE__ @class */ (function (_super)
|
|
|
13673
13766
|
* @hidden
|
|
13674
13767
|
*/
|
|
13675
13768
|
var VirtualTreeFreezeHdrRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
13676
|
-
__extends$
|
|
13769
|
+
__extends$18(VirtualTreeFreezeHdrRenderer, _super);
|
|
13677
13770
|
function VirtualTreeFreezeHdrRenderer() {
|
|
13678
13771
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
13679
13772
|
}
|
|
@@ -14212,5 +14305,5 @@ var InfiniteScroll$1 = /** @__PURE__ @class */ (function () {
|
|
|
14212
14305
|
* Export TreeGrid component
|
|
14213
14306
|
*/
|
|
14214
14307
|
|
|
14215
|
-
export { TreeGrid, load, rowDataBound, dataBound, queryCellInfo, beforeDataBound, actionBegin, dataStateChange, actionComplete, rowSelecting, rowSelected, checkboxChange, rowDeselected, toolbarClick, beforeExcelExport, beforePdfExport, resizeStop, expanded, expanding, collapsed, collapsing, remoteExpand, localPagedExpandCollapse, pagingActions, printGridInit, contextMenuOpen, contextMenuClick, beforeCopy, beforePaste, savePreviousRowPosition, crudAction, beginEdit, beginAdd, recordDoubleClick, cellSave, cellSaved, cellEdit, batchDelete, batchCancel, batchAdd, beforeBatchDelete, beforeBatchAdd, beforeBatchSave, batchSave, keyPressed, updateData, doubleTap, virtualColumnIndex, virtualActionArgs, destroy, dataListener, indexModifier, beforeStartEdit, beforeBatchCancel, batchEditFormRendered, detailDataBound, rowDrag, rowDragStartHelper, rowDrop, rowDragStart, rowsAdd, rowsRemove, rowdraging, rowDropped, autoCol, rowDeselecting, headerContent, movableContent, movableHeader, frozenContent, frozenHeader, content, table, leftRight, frozenRight, frozenLeft, dataColIndex, ariaColIndex, dataRowIndex, ariaRowIndex, DataManipulation, Reorder$1 as Reorder, Resize$1 as Resize, RowDD$1 as RowDD, Column, EditSettings, Predicate$1 as Predicate, FilterSettings, PageSettings, SearchSettings, SelectionSettings, AggregateColumn, AggregateRow, SortDescriptor, SortSettings, RowDropSettings$1 as RowDropSettings, InfiniteScrollSettings, LoadingIndicator, Render, TreeVirtualRowModelGenerator, isRemoteData, isCountRequired, isCheckboxcolumn, isFilterChildHierarchy, findParentRecords, getExpandStatus, findChildrenRecords, isOffline, extendArray, getPlainData, getParentData, isHidden, ToolbarItem, ContextMenuItems, Filter$1 as Filter, ExcelExport$1 as ExcelExport, PdfExport$1 as PdfExport, Page$1 as Page, Toolbar$1 as Toolbar, Aggregate$1 as Aggregate, Sort$1 as Sort, TreeClipboard, ColumnMenu$1 as ColumnMenu, ContextMenu$1 as ContextMenu, Edit$1 as Edit, CommandColumn$1 as CommandColumn, Selection, DetailRow$1 as DetailRow, VirtualScroll$1 as VirtualScroll, TreeVirtual, Freeze$1 as Freeze, ColumnChooser$1 as ColumnChooser, Logger$1 as Logger, treeGridDetails, InfiniteScroll$1 as InfiniteScroll };
|
|
14308
|
+
export { TreeGrid, load, rowDataBound, dataBound, queryCellInfo, beforeDataBound, actionBegin, dataStateChange, actionComplete, rowSelecting, rowSelected, checkboxChange, rowDeselected, toolbarClick, beforeExcelExport, beforePdfExport, resizeStop, expanded, expanding, collapsed, collapsing, remoteExpand, localPagedExpandCollapse, pagingActions, printGridInit, contextMenuOpen, contextMenuClick, beforeCopy, beforePaste, savePreviousRowPosition, crudAction, beginEdit, beginAdd, recordDoubleClick, cellSave, cellSaved, cellEdit, batchDelete, batchCancel, batchAdd, beforeBatchDelete, beforeBatchAdd, beforeBatchSave, batchSave, keyPressed, updateData, doubleTap, virtualColumnIndex, virtualActionArgs, destroy, dataListener, indexModifier, beforeStartEdit, beforeBatchCancel, batchEditFormRendered, detailDataBound, rowDrag, rowDragStartHelper, rowDrop, rowDragStart, rowsAdd, rowsRemove, rowdraging, rowDropped, autoCol, rowDeselecting, headerContent, movableContent, movableHeader, frozenContent, frozenHeader, content, table, leftRight, frozenRight, frozenLeft, dataColIndex, ariaColIndex, dataRowIndex, ariaRowIndex, DataManipulation, Reorder$1 as Reorder, Resize$1 as Resize, RowDD$1 as RowDD, Column, TreeGridColumn, StackedColumn, EditSettings, Predicate$1 as Predicate, FilterSettings, PageSettings, SearchSettings, SelectionSettings, AggregateColumn, AggregateRow, SortDescriptor, SortSettings, RowDropSettings$1 as RowDropSettings, InfiniteScrollSettings, LoadingIndicator, Render, TreeVirtualRowModelGenerator, isRemoteData, isCountRequired, isCheckboxcolumn, isFilterChildHierarchy, findParentRecords, getExpandStatus, findChildrenRecords, isOffline, extendArray, getPlainData, getParentData, isHidden, ToolbarItem, ContextMenuItems, Filter$1 as Filter, ExcelExport$1 as ExcelExport, PdfExport$1 as PdfExport, Page$1 as Page, Toolbar$1 as Toolbar, Aggregate$1 as Aggregate, Sort$1 as Sort, TreeClipboard, ColumnMenu$1 as ColumnMenu, ContextMenu$1 as ContextMenu, Edit$1 as Edit, CommandColumn$1 as CommandColumn, Selection, DetailRow$1 as DetailRow, VirtualScroll$1 as VirtualScroll, TreeVirtual, Freeze$1 as Freeze, ColumnChooser$1 as ColumnChooser, Logger$1 as Logger, treeGridDetails, InfiniteScroll$1 as InfiniteScroll };
|
|
14216
14309
|
//# sourceMappingURL=ej2-treegrid.es5.js.map
|