@utogether/udp-core 1.0.3 → 1.0.4-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 (78) hide show
  1. package/dist/{403-D6H3sArg.js → 403-BPYvIpL0.js} +1 -1
  2. package/dist/{404-DTyfysQ2.js → 404-DsNi_zbJ.js} +1 -1
  3. package/dist/{500-DKaVDaBm.js → 500-CFPwM06i.js} +1 -1
  4. package/dist/{AuthorityInfo-DQULR69Y.js → AuthorityInfo-Cz9aXzyD.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-CzAnoTnO.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DV82YhIl.js} +1 -1
  6. package/dist/{AuthorityPanel-BeBNiwqc.js → AuthorityPanel-BzIh29KB.js} +1 -1
  7. package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js → AuthorityPanel.vue_vue_type_style_index_0_lang-D3GN0Ybz.js} +32 -24
  8. package/dist/{Company-BWFrR-Cq.js → Company-C7mOu--3.js} +3 -3
  9. package/dist/{CompanyPanel-Dh814lsw.js → CompanyPanel-mO9FMZiX.js} +1 -1
  10. package/dist/{Department-DagPxerl.js → Department--Y1ImWfA.js} +3 -3
  11. package/dist/{DepartmentPanel-BVy2YGED.js → DepartmentPanel-CE3L2ZMy.js} +1 -1
  12. package/dist/{DesignPanel-DKfjfj2S.js → DesignPanel-CYSTRBOI.js} +1 -1
  13. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-D-a8W08Y.js → DesignPanel.vue_vue_type_style_index_0_lang-NutQ08_L.js} +2 -2
  14. package/dist/{DictView-CE5nEiKu.js → DictView-P7SkFNgn.js} +1 -1
  15. package/dist/{InvOrganization-CZk_EbFZ.js → InvOrganization-C1JEXt2a.js} +1 -1
  16. package/dist/{Org-BO8jfnqN.js → Org-DfjFoe_o.js} +1 -1
  17. package/dist/{Preview-DYJaP96f.js → Preview-r4la57mV.js} +1 -1
  18. package/dist/{ReportDefine-DZXbs7iX.js → ReportDefine-BUbrcRFp.js} +1 -1
  19. package/dist/{ReportDesign-CSdqOQ1D.js → ReportDesign-B00bAfau.js} +2 -2
  20. package/dist/{ReportQuery-_Vdt3CnA.js → ReportQuery-DAM_-RUB.js} +1 -1
  21. package/dist/{ReportQueryFrom-BWKddh9p.js → ReportQueryFrom-CEvoJKlF.js} +1 -1
  22. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-DbdGwioi.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Bt59l-8f.js} +1 -1
  23. package/dist/{ReportTemplate-DS-DGao8.js → ReportTemplate-Du8i8rfg.js} +1 -1
  24. package/dist/{Role-BM0kEu7y.js → Role-D3nk1IUQ.js} +3 -3
  25. package/dist/{RoleAssign-Cp05HUWn.js → RoleAssign-BiO5MZhU.js} +3 -3
  26. package/dist/{RolePanel-hXeshcCZ.js → RolePanel-BhIqx_Wa.js} +1 -1
  27. package/dist/{RolePanel-DeuHpCdK.js → RolePanel-VLyqWJVN.js} +1 -1
  28. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Bf0pSCTN.js → RolePanel.vue_vue_type_script_setup_true_lang-B0OPjDCv.js} +3 -3
  29. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-CNyWCIJm.js → RolePanel.vue_vue_type_script_setup_true_lang-C3IFDt_Z.js} +1 -1
  30. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-BiKe39xG.js → ScrollPanel.vue_vue_type_style_index_0_lang-DCs1XL39.js} +1 -1
  31. package/dist/{Staff-DLltLFMl.js → Staff-BJeVPfVm.js} +3 -3
  32. package/dist/{StaffInfo-pfELaI_i.js → StaffInfo-CJ8N1Iaa.js} +1 -1
  33. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BKKdNggm.js → StaffInfo.vue_vue_type_script_setup_true_lang-C9Qs0y63.js} +1 -1
  34. package/dist/{StaffPanel-D3Pk28JN.js → StaffPanel-oprQQONO.js} +1 -1
  35. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-D9HLeyKe.js → StaffPanel.vue_vue_type_script_setup_true_lang-C5I61KMa.js} +2 -2
  36. package/dist/{SysUser-BOh7ejz3.js → SysUser-B4os0MUF.js} +2 -2
  37. package/dist/{SysUserPanel-RElVo0BV.js → SysUserPanel-D_CBonTD.js} +1 -1
  38. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DoW0v5y9.js → SysUserPanel.vue_vue_type_script_setup_true_lang-5ziTNsQJ.js} +1 -1
  39. package/dist/{SystemMenu-DZneBqKO.js → SystemMenu-CTq48lhl.js} +52 -49
  40. package/dist/{UserInfo-D9qo_f_9.js → UserInfo-CmCYIois.js} +1 -1
  41. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CY4dtMnZ.js → UserInfo.vue_vue_type_style_index_0_lang-JR50b-om.js} +1 -1
  42. package/dist/{childView-CmlGxD9G.js → childView-BdTLKLdV.js} +1 -1
  43. package/dist/{childView-DStrPumM.js → childView-BpjMQxXA.js} +1 -1
  44. package/dist/{childView.vue_vue_type_style_index_0_lang-B9k694be.js → childView.vue_vue_type_style_index_0_lang-B6YHspP9.js} +1 -1
  45. package/dist/{childView.vue_vue_type_style_index_0_lang-Dtv1rrdP.js → childView.vue_vue_type_style_index_0_lang-CWEjc6-V.js} +1 -1
  46. package/dist/{code-rule-CxzgQDH_.js → code-rule-CohepEa6.js} +1 -1
  47. package/dist/core.es.js +1 -1
  48. package/dist/{cron-task-kbyRTz97.js → cron-task-CW0DC8mB.js} +1 -1
  49. package/dist/{frameView-BawZlIge.js → frameView-CpSq5t6q.js} +1 -1
  50. package/dist/{index-nkstuOxE.js → index-BIkiQ8sW.js} +3562 -962
  51. package/dist/{layoutView-DVGqPJmA.js → layoutView-Cb-Sr4QH.js} +144 -145
  52. package/dist/{log-in-j2PZGLQH.js → log-in-CwE0UTx5.js} +1 -1
  53. package/dist/{log-out-DIJU-Vpf.js → log-out-C2YJ4VtB.js} +1 -1
  54. package/dist/{login-DvmHMcgD.js → login-DgulHC3K.js} +124 -134
  55. package/dist/{lov-view-C-dIDLh8.js → lov-view-DHruXqpk.js} +2 -2
  56. package/dist/{menuInfo-D0mcKmrT.js → menuInfo-TK_M-mrs.js} +1 -1
  57. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-CbwS7aGl.js → menuInfo.vue_vue_type_style_index_0_lang-CaTPaJe-.js} +37 -35
  58. package/dist/{pda-app-BjvyTDkw.js → pda-app-C7JJ5ioL.js} +1 -1
  59. package/dist/{resource-BknIxaTQ.js → resource-DnnZBwMv.js} +1 -1
  60. package/dist/{su-welcome-CwtvamZC.js → su-welcome-CuYdpLi1.js} +1 -1
  61. package/dist/{sys-config-CCKhGcCL.js → sys-config-D1h0L-xV.js} +1 -1
  62. package/dist/udp-core.css +1 -1
  63. package/package.json +1 -1
  64. package/src/App.vue +71 -65
  65. package/src/components/udp/form-upload/form-upload.vue +492 -0
  66. package/src/components/udp/index.ts +2 -1
  67. package/src/layout/components/lay-content/index.vue +136 -143
  68. package/src/layout/components/lay-sidebar/sidebar-logo.vue +1 -1
  69. package/src/layout/layoutView.vue +7 -6
  70. package/src/main.ts +2 -2
  71. package/src/plugins/i18n/zh.ts +1 -0
  72. package/src/plugins/vxe-table/index.ts +1 -1
  73. package/src/plugins/vxe-table/render.tsx +19 -1
  74. package/src/style/vxetable.scss +356 -348
  75. package/src/views/system/menu/AuthorityPanel.vue +142 -140
  76. package/src/views/system/menu/SystemMenu.vue +10 -1
  77. package/src/views/system/menu/menuInfo.vue +384 -384
  78. package/src/views/ulogin/login.vue +34 -23
