handsontable 0.0.0-next-48677e7-20230509 → 0.0.0-next-834f47e-20230509

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 (227) hide show
  1. package/3rdparty/walkontable/src/{selection/border/border.js → border.js} +12 -7
  2. package/3rdparty/walkontable/src/{selection/border/border.mjs → border.mjs} +12 -7
  3. package/3rdparty/walkontable/src/cell/coords.js +13 -40
  4. package/3rdparty/walkontable/src/cell/coords.mjs +13 -40
  5. package/3rdparty/walkontable/src/cell/range.js +25 -29
  6. package/3rdparty/walkontable/src/cell/range.mjs +24 -28
  7. package/3rdparty/walkontable/src/core/_base.js +3 -9
  8. package/3rdparty/walkontable/src/core/_base.mjs +3 -9
  9. package/3rdparty/walkontable/src/core/clone.js +2 -2
  10. package/3rdparty/walkontable/src/core/clone.mjs +2 -2
  11. package/3rdparty/walkontable/src/core/core.js +2 -3
  12. package/3rdparty/walkontable/src/core/core.mjs +2 -3
  13. package/3rdparty/walkontable/src/event.js +10 -12
  14. package/3rdparty/walkontable/src/event.mjs +10 -12
  15. package/3rdparty/walkontable/src/facade/core.js +2 -2
  16. package/3rdparty/walkontable/src/facade/core.mjs +2 -2
  17. package/3rdparty/walkontable/src/index.js +2 -10
  18. package/3rdparty/walkontable/src/index.mjs +2 -2
  19. package/3rdparty/walkontable/src/overlay/_base.js +7 -8
  20. package/3rdparty/walkontable/src/overlay/_base.mjs +7 -8
  21. package/3rdparty/walkontable/src/overlay/bottom.js +6 -7
  22. package/3rdparty/walkontable/src/overlay/bottom.mjs +6 -7
  23. package/3rdparty/walkontable/src/overlay/inlineStart.js +4 -2
  24. package/3rdparty/walkontable/src/overlay/inlineStart.mjs +4 -2
  25. package/3rdparty/walkontable/src/overlay/top.js +10 -9
  26. package/3rdparty/walkontable/src/overlay/top.mjs +10 -9
  27. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +10 -12
  28. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +10 -12
  29. package/3rdparty/walkontable/src/overlays.js +55 -64
  30. package/3rdparty/walkontable/src/overlays.mjs +55 -64
  31. package/3rdparty/walkontable/src/renderer/table.js +0 -2
  32. package/3rdparty/walkontable/src/renderer/table.mjs +0 -2
  33. package/3rdparty/walkontable/src/scroll.js +20 -23
  34. package/3rdparty/walkontable/src/scroll.mjs +20 -23
  35. package/3rdparty/walkontable/src/selection.js +354 -0
  36. package/3rdparty/walkontable/src/selection.mjs +348 -0
  37. package/3rdparty/walkontable/src/settings.js +13 -15
  38. package/3rdparty/walkontable/src/settings.mjs +13 -15
  39. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +0 -9
  40. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +0 -9
  41. package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +0 -9
  42. package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +0 -9
  43. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +0 -9
  44. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +0 -9
  45. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +0 -9
  46. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +0 -9
  47. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +0 -9
  48. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +0 -9
  49. package/3rdparty/walkontable/src/table.js +101 -33
  50. package/3rdparty/walkontable/src/table.mjs +102 -34
  51. package/base.js +2 -4
  52. package/base.mjs +2 -2
  53. package/core.d.ts +0 -4
  54. package/core.js +19 -52
  55. package/core.mjs +19 -52
  56. package/dataMap/dataSource.js +5 -5
  57. package/dataMap/dataSource.mjs +5 -5
  58. package/dataMap/metaManager/metaSchema.js +1 -8
  59. package/dataMap/metaManager/metaSchema.mjs +1 -8
  60. package/dist/handsontable.css +2 -7
  61. package/dist/handsontable.full.css +2 -7
  62. package/dist/handsontable.full.js +9162 -9474
  63. package/dist/handsontable.full.min.css +3 -3
  64. package/dist/handsontable.full.min.js +123 -115
  65. package/dist/handsontable.js +8763 -9076
  66. package/dist/handsontable.min.css +3 -3
  67. package/dist/handsontable.min.js +11 -3
  68. package/dist/languages/all.js +133 -0
  69. package/dist/languages/ar-AR.js +7 -0
  70. package/dist/languages/cs-CZ.js +7 -0
  71. package/dist/languages/de-CH.js +7 -0
  72. package/dist/languages/de-DE.js +7 -0
  73. package/dist/languages/en-US.js +7 -0
  74. package/dist/languages/es-MX.js +7 -0
  75. package/dist/languages/fr-FR.js +7 -0
  76. package/dist/languages/it-IT.js +7 -0
  77. package/dist/languages/ja-JP.js +7 -0
  78. package/dist/languages/ko-KR.js +7 -0
  79. package/dist/languages/lv-LV.js +7 -0
  80. package/dist/languages/nb-NO.js +7 -0
  81. package/dist/languages/nl-NL.js +7 -0
  82. package/dist/languages/pl-PL.js +7 -0
  83. package/dist/languages/pt-BR.js +7 -0
  84. package/dist/languages/ru-RU.js +7 -0
  85. package/dist/languages/sr-SP.js +7 -0
  86. package/dist/languages/zh-CN.js +7 -0
  87. package/dist/languages/zh-TW.js +7 -0
  88. package/editorManager.js +3 -7
  89. package/editorManager.mjs +3 -7
  90. package/editors/textEditor/textEditor.js +16 -3
  91. package/editors/textEditor/textEditor.mjs +17 -4
  92. package/helpers/dom/element.js +0 -11
  93. package/helpers/dom/element.mjs +0 -10
  94. package/helpers/mixed.js +1 -1
  95. package/helpers/mixed.mjs +1 -1
  96. package/i18n/languages/ar-AR.js +7 -1
  97. package/i18n/languages/cs-CZ.js +7 -1
  98. package/i18n/languages/de-CH.js +7 -1
  99. package/i18n/languages/de-DE.js +7 -1
  100. package/i18n/languages/en-US.js +7 -1
  101. package/i18n/languages/es-MX.js +7 -1
  102. package/i18n/languages/fr-FR.js +7 -1
  103. package/i18n/languages/it-IT.js +7 -1
  104. package/i18n/languages/ja-JP.js +7 -1
  105. package/i18n/languages/ko-KR.js +7 -1
  106. package/i18n/languages/lv-LV.js +7 -1
  107. package/i18n/languages/nb-NO.js +7 -1
  108. package/i18n/languages/nl-NL.js +7 -1
  109. package/i18n/languages/pl-PL.js +7 -1
  110. package/i18n/languages/pt-BR.js +7 -1
  111. package/i18n/languages/ru-RU.js +7 -1
  112. package/i18n/languages/sr-SP.js +7 -1
  113. package/i18n/languages/zh-CN.js +7 -1
  114. package/i18n/languages/zh-TW.js +7 -1
  115. package/languages/all.js +133 -0
  116. package/languages/ar-AR.js +7 -0
  117. package/languages/cs-CZ.js +7 -0
  118. package/languages/de-CH.js +7 -0
  119. package/languages/de-DE.js +7 -0
  120. package/languages/en-US.js +7 -0
  121. package/languages/es-MX.js +7 -0
  122. package/languages/fr-FR.js +7 -0
  123. package/languages/index.js +133 -0
  124. package/languages/it-IT.js +7 -0
  125. package/languages/ja-JP.js +7 -0
  126. package/languages/ko-KR.js +7 -0
  127. package/languages/lv-LV.js +7 -0
  128. package/languages/nb-NO.js +7 -0
  129. package/languages/nl-NL.js +7 -0
  130. package/languages/pl-PL.js +7 -0
  131. package/languages/pt-BR.js +7 -0
  132. package/languages/ru-RU.js +7 -0
  133. package/languages/sr-SP.js +7 -0
  134. package/languages/zh-CN.js +7 -0
  135. package/languages/zh-TW.js +7 -0
  136. package/package.json +3 -2
  137. package/pluginHooks.js +17 -7
  138. package/pluginHooks.mjs +16 -4
  139. package/plugins/autoRowSize/autoRowSize.js +2 -2
  140. package/plugins/autoRowSize/autoRowSize.mjs +2 -2
  141. package/plugins/copyPaste/copyPaste.js +93 -12
  142. package/plugins/copyPaste/copyPaste.mjs +93 -12
  143. package/plugins/copyPaste/copyableRanges.js +25 -31
  144. package/plugins/copyPaste/copyableRanges.mjs +18 -24
  145. package/plugins/copyPaste/focusableElement.js +219 -0
  146. package/plugins/copyPaste/focusableElement.mjs +213 -0
  147. package/plugins/customBorders/customBorders.js +2 -6
  148. package/plugins/customBorders/customBorders.mjs +3 -7
  149. package/plugins/filters/filters.js +5 -0
  150. package/plugins/filters/filters.mjs +5 -0
  151. package/plugins/formulas/formulas.js +190 -168
  152. package/plugins/formulas/formulas.mjs +190 -168
  153. package/plugins/formulas/indexSyncer/axisSyncer.js +379 -0
  154. package/plugins/formulas/indexSyncer/axisSyncer.mjs +374 -0
  155. package/plugins/formulas/indexSyncer/index.js +225 -0
  156. package/plugins/formulas/indexSyncer/index.mjs +219 -0
  157. package/plugins/mergeCells/mergeCells.js +16 -0
  158. package/plugins/mergeCells/mergeCells.mjs +16 -0
  159. package/plugins/nestedHeaders/nestedHeaders.js +4 -3
  160. package/plugins/nestedHeaders/nestedHeaders.mjs +4 -3
  161. package/plugins/nestedHeaders/stateManager/headersTree.js +23 -26
  162. package/plugins/nestedHeaders/stateManager/headersTree.mjs +20 -23
  163. package/plugins/nestedHeaders/stateManager/index.js +3 -3
  164. package/plugins/nestedHeaders/stateManager/matrixGenerator.js +1 -0
  165. package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -1
  166. package/plugins/nestedHeaders/utils/ghostTable.js +30 -35
  167. package/plugins/nestedHeaders/utils/ghostTable.mjs +30 -35
  168. package/plugins/registry.js +3 -1
  169. package/plugins/undoRedo/undoRedo.js +0 -1
  170. package/plugins/undoRedo/undoRedo.mjs +0 -1
  171. package/renderers/baseRenderer/baseRenderer.js +0 -3
  172. package/renderers/baseRenderer/baseRenderer.mjs +0 -3
  173. package/selection/highlight/constants.js +16 -0
  174. package/selection/highlight/constants.mjs +6 -0
  175. package/selection/highlight/highlight.js +133 -335
  176. package/selection/highlight/highlight.mjs +129 -325
  177. package/selection/highlight/types/activeHeader.js +9 -10
  178. package/selection/highlight/types/activeHeader.mjs +8 -10
  179. package/selection/highlight/types/area.js +27 -12
  180. package/selection/highlight/types/area.mjs +30 -16
  181. package/selection/highlight/types/{focus.js → cell.js} +8 -5
  182. package/selection/highlight/types/{focus.mjs → cell.mjs} +7 -5
  183. package/selection/highlight/types/customSelection.js +10 -7
  184. package/selection/highlight/types/customSelection.mjs +9 -7
  185. package/selection/highlight/types/fill.js +8 -5
  186. package/selection/highlight/types/fill.mjs +7 -5
  187. package/selection/highlight/types/header.js +20 -10
  188. package/selection/highlight/types/header.mjs +19 -10
  189. package/selection/highlight/types/{row.js → index.js} +31 -27
  190. package/selection/highlight/types/{row.mjs → index.mjs} +29 -24
  191. package/selection/highlight/visualSelection.js +21 -12
  192. package/selection/highlight/visualSelection.mjs +21 -12
  193. package/selection/index.js +7 -4
  194. package/selection/index.mjs +3 -2
  195. package/selection/selection.js +46 -88
  196. package/selection/selection.mjs +44 -82
  197. package/settings.d.ts +0 -1
  198. package/tableView.js +66 -94
  199. package/tableView.mjs +66 -94
  200. package/translations/changesObservable/observable.js +41 -46
  201. package/translations/changesObservable/observable.mjs +36 -41
  202. package/translations/changesObservable/observer.js +1 -1
  203. package/translations/indexMapper.js +21 -0
  204. package/translations/indexMapper.mjs +21 -0
  205. package/utils/dataStructures/tree.js +15 -18
  206. package/utils/dataStructures/tree.mjs +15 -18
  207. package/utils/parseTable.js +5 -1
  208. package/utils/parseTable.mjs +5 -1
  209. package/3rdparty/walkontable/src/selection/border/constants.js +0 -18
  210. package/3rdparty/walkontable/src/selection/border/constants.mjs +0 -13
  211. package/3rdparty/walkontable/src/selection/constants.js +0 -63
  212. package/3rdparty/walkontable/src/selection/constants.mjs +0 -51
  213. package/3rdparty/walkontable/src/selection/index.js +0 -30
  214. package/3rdparty/walkontable/src/selection/index.mjs +0 -5
  215. package/3rdparty/walkontable/src/selection/manager.js +0 -334
  216. package/3rdparty/walkontable/src/selection/manager.mjs +0 -328
  217. package/3rdparty/walkontable/src/selection/scanner.js +0 -363
  218. package/3rdparty/walkontable/src/selection/scanner.mjs +0 -359
  219. package/3rdparty/walkontable/src/selection/selection.js +0 -133
  220. package/3rdparty/walkontable/src/selection/selection.mjs +0 -127
  221. package/focusManager.d.ts +0 -12
  222. package/focusManager.js +0 -249
  223. package/focusManager.mjs +0 -245
  224. package/selection/highlight/types/areaLayered.js +0 -54
  225. package/selection/highlight/types/areaLayered.mjs +0 -49
  226. package/selection/highlight/types/column.js +0 -50
  227. package/selection/highlight/types/column.mjs +0 -45
