@smartbit4all/ng-client 7.3.23 → 7.3.24

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.23",
3
+ "version": "7.3.24",
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": {
@@ -8703,6 +8703,8 @@ declare class SmarttreeService<T> implements SmarttreeServiceDescriptor<T> {
8703
8703
  onTreeNodeClick(treeNode: SmartTreeNode): void;
8704
8704
  onTreeNodeOpen(treeNode: SmartTreeNode): void;
8705
8705
  syncTree(): void;
8706
+ /** Whether the tree was downloaded for another view than the one its page shows now. */
8707
+ isDownloadedForAnotherView(): boolean;
8706
8708
  static ɵfac: i0.ɵɵFactoryDeclaration<SmarttreeService<any>, never>;
8707
8709
  static ɵprov: i0.ɵɵInjectableDeclaration<SmarttreeService<any>>;
8708
8710
  }
@@ -9323,6 +9325,9 @@ declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]>
9323
9325
  * its children from the object it was created with.
9324
9326
  */
9325
9327
  private syncedNodes;
9328
+ /** The view uuid of the last download that brought a tree: the server keeps the tree's state
9329
+ * per view. */
9330
+ private downloadedViewUuid?;
9326
9331
  protected viewContext: SmartViewContextService;
9327
9332
  private service;
9328
9333
  private uiActionDescriptorService;
@@ -9340,6 +9345,7 @@ declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]>
9340
9345
  onTreeNodeOpen(treeNode: SmartTreeNode): Promise<void>;
9341
9346
  onTreeNodeClick(treeNode: SmartTreeNode): void;
9342
9347
  selectFolder(folderUri: string, treeNode?: SmartTreeNode): Promise<void>;
9348
+ isDownloadedForAnotherView(): boolean;
9343
9349
  updateTreeOnTheFly(): Promise<void>;
9344
9350
  syncTree(): void;
9345
9351
  /**
Binary file