@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/grid-pro",
3
- "version": "22.0.1",
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": "^22.0.1",
38
- "@vaadin/component-base": "^22.0.1",
39
- "@vaadin/grid": "^22.0.1",
40
- "@vaadin/item": "^22.0.1",
41
- "@vaadin/list-box": "^22.0.1",
42
- "@vaadin/select": "^22.0.1",
43
- "@vaadin/text-field": "^22.0.1",
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": "^22.0.1",
46
- "@vaadin/vaadin-material-styles": "^22.0.1",
47
- "@vaadin/vaadin-themable-mixin": "^22.0.1"
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": "^22.0.1",
52
- "@vaadin/dialog": "^22.0.1",
53
- "@vaadin/polymer-legacy-adapter": "^22.0.1",
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": "2b0a2bff0369d6020f7cc33ad35506aa2d1f6f68"
58
+ "gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
59
59
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2019 - 2021 Vaadin Ltd.
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) 2019 - 2021 Vaadin Ltd.
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) 2019 - 2021 Vaadin Ltd.
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) return;
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) 2019 - 2021 Vaadin Ltd.
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) 2019 - 2021 Vaadin Ltd.
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) 2019 - 2021 Vaadin Ltd.
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) 2019 - 2021 Vaadin Ltd.
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
- if (index > 0) {
413
- nextIdx = index - 1;
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
- if (cols[colIndex + 1]) {
419
- nextCol = cols[colIndex + 1];
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
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2019 - 2021 Vaadin Ltd.
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) 2019 - 2021 Vaadin Ltd.
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
  */