handsontable 0.0.0-next-a148bc1-20241121 → 0.0.0-next-3058de1-20241122

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 (136) hide show
  1. package/3rdparty/walkontable/src/calculator/index.js +1 -2
  2. package/3rdparty/walkontable/src/calculator/index.mjs +2 -2
  3. package/3rdparty/walkontable/src/calculator/viewportRows.js +3 -3
  4. package/3rdparty/walkontable/src/calculator/viewportRows.mjs +3 -3
  5. package/3rdparty/walkontable/src/core/_base.js +3 -0
  6. package/3rdparty/walkontable/src/core/_base.mjs +3 -0
  7. package/3rdparty/walkontable/src/core/clone.js +1 -0
  8. package/3rdparty/walkontable/src/core/clone.mjs +1 -0
  9. package/3rdparty/walkontable/src/core/core.js +2 -0
  10. package/3rdparty/walkontable/src/core/core.mjs +2 -0
  11. package/3rdparty/walkontable/src/facade/core.js +3 -0
  12. package/3rdparty/walkontable/src/facade/core.mjs +3 -0
  13. package/3rdparty/walkontable/src/index.js +0 -3
  14. package/3rdparty/walkontable/src/index.mjs +2 -3
  15. package/3rdparty/walkontable/src/overlay/_base.js +3 -1
  16. package/3rdparty/walkontable/src/overlay/_base.mjs +3 -1
  17. package/3rdparty/walkontable/src/overlay/bottom.js +2 -2
  18. package/3rdparty/walkontable/src/overlay/bottom.mjs +2 -2
  19. package/3rdparty/walkontable/src/overlay/inlineStart.js +1 -1
  20. package/3rdparty/walkontable/src/overlay/inlineStart.mjs +1 -1
  21. package/3rdparty/walkontable/src/overlay/top.js +2 -2
  22. package/3rdparty/walkontable/src/overlay/top.mjs +2 -2
  23. package/3rdparty/walkontable/src/renderer/_base.js +4 -3
  24. package/3rdparty/walkontable/src/renderer/_base.mjs +2 -2
  25. package/3rdparty/walkontable/src/renderer/cells.js +10 -11
  26. package/3rdparty/walkontable/src/renderer/cells.mjs +8 -10
  27. package/3rdparty/walkontable/src/renderer/colGroup.js +7 -6
  28. package/3rdparty/walkontable/src/renderer/colGroup.mjs +5 -5
  29. package/3rdparty/walkontable/src/renderer/columnHeaders.js +5 -4
  30. package/3rdparty/walkontable/src/renderer/columnHeaders.mjs +3 -3
  31. package/3rdparty/walkontable/src/renderer/index.js +23 -20
  32. package/3rdparty/walkontable/src/renderer/index.mjs +10 -8
  33. package/3rdparty/walkontable/src/renderer/rowHeaders.js +6 -5
  34. package/3rdparty/walkontable/src/renderer/rowHeaders.mjs +4 -4
  35. package/3rdparty/walkontable/src/renderer/rows.js +11 -23
  36. package/3rdparty/walkontable/src/renderer/rows.mjs +10 -23
  37. package/3rdparty/walkontable/src/renderer/table.js +13 -4
  38. package/3rdparty/walkontable/src/renderer/table.mjs +13 -4
  39. package/3rdparty/walkontable/src/settings.js +0 -2
  40. package/3rdparty/walkontable/src/settings.mjs +0 -2
  41. package/3rdparty/walkontable/src/table.js +17 -9
  42. package/3rdparty/walkontable/src/table.mjs +17 -9
  43. package/3rdparty/walkontable/src/types.js +1 -0
  44. package/3rdparty/walkontable/src/types.mjs +1 -0
  45. package/3rdparty/walkontable/src/utils/column.js +1 -1
  46. package/3rdparty/walkontable/src/utils/column.mjs +1 -1
  47. package/3rdparty/walkontable/src/utils/nodesPool.js +5 -22
  48. package/3rdparty/walkontable/src/utils/nodesPool.mjs +5 -22
  49. package/3rdparty/walkontable/src/utils/orderView/index.js +5 -4
  50. package/3rdparty/walkontable/src/utils/orderView/index.mjs +2 -2
  51. package/3rdparty/walkontable/src/utils/orderView/sharedView.js +4 -3
  52. package/3rdparty/walkontable/src/utils/orderView/sharedView.mjs +2 -2
  53. package/3rdparty/walkontable/src/utils/orderView/view.js +76 -79
  54. package/3rdparty/walkontable/src/utils/orderView/view.mjs +74 -78
  55. package/3rdparty/walkontable/src/utils/orderView/viewSize.js +1 -1
  56. package/3rdparty/walkontable/src/utils/orderView/viewSize.mjs +1 -1
  57. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.js +5 -4
  58. package/3rdparty/walkontable/src/utils/orderView/viewSizeSet.mjs +3 -3
  59. package/3rdparty/walkontable/src/utils/stylesHandler.js +287 -0
  60. package/3rdparty/walkontable/src/utils/stylesHandler.mjs +283 -0
  61. package/3rdparty/walkontable/src/viewport.js +1 -0
  62. package/3rdparty/walkontable/src/viewport.mjs +1 -0
  63. package/base.js +2 -2
  64. package/base.mjs +2 -2
  65. package/core/hooks/constants.js +9 -0
  66. package/core/hooks/constants.mjs +9 -0
  67. package/core/hooks/index.d.ts +1 -0
  68. package/core.d.ts +2 -0
  69. package/core.js +47 -0
  70. package/core.mjs +47 -0
  71. package/dataMap/metaManager/metaSchema.js +23 -3
  72. package/dataMap/metaManager/metaSchema.mjs +23 -3
  73. package/dist/handsontable.css +17 -9
  74. package/dist/handsontable.full.css +249 -240
  75. package/dist/handsontable.full.js +4767 -4686
  76. package/dist/handsontable.full.min.css +11 -9
  77. package/dist/handsontable.full.min.js +53 -53
  78. package/dist/handsontable.js +4474 -4387
  79. package/dist/handsontable.min.css +5 -4
  80. package/dist/handsontable.min.js +24 -24
  81. package/editors/autocompleteEditor/autocompleteEditor.js +1 -1
  82. package/editors/autocompleteEditor/autocompleteEditor.mjs +1 -1
  83. package/editors/baseEditor/baseEditor.js +1 -1
  84. package/editors/baseEditor/baseEditor.mjs +1 -1
  85. package/editors/dateEditor/dateEditor.js +9 -0
  86. package/editors/dateEditor/dateEditor.mjs +10 -1
  87. package/editors/handsontableEditor/handsontableEditor.js +7 -1
  88. package/editors/handsontableEditor/handsontableEditor.mjs +7 -1
  89. package/editors/selectEditor/selectEditor.js +20 -9
  90. package/editors/selectEditor/selectEditor.mjs +20 -9
  91. package/editors/textEditor/textEditor.js +4 -11
  92. package/editors/textEditor/textEditor.mjs +4 -11
  93. package/helpers/dom/element.js +32 -1
  94. package/helpers/dom/element.mjs +31 -1
  95. package/helpers/mixed.js +2 -2
  96. package/helpers/mixed.mjs +2 -2
  97. package/helpers/themes.js +17 -0
  98. package/helpers/themes.mjs +13 -0
  99. package/package.json +10 -3
  100. package/plugins/comments/commentEditor.js +9 -0
  101. package/plugins/comments/commentEditor.mjs +9 -0
  102. package/plugins/comments/comments.js +14 -0
  103. package/plugins/comments/comments.mjs +15 -1
  104. package/plugins/contextMenu/menu/menu.js +9 -4
  105. package/plugins/contextMenu/menu/menu.mjs +9 -4
  106. package/plugins/filters/ui/multipleSelect.js +6 -0
  107. package/plugins/filters/ui/multipleSelect.mjs +6 -0
  108. package/plugins/manualRowMove/manualRowMove.js +1 -1
  109. package/plugins/manualRowMove/manualRowMove.mjs +1 -1
  110. package/plugins/manualRowResize/manualRowResize.js +1 -2
  111. package/plugins/manualRowResize/manualRowResize.mjs +2 -3
  112. package/plugins/mergeCells/mergeCells.js +1 -1
  113. package/plugins/mergeCells/mergeCells.mjs +1 -1
  114. package/plugins/nestedRows/ui/headers.js +7 -1
  115. package/plugins/nestedRows/ui/headers.mjs +7 -1
  116. package/plugins/stretchColumns/calculator.js +2 -1
  117. package/plugins/stretchColumns/calculator.mjs +3 -2
  118. package/renderers/checkboxRenderer/checkboxRenderer.js +5 -8
  119. package/renderers/checkboxRenderer/checkboxRenderer.mjs +5 -8
  120. package/settings.d.ts +1 -0
  121. package/styles/handsontable.css +2178 -0
  122. package/styles/handsontable.min.css +30 -0
  123. package/styles/ht-theme-horizon.css +607 -0
  124. package/styles/ht-theme-horizon.min.css +30 -0
  125. package/styles/ht-theme-main.css +613 -0
  126. package/styles/ht-theme-main.min.css +30 -0
  127. package/tableView.js +46 -0
  128. package/tableView.mjs +47 -1
  129. package/utils/autoResize.js +4 -1
  130. package/utils/autoResize.mjs +4 -1
  131. package/utils/ghostTable.js +5 -3
  132. package/utils/ghostTable.mjs +5 -3
  133. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.js +0 -138
  134. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/index.mjs +0 -135
  135. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.js +0 -72
  136. package/3rdparty/walkontable/src/utils/orderView/viewDiffer/viewOrder.mjs +0 -68
