@vaadin/vaadin-grid 5.9.2 → 5.9.3
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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"repository": "vaadin/vaadin-grid",
|
|
16
16
|
"homepage": "https://vaadin.com/components",
|
|
17
17
|
"name": "@vaadin/vaadin-grid",
|
|
18
|
-
"version": "5.9.
|
|
18
|
+
"version": "5.9.3",
|
|
19
19
|
"main": "vaadin-grid.js",
|
|
20
20
|
"author": "Vaadin Ltd",
|
|
21
21
|
"license": "Apache-2.0",
|
|
@@ -44,16 +44,12 @@
|
|
|
44
44
|
"@vaadin/vaadin-element-mixin": "^2.4.1"
|
|
45
45
|
},
|
|
46
46
|
"resolutions": {
|
|
47
|
-
"@webcomponents/webcomponentsjs": "2.0.0",
|
|
47
|
+
"@webcomponents/webcomponentsjs": "2.0.0",
|
|
48
48
|
"inherits": "2.0.3",
|
|
49
49
|
"samsam": "1.1.3",
|
|
50
50
|
"supports-color": "3.1.2",
|
|
51
51
|
"type-detect": "1.0.0"
|
|
52
52
|
},
|
|
53
|
-
"scripts": {
|
|
54
|
-
"generate-typings": "gen-typescript-declarations --outDir . --verify",
|
|
55
|
-
"test": "wct --npm"
|
|
56
|
-
},
|
|
57
53
|
"devDependencies": {
|
|
58
54
|
"@web-padawan/gen-typescript-declarations": "^1.6.2",
|
|
59
55
|
"web-component-tester": "6.9.2",
|
|
@@ -73,5 +69,9 @@
|
|
|
73
69
|
"@vaadin/vaadin-demo-helpers": "^3.1.0",
|
|
74
70
|
"@webcomponents/webcomponentsjs": "^2.0.0",
|
|
75
71
|
"wct-browser-legacy": "^1.0.1"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"generate-typings": "gen-typescript-declarations --outDir . --verify",
|
|
75
|
+
"test": "wct --npm"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -368,7 +368,9 @@ export const ColumnBaseMixin = superClass => class ColumnBaseMixin extends super
|
|
|
368
368
|
_setFooterTemplateOrRenderer(footerTemplate, footerRenderer, footerCell) {
|
|
369
369
|
if ((footerTemplate || footerRenderer) && footerCell) {
|
|
370
370
|
this.__setColumnTemplateOrRenderer(footerTemplate, footerRenderer, [footerCell]);
|
|
371
|
-
this._grid
|
|
371
|
+
if (this._grid) {
|
|
372
|
+
this._grid.__updateHeaderFooterRowVisibility(footerCell.parentElement);
|
|
373
|
+
}
|
|
372
374
|
}
|
|
373
375
|
}
|
|
374
376
|
|
|
@@ -482,7 +484,7 @@ export const ColumnBaseMixin = superClass => class ColumnBaseMixin extends super
|
|
|
482
484
|
}
|
|
483
485
|
}
|
|
484
486
|
|
|
485
|
-
if (headerCell) {
|
|
487
|
+
if (headerCell && this._grid) {
|
|
486
488
|
this._grid.__updateHeaderFooterRowVisibility(headerCell.parentElement);
|
|
487
489
|
}
|
|
488
490
|
}
|
|
@@ -80,11 +80,7 @@ export const SelectionMixin = superClass => class SelectionMixin extends superCl
|
|
|
80
80
|
|
|
81
81
|
/** @private */
|
|
82
82
|
_selectedItemsChanged(e) {
|
|
83
|
-
|
|
84
|
-
Array.from(this.$.items.children).forEach(row => {
|
|
85
|
-
this._updateItem(row, row._item);
|
|
86
|
-
});
|
|
87
|
-
}
|
|
83
|
+
this._assignModels();
|
|
88
84
|
}
|
|
89
85
|
|
|
90
86
|
/** @private */
|