@syncfusion/ej2-angular-treegrid 31.1.17 → 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 (128) 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/CHANGELOG.md +71 -12
  6. package/dist/ej2-angular-treegrid.umd.js +979 -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 +14 -42
  14. package/postinstall/tagchange.js +18 -0
  15. package/schematics/collection.json +19 -10
  16. package/schematics/generators/treegrid-default/index.d.ts +3 -0
  17. package/schematics/generators/treegrid-default/index.js +8 -0
  18. package/schematics/generators/treegrid-default/index.ts +8 -0
  19. package/schematics/generators/treegrid-default/sample-details.d.ts +5 -0
  20. package/schematics/generators/treegrid-default/sample-details.js +7 -0
  21. package/schematics/generators/treegrid-default/sample-details.ts +5 -0
  22. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  23. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +10 -0
  24. package/schematics/generators/treegrid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +143 -0
  25. package/schematics/generators/treegrid-default/schema.d.ts +3 -0
  26. package/schematics/generators/treegrid-default/schema.js +2 -0
  27. package/schematics/generators/treegrid-default/schema.json +125 -0
  28. package/schematics/generators/treegrid-default/schema.ts +3 -0
  29. package/schematics/generators/treegrid-feature/index.d.ts +3 -0
  30. package/schematics/generators/treegrid-feature/index.js +8 -0
  31. package/schematics/generators/treegrid-feature/index.ts +8 -0
  32. package/schematics/generators/treegrid-feature/sample-details.d.ts +5 -0
  33. package/schematics/generators/treegrid-feature/sample-details.js +7 -0
  34. package/schematics/generators/treegrid-feature/sample-details.ts +5 -0
  35. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  36. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  37. package/schematics/generators/treegrid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +144 -0
  38. package/schematics/generators/treegrid-feature/schema.d.ts +3 -0
  39. package/schematics/generators/treegrid-feature/schema.js +2 -0
  40. package/schematics/generators/treegrid-feature/schema.json +125 -0
  41. package/schematics/generators/treegrid-feature/schema.ts +3 -0
  42. package/schematics/ng-add/index.ts +10 -10
  43. package/schematics/ng-add/schema.json +34 -34
  44. package/schematics/ng-add/schema.ts +30 -30
  45. package/schematics/tsconfig.json +25 -25
  46. package/schematics/utils/lib-details.d.ts +2 -2
  47. package/schematics/utils/lib-details.js +2 -2
  48. package/schematics/utils/lib-details.ts +4 -4
  49. package/src/treegrid/aggregate-columns.directive.d.ts +28 -31
  50. package/src/treegrid/aggregates.directive.d.ts +2 -7
  51. package/src/treegrid/columns.directive.d.ts +77 -60
  52. package/src/treegrid/stacked-column.directive.d.ts +77 -60
  53. package/src/treegrid/treegrid-all.module.d.ts +0 -6
  54. package/src/treegrid/treegrid.component.d.ts +1 -23
  55. package/src/treegrid/treegrid.module.d.ts +0 -10
  56. package/esm2020/public_api.mjs +0 -2
  57. package/esm2020/src/index.mjs +0 -9
  58. package/esm2020/src/treegrid/aggregate-columns.directive.mjs +0 -72
  59. package/esm2020/src/treegrid/aggregates.directive.mjs +0 -69
  60. package/esm2020/src/treegrid/columns.directive.mjs +0 -100
  61. package/esm2020/src/treegrid/stacked-column.directive.mjs +0 -100
  62. package/esm2020/src/treegrid/treegrid-all.module.mjs +0 -89
  63. package/esm2020/src/treegrid/treegrid.component.mjs +0 -271
  64. package/esm2020/src/treegrid/treegrid.module.mjs +0 -61
  65. package/esm2020/syncfusion-ej2-angular-treegrid.mjs +0 -5
  66. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs +0 -734
  67. package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  68. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -734
  69. package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
  70. package/styles/bds-lite.css +0 -1
  71. package/styles/bds-lite.scss +0 -1
  72. package/styles/bds.css +0 -1
  73. package/styles/bds.scss +0 -1
  74. package/styles/bootstrap-dark-lite.css +0 -1
  75. package/styles/bootstrap-dark-lite.scss +0 -1
  76. package/styles/bootstrap-lite.css +0 -1
  77. package/styles/bootstrap-lite.scss +0 -1
  78. package/styles/bootstrap4-lite.css +0 -1
  79. package/styles/bootstrap4-lite.scss +0 -1
  80. package/styles/bootstrap5-dark-lite.css +0 -1
  81. package/styles/bootstrap5-dark-lite.scss +0 -1
  82. package/styles/bootstrap5-lite.css +0 -1
  83. package/styles/bootstrap5-lite.scss +0 -1
  84. package/styles/bootstrap5.3-lite.css +0 -1
  85. package/styles/bootstrap5.3-lite.scss +0 -1
  86. package/styles/bootstrap5.3.css +0 -1
  87. package/styles/bootstrap5.3.scss +0 -1
  88. package/styles/fabric-dark-lite.css +0 -1
  89. package/styles/fabric-dark-lite.scss +0 -1
  90. package/styles/fabric-lite.css +0 -1
  91. package/styles/fabric-lite.scss +0 -1
  92. package/styles/fluent-dark-lite.css +0 -1
  93. package/styles/fluent-dark-lite.scss +0 -1
  94. package/styles/fluent-lite.css +0 -1
  95. package/styles/fluent-lite.scss +0 -1
  96. package/styles/fluent2-lite.css +0 -1
  97. package/styles/fluent2-lite.scss +0 -1
  98. package/styles/fluent2.css +0 -1
  99. package/styles/fluent2.scss +0 -1
  100. package/styles/highcontrast-light-lite.css +0 -1
  101. package/styles/highcontrast-light-lite.scss +0 -1
  102. package/styles/highcontrast-lite.css +0 -1
  103. package/styles/highcontrast-lite.scss +0 -1
  104. package/styles/material-dark-lite.css +0 -1
  105. package/styles/material-dark-lite.scss +0 -1
  106. package/styles/material-lite.css +0 -1
  107. package/styles/material-lite.scss +0 -1
  108. package/styles/material3-dark-lite.css +0 -1
  109. package/styles/material3-dark-lite.scss +0 -1
  110. package/styles/material3-lite.css +0 -1
  111. package/styles/material3-lite.scss +0 -1
  112. package/styles/tailwind-dark-lite.css +0 -1
  113. package/styles/tailwind-dark-lite.scss +0 -1
  114. package/styles/tailwind-lite.css +0 -1
  115. package/styles/tailwind-lite.scss +0 -1
  116. package/styles/tailwind3-lite.css +0 -1
  117. package/styles/tailwind3-lite.scss +0 -1
  118. package/styles/tailwind3.css +0 -1
  119. package/styles/tailwind3.scss +0 -1
  120. package/styles/treegrid/bds.css +0 -1
  121. package/styles/treegrid/bds.scss +0 -1
  122. package/styles/treegrid/bootstrap5.3.css +0 -1
  123. package/styles/treegrid/bootstrap5.3.scss +0 -1
  124. package/styles/treegrid/fluent2.css +0 -1
  125. package/styles/treegrid/fluent2.scss +0 -1
  126. package/styles/treegrid/tailwind3.css +0 -1
  127. package/styles/treegrid/tailwind3.scss +0 -1
  128. package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
