yc-vep-ui 0.3.26 → 0.3.28
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,17 +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
|
-
|
|
135
|
-
if (e) return e;
|
|
136
|
-
try {
|
|
137
|
-
let e = window.ELEMENT || window.element;
|
|
138
|
-
if (e?.Message) return e.Message;
|
|
139
|
-
} catch {}
|
|
140
|
-
return {
|
|
134
|
+
return $()?.config?.globalProperties?.$message || (window.$message ? window.$message : {
|
|
141
135
|
error: (e) => console.error("[Message.error]", e),
|
|
142
136
|
success: (e) => console.log("[Message.success]", e),
|
|
143
137
|
warning: (e) => console.warn("[Message.warning]", e)
|
|
144
|
-
};
|
|
138
|
+
});
|
|
145
139
|
}
|
|
146
140
|
};
|
|
147
141
|
//#endregion
|
|
@@ -1577,7 +1571,6 @@ var _n = /* @__PURE__ */ u({
|
|
|
1577
1571
|
},
|
|
1578
1572
|
emits: ["update:modelValue"],
|
|
1579
1573
|
setup(r, { emit: a }) {
|
|
1580
|
-
z.Message.success("提交成功, 即将刷新页面...");
|
|
1581
1574
|
let o = r, s = a, c = o.valueAt ?? "all", u = new Headers({
|
|
1582
1575
|
"Content-Type": "application/json",
|
|
1583
1576
|
"X-Requested-With": "XMLHttpRequest",
|
|
@@ -4427,7 +4420,7 @@ function Ci(e) {
|
|
|
4427
4420
|
...n.query,
|
|
4428
4421
|
instanceId: e
|
|
4429
4422
|
}, r = n.mode === "hash" ? `${window.location.hash.split("?")[0]}?${new URLSearchParams(t).toString()}` : `${window.location.pathname}?${new URLSearchParams(t).toString()}`;
|
|
4430
|
-
window.location.href = r;
|
|
4423
|
+
console.log("newUrl ->>", r), window.location.href = r;
|
|
4431
4424
|
} else z.Message.error(u?.message || "提交失败");
|
|
4432
4425
|
}
|
|
4433
4426
|
async function p(e) {
|
|
@@ -4801,18 +4794,15 @@ var Ti = { key: 0 }, Ei = /* @__PURE__ */ u({
|
|
|
4801
4794
|
UiStaffSelect: Dn,
|
|
4802
4795
|
UiUpload: Nn,
|
|
4803
4796
|
YcApproval: Mi
|
|
4804
|
-
}, zi = null
|
|
4805
|
-
function
|
|
4806
|
-
zi = e
|
|
4797
|
+
}, zi = null;
|
|
4798
|
+
function Bi(e) {
|
|
4799
|
+
zi = e;
|
|
4807
4800
|
}
|
|
4808
4801
|
function $() {
|
|
4809
4802
|
return zi;
|
|
4810
4803
|
}
|
|
4811
|
-
var
|
|
4812
|
-
t?.elementPlus &&
|
|
4813
|
-
...e,
|
|
4814
|
-
h: f
|
|
4815
|
-
};
|
|
4804
|
+
var Vi = { install(e, t) {
|
|
4805
|
+
t?.elementPlus && t.elementPlus.install(e), zi ||= e;
|
|
4816
4806
|
for (let [t, n] of Object.entries(Ri)) {
|
|
4817
4807
|
let r = n?.default || n;
|
|
4818
4808
|
if (r && (typeof r == "function" || typeof r == "object")) {
|
|
@@ -4826,4 +4816,4 @@ var Hi = { install(e, t) {
|
|
|
4826
4816
|
for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
|
|
4827
4817
|
} };
|
|
4828
4818
|
//#endregion
|
|
4829
|
-
export { fe as C, z as S, Jt as _, xi as a, kt as b, Kn as c, Bn as d, Nn as f, nn as g, cn as h, Mi as i, qn as l, fn as m,
|
|
4819
|
+
export { fe as C, z as S, Jt as _, xi as a, kt as b, Kn as c, Bn as d, Nn as f, nn as g, cn as h, Mi as i, qn as l, fn as m, Bi as n, bi as o, Dn as p, Vi as r, Yn as s, $ as t, Un as u, zt as v, Ne as x, Ft as y };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, l as n, o as r, s as i, u as a } from "../entry-D2gcJWEM.js";
|
|
2
2
|
export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r 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, f as a, g as o, h as s, i as c, m as l, n as u, p as d, r as f, t as p, v as m, x as h, y as g } from "./entry-
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, f as a, g as o, h as s, i as c, m as l, n as u, p as d, r as f, t as p, v as m, x as h, y as g } from "./entry-D2gcJWEM.js";
|
|
2
2
|
export { t as El, e as UiCard, s as UiDescriptions, l as UiDialog, m as UiEditor, i as UiFilter, g as UiForm, o as UiInfiniteScroll, d as UiStaffSelect, h as UiTable, n as UiTree, a as UiUpload, c as YcApproval, f as default, f as ycPlugin, p as getHostVue, r as hooks, u as setHostVue };
|