@iyulab/flex-table 0.10.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.
- package/dist/core/selection.d.ts +5 -1
- package/dist/flex-table-DJvbRtBl.js +2739 -0
- package/dist/flex-table.d.ts +38 -1
- package/dist/flex-table.js +2 -8
- package/dist/models/types.d.ts +8 -1
- package/dist/odata/index.js +72 -69
- package/dist/react.js +35 -35
- package/package.json +9 -9
- package/dist/flex-table-DNBCgorV.js +0 -2137
package/dist/core/selection.d.ts
CHANGED
|
@@ -27,13 +27,17 @@ export declare class SelectionState {
|
|
|
27
27
|
rangeAnchor: CellPosition | null;
|
|
28
28
|
/** Current range end (the active cell is the range end during Shift selection) */
|
|
29
29
|
range: CellRange | null;
|
|
30
|
+
/** Additional non-contiguous single-cell ranges from Ctrl+Click */
|
|
31
|
+
extraRanges: CellRange[];
|
|
30
32
|
private _rowCount;
|
|
31
33
|
private _colCount;
|
|
32
34
|
setDimensions(rowCount: number, colCount: number): void;
|
|
33
35
|
setActive(row: number, col: number): CellPosition | null;
|
|
36
|
+
/** Toggle a single cell in/out of non-contiguous extra selection (Ctrl+Click) */
|
|
37
|
+
toggleCell(row: number, col: number): void;
|
|
34
38
|
/** Set active cell and extend range from anchor */
|
|
35
39
|
setActiveWithRange(row: number, col: number): CellPosition | null;
|
|
36
|
-
/** Check if a cell is within the current selection range */
|
|
40
|
+
/** Check if a cell is within the current selection range or any extra range */
|
|
37
41
|
isInRange(row: number, col: number): boolean;
|
|
38
42
|
/** Get the effective range: either the explicit range or just the active cell */
|
|
39
43
|
getEffectiveRange(): CellRange | null;
|