@masterteam/client-components 0.0.58 → 0.0.59
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/client-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/client-components",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"rxjs": "^7.8.2",
|
|
17
17
|
"tailwindcss": "^4.2.2",
|
|
18
18
|
"tailwindcss-primeui": "^0.6.1",
|
|
19
|
-
"@masterteam/forms": "^0.0.117",
|
|
20
|
-
"@masterteam/dashboard-builder": "^0.0.59",
|
|
21
19
|
"@masterteam/components": "^0.0.228",
|
|
22
|
-
"@masterteam/icons": "^0.0.17"
|
|
20
|
+
"@masterteam/icons": "^0.0.17",
|
|
21
|
+
"@masterteam/forms": "^0.0.117",
|
|
22
|
+
"@masterteam/dashboard-builder": "^0.0.59"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.8.1"
|
|
@@ -128,7 +128,12 @@ interface ClientListFormConfiguration extends ClientListBaseConfiguration {
|
|
|
128
128
|
type?: 'form';
|
|
129
129
|
areaType?: ClientListAreaType;
|
|
130
130
|
contextKey: ClientListRuntimeContext;
|
|
131
|
+
/**
|
|
132
|
+
* Optional host/runtime metadata forwarded to row-action context. It does
|
|
133
|
+
* not add request filters; hosts own the complete `filters` array.
|
|
134
|
+
*/
|
|
131
135
|
instanceId?: number;
|
|
136
|
+
/** Complete filter array forwarded unchanged to `fetch/query`. */
|
|
132
137
|
filters?: ClientListFetchRequestFilter[];
|
|
133
138
|
mode?: ClientListMode;
|
|
134
139
|
columnKeys?: string[];
|
|
@@ -158,7 +163,12 @@ interface ClientListInformativeConfiguration extends ClientListBaseConfiguration
|
|
|
158
163
|
type: 'informative';
|
|
159
164
|
levelId: number;
|
|
160
165
|
moduleId: number;
|
|
166
|
+
/**
|
|
167
|
+
* Optional host/runtime metadata. It does not add dashboard filters; hosts
|
|
168
|
+
* own the complete `filters` array.
|
|
169
|
+
*/
|
|
161
170
|
instanceId?: number;
|
|
171
|
+
/** Complete filter array converted by key/value to dashboard extraFilters. */
|
|
162
172
|
filters?: ClientListFetchRequestFilter[];
|
|
163
173
|
areaType?: 'table';
|
|
164
174
|
}
|
|
@@ -565,13 +575,11 @@ declare class ClientListApiService {
|
|
|
565
575
|
private readonly http;
|
|
566
576
|
private readonly runtimeFetchBaseUrl;
|
|
567
577
|
private readonly informativeBaseUrl;
|
|
568
|
-
getRows(contextKey: ClientListRuntimeContext,
|
|
569
|
-
getCards(contextKey: ClientListRuntimeContext,
|
|
578
|
+
getRows(contextKey: ClientListRuntimeContext, query: ClientListTableQuery, filters?: ClientListFetchRequestFilter[]): Observable<Response<RuntimeTableRowsResponse>>;
|
|
579
|
+
getCards(contextKey: ClientListRuntimeContext, filters?: ClientListFetchRequestFilter[]): Observable<Response<ClientListCardsPayload>>;
|
|
570
580
|
getInformativeDashboard(levelId: number, moduleId: number): Observable<Response<ClientListInformativeDashboardPayload>>;
|
|
571
581
|
private queryRuntime;
|
|
572
582
|
private resolveTablePropertyKeys;
|
|
573
|
-
private buildInstanceFilters;
|
|
574
|
-
private mergeFilters;
|
|
575
583
|
private toPage;
|
|
576
584
|
private toEffectiveColumnKeys;
|
|
577
585
|
private readTableSettingsContext;
|