handsontable 17.1.0 → 18.0.0-rc2

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.
Files changed (2784) hide show
  1. package/3rdparty/SheetClip/SheetClip.d.mts +1 -0
  2. package/3rdparty/SheetClip/SheetClip.d.ts +25 -0
  3. package/3rdparty/SheetClip/SheetClip.js +57 -13
  4. package/3rdparty/SheetClip/SheetClip.mjs +57 -13
  5. package/3rdparty/SheetClip/index.d.mts +1 -0
  6. package/3rdparty/SheetClip/index.d.ts +1 -0
  7. package/3rdparty/walkontable/src/calculator/axisCalculation.d.mts +1 -0
  8. package/3rdparty/walkontable/src/calculator/axisCalculation.d.ts +38 -0
  9. package/3rdparty/walkontable/src/calculator/axisCalculation.js +1 -22
  10. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.d.mts +1 -0
  11. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.d.ts +53 -0
  12. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.js +6 -5
  13. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleColumns.mjs +5 -2
  14. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.d.mts +1 -0
  15. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.d.ts +53 -0
  16. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.js +6 -5
  17. package/3rdparty/walkontable/src/calculator/calculationType/fullyVisibleRows.mjs +5 -2
  18. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.d.mts +1 -0
  19. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.d.ts +53 -0
  20. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.js +6 -5
  21. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleColumns.mjs +5 -2
  22. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.d.mts +1 -0
  23. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.d.ts +53 -0
  24. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.js +6 -5
  25. package/3rdparty/walkontable/src/calculator/calculationType/partiallyVisibleRows.mjs +5 -2
  26. package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.d.mts +1 -0
  27. package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.d.ts +56 -0
  28. package/3rdparty/walkontable/src/calculator/calculationType/renderedAllColumns.js +1 -8
  29. package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.d.mts +1 -0
  30. package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.d.ts +56 -0
  31. package/3rdparty/walkontable/src/calculator/calculationType/renderedAllRows.js +1 -8
  32. package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.d.mts +1 -0
  33. package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.d.ts +25 -0
  34. package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.js +5 -5
  35. package/3rdparty/walkontable/src/calculator/calculationType/renderedColumns.mjs +5 -5
  36. package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.d.mts +1 -0
  37. package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.d.ts +25 -0
  38. package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.js +5 -5
  39. package/3rdparty/walkontable/src/calculator/calculationType/renderedRows.mjs +5 -5
  40. package/3rdparty/walkontable/src/calculator/index.d.mts +1 -0
  41. package/3rdparty/walkontable/src/calculator/index.d.ts +10 -0
  42. package/3rdparty/walkontable/src/calculator/index.mjs +10 -11
  43. package/3rdparty/walkontable/src/calculator/viewportBase.d.mts +1 -0
  44. package/3rdparty/walkontable/src/calculator/viewportBase.d.ts +91 -0
  45. package/3rdparty/walkontable/src/calculator/viewportBase.js +5 -10
  46. package/3rdparty/walkontable/src/calculator/viewportBase.mjs +5 -8
  47. package/3rdparty/walkontable/src/calculator/viewportColumns.d.mts +1 -0
  48. package/3rdparty/walkontable/src/calculator/viewportColumns.d.ts +92 -17
  49. package/3rdparty/walkontable/src/calculator/viewportColumns.js +33 -2
  50. package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +33 -11
  51. package/3rdparty/walkontable/src/calculator/viewportRows.d.mts +1 -0
  52. package/3rdparty/walkontable/src/calculator/viewportRows.d.ts +97 -0
  53. package/3rdparty/walkontable/src/calculator/viewportRows.js +35 -2
  54. package/3rdparty/walkontable/src/calculator/viewportRows.mjs +35 -11
  55. package/3rdparty/walkontable/src/cell/coords.d.mts +2 -0
  56. package/3rdparty/walkontable/src/cell/coords.d.ts +171 -22
  57. package/3rdparty/walkontable/src/cell/coords.js +56 -11
  58. package/3rdparty/walkontable/src/cell/coords.mjs +56 -11
  59. package/3rdparty/walkontable/src/cell/range.d.mts +2 -0
  60. package/3rdparty/walkontable/src/cell/range.d.ts +523 -68
  61. package/3rdparty/walkontable/src/cell/range.js +149 -76
  62. package/3rdparty/walkontable/src/cell/range.mjs +149 -76
  63. package/3rdparty/walkontable/src/constants.d.mts +1 -0
  64. package/3rdparty/walkontable/src/constants.d.ts +1 -0
  65. package/3rdparty/walkontable/src/core/_base.d.mts +2 -0
  66. package/3rdparty/walkontable/src/core/_base.d.ts +255 -0
  67. package/3rdparty/walkontable/src/core/_base.js +92 -31
  68. package/3rdparty/walkontable/src/core/_base.mjs +92 -31
  69. package/3rdparty/walkontable/src/core/clone.d.mts +2 -0
  70. package/3rdparty/walkontable/src/core/clone.d.ts +32 -0
  71. package/3rdparty/walkontable/src/core/core.d.mts +2 -0
  72. package/3rdparty/walkontable/src/core/core.d.ts +31 -0
  73. package/3rdparty/walkontable/src/core/core.js +41 -35
  74. package/3rdparty/walkontable/src/core/core.mjs +41 -35
  75. package/3rdparty/walkontable/src/event.d.mts +2 -0
  76. package/3rdparty/walkontable/src/event.d.ts +161 -0
  77. package/3rdparty/walkontable/src/event.js +398 -80
  78. package/3rdparty/walkontable/src/event.mjs +399 -81
  79. package/3rdparty/walkontable/src/facade/core.d.mts +2 -0
  80. package/3rdparty/walkontable/src/facade/core.d.ts +306 -0
  81. package/3rdparty/walkontable/src/facade/core.js +238 -44
  82. package/3rdparty/walkontable/src/facade/core.mjs +238 -44
  83. package/3rdparty/walkontable/src/filter/column.d.mts +2 -0
  84. package/3rdparty/walkontable/src/filter/column.d.ts +64 -0
  85. package/3rdparty/walkontable/src/filter/row.d.mts +2 -0
  86. package/3rdparty/walkontable/src/filter/row.d.ts +64 -0
  87. package/3rdparty/walkontable/src/index.d.mts +1 -0
  88. package/3rdparty/walkontable/src/index.d.ts +11 -1
  89. package/3rdparty/walkontable/src/index.js +1 -1
  90. package/3rdparty/walkontable/src/index.mjs +3 -3
  91. package/3rdparty/walkontable/src/overlay/_base.d.mts +1 -0
  92. package/3rdparty/walkontable/src/overlay/_base.d.ts +244 -0
  93. package/3rdparty/walkontable/src/overlay/_base.js +33 -23
  94. package/3rdparty/walkontable/src/overlay/_base.mjs +33 -23
  95. package/3rdparty/walkontable/src/overlay/bottom.d.mts +1 -0
  96. package/3rdparty/walkontable/src/overlay/bottom.d.ts +118 -0
  97. package/3rdparty/walkontable/src/overlay/bottom.js +44 -16
  98. package/3rdparty/walkontable/src/overlay/bottom.mjs +45 -17
  99. package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.d.mts +1 -0
  100. package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.d.ts +97 -0
  101. package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +62 -5
  102. package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.mjs +62 -5
  103. package/3rdparty/walkontable/src/overlay/constants.d.mts +1 -0
  104. package/3rdparty/walkontable/src/overlay/constants.d.ts +10 -0
  105. package/3rdparty/walkontable/src/overlay/index.d.mts +1 -0
  106. package/3rdparty/walkontable/src/overlay/index.d.ts +7 -0
  107. package/3rdparty/walkontable/src/overlay/inlineStart.d.mts +1 -0
  108. package/3rdparty/walkontable/src/overlay/inlineStart.d.ts +109 -0
  109. package/3rdparty/walkontable/src/overlay/inlineStart.js +43 -16
  110. package/3rdparty/walkontable/src/overlay/inlineStart.mjs +44 -17
  111. package/3rdparty/walkontable/src/overlay/top.d.mts +1 -0
  112. package/3rdparty/walkontable/src/overlay/top.d.ts +116 -0
  113. package/3rdparty/walkontable/src/overlay/top.js +36 -18
  114. package/3rdparty/walkontable/src/overlay/top.mjs +37 -19
  115. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.d.mts +1 -0
  116. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.d.ts +97 -0
  117. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +52 -2
  118. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +52 -2
  119. package/3rdparty/walkontable/src/overlays.d.mts +2 -0
  120. package/3rdparty/walkontable/src/overlays.d.ts +329 -0
  121. package/3rdparty/walkontable/src/overlays.js +128 -64
  122. package/3rdparty/walkontable/src/overlays.mjs +129 -65
  123. package/3rdparty/walkontable/src/renderer/_base.d.mts +1 -0
  124. package/3rdparty/walkontable/src/renderer/_base.d.ts +56 -0
  125. package/3rdparty/walkontable/src/renderer/_base.js +9 -7
  126. package/3rdparty/walkontable/src/renderer/_base.mjs +9 -7
  127. package/3rdparty/walkontable/src/renderer/cells.d.mts +1 -0
  128. package/3rdparty/walkontable/src/renderer/cells.d.ts +44 -0
  129. package/3rdparty/walkontable/src/renderer/cells.js +15 -11
  130. package/3rdparty/walkontable/src/renderer/cells.mjs +15 -11
  131. package/3rdparty/walkontable/src/renderer/colGroup.d.mts +1 -0
  132. package/3rdparty/walkontable/src/renderer/colGroup.d.ts +32 -0
  133. package/3rdparty/walkontable/src/renderer/colGroup.js +9 -2
  134. package/3rdparty/walkontable/src/renderer/colGroup.mjs +9 -2
  135. package/3rdparty/walkontable/src/renderer/columnHeaderRows.d.mts +1 -0
  136. package/3rdparty/walkontable/src/renderer/columnHeaderRows.d.ts +39 -0
  137. package/3rdparty/walkontable/src/renderer/columnHeaderRows.js +7 -3
  138. package/3rdparty/walkontable/src/renderer/columnHeaderRows.mjs +7 -3
  139. package/3rdparty/walkontable/src/renderer/columnHeaders.d.mts +1 -0
  140. package/3rdparty/walkontable/src/renderer/columnHeaders.d.ts +43 -0
  141. package/3rdparty/walkontable/src/renderer/columnHeaders.js +14 -10
  142. package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +14 -10
  143. package/3rdparty/walkontable/src/renderer/index.d.mts +1 -0
  144. package/3rdparty/walkontable/src/renderer/index.d.ts +76 -0
  145. package/3rdparty/walkontable/src/renderer/index.js +5 -1
  146. package/3rdparty/walkontable/src/renderer/index.mjs +5 -1
  147. package/3rdparty/walkontable/src/renderer/rowHeaders.d.mts +1 -0
  148. package/3rdparty/walkontable/src/renderer/rowHeaders.d.ts +44 -0
  149. package/3rdparty/walkontable/src/renderer/rowHeaders.js +14 -10
  150. package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +14 -10
  151. package/3rdparty/walkontable/src/renderer/rows.d.mts +1 -0
  152. package/3rdparty/walkontable/src/renderer/rows.d.ts +39 -0
  153. package/3rdparty/walkontable/src/renderer/rows.js +10 -3
  154. package/3rdparty/walkontable/src/renderer/rows.mjs +10 -3
  155. package/3rdparty/walkontable/src/renderer/table.d.mts +1 -0
  156. package/3rdparty/walkontable/src/renderer/table.d.ts +271 -0
  157. package/3rdparty/walkontable/src/renderer/table.js +12 -48
  158. package/3rdparty/walkontable/src/renderer/table.mjs +11 -4
  159. package/3rdparty/walkontable/src/scroll.d.mts +2 -0
  160. package/3rdparty/walkontable/src/scroll.d.ts +104 -0
  161. package/3rdparty/walkontable/src/scroll.js +1 -1
  162. package/3rdparty/walkontable/src/scroll.mjs +1 -1
  163. package/3rdparty/walkontable/src/selection/border/border.d.mts +2 -0
  164. package/3rdparty/walkontable/src/selection/border/border.d.ts +216 -0
  165. package/3rdparty/walkontable/src/selection/border/border.js +139 -127
  166. package/3rdparty/walkontable/src/selection/border/border.mjs +139 -127
  167. package/3rdparty/walkontable/src/selection/border/types.d.mts +1 -0
  168. package/3rdparty/walkontable/src/selection/border/types.d.ts +50 -0
  169. package/3rdparty/walkontable/src/selection/border/types.js +7 -0
  170. package/3rdparty/walkontable/src/selection/border/types.mjs +4 -0
  171. package/3rdparty/walkontable/src/selection/border/utils.d.mts +1 -0
  172. package/3rdparty/walkontable/src/selection/border/utils.d.ts +3 -0
  173. package/3rdparty/walkontable/src/selection/constants.d.mts +1 -0
  174. package/3rdparty/walkontable/src/selection/constants.d.ts +51 -0
  175. package/3rdparty/walkontable/src/selection/index.d.mts +1 -0
  176. package/3rdparty/walkontable/src/selection/index.d.ts +5 -0
  177. package/3rdparty/walkontable/src/selection/manager.d.mts +1 -0
  178. package/3rdparty/walkontable/src/selection/manager.d.ts +82 -0
  179. package/3rdparty/walkontable/src/selection/manager.js +20 -6
  180. package/3rdparty/walkontable/src/selection/manager.mjs +20 -6
  181. package/3rdparty/walkontable/src/selection/scanner.d.mts +1 -0
  182. package/3rdparty/walkontable/src/selection/scanner.d.ts +67 -0
  183. package/3rdparty/walkontable/src/selection/scanner.js +21 -8
  184. package/3rdparty/walkontable/src/selection/scanner.mjs +23 -10
  185. package/3rdparty/walkontable/src/selection/selection.d.mts +2 -0
  186. package/3rdparty/walkontable/src/selection/selection.d.ts +93 -0
  187. package/3rdparty/walkontable/src/selection/selection.js +4 -4
  188. package/3rdparty/walkontable/src/selection/selection.mjs +4 -4
  189. package/3rdparty/walkontable/src/settings.d.mts +2 -0
  190. package/3rdparty/walkontable/src/settings.d.ts +155 -0
  191. package/3rdparty/walkontable/src/settings.js +6 -16
  192. package/3rdparty/walkontable/src/settings.mjs +7 -16
  193. package/3rdparty/walkontable/src/stickyScrollStrategy.d.mts +1 -0
  194. package/3rdparty/walkontable/src/stickyScrollStrategy.d.ts +70 -0
  195. package/3rdparty/walkontable/src/stickyScrollStrategy.js +44 -39
  196. package/3rdparty/walkontable/src/stickyScrollStrategy.mjs +44 -39
  197. package/3rdparty/walkontable/src/table/bottom.d.mts +2 -0
  198. package/3rdparty/walkontable/src/table/bottom.d.ts +19 -0
  199. package/3rdparty/walkontable/src/table/bottomInlineStartCorner.d.mts +2 -0
  200. package/3rdparty/walkontable/src/table/bottomInlineStartCorner.d.ts +20 -0
  201. package/3rdparty/walkontable/src/table/inlineStart.d.mts +2 -0
  202. package/3rdparty/walkontable/src/table/inlineStart.d.ts +16 -0
  203. package/3rdparty/walkontable/src/table/master.d.mts +2 -0
  204. package/3rdparty/walkontable/src/table/master.d.ts +37 -0
  205. package/3rdparty/walkontable/src/table/master.js +256 -42
  206. package/3rdparty/walkontable/src/table/master.mjs +256 -42
  207. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.d.mts +2 -0
  208. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.d.ts +75 -0
  209. package/3rdparty/walkontable/src/table/mixin/calculatedRows.d.mts +2 -0
  210. package/3rdparty/walkontable/src/table/mixin/calculatedRows.d.ts +75 -0
  211. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.d.mts +2 -0
  212. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.d.ts +80 -0
  213. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -1
  214. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +1 -1
  215. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.d.mts +2 -0
  216. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.d.ts +80 -0
  217. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +3 -3
  218. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +3 -3
  219. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.d.mts +2 -0
  220. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.d.ts +80 -0
  221. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -1
  222. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +1 -1
  223. package/3rdparty/walkontable/src/table/top.d.mts +2 -0
  224. package/3rdparty/walkontable/src/table/top.d.ts +19 -0
  225. package/3rdparty/walkontable/src/table/topInlineStartCorner.d.mts +2 -0
  226. package/3rdparty/walkontable/src/table/topInlineStartCorner.d.ts +20 -0
  227. package/3rdparty/walkontable/src/table.d.mts +2 -0
  228. package/3rdparty/walkontable/src/table.d.ts +741 -0
  229. package/3rdparty/walkontable/src/table.js +235 -74
  230. package/3rdparty/walkontable/src/table.mjs +236 -75
  231. package/3rdparty/walkontable/src/types.d.mts +1 -0
  232. package/3rdparty/walkontable/src/types.d.ts +137 -0
  233. package/3rdparty/walkontable/src/types.js +5 -89
  234. package/3rdparty/walkontable/src/types.mjs +4 -89
  235. package/3rdparty/walkontable/src/utils/cellCoords.d.mts +1 -0
  236. package/3rdparty/walkontable/src/utils/cellCoords.d.ts +23 -0
  237. package/3rdparty/walkontable/src/utils/cellCoords.js +54 -0
  238. package/3rdparty/walkontable/src/utils/cellCoords.mjs +54 -0
  239. package/3rdparty/walkontable/src/utils/column.d.mts +2 -0
  240. package/3rdparty/walkontable/src/utils/column.d.ts +51 -0
  241. package/3rdparty/walkontable/src/utils/column.js +9 -6
  242. package/3rdparty/walkontable/src/utils/column.mjs +8 -1
  243. package/3rdparty/walkontable/src/utils/nodesPool.d.mts +1 -0
  244. package/3rdparty/walkontable/src/utils/nodesPool.d.ts +45 -0
  245. package/3rdparty/walkontable/src/utils/nodesPool.js +5 -1
  246. package/3rdparty/walkontable/src/utils/nodesPool.mjs +5 -1
  247. package/3rdparty/walkontable/src/utils/orderView/constants.d.mts +1 -0
  248. package/3rdparty/walkontable/src/utils/orderView/constants.d.ts +59 -0
  249. package/3rdparty/walkontable/src/utils/orderView/index.d.mts +1 -0
  250. package/3rdparty/walkontable/src/utils/orderView/index.d.ts +2 -0
  251. package/3rdparty/walkontable/src/utils/orderView/index.mjs +2 -3
  252. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/differBasedRendererAdapter.d.mts +1 -0
  253. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/differBasedRendererAdapter.d.ts +60 -0
  254. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.d.mts +1 -0
  255. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.d.ts +45 -0
  256. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.js +6 -3
  257. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/directDomRendererAdapter.mjs +6 -3
  258. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/index.d.mts +1 -0
  259. package/3rdparty/walkontable/src/utils/orderView/rendererAdapter/index.d.ts +10 -0
  260. package/3rdparty/walkontable/src/utils/orderView/sharedView.d.mts +1 -0
  261. package/3rdparty/walkontable/src/utils/orderView/sharedView.d.ts +32 -0
  262. package/3rdparty/walkontable/src/utils/orderView/view.d.mts +1 -0
  263. package/3rdparty/walkontable/src/utils/orderView/view.d.ts +115 -0
  264. package/3rdparty/walkontable/src/utils/orderView/view.js +7 -1
  265. package/3rdparty/walkontable/src/utils/orderView/view.mjs +7 -1
  266. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.d.mts +1 -0
  267. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.d.ts +44 -0
  268. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.js +6 -2
  269. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.mjs +6 -2
  270. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.d.mts +1 -0
  271. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.d.ts +57 -0
  272. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.js +21 -6
  273. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.mjs +21 -6
  274. package/3rdparty/walkontable/src/utils/orderView/viewSize.d.mts +1 -0
  275. package/3rdparty/walkontable/src/utils/orderView/viewSize.d.ts +43 -0
  276. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.d.mts +1 -0
  277. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.d.ts +83 -0
  278. package/3rdparty/walkontable/src/utils/positionCache.d.mts +1 -0
  279. package/3rdparty/walkontable/src/utils/positionCache.d.ts +91 -0
  280. package/3rdparty/walkontable/src/utils/positionCache.js +17 -28
  281. package/3rdparty/walkontable/src/utils/positionCache.mjs +16 -16
  282. package/3rdparty/walkontable/src/utils/row.d.mts +2 -0
  283. package/3rdparty/walkontable/src/utils/row.d.ts +37 -0
  284. package/3rdparty/walkontable/src/utils/row.js +1 -5
  285. package/3rdparty/walkontable/src/viewport.d.mts +2 -0
  286. package/3rdparty/walkontable/src/viewport.d.ts +254 -0
  287. package/3rdparty/walkontable/src/viewport.js +61 -36
  288. package/3rdparty/walkontable/src/viewport.mjs +61 -36
  289. package/CHANGELOG.md +112 -0
  290. package/base.d.mts +2 -0
  291. package/base.d.ts +332 -3
  292. package/base.js +27 -14
  293. package/base.mjs +25 -15
  294. package/cellTypes/autocompleteType/accessors/index.d.mts +1 -0
  295. package/cellTypes/autocompleteType/accessors/index.d.ts +2 -0
  296. package/cellTypes/autocompleteType/accessors/valueGetter.d.mts +1 -0
  297. package/cellTypes/autocompleteType/accessors/valueGetter.d.ts +7 -0
  298. package/cellTypes/autocompleteType/accessors/valueGetter.js +2 -1
  299. package/cellTypes/autocompleteType/accessors/valueGetter.mjs +2 -1
  300. package/cellTypes/autocompleteType/accessors/valueSetter.d.mts +1 -0
  301. package/cellTypes/autocompleteType/accessors/valueSetter.d.ts +17 -0
  302. package/cellTypes/autocompleteType/accessors/valueSetter.mjs +0 -5
  303. package/cellTypes/autocompleteType/autocompleteType.d.mts +1 -0
  304. package/cellTypes/autocompleteType/autocompleteType.d.ts +11 -14
  305. package/cellTypes/autocompleteType/index.d.mts +1 -0
  306. package/cellTypes/autocompleteType/index.d.ts +1 -1
  307. package/cellTypes/checkboxType/accessors/index.d.mts +1 -0
  308. package/cellTypes/checkboxType/accessors/index.d.ts +1 -0
  309. package/cellTypes/checkboxType/accessors/valueSetter.d.mts +1 -0
  310. package/cellTypes/checkboxType/accessors/valueSetter.d.ts +16 -0
  311. package/cellTypes/checkboxType/accessors/valueSetter.mjs +0 -5
  312. package/cellTypes/checkboxType/checkboxType.d.mts +1 -0
  313. package/cellTypes/checkboxType/checkboxType.d.ts +8 -12
  314. package/cellTypes/checkboxType/index.d.mts +1 -0
  315. package/cellTypes/checkboxType/index.d.ts +1 -1
  316. package/cellTypes/dateType/dateType.d.mts +1 -0
  317. package/cellTypes/dateType/dateType.d.ts +12 -16
  318. package/cellTypes/dateType/dateType.js +4 -2
  319. package/cellTypes/dateType/dateType.mjs +6 -4
  320. package/cellTypes/dateType/index.d.mts +1 -0
  321. package/cellTypes/dateType/index.d.ts +1 -1
  322. package/cellTypes/dropdownType/accessors/index.d.mts +1 -0
  323. package/cellTypes/dropdownType/accessors/index.d.ts +2 -0
  324. package/cellTypes/dropdownType/accessors/valueGetter.d.mts +1 -0
  325. package/cellTypes/dropdownType/accessors/valueGetter.d.ts +7 -0
  326. package/cellTypes/dropdownType/accessors/valueSetter.d.mts +1 -0
  327. package/cellTypes/dropdownType/accessors/valueSetter.d.ts +11 -0
  328. package/cellTypes/dropdownType/accessors/valueSetter.js +1 -1
  329. package/cellTypes/dropdownType/accessors/valueSetter.mjs +1 -1
  330. package/cellTypes/dropdownType/dropdownType.d.mts +1 -0
  331. package/cellTypes/dropdownType/dropdownType.d.ts +13 -14
  332. package/cellTypes/dropdownType/index.d.mts +1 -0
  333. package/cellTypes/dropdownType/index.d.ts +1 -1
  334. package/cellTypes/handsontableType/handsontableType.d.mts +1 -0
  335. package/cellTypes/handsontableType/handsontableType.d.ts +6 -12
  336. package/cellTypes/handsontableType/index.d.mts +1 -0
  337. package/cellTypes/handsontableType/index.d.ts +1 -1
  338. package/cellTypes/index.d.mts +1 -0
  339. package/cellTypes/index.d.ts +10 -42
  340. package/cellTypes/index.mjs +3 -2
  341. package/cellTypes/intlDateType/index.d.mts +1 -0
  342. package/cellTypes/intlDateType/index.d.ts +1 -1
  343. package/cellTypes/intlDateType/intlDateType.d.mts +1 -0
  344. package/cellTypes/intlDateType/intlDateType.d.ts +11 -21
  345. package/cellTypes/intlTimeType/index.d.mts +1 -0
  346. package/cellTypes/intlTimeType/index.d.ts +1 -1
  347. package/cellTypes/intlTimeType/intlTimeType.d.mts +1 -0
  348. package/cellTypes/intlTimeType/intlTimeType.d.ts +11 -21
  349. package/cellTypes/multiSelectType/accessors/index.d.mts +1 -0
  350. package/cellTypes/multiSelectType/accessors/index.d.ts +2 -0
  351. package/cellTypes/multiSelectType/accessors/valueGetter.d.mts +1 -0
  352. package/cellTypes/multiSelectType/accessors/valueGetter.d.ts +4 -0
  353. package/cellTypes/multiSelectType/accessors/valueGetter.mjs +0 -3
  354. package/cellTypes/multiSelectType/accessors/valueSetter.d.mts +1 -0
  355. package/cellTypes/multiSelectType/accessors/valueSetter.d.ts +7 -0
  356. package/cellTypes/multiSelectType/accessors/valueSetter.mjs +0 -5
  357. package/cellTypes/multiSelectType/index.d.mts +1 -0
  358. package/cellTypes/multiSelectType/index.d.ts +1 -0
  359. package/cellTypes/multiSelectType/multiSelectType.d.mts +1 -0
  360. package/cellTypes/multiSelectType/multiSelectType.d.ts +15 -0
  361. package/cellTypes/numericType/accessors/index.d.mts +1 -0
  362. package/cellTypes/numericType/accessors/index.d.ts +1 -0
  363. package/cellTypes/numericType/accessors/valueSetter.d.mts +1 -0
  364. package/cellTypes/numericType/accessors/valueSetter.d.ts +11 -0
  365. package/cellTypes/numericType/accessors/valueSetter.js +5 -6
  366. package/cellTypes/numericType/accessors/valueSetter.mjs +8 -9
  367. package/cellTypes/numericType/index.d.mts +1 -0
  368. package/cellTypes/numericType/index.d.ts +1 -1
  369. package/cellTypes/numericType/numericType.d.mts +1 -0
  370. package/cellTypes/numericType/numericType.d.ts +11 -16
  371. package/cellTypes/passwordType/index.d.mts +1 -0
  372. package/cellTypes/passwordType/index.d.ts +1 -1
  373. package/cellTypes/passwordType/passwordType.d.mts +1 -0
  374. package/cellTypes/passwordType/passwordType.d.ts +7 -12
  375. package/cellTypes/registry.d.mts +1 -0
  376. package/cellTypes/registry.d.ts +40 -17
  377. package/cellTypes/selectType/index.d.mts +1 -0
  378. package/cellTypes/selectType/index.d.ts +1 -1
  379. package/cellTypes/selectType/selectType.d.mts +1 -0
  380. package/cellTypes/selectType/selectType.d.ts +6 -12
  381. package/cellTypes/textType/index.d.mts +1 -0
  382. package/cellTypes/textType/index.d.ts +1 -1
  383. package/cellTypes/textType/textType.d.mts +1 -0
  384. package/cellTypes/textType/textType.d.ts +6 -12
  385. package/cellTypes/timeType/index.d.mts +1 -0
  386. package/cellTypes/timeType/index.d.ts +1 -1
  387. package/cellTypes/timeType/timeType.d.mts +1 -0
  388. package/cellTypes/timeType/timeType.d.ts +12 -16
  389. package/cellTypes/timeType/timeType.js +4 -1
  390. package/cellTypes/timeType/timeType.mjs +6 -3
  391. package/core/coordsMapper/index.d.mts +1 -0
  392. package/core/coordsMapper/index.d.ts +1 -0
  393. package/core/coordsMapper/rangeToRenderableMapper.d.mts +1 -0
  394. package/core/coordsMapper/rangeToRenderableMapper.d.ts +37 -0
  395. package/core/coordsMapper/rangeToRenderableMapper.js +7 -19
  396. package/core/coordsMapper/rangeToRenderableMapper.mjs +7 -2
  397. package/core/hooks/bucket.d.mts +1 -0
  398. package/core/hooks/bucket.d.ts +59 -0
  399. package/core/hooks/bucket.js +8 -18
  400. package/core/hooks/bucket.mjs +8 -18
  401. package/core/hooks/constants.d.mts +1 -0
  402. package/core/hooks/constants.d.ts +157 -0
  403. package/core/hooks/constants.js +47 -10
  404. package/core/hooks/constants.mjs +48 -11
  405. package/core/hooks/index.d.mts +2 -0
  406. package/core/hooks/index.d.ts +222 -332
  407. package/core/hooks/index.js +58 -47
  408. package/core/hooks/index.mjs +63 -48
  409. package/core/index.d.mts +1 -0
  410. package/core/index.d.ts +5 -0
  411. package/core/index.js +2 -0
  412. package/core/index.mjs +2 -0
  413. package/core/layout/constants.d.mts +1 -0
  414. package/core/layout/constants.d.ts +25 -0
  415. package/core/layout/constants.js +29 -0
  416. package/core/layout/constants.mjs +14 -0
  417. package/core/layout/domSlot.d.mts +1 -0
  418. package/core/layout/domSlot.d.ts +66 -0
  419. package/core/layout/domSlot.js +235 -0
  420. package/core/layout/domSlot.mjs +231 -0
  421. package/core/layout/index.d.mts +1 -0
  422. package/core/layout/index.d.ts +5 -0
  423. package/core/layout/index.js +27 -0
  424. package/core/layout/index.mjs +3 -0
  425. package/core/layout/layoutManager.d.mts +1 -0
  426. package/core/layout/layoutManager.d.ts +72 -0
  427. package/core/layout/layoutManager.js +126 -0
  428. package/core/layout/layoutManager.mjs +118 -0
  429. package/core/settings.d.mts +1 -0
  430. package/core/settings.d.ts +572 -0
  431. package/core/settings.js +7 -0
  432. package/core/settings.mjs +12 -0
  433. package/core/types.d.mts +1 -0
  434. package/core/types.d.ts +247 -0
  435. package/core/types.js +7 -0
  436. package/core/types.mjs +7 -0
  437. package/core/viewportScroll/index.d.mts +1 -0
  438. package/core/viewportScroll/index.d.ts +23 -0
  439. package/core/viewportScroll/scrollStrategies/columnHeaderScroll.d.mts +1 -0
  440. package/core/viewportScroll/scrollStrategies/columnHeaderScroll.d.ts +9 -0
  441. package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.d.mts +1 -0
  442. package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.d.ts +6 -0
  443. package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.js +1 -1
  444. package/core/viewportScroll/scrollStrategies/cornerHeaderScroll.mjs +1 -1
  445. package/core/viewportScroll/scrollStrategies/focusScroll.d.mts +1 -0
  446. package/core/viewportScroll/scrollStrategies/focusScroll.d.ts +8 -0
  447. package/core/viewportScroll/scrollStrategies/focusScroll.js +3 -1
  448. package/core/viewportScroll/scrollStrategies/focusScroll.mjs +3 -1
  449. package/core/viewportScroll/scrollStrategies/multipleScroll.d.mts +1 -0
  450. package/core/viewportScroll/scrollStrategies/multipleScroll.d.ts +9 -0
  451. package/core/viewportScroll/scrollStrategies/noncontiguousScroll.d.mts +1 -0
  452. package/core/viewportScroll/scrollStrategies/noncontiguousScroll.d.ts +9 -0
  453. package/core/viewportScroll/scrollStrategies/rowHeaderScroll.d.mts +1 -0
  454. package/core/viewportScroll/scrollStrategies/rowHeaderScroll.d.ts +9 -0
  455. package/core/viewportScroll/scrollStrategies/singleScroll.d.mts +1 -0
  456. package/core/viewportScroll/scrollStrategies/singleScroll.d.ts +8 -0
  457. package/core/viewportScroll/utils.d.mts +1 -0
  458. package/core/viewportScroll/utils.d.ts +31 -0
  459. package/core/viewportScroll/utils.js +14 -14
  460. package/core/viewportScroll/utils.mjs +14 -14
  461. package/core.d.mts +2 -0
  462. package/core.d.ts +92 -194
  463. package/core.js +433 -204
  464. package/core.mjs +433 -204
  465. package/dataMap/dataMap.d.mts +2 -0
  466. package/dataMap/dataMap.d.ts +355 -0
  467. package/dataMap/dataMap.js +150 -96
  468. package/dataMap/dataMap.mjs +150 -96
  469. package/dataMap/dataSource.d.mts +2 -0
  470. package/dataMap/dataSource.d.ts +158 -0
  471. package/dataMap/dataSource.js +60 -23
  472. package/dataMap/dataSource.mjs +61 -24
  473. package/dataMap/index.d.mts +1 -0
  474. package/dataMap/index.d.ts +9 -0
  475. package/dataMap/index.js +2 -2
  476. package/dataMap/index.mjs +5 -5
  477. package/dataMap/metaManager/index.d.mts +2 -0
  478. package/dataMap/metaManager/index.d.ts +229 -0
  479. package/dataMap/metaManager/index.js +8 -16
  480. package/dataMap/metaManager/index.mjs +8 -16
  481. package/dataMap/metaManager/lazyFactoryMap.d.mts +2 -0
  482. package/dataMap/metaManager/lazyFactoryMap.d.ts +111 -0
  483. package/dataMap/metaManager/lazyFactoryMap.js +17 -14
  484. package/dataMap/metaManager/lazyFactoryMap.mjs +19 -125
  485. package/dataMap/metaManager/metaLayers/cellMeta.d.mts +2 -0
  486. package/dataMap/metaManager/metaLayers/cellMeta.d.ts +152 -0
  487. package/dataMap/metaManager/metaLayers/cellMeta.js +5 -8
  488. package/dataMap/metaManager/metaLayers/cellMeta.mjs +7 -10
  489. package/dataMap/metaManager/metaLayers/columnMeta.d.mts +2 -0
  490. package/dataMap/metaManager/metaLayers/columnMeta.d.ts +97 -0
  491. package/dataMap/metaManager/metaLayers/columnMeta.js +5 -2
  492. package/dataMap/metaManager/metaLayers/columnMeta.mjs +5 -2
  493. package/dataMap/metaManager/metaLayers/globalMeta.d.mts +2 -0
  494. package/dataMap/metaManager/metaLayers/globalMeta.d.ts +64 -0
  495. package/dataMap/metaManager/metaLayers/globalMeta.js +3 -1
  496. package/dataMap/metaManager/metaLayers/globalMeta.mjs +3 -1
  497. package/dataMap/metaManager/metaLayers/tableMeta.d.mts +2 -0
  498. package/dataMap/metaManager/metaLayers/tableMeta.d.ts +51 -0
  499. package/dataMap/metaManager/metaLayers/tableMeta.js +3 -1
  500. package/dataMap/metaManager/metaLayers/tableMeta.mjs +3 -1
  501. package/dataMap/metaManager/metaSchema.d.mts +2 -0
  502. package/dataMap/metaManager/metaSchema.d.ts +118 -0
  503. package/dataMap/metaManager/metaSchema.js +204 -271
  504. package/dataMap/metaManager/metaSchema.mjs +204 -271
  505. package/dataMap/metaManager/mods/dynamicCellMeta.d.mts +1 -0
  506. package/dataMap/metaManager/mods/dynamicCellMeta.d.ts +57 -0
  507. package/dataMap/metaManager/mods/dynamicCellMeta.js +10 -4
  508. package/dataMap/metaManager/mods/dynamicCellMeta.mjs +12 -17
  509. package/dataMap/metaManager/mods/extendMetaProperties.d.mts +1 -0
  510. package/dataMap/metaManager/mods/extendMetaProperties.d.ts +56 -0
  511. package/dataMap/metaManager/mods/extendMetaProperties.js +8 -30
  512. package/dataMap/metaManager/mods/extendMetaProperties.mjs +8 -30
  513. package/dataMap/metaManager/utils.d.mts +1 -0
  514. package/dataMap/metaManager/utils.d.ts +39 -0
  515. package/dataMap/metaManager/utils.js +3 -1
  516. package/dataMap/metaManager/utils.mjs +3 -1
  517. package/dataMap/replaceData.d.mts +1 -0
  518. package/dataMap/replaceData.d.ts +42 -0
  519. package/dataMap/replaceData.js +29 -22
  520. package/dataMap/replaceData.mjs +29 -22
  521. package/dataMap/sourceDataValidator.d.mts +1 -0
  522. package/dataMap/sourceDataValidator.d.ts +16 -0
  523. package/dataMap/sourceDataValidator.js +2 -4
  524. package/dataMap/sourceDataValidator.mjs +3 -14
  525. package/dist/handsontable.full.js +19581 -28605
  526. package/dist/handsontable.full.min.js +106 -108
  527. package/dist/handsontable.js +17386 -13140
  528. package/dist/handsontable.min.js +106 -108
  529. package/dist/languages/all.js +843 -2740
  530. package/dist/languages/all.min.js +1 -1
  531. package/dist/languages/ar-AR.js +36 -125
  532. package/dist/languages/ar-AR.min.js +1 -1
  533. package/dist/languages/cs-CZ.js +36 -125
  534. package/dist/languages/cs-CZ.min.js +1 -1
  535. package/dist/languages/de-CH.js +36 -124
  536. package/dist/languages/de-CH.min.js +1 -1
  537. package/dist/languages/de-DE.js +36 -124
  538. package/dist/languages/de-DE.min.js +1 -1
  539. package/dist/languages/en-US.js +45 -139
  540. package/dist/languages/en-US.min.js +1 -1
  541. package/dist/languages/es-MX.js +45 -136
  542. package/dist/languages/es-MX.min.js +1 -1
  543. package/dist/languages/fa-IR.js +45 -139
  544. package/dist/languages/fa-IR.min.js +1 -1
  545. package/dist/languages/fr-FR.js +36 -124
  546. package/dist/languages/fr-FR.min.js +1 -1
  547. package/dist/languages/hr-HR.js +45 -139
  548. package/dist/languages/hr-HR.min.js +1 -1
  549. package/dist/languages/it-IT.js +42 -133
  550. package/dist/languages/it-IT.min.js +1 -1
  551. package/dist/languages/ja-JP.js +45 -136
  552. package/dist/languages/ja-JP.min.js +1 -1
  553. package/dist/languages/ko-KR.js +36 -124
  554. package/dist/languages/ko-KR.min.js +1 -1
  555. package/dist/languages/lv-LV.js +45 -137
  556. package/dist/languages/lv-LV.min.js +1 -1
  557. package/dist/languages/nb-NO.js +36 -124
  558. package/dist/languages/nb-NO.min.js +1 -1
  559. package/dist/languages/nl-NL.js +45 -136
  560. package/dist/languages/nl-NL.min.js +1 -1
  561. package/dist/languages/pl-PL.js +45 -139
  562. package/dist/languages/pl-PL.min.js +1 -1
  563. package/dist/languages/pt-BR.js +36 -124
  564. package/dist/languages/pt-BR.min.js +1 -1
  565. package/dist/languages/ru-RU.js +36 -124
  566. package/dist/languages/ru-RU.min.js +1 -1
  567. package/dist/languages/sr-SP.js +45 -137
  568. package/dist/languages/sr-SP.min.js +1 -1
  569. package/dist/languages/zh-CN.js +36 -127
  570. package/dist/languages/zh-CN.min.js +1 -1
  571. package/dist/languages/zh-TW.js +36 -124
  572. package/dist/languages/zh-TW.min.js +1 -1
  573. package/dist/themes/classic.js +12 -11
  574. package/dist/themes/classic.min.js +3 -3
  575. package/dist/themes/horizon.js +12 -11
  576. package/dist/themes/horizon.min.js +3 -3
  577. package/dist/themes/main.js +12 -11
  578. package/dist/themes/main.min.js +3 -3
  579. package/dist/themes/static/variables/colors/ant.js +2 -2
  580. package/dist/themes/static/variables/colors/ant.min.js +2 -2
  581. package/dist/themes/static/variables/colors/classic.js +2 -2
  582. package/dist/themes/static/variables/colors/classic.min.js +2 -2
  583. package/dist/themes/static/variables/colors/horizon.js +2 -2
  584. package/dist/themes/static/variables/colors/horizon.min.js +2 -2
  585. package/dist/themes/static/variables/colors/main.js +2 -2
  586. package/dist/themes/static/variables/colors/main.min.js +2 -2
  587. package/dist/themes/static/variables/colors/material.js +2 -2
  588. package/dist/themes/static/variables/colors/material.min.js +2 -2
  589. package/dist/themes/static/variables/colors/shadcn.js +2 -2
  590. package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
  591. package/dist/themes/static/variables/density.js +2 -2
  592. package/dist/themes/static/variables/density.min.js +2 -2
  593. package/dist/themes/static/variables/helpers/iconsMap.js +9 -55
  594. package/dist/themes/static/variables/helpers/iconsMap.min.js +33 -33
  595. package/dist/themes/static/variables/icons/horizon.js +3 -5
  596. package/dist/themes/static/variables/icons/horizon.min.js +2 -2
  597. package/dist/themes/static/variables/icons/main.js +3 -5
  598. package/dist/themes/static/variables/icons/main.min.js +2 -2
  599. package/dist/themes/static/variables/sizing.js +2 -2
  600. package/dist/themes/static/variables/sizing.min.js +2 -2
  601. package/dist/themes/static/variables/tokens/classic.js +3 -5
  602. package/dist/themes/static/variables/tokens/classic.min.js +3 -3
  603. package/dist/themes/static/variables/tokens/horizon.js +3 -5
  604. package/dist/themes/static/variables/tokens/horizon.min.js +3 -3
  605. package/dist/themes/static/variables/tokens/main.js +3 -5
  606. package/dist/themes/static/variables/tokens/main.min.js +3 -3
  607. package/editorManager.d.mts +2 -0
  608. package/editorManager.d.ts +141 -0
  609. package/editorManager.js +17 -9
  610. package/editorManager.mjs +17 -9
  611. package/editors/autocompleteEditor/autocompleteEditor.d.mts +1 -0
  612. package/editors/autocompleteEditor/autocompleteEditor.d.ts +155 -22
  613. package/editors/autocompleteEditor/autocompleteEditor.js +66 -36
  614. package/editors/autocompleteEditor/autocompleteEditor.mjs +68 -38
  615. package/editors/autocompleteEditor/index.d.mts +1 -0
  616. package/editors/autocompleteEditor/index.d.ts +1 -1
  617. package/editors/baseEditor/baseEditor.d.mts +1 -0
  618. package/editors/baseEditor/baseEditor.d.ts +262 -44
  619. package/editors/baseEditor/baseEditor.js +141 -72
  620. package/editors/baseEditor/baseEditor.mjs +141 -72
  621. package/editors/baseEditor/index.d.mts +1 -0
  622. package/editors/baseEditor/index.d.ts +1 -1
  623. package/editors/checkboxEditor/checkboxEditor.d.mts +1 -0
  624. package/editors/checkboxEditor/checkboxEditor.d.ts +42 -10
  625. package/editors/checkboxEditor/checkboxEditor.js +30 -10
  626. package/editors/checkboxEditor/checkboxEditor.mjs +31 -11
  627. package/editors/checkboxEditor/index.d.mts +1 -0
  628. package/editors/checkboxEditor/index.d.ts +1 -1
  629. package/editors/dateEditor/dateEditor.d.mts +1 -0
  630. package/editors/dateEditor/dateEditor.d.ts +35 -14
  631. package/editors/dateEditor/dateEditor.js +40 -324
  632. package/editors/dateEditor/dateEditor.mjs +41 -320
  633. package/editors/dateEditor/index.d.mts +1 -0
  634. package/editors/dateEditor/index.d.ts +1 -1
  635. package/editors/dropdownEditor/dropdownEditor.d.mts +1 -0
  636. package/editors/dropdownEditor/dropdownEditor.d.ts +28 -5
  637. package/editors/dropdownEditor/dropdownEditor.js +3 -1
  638. package/editors/dropdownEditor/dropdownEditor.mjs +3 -1
  639. package/editors/dropdownEditor/index.d.mts +1 -0
  640. package/editors/dropdownEditor/index.d.ts +1 -1
  641. package/editors/factory.d.mts +1 -0
  642. package/editors/factory.d.ts +50 -33
  643. package/editors/factory.js +24 -181
  644. package/editors/factory.mjs +24 -204
  645. package/editors/handsontableEditor/handsontableEditor.d.mts +1 -0
  646. package/editors/handsontableEditor/handsontableEditor.d.ts +184 -16
  647. package/editors/handsontableEditor/handsontableEditor.js +47 -15
  648. package/editors/handsontableEditor/handsontableEditor.mjs +46 -14
  649. package/editors/handsontableEditor/index.d.mts +1 -0
  650. package/editors/handsontableEditor/index.d.ts +1 -1
  651. package/editors/index.d.mts +1 -0
  652. package/editors/index.d.ts +10 -47
  653. package/editors/index.mjs +3 -2
  654. package/editors/intlDateEditor/index.d.mts +1 -0
  655. package/editors/intlDateEditor/index.d.ts +1 -1
  656. package/editors/intlDateEditor/intlDateEditor.d.mts +1 -0
  657. package/editors/intlDateEditor/intlDateEditor.d.ts +11 -6
  658. package/editors/intlDateEditor/intlDateEditor.js +5 -54
  659. package/editors/intlDateEditor/intlDateEditor.mjs +5 -54
  660. package/editors/intlTimeEditor/index.d.mts +1 -0
  661. package/editors/intlTimeEditor/index.d.ts +1 -1
  662. package/editors/intlTimeEditor/intlTimeEditor.d.mts +1 -0
  663. package/editors/intlTimeEditor/intlTimeEditor.d.ts +11 -6
  664. package/editors/intlTimeEditor/intlTimeEditor.js +5 -50
  665. package/editors/intlTimeEditor/intlTimeEditor.mjs +5 -50
  666. package/editors/multiSelectEditor/controllers/dropdownController.d.mts +1 -0
  667. package/editors/multiSelectEditor/controllers/dropdownController.d.ts +132 -0
  668. package/editors/multiSelectEditor/controllers/dropdownController.js +125 -143
  669. package/editors/multiSelectEditor/controllers/dropdownController.mjs +125 -143
  670. package/editors/multiSelectEditor/controllers/inputController.d.mts +1 -0
  671. package/editors/multiSelectEditor/controllers/inputController.d.ts +79 -0
  672. package/editors/multiSelectEditor/controllers/inputController.js +14 -22
  673. package/editors/multiSelectEditor/controllers/inputController.mjs +14 -22
  674. package/editors/multiSelectEditor/controllers/selectedItemsController.d.mts +1 -0
  675. package/editors/multiSelectEditor/controllers/selectedItemsController.d.ts +62 -0
  676. package/editors/multiSelectEditor/controllers/selectedItemsController.js +1 -14
  677. package/editors/multiSelectEditor/controllers/selectedItemsController.mjs +1 -14
  678. package/editors/multiSelectEditor/controllers/utils.d.mts +1 -0
  679. package/editors/multiSelectEditor/controllers/utils.d.ts +94 -0
  680. package/editors/multiSelectEditor/controllers/utils.js +6 -6
  681. package/editors/multiSelectEditor/controllers/utils.mjs +6 -57
  682. package/editors/multiSelectEditor/index.d.mts +1 -0
  683. package/editors/multiSelectEditor/index.d.ts +1 -0
  684. package/editors/multiSelectEditor/multiSelectEditor.d.mts +1 -0
  685. package/editors/multiSelectEditor/multiSelectEditor.d.ts +88 -0
  686. package/editors/multiSelectEditor/multiSelectEditor.js +53 -126
  687. package/editors/multiSelectEditor/multiSelectEditor.mjs +56 -126
  688. package/editors/multiSelectEditor/utils/utils.d.mts +1 -0
  689. package/editors/multiSelectEditor/utils/utils.d.ts +30 -0
  690. package/editors/multiSelectEditor/utils/utils.js +2 -3
  691. package/editors/multiSelectEditor/utils/utils.mjs +2 -3
  692. package/editors/numericEditor/index.d.mts +1 -0
  693. package/editors/numericEditor/index.d.ts +1 -1
  694. package/editors/numericEditor/numericEditor.d.mts +1 -0
  695. package/editors/numericEditor/numericEditor.d.ts +10 -5
  696. package/editors/numericEditor/numericEditor.js +3 -1
  697. package/editors/numericEditor/numericEditor.mjs +3 -1
  698. package/editors/passwordEditor/index.d.mts +1 -0
  699. package/editors/passwordEditor/index.d.ts +1 -1
  700. package/editors/passwordEditor/passwordEditor.d.mts +1 -0
  701. package/editors/passwordEditor/passwordEditor.d.ts +62 -5
  702. package/editors/passwordEditor/passwordEditor.js +243 -8
  703. package/editors/passwordEditor/passwordEditor.mjs +243 -8
  704. package/editors/registry.d.mts +1 -0
  705. package/editors/registry.d.ts +82 -28
  706. package/editors/registry.js +120 -29
  707. package/editors/registry.mjs +120 -27
  708. package/editors/selectEditor/index.d.mts +1 -0
  709. package/editors/selectEditor/index.d.ts +1 -1
  710. package/editors/selectEditor/selectEditor.d.mts +1 -0
  711. package/editors/selectEditor/selectEditor.d.ts +102 -14
  712. package/editors/selectEditor/selectEditor.js +42 -20
  713. package/editors/selectEditor/selectEditor.mjs +42 -20
  714. package/editors/textEditor/caretPositioner.d.mts +1 -0
  715. package/editors/textEditor/caretPositioner.d.ts +11 -0
  716. package/editors/textEditor/caretPositioner.js +1 -1
  717. package/editors/textEditor/caretPositioner.mjs +1 -1
  718. package/editors/textEditor/index.d.mts +1 -0
  719. package/editors/textEditor/index.d.ts +1 -1
  720. package/editors/textEditor/textEditor.d.mts +1 -0
  721. package/editors/textEditor/textEditor.d.ts +167 -22
  722. package/editors/textEditor/textEditor.js +16 -10
  723. package/editors/textEditor/textEditor.mjs +16 -10
  724. package/editors/timeEditor/index.d.mts +1 -0
  725. package/editors/timeEditor/index.d.ts +1 -1
  726. package/editors/timeEditor/timeEditor.d.mts +1 -0
  727. package/editors/timeEditor/timeEditor.d.ts +30 -5
  728. package/editors/timeEditor/timeEditor.js +47 -12
  729. package/editors/timeEditor/timeEditor.mjs +47 -12
  730. package/eventManager.d.mts +2 -0
  731. package/eventManager.d.ts +78 -12
  732. package/eventManager.js +11 -5
  733. package/eventManager.mjs +11 -5
  734. package/focusManager/constants.d.mts +1 -0
  735. package/focusManager/constants.d.ts +20 -0
  736. package/focusManager/eventListener.d.mts +1 -0
  737. package/focusManager/eventListener.d.ts +18 -0
  738. package/focusManager/grid.d.mts +1 -0
  739. package/focusManager/grid.d.ts +97 -11
  740. package/focusManager/grid.js +74 -12
  741. package/focusManager/grid.mjs +76 -14
  742. package/focusManager/index.d.mts +1 -0
  743. package/focusManager/index.d.ts +20 -2
  744. package/focusManager/scope.d.mts +1 -0
  745. package/focusManager/scope.d.ts +55 -0
  746. package/focusManager/scopeManager.d.mts +1 -0
  747. package/focusManager/scopeManager.d.ts +41 -15
  748. package/focusManager/scopeManager.js +2 -2
  749. package/focusManager/scopeManager.mjs +3 -3
  750. package/focusManager/scopes/grid.d.mts +1 -0
  751. package/focusManager/scopes/grid.d.ts +5 -0
  752. package/focusManager/scopes/grid.js +17 -14
  753. package/focusManager/scopes/grid.mjs +12 -9
  754. package/focusManager/scopes/index.d.mts +1 -0
  755. package/focusManager/scopes/index.d.ts +7 -0
  756. package/focusManager/utils/focusDetector.d.mts +1 -0
  757. package/focusManager/utils/focusDetector.d.ts +31 -0
  758. package/focusManager/utils/utils.d.mts +1 -0
  759. package/focusManager/utils/utils.d.ts +22 -0
  760. package/focusManager/utils/utils.js +6 -10
  761. package/focusManager/utils/utils.mjs +6 -10
  762. package/helpers/a11y.d.mts +1 -0
  763. package/helpers/a11y.d.ts +49 -0
  764. package/helpers/a11y.js +1 -1
  765. package/helpers/a11y.mjs +1 -1
  766. package/helpers/array.d.mts +1 -0
  767. package/helpers/array.d.ts +142 -18
  768. package/helpers/array.js +22 -25
  769. package/helpers/array.mjs +24 -27
  770. package/helpers/browser.d.mts +1 -0
  771. package/helpers/browser.d.ts +64 -19
  772. package/helpers/browser.js +10 -10
  773. package/helpers/browser.mjs +24 -34
  774. package/helpers/console.d.mts +1 -0
  775. package/helpers/console.d.ts +61 -4
  776. package/helpers/console.js +22 -1
  777. package/helpers/console.mjs +30 -1
  778. package/helpers/constants.d.mts +1 -0
  779. package/helpers/constants.d.ts +2 -0
  780. package/helpers/data.d.mts +1 -0
  781. package/helpers/data.d.ts +89 -11
  782. package/helpers/data.js +15 -1
  783. package/helpers/data.mjs +20 -1
  784. package/helpers/date.d.mts +1 -0
  785. package/helpers/date.d.ts +9 -0
  786. package/helpers/date.js +26 -0
  787. package/helpers/date.mjs +16 -0
  788. package/helpers/dateTime.d.mts +1 -0
  789. package/helpers/dateTime.d.ts +49 -5
  790. package/helpers/dateTime.js +22 -3
  791. package/helpers/dateTime.mjs +30 -29
  792. package/helpers/dom/cellCoords.d.mts +1 -0
  793. package/helpers/dom/cellCoords.d.ts +12 -0
  794. package/helpers/dom/cellCoords.js +192 -0
  795. package/helpers/dom/cellCoords.mjs +190 -0
  796. package/helpers/dom/element.d.mts +1 -0
  797. package/helpers/dom/element.d.ts +516 -51
  798. package/helpers/dom/element.js +182 -115
  799. package/helpers/dom/element.mjs +207 -120
  800. package/helpers/dom/event.d.mts +1 -0
  801. package/helpers/dom/event.d.ts +52 -6
  802. package/helpers/dom/event.js +7 -1
  803. package/helpers/dom/event.mjs +10 -2
  804. package/helpers/errors.d.mts +1 -0
  805. package/helpers/errors.d.ts +10 -1
  806. package/helpers/errors.js +1 -1
  807. package/helpers/errors.mjs +1 -1
  808. package/helpers/feature.d.mts +1 -0
  809. package/helpers/feature.d.ts +31 -7
  810. package/helpers/function.d.mts +1 -0
  811. package/helpers/function.d.ts +115 -14
  812. package/helpers/function.js +1 -1
  813. package/helpers/function.mjs +1 -1
  814. package/helpers/mixed.d.mts +1 -0
  815. package/helpers/mixed.d.ts +41 -5
  816. package/helpers/mixed.js +15 -9
  817. package/helpers/mixed.mjs +15 -9
  818. package/helpers/moves.d.mts +1 -0
  819. package/helpers/moves.d.ts +12 -0
  820. package/helpers/number.d.mts +1 -0
  821. package/helpers/number.d.ts +112 -14
  822. package/helpers/number.js +54 -21
  823. package/helpers/number.mjs +67 -23
  824. package/helpers/object.d.mts +1 -0
  825. package/helpers/object.d.ts +170 -16
  826. package/helpers/object.js +135 -60
  827. package/helpers/object.mjs +146 -75
  828. package/helpers/string.d.mts +1 -0
  829. package/helpers/string.d.ts +85 -7
  830. package/helpers/string.js +79 -20
  831. package/helpers/string.mjs +97 -18
  832. package/helpers/templateLiteralTag.d.mts +1 -0
  833. package/helpers/templateLiteralTag.d.ts +39 -1
  834. package/helpers/templateLiteralTag.js +8 -6
  835. package/helpers/templateLiteralTag.mjs +10 -8
  836. package/helpers/themes.d.mts +1 -0
  837. package/helpers/themes.d.ts +7 -0
  838. package/helpers/unicode.d.mts +1 -0
  839. package/helpers/unicode.d.ts +102 -73
  840. package/helpers/wrappers/jquery.d.mts +2 -0
  841. package/helpers/wrappers/jquery.d.ts +4 -0
  842. package/helpers/wrappers/jquery.js +1 -1
  843. package/helpers/wrappers/jquery.mjs +1 -1
  844. package/i18n/constants.d.mts +1 -0
  845. package/i18n/constants.d.ts +125 -0
  846. package/i18n/constants.js +8 -0
  847. package/i18n/constants.mjs +2 -0
  848. package/i18n/index.d.mts +1 -0
  849. package/i18n/languages/ar-AR.d.mts +2 -0
  850. package/i18n/languages/ar-AR.d.ts +108 -3
  851. package/i18n/languages/ar-AR.js +2 -0
  852. package/i18n/languages/ar-AR.mjs +2 -0
  853. package/i18n/languages/cs-CZ.d.mts +2 -0
  854. package/i18n/languages/cs-CZ.d.ts +107 -3
  855. package/i18n/languages/cs-CZ.js +2 -0
  856. package/i18n/languages/cs-CZ.mjs +2 -0
  857. package/i18n/languages/de-CH.d.mts +2 -0
  858. package/i18n/languages/de-CH.d.ts +106 -3
  859. package/i18n/languages/de-CH.js +2 -0
  860. package/i18n/languages/de-CH.mjs +2 -0
  861. package/i18n/languages/de-DE.d.mts +2 -0
  862. package/i18n/languages/de-DE.d.ts +106 -3
  863. package/i18n/languages/de-DE.js +2 -0
  864. package/i18n/languages/de-DE.mjs +2 -0
  865. package/i18n/languages/en-US.d.mts +2 -0
  866. package/i18n/languages/en-US.d.ts +112 -3
  867. package/i18n/languages/en-US.js +2 -0
  868. package/i18n/languages/en-US.mjs +2 -0
  869. package/i18n/languages/es-MX.d.mts +2 -0
  870. package/i18n/languages/es-MX.d.ts +109 -3
  871. package/i18n/languages/es-MX.js +2 -0
  872. package/i18n/languages/es-MX.mjs +2 -0
  873. package/i18n/languages/fa-IR.d.mts +2 -0
  874. package/i18n/languages/fa-IR.d.ts +112 -3
  875. package/i18n/languages/fa-IR.js +2 -0
  876. package/i18n/languages/fa-IR.mjs +2 -0
  877. package/i18n/languages/fr-FR.d.mts +2 -0
  878. package/i18n/languages/fr-FR.d.ts +106 -3
  879. package/i18n/languages/fr-FR.js +2 -0
  880. package/i18n/languages/fr-FR.mjs +2 -0
  881. package/i18n/languages/hr-HR.d.mts +2 -0
  882. package/i18n/languages/hr-HR.d.ts +112 -3
  883. package/i18n/languages/hr-HR.js +2 -0
  884. package/i18n/languages/hr-HR.mjs +2 -0
  885. package/i18n/languages/index.d.mts +1 -0
  886. package/i18n/languages/index.d.ts +2 -25
  887. package/i18n/languages/it-IT.d.mts +2 -0
  888. package/i18n/languages/it-IT.d.ts +109 -3
  889. package/i18n/languages/it-IT.js +2 -0
  890. package/i18n/languages/it-IT.mjs +2 -0
  891. package/i18n/languages/ja-JP.d.mts +2 -0
  892. package/i18n/languages/ja-JP.d.ts +109 -3
  893. package/i18n/languages/ja-JP.js +2 -0
  894. package/i18n/languages/ja-JP.mjs +2 -0
  895. package/i18n/languages/ko-KR.d.mts +2 -0
  896. package/i18n/languages/ko-KR.d.ts +106 -3
  897. package/i18n/languages/ko-KR.js +2 -0
  898. package/i18n/languages/ko-KR.mjs +2 -0
  899. package/i18n/languages/lv-LV.d.mts +2 -0
  900. package/i18n/languages/lv-LV.d.ts +110 -3
  901. package/i18n/languages/lv-LV.js +2 -0
  902. package/i18n/languages/lv-LV.mjs +2 -0
  903. package/i18n/languages/nb-NO.d.mts +2 -0
  904. package/i18n/languages/nb-NO.d.ts +106 -3
  905. package/i18n/languages/nb-NO.js +2 -0
  906. package/i18n/languages/nb-NO.mjs +2 -0
  907. package/i18n/languages/nl-NL.d.mts +2 -0
  908. package/i18n/languages/nl-NL.d.ts +109 -3
  909. package/i18n/languages/nl-NL.js +2 -0
  910. package/i18n/languages/nl-NL.mjs +2 -0
  911. package/i18n/languages/pl-PL.d.mts +2 -0
  912. package/i18n/languages/pl-PL.d.ts +112 -3
  913. package/i18n/languages/pl-PL.js +2 -0
  914. package/i18n/languages/pl-PL.mjs +2 -0
  915. package/i18n/languages/pt-BR.d.mts +2 -0
  916. package/i18n/languages/pt-BR.d.ts +106 -3
  917. package/i18n/languages/pt-BR.js +2 -0
  918. package/i18n/languages/pt-BR.mjs +2 -0
  919. package/i18n/languages/ru-RU.d.mts +2 -0
  920. package/i18n/languages/ru-RU.d.ts +106 -3
  921. package/i18n/languages/ru-RU.js +2 -0
  922. package/i18n/languages/ru-RU.mjs +2 -0
  923. package/i18n/languages/sr-SP.d.mts +2 -0
  924. package/i18n/languages/sr-SP.d.ts +110 -3
  925. package/i18n/languages/sr-SP.js +2 -0
  926. package/i18n/languages/sr-SP.mjs +2 -0
  927. package/i18n/languages/zh-CN.d.mts +2 -0
  928. package/i18n/languages/zh-CN.d.ts +109 -3
  929. package/i18n/languages/zh-CN.js +2 -0
  930. package/i18n/languages/zh-CN.mjs +2 -0
  931. package/i18n/languages/zh-TW.d.mts +2 -0
  932. package/i18n/languages/zh-TW.d.ts +106 -3
  933. package/i18n/languages/zh-TW.js +2 -0
  934. package/i18n/languages/zh-TW.mjs +2 -0
  935. package/i18n/phraseFormatters/index.d.mts +1 -0
  936. package/i18n/phraseFormatters/index.d.ts +14 -0
  937. package/i18n/phraseFormatters/pluralize.d.mts +2 -0
  938. package/i18n/phraseFormatters/pluralize.d.ts +9 -0
  939. package/i18n/phraseFormatters/substituteVariables.d.mts +2 -0
  940. package/i18n/phraseFormatters/substituteVariables.d.ts +9 -0
  941. package/i18n/registry.d.mts +1 -0
  942. package/i18n/registry.d.ts +166 -13
  943. package/i18n/registry.js +2 -3
  944. package/i18n/registry.mjs +2 -3
  945. package/i18n/utils.d.mts +1 -0
  946. package/i18n/utils.d.ts +40 -0
  947. package/index.d.mts +2 -0
  948. package/index.d.ts +15 -705
  949. package/index.js +37 -33
  950. package/index.mjs +37 -35
  951. package/languages/all.js +843 -2740
  952. package/languages/ar-AR.js +36 -125
  953. package/languages/ar-AR.mjs +2 -0
  954. package/languages/cs-CZ.js +36 -125
  955. package/languages/cs-CZ.mjs +2 -0
  956. package/languages/de-CH.js +36 -124
  957. package/languages/de-CH.mjs +2 -0
  958. package/languages/de-DE.js +36 -124
  959. package/languages/de-DE.mjs +2 -0
  960. package/languages/en-US.js +45 -139
  961. package/languages/en-US.mjs +2 -0
  962. package/languages/es-MX.js +45 -136
  963. package/languages/es-MX.mjs +2 -0
  964. package/languages/fa-IR.js +45 -139
  965. package/languages/fa-IR.mjs +2 -0
  966. package/languages/fr-FR.js +36 -124
  967. package/languages/fr-FR.mjs +2 -0
  968. package/languages/hr-HR.js +45 -139
  969. package/languages/hr-HR.mjs +2 -0
  970. package/languages/index.js +843 -2740
  971. package/languages/it-IT.js +42 -133
  972. package/languages/it-IT.mjs +2 -0
  973. package/languages/ja-JP.js +45 -136
  974. package/languages/ja-JP.mjs +2 -0
  975. package/languages/ko-KR.js +36 -124
  976. package/languages/ko-KR.mjs +2 -0
  977. package/languages/lv-LV.js +45 -137
  978. package/languages/lv-LV.mjs +2 -0
  979. package/languages/nb-NO.js +36 -124
  980. package/languages/nb-NO.mjs +2 -0
  981. package/languages/nl-NL.js +45 -136
  982. package/languages/nl-NL.mjs +2 -0
  983. package/languages/pl-PL.js +45 -139
  984. package/languages/pl-PL.mjs +2 -0
  985. package/languages/pt-BR.js +36 -124
  986. package/languages/pt-BR.mjs +2 -0
  987. package/languages/ru-RU.js +36 -124
  988. package/languages/ru-RU.mjs +2 -0
  989. package/languages/sr-SP.js +45 -137
  990. package/languages/sr-SP.mjs +2 -0
  991. package/languages/zh-CN.js +36 -127
  992. package/languages/zh-CN.mjs +2 -0
  993. package/languages/zh-TW.js +36 -124
  994. package/languages/zh-TW.mjs +2 -0
  995. package/mixins/hooksRefRegisterer.d.mts +2 -0
  996. package/mixins/hooksRefRegisterer.d.ts +13 -0
  997. package/mixins/localHooks.d.mts +2 -0
  998. package/mixins/localHooks.d.ts +14 -0
  999. package/package.json +1314 -499
  1000. package/plugins/autoColumnSize/autoColumnSize.d.mts +1 -0
  1001. package/plugins/autoColumnSize/autoColumnSize.d.ts +320 -27
  1002. package/plugins/autoColumnSize/autoColumnSize.js +142 -111
  1003. package/plugins/autoColumnSize/autoColumnSize.mjs +145 -114
  1004. package/plugins/autoColumnSize/index.d.mts +1 -0
  1005. package/plugins/autoColumnSize/index.d.ts +1 -1
  1006. package/plugins/autoRowSize/autoRowSize.d.mts +1 -0
  1007. package/plugins/autoRowSize/autoRowSize.d.ts +324 -28
  1008. package/plugins/autoRowSize/autoRowSize.js +132 -107
  1009. package/plugins/autoRowSize/autoRowSize.mjs +135 -110
  1010. package/plugins/autoRowSize/index.d.mts +1 -0
  1011. package/plugins/autoRowSize/index.d.ts +1 -1
  1012. package/plugins/autofill/autofill.d.mts +1 -0
  1013. package/plugins/autofill/autofill.d.ts +210 -15
  1014. package/plugins/autofill/autofill.js +341 -156
  1015. package/plugins/autofill/autofill.mjs +343 -158
  1016. package/plugins/autofill/constants.d.mts +1 -0
  1017. package/plugins/autofill/constants.d.ts +4 -0
  1018. package/plugins/autofill/constants.js +14 -0
  1019. package/plugins/autofill/constants.mjs +4 -0
  1020. package/plugins/autofill/index.d.mts +1 -0
  1021. package/plugins/autofill/index.d.ts +1 -1
  1022. package/plugins/autofill/utils.d.mts +1 -0
  1023. package/plugins/autofill/utils.d.ts +14 -0
  1024. package/plugins/autofill/utils.js +3 -54
  1025. package/plugins/autofill/utils.mjs +0 -47
  1026. package/plugins/base/base.d.mts +1 -0
  1027. package/plugins/base/base.d.ts +176 -27
  1028. package/plugins/base/base.js +73 -53
  1029. package/plugins/base/base.mjs +74 -54
  1030. package/plugins/base/conflictRegistry.d.mts +1 -0
  1031. package/plugins/base/conflictRegistry.d.ts +39 -0
  1032. package/plugins/base/conflictRegistry.js +1 -7
  1033. package/plugins/base/conflictRegistry.mjs +1 -7
  1034. package/plugins/base/index.d.mts +1 -0
  1035. package/plugins/base/index.d.ts +2 -1
  1036. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.d.mts +1 -0
  1037. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.d.ts +83 -7
  1038. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +52 -17
  1039. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +52 -17
  1040. package/plugins/bindRowsWithHeaders/index.d.mts +1 -0
  1041. package/plugins/bindRowsWithHeaders/index.d.ts +1 -1
  1042. package/plugins/bindRowsWithHeaders/maps/looseBindsMap.d.mts +2 -0
  1043. package/plugins/bindRowsWithHeaders/maps/looseBindsMap.d.ts +26 -0
  1044. package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +6 -4
  1045. package/plugins/bindRowsWithHeaders/maps/looseBindsMap.mjs +5 -3
  1046. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.d.mts +2 -0
  1047. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.d.ts +33 -0
  1048. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +6 -4
  1049. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.mjs +5 -3
  1050. package/plugins/collapsibleColumns/collapsibleColumns.d.mts +1 -0
  1051. package/plugins/collapsibleColumns/collapsibleColumns.d.ts +236 -20
  1052. package/plugins/collapsibleColumns/collapsibleColumns.js +298 -125
  1053. package/plugins/collapsibleColumns/collapsibleColumns.mjs +300 -127
  1054. package/plugins/collapsibleColumns/index.d.mts +1 -0
  1055. package/plugins/collapsibleColumns/index.d.ts +1 -1
  1056. package/plugins/columnSorting/columnSorting.d.mts +1 -0
  1057. package/plugins/columnSorting/columnSorting.d.ts +319 -26
  1058. package/plugins/columnSorting/columnSorting.js +127 -112
  1059. package/plugins/columnSorting/columnSorting.mjs +128 -113
  1060. package/plugins/columnSorting/columnStatesManager.d.mts +1 -0
  1061. package/plugins/columnSorting/columnStatesManager.d.ts +133 -0
  1062. package/plugins/columnSorting/columnStatesManager.js +8 -6
  1063. package/plugins/columnSorting/columnStatesManager.mjs +8 -6
  1064. package/plugins/columnSorting/domHelpers.d.mts +1 -0
  1065. package/plugins/columnSorting/domHelpers.d.ts +17 -0
  1066. package/plugins/columnSorting/domHelpers.js +6 -4
  1067. package/plugins/columnSorting/domHelpers.mjs +6 -4
  1068. package/plugins/columnSorting/index.d.mts +1 -0
  1069. package/plugins/columnSorting/index.d.ts +2 -1
  1070. package/plugins/columnSorting/rootComparator.d.mts +1 -0
  1071. package/plugins/columnSorting/rootComparator.d.ts +8 -0
  1072. package/plugins/columnSorting/rootComparator.js +3 -2
  1073. package/plugins/columnSorting/rootComparator.mjs +3 -2
  1074. package/plugins/columnSorting/sortFunction/checkbox.d.mts +1 -0
  1075. package/plugins/columnSorting/sortFunction/checkbox.d.ts +10 -0
  1076. package/plugins/columnSorting/sortFunction/checkbox.js +49 -19
  1077. package/plugins/columnSorting/sortFunction/checkbox.mjs +49 -19
  1078. package/plugins/columnSorting/sortFunction/date.d.mts +1 -0
  1079. package/plugins/columnSorting/sortFunction/date.d.ts +10 -0
  1080. package/plugins/columnSorting/sortFunction/date.js +2 -2
  1081. package/plugins/columnSorting/sortFunction/date.mjs +4 -4
  1082. package/plugins/columnSorting/sortFunction/default.d.mts +1 -0
  1083. package/plugins/columnSorting/sortFunction/default.d.ts +10 -0
  1084. package/plugins/columnSorting/sortFunction/default.js +55 -25
  1085. package/plugins/columnSorting/sortFunction/default.mjs +55 -25
  1086. package/plugins/columnSorting/sortFunction/intlDate.d.mts +1 -0
  1087. package/plugins/columnSorting/sortFunction/intlDate.d.ts +10 -0
  1088. package/plugins/columnSorting/sortFunction/intlDate.js +2 -2
  1089. package/plugins/columnSorting/sortFunction/intlDate.mjs +6 -6
  1090. package/plugins/columnSorting/sortFunction/intlTime.d.mts +1 -0
  1091. package/plugins/columnSorting/sortFunction/intlTime.d.ts +10 -0
  1092. package/plugins/columnSorting/sortFunction/intlTime.js +2 -2
  1093. package/plugins/columnSorting/sortFunction/intlTime.mjs +6 -6
  1094. package/plugins/columnSorting/sortFunction/numeric.d.mts +1 -0
  1095. package/plugins/columnSorting/sortFunction/numeric.d.ts +10 -0
  1096. package/plugins/columnSorting/sortFunction/time.d.mts +1 -0
  1097. package/plugins/columnSorting/sortFunction/time.d.ts +10 -0
  1098. package/plugins/columnSorting/sortFunction/time.js +2 -2
  1099. package/plugins/columnSorting/sortFunction/time.mjs +4 -4
  1100. package/plugins/columnSorting/sortService/engine.d.mts +1 -0
  1101. package/plugins/columnSorting/sortService/engine.d.ts +11 -0
  1102. package/plugins/columnSorting/sortService/engine.mjs +2 -0
  1103. package/plugins/columnSorting/sortService/index.d.mts +1 -0
  1104. package/plugins/columnSorting/sortService/index.d.ts +2 -0
  1105. package/plugins/columnSorting/sortService/index.mjs +2 -3
  1106. package/plugins/columnSorting/sortService/registry.d.mts +1 -0
  1107. package/plugins/columnSorting/sortService/registry.d.ts +10 -0
  1108. package/plugins/columnSorting/utils.d.mts +1 -0
  1109. package/plugins/columnSorting/utils.d.ts +65 -0
  1110. package/plugins/columnSorting/utils.js +6 -54
  1111. package/plugins/columnSorting/utils.mjs +7 -56
  1112. package/plugins/columnSummary/columnSummary.d.mts +1 -0
  1113. package/plugins/columnSummary/columnSummary.d.ts +256 -69
  1114. package/plugins/columnSummary/columnSummary.js +179 -76
  1115. package/plugins/columnSummary/columnSummary.mjs +180 -77
  1116. package/plugins/columnSummary/endpoints.d.mts +2 -0
  1117. package/plugins/columnSummary/endpoints.d.ts +228 -0
  1118. package/plugins/columnSummary/endpoints.js +29 -8
  1119. package/plugins/columnSummary/endpoints.mjs +29 -8
  1120. package/plugins/columnSummary/index.d.mts +1 -0
  1121. package/plugins/columnSummary/index.d.ts +2 -1
  1122. package/plugins/columnSummary/utils.d.mts +1 -0
  1123. package/plugins/columnSummary/utils.d.ts +15 -0
  1124. package/plugins/columnSummary/utils.js +2 -2
  1125. package/plugins/columnSummary/utils.mjs +2 -2
  1126. package/plugins/comments/commentEditor.d.mts +2 -0
  1127. package/plugins/comments/commentEditor.d.ts +133 -0
  1128. package/plugins/comments/commentEditor.js +38 -18
  1129. package/plugins/comments/commentEditor.mjs +38 -18
  1130. package/plugins/comments/comments.d.mts +1 -0
  1131. package/plugins/comments/comments.d.ts +378 -46
  1132. package/plugins/comments/comments.js +197 -113
  1133. package/plugins/comments/comments.mjs +200 -116
  1134. package/plugins/comments/contextMenuItem/addEditComment.d.mts +2 -0
  1135. package/plugins/comments/contextMenuItem/addEditComment.d.ts +12 -0
  1136. package/plugins/comments/contextMenuItem/addEditComment.js +7 -2
  1137. package/plugins/comments/contextMenuItem/addEditComment.mjs +7 -2
  1138. package/plugins/comments/contextMenuItem/readOnlyComment.d.mts +2 -0
  1139. package/plugins/comments/contextMenuItem/readOnlyComment.d.ts +12 -0
  1140. package/plugins/comments/contextMenuItem/readOnlyComment.js +5 -2
  1141. package/plugins/comments/contextMenuItem/readOnlyComment.mjs +5 -2
  1142. package/plugins/comments/contextMenuItem/removeComment.d.mts +2 -0
  1143. package/plugins/comments/contextMenuItem/removeComment.d.ts +12 -0
  1144. package/plugins/comments/contextMenuItem/removeComment.js +3 -0
  1145. package/plugins/comments/contextMenuItem/removeComment.mjs +3 -0
  1146. package/plugins/comments/displaySwitch.d.mts +2 -0
  1147. package/plugins/comments/displaySwitch.d.ts +68 -0
  1148. package/plugins/comments/displaySwitch.js +7 -4
  1149. package/plugins/comments/displaySwitch.mjs +7 -4
  1150. package/plugins/comments/editorResizeObserver.d.mts +1 -0
  1151. package/plugins/comments/editorResizeObserver.d.ts +35 -0
  1152. package/plugins/comments/editorResizeObserver.js +6 -2
  1153. package/plugins/comments/editorResizeObserver.mjs +6 -2
  1154. package/plugins/comments/index.d.mts +1 -0
  1155. package/plugins/comments/index.d.ts +1 -1
  1156. package/plugins/comments/utils.d.mts +1 -0
  1157. package/plugins/comments/utils.d.ts +12 -0
  1158. package/plugins/comments/viewport.d.mts +1 -0
  1159. package/plugins/comments/viewport.d.ts +72 -0
  1160. package/plugins/comments/viewport.js +60 -0
  1161. package/plugins/comments/viewport.mjs +72 -0
  1162. package/plugins/contextMenu/commandExecutor.d.mts +1 -0
  1163. package/plugins/contextMenu/commandExecutor.d.ts +56 -0
  1164. package/plugins/contextMenu/commandExecutor.js +3 -1
  1165. package/plugins/contextMenu/commandExecutor.mjs +3 -1
  1166. package/plugins/contextMenu/contextMenu.d.mts +1 -0
  1167. package/plugins/contextMenu/contextMenu.d.ts +185 -63
  1168. package/plugins/contextMenu/contextMenu.js +123 -72
  1169. package/plugins/contextMenu/contextMenu.mjs +125 -74
  1170. package/plugins/contextMenu/index.d.mts +1 -0
  1171. package/plugins/contextMenu/index.d.ts +2 -1
  1172. package/plugins/contextMenu/itemsFactory.d.mts +1 -0
  1173. package/plugins/contextMenu/itemsFactory.d.ts +39 -0
  1174. package/plugins/contextMenu/itemsFactory.js +24 -6
  1175. package/plugins/contextMenu/itemsFactory.mjs +24 -6
  1176. package/plugins/contextMenu/menu/cursor.d.mts +1 -0
  1177. package/plugins/contextMenu/menu/cursor.d.ts +96 -0
  1178. package/plugins/contextMenu/menu/cursor.js +21 -21
  1179. package/plugins/contextMenu/menu/cursor.mjs +20 -15
  1180. package/plugins/contextMenu/menu/defaultShortcutsList.d.mts +1 -0
  1181. package/plugins/contextMenu/menu/defaultShortcutsList.d.ts +9 -0
  1182. package/plugins/contextMenu/menu/defaultShortcutsList.js +33 -29
  1183. package/plugins/contextMenu/menu/defaultShortcutsList.mjs +32 -23
  1184. package/plugins/contextMenu/menu/index.d.mts +1 -0
  1185. package/plugins/contextMenu/menu/index.d.ts +1 -0
  1186. package/plugins/contextMenu/menu/menu.d.mts +1 -0
  1187. package/plugins/contextMenu/menu/menu.d.ts +297 -0
  1188. package/plugins/contextMenu/menu/menu.js +81 -38
  1189. package/plugins/contextMenu/menu/menu.mjs +84 -41
  1190. package/plugins/contextMenu/menu/menuItemRenderer.d.mts +1 -0
  1191. package/plugins/contextMenu/menu/menuItemRenderer.d.ts +9 -0
  1192. package/plugins/contextMenu/menu/menuItemRenderer.js +3 -1
  1193. package/plugins/contextMenu/menu/menuItemRenderer.mjs +3 -1
  1194. package/plugins/contextMenu/menu/navigator.d.mts +1 -0
  1195. package/plugins/contextMenu/menu/navigator.d.ts +17 -0
  1196. package/plugins/contextMenu/menu/positioner.d.mts +1 -0
  1197. package/plugins/contextMenu/menu/positioner.d.ts +63 -0
  1198. package/plugins/contextMenu/menu/positioner.js +6 -1
  1199. package/plugins/contextMenu/menu/positioner.mjs +6 -1
  1200. package/plugins/contextMenu/menu/shortcuts.d.mts +1 -0
  1201. package/plugins/contextMenu/menu/shortcuts.d.ts +27 -0
  1202. package/plugins/contextMenu/menu/shortcuts.js +1 -1
  1203. package/plugins/contextMenu/menu/shortcuts.mjs +1 -1
  1204. package/plugins/contextMenu/menu/utils.d.mts +1 -0
  1205. package/plugins/contextMenu/menu/utils.d.ts +104 -0
  1206. package/plugins/contextMenu/menu/utils.js +5 -4
  1207. package/plugins/contextMenu/menu/utils.mjs +5 -4
  1208. package/plugins/contextMenu/predefinedItems/alignment.d.mts +2 -0
  1209. package/plugins/contextMenu/predefinedItems/alignment.d.ts +23 -0
  1210. package/plugins/contextMenu/predefinedItems/alignment.js +7 -7
  1211. package/plugins/contextMenu/predefinedItems/alignment.mjs +7 -7
  1212. package/plugins/contextMenu/predefinedItems/clearColumn.d.mts +2 -0
  1213. package/plugins/contextMenu/predefinedItems/clearColumn.d.ts +20 -0
  1214. package/plugins/contextMenu/predefinedItems/clearColumn.js +1 -1
  1215. package/plugins/contextMenu/predefinedItems/clearColumn.mjs +1 -1
  1216. package/plugins/contextMenu/predefinedItems/columnLeft.d.mts +2 -0
  1217. package/plugins/contextMenu/predefinedItems/columnLeft.d.ts +12 -0
  1218. package/plugins/contextMenu/predefinedItems/columnLeft.js +9 -2
  1219. package/plugins/contextMenu/predefinedItems/columnLeft.mjs +9 -2
  1220. package/plugins/contextMenu/predefinedItems/columnRight.d.mts +2 -0
  1221. package/plugins/contextMenu/predefinedItems/columnRight.d.ts +12 -0
  1222. package/plugins/contextMenu/predefinedItems/columnRight.js +11 -3
  1223. package/plugins/contextMenu/predefinedItems/columnRight.mjs +11 -3
  1224. package/plugins/contextMenu/predefinedItems/index.d.mts +1 -0
  1225. package/plugins/contextMenu/predefinedItems/index.d.ts +27 -0
  1226. package/plugins/contextMenu/predefinedItems/noItems.d.mts +2 -0
  1227. package/plugins/contextMenu/predefinedItems/noItems.d.ts +11 -0
  1228. package/plugins/contextMenu/predefinedItems/noItems.js +2 -1
  1229. package/plugins/contextMenu/predefinedItems/noItems.mjs +2 -1
  1230. package/plugins/contextMenu/predefinedItems/readOnly.d.mts +2 -0
  1231. package/plugins/contextMenu/predefinedItems/readOnly.d.ts +14 -0
  1232. package/plugins/contextMenu/predefinedItems/readOnly.js +7 -8
  1233. package/plugins/contextMenu/predefinedItems/readOnly.mjs +7 -8
  1234. package/plugins/contextMenu/predefinedItems/redo.d.mts +2 -0
  1235. package/plugins/contextMenu/predefinedItems/redo.d.ts +12 -0
  1236. package/plugins/contextMenu/predefinedItems/removeColumn.d.mts +2 -0
  1237. package/plugins/contextMenu/predefinedItems/removeColumn.d.ts +12 -0
  1238. package/plugins/contextMenu/predefinedItems/removeColumn.js +2 -2
  1239. package/plugins/contextMenu/predefinedItems/removeColumn.mjs +2 -2
  1240. package/plugins/contextMenu/predefinedItems/removeRow.d.mts +2 -0
  1241. package/plugins/contextMenu/predefinedItems/removeRow.d.ts +12 -0
  1242. package/plugins/contextMenu/predefinedItems/removeRow.js +1 -1
  1243. package/plugins/contextMenu/predefinedItems/removeRow.mjs +1 -1
  1244. package/plugins/contextMenu/predefinedItems/rowAbove.d.mts +2 -0
  1245. package/plugins/contextMenu/predefinedItems/rowAbove.d.ts +12 -0
  1246. package/plugins/contextMenu/predefinedItems/rowAbove.js +9 -2
  1247. package/plugins/contextMenu/predefinedItems/rowAbove.mjs +9 -2
  1248. package/plugins/contextMenu/predefinedItems/rowBelow.d.mts +2 -0
  1249. package/plugins/contextMenu/predefinedItems/rowBelow.d.ts +12 -0
  1250. package/plugins/contextMenu/predefinedItems/rowBelow.js +9 -2
  1251. package/plugins/contextMenu/predefinedItems/rowBelow.mjs +9 -2
  1252. package/plugins/contextMenu/predefinedItems/separator.d.mts +2 -0
  1253. package/plugins/contextMenu/predefinedItems/separator.d.ts +7 -0
  1254. package/plugins/contextMenu/predefinedItems/undo.d.mts +2 -0
  1255. package/plugins/contextMenu/predefinedItems/undo.d.ts +12 -0
  1256. package/plugins/contextMenu/predefinedItems/undo.js +2 -1
  1257. package/plugins/contextMenu/predefinedItems/undo.mjs +2 -1
  1258. package/plugins/contextMenu/utils.d.mts +1 -0
  1259. package/plugins/contextMenu/utils.d.ts +63 -0
  1260. package/plugins/contextMenu/utils.js +1 -1
  1261. package/plugins/contextMenu/utils.mjs +1 -1
  1262. package/plugins/copyPaste/clipboardData.d.mts +2 -0
  1263. package/plugins/copyPaste/clipboardData.d.ts +21 -0
  1264. package/plugins/copyPaste/clipboardData.js +9 -3
  1265. package/plugins/copyPaste/clipboardData.mjs +9 -3
  1266. package/plugins/copyPaste/contextMenuItem/copy.d.mts +2 -0
  1267. package/plugins/copyPaste/contextMenuItem/copy.d.ts +19 -0
  1268. package/plugins/copyPaste/contextMenuItem/copy.js +1 -2
  1269. package/plugins/copyPaste/contextMenuItem/copy.mjs +1 -2
  1270. package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.d.mts +2 -0
  1271. package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.d.ts +19 -0
  1272. package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.js +1 -2
  1273. package/plugins/copyPaste/contextMenuItem/copyColumnHeadersOnly.mjs +1 -2
  1274. package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.d.mts +2 -0
  1275. package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.d.ts +19 -0
  1276. package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.js +1 -2
  1277. package/plugins/copyPaste/contextMenuItem/copyWithColumnGroupHeaders.mjs +1 -2
  1278. package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.d.mts +2 -0
  1279. package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.d.ts +19 -0
  1280. package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.js +1 -2
  1281. package/plugins/copyPaste/contextMenuItem/copyWithColumnHeaders.mjs +1 -2
  1282. package/plugins/copyPaste/contextMenuItem/cut.d.mts +2 -0
  1283. package/plugins/copyPaste/contextMenuItem/cut.d.ts +19 -0
  1284. package/plugins/copyPaste/contextMenuItem/cut.js +1 -2
  1285. package/plugins/copyPaste/contextMenuItem/cut.mjs +1 -2
  1286. package/plugins/copyPaste/copyPaste.d.mts +1 -0
  1287. package/plugins/copyPaste/copyPaste.d.ts +235 -42
  1288. package/plugins/copyPaste/copyPaste.js +162 -110
  1289. package/plugins/copyPaste/copyPaste.mjs +165 -113
  1290. package/plugins/copyPaste/copyableRanges.d.mts +1 -0
  1291. package/plugins/copyPaste/copyableRanges.d.ts +83 -0
  1292. package/plugins/copyPaste/copyableRanges.js +16 -6
  1293. package/plugins/copyPaste/copyableRanges.mjs +16 -6
  1294. package/plugins/copyPaste/index.d.mts +1 -0
  1295. package/plugins/copyPaste/index.d.ts +1 -1
  1296. package/plugins/copyPaste/pasteEvent.d.mts +2 -0
  1297. package/plugins/copyPaste/pasteEvent.d.ts +22 -0
  1298. package/plugins/copyPaste/pasteEvent.js +9 -3
  1299. package/plugins/copyPaste/pasteEvent.mjs +9 -3
  1300. package/plugins/customBorders/contextMenuItem/bottom.d.mts +2 -0
  1301. package/plugins/customBorders/contextMenuItem/bottom.d.ts +11 -0
  1302. package/plugins/customBorders/contextMenuItem/index.d.mts +1 -0
  1303. package/plugins/customBorders/contextMenuItem/index.d.ts +6 -0
  1304. package/plugins/customBorders/contextMenuItem/left.d.mts +2 -0
  1305. package/plugins/customBorders/contextMenuItem/left.d.ts +11 -0
  1306. package/plugins/customBorders/contextMenuItem/noBorders.d.mts +2 -0
  1307. package/plugins/customBorders/contextMenuItem/noBorders.d.ts +12 -0
  1308. package/plugins/customBorders/contextMenuItem/noBorders.js +3 -2
  1309. package/plugins/customBorders/contextMenuItem/noBorders.mjs +3 -2
  1310. package/plugins/customBorders/contextMenuItem/right.d.mts +2 -0
  1311. package/plugins/customBorders/contextMenuItem/right.d.ts +11 -0
  1312. package/plugins/customBorders/contextMenuItem/top.d.mts +2 -0
  1313. package/plugins/customBorders/contextMenuItem/top.d.ts +11 -0
  1314. package/plugins/customBorders/customBorders.d.mts +1 -0
  1315. package/plugins/customBorders/customBorders.d.ts +309 -48
  1316. package/plugins/customBorders/customBorders.js +99 -35
  1317. package/plugins/customBorders/customBorders.mjs +100 -36
  1318. package/plugins/customBorders/index.d.mts +1 -0
  1319. package/plugins/customBorders/index.d.ts +2 -1
  1320. package/plugins/customBorders/utils.d.mts +1 -0
  1321. package/plugins/customBorders/utils.d.ts +166 -0
  1322. package/plugins/customBorders/utils.js +39 -56
  1323. package/plugins/customBorders/utils.mjs +40 -57
  1324. package/plugins/dataProvider/constants.d.mts +1 -0
  1325. package/plugins/dataProvider/constants.d.ts +60 -0
  1326. package/plugins/dataProvider/dataProvider.d.mts +1 -0
  1327. package/plugins/dataProvider/dataProvider.d.ts +202 -176
  1328. package/plugins/dataProvider/dataProvider.js +114 -98
  1329. package/plugins/dataProvider/dataProvider.mjs +115 -126
  1330. package/plugins/dataProvider/index.d.mts +1 -0
  1331. package/plugins/dataProvider/index.d.ts +2 -17
  1332. package/plugins/dataProvider/query/crud.d.mts +1 -0
  1333. package/plugins/dataProvider/query/crud.d.ts +265 -0
  1334. package/plugins/dataProvider/query/crud.js +9 -5
  1335. package/plugins/dataProvider/query/crud.mjs +9 -39
  1336. package/plugins/dataProvider/query/filtering.d.mts +1 -0
  1337. package/plugins/dataProvider/query/filtering.d.ts +67 -0
  1338. package/plugins/dataProvider/query/filtering.js +1 -1
  1339. package/plugins/dataProvider/query/filtering.mjs +1 -1
  1340. package/plugins/dataProvider/query/pagination.d.mts +1 -0
  1341. package/plugins/dataProvider/query/pagination.d.ts +99 -0
  1342. package/plugins/dataProvider/query/sorting.d.mts +1 -0
  1343. package/plugins/dataProvider/query/sorting.d.ts +109 -0
  1344. package/plugins/dataProvider/query/sorting.js +20 -15
  1345. package/plugins/dataProvider/query/sorting.mjs +20 -15
  1346. package/plugins/dataProvider/utils.d.mts +1 -0
  1347. package/plugins/dataProvider/utils.d.ts +24 -0
  1348. package/plugins/dataProvider/utils.js +14 -10
  1349. package/plugins/dataProvider/utils.mjs +14 -10
  1350. package/plugins/dialog/constants.d.mts +1 -0
  1351. package/plugins/dialog/constants.d.ts +4 -0
  1352. package/plugins/dialog/dialog.d.mts +1 -0
  1353. package/plugins/dialog/dialog.d.ts +299 -41
  1354. package/plugins/dialog/dialog.js +46 -27
  1355. package/plugins/dialog/dialog.mjs +48 -29
  1356. package/plugins/dialog/index.d.mts +1 -0
  1357. package/plugins/dialog/index.d.ts +1 -1
  1358. package/plugins/dialog/templates/base.d.mts +1 -0
  1359. package/plugins/dialog/templates/base.d.ts +16 -0
  1360. package/plugins/dialog/templates/confirm.d.mts +1 -0
  1361. package/plugins/dialog/templates/confirm.d.ts +35 -0
  1362. package/plugins/dialog/templates/index.d.mts +1 -0
  1363. package/plugins/dialog/templates/index.d.ts +4 -0
  1364. package/plugins/dialog/templates/index.js +1 -0
  1365. package/plugins/dialog/templates/index.mjs +1 -0
  1366. package/plugins/dialog/ui.d.mts +1 -0
  1367. package/plugins/dialog/ui.d.ts +101 -0
  1368. package/plugins/dialog/ui.js +29 -34
  1369. package/plugins/dialog/ui.mjs +30 -35
  1370. package/plugins/dragToScroll/autoScroller.d.mts +1 -0
  1371. package/plugins/dragToScroll/autoScroller.d.ts +78 -0
  1372. package/plugins/dragToScroll/autoScroller.js +150 -0
  1373. package/plugins/dragToScroll/autoScroller.mjs +140 -0
  1374. package/plugins/dragToScroll/dragToScroll.d.mts +1 -0
  1375. package/plugins/dragToScroll/dragToScroll.d.ts +140 -19
  1376. package/plugins/dragToScroll/dragToScroll.js +328 -37
  1377. package/plugins/dragToScroll/dragToScroll.mjs +329 -38
  1378. package/plugins/dragToScroll/index.d.mts +1 -0
  1379. package/plugins/dragToScroll/index.d.ts +1 -1
  1380. package/plugins/dragToScroll/scrollTimer.d.mts +1 -0
  1381. package/plugins/dragToScroll/scrollTimer.d.ts +48 -0
  1382. package/plugins/dragToScroll/scrollTimer.js +160 -0
  1383. package/plugins/dragToScroll/scrollTimer.mjs +147 -0
  1384. package/plugins/dragToScroll/utils.d.mts +1 -0
  1385. package/plugins/dragToScroll/utils.d.ts +14 -0
  1386. package/plugins/dragToScroll/utils.js +25 -0
  1387. package/plugins/dragToScroll/utils.mjs +15 -0
  1388. package/plugins/dropdownMenu/dropdownMenu.d.mts +1 -0
  1389. package/plugins/dropdownMenu/dropdownMenu.d.ts +219 -23
  1390. package/plugins/dropdownMenu/dropdownMenu.js +149 -117
  1391. package/plugins/dropdownMenu/dropdownMenu.mjs +151 -119
  1392. package/plugins/dropdownMenu/index.d.mts +1 -0
  1393. package/plugins/dropdownMenu/index.d.ts +1 -1
  1394. package/plugins/emptyDataState/emptyDataState.d.mts +1 -0
  1395. package/plugins/emptyDataState/emptyDataState.d.ts +220 -31
  1396. package/plugins/emptyDataState/emptyDataState.js +98 -88
  1397. package/plugins/emptyDataState/emptyDataState.mjs +98 -88
  1398. package/plugins/emptyDataState/index.d.mts +1 -0
  1399. package/plugins/emptyDataState/index.d.ts +1 -1
  1400. package/plugins/emptyDataState/ui.d.mts +1 -0
  1401. package/plugins/emptyDataState/ui.d.ts +67 -0
  1402. package/plugins/emptyDataState/ui.js +19 -11
  1403. package/plugins/emptyDataState/ui.mjs +19 -11
  1404. package/plugins/exportFile/contextMenuItem/exportItem.d.mts +2 -0
  1405. package/plugins/exportFile/contextMenuItem/exportItem.d.ts +13 -0
  1406. package/plugins/exportFile/contextMenuItem/utils.d.mts +1 -0
  1407. package/plugins/exportFile/contextMenuItem/utils.d.ts +23 -0
  1408. package/plugins/exportFile/contextMenuItem/utils.js +6 -22
  1409. package/plugins/exportFile/contextMenuItem/utils.mjs +5 -5
  1410. package/plugins/exportFile/dataProvider.d.mts +2 -0
  1411. package/plugins/exportFile/dataProvider.d.ts +409 -0
  1412. package/plugins/exportFile/dataProvider.js +100 -62
  1413. package/plugins/exportFile/dataProvider.mjs +100 -62
  1414. package/plugins/exportFile/exportFile.d.mts +1 -0
  1415. package/plugins/exportFile/exportFile.d.ts +522 -72
  1416. package/plugins/exportFile/exportFile.js +88 -19
  1417. package/plugins/exportFile/exportFile.mjs +88 -19
  1418. package/plugins/exportFile/index.d.mts +1 -0
  1419. package/plugins/exportFile/index.d.ts +2 -1
  1420. package/plugins/exportFile/typeFactory.d.mts +2 -0
  1421. package/plugins/exportFile/typeFactory.d.ts +18 -0
  1422. package/plugins/exportFile/typeFactory.js +3 -2
  1423. package/plugins/exportFile/typeFactory.mjs +3 -2
  1424. package/plugins/exportFile/types/_base.d.mts +2 -0
  1425. package/plugins/exportFile/types/_base.d.ts +64 -0
  1426. package/plugins/exportFile/types/_base.js +25 -2
  1427. package/plugins/exportFile/types/_base.mjs +25 -2
  1428. package/plugins/exportFile/types/csv.d.mts +2 -0
  1429. package/plugins/exportFile/types/csv.d.ts +51 -0
  1430. package/plugins/exportFile/types/csv.js +1 -1
  1431. package/plugins/exportFile/types/csv.mjs +1 -1
  1432. package/plugins/exportFile/types/xlsx/cell-style.d.mts +1 -0
  1433. package/plugins/exportFile/types/xlsx/cell-style.d.ts +148 -0
  1434. package/plugins/exportFile/types/xlsx/cell-style.js +7 -7
  1435. package/plugins/exportFile/types/xlsx/cell-style.mjs +7 -7
  1436. package/plugins/exportFile/types/xlsx/date-utils.d.mts +1 -0
  1437. package/plugins/exportFile/types/xlsx/date-utils.d.ts +41 -0
  1438. package/plugins/exportFile/types/xlsx/formula-utils.d.mts +1 -0
  1439. package/plugins/exportFile/types/xlsx/formula-utils.d.ts +87 -0
  1440. package/plugins/exportFile/types/xlsx/formula-utils.js +7 -7
  1441. package/plugins/exportFile/types/xlsx/formula-utils.mjs +7 -7
  1442. package/plugins/exportFile/types/xlsx/numeric-utils.d.mts +1 -0
  1443. package/plugins/exportFile/types/xlsx/numeric-utils.d.ts +17 -0
  1444. package/plugins/exportFile/types/xlsx/numeric-utils.js +4 -41
  1445. package/plugins/exportFile/types/xlsx/numeric-utils.mjs +1 -31
  1446. package/plugins/exportFile/types/xlsx.d.mts +2 -0
  1447. package/plugins/exportFile/types/xlsx.d.ts +120 -0
  1448. package/plugins/exportFile/types/xlsx.js +12 -9
  1449. package/plugins/exportFile/types/xlsx.mjs +12 -9
  1450. package/plugins/exportFile/utils.d.mts +1 -0
  1451. package/plugins/exportFile/utils.d.ts +9 -0
  1452. package/plugins/filters/component/_base.d.mts +1 -0
  1453. package/plugins/filters/component/_base.d.ts +115 -0
  1454. package/plugins/filters/component/_base.js +15 -4
  1455. package/plugins/filters/component/_base.mjs +15 -4
  1456. package/plugins/filters/component/actionBar.d.mts +1 -0
  1457. package/plugins/filters/component/actionBar.d.ts +57 -0
  1458. package/plugins/filters/component/actionBar.js +20 -7
  1459. package/plugins/filters/component/actionBar.mjs +21 -8
  1460. package/plugins/filters/component/condition.d.mts +1 -0
  1461. package/plugins/filters/component/condition.d.ts +114 -0
  1462. package/plugins/filters/component/condition.js +31 -23
  1463. package/plugins/filters/component/condition.mjs +32 -24
  1464. package/plugins/filters/component/operators.d.mts +1 -0
  1465. package/plugins/filters/component/operators.d.ts +76 -0
  1466. package/plugins/filters/component/operators.js +18 -9
  1467. package/plugins/filters/component/operators.mjs +19 -10
  1468. package/plugins/filters/component/value.d.mts +1 -0
  1469. package/plugins/filters/component/value.d.ts +147 -0
  1470. package/plugins/filters/component/value.js +39 -23
  1471. package/plugins/filters/component/value.mjs +40 -24
  1472. package/plugins/filters/condition/beginsWith.d.mts +1 -0
  1473. package/plugins/filters/condition/beginsWith.d.ts +19 -0
  1474. package/plugins/filters/condition/beginsWith.js +2 -1
  1475. package/plugins/filters/condition/beginsWith.mjs +2 -1
  1476. package/plugins/filters/condition/between.d.mts +1 -0
  1477. package/plugins/filters/condition/between.d.ts +20 -0
  1478. package/plugins/filters/condition/between.js +10 -11
  1479. package/plugins/filters/condition/between.mjs +11 -12
  1480. package/plugins/filters/condition/byValue.d.mts +1 -0
  1481. package/plugins/filters/condition/byValue.d.ts +19 -0
  1482. package/plugins/filters/condition/contains.d.mts +1 -0
  1483. package/plugins/filters/condition/contains.d.ts +19 -0
  1484. package/plugins/filters/condition/contains.js +2 -1
  1485. package/plugins/filters/condition/contains.mjs +2 -1
  1486. package/plugins/filters/condition/date/after.d.mts +1 -0
  1487. package/plugins/filters/condition/date/after.d.ts +19 -0
  1488. package/plugins/filters/condition/date/after.js +5 -10
  1489. package/plugins/filters/condition/date/after.mjs +5 -5
  1490. package/plugins/filters/condition/date/afterOrEqual.d.mts +1 -0
  1491. package/plugins/filters/condition/date/afterOrEqual.d.ts +19 -0
  1492. package/plugins/filters/condition/date/afterOrEqual.js +76 -0
  1493. package/plugins/filters/condition/date/afterOrEqual.mjs +22 -0
  1494. package/plugins/filters/condition/date/before.d.mts +1 -0
  1495. package/plugins/filters/condition/date/before.d.ts +19 -0
  1496. package/plugins/filters/condition/date/before.js +5 -10
  1497. package/plugins/filters/condition/date/before.mjs +5 -5
  1498. package/plugins/filters/condition/date/beforeOrEqual.d.mts +1 -0
  1499. package/plugins/filters/condition/date/beforeOrEqual.d.ts +19 -0
  1500. package/plugins/filters/condition/date/beforeOrEqual.js +76 -0
  1501. package/plugins/filters/condition/date/beforeOrEqual.mjs +22 -0
  1502. package/plugins/filters/condition/date/today.d.mts +1 -0
  1503. package/plugins/filters/condition/date/today.d.ts +17 -0
  1504. package/plugins/filters/condition/date/today.js +4 -9
  1505. package/plugins/filters/condition/date/today.mjs +4 -4
  1506. package/plugins/filters/condition/date/tomorrow.d.mts +1 -0
  1507. package/plugins/filters/condition/date/tomorrow.d.ts +17 -0
  1508. package/plugins/filters/condition/date/tomorrow.js +4 -9
  1509. package/plugins/filters/condition/date/tomorrow.mjs +4 -4
  1510. package/plugins/filters/condition/date/yesterday.d.mts +1 -0
  1511. package/plugins/filters/condition/date/yesterday.d.ts +17 -0
  1512. package/plugins/filters/condition/date/yesterday.js +4 -9
  1513. package/plugins/filters/condition/date/yesterday.mjs +4 -4
  1514. package/plugins/filters/condition/empty.d.mts +1 -0
  1515. package/plugins/filters/condition/empty.d.ts +17 -0
  1516. package/plugins/filters/condition/endsWith.d.mts +1 -0
  1517. package/plugins/filters/condition/endsWith.d.ts +19 -0
  1518. package/plugins/filters/condition/endsWith.js +2 -1
  1519. package/plugins/filters/condition/endsWith.mjs +2 -1
  1520. package/plugins/filters/condition/equal.d.mts +1 -0
  1521. package/plugins/filters/condition/equal.d.ts +19 -0
  1522. package/plugins/filters/condition/equal.js +2 -1
  1523. package/plugins/filters/condition/equal.mjs +2 -1
  1524. package/plugins/filters/condition/false.d.mts +1 -0
  1525. package/plugins/filters/condition/false.d.ts +5 -0
  1526. package/plugins/filters/condition/greaterThan.d.mts +1 -0
  1527. package/plugins/filters/condition/greaterThan.d.ts +19 -0
  1528. package/plugins/filters/condition/greaterThan.js +1 -1
  1529. package/plugins/filters/condition/greaterThan.mjs +1 -1
  1530. package/plugins/filters/condition/greaterThanOrEqual.d.mts +1 -0
  1531. package/plugins/filters/condition/greaterThanOrEqual.d.ts +19 -0
  1532. package/plugins/filters/condition/greaterThanOrEqual.js +1 -1
  1533. package/plugins/filters/condition/greaterThanOrEqual.mjs +1 -1
  1534. package/plugins/filters/condition/intlDate/after.d.mts +1 -0
  1535. package/plugins/filters/condition/intlDate/after.d.ts +16 -0
  1536. package/plugins/filters/condition/intlDate/after.js +1 -1
  1537. package/plugins/filters/condition/intlDate/after.mjs +2 -5
  1538. package/plugins/filters/condition/intlDate/afterOrEqual.d.mts +1 -0
  1539. package/plugins/filters/condition/intlDate/afterOrEqual.d.ts +13 -0
  1540. package/plugins/filters/condition/intlDate/afterOrEqual.js +77 -0
  1541. package/plugins/filters/condition/intlDate/afterOrEqual.mjs +23 -0
  1542. package/plugins/filters/condition/intlDate/before.d.mts +1 -0
  1543. package/plugins/filters/condition/intlDate/before.d.ts +18 -0
  1544. package/plugins/filters/condition/intlDate/before.js +1 -1
  1545. package/plugins/filters/condition/intlDate/before.mjs +4 -5
  1546. package/plugins/filters/condition/intlDate/beforeOrEqual.d.mts +1 -0
  1547. package/plugins/filters/condition/intlDate/beforeOrEqual.d.ts +13 -0
  1548. package/plugins/filters/condition/intlDate/beforeOrEqual.js +77 -0
  1549. package/plugins/filters/condition/intlDate/beforeOrEqual.mjs +23 -0
  1550. package/plugins/filters/condition/intlDate/between.d.mts +1 -0
  1551. package/plugins/filters/condition/intlDate/between.d.ts +14 -0
  1552. package/plugins/filters/condition/intlDate/between.js +8 -9
  1553. package/plugins/filters/condition/intlDate/between.mjs +9 -10
  1554. package/plugins/filters/condition/intlDate/today.d.mts +1 -0
  1555. package/plugins/filters/condition/intlDate/today.d.ts +17 -0
  1556. package/plugins/filters/condition/intlDate/today.mjs +2 -2
  1557. package/plugins/filters/condition/intlDate/tomorrow.d.mts +1 -0
  1558. package/plugins/filters/condition/intlDate/tomorrow.d.ts +17 -0
  1559. package/plugins/filters/condition/intlDate/tomorrow.mjs +2 -2
  1560. package/plugins/filters/condition/intlDate/yesterday.d.mts +1 -0
  1561. package/plugins/filters/condition/intlDate/yesterday.d.ts +16 -0
  1562. package/plugins/filters/condition/intlDate/yesterday.mjs +1 -2
  1563. package/plugins/filters/condition/intlTime/after.d.mts +1 -0
  1564. package/plugins/filters/condition/intlTime/after.d.ts +18 -0
  1565. package/plugins/filters/condition/intlTime/after.js +1 -1
  1566. package/plugins/filters/condition/intlTime/after.mjs +4 -5
  1567. package/plugins/filters/condition/intlTime/afterOrEqual.d.mts +1 -0
  1568. package/plugins/filters/condition/intlTime/afterOrEqual.d.ts +19 -0
  1569. package/plugins/filters/condition/intlTime/afterOrEqual.js +77 -0
  1570. package/plugins/filters/condition/intlTime/afterOrEqual.mjs +23 -0
  1571. package/plugins/filters/condition/intlTime/before.d.mts +1 -0
  1572. package/plugins/filters/condition/intlTime/before.d.ts +16 -0
  1573. package/plugins/filters/condition/intlTime/before.js +1 -1
  1574. package/plugins/filters/condition/intlTime/before.mjs +2 -5
  1575. package/plugins/filters/condition/intlTime/beforeOrEqual.d.mts +1 -0
  1576. package/plugins/filters/condition/intlTime/beforeOrEqual.d.ts +19 -0
  1577. package/plugins/filters/condition/intlTime/beforeOrEqual.js +77 -0
  1578. package/plugins/filters/condition/intlTime/beforeOrEqual.mjs +23 -0
  1579. package/plugins/filters/condition/intlTime/between.d.mts +1 -0
  1580. package/plugins/filters/condition/intlTime/between.d.ts +18 -0
  1581. package/plugins/filters/condition/intlTime/between.js +8 -9
  1582. package/plugins/filters/condition/intlTime/between.mjs +12 -15
  1583. package/plugins/filters/condition/lessThan.d.mts +1 -0
  1584. package/plugins/filters/condition/lessThan.d.ts +19 -0
  1585. package/plugins/filters/condition/lessThan.js +1 -1
  1586. package/plugins/filters/condition/lessThan.mjs +1 -1
  1587. package/plugins/filters/condition/lessThanOrEqual.d.mts +1 -0
  1588. package/plugins/filters/condition/lessThanOrEqual.d.ts +19 -0
  1589. package/plugins/filters/condition/lessThanOrEqual.js +1 -1
  1590. package/plugins/filters/condition/lessThanOrEqual.mjs +1 -1
  1591. package/plugins/filters/condition/none.d.mts +1 -0
  1592. package/plugins/filters/condition/none.d.ts +5 -0
  1593. package/plugins/filters/condition/notBetween.d.mts +1 -0
  1594. package/plugins/filters/condition/notBetween.d.ts +18 -0
  1595. package/plugins/filters/condition/notContains.d.mts +1 -0
  1596. package/plugins/filters/condition/notContains.d.ts +18 -0
  1597. package/plugins/filters/condition/notEmpty.d.mts +1 -0
  1598. package/plugins/filters/condition/notEmpty.d.ts +18 -0
  1599. package/plugins/filters/condition/notEqual.d.mts +1 -0
  1600. package/plugins/filters/condition/notEqual.d.ts +18 -0
  1601. package/plugins/filters/condition/true.d.mts +1 -0
  1602. package/plugins/filters/condition/true.d.ts +5 -0
  1603. package/plugins/filters/conditionCollection.d.mts +2 -0
  1604. package/plugins/filters/conditionCollection.d.ts +142 -32
  1605. package/plugins/filters/conditionCollection.js +11 -5
  1606. package/plugins/filters/conditionCollection.mjs +11 -5
  1607. package/plugins/filters/conditionRegisterer.d.mts +1 -0
  1608. package/plugins/filters/conditionRegisterer.d.ts +36 -0
  1609. package/plugins/filters/conditionRegisterer.js +5 -5
  1610. package/plugins/filters/conditionRegisterer.mjs +5 -5
  1611. package/plugins/filters/conditionUpdateObserver.d.mts +2 -0
  1612. package/plugins/filters/conditionUpdateObserver.d.ts +87 -5
  1613. package/plugins/filters/conditionUpdateObserver.js +14 -8
  1614. package/plugins/filters/conditionUpdateObserver.mjs +14 -8
  1615. package/plugins/filters/constants.d.mts +2 -0
  1616. package/plugins/filters/constants.d.ts +48 -0
  1617. package/plugins/filters/constants.js +22 -4
  1618. package/plugins/filters/constants.mjs +18 -6
  1619. package/plugins/filters/dataFilter.d.mts +2 -0
  1620. package/plugins/filters/dataFilter.d.ts +52 -0
  1621. package/plugins/filters/dataFilter.js +3 -1
  1622. package/plugins/filters/dataFilter.mjs +3 -1
  1623. package/plugins/filters/filters.d.mts +1 -0
  1624. package/plugins/filters/filters.d.ts +708 -53
  1625. package/plugins/filters/filters.js +276 -166
  1626. package/plugins/filters/filters.mjs +277 -167
  1627. package/plugins/filters/index.d.mts +1 -0
  1628. package/plugins/filters/index.d.ts +2 -1
  1629. package/plugins/filters/logicalOperationRegisterer.d.mts +1 -0
  1630. package/plugins/filters/logicalOperationRegisterer.d.ts +26 -0
  1631. package/plugins/filters/logicalOperations/conjunction.d.mts +1 -0
  1632. package/plugins/filters/logicalOperations/conjunction.d.ts +10 -0
  1633. package/plugins/filters/logicalOperations/disjunction.d.mts +1 -0
  1634. package/plugins/filters/logicalOperations/disjunction.d.ts +10 -0
  1635. package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.d.mts +1 -0
  1636. package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.d.ts +10 -0
  1637. package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +3 -1
  1638. package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.mjs +3 -1
  1639. package/plugins/filters/menu/focusController.d.mts +1 -0
  1640. package/plugins/filters/menu/focusController.d.ts +34 -0
  1641. package/plugins/filters/menu/focusNavigator.d.mts +1 -0
  1642. package/plugins/filters/menu/focusNavigator.d.ts +17 -0
  1643. package/plugins/filters/menu/focusNavigator.js +2 -1
  1644. package/plugins/filters/menu/focusNavigator.mjs +3 -2
  1645. package/plugins/filters/sortComparators.d.mts +1 -0
  1646. package/plugins/filters/sortComparators.d.ts +16 -0
  1647. package/plugins/filters/sortComparators.js +55 -0
  1648. package/plugins/filters/sortComparators.mjs +49 -0
  1649. package/plugins/filters/ui/_base.d.mts +1 -0
  1650. package/plugins/filters/ui/_base.d.ts +122 -0
  1651. package/plugins/filters/ui/_base.js +45 -21
  1652. package/plugins/filters/ui/_base.mjs +45 -21
  1653. package/plugins/filters/ui/input.d.mts +1 -0
  1654. package/plugins/filters/ui/input.d.ts +34 -0
  1655. package/plugins/filters/ui/input.js +17 -9
  1656. package/plugins/filters/ui/input.mjs +18 -10
  1657. package/plugins/filters/ui/link.d.mts +1 -0
  1658. package/plugins/filters/ui/link.d.ts +34 -0
  1659. package/plugins/filters/ui/link.js +16 -7
  1660. package/plugins/filters/ui/link.mjs +16 -7
  1661. package/plugins/filters/ui/multipleSelect.d.mts +2 -0
  1662. package/plugins/filters/ui/multipleSelect.d.ts +111 -0
  1663. package/plugins/filters/ui/multipleSelect.js +80 -62
  1664. package/plugins/filters/ui/multipleSelect.mjs +81 -63
  1665. package/plugins/filters/ui/radioInput.d.mts +1 -0
  1666. package/plugins/filters/ui/radioInput.d.ts +42 -0
  1667. package/plugins/filters/ui/radioInput.js +20 -9
  1668. package/plugins/filters/ui/radioInput.mjs +20 -9
  1669. package/plugins/filters/ui/select.d.mts +1 -0
  1670. package/plugins/filters/ui/select.d.ts +73 -0
  1671. package/plugins/filters/ui/select.js +48 -32
  1672. package/plugins/filters/ui/select.mjs +48 -32
  1673. package/plugins/filters/utils.d.mts +1 -0
  1674. package/plugins/filters/utils.d.ts +44 -0
  1675. package/plugins/filters/utils.js +4 -3
  1676. package/plugins/filters/utils.mjs +7 -4
  1677. package/plugins/formulas/engine/register.d.mts +1 -0
  1678. package/plugins/formulas/engine/register.d.ts +63 -0
  1679. package/plugins/formulas/engine/register.js +19 -12
  1680. package/plugins/formulas/engine/register.mjs +19 -12
  1681. package/plugins/formulas/engine/settings.d.mts +1 -0
  1682. package/plugins/formulas/engine/settings.d.ts +101 -0
  1683. package/plugins/formulas/engine/settings.js +8 -5
  1684. package/plugins/formulas/engine/settings.mjs +8 -5
  1685. package/plugins/formulas/engine/types.d.mts +1 -0
  1686. package/plugins/formulas/engine/types.d.ts +73 -0
  1687. package/plugins/formulas/engine/types.js +7 -0
  1688. package/plugins/formulas/engine/types.mjs +7 -0
  1689. package/plugins/formulas/formulas.d.mts +1 -0
  1690. package/plugins/formulas/formulas.d.ts +170 -40
  1691. package/plugins/formulas/formulas.js +699 -509
  1692. package/plugins/formulas/formulas.mjs +700 -510
  1693. package/plugins/formulas/index.d.mts +1 -0
  1694. package/plugins/formulas/index.d.ts +1 -1
  1695. package/plugins/formulas/indexSyncer/axisSyncer.d.mts +2 -0
  1696. package/plugins/formulas/indexSyncer/axisSyncer.d.ts +94 -0
  1697. package/plugins/formulas/indexSyncer/axisSyncer.js +91 -25
  1698. package/plugins/formulas/indexSyncer/axisSyncer.mjs +91 -25
  1699. package/plugins/formulas/indexSyncer/index.d.mts +2 -0
  1700. package/plugins/formulas/indexSyncer/index.d.ts +71 -0
  1701. package/plugins/formulas/indexSyncer/index.js +25 -23
  1702. package/plugins/formulas/indexSyncer/index.mjs +25 -23
  1703. package/plugins/formulas/utils.d.mts +1 -0
  1704. package/plugins/formulas/utils.d.ts +76 -0
  1705. package/plugins/formulas/utils.js +30 -20
  1706. package/plugins/formulas/utils.mjs +42 -26
  1707. package/plugins/hiddenColumns/contextMenuItem/hideColumn.d.mts +2 -0
  1708. package/plugins/hiddenColumns/contextMenuItem/hideColumn.d.ts +12 -0
  1709. package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +9 -2
  1710. package/plugins/hiddenColumns/contextMenuItem/hideColumn.mjs +9 -2
  1711. package/plugins/hiddenColumns/contextMenuItem/showColumn.d.mts +2 -0
  1712. package/plugins/hiddenColumns/contextMenuItem/showColumn.d.ts +12 -0
  1713. package/plugins/hiddenColumns/contextMenuItem/showColumn.js +13 -6
  1714. package/plugins/hiddenColumns/contextMenuItem/showColumn.mjs +13 -6
  1715. package/plugins/hiddenColumns/hiddenColumns.d.mts +1 -0
  1716. package/plugins/hiddenColumns/hiddenColumns.d.ts +264 -20
  1717. package/plugins/hiddenColumns/hiddenColumns.js +134 -100
  1718. package/plugins/hiddenColumns/hiddenColumns.mjs +136 -102
  1719. package/plugins/hiddenColumns/index.d.mts +1 -0
  1720. package/plugins/hiddenColumns/index.d.ts +1 -1
  1721. package/plugins/hiddenRows/contextMenuItem/hideRow.d.mts +2 -0
  1722. package/plugins/hiddenRows/contextMenuItem/hideRow.d.ts +12 -0
  1723. package/plugins/hiddenRows/contextMenuItem/hideRow.js +9 -2
  1724. package/plugins/hiddenRows/contextMenuItem/hideRow.mjs +9 -2
  1725. package/plugins/hiddenRows/contextMenuItem/showRow.d.mts +2 -0
  1726. package/plugins/hiddenRows/contextMenuItem/showRow.d.ts +12 -0
  1727. package/plugins/hiddenRows/contextMenuItem/showRow.js +15 -6
  1728. package/plugins/hiddenRows/contextMenuItem/showRow.mjs +15 -6
  1729. package/plugins/hiddenRows/hiddenRows.d.mts +1 -0
  1730. package/plugins/hiddenRows/hiddenRows.d.ts +264 -20
  1731. package/plugins/hiddenRows/hiddenRows.js +127 -93
  1732. package/plugins/hiddenRows/hiddenRows.mjs +129 -95
  1733. package/plugins/hiddenRows/index.d.mts +1 -0
  1734. package/plugins/hiddenRows/index.d.ts +1 -1
  1735. package/plugins/index.d.mts +1 -0
  1736. package/plugins/index.d.ts +56 -91
  1737. package/plugins/index.mjs +2 -2
  1738. package/plugins/loading/content.d.mts +1 -0
  1739. package/plugins/loading/content.d.ts +18 -0
  1740. package/plugins/loading/index.d.mts +1 -0
  1741. package/plugins/loading/index.d.ts +1 -1
  1742. package/plugins/loading/loading.d.mts +1 -0
  1743. package/plugins/loading/loading.d.ts +171 -17
  1744. package/plugins/loading/loading.js +12 -4
  1745. package/plugins/loading/loading.mjs +12 -4
  1746. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.d.mts +2 -0
  1747. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.d.ts +15 -0
  1748. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +3 -2
  1749. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.mjs +3 -2
  1750. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.d.mts +2 -0
  1751. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.d.ts +15 -0
  1752. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +9 -3
  1753. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.mjs +9 -3
  1754. package/plugins/manualColumnFreeze/index.d.mts +1 -0
  1755. package/plugins/manualColumnFreeze/index.d.ts +1 -1
  1756. package/plugins/manualColumnFreeze/manualColumnFreeze.d.mts +1 -0
  1757. package/plugins/manualColumnFreeze/manualColumnFreeze.d.ts +63 -9
  1758. package/plugins/manualColumnFreeze/manualColumnFreeze.js +33 -24
  1759. package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +34 -25
  1760. package/plugins/manualColumnMove/index.d.mts +1 -0
  1761. package/plugins/manualColumnMove/index.d.ts +1 -1
  1762. package/plugins/manualColumnMove/manualColumnMove.d.mts +1 -0
  1763. package/plugins/manualColumnMove/manualColumnMove.d.ts +192 -12
  1764. package/plugins/manualColumnMove/manualColumnMove.js +187 -135
  1765. package/plugins/manualColumnMove/manualColumnMove.mjs +189 -137
  1766. package/plugins/manualColumnMove/ui/_base.d.mts +2 -0
  1767. package/plugins/manualColumnMove/ui/_base.d.ts +112 -0
  1768. package/plugins/manualColumnMove/ui/_base.js +12 -9
  1769. package/plugins/manualColumnMove/ui/_base.mjs +12 -9
  1770. package/plugins/manualColumnMove/ui/backlight.d.mts +2 -0
  1771. package/plugins/manualColumnMove/ui/backlight.d.ts +12 -0
  1772. package/plugins/manualColumnMove/ui/guideline.d.mts +2 -0
  1773. package/plugins/manualColumnMove/ui/guideline.d.ts +12 -0
  1774. package/plugins/manualColumnResize/index.d.mts +1 -0
  1775. package/plugins/manualColumnResize/index.d.ts +1 -1
  1776. package/plugins/manualColumnResize/manualColumnResize.d.mts +1 -0
  1777. package/plugins/manualColumnResize/manualColumnResize.d.ts +153 -28
  1778. package/plugins/manualColumnResize/manualColumnResize.js +118 -55
  1779. package/plugins/manualColumnResize/manualColumnResize.mjs +121 -58
  1780. package/plugins/manualColumnResize/utils.d.mts +1 -0
  1781. package/plugins/manualColumnResize/utils.d.ts +1 -0
  1782. package/plugins/manualColumnResize/utils.js +6 -0
  1783. package/plugins/manualColumnResize/utils.mjs +1 -1
  1784. package/plugins/manualResize/utils.d.mts +1 -0
  1785. package/plugins/manualResize/utils.d.ts +36 -0
  1786. package/plugins/manualResize/utils.js +12 -0
  1787. package/plugins/manualResize/utils.mjs +18 -0
  1788. package/plugins/manualRowMove/index.d.mts +1 -0
  1789. package/plugins/manualRowMove/index.d.ts +1 -1
  1790. package/plugins/manualRowMove/manualRowMove.d.mts +1 -0
  1791. package/plugins/manualRowMove/manualRowMove.d.ts +204 -12
  1792. package/plugins/manualRowMove/manualRowMove.js +142 -102
  1793. package/plugins/manualRowMove/manualRowMove.mjs +143 -103
  1794. package/plugins/manualRowMove/ui/_base.d.mts +2 -0
  1795. package/plugins/manualRowMove/ui/_base.d.ts +104 -0
  1796. package/plugins/manualRowMove/ui/_base.js +12 -10
  1797. package/plugins/manualRowMove/ui/_base.mjs +12 -10
  1798. package/plugins/manualRowMove/ui/backlight.d.mts +2 -0
  1799. package/plugins/manualRowMove/ui/backlight.d.ts +12 -0
  1800. package/plugins/manualRowMove/ui/guideline.d.mts +2 -0
  1801. package/plugins/manualRowMove/ui/guideline.d.ts +12 -0
  1802. package/plugins/manualRowResize/index.d.mts +1 -0
  1803. package/plugins/manualRowResize/index.d.ts +1 -1
  1804. package/plugins/manualRowResize/manualRowResize.d.mts +1 -0
  1805. package/plugins/manualRowResize/manualRowResize.d.ts +157 -28
  1806. package/plugins/manualRowResize/manualRowResize.js +109 -50
  1807. package/plugins/manualRowResize/manualRowResize.mjs +112 -53
  1808. package/plugins/mergeCells/calculations/autofill.d.mts +2 -0
  1809. package/plugins/mergeCells/calculations/autofill.d.ts +128 -0
  1810. package/plugins/mergeCells/calculations/autofill.js +35 -30
  1811. package/plugins/mergeCells/calculations/autofill.mjs +35 -30
  1812. package/plugins/mergeCells/calculations/selection.d.mts +2 -0
  1813. package/plugins/mergeCells/calculations/selection.d.ts +69 -0
  1814. package/plugins/mergeCells/calculations/selection.js +14 -9
  1815. package/plugins/mergeCells/calculations/selection.mjs +9 -4
  1816. package/plugins/mergeCells/cellCoords.d.mts +2 -0
  1817. package/plugins/mergeCells/cellCoords.d.ts +218 -0
  1818. package/plugins/mergeCells/cellCoords.js +3 -1
  1819. package/plugins/mergeCells/cellCoords.mjs +3 -1
  1820. package/plugins/mergeCells/cellsCollection.d.mts +2 -0
  1821. package/plugins/mergeCells/cellsCollection.d.ts +220 -0
  1822. package/plugins/mergeCells/cellsCollection.js +132 -8
  1823. package/plugins/mergeCells/cellsCollection.mjs +132 -8
  1824. package/plugins/mergeCells/contextMenuItem/toggleMerge.d.mts +2 -0
  1825. package/plugins/mergeCells/contextMenuItem/toggleMerge.d.ts +22 -0
  1826. package/plugins/mergeCells/contextMenuItem/toggleMerge.js +5 -3
  1827. package/plugins/mergeCells/contextMenuItem/toggleMerge.mjs +5 -3
  1828. package/plugins/mergeCells/focusOrder.d.mts +1 -0
  1829. package/plugins/mergeCells/focusOrder.d.ts +101 -0
  1830. package/plugins/mergeCells/focusOrder.js +50 -43
  1831. package/plugins/mergeCells/focusOrder.mjs +50 -43
  1832. package/plugins/mergeCells/index.d.mts +1 -0
  1833. package/plugins/mergeCells/index.d.ts +1 -1
  1834. package/plugins/mergeCells/mergeCells.d.mts +1 -0
  1835. package/plugins/mergeCells/mergeCells.d.ts +305 -25
  1836. package/plugins/mergeCells/mergeCells.js +794 -563
  1837. package/plugins/mergeCells/mergeCells.mjs +795 -564
  1838. package/plugins/mergeCells/renderer.d.mts +1 -0
  1839. package/plugins/mergeCells/renderer.d.ts +31 -0
  1840. package/plugins/mergeCells/renderer.js +36 -21
  1841. package/plugins/mergeCells/renderer.mjs +36 -23
  1842. package/plugins/mergeCells/utils.d.mts +1 -0
  1843. package/plugins/mergeCells/utils.d.ts +10 -0
  1844. package/plugins/mergeCells/utils.js +1 -8
  1845. package/plugins/multiColumnSorting/domHelpers.d.mts +1 -0
  1846. package/plugins/multiColumnSorting/domHelpers.d.ts +17 -0
  1847. package/plugins/multiColumnSorting/index.d.mts +1 -0
  1848. package/plugins/multiColumnSorting/index.d.ts +1 -1
  1849. package/plugins/multiColumnSorting/multiColumnSorting.d.mts +1 -0
  1850. package/plugins/multiColumnSorting/multiColumnSorting.d.ts +203 -6
  1851. package/plugins/multiColumnSorting/multiColumnSorting.js +28 -18
  1852. package/plugins/multiColumnSorting/multiColumnSorting.mjs +27 -17
  1853. package/plugins/multiColumnSorting/rootComparator.d.mts +1 -0
  1854. package/plugins/multiColumnSorting/rootComparator.d.ts +8 -0
  1855. package/plugins/multipleSelectionHandles/index.d.mts +1 -0
  1856. package/plugins/multipleSelectionHandles/index.d.ts +1 -1
  1857. package/plugins/multipleSelectionHandles/multipleSelectionHandles.d.mts +1 -0
  1858. package/plugins/multipleSelectionHandles/multipleSelectionHandles.d.ts +63 -26
  1859. package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +71 -51
  1860. package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +72 -52
  1861. package/plugins/nestedHeaders/index.d.mts +1 -0
  1862. package/plugins/nestedHeaders/index.d.ts +2 -1
  1863. package/plugins/nestedHeaders/nestedHeaders.d.mts +1 -0
  1864. package/plugins/nestedHeaders/nestedHeaders.d.ts +182 -16
  1865. package/plugins/nestedHeaders/nestedHeaders.js +692 -658
  1866. package/plugins/nestedHeaders/nestedHeaders.mjs +693 -659
  1867. package/plugins/nestedHeaders/stateManager/columnVisibility.d.mts +1 -0
  1868. package/plugins/nestedHeaders/stateManager/columnVisibility.d.ts +17 -0
  1869. package/plugins/nestedHeaders/stateManager/columnVisibility.js +21 -0
  1870. package/plugins/nestedHeaders/stateManager/columnVisibility.mjs +15 -0
  1871. package/plugins/nestedHeaders/stateManager/headersTree.d.mts +2 -0
  1872. package/plugins/nestedHeaders/stateManager/headersTree.d.ts +94 -0
  1873. package/plugins/nestedHeaders/stateManager/headersTree.js +36 -29
  1874. package/plugins/nestedHeaders/stateManager/headersTree.mjs +40 -61
  1875. package/plugins/nestedHeaders/stateManager/index.d.mts +2 -0
  1876. package/plugins/nestedHeaders/stateManager/index.d.ts +211 -0
  1877. package/plugins/nestedHeaders/stateManager/index.js +241 -114
  1878. package/plugins/nestedHeaders/stateManager/index.mjs +239 -135
  1879. package/plugins/nestedHeaders/stateManager/matrixGenerator.d.mts +1 -0
  1880. package/plugins/nestedHeaders/stateManager/matrixGenerator.d.ts +32 -0
  1881. package/plugins/nestedHeaders/stateManager/matrixGenerator.js +2 -2
  1882. package/plugins/nestedHeaders/stateManager/matrixGenerator.mjs +2 -2
  1883. package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.d.mts +1 -0
  1884. package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.d.ts +11 -0
  1885. package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.js +63 -17
  1886. package/plugins/nestedHeaders/stateManager/nodeModifiers/collapse.mjs +66 -30
  1887. package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.d.mts +1 -0
  1888. package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.d.ts +11 -0
  1889. package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.js +34 -15
  1890. package/plugins/nestedHeaders/stateManager/nodeModifiers/expand.mjs +37 -27
  1891. package/plugins/nestedHeaders/stateManager/nodeModifiers/index.d.mts +1 -0
  1892. package/plugins/nestedHeaders/stateManager/nodeModifiers/index.d.ts +19 -0
  1893. package/plugins/nestedHeaders/stateManager/nodeModifiers/index.js +3 -12
  1894. package/plugins/nestedHeaders/stateManager/nodeModifiers/index.mjs +5 -20
  1895. package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.d.mts +1 -0
  1896. package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.d.ts +53 -0
  1897. package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.js +32 -18
  1898. package/plugins/nestedHeaders/stateManager/nodeModifiers/utils/tree.mjs +46 -21
  1899. package/plugins/nestedHeaders/stateManager/settingsNormalizer.d.mts +1 -0
  1900. package/plugins/nestedHeaders/stateManager/settingsNormalizer.d.ts +39 -0
  1901. package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +19 -7
  1902. package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +19 -7
  1903. package/plugins/nestedHeaders/stateManager/sourceSettings.d.mts +2 -0
  1904. package/plugins/nestedHeaders/stateManager/sourceSettings.d.ts +117 -0
  1905. package/plugins/nestedHeaders/stateManager/sourceSettings.js +85 -16
  1906. package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +85 -16
  1907. package/plugins/nestedHeaders/stateManager/syncVisibility.d.mts +1 -0
  1908. package/plugins/nestedHeaders/stateManager/syncVisibility.d.ts +15 -0
  1909. package/plugins/nestedHeaders/stateManager/syncVisibility.js +27 -0
  1910. package/plugins/nestedHeaders/stateManager/syncVisibility.mjs +27 -0
  1911. package/plugins/nestedHeaders/stateManager/utils.d.mts +1 -0
  1912. package/plugins/nestedHeaders/stateManager/utils.d.ts +81 -0
  1913. package/plugins/nestedHeaders/stateManager/utils.js +9 -5
  1914. package/plugins/nestedHeaders/stateManager/utils.mjs +11 -2
  1915. package/plugins/nestedHeaders/utils/ghostTable.d.mts +2 -0
  1916. package/plugins/nestedHeaders/utils/ghostTable.d.ts +76 -0
  1917. package/plugins/nestedHeaders/utils/ghostTable.js +34 -64
  1918. package/plugins/nestedHeaders/utils/ghostTable.mjs +34 -64
  1919. package/plugins/nestedHeaders/utils/navigation.d.mts +1 -0
  1920. package/plugins/nestedHeaders/utils/navigation.d.ts +18 -0
  1921. package/plugins/nestedHeaders/utils/navigation.js +1 -10
  1922. package/plugins/nestedRows/data/dataManager.d.mts +2 -0
  1923. package/plugins/nestedRows/data/dataManager.d.ts +310 -0
  1924. package/plugins/nestedRows/data/dataManager.js +54 -37
  1925. package/plugins/nestedRows/data/dataManager.mjs +54 -37
  1926. package/plugins/nestedRows/index.d.mts +1 -0
  1927. package/plugins/nestedRows/index.d.ts +1 -1
  1928. package/plugins/nestedRows/nestedRows.d.mts +1 -0
  1929. package/plugins/nestedRows/nestedRows.d.ts +141 -10
  1930. package/plugins/nestedRows/nestedRows.js +214 -158
  1931. package/plugins/nestedRows/nestedRows.mjs +213 -157
  1932. package/plugins/nestedRows/ui/_base.d.mts +2 -0
  1933. package/plugins/nestedRows/ui/_base.d.ts +25 -0
  1934. package/plugins/nestedRows/ui/_base.js +3 -1
  1935. package/plugins/nestedRows/ui/_base.mjs +3 -1
  1936. package/plugins/nestedRows/ui/collapsing.d.mts +2 -0
  1937. package/plugins/nestedRows/ui/collapsing.d.ts +199 -0
  1938. package/plugins/nestedRows/ui/collapsing.js +23 -23
  1939. package/plugins/nestedRows/ui/collapsing.mjs +24 -24
  1940. package/plugins/nestedRows/ui/contextMenu.d.mts +2 -0
  1941. package/plugins/nestedRows/ui/contextMenu.d.ts +63 -0
  1942. package/plugins/nestedRows/ui/contextMenu.js +11 -8
  1943. package/plugins/nestedRows/ui/contextMenu.mjs +11 -8
  1944. package/plugins/nestedRows/ui/headers.d.mts +2 -0
  1945. package/plugins/nestedRows/ui/headers.d.ts +81 -0
  1946. package/plugins/nestedRows/ui/headers.js +3 -1
  1947. package/plugins/nestedRows/ui/headers.mjs +3 -1
  1948. package/plugins/nestedRows/utils/isValidDataSource.d.mts +1 -0
  1949. package/plugins/nestedRows/utils/isValidDataSource.d.ts +7 -0
  1950. package/plugins/nestedRows/utils/rowMoveController.d.mts +2 -0
  1951. package/plugins/nestedRows/utils/rowMoveController.d.ts +156 -0
  1952. package/plugins/nestedRows/utils/rowMoveController.js +22 -11
  1953. package/plugins/nestedRows/utils/rowMoveController.mjs +22 -11
  1954. package/plugins/notification/constants.d.mts +1 -0
  1955. package/plugins/notification/constants.d.ts +8 -0
  1956. package/plugins/notification/constants.mjs +1 -5
  1957. package/plugins/notification/index.d.mts +1 -0
  1958. package/plugins/notification/index.d.ts +2 -1
  1959. package/plugins/notification/notification.d.mts +1 -0
  1960. package/plugins/notification/notification.d.ts +145 -43
  1961. package/plugins/notification/notification.js +45 -34
  1962. package/plugins/notification/notification.mjs +45 -34
  1963. package/plugins/notification/ui.d.mts +1 -0
  1964. package/plugins/notification/ui.d.ts +71 -0
  1965. package/plugins/notification/ui.js +15 -14
  1966. package/plugins/notification/ui.mjs +15 -14
  1967. package/plugins/pagination/index.d.mts +1 -0
  1968. package/plugins/pagination/index.d.ts +1 -1
  1969. package/plugins/pagination/pagination.d.mts +1 -0
  1970. package/plugins/pagination/pagination.d.ts +281 -54
  1971. package/plugins/pagination/pagination.js +194 -162
  1972. package/plugins/pagination/pagination.mjs +195 -163
  1973. package/plugins/pagination/strategies/autoPageSize.d.mts +1 -0
  1974. package/plugins/pagination/strategies/autoPageSize.d.ts +45 -0
  1975. package/plugins/pagination/strategies/fixedPageSize.d.mts +1 -0
  1976. package/plugins/pagination/strategies/fixedPageSize.d.ts +60 -0
  1977. package/plugins/pagination/strategies/index.d.mts +1 -0
  1978. package/plugins/pagination/strategies/index.d.ts +15 -0
  1979. package/plugins/pagination/strategies/index.mjs +1 -1
  1980. package/plugins/pagination/ui.d.mts +1 -0
  1981. package/plugins/pagination/ui.d.ts +94 -0
  1982. package/plugins/pagination/ui.js +36 -65
  1983. package/plugins/pagination/ui.mjs +36 -65
  1984. package/plugins/registry.d.mts +1 -0
  1985. package/plugins/registry.d.ts +39 -9
  1986. package/plugins/registry.js +3 -8
  1987. package/plugins/registry.mjs +4 -9
  1988. package/plugins/search/index.d.mts +1 -0
  1989. package/plugins/search/index.d.ts +1 -1
  1990. package/plugins/search/search.d.mts +1 -0
  1991. package/plugins/search/search.d.ts +146 -26
  1992. package/plugins/search/search.js +81 -37
  1993. package/plugins/search/search.mjs +82 -38
  1994. package/plugins/stretchColumns/calculator.d.mts +1 -0
  1995. package/plugins/stretchColumns/calculator.d.ts +31 -0
  1996. package/plugins/stretchColumns/calculator.js +23 -18
  1997. package/plugins/stretchColumns/calculator.mjs +23 -18
  1998. package/plugins/stretchColumns/index.d.mts +1 -0
  1999. package/plugins/stretchColumns/index.d.ts +1 -1
  2000. package/plugins/stretchColumns/strategies/_base.d.mts +1 -0
  2001. package/plugins/stretchColumns/strategies/_base.d.ts +65 -0
  2002. package/plugins/stretchColumns/strategies/_base.js +8 -1
  2003. package/plugins/stretchColumns/strategies/_base.mjs +8 -1
  2004. package/plugins/stretchColumns/strategies/all.d.mts +1 -0
  2005. package/plugins/stretchColumns/strategies/all.d.ts +13 -0
  2006. package/plugins/stretchColumns/strategies/last.d.mts +1 -0
  2007. package/plugins/stretchColumns/strategies/last.d.ts +33 -0
  2008. package/plugins/stretchColumns/stretchColumns.d.mts +1 -0
  2009. package/plugins/stretchColumns/stretchColumns.d.ts +107 -9
  2010. package/plugins/stretchColumns/stretchColumns.js +38 -38
  2011. package/plugins/stretchColumns/stretchColumns.mjs +40 -40
  2012. package/plugins/touchScroll/index.d.mts +1 -0
  2013. package/plugins/touchScroll/index.d.ts +1 -1
  2014. package/plugins/touchScroll/touchScroll.d.mts +1 -0
  2015. package/plugins/touchScroll/touchScroll.d.ts +71 -11
  2016. package/plugins/touchScroll/touchScroll.js +113 -76
  2017. package/plugins/touchScroll/touchScroll.mjs +113 -76
  2018. package/plugins/trimRows/index.d.mts +1 -0
  2019. package/plugins/trimRows/index.d.ts +1 -1
  2020. package/plugins/trimRows/trimRows.d.mts +1 -0
  2021. package/plugins/trimRows/trimRows.d.ts +249 -15
  2022. package/plugins/trimRows/trimRows.js +57 -24
  2023. package/plugins/trimRows/trimRows.mjs +59 -26
  2024. package/plugins/types.d.mts +1 -0
  2025. package/plugins/types.d.ts +91 -0
  2026. package/plugins/types.js +10 -0
  2027. package/plugins/types.mjs +10 -0
  2028. package/plugins/undoRedo/actions/_base.d.mts +1 -0
  2029. package/plugins/undoRedo/actions/_base.d.ts +24 -0
  2030. package/plugins/undoRedo/actions/_base.js +9 -3
  2031. package/plugins/undoRedo/actions/_base.mjs +9 -3
  2032. package/plugins/undoRedo/actions/cellAlignment.d.mts +1 -0
  2033. package/plugins/undoRedo/actions/cellAlignment.d.ts +51 -0
  2034. package/plugins/undoRedo/actions/cellAlignment.js +9 -4
  2035. package/plugins/undoRedo/actions/cellAlignment.mjs +9 -4
  2036. package/plugins/undoRedo/actions/columnMove.d.mts +1 -0
  2037. package/plugins/undoRedo/actions/columnMove.d.ts +40 -0
  2038. package/plugins/undoRedo/actions/columnMove.js +8 -4
  2039. package/plugins/undoRedo/actions/columnMove.mjs +8 -4
  2040. package/plugins/undoRedo/actions/columnSort.d.mts +1 -0
  2041. package/plugins/undoRedo/actions/columnSort.d.ts +40 -0
  2042. package/plugins/undoRedo/actions/columnSort.js +6 -2
  2043. package/plugins/undoRedo/actions/columnSort.mjs +6 -2
  2044. package/plugins/undoRedo/actions/createColumn.d.mts +1 -0
  2045. package/plugins/undoRedo/actions/createColumn.d.ts +40 -0
  2046. package/plugins/undoRedo/actions/createColumn.js +6 -2
  2047. package/plugins/undoRedo/actions/createColumn.mjs +6 -2
  2048. package/plugins/undoRedo/actions/createRow.d.mts +1 -0
  2049. package/plugins/undoRedo/actions/createRow.d.ts +40 -0
  2050. package/plugins/undoRedo/actions/createRow.js +8 -4
  2051. package/plugins/undoRedo/actions/createRow.mjs +8 -4
  2052. package/plugins/undoRedo/actions/dataChange.d.mts +1 -0
  2053. package/plugins/undoRedo/actions/dataChange.d.ts +50 -0
  2054. package/plugins/undoRedo/actions/dataChange.js +23 -22
  2055. package/plugins/undoRedo/actions/dataChange.mjs +23 -22
  2056. package/plugins/undoRedo/actions/filters.d.mts +1 -0
  2057. package/plugins/undoRedo/actions/filters.d.ts +40 -0
  2058. package/plugins/undoRedo/actions/filters.js +6 -2
  2059. package/plugins/undoRedo/actions/filters.mjs +6 -2
  2060. package/plugins/undoRedo/actions/index.d.mts +1 -0
  2061. package/plugins/undoRedo/actions/index.d.ts +8 -0
  2062. package/plugins/undoRedo/actions/mergeCells.d.mts +1 -0
  2063. package/plugins/undoRedo/actions/mergeCells.d.ts +41 -0
  2064. package/plugins/undoRedo/actions/mergeCells.js +12 -7
  2065. package/plugins/undoRedo/actions/mergeCells.mjs +12 -7
  2066. package/plugins/undoRedo/actions/removeColumn.d.mts +1 -0
  2067. package/plugins/undoRedo/actions/removeColumn.d.ts +75 -0
  2068. package/plugins/undoRedo/actions/removeColumn.js +22 -13
  2069. package/plugins/undoRedo/actions/removeColumn.mjs +22 -13
  2070. package/plugins/undoRedo/actions/removeRow.d.mts +1 -0
  2071. package/plugins/undoRedo/actions/removeRow.d.ts +77 -0
  2072. package/plugins/undoRedo/actions/removeRow.js +84 -10
  2073. package/plugins/undoRedo/actions/removeRow.mjs +84 -10
  2074. package/plugins/undoRedo/actions/rowMove.d.mts +1 -0
  2075. package/plugins/undoRedo/actions/rowMove.d.ts +40 -0
  2076. package/plugins/undoRedo/actions/rowMove.js +8 -4
  2077. package/plugins/undoRedo/actions/rowMove.mjs +8 -4
  2078. package/plugins/undoRedo/actions/unmergeCells.d.mts +1 -0
  2079. package/plugins/undoRedo/actions/unmergeCells.d.ts +36 -0
  2080. package/plugins/undoRedo/actions/unmergeCells.js +7 -3
  2081. package/plugins/undoRedo/actions/unmergeCells.mjs +7 -3
  2082. package/plugins/undoRedo/index.d.mts +1 -0
  2083. package/plugins/undoRedo/index.d.ts +2 -1
  2084. package/plugins/undoRedo/undoRedo.d.mts +1 -0
  2085. package/plugins/undoRedo/undoRedo.d.ts +137 -80
  2086. package/plugins/undoRedo/undoRedo.js +64 -27
  2087. package/plugins/undoRedo/undoRedo.mjs +64 -27
  2088. package/plugins/undoRedo/utils.d.mts +1 -0
  2089. package/plugins/undoRedo/utils.d.ts +12 -0
  2090. package/registry.d.mts +1 -0
  2091. package/registry.d.ts +10 -6
  2092. package/renderers/autocompleteRenderer/autocompleteRenderer.d.mts +1 -0
  2093. package/renderers/autocompleteRenderer/autocompleteRenderer.d.ts +19 -5
  2094. package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -1
  2095. package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +2 -2
  2096. package/renderers/autocompleteRenderer/index.d.mts +1 -0
  2097. package/renderers/baseRenderer/baseRenderer.d.mts +1 -0
  2098. package/renderers/baseRenderer/baseRenderer.d.ts +16 -5
  2099. package/renderers/baseRenderer/baseRenderer.js +3 -4
  2100. package/renderers/baseRenderer/baseRenderer.mjs +2 -1
  2101. package/renderers/baseRenderer/index.d.mts +1 -0
  2102. package/renderers/baseRenderer/index.d.ts +12 -1
  2103. package/renderers/checkboxRenderer/checkboxRenderer.d.mts +1 -0
  2104. package/renderers/checkboxRenderer/checkboxRenderer.d.ts +19 -5
  2105. package/renderers/checkboxRenderer/checkboxRenderer.js +95 -73
  2106. package/renderers/checkboxRenderer/checkboxRenderer.mjs +95 -73
  2107. package/renderers/checkboxRenderer/index.d.mts +1 -0
  2108. package/renderers/dateRenderer/dateRenderer.d.mts +1 -0
  2109. package/renderers/dateRenderer/dateRenderer.d.ts +23 -5
  2110. package/renderers/dateRenderer/dateRenderer.js +48 -8
  2111. package/renderers/dateRenderer/dateRenderer.mjs +43 -11
  2112. package/renderers/dateRenderer/index.d.mts +1 -0
  2113. package/renderers/dateRenderer/index.d.ts +1 -1
  2114. package/renderers/dateRenderer/index.js +3 -0
  2115. package/renderers/dateRenderer/index.mjs +1 -1
  2116. package/renderers/dropdownRenderer/dropdownRenderer.d.mts +1 -0
  2117. package/renderers/dropdownRenderer/dropdownRenderer.d.ts +19 -5
  2118. package/renderers/dropdownRenderer/index.d.mts +1 -0
  2119. package/renderers/factory.d.mts +1 -0
  2120. package/renderers/factory.d.ts +47 -20
  2121. package/renderers/factory.js +1 -34
  2122. package/renderers/factory.mjs +1 -34
  2123. package/renderers/handsontableRenderer/handsontableRenderer.d.mts +1 -0
  2124. package/renderers/handsontableRenderer/handsontableRenderer.d.ts +19 -5
  2125. package/renderers/handsontableRenderer/index.d.mts +1 -0
  2126. package/renderers/htmlRenderer/htmlRenderer.d.mts +1 -0
  2127. package/renderers/htmlRenderer/htmlRenderer.d.ts +16 -5
  2128. package/renderers/htmlRenderer/htmlRenderer.js +3 -1
  2129. package/renderers/htmlRenderer/htmlRenderer.mjs +3 -1
  2130. package/renderers/htmlRenderer/index.d.mts +1 -0
  2131. package/renderers/htmlRenderer/index.d.ts +1 -1
  2132. package/renderers/index.d.mts +1 -0
  2133. package/renderers/index.d.ts +13 -51
  2134. package/renderers/index.js +8 -0
  2135. package/renderers/index.mjs +3 -1
  2136. package/renderers/intlDateRenderer/index.d.mts +1 -0
  2137. package/renderers/intlDateRenderer/index.d.ts +1 -1
  2138. package/renderers/intlDateRenderer/intlDateRenderer.d.mts +1 -0
  2139. package/renderers/intlDateRenderer/intlDateRenderer.d.ts +15 -6
  2140. package/renderers/intlDateRenderer/intlDateRenderer.js +9 -27
  2141. package/renderers/intlDateRenderer/intlDateRenderer.mjs +7 -41
  2142. package/renderers/intlTimeRenderer/index.d.mts +1 -0
  2143. package/renderers/intlTimeRenderer/index.d.ts +1 -1
  2144. package/renderers/intlTimeRenderer/intlTimeRenderer.d.mts +1 -0
  2145. package/renderers/intlTimeRenderer/intlTimeRenderer.d.ts +13 -6
  2146. package/renderers/intlTimeRenderer/intlTimeRenderer.js +8 -26
  2147. package/renderers/intlTimeRenderer/intlTimeRenderer.mjs +6 -40
  2148. package/renderers/multiSelectRenderer/index.d.mts +1 -0
  2149. package/renderers/multiSelectRenderer/index.d.ts +1 -0
  2150. package/renderers/multiSelectRenderer/multiSelectRenderer.d.mts +1 -0
  2151. package/renderers/multiSelectRenderer/multiSelectRenderer.d.ts +8 -0
  2152. package/renderers/multiSelectRenderer/multiSelectRenderer.js +3 -12
  2153. package/renderers/multiSelectRenderer/multiSelectRenderer.mjs +6 -24
  2154. package/renderers/multiSelectRenderer/utils/utils.d.mts +1 -0
  2155. package/renderers/multiSelectRenderer/utils/utils.d.ts +36 -0
  2156. package/renderers/multiSelectRenderer/utils/utils.js +29 -29
  2157. package/renderers/multiSelectRenderer/utils/utils.mjs +30 -66
  2158. package/renderers/numericRenderer/index.d.mts +1 -0
  2159. package/renderers/numericRenderer/index.d.ts +1 -1
  2160. package/renderers/numericRenderer/numericRenderer.d.mts +1 -0
  2161. package/renderers/numericRenderer/numericRenderer.d.ts +28 -6
  2162. package/renderers/numericRenderer/numericRenderer.js +10 -10
  2163. package/renderers/numericRenderer/numericRenderer.mjs +12 -12
  2164. package/renderers/numericRenderer/utils.d.mts +1 -0
  2165. package/renderers/numericRenderer/utils.d.ts +8 -0
  2166. package/renderers/numericRenderer/utils.js +12 -39
  2167. package/renderers/numericRenderer/utils.mjs +9 -31
  2168. package/renderers/passwordRenderer/index.d.mts +1 -0
  2169. package/renderers/passwordRenderer/index.d.ts +1 -1
  2170. package/renderers/passwordRenderer/passwordRenderer.d.mts +1 -0
  2171. package/renderers/passwordRenderer/passwordRenderer.d.ts +25 -5
  2172. package/renderers/passwordRenderer/passwordRenderer.js +2 -2
  2173. package/renderers/passwordRenderer/passwordRenderer.mjs +2 -2
  2174. package/renderers/registry.d.mts +1 -0
  2175. package/renderers/registry.d.ts +82 -17
  2176. package/renderers/registry.js +4 -4
  2177. package/renderers/registry.mjs +5 -38
  2178. package/renderers/selectRenderer/index.d.mts +1 -0
  2179. package/renderers/selectRenderer/index.d.ts +1 -1
  2180. package/renderers/selectRenderer/selectRenderer.d.mts +1 -0
  2181. package/renderers/selectRenderer/selectRenderer.d.ts +17 -5
  2182. package/renderers/textRenderer/index.d.mts +1 -0
  2183. package/renderers/textRenderer/index.d.ts +1 -1
  2184. package/renderers/textRenderer/textRenderer.d.mts +1 -0
  2185. package/renderers/textRenderer/textRenderer.d.ts +19 -5
  2186. package/renderers/textRenderer/textRenderer.js +5 -4
  2187. package/renderers/textRenderer/textRenderer.mjs +6 -5
  2188. package/renderers/timeRenderer/index.d.mts +1 -0
  2189. package/renderers/timeRenderer/index.d.ts +1 -1
  2190. package/renderers/timeRenderer/index.js +3 -0
  2191. package/renderers/timeRenderer/index.mjs +1 -1
  2192. package/renderers/timeRenderer/timeRenderer.d.mts +1 -0
  2193. package/renderers/timeRenderer/timeRenderer.d.ts +23 -5
  2194. package/renderers/timeRenderer/timeRenderer.js +42 -6
  2195. package/renderers/timeRenderer/timeRenderer.mjs +36 -8
  2196. package/selection/highlight/highlight.d.mts +2 -0
  2197. package/selection/highlight/highlight.d.ts +313 -0
  2198. package/selection/highlight/highlight.js +19 -12
  2199. package/selection/highlight/highlight.mjs +19 -12
  2200. package/selection/highlight/types/activeHeader.d.mts +1 -0
  2201. package/selection/highlight/types/activeHeader.d.ts +11 -0
  2202. package/selection/highlight/types/area.d.mts +1 -0
  2203. package/selection/highlight/types/area.d.ts +11 -0
  2204. package/selection/highlight/types/areaLayered.d.mts +1 -0
  2205. package/selection/highlight/types/areaLayered.d.ts +9 -0
  2206. package/selection/highlight/types/column.d.mts +1 -0
  2207. package/selection/highlight/types/column.d.ts +11 -0
  2208. package/selection/highlight/types/customSelection.d.mts +1 -0
  2209. package/selection/highlight/types/customSelection.d.ts +11 -0
  2210. package/selection/highlight/types/fill.d.mts +1 -0
  2211. package/selection/highlight/types/fill.d.ts +11 -0
  2212. package/selection/highlight/types/focus.d.mts +1 -0
  2213. package/selection/highlight/types/focus.d.ts +10 -0
  2214. package/selection/highlight/types/header.d.mts +1 -0
  2215. package/selection/highlight/types/header.d.ts +11 -0
  2216. package/selection/highlight/types/row.d.mts +1 -0
  2217. package/selection/highlight/types/row.d.ts +11 -0
  2218. package/selection/highlight/visualSelection.d.mts +2 -0
  2219. package/selection/highlight/visualSelection.d.ts +129 -0
  2220. package/selection/highlight/visualSelection.js +37 -19
  2221. package/selection/highlight/visualSelection.mjs +37 -19
  2222. package/selection/index.d.mts +1 -0
  2223. package/selection/index.d.ts +5 -5
  2224. package/selection/mouseEventHandler.d.mts +1 -0
  2225. package/selection/mouseEventHandler.d.ts +83 -0
  2226. package/selection/mouseEventHandler.js +60 -44
  2227. package/selection/mouseEventHandler.mjs +60 -44
  2228. package/selection/range.d.mts +2 -0
  2229. package/selection/range.d.ts +142 -0
  2230. package/selection/range.js +6 -2
  2231. package/selection/range.mjs +6 -2
  2232. package/selection/selection.d.mts +2 -0
  2233. package/selection/selection.d.ts +437 -0
  2234. package/selection/selection.js +201 -128
  2235. package/selection/selection.mjs +201 -128
  2236. package/selection/transformation/_base.d.mts +1 -0
  2237. package/selection/transformation/_base.d.ts +99 -0
  2238. package/selection/transformation/_base.js +49 -45
  2239. package/selection/transformation/_base.mjs +49 -45
  2240. package/selection/transformation/extender.d.mts +1 -0
  2241. package/selection/transformation/extender.d.ts +40 -0
  2242. package/selection/transformation/focus.d.mts +1 -0
  2243. package/selection/transformation/focus.d.ts +46 -0
  2244. package/selection/transformation/focus.js +11 -9
  2245. package/selection/transformation/focus.mjs +11 -9
  2246. package/selection/transformation/index.d.mts +1 -0
  2247. package/selection/transformation/index.d.ts +2 -0
  2248. package/selection/types.d.mts +1 -0
  2249. package/selection/types.d.ts +68 -0
  2250. package/selection/types.js +6 -0
  2251. package/selection/types.mjs +5 -0
  2252. package/selection/utils.d.mts +1 -0
  2253. package/selection/utils.d.ts +67 -0
  2254. package/selection/utils.js +24 -20
  2255. package/selection/utils.mjs +26 -22
  2256. package/settings.d.mts +1 -0
  2257. package/settings.d.ts +54 -242
  2258. package/settings.js +7 -0
  2259. package/settings.mjs +6 -0
  2260. package/shortcuts/context.d.mts +1 -0
  2261. package/shortcuts/context.d.ts +38 -19
  2262. package/shortcuts/context.js +5 -4
  2263. package/shortcuts/context.mjs +6 -5
  2264. package/shortcuts/contexts/commands/editor/closeAndSave.d.mts +1 -0
  2265. package/shortcuts/contexts/commands/editor/closeAndSave.d.ts +5 -0
  2266. package/shortcuts/contexts/commands/editor/closeAndSaveByArrowKeys.d.mts +1 -0
  2267. package/shortcuts/contexts/commands/editor/closeAndSaveByArrowKeys.d.ts +5 -0
  2268. package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByArrowKeys.js +2 -2
  2269. package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByArrowKeys.mjs +2 -2
  2270. package/shortcuts/contexts/commands/editor/closeAndSaveByEnter.d.mts +1 -0
  2271. package/shortcuts/contexts/commands/editor/closeAndSaveByEnter.d.ts +5 -0
  2272. package/shortcuts/contexts/commands/editor/closeWithoutSaving.d.mts +1 -0
  2273. package/shortcuts/contexts/commands/editor/closeWithoutSaving.d.ts +5 -0
  2274. package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeWithoutSaving.js +1 -1
  2275. package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeWithoutSaving.mjs +1 -1
  2276. package/shortcuts/contexts/commands/editor/fastOpen.d.mts +1 -0
  2277. package/shortcuts/contexts/commands/editor/fastOpen.d.ts +5 -0
  2278. package/{shortcutContexts → shortcuts/contexts}/commands/editor/fastOpen.js +2 -2
  2279. package/{shortcutContexts → shortcuts/contexts}/commands/editor/fastOpen.mjs +2 -2
  2280. package/shortcuts/contexts/commands/editor/index.d.mts +1 -0
  2281. package/shortcuts/contexts/commands/editor/index.d.ts +9 -0
  2282. package/shortcuts/contexts/commands/editor/open.d.mts +1 -0
  2283. package/shortcuts/contexts/commands/editor/open.d.ts +5 -0
  2284. package/{shortcutContexts → shortcuts/contexts}/commands/editor/open.js +6 -6
  2285. package/{shortcutContexts → shortcuts/contexts}/commands/editor/open.mjs +6 -6
  2286. package/shortcuts/contexts/commands/emptySelectedCells.d.mts +1 -0
  2287. package/shortcuts/contexts/commands/emptySelectedCells.d.ts +5 -0
  2288. package/shortcuts/contexts/commands/extendCellsSelection/down.d.mts +1 -0
  2289. package/shortcuts/contexts/commands/extendCellsSelection/down.d.ts +5 -0
  2290. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/down.js +2 -2
  2291. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/down.mjs +2 -2
  2292. package/shortcuts/contexts/commands/extendCellsSelection/downByViewportHeight.d.mts +1 -0
  2293. package/shortcuts/contexts/commands/extendCellsSelection/downByViewportHeight.d.ts +5 -0
  2294. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/downByViewportHeight.js +10 -5
  2295. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/downByViewportHeight.mjs +10 -5
  2296. package/shortcuts/contexts/commands/extendCellsSelection/index.d.mts +1 -0
  2297. package/shortcuts/contexts/commands/extendCellsSelection/index.d.ts +9 -0
  2298. package/shortcuts/contexts/commands/extendCellsSelection/left.d.mts +1 -0
  2299. package/shortcuts/contexts/commands/extendCellsSelection/left.d.ts +5 -0
  2300. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/left.js +2 -2
  2301. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/left.mjs +2 -2
  2302. package/shortcuts/contexts/commands/extendCellsSelection/right.d.mts +1 -0
  2303. package/shortcuts/contexts/commands/extendCellsSelection/right.d.ts +5 -0
  2304. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/right.js +2 -2
  2305. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/right.mjs +2 -2
  2306. package/shortcuts/contexts/commands/extendCellsSelection/toColumns.d.mts +1 -0
  2307. package/shortcuts/contexts/commands/extendCellsSelection/toColumns.d.ts +5 -0
  2308. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toColumns.js +6 -2
  2309. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toColumns.mjs +6 -2
  2310. package/shortcuts/contexts/commands/extendCellsSelection/toMostBottom.d.mts +1 -0
  2311. package/shortcuts/contexts/commands/extendCellsSelection/toMostBottom.d.ts +5 -0
  2312. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostBottom.js +6 -2
  2313. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostBottom.mjs +6 -2
  2314. package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineEnd.d.mts +1 -0
  2315. package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineEnd.d.ts +5 -0
  2316. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineEnd.js +6 -2
  2317. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineEnd.mjs +6 -2
  2318. package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineStart.d.mts +1 -0
  2319. package/shortcuts/contexts/commands/extendCellsSelection/toMostInlineStart.d.ts +5 -0
  2320. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineStart.js +7 -3
  2321. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostInlineStart.mjs +7 -3
  2322. package/shortcuts/contexts/commands/extendCellsSelection/toMostLeft.d.mts +1 -0
  2323. package/shortcuts/contexts/commands/extendCellsSelection/toMostLeft.d.ts +5 -0
  2324. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostLeft.js +7 -9
  2325. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostLeft.mjs +7 -9
  2326. package/shortcuts/contexts/commands/extendCellsSelection/toMostRight.d.mts +1 -0
  2327. package/shortcuts/contexts/commands/extendCellsSelection/toMostRight.d.ts +5 -0
  2328. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostRight.js +7 -9
  2329. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostRight.mjs +7 -9
  2330. package/shortcuts/contexts/commands/extendCellsSelection/toMostTop.d.mts +1 -0
  2331. package/shortcuts/contexts/commands/extendCellsSelection/toMostTop.d.ts +5 -0
  2332. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostTop.js +6 -2
  2333. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toMostTop.mjs +6 -2
  2334. package/shortcuts/contexts/commands/extendCellsSelection/toRows.d.mts +1 -0
  2335. package/shortcuts/contexts/commands/extendCellsSelection/toRows.d.ts +5 -0
  2336. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toRows.js +7 -2
  2337. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/toRows.mjs +7 -2
  2338. package/shortcuts/contexts/commands/extendCellsSelection/up.d.mts +1 -0
  2339. package/shortcuts/contexts/commands/extendCellsSelection/up.d.ts +5 -0
  2340. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/up.js +2 -2
  2341. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/up.mjs +2 -2
  2342. package/shortcuts/contexts/commands/extendCellsSelection/upByViewportHeight.d.mts +1 -0
  2343. package/shortcuts/contexts/commands/extendCellsSelection/upByViewportHeight.d.ts +5 -0
  2344. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/upByViewportHeight.js +10 -5
  2345. package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/upByViewportHeight.mjs +10 -5
  2346. package/shortcuts/contexts/commands/index.d.mts +1 -0
  2347. package/shortcuts/contexts/commands/index.d.ts +8 -0
  2348. package/shortcuts/contexts/commands/moveCellSelection/down.d.mts +1 -0
  2349. package/shortcuts/contexts/commands/moveCellSelection/down.d.ts +5 -0
  2350. package/shortcuts/contexts/commands/moveCellSelection/downByViewportHeight.d.mts +1 -0
  2351. package/shortcuts/contexts/commands/moveCellSelection/downByViewportHeight.d.ts +5 -0
  2352. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/downByViewportHeight.js +13 -2
  2353. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/downByViewportHeight.mjs +13 -2
  2354. package/shortcuts/contexts/commands/moveCellSelection/index.d.mts +1 -0
  2355. package/shortcuts/contexts/commands/moveCellSelection/index.d.ts +9 -0
  2356. package/shortcuts/contexts/commands/moveCellSelection/inlineEnd.d.mts +1 -0
  2357. package/shortcuts/contexts/commands/moveCellSelection/inlineEnd.d.ts +5 -0
  2358. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineEnd.js +3 -3
  2359. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineEnd.mjs +3 -3
  2360. package/shortcuts/contexts/commands/moveCellSelection/inlineStart.d.mts +1 -0
  2361. package/shortcuts/contexts/commands/moveCellSelection/inlineStart.d.ts +5 -0
  2362. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineStart.js +3 -3
  2363. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/inlineStart.mjs +3 -3
  2364. package/shortcuts/contexts/commands/moveCellSelection/left.d.mts +1 -0
  2365. package/shortcuts/contexts/commands/moveCellSelection/left.d.ts +5 -0
  2366. package/shortcuts/contexts/commands/moveCellSelection/right.d.mts +1 -0
  2367. package/shortcuts/contexts/commands/moveCellSelection/right.d.ts +5 -0
  2368. package/shortcuts/contexts/commands/moveCellSelection/toMostBottom.d.mts +1 -0
  2369. package/shortcuts/contexts/commands/moveCellSelection/toMostBottom.d.ts +5 -0
  2370. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottom.js +1 -1
  2371. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottom.mjs +1 -1
  2372. package/shortcuts/contexts/commands/moveCellSelection/toMostBottomInlineEnd.d.mts +1 -0
  2373. package/shortcuts/contexts/commands/moveCellSelection/toMostBottomInlineEnd.d.ts +5 -0
  2374. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -2
  2375. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostBottomInlineEnd.mjs +2 -2
  2376. package/shortcuts/contexts/commands/moveCellSelection/toMostInlineEnd.d.mts +1 -0
  2377. package/shortcuts/contexts/commands/moveCellSelection/toMostInlineEnd.d.ts +5 -0
  2378. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineEnd.js +1 -1
  2379. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineEnd.mjs +1 -1
  2380. package/shortcuts/contexts/commands/moveCellSelection/toMostInlineStart.d.mts +1 -0
  2381. package/shortcuts/contexts/commands/moveCellSelection/toMostInlineStart.d.ts +5 -0
  2382. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineStart.js +3 -3
  2383. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostInlineStart.mjs +3 -3
  2384. package/shortcuts/contexts/commands/moveCellSelection/toMostLeft.d.mts +1 -0
  2385. package/shortcuts/contexts/commands/moveCellSelection/toMostLeft.d.ts +5 -0
  2386. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostLeft.js +2 -8
  2387. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostLeft.mjs +2 -8
  2388. package/shortcuts/contexts/commands/moveCellSelection/toMostRight.d.mts +1 -0
  2389. package/shortcuts/contexts/commands/moveCellSelection/toMostRight.d.ts +5 -0
  2390. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostRight.js +2 -8
  2391. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostRight.mjs +2 -8
  2392. package/shortcuts/contexts/commands/moveCellSelection/toMostTop.d.mts +1 -0
  2393. package/shortcuts/contexts/commands/moveCellSelection/toMostTop.d.ts +5 -0
  2394. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTop.js +1 -1
  2395. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTop.mjs +1 -1
  2396. package/shortcuts/contexts/commands/moveCellSelection/toMostTopInlineStart.d.mts +1 -0
  2397. package/shortcuts/contexts/commands/moveCellSelection/toMostTopInlineStart.d.ts +5 -0
  2398. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTopInlineStart.js +3 -3
  2399. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/toMostTopInlineStart.mjs +3 -3
  2400. package/shortcuts/contexts/commands/moveCellSelection/up.d.mts +1 -0
  2401. package/shortcuts/contexts/commands/moveCellSelection/up.d.ts +5 -0
  2402. package/shortcuts/contexts/commands/moveCellSelection/upByViewportHeight.d.mts +1 -0
  2403. package/shortcuts/contexts/commands/moveCellSelection/upByViewportHeight.d.ts +5 -0
  2404. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/upByViewportHeight.js +9 -3
  2405. package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/upByViewportHeight.mjs +9 -3
  2406. package/shortcuts/contexts/commands/populateSelectedCellsData.d.mts +1 -0
  2407. package/shortcuts/contexts/commands/populateSelectedCellsData.d.ts +5 -0
  2408. package/{shortcutContexts → shortcuts/contexts}/commands/populateSelectedCellsData.js +6 -1
  2409. package/{shortcutContexts → shortcuts/contexts}/commands/populateSelectedCellsData.mjs +6 -1
  2410. package/shortcuts/contexts/commands/scrollToFocusedCell.d.mts +1 -0
  2411. package/shortcuts/contexts/commands/scrollToFocusedCell.d.ts +5 -0
  2412. package/{shortcutContexts → shortcuts/contexts}/commands/scrollToFocusedCell.js +9 -6
  2413. package/{shortcutContexts → shortcuts/contexts}/commands/scrollToFocusedCell.mjs +9 -6
  2414. package/shortcuts/contexts/commands/selectAllCells.d.mts +1 -0
  2415. package/shortcuts/contexts/commands/selectAllCells.d.ts +5 -0
  2416. package/shortcuts/contexts/commands/selectAllCellsAndHeaders.d.mts +1 -0
  2417. package/shortcuts/contexts/commands/selectAllCellsAndHeaders.d.ts +5 -0
  2418. package/shortcuts/contexts/commands/tabNavigation.d.mts +1 -0
  2419. package/shortcuts/contexts/commands/tabNavigation.d.ts +8 -0
  2420. package/shortcuts/contexts/constants.d.mts +1 -0
  2421. package/shortcuts/contexts/constants.d.ts +22 -0
  2422. package/{shortcutContexts → shortcuts/contexts}/constants.js +1 -1
  2423. package/{shortcutContexts → shortcuts/contexts}/constants.mjs +1 -1
  2424. package/shortcuts/contexts/editor.d.mts +1 -0
  2425. package/shortcuts/contexts/editor.d.ts +7 -0
  2426. package/shortcuts/contexts/grid.d.mts +1 -0
  2427. package/shortcuts/contexts/grid.d.ts +7 -0
  2428. package/{shortcutContexts → shortcuts/contexts}/grid.js +3 -3
  2429. package/{shortcutContexts → shortcuts/contexts}/grid.mjs +3 -3
  2430. package/shortcuts/contexts/index.d.mts +1 -0
  2431. package/shortcuts/contexts/index.d.ts +8 -0
  2432. package/shortcuts/index.d.mts +1 -0
  2433. package/shortcuts/index.d.ts +3 -1
  2434. package/shortcuts/keyObserver.d.mts +1 -0
  2435. package/shortcuts/keyObserver.d.ts +36 -0
  2436. package/shortcuts/keyObserver.js +1 -1
  2437. package/shortcuts/keyObserver.mjs +1 -1
  2438. package/shortcuts/manager.d.mts +1 -0
  2439. package/shortcuts/manager.d.ts +33 -10
  2440. package/shortcuts/manager.js +4 -4
  2441. package/shortcuts/manager.mjs +5 -21
  2442. package/shortcuts/recorder.d.mts +1 -0
  2443. package/shortcuts/recorder.d.ts +20 -0
  2444. package/shortcuts/recorder.js +55 -53
  2445. package/shortcuts/recorder.mjs +56 -54
  2446. package/shortcuts/utils.d.mts +1 -0
  2447. package/shortcuts/utils.d.ts +63 -0
  2448. package/shortcuts/utils.js +3 -3
  2449. package/shortcuts/utils.mjs +4 -4
  2450. package/styles/handsontable.css +164 -215
  2451. package/styles/handsontable.min.css +3 -3
  2452. package/styles/handsontableStyles.d.mts +2 -0
  2453. package/styles/handsontableStyles.d.ts +2 -0
  2454. package/styles/handsontableStyles.js +1 -1
  2455. package/styles/handsontableStyles.mjs +1 -1
  2456. package/styles/ht-icons-horizon.min.css +2 -2
  2457. package/styles/ht-icons-main.min.css +2 -2
  2458. package/styles/ht-theme-classic-no-icons.css +1 -3
  2459. package/styles/ht-theme-classic-no-icons.min.css +3 -3
  2460. package/styles/ht-theme-classic.css +1 -3
  2461. package/styles/ht-theme-classic.min.css +3 -3
  2462. package/styles/ht-theme-horizon-no-icons.css +1 -3
  2463. package/styles/ht-theme-horizon-no-icons.min.css +3 -3
  2464. package/styles/ht-theme-horizon.css +1 -3
  2465. package/styles/ht-theme-horizon.min.css +3 -3
  2466. package/styles/ht-theme-main-no-icons.css +1 -3
  2467. package/styles/ht-theme-main-no-icons.min.css +3 -3
  2468. package/styles/ht-theme-main.css +1 -3
  2469. package/styles/ht-theme-main.min.css +3 -3
  2470. package/tableView.d.mts +2 -0
  2471. package/tableView.d.ts +626 -0
  2472. package/tableView.js +100 -82
  2473. package/tableView.mjs +102 -84
  2474. package/themes/engine/builder.d.mts +1 -0
  2475. package/themes/engine/builder.d.ts +56 -0
  2476. package/themes/engine/builder.js +24 -16
  2477. package/themes/engine/builder.mjs +13 -9
  2478. package/themes/engine/index.d.mts +1 -0
  2479. package/themes/engine/index.d.ts +3 -0
  2480. package/themes/engine/index.js +6 -0
  2481. package/themes/engine/index.mjs +2 -2
  2482. package/themes/engine/manager.d.mts +1 -0
  2483. package/themes/engine/manager.d.ts +93 -0
  2484. package/themes/engine/manager.js +22 -6
  2485. package/themes/engine/manager.mjs +22 -6
  2486. package/themes/engine/utils/cssVariables.d.mts +1 -0
  2487. package/themes/engine/utils/cssVariables.d.ts +9 -0
  2488. package/themes/engine/utils/cssVariables.js +2 -2
  2489. package/themes/engine/utils/cssVariables.mjs +2 -2
  2490. package/themes/engine/utils/validation.d.mts +1 -0
  2491. package/themes/engine/utils/validation.d.ts +35 -0
  2492. package/themes/engine/utils/validation.js +12 -12
  2493. package/themes/engine/utils/validation.mjs +14 -14
  2494. package/themes/index.d.mts +1 -0
  2495. package/themes/index.d.ts +4 -0
  2496. package/themes/index.js +1 -0
  2497. package/themes/index.mjs +1 -0
  2498. package/themes/registry.d.mts +1 -0
  2499. package/themes/registry.d.ts +44 -0
  2500. package/themes/registry.js +2 -2
  2501. package/themes/registry.mjs +2 -2
  2502. package/themes/static/variables/colors/ant.d.mts +2 -0
  2503. package/themes/static/variables/colors/ant.d.ts +3 -4
  2504. package/themes/static/variables/colors/ant.js +2 -1
  2505. package/themes/static/variables/colors/ant.mjs +2 -1
  2506. package/themes/static/variables/colors/classic.d.mts +2 -0
  2507. package/themes/static/variables/colors/classic.d.ts +3 -4
  2508. package/themes/static/variables/colors/classic.js +2 -1
  2509. package/themes/static/variables/colors/classic.mjs +2 -1
  2510. package/themes/static/variables/colors/horizon.d.mts +2 -0
  2511. package/themes/static/variables/colors/horizon.d.ts +3 -4
  2512. package/themes/static/variables/colors/horizon.js +2 -1
  2513. package/themes/static/variables/colors/horizon.mjs +2 -1
  2514. package/themes/static/variables/colors/main.d.mts +2 -0
  2515. package/themes/static/variables/colors/main.d.ts +3 -4
  2516. package/themes/static/variables/colors/main.js +2 -1
  2517. package/themes/static/variables/colors/main.mjs +2 -1
  2518. package/themes/static/variables/colors/material.d.mts +2 -0
  2519. package/themes/static/variables/colors/material.d.ts +3 -4
  2520. package/themes/static/variables/colors/material.js +2 -1
  2521. package/themes/static/variables/colors/material.mjs +2 -1
  2522. package/themes/static/variables/colors/shadcn.d.mts +2 -0
  2523. package/themes/static/variables/colors/shadcn.d.ts +3 -4
  2524. package/themes/static/variables/colors/shadcn.js +2 -1
  2525. package/themes/static/variables/colors/shadcn.mjs +2 -1
  2526. package/themes/static/variables/density.d.mts +2 -0
  2527. package/themes/static/variables/density.d.ts +3 -4
  2528. package/themes/static/variables/density.js +2 -1
  2529. package/themes/static/variables/density.mjs +2 -1
  2530. package/themes/static/variables/helpers/iconsMap.d.mts +1 -0
  2531. package/themes/static/variables/helpers/iconsMap.d.ts +1 -3
  2532. package/themes/static/variables/icons/horizon.d.mts +2 -0
  2533. package/themes/static/variables/icons/horizon.d.ts +3 -4
  2534. package/themes/static/variables/icons/horizon.js +2 -1
  2535. package/themes/static/variables/icons/horizon.mjs +2 -1
  2536. package/themes/static/variables/icons/main.d.mts +2 -0
  2537. package/themes/static/variables/icons/main.d.ts +3 -4
  2538. package/themes/static/variables/icons/main.js +2 -1
  2539. package/themes/static/variables/icons/main.mjs +2 -1
  2540. package/themes/static/variables/sizing.d.mts +2 -0
  2541. package/themes/static/variables/sizing.d.ts +1 -2
  2542. package/themes/static/variables/sizing.js +2 -1
  2543. package/themes/static/variables/sizing.mjs +2 -1
  2544. package/themes/static/variables/tokens/classic.d.mts +2 -0
  2545. package/themes/static/variables/tokens/classic.d.ts +3 -4
  2546. package/themes/static/variables/tokens/classic.js +3 -4
  2547. package/themes/static/variables/tokens/classic.mjs +3 -4
  2548. package/themes/static/variables/tokens/horizon.d.mts +2 -0
  2549. package/themes/static/variables/tokens/horizon.d.ts +3 -4
  2550. package/themes/static/variables/tokens/horizon.js +3 -4
  2551. package/themes/static/variables/tokens/horizon.mjs +3 -4
  2552. package/themes/static/variables/tokens/main.d.mts +2 -0
  2553. package/themes/static/variables/tokens/main.d.ts +3 -4
  2554. package/themes/static/variables/tokens/main.js +3 -4
  2555. package/themes/static/variables/tokens/main.mjs +3 -4
  2556. package/themes/theme/classic.d.mts +1 -0
  2557. package/themes/theme/classic.d.ts +3 -3
  2558. package/themes/theme/horizon.d.mts +1 -0
  2559. package/themes/theme/horizon.d.ts +3 -3
  2560. package/themes/theme/index.d.mts +1 -0
  2561. package/themes/theme/index.d.ts +3 -5
  2562. package/themes/theme/main.d.mts +1 -0
  2563. package/themes/theme/main.d.ts +3 -3
  2564. package/themes/types.d.mts +1 -0
  2565. package/themes/types.d.ts +43 -0
  2566. package/themes/types.js +4 -0
  2567. package/themes/types.mjs +1 -0
  2568. package/translations/changesObservable/observable.d.mts +1 -0
  2569. package/translations/changesObservable/observable.d.ts +49 -0
  2570. package/translations/changesObservable/observable.js +11 -9
  2571. package/translations/changesObservable/observable.mjs +11 -9
  2572. package/translations/changesObservable/observer.d.mts +1 -0
  2573. package/translations/changesObservable/observer.d.ts +56 -0
  2574. package/translations/changesObservable/utils.d.mts +1 -0
  2575. package/translations/changesObservable/utils.d.ts +18 -0
  2576. package/translations/index.d.mts +1 -0
  2577. package/translations/index.d.ts +4 -1
  2578. package/translations/indexMapper.d.mts +1 -0
  2579. package/translations/indexMapper.d.ts +417 -45
  2580. package/translations/indexMapper.js +17 -28
  2581. package/translations/indexMapper.mjs +17 -28
  2582. package/translations/mapCollections/aggregatedCollection.d.mts +1 -0
  2583. package/translations/mapCollections/aggregatedCollection.d.ts +48 -0
  2584. package/translations/mapCollections/aggregatedCollection.js +3 -1
  2585. package/translations/mapCollections/aggregatedCollection.mjs +3 -1
  2586. package/translations/mapCollections/index.d.mts +1 -0
  2587. package/translations/mapCollections/index.d.ts +2 -0
  2588. package/translations/mapCollections/mapCollection.d.mts +1 -0
  2589. package/translations/mapCollections/mapCollection.d.ts +79 -0
  2590. package/translations/mapCollections/mapCollection.js +2 -2
  2591. package/translations/mapCollections/mapCollection.mjs +3 -3
  2592. package/translations/maps/hidingMap.d.mts +1 -0
  2593. package/translations/maps/hidingMap.d.ts +21 -0
  2594. package/translations/maps/hidingMap.js +3 -1
  2595. package/translations/maps/hidingMap.mjs +3 -1
  2596. package/translations/maps/index.d.mts +1 -0
  2597. package/translations/maps/index.d.ts +16 -0
  2598. package/translations/maps/indexMap.d.mts +1 -0
  2599. package/translations/maps/indexMap.d.ts +121 -9
  2600. package/translations/maps/indexMap.js +14 -8
  2601. package/translations/maps/indexMap.mjs +14 -8
  2602. package/translations/maps/indexesSequence.d.mts +1 -0
  2603. package/translations/maps/indexesSequence.d.ts +35 -0
  2604. package/translations/maps/indexesSequence.js +12 -3
  2605. package/translations/maps/indexesSequence.mjs +12 -3
  2606. package/translations/maps/linkedPhysicalIndexToValueMap.d.mts +1 -0
  2607. package/translations/maps/linkedPhysicalIndexToValueMap.d.ts +86 -0
  2608. package/translations/maps/physicalIndexToValueMap.d.mts +1 -0
  2609. package/translations/maps/physicalIndexToValueMap.d.ts +25 -0
  2610. package/translations/maps/trimmingMap.d.mts +1 -0
  2611. package/translations/maps/trimmingMap.d.ts +21 -0
  2612. package/translations/maps/trimmingMap.js +3 -1
  2613. package/translations/maps/trimmingMap.mjs +3 -1
  2614. package/translations/maps/utils/actionsOnIndexes.d.mts +1 -0
  2615. package/translations/maps/utils/actionsOnIndexes.d.ts +18 -0
  2616. package/translations/maps/utils/index.d.mts +1 -0
  2617. package/translations/maps/utils/index.d.ts +11 -0
  2618. package/translations/maps/utils/indexesSequence.d.mts +1 -0
  2619. package/translations/maps/utils/indexesSequence.d.ts +19 -0
  2620. package/translations/maps/utils/physicallyIndexed.d.mts +1 -0
  2621. package/translations/maps/utils/physicallyIndexed.d.ts +20 -0
  2622. package/utils/a11yAnnouncer.d.mts +1 -0
  2623. package/utils/a11yAnnouncer.d.ts +17 -0
  2624. package/utils/autoResize.d.mts +1 -0
  2625. package/utils/autoResize.d.ts +26 -0
  2626. package/utils/autoResize.js +32 -32
  2627. package/utils/autoResize.mjs +37 -37
  2628. package/utils/dataStructures/linkedList.d.mts +2 -0
  2629. package/utils/dataStructures/linkedList.d.ts +107 -0
  2630. package/utils/dataStructures/linkedList.js +10 -4
  2631. package/utils/dataStructures/linkedList.mjs +10 -4
  2632. package/utils/dataStructures/priorityMap.d.mts +1 -0
  2633. package/utils/dataStructures/priorityMap.d.ts +22 -0
  2634. package/utils/dataStructures/priorityMap.js +4 -4
  2635. package/utils/dataStructures/priorityMap.mjs +4 -4
  2636. package/utils/dataStructures/queue.d.mts +2 -0
  2637. package/utils/dataStructures/queue.d.ts +45 -0
  2638. package/utils/dataStructures/queue.js +3 -1
  2639. package/utils/dataStructures/queue.mjs +3 -1
  2640. package/utils/dataStructures/stack.d.mts +2 -0
  2641. package/utils/dataStructures/stack.d.ts +45 -0
  2642. package/utils/dataStructures/stack.js +3 -1
  2643. package/utils/dataStructures/stack.mjs +3 -1
  2644. package/utils/dataStructures/tree.d.mts +2 -0
  2645. package/utils/dataStructures/tree.d.ts +102 -0
  2646. package/utils/dataStructures/tree.js +7 -10
  2647. package/utils/dataStructures/tree.mjs +8 -11
  2648. package/utils/dataStructures/uniqueMap.d.mts +1 -0
  2649. package/utils/dataStructures/uniqueMap.d.ts +29 -0
  2650. package/utils/dataStructures/uniqueMap.js +2 -2
  2651. package/utils/dataStructures/uniqueMap.mjs +2 -2
  2652. package/utils/dataStructures/uniqueSet.d.mts +1 -0
  2653. package/utils/dataStructures/uniqueSet.d.ts +19 -0
  2654. package/utils/dataStructures/uniqueSet.js +2 -2
  2655. package/utils/dataStructures/uniqueSet.mjs +2 -2
  2656. package/utils/ghostTable.d.mts +2 -0
  2657. package/utils/ghostTable.d.ts +226 -0
  2658. package/utils/ghostTable.js +26 -14
  2659. package/utils/ghostTable.mjs +26 -14
  2660. package/utils/interval.d.mts +2 -0
  2661. package/utils/interval.d.ts +40 -0
  2662. package/utils/interval.js +20 -16
  2663. package/utils/interval.mjs +20 -16
  2664. package/utils/licenseNotification.d.mts +1 -0
  2665. package/utils/licenseNotification.d.ts +12 -0
  2666. package/utils/licenseNotification.js +78 -0
  2667. package/utils/licenseNotification.mjs +77 -0
  2668. package/utils/paginator.d.mts +1 -0
  2669. package/utils/paginator.d.ts +36 -0
  2670. package/utils/parseTable.d.mts +1 -0
  2671. package/utils/parseTable.d.ts +33 -5
  2672. package/utils/parseTable.js +30 -22
  2673. package/utils/parseTable.mjs +30 -22
  2674. package/utils/rootInstance.d.mts +1 -0
  2675. package/utils/rootInstance.d.ts +22 -0
  2676. package/utils/samplesGenerator.d.mts +2 -0
  2677. package/utils/samplesGenerator.d.ts +127 -0
  2678. package/utils/samplesGenerator.js +5 -3
  2679. package/utils/samplesGenerator.mjs +6 -4
  2680. package/utils/staticRegister.d.mts +1 -0
  2681. package/utils/staticRegister.d.ts +21 -0
  2682. package/utils/stylesHandler.d.mts +1 -0
  2683. package/utils/stylesHandler.d.ts +67 -0
  2684. package/utils/stylesHandler.js +37 -31
  2685. package/utils/stylesHandler.mjs +37 -31
  2686. package/utils/valueAccessors.d.mts +1 -0
  2687. package/utils/valueAccessors.d.ts +16 -0
  2688. package/validators/autocompleteValidator/autocompleteValidator.d.mts +1 -0
  2689. package/validators/autocompleteValidator/autocompleteValidator.d.ts +13 -5
  2690. package/validators/autocompleteValidator/autocompleteValidator.js +8 -4
  2691. package/validators/autocompleteValidator/autocompleteValidator.mjs +8 -4
  2692. package/validators/autocompleteValidator/index.d.mts +1 -0
  2693. package/validators/autocompleteValidator/index.d.ts +1 -1
  2694. package/validators/dateValidator/dateValidator.d.mts +1 -0
  2695. package/validators/dateValidator/dateValidator.d.ts +25 -5
  2696. package/validators/dateValidator/dateValidator.js +21 -49
  2697. package/validators/dateValidator/dateValidator.mjs +23 -49
  2698. package/validators/dateValidator/index.d.mts +1 -0
  2699. package/validators/dateValidator/index.d.ts +1 -1
  2700. package/validators/dateValidator/index.js +6 -3
  2701. package/validators/dateValidator/index.mjs +1 -1
  2702. package/validators/dropdownValidator/dropdownValidator.d.mts +1 -0
  2703. package/validators/dropdownValidator/dropdownValidator.d.ts +13 -5
  2704. package/validators/dropdownValidator/index.d.mts +1 -0
  2705. package/validators/dropdownValidator/index.d.ts +1 -1
  2706. package/validators/index.d.mts +1 -0
  2707. package/validators/index.d.ts +10 -33
  2708. package/validators/intlDateValidator/index.d.mts +1 -0
  2709. package/validators/intlDateValidator/index.d.ts +1 -1
  2710. package/validators/intlDateValidator/intlDateValidator.d.mts +1 -0
  2711. package/validators/intlDateValidator/intlDateValidator.d.ts +17 -6
  2712. package/validators/intlDateValidator/intlDateValidator.js +3 -14
  2713. package/validators/intlDateValidator/intlDateValidator.mjs +4 -20
  2714. package/validators/intlTimeValidator/index.d.mts +1 -0
  2715. package/validators/intlTimeValidator/index.d.ts +1 -1
  2716. package/validators/intlTimeValidator/intlTimeValidator.d.mts +1 -0
  2717. package/validators/intlTimeValidator/intlTimeValidator.d.ts +17 -6
  2718. package/validators/intlTimeValidator/intlTimeValidator.js +3 -14
  2719. package/validators/intlTimeValidator/intlTimeValidator.mjs +3 -19
  2720. package/validators/multiSelectValidator/index.d.mts +1 -0
  2721. package/validators/multiSelectValidator/index.d.ts +1 -0
  2722. package/validators/multiSelectValidator/multiSelectValidator.d.mts +1 -0
  2723. package/validators/multiSelectValidator/multiSelectValidator.d.ts +9 -0
  2724. package/validators/multiSelectValidator/multiSelectValidator.js +3 -10
  2725. package/validators/multiSelectValidator/multiSelectValidator.mjs +3 -14
  2726. package/validators/numericValidator/index.d.mts +1 -0
  2727. package/validators/numericValidator/index.d.ts +1 -1
  2728. package/validators/numericValidator/numericValidator.d.mts +1 -0
  2729. package/validators/numericValidator/numericValidator.d.ts +13 -5
  2730. package/validators/registry.d.mts +1 -0
  2731. package/validators/registry.d.ts +31 -18
  2732. package/validators/registry.js +4 -4
  2733. package/validators/registry.mjs +4 -4
  2734. package/validators/timeValidator/index.d.mts +1 -0
  2735. package/validators/timeValidator/index.d.ts +1 -1
  2736. package/validators/timeValidator/index.js +6 -0
  2737. package/validators/timeValidator/index.mjs +1 -1
  2738. package/validators/timeValidator/timeValidator.d.mts +1 -0
  2739. package/validators/timeValidator/timeValidator.d.ts +25 -5
  2740. package/validators/timeValidator/timeValidator.js +22 -45
  2741. package/validators/timeValidator/timeValidator.mjs +23 -41
  2742. package/cellTypes/base.d.ts +0 -14
  2743. package/common.d.ts +0 -79
  2744. package/helpers/dom/index.d.ts +0 -2
  2745. package/helpers/index.d.ts +0 -15
  2746. package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.js +0 -47
  2747. package/plugins/nestedHeaders/stateManager/nodeModifiers/hideColumn.mjs +0 -42
  2748. package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.js +0 -46
  2749. package/plugins/nestedHeaders/stateManager/nodeModifiers/showColumn.mjs +0 -41
  2750. package/renderers/base.d.ts +0 -3
  2751. package/themes.d.ts +0 -511
  2752. package/validators/base.d.ts +0 -6
  2753. /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSave.js +0 -0
  2754. /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSave.mjs +0 -0
  2755. /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByEnter.js +0 -0
  2756. /package/{shortcutContexts → shortcuts/contexts}/commands/editor/closeAndSaveByEnter.mjs +0 -0
  2757. /package/{shortcutContexts → shortcuts/contexts}/commands/editor/index.js +0 -0
  2758. /package/{shortcutContexts → shortcuts/contexts}/commands/editor/index.mjs +0 -0
  2759. /package/{shortcutContexts → shortcuts/contexts}/commands/emptySelectedCells.js +0 -0
  2760. /package/{shortcutContexts → shortcuts/contexts}/commands/emptySelectedCells.mjs +0 -0
  2761. /package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/index.js +0 -0
  2762. /package/{shortcutContexts → shortcuts/contexts}/commands/extendCellsSelection/index.mjs +0 -0
  2763. /package/{shortcutContexts → shortcuts/contexts}/commands/index.js +0 -0
  2764. /package/{shortcutContexts → shortcuts/contexts}/commands/index.mjs +0 -0
  2765. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/down.js +0 -0
  2766. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/down.mjs +0 -0
  2767. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/index.js +0 -0
  2768. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/index.mjs +0 -0
  2769. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/left.js +0 -0
  2770. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/left.mjs +0 -0
  2771. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/right.js +0 -0
  2772. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/right.mjs +0 -0
  2773. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/up.js +0 -0
  2774. /package/{shortcutContexts → shortcuts/contexts}/commands/moveCellSelection/up.mjs +0 -0
  2775. /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCells.js +0 -0
  2776. /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCells.mjs +0 -0
  2777. /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCellsAndHeaders.js +0 -0
  2778. /package/{shortcutContexts → shortcuts/contexts}/commands/selectAllCellsAndHeaders.mjs +0 -0
  2779. /package/{shortcutContexts → shortcuts/contexts}/commands/tabNavigation.js +0 -0
  2780. /package/{shortcutContexts → shortcuts/contexts}/commands/tabNavigation.mjs +0 -0
  2781. /package/{shortcutContexts → shortcuts/contexts}/editor.js +0 -0
  2782. /package/{shortcutContexts → shortcuts/contexts}/editor.mjs +0 -0
  2783. /package/{shortcutContexts → shortcuts/contexts}/index.js +0 -0
  2784. /package/{shortcutContexts → shortcuts/contexts}/index.mjs +0 -0
