@vuu-ui/vuu-table-types 2.1.0-alpha.1 → 2.1.0-alpha.11
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/index.d.ts +9 -1
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ValidationStatus } from "@salt-ds/core";
|
|
1
2
|
import type {
|
|
2
3
|
DataValueDescriptor,
|
|
3
4
|
DataValueTypeSimple,
|
|
@@ -13,7 +14,6 @@ import type {
|
|
|
13
14
|
VuuSortType,
|
|
14
15
|
VuuTable,
|
|
15
16
|
} from "@vuu-ui/vuu-protocol-types";
|
|
16
|
-
import { CellPos } from "@vuu-ui/vuu-table/src/table-dom-utils";
|
|
17
17
|
import type { DateTimePattern, RowClassNameGenerator } from "@vuu-ui/vuu-utils";
|
|
18
18
|
import type {
|
|
19
19
|
ComponentType,
|
|
@@ -305,6 +305,12 @@ export interface ColumnDescriptor extends DataValueDescriptor {
|
|
|
305
305
|
minWidth?: number;
|
|
306
306
|
pin?: PinLocation | false;
|
|
307
307
|
resizeable?: boolean;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Column and all cells will be rendered in selected state;
|
|
311
|
+
*/
|
|
312
|
+
|
|
313
|
+
selected?: boolean;
|
|
308
314
|
sortable?: boolean;
|
|
309
315
|
/**
|
|
310
316
|
* 'client' columns will not receive data from dataSource.
|
|
@@ -313,6 +319,8 @@ export interface ColumnDescriptor extends DataValueDescriptor {
|
|
|
313
319
|
* default is 'server'
|
|
314
320
|
*/
|
|
315
321
|
source?: "client" | "server";
|
|
322
|
+
|
|
323
|
+
status?: ValidationStatus;
|
|
316
324
|
width?: number;
|
|
317
325
|
}
|
|
318
326
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-table-types",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.11",
|
|
4
4
|
"devDependencies": {
|
|
5
|
-
"@vuu-ui/vuu-data-types": "2.1.0-alpha.
|
|
6
|
-
"@vuu-ui/vuu-filter-types": "2.1.0-alpha.
|
|
7
|
-
"@vuu-ui/vuu-protocol-types": "2.1.0-alpha.
|
|
5
|
+
"@vuu-ui/vuu-data-types": "2.1.0-alpha.11",
|
|
6
|
+
"@vuu-ui/vuu-filter-types": "2.1.0-alpha.11",
|
|
7
|
+
"@vuu-ui/vuu-protocol-types": "2.1.0-alpha.11"
|
|
8
8
|
},
|
|
9
9
|
"author": "heswell",
|
|
10
10
|
"license": "Apache-2.0",
|