handsontable 0.0.0-next-5e7f0fe-20230504 → 0.0.0-next-48677e7-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/cell/coords.js +40 -13
  2. package/3rdparty/walkontable/src/cell/coords.mjs +40 -13
  3. package/3rdparty/walkontable/src/cell/range.js +29 -25
  4. package/3rdparty/walkontable/src/cell/range.mjs +28 -24
  5. package/3rdparty/walkontable/src/core/_base.js +9 -3
  6. package/3rdparty/walkontable/src/core/_base.mjs +9 -3
  7. package/3rdparty/walkontable/src/core/clone.js +2 -2
  8. package/3rdparty/walkontable/src/core/clone.mjs +2 -2
  9. package/3rdparty/walkontable/src/core/core.js +3 -2
  10. package/3rdparty/walkontable/src/core/core.mjs +3 -2
  11. package/3rdparty/walkontable/src/event.js +12 -10
  12. package/3rdparty/walkontable/src/event.mjs +12 -10
  13. package/3rdparty/walkontable/src/facade/core.js +2 -2
  14. package/3rdparty/walkontable/src/facade/core.mjs +2 -2
  15. package/3rdparty/walkontable/src/index.js +10 -2
  16. package/3rdparty/walkontable/src/index.mjs +2 -2
  17. package/3rdparty/walkontable/src/overlay/_base.js +8 -7
  18. package/3rdparty/walkontable/src/overlay/_base.mjs +8 -7
  19. package/3rdparty/walkontable/src/overlay/bottom.js +7 -6
  20. package/3rdparty/walkontable/src/overlay/bottom.mjs +7 -6
  21. package/3rdparty/walkontable/src/overlay/inlineStart.js +2 -4
  22. package/3rdparty/walkontable/src/overlay/inlineStart.mjs +2 -4
  23. package/3rdparty/walkontable/src/overlay/top.js +9 -10
  24. package/3rdparty/walkontable/src/overlay/top.mjs +9 -10
  25. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.js +12 -10
  26. package/3rdparty/walkontable/src/overlay/topInlineStartCorner.mjs +12 -10
  27. package/3rdparty/walkontable/src/overlays.js +64 -55
  28. package/3rdparty/walkontable/src/overlays.mjs +64 -55
  29. package/3rdparty/walkontable/src/renderer/table.js +2 -0
  30. package/3rdparty/walkontable/src/renderer/table.mjs +2 -0
  31. package/3rdparty/walkontable/src/scroll.js +23 -20
  32. package/3rdparty/walkontable/src/scroll.mjs +23 -20
  33. package/3rdparty/walkontable/src/{border.js → selection/border/border.js} +7 -12
  34. package/3rdparty/walkontable/src/{border.mjs → selection/border/border.mjs} +7 -12
  35. package/3rdparty/walkontable/src/selection/border/constants.js +18 -0
  36. package/3rdparty/walkontable/src/selection/border/constants.mjs +13 -0
  37. package/3rdparty/walkontable/src/selection/constants.js +63 -0
  38. package/3rdparty/walkontable/src/selection/constants.mjs +51 -0
  39. package/3rdparty/walkontable/src/selection/index.js +30 -0
  40. package/3rdparty/walkontable/src/selection/index.mjs +5 -0
  41. package/3rdparty/walkontable/src/selection/manager.js +334 -0
  42. package/3rdparty/walkontable/src/selection/manager.mjs +328 -0
  43. package/3rdparty/walkontable/src/selection/scanner.js +363 -0
  44. package/3rdparty/walkontable/src/selection/scanner.mjs +359 -0
  45. package/3rdparty/walkontable/src/selection/selection.js +133 -0
  46. package/3rdparty/walkontable/src/selection/selection.mjs +127 -0
  47. package/3rdparty/walkontable/src/settings.js +15 -13
  48. package/3rdparty/walkontable/src/settings.mjs +15 -13
  49. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.js +9 -0
  50. package/3rdparty/walkontable/src/table/mixin/calculatedColumns.mjs +9 -0
  51. package/3rdparty/walkontable/src/table/mixin/calculatedRows.js +9 -0
  52. package/3rdparty/walkontable/src/table/mixin/calculatedRows.mjs +9 -0
  53. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.js +9 -0
  54. package/3rdparty/walkontable/src/table/mixin/stickyColumnsStart.mjs +9 -0
  55. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.js +9 -0
  56. package/3rdparty/walkontable/src/table/mixin/stickyRowsBottom.mjs +9 -0
  57. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.js +9 -0
  58. package/3rdparty/walkontable/src/table/mixin/stickyRowsTop.mjs +9 -0
  59. package/3rdparty/walkontable/src/table.js +33 -101
  60. package/3rdparty/walkontable/src/table.mjs +34 -102
  61. package/base.js +4 -2
  62. package/base.mjs +2 -2
  63. package/core.d.ts +4 -0
  64. package/core.js +49 -8
  65. package/core.mjs +49 -8
  66. package/dataMap/dataSource.js +5 -5
  67. package/dataMap/dataSource.mjs +5 -5
  68. package/dataMap/metaManager/metaSchema.js +7 -0
  69. package/dataMap/metaManager/metaSchema.mjs +7 -0
  70. package/dist/handsontable.css +7 -2
  71. package/dist/handsontable.full.css +7 -2
  72. package/dist/handsontable.full.js +9409 -9084
  73. package/dist/handsontable.full.min.css +3 -3
  74. package/dist/handsontable.full.min.js +115 -123
  75. package/dist/handsontable.js +9497 -9171
  76. package/dist/handsontable.min.css +3 -3
  77. package/dist/handsontable.min.js +3 -11
  78. package/dist/languages/all.js +0 -133
  79. package/dist/languages/ar-AR.js +0 -7
  80. package/dist/languages/cs-CZ.js +0 -7
  81. package/dist/languages/de-CH.js +0 -7
  82. package/dist/languages/de-DE.js +0 -7
  83. package/dist/languages/en-US.js +0 -7
  84. package/dist/languages/es-MX.js +0 -7
  85. package/dist/languages/fr-FR.js +0 -7
  86. package/dist/languages/it-IT.js +0 -7
  87. package/dist/languages/ja-JP.js +0 -7
  88. package/dist/languages/ko-KR.js +0 -7
  89. package/dist/languages/lv-LV.js +0 -7
  90. package/dist/languages/nb-NO.js +0 -7
  91. package/dist/languages/nl-NL.js +0 -7
  92. package/dist/languages/pl-PL.js +0 -7
  93. package/dist/languages/pt-BR.js +0 -7
  94. package/dist/languages/ru-RU.js +0 -7
  95. package/dist/languages/sr-SP.js +0 -7
  96. package/dist/languages/zh-CN.js +0 -7
  97. package/dist/languages/zh-TW.js +0 -7
  98. package/editorManager.js +7 -3
  99. package/editorManager.mjs +7 -3
  100. package/editors/textEditor/textEditor.js +3 -16
  101. package/editors/textEditor/textEditor.mjs +4 -17
  102. package/focusManager.d.ts +12 -0
  103. package/focusManager.js +249 -0
  104. package/focusManager.mjs +245 -0
  105. package/helpers/dom/element.js +11 -0
  106. package/helpers/dom/element.mjs +10 -0
  107. package/helpers/mixed.js +1 -1
  108. package/helpers/mixed.mjs +1 -1
  109. package/i18n/languages/ar-AR.js +1 -7
  110. package/i18n/languages/cs-CZ.js +1 -7
  111. package/i18n/languages/de-CH.js +1 -7
  112. package/i18n/languages/de-DE.js +1 -7
  113. package/i18n/languages/en-US.js +1 -7
  114. package/i18n/languages/es-MX.js +1 -7
  115. package/i18n/languages/fr-FR.js +1 -7
  116. package/i18n/languages/it-IT.js +1 -7
  117. package/i18n/languages/ja-JP.js +1 -7
  118. package/i18n/languages/ko-KR.js +1 -7
  119. package/i18n/languages/lv-LV.js +1 -7
  120. package/i18n/languages/nb-NO.js +1 -7
  121. package/i18n/languages/nl-NL.js +1 -7
  122. package/i18n/languages/pl-PL.js +1 -7
  123. package/i18n/languages/pt-BR.js +1 -7
  124. package/i18n/languages/ru-RU.js +1 -7
  125. package/i18n/languages/sr-SP.js +1 -7
  126. package/i18n/languages/zh-CN.js +1 -7
  127. package/i18n/languages/zh-TW.js +1 -7
  128. package/languages/all.js +0 -133
  129. package/languages/ar-AR.js +0 -7
  130. package/languages/cs-CZ.js +0 -7
  131. package/languages/de-CH.js +0 -7
  132. package/languages/de-DE.js +0 -7
  133. package/languages/en-US.js +0 -7
  134. package/languages/es-MX.js +0 -7
  135. package/languages/fr-FR.js +0 -7
  136. package/languages/index.js +0 -133
  137. package/languages/it-IT.js +0 -7
  138. package/languages/ja-JP.js +0 -7
  139. package/languages/ko-KR.js +0 -7
  140. package/languages/lv-LV.js +0 -7
  141. package/languages/nb-NO.js +0 -7
  142. package/languages/nl-NL.js +0 -7
  143. package/languages/pl-PL.js +0 -7
  144. package/languages/pt-BR.js +0 -7
  145. package/languages/ru-RU.js +0 -7
  146. package/languages/sr-SP.js +0 -7
  147. package/languages/zh-CN.js +0 -7
  148. package/languages/zh-TW.js +0 -7
  149. package/package.json +2 -3
  150. package/pluginHooks.js +7 -17
  151. package/pluginHooks.mjs +4 -16
  152. package/plugins/autoRowSize/autoRowSize.js +2 -2
  153. package/plugins/autoRowSize/autoRowSize.mjs +2 -2
  154. package/plugins/copyPaste/copyPaste.js +12 -93
  155. package/plugins/copyPaste/copyPaste.mjs +12 -93
  156. package/plugins/copyPaste/copyableRanges.js +31 -25
  157. package/plugins/copyPaste/copyableRanges.mjs +24 -18
  158. package/plugins/customBorders/customBorders.js +6 -2
  159. package/plugins/customBorders/customBorders.mjs +7 -3
  160. package/plugins/filters/filters.js +0 -5
  161. package/plugins/filters/filters.mjs +0 -5
  162. package/plugins/formulas/formulas.js +168 -190
  163. package/plugins/formulas/formulas.mjs +168 -190
  164. package/plugins/mergeCells/mergeCells.js +0 -16
  165. package/plugins/mergeCells/mergeCells.mjs +0 -16
  166. package/plugins/nestedHeaders/nestedHeaders.js +3 -4
  167. package/plugins/nestedHeaders/nestedHeaders.mjs +3 -4
  168. package/plugins/nestedHeaders/stateManager/headersTree.js +26 -23
  169. package/plugins/nestedHeaders/stateManager/headersTree.mjs +23 -20
  170. package/plugins/nestedHeaders/stateManager/index.js +3 -3
  171. package/plugins/nestedHeaders/stateManager/matrixGenerator.js +0 -1
  172. package/plugins/nestedHeaders/stateManager/settingsNormalizer.js +1 -1
  173. package/plugins/nestedHeaders/utils/ghostTable.js +35 -30
  174. package/plugins/nestedHeaders/utils/ghostTable.mjs +35 -30
  175. package/plugins/registry.js +1 -3
  176. package/plugins/undoRedo/undoRedo.js +1 -0
  177. package/plugins/undoRedo/undoRedo.mjs +1 -0
  178. package/renderers/baseRenderer/baseRenderer.js +3 -0
  179. package/renderers/baseRenderer/baseRenderer.mjs +3 -0
  180. package/selection/highlight/highlight.js +335 -133
  181. package/selection/highlight/highlight.mjs +325 -129
  182. package/selection/highlight/types/activeHeader.js +10 -9
  183. package/selection/highlight/types/activeHeader.mjs +10 -8
  184. package/selection/highlight/types/area.js +12 -27
  185. package/selection/highlight/types/area.mjs +16 -30
  186. package/selection/highlight/types/areaLayered.js +54 -0
  187. package/selection/highlight/types/areaLayered.mjs +49 -0
  188. package/selection/highlight/types/column.js +50 -0
  189. package/selection/highlight/types/column.mjs +45 -0
  190. package/selection/highlight/types/customSelection.js +7 -10
  191. package/selection/highlight/types/customSelection.mjs +7 -9
  192. package/selection/highlight/types/fill.js +5 -8
  193. package/selection/highlight/types/fill.mjs +5 -7
  194. package/selection/highlight/types/{cell.js → focus.js} +5 -8
  195. package/selection/highlight/types/{cell.mjs → focus.mjs} +5 -7
  196. package/selection/highlight/types/header.js +10 -20
  197. package/selection/highlight/types/header.mjs +10 -19
  198. package/selection/highlight/types/{index.js → row.js} +27 -31
  199. package/selection/highlight/types/{index.mjs → row.mjs} +24 -29
  200. package/selection/highlight/visualSelection.js +12 -21
  201. package/selection/highlight/visualSelection.mjs +12 -21
  202. package/selection/index.js +4 -7
  203. package/selection/index.mjs +2 -3
  204. package/selection/selection.js +88 -46
  205. package/selection/selection.mjs +82 -44
  206. package/settings.d.ts +1 -0
  207. package/tableView.js +94 -66
  208. package/tableView.mjs +94 -66
  209. package/translations/changesObservable/observable.js +46 -41
  210. package/translations/changesObservable/observable.mjs +41 -36
  211. package/translations/changesObservable/observer.js +1 -1
  212. package/translations/indexMapper.js +0 -21
  213. package/translations/indexMapper.mjs +0 -21
  214. package/utils/dataStructures/tree.js +18 -15
  215. package/utils/dataStructures/tree.mjs +18 -15
  216. package/utils/parseTable.js +1 -5
  217. package/utils/parseTable.mjs +1 -5
  218. package/3rdparty/walkontable/src/selection.js +0 -354
  219. package/3rdparty/walkontable/src/selection.mjs +0 -348
  220. package/plugins/copyPaste/focusableElement.js +0 -219
  221. package/plugins/copyPaste/focusableElement.mjs +0 -213
  222. package/plugins/formulas/indexSyncer/axisSyncer.js +0 -379
  223. package/plugins/formulas/indexSyncer/axisSyncer.mjs +0 -374
  224. package/plugins/formulas/indexSyncer/index.js +0 -225
  225. package/plugins/formulas/indexSyncer/index.mjs +0 -219
  226. package/selection/highlight/constants.js +0 -16
  227. package/selection/highlight/constants.mjs +0 -6
