handsontable 0.0.0-next-2787440-20221201 → 0.0.0-next-c8630a2-20221202

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

Files changed (42) hide show
  1. package/base.js +2 -2
  2. package/base.mjs +2 -2
  3. package/core.js +32 -23
  4. package/core.mjs +28 -19
  5. package/dataMap/dataMap.js +1 -4
  6. package/dataMap/dataMap.mjs +2 -5
  7. package/dataMap/metaManager/metaLayers/cellMeta.js +4 -5
  8. package/dataMap/metaManager/metaLayers/cellMeta.mjs +5 -6
  9. package/dataMap/metaManager/metaLayers/columnMeta.js +1 -1
  10. package/dataMap/metaManager/metaLayers/columnMeta.mjs +2 -2
  11. package/dataMap/metaManager/metaLayers/globalMeta.js +14 -1
  12. package/dataMap/metaManager/metaLayers/globalMeta.mjs +15 -2
  13. package/dataMap/metaManager/metaLayers/tableMeta.js +1 -1
  14. package/dataMap/metaManager/metaLayers/tableMeta.mjs +2 -2
  15. package/dataMap/metaManager/metaSchema.js +28 -35
  16. package/dataMap/metaManager/metaSchema.mjs +28 -35
  17. package/dataMap/metaManager/utils.js +44 -14
  18. package/dataMap/metaManager/utils.mjs +44 -14
  19. package/dist/handsontable.css +2 -2
  20. package/dist/handsontable.full.css +2 -2
  21. package/dist/handsontable.full.js +1715 -1720
  22. package/dist/handsontable.full.min.css +2 -2
  23. package/dist/handsontable.full.min.js +84 -84
  24. package/dist/handsontable.js +1370 -1375
  25. package/dist/handsontable.min.css +2 -2
  26. package/dist/handsontable.min.js +3 -3
  27. package/editors/registry.js +3 -0
  28. package/editors/registry.mjs +3 -0
  29. package/helpers/data.d.ts +0 -1
  30. package/helpers/data.js +0 -49
  31. package/helpers/data.mjs +1 -49
  32. package/helpers/mixed.js +1 -1
  33. package/helpers/mixed.mjs +1 -1
  34. package/helpers/object.js +1 -1
  35. package/helpers/object.mjs +1 -1
  36. package/package.json +1 -1
  37. package/plugins/columnSummary/columnSummary.js +5 -5
  38. package/plugins/columnSummary/columnSummary.mjs +5 -5
  39. package/plugins/formulas/formulas.js +6 -6
  40. package/plugins/formulas/formulas.mjs +6 -6
  41. package/shortcuts/manager.js +1 -1
  42. package/shortcuts/manager.mjs +1 -1
