handsontable 0.0.0-next-8e49c6c-20240307 → 0.0.0-next-221e46b-20240307
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.
- package/3rdparty/walkontable/src/cell/range.js +1 -1
- package/3rdparty/walkontable/src/cell/range.mjs +1 -1
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/core.js +21 -21
- package/core.mjs +21 -21
- package/dataMap/metaManager/metaSchema.js +270 -270
- package/dataMap/metaManager/metaSchema.mjs +270 -270
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +397 -397
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +3 -3
- package/dist/handsontable.js +397 -397
- 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 +43 -43
- package/pluginHooks.mjs +43 -43
- package/plugins/columnSummary/columnSummary.js +14 -14
- package/plugins/columnSummary/columnSummary.mjs +14 -14
- package/plugins/contextMenu/contextMenu.js +3 -3
- package/plugins/contextMenu/contextMenu.mjs +3 -3
- package/plugins/copyPaste/copyPaste.js +3 -3
- package/plugins/copyPaste/copyPaste.mjs +3 -3
- package/plugins/customBorders/customBorders.js +1 -1
- package/plugins/customBorders/customBorders.mjs +1 -1
- package/plugins/dropdownMenu/dropdownMenu.js +2 -2
- package/plugins/dropdownMenu/dropdownMenu.mjs +2 -2
- package/plugins/exportFile/exportFile.js +1 -1
- package/plugins/exportFile/exportFile.mjs +1 -1
- package/plugins/filters/filters.js +1 -1
- package/plugins/filters/filters.mjs +1 -1
- package/plugins/formulas/formulas.js +1 -1
- package/plugins/formulas/formulas.mjs +1 -1
- package/plugins/hiddenColumns/hiddenColumns.js +4 -4
- package/plugins/hiddenColumns/hiddenColumns.mjs +4 -4
- package/plugins/hiddenRows/hiddenRows.js +4 -4
- package/plugins/hiddenRows/hiddenRows.mjs +4 -4
- package/plugins/manualColumnMove/manualColumnMove.js +7 -7
- package/plugins/manualColumnMove/manualColumnMove.mjs +7 -7
- package/plugins/manualRowMove/manualRowMove.js +7 -7
- package/plugins/manualRowMove/manualRowMove.mjs +7 -7
- package/plugins/nestedRows/nestedRows.js +2 -2
- package/plugins/nestedRows/nestedRows.mjs +2 -2
- package/plugins/nestedRows/utils/rowMoveController.js +4 -4
- package/plugins/nestedRows/utils/rowMoveController.mjs +4 -4
- package/shortcuts/context.js +1 -1
- package/shortcuts/context.mjs +1 -1
- package/shortcuts/manager.js +2 -2
- package/shortcuts/manager.mjs +2 -2
@@ -38,7 +38,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 310;
|
|
38
38
|
* @class HiddenColumns
|
39
39
|
*
|
40
40
|
* @description
|
41
|
-
* The `HiddenColumns` plugin lets you [hide specified columns](@/guides/columns/column-hiding.md).
|
41
|
+
* The `HiddenColumns` plugin lets you [hide specified columns](@/guides/columns/column-hiding/column-hiding.md).
|
42
42
|
*
|
43
43
|
* "Hiding a column" means that the hidden column doesn't get rendered as a DOM element.
|
44
44
|
*
|
@@ -50,9 +50,9 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 310;
|
|
50
50
|
*
|
51
51
|
* | Option | Required | Type | Default | Description |
|
52
52
|
* |---|---|---|---|---|
|
53
|
-
* | `columns` | No | Array | - | [Hides specified columns by default](@/guides/columns/column-hiding.md#step-1-specify-columns-hidden-by-default) |
|
54
|
-
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/columns/column-hiding.md#step-2-show-ui-indicators) |
|
55
|
-
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/columns/column-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
53
|
+
* | `columns` | No | Array | - | [Hides specified columns by default](@/guides/columns/column-hiding/column-hiding.md#step-1-specify-columns-hidden-by-default) |
|
54
|
+
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/columns/column-hiding/column-hiding.md#step-2-show-ui-indicators) |
|
55
|
+
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/columns/column-hiding/column-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
56
56
|
*
|
57
57
|
* @example
|
58
58
|
*
|
@@ -34,7 +34,7 @@ export const PLUGIN_PRIORITY = 310;
|
|
34
34
|
* @class HiddenColumns
|
35
35
|
*
|
36
36
|
* @description
|
37
|
-
* The `HiddenColumns` plugin lets you [hide specified columns](@/guides/columns/column-hiding.md).
|
37
|
+
* The `HiddenColumns` plugin lets you [hide specified columns](@/guides/columns/column-hiding/column-hiding.md).
|
38
38
|
*
|
39
39
|
* "Hiding a column" means that the hidden column doesn't get rendered as a DOM element.
|
40
40
|
*
|
@@ -46,9 +46,9 @@ export const PLUGIN_PRIORITY = 310;
|
|
46
46
|
*
|
47
47
|
* | Option | Required | Type | Default | Description |
|
48
48
|
* |---|---|---|---|---|
|
49
|
-
* | `columns` | No | Array | - | [Hides specified columns by default](@/guides/columns/column-hiding.md#step-1-specify-columns-hidden-by-default) |
|
50
|
-
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/columns/column-hiding.md#step-2-show-ui-indicators) |
|
51
|
-
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/columns/column-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
49
|
+
* | `columns` | No | Array | - | [Hides specified columns by default](@/guides/columns/column-hiding/column-hiding.md#step-1-specify-columns-hidden-by-default) |
|
50
|
+
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/columns/column-hiding/column-hiding.md#step-2-show-ui-indicators) |
|
51
|
+
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/columns/column-hiding/column-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
52
52
|
*
|
53
53
|
* @example
|
54
54
|
*
|
@@ -38,7 +38,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 320;
|
|
38
38
|
* @class HiddenRows
|
39
39
|
*
|
40
40
|
* @description
|
41
|
-
* The `HiddenRows` plugin lets you [hide specified rows](@/guides/rows/row-hiding.md).
|
41
|
+
* The `HiddenRows` plugin lets you [hide specified rows](@/guides/rows/row-hiding/row-hiding.md).
|
42
42
|
*
|
43
43
|
* "Hiding a row" means that the hidden row doesn't get rendered as a DOM element.
|
44
44
|
*
|
@@ -50,9 +50,9 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 320;
|
|
50
50
|
*
|
51
51
|
* | Option | Required | Type | Default | Description |
|
52
52
|
* |---|---|---|---|---|
|
53
|
-
* | `rows` | No | Array | - | [Hides specified rows by default](@/guides/rows/row-hiding.md#step-1-specify-rows-hidden-by-default) |
|
54
|
-
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/rows/row-hiding.md#step-2-show-ui-indicators) |
|
55
|
-
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/rows/row-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
53
|
+
* | `rows` | No | Array | - | [Hides specified rows by default](@/guides/rows/row-hiding/row-hiding.md#step-1-specify-rows-hidden-by-default) |
|
54
|
+
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/rows/row-hiding/row-hiding.md#step-2-show-ui-indicators) |
|
55
|
+
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/rows/row-hiding/row-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
56
56
|
*
|
57
57
|
* @example
|
58
58
|
*
|
@@ -34,7 +34,7 @@ export const PLUGIN_PRIORITY = 320;
|
|
34
34
|
* @class HiddenRows
|
35
35
|
*
|
36
36
|
* @description
|
37
|
-
* The `HiddenRows` plugin lets you [hide specified rows](@/guides/rows/row-hiding.md).
|
37
|
+
* The `HiddenRows` plugin lets you [hide specified rows](@/guides/rows/row-hiding/row-hiding.md).
|
38
38
|
*
|
39
39
|
* "Hiding a row" means that the hidden row doesn't get rendered as a DOM element.
|
40
40
|
*
|
@@ -46,9 +46,9 @@ export const PLUGIN_PRIORITY = 320;
|
|
46
46
|
*
|
47
47
|
* | Option | Required | Type | Default | Description |
|
48
48
|
* |---|---|---|---|---|
|
49
|
-
* | `rows` | No | Array | - | [Hides specified rows by default](@/guides/rows/row-hiding.md#step-1-specify-rows-hidden-by-default) |
|
50
|
-
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/rows/row-hiding.md#step-2-show-ui-indicators) |
|
51
|
-
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/rows/row-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
49
|
+
* | `rows` | No | Array | - | [Hides specified rows by default](@/guides/rows/row-hiding/row-hiding.md#step-1-specify-rows-hidden-by-default) |
|
50
|
+
* | `indicators` | No | Boolean | `false` | [Shows UI indicators](@/guides/rows/row-hiding/row-hiding.md#step-2-show-ui-indicators) |
|
51
|
+
* | `copyPasteEnabled` | No | Boolean | `true` | [Sets up copy/paste behavior](@/guides/rows/row-hiding/row-hiding.md#step-4-set-up-copy-and-paste-behavior) |
|
52
52
|
*
|
53
53
|
* @example
|
54
54
|
*
|
@@ -46,7 +46,7 @@ const CSS_AFTER_SELECTION = 'after-selection--columns';
|
|
46
46
|
* - `dragColumn` - drag single column to the new position.
|
47
47
|
* - `dragColumns` - drag many columns (as an array of indexes) to the new position.
|
48
48
|
*
|
49
|
-
* [Documentation](@/guides/columns/column-moving.md) explain differences between drag and move actions.
|
49
|
+
* [Documentation](@/guides/columns/column-moving/column-moving.md) explain differences between drag and move actions.
|
50
50
|
* Please keep in mind that if you want apply visual changes,
|
51
51
|
* you have to call manually the `render` method on the instance of Handsontable.
|
52
52
|
*
|
@@ -279,7 +279,7 @@ class ManualColumnMove extends _base.BasePlugin {
|
|
279
279
|
*
|
280
280
|
* @param {number} column Visual column index to be moved.
|
281
281
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
282
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
282
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
283
283
|
* @fires Hooks#beforeColumnMove
|
284
284
|
* @fires Hooks#afterColumnMove
|
285
285
|
* @returns {boolean}
|
@@ -293,7 +293,7 @@ class ManualColumnMove extends _base.BasePlugin {
|
|
293
293
|
*
|
294
294
|
* @param {Array} columns Array of visual column indexes to be moved.
|
295
295
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
296
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
296
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
297
297
|
* @fires Hooks#beforeColumnMove
|
298
298
|
* @fires Hooks#afterColumnMove
|
299
299
|
* @returns {boolean}
|
@@ -319,7 +319,7 @@ class ManualColumnMove extends _base.BasePlugin {
|
|
319
319
|
*
|
320
320
|
* @param {number} column Visual column index to be dragged.
|
321
321
|
* @param {number} dropIndex Visual column index, being a drop index for the moved columns. Points to where we are going to drop the moved elements.
|
322
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
322
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
323
323
|
* @fires Hooks#beforeColumnMove
|
324
324
|
* @fires Hooks#afterColumnMove
|
325
325
|
* @returns {boolean}
|
@@ -333,7 +333,7 @@ class ManualColumnMove extends _base.BasePlugin {
|
|
333
333
|
*
|
334
334
|
* @param {Array} columns Array of visual column indexes to be dragged.
|
335
335
|
* @param {number} dropIndex Visual column index, being a drop index for the moved columns. Points to where we are going to drop the moved elements.
|
336
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
336
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
337
337
|
* @fires Hooks#beforeColumnMove
|
338
338
|
* @fires Hooks#afterColumnMove
|
339
339
|
* @returns {boolean}
|
@@ -350,7 +350,7 @@ class ManualColumnMove extends _base.BasePlugin {
|
|
350
350
|
*
|
351
351
|
* @param {Array} movedColumns Array of visual column indexes to be moved.
|
352
352
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
353
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
353
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
354
354
|
* @returns {boolean}
|
355
355
|
*/
|
356
356
|
isMovePossible(movedColumns, finalIndex) {
|
@@ -373,7 +373,7 @@ class ManualColumnMove extends _base.BasePlugin {
|
|
373
373
|
* @private
|
374
374
|
* @param {Array} movedColumns Array of visual column indexes to be moved.
|
375
375
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
376
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
376
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
377
377
|
* @returns {boolean}
|
378
378
|
*/
|
379
379
|
isColumnOrderChanged(movedColumns, finalIndex) {
|
@@ -42,7 +42,7 @@ const CSS_AFTER_SELECTION = 'after-selection--columns';
|
|
42
42
|
* - `dragColumn` - drag single column to the new position.
|
43
43
|
* - `dragColumns` - drag many columns (as an array of indexes) to the new position.
|
44
44
|
*
|
45
|
-
* [Documentation](@/guides/columns/column-moving.md) explain differences between drag and move actions.
|
45
|
+
* [Documentation](@/guides/columns/column-moving/column-moving.md) explain differences between drag and move actions.
|
46
46
|
* Please keep in mind that if you want apply visual changes,
|
47
47
|
* you have to call manually the `render` method on the instance of Handsontable.
|
48
48
|
*
|
@@ -275,7 +275,7 @@ export class ManualColumnMove extends BasePlugin {
|
|
275
275
|
*
|
276
276
|
* @param {number} column Visual column index to be moved.
|
277
277
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
278
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
278
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
279
279
|
* @fires Hooks#beforeColumnMove
|
280
280
|
* @fires Hooks#afterColumnMove
|
281
281
|
* @returns {boolean}
|
@@ -289,7 +289,7 @@ export class ManualColumnMove extends BasePlugin {
|
|
289
289
|
*
|
290
290
|
* @param {Array} columns Array of visual column indexes to be moved.
|
291
291
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
292
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
292
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
293
293
|
* @fires Hooks#beforeColumnMove
|
294
294
|
* @fires Hooks#afterColumnMove
|
295
295
|
* @returns {boolean}
|
@@ -315,7 +315,7 @@ export class ManualColumnMove extends BasePlugin {
|
|
315
315
|
*
|
316
316
|
* @param {number} column Visual column index to be dragged.
|
317
317
|
* @param {number} dropIndex Visual column index, being a drop index for the moved columns. Points to where we are going to drop the moved elements.
|
318
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
318
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
319
319
|
* @fires Hooks#beforeColumnMove
|
320
320
|
* @fires Hooks#afterColumnMove
|
321
321
|
* @returns {boolean}
|
@@ -329,7 +329,7 @@ export class ManualColumnMove extends BasePlugin {
|
|
329
329
|
*
|
330
330
|
* @param {Array} columns Array of visual column indexes to be dragged.
|
331
331
|
* @param {number} dropIndex Visual column index, being a drop index for the moved columns. Points to where we are going to drop the moved elements.
|
332
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
332
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
333
333
|
* @fires Hooks#beforeColumnMove
|
334
334
|
* @fires Hooks#afterColumnMove
|
335
335
|
* @returns {boolean}
|
@@ -346,7 +346,7 @@ export class ManualColumnMove extends BasePlugin {
|
|
346
346
|
*
|
347
347
|
* @param {Array} movedColumns Array of visual column indexes to be moved.
|
348
348
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
349
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
349
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
350
350
|
* @returns {boolean}
|
351
351
|
*/
|
352
352
|
isMovePossible(movedColumns, finalIndex) {
|
@@ -369,7 +369,7 @@ export class ManualColumnMove extends BasePlugin {
|
|
369
369
|
* @private
|
370
370
|
* @param {Array} movedColumns Array of visual column indexes to be moved.
|
371
371
|
* @param {number} finalIndex Visual column index, being a start index for the moved columns. Points to where the elements will be placed after the moving action.
|
372
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
372
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/columns/column-moving/column-moving.md#drag-and-move-actions-of-manualcolumnmove-plugin).
|
373
373
|
* @returns {boolean}
|
374
374
|
*/
|
375
375
|
isColumnOrderChanged(movedColumns, finalIndex) {
|
@@ -45,7 +45,7 @@ const CSS_AFTER_SELECTION = 'after-selection--rows';
|
|
45
45
|
* - `dragRow` - drag single row to the new position.
|
46
46
|
* - `dragRows` - drag many rows (as an array of indexes) to the new position.
|
47
47
|
*
|
48
|
-
* [Documentation](@/guides/rows/row-moving.md) explain differences between drag and move actions. Please keep in mind that if you want apply visual changes,
|
48
|
+
* [Documentation](@/guides/rows/row-moving/row-moving.md) explain differences between drag and move actions. Please keep in mind that if you want apply visual changes,
|
49
49
|
* you have to call manually the `render` method on the instance of Handsontable.
|
50
50
|
*
|
51
51
|
* The plugin creates additional components to make moving possibly using user interface:
|
@@ -237,7 +237,7 @@ class ManualRowMove extends _base.BasePlugin {
|
|
237
237
|
*
|
238
238
|
* @param {number} row Visual row index to be moved.
|
239
239
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
240
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
240
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
241
241
|
* @fires Hooks#beforeRowMove
|
242
242
|
* @fires Hooks#afterRowMove
|
243
243
|
* @returns {boolean}
|
@@ -253,7 +253,7 @@ class ManualRowMove extends _base.BasePlugin {
|
|
253
253
|
*
|
254
254
|
* @param {Array} rows Array of visual row indexes to be moved.
|
255
255
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
256
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
256
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
257
257
|
* @fires Hooks#beforeRowMove
|
258
258
|
* @fires Hooks#afterRowMove
|
259
259
|
* @returns {boolean}
|
@@ -279,7 +279,7 @@ class ManualRowMove extends _base.BasePlugin {
|
|
279
279
|
*
|
280
280
|
* @param {number} row Visual row index to be dragged.
|
281
281
|
* @param {number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we are going to drop the moved elements.
|
282
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
282
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
283
283
|
* @fires Hooks#beforeRowMove
|
284
284
|
* @fires Hooks#afterRowMove
|
285
285
|
* @returns {boolean}
|
@@ -293,7 +293,7 @@ class ManualRowMove extends _base.BasePlugin {
|
|
293
293
|
*
|
294
294
|
* @param {Array} rows Array of visual row indexes to be dragged.
|
295
295
|
* @param {number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we are going to drop the moved elements.
|
296
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
296
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
297
297
|
* @fires Hooks#beforeRowMove
|
298
298
|
* @fires Hooks#afterRowMove
|
299
299
|
* @returns {boolean}
|
@@ -309,7 +309,7 @@ class ManualRowMove extends _base.BasePlugin {
|
|
309
309
|
*
|
310
310
|
* @param {Array} movedRows Array of visual row indexes to be moved.
|
311
311
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
312
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
312
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
313
313
|
* @returns {boolean}
|
314
314
|
*/
|
315
315
|
isMovePossible(movedRows, finalIndex) {
|
@@ -332,7 +332,7 @@ class ManualRowMove extends _base.BasePlugin {
|
|
332
332
|
* @private
|
333
333
|
* @param {Array} movedRows Array of visual row indexes to be moved.
|
334
334
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
335
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
335
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
336
336
|
* @returns {boolean}
|
337
337
|
*/
|
338
338
|
isRowOrderChanged(movedRows, finalIndex) {
|
@@ -41,7 +41,7 @@ const CSS_AFTER_SELECTION = 'after-selection--rows';
|
|
41
41
|
* - `dragRow` - drag single row to the new position.
|
42
42
|
* - `dragRows` - drag many rows (as an array of indexes) to the new position.
|
43
43
|
*
|
44
|
-
* [Documentation](@/guides/rows/row-moving.md) explain differences between drag and move actions. Please keep in mind that if you want apply visual changes,
|
44
|
+
* [Documentation](@/guides/rows/row-moving/row-moving.md) explain differences between drag and move actions. Please keep in mind that if you want apply visual changes,
|
45
45
|
* you have to call manually the `render` method on the instance of Handsontable.
|
46
46
|
*
|
47
47
|
* The plugin creates additional components to make moving possibly using user interface:
|
@@ -233,7 +233,7 @@ export class ManualRowMove extends BasePlugin {
|
|
233
233
|
*
|
234
234
|
* @param {number} row Visual row index to be moved.
|
235
235
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
236
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
236
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
237
237
|
* @fires Hooks#beforeRowMove
|
238
238
|
* @fires Hooks#afterRowMove
|
239
239
|
* @returns {boolean}
|
@@ -249,7 +249,7 @@ export class ManualRowMove extends BasePlugin {
|
|
249
249
|
*
|
250
250
|
* @param {Array} rows Array of visual row indexes to be moved.
|
251
251
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
252
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
252
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
253
253
|
* @fires Hooks#beforeRowMove
|
254
254
|
* @fires Hooks#afterRowMove
|
255
255
|
* @returns {boolean}
|
@@ -275,7 +275,7 @@ export class ManualRowMove extends BasePlugin {
|
|
275
275
|
*
|
276
276
|
* @param {number} row Visual row index to be dragged.
|
277
277
|
* @param {number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we are going to drop the moved elements.
|
278
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
278
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
279
279
|
* @fires Hooks#beforeRowMove
|
280
280
|
* @fires Hooks#afterRowMove
|
281
281
|
* @returns {boolean}
|
@@ -289,7 +289,7 @@ export class ManualRowMove extends BasePlugin {
|
|
289
289
|
*
|
290
290
|
* @param {Array} rows Array of visual row indexes to be dragged.
|
291
291
|
* @param {number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we are going to drop the moved elements.
|
292
|
-
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
292
|
+
* To check visualization of drop index please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
293
293
|
* @fires Hooks#beforeRowMove
|
294
294
|
* @fires Hooks#afterRowMove
|
295
295
|
* @returns {boolean}
|
@@ -305,7 +305,7 @@ export class ManualRowMove extends BasePlugin {
|
|
305
305
|
*
|
306
306
|
* @param {Array} movedRows Array of visual row indexes to be moved.
|
307
307
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
308
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
308
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
309
309
|
* @returns {boolean}
|
310
310
|
*/
|
311
311
|
isMovePossible(movedRows, finalIndex) {
|
@@ -328,7 +328,7 @@ export class ManualRowMove extends BasePlugin {
|
|
328
328
|
* @private
|
329
329
|
* @param {Array} movedRows Array of visual row indexes to be moved.
|
330
330
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements will be placed after the moving action.
|
331
|
-
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
331
|
+
* To check the visualization of the final index, please take a look at [documentation](@/guides/rows/row-moving/row-moving.md#drag-and-move-actions-of-manualrowmove-plugin).
|
332
332
|
* @returns {boolean}
|
333
333
|
*/
|
334
334
|
isRowOrderChanged(movedRows, finalIndex) {
|
@@ -169,10 +169,10 @@ class NestedRows extends _base.BasePlugin {
|
|
169
169
|
* @param {Array} rows Array of visual row indexes to be moved.
|
170
170
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements
|
171
171
|
* will be placed after the moving action. To check the visualization of the final index, please take a look at
|
172
|
-
* [documentation](@/guides/rows/row-summary.md).
|
172
|
+
* [documentation](@/guides/rows/row-summary/row-summary.md).
|
173
173
|
* @param {undefined|number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we
|
174
174
|
* are going to drop the moved elements. To check visualization of drop index please take a look at
|
175
|
-
* [documentation](@/guides/rows/row-summary.md).
|
175
|
+
* [documentation](@/guides/rows/row-summary/row-summary.md).
|
176
176
|
* @param {boolean} movePossible Indicates if it's possible to move rows to the desired position.
|
177
177
|
* @fires Hooks#afterRowMove
|
178
178
|
* @returns {boolean}
|
@@ -165,10 +165,10 @@ export class NestedRows extends BasePlugin {
|
|
165
165
|
* @param {Array} rows Array of visual row indexes to be moved.
|
166
166
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements
|
167
167
|
* will be placed after the moving action. To check the visualization of the final index, please take a look at
|
168
|
-
* [documentation](@/guides/rows/row-summary.md).
|
168
|
+
* [documentation](@/guides/rows/row-summary/row-summary.md).
|
169
169
|
* @param {undefined|number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we
|
170
170
|
* are going to drop the moved elements. To check visualization of drop index please take a look at
|
171
|
-
* [documentation](@/guides/rows/row-summary.md).
|
171
|
+
* [documentation](@/guides/rows/row-summary/row-summary.md).
|
172
172
|
* @param {boolean} movePossible Indicates if it's possible to move rows to the desired position.
|
173
173
|
* @fires Hooks#afterRowMove
|
174
174
|
* @returns {boolean}
|
@@ -53,10 +53,10 @@ class RowMoveController {
|
|
53
53
|
* @param {Array} rows Array of visual row indexes to be moved.
|
54
54
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements
|
55
55
|
* will be placed after the moving action. To check the visualization of the final index, please take a look at
|
56
|
-
* [documentation](@/guides/rows/row-moving.md).
|
56
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
57
57
|
* @param {undefined|number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we
|
58
58
|
* are going to drop the moved elements. To check visualization of drop index please take a look at
|
59
|
-
* [documentation](@/guides/rows/row-moving.md).
|
59
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
60
60
|
* @param {boolean} movePossible Indicates if it's possible to move rows to the desired position.
|
61
61
|
* @fires Hooks#afterRowMove
|
62
62
|
* @returns {boolean}
|
@@ -237,7 +237,7 @@ class RowMoveController {
|
|
237
237
|
* @param {Array} rows Array of visual row indexes to be moved.
|
238
238
|
* @param {undefined|number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we
|
239
239
|
* are going to drop the moved elements. To check visualization of drop index please take a look at
|
240
|
-
* [documentation](@/guides/rows/row-moving.md).
|
240
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
241
241
|
*/
|
242
242
|
selectCells(rows, dropIndex) {
|
243
243
|
const rowsLen = rows.length;
|
@@ -276,7 +276,7 @@ class RowMoveController {
|
|
276
276
|
* @param {Array} movedRows Array of visual row indexes to be moved.
|
277
277
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements
|
278
278
|
* will be placed after the moving action. To check the visualization of the final index, please take a look at
|
279
|
-
* [documentation](@/guides/rows/row-moving.md).
|
279
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
280
280
|
* @returns {boolean}
|
281
281
|
*/
|
282
282
|
isRowOrderChanged(movedRows, finalIndex) {
|
@@ -50,10 +50,10 @@ export default class RowMoveController {
|
|
50
50
|
* @param {Array} rows Array of visual row indexes to be moved.
|
51
51
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements
|
52
52
|
* will be placed after the moving action. To check the visualization of the final index, please take a look at
|
53
|
-
* [documentation](@/guides/rows/row-moving.md).
|
53
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
54
54
|
* @param {undefined|number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we
|
55
55
|
* are going to drop the moved elements. To check visualization of drop index please take a look at
|
56
|
-
* [documentation](@/guides/rows/row-moving.md).
|
56
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
57
57
|
* @param {boolean} movePossible Indicates if it's possible to move rows to the desired position.
|
58
58
|
* @fires Hooks#afterRowMove
|
59
59
|
* @returns {boolean}
|
@@ -234,7 +234,7 @@ export default class RowMoveController {
|
|
234
234
|
* @param {Array} rows Array of visual row indexes to be moved.
|
235
235
|
* @param {undefined|number} dropIndex Visual row index, being a drop index for the moved rows. Points to where we
|
236
236
|
* are going to drop the moved elements. To check visualization of drop index please take a look at
|
237
|
-
* [documentation](@/guides/rows/row-moving.md).
|
237
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
238
238
|
*/
|
239
239
|
selectCells(rows, dropIndex) {
|
240
240
|
const rowsLen = rows.length;
|
@@ -273,7 +273,7 @@ export default class RowMoveController {
|
|
273
273
|
* @param {Array} movedRows Array of visual row indexes to be moved.
|
274
274
|
* @param {number} finalIndex Visual row index, being a start index for the moved rows. Points to where the elements
|
275
275
|
* will be placed after the moving action. To check the visualization of the final index, please take a look at
|
276
|
-
* [documentation](@/guides/rows/row-moving.md).
|
276
|
+
* [documentation](@/guides/rows/row-moving/row-moving.md).
|
277
277
|
* @returns {boolean}
|
278
278
|
*/
|
279
279
|
isRowOrderChanged(movedRows, finalIndex) {
|
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/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
|
27
|
+
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts/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/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
|
23
|
+
* The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts/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/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
|
12
|
+
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts/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/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
|
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/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/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
|
9
|
+
* The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts/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/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
|
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/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 => {
|