yh-pub 2.0.32 → 2.0.34

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 (36) hide show
  1. package/{AdminLogin-DmBEbRiR.js → AdminLogin-B6urma5G.js} +2 -2
  2. package/{AdminLogin-DmBEbRiR.js.map → AdminLogin-B6urma5G.js.map} +1 -1
  3. package/{Error-DbLtZWd3.js → Error-YEJNA7SZ.js} +2 -2
  4. package/{Error-DbLtZWd3.js.map → Error-YEJNA7SZ.js.map} +1 -1
  5. package/{Error401-Dm7POI60.js → Error401-E4pHHcHG.js} +3 -3
  6. package/{Error401-Dm7POI60.js.map → Error401-E4pHHcHG.js.map} +1 -1
  7. package/{Error404-DTxXfh_L.js → Error404-yCAmJMiF.js} +3 -3
  8. package/{Error404-DTxXfh_L.js.map → Error404-yCAmJMiF.js.map} +1 -1
  9. package/{Error500-BZzsjKRm.js → Error500-D9jEXDUl.js} +3 -3
  10. package/{Error500-BZzsjKRm.js.map → Error500-D9jEXDUl.js.map} +1 -1
  11. package/{HomeIndex-D7gT6unm.js → HomeIndex-gYT_4tWA.js} +2 -2
  12. package/{HomeIndex-D7gT6unm.js.map → HomeIndex-gYT_4tWA.js.map} +1 -1
  13. package/{IconExplorer-C20HFqPl.js → IconExplorer-DS--IkRN.js} +2 -2
  14. package/{IconExplorer-C20HFqPl.js.map → IconExplorer-DS--IkRN.js.map} +1 -1
  15. package/Index-BtKC3WNZ.js +5 -0
  16. package/Index-BtKC3WNZ.js.map +1 -0
  17. package/{MainLogin-Bdok33n-.js → MainLogin-WT4vevTr.js} +2 -2
  18. package/{MainLogin-Bdok33n-.js.map → MainLogin-WT4vevTr.js.map} +1 -1
  19. package/{MenuManage-pfQIfWK_.js → MenuManage-CWbkFem5.js} +2 -2
  20. package/{MenuManage-pfQIfWK_.js.map → MenuManage-CWbkFem5.js.map} +1 -1
  21. package/{OrgManage-BZt3r_hl.js → OrgManage-DrkjKQsD.js} +2 -2
  22. package/{OrgManage-BZt3r_hl.js.map → OrgManage-DrkjKQsD.js.map} +1 -1
  23. package/{RoleManage-CM5WWubK.js → RoleManage-zU2_Sg7o.js} +2 -2
  24. package/{RoleManage-CM5WWubK.js.map → RoleManage-zU2_Sg7o.js.map} +1 -1
  25. package/{SysConfig-g_sVzaWS.js → SysConfig-BbhOofe-.js} +115 -113
  26. package/SysConfig-BbhOofe-.js.map +1 -0
  27. package/{TenantList-UUuW8_UG.js → TenantList-p7ztAouG.js} +2 -2
  28. package/{TenantList-UUuW8_UG.js.map → TenantList-p7ztAouG.js.map} +1 -1
  29. package/{index-4tVryg-6.js → index-V8IW-e9m.js} +4426 -4397
  30. package/{index-4tVryg-6.js.map → index-V8IW-e9m.js.map} +1 -1
  31. package/index.es.js +51 -49
  32. package/package.json +1 -1
  33. package/style.css +1 -1
  34. package/Index-B2kW5XRu.js +0 -5
  35. package/Index-B2kW5XRu.js.map +0 -1
  36. package/SysConfig-g_sVzaWS.js.map +0 -1
@@ -1,18 +1,18 @@
1
- import { defineComponent as oe, ref as h, watch as ne, resolveComponent as c, openBlock as f, createElementBlock as L, withModifiers as I, normalizeClass as Ve, createElementVNode as N, toDisplayString as d, unref as s, createVNode as a, createCommentVNode as se, reactive as G, computed as X, onMounted as ke, onUnmounted as we, resolveDirective as Ce, Fragment as te, withCtx as n, withKeys as ae, createTextVNode as p, withDirectives as he, createBlock as k, normalizeStyle as Ne } from "vue";
1
+ import { defineComponent as ne, ref as h, watch as re, resolveComponent as c, openBlock as f, createElementBlock as L, withModifiers as I, normalizeClass as ke, createElementVNode as N, toDisplayString as d, unref as r, createVNode as a, createCommentVNode as se, reactive as G, computed as X, onMounted as we, onUnmounted as Ce, resolveDirective as he, Fragment as te, withCtx as n, withKeys as ae, createTextVNode as p, withDirectives as Ne, createBlock as k, normalizeStyle as Ee } from "vue";
2
2
  import { ElMessage as D } from "element-plus";
