@utogether/udp-core 1.0.1-beta.1 → 1.0.1-beta.2

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.
Files changed (65) hide show
  1. package/dist/{403-Dp617CWX.js → 403-BBQoJwTM.js} +1 -1
  2. package/dist/{404-Cz_Axb6Y.js → 404-BbJPSIWM.js} +1 -1
  3. package/dist/{500-BGCtRNse.js → 500-BtFL9R4M.js} +1 -1
  4. package/dist/{AuthorityInfo-DGGfm7IS.js → AuthorityInfo-DhiwCeLN.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Duyweh89.js} +1 -1
  6. package/dist/{Company-IV3GTnzY.js → Company-CGqmslx-.js} +3 -3
  7. package/dist/{CompanyPanel-qV-_VtoL.js → CompanyPanel-hlDsxD-6.js} +1 -1
  8. package/dist/{Department-B3W-OxW8.js → Department-BZyJtacc.js} +3 -3
  9. package/dist/{DepartmentPanel-Cw3OWxE7.js → DepartmentPanel-D-a_EBFt.js} +1 -1
  10. package/dist/{DesignPanel-BFxR2fHJ.js → DesignPanel-Bl4luWDV.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js → DesignPanel.vue_vue_type_style_index_0_lang-I8C3iGvz.js} +2 -2
  12. package/dist/{DictView-C-i7e4hZ.js → DictView-B4a7Hs1X.js} +1 -1
  13. package/dist/{InvOrganization-cfT6riGU.js → InvOrganization-q4T3y8dQ.js} +1 -1
  14. package/dist/{Org-CA7vTDIF.js → Org-BTGTrAVz.js} +1 -1
  15. package/dist/{Preview-BlDMmpdR.js → Preview-pHD84xqI.js} +1 -1
  16. package/dist/{ReportDefine-Cub_85LA.js → ReportDefine-DnnCNQWS.js} +1 -1
  17. package/dist/{ReportDesign-hFhq5UVE.js → ReportDesign-BnI_Q4pg.js} +2 -2
  18. package/dist/{ReportQuery-ChkWEyxT.js → ReportQuery-Dby2MmtM.js} +1 -1
  19. package/dist/{ReportQueryFrom-KVyD_8Dj.js → ReportQueryFrom-Blm1N8P1.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CnG_Ybnt.js} +1 -1
  21. package/dist/{ReportTemplate-ag9NDvh2.js → ReportTemplate-D65RXRY_.js} +1 -1
  22. package/dist/{Role-_q3lQ8CZ.js → Role-eFZoTpXc.js} +3 -3
  23. package/dist/{RoleAssign-DZb9IRsm.js → RoleAssign-D9-Y3UNz.js} +3 -3
  24. package/dist/{RolePanel-CsLsz-Ds.js → RolePanel-CoUOc3sX.js} +1 -1
  25. package/dist/{RolePanel-BQb1LlhD.js → RolePanel-DlFw6HSf.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js → RolePanel.vue_vue_type_script_setup_true_lang-Clwk-MHw.js} +3 -3
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js → RolePanel.vue_vue_type_script_setup_true_lang-DKHgNWQP.js} +1 -1
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js → ScrollPanel.vue_vue_type_style_index_0_lang-M2FQJwPU.js} +1 -1
  29. package/dist/{Staff-BSf9Ypbk.js → Staff-DFBLCsAd.js} +3 -3
  30. package/dist/{StaffInfo-BNKasyMF.js → StaffInfo-d2CK0oBA.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js → StaffInfo.vue_vue_type_script_setup_true_lang-4m8wK9tq.js} +1 -1
  32. package/dist/{StaffPanel-Bpq0WVlH.js → StaffPanel-D6aWLKN3.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js → StaffPanel.vue_vue_type_script_setup_true_lang-C7YT2CVb.js} +2 -2
  34. package/dist/{SysUser-FAABuNti.js → SysUser-BdZvYxQH.js} +2 -2
  35. package/dist/{SysUserPanel-PxJeOgHm.js → SysUserPanel-BIVa6LLr.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BsBKpYR7.js} +1 -1
  37. package/dist/{SystemMenu-C-7NAGon.js → SystemMenu-C-5VKlHK.js} +16 -16
  38. package/dist/{UserInfo-ClXKtyGo.js → UserInfo-DqXCRZts.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js → UserInfo.vue_vue_type_style_index_0_lang-N3TwfpPx.js} +1 -1
  40. package/dist/{childView-C_HmDQNd.js → childView-B2lSsqS3.js} +1 -1
  41. package/dist/{childView-uUlBcTza.js → childView-DRUNqgjI.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js → childView.vue_vue_type_style_index_0_lang-B9XBDDU_.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js → childView.vue_vue_type_style_index_0_lang-oGriyFTv.js} +1 -1
  44. package/dist/{code-rule-AgCVDKFy.js → code-rule-DZC9T6cl.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/{cron-task-C6FgQxTi.js → cron-task-BJwPeA5F.js} +1 -1
  47. package/dist/{frameView-BDgISK7N.js → frameView-C6wkvok-.js} +1 -1
  48. package/dist/index-DZc3qRTx.js +2650 -0
  49. package/dist/{layoutView-yb3DV2DQ.js → layoutView-CeJBpZb_.js} +2 -2
  50. package/dist/{login-RRpljbkm.js → login-BOxwzwdB.js} +2 -2
  51. package/dist/{lov-view-C9-rjzZR.js → lov-view-DRF-99U4.js} +2 -2
  52. package/dist/{menuInfo-CzPQyFhp.js → menuInfo-3Sjvs9nM.js} +1 -1
  53. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js → menuInfo.vue_vue_type_style_index_0_lang-DrQ560nm.js} +91 -90
  54. package/dist/{pda-app-Dvy3U-b6.js → pda-app-B9tn7jdv.js} +1 -1
  55. package/dist/{resource-Fy0lFkSV.js → resource-BqnxbQNe.js} +1 -1
  56. package/dist/{su-welcome-DYvSCUST.js → su-welcome-VwifUK_O.js} +1 -1
  57. package/dist/{sys-config-DJ1vNQTy.js → sys-config-C0-gSBFO.js} +1 -1
  58. package/dist/{utogether-CjmJiHoE.js → utogether-Di1byIum.js} +1 -1
  59. package/package.json +18 -18
  60. package/src/components/udp/form-upload.vue +71 -20
  61. package/src/main.ts +109 -109
  62. package/src/plugins/vxe-table/index.ts +53 -46
  63. package/src/views/system/menu/SystemMenu.vue +197 -197
  64. package/src/views/system/menu/menuInfo.vue +11 -9
  65. package/dist/index-DzOzUkf6.js +0 -3388
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as le, ref as Q, createElementBlock as F, openBlock as d, unref as e, normalizeClass as ne, createElementVNode as w, onMounted as _e, watch as Re, resolveComponent as q, createBlock as N, withCtx as S, createVNode as f, TransitionGroup as en, Fragment as ke, renderList as Se, withModifiers as De, toDisplayString as J, toRaw as ze, computed as K, h as Fe, getCurrentInstance as Lt, normalizeStyle as ce, resolveDynamicComponent as Ce, createCommentVNode as te, createTextVNode as de, shallowRef as tn, nextTick as Me, isRef as nn, onBeforeMount as mt, withDirectives as he, vShow as Pe, reactive as vt, createStaticVNode as on, onBeforeUnmount as gt, Transition as yt, KeepAlive as Ct, resolveDirective as rt, renderSlot as rn, onUnmounted as ln } from "vue";
2
2
  import "animate.css";
