@syncfusion/ej2-angular-treegrid 31.1.17-ngcc → 31.1.20-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 (115) hide show
  1. package/@syncfusion/ej2-angular-treegrid.es5.js +797 -797
  2. package/@syncfusion/ej2-angular-treegrid.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-treegrid.js +725 -725
  4. package/@syncfusion/ej2-angular-treegrid.js.map +1 -1
  5. package/CHANGELOG.md +255 -0
  6. package/dist/ej2-angular-treegrid.umd.js +790 -789
  7. package/dist/ej2-angular-treegrid.umd.js.map +1 -1
  8. package/dist/ej2-angular-treegrid.umd.min.js +2 -2
  9. package/dist/ej2-angular-treegrid.umd.min.js.map +1 -1
  10. package/ej2-angular-treegrid.d.ts +5 -5
  11. package/ej2-angular-treegrid.metadata.json +1 -1
  12. package/{LICENSE → license} +10 -10
  13. package/package.json +46 -30
  14. package/postinstall/tagchange.js +18 -0
  15. package/public_api.d.ts +1 -1
  16. package/schematics/collection.json +19 -10
  17. package/schematics/generators/treegrid-default/index.d.ts +3 -0
  18. package/schematics/generators/treegrid-default/index.js +8 -0
  19. package/schematics/generators/treegrid-default/index.ts +8 -0
  20. package/schematics/generators/treegrid-default/sample-details.d.ts +5 -0
  21. package/schematics/generators/treegrid-default/sample-details.js +7 -0
  22. package/schematics/generators/treegrid-default/sample-details.ts +5 -0
  23. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  24. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  25. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +143 -0
  26. package/schematics/generators/treegrid-default/schema.d.ts +3 -0
  27. package/schematics/generators/treegrid-default/schema.js +2 -0
  28. package/schematics/generators/treegrid-default/schema.json +125 -0
  29. package/schematics/generators/treegrid-default/schema.ts +3 -0
  30. package/schematics/generators/treegrid-feature/index.d.ts +3 -0
  31. package/schematics/generators/treegrid-feature/index.js +8 -0
  32. package/schematics/generators/treegrid-feature/index.ts +8 -0
  33. package/schematics/generators/treegrid-feature/sample-details.d.ts +5 -0
  34. package/schematics/generators/treegrid-feature/sample-details.js +7 -0
  35. package/schematics/generators/treegrid-feature/sample-details.ts +5 -0
  36. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  37. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  38. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +144 -0
  39. package/schematics/generators/treegrid-feature/schema.d.ts +3 -0
  40. package/schematics/generators/treegrid-feature/schema.js +2 -0
  41. package/schematics/generators/treegrid-feature/schema.json +125 -0
  42. package/schematics/generators/treegrid-feature/schema.ts +3 -0
  43. package/schematics/ng-add/index.ts +10 -10
  44. package/schematics/ng-add/schema.json +34 -34
  45. package/schematics/ng-add/schema.ts +30 -30
  46. package/schematics/tsconfig.json +25 -25
  47. package/schematics/utils/lib-details.d.ts +2 -2
  48. package/schematics/utils/lib-details.js +2 -2
  49. package/schematics/utils/lib-details.ts +4 -4
  50. package/src/index.d.ts +8 -8
  51. package/src/treegrid/aggregate-columns.directive.d.ts +88 -86
  52. package/src/treegrid/aggregates.directive.d.ts +44 -44
  53. package/src/treegrid/columns.directive.d.ts +345 -323
  54. package/src/treegrid/stacked-column.directive.d.ts +347 -325
  55. package/src/treegrid/treegrid-all.module.d.ts +27 -27
  56. package/src/treegrid/treegrid.component.d.ts +121 -121
  57. package/src/treegrid/treegrid.module.d.ts +5 -5
  58. package/styles/bds-lite.css +0 -1
  59. package/styles/bds-lite.scss +0 -1
  60. package/styles/bds.css +0 -1
  61. package/styles/bds.scss +0 -1
  62. package/styles/bootstrap-dark-lite.css +0 -1
  63. package/styles/bootstrap-dark-lite.scss +0 -1
  64. package/styles/bootstrap-lite.css +0 -1
  65. package/styles/bootstrap-lite.scss +0 -1
  66. package/styles/bootstrap4-lite.css +0 -1
  67. package/styles/bootstrap4-lite.scss +0 -1
  68. package/styles/bootstrap5-dark-lite.css +0 -1
  69. package/styles/bootstrap5-dark-lite.scss +0 -1
  70. package/styles/bootstrap5-lite.css +0 -1
  71. package/styles/bootstrap5-lite.scss +0 -1
  72. package/styles/bootstrap5.3-lite.css +0 -1
  73. package/styles/bootstrap5.3-lite.scss +0 -1
  74. package/styles/bootstrap5.3.css +0 -1
  75. package/styles/bootstrap5.3.scss +0 -1
  76. package/styles/fabric-dark-lite.css +0 -1
  77. package/styles/fabric-dark-lite.scss +0 -1
  78. package/styles/fabric-lite.css +0 -1
  79. package/styles/fabric-lite.scss +0 -1
  80. package/styles/fluent-dark-lite.css +0 -1
  81. package/styles/fluent-dark-lite.scss +0 -1
  82. package/styles/fluent-lite.css +0 -1
  83. package/styles/fluent-lite.scss +0 -1
  84. package/styles/fluent2-lite.css +0 -1
  85. package/styles/fluent2-lite.scss +0 -1
  86. package/styles/fluent2.css +0 -1
  87. package/styles/fluent2.scss +0 -1
  88. package/styles/highcontrast-light-lite.css +0 -1
  89. package/styles/highcontrast-light-lite.scss +0 -1
  90. package/styles/highcontrast-lite.css +0 -1
  91. package/styles/highcontrast-lite.scss +0 -1
  92. package/styles/material-dark-lite.css +0 -1
  93. package/styles/material-dark-lite.scss +0 -1
  94. package/styles/material-lite.css +0 -1
  95. package/styles/material-lite.scss +0 -1
  96. package/styles/material3-dark-lite.css +0 -1
  97. package/styles/material3-dark-lite.scss +0 -1
  98. package/styles/material3-lite.css +0 -1
  99. package/styles/material3-lite.scss +0 -1
  100. package/styles/tailwind-dark-lite.css +0 -1
  101. package/styles/tailwind-dark-lite.scss +0 -1
  102. package/styles/tailwind-lite.css +0 -1
  103. package/styles/tailwind-lite.scss +0 -1
  104. package/styles/tailwind3-lite.css +0 -1
  105. package/styles/tailwind3-lite.scss +0 -1
  106. package/styles/tailwind3.css +0 -1
  107. package/styles/tailwind3.scss +0 -1
  108. package/styles/treegrid/bds.css +0 -1
  109. package/styles/treegrid/bds.scss +0 -1
  110. package/styles/treegrid/bootstrap5.3.css +0 -1
  111. package/styles/treegrid/bootstrap5.3.scss +0 -1
  112. package/styles/treegrid/fluent2.css +0 -1
  113. package/styles/treegrid/fluent2.scss +0 -1
  114. package/styles/treegrid/tailwind3.css +0 -1
  115. package/styles/treegrid/tailwind3.scss +0 -1
