handsontable 0.0.0-next-96d7219-20240710 → 0.0.0-next-83f671c-20240722
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/core.js +3 -0
- package/core.mjs +3 -0
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +18 -24
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +7 -7
- package/dist/handsontable.js +9 -16
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +5 -5
- package/helpers/dom/element.js +0 -10
- package/helpers/dom/element.mjs +0 -9
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -4
- package/tableView.js +1 -1
- package/tableView.mjs +2 -2
package/helpers/dom/element.js
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
exports.__esModule = true;
|
4
4
|
exports.addClass = addClass;
|
5
5
|
exports.addEvent = addEvent;
|
6
|
-
exports.clearClasses = clearClasses;
|
7
6
|
exports.clearTextSelection = clearTextSelection;
|
8
7
|
exports.closest = closest;
|
9
8
|
exports.closestDown = closestDown;
|
@@ -359,15 +358,6 @@ function removeClass(element, className) {
|
|
359
358
|
});
|
360
359
|
}
|
361
360
|
|
362
|
-
/**
|
363
|
-
* Clear all the class names from the provided element.
|
364
|
-
*
|
365
|
-
* @param {HTMLElement} element The element to process.
|
366
|
-
*/
|
367
|
-
function clearClasses(element) {
|
368
|
-
element.className = '';
|
369
|
-
}
|
370
|
-
|
371
361
|
/**
|
372
362
|
* Set a single attribute or multiple attributes at once.
|
373
363
|
*
|
package/helpers/dom/element.mjs
CHANGED
@@ -298,15 +298,6 @@ export function removeClass(element, className) {
|
|
298
298
|
});
|
299
299
|
}
|
300
300
|
|
301
|
-
/**
|
302
|
-
* Clear all the class names from the provided element.
|
303
|
-
*
|
304
|
-
* @param {HTMLElement} element The element to process.
|
305
|
-
*/
|
306
|
-
export function clearClasses(element) {
|
307
|
-
element.className = '';
|
308
|
-
}
|
309
|
-
|
310
301
|
/**
|
311
302
|
* Set a single attribute or multiple attributes at once.
|
312
303
|
*
|
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-83f671c-20240722";
|
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-83f671c-20240722";
|
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-83f671c-20240722",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -51,8 +51,6 @@
|
|
51
51
|
"@babel/runtime": "^7.11.2",
|
52
52
|
"@babel/types": "^7.12.12",
|
53
53
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
54
|
-
"babel-core": "7.0.0-bridge.0",
|
55
|
-
"babel-eslint": "^11.0.0-beta.2",
|
56
54
|
"babel-jest": "^26.6.3",
|
57
55
|
"babel-loader": "^8.0.4",
|
58
56
|
"babel-plugin-forbidden-imports": "^0.1.2",
|
@@ -64,7 +62,6 @@
|
|
64
62
|
"cross-env": "^7.0.3",
|
65
63
|
"css-loader": "6.10.0",
|
66
64
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
67
|
-
"dtslint": "^4.2.0",
|
68
65
|
"env-cmd": "^9.0.3",
|
69
66
|
"eslint": "^7.25.0",
|
70
67
|
"eslint-config-airbnb-base": "^14.2.1",
|
package/tableView.js
CHANGED
@@ -1148,7 +1148,7 @@ class TableView {
|
|
1148
1148
|
const container = TH.firstChild;
|
1149
1149
|
if ((0, _element.hasClass)(container, 'relative')) {
|
1150
1150
|
this.updateCellHeader(container.querySelector('.colHeader'), visualColumnIndex, label, headerLevel);
|
1151
|
-
|
1151
|
+
container.className = '';
|
1152
1152
|
(0, _element.addClass)(container, ['relative', ...getColumnHeaderClassNames()]);
|
1153
1153
|
} else {
|
1154
1154
|
(0, _element.empty)(TH);
|
package/tableView.mjs
CHANGED
@@ -9,7 +9,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
9
9
|
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
10
10
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
11
11
|
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
12
|
-
import { addClass,
|
12
|
+
import { addClass, clearTextSelection, empty, fastInnerHTML, fastInnerText, getScrollbarWidth, hasClass, isChildOf, isInput, isOutsideInput, isVisible, setAttribute, getParentWindow } from "./helpers/dom/element.mjs";
|
13
13
|
import EventManager from "./eventManager.mjs";
|
14
14
|
import { isImmediatePropagationStopped, isRightClick, isLeftClick } from "./helpers/dom/event.mjs";
|
15
15
|
import Walkontable from "./3rdparty/walkontable/src/index.mjs";
|
@@ -1144,7 +1144,7 @@ class TableView {
|
|
1144
1144
|
const container = TH.firstChild;
|
1145
1145
|
if (hasClass(container, 'relative')) {
|
1146
1146
|
this.updateCellHeader(container.querySelector('.colHeader'), visualColumnIndex, label, headerLevel);
|
1147
|
-
|
1147
|
+
container.className = '';
|
1148
1148
|
addClass(container, ['relative', ...getColumnHeaderClassNames()]);
|
1149
1149
|
} else {
|
1150
1150
|
empty(TH);
|