@smartbit4all/ng-client 6.0.52 → 6.0.53
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/esm2022/lib/smart-client/smart-component-api-client.mjs +13 -1
- package/esm2022/lib/view-context/smart-view-context.service.mjs +4 -2
- package/fesm2022/smartbit4all-ng-client.mjs +15 -1
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +6 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-6.0.53.tgz +0 -0
- package/smartbit4all-ng-client-6.0.52.tgz +0 -0
|
@@ -16,6 +16,11 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
16
16
|
protected element?: ElementRef<any> | undefined;
|
|
17
17
|
protected renderer?: Renderer2 | undefined;
|
|
18
18
|
protected _destroy$: Subject<void>;
|
|
19
|
+
/**
|
|
20
|
+
* The in-flight {@link run}, so the two run() calls of a mount share one load.
|
|
21
|
+
* Keyed by uuid: view reuse sets a new uuid, and must not join the stale run.
|
|
22
|
+
*/
|
|
23
|
+
private runInFlight;
|
|
19
24
|
private detectChange;
|
|
20
25
|
private _uuid?;
|
|
21
26
|
protected componentModelLoaded: boolean;
|
|
@@ -87,6 +92,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
87
92
|
initActions(): void;
|
|
88
93
|
setupAllToolbars(toolbars: UiActionToolbarComponent[], toolbarsWithoutId: UiActionToolbarComponent[], toolbarModels: Map<string, UiActionModel[]>): Promise<void>;
|
|
89
94
|
run(): Promise<void>;
|
|
95
|
+
private doRun;
|
|
90
96
|
load(): Promise<void>;
|
|
91
97
|
executeUiAction(uiAction: UiAction, options?: ExecuteUiActionOptions): Promise<void>;
|
|
92
98
|
addDataChangeActionHandler(key: string, valueChangeMode: ValueChangeMode): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.53",
|
|
4
4
|
"description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
|
|
Binary file
|
|
Binary file
|