@@ -1,68 +0,0 @@
1
- import "core-js/modules/es.error.cause.js";
2
- import "core-js/modules/es.array.unshift.js";
3
- import "core-js/modules/esnext.iterator.map.js";
4
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
5
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
6
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
- /**
8
- * The view order is a list of indexes that represent the order of the rendered elements.
9
- *
10
- * @class {ViewOrder}
11
- */
12
- export class ViewOrder {
13
- constructor(viewOffset, viewSize) {
14
- _defineProperty(this, "order", []);
15
- this.order = [...Array(viewSize).keys()].map(i => viewOffset + i);
16
- }
17
-
18
- /**
19
- * The length of the view order.
20
- *
21
- * @returns {number}
22
- */
23
- get length() {
24
- return this.order.length;
25
- }
26
-
27
- /**
28
- * Checks if the view order contains the offset index.
29
- *
30
- * @param {number} offsetIndex The offset index.
31
- * @returns {boolean}
32
- */
33
- has(offsetIndex) {
34
- return this.order.indexOf(offsetIndex) > -1;
35
- }
36
-
37
- /**
38
- * Gets the offset index at the given zero-based index. If the index
39
- * is out of bounds, -1 is returned.
40
- *
41
- * @param {number} zeroBasedIndex The zero-based index.
42
- * @returns {number}
43
- */
44
- get(zeroBasedIndex) {
45
- return zeroBasedIndex < this.order.length ? this.order[zeroBasedIndex] : -1;
46
- }
47
-
48
- /**
49
- * Removes the offset index from the view order.
50
- *
51
- * @param {number} offsetIndex The offset index.
52
- */
53
- remove(offsetIndex) {
54
- this.order.splice(this.order.indexOf(offsetIndex), 1);
55
- }
56
-
57
- /**
58
- * Prepends the offset index to the view order. To keep the order length constant,
59
- * the last offset index is removed.
60
- *
61
- * @param {number} offsetIndex The offset index.
62
- * @returns {number}
63
- */
64
- prepend(offsetIndex) {
65
- this.order.unshift(offsetIndex);
66
- return this.order.pop();
67
- }
68
- }