@syncfusion/ej2-angular-treegrid 28.2.6 → 29.1.33-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.
Files changed (39) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +798 -0
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-treegrid.js +748 -0
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -0
  5. package/README.md +6 -6
  6. package/dist/ej2-angular-treegrid.umd.js +978 -0
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -0
  8. package/dist/ej2-angular-treegrid.umd.min.js +11 -0
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -0
  10. package/ej2-angular-treegrid.d.ts +5 -0
  11. package/ej2-angular-treegrid.metadata.json +1 -0
  12. package/license +10 -0
  13. package/package.json +15 -28
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/treegrid/aggregate-columns.directive.d.ts +26 -33
  18. package/src/treegrid/aggregates.directive.d.ts +2 -7
  19. package/src/treegrid/columns.directive.d.ts +54 -79
  20. package/src/treegrid/stacked-column.directive.d.ts +54 -79
  21. package/src/treegrid/treegrid-all.module.d.ts +0 -6
  22. package/src/treegrid/treegrid.component.d.ts +1 -4
  23. package/src/treegrid/treegrid.module.d.ts +0 -10
  24. package/CHANGELOG.md +0 -260
  25. package/esm2020/public_api.mjs +0 -2
  26. package/esm2020/src/index.mjs +0 -9
  27. package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
  28. package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
  29. package/esm2020/src/treegrid/columns.directive.mjs +0 -100
  30. package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
  31. package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
  32. package/esm2020/src/treegrid/treegrid.component.mjs +0 -247
  33. package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
  34. package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
  35. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -710
  36. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  37. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -710
  38. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  39. 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-aggregate` directive represent a aggregate row of the Angular TreeGrid.
6
5
  * It must be contained in a TreeGrid component(`ejs-treegrid`).
@@ -26,17 +25,15 @@ export declare class AggregateDirective extends ComplexBase<AggregateDirective>
26
25
  childColumns: any;
27
26
  tags: string[];
28
27
  /**
29
- * Configures the aggregate columns.
28
+ * Configures the collection of aggregate columns.
30
29
  * @default []
31
30
  */
32
31
  columns: any;
33
32
  /**
34
- * Display the childSummary for each parent.
33
+ * Determines whether to display child summaries for each parent row.
35
34
  */
36
35
  showChildSummary: any;
37
36
  constructor(viewContainerRef: ViewContainerRef);
38
- static ɵfac: i0.ɵɵFactoryDeclaration<AggregateDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateDirective, "ejs-treegrid>e-aggregates>e-aggregate", never, { "columns": "columns"; "showChildSummary": "showChildSummary"; }, {}, ["childColumns"]>;
40
37
  }
41
38
  /**
42
39
  * Aggregate Array Directive
@@ -44,6 +41,4 @@ export declare class AggregateDirective extends ComplexBase<AggregateDirective>
44
41
  */
45
42
  export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
46
43
  constructor();
47
- static ɵfac: i0.ɵɵFactoryDeclaration<AggregatesDirective, never>;
48
- static ɵdir: i0.ɵɵDirectiveDeclaration<AggregatesDirective, "ejs-treegrid>e-aggregates", never, {}, {}, ["children"]>;
49
44
  }
@@ -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-column` directive represent a column of the Angular TreeGrid.
6
5
  * It must be contained in a TreeGrid component(`ejs-treegrid`).
@@ -19,60 +18,53 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
19
18
  childColumns: any;
20
19
  tags: string[];
21
20
  /**
22
- * Defines the data type of the column.
21
+ * Defines the type of data stored in the column, which may be string, number, date, or other types.
23
22
  * @default null
24
23
  */
25
24
  type: any;
26
25
  /**
27
- * If `allowEditing` set to false, then it disables editing of a particular column.
28
- * By default all columns are editable.
26
+ * Controls whether editing is permitted for the column. By default, all columns are editable.
29
27
  * @default true
30
28
  */
31
29
  allowEditing: any;
32
30
  /**
33
- * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
34
- * By default all columns are filterable.
31
+ * Controls whether the column supports filtering. If set to false, users cannot filter data by this column.
35
32
  * @default true
36
33
  */
37
34
  allowFiltering: any;
38
35
  /**
39
- * If `allowReordering` set to false, then it disables reorder of a particular column.
40
- * By default all columns can be reorder.
36
+ * Enables or disables the reordering of this column via drag-and-drop. Allows for dynamic column adjustments.
41
37
  * @default true
42
38
  */
43
39
  allowReordering: any;
