igniteui-angular 15.0.4 → 15.0.5
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/esm2020/lib/grids/grid/grid.summary.pipe.mjs +3 -3
- package/esm2020/lib/grids/summaries/grid-summary.mjs +13 -13
- package/esm2020/lib/grids/summaries/grid-summary.service.mjs +3 -3
- package/fesm2015/igniteui-angular.mjs +16 -16
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +16 -16
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/grids/summaries/grid-summary.d.ts +10 -9
- package/lib/grids/summaries/grid-summary.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IGroupByRecord } from '../../data-operations/groupby-record.interface';
|
|
1
2
|
export interface ISummaryExpression {
|
|
2
3
|
fieldName: string;
|
|
3
4
|
customSummary?: any;
|
|
@@ -51,7 +52,7 @@ export declare class IgxSummaryOperand {
|
|
|
51
52
|
* constructor() {
|
|
52
53
|
* super();
|
|
53
54
|
* }
|
|
54
|
-
* public operate(data: any[], allData: any[], fieldName: string): IgxSummaryResult[] {
|
|
55
|
+
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
55
56
|
* const result = [];
|
|
56
57
|
* result.push({
|
|
57
58
|
* key: "test",
|
|
@@ -66,7 +67,7 @@ export declare class IgxSummaryOperand {
|
|
|
66
67
|
*
|
|
67
68
|
* @memberof IgxSummaryOperand
|
|
68
69
|
*/
|
|
69
|
-
operate(data?: any[], allData?: any[], fieldName?: string): IgxSummaryResult[];
|
|
70
|
+
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
70
71
|
}
|
|
71
72
|
export declare class IgxNumberSummaryOperand extends IgxSummaryOperand {
|
|
72
73
|
/**
|
|
@@ -124,8 +125,8 @@ export declare class IgxNumberSummaryOperand extends IgxSummaryOperand {
|
|
|
124
125
|
* constructor() {
|
|
125
126
|
* super();
|
|
126
127
|
* }
|
|
127
|
-
* public operate(data: any[], allData: any[], fieldName: string): IgxSummaryResult[] {
|
|
128
|
-
* const result = super.operate(data, allData, fieldName);
|
|
128
|
+
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
129
|
+
* const result = super.operate(data, allData, fieldName, groupRecord);
|
|
129
130
|
* result.push({
|
|
130
131
|
* key: "avg",
|
|
131
132
|
* label: "Avg",
|
|
@@ -144,7 +145,7 @@ export declare class IgxNumberSummaryOperand extends IgxSummaryOperand {
|
|
|
144
145
|
*
|
|
145
146
|
* @memberof IgxNumberSummaryOperand
|
|
146
147
|
*/
|
|
147
|
-
operate(data?: any[], allData?: any[], fieldName?: string): IgxSummaryResult[];
|
|
148
|
+
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
148
149
|
}
|
|
149
150
|
export declare class IgxDateSummaryOperand extends IgxSummaryOperand {
|
|
150
151
|
/**
|
|
@@ -182,8 +183,8 @@ export declare class IgxDateSummaryOperand extends IgxSummaryOperand {
|
|
|
182
183
|
* constructor() {
|
|
183
184
|
* super();
|
|
184
185
|
* }
|
|
185
|
-
* public operate(data: any[], allData: any[], fieldName: string): IgxSummaryResult[] {
|
|
186
|
-
* const result = super.operate(data, allData, fieldName);
|
|
186
|
+
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
187
|
+
* const result = super.operate(data, allData, fieldName, groupRecord);
|
|
187
188
|
* result.push({
|
|
188
189
|
* key: "deadline",
|
|
189
190
|
* label: "Deadline Date",
|
|
@@ -197,7 +198,7 @@ export declare class IgxDateSummaryOperand extends IgxSummaryOperand {
|
|
|
197
198
|
*
|
|
198
199
|
* @memberof IgxDateSummaryOperand
|
|
199
200
|
*/
|
|
200
|
-
operate(data?: any[], allData?: any[], fieldName?: string): IgxSummaryResult[];
|
|
201
|
+
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
201
202
|
}
|
|
202
203
|
export declare class IgxTimeSummaryOperand extends IgxSummaryOperand {
|
|
203
204
|
/**
|
|
@@ -223,5 +224,5 @@ export declare class IgxTimeSummaryOperand extends IgxSummaryOperand {
|
|
|
223
224
|
/**
|
|
224
225
|
* @memberof IgxTimeSummaryOperand
|
|
225
226
|
*/
|
|
226
|
-
operate(data?: any[], allData?: any[], fieldName?: string): IgxSummaryResult[];
|
|
227
|
+
operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IGroupByRecord): IgxSummaryResult[];
|
|
227
228
|
}
|
|
@@ -15,7 +15,7 @@ export declare class IgxGridSummaryService {
|
|
|
15
15
|
removeSummaries(rowID: any, columnName?: any): void;
|
|
16
16
|
removeSummariesCachePerColumn(columnName: any): void;
|
|
17
17
|
calcMaxSummaryHeight(): number;
|
|
18
|
-
calculateSummaries(rowID: any, data: any): Map<string, any[]>;
|
|
18
|
+
calculateSummaries(rowID: any, data: any, groupRecord: any): Map<string, any[]>;
|
|
19
19
|
resetSummaryHeight(): void;
|
|
20
20
|
updateSummaryCache(groupingArgs: any): void;
|
|
21
21
|
get hasSummarizedColumns(): boolean;
|
package/package.json
CHANGED