@@ -1,25 +1,25 @@
1
- {
2
- "compilerOptions": {
3
- "lib": ["es2017", "dom"],
4
- "module": "commonjs",
5
- "moduleResolution": "node",
6
- "noEmitOnError": false,
7
- "skipDefaultLibCheck": true,
8
- "skipLibCheck": true,
9
- "sourceMap": true,
10
- "target": "es6",
11
- "declaration": true,
12
- "types": [
13
- "jasmine",
14
- "node"
15
- ]
16
- },
17
- "exclude": [
18
- "node_modules",
19
- "src",
20
- "src/**/*.ts",
21
- "spec",
22
- "spec/**/*.ts",
23
- "@typings"
24
- ]
25
- }
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["es2017", "dom"],
4
+ "module": "commonjs",
5
+ "moduleResolution": "node",
6
+ "noEmitOnError": false,
7
+ "skipDefaultLibCheck": true,
8
+ "skipLibCheck": true,
9
+ "sourceMap": true,
10
+ "target": "es6",
11
+ "declaration": true,
12
+ "types": [
13
+ "jasmine",
14
+ "node"
15
+ ]
16
+ },
17
+ "exclude": [
18
+ "node_modules",
19
+ "src",
20
+ "src/**/*.ts",
21
+ "spec",
22
+ "spec/**/*.ts",
23
+ "@typings"
24
+ ]
25
+ }
@@ -1,4 +1,4 @@
1
1
  export declare const pkgName = "@syncfusion/ej2-angular-treegrid";
2
- export declare const pkgVer = "^30.2.4";
2
+ export declare const pkgVer = "^25.1.37";
3
3
  export declare const moduleName = "TreeGridModule";
4
- export declare const themeVer = "~30.2.4";
4
+ export declare const themeVer = "~25.1.37";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.pkgName = '@syncfusion/ej2-angular-treegrid';
4
- exports.pkgVer = '^31.1.17';
4
+ exports.pkgVer = '^31.1.20';
5
5
  exports.moduleName = 'TreeGridModule';
