handsontable 0.0.0-next-fc6b71a-20231129 → 0.0.0-next-f76fee2-20231130

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 (360) hide show
  1. package/3rdparty/walkontable/src/calculator/constants.js +3 -6
  2. package/3rdparty/walkontable/src/calculator/viewportColumns.js +1 -2
  3. package/3rdparty/walkontable/src/calculator/viewportRows.js +1 -2
  4. package/3rdparty/walkontable/src/cell/coords.js +1 -2
  5. package/3rdparty/walkontable/src/cell/range.js +1 -2
  6. package/3rdparty/walkontable/src/event.js +1 -2
  7. package/3rdparty/walkontable/src/filter/column.js +1 -2
  8. package/3rdparty/walkontable/src/filter/row.js +1 -2
  9. package/3rdparty/walkontable/src/index.js +2 -2
  10. package/3rdparty/walkontable/src/overlay/constants.js +7 -14
  11. package/3rdparty/walkontable/src/overlays.js +1 -2
  12. package/3rdparty/walkontable/src/scroll.js +1 -2
  13. package/3rdparty/walkontable/src/selection/border/border.js +1 -2
  14. package/3rdparty/walkontable/src/selection/border/constants.js +2 -3
  15. package/3rdparty/walkontable/src/selection/constants.js +8 -16
  16. package/3rdparty/walkontable/src/selection/selection.js +1 -2
  17. package/3rdparty/walkontable/src/table/bottom.js +1 -2
  18. package/3rdparty/walkontable/src/table/bottomInlineStartCorner.js +1 -2
  19. package/3rdparty/walkontable/src/table/inlineStart.js +1 -2
  20. package/3rdparty/walkontable/src/table/master.js +1 -2
  21. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +1 -2
  22. package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +1 -2
  23. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +1 -2
  24. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +1 -2
  25. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +1 -2
  26. package/3rdparty/walkontable/src/table/top.js +1 -2
  27. package/3rdparty/walkontable/src/table/topInlineStartCorner.js +1 -2
  28. package/3rdparty/walkontable/src/table.js +1 -2
  29. package/3rdparty/walkontable/src/utils/orderView/constants.js +3 -6
  30. package/3rdparty/walkontable/src/viewport.js +1 -2
  31. package/CHANGELOG.md +84 -15
  32. package/base.js +3 -4
  33. package/base.mjs +2 -2
  34. package/cellTypes/autocompleteType/autocompleteType.js +3 -5
  35. package/cellTypes/checkboxType/checkboxType.js +3 -5
  36. package/cellTypes/dateType/dateType.js +3 -5
  37. package/cellTypes/dropdownType/dropdownType.js +3 -5
  38. package/cellTypes/handsontableType/handsontableType.js +3 -5
  39. package/cellTypes/numericType/numericType.js +3 -5
  40. package/cellTypes/passwordType/passwordType.js +3 -5
  41. package/cellTypes/selectType/selectType.js +3 -5
  42. package/cellTypes/textType/textType.js +3 -5
  43. package/cellTypes/timeType/timeType.js +3 -5
  44. package/core.js +19 -9
  45. package/core.mjs +19 -9
  46. package/dataMap/dataMap.js +1 -2
  47. package/dataMap/dataSource.js +1 -2
  48. package/dataMap/metaManager/metaSchema.js +11 -11
  49. package/dataMap/metaManager/metaSchema.mjs +11 -11
  50. package/dist/handsontable.css +2 -2
  51. package/dist/handsontable.full.css +2 -2
  52. package/dist/handsontable.full.js +5147 -5188
  53. package/dist/handsontable.full.min.css +2 -2
  54. package/dist/handsontable.full.min.js +160 -150
  55. package/dist/handsontable.js +627 -1038
  56. package/dist/handsontable.min.css +2 -2
  57. package/dist/handsontable.min.js +31 -31
  58. package/dist/languages/all.js +19 -38
  59. package/dist/languages/all.min.js +1 -1
  60. package/dist/languages/ar-AR.js +1 -2
  61. package/dist/languages/cs-CZ.js +1 -2
  62. package/dist/languages/de-CH.js +1 -2
  63. package/dist/languages/de-DE.js +1 -2
  64. package/dist/languages/en-US.js +1 -2
  65. package/dist/languages/es-MX.js +1 -2
  66. package/dist/languages/fr-FR.js +1 -2
  67. package/dist/languages/it-IT.js +1 -2
  68. package/dist/languages/ja-JP.js +1 -2
  69. package/dist/languages/ko-KR.js +1 -2
  70. package/dist/languages/lv-LV.js +1 -2
  71. package/dist/languages/nb-NO.js +1 -2
  72. package/dist/languages/nl-NL.js +1 -2
  73. package/dist/languages/pl-PL.js +1 -2
  74. package/dist/languages/pt-BR.js +1 -2
  75. package/dist/languages/ru-RU.js +1 -2
  76. package/dist/languages/sr-SP.js +1 -2
  77. package/dist/languages/zh-CN.js +1 -2
  78. package/dist/languages/zh-TW.js +1 -2
  79. package/editorManager.js +2 -4
  80. package/editors/autocompleteEditor/autocompleteEditor.js +1 -2
  81. package/editors/baseEditor/baseEditor.js +3 -6
  82. package/editors/checkboxEditor/checkboxEditor.js +1 -2
  83. package/editors/dateEditor/dateEditor.js +1 -2
  84. package/editors/dropdownEditor/dropdownEditor.js +1 -2
  85. package/editors/handsontableEditor/handsontableEditor.js +1 -2
  86. package/editors/numericEditor/numericEditor.js +1 -2
  87. package/editors/passwordEditor/passwordEditor.js +1 -2
  88. package/editors/selectEditor/selectEditor.js +1 -2
  89. package/editors/textEditor/textEditor.js +1 -2
  90. package/editors/timeEditor/timeEditor.js +1 -2
  91. package/eventManager.js +1 -2
  92. package/helpers/dom/element.js +1 -2
  93. package/helpers/mixed.js +2 -2
  94. package/helpers/mixed.mjs +2 -2
  95. package/helpers/unicode.js +1 -2
  96. package/i18n/constants.js +84 -166
  97. package/i18n/languages/ar-AR.js +3 -4
  98. package/i18n/languages/cs-CZ.js +3 -4
  99. package/i18n/languages/de-CH.js +3 -4
  100. package/i18n/languages/de-DE.js +3 -4
  101. package/i18n/languages/en-US.js +3 -4
  102. package/i18n/languages/es-MX.js +3 -4
  103. package/i18n/languages/fr-FR.js +3 -4
  104. package/i18n/languages/it-IT.js +3 -4
  105. package/i18n/languages/ja-JP.js +3 -4
  106. package/i18n/languages/ko-KR.js +3 -4
  107. package/i18n/languages/lv-LV.js +3 -4
  108. package/i18n/languages/nb-NO.js +3 -4
  109. package/i18n/languages/nl-NL.js +3 -4
  110. package/i18n/languages/pl-PL.js +3 -4
  111. package/i18n/languages/pt-BR.js +3 -4
  112. package/i18n/languages/ru-RU.js +3 -4
  113. package/i18n/languages/sr-SP.js +3 -4
  114. package/i18n/languages/zh-CN.js +3 -4
  115. package/i18n/languages/zh-TW.js +3 -4
  116. package/i18n/registry.js +4 -6
  117. package/index.js +3 -4
  118. package/languages/all.js +19 -38
  119. package/languages/ar-AR.js +1 -2
  120. package/languages/cs-CZ.js +1 -2
  121. package/languages/de-CH.js +1 -2
  122. package/languages/de-DE.js +1 -2
  123. package/languages/en-US.js +1 -2
  124. package/languages/es-MX.js +1 -2
  125. package/languages/fr-FR.js +1 -2
  126. package/languages/index.js +19 -38
  127. package/languages/it-IT.js +1 -2
  128. package/languages/ja-JP.js +1 -2
  129. package/languages/ko-KR.js +1 -2
  130. package/languages/lv-LV.js +1 -2
  131. package/languages/nb-NO.js +1 -2
  132. package/languages/nl-NL.js +1 -2
  133. package/languages/pl-PL.js +1 -2
  134. package/languages/pt-BR.js +1 -2
  135. package/languages/ru-RU.js +1 -2
  136. package/languages/sr-SP.js +1 -2
  137. package/languages/zh-CN.js +1 -2
  138. package/languages/zh-TW.js +1 -2
  139. package/mixins/hooksRefRegisterer.js +1 -2
  140. package/mixins/localHooks.js +1 -2
  141. package/package.json +1 -1
  142. package/pluginHooks.js +6 -5
  143. package/pluginHooks.mjs +5 -3
  144. package/plugins/autoColumnSize/autoColumnSize.js +2 -4
  145. package/plugins/autoRowSize/autoRowSize.js +2 -4
  146. package/plugins/autofill/autofill.js +2 -4
  147. package/plugins/autofill/utils.js +1 -2
  148. package/plugins/base/base.js +1 -2
  149. package/plugins/bindRowsWithHeaders/bindRowsWithHeaders.js +2 -4
  150. package/plugins/bindRowsWithHeaders/maps/looseBindsMap.js +1 -2
  151. package/plugins/bindRowsWithHeaders/maps/strictBindsMap.js +1 -2
  152. package/plugins/collapsibleColumns/collapsibleColumns.js +2 -4
  153. package/plugins/columnSorting/columnSorting.js +4 -8
  154. package/plugins/columnSorting/sortFunction/checkbox.js +1 -2
  155. package/plugins/columnSorting/sortFunction/date.js +1 -2
  156. package/plugins/columnSorting/sortFunction/default.js +1 -2
  157. package/plugins/columnSorting/sortFunction/numeric.js +1 -2
  158. package/plugins/columnSorting/sortService/engine.js +3 -6
  159. package/plugins/columnSorting/utils.js +3 -6
  160. package/plugins/columnSummary/columnSummary.js +2 -4
  161. package/plugins/columnSummary/endpoints.js +1 -2
  162. package/plugins/comments/commentEditor.js +1 -2
  163. package/plugins/comments/comments.js +6 -12
  164. package/plugins/comments/contextMenuItem/addEditComment.js +2 -2
  165. package/plugins/comments/contextMenuItem/readOnlyComment.js +2 -2
  166. package/plugins/comments/contextMenuItem/removeComment.js +2 -2
  167. package/plugins/comments/displaySwitch.js +1 -2
  168. package/plugins/contextMenu/contextMenu.js +2 -4
  169. package/plugins/contextMenu/predefinedItems/alignment.js +3 -4
  170. package/plugins/contextMenu/predefinedItems/clearColumn.js +3 -4
  171. package/plugins/contextMenu/predefinedItems/columnLeft.js +3 -4
  172. package/plugins/contextMenu/predefinedItems/columnRight.js +3 -4
  173. package/plugins/contextMenu/predefinedItems/index.js +3 -4
  174. package/plugins/contextMenu/predefinedItems/noItems.js +1 -2
  175. package/plugins/contextMenu/predefinedItems/readOnly.js +3 -4
  176. package/plugins/contextMenu/predefinedItems/redo.js +3 -4
  177. package/plugins/contextMenu/predefinedItems/removeColumn.js +3 -4
  178. package/plugins/contextMenu/predefinedItems/removeRow.js +3 -4
  179. package/plugins/contextMenu/predefinedItems/rowAbove.js +3 -4
  180. package/plugins/contextMenu/predefinedItems/rowBelow.js +3 -4
  181. package/plugins/contextMenu/predefinedItems/separator.js +1 -2
  182. package/plugins/contextMenu/predefinedItems/undo.js +3 -4
  183. package/plugins/copyPaste/contextMenuItem/cut.js +2 -2
  184. package/plugins/copyPaste/copyPaste.js +2 -4
  185. package/plugins/customBorders/contextMenuItem/bottom.js +2 -2
  186. package/plugins/customBorders/contextMenuItem/left.js +2 -2
  187. package/plugins/customBorders/contextMenuItem/noBorders.js +2 -2
  188. package/plugins/customBorders/contextMenuItem/right.js +2 -2
  189. package/plugins/customBorders/contextMenuItem/top.js +2 -2
  190. package/plugins/customBorders/customBorders.js +4 -6
  191. package/plugins/dragToScroll/dragToScroll.js +2 -4
  192. package/plugins/dropdownMenu/dropdownMenu.js +2 -4
  193. package/plugins/exportFile/dataProvider.js +1 -2
  194. package/plugins/exportFile/exportFile.js +4 -6
  195. package/plugins/exportFile/typeFactory.js +5 -8
  196. package/plugins/exportFile/types/_base.js +1 -2
  197. package/plugins/exportFile/types/csv.js +1 -2
  198. package/plugins/filters/component/actionBar.js +2 -2
  199. package/plugins/filters/component/condition.js +2 -2
  200. package/plugins/filters/component/value.js +2 -2
  201. package/plugins/filters/condition/beginsWith.js +3 -4
  202. package/plugins/filters/condition/between.js +3 -4
  203. package/plugins/filters/condition/byValue.js +1 -2
  204. package/plugins/filters/condition/contains.js +3 -4
  205. package/plugins/filters/condition/date/after.js +3 -4
  206. package/plugins/filters/condition/date/before.js +3 -4
  207. package/plugins/filters/condition/date/today.js +3 -4
  208. package/plugins/filters/condition/date/tomorrow.js +3 -4
  209. package/plugins/filters/condition/date/yesterday.js +3 -4
  210. package/plugins/filters/condition/empty.js +3 -4
  211. package/plugins/filters/condition/endsWith.js +3 -4
  212. package/plugins/filters/condition/equal.js +3 -4
  213. package/plugins/filters/condition/false.js +1 -2
  214. package/plugins/filters/condition/greaterThan.js +3 -4
  215. package/plugins/filters/condition/greaterThanOrEqual.js +3 -4
  216. package/plugins/filters/condition/lessThan.js +3 -4
  217. package/plugins/filters/condition/lessThanOrEqual.js +3 -4
  218. package/plugins/filters/condition/none.js +3 -4
  219. package/plugins/filters/condition/notBetween.js +3 -4
  220. package/plugins/filters/condition/notContains.js +3 -4
  221. package/plugins/filters/condition/notEmpty.js +3 -4
  222. package/plugins/filters/condition/notEqual.js +3 -4
  223. package/plugins/filters/condition/true.js +1 -2
  224. package/plugins/filters/conditionCollection.js +1 -2
  225. package/plugins/filters/conditionRegisterer.js +1 -2
  226. package/plugins/filters/conditionUpdateObserver.js +1 -2
  227. package/plugins/filters/constants.js +4 -8
  228. package/plugins/filters/dataFilter.js +1 -2
  229. package/plugins/filters/filters.js +4 -6
  230. package/plugins/filters/logicalOperationRegisterer.js +1 -2
  231. package/plugins/filters/logicalOperations/conjunction.js +4 -6
  232. package/plugins/filters/logicalOperations/disjunction.js +4 -6
  233. package/plugins/filters/logicalOperations/disjunctionWithExtraCondition.js +4 -6
  234. package/plugins/filters/ui/_base.js +2 -2
  235. package/plugins/filters/ui/multipleSelect.js +3 -4
  236. package/plugins/filters/ui/select.js +2 -2
  237. package/plugins/formulas/engine/settings.js +2 -4
  238. package/plugins/formulas/formulas.js +3 -6
  239. package/plugins/formulas/indexSyncer/axisSyncer.js +1 -2
  240. package/plugins/formulas/indexSyncer/index.js +1 -2
  241. package/plugins/hiddenColumns/contextMenuItem/hideColumn.js +2 -2
  242. package/plugins/hiddenColumns/contextMenuItem/showColumn.js +2 -2
  243. package/plugins/hiddenColumns/hiddenColumns.js +2 -4
  244. package/plugins/hiddenRows/contextMenuItem/hideRow.js +2 -2
  245. package/plugins/hiddenRows/contextMenuItem/showRow.js +2 -2
  246. package/plugins/hiddenRows/hiddenRows.js +2 -4
  247. package/plugins/manualColumnFreeze/contextMenuItem/freezeColumn.js +2 -2
  248. package/plugins/manualColumnFreeze/contextMenuItem/unfreezeColumn.js +2 -2
  249. package/plugins/manualColumnFreeze/manualColumnFreeze.js +2 -4
  250. package/plugins/manualColumnMove/manualColumnMove.js +2 -4
  251. package/plugins/manualColumnMove/ui/_base.js +1 -2
  252. package/plugins/manualColumnMove/ui/backlight.js +1 -2
  253. package/plugins/manualColumnMove/ui/guideline.js +1 -2
  254. package/plugins/manualColumnResize/manualColumnResize.js +2 -4
  255. package/plugins/manualRowMove/manualRowMove.js +2 -4
  256. package/plugins/manualRowMove/ui/_base.js +1 -2
  257. package/plugins/manualRowMove/ui/backlight.js +1 -2
  258. package/plugins/manualRowMove/ui/guideline.js +1 -2
  259. package/plugins/manualRowResize/manualRowResize.js +2 -4
  260. package/plugins/mergeCells/calculations/autofill.js +1 -2
  261. package/plugins/mergeCells/calculations/selection.js +1 -2
  262. package/plugins/mergeCells/cellCoords.js +1 -2
  263. package/plugins/mergeCells/cellsCollection.js +1 -2
  264. package/plugins/mergeCells/contextMenuItem/toggleMerge.js +2 -2
  265. package/plugins/mergeCells/mergeCells.js +3 -5
  266. package/plugins/mergeCells/mergeCells.mjs +1 -1
  267. package/plugins/multiColumnSorting/multiColumnSorting.js +2 -4
  268. package/plugins/multipleSelectionHandles/multipleSelectionHandles.js +2 -4
  269. package/plugins/nestedHeaders/nestedHeaders.js +2 -4
  270. package/plugins/nestedHeaders/stateManager/sourceSettings.js +1 -2
  271. package/plugins/nestedHeaders/utils/ghostTable.js +1 -2
  272. package/plugins/nestedRows/data/dataManager.js +1 -2
  273. package/plugins/nestedRows/nestedRows.js +2 -4
  274. package/plugins/nestedRows/ui/_base.js +1 -2
  275. package/plugins/nestedRows/ui/collapsing.js +1 -2
  276. package/plugins/nestedRows/ui/contextMenu.js +3 -4
  277. package/plugins/nestedRows/ui/headers.js +1 -2
  278. package/plugins/persistentState/persistentState.js +2 -4
  279. package/plugins/persistentState/storage.js +1 -2
  280. package/plugins/search/search.js +2 -4
  281. package/plugins/touchScroll/touchScroll.js +2 -4
  282. package/plugins/trimRows/trimRows.js +2 -4
  283. package/plugins/undoRedo/index.js +2 -2
  284. package/plugins/undoRedo/undoRedo.js +2 -4
  285. package/renderers/autocompleteRenderer/autocompleteRenderer.js +1 -2
  286. package/renderers/baseRenderer/baseRenderer.js +1 -2
  287. package/renderers/checkboxRenderer/checkboxRenderer.js +1 -2
  288. package/renderers/dateRenderer/dateRenderer.js +1 -2
  289. package/renderers/handsontableRenderer/handsontableRenderer.js +1 -2
  290. package/renderers/htmlRenderer/htmlRenderer.js +1 -2
  291. package/renderers/numericRenderer/numericRenderer.js +1 -2
  292. package/renderers/passwordRenderer/passwordRenderer.js +1 -2
  293. package/renderers/selectRenderer/selectRenderer.js +1 -2
  294. package/renderers/textRenderer/textRenderer.js +1 -2
  295. package/renderers/timeRenderer/timeRenderer.js +1 -2
  296. package/selection/highlight/highlight.js +1 -2
  297. package/selection/highlight/visualSelection.js +1 -2
  298. package/selection/range.js +1 -2
  299. package/selection/selection.js +3 -4
  300. package/selection/transformation.js +1 -2
  301. package/selection/utils.js +5 -10
  302. package/shortcutContexts/commands/editor/closeAndSave.js +2 -3
  303. package/shortcutContexts/commands/editor/closeWithoutSaving.js +2 -3
  304. package/shortcutContexts/commands/editor/fastOpen.js +2 -3
  305. package/shortcutContexts/commands/editor/open.js +2 -3
  306. package/shortcutContexts/commands/emptySelectedCells.js +2 -3
  307. package/shortcutContexts/commands/extendCellsSelection/down.js +2 -3
  308. package/shortcutContexts/commands/extendCellsSelection/downByViewportHeight.js +2 -3
  309. package/shortcutContexts/commands/extendCellsSelection/left.js +2 -3
  310. package/shortcutContexts/commands/extendCellsSelection/right.js +2 -3
  311. package/shortcutContexts/commands/extendCellsSelection/toColumns.js +2 -3
  312. package/shortcutContexts/commands/extendCellsSelection/toMostBottom.js +2 -3
  313. package/shortcutContexts/commands/extendCellsSelection/toMostInlineEnd.js +2 -3
  314. package/shortcutContexts/commands/extendCellsSelection/toMostInlineStart.js +2 -3
  315. package/shortcutContexts/commands/extendCellsSelection/toMostLeft.js +2 -3
  316. package/shortcutContexts/commands/extendCellsSelection/toMostRight.js +2 -3
  317. package/shortcutContexts/commands/extendCellsSelection/toMostTop.js +2 -3
  318. package/shortcutContexts/commands/extendCellsSelection/toRows.js +2 -3
  319. package/shortcutContexts/commands/extendCellsSelection/up.js +2 -3
  320. package/shortcutContexts/commands/extendCellsSelection/upByViewportHeight.js +2 -3
  321. package/shortcutContexts/commands/moveCellSelection/down.js +2 -3
  322. package/shortcutContexts/commands/moveCellSelection/downByViewportHeight.js +2 -3
  323. package/shortcutContexts/commands/moveCellSelection/inlineEnd.js +2 -3
  324. package/shortcutContexts/commands/moveCellSelection/inlineStart.js +2 -3
  325. package/shortcutContexts/commands/moveCellSelection/left.js +2 -3
  326. package/shortcutContexts/commands/moveCellSelection/right.js +2 -3
  327. package/shortcutContexts/commands/moveCellSelection/toMostBottom.js +2 -3
  328. package/shortcutContexts/commands/moveCellSelection/toMostBottomInlineEnd.js +2 -3
  329. package/shortcutContexts/commands/moveCellSelection/toMostInlineEnd.js +2 -3
  330. package/shortcutContexts/commands/moveCellSelection/toMostInlineStart.js +2 -3
  331. package/shortcutContexts/commands/moveCellSelection/toMostLeft.js +2 -3
  332. package/shortcutContexts/commands/moveCellSelection/toMostRight.js +2 -3
  333. package/shortcutContexts/commands/moveCellSelection/toMostTop.js +2 -3
  334. package/shortcutContexts/commands/moveCellSelection/toMostTopInlineStart.js +2 -3
  335. package/shortcutContexts/commands/moveCellSelection/up.js +2 -3
  336. package/shortcutContexts/commands/moveCellSelection/upByViewportHeight.js +2 -3
  337. package/shortcutContexts/commands/populateSelectedCellsData.js +2 -3
  338. package/shortcutContexts/commands/scrollToFocusedCell.js +2 -3
  339. package/shortcutContexts/commands/selectAllCells.js +2 -3
  340. package/shortcutContexts/commands/selectAllCellsAndHeaders.js +2 -3
  341. package/shortcutContexts/constants.js +2 -4
  342. package/shortcuts/context.js +1 -1
  343. package/shortcuts/context.mjs +1 -1
  344. package/shortcuts/manager.js +2 -2
  345. package/shortcuts/manager.mjs +2 -2
  346. package/tableView.js +1 -2
  347. package/utils/dataStructures/linkedList.js +1 -2
  348. package/utils/dataStructures/priorityMap.js +2 -4
  349. package/utils/dataStructures/queue.js +1 -2
  350. package/utils/dataStructures/stack.js +1 -2
  351. package/utils/dataStructures/tree.js +3 -6
  352. package/utils/ghostTable.js +1 -2
  353. package/utils/interval.js +1 -2
  354. package/utils/rootInstance.js +2 -4
  355. package/utils/samplesGenerator.js +1 -2
  356. package/utils/staticRegister.js +1 -2
  357. package/validators/autocompleteValidator/autocompleteValidator.js +1 -2
  358. package/validators/dateValidator/dateValidator.js +1 -2
  359. package/validators/numericValidator/numericValidator.js +1 -2
  360. package/validators/timeValidator/timeValidator.js +1 -2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- const command = {
4
+ const command = exports.command = {
5
5
  name: 'moveCellSelectionUp',
6
6
  callback(_ref) {
7
7
  let {
@@ -9,5 +9,4 @@ const command = {
9
9
  } = _ref;
10
10
  selection.transformStart(-1, 0);
11
11
  }
12
- };
13
- exports.command = command;
12
+ };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- const command = {
4
+ const command = exports.command = {
5
5
  name: 'moveCellSelectionUpByViewportHight',
6
6
  callback(hot) {
7
7
  const {
@@ -29,5 +29,4 @@ const command = {
29
29
  });
30
30
  }
31
31
  }
32
- };
33
- exports.command = command;
32
+ };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- const command = {
4
+ const command = exports.command = {
5
5
  name: 'populateSelectedCellsData',
6
6
  callback(hot) {
7
7
  const selectedRange = hot.getSelectedRange();
@@ -25,5 +25,4 @@ const command = {
25
25
  }
26
26
  hot.setDataAtCell(Array.from(cellValues.values()));
27
27
  }
28
- };
29
- exports.command = command;
28
+ };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- const command = {
4
+ const command = exports.command = {
5
5
  name: 'scrollToFocusedCell',
6
6
  callback(hot) {
7
7
  const {
@@ -31,5 +31,4 @@ const command = {
31
31
  });
32
32
  }
33
33
  }
34
- };
35
- exports.command = command;
34
+ };
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- const command = {
4
+ const command = exports.command = {
5
5
  name: 'selectAllCells',
6
6
  callback(hot) {
7
7
  hot.selection.selectAll(true, true, {
8
8
  disableHeadersHighlight: true
9
9
  });
10
10
  }
11
- };
12
- exports.command = command;
11
+ };
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- const command = {
4
+ const command = exports.command = {
5
5
  name: 'selectAllCellsAndHeaders',
6
6
  callback(hot) {
7
7
  hot.selection.selectAll(true, true, {
8
8
  disableHeadersHighlight: false
9
9
  });
10
10
  }
11
- };
12
- exports.command = command;
11
+ };
@@ -4,10 +4,8 @@ exports.__esModule = true;
4
4
  /**
5
5
  * Group name for keyboard shortcuts that are active when the cell is selected.
6
6
  */
