handsontable 14.0.0-next-dd92f79-20231124 → 14.0.0-next-88de277-20231127

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. package/3rdparty/walkontable/src/overlay/_base.js +2 -2
  2. package/3rdparty/walkontable/src/overlay/_base.mjs +2 -2
  3. package/3rdparty/walkontable/src/renderer/columnHeaders.js +1 -1
  4. package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +2 -2
  5. package/3rdparty/walkontable/src/renderer/rows.js +1 -1
  6. package/3rdparty/walkontable/src/renderer/rows.mjs +2 -2
  7. package/3rdparty/walkontable/src/selection/manager.js +20 -6
  8. package/3rdparty/walkontable/src/selection/manager.mjs +20 -6
  9. package/base.js +2 -2
  10. package/base.mjs +2 -2
  11. package/core.js +1 -1
  12. package/core.mjs +1 -1
  13. package/dataMap/replaceData.js +3 -1
  14. package/dataMap/replaceData.mjs +3 -1
  15. package/dist/handsontable.css +62 -44
  16. package/dist/handsontable.full.css +62 -44
  17. package/dist/handsontable.full.js +123 -302
  18. package/dist/handsontable.full.min.css +5 -5
  19. package/dist/handsontable.full.min.js +64 -64
  20. package/dist/handsontable.js +123 -302
  21. package/dist/handsontable.min.css +5 -5
  22. package/dist/handsontable.min.js +19 -19
  23. package/dist/languages/all.js +2 -24
  24. package/dist/languages/all.min.js +1 -1
  25. package/dist/languages/en-US.js +1 -12
  26. package/dist/languages/en-US.min.js +1 -1
  27. package/dist/languages/pl-PL.js +1 -12
  28. package/dist/languages/pl-PL.min.js +1 -1
  29. package/editors/dateEditor/dateEditor.js +0 -7
  30. package/editors/dateEditor/dateEditor.mjs +1 -8
  31. package/editors/handsontableEditor/handsontableEditor.js +0 -7
  32. package/editors/handsontableEditor/handsontableEditor.mjs +1 -8
  33. package/editors/passwordEditor/passwordEditor.js +4 -0
  34. package/editors/passwordEditor/passwordEditor.mjs +5 -1
  35. package/helpers/a11y.js +2 -2
  36. package/helpers/a11y.mjs +1 -1
  37. package/helpers/dom/element.js +0 -29
  38. package/helpers/dom/element.mjs +0 -28
  39. package/helpers/mixed.js +2 -2
  40. package/helpers/mixed.mjs +2 -2
  41. package/i18n/constants.js +1 -14
  42. package/i18n/constants.mjs +1 -14
  43. package/i18n/languages/en-US.js +1 -12
  44. package/i18n/languages/en-US.mjs +1 -12
  45. package/i18n/languages/pl-PL.js +1 -12
  46. package/i18n/languages/pl-PL.mjs +1 -12
  47. package/languages/all.js +2 -24
  48. package/languages/en-US.js +1 -12
  49. package/languages/en-US.mjs +1 -12
  50. package/languages/index.js +2 -24
  51. package/languages/pl-PL.js +1 -12
  52. package/languages/pl-PL.mjs +1 -12
  53. package/package.json +1 -1
  54. package/plugins/collapsibleColumns/collapsibleColumns.js +2 -3
  55. package/plugins/collapsibleColumns/collapsibleColumns.mjs +3 -4
  56. package/plugins/columnSorting/columnSorting.js +4 -30
  57. package/plugins/columnSorting/columnSorting.mjs +6 -32
  58. package/plugins/contextMenu/menu/menuItemRenderer.js +0 -12
  59. package/plugins/contextMenu/menu/menuItemRenderer.mjs +2 -14
  60. package/plugins/dropdownMenu/dropdownMenu.js +1 -2
  61. package/plugins/dropdownMenu/dropdownMenu.mjs +2 -3
  62. package/plugins/filters/ui/input.js +3 -0
  63. package/plugins/filters/ui/input.mjs +3 -0
  64. package/plugins/hiddenColumns/hiddenColumns.js +0 -44
  65. package/plugins/hiddenColumns/hiddenColumns.mjs +1 -45
  66. package/plugins/hiddenRows/hiddenRows.js +0 -44
  67. package/plugins/hiddenRows/hiddenRows.mjs +1 -45
  68. package/plugins/multiColumnSorting/multiColumnSorting.js +0 -21
  69. package/plugins/multiColumnSorting/multiColumnSorting.mjs +1 -22
  70. package/plugins/nestedRows/nestedRows.js +1 -2
  71. package/plugins/nestedRows/nestedRows.mjs +1 -2
  72. package/plugins/nestedRows/ui/headers.js +3 -3
  73. package/plugins/nestedRows/ui/headers.mjs +4 -4
  74. package/renderers/autocompleteRenderer/autocompleteRenderer.js +0 -3
  75. package/renderers/autocompleteRenderer/autocompleteRenderer.mjs +1 -4
  76. package/renderers/checkboxRenderer/checkboxRenderer.js +0 -1
  77. package/renderers/checkboxRenderer/checkboxRenderer.mjs +0 -1
  78. package/renderers/dateRenderer/dateRenderer.js +0 -5
  79. package/renderers/dateRenderer/dateRenderer.mjs +0 -5
  80. package/renderers/handsontableRenderer/handsontableRenderer.js +0 -5
  81. package/renderers/handsontableRenderer/handsontableRenderer.mjs +0 -5
  82. package/renderers/selectRenderer/selectRenderer.js +0 -5
  83. package/renderers/selectRenderer/selectRenderer.mjs +0 -5
  84. package/selection/highlight/types/focus.js +2 -0
  85. package/selection/highlight/types/focus.mjs +2 -0
  86. package/selection/selection.js +0 -1
  87. package/selection/selection.mjs +0 -1
  88. package/tableView.js +35 -2
  89. package/tableView.mjs +35 -2
