@web-widget/vue 0.12.2 → 0.12.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/dist/vue.client.js +4 -3
- package/dist/vue.server.js +4 -3
- package/package.json +1 -1
package/dist/vue.client.js
CHANGED
|
@@ -103,10 +103,11 @@ var WebWidget = /* @__PURE__ */ defineComponent({
|
|
|
103
103
|
const attrs = widget.attributes;
|
|
104
104
|
const innerHTML = await widget.renderInnerHTMLToString();
|
|
105
105
|
if (IS_BROWSER) {
|
|
106
|
+
await customElements.whenDefined(tag);
|
|
106
107
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
const data = attrs.data;
|
|
109
|
+
delete attrs.data;
|
|
110
|
+
return () => h(tag, __spreadProps(__spreadValues(__spreadValues({}, attrs), IS_BROWSER ? { "^data": data } : { data }), {
|
|
110
111
|
innerHTML
|
|
111
112
|
}));
|
|
112
113
|
}
|
package/dist/vue.server.js
CHANGED
|
@@ -104,10 +104,11 @@ var WebWidget = /* @__PURE__ */ defineComponent({
|
|
|
104
104
|
const attrs = widget.attributes;
|
|
105
105
|
const innerHTML = await widget.renderInnerHTMLToString();
|
|
106
106
|
if (IS_BROWSER) {
|
|
107
|
+
await customElements.whenDefined(tag);
|
|
107
108
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
const data = attrs.data;
|
|
110
|
+
delete attrs.data;
|
|
111
|
+
return () => h(tag, __spreadProps(__spreadValues(__spreadValues({}, attrs), IS_BROWSER ? { "^data": data } : { data }), {
|
|
111
112
|
innerHTML
|
|
112
113
|
}));
|
|
113
114
|
}
|