handsontable 0.0.0-next-200799f-20240311 → 0.0.0-next-bff5041-20240315

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (272) hide show
  1. package/3rdparty/walkontable/src/calculator/viewportColumns.js +12 -17
  2. package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +12 -17
  3. package/3rdparty/walkontable/src/calculator/viewportRows.js +10 -15
  4. package/3rdparty/walkontable/src/calculator/viewportRows.mjs +10 -15
  5. package/3rdparty/walkontable/src/cell/coords.js +12 -17
  6. package/3rdparty/walkontable/src/cell/coords.mjs +12 -17
  7. package/3rdparty/walkontable/src/cell/range.d.ts +0 -1
  8. package/3rdparty/walkontable/src/cell/range.js +23 -45
  9. package/3rdparty/walkontable/src/cell/range.mjs +23 -45
  10. package/3rdparty/walkontable/src/core/_base.js +1 -1
  11. package/3rdparty/walkontable/src/core/_base.mjs +1 -1
  12. package/3rdparty/walkontable/src/event.js +72 -104
  13. package/3rdparty/walkontable/src/event.mjs +72 -104
  14. package/3rdparty/walkontable/src/overlays.js +1 -1
  15. package/3rdparty/walkontable/src/overlays.mjs +1 -1
  16. package/3rdparty/walkontable/src/scroll.js +15 -17
  17. package/3rdparty/walkontable/src/scroll.mjs +15 -17
  18. package/3rdparty/walkontable/src/selection/manager.js +48 -69
  19. package/3rdparty/walkontable/src/selection/manager.mjs +48 -69
  20. package/3rdparty/walkontable/src/selection/scanner.js +33 -42
  21. package/3rdparty/walkontable/src/selection/scanner.mjs +33 -42
  22. package/3rdparty/walkontable/src/utils/columnStretching.js +27 -44
  23. package/3rdparty/walkontable/src/utils/columnStretching.mjs +27 -44
  24. package/3rdparty/walkontable/src/utils/orderView/view.js +1 -1
  25. package/3rdparty/walkontable/src/utils/orderView/view.mjs +1 -1
  26. package/base.js +2 -2
  27. package/base.mjs +2 -2
  28. package/core/viewportScroll/index.js +1 -4
  29. package/core/viewportScroll/index.mjs +1 -4
  30. package/core.d.ts +3 -4
  31. package/core.js +22 -79
  32. package/core.mjs +22 -79
  33. package/dataMap/dataSource.js +1 -1
  34. package/dataMap/dataSource.mjs +1 -1
  35. package/dataMap/metaManager/metaLayers/cellMeta.js +1 -1
  36. package/dataMap/metaManager/metaLayers/cellMeta.mjs +1 -1
  37. package/dataMap/replaceData.js +1 -1
  38. package/dataMap/replaceData.mjs +1 -1
  39. package/dist/handsontable.css +2 -2
  40. package/dist/handsontable.full.css +2 -2
  41. package/dist/handsontable.full.js +7620 -10327
  42. package/dist/handsontable.full.min.css +2 -2
  43. package/dist/handsontable.full.min.js +277 -277
  44. package/dist/handsontable.js +5525 -7779
  45. package/dist/handsontable.min.css +2 -2
  46. package/dist/handsontable.min.js +33 -33
  47. package/dist/languages/all.min.js +1 -1
  48. package/dist/languages/ar-AR.min.js +1 -1
  49. package/dist/languages/cs-CZ.min.js +1 -1
  50. package/dist/languages/de-CH.min.js +1 -1
  51. package/dist/languages/de-DE.min.js +1 -1
  52. package/dist/languages/en-US.min.js +1 -1
  53. package/dist/languages/es-MX.min.js +1 -1
  54. package/dist/languages/fr-FR.min.js +1 -1
  55. package/dist/languages/hr-HR.min.js +1 -1
  56. package/dist/languages/it-IT.min.js +1 -1
  57. package/dist/languages/ja-JP.min.js +1 -1
  58. package/dist/languages/ko-KR.min.js +1 -1
  59. package/dist/languages/lv-LV.min.js +1 -1
  60. package/dist/languages/nb-NO.min.js +1 -1
  61. package/dist/languages/nl-NL.min.js +1 -1
  62. package/dist/languages/pl-PL.min.js +1 -1
  63. package/dist/languages/pt-BR.min.js +1 -1
  64. package/dist/languages/ru-RU.min.js +1 -1
  65. package/dist/languages/sr-SP.min.js +1 -1
  66. package/dist/languages/zh-CN.min.js +1 -1
  67. package/dist/languages/zh-TW.min.js +1 -1
  68. package/editorManager.js +21 -27
  69. package/editorManager.mjs +21 -27
  70. package/editors/autocompleteEditor/autocompleteEditor.js +6 -10
  71. package/editors/autocompleteEditor/autocompleteEditor.mjs +6 -10
  72. package/eventManager.js +1 -1
  73. package/eventManager.mjs +1 -1
  74. package/focusManager.js +58 -82
  75. package/focusManager.mjs +58 -82
  76. package/helpers/dom/element.js +1 -1
  77. package/helpers/dom/element.mjs +1 -1
  78. package/helpers/mixed.js +1 -1
  79. package/helpers/mixed.mjs +1 -1
  80. package/helpers/object.js +2 -2
  81. package/helpers/object.mjs +2 -2
  82. package/index.d.ts +10 -0
  83. package/package.json +2 -1
  84. package/pluginHooks.d.ts +0 -4
  85. package/pluginHooks.js +2 -44
  86. package/pluginHooks.mjs +2 -44
  87. package/plugins/autoColumnSize/autoColumnSize.js +49 -65
  88. package/plugins/autoColumnSize/autoColumnSize.mjs +49 -65
  89. package/plugins/autoRowSize/autoRowSize.js +28 -34
  90. package/plugins/autoRowSize/autoRowSize.mjs +28 -34
  91. package/plugins/autofill/autofill.js +30 -38
  92. package/plugins/autofill/autofill.mjs +30 -38
  93. package/plugins/base/base.js +12 -17
  94. package/plugins/base/base.mjs +12 -17
  95. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +5 -5
  96. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +5 -5
  97. package/plugins/collapsibleColumns/collapsibleColumns.js +36 -54
  98. package/plugins/collapsibleColumns/collapsibleColumns.mjs +36 -54
  99. package/plugins/columnSorting/columnSorting.js +40 -46
  100. package/plugins/columnSorting/columnSorting.mjs +40 -46
  101. package/plugins/columnSummary/columnSummary.js +22 -26
  102. package/plugins/columnSummary/columnSummary.mjs +22 -26
  103. package/plugins/comments/comments.js +116 -158
  104. package/plugins/comments/comments.mjs +116 -158
  105. package/plugins/contextMenu/contextMenu.js +20 -26
  106. package/plugins/contextMenu/contextMenu.mjs +20 -26
  107. package/plugins/contextMenu/itemsFactory.js +1 -1
  108. package/plugins/contextMenu/itemsFactory.mjs +1 -1
  109. package/plugins/contextMenu/menu/defaultShortcutsList.js +10 -26
  110. package/plugins/contextMenu/menu/defaultShortcutsList.mjs +10 -26
  111. package/plugins/contextMenu/menu/menu.js +13 -21
  112. package/plugins/contextMenu/menu/menu.mjs +13 -21
  113. package/plugins/contextMenu/menu/positioner.js +41 -58
  114. package/plugins/contextMenu/menu/positioner.mjs +41 -58
  115. package/plugins/copyPaste/copyPaste.js +113 -154
  116. package/plugins/copyPaste/copyPaste.mjs +113 -154
  117. package/plugins/copyPaste/copyableRanges.js +43 -66
  118. package/plugins/copyPaste/copyableRanges.mjs +43 -66
  119. package/plugins/customBorders/customBorders.js +11 -13
  120. package/plugins/customBorders/customBorders.mjs +11 -13
  121. package/plugins/dragToScroll/dragToScroll.js +6 -6
  122. package/plugins/dragToScroll/dragToScroll.mjs +6 -6
  123. package/plugins/dropdownMenu/dropdownMenu.js +78 -100
  124. package/plugins/dropdownMenu/dropdownMenu.mjs +78 -100
  125. package/plugins/exportFile/dataProvider.js +1 -1
  126. package/plugins/exportFile/dataProvider.mjs +1 -1
  127. package/plugins/filters/component/actionBar.js +9 -9
  128. package/plugins/filters/component/actionBar.mjs +8 -8
  129. package/plugins/filters/component/condition.js +13 -15
  130. package/plugins/filters/component/condition.mjs +13 -15
  131. package/plugins/filters/component/operators.js +6 -6
  132. package/plugins/filters/component/operators.mjs +6 -6
  133. package/plugins/filters/component/value.js +24 -28
  134. package/plugins/filters/component/value.mjs +24 -28
  135. package/plugins/filters/conditionUpdateObserver.js +22 -24
  136. package/plugins/filters/conditionUpdateObserver.mjs +22 -24
  137. package/plugins/filters/dataFilter.js +1 -1
  138. package/plugins/filters/dataFilter.mjs +1 -1
  139. package/plugins/filters/filters.js +81 -95
  140. package/plugins/filters/filters.mjs +81 -95
  141. package/plugins/filters/ui/input.js +13 -19
  142. package/plugins/filters/ui/input.mjs +13 -19
  143. package/plugins/filters/ui/link.js +8 -13
  144. package/plugins/filters/ui/link.mjs +8 -13
  145. package/plugins/filters/ui/multipleSelect.js +85 -112
  146. package/plugins/filters/ui/multipleSelect.mjs +85 -112
  147. package/plugins/filters/ui/radioInput.js +12 -20
  148. package/plugins/filters/ui/radioInput.mjs +12 -20
  149. package/plugins/filters/ui/select.js +50 -72
  150. package/plugins/filters/ui/select.mjs +49 -71
  151. package/plugins/formulas/formulas.js +268 -326
  152. package/plugins/formulas/formulas.mjs +269 -327
  153. package/plugins/formulas/indexSyncer/axisSyncer.js +38 -61
  154. package/plugins/formulas/indexSyncer/axisSyncer.mjs +38 -61
  155. package/plugins/formulas/indexSyncer/index.js +25 -48
  156. package/plugins/formulas/indexSyncer/index.mjs +25 -48
  157. package/plugins/hiddenColumns/hiddenColumns.js +64 -83
  158. package/plugins/hiddenColumns/hiddenColumns.mjs +64 -83
  159. package/plugins/hiddenRows/hiddenRows.js +63 -82
  160. package/plugins/hiddenRows/hiddenRows.mjs +63 -82
  161. package/plugins/manualColumnFreeze/manualColumnFreeze.js +24 -32
  162. package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +25 -33
  163. package/plugins/manualColumnMove/manualColumnMove.js +126 -170
  164. package/plugins/manualColumnMove/manualColumnMove.mjs +126 -170
  165. package/plugins/manualColumnResize/manualColumnResize.js +169 -230
  166. package/plugins/manualColumnResize/manualColumnResize.mjs +169 -230
  167. package/plugins/manualRowMove/manualRowMove.js +99 -128
  168. package/plugins/manualRowMove/manualRowMove.mjs +99 -128
  169. package/plugins/manualRowResize/manualRowResize.js +150 -209
  170. package/plugins/manualRowResize/manualRowResize.mjs +150 -209
  171. package/plugins/mergeCells/calculations/selection.js +71 -2
  172. package/plugins/mergeCells/calculations/selection.mjs +71 -2
  173. package/plugins/mergeCells/cellsCollection.js +1 -117
  174. package/plugins/mergeCells/cellsCollection.mjs +1 -117
  175. package/plugins/mergeCells/contextMenuItem/toggleMerge.js +1 -11
  176. package/plugins/mergeCells/contextMenuItem/toggleMerge.mjs +1 -11
  177. package/plugins/mergeCells/mergeCells.js +355 -595
  178. package/plugins/mergeCells/mergeCells.mjs +355 -595
  179. package/plugins/multiColumnSorting/multiColumnSorting.js +0 -6
  180. package/plugins/multiColumnSorting/multiColumnSorting.mjs +0 -6
  181. package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +1 -1
  182. package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +1 -1
  183. package/plugins/nestedHeaders/nestedHeaders.js +204 -254
  184. package/plugins/nestedHeaders/nestedHeaders.mjs +205 -255
  185. package/plugins/nestedHeaders/stateManager/headersTree.js +21 -32
  186. package/plugins/nestedHeaders/stateManager/headersTree.mjs +21 -32
  187. package/plugins/nestedHeaders/stateManager/index.js +30 -41
  188. package/plugins/nestedHeaders/stateManager/index.mjs +30 -41
  189. package/plugins/nestedHeaders/stateManager/sourceSettings.js +19 -30
  190. package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +19 -30
  191. package/plugins/nestedRows/data/dataManager.js +1 -1
  192. package/plugins/nestedRows/data/dataManager.mjs +1 -1
  193. package/plugins/nestedRows/nestedRows.js +138 -179
  194. package/plugins/nestedRows/nestedRows.mjs +139 -180
  195. package/plugins/nestedRows/ui/contextMenu.js +11 -15
  196. package/plugins/nestedRows/ui/contextMenu.mjs +10 -14
  197. package/plugins/nestedRows/utils/rowMoveController.js +1 -1
  198. package/plugins/nestedRows/utils/rowMoveController.mjs +1 -1
  199. package/plugins/persistentState/storage.js +2 -2
  200. package/plugins/persistentState/storage.mjs +2 -2
  201. package/plugins/search/search.js +7 -7
  202. package/plugins/search/search.mjs +7 -7
  203. package/plugins/touchScroll/touchScroll.js +15 -19
  204. package/plugins/touchScroll/touchScroll.mjs +16 -20
  205. package/plugins/trimRows/trimRows.js +6 -6
  206. package/plugins/trimRows/trimRows.mjs +6 -6
  207. package/renderers/checkboxRenderer/checkboxRenderer.js +4 -4
  208. package/renderers/checkboxRenderer/checkboxRenderer.mjs +4 -4
  209. package/selection/highlight/highlight.js +14 -14
  210. package/selection/highlight/highlight.mjs +13 -13
  211. package/selection/highlight/visualSelection.js +2 -16
  212. package/selection/highlight/visualSelection.mjs +2 -16
  213. package/selection/selection.js +60 -252
  214. package/selection/selection.mjs +59 -251
  215. package/selection/transformation.js +101 -175
  216. package/selection/transformation.mjs +101 -175
  217. package/shortcutContexts/commands/editor/closeAndSave.js +2 -2
  218. package/shortcutContexts/commands/editor/closeAndSave.mjs +2 -2
  219. package/shortcutContexts/commands/editor/open.js +3 -18
  220. package/shortcutContexts/commands/editor/open.mjs +3 -18
  221. package/shortcutContexts/commands/extendCellsSelection/down.js +1 -1
  222. package/shortcutContexts/commands/extendCellsSelection/down.mjs +1 -1
  223. package/shortcutContexts/commands/extendCellsSelection/left.js +1 -1
  224. package/shortcutContexts/commands/extendCellsSelection/left.mjs +1 -1
  225. package/shortcutContexts/commands/extendCellsSelection/right.js +1 -1
  226. package/shortcutContexts/commands/extendCellsSelection/right.mjs +1 -1
  227. package/shortcutContexts/commands/extendCellsSelection/toColumns.js +1 -1
  228. package/shortcutContexts/commands/extendCellsSelection/toColumns.mjs +1 -1
  229. package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +1 -3
  230. package/shortcutContexts/commands/extendCellsSelection/toMostBottom.mjs +1 -3
  231. package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +3 -9
  232. package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.mjs +3 -9
  233. package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +3 -10
  234. package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.mjs +3 -10
  235. package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +1 -3
  236. package/shortcutContexts/commands/extendCellsSelection/toMostLeft.mjs +1 -3
  237. package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +1 -3
  238. package/shortcutContexts/commands/extendCellsSelection/toMostRight.mjs +1 -3
  239. package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +1 -3
  240. package/shortcutContexts/commands/extendCellsSelection/toMostTop.mjs +1 -3
  241. package/shortcutContexts/commands/extendCellsSelection/toRows.js +1 -1
  242. package/shortcutContexts/commands/extendCellsSelection/toRows.mjs +1 -1
  243. package/shortcutContexts/commands/extendCellsSelection/up.js +1 -1
  244. package/shortcutContexts/commands/extendCellsSelection/up.mjs +1 -1
  245. package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +1 -6
  246. package/shortcutContexts/commands/moveCellSelection/inlineEnd.mjs +1 -6
  247. package/shortcutContexts/commands/moveCellSelection/inlineStart.js +1 -6
  248. package/shortcutContexts/commands/moveCellSelection/inlineStart.mjs +1 -6
  249. package/shortcutContexts/grid.js +2 -2
  250. package/shortcutContexts/grid.mjs +2 -2
  251. package/shortcuts/context.js +1 -2
  252. package/shortcuts/context.mjs +1 -2
  253. package/tableView.js +52 -98
  254. package/tableView.mjs +52 -98
  255. package/translations/changesObservable/observable.js +21 -38
  256. package/translations/changesObservable/observable.mjs +21 -38
  257. package/translations/changesObservable/observer.js +7 -12
  258. package/translations/changesObservable/observer.mjs +6 -11
  259. package/translations/mapCollections/aggregatedCollection.js +1 -1
  260. package/translations/mapCollections/aggregatedCollection.mjs +1 -1
  261. package/translations/maps/indexMap.js +1 -1
  262. package/translations/maps/indexMap.mjs +1 -1
  263. package/utils/dataStructures/linkedList.js +1 -6
  264. package/utils/dataStructures/linkedList.mjs +1 -6
  265. package/utils/dataStructures/tree.js +1 -1
  266. package/utils/dataStructures/tree.mjs +1 -1
  267. package/utils/interval.js +26 -44
  268. package/utils/interval.mjs +26 -44
  269. package/core/viewportScroll/scrollStrategies/focusScroll.js +0 -15
  270. package/core/viewportScroll/scrollStrategies/focusScroll.mjs +0 -11
  271. package/plugins/mergeCells/focusOrder.js +0 -258
  272. package/plugins/mergeCells/focusOrder.mjs +0 -253
