handsontable 0.0.0-next-c32c08a-20230124 → 0.0.0-next-a442088-20230202

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 (169) hide show
  1. package/3rdparty/walkontable/src/border.js +4 -4
  2. package/3rdparty/walkontable/src/border.mjs +4 -4
  3. package/3rdparty/walkontable/src/selection.js +2 -2
  4. package/3rdparty/walkontable/src/selection.mjs +2 -2
  5. package/3rdparty/walkontable/src/table.js +2 -2
  6. package/3rdparty/walkontable/src/table.mjs +2 -2
  7. package/base.js +2 -2
  8. package/base.mjs +2 -2
  9. package/core.js +2 -2
  10. package/core.mjs +2 -2
  11. package/dataMap/dataMap.js +1 -1
  12. package/dataMap/dataMap.mjs +1 -1
  13. package/dataMap/metaManager/lazyFactoryMap.js +1 -1
  14. package/dataMap/metaManager/lazyFactoryMap.mjs +1 -1
  15. package/dataMap/metaManager/metaLayers/cellMeta.js +1 -1
  16. package/dataMap/metaManager/metaLayers/cellMeta.mjs +1 -1
  17. package/dist/handsontable.css +2 -2
  18. package/dist/handsontable.full.css +2 -2
  19. package/dist/handsontable.full.js +3596 -3521
  20. package/dist/handsontable.full.min.css +2 -2
  21. package/dist/handsontable.full.min.js +106 -106
  22. package/dist/handsontable.js +1886 -1823
  23. package/dist/handsontable.min.css +2 -2
  24. package/dist/handsontable.min.js +3 -3
  25. package/editorManager.js +2 -2
  26. package/editorManager.mjs +2 -2
  27. package/editors/baseEditor/baseEditor.js +2 -2
  28. package/editors/baseEditor/baseEditor.mjs +2 -2
  29. package/editors/textEditor/textEditor.js +2 -2
  30. package/editors/textEditor/textEditor.mjs +2 -2
  31. package/helpers/dom/element.js +1 -1
  32. package/helpers/dom/element.mjs +1 -1
  33. package/helpers/mixed.js +1 -1
  34. package/helpers/mixed.mjs +1 -1
  35. package/helpers/number.js +1 -1
  36. package/helpers/number.mjs +1 -1
  37. package/package.json +1 -1
  38. package/plugins/autoColumnSize/autoColumnSize.js +2 -2
  39. package/plugins/autoColumnSize/autoColumnSize.mjs +2 -2
  40. package/plugins/autoRowSize/autoRowSize.js +2 -2
  41. package/plugins/autoRowSize/autoRowSize.mjs +2 -2
  42. package/plugins/autofill/autofill.js +2 -2
  43. package/plugins/autofill/autofill.mjs +2 -2
  44. package/plugins/base/base.js +2 -2
  45. package/plugins/base/base.mjs +2 -2
  46. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +1 -1
  47. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.mjs +1 -1
  48. package/plugins/collapsibleColumns/collapsibleColumns.js +1 -1
  49. package/plugins/collapsibleColumns/collapsibleColumns.mjs +1 -1
  50. package/plugins/columnSorting/columnSorting.js +1 -1
  51. package/plugins/columnSorting/columnSorting.mjs +1 -1
  52. package/plugins/columnSorting/columnStatesManager.js +2 -2
  53. package/plugins/columnSorting/columnStatesManager.mjs +2 -2
  54. package/plugins/columnSorting/rootComparator.js +1 -1
  55. package/plugins/columnSorting/rootComparator.mjs +1 -1
  56. package/plugins/contextMenu/predefinedItems/removeColumn.js +2 -2
  57. package/plugins/contextMenu/predefinedItems/removeColumn.mjs +2 -2
  58. package/plugins/contextMenu/predefinedItems/removeRow.js +2 -2
  59. package/plugins/contextMenu/predefinedItems/removeRow.mjs +2 -2
  60. package/plugins/copyPaste/copyPaste.js +2 -2
  61. package/plugins/copyPaste/copyPaste.mjs +2 -2
  62. package/plugins/customBorders/customBorders.js +2 -2
  63. package/plugins/customBorders/customBorders.mjs +2 -2
  64. package/plugins/exportFile/dataProvider.js +2 -2
  65. package/plugins/exportFile/dataProvider.mjs +2 -2
  66. package/plugins/filters/component/value.js +2 -2
  67. package/plugins/filters/component/value.mjs +2 -2
  68. package/plugins/filters/condition/beginsWith.js +2 -2
  69. package/plugins/filters/condition/beginsWith.mjs +2 -2
  70. package/plugins/filters/condition/between.js +2 -2
  71. package/plugins/filters/condition/between.mjs +2 -2
  72. package/plugins/filters/condition/byValue.js +2 -2
  73. package/plugins/filters/condition/byValue.mjs +2 -2
  74. package/plugins/filters/condition/contains.js +2 -2
  75. package/plugins/filters/condition/contains.mjs +2 -2
  76. package/plugins/filters/condition/date/after.js +2 -2
  77. package/plugins/filters/condition/date/after.mjs +2 -2
  78. package/plugins/filters/condition/date/before.js +2 -2
  79. package/plugins/filters/condition/date/before.mjs +2 -2
  80. package/plugins/filters/condition/endsWith.js +2 -2
  81. package/plugins/filters/condition/endsWith.mjs +2 -2
  82. package/plugins/filters/condition/equal.js +2 -2
  83. package/plugins/filters/condition/equal.mjs +2 -2
  84. package/plugins/filters/condition/greaterThan.js +2 -2
  85. package/plugins/filters/condition/greaterThan.mjs +2 -2
  86. package/plugins/filters/condition/greaterThanOrEqual.js +2 -2
  87. package/plugins/filters/condition/greaterThanOrEqual.mjs +2 -2
  88. package/plugins/filters/condition/lessThan.js +2 -2
  89. package/plugins/filters/condition/lessThan.mjs +2 -2
  90. package/plugins/filters/condition/lessThanOrEqual.js +2 -2
  91. package/plugins/filters/condition/lessThanOrEqual.mjs +2 -2
  92. package/plugins/filters/conditionCollection.js +2 -2
  93. package/plugins/filters/conditionCollection.mjs +2 -2
  94. package/plugins/filters/filters.js +2 -2
  95. package/plugins/filters/filters.mjs +2 -2
  96. package/plugins/filters/ui/multipleSelect.js +1 -1
  97. package/plugins/filters/ui/multipleSelect.mjs +1 -1
  98. package/plugins/formulas/formulas.js +2 -2
  99. package/plugins/formulas/formulas.mjs +2 -2
  100. package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +2 -2
  101. package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +2 -2
  102. package/plugins/hiddenColumns/contextMenuItem/showColumn.js +1 -1
  103. package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +1 -1
  104. package/plugins/hiddenRows/contextMenuItem/hideRow.js +2 -2
  105. package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +2 -2
  106. package/plugins/hiddenRows/contextMenuItem/showRow.js +1 -1
  107. package/plugins/hiddenRows/contextMenuItem/showRow.mjs +1 -1
  108. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -2
  109. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +2 -2
  110. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -2
  111. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +2 -2
  112. package/plugins/mergeCells/calculations/autofill.js +5 -2
  113. package/plugins/mergeCells/calculations/autofill.mjs +5 -2
  114. package/plugins/mergeCells/cellsCollection.js +1 -1
  115. package/plugins/mergeCells/cellsCollection.mjs +1 -1
  116. package/plugins/mergeCells/mergeCells.js +74 -78
  117. package/plugins/mergeCells/mergeCells.mjs +74 -78
  118. package/plugins/multiColumnSorting/rootComparator.js +1 -1
  119. package/plugins/multiColumnSorting/rootComparator.mjs +1 -1
  120. package/plugins/nestedHeaders/stateManager/headersTree.js +2 -2
  121. package/plugins/nestedHeaders/stateManager/headersTree.mjs +2 -2
  122. package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -1
  123. package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +1 -1
  124. package/plugins/nestedRows/data/dataManager.js +1 -1
  125. package/plugins/nestedRows/data/dataManager.mjs +1 -1
  126. package/plugins/nestedRows/nestedRows.js +1 -1
  127. package/plugins/nestedRows/nestedRows.mjs +1 -1
  128. package/plugins/nestedRows/ui/collapsing.js +1 -1
  129. package/plugins/nestedRows/ui/collapsing.mjs +1 -1
  130. package/plugins/nestedRows/utils/rowMoveController.js +1 -1
  131. package/plugins/nestedRows/utils/rowMoveController.mjs +1 -1
  132. package/plugins/registry.js +2 -2
  133. package/plugins/registry.mjs +2 -2
  134. package/plugins/search/search.js +1 -1
  135. package/plugins/search/search.mjs +1 -1
  136. package/plugins/undoRedo/undoRedo.js +2 -2
  137. package/plugins/undoRedo/undoRedo.mjs +2 -2
  138. package/selection/highlight/highlight.js +1 -1
  139. package/selection/highlight/highlight.mjs +1 -1
  140. package/selection/selection.js +2 -2
  141. package/selection/selection.mjs +2 -2
  142. package/selection/utils.js +2 -2
  143. package/selection/utils.mjs +2 -2
  144. package/shortcuts/context.js +2 -2
  145. package/shortcuts/context.mjs +2 -2
  146. package/tableView.js +2 -2
  147. package/tableView.mjs +2 -2
  148. package/translations/indexMapper.js +1 -1
  149. package/translations/indexMapper.mjs +1 -1
  150. package/translations/maps/linkedPhysicalIndexToValueMap.js +1 -1
  151. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +1 -1
  152. package/translations/maps/utils/indexesSequence.js +1 -1
  153. package/translations/maps/utils/indexesSequence.mjs +1 -1
  154. package/translations/maps/utils/physicallyIndexed.js +1 -1
  155. package/translations/maps/utils/physicallyIndexed.mjs +1 -1
  156. package/utils/dataStructures/priorityMap.js +2 -2
  157. package/utils/dataStructures/priorityMap.mjs +2 -2
  158. package/utils/dataStructures/tree.js +1 -1
  159. package/utils/dataStructures/tree.mjs +1 -1
  160. package/utils/dataStructures/uniqueMap.js +2 -2
  161. package/utils/dataStructures/uniqueMap.mjs +2 -2
  162. package/utils/dataStructures/uniqueSet.js +1 -1
  163. package/utils/dataStructures/uniqueSet.mjs +1 -1
  164. package/utils/ghostTable.js +2 -2
  165. package/utils/ghostTable.mjs +2 -2
  166. package/utils/parseTable.js +1 -1
  167. package/utils/parseTable.mjs +1 -1
  168. package/utils/staticRegister.js +1 -1
  169. package/utils/staticRegister.mjs +1 -1