44
40
  /**
45
- * If `allowResizing` set to false, it disables resize option of a particular column.
41
+ * Determines if this column can be resized. If false, the column size is fixed.
46
42
  * @default true
47
43
  */
48
44
  allowResizing: any;
49
45
  /**
50
- * If `allowSorting` set to false, then it disables sorting option of a particular column.
51
- * By default all columns are sortable.
46
+ * Specifies whether sorting is enabled for this column. Set to false to prevent sort actions.
52
47
  * @default true
53
48
  */
54
49
  allowSorting: any;
55
50
  /**
56
- * Defines the cell content's overflow mode. The available modes are
57
- *
58
- * also it will display tooltip while hover on ellipsis applied cell.
51
+ * Determines how overflow content is handled within a cell. Options include:
52
+ * * `Clip`: Truncates the content.
53
+ * * `Ellipsis`: Shows ellipsis for overflow.
54
+ * * `EllipsisWithTooltip`: Shows ellipsis and tooltip on hover.
59
55
  * @default Syncfusion.EJ2.Grids.ClipMode.Ellipsis
60
56
  * @isenumeration true
61
57
  * @asptype Syncfusion.EJ2.Grids.ClipMode
62
58
  */
63
59
  clipMode: any;
64
60
  /**
65
- * Used to render multiple header rows(stacked headers) on TreeGrid header.
61
+ * Allows for the creation of stacked headers by using multiple rows in the grid's header.
66
62
  * @default null
67
63
  */
68
64
  columns: any;
69
65
  /**
70
- * `commands` provides an option to display command buttons in every cell.
71
- * The available built-in command buttons are
72
- * * Edit - Edit the record.
73
- * * Delete - Delete the record.
74
- * * Save - Save the record.
75
- * * Cancel - Cancel the edit state.
66
+ * Provides built-in command button options for cells. Options include Edit, Delete, Save, and Cancel.
67
+ * Custom command button implementations are possible.
76
68
  *
77
69
  * The following code example implements the custom command column.
78
70
  *```html
@@ -99,53 +91,49 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
99
91
  */
100
92
  commands: any;
101
93
  /**
102
- * The CSS styles and attributes of the content cells of a particular column can be customized.
94
+ * Enables the addition of CSS styles and attributes for the content cells in a particular column.
103
95
  * @default null
104
96
  */
105
97
  customAttributes: any;
106
98
  /**
107
- * Defines default values for the component when adding a new record to the TreeGrid.
99
+ * Sets default values when new records are added to the TreeGrid involving this column.
108
100
  * @default null
109
101
  */
110
102
  defaultValue: any;
111
103
  /**
112
- * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
104
+ * If set to `true`, the HTML content within header and content cells is encoded to prevent injection attacks.
113
105
  * @default true
114
106
  */
115
107
  disableHtmlEncode: any;
116
108
  /**
117
- * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
109
+ * Displays the column value as a checkbox instead of a Boolean value when set to `true`.
118
110
  * @default false
119
111
  */
120
112
  displayAsCheckBox: any;
121
113
  /**
122
- * Defines the `IEditCell` object to customize default edit cell.
114
+ * Allows customizing the default edit cell through the `IEditCell` object for more control over editing.
123
115
  * @default {}
124
116
  */
125
117
  edit: any;
126
118
  /**
127
- * Defines the type of component for editing.
119
+ * Specifies the component type used for editing cells within this column.
128
120
  * @default 'stringedit'
129
121
  */
130
122
  editType: any;
131
123
  /**
132
- * Defines the field name of column which is mapped with mapping name of DataSource.
133
- * The bounded columns can be sort, filter etc.,
134
- * The `field` name must be a valid JavaScript identifier,
135
- * the first character must be an alphabet and should not contain spaces and special characters.
124
+ * Specifies the field name in the data source to which the column is bound. This field is used for operations like sorting and filtering.
125
+ * The field name must be a valid JavaScript identifier, beginning with a letter and avoiding spaces and special characters.
136
126
  * @default 'undefined'
137
127
  */
138
128
  field: any;
139
129
  /**
140
- * Defines the filter options to customize filtering for the particular column.
130
+ * Customizes filter options for the column, enabling specialized filtering functionality.
141
131
  * @default null
142
132
  */
143
133
  filter: any;
