handsontable 14.0.0-next-1127661-20231114 → 14.0.0-next-ae5997a-20231116

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/base.js +2 -2
  2. package/base.mjs +2 -2
  3. package/core/focusCatcher/index.js +4 -5
  4. package/core/focusCatcher/index.mjs +4 -5
  5. package/dataMap/metaManager/metaSchema.js +7 -7
  6. package/dataMap/metaManager/metaSchema.mjs +7 -7
  7. package/dist/handsontable.css +2 -2
  8. package/dist/handsontable.full.css +2 -2
  9. package/dist/handsontable.full.js +411 -309
  10. package/dist/handsontable.full.min.css +2 -2
  11. package/dist/handsontable.full.min.js +147 -147
  12. package/dist/handsontable.js +411 -309
  13. package/dist/handsontable.min.css +2 -2
  14. package/dist/handsontable.min.js +22 -22
  15. package/editors/textEditor/textEditor.js +4 -27
  16. package/editors/textEditor/textEditor.mjs +4 -27
  17. package/helpers/mixed.js +2 -2
  18. package/helpers/mixed.mjs +2 -2
  19. package/package.json +1 -1
  20. package/pluginHooks.d.ts +2 -2
  21. package/plugins/manualColumnMove/manualColumnMove.js +31 -28
  22. package/plugins/manualColumnMove/manualColumnMove.mjs +29 -26
  23. package/plugins/manualColumnResize/manualColumnResize.js +161 -105
  24. package/plugins/manualColumnResize/manualColumnResize.mjs +160 -104
  25. package/plugins/manualRowMove/manualRowMove.js +31 -28
  26. package/plugins/manualRowMove/manualRowMove.mjs +29 -26
  27. package/plugins/manualRowResize/manualRowResize.js +160 -104
  28. package/plugins/manualRowResize/manualRowResize.mjs +159 -103
  29. package/selection/transformation.js +12 -12
  30. package/selection/transformation.mjs +13 -13
  31. package/settings.d.ts +1 -1
  32. package/shortcutContexts/commands/moveCellSelection/inlineStart.js +1 -1
  33. package/shortcutContexts/commands/moveCellSelection/inlineStart.mjs +1 -1
package/base.js CHANGED
@@ -43,8 +43,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
43
43
  Handsontable.CellCoords = _src.CellCoords;
44
44
  Handsontable.CellRange = _src.CellRange;
45
45
  Handsontable.packageName = 'handsontable';
46
- Handsontable.buildDate = "14/11/2023 16:38:51";
47
- Handsontable.version = "14.0.0-next-1127661-20231114";
46
+ Handsontable.buildDate = "16/11/2023 08:19:15";
47
+ Handsontable.version = "14.0.0-next-ae5997a-20231116";
48
48
  Handsontable.languages = {
49
49
  dictionaryKeys: _registry.dictionaryKeys,
50
50
  getLanguageDictionary: _registry.getLanguageDictionary,
package/base.mjs CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
35
35
  Handsontable.CellCoords = CellCoords;
36
36
  Handsontable.CellRange = CellRange;
37
37
  Handsontable.packageName = 'handsontable';
38
- Handsontable.buildDate = "14/11/2023 16:38:58";
39
- Handsontable.version = "14.0.0-next-1127661-20231114";
38
+ Handsontable.buildDate = "16/11/2023 08:19:22";
39
+ Handsontable.version = "14.0.0-next-ae5997a-20231116";
40
40
  Handsontable.languages = {
41
41
  dictionaryKeys,
42
42
  getLanguageDictionary,
@@ -53,7 +53,7 @@ function installFocusCatcher(hot) {
53
53
  recentlyAddedFocusCoords = (_hot$getSelectedRange = hot.getSelectedRangeLast()) === null || _hot$getSelectedRange === void 0 ? void 0 : _hot$getSelectedRange.highlight;
54
54
  }
55
55
  });
