handsontable 12.3.3-next-018f495-20230327 → 12.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/3rdparty/walkontable/src/core/_base.js +20 -16
  2. package/3rdparty/walkontable/src/core/_base.mjs +20 -16
  3. package/CHANGELOG.md +15 -23
  4. package/base.js +2 -2
  5. package/base.mjs +2 -2
  6. package/dist/handsontable.css +2 -2
  7. package/dist/handsontable.full.css +2 -2
  8. package/dist/handsontable.full.js +3077 -3595
  9. package/dist/handsontable.full.min.css +2 -2
  10. package/dist/handsontable.full.min.js +226 -240
  11. package/dist/handsontable.js +112 -310
  12. package/dist/handsontable.min.css +2 -2
  13. package/dist/handsontable.min.js +3 -3
  14. package/editors/autocompleteEditor/autocompleteEditor.js +9 -8
  15. package/editors/autocompleteEditor/autocompleteEditor.mjs +9 -8
  16. package/helpers/mixed.js +1 -1
  17. package/helpers/mixed.mjs +1 -1
  18. package/package.json +1 -1
  19. package/plugins/base/base.js +10 -9
  20. package/plugins/base/base.mjs +10 -9
  21. package/plugins/collapsibleColumns/collapsibleColumns.js +7 -24
  22. package/plugins/collapsibleColumns/collapsibleColumns.mjs +7 -24
  23. package/plugins/copyPaste/copyPaste.js +16 -92
  24. package/plugins/copyPaste/copyPaste.mjs +16 -92
  25. package/plugins/copyPaste/copyableRanges.js +8 -14
  26. package/plugins/copyPaste/copyableRanges.mjs +8 -14
  27. package/plugins/customBorders/customBorders.js +7 -6
  28. package/plugins/customBorders/customBorders.mjs +7 -6
  29. package/plugins/formulas/formulas.js +7 -34
  30. package/plugins/formulas/formulas.mjs +7 -34
  31. package/plugins/hiddenColumns/hiddenColumns.js +7 -12
  32. package/plugins/hiddenColumns/hiddenColumns.mjs +7 -12
  33. package/plugins/hiddenRows/hiddenRows.js +7 -12
  34. package/plugins/hiddenRows/hiddenRows.mjs +7 -12
  35. package/plugins/nestedHeaders/nestedHeaders.js +7 -26
  36. package/plugins/nestedHeaders/nestedHeaders.mjs +7 -26
  37. package/plugins/nestedHeaders/stateManager/index.js +0 -18
  38. package/plugins/nestedHeaders/stateManager/index.mjs +0 -18
  39. package/plugins/nestedHeaders/stateManager/sourceSettings.js +0 -19
  40. package/plugins/nestedHeaders/stateManager/sourceSettings.mjs +0 -19
  41. package/translations/changesObservable/observer.js +0 -7
  42. package/translations/changesObservable/observer.mjs +0 -7
  43. package/translations/maps/linkedPhysicalIndexToValueMap.js +0 -6
  44. package/translations/maps/linkedPhysicalIndexToValueMap.mjs +0 -6
@@ -43,40 +43,44 @@ 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:
46
62
  /**
47
63
  * The walkontable instance id.
48
64
  *
49
65
  * @public
50
66
  * @type {Readonly<string>}
51
67
  */
52
- _defineProperty(this, "guid", "wt_".concat((0, _string.randomString)()));
53
- _defineProperty(this, "drawInterrupted", false);
54
- _defineProperty(this, "drawn", false);
68
+
55
69
  /**
56
70
  * The DOM bindings.
57
71
  *
58
72
  * @public
59
73
  * @type {DomBindings}
60
74
  */
