@masterteam/client-components 0.0.115 → 0.0.117

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.115",
3
+ "version": "0.0.117",
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/forms": "^0.0.173",
20
- "@masterteam/components": "^0.0.342",
21
- "@masterteam/icons": "^0.0.17",
19
+ "@masterteam/forms": "^0.0.174",
20
+ "@masterteam/components": "^0.0.349",
21
+ "@masterteam/dashboard-builder": "^0.0.125",
22
22
  "@masterteam/data-grid": "^0.0.6",
23
- "@masterteam/data-table": "^0.0.10",
24
- "@masterteam/dashboard-builder": "^0.0.121"
23
+ "@masterteam/icons": "^0.0.17",
24
+ "@masterteam/data-table": "^0.0.10"
25
25
  },
26
26
  "dependencies": {
27
27
  "tslib": "^2.8.1"
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { OnDestroy } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as _masterteam_components_entities from '@masterteam/components/entities';
5
- import { EntityRuntimeContext, EntityData, EntityViewType, EntityCalculationStatus } from '@masterteam/components/entities';
5
+ import { EntityRuntimeContext, EntityData, EntityViewType, EntityCalculationStatus, EntityCalculationRefresher } from '@masterteam/components/entities';
6
6
 
7
7
  interface ClientInstancePreviewConfig {
8
8
  contextKey: string;
@@ -140,7 +140,7 @@ interface PreviewResponse {
140
140
  displayConfigurations: DisplayConfiguration[];
141
141
  }
142
142
 
143
- declare class ClientInstancePreview implements OnDestroy {
143
+ declare class ClientInstancePreview implements OnDestroy, EntityCalculationRefresher {
144
144
  private readonly clientInstancePreviewApiService;
145
145
  private readonly transloco;
146
146
  private readonly runtimeContextStore;
@@ -193,6 +193,8 @@ declare class ClientInstancePreview implements OnDestroy {
193
193
  * caller subscribes and owns the errors.
194
194
  */
195
195
  refresh(): Observable<PreviewResponse | null>;
196
+ /** Re-reads the record in place; a failure leaves the values as they are. */
197
+ refreshStaleCalculatedValue(): void;
196
198
  ngOnDestroy(): void;
197
199
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClientInstancePreview, never>;
198
200
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClientInstancePreview, "mt-client-instance-preview", never, { "config": { "alias": "config"; "required": true; "isSignal": true; }; "hideEmptyState": { "alias": "hideEmptyState"; "required": false; "isSignal": true; }; "stackOnNarrow": { "alias": "stackOnNarrow"; "required": false; "isSignal": true; }; "calculation": { "alias": "calculation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;