handsontable 15.2.0 → 15.3.0-next-6f5f494-20250424
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/3rdparty/walkontable/src/cell/range.js +14 -0
- package/3rdparty/walkontable/src/cell/range.mjs +14 -0
- package/3rdparty/walkontable/src/core/_base.js +2 -2
- package/3rdparty/walkontable/src/core/_base.mjs +3 -3
- package/3rdparty/walkontable/src/overlay/_base.js +0 -2
- package/3rdparty/walkontable/src/overlay/_base.mjs +0 -2
- package/3rdparty/walkontable/src/overlay/bottom.js +9 -6
- package/3rdparty/walkontable/src/overlay/bottom.mjs +9 -6
- package/3rdparty/walkontable/src/overlay/inlineStart.js +8 -5
- package/3rdparty/walkontable/src/overlay/inlineStart.mjs +8 -5
- package/3rdparty/walkontable/src/overlay/top.js +11 -6
- package/3rdparty/walkontable/src/overlay/top.mjs +11 -6
- package/3rdparty/walkontable/src/overlays.js +15 -11
- package/3rdparty/walkontable/src/overlays.mjs +15 -11
- package/3rdparty/walkontable/src/renderer/rowHeaders.js +4 -1
- package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +4 -1
- package/3rdparty/walkontable/src/selection/border/border.js +5 -0
- package/3rdparty/walkontable/src/selection/border/border.mjs +5 -0
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +3 -4
- package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +3 -4
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +8 -10
- package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +8 -10
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +3 -4
- package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +3 -4
- package/3rdparty/walkontable/src/table.js +5 -2
- package/3rdparty/walkontable/src/table.mjs +5 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.js +0 -2
- package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.mjs +0 -2
- package/CHANGELOG.md +45 -1
- package/README.md +1 -1
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core/focusCatcher/focusDetector.js +1 -1
- package/core/focusCatcher/focusDetector.mjs +2 -2
- package/core/hooks/constants.js +8 -0
- package/core/hooks/constants.mjs +8 -0
- package/core/hooks/index.d.ts +1 -0
- package/core/viewportScroll/scrollStrategies/columnHeaderScroll.js +7 -5
- package/core/viewportScroll/scrollStrategies/columnHeaderScroll.mjs +7 -5
- package/core/viewportScroll/scrollStrategies/focusScroll.js +8 -1
- package/core/viewportScroll/scrollStrategies/focusScroll.mjs +8 -1
- package/core/viewportScroll/scrollStrategies/multipleScroll.js +13 -1
- package/core/viewportScroll/scrollStrategies/multipleScroll.mjs +13 -1
- package/core/viewportScroll/scrollStrategies/noncontiguousScroll.js +13 -1
- package/core/viewportScroll/scrollStrategies/noncontiguousScroll.mjs +13 -1
- package/core/viewportScroll/scrollStrategies/rowHeaderScroll.js +7 -5
- package/core/viewportScroll/scrollStrategies/rowHeaderScroll.mjs +7 -5
- package/core/viewportScroll/scrollStrategies/singleScroll.js +8 -4
- package/core/viewportScroll/scrollStrategies/singleScroll.mjs +8 -4
- package/core/viewportScroll/utils.js +111 -0
- package/core/viewportScroll/utils.mjs +106 -0
- package/core.d.ts +2 -3
- package/core.js +125 -71
- package/core.mjs +126 -72
- package/dataMap/dataMap.js +0 -7
- package/dataMap/dataMap.mjs +0 -7
- package/dataMap/metaManager/index.js +8 -9
- package/dataMap/metaManager/index.mjs +8 -9
- package/dataMap/metaManager/mods/dynamicCellMeta.js +4 -1
- package/dataMap/metaManager/mods/dynamicCellMeta.mjs +4 -1
- package/dist/handsontable.css +4 -15
- package/dist/handsontable.full.css +4 -17
- package/dist/handsontable.full.js +4573 -4013
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +148 -148
- package/dist/handsontable.js +4287 -3730
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +19 -19
- package/editorManager.js +1 -7
- package/editorManager.mjs +1 -7
- package/editors/autocompleteEditor/autocompleteEditor.js +31 -7
- package/editors/autocompleteEditor/autocompleteEditor.mjs +31 -7
- package/focusManager.js +4 -2
- package/focusManager.mjs +4 -2
- package/helpers/browser.js +1 -1
- package/helpers/browser.mjs +1 -1
- package/helpers/dom/element.d.ts +1 -0
- package/helpers/dom/element.js +20 -0
- package/helpers/dom/element.mjs +19 -0
- package/helpers/mixed.js +2 -2
- package/helpers/mixed.mjs +2 -2
- package/helpers/object.js +3 -0
- package/helpers/object.mjs +3 -0
- package/package.json +1 -1
- package/plugins/autoColumnSize/autoColumnSize.js +38 -17
- package/plugins/autoColumnSize/autoColumnSize.mjs +38 -17
- package/plugins/autoRowSize/autoRowSize.js +12 -6
- package/plugins/autoRowSize/autoRowSize.mjs +12 -6
- package/plugins/columnSorting/columnSorting.js +0 -4
- package/plugins/columnSorting/columnSorting.mjs +0 -4
- package/plugins/comments/comments.js +1 -0
- package/plugins/comments/comments.mjs +1 -0
- package/plugins/contextMenu/menu/defaultShortcutsList.js +2 -2
- package/plugins/contextMenu/menu/defaultShortcutsList.mjs +2 -2
- package/plugins/contextMenu/menu/menu.js +1 -0
- package/plugins/contextMenu/menu/menu.mjs +1 -0
- package/plugins/contextMenu/menu/positioner.js +10 -2
- package/plugins/contextMenu/menu/positioner.mjs +10 -2
- package/plugins/contextMenu/predefinedItems/redo.js +3 -3
- package/plugins/contextMenu/predefinedItems/redo.mjs +3 -3
- package/plugins/contextMenu/predefinedItems/undo.js +3 -3
- package/plugins/contextMenu/predefinedItems/undo.mjs +3 -3
- package/plugins/copyPaste/copyPaste.js +12 -9
- package/plugins/copyPaste/copyPaste.mjs +12 -9
- package/plugins/copyPaste/pasteEvent.js +3 -0
- package/plugins/copyPaste/pasteEvent.mjs +3 -0
- package/plugins/exportFile/exportFile.d.ts +1 -0
- package/plugins/exportFile/exportFile.js +2 -1
- package/plugins/exportFile/exportFile.mjs +2 -1
- package/plugins/exportFile/types/csv.js +76 -11
- package/plugins/exportFile/types/csv.mjs +76 -11
- package/plugins/filters/filters.js +24 -23
- package/plugins/filters/filters.mjs +24 -23
- package/plugins/filters/ui/multipleSelect.js +7 -1
- package/plugins/filters/ui/multipleSelect.mjs +7 -1
- package/plugins/formulas/formulas.d.ts +1 -1
- package/plugins/formulas/formulas.js +57 -60
- package/plugins/formulas/formulas.mjs +59 -62
- package/plugins/formulas/indexSyncer/axisSyncer.js +5 -1
- package/plugins/formulas/indexSyncer/axisSyncer.mjs +5 -1
- package/plugins/hiddenColumns/hiddenColumns.js +1 -1
- package/plugins/hiddenColumns/hiddenColumns.mjs +1 -1
- package/plugins/hiddenRows/hiddenRows.js +1 -1
- package/plugins/hiddenRows/hiddenRows.mjs +1 -1
- package/plugins/manualColumnResize/manualColumnResize.js +4 -6
- package/plugins/manualColumnResize/manualColumnResize.mjs +4 -6
- package/plugins/manualRowResize/manualRowResize.js +4 -6
- package/plugins/manualRowResize/manualRowResize.mjs +4 -6
- package/plugins/mergeCells/mergeCells.js +10 -30
- package/plugins/mergeCells/mergeCells.mjs +10 -30
- package/plugins/mergeCells/renderer.js +15 -0
- package/plugins/mergeCells/renderer.mjs +15 -0
- package/plugins/mergeCells/utils.js +31 -0
- package/plugins/mergeCells/utils.mjs +27 -0
- package/plugins/nestedRows/data/dataManager.js +2 -2
- package/plugins/nestedRows/data/dataManager.mjs +2 -2
- package/plugins/undoRedo/actions/index.js +0 -2
- package/plugins/undoRedo/actions/index.mjs +0 -2
- package/plugins/undoRedo/actions/removeColumn.js +19 -14
- package/plugins/undoRedo/actions/removeColumn.mjs +19 -14
- package/plugins/undoRedo/actions/removeRow.js +12 -4
- package/plugins/undoRedo/actions/removeRow.mjs +12 -4
- package/selection/selection.js +3 -1
- package/selection/selection.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/down.js +7 -2
- package/shortcutContexts/commands/extendCellsSelection/down.mjs +7 -2
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +8 -2
- package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.mjs +8 -2
- package/shortcutContexts/commands/extendCellsSelection/left.js +7 -2
- package/shortcutContexts/commands/extendCellsSelection/left.mjs +7 -2
- package/shortcutContexts/commands/extendCellsSelection/right.js +7 -2
- package/shortcutContexts/commands/extendCellsSelection/right.mjs +7 -2
- package/shortcutContexts/commands/extendCellsSelection/toColumns.js +7 -2
- package/shortcutContexts/commands/extendCellsSelection/toColumns.mjs +7 -2
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostBottom.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostLeft.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostRight.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toMostTop.mjs +3 -1
- package/shortcutContexts/commands/extendCellsSelection/toRows.js +7 -2
- package/shortcutContexts/commands/extendCellsSelection/toRows.mjs +7 -2
- package/shortcutContexts/commands/extendCellsSelection/up.js +7 -2
- package/shortcutContexts/commands/extendCellsSelection/up.mjs +7 -2
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +8 -2
- package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.mjs +8 -2
- package/shortcutContexts/commands/index.js +0 -2
- package/shortcutContexts/commands/index.mjs +0 -2
- package/shortcutContexts/commands/moveCellSelection/down.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/down.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.js +6 -1
- package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.mjs +6 -1
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +8 -3
- package/shortcutContexts/commands/moveCellSelection/inlineEnd.mjs +8 -3
- package/shortcutContexts/commands/moveCellSelection/inlineStart.js +8 -3
- package/shortcutContexts/commands/moveCellSelection/inlineStart.mjs +8 -3
- package/shortcutContexts/commands/moveCellSelection/left.js +6 -1
- package/shortcutContexts/commands/moveCellSelection/left.mjs +6 -1
- package/shortcutContexts/commands/moveCellSelection/right.js +6 -1
- package/shortcutContexts/commands/moveCellSelection/right.mjs +6 -1
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.js +4 -1
- package/shortcutContexts/commands/moveCellSelection/toMostBottom.mjs +4 -1
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostLeft.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostRight.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostRight.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostTop.js +6 -1
- package/shortcutContexts/commands/moveCellSelection/toMostTop.mjs +6 -1
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/up.js +2 -0
- package/shortcutContexts/commands/moveCellSelection/up.mjs +2 -0
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.js +6 -1
- package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.mjs +6 -1
- package/shortcutContexts/commands/selectAllCells.js +7 -2
- package/shortcutContexts/commands/selectAllCells.mjs +7 -2
- package/shortcutContexts/commands/selectAllCellsAndHeaders.js +7 -2
- package/shortcutContexts/commands/selectAllCellsAndHeaders.mjs +7 -2
- package/shortcutContexts/index.js +2 -2
- package/shortcutContexts/index.mjs +0 -2
- package/styles/handsontable.css +15 -17
- package/styles/handsontable.min.css +3 -3
- package/styles/ht-theme-horizon.css +2 -2
- package/styles/ht-theme-horizon.min.css +2 -2
- package/styles/ht-theme-main.css +2 -2
- package/styles/ht-theme-main.min.css +2 -2
- package/tableView.js +5 -8
- package/tableView.mjs +5 -8
- package/translations/indexMapper.js +0 -1
- package/translations/indexMapper.mjs +0 -1
- package/utils/ghostTable.js +3 -0
- package/utils/ghostTable.mjs +3 -0
@@ -9,6 +9,8 @@ export const command = {
|
|
9
9
|
const fixedRows = parseInt(hot.getSettings().fixedRowsBottom, 10);
|
10
10
|
const row = rowIndexMapper.getNearestNotHiddenIndex(hot.countRows() - fixedRows - 1, -1);
|
11
11
|
const column = columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1);
|
12
|
+
selection.markSource('keyboard');
|
12
13
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
14
|
+
selection.markEndSource();
|
13
15
|
}
|
14
16
|
};
|
@@ -8,6 +8,8 @@ const command = exports.command = {
|
|
8
8
|
selection,
|
9
9
|
columnIndexMapper
|
10
10
|
} = hot;
|
11
|
+
selection.markSource('keyboard');
|
11
12
|
selection.setRangeStart(hot._createCellCoords(hot.getSelectedRangeLast().highlight.row, columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1)));
|
13
|
+
selection.markEndSource();
|
12
14
|
}
|
13
15
|
};
|
@@ -5,6 +5,8 @@ export const command = {
|
|
5
5
|
selection,
|
6
6
|
columnIndexMapper
|
7
7
|
} = hot;
|
8
|
+
selection.markSource('keyboard');
|
8
9
|
selection.setRangeStart(hot._createCellCoords(hot.getSelectedRangeLast().highlight.row, columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1)));
|
10
|
+
selection.markEndSource();
|
9
11
|
}
|
10
12
|
};
|
@@ -11,6 +11,8 @@ const command = exports.command = {
|
|
11
11
|
const fixedColumns = parseInt(hot.getSettings().fixedColumnsStart, 10);
|
12
12
|
const row = hot.getSelectedRangeLast().highlight.row;
|
13
13
|
const column = columnIndexMapper.getNearestNotHiddenIndex(fixedColumns, 1);
|
14
|
+
selection.markSource('keyboard');
|
14
15
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
16
|
+
selection.markEndSource();
|
15
17
|
}
|
16
18
|
};
|
@@ -8,6 +8,8 @@ export const command = {
|
|
8
8
|
const fixedColumns = parseInt(hot.getSettings().fixedColumnsStart, 10);
|
9
9
|
const row = hot.getSelectedRangeLast().highlight.row;
|
10
10
|
const column = columnIndexMapper.getNearestNotHiddenIndex(fixedColumns, 1);
|
11
|
+
selection.markSource('keyboard');
|
11
12
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
13
|
+
selection.markEndSource();
|
12
14
|
}
|
13
15
|
};
|
@@ -13,6 +13,8 @@ const command = exports.command = {
|
|
13
13
|
if (column === null) {
|
14
14
|
column = hot.isRtl() ? -1 : -hot.countRowHeaders();
|
15
15
|
}
|
16
|
+
selection.markSource('keyboard');
|
16
17
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
18
|
+
selection.markEndSource();
|
17
19
|
}
|
18
20
|
};
|
@@ -15,6 +15,8 @@ const command = exports.command = {
|
|
15
15
|
if (column === null) {
|
16
16
|
column = hot.isRtl() ? -hot.countRowHeaders() : -1;
|
17
17
|
}
|
18
|
+
selection.markSource('keyboard');
|
18
19
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
20
|
+
selection.markEndSource();
|
19
21
|
}
|
20
22
|
};
|
@@ -4,6 +4,9 @@ exports.__esModule = true;
|
|
4
4
|
const command = exports.command = {
|
5
5
|
name: 'moveCellSelectionToMostTop',
|
6
6
|
callback(hot) {
|
7
|
+
const {
|
8
|
+
selection
|
9
|
+
} = hot;
|
7
10
|
const {
|
8
11
|
col
|
9
12
|
} = hot.getSelectedRangeLast().highlight;
|
@@ -11,6 +14,8 @@ const command = exports.command = {
|
|
11
14
|
if (row === null) {
|
12
15
|
row = -hot.countColHeaders();
|
13
16
|
}
|
14
|
-
|
17
|
+
selection.markSource('keyboard');
|
18
|
+
selection.setRangeStart(hot._createCellCoords(row, col));
|
19
|
+
selection.markEndSource();
|
15
20
|
}
|
16
21
|
};
|
@@ -1,6 +1,9 @@
|
|
1
1
|
export const command = {
|
2
2
|
name: 'moveCellSelectionToMostTop',
|
3
3
|
callback(hot) {
|
4
|
+
const {
|
5
|
+
selection
|
6
|
+
} = hot;
|
4
7
|
const {
|
5
8
|
col
|
6
9
|
} = hot.getSelectedRangeLast().highlight;
|
@@ -8,6 +11,8 @@ export const command = {
|
|
8
11
|
if (row === null) {
|
9
12
|
row = -hot.countColHeaders();
|
10
13
|
}
|
11
|
-
|
14
|
+
selection.markSource('keyboard');
|
15
|
+
selection.setRangeStart(hot._createCellCoords(row, col));
|
16
|
+
selection.markEndSource();
|
12
17
|
}
|
13
18
|
};
|
@@ -13,6 +13,8 @@ const command = exports.command = {
|
|
13
13
|
const fixedColumns = parseInt(hot.getSettings().fixedColumnsStart, 10);
|
14
14
|
const row = rowIndexMapper.getNearestNotHiddenIndex(fixedRows, 1);
|
15
15
|
const column = columnIndexMapper.getNearestNotHiddenIndex(fixedColumns, 1);
|
16
|
+
selection.markSource('keyboard');
|
16
17
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
18
|
+
selection.markEndSource();
|
17
19
|
}
|
18
20
|
};
|
@@ -10,6 +10,8 @@ export const command = {
|
|
10
10
|
const fixedColumns = parseInt(hot.getSettings().fixedColumnsStart, 10);
|
11
11
|
const row = rowIndexMapper.getNearestNotHiddenIndex(fixedRows, 1);
|
12
12
|
const column = columnIndexMapper.getNearestNotHiddenIndex(fixedColumns, 1);
|
13
|
+
selection.markSource('keyboard');
|
13
14
|
selection.setRangeStart(hot._createCellCoords(row, column));
|
15
|
+
selection.markEndSource();
|
14
16
|
}
|
15
17
|
};
|
@@ -4,6 +4,9 @@ exports.__esModule = true;
|
|
4
4
|
const command = exports.command = {
|
5
5
|
name: 'moveCellSelectionUpByViewportHight',
|
6
6
|
callback(hot) {
|
7
|
+
const {
|
8
|
+
selection
|
9
|
+
} = hot;
|
7
10
|
const {
|
8
11
|
navigableHeaders
|
9
12
|
} = hot.getSettings();
|
@@ -23,7 +26,9 @@ const command = exports.command = {
|
|
23
26
|
} else if (row + rowsStep < columnHeadersCount) {
|
24
27
|
rowsStep = -(row + columnHeadersCount);
|
25
28
|
}
|
26
|
-
|
29
|
+
selection.markSource('keyboard');
|
30
|
+
selection.transformStart(rowsStep, 0);
|
31
|
+
selection.markEndSource();
|
27
32
|
if (hot.getSelectedRangeLast().highlight.row < 0) {
|
28
33
|
hot.scrollViewportTo({
|
29
34
|
row: 0
|
@@ -1,6 +1,9 @@
|
|
1
1
|
export const command = {
|
2
2
|
name: 'moveCellSelectionUpByViewportHight',
|
3
3
|
callback(hot) {
|
4
|
+
const {
|
5
|
+
selection
|
6
|
+
} = hot;
|
4
7
|
const {
|
5
8
|
navigableHeaders
|
6
9
|
} = hot.getSettings();
|
@@ -20,7 +23,9 @@ export const command = {
|
|
20
23
|
} else if (row + rowsStep < columnHeadersCount) {
|
21
24
|
rowsStep = -(row + columnHeadersCount);
|
22
25
|
}
|
23
|
-
|
26
|
+
selection.markSource('keyboard');
|
27
|
+
selection.transformStart(rowsStep, 0);
|
28
|
+
selection.markEndSource();
|
24
29
|
if (hot.getSelectedRangeLast().highlight.row < 0) {
|
25
30
|
hot.scrollViewportTo({
|
26
31
|
row: 0
|
@@ -3,9 +3,14 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
const command = exports.command = {
|
5
5
|
name: 'selectAllCells',
|
6
|
-
callback(
|
7
|
-
|
6
|
+
callback(_ref) {
|
7
|
+
let {
|
8
|
+
selection
|
9
|
+
} = _ref;
|
10
|
+
selection.markSource('keyboard');
|
11
|
+
selection.selectAll(true, true, {
|
8
12
|
disableHeadersHighlight: true
|
9
13
|
});
|
14
|
+
selection.markEndSource();
|
10
15
|
}
|
11
16
|
};
|
@@ -1,8 +1,13 @@
|
|
1
1
|
export const command = {
|
2
2
|
name: 'selectAllCells',
|
3
|
-
callback(
|
4
|
-
|
3
|
+
callback(_ref) {
|
4
|
+
let {
|
5
|
+
selection
|
6
|
+
} = _ref;
|
7
|
+
selection.markSource('keyboard');
|
8
|
+
selection.selectAll(true, true, {
|
5
9
|
disableHeadersHighlight: true
|
6
10
|
});
|
11
|
+
selection.markEndSource();
|
7
12
|
}
|
8
13
|
};
|
@@ -3,9 +3,14 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
const command = exports.command = {
|
5
5
|
name: 'selectAllCellsAndHeaders',
|
6
|
-
callback(
|
7
|
-
|
6
|
+
callback(_ref) {
|
7
|
+
let {
|
8
|
+
selection
|
9
|
+
} = _ref;
|
10
|
+
selection.markSource('keyboard');
|
11
|
+
selection.selectAll(true, true, {
|
8
12
|
disableHeadersHighlight: false
|
9
13
|
});
|
14
|
+
selection.markEndSource();
|
10
15
|
}
|
11
16
|
};
|
@@ -1,8 +1,13 @@
|
|
1
1
|
export const command = {
|
2
2
|
name: 'selectAllCellsAndHeaders',
|
3
|
-
callback(
|
4
|
-
|
3
|
+
callback(_ref) {
|
4
|
+
let {
|
5
|
+
selection
|
6
|
+
} = _ref;
|
7
|
+
selection.markSource('keyboard');
|
8
|
+
selection.selectAll(true, true, {
|
5
9
|
disableHeadersHighlight: false
|
6
10
|
});
|
11
|
+
selection.markEndSource();
|
7
12
|
}
|
8
13
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
4
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
3
5
|
exports.__esModule = true;
|
4
6
|
var _exportNames = {
|
5
7
|
registerAllShortcutContexts: true
|
6
8
|
};
|
7
9
|
exports.registerAllShortcutContexts = registerAllShortcutContexts;
|
8
|
-
require("core-js/modules/esnext.iterator.constructor.js");
|
9
|
-
require("core-js/modules/esnext.iterator.for-each.js");
|
10
10
|
var _editor = require("./editor");
|
11
11
|
var _grid = require("./grid");
|
12
12
|
var _constants = require("./constants");
|
package/styles/handsontable.css
CHANGED
@@ -25,8 +25,8 @@
|
|
25
25
|
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
|
26
26
|
* USE OR INABILITY TO USE THIS SOFTWARE.
|
27
27
|
*
|
28
|
-
* Version: 15.
|
29
|
-
* Release date:
|
28
|
+
* Version: 15.3.0-next-6f5f494-20250424
|
29
|
+
* Release date: 29/04/2025 (built at 24/04/2025 11:28:41)
|
30
30
|
*/
|
31
31
|
.ht-wrapper:not([class*=ht-theme]) {
|
32
32
|
--ht-gap-size: 4px;
|
@@ -85,14 +85,16 @@
|
|
85
85
|
.handsontable.htGhostTable table thead th {
|
86
86
|
border-bottom-width: 0;
|
87
87
|
}
|
88
|
-
.handsontable.htGhostTable table tbody tr
|
89
|
-
.handsontable.htGhostTable table tbody tr
|
88
|
+
.handsontable.htGhostTable table tbody tr th,
|
89
|
+
.handsontable.htGhostTable table tbody tr td {
|
90
90
|
border-top-width: 0;
|
91
|
-
}
|
92
|
-
.handsontable.htGhostTable table tbody tr:first-of-type th,
|
93
|
-
.handsontable.htGhostTable table tbody tr:first-of-type td {
|
94
91
|
height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);
|
95
92
|
}
|
93
|
+
.handsontable.htGhostTable table.htGhostTableFirstRow tbody tr th,
|
94
|
+
.handsontable.htGhostTable table.htGhostTableFirstRow tbody tr td {
|
95
|
+
border-top-width: 1px;
|
96
|
+
height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 2px);
|
97
|
+
}
|
96
98
|
.handsontable.htHasScrollX .ht_master .wtHolder, .handsontable.htHasScrollY .ht_master .wtHolder {
|
97
99
|
background-color: var(--ht-background-color);
|
98
100
|
border-radius: var(--ht-wrapper-border-radius, 0);
|
@@ -1785,9 +1787,6 @@
|
|
1785
1787
|
.handsontable.htDropdownMenu table tbody tr td .htUIButton input, .handsontable.htContextMenu table tbody tr td .htUIButton input, .handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton input {
|
1786
1788
|
width: 100%;
|
1787
1789
|
}
|
1788
|
-
.handsontable.htContextMenuSub_Alignment, .handsontable.htDropdownMenuSub_Alignment {
|
1789
|
-
margin-top: calc(var(--ht-menu-vertical-padding) * -1);
|
1790
|
-
}
|
1791
1790
|
.handsontable .htUIClearAll a,
|
1792
1791
|
.handsontable .htUISelectAll a {
|
1793
1792
|
padding: var(--ht-gap-size);
|
@@ -1909,7 +1908,7 @@
|
|
1909
1908
|
outline: 1px solid var(--ht-link-hover-color);
|
1910
1909
|
}
|
1911
1910
|
.handsontable .htUIMultipleSelect .ht_master .wtHolder {
|
1912
|
-
overflow
|
1911
|
+
overflow: auto;
|
1913
1912
|
}
|
1914
1913
|
.handsontable .htUIMultipleSelect .ht_master .wtHolder .wtHider,
|
1915
1914
|
.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore,
|
@@ -1962,20 +1961,20 @@
|
|
1962
1961
|
background-color: var(--ht-comments-textarea-focus-background-color, #ffffff);
|
1963
1962
|
}
|
1964
1963
|
|
1965
|
-
.handsontable .columnSorting {
|
1964
|
+
.handsontable .columnSorting:not(.indicatorDisabled) {
|
1966
1965
|
position: relative;
|
1967
1966
|
}
|
1968
|
-
.handsontable .columnSorting.sortAction {
|
1967
|
+
.handsontable .columnSorting:not(.indicatorDisabled).sortAction {
|
1969
1968
|
padding-inline-start: calc(var(--ht-icon-size, 16px) + 2px);
|
1970
1969
|
padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);
|
1971
1970
|
min-width: calc(var(--ht-icon-size, 16px) + 8px);
|
1972
1971
|
max-width: calc(100% - var(--ht-icon-size, 16px) * 2 - 4px);
|
1973
1972
|
}
|
1974
|
-
.handsontable .columnSorting.sortAction:hover {
|
1973
|
+
.handsontable .columnSorting:not(.indicatorDisabled).sortAction:hover {
|
1975
1974
|
text-decoration: none;
|
1976
1975
|
cursor: pointer;
|
1977
1976
|
}
|
1978
|
-
.handsontable .columnSorting.sortAction::before {
|
1977
|
+
.handsontable .columnSorting:not(.indicatorDisabled).sortAction::before {
|
1979
1978
|
content: "";
|
1980
1979
|
display: block;
|
1981
1980
|
width: var(--ht-icon-size, 16px);
|
@@ -2145,7 +2144,6 @@
|
|
2145
2144
|
cursor: row-resize;
|
2146
2145
|
background: none;
|
2147
2146
|
opacity: 0;
|
2148
|
-
transition: opacity 0.2s ease-in-out;
|
2149
2147
|
}
|
2150
2148
|
.handsontable .manualRowResizer::before, .handsontable .manualRowResizer::after {
|
2151
2149
|
content: "";
|
@@ -2172,7 +2170,7 @@
|
|
2172
2170
|
left: 0;
|
2173
2171
|
bottom: 0;
|
2174
2172
|
height: 0;
|
2175
|
-
margin-top:
|
2173
|
+
margin-top: 5px;
|
2176
2174
|
display: none;
|
2177
2175
|
border-bottom: 1px solid var(--ht-accent-color);
|
2178
2176
|
border-top: none;
|