handsontable 12.3.3 → 12.4.0-next-ddbea0c-20230512

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. package/3rdparty/walkontable/src/cell/coords.js +13 -16
  2. package/3rdparty/walkontable/src/cell/coords.mjs +13 -16
  3. package/3rdparty/walkontable/src/cell/range.js +25 -29
  4. package/3rdparty/walkontable/src/cell/range.mjs +24 -28
  5. package/3rdparty/walkontable/src/core/_base.js +16 -20
  6. package/3rdparty/walkontable/src/core/_base.mjs +16 -20
  7. package/3rdparty/walkontable/src/event.js +4 -0
  8. package/3rdparty/walkontable/src/event.mjs +4 -0
  9. package/3rdparty/walkontable/src/overlay/_base.js +6 -7
  10. package/3rdparty/walkontable/src/overlay/_base.mjs +6 -7
  11. package/3rdparty/walkontable/src/overlay/bottom.js +6 -7
  12. package/3rdparty/walkontable/src/overlay/bottom.mjs +6 -7
  13. package/3rdparty/walkontable/src/overlay/top.js +6 -7
  14. package/3rdparty/walkontable/src/overlay/top.mjs +6 -7
  15. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +10 -12
  16. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +10 -12
  17. package/3rdparty/walkontable/src/overlays.js +55 -64
  18. package/3rdparty/walkontable/src/overlays.mjs +55 -64
  19. package/3rdparty/walkontable/src/scroll.js +20 -23
  20. package/3rdparty/walkontable/src/scroll.mjs +20 -23
  21. package/3rdparty/walkontable/src/settings.js +13 -15
  22. package/3rdparty/walkontable/src/settings.mjs +13 -15
  23. package/3rdparty/walkontable/src/table.js +22 -26
  24. package/3rdparty/walkontable/src/table.mjs +22 -26
  25. package/CHANGELOG.md +14 -0
  26. package/base.js +2 -4
  27. package/base.mjs +2 -2
  28. package/core.js +23 -6
  29. package/core.mjs +23 -6
  30. package/dataMap/dataSource.js +5 -5
  31. package/dataMap/dataSource.mjs +5 -5
  32. package/dataMap/metaManager/metaSchema.js +9 -7
  33. package/dataMap/metaManager/metaSchema.mjs +9 -7
  34. package/dist/handsontable.css +2 -2
  35. package/dist/handsontable.full.css +2 -2
  36. package/dist/handsontable.full.js +7364 -5992
  37. package/dist/handsontable.full.min.css +2 -2
  38. package/dist/handsontable.full.min.js +256 -234
  39. package/dist/handsontable.js +4326 -3275
  40. package/dist/handsontable.min.css +2 -2
  41. package/dist/handsontable.min.js +11 -3
  42. package/dist/languages/all.js +133 -0
  43. package/dist/languages/ar-AR.js +7 -0
  44. package/dist/languages/cs-CZ.js +7 -0
  45. package/dist/languages/de-CH.js +7 -0
  46. package/dist/languages/de-DE.js +7 -0
  47. package/dist/languages/en-US.js +7 -0
  48. package/dist/languages/es-MX.js +7 -0
  49. package/dist/languages/fr-FR.js +7 -0
  50. package/dist/languages/it-IT.js +7 -0
  51. package/dist/languages/ja-JP.js +7 -0
  52. package/dist/languages/ko-KR.js +7 -0
  53. package/dist/languages/lv-LV.js +7 -0
  54. package/dist/languages/nb-NO.js +7 -0
  55. package/dist/languages/nl-NL.js +7 -0
  56. package/dist/languages/pl-PL.js +7 -0
  57. package/dist/languages/pt-BR.js +7 -0
  58. package/dist/languages/ru-RU.js +7 -0
  59. package/dist/languages/sr-SP.js +7 -0
  60. package/dist/languages/zh-CN.js +7 -0
  61. package/dist/languages/zh-TW.js +7 -0
  62. package/editors/autocompleteEditor/autocompleteEditor.js +8 -9
  63. package/editors/autocompleteEditor/autocompleteEditor.mjs +8 -9
  64. package/helpers/mixed.js +2 -2
  65. package/helpers/mixed.mjs +2 -2
  66. package/i18n/languages/ar-AR.js +7 -1
  67. package/i18n/languages/cs-CZ.js +7 -1
  68. package/i18n/languages/de-CH.js +7 -1
  69. package/i18n/languages/de-DE.js +7 -1
  70. package/i18n/languages/en-US.js +7 -1
  71. package/i18n/languages/es-MX.js +7 -1
  72. package/i18n/languages/fr-FR.js +7 -1
  73. package/i18n/languages/it-IT.js +7 -1
  74. package/i18n/languages/ja-JP.js +7 -1
  75. package/i18n/languages/ko-KR.js +7 -1
  76. package/i18n/languages/lv-LV.js +7 -1
  77. package/i18n/languages/nb-NO.js +7 -1
  78. package/i18n/languages/nl-NL.js +7 -1
  79. package/i18n/languages/pl-PL.js +7 -1
  80. package/i18n/languages/pt-BR.js +7 -1
  81. package/i18n/languages/ru-RU.js +7 -1
  82. package/i18n/languages/sr-SP.js +7 -1
  83. package/i18n/languages/zh-CN.js +7 -1
  84. package/i18n/languages/zh-TW.js +7 -1
  85. package/languages/all.js +133 -0
  86. package/languages/ar-AR.js +7 -0
  87. package/languages/cs-CZ.js +7 -0
  88. package/languages/de-CH.js +7 -0
  89. package/languages/de-DE.js +7 -0
  90. package/languages/en-US.js +7 -0
  91. package/languages/es-MX.js +7 -0
  92. package/languages/fr-FR.js +7 -0
  93. package/languages/index.js +133 -0
  94. package/languages/it-IT.js +7 -0
  95. package/languages/ja-JP.js +7 -0
  96. package/languages/ko-KR.js +7 -0
  97. package/languages/lv-LV.js +7 -0
  98. package/languages/nb-NO.js +7 -0
  99. package/languages/nl-NL.js +7 -0
  100. package/languages/pl-PL.js +7 -0
  101. package/languages/pt-BR.js +7 -0
  102. package/languages/ru-RU.js +7 -0
  103. package/languages/sr-SP.js +7 -0
  104. package/languages/zh-CN.js +7 -0
  105. package/languages/zh-TW.js +7 -0
  106. package/package.json +3 -2
  107. package/pluginHooks.js +16 -6
  108. package/pluginHooks.mjs +15 -3
  109. package/plugins/autoRowSize/autoRowSize.js +2 -2
  110. package/plugins/autoRowSize/autoRowSize.mjs +2 -2
  111. package/plugins/base/base.js +9 -10
  112. package/plugins/base/base.mjs +9 -10
  113. package/plugins/collapsibleColumns/collapsibleColumns.js +24 -7
  114. package/plugins/collapsibleColumns/collapsibleColumns.mjs +24 -7
  115. package/plugins/copyPaste/copyPaste.js +92 -16
  116. package/plugins/copyPaste/copyPaste.mjs +92 -16
  117. package/plugins/copyPaste/copyableRanges.js +39 -39
  118. package/plugins/copyPaste/copyableRanges.mjs +32 -32
  119. package/plugins/customBorders/customBorders.d.ts +2 -0
  120. package/plugins/customBorders/customBorders.js +6 -7
  121. package/plugins/customBorders/customBorders.mjs +6 -7
  122. package/plugins/filters/filters.js +5 -0
  123. package/plugins/filters/filters.mjs +5 -0
  124. package/plugins/formulas/engine/register.js +9 -0
  125. package/plugins/formulas/engine/register.mjs +13 -4
  126. package/plugins/formulas/engine/settings.js +18 -3
  127. package/plugins/formulas/engine/settings.mjs +16 -3
  128. package/plugins/formulas/formulas.js +308 -162
  129. package/plugins/formulas/formulas.mjs +308 -163
  130. package/plugins/formulas/indexSyncer/axisSyncer.js +379 -0
  131. package/plugins/formulas/indexSyncer/axisSyncer.mjs +374 -0
  132. package/plugins/formulas/indexSyncer/index.js +225 -0
  133. package/plugins/formulas/indexSyncer/index.mjs +219 -0
  134. package/plugins/formulas/utils.js +81 -0
  135. package/plugins/formulas/utils.mjs +74 -0
  136. package/plugins/hiddenColumns/hiddenColumns.js +12 -7
  137. package/plugins/hiddenColumns/hiddenColumns.mjs +12 -7
  138. package/plugins/hiddenRows/hiddenRows.js +12 -7
  139. package/plugins/hiddenRows/hiddenRows.mjs +12 -7
  140. package/plugins/manualRowMove/manualRowMove.js +26 -11
  141. package/plugins/manualRowMove/manualRowMove.mjs +27 -12
  142. package/plugins/nestedHeaders/nestedHeaders.js +26 -7
  143. package/plugins/nestedHeaders/nestedHeaders.mjs +26 -7
  144. package/plugins/nestedHeaders/stateManager/headersTree.js +23 -26
  145. package/plugins/nestedHeaders/stateManager/headersTree.mjs +20 -23
  146. package/plugins/nestedHeaders/stateManager/index.js +21 -3
  147. package/plugins/nestedHeaders/stateManager/index.mjs +18 -0
  148. package/plugins/nestedHeaders/stateManager/matrixGenerator.js +1 -0
  149. package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -1
  150. package/plugins/nestedHeaders/stateManager/sourceSettings.js +19 -0
  151. package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +19 -0
  152. package/plugins/nestedHeaders/utils/ghostTable.js +30 -35
  153. package/plugins/nestedHeaders/utils/ghostTable.mjs +30 -35
  154. package/plugins/registry.js +3 -1
  155. package/plugins/undoRedo/undoRedo.js +0 -1
  156. package/plugins/undoRedo/undoRedo.mjs +0 -1
  157. package/selection/highlight/visualSelection.js +5 -6
  158. package/selection/highlight/visualSelection.mjs +5 -6
  159. package/tableView.js +62 -72
  160. package/tableView.mjs +62 -72
  161. package/translations/changesObservable/observable.js +41 -46
  162. package/translations/changesObservable/observable.mjs +36 -41
  163. package/translations/changesObservable/observer.js +8 -1
  164. package/translations/changesObservable/observer.mjs +7 -0
  165. package/translations/indexMapper.js +21 -0
  166. package/translations/indexMapper.mjs +21 -0
  167. package/translations/maps/linkedPhysicalIndexToValueMap.js +6 -0
  168. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +6 -0
  169. package/utils/dataStructures/tree.js +15 -18
  170. package/utils/dataStructures/tree.mjs +15 -18
  171. package/utils/parseTable.js +5 -1
  172. package/utils/parseTable.mjs +5 -1