@@ -55,8 +55,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
55
55
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
56
56
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
57
57
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
58
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
59
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
58
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
59
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
60
60
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
61
61
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62
62
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
@@ -8,8 +8,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
8
8
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
12
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
11
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
  import "core-js/modules/es.array.concat.js";
15
15
  import "core-js/modules/es.object.to-string.js";
@@ -24,8 +24,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
24
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
25
25
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
26
26
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
27
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
28
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
27
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
28
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
29
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
30
30
  /**
31
31
  * @param {HiddenColumns} hiddenColumnsPlugin The plugin instance.
@@ -14,8 +14,8 @@ import "core-js/modules/es.regexp.exec.js";
14
14
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
15
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
16
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
18
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  import * as C from "../../../i18n/constants.mjs";
21
21
  /**
@@ -28,7 +28,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
28
28
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
29
29
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
30
30
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
31
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
31
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
32
32
  /**
33
33
  * @param {HiddenColumns} hiddenColumnsPlugin The plugin instance.
34
34
  * @returns {object}
@@ -3,7 +3,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
7
  import "core-js/modules/es.array.slice.js";
8
8
  import "core-js/modules/es.array.filter.js";
9
9
  import "core-js/modules/es.object.to-string.js";
@@ -24,8 +24,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
24
24
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
25
25
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
26
26
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
27
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
28
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
27
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
28
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
29
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
30
30
  /**
31
31
  * @param {HiddenRows} hiddenRowsPlugin The plugin instance.
@@ -14,8 +14,8 @@ import "core-js/modules/es.regexp.exec.js";
14
14
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
15
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
16
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
18
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
18
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  import * as C from "../../../i18n/constants.mjs";
21
21
  /**
@@ -28,7 +28,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
28
28
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
29
29
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
30
30
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
31
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
31
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
32
32
  /**
33
33
  * @param {HiddenRows} hiddenRowsPlugin The plugin instance.
34
34
  * @returns {object}
@@ -3,7 +3,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
5
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
7
  import "core-js/modules/es.array.slice.js";
8
8
  import "core-js/modules/es.array.filter.js";
9
9
  import "core-js/modules/es.object.to-string.js";
@@ -22,8 +22,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
22
22
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
23
23
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
24
24
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
25
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
26
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
25
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
26
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
27
27
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28
28
  /**
29
29
  * @param {ManualColumnFreeze} manualColumnFreezePlugin The plugin instance.
@@ -12,8 +12,8 @@ import "core-js/modules/es.regexp.exec.js";
12
12
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
13
13
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14
14
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
16
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
15
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
18
18
  import * as C from "../../../i18n/constants.mjs";
19
19
  /**
@@ -22,8 +22,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
22
22
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
23
23
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
24
24
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
25
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
26
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
25
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
26
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
27
27
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28
28
  /**
29
29
  * @param {ManualColumnFreeze} manualColumnFreezePlugin The plugin instance.
@@ -12,8 +12,8 @@ import "core-js/modules/es.regexp.exec.js";
12
12
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
13
13
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14
14
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
15
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
16
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
15
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
16
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
17
17
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
18
18
  import * as C from "../../../i18n/constants.mjs";
19
19
  /**
@@ -23,8 +23,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
23
23
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
24
24
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
25
25
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
26
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
27
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
26
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
27
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
28
28
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
29
29
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
30
30
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
@@ -392,6 +392,9 @@ var AutofillCalculations = /*#__PURE__*/function () {
392
392
  } while (inBounds(current, fillOffset));