@@ -25,8 +25,8 @@
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: 14.0.0-next-dd92f79-20231124
29
- * Release date: 22/11/2023 (built at 24/11/2023 11:03:49)
28
+ * Version: 14.0.0-next-88de277-20231127
29
+ * Release date: 29/11/2023 (built at 27/11/2023 10:19:34)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles
@@ -504,10 +504,8 @@ innerBorderBottom - Property controlled by bottom overlay
504
504
  .handsontable .columnSorting.sortAction:hover {
505
505
  text-decoration: underline;
506
506
  cursor: pointer;
507
- }
508
-
509
- /* Arrow position */
510
- .handsontable span.colHeader.columnSorting .columnSortingIndicator::before {
507
+ } /* Arrow position */
508
+ .handsontable span.colHeader.columnSorting::before {
511
509
  /* Centering start */
512
510
  top: 50%;
513
511
  /* One extra pixel for purpose of proper positioning of sorting arrow, when `font-size` set to default */
@@ -527,7 +525,7 @@ innerBorderBottom - Property controlled by bottom overlay
527
525
  background-position-x: right;
528
526
  }
529
527
 
530
- [dir=rtl].handsontable span.colHeader.columnSorting .columnSortingIndicator::before {
528
+ [dir=rtl].handsontable span.colHeader.columnSorting::before {
531
529
  /* Centering end */
532
530
  /* For purpose of continuous mouse over experience, when moving between the `span` and the `::before` elements */
533
531
  padding-right: 8px;
@@ -537,12 +535,12 @@ innerBorderBottom - Property controlled by bottom overlay
537
535
  background-position-x: left;
538
536
  }
539
537
 
540
- .handsontable span.colHeader.columnSorting.ascending .columnSortingIndicator::before {
538
+ .handsontable span.colHeader.columnSorting.ascending::before {
541
539
  /* arrow up; 20 x 40 px, scaled to 5 x 10 px; base64 size: 0.3kB */
542
540
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAMAAADJ7yrpAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKE86IAAAADXRSTlMABBEmRGprlJW72e77tTkTKwAAAFNJREFUeAHtzjkSgCAUBNHPgsoy97+ulGXRqJE5L+xkxoYt2UdsLb5bqFINz+aLuuLn5rIu2RkO3fZpWENimNgiw6iBYRTPMLJjGFxQZ1hxxb/xBI1qC8k39CdKAAAAAElFTkSuQmCC);
543
541
  }
544
542
 
545
- .handsontable span.colHeader.columnSorting.descending .columnSortingIndicator::before {
543
+ .handsontable span.colHeader.columnSorting.descending::before {
546
544
  /* arrow down; 20 x 40 px, scaled to 5 x 10 px; base64 size: 0.3kB */
547
545
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAoCAMAAADJ7yrpAAAAKlBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKE86IAAAADXRSTlMABBEmRGprlJW72e77tTkTKwAAAFJJREFUeAHtzjkSgCAQRNFmQYUZ7n9dKUvru0TmvPAn3br0QfgdZ5xx6x+rQn23GqTYnq1FDcnuzZIO2WmedVqIRVxgGKEyjNgYRjKGkZ1hFIZ3I70LyM0VtU8AAAAASUVORK5CYII=);
548
546
  }
@@ -696,7 +694,7 @@ TextRenderer readOnly cell
696
694
  position: relative;
697
695
  }
