neo.mjs 8.27.0 → 8.27.1
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/apps/ServiceWorker.mjs
CHANGED
package/package.json
CHANGED
package/src/DefaultConfig.mjs
CHANGED
@@ -263,12 +263,12 @@ const DefaultConfig = {
|
|
263
263
|
useVdomWorker: true,
|
264
264
|
/**
|
265
265
|
* buildScripts/injectPackageVersion.mjs will update this value
|
266
|
-
* @default '8.27.
|
266
|
+
* @default '8.27.1'
|
267
267
|
* @memberOf! module:Neo
|
268
268
|
* @name config.version
|
269
269
|
* @type String
|
270
270
|
*/
|
271
|
-
version: '8.27.
|
271
|
+
version: '8.27.1'
|
272
272
|
};
|
273
273
|
|
274
274
|
Object.assign(DefaultConfig, {
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import BaseModel from './BaseModel.mjs';
|
2
|
-
import VDomUtil from '../../util/VDom.mjs';
|
3
2
|
|
4
3
|
/**
|
5
4
|
* @class Neo.selection.grid.ColumnModel
|
@@ -89,7 +88,7 @@ class ColumnModel extends BaseModel {
|
|
89
88
|
onNavKeyColumn(step) {
|
90
89
|
let me = this,
|
91
90
|
{dataFields, view} = me,
|
92
|
-
currentColumn, index;
|
91
|
+
currentColumn, currentIndex, index;
|
93
92
|
|
94
93
|
if (me.hasSelection()) {
|
95
94
|
currentColumn = me.selectedColumns[0]
|
@@ -97,14 +96,18 @@ class ColumnModel extends BaseModel {
|
|
97
96
|
currentColumn = dataFields[0]
|
98
97
|
}
|
99
98
|
|
100
|
-
|
99
|
+
currentIndex = dataFields.indexOf(currentColumn);
|
100
|
+
index = (currentIndex + step) % dataFields.length;
|
101
101
|
|
102
102
|
while (index < 0) {
|
103
103
|
index += dataFields.length
|
104
104
|
}
|
105
105
|
|
106
106
|
me.selectedColumns = [dataFields[index]];
|
107
|
-
|
107
|
+
|
108
|
+
view.createViewData();
|
109
|
+
|
110
|
+
view.parent.scrollByColumns(currentIndex, step)
|
108
111
|
}
|
109
112
|
|
110
113
|
/**
|