@@ -1,10 +1,10 @@
1
- import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
2
- import { install } from '@syncfusion/ej2-angular-base/schematics';
3
- import { OptionsSchema, LibOptionsSchema } from './schema';
4
- import { Rule } from '@angular-devkit/schematics';
5
-
6
- export default function (options: OptionsSchema): Rule {
7
- const libOptions: LibOptionsSchema = Object.assign({},
8
- { 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
9
- return install(options, libOptions);
10
- }
1
+ import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
2
+ import { install } from '@syncfusion/ej2-angular-base/schematics';
3
+ import { OptionsSchema, LibOptionsSchema } from './schema';
4
+ import { Rule } from '@angular-devkit/schematics';
5
+
6
+ export default function (options: OptionsSchema): Rule {
7
+ const libOptions: LibOptionsSchema = Object.assign({},
8
+ { 'pkgName': pkgName, 'pkgVer': pkgVer, 'moduleName': moduleName, 'themeVer': themeVer });
9
+ return install(options, libOptions);
10
+ }
@@ -1,34 +1,34 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "ngAdd",
4
- "title": "Add Essential JS 2 Angular packages",
5
- "type": "object",
6
- "properties": {
7
- "skipPackageJson": {
8
- "type": "boolean",
9
- "default": false,
10
- "description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
11
- },
12
- "modules": {
13
- "type": "string",
14
- "default": "",
15
- "description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
16
- },
17
- "modulePath": {
18
- "type": "string",
19
- "default": "",
20
- "description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
21
- },
22
- "theme": {
23
- "enum": [
24
- "material",
25
- "fabric",
26
- "bootstrap",
27
- "highcontrast"
28
- ],
29
- "default": "material",
30
- "description": "Used to change the theme that needs to be imported"
31
- }
32
- },
33
- "required": []
34
- }
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "ngAdd",
4
+ "title": "Add Essential JS 2 Angular packages",
5
+ "type": "object",
6
+ "properties": {
7
+ "skipPackageJson": {
8
+ "type": "boolean",
9
+ "default": false,
10
+ "description": "Do not add add Essential JS 2 Angular packages dependencies to package.json (e.g., --skipPackageJson)"
11
+ },
12
+ "modules": {
13
+ "type": "string",
14
+ "default": "",
15
+ "description": "Add only specific Essential JS 2 modules to the app.module file (eg: --modules=slider, grid)"
16
+ },
17
+ "modulePath": {
18
+ "type": "string",
19
+ "default": "",
20
+ "description": "Used to specify the path of the module file where the EJ2 module needs to be imported"
21
+ },
22
+ "theme": {
23
+ "enum": [
24
+ "material",
25
+ "fabric",
26
+ "bootstrap",
27
+ "highcontrast"
28
+ ],
29
+ "default": "material",
30
+ "description": "Used to change the theme that needs to be imported"
31
+ }
32
+ },
33
+ "required": []
34
+ }
@@ -1,30 +1,30 @@
1
- export interface OptionsSchema {
2
- // Whether to skip package.json install.
3
- skipPackageJson: boolean;
4
-
5
- // Used to specify required module names
6
- modules: string;
7
-
8
- // Used to specify custom module path
9
- modulePath: string;
10
-
11
- // Used to specify theme name
12
- theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
13
-
14
- // Name of the project to target.
15
- project?: string;
16
- }
17
-
18
- export interface LibOptionsSchema {
19
- // Package name
20
- pkgName: string;
21
-
22
- // Package version
23
- pkgVer: string;
24
-
25
- // Library base module name
26
- moduleName: string;
27
-
28
- // Theme version
29
- themeVer: string;
30
- }
1
+ export interface OptionsSchema {
2
+ // Whether to skip package.json install.
3
+ skipPackageJson: boolean;
4
+
5
+ // Used to specify required module names
6
+ modules: string;
7
+
8
+ // Used to specify custom module path
9
+ modulePath: string;
10
+
11
+ // Used to specify theme name
12
+ theme: 'material' | 'fabric' | 'bootstrap' | 'highcontrast';
13
+
14
+ // Name of the project to target.
15
+ project?: string;
16
+ }
17
+
18
+ export interface LibOptionsSchema {
19
+ // Package name
20
+ pkgName: string;
21
+
22
+ // Package version
23
+ pkgVer: string;
24
+
25
+ // Library base module name
26
+ moduleName: string;
27
+
28
+ // Theme version
29
+ themeVer: string;
30
+ }
@@ -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';
@@ -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->e-column` directive represent a aggregate column of the Angular TreeGrid.
6
5
  * ```html
