@vuu-ui/vuu-table-types 0.8.50 → 0.8.52
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 +13 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { Filter } from "@vuu-ui/vuu-filter-types";
|
|
|
2
2
|
import type {
|
|
3
3
|
VuuAggType,
|
|
4
4
|
VuuColumnDataType,
|
|
5
|
+
VuuMenuItem,
|
|
5
6
|
VuuRowDataItemType,
|
|
6
7
|
VuuSortType,
|
|
7
8
|
VuuTable,
|
|
@@ -76,6 +77,18 @@ export interface TableAttributes {
|
|
|
76
77
|
zebraStripes?: boolean;
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
export type TableMenuLocation = "grid" | "header" | "filter";
|
|
81
|
+
|
|
82
|
+
export interface VuuCellMenuItem extends VuuMenuItem {
|
|
83
|
+
rowKey: string;
|
|
84
|
+
field: string;
|
|
85
|
+
value: VuuRowDataItemType;
|
|
86
|
+
}
|
|
87
|
+
export interface VuuRowMenuItem extends VuuMenuItem {
|
|
88
|
+
rowKey: string;
|
|
89
|
+
row: { [key: string]: VuuRowDataItemType };
|
|
90
|
+
}
|
|
91
|
+
|
|
79
92
|
/**
|
|
80
93
|
* TableConfig describes the configuration used to render a Table. It is
|
|
81
94
|
* a required prop for Table and provided initially by user. It can be
|
package/package.json
CHANGED