handsontable 0.0.0-next-ae2e00f-20231213 → 0.0.0-next-1bead53-20231215
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 +5 -5
- package/dist/handsontable.full.css +5 -5
- package/dist/handsontable.full.js +18 -9
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +54 -54
- package/dist/handsontable.js +18 -9
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +17 -17
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/manualColumnResize/manualColumnResize.js +6 -1
- package/plugins/manualColumnResize/manualColumnResize.mjs +6 -1
- package/plugins/manualRowResize/manualRowResize.js +7 -3
- package/plugins/manualRowResize/manualRowResize.mjs +7 -3
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-1bead53-20231215";
|
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-1bead53-20231215";
|
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-1bead53-20231215",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -467,7 +467,12 @@ class ManualColumnResize extends _base.BasePlugin {
|
|
467
467
|
* @returns {boolean}
|
468
468
|
*/
|
469
469
|
checkIfColumnHeader(element) {
|
470
|
-
|
470
|
+
const thead = (0, _element.closest)(element, ['THEAD'], this.hot.rootElement);
|
471
|
+
const {
|
472
|
+
topOverlay,
|
473
|
+
topInlineStartCornerOverlay
|
474
|
+
} = this.hot.view._wt.wtOverlays;
|
475
|
+
return [topOverlay.clone.wtTable.THEAD, topInlineStartCornerOverlay.clone.wtTable.THEAD].includes(thead);
|
471
476
|
}
|
472
477
|
|
473
478
|
/**
|
@@ -462,7 +462,12 @@ export class ManualColumnResize extends BasePlugin {
|
|
462
462
|
* @returns {boolean}
|
463
463
|
*/
|
464
464
|
checkIfColumnHeader(element) {
|
465
|
-
|
465
|
+
const thead = closest(element, ['THEAD'], this.hot.rootElement);
|
466
|
+
const {
|
467
|
+
topOverlay,
|
468
|
+
topInlineStartCornerOverlay
|
469
|
+
} = this.hot.view._wt.wtOverlays;
|
470
|
+
return [topOverlay.clone.wtTable.THEAD, topInlineStartCornerOverlay.clone.wtTable.THEAD].includes(thead);
|
466
471
|
}
|
467
472
|
|
468
473
|
/**
|
@@ -446,9 +446,13 @@ class ManualRowResize extends _base.BasePlugin {
|
|
446
446
|
* @returns {boolean}
|
447
447
|
*/
|
448
448
|
checkIfRowHeader(element) {
|
449
|
-
|
450
|
-
const
|
451
|
-
|
449
|
+
const tbody = (0, _element.closest)(element, ['TBODY'], this.hot.rootElement);
|
450
|
+
const {
|
451
|
+
inlineStartOverlay,
|
452
|
+
topInlineStartCornerOverlay,
|
453
|
+
bottomInlineStartCornerOverlay
|
454
|
+
} = this.hot.view._wt.wtOverlays;
|
455
|
+
return [inlineStartOverlay.clone.wtTable.TBODY, topInlineStartCornerOverlay.clone.wtTable.TBODY, bottomInlineStartCornerOverlay.clone.wtTable.TBODY].includes(tbody);
|
452
456
|
}
|
453
457
|
|
454
458
|
/**
|
@@ -441,9 +441,13 @@ export class ManualRowResize extends BasePlugin {
|
|
441
441
|
* @returns {boolean}
|
442
442
|
*/
|
443
443
|
checkIfRowHeader(element) {
|
444
|
-
|
445
|
-
const
|
446
|
-
|
444
|
+
const tbody = closest(element, ['TBODY'], this.hot.rootElement);
|
445
|
+
const {
|
446
|
+
inlineStartOverlay,
|
447
|
+
topInlineStartCornerOverlay,
|
448
|
+
bottomInlineStartCornerOverlay
|
449
|
+
} = this.hot.view._wt.wtOverlays;
|
450
|
+
return [inlineStartOverlay.clone.wtTable.TBODY, topInlineStartCornerOverlay.clone.wtTable.TBODY, bottomInlineStartCornerOverlay.clone.wtTable.TBODY].includes(tbody);
|
447
451
|
}
|
448
452
|
|
449
453
|
/**
|