@morghulis/core 1.0.60 → 1.0.62
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/morghulis-core.es.js +13 -9
- package/dist/morghulis-core.es.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/lib/index.d.ts +2 -1
- package/dist/types/lib/install.d.ts +1 -1
- package/dist/types/types.d.ts +1 -0
- package/dist/types/widgets/feedbacks/dialog/MDialog.vue.d.ts +1 -1
- package/dist/types/widgets/wrap/MShrink.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4675,7 +4675,7 @@ function Bp() {
|
|
|
4675
4675
|
}
|
|
4676
4676
|
function Lp(e) {
|
|
4677
4677
|
let t = localStorage.getItem("CLIENT");
|
|
4678
|
-
t || (t = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", t));
|
|
4678
|
+
t || (t = gt().replace(/-/g, "_"), localStorage.setItem("CLIENT", t)), console.log("socket:", e);
|
|
4679
4679
|
const n = `${e}${t}/`;
|
|
4680
4680
|
let o = x("DISCONNECTED");
|
|
4681
4681
|
const { data: l, open: s } = Yu(n, {
|
|
@@ -4685,7 +4685,8 @@ function Lp(e) {
|
|
|
4685
4685
|
retries: 5,
|
|
4686
4686
|
delay: 1e3,
|
|
4687
4687
|
onFailed: () => o.value = "DISCONNECTED"
|
|
4688
|
-
}
|
|
4688
|
+
},
|
|
4689
|
+
onError: (a, r) => console.log(r)
|
|
4689
4690
|
});
|
|
4690
4691
|
return { data: l, open: s, status: o };
|
|
4691
4692
|
}
|
|
@@ -7769,12 +7770,15 @@ function Je(e) {
|
|
|
7769
7770
|
const n = e.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), o = decodeURIComponent(atob(n).split("").map((l) => "%" + ("00" + l.charCodeAt(0).toString(16)).slice(-2)).join(""));
|
|
7770
7771
|
return JSON.parse(o);
|
|
7771
7772
|
}
|
|
7772
|
-
const br = (e
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7773
|
+
const br = (e) => {
|
|
7774
|
+
const t = "/api/", n = e?.wssURL || t;
|
|
7775
|
+
return {
|
|
7776
|
+
install(o) {
|
|
7777
|
+
const { hub: l, connection: s } = zp(n);
|
|
7778
|
+
o.provide("baseURL", t), o.provide("channel-hub", l), o.provide("connection", s);
|
|
7779
|
+
}
|
|
7780
|
+
};
|
|
7781
|
+
}, Bt = /* @__PURE__ */ Ds("user", {
|
|
7778
7782
|
state: () => ({
|
|
7779
7783
|
token: "",
|
|
7780
7784
|
name: null,
|
|
@@ -21810,7 +21814,7 @@ const Zh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
21810
21814
|
useXlsx: Ut
|
|
21811
21815
|
}, Symbol.toStringTag, { value: "Module" })), Sv = (e) => ({
|
|
21812
21816
|
install(t) {
|
|
21813
|
-
Jh(t, e), nc(e?.icons), t.provide("message", kr), t.use(br(e
|
|
21817
|
+
Jh(t, e), nc(e?.icons), t.provide("message", kr), t.use(br(e)), Object.values(Zh).forEach((n) => {
|
|
21814
21818
|
const o = n.__name;
|
|
21815
21819
|
o && t.component(o, n);
|
|
21816
21820
|
});
|