@smartbit4all/ng-client 4.2.130 → 4.2.132

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.
@@ -28,6 +28,7 @@ export declare class TableLayoutDefinerComponent implements AfterViewInit, OnDes
28
28
  ngOnDestroy(): void;
29
29
  ngAfterViewInit(): void;
30
30
  private subscibeForValueChange;
31
+ isWidgetSavable(): void;
31
32
  hasEmptyValue(updatedOrderedColumns: string[]): boolean;
32
33
  constructForms(): void;
33
34
  addColumn(): void;
@@ -18,6 +18,7 @@ import { Menu } from 'primeng/menu';
18
18
  import { TableColumnReorderEvent, TableHeaderCheckboxToggleEvent, TableLazyLoadEvent, TableRowSelectEvent, TableRowUnSelectEvent } from 'primeng/table';
19
19
  import { MultiSelectChangeEvent } from 'primeng/multiselect';
20
20
  import { ExpandedRowRendererComponent } from './components/generic-component/expanded-row-renderer.component';
21
+ import { SmartDatePipe, SmartDateTimePipe, SmartTimePipe } from '../shared/smarttable.date-pipe';
21
22
  import * as i0 from "@angular/core";
22
23
  export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnChanges {
23
24
  private service;
@@ -25,6 +26,9 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
25
26
  private dialog;
26
27
  private injector;
27
28
  private uiActionDescriptorService;
29
+ private smartDatePipe;
30
+ private smartDateTimePipe;
31
+ private smartTimePipe;
28
32
  compLib: ComponentLibrary;
29
33
  private gridMenuIcon?;
30
34
  private readonly defaultPageSizeOptions;
@@ -53,6 +57,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
53
57
  selectedRows: GridRow[];
54
58
  tableType?: any;
55
59
  pageSizeOptions: number[];
60
+ columnMetaByName?: Map<string, GridColumnMeta>;
56
61
  selectionChanges: Subject<any>;
57
62
  uiActionDescriptors: Map<string, UiActionDescriptor>;
58
63
  cellToActionMap: Record<string, UiActionModel[]>;
@@ -62,7 +67,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
62
67
  treeFlattener?: MatTreeFlattener<GridRow, GridRow>;
63
68
  treeDataSource?: MatTreeFlatDataSource<GridRow, GridRow>;
64
69
  treeChecklistSelection?: SelectionModel<GridRow>;
65
- constructor(service: SmartGridService, cfService: ComponentFactoryService, dialog: MatDialog, injector: Injector, uiActionDescriptorService: UiActionDescriptorService, compLib: ComponentLibrary, gridMenuIcon?: string | undefined);
70
+ constructor(service: SmartGridService, cfService: ComponentFactoryService, dialog: MatDialog, injector: Injector, uiActionDescriptorService: UiActionDescriptorService, smartDatePipe: SmartDatePipe, smartDateTimePipe: SmartDateTimePipe, smartTimePipe: SmartTimePipe, compLib: ComponentLibrary, gridMenuIcon?: string | undefined);
66
71
  ngOnChanges(changes: SimpleChanges): void;
67
72
  ngOnDestroy(): void;
68
73
  ngAfterViewInit(): void;
@@ -105,6 +110,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
105
110
  /** Whether part of the descendants are selected */
106
111
  descendantsPartiallySelected(node: GridRow): boolean;
107
112
  private constructHeader;
113
+ private getSmartTableProperty;
108
114
  onChangePage(event: PageEvent): Promise<void>;
109
115
  onPrimeChangePage(event: any): Promise<void>;
110
116
  private execute;
@@ -130,7 +136,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
130
136
  headerChange(event: MultiSelectChangeEvent): Promise<void>;
131
137
  onColOrder(event: TableColumnReorderEvent): Promise<void>;
132
138
  getOrderColumNames(columns: GridColumnMeta[]): string[];
133
- getColValue(col: string, row: any): any;
139
+ getColValue(col: string, row: any): string | undefined;
134
140
  getImageResourceIcons(row: any, header: string): ImageResource[];
135
141
  getImageResourceStyle(resource: ImageResource): any;
136
142
  getRowColumnAction(row: any, columnName: string): UiActionModel[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.2.130",
3
+ "version": "4.2.132",
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