@masterteam/client-components 0.0.112 → 0.0.113
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/fesm2022/masterteam-client-components-client-instance-preview.mjs +8 -6
- package/fesm2022/masterteam-client-components-client-instance-preview.mjs.map +1 -1
- package/fesm2022/masterteam-client-components-client-list.mjs +6 -34
- package/fesm2022/masterteam-client-components-client-list.mjs.map +1 -1
- package/package.json +5 -5
- package/types/masterteam-client-components-client-instance-preview.d.ts +7 -0
- package/types/masterteam-client-components-client-list.d.ts +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/client-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.113",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/client-components",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"rxjs": "^7.8.2",
|
|
17
17
|
"tailwindcss": "^4.2.2",
|
|
18
18
|
"tailwindcss-primeui": "^0.6.1",
|
|
19
|
-
"@masterteam/dashboard-builder": "^0.0.115",
|
|
20
|
-
"@masterteam/data-table": "^0.0.8",
|
|
21
19
|
"@masterteam/forms": "^0.0.173",
|
|
22
20
|
"@masterteam/icons": "^0.0.17",
|
|
23
|
-
"@masterteam/
|
|
24
|
-
"@masterteam/
|
|
21
|
+
"@masterteam/components": "^0.0.339",
|
|
22
|
+
"@masterteam/dashboard-builder": "^0.0.115",
|
|
23
|
+
"@masterteam/data-table": "^0.0.8",
|
|
24
|
+
"@masterteam/data-grid": "^0.0.5"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.8.1"
|
|
@@ -26,6 +26,13 @@ interface ClientInstancePreviewConfig {
|
|
|
26
26
|
* fields without changing the fetched record or the saved display config.
|
|
27
27
|
*/
|
|
28
28
|
transformEntities?: ClientInstancePreviewEntityTransform;
|
|
29
|
+
/**
|
|
30
|
+
* Mark the values the backend calculates (an icon beside the label) and
|
|
31
|
+
* show how they moved since this kind of surface last read them. Off by
|
|
32
|
+
* default: only a host that follows the record's recalculation, such as
|
|
33
|
+
* the level workspace, has anything live to show.
|
|
34
|
+
*/
|
|
35
|
+
calculatedValues?: boolean;
|
|
29
36
|
}
|
|
30
37
|
type ClientInstancePreviewEntityTransform = (entities: EntityData[], response: PreviewResponse) => EntityData[];
|
|
31
38
|
interface Response<T> {
|
|
@@ -266,6 +266,13 @@ interface ClientListFormConfiguration extends ClientListBaseConfiguration {
|
|
|
266
266
|
* {@link ClientListCardIndicatorsResolver}.
|
|
267
267
|
*/
|
|
268
268
|
cardIndicators?: ClientListCardIndicatorsResolver;
|
|
269
|
+
/**
|
|
270
|
+
* `areaType: 'table'` only — mark the cells the backend calculates and show
|
|
271
|
+
* how a number moved since a list of this context last read it. Cards never
|
|
272
|
+
* do. Off by default: only a host that follows the record's recalculation,
|
|
273
|
+
* such as the level workspace, has anything live to show.
|
|
274
|
+
*/
|
|
275
|
+
calculatedValues?: boolean;
|
|
269
276
|
/**
|
|
270
277
|
* `areaType: 'cards'` only — close the toolbar's filter drawer on a click
|
|
271
278
|
* outside it. Defaults to false (the drawer stays open until closed or
|
|
@@ -779,6 +786,7 @@ interface NormalizedClientListConfiguration {
|
|
|
779
786
|
runtimeRecordActions?: ClientListRuntimeRecordActionsConfig;
|
|
780
787
|
transformResult?: ClientListTableTransform;
|
|
781
788
|
cardIndicators?: ClientListCardIndicatorsResolver;
|
|
789
|
+
calculatedValues?: boolean;
|
|
782
790
|
filterCloseOnOutsideClick?: boolean;
|
|
783
791
|
}
|
|
784
792
|
interface ClientListContentTemplateContext {
|
|
@@ -884,7 +892,6 @@ declare class ClientListStateService {
|
|
|
884
892
|
* those that moved since a list of this context last read them.
|
|
885
893
|
*/
|
|
886
894
|
private observeRows;
|
|
887
|
-
private observeCards;
|
|
888
895
|
/** Active UI language for resolving localized display labels. */
|
|
889
896
|
private resolveActiveLang;
|
|
890
897
|
private createPropertyMaps;
|