@@ -56,7 +56,6 @@ import AutofillCalculations from './calculations/autofill.mjs';
56
56
  import SelectionCalculations from './calculations/selection.mjs';
57
57
  import toggleMergeItem from './contextMenuItem/toggleMerge.mjs';
58
58
  import { arrayEach } from '../../helpers/array.mjs';
59
- import { isObject } from '../../helpers/object.mjs';
60
59
  import { warn } from '../../helpers/console.mjs';
61
60
  import { rangeEach, clamp } from '../../helpers/number.mjs';
62
61
  import { getStyle } from '../../helpers/dom/element.mjs';
@@ -90,121 +89,177 @@ var /**
90
89
  *
91
90
  * @type {{before: Function, after: Function}}
92
91
  */ _cellRenderer = /*#__PURE__*/ new WeakMap(), /**
92
+ * Snapshot of physical column indexes per merge, captured before a column move/freeze.
93
+ *
94
+ * @type {Map<MergedCellCoords, number[]> | null}
95
+ */ _columnMoveSnapshot = /*#__PURE__*/ new WeakMap(), /**
96
+ * Snapshot of physical row indexes per merge, captured before a row move.
97
+ *
98
+ * @type {Map<MergedCellCoords, number[]> | null}
99
+ */ _rowMoveSnapshot = /*#__PURE__*/ new WeakMap(), /**
100
+ * `true` once the plugin has finished its initial settings ingestion. Used to skip
101
+ * snapshot/translate during the bootstrap-time column reorders fired by
102
+ * `manualColumnMove: [...]` initial config, where the merge collection is empty
103
+ * anyway but we want to be defensive against future hook-order changes.
104
+ *
105
+ * @type {boolean}
106
+ */ _initialized = /*#__PURE__*/ new WeakMap(), /**
93
107
  * `afterInit` hook callback.
94
- */ _onAfterInit = /*#__PURE__*/ new WeakSet(), /**
108
+ */ _onAfterInit = /*#__PURE__*/ new WeakMap(), /**
95
109
  * Modifies the information on whether the current selection contains multiple cells. The `afterIsMultipleSelection`
96
110
  * hook callback.
97
111
  *
98
112
  * @param {boolean} isMultiple Determines whether the current selection contains multiple cells.
99
113
  * @returns {boolean}
100
- */ _onAfterIsMultipleSelection = /*#__PURE__*/ new WeakSet(), /**
114
+ */ _onAfterIsMultipleSelection = /*#__PURE__*/ new WeakMap(), /**
101
115
  * `modifyTransformFocus` hook callback.
102
116
  *
103
117
  * @param {object} delta The transformation delta.
104
- */ _onModifyTransformFocus = /*#__PURE__*/ new WeakSet(), /**
118
+ */ _onModifyTransformFocus = /*#__PURE__*/ new WeakMap(), /**
105
119
  * `modifyTransformStart` hook callback.
106
120
  *
107
121
  * @param {object} delta The transformation delta.
108
- */ _onModifyTransformStart = /*#__PURE__*/ new WeakSet(), /**
122
+ */ _onModifyTransformStart = /*#__PURE__*/ new WeakMap(), /**
109
123
  * The hook allows to modify the delta transformation object necessary for correct selection end transformations.
110
- * The logic here handles "jumping over" merged merged cells, while selecting.
111
124
  *
112
125
  * @param {{ row: number, col: number }} delta The transformation delta.
113
- */ _onModifyTransformEnd = /*#__PURE__*/ new WeakSet(), /**
126
+ */ _onModifyTransformEnd = /*#__PURE__*/ new WeakMap(), /**
114
127
  * The hook corrects the range (before drawing it) after the selection was made on the merged cells.
115
- * It expands the range to cover the entire area of the selected merged cells.
116
- */ _onBeforeSelectionHighlightSet = /*#__PURE__*/ new WeakSet(), /**
117
- * The `modifyGetCellCoords` hook callback allows forwarding all `getCell` calls that point in-between the merged cells
118
- * to the root element of the cell.
128
+ */ _onBeforeSelectionHighlightSet = /*#__PURE__*/ new WeakMap(), /**
129
+ * The `modifyGetCellCoords` hook callback.
119
130
  *
120
131
  * @param {number} row Row index.
121
132
  * @param {number} column Visual column index.
122
- * @param {boolean} topmost Indicates if the requested element belongs to the topmost layer (any overlay) or not.
133
+ * @param {boolean} topmost Indicates if the requested element belongs to the topmost layer.
123
134
  * @param {string} [source] String that identifies how this coords change will be processed.
124
135
  * @returns {Array|undefined} Visual coordinates of the merge.
125
- */ _onModifyGetCellCoords = /*#__PURE__*/ new WeakSet(), /**
136
+ */ _onModifyGetCellCoords = /*#__PURE__*/ new WeakMap(), /**
126
137
  * `afterContextMenuDefaultOptions` hook callback.
127
138
  *
128
139
  * @param {object} defaultOptions The default context menu options.
129
140
  */ _addMergeActionsToContextMenu = /*#__PURE__*/ new WeakSet(), /**
130
141
  * Clears the last selected coordinates before setting a new selection range.
131
- */ _onBeforeSetRangeStart = /*#__PURE__*/ new WeakSet(), /**
132
- * Detects if the last selected cell was a header cell if so update the order list active node for further
133
- * computations.
134
- */ _onBeforeSelectionFocusSet = /*#__PURE__*/ new WeakSet(), /**
142
+ */ _onBeforeSetRangeStart = /*#__PURE__*/ new WeakMap(), /**
143
+ * Detects if the last selected cell was a header cell.
144
+ */ _onBeforeSelectionFocusSet = /*#__PURE__*/ new WeakMap(), /**
135
145
  * Changes the focus selection to the next or previous cell or merged cell position.
136
146
  *
137
147
  * @param {number} row The visual row index.
138
148
  * @param {number} column The visual column index.
139
- */ _onAfterSelectionFocusSet = /*#__PURE__*/ new WeakSet(), /**
149
+ */ _onAfterSelectionFocusSet = /*#__PURE__*/ new WeakMap(), /**
140
150
  * Creates the horizontal and vertical cells order matrix (linked lists) for focused cell.
141
- */ _onAfterSelectionEnd = /*#__PURE__*/ new WeakSet(), /**
151
+ */ _onAfterSelectionEnd = /*#__PURE__*/ new WeakMap(), /**
142
152
  * The `afterGetCellMeta` hook callback.
143
153
  *
144
154
  * @param {number} row Row index.
145
155
  * @param {number} col Column index.
146
156
  * @param {object} cellProperties The cell properties object.
147
- */ _onAfterGetCellMeta = /*#__PURE__*/ new WeakSet(), /**
157
+ */ _onAfterGetCellMeta = /*#__PURE__*/ new WeakMap(), /**
148
158
  * `afterViewportRowCalculatorOverride` hook callback.
149
159
  *
150
160
  * @param {object} calc The row calculator object.
151
- */ _onAfterViewportRowCalculatorOverride = /*#__PURE__*/ new WeakSet(), /**
161
+ */ _onAfterViewportRowCalculatorOverride = /*#__PURE__*/ new WeakMap(), /**
152
162
  * `afterViewportColumnCalculatorOverride` hook callback.
153
163
  *
154
164
  * @param {object} calc The column calculator object.
155
- */ _onAfterViewportColumnCalculatorOverride = /*#__PURE__*/ new WeakSet(), /**
165
+ */ _onAfterViewportColumnCalculatorOverride = /*#__PURE__*/ new WeakMap(), /**
156
166
  * The `modifyAutofillRange` hook callback.
157
167
  *
158
168
  * @param {number[]} fullArea The drag + base area coordinates (`[startRow, startColumn, endRow, endColumn]`).
159
169
  * @param {number[]} baseArea The selection area coordinates (`[startRow, startColumn, endRow, endColumn]`).
160
170
  * @returns {number[]} The new drag area (`[startRow, startColumn, endRow, endColumn]`).
161
- */ _onModifyAutofillRange = /*#__PURE__*/ new WeakSet(), /**
171
+ */ _onModifyAutofillRange = /*#__PURE__*/ new WeakMap(), /**
162
172
  * `afterCreateCol` hook callback.
163
173
  *
164
174
  * @param {number} column Column index.
165
175
  * @param {number} count Number of created columns.
166
- */ _onAfterCreateCol = /*#__PURE__*/ new WeakSet(), /**
176
+ */ _onAfterCreateCol = /*#__PURE__*/ new WeakMap(), /**
167
177
  * `afterRemoveCol` hook callback.
168
178
  *
169
179
  * @param {number} column Column index.
170
180
  * @param {number} count Number of removed columns.
171
- */ _onAfterRemoveCol = /*#__PURE__*/ new WeakSet(), /**
181
+ */ _onAfterRemoveCol = /*#__PURE__*/ new WeakMap(), /**
172
182
  * `afterCreateRow` hook callback.
173
183
  *
174
184
  * @param {number} row Row index.
175
185
  * @param {number} count Number of created rows.
176
186
  * @param {string} source Source of change.
177
- */ _onAfterCreateRow = /*#__PURE__*/ new WeakSet(), /**
187
+ */ _onAfterCreateRow = /*#__PURE__*/ new WeakMap(), /**
178
188
  * `afterRemoveRow` hook callback.
179
189
  *
180
190
  * @param {number} row Row index.
181
191
  * @param {number} count Number of removed rows.
182
- */ _onAfterRemoveRow = /*#__PURE__*/ new WeakSet(), /**
192
+ */ _onAfterRemoveRow = /*#__PURE__*/ new WeakMap(), /**
193
+ * `beforeColumnMove` hook callback. Captures physical column positions of every merge
194
+ * so they can be translated onto the new visual order in `afterColumnMove`.
195
+ *
196
+ * @param {number[]} columns Visual column indexes being moved.
197
+ * @param {number} finalIndex Drop target visual index.
198
+ * @param {number} dropIndex Drop index from drag.
199
+ * @param {boolean} movePossible Whether the move is allowed.
200
+ */ _onBeforeColumnMove = /*#__PURE__*/ new WeakMap(), /**
201
+ * `afterColumnMove` hook callback. Translates merges using the pre-move snapshot
202
+ * and the now-updated column index mapping. Auto-splits merges whose physical
203
+ * columns are no longer contiguous.
204
+ *
205
+ * @param {number[]} columns Visual column indexes that were moved.
206
+ * @param {number} finalIndex Drop target visual index.
207
+ * @param {number} dropIndex Drop index from drag.
208
+ * @param {boolean} movePossible Whether the move was allowed.
209
+ * @param {boolean} orderChanged Whether the move actually changed the order.
210
+ */ _onAfterColumnMove = /*#__PURE__*/ new WeakMap(), /**
211
+ * `beforeRowMove` hook callback. Captures physical row positions of every merge
212
+ * so they can be translated onto the new visual order in `afterRowMove`.
213
+ *
214
+ * @param {number[]} rows Visual row indexes being moved.
215
+ * @param {number} finalIndex Drop target visual index.
216
+ * @param {number} dropIndex Drop index from drag.
217
+ * @param {boolean} movePossible Whether the move is allowed.
218
+ */ _onBeforeRowMove = /*#__PURE__*/ new WeakMap(), /**
219
+ * `afterRowMove` hook callback. Translates merges using the pre-move snapshot
220
+ * and the now-updated row index mapping. Auto-splits merges whose physical
221
+ * rows are no longer contiguous.
222
+ *
223
+ * @param {number[]} rows Visual row indexes that were moved.
224
+ * @param {number} finalIndex Drop target visual index.
225
+ * @param {number} dropIndex Drop index from drag.
226
+ * @param {boolean} movePossible Whether the move was allowed.
227
+ * @param {boolean} orderChanged Whether the move actually changed the order.
228
+ */ _onAfterRowMove = /*#__PURE__*/ new WeakMap(), /**
229
+ * `beforeColumnFreeze` / `beforeColumnUnfreeze` hook callback. `manualColumnFreeze`
230
+ * reorders the visual sequence directly through the column index mapper, so we
231
+ * need to translate merges through it the same way as for `manualColumnMove`.
232
+ *
233
+ * @param {number} column Visual column index being frozen/unfrozen.
234
+ * @param {boolean} performed Whether the (un)freeze will actually run.
235
+ */ _onBeforeColumnFreeze = /*#__PURE__*/ new WeakMap(), /**
236
+ * `afterColumnFreeze` / `afterColumnUnfreeze` hook callback.
237
+ *
238
+ * @param {number} column Visual column index that was frozen/unfrozen.
239
+ * @param {boolean} performed Whether the (un)freeze actually ran.
240
+ */ _onAfterColumnFreeze = /*#__PURE__*/ new WeakMap(), /**
183
241
  * `afterChange` hook callback. Used to propagate merged cells after using Autofill.
184
242
  *
185
243
  * @param {Array} changes The changes array.
186
244
  * @param {string} source Determines the source of the change.
187
- */ _onAfterChange = /*#__PURE__*/ new WeakSet(), /**
245
+ */ _onAfterChange = /*#__PURE__*/ new WeakMap(), /**
188
246
  * `beforeDrawAreaBorders` hook callback.
189
247
  *
190
248
  * @param {Array} corners Visual coordinates of the area corners.
191
249
  * @param {string} className Class name for the area.
192
- */ _onBeforeDrawAreaBorders = /*#__PURE__*/ new WeakSet(), /**
193
- * `afterDrawSelection` hook callback. Used to add the additional class name for the entirely-selected merged cells.
250
+ */ _onBeforeDrawAreaBorders = /*#__PURE__*/ new WeakMap(), /**
251
+ * `afterDrawSelection` hook callback.
194
252
  *
195
253
  * @param {number} currentRow Visual row index of the currently processed cell.
196
254
  * @param {number} currentColumn Visual column index of the currently cell.
197
- * @param {Array} cornersOfSelection Array of the current selection in a form of `[startRow, startColumn, endRow,
198
- * endColumn]`.
255
+ * @param {Array} cornersOfSelection Array of the current selection.
199
256
  * @param {number|undefined} layerLevel Number indicating which layer of selection is currently processed.
200
- * @returns {string|undefined} A `String`, which will act as an additional `className` to be added to the currently
201
- * processed cell.
202
- */ _onAfterDrawSelection = /*#__PURE__*/ new WeakSet(), /**
203
- * `beforeRemoveCellClassNames` hook callback. Used to remove additional class name from all cells in the table.
257
+ * @returns {string|undefined}
258
+ */ _onAfterDrawSelection = /*#__PURE__*/ new WeakMap(), /**
259
+ * `beforeRemoveCellClassNames` hook callback.
204
260
  *
205
- * @returns {string[]} An `Array` of `String`s. Each of these strings will act like class names to be removed from
206
- * all the cells in the table.
207
- */ _onBeforeRemoveCellClassNames = /*#__PURE__*/ new WeakSet(), /**
261
+ * @returns {string[]}
262
+ */ _onBeforeRemoveCellClassNames = /*#__PURE__*/ new WeakMap(), /**
208
263
  * Allows to prevent opening the editor while more than one merged cell is selected.
209
264
  *
210
265
  * @param {number} row Visual row index of the edited cell.
@@ -212,15 +267,15 @@ var /**
212
267
  * @param {string | null} initialValue The initial editor value.
213
268
  * @param {MouseEvent | KeyboardEvent} event The event which was responsible for opening the editor.
214
269
  * @returns {boolean | undefined}
215
- */ _onBeforeBeginEditing = /*#__PURE__*/ new WeakSet(), /**
270
+ */ _onBeforeBeginEditing = /*#__PURE__*/ new WeakMap(), /**
216
271
  * Hook used to modify the row height depends on the merged cells in the row.
217
272
  *
218
273
  * @param {number} height The row height value provided by the Core.
219
274
  * @param {number} row The visual row index.
220
275
  * @param {string} overlayType The overlay type that is currently rendered.
221
276
  * @returns {number}
222
- */ _onModifyRowHeightByOverlayName = /*#__PURE__*/ new WeakSet();
223
- /* eslint-disable jsdoc/require-description-complete-sentence */ /**
277
+ */ _onModifyRowHeightByOverlayName = /*#__PURE__*/ new WeakMap();
278
+ /**
224
279
  * @plugin MergeCells
225
280
  * @class MergeCells
226
281
  *
@@ -273,17 +328,24 @@ var /**
273
328
  * ```
274
329
  * :::
275
330
  */ export class MergeCells extends BasePlugin {
276
- static get PLUGIN_KEY() {
331
+ /**
332
+ * Returns the plugin key used to identify this plugin in Handsontable settings.
333
+ */ static get PLUGIN_KEY() {
277
334
  return PLUGIN_KEY;
278
335
  }
279
- static get PLUGIN_PRIORITY() {
336
+ /**
337
+ * Returns the priority order used to determine the order in which plugins are initialized.
338
+ */ static get PLUGIN_PRIORITY() {
280
339
  return PLUGIN_PRIORITY;
281
340
  }
282
- static get DEFAULT_SETTINGS() {
341
+ /**
342
+ * Returns the default settings applied when the plugin is enabled without explicit configuration.
343
+ */ static get DEFAULT_SETTINGS() {
344
+ const cells = [];
283
345
  return {
284
346
  [defaultMainSettingSymbol]: 'cells',
285
347
  virtualized: false,
286
- cells: []
348
+ cells
287
349
  };
288
350
  }
289
351
  /**
@@ -303,35 +365,43 @@ var /**
303
365
  this.mergedCellsCollection = new MergedCellsCollection(this);
304
366
  this.autofillCalculations = new AutofillCalculations(this);
305
367
  this.selectionCalculations = new SelectionCalculations(this);
306
- this.addHook('afterInit', (...args)=>_class_private_method_get(this, _onAfterInit, onAfterInit).call(this, ...args));
307
- this.addHook('modifyTransformFocus', (...args)=>_class_private_method_get(this, _onModifyTransformFocus, onModifyTransformFocus).call(this, ...args));
308
- this.addHook('modifyTransformStart', (...args)=>_class_private_method_get(this, _onModifyTransformStart, onModifyTransformStart).call(this, ...args));
309
- this.addHook('modifyTransformEnd', (...args)=>_class_private_method_get(this, _onModifyTransformEnd, onModifyTransformEnd).call(this, ...args));
310
- this.addHook('beforeSelectionHighlightSet', (...args)=>_class_private_method_get(this, _onBeforeSelectionHighlightSet, onBeforeSelectionHighlightSet).call(this, ...args));
311
- this.addHook('beforeSetRangeStart', (...args)=>_class_private_method_get(this, _onBeforeSetRangeStart, onBeforeSetRangeStart).call(this, ...args));
312
- this.addHook('beforeSetRangeStartOnly', (...args)=>_class_private_method_get(this, _onBeforeSetRangeStart, onBeforeSetRangeStart).call(this, ...args));
313
- this.addHook('beforeSelectionFocusSet', (...args)=>_class_private_method_get(this, _onBeforeSelectionFocusSet, onBeforeSelectionFocusSet).call(this, ...args));
314
- this.addHook('afterSelectionFocusSet', (...args)=>_class_private_method_get(this, _onAfterSelectionFocusSet, onAfterSelectionFocusSet).call(this, ...args));
315
- this.addHook('afterSelectionEnd', (...args)=>_class_private_method_get(this, _onAfterSelectionEnd, onAfterSelectionEnd).call(this, ...args));
316
- this.addHook('modifyGetCellCoords', (...args)=>_class_private_method_get(this, _onModifyGetCellCoords, onModifyGetCellCoords).call(this, ...args));
317
- this.addHook('modifyGetCoordsElement', (...args)=>_class_private_method_get(this, _onModifyGetCellCoords, onModifyGetCellCoords).call(this, ...args));
318
- this.addHook('afterIsMultipleSelection', (...args)=>_class_private_method_get(this, _onAfterIsMultipleSelection, onAfterIsMultipleSelection).call(this, ...args));
319
- this.addHook('afterRenderer', (...args)=>_class_private_field_get(this, _cellRenderer).after(...args));
320
- this.addHook('afterContextMenuDefaultOptions', (...args)=>_class_private_method_get(this, _addMergeActionsToContextMenu, addMergeActionsToContextMenu).call(this, ...args));
321
- this.addHook('afterGetCellMeta', (...args)=>_class_private_method_get(this, _onAfterGetCellMeta, onAfterGetCellMeta).call(this, ...args));
322
- this.addHook('afterViewportRowCalculatorOverride', (...args)=>_class_private_method_get(this, _onAfterViewportRowCalculatorOverride, onAfterViewportRowCalculatorOverride).call(this, ...args));
323
- this.addHook('afterViewportColumnCalculatorOverride', (...args)=>_class_private_method_get(this, _onAfterViewportColumnCalculatorOverride, onAfterViewportColumnCalculatorOverride).call(this, ...args));
324
- this.addHook('modifyAutofillRange', (...args)=>_class_private_method_get(this, _onModifyAutofillRange, onModifyAutofillRange).call(this, ...args));
325
- this.addHook('afterCreateCol', (...args)=>_class_private_method_get(this, _onAfterCreateCol, onAfterCreateCol).call(this, ...args));
326
- this.addHook('afterRemoveCol', (...args)=>_class_private_method_get(this, _onAfterRemoveCol, onAfterRemoveCol).call(this, ...args));
327
- this.addHook('afterCreateRow', (...args)=>_class_private_method_get(this, _onAfterCreateRow, onAfterCreateRow).call(this, ...args));
328
- this.addHook('afterRemoveRow', (...args)=>_class_private_method_get(this, _onAfterRemoveRow, onAfterRemoveRow).call(this, ...args));
329
- this.addHook('afterChange', (...args)=>_class_private_method_get(this, _onAfterChange, onAfterChange).call(this, ...args));
330
- this.addHook('beforeDrawBorders', (...args)=>_class_private_method_get(this, _onBeforeDrawAreaBorders, onBeforeDrawAreaBorders).call(this, ...args));
331
- this.addHook('afterDrawSelection', (...args)=>_class_private_method_get(this, _onAfterDrawSelection, onAfterDrawSelection).call(this, ...args));
332
- this.addHook('beforeRemoveCellClassNames', (...args)=>_class_private_method_get(this, _onBeforeRemoveCellClassNames, onBeforeRemoveCellClassNames).call(this, ...args));
333
- this.addHook('beforeBeginEditing', (...args)=>_class_private_method_get(this, _onBeforeBeginEditing, onBeforeBeginEditing).call(this, ...args));
334
- this.addHook('modifyRowHeightByOverlayName', (...args)=>_class_private_method_get(this, _onModifyRowHeightByOverlayName, onModifyRowHeightByOverlayName).call(this, ...args));
368
+ this.addHook('afterInit', _class_private_field_get(this, _onAfterInit));
369
+ this.addHook('modifyTransformFocus', _class_private_field_get(this, _onModifyTransformFocus));
370
+ this.addHook('modifyTransformStart', _class_private_field_get(this, _onModifyTransformStart));
371
+ this.addHook('modifyTransformEnd', _class_private_field_get(this, _onModifyTransformEnd));
372
+ this.addHook('beforeSelectionHighlightSet', _class_private_field_get(this, _onBeforeSelectionHighlightSet));
373
+ this.addHook('beforeSetRangeStart', _class_private_field_get(this, _onBeforeSetRangeStart));
374
+ this.addHook('beforeSetRangeStartOnly', _class_private_field_get(this, _onBeforeSetRangeStart));
375
+ this.addHook('beforeSelectionFocusSet', _class_private_field_get(this, _onBeforeSelectionFocusSet));
376
+ this.addHook('afterSelectionFocusSet', _class_private_field_get(this, _onAfterSelectionFocusSet));
377
+ this.addHook('afterSelectionEnd', _class_private_field_get(this, _onAfterSelectionEnd));
378
+ this.addHook('modifyGetCellCoords', _class_private_field_get(this, _onModifyGetCellCoords));
379
+ this.addHook('modifyGetCoordsElement', _class_private_field_get(this, _onModifyGetCellCoords));
380
+ this.addHook('afterIsMultipleSelection', _class_private_field_get(this, _onAfterIsMultipleSelection));
381
+ this.addHook('afterRenderer', (TD, row, col)=>_class_private_field_get(this, _cellRenderer).after(TD, row, col));
382
+ this.addHook('afterContextMenuDefaultOptions', (defaultOptions)=>_class_private_method_get(this, _addMergeActionsToContextMenu, addMergeActionsToContextMenu).call(this, defaultOptions));
383
+ this.addHook('afterGetCellMeta', _class_private_field_get(this, _onAfterGetCellMeta));
384
+ this.addHook('afterViewportRowCalculatorOverride', _class_private_field_get(this, _onAfterViewportRowCalculatorOverride));
385
+ this.addHook('afterViewportColumnCalculatorOverride', _class_private_field_get(this, _onAfterViewportColumnCalculatorOverride));
386
+ this.addHook('modifyAutofillRange', _class_private_field_get(this, _onModifyAutofillRange));
387
+ this.addHook('afterCreateCol', _class_private_field_get(this, _onAfterCreateCol));
388
+ this.addHook('afterRemoveCol', _class_private_field_get(this, _onAfterRemoveCol));
389
+ this.addHook('afterCreateRow', _class_private_field_get(this, _onAfterCreateRow));
390
+ this.addHook('afterRemoveRow', _class_private_field_get(this, _onAfterRemoveRow));
391
+ this.addHook('beforeColumnMove', _class_private_field_get(this, _onBeforeColumnMove));
392
+ this.addHook('afterColumnMove', _class_private_field_get(this, _onAfterColumnMove));
393
+ this.addHook('beforeRowMove', _class_private_field_get(this, _onBeforeRowMove));
394
+ this.addHook('afterRowMove', _class_private_field_get(this, _onAfterRowMove));
395
+ this.addHook('beforeColumnFreeze', _class_private_field_get(this, _onBeforeColumnFreeze));
396
+ this.addHook('afterColumnFreeze', _class_private_field_get(this, _onAfterColumnFreeze));
397
+ this.addHook('beforeColumnUnfreeze', _class_private_field_get(this, _onBeforeColumnFreeze));
398
+ this.addHook('afterColumnUnfreeze', _class_private_field_get(this, _onAfterColumnFreeze));
399
+ this.addHook('afterChange', _class_private_field_get(this, _onAfterChange));
400
+ this.addHook('beforeDrawBorders', _class_private_field_get(this, _onBeforeDrawAreaBorders));
401
+ this.addHook('afterDrawSelection', _class_private_field_get(this, _onAfterDrawSelection));
402
+ this.addHook('beforeRemoveCellClassNames', _class_private_field_get(this, _onBeforeRemoveCellClassNames));
403
+ this.addHook('beforeBeginEditing', _class_private_field_get(this, _onBeforeBeginEditing));
404
+ this.addHook('modifyRowHeightByOverlayName', _class_private_field_get(this, _onModifyRowHeightByOverlayName));
335
405
  this.addHook('beforeUndoStackChange', (action, source)=>{
336
406
  if (source === 'MergeCells') {
337
407
  return false;
@@ -346,6 +416,7 @@ var /**
346
416
  this.clearCollections();
347
417
  this.unregisterShortcuts();
348
418
  this.hot.render();
419
+ _class_private_field_set(this, _initialized, false);
349
420
  super.disablePlugin();
350
421
  }
351
422
  /**
@@ -358,6 +429,7 @@ var /**
358
429
  this.disablePlugin();
359
430
  this.enablePlugin();
360
431
  this.generateFromSettings();
432
+ _class_private_field_set(this, _initialized, true);
361
433
  super.updatePlugin();
362
434
  }
363
435
  /**
@@ -384,13 +456,16 @@ var /**
384
456
  ];
385
457
  rowIndexesToRefresh.forEach((rowIndex)=>{
386
458
  const renderableRowIndex = this.hot.rowIndexMapper.getRenderableFromVisualIndex(rowIndex);
387
- this.hot.view._wt.wtOverlays.getOverlays(true).map((overlay)=>overlay?.name === 'master' ? overlay : overlay.clone.wtTable).forEach((wtTableRef)=>{
459
+ if (renderableRowIndex === null) {
460
+ return;
461
+ }
462
+ this.hot.view._wt.wtOverlays.getOverlays(true).map((overlay)=>overlay.name === 'master' ? overlay : overlay.clone.wtTable).forEach((wtTableRef)=>{
388
463
  const rowToRefresh = wtTableRef.getRow(renderableRowIndex);
389
464
  if (rowToRefresh) {
390
465
  // Modify the TR's `background` property to later modify it asynchronously.
391
466
  // The background color is getting modified only with the alpha, so the change should not be visible (and is
392
467
  // covered by the TDs' background color).
393
- rowToRefresh.style.background = getStyle(rowToRefresh, 'backgroundColor').replace(')', ', 0.99)');
468
+ rowToRefresh.style.background = getStyle(rowToRefresh, 'backgroundColor')?.replace(')', ', 0.99)') ?? '';
394
469
  rowsToRefresh.push(rowToRefresh);
395
470
  }
396
471
  });
@@ -398,7 +473,7 @@ var /**
398
473
  // Asynchronously revert the TRs' `background` property to force a fresh repaint.
399
474
  this.hot._registerTimeout(()=>{
400
475
  rowsToRefresh.forEach((rowElement)=>{
401
- rowElement.style.background = getStyle(rowElement, 'backgroundColor')?.replace(', 0.99)', ')');
476
+ rowElement.style.background = getStyle(rowElement, 'backgroundColor')?.replace(', 0.99)', '') ?? '';
402
477
  });
403
478
  }, 1);
404
479
  }
@@ -463,7 +538,7 @@ var /**
463
538
  return;
464
539
  }
465
540
  // TODO: Change the `source` argument to a more meaningful value, e.g. `${this.pluginName}.clearCells`.
466
- this.hot.setDataAtCell(populatedNulls, undefined, undefined, this.pluginName);
541
+ this.hot.setDataAtCell(populatedNulls, undefined, undefined, this.pluginName ?? undefined);
467
542
  }
468
543
  /**
469
544
  * Clears the merged cells from the merged cell container.
@@ -492,7 +567,9 @@ var /**
492
567
  const { from, to } = cellRange;
493
568
  this.unmergeRange(cellRange, true);
494
569
  this.mergeRange(cellRange);
495
- this.hot.selectCell(from.row, from.col, to.row, to.col, false);
570
+ if (from.row !== null && from.col !== null && to.row !== null && to.col !== null) {
571
+ this.hot.selectCell(from.row, from.col, to.row, to.col, false);
572
+ }
496
573
  }
497
574
  /**
498
575
  * Unmerges the selection provided as a cell range.
@@ -504,7 +581,9 @@ var /**
504
581
  }
505
582
  const { from, to } = cellRange;
506
583
  this.unmergeRange(cellRange, true);
507
- this.hot.selectCell(from.row, from.col, to.row, to.col, false);
584
+ if (from.row !== null && from.col !== null && to.row !== null && to.col !== null) {
585
+ this.hot.selectCell(from.row, from.col, to.row, to.col, false);
586
+ }
508
587
  }
509
588
  /**
510
589
  * Merges cells in the provided cell range.
@@ -521,6 +600,9 @@ var /**
521
600
  */ mergeRange(cellRange, auto = false, preventPopulation = false) {
522
601
  const topStart = cellRange.getTopStartCorner();
523
602
  const bottomEnd = cellRange.getBottomEndCorner();
603
+ if (topStart.row === null || topStart.col === null || bottomEnd.row === null || bottomEnd.col === null) {
604
+ return false;
605
+ }
524
606
  const mergeParent = {
525
607
  row: topStart.row,
526
608
  col: topStart.col,
@@ -558,7 +640,7 @@ var /**
558
640
  ];
559
641
  } else {
560
642
  // TODO: Change the `source` argument to a more meaningful value, e.g. `${this.pluginName}.clearCells`.
561
- this.hot.populateFromArray(mergeParent.row, mergeParent.col, clearedData, undefined, undefined, this.pluginName);
643
+ this.hot.populateFromArray(mergeParent.row, mergeParent.col, clearedData, undefined, undefined, this.pluginName ?? undefined);
562
644
  }
563
645
  if (!auto) {
564
646
  this.ifChromeForceRepaint();
@@ -603,8 +685,11 @@ var /**
603
685
  * @param {CellRange} cellRange The cell range to merge or unmerged.
604
686
  */ toggleMerge(cellRange) {
605
687
  const { from, to } = cellRange.clone().normalize();
688
+ if (from.row === null || from.col === null || to.row === null || to.col === null) {
689
+ return;
690
+ }
606
691
  const mergedCell = this.mergedCellsCollection.get(from.row, from.col);
607
- const mergedCellCoversWholeRange = mergedCell.row === from.row && mergedCell.col === from.col && mergedCell.row + mergedCell.rowspan - 1 === to.row && mergedCell.col + mergedCell.colspan - 1 === to.col;
692
+ const mergedCellCoversWholeRange = mergedCell !== false && mergedCell.row === from.row && mergedCell.col === from.col && mergedCell.row + mergedCell.rowspan - 1 === to.row && mergedCell.col + mergedCell.colspan - 1 === to.col;
608
693
  if (mergedCellCoversWholeRange) {
609
694
  this.unmergeRange(cellRange);
610
695
  } else {
@@ -646,6 +731,9 @@ var /**
646
731
  */ registerShortcuts() {
647
732
  const shortcutManager = this.hot.getShortcutManager();
648
733
  const gridContext = shortcutManager.getContext('grid');
734
+ if (!gridContext) {
735
+ return;
736
+ }
649
737
  gridContext.addShortcut({
650
738
  keys: [
651
739
  [
@@ -660,7 +748,7 @@ var /**
660
748
  this.hot.render();
661
749
  }
662
750
  },
663
- runOnlyIf: (event)=>!event.altKey,
751
+ runOnlyIf: (event)=>!event?.altKey,
664
752
  group: SHORTCUTS_GROUP
665
753
  });
666
754
  }
@@ -671,102 +759,100 @@ var /**
671
759
  */ unregisterShortcuts() {
672
760
  const shortcutManager = this.hot.getShortcutManager();
673
761
  const gridContext = shortcutManager.getContext('grid');
674
- gridContext.removeShortcutsByGroup(SHORTCUTS_GROUP);
762
+ gridContext?.removeShortcutsByGroup(SHORTCUTS_GROUP);
675
763
  }
676
764
  /**
677
- * Modify viewport start when needed. We extend viewport when merged cells aren't fully visible.
765
+ * Modify viewport start when needed.
678
766
  *
679
767
  * @private
680
768
  * @param {object} calc The row calculator object.
681
769
  * @param {number} nrOfColumns Number of visual columns.
682
770
  */ modifyViewportRowStart(calc, nrOfColumns) {
683
771
  const rowMapper = this.hot.rowIndexMapper;
684
- const visualStartRow = rowMapper.getVisualFromRenderableIndex(calc.startRow);
772
+ const visualStartRow = rowMapper.getVisualFromRenderableIndex(calc.startRow) ?? 0;
685
773
  for(let visualColumnIndex = 0; visualColumnIndex < nrOfColumns; visualColumnIndex += 1){
686
774
  const mergeParentForViewportStart = this.mergedCellsCollection.get(visualStartRow, visualColumnIndex);
687
- if (isObject(mergeParentForViewportStart)) {
688
- const renderableIndexAtMergeStart = rowMapper.getRenderableFromVisualIndex(rowMapper.getNearestNotHiddenIndex(mergeParentForViewportStart.row, 1));
689
- // Merge start is out of the viewport (i.e. when we scrolled to the bottom and we can see just part of a merge).
690
- if (renderableIndexAtMergeStart < calc.startRow) {
691
- // We extend viewport when some rows have been merged.
775
+ if (mergeParentForViewportStart !== false) {
776
+ const nearestNotHiddenRow = rowMapper.getNearestNotHiddenIndex(mergeParentForViewportStart.row, 1);
777
+ const renderableIndexAtMergeStart = nearestNotHiddenRow !== null ? rowMapper.getRenderableFromVisualIndex(nearestNotHiddenRow) : null;
778
+ if (renderableIndexAtMergeStart !== null && renderableIndexAtMergeStart < calc.startRow) {
692
779
  calc.startRow = renderableIndexAtMergeStart;
693
- // We are looking for next merges inside already extended viewport (starting again from row equal to 0).
694
- this.modifyViewportRowStart(calc, nrOfColumns); // recursively search upwards
695
- return; // Finish the current loop. Everything will be checked from the beginning by above recursion.
780
+ this.modifyViewportRowStart(calc, nrOfColumns);
781
+ return;
696
782
  }
697
783
  }
698
784
  }
699
785
  }
700
786
  /**
701
- * Modify viewport end when needed. We extend viewport when merged cells aren't fully visible.
787
+ * Modify viewport end when needed.
702
788
  *
703
789
  * @private
704
790
  * @param {object} calc The row calculator object.
705
791
  * @param {number} nrOfColumns Number of visual columns.
706
792
  */ modifyViewportRowEnd(calc, nrOfColumns) {
707
793
  const rowMapper = this.hot.rowIndexMapper;
708
- const visualEndRow = rowMapper.getVisualFromRenderableIndex(calc.endRow);
794
+ const visualEndRow = rowMapper.getVisualFromRenderableIndex(calc.endRow) ?? 0;
709
795
  for(let visualColumnIndex = 0; visualColumnIndex < nrOfColumns; visualColumnIndex += 1){
710
796
  const mergeParentForViewportEnd = this.mergedCellsCollection.get(visualEndRow, visualColumnIndex);
711
- if (isObject(mergeParentForViewportEnd)) {
797
+ if (mergeParentForViewportEnd !== false) {
712
798
  const mergeEnd = mergeParentForViewportEnd.row + mergeParentForViewportEnd.rowspan - 1;
713
- const renderableIndexAtMergeEnd = rowMapper.getRenderableFromVisualIndex(rowMapper.getNearestNotHiddenIndex(mergeEnd, -1));
714
- // Merge end is out of the viewport.
715
- if (renderableIndexAtMergeEnd > calc.endRow) {
716
- // We extend the viewport when some rows have been merged.
717
- calc.endRow = renderableIndexAtMergeEnd;
718
- // We are looking for next merges inside already extended viewport (starting again from row equal to 0).
719
- this.modifyViewportRowEnd(calc, nrOfColumns); // recursively search upwards
720
- return; // Finish the current loop. Everything will be checked from the beginning by above recursion.
799
+ const nearestRow = rowMapper.getNearestNotHiddenIndex(mergeEnd, -1);
800
+ if (nearestRow !== null) {
801
+ const renderableIndexAtMergeEnd = rowMapper.getRenderableFromVisualIndex(nearestRow);
802
+ if (renderableIndexAtMergeEnd !== null && renderableIndexAtMergeEnd > calc.endRow) {
803
+ calc.endRow = renderableIndexAtMergeEnd;
804
+ this.modifyViewportRowEnd(calc, nrOfColumns);
805
+ return;
806
+ }
721
807
  }
722
808
  }
723
809
  }
724
810
  }
725
811
  /**
726
- * Modify viewport start when needed. We extend viewport when merged cells aren't fully visible.
812
+ * Modify viewport start when needed.
727
813
  *
728
814
  * @private
729
815
  * @param {object} calc The column calculator object.
730
816
  * @param {number} nrOfRows Number of visual rows.
731
817
  */ modifyViewportColumnStart(calc, nrOfRows) {
732
818
  const columnMapper = this.hot.columnIndexMapper;
733
- const visualStartCol = columnMapper.getVisualFromRenderableIndex(calc.startColumn);
819
+ const visualStartCol = columnMapper.getVisualFromRenderableIndex(calc.startColumn) ?? 0;
734
820
  for(let visualRowIndex = 0; visualRowIndex < nrOfRows; visualRowIndex += 1){
735
821
  const mergeParentForViewportStart = this.mergedCellsCollection.get(visualRowIndex, visualStartCol);
736
- if (isObject(mergeParentForViewportStart)) {
737
- const renderableIndexAtMergeStart = columnMapper.getRenderableFromVisualIndex(columnMapper.getNearestNotHiddenIndex(mergeParentForViewportStart.col, 1));
738
- // Merge start is out of the viewport (i.e. when we scrolled to the right and we can see just part of a merge).
739
- if (renderableIndexAtMergeStart < calc.startColumn) {
740
- // We extend viewport when some columns have been merged.
741
- calc.startColumn = renderableIndexAtMergeStart;
742
- // We are looking for next merges inside already extended viewport (starting again from column equal to 0).
743
- this.modifyViewportColumnStart(calc, nrOfRows); // recursively search upwards
744
- return; // Finish the current loop. Everything will be checked from the beginning by above recursion.
822
+ if (mergeParentForViewportStart !== false) {
823
+ const nearestCol = columnMapper.getNearestNotHiddenIndex(mergeParentForViewportStart.col, 1);
824
+ if (nearestCol !== null) {
825
+ const renderableIndexAtMergeStart = columnMapper.getRenderableFromVisualIndex(nearestCol);
826
+ if (renderableIndexAtMergeStart !== null && renderableIndexAtMergeStart < calc.startColumn) {
827
+ calc.startColumn = renderableIndexAtMergeStart;
828
+ this.modifyViewportColumnStart(calc, nrOfRows);
829
+ return;
830
+ }
745
831
  }
746
832
  }
747
833
  }
748
834
  }
749
835
  /**
750
- * Modify viewport end when needed. We extend viewport when merged cells aren't fully visible.
836
+ * Modify viewport end when needed.
751
837
  *
752
838
  * @private
753
839
  * @param {object} calc The column calculator object.
754
840
  * @param {number} nrOfRows Number of visual rows.
755
841
  */ modifyViewportColumnEnd(calc, nrOfRows) {
756
842
  const columnMapper = this.hot.columnIndexMapper;
757
- const visualEndCol = columnMapper.getVisualFromRenderableIndex(calc.endColumn);
843
+ const visualEndCol = columnMapper.getVisualFromRenderableIndex(calc.endColumn) ?? 0;
758
844
  for(let visualRowIndex = 0; visualRowIndex < nrOfRows; visualRowIndex += 1){
759
845
  const mergeParentForViewportEnd = this.mergedCellsCollection.get(visualRowIndex, visualEndCol);
760
- if (isObject(mergeParentForViewportEnd)) {
846
+ if (mergeParentForViewportEnd !== false) {
761
847
  const mergeEnd = mergeParentForViewportEnd.col + mergeParentForViewportEnd.colspan - 1;
762
- const renderableIndexAtMergeEnd = columnMapper.getRenderableFromVisualIndex(columnMapper.getNearestNotHiddenIndex(mergeEnd, -1));
763
- // Merge end is out of the viewport.
764
- if (renderableIndexAtMergeEnd > calc.endColumn) {
765
- // We extend the viewport when some columns have been merged.
766
- calc.endColumn = renderableIndexAtMergeEnd;
767
- // We are looking for next merges inside already extended viewport (starting again from column equal to 0).
768
- this.modifyViewportColumnEnd(calc, nrOfRows); // recursively search upwards
769
- return; // Finish the current loop. Everything will be checked from the beginning by above recursion.
848
+ const nearestCol = columnMapper.getNearestNotHiddenIndex(mergeEnd, -1);
849
+ if (nearestCol !== null) {
850
+ const renderableIndexAtMergeEnd = columnMapper.getRenderableFromVisualIndex(nearestCol);
851
+ if (renderableIndexAtMergeEnd !== null && renderableIndexAtMergeEnd > calc.endColumn) {
852
+ calc.endColumn = renderableIndexAtMergeEnd;
853
+ this.modifyViewportColumnEnd(calc, nrOfRows);
854
+ return;
855
+ }
770
856
  }
771
857
  }
772
858
  }
@@ -776,16 +862,10 @@ var /**
776
862
  *
777
863
  * @private
778
864
  * @param {number} parentRow Visual row index.
779
- * @param {number} rowspan Rowspan which describes shift which will be applied to parent row
780
- * to calculate renderable index which points to the most bottom
781
- * index position. Pass rowspan as `0` to calculate the most top
782
- * index position.
865
+ * @param {number} rowspan Rowspan.
783
866
  * @param {number} parentColumn Visual column index.
784
- * @param {number} colspan Colspan which describes shift which will be applied to parent column
785
- * to calculate renderable index which points to the most right
786
- * index position. Pass colspan as `0` to calculate the most left
787
- * index position.
788
- * @returns {number[]}
867
+ * @param {number} colspan Colspan.
868
+ * @returns {Array<number>} A two-element array of `[renderableRow, renderableColumn]`.
789
869
  */ translateMergedCellToRenderable(parentRow, rowspan, parentColumn, colspan) {
790
870
  const { rowIndexMapper: rowMapper, columnIndexMapper: columnMapper } = this.hot;
791
871
  let firstNonHiddenRow;
@@ -800,15 +880,15 @@ var /**
800
880
  } else {
801
881
  firstNonHiddenColumn = columnMapper.getNearestNotHiddenIndex(parentColumn + colspan - 1, -1);
802
882
  }
803
- const renderableRow = parentRow >= 0 ? rowMapper.getRenderableFromVisualIndex(firstNonHiddenRow) : parentRow;
804
- const renderableColumn = parentColumn >= 0 ? columnMapper.getRenderableFromVisualIndex(firstNonHiddenColumn) : parentColumn;
883
+ const renderableRow = parentRow >= 0 && firstNonHiddenRow !== null ? rowMapper.getRenderableFromVisualIndex(firstNonHiddenRow) ?? parentRow : parentRow;
884
+ const renderableColumn = parentColumn >= 0 && firstNonHiddenColumn !== null ? columnMapper.getRenderableFromVisualIndex(firstNonHiddenColumn) ?? parentColumn : parentColumn;
805
885
  return [
806
886
  renderableRow,
807
887
  renderableColumn
808
888
  ];
809
889
  }
810
890
  constructor(...args){
811
- super(...args), _class_private_method_init(this, _onAfterInit), _class_private_method_init(this, _onAfterIsMultipleSelection), _class_private_method_init(this, _onModifyTransformFocus), _class_private_method_init(this, _onModifyTransformStart), _class_private_method_init(this, _onModifyTransformEnd), _class_private_method_init(this, _onBeforeSelectionHighlightSet), _class_private_method_init(this, _onModifyGetCellCoords), _class_private_method_init(this, _addMergeActionsToContextMenu), _class_private_method_init(this, _onBeforeSetRangeStart), _class_private_method_init(this, _onBeforeSelectionFocusSet), _class_private_method_init(this, _onAfterSelectionFocusSet), _class_private_method_init(this, _onAfterSelectionEnd), _class_private_method_init(this, _onAfterGetCellMeta), _class_private_method_init(this, _onAfterViewportRowCalculatorOverride), _class_private_method_init(this, _onAfterViewportColumnCalculatorOverride), _class_private_method_init(this, _onModifyAutofillRange), _class_private_method_init(this, _onAfterCreateCol), _class_private_method_init(this, _onAfterRemoveCol), _class_private_method_init(this, _onAfterCreateRow), _class_private_method_init(this, _onAfterRemoveRow), _class_private_method_init(this, _onAfterChange), _class_private_method_init(this, _onBeforeDrawAreaBorders), _class_private_method_init(this, _onAfterDrawSelection), _class_private_method_init(this, _onBeforeRemoveCellClassNames), _class_private_method_init(this, _onBeforeBeginEditing), _class_private_method_init(this, _onModifyRowHeightByOverlayName), _class_private_field_init(this, _lastSelectedFocus, {
891
+ super(...args), _class_private_method_init(this, _addMergeActionsToContextMenu), _class_private_field_init(this, _lastSelectedFocus, {
812
892
  writable: true,
813
893
  value: void 0
814
894
  }), _class_private_field_init(this, _lastFocusDelta, {
@@ -820,441 +900,592 @@ var /**
820
900
  }), _class_private_field_init(this, _cellRenderer, {
821
901
  writable: true,
822
902
  value: void 0
823
- }), /**
824
- * A container for all the merged cells.
825
- *
826
- * @private
827
- * @type {MergedCellsCollection}
828
- */ this.mergedCellsCollection = null, /**
829
- * Instance of the class responsible for all the autofill-related calculations.
830
- *
831
- * @private
832
- * @type {AutofillCalculations}
833
- */ this.autofillCalculations = null, /**
834
- * Instance of the class responsible for the selection-related calculations.
835
- *
836
- * @private
837
- * @type {SelectionCalculations}
838
- */ this.selectionCalculations = null, _class_private_field_set(this, _lastSelectedFocus, null), _class_private_field_set(this, _lastFocusDelta, {
903
+ }), _class_private_field_init(this, _columnMoveSnapshot, {
904
+ writable: true,
905
+ value: void 0
906
+ }), _class_private_field_init(this, _rowMoveSnapshot, {
907
+ writable: true,
908
+ value: void 0
909
+ }), _class_private_field_init(this, _initialized, {
910
+ writable: true,
911
+ value: void 0
912
+ }), _class_private_field_init(this, _onAfterInit, {
913
+ writable: true,
914
+ value: void 0
915
+ }), _class_private_field_init(this, _onAfterIsMultipleSelection, {
916
+ writable: true,
917
+ value: void 0
918
+ }), _class_private_field_init(this, _onModifyTransformFocus, {
919
+ writable: true,
920
+ value: void 0
921
+ }), _class_private_field_init(this, _onModifyTransformStart, {
922
+ writable: true,
923
+ value: void 0
924
+ }), _class_private_field_init(this, _onModifyTransformEnd, {
925
+ writable: true,
926
+ value: void 0
927
+ }), _class_private_field_init(this, _onBeforeSelectionHighlightSet, {
928
+ writable: true,
929
+ value: void 0
930
+ }), _class_private_field_init(this, _onModifyGetCellCoords, {
931
+ writable: true,
932
+ value: void 0
933
+ }), _class_private_field_init(this, _onBeforeSetRangeStart, {
934
+ writable: true,
935
+ value: void 0
936
+ }), _class_private_field_init(this, _onBeforeSelectionFocusSet, {
937
+ writable: true,
938
+ value: void 0
939
+ }), _class_private_field_init(this, _onAfterSelectionFocusSet, {
940
+ writable: true,
941
+ value: void 0
942
+ }), _class_private_field_init(this, _onAfterSelectionEnd, {
943
+ writable: true,
944
+ value: void 0
945
+ }), _class_private_field_init(this, _onAfterGetCellMeta, {
946
+ writable: true,
947
+ value: void 0
948
+ }), _class_private_field_init(this, _onAfterViewportRowCalculatorOverride, {
949
+ writable: true,
950
+ value: void 0
951
+ }), _class_private_field_init(this, _onAfterViewportColumnCalculatorOverride, {
952
+ writable: true,
953
+ value: void 0
954
+ }), _class_private_field_init(this, _onModifyAutofillRange, {
955
+ writable: true,
956
+ value: void 0
957
+ }), _class_private_field_init(this, _onAfterCreateCol, {
958
+ writable: true,
959
+ value: void 0
960
+ }), _class_private_field_init(this, _onAfterRemoveCol, {
961
+ writable: true,
962
+ value: void 0
963
+ }), _class_private_field_init(this, _onAfterCreateRow, {
964
+ writable: true,
965
+ value: void 0
966
+ }), _class_private_field_init(this, _onAfterRemoveRow, {
967
+ writable: true,
968
+ value: void 0
969
+ }), _class_private_field_init(this, _onBeforeColumnMove, {
970
+ writable: true,
971
+ value: void 0
972
+ }), _class_private_field_init(this, _onAfterColumnMove, {
973
+ writable: true,
974
+ value: void 0
975
+ }), _class_private_field_init(this, _onBeforeRowMove, {
976
+ writable: true,
977
+ value: void 0
978
+ }), _class_private_field_init(this, _onAfterRowMove, {
979
+ writable: true,
980
+ value: void 0
981
+ }), _class_private_field_init(this, _onBeforeColumnFreeze, {
982
+ writable: true,
983
+ value: void 0
984
+ }), _class_private_field_init(this, _onAfterColumnFreeze, {
985
+ writable: true,
986
+ value: void 0
987
+ }), _class_private_field_init(this, _onAfterChange, {
988
+ writable: true,
989
+ value: void 0
990
+ }), _class_private_field_init(this, _onBeforeDrawAreaBorders, {
991
+ writable: true,
992
+ value: void 0
993
+ }), _class_private_field_init(this, _onAfterDrawSelection, {
994
+ writable: true,
995
+ value: void 0
996
+ }), _class_private_field_init(this, _onBeforeRemoveCellClassNames, {
997
+ writable: true,
998
+ value: void 0
999
+ }), _class_private_field_init(this, _onBeforeBeginEditing, {
1000
+ writable: true,
1001
+ value: void 0
1002
+ }), _class_private_field_init(this, _onModifyRowHeightByOverlayName, {
1003
+ writable: true,
1004
+ value: void 0
1005
+ }), _class_private_field_set(this, _lastSelectedFocus, null), _class_private_field_set(this, _lastFocusDelta, {
839
1006
  row: 0,
840
1007
  col: 0
841
1008
  }), _class_private_field_set(this, _focusOrder, new FocusOrder({
842
1009
  mergedCellsGetter: (row, column)=>this.mergedCellsCollection.get(row, column),
843
1010
  rowIndexMapper: this.hot.rowIndexMapper,
844
1011
  columnIndexMapper: this.hot.columnIndexMapper
845
- })), _class_private_field_set(this, _cellRenderer, createMergeCellRenderer(this));
846
- }
847
- }
848
- function onAfterInit() {
849
- this.generateFromSettings();
850
- this.hot.render();
851
- }
852
- function onAfterIsMultipleSelection(isMultiple) {
853
- if (isMultiple) {
854
- const mergedCells = this.mergedCellsCollection.mergedCells;
855
- const selectionRange = this.hot.getSelectedRangeActive();
856
- const topStartCoords = selectionRange.getTopStartCorner();
857
- const bottomEndCoords = selectionRange.getBottomEndCorner();
858
- for(let group = 0; group < mergedCells.length; group += 1){
859
- if (topStartCoords.row === mergedCells[group].row && topStartCoords.col === mergedCells[group].col && bottomEndCoords.row === mergedCells[group].row + mergedCells[group].rowspan - 1 && bottomEndCoords.col === mergedCells[group].col + mergedCells[group].colspan - 1) {
860
- return false;
1012
+ })), _class_private_field_set(this, _cellRenderer, createMergeCellRenderer(this)), _class_private_field_set(this, _columnMoveSnapshot, null), _class_private_field_set(this, _rowMoveSnapshot, null), _class_private_field_set(this, _initialized, false), _class_private_field_set(this, _onAfterInit, ()=>{
1013
+ this.generateFromSettings();
1014
+ this.hot.render();
1015
+ _class_private_field_set(this, _initialized, true);
1016
+ }), _class_private_field_set(this, _onAfterIsMultipleSelection, (isMultiple)=>{
1017
+ if (isMultiple) {
1018
+ const mergedCells = this.mergedCellsCollection.mergedCells;
1019
+ const selectionRange = this.hot.getSelectedRangeActive();
1020
+ if (!selectionRange) {
1021
+ return isMultiple;
1022
+ }
1023
+ const topStartCoords = selectionRange.getTopStartCorner();
1024
+ const bottomEndCoords = selectionRange.getBottomEndCorner();
1025
+ for(let group = 0; group < mergedCells.length; group += 1){
1026
+ if (topStartCoords.row === mergedCells[group].row && topStartCoords.col === mergedCells[group].col && bottomEndCoords.row === mergedCells[group].row + mergedCells[group].rowspan - 1 && bottomEndCoords.col === mergedCells[group].col + mergedCells[group].colspan - 1) {
1027
+ return false;
1028
+ }
1029
+ }
861
1030
  }
862
- }
863
- }
864
- return isMultiple;
865
- }
866
- function onModifyTransformFocus(delta) {
867
- _class_private_field_get(this, _lastFocusDelta).row = delta.row;
868
- _class_private_field_get(this, _lastFocusDelta).col = delta.col;
869
- }
870
- function onModifyTransformStart(delta) {
871
- const selectedRange = this.hot.getSelectedRangeActive();
872
- const { highlight } = selectedRange;
873
- const { columnIndexMapper, rowIndexMapper } = this.hot;
874
- if (_class_private_field_get(this, _lastSelectedFocus)) {
875
- if (rowIndexMapper.getRenderableFromVisualIndex(_class_private_field_get(this, _lastSelectedFocus).row) !== null) {
876
- highlight.row = _class_private_field_get(this, _lastSelectedFocus).row;
877
- }
878
- if (columnIndexMapper.getRenderableFromVisualIndex(_class_private_field_get(this, _lastSelectedFocus).col) !== null) {
879
- highlight.col = _class_private_field_get(this, _lastSelectedFocus).col;
880
- }
881
- _class_private_field_set(this, _lastSelectedFocus, null);
882
- }
883
- const mergedParent = this.mergedCellsCollection.get(highlight.row, highlight.col);
884
- if (!mergedParent) {
885
- return;
886
- }
887
- const visualColumnIndexStart = mergedParent.col;
888
- const visualColumnIndexEnd = mergedParent.col + mergedParent.colspan - 1;
889
- if (delta.col < 0) {
890
- const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexStart - 1 : visualColumnIndexEnd;
891
- const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
892
- if (notHiddenColumnIndex === null) {
893
- // There are no visible columns anymore, so move the selection out of the table edge. This will
894
- // be processed by the selection Transformer class as a move selection to the previous row (if autoWrapRow is enabled).
895
- delta.col = -this.hot.view.countRenderableColumnsInRange(0, highlight.col);
896
- } else {
897
- delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, highlight.col) - 1, 1);
898
- }
899
- } else if (delta.col > 0) {
900
- const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexEnd + 1 : visualColumnIndexStart;
901
- const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
902
- if (notHiddenColumnIndex === null) {
903
- // There are no visible columns anymore, so move the selection out of the table edge. This will
904
- // be processed by the selection Transformer class as a move selection to the next row (if autoWrapRow is enabled).
905
- delta.col = this.hot.view.countRenderableColumnsInRange(highlight.col, this.hot.countCols());
906
- } else {
907
- delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(highlight.col, notHiddenColumnIndex) - 1, 1);
908
- }
909
- }
910
- const visualRowIndexStart = mergedParent.row;
911
- const visualRowIndexEnd = mergedParent.row + mergedParent.rowspan - 1;
912
- if (delta.row < 0) {
913
- const nextRow = highlight.row >= visualRowIndexStart && highlight.row <= visualRowIndexEnd ? visualRowIndexStart - 1 : visualRowIndexEnd;
914
- const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, -1);
915
- if (notHiddenRowIndex === null) {
916
- // There are no visible rows anymore, so move the selection out of the table edge. This will
917
- // be processed by the selection Transformer class as a move selection to the previous column (if autoWrapCol is enabled).
918
- delta.row = -this.hot.view.countRenderableRowsInRange(0, highlight.row);
919
- } else {
920
- delta.row = -Math.max(this.hot.view.countRenderableRowsInRange(notHiddenRowIndex, highlight.row) - 1, 1);
921
- }
922
- } else if (delta.row > 0) {
923
- const nextRow = highlight.row >= visualRowIndexStart && highlight.row <= visualRowIndexEnd ? visualRowIndexEnd + 1 : visualRowIndexStart;
924
- const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, 1);
925
- if (notHiddenRowIndex === null) {
926
- // There are no visible rows anymore, so move the selection out of the table edge. This will
927
- // be processed by the selection Transformer class as a move selection to the next column (if autoWrapCol is enabled).
928
- delta.row = this.hot.view.countRenderableRowsInRange(highlight.row, this.hot.countRows());
929
- } else {
930
- delta.row = Math.max(this.hot.view.countRenderableRowsInRange(highlight.row, notHiddenRowIndex) - 1, 1);
931
- }
932
- }
933
- }
934
- function onModifyTransformEnd(delta) {
935
- const selectedRange = this.hot.getSelectedRangeActive();
936
- const cloneRange = selectedRange.clone();
937
- const { to } = selectedRange;
938
- const { columnIndexMapper, rowIndexMapper } = this.hot;
939
- const expandCloneRange = (row, col)=>{
940
- cloneRange.expand(this.hot._createCellCoords(row, col));
941
- for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
942
- cloneRange.expandByRange(this.mergedCellsCollection.mergedCells[i].getRange());
943
- }
944
- };
945
- if (delta.col < 0) {
946
- let nextColumn = this.mergedCellsCollection.getStartMostColumnIndex(selectedRange, to.col) + delta.col;
947
- expandCloneRange(to.row, nextColumn);
948
- if (selectedRange.getHorizontalDirection() === 'E-W' && cloneRange.getHorizontalDirection() === 'E-W') {
949
- nextColumn = cloneRange.getTopStartCorner().col;
950
- }
951
- const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
952
- if (notHiddenColumnIndex !== null) {
953
- delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, to.col) - 1, 1);
954
- }
955
- } else if (delta.col > 0) {
956
- let nextColumn = this.mergedCellsCollection.getEndMostColumnIndex(selectedRange, to.col) + delta.col;
957
- expandCloneRange(to.row, nextColumn);
958
- if (selectedRange.getHorizontalDirection() === 'W-E' && cloneRange.getHorizontalDirection() === 'W-E') {
959
- nextColumn = cloneRange.getBottomEndCorner().col;
960
- }
961
- const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
962
- if (notHiddenColumnIndex !== null) {
963
- delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(to.col, notHiddenColumnIndex) - 1, 1);
964
- }
965
- }
966
- if (delta.row < 0) {
967
- let nextRow = this.mergedCellsCollection.getTopMostRowIndex(selectedRange, to.row) + delta.row;
968
- expandCloneRange(nextRow, to.col);
969
- if (selectedRange.getVerticalDirection() === 'S-N' && cloneRange.getVerticalDirection() === 'S-N') {
970
- nextRow = cloneRange.getTopStartCorner().row;
971
- }
972
- const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, 1);
973
- if (notHiddenRowIndex !== null) {
974
- delta.row = -Math.max(this.hot.view.countRenderableRowsInRange(notHiddenRowIndex, to.row) - 1, 1);
975
- }
976
- } else if (delta.row > 0) {
977
- let nextRow = this.mergedCellsCollection.getBottomMostRowIndex(selectedRange, to.row) + delta.row;
978
- expandCloneRange(nextRow, to.col);
979
- if (selectedRange.getVerticalDirection() === 'N-S' && cloneRange.getVerticalDirection() === 'N-S') {
980
- nextRow = cloneRange.getBottomStartCorner().row;
981
- }
982
- const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, -1);
983
- if (notHiddenRowIndex !== null) {
984
- delta.row = Math.max(this.hot.view.countRenderableRowsInRange(to.row, notHiddenRowIndex) - 1, 1);
985
- }
986
- }
987
- }
988
- function onBeforeSelectionHighlightSet() {
989
- const selectedRange = this.hot.getSelectedRangeLast();
990
- const { highlight } = selectedRange;
991
- if (this.hot.selection.isSelectedByColumnHeader() || this.hot.selection.isSelectedByRowHeader()) {
992
- _class_private_field_set(this, _lastSelectedFocus, highlight.clone());
993
- return;
994
- }
995
- for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
996
- selectedRange.expandByRange(this.mergedCellsCollection.mergedCells[i].getRange(), false);
997
- }
998
- // TODO: This is a workaround for an issue with the selection not being extended properly.
999
- // In some cases when the merge cells are defined in random order the selection is not
1000
- // extended in that way that it covers all overlapped merge cells.
1001
- for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
1002
- selectedRange.expandByRange(this.mergedCellsCollection.mergedCells[i].getRange(), false);
1003
- }
1004
- const mergedParent = this.mergedCellsCollection.get(highlight.row, highlight.col);
1005
- _class_private_field_set(this, _lastSelectedFocus, highlight.clone());
1006
- if (mergedParent) {
1007
- highlight.assign(mergedParent);
1008
- }
1009
- }
1010
- function onModifyGetCellCoords(row, column, topmost, source) {
1011
- if (row < 0 || column < 0) {
1012
- return;
1013
- }
1014
- const mergeParent = this.mergedCellsCollection.get(row, column);
1015
- if (!mergeParent) {
1016
- return;
1017
- }
1018
- const { row: mergeRow, col: mergeColumn, colspan, rowspan } = mergeParent;
1019
- const topStartRow = mergeRow;
1020
- const topStartColumn = mergeColumn;
1021
- const bottomEndRow = mergeRow + rowspan - 1;
1022
- const bottomEndColumn = mergeColumn + colspan - 1;
1023
- if (source === 'render' && this.getSetting('virtualized')) {
1024
- const overlayName = this.hot.view.getActiveOverlayName();
1025
- const firstRenderedRow = [
1026
- 'top',
1027
- 'top_inline_start_corner'
1028
- ].includes(overlayName) ? 0 : this.hot.getFirstRenderedVisibleRow();
1029
- const firstRenderedColumn = [
1030
- 'inline_start',
1031
- 'top_inline_start_corner',
1032
- 'bottom_inline_start_corner'
1033
- ].includes(overlayName) ? 0 : this.hot.getFirstRenderedVisibleColumn();
1034
- return [
1035
- clamp(firstRenderedRow, topStartRow, bottomEndRow),
1036
- clamp(firstRenderedColumn, topStartColumn, bottomEndColumn),
1037
- clamp(this.hot.getLastRenderedVisibleRow(), topStartRow, bottomEndRow),
1038
- clamp(this.hot.getLastRenderedVisibleColumn(), topStartColumn, bottomEndColumn)
1039
- ];
1031
+ return isMultiple;
1032
+ }), _class_private_field_set(this, _onModifyTransformFocus, (delta)=>{
1033
+ _class_private_field_get(this, _lastFocusDelta).row = delta.row;
1034
+ _class_private_field_get(this, _lastFocusDelta).col = delta.col;
1035
+ }), _class_private_field_set(this, _onModifyTransformStart, (delta)=>{
1036
+ const selectedRange = this.hot.getSelectedRangeActive();
1037
+ if (!selectedRange) {
1038
+ return;
1039
+ }
1040
+ const { highlight } = selectedRange;
1041
+ const { columnIndexMapper, rowIndexMapper } = this.hot;
1042
+ if (_class_private_field_get(this, _lastSelectedFocus)) {
1043
+ if (_class_private_field_get(this, _lastSelectedFocus).row !== null && rowIndexMapper.getRenderableFromVisualIndex(_class_private_field_get(this, _lastSelectedFocus).row) !== null) {
1044
+ highlight.row = _class_private_field_get(this, _lastSelectedFocus).row;
1045
+ }
1046
+ if (_class_private_field_get(this, _lastSelectedFocus).col !== null && columnIndexMapper.getRenderableFromVisualIndex(_class_private_field_get(this, _lastSelectedFocus).col) !== null) {
1047
+ highlight.col = _class_private_field_get(this, _lastSelectedFocus).col;
1048
+ }
1049
+ _class_private_field_set(this, _lastSelectedFocus, null);
1050
+ }
1051
+ if (highlight.row === null || highlight.col === null) {
1052
+ return;
1053
+ }
1054
+ const mergedParent = this.mergedCellsCollection.get(highlight.row, highlight.col);
1055
+ if (!mergedParent) {
1056
+ return;
1057
+ }
1058
+ const visualColumnIndexStart = mergedParent.col;
1059
+ const visualColumnIndexEnd = mergedParent.col + mergedParent.colspan - 1;
1060
+ if (delta.col < 0) {
1061
+ const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexStart - 1 : visualColumnIndexEnd;
1062
+ const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
1063
+ if (notHiddenColumnIndex === null) {
1064
+ delta.col = -this.hot.view.countRenderableColumnsInRange(0, highlight.col);
1065
+ } else {
1066
+ delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, highlight.col) - 1, 1);
1067
+ }
1068
+ } else if (delta.col > 0) {
1069
+ const nextColumn = highlight.col >= visualColumnIndexStart && highlight.col <= visualColumnIndexEnd ? visualColumnIndexEnd + 1 : visualColumnIndexStart;
1070
+ const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
1071
+ if (notHiddenColumnIndex === null) {
1072
+ delta.col = this.hot.view.countRenderableColumnsInRange(highlight.col, this.hot.countCols());
1073
+ } else {
1074
+ delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(highlight.col, notHiddenColumnIndex) - 1, 1);
1075
+ }
1076
+ }
1077
+ const visualRowIndexStart = mergedParent.row;
1078
+ const visualRowIndexEnd = mergedParent.row + mergedParent.rowspan - 1;
1079
+ if (delta.row < 0) {
1080
+ const nextRow = highlight.row >= visualRowIndexStart && highlight.row <= visualRowIndexEnd ? visualRowIndexStart - 1 : visualRowIndexEnd;
1081
+ const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, -1);
1082
+ if (notHiddenRowIndex === null) {
1083
+ delta.row = -this.hot.view.countRenderableRowsInRange(0, highlight.row);
1084
+ } else {
1085
+ delta.row = -Math.max(this.hot.view.countRenderableRowsInRange(notHiddenRowIndex, highlight.row) - 1, 1);
1086
+ }
1087
+ } else if (delta.row > 0) {
1088
+ const nextRow = highlight.row >= visualRowIndexStart && highlight.row <= visualRowIndexEnd ? visualRowIndexEnd + 1 : visualRowIndexStart;
1089
+ const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, 1);
1090
+ if (notHiddenRowIndex === null) {
1091
+ delta.row = this.hot.view.countRenderableRowsInRange(highlight.row, this.hot.countRows());
1092
+ } else {
1093
+ delta.row = Math.max(this.hot.view.countRenderableRowsInRange(highlight.row, notHiddenRowIndex) - 1, 1);
1094
+ }
1095
+ }
1096
+ }), _class_private_field_set(this, _onModifyTransformEnd, (delta)=>{
1097
+ const selectedRange = this.hot.getSelectedRangeActive();
1098
+ if (!selectedRange) {
1099
+ return;
1100
+ }
1101
+ const cloneRange = selectedRange.clone();
1102
+ const { to } = selectedRange;
1103
+ const toRow = to.row ?? 0;
1104
+ const toCol = to.col ?? 0;
1105
+ const { columnIndexMapper, rowIndexMapper } = this.hot;
1106
+ const expandCloneRange = (row, col)=>{
1107
+ cloneRange.expand(this.hot._createCellCoords(row, col));
1108
+ for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
1109
+ const range = this.mergedCellsCollection.mergedCells[i].getRange();
1110
+ if (range) {
1111
+ cloneRange.expandByRange(range);
1112
+ }
1113
+ }
1114
+ };
1115
+ if (delta.col < 0) {
1116
+ let nextColumn = this.mergedCellsCollection.getStartMostColumnIndex(selectedRange, toCol) + delta.col;
1117
+ expandCloneRange(toRow, nextColumn);
1118
+ if (selectedRange.getHorizontalDirection() === 'E-W' && cloneRange.getHorizontalDirection() === 'E-W') {
1119
+ nextColumn = cloneRange.getTopStartCorner().col ?? nextColumn;
1120
+ }
1121
+ const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, 1);
1122
+ if (notHiddenColumnIndex !== null) {
1123
+ delta.col = -Math.max(this.hot.view.countRenderableColumnsInRange(notHiddenColumnIndex, toCol) - 1, 1);
1124
+ }
1125
+ } else if (delta.col > 0) {
1126
+ let nextColumn = this.mergedCellsCollection.getEndMostColumnIndex(selectedRange, toCol) + delta.col;
1127
+ expandCloneRange(toRow, nextColumn);
1128
+ if (selectedRange.getHorizontalDirection() === 'W-E' && cloneRange.getHorizontalDirection() === 'W-E') {
1129
+ nextColumn = cloneRange.getBottomEndCorner().col ?? nextColumn;
1130
+ }
1131
+ const notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(nextColumn, -1);
1132
+ if (notHiddenColumnIndex !== null) {
1133
+ delta.col = Math.max(this.hot.view.countRenderableColumnsInRange(toCol, notHiddenColumnIndex) - 1, 1);
1134
+ }
1135
+ }
1136
+ if (delta.row < 0) {
1137
+ let nextRow = this.mergedCellsCollection.getTopMostRowIndex(selectedRange, toRow) + delta.row;
1138
+ expandCloneRange(nextRow, toCol);
1139
+ if (selectedRange.getVerticalDirection() === 'S-N' && cloneRange.getVerticalDirection() === 'S-N') {
1140
+ nextRow = cloneRange.getTopStartCorner().row ?? nextRow;
1141
+ }
1142
+ const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, 1);
1143
+ if (notHiddenRowIndex !== null) {
1144
+ delta.row = -Math.max(this.hot.view.countRenderableRowsInRange(notHiddenRowIndex, toRow) - 1, 1);
1145
+ }
1146
+ } else if (delta.row > 0) {
1147
+ let nextRow = this.mergedCellsCollection.getBottomMostRowIndex(selectedRange, toRow) + delta.row;
1148
+ expandCloneRange(nextRow, toCol);
1149
+ if (selectedRange.getVerticalDirection() === 'N-S' && cloneRange.getVerticalDirection() === 'N-S') {
1150
+ nextRow = cloneRange.getBottomStartCorner().row ?? nextRow;
1151
+ }
1152
+ const notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(nextRow, -1);
1153
+ if (notHiddenRowIndex !== null) {
1154
+ delta.row = Math.max(this.hot.view.countRenderableRowsInRange(toRow, notHiddenRowIndex) - 1, 1);
1155
+ }
1156
+ }
1157
+ }), _class_private_field_set(this, _onBeforeSelectionHighlightSet, ()=>{
1158
+ const selectedRange = this.hot.getSelectedRangeLast();
1159
+ if (!selectedRange) {
1160
+ return;
1161
+ }
1162
+ const { highlight } = selectedRange;
1163
+ if (this.hot.selection.isSelectedByColumnHeader() || this.hot.selection.isSelectedByRowHeader()) {
1164
+ _class_private_field_set(this, _lastSelectedFocus, highlight.clone());
1165
+ return;
1166
+ }
1167
+ for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
1168
+ const range = this.mergedCellsCollection.mergedCells[i].getRange();
1169
+ if (range) {
1170
+ selectedRange.expandByRange(range, false);
1171
+ }
1172
+ }
1173
+ for(let i = 0; i < this.mergedCellsCollection.mergedCells.length; i += 1){
1174
+ const range = this.mergedCellsCollection.mergedCells[i].getRange();
1175
+ if (range) {
1176
+ selectedRange.expandByRange(range, false);
1177
+ }
1178
+ }
1179
+ if (highlight.row === null || highlight.col === null) {
1180
+ return;
1181
+ }
1182
+ const mergedParent = this.mergedCellsCollection.get(highlight.row, highlight.col);
1183
+ _class_private_field_set(this, _lastSelectedFocus, highlight.clone());
1184
+ if (mergedParent) {
1185
+ highlight.assign(mergedParent);
1186
+ }
1187
+ }), _class_private_field_set(this, _onModifyGetCellCoords, (row, column, topmost, source)=>{
1188
+ if (row < 0 || column < 0) {
1189
+ return;
1190
+ }
1191
+ const mergeParent = this.mergedCellsCollection.get(row, column);
1192
+ if (!mergeParent) {
1193
+ return;
1194
+ }
1195
+ const { row: mergeRow, col: mergeColumn, colspan, rowspan } = mergeParent;
1196
+ const topStartRow = mergeRow;
1197
+ const topStartColumn = mergeColumn;
1198
+ const bottomEndRow = mergeRow + rowspan - 1;
1199
+ const bottomEndColumn = mergeColumn + colspan - 1;
1200
+ if (source === 'render' && this.getSetting('virtualized')) {
1201
+ const overlayName = this.hot.view.getActiveOverlayName();
1202
+ const firstRenderedRow = [
1203
+ 'top',
1204
+ 'top_inline_start_corner'
1205
+ ].includes(overlayName) ? 0 : this.hot.getFirstRenderedVisibleRow();
1206
+ const firstRenderedColumn = [
1207
+ 'inline_start',
1208
+ 'top_inline_start_corner',
1209
+ 'bottom_inline_start_corner'
1210
+ ].includes(overlayName) ? 0 : this.hot.getFirstRenderedVisibleColumn();
1211
+ return [
1212
+ clamp(firstRenderedRow, topStartRow, bottomEndRow),
1213
+ clamp(firstRenderedColumn, topStartColumn, bottomEndColumn),
1214
+ clamp(this.hot.getLastRenderedVisibleRow(), topStartRow, bottomEndRow),
1215
+ clamp(this.hot.getLastRenderedVisibleColumn(), topStartColumn, bottomEndColumn)
1216
+ ];
1217
+ }
1218
+ return [
1219
+ topStartRow,
1220
+ topStartColumn,
1221
+ bottomEndRow,
1222
+ bottomEndColumn
1223
+ ];
1224
+ }), _class_private_field_set(this, _onBeforeSetRangeStart, ()=>{
1225
+ _class_private_field_set(this, _lastSelectedFocus, null);
1226
+ }), _class_private_field_set(this, _onBeforeSelectionFocusSet, ()=>{
1227
+ if (!_class_private_field_get(this, _lastSelectedFocus) || _class_private_field_get(this, _lastSelectedFocus).isCell()) {
1228
+ return;
1229
+ }
1230
+ const selectedRange = this.hot.getSelectedRangeActive();
1231
+ if (!selectedRange) {
1232
+ return;
1233
+ }
1234
+ const verticalDir = selectedRange.getVerticalDirection();
1235
+ const horizontalDir = selectedRange.getHorizontalDirection();
1236
+ const focusCoords = _class_private_field_get(this, _lastSelectedFocus).clone().normalize();
1237
+ if (focusCoords.row === null || focusCoords.col === null) {
1238
+ return;
1239
+ }
1240
+ _class_private_field_get(this, _focusOrder).setActiveNode(focusCoords.row, focusCoords.col);
1241
+ if (_class_private_field_get(this, _lastFocusDelta).row > 0 || _class_private_field_get(this, _lastFocusDelta).col > 0) {
1242
+ _class_private_field_get(this, _focusOrder).setPrevNodeAsActive();
1243
+ } else if (horizontalDir === 'E-W' && _class_private_field_get(this, _lastFocusDelta).col < 0 || verticalDir === 'S-N' && _class_private_field_get(this, _lastFocusDelta).row < 0) {
1244
+ _class_private_field_get(this, _focusOrder).setNextNodeAsActive();
1245
+ }
1246
+ }), _class_private_field_set(this, _onAfterSelectionFocusSet, (row, column)=>{
1247
+ const { columnIndexMapper, rowIndexMapper } = this.hot;
1248
+ let activeSelectionLayerIndex = this.hot.getActiveSelectionLayerIndex();
1249
+ let notHiddenRowIndex = null;
1250
+ let notHiddenColumnIndex = null;
1251
+ if (_class_private_field_get(this, _lastFocusDelta).col < 0) {
1252
+ const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder).getPrevHorizontalNode();
1253
+ notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
1254
+ notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
1255
+ activeSelectionLayerIndex = selectionLayer;
1256
+ } else if (_class_private_field_get(this, _lastFocusDelta).col > 0) {
1257
+ const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder).getNextHorizontalNode();
1258
+ notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
1259
+ notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
1260
+ activeSelectionLayerIndex = selectionLayer;
1261
+ } else if (_class_private_field_get(this, _lastFocusDelta).row < 0) {
1262
+ const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder).getPrevVerticalNode();
1263
+ notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
1264
+ notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
1265
+ activeSelectionLayerIndex = selectionLayer;
1266
+ } else if (_class_private_field_get(this, _lastFocusDelta).row > 0) {
1267
+ const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder).getNextVerticalNode();
1268
+ notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
1269
+ notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
1270
+ activeSelectionLayerIndex = selectionLayer;
1271
+ }
1272
+ if (notHiddenRowIndex !== null || notHiddenColumnIndex !== null) {
1273
+ this.hot.selection.setActiveSelectionLayerIndex(activeSelectionLayerIndex);
1274
+ const selectedRange = this.hot.getSelectedRangeActive();
1275
+ const resolvedRow = notHiddenRowIndex ?? 0;
1276
+ const resolvedCol = notHiddenColumnIndex ?? 0;
1277
+ const coords = this.hot._createCellCoords(resolvedRow, resolvedCol);
1278
+ const mergeParent = this.mergedCellsCollection.get(resolvedRow, resolvedCol);
1279
+ const focusHighlight = this.hot.selection.highlight.getFocus();
1280
+ row = resolvedRow;
1281
+ column = resolvedCol;
1282
+ if (selectedRange) {
1283
+ if (mergeParent) {
1284
+ selectedRange.highlight.assign({
1285
+ row: this.hot.rowIndexMapper.getNearestNotHiddenIndex(mergeParent.row, 1) ?? undefined,
1286
+ col: this.hot.columnIndexMapper.getNearestNotHiddenIndex(mergeParent.col, 1) ?? undefined
1287
+ });
1288
+ } else {
1289
+ selectedRange.highlight.assign(coords);
1290
+ }
1291
+ }
1292
+ focusHighlight.clear();
1293
+ focusHighlight.add(coords).commit();
1294
+ }
1295
+ _class_private_field_get(this, _focusOrder).setActiveNode(row, column, activeSelectionLayerIndex);
1296
+ _class_private_field_set(this, _lastFocusDelta, {
1297
+ row: 0,
1298
+ col: 0
1299
+ });
1300
+ }), _class_private_field_set(this, _onAfterSelectionEnd, ()=>{
1301
+ const selectedRanges = this.hot.getSelectedRange();
1302
+ if (selectedRanges) {
1303
+ _class_private_field_get(this, _focusOrder).buildFocusOrder(selectedRanges);
1304
+ }
1305
+ }), _class_private_field_set(this, _onAfterGetCellMeta, (row, col, cellProperties)=>{
1306
+ const mergeParent = this.mergedCellsCollection.get(row, col);
1307
+ if (mergeParent) {
1308
+ if (mergeParent.row !== row || mergeParent.col !== col) {
1309
+ cellProperties.copyable = false;
1310
+ cellProperties.hidden = true;
1311
+ } else {
1312
+ cellProperties.rowspan = mergeParent.rowspan;
1313
+ cellProperties.colspan = mergeParent.colspan;
1314
+ cellProperties.spanned = true;
1315
+ }
1316
+ }
1317
+ }), _class_private_field_set(this, _onAfterViewportRowCalculatorOverride, (calc)=>{
1318
+ if (this.getSetting('virtualized')) {
1319
+ return;
1320
+ }
1321
+ const nrOfColumns = this.hot.countCols();
1322
+ this.modifyViewportRowStart(calc, nrOfColumns);
1323
+ this.modifyViewportRowEnd(calc, nrOfColumns);
1324
+ }), _class_private_field_set(this, _onAfterViewportColumnCalculatorOverride, (calc)=>{
1325
+ if (this.getSetting('virtualized')) {
1326
+ return;
1327
+ }
1328
+ const nrOfRows = this.hot.countRows();
1329
+ this.modifyViewportColumnStart(calc, nrOfRows);
1330
+ this.modifyViewportColumnEnd(calc, nrOfRows);
1331
+ }), _class_private_field_set(this, _onModifyAutofillRange, (fullArea, baseArea)=>{
1332
+ const dragDirection = this.autofillCalculations.getDirection(baseArea, fullArea);
1333
+ if (this.autofillCalculations.dragAreaOverlapsCollections(baseArea, fullArea, dragDirection)) {
1334
+ return baseArea;
1335
+ }
1336
+ const from = this.hot._createCellCoords(baseArea[0], baseArea[1]);
1337
+ const to = this.hot._createCellCoords(baseArea[2], baseArea[3]);
1338
+ const range = this.hot._createCellRange(from, from, to);
1339
+ const mergedCellsWithinSelectionArea = this.mergedCellsCollection.getWithinRange(range);
1340
+ if (mergedCellsWithinSelectionArea.length === 0) {
1341
+ return fullArea;
1342
+ }
1343
+ return this.autofillCalculations.snapDragArea(baseArea, fullArea, dragDirection, mergedCellsWithinSelectionArea);
1344
+ }), _class_private_field_set(this, _onAfterCreateCol, (column, count)=>{
1345
+ this.mergedCellsCollection.shiftCollections('right', column, count);
1346
+ }), _class_private_field_set(this, _onAfterRemoveCol, (column, count)=>{
1347
+ this.mergedCellsCollection.shiftCollections('left', column, count);
1348
+ }), _class_private_field_set(this, _onAfterCreateRow, (row, count, source)=>{
1349
+ if (source === 'auto') {
1350
+ return;
1351
+ }
1352
+ this.mergedCellsCollection.shiftCollections('down', row, count);
1353
+ }), _class_private_field_set(this, _onAfterRemoveRow, (row, count)=>{
1354
+ this.mergedCellsCollection.shiftCollections('up', row, count);
1355
+ }), _class_private_field_set(this, _onBeforeColumnMove, (_columns, _finalIndex, _dropIndex, movePossible)=>{
1356
+ if (!movePossible || !_class_private_field_get(this, _initialized)) {
1357
+ _class_private_field_set(this, _columnMoveSnapshot, null);
1358
+ return;
1359
+ }
1360
+ _class_private_field_set(this, _columnMoveSnapshot, this.mergedCellsCollection.capturePhysicalSpans('column'));
1361
+ }), _class_private_field_set(this, _onAfterColumnMove, (_columns, _finalIndex, _dropIndex, _movePossible, orderChanged)=>{
1362
+ const snapshot = _class_private_field_get(this, _columnMoveSnapshot);
1363
+ _class_private_field_set(this, _columnMoveSnapshot, null);
1364
+ if (!orderChanged || !snapshot) {
1365
+ return;
1366
+ }
1367
+ this.mergedCellsCollection.translateAfterAxisMove('column', snapshot);
1368
+ this.hot.render();
1369
+ }), _class_private_field_set(this, _onBeforeRowMove, (_rows, _finalIndex, _dropIndex, movePossible)=>{
1370
+ if (!movePossible || !_class_private_field_get(this, _initialized)) {
1371
+ _class_private_field_set(this, _rowMoveSnapshot, null);
1372
+ return;
1373
+ }
1374
+ _class_private_field_set(this, _rowMoveSnapshot, this.mergedCellsCollection.capturePhysicalSpans('row'));
1375
+ }), _class_private_field_set(this, _onAfterRowMove, (_rows, _finalIndex, _dropIndex, _movePossible, orderChanged)=>{
1376
+ const snapshot = _class_private_field_get(this, _rowMoveSnapshot);
1377
+ _class_private_field_set(this, _rowMoveSnapshot, null);
1378
+ if (!orderChanged || !snapshot) {
1379
+ return;
1380
+ }
1381
+ this.mergedCellsCollection.translateAfterAxisMove('row', snapshot);
1382
+ this.hot.render();
1383
+ }), _class_private_field_set(this, _onBeforeColumnFreeze, (_column, performed)=>{
1384
+ if (!performed || !_class_private_field_get(this, _initialized)) {
1385
+ _class_private_field_set(this, _columnMoveSnapshot, null);
1386
+ return;
1387
+ }
1388
+ _class_private_field_set(this, _columnMoveSnapshot, this.mergedCellsCollection.capturePhysicalSpans('column'));
1389
+ }), _class_private_field_set(this, _onAfterColumnFreeze, (_column, performed)=>{
1390
+ const snapshot = _class_private_field_get(this, _columnMoveSnapshot);
1391
+ _class_private_field_set(this, _columnMoveSnapshot, null);
1392
+ if (!performed || !snapshot) {
1393
+ return;
1394
+ }
1395
+ this.mergedCellsCollection.translateAfterAxisMove('column', snapshot);
1396
+ this.hot.render();
1397
+ }), _class_private_field_set(this, _onAfterChange, (changes, source)=>{
1398
+ if (source !== 'Autofill.fill') {
1399
+ return;
1400
+ }
1401
+ this.autofillCalculations.recreateAfterDataPopulation(changes);
1402
+ }), _class_private_field_set(this, _onBeforeDrawAreaBorders, (corners, className)=>{
1403
+ if (className && className === 'area') {
1404
+ const selectedRange = this.hot.getSelectedRangeActive();
1405
+ if (!selectedRange) {
1406
+ return;
1407
+ }
1408
+ const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(selectedRange);
1409
+ arrayEach(mergedCellsWithinRange, (mergedCell)=>{
1410
+ if (selectedRange.getBottomEndCorner().row === mergedCell.getLastRow() && selectedRange.getBottomEndCorner().col === mergedCell.getLastColumn()) {
1411
+ corners[2] = mergedCell.row;
1412
+ corners[3] = mergedCell.col;
1413
+ }
1414
+ });
1415
+ }
1416
+ }), _class_private_field_set(this, _onAfterDrawSelection, (currentRow, currentColumn, cornersOfSelection, layerLevel)=>{
1417
+ // Nothing's selected (hook might be triggered by the custom borders)
1418
+ if (!cornersOfSelection) {
1419
+ return;
1420
+ }
1421
+ return this.selectionCalculations.getSelectedMergedCellClassName(currentRow, currentColumn, cornersOfSelection, layerLevel);
1422
+ }), _class_private_field_set(this, _onBeforeRemoveCellClassNames, ()=>{
1423
+ return this.selectionCalculations.getSelectedMergedCellClassNameToRemove();
1424
+ }), _class_private_field_set(this, _onBeforeBeginEditing, (row, column, initialValue, event)=>{
1425
+ if (!(event instanceof MouseEvent)) {
1426
+ return;
1427
+ }
1428
+ const selection = this.hot.getSelectedRangeActive();
1429
+ if (!selection) {
1430
+ return;
1431
+ }
1432
+ const mergeCell = this.mergedCellsCollection.getByRange(selection);
1433
+ if (!mergeCell) {
1434
+ return;
1435
+ }
1436
+ const from = this.hot._createCellCoords(mergeCell.row, mergeCell.col);
1437
+ const to = this.hot._createCellCoords(mergeCell.row + mergeCell.rowspan - 1, mergeCell.col + mergeCell.colspan - 1);
1438
+ return this.hot.selection.getLayerLevel() === 0 && selection.isEqual(this.hot._createCellRange(from, from, to));
1439
+ }), _class_private_field_set(this, _onModifyRowHeightByOverlayName, (height, row, overlayType)=>{
1440
+ if (this.hot.getSettings().rowHeaders || // merged cells do not work with the bottom overlays
1441
+ overlayType === 'bottom' || overlayType === 'bottom_inline_start_corner') {
1442
+ return height;
1443
+ }
1444
+ let firstColumn;
1445
+ let lastColumn;
1446
+ if (overlayType === 'master') {
1447
+ firstColumn = this.hot.getFirstRenderedVisibleColumn();
1448
+ lastColumn = this.hot.getLastRenderedVisibleColumn();
1449
+ } else {
1450
+ const activeOverlay = this.hot.view.getOverlayByName(overlayType);
1451
+ const overlayWtTable = activeOverlay?.clone?.wtTable;
1452
+ if (!overlayWtTable) {
1453
+ return height;
1454
+ }
1455
+ firstColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(overlayWtTable.getFirstRenderedColumn());
1456
+ lastColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(overlayWtTable.getLastRenderedColumn());
1457
+ }
1458
+ if (firstColumn === null || firstColumn === undefined) {
1459
+ return height;
1460
+ }
1461
+ const firstMergedCellInRow = this.mergedCellsCollection.get(row, firstColumn);
1462
+ if (!firstMergedCellInRow) {
1463
+ return height;
1464
+ }
1465
+ const from = this.hot._createCellCoords(row, firstColumn);
1466
+ const to = this.hot._createCellCoords(row, lastColumn ?? firstColumn);
1467
+ const viewportRange = this.hot._createCellRange(from, from, to);
1468
+ const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(viewportRange, true);
1469
+ const maxRowspan = mergedCellsWithinRange.reduce((acc, { rowspan })=>Math.max(acc, rowspan), 1);
1470
+ let rowspanCorrection = 0;
1471
+ if (mergedCellsWithinRange.length > 1 && mergedCellsWithinRange[0].rowspan < maxRowspan) {
1472
+ rowspanCorrection = maxRowspan - mergedCellsWithinRange[0].rowspan;
1473
+ }
1474
+ mergedCellsWithinRange.forEach(({ rowspan })=>{
1475
+ let rowspanAfterCorrection = 0;
1476
+ if (overlayType === 'top' || overlayType === 'top_inline_start_corner') {
1477
+ rowspanAfterCorrection = Math.min(maxRowspan, this.hot.view.countNotHiddenFixedRowsTop() - row);
1478
+ } else {
1479
+ rowspanAfterCorrection = rowspan - rowspanCorrection;
1480
+ }
1481
+ height = Math.max(height ?? 0, sumCellsHeights(this.hot, row, rowspanAfterCorrection));
1482
+ });
1483
+ return height;
1484
+ });
1040
1485
  }
