@vaadin/polymer-legacy-adapter 23.0.0-alpha1 → 23.0.0-alpha2
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/polymer-legacy-adapter",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-alpha2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@polymer/polymer": "^3.0.0",
|
|
34
|
-
"@vaadin/vaadin-themable-mixin": "23.0.0-
|
|
34
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2",
|
|
35
35
|
"lit": "^2.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@esm-bundle/chai": "^4.3.4",
|
|
39
|
-
"@vaadin/checkbox": "23.0.0-
|
|
40
|
-
"@vaadin/grid": "23.0.0-
|
|
41
|
-
"@vaadin/grid-pro": "23.0.0-
|
|
39
|
+
"@vaadin/checkbox": "23.0.0-alpha2",
|
|
40
|
+
"@vaadin/grid": "23.0.0-alpha2",
|
|
41
|
+
"@vaadin/grid-pro": "23.0.0-alpha2",
|
|
42
42
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
43
43
|
"sinon": "^9.2.4"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
|
|
46
46
|
}
|
|
@@ -94,7 +94,9 @@ export class Templatizer extends PolymerElement {
|
|
|
94
94
|
|
|
95
95
|
/** @private */
|
|
96
96
|
__createTemplateClass(properties) {
|
|
97
|
-
if (this.__TemplateClass)
|
|
97
|
+
if (this.__TemplateClass) {
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
98
100
|
|
|
99
101
|
const instanceProps = Object.keys(properties).reduce((accum, key) => {
|
|
100
102
|
return { ...accum, [key]: true };
|
package/src/template-renderer.js
CHANGED
|
@@ -47,7 +47,6 @@ function processGridTemplate(grid, template) {
|
|
|
47
47
|
if (template.matches('.row-details')) {
|
|
48
48
|
const renderer = createRenderer(grid, template, GridTemplatizer);
|
|
49
49
|
assignRenderer(grid, 'rowDetailsRenderer', renderer);
|
|
50
|
-
return;
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
|
|
@@ -107,7 +106,9 @@ function processTemplates(component) {
|
|
|
107
106
|
}
|
|
108
107
|
|
|
109
108
|
function observeTemplates(component) {
|
|
110
|
-
if (component.__templateObserver)
|
|
109
|
+
if (component.__templateObserver) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
111
112
|
|
|
112
113
|
component.__templateObserver = new FlattenedNodesObserver(component, () => {
|
|
113
114
|
processTemplates(component);
|