56
- hot.addHook('beforeRowWrap', (isWrapEnabled, newCoords, isFlipped) => {
56
+ hot.addHook('beforeRowWrap', (interruptedByAutoInsertMode, newCoords, isFlipped) => {
57
57
  rowWrapState.wrapped = true;
58
58
  rowWrapState.flipped = isFlipped;
59
59
  });
@@ -69,7 +69,6 @@ function installFocusCatcher(hot) {
69
69
  }
70
70
  const shortcutOptions = {
71
71
  keys: [['Tab'], ['Shift', 'Tab']],
72
- runOnlyIf: () => !hot.getSettings().minSpareCols,
73
72
  preventDefault: false,
74
73
  stopPropagation: false,
75
74
  relativeToGroup: _shortcutContexts.GRID_GROUP,
@@ -79,7 +78,7 @@ function installFocusCatcher(hot) {
79
78
  ...shortcutOptions,
80
79
  callback: () => {
81
80
  isTabOrShiftTabPressed = true;
82
- if (hot.getSelectedRangeLast() && hot.getSettings().disableTabNavigation) {
81
+ if (hot.getSelectedRangeLast() && !hot.getSettings().tabNavigation) {
83
82
  isSavingCoordsEnabled = false;
84
83
  }
85
84
  },
@@ -88,12 +87,12 @@ function installFocusCatcher(hot) {
88
87
  ...shortcutOptions,
89
88
  callback: event => {
90
89
  const {
91
- disableTabNavigation,
90
+ tabNavigation,
92
91
  autoWrapRow
93
92
  } = hot.getSettings();
94
93
  isTabOrShiftTabPressed = false;
95
94
  isSavingCoordsEnabled = true;
96
- if (disableTabNavigation || !hot.selection.isSelected() || autoWrapRow && rowWrapState.wrapped && rowWrapState.flipped || !autoWrapRow && rowWrapState.wrapped) {
95
+ if (!tabNavigation || !hot.selection.isSelected() || autoWrapRow && rowWrapState.wrapped && rowWrapState.flipped || !autoWrapRow && rowWrapState.wrapped) {
97
96
  if (autoWrapRow && rowWrapState.wrapped && rowWrapState.flipped) {
98
97
  recentlyAddedFocusCoords = event.shiftKey ? getMostTopStartPosition(hot) : getMostBottomEndPosition(hot);
99
98
  }
@@ -49,7 +49,7 @@ export function installFocusCatcher(hot) {
49
49
  recentlyAddedFocusCoords = (_hot$getSelectedRange = hot.getSelectedRangeLast()) === null || _hot$getSelectedRange === void 0 ? void 0 : _hot$getSelectedRange.highlight;
50
50
  }
51
51
  });
52
- hot.addHook('beforeRowWrap', (isWrapEnabled, newCoords, isFlipped) => {
52
+ hot.addHook('beforeRowWrap', (interruptedByAutoInsertMode, newCoords, isFlipped) => {
53
53
  rowWrapState.wrapped = true;
54
54
  rowWrapState.flipped = isFlipped;
55
55
  });
@@ -65,7 +65,6 @@ export function installFocusCatcher(hot) {
65
65
  }
66
66
  const shortcutOptions = {
67
67
  keys: [['Tab'], ['Shift', 'Tab']],
68
- runOnlyIf: () => !hot.getSettings().minSpareCols,
69
68
  preventDefault: false,
70
69
  stopPropagation: false,
71
70
  relativeToGroup: GRID_GROUP,
@@ -75,7 +74,7 @@ export function installFocusCatcher(hot) {
75
74
  ...shortcutOptions,
76
75
  callback: () => {
77
76
  isTabOrShiftTabPressed = true;
78
- if (hot.getSelectedRangeLast() && hot.getSettings().disableTabNavigation) {
77
+ if (hot.getSelectedRangeLast() && !hot.getSettings().tabNavigation) {
79
78
  isSavingCoordsEnabled = false;
80
79
  }
81
80
  },
@@ -84,12 +83,12 @@ export function installFocusCatcher(hot) {
84
83
  ...shortcutOptions,
85
84
  callback: event => {
86
85
  const {
87
- disableTabNavigation,
86
+ tabNavigation,
88
87
  autoWrapRow
89
88
  } = hot.getSettings();
90
89
  isTabOrShiftTabPressed = false;
91
90
  isSavingCoordsEnabled = true;
92
- if (disableTabNavigation || !hot.selection.isSelected() || autoWrapRow && rowWrapState.wrapped && rowWrapState.flipped || !autoWrapRow && rowWrapState.wrapped) {
91
+ if (!tabNavigation || !hot.selection.isSelected() || autoWrapRow && rowWrapState.wrapped && rowWrapState.flipped || !autoWrapRow && rowWrapState.wrapped) {
93
92
  if (autoWrapRow && rowWrapState.wrapped && rowWrapState.flipped) {
94
93
  recentlyAddedFocusCoords = event.shiftKey ? getMostTopStartPosition(hot) : getMostBottomEndPosition(hot);
95
94
  }
@@ -3128,7 +3128,7 @@ var _default = () => {
3128
3128
  */
3129
3129
  multiColumnSorting: undefined,
3130
3130
  /**
3131
- * When set to `true`, the `navigableHeaders` option lets you navigate [row headers](@/guides/rows/row-header.md) and [column headers](@/guides/columns/column-header.md), using the arrow keys or the <kbd>**Tab**</kbd> key (if the [`disableTabNavigation`](#disabletabnavigation) option is set to `false`).
3131
+ * When set to `true`, the `navigableHeaders` option lets you navigate [row headers](@/guides/rows/row-header.md) and [column headers](@/guides/columns/column-header.md), using the arrow keys or the <kbd>**Tab**</kbd> key (if the [`tabNavigation`](#tabNavigation) option is set to `true`).
3132
3132
  *
3133
3133
  * @since 14.0.0
3134
3134
  * @memberof Options#
@@ -3147,27 +3147,27 @@ var _default = () => {
3147
3147
  */
3148
3148
  navigableHeaders: false,
3149
3149
  /**
3150
- * When set to `true`, the `disableTabNavigation` option changes the behavior of the
3150
+ * When set to `false`, the `tabNavigation` option changes the behavior of the
3151
3151
  * <kbd>Tab</kbd> and <kbd>Shift</kbd>+<kbd>Tab</kbd> keyboard shortcuts. The Handsontable
3152
- * no more captures that shortcuts to make the grid navigation available (`disableTabNavigation: false`)
3152
+ * no more captures that shortcuts to make the grid navigation available (`tabNavigation: true`)
3153
3153
  * but returns control to the browser so the native page navigation is possible.
3154
3154
  *
3155
3155
  * @since 14.0.0
3156
3156
  * @memberof Options#
3157
3157
  * @type {boolean}
3158
- * @default false
3158
+ * @default true
3159
3159
  * @category Core
3160
3160
  *
3161
3161
  * @example
3162
3162
  * ```js
3163
3163
  * // you can't navigate row and column headers using <kbd>Tab</kbd> or <kbd>Shift</kbd>+<kbd>Tab</kbd> keyboard shortcuts
3164
- * disableTabNavigation: true,
3164
+ * tabNavigation: false,
3165
3165
  *
3166
3166
  * // default behavior: you can navigate row and column headers using <kbd>Tab</kbd> or <kbd>Shift</kbd>+<kbd>Tab</kbd> keyboard shortcuts
3167
- * disableTabNavigation: false,
3167
+ * tabNavigation: true,
3168
3168
  * ```
3169
3169
  */
3170
- disableTabNavigation: false,
3170
+ tabNavigation: true,
3171
3171
  /**
3172
3172
  * @description
3173
3173
  * The `nestedHeaders` option configures the [`NestedHeaders`](@/api/nestedHeaders.md) plugin.
@@ -3125,7 +3125,7 @@ export default (() => {
3125
3125
  */
3126
3126
  multiColumnSorting: undefined,
3127
3127
  /**
3128
- * When set to `true`, the `navigableHeaders` option lets you navigate [row headers](@/guides/rows/row-header.md) and [column headers](@/guides/columns/column-header.md), using the arrow keys or the <kbd>**Tab**</kbd> key (if the [`disableTabNavigation`](#disabletabnavigation) option is set to `false`).
3128
+ * When set to `true`, the `navigableHeaders` option lets you navigate [row headers](@/guides/rows/row-header.md) and [column headers](@/guides/columns/column-header.md), using the arrow keys or the <kbd>**Tab**</kbd> key (if the [`tabNavigation`](#tabNavigation) option is set to `true`).
3129
3129
  *
3130
3130
  * @since 14.0.0
3131
3131
  * @memberof Options#
@@ -3144,27 +3144,27 @@ export default (() => {
3144
3144
  */
3145
3145
  navigableHeaders: false,
3146
3146
  /**
3147
- * When set to `true`, the `disableTabNavigation` option changes the behavior of the
3147
+ * When set to `false`, the `tabNavigation` option changes the behavior of the
3148
3148
  * <kbd>Tab</kbd> and <kbd>Shift</kbd>+<kbd>Tab</kbd> keyboard shortcuts. The Handsontable
3149
- * no more captures that shortcuts to make the grid navigation available (`disableTabNavigation: false`)
3149
+ * no more captures that shortcuts to make the grid navigation available (`tabNavigation: true`)
3150
3150
  * but returns control to the browser so the native page navigation is possible.
3151
3151
  *
3152
3152
  * @since 14.0.0
3153
3153
  * @memberof Options#
3154
3154
  * @type {boolean}
3155
- * @default false
3155
+ * @default true
3156
3156
  * @category Core
3157
3157
  *
3158
3158
  * @example
3159
3159
  * ```js
3160
3160
  * // you can't navigate row and column headers using <kbd>Tab</kbd> or <kbd>Shift</kbd>+<kbd>Tab</kbd> keyboard shortcuts
3161
- * disableTabNavigation: true,
3161
+ * tabNavigation: false,
3162
3162
  *
3163
3163
  * // default behavior: you can navigate row and column headers using <kbd>Tab</kbd> or <kbd>Shift</kbd>+<kbd>Tab</kbd> keyboard shortcuts
3164
- * disableTabNavigation: false,
3164
+ * tabNavigation: true,
3165
3165
  * ```
3166
3166
  */
3167
- disableTabNavigation: false,
3167
+ tabNavigation: true,
3168
3168
  /**
3169
3169
  * @description
3170
3170
  * The `nestedHeaders` option configures the [`NestedHeaders`](@/api/nestedHeaders.md) plugin.
@@ -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: 14.0.0-next-1127661-20231114
29
- * Release date: 16/11/2023 (built at 14/11/2023 16:39:03)
28
+ * Version: 14.0.0-next-ae5997a-20231116
29
+ * Release date: 22/11/2023 (built at 16/11/2023 08:19:27)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles
@@ -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: 14.0.0-next-1127661-20231114
29
- * Release date: 16/11/2023 (built at 14/11/2023 16:39:03)
28
+ * Version: 14.0.0-next-ae5997a-20231116
29
+ * Release date: 22/11/2023 (built at 16/11/2023 08:19:27)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles