@smartbit4all/ng-client 7.3.47 → 7.3.48
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": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.48",
|
|
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
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
Binary file
|
|
@@ -10017,6 +10017,7 @@ interface SmarttreeConfiguration {
|
|
|
10017
10017
|
}
|
|
10018
10018
|
declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]> implements UiActionExecutor {
|
|
10019
10019
|
protected pageName: string;
|
|
10020
|
+
private readonly resolveViewUuid?;
|
|
10020
10021
|
uiActionDescriptors: Map<string, UiActionDescriptor>;
|
|
10021
10022
|
selectedNode?: SmartTreeNode;
|
|
10022
10023
|
/**
|
|
@@ -10036,7 +10037,7 @@ declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]>
|
|
|
10036
10037
|
* manually (SmartComponentApiClient.createTreeService), where DI cannot fill a parameter. */
|
|
10037
10038
|
private smartConfig;
|
|
10038
10039
|
private iconService;
|
|
10039
|
-
constructor(inject: Injector, pageName: string, treeId: string);
|
|
10040
|
+
constructor(inject: Injector, pageName: string, treeId: string, resolveViewUuid?: (() => string) | undefined);
|
|
10040
10041
|
constructUiActionModels(uiActions: UiAction[]): void;
|
|
10041
10042
|
configureTree(configuration: SmarttreeConfiguration): void;
|
|
10042
10043
|
initialize(): Promise<void>;
|
|
@@ -10046,6 +10047,11 @@ declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]>
|
|
|
10046
10047
|
onTreeNodeClick(treeNode: SmartTreeNode): void;
|
|
10047
10048
|
selectFolder(folderUri: string, treeNode?: SmartTreeNode): Promise<void>;
|
|
10048
10049
|
isDownloadedForAnotherView(): boolean;
|
|
10050
|
+
/**
|
|
10051
|
+
* The page client hands its own view's uuid, which inside a dialog is the dialog's: the
|
|
10052
|
+
* page-name entry may point at another view of the same page.
|
|
10053
|
+
*/
|
|
10054
|
+
private viewUuid;
|
|
10049
10055
|
updateTreeOnTheFly(): Promise<void>;
|
|
10050
10056
|
syncTree(): void;
|
|
10051
10057
|
/**
|
|
@@ -10073,7 +10079,7 @@ declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]>
|
|
|
10073
10079
|
performNodeUiActionRequest(uiActionRequest: UiActionRequest): Promise<any>;
|
|
10074
10080
|
performMainUiActionRequest(uiActionRequest: UiActionRequest): Promise<any>;
|
|
10075
10081
|
handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
|
|
10076
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmarttreeGenericService,
|
|
10082
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmarttreeGenericService, [null, null, null, { optional: true; }]>;
|
|
10077
10083
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmarttreeGenericService>;
|
|
10078
10084
|
}
|
|
10079
10085
|
|
|
@@ -10490,6 +10496,12 @@ declare abstract class SmartComponentApiClient<T> implements UiActionExecutor {
|
|
|
10490
10496
|
setUpDefaultTree(treeId: string): void;
|
|
10491
10497
|
createTreeService(treeId: string): SmarttreeGenericService;
|
|
10492
10498
|
addFileUploader(uiActionCode: string, fileFormats?: string[], maxSizeMb?: number, isMultiple?: boolean): SmartComponentFileUploader;
|
|
10499
|
+
/**
|
|
10500
|
+
* Slot-hosted views (NORMAL/EMBEDDED) get their uuid injected at creation. DIALOG views are
|
|
10501
|
+
* not slot-hosted: they read it from the dialog data, and fall back to the pageName ->
|
|
10502
|
+
* getUuidOfPage shim only when the dialog was opened without one.
|
|
10503
|
+
*/
|
|
10504
|
+
private resolveViewUuid;
|
|
10493
10505
|
/**
|
|
10494
10506
|
* For dialog-hosted default components, the view uuid is passed through the
|
|
10495
10507
|
* dialog data (MAT_DIALOG_DATA). Returns undefined for slot-hosted
|
|
Binary file
|