393
393
  this.currentFillData = null;
394
394
  this.plugin.hot.render();
395
+ if (foundMergedCells.length > 0) {
396
+ this.plugin.ifChromeForceRepaint();
397
+ }
395
398
  }
396
399
 
397
400
  /**
@@ -2,8 +2,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
2
2
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
6
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
5
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
6
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
7
7
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  import "core-js/modules/es.array.slice.js";
9
9
  import "core-js/modules/es.array.index-of.js";
@@ -388,6 +388,9 @@ var AutofillCalculations = /*#__PURE__*/function () {
388
388
  } while (inBounds(current, fillOffset));
389
389
  this.currentFillData = null;
390
390
  this.plugin.hot.render();
391
+ if (foundMergedCells.length > 0) {
392
+ this.plugin.ifChromeForceRepaint();
393
+ }
391
394
  }
392
395
 
393
396
  /**
@@ -34,7 +34,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
34
34
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
35
35
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
36
36
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
37
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
37
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
38
38
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
39
39
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
40
40
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -6,7 +6,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
6
6
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
7
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
8
8
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
9
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
9
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
10
10
  import "core-js/modules/es.array.index-of.js";
11
11
  import "core-js/modules/es.array.splice.js";
12
12
  import "core-js/modules/es.symbol.to-primitive.js";
@@ -12,8 +12,8 @@ require("core-js/modules/es.symbol.js");
12
12
  require("core-js/modules/es.symbol.description.js");
13
13
  require("core-js/modules/es.number.constructor.js");
14
14
  require("core-js/modules/es.symbol.iterator.js");
15
- require("core-js/modules/es.array.slice.js");
16
15
  require("core-js/modules/es.array.from.js");
16
+ require("core-js/modules/es.array.slice.js");
17
17
  exports.__esModule = true;
18
18
  exports.PLUGIN_PRIORITY = exports.PLUGIN_KEY = exports.MergeCells = void 0;
19
19
  require("core-js/modules/es.array.iterator.js");
@@ -21,15 +21,14 @@ require("core-js/modules/es.object.to-string.js");
21
21
  require("core-js/modules/es.string.iterator.js");
22
22
  require("core-js/modules/es.weak-map.js");
23
23
  require("core-js/modules/web.dom-collections.iterator.js");
24
- require("core-js/modules/es.array.includes.js");
25
- require("core-js/modules/es.string.includes.js");
26
- require("core-js/modules/es.weak-set.js");
27
24
  require("core-js/modules/web.dom-collections.for-each.js");
28
25
  require("core-js/modules/es.set.js");
29
26
  require("core-js/modules/es.array.map.js");
30
27
  require("core-js/modules/es.function.name.js");
31
28
  require("core-js/modules/es.regexp.exec.js");
32
29
  require("core-js/modules/es.string.replace.js");
30
+ require("core-js/modules/es.array.includes.js");
31
+ require("core-js/modules/es.string.includes.js");
33
32
  var _base = require("../base");
34
33
  var _pluginHooks = _interopRequireDefault(require("../../pluginHooks"));
35
34
  var _cellsCollection = _interopRequireDefault(require("./cellsCollection"));
@@ -45,16 +44,16 @@ var _utils = require("./utils");
45
44
  var _element = require("../../helpers/dom/element");
46
45
  var _browser = require("../../helpers/browser");
47
46
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
47
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
48
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
49
+ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
50
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
48
51
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
49
52
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
53
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
50
54
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
51
55
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
52
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
53
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
54
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
55
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
56
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
57
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
56
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
58
57
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
59
58
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
60
59
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
@@ -69,9 +68,6 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
69
68
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
70
69
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
71
70
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
72
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
73
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
74
- function _classPrivateMethodGet(receiver, privateSet, fn) { if (!privateSet.has(receiver)) { throw new TypeError("attempted to get private field on non-instance"); } return fn; }
75
71
  _pluginHooks.default.getSingleton().register('beforeMergeCells');
76
72
  _pluginHooks.default.getSingleton().register('afterMergeCells');
77
73
  _pluginHooks.default.getSingleton().register('beforeUnmergeCells');
@@ -120,7 +116,6 @@ var SHORTCUTS_GROUP = PLUGIN_KEY;
120
116
  * ```
121
117
  * :::
122
118
  */
