x-essential-lib 0.5.43 → 0.5.44

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { useRouter as ne, useRoute as Ce } from "vue-router";
7
7
  const Y = le(
8
8
  "global",
9
9
  () => {
10
- const e = H(), a = i(), t = i("en"), l = i({}), o = i(""), r = i("/");
10
+ const e = H(), a = i(), t = i("en"), l = i({}), o = i(""), r = i("");
11
11
  return N(
12
12
  a,
13
13
  () => {
@@ -218,10 +218,6 @@ async function Z(e, a, t) {
218
218
  }
219
219
  function Ae(e, a) {
220
220
  var o;
221
- if (!window.appAppear) {
222
- window.appAppear = !0;
223
- return;
224
- }
225
221
  const t = "single-spa-application:" + e, l = (o = document.getElementById(t)) == null ? void 0 : o.classList;
226
222
  l && (l.remove("app-left", "app-right", "app-reset"), a ? l.add("app-left") : l.add("app-right"), setTimeout(() => {
227
223
  l.add("app-reset");
@@ -412,7 +408,7 @@ function D(e, a) {
412
408
  const l = z(e), o = z(a), r = (l == null ? void 0 : l.app) === (o == null ? void 0 : o.app), n = (l == null ? void 0 : l.path) === (o == null ? void 0 : o.path), c = ((l == null ? void 0 : l.level) ?? -1) >= ((o == null ? void 0 : o.level) ?? -1);
413
409
  console.info(
414
410
  `~~~~before route change~~~~ ${a} -> ${e} inner=${r} forward=${c}`
415
- ), r ? n ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : l && Ae(l.app, c);
411
+ ), r ? n ? oe.value = "" : oe.value = c ? "inner-left" : "inner-right" : l && Ae(l.app, c), t.lastAppPath = "";
416
412
  }
417
413
  function Ee() {
418
414
  return !!R.get("accessToken");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.5.43",
4
+ "version": "0.5.44",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",