@@ -11,7 +11,6 @@ var _contextMenu = _interopRequireDefault(require("./ui/contextMenu"));
11
11
  var _console = require("../../helpers/console");
12
12
  var _data = require("../../helpers/data");
13
13
  var _translations = require("../../translations");
14
- var _shortcutContexts = require("../../shortcutContexts");
15
14
  var _rowMoveController = _interopRequireDefault(require("./utils/rowMoveController"));
16
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
16
  function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
@@ -20,12 +19,9 @@ function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollect
20
19
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
20
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
22
21
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
23
- function _classPrivateFieldGet(receiver, privateMap) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get"); return _classApplyDescriptorGet(receiver, descriptor); }
24
- function _classApplyDescriptorGet(receiver, descriptor) { if (descriptor.get) { return descriptor.get.call(receiver); } return descriptor.value; }
25
- function _classPrivateFieldSet(receiver, privateMap, value) { var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set"); _classApplyDescriptorSet(receiver, descriptor, value); return value; }
26
- function _classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
27
- function _classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
28
- function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
22
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
23
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
24
+ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
29
25
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'nestedRows';
30
26
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 300;
31
27
  const SHORTCUTS_GROUP = PLUGIN_KEY;
@@ -45,125 +41,10 @@ const WRONG_DATA_TYPE_ERROR = 'The Nested Rows plugin requires an Array of Objec
45
41
  */
46
42
  var _skipRender = /*#__PURE__*/new WeakMap();
47
43
  var _skipCoreAPIModifiers = /*#__PURE__*/new WeakMap();
48
- var _onBeforeRowMove = /*#__PURE__*/new WeakSet();
49
- var _onBeforeOnCellMouseDown = /*#__PURE__*/new WeakSet();
50
- var _onFilterData = /*#__PURE__*/new WeakSet();
51
- var _onAfterContextMenuDefaultOptions = /*#__PURE__*/new WeakSet();
52
- var _onAfterGetRowHeader = /*#__PURE__*/new WeakSet();
53
- var _onModifyRowHeaderWidth = /*#__PURE__*/new WeakSet();
54
- var _onAfterRemoveRow = /*#__PURE__*/new WeakSet();
55
- var _onBeforeRemoveRow = /*#__PURE__*/new WeakSet();
56
- var _onBeforeAddChild = /*#__PURE__*/new WeakSet();
57
- var _onAfterAddChild = /*#__PURE__*/new WeakSet();
58
- var _onBeforeDetachChild = /*#__PURE__*/new WeakSet();
59
- var _onAfterDetachChild = /*#__PURE__*/new WeakSet();
60
- var _onAfterCreateRow = /*#__PURE__*/new WeakSet();
61
- var _onAfterInit = /*#__PURE__*/new WeakSet();
62
- var _onBeforeViewRender = /*#__PURE__*/new WeakSet();
63
- var _onBeforeLoadData = /*#__PURE__*/new WeakSet();
44
+ var _NestedRows_brand = /*#__PURE__*/new WeakSet();
64
45
  class NestedRows extends _base.BasePlugin {
65
46
  constructor() {
66
47
  super(...arguments);
67
- /**
68
- * `beforeLoadData` hook callback.
69
- *
70
- * @param {Array} data The source data.
71
- */
72
- _classPrivateMethodInitSpec(this, _onBeforeLoadData);
73
- /**
74
- * `beforeViewRender` hook callback.
75
- *
76
- * @param {boolean} force Indicates if the render call was triggered by a change of settings or data.
77
- * @param {object} skipRender An object, holder for skipRender functionality.
78
- */
79
- _classPrivateMethodInitSpec(this, _onBeforeViewRender);
80
- /**
81
- * `afterInit` hook callback.
82
- */
83
- _classPrivateMethodInitSpec(this, _onAfterInit);
84
- /**
85
- * `afterCreateRow` hook callback.
86
- */
87
- _classPrivateMethodInitSpec(this, _onAfterCreateRow);
88
- /**
89
- * `afterDetachChild` hook callback.
90
- *
91
- * @param {object} parent Parent element.
92
- * @param {object} element New child element.
93
- * @param {number} finalElementRowIndex The final row index of the detached element.
94
- */
95
- _classPrivateMethodInitSpec(this, _onAfterDetachChild);
96
- /**
97
- * `beforeDetachChild` hook callback.
98
- */
99
- _classPrivateMethodInitSpec(this, _onBeforeDetachChild);
100
- /**
101
- * `afterAddChild` hook callback.
102
- *
103
- * @param {object} parent Parent element.
104
- * @param {object} element New child element.
105
- */
106
- _classPrivateMethodInitSpec(this, _onAfterAddChild);
107
- /**
108
- * `beforeAddChild` hook callback.
109
- */
110
- _classPrivateMethodInitSpec(this, _onBeforeAddChild);
111
- /**
112
- * Callback for the `beforeRemoveRow` change list of removed physical indexes by reference. Removing parent node
113
- * has effect in removing children nodes.
114
- *
115
- * @param {number} index Visual index of starter row.
116
- * @param {number} amount Amount of rows to be removed.
117
- * @param {Array} physicalRows List of physical indexes.
118
- */
119
- _classPrivateMethodInitSpec(this, _onBeforeRemoveRow);
120
- /**
121
- * `onAfterRemoveRow` hook callback.
122
- *
123
- * @param {number} index Removed row.
124
- * @param {number} amount Amount of removed rows.
125
- * @param {Array} logicRows An array of the removed physical rows.
126
- * @param {string} source Source of action.
127
- */
128
- _classPrivateMethodInitSpec(this, _onAfterRemoveRow);
129
- /**
130
- * `modifyRowHeaderWidth` hook callback.
131
- *
132
- * @param {number} rowHeaderWidth The initial row header width(s).
133
- * @returns {number}
134
- */
135
- _classPrivateMethodInitSpec(this, _onModifyRowHeaderWidth);
136
- /**
137
- * `afterGetRowHeader` hook callback.
138
- *
139
- * @param {number} row Row index.
140
- * @param {HTMLElement} TH Row header element.
141
- */
142
- _classPrivateMethodInitSpec(this, _onAfterGetRowHeader);
143
- /**
144
- * `afterContextMenuDefaultOptions` hook callback.
145
- *
146
- * @param {object} defaultOptions The default context menu items order.
147
- * @returns {boolean}
148
- */
149
- _classPrivateMethodInitSpec(this, _onAfterContextMenuDefaultOptions);
150
- /**
151
- * Provide custom source data filtering. It's handled by core method and replaces the native filtering.
152
- *
153
- * @param {number} index The index where the data filtering starts.
154
- * @param {number} amount An amount of rows which filtering applies to.
155
- * @param {number} physicalRows Physical row indexes.
156
- * @returns {Array}
157
- */
158
- _classPrivateMethodInitSpec(this, _onFilterData);
159
- /**
160
- * `beforeOnCellMousedown` hook callback.
161
- *
162
- * @param {MouseEvent} event Mousedown event.
163
- * @param {object} coords Cell coords.
164
- * @param {HTMLElement} TD Clicked cell.
165
- */
166
- _classPrivateMethodInitSpec(this, _onBeforeOnCellMouseDown);
167
48
  /**
168
49
  * `beforeRowMove` hook callback.
169
50
  *
@@ -178,7 +59,7 @@ class NestedRows extends _base.BasePlugin {
178
59
  * @fires Hooks#afterRowMove
179
60
  * @returns {boolean}
180
61
  */
181
- _classPrivateMethodInitSpec(this, _onBeforeRowMove);
62
+ _classPrivateMethodInitSpec(this, _NestedRows_brand);
182
63
  /**
183
64
  * Reference to the DataManager instance.
184
65
  *
@@ -205,19 +86,13 @@ class NestedRows extends _base.BasePlugin {
205
86
  *
206
87
  * @type {boolean}
207
88
  */
208
- _classPrivateFieldInitSpec(this, _skipRender, {
209
- writable: true,
210
- value: false
211
- });
89
+ _classPrivateFieldInitSpec(this, _skipRender, false);
212
90
  /**
213
91
  * Allows skipping the internal Core methods call if set as `true`.
214
92
  *
215
93
  * @type {boolean}
216
94
  */
217
- _classPrivateFieldInitSpec(this, _skipCoreAPIModifiers, {
218
- writable: true,
219
- value: false
220
- });
95
+ _classPrivateFieldInitSpec(this, _skipCoreAPIModifiers, false);
221
96
  }
222
97
  static get PLUGIN_KEY() {
223
98
  return PLUGIN_KEY;
@@ -253,13 +128,13 @@ class NestedRows extends _base.BasePlugin {
253
128
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
254
129
  args[_key] = arguments[_key];
255
130
  }
256
- return _classPrivateMethodGet(_this, _onAfterInit, _onAfterInit2).call(_this, ...args);
131
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterInit).call(_this, ...args);
257
132
  });