144
134
  /**
145
- * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
146
- * It have create and read functions.
147
- * * create: It is used for creating custom components.
148
- * * read: It is used to perform custom filter action.
135
+ * Allows for a custom component within the filter bar, facilitating advanced filter interfaces.
136
+ * Includes create and read functions for custom component management.
149
137
  *
150
138
  * ```html
151
139
  *<div id="TreeGrid"></div>
@@ -170,7 +158,7 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
170
158
  * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
171
159
  * }
172
160
  * }
173
- * }],
161
+ *}],
174
162
  * allowFiltering: true
175
163
  *});
176
164
  *gridObj.appendTo('#TreeGrid');
@@ -180,35 +168,33 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
180
168
  */
181
169
  filterBarTemplate: any;
182
170
  /**
183
- * It is used to change display value with the given format and does not affect the original data.
184
- * Gets the format from the user which can be standard or custom
185
- * [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
186
- * and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
171
+ * Formats the displayed value of the column without affecting the underlying data. Supports standard and custom formats for numbers and dates.
172
+ *
173
+ * References for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
174
+ *and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
187
175
  * @default null
188
176
  * @asptype string
189
177
  */
190
178
  format: any;
191
179
  /**
192
- * Defines the method which is used to achieve custom formatting from an external function.
193
- * This function triggers before rendering of each cell.
180
+ * Allows for custom cell content formatting using an external method, executed prior to rendering.
194
181
  * @default null
195
182
  */
196
183
  formatter: any;
197
184
  /**
198
- * Defines which side the column need to freeze
185
+ * Determines which side (left, right, or center) the column should be frozen on.
199
186
  * @default Syncfusion.EJ2.Grids.FreezeDirection.None
200
187
  * @isenumeration true
201
188
  * @asptype Syncfusion.EJ2.Grids.FreezeDirection
202
189
  */
203
190
  freeze: any;
204
191
  /**
205
- * Defines the header text of column which is used to display in column header.
206
- * If `headerText` is not defined, then field name value will be assigned to header text.
192
+ * Specifies the text displayed in the column header. If omitted, the `field` value is used as the header text.
207
193
  * @default 'undefined'
208
194
  */
209
195
  headerText: any;
210
196
  /**
211
- * Define the alignment of column header which is used to align the text of column header.
197
+ * Aligns the text in the column header. By default, the alignment corresponds to other content alignments.
212
198
  * @default null
213
199
  * @aspdefaultvalueignore
214
200
  * @isenumeration true
@@ -216,126 +202,117 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
216
202
  */
217
203
  headerTextAlign: any;
218
204
  /**
219
- * Column visibility can change based on [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
220
- * `hideAtMedia` accepts only valid Media Queries.
205
+ * Adjusts column visibility based on [Media Queries](http://cssmediaqueries.com/what-are-css-media-queries.html). Accepts valid CSS media query strings for responsive adjustments.
221
206
  * @default 'undefined'
222
207
  */
223
208
  hideAtMedia: any;
224
209
  /**
225
- * You can use this property to freeze selected columns in grid.
210
+ * Allows the column to be frozen, keeping it stationary while scrolling horizontally through the grid.
226
211
  * @default false
227
212
  */
228
213
  isFrozen: any;
229
214
  /**
230
- * If `isIdentity` is set to true, then this column is considered as identity column.
215
+ * Identifies the column as an identity column in database terms, if set to `true`.
231
216
  * @default false
232
217
  */
233
218
  isIdentity: any;
234
219
  /**
235
- * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
220
+ * Identifies the column as a primary key if set to `true`, enforcing uniqueness.
236
221
  * @default false
237
222
  */
238
223
  isPrimaryKey: any;
239
224
  /**
240
- * If `lockColumn` set to true, then it disables Reordering of a particular column.
241
- * The locked column will be moved to first position.
225
+ * Prevents column reordering when set to true, locking the column into a set position.
242
226
  * @default false
243
227
  */
244
228
  lockColumn: any;
245
229
  /**
246
- * Defines the maximum width of the column in pixels or percentage, which will restrict resizing beyond this pixels or percentage.
230
+ * Defines the maximum allowable width of the column in pixels or as a percentage, preventing resizing beyond this limit.
247
231
  * @default 'undefined'
248
232
  */
249
233
  maxWidth: any;
250
234
  /**
251
- * Defines the minimum width of the column in pixels or percentage.
235
+ * Determines the minimum width of the column in pixels or percentage. This ensures the column does not shrink below this size.
252
236
  * @default 'undefined'
253
237
  */
254
238
  minWidth: any;
255
239
  /**
256
- * If `showCheckbox` set to true, then the checkboxes will be displayed in particular column.
240
+ * Displays checkboxes in the column when enabled, allowing for selections and certain operations.
257
241
  * @default false
258
242
  */
