@utogether/udp-core 1.0.1-beta.10 → 1.0.1-beta.12

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 (84) hide show
  1. package/dist/{403-Ctxjn4q8.js → 403-D7L5zm05.js} +1 -1
  2. package/dist/{404-W5yzyiZ9.js → 404-BQKzkK5W.js} +1 -1
  3. package/dist/{500-DXuGEOm4.js → 500-BM6k8XR5.js} +1 -1
  4. package/dist/{AuthorityInfo-C2tflCt8.js → AuthorityInfo-Dc-7W4L_.js} +1 -1
  5. package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-SVgy3HX7.js → AuthorityInfo.vue_vue_type_style_index_0_lang-CKvlh3lm.js} +1 -1
  6. package/dist/{Company-PLez5GoH.js → Company-BgwMUr-I.js} +3 -3
  7. package/dist/{CompanyPanel-CIGaQooL.js → CompanyPanel-CDfVCPKC.js} +1 -1
  8. package/dist/{Department-B9wLsXFm.js → Department-CFvEB4Ys.js} +3 -3
  9. package/dist/{DepartmentPanel-DSM4lTaz.js → DepartmentPanel-11Ytcj2u.js} +1 -1
  10. package/dist/{DesignPanel-B6a9wW_A.js → DesignPanel-CP8z6teZ.js} +1 -1
  11. package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DtHfoDQk.js → DesignPanel.vue_vue_type_style_index_0_lang-Cp-WR8yE.js} +2 -2
  12. package/dist/{DictView-DhFbQxdJ.js → DictView-13NoDgPW.js} +1 -1
  13. package/dist/InvOrganization-DOD4QdEX.js +72 -0
  14. package/dist/{Org-DxBkYabD.js → Org-cezJs-6P.js} +1 -1
  15. package/dist/{Preview-BFtRpBxw.js → Preview-DzOKwnp8.js} +1 -1
  16. package/dist/{ReportDefine-BIa2QryC.js → ReportDefine-DWJq2q0f.js} +1 -1
  17. package/dist/{ReportDesign-CnyjI-WD.js → ReportDesign-f_ed8u_q.js} +2 -2
  18. package/dist/{ReportQuery-BiK7yEhV.js → ReportQuery-D58gv_yZ.js} +1 -1
  19. package/dist/{ReportQueryFrom-C2rqdFTm.js → ReportQueryFrom-R0R6EbYv.js} +1 -1
  20. package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-Ba9HLnXQ.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CIFpgUAH.js} +1 -1
  21. package/dist/{ReportTemplate-DdkLscP3.js → ReportTemplate-BTknctTT.js} +1 -1
  22. package/dist/{Role-BrsxgK8D.js → Role-QTDJ16h8.js} +3 -3
  23. package/dist/{RoleAssign-DiqwJqDa.js → RoleAssign-7aZ3ufp5.js} +3 -3
  24. package/dist/{RolePanel-Dqx5dI3f.js → RolePanel-CSe-UoR5.js} +1 -1
  25. package/dist/{RolePanel-BDusGyo7.js → RolePanel-XXwmaAgy.js} +1 -1
  26. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-2Z1q_5uW.js → RolePanel.vue_vue_type_script_setup_true_lang-BsNhkvFo.js} +1 -1
  27. package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-B5lUnaMI.js → RolePanel.vue_vue_type_script_setup_true_lang-kConrKpo.js} +3 -3
  28. package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-vSP23fEq.js → ScrollPanel.vue_vue_type_style_index_0_lang-DtaqM_iA.js} +1 -1
  29. package/dist/{Staff-Cwi9LQiZ.js → Staff-BsREgfrQ.js} +3 -3
  30. package/dist/{StaffInfo-XjVtyaMv.js → StaffInfo-CQtVXfvS.js} +1 -1
  31. package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-wSrAuyet.js → StaffInfo.vue_vue_type_script_setup_true_lang-BRRtcGIH.js} +1 -1
  32. package/dist/{StaffPanel-C-wYcFdv.js → StaffPanel-cQTAulcP.js} +1 -1
  33. package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-DZNArmnC.js → StaffPanel.vue_vue_type_script_setup_true_lang-BLeXlrI1.js} +2 -2
  34. package/dist/{SysUser-O4tvr-Ur.js → SysUser-DN5_46io.js} +2 -2
  35. package/dist/{SysUserPanel-B853docZ.js → SysUserPanel-DTBNR42y.js} +1 -1
  36. package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-DhiYYC97.js → SysUserPanel.vue_vue_type_script_setup_true_lang-CF2pHcPP.js} +1 -1
  37. package/dist/{SystemMenu-CXR6mrXr.js → SystemMenu-D9TKZwgb.js} +2 -2
  38. package/dist/{UserInfo-BkP8pE2a.js → UserInfo-DJ5LRTMe.js} +1 -1
  39. package/dist/{UserInfo.vue_vue_type_style_index_0_lang-D4r_umjV.js → UserInfo.vue_vue_type_style_index_0_lang-CIpPef_S.js} +1 -1
  40. package/dist/{childView-D0HwbgDT.js → childView-CGZSd19y.js} +1 -1
  41. package/dist/{childView-TRqUkSDC.js → childView-DrL_Qi-q.js} +1 -1
  42. package/dist/{childView.vue_vue_type_style_index_0_lang-BzISq0Jf.js → childView.vue_vue_type_style_index_0_lang-B8wEeuFX.js} +1 -1
  43. package/dist/{childView.vue_vue_type_style_index_0_lang-DQRgNsJY.js → childView.vue_vue_type_style_index_0_lang-D2AzjPNV.js} +1 -1
  44. package/dist/{code-rule-BV7PQWhK.js → code-rule-DVEoh1Z4.js} +1 -1
  45. package/dist/core.es.js +1 -1
  46. package/dist/{cron-task-9ZS9bi7K.js → cron-task-BBpccUV_.js} +1 -1
  47. package/dist/{frameView-DE83AN50.js → frameView-Cw6_EqfJ.js} +1 -1
  48. package/dist/index-BAkwQh8m.js +4467 -0
  49. package/dist/{layoutView-D1U-c4By.js → layoutView-CL2Ef3bw.js} +1187 -1183
  50. package/dist/{login-sPCEiTGT.js → login-BDocwo7t.js} +115 -108
  51. package/dist/{lov-view-76NcYTYl.js → lov-view-R8nnUEbA.js} +2 -2
  52. package/dist/{menuInfo-CxjfjFpm.js → menuInfo-B-nGOcSv.js} +1 -1
  53. package/dist/{menuInfo.vue_vue_type_style_index_0_lang-C2qahH3r.js → menuInfo.vue_vue_type_style_index_0_lang-1VuzxMb0.js} +1 -1
  54. package/dist/{pda-app-BUH16bLj.js → pda-app-D5wBClj0.js} +1 -1
  55. package/dist/{resource-CCuHzoA6.js → resource-BXGSsXzw.js} +1 -1
  56. package/dist/{su-welcome-mRArONsd.js → su-welcome-DISZAkBB.js} +1 -1
  57. package/dist/sys-config-DuyYdzXL.js +290 -0
  58. package/dist/udp-core.css +2 -2
  59. package/dist/{utogether-Dm_VBQHR.js → utogether-C2KGHvut.js} +1 -1
  60. package/package.json +18 -18
  61. package/src/api/index.ts +31 -31
  62. package/src/components/udp/form.vue +2 -2
  63. package/src/components/udp/modal-form.vue +2 -1
  64. package/src/components/udp/modal-grid.vue +11 -1
  65. package/src/layout/components/lay-navbar/index.vue +239 -237
  66. package/src/layout/components/lay-search/index.vue +1 -1
  67. package/src/layout/components/lay-select-org/index.vue +64 -69
  68. package/src/layout/components/lay-sidebar/horizontal.vue +190 -191
  69. package/src/layout/components/lay-sidebar/mixNav.vue +260 -258
  70. package/src/layout/components/lay-sidebar/sidebar-logo.vue +92 -98
  71. package/src/layout/hooks/useNav.ts +173 -173
  72. package/src/main.ts +119 -119
  73. package/src/plugins/i18n/zh.ts +1 -0
  74. package/src/router/index.ts +3 -13
  75. package/src/store/modules/permission.ts +1 -4
  76. package/src/utils/propTypes.ts +42 -47
  77. package/src/utils/udp/http/index.ts +283 -281
  78. package/src/views/login/login-view.vue +300 -314
  79. package/src/views/organization/inv-org/InvOrganization.vue +68 -53
  80. package/src/views/system/sys/sys-config.vue +287 -291
  81. package/src/views/ulogin/login.vue +3 -4
  82. package/dist/InvOrganization-D90AbR3b.js +0 -66
  83. package/dist/index-DVARtten.js +0 -2623
  84. package/dist/sys-config-Cvt05yF6.js +0 -277