258
133
  this.addHook('beforeViewRender', function () {
259
134
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
260
135
  args[_key2] = arguments[_key2];
261
136
  }
262
- return _classPrivateMethodGet(_this, _onBeforeViewRender, _onBeforeViewRender2).call(_this, ...args);
137
+ return _assertClassBrand(_NestedRows_brand, _this, _onBeforeViewRender).call(_this, ...args);
263
138
  });
264
139
  this.addHook('modifyRowData', function () {
265
140
  return _this.onModifyRowData(...arguments);
@@ -274,82 +149,82 @@ class NestedRows extends _base.BasePlugin {
274
149
  for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
275
150
  args[_key3] = arguments[_key3];
276
151
  }
277
- return _classPrivateMethodGet(_this, _onFilterData, _onFilterData2).call(_this, ...args);
152
+ return _assertClassBrand(_NestedRows_brand, _this, _onFilterData).call(_this, ...args);
278
153
  });
279
154
  this.addHook('afterContextMenuDefaultOptions', function () {
280
155
  for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
281
156
  args[_key4] = arguments[_key4];
282
157
  }
283
- return _classPrivateMethodGet(_this, _onAfterContextMenuDefaultOptions, _onAfterContextMenuDefaultOptions2).call(_this, ...args);
158
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterContextMenuDefaultOptions).call(_this, ...args);
284
159
  });