61
- _defineProperty(this, "domBindings", void 0);
75
+
62
76
  /**
63
77
  * Settings.
64
78
  *
65
79
  * @public
66
80
  * @type {Settings}
67
81
  */
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() {
82
+
83
+ function get() {
80
84
  return new _eventManager.default(this);
81
85
  }
82
86
  }, {
@@ -38,40 +38,44 @@ 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:
41
57
  /**
42
58
  * The walkontable instance id.
43
59
  *
44
60
  * @public
45
61
  * @type {Readonly<string>}
46
62
  */
47
- _defineProperty(this, "guid", "wt_".concat(randomString()));
48
- _defineProperty(this, "drawInterrupted", false);
49
- _defineProperty(this, "drawn", false);
63
+
50
64
  /**
51
65
  * The DOM bindings.
52
66
  *
53
67
  * @public
54
68
  * @type {DomBindings}
55
69
  */
56
- _defineProperty(this, "domBindings", void 0);
70
+
57
71
  /**
58
72
  * Settings.
59
73
  *
60
74
  * @public
61
75
  * @type {Settings}
62
76
  */
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() {
77
+
78
+ function get() {
75
79
  return new EventManager(this);
76
80
  }
77
81
  }, {
package/CHANGELOG.md CHANGED
@@ -11,35 +11,27 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
12
  ## [12.3.3] - 2023-03-28
13
13
 
14
+ ### Added
15
+
16
+ - Added a Chinese (zh-CN) translation of the "Copy with headers" feature. [#10273](https://github.com/handsontable/handsontable/pull/10273)
17
+ - Added a new guide: Rows sorting. [#10183](https://github.com/handsontable/handsontable/pull/10183)
18
+
14
19
  ### Fixed
15
20
 
16
- - React: Fixed React 18 warnings about deprecated lifecycle methods. We removed
17
- `componentWillMount()` and `componentWillUpdate()` from Handsontable's codebase and recreated
18
- their functionality by using React's portals.
19
- [#10263](https://github.com/handsontable/handsontable/pull/10263)
21
+ - Fixed an issue where column-filter checkboxes got reset when the table was scrolled out of view. We solved this by preventing the table from triggering a complete render each time it leaves the viewport. [#10206](https://github.com/handsontable/handsontable/pull/10206)
22
+ - Fixed an issue where clicking on a cell scrolled the table sideways in certain RTL configurations. [#10206](https://github.com/handsontable/handsontable/pull/10206)
23
+ - Fixed an issue where calling [`getDataAtCol()`](https://handsontable.com/docs/javascript-data-grid/api/core/#getdataatcol) or [`getDataAtProp()`](https://handsontable.com/docs/javascript-data-grid/api/core/#getdataatprop) caused an error in case of data sets with more than 125 000 rows. [#10226](https://github.com/handsontable/handsontable/pull/10226)
24
+ - React: Fixed React 18 warnings about deprecated lifecycle methods. We removed `componentWillMount()` and `componentWillUpdate()` from Handsontable's codebase and recreated their functionality by using React's portals. [#10263](https://github.com/handsontable/handsontable/pull/10263)
20
25
 
21
- ## [12.3.2] - 2023-03-23
26
+ For more information on Handsontable 12.3.3, see:
22
27
 
23
- ### Added
24
- - Added a Chinese (zh-CN) translation of the "Copy with headers" feature.
25
- [#10273](https://github.com/handsontable/handsontable/pull/10273)
26
- - Added a new "Rows sorting" guide. [#10183](https://github.com/handsontable/handsontable/pull/10183)
28
+ - [Blog post (12.3.3)](https://handsontable.com/blog/handsontable-12-3-3-better-support-for-react-18-and-large-data-sets)
29
+ - [Documentation (12.3)](https://handsontable.com/docs/12.3)
30
+ - [Release notes (12.3.3)](https://handsontable.com/docs/release-notes/#_12-3-3)
27
31
 
28
- ### Fixed
32
+ ## [12.3.2] - 2023-03-23
29
33
 
30
- - Fixed an issue where column-filter checkboxes were resetting when the table was scrolled out
31
- of view. We solved this by preventing the table from triggering a complete render each time it
32
- leaves the viewport. [#10206](https://github.com/handsontable/handsontable/pull/10206)
33
- - Fixed an issue where clicking on a cell scrolled the table sideways in certain RTL configurations.
34
- [#10206](https://github.com/handsontable/handsontable/pull/10206)
35
- - Fixed an issue where calling
36
- [`getDataAtCol()`](https://handsontable.com/docs/javascript-data-grid/api/core/#getdataatcol) or
37
- [`getDataAtProp()`](https://handsontable.com/docs/javascript-data-grid/api/core/#getdataatprop) caused an error when the data set had more than 125 000 rows.
38
- [#10226](https://github.com/handsontable/handsontable/pull/10226)
39
- - React: Fixed React 18 warnings about deprecated lifecycle methods. We removed
40
- `componentWillMount()` and `componentWillUpdate()` from Handsontable's codebase and recreated
41
- their functionality by using React's portals.
42
- [#10263](https://github.com/handsontable/handsontable/pull/10263)
34
+ Handsontable 12.3.2 may not work properly with React's functional components. If you're using React, you should upgrade to 12.3.3.
43
35
 
44
36
  ## [12.3.1] - 2023-02-06
45
37
 
package/base.js CHANGED
@@ -46,8 +46,8 @@ Handsontable.hooks = _pluginHooks.default.getSingleton();
46
46
  Handsontable.CellCoords = _src.CellCoords;
47
47
  Handsontable.CellRange = _src.CellRange;
48
48
  Handsontable.packageName = 'handsontable';
49
- Handsontable.buildDate = "27/03/2023 11:51:05";
50
- Handsontable.version = "12.3.3-next-018f495-20230327";
49
+ Handsontable.buildDate = "28/03/2023 12:24:06";
50
+ Handsontable.version = "12.3.3";
51
51
  Handsontable.languages = {
52
52
  dictionaryKeys: _registry.dictionaryKeys,
53
53
  getLanguageDictionary: _registry.getLanguageDictionary,
package/base.mjs CHANGED
@@ -35,8 +35,8 @@ Handsontable.hooks = Hooks.getSingleton();
35
35
  Handsontable.CellCoords = CellCoords;
36
36
  Handsontable.CellRange = CellRange;
37
37
  Handsontable.packageName = 'handsontable';
38
- Handsontable.buildDate = "27/03/2023 11:51:19";
39
- Handsontable.version = "12.3.3-next-018f495-20230327";
38
+ Handsontable.buildDate = "28/03/2023 12:24:11";
39
+ Handsontable.version = "12.3.3";
40
40
  Handsontable.languages = {
41
41
  dictionaryKeys: dictionaryKeys,
42
42
  getLanguageDictionary: getLanguageDictionary,
@@ -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: 12.3.3-next-018f495-20230327
29
- * Release date: 28/03/2023 (built at 27/03/2023 11:51:31)
28
+ * Version: 12.3.3
29
+ * Release date: 28/03/2023 (built at 28/03/2023 12:24:16)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles
@@ -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: 12.3.3-next-018f495-20230327
29
- * Release date: 28/03/2023 (built at 27/03/2023 11:51:31)
28
+ * Version: 12.3.3
29
+ * Release date: 28/03/2023 (built at 28/03/2023 12:24:16)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles