handsontable 0.0.0-next-a2cc849-20240208 → 0.0.0-next-fd66c90-20240209

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.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

Files changed (59) hide show
  1. package/3rdparty/walkontable/src/cell/range.d.ts +0 -1
  2. package/3rdparty/walkontable/src/cell/range.js +0 -12
  3. package/3rdparty/walkontable/src/cell/range.mjs +0 -12
  4. package/base.js +2 -2
  5. package/base.mjs +2 -2
  6. package/core/viewportScroll/index.js +1 -4
  7. package/core/viewportScroll/index.mjs +1 -4
  8. package/core.js +0 -14
  9. package/core.mjs +0 -14
  10. package/dist/handsontable.css +2 -2
  11. package/dist/handsontable.full.css +2 -2
  12. package/dist/handsontable.full.js +1022 -1304
  13. package/dist/handsontable.full.min.css +2 -2
  14. package/dist/handsontable.full.min.js +151 -151
  15. package/dist/handsontable.js +1024 -1306
  16. package/dist/handsontable.min.css +2 -2
  17. package/dist/handsontable.min.js +32 -32
  18. package/editorManager.js +8 -12
  19. package/editorManager.mjs +8 -12
  20. package/helpers/mixed.js +1 -1
  21. package/helpers/mixed.mjs +1 -1
  22. package/package.json +1 -1
  23. package/pluginHooks.d.ts +0 -1
  24. package/pluginHooks.js +1 -43
  25. package/pluginHooks.mjs +1 -43
  26. package/plugins/collapsibleColumns/collapsibleColumns.js +1 -7
  27. package/plugins/collapsibleColumns/collapsibleColumns.mjs +1 -7
  28. package/plugins/columnSorting/columnSorting.js +0 -6
  29. package/plugins/columnSorting/columnSorting.mjs +0 -6
  30. package/plugins/contextMenu/menu/defaultShortcutsList.js +10 -26
  31. package/plugins/contextMenu/menu/defaultShortcutsList.mjs +10 -26
  32. package/plugins/mergeCells/mergeCells.js +1 -3
  33. package/plugins/mergeCells/mergeCells.mjs +1 -3
  34. package/plugins/multiColumnSorting/multiColumnSorting.js +0 -6
  35. package/plugins/multiColumnSorting/multiColumnSorting.mjs +0 -6
  36. package/plugins/nestedHeaders/nestedHeaders.js +0 -1
  37. package/plugins/nestedHeaders/nestedHeaders.mjs +0 -1
  38. package/plugins/nestedRows/nestedRows.js +1 -7
  39. package/plugins/nestedRows/nestedRows.mjs +1 -7
  40. package/renderers/checkboxRenderer/checkboxRenderer.js +4 -4
  41. package/renderers/checkboxRenderer/checkboxRenderer.mjs +4 -4
  42. package/selection/selection.js +30 -156
  43. package/selection/selection.mjs +29 -155
  44. package/selection/transformation.js +27 -18
  45. package/selection/transformation.mjs +27 -18
  46. package/shortcutContexts/commands/editor/closeAndSave.js +2 -2
  47. package/shortcutContexts/commands/editor/closeAndSave.mjs +2 -2
  48. package/shortcutContexts/commands/editor/open.js +3 -18
  49. package/shortcutContexts/commands/editor/open.mjs +3 -18
  50. package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +1 -6
  51. package/shortcutContexts/commands/moveCellSelection/inlineEnd.mjs +1 -6
  52. package/shortcutContexts/commands/moveCellSelection/inlineStart.js +1 -6
  53. package/shortcutContexts/commands/moveCellSelection/inlineStart.mjs +1 -6
  54. package/shortcutContexts/grid.js +2 -2
  55. package/shortcutContexts/grid.mjs +2 -2
  56. package/shortcuts/context.js +1 -2
  57. package/shortcuts/context.mjs +1 -2
  58. package/core/viewportScroll/scrollStrategies/focusScroll.js +0 -15
  59. package/core/viewportScroll/scrollStrategies/focusScroll.mjs +0 -11