285
160
  this.addHook('afterGetRowHeader', function () {
286
161
  for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
287
162
  args[_key5] = arguments[_key5];
288
163
  }
289
- return _classPrivateMethodGet(_this, _onAfterGetRowHeader, _onAfterGetRowHeader2).call(_this, ...args);
164
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterGetRowHeader).call(_this, ...args);
290
165
  });
291
166
  this.addHook('beforeOnCellMouseDown', function () {
292
167
  for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
293
168
  args[_key6] = arguments[_key6];
294
169
  }
295
- return _classPrivateMethodGet(_this, _onBeforeOnCellMouseDown, _onBeforeOnCellMouseDown2).call(_this, ...args);
170
+ return _assertClassBrand(_NestedRows_brand, _this, _onBeforeOnCellMouseDown).call(_this, ...args);
296
171
  });
297
172
  this.addHook('beforeRemoveRow', function () {
298
173
  for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
299
174
  args[_key7] = arguments[_key7];
300
175
  }
301
- return _classPrivateMethodGet(_this, _onBeforeRemoveRow, _onBeforeRemoveRow2).call(_this, ...args);
176
+ return _assertClassBrand(_NestedRows_brand, _this, _onBeforeRemoveRow).call(_this, ...args);
302
177
  });
303
178
  this.addHook('afterRemoveRow', function () {
304
179
  for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
305
180
  args[_key8] = arguments[_key8];
306
181
  }
307
- return _classPrivateMethodGet(_this, _onAfterRemoveRow, _onAfterRemoveRow2).call(_this, ...args);
182
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterRemoveRow).call(_this, ...args);
308
183
  });
