@vaadin/grid-pro 24.5.0-alpha1 → 24.5.0-alpha10
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/README.md
CHANGED
|
@@ -68,7 +68,7 @@ import '@vaadin/grid-pro/src/vaadin-grid-pro-edit-column.js';
|
|
|
68
68
|
|
|
69
69
|
## Contributing
|
|
70
70
|
|
|
71
|
-
Read the [contributing guide](https://vaadin.com/docs/latest/contributing
|
|
71
|
+
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
|
|
72
72
|
|
|
73
73
|
## License
|
|
74
74
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid-pro",
|
|
3
|
-
"version": "24.5.0-
|
|
3
|
+
"version": "24.5.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,26 +39,26 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/checkbox": "24.5.0-
|
|
43
|
-
"@vaadin/component-base": "24.5.0-
|
|
44
|
-
"@vaadin/grid": "24.5.0-
|
|
45
|
-
"@vaadin/lit-renderer": "24.5.0-
|
|
46
|
-
"@vaadin/select": "24.5.0-
|
|
47
|
-
"@vaadin/text-field": "24.5.0-
|
|
48
|
-
"@vaadin/vaadin-lumo-styles": "24.5.0-
|
|
49
|
-
"@vaadin/vaadin-material-styles": "24.5.0-
|
|
50
|
-
"@vaadin/vaadin-themable-mixin": "24.5.0-
|
|
42
|
+
"@vaadin/checkbox": "24.5.0-alpha10",
|
|
43
|
+
"@vaadin/component-base": "24.5.0-alpha10",
|
|
44
|
+
"@vaadin/grid": "24.5.0-alpha10",
|
|
45
|
+
"@vaadin/lit-renderer": "24.5.0-alpha10",
|
|
46
|
+
"@vaadin/select": "24.5.0-alpha10",
|
|
47
|
+
"@vaadin/text-field": "24.5.0-alpha10",
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha10",
|
|
49
|
+
"@vaadin/vaadin-material-styles": "24.5.0-alpha10",
|
|
50
|
+
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha10",
|
|
51
51
|
"lit": "^3.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@vaadin/testing-helpers": "^0.
|
|
56
|
-
"sinon": "^
|
|
54
|
+
"@vaadin/chai-plugins": "24.5.0-alpha10",
|
|
55
|
+
"@vaadin/testing-helpers": "^1.0.0",
|
|
56
|
+
"sinon": "^18.0.0"
|
|
57
57
|
},
|
|
58
58
|
"cvdlName": "vaadin-grid-pro",
|
|
59
59
|
"web-types": [
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "6f9c37308031af872a98017bfab4de89aeacda51"
|
|
64
64
|
}
|
|
@@ -143,7 +143,7 @@ export const GridProEditColumnMixin = (superClass) =>
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
/** @private */
|
|
146
|
-
_isCellEditableChanged(
|
|
146
|
+
_isCellEditableChanged() {
|
|
147
147
|
// Re-render grid to update editable-cell part names
|
|
148
148
|
this._grid.requestContentUpdate();
|
|
149
149
|
}
|
|
@@ -200,7 +200,7 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/** @private */
|
|
203
|
-
_applyEdit({ path, value,
|
|
203
|
+
_applyEdit({ path, value, item }) {
|
|
204
204
|
set(path, value, item);
|
|
205
205
|
this.requestContentUpdate();
|
|
206
206
|
}
|
|
@@ -520,7 +520,7 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
520
520
|
super._generateCellPartNames(row, model);
|
|
521
521
|
|
|
522
522
|
iterateRowCells(row, (cell) => {
|
|
523
|
-
const isEditable = this._isCellEditable(cell);
|
|
523
|
+
const isEditable = !row.hasAttribute('loading') && this._isCellEditable(cell);
|
|
524
524
|
const target = cell._focusButton || cell;
|
|
525
525
|
updatePart(target, isEditable, 'editable-cell');
|
|
526
526
|
});
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/grid-pro",
|
|
4
|
-
"version": "24.5.0-
|
|
4
|
+
"version": "24.5.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
403
|
"name": "vaadin-grid-pro",
|
|
404
|
-
"description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-
|
|
404
|
+
"description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-select).",
|
|
405
405
|
"attributes": [
|
|
406
406
|
{
|
|
407
407
|
"name": "size",
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/grid-pro",
|
|
4
|
-
"version": "24.5.0-
|
|
4
|
+
"version": "24.5.0-alpha10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"name": "vaadin-grid-pro",
|
|
180
|
-
"description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-
|
|
180
|
+
"description": "`<vaadin-grid-pro>` is a high quality data grid / data table Web Component with extended functionality.\nIt extends `<vaadin-grid>` and adds extra features on top of the basic ones.\n\nSee [`<vaadin-grid>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-grid) documentation for details.\n\n```\n<vaadin-grid-pro></vaadin-grid-pro>\n```\n\n### Internal components\n\nIn addition to `<vaadin-grid-pro>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-grid-pro-edit-checkbox>` - has the same API as [`<vaadin-checkbox>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-checkbox).\n- `<vaadin-grid-pro-edit-text-field>` - has the same API as [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-text-field).\n- `<vaadin-grid-pro-edit-select>` - has the same API as [`<vaadin-select>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha10/#/elements/vaadin-select).",
|
|
181
181
|
"extension": true,
|
|
182
182
|
"attributes": [
|
|
183
183
|
{
|