3
- import { a as an, b as se, s as sn, g as Vt, _ as we, u as Ue, t as He, f as ot, c as At, d as ye, e as Qe, k as wt, h as ve, i as un, r as jt, j as Gt, l as cn, m as dn, n as fn, o as hn, p as pn, F as mn, I as zt, q as Ft, v as Je, w as it } from "./index-DzOzUkf6.js";
3
+ import { a as an, b as se, s as sn, g as Vt, _ as we, u as Ue, t as He, f as ot, c as At, d as ye, e as Qe, k as wt, h as ve, i as un, r as jt, j as Gt, l as cn, m as dn, n as fn, o as hn, p as pn, F as mn, I as zt, q as Ft, v as Je, w as it } from "./index-DZc3qRTx.js";
4
4
  import { iconSet as vn, useGlobal as lt, storageLocal as Ie, cookies as nt, hasClass as et, toggleClass as Te, delay as gn, useDark as Ot, useDebounce as Oe, deviceDetection as yn } from "@utogether/utils";
5
5
  import { useI18n as at } from "vue-i18n";
6
6
  import { useResizeObserver as bt, useDebounceFn as Wt, onKeyStroke as ut, useEventListener as An, useFullscreen as wn, onClickOutside as Qt, templateRef as ct } from "@vueuse/core";
