x-essential-lib 0.5.47 → 0.5.49
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -221,7 +221,7 @@ function je(e, a) {
|
|
|
221
221
|
const t = "single-spa-application:" + e, l = (o = document.getElementById(t)) == null ? void 0 : o.classList;
|
|
222
222
|
l && (l.remove("app-left", "app-right", "app-reset"), a ? l.add("app-left") : l.add("app-right"), setTimeout(() => {
|
|
223
223
|
l.add("app-reset");
|
|
224
|
-
},
|
|
224
|
+
}, 1));
|
|
225
225
|
}
|
|
226
226
|
let te = Date.now();
|
|
227
227
|
function ce() {
|
|
@@ -412,7 +412,7 @@ function D(e, a) {
|
|
|
412
412
|
}
|
|
413
413
|
if (console.info(`~~~~routeChange~~~~ ${a} -> ${e}`), !o)
|
|
414
414
|
return;
|
|
415
|
-
const n = l.app === o.app, r = l.path === o.path, c = l.level >=
|
|
415
|
+
const n = l.app === o.app, r = l.path === o.path, c = l.level >= o.level;
|
|
416
416
|
n ? r ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : je(l.app, c);
|
|
417
417
|
}
|
|
418
418
|
function Ee() {
|