handsontable 0.0.0-next-7518be3-20231219 → 0.0.0-next-1570df1-20231219
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/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +13 -7
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +3 -3
- package/dist/handsontable.js +13 -7
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +19 -19
- package/editors/selectEditor/selectEditor.js +8 -2
- package/editors/selectEditor/selectEditor.mjs +8 -2
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
@@ -21,9 +21,10 @@ class SelectEditor extends _baseEditor.BaseEditor {
|
|
21
21
|
* Initializes editor instance, DOM Element and mount hooks.
|
22
22
|
*/
|
23
23
|
init() {
|
24
|
-
this.select = this.hot.rootDocument.createElement('
|
25
|
-
|
24
|
+
this.select = this.hot.rootDocument.createElement('select');
|
25
|
+
this.select.setAttribute('data-hot-input', 'true');
|
26
26
|
this.select.style.display = 'none';
|
27
|
+
(0, _element.addClass)(this.select, 'htSelectEditor');
|
27
28
|
this.hot.rootElement.appendChild(this.select);
|
28
29
|
this.registerHooks();
|
29
30
|
}
|
@@ -188,6 +189,7 @@ class SelectEditor extends _baseEditor.BaseEditor {
|
|
188
189
|
registerShortcuts() {
|
189
190
|
const shortcutManager = this.hot.getShortcutManager();
|
190
191
|
const editorContext = shortcutManager.getContext('editor');
|
192
|
+
const gridContext = shortcutManager.getContext('grid');
|
191
193
|
const contextConfig = {
|
192
194
|
group: SHORTCUTS_GROUP
|
193
195
|
};
|
@@ -197,6 +199,10 @@ class SelectEditor extends _baseEditor.BaseEditor {
|
|
197
199
|
return;
|
198
200
|
}
|
199
201
|
editorContext.addShortcuts([{
|
202
|
+
keys: [['Tab'], ['Shift', 'Tab']],
|
203
|
+
forwardToContext: gridContext,
|
204
|
+
callback: () => {}
|
205
|
+
}, {
|
200
206
|
keys: [['ArrowUp']],
|
201
207
|
callback: () => {
|
202
208
|
const previousOptionIndex = this.select.selectedIndex - 1;
|
@@ -18,9 +18,10 @@ export class SelectEditor extends BaseEditor {
|
|
18
18
|
* Initializes editor instance, DOM Element and mount hooks.
|
19
19
|
*/
|
20
20
|
init() {
|
21
|
-
this.select = this.hot.rootDocument.createElement('
|
22
|
-
|
21
|
+
this.select = this.hot.rootDocument.createElement('select');
|
22
|
+
this.select.setAttribute('data-hot-input', 'true');
|
23
23
|
this.select.style.display = 'none';
|
24
|
+
addClass(this.select, 'htSelectEditor');
|
24
25
|
this.hot.rootElement.appendChild(this.select);
|
25
26
|
this.registerHooks();
|
26
27
|
}
|
@@ -185,6 +186,7 @@ export class SelectEditor extends BaseEditor {
|
|
185
186
|
registerShortcuts() {
|
186
187
|
const shortcutManager = this.hot.getShortcutManager();
|
187
188
|
const editorContext = shortcutManager.getContext('editor');
|
189
|
+
const gridContext = shortcutManager.getContext('grid');
|
188
190
|
const contextConfig = {
|
189
191
|
group: SHORTCUTS_GROUP
|
190
192
|
};
|
@@ -194,6 +196,10 @@ export class SelectEditor extends BaseEditor {
|
|
194
196
|
return;
|
195
197
|
}
|
196
198
|
editorContext.addShortcuts([{
|
199
|
+
keys: [['Tab'], ['Shift', 'Tab']],
|
200
|
+
forwardToContext: gridContext,
|
201
|
+
callback: () => {}
|
202
|
+
}, {
|
197
203
|
keys: [['ArrowUp']],
|
198
204
|
callback: () => {
|
199
205
|
const previousOptionIndex = this.select.selectedIndex - 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-1570df1-20231219";
|
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-1570df1-20231219";
|
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-1570df1-20231219",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|