handsontable 14.0.0-next-78ff0b3-20231129 → 14.0.0-next-0f92d92-20231130
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/CHANGELOG.md +68 -53
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +19 -9
- package/core.mjs +19 -9
- package/dataMap/metaManager/metaSchema.js +11 -11
- package/dataMap/metaManager/metaSchema.mjs +11 -11
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +44 -32
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +3 -3
- package/dist/handsontable.js +44 -32
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/pluginHooks.js +5 -3
- package/pluginHooks.mjs +5 -3
- package/plugins/mergeCells/mergeCells.js +1 -1
- package/plugins/mergeCells/mergeCells.mjs +1 -1
- package/shortcuts/context.js +1 -1
- package/shortcuts/context.mjs +1 -1
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "14.0.0-next-
|
137
|
+
const hotVersion = "14.0.0-next-0f92d92-20231130";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "14.0.0-next-
|
127
|
+
const hotVersion = "14.0.0-next-0f92d92-20231130";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let domMessageState = 'invalid';
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "14.0.0-next-
|
13
|
+
"version": "14.0.0-next-0f92d92-20231130",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/pluginHooks.js
CHANGED
@@ -1217,7 +1217,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1217
1217
|
* This is due to the priority of other options that may block the feature.
|
1218
1218
|
* For example, when the {@link Options#minSpareCols} is defined, the {@link Options#autoWrapRow} option is not checked.
|
1219
1219
|
* Thus, row wrapping is off.
|
1220
|
-
* @param {CellCoords} newCoords The new focus position.
|
1220
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1221
1221
|
* @param {boolean} isFlipped `true` if the row index was flipped, `false` otherwise.
|
1222
1222
|
* Flipped index means that the user reached the last row and the focus is moved to the first row or vice versa.
|
1223
1223
|
*/
|
@@ -1233,7 +1233,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1233
1233
|
* This is due to the priority of other options that may block the feature.
|
1234
1234
|
* For example, when the {@link Options#minSpareRows} is defined, the {@link Options#autoWrapCol} option is not checked.
|
1235
1235
|
* Thus, column wrapping is off.
|
1236
|
-
* @param {CellCoords} newCoords The new focus position.
|
1236
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1237
1237
|
* @param {boolean} isFlipped `true` if the column index was flipped, `false` otherwise.
|
1238
1238
|
* Flipped index means that the user reached the last column and the focus is moved to the first column or vice versa.
|
1239
1239
|
*/
|
@@ -1273,6 +1273,8 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1273
1273
|
'beforeSetRangeEnd',
|
1274
1274
|
/**
|
1275
1275
|
* Fired before applying selection coordinates to the renderable coordinates for Walkontable (rendering engine).
|
1276
|
+
* It occurs even when cell coordinates remain unchanged and activates during cell selection and drag selection.
|
1277
|
+
* The behavior of Shift+Tab differs from Arrow Left when there's no further movement possible.
|
1276
1278
|
*
|
1277
1279
|
* @since 14.0.0
|
1278
1280
|
* @event Hooks#beforeSelectionHighlightSet
|
@@ -1342,7 +1344,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1342
1344
|
* @event Hooks#modifyFocusedElement
|
1343
1345
|
* @param {number} row Row index.
|
1344
1346
|
* @param {number} column Column index.
|
1345
|
-
* @param {HTMLElement|undefined} focusedElement The element to be focused.
|
1347
|
+
* @param {HTMLElement|undefined} focusedElement The element to be focused. `null` for focusedElement is intended when focused cell is hidden.
|
1346
1348
|
*/
|
1347
1349
|
'modifyFocusedElement',
|
1348
1350
|
/**
|
package/pluginHooks.mjs
CHANGED
@@ -1215,7 +1215,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1215
1215
|
* This is due to the priority of other options that may block the feature.
|
1216
1216
|
* For example, when the {@link Options#minSpareCols} is defined, the {@link Options#autoWrapRow} option is not checked.
|
1217
1217
|
* Thus, row wrapping is off.
|
1218
|
-
* @param {CellCoords} newCoords The new focus position.
|
1218
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1219
1219
|
* @param {boolean} isFlipped `true` if the row index was flipped, `false` otherwise.
|
1220
1220
|
* Flipped index means that the user reached the last row and the focus is moved to the first row or vice versa.
|
1221
1221
|
*/
|
@@ -1231,7 +1231,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1231
1231
|
* This is due to the priority of other options that may block the feature.
|
1232
1232
|
* For example, when the {@link Options#minSpareRows} is defined, the {@link Options#autoWrapCol} option is not checked.
|
1233
1233
|
* Thus, column wrapping is off.
|
1234
|
-
* @param {CellCoords} newCoords The new focus position.
|
1234
|
+
* @param {CellCoords} newCoords The new focus position. It is an object with keys `row` and `col`, where a value of `-1` indicates a header.
|
1235
1235
|
* @param {boolean} isFlipped `true` if the column index was flipped, `false` otherwise.
|
1236
1236
|
* Flipped index means that the user reached the last column and the focus is moved to the first column or vice versa.
|
1237
1237
|
*/
|
@@ -1271,6 +1271,8 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1271
1271
|
'beforeSetRangeEnd',
|
1272
1272
|
/**
|
1273
1273
|
* Fired before applying selection coordinates to the renderable coordinates for Walkontable (rendering engine).
|
1274
|
+
* It occurs even when cell coordinates remain unchanged and activates during cell selection and drag selection.
|
1275
|
+
* The behavior of Shift+Tab differs from Arrow Left when there's no further movement possible.
|
1274
1276
|
*
|
1275
1277
|
* @since 14.0.0
|
1276
1278
|
* @event Hooks#beforeSelectionHighlightSet
|
@@ -1340,7 +1342,7 @@ const REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-s
|
|
1340
1342
|
* @event Hooks#modifyFocusedElement
|
1341
1343
|
* @param {number} row Row index.
|
1342
1344
|
* @param {number} column Column index.
|
1343
|
-
* @param {HTMLElement|undefined} focusedElement The element to be focused.
|
1345
|
+
* @param {HTMLElement|undefined} focusedElement The element to be focused. `null` for focusedElement is intended when focused cell is hidden.
|
1344
1346
|
*/
|
1345
1347
|
'modifyFocusedElement',
|
1346
1348
|
/**
|
@@ -122,7 +122,7 @@ class MergeCells extends _base.BasePlugin {
|
|
122
122
|
_classPrivateMethodInitSpec(this, _onAfterDrawSelection);
|
123
123
|
/**
|
124
124
|
* `afterModifyTransformStart` hook callback. Fixes a problem with navigating through merged cells at the edges of
|
125
|
-
* the table with the
|
125
|
+
* the table with the <kbd>**Enter**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>/<kbd>**Tab**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Tab**</kbd> keys.
|
126
126
|
*
|
127
127
|
* @param {CellCoords} coords Coordinates of the to-be-selected cell.
|
128
128
|
* @param {number} rowTransformDir Row transformation direction (negative value = up, 0 = none, positive value =
|
@@ -118,7 +118,7 @@ export class MergeCells extends BasePlugin {
|
|
118
118
|
_classPrivateMethodInitSpec(this, _onAfterDrawSelection);
|
119
119
|
/**
|
120
120
|
* `afterModifyTransformStart` hook callback. Fixes a problem with navigating through merged cells at the edges of
|
121
|
-
* the table with the
|
121
|
+
* the table with the <kbd>**Enter**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Enter**</kbd>/<kbd>**Tab**</kbd>/<kbd>**Shift**</kbd>+<kbd>**Tab**</kbd> keys.
|
122
122
|
*
|
123
123
|
* @param {CellCoords} coords Coordinates of the to-be-selected cell.
|
124
124
|
* @param {number} rowTransformDir Row transformation direction (negative value = up, 0 = none, positive value =
|
package/shortcuts/context.js
CHANGED
@@ -24,7 +24,7 @@ function isContextObject(objectToCheck) {
|
|
24
24
|
|
25
25
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
26
26
|
/**
|
27
|
-
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/
|
27
|
+
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
|
28
28
|
*
|
29
29
|
* Each `ShortcutContext` object stores and manages its own set of keyboard shortcuts.
|
30
30
|
*
|
package/shortcuts/context.mjs
CHANGED
@@ -20,7 +20,7 @@ export function isContextObject(objectToCheck) {
|
|
20
20
|
|
21
21
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
22
22
|
/**
|
23
|
-
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/
|
23
|
+
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
|
24
24
|
*
|
25
25
|
* Each `ShortcutContext` object stores and manages its own set of keyboard shortcuts.
|
26
26
|
*
|
package/shortcuts/manager.js
CHANGED
@@ -9,7 +9,7 @@ var _recorder = require("./recorder");
|
|
9
9
|
var _templateLiteralTag = require("../helpers/templateLiteralTag");
|
10
10
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
11
11
|
/**
|
12
|
-
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/
|
12
|
+
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
|
13
13
|
*
|
14
14
|
* Each `ShortcutManager` object:
|
15
15
|
* - Stores and manages its own set of keyboard shortcut contexts.
|
@@ -20,7 +20,7 @@ var _templateLiteralTag = require("../helpers/templateLiteralTag");
|
|
20
20
|
* @param {object} options The manager's options
|
21
21
|
* @param {EventTarget} options.ownerWindow A starting `window` element
|
22
22
|
* @param {Function} options.handleEvent A condition on which `event` is handled.
|
23
|
-
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/
|
23
|
+
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
|
24
24
|
* @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
|
25
25
|
*/
|
26
26
|
const createShortcutManager = _ref => {
|
package/shortcuts/manager.mjs
CHANGED
@@ -6,7 +6,7 @@ import { useRecorder } from "./recorder.mjs";
|
|
6
6
|
import { toSingleLine } from "../helpers/templateLiteralTag.mjs";
|
7
7
|
/* eslint-disable jsdoc/require-description-complete-sentence */
|
8
8
|
/**
|
9
|
-
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/
|
9
|
+
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
|
10
10
|
*
|
11
11
|
* Each `ShortcutManager` object:
|
12
12
|
* - Stores and manages its own set of keyboard shortcut contexts.
|
@@ -17,7 +17,7 @@ import { toSingleLine } from "../helpers/templateLiteralTag.mjs";
|
|
17
17
|
* @param {object} options The manager's options
|
18
18
|
* @param {EventTarget} options.ownerWindow A starting `window` element
|
19
19
|
* @param {Function} options.handleEvent A condition on which `event` is handled.
|
20
|
-
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/
|
20
|
+
* @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
|
21
21
|
* @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
|
22
22
|
*/
|
23
23
|
export const createShortcutManager = _ref => {
|