@vaadin/grid-pro 22.0.1 → 23.0.0-alpha3
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/package.json +15 -15
- package/src/vaadin-grid-pro-edit-checkbox.js +1 -1
- package/src/vaadin-grid-pro-edit-column.d.ts +1 -1
- package/src/vaadin-grid-pro-edit-column.js +4 -2
- package/src/vaadin-grid-pro-edit-select.js +1 -1
- package/src/vaadin-grid-pro-edit-text-field.js +1 -1
- package/src/vaadin-grid-pro-inline-editing-mixin.d.ts +1 -1
- package/src/vaadin-grid-pro-inline-editing-mixin.js +8 -12
- package/src/vaadin-grid-pro.d.ts +1 -1
- package/src/vaadin-grid-pro.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid-pro",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,26 +34,26 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/checkbox": "
|
|
38
|
-
"@vaadin/component-base": "
|
|
39
|
-
"@vaadin/grid": "
|
|
40
|
-
"@vaadin/item": "
|
|
41
|
-
"@vaadin/list-box": "
|
|
42
|
-
"@vaadin/select": "
|
|
43
|
-
"@vaadin/text-field": "
|
|
37
|
+
"@vaadin/checkbox": "23.0.0-alpha3",
|
|
38
|
+
"@vaadin/component-base": "23.0.0-alpha3",
|
|
39
|
+
"@vaadin/grid": "23.0.0-alpha3",
|
|
40
|
+
"@vaadin/item": "23.0.0-alpha3",
|
|
41
|
+
"@vaadin/list-box": "23.0.0-alpha3",
|
|
42
|
+
"@vaadin/select": "23.0.0-alpha3",
|
|
43
|
+
"@vaadin/text-field": "23.0.0-alpha3",
|
|
44
44
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
46
|
-
"@vaadin/vaadin-material-styles": "
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "23.0.0-alpha3",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@esm-bundle/chai": "^4.3.4",
|
|
51
|
-
"@vaadin/date-picker": "
|
|
52
|
-
"@vaadin/dialog": "
|
|
53
|
-
"@vaadin/polymer-legacy-adapter": "
|
|
51
|
+
"@vaadin/date-picker": "23.0.0-alpha3",
|
|
52
|
+
"@vaadin/dialog": "23.0.0-alpha3",
|
|
53
|
+
"@vaadin/polymer-legacy-adapter": "23.0.0-alpha3",
|
|
54
54
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
55
55
|
"lit": "^2.0.0",
|
|
56
56
|
"sinon": "^9.2.1"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
|
|
59
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -219,7 +219,9 @@ class GridProEditColumn extends GridColumn {
|
|
|
219
219
|
|
|
220
220
|
/** @private */
|
|
221
221
|
_removeEditor(cell, _model) {
|
|
222
|
-
if (!cell.__savedRenderer)
|
|
222
|
+
if (!cell.__savedRenderer) {
|
|
223
|
+
return;
|
|
224
|
+
}
|
|
223
225
|
|
|
224
226
|
cell._renderer = cell.__savedRenderer;
|
|
225
227
|
cell.__savedRenderer = undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
|
@@ -408,19 +408,15 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
408
408
|
if (e.shiftKey) {
|
|
409
409
|
if (cols[colIndex - 1]) {
|
|
410
410
|
nextCol = cols[colIndex - 1];
|
|
411
|
-
} else {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
nextCol = cols[cols.length - 1];
|
|
415
|
-
}
|
|
411
|
+
} else if (index > 0) {
|
|
412
|
+
nextIdx = index - 1;
|
|
413
|
+
nextCol = cols[cols.length - 1];
|
|
416
414
|
}
|
|
415
|
+
} else if (cols[colIndex + 1]) {
|
|
416
|
+
nextCol = cols[colIndex + 1];
|
|
417
417
|
} else {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
} else {
|
|
421
|
-
nextIdx = index + 1;
|
|
422
|
-
nextCol = cols[0];
|
|
423
|
-
}
|
|
418
|
+
nextIdx = index + 1;
|
|
419
|
+
nextCol = cols[0];
|
|
424
420
|
}
|
|
425
421
|
}
|
|
426
422
|
|
package/src/vaadin-grid-pro.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|
package/src/vaadin-grid-pro.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2018 - 2022 Vaadin Ltd.
|
|
4
4
|
* This program is available under Commercial Vaadin Developer License 4.0 (CVDLv4).
|
|
5
5
|
* See <a href="https://vaadin.com/license/cvdl-4.0">the website</a> for the complete license.
|
|
6
6
|
*/
|