@vaadin/grid-pro 23.0.8 → 23.0.11
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-column.js +5 -5
- package/src/vaadin-grid-pro-edit-select.js +4 -4
- package/src/vaadin-grid-pro-inline-editing-mixin.d.ts +1 -1
- package/src/vaadin-grid-pro-inline-editing-mixin.js +12 -12
- package/src/vaadin-grid-pro.d.ts +2 -2
- package/theme/lumo/vaadin-grid-pro-edit-select-styles.js +1 -1
- package/theme/lumo/vaadin-grid-pro-edit-text-field-styles.js +1 -1
- package/theme/lumo/vaadin-grid-pro-styles.js +1 -1
- package/theme/material/vaadin-grid-pro-edit-select-styles.js +1 -1
- package/theme/material/vaadin-grid-pro-edit-text-field-styles.js +1 -1
- package/theme/material/vaadin-grid-pro-styles.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/grid-pro",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/checkbox": "^23.0.
|
|
39
|
-
"@vaadin/component-base": "^23.0.
|
|
40
|
-
"@vaadin/grid": "^23.0.
|
|
41
|
-
"@vaadin/item": "^23.0.
|
|
42
|
-
"@vaadin/list-box": "^23.0.
|
|
43
|
-
"@vaadin/select": "^23.0.
|
|
44
|
-
"@vaadin/text-field": "^23.0.
|
|
38
|
+
"@vaadin/checkbox": "^23.0.11",
|
|
39
|
+
"@vaadin/component-base": "^23.0.11",
|
|
40
|
+
"@vaadin/grid": "^23.0.11",
|
|
41
|
+
"@vaadin/item": "^23.0.11",
|
|
42
|
+
"@vaadin/list-box": "^23.0.11",
|
|
43
|
+
"@vaadin/select": "^23.0.11",
|
|
44
|
+
"@vaadin/text-field": "^23.0.11",
|
|
45
45
|
"@vaadin/vaadin-license-checker": "^2.1.0",
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
47
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
48
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
46
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.11",
|
|
47
|
+
"@vaadin/vaadin-material-styles": "^23.0.11",
|
|
48
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.11"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@esm-bundle/chai": "^4.3.4",
|
|
52
|
-
"@vaadin/date-picker": "^23.0.
|
|
53
|
-
"@vaadin/dialog": "^23.0.
|
|
54
|
-
"@vaadin/polymer-legacy-adapter": "^23.0.
|
|
52
|
+
"@vaadin/date-picker": "^23.0.11",
|
|
53
|
+
"@vaadin/dialog": "^23.0.11",
|
|
54
|
+
"@vaadin/polymer-legacy-adapter": "^23.0.11",
|
|
55
55
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
56
56
|
"lit": "^2.0.0",
|
|
57
57
|
"sinon": "^9.2.1"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "10838304fe6f5c98b838ec3a90bdcf49cbf4650b"
|
|
60
60
|
}
|
|
@@ -59,7 +59,7 @@ class GridProEditColumn extends GridColumn {
|
|
|
59
59
|
*/
|
|
60
60
|
editorOptions: {
|
|
61
61
|
type: Array,
|
|
62
|
-
value: () => []
|
|
62
|
+
value: () => [],
|
|
63
63
|
},
|
|
64
64
|
|
|
65
65
|
/**
|
|
@@ -75,7 +75,7 @@ class GridProEditColumn extends GridColumn {
|
|
|
75
75
|
editorType: {
|
|
76
76
|
type: String,
|
|
77
77
|
notify: true, // FIXME(web-padawan): needed by Flow counterpart
|
|
78
|
-
value: 'text'
|
|
78
|
+
value: 'text',
|
|
79
79
|
},
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -85,7 +85,7 @@ class GridProEditColumn extends GridColumn {
|
|
|
85
85
|
*/
|
|
86
86
|
editorValuePath: {
|
|
87
87
|
type: String,
|
|
88
|
-
value: 'value'
|
|
88
|
+
value: 'value',
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -93,11 +93,11 @@ class GridProEditColumn extends GridColumn {
|
|
|
93
93
|
*/
|
|
94
94
|
path: {
|
|
95
95
|
type: String,
|
|
96
|
-
observer: '_pathChanged'
|
|
96
|
+
observer: '_pathChanged',
|
|
97
97
|
},
|
|
98
98
|
|
|
99
99
|
/** @private */
|
|
100
|
-
_oldRenderer: Function
|
|
100
|
+
_oldRenderer: Function,
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -23,16 +23,16 @@ class GridProEditSelect extends Select {
|
|
|
23
23
|
return {
|
|
24
24
|
options: {
|
|
25
25
|
type: Array,
|
|
26
|
-
value: () => []
|
|
26
|
+
value: () => [],
|
|
27
27
|
},
|
|
28
28
|
|
|
29
29
|
_grid: {
|
|
30
|
-
type: Object
|
|
30
|
+
type: Object,
|
|
31
31
|
},
|
|
32
32
|
|
|
33
33
|
_initialized: {
|
|
34
|
-
type: Boolean
|
|
35
|
-
}
|
|
34
|
+
type: Boolean,
|
|
35
|
+
},
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -22,7 +22,7 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
22
22
|
*/
|
|
23
23
|
enterNextRow: {
|
|
24
24
|
type: Boolean,
|
|
25
|
-
notify: true // FIXME(yuriy-fix): needed by Flow counterpart
|
|
25
|
+
notify: true, // FIXME(yuriy-fix): needed by Flow counterpart
|
|
26
26
|
},
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -35,7 +35,7 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
35
35
|
*/
|
|
36
36
|
singleCellEdit: {
|
|
37
37
|
type: Boolean,
|
|
38
|
-
notify: true // FIXME(yuriy-fix): needed by Flow counterpart
|
|
38
|
+
notify: true, // FIXME(yuriy-fix): needed by Flow counterpart
|
|
39
39
|
},
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -44,13 +44,13 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
44
44
|
* @attr {boolean} edit-on-click
|
|
45
45
|
*/
|
|
46
46
|
editOnClick: {
|
|
47
|
-
type: Boolean
|
|
47
|
+
type: Boolean,
|
|
48
48
|
},
|
|
49
49
|
|
|
50
50
|
/** @private */
|
|
51
51
|
_editingDisabled: {
|
|
52
|
-
type: Boolean
|
|
53
|
-
}
|
|
52
|
+
type: Boolean,
|
|
53
|
+
},
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -296,7 +296,7 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
296
296
|
if (edited) {
|
|
297
297
|
// detect focus moving to e.g. vaadin-select-overlay
|
|
298
298
|
const overlay = Array.from(e.composedPath()).filter(
|
|
299
|
-
(node) => node.nodeType === Node.ELEMENT_NODE && /^vaadin-(?!dialog).*-overlay$/i.test(node.localName)
|
|
299
|
+
(node) => node.nodeType === Node.ELEMENT_NODE && /^vaadin-(?!dialog).*-overlay$/i.test(node.localName),
|
|
300
300
|
)[0];
|
|
301
301
|
|
|
302
302
|
if (overlay) {
|
|
@@ -326,10 +326,10 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
326
326
|
detail: {
|
|
327
327
|
index: model.index,
|
|
328
328
|
item: model.item,
|
|
329
|
-
path: column.path
|
|
329
|
+
path: column.path,
|
|
330
330
|
},
|
|
331
|
-
composed: true
|
|
332
|
-
})
|
|
331
|
+
composed: true,
|
|
332
|
+
}),
|
|
333
333
|
);
|
|
334
334
|
this.addEventListener('item-property-changed', this.__boundItemPropertyChanged);
|
|
335
335
|
}
|
|
@@ -363,12 +363,12 @@ export const InlineEditingMixin = (superClass) =>
|
|
|
363
363
|
index: model.index,
|
|
364
364
|
item: model.item,
|
|
365
365
|
path: column.path,
|
|
366
|
-
value: value
|
|
366
|
+
value: value,
|
|
367
367
|
},
|
|
368
368
|
bubbles: true,
|
|
369
369
|
cancelable: true,
|
|
370
|
-
composed: true
|
|
371
|
-
})
|
|
370
|
+
composed: true,
|
|
371
|
+
}),
|
|
372
372
|
);
|
|
373
373
|
}
|
|
374
374
|
}
|
package/src/vaadin-grid-pro.d.ts
CHANGED
|
@@ -74,13 +74,13 @@ declare class GridPro<TItem = GridDefaultItem> extends Grid<TItem> {
|
|
|
74
74
|
addEventListener<K extends keyof GridProEventMap<TItem>>(
|
|
75
75
|
type: K,
|
|
76
76
|
listener: (this: GridPro<TItem>, ev: GridProEventMap<TItem>[K]) => void,
|
|
77
|
-
options?: boolean | AddEventListenerOptions
|
|
77
|
+
options?: boolean | AddEventListenerOptions,
|
|
78
78
|
): void;
|
|
79
79
|
|
|
80
80
|
removeEventListener<K extends keyof GridProEventMap<TItem>>(
|
|
81
81
|
type: K,
|
|
82
82
|
listener: (this: GridPro<TItem>, ev: GridProEventMap<TItem>[K]) => void,
|
|
83
|
-
options?: boolean | EventListenerOptions
|
|
83
|
+
options?: boolean | EventListenerOptions,
|
|
84
84
|
): void;
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -2,5 +2,5 @@ import { registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mi
|
|
|
2
2
|
import { gridProEditor } from './vaadin-grid-pro-editor-styles.js';
|
|
3
3
|
|
|
4
4
|
registerStyles('vaadin-grid-pro-edit-text-field', gridProEditor, {
|
|
5
|
-
moduleId: 'lumo-grid-pro-edit-text-field'
|
|
5
|
+
moduleId: 'lumo-grid-pro-edit-text-field',
|
|
6
6
|
});
|
|
@@ -2,5 +2,5 @@ import { registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mi
|
|
|
2
2
|
import { gridProEditor } from './vaadin-grid-pro-editor-styles.js';
|
|
3
3
|
|
|
4
4
|
registerStyles('vaadin-grid-pro-edit-text-field', gridProEditor, {
|
|
5
|
-
moduleId: 'material-grid-pro-edit-text-field'
|
|
5
|
+
moduleId: 'material-grid-pro-edit-text-field',
|
|
6
6
|
});
|