@smartbit4all/ng-client 3.2.30 → 3.2.32
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/esm2020/lib/smart-table/smarttable.model.mjs +2 -1
- package/esm2020/lib/smart-table/tables/material-table/material-table.component.mjs +3 -3
- package/esm2020/lib/smart-table/tables/table.mjs +7 -1
- package/fesm2015/smartbit4all-ng-client.mjs +9 -2
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +9 -2
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-table/smarttable.model.d.ts +3 -0
- package/lib/smart-table/tables/table.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.2.32.tgz +0 -0
- package/smartbit4all-ng-client-3.2.30.tgz +0 -0
|
@@ -116,6 +116,7 @@ export interface SmartTableInterface<T> {
|
|
|
116
116
|
onSelection?: (row: any) => Promise<void>;
|
|
117
117
|
onAllSelection?: (selected: boolean) => Promise<void>;
|
|
118
118
|
rowExpander?: SmartTableRowExpander<T>;
|
|
119
|
+
highlightProperty?: string;
|
|
119
120
|
}
|
|
120
121
|
export interface SmartTableGridInterface<T> {
|
|
121
122
|
type: SmartTableInterfaceTypeEnum.GRID;
|
|
@@ -145,6 +146,7 @@ export interface SmartTableGridInterface<T> {
|
|
|
145
146
|
onAllSelection?: (selected: boolean) => Promise<void>;
|
|
146
147
|
asyncOnExpand?: boolean;
|
|
147
148
|
rowExpander?: SmartTableRowExpander<T>;
|
|
149
|
+
highlightProperty?: string;
|
|
148
150
|
}
|
|
149
151
|
export interface SmartTableRowExpander<T> {
|
|
150
152
|
expand(rowId: number): T;
|
|
@@ -183,6 +185,7 @@ export declare class SmartTable<T> implements SmartTableInterface<T> {
|
|
|
183
185
|
onSelection?: (row: any) => Promise<void>;
|
|
184
186
|
onAllSelection?: (selected: boolean) => Promise<void>;
|
|
185
187
|
rowExpander?: SmartTableRowExpander<T>;
|
|
188
|
+
highlightProperty?: string;
|
|
186
189
|
constructor(config: SmartTableInterface<T>);
|
|
187
190
|
getPropertyNamesDeeply(element: any): string[];
|
|
188
191
|
getValueDeeply(model: any, key: string): any;
|
|
@@ -61,6 +61,7 @@ export declare class Table implements OnInit, OnDestroy {
|
|
|
61
61
|
isImageResource(element: any, header: string): boolean;
|
|
62
62
|
getImageResourceIcon(element: any, header: string): any;
|
|
63
63
|
getImageResourceColor(element: any, header: string): any;
|
|
64
|
+
getImageResourceStyle(element: any, header: string): any;
|
|
64
65
|
openDefaultActionsMenu(row: any): void;
|
|
65
66
|
getDefaultActionsForRow(element: any): SmartTableButton[] | undefined;
|
|
66
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|