123
- var _ifChromeForceRepaint = /*#__PURE__*/new WeakSet();
124
119
  var MergeCells = /*#__PURE__*/function (_BasePlugin) {
125
120
  _inherits(MergeCells, _BasePlugin);
126
121
  var _super = _createSuper(MergeCells);
@@ -128,7 +123,6 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
128
123
  var _this;
129
124
  _classCallCheck(this, MergeCells);
130
125
  _this = _super.call(this, hotInstance);
131
- _classPrivateMethodInitSpec(_assertThisInitialized(_this), _ifChromeForceRepaint);
132
126
  privatePool.set(_assertThisInitialized(_this), {
133
127
  lastDesiredCoords: null
134
128
  });
@@ -297,8 +291,48 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
297
291
  * @private
298
292
  */
299
293
  }, {
300
- key: "validateSetting",
301
- value:
294
+ key: "ifChromeForceRepaint",
295
+ value: function ifChromeForceRepaint() {
296
+ var _this3 = this;
297
+ if (!(0, _browser.isChrome)()) {
298
+ return;
299
+ }
300
+ var rowsToRefresh = [];
301
+ var rowIndexesToRefresh = [];
302
+ this.mergedCellsCollection.mergedCells.forEach(function (mergedCell) {
303
+ var row = mergedCell.row,
304
+ rowspan = mergedCell.rowspan;
305
+ for (var r = row + 1; r < row + rowspan; r++) {
306
+ rowIndexesToRefresh.push(r);
307
+ }
308
+ });
309
+
310
+ // Remove duplicates
311
+ rowIndexesToRefresh = _toConsumableArray(new Set(rowIndexesToRefresh));
312
+ rowIndexesToRefresh.forEach(function (rowIndex) {
313
+ var renderableRowIndex = _this3.hot.rowIndexMapper.getRenderableFromVisualIndex(rowIndex);
314
+ _this3.hot.view._wt.wtOverlays.getOverlays(true).map(function (overlay) {
315
+ return (overlay === null || overlay === void 0 ? void 0 : overlay.name) === 'master' ? overlay : overlay.clone.wtTable;
316
+ }).forEach(function (wtTableRef) {
317
+ var rowToRefresh = wtTableRef.getRow(renderableRowIndex);
318
+ if (rowToRefresh) {
319
+ // Modify the TR's `background` property to later modify it asynchronously.
320
+ // The background color is getting modified only with the alpha, so the change should not be visible (and is
321
+ // covered by the TDs' background color).
322
+ rowToRefresh.style.background = (0, _element.getStyle)(rowToRefresh, 'backgroundColor').replace(')', ', 0.99)');
323
+ rowsToRefresh.push(rowToRefresh);
324
+ }
325
+ });
326
+ });
327
+
328
+ // Asynchronously revert the TRs' `background` property to force a fresh repaint.
329
+ this.hot._registerTimeout(function () {
330
+ rowsToRefresh.forEach(function (rowElement) {
331
+ rowElement.style.background = (0, _element.getStyle)(rowElement, 'backgroundColor').replace(', 0.99)', ')');
332
+ });
333
+ }, 1);
334
+ }
335
+
302
336
  /**
303
337
  * Validates a single setting object, represented by a single merged cell information object.
304
338
  *
@@ -306,7 +340,9 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
306
340
  * @param {object} setting An object with `row`, `col`, `rowspan` and `colspan` properties.
307
341
  * @returns {boolean}
308
342
  */
309
- function validateSetting(setting) {
343
+ }, {
344
+ key: "validateSetting",
345
+ value: function validateSetting(setting) {
310
346
  var valid = true;
311
347
  if (!setting) {
312
348
  return false;
@@ -336,19 +372,19 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
336
372
  }, {
337
373
  key: "generateFromSettings",
338
374
  value: function generateFromSettings(settings) {
339
- var _this3 = this;
375
+ var _this4 = this;
340
376
  if (Array.isArray(settings)) {
341
377
  var populatedNulls = [];
342
378
  (0, _array.arrayEach)(settings, function (setting) {
343
- if (!_this3.validateSetting(setting)) {
379
+ if (!_this4.validateSetting(setting)) {
344
380
  return;
345
381
  }
346
- var highlight = _this3.hot._createCellCoords(setting.row, setting.col);
347
- var rangeEnd = _this3.hot._createCellCoords(setting.row + setting.rowspan - 1, setting.col + setting.colspan - 1);
348
- var mergeRange = _this3.hot._createCellRange(highlight, highlight, rangeEnd);
382
+ var highlight = _this4.hot._createCellCoords(setting.row, setting.col);
383
+ var rangeEnd = _this4.hot._createCellCoords(setting.row + setting.rowspan - 1, setting.col + setting.colspan - 1);
384
+ var mergeRange = _this4.hot._createCellRange(highlight, highlight, rangeEnd);
349
385
 
350
386
  // Merging without data population.
351
- _this3.mergeRange(mergeRange, true, true);
387
+ _this4.mergeRange(mergeRange, true, true);
352
388
  (0, _number.rangeEach)(setting.row, setting.row + setting.rowspan - 1, function (rowIndex) {
353
389
  (0, _number.rangeEach)(setting.col, setting.col + setting.colspan - 1, function (columnIndex) {
354
390
  // Not resetting a cell representing a merge area's value.
@@ -464,7 +500,7 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
464
500
  }, {
465
501
  key: "mergeRange",
466
502
  value: function mergeRange(cellRange) {
467
- var _this4 = this;
503
+ var _this5 = this;
468
504
  var auto = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
469
505
  var preventPopulation = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
470
506
  var topStart = cellRange.getTopStartCorner();
@@ -488,9 +524,9 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
488
524
  clearedData[i] = [];
489
525
  }
490
526
  if (i === 0 && j === 0) {
491
- clearedValue = _this4.hot.getSourceDataAtCell(_this4.hot.toPhysicalRow(mergeParent.row), _this4.hot.toPhysicalColumn(mergeParent.col));
527
+ clearedValue = _this5.hot.getSourceDataAtCell(_this5.hot.toPhysicalRow(mergeParent.row), _this5.hot.toPhysicalColumn(mergeParent.col));
492
528
  } else {
493
- _this4.hot.setCellMeta(mergeParent.row + i, mergeParent.col + j, 'hidden', true);
529
+ _this5.hot.setCellMeta(mergeParent.row + i, mergeParent.col + j, 'hidden', true);
494
530
  }
495
531
  clearedData[i][j] = clearedValue;
496
532
  });
@@ -504,7 +540,7 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
504
540
  this.hot.populateFromArray(mergeParent.row, mergeParent.col, clearedData, void 0, void 0, this.pluginName);
505
541
  }
506
542
  if (!auto) {
507
- _classPrivateMethodGet(this, _ifChromeForceRepaint, _ifChromeForceRepaint2).call(this);
543
+ this.ifChromeForceRepaint();
508
544
  }
509
545
  this.hot.runHooks('afterMergeCells', cellRange, mergeParent, auto);
510
546
  return populationInfo;
@@ -525,7 +561,7 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
525
561
  }, {
526
562
  key: "unmergeRange",
527
563
  value: function unmergeRange(cellRange) {
528
- var _this5 = this;
564
+ var _this6 = this;
529
565
  var auto = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
530
566
  var mergedCells = this.mergedCellsCollection.getWithinRange(cellRange);
531
567
  if (!mergedCells) {
@@ -533,13 +569,13 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
533
569
  }
534
570
  this.hot.runHooks('beforeUnmergeCells', cellRange, auto);
535
571
  (0, _array.arrayEach)(mergedCells, function (currentCollection) {
536
- _this5.mergedCellsCollection.remove(currentCollection.row, currentCollection.col);
572
+ _this6.mergedCellsCollection.remove(currentCollection.row, currentCollection.col);
537
573
  (0, _number.rangeEach)(0, currentCollection.rowspan - 1, function (i) {
538
574
  (0, _number.rangeEach)(0, currentCollection.colspan - 1, function (j) {
539
- _this5.hot.removeCellMeta(currentCollection.row + i, currentCollection.col + j, 'hidden');
575
+ _this6.hot.removeCellMeta(currentCollection.row + i, currentCollection.col + j, 'hidden');
540
576
  });
541
577
  });
542
- _this5.hot.removeCellMeta(currentCollection.row, currentCollection.col, 'spanned');
578
+ _this6.hot.removeCellMeta(currentCollection.row, currentCollection.col, 'spanned');
543
579
  });
544
580
  this.hot.runHooks('afterUnmergeCells', cellRange, auto);
545
581
  this.hot.render();
@@ -619,14 +655,14 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
619
655
  }, {
620
656
  key: "registerShortcuts",
621
657
  value: function registerShortcuts() {
622
- var _this6 = this;
658
+ var _this7 = this;
623
659
  var shortcutManager = this.hot.getShortcutManager();
624
660
  var gridContext = shortcutManager.getContext('grid');
625
661
  gridContext.addShortcut({
626
662
  keys: [['Control', 'm']],
627
663
  callback: function callback() {
628
- _this6.toggleMerge(_this6.hot.getSelectedRangeLast());
629
- _this6.hot.render();
664
+ _this7.toggleMerge(_this7.hot.getSelectedRangeLast());
665
+ _this7.hot.render();
630
666
  },
631
667
  runOnlyIf: function runOnlyIf(event) {
632
668
  return !event.altKey;
@@ -747,7 +783,7 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
747
783
  }, {
748
784
  key: "onModifyTransformEnd",
749
785
  value: function onModifyTransformEnd(delta) {
750
- var _this7 = this;
786
+ var _this8 = this;
751
787
  var currentSelectionRange = this.hot.getSelectedRangeLast();
752
788
  var newDelta = (0, _object.clone)(delta);
753
789
  var newSelectionRange = this.selectionCalculations.getUpdatedSelectionRange(currentSelectionRange, delta);
@@ -757,7 +793,7 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
757
793
  tempDelta = (0, _object.clone)(newDelta);
758
794
  this.selectionCalculations.getUpdatedSelectionRange(currentSelectionRange, newDelta);
759
795
  (0, _array.arrayEach)(mergedCellsWithinRange, function (mergedCell) {
760
- _this7.selectionCalculations.snapDelta(newDelta, currentSelectionRange, mergedCell);
796
+ _this8.selectionCalculations.snapDelta(newDelta, currentSelectionRange, mergedCell);
761
797
  });
762
798
  } while (newDelta.row !== tempDelta.row || newDelta.col !== tempDelta.col);
763
799
  delta.row = newDelta.row;
@@ -1329,44 +1365,4 @@ var MergeCells = /*#__PURE__*/function (_BasePlugin) {
1329
1365
  }]);
1330
1366
  return MergeCells;
1331
1367
  }(_base.BasePlugin);
1332
- exports.MergeCells = MergeCells;
1333
- function _ifChromeForceRepaint2() {
1334
- var _this8 = this;
1335
- if (!(0, _browser.isChrome)()) {
1336
- return;
1337
- }
1338
- var rowsToRefresh = [];
1339
- var rowIndexesToRefresh = [];
1340
- this.mergedCellsCollection.mergedCells.forEach(function (mergedCell) {
1341
- var row = mergedCell.row,
1342
- rowspan = mergedCell.rowspan;
1343
- for (var r = row + 1; r < row + rowspan; r++) {
1344
- rowIndexesToRefresh.push(r);
1345
- }
1346
- });
1347
-
1348
- // Remove duplicates
1349
- rowIndexesToRefresh = _toConsumableArray(new Set(rowIndexesToRefresh));
1350
- rowIndexesToRefresh.forEach(function (rowIndex) {
1351
- var renderableRowIndex = _this8.hot.rowIndexMapper.getRenderableFromVisualIndex(rowIndex);
1352
- _this8.hot.view._wt.wtOverlays.getOverlays(true).map(function (overlay) {
1353
- return (overlay === null || overlay === void 0 ? void 0 : overlay.name) === 'master' ? overlay : overlay.clone.wtTable;
1354
- }).forEach(function (wtTableRef) {
1355
- var rowToRefresh = wtTableRef.getRow(renderableRowIndex);
1356
- if (rowToRefresh) {
1357
- // Modify the TR's `background` property to later modify it asynchronously.
1358
- // The background color is getting modified only with the alpha, so the change should not be visible (and is
1359
- // covered by the TDs' background color).
1360
- rowToRefresh.style.background = (0, _element.getStyle)(rowToRefresh, 'backgroundColor').replace(')', ', 0.99)');
1361
- rowsToRefresh.push(rowToRefresh);
1362
- }
1363
- });
1364
- });
1365
-
1366
- // Asynchronously revert the TRs' `background` property to force a fresh repaint.
1367
- this.hot._registerTimeout(function () {
1368
- rowsToRefresh.forEach(function (rowElement) {
1369
- rowElement.style.background = (0, _element.getStyle)(rowElement, 'backgroundColor').replace(', 0.99)', ')');
1370
- });
1371
- }, 1);
1372
- }
1368
+ exports.MergeCells = MergeCells;