@vuu-ui/vuu-table-types 0.11.2 → 0.12.0

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.
Files changed (2) hide show
  1. package/index.d.ts +5 -14
  2. package/package.json +4 -4
package/index.d.ts CHANGED
@@ -9,7 +9,6 @@ import type {
9
9
  import type { Filter } from "@vuu-ui/vuu-filter-types";
10
10
  import type {
11
11
  VuuAggType,
12
- VuuMenuItem,
13
12
  VuuRowDataItemType,
14
13
  VuuSortType,
15
14
  VuuTable,
@@ -126,18 +125,6 @@ export interface TableAttributes {
126
125
  zebraStripes?: boolean;
127
126
  }
128
127
 
129
- export declare type TableMenuLocation = "grid" | "header" | "filter";
130
-
131
- export interface VuuCellMenuItem extends VuuMenuItem {
132
- rowKey: string;
133
- field: string;
134
- value: VuuRowDataItemType;
135
- }
136
- export interface VuuRowMenuItem extends VuuMenuItem {
137
- rowKey: string;
138
- row: { [key: string]: VuuRowDataItemType };
139
- }
140
-
141
128
  /**
142
129
  * TableConfig describes the configuration used to render a Table. It is
143
130
  * a required prop for Table and provided initially by user. It can be
@@ -262,6 +249,10 @@ export interface ColumnDescriptor extends DataValueDescriptor {
262
249
  * The icon will be displayed alongside the group label
263
250
  */
264
251
  getIcon?: (row: DataSourceRow) => string | undefined;
252
+ /**
253
+ * Can this column be included in a groupBy operation ? Default is true.
254
+ */
255
+ groupable?: boolean;
265
256
  /**
266
257
  Optional additional level(s) of heading to display above label.
267
258
  May span multiple columns, if multiple adjacent columns declare
@@ -273,7 +264,7 @@ export interface ColumnDescriptor extends DataValueDescriptor {
273
264
  locked?: boolean;
274
265
  maxWidth?: number;
275
266
  minWidth?: number;
276
- pin?: PinLocation;
267
+ pin?: PinLocation | false;
277
268
  resizeable?: boolean;
278
269
  sortable?: boolean;
279
270
  /**
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@vuu-ui/vuu-table-types",
3
- "version": "0.11.2",
3
+ "version": "0.12.0",
4
4
  "devDependencies": {
5
- "@vuu-ui/vuu-data-types": "0.11.2",
6
- "@vuu-ui/vuu-filter-types": "0.11.2",
7
- "@vuu-ui/vuu-protocol-types": "0.11.2"
5
+ "@vuu-ui/vuu-data-types": "0.12.0",
6
+ "@vuu-ui/vuu-filter-types": "0.12.0",
7
+ "@vuu-ui/vuu-protocol-types": "0.12.0"
8
8
  },
9
9
  "author": "heswell",
10
10
  "license": "Apache-2.0",