yc-vep-ui 0.3.27 → 0.3.29

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 $()?.config?.globalProperties?.$message || (window.$message ? window.$message : {
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
@@ -1571,7 +1571,6 @@ var _n = /* @__PURE__ */ u({
1571
1571
  },
1572
1572
  emits: ["update:modelValue"],
1573
1573
  setup(r, { emit: a }) {
1574
- z.Message.success("提交成功, 即将刷新页面...");
1575
1574
  let o = r, s = a, c = o.valueAt ?? "all", u = new Headers({
1576
1575
  "Content-Type": "application/json",
1577
1576
  "X-Requested-With": "XMLHttpRequest",
@@ -4421,7 +4420,7 @@ function Ci(e) {
4421
4420
  ...n.query,
4422
4421
  instanceId: e
4423
4422
  }, r = n.mode === "hash" ? `${window.location.hash.split("?")[0]}?${new URLSearchParams(t).toString()}` : `${window.location.pathname}?${new URLSearchParams(t).toString()}`;
4424
- window.location.href = r;
4423
+ console.log("newUrl ->>>", r), window.location.href = r, window.location.reload();
4425
4424
  } else z.Message.error(u?.message || "提交失败");
4426
4425
  }
4427
4426
  async function p(e) {
@@ -4802,8 +4801,11 @@ function Bi(e) {
4802
4801
  function $() {
4803
4802
  return zi;
4804
4803
  }
4805
- var Vi = { install(e, t) {
4806
- t?.elementPlus && t.elementPlus.install(e), zi ||= e;
4804
+ function Vi() {
4805
+ return zi?.config?.globalProperties?.$message ? zi.config.globalProperties.$message : null;
4806
+ }
4807
+ var Hi = { install(e, t) {
4808
+ zi ||= e, t?.elementPlus && t.elementPlus.install(e);
4807
4809
  for (let [t, n] of Object.entries(Ri)) {
4808
4810
  let r = n?.default || n;
4809
4811
  if (r && (typeof r == "function" || typeof r == "object")) {
@@ -4817,4 +4819,4 @@ var Vi = { install(e, t) {
4817
4819
  for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
4818
4820
  } };
4819
4821
  //#endregion
4820
- 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 };
4822
+ 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 };
@@ -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-CEEhiZj2.js";
2
- export { i as useDictionary, t as useFetch, e as useRoute, n as useRouter, a as useTable, r as useUser };
1
+ import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-D5QzKSB4.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, 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-CEEhiZj2.js";
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 };
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-D5QzKSB4.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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-vep-ui",
3
- "version": "0.3.27",
3
+ "version": "0.3.29",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
6
6
  "keywords": [