handsontable 0.0.0-next-3c2766c-20240422 → 0.0.0-next-499b821-20240423
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.js +0 -2
- package/core.mjs +0 -2
- package/dist/handsontable.css +3 -3
- package/dist/handsontable.full.css +3 -3
- package/dist/handsontable.full.js +14 -14
- package/dist/handsontable.full.min.css +3 -3
- package/dist/handsontable.full.min.js +5 -5
- package/dist/handsontable.js +14 -14
- package/dist/handsontable.min.css +3 -3
- package/dist/handsontable.min.js +5 -5
- package/focusManager.js +2 -4
- package/focusManager.mjs +2 -4
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/plugins/comments/contextMenuItem/addEditComment.js +0 -1
- package/plugins/comments/contextMenuItem/addEditComment.mjs +0 -1
- package/plugins/filters/ui/multipleSelect.js +7 -2
- package/plugins/filters/ui/multipleSelect.mjs +7 -2
package/focusManager.js
CHANGED
@@ -274,9 +274,7 @@ function _focusEditorElement() {
|
|
274
274
|
* @param {object} newSettings The new settings passed to the `updateSettings` method.
|
275
275
|
*/
|
276
276
|
function _onUpdateSettings(newSettings) {
|
277
|
-
if (newSettings.imeFastEdit
|
278
|
-
this.setFocusMode(FOCUS_MODES.MIXED);
|
279
|
-
} else if (!newSettings.imeFastEdit && this.getFocusMode() !== FOCUS_MODES.CELL) {
|
280
|
-
this.setFocusMode(FOCUS_MODES.CELL);
|
277
|
+
if (typeof newSettings.imeFastEdit === 'boolean') {
|
278
|
+
this.setFocusMode(newSettings.imeFastEdit ? FOCUS_MODES.MIXED : FOCUS_MODES.CELL);
|
281
279
|
}
|
282
280
|
}
|
package/focusManager.mjs
CHANGED
@@ -270,9 +270,7 @@ function _focusEditorElement() {
|
|
270
270
|
* @param {object} newSettings The new settings passed to the `updateSettings` method.
|
271
271
|
*/
|
272
272
|
function _onUpdateSettings(newSettings) {
|
273
|
-
if (newSettings.imeFastEdit
|
274
|
-
this.setFocusMode(FOCUS_MODES.MIXED);
|
275
|
-
} else if (!newSettings.imeFastEdit && this.getFocusMode() !== FOCUS_MODES.CELL) {
|
276
|
-
this.setFocusMode(FOCUS_MODES.CELL);
|
273
|
+
if (typeof newSettings.imeFastEdit === 'boolean') {
|
274
|
+
this.setFocusMode(newSettings.imeFastEdit ? FOCUS_MODES.MIXED : FOCUS_MODES.CELL);
|
277
275
|
}
|
278
276
|
}
|
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-499b821-20240423";
|
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-499b821-20240423";
|
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-499b821-20240423",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
@@ -250,12 +250,17 @@ class MultipleSelectUI extends _base.BaseUI {
|
|
250
250
|
beforeOnCellMouseUp: () => {
|
251
251
|
_classPrivateFieldGet(_itemsBox, this).listen();
|
252
252
|
},
|
253
|
+
modifyColWidth: width => {
|
254
|
+
const minWidth = _classPrivateFieldGet(_itemsBox, this).container.scrollWidth - (0, _element.getScrollbarWidth)(rootDocument);
|
255
|
+
if (width !== undefined && width < minWidth) {
|
256
|
+
return minWidth;
|
257
|
+
}
|
258
|
+
return width;
|
259
|
+
},
|
253
260
|
hiddenRows: true,
|
254
261
|
maxCols: 1,
|
255
262
|
autoWrapCol: true,
|
256
263
|
height: 110,
|
257
|
-
// Workaround for #151.
|
258
|
-
colWidths: () => _classPrivateFieldGet(_itemsBox, this).container.scrollWidth - (0, _element.getScrollbarWidth)(rootDocument),
|
259
264
|
copyPaste: false,
|
260
265
|
disableVisualSelection: 'area',
|
261
266
|
fillHandle: false,
|
@@ -245,12 +245,17 @@ export class MultipleSelectUI extends BaseUI {
|
|
245
245
|
beforeOnCellMouseUp: () => {
|
246
246
|
_classPrivateFieldGet(_itemsBox, this).listen();
|
247
247
|
},
|
248
|
+
modifyColWidth: width => {
|
249
|
+
const minWidth = _classPrivateFieldGet(_itemsBox, this).container.scrollWidth - getScrollbarWidth(rootDocument);
|
250
|
+
if (width !== undefined && width < minWidth) {
|
251
|
+
return minWidth;
|
252
|
+
}
|
253
|
+
return width;
|
254
|
+
},
|
248
255
|
hiddenRows: true,
|
249
256
|
maxCols: 1,
|
250
257
|
autoWrapCol: true,
|
251
258
|
height: 110,
|
252
|
-
// Workaround for #151.
|
253
|
-
colWidths: () => _classPrivateFieldGet(_itemsBox, this).container.scrollWidth - getScrollbarWidth(rootDocument),
|
254
259
|
copyPaste: false,
|
255
260
|
disableVisualSelection: 'area',
|
256
261
|
fillHandle: false,
|