handsontable 0.0.0-next-3dee2d1-20241106 → 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/base.js +2 -2
- package/base.mjs +2 -2
- package/core/focusCatcher/focusDetector.js +1 -0
- package/core/focusCatcher/focusDetector.mjs +1 -0
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +12 -6
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +5 -5
- package/dist/handsontable.js +12 -6
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +5 -5
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +4 -1
- package/renderers/checkboxRenderer/checkboxRenderer.js +6 -1
- package/renderers/checkboxRenderer/checkboxRenderer.mjs +6 -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-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-
|
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-
|
13
|
+
"version": "0.0.0-next-5b14d3c-20241107",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -782,6 +782,9 @@
|
|
782
782
|
"import": "./base.mjs",
|
783
783
|
"require": "./base.js"
|
784
784
|
},
|
785
|
+
"./common": {
|
786
|
+
"types": "./common.d.ts"
|
787
|
+
},
|
785
788
|
"./languages/all": {
|
786
789
|
"import": "./languages/index.mjs",
|
787
790
|
"require": "./languages/all.js"
|
@@ -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.
|
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.
|
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
|