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