309
184
  this.addHook('beforeAddChild', function () {
310
185
  for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
311
186
  args[_key9] = arguments[_key9];
312
187
  }
313
- return _classPrivateMethodGet(_this, _onBeforeAddChild, _onBeforeAddChild2).call(_this, ...args);
188
+ return _assertClassBrand(_NestedRows_brand, _this, _onBeforeAddChild).call(_this, ...args);
314
189
  });
315
190
  this.addHook('afterAddChild', function () {
316
191
  for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
317
192
  args[_key10] = arguments[_key10];
318
193
  }
319
- return _classPrivateMethodGet(_this, _onAfterAddChild, _onAfterAddChild2).call(_this, ...args);
194
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterAddChild).call(_this, ...args);
320
195
  });
321
196
  this.addHook('beforeDetachChild', function () {
322
197
  for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
323
198
  args[_key11] = arguments[_key11];
324
199
  }
325
- return _classPrivateMethodGet(_this, _onBeforeDetachChild, _onBeforeDetachChild2).call(_this, ...args);
200
+ return _assertClassBrand(_NestedRows_brand, _this, _onBeforeDetachChild).call(_this, ...args);
326
201
  });
327
202
  this.addHook('afterDetachChild', function () {
328
203
  for (var _len12 = arguments.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
329
204
  args[_key12] = arguments[_key12];
330
205
  }
331
- return _classPrivateMethodGet(_this, _onAfterDetachChild, _onAfterDetachChild2).call(_this, ...args);
206
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterDetachChild).call(_this, ...args);
332
207
  });
