yc-vep-ui 0.3.28 → 0.3.30
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.
|
@@ -131,11 +131,11 @@ var le = Object.defineProperty, L = (e, t) => {
|
|
|
131
131
|
return $()?.resolveComponent?.("el-descriptions-item") || "el-descriptions-item";
|
|
132
132
|
},
|
|
133
133
|
get Message() {
|
|
134
|
-
return
|
|
134
|
+
return Vi() || {
|
|
135
135
|
error: (e) => console.error("[Message.error]", e),
|
|
136
136
|
success: (e) => console.log("[Message.success]", e),
|
|
137
137
|
warning: (e) => console.warn("[Message.warning]", e)
|
|
138
|
-
}
|
|
138
|
+
};
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
//#endregion
|
|
@@ -4420,7 +4420,9 @@ function Ci(e) {
|
|
|
4420
4420
|
...n.query,
|
|
4421
4421
|
instanceId: e
|
|
4422
4422
|
}, r = n.mode === "hash" ? `${window.location.hash.split("?")[0]}?${new URLSearchParams(t).toString()}` : `${window.location.pathname}?${new URLSearchParams(t).toString()}`;
|
|
4423
|
-
|
|
4423
|
+
setTimeout(() => {
|
|
4424
|
+
window.location.href = r, window.location.reload();
|
|
4425
|
+
}, 1500);
|
|
4424
4426
|
} else z.Message.error(u?.message || "提交失败");
|
|
4425
4427
|
}
|
|
4426
4428
|
async function p(e) {
|
|
@@ -4801,8 +4803,11 @@ function Bi(e) {
|
|
|
4801
4803
|
function $() {
|
|
4802
4804
|
return zi;
|
|
4803
4805
|
}
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
+
function Vi() {
|
|
4807
|
+
return zi?.config?.globalProperties?.$message ? zi.config.globalProperties.$message : null;
|
|
4808
|
+
}
|
|
4809
|
+
var Hi = { install(e, t) {
|
|
4810
|
+
zi ||= e, t?.elementPlus && t.elementPlus.install(e);
|
|
4806
4811
|
for (let [t, n] of Object.entries(Ri)) {
|
|
4807
4812
|
let r = n?.default || n;
|
|
4808
4813
|
if (r && (typeof r == "function" || typeof r == "object")) {
|
|
@@ -4816,4 +4821,4 @@ var Vi = { install(e, t) {
|
|
|
4816
4821
|
for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
|
|
4817
4822
|
} };
|
|
4818
4823
|
//#endregion
|
|
4819
|
-
export {
|
|
4824
|
+
export { z as C, Ne as S, nn as _, Mi as a, Ft as b, Yn as c, Un as d, Bn as f, cn as g, fn as h, Hi as i, Kn as l, Dn as m, Vi as n, xi as o, Nn as p, Bi as r, bi as s, $ as t, qn as u, Jt as v, fe as w, kt as x, zt as y };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t,
|
|
2
|
-
export {
|
|
1
|
+
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-BWdu81ps.js";
|
|
2
|
+
export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as e, S as t, _ as n, a as r, b as i,
|
|
2
|
-
export {
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, g as a, h as o, i as s, m as c, n as l, o as u, p as d, r as f, t as p, v as m, w as h, x as g, y as _ } from "./entry-BWdu81ps.js";
|
|
2
|
+
export { e as El, h as UiCard, a as UiDescriptions, o as UiDialog, _ as UiEditor, g as UiFilter, i as UiForm, n as UiInfiniteScroll, c as UiStaffSelect, t as UiTable, m as UiTree, d as UiUpload, r as YcApproval, s as default, s as ycPlugin, p as getHostVue, l as getMessage, u as hooks, f as setHostVue };
|