@syncfusion/ej2-angular-treegrid 30.1.38 → 30.2.4-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/LICENSE +10 -0
- package/dist/ej2-angular-treegrid.umd.js +978 -0
- package/dist/ej2-angular-treegrid.umd.js.map +1 -0
- package/dist/ej2-angular-treegrid.umd.min.js +11 -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/package.json +17 -61
- package/public_api.d.ts +1 -1
- 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/index.d.ts +8 -8
- package/src/treegrid/aggregate-columns.directive.d.ts +86 -91
- package/src/treegrid/aggregates.directive.d.ts +44 -49
- package/src/treegrid/columns.directive.d.ts +323 -328
- package/src/treegrid/stacked-column.directive.d.ts +325 -330
- package/src/treegrid/treegrid-all.module.d.ts +27 -33
- package/src/treegrid/treegrid.component.d.ts +121 -124
- package/src/treegrid/treegrid.module.d.ts +5 -15
- package/CHANGELOG.md +0 -214
- 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 -247
- 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 -710
- package/fesm2015/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs +0 -710
- package/fesm2020/syncfusion-ej2-angular-treegrid.mjs.map +0 -1
- package/syncfusion-ej2-angular-treegrid.d.ts +0 -5
@@ -1,91 +1,86 @@
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
3
|
-
|
4
|
-
|
5
|
-
*
|
6
|
-
*
|
7
|
-
*
|
8
|
-
*
|
9
|
-
* <e-column field='
|
10
|
-
*
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
*
|
27
|
-
*
|
28
|
-
*
|
29
|
-
* * `
|
30
|
-
* * `
|
31
|
-
* * `
|
32
|
-
* * `
|
33
|
-
* * `
|
34
|
-
* * `
|
35
|
-
* * `
|
36
|
-
*
|
37
|
-
*
|
38
|
-
*
|
39
|
-
*
|
40
|
-
* @
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
*
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
*
|
51
|
-
*
|
52
|
-
* * `
|
53
|
-
*
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
*
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
*
|
64
|
-
*
|
65
|
-
*
|
66
|
-
*
|
67
|
-
* @
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
*
|
73
|
-
*
|
74
|
-
* @
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
|
88
|
-
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
|
-
}
|
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,49 +1,44 @@
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
2
|
-
import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
|
3
|
-
|
4
|
-
|
5
|
-
*
|
6
|
-
*
|
7
|
-
*
|
8
|
-
*
|
9
|
-
*
|
10
|
-
* <e-column field='
|
11
|
-
*
|
12
|
-
*
|
13
|
-
*
|
14
|
-
*
|
15
|
-
*
|
16
|
-
*
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
*
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
|
46
|
-
constructor();
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregatesDirective, never>;
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregatesDirective, "ejs-treegrid>e-aggregates", never, {}, {}, ["children"]>;
|
49
|
-
}
|
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
|
+
}
|