1041
- return [
1042
- topStartRow,
1043
- topStartColumn,
1044
- bottomEndRow,
1045
- bottomEndColumn
1046
- ];
1047
1486
  }
1048
1487
  function addMergeActionsToContextMenu(defaultOptions) {
1049
1488
  defaultOptions.items.push({
1050
1489
  name: '---------'
1051
1490
  }, toggleMergeItem(this));
1052
1491
  }
1053
- function onBeforeSetRangeStart() {
1054
- _class_private_field_set(this, _lastSelectedFocus, null);
1055
- }
1056
- function onBeforeSelectionFocusSet() {
1057
- if (_class_private_field_get(this, _lastSelectedFocus).isCell()) {
1058
- return;
1059
- }
1060
- const selectedRange = this.hot.getSelectedRangeActive();
1061
- const verticalDir = selectedRange.getVerticalDirection();
1062
- const horizontalDir = selectedRange.getHorizontalDirection();
1063
- const focusCoords = _class_private_field_get(this, _lastSelectedFocus).clone().normalize();
1064
- _class_private_field_get(this, _focusOrder).setActiveNode(focusCoords.row, focusCoords.col);
1065
- if (_class_private_field_get(this, _lastFocusDelta).row > 0 || _class_private_field_get(this, _lastFocusDelta).col > 0) {
1066
- _class_private_field_get(this, _focusOrder).setPrevNodeAsActive();
1067
- } else if (horizontalDir === 'E-W' && _class_private_field_get(this, _lastFocusDelta).col < 0 || verticalDir === 'S-N' && _class_private_field_get(this, _lastFocusDelta).row < 0) {
1068
- _class_private_field_get(this, _focusOrder).setNextNodeAsActive();
1069
- }
1070
- }
1071
- function onAfterSelectionFocusSet(row, column) {
1072
- const { columnIndexMapper, rowIndexMapper } = this.hot;
1073
- let activeSelectionLayerIndex = this.hot.getActiveSelectionLayerIndex();
1074
- let notHiddenRowIndex = null;
1075
- let notHiddenColumnIndex = null;
1076
- if (_class_private_field_get(this, _lastFocusDelta).col < 0) {
1077
- const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder).getPrevHorizontalNode();
1078
- notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
1079
- notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
1080
- activeSelectionLayerIndex = selectionLayer;
1081
- } else if (_class_private_field_get(this, _lastFocusDelta).col > 0) {
1082
- const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder).getNextHorizontalNode();
1083
- notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
1084
- notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
1085
- activeSelectionLayerIndex = selectionLayer;
1086
- } else if (_class_private_field_get(this, _lastFocusDelta).row < 0) {
1087
- const { rowEnd, colEnd, selectionLayer } = _class_private_field_get(this, _focusOrder).getPrevVerticalNode();
1088
- notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colEnd, -1);
1089
- notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowEnd, -1);
1090
- activeSelectionLayerIndex = selectionLayer;
1091
- } else if (_class_private_field_get(this, _lastFocusDelta).row > 0) {
1092
- const { rowStart, colStart, selectionLayer } = _class_private_field_get(this, _focusOrder).getNextVerticalNode();
1093
- notHiddenColumnIndex = columnIndexMapper.getNearestNotHiddenIndex(colStart, 1);
1094
- notHiddenRowIndex = rowIndexMapper.getNearestNotHiddenIndex(rowStart, 1);
1095
- activeSelectionLayerIndex = selectionLayer;
1096
- }
1097
- if (notHiddenRowIndex !== null || notHiddenColumnIndex !== null) {
1098
- this.hot.selection.setActiveSelectionLayerIndex(activeSelectionLayerIndex);
1099
- const selectedRange = this.hot.getSelectedRangeActive();
1100
- const coords = this.hot._createCellCoords(notHiddenRowIndex, notHiddenColumnIndex);
1101
- const mergeParent = this.mergedCellsCollection.get(coords.row, coords.col);
1102
- const focusHighlight = this.hot.selection.highlight.getFocus();
1103
- row = coords.row;
1104
- column = coords.col;
1105
- if (mergeParent) {
1106
- selectedRange.highlight.assign({
1107
- row: this.hot.rowIndexMapper.getNearestNotHiddenIndex(mergeParent.row, 1),
1108
- col: this.hot.columnIndexMapper.getNearestNotHiddenIndex(mergeParent.col, 1)
1109
- });
1110
- } else {
1111
- selectedRange.highlight.assign(coords);
1112
- }
1113
- focusHighlight.clear();
1114
- focusHighlight.add(coords).commit();
1115
- }
1116
- _class_private_field_get(this, _focusOrder).setActiveNode(row, column, activeSelectionLayerIndex);
1117
- _class_private_field_set(this, _lastFocusDelta, {
1118
- row: 0,
1119
- col: 0
1120
- });
1121
- }
1122
- function onAfterSelectionEnd() {
1123
- _class_private_field_get(this, _focusOrder).buildFocusOrder(this.hot.getSelectedRange());
1124
- }
1125
- function onAfterGetCellMeta(row, col, cellProperties) {
1126
- const mergeParent = this.mergedCellsCollection.get(row, col);
1127
- if (mergeParent) {
1128
- if (mergeParent.row !== row || mergeParent.col !== col) {
1129
- cellProperties.copyable = false;
1130
- } else {
1131
- cellProperties.rowspan = mergeParent.rowspan;
1132
- cellProperties.colspan = mergeParent.colspan;
1133
- }
1134
- }
1135
- }
1136
- function onAfterViewportRowCalculatorOverride(calc) {
1137
- if (this.getSetting('virtualized')) {
1138
- return;
1139
- }
1140
- const nrOfColumns = this.hot.countCols();
1141
- this.modifyViewportRowStart(calc, nrOfColumns);
1142
- this.modifyViewportRowEnd(calc, nrOfColumns);
1143
- }
1144
- function onAfterViewportColumnCalculatorOverride(calc) {
1145
- if (this.getSetting('virtualized')) {
1146
- return;
1147
- }
1148
- const nrOfRows = this.hot.countRows();
1149
- this.modifyViewportColumnStart(calc, nrOfRows);
1150
- this.modifyViewportColumnEnd(calc, nrOfRows);
1151
- }
1152
- function onModifyAutofillRange(fullArea, baseArea) {
1153
- const dragDirection = this.autofillCalculations.getDirection(baseArea, fullArea);
1154
- if (this.autofillCalculations.dragAreaOverlapsCollections(baseArea, fullArea, dragDirection)) {
1155
- return baseArea;
1156
- }
1157
- const from = this.hot._createCellCoords(baseArea[0], baseArea[1]);
1158
- const to = this.hot._createCellCoords(baseArea[2], baseArea[3]);
1159
- const range = this.hot._createCellRange(from, from, to);
1160
- const mergedCellsWithinSelectionArea = this.mergedCellsCollection.getWithinRange(range);
1161
- if (mergedCellsWithinSelectionArea.length === 0) {
1162
- return fullArea;
1163
- }
1164
- return this.autofillCalculations.snapDragArea(baseArea, fullArea, dragDirection, mergedCellsWithinSelectionArea);
1165
- }
1166
- function onAfterCreateCol(column, count) {
1167
- this.mergedCellsCollection.shiftCollections('right', column, count);
1168
- }
1169
- function onAfterRemoveCol(column, count) {
1170
- this.mergedCellsCollection.shiftCollections('left', column, count);
1171
- }
1172
- function onAfterCreateRow(row, count, source) {
1173
- if (source === 'auto') {
1174
- return;
1175
- }
1176
- this.mergedCellsCollection.shiftCollections('down', row, count);
1177
- }
1178
- function onAfterRemoveRow(row, count) {
1179
- this.mergedCellsCollection.shiftCollections('up', row, count);
1180
- }
1181
- function onAfterChange(changes, source) {
1182
- if (source !== 'Autofill.fill') {
1183
- return;
1184
- }
1185
- this.autofillCalculations.recreateAfterDataPopulation(changes);
1186
- }
1187
- function onBeforeDrawAreaBorders(corners, className) {
1188
- if (className && className === 'area') {
1189
- const selectedRange = this.hot.getSelectedRangeActive();
1190
- const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(selectedRange);
1191
- arrayEach(mergedCellsWithinRange, (mergedCell)=>{
1192
- if (selectedRange.getBottomEndCorner().row === mergedCell.getLastRow() && selectedRange.getBottomEndCorner().col === mergedCell.getLastColumn()) {
1193
- corners[2] = mergedCell.row;
1194
- corners[3] = mergedCell.col;
1195
- }
1196
- });
1197
- }
1198
- }
1199
- function onAfterDrawSelection(currentRow, currentColumn, cornersOfSelection, layerLevel) {
1200
- // Nothing's selected (hook might be triggered by the custom borders)
1201
- if (!cornersOfSelection) {
1202
- return;
1203
- }
1204
- return this.selectionCalculations.getSelectedMergedCellClassName(currentRow, currentColumn, cornersOfSelection, layerLevel);
1205
- }
1206
- function onBeforeRemoveCellClassNames() {
1207
- return this.selectionCalculations.getSelectedMergedCellClassNameToRemove();
1208
- }
1209
- function onBeforeBeginEditing(row, column, initialValue, event) {
1210
- if (!(event instanceof MouseEvent)) {
1211
- return;
1212
- }
1213
- const selection = this.hot.getSelectedRangeActive();
1214
- const mergeCell = this.mergedCellsCollection.getByRange(selection);
1215
- if (!mergeCell) {
1216
- return;
1217
- }
1218
- const from = this.hot._createCellCoords(mergeCell.row, mergeCell.col);
1219
- const to = this.hot._createCellCoords(mergeCell.row + mergeCell.rowspan - 1, mergeCell.col + mergeCell.colspan - 1);
1220
- return this.hot.selection.getLayerLevel() === 0 && selection.isEqual(this.hot._createCellRange(from, from, to));
1221
- }
1222
- function onModifyRowHeightByOverlayName(height, row, overlayType) {
1223
- if (this.hot.getSettings().rowHeaders || // merged cells do not work with the bottom overlays
1224
- overlayType === 'bottom' || overlayType === 'bottom_inline_start_corner') {
1225
- return height;
1226
- }
1227
- let firstColumn;
1228
- let lastColumn;
1229
- if (overlayType === 'master') {
1230
- firstColumn = this.hot.getFirstRenderedVisibleColumn();
1231
- lastColumn = this.hot.getLastRenderedVisibleColumn();
1232
- } else {
1233
- const activeOverlay = this.hot.view.getOverlayByName(overlayType);
1234
- firstColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(activeOverlay.clone.wtTable.getFirstRenderedColumn());
1235
- lastColumn = this.hot.columnIndexMapper.getVisualFromRenderableIndex(activeOverlay.clone.wtTable.getLastRenderedColumn());
1236
- }
1237
- const firstMergedCellInRow = this.mergedCellsCollection.get(row, firstColumn);
1238
- if (!firstMergedCellInRow) {
1239
- return height;
1240
- }
1241
- const from = this.hot._createCellCoords(row, firstColumn);
1242
- const to = this.hot._createCellCoords(row, lastColumn);
1243
- const viewportRange = this.hot._createCellRange(from, from, to);
1244
- const mergedCellsWithinRange = this.mergedCellsCollection.getWithinRange(viewportRange, true);
1245
- const maxRowspan = mergedCellsWithinRange.reduce((acc, { rowspan })=>Math.max(acc, rowspan), 1);
1246
- let rowspanCorrection = 0;
1247
- if (mergedCellsWithinRange.length > 1 && mergedCellsWithinRange[0].rowspan < maxRowspan) {
1248
- rowspanCorrection = maxRowspan - mergedCellsWithinRange[0].rowspan;
1249
- }
1250
- mergedCellsWithinRange.forEach(({ rowspan })=>{
1251
- let rowspanAfterCorrection = 0;
1252
- if (overlayType === 'top' || overlayType === 'top_inline_start_corner') {
1253
- rowspanAfterCorrection = Math.min(maxRowspan, this.hot.view.countNotHiddenFixedRowsTop() - row);
1254
- } else {
1255
- rowspanAfterCorrection = rowspan - rowspanCorrection;
1256
- }
1257
- height = Math.max(height ?? 0, sumCellsHeights(this.hot, row, rowspanAfterCorrection));
1258
- });
1259
- return height;
1260
- }