handsontable 0.0.0-next-98bffa5-20221207 → 0.0.0-next-b266dab-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.
- 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
package/helpers/feature.js
CHANGED
@@ -1,12 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
require("core-js/modules/es.symbol.js");
|
4
|
-
require("core-js/modules/es.symbol.description.js");
|
5
|
-
require("core-js/modules/es.object.to-string.js");
|
6
|
-
require("core-js/modules/es.symbol.iterator.js");
|
7
|
-
require("core-js/modules/es.array.iterator.js");
|
8
|
-
require("core-js/modules/es.string.iterator.js");
|
9
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
10
3
|
exports.__esModule = true;
|
11
4
|
exports.cancelAnimationFrame = cancelAnimationFrame;
|
12
5
|
exports.getComparisonFunction = getComparisonFunction;
|
@@ -17,35 +10,15 @@ exports.isPassiveEventSupported = isPassiveEventSupported;
|
|
17
10
|
exports.isTextContentSupported = isTextContentSupported;
|
18
11
|
exports.isTouchSupported = isTouchSupported;
|
19
12
|
exports.requestAnimationFrame = requestAnimationFrame;
|
20
|
-
require("core-js/modules/
|
13
|
+
require("core-js/modules/es.symbol.js");
|
14
|
+
require("core-js/modules/es.symbol.description.js");
|
15
|
+
require("core-js/modules/es.object.to-string.js");
|
16
|
+
require("core-js/modules/es.symbol.iterator.js");
|
17
|
+
require("core-js/modules/es.array.iterator.js");
|
18
|
+
require("core-js/modules/es.string.iterator.js");
|
19
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
21
20
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
22
|
-
// https://gist.github.com/paulirish/1579671
|
23
21
|
/* eslint-disable no-restricted-globals */
|
24
|
-
var lastTime = 0;
|
25
|
-
var vendors = ['ms', 'moz', 'webkit', 'o'];
|
26
|
-
var _requestAnimationFrame = window.requestAnimationFrame;
|
27
|
-
var _cancelAnimationFrame = window.cancelAnimationFrame;
|
28
|
-
for (var x = 0; x < vendors.length && !_requestAnimationFrame; ++x) {
|
29
|
-
_requestAnimationFrame = window["".concat(vendors[x], "RequestAnimationFrame")];
|
30
|
-
_cancelAnimationFrame = window["".concat(vendors[x], "CancelAnimationFrame")] || window["".concat(vendors[x], "CancelRequestAnimationFrame")];
|
31
|
-
}
|
32
|
-
if (!_requestAnimationFrame) {
|
33
|
-
_requestAnimationFrame = function _requestAnimationFrame(callback) {
|
34
|
-
var currTime = new Date().getTime();
|
35
|
-
var timeToCall = Math.max(0, 16 - (currTime - lastTime));
|
36
|
-
var id = window.setTimeout(function () {
|
37
|
-
callback(currTime + timeToCall);
|
38
|
-
}, timeToCall);
|
39
|
-
lastTime = currTime + timeToCall;
|
40
|
-
return id;
|
41
|
-
};
|
42
|
-
}
|
43
|
-
if (!_cancelAnimationFrame) {
|
44
|
-
_cancelAnimationFrame = function _cancelAnimationFrame(id) {
|
45
|
-
clearTimeout(id);
|
46
|
-
};
|
47
|
-
}
|
48
|
-
|
49
22
|
/**
|
50
23
|
* Polyfill for requestAnimationFrame.
|
51
24
|
*
|
@@ -53,7 +26,7 @@ if (!_cancelAnimationFrame) {
|
|
53
26
|
* @returns {number}
|
54
27
|
*/
|
55
28
|
function requestAnimationFrame(callback) {
|
56
|
-
return
|
29
|
+
return window.requestAnimationFrame(callback);
|
57
30
|
}
|
58
31
|
|
59
32
|
/**
|
@@ -82,7 +55,7 @@ function isGetComputedStyleSupported() {
|
|
82
55
|
* @param {number} id The request Id, generated by `requestAnimationFrame`.
|
83
56
|
*/
|
84
57
|
function cancelAnimationFrame(id) {
|
85
|
-
|
58
|
+
window.cancelAnimationFrame(id);
|
86
59
|
}
|
87
60
|
|
88
61
|
/**
|
package/helpers/feature.mjs
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
2
|
-
import "core-js/modules/web.timers.js";
|
3
1
|
import "core-js/modules/es.symbol.js";
|
4
2
|
import "core-js/modules/es.symbol.description.js";
|
5
3
|
import "core-js/modules/es.object.to-string.js";
|
@@ -7,33 +5,8 @@ import "core-js/modules/es.symbol.iterator.js";
|
|
7
5
|
import "core-js/modules/es.array.iterator.js";
|
8
6
|
import "core-js/modules/es.string.iterator.js";
|
9
7
|
import "core-js/modules/web.dom-collections.iterator.js";
|
10
|
-
|
8
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
11
9
|
/* eslint-disable no-restricted-globals */
|
12
|
-
var lastTime = 0;
|
13
|
-
var vendors = ['ms', 'moz', 'webkit', 'o'];
|
14
|
-
var _requestAnimationFrame = window.requestAnimationFrame;
|
15
|
-
var _cancelAnimationFrame = window.cancelAnimationFrame;
|
16
|
-
for (var x = 0; x < vendors.length && !_requestAnimationFrame; ++x) {
|
17
|
-
_requestAnimationFrame = window["".concat(vendors[x], "RequestAnimationFrame")];
|
18
|
-
_cancelAnimationFrame = window["".concat(vendors[x], "CancelAnimationFrame")] || window["".concat(vendors[x], "CancelRequestAnimationFrame")];
|
19
|
-
}
|
20
|
-
if (!_requestAnimationFrame) {
|
21
|
-
_requestAnimationFrame = function _requestAnimationFrame(callback) {
|
22
|
-
var currTime = new Date().getTime();
|
23
|
-
var timeToCall = Math.max(0, 16 - (currTime - lastTime));
|
24
|
-
var id = window.setTimeout(function () {
|
25
|
-
callback(currTime + timeToCall);
|
26
|
-
}, timeToCall);
|
27
|
-
lastTime = currTime + timeToCall;
|
28
|
-
return id;
|
29
|
-
};
|
30
|
-
}
|
31
|
-
if (!_cancelAnimationFrame) {
|
32
|
-
_cancelAnimationFrame = function _cancelAnimationFrame(id) {
|
33
|
-
clearTimeout(id);
|
34
|
-
};
|
35
|
-
}
|
36
|
-
|
37
10
|
/**
|
38
11
|
* Polyfill for requestAnimationFrame.
|
39
12
|
*
|
@@ -41,7 +14,7 @@ if (!_cancelAnimationFrame) {
|
|
41
14
|
* @returns {number}
|
42
15
|
*/
|
43
16
|
export function requestAnimationFrame(callback) {
|
44
|
-
return
|
17
|
+
return window.requestAnimationFrame(callback);
|
45
18
|
}
|
46
19
|
|
47
20
|
/**
|
@@ -70,7 +43,7 @@ export function isGetComputedStyleSupported() {
|
|
70
43
|
* @param {number} id The request Id, generated by `requestAnimationFrame`.
|
71
44
|
*/
|
72
45
|
export function cancelAnimationFrame(id) {
|
73
|
-
|
46
|
+
window.cancelAnimationFrame(id);
|
74
47
|
}
|
75
48
|
|
76
49
|
/**
|
package/helpers/mixed.js
CHANGED
@@ -152,7 +152,7 @@ var domMessages = {
|
|
152
152
|
function _injectProductInfo(key, element) {
|
153
153
|
var hasValidType = !isEmpty(key);
|
154
154
|
var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
155
|
-
var hotVersion = "0.0.0-next-
|
155
|
+
var hotVersion = "0.0.0-next-b266dab-20221207";
|
156
156
|
var keyValidityDate;
|
157
157
|
var consoleMessageState = 'invalid';
|
158
158
|
var domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -142,7 +142,7 @@ var domMessages = {
|
|
142
142
|
export function _injectProductInfo(key, element) {
|
143
143
|
var hasValidType = !isEmpty(key);
|
144
144
|
var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
145
|
-
var hotVersion = "0.0.0-next-
|
145
|
+
var hotVersion = "0.0.0-next-b266dab-20221207";
|
146
146
|
var keyValidityDate;
|
147
147
|
var consoleMessageState = 'invalid';
|
148
148
|
var domMessageState = 'invalid';
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "0.0.0-next-
|
13
|
+
"version": "0.0.0-next-b266dab-20221207",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -95,7 +95,6 @@
|
|
95
95
|
"progress-bar-webpack-plugin": "^1.10.0",
|
96
96
|
"puppeteer": "^19.2.2",
|
97
97
|
"replace-in-file": "^6.1.0",
|
98
|
-
"resize-observer-polyfill": "^1.5.1",
|
99
98
|
"rimraf": "^2.5.4",
|
100
99
|
"sass": "^1.3.0",
|
101
100
|
"sass-loader": "^10.2.0",
|