7
- const GRID_GROUP = 'gridDefault';
7
+ const GRID_GROUP = exports.GRID_GROUP = 'gridDefault';
8
8
  /**
9
9
  * Group name for keyboard shortcuts that are active when the cell editor is active.
10
10
  */
11
- exports.GRID_GROUP = GRID_GROUP;
12
- const EDITOR_EDIT_GROUP = 'editorManager.handlingEditor';
13
- exports.EDITOR_EDIT_GROUP = EDITOR_EDIT_GROUP;
11
+ const EDITOR_EDIT_GROUP = exports.EDITOR_EDIT_GROUP = 'editorManager.handlingEditor';
@@ -24,7 +24,7 @@ function isContextObject(objectToCheck) {
24
24
 
25
25
  /* eslint-disable jsdoc/require-description-complete-sentence */
26
26
  /**
27
- * The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/accessories-and-menus/keyboard-shortcuts.md) in a given [context](@/guides/accessories-and-menus/keyboard-shortcuts.md#keyboard-shortcut-contexts).
27
+ * The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
28
28
  *
29
29
  * Each `ShortcutContext` object stores and manages its own set of keyboard shortcuts.
30
30
  *
@@ -20,7 +20,7 @@ export function isContextObject(objectToCheck) {
20
20
 
21
21
  /* eslint-disable jsdoc/require-description-complete-sentence */
22
22
  /**
23
- * The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/accessories-and-menus/keyboard-shortcuts.md) in a given [context](@/guides/accessories-and-menus/keyboard-shortcuts.md#keyboard-shortcut-contexts).
23
+ * The `ShortcutContext` API lets you store and manage [keyboard shortcuts](@/guides/navigation/keyboard-shortcuts.md) in a given [context](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts).
24
24
  *
25
25
  * Each `ShortcutContext` object stores and manages its own set of keyboard shortcuts.
26
26
  *
@@ -9,7 +9,7 @@ var _recorder = require("./recorder");
9
9
  var _templateLiteralTag = require("../helpers/templateLiteralTag");
10
10
  /* eslint-disable jsdoc/require-description-complete-sentence */
11
11
  /**
12
- * The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/accessories-and-menus/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
12
+ * The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
13
13
  *
14
14
  * Each `ShortcutManager` object:
15
15
  * - Stores and manages its own set of keyboard shortcut contexts.
@@ -20,7 +20,7 @@ var _templateLiteralTag = require("../helpers/templateLiteralTag");
20
20
  * @param {object} options The manager's options
21
21
  * @param {EventTarget} options.ownerWindow A starting `window` element
22
22
  * @param {Function} options.handleEvent A condition on which `event` is handled.
23
- * @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/accessories-and-menus/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
23
+ * @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
24
24
  * @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
25
25
  */
26
26
  const createShortcutManager = _ref => {
@@ -6,7 +6,7 @@ import { useRecorder } from "./recorder.mjs";
6
6
  import { toSingleLine } from "../helpers/templateLiteralTag.mjs";
7
7
  /* eslint-disable jsdoc/require-description-complete-sentence */
8
8
  /**
9
- * The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/accessories-and-menus/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
9
+ * The `ShortcutManager` API lets you store and manage [keyboard shortcut contexts](@/guides/navigation/keyboard-shortcuts.md#keyboard-shortcut-contexts) ([`ShortcutContext`](@/api/shortcutContext.md)).
10
10
  *
11
11
  * Each `ShortcutManager` object:
12
12
  * - Stores and manages its own set of keyboard shortcut contexts.
@@ -17,7 +17,7 @@ import { toSingleLine } from "../helpers/templateLiteralTag.mjs";
17
17
  * @param {object} options The manager's options
18
18
  * @param {EventTarget} options.ownerWindow A starting `window` element
19
19
  * @param {Function} options.handleEvent A condition on which `event` is handled.
20
- * @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/accessories-and-menus/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
20
+ * @param {Function} options.beforeKeyDown A hook fired before the `keydown` event is handled. You can use it to [block a keyboard shortcut's actions](@/guides/navigation/keyboard-shortcuts.md#block-a-keyboard-shortcut-s-actions).
21
21
  * @param {Function} options.afterKeyDown A hook fired after the `keydown` event is handled
22
22
  */
23
23
  export const createShortcutManager = _ref => {
package/tableView.js CHANGED
@@ -1345,5 +1345,4 @@ function _updateAriaColcount2(delta) {
1345
1345
  const colCount = _classPrivateMethodGet(this, _getAriaColcount, _getAriaColcount2).call(this) + delta;
1346
1346
  (0, _element.setAttribute)(this.hot.rootElement, ...(0, _a11y.A11Y_COLCOUNT)(colCount));
1347
1347
  }
1348
- var _default = TableView;
1349
- exports.default = _default;
1348
+ var _default = exports.default = TableView;
@@ -241,5 +241,4 @@ class LinkedList {
241
241
  this.last = temp;
242
242
  }
243
243
  }
244
- var _default = LinkedList;
245
- exports.default = _default;
244
+ var _default = exports.default = LinkedList;
@@ -5,10 +5,8 @@ exports.createPriorityMap = createPriorityMap;
5
5
  require("core-js/modules/es.error.cause.js");
6
6
  var _number = require("../../helpers/number");
7
7
  var _function = require("../../helpers/function");
8
- const ASC = 'asc';
9
- exports.ASC = ASC;
10
- const DESC = 'desc';
11
- exports.DESC = DESC;
8
+ const ASC = exports.ASC = 'asc';
9
+ const DESC = exports.DESC = 'desc';
12
10
  const ORDER_MAP = new Map([[ASC, [-1, 1]], [DESC, [1, -1]]]);
13
11
  const DEFAULT_ERROR_PRIORITY_EXISTS = priority => `The priority '${priority}' is already declared in a map.`;
14
12
  const DEFAULT_ERROR_PRIORITY_NAN = priority => `The priority '${priority}' is not a number.`;
@@ -62,5 +62,4 @@ class Queue {
62
62
  return this.items.length;
63
63
  }
64
64
  }
65
- var _default = Queue;
66
- exports.default = _default;
65
+ var _default = exports.default = Queue;
@@ -62,5 +62,4 @@ class Stack {
62
62
  return this.items.length;
63
63
  }
64
64
  }
