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
@@ -55,13 +55,37 @@ import { isNumeric } from '../../helpers/number.mjs';
55
55
  import { isObject } from '../../helpers/object.mjs';
56
56
  import { isDefined, isUndefined } from '../../helpers/mixed.mjs';
57
57
  import { getRegisteredHotInstances, setupEngine, setupSheet, unregisterEngine } from './engine/register.mjs';
58
- import { getDateFromExcelDate, getDateInHfFormat, getDateInHotFormat, isDate, isDateValid, isFormula, normalizeValueForFormulaEngine, unescapeFormulaExpression } from './utils.mjs';
58
+ import { getDateFromExcelDate, getDateInHfFormat, getDateInHotFormat, getTimeFromHfTimeFraction, isDate, isDateValid, isFormula, normalizeValueForFormulaEngine, unescapeFormulaExpression } from './utils.mjs';
59
59
  import { getEngineSettingsWithOverrides, haveEngineSettingsChanged } from './engine/settings.mjs';
60
60
  import { isArrayOfArrays } from '../../helpers/data.mjs';
61
61
  import { toUpperCaseFirst } from '../../helpers/string.mjs';
62
62
  import { getValueGetterValue } from '../../utils/valueAccessors.mjs';
63
63
  import { Hooks } from '../../core/hooks/index.mjs';
64
64
  import IndexSyncer from './indexSyncer/index.mjs';
65
+ /**
66
+ * Narrow an arbitrary value to a HyperFormula cell change shape.
67
+ *
68
+ * @param {unknown} value Value to check.
69
+ * @returns {boolean} `true` if the value matches the cell change shape.
70
+ */ function isHFCellChange(value) {
71
+ return typeof value === 'object' && value !== null;
72
+ }
73
+ /**
74
+ * Narrow the raw `formulas` setting value to the object form.
75
+ *
76
+ * @param {unknown} value Raw setting value.
77
+ * @returns {boolean} `true` when the value is a settings object.
78
+ */ function isFormulasSettingsObject(value) {
79
+ return typeof value === 'object' && value !== null;
80
+ }
81
+ /**
82
+ * Narrow a value to an object with a `value` property.
83
+ *
84
+ * @param {unknown} candidate Value to check.
85
+ * @returns {boolean} `true` when the value is an object exposing a `value` property.
86
+ */ function hasValueProperty(candidate) {
87
+ return typeof candidate === 'object' && candidate !== null && 'value' in candidate;
88
+ }
65
89
  export const PLUGIN_KEY = 'formulas';
