@utogether/udp-core 2.0.0-beta.21 → 2.0.0-beta.23

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 (72) hide show
  1. package/dist/{403-DICzHwBh.js → 403-Bu1hm1tf.js} +1 -1
  2. package/dist/{404-CE2ilza7.js → 404-BB-df9AI.js} +3 -3
  3. package/dist/{500-DqbOUpFQ.js → 500-_ivjNAjo.js} +1 -1
  4. package/dist/{AuthorityInfo-DD9xMuFM.js → AuthorityInfo-DTeV-2ob.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-aH0WIYDG.js → AuthorityInfo.vue_vue_type_style_index_0_lang-BlaR0Onc.js} +1 -1
  6. package/dist/{Company-CZSbX6Cr.js → Company-B-kqHIz7.js} +3 -3
  7. package/dist/{CompanyPanel-DRz2RdEP.js → CompanyPanel-DyKh7m0Z.js} +1 -1
  8. package/dist/{Department-B8HWfFX7.js → Department-CKsiqoIY.js} +3 -3
  9. package/dist/{DepartmentPanel-DXfqf0O-.js → DepartmentPanel-kCSiG2Hv.js} +1 -1
  10. package/dist/{DesignPanel-DCemiRmN.js → DesignPanel-dpjAWAxC.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BpI6lZ8h.js → DesignPanel.vue_vue_type_style_index_0_lang-e3mxfUBR.js} +2 -2
  12. package/dist/{DictView-CQZ_Z-_n.js → DictView-a_uYPbX5.js} +1 -1
  13. package/dist/{InvOrganization-Nq87pxzj.js → InvOrganization-DRhir-02.js} +1 -1
  14. package/dist/{Org-DuqSCs0N.js → Org-CqmyMUy_.js} +1 -1
  15. package/dist/{Preview-Du_1OWoT.js → Preview-CXK4KxQN.js} +1 -1
  16. package/dist/{ReportDefine-QSidK9OU.js → ReportDefine-BPBpVUdl.js} +1 -1
  17. package/dist/{ReportDesign-BH7WbI4K.js → ReportDesign-D_Cqvh_m.js} +2 -2
  18. package/dist/{ReportQuery-Br5UKVjQ.js → ReportQuery-CPCKroWq.js} +1 -1
  19. package/dist/{ReportQueryFrom-Dg-DjcMi.js → ReportQueryFrom-DtVN20Ou.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-D3RWJEGQ.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-ByBocawe.js} +1 -1
  21. package/dist/{ReportTemplate-BU3VS8FO.js → ReportTemplate-B3ubCMWK.js} +1 -1
  22. package/dist/{Role-CN18RZjI.js → Role-Bq2GjT1k.js} +3 -3
  23. package/dist/{RoleAssign-DXloJByw.js → RoleAssign-CZGTP6M1.js} +3 -3
  24. package/dist/{RolePanel-DGW5mWjQ.js → RolePanel-B_2W2wLA.js} +1 -1
  25. package/dist/{RolePanel-CZmXekBA.js → RolePanel-DeHHsXTQ.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DAtJnQI4.js → RolePanel.vue_vue_type_script_setup_true_lang-D165_X8i.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-DdvxxsMl.js → RolePanel.vue_vue_type_script_setup_true_lang-F40M5JeR.js} +3 -3
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DzZ9CZig.js → ScrollPanel.vue_vue_type_style_index_0_lang-CjBEiasb.js} +1 -1
  29. package/dist/{Staff-qG73AUgD.js → Staff-e7v32WE7.js} +3 -3
  30. package/dist/{StaffInfo-COP7bCup.js → StaffInfo-CO0VfxT1.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-BityQi7n.js → StaffInfo.vue_vue_type_script_setup_true_lang-DerORcB0.js} +1 -1
  32. package/dist/{StaffPanel-CB7cBhYD.js → StaffPanel-ZslIuuEe.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DcPck6b8.js → StaffPanel.vue_vue_type_script_setup_true_lang-ONDmYqiK.js} +2 -2
  34. package/dist/{SysUser-Dmfu9N7S.js → SysUser-1LJIDkLs.js} +2 -2
  35. package/dist/{SysUserPanel-C2O-P9nB.js → SysUserPanel-DGz0upa2.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DyF3Tmps.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BxDkwKk4.js} +1 -1
  37. package/dist/{SystemMenu-QZaHtPet.js → SystemMenu-BJFA-7na.js} +2 -2
  38. package/dist/{UserInfo-CxP5kr_T.js → UserInfo-DgEgNcI1.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-pe7FALf9.js → UserInfo.vue_vue_type_style_index_0_lang-0LeXBHJO.js} +1 -1
  40. package/dist/{childView-LCu_Df1q.js → childView-n3PQsXw_.js} +1 -1
  41. package/dist/{childView-ohYBzZ0o.js → childView-sWkqPxWe.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-DJletJUx.js → childView.vue_vue_type_style_index_0_lang-DlACXm6-.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-jbOoVsYJ.js → childView.vue_vue_type_style_index_0_lang-XGM6istV.js} +1 -1
  44. package/dist/{code-rule-B9eZeeo8.js → code-rule-B5swnIDE.js} +1 -1
  45. package/dist/core.es.js +6 -6
  46. package/dist/{cron-task-Dp71tYa4.js → cron-task-BgeQLdRW.js} +1 -1
  47. package/dist/{frameView-02snW4T6.js → frameView-B37Oqu4T.js} +1 -1
  48. package/dist/{index-gL1hMTqJ.js → index-BLLwR2mu.js} +2673 -2071
  49. package/dist/{layout-home-DCrNKejz.js → layout-home-mag8cpgN.js} +1 -1
  50. package/dist/{layoutView-Cu3YZ1zM.js → layoutView-D4YY2av1.js} +554 -558
  51. package/dist/{log-in-C0oqCCsq.js → log-in-BPUMwivh.js} +1 -1
  52. package/dist/{log-out-DsTsQcQT.js → log-out-py6304lk.js} +1 -1
  53. package/dist/{login-_IgWG4L5.js → login-BITK6XJ-.js} +15 -15
  54. package/dist/{lov-view-B4HvQI1i.js → lov-view-Cv-0Ii-W.js} +2 -2
  55. package/dist/{menuInfo-y_CFBZLU.js → menuInfo-DqQdEkla.js} +1 -1
  56. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BNgwCBo4.js → menuInfo.vue_vue_type_style_index_0_lang-CObiQiIC.js} +1 -1
  57. package/dist/{pda-app-DplNCuYS.js → pda-app-PLxdqt6q.js} +18 -18
  58. package/dist/{resource-C2fCs2gF.js → resource-Dz8NFuxi.js} +5 -5
  59. package/dist/{su-welcome-Q0C5LnI_.js → su-welcome-CSWrN5Dc.js} +8 -4
  60. package/dist/{sys-config-Bsb7aFcn.js → sys-config-BJY2IkSZ.js} +13 -13
  61. package/dist/udp-core.css +1 -1
  62. package/dist/{useNav-D5jP-2AH.js → useNav-BT7Od00q.js} +20 -20
  63. package/package.json +1 -1
  64. package/src/api/index.ts +51 -33
  65. package/src/components/udp/content/index.vue +93 -88
  66. package/src/components/udp/grid/index.vue +546 -524
  67. package/src/components/udp/index.ts +8 -6
  68. package/src/components/udp/upload/index.vue +444 -0
  69. package/src/main.ts +111 -111
  70. package/src/views/uhome/components/home-todo.vue +2 -0
  71. package/types/global.d.ts +234 -232
  72. package/src/components/SuTable/SuTable.vue +0 -334