@@ -107,6 +107,13 @@ exports.default = void 0;
107
107
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
108
108
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
109
109
  var _dictionary;
110
+ /**
111
+ * @preserve
112
+ * Authors: Handsoncode
113
+ * Last updated: Feb 9, 2022
114
+ *
115
+ * Description: Definition file for Arabic - Without a specific country.
116
+ */
110
117
  var C = _handsontable.default.languages.dictionaryKeys;
111
118
  var dictionary = (_dictionary = {
112
119
  languageCode: 'ar-AR',
@@ -211,6 +218,13 @@ exports.default = void 0;
211
218
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
212
219
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
213
220
  var _dictionary;
221
+ /**
222
+ * @preserve
223
+ * Authors: Ashus
224
+ * Last updated: Mar 22, 2022
225
+ *
226
+ * Description: Definition file for Czech - Czechia language-country.
227
+ */
214
228
  var C = _handsontable.default.languages.dictionaryKeys;
215
229
  var dictionary = (_dictionary = {
216
230
  languageCode: 'cs-CZ'
@@ -232,6 +246,13 @@ exports.default = void 0;
232
246
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
233
247
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
234
248
  var _dictionary;
249
+ /**
250
+ * @preserve
251
+ * Authors: Stefan Salzl
252
+ * Last updated: Jan 08, 2018
253
+ *
254
+ * Description: Definition file for German - Switzerland language-country.
255
+ */
235
256
  var C = _handsontable.default.languages.dictionaryKeys;
236
257
  var dictionary = (_dictionary = {
237
258
  languageCode: 'de-CH'
@@ -253,6 +274,13 @@ exports.default = void 0;
253
274
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
254
275
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
255
276
  var _dictionary;
277
+ /**
278
+ * @preserve
279
+ * Authors: Stefan Salzl
280
+ * Last updated: Jan 08, 2018
281
+ *
282
+ * Description: Definition file for German - Germany language-country.
283
+ */
256
284
  var C = _handsontable.default.languages.dictionaryKeys;
257
285
  var dictionary = (_dictionary = {
258
286
  languageCode: 'de-DE'
@@ -274,6 +302,13 @@ exports.default = void 0;
274
302
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
275
303
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
276
304
  var _dictionary;
305
+ /**
306
+ * @preserve
307
+ * Authors: Handsoncode
308
+ * Last updated: Nov 15, 2017
309
+ *
310
+ * Description: Definition file for English - United States language-country.
311
+ */
277
312
  var C = _handsontable.default.languages.dictionaryKeys;
278
313
  var dictionary = (_dictionary = {
279
314
  languageCode: 'en-US'
@@ -295,6 +330,13 @@ exports.default = void 0;
295
330
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
296
331
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
297
332
  var _dictionary;
333
+ /**
334
+ * @preserve
335
+ * Authors: Handsoncode, Enrique Enciso
336
+ * Last updated: Nov 18, 2022
337
+ *
338
+ * Description: Definition file for Spanish - Mexico language-country.
339
+ */
298
340
  var C = _handsontable.default.languages.dictionaryKeys;
299
341
  var dictionary = (_dictionary = {
300
342
  languageCode: 'es-MX'
@@ -316,6 +358,13 @@ exports.default = void 0;
316
358
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
317
359
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
318
360
  var _dictionary;
361
+ /**
362
+ * @preserve
363
+ * Authors: Stefan Salzl, Thomas Senn
364
+ * Last updated: Feb 05, 2018
365
+ *
366
+ * Description: Definition file for French - France language-country.
367
+ */
319
368
  var C = _handsontable.default.languages.dictionaryKeys;
320
369
  var dictionary = (_dictionary = {
321
370
  languageCode: 'fr-FR'
@@ -385,6 +434,13 @@ exports.default = void 0;
385
434
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
386
435
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
387
436
  var _dictionary;
437
+ /**
438
+ * @preserve
439
+ * Authors: Andrea Cattaneo
440
+ * Last updated: Sep 14, 2018
441
+ *
442
+ * Description: Definition file for Italian - Italy language-country.
443
+ */
388
444
  var C = _handsontable.default.languages.dictionaryKeys;
389
445
  var dictionary = (_dictionary = {
390
446
  languageCode: 'it-IT'
@@ -406,6 +462,13 @@ exports.default = void 0;
406
462
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
407
463
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
408
464
  var _dictionary;
465
+ /**
466
+ * @preserve
467
+ * Authors: hand-dot
468
+ * Last updated: Jan 9, 2023
469
+ *
470
+ * Description: Definition file for Japanese - Japan language-country.
471
+ */
409
472
  var C = _handsontable.default.languages.dictionaryKeys;
410
473
  var dictionary = (_dictionary = {
411
474
  languageCode: 'ja-JP'
@@ -427,6 +490,13 @@ exports.default = void 0;
427
490
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
428
491
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
429
492
  var _dictionary;
493
+ /**
494
+ * @preserve
495
+ * Authors: Hwang, Gun-gu
496
+ * Last updated: Aug 20, 2018
497
+ *
498
+ * Description: Definition file for Korean - Korea language-country.
499
+ */
430
500
  var C = _handsontable.default.languages.dictionaryKeys;
431
501
  var dictionary = (_dictionary = {
432
502
  languageCode: 'ko-KR'
@@ -448,6 +518,13 @@ exports.default = void 0;
448
518
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
449
519
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
450
520
  var _dictionary;
521
+ /**
522
+ * @preserve
523
+ * Authors: Edgars Voroboks, NullIsNot0
524
+ * Last updated: Dec 5, 2022
525
+ *
526
+ * Description: Definition file for Latvian - Latvia language-country.
527
+ */
451
528
  var C = _handsontable.default.languages.dictionaryKeys;
452
529
  var dictionary = (_dictionary = {
453
530
  languageCode: 'lv-LV'
@@ -469,6 +546,13 @@ exports.default = void 0;
469
546
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
470
547
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
471
548
  var _dictionary;
549
+ /**
550
+ * @preserve
551
+ * Authors: Simon Borøy-Johnsen (TheSimoms)
552
+ * Last updated: Dec 19, 2017
553
+ *
554
+ * Description: Definition file for Norwegian Bokmål - Norway language-country.
555
+ */
472
556
  var C = _handsontable.default.languages.dictionaryKeys;
473
557
  var dictionary = (_dictionary = {
474
558
  languageCode: 'nb-NO'
@@ -490,6 +574,13 @@ exports.default = void 0;
490
574
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
491
575
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
492
576
  var _dictionary;
577
+ /**
578
+ * @preserve
579
+ * Authors: Tomas Rapkauskas, Anton Brouwer, webjazznl
580
+ * Last updated: Dec 5, 2022
581
+ *
582
+ * Description: Definition file for Dutch - The Netherlands language-country.
583
+ */
493
584
  var C = _handsontable.default.languages.dictionaryKeys;
494
585
  var dictionary = (_dictionary = {
495
586
  languageCode: 'nl-NL'
@@ -511,6 +602,13 @@ exports.default = void 0;
511
602
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
512
603
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
513
604
  var _dictionary;
605
+ /**
606
+ * @preserve
607
+ * Authors: Handsoncode
608
+ * Last updated: Dec 5, 2022
609
+ *
610
+ * Description: Definition file for Polish - Poland language-country.
611
+ */
514
612
  var C = _handsontable.default.languages.dictionaryKeys;
515
613
  var dictionary = (_dictionary = {
516
614
  languageCode: 'pl-PL'
@@ -532,6 +630,13 @@ exports.default = void 0;
532
630
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
533
631
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
534
632
  var _dictionary;
633
+ /**
634
+ * @preserve
635
+ * Authors: Júlio C. Zuppa
636
+ * Last updated: Jan 12, 2018
637
+ *
638
+ * Description: Definition file for Portuguese - Brazil language-country.
639
+ */
535
640
  var C = _handsontable.default.languages.dictionaryKeys;
536
641
  var dictionary = (_dictionary = {
537
642
  languageCode: 'pt-BR'
@@ -553,6 +658,13 @@ exports.default = void 0;
553
658
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
554
659
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
555
660
  var _dictionary;
661
+ /**
662
+ * @preserve
663
+ * Authors: Alexey Rogachev
664
+ * Last updated: Feb 28, 2018
665
+ *
666
+ * Description: Definition file for Russian - Russia language-country.
667
+ */
556
668
  var C = _handsontable.default.languages.dictionaryKeys;
557
669
  var dictionary = (_dictionary = {
558
670
  languageCode: 'ru-RU'
@@ -574,6 +686,13 @@ exports.default = void 0;
574
686
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
575
687
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
576
688
  var _dictionary;
689
+ /**
690
+ * @preserve
691
+ * Author: Ivan Zarkovic
692
+ * Last updated: May 9, 2022
693
+ *
694
+ * Description: Definition file for Serbian - Republic of Serbia language-country.
695
+ */
577
696
  var C = _handsontable.default.languages.dictionaryKeys;
578
697
  var dictionary = (_dictionary = {
579
698
  languageCode: 'sr-SP'
@@ -595,6 +714,13 @@ exports.default = void 0;
595
714
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
596
715
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
597
716
  var _dictionary;
717
+ /**
718
+ * @preserve
719
+ * Authors: soakit, HChenZi
720
+ * Last updated: Mar 09, 2023
721
+ *
722
+ * Description: Definition file for Chinese - China language-country.
723
+ */
598
724
  var C = _handsontable.default.languages.dictionaryKeys;
599
725
  var dictionary = (_dictionary = {
600
726
  languageCode: 'zh-CN'
@@ -616,6 +742,13 @@ exports.default = void 0;
616
742
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
617
743
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
618
744
  var _dictionary;
745
+ /**
746
+ * @preserve
747
+ * Authors: Phyllis Yen
748
+ * Last updated: Mar 9, 2018
749
+ *
750
+ * Description: Definition file for Chinese - Taiwan language-country.
751
+ */
619
752
  var C = _handsontable.default.languages.dictionaryKeys;
620
753
  var dictionary = (_dictionary = {
621
754
  languageCode: 'zh-TW'
@@ -197,6 +197,13 @@ exports.default = void 0;
197
197
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
198
198
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
199
199
  var _dictionary;
200
+ /**
201
+ * @preserve
202
+ * Authors: Andrea Cattaneo
203
+ * Last updated: Sep 14, 2018
204
+ *
205
+ * Description: Definition file for Italian - Italy language-country.
206
+ */
200
207
  var C = _handsontable.default.languages.dictionaryKeys;
201
208
  var dictionary = (_dictionary = {
202
209
  languageCode: 'it-IT'
@@ -198,6 +198,13 @@ exports.default = void 0;
198
198
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
199
199
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
200
200
  var _dictionary;
201
+ /**
202
+ * @preserve
203
+ * Authors: hand-dot
204
+ * Last updated: Jan 9, 2023
205
+ *
206
+ * Description: Definition file for Japanese - Japan language-country.
207
+ */
201
208
  var C = _handsontable.default.languages.dictionaryKeys;
202
209
  var dictionary = (_dictionary = {
203
210
  languageCode: 'ja-JP'
@@ -199,6 +199,13 @@ exports.default = void 0;
199
199
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
200
200
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
201
201
  var _dictionary;
202
+ /**
203
+ * @preserve
204
+ * Authors: Hwang, Gun-gu
205
+ * Last updated: Aug 20, 2018
206
+ *
207
+ * Description: Definition file for Korean - Korea language-country.
208
+ */
202
209
  var C = _handsontable.default.languages.dictionaryKeys;
203
210
  var dictionary = (_dictionary = {
204
211
  languageCode: 'ko-KR'
@@ -200,6 +200,13 @@ exports.default = void 0;
200
200
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
201
201
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
202
202
  var _dictionary;
203
+ /**
204
+ * @preserve
205
+ * Authors: Edgars Voroboks, NullIsNot0
206
+ * Last updated: Dec 5, 2022
207
+ *
208
+ * Description: Definition file for Latvian - Latvia language-country.
209
+ */
203
210
  var C = _handsontable.default.languages.dictionaryKeys;
204
211
  var dictionary = (_dictionary = {
205
212
  languageCode: 'lv-LV'
@@ -201,6 +201,13 @@ exports.default = void 0;
201
201
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
202
202
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
203
203
  var _dictionary;
204
+ /**
205
+ * @preserve
206
+ * Authors: Simon Borøy-Johnsen (TheSimoms)
207
+ * Last updated: Dec 19, 2017
208
+ *
209
+ * Description: Definition file for Norwegian Bokmål - Norway language-country.
210
+ */
204
211
  var C = _handsontable.default.languages.dictionaryKeys;
205
212
  var dictionary = (_dictionary = {
206
213
  languageCode: 'nb-NO'
@@ -202,6 +202,13 @@ exports.default = void 0;
202
202
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
203
203
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
204
204
  var _dictionary;
205
+ /**
206
+ * @preserve
207
+ * Authors: Tomas Rapkauskas, Anton Brouwer, webjazznl
208
+ * Last updated: Dec 5, 2022
209
+ *
210
+ * Description: Definition file for Dutch - The Netherlands language-country.
211
+ */
205
212
  var C = _handsontable.default.languages.dictionaryKeys;
206
213
  var dictionary = (_dictionary = {
207
214
  languageCode: 'nl-NL'
@@ -203,6 +203,13 @@ exports.default = void 0;
203
203
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
204
204
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
205
205
  var _dictionary;
206
+ /**
207
+ * @preserve
208
+ * Authors: Handsoncode
209
+ * Last updated: Dec 5, 2022
210
+ *
211
+ * Description: Definition file for Polish - Poland language-country.
212
+ */
206
213
  var C = _handsontable.default.languages.dictionaryKeys;
207
214
  var dictionary = (_dictionary = {
208
215
  languageCode: 'pl-PL'
@@ -142,6 +142,13 @@ exports.default = void 0;
142
142
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
143
143
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
144
144
  var _dictionary;
145
+ /**
146
+ * @preserve
147
+ * Authors: Júlio C. Zuppa
148
+ * Last updated: Jan 12, 2018
149
+ *
150
+ * Description: Definition file for Portuguese - Brazil language-country.
151
+ */
145
152
  var C = _handsontable.default.languages.dictionaryKeys;
146
153
  var dictionary = (_dictionary = {
147
154
  languageCode: 'pt-BR'
@@ -142,6 +142,13 @@ exports.default = void 0;
142
142
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
143
143
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
144
144
  var _dictionary;
145
+ /**
146
+ * @preserve
147
+ * Authors: Alexey Rogachev
148
+ * Last updated: Feb 28, 2018
149
+ *
150
+ * Description: Definition file for Russian - Russia language-country.
151
+ */
145
152
  var C = _handsontable.default.languages.dictionaryKeys;
146
153
  var dictionary = (_dictionary = {
147
154
  languageCode: 'ru-RU'
@@ -142,6 +142,13 @@ exports.default = void 0;
142
142
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
143
143
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
144
144
  var _dictionary;
145
+ /**
146
+ * @preserve
147
+ * Author: Ivan Zarkovic
148
+ * Last updated: May 9, 2022
149
+ *
150
+ * Description: Definition file for Serbian - Republic of Serbia language-country.
151
+ */
145
152
  var C = _handsontable.default.languages.dictionaryKeys;
146
153
  var dictionary = (_dictionary = {
147
154
  languageCode: 'sr-SP'
@@ -142,6 +142,13 @@ exports.default = void 0;
142
142
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
143
143
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
144
144
  var _dictionary;
145
+ /**
146
+ * @preserve
147
+ * Authors: soakit, HChenZi
148
+ * Last updated: Mar 09, 2023
149
+ *
150
+ * Description: Definition file for Chinese - China language-country.
151
+ */
145
152
  var C = _handsontable.default.languages.dictionaryKeys;
146
153
  var dictionary = (_dictionary = {
147
154
  languageCode: 'zh-CN'
@@ -142,6 +142,13 @@ exports.default = void 0;
142
142
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
143
143
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
144
144
  var _dictionary;
145
+ /**
146
+ * @preserve
147
+ * Authors: Phyllis Yen
148
+ * Last updated: Mar 9, 2018
149
+ *
150
+ * Description: Definition file for Chinese - Taiwan language-country.
151
+ */
145
152
  var C = _handsontable.default.languages.dictionaryKeys;
146
153
  var dictionary = (_dictionary = {
147
154
  languageCode: 'zh-TW'
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/handsontable/handsontable/issues"
11
11
  },
12
12
  "author": "Handsoncode <hello@handsontable.com>",
13
- "version": "0.0.0-next-48677e7-20230509",
13
+ "version": "0.0.0-next-834f47e-20230509",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -105,7 +105,7 @@
105
105
  "webpack-cli": "^3.3.0"
106
106
  },
107
107
  "optionalDependencies": {
108
- "hyperformula": "^2.0.0"
108
+ "hyperformula": "^2.4.0"
109
109
  },
110
110
  "license": "SEE LICENSE IN LICENSE.txt",
111
111
  "typings": "./index.d.ts",
@@ -399,6 +399,7 @@
399
399
  "require": "./plugins/formulas/index.js",
400
400
  "import": "./plugins/formulas/index.mjs"
401
401
  },
402
+ "./plugins/formulas/indexSyncer": "./plugins/formulas/indexSyncer",
402
403
  "./plugins/hiddenColumns/index.d.ts": "./plugins/hiddenColumns/index.d.ts",
403
404
  "./plugins/hiddenColumns": {
404
405
  "require": "./plugins/hiddenColumns/index.js",
package/pluginHooks.js CHANGED
@@ -141,9 +141,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
141
141
  * });
142
142
  * :::
143
143
  * ...
144
- */
145
-
146
- // @TODO: Move plugin description hooks to plugin?
144
+ */ // @TODO: Move plugin description hooks to plugin?
147
145
  var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sentence */
148
146
  /**
149
147
  * Fired after resetting a cell's meta. This happens when the {@link Core#updateSettings} method is called.
@@ -289,6 +287,12 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
289
287
  * :::
290
288
  */
291
289
  'beforeCreateCol',
290
+ /**
291
+ * Fired after changing a column sequence. It populates every change on indexes captured by {@link IndexMapper}.
292
+ *
293
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
294
+ */
295
+ 'afterColumnSequenceChange',
292
296
  /**
293
297
  * Fired after created a new column.
294
298
  *
@@ -551,6 +555,12 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
551
555
  * @param {object} cellProperties Object containing the cell's properties.
552
556
  */
553
557
  'afterRenderer',
558
+ /**
559
+ * Fired after changing a row sequence. It populates every change on indexes captured by {@link IndexMapper}.
560
+ *
561
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
562
+ */
563
+ 'afterRowSequenceChange',
554
564
  /**
555
565
  * Fired after the horizontal scroll event.
556
566
  *
@@ -1196,8 +1206,8 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
1196
1206
  * Fired when a data was retrieved or modified.
1197
1207
  *
1198
1208
  * @event Hooks#modifyData
1199
- * @param {number} row Physical row height.
1200
- * @param {number} column Physical column index.
1209
+ * @param {number} row Physical row index.
1210
+ * @param {number} column Visual column index.
1201
1211
  * @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value` property.
1202
1212
  * @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
1203
1213
  */
@@ -1208,7 +1218,7 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
1208
1218
  * @event Hooks#modifySourceData
1209
1219
  * @since 8.0.0
1210
1220
  * @param {number} row Physical row index.
1211
- * @param {number} column Physical column index.
1221
+ * @param {number} column Physical column index or property name.
1212
1222
  * @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value` property.
1213
1223
  * @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
1214
1224
  */
@@ -2400,7 +2410,7 @@ var REMOVED_HOOKS = new Map([['modifyRow', '8.0.0'], ['modifyCol', '8.0.0'], ['u
2400
2410
  * @type {Map<string, string>}
2401
2411
  */
2402
2412
  /* eslint-enable jsdoc/require-description-complete-sentence */
2403
- var DEPRECATED_HOOKS = new Map([['beforeAutofillInsidePopulate', 'The plugin hook "beforeAutofillInsidePopulate" is deprecated and will be removed in the next major release.'], ['beforeRemoveCellClassNames', 'The hook "beforeRemoveCellClassNames" is deprecated and will be removed in the next major release.']]);
2413
+ var DEPRECATED_HOOKS = new Map([['beforeAutofillInsidePopulate', 'The plugin hook "beforeAutofillInsidePopulate" is deprecated and will be removed in the next major release.']]);
2404
2414
  var Hooks = /*#__PURE__*/function () {
2405
2415
  /**
2406
2416
  *
package/pluginHooks.mjs CHANGED
@@ -284,6 +284,12 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
284
284
  * :::
285
285
  */
286
286
  'beforeCreateCol',
287
+ /**
288
+ * Fired after changing a column sequence. It populates every change on indexes captured by {@link IndexMapper}.
289
+ *
290
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
291
+ */
292
+ 'afterColumnSequenceChange',
287
293
  /**
288
294
  * Fired after created a new column.
289
295
  *
@@ -546,6 +552,12 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
546
552
  * @param {object} cellProperties Object containing the cell's properties.
547
553
  */
548
554
  'afterRenderer',
555
+ /**
556
+ * Fired after changing a row sequence. It populates every change on indexes captured by {@link IndexMapper}.
557
+ *
558
+ * @param {'init'|'remove'|'insert'|'move'|'update'} [source] String that identifies source of row sequence change.
559
+ */
560
+ 'afterRowSequenceChange',
549
561
  /**
550
562
  * Fired after the horizontal scroll event.
551
563
  *
@@ -1191,8 +1203,8 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
1191
1203
  * Fired when a data was retrieved or modified.
1192
1204
  *
1193
1205
  * @event Hooks#modifyData
1194
- * @param {number} row Physical row height.
1195
- * @param {number} column Physical column index.
1206
+ * @param {number} row Physical row index.
1207
+ * @param {number} column Visual column index.
1196
1208
  * @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value` property.
1197
1209
  * @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
1198
1210
  */
@@ -1203,7 +1215,7 @@ var REGISTERED_HOOKS = [/* eslint-disable jsdoc/require-description-complete-sen
1203
1215
  * @event Hooks#modifySourceData
1204
1216
  * @since 8.0.0
1205
1217
  * @param {number} row Physical row index.
1206
- * @param {number} column Physical column index.
1218
+ * @param {number} column Physical column index or property name.
1207
1219
  * @param {object} valueHolder Object which contains original value which can be modified by overwriting `.value` property.
1208
1220
  * @param {string} ioMode String which indicates for what operation hook is fired (`get` or `set`).
1209
1221
  */
@@ -2395,7 +2407,7 @@ var REMOVED_HOOKS = new Map([['modifyRow', '8.0.0'], ['modifyCol', '8.0.0'], ['u
2395
2407
  * @type {Map<string, string>}
2396
2408
  */
2397
2409
  /* eslint-enable jsdoc/require-description-complete-sentence */
2398
- var DEPRECATED_HOOKS = new Map([['beforeAutofillInsidePopulate', 'The plugin hook "beforeAutofillInsidePopulate" is deprecated and will be removed in the next major release.'], ['beforeRemoveCellClassNames', 'The hook "beforeRemoveCellClassNames" is deprecated and will be removed in the next major release.']]);
2410
+ var DEPRECATED_HOOKS = new Map([['beforeAutofillInsidePopulate', 'The plugin hook "beforeAutofillInsidePopulate" is deprecated and will be removed in the next major release.']]);
2399
2411
  var Hooks = /*#__PURE__*/function () {
2400
2412
  /**
2401
2413
  *
@@ -83,10 +83,10 @@ var ROW_WIDTHS_MAP_NAME = 'autoRowSize';
83
83
  * To configure the sync/async distribution, you can pass an absolute value (number of rows) or a percentage value to a config object:
84
84
  * ```js
85
85
  * // as a number (300 rows in sync, rest async)
86
- * autoRowSize: {syncLimit: 300},.
86
+ * autoRowSize: {syncLimit: 300},
87
87
  *
88
88
  * // as a string (percent)
89
- * autoRowSize: {syncLimit: '40%'},.
89
+ * autoRowSize: {syncLimit: '40%'},
90
90
  *
91
91
  * // allow sample duplication
92
92
  * autoRowSize: {syncLimit: '40%', allowSampleDuplicates: true},
@@ -76,10 +76,10 @@ var ROW_WIDTHS_MAP_NAME = 'autoRowSize';
76
76
  * To configure the sync/async distribution, you can pass an absolute value (number of rows) or a percentage value to a config object:
77
77
  * ```js
78
78
  * // as a number (300 rows in sync, rest async)
79
- * autoRowSize: {syncLimit: 300},.
79
+ * autoRowSize: {syncLimit: 300},
80
80
  *
81
81
  * // as a string (percent)
82
- * autoRowSize: {syncLimit: '40%'},.
82
+ * autoRowSize: {syncLimit: '40%'},
83
83
  *
84
84
  * // allow sample duplication
85
85
  * autoRowSize: {syncLimit: '40%', allowSampleDuplicates: true},