6
- exports.themeVer = '~31.1.17';
6
+ exports.themeVer = '~31.1.20';
@@ -1,4 +1,4 @@
1
- export const pkgName = '@syncfusion/ej2-angular-treegrid';
2
- export const pkgVer = '^31.1.17';
3
- export const moduleName = 'TreeGridModule';
4
- export const themeVer = '~31.1.17';
1
+ export const pkgName = '@syncfusion/ej2-angular-treegrid';
2
+ export const pkgVer = '^31.1.20';
3
+ export const moduleName = 'TreeGridModule';
4
+ export const themeVer = '~31.1.20';
package/src/index.d.ts CHANGED
@@ -1,8 +1,8 @@
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';
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';
@@ -1,86 +1,88 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- /**
4
- * `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
5
- * ```html
6
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
7
- * <e-columns>
8
- * <e-column field='ID' width='100'></e-column>
9
- * <e-column field='name' headerText='Name' width='100'></e-column>
10
- * </e-columns>
11
- * <e-aggregates>
12
- * <e-aggregate>
13
- * <e-columns>
14
- * <e-column field='ID' type='Min'></e-column>
15
- * </e-columns>
16
- * </e-aggregate>
17
- * </e-aggregates>
18
- * </ejs-treegrid>
19
- * ```
20
- */
21
- export declare class AggregateColumnDirective extends ComplexBase<AggregateColumnDirective> {
22
- private viewContainerRef;
23
- directivePropList: any;
24
- /**
25
- * Defines the aggregate type(s) for a particular column.
26
- * To apply multiple aggregates to a single column, specify the `type` as an array.
27
- * Available aggregate types include:
28
- * * `sum`: Calculates the sum of all values in a column.
29
- * * `average`: Computes the average of the column values.
30
- * * `max`: Finds the maximum value in a column.
31
- * * `min`: Finds the minimum value in a column.
32
- * * `count`: Counts the number of records.
33
- * * `falsecount`: Counts the number of false values.
34
- * * `truecount`: Counts the number of true values.
35
- * * `custom`: Allows for a custom aggregate function.
36
- *
37
- * Use `custom` to specify a custom aggregation.
38
- *
39
- * @asptype string
40
- * @default null
41
- */
42
- type: any;
43
- /**
44
- * Specifies the column name to display the aggregate value. If not defined, the `field` name is used by default.
45
- * @default null
46
- */
47
- columnName: any;
48
- /**
49
- * Defines a custom function to calculate the aggregate value. The `type` must be set to `custom`.
50
- * Use the custom value as `${custom}` in templates.
51
- * * `Total aggregation`: The custom function is called with the entire dataset and the current `AggregateColumn` object.
52
- * * `Group aggregation`: It is called with the current group details and the `AggregateColumn` object.
53
- * @default null
54
- */
55
- customAggregate: any;
56
- /**
57
- * Specifies the column name on which to perform the aggregation.
58
- * @default null
59
- */
60
- field: any;
61
- /**
62
- * Specifies the format to be applied to the calculated aggregate value before display.
63
- * Supports both standard and custom formats for numbers and dates.
64
- * Refer to the Syncfusion documentation for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
65
- * and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
66
- * @asptype string
67
- * @default null
68
- */
69
- format: any;
70
- /**
71
- * Defines a template for the footer cell of the aggregate column.
72
- * Use the aggregate `type` names within the template to access aggregate values.
73
- * @default null
74
- * @asptype string
75
-
76
- */
77
- footerTemplate: any;
78
- constructor(viewContainerRef: ViewContainerRef);
79
- }
80
- /**
81
- * AggregateColumn Array Directive
82
- * @private
83
- */
84
- export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
85
- constructor();
86
- }
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
+ /**
4
+ * `e-aggregate->e-column` directive represent a aggregate column of the Angular TreeGrid.
5
+ * ```html
6
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
7
+ * <e-columns>
8
+ * <e-column field='ID' width='100'></e-column>
9
+ * <e-column field='name' headerText='Name' width='100'></e-column>
10
+ * </e-columns>
11
+ * <e-aggregates>
12
+ * <e-aggregate>
13
+ * <e-columns>
14
+ * <e-column field='ID' type='Min'></e-column>
15
+ * </e-columns>
16
+ * </e-aggregate>
17
+ * </e-aggregates>
18
+ * </ejs-treegrid>
19
+ * ```
20
+ */
21
+ export declare class AggregateColumnDirective extends ComplexBase<AggregateColumnDirective> {
22
+ private viewContainerRef;
23
+ directivePropList: any;
24
+ /**
25
+ * Defines the aggregate type of a particular column.
26
+ * To use multiple aggregates for single column, specify the `type` as array.
27
+ * Types of aggregate are,
28
+ * * sum
29
+ * * average
30
+ * * max
31
+ * * min
32
+ * * count
33
+ * * falsecount
34
+ * * truecount
35
+ * * custom
36
+ * > Specify the `type` value as `custom` to use custom aggregation.
37
+ * @asptype string
38
+ * @default null
39
+ */
40
+ type: any;
41
+ /**
42
+ * Defines the column name to display the aggregate value. If `columnName` is not defined,
43
+ * then `field` name value will be assigned to the `columnName` property.
44
+ * @default null
45
+ */
46
+ columnName: any;
47
+ /**
48
+ * Defines a function to calculate custom aggregate value. The `type` value should be set to `custom`.
49
+ * To use custom aggregate value in the template, use the key as `${custom}`.
50
+ * **Total aggregation**: The custom function will be called with the whole data and the current `AggregateColumn` object.
51
+ * **Group aggregation**: This will be called with the current group details and the `AggregateColumn` object.
52
+ * @default null
53
+ */
54
+ customAggregate: any;
55
+ /**
56
+ * Defines the column name to perform aggregation.
57
+ * @default null
58
+ */
59
+ field: any;
60
+ /**
61
+ * Format is applied to a calculated value before it is displayed.
62
+ * Gets the format from the user, which can be standard or custom
63
+ * [`number`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
64
+ * and [`date`](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string-1) formats.
65
+ * @asptype string
66
+ * @default null
67
+ */
68
+ format: any;
69
+ /**
70
+ * Defines the footer cell template as a string for the aggregate column.
71
+ * The `type` name should be used to access aggregate values inside the template.
72
+ *
73
+ * {% codeBlock src="grid/footer-template-api/index.ts" %}{% endcodeBlock %}
74
+ *
75
+ * @default null
76
+ * @asptype string
77
+
78
+ */
79
+ footerTemplate: any;
80
+ constructor(viewContainerRef: ViewContainerRef);
81
+ }
82
+ /**
83
+ * AggregateColumn Array Directive
84
+ * @private
85
+ */
86
+ export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
87
+ constructor();
88
+ }
@@ -1,44 +1,44 @@
1
- import { ViewContainerRef } from '@angular/core';
2
- import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- /**
4
- * `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
5
- * It must be contained in a TreeGrid component(`ejs-treegrid`).
6
- * ```html
7
- * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
8
- * <e-columns>
9
- * <e-column field='ID' width='100'></e-column>
10
- * <e-column field='name' headerText='Name' width='100'></e-column>
11
- * </e-columns>
12
- * <e-aggregates>
13
- * <e-aggregate>
14
- * <e-columns>
15
- * <e-column field='ID' type='Min'></e-column>
16
- * </e-columns>
17
- * </e-aggregate>
18
- * </e-aggregates>
19
- * </ejs-treegrid>
20
- * ```
21
- */
22
- export declare class AggregateDirective extends ComplexBase<AggregateDirective> {
23
- private viewContainerRef;
24
- directivePropList: any;
25
- childColumns: any;
26
- tags: string[];
27
- /**
28
- * Configures the collection of aggregate columns.
29
- * @default []
30
- */
31
- columns: any;
32
- /**
33
- * Determines whether to display child summaries for each parent row.
34
- */
35
- showChildSummary: any;
36
- constructor(viewContainerRef: ViewContainerRef);
37
- }
38
- /**
39
- * Aggregate Array Directive
40
- * @private
41
- */
42
- export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
43
- constructor();
44
- }
1
+ import { ViewContainerRef } from '@angular/core';
2
+ import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
+ /**
4
+ * `e-aggregate` directive represent a aggregate row of the Angular TreeGrid.
5
+ * It must be contained in a TreeGrid component(`ejs-treegrid`).
6
+ * ```html
7
+ * <ejs-treegrid [dataSource]='data' allowPaging='true' allowSorting='true'>
8
+ * <e-columns>
9
+ * <e-column field='ID' width='100'></e-column>
10
+ * <e-column field='name' headerText='Name' width='100'></e-column>
11
+ * </e-columns>
12
+ * <e-aggregates>
13
+ * <e-aggregate>
14
+ * <e-columns>
15
+ * <e-column field='ID' type='Min'></e-column>
16
+ * </e-columns>
17
+ * </e-aggregate>
18
+ * </e-aggregates>
19
+ * </ejs-treegrid>
20
+ * ```
21
+ */
22
+ export declare class AggregateDirective extends ComplexBase<AggregateDirective> {
23
+ private viewContainerRef;
24
+ directivePropList: any;
25
+ childColumns: any;
26
+ tags: string[];
27
+ /**
28
+ * Configures the aggregate columns.
29
+ * @default []
30
+ */
31
+ columns: any;
32
+ /**
33
+ * Display the childSummary for each parent.
34
+ */
35
+ showChildSummary: any;
36
+ constructor(viewContainerRef: ViewContainerRef);
37
+ }
38
+ /**
39
+ * Aggregate Array Directive
40
+ * @private
41
+ */
42
+ export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
43
+ constructor();
44
+ }