@deephaven/grid 0.7.3-beta.8 → 0.8.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.
- package/dist/CellInputField.d.ts +4 -4
- package/dist/CellInputField.d.ts.map +1 -1
- package/dist/CellInputField.js +10 -11
- package/dist/CellInputField.js.map +1 -1
- package/dist/EditableGridModel.d.ts +70 -0
- package/dist/EditableGridModel.d.ts.map +1 -0
- package/dist/EditableGridModel.js +13 -0
- package/dist/EditableGridModel.js.map +1 -0
- package/dist/EventHandlerResult.d.ts +17 -0
- package/dist/EventHandlerResult.d.ts.map +1 -0
- package/dist/EventHandlerResult.js +2 -0
- package/dist/EventHandlerResult.js.map +1 -0
- package/dist/ExpandableGridModel.d.ts +34 -0
- package/dist/ExpandableGridModel.d.ts.map +1 -0
- package/dist/ExpandableGridModel.js +7 -0
- package/dist/ExpandableGridModel.js.map +1 -0
- package/dist/Grid.d.ts +283 -234
- package/dist/Grid.d.ts.map +1 -1
- package/dist/Grid.js +397 -165
- package/dist/Grid.js.map +1 -1
- package/dist/GridColorUtils.d.ts +22 -12
- package/dist/GridColorUtils.d.ts.map +1 -1
- package/dist/GridColorUtils.js +26 -21
- package/dist/GridColorUtils.js.map +1 -1
- package/dist/GridMetricCalculator.d.ts.map +1 -1
- package/dist/GridMetricCalculator.js +8 -4
- package/dist/GridMetricCalculator.js.map +1 -1
- package/dist/GridModel.d.ts +54 -60
- package/dist/GridModel.d.ts.map +1 -1
- package/dist/GridModel.js +54 -122
- package/dist/GridModel.js.map +1 -1
- package/dist/GridMouseHandler.d.ts +23 -24
- package/dist/GridMouseHandler.d.ts.map +1 -1
- package/dist/GridMouseHandler.js +8 -14
- package/dist/GridMouseHandler.js.map +1 -1
- package/dist/GridRange.d.ts +2 -2
- package/dist/GridRange.d.ts.map +1 -1
- package/dist/GridRange.js +1 -1
- package/dist/GridRange.js.map +1 -1
- package/dist/GridRenderer.d.ts +117 -69
- package/dist/GridRenderer.d.ts.map +1 -1
- package/dist/GridRenderer.js +183 -168
- package/dist/GridRenderer.js.map +1 -1
- package/dist/GridUtils.d.ts +4 -4
- package/dist/GridUtils.js +4 -4
- package/dist/GridUtils.js.map +1 -1
- package/dist/KeyHandler.d.ts +10 -7
- package/dist/KeyHandler.d.ts.map +1 -1
- package/dist/KeyHandler.js +6 -5
- package/dist/KeyHandler.js.map +1 -1
- package/dist/MockGridData.d.ts +1 -1
- package/dist/MockGridData.d.ts.map +1 -1
- package/dist/MockGridData.js.map +1 -1
- package/dist/MockGridModel.d.ts +39 -12
- package/dist/MockGridModel.d.ts.map +1 -1
- package/dist/MockGridModel.js +43 -10
- package/dist/MockGridModel.js.map +1 -1
- package/dist/MockTreeGridModel.d.ts +37 -22
- package/dist/MockTreeGridModel.d.ts.map +1 -1
- package/dist/MockTreeGridModel.js +38 -20
- package/dist/MockTreeGridModel.js.map +1 -1
- package/dist/errors/AssertionError.d.ts +5 -0
- package/dist/errors/AssertionError.d.ts.map +1 -0
- package/dist/errors/AssertionError.js +12 -0
- package/dist/errors/AssertionError.js.map +1 -0
- package/dist/errors/PasteError.d.ts +1 -1
- package/dist/errors/PasteError.d.ts.map +1 -1
- package/dist/errors/PasteError.js +1 -2
- package/dist/errors/PasteError.js.map +1 -1
- package/dist/errors/assertIsDefined.d.ts +3 -0
- package/dist/errors/assertIsDefined.d.ts.map +1 -0
- package/dist/errors/assertIsDefined.js +8 -0
- package/dist/errors/assertIsDefined.js.map +1 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +2 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/key-handlers/EditKeyHandler.d.ts +3 -2
- package/dist/key-handlers/EditKeyHandler.d.ts.map +1 -1
- package/dist/key-handlers/EditKeyHandler.js +10 -9
- package/dist/key-handlers/EditKeyHandler.js.map +1 -1
- package/dist/key-handlers/PasteKeyHandler.d.ts +3 -5
- package/dist/key-handlers/PasteKeyHandler.d.ts.map +1 -1
- package/dist/key-handlers/PasteKeyHandler.js +3 -3
- package/dist/key-handlers/PasteKeyHandler.js.map +1 -1
- package/dist/key-handlers/SelectionKeyHandler.d.ts +5 -5
- package/dist/key-handlers/SelectionKeyHandler.d.ts.map +1 -1
- package/dist/key-handlers/SelectionKeyHandler.js +16 -15
- package/dist/key-handlers/SelectionKeyHandler.js.map +1 -1
- package/dist/key-handlers/TreeKeyHandler.d.ts +2 -2
- package/dist/key-handlers/TreeKeyHandler.d.ts.map +1 -1
- package/dist/key-handlers/TreeKeyHandler.js +14 -12
- package/dist/key-handlers/TreeKeyHandler.js.map +1 -1
- package/dist/memoizeClear.d.ts +13 -3
- package/dist/memoizeClear.d.ts.map +1 -1
- package/dist/memoizeClear.js +7 -7
- package/dist/memoizeClear.js.map +1 -1
- package/dist/mouse-handlers/EditMouseHandler.d.ts +3 -4
- package/dist/mouse-handlers/EditMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/EditMouseHandler.js +3 -2
- package/dist/mouse-handlers/EditMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridColumnMoveMouseHandler.d.ts +12 -5
- package/dist/mouse-handlers/GridColumnMoveMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridColumnMoveMouseHandler.js +13 -10
- package/dist/mouse-handlers/GridColumnMoveMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.d.ts +24 -3
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.js +2 -1
- package/dist/mouse-handlers/GridColumnSeparatorMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridHorizontalScrollBarMouseHandler.d.ts +16 -6
- package/dist/mouse-handlers/GridHorizontalScrollBarMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridHorizontalScrollBarMouseHandler.js +41 -37
- package/dist/mouse-handlers/GridHorizontalScrollBarMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridRowMoveMouseHandler.d.ts +10 -3
- package/dist/mouse-handlers/GridRowMoveMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridRowMoveMouseHandler.js +14 -11
- package/dist/mouse-handlers/GridRowMoveMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridRowSeparatorMouseHandler.d.ts +24 -3
- package/dist/mouse-handlers/GridRowSeparatorMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridRowSeparatorMouseHandler.js +4 -3
- package/dist/mouse-handlers/GridRowSeparatorMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridRowTreeMouseHandler.d.ts +8 -3
- package/dist/mouse-handlers/GridRowTreeMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridRowTreeMouseHandler.js +12 -7
- package/dist/mouse-handlers/GridRowTreeMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridScrollBarCornerMouseHandler.d.ts +9 -3
- package/dist/mouse-handlers/GridScrollBarCornerMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridScrollBarCornerMouseHandler.js +2 -1
- package/dist/mouse-handlers/GridScrollBarCornerMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridSelectionMouseHandler.d.ts +15 -9
- package/dist/mouse-handlers/GridSelectionMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridSelectionMouseHandler.js +26 -16
- package/dist/mouse-handlers/GridSelectionMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridSeparatorMouseHandler.d.ts +46 -28
- package/dist/mouse-handlers/GridSeparatorMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridSeparatorMouseHandler.js +57 -74
- package/dist/mouse-handlers/GridSeparatorMouseHandler.js.map +1 -1
- package/dist/mouse-handlers/GridVerticalScrollBarMouseHandler.d.ts +16 -6
- package/dist/mouse-handlers/GridVerticalScrollBarMouseHandler.d.ts.map +1 -1
- package/dist/mouse-handlers/GridVerticalScrollBarMouseHandler.js +41 -37
- package/dist/mouse-handlers/GridVerticalScrollBarMouseHandler.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/Grid.d.ts
CHANGED
|
@@ -1,4 +1,64 @@
|
|
|
1
|
-
|
|
1
|
+
import React, { PureComponent, ReactNode } from 'react';
|
|
2
|
+
import GridMetricCalculator, { GridMetricState } from './GridMetricCalculator';
|
|
3
|
+
import GridModel from './GridModel';
|
|
4
|
+
import GridMouseHandler, { GridMouseEvent, GridMouseHandlerFunctionName } from './GridMouseHandler';
|
|
5
|
+
import { GridTheme as GridThemeType } from './GridTheme';
|
|
6
|
+
import GridRange, { GridRangeIndex, SELECTION_DIRECTION } from './GridRange';
|
|
7
|
+
import GridRenderer, { EditingCell, EditingCellTextSelectionRange } from './GridRenderer';
|
|
8
|
+
import { GridPoint } from './GridUtils';
|
|
9
|
+
import './Grid.scss';
|
|
10
|
+
import KeyHandler, { GridKeyboardEvent } from './KeyHandler';
|
|
11
|
+
import GridMetrics, { Coordinate, ModelIndex, MoveOperation, VisibleIndex } from './GridMetrics';
|
|
12
|
+
export declare type GridProps = typeof Grid.defaultProps & {
|
|
13
|
+
canvasOptions?: CanvasRenderingContext2DSettings;
|
|
14
|
+
isStickyBottom?: boolean;
|
|
15
|
+
isStickyRight?: boolean;
|
|
16
|
+
metricCalculator?: GridMetricCalculator;
|
|
17
|
+
model: GridModel;
|
|
18
|
+
keyHandlers?: KeyHandler[];
|
|
19
|
+
mouseHandlers?: GridMouseHandler[];
|
|
20
|
+
movedColumns?: MoveOperation[];
|
|
21
|
+
movedRows?: MoveOperation[];
|
|
22
|
+
onError?: (e: Error) => void;
|
|
23
|
+
onSelectionChanged?: (ranges: GridRange[]) => void;
|
|
24
|
+
onMovedColumnsChanged?: (movedColumns: MoveOperation[]) => void;
|
|
25
|
+
onMovedRowsChanged?: (movedRows: MoveOperation[]) => void;
|
|
26
|
+
onMoveColumnComplete?: (movedColumns: MoveOperation[]) => void;
|
|
27
|
+
onMoveRowComplete?: (movedRows: MoveOperation[]) => void;
|
|
28
|
+
onViewChanged?: (metrics: GridMetrics) => void;
|
|
29
|
+
renderer?: GridRenderer;
|
|
30
|
+
stateOverride?: Record<string, unknown>;
|
|
31
|
+
theme?: GridThemeType;
|
|
32
|
+
};
|
|
33
|
+
export declare type GridState = {
|
|
34
|
+
top: VisibleIndex;
|
|
35
|
+
left: VisibleIndex;
|
|
36
|
+
topOffset: number;
|
|
37
|
+
leftOffset: number;
|
|
38
|
+
draggingColumn: VisibleIndex | null;
|
|
39
|
+
draggingRow: VisibleIndex | null;
|
|
40
|
+
draggingColumnOffset: number | null;
|
|
41
|
+
draggingRowOffset: number | null;
|
|
42
|
+
draggingColumnSeparator: VisibleIndex | null;
|
|
43
|
+
draggingRowSeparator: VisibleIndex | null;
|
|
44
|
+
isDraggingHorizontalScrollBar: boolean;
|
|
45
|
+
isDraggingVerticalScrollBar: boolean;
|
|
46
|
+
isDragging: boolean;
|
|
47
|
+
mouseX: number | null;
|
|
48
|
+
mouseY: number | null;
|
|
49
|
+
movedColumns: MoveOperation[];
|
|
50
|
+
movedRows: MoveOperation[];
|
|
51
|
+
cursorRow: VisibleIndex | null;
|
|
52
|
+
cursorColumn: VisibleIndex | null;
|
|
53
|
+
selectionStartRow: VisibleIndex | null;
|
|
54
|
+
selectionStartColumn: VisibleIndex | null;
|
|
55
|
+
selectionEndRow: VisibleIndex | null;
|
|
56
|
+
selectionEndColumn: VisibleIndex | null;
|
|
57
|
+
selectedRanges: GridRange[];
|
|
58
|
+
lastSelectedRanges: GridRange[];
|
|
59
|
+
cursor: string | null;
|
|
60
|
+
editingCell: EditingCell | null;
|
|
61
|
+
};
|
|
2
62
|
/**
|
|
3
63
|
* High performance, extendible, themeable grid component.
|
|
4
64
|
* Architectured to be fast and handle billions of rows/columns by default.
|
|
@@ -13,131 +73,123 @@ export default Grid;
|
|
|
13
73
|
* Add an onViewChanged callback to page in/out data as user moves around the grid
|
|
14
74
|
* Can also add onClick and onContextMenu handlers to add custom functionality and menus.
|
|
15
75
|
*/
|
|
16
|
-
declare class Grid extends
|
|
76
|
+
declare class Grid extends PureComponent<GridProps, GridState> {
|
|
77
|
+
static defaultProps: {
|
|
78
|
+
canvasOptions: CanvasRenderingContext2DSettings;
|
|
79
|
+
isStickyBottom: boolean;
|
|
80
|
+
isStickyRight: boolean;
|
|
81
|
+
keyHandlers: KeyHandler[];
|
|
82
|
+
mouseHandlers: GridMouseHandler[];
|
|
83
|
+
movedColumns: MoveOperation[];
|
|
84
|
+
movedRows: MoveOperation[];
|
|
85
|
+
onError: () => void;
|
|
86
|
+
onSelectionChanged: () => void;
|
|
87
|
+
onMovedColumnsChanged: () => void;
|
|
88
|
+
onMoveColumnComplete: () => void;
|
|
89
|
+
onMovedRowsChanged: () => void;
|
|
90
|
+
onMoveRowComplete: () => void;
|
|
91
|
+
onViewChanged: () => void;
|
|
92
|
+
stateOverride: Record<string, unknown>;
|
|
93
|
+
theme: GridThemeType;
|
|
94
|
+
};
|
|
17
95
|
static pixelsPerLine: number;
|
|
18
96
|
static dragTimeout: number;
|
|
19
97
|
static getTheme: (this: any, userTheme: any) => any;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
handleMouseDrag(event: any): void;
|
|
35
|
-
handleMouseMove(event: any): void;
|
|
36
|
-
handleMouseLeave(event: any): void;
|
|
37
|
-
handleMouseUp(event: any): void;
|
|
38
|
-
handleResize(): void;
|
|
39
|
-
handleWheel(e: any): void;
|
|
40
|
-
renderer: any;
|
|
41
|
-
metricCalculator: any;
|
|
98
|
+
/**
|
|
99
|
+
* On some devices there may be different scaling required for high DPI. Get the scale required for the canvas.
|
|
100
|
+
* @param context The canvas context
|
|
101
|
+
* @returns The scale to use
|
|
102
|
+
*/
|
|
103
|
+
static getScale(context: CanvasRenderingContext2D): number;
|
|
104
|
+
/**
|
|
105
|
+
* Get the class name from the cursor provided
|
|
106
|
+
* @param cursor The grid cursor to use
|
|
107
|
+
* @returns Class name with the grid-cursor prefix or null if no cursor provided
|
|
108
|
+
*/
|
|
109
|
+
static getCursorClassName(cursor: string | null): string | null;
|
|
110
|
+
renderer: GridRenderer;
|
|
111
|
+
metricCalculator: GridMetricCalculator;
|
|
42
112
|
canvas: HTMLCanvasElement | null;
|
|
43
|
-
canvasContext:
|
|
44
|
-
animationFrame:
|
|
45
|
-
prevMetrics:
|
|
46
|
-
metrics:
|
|
113
|
+
canvasContext: CanvasRenderingContext2D | null;
|
|
114
|
+
animationFrame: number | null;
|
|
115
|
+
prevMetrics: GridMetrics | null;
|
|
116
|
+
metrics: GridMetrics | null;
|
|
47
117
|
isStuckToBottom: boolean;
|
|
48
118
|
isStuckToRight: boolean;
|
|
49
119
|
documentCursor: string | null;
|
|
50
|
-
dragTimer:
|
|
51
|
-
keyHandlers:
|
|
52
|
-
mouseHandlers:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
getMouseHandlers(): any[];
|
|
89
|
-
getModelColumn(columnIndex: any): any;
|
|
90
|
-
getModelRow(rowIndex: any): any;
|
|
91
|
-
toggleRowExpanded(row: any): void;
|
|
92
|
-
/** Allows the selected range to be set programatically */
|
|
93
|
-
setSelectedRanges(gridRanges: any): void;
|
|
120
|
+
dragTimer: ReturnType<typeof setTimeout> | null;
|
|
121
|
+
keyHandlers: KeyHandler[];
|
|
122
|
+
mouseHandlers: GridMouseHandler[];
|
|
123
|
+
constructor(props: GridProps);
|
|
124
|
+
componentDidMount(): void;
|
|
125
|
+
componentDidUpdate(prevProps: GridProps, prevState: GridState): void;
|
|
126
|
+
componentWillUnmount(): void;
|
|
127
|
+
getTheme(): GridThemeType;
|
|
128
|
+
getGridPointFromEvent(event: GridMouseEvent): GridPoint;
|
|
129
|
+
getGridPointFromXY(x: Coordinate, y: Coordinate): GridPoint;
|
|
130
|
+
getMetricState(state?: Readonly<GridState>): GridMetricState;
|
|
131
|
+
getCachedKeyHandlers: (keyHandlers: KeyHandler[]) => KeyHandler[];
|
|
132
|
+
getKeyHandlers(): KeyHandler[];
|
|
133
|
+
getCachedMouseHandlers: (mouseHandlers: GridMouseHandler[]) => GridMouseHandler[];
|
|
134
|
+
getMouseHandlers(): GridMouseHandler[];
|
|
135
|
+
/**
|
|
136
|
+
* Translate from the provided visible index to the model index
|
|
137
|
+
* @param columnIndex The column index to get the model for
|
|
138
|
+
* @returns The model index
|
|
139
|
+
*/
|
|
140
|
+
getModelColumn(columnIndex: VisibleIndex): ModelIndex;
|
|
141
|
+
/**
|
|
142
|
+
* Translate from the provided visible index to the model index
|
|
143
|
+
* @param rowIndex The row index to get the model for
|
|
144
|
+
* @returns The model index
|
|
145
|
+
*/
|
|
146
|
+
getModelRow(rowIndex: VisibleIndex): ModelIndex;
|
|
147
|
+
/**
|
|
148
|
+
* Toggle a row between expanded and collapsed states
|
|
149
|
+
* @param row The row to toggle expansion for
|
|
150
|
+
*/
|
|
151
|
+
toggleRowExpanded(row: VisibleIndex): void;
|
|
152
|
+
/**
|
|
153
|
+
* Allows the selected ranges to be set programatically
|
|
154
|
+
* Will update the cursor and selection start/end based on the new ranges
|
|
155
|
+
* @param gridRanges The new selected ranges to set
|
|
156
|
+
*/
|
|
157
|
+
setSelectedRanges(gridRanges: GridRange[]): void;
|
|
94
158
|
initContext(): void;
|
|
95
159
|
requestUpdateCanvas(): void;
|
|
96
|
-
updateCanvas(metrics?:
|
|
160
|
+
updateCanvas(metrics?: GridMetrics): void;
|
|
97
161
|
updateCanvasScale(): void;
|
|
98
|
-
updateMetrics(state?:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
draggingRowSeparator: null;
|
|
109
|
-
isDraggingHorizontalScrollBar: boolean;
|
|
110
|
-
isDraggingVerticalScrollBar: boolean;
|
|
111
|
-
isDragging: boolean;
|
|
112
|
-
mouseX: null;
|
|
113
|
-
mouseY: null;
|
|
114
|
-
movedColumns: any;
|
|
115
|
-
movedRows: any;
|
|
116
|
-
cursorRow: null;
|
|
117
|
-
cursorColumn: null;
|
|
118
|
-
selectionStartRow: null;
|
|
119
|
-
selectionStartColumn: null;
|
|
120
|
-
selectionEndRow: null;
|
|
121
|
-
selectionEndColumn: null;
|
|
122
|
-
selectedRanges: never[];
|
|
123
|
-
lastSelectedRanges: never[];
|
|
124
|
-
cursor: null;
|
|
125
|
-
editingCell: null;
|
|
126
|
-
}): any;
|
|
127
|
-
checkSelectionChange(prevState: any): void;
|
|
162
|
+
updateMetrics(state?: Readonly<GridState>): GridMetrics;
|
|
163
|
+
/**
|
|
164
|
+
* Check if the selection state has changed, and call the onSelectionChanged callback if they have
|
|
165
|
+
* @param prevState The previous grid state
|
|
166
|
+
*/
|
|
167
|
+
checkSelectionChange(prevState: GridState): void;
|
|
168
|
+
/**
|
|
169
|
+
* Validate the current selection, and reset if it is invalid
|
|
170
|
+
* @returns True if the selection is valid, false if the selection was invalid and has been reset
|
|
171
|
+
*/
|
|
128
172
|
validateSelection(): boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Clears all selected ranges
|
|
175
|
+
*/
|
|
129
176
|
clearSelectedRanges(): void;
|
|
130
177
|
/** Clears all but the last selected range */
|
|
131
178
|
trimSelectedRanges(): void;
|
|
132
|
-
|
|
179
|
+
/**
|
|
180
|
+
* Begin a selection operation at the provided location
|
|
181
|
+
* @param column Column where the selection is beginning
|
|
182
|
+
* @param row Row where the selection is beginning
|
|
183
|
+
*/
|
|
184
|
+
beginSelection(column: GridRangeIndex, row: GridRangeIndex): void;
|
|
133
185
|
/**
|
|
134
186
|
* Moves the selection to the cell specified
|
|
135
|
-
* @param
|
|
136
|
-
* @param
|
|
137
|
-
* @param
|
|
138
|
-
* @param
|
|
187
|
+
* @param column The column index to move the cursor to
|
|
188
|
+
* @param row The row index to move the cursor to
|
|
189
|
+
* @param extendSelection Whether to extend the current selection (eg. holding Shift)
|
|
190
|
+
* @param maximizePreviousRange When true, maximize/add to the previous range only, ignoring where the selection was started.
|
|
139
191
|
*/
|
|
140
|
-
moveSelection(column:
|
|
192
|
+
moveSelection(column: GridRangeIndex, row: GridRangeIndex, extendSelection?: boolean, maximizePreviousRange?: boolean): void;
|
|
141
193
|
/**
|
|
142
194
|
* Commits the last selected range to the selected ranges.
|
|
143
195
|
* First checks if the last range is completely contained within another range, and if it
|
|
@@ -145,166 +197,163 @@ declare class Grid extends React.PureComponent<any, any, any> {
|
|
|
145
197
|
* Then it consolidates all the selected ranges, reducing them.
|
|
146
198
|
*/
|
|
147
199
|
commitSelection(): void;
|
|
200
|
+
/**
|
|
201
|
+
* Set the selection to the entire grid
|
|
202
|
+
*/
|
|
148
203
|
selectAll(): void;
|
|
149
|
-
|
|
204
|
+
/**
|
|
205
|
+
* Move the cursor in relation to the current cursor position
|
|
206
|
+
* @param deltaColumn Number of columns to move the cursor
|
|
207
|
+
* @param deltaRow Number of rows to move the cursor
|
|
208
|
+
* @param extendSelection True if the current selection should be extended, false to start a new selection
|
|
209
|
+
*/
|
|
210
|
+
moveCursor(deltaColumn: number, deltaRow: number, extendSelection: boolean): void;
|
|
150
211
|
/**
|
|
151
212
|
* Move the cursor in the provided selection direction
|
|
152
|
-
* @param
|
|
213
|
+
* @param direction The direction to move the cursor in
|
|
153
214
|
*/
|
|
154
|
-
moveCursorInDirection(direction?:
|
|
215
|
+
moveCursorInDirection(direction?: SELECTION_DIRECTION): void;
|
|
155
216
|
/**
|
|
156
217
|
* Move a cursor to the specified position in the grid.
|
|
157
|
-
* @param
|
|
158
|
-
* @param
|
|
159
|
-
* @param
|
|
160
|
-
* @param
|
|
161
|
-
* @param
|
|
218
|
+
* @param column The column index to move the cursor to
|
|
219
|
+
* @param row The row index to move the cursor to
|
|
220
|
+
* @param extendSelection Whether to extend the current selection (eg. holding Shift)
|
|
221
|
+
* @param keepCursorInView Whether to move the viewport so that the cursor is in view
|
|
222
|
+
* @param maximizePreviousRange With this and `extendSelection` true, it will maximize/add to the previous range only, ignoring where the selection was started
|
|
162
223
|
*/
|
|
163
|
-
moveCursorToPosition(column:
|
|
224
|
+
moveCursorToPosition(column: GridRangeIndex, row: GridRangeIndex, extendSelection?: boolean, keepCursorInView?: boolean, maximizePreviousRange?: boolean): void;
|
|
164
225
|
/**
|
|
165
226
|
* Moves the view to make the specified cell visible
|
|
166
227
|
*
|
|
167
|
-
* @param
|
|
168
|
-
* @param
|
|
228
|
+
* @param column The column index to bring into view
|
|
229
|
+
* @param row The row index to bring into view
|
|
169
230
|
*/
|
|
170
|
-
moveViewToCell(column:
|
|
231
|
+
moveViewToCell(column: GridRangeIndex, row: GridRangeIndex): void;
|
|
171
232
|
/**
|
|
172
233
|
* Checks the `top` and `left` properties that are set and updates the isStuckToBottom/Right properties
|
|
173
234
|
* Should be called when user interaction occurs
|
|
174
|
-
* @param
|
|
175
|
-
* @param
|
|
235
|
+
* @param viewState New state properties to set.
|
|
236
|
+
* @param forceUpdate Whether to force an update.
|
|
176
237
|
*/
|
|
177
|
-
setViewState(viewState:
|
|
238
|
+
setViewState(viewState: Partial<GridState>, forceUpdate?: boolean): void;
|
|
178
239
|
/**
|
|
179
240
|
* Start editing the data at the given index
|
|
180
241
|
*
|
|
181
|
-
* @param
|
|
182
|
-
* @param
|
|
183
|
-
* @param
|
|
184
|
-
* @param
|
|
185
|
-
* @param
|
|
242
|
+
* @param column The visible column index to start editing
|
|
243
|
+
* @param row The visible row index to start editing
|
|
244
|
+
* @param isQuickEdit If this is a quick edit (the arrow keys can commit)
|
|
245
|
+
* @param selectionRange The tuple [start,end] text selection range of the value to select when editing
|
|
246
|
+
* @param value The value to start with in the edit field. Leave undefined to use the current value.
|
|
186
247
|
*/
|
|
187
|
-
startEditing(column:
|
|
188
|
-
|
|
248
|
+
startEditing(column: VisibleIndex, row: VisibleIndex, isQuickEdit?: boolean, selectionRange?: EditingCellTextSelectionRange, value?: string): void;
|
|
249
|
+
/**
|
|
250
|
+
* Check if a value is valid for a specific cell
|
|
251
|
+
* @param column Column index of the cell to check
|
|
252
|
+
* @param row Row index of the cell to check
|
|
253
|
+
* @param value Value to check
|
|
254
|
+
* @returns True if the value is valid for the provided cell, false otherwise
|
|
255
|
+
*/
|
|
256
|
+
isValidForCell(column: VisibleIndex, row: VisibleIndex, value: string): boolean;
|
|
189
257
|
/**
|
|
190
258
|
* Paste a value with the current selection
|
|
191
259
|
* It first needs to validate that the pasted table is valid for the given selection.
|
|
192
260
|
* Also may update selection if single cells are selected and a table is pasted.
|
|
193
|
-
* @param
|
|
261
|
+
* @param value Table or a string that is being pasted
|
|
194
262
|
*/
|
|
195
263
|
pasteValue(value: string[][] | string): Promise<void>;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
264
|
+
/**
|
|
265
|
+
* Set a value to a specific cell. If the value is not valid for that cell, do not set it
|
|
266
|
+
* @param column Column index to set the value for
|
|
267
|
+
* @param row Row index to set the value for
|
|
268
|
+
* @param value Value to set at that cell
|
|
269
|
+
* @returns true If the value was valid and attempted to be set, false is it was not valid
|
|
270
|
+
*/
|
|
271
|
+
setValueForCell(column: VisibleIndex, row: VisibleIndex, value: string): boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Set a value on all the ranges provided
|
|
274
|
+
* @param ranges Ranges to set
|
|
275
|
+
* @param value The value to set on all the ranges
|
|
276
|
+
*/
|
|
277
|
+
setValueForRanges(ranges: GridRange[], value: string): void;
|
|
278
|
+
/**
|
|
279
|
+
* Check if a given cell is within the current selection
|
|
280
|
+
* @param row Row to check
|
|
281
|
+
* @param column Column to check
|
|
282
|
+
* @returns True if the cell is in the current selection, false otherwise
|
|
283
|
+
*/
|
|
284
|
+
isSelected(row: VisibleIndex, column: VisibleIndex): boolean;
|
|
285
|
+
addDocumentCursor(cursor?: string | null): void;
|
|
200
286
|
removeDocumentCursor(): void;
|
|
201
|
-
startDragTimer(event:
|
|
287
|
+
startDragTimer(event: React.MouseEvent): void;
|
|
202
288
|
stopDragTimer(): void;
|
|
203
289
|
/**
|
|
290
|
+
* Draw the grid with the metrics provided
|
|
204
291
|
* When scrolling you've have to re-draw the whole canvas. As a consequence, all these drawing methods
|
|
205
292
|
* must be very quick.
|
|
293
|
+
* @param metrics Metrics to use for rendering the grid
|
|
294
|
+
*/
|
|
295
|
+
drawCanvas(metrics?: GridMetrics): void;
|
|
296
|
+
/**
|
|
297
|
+
* Set focus to this grid element
|
|
206
298
|
*/
|
|
207
|
-
drawCanvas(metrics?: any): void;
|
|
208
299
|
focus(): void;
|
|
300
|
+
/**
|
|
301
|
+
* Check if this grid is currently focused
|
|
302
|
+
* @returns True if the active element is this grid
|
|
303
|
+
*/
|
|
209
304
|
isFocused(): boolean;
|
|
305
|
+
/**
|
|
306
|
+
* Handle a mouse click event. Pass the event to the registered mouse handlers until one handles it.
|
|
307
|
+
* Focuses the grid after the click.
|
|
308
|
+
* @param event The mouse event
|
|
309
|
+
*/
|
|
310
|
+
handleClick(event: React.MouseEvent): void;
|
|
311
|
+
/**
|
|
312
|
+
* Handle a mouse context menu event. Pass the event to the registered mouse handlers until one handles it.
|
|
313
|
+
* @param event The mouse event triggering the context menu
|
|
314
|
+
*/
|
|
315
|
+
handleContextMenu(event: React.MouseEvent): void;
|
|
316
|
+
/**
|
|
317
|
+
* Handle a key down event from the keyboard. Pass the event to the registered keyboard handlers until one handles it.
|
|
318
|
+
* @param event Keyboard event
|
|
319
|
+
*/
|
|
320
|
+
handleKeyDown(event: GridKeyboardEvent): void;
|
|
210
321
|
/**
|
|
211
322
|
* Notify all of the mouse handlers for this grid of a mouse event.
|
|
212
|
-
* @param
|
|
213
|
-
* @param
|
|
214
|
-
* @param
|
|
215
|
-
* @param
|
|
323
|
+
* @param functionName The name of the function in the mouse handler to call
|
|
324
|
+
* @param event The mouse event to notify
|
|
325
|
+
* @param updateCoordinates Whether to update the mouse coordinates
|
|
326
|
+
* @param addCursorToDocument Whether to add a cursor overlay or not (for dragging)
|
|
216
327
|
*/
|
|
217
|
-
notifyMouseHandlers(functionName:
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
autoSelectRow: PropTypes.Requireable<boolean>;
|
|
247
|
-
}>>;
|
|
248
|
-
}
|
|
249
|
-
namespace defaultProps {
|
|
250
|
-
export namespace canvasOptions_1 {
|
|
251
|
-
const alpha: boolean;
|
|
252
|
-
}
|
|
253
|
-
export { canvasOptions_1 as canvasOptions };
|
|
254
|
-
const isStickyBottom_1: boolean;
|
|
255
|
-
export { isStickyBottom_1 as isStickyBottom };
|
|
256
|
-
const isStickyRight_1: boolean;
|
|
257
|
-
export { isStickyRight_1 as isStickyRight };
|
|
258
|
-
const metricCalculator_1: null;
|
|
259
|
-
export { metricCalculator_1 as metricCalculator };
|
|
260
|
-
const keyHandlers_1: never[];
|
|
261
|
-
export { keyHandlers_1 as keyHandlers };
|
|
262
|
-
const mouseHandlers_1: never[];
|
|
263
|
-
export { mouseHandlers_1 as mouseHandlers };
|
|
264
|
-
const movedColumns_1: never[];
|
|
265
|
-
export { movedColumns_1 as movedColumns };
|
|
266
|
-
const movedRows_1: never[];
|
|
267
|
-
export { movedRows_1 as movedRows };
|
|
268
|
-
export function onError_1(): void;
|
|
269
|
-
export { onError_1 as onError };
|
|
270
|
-
export function onSelectionChanged_1(): void;
|
|
271
|
-
export { onSelectionChanged_1 as onSelectionChanged };
|
|
272
|
-
export function onMovedColumnsChanged_1(): void;
|
|
273
|
-
export { onMovedColumnsChanged_1 as onMovedColumnsChanged };
|
|
274
|
-
export function onMoveColumnComplete_1(): void;
|
|
275
|
-
export { onMoveColumnComplete_1 as onMoveColumnComplete };
|
|
276
|
-
export function onViewChanged_1(): void;
|
|
277
|
-
export { onViewChanged_1 as onViewChanged };
|
|
278
|
-
const renderer_1: null;
|
|
279
|
-
export { renderer_1 as renderer };
|
|
280
|
-
const stateOverride_1: {};
|
|
281
|
-
export { stateOverride_1 as stateOverride };
|
|
282
|
-
export namespace theme_1 {
|
|
283
|
-
const autoSelectColumn: boolean;
|
|
284
|
-
const autoSelectRow: boolean;
|
|
285
|
-
}
|
|
286
|
-
export { theme_1 as theme };
|
|
287
|
-
}
|
|
328
|
+
notifyMouseHandlers(functionName: GridMouseHandlerFunctionName, event: GridMouseEvent, updateCoordinates?: boolean, addCursorToDocument?: boolean): void;
|
|
329
|
+
handleMouseDown(event: React.MouseEvent): void;
|
|
330
|
+
handleDoubleClick(event: React.MouseEvent): void;
|
|
331
|
+
handleMouseMove(event: React.MouseEvent): void;
|
|
332
|
+
handleMouseLeave(event: React.MouseEvent): void;
|
|
333
|
+
handleMouseDrag(event: MouseEvent): void;
|
|
334
|
+
handleMouseUp(event: MouseEvent): void;
|
|
335
|
+
handleResize(): void;
|
|
336
|
+
handleWheel(event: WheelEvent): void;
|
|
337
|
+
/**
|
|
338
|
+
* Handle cancelling the cell edit action
|
|
339
|
+
*/
|
|
340
|
+
handleEditCellCancel(): void;
|
|
341
|
+
/**
|
|
342
|
+
* Handle a change in the value in an editing cell
|
|
343
|
+
* @param value New value set
|
|
344
|
+
*/
|
|
345
|
+
handleEditCellChange(value: string): void;
|
|
346
|
+
/**
|
|
347
|
+
* Commit an edit for the currently editing cell
|
|
348
|
+
* @param value Value that was committed
|
|
349
|
+
* @param options Options for committing
|
|
350
|
+
*/
|
|
351
|
+
handleEditCellCommit(value: string, { direction, fillRange, }?: {
|
|
352
|
+
direction?: SELECTION_DIRECTION | null;
|
|
353
|
+
fillRange?: boolean;
|
|
354
|
+
}): void;
|
|
355
|
+
renderInputField(): ReactNode;
|
|
356
|
+
render(): ReactNode;
|
|
288
357
|
}
|
|
289
|
-
|
|
290
|
-
import { SelectionKeyHandler } from "./key-handlers";
|
|
291
|
-
import { TreeKeyHandler } from "./key-handlers";
|
|
292
|
-
import { EditKeyHandler } from "./key-handlers";
|
|
293
|
-
import { PasteKeyHandler } from "./key-handlers";
|
|
294
|
-
import { EditMouseHandler } from "./mouse-handlers";
|
|
295
|
-
import { GridSelectionMouseHandler } from "./mouse-handlers";
|
|
296
|
-
import { GridColumnMoveMouseHandler } from "./mouse-handlers";
|
|
297
|
-
import { GridColumnSeparatorMouseHandler } from "./mouse-handlers";
|
|
298
|
-
import { GridHorizontalScrollBarMouseHandler } from "./mouse-handlers";
|
|
299
|
-
import { GridRowMoveMouseHandler } from "./mouse-handlers";
|
|
300
|
-
import { GridRowSeparatorMouseHandler } from "./mouse-handlers";
|
|
301
|
-
import { GridRowTreeMouseHandler } from "./mouse-handlers";
|
|
302
|
-
import { GridScrollBarCornerMouseHandler } from "./mouse-handlers";
|
|
303
|
-
import { GridVerticalScrollBarMouseHandler } from "./mouse-handlers";
|
|
304
|
-
import PropTypes from "prop-types";
|
|
305
|
-
import GridMetricCalculator from "./GridMetricCalculator";
|
|
306
|
-
import GridModel from "./GridModel";
|
|
307
|
-
import KeyHandler from "./KeyHandler";
|
|
308
|
-
import GridMouseHandler from "./GridMouseHandler";
|
|
309
|
-
import GridRenderer from "./GridRenderer";
|
|
358
|
+
export default Grid;
|
|
310
359
|
//# sourceMappingURL=Grid.d.ts.map
|
package/dist/Grid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../src/Grid.
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../src/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAiB,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,OAAO,oBAAoB,EAAE,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,gBAAgB,EAAE,EACvB,cAAc,EACd,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAC5B,OAAkB,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,SAAS,EAAE,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,YAAY,EAAE,EACnB,WAAW,EACX,6BAA6B,EAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAkB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAanD,OAAO,aAAa,CAAC;AACrB,OAAO,UAAU,EAAE,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAS7D,OAAO,WAAW,EAAE,EAClB,UAAU,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACb,MAAM,eAAe,CAAC;AAkBvB,oBAAY,SA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