@@ -23,62 +22,62 @@ export declare class AggregateColumnDirective extends ComplexBase<AggregateColum
23
22
  private viewContainerRef;
24
23
  directivePropList: any;
25
24
  /**
26
- * Defines the aggregate type(s) for a particular column.
27
- * To apply multiple aggregates to a single column, specify the `type` as an array.
28
- * Available aggregate types include:
29
- * * `sum`: Calculates the sum of all values in a column.
30
- * * `average`: Computes the average of the column values.
31
- * * `max`: Finds the maximum value in a column.
32
- * * `min`: Finds the minimum value in a column.
33
- * * `count`: Counts the number of records.
34
- * * `falsecount`: Counts the number of false values.
35
- * * `truecount`: Counts the number of true values.
36
- * * `custom`: Allows for a custom aggregate function.
37
- *
38
- * Use `custom` to specify a custom aggregation.
39
- *
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.
40
37
  * @asptype string
41
38
  * @default null
42
39
  */
43
40
  type: any;
44
41
  /**
45
- * Specifies the column name to display the aggregate value. If not defined, the `field` name is used by default.
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.
46
44
  * @default null
47
45
  */
48
46
  columnName: any;
49
47
  /**
50
- * Defines a custom function to calculate the aggregate value. The `type` must be set to `custom`.
51
- * Use the custom value as `${custom}` in templates.
52
- * * `Total aggregation`: The custom function is called with the entire dataset and the current `AggregateColumn` object.
53
- * * `Group aggregation`: It is called with the current group details and the `AggregateColumn` object.
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.
54
52
  * @default null
55
53
  */
