cimos7-vue3-common 0.4.7 → 0.4.8

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.
@@ -30720,9 +30720,9 @@ const ABe = ["onClick", "onContextmenu"], DBe = ["title"], PBe = ["onClick"], RB
30720
30720
  currentIndex: 0
30721
30721
  }), W = (te) => {
30722
30722
  var ee, I;
30723
- return (ee = te.meta) != null && ee.name ? te.meta.name : (I = te.meta) != null && I.renderName ? te.meta.renderName({ path: te.path, query: te.query }) : te.path;
30724
- }, x = (te) => te.fullPath.replace(/\//g, "_").replace(/\?/g, "_").replace(/&/g, "_").replace(/=/g, "_"), B = (te) => {
30725
- if (console.log("route:"), console.log(te), te && (te.fullPath === "/" || te.path === "/"))
30723
+ return te ? (ee = te.meta) != null && ee.name ? te.meta.name : (I = te.meta) != null && I.renderName ? te.meta.renderName({ path: te.path, query: te.query }) : te.path || "" : "";
30724
+ }, x = (te) => !te || !te.fullPath ? "" : te.fullPath.replace(/\//g, "_").replace(/\?/g, "_").replace(/&/g, "_").replace(/=/g, "_"), B = (te) => {
30725
+ if (!te || te.fullPath === "/" || te.path === "/")
30726
30726
  return;
30727
30727
  const ee = W(te), I = x(te);
30728
30728
  w.value.find((be) => be.path === te.fullPath) || w.value.push({
@@ -30763,11 +30763,11 @@ const ABe = ["onClick", "onContextmenu"], DBe = ["title"], PBe = ["onClick"], RB
30763
30763
  b.value.visible && p();
30764
30764
  };
30765
30765
  wl(() => {
30766
- B(f), document.addEventListener("click", $);
30766
+ f && B(f), document.addEventListener("click", $);
30767
30767
  }), v7(() => {
30768
30768
  document.removeEventListener("click", $);
30769
- }), un(() => f.fullPath, () => {
30770
- B(f);
30769
+ }), un(() => f == null ? void 0 : f.fullPath, () => {
30770
+ f && B(f);
30771
30771
  }, { immediate: !0 });
30772
30772
  const G = ve(() => w.value.map((te) => te.cacheKey));
30773
30773
  return r({
@@ -30900,7 +30900,7 @@ const ABe = ["onClick", "onContextmenu"], DBe = ["title"], PBe = ["onClick"], RB
30900
30900
  };
30901
30901
  }
30902
30902
  }));
30903
- const iZ = /* @__PURE__ */ dN($Be, [["__scopeId", "data-v-cf983e0e"]]);
30903
+ const iZ = /* @__PURE__ */ dN($Be, [["__scopeId", "data-v-5beab1a8"]]);
30904
30904
  iZ.install = (e) => {
30905
30905
  e.component(iZ.name, iZ);
30906
30906
  };