@@ -157,12 +157,12 @@ function shortcutsGridContext(hot) {
157
157
  keys: [['Tab']],
158
158
  // The property value is controlled by focusCatcher module (https://github.com/handsontable/handsontable/blob/master/handsontable/src/core/focusCatcher/index.js)
159
159
  preventDefault: false,
160
- callback: event => commandsPool.moveCellSelectionInlineStart(event)
160
+ callback: () => commandsPool.moveCellSelectionInlineStart()
161
161
  }, {
162
162
  keys: [['Shift', 'Tab']],
163
163
  // The property value is controlled by focusCatcher module (https://github.com/handsontable/handsontable/blob/master/handsontable/src/core/focusCatcher/index.js)
164
164
  preventDefault: false,
165
- callback: event => commandsPool.moveCellSelectionInlineEnd(event)
165
+ callback: () => commandsPool.moveCellSelectionInlineEnd()
166
166
  }, {
167
167
  keys: [['Control/Meta', 'Backspace']],
168
168
  callback: () => commandsPool.scrollToFocusedCell()
@@ -153,12 +153,12 @@ export function shortcutsGridContext(hot) {
153
153
  keys: [['Tab']],
154
154
  // The property value is controlled by focusCatcher module (https://github.com/handsontable/handsontable/blob/master/handsontable/src/core/focusCatcher/index.js)
155
155
  preventDefault: false,
156
- callback: event => commandsPool.moveCellSelectionInlineStart(event)
156
+ callback: () => commandsPool.moveCellSelectionInlineStart()
157
157
  }, {
158
158
  keys: [['Shift', 'Tab']],
159
159
  // The property value is controlled by focusCatcher module (https://github.com/handsontable/handsontable/blob/master/handsontable/src/core/focusCatcher/index.js)
160
160
  preventDefault: false,
161
- callback: event => commandsPool.moveCellSelectionInlineEnd(event)
161
+ callback: () => commandsPool.moveCellSelectionInlineEnd()
162
162
  }, {
163
163
  keys: [['Control/Meta', 'Backspace']],
164
164
  callback: () => commandsPool.scrollToFocusedCell()
@@ -90,8 +90,7 @@ const createContext = name => {
90
90
  stopPropagation
91
91
  };
92
92
  if ((0, _mixed.isDefined)(relativeToGroup)) {
93
- newShortcut.relativeToGroup = relativeToGroup;
94
- newShortcut.position = position;
93
+ [newShortcut.relativeToGroup, newShortcut.position] = [relativeToGroup, position];
95
94
  }
96
95
  if (isContextObject(forwardToContext)) {
97
96
  newShortcut.forwardToContext = forwardToContext;
@@ -86,8 +86,7 @@ export const createContext = name => {
86
86
  stopPropagation
87
87
  };
88
88
  if (isDefined(relativeToGroup)) {
89
- newShortcut.relativeToGroup = relativeToGroup;
90
- newShortcut.position = position;
89
+ [newShortcut.relativeToGroup, newShortcut.position] = [relativeToGroup, position];
91
90
  }
92
91
  if (isContextObject(forwardToContext)) {
93
92
  newShortcut.forwardToContext = forwardToContext;
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.focusScrollStrategy = focusScrollStrategy;
5
- /**
6
- * Scroll strategy for changed the focus position of the selection.
7
- *
8
- * @param {Core} hot Handsontable instance.
9
- * @returns {function(): function(CellCoords): void}
10
- */
11
- function focusScrollStrategy(hot) {
12
- return cellCoords => {
13
- hot.scrollViewportTo(cellCoords.toObject());
14
- };
15
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * Scroll strategy for changed the focus position of the selection.
3
- *
4
- * @param {Core} hot Handsontable instance.
5
- * @returns {function(): function(CellCoords): void}
6
- */
7
- export function focusScrollStrategy(hot) {
8
- return cellCoords => {
9
- hot.scrollViewportTo(cellCoords.toObject());
10
- };
11
- }