@luigi-project/core-modular 0.0.12-dev.20260860043 → 0.0.12-dev.20260870125
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 +12 -9
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -8906,16 +8906,19 @@ var fi = {
|
|
|
8906
8906
|
t.getEngine()._connector?.hideLoadingIndicator(c);
|
|
8907
8907
|
let l = n?.nodeParams || {}, u = n?.pathParams || {}, d = n?.searchParams || {};
|
|
8908
8908
|
if (e && c) {
|
|
8909
|
-
let o, f;
|
|
8910
|
-
(e.virtualTree || e._virtualTree) && (
|
|
8911
|
-
let
|
|
8909
|
+
let o, f, p;
|
|
8910
|
+
(e.virtualTree || e._virtualTree) && (p = H.findVirtualTreeRootNode(e));
|
|
8911
|
+
let m = e.viewUrl ? W.get(Ci).applyDecorators(U.substituteViewUrl(e, u, l, t), e.decodeViewUrl ?? !1) : "";
|
|
8912
8912
|
if ([...c.childNodes].forEach((n) => {
|
|
8913
|
-
if (n.tagName?.indexOf("LUIGI-") === 0) if (n.viewGroup && e.viewGroup !== n.viewGroup) {
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8913
|
+
if (n.tagName?.indexOf("LUIGI-") === 0) if (r && (o = n), n.viewGroup && e.viewGroup !== n.viewGroup) {
|
|
8914
|
+
if (!r) {
|
|
8915
|
+
n.style.display = "none";
|
|
8916
|
+
let e = t.getConfigValue("navigation.viewGroupSettings")?.[n.viewGroup];
|
|
8917
|
+
e?.preloadUrl && (n.viewurl = e.preloadUrl, n.context = {}, n.nodeParams = {}, n.pathParams = {});
|
|
8918
|
+
}
|
|
8919
|
+
} else n.viewGroup || n.virtualTree && p === n.virtualTreeRootNode || !e.viewGroup && !e.isolateView && !e.webcomponent && n.viewurl && m && a.isSameUrl(n.viewurl, m) ? f = n : r || n.remove();
|
|
8920
|
+
}), f && f._luigiPreloading && (f._luigiPreloading = !1, W.get(bi).viewGroupLoaded(f)), f) r || (f.style.display = "block", f.viewurl = m, f.nodeParams = l, f.pathParams = u, f.clientPermissions = e.clientPermissions, f.searchParams = d, f.locale = t.i18n().getCurrentLocale(), f.theme = t.theming().getCurrentTheme(), f.activeFeatureToggleList = t.featureToggles().getActiveFeatureToggleList(), f.userSettingsGroup = e.userSettingsGroup, f.userSettings = s, Ti(f, t), Ei(f, t)), i || f.updateContext(e.context || {}, { withoutSync: !1 });
|
|
8921
|
+
else if (r) !i && o && o.updateContext(e.context || {}, { withoutSync: r });
|
|
8919
8922
|
else {
|
|
8920
8923
|
let r = await wi(e, t, n, "main");
|
|
8921
8924
|
c?.appendChild(r);
|