3
- import { c as t, _ as Ee } from "./index-4tVryg-6.js";
3
+ import { c as t, _ as Ue, v as oe } from "./index-V8IW-e9m.js";
4
4
  import { httpRequest as j } from "yh-client";
5
- const Ue = { class: "preview-area" }, Oe = ["src"], De = {
5
+ const Oe = { class: "preview-area" }, De = ["src"], Ie = {
6
6
  key: 1,
7
7
  class: "upload-prompt"
8
- }, Ie = { class: "overlay-layer" }, Le = /* @__PURE__ */ oe({
8
+ }, Le = { class: "overlay-layer" }, Se = /* @__PURE__ */ ne({
9
9
  __name: "ImageBase64Choose",
10
10
  props: {
11
11
  modelValue: String
12
12
  },
13
13
  emits: ["update:modelValue"],
14
14
  setup(H, { emit: M }) {
15
- const x = H, S = M, i = h(x.modelValue || ""), g = h(!1), B = h(null), w = (b) => {
15
+ const S = H, x = M, i = h(S.modelValue || ""), g = h(!1), B = h(null), w = (b) => {
16
16
  if (!b.type.startsWith("image/")) {
17
17
  alert(t("请选择图片文件"));
18
18
  return;
@@ -21,7 +21,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
21
21
  e.onload = (U) => {
22
22
  var R;
23
23
  const A = (R = U.target) == null ? void 0 : R.result;
24
- i.value = A, S("update:modelValue", A);
24
+ i.value = A, x("update:modelValue", A);
25
25
  }, e.readAsDataURL(b);
26
26
  }, F = () => {
27
27
  g.value = !0;
@@ -36,31 +36,31 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
36
36
  const e = b.target;
37
37
  e.files && e.files[0] && (w(e.files[0]), e.value = "");
38
38
  }, Y = () => {
39
- i.value = "", S("update:modelValue", "");
39
+ i.value = "", x("update:modelValue", "");
40
40
  };
41
- return ne(
42
- () => x.modelValue,
41
+ return re(
42
+ () => S.modelValue,
43
43
  (b) => {
44
44
  i.value = b || "";
45
45
  }
46
46
  ), (b, e) => {
47
47
  const U = c("YhIcon");
48
48
  return f(), L("div", {
49
- class: Ve(["image-base64-choose", { dragover: g.value }]),
49
+ class: ke(["image-base64-choose", { dragover: g.value }]),
50
50
  onDragover: I(F, ["prevent"]),
51
51
  onDragleave: P,
52
52
  onDrop: I(C, ["prevent"])
53
53
  }, [
54
- N("div", Ue, [
54
+ N("div", Oe, [
55
55
  i.value ? (f(), L("img", {
56
56
  key: 0,
57
57
  src: i.value,
58
58
  alt: "Preview"
59
- }, null, 8, Oe)) : (f(), L("div", De, [
60
- N("span", null, d(s(t)("点击或拖拽图片到此区域")), 1)
59
+ }, null, 8, De)) : (f(), L("div", Ie, [
60
+ N("span", null, d(r(t)("点击或拖拽图片到此区域")), 1)
61
61
  ]))
62
62
  ]),
63
- N("div", Ie, [
63
+ N("div", Le, [
64
64
  N("input", {
65
65
  type: "file",
66
66
  accept: "image/*",
@@ -79,19 +79,19 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
79
79
  ], 34);
80
80
  };
81
81
  }
82
- }), xe = /* @__PURE__ */ Ee(Le, [["__scopeId", "data-v-54df4835"]]), Se = { class: "sys-config-list-container" }, Te = { class: "sys-config-list-actions" }, Ae = { class: "sys-config-list-conditions" }, Re = { class: "sys-config-form-actions" }, Fe = /* @__PURE__ */ oe({
82
+ }), xe = /* @__PURE__ */ Ue(Se, [["__scopeId", "data-v-54df4835"]]), Te = { class: "sys-config-list-container" }, Ae = { class: "sys-config-list-actions" }, Re = { class: "sys-config-list-conditions" }, Me = { class: "sys-config-form-actions" }, Pe = /* @__PURE__ */ ne({
83
83
  __name: "SysConfig",
84
84
  setup(H) {
85
- const M = h(), x = h(), S = h(!1), i = G({
85
+ const M = h(), S = h(), x = h(!1), i = G({
86
86
  name: "",
87
87
  code: "",
88
88
  pageNum: 1,
89
89
  pageSize: 10,
90
90
  total: 0
91
- }), g = h([]), B = (r, l) => r.active === "N" ? "disabled-row" : "";
92
- function w(r = !1) {
91
+ }), g = h([]), B = (s, l) => s.active === "N" ? "disabled-row" : "";
92
+ function w(s = !1) {
93
93
  let { name: l, code: m, pageNum: u, pageSize: v } = i;
94
- r && (u = 1), S.value = !0, j.request({
94
+ s && (u = 1), x.value = !0, j.request({
95
95
  url: "/parameter/list",
96
96
  method: "POST",
97
97
  type: "json",
@@ -108,18 +108,18 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
108
108
  }).catch((y) => {
109
109
  console.error("获取配置列表失败:", y), D.error(t("获取配置列表失败,请稍后重试"));
110
110
  }).finally(() => {
111
- S.value = !1;
111
+ x.value = !1;
112
112
  });
113
113
  }
114
- ne(
114
+ re(
115
115
  () => [i.pageNum, i.pageSize],
116
116
  () => {
117
117
  w();
118
118
  }
119
119
  );
120
- function F(r) {
120
+ function F(s) {
121
121
  var l;
122
- (l = M.value) == null || l.toggleRowSelection(r);
122
+ (l = M.value) == null || l.toggleRowSelection(s);
123
123
  }
124
124
  function P() {
125
125
  i.code = "", i.name = "", i.pageNum = 1, i.total = 0, w();
@@ -140,8 +140,8 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
140
140
  value: [{ required: !0, type: "string", message: t("请输入参数配置内容") }]
141
141
  }), A = X({
142
142
  get: () => e.value === "Y",
143
- set: (r) => {
144
- e.value = r ? "Y" : "N";
143
+ set: (s) => {
144
+ e.value = s ? "Y" : "N";
145
145
  }
146
146
  }), R = [
147
147
  { value: "logoUrl", label: "logoUrl - Logo图片路径" },
@@ -150,50 +150,51 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
150
150
  { value: "moduleFilter", label: "moduleFilter - 模块筛选开关" },
151
151
  { value: "homePath", label: "homePath - 首页路径" },
152
152
  { value: "ADMIN_MENU_CONFIG_KEY", label: "ADMIN_MENU_CONFIG_KEY - 菜单配置" }
153
- ], re = (r, l) => {
154
- const m = r ? R.filter(
155
- (u) => u.value.toLowerCase().includes(r.toLowerCase())
153
+ ], ie = (s, l) => {
154
+ const m = s ? R.filter(
155
+ (u) => u.value.toLowerCase().includes(s.toLowerCase())
156
156
  ) : R;
157
157
  l(m);
158
158
  };
159
159
  function q() {
160
- var r;
161
- (r = x.value) == null || r.resetFields(), C.value = 0, e.id = void 0, E.value = !1;
160
+ var s;
161
+ (s = S.value) == null || s.resetFields(), C.value = 0, e.id = void 0, E.value = !1;
162
162
  }
163
- function ie() {
163
+ function ue() {
164
164
  e.id = void 0, e.code = "", e.name = "", e.type = "TEXT", e.active = "Y", e.value = "", e.description = "", E.value = !0;
165
165
  }
166
166
  function W() {
167
167
  if (!b.value) {
168
- let r = C.value - 1, l = g.value[r];
169
- $(l, r);
168
+ let s = C.value - 1, l = g.value[s];
169
+ $(l, s);
170
170
  }
171
171
  }
172
- function $(r, l) {
173
- C.value = l, e.id = r.id, e.code = r.code, e.name = r.name, e.type = r.type || "TEXT", e.active = r.active, e.value = r.value, e.description = r.description, E.value = !0;
172
+ function $(s, l) {
173
+ C.value = l, e.id = s.id, e.code = s.code, e.name = s.name, e.type = s.type || "TEXT", e.active = s.active, e.value = s.value, e.description = s.description, E.value = !0;
174
174
  }
175
175
  function K() {
176
176
  if (!Y.value) {
177
- let r = C.value + 1, l = g.value[r];
178
- $(l, r);
177
+ let s = C.value + 1, l = g.value[s];
178
+ $(l, s);
179
179
  }
180
180
  }
181
181
  function J() {
182
182
  var m;
183
- let r = !e.id, l = "parameter/save";
184
- (m = x.value) == null || m.validate((u) => {
183
+ let s = !e.id, l = "parameter/save";
184
+ (m = S.value) == null || m.validate((u) => {
185
185
  if (!u) return;
186
186
  let v = {
187
187
  ...e
188
188
  };
189
- r && (v.id = void 0), j.request({
189
+ s && (v.id = void 0), j.request({
190
190
  url: l,
191
191
  method: "POST",
192
192
  type: "json",
193
193
  data: v
194
194
  }).then((y) => {
195
195
  const _ = y.data;
196
- _.status === 200 ? (D.success(_.msg), r ? q() : (g.value[C.value] = {
196
+ _.status === 200 ? (D.success(_.msg), oe().catch(() => {
197
+ }), s ? q() : (g.value[C.value] = {
197
198
  ...e
198
199
  }, K())) : D.error(_.msg);
199
200
  }).catch((y) => {
@@ -201,61 +202,62 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
201
202
  });
202
203
  });
203
204
  }
204
- function Q(r, l, m) {
205
+ function Q(s, l, m) {
205
206
  j.request({
206
207
  url: "/parameter/save",
207
208
  method: "POST",
208
209
  type: "json",
209
- data: { id: r, active: m }
210
+ data: { id: s, active: m }
210
211
  }).then((u) => {
211
212
  const v = u.data;
212
213
  if (v.status === 200) {
213
214
  const y = m === "Y" ? t("启用成功") : t("禁用成功");
214
- D.success(y), g.value[l].active = m;
215
+ D.success(y), g.value[l].active = m, oe().catch(() => {
216
+ });
215
217
  } else
216
218
  D.error(v.msg);
217
219
  }).catch((u) => {
218
220
  console.error("更新状态失败:", u), D.error(t("操作失败,请稍后重试"));
219
221
  });
220
222
  }
221
- const Z = (r) => {
222
- const { key: l, ctrlKey: m, altKey: u } = r;
223
- E.value && (l === "s" && m && (r.preventDefault(), r.stopPropagation(), J()), l === "ArrowRight" && u && (r.preventDefault(), r.stopPropagation(), K()), l === "ArrowLeft" && u && (r.preventDefault(), r.stopPropagation(), W()));
223
+ const Z = (s) => {
224
+ const { key: l, ctrlKey: m, altKey: u } = s;
225
+ E.value && (l === "s" && m && (s.preventDefault(), s.stopPropagation(), J()), l === "ArrowRight" && u && (s.preventDefault(), s.stopPropagation(), K()), l === "ArrowLeft" && u && (s.preventDefault(), s.stopPropagation(), W()));
224
226
  };
225
- return ke(() => {
227
+ return we(() => {
226
228
  w(), window.addEventListener("keydown", Z);
227
- }), we(() => {
229
+ }), Ce(() => {
228
230
  window.removeEventListener("keydown", Z);
229
- }), (r, l) => {
230
- const m = c("el-input"), u = c("el-form-item"), v = c("el-button"), y = c("el-form"), _ = c("el-table-column"), z = c("el-image"), ue = c("el-tag"), de = c("el-table"), pe = c("el-pagination"), T = c("el-col"), ce = c("el-autocomplete"), O = c("el-radio"), ee = c("el-radio-group"), me = c("el-input-number"), ve = c("el-color-picker"), fe = c("el-date-picker"), _e = c("el-switch"), ge = c("el-row"), be = c("el-dialog"), ye = Ce("loading");
231
+ }), (s, l) => {
232
+ const m = c("el-input"), u = c("el-form-item"), v = c("el-button"), y = c("el-form"), _ = c("el-table-column"), z = c("el-image"), de = c("el-tag"), pe = c("el-table"), ce = c("el-pagination"), T = c("el-col"), me = c("el-autocomplete"), O = c("el-radio"), ee = c("el-radio-group"), ve = c("el-input-number"), fe = c("el-color-picker"), _e = c("el-date-picker"), ge = c("el-switch"), be = c("el-row"), ye = c("el-dialog"), Ve = he("loading");
231
233
  return f(), L(te, null, [
232
- N("div", Se, [
233
- N("div", Te, [
234
- N("div", Ae, [
234
+ N("div", Te, [
235
+ N("div", Ae, [
236
+ N("div", Re, [
235
237
  a(y, { inline: "" }, {
236
238
  default: n(() => [
237
239
  a(u, {
238
- label: s(t)("名称")
240
+ label: r(t)("名称")
239
241
  }, {
240
242
  default: n(() => [
241
243
  a(m, {
242
244
  modelValue: i.name,
243
245
  "onUpdate:modelValue": l[0] || (l[0] = (o) => i.name = o),
244
246
  onKeyup: l[1] || (l[1] = ae(I((o) => w(!0), ["stop", "prevent"]), ["enter"])),
245
- placeholder: s(t)("键入以筛选名称")
247
+ placeholder: r(t)("键入以筛选名称")
246
248
  }, null, 8, ["modelValue", "placeholder"])
247
249
  ]),
248
250
  _: 1
249
251
  }, 8, ["label"]),
250
252
  a(u, {
251
- label: s(t)("编码")
253
+ label: r(t)("编码")
252
254
  }, {
253
255
  default: n(() => [
254
256
  a(m, {
255
257
  modelValue: i.code,
256
258
  "onUpdate:modelValue": l[2] || (l[2] = (o) => i.code = o),
257
259
  onKeyup: l[3] || (l[3] = ae(I((o) => w(!0), ["stop", "prevent"]), ["enter"])),
258
- placeholder: s(t)("键入以筛选编码")
260
+ placeholder: r(t)("键入以筛选编码")
259
261
  }, null, 8, ["modelValue", "placeholder"])
260
262
  ]),
261
263
  _: 1
@@ -264,7 +266,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
264
266
  default: n(() => [
265
267
  a(v, { onClick: P }, {
266
268
  default: n(() => [
267
- p(d(s(t)("重置")), 1)
269
+ p(d(r(t)("重置")), 1)
268
270
  ]),
269
271
  _: 1
270
272
  }),
@@ -273,7 +275,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
273
275
  onClick: w
274
276
  }, {
275
277
  default: n(() => [
276
- p(d(s(t)("搜索")), 1)
278
+ p(d(r(t)("搜索")), 1)
277
279
  ]),
278
280
  _: 1
279
281
  })
@@ -286,16 +288,16 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
286
288
  ]),
287
289
  a(v, {
288
290
  type: "primary",
289
- onClick: ie
291
+ onClick: ue
290
292
  }, {
291
293
  default: n(() => [
292
294
  l[20] || (l[20] = N("i", { class: "iconfont icon-add" }, null, -1)),
293
- p(" " + d(s(t)("新增")), 1)
295
+ p(" " + d(r(t)("新增")), 1)
294
296
  ]),
295
297
  _: 1
296
298
  })
297
299
  ]),
298
- he((f(), k(de, {
300
+ Ne((f(), k(pe, {
299
301
  ref_key: "tableRef",
300
302
  ref: M,
301
303
  data: g.value,
@@ -316,19 +318,19 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
316
318
  align: "center"
317
319
  }),
318
320
  a(_, {
319
- label: s(t)("名称"),
321
+ label: r(t)("名称"),
320
322
  prop: "name",
321
323
  "min-width": "80",
322
324
  "show-overflow-tooltip": ""
323
325
  }, null, 8, ["label"]),
324
326
  a(_, {
325
- label: s(t)("编码"),
327
+ label: r(t)("编码"),
326
328
  prop: "code",
327
329
  "min-width": "80",
328
330
  "show-overflow-tooltip": ""
329
331
  }, null, 8, ["label"]),
330
332
  a(_, {
331
- label: s(t)("值"),
333
+ label: r(t)("值"),
332
334
  "min-width": "150"
333
335
  }, {
334
336
  default: n(({ row: { type: o, value: V } }) => [
@@ -341,13 +343,13 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
341
343
  }, null, 8, ["src", "preview-src-list"])) : o === "COLOR" ? (f(), L("div", {
342
344
  key: 1,
343
345
  class: "table-color-block",
344
- style: Ne({ backgroundColor: V })
345
- }, d(V), 5)) : o === "BOOLEAN" ? (f(), k(ue, {
346
+ style: Ee({ backgroundColor: V })
347
+ }, d(V), 5)) : o === "BOOLEAN" ? (f(), k(de, {
346
348
  key: 2,
347
349
  type: V === "Y" ? "success" : "info"
348
350
  }, {
349
351
  default: n(() => [
350
- p(d(V === "Y" ? s(t)("是") : s(t)("否")), 1)
352
+ p(d(V === "Y" ? r(t)("是") : r(t)("否")), 1)
351
353
  ]),
352
354
  _: 2
353
355
  }, 1032, ["type"])) : (f(), L(te, { key: 3 }, [
@@ -357,22 +359,22 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
357
359
  _: 1
358
360
  }, 8, ["label"]),
359
361
  a(_, {
360
- label: s(t)("是否可用"),
362
+ label: r(t)("是否可用"),
361
363
  width: "80"
362
364
  }, {
363
365
  default: n(({ row: o }) => [
364
- p(d(o.active === "Y" ? s(t)("启用") : s(t)("禁用")), 1)
366
+ p(d(o.active === "Y" ? r(t)("启用") : r(t)("禁用")), 1)
365
367
  ]),
366
368
  _: 1
367
369
  }, 8, ["label"]),
368
370
  a(_, {
369
- label: s(t)("说明"),
371
+ label: r(t)("说明"),
370
372
  prop: "description",
371
373
  "min-width": "100",
372
374
  "show-overflow-tooltip": ""
373
375
  }, null, 8, ["label"]),
374
376
  a(_, {
375
- label: s(t)("操作"),
377
+ label: r(t)("操作"),
376
378
  width: "220",
377
379
  align: "center"
378
380
  }, {
@@ -383,7 +385,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
383
385
  onClick: I((le) => $(o, V), ["stop"])
384
386
  }, {
385
387
  default: n(() => [
386
- p(d(s(t)("编辑")), 1)
388
+ p(d(r(t)("编辑")), 1)
387
389
  ]),
388
390
  _: 1
389
391
  }, 8, ["onClick"]),
@@ -394,7 +396,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
394
396
  onClick: I((le) => Q(o.id, V, "Y"), ["stop"])
395
397
  }, {
396
398
  default: n(() => [
397
- p(d(s(t)("启用")), 1)
399
+ p(d(r(t)("启用")), 1)
398
400
  ]),
399
401
  _: 1
400
402
  }, 8, ["onClick"])) : (f(), k(v, {
@@ -404,7 +406,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
404
406
  onClick: I((le) => Q(o.id, V, "N"), ["stop"])
405
407
  }, {
406
408
  default: n(() => [
407
- p(d(s(t)("禁用")), 1)
409
+ p(d(r(t)("禁用")), 1)
408
410
  ]),
409
411
  _: 1
410
412
  }, 8, ["onClick"]))
@@ -414,9 +416,9 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
414
416
  ]),
415
417
  _: 1
416
418
  }, 8, ["data"])), [
417
- [ye, S.value]
419
+ [Ve, x.value]
418
420
  ]),
419
- a(pe, {
421
+ a(ce, {
420
422
  background: "",
421
423
  "page-sizes": [10, 50, 100, 200, 500],
422
424
  "page-size": i.pageSize,
@@ -427,23 +429,23 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
427
429
  layout: "sizes,prev,pager,next,total"
428
430
  }, null, 8, ["page-size", "total", "current-page"])
429
431
  ]),
430
- a(be, {
432
+ a(ye, {
431
433
  class: "form-drawer",
432
434
  modelValue: E.value,
433
435
  "onUpdate:modelValue": l[19] || (l[19] = (o) => E.value = o),
434
436
  onClose: q,
435
437
  draggable: "",
436
- title: e.id ? s(t)("编辑配置") : s(t)("新增配置")
438
+ title: e.id ? r(t)("编辑配置") : r(t)("新增配置")
437
439
  }, {
438
440
  footer: n(() => [
439
- N("div", Re, [
441
+ N("div", Me, [
440
442
  a(v, {
441
443
  onClick: W,
442
444
  text: "",
443
445
  disabled: b.value
444
446
  }, {
445
447
  default: n(() => [
446
- p(d(s(t)("上一个")) + "(Alt + ←) ", 1)
448
+ p(d(r(t)("上一个")) + "(Alt + ←) ", 1)
447
449
  ]),
448
450
  _: 1
449
451
  }, 8, ["disabled"]),
@@ -453,7 +455,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
453
455
  onClick: q
454
456
  }, {
455
457
  default: n(() => [
456
- p(d(s(t)("取消")), 1)
458
+ p(d(r(t)("取消")), 1)
457
459
  ]),
458
460
  _: 1
459
461
  }),
@@ -462,7 +464,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
462
464
  onClick: J
463
465
  }, {
464
466
  default: n(() => [
465
- p(d(s(t)("保存")) + "(Ctrl + S) ", 1)
467
+ p(d(r(t)("保存")) + "(Ctrl + S) ", 1)
466
468
  ]),
467
469
  _: 1
468
470
  }),
@@ -472,7 +474,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
472
474
  disabled: Y.value
473
475
  }, {
474
476
  default: n(() => [
475
- p(d(s(t)("下一个")) + "(ALT + →) ", 1)
477
+ p(d(r(t)("下一个")) + "(ALT + →) ", 1)
476
478
  ]),
477
479
  _: 1
478
480
  }, 8, ["disabled"])
@@ -482,17 +484,17 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
482
484
  a(y, {
483
485
  "label-position": "top",
484
486
  ref_key: "formRef",
485
- ref: x,
487
+ ref: S,
486
488
  model: e,
487
489
  rules: U
488
490
  }, {
489
491
  default: n(() => [
490
- a(ge, { gutter: "10" }, {
492
+ a(be, { gutter: "10" }, {
491
493
  default: n(() => [
492
494
  a(T, { span: 12 }, {
493
495
  default: n(() => [
494
496
  a(u, {
495
- label: s(t)("名称"),
497
+ label: r(t)("名称"),
496
498
  prop: "name"
497
499
  }, {
498
500
  default: n(() => [
@@ -510,15 +512,15 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
510
512
  a(T, { span: 12 }, {
511
513
  default: n(() => [
512
514
  a(u, {
513
- label: s(t)("编码"),
515
+ label: r(t)("编码"),
514
516
  prop: "code"
515
517
  }, {
516
518
  default: n(() => [
517
- a(ce, {
519
+ a(me, {
518
520
  modelValue: e.code,
519
521
  "onUpdate:modelValue": l[7] || (l[7] = (o) => e.code = o),
520
- "fetch-suggestions": re,
521
- placeholder: s(t)("请输入或选择配置编码"),
522
+ "fetch-suggestions": ie,
523
+ placeholder: r(t)("请输入或选择配置编码"),
522
524
  clearable: "",
523
525
  style: { width: "100%" }
524
526
  }, null, 8, ["modelValue", "placeholder"])
@@ -531,7 +533,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
531
533
  a(T, { span: 16 }, {
532
534
  default: n(() => [
533
535
  a(u, {
534
- label: s(t)("值类型"),
536
+ label: r(t)("值类型"),
535
537
  prop: "type"
536
538
  }, {
537
539
  default: n(() => [
@@ -546,7 +548,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
546
548
  /* TEXT */
547
549
  }, {
548
550
  default: n(() => [
549
- p(d(s(t)("文字")), 1)
551
+ p(d(r(t)("文字")), 1)
550
552
  ]),
551
553
  _: 1
552
554
  }, 8, ["label"]),
@@ -555,7 +557,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
555
557
  /* NUMBER */
556
558
  }, {
557
559
  default: n(() => [
558
- p(d(s(t)("数字")), 1)
560
+ p(d(r(t)("数字")), 1)
559
561
  ]),
560
562
  _: 1
561
563
  }, 8, ["label"]),
@@ -564,7 +566,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
564
566
  /* IMAGE */
565
567
  }, {
566
568
  default: n(() => [
567
- p(d(s(t)("图片")), 1)
569
+ p(d(r(t)("图片")), 1)
568
570
  ]),
569
571
  _: 1
570
572
  }, 8, ["label"]),
@@ -573,7 +575,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
573
575
  /* COLOR */
574
576
  }, {
575
577
  default: n(() => [
576
- p(d(s(t)("颜色")), 1)
578
+ p(d(r(t)("颜色")), 1)
577
579
  ]),
578
580
  _: 1
579
581
  }, 8, ["label"]),
@@ -582,7 +584,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
582
584
  /* DATETIME */
583
585
  }, {
584
586
  default: n(() => [
585
- p(d(s(t)("日期时间")), 1)
587
+ p(d(r(t)("日期时间")), 1)
586
588
  ]),
587
589
  _: 1
588
590
  }, 8, ["label"]),
@@ -591,7 +593,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
591
593
  /* BOOLEAN */
592
594
  }, {
593
595
  default: n(() => [
594
- p(d(s(t)("布尔值")), 1)
596
+ p(d(r(t)("布尔值")), 1)
595
597
  ]),
596
598
  _: 1
597
599
  }, 8, ["label"])
@@ -607,7 +609,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
607
609
  a(T, { span: 8 }, {
608
610
  default: n(() => [
609
611
  a(u, {
610
- label: s(t)("是否可用"),
612
+ label: r(t)("是否可用"),
611
613
  prop: "active"
612
614
  }, {
613
615
  default: n(() => [
@@ -618,13 +620,13 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
618
620
  default: n(() => [
619
621
  a(O, { label: "Y" }, {
620
622
  default: n(() => [
621
- p(d(s(t)("启用")), 1)
623
+ p(d(r(t)("启用")), 1)
622
624
  ]),
623
625
  _: 1
624
626
  }),
625
627
  a(O, { label: "N" }, {
626
628
  default: n(() => [
627
- p(d(s(t)("禁用")), 1)
629
+ p(d(r(t)("禁用")), 1)
628
630
  ]),
629
631
  _: 1
630
632
  })
@@ -640,7 +642,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
640
642
  a(T, { span: 24 }, {
641
643
  default: n(() => [
642
644
  a(u, {
643
- label: s(t)("值"),
645
+ label: r(t)("值"),
644
646
  prop: "value"
645
647
  }, {
646
648
  default: n(() => [
@@ -649,7 +651,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
649
651
  modelValue: e.value,
650
652
  "onUpdate:modelValue": l[11] || (l[11] = (o) => e.value = o),
651
653
  clearable: ""
652
- }, null, 8, ["modelValue"])) : e.type === "NUMBER" ? (f(), k(me, {
654
+ }, null, 8, ["modelValue"])) : e.type === "NUMBER" ? (f(), k(ve, {
653
655
  key: 1,
654
656
  modelValue: e.value,
655
657
  "onUpdate:modelValue": l[12] || (l[12] = (o) => e.value = o)
@@ -664,25 +666,25 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
664
666
  clearable: ""
665
667
  }, {
666
668
  prefix: n(() => [
667
- a(ve, {
669
+ a(fe, {
668
670
  "color-format": "hex",
669
671
  modelValue: e.value,
670
672
  "onUpdate:modelValue": l[14] || (l[14] = (o) => e.value = o)
671
673
  }, null, 8, ["modelValue"])
672
674
  ]),
673
675
  _: 1
674
- }, 8, ["modelValue"])) : e.type === "DATETIME" ? (f(), k(fe, {
676
+ }, 8, ["modelValue"])) : e.type === "DATETIME" ? (f(), k(_e, {
675
677
  key: 4,
676
678
  modelValue: e.value,
677
679
  "onUpdate:modelValue": l[16] || (l[16] = (o) => e.value = o),
678
680
  type: "datetime",
679
- placeholder: s(t)("选择日期时间")
680
- }, null, 8, ["modelValue", "placeholder"])) : e.type === "BOOLEAN" ? (f(), k(_e, {
681
+ placeholder: r(t)("选择日期时间")
682
+ }, null, 8, ["modelValue", "placeholder"])) : e.type === "BOOLEAN" ? (f(), k(ge, {
681
683
  key: 5,
682
684
  modelValue: A.value,
683
685
  "onUpdate:modelValue": l[17] || (l[17] = (o) => A.value = o),
684
- "active-text": s(t)("启用"),
685
- "inactive-text": s(t)("禁用"),
686
+ "active-text": r(t)("启用"),
687
+ "inactive-text": r(t)("禁用"),
686
688
  "active-value": !0,
687
689
  "inactive-value": !1
688
690
  }, null, 8, ["modelValue", "active-text", "inactive-text"])) : se("", !0)
@@ -695,7 +697,7 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
695
697
  a(T, { span: 24 }, {
696
698
  default: n(() => [
697
699
  a(u, {
698
- label: s(t)("说明"),
700
+ label: r(t)("说明"),
699
701
  prop: "description"
700
702
  }, {
701
703
  default: n(() => [
@@ -725,6 +727,6 @@ const Ue = { class: "preview-area" }, Oe = ["src"], De = {
725
727
  }
726
728
  });
727
729
  export {
728
- Fe as default
730
+ Pe as default
729
731
  };
730
- //# sourceMappingURL=SysConfig-g_sVzaWS.js.map
732
+ //# sourceMappingURL=SysConfig-BbhOofe-.js.map