66
90
  export const SETTING_KEYS = [
67
91
  'maxRows',
@@ -91,6 +115,48 @@ var /**
91
115
  *
92
116
  * @type {boolean}
93
117
  */ _hotWasInitializedWithEmptyData = /*#__PURE__*/ new WeakMap(), /**
118
+ * Maps a HyperFormula `ExportedCellChange` to the same change with `newValue` translated to a
119
+ * Handsontable-formatted string when the target cell is of type `date` or `time`. For other cells
120
+ * (or non-numeric values, or named expressions, or trimmed cells, or cells on other sheets), the
121
+ * original change is returned unchanged.
122
+ *
123
+ * @param {object} change The HyperFormula exported change.
124
+ * @returns {object}
125
+ */ _exportChangeValue = /*#__PURE__*/ new WeakSet(), /**
126
+ * Called when a value is updated in the engine.
127
+ *
128
+ * @fires Hooks#afterFormulasValuesUpdate
129
+ * @param {Array} changes The values and location of applied changes.
130
+ */ _onEngineValuesUpdated = /*#__PURE__*/ new WeakMap(), /**
131
+ * Called when a named expression is added to the engine instance.
132
+ *
133
+ * @fires Hooks#afterNamedExpressionAdded
134
+ * @param {string} namedExpressionName The name of the added expression.
135
+ * @param {Array} changes The values and location of applied changes.
136
+ */ _onEngineNamedExpressionsAdded = /*#__PURE__*/ new WeakMap(), /**
137
+ * Called when a named expression is removed from the engine instance.
138
+ *
139
+ * @fires Hooks#afterNamedExpressionRemoved
140
+ * @param {string} namedExpressionName The name of the removed expression.
141
+ * @param {Array} changes The values and location of applied changes.
142
+ */ _onEngineNamedExpressionsRemoved = /*#__PURE__*/ new WeakMap(), /**
143
+ * Called when a new sheet is added to the engine instance.
144
+ *
145
+ * @fires Hooks#afterSheetAdded
146
+ * @param {string} addedSheetDisplayName The name of the added sheet.
147
+ */ _onEngineSheetAdded = /*#__PURE__*/ new WeakMap(), /**
148
+ * Called when a sheet in the engine instance is renamed.
149
+ *
150
+ * @fires Hooks#afterSheetRenamed
151
+ * @param {string} oldDisplayName The old name of the sheet.
152
+ * @param {string} newDisplayName The new name of the sheet.
153
+ */ _onEngineSheetRenamed = /*#__PURE__*/ new WeakMap(), /**
154
+ * Called when a sheet is removed from the engine instance.
155
+ *
156
+ * @fires Hooks#afterSheetRemoved
157
+ * @param {string} removedSheetDisplayName The removed sheet name.
158
+ * @param {Array} changes The values and location of applied changes.
159
+ */ _onEngineSheetRemoved = /*#__PURE__*/ new WeakMap(), /**
94
160
  * The list of the HyperFormula listeners.
95
161
  *
96
162
  * @type {Array}
@@ -123,7 +189,7 @@ var /**
123
189
  * @param {number} visualRow The visual row index.
124
190
  * @param {number|string} prop The visual column index or property name of the column.
125
191
  * @returns {*} Returns value to validate.
126
- */ _onBeforeValidate = /*#__PURE__*/ new WeakSet(), /**
192
+ */ _onBeforeValidate = /*#__PURE__*/ new WeakMap(), /**
127
193
  * `onBeforeAutofill` hook callback.
128
194
  *
129
195
  * @param {Array[]} fillData The data that was used to fill the `targetRange`. If `beforeAutofill` was used
@@ -131,21 +197,21 @@ var /**
131
197
  * @param {CellRange} sourceRange The range values will be filled from.
132
198
  * @param {CellRange} targetRange The range new values will be filled into.
133
199
  * @returns {boolean|*}
134
- */ _onBeforeAutofill = /*#__PURE__*/ new WeakSet(), /**
200
+ */ _onBeforeAutofill = /*#__PURE__*/ new WeakMap(), /**
135
201
  * `beforeLoadData` hook callback.
136
202
  *
137
203
  * @param {Array} sourceData Array of arrays or array of objects containing data.
138
204
  * @param {boolean} initialLoad Flag that determines whether the data has been loaded during the initialization.
139
205
  * @param {string} [source] Source of the call.
140
- */ _onBeforeLoadData = /*#__PURE__*/ new WeakSet(), /**
206
+ */ _onBeforeLoadData = /*#__PURE__*/ new WeakMap(), /**
141
207
  * Callback to `afterCellMetaReset` hook which is triggered after setting cell meta.
142
- */ _onAfterCellMetaReset = /*#__PURE__*/ new WeakSet(), /**
208
+ */ _onAfterCellMetaReset = /*#__PURE__*/ new WeakMap(), /**
143
209
  * `afterLoadData` hook callback.
144
210
  *
145
211
  * @param {Array} sourceData Array of arrays or array of objects containing data.
146
212
  * @param {boolean} initialLoad Flag that determines whether the data has been loaded during the initialization.
147
213
  * @param {string} [source] Source of the call.
148
- */ _onAfterLoadData = /*#__PURE__*/ new WeakSet(), /**
214
+ */ _onAfterLoadData = /*#__PURE__*/ new WeakMap(), /**
149
215
  * `modifyData` hook callback.
150
216
  *
151
217
  * @param {number} visualRow Visual row index.
@@ -153,7 +219,7 @@ var /**
153
219
  * @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value`
154
220
  * property.
155
221
  * @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
156
- */ _onModifyData = /*#__PURE__*/ new WeakSet(), /**
222
+ */ _onModifyData = /*#__PURE__*/ new WeakMap(), /**
157
223
  * `modifySourceData` hook callback.
158
224
  *
159
225
  * @param {number} row Physical row index.
@@ -161,59 +227,59 @@ var /**
161
227
  * @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value`
162
228
  * property.
163
229
  * @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
164
- */ _onModifySourceData = /*#__PURE__*/ new WeakSet(), /**
230
+ */ _onModifySourceData = /*#__PURE__*/ new WeakMap(), /**
165
231
  * `onAfterSetDataAtCell` hook callback.
166
232
  *
167
233
  * @param {Array[]} changes An array of changes in format [[row, prop, oldValue, value], ...].
168
234
  * @param {string} [source] String that identifies source of hook call
169
235
  * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
170
- */ _onAfterSetDataAtCell = /*#__PURE__*/ new WeakSet(), /**
236
+ */ _onAfterSetDataAtCell = /*#__PURE__*/ new WeakMap(), /**
171
237
  * `onAfterSetSourceDataAtCell` hook callback.
172
238
  *
173
239
  * @param {Array[]} changes An array of changes in format [[row, column, oldValue, value], ...].
174
240
  * @param {string} [source] String that identifies source of hook call
175
241
  * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
176
- */ _onAfterSetSourceDataAtCell = /*#__PURE__*/ new WeakSet(), /**
242
+ */ _onAfterSetSourceDataAtCell = /*#__PURE__*/ new WeakMap(), /**
177
243
  * `beforeCreateRow` hook callback.
178
244
  *
179
245
  * @param {number} visualRow Represents the visual index of first newly created row in the data source array.
180
246
  * @param {number} amount Number of newly created rows in the data source array.
181
247
  * @returns {*|boolean} If false is returned the action is canceled.
182
- */ _onBeforeCreateRow = /*#__PURE__*/ new WeakSet(), /**
248
+ */ _onBeforeCreateRow = /*#__PURE__*/ new WeakMap(), /**
183
249
  * `beforeCreateCol` hook callback.
184
250
  *
185
251
  * @param {number} visualColumn Represents the visual index of first newly created column in the data source.
186
252
  * @param {number} amount Number of newly created columns in the data source.
187
253
  * @returns {*|boolean} If false is returned the action is canceled.
188
- */ _onBeforeCreateCol = /*#__PURE__*/ new WeakSet(), /**
254
+ */ _onBeforeCreateCol = /*#__PURE__*/ new WeakMap(), /**
189
255
  * `beforeRemoveRow` hook callback.
190
256
  *
191
257
  * @param {number} row Visual index of starter row.
192
258
  * @param {number} amount Amount of rows to be removed.
193
259
  * @param {number[]} physicalRows An array of physical rows removed from the data source.
194
260
  * @returns {*|boolean} If false is returned the action is canceled.
195
- */ _onBeforeRemoveRow = /*#__PURE__*/ new WeakSet(), /**
261
+ */ _onBeforeRemoveRow = /*#__PURE__*/ new WeakMap(), /**
196
262
  * `beforeRemoveCol` hook callback.
197
263
  *
198
264
  * @param {number} col Visual index of starter column.
199
265
  * @param {number} amount Amount of columns to be removed.
200
266
  * @param {number[]} physicalColumns An array of physical columns removed from the data source.
201
267
  * @returns {*|boolean} If false is returned the action is canceled.
202
- */ _onBeforeRemoveCol = /*#__PURE__*/ new WeakSet(), /**
268
+ */ _onBeforeRemoveCol = /*#__PURE__*/ new WeakMap(), /**
203
269
  * `afterCreateRow` hook callback.
204
270
  *
205
271
  * @param {number} visualRow Represents the visual index of first newly created row in the data source array.
206
272
  * @param {number} amount Number of newly created rows in the data source array.
207
273
  * @param {string} [source] String that identifies source of hook call
208
274
  * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
209
- */ _onAfterCreateRow = /*#__PURE__*/ new WeakSet(), /**
275
+ */ _onAfterCreateRow = /*#__PURE__*/ new WeakMap(), /**
210
276
  * `afterCreateCol` hook callback.
211
277
  *
212
278
  * @param {number} visualColumn Represents the visual index of first newly created column in the data source.
213
279
  * @param {number} amount Number of newly created columns in the data source.
214
280
  * @param {string} [source] String that identifies source of hook call
215
281
  * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
216
- */ _onAfterCreateCol = /*#__PURE__*/ new WeakSet(), /**
282
+ */ _onAfterCreateCol = /*#__PURE__*/ new WeakMap(), /**
217
283
  * `afterRemoveRow` hook callback.
218
284
  *
219
285
  * @param {number} row Visual index of starter row.
@@ -221,7 +287,7 @@ var /**
221
287
  * @param {number[]} physicalRows An array of physical rows removed from the data source.
222
288
  * @param {string} [source] String that identifies source of hook call
223
289
  * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
224
- */ _onAfterRemoveRow = /*#__PURE__*/ new WeakSet(), /**
290
+ */ _onAfterRemoveRow = /*#__PURE__*/ new WeakMap(), /**
225
291
  * `afterRemoveCol` hook callback.
226
292
  *
227
293
  * @param {number} col Visual index of starter column.
@@ -229,48 +295,14 @@ var /**
229
295
  * @param {number[]} physicalColumns An array of physical columns removed from the data source.
230
296
  * @param {string} [source] String that identifies source of hook call
231
297
  * ([list of all available sources]{@link https://handsontable.com/docs/javascript-data-grid/events-and-hooks/#handsontable-hooks}).
232
- */ _onAfterRemoveCol = /*#__PURE__*/ new WeakSet(), /**
298
+ */ _onAfterRemoveCol = /*#__PURE__*/ new WeakMap(), /**
233
299
  * `afterDetachChild` hook callback.
234
300
  * Used to sync the data of the rows detached in the Nested Rows plugin with the engine's dataset.
235
301
  *
236
302
  * @param {object} parent An object representing the parent from which the element was detached.
237
303
  * @param {object} element The detached element.
238
304
  * @param {number} finalElementRowIndex The final row index of the detached element.
239
- */ _onAfterDetachChild = /*#__PURE__*/ new WeakSet(), /**
240
- * Called when a value is updated in the engine.
241
- *
242
- * @fires Hooks#afterFormulasValuesUpdate
243
- * @param {Array} changes The values and location of applied changes.
244
- */ _onEngineValuesUpdated = /*#__PURE__*/ new WeakSet(), /**
245
- * Called when a named expression is added to the engine instance.
246
- *
247
- * @fires Hooks#afterNamedExpressionAdded
248
- * @param {string} namedExpressionName The name of the added expression.
249
- * @param {Array} changes The values and location of applied changes.
250
- */ _onEngineNamedExpressionsAdded = /*#__PURE__*/ new WeakSet(), /**
251
- * Called when a named expression is removed from the engine instance.
252
- *
253
- * @fires Hooks#afterNamedExpressionRemoved
254
- * @param {string} namedExpressionName The name of the removed expression.
255
- * @param {Array} changes The values and location of applied changes.
256
- */ _onEngineNamedExpressionsRemoved = /*#__PURE__*/ new WeakSet(), /**
257
- * Called when a new sheet is added to the engine instance.
258
- *
259
- * @fires Hooks#afterSheetAdded
260
- * @param {string} addedSheetDisplayName The name of the added sheet.
261
- */ _onEngineSheetAdded = /*#__PURE__*/ new WeakSet(), /**
262
- * Called when a sheet in the engine instance is renamed.
263
- *
264
- * @fires Hooks#afterSheetRenamed
265
- * @param {string} oldDisplayName The old name of the sheet.
266
- * @param {string} newDisplayName The new name of the sheet.
267
- */ _onEngineSheetRenamed = /*#__PURE__*/ new WeakSet(), /**
268
- * Called when a sheet is removed from the engine instance.
269
- *
270
- * @fires Hooks#afterSheetRemoved
271
- * @param {string} removedSheetDisplayName The removed sheet name.
272
- * @param {Array} changes The values and location of applied changes.
273
- */ _onEngineSheetRemoved = /*#__PURE__*/ new WeakSet();
305
+ */ _onAfterDetachChild = /*#__PURE__*/ new WeakMap();
274
306
  /**
275
307
  * This plugin allows you to perform Excel-like calculations in your business applications. It does it by an
276
308
  * integration with our other product, [HyperFormula](https://github.com/handsontable/hyperformula/), which is a
@@ -281,13 +313,19 @@ var /**
281
313
  * @plugin Formulas
282
314
  * @class Formulas
283
315
  */ export class Formulas extends BasePlugin {
284
- static get PLUGIN_KEY() {
316
+ /**
317
+ * Returns the plugin key used to identify this plugin in Handsontable settings.
318
+ */ static get PLUGIN_KEY() {
285
319
  return PLUGIN_KEY;
286
320
  }
287
- static get PLUGIN_PRIORITY() {
321
+ /**
322
+ * Returns the priority order used to determine the order in which plugins are initialized.
323
+ */ static get PLUGIN_PRIORITY() {
288
324
  return PLUGIN_PRIORITY;
289
325
  }
290
- static get SETTING_KEYS() {
326
+ /**
327
+ * Returns the list of settings keys observed by the plugin for configuration changes.
328
+ */ static get SETTING_KEYS() {
291
329
  return [
292
330
  PLUGIN_KEY,
293
331
  ...SETTING_KEYS
@@ -315,29 +353,29 @@ var /**
315
353
  // Useful for disabling -> enabling the plugin using `updateSettings` or the API.
316
354
  if (this.sheetName !== null && !this.engine.doesSheetExist(this.sheetName)) {
317
355
  const newSheetName = this.addSheet(this.sheetName, _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this));
318
- if (newSheetName !== false) {
356
+ if (typeof newSheetName === 'string') {
319
357
  _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newSheetName);
320
358
  }
321
359
  }
322
- this.addHook('beforeLoadData', (...args)=>_class_private_method_get(this, _onBeforeLoadData, onBeforeLoadData).call(this, ...args));
323
- this.addHook('afterLoadData', (...args)=>_class_private_method_get(this, _onAfterLoadData, onAfterLoadData).call(this, ...args));
360
+ this.addHook('beforeLoadData', _class_private_field_get(this, _onBeforeLoadData));
361
+ this.addHook('afterLoadData', _class_private_field_get(this, _onAfterLoadData));
324
362
  // The `updateData` hooks utilize the same logic as the `loadData` hooks.
325
- this.addHook('beforeUpdateData', (...args)=>_class_private_method_get(this, _onBeforeLoadData, onBeforeLoadData).call(this, ...args));
326
- this.addHook('afterUpdateData', (...args)=>_class_private_method_get(this, _onAfterLoadData, onAfterLoadData).call(this, ...args));
327
- this.addHook('modifyData', (...args)=>_class_private_method_get(this, _onModifyData, onModifyData).call(this, ...args));
328
- this.addHook('modifySourceData', (...args)=>_class_private_method_get(this, _onModifySourceData, onModifySourceData).call(this, ...args));
329
- this.addHook('beforeValidate', (...args)=>_class_private_method_get(this, _onBeforeValidate, onBeforeValidate).call(this, ...args));
330
- this.addHook('afterSetSourceDataAtCell', (...args)=>_class_private_method_get(this, _onAfterSetSourceDataAtCell, onAfterSetSourceDataAtCell).call(this, ...args));
331
- this.addHook('afterSetDataAtCell', (...args)=>_class_private_method_get(this, _onAfterSetDataAtCell, onAfterSetDataAtCell).call(this, ...args));
332
- this.addHook('afterSetDataAtRowProp', (...args)=>_class_private_method_get(this, _onAfterSetDataAtCell, onAfterSetDataAtCell).call(this, ...args));
333
- this.addHook('beforeCreateRow', (...args)=>_class_private_method_get(this, _onBeforeCreateRow, onBeforeCreateRow).call(this, ...args));
334
- this.addHook('beforeCreateCol', (...args)=>_class_private_method_get(this, _onBeforeCreateCol, onBeforeCreateCol).call(this, ...args));
335
- this.addHook('afterCreateRow', (...args)=>_class_private_method_get(this, _onAfterCreateRow, onAfterCreateRow).call(this, ...args));
336
- this.addHook('afterCreateCol', (...args)=>_class_private_method_get(this, _onAfterCreateCol, onAfterCreateCol).call(this, ...args));
337
- this.addHook('beforeRemoveRow', (...args)=>_class_private_method_get(this, _onBeforeRemoveRow, onBeforeRemoveRow).call(this, ...args));
338
- this.addHook('beforeRemoveCol', (...args)=>_class_private_method_get(this, _onBeforeRemoveCol, onBeforeRemoveCol).call(this, ...args));
339
- this.addHook('afterRemoveRow', (...args)=>_class_private_method_get(this, _onAfterRemoveRow, onAfterRemoveRow).call(this, ...args));
340
- this.addHook('afterRemoveCol', (...args)=>_class_private_method_get(this, _onAfterRemoveCol, onAfterRemoveCol).call(this, ...args));
363
+ this.addHook('beforeUpdateData', _class_private_field_get(this, _onBeforeLoadData));
364
+ this.addHook('afterUpdateData', _class_private_field_get(this, _onAfterLoadData));
365
+ this.addHook('modifyData', _class_private_field_get(this, _onModifyData));
366
+ this.addHook('modifySourceData', _class_private_field_get(this, _onModifySourceData));
367
+ this.addHook('beforeValidate', _class_private_field_get(this, _onBeforeValidate));
368
+ this.addHook('afterSetSourceDataAtCell', _class_private_field_get(this, _onAfterSetSourceDataAtCell));
369
+ this.addHook('afterSetDataAtCell', _class_private_field_get(this, _onAfterSetDataAtCell));
370
+ this.addHook('afterSetDataAtRowProp', _class_private_field_get(this, _onAfterSetDataAtCell));
371
+ this.addHook('beforeCreateRow', _class_private_field_get(this, _onBeforeCreateRow));
372
+ this.addHook('beforeCreateCol', _class_private_field_get(this, _onBeforeCreateCol));
373
+ this.addHook('afterCreateRow', _class_private_field_get(this, _onAfterCreateRow));
374
+ this.addHook('afterCreateCol', _class_private_field_get(this, _onAfterCreateCol));
375
+ this.addHook('beforeRemoveRow', _class_private_field_get(this, _onBeforeRemoveRow));
376
+ this.addHook('beforeRemoveCol', _class_private_field_get(this, _onBeforeRemoveCol));
377
+ this.addHook('afterRemoveRow', _class_private_field_get(this, _onAfterRemoveRow));
378
+ this.addHook('afterRemoveCol', _class_private_field_get(this, _onAfterRemoveCol));
341
379
  this.indexSyncer = new IndexSyncer(this.hot.rowIndexMapper, this.hot.columnIndexMapper, (postponedAction)=>{
342
380
  this.hot.addHookOnce('init', ()=>{
343
381
  // Engine is initialized after executing callback to `afterLoadData` hook. Thus, some actions on indexes should
@@ -349,38 +387,40 @@ var /**
349
387
  this.columnAxisSyncer = this.indexSyncer.getForAxis('column');
350
388
  this.hot.addHook('afterRowSequenceChange', this.rowAxisSyncer.getIndexesChangeSyncMethod());
351
389
  this.hot.addHook('afterColumnSequenceChange', this.columnAxisSyncer.getIndexesChangeSyncMethod());
352
- this.hot.addHook('beforeRowMove', (movedRows, finalIndex, _, movePossible)=>{
390
+ this.hot.addHook('beforeRowMove', (movedRows, finalIndex, _dropIndex, movePossible)=>{
353
391
  this.rowAxisSyncer.storeMovesInformation(movedRows, finalIndex, movePossible);
354
392
  });
355
- this.hot.addHook('beforeColumnMove', (movedColumns, finalIndex, _, movePossible)=>{
393
+ this.hot.addHook('beforeColumnMove', (movedColumns, finalIndex, _dropIndex, movePossible)=>{
356
394
  this.columnAxisSyncer.storeMovesInformation(movedColumns, finalIndex, movePossible);
357
395
  });
358
- this.hot.addHook('afterRowMove', (movedRows, finalIndex, dropIndex, movePossible, orderChanged)=>{
396
+ this.hot.addHook('afterRowMove', (_movedRows, _finalIndex, _dropIndex, movePossible, orderChanged)=>{
359
397
  this.rowAxisSyncer.calculateAndSyncMoves(movePossible, orderChanged);
360
398
  });
361
- this.hot.addHook('afterColumnMove', (movedColumns, finalIndex, dropIndex, movePossible, orderChanged)=>{
399
+ this.hot.addHook('afterColumnMove', (_movedColumns, _finalIndex, _dropIndex, movePossible, orderChanged)=>{
362
400
  this.columnAxisSyncer.calculateAndSyncMoves(movePossible, orderChanged);
363
401
  });
364
402
  this.hot.addHook('beforeColumnFreeze', (column, freezePerformed)=>{
403
+ const fixedColumnsStart = this.hot.getSettings().fixedColumnsStart;
365
404
  this.columnAxisSyncer.storeMovesInformation([
366
405
  column
367
- ], this.hot.getSettings().fixedColumnsStart, freezePerformed);
406
+ ], fixedColumnsStart, freezePerformed);
368
407
  });
369
- this.hot.addHook('afterColumnFreeze', (_, freezePerformed)=>{
408
+ this.hot.addHook('afterColumnFreeze', (_column, freezePerformed)=>{
370
409
  this.columnAxisSyncer.calculateAndSyncMoves(freezePerformed, freezePerformed);
371
410
  });
372
411
  this.hot.addHook('beforeColumnUnfreeze', (column, unfreezePerformed)=>{
412
+ const fixedColumnsStart = this.hot.getSettings().fixedColumnsStart;
373
413
  this.columnAxisSyncer.storeMovesInformation([
374
414
  column
375
- ], this.hot.getSettings().fixedColumnsStart - 1, unfreezePerformed);
415
+ ], fixedColumnsStart - 1, unfreezePerformed);
376
416
  });
377
- this.hot.addHook('afterColumnUnfreeze', (_, unfreezePerformed)=>{
417
+ this.hot.addHook('afterColumnUnfreeze', (_column, unfreezePerformed)=>{
378
418
  this.columnAxisSyncer.calculateAndSyncMoves(unfreezePerformed, unfreezePerformed);
379
419
  });
380
420
  // TODO: Actions related to overwriting dates from HOT format to HF default format are done as callback to this
381
421
  // hook, because some hooks, such as `afterLoadData` doesn't have information about composed cell properties.
382
422
  // Another hooks are triggered to late for setting HF's engine data needed for some actions.
383
- this.addHook('afterCellMetaReset', (...args)=>_class_private_method_get(this, _onAfterCellMetaReset, onAfterCellMetaReset).call(this, ...args));
423
+ this.addHook('afterCellMetaReset', _class_private_field_get(this, _onAfterCellMetaReset));
384
424
  // Handling undo actions on data just using HyperFormula's UndoRedo mechanism
385
425
  this.addHook('beforeUndo', ()=>{
386
426
  this.indexSyncer.setPerformUndo(true);
@@ -397,16 +437,18 @@ var /**
397
437
  this.addHook('afterUndo', ()=>{
398
438
  this.indexSyncer.setPerformRedo(false);
399
439
  });
400
- this.addHook('afterDetachChild', (...args)=>_class_private_method_get(this, _onAfterDetachChild, onAfterDetachChild).call(this, ...args));
401
- this.addHook('beforeAutofill', (...args)=>_class_private_method_get(this, _onBeforeAutofill, onBeforeAutofill).call(this, ...args));
402
- _class_private_field_get(this, _engineListeners).forEach(([eventName, listener])=>this.engine.on(eventName, listener));
440
+ this.addHook('afterDetachChild', _class_private_field_get(this, _onAfterDetachChild));
441
+ this.addHook('beforeAutofill', _class_private_field_get(this, _onBeforeAutofill));
442
+ _class_private_field_get(this, _engineListeners)?.forEach(([eventName, listener])=>this.engine.on(eventName, listener));
403
443
  super.enablePlugin();
404
444
  }
405
445
  /**
406
446
  * Disables the plugin functionality for this Handsontable instance.
407
447
  */ disablePlugin() {
408
- _class_private_field_get(this, _engineListeners).forEach(([eventName, listener])=>this.engine.off(eventName, listener));
409
- unregisterEngine(this.engine, this.hot);
448
+ _class_private_field_get(this, _engineListeners)?.forEach(([eventName, listener])=>this.engine?.off(eventName, listener));
449
+ if (this.engine) {
450
+ unregisterEngine(this.engine, this.hot);
451
+ }
410
452
  this.engine = null;
411
453
  super.disablePlugin();
412
454
  }
@@ -417,22 +459,25 @@ var /**
417
459
  * @param {object} newSettings New set of settings passed to the `updateSettings` method.
418
460
  */ updatePlugin(newSettings) {
419
461
  const newEngineSettings = getEngineSettingsWithOverrides(this.hot.getSettings());
420
- if (haveEngineSettingsChanged(this.engine.getConfig(), newEngineSettings)) {
462
+ if (this.engine && haveEngineSettingsChanged(this.engine.getConfig(), newEngineSettings)) {
421
463
  this.engine.updateConfig(newEngineSettings);
422
464
  }
423
465
  const pluginSettings = this.hot.getSettings()[PLUGIN_KEY];
424
- if (isDefined(pluginSettings) && isDefined(pluginSettings.sheetName) && pluginSettings.sheetName !== this.sheetName) {
466
+ if (pluginSettings !== undefined && typeof pluginSettings !== 'boolean' && pluginSettings.sheetName !== undefined && pluginSettings.sheetName !== this.sheetName) {
425
467
  this.switchSheet(pluginSettings.sheetName);
426
468
  }
427
469
  // If no data was passed to the `updateSettings` method and no sheet is connected to the instance -> create a
428
470
  // new sheet using the currently used data. Otherwise, it will be handled by the `afterLoadData` call.
429
471
  if (!newSettings.data && this.sheetName === null) {
430
- const sheetName = this.hot.getSettings()[PLUGIN_KEY].sheetName;
431
- if (sheetName && this.engine.doesSheetExist(sheetName)) {
432
- this.switchSheet(this.sheetName);
472
+ const formulasSettings = this.hot.getSettings()[PLUGIN_KEY];
473
+ const sheetName = isFormulasSettingsObject(formulasSettings) ? formulasSettings.sheetName : undefined;
474
+ if (sheetName && this.engine?.doesSheetExist(sheetName)) {
475
+ this.switchSheet(sheetName);
433
476
  } else {
434
477
  const newSheetName = this.addSheet(sheetName ?? undefined, _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this));
435
- _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newSheetName);
478
+ if (typeof newSheetName === 'string') {
479
+ _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newSheetName);
480
+ }
436
481
  }
437
482
  }
438
483
  super.updatePlugin(newSettings);
@@ -440,9 +485,11 @@ var /**
440
485
  /**
441
486
  * Destroys the plugin instance.
442
487
  */ destroy() {
443
- _class_private_field_get(this, _engineListeners).forEach(([eventName, listener])=>this.engine?.off(eventName, listener));
488
+ _class_private_field_get(this, _engineListeners)?.forEach(([eventName, listener])=>this.engine?.off(eventName, listener));
444
489
  _class_private_field_set(this, _engineListeners, null);
445
- unregisterEngine(this.engine, this.hot);
490
+ if (this.engine) {
491
+ unregisterEngine(this.engine, this.hot);
492
+ }
446
493
  this.engine = null;
447
494
  super.destroy();
448
495
  }
@@ -460,7 +507,7 @@ var /**
460
507
  warn('The provided data should be an array of arrays.');
461
508
  return false;
462
509
  }
463
- if (sheetName !== undefined && sheetName !== null && this.engine.doesSheetExist(sheetName)) {
510
+ if (sheetName !== undefined && sheetName !== null && this.engine?.doesSheetExist(sheetName)) {
464
511
  warn('Sheet with the provided name already exists.');
465
512
  return false;
466
513
  }
@@ -471,7 +518,7 @@ var /**
471
518
  }
472
519
  return actualSheetName;
473
520
  } catch (e) {
474
- warn(e.message);
521
+ warn(e instanceof Error ? e.message : String(e));
475
522
  return false;
476
523
  }
477
524
  }
@@ -481,7 +528,7 @@ var /**
481
528
  *
482
529
  * @param {string} sheetName Sheet name used in the shared HyperFormula instance.
483
530
  */ switchSheet(sheetName) {
484
- if (!this.engine.doesSheetExist(sheetName)) {
531
+ if (!this.engine?.doesSheetExist(sheetName)) {
485
532
  error(`The sheet named \`${sheetName}\` does not exist, switch aborted.`);
486
533
  return;
487
534
  }
@@ -537,13 +584,14 @@ var /**
537
584
  const affectedSheetIds = new Set();
538
585
  dependentCells.forEach((change)=>{
539
586
  // For the Named expression the address is empty, hence the `sheetId` is undefined.
540
- const sheetId = change?.address?.sheet;
541
- if (sheetId !== undefined) {
542
- if (!affectedSheetIds.has(sheetId)) {
543
- affectedSheetIds.add(sheetId);
544
- }
587
+ const sheetId = isHFCellChange(change) ? change.address?.sheet : undefined;
588
+ if (sheetId !== undefined && !affectedSheetIds.has(sheetId)) {
589
+ affectedSheetIds.add(sheetId);
545
590
  }
546
591
  });
592
+ if (!this.engine) {
593
+ return;
594
+ }
547
595
  getRegisteredHotInstances(this.engine).forEach((relatedHot, sheetId)=>{
548
596
  if ((renderSelf || sheetId !== this.sheetId) && affectedSheetIds.has(sheetId)) {
549
597
  relatedHot.render();
@@ -559,22 +607,22 @@ var /**
559
607
  * @param {object[]} [changedCells] The values and location of applied changes by developer (through API or UI).
560
608
  */ validateDependentCells(dependentCells, changedCells = []) {
561
609
  const stringifyAddress = (change)=>{
562
- const { row, col, sheet } = change?.address ?? {};
610
+ const address = isHFCellChange(change) ? change.address : undefined;
611
+ const { row, col, sheet } = address ?? {};
563
612
  return isDefined(sheet) ? `${sheet}:${row}x${col}` : '';
564
613
  };
565
614
  const changedCellsSet = new Set(changedCells.map((change)=>stringifyAddress(change)));
566
615
  dependentCells.forEach((change)=>{
567
- const { row, col } = change.address ?? {};
616
+ const address = isHFCellChange(change) ? change.address : undefined;
617
+ const { row, col, sheet: sheetId } = address ?? {};
568
618
  // Don't try to validate cells outside of the visual part of the table.
569
- if (isDefined(row) === false || isDefined(col) === false || row >= this.hot.countRows() || col >= this.hot.countCols()) {
619
+ if (row === undefined || col === undefined || row >= this.hot.countRows() || col >= this.hot.countCols()) {
570
620
  return;
571
621
  }
572
- // For the Named expression the address is empty, hence the `sheetId` is undefined.
573
- const sheetId = change?.address?.sheet;
574
622
  const addressId = stringifyAddress(change);
575
623
  // Validate the cells that depend on the calculated formulas. Skip that cells
576
624
  // where the user directly changes the values - the Core triggers those validators.
577
- if (sheetId !== undefined && !changedCellsSet.has(addressId)) {
625
+ if (sheetId !== undefined && !changedCellsSet.has(addressId) && this.engine) {
578
626
  const boundHot = getRegisteredHotInstances(this.engine).get(sheetId);
579
627
  // if `sheetId` is not bound to any Handsontable instance, skip the validation process
580
628
  if (!boundHot) {
@@ -599,56 +647,142 @@ var /**
599
647
  col: this.columnAxisSyncer.getHfIndexFromVisualIndex(column),
600
648
  sheet: this.sheetId
601
649
  };
602
- if (!this.engine.isItPossibleToSetCellContents(address)) {
650
+ if (!this.engine?.isItPossibleToSetCellContents(address)) {
603
651
  warn(`Not possible to set cell data at ${JSON.stringify(address)}`);
604
652
  return;
605
653
  }
606
654
  const cellMeta = this.hot.getCellMeta(row, column);
607
655
  if (isDate(newValue, cellMeta.type)) {
608
- if (isDateValid(newValue, cellMeta.dateFormat)) {
656
+ if (isDateValid(newValue)) {
609
657
  // Rewriting date in HOT format to HF format.
610
- newValue = getDateInHfFormat(newValue, cellMeta.dateFormat);
658
+ newValue = getDateInHfFormat(newValue);
611
659
  } else if (isFormula(newValue) === false) {
612
660
  // Escaping value from date parsing using "'" sign (HF feature).
613
661
  newValue = `'${newValue}`;
614
662
  }
615
663
  }
616
- return this.engine.setCellContents(address, newValue);
664
+ return this.engine?.setCellContents(address, newValue);
617
665
  }
618
666
  constructor(...args){
619
- super(...args), _class_private_method_init(this, _updateSheetNameAndSheetId), _class_private_method_init(this, _getValueGetterValue), _class_private_method_init(this, _getProcessedSourceDataArray), _class_private_method_init(this, _onBeforeValidate), _class_private_method_init(this, _onBeforeAutofill), _class_private_method_init(this, _onBeforeLoadData), _class_private_method_init(this, _onAfterCellMetaReset), _class_private_method_init(this, _onAfterLoadData), _class_private_method_init(this, _onModifyData), _class_private_method_init(this, _onModifySourceData), _class_private_method_init(this, _onAfterSetDataAtCell), _class_private_method_init(this, _onAfterSetSourceDataAtCell), _class_private_method_init(this, _onBeforeCreateRow), _class_private_method_init(this, _onBeforeCreateCol), _class_private_method_init(this, _onBeforeRemoveRow), _class_private_method_init(this, _onBeforeRemoveCol), _class_private_method_init(this, _onAfterCreateRow), _class_private_method_init(this, _onAfterCreateCol), _class_private_method_init(this, _onAfterRemoveRow), _class_private_method_init(this, _onAfterRemoveCol), _class_private_method_init(this, _onAfterDetachChild), _class_private_method_init(this, _onEngineValuesUpdated), _class_private_method_init(this, _onEngineNamedExpressionsAdded), _class_private_method_init(this, _onEngineNamedExpressionsRemoved), _class_private_method_init(this, _onEngineSheetAdded), _class_private_method_init(this, _onEngineSheetRenamed), _class_private_method_init(this, _onEngineSheetRemoved), _class_private_field_init(this, _internalOperationPending, {
667
+ super(...args), _class_private_method_init(this, _exportChangeValue), _class_private_method_init(this, _updateSheetNameAndSheetId), _class_private_method_init(this, _getValueGetterValue), _class_private_method_init(this, _getProcessedSourceDataArray), _class_private_field_init(this, _internalOperationPending, {
620
668
  writable: true,
621
669
  value: void 0
622
670
  }), _class_private_field_init(this, _hotWasInitializedWithEmptyData, {
623
671
  writable: true,
624
672
  value: void 0
673
+ }), _class_private_field_init(this, _onEngineValuesUpdated, {
674
+ writable: true,
675
+ value: void 0
676
+ }), _class_private_field_init(this, _onEngineNamedExpressionsAdded, {
677
+ writable: true,
678
+ value: void 0
679
+ }), _class_private_field_init(this, _onEngineNamedExpressionsRemoved, {
680
+ writable: true,
681
+ value: void 0
682
+ }), _class_private_field_init(this, _onEngineSheetAdded, {
683
+ writable: true,
684
+ value: void 0
685
+ }), _class_private_field_init(this, _onEngineSheetRenamed, {
686
+ writable: true,
687
+ value: void 0
688
+ }), _class_private_field_init(this, _onEngineSheetRemoved, {
689
+ writable: true,
690
+ value: void 0
625
691
  }), _class_private_field_init(this, _engineListeners, {
626
692
  writable: true,
627
693
  value: void 0
628
- }), _class_private_field_set(this, _internalOperationPending, false), _class_private_field_set(this, _hotWasInitializedWithEmptyData, false), _class_private_field_set(this, _engineListeners, [
694
+ }), _class_private_field_init(this, _onBeforeValidate, {
695
+ writable: true,
696
+ value: void 0
697
+ }), _class_private_field_init(this, _onBeforeAutofill, {
698
+ writable: true,
699
+ value: void 0
700
+ }), _class_private_field_init(this, _onBeforeLoadData, {
701
+ writable: true,
702
+ value: void 0
703
+ }), _class_private_field_init(this, _onAfterCellMetaReset, {
704
+ writable: true,
705
+ value: void 0
706
+ }), _class_private_field_init(this, _onAfterLoadData, {
707
+ writable: true,
708
+ value: void 0
709
+ }), _class_private_field_init(this, _onModifyData, {
710
+ writable: true,
711
+ value: void 0
712
+ }), _class_private_field_init(this, _onModifySourceData, {
713
+ writable: true,
714
+ value: void 0
715
+ }), _class_private_field_init(this, _onAfterSetDataAtCell, {
716
+ writable: true,
717
+ value: void 0
718
+ }), _class_private_field_init(this, _onAfterSetSourceDataAtCell, {
719
+ writable: true,
720
+ value: void 0
721
+ }), _class_private_field_init(this, _onBeforeCreateRow, {
722
+ writable: true,
723
+ value: void 0
724
+ }), _class_private_field_init(this, _onBeforeCreateCol, {
725
+ writable: true,
726
+ value: void 0
727
+ }), _class_private_field_init(this, _onBeforeRemoveRow, {
728
+ writable: true,
729
+ value: void 0
730
+ }), _class_private_field_init(this, _onBeforeRemoveCol, {
731
+ writable: true,
732
+ value: void 0
733
+ }), _class_private_field_init(this, _onAfterCreateRow, {
734
+ writable: true,
735
+ value: void 0
736
+ }), _class_private_field_init(this, _onAfterCreateCol, {
737
+ writable: true,
738
+ value: void 0
739
+ }), _class_private_field_init(this, _onAfterRemoveRow, {
740
+ writable: true,
741
+ value: void 0
742
+ }), _class_private_field_init(this, _onAfterRemoveCol, {
743
+ writable: true,
744
+ value: void 0
745
+ }), _class_private_field_init(this, _onAfterDetachChild, {
746
+ writable: true,
747
+ value: void 0
748
+ }), _class_private_field_set(this, _internalOperationPending, false), _class_private_field_set(this, _hotWasInitializedWithEmptyData, false), _class_private_field_set(this, _onEngineValuesUpdated, (changes)=>{
749
+ const exportedChanges = changes.map((change)=>_class_private_method_get(this, _exportChangeValue, exportChangeValue).call(this, change));
750
+ this.hot.runHooks('afterFormulasValuesUpdate', exportedChanges);
751
+ }), _class_private_field_set(this, _onEngineNamedExpressionsAdded, (namedExpressionName, changes)=>{
752
+ this.hot.runHooks('afterNamedExpressionAdded', namedExpressionName, changes);
753
+ }), _class_private_field_set(this, _onEngineNamedExpressionsRemoved, (namedExpressionName, changes)=>{
754
+ this.hot.runHooks('afterNamedExpressionRemoved', namedExpressionName, changes);
755
+ }), _class_private_field_set(this, _onEngineSheetAdded, (addedSheetDisplayName)=>{
756
+ this.hot.runHooks('afterSheetAdded', addedSheetDisplayName);
757
+ }), _class_private_field_set(this, _onEngineSheetRenamed, (oldDisplayName, newDisplayName)=>{
758
+ _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newDisplayName);
759
+ this.hot.runHooks('afterSheetRenamed', oldDisplayName, newDisplayName);
760
+ }), _class_private_field_set(this, _onEngineSheetRemoved, (removedSheetDisplayName, changes)=>{
761
+ this.hot.runHooks('afterSheetRemoved', removedSheetDisplayName, changes);
762
+ }), _class_private_field_set(this, _engineListeners, [
629
763
  [
630
764
  'valuesUpdated',
631
- (...args)=>_class_private_method_get(this, _onEngineValuesUpdated, onEngineValuesUpdated).call(this, ...args)
765
+ _class_private_field_get(this, _onEngineValuesUpdated)
632
766
  ],
633
767
  [
634
768
  'namedExpressionAdded',
635
- (...args)=>_class_private_method_get(this, _onEngineNamedExpressionsAdded, onEngineNamedExpressionsAdded).call(this, ...args)
769
+ _class_private_field_get(this, _onEngineNamedExpressionsAdded)
636
770
  ],
637
771
  [
638
772
  'namedExpressionRemoved',
639
- (...args)=>_class_private_method_get(this, _onEngineNamedExpressionsRemoved, onEngineNamedExpressionsRemoved).call(this, ...args)
773
+ _class_private_field_get(this, _onEngineNamedExpressionsRemoved)
640
774
  ],
641
775
  [
642
776
  'sheetAdded',
643
- (...args)=>_class_private_method_get(this, _onEngineSheetAdded, onEngineSheetAdded).call(this, ...args)
777
+ _class_private_field_get(this, _onEngineSheetAdded)
644
778
  ],
645
779
  [
646
780
  'sheetRenamed',
647
- (...args)=>_class_private_method_get(this, _onEngineSheetRenamed, onEngineSheetRenamed).call(this, ...args)
781
+ _class_private_field_get(this, _onEngineSheetRenamed)
648
782
  ],
649
783
  [
650
784
  'sheetRemoved',
651
- (...args)=>_class_private_method_get(this, _onEngineSheetRemoved, onEngineSheetRemoved).call(this, ...args)
785
+ _class_private_field_get(this, _onEngineSheetRemoved)
652
786
  ]
653
787
  ]), /**
654
788
  * Static register used to set up one global HyperFormula instance.
@@ -680,423 +814,479 @@ var /**
680
814
  * Index synchronizer responsible for syncing the order of HOT and HF's data for the axis of the columns.
681
815
  *
682
816
  * @type {AxisSyncer|null}
683
- */ this.columnAxisSyncer = null;
684
- }
685
- }
686
- function updateSheetNameAndSheetId(sheetName) {
687
- this.sheetName = sheetName;
688
- this.sheetId = this.engine.getSheetId(this.sheetName);
689
- }
690
- function getValueGetterValue1(row, column, value) {
691
- if (isObject(value) && value !== null) {
692
- const visualRow = this.hot.toVisualRow(row);
693
- const visualColumn = this.hot.toVisualColumn(column);
694
- value = getValueGetterValue(value, this.hot.getCellMeta(visualRow, visualColumn));
695
- value = value.toString();
696
- }
697
- return normalizeValueForFormulaEngine(value);
698
- }
699
- function getProcessedSourceDataArray(row, column, row2, column2) {
700
- return this.hot.getSourceDataArray(row, column, row2, column2).map((rowObject, rowIndex)=>{
701
- return rowObject.map((value, columnIndex)=>{
702
- return _class_private_method_get(this, _getValueGetterValue, getValueGetterValue1).call(this, rowIndex, columnIndex, value);
703
- });
704
- });
705
- }
706
- function onBeforeValidate(value, visualRow, prop) {
707
- const visualColumn = this.hot.propToCol(prop);
708
- if (this.isFormulaCellType(visualRow, visualColumn)) {
709
- const address = {
710
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
711
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
712
- sheet: this.sheetId
713
- };
714
- const cellMeta = this.hot.getCellMeta(visualRow, visualColumn);
715
- let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel-like date).
716
- if (cellMeta.type === 'date' && isNumeric(cellValue)) {
717
- cellValue = getDateFromExcelDate(cellValue, cellMeta.dateFormat);
718
- }
719
- // If `cellValue` is an object it is expected to be an error
720
- return typeof cellValue === 'object' && cellValue !== null ? cellValue.value : cellValue;
721
- }
722
- return value;
723
- }
724
- function onBeforeAutofill(fillData, sourceRange, targetRange) {
725
- const { row: sourceTopStartRow, col: sourceTopStartColumn } = sourceRange.getTopStartCorner();
726
- const { row: sourceBottomEndRow, col: sourceBottomEndColumn } = sourceRange.getBottomEndCorner();
727
- const { row: targetTopStartRow, col: targetTopStartColumn } = targetRange.getTopStartCorner();
728
- const { row: targetBottomEndRow, col: targetBottomEndColumn } = targetRange.getBottomEndCorner();
729
- const engineSourceRange = {
730
- start: {
731
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartRow),
732
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartColumn),
733
- sheet: this.sheetId
734
- },
735
- end: {
736
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndRow),
737
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndColumn),
738
- sheet: this.sheetId
739
- }
740
- };
741
- const engineTargetRange = {
742
- start: {
743
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(targetTopStartRow),
744
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(targetTopStartColumn),
745
- sheet: this.sheetId
746
- },
747
- end: {
748
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndRow),
749
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndColumn),
750
- sheet: this.sheetId
751
- }
752
- };
753
- // Blocks the autofill operation if HyperFormula says that at least one of
754
- // the underlying cell's contents cannot be set.
755
- if (this.engine.isItPossibleToSetCellContents(engineTargetRange) === false) {
756
- return false;
757
- }
758
- const fillRangeData = this.engine.getFillRangeData(engineSourceRange, engineTargetRange);
759
- const { row: sourceStartRow, col: sourceStartColumn } = engineSourceRange.start;
760
- const { row: sourceEndRow, col: sourceEndColumn } = engineSourceRange.end;
761
- const populationRowLength = sourceEndRow - sourceStartRow + 1;
762
- const populationColumnLength = sourceEndColumn - sourceStartColumn + 1;
763
- for(let populatedRowIndex = 0; populatedRowIndex < fillRangeData.length; populatedRowIndex += 1){
764
- for(let populatedColumnIndex = 0; populatedColumnIndex < fillRangeData[populatedRowIndex].length; populatedColumnIndex += 1){
765
- const populatedValue = fillRangeData[populatedRowIndex][populatedColumnIndex];
766
- const sourceRow = sourceStartRow + populatedRowIndex % populationRowLength;
767
- const sourceColumn = sourceStartColumn + populatedColumnIndex % populationColumnLength;
768
- const sourceCellMeta = this.hot.getCellMeta(sourceRow, sourceColumn);
769
- if (isDate(populatedValue, sourceCellMeta.type)) {
770
- if (populatedValue.startsWith('\'')) {
771
- // Populating values on HOT side without apostrophe.
772
- fillRangeData[populatedRowIndex][populatedColumnIndex] = populatedValue.slice(1);
773
- } else if (this.isFormulaCellType(sourceRow, sourceColumn, this.sheetId) === false) {
774
- // Populating date in proper format, coming from the source cell.
775
- fillRangeData[populatedRowIndex][populatedColumnIndex] = getDateInHotFormat(populatedValue, sourceCellMeta.dateFormat);
817
+ */ this.columnAxisSyncer = null, _class_private_field_set(this, _onBeforeValidate, (value, visualRow, prop)=>{
818
+ const visualColumn = this.hot.propToCol(prop);
819
+ if (this.isFormulaCellType(visualRow, visualColumn)) {
820
+ const address = {
821
+ row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
822
+ col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
823
+ sheet: this.sheetId
824
+ };
825
+ const cellMeta = this.hot.getCellMeta(visualRow, visualColumn);
826
+ let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel-like date).
827
+ if (cellMeta.type === 'date' && isNumeric(cellValue)) {
828
+ cellValue = getDateFromExcelDate(cellValue);
829
+ } else if (cellMeta.type === 'time' && isNumeric(cellValue)) {
830
+ cellValue = getTimeFromHfTimeFraction(cellValue);
776
831
  }
832
+ // If `cellValue` is an object it is expected to be an error
833
+ return hasValueProperty(cellValue) ? cellValue.value : cellValue;
777
834
  }
778
- }
779
- }
780
- return fillRangeData;
781
- }
782
- function onBeforeLoadData(sourceData, initialLoad, source = '') {
783
- if (source.includes(toUpperCaseFirst(PLUGIN_KEY))) {
784
- return;
785
- }
786
- // This flag needs to be defined, because not passing data to HOT results in HOT auto-generating a `null`-filled
787
- // initial dataset.
788
- _class_private_field_set(this, _hotWasInitializedWithEmptyData, isUndefined(this.hot.getSettings().data));
789
- }
790
- function onAfterCellMetaReset() {
791
- if (_class_private_field_get(this, _hotWasInitializedWithEmptyData)) {
792
- this.switchSheet(this.sheetName);
793
- return;
794
- }
795
- const sourceDataArray = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this);
796
- sourceDataArray.forEach((rowData, rowIndex)=>{
797
- rowData.forEach((cellValue, columnIndex)=>{
798
- const cellMeta = this.hot.getCellMeta(rowIndex, columnIndex, {
799
- skipMetaExtension: true
800
- });
801
- const dateFormat = cellMeta.dateFormat;
802
- if (isDate(cellValue, cellMeta.type)) {
803
- if (isDateValid(cellValue, dateFormat)) {
804
- // Rewriting date in HOT format to HF format.
805
- sourceDataArray[rowIndex][columnIndex] = getDateInHfFormat(cellValue, dateFormat);
806
- } else if (!cellValue.startsWith('=')) {
807
- // Escaping value from date parsing using "'" sign (HF feature).
808
- sourceDataArray[rowIndex][columnIndex] = `'${cellValue}`;
835
+ return value;
836
+ }), _class_private_field_set(this, _onBeforeAutofill, (fillData, sourceRange, targetRange)=>{
837
+ const { row: sourceTopStartRow, col: sourceTopStartColumn } = sourceRange.getTopStartCorner();
838
+ const { row: sourceBottomEndRow, col: sourceBottomEndColumn } = sourceRange.getBottomEndCorner();
839
+ const { row: targetTopStartRow, col: targetTopStartColumn } = targetRange.getTopStartCorner();
840
+ const { row: targetBottomEndRow, col: targetBottomEndColumn } = targetRange.getBottomEndCorner();
841
+ if (sourceTopStartRow === null || sourceTopStartColumn === null || sourceBottomEndRow === null || sourceBottomEndColumn === null || targetTopStartRow === null || targetTopStartColumn === null || targetBottomEndRow === null || targetBottomEndColumn === null) {
842
+ return;
843
+ }
844
+ const hfSourceStartRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartRow);
845
+ const hfSourceStartCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceTopStartColumn);
846
+ const hfSourceEndRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndRow);
847
+ const hfSourceEndCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(sourceBottomEndColumn);
848
+ const hfTargetStartRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(targetTopStartRow);
849
+ const hfTargetStartCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(targetTopStartColumn);
850
+ const hfTargetEndRow = this.rowAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndRow);
851
+ const hfTargetEndCol = this.columnAxisSyncer.getHfIndexFromVisualIndex(targetBottomEndColumn);
852
+ if (hfSourceStartRow === null || hfSourceStartCol === null || hfSourceEndRow === null || hfSourceEndCol === null || hfTargetStartRow === null || hfTargetStartCol === null || hfTargetEndRow === null || hfTargetEndCol === null) {
853
+ return;
854
+ }
855
+ const engineSourceRange = {
856
+ start: {
857
+ row: hfSourceStartRow,
858
+ col: hfSourceStartCol,
859
+ sheet: this.sheetId
860
+ },
861
+ end: {
862
+ row: hfSourceEndRow,
863
+ col: hfSourceEndCol,
864
+ sheet: this.sheetId
809
865
  }
866
+ };
867
+ const engineTargetRange = {
868
+ start: {
869
+ row: hfTargetStartRow,
870
+ col: hfTargetStartCol,
871
+ sheet: this.sheetId
872
+ },
873
+ end: {
874
+ row: hfTargetEndRow,
875
+ col: hfTargetEndCol,
876
+ sheet: this.sheetId
877
+ }
878
+ };
879
+ // Blocks the autofill operation if HyperFormula says that at least one of
880
+ // the underlying cell's contents cannot be set.
881
+ if (this.engine.isItPossibleToSetCellContents(engineTargetRange) === false) {
882
+ return false;
810
883
  }
811
- });
812
- });
813
- _class_private_field_set(this, _internalOperationPending, true);
814
- const dependentCells = this.engine.setSheetContent(this.sheetId, sourceDataArray);
815
- this.indexSyncer.setupSyncEndpoint(this.engine, this.sheetId);
816
- this.renderDependentSheets(dependentCells);
817
- _class_private_field_set(this, _internalOperationPending, false);
818
- }
819
- function onAfterLoadData(sourceData, initialLoad, source = '') {
820
- if (source.includes(toUpperCaseFirst(PLUGIN_KEY))) {
821
- return;
822
- }
823
- const sheetName = setupSheet(this.engine, this.hot.getSettings()[PLUGIN_KEY].sheetName);
824
- _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, sheetName);
825
- if (source === 'updateSettings') {
826
- // For performance reasons, the initialization will be done in afterCellMetaReset hook
827
- return;
828
- }
829
- if (!_class_private_field_get(this, _hotWasInitializedWithEmptyData)) {
830
- const sourceDataArray = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this);
831
- if (this.engine.isItPossibleToReplaceSheetContent(this.sheetId, sourceDataArray)) {
884
+ const fillRangeData = this.engine.getFillRangeData(engineSourceRange, engineTargetRange);
885
+ const { row: sourceStartRow, col: sourceStartColumn } = engineSourceRange.start;
886
+ const { row: sourceEndRow, col: sourceEndColumn } = engineSourceRange.end;
887
+ const populationRowLength = sourceEndRow - sourceStartRow + 1;
888
+ const populationColumnLength = sourceEndColumn - sourceStartColumn + 1;
889
+ for(let populatedRowIndex = 0; populatedRowIndex < fillRangeData.length; populatedRowIndex += 1){
890
+ for(let populatedColumnIndex = 0; populatedColumnIndex < fillRangeData[populatedRowIndex].length; populatedColumnIndex += 1){
891
+ const populatedValue = fillRangeData[populatedRowIndex][populatedColumnIndex];
892
+ const sourceRow = sourceStartRow + populatedRowIndex % populationRowLength;
893
+ const sourceColumn = sourceStartColumn + populatedColumnIndex % populationColumnLength;
894
+ const sourceCellMeta = this.hot.getCellMeta(sourceRow, sourceColumn);
895
+ if (isDate(populatedValue, sourceCellMeta.type)) {
896
+ if (populatedValue.startsWith('\'')) {
897
+ // Populating values on HOT side without apostrophe.
898
+ fillRangeData[populatedRowIndex][populatedColumnIndex] = populatedValue.slice(1);
899
+ } else if (this.isFormulaCellType(sourceRow, sourceColumn, this.sheetId) === false) {
900
+ // Populating date in proper format, coming from the source cell.
901
+ fillRangeData[populatedRowIndex][populatedColumnIndex] = getDateInHotFormat(populatedValue);
902
+ }
903
+ }
904
+ }
905
+ }
906
+ return fillRangeData;
907
+ }), _class_private_field_set(this, _onBeforeLoadData, (sourceData, initialLoad, source = '')=>{
908
+ if (source.includes(toUpperCaseFirst(PLUGIN_KEY))) {
909
+ return;
910
+ }
911
+ // This flag needs to be defined, because not passing data to HOT results in HOT auto-generating a `null`-filled
912
+ // initial dataset.
913
+ _class_private_field_set(this, _hotWasInitializedWithEmptyData, isUndefined(this.hot.getSettings().data));
914
+ }), _class_private_field_set(this, _onAfterCellMetaReset, ()=>{
915
+ if (_class_private_field_get(this, _hotWasInitializedWithEmptyData)) {
916
+ if (this.sheetName !== null) {
917
+ this.switchSheet(this.sheetName);
918
+ }
919
+ return;
920
+ }
921
+ const sourceDataArray = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this);
922
+ sourceDataArray.forEach((rowData, rowIndex)=>{
923
+ rowData.forEach((cellValue, columnIndex)=>{
924
+ const cellMeta = this.hot.getCellMeta(rowIndex, columnIndex, {
925
+ skipMetaExtension: true
926
+ });
927
+ if (isDate(cellValue, cellMeta.type)) {
928
+ if (isDateValid(cellValue)) {
929
+ // Rewriting date in HOT format to HF format.
930
+ sourceDataArray[rowIndex][columnIndex] = getDateInHfFormat(cellValue);
931
+ } else if (!cellValue.startsWith('=')) {
932
+ // Escaping value from date parsing using "'" sign (HF feature).
933
+ sourceDataArray[rowIndex][columnIndex] = `'${cellValue}`;
934
+ }
935
+ }
936
+ });
937
+ });
832
938
  _class_private_field_set(this, _internalOperationPending, true);
833
939
  const dependentCells = this.engine.setSheetContent(this.sheetId, sourceDataArray);
834
940
  this.indexSyncer.setupSyncEndpoint(this.engine, this.sheetId);
835
941
  this.renderDependentSheets(dependentCells);
836
942
  _class_private_field_set(this, _internalOperationPending, false);
837
- }
838
- } else {
839
- this.switchSheet(this.sheetName);
840
- }
841
- }
842
- function onModifyData(visualRow, visualColumn, valueHolder, ioMode) {
843
- if (ioMode !== 'get' || _class_private_field_get(this, _internalOperationPending) || this.sheetName === null || !this.engine.doesSheetExist(this.sheetName)) {
844
- return;
845
- }
846
- if (visualRow === null || visualColumn === null) {
847
- return;
848
- }
849
- const cellType = this.getCellType(visualRow, visualColumn);
850
- if (cellType === 'VALUE' || cellType === 'EMPTY') {
851
- valueHolder.value = unescapeFormulaExpression(valueHolder.value);
852
- return;
853
- }
854
- const address = {
855
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
856
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
857
- sheet: this.sheetId
858
- };
859
- let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel like date).
860
- const cellMeta = this.hot.getCellMeta(visualRow, visualColumn, {
861
- skipMetaExtension: true
862
- });
863
- if (cellMeta.type === 'date' && isNumeric(cellValue)) {
864
- cellValue = getDateFromExcelDate(cellValue, cellMeta.dateFormat);
865
- }
866
- // If `cellValue` is an object it is expected to be an error
867
- valueHolder.value = typeof cellValue === 'object' && cellValue !== null ? cellValue.value : cellValue;
868
- }
869
- function onModifySourceData(row, columnOrProp, valueHolder, ioMode) {
870
- if (ioMode !== 'get' || _class_private_field_get(this, _internalOperationPending) || this.sheetName === null || !this.engine.doesSheetExist(this.sheetName)) {
871
- return;
872
- }
873
- const visualRow = this.hot.toVisualRow(row);
874
- const visualColumn = this.hot.propToCol(columnOrProp);
875
- if (visualRow === null || visualColumn === null) {
876
- return;
877
- }
878
- const cellType = this.getCellType(visualRow, visualColumn);
879
- if (cellType === 'VALUE' || cellType === 'EMPTY') {
880
- return;
881
- }
882
- const dimensions = this.engine.getSheetDimensions(this.engine.getSheetId(this.sheetName));
883
- // Don't actually change the source data if HyperFormula is not
884
- // initialized yet. This is done to allow the `afterLoadData` hook to
885
- // load the existing source data with `Handsontable#getSourceDataArray`
886
- // properly.
887
- if (dimensions.width === 0 && dimensions.height === 0) {
888
- return;
889
- }
890
- const address = {
891
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
892
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
893
- sheet: this.sheetId
894
- };
895
- valueHolder.value = this.engine.getCellSerialized(address);
896
- }
897
- function onAfterSetDataAtCell(changes, source) {
898
- if (isBlockedSource(source) || changes.length === 0) {
899
- return;
900
- }
901
- const outOfBoundsChanges = [];
902
- const changedCells = [];
903
- const dependentCells = this.engine.batch(()=>{
904
- changes.forEach(([visualRow, prop, , newValue])=>{
905
- const visualColumn = this.hot.propToCol(prop);
906
- const physicalRow = this.hot.toPhysicalRow(visualRow);
907
- const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
943
+ }), _class_private_field_set(this, _onAfterLoadData, (sourceData, initialLoad, source = '')=>{
944
+ if (source.includes(toUpperCaseFirst(PLUGIN_KEY))) {
945
+ return;
946
+ }
947
+ if (!this.engine) {
948
+ return;
949
+ }
950
+ const formulasSettings = this.hot.getSettings()[PLUGIN_KEY];
951
+ const settingsSheetName = isFormulasSettingsObject(formulasSettings) ? formulasSettings.sheetName : undefined;
952
+ const sheetName = setupSheet(this.engine, settingsSheetName);
953
+ _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, sheetName);
954
+ if (source === 'updateSettings') {
955
+ // For performance reasons, the initialization will be done in afterCellMetaReset hook
956
+ return;
957
+ }
958
+ if (!_class_private_field_get(this, _hotWasInitializedWithEmptyData)) {
959
+ const sourceDataArray = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this);
960
+ if (this.engine.isItPossibleToReplaceSheetContent(this.sheetId, sourceDataArray)) {
961
+ _class_private_field_set(this, _internalOperationPending, true);
962
+ const dependentCells = this.engine.setSheetContent(this.sheetId, sourceDataArray);
963
+ this.indexSyncer.setupSyncEndpoint(this.engine, this.sheetId);
964
+ this.renderDependentSheets(dependentCells);
965
+ _class_private_field_set(this, _internalOperationPending, false);
966
+ }
967
+ } else if (this.sheetName !== null) {
968
+ this.switchSheet(this.sheetName);
969
+ }
970
+ }), _class_private_field_set(this, _onModifyData, (visualRow, visualColumn, valueHolder, ioMode)=>{
971
+ if (ioMode !== 'get' || _class_private_field_get(this, _internalOperationPending) || this.sheetName === null || !this.engine?.doesSheetExist(this.sheetName)) {
972
+ return;
973
+ }
974
+ if (visualRow === null || visualColumn === null) {
975
+ return;
976
+ }
977
+ const cellType = this.getCellType(visualRow, visualColumn);
978
+ if (cellType === 'VALUE' || cellType === 'EMPTY') {
979
+ valueHolder.value = unescapeFormulaExpression(valueHolder.value);
980
+ return;
981
+ }
908
982
  const address = {
909
983
  row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
910
984
  col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
911
985
  sheet: this.sheetId
912
986
  };
913
- newValue = _class_private_method_get(this, _getValueGetterValue, getValueGetterValue1).call(this, physicalRow, physicalColumn, newValue);
914
- if (physicalRow !== null && physicalColumn !== null) {
915
- this.syncChangeWithEngine(visualRow, visualColumn, newValue);
916
- } else {
917
- outOfBoundsChanges.push([
918
- visualRow,
919
- visualColumn,
920
- newValue
987
+ let cellValue = this.engine.getCellValue(address); // Date as an integer (Excel like date).
988
+ const cellMeta = this.hot.getCellMeta(visualRow, visualColumn, {
989
+ skipMetaExtension: true
990
+ });
991
+ if (cellMeta.type === 'date' && isNumeric(cellValue)) {
992
+ cellValue = getDateFromExcelDate(cellValue);
993
+ } else if (cellMeta.type === 'time' && isNumeric(cellValue)) {
994
+ cellValue = getTimeFromHfTimeFraction(cellValue);
995
+ }
996
+ // If `cellValue` is an object it is expected to be an error
997
+ valueHolder.value = hasValueProperty(cellValue) ? cellValue.value : cellValue;
998
+ }), _class_private_field_set(this, _onModifySourceData, (row, columnOrProp, valueHolder, ioMode)=>{
999
+ if (ioMode !== 'get' || _class_private_field_get(this, _internalOperationPending) || this.sheetName === null || !this.engine?.doesSheetExist(this.sheetName)) {
1000
+ return;
1001
+ }
1002
+ const visualRow = this.hot.toVisualRow(row);
1003
+ const visualColumn = this.hot.propToCol(columnOrProp);
1004
+ if (visualRow === null || visualColumn === null) {
1005
+ return;
1006
+ }
1007
+ const cellType = this.getCellType(visualRow, visualColumn);
1008
+ if (cellType === 'VALUE' || cellType === 'EMPTY') {
1009
+ return;
1010
+ }
1011
+ const dimensions = this.engine.getSheetDimensions(this.engine.getSheetId(this.sheetName));
1012
+ // Don't actually change the source data if HyperFormula is not
1013
+ // initialized yet. This is done to allow the `afterLoadData` hook to
1014
+ // load the existing source data with `Handsontable#getSourceDataArray`
1015
+ // properly.
1016
+ if (dimensions.width === 0 && dimensions.height === 0) {
1017
+ return;
1018
+ }
1019
+ const address = {
1020
+ row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
1021
+ col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
1022
+ sheet: this.sheetId
1023
+ };
1024
+ valueHolder.value = this.engine.getCellSerialized(address);
1025
+ }), _class_private_field_set(this, _onAfterSetDataAtCell, (changes, source)=>{
1026
+ if (isBlockedSource(source)) {
1027
+ return;
1028
+ }
1029
+ // Skip engine sync when there are no changes (e.g. populateFromArray on readOnly cells).
1030
+ // Otherwise engine.batch() would push an empty undo step and undo would revert the wrong action (#dev-2136).
1031
+ if (!changes?.length) {
1032
+ return;
1033
+ }
1034
+ const outOfBoundsChanges = [];
1035
+ const changedCells = [];
1036
+ const dependentCells = this.engine.batch(()=>{
1037
+ changes.forEach(([visualRow, prop, , newValue])=>{
1038
+ if (typeof prop !== 'string' && typeof prop !== 'number') {
1039
+ return;
1040
+ }
1041
+ const visualColumn = this.hot.propToCol(prop);
1042
+ const physicalRow = this.hot.toPhysicalRow(visualRow);
1043
+ const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
1044
+ const address = {
1045
+ row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
1046
+ col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
1047
+ sheet: this.sheetId
1048
+ };
1049
+ newValue = _class_private_method_get(this, _getValueGetterValue, getValueGetterValue1).call(this, physicalRow, physicalColumn, newValue);
1050
+ if (physicalRow !== null && physicalColumn !== null) {
1051
+ this.syncChangeWithEngine(visualRow, visualColumn, newValue);
1052
+ } else {
1053
+ outOfBoundsChanges.push([
1054
+ visualRow,
1055
+ visualColumn,
1056
+ newValue
1057
+ ]);
1058
+ }
1059
+ changedCells.push({
1060
+ address
1061
+ });
1062
+ });
1063
+ });
1064
+ if (outOfBoundsChanges.length) {
1065
+ // Workaround for rows/columns being created two times (by HOT and the engine).
1066
+ // (unfortunately, this requires an extra re-render)
1067
+ this.hot.addHookOnce('afterChange', ()=>{
1068
+ const outOfBoundsDependentCells = this.engine.batch(()=>{
1069
+ outOfBoundsChanges.forEach(([row, column, newValue])=>{
1070
+ this.syncChangeWithEngine(row, column, newValue);
1071
+ });
1072
+ });
1073
+ this.renderDependentSheets(outOfBoundsDependentCells, true);
1074
+ });
1075
+ }
1076
+ this.renderDependentSheets(dependentCells);
1077
+ this.validateDependentCells(dependentCells, changedCells);
1078
+ }), _class_private_field_set(this, _onAfterSetSourceDataAtCell, (changes, source)=>{
1079
+ if (isBlockedSource(source)) {
1080
+ return;
1081
+ }
1082
+ const dependentCells = [];
1083
+ const changedCells = [];
1084
+ changes.forEach(([visualRow, prop, , newValue])=>{
1085
+ if (typeof prop !== 'string' && typeof prop !== 'number') {
1086
+ return;
1087
+ }
1088
+ const visualColumn = this.hot.propToCol(prop);
1089
+ if (!isNumeric(visualColumn)) {
1090
+ return;
1091
+ }
1092
+ const address = {
1093
+ row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
1094
+ col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
1095
+ sheet: this.sheetId
1096
+ };
1097
+ if (!this.engine?.isItPossibleToSetCellContents(address)) {
1098
+ warn(`Not possible to set source cell data at ${JSON.stringify(address)}`);
1099
+ return;
1100
+ }
1101
+ newValue = normalizeValueForFormulaEngine(newValue);
1102
+ changedCells.push({
1103
+ address
1104
+ });
1105
+ dependentCells.push(...this.engine.setCellContents(address, newValue));
1106
+ });
1107
+ this.renderDependentSheets(dependentCells);
1108
+ this.validateDependentCells(dependentCells, changedCells);
1109
+ }), _class_private_field_set(this, _onBeforeCreateRow, (visualRow, amount)=>{
1110
+ let hfRowIndex = this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow);
1111
+ if (visualRow >= this.hot.countRows()) {
1112
+ hfRowIndex = visualRow; // Row beyond the table boundaries.
1113
+ }
1114
+ if (this.sheetId === null || !this.engine?.doesSheetExist(this.sheetName) || !this.engine?.isItPossibleToAddRows(this.sheetId, [
1115
+ hfRowIndex,
1116
+ amount
1117
+ ])) {
1118
+ return false;
1119
+ }
1120
+ }), _class_private_field_set(this, _onBeforeCreateCol, (visualColumn, amount)=>{
1121
+ let hfColumnIndex = this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn);
1122
+ if (visualColumn >= this.hot.countCols()) {
1123
+ hfColumnIndex = visualColumn; // Column beyond the table boundaries.
1124
+ }
1125
+ if (this.sheetId === null || !this.engine?.doesSheetExist(this.sheetName) || !this.engine?.isItPossibleToAddColumns(this.sheetId, [
1126
+ hfColumnIndex,
1127
+ amount
1128
+ ])) {
1129
+ return false;
1130
+ }
1131
+ }), _class_private_field_set(this, _onBeforeRemoveRow, (row, amount, physicalRows)=>{
1132
+ const hfRows = this.rowAxisSyncer.setRemovedHfIndexes(physicalRows);
1133
+ const possible = hfRows.every((hfRow)=>{
1134
+ return this.engine?.isItPossibleToRemoveRows(this.sheetId, [
1135
+ hfRow,
1136
+ 1
921
1137
  ]);
1138
+ });
1139
+ return possible === false ? false : undefined;
1140
+ }), _class_private_field_set(this, _onBeforeRemoveCol, (col, amount, physicalColumns)=>{
1141
+ const hfColumns = this.columnAxisSyncer.setRemovedHfIndexes(physicalColumns);
1142
+ const possible = hfColumns.every((hfColumn)=>{
1143
+ return this.engine?.isItPossibleToRemoveColumns(this.sheetId, [
1144
+ hfColumn,
1145
+ 1
1146
+ ]);
1147
+ });
1148
+ return possible === false ? false : undefined;
1149
+ }), _class_private_field_set(this, _onAfterCreateRow, (visualRow, amount, source)=>{
1150
+ if (isBlockedSource(source)) {
1151
+ return;
1152
+ }
1153
+ const changes = this.engine.addRows(this.sheetId, [
1154
+ this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
1155
+ amount
1156
+ ]);
1157
+ this.renderDependentSheets(changes);
1158
+ }), _class_private_field_set(this, _onAfterCreateCol, (visualColumn, amount, source)=>{
1159
+ if (isBlockedSource(source)) {
1160
+ return;
1161
+ }
1162
+ const changes = this.engine.addColumns(this.sheetId, [
1163
+ this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
1164
+ amount
1165
+ ]);
1166
+ this.renderDependentSheets(changes);
1167
+ }), _class_private_field_set(this, _onAfterRemoveRow, (row, amount, physicalRows, source)=>{
1168
+ if (isBlockedSource(source)) {
1169
+ return;
922
1170
  }
923
- changedCells.push({
924
- address
1171
+ const descendingHfRows = this.rowAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
1172
+ const changes = this.engine.batch(()=>{
1173
+ descendingHfRows.forEach((hfRow)=>{
1174
+ this.engine.removeRows(this.sheetId, [
1175
+ hfRow,
1176
+ 1
1177
+ ]);
1178
+ });
925
1179
  });
926
- });
927
- });
928
- if (outOfBoundsChanges.length) {
929
- // Workaround for rows/columns being created two times (by HOT and the engine).
930
- // (unfortunately, this requires an extra re-render)
931
- this.hot.addHookOnce('afterChange', ()=>{
932
- const outOfBoundsDependentCells = this.engine.batch(()=>{
933
- outOfBoundsChanges.forEach(([row, column, newValue])=>{
934
- this.syncChangeWithEngine(row, column, newValue);
1180
+ this.renderDependentSheets(changes);
1181
+ }), _class_private_field_set(this, _onAfterRemoveCol, (col, amount, physicalColumns, source)=>{
1182
+ if (isBlockedSource(source)) {
1183
+ return;
1184
+ }
1185
+ const descendingHfColumns = this.columnAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
1186
+ const changes = this.engine.batch(()=>{
1187
+ descendingHfColumns.forEach((hfColumn)=>{
1188
+ this.engine.removeColumns(this.sheetId, [
1189
+ hfColumn,
1190
+ 1
1191
+ ]);
1192
+ });
1193
+ });
1194
+ this.renderDependentSheets(changes);
1195
+ }), _class_private_field_set(this, _onAfterDetachChild, (parent, element, finalElementRowIndex)=>{
1196
+ _class_private_field_set(this, _internalOperationPending, true);
1197
+ const children = element.__children;
1198
+ const childrenCount = Array.isArray(children) ? children.length : 0;
1199
+ const rowsData = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this, finalElementRowIndex, 0, finalElementRowIndex + childrenCount, this.hot.countSourceCols());
1200
+ _class_private_field_set(this, _internalOperationPending, false);
1201
+ rowsData.forEach((row, relativeRowIndex)=>{
1202
+ row.forEach((value, colIndex)=>{
1203
+ this.engine?.setCellContents({
1204
+ col: colIndex,
1205
+ row: finalElementRowIndex + relativeRowIndex,
1206
+ sheet: this.sheetId
1207
+ }, [
1208
+ [
1209
+ value
1210
+ ]
1211
+ ]);
935
1212
  });
936
1213
  });
937
- this.renderDependentSheets(outOfBoundsDependentCells, true);
938
- });
939
- }
940
- this.renderDependentSheets(dependentCells);
941
- this.validateDependentCells(dependentCells, changedCells);
942
- }
943
- function onAfterSetSourceDataAtCell(changes, source) {
944
- if (isBlockedSource(source)) {
945
- return;
946
- }
947
- const dependentCells = [];
948
- const changedCells = [];
949
- changes.forEach(([visualRow, prop, , newValue])=>{
950
- const visualColumn = this.hot.propToCol(prop);
951
- if (!isNumeric(visualColumn)) {
952
- return;
953
- }
954
- const address = {
955
- row: this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
956
- col: this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
957
- sheet: this.sheetId
958
- };
959
- if (!this.engine.isItPossibleToSetCellContents(address)) {
960
- warn(`Not possible to set source cell data at ${JSON.stringify(address)}`);
961
- return;
962
- }
963
- newValue = normalizeValueForFormulaEngine(newValue);
964
- changedCells.push({
965
- address
966
1214
  });
967
- dependentCells.push(...this.engine.setCellContents(address, newValue));
968
- });
969
- this.renderDependentSheets(dependentCells);
970
- this.validateDependentCells(dependentCells, changedCells);
971
- }
972
- function onBeforeCreateRow(visualRow, amount) {
973
- let hfRowIndex = this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow);
974
- if (visualRow >= this.hot.countRows()) {
975
- hfRowIndex = visualRow; // Row beyond the table boundaries.
976
- }
977
- if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddRows(this.sheetId, [
978
- hfRowIndex,
979
- amount
980
- ])) {
981
- return false;
982
1215
  }
983
1216
  }
984
- function onBeforeCreateCol(visualColumn, amount) {
985
- let hfColumnIndex = this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn);
986
- if (visualColumn >= this.hot.countCols()) {
987
- hfColumnIndex = visualColumn; // Column beyond the table boundaries.
1217
+ function exportChangeValue(change) {
1218
+ if (!change.address || change.address.sheet !== this.sheetId || typeof change.newValue !== 'number') {
1219
+ return change;
988
1220
  }
989
- if (this.sheetId === null || !this.engine.doesSheetExist(this.sheetName) || !this.engine.isItPossibleToAddColumns(this.sheetId, [
990
- hfColumnIndex,
991
- amount
992
- ])) {
993
- return false;
1221
+ const visualRow = this.rowAxisSyncer.getVisualIndexFromHfIndex(change.address.row);
1222
+ const visualColumn = this.columnAxisSyncer.getVisualIndexFromHfIndex(change.address.col);
1223
+ if (visualRow < 0 || visualColumn < 0) {
1224
+ return change;
994
1225
  }
995
- }
996
- function onBeforeRemoveRow(row, amount, physicalRows) {
997
- const hfRows = this.rowAxisSyncer.setRemovedHfIndexes(physicalRows);
998
- const possible = hfRows.every((hfRow)=>{
999
- return this.engine.isItPossibleToRemoveRows(this.sheetId, [
1000
- hfRow,
1001
- 1
1002
- ]);
1003
- });
1004
- return possible === false ? false : undefined;
1005
- }
1006
- function onBeforeRemoveCol(col, amount, physicalColumns) {
1007
- const hfColumns = this.columnAxisSyncer.setRemovedHfIndexes(physicalColumns);
1008
- const possible = hfColumns.every((hfColumn)=>{
1009
- return this.engine.isItPossibleToRemoveColumns(this.sheetId, [
1010
- hfColumn,
1011
- 1
1012
- ]);
1226
+ const cellMeta = this.hot.getCellMeta(visualRow, visualColumn, {
1227
+ skipMetaExtension: true
1013
1228
  });
1014
- return possible === false ? false : undefined;
1015
- }
1016
- function onAfterCreateRow(visualRow, amount, source) {
1017
- if (isBlockedSource(source)) {
1018
- return;
1019
- }
1020
- const changes = this.engine.addRows(this.sheetId, [
1021
- this.rowAxisSyncer.getHfIndexFromVisualIndex(visualRow),
1022
- amount
1023
- ]);
1024
- this.renderDependentSheets(changes);
1025
- }
1026
- function onAfterCreateCol(visualColumn, amount, source) {
1027
- if (isBlockedSource(source)) {
1028
- return;
1229
+ let newValue;
1230
+ if (cellMeta.type === 'date') {
1231
+ newValue = getDateFromExcelDate(change.newValue);
1232
+ } else if (cellMeta.type === 'time') {
1233
+ newValue = getTimeFromHfTimeFraction(change.newValue);
1234
+ } else {
1235
+ return change;
1029
1236
  }
1030
- const changes = this.engine.addColumns(this.sheetId, [
1031
- this.columnAxisSyncer.getHfIndexFromVisualIndex(visualColumn),
1032
- amount
1033
- ]);
1034
- this.renderDependentSheets(changes);
1237
+ const clone = Object.assign(Object.create(Object.getPrototypeOf(change)), change);
1238
+ clone.newValue = newValue;
1239
+ return clone;
1035
1240
  }
1036
- function onAfterRemoveRow(row, amount, physicalRows, source) {
1037
- if (isBlockedSource(source)) {
1038
- return;
1039
- }
1040
- const descendingHfRows = this.rowAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
1041
- const changes = this.engine.batch(()=>{
1042
- descendingHfRows.forEach((hfRow)=>{
1043
- this.engine.removeRows(this.sheetId, [
1044
- hfRow,
1045
- 1
1046
- ]);
1047
- });
1048
- });
1049
- this.renderDependentSheets(changes);
1241
+ function updateSheetNameAndSheetId(sheetName) {
1242
+ this.sheetName = sheetName;
1243
+ this.sheetId = this.engine?.getSheetId(this.sheetName) ?? null;
1050
1244
  }
1051
- function onAfterRemoveCol(col, amount, physicalColumns, source) {
1052
- if (isBlockedSource(source)) {
1053
- return;
1245
+ function getValueGetterValue1(row, column, value) {
1246
+ if (isObject(value) && value !== null) {
1247
+ const visualRow = this.hot.toVisualRow(row);
1248
+ const visualColumn = this.hot.toVisualColumn(column);
1249
+ const cellMeta = this.hot.getCellMeta(visualRow, visualColumn);
1250
+ const valueGetter = cellMeta.valueGetter;
1251
+ value = getValueGetterValue(value, this.hot.getCellMeta(visualRow, visualColumn));
1252
+ if (value !== null && value !== undefined) {
1253
+ value = Object(value).toString();
1254
+ }
1054
1255
  }
1055
- const descendingHfColumns = this.columnAxisSyncer.getRemovedHfIndexes().sort((a, b)=>b - a); // sort numeric values descending
1056
- const changes = this.engine.batch(()=>{
1057
- descendingHfColumns.forEach((hfColumn)=>{
1058
- this.engine.removeColumns(this.sheetId, [
1059
- hfColumn,
1060
- 1
1061
- ]);
1062
- });
1063
- });
1064
- this.renderDependentSheets(changes);
1256
+ return normalizeValueForFormulaEngine(value);
1065
1257
  }
1066
- function onAfterDetachChild(parent, element, finalElementRowIndex) {
1067
- _class_private_field_set(this, _internalOperationPending, true);
1068
- const rowsData = _class_private_method_get(this, _getProcessedSourceDataArray, getProcessedSourceDataArray).call(this, finalElementRowIndex, 0, finalElementRowIndex + (element.__children?.length || 0), this.hot.countSourceCols());
1069
- _class_private_field_set(this, _internalOperationPending, false);
1070
- rowsData.forEach((row, relativeRowIndex)=>{
1071
- row.forEach((value, colIndex)=>{
1072
- this.engine.setCellContents({
1073
- col: colIndex,
1074
- row: finalElementRowIndex + relativeRowIndex,
1075
- sheet: this.sheetId
1076
- }, [
1077
- [
1078
- value
1079
- ]
1080
- ]);
1258
+ function getProcessedSourceDataArray(row, column, row2, column2) {
1259
+ const dataArray = this.hot.getSourceDataArray(row, column, row2, column2);
1260
+ const visibleColumnCount = this.hot.countCols();
1261
+ const physicalColumnCount = this.hot.countSourceCols();
1262
+ const isAoAWithSkippedColumns = visibleColumnCount < physicalColumnCount && isArrayOfArrays(this.hot.getSourceData());
1263
+ if (!isAoAWithSkippedColumns) {
1264
+ return dataArray.map((rowObject, rowIndex)=>{
1265
+ const rowArray = Array.isArray(rowObject) ? rowObject : [];
1266
+ return rowArray.map((value, columnIndex)=>{
1267
+ return _class_private_method_get(this, _getValueGetterValue, getValueGetterValue1).call(this, rowIndex, columnIndex, value);
1268
+ });
1081
1269
  });
1270
+ }
1271
+ // Array-of-objects data is already projected to visible columns by
1272
+ // `dataSource.getAtRow`. Array-of-arrays data returns the full source row,
1273
+ // so when `columns` skips physical indexes the data fed to HF misaligns
1274
+ // with the axis-syncer's visual->HF mapping (issue #10021). Build a row
1275
+ // containing only visible columns so HF cell coordinates stay in sync.
1276
+ const columnOffset = column ?? 0;
1277
+ return dataArray.map((rowArray, rowIndex)=>{
1278
+ const projected = [];
1279
+ for(let visualCol = 0; visualCol < visibleColumnCount; visualCol++){
1280
+ const physicalCol = this.hot.colToProp(visualCol);
1281
+ if (typeof physicalCol !== 'number') {
1282
+ continue;
1283
+ }
1284
+ const arrayIndex = physicalCol - columnOffset;
1285
+ if (arrayIndex < 0 || arrayIndex >= rowArray.length) {
1286
+ continue;
1287
+ }
1288
+ projected.push(_class_private_method_get(this, _getValueGetterValue, getValueGetterValue1).call(this, rowIndex, visualCol, rowArray[arrayIndex]));
1289
+ }
1290
+ return projected;
1082
1291
  });
1083
1292
  }
1084
- function onEngineValuesUpdated(changes) {
1085
- this.hot.runHooks('afterFormulasValuesUpdate', changes);
1086
- }
1087
- function onEngineNamedExpressionsAdded(namedExpressionName, changes) {
1088
- this.hot.runHooks('afterNamedExpressionAdded', namedExpressionName, changes);
1089
- }
1090
- function onEngineNamedExpressionsRemoved(namedExpressionName, changes) {
1091
- this.hot.runHooks('afterNamedExpressionRemoved', namedExpressionName, changes);
1092
- }
1093
- function onEngineSheetAdded(addedSheetDisplayName) {
1094
- this.hot.runHooks('afterSheetAdded', addedSheetDisplayName);
1095
- }
1096
- function onEngineSheetRenamed(oldDisplayName, newDisplayName) {
1097
- _class_private_method_get(this, _updateSheetNameAndSheetId, updateSheetNameAndSheetId).call(this, newDisplayName);
1098
- this.hot.runHooks('afterSheetRenamed', oldDisplayName, newDisplayName);
1099
- }
1100
- function onEngineSheetRemoved(removedSheetDisplayName, changes) {
1101
- this.hot.runHooks('afterSheetRemoved', removedSheetDisplayName, changes);
1102
- }