333
208
  this.addHook('modifyRowHeaderWidth', function () {
334
209
  for (var _len13 = arguments.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
335
210
  args[_key13] = arguments[_key13];
336
211
  }
337
- return _classPrivateMethodGet(_this, _onModifyRowHeaderWidth, _onModifyRowHeaderWidth2).call(_this, ...args);
212
+ return _assertClassBrand(_NestedRows_brand, _this, _onModifyRowHeaderWidth).call(_this, ...args);
338
213
  });
339
214
  this.addHook('afterCreateRow', function () {
340
215
  for (var _len14 = arguments.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
341
216
  args[_key14] = arguments[_key14];
342
217
  }
343
- return _classPrivateMethodGet(_this, _onAfterCreateRow, _onAfterCreateRow2).call(_this, ...args);
218
+ return _assertClassBrand(_NestedRows_brand, _this, _onAfterCreateRow).call(_this, ...args);
344
219
  });
345
220
  this.addHook('beforeRowMove', function () {
346
221
  for (var _len15 = arguments.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
347
222
  args[_key15] = arguments[_key15];
348
223
  }
349
- return _classPrivateMethodGet(_this, _onBeforeRowMove, _onBeforeRowMove2).call(_this, ...args);
224
+ return _assertClassBrand(_NestedRows_brand, _this, _onBeforeRowMove).call(_this, ...args);
350
225
  });
351
- this.addHook('beforeLoadData', data => _classPrivateMethodGet(this, _onBeforeLoadData, _onBeforeLoadData2).call(this, data));
352
- this.addHook('beforeUpdateData', data => _classPrivateMethodGet(this, _onBeforeLoadData, _onBeforeLoadData2).call(this, data));
226
+ this.addHook('beforeLoadData', data => _assertClassBrand(_NestedRows_brand, this, _onBeforeLoadData).call(this, data));
227
+ this.addHook('beforeUpdateData', data => _assertClassBrand(_NestedRows_brand, this, _onBeforeLoadData).call(this, data));
353
228
  this.registerShortcuts();
354
229
  super.enablePlugin();
355
230
  }
@@ -401,18 +276,13 @@ class NestedRows extends _base.BasePlugin {
401
276
  this.collapsingUI.collapseChildren(row);
402
277
  }
403
278
  }
404
-
405
- // prevent default Enter behavior (move to the next row within a selection range)
406
- return false;
407
279
  },
408
280
  runOnlyIf: () => {
409
281
  var _this$hot$getSelected;
410
282
  const highlight = (_this$hot$getSelected = this.hot.getSelectedRangeLast()) === null || _this$hot$getSelected === void 0 ? void 0 : _this$hot$getSelected.highlight;
411
283
  return highlight && this.hot.selection.isCellVisible(highlight) && highlight.isHeader();
412
284
  },
