handsontable 0.0.0-next-98bffa5-20221207 → 0.0.0-next-0a86f7c-20221207

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.

@@ -9,6 +9,7 @@ require("core-js/modules/es.object.to-string.js");
9
9
  require("core-js/modules/web.dom-collections.for-each.js");
10
10
  require("core-js/modules/web.timers.js");
11
11
  var _element = require("../../../helpers/dom/element");
12
+ var _feature = require("../../../helpers/feature");
12
13
  var _array = require("../../../helpers/array");
13
14
  var _unicode = require("../../../helpers/unicode");
14
15
  var _browser = require("../../../helpers/browser");
@@ -107,8 +108,13 @@ var Overlays = /*#__PURE__*/function () {
107
108
  _defineProperty(this, "bottomInlineStartCornerOverlay", null);
108
109
  _defineProperty(this, "browserLineHeight", undefined);
109
110
  _defineProperty(this, "wtSettings", null);
110
- _defineProperty(this, "resizeObserver", new ResizeObserver(function () {
111
- return _this.wtSettings.getSetting('onContainerElementResize');
111
+ _defineProperty(this, "resizeObserver", new ResizeObserver(function (entries) {
112
+ (0, _feature.requestAnimationFrame)(function () {
113
+ if (!Array.isArray(entries) || !entries.length) {
114
+ return;
115
+ }
116
+ _this.wtSettings.getSetting('onContainerElementResize');
117
+ });
112
118
  }));
113
119
  this.wot = wotInstance;
114
120
  this.wtSettings = wtSettings;
@@ -12,6 +12,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
12
12
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
13
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
14
14
  import { getScrollableElement, getScrollbarWidth } from "../../../helpers/dom/element.mjs";
15
+ import { requestAnimationFrame } from "../../../helpers/feature.mjs";
15
16
  import { arrayEach } from "../../../helpers/array.mjs";
16
17
  import { isKey } from "../../../helpers/unicode.mjs";
17
18
  import { isChrome } from "../../../helpers/browser.mjs";
@@ -103,8 +104,13 @@ var Overlays = /*#__PURE__*/function () {
103
104
  _defineProperty(this, "bottomInlineStartCornerOverlay", null);
104
105
  _defineProperty(this, "browserLineHeight", undefined);
105
106
  _defineProperty(this, "wtSettings", null);
106
- _defineProperty(this, "resizeObserver", new ResizeObserver(function () {
107
- return _this.wtSettings.getSetting('onContainerElementResize');
107
+ _defineProperty(this, "resizeObserver", new ResizeObserver(function (entries) {
108
+ requestAnimationFrame(function () {
109
+ if (!Array.isArray(entries) || !entries.length) {
110
+ return;
111
+ }
112
+ _this.wtSettings.getSetting('onContainerElementResize');
113
+ });
108
114
  }));
109
115
  this.wot = wotInstance;
110
116
  this.wtSettings = wtSettings;
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 = "07/12/2022 07:59:46";
50
- Handsontable.version = "0.0.0-next-98bffa5-20221207";
49
+ Handsontable.buildDate = "07/12/2022 09:27:53";
50
+ Handsontable.version = "0.0.0-next-0a86f7c-20221207";
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 = "07/12/2022 08:00:04";
39
- Handsontable.version = "0.0.0-next-98bffa5-20221207";
38
+ Handsontable.buildDate = "07/12/2022 09:28:07";
39
+ Handsontable.version = "0.0.0-next-0a86f7c-20221207";
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: 0.0.0-next-98bffa5-20221207
29
- * Release date: 25/10/2022 (built at 07/12/2022 08:00:21)
28
+ * Version: 0.0.0-next-0a86f7c-20221207
29
+ * Release date: 25/10/2022 (built at 07/12/2022 09:28:18)
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: 0.0.0-next-98bffa5-20221207
29
- * Release date: 25/10/2022 (built at 07/12/2022 08:00:21)
28
+ * Version: 0.0.0-next-0a86f7c-20221207
29
+ * Release date: 25/10/2022 (built at 07/12/2022 09:28:18)
30
30
  */
31
31
  /**
32
32
  * Fix for bootstrap styles