handsontable 0.0.0-next-d255844-20240209 → 0.0.0-next-0e52be6-20240209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of handsontable might be problematic. Click here for more details.

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-d255844-20240209";
137
+ const hotVersion = "0.0.0-next-0e52be6-20240209";
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-d255844-20240209";
127
+ const hotVersion = "0.0.0-next-0e52be6-20240209";
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-d255844-20240209",
13
+ "version": "0.0.0-next-0e52be6-20240209",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -234,7 +234,7 @@ class ValueComponent extends _base.BaseComponent {
234
234
  return (0, _array.arrayMap)(this.hot.getDataAtCol(selectedColumn.visualIndex), (v, rowIndex) => {
235
235
  return {
236
236
  value: (0, _utils.toEmptyString)(v),
237
- meta: this.hot.getCellMeta(selectedColumn.visualIndex, rowIndex)
237
+ meta: this.hot.getCellMeta(rowIndex, selectedColumn.visualIndex)
238
238
  };
239
239
  });
240
240
  }
@@ -229,7 +229,7 @@ export class ValueComponent extends BaseComponent {
229
229
  return arrayMap(this.hot.getDataAtCol(selectedColumn.visualIndex), (v, rowIndex) => {
230
230
  return {
231
231
  value: toEmptyString(v),
232
- meta: this.hot.getCellMeta(selectedColumn.visualIndex, rowIndex)
232
+ meta: this.hot.getCellMeta(rowIndex, selectedColumn.visualIndex)
233
233
  };
234
234
  });
235
235
  }
@@ -609,6 +609,9 @@ function _onMouseOver2(event) {
609
609
  }
610
610
  }
611
611
  function _onMouseDown2(event) {
612
+ if (event.target.parentNode !== this.hot.rootElement) {
613
+ return;
614
+ }
612
615
  if ((0, _element.hasClass)(event.target, 'manualColumnResizer')) {
613
616
  this.setupHandlePosition(_classPrivateFieldGet(this, _currentTH));
614
617
  this.setupGuidePosition();
@@ -603,6 +603,9 @@ function _onMouseOver2(event) {
603
603
  }
604
604
  }
605
605
  function _onMouseDown2(event) {
606
+ if (event.target.parentNode !== this.hot.rootElement) {
607
+ return;
608
+ }
606
609
  if (hasClass(event.target, 'manualColumnResizer')) {
607
610
  this.setupHandlePosition(_classPrivateFieldGet(this, _currentTH));
608
611
  this.setupGuidePosition();