handsontable 0.0.0-next-2a3a59d-20250212 → 0.0.0-next-b880b30-20250219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (64) hide show
  1. package/3rdparty/walkontable/src/overlays.js +24 -0
  2. package/3rdparty/walkontable/src/overlays.mjs +24 -0
  3. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.js +1 -0
  4. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.mjs +1 -0
  5. package/3rdparty/walkontable/src/viewport.js +1 -0
  6. package/3rdparty/walkontable/src/viewport.mjs +1 -0
  7. package/base.js +2 -2
  8. package/base.mjs +2 -2
  9. package/core.js +3 -0
  10. package/core.mjs +3 -0
  11. package/dist/handsontable.css +2 -2
  12. package/dist/handsontable.full.css +2 -2
  13. package/dist/handsontable.full.js +57 -9
  14. package/dist/handsontable.full.min.css +2 -2
  15. package/dist/handsontable.full.min.js +73 -73
  16. package/dist/handsontable.js +57 -9
  17. package/dist/handsontable.min.css +2 -2
  18. package/dist/handsontable.min.js +43 -43
  19. package/dist/languages/all.js +133 -28
  20. package/dist/languages/all.min.js +1 -1
  21. package/dist/languages/fa-IR.js +167 -0
  22. package/dist/languages/fa-IR.min.js +1 -0
  23. package/helpers/mixed.js +1 -1
  24. package/helpers/mixed.mjs +1 -1
  25. package/helpers/number.js +1 -0
  26. package/helpers/number.mjs +1 -0
  27. package/i18n/languages/fa-IR.d.ts +5 -0
  28. package/i18n/languages/fa-IR.js +96 -0
  29. package/i18n/languages/fa-IR.mjs +90 -0
  30. package/i18n/languages/index.d.ts +2 -0
  31. package/i18n/languages/index.js +2 -0
  32. package/i18n/languages/index.mjs +2 -1
  33. package/i18n/phraseFormatters/substituteVariables.js +1 -0
  34. package/i18n/phraseFormatters/substituteVariables.mjs +1 -0
  35. package/languages/all.js +133 -28
  36. package/languages/fa-IR.js +167 -0
  37. package/languages/fa-IR.mjs +92 -0
  38. package/languages/index.js +133 -28
  39. package/languages/index.mjs +2 -1
  40. package/package.json +13 -2
  41. package/plugins/columnSorting/columnStatesManager.js +1 -0
  42. package/plugins/columnSorting/columnStatesManager.mjs +1 -0
  43. package/plugins/comments/comments.js +10 -1
  44. package/plugins/comments/comments.mjs +10 -1
  45. package/plugins/exportFile/types/csv.js +1 -0
  46. package/plugins/exportFile/types/csv.mjs +1 -0
  47. package/plugins/nestedHeaders/nestedHeaders.js +5 -3
  48. package/plugins/nestedHeaders/nestedHeaders.mjs +5 -3
  49. package/plugins/nestedHeaders/stateManager/index.js +1 -0
  50. package/plugins/nestedHeaders/stateManager/index.mjs +1 -0
  51. package/shortcuts/utils.js +1 -0
  52. package/shortcuts/utils.mjs +1 -0
  53. package/styles/handsontable.css +73 -99
  54. package/styles/handsontable.min.css +3 -3
  55. package/styles/ht-theme-horizon.css +5 -2
  56. package/styles/ht-theme-horizon.min.css +3 -3
  57. package/styles/ht-theme-main.css +5 -2
  58. package/styles/ht-theme-main.min.css +3 -3
  59. package/translations/maps/linkedPhysicalIndexToValueMap.js +1 -0
  60. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +1 -0
  61. package/translations/maps/utils/physicallyIndexed.js +1 -0
  62. package/translations/maps/utils/physicallyIndexed.mjs +1 -0
  63. package/utils/dataStructures/priorityMap.js +1 -0
  64. package/utils/dataStructures/priorityMap.mjs +1 -0
