yc-vep-ui 0.3.26 → 0.3.27

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
- let e = $()?.config?.globalProperties?.$message;
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
@@ -4801,18 +4795,15 @@ var Ti = { key: 0 }, Ei = /* @__PURE__ */ u({
4801
4795
  UiStaffSelect: Dn,
4802
4796
  UiUpload: Nn,
4803
4797
  YcApproval: Mi
4804
- }, zi = null, Bi = null;
4805
- function Vi(e) {
4806
- zi = e, e?.config?.globalProperties && Bi && (e.config.globalProperties.$message = Bi.ElMessage);
4798
+ }, zi = null;
4799
+ function Bi(e) {
4800
+ zi = e;
4807
4801
  }
4808
4802
  function $() {
4809
4803
  return zi;
4810
4804
  }
4811
- var Hi = { install(e, t) {
4812
- t?.elementPlus && (t.elementPlus.install(e), Bi = t.elementPlus, e.config.globalProperties.$message = t.elementPlus.ElMessage), zi ||= {
4813
- ...e,
4814
- h: f
4815
- };
4805
+ var Vi = { install(e, t) {
4806
+ t?.elementPlus && t.elementPlus.install(e), zi ||= e;
4816
4807
  for (let [t, n] of Object.entries(Ri)) {
4817
4808
  let r = n?.default || n;
4818
4809
  if (r && (typeof r == "function" || typeof r == "object")) {
@@ -4826,4 +4817,4 @@ var Hi = { install(e, t) {
4826
4817
  for (let [t, n] of Object.entries(Ii)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
4827
4818
  } };
4828
4819
  //#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, Vi as n, bi as o, Dn as p, Hi as r, Yn as s, $ as t, Un as u, zt as v, Ne as x, Ft as y };
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 };
@@ -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-C-wD7Q6S.js";
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
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-C-wD7Q6S.js";
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
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-vep-ui",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
6
6
  "keywords": [