@acorex-platform/framework-shared 0.0.51 → 0.0.54
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.
|
@@ -8,6 +8,17 @@ export type AXPColumnAlign = AXPColumnContentAlign | {
|
|
|
8
8
|
header?: AXPColumnContentAlign;
|
|
9
9
|
cell?: AXPColumnContentAlign;
|
|
10
10
|
};
|
|
11
|
+
/** Aggregation over the full filtered set (every page), not the current page. */
|
|
12
|
+
export type AXPEntityColumnFooterOperation = 'sum' | 'avg' | 'min' | 'max' | 'count';
|
|
13
|
+
/**
|
|
14
|
+
* Column footer. The list loads this asynchronously from storage aggregate
|
|
15
|
+
* using the same filter as the table, ignoring skip/take.
|
|
16
|
+
*/
|
|
17
|
+
export interface AXPEntityColumnFooter {
|
|
18
|
+
operation: AXPEntityColumnFooterOperation;
|
|
19
|
+
/** Optional i18n key. Defaults to the operation label. */
|
|
20
|
+
title?: string;
|
|
21
|
+
}
|
|
11
22
|
/** Shared field definition for list layouts (table columns, card fields, etc.). */
|
|
12
23
|
export interface AXPEntityDisplayField {
|
|
13
24
|
name: string;
|
|
@@ -35,6 +46,11 @@ export interface AXPEntityTableColumn extends AXPEntityDisplayField {
|
|
|
35
46
|
/** Header/cell alignment (shorthand or per-side). */
|
|
36
47
|
align?: AXPColumnAlign;
|
|
37
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Footer cell for this column. Computed on the server for the whole filtered
|
|
51
|
+
* table and shown when the async aggregate returns.
|
|
52
|
+
*/
|
|
53
|
+
footer?: AXPEntityColumnFooter;
|
|
38
54
|
/** Nested header band. Children are further bands or leaf columns bound to properties. */
|
|
39
55
|
children?: AXPEntityTableColumn[];
|
|
40
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-display-field.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-display-field.types.ts"],"names":[],"mappings":"AAEA,qEAAqE;AACrE,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,qBAAqB,GACrB;IACE,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEN,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC/B,CAAC;IACF,OAAO,CAAC,EAAE;QACR;;;;WAIG;QACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC3B,oDAAoD;QACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB;IACjE,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,GAAG;QAC3C,qEAAqE;QACrE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,qDAAqD;QACrD,KAAK,CAAC,EAAE,cAAc,CAAC;KACxB,CAAC;IACF,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACnC"}
|
|
1
|
+
{"version":3,"file":"entity-display-field.types.d.ts","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-display-field.types.ts"],"names":[],"mappings":"AAEA,qEAAqE;AACrE,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE/D;;;GAGG;AACH,MAAM,MAAM,cAAc,GACtB,qBAAqB,GACrB;IACE,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEN,iFAAiF;AACjF,MAAM,MAAM,8BAA8B,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,CAAC;AAErF;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,8BAA8B,CAAC;IAC1C,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,mFAAmF;AACnF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC/B,CAAC;IACF,OAAO,CAAC,EAAE;QACR;;;;WAIG;QACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC3B,oDAAoD;QACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC;KACrB,CAAC;CACH;AAED,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB;IACjE,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,GAAG;QAC3C,qEAAqE;QACrE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,qDAAqD;QACrD,KAAK,CAAC,EAAE,cAAc,CAAC;KACxB,CAAC;IACF;;;OAGG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-display-field.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-display-field.types.ts"],"names":[],"mappings":";AAAA,yCAAyC;;
|
|
1
|
+
{"version":3,"file":"entity-display-field.types.js","sourceRoot":"","sources":["../../../../../../../../libs/framework/shared/entity/src/lib/types/entity-display-field.types.ts"],"names":[],"mappings":";AAAA,yCAAyC;;AAkEzC,YAAY"}
|