@smartbit4all/ng-client 7.1.0 → 7.1.2

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.1.0",
3
+ "version": "7.1.2",
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
@@ -6022,7 +6022,9 @@ declare class SmartfileuploaderComponent implements OnInit {
6022
6022
  onDragOver(event: DragEvent): void;
6023
6023
  onDragLeave(event: DragEvent): void;
6024
6024
  remove(index: number): void;
6025
- uploadFile(): void;
6025
+ uploadFile(event?: {
6026
+ event: MouseEvent;
6027
+ }): void;
6026
6028
  formatSize(bytes: number): string;
6027
6029
  previewUrls: Map<File, string>;
6028
6030
  filePreviewUrl(file: File): string | null;
@@ -7228,6 +7230,11 @@ declare class Table implements OnInit, OnDestroy {
7228
7230
  getRowColumnAction(row: any, header: string): any[];
7229
7231
  showCellToolbar(row: any, columnName: string): boolean;
7230
7232
  getRowMenuActionModel(element: any): any;
7233
+ /**
7234
+ * The row menu model by row id, so that the toolbar binding sees the same array on every
7235
+ * change detection pass and does not rebuild an open menu. Cleared whenever the rows are
7236
+ * rendered anew: a row keeps its id across reloads, but not necessarily its actions.
7237
+ */
7231
7238
  private rowMenuActionModelArrayCache;
7232
7239
  getMenuActions(element: any): any[];
7233
7240
  shouldShowMenuButton(row: any): boolean;
@@ -7418,6 +7425,8 @@ declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnChanges
7418
7425
  private onSelectAll;
7419
7426
  private onSelectRows;
7420
7427
  editColumns(): void;
7428
+ calcStyle(style?: Style): any;
7429
+ calcClasses(style?: Style): any;
7421
7430
  get showEditColumns(): UiActionDescriptor;
7422
7431
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartGridComponent, never>;
7423
7432
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartGridComponent, "smart-grid", never, { "smartGrid": { "alias": "smartGrid"; "required": false; }; "uuid": { "alias": "uuid"; "required": false; }; "parentLayoutComponent": { "alias": "parentLayoutComponent"; "required": false; "isSignal": true; }; "dev": { "alias": "dev"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
Binary file