handsontable 0.0.0-next-1748170-20230317 → 0.0.0-next-1d7dcec-20230323

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 (46) hide show
  1. package/3rdparty/walkontable/src/calculator/viewportColumns.js +2 -2
  2. package/3rdparty/walkontable/src/calculator/viewportColumns.mjs +2 -2
  3. package/3rdparty/walkontable/src/core/_base.js +16 -20
  4. package/3rdparty/walkontable/src/core/_base.mjs +16 -20
  5. package/CHANGELOG.md +1156 -494
  6. package/base.js +2 -2
  7. package/base.mjs +2 -2
  8. package/dist/handsontable.css +2 -2
  9. package/dist/handsontable.full.css +2 -2
  10. package/dist/handsontable.full.js +3598 -3080
  11. package/dist/handsontable.full.min.css +2 -2
  12. package/dist/handsontable.full.min.js +240 -226
  13. package/dist/handsontable.js +313 -115
  14. package/dist/handsontable.min.css +2 -2
  15. package/dist/handsontable.min.js +3 -3
  16. package/editors/autocompleteEditor/autocompleteEditor.js +8 -9
  17. package/editors/autocompleteEditor/autocompleteEditor.mjs +8 -9
  18. package/helpers/mixed.js +2 -2
  19. package/helpers/mixed.mjs +2 -2
  20. package/package.json +1 -1
  21. package/plugins/base/base.js +9 -10
  22. package/plugins/base/base.mjs +9 -10
  23. package/plugins/collapsibleColumns/collapsibleColumns.js +24 -7
  24. package/plugins/collapsibleColumns/collapsibleColumns.mjs +24 -7
  25. package/plugins/copyPaste/copyPaste.js +92 -16
  26. package/plugins/copyPaste/copyPaste.mjs +92 -16
  27. package/plugins/copyPaste/copyableRanges.js +14 -8
  28. package/plugins/copyPaste/copyableRanges.mjs +14 -8
  29. package/plugins/customBorders/customBorders.js +6 -7
  30. package/plugins/customBorders/customBorders.mjs +6 -7
  31. package/plugins/formulas/formulas.js +34 -7
  32. package/plugins/formulas/formulas.mjs +34 -7
  33. package/plugins/hiddenColumns/hiddenColumns.js +12 -7
  34. package/plugins/hiddenColumns/hiddenColumns.mjs +12 -7
  35. package/plugins/hiddenRows/hiddenRows.js +12 -7
  36. package/plugins/hiddenRows/hiddenRows.mjs +12 -7
  37. package/plugins/nestedHeaders/nestedHeaders.js +26 -7
  38. package/plugins/nestedHeaders/nestedHeaders.mjs +26 -7
  39. package/plugins/nestedHeaders/stateManager/index.js +18 -0
  40. package/plugins/nestedHeaders/stateManager/index.mjs +18 -0
  41. package/plugins/nestedHeaders/stateManager/sourceSettings.js +19 -0
  42. package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +19 -0
  43. package/translations/changesObservable/observer.js +7 -0
  44. package/translations/changesObservable/observer.mjs +7 -0
  45. package/translations/maps/linkedPhysicalIndexToValueMap.js +6 -0
  46. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +6 -0
