@masterteam/client-components 0.0.57 → 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.57",
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.115",
20
- "@masterteam/dashboard-builder": "^0.0.57",
21
- "@masterteam/components": "^0.0.226",
22
- "@masterteam/icons": "^0.0.17"
19
+ "@masterteam/components": "^0.0.228",
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"
@@ -53,6 +53,11 @@ interface PreviewFetchSchema {
53
53
  }
54
54
  interface PreviewFetchCatalog {
55
55
  properties: PreviewFetchPropertyMeta[];
56
+ /**
57
+ * Catalog metadata for properties captured inside another property's value,
58
+ * keyed by the owning property key (e.g. a `LookupModuleCheckList`).
59
+ */
60
+ nestedProperties?: Record<string, PreviewFetchPropertyMeta[]>;
56
61
  }
57
62
  interface PreviewFetchRecordResponse {
58
63
  contextKey: string;
@@ -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
  }
@@ -251,6 +261,11 @@ interface ClientListFetchSchema {
251
261
  }
252
262
  interface ClientListFetchCatalog {
253
263
  properties: ClientListFetchPropertyMeta[];
264
+ /**
265
+ * Catalog metadata for properties captured inside another property's value,
266
+ * keyed by the owning property key (e.g. a `LookupModuleCheckList`).
267
+ */
268
+ nestedProperties?: Record<string, ClientListFetchPropertyMeta[]>;
254
269
  }
255
270
  interface ClientListFetchTableColumn {
256
271
  key: string;
@@ -560,13 +575,11 @@ declare class ClientListApiService {
560
575
  private readonly http;
561
576
  private readonly runtimeFetchBaseUrl;
562
577
  private readonly informativeBaseUrl;
563
- getRows(contextKey: ClientListRuntimeContext, instanceId: number, query: ClientListTableQuery, filters?: ClientListFetchRequestFilter[]): Observable<Response<RuntimeTableRowsResponse>>;
564
- getCards(contextKey: ClientListRuntimeContext, instanceId?: number | null, filters?: ClientListFetchRequestFilter[]): Observable<Response<ClientListCardsPayload>>;
578
+ getRows(contextKey: ClientListRuntimeContext, query: ClientListTableQuery, filters?: ClientListFetchRequestFilter[]): Observable<Response<RuntimeTableRowsResponse>>;
579
+ getCards(contextKey: ClientListRuntimeContext, filters?: ClientListFetchRequestFilter[]): Observable<Response<ClientListCardsPayload>>;
565
580
  getInformativeDashboard(levelId: number, moduleId: number): Observable<Response<ClientListInformativeDashboardPayload>>;
566
581
  private queryRuntime;
567
582
  private resolveTablePropertyKeys;
568
- private buildInstanceFilters;
569
- private mergeFilters;
570
583
  private toPage;
571
584
  private toEffectiveColumnKeys;
572
585
  private readTableSettingsContext;