@syncfusion/ej2-angular-treegrid 21.2.8-ngcc → 21.2.9-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.
- package/@syncfusion/ej2-angular-treegrid.es5.js +174 -52
- package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -1
- package/@syncfusion/ej2-angular-treegrid.js +162 -49
- package/@syncfusion/ej2-angular-treegrid.js.map +1 -1
- package/CHANGELOG.md +13 -1
- package/dist/ej2-angular-treegrid.umd.js +178 -52
- package/dist/ej2-angular-treegrid.umd.js.map +1 -1
- package/dist/ej2-angular-treegrid.umd.min.js +2 -2
- package/dist/ej2-angular-treegrid.umd.min.js.map +1 -1
- package/ej2-angular-treegrid.metadata.json +1 -1
- package/package.json +7 -7
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/index.d.ts +1 -0
- package/src/treegrid/columns.directive.d.ts +2 -0
- package/src/treegrid/stacked-column.directive.d.ts +345 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-angular-treegrid.umd.js
|
|
3
|
-
* version : 21.2.
|
|
3
|
+
* version : 21.2.9
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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
|
|
@@ -40,23 +40,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
40
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
41
|
var outputs = [];
|
|
42
42
|
/**
|
|
43
|
-
* `e-column` directive represent
|
|
44
|
-
* It must be contained in a
|
|
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
45
|
* ```html
|
|
46
46
|
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
47
47
|
* <e-columns>
|
|
48
|
-
*
|
|
49
|
-
*
|
|
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>
|
|
50
54
|
* </e-columns>
|
|
51
55
|
* </ejs-treegrid>
|
|
52
56
|
* ```
|
|
53
57
|
*/
|
|
54
|
-
var
|
|
55
|
-
__extends(
|
|
58
|
+
var StackedColumnDirective = /** @class */ (function (_super) {
|
|
59
|
+
__extends(StackedColumnDirective, _super);
|
|
56
60
|
/**
|
|
57
61
|
* @param {?} viewContainerRef
|
|
58
62
|
*/
|
|
59
|
-
function
|
|
63
|
+
function StackedColumnDirective(viewContainerRef) {
|
|
60
64
|
var _this = _super.call(this) || this;
|
|
61
65
|
_this.viewContainerRef = viewContainerRef;
|
|
62
66
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
@@ -64,11 +68,11 @@ var ColumnDirective = /** @class */ (function (_super) {
|
|
|
64
68
|
_this.directivePropList = input;
|
|
65
69
|
return _this;
|
|
66
70
|
}
|
|
67
|
-
return
|
|
71
|
+
return StackedColumnDirective;
|
|
68
72
|
}(ej2AngularBase.ComplexBase));
|
|
69
|
-
|
|
73
|
+
StackedColumnDirective.decorators = [
|
|
70
74
|
{ type: core.Directive, args: [{
|
|
71
|
-
selector: 'ejs-treegrid>e-columns>e-column',
|
|
75
|
+
selector: 'ejs-treegrid>e-columns>e-column>e-stacked-columns>e-stacked-column',
|
|
72
76
|
inputs: input,
|
|
73
77
|
outputs: outputs,
|
|
74
78
|
queries: {}
|
|
@@ -77,10 +81,10 @@ ColumnDirective.decorators = [
|
|
|
77
81
|
/**
|
|
78
82
|
* @nocollapse
|
|
79
83
|
*/
|
|
80
|
-
|
|
84
|
+
StackedColumnDirective.ctorParameters = function () { return [
|
|
81
85
|
{ type: core.ViewContainerRef, },
|
|
82
86
|
]; };
|
|
83
|
-
|
|
87
|
+
StackedColumnDirective.propDecorators = {
|
|
84
88
|
'template': [{ type: core.ContentChild, args: ['template',] },],
|
|
85
89
|
'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
|
|
86
90
|
'filter_itemTemplate': [{ type: core.ContentChild, args: ['filterItemTemplate',] },],
|
|
@@ -91,26 +95,140 @@ ColumnDirective.propDecorators = {
|
|
|
91
95
|
__decorate([
|
|
92
96
|
ej2AngularBase.Template(),
|
|
93
97
|
__metadata("design:type", Object)
|
|
94
|
-
],
|
|
98
|
+
], StackedColumnDirective.prototype, "template", void 0);
|
|
95
99
|
__decorate([
|
|
96
100
|
ej2AngularBase.Template(),
|
|
97
101
|
__metadata("design:type", Object)
|
|
98
|
-
],
|
|
102
|
+
], StackedColumnDirective.prototype, "headerTemplate", void 0);
|
|
99
103
|
__decorate([
|
|
100
104
|
ej2AngularBase.Template(),
|
|
101
105
|
__metadata("design:type", Object)
|
|
102
|
-
],
|
|
106
|
+
], StackedColumnDirective.prototype, "filter_itemTemplate", void 0);
|
|
103
107
|
__decorate([
|
|
104
108
|
ej2AngularBase.Template(),
|
|
105
109
|
__metadata("design:type", Object)
|
|
106
|
-
],
|
|
110
|
+
], StackedColumnDirective.prototype, "filterTemplate", void 0);
|
|
107
111
|
__decorate([
|
|
108
112
|
ej2AngularBase.Template(),
|
|
109
113
|
__metadata("design:type", Object)
|
|
110
|
-
],
|
|
114
|
+
], StackedColumnDirective.prototype, "commandsTemplate", void 0);
|
|
111
115
|
__decorate([
|
|
112
116
|
ej2AngularBase.Template(),
|
|
113
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)
|
|
114
232
|
], ColumnDirective.prototype, "editTemplate", void 0);
|
|
115
233
|
/**
|
|
116
234
|
* Column Array Directive
|
|
@@ -134,7 +252,7 @@ ColumnsDirective.decorators = [
|
|
|
134
252
|
* @nocollapse
|
|
135
253
|
*/
|
|
136
254
|
ColumnsDirective.ctorParameters = function () { return []; };
|
|
137
|
-
var __decorate$
|
|
255
|
+
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
138
256
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
139
257
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
140
258
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -144,12 +262,12 @@ var __decorate$1 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
144
262
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
145
263
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
146
264
|
};
|
|
147
|
-
var __metadata$
|
|
265
|
+
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
148
266
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
149
267
|
return Reflect.metadata(k, v);
|
|
150
268
|
};
|
|
151
|
-
var input$
|
|
152
|
-
var outputs$
|
|
269
|
+
var input$2 = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'type'];
|
|
270
|
+
var outputs$2 = [];
|
|
153
271
|
/**
|
|
154
272
|
* `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
|
|
155
273
|
* ```html
|
|
@@ -177,8 +295,8 @@ var AggregateColumnDirective = /** @class */ (function (_super) {
|
|
|
177
295
|
var _this = _super.call(this) || this;
|
|
178
296
|
_this.viewContainerRef = viewContainerRef;
|
|
179
297
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
180
|
-
_this.registerEvents(outputs$
|
|
181
|
-
_this.directivePropList = input$
|
|
298
|
+
_this.registerEvents(outputs$2);
|
|
299
|
+
_this.directivePropList = input$2;
|
|
182
300
|
return _this;
|
|
183
301
|
}
|
|
184
302
|
return AggregateColumnDirective;
|
|
@@ -186,8 +304,8 @@ var AggregateColumnDirective = /** @class */ (function (_super) {
|
|
|
186
304
|
AggregateColumnDirective.decorators = [
|
|
187
305
|
{ type: core.Directive, args: [{
|
|
188
306
|
selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column',
|
|
189
|
-
inputs: input$
|
|
190
|
-
outputs: outputs$
|
|
307
|
+
inputs: input$2,
|
|
308
|
+
outputs: outputs$2,
|
|
191
309
|
queries: {}
|
|
192
310
|
},] },
|
|
193
311
|
];
|
|
@@ -200,9 +318,9 @@ AggregateColumnDirective.ctorParameters = function () { return [
|
|
|
200
318
|
AggregateColumnDirective.propDecorators = {
|
|
201
319
|
'footerTemplate': [{ type: core.ContentChild, args: ['footerTemplate',] },],
|
|
202
320
|
};
|
|
203
|
-
__decorate$
|
|
321
|
+
__decorate$2([
|
|
204
322
|
ej2AngularBase.Template(),
|
|
205
|
-
__metadata$
|
|
323
|
+
__metadata$2("design:type", Object)
|
|
206
324
|
], AggregateColumnDirective.prototype, "footerTemplate", void 0);
|
|
207
325
|
/**
|
|
208
326
|
* AggregateColumn Array Directive
|
|
@@ -226,8 +344,8 @@ AggregateColumnsDirective.decorators = [
|
|
|
226
344
|
* @nocollapse
|
|
227
345
|
*/
|
|
228
346
|
AggregateColumnsDirective.ctorParameters = function () { return []; };
|
|
229
|
-
var input$
|
|
230
|
-
var outputs$
|
|
347
|
+
var input$3 = ['columns', 'showChildSummary'];
|
|
348
|
+
var outputs$3 = [];
|
|
231
349
|
/**
|
|
232
350
|
* `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
|
|
233
351
|
* It must be contained in a TreeGrid component(`ejs-treegrid`).
|
|
@@ -257,8 +375,8 @@ var AggregateDirective = /** @class */ (function (_super) {
|
|
|
257
375
|
_this.viewContainerRef = viewContainerRef;
|
|
258
376
|
_this.tags = ['columns'];
|
|
259
377
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
260
|
-
_this.registerEvents(outputs$
|
|
261
|
-
_this.directivePropList = input$
|
|
378
|
+
_this.registerEvents(outputs$3);
|
|
379
|
+
_this.directivePropList = input$3;
|
|
262
380
|
return _this;
|
|
263
381
|
}
|
|
264
382
|
return AggregateDirective;
|
|
@@ -266,8 +384,8 @@ var AggregateDirective = /** @class */ (function (_super) {
|
|
|
266
384
|
AggregateDirective.decorators = [
|
|
267
385
|
{ type: core.Directive, args: [{
|
|
268
386
|
selector: 'ejs-treegrid>e-aggregates>e-aggregate',
|
|
269
|
-
inputs: input$
|
|
270
|
-
outputs: outputs$
|
|
387
|
+
inputs: input$3,
|
|
388
|
+
outputs: outputs$3,
|
|
271
389
|
queries: {
|
|
272
390
|
childColumns: new core.ContentChild(AggregateColumnsDirective)
|
|
273
391
|
}
|
|
@@ -301,7 +419,7 @@ AggregatesDirective.decorators = [
|
|
|
301
419
|
* @nocollapse
|
|
302
420
|
*/
|
|
303
421
|
AggregatesDirective.ctorParameters = function () { return []; };
|
|
304
|
-
var __decorate$
|
|
422
|
+
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
305
423
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
306
424
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
307
425
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -311,12 +429,12 @@ var __decorate$2 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
311
429
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
312
430
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
313
431
|
};
|
|
314
|
-
var __metadata$
|
|
432
|
+
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
315
433
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
316
434
|
return Reflect.metadata(k, v);
|
|
317
435
|
};
|
|
318
436
|
var inputs = ['aggregates', 'allowExcelExport', 'allowFiltering', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'autoCheckHierarchy', 'childMapping', 'clipMode', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'copyHierarchyMode', 'dataSource', 'detailTemplate', 'editSettings', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableCollapseAll', 'enableColumnVirtualization', 'enableHover', 'enableHtmlSanitizer', 'enableImmutableMode', 'enableInfiniteScrolling', 'enablePersistence', 'enableRtl', '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'];
|
|
319
|
-
var outputs$
|
|
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'];
|
|
320
438
|
var twoWays = ['dataSource'];
|
|
321
439
|
/**
|
|
322
440
|
* `ejs-treegrid` represents the Angular TreeTreeGrid Component.
|
|
@@ -488,7 +606,7 @@ exports.TreeGridComponent = /** @class */ (function (_super) {
|
|
|
488
606
|
}
|
|
489
607
|
}
|
|
490
608
|
catch (_w) { }
|
|
491
|
-
_this.registerEvents(outputs$
|
|
609
|
+
_this.registerEvents(outputs$4);
|
|
492
610
|
_this.addTwoWay.call(_this, twoWays);
|
|
493
611
|
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
|
494
612
|
_this.context = new ej2AngularBase.ComponentBase();
|
|
@@ -528,7 +646,7 @@ exports.TreeGridComponent.decorators = [
|
|
|
528
646
|
{ type: core.Component, args: [{
|
|
529
647
|
selector: 'ejs-treegrid',
|
|
530
648
|
inputs: inputs,
|
|
531
|
-
outputs: outputs$
|
|
649
|
+
outputs: outputs$4,
|
|
532
650
|
template: '',
|
|
533
651
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
534
652
|
queries: {
|
|
@@ -553,29 +671,29 @@ exports.TreeGridComponent.propDecorators = {
|
|
|
553
671
|
'detailTemplate': [{ type: core.ContentChild, args: ['detailTemplate',] },],
|
|
554
672
|
'editSettings_template': [{ type: core.ContentChild, args: ['editSettingsTemplate',] },],
|
|
555
673
|
};
|
|
556
|
-
__decorate$
|
|
674
|
+
__decorate$3([
|
|
557
675
|
ej2AngularBase.Template(),
|
|
558
|
-
__metadata$
|
|
676
|
+
__metadata$3("design:type", Object)
|
|
559
677
|
], exports.TreeGridComponent.prototype, "toolbarTemplate", void 0);
|
|
560
|
-
__decorate$
|
|
678
|
+
__decorate$3([
|
|
561
679
|
ej2AngularBase.Template(),
|
|
562
|
-
__metadata$
|
|
680
|
+
__metadata$3("design:type", Object)
|
|
563
681
|
], exports.TreeGridComponent.prototype, "pagerTemplate", void 0);
|
|
564
|
-
__decorate$
|
|
682
|
+
__decorate$3([
|
|
565
683
|
ej2AngularBase.Template(),
|
|
566
|
-
__metadata$
|
|
684
|
+
__metadata$3("design:type", Object)
|
|
567
685
|
], exports.TreeGridComponent.prototype, "rowTemplate", void 0);
|
|
568
|
-
__decorate$
|
|
686
|
+
__decorate$3([
|
|
569
687
|
ej2AngularBase.Template(),
|
|
570
|
-
__metadata$
|
|
688
|
+
__metadata$3("design:type", Object)
|
|
571
689
|
], exports.TreeGridComponent.prototype, "detailTemplate", void 0);
|
|
572
|
-
__decorate$
|
|
690
|
+
__decorate$3([
|
|
573
691
|
ej2AngularBase.Template(),
|
|
574
|
-
__metadata$
|
|
692
|
+
__metadata$3("design:type", Object)
|
|
575
693
|
], exports.TreeGridComponent.prototype, "editSettings_template", void 0);
|
|
576
|
-
exports.TreeGridComponent = __decorate$
|
|
694
|
+
exports.TreeGridComponent = __decorate$3([
|
|
577
695
|
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
|
578
|
-
__metadata$
|
|
696
|
+
__metadata$3("design:paramtypes", [core.ElementRef,
|
|
579
697
|
core.Renderer2,
|
|
580
698
|
core.ViewContainerRef,
|
|
581
699
|
core.Injector])
|
|
@@ -593,6 +711,8 @@ TreeGridModule.decorators = [
|
|
|
593
711
|
imports: [common.CommonModule],
|
|
594
712
|
declarations: [
|
|
595
713
|
exports.TreeGridComponent,
|
|
714
|
+
StackedColumnDirective,
|
|
715
|
+
StackedColumnsDirective,
|
|
596
716
|
ColumnDirective,
|
|
597
717
|
ColumnsDirective,
|
|
598
718
|
AggregateColumnDirective,
|
|
@@ -602,6 +722,8 @@ TreeGridModule.decorators = [
|
|
|
602
722
|
],
|
|
603
723
|
exports: [
|
|
604
724
|
exports.TreeGridComponent,
|
|
725
|
+
StackedColumnDirective,
|
|
726
|
+
StackedColumnsDirective,
|
|
605
727
|
ColumnDirective,
|
|
606
728
|
ColumnsDirective,
|
|
607
729
|
AggregateColumnDirective,
|
|
@@ -680,6 +802,8 @@ TreeGridAllModule.decorators = [
|
|
|
680
802
|
*/
|
|
681
803
|
TreeGridAllModule.ctorParameters = function () { return []; };
|
|
682
804
|
|
|
805
|
+
exports.StackedColumnDirective = StackedColumnDirective;
|
|
806
|
+
exports.StackedColumnsDirective = StackedColumnsDirective;
|
|
683
807
|
exports.ColumnDirective = ColumnDirective;
|
|
684
808
|
exports.ColumnsDirective = ColumnsDirective;
|
|
685
809
|
exports.AggregateColumnDirective = AggregateColumnDirective;
|
|
@@ -710,7 +834,7 @@ exports.ColumnChooserService = ColumnChooserService;
|
|
|
710
834
|
exports.LoggerService = LoggerService;
|
|
711
835
|
exports.InfiniteScrollService = InfiniteScrollService;
|
|
712
836
|
exports.ɵa = inputs;
|
|
713
|
-
exports.ɵb = outputs$
|
|
837
|
+
exports.ɵb = outputs$4;
|
|
714
838
|
exports.TreeGrid = ej2Treegrid.TreeGrid;
|
|
715
839
|
exports.load = ej2Treegrid.load;
|
|
716
840
|
exports.rowDataBound = ej2Treegrid.rowDataBound;
|
|
@@ -796,6 +920,8 @@ exports.Reorder = ej2Treegrid.Reorder;
|
|
|
796
920
|
exports.Resize = ej2Treegrid.Resize;
|
|
797
921
|
exports.RowDD = ej2Treegrid.RowDD;
|
|
798
922
|
exports.Column = ej2Treegrid.Column;
|
|
923
|
+
exports.TreeGridColumn = ej2Treegrid.TreeGridColumn;
|
|
924
|
+
exports.StackedColumn = ej2Treegrid.StackedColumn;
|
|
799
925
|
exports.EditSettings = ej2Treegrid.EditSettings;
|
|
800
926
|
exports.Predicate = ej2Treegrid.Predicate;
|
|
801
927
|
exports.FilterSettings = ej2Treegrid.FilterSettings;
|