@smartbit4all/ng-client 4.2.68 → 4.2.70

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.
@@ -1,6 +1,7 @@
1
1
  import { UiAction } from '../view-context/api';
2
2
  import { GridRow } from './api/grid-api';
3
3
  export declare class SmartGridToolbarActionsUtil {
4
+ static defaultActionToolbarId: string;
4
5
  static showMenu(row: GridRow, orderedColumns: string[]): boolean;
5
6
  static showToolbar(row: GridRow, columnName: string): boolean;
6
7
  static calculateCellToActionMap(rows: GridRow[], serviceToUse: any, gridId: string): Record<string, any[]>;
@@ -36,6 +36,8 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
36
36
  componentRefTable?: ComponentRef<SmarttableComponent>;
37
37
  smartTable: SmartTable<GridRow>;
38
38
  toolbar?: UiActionToolbarComponent;
39
+ _headerToolbar?: UiActionToolbarComponent;
40
+ defaultActionToolbarId: string;
39
41
  expandableSections?: ExpandableSection<any>[];
40
42
  pageEvent?: PageEvent;
41
43
  datasource?: null;
@@ -73,6 +75,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
73
75
  refresh(): Promise<void>;
74
76
  getStyle(row: any): string[];
75
77
  setupToolbar(): void;
78
+ get headerToolbar(): UiActionToolbarComponent | undefined;
76
79
  private render;
77
80
  private clearTable;
78
81
  private renderTable;
@@ -2,6 +2,7 @@ import { Table } from '../table';
2
2
  import { ComponentFactoryService } from '../../../component-factory-service/projects';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MaterialTableComponent extends Table {
5
+ defaultActionToolbarId: string;
5
6
  constructor(cfService: ComponentFactoryService);
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTableComponent, never>;
7
8
  static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTableComponent, "lib-material-table", never, {}, {}, never, never, false, never>;
@@ -16,6 +16,7 @@ export declare class Table implements OnInit, OnDestroy {
16
16
  componentRef?: ComponentRef<any>;
17
17
  defaultActionMenuComponents: QueryList<DefaultActionsPopupComponent>;
18
18
  myTableChild: MatTable<any>;
19
+ headerToolbar?: any;
19
20
  smartTable: SmartTable<any>;
20
21
  tableType: typeof SmartTableType;
21
22
  smartTableButtonType: typeof SmartTableButtonType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.2.68",
3
+ "version": "4.2.70",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
Binary file