handsontable 0.0.0-next-51d3397-20231211 → 0.0.0-next-e2b07e5-20231213
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/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +3 -3
- package/dist/handsontable.full.js +1824 -1489
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +6 -5
- package/dist/handsontable.js +549 -565
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +5 -5
- package/editors/dateEditor/dateEditor.d.ts +1 -1
- package/editors/dateEditor/dateEditor.js +1 -4
- package/editors/dateEditor/dateEditor.mjs +1 -4
- package/helpers/browser.js +2 -5
- package/helpers/browser.mjs +2 -5
- package/helpers/feature.js +0 -10
- package/helpers/feature.mjs +0 -9
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +4 -3
- package/settings.d.ts +1 -1
@@ -3,7 +3,7 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
require("core-js/modules/es.error.cause.js");
|
5
5
|
var _moment = _interopRequireDefault(require("moment"));
|
6
|
-
var _pikaday = _interopRequireDefault(require("
|
6
|
+
var _pikaday = _interopRequireDefault(require("pikaday"));
|
7
7
|
var _textEditor = require("../textEditor");
|
8
8
|
var _eventManager = _interopRequireDefault(require("../../eventManager"));
|
9
9
|
var _element = require("../../helpers/dom/element");
|
@@ -195,9 +195,6 @@ class DateEditor extends _textEditor.TextEditor {
|
|
195
195
|
let dateStr;
|
196
196
|
this.datePicker.style.display = 'block';
|
197
197
|
this.$datePicker = new _pikaday.default(this.getDatePickerConfig());
|
198
|
-
if (typeof this.$datePicker.useMoment === 'function') {
|
199
|
-
this.$datePicker.useMoment(_moment.default);
|
200
|
-
}
|
201
198
|
this.$datePicker._onInputFocus = function () {};
|
202
199
|
this.datePickerStyle.top = `${this.hot.rootWindow.pageYOffset + offset.top + (0, _element.outerHeight)(this.TD)}px`;
|
203
200
|
let pickerLeftPosition = this.hot.rootWindow.pageXOffset;
|
@@ -3,7 +3,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
3
3
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
4
4
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
5
5
|
import moment from 'moment';
|
6
|
-
import Pikaday from '
|
6
|
+
import Pikaday from 'pikaday';
|
7
7
|
import { TextEditor } from "../textEditor/index.mjs";
|
8
8
|
import EventManager from "../../eventManager.mjs";
|
9
9
|
import { addClass, hasClass, outerHeight, outerWidth } from "../../helpers/dom/element.mjs";
|
@@ -191,9 +191,6 @@ export class DateEditor extends TextEditor {
|
|
191
191
|
let dateStr;
|
192
192
|
this.datePicker.style.display = 'block';
|
193
193
|
this.$datePicker = new Pikaday(this.getDatePickerConfig());
|
194
|
-
if (typeof this.$datePicker.useMoment === 'function') {
|
195
|
-
this.$datePicker.useMoment(moment);
|
196
|
-
}
|
197
194
|
this.$datePicker._onInputFocus = function () {};
|
198
195
|
this.datePickerStyle.top = `${this.hot.rootWindow.pageYOffset + offset.top + outerHeight(this.TD)}px`;
|
199
196
|
let pickerLeftPosition = this.hot.rootWindow.pageXOffset;
|
package/helpers/browser.js
CHANGED
@@ -17,7 +17,6 @@ exports.isWindowsOS = isWindowsOS;
|
|
17
17
|
exports.setBrowserMeta = setBrowserMeta;
|
18
18
|
exports.setPlatformMeta = setPlatformMeta;
|
19
19
|
var _object = require("./object");
|
20
|
-
var _feature = require("./feature");
|
21
20
|
const tester = testerFunc => {
|
22
21
|
const result = {
|
23
22
|
value: false
|
@@ -77,10 +76,8 @@ function setPlatformMeta() {
|
|
77
76
|
return void test(platform);
|
78
77
|
});
|
79
78
|
}
|
80
|
-
|
81
|
-
|
82
|
-
setPlatformMeta();
|
83
|
-
}
|
79
|
+
setBrowserMeta();
|
80
|
+
setPlatformMeta();
|
84
81
|
|
85
82
|
/**
|
86
83
|
* @returns {boolean}
|
package/helpers/browser.mjs
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import { objectEach } from "./object.mjs";
|
2
|
-
import { isCSR } from "./feature.mjs";
|
3
2
|
const tester = testerFunc => {
|
4
3
|
const result = {
|
5
4
|
value: false
|
@@ -59,10 +58,8 @@ export function setPlatformMeta() {
|
|
59
58
|
return void test(platform);
|
60
59
|
});
|
61
60
|
}
|
62
|
-
|
63
|
-
|
64
|
-
setPlatformMeta();
|
65
|
-
}
|
61
|
+
setBrowserMeta();
|
62
|
+
setPlatformMeta();
|
66
63
|
|
67
64
|
/**
|
68
65
|
* @returns {boolean}
|
package/helpers/feature.js
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.cancelAnimationFrame = cancelAnimationFrame;
|
5
5
|
exports.getComparisonFunction = getComparisonFunction;
|
6
|
-
exports.isCSR = isCSR;
|
7
6
|
exports.isTouchSupported = isTouchSupported;
|
8
7
|
exports.requestAnimationFrame = requestAnimationFrame;
|
9
8
|
/* eslint-disable no-restricted-globals */
|
@@ -32,15 +31,6 @@ function cancelAnimationFrame(id) {
|
|
32
31
|
function isTouchSupported() {
|
33
32
|
return 'ontouchstart' in window;
|
34
33
|
}
|
35
|
-
|
36
|
-
/**
|
37
|
-
* Checks if the environment that the code runs in is a browser.
|
38
|
-
*
|
39
|
-
* @returns {boolean}
|
40
|
-
*/
|
41
|
-
function isCSR() {
|
42
|
-
return typeof window !== 'undefined';
|
43
|
-
}
|
44
34
|
let comparisonFunction;
|
45
35
|
|
46
36
|
/**
|
package/helpers/feature.mjs
CHANGED
@@ -24,15 +24,6 @@ export function cancelAnimationFrame(id) {
|
|
24
24
|
export function isTouchSupported() {
|
25
25
|
return 'ontouchstart' in window;
|
26
26
|
}
|
27
|
-
|
28
|
-
/**
|
29
|
-
* Checks if the environment that the code runs in is a browser.
|
30
|
-
*
|
31
|
-
* @returns {boolean}
|
32
|
-
*/
|
33
|
-
export function isCSR() {
|
34
|
-
return typeof window !== 'undefined';
|
35
|
-
}
|
36
27
|
let comparisonFunction;
|
37
28
|
|
38
29
|
/**
|
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "0.0.0-next-
|
137
|
+
const hotVersion = "0.0.0-next-e2b07e5-20231213";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "0.0.0-next-
|
127
|
+
const hotVersion = "0.0.0-next-e2b07e5-20231213";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let 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-e2b07e5-20231213",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -32,11 +32,12 @@
|
|
32
32
|
"data-spreadsheet"
|
33
33
|
],
|
34
34
|
"dependencies": {
|
35
|
-
"@
|
35
|
+
"@types/pikaday": "1.7.4",
|
36
36
|
"core-js": "^3.31.1",
|
37
37
|
"dompurify": "^2.1.1",
|
38
38
|
"moment": "2.29.4",
|
39
|
-
"numbro": "2.1.2"
|
39
|
+
"numbro": "2.1.2",
|
40
|
+
"pikaday": "1.8.2"
|
40
41
|
},
|
41
42
|
"devDependencies": {
|
42
43
|
"@babel/cli": "^7.8.3",
|
package/settings.d.ts
CHANGED