@luigi-project/core-modular 0.0.13 → 0.0.14-dev.202608130036
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/luigi.js +5 -5
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -6463,15 +6463,15 @@ function ci(e, t) {
|
|
|
6463
6463
|
if (e.updateViewUrl = (e, t) => {
|
|
6464
6464
|
e?.length && Zr.updateViewUrl(e, ai.resolveContext(s()), t, ne);
|
|
6465
6465
|
}, te() && te() != "false") {
|
|
6466
|
-
e.getNoShadow() ? e.innerHTML = "" : (rn(re, I(re).innerHTML = ""), e.attachShadow({ mode: "open" }).append(I(re)))
|
|
6466
|
+
e.getNoShadow() ? e.innerHTML = "" : (rn(re, I(re).innerHTML = ""), e.attachShadow({ mode: "open" }).append(I(re))), x() || (e.getNoShadow() ? e : I(re)).addEventListener("wc_ready", () => {
|
|
6467
|
+
(e.getNoShadow() ? e : I(re))._luigi_mfe_webcomponent?.deferLuigiClientWCInit || (e.initialized = !0, oe.dispatchLuigiEvent(V.INITIALIZED, {}));
|
|
6468
|
+
});
|
|
6467
6469
|
let n = ai.checkWebcomponentValue(te());
|
|
6468
6470
|
oe.renderWebComponent(ee(), e.getNoShadow() ? e : I(re), t, typeof n == "object" ? { webcomponent: n } : {});
|
|
6469
6471
|
} else e.getNoShadow() || (e.innerHTML = "", e.attachShadow({ mode: "open" }).append(I(re)));
|
|
6470
|
-
x()
|
|
6472
|
+
x() && (e.initialized = !0, setTimeout(() => {
|
|
6471
6473
|
oe.dispatchLuigiEvent(V.INITIALIZED, {});
|
|
6472
|
-
}))
|
|
6473
|
-
(e.getNoShadow() ? e : I(re))._luigi_mfe_webcomponent?.deferLuigiClientWCInit || (e.initialized = !0, oe.dispatchLuigiEvent(V.INITIALIZED, {}));
|
|
6474
|
-
}), te() && te() !== "false" || setTimeout(() => {
|
|
6474
|
+
})), te() && te() !== "false" || setTimeout(() => {
|
|
6475
6475
|
ue();
|
|
6476
6476
|
}), e.containerInitialized = !0, an(ie, !0);
|
|
6477
6477
|
}
|