@syncfusion/ej2-angular-grids 32.1.21 → 32.1.22-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-grids.es5.js +1008 -0
- package/@syncfusion/ej2-angular-grids.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-grids.js +947 -0
- package/@syncfusion/ej2-angular-grids.js.map +1 -0
- package/LICENSE +10 -0
- package/README.md +9 -17
- package/dist/ej2-angular-grids.umd.js +1634 -0
- package/dist/ej2-angular-grids.umd.js.map +1 -0
- package/dist/ej2-angular-grids.umd.min.js +11 -0
- package/dist/ej2-angular-grids.umd.min.js.map +1 -0
- package/ej2-angular-grids.d.ts +6 -0
- package/ej2-angular-grids.metadata.json +1 -0
- package/package.json +47 -29
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/grid/aggregate-columns.directive.d.ts +114 -119
- package/src/grid/aggregates.directive.d.ts +40 -45
- package/src/grid/columns.directive.d.ts +479 -484
- package/src/grid/grid-all.module.d.ts +30 -36
- package/src/grid/grid.component.d.ts +163 -168
- package/src/grid/grid.module.d.ts +5 -15
- package/src/grid/stacked-column.directive.d.ts +481 -486
- package/src/index.d.ts +11 -11
- package/src/pager/pager-all.module.d.ts +5 -11
- package/src/pager/pager.component.d.ts +40 -43
- package/src/pager/pager.module.d.ts +5 -11
- package/styles/bds-lite.scss +1 -1
- package/styles/bds.scss +2 -2
- package/styles/bootstrap-dark-lite.scss +1 -1
- package/styles/bootstrap-dark.scss +2 -2
- package/styles/bootstrap-lite.scss +1 -1
- package/styles/bootstrap.scss +2 -2
- package/styles/bootstrap4-lite.scss +1 -1
- package/styles/bootstrap4.scss +2 -2
- package/styles/bootstrap5-dark-lite.scss +1 -1
- package/styles/bootstrap5-dark.scss +2 -2
- package/styles/bootstrap5-lite.scss +1 -1
- package/styles/bootstrap5.3-lite.scss +1 -1
- package/styles/bootstrap5.3.scss +2 -2
- package/styles/bootstrap5.scss +2 -2
- package/styles/excel-filter/bds.scss +1 -1
- package/styles/excel-filter/bootstrap-dark.scss +1 -1
- package/styles/excel-filter/bootstrap.scss +1 -1
- package/styles/excel-filter/bootstrap4.scss +1 -1
- package/styles/excel-filter/bootstrap5-dark.scss +1 -1
- package/styles/excel-filter/bootstrap5.3.scss +1 -1
- package/styles/excel-filter/bootstrap5.scss +1 -1
- package/styles/excel-filter/fabric-dark.scss +1 -1
- package/styles/excel-filter/fabric.scss +1 -1
- package/styles/excel-filter/fluent-dark.scss +1 -1
- package/styles/excel-filter/fluent.scss +1 -1
- package/styles/excel-filter/fluent2.scss +1 -1
- package/styles/excel-filter/highcontrast-light.scss +1 -1
- package/styles/excel-filter/highcontrast.scss +1 -1
- package/styles/excel-filter/material-dark.scss +1 -1
- package/styles/excel-filter/material.scss +1 -1
- package/styles/excel-filter/material3-dark.scss +2 -1
- package/styles/excel-filter/material3.scss +2 -1
- package/styles/excel-filter/tailwind-dark.scss +1 -1
- package/styles/excel-filter/tailwind.scss +1 -1
- package/styles/excel-filter/tailwind3.scss +1 -1
- package/styles/fabric-dark-lite.scss +1 -1
- package/styles/fabric-dark.scss +2 -2
- package/styles/fabric-lite.scss +1 -1
- package/styles/fabric.scss +2 -2
- package/styles/fluent-dark-lite.scss +1 -1
- package/styles/fluent-dark.scss +2 -2
- package/styles/fluent-lite.scss +1 -1
- package/styles/fluent.scss +2 -2
- package/styles/fluent2-lite.scss +1 -1
- package/styles/fluent2.scss +2 -2
- package/styles/grid/bds.scss +1 -1
- package/styles/grid/bootstrap-dark.scss +1 -1
- package/styles/grid/bootstrap.scss +1 -1
- package/styles/grid/bootstrap4.scss +1 -1
- package/styles/grid/bootstrap5-dark.scss +1 -1
- package/styles/grid/bootstrap5.3.scss +1 -1
- package/styles/grid/bootstrap5.scss +1 -1
- package/styles/grid/fabric-dark.scss +1 -1
- package/styles/grid/fabric.scss +1 -1
- package/styles/grid/fluent-dark.scss +1 -1
- package/styles/grid/fluent.scss +1 -1
- package/styles/grid/fluent2.scss +1 -1
- package/styles/grid/highcontrast-light.scss +1 -1
- package/styles/grid/highcontrast.scss +1 -1
- package/styles/grid/material-dark.scss +1 -1
- package/styles/grid/material.scss +1 -1
- package/styles/grid/material3-dark.scss +2 -1
- package/styles/grid/material3.scss +2 -1
- package/styles/grid/tailwind-dark.scss +1 -1
- package/styles/grid/tailwind.scss +1 -1
- package/styles/grid/tailwind3.scss +1 -1
- package/styles/highcontrast-light-lite.scss +1 -1
- package/styles/highcontrast-light.scss +2 -2
- package/styles/highcontrast-lite.scss +1 -1
- package/styles/highcontrast.scss +2 -2
- package/styles/material-dark-lite.scss +1 -1
- package/styles/material-dark.scss +2 -2
- package/styles/material-lite.scss +1 -1
- package/styles/material.scss +2 -2
- package/styles/material3-dark-lite.scss +1 -1
- package/styles/material3-dark.scss +3 -2
- package/styles/material3-lite.scss +1 -1
- package/styles/material3.scss +3 -2
- package/styles/tailwind-dark-lite.scss +1 -1
- package/styles/tailwind-dark.scss +2 -2
- package/styles/tailwind-lite.scss +1 -1
- package/styles/tailwind.scss +2 -2
- package/styles/tailwind3-lite.scss +1 -1
- package/styles/tailwind3.scss +2 -2
- package/CHANGELOG.md +0 -2814
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/grid/aggregate-columns.directive.mjs +0 -84
- package/esm2020/src/grid/aggregates.directive.mjs +0 -69
- package/esm2020/src/grid/columns.directive.mjs +0 -100
- package/esm2020/src/grid/grid-all.module.mjs +0 -98
- package/esm2020/src/grid/grid.component.mjs +0 -298
- package/esm2020/src/grid/grid.module.mjs +0 -61
- package/esm2020/src/grid/stacked-column.directive.mjs +0 -100
- package/esm2020/src/index.mjs +0 -12
- package/esm2020/src/pager/pager-all.module.mjs +0 -23
- package/esm2020/src/pager/pager.component.mjs +0 -66
- package/esm2020/src/pager/pager.module.mjs +0 -25
- package/esm2020/syncfusion-ej2-angular-grids.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-grids.mjs +0 -881
- package/fesm2015/syncfusion-ej2-angular-grids.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-grids.mjs +0 -881
- package/fesm2020/syncfusion-ej2-angular-grids.mjs.map +0 -1
- package/syncfusion-ej2-angular-grids.d.ts +0 -5
|
@@ -1,119 +1,114 @@
|
|
|
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
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* @
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* * **
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* @
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
|
|
116
|
-
constructor();
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnsDirective, never>;
|
|
118
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnsDirective, "ejs-grid>e-aggregates>e-aggregate>e-columns", never, {}, {}, ["children"]>;
|
|
119
|
-
}
|
|
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 Grid.
|
|
5
|
+
* ```html
|
|
6
|
+
* <ejs-grid [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-grid>
|
|
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
|
+
* * truecount
|
|
34
|
+
* * falsecount
|
|
35
|
+
* * custom
|
|
36
|
+
* > Specify the `type` value as `custom` to use custom aggregation.
|
|
37
|
+
* @default null
|
|
38
|
+
* @asptype string
|
|
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`](../../common/internationalization/#number-formatting/)
|
|
64
|
+
* and [`date`](../../common/internationalization/#number-formatting/) formats.
|
|
65
|
+
* @asptype string
|
|
66
|
+
* @blazortype string
|
|
67
|
+
* @default null
|
|
68
|
+
*/
|
|
69
|
+
format: any;
|
|
70
|
+
/**
|
|
71
|
+
* Defines the footer cell template as a string for the aggregate column.
|
|
72
|
+
* The `type` name should be used to access aggregate values inside the template.
|
|
73
|
+
*
|
|
74
|
+
* {% codeBlock src="grid/footer-template-api/index.ts" %}{% endcodeBlock %}
|
|
75
|
+
*
|
|
76
|
+
* @default null
|
|
77
|
+
* @asptype string
|
|
78
|
+
*/
|
|
79
|
+
footerTemplate: any;
|
|
80
|
+
/**
|
|
81
|
+
* Defines the group footer cell template as a string for the aggregate column.
|
|
82
|
+
* The `type` name should be used to access aggregate values inside the template.
|
|
83
|
+
* Additionally, the following fields can be accessed in the template.
|
|
84
|
+
* * **field**: The current grouped field.
|
|
85
|
+
* * **key**: The current grouped value.
|
|
86
|
+
*
|
|
87
|
+
* {% codeBlock src="grid/group-footer-api/index.ts" %}{% endcodeBlock %}
|
|
88
|
+
*
|
|
89
|
+
* @default null
|
|
90
|
+
* @asptype string
|
|
91
|
+
*/
|
|
92
|
+
groupFooterTemplate: any;
|
|
93
|
+
/**
|
|
94
|
+
* Defines the group caption cell template as a string for the aggregate column.
|
|
95
|
+
* The `type` name should be used to access aggregate values inside the template.
|
|
96
|
+
* Additionally, the following fields can be accessed in the template.
|
|
97
|
+
* * **field**: The current grouped field name.
|
|
98
|
+
* * **key**: The current grouped field value.
|
|
99
|
+
*
|
|
100
|
+
* {% codeBlock src="grid/group-caption-api/index.ts" %}{% endcodeBlock %}
|
|
101
|
+
*
|
|
102
|
+
* @default null
|
|
103
|
+
* @asptype string
|
|
104
|
+
*/
|
|
105
|
+
groupCaptionTemplate: any;
|
|
106
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* AggregateColumn Array Directive
|
|
110
|
+
* @private
|
|
111
|
+
*/
|
|
112
|
+
export declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
|
|
113
|
+
constructor();
|
|
114
|
+
}
|
|
@@ -1,45 +1,40 @@
|
|
|
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
|
-
export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
|
|
42
|
-
constructor();
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AggregatesDirective, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregatesDirective, "ejs-grid>e-aggregates", never, {}, {}, ["children"]>;
|
|
45
|
-
}
|
|
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 Grid.
|
|
5
|
+
* It must be contained in a Grid component(`ejs-grid`).
|
|
6
|
+
* ```html
|
|
7
|
+
* <ejs-grid [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-grid>
|
|
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
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Aggregate Array Directive
|
|
36
|
+
* @private
|
|
37
|
+
*/
|
|
38
|
+
export declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
|
|
39
|
+
constructor();
|
|
40
|
+
}
|