handsontable 0.0.0-next-c2596d4-20240705 → 0.0.0-next-2cb2d27-20240709

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


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

Files changed (427) hide show
  1. package/3rdparty/walkontable/src/calculator/renderAllColumns.js +1 -1
  2. package/3rdparty/walkontable/src/calculator/renderAllColumns.mjs +1 -1
  3. package/3rdparty/walkontable/src/calculator/renderAllRows.js +1 -1
  4. package/3rdparty/walkontable/src/calculator/renderAllRows.mjs +1 -1
  5. package/3rdparty/walkontable/src/calculator/viewportColumns.js +3 -3
  6. package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +3 -3
  7. package/3rdparty/walkontable/src/calculator/viewportRows.js +3 -3
  8. package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -3
  9. package/3rdparty/walkontable/src/cell/coords.js +3 -3
  10. package/3rdparty/walkontable/src/cell/coords.mjs +3 -3
  11. package/3rdparty/walkontable/src/cell/range.js +4 -4
  12. package/3rdparty/walkontable/src/cell/range.mjs +3 -3
  13. package/3rdparty/walkontable/src/core/_base.js +2 -2
  14. package/3rdparty/walkontable/src/core/_base.mjs +1 -1
  15. package/3rdparty/walkontable/src/core/clone.js +2 -2
  16. package/3rdparty/walkontable/src/core/clone.mjs +1 -1
  17. package/3rdparty/walkontable/src/core/core.js +1 -1
  18. package/3rdparty/walkontable/src/event.js +2 -2
  19. package/3rdparty/walkontable/src/event.mjs +2 -2
  20. package/3rdparty/walkontable/src/facade/core.js +1 -1
  21. package/3rdparty/walkontable/src/filter/column.js +1 -1
  22. package/3rdparty/walkontable/src/filter/column.mjs +1 -1
  23. package/3rdparty/walkontable/src/filter/row.js +1 -1
  24. package/3rdparty/walkontable/src/filter/row.mjs +1 -1
  25. package/3rdparty/walkontable/src/index.js +1 -1
  26. package/3rdparty/walkontable/src/overlay/_base.js +2 -2
  27. package/3rdparty/walkontable/src/overlay/_base.mjs +1 -1
  28. package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
  29. package/3rdparty/walkontable/src/overlay/bottom.mjs +1 -1
  30. package/3rdparty/walkontable/src/overlay/bottomInlineStartCorner.js +1 -1
  31. package/3rdparty/walkontable/src/overlay/inlineStart.js +1 -1
  32. package/3rdparty/walkontable/src/overlay/top.js +2 -2
  33. package/3rdparty/walkontable/src/overlay/top.mjs +1 -1
  34. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +2 -2
  35. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +1 -1
  36. package/3rdparty/walkontable/src/overlays.js +3 -3
  37. package/3rdparty/walkontable/src/overlays.mjs +3 -3
  38. package/3rdparty/walkontable/src/renderer/_base.js +2 -2
  39. package/3rdparty/walkontable/src/renderer/_base.mjs +1 -1
  40. package/3rdparty/walkontable/src/renderer/cells.js +2 -2
  41. package/3rdparty/walkontable/src/renderer/cells.mjs +1 -1
  42. package/3rdparty/walkontable/src/renderer/colGroup.js +1 -1
  43. package/3rdparty/walkontable/src/renderer/columnHeaders.js +1 -1
  44. package/3rdparty/walkontable/src/renderer/index.js +1 -1
  45. package/3rdparty/walkontable/src/renderer/rowHeaders.js +2 -2
  46. package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +1 -1
  47. package/3rdparty/walkontable/src/renderer/rows.js +2 -2
  48. package/3rdparty/walkontable/src/renderer/rows.mjs +1 -1
  49. package/3rdparty/walkontable/src/renderer/table.js +1 -1
  50. package/3rdparty/walkontable/src/renderer/table.mjs +1 -1
  51. package/3rdparty/walkontable/src/scroll.js +3 -3
  52. package/3rdparty/walkontable/src/scroll.mjs +3 -3
  53. package/3rdparty/walkontable/src/selection/index.js +1 -1
  54. package/3rdparty/walkontable/src/selection/manager.js +4 -4
  55. package/3rdparty/walkontable/src/selection/manager.mjs +3 -3
  56. package/3rdparty/walkontable/src/selection/scanner.js +3 -3
  57. package/3rdparty/walkontable/src/selection/scanner.mjs +3 -3
  58. package/3rdparty/walkontable/src/selection/selection.js +1 -1
  59. package/3rdparty/walkontable/src/settings.js +1 -1
  60. package/3rdparty/walkontable/src/settings.mjs +1 -1
  61. package/3rdparty/walkontable/src/table/bottom.js +1 -1
  62. package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +1 -1
  63. package/3rdparty/walkontable/src/table/inlineStart.js +1 -1
  64. package/3rdparty/walkontable/src/table/master.js +1 -1
  65. package/3rdparty/walkontable/src/table/top.js +1 -1
  66. package/3rdparty/walkontable/src/table/topInlineStartCorner.js +1 -1
  67. package/3rdparty/walkontable/src/table.js +2 -2
  68. package/3rdparty/walkontable/src/table.mjs +1 -1
  69. package/3rdparty/walkontable/src/utils/column.js +1 -1
  70. package/3rdparty/walkontable/src/utils/column.mjs +1 -1
  71. package/3rdparty/walkontable/src/utils/columnStretching.js +3 -3
  72. package/3rdparty/walkontable/src/utils/columnStretching.mjs +3 -3
  73. package/3rdparty/walkontable/src/utils/nodesPool.js +1 -1
  74. package/3rdparty/walkontable/src/utils/nodesPool.mjs +1 -1
  75. package/3rdparty/walkontable/src/utils/orderView/index.js +1 -1
  76. package/3rdparty/walkontable/src/utils/orderView/sharedView.js +1 -1
  77. package/3rdparty/walkontable/src/utils/orderView/view.js +2 -2
  78. package/3rdparty/walkontable/src/utils/orderView/view.mjs +1 -1
  79. package/3rdparty/walkontable/src/utils/orderView/viewSize.js +1 -1
  80. package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +1 -1
  81. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +2 -2
  82. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +1 -1
  83. package/3rdparty/walkontable/src/utils/row.js +1 -1
  84. package/3rdparty/walkontable/src/utils/row.mjs +1 -1
  85. package/base.js +3 -3
  86. package/base.mjs +2 -2
  87. package/cellTypes/registry.js +1 -1
  88. package/core.d.ts +2 -0
  89. package/core.js +11 -1
  90. package/core.mjs +10 -0
  91. package/dataMap/dataMap.js +1 -1
  92. package/dataMap/dataMap.mjs +1 -1
  93. package/dataMap/dataSource.js +1 -1
  94. package/dataMap/dataSource.mjs +1 -1
  95. package/dataMap/index.js +1 -1
  96. package/dataMap/metaManager/index.js +1 -1
  97. package/dataMap/metaManager/lazyFactoryMap.js +1 -1
  98. package/dataMap/metaManager/lazyFactoryMap.mjs +1 -1
  99. package/dataMap/metaManager/metaLayers/cellMeta.js +2 -2
  100. package/dataMap/metaManager/metaLayers/cellMeta.mjs +1 -1
  101. package/dataMap/metaManager/metaLayers/columnMeta.js +2 -2
  102. package/dataMap/metaManager/metaLayers/columnMeta.mjs +1 -1
  103. package/dataMap/metaManager/metaLayers/globalMeta.js +2 -2
  104. package/dataMap/metaManager/metaLayers/globalMeta.mjs +1 -1
  105. package/dataMap/metaManager/metaLayers/tableMeta.js +1 -1
  106. package/dataMap/metaManager/metaLayers/tableMeta.mjs +1 -1
  107. package/dataMap/metaManager/metaSchema.js +25 -0
  108. package/dataMap/metaManager/metaSchema.mjs +25 -0
  109. package/dataMap/metaManager/mods/dynamicCellMeta.js +2 -2
  110. package/dataMap/metaManager/mods/dynamicCellMeta.mjs +1 -1
  111. package/dataMap/metaManager/mods/extendMetaProperties.js +3 -3
  112. package/dataMap/metaManager/mods/extendMetaProperties.mjs +3 -3
  113. package/dataMap/replaceData.js +1 -1
  114. package/dist/handsontable.css +7 -5
  115. package/dist/handsontable.full.css +7 -5
  116. package/dist/handsontable.full.js +566 -486
  117. package/dist/handsontable.full.min.css +3 -3
  118. package/dist/handsontable.full.min.js +15 -15
  119. package/dist/handsontable.js +562 -429
  120. package/dist/handsontable.min.css +3 -3
  121. package/dist/handsontable.min.js +14 -14
  122. package/dist/languages/all.js +3 -3
  123. package/dist/languages/ar-AR.js +3 -3
  124. package/dist/languages/cs-CZ.js +3 -3
  125. package/dist/languages/de-CH.js +3 -3
  126. package/dist/languages/de-DE.js +3 -3
  127. package/dist/languages/en-US.js +3 -3
  128. package/dist/languages/es-MX.js +3 -3
  129. package/dist/languages/fr-FR.js +3 -3
  130. package/dist/languages/hr-HR.js +3 -3
  131. package/dist/languages/it-IT.js +3 -3
  132. package/dist/languages/ja-JP.js +3 -3
  133. package/dist/languages/ko-KR.js +3 -3
  134. package/dist/languages/lv-LV.js +3 -3
  135. package/dist/languages/nb-NO.js +3 -3
  136. package/dist/languages/nl-NL.js +3 -3
  137. package/dist/languages/pl-PL.js +3 -3
  138. package/dist/languages/pt-BR.js +3 -3
  139. package/dist/languages/ru-RU.js +3 -3
  140. package/dist/languages/sr-SP.js +3 -3
  141. package/dist/languages/zh-CN.js +3 -3
  142. package/dist/languages/zh-TW.js +3 -3
  143. package/editorManager.js +4 -4
  144. package/editorManager.mjs +3 -3
  145. package/editors/autocompleteEditor/autocompleteEditor.js +3 -3
  146. package/editors/autocompleteEditor/autocompleteEditor.mjs +3 -3
  147. package/editors/baseEditor/baseEditor.js +2 -2
  148. package/editors/baseEditor/baseEditor.mjs +1 -1
  149. package/editors/dateEditor/dateEditor.js +2 -2
  150. package/editors/dateEditor/dateEditor.mjs +1 -1
  151. package/editors/dropdownEditor/dropdownEditor.js +1 -1
  152. package/editors/registry.js +1 -1
  153. package/editors/textEditor/textEditor.js +2 -2
  154. package/editors/textEditor/textEditor.mjs +1 -1
  155. package/eventManager.js +1 -1
  156. package/eventManager.mjs +1 -1
  157. package/focusManager.js +3 -3
  158. package/focusManager.mjs +3 -3
  159. package/helpers/mixed.js +2 -2
  160. package/helpers/mixed.mjs +1 -1
  161. package/helpers/string.js +1 -1
  162. package/i18n/languages/index.js +1 -1
  163. package/i18n/phraseFormatters/index.js +1 -1
  164. package/i18n/registry.js +1 -1
  165. package/index.js +1 -1
  166. package/languages/all.js +3 -3
  167. package/languages/ar-AR.js +3 -3
  168. package/languages/cs-CZ.js +3 -3
  169. package/languages/de-CH.js +3 -3
  170. package/languages/de-DE.js +3 -3
  171. package/languages/en-US.js +3 -3
  172. package/languages/es-MX.js +3 -3
  173. package/languages/fr-FR.js +3 -3
  174. package/languages/hr-HR.js +3 -3
  175. package/languages/index.js +3 -3
  176. package/languages/it-IT.js +3 -3
  177. package/languages/ja-JP.js +3 -3
  178. package/languages/ko-KR.js +3 -3
  179. package/languages/lv-LV.js +3 -3
  180. package/languages/nb-NO.js +3 -3
  181. package/languages/nl-NL.js +3 -3
  182. package/languages/pl-PL.js +3 -3
  183. package/languages/pt-BR.js +3 -3
  184. package/languages/ru-RU.js +3 -3
  185. package/languages/sr-SP.js +3 -3
  186. package/languages/zh-CN.js +3 -3
  187. package/languages/zh-TW.js +3 -3
  188. package/package.json +1 -2
  189. package/pluginHooks.js +1 -1
  190. package/pluginHooks.mjs +1 -1
  191. package/plugins/autoColumnSize/autoColumnSize.d.ts +1 -1
  192. package/plugins/autoColumnSize/autoColumnSize.js +123 -123
  193. package/plugins/autoColumnSize/autoColumnSize.mjs +122 -122
  194. package/plugins/autoRowSize/autoRowSize.d.ts +2 -1
  195. package/plugins/autoRowSize/autoRowSize.js +162 -100
  196. package/plugins/autoRowSize/autoRowSize.mjs +161 -99
  197. package/plugins/autofill/autofill.js +4 -4
  198. package/plugins/autofill/autofill.mjs +3 -3
  199. package/plugins/base/base.js +5 -5
  200. package/plugins/base/base.mjs +4 -4
  201. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +4 -4
  202. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.mjs +3 -3
  203. package/plugins/collapsibleColumns/collapsibleColumns.js +4 -4
  204. package/plugins/collapsibleColumns/collapsibleColumns.mjs +4 -4
  205. package/plugins/columnSorting/columnSorting.js +4 -4
  206. package/plugins/columnSorting/columnSorting.mjs +3 -3
  207. package/plugins/columnSorting/columnStatesManager.js +1 -1
  208. package/plugins/columnSorting/columnStatesManager.mjs +1 -1
  209. package/plugins/columnSorting/sortService/registry.js +1 -1
  210. package/plugins/columnSorting/utils.js +1 -1
  211. package/plugins/columnSummary/columnSummary.js +4 -4
  212. package/plugins/columnSummary/columnSummary.mjs +3 -3
  213. package/plugins/columnSummary/endpoints.js +1 -1
  214. package/plugins/columnSummary/endpoints.mjs +1 -1
  215. package/plugins/comments/commentEditor.js +3 -3
  216. package/plugins/comments/commentEditor.mjs +2 -2
  217. package/plugins/comments/comments.js +5 -5
  218. package/plugins/comments/comments.mjs +4 -4
  219. package/plugins/comments/displaySwitch.js +2 -2
  220. package/plugins/comments/displaySwitch.mjs +1 -1
  221. package/plugins/comments/editorResizeObserver.js +4 -4
  222. package/plugins/comments/editorResizeObserver.mjs +3 -3
  223. package/plugins/contextMenu/commandExecutor.js +1 -1
  224. package/plugins/contextMenu/commandExecutor.mjs +1 -1
  225. package/plugins/contextMenu/contextMenu.js +4 -4
  226. package/plugins/contextMenu/contextMenu.mjs +3 -3
  227. package/plugins/contextMenu/itemsFactory.js +1 -1
  228. package/plugins/contextMenu/itemsFactory.mjs +1 -1
  229. package/plugins/contextMenu/menu/cursor.js +1 -1
  230. package/plugins/contextMenu/menu/cursor.mjs +1 -1
  231. package/plugins/contextMenu/menu/menu.js +4 -4
  232. package/plugins/contextMenu/menu/menu.mjs +3 -3
  233. package/plugins/contextMenu/menu/positioner.js +2 -2
  234. package/plugins/contextMenu/menu/positioner.mjs +2 -2
  235. package/plugins/copyPaste/copyPaste.js +5 -5
  236. package/plugins/copyPaste/copyPaste.mjs +4 -4
  237. package/plugins/copyPaste/copyableRanges.js +3 -3
  238. package/plugins/copyPaste/copyableRanges.mjs +3 -3
  239. package/plugins/copyPaste/pasteEvent.js +1 -1
  240. package/plugins/customBorders/contextMenuItem/index.js +1 -1
  241. package/plugins/customBorders/customBorders.js +3 -3
  242. package/plugins/customBorders/customBorders.mjs +3 -3
  243. package/plugins/dragToScroll/dragToScroll.js +3 -3
  244. package/plugins/dragToScroll/dragToScroll.mjs +3 -3
  245. package/plugins/dropdownMenu/dropdownMenu.js +5 -5
  246. package/plugins/dropdownMenu/dropdownMenu.mjs +4 -4
  247. package/plugins/exportFile/dataProvider.js +1 -1
  248. package/plugins/exportFile/dataProvider.mjs +1 -1
  249. package/plugins/exportFile/exportFile.js +1 -1
  250. package/plugins/exportFile/typeFactory.js +1 -1
  251. package/plugins/exportFile/types/_base.js +1 -1
  252. package/plugins/exportFile/types/_base.mjs +1 -1
  253. package/plugins/exportFile/types/csv.js +1 -1
  254. package/plugins/filters/component/_base.js +2 -2
  255. package/plugins/filters/component/_base.mjs +1 -1
  256. package/plugins/filters/component/actionBar.js +3 -3
  257. package/plugins/filters/component/actionBar.mjs +3 -3
  258. package/plugins/filters/component/condition.js +3 -3
  259. package/plugins/filters/component/condition.mjs +3 -3
  260. package/plugins/filters/component/operators.js +3 -3
  261. package/plugins/filters/component/operators.mjs +3 -3
  262. package/plugins/filters/component/value.js +3 -3
  263. package/plugins/filters/component/value.mjs +3 -3
  264. package/plugins/filters/condition/date/after.js +1 -1
  265. package/plugins/filters/condition/date/before.js +1 -1
  266. package/plugins/filters/condition/date/today.js +1 -1
  267. package/plugins/filters/condition/date/tomorrow.js +1 -1
  268. package/plugins/filters/condition/date/yesterday.js +1 -1
  269. package/plugins/filters/conditionCollection.js +2 -2
  270. package/plugins/filters/conditionCollection.mjs +1 -1
  271. package/plugins/filters/conditionUpdateObserver.js +4 -4
  272. package/plugins/filters/conditionUpdateObserver.mjs +3 -3
  273. package/plugins/filters/dataFilter.js +1 -1
  274. package/plugins/filters/dataFilter.mjs +1 -1
  275. package/plugins/filters/filters.js +5 -5
  276. package/plugins/filters/filters.mjs +4 -4
  277. package/plugins/filters/ui/_base.js +2 -2
  278. package/plugins/filters/ui/_base.mjs +1 -1
  279. package/plugins/filters/ui/input.js +3 -3
  280. package/plugins/filters/ui/input.mjs +3 -3
  281. package/plugins/filters/ui/link.js +2 -2
  282. package/plugins/filters/ui/link.mjs +2 -2
  283. package/plugins/filters/ui/multipleSelect.js +3 -3
  284. package/plugins/filters/ui/multipleSelect.mjs +3 -3
  285. package/plugins/filters/ui/radioInput.js +2 -2
  286. package/plugins/filters/ui/radioInput.mjs +2 -2
  287. package/plugins/filters/ui/select.js +3 -3
  288. package/plugins/filters/ui/select.mjs +3 -3
  289. package/plugins/formulas/engine/register.js +1 -1
  290. package/plugins/formulas/formulas.js +5 -5
  291. package/plugins/formulas/formulas.mjs +4 -4
  292. package/plugins/formulas/indexSyncer/axisSyncer.js +2 -2
  293. package/plugins/formulas/indexSyncer/axisSyncer.mjs +2 -2
  294. package/plugins/formulas/indexSyncer/index.js +3 -3
  295. package/plugins/formulas/indexSyncer/index.mjs +2 -2
  296. package/plugins/formulas/utils.js +1 -1
  297. package/plugins/hiddenColumns/hiddenColumns.js +4 -4
  298. package/plugins/hiddenColumns/hiddenColumns.mjs +3 -3
  299. package/plugins/hiddenRows/hiddenRows.js +4 -4
  300. package/plugins/hiddenRows/hiddenRows.mjs +3 -3
  301. package/plugins/manualColumnFreeze/manualColumnFreeze.js +4 -4
  302. package/plugins/manualColumnFreeze/manualColumnFreeze.mjs +3 -3
  303. package/plugins/manualColumnMove/manualColumnMove.js +4 -4
  304. package/plugins/manualColumnMove/manualColumnMove.mjs +3 -3
  305. package/plugins/manualColumnMove/ui/_base.js +1 -1
  306. package/plugins/manualColumnMove/ui/_base.mjs +1 -1
  307. package/plugins/manualColumnMove/ui/backlight.js +1 -1
  308. package/plugins/manualColumnMove/ui/guideline.js +1 -1
  309. package/plugins/manualColumnResize/manualColumnResize.js +3 -3
  310. package/plugins/manualColumnResize/manualColumnResize.mjs +3 -3
  311. package/plugins/manualRowMove/manualRowMove.js +4 -4
  312. package/plugins/manualRowMove/manualRowMove.mjs +3 -3
  313. package/plugins/manualRowMove/ui/_base.js +1 -1
  314. package/plugins/manualRowMove/ui/_base.mjs +1 -1
  315. package/plugins/manualRowMove/ui/backlight.js +1 -1
  316. package/plugins/manualRowMove/ui/guideline.js +1 -1
  317. package/plugins/manualRowResize/manualRowResize.js +3 -3
  318. package/plugins/manualRowResize/manualRowResize.mjs +3 -3
  319. package/plugins/mergeCells/calculations/autofill.js +1 -1
  320. package/plugins/mergeCells/calculations/autofill.mjs +1 -1
  321. package/plugins/mergeCells/calculations/selection.js +1 -1
  322. package/plugins/mergeCells/calculations/selection.mjs +1 -1
  323. package/plugins/mergeCells/cellCoords.js +3 -3
  324. package/plugins/mergeCells/cellCoords.mjs +3 -3
  325. package/plugins/mergeCells/cellsCollection.js +4 -4
  326. package/plugins/mergeCells/cellsCollection.mjs +3 -3
  327. package/plugins/mergeCells/contextMenuItem/toggleMerge.js +1 -1
  328. package/plugins/mergeCells/focusOrder.js +4 -4
  329. package/plugins/mergeCells/focusOrder.mjs +3 -3
  330. package/plugins/mergeCells/mergeCells.js +5 -5
  331. package/plugins/mergeCells/mergeCells.mjs +4 -4
  332. package/plugins/multiColumnSorting/multiColumnSorting.js +1 -1
  333. package/plugins/multiColumnSorting/multiColumnSorting.mjs +1 -1
  334. package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +1 -1
  335. package/plugins/multipleSelectionHandles/multipleSelectionHandles.mjs +1 -1
  336. package/plugins/nestedHeaders/nestedHeaders.d.ts +1 -0
  337. package/plugins/nestedHeaders/nestedHeaders.js +19 -8
  338. package/plugins/nestedHeaders/nestedHeaders.mjs +18 -7
  339. package/plugins/nestedHeaders/stateManager/headersTree.js +3 -3
  340. package/plugins/nestedHeaders/stateManager/headersTree.mjs +2 -2
  341. package/plugins/nestedHeaders/stateManager/index.js +3 -3
  342. package/plugins/nestedHeaders/stateManager/index.mjs +2 -2
  343. package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +5 -1
  344. package/plugins/nestedHeaders/stateManager/settingsNormalizer.mjs +5 -1
  345. package/plugins/nestedHeaders/stateManager/sourceSettings.js +2 -2
  346. package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +2 -2
  347. package/plugins/nestedHeaders/stateManager/utils.js +6 -2
  348. package/plugins/nestedHeaders/stateManager/utils.mjs +6 -2
  349. package/plugins/nestedHeaders/utils/ghostTable.js +1 -1
  350. package/plugins/nestedHeaders/utils/ghostTable.mjs +1 -1
  351. package/plugins/nestedRows/data/dataManager.js +1 -1
  352. package/plugins/nestedRows/data/dataManager.mjs +1 -1
  353. package/plugins/nestedRows/nestedRows.js +5 -5
  354. package/plugins/nestedRows/nestedRows.mjs +4 -4
  355. package/plugins/nestedRows/ui/_base.js +1 -1
  356. package/plugins/nestedRows/ui/_base.mjs +1 -1
  357. package/plugins/nestedRows/ui/collapsing.js +1 -1
  358. package/plugins/nestedRows/ui/contextMenu.js +4 -4
  359. package/plugins/nestedRows/ui/contextMenu.mjs +3 -3
  360. package/plugins/nestedRows/ui/headers.js +1 -1
  361. package/plugins/nestedRows/utils/rowMoveController.js +1 -1
  362. package/plugins/nestedRows/utils/rowMoveController.mjs +1 -1
  363. package/plugins/persistentState/persistentState.js +2 -2
  364. package/plugins/persistentState/persistentState.mjs +1 -1
  365. package/plugins/persistentState/storage.js +1 -1
  366. package/plugins/persistentState/storage.mjs +1 -1
  367. package/plugins/search/search.js +3 -3
  368. package/plugins/search/search.mjs +3 -3
  369. package/plugins/touchScroll/touchScroll.js +3 -3
  370. package/plugins/touchScroll/touchScroll.mjs +3 -3
  371. package/plugins/trimRows/trimRows.js +3 -3
  372. package/plugins/trimRows/trimRows.mjs +3 -3
  373. package/plugins/undoRedo/undoRedo.js +1 -1
  374. package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -1
  375. package/renderers/checkboxRenderer/checkboxRenderer.js +1 -1
  376. package/renderers/numericRenderer/numericRenderer.js +1 -1
  377. package/renderers/registry.js +1 -1
  378. package/selection/highlight/highlight.js +3 -3
  379. package/selection/highlight/highlight.mjs +3 -3
  380. package/selection/highlight/types/activeHeader.js +1 -1
  381. package/selection/highlight/types/area.js +1 -1
  382. package/selection/highlight/types/areaLayered.js +1 -1
  383. package/selection/highlight/types/column.js +1 -1
  384. package/selection/highlight/types/customSelection.js +1 -1
  385. package/selection/highlight/types/fill.js +1 -1
  386. package/selection/highlight/types/focus.js +1 -1
  387. package/selection/highlight/types/header.js +1 -1
  388. package/selection/highlight/types/row.js +1 -1
  389. package/selection/highlight/visualSelection.js +1 -1
  390. package/selection/highlight/visualSelection.mjs +1 -1
  391. package/selection/index.js +1 -1
  392. package/selection/range.js +1 -1
  393. package/selection/range.mjs +1 -1
  394. package/selection/selection.js +4 -4
  395. package/selection/selection.mjs +3 -3
  396. package/selection/transformation.js +4 -4
  397. package/selection/transformation.mjs +3 -3
  398. package/settings.d.ts +1 -0
  399. package/tableView.js +41 -18
  400. package/tableView.mjs +40 -17
  401. package/translations/changesObservable/observable.js +2 -2
  402. package/translations/changesObservable/observable.mjs +2 -2
  403. package/translations/changesObservable/observer.js +3 -3
  404. package/translations/changesObservable/observer.mjs +2 -2
  405. package/translations/indexMapper.js +2 -2
  406. package/translations/indexMapper.mjs +1 -1
  407. package/translations/mapCollections/aggregatedCollection.js +1 -1
  408. package/translations/mapCollections/aggregatedCollection.mjs +1 -1
  409. package/translations/mapCollections/mapCollection.js +2 -2
  410. package/translations/mapCollections/mapCollection.mjs +1 -1
  411. package/translations/maps/indexMap.js +2 -2
  412. package/translations/maps/indexMap.mjs +1 -1
  413. package/translations/maps/linkedPhysicalIndexToValueMap.js +1 -1
  414. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +1 -1
  415. package/utils/dataStructures/linkedList.js +1 -1
  416. package/utils/dataStructures/linkedList.mjs +1 -1
  417. package/utils/dataStructures/tree.js +1 -1
  418. package/utils/dataStructures/tree.mjs +1 -1
  419. package/utils/ghostTable.js +1 -1
  420. package/utils/ghostTable.mjs +1 -1
  421. package/utils/interval.js +4 -4
  422. package/utils/interval.mjs +4 -4
  423. package/utils/samplesGenerator.js +1 -1
  424. package/utils/samplesGenerator.mjs +1 -1
  425. package/validators/dateValidator/dateValidator.js +1 -1
  426. package/validators/registry.js +1 -1
  427. package/validators/timeValidator/timeValidator.js +1 -1