7
- import { u as st, a as Be, b as kt, c as Kt, d as bn } from "./utogether-CjmJiHoE.js";
7
+ import { u as st, a as Be, b as kt, c as Kt, d as bn } from "./utogether-Di1byIum.js";
8
8
  import { defineStore as kn, storeToRefs as xn } from "pinia";
9
9
  import { isEqual as Le, isArray as Pn, clone as Hn, isBoolean as Rt, isEmpty as dt } from "xe-utils";
10
10
  import { useRoute as Ze, useRouter as Ye } from "vue-router";
@@ -5,8 +5,8 @@ import { useFavicon as ot } from "@vueuse/core";
5
5
  import { isEmpty as w, toDateString as Wt } from "xe-utils";
6
6
  import { errorMessage as lt, cookies as b, storageLocal as k, delay as et, removeClass as A } from "@utogether/utils";
7
7
  import { t as K } from "./await-to-js.es5-BtRbN2QH.js";
8
- import { q as Ft, x as d, e as I, n as ct, D as nt, l as Yt, m as G, k as St, E as mt, _ as pt } from "./index-DzOzUkf6.js";
9
- import { d as rt, b as yt, c as J } from "./utogether-CjmJiHoE.js";
8
+ import { q as Ft, x as d, e as I, n as ct, D as nt, l as Yt, m as G, k as St, E as mt, _ as pt } from "./index-DZc3qRTx.js";
9
+ import { d as rt, b as yt, c as J } from "./utogether-Di1byIum.js";
10
10
  const xt = (t) => {
11
11
  const W = t.indexOf("windows nt 5.1") > -1 || t.indexOf("windows xp") > -1;
12
12
  if (t.indexOf("windows xp") > -1, W) return "WinXP";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, ref as o, createVNode as u, resolveComponent as a, nextTick as g, createElementBlock as w, openBlock as s, createBlock as C, createCommentVNode as R } from "vue";
2
2
  import { t as x } from "./await-to-js.es5-BtRbN2QH.js";
3
- import { q as b } from "./index-DzOzUkf6.js";
4
- import { _ as D } from "./childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js";
3
+ import { q as b } from "./index-DZc3qRTx.js";
4
+ import { _ as D } from "./childView.vue_vue_type_style_index_0_lang-B9XBDDU_.js";
5
5
  import { useRender as I } from "@utogether/utils";