@@ -1,9 +1,9 @@
1
- import { defineComponent as q, ref as $, reactive as T, computed as x, onMounted as J, resolveComponent as p, resolveDirective as R, withDirectives as K, createElementBlock as H, openBlock as k, createElementVNode as u, createVNode as a, withCtx as s, createBlock as A, createCommentVNode as P, unref as b, createTextVNode as F, toDisplayString as d } from "vue";
1
+ import { defineComponent as q, ref as $, reactive as T, computed as J, onMounted as x, resolveComponent as p, resolveDirective as R, withDirectives as K, createElementBlock as H, openBlock as k, createElementVNode as u, createVNode as a, withCtx as s, createBlock as A, createCommentVNode as P, unref as b, createTextVNode as F, toDisplayString as d } from "vue";
2
2
  import { useI18n as Q } from "vue-i18n";
3
- import { t as B } from "./await-to-js.es5-Bv3Eu4mi.js";
3
+ import { t as z } from "./await-to-js.es5-Bv3Eu4mi.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 { w as ee, x as te, y as M, i as le } from "./index-gL1hMTqJ.js";
6
+ import { y as ee, z as te, A as B, i as le } from "./index-BLLwR2mu.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" }, ie = { class: "pl-2 text-xs" }, ne = { class: "pl-2" }, ue = { class: "pl-2" }, de = { class: "flex items-center" }, re = { class: "pl-2 text-xs" }, pe = { class: "pl-2" }, me = { class: "flex items-center" }, ce = { class: "pl-2 text-xs" }, ge = { class: "flex justify-end w-1/2 p-2" }, N = "/upfm/v1/sysConfig", Ve = /* @__PURE__ */ q({
8
8
  __name: "sys-config",
9
9
  setup(fe) {
@@ -23,7 +23,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
23
23
  favicon: []
24
24
  }), h = le(), { t: g } = Q(), f = $(ee());
25
25
  let m = [];
26
- const S = [
26
+ const M = [
27
27
  "#DC143C",
28
28
  "#FF1493",
29
29
  "#FF00FF",
@@ -54,7 +54,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
54
54
  "#FF0000",
55
55
  "#800000",
56
56
  "#C0C0C0"
57
- ], z = T({
57
+ ], S = T({
58
58
  defaultLanguage: [
59
59
  {
60
60
  required: !0,
@@ -63,7 +63,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
63
63
  }
64
64
  ],
65
65
  title: [{ required: !0, message: g("message.required") + g("message.udp.systemTitle"), trigger: "blur" }]
66
- }), _ = x(() => {
66
+ }), _ = J(() => {
67
67
  const e = E.get(te);
68
68
  return {
69
69
  Authorization: "Bearer " + JSON.parse(e).accessToken
@@ -84,7 +84,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
84
84
  y.value = !0;
85
85
  const n = m.filter((r) => !r.id), i = m.filter((r) => r.id), c = [];
86
86
  n.length ? c.push(h.post(N, n)) : c.push(h.put(N, i));
87
- const [C] = await B(Promise.all(c));
87
+ const [C] = await z(Promise.all(c));
88
88
  C || (W(), U()), y.value = !1;
89
89
  }
90
90
  });
@@ -102,10 +102,10 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
102
102
  }
103
103
  });