@@ -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'
@@ -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',
@@ -190,6 +190,13 @@ exports.default = void 0;
190
190
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
191
191
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
192
192
  var _dictionary;
193
+ /**
194
+ * @preserve
195
+ * Authors: Ashus
196
+ * Last updated: Mar 22, 2022
197
+ *
198
+ * Description: Definition file for Czech - Czechia language-country.
199
+ */
193
200
  var C = _handsontable.default.languages.dictionaryKeys;
194
201
  var dictionary = (_dictionary = {
195
202
  languageCode: 'cs-CZ'
@@ -191,6 +191,13 @@ exports.default = void 0;
191
191
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
192
192
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
193
193
  var _dictionary;
194
+ /**
195
+ * @preserve
196
+ * Authors: Stefan Salzl
197
+ * Last updated: Jan 08, 2018
198
+ *
199
+ * Description: Definition file for German - Switzerland language-country.
200
+ */
194
201
  var C = _handsontable.default.languages.dictionaryKeys;
195
202
  var dictionary = (_dictionary = {
196
203
  languageCode: 'de-CH'
@@ -192,6 +192,13 @@ exports.default = void 0;
192
192
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
193
193
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
194
194
  var _dictionary;
195
+ /**
196
+ * @preserve
197
+ * Authors: Stefan Salzl
198
+ * Last updated: Jan 08, 2018
199
+ *
200
+ * Description: Definition file for German - Germany language-country.
201
+ */
195
202
  var C = _handsontable.default.languages.dictionaryKeys;
196
203
  var dictionary = (_dictionary = {
197
204
  languageCode: 'de-DE'
@@ -193,6 +193,13 @@ exports.default = void 0;
193
193
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
194
194
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
195
195
  var _dictionary;
196
+ /**
197
+ * @preserve
198
+ * Authors: Handsoncode
199
+ * Last updated: Nov 15, 2017
200
+ *
201
+ * Description: Definition file for English - United States language-country.
202
+ */
196
203
  var C = _handsontable.default.languages.dictionaryKeys;
197
204
  var dictionary = (_dictionary = {
198
205
  languageCode: 'en-US'
@@ -194,6 +194,13 @@ exports.default = void 0;
194
194
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
195
195
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
196
196
  var _dictionary;
197
+ /**
198
+ * @preserve
199
+ * Authors: Handsoncode, Enrique Enciso
200
+ * Last updated: Nov 18, 2022
201
+ *
202
+ * Description: Definition file for Spanish - Mexico language-country.
203
+ */
197
204
  var C = _handsontable.default.languages.dictionaryKeys;
198
205
  var dictionary = (_dictionary = {
199
206
  languageCode: 'es-MX'
@@ -195,6 +195,13 @@ exports.default = void 0;
195
195
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
196
196
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
197
197
  var _dictionary;
198
+ /**
199
+ * @preserve
200
+ * Authors: Stefan Salzl, Thomas Senn
201
+ * Last updated: Feb 05, 2018
202
+ *
203
+ * Description: Definition file for French - France language-country.
204
+ */
198
205
  var C = _handsontable.default.languages.dictionaryKeys;
199
206
  var dictionary = (_dictionary = {
200
207
  languageCode: 'fr-FR'
@@ -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'
@@ -67,6 +67,14 @@ var AutocompleteEditor = /*#__PURE__*/function (_HandsontableEditor) {
67
67
  *
68
68
  * @type {string}
69
69
  */
70
+ /**
71
+ * Filters and sorts by relevance.
72
+ *
73
+ * @param {*} value The selected value.
74
+ * @param {string[]} choices The list of available choices.
75
+ * @param {boolean} caseSensitive Indicates if it's sorted by case.
76
+ * @returns {number[]} Array of indexes in original choices array.
77
+ */
70
78
  _defineProperty(_assertThisInitialized(_this), "sortByRelevance", function (value, choices, caseSensitive) {
71
79
  var choicesRelevance = [];
72
80
  var result = [];
@@ -569,15 +577,6 @@ var AutocompleteEditor = /*#__PURE__*/function (_HandsontableEditor) {
569
577
  }
570
578
  }
571
579
  }
572
-
573
- /**
574
- * Filters and sorts by relevance.
575
- *
576
- * @param {*} value The selected value.
577
- * @param {string[]} choices The list of available choices.
578
- * @param {boolean} caseSensitive Indicates if it's sorted by case.
579
- * @returns {number[]} Array of indexes in original choices array.
580
- */
581
580
  }], [{
582
581
  key: "EDITOR_TYPE",
583
582
  get: function get() {
@@ -62,6 +62,14 @@ export var AutocompleteEditor = /*#__PURE__*/function (_HandsontableEditor) {
62
62
  *
63
63
  * @type {string}
64
64
  */
65
+ /**
66
+ * Filters and sorts by relevance.
67
+ *
68
+ * @param {*} value The selected value.
69
+ * @param {string[]} choices The list of available choices.
70
+ * @param {boolean} caseSensitive Indicates if it's sorted by case.
71
+ * @returns {number[]} Array of indexes in original choices array.
72
+ */
65
73
  _defineProperty(_assertThisInitialized(_this), "sortByRelevance", function (value, choices, caseSensitive) {
66
74
  var choicesRelevance = [];
67
75
  var result = [];
@@ -564,15 +572,6 @@ export var AutocompleteEditor = /*#__PURE__*/function (_HandsontableEditor) {
564
572
  }
565
573
  }
566
574
  }
567
-
568
- /**
569
- * Filters and sorts by relevance.
570
- *
571
- * @param {*} value The selected value.
572
- * @param {string[]} choices The list of available choices.
573
- * @param {boolean} caseSensitive Indicates if it's sorted by case.
574
- * @returns {number[]} Array of indexes in original choices array.
575
- */
576
575
  }], [{
577
576
  key: "EDITOR_TYPE",
578
577
  get: function get() {
package/helpers/mixed.js CHANGED
@@ -152,7 +152,7 @@ var domMessages = {
152
152
  function _injectProductInfo(key, element) {
153
153
  var hasValidType = !isEmpty(key);
154
154
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
155
- var hotVersion = "12.3.3";
155
+ var hotVersion = "12.4.0-next-ddbea0c-20230512";
156
156
  var keyValidityDate;
157
157
  var consoleMessageState = 'invalid';
158
158
  var domMessageState = 'invalid';
@@ -160,7 +160,7 @@ function _injectProductInfo(key, element) {
160
160
  var schemaValidity = _checkKeySchema(key);
161
161
  if (hasValidType || isNonCommercial || schemaValidity) {
162
162
  if (schemaValidity) {
163
- var releaseDate = (0, _moment.default)("28/03/2023", 'DD/MM/YYYY');
163
+ var releaseDate = (0, _moment.default)("23/05/2023", 'DD/MM/YYYY');
164
164
  var releaseDays = Math.floor(releaseDate.toDate().getTime() / 8.64e7);
165
165
  var keyValidityDays = _extractTime(key);
166
166
  keyValidityDate = (0, _moment.default)((keyValidityDays + 1) * 8.64e7, 'x').format('MMMM DD, YYYY');
package/helpers/mixed.mjs CHANGED
@@ -142,7 +142,7 @@ var domMessages = {
142
142
  export function _injectProductInfo(key, element) {
143
143
  var hasValidType = !isEmpty(key);
144
144
  var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
145
- var hotVersion = "12.3.3";
145
+ var hotVersion = "12.4.0-next-ddbea0c-20230512";
146
146
  var keyValidityDate;
147
147
  var consoleMessageState = 'invalid';
148
148
  var domMessageState = 'invalid';
@@ -150,7 +150,7 @@ export function _injectProductInfo(key, element) {
150
150
  var schemaValidity = _checkKeySchema(key);
151
151
  if (hasValidType || isNonCommercial || schemaValidity) {
152
152
  if (schemaValidity) {
153
- var releaseDate = moment("28/03/2023", 'DD/MM/YYYY');
153
+ var releaseDate = moment("23/05/2023", 'DD/MM/YYYY');
154
154
  var releaseDays = Math.floor(releaseDate.toDate().getTime() / 8.64e7);
155
155
  var keyValidityDays = _extractTime(key);
156
156
  keyValidityDate = moment((keyValidityDays + 1) * 8.64e7, 'x').format('MMMM DD, YYYY');
@@ -21,7 +21,13 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
21
21
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
22
22
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
23
23
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
24
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
24
+ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } /**
25
+ * @preserve
26
+ * Authors: Handsoncode
27
+ * Last updated: Feb 9, 2022
28
+ *
29
+ * Description: Definition file for Arabic - Without a specific country.
30
+ */
25
31
  var dictionary = (_dictionary = {
26
32
  languageCode: 'ar-AR',
27
33
  languageDirection: 'rtl'