@@ -25,10 +25,12 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 0.0.0-next-2a3a59d-20250212
29
- * Release date: 16/12/2024 (built at 12/02/2025 11:26:32)
28
+ * Version: 0.0.0-next-b880b30-20250219
29
+ * Release date: 16/12/2024 (built at 19/02/2025 09:48:29)
30
30
  */
31
31
  .ht-wrapper:not([class*=ht-theme]) {
32
+ --ht-gap-size: 4px;
33
+ --ht-checkbox-size: 16px;
32
34
  --ht-cell-horizontal-padding: 8px;
33
35
  --ht-cell-vertical-padding: 4px;
34
36
  --ht-font-size: 14px;
@@ -89,6 +91,7 @@
89
91
  }
90
92
  .handsontable.htHasScrollX .ht_master .wtHolder, .handsontable.htHasScrollY .ht_master .wtHolder {
91
93
  background-color: var(--ht-background-color);
94
+ border-radius: var(--ht-wrapper-border-radius, 0);
92
95
  }
93
96
  .handsontable tr.ht__row_even th {
94
97
  background-color: var(--ht-row-header-even-background-color);
@@ -176,17 +179,10 @@
176
179
  color: var(--ht-header-highlighted-foreground-color);
177
180
  background-color: var(--ht-header-highlighted-background-color);
178
181
  }
179
- .handsontable th.ht__highlight .relative::after {
180
- content: "";
181
- display: block;
182
- position: absolute;
183
- background-color: var(--ht-accent-color);
184
- }
185
182
  .handsontable th.ht__active_highlight {
186
183
  border-color: var(--ht-header-active-border-color);
187
184
  color: var(--ht-header-active-foreground-color);
188
185
  background-color: var(--ht-header-active-background-color);
189
- box-shadow: -1px 0 0 0 var(--ht-header-active-border-color);
190
186
  }
191
187
  .handsontable tbody tr.ht__row_odd th.ht__highlight, .handsontable tbody tr.ht__row_even th.ht__highlight {
192
188
  color: var(--ht-header-row-highlighted-foreground-color);
@@ -201,40 +197,28 @@
201
197
  color: var(--ht-header-row-foreground-color);
202
198
  background-color: var(--ht-header-row-background-color);
203
199
  }
200
+ .handsontable tbody tr th.ht__active_highlight {
201
+ box-shadow: 0 -1px 0 0 var(--ht-header-active-border-color);
202
+ }
204
203
  .handsontable tbody tr th .relative {
205
204
  padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);
206
205
  height: 100%;
207
206
  }
208
- .handsontable tbody tr th .relative::after {
209
- top: -1px;
210
- right: -1px;
211
- bottom: -1px;
212
- width: var(--ht-header-highlighted-shadow-size);
213
- }
214
- .handsontable tbody tr th.ht__active_highlight {
215
- box-shadow: 0 -1px 0 0 var(--ht-header-active-border-color);
216
- }
217
207
  .handsontable tbody tr td:first-child {
218
208
  border-inline-start-color: var(--ht-border-color);
219
209
  }
220
210
  .handsontable tbody tr td:last-child {
221
211
  border-inline-end-color: var(--ht-border-color);
222
212
  }
223
- .handsontable thead tr:only-of-type th .relative::after {
224
- bottom: 0;
225
- }
226
213
  .handsontable thead tr th {
227
214
  padding: 0;
228
215
  }
216
+ .handsontable thead tr th.ht__active_highlight {
217
+ box-shadow: -1px 0 0 0 var(--ht-header-active-border-color);
218
+ }
229
219
  .handsontable thead tr th .relative {
230
220
  padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);
231
221
  }