104
104
  }, I = async () => {
105
- const [e, t] = await B(h.get(N, {}));
105
+ const [e, t] = await z(h.get(N, {}));
106
106
  e || (m = t.list), U();
107
107
  };
108
- return J(() => {
108
+ return x(() => {
109
109
  I();
110
110
  }), (e, t) => {
111
111
  const n = p("el-input"), i = p("el-form-item"), c = p("el-option"), C = p("el-select"), r = p("el-switch"), Y = p("vxe-color-picker"), v = p("el-button"), w = p("el-upload"), G = p("el-form"), O = R("spinning");
@@ -115,7 +115,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
115
115
  ref_key: "xfrom",
116
116
  ref: j,
117
117
  model: l,
118
- rules: z,
118
+ rules: S,
119
119
  "label-width": "90",
120
120
  size: "small",
121
121
  "status-icon": "",
@@ -227,7 +227,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
227
227
  ]),
228
228
  _: 1
229
229
  }, 8, ["label"]),
230
- ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(M))) ? (k(), A(i, {
230
+ ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(B))) ? (k(), A(i, {
231
231
  key: 0,
232
232
  label: e.$t("message.udp.techSupport"),
233
233
  prop: "techSupport"
@@ -242,7 +242,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
242
242
  ]),
243
243
  _: 1
244
244
  }, 8, ["label"])) : P("", !0),
245
- ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(M))) ? (k(), A(i, {
245
+ ["liwei", "yanhuaijun", "phr", "zhonglijun", "ccl"].includes(b(E).get(b(B))) ? (k(), A(i, {
246
246
  key: 1,
247
247
  label: e.$t("message.udp.baseColor"),
248
248
  prop: "baseColor"
@@ -251,7 +251,7 @@ const ae = { class: "flex flex-col items-center pt-20 bg-white u-system-config"
251
251
  a(Y, {
252
252
  modelValue: l.baseColor,
253
253
  "onUpdate:modelValue": t[8] || (t[8] = (o) => l.baseColor = o),
254
- colors: S,
254
+ colors: M,
255
255
  type: "hex",
256
256
  clearable: "",
257
257
  transfer: ""