@smartbit4all/ng-client 3.3.191 → 3.3.192
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-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2020/lib/smart-grid/smart-grid.component.mjs +2 -1
- package/esm2020/lib/smart-table/smarttable.model.mjs +1 -1
- package/esm2020/lib/smart-table/tables/material-table/material-table.component.mjs +3 -3
- package/esm2020/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +3 -3
- package/esm2020/lib/smart-table/tables/table.mjs +7 -1
- package/fesm2015/smartbit4all-ng-client.mjs +11 -5
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +11 -4
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +5 -0
- package/lib/smart-table/smarttable.model.d.ts +2 -1
- package/lib/smart-table/tables/table.d.ts +6 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.192.tgz +0 -0
- package/smartbit4all-ng-client-3.3.191.tgz +0 -0
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { GridColumnContentType } from './gridColumnContentType';
|
|
13
|
+
import { Style } from '../../../../view-context/api/model/style';
|
|
13
14
|
export interface GridColumnMeta {
|
|
14
15
|
label: string;
|
|
15
16
|
propertyName: string;
|
|
@@ -25,4 +26,8 @@ export interface GridColumnMeta {
|
|
|
25
26
|
*/
|
|
26
27
|
hideLabel?: boolean;
|
|
27
28
|
contentType?: GridColumnContentType;
|
|
29
|
+
/**
|
|
30
|
+
* If present, this Style will be applied to the column.
|
|
31
|
+
*/
|
|
32
|
+
style?: Style;
|
|
28
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
2
|
import { ThemePalette } from '@angular/material/core';
|
|
3
|
-
import { UiAction, UiActionDescriptor } from '../view-context/api';
|
|
3
|
+
import { Style, UiAction, UiActionDescriptor } from '../view-context/api';
|
|
4
4
|
export declare enum SmartTableType {
|
|
5
5
|
INHERITED = "Inherited",
|
|
6
6
|
CHECK_BOX = "CheckBox",
|
|
@@ -51,6 +51,7 @@ export interface SmartTableHeader {
|
|
|
51
51
|
order?: SmartTableOrder;
|
|
52
52
|
orderNumber?: number;
|
|
53
53
|
isSortable?: boolean;
|
|
54
|
+
style?: Style;
|
|
54
55
|
}
|
|
55
56
|
export declare enum SmartTableOrder {
|
|
56
57
|
ASC = "ASC",
|
|
@@ -56,6 +56,12 @@ export declare class Table implements OnInit, OnDestroy {
|
|
|
56
56
|
getRowStyles(row: any): {
|
|
57
57
|
[key: string]: string | number;
|
|
58
58
|
};
|
|
59
|
+
getColumnClasses(header: SmartTableHeader): {
|
|
60
|
+
[className: string]: boolean;
|
|
61
|
+
};
|
|
62
|
+
getColumnStyles(header: SmartTableHeader): {
|
|
63
|
+
[key: string]: string | number;
|
|
64
|
+
};
|
|
59
65
|
private toCamelCase;
|
|
60
66
|
onRowClick(row: any): void;
|
|
61
67
|
onRowDoubleClick(row: any): void;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|