handsontable 0.0.0-next-c8630a2-20221205 → 0.0.0-next-0c2e6f8-20221206
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/dataMap/metaManager/metaSchema.js +30 -14
- package/dataMap/metaManager/metaSchema.mjs +30 -14
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +42 -23
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +5 -5
- package/dist/handsontable.js +42 -23
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/editorManager.js +7 -4
- package/editorManager.mjs +7 -4
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
package/editorManager.js
CHANGED
@@ -18,6 +18,7 @@ require("core-js/modules/es.weak-map.js");
|
|
18
18
|
require("core-js/modules/web.dom-collections.iterator.js");
|
19
19
|
var _unicode = require("./helpers/unicode");
|
20
20
|
var _event = require("./helpers/dom/event");
|
21
|
+
var _element = require("./helpers/dom/element");
|
21
22
|
var _registry = require("./editors/registry");
|
22
23
|
var _eventManager = _interopRequireDefault(require("./eventManager"));
|
23
24
|
var _mixed = require("./helpers/mixed");
|
@@ -251,10 +252,12 @@ var EditorManager = /*#__PURE__*/function () {
|
|
251
252
|
// Getting values using the modified coordinates.
|
252
253
|
this.cellProperties = this.instance.getCellMeta(visualRowToCheck, visualColumnToCheck);
|
253
254
|
var activeElement = this.instance.rootDocument.activeElement;
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
255
|
+
|
256
|
+
// Blurring the `activeElement` removes the unwanted border around the focusable element (#6877)
|
257
|
+
// and resets the `document.activeElement` property. The blurring should happen only when the
|
258
|
+
// previously selected input element has not belonged to the Handsontable editor. If blurring is
|
259
|
+
// triggered for all elements, there is a problem with the disappearing IME editor (#9672).
|
260
|
+
if (activeElement && (0, _element.isOutsideInput)(activeElement)) {
|
258
261
|
activeElement.blur();
|
259
262
|
}
|
260
263
|
if (!this.isCellEditable()) {
|
package/editorManager.mjs
CHANGED
@@ -23,6 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
23
23
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
24
24
|
import { isFunctionKey, isCtrlMetaKey } from "./helpers/unicode.mjs";
|
25
25
|
import { stopImmediatePropagation } from "./helpers/dom/event.mjs";
|
26
|
+
import { isOutsideInput } from "./helpers/dom/element.mjs";
|
26
27
|
import { getEditorInstance } from "./editors/registry.mjs";
|
27
28
|
import EventManager from "./eventManager.mjs";
|
28
29
|
import { isDefined } from "./helpers/mixed.mjs";
|
@@ -244,10 +245,12 @@ var EditorManager = /*#__PURE__*/function () {
|
|
244
245
|
// Getting values using the modified coordinates.
|
245
246
|
this.cellProperties = this.instance.getCellMeta(visualRowToCheck, visualColumnToCheck);
|
246
247
|
var activeElement = this.instance.rootDocument.activeElement;
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
248
|
+
|
249
|
+
// Blurring the `activeElement` removes the unwanted border around the focusable element (#6877)
|
250
|
+
// and resets the `document.activeElement` property. The blurring should happen only when the
|
251
|
+
// previously selected input element has not belonged to the Handsontable editor. If blurring is
|
252
|
+
// triggered for all elements, there is a problem with the disappearing IME editor (#9672).
|
253
|
+
if (activeElement && isOutsideInput(activeElement)) {
|
251
254
|
activeElement.blur();
|
252
255
|
}
|
253
256
|
if (!this.isCellEditable()) {
|
package/helpers/mixed.js
CHANGED
@@ -152,7 +152,7 @@ var domMessages = {
|
|
152
152
|
function _injectProductInfo(key, element) {
|
153
153
|
var hasValidType = !isEmpty(key);
|
154
154
|
var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
155
|
-
var hotVersion = "0.0.0-next-
|
155
|
+
var hotVersion = "0.0.0-next-0c2e6f8-20221206";
|
156
156
|
var keyValidityDate;
|
157
157
|
var consoleMessageState = 'invalid';
|
158
158
|
var domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -142,7 +142,7 @@ var domMessages = {
|
|
142
142
|
export function _injectProductInfo(key, element) {
|
143
143
|
var hasValidType = !isEmpty(key);
|
144
144
|
var isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
145
|
-
var hotVersion = "0.0.0-next-
|
145
|
+
var hotVersion = "0.0.0-next-0c2e6f8-20221206";
|
146
146
|
var keyValidityDate;
|
147
147
|
var consoleMessageState = 'invalid';
|
148
148
|
var 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-0c2e6f8-20221206",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|