259
243
  showCheckbox: any;
260
244
  /**
261
- * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
262
- * By default column menu will show for all columns
245
+ * Decides if the column menu should be available, providing options for column customization.
263
246
  * @default true
264
247
  */
265
248
  showColumnMenu: any;
266
249
  /**
267
- * If `showInColumnChooser` set to false, then hide the particular column in column chooser.
268
- * By default all columns are displayed in column Chooser.
250
+ * Determines whether the column should appear in the Column Chooser. Set to false to exclude it.
269
251
  * @default true
270
252
  */
271
253
  showInColumnChooser: any;
272
254
  /**
273
- * Defines the sort comparer property.
255
+ * Provides a custom sort comparer property to control how sorting is handled for this column's data.
274
256
  * @default 'undefined'
275
257
  */
276
258
  sortComparer: any;
277
259
  /**
278
- * Defines the alignment of the column in both header and content cells.
260
+ * Specifies the horizontal alignment for the column content and header. Options include alignment to the left, center, or right.
279
261
  * @default Syncfusion.EJ2.Grids.TextAlign.Left
280
262
  * @isenumeration true
281
263
  * @asptype Syncfusion.EJ2.Grids.TextAlign
282
264
  */
283
265
  textAlign: any;
284
266
  /**
285
- * Gets the unique identifier value of the column. It is used to get the object.
267
+ * Retrieves the unique identifier for the column. This UID is used internally to reference and manipulate the column.
286
268
  * @default 'undefined'
287
269
  */
288
270
  uid: any;
289
271
  /**
290
- * Defines rules to validate data before creating and updating.
272
+ * Establishes validation rules to ensure data integrity during creation and updates.
291
273
  * @default null
292
274
  */
293
275
  validationRules: any;
294
276
  /**
295
- * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
277
+ * Applies custom cell values using an external function, allowing for dynamic display adjustments.
296
278
  * @default null
297
279
  */
298
280
  valueAccessor: any;
299
281
  /**
300
- * If `visible` is set to false, hides the particular column. By default, columns are displayed.
282
+ * Toggles the visibility of the column. Set to false to hide the column from view. Columns are visible by default.
301
283
  * @default true
302
284
  */
303
285
  visible: any;
304
286
  /**
305
- * Defines the width of the column in pixels or percentage.
287
+ * Sets the column's width in pixels or as a percentage. This defines how the column will occupy space in the grid.
306
288
  * @default 'undefined'
307
289
  */
308
290
  width: any;
309
291
  /**
310
- * Defines the column template that renders customized element in each cell of the column.
311
- * It accepts either [template string](https://ej2.syncfusion.com/documentation/common/template-engine/) or HTML element ID.
292
+ * Customizes the rendering of cell content using either a template string or HTML element ID.
312
293
  * @default null
313
294
  * @asptype string
314
295
  */
315
296
  template: any;
316
297
  /**
317
- * Defines the header template as string or HTML element ID which is used to add customized element in the column header.
298
+ * Customizes the header content with a template, defined as a string or an HTML element ID.
318
299
  * @default null
319
300
  * @asptype string
320
301
  */
321
302
  headerTemplate: any;
322
303
  filter_itemTemplate: any;
323
304
  /**
324
- * Defines the filter template/UI that is used as filter for a particular column.
325
- * It accepts either template string or HTML element ID.
305
+ * Specifies a custom template or UI for filtering within this column, utilizing either string templates or HTML element IDs.
326
306
  * @aspignore
327
307
  */
328
308
  filterTemplate: any;
329
309
  commandsTemplate: any;
330
310
  /**
331
- * Defines the cell edit template that used as editor for a particular column.
332
- * It accepts either template string or HTML element ID.
311
+ * Provides a template for editing cells in this column, supporting either a template string or an HTML element ID.
333
312
  * @aspignore
334
313
  */
335
314
  editTemplate: any;
336
315
  constructor(viewContainerRef: ViewContainerRef);
337
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
338
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "ejs-treegrid>e-columns>e-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", "childColumns"]>;
339
316
  }
340
317
  /**
341
318
  * Column Array Directive
@@ -343,6 +320,4 @@ export declare class ColumnDirective extends ComplexBase<ColumnDirective> {
343
320
  */
344
321
  export declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
345
322
  constructor();
346
- static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>;
347
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-treegrid>e-columns", never, {}, {}, ["children"]>;
348
323
  }