@smartbit4all/ng-client 7.0.1 → 7.0.3

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.0.1",
3
+ "version": "7.0.3",
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
@@ -7930,6 +7930,7 @@ declare class UiActionButtonComponent implements OnDestroy {
7930
7930
  disabled: i0.InputSignal<boolean | undefined>;
7931
7931
  descriptor: i0.InputSignal<UiActionDescriptor>;
7932
7932
  code: i0.InputSignal<string | undefined>;
7933
+ identifier: i0.InputSignal<string | undefined>;
7933
7934
  viewActivated: i0.InputSignal<boolean | null | undefined>;
7934
7935
  addedCssClass: i0.InputSignal<string | undefined>;
7935
7936
  addBasicClasses: i0.InputSignal<boolean>;
@@ -7966,8 +7967,9 @@ declare class UiActionButtonComponent implements OnDestroy {
7966
7967
  renderPlaceholderPost(): boolean;
7967
7968
  getJustifyContent(): string | null;
7968
7969
  getSeparatorColor(): string;
7970
+ getDataTestId(): string | null;
7969
7971
  static ɵfac: i0.ɵɵFactoryDeclaration<UiActionButtonComponent, never>;
7970
- static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "descriptor": { "alias": "descriptor"; "required": true; "isSignal": true; }; "code": { "alias": "code"; "required": false; "isSignal": true; }; "viewActivated": { "alias": "viewActivated"; "required": false; "isSignal": true; }; "addedCssClass": { "alias": "addedCssClass"; "required": false; "isSignal": true; }; "addBasicClasses": { "alias": "addBasicClasses"; "required": false; "isSignal": true; }; "iconPlaceholder": { "alias": "iconPlaceholder"; "required": false; "isSignal": true; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, true, never>;
7972
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "descriptor": { "alias": "descriptor"; "required": true; "isSignal": true; }; "code": { "alias": "code"; "required": false; "isSignal": true; }; "identifier": { "alias": "identifier"; "required": false; "isSignal": true; }; "viewActivated": { "alias": "viewActivated"; "required": false; "isSignal": true; }; "addedCssClass": { "alias": "addedCssClass"; "required": false; "isSignal": true; }; "addBasicClasses": { "alias": "addBasicClasses"; "required": false; "isSignal": true; }; "iconPlaceholder": { "alias": "iconPlaceholder"; "required": false; "isSignal": true; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, true, never>;
7971
7973
  }
7972
7974
 
7973
7975
  /** When true (default), reopening the same viewName in a router slot reuses the mounted component. */
@@ -10061,6 +10063,11 @@ interface SearchPageModel {
10061
10063
  * If there is no result for the search, then show this text instead of the empty table.
10062
10064
  */
10063
10065
  noResultText?: string;
10066
+ showTitle?: boolean;
10067
+ showToolbar?: boolean;
10068
+ showFilter?: boolean;
10069
+ showLayout?: boolean;
10070
+ showGrid?: boolean;
10064
10071
  }
10065
10072
 
10066
10073
  /**
@@ -10172,6 +10179,12 @@ declare class SearchPageComponent extends SmartComponent<SearchPageModel> implem
10172
10179
  get layout(): SmartComponentLayoutDefinition | undefined;
10173
10180
  set layout(layout: SmartComponentLayoutDefinition | undefined);
10174
10181
  grid?: SmartGridComponent;
10182
+ /**
10183
+ * The page's own layout, handed to the grid so that the row layouts of a card grid never
10184
+ * look like the root of an embedded-view tree (#28870). A signal query: the template binds
10185
+ * it, and the layout is only rendered once the model arrives.
10186
+ */
10187
+ readonly layoutComponent: i0.Signal<SmartComponentLayoutComponent | undefined>;
10175
10188
  filter?: SmartFilter;
10176
10189
  constructor(inject: Injector, filterService: SmartFilterEditorService, _myPageName?: string, _myComponentName?: string, element?: ElementRef, renderer?: Renderer2);
10177
10190
  protected onUuidResolved(uuid: string): void;
Binary file