@@ -107,13 +107,6 @@ 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
- */
117
110
  var C = _handsontable.default.languages.dictionaryKeys;
118
111
  var dictionary = (_dictionary = {
119
112
  languageCode: 'ar-AR',
@@ -218,13 +211,6 @@ exports.default = void 0;
218
211
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
219
212
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
220
213
  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
- */
228
214
  var C = _handsontable.default.languages.dictionaryKeys;
229
215
  var dictionary = (_dictionary = {
230
216
  languageCode: 'cs-CZ'
@@ -246,13 +232,6 @@ exports.default = void 0;
246
232
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
247
233
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
248
234
  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
- */
256
235
  var C = _handsontable.default.languages.dictionaryKeys;
257
236
  var dictionary = (_dictionary = {
258
237
  languageCode: 'de-CH'
@@ -274,13 +253,6 @@ exports.default = void 0;
274
253
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
275
254
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
276
255
  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
- */
284
256
  var C = _handsontable.default.languages.dictionaryKeys;
285
257
  var dictionary = (_dictionary = {
286
258
  languageCode: 'de-DE'
@@ -302,13 +274,6 @@ exports.default = void 0;
302
274
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
303
275
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
304
276
  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
- */
312
277
  var C = _handsontable.default.languages.dictionaryKeys;
313
278
  var dictionary = (_dictionary = {
314
279
  languageCode: 'en-US'
@@ -330,13 +295,6 @@ exports.default = void 0;
330
295
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
331
296
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
332
297
  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
- */
340
298
  var C = _handsontable.default.languages.dictionaryKeys;
341
299
  var dictionary = (_dictionary = {
342
300
  languageCode: 'es-MX'
@@ -358,13 +316,6 @@ exports.default = void 0;
358
316
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
359
317
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
360
318
  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
- */
368
319
  var C = _handsontable.default.languages.dictionaryKeys;
369
320
  var dictionary = (_dictionary = {
370
321
  languageCode: 'fr-FR'
@@ -434,13 +385,6 @@ exports.default = void 0;
434
385
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
435
386
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
436
387
  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
- */
444
388
  var C = _handsontable.default.languages.dictionaryKeys;
445
389
  var dictionary = (_dictionary = {
446
390
  languageCode: 'it-IT'
@@ -462,13 +406,6 @@ exports.default = void 0;
462
406
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
463
407
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
464
408
  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
- */
472
409
  var C = _handsontable.default.languages.dictionaryKeys;
473
410
  var dictionary = (_dictionary = {
474
411
  languageCode: 'ja-JP'
@@ -490,13 +427,6 @@ exports.default = void 0;
490
427
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
491
428
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
492
429
  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
- */
500
430
  var C = _handsontable.default.languages.dictionaryKeys;
501
431
  var dictionary = (_dictionary = {
502
432
  languageCode: 'ko-KR'
@@ -518,13 +448,6 @@ exports.default = void 0;
518
448
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
519
449
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
520
450
  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
- */
528
451
  var C = _handsontable.default.languages.dictionaryKeys;
529
452
  var dictionary = (_dictionary = {
530
453
  languageCode: 'lv-LV'
@@ -546,13 +469,6 @@ exports.default = void 0;
546
469
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
547
470
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
548
471
  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
- */
556
472
  var C = _handsontable.default.languages.dictionaryKeys;
557
473
  var dictionary = (_dictionary = {
558
474
  languageCode: 'nb-NO'
@@ -574,13 +490,6 @@ exports.default = void 0;
574
490
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
575
491
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
576
492
  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
- */
584
493
  var C = _handsontable.default.languages.dictionaryKeys;
585
494
  var dictionary = (_dictionary = {
586
495
  languageCode: 'nl-NL'
@@ -602,13 +511,6 @@ exports.default = void 0;
602
511
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
603
512
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
604
513
  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
- */
612
514
  var C = _handsontable.default.languages.dictionaryKeys;
613
515
  var dictionary = (_dictionary = {
614
516
  languageCode: 'pl-PL'
@@ -630,13 +532,6 @@ exports.default = void 0;
630
532
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
631
533
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
632
534
  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
- */
640
535
  var C = _handsontable.default.languages.dictionaryKeys;
641
536
  var dictionary = (_dictionary = {
642
537
  languageCode: 'pt-BR'
@@ -658,13 +553,6 @@ exports.default = void 0;
658
553
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
659
554
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
660
555
  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
- */
668
556
  var C = _handsontable.default.languages.dictionaryKeys;
669
557
  var dictionary = (_dictionary = {
670
558
  languageCode: 'ru-RU'
@@ -686,13 +574,6 @@ exports.default = void 0;
686
574
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
687
575
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
688
576
  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
- */
696
577
  var C = _handsontable.default.languages.dictionaryKeys;
697
578
  var dictionary = (_dictionary = {
698
579
  languageCode: 'sr-SP'
@@ -714,13 +595,6 @@ exports.default = void 0;
714
595
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
715
596
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
716
597
  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
- */
724
598
  var C = _handsontable.default.languages.dictionaryKeys;
725
599
  var dictionary = (_dictionary = {
726
600
  languageCode: 'zh-CN'
@@ -742,13 +616,6 @@ exports.default = void 0;
742
616
  var _defineProperty2 = _interopRequireDefault(__webpack_require__(2));
743
617
  var _handsontable = _interopRequireDefault(__webpack_require__(6));
744
618
  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
- */
752
619
  var C = _handsontable.default.languages.dictionaryKeys;
753
620
  var dictionary = (_dictionary = {
754
621
  languageCode: 'zh-TW'
@@ -107,13 +107,6 @@ 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
- */
117
110
  var C = _handsontable.default.languages.dictionaryKeys;
118
111
  var dictionary = (_dictionary = {
119
112
  languageCode: 'ar-AR',
@@ -190,13 +190,6 @@ 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
- */
200
193
  var C = _handsontable.default.languages.dictionaryKeys;
201
194
  var dictionary = (_dictionary = {
202
195
  languageCode: 'cs-CZ'
@@ -191,13 +191,6 @@ 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
- */
201
194
  var C = _handsontable.default.languages.dictionaryKeys;
202
195
  var dictionary = (_dictionary = {
203
196
  languageCode: 'de-CH'
@@ -192,13 +192,6 @@ 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
- */
202
195
  var C = _handsontable.default.languages.dictionaryKeys;
203
196
  var dictionary = (_dictionary = {
204
197
  languageCode: 'de-DE'
@@ -193,13 +193,6 @@ 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
- */
203
196
  var C = _handsontable.default.languages.dictionaryKeys;
204
197
  var dictionary = (_dictionary = {
205
198
  languageCode: 'en-US'
@@ -194,13 +194,6 @@ 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
- */
204
197
  var C = _handsontable.default.languages.dictionaryKeys;
205
198
  var dictionary = (_dictionary = {
206
199
  languageCode: 'es-MX'
@@ -195,13 +195,6 @@ 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
- */
205
198
  var C = _handsontable.default.languages.dictionaryKeys;
206
199
  var dictionary = (_dictionary = {
207
200
  languageCode: 'fr-FR'
@@ -197,13 +197,6 @@ 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
- */
207
200
  var C = _handsontable.default.languages.dictionaryKeys;
208
201
  var dictionary = (_dictionary = {
209
202
  languageCode: 'it-IT'
@@ -198,13 +198,6 @@ 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
- */
208
201
  var C = _handsontable.default.languages.dictionaryKeys;
209
202
  var dictionary = (_dictionary = {
210
203
  languageCode: 'ja-JP'
@@ -199,13 +199,6 @@ 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
- */
209
202
  var C = _handsontable.default.languages.dictionaryKeys;
210
203
  var dictionary = (_dictionary = {
211
204
  languageCode: 'ko-KR'
@@ -200,13 +200,6 @@ 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
- */
210
203
  var C = _handsontable.default.languages.dictionaryKeys;
211
204
  var dictionary = (_dictionary = {
212
205
  languageCode: 'lv-LV'
@@ -201,13 +201,6 @@ 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
- */
211
204
  var C = _handsontable.default.languages.dictionaryKeys;
212
205
  var dictionary = (_dictionary = {
213
206
  languageCode: 'nb-NO'
@@ -202,13 +202,6 @@ 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
- */
212
205
  var C = _handsontable.default.languages.dictionaryKeys;
213
206
  var dictionary = (_dictionary = {
214
207
  languageCode: 'nl-NL'
@@ -203,13 +203,6 @@ 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
- */
213
206
  var C = _handsontable.default.languages.dictionaryKeys;
214
207
  var dictionary = (_dictionary = {
215
208
  languageCode: 'pl-PL'
@@ -142,13 +142,6 @@ 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
- */
152
145
  var C = _handsontable.default.languages.dictionaryKeys;
153
146
  var dictionary = (_dictionary = {
154
147
  languageCode: 'pt-BR'
@@ -142,13 +142,6 @@ 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
- */
152
145
  var C = _handsontable.default.languages.dictionaryKeys;
153
146
  var dictionary = (_dictionary = {
154
147
  languageCode: 'ru-RU'
@@ -142,13 +142,6 @@ 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
- */
152
145
  var C = _handsontable.default.languages.dictionaryKeys;
153
146
  var dictionary = (_dictionary = {
154
147
  languageCode: 'sr-SP'
@@ -142,13 +142,6 @@ 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
- */
152
145
  var C = _handsontable.default.languages.dictionaryKeys;
153
146
  var dictionary = (_dictionary = {
154
147
  languageCode: 'zh-CN'
@@ -142,13 +142,6 @@ 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
- */
152
145
  var C = _handsontable.default.languages.dictionaryKeys;
153
146
  var dictionary = (_dictionary = {
154
147
  languageCode: 'zh-TW'
package/editorManager.js CHANGED
@@ -243,9 +243,13 @@ var EditorManager = /*#__PURE__*/function () {
243
243
  });
244
244
  return;
245
245
  }
246
- var _this$instance$getSel = this.instance.getSelectedRangeLast().highlight,
247
- row = _this$instance$getSel.row,
248
- col = _this$instance$getSel.col;
246
+ var _this$instance$getSel = this.instance.getSelectedRangeLast(),
247
+ highlight = _this$instance$getSel.highlight;
248
+ if (highlight.isHeader()) {
249
+ return;
250
+ }
251
+ var row = highlight.row,
252
+ col = highlight.col;
249
253
  var modifiedCellCoords = this.instance.runHooks('modifyGetCellCoords', row, col);
250
254
  var visualRowToCheck = row;
251
255
  var visualColumnToCheck = col;
package/editorManager.mjs CHANGED
@@ -236,9 +236,13 @@ var EditorManager = /*#__PURE__*/function () {
236
236
  });
237
237
  return;
238
238
  }
239
- var _this$instance$getSel = this.instance.getSelectedRangeLast().highlight,
240
- row = _this$instance$getSel.row,
241
- col = _this$instance$getSel.col;
239
+ var _this$instance$getSel = this.instance.getSelectedRangeLast(),
240
+ highlight = _this$instance$getSel.highlight;
241
+ if (highlight.isHeader()) {
242
+ return;
243
+ }
244
+ var row = highlight.row,
245
+ col = highlight.col;
242
246
  var modifiedCellCoords = this.instance.runHooks('modifyGetCellCoords', row, col);
243
247
  var visualRowToCheck = row;
244
248
  var visualColumnToCheck = col;
@@ -178,7 +178,7 @@ var TextEditor = /*#__PURE__*/function (_BaseEditor) {
178
178
  key: "close",
179
179
  value: function close() {
180
180
  this.autoResize.unObserve();
181
- if (this.hot.rootDocument.activeElement === this.TEXTAREA) {
181
+ if ((0, _element.isHotChild)(this.hot.rootDocument.activeElement)) {
182
182
  this.hot.listen(); // don't refocus the table if user focused some cell outside of HT on purpose
183
183
  }
184
184
 
@@ -218,7 +218,7 @@ var TextEditor = /*#__PURE__*/function (_BaseEditor) {
218
218
  // @TODO: The fragmentSelection functionality is conflicted with IME. For this feature
219
219
  // refocus has to be disabled (to make IME working).
220
220
  var restoreFocus = !fragmentSelection;
221
- if (restoreFocus && !(0, _browser.isMobileBrowser)()) {
221
+ if (this.hot.getSettings().imeFastEdit && restoreFocus && !(0, _browser.isMobileBrowser)()) {
222
222
  this.focus();
223
223
  }
224
224
  }
@@ -263,6 +263,7 @@ var TextEditor = /*#__PURE__*/function (_BaseEditor) {
263
263
  this.TEXTAREA = rootDocument.createElement('TEXTAREA');
264
264
  this.TEXTAREA.setAttribute('data-hot-input', ''); // Makes the element recognizable by Hot as its own component's element.
265
265
  this.TEXTAREA.tabIndex = -1;
266
+ this.TEXTAREA.setAttribute('aria-hidden', 'true');
266
267
  (0, _element.addClass)(this.TEXTAREA, 'handsontableInput');
267
268
  this.textareaStyle = this.TEXTAREA.style;
268
269
  this.textareaStyle.width = 0;
@@ -410,12 +411,6 @@ var TextEditor = /*#__PURE__*/function (_BaseEditor) {
410
411
  key: "bindEvents",
411
412
  value: function bindEvents() {
412
413
  var _this3 = this;
413
- this.eventManager.addEventListener(this.TEXTAREA, 'cut', function (event) {
414
- return event.stopPropagation();
415
- });
416
- this.eventManager.addEventListener(this.TEXTAREA, 'paste', function (event) {
417
- return event.stopPropagation();
418
- });
419
414
  if ((0, _browser.isIOS)()) {
420
415
  // on iOS after click "Done" the edit isn't hidden by default, so we need to handle it manually.
421
416
  this.eventManager.addEventListener(this.TEXTAREA, 'focusout', function () {
@@ -428,14 +423,6 @@ var TextEditor = /*#__PURE__*/function (_BaseEditor) {
428
423
  this.addHook('afterScrollVertically', function () {
429
424
  return _this3.refreshDimensions();
430
425
  });
431
- this.addHook('afterColumnResize', function () {
432
- _this3.refreshDimensions();
433
- _this3.focus();
434
- });
435
- this.addHook('afterRowResize', function () {
436
- _this3.refreshDimensions();
437
- _this3.focus();
438
- });
439
426
  }
440
427
 
441
428
  /**