@@ -25,8 +25,8 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 0.0.0-next-c2596d4-20240705
29
- * Release date: 11/06/2024 (built at 05/07/2024 08:04:29)
28
+ * Version: 0.0.0-next-2cb2d27-20240709
29
+ * Release date: 11/06/2024 (built at 09/07/2024 12:07:29)
30
30
  */
31
31
  (function webpackUniversalModuleDefinition(root, factory) {
32
32
  if(typeof exports === 'object' && typeof module === 'object')
@@ -42612,9 +42612,9 @@ var _default = exports["default"] = _base.default;
42612
42612
  /* 197 */
42613
42613
  /***/ ((module) => {
42614
42614
 
42615
- function _interopRequireDefault(obj) {
42616
- return obj && obj.__esModule ? obj : {
42617
- "default": obj
42615
+ function _interopRequireDefault(e) {
42616
+ return e && e.__esModule ? e : {
42617
+ "default": e
42618
42618
  };
42619
42619
  }
42620
42620
  module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
@@ -42675,8 +42675,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
42675
42675
  Handsontable.CellCoords = _src.CellCoords;
42676
42676
  Handsontable.CellRange = _src.CellRange;
42677
42677
  Handsontable.packageName = 'handsontable';
42678
- Handsontable.buildDate = "05/07/2024 08:04:29";
42679
- Handsontable.version = "0.0.0-next-c2596d4-20240705";
42678
+ Handsontable.buildDate = "09/07/2024 12:07:29";
42679
+ Handsontable.version = "0.0.0-next-2cb2d27-20240709";
42680
42680
  Handsontable.languages = {
42681
42681
  dictionaryKeys: _registry.dictionaryKeys,
42682
42682
  getLanguageDictionary: _registry.getLanguageDictionary,
@@ -45794,6 +45794,16 @@ function Core(rootElement, userSettings) {
45794
45794
  });
45795
45795
  };
45796
45796
 
45797
+ /**
45798
+ * Returns the meta information for the provided column.
45799
+ *
45800
+ * @param {number} column Visual column index.
45801
+ * @returns {object}
45802
+ */
45803
+ this.getColumnMeta = function (column) {
45804
+ return metaManager.getColumnMeta(this.toPhysicalColumn(column));
45805
+ };
45806
+
45797
45807
  /**
45798
45808
  * Returns an array of cell meta objects for specified physical row index.
45799
45809
  *
@@ -51545,7 +51555,7 @@ function sanitize(string, options) {
51545
51555
  /* 336 */
51546
51556
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
51547
51557
 
51548
- /*! @license DOMPurify 2.5.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.4/LICENSE */
51558
+ /*! @license DOMPurify 2.5.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.5/LICENSE */
51549
51559
 
51550
51560
  (function (global, factory) {
51551
51561
  true ? module.exports = factory() :
@@ -51662,10 +51672,6 @@ function sanitize(string, options) {
51662
51672
  var stringTrim = unapply(String.prototype.trim);
51663
51673
  var regExpTest = unapply(RegExp.prototype.test);
51664
51674
  var typeErrorCreate = unconstruct(TypeError);
51665
- function numberIsNaN(x) {
51666
- // eslint-disable-next-line unicorn/prefer-number-properties
51667
- return typeof x === 'number' && isNaN(x);
51668
- }
51669
51675
  function unapply(func) {
51670
51676
  return function (thisArg) {
51671
51677
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
@@ -51837,7 +51843,7 @@ function sanitize(string, options) {
51837
51843
  * Version label, exposed for easier checks
51838
51844
  * if DOMPurify is up to date or not
51839
51845
  */
51840
- DOMPurify.version = '2.5.4';
51846
+ DOMPurify.version = '2.5.5';
51841
51847
 
51842
51848
  /**
51843
51849
  * Array of elements that DOMPurify removed during sanitation.
@@ -52063,9 +52069,6 @@ function sanitize(string, options) {
52063
52069
  /* Keep a reference to config to pass to hooks */
52064
52070
  var CONFIG = null;
52065
52071
 
52066
- /* Specify the maximum element nesting depth to prevent mXSS */
52067
- var MAX_NESTING_DEPTH = 255;
52068
-
52069
52072
  /* Ideally, do not touch anything below this line */
52070
52073
  /* ______________________________________________ */
52071
52074
 
@@ -52460,7 +52463,7 @@ function sanitize(string, options) {
52460
52463
  * @return {Boolean} true if clobbered, false if safe
52461
52464
  */
52462
52465
  var _isClobbered = function _isClobbered(elm) {
52463
- return elm instanceof HTMLFormElement && (typeof elm.__depth !== 'undefined' && typeof elm.__depth !== 'number' || typeof elm.__removalCount !== 'undefined' && typeof elm.__removalCount !== 'number' || typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');
52466
+ return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');
52464
52467
  };
52465
52468
 
52466
52469
  /**
@@ -52619,7 +52622,7 @@ function sanitize(string, options) {
52619
52622
  // eslint-disable-next-line complexity
52620
52623
  var _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
52621
52624
  /* Make sure attribute cannot clobber */
52622
- if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement || value === '__depth' || value === '__removalCount')) {
52625
+ if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
52623
52626
  return false;
52624
52627
  }
52625
52628
 
@@ -52808,32 +52811,9 @@ function sanitize(string, options) {
52808
52811
  if (_sanitizeElements(shadowNode)) {
52809
52812
  continue;
52810
52813
  }
52811
- var parentNode = getParentNode(shadowNode);
52812
-
52813
- /* Set the nesting depth of an element */
52814
- if (shadowNode.nodeType === 1) {
52815
- if (parentNode && parentNode.__depth) {
52816
- /*
52817
- We want the depth of the node in the original tree, which can
52818
- change when it's removed from its parent.
52819
- */
52820
- shadowNode.__depth = (shadowNode.__removalCount || 0) + parentNode.__depth + 1;
52821
- } else {
52822
- shadowNode.__depth = 1;
52823
- }
52824
- }
52825
-
52826
- /*
52827
- * Remove an element if nested too deeply to avoid mXSS
52828
- * or if the __depth might have been tampered with
52829
- */
52830
- if (shadowNode.__depth >= MAX_NESTING_DEPTH || numberIsNaN(shadowNode.__depth)) {
52831
- _forceRemove(shadowNode);
52832
- }
52833
52814
 
52834
52815
  /* Deep shadow DOM detected */
52835
52816
  if (shadowNode.content instanceof DocumentFragment) {
52836
- shadowNode.content.__depth = shadowNode.__depth;
52837
52817
  _sanitizeShadowDOM(shadowNode.content);
52838
52818
  }
52839
52819
 
@@ -52963,32 +52943,9 @@ function sanitize(string, options) {
52963
52943
  if (_sanitizeElements(currentNode)) {
52964
52944
  continue;
52965
52945
  }
52966
- var parentNode = getParentNode(currentNode);
52967
-
52968
- /* Set the nesting depth of an element */
52969
- if (currentNode.nodeType === 1) {
52970
- if (parentNode && parentNode.__depth) {
52971
- /*
52972
- We want the depth of the node in the original tree, which can
52973
- change when it's removed from its parent.
52974
- */
52975
- currentNode.__depth = (currentNode.__removalCount || 0) + parentNode.__depth + 1;
52976
- } else {
52977
- currentNode.__depth = 1;
52978
- }
52979
- }
52980
-
52981
- /*
52982
- * Remove an element if nested too deeply to avoid mXSS
52983
- * or if the __depth might have been tampered with
52984
- */
52985
- if (currentNode.__depth >= MAX_NESTING_DEPTH || numberIsNaN(currentNode.__depth)) {
52986
- _forceRemove(currentNode);
52987
- }
52988
52946
 
52989
52947
  /* Shadow DOM detected, sanitize it */
52990
52948
  if (currentNode.content instanceof DocumentFragment) {
52991
- currentNode.content.__depth = currentNode.__depth;
52992
52949
  _sanitizeShadowDOM(currentNode.content);
52993
52950
  }
52994
52951
 
@@ -53286,7 +53243,7 @@ const domMessages = {
53286
53243
  function _injectProductInfo(key, element) {
53287
53244
  const hasValidType = !isEmpty(key);
53288
53245
  const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
53289
- const hotVersion = "0.0.0-next-c2596d4-20240705";
53246
+ const hotVersion = "0.0.0-next-2cb2d27-20240709";
53290
53247
  let keyValidityDate;
53291
53248
  let consoleMessageState = 'invalid';
53292
53249
  let domMessageState = 'invalid';
@@ -61715,8 +61672,8 @@ var _unicode = __webpack_require__(491);
61715
61672
  var _event = __webpack_require__(492);
61716
61673
  var _registry = __webpack_require__(493);
61717
61674
  var _eventManager = _interopRequireDefault(__webpack_require__(502));
61718
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
61719
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
61675
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
61676
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
61720
61677
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
61721
61678
  var _EditorManager_brand = /*#__PURE__*/new WeakSet();
61722
61679
  class EditorManager {
@@ -62053,19 +62010,13 @@ var _default = exports["default"] = EditorManager;
62053
62010
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
62054
62011
 
62055
62012
  var toPropertyKey = __webpack_require__(488);
62056
- function _defineProperty(obj, key, value) {
62057
- key = toPropertyKey(key);
62058
- if (key in obj) {
62059
- Object.defineProperty(obj, key, {
62060
- value: value,
62061
- enumerable: true,
62062
- configurable: true,
62063
- writable: true
62064
- });
62065
- } else {
62066
- obj[key] = value;
62067
- }
62068
- return obj;
62013
+ function _defineProperty(e, r, t) {
62014
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
62015
+ value: t,
62016
+ enumerable: !0,
62017
+ configurable: !0,
62018
+ writable: !0
62019
+ }) : e[r] = t, e;
62069
62020
  }
62070
62021
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
62071
62022
 
@@ -66175,9 +66126,9 @@ __webpack_require__(204);
66175
66126
  var _console = __webpack_require__(500);
66176
66127
  var _element = __webpack_require__(334);
66177
66128
  var _function = __webpack_require__(480);
66178
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
66179
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
66180
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
66129
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
66130
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
66131
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
66181
66132
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
66182
66133
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
66183
66134
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -67604,9 +67555,9 @@ var _src = _interopRequireDefault(__webpack_require__(518));
67604
67555
  var _mouseEventHandler = __webpack_require__(586);
67605
67556
  var _rootInstance = __webpack_require__(587);
67606
67557
  var _a11y = __webpack_require__(479);
67607
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
67608
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
67609
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
67558
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
67559
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
67560
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
67610
67561
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
67611
67562
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
67612
67563
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -68744,7 +68695,9 @@ class TableView {
68744
68695
  } = this.hot;
68745
68696
  const div = rootDocument.createElement('div');
68746
68697
  const span = rootDocument.createElement('span');
68747
- div.className = 'relative';
68698
+ const metaHeaderClassNames = visualColumnIndex >= 0 ? this.hot.getColumnMeta(visualColumnIndex).headerClassName : null;
68699
+ const classNames = metaHeaderClassNames ? metaHeaderClassNames.split(' ') : [];
68700
+ div.classList.add('relative', ...classNames);
68748
68701
  span.className = 'colHeader';
68749
68702
  if (this.settings.ariaTags) {
68750
68703
  (0, _element.setAttribute)(div, ...(0, _a11y.A11Y_PRESENTATION)());
@@ -68841,39 +68794,51 @@ class TableView {
68841
68794
  }
68842
68795
 
68843
68796
  /**
68844
- * Returns the first rendered row in the DOM (usually is not visible).
68797
+ * Returns the first rendered row in the DOM (usually is not visible in the table's viewport).
68845
68798
  *
68846
- * @returns {number}
68799
+ * @returns {number | null}
68847
68800
  */
68848
68801
  getFirstRenderedVisibleRow() {
68849
- return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtTable.getFirstRenderedRow());
68802
+ if (!this._wt.wtViewport.rowsRenderCalculator) {
68803
+ return null;
68804
+ }
68805
+ return this.hot.rowIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getFirstRenderedRow(), 1);
68850
68806
  }
68851
68807
 
68852
68808
  /**
68853
- * Returns the last rendered row in the DOM (usually is not visible).
68809
+ * Returns the last rendered row in the DOM (usually is not visible in the table's viewport).
68854
68810
  *
68855
- * @returns {number}
68811
+ * @returns {number | null}
68856
68812
  */
68857
68813
  getLastRenderedVisibleRow() {
68858
- return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtTable.getLastRenderedRow());
68814
+ if (!this._wt.wtViewport.rowsRenderCalculator) {
68815
+ return null;
68816
+ }
68817
+ return this.hot.rowIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getLastRenderedRow(), -1);
68859
68818
  }
68860
68819
 
68861
68820
  /**
68862
- * Returns the first rendered column in the DOM (usually is not visible).
68821
+ * Returns the first rendered column in the DOM (usually is not visible in the table's viewport).
68863
68822
  *
68864
- * @returns {number}
68823
+ * @returns {number | null}
68865
68824
  */
68866
68825
  getFirstRenderedVisibleColumn() {
68867
- return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtTable.getFirstRenderedColumn());
68826
+ if (!this._wt.wtViewport.columnsRenderCalculator) {
68827
+ return null;
68828
+ }
68829
+ return this.hot.columnIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getFirstRenderedColumn(), 1);
68868
68830
  }
68869
68831
 
68870
68832
  /**
68871
- * Returns the last rendered column in the DOM (usually is not visible).
68833
+ * Returns the last rendered column in the DOM (usually is not visible in the table's viewport).
68872
68834
  *
68873
- * @returns {number}
68835
+ * @returns {number | null}
68874
68836
  */
68875
68837
  getLastRenderedVisibleColumn() {
68876
- return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtTable.getLastRenderedColumn());
68838
+ if (!this._wt.wtViewport.columnsRenderCalculator) {
68839
+ return null;
68840
+ }
68841
+ return this.hot.columnIndexMapper.getNearestNotHiddenIndex(this._wt.wtTable.getLastRenderedColumn(), -1);
68877
68842
  }
68878
68843
 
68879
68844
  /**
@@ -69034,6 +68999,15 @@ class TableView {
69034
68999
  getOverlayByName(overlayName) {
69035
69000
  return this._wt.getOverlayByName(overlayName);
69036
69001
  }
69002
+
69003
+ /**
69004
+ * Checks if the table is visible or not.
69005
+ *
69006
+ * @returns {boolean}
69007
+ */
69008
+ isVisible() {
69009
+ return this._wt.wtTable.isVisible();
69010
+ }
69037
69011
  /**
69038
69012
  * Destroys internal WalkOnTable's instance. Detaches all of the bonded listeners.
69039
69013
  *
@@ -69249,8 +69223,8 @@ __webpack_require__(523);
69249
69223
  __webpack_require__(286);
69250
69224
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
69251
69225
  var _constants = __webpack_require__(524);
69252
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
69253
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
69226
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
69227
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
69254
69228
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
69255
69229
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
69256
69230
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -69502,8 +69476,8 @@ __webpack_require__(523);
69502
69476
  __webpack_require__(286);
69503
69477
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
69504
69478
  var _constants = __webpack_require__(524);
69505
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
69506
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
69479
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
69480
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
69507
69481
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
69508
69482
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
69509
69483
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -69683,8 +69657,8 @@ var _interopRequireDefault = __webpack_require__(197);
69683
69657
  exports.__esModule = true;
69684
69658
  __webpack_require__(204);
69685
69659
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
69686
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
69687
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
69660
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
69661
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
69688
69662
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
69689
69663
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
69690
69664
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -69938,8 +69912,8 @@ __webpack_require__(204);
69938
69912
  __webpack_require__(286);
69939
69913
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
69940
69914
  var _coords = _interopRequireDefault(__webpack_require__(526));
69941
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
69942
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
69915
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
69916
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
69943
69917
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
69944
69918
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
69945
69919
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -71097,8 +71071,8 @@ var _function = __webpack_require__(480);
71097
71071
  var _feature = __webpack_require__(485);
71098
71072
  var _browser = __webpack_require__(481);
71099
71073
  var _mixed = __webpack_require__(337);
71100
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
71101
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
71074
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
71075
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
71102
71076
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
71103
71077
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
71104
71078
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -71476,8 +71450,8 @@ var _unicode = __webpack_require__(491);
71476
71450
  var _browser = __webpack_require__(481);
71477
71451
  var _console = __webpack_require__(500);
71478
71452
  var _overlay = __webpack_require__(532);
71479
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
71480
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
71453
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
71454
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
71481
71455
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
71482
71456
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
71483
71457
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -75339,8 +75313,8 @@ var _interopRequireDefault = __webpack_require__(197);
75339
75313
  exports.__esModule = true;
75340
75314
  __webpack_require__(204);
75341
75315
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
75342
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
75343
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
75316
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
75317
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
75344
75318
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
75345
75319
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
75346
75320
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -76653,8 +76627,8 @@ exports.__esModule = true;
76653
76627
  __webpack_require__(204);
76654
76628
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
76655
76629
  var _element = __webpack_require__(334);
76656
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
76657
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
76630
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
76631
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
76658
76632
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
76659
76633
  /**
76660
76634
  * @class Scroll
@@ -78294,9 +78268,9 @@ __webpack_require__(318);
78294
78268
  var _element = __webpack_require__(334);
78295
78269
  var _scanner2 = __webpack_require__(576);
78296
78270
  var _border = _interopRequireDefault(__webpack_require__(577));
78297
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
78298
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
78299
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
78271
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
78272
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
78273
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
78300
78274
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
78301
78275
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
78302
78276
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -78582,9 +78556,9 @@ __webpack_require__(312);
78582
78556
  __webpack_require__(315);
78583
78557
  __webpack_require__(318);
78584
78558
  var _element = __webpack_require__(334);
78585
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
78586
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
78587
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
78559
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
78560
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
78561
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
78588
78562
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
78589
78563
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
78590
78564
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); } /* eslint-disable no-continue */
@@ -83537,8 +83511,8 @@ __webpack_require__(315);
83537
83511
  __webpack_require__(318);
83538
83512
  var _observer = __webpack_require__(607);
83539
83513
  var _utils = __webpack_require__(608);
83540
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
83541
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
83514
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
83515
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
83542
83516
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
83543
83517
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
83544
83518
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -83677,8 +83651,8 @@ exports.__esModule = true;
83677
83651
  __webpack_require__(204);
83678
83652
  var _object = __webpack_require__(482);
83679
83653
  var _localHooks = _interopRequireDefault(__webpack_require__(571));
83680
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
83681
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
83654
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
83655
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
83682
83656
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
83683
83657
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
83684
83658
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -84398,8 +84372,8 @@ var _templateLiteralTag = __webpack_require__(477);
84398
84372
  var _a11y = __webpack_require__(479);
84399
84373
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
84400
84374
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
84401
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
84402
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
84375
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
84376
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
84403
84377
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
84404
84378
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
84405
84379
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -85641,8 +85615,8 @@ exports.HEADER_TYPE = _src.HIGHLIGHT_HEADER_TYPE;
85641
85615
  exports.ROW_TYPE = _src.HIGHLIGHT_ROW_TYPE;
85642
85616
  exports.COLUMN_TYPE = _src.HIGHLIGHT_COLUMN_TYPE;
85643
85617
  var _array = __webpack_require__(478);
85644
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
85645
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
85618
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
85619
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
85646
85620
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
85647
85621
  /**
85648
85622
  * Highlight class responsible for managing Walkontable Selection classes.
@@ -86762,9 +86736,9 @@ exports.__esModule = true;
86762
86736
  __webpack_require__(204);
86763
86737
  var _object = __webpack_require__(482);
86764
86738
  var _localHooks = _interopRequireDefault(__webpack_require__(571));
86765
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
86766
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
86767
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
86739
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
86740
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
86741
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
86768
86742
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
86769
86743
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
86770
86744
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -91384,6 +91358,31 @@ var _default = () => {
91384
91358
  * ```
91385
91359
  */
91386
91360
  fragmentSelection: false,
91361
+ /**
91362
+ * The `headerClassName` option allows adding one or more class names to the column headers' inner `div` element.
91363
+ * It can be used to align the labels in the column headers to left, center or right by setting this option to
91364
+ * `htLeft`, `htCenter`, or `htRight` respectively.
91365
+ *
91366
+ * @since 14.5.0
91367
+ * @memberof Options#
91368
+ * @type {string}
91369
+ * @default undefined
91370
+ * @category Core
91371
+ *
91372
+ * @example
91373
+ * ```js
91374
+ * // Adding class names to all column headers
91375
+ * headerClassName: 'htRight my-class',
91376
+ *
91377
+ * columns: [
91378
+ * {
91379
+ * // Adding class names to the column header of a single column
91380
+ * headerClassName: 'htRight my-class',
91381
+ * }
91382
+ * ]
91383
+ * ```
91384
+ */
91385
+ headerClassName: undefined,
91387
91386
  /**
91388
91387
  * The `height` option configures the height of your grid.
91389
91388
  *
@@ -94875,8 +94874,8 @@ __webpack_require__(312);
94875
94874
  __webpack_require__(315);
94876
94875
  __webpack_require__(318);
94877
94876
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
94878
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
94879
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
94877
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
94878
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
94880
94879
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
94881
94880
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
94882
94881
  var _initOnlyCallback = /*#__PURE__*/new WeakMap();
@@ -99426,8 +99425,8 @@ var _unicode = __webpack_require__(491);
99426
99425
  var _browser = __webpack_require__(481);
99427
99426
  var _textRenderer = __webpack_require__(722);
99428
99427
  var _a11y = __webpack_require__(479);
99429
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
99430
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
99428
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
99429
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
99431
99430
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
99432
99431
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
99433
99432
  const EDITOR_TYPE = exports.EDITOR_TYPE = 'autocomplete';
@@ -103900,16 +103899,8 @@ var _interopRequireDefault = __webpack_require__(197);
103900
103899
  exports.__esModule = true;
103901
103900
  __webpack_require__(204);
103902
103901
  __webpack_require__(286);
103903
- __webpack_require__(290);
103904
- __webpack_require__(302);
103905
- __webpack_require__(305);
103906
- __webpack_require__(309);
103907
- __webpack_require__(312);
103908
- __webpack_require__(315);
103909
- __webpack_require__(318);
103910
103902
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
103911
103903
  var _base = __webpack_require__(806);
103912
- var _array = __webpack_require__(478);
103913
103904
  var _feature = __webpack_require__(485);
103914
103905
  var _ghostTable = _interopRequireDefault(__webpack_require__(808));
103915
103906
  var _pluginHooks = _interopRequireDefault(__webpack_require__(494));
@@ -103919,12 +103910,11 @@ var _samplesGenerator = _interopRequireDefault(__webpack_require__(809));
103919
103910
  var _string = __webpack_require__(335);
103920
103911
  var _src = __webpack_require__(518);
103921
103912
  var _translations = __webpack_require__(590);
103922
- var _mixed = __webpack_require__(337);
103923
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
103924
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
103925
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
103926
- function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
103913
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
103914
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
103915
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
103927
103916
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
103917
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
103928
103918
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
103929
103919
  _pluginHooks.default.getSingleton().register('modifyAutoColumnSizeSeed');
103930
103920
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'autoColumnSize';
@@ -104029,6 +104019,7 @@ const COLUMN_SIZE_MAP_NAME = 'autoColumnSize';
104029
104019
  */
104030
104020
  /* eslint-enable jsdoc/require-description-complete-sentence */
104031
104021
  var _cachedColumnHeaders = /*#__PURE__*/new WeakMap();
104022
+ var _visualColumnsToRefresh = /*#__PURE__*/new WeakMap();
104032
104023
  var _AutoColumnSize_brand = /*#__PURE__*/new WeakSet();
104033
104024
  class AutoColumnSize extends _base.BasePlugin {
104034
104025
  static get PLUGIN_KEY() {
@@ -104057,7 +104048,9 @@ class AutoColumnSize extends _base.BasePlugin {
104057
104048
  constructor(hotInstance) {
104058
104049
  super(hotInstance);
104059
104050
  /**
104060
- * On before view render listener.
104051
+ * Calculates specific columns width (overwrite cache values).
104052
+ *
104053
+ * @param {number[]} visualColumns List of visual columns to calculate.
104061
104054
  */
104062
104055
  _classPrivateMethodInitSpec(this, _AutoColumnSize_brand);
104063
104056
  (0, _defineProperty2.default)(this, "ghostTable", new _ghostTable.default(this.hot));
@@ -104088,13 +104081,6 @@ class AutoColumnSize extends _base.BasePlugin {
104088
104081
  bundleSeed
104089
104082
  };
104090
104083
  }));
104091
- /**
104092
- * `true` only if the first calculation was performed.
104093
- *
104094
- * @private
104095
- * @type {boolean}
104096
- */
104097
- (0, _defineProperty2.default)(this, "firstCalculation", true);
104098
104084
  /**
104099
104085
  * `true` if the size calculation is in progress.
104100
104086
  *
@@ -104121,6 +104107,12 @@ class AutoColumnSize extends _base.BasePlugin {
104121
104107
  * @type {Array}
104122
104108
  */
104123
104109
  _classPrivateFieldInitSpec(this, _cachedColumnHeaders, []);
104110
+ /**
104111
+ * An array of column indexes whose width will be recalculated.
104112
+ *
104113
+ * @type {number[]}
104114
+ */
104115
+ _classPrivateFieldInitSpec(this, _visualColumnsToRefresh, []);
104124
104116
  this.hot.columnIndexMapper.registerMap(COLUMN_SIZE_MAP_NAME, this.columnWidthsMap);
104125
104117
 
104126
104118
  // Leave the listener active to allow auto-sizing the columns when the plugin is disabled.
@@ -104157,11 +104149,21 @@ class AutoColumnSize extends _base.BasePlugin {
104157
104149
  }
104158
104150
  return _assertClassBrand(_AutoColumnSize_brand, _this, _onAfterLoadData).call(_this, ...args);
104159
104151
  });
104160
- this.addHook('beforeChangeRender', changes => _assertClassBrand(_AutoColumnSize_brand, this, _onBeforeChange).call(this, changes));
104161
- this.addHook('afterFormulasValuesUpdate', changes => _assertClassBrand(_AutoColumnSize_brand, this, _onAfterFormulasValuesUpdate).call(this, changes));
104162
- this.addHook('beforeViewRender', force => _assertClassBrand(_AutoColumnSize_brand, this, _onBeforeViewRender).call(this, force));
104152
+ this.addHook('beforeChangeRender', function () {
104153
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
104154
+ args[_key2] = arguments[_key2];
104155
+ }
104156
+ return _assertClassBrand(_AutoColumnSize_brand, _this, _onBeforeChange).call(_this, ...args);
104157
+ });
104158
+ this.addHook('afterFormulasValuesUpdate', function () {
104159
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
104160
+ args[_key3] = arguments[_key3];
104161
+ }
104162
+ return _assertClassBrand(_AutoColumnSize_brand, _this, _onAfterFormulasValuesUpdate).call(_this, ...args);
104163
+ });
104164
+ this.addHook('beforeRender', () => _assertClassBrand(_AutoColumnSize_brand, this, _onBeforeRender).call(this));
104163
104165
  this.addHook('modifyColWidth', (width, col) => this.getColumnWidth(col, width));
104164
- this.addHook('afterInit', () => _assertClassBrand(_AutoColumnSize_brand, this, _onAfterInit).call(this));
104166
+ this.addHook('init', () => _assertClassBrand(_AutoColumnSize_brand, this, _onInit).call(this));
104165
104167
  super.enablePlugin();
104166
104168
  }
104167
104169
 
@@ -104169,11 +104171,7 @@ class AutoColumnSize extends _base.BasePlugin {
104169
104171
  * Updates the plugin's state. This method is executed when {@link Core#updateSettings} is invoked.
104170
104172
  */
104171
104173
  updatePlugin() {
104172
- const changedColumns = this.findColumnsWhereHeaderWasChanged();
104173
- if (changedColumns.length) {
104174
- this.clearCache(changedColumns);
104175
- this.calculateVisibleColumnsWidth();
104176
- }
104174
+ _classPrivateFieldSet(_visualColumnsToRefresh, this, this.findColumnsWhereHeaderWasChanged());
104177
104175
  super.updatePlugin();
104178
104176
  }
104179
104177
 
@@ -104189,25 +104187,23 @@ class AutoColumnSize extends _base.BasePlugin {
104189
104187
  }
104190
104188
 
104191
104189
  /**
104192
- * Calculates visible columns width.
104190
+ * Calculates widths for visible columns in the viewport only.
104193
104191
  */
104194
104192
  calculateVisibleColumnsWidth() {
104195
- const rowsCount = this.hot.countRows();
104196
-
104197
104193
  // Keep last column widths unchanged for situation when all rows was deleted or trimmed (pro #6)
104198
- if (!rowsCount) {
104194
+ if (!this.hot.countRows()) {
104199
104195
  return;
104200
104196
  }
104201
- const force = this.hot.renderCall;
104202
104197
  const firstVisibleColumn = this.getFirstVisibleColumn();
104203
104198
  const lastVisibleColumn = this.getLastVisibleColumn();
104204
104199
  if (firstVisibleColumn === -1 || lastVisibleColumn === -1) {
104205
104200
  return;
104206
104201
  }
104202
+ const overwriteCache = this.hot.renderCall;
104207
104203
  this.calculateColumnsWidth({
104208
104204
  from: firstVisibleColumn,
104209
104205
  to: lastVisibleColumn
104210
- }, undefined, force);
104206
+ }, undefined, overwriteCache);
104211
104207
  }
104212
104208
 
104213
104209
  /**
@@ -104215,7 +104211,7 @@ class AutoColumnSize extends _base.BasePlugin {
104215
104211
  *
104216
104212
  * @param {number|object} colRange Visual column index or an object with `from` and `to` visual indexes as a range.
104217
104213
  * @param {number|object} rowRange Visual row index or an object with `from` and `to` visual indexes as a range.
104218
- * @param {boolean} [force=false] If `true` the calculation will be processed regardless of whether the width exists in the cache.
104214
+ * @param {boolean} [overwriteCache=false] If `true` the calculation will be processed regardless of whether the width exists in the cache.
104219
104215
  */
104220
104216
  calculateColumnsWidth() {
104221
104217
  let colRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
@@ -104226,8 +104222,7 @@ class AutoColumnSize extends _base.BasePlugin {
104226
104222
  from: 0,
104227
104223
  to: this.hot.countRows() - 1
104228
104224
  };
104229
- let force = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
104230
- // eslint-disable-line max-len
104225
+ let overwriteCache = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
104231
104226
  const columnsRange = typeof colRange === 'number' ? {
104232
104227
  from: colRange,
104233
104228
  to: colRange
@@ -104241,12 +104236,9 @@ class AutoColumnSize extends _base.BasePlugin {
104241
104236
  if (physicalColumn === null) {
104242
104237
  physicalColumn = visualColumn;
104243
104238
  }
104244
- if (force || this.columnWidthsMap.getValueAtIndex(physicalColumn) === null && !this.hot._getColWidthFromSettings(physicalColumn)) {
104239
+ if (overwriteCache || this.columnWidthsMap.getValueAtIndex(physicalColumn) === null && !this.hot._getColWidthFromSettings(physicalColumn)) {
104245
104240
  const samples = this.samplesGenerator.generateColumnSamples(visualColumn, rowsRange);
104246
- (0, _array.arrayEach)(samples, _ref => {
104247
- let [column, sample] = _ref;
104248
- return this.ghostTable.addColumn(column, sample);
104249
- });
104241
+ samples.forEach((sample, column) => this.ghostTable.addColumn(column, sample));
104250
104242
  }
104251
104243
  });
104252
104244
  if (this.ghostTable.columns.length) {
@@ -104266,12 +104258,14 @@ class AutoColumnSize extends _base.BasePlugin {
104266
104258
  * To retrieve width for specified column use {@link AutoColumnSize#getColumnWidth} method.
104267
104259
  *
104268
104260
  * @param {object|number} rowRange Row index or an object with `from` and `to` properties which define row range.
104261
+ * @param {boolean} [overwriteCache] If `true` the calculation will be processed regardless of whether the width exists in the cache.
104269
104262
  */
104270
104263
  calculateAllColumnsWidth() {
104271
104264
  let rowRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
104272
104265
  from: 0,
104273
104266
  to: this.hot.countRows() - 1
104274
104267
  };
104268
+ let overwriteCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
104275
104269
  let current = 0;
104276
104270
  const length = this.hot.countCols() - 1;
104277
104271
  let timer = null;
@@ -104286,7 +104280,7 @@ class AutoColumnSize extends _base.BasePlugin {
104286
104280
  this.calculateColumnsWidth({
104287
104281
  from: current,
104288
104282
  to: Math.min(current + AutoColumnSize.CALCULATION_STEP, length)
104289
- }, rowRange);
104283
+ }, rowRange, overwriteCache);
104290
104284
  current = current + AutoColumnSize.CALCULATION_STEP + 1;
104291
104285
  if (current < length) {
104292
104286
  timer = (0, _feature.requestAnimationFrame)(loop);
@@ -104301,12 +104295,11 @@ class AutoColumnSize extends _base.BasePlugin {
104301
104295
  const syncLimit = this.getSyncCalculationLimit();
104302
104296
 
104303
104297
  // sync
104304
- if (this.firstCalculation && syncLimit >= 0) {
104298
+ if (syncLimit >= 0) {
104305
104299
  this.calculateColumnsWidth({
104306
104300
  from: 0,
104307
104301
  to: syncLimit
104308
- }, rowRange);
104309
- this.firstCalculation = false;
104302
+ }, rowRange, overwriteCache);
104310
104303
  current = syncLimit + 1;
104311
104304
  }
104312
104305
  // async
@@ -104316,7 +104309,6 @@ class AutoColumnSize extends _base.BasePlugin {
104316
104309
  this.inProgress = false;
104317
104310
  }
104318
104311
  }
104319
-
104320
104312
  /**
104321
104313
  * Sets the sampling options.
104322
104314
  *
@@ -104338,9 +104330,11 @@ class AutoColumnSize extends _base.BasePlugin {
104338
104330
  * Recalculates all columns width (overwrite cache values).
104339
104331
  */
104340
104332
  recalculateAllColumnsWidth() {
104341
- if (this.hot.view && this.hot.view._wt.wtTable.isVisible()) {
104342
- this.clearCache();
104343
- this.calculateAllColumnsWidth();
104333
+ if (this.hot.view.isVisible()) {
104334
+ this.calculateAllColumnsWidth({
104335
+ from: 0,
104336
+ to: this.hot.countRows() - 1
104337
+ }, true);
104344
104338
  }
104345
104339
  }
104346
104340
 
@@ -104375,8 +104369,7 @@ class AutoColumnSize extends _base.BasePlugin {
104375
104369
  * @param {boolean} [keepMinimum=true] If `true` then returned value won't be smaller then 50 (default column width).
104376
104370
  * @returns {number}
104377
104371
  */
104378
- getColumnWidth(column) {
104379
- let defaultWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
104372
+ getColumnWidth(column, defaultWidth) {
104380
104373
  let keepMinimum = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
104381
104374
  let width = defaultWidth;
104382
104375
  if (width === undefined) {
@@ -104394,23 +104387,8 @@ class AutoColumnSize extends _base.BasePlugin {
104394
104387
  * @returns {number} Returns visual column index, -1 if table is not rendered or if there are no columns to base the the calculations on.
104395
104388
  */
104396
104389
  getFirstVisibleColumn() {
104397
- const wot = this.hot.view._wt;
104398
- if (wot.wtViewport.columnsVisibleCalculator) {
104399
- // Fist fully visible column is stored as renderable index.
104400
- const firstFullyVisibleColumn = wot.wtTable.getFirstVisibleColumn();
104401
- if (firstFullyVisibleColumn !== -1) {
104402
- return this.hot.columnIndexMapper.getVisualFromRenderableIndex(firstFullyVisibleColumn);
104403
- }
104404
- }
104405
- if (wot.wtViewport.columnsRenderCalculator) {
104406
- const firstRenderedColumn = wot.wtTable.getFirstRenderedColumn();
104407
-
104408
- // There are no rendered column.
104409
- if (firstRenderedColumn !== -1) {
104410
- return this.hot.columnIndexMapper.getVisualFromRenderableIndex(firstRenderedColumn);
104411
- }
104412
- }
104413
- return -1;
104390
+ var _this$hot$view$getFir;
104391
+ return (_this$hot$view$getFir = this.hot.view.getFirstRenderedVisibleColumn()) !== null && _this$hot$view$getFir !== void 0 ? _this$hot$view$getFir : -1;
104414
104392
  }
104415
104393
 
104416
104394
  /**
@@ -104419,38 +104397,22 @@ class AutoColumnSize extends _base.BasePlugin {
104419
104397
  * @returns {number} Returns visual column index or -1 if table is not rendered.
104420
104398
  */
104421
104399
  getLastVisibleColumn() {
104422
- const wot = this.hot.view._wt;
104423
- if (wot.wtViewport.columnsVisibleCalculator) {
104424
- // Last fully visible column is stored as renderable index.
104425
- const lastFullyVisibleColumn = wot.wtTable.getLastVisibleColumn();
104426
- if (lastFullyVisibleColumn !== -1) {
104427
- return this.hot.columnIndexMapper.getVisualFromRenderableIndex(lastFullyVisibleColumn);
104428
- }
104429
- }
104430
- if (wot.wtViewport.columnsRenderCalculator) {
104431
- // Last fully visible column is stored as renderable index.
104432
- const lastRenderedColumn = wot.wtTable.getLastRenderedColumn();
104433
-
104434
- // There are no rendered columns.
104435
- if (lastRenderedColumn !== -1) {
104436
- return this.hot.columnIndexMapper.getVisualFromRenderableIndex(lastRenderedColumn);
104437
- }
104438
- }
104439
- return -1;
104400
+ var _this$hot$view$getLas;
104401
+ return (_this$hot$view$getLas = this.hot.view.getLastRenderedVisibleColumn()) !== null && _this$hot$view$getLas !== void 0 ? _this$hot$view$getLas : -1;
104440
104402
  }
104441
104403
 
104442
104404
  /**
104443
104405
  * Collects all columns which titles has been changed in comparison to the previous state.
104444
104406
  *
104445
104407
  * @private
104446
- * @returns {Array} It returns an array of physical column indexes.
104408
+ * @returns {Array} It returns an array of visual column indexes.
104447
104409
  */
104448
104410
  findColumnsWhereHeaderWasChanged() {
104449
104411
  const columnHeaders = this.hot.getColHeader();
104450
- const changedColumns = (0, _array.arrayReduce)(columnHeaders, (acc, columnTitle, physicalColumn) => {
104412
+ const changedColumns = columnHeaders.reduce((acc, columnTitle, physicalColumn) => {
104451
104413
  const cachedColumnsLength = _classPrivateFieldGet(_cachedColumnHeaders, this).length;
104452
104414
  if (cachedColumnsLength - 1 < physicalColumn || _classPrivateFieldGet(_cachedColumnHeaders, this)[physicalColumn] !== columnTitle) {
104453
- acc.push(physicalColumn);
104415
+ acc.push(this.hot.toVisualColumn(physicalColumn));
104454
104416
  }
104455
104417
  if (cachedColumnsLength - 1 < physicalColumn) {
104456
104418
  _classPrivateFieldGet(_cachedColumnHeaders, this).push(columnTitle);
@@ -104466,13 +104428,12 @@ class AutoColumnSize extends _base.BasePlugin {
104466
104428
  * Clears cache of calculated column widths. If you want to clear only selected columns pass an array with their indexes.
104467
104429
  * Otherwise whole cache will be cleared.
104468
104430
  *
104469
- * @param {number[]} [columns] List of physical column indexes to clear.
104431
+ * @param {number[]} [physicalColumns] List of physical column indexes to clear.
104470
104432
  */
104471
- clearCache() {
104472
- let columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
104473
- if (columns.length) {
104433
+ clearCache(physicalColumns) {
104434
+ if (Array.isArray(physicalColumns)) {
104474
104435
  this.hot.batchExecution(() => {
104475
- (0, _array.arrayEach)(columns, physicalIndex => {
104436
+ physicalColumns.forEach(physicalIndex => {
104476
104437
  this.columnWidthsMap.setValueAtIndex(physicalIndex, null);
104477
104438
  });
104478
104439
  }, true);
@@ -104487,8 +104448,13 @@ class AutoColumnSize extends _base.BasePlugin {
104487
104448
  * @returns {boolean}
104488
104449
  */
104489
104450
  isNeedRecalculate() {
104490
- return !!(0, _array.arrayFilter)(this.columnWidthsMap.getValues().slice(0, this.measuredColumns), item => item === null).length;
104451
+ return !!this.columnWidthsMap.getValues().slice(0, this.measuredColumns).filter(item => item === null).length;
104491
104452
  }
104453
+
104454
+ /**
104455
+ * On before view render listener.
104456
+ */
104457
+
104492
104458
  /**
104493
104459
  * Destroys the plugin instance.
104494
104460
  */
@@ -104498,25 +104464,47 @@ class AutoColumnSize extends _base.BasePlugin {
104498
104464
  }
104499
104465
  }
104500
104466
  exports.AutoColumnSize = AutoColumnSize;
104501
- function _onBeforeViewRender() {
104467
+ function _calculateSpecificColumnsWidth(visualColumns) {
104468
+ const rowsRange = {
104469
+ from: 0,
104470
+ to: this.hot.countRows() - 1
104471
+ };
104472
+ visualColumns.forEach(visualColumn => {
104473
+ const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
104474
+ if (physicalColumn === null) {
104475
+ return;
104476
+ }
104477
+ if (!this.hot._getColWidthFromSettings(physicalColumn)) {
104478
+ const samples = this.samplesGenerator.generateColumnSamples(visualColumn, rowsRange);
104479
+ samples.forEach((sample, column) => this.ghostTable.addColumn(column, sample));
104480
+ }
104481
+ });
104482
+ if (this.ghostTable.columns.length) {
104483
+ this.hot.batchExecution(() => {
104484
+ this.ghostTable.getWidths((visualColumn, width) => {
104485
+ const physicalColumn = this.hot.toPhysicalColumn(visualColumn);
104486
+ this.columnWidthsMap.setValueAtIndex(physicalColumn, width);
104487
+ });
104488
+ }, true);
104489
+ this.ghostTable.clean();
104490
+ }
104491
+ }
104492
+ function _onBeforeRender() {
104502
104493
  this.calculateVisibleColumnsWidth();
104503
- if (this.isNeedRecalculate() && !this.inProgress) {
104504
- this.calculateAllColumnsWidth();
104494
+ if (!this.inProgress) {
104495
+ _assertClassBrand(_AutoColumnSize_brand, this, _calculateSpecificColumnsWidth).call(this, _classPrivateFieldGet(_visualColumnsToRefresh, this));
104496
+ _classPrivateFieldSet(_visualColumnsToRefresh, this, []);
104505
104497
  }
104506
104498
  }
104507
104499
  /**
104508
104500
  * On after load data listener.
104501
+ *
104502
+ * @param {Array} sourceData Source data.
104503
+ * @param {boolean} isFirstLoad `true` if this is the first load.
104509
104504
  */
104510
- function _onAfterLoadData() {
104511
- if (this.hot.view) {
104505
+ function _onAfterLoadData(sourceData, isFirstLoad) {
104506
+ if (!isFirstLoad) {
104512
104507
  this.recalculateAllColumnsWidth();
104513
- } else {
104514
- // first load - initialization
104515
- setTimeout(() => {
104516
- if (this.hot) {
104517
- this.recalculateAllColumnsWidth();
104518
- }
104519
- }, 0);
104520
104508
  }
104521
104509
  }
104522
104510
  /**
@@ -104525,11 +104513,15 @@ function _onAfterLoadData() {
104525
104513
  * @param {Array} changes An array of modified data.
104526
104514
  */
104527
104515
  function _onBeforeChange(changes) {
104528
- const changedColumns = (0, _array.arrayMap)(changes, _ref2 => {
104529
- let [, columnProperty] = _ref2;
104530
- return this.hot.toPhysicalColumn(this.hot.propToCol(columnProperty));
104531
- });
104532
- this.clearCache(Array.from(new Set(changedColumns)));
104516
+ const changedColumns = changes.reduce((acc, _ref) => {
104517
+ let [, columnProperty] = _ref;
104518
+ const visualColumn = this.hot.propToCol(columnProperty);
104519
+ if (Number.isInteger(visualColumn) && acc.indexOf(visualColumn) === -1) {
104520
+ acc.push(visualColumn);
104521
+ }
104522
+ return acc;
104523
+ }, []);
104524
+ _classPrivateFieldGet(_visualColumnsToRefresh, this).push(...changedColumns);
104533
104525
  }
104534
104526
  /**
104535
104527
  * On before column resize listener.
@@ -104550,8 +104542,9 @@ function _onBeforeColumnResize(size, column, isDblClick) {
104550
104542
  /**
104551
104543
  * On after Handsontable init fill plugin with all necessary values.
104552
104544
  */
104553
- function _onAfterInit() {
104545
+ function _onInit() {
104554
104546
  _classPrivateFieldSet(_cachedColumnHeaders, this, this.hot.getColHeader());
104547
+ this.recalculateAllColumnsWidth();
104555
104548
  }
104556
104549
  /**
104557
104550
  * After formulas values updated listener.
@@ -104559,12 +104552,18 @@ function _onAfterInit() {
104559
104552
  * @param {Array} changes An array of modified data.
104560
104553
  */
104561
104554
  function _onAfterFormulasValuesUpdate(changes) {
104562
- const filteredChanges = (0, _array.arrayFilter)(changes, change => {
104555
+ const changedColumns = changes.reduce((acc, change) => {
104563
104556
  var _change$address;
104564
- return (0, _mixed.isDefined)((_change$address = change.address) === null || _change$address === void 0 ? void 0 : _change$address.col);
104565
- });
104566
- const changedColumns = (0, _array.arrayMap)(filteredChanges, change => change.address.col);
104567
- this.clearCache(Array.from(new Set(changedColumns)));
104557
+ const physicalColumn = (_change$address = change.address) === null || _change$address === void 0 ? void 0 : _change$address.col;
104558
+ if (Number.isInteger(physicalColumn)) {
104559
+ const visualColumn = this.hot.toVisualColumn(physicalColumn);
104560
+ if (acc.indexOf(visualColumn) === -1) {
104561
+ acc.push(visualColumn);
104562
+ }
104563
+ }
104564
+ return acc;
104565
+ }, []);
104566
+ _classPrivateFieldGet(_visualColumnsToRefresh, this).push(...changedColumns);
104568
104567
  }
104569
104568
 
104570
104569
  /***/ }),
@@ -104599,9 +104598,9 @@ var _registry3 = __webpack_require__(493);
104599
104598
  var _registry4 = __webpack_require__(515);
104600
104599
  var _registry5 = __webpack_require__(516);
104601
104600
  var _eventManager = _interopRequireDefault(__webpack_require__(502));
104602
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
104603
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
104604
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
104601
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
104602
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
104603
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
104605
104604
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
104606
104605
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
104607
104606
  const DEPS_TYPE_CHECKERS = new Map([['plugin', _registry.hasPlugin], ['cell-type', _registry2.hasCellType], ['editor', _registry3.hasEditor], ['renderer', _registry4.hasRenderer], ['validator', _registry5.hasValidator]]);
@@ -105600,8 +105599,8 @@ var _element = __webpack_require__(334);
105600
105599
  var _array = __webpack_require__(478);
105601
105600
  var _mixed = __webpack_require__(337);
105602
105601
  var _utils = __webpack_require__(812);
105603
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
105604
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
105602
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
105603
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
105605
105604
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
105606
105605
  _pluginHooks.default.getSingleton().register('modifyAutofillRange');
105607
105606
  _pluginHooks.default.getSingleton().register('beforeAutofill');
@@ -106261,19 +106260,21 @@ exports.AutoRowSize = _autoRowSize.AutoRowSize;
106261
106260
  var _interopRequireDefault = __webpack_require__(197);
106262
106261
  exports.__esModule = true;
106263
106262
  __webpack_require__(204);
106263
+ __webpack_require__(286);
106264
106264
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
106265
106265
  var _base = __webpack_require__(806);
106266
- var _array = __webpack_require__(478);
106267
106266
  var _feature = __webpack_require__(485);
106268
- var _element = __webpack_require__(334);
106269
106267
  var _ghostTable = _interopRequireDefault(__webpack_require__(808));
106270
106268
  var _object = __webpack_require__(482);
106271
106269
  var _number = __webpack_require__(512);
106272
106270
  var _samplesGenerator = _interopRequireDefault(__webpack_require__(809));
106273
106271
  var _string = __webpack_require__(335);
106274
106272
  var _translations = __webpack_require__(590);
106275
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
106276
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
106273
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
106274
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
106275
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
106276
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
106277
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
106277
106278
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
106278
106279
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'autoRowSize';
106279
106280
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 40;
@@ -106363,6 +106364,7 @@ const ROW_WIDTHS_MAP_NAME = 'autoRowSize';
106363
106364
  * :::
106364
106365
  */
106365
106366
  /* eslint-enable jsdoc/require-description-complete-sentence */
106367
+ var _visualRowsToRefresh = /*#__PURE__*/new WeakMap();
106366
106368
  var _AutoRowSize_brand = /*#__PURE__*/new WeakSet();
106367
106369
  class AutoRowSize extends _base.BasePlugin {
106368
106370
  static get PLUGIN_KEY() {
@@ -106391,7 +106393,9 @@ class AutoRowSize extends _base.BasePlugin {
106391
106393
  constructor(hotInstance) {
106392
106394
  super(hotInstance);
106393
106395
  /**
106394
- * On before view render listener.
106396
+ * Calculates specific rows height (overwrite cache values).
106397
+ *
106398
+ * @param {number[]} visualRows List of visual rows to calculate.
106395
106399
  */
106396
106400
  _classPrivateMethodInitSpec(this, _AutoRowSize_brand);
106397
106401
  (0, _defineProperty2.default)(this, "headerHeight", null);
@@ -106431,13 +106435,6 @@ class AutoRowSize extends _base.BasePlugin {
106431
106435
  value: cellValue
106432
106436
  };
106433
106437
  }));
106434
- /**
106435
- * `true` if only the first calculation was performed.
106436
- *
106437
- * @private
106438
- * @type {boolean}
106439
- */
106440
- (0, _defineProperty2.default)(this, "firstCalculation", true);
106441
106438
  /**
106442
106439
  * `true` if the size calculation is in progress.
106443
106440
  *
@@ -106457,6 +106454,12 @@ class AutoRowSize extends _base.BasePlugin {
106457
106454
  * @type {PhysicalIndexToValueMap}
106458
106455
  */
106459
106456
  (0, _defineProperty2.default)(this, "rowHeightsMap", new _translations.PhysicalIndexToValueMap());
106457
+ /**
106458
+ * An array of row indexes whose height will be recalculated.
106459
+ *
106460
+ * @type {number[]}
106461
+ */
106462
+ _classPrivateFieldInitSpec(this, _visualRowsToRefresh, []);
106460
106463
  this.hot.rowIndexMapper.registerMap(ROW_WIDTHS_MAP_NAME, this.rowHeightsMap);
106461
106464
 
106462
106465
  // Leave the listener active to allow auto-sizing the rows when the plugin is disabled.
@@ -106490,10 +106493,22 @@ class AutoRowSize extends _base.BasePlugin {
106490
106493
  }
106491
106494
  return _assertClassBrand(_AutoRowSize_brand, _this, _onAfterLoadData).call(_this, ...args);
106492
106495
  });
106493
- this.addHook('beforeChangeRender', changes => _assertClassBrand(_AutoRowSize_brand, this, _onBeforeChange).call(this, changes));
106496
+ this.addHook('beforeChangeRender', function () {
106497
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
106498
+ args[_key2] = arguments[_key2];
106499
+ }
106500
+ return _assertClassBrand(_AutoRowSize_brand, _this, _onBeforeChange).call(_this, ...args);
106501
+ });
106494
106502
  this.addHook('beforeColumnResize', () => this.recalculateAllRowsHeight());
106495
- this.addHook('beforeViewRender', force => _assertClassBrand(_AutoRowSize_brand, this, _onBeforeViewRender).call(this, force));
106503
+ this.addHook('afterFormulasValuesUpdate', function () {
106504
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
106505
+ args[_key3] = arguments[_key3];
106506
+ }
106507
+ return _assertClassBrand(_AutoRowSize_brand, _this, _onAfterFormulasValuesUpdate).call(_this, ...args);
106508
+ });
106509
+ this.addHook('beforeRender', () => _assertClassBrand(_AutoRowSize_brand, this, _onBeforeRender).call(this));
106496
106510
  this.addHook('modifyRowHeight', (height, row) => this.getRowHeight(row, height));
106511
+ this.addHook('init', () => _assertClassBrand(_AutoRowSize_brand, this, _onInit).call(this));
106497
106512
  this.addHook('modifyColumnHeaderHeight', () => this.getColumnHeaderHeight());
106498
106513
  super.enablePlugin();
106499
106514
  }
@@ -106506,16 +106521,36 @@ class AutoRowSize extends _base.BasePlugin {
106506
106521
  super.disablePlugin();
106507
106522
 
106508
106523
  // Leave the listener active to allow auto-sizing the rows when the plugin is disabled.
106509
- // This is necesseary for height recalculation for resize handler doubleclick (ManualRowResize).
106524
+ // This is necessary for height recalculation for resize handler doubleclick (ManualRowResize).
106510
106525
  this.addHook('beforeRowResize', (size, row, isDblClick) => _assertClassBrand(_AutoRowSize_brand, this, _onBeforeRowResize).call(this, size, row, isDblClick));
106511
106526
  }
106512
106527
 
106528
+ /**
106529
+ * Calculates heights for visible rows in the viewport only.
106530
+ */
106531
+ calculateVisibleRowsHeight() {
106532
+ // Keep last row heights unchanged for situation when all columns was deleted or trimmed
106533
+ if (!this.hot.countCols()) {
106534
+ return;
106535
+ }
106536
+ const firstVisibleRow = this.getFirstVisibleRow();
106537
+ const lastVisibleRow = this.getLastVisibleRow();
106538
+ if (firstVisibleRow === -1 || lastVisibleRow === -1) {
106539
+ return;
106540
+ }
106541
+ const overwriteCache = this.hot.renderCall;
106542
+ this.calculateRowsHeight({
106543
+ from: firstVisibleRow,
106544
+ to: lastVisibleRow
106545
+ }, undefined, overwriteCache);
106546
+ }
106547
+
106513
106548
  /**
106514
106549
  * Calculate a given rows height.
106515
106550
  *
106516
106551
  * @param {number|object} rowRange Row index or an object with `from` and `to` indexes as a range.
106517
106552
  * @param {number|object} colRange Column index or an object with `from` and `to` indexes as a range.
106518
- * @param {boolean} [force=false] If `true` the calculation will be processed regardless of whether the width exists in the cache.
106553
+ * @param {boolean} [overwriteCache=false] If `true` the calculation will be processed regardless of whether the width exists in the cache.
106519
106554
  */
106520
106555
  calculateRowsHeight() {
106521
106556
  let rowRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
@@ -106526,8 +106561,7 @@ class AutoRowSize extends _base.BasePlugin {
106526
106561
  from: 0,
106527
106562
  to: this.hot.countCols() - 1
106528
106563
  };
106529
- let force = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
106530
- // eslint-disable-line max-len
106564
+ let overwriteCache = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
106531
106565
  const rowsRange = typeof rowRange === 'number' ? {
106532
106566
  from: rowRange,
106533
106567
  to: rowRange
@@ -106540,15 +106574,17 @@ class AutoRowSize extends _base.BasePlugin {
106540
106574
  const samples = this.samplesGenerator.generateRowSamples(-1, columnsRange);
106541
106575
  this.ghostTable.addColumnHeadersRow(samples.get(-1));
106542
106576
  }
106543
- (0, _number.rangeEach)(rowsRange.from, rowsRange.to, row => {
106577
+ (0, _number.rangeEach)(rowsRange.from, rowsRange.to, visualRow => {
106578
+ let physicalRow = this.hot.toPhysicalRow(visualRow);
106579
+ if (physicalRow === null) {
106580
+ physicalRow = visualRow;
106581
+ }
106582
+
106544
106583
  // For rows we must calculate row height even when user had set height value manually.
106545
106584
  // We can shrink column but cannot shrink rows!
106546
- if (force || this.rowHeightsMap.getValueAtIndex(row) === null) {
106547
- const samples = this.samplesGenerator.generateRowSamples(row, columnsRange);
106548
- (0, _array.arrayEach)(samples, _ref => {
106549
- let [rowIndex, sample] = _ref;
106550
- return this.ghostTable.addRow(rowIndex, sample);
106551
- });
106585
+ if (overwriteCache || this.rowHeightsMap.getValueAtIndex(physicalRow) === null) {
106586
+ const samples = this.samplesGenerator.generateRowSamples(visualRow, columnsRange);
106587
+ samples.forEach((sample, row) => this.ghostTable.addRow(row, sample));
106552
106588
  }
106553
106589
  });
106554
106590
  if (this.ghostTable.rows.length) {
@@ -106571,12 +106607,14 @@ class AutoRowSize extends _base.BasePlugin {
106571
106607
  * To retrieve height for specified row use {@link AutoRowSize#getRowHeight} method.
106572
106608
  *
106573
106609
  * @param {object|number} colRange Row index or an object with `from` and `to` properties which define row range.
106610
+ * @param {boolean} [overwriteCache] If `true` the calculation will be processed regardless of whether the width exists in the cache.
106574
106611
  */
106575
106612
  calculateAllRowsHeight() {
106576
106613
  let colRange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
106577
106614
  from: 0,
106578
106615
  to: this.hot.countCols() - 1
106579
106616
  };
106617
+ let overwriteCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
106580
106618
  let current = 0;
106581
106619
  const length = this.hot.countRows() - 1;
106582
106620
  let timer = null;
@@ -106591,7 +106629,7 @@ class AutoRowSize extends _base.BasePlugin {
106591
106629
  this.calculateRowsHeight({
106592
106630
  from: current,
106593
106631
  to: Math.min(current + AutoRowSize.CALCULATION_STEP, length)
106594
- }, colRange);
106632
+ }, colRange, overwriteCache);
106595
106633
  current = current + AutoRowSize.CALCULATION_STEP + 1;
106596
106634
  if (current < length) {
106597
106635
  timer = (0, _feature.requestAnimationFrame)(loop);
@@ -106611,12 +106649,11 @@ class AutoRowSize extends _base.BasePlugin {
106611
106649
  const syncLimit = this.getSyncCalculationLimit();
106612
106650
 
106613
106651
  // sync
106614
- if (this.firstCalculation && syncLimit >= 0) {
106652
+ if (syncLimit >= 0) {
106615
106653
  this.calculateRowsHeight({
106616
106654
  from: 0,
106617
106655
  to: syncLimit
106618
- }, colRange);
106619
- this.firstCalculation = false;
106656
+ }, colRange, overwriteCache);
106620
106657
  current = syncLimit + 1;
106621
106658
  }
106622
106659
  // async
@@ -106627,7 +106664,6 @@ class AutoRowSize extends _base.BasePlugin {
106627
106664
  this.hot.view.adjustElementsSize();
106628
106665
  }
106629
106666
  }
106630
-
106631
106667
  /**
106632
106668
  * Sets the sampling options.
106633
106669
  *
@@ -106649,9 +106685,11 @@ class AutoRowSize extends _base.BasePlugin {
106649
106685
  * Recalculates all rows height (overwrite cache values).
106650
106686
  */
106651
106687
  recalculateAllRowsHeight() {
106652
- if ((0, _element.isVisible)(this.hot.view._wt.wtTable.TABLE)) {
106653
- this.clearCache();
106654
- this.calculateAllRowsHeight();
106688
+ if (this.hot.view.isVisible()) {
106689
+ this.calculateAllRowsHeight({
106690
+ from: 0,
106691
+ to: this.hot.countCols() - 1
106692
+ }, true);
106655
106693
  }
106656
106694
  }
106657
106695
 
@@ -106691,8 +106729,7 @@ class AutoRowSize extends _base.BasePlugin {
106691
106729
  * @param {number} [defaultHeight] If no height is found, `defaultHeight` is returned instead.
106692
106730
  * @returns {number} The height of the specified row, in pixels.
106693
106731
  */
106694
- getRowHeight(row) {
106695
- let defaultHeight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
106732
+ getRowHeight(row, defaultHeight) {
106696
106733
  const cachedHeight = row < 0 ? this.headerHeight : this.rowHeightsMap.getValueAtIndex(this.hot.toPhysicalRow(row));
106697
106734
  let height = defaultHeight;
106698
106735
  if (cachedHeight !== null && cachedHeight > (defaultHeight || 0)) {
@@ -106716,14 +106753,8 @@ class AutoRowSize extends _base.BasePlugin {
106716
106753
  * @returns {number} Returns row index, -1 if table is not rendered or if there are no rows to base the the calculations on.
106717
106754
  */
106718
106755
  getFirstVisibleRow() {
106719
- const wot = this.hot.view._wt;
106720
- if (wot.wtViewport.rowsVisibleCalculator) {
106721
- return wot.wtTable.getFirstVisibleRow();
106722
- }
106723
- if (wot.wtViewport.rowsRenderCalculator) {
106724
- return wot.wtTable.getFirstRenderedRow();
106725
- }
106726
- return -1;
106756
+ var _this$hot$view$getFir;
106757
+ return (_this$hot$view$getFir = this.hot.view.getFirstRenderedVisibleRow()) !== null && _this$hot$view$getFir !== void 0 ? _this$hot$view$getFir : -1;
106727
106758
  }
106728
106759
 
106729
106760
  /**
@@ -106732,22 +106763,27 @@ class AutoRowSize extends _base.BasePlugin {
106732
106763
  * @returns {number} Returns row index or -1 if table is not rendered.
106733
106764
  */
106734
106765
  getLastVisibleRow() {
106735
- const wot = this.hot.view._wt;
106736
- if (wot.wtViewport.rowsVisibleCalculator) {
106737
- return wot.wtTable.getLastVisibleRow();
106738
- }
106739
- if (wot.wtViewport.rowsRenderCalculator) {
106740
- return wot.wtTable.getLastRenderedRow();
106741
- }
106742
- return -1;
106766
+ var _this$hot$view$getLas;
106767
+ return (_this$hot$view$getLas = this.hot.view.getLastRenderedVisibleRow()) !== null && _this$hot$view$getLas !== void 0 ? _this$hot$view$getLas : -1;
106743
106768
  }
106744
106769
 
106745
106770
  /**
106746
- * Clears cached heights.
106771
+ * Clears cache of calculated row heights. If you want to clear only selected rows pass an array with their indexes.
106772
+ * Otherwise whole cache will be cleared.
106773
+ *
106774
+ * @param {number[]} [physicalRows] List of physical row indexes to clear.
106747
106775
  */
106748
- clearCache() {
106776
+ clearCache(physicalRows) {
106749
106777
  this.headerHeight = null;
106750
- this.rowHeightsMap.init();
106778
+ if (Array.isArray(physicalRows)) {
106779
+ this.hot.batchExecution(() => {
106780
+ physicalRows.forEach(physicalIndex => {
106781
+ this.rowHeightsMap.setValueAtIndex(physicalIndex, null);
106782
+ });
106783
+ }, true);
106784
+ } else {
106785
+ this.rowHeightsMap.clear();
106786
+ }
106751
106787
  }
106752
106788
 
106753
106789
  /**
@@ -106776,8 +106812,13 @@ class AutoRowSize extends _base.BasePlugin {
106776
106812
  * @returns {boolean}
106777
106813
  */
106778
106814
  isNeedRecalculate() {
106779
- return !!(0, _array.arrayFilter)(this.rowHeightsMap.getValues().slice(0, this.measuredRows), item => item === null).length;
106815
+ return !!this.rowHeightsMap.getValues().slice(0, this.measuredRows).filter(item => item === null).length;
106780
106816
  }
106817
+
106818
+ /**
106819
+ * On before view render listener.
106820
+ */
106821
+
106781
106822
  /**
106782
106823
  * Destroys the plugin instance.
106783
106824
  */
@@ -106787,29 +106828,32 @@ class AutoRowSize extends _base.BasePlugin {
106787
106828
  }
106788
106829
  }
106789
106830
  exports.AutoRowSize = AutoRowSize;
106790
- function _onBeforeViewRender() {
106791
- const force = this.hot.renderCall;
106792
- const fixedRowsBottom = this.hot.getSettings().fixedRowsBottom;
106793
- const firstVisibleRow = this.getFirstVisibleRow();
106794
- const lastVisibleRow = this.getLastVisibleRow();
106795
- if (firstVisibleRow === -1 || lastVisibleRow === -1) {
106796
- return;
106797
- }
106798
- this.calculateRowsHeight({
106799
- from: firstVisibleRow,
106800
- to: lastVisibleRow
106801
- }, undefined, force);
106802
-
106803
- // Calculate rows height synchronously for bottom overlay
106804
- if (fixedRowsBottom) {
106805
- const totalRows = this.hot.countRows() - 1;
106806
- this.calculateRowsHeight({
106807
- from: totalRows - fixedRowsBottom,
106808
- to: totalRows
106809
- });
106831
+ function _calculateSpecificRowsHeight(visualRows) {
106832
+ const columnsRange = {
106833
+ from: 0,
106834
+ to: this.hot.countCols() - 1
106835
+ };
106836
+ visualRows.forEach(visualRow => {
106837
+ // For rows we must calculate row height even when user had set height value manually.
106838
+ // We can shrink column but cannot shrink rows!
106839
+ const samples = this.samplesGenerator.generateRowSamples(visualRow, columnsRange);
106840
+ samples.forEach((sample, row) => this.ghostTable.addRow(row, sample));
106841
+ });
106842
+ if (this.ghostTable.rows.length) {
106843
+ this.hot.batchExecution(() => {
106844
+ this.ghostTable.getHeights((visualRow, height) => {
106845
+ const physicalRow = this.hot.toPhysicalRow(visualRow);
106846
+ this.rowHeightsMap.setValueAtIndex(physicalRow, height);
106847
+ });
106848
+ }, true);
106849
+ this.ghostTable.clean();
106810
106850
  }
106811
- if (this.isNeedRecalculate() && !this.inProgress) {
106812
- this.calculateAllRowsHeight();
106851
+ }
106852
+ function _onBeforeRender() {
106853
+ this.calculateVisibleRowsHeight();
106854
+ if (!this.inProgress) {
106855
+ _assertClassBrand(_AutoRowSize_brand, this, _calculateSpecificRowsHeight).call(this, _classPrivateFieldGet(_visualRowsToRefresh, this));
106856
+ _classPrivateFieldSet(_visualRowsToRefresh, this, []);
106813
106857
  }
106814
106858
  }
106815
106859
  /**
@@ -106830,17 +106874,13 @@ function _onBeforeRowResize(size, row, isDblClick) {
106830
106874
  }
106831
106875
  /**
106832
106876
  * On after load data listener.
106877
+ *
106878
+ * @param {Array} sourceData Source data.
106879
+ * @param {boolean} isFirstLoad `true` if this is the first load.
106833
106880
  */
106834
- function _onAfterLoadData() {
106835
- if (this.hot.view) {
106881
+ function _onAfterLoadData(sourceData, isFirstLoad) {
106882
+ if (!isFirstLoad) {
106836
106883
  this.recalculateAllRowsHeight();
106837
- } else {
106838
- // first load - initialization
106839
- this.hot._registerTimeout(() => {
106840
- if (this.hot) {
106841
- this.recalculateAllRowsHeight();
106842
- }
106843
- });
106844
106884
  }
106845
106885
  }
106846
106886
  /**
@@ -106849,18 +106889,39 @@ function _onAfterLoadData() {
106849
106889
  * @param {Array} changes 2D array containing information about each of the edited cells.
106850
106890
  */
106851
106891
  function _onBeforeChange(changes) {
106852
- let range = null;
106853
- if (changes.length === 1) {
106854
- range = changes[0][0];
106855
- } else if (changes.length > 1) {
106856
- range = {
106857
- from: changes[0][0],
106858
- to: changes[changes.length - 1][0]
106859
- };
106860
- }
106861
- if (range !== null) {
106862
- this.clearCacheByRange(range);
106863
- }
106892
+ const changedRows = changes.reduce((acc, _ref) => {
106893
+ let [row] = _ref;
106894
+ if (acc.indexOf(row) === -1) {
106895
+ acc.push(row);
106896
+ }
106897
+ return acc;
106898
+ }, []);
106899
+ _classPrivateFieldGet(_visualRowsToRefresh, this).push(...changedRows);
106900
+ }
106901
+ /**
106902
+ * On after Handsontable init plugin with all necessary values.
106903
+ */
106904
+ function _onInit() {
106905
+ this.recalculateAllRowsHeight();
106906
+ }
106907
+ /**
106908
+ * After formulas values updated listener.
106909
+ *
106910
+ * @param {Array} changes An array of modified data.
106911
+ */
106912
+ function _onAfterFormulasValuesUpdate(changes) {
106913
+ const changedRows = changes.reduce((acc, change) => {
106914
+ var _change$address;
106915
+ const physicalRow = (_change$address = change.address) === null || _change$address === void 0 ? void 0 : _change$address.row;
106916
+ if (Number.isInteger(physicalRow)) {
106917
+ const visualRow = this.hot.toVisualRow(physicalRow);
106918
+ if (acc.indexOf(visualRow) === -1) {
106919
+ acc.push(visualRow);
106920
+ }
106921
+ }
106922
+ return acc;
106923
+ }, []);
106924
+ _classPrivateFieldGet(_visualRowsToRefresh, this).push(...changedRows);
106864
106925
  }
106865
106926
 
106866
106927
  /***/ }),
@@ -106890,8 +106951,8 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
106890
106951
  var _base = __webpack_require__(806);
106891
106952
  var _looseBindsMap = _interopRequireDefault(__webpack_require__(817));
106892
106953
  var _strictBindsMap = _interopRequireDefault(__webpack_require__(818));
106893
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
106894
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
106954
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
106955
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
106895
106956
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
106896
106957
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'bindRowsWithHeaders';
106897
106958
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 210;
@@ -107140,9 +107201,9 @@ var _element = __webpack_require__(334);
107140
107201
  var _event = __webpack_require__(492);
107141
107202
  var _shortcutContexts = __webpack_require__(649);
107142
107203
  var _a11y = __webpack_require__(479);
107143
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
107144
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
107145
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
107204
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
107205
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
107206
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
107146
107207
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
107147
107208
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
107148
107209
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -107766,8 +107827,8 @@ var _domHelpers = __webpack_require__(833);
107766
107827
  var _rootComparator = __webpack_require__(834);
107767
107828
  var _sortService = __webpack_require__(825);
107768
107829
  var _a11y = __webpack_require__(479);
107769
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
107770
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
107830
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
107831
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
107771
107832
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
107772
107833
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSorting';
107773
107834
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 50;
@@ -109378,8 +109439,8 @@ var _object = __webpack_require__(482);
109378
109439
  var _endpoints = _interopRequireDefault(__webpack_require__(837));
109379
109440
  var _templateLiteralTag = __webpack_require__(477);
109380
109441
  var _utils = __webpack_require__(838);
109381
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
109382
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
109442
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
109443
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
109383
109444
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
109384
109445
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'columnSummary';
109385
109446
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 220;
@@ -110454,9 +110515,9 @@ var _addEditComment = _interopRequireDefault(__webpack_require__(859));
110454
110515
  var _removeComment = _interopRequireDefault(__webpack_require__(860));
110455
110516
  var _readOnlyComment = _interopRequireDefault(__webpack_require__(861));
110456
110517
  __webpack_require__(862);
110457
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
110458
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
110459
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
110518
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
110519
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
110520
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
110460
110521
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
110461
110522
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
110462
110523
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -111249,8 +111310,8 @@ var _element = __webpack_require__(334);
111249
111310
  var _object = __webpack_require__(482);
111250
111311
  var _localHooks = _interopRequireDefault(__webpack_require__(571));
111251
111312
  var _editorResizeObserver = __webpack_require__(842);
111252
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
111253
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
111313
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
111314
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
111254
111315
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
111255
111316
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
111256
111317
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -111512,9 +111573,9 @@ exports.__esModule = true;
111512
111573
  __webpack_require__(204);
111513
111574
  var _object = __webpack_require__(482);
111514
111575
  var _localHooks = _interopRequireDefault(__webpack_require__(571));
111515
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
111516
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
111517
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
111576
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
111577
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
111578
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
111518
111579
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
111519
111580
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
111520
111581
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -112896,8 +112957,8 @@ var _utils = __webpack_require__(846);
112896
112957
  var _element = __webpack_require__(334);
112897
112958
  var _predefinedItems = __webpack_require__(844);
112898
112959
  __webpack_require__(879);
112899
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
112900
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
112960
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
112961
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
112901
112962
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
112902
112963
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'contextMenu';
112903
112964
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 70;
@@ -113629,8 +113690,8 @@ var _object = __webpack_require__(482);
113629
113690
  var _localHooks = _interopRequireDefault(__webpack_require__(571));
113630
113691
  var _menuItemRenderer = __webpack_require__(878);
113631
113692
  var _a11y = __webpack_require__(479);
113632
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
113633
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
113693
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
113694
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
113634
113695
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
113635
113696
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
113636
113697
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -114258,8 +114319,8 @@ exports.Menu = Menu;
114258
114319
  exports.__esModule = true;
114259
114320
  __webpack_require__(204);
114260
114321
  var _cursor2 = __webpack_require__(872);
114261
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
114262
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
114322
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
114323
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
114263
114324
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
114264
114325
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
114265
114326
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -115321,9 +115382,9 @@ var _pasteEvent = _interopRequireDefault(__webpack_require__(887));
115321
115382
  var _copyableRanges = __webpack_require__(889);
115322
115383
  var _parseTable = __webpack_require__(504);
115323
115384
  __webpack_require__(890);
115324
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
115325
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
115326
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
115385
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
115386
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
115387
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
115327
115388
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
115328
115389
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
115329
115390
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -116407,9 +116468,9 @@ __webpack_require__(204);
116407
116468
  __webpack_require__(286);
116408
116469
  var _array = __webpack_require__(478);
116409
116470
  var _number = __webpack_require__(512);
116410
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
116411
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
116412
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
116471
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
116472
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
116473
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
116413
116474
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
116414
116475
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
116415
116476
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -116670,8 +116731,8 @@ var _utils = __webpack_require__(895);
116670
116731
  var _selection = __webpack_require__(615);
116671
116732
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
116672
116733
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
116673
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
116674
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
116734
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
116735
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
116675
116736
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
116676
116737
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'customBorders';
116677
116738
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 90;
@@ -117878,8 +117939,8 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
117878
117939
  var _base = __webpack_require__(806);
117879
117940
  var _event = __webpack_require__(492);
117880
117941
  var _element = __webpack_require__(334);
117881
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
117882
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
117942
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
117943
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
117883
117944
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
117884
117945
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'dragToScroll';
117885
117946
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 100;
@@ -118153,9 +118214,9 @@ var _pluginHooks = _interopRequireDefault(__webpack_require__(494));
118153
118214
  var _predefinedItems = __webpack_require__(844);
118154
118215
  __webpack_require__(904);
118155
118216
  var _a11y = __webpack_require__(479);
118156
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
118157
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
118158
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
118217
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
118218
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
118219
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
118159
118220
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
118160
118221
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
118161
118222
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -119332,9 +119393,9 @@ var _translations = __webpack_require__(590);
119332
119393
  __webpack_require__(959);
119333
119394
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
119334
119395
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
119335
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
119336
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
119337
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
119396
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
119397
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
119398
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
119338
119399
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
119339
119400
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
119340
119401
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -120241,8 +120302,8 @@ var _select = __webpack_require__(947);
120241
120302
  var _conditionRegisterer = __webpack_require__(916);
120242
120303
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
120243
120304
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
120244
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
120245
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
120305
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
120306
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
120246
120307
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
120247
120308
  /**
120248
120309
  * @private
@@ -121836,9 +121897,9 @@ __webpack_require__(204);
121836
121897
  var _element = __webpack_require__(334);
121837
121898
  var _object = __webpack_require__(482);
121838
121899
  var _base = __webpack_require__(946);
121839
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
121840
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
121841
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
121900
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
121901
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
121902
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
121842
121903
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
121843
121904
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
121844
121905
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -122162,9 +122223,9 @@ var _base = __webpack_require__(946);
122162
122223
  var _a11y = __webpack_require__(479);
122163
122224
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
122164
122225
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
122165
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
122166
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
122167
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
122226
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
122227
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
122228
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
122168
122229
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
122169
122230
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
122170
122231
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -122423,8 +122484,8 @@ var _conjunction = __webpack_require__(941);
122423
122484
  var _disjunction = __webpack_require__(943);
122424
122485
  var _disjunctionWithExtraCondition = __webpack_require__(944);
122425
122486
  var _radioInput = __webpack_require__(949);
122426
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
122427
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
122487
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
122488
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
122428
122489
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
122429
122490
  const SELECTED_AT_START_ELEMENT_INDEX = 0;
122430
122491
 
@@ -122587,8 +122648,8 @@ exports.__esModule = true;
122587
122648
  __webpack_require__(204);
122588
122649
  var _object = __webpack_require__(482);
122589
122650
  var _base = __webpack_require__(946);
122590
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
122591
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
122651
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
122652
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
122592
122653
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
122593
122654
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
122594
122655
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -122707,8 +122768,8 @@ var _conditionRegisterer = __webpack_require__(916);
122707
122768
  var _numericRenderer = __webpack_require__(761);
122708
122769
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
122709
122770
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
122710
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
122711
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
122771
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
122772
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
122712
122773
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
122713
122774
  /**
122714
122775
  * @private
@@ -122967,9 +123028,9 @@ var _link = __webpack_require__(952);
122967
123028
  var _utils = __webpack_require__(938);
122968
123029
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
122969
123030
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
122970
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
122971
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
122972
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
123031
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
123032
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
123033
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
122973
123034
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
122974
123035
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
122975
123036
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -123385,8 +123446,8 @@ exports.__esModule = true;
123385
123446
  __webpack_require__(204);
123386
123447
  var _object = __webpack_require__(482);
123387
123448
  var _base = __webpack_require__(946);
123388
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
123389
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
123449
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
123450
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
123390
123451
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
123391
123452
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
123392
123453
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -123472,8 +123533,8 @@ var _input = __webpack_require__(945);
123472
123533
  var _ActionBarComponent;
123473
123534
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
123474
123535
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
123475
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
123476
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
123536
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
123537
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
123477
123538
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
123478
123539
  /**
123479
123540
  * @private
@@ -123979,8 +124040,8 @@ var _localHooks = _interopRequireDefault(__webpack_require__(571));
123979
124040
  var _conditionCollection = _interopRequireDefault(__webpack_require__(954));
123980
124041
  var _dataFilter = _interopRequireDefault(__webpack_require__(955));
123981
124042
  var _utils = __webpack_require__(938);
123982
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
123983
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
124043
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
124044
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
123984
124045
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
123985
124046
  /**
123986
124047
  * Class which is designed for observing changes in condition collection. When condition is changed by user at specified
@@ -124411,9 +124472,9 @@ var _data = __webpack_require__(589);
124411
124472
  var _string = __webpack_require__(335);
124412
124473
  var _pluginHooks = _interopRequireDefault(__webpack_require__(494));
124413
124474
  var _indexSyncer = _interopRequireDefault(__webpack_require__(965));
124414
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
124415
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
124416
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
124475
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
124476
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
124477
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
124417
124478
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
124418
124479
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
124419
124480
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -126141,8 +126202,8 @@ var _interopRequireDefault = __webpack_require__(197);
126141
126202
  exports.__esModule = true;
126142
126203
  __webpack_require__(204);
126143
126204
  var _axisSyncer = _interopRequireDefault(__webpack_require__(966));
126144
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
126145
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
126205
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
126206
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
126146
126207
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
126147
126208
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
126148
126209
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -126313,8 +126374,8 @@ __webpack_require__(204);
126313
126374
  __webpack_require__(286);
126314
126375
  var _string = __webpack_require__(335);
126315
126376
  var _moves = __webpack_require__(967);
126316
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
126317
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
126377
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
126378
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
126318
126379
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
126319
126380
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
126320
126381
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -126662,9 +126723,9 @@ var _hideColumn = _interopRequireDefault(__webpack_require__(970));
126662
126723
  var _showColumn = _interopRequireDefault(__webpack_require__(971));
126663
126724
  var _translations = __webpack_require__(590);
126664
126725
  __webpack_require__(972);
126665
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
126666
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
126667
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
126726
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
126727
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
126728
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
126668
126729
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
126669
126730
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
126670
126731
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -127369,9 +127430,9 @@ var _hideRow = _interopRequireDefault(__webpack_require__(975));
127369
127430
  var _showRow = _interopRequireDefault(__webpack_require__(976));
127370
127431
  var _translations = __webpack_require__(590);
127371
127432
  __webpack_require__(977);
127372
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
127373
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
127374
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
127433
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
127434
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
127435
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
127375
127436
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
127376
127437
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
127377
127438
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -128054,9 +128115,9 @@ var _pluginHooks = _interopRequireDefault(__webpack_require__(494));
128054
128115
  var _freezeColumn = _interopRequireDefault(__webpack_require__(980));
128055
128116
  var _unfreezeColumn = _interopRequireDefault(__webpack_require__(981));
128056
128117
  __webpack_require__(982);
128057
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
128058
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
128059
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
128118
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
128119
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
128120
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
128060
128121
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
128061
128122
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
128062
128123
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -128374,9 +128435,9 @@ var _number = __webpack_require__(512);
128374
128435
  var _backlight2 = _interopRequireDefault(__webpack_require__(985));
128375
128436
  var _guideline2 = _interopRequireDefault(__webpack_require__(987));
128376
128437
  __webpack_require__(988);
128377
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
128378
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
128379
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
128438
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
128439
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
128440
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
128380
128441
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
128381
128442
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
128382
128443
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -129320,9 +129381,9 @@ var _element = __webpack_require__(334);
129320
129381
  var _array = __webpack_require__(478);
129321
129382
  var _number = __webpack_require__(512);
129322
129383
  var _translations = __webpack_require__(590);
129323
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
129324
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
129325
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
129384
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
129385
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
129386
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
129326
129387
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
129327
129388
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
129328
129389
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -129988,9 +130049,9 @@ var _number = __webpack_require__(512);
129988
130049
  var _backlight2 = _interopRequireDefault(__webpack_require__(993));
129989
130050
  var _guideline2 = _interopRequireDefault(__webpack_require__(995));
129990
130051
  __webpack_require__(996);
129991
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
129992
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
129993
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
130052
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
130053
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
130054
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
129994
130055
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
129995
130056
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
129996
130057
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -130890,9 +130951,9 @@ var _array = __webpack_require__(478);
130890
130951
  var _number = __webpack_require__(512);
130891
130952
  var _translations = __webpack_require__(590);
130892
130953
  var _src = __webpack_require__(518);
130893
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
130894
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
130895
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
130954
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
130955
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
130956
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
130896
130957
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
130897
130958
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
130898
130959
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -131553,9 +131614,9 @@ var _element = __webpack_require__(334);
131553
131614
  var _browser = __webpack_require__(481);
131554
131615
  var _focusOrder2 = __webpack_require__(1007);
131555
131616
  var _renderer = __webpack_require__(1009);
131556
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
131557
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
131558
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
131617
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
131618
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
131619
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
131559
131620
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
131560
131621
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
131561
131622
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -133029,8 +133090,8 @@ var _number = __webpack_require__(512);
133029
133090
  var _console = __webpack_require__(500);
133030
133091
  var _array = __webpack_require__(478);
133031
133092
  var _templateLiteralTag = __webpack_require__(477);
133032
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
133033
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
133093
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
133094
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
133034
133095
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
133035
133096
  /**
133036
133097
  * Defines a container object for the merged cells.
@@ -133516,8 +133577,8 @@ exports.__esModule = true;
133516
133577
  __webpack_require__(204);
133517
133578
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
133518
133579
  var _templateLiteralTag = __webpack_require__(477);
133519
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
133520
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
133580
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
133581
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
133521
133582
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
133522
133583
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
133523
133584
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -134489,9 +134550,9 @@ exports.__esModule = true;
134489
134550
  __webpack_require__(204);
134490
134551
  __webpack_require__(286);
134491
134552
  var _linkedList = _interopRequireDefault(__webpack_require__(1008));
134492
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
134493
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
134494
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
134553
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
134554
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
134555
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
134495
134556
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
134496
134557
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
134497
134558
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -135956,9 +136017,9 @@ var _base = __webpack_require__(806);
135956
136017
  var _stateManager2 = _interopRequireDefault(__webpack_require__(1020));
135957
136018
  var _ghostTable = _interopRequireDefault(__webpack_require__(1033));
135958
136019
  __webpack_require__(1034);
135959
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
135960
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
135961
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
136020
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
136021
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
136022
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
135962
136023
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
135963
136024
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
135964
136025
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -135977,6 +136038,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
135977
136038
  * To make any header wider (covering multiple table columns), it's corresponding configuration array element should be
135978
136039
  * provided as an object with `label` and `colspan` properties. The `label` property defines the header's label,
135979
136040
  * while the `colspan` property defines a number of columns that the header should cover.
136041
+ * You can also set custom class names to any of the headers by providing the `headerClassName` property.
135980
136042
  *
135981
136043
  * __Note__ that the plugin supports a *nested* structure, which means, any header cannot be wider than it's "parent". In
135982
136044
  * other words, headers cannot overlap each other.
@@ -135988,7 +136050,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
135988
136050
  * const hot = new Handsontable(container, {
135989
136051
  * data: getData(),
135990
136052
  * nestedHeaders: [
135991
- * ['A', {label: 'B', colspan: 8}, 'C'],
136053
+ * ['A', {label: 'B', colspan: 8, headerClassName: 'htRight'}, 'C'],
135992
136054
  * ['D', {label: 'E', colspan: 4}, {label: 'F', colspan: 4}, 'G'],
135993
136055
  * ['H', {label: 'I', colspan: 2}, {label: 'J', colspan: 2}, {label: 'K', colspan: 2}, {label: 'L', colspan: 2}, 'M'],
135994
136056
  * ['N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W']
@@ -136001,7 +136063,7 @@ const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 280;
136001
136063
  * <HotTable
136002
136064
  * data={getData()}
136003
136065
  * nestedHeaders={[
136004
- * ['A', {label: 'B', colspan: 8}, 'C'],
136066
+ * ['A', {label: 'B', colspan: 8, headerClassName: 'htRight'}, 'C'],
136005
136067
  * ['D', {label: 'E', colspan: 4}, {label: 'F', colspan: 4}, 'G'],
136006
136068
  * ['H', {label: 'I', colspan: 2}, {label: 'J', colspan: 2}, {label: 'K', colspan: 2}, {label: 'L', colspan: 2}, 'M'],
136007
136069
  * ['N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W']
@@ -136356,7 +136418,8 @@ class NestedHeaders extends _base.BasePlugin {
136356
136418
  const {
136357
136419
  colspan,
136358
136420
  isHidden,
136359
- isPlaceholder
136421
+ isPlaceholder,
136422
+ headerClassNames
136360
136423
  } = (_classPrivateFieldGet2 = _classPrivateFieldGet(_stateManager, this).getHeaderSettings(headerLevel, visualColumnIndex)) !== null && _classPrivateFieldGet2 !== void 0 ? _classPrivateFieldGet2 : {
136361
136424
  label: ''
136362
136425
  };
@@ -136379,6 +136442,15 @@ class NestedHeaders extends _base.BasePlugin {
136379
136442
  this.hot.view.appendColHeader(visualColumnIndex, TH, function () {
136380
136443
  return _this2.getColumnHeaderValue(...arguments);
136381
136444
  }, headerLevel);
136445
+
136446
+ // Replace the higher-order `headerClassName`s with the one provided in the plugin config, if it was provided.
136447
+ if (!isPlaceholder && !isHidden) {
136448
+ const innerHeaderDiv = TH.querySelector('div.relative');
136449
+ if (innerHeaderDiv && headerClassNames && headerClassNames.length > 0) {
136450
+ (0, _element.removeClass)(innerHeaderDiv, this.hot.getColumnMeta(visualColumnIndex).headerClassName);
136451
+ (0, _element.addClass)(innerHeaderDiv, headerClassNames);
136452
+ }
136453
+ }
136382
136454
  };
136383
136455
  }
136384
136456
 
@@ -136896,8 +136968,8 @@ var _headersTree2 = _interopRequireDefault(__webpack_require__(1024));
136896
136968
  var _nodeModifiers = __webpack_require__(1026);
136897
136969
  var _matrixGenerator = __webpack_require__(1032);
136898
136970
  var _tree = __webpack_require__(1025);
136899
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
136900
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
136971
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
136972
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
136901
136973
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
136902
136974
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
136903
136975
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -137383,8 +137455,8 @@ __webpack_require__(286);
137383
137455
  var _object = __webpack_require__(482);
137384
137456
  var _array = __webpack_require__(478);
137385
137457
  var _settingsNormalizer = __webpack_require__(1022);
137386
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
137387
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
137458
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
137459
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
137388
137460
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
137389
137461
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
137390
137462
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -137663,13 +137735,17 @@ function normalizeSettings(sourceSettings) {
137663
137735
  if ((0, _object.isObject)(sourceHeaderSettings)) {
137664
137736
  const {
137665
137737
  label,
137666
- colspan
137738
+ colspan,
137739
+ headerClassName
137667
137740
  } = sourceHeaderSettings;
137668
137741
  headerSettings.label = (0, _mixed.stringify)(label);
137669
137742
  if (typeof colspan === 'number' && colspan > 1) {
137670
137743
  headerSettings.colspan = colspan;
137671
137744
  headerSettings.origColspan = colspan;
137672
137745
  }
137746
+ if (typeof headerClassName === 'string') {
137747
+ headerSettings.headerClassNames = [...headerClassName.split(' ')];
137748
+ }
137673
137749
  } else {
137674
137750
  headerSettings.label = (0, _mixed.stringify)(sourceHeaderSettings);
137675
137751
  }
@@ -137728,6 +137804,8 @@ exports.createPlaceholderHeaderSettings = createPlaceholderHeaderSettings;
137728
137804
  * For example for header with colspan = 8 the 7 blank objects are generated to fill the array settings
137729
137805
  * to length = 8.
137730
137806
  * @property {boolean} isPlaceholder The flag determines whether the column header at the specified index is non-renderable.
137807
+ * @property {string[]} headerClassNames The list of CSS classes that will be added to the `div` element inside the
137808
+ * header Acts as a replacement for the analogous property from the Handsontable settings.
137731
137809
  */
137732
137810
 
137733
137811
  /**
@@ -137746,7 +137824,8 @@ function createDefaultHeaderSettings() {
137746
137824
  isCollapsed = false,
137747
137825
  isHidden = false,
137748
137826
  isRoot = false,
137749
- isPlaceholder = false
137827
+ isPlaceholder = false,
137828
+ headerClassNames = []
137750
137829
  } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
137751
137830
  return {
137752
137831
  label,
@@ -137757,7 +137836,8 @@ function createDefaultHeaderSettings() {
137757
137836
  crossHiddenColumns,
137758
137837
  isHidden,
137759
137838
  isRoot,
137760
- isPlaceholder
137839
+ isPlaceholder,
137840
+ headerClassNames
137761
137841
  };
137762
137842
  }
137763
137843
 
@@ -137787,8 +137867,8 @@ exports.__esModule = true;
137787
137867
  __webpack_require__(204);
137788
137868
  var _array = __webpack_require__(478);
137789
137869
  var _tree = _interopRequireDefault(__webpack_require__(1025));
137790
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
137791
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
137870
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
137871
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
137792
137872
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
137793
137873
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
137794
137874
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -138994,9 +139074,9 @@ var _translations = __webpack_require__(590);
138994
139074
  var _shortcutContexts = __webpack_require__(649);
138995
139075
  var _rowMoveController = _interopRequireDefault(__webpack_require__(1042));
138996
139076
  __webpack_require__(1043);
138997
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
138998
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
138999
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
139077
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
139078
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
139079
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
139000
139080
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
139001
139081
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
139002
139082
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
@@ -140904,8 +140984,8 @@ var C = _interopRequireWildcard(__webpack_require__(614));
140904
140984
  var _base = _interopRequireDefault(__webpack_require__(1039));
140905
140985
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
140906
140986
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
140907
- function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
140908
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
140987
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
140988
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
140909
140989
  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
140910
140990
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
140911
140991
  /**
@@ -141622,8 +141702,8 @@ var _base = __webpack_require__(806);
141622
141702
  var _object = __webpack_require__(482);
141623
141703
  var _number = __webpack_require__(512);
141624
141704
  var _mixed = __webpack_require__(337);
141625
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
141626
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
141705
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
141706
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
141627
141707
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
141628
141708
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'search';
141629
141709
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 190;
@@ -141943,8 +142023,8 @@ var _element = __webpack_require__(334);
141943
142023
  var _array = __webpack_require__(478);
141944
142024
  var _base = __webpack_require__(806);
141945
142025
  var _feature = __webpack_require__(485);
141946
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
141947
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
142026
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
142027
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
141948
142028
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
141949
142029
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'touchScroll';
141950
142030
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 200;
@@ -142151,8 +142231,8 @@ var _defineProperty2 = _interopRequireDefault(__webpack_require__(487));
142151
142231
  var _base = __webpack_require__(806);
142152
142232
  var _translations = __webpack_require__(590);
142153
142233
  var _array = __webpack_require__(478);
142154
- function _classPrivateMethodInitSpec(obj, privateSet) { _checkPrivateRedeclaration(obj, privateSet); privateSet.add(obj); }
142155
- function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
142234
+ function _classPrivateMethodInitSpec(e, a) { _checkPrivateRedeclaration(e, a), a.add(e); }
142235
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
142156
142236
  function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
142157
142237
  const PLUGIN_KEY = exports.PLUGIN_KEY = 'trimRows';
142158
142238
  const PLUGIN_PRIORITY = exports.PLUGIN_PRIORITY = 330;