56
54
  customAggregate: any;
57
55
  /**
58
- * Specifies the column name on which to perform the aggregation.
56
+ * Defines the column name to perform aggregation.
59
57
  * @default null
60
58
  */
61
59
  field: any;
62
60
  /**
63
- * Specifies the format to be applied to the calculated aggregate value before display.
64
- * Supports both standard and custom formats for numbers and dates.
65
- * Refer to the Syncfusion documentation for [number](https://ej2.syncfusion.com/documentation/common/internationalization/#supported-format-string)
66
- * and [date](https://ej2.syncfusion.com/documentation/common/internationalization#date-formatting) formats.
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.
67
65
  * @asptype string
68
66
  * @default null
69
67
  */
70
68
  format: any;
71
69
  /**
72
- * Defines a template for the footer cell of the aggregate column.
73
- * Use the aggregate `type` names within the template to access aggregate values.
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
+ *
74
75
  * @default null
75
76
  * @asptype string
76
77
 
77
78
  */
78
79
  footerTemplate: any;
79
80
  constructor(viewContainerRef: ViewContainerRef);
80
- static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnDirective, never>;
81
- static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnDirective, "ejs-treegrid>e-aggregates>e-aggregate>e-columns>e-column", never, { "columnName": "columnName"; "customAggregate": "customAggregate"; "field": "field"; "footerTemplate": "footerTemplate"; "format": "format"; "type": "type"; }, {}, ["footerTemplate"]>;
82
81
  }
83
82
  /**
84
83
  * AggregateColumn Array Directive
@@ -86,6 +85,4 @@ export declare class AggregateColumnDirective extends ComplexBase<AggregateColum
86
85
  */
87
86
  export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
88
87
  constructor();
89
- static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnsDirective, never>;
90
- static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnsDirective, "ejs-treegrid>e-aggregates>e-aggregate>e-columns", never, {}, {}, ["children"]>;
91
88
  }
@@ -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 collection of aggregate columns.
28
+ * Configures the aggregate columns.
30
29
  * @default []
31
30
  */
32
31
  columns: any;
33
32
  /**
34
- * Determines whether to display child summaries for each parent row.
33
+ * Display the childSummary for each parent.
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
  }