@masterteam/client-components 0.0.58 → 0.0.60

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.58",
3
+ "version": "0.0.60",
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
- "@masterteam/components": "^0.0.228",
22
- "@masterteam/icons": "^0.0.17"
19
+ "@masterteam/dashboard-builder": "^0.0.65",
20
+ "@masterteam/forms": "^0.0.119",
21
+ "@masterteam/icons": "^0.0.17",
22
+ "@masterteam/components": "^0.0.231"
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
  }
@@ -454,6 +464,8 @@ declare class ClientListStateService {
454
464
  private orderRecords;
455
465
  private resolvePrimarySchema;
456
466
  private toEntityData;
467
+ /** Active UI language for resolving localized display labels. */
468
+ private resolveActiveLang;
457
469
  private createPropertyMaps;
458
470
  private resolvePropertyMeta;
459
471
  private buildCardDescriptors;
@@ -565,13 +577,11 @@ declare class ClientListApiService {
565
577
  private readonly http;
566
578
  private readonly runtimeFetchBaseUrl;
567
579
  private readonly informativeBaseUrl;
568
- getRows(contextKey: ClientListRuntimeContext, instanceId: number, query: ClientListTableQuery, filters?: ClientListFetchRequestFilter[]): Observable<Response<RuntimeTableRowsResponse>>;
569
- getCards(contextKey: ClientListRuntimeContext, instanceId?: number | null, filters?: ClientListFetchRequestFilter[]): Observable<Response<ClientListCardsPayload>>;
580
+ getRows(contextKey: ClientListRuntimeContext, query: ClientListTableQuery, filters?: ClientListFetchRequestFilter[]): Observable<Response<RuntimeTableRowsResponse>>;
581
+ getCards(contextKey: ClientListRuntimeContext, filters?: ClientListFetchRequestFilter[]): Observable<Response<ClientListCardsPayload>>;
570
582
  getInformativeDashboard(levelId: number, moduleId: number): Observable<Response<ClientListInformativeDashboardPayload>>;
571
583
  private queryRuntime;
572
584
  private resolveTablePropertyKeys;
573
- private buildInstanceFilters;
574
- private mergeFilters;
575
585
  private toPage;
576
586
  private toEffectiveColumnKeys;
577
587
  private readTableSettingsContext;