@smartbit4all/ng-client 4.2.130 → 4.2.131
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/esm2022/lib/smart-form/api/api/api.mjs +1 -1
- package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
- package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
- package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-form/api/index.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/fileUploaderProperties.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/imageProperties.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/textFieldProperties.mjs +1 -1
- package/esm2022/lib/smart-form/api/param.mjs +1 -1
- package/esm2022/lib/smart-form/api/variables.mjs +1 -1
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +90 -54
- package/fesm2022/smartbit4all-ng-client.mjs +74 -40
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-grid/smart-grid.component.d.ts +8 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.2.131.tgz +0 -0
- package/smartbit4all-ng-client-4.2.130.tgz +0 -0
|
@@ -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):
|
|
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
|
Binary file
|
|
Binary file
|