@syncfusion/ej2-angular-treegrid 30.1.38-ngcc → 30.2.4-ngcc

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-angular-treegrid.umd.js
3
- * version : 30.1.38
3
+ * version : 30.2.4
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
@@ -13,793 +13,793 @@
13
13
  (factory((global['ej2-angular-treegrid'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.treegrid,global.ng.common));
14
14
  }(this, (function (exports,core,ej2AngularBase,ej2Treegrid,common) { 'use strict';
15
15
 
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
- return function (d, b) {
21
- extendStatics(d, b);
22
- function __() { this.constructor = d; }
23
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
- };
25
- })();
26
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
- r = Reflect.decorate(decorators, target, key, desc);
30
- else
31
- for (var i = decorators.length - 1; i >= 0; i--)
32
- if (d = decorators[i])
33
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
- return c > 3 && r && Object.defineProperty(target, key, r), r;
35
- };
36
- var __metadata = (this && this.__metadata) || function (k, v) {
37
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
- return Reflect.metadata(k, v);
39
- };
40
- var input = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'columns', 'commands', 'customAttributes', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showCheckbox', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
41
- var outputs = [];
42
- /**
43
- * `e-stacked-column` directive represent the stacked column of the Angular TreeGrid.
44
- * It must be contained in a StackedColumns component(`e-stacked-columns`).
45
- * ```html
46
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
47
- * <e-columns>
48
- * <e-column field='ID' width='100'></e-column>
49
- * <e-column headerText='Details' width='100'>
50
- * <e-stacked-columns>
51
- * <e-stacked-column field='Name' width='140'></e-stacked-column>
52
- * </e-stacked-columns>
53
- * </e-column>
54
- * </e-columns>
55
- * </ejs-treegrid>
56
- * ```
57
- */
58
- var StackedColumnDirective = /** @class */ (function (_super) {
59
- __extends(StackedColumnDirective, _super);
60
- /**
61
- * @param {?} viewContainerRef
62
- */
63
- function StackedColumnDirective(viewContainerRef) {
64
- var _this = _super.call(this) || this;
65
- _this.viewContainerRef = viewContainerRef;
66
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
67
- _this.registerEvents(outputs);
68
- _this.directivePropList = input;
69
- return _this;
70
- }
71
- return StackedColumnDirective;
72
- }(ej2AngularBase.ComplexBase));
73
- StackedColumnDirective.decorators = [
74
- { type: core.Directive, args: [{
75
- selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns>e-stacked-column',
76
- inputs: input,
77
- outputs: outputs,
78
- queries: {}
79
- },] },
80
- ];
81
- /**
82
- * @nocollapse
83
- */
84
- StackedColumnDirective.ctorParameters = function () { return [
85
- { type: core.ViewContainerRef, },
86
- ]; };
87
- StackedColumnDirective.propDecorators = {
88
- 'template': [{ type: core.ContentChild, args: ['template',] },],
89
- 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
90
- 'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
91
- 'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
92
- 'commandsTemplate': [{ type: core.ContentChild, args: ['commandsTemplate',] },],
93
- 'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
94
- };
95
- __decorate([
96
- ej2AngularBase.Template(),
97
- __metadata("design:type", Object)
98
- ], StackedColumnDirective.prototype, "template", void 0);
99
- __decorate([
100
- ej2AngularBase.Template(),
101
- __metadata("design:type", Object)
102
- ], StackedColumnDirective.prototype, "headerTemplate", void 0);
103
- __decorate([
104
- ej2AngularBase.Template(),
105
- __metadata("design:type", Object)
106
- ], StackedColumnDirective.prototype, "filter_itemTemplate", void 0);
107
- __decorate([
108
- ej2AngularBase.Template(),
109
- __metadata("design:type", Object)
110
- ], StackedColumnDirective.prototype, "filterTemplate", void 0);
111
- __decorate([
112
- ej2AngularBase.Template(),
113
- __metadata("design:type", Object)
114
- ], StackedColumnDirective.prototype, "commandsTemplate", void 0);
115
- __decorate([
116
- ej2AngularBase.Template(),
117
- __metadata("design:type", Object)
118
- ], StackedColumnDirective.prototype, "editTemplate", void 0);
119
- /**
120
- * StackedColumn Array Directive
121
- */
122
- var StackedColumnsDirective = /** @class */ (function (_super) {
123
- __extends(StackedColumnsDirective, _super);
124
- function StackedColumnsDirective() {
125
- return _super.call(this, 'columns') || this;
126
- }
127
- return StackedColumnsDirective;
128
- }(ej2AngularBase.ArrayBase));
129
- StackedColumnsDirective.decorators = [
130
- { type: core.Directive, args: [{
131
- selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns',
132
- queries: {
133
- children: new core.ContentChildren(StackedColumnDirective)
134
- },
135
- },] },
136
- ];
137
- /**
138
- * @nocollapse
139
- */
140
- StackedColumnsDirective.ctorParameters = function () { return []; };
141
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
142
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
143
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
144
- r = Reflect.decorate(decorators, target, key, desc);
145
- else
146
- for (var i = decorators.length - 1; i >= 0; i--)
147
- if (d = decorators[i])
148
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
149
- return c > 3 && r && Object.defineProperty(target, key, r), r;
150
- };
151
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
152
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
153
- return Reflect.metadata(k, v);
154
- };
155
- var input$1 = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'columns', 'commands', 'customAttributes', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showCheckbox', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
156
- var outputs$1 = [];
157
- /**
158
- * `e-column` directive represent a column of the Angular TreeGrid.
159
- * It must be contained in a TreeGrid component(`ejs-treegrid`).
160
- * ```html
161
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
162
- * <e-columns>
163
- * <e-column field='ID' width='100'></e-column>
164
- * <e-column field='name' headerText='Name' width='100'></e-column>
165
- * </e-columns>
166
- * </ejs-treegrid>
167
- * ```
168
- */
169
- var ColumnDirective = /** @class */ (function (_super) {
170
- __extends(ColumnDirective, _super);
171
- /**
172
- * @param {?} viewContainerRef
173
- */
174
- function ColumnDirective(viewContainerRef) {
175
- var _this = _super.call(this) || this;
176
- _this.viewContainerRef = viewContainerRef;
177
- _this.tags = ['columns'];
178
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
179
- _this.registerEvents(outputs$1);
180
- _this.directivePropList = input$1;
181
- return _this;
182
- }
183
- return ColumnDirective;
184
- }(ej2AngularBase.ComplexBase));
185
- ColumnDirective.decorators = [
186
- { type: core.Directive, args: [{
187
- selector: 'ejs-treegrid>e-columns>e-column',
188
- inputs: input$1,
189
- outputs: outputs$1,
190
- queries: {
191
- childColumns: new core.ContentChild(StackedColumnsDirective)
192
- }
193
- },] },
194
- ];
195
- /**
196
- * @nocollapse
197
- */
198
- ColumnDirective.ctorParameters = function () { return [
199
- { type: core.ViewContainerRef, },
200
- ]; };
201
- ColumnDirective.propDecorators = {
202
- 'template': [{ type: core.ContentChild, args: ['template',] },],
203
- 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
204
- 'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
205
- 'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
206
- 'commandsTemplate': [{ type: core.ContentChild, args: ['commandsTemplate',] },],
207
- 'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
208
- };
209
- __decorate$1([
210
- ej2AngularBase.Template(),
211
- __metadata$1("design:type", Object)
212
- ], ColumnDirective.prototype, "template", void 0);
213
- __decorate$1([
214
- ej2AngularBase.Template(),
215
- __metadata$1("design:type", Object)
216
- ], ColumnDirective.prototype, "headerTemplate", void 0);
217
- __decorate$1([
218
- ej2AngularBase.Template(),
219
- __metadata$1("design:type", Object)
220
- ], ColumnDirective.prototype, "filter_itemTemplate", void 0);
221
- __decorate$1([
222
- ej2AngularBase.Template(),
223
- __metadata$1("design:type", Object)
224
- ], ColumnDirective.prototype, "filterTemplate", void 0);
225
- __decorate$1([
226
- ej2AngularBase.Template(),
227
- __metadata$1("design:type", Object)
228
- ], ColumnDirective.prototype, "commandsTemplate", void 0);
229
- __decorate$1([
230
- ej2AngularBase.Template(),
231
- __metadata$1("design:type", Object)
232
- ], ColumnDirective.prototype, "editTemplate", void 0);
233
- /**
234
- * Column Array Directive
235
- */
236
- var ColumnsDirective = /** @class */ (function (_super) {
237
- __extends(ColumnsDirective, _super);
238
- function ColumnsDirective() {
239
- return _super.call(this, 'columns') || this;
240
- }
241
- return ColumnsDirective;
242
- }(ej2AngularBase.ArrayBase));
243
- ColumnsDirective.decorators = [
244
- { type: core.Directive, args: [{
245
- selector: 'ejs-treegrid>e-columns',
246
- queries: {
247
- children: new core.ContentChildren(ColumnDirective)
248
- },
249
- },] },
250
- ];
251
- /**
252
- * @nocollapse
253
- */
254
- ColumnsDirective.ctorParameters = function () { return []; };
255
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
256
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
257
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
258
- r = Reflect.decorate(decorators, target, key, desc);
259
- else
260
- for (var i = decorators.length - 1; i >= 0; i--)
261
- if (d = decorators[i])
262
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
263
- return c > 3 && r && Object.defineProperty(target, key, r), r;
264
- };
265
- var __metadata$2 = (this && this.__metadata) || function (k, v) {
266
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
267
- return Reflect.metadata(k, v);
268
- };
269
- var input$2 = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'type'];
270
- var outputs$2 = [];
271
- /**
272
- * `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
273
- * ```html
274
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
275
- * <e-columns>
276
- * <e-column field='ID' width='100'></e-column>
277
- * <e-column field='name' headerText='Name' width='100'></e-column>
278
- * </e-columns>
279
- * <e-aggregates>
280
- * <e-aggregate>
281
- * <e-columns>
282
- * <e-column field='ID' type='Min'></e-column>
283
- * </e-columns>
284
- * </e-aggregate>
285
- * </e-aggregates>
286
- * </ejs-treegrid>
287
- * ```
288
- */
289
- var AggregateColumnDirective = /** @class */ (function (_super) {
290
- __extends(AggregateColumnDirective, _super);
291
- /**
292
- * @param {?} viewContainerRef
293
- */
294
- function AggregateColumnDirective(viewContainerRef) {
295
- var _this = _super.call(this) || this;
296
- _this.viewContainerRef = viewContainerRef;
297
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
298
- _this.registerEvents(outputs$2);
299
- _this.directivePropList = input$2;
300
- return _this;
301
- }
302
- return AggregateColumnDirective;
303
- }(ej2AngularBase.ComplexBase));
304
- AggregateColumnDirective.decorators = [
305
- { type: core.Directive, args: [{
306
- selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column',
307
- inputs: input$2,
308
- outputs: outputs$2,
309
- queries: {}
310
- },] },
311
- ];
312
- /**
313
- * @nocollapse
314
- */
315
- AggregateColumnDirective.ctorParameters = function () { return [
316
- { type: core.ViewContainerRef, },
317
- ]; };
318
- AggregateColumnDirective.propDecorators = {
319
- 'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
320
- };
321
- __decorate$2([
322
- ej2AngularBase.Template(),
323
- __metadata$2("design:type", Object)
324
- ], AggregateColumnDirective.prototype, "footerTemplate", void 0);
325
- /**
326
- * AggregateColumn Array Directive
327
- */
328
- var AggregateColumnsDirective = /** @class */ (function (_super) {
329
- __extends(AggregateColumnsDirective, _super);
330
- function AggregateColumnsDirective() {
331
- return _super.call(this, 'columns') || this;
332
- }
333
- return AggregateColumnsDirective;
334
- }(ej2AngularBase.ArrayBase));
335
- AggregateColumnsDirective.decorators = [
336
- { type: core.Directive, args: [{
337
- selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns',
338
- queries: {
339
- children: new core.ContentChildren(AggregateColumnDirective)
340
- },
341
- },] },
342
- ];
343
- /**
344
- * @nocollapse
345
- */
346
- AggregateColumnsDirective.ctorParameters = function () { return []; };
347
- var input$3 = ['columns', 'showChildSummary'];
348
- var outputs$3 = [];
349
- /**
350
- * `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
351
- * It must be contained in a TreeGrid component(`ejs-treegrid`).
352
- * ```html
353
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
354
- * <e-columns>
355
- * <e-column field='ID' width='100'></e-column>
356
- * <e-column field='name' headerText='Name' width='100'></e-column>
357
- * </e-columns>
358
- * <e-aggregates>
359
- * <e-aggregate>
360
- * <e-columns>
361
- * <e-column field='ID' type='Min'></e-column>
362
- * </e-columns>
363
- * </e-aggregate>
364
- * </e-aggregates>
365
- * </ejs-treegrid>
366
- * ```
367
- */
368
- var AggregateDirective = /** @class */ (function (_super) {
369
- __extends(AggregateDirective, _super);
370
- /**
371
- * @param {?} viewContainerRef
372
- */
373
- function AggregateDirective(viewContainerRef) {
374
- var _this = _super.call(this) || this;
375
- _this.viewContainerRef = viewContainerRef;
376
- _this.tags = ['columns'];
377
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
378
- _this.registerEvents(outputs$3);
379
- _this.directivePropList = input$3;
380
- return _this;
381
- }
382
- return AggregateDirective;
383
- }(ej2AngularBase.ComplexBase));
384
- AggregateDirective.decorators = [
385
- { type: core.Directive, args: [{
386
- selector: 'ejs-treegrid>e-aggregates>e-aggregate',
387
- inputs: input$3,
388
- outputs: outputs$3,
389
- queries: {
390
- childColumns: new core.ContentChild(AggregateColumnsDirective)
391
- }
392
- },] },
393
- ];
394
- /**
395
- * @nocollapse
396
- */
397
- AggregateDirective.ctorParameters = function () { return [
398
- { type: core.ViewContainerRef, },
399
- ]; };
400
- /**
401
- * Aggregate Array Directive
402
- */
403
- var AggregatesDirective = /** @class */ (function (_super) {
404
- __extends(AggregatesDirective, _super);
405
- function AggregatesDirective() {
406
- return _super.call(this, 'aggregates') || this;
407
- }
408
- return AggregatesDirective;
409
- }(ej2AngularBase.ArrayBase));
410
- AggregatesDirective.decorators = [
411
- { type: core.Directive, args: [{
412
- selector: 'ejs-treegrid>e-aggregates',
413
- queries: {
414
- children: new core.ContentChildren(AggregateDirective)
415
- },
416
- },] },
417
- ];
418
- /**
419
- * @nocollapse
420
- */
421
- AggregatesDirective.ctorParameters = function () { return []; };
422
- var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
423
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
424
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
425
- r = Reflect.decorate(decorators, target, key, desc);
426
- else
427
- for (var i = decorators.length - 1; i >= 0; i--)
428
- if (d = decorators[i])
429
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
430
- return c > 3 && r && Object.defineProperty(target, key, r), r;
431
- };
432
- var __metadata$3 = (this && this.__metadata) || function (k, v) {
433
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
434
- return Reflect.metadata(k, v);
435
- };
436
- var inputs = ['aggregates', 'allowExcelExport', 'allowFiltering', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'autoCheckHierarchy', 'childMapping', 'clipMode', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'copyHierarchyMode', 'currencyCode', 'dataSource', 'detailTemplate', 'editSettings', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableCollapseAll', 'enableColumnVirtualization', 'enableHover', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableInfiniteScrolling', 'enablePersistence', 'enableRtl', 'enableStickyHeader', 'enableVirtualMaskRow', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'frozenColumns', 'frozenRows', 'gridLines', 'hasChildMapping', 'height', 'idMapping', 'infiniteScrollSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'pageSettings', 'parentIdMapping', 'printMode', 'query', 'rowDropSettings', 'rowHeight', 'rowTemplate', 'searchSettings', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnMenu', 'sortSettings', 'textWrapSettings', 'toolbar', 'treeColumnIndex', 'width'];
437
- var outputs$4 = ['actionBegin', 'actionComplete', 'actionFailure', 'batchAdd', 'batchCancel', 'batchDelete', 'beforeBatchAdd', 'beforeBatchDelete', 'beforeBatchSave', 'beforeCopy', 'beforeDataBound', 'beforeExcelExport', 'beforePaste', 'beforePdfExport', 'beforePrint', 'beginEdit', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSave', 'cellSaved', 'cellSelected', 'cellSelecting', 'checkboxChange', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'detailDataBound', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'pdfExportComplete', 'pdfHeaderQueryCellInfo', 'pdfQueryCellInfo', 'printComplete', 'queryCellInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'toolbarClick', 'dataSourceChange'];
438
- var twoWays = ['dataSource'];
439
- /**
440
- * `ejs-treegrid` represents the Angular TreeTreeGrid Component.
441
- * ```html
442
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'></ejs-treegrid>
443
- * ```
444
- */
445
- exports.TreeGridComponent = /** @class */ (function (_super) {
446
- __extends(TreeGridComponent, _super);
447
- /**
448
- * @param {?} ngEle
449
- * @param {?} srenderer
450
- * @param {?} viewContainerRef
451
- * @param {?} injector
452
- */
453
- function TreeGridComponent(ngEle, srenderer, viewContainerRef, injector) {
454
- var _this = _super.call(this) || this;
455
- _this.ngEle = ngEle;
456
- _this.srenderer = srenderer;
457
- _this.viewContainerRef = viewContainerRef;
458
- _this.injector = injector;
459
- _this.tags = ['columns', 'aggregates'];
460
- _this.element = _this.ngEle.nativeElement;
461
- _this.injectedModules = _this.injectedModules || [];
462
- try {
463
- var mod = _this.injector.get('TreeGridFilter');
464
- if (_this.injectedModules.indexOf(mod) === -1) {
465
- _this.injectedModules.push(mod);
466
- }
467
- }
468
- catch (_a) { }
469
- try {
470
- var mod = _this.injector.get('TreeGridPage');
471
- if (_this.injectedModules.indexOf(mod) === -1) {
472
- _this.injectedModules.push(mod);
473
- }
474
- }
475
- catch (_b) { }
476
- try {
477
- var mod = _this.injector.get('TreeGridSort');
478
- if (_this.injectedModules.indexOf(mod) === -1) {
479
- _this.injectedModules.push(mod);
480
- }
481
- }
482
- catch (_c) { }
483
- try {
484
- var mod = _this.injector.get('TreeGridReorder');
485
- if (_this.injectedModules.indexOf(mod) === -1) {
486
- _this.injectedModules.push(mod);
487
- }
488
- }
489
- catch (_d) { }
490
- try {
491
- var mod = _this.injector.get('TreeGridToolbar');
492
- if (_this.injectedModules.indexOf(mod) === -1) {
493
- _this.injectedModules.push(mod);
494
- }
495
- }
496
- catch (_e) { }
497
- try {
498
- var mod = _this.injector.get('TreeGridAggregate');
499
- if (_this.injectedModules.indexOf(mod) === -1) {
500
- _this.injectedModules.push(mod);
501
- }
502
- }
503
- catch (_f) { }
504
- try {
505
- var mod = _this.injector.get('TreeGridResize');
506
- if (_this.injectedModules.indexOf(mod) === -1) {
507
- _this.injectedModules.push(mod);
508
- }
509
- }
510
- catch (_g) { }
511
- try {
512
- var mod = _this.injector.get('TreeGridColumnMenu');
513
- if (_this.injectedModules.indexOf(mod) === -1) {
514
- _this.injectedModules.push(mod);
515
- }
516
- }
517
- catch (_h) { }
518
- try {
519
- var mod = _this.injector.get('TreeGridExcelExport');
520
- if (_this.injectedModules.indexOf(mod) === -1) {
521
- _this.injectedModules.push(mod);
522
- }
523
- }
524
- catch (_j) { }
525
- try {
526
- var mod = _this.injector.get('TreeGridPdfExport');
527
- if (_this.injectedModules.indexOf(mod) === -1) {
528
- _this.injectedModules.push(mod);
529
- }
530
- }
531
- catch (_k) { }
532
- try {
533
- var mod = _this.injector.get('TreeGridCommandColumn');
534
- if (_this.injectedModules.indexOf(mod) === -1) {
535
- _this.injectedModules.push(mod);
536
- }
537
- }
538
- catch (_l) { }
539
- try {
540
- var mod = _this.injector.get('TreeGridContextMenu');
541
- if (_this.injectedModules.indexOf(mod) === -1) {
542
- _this.injectedModules.push(mod);
543
- }
544
- }
545
- catch (_m) { }
546
- try {
547
- var mod = _this.injector.get('TreeGridEdit');
548
- if (_this.injectedModules.indexOf(mod) === -1) {
549
- _this.injectedModules.push(mod);
550
- }
551
- }
552
- catch (_o) { }
553
- try {
554
- var mod = _this.injector.get('TreeGridSelection');
555
- if (_this.injectedModules.indexOf(mod) === -1) {
556
- _this.injectedModules.push(mod);
557
- }
558
- }
559
- catch (_p) { }
560
- try {
561
- var mod = _this.injector.get('TreeGridVirtualScroll');
562
- if (_this.injectedModules.indexOf(mod) === -1) {
563
- _this.injectedModules.push(mod);
564
- }
565
- }
566
- catch (_q) { }
567
- try {
568
- var mod = _this.injector.get('TreeGridDetailRow');
569
- if (_this.injectedModules.indexOf(mod) === -1) {
570
- _this.injectedModules.push(mod);
571
- }
572
- }
573
- catch (_r) { }
574
- try {
575
- var mod = _this.injector.get('TreeGridRowDD');
576
- if (_this.injectedModules.indexOf(mod) === -1) {
577
- _this.injectedModules.push(mod);
578
- }
579
- }
580
- catch (_s) { }
581
- try {
582
- var mod = _this.injector.get('TreeGridFreeze');
583
- if (_this.injectedModules.indexOf(mod) === -1) {
584
- _this.injectedModules.push(mod);
585
- }
586
- }
587
- catch (_t) { }
588
- try {
589
- var mod = _this.injector.get('TreeGridColumnChooser');
590
- if (_this.injectedModules.indexOf(mod) === -1) {
591
- _this.injectedModules.push(mod);
592
- }
593
- }
594
- catch (_u) { }
595
- try {
596
- var mod = _this.injector.get('TreeGridLogger');
597
- if (_this.injectedModules.indexOf(mod) === -1) {
598
- _this.injectedModules.push(mod);
599
- }
600
- }
601
- catch (_v) { }
602
- try {
603
- var mod = _this.injector.get('TreeGridInfiniteScroll');
604
- if (_this.injectedModules.indexOf(mod) === -1) {
605
- _this.injectedModules.push(mod);
606
- }
607
- }
608
- catch (_w) { }
609
- _this.registerEvents(outputs$4);
610
- _this.addTwoWay.call(_this, twoWays);
611
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
612
- _this.context = new ej2AngularBase.ComponentBase();
613
- return _this;
614
- }
615
- /**
616
- * @return {?}
617
- */
618
- TreeGridComponent.prototype.ngOnInit = function () {
619
- this.context.ngOnInit(this);
620
- };
621
- /**
622
- * @return {?}
623
- */
624
- TreeGridComponent.prototype.ngAfterViewInit = function () {
625
- this.context.ngAfterViewInit(this);
626
- };
627
- /**
628
- * @return {?}
629
- */
630
- TreeGridComponent.prototype.ngOnDestroy = function () {
631
- this.context.ngOnDestroy(this);
632
- };
633
- /**
634
- * @return {?}
635
- */
636
- TreeGridComponent.prototype.ngAfterContentChecked = function () {
637
- this.tagObjects[0].instance = this.childColumns;
638
- if (this.childAggregates) {
639
- this.tagObjects[1].instance = /** @type {?} */ (this.childAggregates);
640
- }
641
- this.context.ngAfterContentChecked(this);
642
- };
643
- return TreeGridComponent;
644
- }(ej2Treegrid.TreeGrid));
645
- exports.TreeGridComponent.decorators = [
646
- { type: core.Component, args: [{
647
- selector: 'ejs-treegrid',
648
- inputs: inputs,
649
- outputs: outputs$4,
650
- template: '',
651
- changeDetection: core.ChangeDetectionStrategy.OnPush,
652
- queries: {
653
- childColumns: new core.ContentChild(ColumnsDirective),
654
- childAggregates: new core.ContentChild(AggregatesDirective)
655
- }
656
- },] },
657
- ];
658
- /**
659
- * @nocollapse
660
- */
661
- exports.TreeGridComponent.ctorParameters = function () { return [
662
- { type: core.ElementRef, },
663
- { type: core.Renderer2, },
664
- { type: core.ViewContainerRef, },
665
- { type: core.Injector, },
666
- ]; };
667
- exports.TreeGridComponent.propDecorators = {
668
- 'toolbarTemplate': [{ type: core.ContentChild, args: ['toolbarTemplate',] },],
669
- 'pagerTemplate': [{ type: core.ContentChild, args: ['pagerTemplate',] },],
670
- 'rowTemplate': [{ type: core.ContentChild, args: ['rowTemplate',] },],
671
- 'detailTemplate': [{ type: core.ContentChild, args: ['detailTemplate',] },],
672
- 'editSettings_template': [{ type: core.ContentChild, args: ['editSettingsTemplate',] },],
673
- };
674
- __decorate$3([
675
- ej2AngularBase.Template(),
676
- __metadata$3("design:type", Object)
677
- ], exports.TreeGridComponent.prototype, "toolbarTemplate", void 0);
678
- __decorate$3([
679
- ej2AngularBase.Template(),
680
- __metadata$3("design:type", Object)
681
- ], exports.TreeGridComponent.prototype, "pagerTemplate", void 0);
682
- __decorate$3([
683
- ej2AngularBase.Template(),
684
- __metadata$3("design:type", Object)
685
- ], exports.TreeGridComponent.prototype, "rowTemplate", void 0);
686
- __decorate$3([
687
- ej2AngularBase.Template(),
688
- __metadata$3("design:type", Object)
689
- ], exports.TreeGridComponent.prototype, "detailTemplate", void 0);
690
- __decorate$3([
691
- ej2AngularBase.Template(),
692
- __metadata$3("design:type", Object)
693
- ], exports.TreeGridComponent.prototype, "editSettings_template", void 0);
694
- exports.TreeGridComponent = __decorate$3([
695
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
696
- __metadata$3("design:paramtypes", [core.ElementRef,
697
- core.Renderer2,
698
- core.ViewContainerRef,
699
- core.Injector])
700
- ], exports.TreeGridComponent);
701
- /**
702
- * NgModule definition for the TreeGrid component.
703
- */
704
- var TreeGridModule = /** @class */ (function () {
705
- function TreeGridModule() {
706
- }
707
- return TreeGridModule;
708
- }());
709
- TreeGridModule.decorators = [
710
- { type: core.NgModule, args: [{
711
- imports: [common.CommonModule],
712
- declarations: [
713
- exports.TreeGridComponent,
714
- StackedColumnDirective,
715
- StackedColumnsDirective,
716
- ColumnDirective,
717
- ColumnsDirective,
718
- AggregateColumnDirective,
719
- AggregateColumnsDirective,
720
- AggregateDirective,
721
- AggregatesDirective
722
- ],
723
- exports: [
724
- exports.TreeGridComponent,
725
- StackedColumnDirective,
726
- StackedColumnsDirective,
727
- ColumnDirective,
728
- ColumnsDirective,
729
- AggregateColumnDirective,
730
- AggregateColumnsDirective,
731
- AggregateDirective,
732
- AggregatesDirective
733
- ]
734
- },] },
735
- ];
736
- /**
737
- * @nocollapse
738
- */
739
- TreeGridModule.ctorParameters = function () { return []; };
740
- var FilterService = { provide: 'TreeGridFilter', useValue: ej2Treegrid.Filter };
741
- var PageService = { provide: 'TreeGridPage', useValue: ej2Treegrid.Page };
742
- var SortService = { provide: 'TreeGridSort', useValue: ej2Treegrid.Sort };
743
- var ReorderService = { provide: 'TreeGridReorder', useValue: ej2Treegrid.Reorder };
744
- var ToolbarService = { provide: 'TreeGridToolbar', useValue: ej2Treegrid.Toolbar };
745
- var AggregateService = { provide: 'TreeGridAggregate', useValue: ej2Treegrid.Aggregate };
746
- var ResizeService = { provide: 'TreeGridResize', useValue: ej2Treegrid.Resize };
747
- var ColumnMenuService = { provide: 'TreeGridColumnMenu', useValue: ej2Treegrid.ColumnMenu };
748
- var ExcelExportService = { provide: 'TreeGridExcelExport', useValue: ej2Treegrid.ExcelExport };
749
- var PdfExportService = { provide: 'TreeGridPdfExport', useValue: ej2Treegrid.PdfExport };
750
- var CommandColumnService = { provide: 'TreeGridCommandColumn', useValue: ej2Treegrid.CommandColumn };
751
- var ContextMenuService = { provide: 'TreeGridContextMenu', useValue: ej2Treegrid.ContextMenu };
752
- var EditService = { provide: 'TreeGridEdit', useValue: ej2Treegrid.Edit };
753
- var SelectionService = { provide: 'TreeGridSelection', useValue: ej2Treegrid.Selection };
754
- var VirtualScrollService = { provide: 'TreeGridVirtualScroll', useValue: ej2Treegrid.VirtualScroll };
755
- var DetailRowService = { provide: 'TreeGridDetailRow', useValue: ej2Treegrid.DetailRow };
756
- var RowDDService = { provide: 'TreeGridRowDD', useValue: ej2Treegrid.RowDD };
757
- var FreezeService = { provide: 'TreeGridFreeze', useValue: ej2Treegrid.Freeze };
758
- var ColumnChooserService = { provide: 'TreeGridColumnChooser', useValue: ej2Treegrid.ColumnChooser };
759
- var LoggerService = { provide: 'TreeGridLogger', useValue: ej2Treegrid.Logger };
760
- var InfiniteScrollService = { provide: 'TreeGridInfiniteScroll', useValue: ej2Treegrid.InfiniteScroll };
761
- /**
762
- * NgModule definition for the TreeGrid component with providers.
763
- */
764
- var TreeGridAllModule = /** @class */ (function () {
765
- function TreeGridAllModule() {
766
- }
767
- return TreeGridAllModule;
768
- }());
769
- TreeGridAllModule.decorators = [
770
- { type: core.NgModule, args: [{
771
- imports: [common.CommonModule, TreeGridModule],
772
- exports: [
773
- TreeGridModule
774
- ],
775
- providers: [
776
- FilterService,
777
- PageService,
778
- SortService,
779
- ReorderService,
780
- ToolbarService,
781
- AggregateService,
782
- ResizeService,
783
- ColumnMenuService,
784
- ExcelExportService,
785
- PdfExportService,
786
- CommandColumnService,
787
- ContextMenuService,
788
- EditService,
789
- SelectionService,
790
- VirtualScrollService,
791
- DetailRowService,
792
- RowDDService,
793
- FreezeService,
794
- ColumnChooserService,
795
- LoggerService,
796
- InfiniteScrollService
797
- ]
798
- },] },
799
- ];
800
- /**
801
- * @nocollapse
802
- */
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
+ r = Reflect.decorate(decorators, target, key, desc);
30
+ else
31
+ for (var i = decorators.length - 1; i >= 0; i--)
32
+ if (d = decorators[i])
33
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
36
+ var __metadata = (this && this.__metadata) || function (k, v) {
37
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
+ return Reflect.metadata(k, v);
39
+ };
40
+ var input = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'columns', 'commands', 'customAttributes', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showCheckbox', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
41
+ var outputs = [];
42
+ /**
43
+ * `e-stacked-column` directive represent the stacked column of the Angular TreeGrid.
44
+ * It must be contained in a StackedColumns component(`e-stacked-columns`).
45
+ * ```html
46
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
47
+ * <e-columns>
48
+ * <e-column field='ID' width='100'></e-column>
49
+ * <e-column headerText='Details' width='100'>
50
+ * <e-stacked-columns>
51
+ * <e-stacked-column field='Name' width='140'></e-stacked-column>
52
+ * </e-stacked-columns>
53
+ * </e-column>
54
+ * </e-columns>
55
+ * </ejs-treegrid>
56
+ * ```
57
+ */
58
+ var StackedColumnDirective = /** @class */ (function (_super) {
59
+ __extends(StackedColumnDirective, _super);
60
+ /**
61
+ * @param {?} viewContainerRef
62
+ */
63
+ function StackedColumnDirective(viewContainerRef) {
64
+ var _this = _super.call(this) || this;
65
+ _this.viewContainerRef = viewContainerRef;
66
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
67
+ _this.registerEvents(outputs);
68
+ _this.directivePropList = input;
69
+ return _this;
70
+ }
71
+ return StackedColumnDirective;
72
+ }(ej2AngularBase.ComplexBase));
73
+ StackedColumnDirective.decorators = [
74
+ { type: core.Directive, args: [{
75
+ selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns>e-stacked-column',
76
+ inputs: input,
77
+ outputs: outputs,
78
+ queries: {}
79
+ },] },
80
+ ];
81
+ /**
82
+ * @nocollapse
83
+ */
84
+ StackedColumnDirective.ctorParameters = function () { return [
85
+ { type: core.ViewContainerRef, },
86
+ ]; };
87
+ StackedColumnDirective.propDecorators = {
88
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
89
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
90
+ 'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
91
+ 'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
92
+ 'commandsTemplate': [{ type: core.ContentChild, args: ['commandsTemplate',] },],
93
+ 'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
94
+ };
95
+ __decorate([
96
+ ej2AngularBase.Template(),
97
+ __metadata("design:type", Object)
98
+ ], StackedColumnDirective.prototype, "template", void 0);
99
+ __decorate([
100
+ ej2AngularBase.Template(),
101
+ __metadata("design:type", Object)
102
+ ], StackedColumnDirective.prototype, "headerTemplate", void 0);
103
+ __decorate([
104
+ ej2AngularBase.Template(),
105
+ __metadata("design:type", Object)
106
+ ], StackedColumnDirective.prototype, "filter_itemTemplate", void 0);
107
+ __decorate([
108
+ ej2AngularBase.Template(),
109
+ __metadata("design:type", Object)
110
+ ], StackedColumnDirective.prototype, "filterTemplate", void 0);
111
+ __decorate([
112
+ ej2AngularBase.Template(),
113
+ __metadata("design:type", Object)
114
+ ], StackedColumnDirective.prototype, "commandsTemplate", void 0);
115
+ __decorate([
116
+ ej2AngularBase.Template(),
117
+ __metadata("design:type", Object)
118
+ ], StackedColumnDirective.prototype, "editTemplate", void 0);
119
+ /**
120
+ * StackedColumn Array Directive
121
+ */
122
+ var StackedColumnsDirective = /** @class */ (function (_super) {
123
+ __extends(StackedColumnsDirective, _super);
124
+ function StackedColumnsDirective() {
125
+ return _super.call(this, 'columns') || this;
126
+ }
127
+ return StackedColumnsDirective;
128
+ }(ej2AngularBase.ArrayBase));
129
+ StackedColumnsDirective.decorators = [
130
+ { type: core.Directive, args: [{
131
+ selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns',
132
+ queries: {
133
+ children: new core.ContentChildren(StackedColumnDirective)
134
+ },
135
+ },] },
136
+ ];
137
+ /**
138
+ * @nocollapse
139
+ */
140
+ StackedColumnsDirective.ctorParameters = function () { return []; };
141
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
142
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
143
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
144
+ r = Reflect.decorate(decorators, target, key, desc);
145
+ else
146
+ for (var i = decorators.length - 1; i >= 0; i--)
147
+ if (d = decorators[i])
148
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
149
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
150
+ };
151
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
152
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
153
+ return Reflect.metadata(k, v);
154
+ };
155
+ var input$1 = ['allowEditing', 'allowFiltering', 'allowReordering', 'allowResizing', 'allowSorting', 'clipMode', 'columns', 'commands', 'customAttributes', 'defaultValue', 'disableHtmlEncode', 'displayAsCheckBox', 'edit', 'editTemplate', 'editType', 'field', 'filter', 'filterBarTemplate', 'filterTemplate', 'format', 'formatter', 'freeze', 'headerTemplate', 'headerText', 'headerTextAlign', 'hideAtMedia', 'isFrozen', 'isIdentity', 'isPrimaryKey', 'lockColumn', 'maxWidth', 'minWidth', 'showCheckbox', 'showColumnMenu', 'showInColumnChooser', 'sortComparer', 'template', 'textAlign', 'type', 'uid', 'validationRules', 'valueAccessor', 'visible', 'width'];
156
+ var outputs$1 = [];
157
+ /**
158
+ * `e-column` directive represent a column of the Angular TreeGrid.
159
+ * It must be contained in a TreeGrid component(`ejs-treegrid`).
160
+ * ```html
161
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
162
+ * <e-columns>
163
+ * <e-column field='ID' width='100'></e-column>
164
+ * <e-column field='name' headerText='Name' width='100'></e-column>
165
+ * </e-columns>
166
+ * </ejs-treegrid>
167
+ * ```
168
+ */
169
+ var ColumnDirective = /** @class */ (function (_super) {
170
+ __extends(ColumnDirective, _super);
171
+ /**
172
+ * @param {?} viewContainerRef
173
+ */
174
+ function ColumnDirective(viewContainerRef) {
175
+ var _this = _super.call(this) || this;
176
+ _this.viewContainerRef = viewContainerRef;
177
+ _this.tags = ['columns'];
178
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
179
+ _this.registerEvents(outputs$1);
180
+ _this.directivePropList = input$1;
181
+ return _this;
182
+ }
183
+ return ColumnDirective;
184
+ }(ej2AngularBase.ComplexBase));
185
+ ColumnDirective.decorators = [
186
+ { type: core.Directive, args: [{
187
+ selector: 'ejs-treegrid>e-columns>e-column',
188
+ inputs: input$1,
189
+ outputs: outputs$1,
190
+ queries: {
191
+ childColumns: new core.ContentChild(StackedColumnsDirective)
192
+ }
193
+ },] },
194
+ ];
195
+ /**
196
+ * @nocollapse
197
+ */
198
+ ColumnDirective.ctorParameters = function () { return [
199
+ { type: core.ViewContainerRef, },
200
+ ]; };
201
+ ColumnDirective.propDecorators = {
202
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
203
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
204
+ 'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
205
+ 'filterTemplate': [{ type: core.ContentChild, args: ['filterTemplate',] },],
206
+ 'commandsTemplate': [{ type: core.ContentChild, args: ['commandsTemplate',] },],
207
+ 'editTemplate': [{ type: core.ContentChild, args: ['editTemplate',] },],
208
+ };
209
+ __decorate$1([
210
+ ej2AngularBase.Template(),
211
+ __metadata$1("design:type", Object)
212
+ ], ColumnDirective.prototype, "template", void 0);
213
+ __decorate$1([
214
+ ej2AngularBase.Template(),
215
+ __metadata$1("design:type", Object)
216
+ ], ColumnDirective.prototype, "headerTemplate", void 0);
217
+ __decorate$1([
218
+ ej2AngularBase.Template(),
219
+ __metadata$1("design:type", Object)
220
+ ], ColumnDirective.prototype, "filter_itemTemplate", void 0);
221
+ __decorate$1([
222
+ ej2AngularBase.Template(),
223
+ __metadata$1("design:type", Object)
224
+ ], ColumnDirective.prototype, "filterTemplate", void 0);
225
+ __decorate$1([
226
+ ej2AngularBase.Template(),
227
+ __metadata$1("design:type", Object)
228
+ ], ColumnDirective.prototype, "commandsTemplate", void 0);
229
+ __decorate$1([
230
+ ej2AngularBase.Template(),
231
+ __metadata$1("design:type", Object)
232
+ ], ColumnDirective.prototype, "editTemplate", void 0);
233
+ /**
234
+ * Column Array Directive
235
+ */
236
+ var ColumnsDirective = /** @class */ (function (_super) {
237
+ __extends(ColumnsDirective, _super);
238
+ function ColumnsDirective() {
239
+ return _super.call(this, 'columns') || this;
240
+ }
241
+ return ColumnsDirective;
242
+ }(ej2AngularBase.ArrayBase));
243
+ ColumnsDirective.decorators = [
244
+ { type: core.Directive, args: [{
245
+ selector: 'ejs-treegrid>e-columns',
246
+ queries: {
247
+ children: new core.ContentChildren(ColumnDirective)
248
+ },
249
+ },] },
250
+ ];
251
+ /**
252
+ * @nocollapse
253
+ */
254
+ ColumnsDirective.ctorParameters = function () { return []; };
255
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
256
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
257
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
258
+ r = Reflect.decorate(decorators, target, key, desc);
259
+ else
260
+ for (var i = decorators.length - 1; i >= 0; i--)
261
+ if (d = decorators[i])
262
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
263
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
264
+ };
265
+ var __metadata$2 = (this && this.__metadata) || function (k, v) {
266
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
267
+ return Reflect.metadata(k, v);
268
+ };
269
+ var input$2 = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'type'];
270
+ var outputs$2 = [];
271
+ /**
272
+ * `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
273
+ * ```html
274
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
275
+ * <e-columns>
276
+ * <e-column field='ID' width='100'></e-column>
277
+ * <e-column field='name' headerText='Name' width='100'></e-column>
278
+ * </e-columns>
279
+ * <e-aggregates>
280
+ * <e-aggregate>
281
+ * <e-columns>
282
+ * <e-column field='ID' type='Min'></e-column>
283
+ * </e-columns>
284
+ * </e-aggregate>
285
+ * </e-aggregates>
286
+ * </ejs-treegrid>
287
+ * ```
288
+ */
289
+ var AggregateColumnDirective = /** @class */ (function (_super) {
290
+ __extends(AggregateColumnDirective, _super);
291
+ /**
292
+ * @param {?} viewContainerRef
293
+ */
294
+ function AggregateColumnDirective(viewContainerRef) {
295
+ var _this = _super.call(this) || this;
296
+ _this.viewContainerRef = viewContainerRef;
297
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
298
+ _this.registerEvents(outputs$2);
299
+ _this.directivePropList = input$2;
300
+ return _this;
301
+ }
302
+ return AggregateColumnDirective;
303
+ }(ej2AngularBase.ComplexBase));
304
+ AggregateColumnDirective.decorators = [
305
+ { type: core.Directive, args: [{
306
+ selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column',
307
+ inputs: input$2,
308
+ outputs: outputs$2,
309
+ queries: {}
310
+ },] },
311
+ ];
312
+ /**
313
+ * @nocollapse
314
+ */
315
+ AggregateColumnDirective.ctorParameters = function () { return [
316
+ { type: core.ViewContainerRef, },
317
+ ]; };
318
+ AggregateColumnDirective.propDecorators = {
319
+ 'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
320
+ };
321
+ __decorate$2([
322
+ ej2AngularBase.Template(),
323
+ __metadata$2("design:type", Object)
324
+ ], AggregateColumnDirective.prototype, "footerTemplate", void 0);
325
+ /**
326
+ * AggregateColumn Array Directive
327
+ */
328
+ var AggregateColumnsDirective = /** @class */ (function (_super) {
329
+ __extends(AggregateColumnsDirective, _super);
330
+ function AggregateColumnsDirective() {
331
+ return _super.call(this, 'columns') || this;
332
+ }
333
+ return AggregateColumnsDirective;
334
+ }(ej2AngularBase.ArrayBase));
335
+ AggregateColumnsDirective.decorators = [
336
+ { type: core.Directive, args: [{
337
+ selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns',
338
+ queries: {
339
+ children: new core.ContentChildren(AggregateColumnDirective)
340
+ },
341
+ },] },
342
+ ];
343
+ /**
344
+ * @nocollapse
345
+ */
346
+ AggregateColumnsDirective.ctorParameters = function () { return []; };
347
+ var input$3 = ['columns', 'showChildSummary'];
348
+ var outputs$3 = [];
349
+ /**
350
+ * `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
351
+ * It must be contained in a TreeGrid component(`ejs-treegrid`).
352
+ * ```html
353
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
354
+ * <e-columns>
355
+ * <e-column field='ID' width='100'></e-column>
356
+ * <e-column field='name' headerText='Name' width='100'></e-column>
357
+ * </e-columns>
358
+ * <e-aggregates>
359
+ * <e-aggregate>
360
+ * <e-columns>
361
+ * <e-column field='ID' type='Min'></e-column>
362
+ * </e-columns>
363
+ * </e-aggregate>
364
+ * </e-aggregates>
365
+ * </ejs-treegrid>
366
+ * ```
367
+ */
368
+ var AggregateDirective = /** @class */ (function (_super) {
369
+ __extends(AggregateDirective, _super);
370
+ /**
371
+ * @param {?} viewContainerRef
372
+ */
373
+ function AggregateDirective(viewContainerRef) {
374
+ var _this = _super.call(this) || this;
375
+ _this.viewContainerRef = viewContainerRef;
376
+ _this.tags = ['columns'];
377
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
378
+ _this.registerEvents(outputs$3);
379
+ _this.directivePropList = input$3;
380
+ return _this;
381
+ }
382
+ return AggregateDirective;
383
+ }(ej2AngularBase.ComplexBase));
384
+ AggregateDirective.decorators = [
385
+ { type: core.Directive, args: [{
386
+ selector: 'ejs-treegrid>e-aggregates>e-aggregate',
387
+ inputs: input$3,
388
+ outputs: outputs$3,
389
+ queries: {
390
+ childColumns: new core.ContentChild(AggregateColumnsDirective)
391
+ }
392
+ },] },
393
+ ];
394
+ /**
395
+ * @nocollapse
396
+ */
397
+ AggregateDirective.ctorParameters = function () { return [
398
+ { type: core.ViewContainerRef, },
399
+ ]; };
400
+ /**
401
+ * Aggregate Array Directive
402
+ */
403
+ var AggregatesDirective = /** @class */ (function (_super) {
404
+ __extends(AggregatesDirective, _super);
405
+ function AggregatesDirective() {
406
+ return _super.call(this, 'aggregates') || this;
407
+ }
408
+ return AggregatesDirective;
409
+ }(ej2AngularBase.ArrayBase));
410
+ AggregatesDirective.decorators = [
411
+ { type: core.Directive, args: [{
412
+ selector: 'ejs-treegrid>e-aggregates',
413
+ queries: {
414
+ children: new core.ContentChildren(AggregateDirective)
415
+ },
416
+ },] },
417
+ ];
418
+ /**
419
+ * @nocollapse
420
+ */
421
+ AggregatesDirective.ctorParameters = function () { return []; };
422
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
423
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
424
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
425
+ r = Reflect.decorate(decorators, target, key, desc);
426
+ else
427
+ for (var i = decorators.length - 1; i >= 0; i--)
428
+ if (d = decorators[i])
429
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
430
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
431
+ };
432
+ var __metadata$3 = (this && this.__metadata) || function (k, v) {
433
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
434
+ return Reflect.metadata(k, v);
435
+ };
436
+ var inputs = ['aggregates', 'allowExcelExport', 'allowFiltering', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'autoCheckHierarchy', 'childMapping', 'clipMode', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'copyHierarchyMode', 'currencyCode', 'dataSource', 'detailTemplate', 'editSettings', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableCollapseAll', 'enableColumnVirtualization', 'enableHover', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableInfiniteScrolling', 'enablePersistence', 'enableRtl', 'enableStickyHeader', 'enableVirtualMaskRow', 'enableVirtualization', 'expandStateMapping', 'filterSettings', 'frozenColumns', 'frozenRows', 'gridLines', 'hasChildMapping', 'height', 'idMapping', 'infiniteScrollSettings', 'loadChildOnDemand', 'loadingIndicator', 'locale', 'pageSettings', 'parentIdMapping', 'printMode', 'query', 'rowDropSettings', 'rowHeight', 'rowTemplate', 'searchSettings', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnMenu', 'sortSettings', 'textWrapSettings', 'toolbar', 'treeColumnIndex', 'width'];
437
+ var outputs$4 = ['actionBegin', 'actionComplete', 'actionFailure', 'batchAdd', 'batchCancel', 'batchDelete', 'beforeBatchAdd', 'beforeBatchDelete', 'beforeBatchSave', 'beforeCopy', 'beforeDataBound', 'beforeExcelExport', 'beforePaste', 'beforePdfExport', 'beforePrint', 'beginEdit', 'cellDeselected', 'cellDeselecting', 'cellEdit', 'cellSave', 'cellSaved', 'cellSelected', 'cellSelecting', 'checkboxChange', 'collapsed', 'collapsing', 'columnDrag', 'columnDragStart', 'columnDrop', 'columnMenuClick', 'columnMenuOpen', 'contextMenuClick', 'contextMenuOpen', 'created', 'dataBound', 'dataSourceChanged', 'dataStateChange', 'detailDataBound', 'excelExportComplete', 'excelHeaderQueryCellInfo', 'excelQueryCellInfo', 'expanded', 'expanding', 'headerCellInfo', 'load', 'pdfExportComplete', 'pdfHeaderQueryCellInfo', 'pdfQueryCellInfo', 'printComplete', 'queryCellInfo', 'recordDoubleClick', 'resizeStart', 'resizeStop', 'resizing', 'rowDataBound', 'rowDeselected', 'rowDeselecting', 'rowDrag', 'rowDragStart', 'rowDragStartHelper', 'rowDrop', 'rowSelected', 'rowSelecting', 'toolbarClick', 'dataSourceChange'];
438
+ var twoWays = ['dataSource'];
439
+ /**
440
+ * `ejs-treegrid` represents the Angular TreeTreeGrid Component.
441
+ * ```html
442
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'></ejs-treegrid>
443
+ * ```
444
+ */
445
+ exports.TreeGridComponent = /** @class */ (function (_super) {
446
+ __extends(TreeGridComponent, _super);
447
+ /**
448
+ * @param {?} ngEle
449
+ * @param {?} srenderer
450
+ * @param {?} viewContainerRef
451
+ * @param {?} injector
452
+ */
453
+ function TreeGridComponent(ngEle, srenderer, viewContainerRef, injector) {
454
+ var _this = _super.call(this) || this;
455
+ _this.ngEle = ngEle;
456
+ _this.srenderer = srenderer;
457
+ _this.viewContainerRef = viewContainerRef;
458
+ _this.injector = injector;
459
+ _this.tags = ['columns', 'aggregates'];
460
+ _this.element = _this.ngEle.nativeElement;
461
+ _this.injectedModules = _this.injectedModules || [];
462
+ try {
463
+ var mod = _this.injector.get('TreeGridFilter');
464
+ if (_this.injectedModules.indexOf(mod) === -1) {
465
+ _this.injectedModules.push(mod);
466
+ }
467
+ }
468
+ catch (_a) { }
469
+ try {
470
+ var mod = _this.injector.get('TreeGridPage');
471
+ if (_this.injectedModules.indexOf(mod) === -1) {
472
+ _this.injectedModules.push(mod);
473
+ }
474
+ }
475
+ catch (_b) { }
476
+ try {
477
+ var mod = _this.injector.get('TreeGridSort');
478
+ if (_this.injectedModules.indexOf(mod) === -1) {
479
+ _this.injectedModules.push(mod);
480
+ }
481
+ }
482
+ catch (_c) { }
483
+ try {
484
+ var mod = _this.injector.get('TreeGridReorder');
485
+ if (_this.injectedModules.indexOf(mod) === -1) {
486
+ _this.injectedModules.push(mod);
487
+ }
488
+ }
489
+ catch (_d) { }
490
+ try {
491
+ var mod = _this.injector.get('TreeGridToolbar');
492
+ if (_this.injectedModules.indexOf(mod) === -1) {
493
+ _this.injectedModules.push(mod);
494
+ }
495
+ }
496
+ catch (_e) { }
497
+ try {
498
+ var mod = _this.injector.get('TreeGridAggregate');
499
+ if (_this.injectedModules.indexOf(mod) === -1) {
500
+ _this.injectedModules.push(mod);
501
+ }
502
+ }
503
+ catch (_f) { }
504
+ try {
505
+ var mod = _this.injector.get('TreeGridResize');
506
+ if (_this.injectedModules.indexOf(mod) === -1) {
507
+ _this.injectedModules.push(mod);
508
+ }
509
+ }
510
+ catch (_g) { }
511
+ try {
512
+ var mod = _this.injector.get('TreeGridColumnMenu');
513
+ if (_this.injectedModules.indexOf(mod) === -1) {
514
+ _this.injectedModules.push(mod);
515
+ }
516
+ }
517
+ catch (_h) { }
518
+ try {
519
+ var mod = _this.injector.get('TreeGridExcelExport');
520
+ if (_this.injectedModules.indexOf(mod) === -1) {
521
+ _this.injectedModules.push(mod);
522
+ }
523
+ }
524
+ catch (_j) { }
525
+ try {
526
+ var mod = _this.injector.get('TreeGridPdfExport');
527
+ if (_this.injectedModules.indexOf(mod) === -1) {
528
+ _this.injectedModules.push(mod);
529
+ }
530
+ }
531
+ catch (_k) { }
532
+ try {
533
+ var mod = _this.injector.get('TreeGridCommandColumn');
534
+ if (_this.injectedModules.indexOf(mod) === -1) {
535
+ _this.injectedModules.push(mod);
536
+ }
537
+ }
538
+ catch (_l) { }
539
+ try {
540
+ var mod = _this.injector.get('TreeGridContextMenu');
541
+ if (_this.injectedModules.indexOf(mod) === -1) {
542
+ _this.injectedModules.push(mod);
543
+ }
544
+ }
545
+ catch (_m) { }
546
+ try {
547
+ var mod = _this.injector.get('TreeGridEdit');
548
+ if (_this.injectedModules.indexOf(mod) === -1) {
549
+ _this.injectedModules.push(mod);
550
+ }
551
+ }
552
+ catch (_o) { }
553
+ try {
554
+ var mod = _this.injector.get('TreeGridSelection');
555
+ if (_this.injectedModules.indexOf(mod) === -1) {
556
+ _this.injectedModules.push(mod);
557
+ }
558
+ }
559
+ catch (_p) { }
560
+ try {
561
+ var mod = _this.injector.get('TreeGridVirtualScroll');
562
+ if (_this.injectedModules.indexOf(mod) === -1) {
563
+ _this.injectedModules.push(mod);
564
+ }
565
+ }
566
+ catch (_q) { }
567
+ try {
568
+ var mod = _this.injector.get('TreeGridDetailRow');
569
+ if (_this.injectedModules.indexOf(mod) === -1) {
570
+ _this.injectedModules.push(mod);
571
+ }
572
+ }
573
+ catch (_r) { }
574
+ try {
575
+ var mod = _this.injector.get('TreeGridRowDD');
576
+ if (_this.injectedModules.indexOf(mod) === -1) {
577
+ _this.injectedModules.push(mod);
578
+ }
579
+ }
580
+ catch (_s) { }
581
+ try {
582
+ var mod = _this.injector.get('TreeGridFreeze');
583
+ if (_this.injectedModules.indexOf(mod) === -1) {
584
+ _this.injectedModules.push(mod);
585
+ }
586
+ }
587
+ catch (_t) { }
588
+ try {
589
+ var mod = _this.injector.get('TreeGridColumnChooser');
590
+ if (_this.injectedModules.indexOf(mod) === -1) {
591
+ _this.injectedModules.push(mod);
592
+ }
593
+ }
594
+ catch (_u) { }
595
+ try {
596
+ var mod = _this.injector.get('TreeGridLogger');
597
+ if (_this.injectedModules.indexOf(mod) === -1) {
598
+ _this.injectedModules.push(mod);
599
+ }
600
+ }
601
+ catch (_v) { }
602
+ try {
603
+ var mod = _this.injector.get('TreeGridInfiniteScroll');
604
+ if (_this.injectedModules.indexOf(mod) === -1) {
605
+ _this.injectedModules.push(mod);
606
+ }
607
+ }
608
+ catch (_w) { }
609
+ _this.registerEvents(outputs$4);
610
+ _this.addTwoWay.call(_this, twoWays);
611
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
612
+ _this.context = new ej2AngularBase.ComponentBase();
613
+ return _this;
614
+ }
615
+ /**
616
+ * @return {?}
617
+ */
618
+ TreeGridComponent.prototype.ngOnInit = function () {
619
+ this.context.ngOnInit(this);
620
+ };
621
+ /**
622
+ * @return {?}
623
+ */
624
+ TreeGridComponent.prototype.ngAfterViewInit = function () {
625
+ this.context.ngAfterViewInit(this);
626
+ };
627
+ /**
628
+ * @return {?}
629
+ */
630
+ TreeGridComponent.prototype.ngOnDestroy = function () {
631
+ this.context.ngOnDestroy(this);
632
+ };
633
+ /**
634
+ * @return {?}
635
+ */
636
+ TreeGridComponent.prototype.ngAfterContentChecked = function () {
637
+ this.tagObjects[0].instance = this.childColumns;
638
+ if (this.childAggregates) {
639
+ this.tagObjects[1].instance = /** @type {?} */ (this.childAggregates);
640
+ }
641
+ this.context.ngAfterContentChecked(this);
642
+ };
643
+ return TreeGridComponent;
644
+ }(ej2Treegrid.TreeGrid));
645
+ exports.TreeGridComponent.decorators = [
646
+ { type: core.Component, args: [{
647
+ selector: 'ejs-treegrid',
648
+ inputs: inputs,
649
+ outputs: outputs$4,
650
+ template: '',
651
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
652
+ queries: {
653
+ childColumns: new core.ContentChild(ColumnsDirective),
654
+ childAggregates: new core.ContentChild(AggregatesDirective)
655
+ }
656
+ },] },
657
+ ];
658
+ /**
659
+ * @nocollapse
660
+ */
661
+ exports.TreeGridComponent.ctorParameters = function () { return [
662
+ { type: core.ElementRef, },
663
+ { type: core.Renderer2, },
664
+ { type: core.ViewContainerRef, },
665
+ { type: core.Injector, },
666
+ ]; };
667
+ exports.TreeGridComponent.propDecorators = {
668
+ 'toolbarTemplate': [{ type: core.ContentChild, args: ['toolbarTemplate',] },],
669
+ 'pagerTemplate': [{ type: core.ContentChild, args: ['pagerTemplate',] },],
670
+ 'rowTemplate': [{ type: core.ContentChild, args: ['rowTemplate',] },],
671
+ 'detailTemplate': [{ type: core.ContentChild, args: ['detailTemplate',] },],
672
+ 'editSettings_template': [{ type: core.ContentChild, args: ['editSettingsTemplate',] },],
673
+ };
674
+ __decorate$3([
675
+ ej2AngularBase.Template(),
676
+ __metadata$3("design:type", Object)
677
+ ], exports.TreeGridComponent.prototype, "toolbarTemplate", void 0);
678
+ __decorate$3([
679
+ ej2AngularBase.Template(),
680
+ __metadata$3("design:type", Object)
681
+ ], exports.TreeGridComponent.prototype, "pagerTemplate", void 0);
682
+ __decorate$3([
683
+ ej2AngularBase.Template(),
684
+ __metadata$3("design:type", Object)
685
+ ], exports.TreeGridComponent.prototype, "rowTemplate", void 0);
686
+ __decorate$3([
687
+ ej2AngularBase.Template(),
688
+ __metadata$3("design:type", Object)
689
+ ], exports.TreeGridComponent.prototype, "detailTemplate", void 0);
690
+ __decorate$3([
691
+ ej2AngularBase.Template(),
692
+ __metadata$3("design:type", Object)
693
+ ], exports.TreeGridComponent.prototype, "editSettings_template", void 0);
694
+ exports.TreeGridComponent = __decorate$3([
695
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
696
+ __metadata$3("design:paramtypes", [core.ElementRef,
697
+ core.Renderer2,
698
+ core.ViewContainerRef,
699
+ core.Injector])
700
+ ], exports.TreeGridComponent);
701
+ /**
702
+ * NgModule definition for the TreeGrid component.
703
+ */
704
+ var TreeGridModule = /** @class */ (function () {
705
+ function TreeGridModule() {
706
+ }
707
+ return TreeGridModule;
708
+ }());
709
+ TreeGridModule.decorators = [
710
+ { type: core.NgModule, args: [{
711
+ imports: [common.CommonModule],
712
+ declarations: [
713
+ exports.TreeGridComponent,
714
+ StackedColumnDirective,
715
+ StackedColumnsDirective,
716
+ ColumnDirective,
717
+ ColumnsDirective,
718
+ AggregateColumnDirective,
719
+ AggregateColumnsDirective,
720
+ AggregateDirective,
721
+ AggregatesDirective
722
+ ],
723
+ exports: [
724
+ exports.TreeGridComponent,
725
+ StackedColumnDirective,
726
+ StackedColumnsDirective,
727
+ ColumnDirective,
728
+ ColumnsDirective,
729
+ AggregateColumnDirective,
730
+ AggregateColumnsDirective,
731
+ AggregateDirective,
732
+ AggregatesDirective
733
+ ]
734
+ },] },
735
+ ];
736
+ /**
737
+ * @nocollapse
738
+ */
739
+ TreeGridModule.ctorParameters = function () { return []; };
740
+ var FilterService = { provide: 'TreeGridFilter', useValue: ej2Treegrid.Filter };
741
+ var PageService = { provide: 'TreeGridPage', useValue: ej2Treegrid.Page };
742
+ var SortService = { provide: 'TreeGridSort', useValue: ej2Treegrid.Sort };
743
+ var ReorderService = { provide: 'TreeGridReorder', useValue: ej2Treegrid.Reorder };
744
+ var ToolbarService = { provide: 'TreeGridToolbar', useValue: ej2Treegrid.Toolbar };
745
+ var AggregateService = { provide: 'TreeGridAggregate', useValue: ej2Treegrid.Aggregate };
746
+ var ResizeService = { provide: 'TreeGridResize', useValue: ej2Treegrid.Resize };
747
+ var ColumnMenuService = { provide: 'TreeGridColumnMenu', useValue: ej2Treegrid.ColumnMenu };
748
+ var ExcelExportService = { provide: 'TreeGridExcelExport', useValue: ej2Treegrid.ExcelExport };
749
+ var PdfExportService = { provide: 'TreeGridPdfExport', useValue: ej2Treegrid.PdfExport };
750
+ var CommandColumnService = { provide: 'TreeGridCommandColumn', useValue: ej2Treegrid.CommandColumn };
751
+ var ContextMenuService = { provide: 'TreeGridContextMenu', useValue: ej2Treegrid.ContextMenu };
752
+ var EditService = { provide: 'TreeGridEdit', useValue: ej2Treegrid.Edit };
753
+ var SelectionService = { provide: 'TreeGridSelection', useValue: ej2Treegrid.Selection };
754
+ var VirtualScrollService = { provide: 'TreeGridVirtualScroll', useValue: ej2Treegrid.VirtualScroll };
755
+ var DetailRowService = { provide: 'TreeGridDetailRow', useValue: ej2Treegrid.DetailRow };
756
+ var RowDDService = { provide: 'TreeGridRowDD', useValue: ej2Treegrid.RowDD };
757
+ var FreezeService = { provide: 'TreeGridFreeze', useValue: ej2Treegrid.Freeze };
758
+ var ColumnChooserService = { provide: 'TreeGridColumnChooser', useValue: ej2Treegrid.ColumnChooser };
759
+ var LoggerService = { provide: 'TreeGridLogger', useValue: ej2Treegrid.Logger };
760
+ var InfiniteScrollService = { provide: 'TreeGridInfiniteScroll', useValue: ej2Treegrid.InfiniteScroll };
761
+ /**
762
+ * NgModule definition for the TreeGrid component with providers.
763
+ */
764
+ var TreeGridAllModule = /** @class */ (function () {
765
+ function TreeGridAllModule() {
766
+ }
767
+ return TreeGridAllModule;
768
+ }());
769
+ TreeGridAllModule.decorators = [
770
+ { type: core.NgModule, args: [{
771
+ imports: [common.CommonModule, TreeGridModule],
772
+ exports: [
773
+ TreeGridModule
774
+ ],
775
+ providers: [
776
+ FilterService,
777
+ PageService,
778
+ SortService,
779
+ ReorderService,
780
+ ToolbarService,
781
+ AggregateService,
782
+ ResizeService,
783
+ ColumnMenuService,
784
+ ExcelExportService,
785
+ PdfExportService,
786
+ CommandColumnService,
787
+ ContextMenuService,
788
+ EditService,
789
+ SelectionService,
790
+ VirtualScrollService,
791
+ DetailRowService,
792
+ RowDDService,
793
+ FreezeService,
794
+ ColumnChooserService,
795
+ LoggerService,
796
+ InfiniteScrollService
797
+ ]
798
+ },] },
799
+ ];
800
+ /**
801
+ * @nocollapse
802
+ */
803
803
  TreeGridAllModule.ctorParameters = function () { return []; };
804
804
 
805
805
  exports.StackedColumnDirective = StackedColumnDirective;