@@ -81,6 +81,9 @@ function _getEditorInstance(name, hotInstance) {
81
81
  * @returns {Function} Returns editor class.
82
82
  */
83
83
  function _getItem(name) {
84
+ if (typeof name === 'function') {
85
+ return name;
86
+ }
84
87
  if (!hasItem(name)) {
85
88
  throw Error("No registered editor found under \"".concat(name, "\" name"));
86
89
  }
@@ -68,6 +68,9 @@ export function _getEditorInstance(name, hotInstance) {
68
68
  * @returns {Function} Returns editor class.
69
69
  */
70
70
  function _getItem(name) {
71
+ if (typeof name === 'function') {
72
+ return name;
73
+ }
71
74
  if (!hasItem(name)) {
72
75
  throw Error("No registered editor found under \"".concat(name, "\" name"));
73
76
  }
package/helpers/data.d.ts CHANGED
@@ -5,7 +5,6 @@ export function spreadsheetColumnIndex(label: string): number;
5
5
  export function createSpreadsheetData(rows?: number, columns?: number): any[][];
6
6
  export function createSpreadsheetObjectData(rows?: number, colCount?: number): any[][];
7
7
  export function createEmptySpreadsheetData(rows: number, columns: number): string[][];
8
- export function cellMethodLookupFactory(methodName: string, allowUndefined?: boolean): (row: number, col: number) => (prop: string) => any;
9
8
  export function dataRowToChangesArray(dataRow: CellValue[] | object, rowOffset?: number): number[] | Array<number | string> | CellValue[];
10
9
  export function countFirstRowKeys(data: CellValue[]): number;
11
10
  export function isArrayOfArrays(data: any[]): boolean;
package/helpers/data.js CHANGED
@@ -7,7 +7,6 @@ require("core-js/modules/es.array.iterator.js");
7
7
  require("core-js/modules/es.string.iterator.js");
8
8
  require("core-js/modules/web.dom-collections.iterator.js");
9
9
  exports.__esModule = true;
10
- exports.cellMethodLookupFactory = cellMethodLookupFactory;
11
10
  exports.countFirstRowKeys = countFirstRowKeys;
12
11
  exports.createEmptySpreadsheetData = createEmptySpreadsheetData;
13
12
  exports.createSpreadsheetData = createSpreadsheetData;
@@ -17,11 +16,9 @@ exports.isArrayOfArrays = isArrayOfArrays;
17
16
  exports.isArrayOfObjects = isArrayOfObjects;
18
17
  exports.spreadsheetColumnIndex = spreadsheetColumnIndex;
19
18
  exports.spreadsheetColumnLabel = spreadsheetColumnLabel;
20
- require("core-js/modules/es.object.get-prototype-of.js");
21
19
  require("core-js/modules/es.object.to-string.js");
22
20
  require("core-js/modules/web.dom-collections.for-each.js");
23
21
  require("core-js/modules/es.object.keys.js");
24
- var _registry = require("./../cellTypes/registry");
25
22
  var _object = require("./object");
26
23
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
27
24
  var COLUMN_LABEL_BASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
@@ -128,52 +125,6 @@ function createEmptySpreadsheetData(rows, columns) {
128
125
  return data;
129
126
  }
130
127
 
131
- /**
132
- * Factory that produces a function for searching methods (or any properties) which could be defined directly in
133
- * table configuration or implicitly, within cell type definition.
134
- *
135
- * For example: renderer can be defined explicitly using "renderer" property in column configuration or it can be
136
- * defined implicitly using "type" property.
137
- *
138
- * Methods/properties defined explicitly always takes precedence over those defined through "type".
139
- *
140
- * If the method/property is not found in an object, searching is continued recursively through prototype chain, until
141
- * it reaches the Object.prototype.
142
- *
143
- * @param {string} methodName Name of the method/property to search (i.e. 'renderer', 'validator', 'copyable').
144
- * @param {boolean} [allowUndefined] If `false`, the search is continued if methodName has not been found in cell
145
- * "type".
146
- * @returns {Function}
147
- */
148
- function cellMethodLookupFactory(methodName, allowUndefined) {
149
- var isUndefinedAllowed = typeof allowUndefined === 'undefined' ? true : allowUndefined;
150
- return function cellMethodLookup(row, col) {
151
- return function getMethodFromProperties(properties) {
152
- if (!properties) {
153
- return; // method or property not found
154
- }
155
-
156
- if ((0, _object.hasOwnProperty)(properties, methodName) && properties[methodName] !== void 0) {
157
- // check if it is own and is not empty
158
- return properties[methodName]; // method defined directly
159
- } else if ((0, _object.hasOwnProperty)(properties, 'type') && properties.type) {
160
- // check if it is own and is not empty
161
- if (typeof properties.type !== 'string') {
162
- throw new Error('Cell "type" must be a string');
163
- }
164
- var type = (0, _registry.getCellType)(properties.type);
165
- if ((0, _object.hasOwnProperty)(type, methodName)) {
166
- return type[methodName]; // method defined in type.
167
- } else if (isUndefinedAllowed) {
168
- return; // method does not defined in type (eg. validator), returns undefined
169
- }
170
- }
171
-
172
- return getMethodFromProperties(Object.getPrototypeOf(properties));
173
- }(typeof row === 'number' ? this.getCellMeta(row, col) : row);
174
- };
175
- }
176
-
177
128
  /**
178
129
  * Transform a data row (either an array or an object) or an array of data rows to array of changes in a form of `[row,
179
130
  * prop/col, value]`. Convenient to use with `setDataAtRowProp` and `setSourceDataAtCell` methods.
package/helpers/data.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- import "core-js/modules/es.object.get-prototype-of.js";
3
2
  import "core-js/modules/es.object.to-string.js";
4
3
  import "core-js/modules/web.dom-collections.for-each.js";
5
4
  import "core-js/modules/es.object.keys.js";
@@ -9,8 +8,7 @@ import "core-js/modules/es.symbol.iterator.js";
9
8
  import "core-js/modules/es.array.iterator.js";
10
9
  import "core-js/modules/es.string.iterator.js";
11
10
  import "core-js/modules/web.dom-collections.iterator.js";
12
- import { getCellType } from "./../cellTypes/registry.mjs";
13
- import { deepObjectSize, hasOwnProperty, isObject } from "./object.mjs";
11
+ import { deepObjectSize, isObject } from "./object.mjs";
14
12
  var COLUMN_LABEL_BASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
15
13
  var COLUMN_LABEL_BASE_LENGTH = COLUMN_LABEL_BASE.length;
16
14
 
@@ -115,52 +113,6 @@ export function createEmptySpreadsheetData(rows, columns) {
115
113
  return data;
116
114
  }
117
115
 
118
- /**
119
- * Factory that produces a function for searching methods (or any properties) which could be defined directly in
120
- * table configuration or implicitly, within cell type definition.
121
- *
122
- * For example: renderer can be defined explicitly using "renderer" property in column configuration or it can be
123
- * defined implicitly using "type" property.
124
- *
125
- * Methods/properties defined explicitly always takes precedence over those defined through "type".
126
- *
127
- * If the method/property is not found in an object, searching is continued recursively through prototype chain, until
128
- * it reaches the Object.prototype.
129
- *
130
- * @param {string} methodName Name of the method/property to search (i.e. 'renderer', 'validator', 'copyable').
131
- * @param {boolean} [allowUndefined] If `false`, the search is continued if methodName has not been found in cell
132
- * "type".
133
- * @returns {Function}
134
- */
135
- export function cellMethodLookupFactory(methodName, allowUndefined) {
136
- var isUndefinedAllowed = typeof allowUndefined === 'undefined' ? true : allowUndefined;
137
- return function cellMethodLookup(row, col) {
138
- return function getMethodFromProperties(properties) {
139
- if (!properties) {
140
- return; // method or property not found
141
- }
142
-
143
- if (hasOwnProperty(properties, methodName) && properties[methodName] !== void 0) {
144
- // check if it is own and is not empty
145
- return properties[methodName]; // method defined directly
146
- } else if (hasOwnProperty(properties, 'type') && properties.type) {
147
- // check if it is own and is not empty
148
- if (typeof properties.type !== 'string') {
149
- throw new Error('Cell "type" must be a string');
150
- }
151
- var type = getCellType(properties.type);
152
- if (hasOwnProperty(type, methodName)) {
153
- return type[methodName]; // method defined in type.
154
- } else if (isUndefinedAllowed) {
155
- return; // method does not defined in type (eg. validator), returns undefined
156
- }
157
- }
158
-
159
- return getMethodFromProperties(Object.getPrototypeOf(properties));
160
- }(typeof row === 'number' ? this.getCellMeta(row, col) : row);
161
- };
162
- }
163
-
164
116
  /**
165
117
  * Transform a data row (either an array or an object) or an array of data rows to array of changes in a form of `[row,
166
118
  * prop/col, value]`. Convenient to use with `setDataAtRowProp` and `setSourceDataAtCell` methods.
package/helpers/mixed.js CHANGED
@@ -152,7 +152,7 @@ var domMessages = {
152
152
  function _injectProductInfo(key, element) {
153
153
  var hasValidType = !isEmpty(key);
154
154
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
155
- var hotVersion = "0.0.0-next-2787440-20221201";
155
+ var hotVersion = "0.0.0-next-c8630a2-20221202";
156
156
  var keyValidityDate;
157
157
  var consoleMessageState = 'invalid';
158
158
  var domMessageState = 'invalid';
package/helpers/mixed.mjs CHANGED
@@ -142,7 +142,7 @@ var domMessages = {
142
142
  export function _injectProductInfo(key, element) {
143
143
  var hasValidType = !isEmpty(key);
144
144
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
145
- var hotVersion = "0.0.0-next-2787440-20221201";
145
+ var hotVersion = "0.0.0-next-c8630a2-20221202";
146
146
  var keyValidityDate;
147
147
  var consoleMessageState = 'invalid';
148
148
  var domMessageState = 'invalid';
package/helpers/object.js CHANGED
@@ -363,7 +363,7 @@ function createObjectPropListener(defaultValue) {
363
363
  /**
364
364
  * Check if at specified `key` there is any value for `object`.
365
365
  *
366
- * @param {object} object Object to search value at specyfic key.
366
+ * @param {object} object Object to search value at specific key.
367
367
  * @param {string} key String key to check.
368
368
  * @returns {boolean}
369
369
  */
@@ -344,7 +344,7 @@ export function createObjectPropListener(defaultValue) {
344
344
  /**
345
345
  * Check if at specified `key` there is any value for `object`.
346
346
  *
347
- * @param {object} object Object to search value at specyfic key.
347
+ * @param {object} object Object to search value at specific key.
348
348
  * @param {string} key String key to check.
349
349
  * @returns {boolean}
350
350
  */
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": "0.0.0-next-2787440-20221201",
13
+ "version": "0.0.0-next-c8630a2-20221202",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -53,7 +53,7 @@ var PLUGIN_PRIORITY = 220;
53
53
  * The `ColumnSummary` plugin lets you [easily summarize your columns](@/guides/columns/column-summary.md).
54
54
  *
55
55
  * You can use the [built-in summary functions](@/guides/columns/column-summary.md#built-in-summary-functions),
56
- * or implement a [custom summary function](@/guides/columns/column-summary.md#implementing-a-custom-summary-function).
56
+ * or implement a [custom summary function](@/guides/columns/column-summary.md#implement-a-custom-summary-function).
57
57
  *
58
58
  * For each column summary, you can set the following configuration options:
59
59
  *
@@ -64,12 +64,12 @@ var PLUGIN_PRIORITY = 220;
64
64
  * | `type` | Yes | String | - | [Sets a summary function](@/guides/columns/column-summary.md#step-3-calculate-your-summary) |
65
65
  * | `destinationRow` | Yes | Number | - | [Sets the destination cell's row coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
66
66
  * | `destinationColumn` | Yes | Number | - | [Sets the destination cell's column coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
67
- * | `forceNumeric` | No | Boolean | `false` | [Forces the summary to treat non-numerics as numerics](@/guides/columns/column-summary.md#forcing-numeric-values) |
67
+ * | `forceNumeric` | No | Boolean | `false` | [Forces the summary to treat non-numerics as numerics](@/guides/columns/column-summary.md#force-numeric-values) |
68
68
  * | `reversedRowCoords` | No | Boolean | `false` | [Reverses row coordinates](@/guides/columns/column-summary.md#step-5-make-room-for-the-destination-cell) |
69
- * | `suppressDataTypeErrors` | No | Boolean | `true` | [Suppresses data type errors](@/guides/columns/column-summary.md#throwing-data-type-errors) |
69
+ * | `suppressDataTypeErrors` | No | Boolean | `true` | [Suppresses data type errors](@/guides/columns/column-summary.md#throw-data-type-errors) |
70
70
  * | `readOnly` | No | Boolean | `true` | Makes summary cell read-only |
71
- * | `roundFloat` | No | Number | - | [Rounds summary result](@/guides/columns/column-summary.md#rounding-a-column-summary-result) |
72
- * | `customFunction` | No | Function | - | [Lets you add a custom summary function](@/guides/columns/column-summary.md#implementing-a-custom-summary-function) |
71
+ * | `roundFloat` | No | Number | - | [Rounds summary result](@/guides/columns/column-summary.md#round-a-column-summary-result) |
72
+ * | `customFunction` | No | Function | - | [Lets you add a custom summary function](@/guides/columns/column-summary.md#implement-a-custom-summary-function) |
73
73
  *
74
74
  * @example
75
75
  * ::: only-for javascript
@@ -47,7 +47,7 @@ export var PLUGIN_PRIORITY = 220;
47
47
  * The `ColumnSummary` plugin lets you [easily summarize your columns](@/guides/columns/column-summary.md).
48
48
  *
49
49
  * You can use the [built-in summary functions](@/guides/columns/column-summary.md#built-in-summary-functions),
50
- * or implement a [custom summary function](@/guides/columns/column-summary.md#implementing-a-custom-summary-function).
50
+ * or implement a [custom summary function](@/guides/columns/column-summary.md#implement-a-custom-summary-function).
51
51
  *
52
52
  * For each column summary, you can set the following configuration options:
53
53
  *
@@ -58,12 +58,12 @@ export var PLUGIN_PRIORITY = 220;
58
58
  * | `type` | Yes | String | - | [Sets a summary function](@/guides/columns/column-summary.md#step-3-calculate-your-summary) |
59
59
  * | `destinationRow` | Yes | Number | - | [Sets the destination cell's row coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
60
60
  * | `destinationColumn` | Yes | Number | - | [Sets the destination cell's column coordinate](@/guides/columns/column-summary.md#step-4-provide-the-destination-cell-s-coordinates) |
61
- * | `forceNumeric` | No | Boolean | `false` | [Forces the summary to treat non-numerics as numerics](@/guides/columns/column-summary.md#forcing-numeric-values) |
61
+ * | `forceNumeric` | No | Boolean | `false` | [Forces the summary to treat non-numerics as numerics](@/guides/columns/column-summary.md#force-numeric-values) |
62
62
  * | `reversedRowCoords` | No | Boolean | `false` | [Reverses row coordinates](@/guides/columns/column-summary.md#step-5-make-room-for-the-destination-cell) |
63
- * | `suppressDataTypeErrors` | No | Boolean | `true` | [Suppresses data type errors](@/guides/columns/column-summary.md#throwing-data-type-errors) |
63
+ * | `suppressDataTypeErrors` | No | Boolean | `true` | [Suppresses data type errors](@/guides/columns/column-summary.md#throw-data-type-errors) |
64
64
  * | `readOnly` | No | Boolean | `true` | Makes summary cell read-only |
65
- * | `roundFloat` | No | Number | - | [Rounds summary result](@/guides/columns/column-summary.md#rounding-a-column-summary-result) |
66
- * | `customFunction` | No | Function | - | [Lets you add a custom summary function](@/guides/columns/column-summary.md#implementing-a-custom-summary-function) |
65
+ * | `roundFloat` | No | Number | - | [Rounds summary result](@/guides/columns/column-summary.md#round-a-column-summary-result) |
66
+ * | `customFunction` | No | Function | - | [Lets you add a custom summary function](@/guides/columns/column-summary.md#implement-a-custom-summary-function) |
67
67
  *
68
68
  * @example
69
69
  * ::: only-for javascript
@@ -838,7 +838,7 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
838
838
  * @private
839
839
  * @param {Array[]} changes An array of changes in format [[row, prop, oldValue, value], ...].
840
840
  * @param {string} [source] String that identifies source of hook call
841
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
841
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
842
842
  */
843
843
  }, {
844
844
  key: "onAfterSetDataAtCell",
@@ -899,7 +899,7 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
899
899
  * @private
900
900
  * @param {Array[]} changes An array of changes in format [[row, column, oldValue, value], ...].
901
901
  * @param {string} [source] String that identifies source of hook call
902
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
902
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
903
903
  */
904
904
  }, {
905
905
  key: "onAfterSetSourceDataAtCell",
@@ -1014,7 +1014,7 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
1014
1014
  * @param {number} row Represents the visual index of first newly created row in the data source array.
1015
1015
  * @param {number} amount Number of newly created rows in the data source array.
1016
1016
  * @param {string} [source] String that identifies source of hook call
1017
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1017
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1018
1018
  */
1019
1019
  }, {
1020
1020
  key: "onAfterCreateRow",
@@ -1033,7 +1033,7 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
1033
1033
  * @param {number} col Represents the visual index of first newly created column in the data source.
1034
1034
  * @param {number} amount Number of newly created columns in the data source.
1035
1035
  * @param {string} [source] String that identifies source of hook call
1036
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1036
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1037
1037
  */
1038
1038
  }, {
1039
1039
  key: "onAfterCreateCol",
@@ -1053,7 +1053,7 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
1053
1053
  * @param {number} amount An amount of removed rows.
1054
1054
  * @param {number[]} physicalRows An array of physical rows removed from the data source.
1055
1055
  * @param {string} [source] String that identifies source of hook call
1056
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1056
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1057
1057
  */
1058
1058
  }, {
1059
1059
  key: "onAfterRemoveRow",
@@ -1079,7 +1079,7 @@ var Formulas = /*#__PURE__*/function (_BasePlugin) {
1079
1079
  * @param {number} amount An amount of removed columns.
1080
1080
  * @param {number[]} physicalColumns An array of physical columns removed from the data source.
1081
1081
  * @param {string} [source] String that identifies source of hook call
1082
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1082
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1083
1083
  */
1084
1084
  }, {
1085
1085
  key: "onAfterRemoveCol",
@@ -831,7 +831,7 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
831
831
  * @private
832
832
  * @param {Array[]} changes An array of changes in format [[row, prop, oldValue, value], ...].
833
833
  * @param {string} [source] String that identifies source of hook call
834
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
834
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
835
835
  */
836
836
  }, {
837
837
  key: "onAfterSetDataAtCell",
@@ -892,7 +892,7 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
892
892
  * @private
893
893
  * @param {Array[]} changes An array of changes in format [[row, column, oldValue, value], ...].
894
894
  * @param {string} [source] String that identifies source of hook call
895
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
895
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
896
896
  */
897
897
  }, {
898
898
  key: "onAfterSetSourceDataAtCell",
@@ -1007,7 +1007,7 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
1007
1007
  * @param {number} row Represents the visual index of first newly created row in the data source array.
1008
1008
  * @param {number} amount Number of newly created rows in the data source array.
1009
1009
  * @param {string} [source] String that identifies source of hook call
1010
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1010
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1011
1011
  */
1012
1012
  }, {
1013
1013
  key: "onAfterCreateRow",
@@ -1026,7 +1026,7 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
1026
1026
  * @param {number} col Represents the visual index of first newly created column in the data source.
1027
1027
  * @param {number} amount Number of newly created columns in the data source.
1028
1028
  * @param {string} [source] String that identifies source of hook call
1029
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1029
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1030
1030
  */
1031
1031
  }, {
1032
1032
  key: "onAfterCreateCol",
@@ -1046,7 +1046,7 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
1046
1046
  * @param {number} amount An amount of removed rows.
1047
1047
  * @param {number[]} physicalRows An array of physical rows removed from the data source.
1048
1048
  * @param {string} [source] String that identifies source of hook call
1049
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1049
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1050
1050
  */
1051
1051
  }, {
1052
1052
  key: "onAfterRemoveRow",
@@ -1072,7 +1072,7 @@ export var Formulas = /*#__PURE__*/function (_BasePlugin) {
1072
1072
  * @param {number} amount An amount of removed columns.
1073
1073
  * @param {number[]} physicalColumns An array of physical columns removed from the data source.
1074
1074
  * @param {string} [source] String that identifies source of hook call
1075
- * ([list of all available sources]{@link http://docs.handsontable.com/tutorial-using-callbacks.html#page-source-definition}).
1075
+ * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
1076
1076
  */
1077
1077
  }, {
1078
1078
  key: "onAfterRemoveCol",
@@ -19,7 +19,7 @@ var _recorder = require("./recorder");
19
19
  * @param {object} options The manager's options
20
20
  * @param {EventTarget} options.ownerWindow A starting `window` element
21
21
  * @param {Function} options.handleEvent A condition on which `event` is handled.
22
- * @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/accessories-and-menus/keyboard-shortcuts.md#blocking-a-keyboard-shortcut-s-actions).
22
+ * @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/accessories-and-menus/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
23
23
  * @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
24
24
  */
25
25
  var createShortcutManager = function createShortcutManager(_ref) {
@@ -14,7 +14,7 @@ import { useRecorder } from "./recorder.mjs";
14
14
  * @param {object} options The manager's options
15
15
  * @param {EventTarget} options.ownerWindow A starting `window` element
16
16
  * @param {Function} options.handleEvent A condition on which `event` is handled.
17
- * @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/accessories-and-menus/keyboard-shortcuts.md#blocking-a-keyboard-shortcut-s-actions).
17
+ * @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/accessories-and-menus/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
18
18
  * @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
19
19
  */
20
20
  export var createShortcutManager = function createShortcutManager(_ref) {