@@ -154,9 +154,9 @@ var ViewportColumnsCalculator = /*#__PURE__*/function () {
154
154
  var inlineEndColumnOffset = calculationType === _constants.FULLY_VISIBLE_TYPE ? 0 : lastVisibleColumnWidth;
155
155
  var inlineStartColumnOffset = calculationType === _constants.FULLY_VISIBLE_TYPE ? firstVisibleColumnWidth : 0;
156
156
  if (
157
- // The table is on the left of the viewport
157
+ // the table is to the left of the viewport
158
158
  mostRightScrollOffset < -1 * priv.inlineStartOffset || scrollOffset > startPositions.at(-1) + inlineEndColumnOffset ||
159
- // The table is on the right of the viewport
159
+ // the table is to the right of the viewport
160
160
  -1 * priv.scrollOffset - priv.viewportWidth > -1 * inlineStartColumnOffset) {
161
161
  this.isVisibleInTrimmingContainer = false;
162
162
  } else {
@@ -150,9 +150,9 @@ var ViewportColumnsCalculator = /*#__PURE__*/function () {
150
150
  var inlineEndColumnOffset = calculationType === FULLY_VISIBLE_TYPE ? 0 : lastVisibleColumnWidth;
151
151
  var inlineStartColumnOffset = calculationType === FULLY_VISIBLE_TYPE ? firstVisibleColumnWidth : 0;
152
152
  if (
153
- // The table is on the left of the viewport
153
+ // the table is to the left of the viewport
154
154
  mostRightScrollOffset < -1 * priv.inlineStartOffset || scrollOffset > startPositions.at(-1) + inlineEndColumnOffset ||
155
- // The table is on the right of the viewport
155
+ // the table is to the right of the viewport
156
156
  -1 * priv.scrollOffset - priv.viewportWidth > -1 * inlineStartColumnOffset) {
157
157
  this.isVisibleInTrimmingContainer = false;
158
158
  } else {
@@ -43,44 +43,40 @@ var CoreAbstract = /*#__PURE__*/function () {
43
43
  _defineProperty(this, "wtOverlays", void 0);
44
44
  _defineProperty(this, "selections", void 0);
45
45
  _defineProperty(this, "wtEvent", void 0);
46
- _defineProperty(this, "guid", "wt_".concat((0, _string.randomString)()));
47
- _defineProperty(this, "drawInterrupted", false);
48
- _defineProperty(this, "drawn", false);
49
- _defineProperty(this, "domBindings", void 0);
50
- _defineProperty(this, "wtSettings", void 0);
51
- this.domBindings = {
52
- rootTable: table,
53
- rootDocument: table.ownerDocument,
54
- rootWindow: table.ownerDocument.defaultView
55
- };
56
- this.wtSettings = settings;
57
- this.wtScroll = new _scroll.default(this.createScrollDao());
58
- }
59
- _createClass(CoreAbstract, [{
60
- key: "eventManager",
61
- get:
62
46
  /**
63
47
  * The walkontable instance id.
64
48
  *
65
49
  * @public
66
50
  * @type {Readonly<string>}
67
51
  */
68
-
52
+ _defineProperty(this, "guid", "wt_".concat((0, _string.randomString)()));
53
+ _defineProperty(this, "drawInterrupted", false);
54
+ _defineProperty(this, "drawn", false);
69
55
  /**
70
56
  * The DOM bindings.
71
57
  *
72
58
  * @public
73
59
  * @type {DomBindings}
74
60
  */
75
-
61
+ _defineProperty(this, "domBindings", void 0);
76
62
  /**
77
63
  * Settings.
78
64
  *
79
65
  * @public
80
66
  * @type {Settings}
81
67
  */
82
-
83
- function get() {
68
+ _defineProperty(this, "wtSettings", void 0);
69
+ this.domBindings = {
70
+ rootTable: table,
71
+ rootDocument: table.ownerDocument,
72
+ rootWindow: table.ownerDocument.defaultView
73
+ };
74
+ this.wtSettings = settings;
75
+ this.wtScroll = new _scroll.default(this.createScrollDao());
76
+ }
77
+ _createClass(CoreAbstract, [{
78
+ key: "eventManager",
79
+ get: function get() {
84
80
  return new _eventManager.default(this);
85
81
  }
86
82
  }, {
@@ -38,44 +38,40 @@ var CoreAbstract = /*#__PURE__*/function () {
38
38
  _defineProperty(this, "wtOverlays", void 0);
39
39
  _defineProperty(this, "selections", void 0);
40
40
  _defineProperty(this, "wtEvent", void 0);
41
- _defineProperty(this, "guid", "wt_".concat(randomString()));
42
- _defineProperty(this, "drawInterrupted", false);
43
- _defineProperty(this, "drawn", false);
44
- _defineProperty(this, "domBindings", void 0);
45
- _defineProperty(this, "wtSettings", void 0);
46
- this.domBindings = {
47
- rootTable: table,
48
- rootDocument: table.ownerDocument,
49
- rootWindow: table.ownerDocument.defaultView
50
- };
51
- this.wtSettings = settings;
52
- this.wtScroll = new Scroll(this.createScrollDao());
53
- }
54
- _createClass(CoreAbstract, [{
55
- key: "eventManager",
56
- get:
57
41
  /**
58
42
  * The walkontable instance id.
59
43
  *
60
44
  * @public
61
45
  * @type {Readonly<string>}
62
46
  */
63
-
47
+ _defineProperty(this, "guid", "wt_".concat(randomString()));
48
+ _defineProperty(this, "drawInterrupted", false);
49
+ _defineProperty(this, "drawn", false);
64
50
  /**
65
51
  * The DOM bindings.
66
52
  *
67
53
  * @public
68
54
  * @type {DomBindings}
69
55
  */
70
-
56
+ _defineProperty(this, "domBindings", void 0);
71
57
  /**
72
58
  * Settings.
73
59
  *
74
60
  * @public
75
61
  * @type {Settings}
76
62
  */
77
-
78
- function get() {
63
+ _defineProperty(this, "wtSettings", void 0);
64
+ this.domBindings = {
65
+ rootTable: table,
66
+ rootDocument: table.ownerDocument,
67
+ rootWindow: table.ownerDocument.defaultView
68
+ };
69
+ this.wtSettings = settings;
70
+ this.wtScroll = new Scroll(this.createScrollDao());
71
+ }
72
+ _createClass(CoreAbstract, [{
73
+ key: "eventManager",
74
+ get: function get() {
79
75
  return new EventManager(this);
80
76
  }
81
77
  }, {