handsontable 0.0.0-next-98bffa5-20221207 → 0.0.0-next-b266dab-20221207
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.
- package/3rdparty/walkontable/src/overlays.js +8 -2
- package/3rdparty/walkontable/src/overlays.mjs +8 -2
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +307 -328
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +29 -29
- package/dist/handsontable.js +280 -301
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/helpers/feature.js +9 -36
- package/helpers/feature.mjs +3 -30
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -2
@@ -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
|
-
|
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
|
-
|
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
|
50
|
-
Handsontable.version = "0.0.0-next-
|
49
|
+
Handsontable.buildDate = "07/12/2022 08:50:44";
|
50
|
+
Handsontable.version = "0.0.0-next-b266dab-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:
|
39
|
-
Handsontable.version = "0.0.0-next-
|
38
|
+
Handsontable.buildDate = "07/12/2022 08:50:59";
|
39
|
+
Handsontable.version = "0.0.0-next-b266dab-20221207";
|
40
40
|
Handsontable.languages = {
|
41
41
|
dictionaryKeys: dictionaryKeys,
|
42
42
|
getLanguageDictionary: getLanguageDictionary,
|
package/dist/handsontable.css
CHANGED
@@ -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-
|
29
|
-
* Release date: 25/10/2022 (built at 07/12/2022 08:
|
28
|
+
* Version: 0.0.0-next-b266dab-20221207
|
29
|
+
* Release date: 25/10/2022 (built at 07/12/2022 08:51:11)
|
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-
|
29
|
-
* Release date: 25/10/2022 (built at 07/12/2022 08:
|
28
|
+
* Version: 0.0.0-next-b266dab-20221207
|
29
|
+
* Release date: 25/10/2022 (built at 07/12/2022 08:51:11)
|
30
30
|
*/
|
31
31
|
/**
|
32
32
|
* Fix for bootstrap styles
|