65
- var _default = Stack;
66
- exports.default = _default;
65
+ var _default = exports.default = Stack;
@@ -12,13 +12,12 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
12
12
  *
13
13
  * @type {string}
14
14
  */
15
- const TRAVERSAL_DF_PRE = 'DF-pre-order';
15
+ const TRAVERSAL_DF_PRE = exports.TRAVERSAL_DF_PRE = 'DF-pre-order';
16
16
  /**
17
17
  * @param {Function} callback A callback which will be called on each visited node.
18
18
  * @param {*} context A context to pass through.
19
19
  * @returns {boolean}
20
20
  */
21
- exports.TRAVERSAL_DF_PRE = TRAVERSAL_DF_PRE;
22
21
  function depthFirstPreOrder(callback, context) {
23
22
  let continueTraverse = callback.call(context, this);
24
23
  for (let i = 0; i < this.childs.length; i++) {
@@ -35,13 +34,12 @@ function depthFirstPreOrder(callback, context) {
35
34
  *
36
35
  * @type {string}
37
36
  */
38
- const TRAVERSAL_DF_POST = 'DF-post-order';
37
+ const TRAVERSAL_DF_POST = exports.TRAVERSAL_DF_POST = 'DF-post-order';
39
38
  /**
40
39
  * @param {Function} callback A callback which will be called on each visited node.
41
40
  * @param {*} context A context to pass through.
42
41
  * @returns {boolean}
43
42
  */
44
- exports.TRAVERSAL_DF_POST = TRAVERSAL_DF_POST;
45
43
  function depthFirstPostOrder(callback, context) {
46
44
  for (let i = 0; i < this.childs.length; i++) {
47
45
  const continueTraverse = depthFirstPostOrder.call(this.childs[i], callback, context);
@@ -57,12 +55,11 @@ function depthFirstPostOrder(callback, context) {
57
55
  *
58
56
  * @type {string}
59
57
  */
60
- const TRAVERSAL_BF = 'BF';
58
+ const TRAVERSAL_BF = exports.TRAVERSAL_BF = 'BF';
61
59
  /**
62
60
  * @param {Function} callback A callback which will be called on each visited node.
63
61
  * @param {*} context A context to pass through.
64
62
  */
65
- exports.TRAVERSAL_BF = TRAVERSAL_BF;
66
63
  function breadthFirst(callback, context) {
67
64
  const queue = [this];
68
65
 
@@ -487,5 +487,4 @@ class GhostTable {
487
487
  return !!(this.columns.length && !this.rows.length);
488
488
  }
489
489
  }
490
- var _default = GhostTable;
491
- exports.default = _default;
490
+ var _default = exports.default = GhostTable;
package/utils/interval.js CHANGED
@@ -134,14 +134,13 @@ function _callback3() {
134
134
  _classPrivateFieldGet(this, _func).call(this);
135
135
  }
136
136
  }
137
- var _default = Interval;
137
+ var _default = exports.default = Interval;
138
138
  /**
139
139
  * Convert delay from string format to milliseconds.
140
140
  *
141
141
  * @param {number|string} delay The delay in FPS (frame per second) or number format.
142
142
  * @returns {number}
143
143
  */
144
- exports.default = _default;
145
144
  function parseDelay(delay) {
146
145
  let result = delay;
147
146
  if (typeof result === 'string' && /fps$/.test(result)) {
@@ -4,16 +4,14 @@ exports.__esModule = true;
4
4
  exports.hasValidParameter = hasValidParameter;
5
5
  exports.isRootInstance = isRootInstance;
6
6
  exports.registerAsRootInstance = registerAsRootInstance;
7
- const holder = new WeakMap();
8
- exports.holder = holder;
9
- const rootInstanceSymbol = Symbol('rootInstance');
7
+ const holder = exports.holder = new WeakMap();
8
+ const rootInstanceSymbol = exports.rootInstanceSymbol = Symbol('rootInstance');
10
9
 
11
10
  /**
12
11
  * Register an object as a root instance.
13
12
  *
14
13
  * @param {object} object An object to associate with root instance flag.
15
14
  */
16
- exports.rootInstanceSymbol = rootInstanceSymbol;
17
15
  function registerAsRootInstance(object) {
18
16
  holder.set(object, true);
19
17
  }
@@ -186,5 +186,4 @@ class SamplesGenerator {
186
186
  return samples;
187
187
  }
188
188
  }
189
- var _default = SamplesGenerator;
190
- exports.default = _default;
189
+ var _default = exports.default = SamplesGenerator;
@@ -2,13 +2,12 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.default = staticRegister;
5
- const collection = new Map();
5
+ const collection = exports.collection = new Map();
6
6
 
7
7
  /**
8
8
  * @param {string} namespace The namespace for the storage.
9
9
  * @returns {object}
10
10
  */
11
- exports.collection = collection;
12
11
  function staticRegister() {
13
12
  let namespace = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'common';
14
13
  if (!collection.has(namespace)) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.autocompleteValidator = autocompleteValidator;
5
- const VALIDATOR_TYPE = 'autocomplete';
5
+ const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'autocomplete';
6
6
 
7
7
  /**
8
8
  * The Autocomplete cell validator.
@@ -11,7 +11,6 @@ const VALIDATOR_TYPE = 'autocomplete';
11
11
  * @param {*} value Value of edited cell.
12
12
  * @param {Function} callback Callback called with validation result.
13
13
  */
14
- exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
15
14
  function autocompleteValidator(value, callback) {
16
15
  let valueToValidate = value;
17
16
  if (valueToValidate === null || valueToValidate === undefined) {
@@ -8,7 +8,7 @@ var _registry = require("../../editors/registry");
8
8
  var _dateEditor = require("../../editors/dateEditor");
9
9
  var _date = require("../../helpers/date");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- const VALIDATOR_TYPE = 'date';
11
+ const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'date';
12
12
 
13
13
  /**
14
14
  * The Date cell validator.
@@ -17,7 +17,6 @@ const VALIDATOR_TYPE = 'date';
17
17
  * @param {*} value Value of edited cell.
18
18
  * @param {Function} callback Callback called with validation result.
19
19
  */
20
- exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
21
20
  function dateValidator(value, callback) {
22
21
  const dateEditor = (0, _registry.getEditorInstance)(_dateEditor.EDITOR_TYPE, this.instance);
23
22
  let valueToValidate = value;
@@ -3,7 +3,7 @@
3
3
  exports.__esModule = true;
4
4
  exports.numericValidator = numericValidator;
5
5
  var _number = require("../../helpers/number");
6
- const VALIDATOR_TYPE = 'numeric';
6
+ const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'numeric';
7
7
 
8
8
  /**
9
9
  * The Numeric cell validator.
@@ -12,7 +12,6 @@ const VALIDATOR_TYPE = 'numeric';
12
12
  * @param {*} value Value of edited cell.
13
13
  * @param {Function} callback Callback called with validation result.
14
14
  */
15
- exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
16
15
  function numericValidator(value, callback) {
17
16
  let valueToValidate = value;
18
17
  if (valueToValidate === null || valueToValidate === undefined) {
@@ -10,7 +10,7 @@ const STRICT_FORMATS = ['YYYY-MM-DDTHH:mm:ss.SSSZ', 'X',
10
10
  'x' // Unix ms timestamp
11
11
  ];
12
12
 
13
- const VALIDATOR_TYPE = 'time';
13
+ const VALIDATOR_TYPE = exports.VALIDATOR_TYPE = 'time';
14
14
 
15
15
  /**
16
16
  * The Time cell validator.
@@ -19,7 +19,6 @@ const VALIDATOR_TYPE = 'time';
19
19
  * @param {*} value Value of edited cell.
20
20
  * @param {Function} callback Callback called with validation result.
21
21
  */
22
- exports.VALIDATOR_TYPE = VALIDATOR_TYPE;
23
22
  function timeValidator(value, callback) {
24
23
  const timeFormat = this.timeFormat || 'h:mm:ss a';
25
24
  let valid = true;