handsontable 0.0.0-next-407bbbc-20241107 → 0.0.0-next-5b14d3c-20241107

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/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-407bbbc-20241107";
137
+ const hotVersion = "0.0.0-next-5b14d3c-20241107";
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-407bbbc-20241107";
127
+ const hotVersion = "0.0.0-next-5b14d3c-20241107";
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-407bbbc-20241107",
13
+ "version": "0.0.0-next-5b14d3c-20241107",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",
@@ -161,7 +161,7 @@ function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellProperties
161
161
  },
162
162
  runOnlyIf: () => {
163
163
  const range = hotInstance.getSelectedRangeLast();
164
- return hotInstance.getSettings().enterBeginsEditing && (range === null || range === void 0 ? void 0 : range.isSingle()) && range.highlight.isCell();
164
+ return hotInstance.getSettings().enterBeginsEditing && (range === null || range === void 0 ? void 0 : range.highlight.isCell()) && !hotInstance.selection.isMultiple();
165
165
  }
166
166
  }, {
167
167
  keys: [['delete'], ['backspace']],
@@ -204,6 +204,11 @@ function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellProperties
204
204
  for (let visualRow = startRow; visualRow <= endRow; visualRow += 1) {
205
205
  for (let visualColumn = startColumn; visualColumn <= endColumn; visualColumn += 1) {
206
206
  const cachedCellProperties = hotInstance.getCellMeta(visualRow, visualColumn);
207
+
208
+ /* eslint-disable no-continue */
209
+ if (cachedCellProperties.hidden) {
210
+ continue;
211
+ }
207
212
  const templates = {
208
213
  checkedTemplate: cachedCellProperties.checkedTemplate,
209
214
  uncheckedTemplate: cachedCellProperties.uncheckedTemplate
@@ -156,7 +156,7 @@ export function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellPro
156
156
  },
157
157
  runOnlyIf: () => {
158
158
  const range = hotInstance.getSelectedRangeLast();
159
- return hotInstance.getSettings().enterBeginsEditing && (range === null || range === void 0 ? void 0 : range.isSingle()) && range.highlight.isCell();
159
+ return hotInstance.getSettings().enterBeginsEditing && (range === null || range === void 0 ? void 0 : range.highlight.isCell()) && !hotInstance.selection.isMultiple();
160
160
  }
161
161
  }, {
162
162
  keys: [['delete'], ['backspace']],
@@ -199,6 +199,11 @@ export function checkboxRenderer(hotInstance, TD, row, col, prop, value, cellPro
199
199
  for (let visualRow = startRow; visualRow <= endRow; visualRow += 1) {
200
200
  for (let visualColumn = startColumn; visualColumn <= endColumn; visualColumn += 1) {
201
201
  const cachedCellProperties = hotInstance.getCellMeta(visualRow, visualColumn);
202
+
203
+ /* eslint-disable no-continue */
204
+ if (cachedCellProperties.hidden) {
205
+ continue;
206
+ }
202
207
  const templates = {
203
208
  checkedTemplate: cachedCellProperties.checkedTemplate,
204
209
  uncheckedTemplate: cachedCellProperties.uncheckedTemplate