413
- group: SHORTCUTS_GROUP,
414
- relativeToGroup: _shortcutContexts.EDITOR_EDIT_GROUP,
415
- position: 'before'
285
+ group: SHORTCUTS_GROUP
416
286
  });
417
287
  }
418
288
 
@@ -431,7 +301,7 @@ class NestedRows extends _base.BasePlugin {
431
301
  * @private
432
302
  */
433
303
  disableCoreAPIModifiers() {
434
- _classPrivateFieldSet(this, _skipCoreAPIModifiers, true);
304
+ _classPrivateFieldSet(_skipCoreAPIModifiers, this, true);
435
305
  }
436
306
 
437
307
  /**
@@ -440,8 +310,17 @@ class NestedRows extends _base.BasePlugin {
440
310
  * @private
441
311
  */
442
312
  enableCoreAPIModifiers() {
443
- _classPrivateFieldSet(this, _skipCoreAPIModifiers, false);
313
+ _classPrivateFieldSet(_skipCoreAPIModifiers, this, false);
444
314
  }
315
+
316
+ /**
317
+ * `beforeOnCellMousedown` hook callback.
318
+ *
319
+ * @param {MouseEvent} event Mousedown event.
320
+ * @param {object} coords Cell coords.
321
+ * @param {HTMLElement} TD Clicked cell.
322
+ */
323
+
445
324
  /**
446
325
  * The modifyRowData hook callback.
447
326
  *
@@ -450,7 +329,7 @@ class NestedRows extends _base.BasePlugin {
450
329
  * @returns {boolean}
451
330
  */
452
331
  onModifyRowData(row) {
453
- if (_classPrivateFieldGet(this, _skipCoreAPIModifiers)) {
332
+ if (_classPrivateFieldGet(_skipCoreAPIModifiers, this)) {
454
333
  return;
455
334
  }
456
335
  return this.dataManager.getDataObject(row);
@@ -463,7 +342,7 @@ class NestedRows extends _base.BasePlugin {
463
342
  * @returns {number}
464
343
  */
465
344
  onModifySourceLength() {
466
- if (_classPrivateFieldGet(this, _skipCoreAPIModifiers)) {
345
+ if (_classPrivateFieldGet(_skipCoreAPIModifiers, this)) {
467
346
  return;
468
347
  }
469
348
  return this.dataManager.countAllRows();
@@ -477,12 +356,22 @@ class NestedRows extends _base.BasePlugin {
477
356
  * @returns {boolean}
478
357
  */
479
358
  onBeforeDataSplice(index, amount, element) {
480
- if (_classPrivateFieldGet(this, _skipCoreAPIModifiers) || this.dataManager.isRowHighestLevel(index)) {
359
+ if (_classPrivateFieldGet(_skipCoreAPIModifiers, this) || this.dataManager.isRowHighestLevel(index)) {
481
360
  return true;
482
361
  }
483
362
  this.dataManager.spliceData(index, amount, element);
484
363
  return false;
485
364
  }
365
+
366
+ /**
367
+ * Provide custom source data filtering. It's handled by core method and replaces the native filtering.
368
+ *
369
+ * @param {number} index The index where the data filtering starts.
370
+ * @param {number} amount An amount of rows which filtering applies to.
371
+ * @param {number} physicalRows Physical row indexes.
372
+ * @returns {Array}
373
+ */
374
+
486
375
  /**
487
376
  * Destroys the plugin instance.
488
377
  */
@@ -491,40 +380,74 @@ class NestedRows extends _base.BasePlugin {
491
380
  }
492
381
  }
493
382
  exports.NestedRows = NestedRows;
494
- function _onBeforeRowMove2(rows, finalIndex, dropIndex, movePossible) {
383
+ function _onBeforeRowMove(rows, finalIndex, dropIndex, movePossible) {
495
384
  return this.rowMoveController.onBeforeRowMove(rows, finalIndex, dropIndex, movePossible);
496
385
  }
497
- function _onBeforeOnCellMouseDown2(event, coords, TD) {
386
+ function _onBeforeOnCellMouseDown(event, coords, TD) {
498
387
  this.collapsingUI.toggleState(event, coords, TD);
499
388
  }
500
- function _onFilterData2(index, amount, physicalRows) {
389
+ function _onFilterData(index, amount, physicalRows) {
501
390
  this.collapsingUI.collapsedRowsStash.stash();
502
391
  this.collapsingUI.collapsedRowsStash.trimStash(physicalRows[0], amount);
503
392
  this.collapsingUI.collapsedRowsStash.shiftStash(physicalRows[0], null, -1 * amount);
504
393
  this.dataManager.filterData(index, amount, physicalRows);
505
- _classPrivateFieldSet(this, _skipRender, true);
394
+ _classPrivateFieldSet(_skipRender, this, true);
506
395
  return this.dataManager.getData().slice(); // Data contains reference sometimes.
507
396
  }
508
- function _onAfterContextMenuDefaultOptions2(defaultOptions) {
397
+ /**
398
+ * `afterContextMenuDefaultOptions` hook callback.
399
+ *
400
+ * @param {object} defaultOptions The default context menu items order.
401
+ * @returns {boolean}
402
+ */
403
+ function _onAfterContextMenuDefaultOptions(defaultOptions) {
509
404
  return this.contextMenuUI.appendOptions(defaultOptions);
510
405
  }
511
- function _onAfterGetRowHeader2(row, TH) {
406
+ /**
407
+ * `afterGetRowHeader` hook callback.
408
+ *
409
+ * @param {number} row Row index.
410
+ * @param {HTMLElement} TH Row header element.
411
+ */
412
+ function _onAfterGetRowHeader(row, TH) {
512
413
  this.headersUI.appendLevelIndicators(row, TH);
513
414
  }
514
- function _onModifyRowHeaderWidth2(rowHeaderWidth) {
415
+ /**
416
+ * `modifyRowHeaderWidth` hook callback.
417
+ *
418
+ * @param {number} rowHeaderWidth The initial row header width(s).
419
+ * @returns {number}
420
+ */
421
+ function _onModifyRowHeaderWidth(rowHeaderWidth) {
515
422
  return Math.max(this.headersUI.rowHeaderWidthCache, rowHeaderWidth);
516
423
  }
517
- function _onAfterRemoveRow2(index, amount, logicRows, source) {
424
+ /**
425
+ * `onAfterRemoveRow` hook callback.
426
+ *
427
+ * @param {number} index Removed row.
428
+ * @param {number} amount Amount of removed rows.
429
+ * @param {Array} logicRows An array of the removed physical rows.
430
+ * @param {string} source Source of action.
431
+ */
432
+ function _onAfterRemoveRow(index, amount, logicRows, source) {
518
433
  if (source === this.pluginName) {
519
434
  return;
520
435
  }
521
436
  this.hot._registerTimeout(() => {
522
- _classPrivateFieldSet(this, _skipRender, false);
437
+ _classPrivateFieldSet(_skipRender, this, false);
523
438
  this.headersUI.updateRowHeaderWidth();
524
439
  this.collapsingUI.collapsedRowsStash.applyStash();
525
440
  });
526
441
  }
527
- function _onBeforeRemoveRow2(index, amount, physicalRows) {
442
+ /**
443
+ * Callback for the `beforeRemoveRow` change list of removed physical indexes by reference. Removing parent node
444
+ * has effect in removing children nodes.
445
+ *
446
+ * @param {number} index Visual index of starter row.
447
+ * @param {number} amount Amount of rows to be removed.
448
+ * @param {Array} physicalRows List of physical indexes.
449
+ */
450
+ function _onBeforeRemoveRow(index, amount, physicalRows) {
528
451
  const modifiedPhysicalRows = Array.from(physicalRows.reduce((removedRows, physicalIndex) => {
529
452
  if (this.dataManager.isParent(physicalIndex)) {
530
453
  const children = this.dataManager.getDataObject(physicalIndex).__children;
@@ -546,34 +469,70 @@ function _onBeforeRemoveRow2(index, amount, physicalRows) {
546
469
  physicalRows.length = 0;
547
470
  physicalRows.push(...modifiedPhysicalRows);
548
471
  }
549
- function _onBeforeAddChild2() {
472
+ /**
473
+ * `beforeAddChild` hook callback.
474
+ */
475
+ function _onBeforeAddChild() {
550
476
  this.collapsingUI.collapsedRowsStash.stash();
551
477
  }
552
- function _onAfterAddChild2(parent, element) {
478
+ /**
479
+ * `afterAddChild` hook callback.
480
+ *
481
+ * @param {object} parent Parent element.
482
+ * @param {object} element New child element.
483
+ */
484
+ function _onAfterAddChild(parent, element) {
553
485
  this.collapsingUI.collapsedRowsStash.shiftStash(this.dataManager.getRowIndex(element));
554
486
  this.collapsingUI.collapsedRowsStash.applyStash();
555
487
  this.headersUI.updateRowHeaderWidth();
556
488
  }
557
- function _onBeforeDetachChild2() {
489
+ /**
490
+ * `beforeDetachChild` hook callback.
491
+ */
492
+ function _onBeforeDetachChild() {
558
493
  this.collapsingUI.collapsedRowsStash.stash();
559
494
  }
560
- function _onAfterDetachChild2(parent, element, finalElementRowIndex) {
495
+ /**
496
+ * `afterDetachChild` hook callback.
497
+ *
498
+ * @param {object} parent Parent element.
499
+ * @param {object} element New child element.
500
+ * @param {number} finalElementRowIndex The final row index of the detached element.
501
+ */
502
+ function _onAfterDetachChild(parent, element, finalElementRowIndex) {
561
503
  this.collapsingUI.collapsedRowsStash.shiftStash(finalElementRowIndex, null, -1);
562
504
  this.collapsingUI.collapsedRowsStash.applyStash();
563
505
  this.headersUI.updateRowHeaderWidth();
564
506
  }
565
- function _onAfterCreateRow2() {
507
+ /**
508
+ * `afterCreateRow` hook callback.
509
+ */
510
+ function _onAfterCreateRow() {
566
511
  this.dataManager.rewriteCache();
567
512
  }
568
- function _onAfterInit2() {
513
+ /**
514
+ * `afterInit` hook callback.
515
+ */
516
+ function _onAfterInit() {
569
517
  this.headersUI.updateRowHeaderWidth();
570
518
  }
571
- function _onBeforeViewRender2(force, skipRender) {
572
- if (_classPrivateFieldGet(this, _skipRender)) {
519
+ /**
520
+ * `beforeViewRender` hook callback.
521
+ *
522
+ * @param {boolean} force Indicates if the render call was triggered by a change of settings or data.
523
+ * @param {object} skipRender An object, holder for skipRender functionality.
524
+ */
525
+ function _onBeforeViewRender(force, skipRender) {
526
+ if (_classPrivateFieldGet(_skipRender, this)) {
573
527
  skipRender.skipRender = true;
574
528
  }
575
529
  }
576
- function _onBeforeLoadData2(data) {
530
+ /**
531
+ * `beforeLoadData` hook callback.
532
+ *
533
+ * @param {Array} data The source data.
534
+ */
535
+ function _onBeforeLoadData(data) {
577
536
  if (!(0, _data.isArrayOfObjects)(data)) {
578
537
  (0, _console.error)(WRONG_DATA_TYPE_ERROR);
579
538
  this.hot.getSettings()[PLUGIN_KEY] = false;