@syncfusion/ej2-angular-treegrid 31.2.15 → 32.1.19-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 +798 -0
- package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-treegrid.js +748 -0
- package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
- package/CHANGELOG.md +47 -31
- package/README.md +7 -15
- package/dist/ej2-angular-treegrid.umd.js +970 -0
- package/dist/ej2-angular-treegrid.umd.js.map +1 -0
- package/dist/ej2-angular-treegrid.umd.min.js +2 -0
- package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
- package/ej2-angular-treegrid.d.ts +5 -0
- package/ej2-angular-treegrid.metadata.json +1 -0
- package/license +10 -0
- package/package.json +49 -46
- package/postinstall/tagchange.js +18 -0
- package/schematics/collection.json +19 -10
- package/schematics/generators/treegrid-default/index.d.ts +3 -0
- package/schematics/generators/treegrid-default/index.js +8 -0
- package/schematics/generators/treegrid-default/index.ts +8 -0
- package/schematics/generators/treegrid-default/sample-details.d.ts +5 -0
- package/schematics/generators/treegrid-default/sample-details.js +7 -0
- package/schematics/generators/treegrid-default/sample-details.ts +5 -0
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
- package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +143 -0
- package/schematics/generators/treegrid-default/schema.d.ts +3 -0
- package/schematics/generators/treegrid-default/schema.js +2 -0
- package/schematics/generators/treegrid-default/schema.json +125 -0
- package/schematics/generators/treegrid-default/schema.ts +3 -0
- package/schematics/generators/treegrid-feature/index.d.ts +3 -0
- package/schematics/generators/treegrid-feature/index.js +8 -0
- package/schematics/generators/treegrid-feature/index.ts +8 -0
- package/schematics/generators/treegrid-feature/sample-details.d.ts +5 -0
- package/schematics/generators/treegrid-feature/sample-details.js +7 -0
- package/schematics/generators/treegrid-feature/sample-details.ts +5 -0
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
- package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +144 -0
- package/schematics/generators/treegrid-feature/schema.d.ts +3 -0
- package/schematics/generators/treegrid-feature/schema.js +2 -0
- package/schematics/generators/treegrid-feature/schema.json +125 -0
- package/schematics/generators/treegrid-feature/schema.ts +3 -0
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +25 -25
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/treegrid/aggregate-columns.directive.d.ts +28 -31
- package/src/treegrid/aggregates.directive.d.ts +2 -7
- package/src/treegrid/columns.directive.d.ts +77 -60
- package/src/treegrid/stacked-column.directive.d.ts +77 -60
- package/src/treegrid/treegrid-all.module.d.ts +0 -6
- package/src/treegrid/treegrid.component.d.ts +1 -23
- package/src/treegrid/treegrid.module.d.ts +0 -10
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -9
- package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
- package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
- package/esm2020/src/treegrid/columns.directive.mjs +0 -100
- package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
- package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
- package/esm2020/src/treegrid/treegrid.component.mjs +0 -271
- package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
- package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -734
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -734
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/styles/bds-lite.css +0 -1
- package/styles/bds-lite.scss +0 -1
- package/styles/bds.css +0 -1
- package/styles/bds.scss +0 -1
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark-lite.scss +0 -1
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap-lite.scss +0 -1
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4-lite.scss +0 -1
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark-lite.scss +0 -1
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5-lite.scss +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3-lite.scss +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.3.scss +0 -1
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark-lite.scss +0 -1
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric-lite.scss +0 -1
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark-lite.scss +0 -1
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent-lite.scss +0 -1
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2-lite.scss +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/fluent2.scss +0 -1
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light-lite.scss +0 -1
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast-lite.scss +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark-lite.scss +0 -1
- package/styles/material-lite.css +0 -1
- package/styles/material-lite.scss +0 -1
- package/styles/material3-dark-lite.css +0 -1
- package/styles/material3-dark-lite.scss +0 -1
- package/styles/material3-lite.css +0 -1
- package/styles/material3-lite.scss +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark-lite.scss +0 -1
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind-lite.scss +0 -1
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3-lite.scss +0 -1
- package/styles/tailwind3.css +0 -1
- package/styles/tailwind3.scss +0 -1
- package/styles/treegrid/bds.css +0 -1
- package/styles/treegrid/bds.scss +0 -1
- package/styles/treegrid/bootstrap5.3.css +0 -1
- package/styles/treegrid/bootstrap5.3.scss +0 -1
- package/styles/treegrid/fluent2.css +0 -1
- package/styles/treegrid/fluent2.scss +0 -1
- package/styles/treegrid/tailwind3.css +0 -1
- package/styles/treegrid/tailwind3.scss +0 -1
- package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* `e-stacked-column` directive represent the stacked column of the Angular TreeGrid.
|
|
6
5
|
* It must be contained in a StackedColumns component(`e-stacked-columns`).
|
|
@@ -21,53 +20,60 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
|
21
20
|
private viewContainerRef;
|
|
22
21
|
directivePropList: any;
|
|
23
22
|
/**
|
|
24
|
-
* Defines the type of
|
|
23
|
+
* Defines the data type of the column.
|
|
25
24
|
* @default null
|
|
26
25
|
*/
|
|
27
26
|
type: any;
|
|
28
27
|
/**
|
|
29
|
-
*
|
|
28
|
+
* If `allowEditing` set to false, then it disables editing of a particular column.
|
|
29
|
+
* By default all columns are editable.
|
|
30
30
|
* @default true
|
|
31
31
|
*/
|
|
32
32
|
allowEditing: any;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
|
|
35
|
+
* By default all columns are filterable.
|
|
35
36
|
* @default true
|
|
36
37
|
*/
|
|
37
38
|
allowFiltering: any;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* If `allowReordering` set to false, then it disables reorder of a particular column.
|
|
41
|
+
* By default all columns can be reorder.
|
|
40
42
|
* @default true
|
|
41
43
|
*/
|
|
42
44
|
allowReordering: any;
|
|
43
45
|
/**
|
|
44
|
-
*
|
|
46
|
+
* If `allowResizing` set to false, it disables resize option of a particular column.
|
|
45
47
|
* @default true
|
|
46
48
|
*/
|
|
47
49
|
allowResizing: any;
|
|
48
50
|
/**
|
|
49
|
-
*
|
|
51
|
+
* If `allowSorting` set to false, then it disables sorting option of a particular column.
|
|
52
|
+
* By default all columns are sortable.
|
|
50
53
|
* @default true
|
|
51
54
|
*/
|
|
52
55
|
allowSorting: any;
|
|
53
56
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* * `EllipsisWithTooltip`: Shows ellipsis and tooltip on hover.
|
|
57
|
+
* Defines the cell content's overflow mode. The available modes are
|
|
58
|
+
*
|
|
59
|
+
* also it will display tooltip while hover on ellipsis applied cell.
|
|
58
60
|
* @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
|
|
59
61
|
* @isenumeration true
|
|
60
62
|
* @asptype Syncfusion.EJ2.Grids.ClipMode
|
|
61
63
|
*/
|
|
62
64
|
clipMode: any;
|
|
63
65
|
/**
|
|
64
|
-
*
|
|
66
|
+
* Used to render multiple header rows(stacked headers) on TreeGrid header.
|
|
65
67
|
* @default null
|
|
66
68
|
*/
|
|
67
69
|
columns: any;
|
|
68
70
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
+
* `commands` provides an option to display command buttons in every cell.
|
|
72
|
+
* The available built-in command buttons are
|
|
73
|
+
* * Edit - Edit the record.
|
|
74
|
+
* * Delete - Delete the record.
|
|
75
|
+
* * Save - Save the record.
|
|
76
|
+
* * Cancel - Cancel the edit state.
|
|
71
77
|
*
|
|
72
78
|
* The following code example implements the custom command column.
|
|
73
79
|
*```html
|
|
@@ -94,49 +100,55 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
|
94
100
|
*/
|
|
95
101
|
commands: any;
|
|
96
102
|
/**
|
|
97
|
-
*
|
|
103
|
+
* The CSS styles and attributes of the content cells of a particular column can be customized.
|
|
98
104
|
* @default null
|
|
99
105
|
*/
|
|
100
106
|
customAttributes: any;
|
|
101
107
|
/**
|
|
102
|
-
*
|
|
108
|
+
* Defines default values for the component when adding a new record to the TreeGrid.
|
|
103
109
|
* @default null
|
|
104
110
|
*/
|
|
105
111
|
defaultValue: any;
|
|
106
112
|
/**
|
|
107
|
-
* If set to
|
|
113
|
+
* If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
|
|
108
114
|
* @default true
|
|
109
115
|
*/
|
|
110
116
|
disableHtmlEncode: any;
|
|
111
117
|
/**
|
|
112
|
-
*
|
|
118
|
+
* If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
|
|
113
119
|
* @default false
|
|
114
120
|
*/
|
|
115
121
|
displayAsCheckBox: any;
|
|
116
122
|
/**
|
|
117
|
-
*
|
|
123
|
+
* Defines the `IEditCell` object to customize default edit cell.
|
|
118
124
|
* @default {}
|
|
119
125
|
*/
|
|
120
126
|
edit: any;
|
|
121
127
|
/**
|
|
122
|
-
*
|
|
128
|
+
* Defines the type of component for editing.
|
|
123
129
|
* @default 'stringedit'
|
|
124
130
|
*/
|
|
125
131
|
editType: any;
|
|
126
132
|
/**
|
|
127
|
-
*
|
|
128
|
-
* The
|
|
133
|
+
* Defines the field name of column which is mapped with mapping name of DataSource.
|
|
134
|
+
* The bounded columns can be sort, filter etc.,
|
|
135
|
+
* The `field` name must be a valid JavaScript identifier,
|
|
136
|
+
* the first character must be an alphabet and should not contain spaces and special characters.
|
|
129
137
|
* @default 'undefined'
|
|
130
138
|
*/
|
|
131
139
|
field: any;
|
|
132
140
|
/**
|
|
133
|
-
*
|
|
134
|
-
*
|
|
141
|
+
* Defines the filter options to customize filtering for the particular column.
|
|
142
|
+
*
|
|
143
|
+
* @default null
|
|
144
|
+
*
|
|
135
145
|
*/
|
|
136
146
|
filter: any;
|
|
137
147
|
/**
|
|
138
|
-
*
|
|
139
|
-
*
|
|
148
|
+
* The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
|
|
149
|
+
* It have create and read functions.
|
|
150
|
+
* * create: It is used for creating custom components.
|
|
151
|
+
* * read: It is used to perform custom filter action.
|
|
140
152
|
*
|
|
141
153
|
* ```html
|
|
142
154
|
*<div id="TreeGrid"></div>
|
|
@@ -161,7 +173,7 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
|
161
173
|
* gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
|
|
162
174
|
* }
|
|
163
175
|
* }
|
|
164
|
-
*}],
|
|
176
|
+
* }],
|
|
165
177
|
* allowFiltering: true
|
|
166
178
|
*});
|
|
167
179
|
*gridObj.appendTo('#TreeGrid');
|
|
@@ -171,33 +183,35 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
|
171
183
|
*/
|
|
172
184
|
filterBarTemplate: any;
|
|
173
185
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*and [date](https://ej2.syncfusion.com/documentation/common/internationalization
|
|
186
|
+
* It is used to change display value with the given format and does not affect the original data.
|
|
187
|
+
* Gets the format from the user which can be standard or custom
|
|
188
|
+
* [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
|
|
189
|
+
* and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
|
|
178
190
|
* @default null
|
|
179
191
|
* @asptype string
|
|
180
192
|
*/
|
|
181
193
|
format: any;
|
|
182
194
|
/**
|
|
183
|
-
*
|
|
195
|
+
* Defines the method which is used to achieve custom formatting from an external function.
|
|
196
|
+
* This function triggers before rendering of each cell.
|
|
184
197
|
* @default null
|
|
185
198
|
*/
|
|
186
199
|
formatter: any;
|
|
187
200
|
/**
|
|
188
|
-
*
|
|
201
|
+
* Defines which side the column need to freeze
|
|
189
202
|
* @default Syncfusion.EJ2.Grids.FreezeDirection.None
|
|
190
203
|
* @isenumeration true
|
|
191
204
|
* @asptype Syncfusion.EJ2.Grids.FreezeDirection
|
|
192
205
|
*/
|
|
193
206
|
freeze: any;
|
|
194
207
|
/**
|
|
195
|
-
*
|
|
208
|
+
* Defines the header text of column which is used to display in column header.
|
|
209
|
+
* If `headerText` is not defined, then field name value will be assigned to header text.
|
|
196
210
|
* @default 'undefined'
|
|
197
211
|
*/
|
|
198
212
|
headerText: any;
|
|
199
213
|
/**
|
|
200
|
-
*
|
|
214
|
+
* Define the alignment of column header which is used to align the text of column header.
|
|
201
215
|
* @default null
|
|
202
216
|
* @aspdefaultvalueignore
|
|
203
217
|
* @isenumeration true
|
|
@@ -205,119 +219,124 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
|
205
219
|
*/
|
|
206
220
|
headerTextAlign: any;
|
|
207
221
|
/**
|
|
208
|
-
*
|
|
222
|
+
* Column visibility can change based on [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
|
|
223
|
+
* `hideAtMedia` accepts only valid Media Queries.
|
|
209
224
|
* @default 'undefined'
|
|
210
225
|
*/
|
|
211
226
|
hideAtMedia: any;
|
|
212
227
|
/**
|
|
213
|
-
*
|
|
228
|
+
* You can use this property to freeze selected columns in grid.
|
|
214
229
|
* @default false
|
|
215
230
|
*/
|
|
216
231
|
isFrozen: any;
|
|
217
232
|
/**
|
|
218
|
-
*
|
|
233
|
+
* If `isIdentity` is set to true, then this column is considered as identity column.
|
|
219
234
|
* @default false
|
|
220
235
|
*/
|
|
221
236
|
isIdentity: any;
|
|
222
237
|
/**
|
|
223
|
-
*
|
|
238
|
+
* If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
|
|
224
239
|
* @default false
|
|
225
240
|
*/
|
|
226
241
|
isPrimaryKey: any;
|
|
227
242
|
/**
|
|
228
|
-
*
|
|
243
|
+
* If `lockColumn` set to true, then it disables Reordering of a particular column.
|
|
244
|
+
* The locked column will be moved to first position.
|
|
229
245
|
* @default false
|
|
230
246
|
*/
|
|
231
247
|
lockColumn: any;
|
|
232
248
|
/**
|
|
233
|
-
* Defines the maximum
|
|
249
|
+
* Defines the maximum width of the column in pixels or percentage, which will restrict resizing beyond this pixels or percentage.
|
|
234
250
|
* @default 'undefined'
|
|
235
251
|
*/
|
|
236
252
|
maxWidth: any;
|
|
237
253
|
/**
|
|
238
|
-
*
|
|
254
|
+
* Defines the minimum width of the column in pixels or percentage.
|
|
239
255
|
* @default 'undefined'
|
|
240
256
|
*/
|
|
241
257
|
minWidth: any;
|
|
242
258
|
/**
|
|
243
|
-
*
|
|
259
|
+
* If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
|
|
244
260
|
* @default false
|
|
245
261
|
*/
|
|
246
262
|
showCheckbox: any;
|
|
247
263
|
/**
|
|
248
|
-
*
|
|
264
|
+
* If `showColumnMenu` set to false, then it disable the column menu of a particular column.
|
|
265
|
+
* By default column menu will show for all columns
|
|
249
266
|
* @default true
|
|
250
267
|
*/
|
|
251
268
|
showColumnMenu: any;
|
|
252
269
|
/**
|
|
253
|
-
*
|
|
270
|
+
* If `showInColumnChooser` set to false, then hide the particular column in column chooser.
|
|
271
|
+
* By default all columns are displayed in column Chooser.
|
|
254
272
|
* @default true
|
|
255
273
|
*/
|
|
256
274
|
showInColumnChooser: any;
|
|
257
275
|
/**
|
|
258
|
-
*
|
|
276
|
+
* Defines the sort comparer property.
|
|
259
277
|
* @default 'undefined'
|
|
260
278
|
*/
|
|
261
279
|
sortComparer: any;
|
|
262
280
|
/**
|
|
263
|
-
*
|
|
281
|
+
* Defines the alignment of the column in both header and content cells.
|
|
264
282
|
* @default Syncfusion.EJ2.Grids.TextAlign.Left
|
|
265
283
|
* @isenumeration true
|
|
266
284
|
* @asptype Syncfusion.EJ2.Grids.TextAlign
|
|
267
285
|
*/
|
|
268
286
|
textAlign: any;
|
|
269
287
|
/**
|
|
270
|
-
*
|
|
288
|
+
* Gets the unique identifier value of the column. It is used to get the object.
|
|
271
289
|
* @default 'undefined'
|
|
272
290
|
*/
|
|
273
291
|
uid: any;
|
|
274
292
|
/**
|
|
275
|
-
*
|
|
293
|
+
* Defines rules to validate data before creating and updating.
|
|
276
294
|
* @default null
|
|
277
295
|
*/
|
|
278
296
|
validationRules: any;
|
|
279
297
|
/**
|
|
280
|
-
*
|
|
298
|
+
* Defines the method used to apply custom cell values from external function and display this on each cell rendered.
|
|
281
299
|
* @default null
|
|
282
300
|
*/
|
|
283
301
|
valueAccessor: any;
|
|
284
302
|
/**
|
|
285
|
-
*
|
|
303
|
+
* If `visible` is set to false, hides the particular column. By default, columns are displayed.
|
|
286
304
|
* @default true
|
|
287
305
|
*/
|
|
288
306
|
visible: any;
|
|
289
307
|
/**
|
|
290
|
-
*
|
|
308
|
+
* Defines the width of the column in pixels or percentage.
|
|
291
309
|
* @default 'undefined'
|
|
292
310
|
*/
|
|
293
311
|
width: any;
|
|
294
312
|
/**
|
|
295
|
-
*
|
|
313
|
+
* Defines the column template that renders customized element in each cell of the column.
|
|
314
|
+
* It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
|
|
296
315
|
* @default null
|
|
297
316
|
* @asptype string
|
|
298
317
|
*/
|
|
299
318
|
template: any;
|
|
300
319
|
/**
|
|
301
|
-
*
|
|
320
|
+
* Defines the header template as string or HTML element ID which is used to add customized element in the column header.
|
|
302
321
|
* @default null
|
|
303
322
|
* @asptype string
|
|
304
323
|
*/
|
|
305
324
|
headerTemplate: any;
|
|
306
325
|
filter_itemTemplate: any;
|
|
307
326
|
/**
|
|
308
|
-
*
|
|
327
|
+
* Defines the filter template/UI that is used as filter for a particular column.
|
|
328
|
+
* It accepts either template string or HTML element ID.
|
|
309
329
|
* @aspignore
|
|
310
330
|
*/
|
|
311
331
|
filterTemplate: any;
|
|
312
332
|
commandsTemplate: any;
|
|
313
333
|
/**
|
|
314
|
-
*
|
|
334
|
+
* Defines the cell edit template that used as editor for a particular column.
|
|
335
|
+
* It accepts either template string or HTML element ID.
|
|
315
336
|
* @aspignore
|
|
316
337
|
*/
|
|
317
338
|
editTemplate: any;
|
|
318
339
|
constructor(viewContainerRef: ViewContainerRef);
|
|
319
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedColumnDirective, never>;
|
|
320
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StackedColumnDirective, "ejs-treegrid>e-columns>e-column>e-stacked-columns>e-stacked-column", never, { "allowEditing": "allowEditing"; "allowFiltering": "allowFiltering"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowSorting": "allowSorting"; "clipMode": "clipMode"; "columns": "columns"; "commands": "commands"; "customAttributes": "customAttributes"; "defaultValue": "defaultValue"; "disableHtmlEncode": "disableHtmlEncode"; "displayAsCheckBox": "displayAsCheckBox"; "edit": "edit"; "editTemplate": "editTemplate"; "editType": "editType"; "field": "field"; "filter": "filter"; "filterBarTemplate": "filterBarTemplate"; "filterTemplate": "filterTemplate"; "format": "format"; "formatter": "formatter"; "freeze": "freeze"; "headerTemplate": "headerTemplate"; "headerText": "headerText"; "headerTextAlign": "headerTextAlign"; "hideAtMedia": "hideAtMedia"; "isFrozen": "isFrozen"; "isIdentity": "isIdentity"; "isPrimaryKey": "isPrimaryKey"; "lockColumn": "lockColumn"; "maxWidth": "maxWidth"; "minWidth": "minWidth"; "showCheckbox": "showCheckbox"; "showColumnMenu": "showColumnMenu"; "showInColumnChooser": "showInColumnChooser"; "sortComparer": "sortComparer"; "template": "template"; "textAlign": "textAlign"; "type": "type"; "uid": "uid"; "validationRules": "validationRules"; "valueAccessor": "valueAccessor"; "visible": "visible"; "width": "width"; }, {}, ["template", "headerTemplate", "filter_itemTemplate", "filterTemplate", "commandsTemplate", "editTemplate"]>;
|
|
321
340
|
}
|
|
322
341
|
/**
|
|
323
342
|
* StackedColumn Array Directive
|
|
@@ -325,6 +344,4 @@ export declare class StackedColumnDirective extends ComplexBase<StackedColumnDir
|
|
|
325
344
|
*/
|
|
326
345
|
export declare class StackedColumnsDirective extends ArrayBase<StackedColumnsDirective> {
|
|
327
346
|
constructor();
|
|
328
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StackedColumnsDirective, never>;
|
|
329
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StackedColumnsDirective, "ejs-treegrid>e-columns>e-column>e-stacked-columns", never, {}, {}, ["children"]>;
|
|
330
347
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { ValueProvider } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "./treegrid.module";
|
|
5
2
|
export declare const FilterService: ValueProvider;
|
|
6
3
|
export declare const PageService: ValueProvider;
|
|
7
4
|
export declare const SortService: ValueProvider;
|
|
@@ -27,7 +24,4 @@ export declare const InfiniteScrollService: ValueProvider;
|
|
|
27
24
|
* NgModule definition for the TreeGrid component with providers.
|
|
28
25
|
*/
|
|
29
26
|
export declare class TreeGridAllModule {
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeGridAllModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeGridAllModule, never, [typeof i1.CommonModule, typeof i2.TreeGridModule], [typeof i2.TreeGridModule]>;
|
|
32
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TreeGridAllModule>;
|
|
33
27
|
}
|
|
@@ -3,7 +3,6 @@ import { IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
|
3
3
|
import { TreeGrid } from '@syncfusion/ej2-treegrid';
|
|
4
4
|
import { ColumnsDirective } from './columns.directive';
|
|
5
5
|
import { AggregatesDirective } from './aggregates.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
6
|
export declare const inputs: string[];
|
|
8
7
|
export declare const outputs: string[];
|
|
9
8
|
export declare const twoWays: string[];
|
|
@@ -58,7 +57,6 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
|
|
|
58
57
|
dataSourceChanged: any;
|
|
59
58
|
dataStateChange: any;
|
|
60
59
|
detailDataBound: any;
|
|
61
|
-
excelAggregateQueryCellInfo: any;
|
|
62
60
|
excelExportComplete: any;
|
|
63
61
|
excelHeaderQueryCellInfo: any;
|
|
64
62
|
excelQueryCellInfo: any;
|
|
@@ -66,7 +64,6 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
|
|
|
66
64
|
expanding: any;
|
|
67
65
|
headerCellInfo: any;
|
|
68
66
|
load: any;
|
|
69
|
-
pdfAggregateQueryCellInfo: any;
|
|
70
67
|
pdfExportComplete: any;
|
|
71
68
|
pdfHeaderQueryCellInfo: any;
|
|
72
69
|
pdfQueryCellInfo: any;
|
|
@@ -91,11 +88,6 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
|
|
|
91
88
|
childAggregates: QueryList<AggregatesDirective>;
|
|
92
89
|
tags: string[];
|
|
93
90
|
toolbarTemplate: any;
|
|
94
|
-
/**
|
|
95
|
-
* It used to render pager template
|
|
96
|
-
* @default null
|
|
97
|
-
* @asptype string
|
|
98
|
-
*/
|
|
99
91
|
pagerTemplate: any;
|
|
100
92
|
/**
|
|
101
93
|
* The row template that renders customized rows from the given template.
|
|
@@ -104,7 +96,7 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
|
|
|
104
96
|
* or HTML element ID.
|
|
105
97
|
* > * The row template must be a table row.
|
|
106
98
|
*
|
|
107
|
-
* > Check the [Row Template](../../treegrid/row) customization.
|
|
99
|
+
* > Check the [`Row Template`](../../treegrid/row) customization.
|
|
108
100
|
*
|
|
109
101
|
* @asptype string
|
|
110
102
|
*/
|
|
@@ -119,18 +111,6 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
|
|
|
119
111
|
*/
|
|
120
112
|
detailTemplate: any;
|
|
121
113
|
editSettings_template: any;
|
|
122
|
-
/**
|
|
123
|
-
* The empty record template that renders customized element or text or image instead of displaying the empty record message in the TreeGrid.
|
|
124
|
-
*
|
|
125
|
-
* > It accepts either the [template string](../../common/template-engine/) or the HTML element ID.
|
|
126
|
-
*
|
|
127
|
-
* @default null
|
|
128
|
-
* @asptype string
|
|
129
|
-
*/
|
|
130
|
-
emptyRecordTemplate: any;
|
|
131
|
-
columnChooserSettings_headerTemplate: any;
|
|
132
|
-
columnChooserSettings_template: any;
|
|
133
|
-
columnChooserSettings_footerTemplate: any;
|
|
134
114
|
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
135
115
|
ngOnInit(): void;
|
|
136
116
|
ngAfterViewInit(): void;
|
|
@@ -138,6 +118,4 @@ export declare class TreeGridComponent extends TreeGrid implements IComponentBas
|
|
|
138
118
|
ngAfterContentChecked(): void;
|
|
139
119
|
registerEvents: (eventList: string[]) => void;
|
|
140
120
|
addTwoWay: (propList: string[]) => void;
|
|
141
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeGridComponent, never>;
|
|
142
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TreeGridComponent, "ejs-treegrid", never, { "aggregates": "aggregates"; "allowExcelExport": "allowExcelExport"; "allowFiltering": "allowFiltering"; "allowMultiSorting": "allowMultiSorting"; "allowPaging": "allowPaging"; "allowPdfExport": "allowPdfExport"; "allowReordering": "allowReordering"; "allowResizing": "allowResizing"; "allowRowDragAndDrop": "allowRowDragAndDrop"; "allowSelection": "allowSelection"; "allowSorting": "allowSorting"; "allowTextWrap": "allowTextWrap"; "autoCheckHierarchy": "autoCheckHierarchy"; "childMapping": "childMapping"; "clipMode": "clipMode"; "columnChooserSettings": "columnChooserSettings"; "columnMenuItems": "columnMenuItems"; "columnQueryMode": "columnQueryMode"; "columns": "columns"; "contextMenuItems": "contextMenuItems"; "copyHierarchyMode": "copyHierarchyMode"; "currencyCode": "currencyCode"; "dataSource": "dataSource"; "detailTemplate": "detailTemplate"; "editSettings": "editSettings"; "emptyRecordTemplate": "emptyRecordTemplate"; "enableAdaptiveUI": "enableAdaptiveUI"; "enableAltRow": "enableAltRow"; "enableAutoFill": "enableAutoFill"; "enableCollapseAll": "enableCollapseAll"; "enableColumnVirtualization": "enableColumnVirtualization"; "enableHover": "enableHover"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enableImmutableMode": "enableImmutableMode"; "enableInfiniteScrolling": "enableInfiniteScrolling"; "enablePersistence": "enablePersistence"; "enableRtl": "enableRtl"; "enableStickyHeader": "enableStickyHeader"; "enableVirtualMaskRow": "enableVirtualMaskRow"; "enableVirtualization": "enableVirtualization"; "expandStateMapping": "expandStateMapping"; "filterSettings": "filterSettings"; "frozenColumns": "frozenColumns"; "frozenRows": "frozenRows"; "gridLines": "gridLines"; "hasChildMapping": "hasChildMapping"; "height": "height"; "idMapping": "idMapping"; "infiniteScrollSettings": "infiniteScrollSettings"; "isRowSelectable": "isRowSelectable"; "loadChildOnDemand": "loadChildOnDemand"; "loadingIndicator": "loadingIndicator"; "locale": "locale"; "pageSettings": "pageSettings"; "pagerTemplate": "pagerTemplate"; "parentIdMapping": "parentIdMapping"; "printMode": "printMode"; "query": "query"; "rowDropSettings": "rowDropSettings"; "rowHeight": "rowHeight"; "rowTemplate": "rowTemplate"; "searchSettings": "searchSettings"; "selectedRowIndex": "selectedRowIndex"; "selectionSettings": "selectionSettings"; "showColumnChooser": "showColumnChooser"; "showColumnMenu": "showColumnMenu"; "sortSettings": "sortSettings"; "textWrapSettings": "textWrapSettings"; "toolbar": "toolbar"; "treeColumnIndex": "treeColumnIndex"; "width": "width"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "batchAdd": "batchAdd"; "batchCancel": "batchCancel"; "batchDelete": "batchDelete"; "beforeBatchAdd": "beforeBatchAdd"; "beforeBatchDelete": "beforeBatchDelete"; "beforeBatchSave": "beforeBatchSave"; "beforeCopy": "beforeCopy"; "beforeDataBound": "beforeDataBound"; "beforeExcelExport": "beforeExcelExport"; "beforePaste": "beforePaste"; "beforePdfExport": "beforePdfExport"; "beforePrint": "beforePrint"; "beginEdit": "beginEdit"; "cellDeselected": "cellDeselected"; "cellDeselecting": "cellDeselecting"; "cellEdit": "cellEdit"; "cellSave": "cellSave"; "cellSaved": "cellSaved"; "cellSelected": "cellSelected"; "cellSelecting": "cellSelecting"; "checkboxChange": "checkboxChange"; "collapsed": "collapsed"; "collapsing": "collapsing"; "columnDrag": "columnDrag"; "columnDragStart": "columnDragStart"; "columnDrop": "columnDrop"; "columnMenuClick": "columnMenuClick"; "columnMenuOpen": "columnMenuOpen"; "contextMenuClick": "contextMenuClick"; "contextMenuOpen": "contextMenuOpen"; "created": "created"; "dataBound": "dataBound"; "dataSourceChanged": "dataSourceChanged"; "dataStateChange": "dataStateChange"; "detailDataBound": "detailDataBound"; "excelAggregateQueryCellInfo": "excelAggregateQueryCellInfo"; "excelExportComplete": "excelExportComplete"; "excelHeaderQueryCellInfo": "excelHeaderQueryCellInfo"; "excelQueryCellInfo": "excelQueryCellInfo"; "expanded": "expanded"; "expanding": "expanding"; "headerCellInfo": "headerCellInfo"; "load": "load"; "pdfAggregateQueryCellInfo": "pdfAggregateQueryCellInfo"; "pdfExportComplete": "pdfExportComplete"; "pdfHeaderQueryCellInfo": "pdfHeaderQueryCellInfo"; "pdfQueryCellInfo": "pdfQueryCellInfo"; "printComplete": "printComplete"; "queryCellInfo": "queryCellInfo"; "recordDoubleClick": "recordDoubleClick"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "rowDataBound": "rowDataBound"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; "rowDragStartHelper": "rowDragStartHelper"; "rowDrop": "rowDrop"; "rowSelected": "rowSelected"; "rowSelecting": "rowSelecting"; "toolbarClick": "toolbarClick"; "dataSourceChange": "dataSourceChange"; }, ["toolbarTemplate", "pagerTemplate", "rowTemplate", "detailTemplate", "editSettings_template", "emptyRecordTemplate", "columnChooserSettings_headerTemplate", "columnChooserSettings_template", "columnChooserSettings_footerTemplate", "childColumns", "childAggregates"], never>;
|
|
143
121
|
}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./treegrid.component";
|
|
3
|
-
import * as i2 from "./stacked-column.directive";
|
|
4
|
-
import * as i3 from "./columns.directive";
|
|
5
|
-
import * as i4 from "./aggregate-columns.directive";
|
|
6
|
-
import * as i5 from "./aggregates.directive";
|
|
7
|
-
import * as i6 from "@angular/common";
|
|
8
1
|
/**
|
|
9
2
|
* NgModule definition for the TreeGrid component.
|
|
10
3
|
*/
|
|
11
4
|
export declare class TreeGridModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeGridModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeGridModule, [typeof i1.TreeGridComponent, typeof i2.StackedColumnDirective, typeof i2.StackedColumnsDirective, typeof i3.ColumnDirective, typeof i3.ColumnsDirective, typeof i4.AggregateColumnDirective, typeof i4.AggregateColumnsDirective, typeof i5.AggregateDirective, typeof i5.AggregatesDirective], [typeof i6.CommonModule], [typeof i1.TreeGridComponent, typeof i2.StackedColumnDirective, typeof i2.StackedColumnsDirective, typeof i3.ColumnDirective, typeof i3.ColumnsDirective, typeof i4.AggregateColumnDirective, typeof i4.AggregateColumnsDirective, typeof i5.AggregateDirective, typeof i5.AggregatesDirective]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TreeGridModule>;
|
|
15
5
|
}
|
package/esm2020/public_api.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './src/index';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
|
package/esm2020/src/index.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { StackedColumnDirective, StackedColumnsDirective } from './treegrid/stacked-column.directive';
|
|
2
|
-
export { ColumnDirective, ColumnsDirective } from './treegrid/columns.directive';
|
|
3
|
-
export { AggregateColumnDirective, AggregateColumnsDirective } from './treegrid/aggregate-columns.directive';
|
|
4
|
-
export { AggregateDirective, AggregatesDirective } from './treegrid/aggregates.directive';
|
|
5
|
-
export { TreeGridComponent } from './treegrid/treegrid.component';
|
|
6
|
-
export { TreeGridModule } from './treegrid/treegrid.module';
|
|
7
|
-
export { TreeGridAllModule, FilterService, PageService, SortService, ReorderService, ToolbarService, AggregateService, ResizeService, ColumnMenuService, ExcelExportService, PdfExportService, CommandColumnService, ContextMenuService, EditService, SelectionService, VirtualScrollService, DetailRowService, RowDDService, FreezeService, ColumnChooserService, LoggerService, InfiniteScrollService } from './treegrid/treegrid-all.module';
|
|
8
|
-
export * from '@syncfusion/ej2-treegrid';
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHNCQUFzQixFQUFDLHVCQUF1QixFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFDbkcsT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@ -1,72 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
3
|
-
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
4
|
-
import { Template } from '@syncfusion/ej2-angular-base';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
let input = ['columnName', 'customAggregate', 'field', 'footerTemplate', 'format', 'type'];
|
|
7
|
-
let outputs = [];
|
|
8
|
-
/**
|
|
9
|
-
* `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
|
|
10
|
-
* ```html
|
|
11
|
-
* <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
|
|
12
|
-
* <e-columns>
|
|
13
|
-
* <e-column field='ID' width='100'></e-column>
|
|
14
|
-
* <e-column field='name' headerText='Name' width='100'></e-column>
|
|
15
|
-
* </e-columns>
|
|
16
|
-
* <e-aggregates>
|
|
17
|
-
* <e-aggregate>
|
|
18
|
-
* <e-columns>
|
|
19
|
-
* <e-column field='ID' type='Min'></e-column>
|
|
20
|
-
* </e-columns>
|
|
21
|
-
* </e-aggregate>
|
|
22
|
-
* </e-aggregates>
|
|
23
|
-
* </ejs-treegrid>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export class AggregateColumnDirective extends ComplexBase {
|
|
27
|
-
constructor(viewContainerRef) {
|
|
28
|
-
super();
|
|
29
|
-
this.viewContainerRef = viewContainerRef;
|
|
30
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
31
|
-
this.registerEvents(outputs);
|
|
32
|
-
this.directivePropList = input;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
AggregateColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
-
AggregateColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateColumnDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column", inputs: { columnName: "columnName", customAggregate: "customAggregate", field: "field", footerTemplate: "footerTemplate", format: "format", type: "type" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: ["footerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
37
|
-
__decorate([
|
|
38
|
-
Template()
|
|
39
|
-
], AggregateColumnDirective.prototype, "footerTemplate", void 0);
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnDirective, decorators: [{
|
|
41
|
-
type: Directive,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column',
|
|
44
|
-
inputs: input,
|
|
45
|
-
outputs: outputs,
|
|
46
|
-
queries: {}
|
|
47
|
-
}]
|
|
48
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { footerTemplate: [{
|
|
49
|
-
type: ContentChild,
|
|
50
|
-
args: ['footerTemplate']
|
|
51
|
-
}] } });
|
|
52
|
-
/**
|
|
53
|
-
* AggregateColumn Array Directive
|
|
54
|
-
* @private
|
|
55
|
-
*/
|
|
56
|
-
export class AggregateColumnsDirective extends ArrayBase {
|
|
57
|
-
constructor() {
|
|
58
|
-
super('columns');
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
AggregateColumnsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
62
|
-
AggregateColumnsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: AggregateColumnsDirective, selector: "ejs-treegrid>e-aggregates>e-aggregate>e-columns", queries: [{ propertyName: "children", predicate: AggregateColumnDirective }], usesInheritance: true, ngImport: i0 });
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: AggregateColumnsDirective, decorators: [{
|
|
64
|
-
type: Directive,
|
|
65
|
-
args: [{
|
|
66
|
-
selector: 'ejs-treegrid>e-aggregates>e-aggregate>e-columns',
|
|
67
|
-
queries: {
|
|
68
|
-
children: new ContentChildren(AggregateColumnDirective)
|
|
69
|
-
},
|
|
70
|
-
}]
|
|
71
|
-
}], ctorParameters: function () { return []; } });
|
|
72
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdncmVnYXRlLWNvbHVtbnMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyZWVncmlkL2FnZ3JlZ2F0ZS1jb2x1bW5zLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBb0IsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRixPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUNoRixPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sOEJBQThCLENBQUM7O0FBR3hELElBQUksS0FBSyxHQUFhLENBQUMsWUFBWSxFQUFFLGlCQUFpQixFQUFFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUM7QUFDckcsSUFBSSxPQUFPLEdBQWEsRUFBRSxDQUFDO0FBQzNCOzs7Ozs7Ozs7Ozs7Ozs7OztHQWlCRztBQVNILE1BQU0sT0FBTyx3QkFBeUIsU0FBUSxXQUFxQztJQThEL0UsWUFBb0IsZ0JBQWl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