6
6
  const c = "/upfm/v1/lovViewHeader", B = /* @__PURE__ */ k({
7
7
  name: "LovView",
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js";
1
+ import { _ as f } from "./menuInfo.vue_vue_type_style_index_0_lang-DrQ560nm.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as M, watch as Y, ref as V, resolveComponent as d, createElementBlock as N, openBlock as r, createVNode as n, withCtx as i, createBlock as u, createCommentVNode as m, Fragment as G, renderList as J, normalizeClass as K, createSlots as O, createElementVNode as Q, toDisplayString as W } from "vue";
1
+ import { defineComponent as M, watch as Y, ref as w, resolveComponent as u, createElementBlock as I, openBlock as s, createVNode as n, withCtx as m, createBlock as i, createCommentVNode as p, Fragment as G, renderList as J, normalizeClass as K, createSlots as O, createElementVNode as Q, toDisplayString as W } from "vue";
2
2
  import { useI18n as X } from "vue-i18n";
3
- import { t as _ } from "./await-to-js.es5-BtRbN2QH.js";
3
+ import { t as q } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { templateRef as Z } from "@vueuse/core";
5
- import { e as x, q as ee } from "./index-DzOzUkf6.js";
6
- const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */ M({
5
+ import { e as x, q as ee } from "./index-DZc3qRTx.js";
6
+ const te = { class: "ut-menu-wrapper" }, N = "/uums/menu", se = /* @__PURE__ */ M({
7
7
  __name: "menuInfo",
8
8
  props: {
9
9
  show: { type: Boolean, default: !1 },
@@ -12,15 +12,15 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
12
12
  direction: { default: "rtl" }
13
13
  },
14
14
  emits: ["close"],
15
- setup(T, { emit: U }) {
16
- const I = x().getDataDict, g = T;
15
+ setup(F, { emit: E }) {
16
+ const P = x().getDataDict, g = F;
17
17
  Y(
18
18
  () => g.show,
19
19
  () => {
20
- v.value = g.show && P();
20
+ h.value = g.show && L();
21
21
  }
22
22
  );
23
- const b = ee(), { t } = X(), F = {
23
+ const v = ee(), { t } = X(), D = {
24
24
  menuCode: [
25
25
  {
26
26
  required: !0,
@@ -63,113 +63,114 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
63
63
  message: `${t("message.required")}${t("message.menuType")}`
64
64
  }
65
65
  ]
66
- }, w = Z("xForm", null), y = V(!1), v = V(""), $ = V(["fetch"]), E = U, P = () => {
67
- const { record: e, dataStatus: o } = g, { id: p, parentId: f, hasChildren: a } = e;
66
+ }, T = Z("xForm", null), y = w(!1), h = w(""), $ = w(["fetch"]), B = E, L = () => {
67
+ const { record: e, dataStatus: o } = g, { id: l, parentId: f, hasChildren: a } = e;
68
68
  if (o !== "update")
69
- return !p && !f ? "su" : ((a || o === "add") && (e.dispalyCode = ""), e.permissionCode);
70
- }, B = () => {
71
- w.value.validate(async (e) => {
69
+ return !l && !f ? "su" : ((a || o === "add") && (e.dispalyCode = ""), e.permissionCode);
70
+ }, A = () => {
71
+ T.value.validate(async (e) => {
72
72
  if (!e) {
73
73
  y.value = !0;
74
- const { record: o, dataStatus: p } = g;
75
- if (p === "add") {
76
- o.permissionCode = `${v.value}.${o.dispalyCode}`;
77
- const [f, a] = await _(b.post(S, [o]));
78
- if (!f && !["0", "5"].includes(o.menuCategory) && $.value.length) {
79
- const C = $.value.map((c, k) => ({
80
- permissionCode: o.permissionCode + "." + c,
81
- parentId: a[0].id,
82
- menuName: D(c),
74
+ let o;
75
+ const { record: l, dataStatus: f } = g;
76
+ if (f === "add") {
77
+ l.permissionCode = `${h.value}.${l.dispalyCode}`;
78
+ const [a, C] = await q(v.post(N, [l]));
79
+ if (!a && !["0", "5"].includes(l.menuCategory) && $.value.length) {
80
+ const c = $.value.map((b, S) => ({
81
+ permissionCode: l.permissionCode + "." + b,
82
+ parentId: C[0].id,
83
+ menuName: R(b),
83
84
  menuType: 1,
84
85
  enabled: "1",
85
- sort: (k + 1) * 10
86
- }));
87
- await _(b.post(S, C));
86
+ sort: (S + 1) * 10
87
+ })), [V, _] = await q(v.post(N, c));
88
+ V || (o = _[0]);
88
89
  }
89
90
  y.value = !1;
90
91
  } else
91
- await _(b.put(S, [o])), y.value = !1;
92
- h("submit");
92
+ await q(v.put(N, [l])), y.value = !1;
93
+ k("submit", o);
93
94
  }
94
95
  });
95
- }, D = (e) => ({
96
+ }, R = (e) => ({
96
97
  fetch: t("message.btn.fetch"),
97
98
  add: t("message.btn.add"),
98
99
  edit: t("message.btn.edit"),
99
100
  del: t("message.btn.delete"),
100
101
  export: t("message.btn.export")
101
- })[e], L = (e) => {
102
+ })[e], z = (e) => {
102
103
  var o;
103
- return (o = I[e]) == null ? void 0 : o.children.map((p) => (p.enabled = p.dictCode === "0" && g.record.menuCategory !== "0", p));
104
+ return (o = P[e]) == null ? void 0 : o.children.map((l) => (l.enabled = l.dictCode === "0" && g.record.menuCategory !== "0", l));
104
105
  };
105
- function h(e) {
106
- E("close", e);
106
+ function k(e, o) {
107
+ B("close", e, o);
107
108
  }
108
109
  return (e, o) => {
109
- const p = d("vxe-option"), f = d("vxe-select"), a = d("vxe-form-item"), C = d("vxe-input"), c = d("vxe-checkbox"), k = d("vxe-checkbox-group"), A = d("ut-icon-select"), R = d("vxe-form"), z = d("el-divider"), q = d("ut-button"), j = d("el-row"), H = d("el-drawer");
110
- return r(), N("div", te, [
110
+ const l = u("vxe-option"), f = u("vxe-select"), a = u("vxe-form-item"), C = u("vxe-input"), c = u("vxe-checkbox"), V = u("vxe-checkbox-group"), _ = u("ut-icon-select"), b = u("vxe-form"), S = u("el-divider"), U = u("ut-button"), j = u("el-row"), H = u("el-drawer");
111
+ return s(), I("div", te, [
111
112
  n(H, {
112
113
  "model-value": e.show,
113
114
  title: e.$t("message.title.memuInfo"),
114
- "before-close": h,
115
+ "before-close": k,
115
116
  direction: "rtl",
116
117
  "destroy-on-close": "",
117
118
  size: "50%"
118
119
  }, {
119
- default: i(() => [
120
- n(R, {
120
+ default: m(() => [
121
+ n(b, {
121
122
  ref_key: "xForm",
122
- ref: w,
123
+ ref: T,
123
124
  data: e.record,
124
- rules: F,
125
+ rules: D,
125
126
  loading: y.value,
126
127
  "title-colon": "",
127
128
  "title-align": "right",
128
129
  "title-width": "110"
129
130
  }, {
130
- default: i(() => [
131
- e.record.menuType === "0" ? (r(), u(a, {
131
+ default: m(() => [
132
+ e.record.menuType === "0" ? (s(), i(a, {
132
133
  key: 0,
133
134
  title: e.$t("message.menuType"),
134
135
  field: "menuCategory",
135
136
  span: "24"
136
137
  }, {
137
- default: i(({ data: l }) => [
138
+ default: m(({ data: r }) => [
138
139
  n(f, {
139
- modelValue: l.menuCategory,
140
- "onUpdate:modelValue": (s) => l.menuCategory = s,
141
- disabled: l.menuCategory === "0"
140
+ modelValue: r.menuCategory,
141
+ "onUpdate:modelValue": (d) => r.menuCategory = d,
142
+ disabled: r.menuCategory === "0"
142
143
  }, {
143
- default: i(() => [
144
- (r(!0), N(G, null, J(L("SU.MENU.TYPE"), (s) => (r(), u(p, {
145
- key: s.dictCode,
146
- value: s.dictCode,
147
- label: s.dictName,
148
- disabled: s.enabled
144
+ default: m(() => [
145
+ (s(!0), I(G, null, J(z("SU.MENU.TYPE"), (d) => (s(), i(l, {
146
+ key: d.dictCode,
147
+ value: d.dictCode,
148
+ label: d.dictName,
149
+ disabled: d.enabled
149
150
  }, null, 8, ["value", "label", "disabled"]))), 128))
150
151
  ]),
151
152
  _: 2
152
153
  }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])
153
154
  ]),
154
155
  _: 1
155
- }, 8, ["title"])) : m("", !0),
156
+ }, 8, ["title"])) : p("", !0),
156
157
  n(a, {
157
158
  title: e.$t("message.permissionCode"),
158
159
  field: "dispalyCode",
159
160
  span: "24"
160
161
  }, {
161
- default: i(({ data: l }) => [
162
+ default: m(({ data: r }) => [
162
163
  n(C, {
163
- modelValue: l.dispalyCode,
164
- "onUpdate:modelValue": (s) => l.dispalyCode = s,
164
+ modelValue: r.dispalyCode,
165
+ "onUpdate:modelValue": (d) => r.dispalyCode = d,
165
166
  clearable: "",
166
167
  class: K({ "u-menu-prefix": e.dataStatus === "add" }),
167
168
  disabled: e.dataStatus !== "add"
168
169
  }, O({ _: 2 }, [
169
170
  e.dataStatus === "add" ? {
170
171
  name: "prefix",
171
- fn: i(() => [
172
- Q("span", null, W(v.value), 1)
172
+ fn: m(() => [
173
+ Q("span", null, W(h.value), 1)
173
174
  ]),
174
175
  key: "0"
175
176
  } : void 0
@@ -177,13 +178,13 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
177
178
  ]),
178
179
  _: 1
179
180
  }, 8, ["title"]),
180
- !(e.record.menuType * 1) && e.record.menuCategory !== "3" ? (r(), u(a, {
181
+ !(e.record.menuType * 1) && e.record.menuCategory !== "3" ? (s(), i(a, {
181
182
  key: 1,
182
183
  title: e.$t("message.menuCode"),
183
184
  "item-render": { name: "$input" },
184
185
  field: "menuCode",
185
186
  span: "24"
186
- }, null, 8, ["title"])) : m("", !0),
187
+ }, null, 8, ["title"])) : p("", !0),
187
188
  n(a, {
188
189
  title: e.$t("message.menuName"),
189
190
  "item-render": { name: "$input" },
@@ -196,57 +197,57 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
196
197
  span: "24",
197
198
  "item-render": { name: "$input" }
198
199
  }, null, 8, ["title"]),
199
- e.record.menuType * 1 ? m("", !0) : (r(), u(a, {
200
+ e.record.menuType * 1 ? p("", !0) : (s(), i(a, {
200
201
  key: 2,
201
202
  title: e.$t("message.menuPath"),
202
203
  "item-render": { name: "$input" },
203
204
  field: "menuPath",
204
205
  span: "24"
205
206
  }, null, 8, ["title"])),
206
- e.record.menuType * 1 ? m("", !0) : (r(), u(a, {
207
+ e.record.menuType * 1 ? p("", !0) : (s(), i(a, {
207
208
  key: 3,
208
209
  title: e.$t("message.i18nField"),
209
210
  "item-render": { name: "$input" },
210
211
  field: "i18nField",
211
212
  span: "24"
212
213
  }, null, 8, ["title"])),
213
- e.record.menuCategory === "2" ? (r(), u(a, {
214
+ e.record.menuCategory === "2" ? (s(), i(a, {
214
215
  key: 4,
215
216
  title: e.$t("message.frameSrc"),
216
217
  "item-render": { name: "$input" },
217
218
  field: "frameSrc",
218
219
  span: "24"
219
- }, null, 8, ["title"])) : m("", !0),
220
- e.record.menuCategory === "3" ? (r(), u(a, {
220
+ }, null, 8, ["title"])) : p("", !0),
221
+ e.record.menuCategory === "3" ? (s(), i(a, {
221
222
  key: 5,
222
223
  title: e.$t("message.externalURI"),
223
224
  "item-render": { name: "$input" },
224
225
  field: "menuCode",
225
226
  span: "24"
226
- }, null, 8, ["title"])) : m("", !0),
227
- !(e.record.menuType * 1) && e.record.menuCategory !== "3" ? (r(), u(a, {
227
+ }, null, 8, ["title"])) : p("", !0),
228
+ !(e.record.menuType * 1) && e.record.menuCategory !== "3" ? (s(), i(a, {
228
229
  key: 6,
229
230
  title: e.$t("message.extraIcon"),
230
231
  "item-render": { name: "$input" },
231
232
  field: "extraIcon",
232
233
  span: "24"
233
- }, null, 8, ["title"])) : m("", !0),
234
- ["0", "5"].includes(e.record.menuCategory) ? (r(), u(a, {
234
+ }, null, 8, ["title"])) : p("", !0),
235
+ ["0", "5"].includes(e.record.menuCategory) ? (s(), i(a, {
235
236
  key: 7,
236
237
  title: e.$t("message.redirect"),
237
238
  "item-render": { name: "$input" },
238
239
  field: "redirect",
239
240
  span: "24"
240
- }, null, 8, ["title"])) : m("", !0),
241
- e.record.menuType * 1 ? m("", !0) : (r(), u(a, {
241
+ }, null, 8, ["title"])) : p("", !0),
242
+ e.record.menuType * 1 ? p("", !0) : (s(), i(a, {
242
243
  key: 8,
243
244
  title: e.$t("message.sort"),
244
245
  span: "24"
245
246
  }, {
246
- default: i(({ data: l }) => [
247
+ default: m(({ data: r }) => [
247
248
  n(C, {
248
- modelValue: l.sort,
249
- "onUpdate:modelValue": (s) => l.sort = s,
249
+ modelValue: r.sort,
250
+ "onUpdate:modelValue": (d) => r.sort = d,
250
251
  type: "number",
251
252
  step: "10",
252
253
  clearable: ""
@@ -254,16 +255,16 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
254
255
  ]),
255
256
  _: 1
256
257
  }, 8, ["title"])),
257
- e.dataStatus === "add" && ["2", "1"].includes(e.record.menuCategory) ? (r(), u(a, {
258
+ e.dataStatus === "add" && ["2", "1"].includes(e.record.menuCategory) ? (s(), i(a, {
258
259
  key: 9,
259
260
  title: e.$t("message.btn.auth")
260
261
  }, {
261
- default: i(() => [
262
- n(k, {
262
+ default: m(() => [
263
+ n(V, {
263
264
  modelValue: $.value,
264
- "onUpdate:modelValue": o[0] || (o[0] = (l) => $.value = l)
265
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => $.value = r)
265
266
  }, {
266
- default: i(() => [
267
+ default: m(() => [
267
268
  n(c, {
268
269
  label: "add",
269
270
  content: e.$t("message.btn.add")
@@ -289,16 +290,16 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
289
290
  }, 8, ["modelValue"])
290
291
  ]),
291
292
  _: 1
292
- }, 8, ["title"])) : m("", !0),
293
- e.record.menuType * 1 ? m("", !0) : (r(), u(a, {
293
+ }, 8, ["title"])) : p("", !0),
294
+ e.record.menuType * 1 ? p("", !0) : (s(), i(a, {
294
295
  key: 10,
295
296
  title: e.$t("message.icon"),
296
297
  span: "24"
297
298
  }, {
298
- default: i(({ data: l }) => [
299
- n(A, {
300
- modelValue: l.icon,
301
- "onUpdate:modelValue": (s) => l.icon = s
299
+ default: m(({ data: r }) => [
300
+ n(_, {
301
+ modelValue: r.icon,
302
+ "onUpdate:modelValue": (d) => r.icon = d
302
303
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
303
304
  ]),
304
305
  _: 1
@@ -306,22 +307,22 @@ const te = { class: "ut-menu-wrapper" }, S = "/uums/menu", se = /* @__PURE__ */
306
307
  ]),
307
308
  _: 1
308
309
  }, 8, ["data", "loading"]),
309
- n(z),
310
+ n(S),
310
311
  n(j, {
311
312
  type: "flex",
312
313
  justify: "end",
313
314
  style: { "padding-right": "22px" }
314
315
  }, {
315
- default: i(() => [
316
- n(q, {
316
+ default: m(() => [
317
+ n(U, {
317
318
  content: "cancel",
318
319
  status: "warning",
319
- onTap: h
320
+ onTap: k
320
321
  }),
321
- n(q, {
322
+ n(U, {
322
323
  content: "confirm",
323
324
  status: "primary",
324
- onTap: B
325
+ onTap: A
325
326
  })
326
327
  ]),
327
328
  _: 1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as re, ref as R, computed as G, watch as he, createVNode as p, Fragment as z, withDirectives as me, unref as C, resolveDirective as be, nextTick as ve, resolveComponent as x, createElementBlock as Oe, openBlock as J, createBlock as we, createCommentVNode as Te, isVNode as _e } from "vue";
2
2
  import { useI18n as je } from "vue-i18n";
3
3
  import { t as Ce } from "./await-to-js.es5-BtRbN2QH.js";
4
- import { I as Se, x as xe, q as $e } from "./index-DzOzUkf6.js";
4
+ import { I as Se, x as xe, q as $e } from "./index-DZc3qRTx.js";
5
5
  import { withInstall as Pe, useRender as Ae } from "@utogether/utils";
6
6
  import { clone as oe, isString as Z } from "xe-utils";
7
7
  import ke from "qrcode";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, ref as o, resolveComponent as l, createElementBlock as k, openBlock as u, createVNode as r, createBlock as x, createCommentVNode as b, Fragment as U } from "vue";
2
2
  import { successMessage as B } from "@utogether/utils";
3
3
  import { useClipboard as N } from "@vueuse/core";
4
- import { x as y } from "./index-DzOzUkf6.js";
4
+ import { x as y } from "./index-DZc3qRTx.js";
5
5
  const q = {
6
6
  name: "StaticResource"
7
7
  }, V = /* @__PURE__ */ w({
@@ -2,7 +2,7 @@ import { defineComponent as J, ref as y, onMounted as K, resolveComponent as _,
2
2
  import { useRouter as oe } from "vue-router";
3
3
  import ne from "dayjs";
4
4
  import { dbstorage as le, delay as ae, warnMessage as ce, successMessage as ie, lunarCalendar as re, cookies as ue } from "@utogether/utils";
5
- import { q as G, e as de, n as me, _ as fe } from "./index-DzOzUkf6.js";
5
+ import { q as G, e as de, n as me, _ as fe } from "./index-DZc3qRTx.js";
6
6
  import { clone as _e, max as ve } from "xe-utils";
7
7
  import pe from "vuedraggable";
8
8
  const ge = { class: "" }, he = { class: "w-full h-24" }, xe = { class: "" }, ye = { class: "h-24 w-24 flex justify-center items-center flex-col relative drag-item ut-menu-top-item" }, be = { class: "w-[90%] text-xs mt-2 text-ellipsis overflow-hidden whitespace-nowrap text-center" }, we = ["onClick"], ke = { class: "p-3" }, Ce = { class: "flex items-center" }, Ne = { class: "ml-1 font-bold text-base" }, $e = { class: "pl-3 py-2" }, Ie = { class: "flex items-center" }, Ve = { class: "ml-1 font-bold text-sm" }, Me = { class: "pl-3 py-2" }, Se = { class: "flex items-center" }, Ue = { class: "ml-1 font-bold text-sm" }, je = { class: "py-2" }, qe = { class: "flex justify-end" }, De = "/upfm/v1/menuFavority", Ee = /* @__PURE__ */ J({
@@ -3,7 +3,7 @@ import { useI18n as B } from "vue-i18n";
3
3
  import { t as N } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { cookies as F, successMessage as J, warnMessage as Y } from "@utogether/utils";
5
5
  import { isArray as K } from "xe-utils";
6
- import { x as R, m as H, q as Q } from "./index-DzOzUkf6.js";
6
+ import { x as R, m as H, q as Q } from "./index-DZc3qRTx.js";
7
7
  const W = { class: "flex flex-col items-center bg-white u-system-config" }, X = { class: "flex justify-end w-1/2 p-2" }, Z = { class: "flex w-1/2 p-2 overflow-y-auto border border-gray-300 rounded-md" }, ee = { class: "flex items-center" }, te = { class: "pl-2 text-xs" }, se = { class: "pl-2" }, ae = { class: "pl-2" }, le = { class: "flex items-center" }, oe = { class: "pl-2 text-xs" }, ne = { class: "pl-2" }, ie = { class: "flex items-center" }, ue = { class: "pl-2 text-xs" }, k = "/upfm/v1/sysConfig", be = /* @__PURE__ */ M({
8
8
  __name: "sys-config",
9
9
  setup(de) {
@@ -1,6 +1,6 @@
1
1
  import { computed as W, ref as L } from "vue";
2
2
  import { useGlobal as g, storageLocal as u, deviceDetection as H, cookies as C, storageSession as M } from "@utogether/utils";
3
- import { y as P, j as E, s as j, g as h, v as d, z as J, l as K, m as R, n as V, u as S, r as G, o as O, A as x, B as Z } from "./index-DzOzUkf6.js";
3
+ import { y as P, j as E, s as j, g as h, v as d, z as J, l as K, m as R, n as V, u as S, r as G, o as O, A as x, B as Z } from "./index-DZc3qRTx.js";
4
4
  import { useI18n as f } from "vue-i18n";
5
5
  import { defineStore as v } from "pinia";
6
6
  function I() {
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
- {
2
- "name": "@utogether/udp-core",
3
- "private": false,
4
- "version": "1.0.1-beta.1",
5
- "description": "",
6
- "type": "module",
7
- "main1": "index.ts",
8
- "main": "dist/core.es.js",
9
- "scripts": {
10
- "dev": "vite",
11
- "build": "vite build",
12
- "preview:build": "pnpm build && vite preview",
13
- "report": "rimraf dist && vite build"
14
- },
15
- "keywords": [],
16
- "author": "",
17
- "license": "ISC"
18
- }
1
+ {
2
+ "name": "@utogether/udp-core",
3
+ "private": false,
4
+ "version": "1.0.1-beta.2",
5
+ "description": "",
6
+ "type": "module",
7
+ "main1": "index.ts",
8
+ "main": "dist/core.es.js",
9
+ "scripts": {
10
+ "dev": "vite",
11
+ "build": "vite build",
12
+ "preview:build": "pnpm build && vite preview",
13
+ "report": "rimraf dist && vite build"
14
+ },
15
+ "keywords": [],
16
+ "author": "",
17
+ "license": "ISC"
18
+ }