698
696
 
699
- .handsontable .htSubmenu .submenuIndicator::after {
697
+ .handsontable .htSubmenu :after {
700
698
  content: "▶";
701
699
  color: #777;
702
700
  position: absolute;
@@ -704,11 +702,11 @@ TextRenderer readOnly cell
704
702
  font-size: 9px;
705
703
  }
706
704
 
707
- [dir=rtl].handsontable .htSubmenu .submenuIndicator::after {
705
+ [dir=rtl].handsontable .htSubmenu :after {
708
706
  content: "";
709
707
  }
710
708
 
711
- [dir=rtl].handsontable .htSubmenu .submenuIndicator::before {
709
+ [dir=rtl].handsontable .htSubmenu :before {
712
710
  content: "◀";
713
711
  color: #777;
714
712
  position: absolute;
@@ -1709,6 +1707,10 @@ textarea.HandsontableCopyPaste {
1709
1707
  border: 1px solid #d2d1d1;
1710
1708
  }
1711
1709
 
1710
+ .handsontable .htUIInputIcon {
1711
+ position: absolute;
1712
+ }
1713
+
1712
1714
  /* Button */
1713
1715
  .handsontable .htUIInput.htUIButton {
1714
1716
  cursor: pointer;
@@ -1849,13 +1851,12 @@ textarea.HandsontableCopyPaste {
1849
1851
  /*
1850
1852
  * Handsontable HiddenColumns
1851
1853
  */
1852
- .handsontable th.beforeHiddenColumn,
1853
- .handsontable th.afterHiddenColumn {
1854
+ .handsontable th.beforeHiddenColumn {
1854
1855
  position: relative;
1855
1856
  }
1856
1857
 
1857
- .handsontable th.beforeHiddenColumn .beforeHiddenColumnIndicator::after,
1858
- .handsontable th.afterHiddenColumn .afterHiddenColumnIndicator::before {
1858
+ .handsontable th.beforeHiddenColumn::after,
1859
+ .handsontable th.afterHiddenColumn::before {
1859
1860
  color: #bbb;
1860
1861
  position: absolute;
1861
1862
  top: 50%;
@@ -1863,33 +1864,37 @@ textarea.HandsontableCopyPaste {
1863
1864
  transform: translateY(-50%);
1864
1865
  }
1865
1866
 
1866
- .handsontable th.beforeHiddenColumn .beforeHiddenColumnIndicator::after {
1867
+ .handsontable th.afterHiddenColumn {
1868
+ position: relative;
1869
+ }
1870
+
1871
+ .handsontable th.beforeHiddenColumn::after {
1867
1872
  right: 1px;
1868
- content: "◀";
1873
+ content: "◀"; /* left arrow */
1869
1874
  }
1870
1875
 
1871
- [dir=rtl].handsontable th.beforeHiddenColumn .beforeHiddenColumnIndicator::after {
1876
+ [dir=rtl].handsontable th.beforeHiddenColumn::after {
1872
1877
  right: initial;
1873
1878
  left: 1px;
1874
- content: "▶";
1879
+ content: "▶"; /* right arrow */
1875
1880
  }
1876
1881
 
1877
- .handsontable th.afterHiddenColumn .afterHiddenColumnIndicator::before {
1882
+ .handsontable th.afterHiddenColumn::before {
1878
1883
  left: 1px;
1879
- content: "▶";
1884
+ content: "▶"; /* right arrow */
1880
1885
  }
1881
1886
 
1882
- [dir=rtl].handsontable th.afterHiddenColumn .afterHiddenColumnIndicator::before {
1887
+ [dir=rtl].handsontable th.afterHiddenColumn::before {
1883
1888
  right: 1px;
1884
1889
  left: initial;
1885
- content: "◀";
1890
+ content: "◀"; /* left arrow */
1886
1891
  }
1887
1892
  @charset "UTF-8";
1888
1893
  /*!
1889
1894
  * Handsontable HiddenRows
1890
1895
  */
1891
- .handsontable th.beforeHiddenRow .beforeHiddenRowIndicator::before,
1892
- .handsontable th.afterHiddenRow .afterHiddenRowIndicator::after {
1896
+ .handsontable th.beforeHiddenRow::before,
1897
+ .handsontable th.afterHiddenRow::after {
1893
1898
  color: #bbb;
1894
1899
  font-size: 6pt;
1895
1900
  line-height: 6pt;
@@ -1902,18 +1907,18 @@ textarea.HandsontableCopyPaste {
1902
1907
  position: relative;
1903
1908
  }
1904
1909
 
1905
- .handsontable th.beforeHiddenRow .beforeHiddenRowIndicator::before {
1906
- content: "▲"; /* up-pointing triangle */
1910
+ .handsontable th.beforeHiddenRow::before {
1911
+ content: "▲";
1907
1912
  bottom: 2px;
1908
1913
  }
1909
1914
 
1910
- .handsontable th.afterHiddenRow .afterHiddenRowIndicator::after {
1911
- content: "▼"; /* down-pointing triangle */
1915
+ .handsontable th.afterHiddenRow::after {
1916
+ content: "▼";
1912
1917
  top: 2px;
1913
1918
  }
1914
1919
 
1915
- .handsontable.ht__selection--rows tbody th.beforeHiddenRow.ht__highlight .beforeHiddenRowIndicator::before,
1916
- .handsontable.ht__selection--rows tbody th.afterHiddenRow.ht__highlight .afterHiddenRowIndicator::after {
1920
+ .handsontable.ht__selection--rows tbody th.beforeHiddenRow.ht__highlight:before,
1921
+ .handsontable.ht__selection--rows tbody th.afterHiddenRow.ht__highlight:after {
1917
1922
  color: #eee;
1918
1923
  }
1919
1924
 
@@ -2066,7 +2071,7 @@ textarea.HandsontableCopyPaste {
2066
2071
  opacity: 0.58;
2067
2072
  }
2068
2073
  /* Column's number position */
2069
- .handsontable span.colHeader.columnSorting .columnSortingIndicator::after {
2074
+ .handsontable span.colHeader.columnSorting::after {
2070
2075
  /* Centering start */
2071
2076
  top: 50%;
2072
2077
  /* Two extra pixels (-2 instead of -4) for purpose of proper positioning of numeric indicators, when `font-size` set to default */
@@ -2085,7 +2090,7 @@ textarea.HandsontableCopyPaste {
2085
2090
  text-decoration: underline;
2086
2091
  }
2087
2092
 
2088
- [dir=rtl].handsontable span.colHeader.columnSorting .columnSortingIndicator::after {
2093
+ [dir=rtl].handsontable span.colHeader.columnSorting::after {
2089
2094
  left: -15px;
2090
2095
  right: unset;
2091
2096
  /* For purpose of continuous mouse over experience, when moving between the `::before` and the `::after` elements */
@@ -2094,41 +2099,41 @@ textarea.HandsontableCopyPaste {
2094
2099
  }
2095
2100
 
2096
2101
  /* Workaround for IE9 - IE11, https://stackoverflow.com/a/21902566, https://stackoverflow.com/a/32120247 */
2097
- .handsontable span.colHeader.columnSorting .columnSortingIndicator::after {
2102
+ .handsontable span.colHeader.columnSorting::after {
2098
2103
  text-decoration: none;
2099
2104
  }
2100
2105
 
2101
2106
  /* We support up to 7 numeric indicators, describing order of column in sorted columns queue */
2102
- .handsontable span.colHeader.columnSorting[class^=sort-] .columnSortingIndicator::after,
2103
- .handsontable span.colHeader.columnSorting[class*=" sort-"] .columnSortingIndicator::after {
2107
+ .handsontable span.colHeader.columnSorting[class^=sort-]::after,
2108
+ .handsontable span.colHeader.columnSorting[class*=" sort-"]::after {
2104
2109
  content: "+";
2105
2110
  }
2106
2111
 
2107
- .handsontable span.colHeader.columnSorting.sort-1 .columnSortingIndicator::after {
2112
+ .handsontable span.colHeader.columnSorting.sort-1::after {
2108
2113
  content: "1";
2109
2114
  }
2110
2115
 
2111
- .handsontable span.colHeader.columnSorting.sort-2 .columnSortingIndicator::after {
2116
+ .handsontable span.colHeader.columnSorting.sort-2::after {
2112
2117
  content: "2";
2113
2118
  }
2114
2119
 
2115
- .handsontable span.colHeader.columnSorting.sort-3 .columnSortingIndicator::after {
2120
+ .handsontable span.colHeader.columnSorting.sort-3::after {
2116
2121
  content: "3";
2117
2122
  }
2118
2123
 
2119
- .handsontable span.colHeader.columnSorting.sort-4 .columnSortingIndicator::after {
2124
+ .handsontable span.colHeader.columnSorting.sort-4::after {
2120
2125
  content: "4";
2121
2126
  }
2122
2127
 
2123
- .handsontable span.colHeader.columnSorting.sort-5 .columnSortingIndicator::after {
2128
+ .handsontable span.colHeader.columnSorting.sort-5::after {
2124
2129
  content: "5";
2125
2130
  }
2126
2131
 
2127
- .handsontable span.colHeader.columnSorting.sort-6 .columnSortingIndicator::after {
2132
+ .handsontable span.colHeader.columnSorting.sort-6::after {
2128
2133
  content: "6";
2129
2134
  }
2130
2135
 
2131
- .handsontable span.colHeader.columnSorting.sort-7 .columnSortingIndicator::after {
2136
+ .handsontable span.colHeader.columnSorting.sort-7::after {
2132
2137
  content: "7";
2133
2138
  }
2134
2139
 
@@ -2139,6 +2144,7 @@ textarea.HandsontableCopyPaste {
2139
2144
  .handsontable thead th.hiddenHeader:not(:first-of-type) {
2140
2145
  display: none;
2141
2146
  }
2147
+ @charset "UTF-8";
2142
2148
  .handsontable th.ht_nestingLevels {
2143
2149
  text-align: left;
2144
2150
  padding-left: 7px;
@@ -2172,6 +2178,10 @@ textarea.HandsontableCopyPaste {
2172
2178
  right: unset;
2173
2179
  }
2174
2180
 
2181
+ .handsontable th span.ht_nestingLevel {
2182
+ display: inline-block;
2183
+ }
2184
+
2175
2185
  .handsontable th span.ht_nestingLevel_empty {
2176
2186
  display: inline-block;
2177
2187
  width: 10px;
@@ -2183,6 +2193,14 @@ textarea.HandsontableCopyPaste {
2183
2193
  float: right;
2184
2194
  }
2185
2195
 
2196
+ .handsontable th span.ht_nestingLevel::after {
2197
+ content: "┐";
2198
+ font-size: 9px;
2199
+ display: inline-block;
2200
+ position: relative;
2201
+ bottom: 3px;
2202
+ }
2203
+
2186
2204
  .handsontable th div.ht_nestingButton {
2187
2205
  display: inline-block;
2188
2206
  position: absolute;