@revolist/revogrid 3.7.3 → 3.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-element/columnService.js +2 -1
- package/custom-element/revogr-overlay-selection2.js +6 -0
- package/dist/cjs/revo-grid_11.cjs.entry.js +8 -1
- package/dist/collection/components/overlay/keyboard.service.js +6 -0
- package/dist/collection/services/selection.store.connector.js +2 -1
- package/dist/esm/revo-grid_11.entry.js +8 -1
- package/dist/esm-es5/revo-grid_11.entry.js +1 -1
- package/dist/revo-grid/revo-grid_11.entry.js +1 -1
- package/dist/revo-grid/revo-grid_11.system.entry.js +1 -1
- package/package.json +1 -1
|
@@ -388,11 +388,12 @@ class SelectionStoreConnector {
|
|
|
388
388
|
this.setEdit('');
|
|
389
389
|
}
|
|
390
390
|
beforeNextFocusCell(focus) {
|
|
391
|
+
var _a;
|
|
391
392
|
if (!this.focusedStore) {
|
|
392
393
|
return;
|
|
393
394
|
}
|
|
394
395
|
const nextStore = this.checkNextStore(focus, this.focusedStore.position, this.focusedStore.entity.store.get('lastCell'));
|
|
395
|
-
nextStore.store.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
396
|
+
(_a = nextStore.store) === null || _a === void 0 ? void 0 : _a.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
396
397
|
}
|
|
397
398
|
checkNextStore(focus, currentStorePointer, lastCell) {
|
|
398
399
|
// item in new store
|
|
@@ -162,6 +162,12 @@ class KeyboardService {
|
|
|
162
162
|
e.preventDefault();
|
|
163
163
|
break;
|
|
164
164
|
}
|
|
165
|
+
if (e.shiftKey) {
|
|
166
|
+
switch (e.code) {
|
|
167
|
+
case codesLetter.TAB:
|
|
168
|
+
return { changes: { x: -1 }, isMulti: false };
|
|
169
|
+
}
|
|
170
|
+
}
|
|
165
171
|
switch (e.code) {
|
|
166
172
|
case codesLetter.ARROW_UP:
|
|
167
173
|
return { changes: { y: -1 }, isMulti };
|
|
@@ -7042,11 +7042,12 @@ class SelectionStoreConnector {
|
|
|
7042
7042
|
this.setEdit('');
|
|
7043
7043
|
}
|
|
7044
7044
|
beforeNextFocusCell(focus) {
|
|
7045
|
+
var _a;
|
|
7045
7046
|
if (!this.focusedStore) {
|
|
7046
7047
|
return;
|
|
7047
7048
|
}
|
|
7048
7049
|
const nextStore = this.checkNextStore(focus, this.focusedStore.position, this.focusedStore.entity.store.get('lastCell'));
|
|
7049
|
-
nextStore.store.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
7050
|
+
(_a = nextStore.store) === null || _a === void 0 ? void 0 : _a.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
7050
7051
|
}
|
|
7051
7052
|
checkNextStore(focus, currentStorePointer, lastCell) {
|
|
7052
7053
|
// item in new store
|
|
@@ -27238,6 +27239,12 @@ class KeyboardService {
|
|
|
27238
27239
|
e.preventDefault();
|
|
27239
27240
|
break;
|
|
27240
27241
|
}
|
|
27242
|
+
if (e.shiftKey) {
|
|
27243
|
+
switch (e.code) {
|
|
27244
|
+
case codesLetter.TAB:
|
|
27245
|
+
return { changes: { x: -1 }, isMulti: false };
|
|
27246
|
+
}
|
|
27247
|
+
}
|
|
27241
27248
|
switch (e.code) {
|
|
27242
27249
|
case codesLetter.ARROW_UP:
|
|
27243
27250
|
return { changes: { y: -1 }, isMulti };
|
|
@@ -116,6 +116,12 @@ export class KeyboardService {
|
|
|
116
116
|
e.preventDefault();
|
|
117
117
|
break;
|
|
118
118
|
}
|
|
119
|
+
if (e.shiftKey) {
|
|
120
|
+
switch (e.code) {
|
|
121
|
+
case codesLetter.TAB:
|
|
122
|
+
return { changes: { x: -1 }, isMulti: false };
|
|
123
|
+
}
|
|
124
|
+
}
|
|
119
125
|
switch (e.code) {
|
|
120
126
|
case codesLetter.ARROW_UP:
|
|
121
127
|
return { changes: { y: -1 }, isMulti };
|
|
@@ -133,11 +133,12 @@ export default class SelectionStoreConnector {
|
|
|
133
133
|
this.setEdit('');
|
|
134
134
|
}
|
|
135
135
|
beforeNextFocusCell(focus) {
|
|
136
|
+
var _a;
|
|
136
137
|
if (!this.focusedStore) {
|
|
137
138
|
return;
|
|
138
139
|
}
|
|
139
140
|
const nextStore = this.checkNextStore(focus, this.focusedStore.position, this.focusedStore.entity.store.get('lastCell'));
|
|
140
|
-
nextStore.store.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
141
|
+
(_a = nextStore.store) === null || _a === void 0 ? void 0 : _a.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
141
142
|
}
|
|
142
143
|
checkNextStore(focus, currentStorePointer, lastCell) {
|
|
143
144
|
// item in new store
|
|
@@ -7038,11 +7038,12 @@ class SelectionStoreConnector {
|
|
|
7038
7038
|
this.setEdit('');
|
|
7039
7039
|
}
|
|
7040
7040
|
beforeNextFocusCell(focus) {
|
|
7041
|
+
var _a;
|
|
7041
7042
|
if (!this.focusedStore) {
|
|
7042
7043
|
return;
|
|
7043
7044
|
}
|
|
7044
7045
|
const nextStore = this.checkNextStore(focus, this.focusedStore.position, this.focusedStore.entity.store.get('lastCell'));
|
|
7045
|
-
nextStore.store.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
7046
|
+
(_a = nextStore.store) === null || _a === void 0 ? void 0 : _a.nextFocus(Object.assign(Object.assign({}, focus), nextStore.item));
|
|
7046
7047
|
}
|
|
7047
7048
|
checkNextStore(focus, currentStorePointer, lastCell) {
|
|
7048
7049
|
// item in new store
|
|
@@ -27234,6 +27235,12 @@ class KeyboardService {
|
|
|
27234
27235
|
e.preventDefault();
|
|
27235
27236
|
break;
|
|
27236
27237
|
}
|
|
27238
|
+
if (e.shiftKey) {
|
|
27239
|
+
switch (e.code) {
|
|
27240
|
+
case codesLetter.TAB:
|
|
27241
|
+
return { changes: { x: -1 }, isMulti: false };
|
|
27242
|
+
}
|
|
27243
|
+
}
|
|
27237
27244
|
switch (e.code) {
|
|
27238
27245
|
case codesLetter.ARROW_UP:
|
|
27239
27246
|
return { changes: { y: -1 }, isMulti };
|