@@ -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-DVARtten.js";
4
- import { _ as D } from "./childView.vue_vue_type_style_index_0_lang-DQRgNsJY.js";
3
+ import { q as b } from "./index-BAkwQh8m.js";
4
+ import { _ as D } from "./childView.vue_vue_type_style_index_0_lang-D2AzjPNV.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-C2qahH3r.js";
1
+ import { _ as f } from "./menuInfo.vue_vue_type_style_index_0_lang-1VuzxMb0.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,7 +2,7 @@ import { defineComponent as M, watch as Y, ref as w, resolveComponent as u, crea
2
2
  import { useI18n as X } from "vue-i18n";
3
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-DVARtten.js";
5
+ import { e as x, q as ee } from "./index-BAkwQh8m.js";
6
6
  const te = { class: "ut-menu-wrapper" }, N = "/uums/menu", se = /* @__PURE__ */ M({
7
7
  __name: "menuInfo",
8
8
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as re, ref as N, computed as G, 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, x as xe, q as $e, _ as Pe } from "./index-DVARtten.js";
4
+ import { I as Se, x as xe, q as $e, _ as Pe } from "./index-BAkwQh8m.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 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-DVARtten.js";
4
+ import { x as y } from "./index-BAkwQh8m.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 ne } from "vue-router";
3
3
  import oe from "dayjs";
4
4
  import { dbstorage as le, delay as ae, warnMessage as ie, successMessage as ce, lunarCalendar as re, cookies as ue } from "@utogether/utils";
5
- import { q as G, e as de, n as me, _ as fe } from "./index-DVARtten.js";
5
+ import { q as G, e as de, n as me, _ as fe } from "./index-BAkwQh8m.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({
@@ -0,0 +1,290 @@
1
+ import { defineComponent as G, ref as k, reactive as E, computed as M, onMounted as O, resolveComponent as g, resolveDirective as S, withDirectives as q, createElementBlock as A, openBlock as B, createElementVNode as u, createVNode as l, withCtx as s, createTextVNode as b, toDisplayString as d } from "vue";
2
+ import { useI18n as F } from "vue-i18n";
3
+ import { t as U } from "./await-to-js.es5-BtRbN2QH.js";
4
+ import { cookies as x, successMessage as J, warnMessage as Y } from "@utogether/utils";
5
+ import { isArray as K } from "xe-utils";
6
+ import { x as R, m as H, q as Q } from "./index-BAkwQh8m.js";
7
+ const W = { class: "flex flex-col items-center pt-20 bg-white u-system-config" }, X = { class: "flex w-1/2 p-3 overflow-y-auto border border-gray-300 rounded-md" }, Z = { class: "flex items-center" }, ee = { class: "pl-2 text-xs" }, te = { class: "pl-2" }, ae = { class: "pl-2" }, le = { class: "flex items-center" }, se = { class: "pl-2 text-xs" }, oe = { class: "pl-2" }, ne = { class: "flex items-center" }, ie = { class: "pl-2 text-xs" }, ue = { class: "flex justify-end w-1/2 p-2" }, L = "/upfm/v1/sysConfig", ve = /* @__PURE__ */ G({
8
+ __name: "sys-config",
9
+ setup(de) {
10
+ const C = k(), y = k(!1), a = E({
11
+ defaultLanguage: "zh",
12
+ title: "U-DP",
13
+ ispTitle: "U-DP",
14
+ i18nEnabled: "N",
15
+ orgTaggle: "Y",
16
+ copyright: "深圳友聚信息技术有限公司",
17
+ logo: [],
18
+ backgroundImg: [],
19
+ favicon: []
20
+ }), _ = Q(), { t: c } = F(), f = k(R());
21
+ let r = [];
22
+ const T = E({
23
+ defaultLanguage: [
24
+ {
25
+ required: !0,
26
+ message: c("message.required") + c("message.udp.defaultLanguage"),
27
+ trigger: "blur"
28
+ }
29
+ ],
30
+ title: [{ required: !0, message: c("message.required") + c("message.udp.systemTitle"), trigger: "blur" }]
31
+ }), h = M(() => {
32
+ const e = x.get(H);
33
+ return {
34
+ Authorization: "Bearer " + JSON.parse(e).accessToken
35
+ };
36
+ }), P = (e) => {
37
+ Object.keys(a).forEach((t) => {
38
+ const o = {
39
+ configCode: t,
40
+ configValue: a[t],
41
+ configCategory: "system",
42
+ fileName: ""
43
+ };
44
+ K(a[t]) && (o.configValue = N(a[t][0]).url, o.fileName = N(a[t][0]).name);
45
+ const n = r.findIndex((p) => p.configCode === t);
46
+ n !== -1 ? r[n] = Object.assign(r[n], o) : r.push(o);
47
+ }), e == null || e.validate(async (t) => {
48
+ if (t) {
49
+ y.value = !0;
50
+ const o = r.filter((m) => !m.id), n = r.filter((m) => m.id), p = [];
51
+ o.length ? p.push(_.post(L, o)) : p.push(_.put(L, n));
52
+ const [$] = await U(Promise.all(p));
53
+ $ || (J(), w()), y.value = !1;
54
+ }
55
+ });
56
+ }, N = (e) => e != null && e.response ? { url: e.response.data, name: e.name } : { url: (e == null ? void 0 : e.realpath) || (e == null ? void 0 : e.url), name: e == null ? void 0 : e.name }, V = (e) => {
57
+ if (e)
58
+ return Y(c("message.tip.singleImg"));
59
+ }, w = () => {
60
+ Object.keys(a).forEach((e) => {
61
+ const t = r.find((o) => o.configCode === e);
62
+ if (t && (a[t.configCode] = t.configValue || a[t.configCode], t.fileName)) {
63
+ const { configValue: o, fileName: n } = t;
64
+ a[t.configCode] = [
65
+ { url: f.value + "/ufil" + o, realpath: o, name: n }
66
+ ];
67
+ }
68
+ });
69
+ }, z = async () => {
70
+ const [e, t] = await U(_.get(L, {}));
71
+ e || (r = t.list), w();
72
+ };
73
+ return O(() => {
74
+ z();
75
+ }), (e, t) => {
76
+ const o = g("el-input"), n = g("el-form-item"), p = g("el-option"), $ = g("el-select"), m = g("el-switch"), v = g("el-button"), j = g("el-upload"), I = g("el-form"), D = S("spinning");
77
+ return q((B(), A("div", W, [
78
+ u("div", X, [
79
+ l(I, {
80
+ ref_key: "xfrom",
81
+ ref: C,
82
+ model: a,
83
+ rules: T,
84
+ "label-width": "90",
85
+ size: "small",
86
+ "status-icon": "",
87
+ class: "w-full"
88
+ }, {
89
+ default: s(() => [
90
+ l(n, {
91
+ label: e.$t("message.udp.systemTitle"),
92
+ prop: "title"
93
+ }, {
94
+ default: s(() => [
95
+ l(o, {
96
+ modelValue: a.title,
97
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => a.title = i)
98
+ }, null, 8, ["modelValue"])
99
+ ]),
100
+ _: 1
101
+ }, 8, ["label"]),
102
+ l(n, {
103
+ label: e.$t("message.udp.copyright"),
104
+ prop: "copyright"
105
+ }, {
106
+ default: s(() => [
107
+ l(o, {
108
+ modelValue: a.copyright,
109
+ "onUpdate:modelValue": t[1] || (t[1] = (i) => a.copyright = i)
110
+ }, null, 8, ["modelValue"])
111
+ ]),
112
+ _: 1
113
+ }, 8, ["label"]),
114
+ l(n, {
115
+ label: e.$t("message.udp.defaultLanguage"),
116
+ prop: "defaultLanguage"
117
+ }, {
118
+ default: s(() => [
119
+ l($, {
120
+ modelValue: a.defaultLanguage,
121
+ "onUpdate:modelValue": t[2] || (t[2] = (i) => a.defaultLanguage = i),
122
+ placeholder: "please select"
123
+ }, {
124
+ default: s(() => [
125
+ l(p, {
126
+ label: "中文",
127
+ value: "zh"
128
+ }),
129
+ l(p, {
130
+ label: "英文",
131
+ value: "en"
132
+ })
133
+ ]),
134
+ _: 1
135
+ }, 8, ["modelValue"])
136
+ ]),
137
+ _: 1
138
+ }, 8, ["label"]),
139
+ l(n, {
140
+ label: e.$t("message.udp.i18nEnabled"),
141
+ prop: "i18nEnabled"
142
+ }, {
143
+ default: s(() => [
144
+ l(m, {
145
+ modelValue: a.i18nEnabled,
146
+ "onUpdate:modelValue": t[3] || (t[3] = (i) => a.i18nEnabled = i),
147
+ "active-value": "Y",
148
+ "inactive-value": "N"
149
+ }, null, 8, ["modelValue"])
150
+ ]),
151
+ _: 1
152
+ }, 8, ["label"]),
153
+ l(n, {
154
+ label: e.$t("message.udp.orgTaggle"),
155
+ prop: "orgTaggle"
156
+ }, {
157
+ default: s(() => [
158
+ l(m, {
159
+ modelValue: a.orgTaggle,
160
+ "onUpdate:modelValue": t[4] || (t[4] = (i) => a.orgTaggle = i),
161
+ "active-value": "Y",
162
+ "inactive-value": "N"
163
+ }, null, 8, ["modelValue"])
164
+ ]),
165
+ _: 1
166
+ }, 8, ["label"]),
167
+ l(n, {
168
+ label: e.$t("message.udp.systemLogo")
169
+ }, {
170
+ default: s(() => [
171
+ l(j, {
172
+ "file-list": a.logo,
173
+ "onUpdate:fileList": t[5] || (t[5] = (i) => a.logo = i),
174
+ class: "u-upload",
175
+ action: f.value + "/ufil/file/uploadMultipart",
176
+ headers: h.value,
177
+ "on-exceed": V,
178
+ accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
179
+ "list-type": "picture",
180
+ limit: 1
181
+ }, {
182
+ default: s(() => [
183
+ u("div", Z, [
184
+ l(v, { type: "primary" }, {
185
+ default: s(() => [
186
+ b(d(e.$t("message.btn.upload")), 1)
187
+ ]),
188
+ _: 1
189
+ }),
190
+ u("div", ee, [
191
+ u("span", null, d(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
192
+ u("span", te, d(e.$t("message.tip.imageSize", { size: ": 600 * 200" })), 1),
193
+ u("span", ae, d(e.$t("message.tip.imageCapacity", { capacity: ": <50kb" })), 1)
194
+ ])
195
+ ])
196
+ ]),
197
+ _: 1
198
+ }, 8, ["file-list", "action", "headers"])
199
+ ]),
200
+ _: 1
201
+ }, 8, ["label"]),
202
+ l(n, {
203
+ label: e.$t("message.udp.homeBackimg")
204
+ }, {
205
+ default: s(() => [
206
+ l(j, {
207
+ "file-list": a.backgroundImg,
208
+ "onUpdate:fileList": t[6] || (t[6] = (i) => a.backgroundImg = i),
209
+ class: "u-upload",
210
+ action: f.value + "/ufil/file/uploadMultipart",
211
+ headers: h.value,
212
+ "on-exceed": V,
213
+ accept: ".png,.jpg,.jpeg,.PNG,.JPEG,.jPG",
214
+ "list-type": "picture",
215
+ limit: 1
216
+ }, {
217
+ default: s(() => [
218
+ u("div", le, [
219
+ l(v, { type: "primary" }, {
220
+ default: s(() => [
221
+ b(d(e.$t("message.btn.upload")), 1)
222
+ ]),
223
+ _: 1
224
+ }),
225
+ u("div", se, [
226
+ u("span", null, d(e.$t("message.tip.uploadFormat", { type: ": *.png,*.jpg;" })), 1),
227
+ u("span", oe, d(e.$t("message.tip.imageSize", { size: ": 4096 * 2048" })), 1)
228
+ ])
229
+ ])
230
+ ]),
231
+ _: 1
232
+ }, 8, ["file-list", "action", "headers"])
233
+ ]),
234
+ _: 1
235
+ }, 8, ["label"]),
236
+ l(n, {
237
+ label: e.$t("message.udp.systemFavicon")
238
+ }, {
239
+ default: s(() => [
240
+ l(j, {
241
+ "file-list": a.favicon,
242
+ "onUpdate:fileList": t[7] || (t[7] = (i) => a.favicon = i),
243
+ class: "u-upload",
244
+ action: f.value + "/ufil/file/uploadMultipart",
245
+ headers: h.value,
246
+ "on-exceed": V,
247
+ accept: ".ico",
248
+ "list-type": "picture",
249
+ limit: 1
250
+ }, {
251
+ default: s(() => [
252
+ u("div", ne, [
253
+ l(v, { type: "primary" }, {
254
+ default: s(() => [
255
+ b(d(e.$t("message.btn.upload")), 1)
256
+ ]),
257
+ _: 1
258
+ }),
259
+ u("div", ie, d(e.$t("message.tip.uploadFormat", { type: ": *.ico,.png*.jpg;" })), 1)
260
+ ])
261
+ ]),
262
+ _: 1
263
+ }, 8, ["file-list", "action", "headers"])
264
+ ]),
265
+ _: 1
266
+ }, 8, ["label"])
267
+ ]),
268
+ _: 1
269
+ }, 8, ["model", "rules"])
270
+ ]),
271
+ u("div", ue, [
272
+ l(v, {
273
+ type: "primary",
274
+ onClick: t[8] || (t[8] = (i) => P(C.value))
275
+ }, {
276
+ default: s(() => [
277
+ b(d(e.$t("message.btn.confirm")), 1)
278
+ ]),
279
+ _: 1
280
+ })
281
+ ])
282
+ ])), [
283
+ [D, y.value]
284
+ ]);
285
+ };
286
+ }
287
+ });
288
+ export {
289
+ ve as default
290
+ };