232
- .handsontable thead tr th .relative::after {
233
- left: -1px;
234
- right: -1px;
235
- bottom: -1px;
236
- height: var(--ht-header-highlighted-shadow-size);
237
- }
238
222
  .handsontable thead tr th .relative .colHeader {
239
223
  text-overflow: ellipsis;
240
224
  overflow: hidden;
@@ -261,6 +245,29 @@
261
245
  .handsontable tr:last-child td.ht__active_highlight {
262
246
  border-bottom-color: var(--ht-header-active-border-color);
263
247
  }
248
+ .handsontable div[class^=ht_clone] thead .ht__highlight .relative::after {
249
+ content: "";
250
+ display: block;
251
+ position: absolute;
252
+ left: -1px;
253
+ right: -1px;
254
+ bottom: -1px;
255
+ height: var(--ht-header-highlighted-shadow-size);
256
+ background-color: var(--ht-accent-color);
257
+ }
258
+ .handsontable div[class^=ht_clone] thead tr:only-of-type .ht__highlight .relative::after {
259
+ bottom: 0;
260
+ }
261
+ .handsontable div[class^=ht_clone] tbody .ht__highlight .relative::after {
262
+ content: "";
263
+ display: block;
264
+ position: absolute;
265
+ top: -1px;
266
+ right: -1px;
267
+ bottom: -1px;
268
+ width: var(--ht-header-highlighted-shadow-size);
269
+ background-color: var(--ht-accent-color);
270
+ }
264
271
  .handsontable thead tr:not(:last-child) th {
265
272
  /* Fix for - nested columns with hidden column */
266
273
  overflow: hidden;
@@ -395,11 +402,30 @@
395
402
  [dir=rtl].handsontable tbody tr td[dir=ltr]:last-child {
396
403
  border-inline-start-color: var(--ht-border-color);
397
404
  }
398
- [dir=rtl].handsontable tbody tr th .relative::after {
405
+ [dir=rtl].handsontable div[class^=ht_clone] tbody .ht__highlight .relative::after {
399
406
  right: auto;
400
407
  left: -1px;
401
408
  }
402
409
 
410
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:first-child {
411
+ border-start-start-radius: var(--ht-wrapper-border-radius);
412
+ }
413
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:last-child {
414
+ border-start-end-radius: var(--ht-wrapper-border-radius);
415
+ }
416
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top_inline_start_corner .htCore tbody tr:first-child td:first-child {
417
+ border-start-start-radius: var(--ht-wrapper-border-radius);
418
+ }
419
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:first-child {
420
+ border-start-start-radius: var(--ht-wrapper-border-radius);
421
+ }
422
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:last-child {
423
+ border-start-end-radius: var(--ht-wrapper-border-radius);
424
+ }
425
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child th:first-child,
426
+ .handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child td:first-child {
427
+ border-start-start-radius: var(--ht-wrapper-border-radius);
428
+ }
403
429
  .handsontable.ht-wrapper .ht_master .htCore {
404
430
  border-radius: var(--ht-wrapper-border-radius);
405
431
  }
@@ -409,11 +435,11 @@
409
435
  .handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:last-child {
410
436
  border-start-end-radius: var(--ht-wrapper-border-radius);
411
437
  }
412
- .handsontable.ht-wrapper .ht_master .htCore tbody tr:first-child td:first-child {
413
- border-start-start-radius: var(--ht-wrapper-border-radius);
438
+ .handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:first-child {
439
+ border-end-start-radius: var(--ht-wrapper-border-radius);
414
440
  }
415
- .handsontable.ht-wrapper .ht_master .htCore tbody tr:first-child td:last-child {
416
- border-start-end-radius: var(--ht-wrapper-border-radius);
441
+ .handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:last-child {
442
+ border-end-end-radius: var(--ht-wrapper-border-radius);
417
443
  }
418
444
  .handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:first-child {
419
445
  border-end-start-radius: var(--ht-wrapper-border-radius);
@@ -421,40 +447,12 @@
421
447
  .handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:last-child {
422
448
  border-end-end-radius: var(--ht-wrapper-border-radius);
423
449
  }
424
- .handsontable.ht-wrapper:has(.ht_clone_top thead tr th) .ht_master .htCore tbody tr:first-child td:first-child, .handsontable.ht-wrapper:has(.ht_clone_top tbody tr td) .ht_master .htCore tbody tr:first-child td:first-child {
425
- border-start-start-radius: 0;
426
- }
427
- .handsontable.ht-wrapper:has(.ht_clone_top thead tr th) .ht_master .htCore tbody tr:first-child td:last-child, .handsontable.ht-wrapper:has(.ht_clone_top tbody tr td) .ht_master .htCore tbody tr:first-child td:last-child {
428
- border-start-end-radius: 0;
429
- }
430
450
  .handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore {
431
451
  border-start-start-radius: var(--ht-wrapper-border-radius);
432
452
  }
433
453
  .handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore thead tr:first-child th:first-child {
434
454
  border-start-start-radius: var(--ht-wrapper-border-radius);
435
455
  }
436
- .handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore tbody tr:first-child td:first-child,
437
- .handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore tbody tr:first-child th:first-child {
438
- border-start-start-radius: var(--ht-wrapper-border-radius);
439
- }
440
- .handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore:has(thead tr th) tbody tr:first-child td:first-child,
441
- .handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore:has(thead tr th) tbody tr:first-child th:first-child {
442
- border-start-start-radius: 0 !important;
443
- }
444
- .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore {
445
- border-end-start-radius: var(--ht-wrapper-border-radius);
446
- }
447
- .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore thead tr:last-child th:first-child {
448
- border-end-start-radius: var(--ht-wrapper-border-radius);
449
- }
450
- .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tbody tr:last-child td:first-child,
451
- .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tbody tr:last-child th:first-child {
452
- border-end-start-radius: var(--ht-wrapper-border-radius);
453
- }
454
- .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore:has(thead tr td) tbody tr:last-child td:first-child,
455
- .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore:has(thead tr td) tbody tr:last-child th:first-child {
456
- border-end-start-radius: 0 !important;
457
- }
458
456
  .handsontable.ht-wrapper .ht_clone_top .htCore {
459
457
  border-start-start-radius: var(--ht-wrapper-border-radius);
460
458
  border-start-end-radius: var(--ht-wrapper-border-radius);
@@ -465,18 +463,6 @@
465
463
  .handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:last-child {
466
464
  border-start-end-radius: var(--ht-wrapper-border-radius);
467
465
  }
468
- .handsontable.ht-wrapper .ht_clone_top .htCore tbody tr:first-child td:first-child {
469
- border-start-start-radius: var(--ht-wrapper-border-radius);
470
- }
471
- .handsontable.ht-wrapper .ht_clone_top .htCore tbody tr:first-child td:last-child {
472
- border-start-end-radius: var(--ht-wrapper-border-radius);
473
- }
474
- .handsontable.ht-wrapper .ht_clone_top .htCore:has(thead tr th) tbody tr:first-child td:first-child {
475
- border-start-start-radius: 0;
476
- }
477
- .handsontable.ht-wrapper .ht_clone_top .htCore:has(thead tr th) tbody tr:first-child td:last-child {
478
- border-start-end-radius: 0;
479
- }
480
466
  .handsontable.ht-wrapper .ht_clone_inline_start .htCore {
481
467
  border-start-start-radius: var(--ht-wrapper-border-radius);
482
468
  border-end-start-radius: var(--ht-wrapper-border-radius);
@@ -484,40 +470,29 @@
484
470
  .handsontable.ht-wrapper .ht_clone_inline_start .htCore thead tr:first-child th:first-child {
485
471
  border-start-start-radius: var(--ht-wrapper-border-radius);
486
472
  }
487
- .handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:first-child td:first-child,
488
- .handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:first-child th:first-child {
489
- border-start-start-radius: var(--ht-wrapper-border-radius);
490
- }
491
- .handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child td:first-child,
492
- .handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child th:first-child {
473
+ .handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child th:first-child,
474
+ .handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child td:first-child {
493
475
  border-end-start-radius: var(--ht-wrapper-border-radius);
494
476
  }
495
- .handsontable.ht-wrapper .ht_clone_inline_start .htCore:has(thead tr th) tbody tr:first-child td:first-child,
496
- .handsontable.ht-wrapper .ht_clone_inline_start .htCore:has(thead tr th) tbody tr:first-child th:first-child {
497
- border-start-start-radius: 0;
498
- }
499
- .handsontable.ht-wrapper .ht_clone_bottom .htCore {
477
+ .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore {
500
478
  border-end-start-radius: var(--ht-wrapper-border-radius);
501
- border-end-end-radius: var(--ht-wrapper-border-radius);
502
479
  }
503
- .handsontable.ht-wrapper .ht_clone_bottom .htCore thead tr:last-child th:first-child {
480
+ .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child th:first-child,
481
+ .handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child td:first-child {
504
482
  border-end-start-radius: var(--ht-wrapper-border-radius);
505
483
  }
506
- .handsontable.ht-wrapper .ht_clone_bottom .htCore thead tr:last-child th:last-child {
484
+ .handsontable.ht-wrapper .ht_clone_bottom .htCore {
485
+ border-end-start-radius: var(--ht-wrapper-border-radius);
507
486
  border-end-end-radius: var(--ht-wrapper-border-radius);
508
487
  }
509
- .handsontable.ht-wrapper .ht_clone_bottom .htCore tbody tr:last-child td:first-child {
488
+ .handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:first-child,
489
+ .handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:first-child {
510
490
  border-end-start-radius: var(--ht-wrapper-border-radius);
511
491
  }
512
- .handsontable.ht-wrapper .ht_clone_bottom .htCore tbody tr:last-child td:last-child {
492
+ .handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:last-child,
493
+ .handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:last-child {
513
494
  border-end-end-radius: var(--ht-wrapper-border-radius);
514
495
  }
515
- .handsontable.ht-wrapper .ht_clone_bottom .htCore:has(thead tr th) tbody tr:last-child td:first-child {
516
- border-end-start-radius: 0;
517
- }
518
- .handsontable.ht-wrapper .ht_clone_bottom .htCore:has(thead tr th) tbody tr:last-child td:last-child {
519
- border-end-end-radius: 0;
520
- }
521
496
  .handsontable.ht-wrapper.htHasScrollX .htCore {
522
497
  border-end-start-radius: 0;
523
498
  border-end-end-radius: 0;
@@ -525,12 +500,12 @@
525
500
  .handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:first-child,
526
501
  .handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:first-child,
527
502
  .handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:first-child {
528
- border-end-start-radius: 0;
503
+ border-end-start-radius: 0 !important;
529
504
  }
530
505
  .handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:last-child,
531
506
  .handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:last-child,
532
507
  .handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:last-child {
533
- border-end-end-radius: 0;
508
+ border-end-end-radius: 0 !important;
534
509
  }
535
510
  .handsontable.ht-wrapper.htHasScrollY .htCore {
536
511
  border-start-end-radius: 0;
@@ -539,12 +514,12 @@
539
514
  .handsontable.ht-wrapper.htHasScrollY .htCore thead tr:first-child th:last-child,
540
515
  .handsontable.ht-wrapper.htHasScrollY .htCore tbody tr:first-child td:last-child,
541
516
  .handsontable.ht-wrapper.htHasScrollY .htCore tbody tr:first-child th:last-child {
542
- border-start-end-radius: 0;
517
+ border-start-end-radius: 0 !important;
543
518
  }
544
519
  .handsontable.ht-wrapper.htHasScrollY .htCore thead tr:last-child th:last-child,
545
520
  .handsontable.ht-wrapper.htHasScrollY .htCore tbody tr:last-child td:last-child,
546
521
  .handsontable.ht-wrapper.htHasScrollY .htCore tbody tr:last-child th:last-child {
547
- border-end-end-radius: 0;
522
+ border-end-end-radius: 0 !important;
548
523
  }
549
524
 
550
525
  .handsontable.mobile {
@@ -793,7 +768,6 @@
793
768
  margin: 0;
794
769
  vertical-align: middle;
795
770
  cursor: pointer;
796
- appearance: none;
797
771
  margin-top: -2px;
798
772
  }
799
773
  .handsontable .htCheckboxRendererInput:first-child {