handsontable 0.0.0-next-b93689a-20230110 → 0.0.0-next-4fd87f2-20230117
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 +7 -1
- package/core.mjs +7 -1
- package/dataMap/metaManager/metaSchema.js +1 -1
- package/dataMap/metaManager/metaSchema.mjs +1 -1
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +25 -7
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +5 -5
- package/dist/handsontable.js +25 -7
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/shortcuts/manager.js +9 -0
- package/shortcuts/manager.mjs +9 -0
- package/shortcuts/recorder.js +3 -0
- package/shortcuts/recorder.mjs +3 -0
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-4fd87f2-20230117";
|
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-4fd87f2-20230117";
|
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-4fd87f2-20230117",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/shortcuts/manager.js
CHANGED
@@ -151,6 +151,15 @@ var createShortcutManager = function createShortcutManager(_ref) {
|
|
151
151
|
isCtrlPressed: function isCtrlPressed() {
|
152
152
|
return !isCtrlKeySilenced && (keyRecorder.isPressed('control') || keyRecorder.isPressed('meta'));
|
153
153
|
},
|
154
|
+
/**
|
155
|
+
* Release every previously pressed key.
|
156
|
+
*
|
157
|
+
* @type {Function}
|
158
|
+
* @memberof ShortcutManager#
|
159
|
+
*/
|
160
|
+
releasePressedKeys: function releasePressedKeys() {
|
161
|
+
return keyRecorder.releasePressedKeys();
|
162
|
+
},
|
154
163
|
/**
|
155
164
|
* Destroy a context manager instance.
|
156
165
|
*
|
package/shortcuts/manager.mjs
CHANGED
@@ -146,6 +146,15 @@ export var createShortcutManager = function createShortcutManager(_ref) {
|
|
146
146
|
isCtrlPressed: function isCtrlPressed() {
|
147
147
|
return !isCtrlKeySilenced && (keyRecorder.isPressed('control') || keyRecorder.isPressed('meta'));
|
148
148
|
},
|
149
|
+
/**
|
150
|
+
* Release every previously pressed key.
|
151
|
+
*
|
152
|
+
* @type {Function}
|
153
|
+
* @memberof ShortcutManager#
|
154
|
+
*/
|
155
|
+
releasePressedKeys: function releasePressedKeys() {
|
156
|
+
return keyRecorder.releasePressedKeys();
|
157
|
+
},
|
149
158
|
/**
|
150
159
|
* Destroy a context manager instance.
|
151
160
|
*
|
package/shortcuts/recorder.js
CHANGED
@@ -160,6 +160,9 @@ function useRecorder(ownerWindow, handleEvent, beforeKeyDown, afterKeyDown, call
|
|
160
160
|
unmount: unmount,
|
161
161
|
isPressed: function isPressed(key) {
|
162
162
|
return modifierKeysObserver.isPressed(key);
|
163
|
+
},
|
164
|
+
releasePressedKeys: function releasePressedKeys() {
|
165
|
+
return modifierKeysObserver.releaseAll();
|
163
166
|
}
|
164
167
|
};
|
165
168
|
}
|
package/shortcuts/recorder.mjs
CHANGED
@@ -156,6 +156,9 @@ export function useRecorder(ownerWindow, handleEvent, beforeKeyDown, afterKeyDow
|
|
156
156
|
unmount: unmount,
|
157
157
|
isPressed: function isPressed(key) {
|
158
158
|
return modifierKeysObserver.isPressed(key);
|
159
|
+
},
|
160
|
+
releasePressedKeys: function releasePressedKeys() {
|
161
|
+
return modifierKeysObserver.releaseAll();
|
159
162
|
}
|
160
163
|
};
|
161
164
|
}
|