@vaadin/grid-pro 24.6.0-alpha2 → 24.6.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 +12 -12
- package/src/vaadin-grid-pro-inline-editing-mixin.js +1 -1
- package/web-types.json +17 -2
- package/web-types.lit.json +16 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid-pro",
|
|
3
|
-
"version": "24.6.0-
|
|
3
|
+
"version": "24.6.0-alpha3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/checkbox": "24.6.0-
|
|
43
|
-
"@vaadin/component-base": "24.6.0-
|
|
44
|
-
"@vaadin/grid": "24.6.0-
|
|
45
|
-
"@vaadin/lit-renderer": "24.6.0-
|
|
46
|
-
"@vaadin/select": "24.6.0-
|
|
47
|
-
"@vaadin/text-field": "24.6.0-
|
|
48
|
-
"@vaadin/vaadin-lumo-styles": "24.6.0-
|
|
49
|
-
"@vaadin/vaadin-material-styles": "24.6.0-
|
|
50
|
-
"@vaadin/vaadin-themable-mixin": "24.6.0-
|
|
42
|
+
"@vaadin/checkbox": "24.6.0-alpha3",
|
|
43
|
+
"@vaadin/component-base": "24.6.0-alpha3",
|
|
44
|
+
"@vaadin/grid": "24.6.0-alpha3",
|
|
45
|
+
"@vaadin/lit-renderer": "24.6.0-alpha3",
|
|
46
|
+
"@vaadin/select": "24.6.0-alpha3",
|
|
47
|
+
"@vaadin/text-field": "24.6.0-alpha3",
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "24.6.0-alpha3",
|
|
49
|
+
"@vaadin/vaadin-material-styles": "24.6.0-alpha3",
|
|
50
|
+
"@vaadin/vaadin-themable-mixin": "24.6.0-alpha3",
|
|
51
51
|
"lit": "^3.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@vaadin/chai-plugins": "24.6.0-
|
|
54
|
+
"@vaadin/chai-plugins": "24.6.0-alpha3",
|
|
55
55
|
"@vaadin/testing-helpers": "^1.0.0",
|
|
56
56
|
"sinon": "^18.0.0"
|
|
57
57
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "f917e587caaf86b3d55598233811409b0f34ff69"
|
|
64
64
|
}
|
|
@@ -508,7 +508,7 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
508
508
|
if (!this.singleCellEdit && nextCell !== cell) {
|
|
509
509
|
this._startEdit(nextCell, nextColumn);
|
|
510
510
|
} else {
|
|
511
|
-
this.
|
|
511
|
+
this.__ensureFlatIndexInViewport(nextIndex);
|
|
512
512
|
nextCell.focus();
|
|
513
513
|
}
|
|
514
514
|
}
|
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.6.0-
|
|
4
|
+
"version": "24.6.0-alpha3",
|
|
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.6.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.6.0-alpha3/#/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.6.0-alpha3/#/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.6.0-alpha3/#/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.6.0-alpha3/#/elements/vaadin-select).",
|
|
405
405
|
"attributes": [
|
|
406
406
|
{
|
|
407
407
|
"name": "size",
|
|
@@ -685,6 +685,17 @@
|
|
|
685
685
|
]
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
|
+
{
|
|
689
|
+
"name": "isItemSelectable",
|
|
690
|
+
"description": "A function to check whether a specific item in the grid may be\nselected or deselected by the user. Used by the selection column to\nconditionally enable to disable checkboxes for individual items. This\nfunction does not prevent programmatic selection/deselection of\nitems. Changing the function does not modify the currently selected\nitems.\n\nConfiguring this function hides the select all checkbox of the grid\nselection column, which means users can not select or deselect all\nitems anymore, nor do they get feedback on whether all items are\nselected or not.\n\nReceives an item instance and should return a boolean indicating\nwhether users may change the selection state of that item.",
|
|
691
|
+
"value": {
|
|
692
|
+
"type": [
|
|
693
|
+
"Function",
|
|
694
|
+
"null",
|
|
695
|
+
"undefined"
|
|
696
|
+
]
|
|
697
|
+
}
|
|
698
|
+
},
|
|
688
699
|
{
|
|
689
700
|
"name": "multiSort",
|
|
690
701
|
"description": "When `true`, all `<vaadin-grid-sorter>` are applied for sorting.",
|
|
@@ -893,6 +904,10 @@
|
|
|
893
904
|
"name": "data-provider-changed",
|
|
894
905
|
"description": "Fired when the `dataProvider` property changes."
|
|
895
906
|
},
|
|
907
|
+
{
|
|
908
|
+
"name": "is-item-selectable-changed",
|
|
909
|
+
"description": "Fired when the `isItemSelectable` property changes."
|
|
910
|
+
},
|
|
896
911
|
{
|
|
897
912
|
"name": "enter-next-row-changed",
|
|
898
913
|
"description": "Fired when the `enterNextRow` property changes."
|
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.6.0-
|
|
4
|
+
"version": "24.6.0-alpha3",
|
|
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.6.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.6.0-alpha3/#/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.6.0-alpha3/#/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.6.0-alpha3/#/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.6.0-alpha3/#/elements/vaadin-select).",
|
|
181
181
|
"extension": true,
|
|
182
182
|
"attributes": [
|
|
183
183
|
{
|
|
@@ -320,6 +320,13 @@
|
|
|
320
320
|
"kind": "expression"
|
|
321
321
|
}
|
|
322
322
|
},
|
|
323
|
+
{
|
|
324
|
+
"name": ".isItemSelectable",
|
|
325
|
+
"description": "A function to check whether a specific item in the grid may be\nselected or deselected by the user. Used by the selection column to\nconditionally enable to disable checkboxes for individual items. This\nfunction does not prevent programmatic selection/deselection of\nitems. Changing the function does not modify the currently selected\nitems.\n\nConfiguring this function hides the select all checkbox of the grid\nselection column, which means users can not select or deselect all\nitems anymore, nor do they get feedback on whether all items are\nselected or not.\n\nReceives an item instance and should return a boolean indicating\nwhether users may change the selection state of that item.",
|
|
326
|
+
"value": {
|
|
327
|
+
"kind": "expression"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
323
330
|
{
|
|
324
331
|
"name": ".multiSortPriority",
|
|
325
332
|
"description": "Controls how columns are added to the sort order when using multi-sort.\nThe sort order is visually indicated by numbers in grid sorters placed in column headers.\n\nBy default, whenever an unsorted column is sorted, or the sort-direction of a column is\nchanged, that column gets sort priority 1, thus affecting the priority for all the other\nsorted columns. This is identical to using `multi-sort-priority=\"prepend\"`.\n\nUsing this property allows to change this behavior so that sorting an unsorted column\nwould add it to the \"end\" of the sort, and changing column's sort direction would retain\nit's previous priority. To set this, use `multi-sort-priority=\"append\"`.",
|
|
@@ -467,6 +474,13 @@
|
|
|
467
474
|
"kind": "expression"
|
|
468
475
|
}
|
|
469
476
|
},
|
|
477
|
+
{
|
|
478
|
+
"name": "@is-item-selectable-changed",
|
|
479
|
+
"description": "Fired when the `isItemSelectable` property changes.",
|
|
480
|
+
"value": {
|
|
481
|
+
"kind": "expression"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
470
484
|
{
|
|
471
485
|
"name": "@enter-next-row-changed",
|
|
472
486
|
"description": "Fired when the `enterNextRow` property changes.",
|