handsontable 0.0.0-next-8d0643b-20230809 → 0.0.0-next-baf2fcf-20230809
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 +2 -2
- package/dist/handsontable.full.js +11 -5
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +2 -2
- package/dist/handsontable.js +11 -5
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +2 -2
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/manualColumnResize/manualColumnResize.js +6 -0
- package/plugins/manualColumnResize/manualColumnResize.mjs +7 -1
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-baf2fcf-20230809";
|
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-baf2fcf-20230809";
|
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-baf2fcf-20230809",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -221,6 +221,12 @@ class ManualColumnResize extends _base.BasePlugin {
|
|
221
221
|
return;
|
222
222
|
}
|
223
223
|
this.currentTH = TH;
|
224
|
+
const hotRootElement = this.hot.rootElement;
|
225
|
+
|
226
|
+
// Handling elements placed only inside columns header of the main instance.
|
227
|
+
if ((0, _element.overlayContainsElement)('top_inline_start_corner', this.currentTH, hotRootElement) === false && (0, _element.overlayContainsElement)('top', this.currentTH, hotRootElement) === false) {
|
228
|
+
return;
|
229
|
+
}
|
224
230
|
const {
|
225
231
|
_wt: wt
|
226
232
|
} = this.hot.view;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import "core-js/modules/es.array.push.js";
|
2
2
|
import { BasePlugin } from "../base/index.mjs";
|
3
|
-
import { addClass, closest, hasClass, removeClass, outerHeight, isDetached } from "../../helpers/dom/element.mjs";
|
3
|
+
import { addClass, closest, hasClass, removeClass, outerHeight, isDetached, overlayContainsElement } from "../../helpers/dom/element.mjs";
|
4
4
|
import EventManager from "../../eventManager.mjs";
|
5
5
|
import { arrayEach } from "../../helpers/array.mjs";
|
6
6
|
import { rangeEach } from "../../helpers/number.mjs";
|
@@ -213,6 +213,12 @@ export class ManualColumnResize extends BasePlugin {
|
|
213
213
|
return;
|
214
214
|
}
|
215
215
|
this.currentTH = TH;
|
216
|
+
const hotRootElement = this.hot.rootElement;
|
217
|
+
|
218
|
+
// Handling elements placed only inside columns header of the main instance.
|
219
|
+
if (overlayContainsElement('top_inline_start_corner', this.currentTH, hotRootElement) === false && overlayContainsElement('top', this.currentTH, hotRootElement) === false) {
|
220
|
+
return;
|
221
|
+
}
|
216
222
|
const {
|
217
223
|
_wt: wt
|
218
224
|
} = this.hot.view;
|