@vuu-ui/vuu-table-types 0.13.6 → 0.13.7
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 +15 -3
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -28,6 +28,11 @@ import type {
|
|
|
28
28
|
MouseEvent,
|
|
29
29
|
} from "react";
|
|
30
30
|
|
|
31
|
+
export declare type ColumnMoveHandler = (
|
|
32
|
+
columnName: string,
|
|
33
|
+
columns: ColumnDescriptor[],
|
|
34
|
+
) => void;
|
|
35
|
+
|
|
31
36
|
export declare type GroupToggleTarget = "toggle-icon" | "group-column";
|
|
32
37
|
|
|
33
38
|
export declare type TableSelectionModel =
|
|
@@ -288,8 +293,12 @@ export interface RuntimeColumnDescriptor extends ColumnDescriptor {
|
|
|
288
293
|
align?: "left" | "right";
|
|
289
294
|
ariaColIndex: number;
|
|
290
295
|
CellRenderer?: FunctionComponent<TableCellRendererProps>;
|
|
291
|
-
HeaderCellLabelRenderer?: FunctionComponent<
|
|
292
|
-
|
|
296
|
+
HeaderCellLabelRenderer?: FunctionComponent<
|
|
297
|
+
Omit<HeaderCellProps, "id" | "index">
|
|
298
|
+
>;
|
|
299
|
+
HeaderCellContentRenderer?: FunctionComponent<
|
|
300
|
+
Omit<HeaderCellProps, "id" | "index">
|
|
301
|
+
>;
|
|
293
302
|
canStretch?: boolean;
|
|
294
303
|
className?: string;
|
|
295
304
|
clientSideEditValidationCheck?: DataValueValidationChecker;
|
|
@@ -453,9 +462,12 @@ export interface RowProps extends BaseRowProps {
|
|
|
453
462
|
}
|
|
454
463
|
|
|
455
464
|
export interface HeaderCellProps
|
|
456
|
-
extends Omit<HTMLAttributes<HTMLDivElement>, "onClick"> {
|
|
465
|
+
extends Omit<HTMLAttributes<HTMLDivElement>, "id" | "onClick"> {
|
|
466
|
+
allowDragColumnHeader?: boolean;
|
|
457
467
|
classBase?: string;
|
|
458
468
|
column: RuntimeColumnDescriptor;
|
|
469
|
+
id: string;
|
|
470
|
+
index: number;
|
|
459
471
|
onClick?: (evt: React.MouseEvent | React.KeyboardEvent) => void;
|
|
460
472
|
onResize?: TableColumnResizeHandler;
|
|
461
473
|
showColumnHeaderMenus?: ShowColumnHeaderNMenus;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-table-types",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.7",
|
|
4
4
|
"devDependencies": {
|
|
5
|
-
"@vuu-ui/vuu-data-types": "0.13.
|
|
6
|
-
"@vuu-ui/vuu-filter-types": "0.13.
|
|
7
|
-
"@vuu-ui/vuu-protocol-types": "0.13.
|
|
5
|
+
"@vuu-ui/vuu-data-types": "0.13.7",
|
|
6
|
+
"@vuu-ui/vuu-filter-types": "0.13.7",
|
|
7
|
+
"@vuu-ui/vuu-protocol-types": "0.13.7"
|
|
8
8
|
},
|
|
9
9
|
"author": "heswell",
|
|
10
10
|
"license": "Apache-2.0",
|