handsontable 14.0.0-next-0a2e56a-20231116 → 14.0.0-next-caddcb8-20231120

Sign up to get free protection for your applications and to get access to all the features.
package/focusManager.js CHANGED
@@ -216,11 +216,12 @@ class FocusManager {
216
216
  * @param {number} delay Delay in milliseconds.
217
217
  */
218
218
  refocusToEditorTextarea() {
219
+ var _classPrivateFieldGet4;
219
220
  let delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _classPrivateFieldGet(this, _refocusDelay);
220
221
  const refocusElement = this.getRefocusElement();
221
222
 
222
223
  // Re-focus on the editor's `TEXTAREA` element (or a predefined element) if the `imeFastEdit` option is enabled.
223
- if (_classPrivateFieldGet(this, _hot).getSettings().imeFastEdit && !!refocusElement) {
224
+ if (_classPrivateFieldGet(this, _hot).getSettings().imeFastEdit && !((_classPrivateFieldGet4 = _classPrivateFieldGet(this, _hot).getActiveEditor()) !== null && _classPrivateFieldGet4 !== void 0 && _classPrivateFieldGet4.isOpened()) && !!refocusElement) {
224
225
  _classPrivateFieldGet(this, _hot)._registerTimeout(() => {
225
226
  refocusElement.select();
226
227
  }, delay);
package/focusManager.mjs CHANGED
@@ -213,11 +213,12 @@ export class FocusManager {
213
213
  * @param {number} delay Delay in milliseconds.
214
214
  */
215
215
  refocusToEditorTextarea() {
216
+ var _classPrivateFieldGet4;
216
217
  let delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _classPrivateFieldGet(this, _refocusDelay);
217
218
  const refocusElement = this.getRefocusElement();
218
219
 
219
220
  // Re-focus on the editor's `TEXTAREA` element (or a predefined element) if the `imeFastEdit` option is enabled.
220
- if (_classPrivateFieldGet(this, _hot).getSettings().imeFastEdit && !!refocusElement) {
221
+ if (_classPrivateFieldGet(this, _hot).getSettings().imeFastEdit && !((_classPrivateFieldGet4 = _classPrivateFieldGet(this, _hot).getActiveEditor()) !== null && _classPrivateFieldGet4 !== void 0 && _classPrivateFieldGet4.isOpened()) && !!refocusElement) {
221
222
  _classPrivateFieldGet(this, _hot)._registerTimeout(() => {
222
223
  refocusElement.select();
223
224
  }, delay);
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 = "14.0.0-next-0a2e56a-20231116";
137
+ const hotVersion = "14.0.0-next-caddcb8-20231120";
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 = "14.0.0-next-0a2e56a-20231116";
127
+ const hotVersion = "14.0.0-next-caddcb8-20231120";
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": "14.0.0-next-0a2e56a-20231116",
13
+ "version": "14.0.0-next-caddcb8-20231120",
14
14
  "main": "index",
15
15
  "module": "index.mjs",
16
16
  "jsnext:main": "index.mjs",