@@ -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 { y as b } from "./index-nkstuOxE.js";
4
- import { _ as y } from "./childView.vue_vue_type_style_index_0_lang-B9k694be.js";
3
+ import { y as b } from "./index-BIkiQ8sW.js";
4
+ import { _ as y } from "./childView.vue_vue_type_style_index_0_lang-B6YHspP9.js";
5
5
  import { useRender as D } 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-CbwS7aGl.js";
1
+ import { _ as f } from "./menuInfo.vue_vue_type_style_index_0_lang-CaTPaJe-.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as H, watch as M, ref as _, resolveComponent as i, createElementBlock as L, openBlock as r, createVNode as t, withCtx as m, createBlock as u, createCommentVNode as p, Fragment as G, renderList as J, normalizeClass as K, createSlots as O, createElementVNode as Q, toDisplayString as W } from "vue";
1
+ import { defineComponent as H, watch as M, ref as S, resolveComponent as i, createElementBlock as L, openBlock as r, createVNode as t, withCtx as m, createBlock as u, 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
3
  import { t as N } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { templateRef as Z } from "@vueuse/core";
5
- import { i as x, y as ee } from "./index-nkstuOxE.js";
6
- const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */ H({
5
+ import { i as ee, y as te } from "./index-BIkiQ8sW.js";
6
+ const ne = { class: "ut-menu-wrapper" }, q = "/uums/menu", ie = /* @__PURE__ */ H({
7
7
  __name: "menuInfo",
8
8
  props: {
9
9
  show: { type: Boolean, default: !1 },
@@ -13,14 +13,14 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
13
13
  },
14
14
  emits: ["close"],
15
15
  setup(I, { emit: F }) {
16
- const P = x().getDataDict, g = I;
16
+ const P = ee().getDataDict, g = I;
17
17
  M(
18
18
  () => g.show,
19
19
  () => {
20
- h.value = g.show && D();
20
+ $.value = g.show && D();
21
21
  }
22
22
  );
23
- const v = ee(), { t: a } = X(), E = {
23
+ const C = te(), { t: a } = X(), E = {
24
24
  menuCode: [
25
25
  {
26
26
  required: !0,
@@ -63,7 +63,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
63
63
  message: `${a("message.required")}${a("message.menuType")}`
64
64
  }
65
65
  ]
66
- }, T = Z("xForm", null), y = _(!1), h = _(""), b = _(["fetch"]), A = F, D = () => {
66
+ }, T = Z("xForm", null), y = S(!1), $ = S(""), b = S(["fetch"]), A = F, D = () => {
67
67
  const { record: e, dataStatus: s } = g, { id: l, parentId: f, hasChildren: n } = e;
68
68
  if (s !== "update")
69
69
  return !l && !f ? "su" : ((n || s === "add") && (e.dispalyCode = ""), e.permissionCode);
@@ -74,23 +74,23 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
74
74
  let s;
75
75
  const { record: l, dataStatus: f } = g;
76
76
  if (f === "add") {
77
- l.permissionCode = `${h.value}.${l.dispalyCode}`;
78
- const [n, C] = await N(v.post(q, [l]));
77
+ l.permissionCode = `${$.value}.${l.dispalyCode}`;
78
+ const [n, V] = await N(C.post(q, [l]));
79
79
  if (!n && !["0", "5"].includes(l.menuCategory) && b.value.length) {
80
- const c = b.value.map(($, S) => ({
81
- permissionCode: l.permissionCode + "." + $,
82
- parentId: C[0].id,
83
- menuName: R($),
80
+ const k = b.value.map((v, w) => ({
81
+ permissionCode: l.permissionCode + "." + v,
82
+ parentId: V[0].id,
83
+ menuName: R(v),
84
84
  menuType: 1,
85
85
  enabled: "1",
86
- sort: (S + 1) * 10
87
- })), [k, w] = await N(v.post(q, c));
88
- k || (s = w[0]);
86
+ sort: (w + 1) * 10
87
+ })), [c, _] = await N(C.post(q, k));
88
+ c || (s = _[0]);
89
89
  }
90
90
  y.value = !1;
91
91
  } else
92
- l.permissionCode = l.dispalyCode, await N(v.put(q, [l])), y.value = !1, s = l;
93
- V("submit", s);
92
+ l.permissionCode = l.dispalyCode, await N(C.put(q, [l])), y.value = !1, s = l;
93
+ h("submit", s);
94
94
  }
95
95
  });
96
96
  }, R = (e) => ({
@@ -103,22 +103,22 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
103
103
  var s;
104
104
  return (s = P[e]) == null ? void 0 : s.children.map((l) => (l.enabled = l.dictCode === "0" && g.record.menuCategory !== "0", l));
105
105
  };
106
- function V(e, s) {
106
+ function h(e, s) {
107
107
  A("close", e, s);
108
108
  }
109
109
  return (e, s) => {
110
- const l = i("vxe-option"), f = i("vxe-select"), n = i("vxe-form-item"), C = i("vxe-input"), c = i("vxe-checkbox"), k = i("vxe-checkbox-group"), w = i("ut-icon-select"), $ = i("vxe-form"), S = i("el-divider"), U = i("ut-button"), z = i("el-row"), j = i("el-drawer");
111
- return r(), L("div", te, [
112
- t(j, {
110
+ const l = i("vxe-option"), f = i("vxe-select"), n = i("vxe-form-item"), V = i("vxe-input"), k = i("vxe-number-input"), c = i("vxe-checkbox"), _ = i("vxe-checkbox-group"), v = i("ut-icon-select"), w = i("vxe-form"), z = i("el-divider"), U = i("ut-button"), j = i("el-row"), x = i("el-drawer");
111
+ return r(), L("div", ne, [
112
+ t(x, {
113
113
  "model-value": e.show,
114
114
  title: e.$t("message.title.memuInfo"),
115
- "before-close": V,
115
+ "before-close": h,
116
116
  direction: "rtl",
117
117
  "destroy-on-close": "",
118
118
  size: "50%"
119
119
  }, {
120
120
  default: m(() => [
121
- t($, {
121
+ t(w, {
122
122
  ref_key: "xForm",
123
123
  ref: T,
124
124
  data: e.record,
@@ -162,7 +162,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
162
162
  span: "24"
163
163
  }, {
164
164
  default: m(({ data: o }) => [
165
- t(C, {
165
+ t(V, {
166
166
  modelValue: o.dispalyCode,
167
167
  "onUpdate:modelValue": (d) => o.dispalyCode = d,
168
168
  clearable: "",
@@ -172,7 +172,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
172
172
  e.dataStatus === "add" ? {
173
173
  name: "prefix",
174
174
  fn: m(() => [
175
- Q("span", null, W(h.value), 1)
175
+ Q("span", null, W($.value), 1)
176
176
  ]),
177
177
  key: "0"
178
178
  } : void 0
@@ -267,11 +267,11 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
267
267
  span: "24"
268
268
  }, {
269
269
  default: m(({ data: o }) => [
270
- t(C, {
270
+ t(k, {
271
271
  modelValue: o.sort,
272
272
  "onUpdate:modelValue": (d) => o.sort = d,
273
- type: "number",
274
- step: "10",
273
+ "control-config": { enabled: !1 },
274
+ tep: "10",
275
275
  clearable: ""
276
276
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
277
277
  ]),
@@ -282,7 +282,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
282
282
  title: e.$t("message.btn.auth")
283
283
  }, {
284
284
  default: m(() => [
285
- t(k, {
285
+ t(_, {
286
286
  modelValue: b.value,
287
287
  "onUpdate:modelValue": s[0] || (s[0] = (o) => b.value = o)
288
288
  }, {
@@ -319,7 +319,7 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
319
319
  span: "24"
320
320
  }, {
321
321
  default: m(({ data: o }) => [
322
- t(w, {
322
+ t(v, {
323
323
  modelValue: o.icon,
324
324
  "onUpdate:modelValue": (d) => o.icon = d
325
325
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -329,8 +329,8 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
329
329
  ]),
330
330
  _: 1
331
331
  }, 8, ["data", "loading"]),
332
- t(S),
333
- t(z, {
332
+ t(z),
333
+ t(j, {
334
334
  type: "flex",
335
335
  justify: "end",
336
336
  style: { "padding-right": "22px" }
@@ -339,11 +339,13 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
339
339
  t(U, {
340
340
  content: "cancel",
341
341
  status: "warning",
342
- onTap: V
342
+ icon: "ri-close-line",
343
+ onTap: h
343
344
  }),
344
345
  t(U, {
345
346
  content: "confirm",
346
347
  status: "primary",
348
+ icon: "ri-save-line",
347
349
  onTap: B
348
350
  })
349
351
  ]),
@@ -357,5 +359,5 @@ const te = { class: "ut-menu-wrapper" }, q = "/uums/menu", re = /* @__PURE__ */
357
359
  }
358
360
  });
359
361
  export {
360
- re as _
362
+ ie as _
361
363
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as re, ref as N, computed as K, watch as me, createVNode as p, Fragment as Y, withDirectives as he, unref as C, resolveDirective as be, nextTick as ve, resolveComponent as x, createElementBlock as Oe, openBlock as J, createBlock as _e, createCommentVNode as we, isVNode as Te } 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, G as xe, y as $e, _ as Pe } from "./index-nkstuOxE.js";
4
+ import { I as Se, G as xe, y as $e, _ as Pe } from "./index-BIkiQ8sW.js";
5
5
  import { withInstall as Ve, useRender as Ae } from "@utogether/utils";
6
6
  import { clone as oe, isString as Z } from "xe-utils";
7
7
  import Ne from "qrcode";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as w, ref as o, resolveComponent as r, createElementBlock as k, openBlock as i, createVNode as l, createBlock as b, createCommentVNode as x, 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 { G as y } from "./index-nkstuOxE.js";
4
+ import { G as y } from "./index-BIkiQ8sW.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 p,
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 ie, successMessage as ce, lunarCalendar as re, cookies as de } from "@utogether/utils";
5
- import { y as W, i as ue, p as me, _ as fe } from "./index-nkstuOxE.js";
5
+ import { y as W, i as ue, p as me, _ as fe } from "./index-BIkiQ8sW.js";
6
6
  import { clone as pe, max as _e } from "xe-utils";
7
7
  import ve 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 = {
@@ -3,7 +3,7 @@ import { useI18n as Q } from "vue-i18n";
3
3
  import { t as S } from "./await-to-js.es5-BtRbN2QH.js";
4
4
  import { cookies as E, successMessage as W, warnMessage as X } from "@utogether/utils";
5
5
  import { isArray as Z } from "xe-utils";
6
- import { G as ee, o as te, p as z, y as le } from "./index-nkstuOxE.js";
6
+ import { G as ee, o as te, p as z, y as le } from "./index-BIkiQ8sW.js";
7
7
  const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, oe = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, se = { class: "flex items-center" }, ne = { class: "pl-2 text-xs" }, ie = { class: "pl-2" }, ue = { class: "pl-2" }, re = { class: "flex items-center" }, pe = { class: "pl-2 text-xs" }, de = { class: "pl-2" }, me = { class: "flex items-center" }, ce = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, j = "/upfm/v1/sysConfig", Ce = /* @__PURE__ */ q({
8
8
  __name: "sys-config",
9
9
  setup(fe) {