auto-vue-basic 0.0.78 → 0.0.80

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.
@@ -1,40 +1,40 @@
1
- import { defineComponent as O, createElementBlock as B, openBlock as C, createElementVNode as N, toRef as ne, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as ve, toDisplayString as z, ref as I, Fragment as G, withKeys as ge, renderList as ae, isVNode as we, reactive as Ne, onMounted as Pe, watch as xe, nextTick as Be, createCommentVNode as je, createTextVNode as Z, onBeforeMount as Ke } from "vue";
2
- import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as J, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as Re, ModifyButton as le, DEFAULT_REMOVE_KEY as We, ProTable as me, DEFAULT_PAGE_KEY as he, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as Ye, RequestButton as Q, BasicDrawer as ce, BasicRadioButton as De, RulesUtils as Ge, BasicAvatar as He, TimeUtils as $, ProTableList as de, AssetsUtils as Se, notification as Qe, DEFAULT_LIST_URL as Je, REQUEST_LOG_URL as Xe, ERROR_LOG_URL as Ze, SQL_LOG_URL as el } from "auto-vue-manual";
3
- const ll = {
1
+ import { defineComponent as O, createElementBlock as I, openBlock as C, createElementVNode as B, toRef as ne, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as we, toDisplayString as z, ref as N, Fragment as G, withKeys as he, renderList as ae, isVNode as xe, reactive as Pe, onMounted as Be, watch as Re, nextTick as je, createCommentVNode as Ke, createTextVNode as Z, onBeforeMount as We } from "vue";
2
+ import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as me, useForm as X, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as Ue, ModifyButton as le, DEFAULT_REMOVE_KEY as Ye, ProTable as ce, DEFAULT_PAGE_KEY as Ve, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as Ge, RequestButton as H, BasicDrawer as fe, BasicRadioButton as Se, RulesUtils as He, BasicAvatar as Qe, TimeUtils as $, ProTableList as de, AssetsUtils as Ce, notification as Je, DEFAULT_LIST_URL as Xe, REQUEST_LOG_URL as Ze, ERROR_LOG_URL as el, SQL_LOG_URL as ll } from "auto-vue-manual";
3
+ const al = {
4
4
  tops: "tops",
5
5
  rules: "rules"
6
- }, Y = W.routineApi("menu", "id", ll, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Ce = W.routineApi("rule", "key");
6
+ }, Y = W.routineApi("menu", "id", al, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Le = W.routineApi("rule", "key");
7
7
  /*! Element Plus Icons Vue v2.3.2 */
8
- var al = /* @__PURE__ */ O({
8
+ var ol = /* @__PURE__ */ O({
9
9
  name: "Key",
10
10
  __name: "key",
11
11
  setup(x) {
12
- return (U, k) => (C(), B("svg", {
12
+ return (R, k) => (C(), I("svg", {
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  viewBox: "0 0 1024 1024"
15
15
  }, [
16
- N("path", {
16
+ B("path", {
17
17
  fill: "currentColor",
18
18
  d: "M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"
19
19
  })
20
20
  ]));
21
21
  }
22
- }), ol = al, tl = /* @__PURE__ */ O({
22
+ }), tl = ol, nl = /* @__PURE__ */ O({
23
23
  name: "Search",
24
24
  __name: "search",
25
25
  setup(x) {
26
- return (U, k) => (C(), B("svg", {
26
+ return (R, k) => (C(), I("svg", {
27
27
  xmlns: "http://www.w3.org/2000/svg",
28
28
  viewBox: "0 0 1024 1024"
29
29
  }, [
30
- N("path", {
30
+ B("path", {
31
31
  fill: "currentColor",
32
32
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
33
33
  })
34
34
  ]));
35
35
  }
36
- }), nl = tl;
37
- const rl = /* @__PURE__ */ O({
36
+ }), rl = nl;
37
+ const dl = /* @__PURE__ */ O({
38
38
  __name: "TopMenuSelect",
39
39
  props: {
40
40
  modelValue: {
@@ -48,57 +48,57 @@ const rl = /* @__PURE__ */ O({
48
48
  },
49
49
  emits: ["update:modelValue", "change"],
50
50
  setup(x, {
51
- emit: U
51
+ emit: R
52
52
  }) {
53
- const k = U, h = x, {
54
- requesting: V
53
+ const k = R, g = x, {
54
+ requesting: b
55
55
  } = E(Y), {
56
- value: b,
56
+ value: h,
57
57
  options: c,
58
58
  change: i,
59
59
  refresh: p,
60
60
  filterOptions: n
61
- } = re(ne(h, "modelValue"), k, {
61
+ } = re(ne(g, "modelValue"), k, {
62
62
  key: "TOP_MENU_LIST",
63
63
  api: Y,
64
64
  url: Y.urls.tops,
65
65
  isArray: !0
66
66
  });
67
67
  return (v, u) => {
68
- const f = s("el-space"), g = s("el-select-v2");
69
- return C(), T(g, {
68
+ const f = s("el-space"), V = s("el-select-v2");
69
+ return C(), T(V, {
70
70
  class: "w-full",
71
- modelValue: e(b),
72
- "onUpdate:modelValue": u[1] || (u[1] = (_) => P(b) ? b.value = _ : null),
71
+ modelValue: e(h),
72
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => P(h) ? h.value = _ : null),
73
73
  options: e(c),
74
74
  multiple: x.multiple,
75
- disabled: e(V),
75
+ disabled: e(b),
76
76
  placeholder: e(a)("placeholder.select"),
77
77
  filterable: "",
78
78
  filterOptions: e(n),
79
79
  onChange: e(i)
80
80
  }, {
81
- prefix: o(() => [l(e(pe), {
82
- loading: e(V),
81
+ prefix: o(() => [l(e(me), {
82
+ loading: e(b),
83
83
  onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
84
84
  }, null, 8, ["loading"])]),
85
85
  default: o(({
86
86
  item: _
87
87
  }) => [l(f, null, {
88
- default: o(() => [N("i", {
89
- class: ve(`icon iconfont ${_.icon}`)
90
- }, null, 2), N("span", null, z(_.translate), 1)]),
88
+ default: o(() => [B("i", {
89
+ class: we(`icon iconfont ${_.icon}`)
90
+ }, null, 2), B("span", null, z(_.translate), 1)]),
91
91
  _: 2
92
92
  }, 1024)]),
93
93
  _: 1
94
94
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
95
95
  };
96
96
  }
97
- }), dl = /* @__PURE__ */ O({
97
+ }), sl = /* @__PURE__ */ O({
98
98
  __name: "MenuFormModal",
99
99
  emits: ["refresh"],
100
- setup(x, { expose: U, emit: k }) {
101
- const h = k, V = {
100
+ setup(x, { expose: R, emit: k }) {
101
+ const g = k, b = {
102
102
  id: 0,
103
103
  menu_id: 0,
104
104
  module: "",
@@ -119,7 +119,7 @@ const rl = /* @__PURE__ */ O({
119
119
  keep_alive: !1,
120
120
  link: !1
121
121
  }
122
- }, b = {
122
+ }, h = {
123
123
  sort: [
124
124
  {
125
125
  required: !0,
@@ -163,19 +163,19 @@ const rl = /* @__PURE__ */ O({
163
163
  trigger: "blur"
164
164
  }
165
165
  ]
166
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, Y);
167
- return U({
166
+ }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: V, submit: _, closed: D } = X(g, b, Y);
167
+ return R({
168
168
  open: f,
169
- modify: g
169
+ modify: V
170
170
  }), (w, t) => {
171
- const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), M = s("el-switch"), q = s("el-form");
171
+ const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), A = s("el-switch"), q = s("el-form");
172
172
  return C(), T(e(ee), {
173
173
  modelValue: e(c),
174
- "onUpdate:modelValue": t[17] || (t[17] = (R) => P(c) ? c.value = R : null),
174
+ "onUpdate:modelValue": t[17] || (t[17] = (M) => P(c) ? c.value = M : null),
175
175
  title: e(i)(),
176
176
  width: "1000px",
177
177
  executing: e(u),
178
- onClosed: e(A),
178
+ onClosed: e(D),
179
179
  onSubmit: e(_)
180
180
  }, {
181
181
  default: o(() => [
@@ -184,7 +184,7 @@ const rl = /* @__PURE__ */ O({
184
184
  ref: p,
185
185
  model: e(n),
186
186
  "label-width": "auto",
187
- rules: b,
187
+ rules: h,
188
188
  disabled: e(v) || e(u)
189
189
  }, {
190
190
  default: o(() => [
@@ -201,9 +201,9 @@ const rl = /* @__PURE__ */ O({
201
201
  prop: "menu_id"
202
202
  }, {
203
203
  default: o(() => [
204
- l(rl, {
204
+ l(dl, {
205
205
  modelValue: e(n).menu_id,
206
- "onUpdate:modelValue": t[0] || (t[0] = (R) => e(n).menu_id = R)
206
+ "onUpdate:modelValue": t[0] || (t[0] = (M) => e(n).menu_id = M)
207
207
  }, null, 8, ["modelValue"])
208
208
  ]),
209
209
  _: 1
@@ -222,7 +222,7 @@ const rl = /* @__PURE__ */ O({
222
222
  l(y, {
223
223
  class: "w-full",
224
224
  modelValue: e(n).sort,
225
- "onUpdate:modelValue": t[1] || (t[1] = (R) => e(n).sort = R),
225
+ "onUpdate:modelValue": t[1] || (t[1] = (M) => e(n).sort = M),
226
226
  min: 0,
227
227
  placeholder: e(a)("placeholder.input")
228
228
  }, null, 8, ["modelValue", "placeholder"])
@@ -242,7 +242,7 @@ const rl = /* @__PURE__ */ O({
242
242
  default: o(() => [
243
243
  l(S, {
244
244
  modelValue: e(n).module,
245
- "onUpdate:modelValue": t[2] || (t[2] = (R) => e(n).module = R),
245
+ "onUpdate:modelValue": t[2] || (t[2] = (M) => e(n).module = M),
246
246
  placeholder: e(a)("placeholder.input")
247
247
  }, null, 8, ["modelValue", "placeholder"])
248
248
  ]),
@@ -255,7 +255,7 @@ const rl = /* @__PURE__ */ O({
255
255
  default: o(() => [
256
256
  l(S, {
257
257
  modelValue: e(n).name,
258
- "onUpdate:modelValue": t[3] || (t[3] = (R) => e(n).name = R),
258
+ "onUpdate:modelValue": t[3] || (t[3] = (M) => e(n).name = M),
259
259
  placeholder: e(a)("placeholder.input")
260
260
  }, null, 8, ["modelValue", "placeholder"])
261
261
  ]),
@@ -268,7 +268,7 @@ const rl = /* @__PURE__ */ O({
268
268
  default: o(() => [
269
269
  l(S, {
270
270
  modelValue: e(n).en_name,
271
- "onUpdate:modelValue": t[4] || (t[4] = (R) => e(n).en_name = R),
271
+ "onUpdate:modelValue": t[4] || (t[4] = (M) => e(n).en_name = M),
272
272
  placeholder: e(a)("placeholder.input")
273
273
  }, null, 8, ["modelValue", "placeholder"])
274
274
  ]),
@@ -281,7 +281,7 @@ const rl = /* @__PURE__ */ O({
281
281
  default: o(() => [
282
282
  l(S, {
283
283
  modelValue: e(n).component,
284
- "onUpdate:modelValue": t[5] || (t[5] = (R) => e(n).component = R),
284
+ "onUpdate:modelValue": t[5] || (t[5] = (M) => e(n).component = M),
285
285
  placeholder: e(a)("placeholder.input")
286
286
  }, null, 8, ["modelValue", "placeholder"])
287
287
  ]),
@@ -294,7 +294,7 @@ const rl = /* @__PURE__ */ O({
294
294
  default: o(() => [
295
295
  l(S, {
296
296
  modelValue: e(n).url,
297
- "onUpdate:modelValue": t[6] || (t[6] = (R) => e(n).url = R),
297
+ "onUpdate:modelValue": t[6] || (t[6] = (M) => e(n).url = M),
298
298
  placeholder: e(a)("placeholder.input")
299
299
  }, null, 8, ["modelValue", "placeholder"])
300
300
  ]),
@@ -307,7 +307,7 @@ const rl = /* @__PURE__ */ O({
307
307
  default: o(() => [
308
308
  l(S, {
309
309
  modelValue: e(n).remark,
310
- "onUpdate:modelValue": t[7] || (t[7] = (R) => e(n).remark = R),
310
+ "onUpdate:modelValue": t[7] || (t[7] = (M) => e(n).remark = M),
311
311
  placeholder: e(a)("placeholder.input")
312
312
  }, null, 8, ["modelValue", "placeholder"])
313
313
  ]),
@@ -325,15 +325,15 @@ const rl = /* @__PURE__ */ O({
325
325
  default: o(() => [
326
326
  l(S, {
327
327
  modelValue: e(n).icon,
328
- "onUpdate:modelValue": t[8] || (t[8] = (R) => e(n).icon = R),
328
+ "onUpdate:modelValue": t[8] || (t[8] = (M) => e(n).icon = M),
329
329
  placeholder: e(a)("placeholder.input"),
330
- onInput: t[9] || (t[9] = (R) => {
331
- e(n).meta.icon = R;
330
+ onInput: t[9] || (t[9] = (M) => {
331
+ e(n).meta.icon = M;
332
332
  })
333
333
  }, {
334
334
  prepend: o(() => [
335
- N("span", {
336
- class: ve("iconfont " + e(n).icon)
335
+ B("span", {
336
+ class: we("iconfont " + e(n).icon)
337
337
  }, null, 2)
338
338
  ]),
339
339
  _: 1
@@ -348,7 +348,7 @@ const rl = /* @__PURE__ */ O({
348
348
  default: o(() => [
349
349
  l(S, {
350
350
  modelValue: e(n).meta.title,
351
- "onUpdate:modelValue": t[10] || (t[10] = (R) => e(n).meta.title = R),
351
+ "onUpdate:modelValue": t[10] || (t[10] = (M) => e(n).meta.title = M),
352
352
  placeholder: e(a)("placeholder.input")
353
353
  }, null, 8, ["modelValue", "placeholder"])
354
354
  ]),
@@ -361,7 +361,7 @@ const rl = /* @__PURE__ */ O({
361
361
  default: o(() => [
362
362
  l(S, {
363
363
  modelValue: e(n).meta.active,
364
- "onUpdate:modelValue": t[11] || (t[11] = (R) => e(n).meta.active = R),
364
+ "onUpdate:modelValue": t[11] || (t[11] = (M) => e(n).meta.active = M),
365
365
  placeholder: e(a)("placeholder.input")
366
366
  }, null, 8, ["modelValue", "placeholder"])
367
367
  ]),
@@ -376,9 +376,9 @@ const rl = /* @__PURE__ */ O({
376
376
  prop: "meta.link"
377
377
  }, {
378
378
  default: o(() => [
379
- l(M, {
379
+ l(A, {
380
380
  modelValue: e(n).meta.link,
381
- "onUpdate:modelValue": t[12] || (t[12] = (R) => e(n).meta.link = R)
381
+ "onUpdate:modelValue": t[12] || (t[12] = (M) => e(n).meta.link = M)
382
382
  }, null, 8, ["modelValue"])
383
383
  ]),
384
384
  _: 1
@@ -393,9 +393,9 @@ const rl = /* @__PURE__ */ O({
393
393
  prop: "meta.keep_alive"
394
394
  }, {
395
395
  default: o(() => [
396
- l(M, {
396
+ l(A, {
397
397
  modelValue: e(n).meta.keep_alive,
398
- "onUpdate:modelValue": t[13] || (t[13] = (R) => e(n).meta.keep_alive = R)
398
+ "onUpdate:modelValue": t[13] || (t[13] = (M) => e(n).meta.keep_alive = M)
399
399
  }, null, 8, ["modelValue"])
400
400
  ]),
401
401
  _: 1
@@ -410,9 +410,9 @@ const rl = /* @__PURE__ */ O({
410
410
  prop: "meta.hide"
411
411
  }, {
412
412
  default: o(() => [
413
- l(M, {
413
+ l(A, {
414
414
  modelValue: e(n).meta.hide,
415
- "onUpdate:modelValue": t[14] || (t[14] = (R) => e(n).meta.hide = R)
415
+ "onUpdate:modelValue": t[14] || (t[14] = (M) => e(n).meta.hide = M)
416
416
  }, null, 8, ["modelValue"])
417
417
  ]),
418
418
  _: 1
@@ -427,9 +427,9 @@ const rl = /* @__PURE__ */ O({
427
427
  prop: "meta.full"
428
428
  }, {
429
429
  default: o(() => [
430
- l(M, {
430
+ l(A, {
431
431
  modelValue: e(n).meta.full,
432
- "onUpdate:modelValue": t[15] || (t[15] = (R) => e(n).meta.full = R)
432
+ "onUpdate:modelValue": t[15] || (t[15] = (M) => e(n).meta.full = M)
433
433
  }, null, 8, ["modelValue"])
434
434
  ]),
435
435
  _: 1
@@ -444,9 +444,9 @@ const rl = /* @__PURE__ */ O({
444
444
  prop: "meta.affix"
445
445
  }, {
446
446
  default: o(() => [
447
- l(M, {
447
+ l(A, {
448
448
  modelValue: e(n).meta.affix,
449
- "onUpdate:modelValue": t[16] || (t[16] = (R) => e(n).meta.affix = R)
449
+ "onUpdate:modelValue": t[16] || (t[16] = (M) => e(n).meta.affix = M)
450
450
  }, null, 8, ["modelValue"])
451
451
  ]),
452
452
  _: 1
@@ -471,7 +471,7 @@ const rl = /* @__PURE__ */ O({
471
471
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
472
472
  };
473
473
  }
474
- }), sl = /* @__PURE__ */ O({
474
+ }), ul = /* @__PURE__ */ O({
475
475
  __name: "MenuSelect",
476
476
  props: {
477
477
  modelValue: {
@@ -485,56 +485,56 @@ const rl = /* @__PURE__ */ O({
485
485
  },
486
486
  emits: ["update:modelValue", "change"],
487
487
  setup(x, {
488
- emit: U
488
+ emit: R
489
489
  }) {
490
- const k = U, h = x, {
491
- requesting: V
490
+ const k = R, g = x, {
491
+ requesting: b
492
492
  } = E(Y), {
493
- value: b,
493
+ value: h,
494
494
  options: c,
495
495
  change: i,
496
496
  refresh: p,
497
497
  filterOptions: n
498
- } = re(ne(h, "modelValue"), k, {
498
+ } = re(ne(g, "modelValue"), k, {
499
499
  key: "MENU_LIST",
500
500
  api: Y,
501
501
  isArray: !0
502
502
  });
503
503
  return (v, u) => {
504
- const f = s("el-space"), g = s("el-select-v2");
505
- return C(), T(g, {
504
+ const f = s("el-space"), V = s("el-select-v2");
505
+ return C(), T(V, {
506
506
  class: "w-full",
507
- modelValue: e(b),
508
- "onUpdate:modelValue": u[1] || (u[1] = (_) => P(b) ? b.value = _ : null),
507
+ modelValue: e(h),
508
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => P(h) ? h.value = _ : null),
509
509
  options: e(c),
510
510
  multiple: x.multiple,
511
- disabled: e(V),
511
+ disabled: e(b),
512
512
  placeholder: e(a)("placeholder.select"),
513
513
  filterable: "",
514
514
  filterOptions: e(n),
515
515
  onChange: e(i)
516
516
  }, {
517
- prefix: o(() => [l(e(pe), {
518
- loading: e(V),
517
+ prefix: o(() => [l(e(me), {
518
+ loading: e(b),
519
519
  onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
520
520
  }, null, 8, ["loading"])]),
521
521
  default: o(({
522
522
  item: _
523
523
  }) => [l(f, null, {
524
- default: o(() => [N("i", {
525
- class: ve(`icon iconfont ${_.icon}`)
526
- }, null, 2), N("span", null, z(_.translate), 1)]),
524
+ default: o(() => [B("i", {
525
+ class: we(`icon iconfont ${_.icon}`)
526
+ }, null, 2), B("span", null, z(_.translate), 1)]),
527
527
  _: 2
528
528
  }, 1024)]),
529
529
  _: 1
530
530
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
531
531
  };
532
532
  }
533
- }), ul = /* @__PURE__ */ O({
533
+ }), il = /* @__PURE__ */ O({
534
534
  __name: "MenuRuleFormModal",
535
535
  emits: ["refresh"],
536
- setup(x, { expose: U, emit: k }) {
537
- const h = k, V = {
536
+ setup(x, { expose: R, emit: k }) {
537
+ const g = k, b = {
538
538
  key: "",
539
539
  menu_id: 0,
540
540
  sort: 0,
@@ -542,7 +542,7 @@ const rl = /* @__PURE__ */ O({
542
542
  en_name: "",
543
543
  urls: "",
544
544
  remark: ""
545
- }, b = {
545
+ }, h = {
546
546
  menu_id: [
547
547
  {
548
548
  required: !0,
@@ -580,28 +580,28 @@ const rl = /* @__PURE__ */ O({
580
580
  trigger: "blur"
581
581
  }
582
582
  ]
583
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, Ce);
584
- return U({
583
+ }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: V, submit: _, closed: D } = X(g, b, Le);
584
+ return R({
585
585
  open: f,
586
- modify: g
586
+ modify: V
587
587
  }), (w, t) => {
588
- const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), M = s("el-form");
588
+ const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), A = s("el-form");
589
589
  return C(), T(e(ee), {
590
590
  modelValue: e(c),
591
591
  "onUpdate:modelValue": t[6] || (t[6] = (q) => P(c) ? c.value = q : null),
592
592
  title: e(i)("menu.rules"),
593
593
  width: "1000px",
594
594
  executing: e(u),
595
- onClosed: e(A),
595
+ onClosed: e(D),
596
596
  onSubmit: e(_)
597
597
  }, {
598
598
  default: o(() => [
599
- l(M, {
599
+ l(A, {
600
600
  ref_key: "form",
601
601
  ref: p,
602
602
  model: e(n),
603
603
  "label-width": "auto",
604
- rules: b,
604
+ rules: h,
605
605
  disabled: e(v) || e(u)
606
606
  }, {
607
607
  default: o(() => [
@@ -614,7 +614,7 @@ const rl = /* @__PURE__ */ O({
614
614
  prop: "menu_id"
615
615
  }, {
616
616
  default: o(() => [
617
- l(sl, {
617
+ l(ul, {
618
618
  modelValue: e(n).menu_id,
619
619
  "onUpdate:modelValue": t[0] || (t[0] = (q) => e(n).menu_id = q)
620
620
  }, null, 8, ["modelValue"])
@@ -710,16 +710,16 @@ const rl = /* @__PURE__ */ O({
710
710
  };
711
711
  }
712
712
  });
713
- function Me(x) {
714
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !we(x);
713
+ function Ae(x) {
714
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !xe(x);
715
715
  }
716
- const Nl = /* @__PURE__ */ O({
716
+ const jl = /* @__PURE__ */ O({
717
717
  __name: "index",
718
718
  setup(x) {
719
- const U = {
719
+ const R = {
720
720
  keyword: "",
721
721
  status: 0
722
- }, k = I(""), h = [
722
+ }, k = N(""), g = [
723
723
  {
724
724
  label: a("base.sort"),
725
725
  prop: "sort",
@@ -790,7 +790,7 @@ const Nl = /* @__PURE__ */ O({
790
790
  class: "cursor-pointer",
791
791
  closable: !0,
792
792
  key: r.key,
793
- onClick: () => A({
793
+ onClick: () => D({
794
794
  key: r.key
795
795
  }),
796
796
  onClose: () => k.value = r.key
@@ -805,13 +805,13 @@ const Nl = /* @__PURE__ */ O({
805
805
  size: "small",
806
806
  text: !0,
807
807
  onClick: () => k.value = ""
808
- }, Me(y = a("base.cancel")) ? y : {
808
+ }, Ae(y = a("base.cancel")) ? y : {
809
809
  default: () => [y]
810
810
  }), l(s("el-button"), {
811
811
  size: "small",
812
812
  type: "danger",
813
813
  onClick: () => w(r.key)
814
- }, Me(m = a("base.confirm")) ? m : {
814
+ }, Ae(m = a("base.confirm")) ? m : {
815
815
  default: () => [m]
816
816
  })])]);
817
817
  }
@@ -827,7 +827,7 @@ const Nl = /* @__PURE__ */ O({
827
827
  props: {
828
828
  activeValue: 1,
829
829
  inactiveValue: 2,
830
- api: Y.urls[Re],
830
+ api: Y.urls[Ue],
831
831
  refresh: !0
832
832
  }
833
833
  },
@@ -846,9 +846,9 @@ const Nl = /* @__PURE__ */ O({
846
846
  }, null)
847
847
  }
848
848
  ], {
849
- requesting: V
849
+ requesting: b
850
850
  } = E(Y), {
851
- tableRef: b,
851
+ tableRef: h,
852
852
  formModalRef: c,
853
853
  keyword: i,
854
854
  search: p,
@@ -856,20 +856,20 @@ const Nl = /* @__PURE__ */ O({
856
856
  reset: v,
857
857
  openFormModal: u,
858
858
  editFormModal: f
859
- } = F(U), {
860
- formModalRef: g,
859
+ } = F(R), {
860
+ formModalRef: V,
861
861
  openFormModal: _,
862
- editFormModal: A
862
+ editFormModal: D
863
863
  } = F(), w = (t) => {
864
- Ce[We]({
864
+ Le[Ye]({
865
865
  key: t
866
866
  }).then(() => {
867
867
  k.value = "", n();
868
868
  });
869
869
  };
870
870
  return (t, d) => {
871
- const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), M = s("el-space"), q = s("el-page-header"), R = s("el-card");
872
- return C(), T(R, {
871
+ const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), A = s("el-space"), q = s("el-page-header"), M = s("el-card");
872
+ return C(), T(M, {
873
873
  class: "basic-card flex-full",
874
874
  "body-class": "flex-1",
875
875
  onClick: d[5] || (d[5] = () => k.value = "")
@@ -878,16 +878,16 @@ const Nl = /* @__PURE__ */ O({
878
878
  class: "basic-header"
879
879
  }, {
880
880
  title: o(() => [l(e(K), {
881
- loading: e(V),
881
+ loading: e(b),
882
882
  onRefresh: e(v)
883
883
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
884
884
  onOpen: e(u)
885
885
  }, null, 8, ["onOpen"]), l(r, {
886
886
  circle: "",
887
- icon: e(ol),
887
+ icon: e(tl),
888
888
  onClick: e(_)
889
889
  }, null, 8, ["icon", "onClick"])]),
890
- content: o(() => [l(M, {
890
+ content: o(() => [l(A, {
891
891
  class: "search-bar"
892
892
  }, {
893
893
  default: o(() => [l(y, {
@@ -896,63 +896,63 @@ const Nl = /* @__PURE__ */ O({
896
896
  "onUpdate:modelValue": d[0] || (d[0] = (L) => e(i).keyword = L),
897
897
  placeholder: e(a)("placeholder.keyword"),
898
898
  clearable: "",
899
- onKeyup: d[1] || (d[1] = ge((L) => e(p)(), ["enter"])),
899
+ onKeyup: d[1] || (d[1] = he((L) => e(p)(), ["enter"])),
900
900
  onClear: d[2] || (d[2] = (L) => e(p)())
901
901
  }, null, 8, ["modelValue", "placeholder"]), l(S, {
902
902
  modelValue: e(i).status,
903
903
  "onUpdate:modelValue": d[3] || (d[3] = (L) => e(i).status = L),
904
904
  onChange: d[4] || (d[4] = (L) => e(p)())
905
905
  }, {
906
- default: o(() => [(C(), B(G, null, ae([0, 1, 2], (L) => l(m, {
906
+ default: o(() => [(C(), I(G, null, ae([0, 1, 2], (L) => l(m, {
907
907
  key: L,
908
908
  label: e(a)(`status.${L}`),
909
909
  value: L
910
910
  }, null, 8, ["label", "value"])), 64))]),
911
911
  _: 1
912
912
  }, 8, ["modelValue"]), l(e(oe), {
913
- disabled: e(V),
913
+ disabled: e(b),
914
914
  onSearch: e(p)
915
915
  }, null, 8, ["disabled", "onSearch"])]),
916
916
  _: 1
917
917
  })]),
918
918
  _: 1
919
919
  })]),
920
- default: o(() => [l(e(me), {
920
+ default: o(() => [l(e(ce), {
921
921
  ref_key: "tableRef",
922
- ref: b,
922
+ ref: h,
923
923
  size: "small",
924
- columns: h,
925
- url: e(Y).urls[e(he)],
924
+ columns: g,
925
+ url: e(Y).urls[e(Ve)],
926
926
  "search-param": e(i),
927
927
  "auto-search": ""
928
- }, null, 8, ["url", "search-param"]), l(dl, {
928
+ }, null, 8, ["url", "search-param"]), l(sl, {
929
929
  ref_key: "formModalRef",
930
930
  ref: c,
931
931
  onRefresh: e(n)
932
- }, null, 8, ["onRefresh"]), l(ul, {
932
+ }, null, 8, ["onRefresh"]), l(il, {
933
933
  ref_key: "ruleFormModalRef",
934
- ref: g,
934
+ ref: V,
935
935
  onRefresh: e(n)
936
936
  }, null, 8, ["onRefresh"])]),
937
937
  _: 1
938
938
  });
939
939
  };
940
940
  }
941
- }), Ve = W.routineApi("role", "key"), il = { class: "rule-check" }, pl = { style: { width: "80px", "line-height": "36px" } }, ml = /* @__PURE__ */ O({
941
+ }), ke = W.routineApi("role", "key"), pl = { class: "rule-check" }, ml = { style: { width: "80px", "line-height": "36px" } }, cl = /* @__PURE__ */ O({
942
942
  __name: "RulesCheck",
943
943
  props: {
944
944
  modelValue: { type: Array, required: !0 },
945
945
  disabled: { type: Boolean, default: !1 }
946
946
  },
947
947
  emits: ["update:modelValue"],
948
- setup(x, { expose: U, emit: k }) {
949
- const { requesting: h } = E(Y), V = x, b = k, c = I(!1), i = Ne({
948
+ setup(x, { expose: R, emit: k }) {
949
+ const { requesting: g } = E(Y), b = x, h = k, c = N(!1), i = Pe({
950
950
  checkAll: !1,
951
951
  indeterminate: !1,
952
952
  MenuAll: {},
953
953
  MenuList: {},
954
954
  MenuIndeterminate: {}
955
- }), { options: p, refresh: n } = re(ne(V, "modelValue"), b, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
955
+ }), { options: p, refresh: n } = re(ne(b, "modelValue"), h, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
956
956
  function v() {
957
957
  p.value.forEach((w) => {
958
958
  var t;
@@ -963,50 +963,50 @@ const Nl = /* @__PURE__ */ O({
963
963
  p.value.forEach((t) => {
964
964
  var d;
965
965
  (d = t.rules) != null && d.length && (i.MenuList[t.id] = w ? t.rules.map((r) => r.key) : []);
966
- }), g();
966
+ }), V();
967
967
  }
968
968
  function f(w, t) {
969
969
  const d = p.value.find((r) => r.id === t);
970
- i.MenuList[t] = w && d ? d.rules.map((r) => r.key) : [], g();
970
+ i.MenuList[t] = w && d ? d.rules.map((r) => r.key) : [], V();
971
971
  }
972
- function g() {
972
+ function V() {
973
973
  p.value.forEach((w) => {
974
974
  var r, y;
975
975
  const t = ((r = w.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[w.id]) == null ? void 0 : y.length) || 0;
976
976
  i.MenuAll[w.id] = d === t && t > 0, i.MenuIndeterminate[w.id] = d > 0 && d < t;
977
- }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
977
+ }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0), h("update:modelValue", Object.values(i.MenuList).flat());
978
978
  }
979
979
  function _() {
980
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), c.value = !1;
980
+ i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), h("update:modelValue", []), c.value = !1;
981
981
  }
982
- function A(w) {
982
+ function D(w) {
983
983
  var t;
984
984
  if (Array.isArray(p.value) && p.value.length > 0) {
985
985
  for (let d of p.value)
986
986
  if (Array.isArray(d.rules) && d.rules.length > 0)
987
987
  for (let r of d.rules)
988
988
  w.some((y) => y === r.key) && (i.MenuList[d.id] = (((t = i.MenuList) == null ? void 0 : t[d.id]) || []).concat([r.key]));
989
- g(), c.value = !0;
989
+ V(), c.value = !0;
990
990
  }
991
991
  }
992
- return Pe(async () => {
992
+ return Be(async () => {
993
993
  var w;
994
- (w = p.value) != null && w.length || await n(), !c.value && V.modelValue && A(V.modelValue);
995
- }), xe(
996
- () => V.modelValue,
994
+ (w = p.value) != null && w.length || await n(), !c.value && b.modelValue && D(b.modelValue);
995
+ }), Re(
996
+ () => b.modelValue,
997
997
  (w) => {
998
- Be(() => {
998
+ je(() => {
999
999
  var t;
1000
- c.value || !((t = p.value) != null && t.length) || w && w.length > 0 && A(w);
1000
+ c.value || !((t = p.value) != null && t.length) || w && w.length > 0 && D(w);
1001
1001
  });
1002
1002
  },
1003
1003
  { deep: !0, immediate: !0 }
1004
- ), U({
1005
- generateOption: A,
1004
+ ), R({
1005
+ generateOption: D,
1006
1006
  cleanChecked: _
1007
1007
  }), (w, t) => {
1008
1008
  const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), m = s("el-divider"), S = s("el-checkbox-group");
1009
- return C(), B("div", il, [
1009
+ return C(), I("div", pl, [
1010
1010
  l(r, { style: { "margin-bottom": "6px" } }, {
1011
1011
  default: o(() => [
1012
1012
  l(d, {
@@ -1017,15 +1017,15 @@ const Nl = /* @__PURE__ */ O({
1017
1017
  onChange: u
1018
1018
  }, {
1019
1019
  default: o(() => [...t[1] || (t[1] = [
1020
- N("span", null, "全选", -1)
1020
+ B("span", null, "全选", -1)
1021
1021
  ])]),
1022
1022
  _: 1
1023
1023
  }, 8, ["model-value", "indeterminate", "disabled"]),
1024
1024
  l(e(K), {
1025
- loading: e(h),
1025
+ loading: e(g),
1026
1026
  text: "",
1027
1027
  size: "small",
1028
- onRefresh: t[0] || (t[0] = (M) => e(n)(!0))
1028
+ onRefresh: t[0] || (t[0] = (A) => e(n)(!0))
1029
1029
  }, null, 8, ["loading"])
1030
1030
  ]),
1031
1031
  _: 1
@@ -1036,8 +1036,8 @@ const Nl = /* @__PURE__ */ O({
1036
1036
  class: "rule-check-content"
1037
1037
  }, {
1038
1038
  default: o(() => [
1039
- (C(!0), B(G, null, ae(e(p), (M) => (C(), B("div", {
1040
- key: M.id
1039
+ (C(!0), I(G, null, ae(e(p), (A) => (C(), I("div", {
1040
+ key: A.id
1041
1041
  }, [
1042
1042
  l(r, {
1043
1043
  direction: "horizontal",
@@ -1046,15 +1046,15 @@ const Nl = /* @__PURE__ */ O({
1046
1046
  default: o(() => [
1047
1047
  l(d, {
1048
1048
  style: { "min-width": "150px" },
1049
- "model-value": i.MenuAll[M.id],
1050
- disabled: x.disabled || !M.rules || M.rules.length <= 0,
1051
- indeterminate: i.MenuIndeterminate[M.id],
1052
- onChange: (q) => f(q, M.id)
1049
+ "model-value": i.MenuAll[A.id],
1050
+ disabled: x.disabled || !A.rules || A.rules.length <= 0,
1051
+ indeterminate: i.MenuIndeterminate[A.id],
1052
+ onChange: (q) => f(q, A.id)
1053
1053
  }, {
1054
1054
  default: o(() => [
1055
1055
  l(y, { style: { "font-size": "15px" } }, {
1056
1056
  default: o(() => [
1057
- Z(z(M.translate), 1)
1057
+ Z(z(A.translate), 1)
1058
1058
  ]),
1059
1059
  _: 2
1060
1060
  }, 1024)
@@ -1062,27 +1062,27 @@ const Nl = /* @__PURE__ */ O({
1062
1062
  _: 2
1063
1063
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1064
1064
  l(m, { direction: "vertical" }),
1065
- M.rules ? (C(), T(S, {
1065
+ A.rules ? (C(), T(S, {
1066
1066
  key: 0,
1067
- modelValue: i.MenuList[M.id],
1068
- "onUpdate:modelValue": (q) => i.MenuList[M.id] = q,
1067
+ modelValue: i.MenuList[A.id],
1068
+ "onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
1069
1069
  disabled: x.disabled,
1070
1070
  style: { margin: "auto" },
1071
- onChange: g
1071
+ onChange: V
1072
1072
  }, {
1073
1073
  default: o(() => [
1074
- (C(!0), B(G, null, ae(M.rules, (q) => (C(), T(d, {
1074
+ (C(!0), I(G, null, ae(A.rules, (q) => (C(), T(d, {
1075
1075
  key: q.key,
1076
1076
  value: q.key
1077
1077
  }, {
1078
1078
  default: o(() => [
1079
- N("div", pl, z(q.translate), 1)
1079
+ B("div", ml, z(q.translate), 1)
1080
1080
  ]),
1081
1081
  _: 2
1082
1082
  }, 1032, ["value"]))), 128))
1083
1083
  ]),
1084
1084
  _: 2
1085
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : je("", !0)
1085
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Ke("", !0)
1086
1086
  ]),
1087
1087
  _: 2
1088
1088
  }, 1024)
@@ -1093,16 +1093,16 @@ const Nl = /* @__PURE__ */ O({
1093
1093
  ]);
1094
1094
  };
1095
1095
  }
1096
- }), Le = (x, U) => {
1096
+ }), qe = (x, R) => {
1097
1097
  const k = x.__vccOpts || x;
1098
- for (const [h, V] of U)
1099
- k[h] = V;
1098
+ for (const [g, b] of R)
1099
+ k[g] = b;
1100
1100
  return k;
1101
- }, cl = /* @__PURE__ */ Le(ml, [["__scopeId", "data-v-7adb5f76"]]), fl = /* @__PURE__ */ O({
1101
+ }, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
1102
1102
  __name: "RoleFormModal",
1103
1103
  emits: ["refresh"],
1104
- setup(x, { expose: U, emit: k }) {
1105
- const h = k, V = I(), b = {
1104
+ setup(x, { expose: R, emit: k }) {
1105
+ const g = k, b = N(), h = {
1106
1106
  key: "",
1107
1107
  module: "",
1108
1108
  sort: 0,
@@ -1125,15 +1125,15 @@ const Nl = /* @__PURE__ */ O({
1125
1125
  trigger: "blur"
1126
1126
  }
1127
1127
  ]
1128
- }, { modal: i, title: p, form: n, formData: v, requesting: u, executing: f, open: g, modify: _, submit: A, closed: w } = J(h, b, Ve), t = () => {
1128
+ }, { modal: i, title: p, form: n, formData: v, requesting: u, executing: f, open: V, modify: _, submit: D, closed: w } = X(g, h, ke), t = () => {
1129
1129
  var d;
1130
- (d = V.value) == null || d.cleanChecked(), w();
1130
+ (d = b.value) == null || d.cleanChecked(), w();
1131
1131
  };
1132
- return U({
1133
- open: g,
1132
+ return R({
1133
+ open: V,
1134
1134
  modify: _
1135
1135
  }), (d, r) => {
1136
- const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), M = s("el-input-number"), q = s("el-row"), R = s("el-form");
1136
+ const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), A = s("el-input-number"), q = s("el-row"), M = s("el-form");
1137
1137
  return C(), T(e(ee), {
1138
1138
  modelValue: e(i),
1139
1139
  "onUpdate:modelValue": r[6] || (r[6] = (L) => P(i) ? i.value = L : null),
@@ -1141,10 +1141,10 @@ const Nl = /* @__PURE__ */ O({
1141
1141
  width: "1000px",
1142
1142
  executing: e(f),
1143
1143
  onClosed: t,
1144
- onSubmit: e(A)
1144
+ onSubmit: e(D)
1145
1145
  }, {
1146
1146
  default: o(() => [
1147
- l(R, {
1147
+ l(M, {
1148
1148
  ref_key: "form",
1149
1149
  ref: n,
1150
1150
  model: e(v),
@@ -1180,7 +1180,7 @@ const Nl = /* @__PURE__ */ O({
1180
1180
  prop: "sort"
1181
1181
  }, {
1182
1182
  default: o(() => [
1183
- l(M, {
1183
+ l(A, {
1184
1184
  class: "w-full",
1185
1185
  modelValue: e(v).sort,
1186
1186
  "onUpdate:modelValue": r[1] || (r[1] = (L) => e(v).sort = L),
@@ -1240,9 +1240,9 @@ const Nl = /* @__PURE__ */ O({
1240
1240
  prop: "rules"
1241
1241
  }, {
1242
1242
  default: o(() => [
1243
- l(cl, {
1243
+ l(fl, {
1244
1244
  ref_key: "rulesCheck",
1245
- ref: V,
1245
+ ref: b,
1246
1246
  modelValue: e(v).rules,
1247
1247
  "onUpdate:modelValue": r[5] || (r[5] = (L) => e(v).rules = L),
1248
1248
  disabled: e(u) || e(f)
@@ -1258,10 +1258,10 @@ const Nl = /* @__PURE__ */ O({
1258
1258
  }, 8, ["modelValue", "title", "executing", "onSubmit"]);
1259
1259
  };
1260
1260
  }
1261
- }), Pl = /* @__PURE__ */ O({
1261
+ }), Kl = /* @__PURE__ */ O({
1262
1262
  __name: "index",
1263
1263
  setup(x) {
1264
- const U = {
1264
+ const R = {
1265
1265
  keyword: ""
1266
1266
  }, k = [
1267
1267
  {
@@ -1305,19 +1305,19 @@ const Nl = /* @__PURE__ */ O({
1305
1305
  }, null)
1306
1306
  }
1307
1307
  ], {
1308
- requesting: h
1309
- } = E(Ve), {
1310
- tableRef: V,
1311
- formModalRef: b,
1308
+ requesting: g
1309
+ } = E(ke), {
1310
+ tableRef: b,
1311
+ formModalRef: h,
1312
1312
  keyword: c,
1313
1313
  search: i,
1314
1314
  reset: p,
1315
1315
  refresh: n,
1316
1316
  openFormModal: v,
1317
1317
  editFormModal: u
1318
- } = F(U);
1319
- return (f, g) => {
1320
- const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"), t = s("el-card");
1318
+ } = F(R);
1319
+ return (f, V) => {
1320
+ const _ = s("el-input"), D = s("el-space"), w = s("el-page-header"), t = s("el-card");
1321
1321
  return C(), T(t, {
1322
1322
  class: "basic-card flex-full",
1323
1323
  "body-class": "flex-1"
@@ -1326,52 +1326,52 @@ const Nl = /* @__PURE__ */ O({
1326
1326
  class: "basic-header"
1327
1327
  }, {
1328
1328
  title: o(() => [l(e(K), {
1329
- loading: e(h),
1329
+ loading: e(g),
1330
1330
  onRefresh: e(p)
1331
1331
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
1332
1332
  onOpen: e(v)
1333
1333
  }, null, 8, ["onOpen"])]),
1334
- content: o(() => [l(A, {
1334
+ content: o(() => [l(D, {
1335
1335
  class: "search-bar"
1336
1336
  }, {
1337
1337
  default: o(() => [l(_, {
1338
1338
  class: "basic-search-input",
1339
1339
  modelValue: e(c).keyword,
1340
- "onUpdate:modelValue": g[0] || (g[0] = (d) => e(c).keyword = d),
1340
+ "onUpdate:modelValue": V[0] || (V[0] = (d) => e(c).keyword = d),
1341
1341
  placeholder: e(a)("placeholder.keyword"),
1342
1342
  clearable: "",
1343
- onKeyup: g[1] || (g[1] = ge((d) => e(i)(), ["enter"])),
1344
- onClear: g[2] || (g[2] = (d) => e(i)())
1343
+ onKeyup: V[1] || (V[1] = he((d) => e(i)(), ["enter"])),
1344
+ onClear: V[2] || (V[2] = (d) => e(i)())
1345
1345
  }, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
1346
- disabled: e(h),
1347
- onSearch: g[3] || (g[3] = (d) => e(i)())
1346
+ disabled: e(g),
1347
+ onSearch: V[3] || (V[3] = (d) => e(i)())
1348
1348
  }, null, 8, ["disabled"])]),
1349
1349
  _: 1
1350
1350
  })]),
1351
1351
  _: 1
1352
1352
  })]),
1353
- default: o(() => [l(e(me), {
1353
+ default: o(() => [l(e(ce), {
1354
1354
  ref_key: "tableRef",
1355
- ref: V,
1355
+ ref: b,
1356
1356
  columns: k,
1357
- url: e(Ve).urls[e(he)],
1357
+ url: e(ke).urls[e(Ve)],
1358
1358
  "search-param": e(c),
1359
1359
  "auto-search": ""
1360
- }, null, 8, ["url", "search-param"]), l(fl, {
1360
+ }, null, 8, ["url", "search-param"]), l(_l, {
1361
1361
  ref_key: "formModalRef",
1362
- ref: b,
1362
+ ref: h,
1363
1363
  onRefresh: e(n)
1364
1364
  }, null, 8, ["onRefresh"])]),
1365
1365
  _: 1
1366
1366
  });
1367
1367
  };
1368
1368
  }
1369
- }), H = W.routineApi("I18N", "uuid", {
1369
+ }), J = W.routineApi("I18N", "uuid", {
1370
1370
  modules: "modules",
1371
1371
  languages: "languages"
1372
1372
  }, { gen: "gen" }, ["I18N_MODULES"]), te = W.routineApi("I18N_template", "uuid", {
1373
1373
  apps: "apps"
1374
- }), qe = /* @__PURE__ */ O({
1374
+ }), Te = /* @__PURE__ */ O({
1375
1375
  __name: "ModuleSelect",
1376
1376
  props: {
1377
1377
  modelValue: {
@@ -1394,31 +1394,31 @@ const Nl = /* @__PURE__ */ O({
1394
1394
  },
1395
1395
  emits: ["update:modelValue", "update:value", "change"],
1396
1396
  setup(x, {
1397
- emit: U
1397
+ emit: R
1398
1398
  }) {
1399
- const k = U, h = x, {
1400
- requesting: V
1401
- } = E(H), {
1402
- value: b,
1399
+ const k = R, g = x, {
1400
+ requesting: b
1401
+ } = E(J), {
1402
+ value: h,
1403
1403
  options: c,
1404
1404
  change: i,
1405
1405
  refresh: p,
1406
1406
  filterOptions: n
1407
- } = re(ne(h, "modelValue"), k, {
1407
+ } = re(ne(g, "modelValue"), k, {
1408
1408
  key: "I18N_MODULES",
1409
- url: H.urls.modules,
1410
- api: H,
1409
+ url: J.urls.modules,
1410
+ api: J,
1411
1411
  isArray: !0
1412
1412
  });
1413
1413
  return (v, u) => {
1414
- const f = s("el-space"), g = s("el-select-v2");
1415
- return C(), T(g, {
1414
+ const f = s("el-space"), V = s("el-select-v2");
1415
+ return C(), T(V, {
1416
1416
  class: "w-full",
1417
- modelValue: e(b),
1418
- "onUpdate:modelValue": u[1] || (u[1] = (_) => P(b) ? b.value = _ : null),
1417
+ modelValue: e(h),
1418
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => P(h) ? h.value = _ : null),
1419
1419
  options: e(c),
1420
1420
  multiple: x.multiple,
1421
- disabled: e(V),
1421
+ disabled: e(b),
1422
1422
  clearable: x.clearable,
1423
1423
  filterable: "",
1424
1424
  "allow-create": x.allowCreate,
@@ -1427,25 +1427,25 @@ const Nl = /* @__PURE__ */ O({
1427
1427
  filterOptions: e(n),
1428
1428
  onChange: e(i)
1429
1429
  }, {
1430
- prefix: o(() => [l(e(pe), {
1431
- loading: e(V),
1430
+ prefix: o(() => [l(e(me), {
1431
+ loading: e(b),
1432
1432
  onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
1433
1433
  }, null, 8, ["loading"])]),
1434
1434
  default: o(({
1435
1435
  item: _
1436
1436
  }) => [l(f, null, {
1437
- default: o(() => [N("span", null, z(_.value), 1)]),
1437
+ default: o(() => [B("span", null, z(_.value), 1)]),
1438
1438
  _: 2
1439
1439
  }, 1024)]),
1440
1440
  _: 1
1441
1441
  }, 8, ["modelValue", "options", "multiple", "disabled", "clearable", "allow-create", "placeholder", "filterOptions", "onChange"]);
1442
1442
  };
1443
1443
  }
1444
- }), _l = /* @__PURE__ */ O({
1444
+ }), bl = /* @__PURE__ */ O({
1445
1445
  __name: "I18N",
1446
1446
  emits: ["refresh"],
1447
- setup(x, { expose: U, emit: k }) {
1448
- const h = k, V = {
1447
+ setup(x, { expose: R, emit: k }) {
1448
+ const g = k, b = {
1449
1449
  uuid: "",
1450
1450
  key: "",
1451
1451
  module: void 0,
@@ -1454,7 +1454,7 @@ const Nl = /* @__PURE__ */ O({
1454
1454
  "en-US": ""
1455
1455
  },
1456
1456
  remark: ""
1457
- }, b = {
1457
+ }, h = {
1458
1458
  module: [
1459
1459
  {
1460
1460
  required: !0,
@@ -1476,12 +1476,12 @@ const Nl = /* @__PURE__ */ O({
1476
1476
  trigger: "change"
1477
1477
  }
1478
1478
  ]
1479
- }, c = I([]), i = Ye();
1479
+ }, c = N([]), i = Ge();
1480
1480
  function p() {
1481
1481
  const r = {
1482
1482
  isArray: !0,
1483
1483
  key: "I18N_LANGUAGES",
1484
- url: H.urls.languages,
1484
+ url: J.urls.languages,
1485
1485
  params: {}
1486
1486
  };
1487
1487
  i.GET_CACHE({ ...r, force: !0 }).then((y) => {
@@ -1489,15 +1489,15 @@ const Nl = /* @__PURE__ */ O({
1489
1489
  });
1490
1490
  }
1491
1491
  p();
1492
- const { modal: n, title: v, form: u, formData: f, requesting: g, executing: _, open: A, modify: w, submit: t, closed: d } = J(h, V, H);
1493
- return U({
1494
- open: A,
1492
+ const { modal: n, title: v, form: u, formData: f, requesting: V, executing: _, open: D, modify: w, submit: t, closed: d } = X(g, b, J);
1493
+ return R({
1494
+ open: D,
1495
1495
  modify: w
1496
1496
  }), (r, y) => {
1497
- const m = s("el-form-item"), S = s("el-input"), M = s("el-space"), q = s("el-form");
1497
+ const m = s("el-form-item"), S = s("el-input"), A = s("el-space"), q = s("el-form");
1498
1498
  return C(), T(e(ee), {
1499
1499
  modelValue: e(n),
1500
- "onUpdate:modelValue": y[3] || (y[3] = (R) => P(n) ? n.value = R : null),
1500
+ "onUpdate:modelValue": y[3] || (y[3] = (M) => P(n) ? n.value = M : null),
1501
1501
  title: e(v)(),
1502
1502
  width: "600px",
1503
1503
  executing: e(_),
@@ -1510,8 +1510,8 @@ const Nl = /* @__PURE__ */ O({
1510
1510
  ref: u,
1511
1511
  model: e(f),
1512
1512
  "label-width": "auto",
1513
- rules: b,
1514
- disabled: e(g) || e(_)
1513
+ rules: h,
1514
+ disabled: e(V) || e(_)
1515
1515
  }, {
1516
1516
  default: o(() => [
1517
1517
  l(m, {
@@ -1520,9 +1520,9 @@ const Nl = /* @__PURE__ */ O({
1520
1520
  required: ""
1521
1521
  }, {
1522
1522
  default: o(() => [
1523
- l(qe, {
1523
+ l(Te, {
1524
1524
  modelValue: e(f).module,
1525
- "onUpdate:modelValue": y[0] || (y[0] = (R) => e(f).module = R),
1525
+ "onUpdate:modelValue": y[0] || (y[0] = (M) => e(f).module = M),
1526
1526
  "allow-create": ""
1527
1527
  }, null, 8, ["modelValue"])
1528
1528
  ]),
@@ -1536,7 +1536,7 @@ const Nl = /* @__PURE__ */ O({
1536
1536
  default: o(() => [
1537
1537
  l(S, {
1538
1538
  modelValue: e(f).key,
1539
- "onUpdate:modelValue": y[1] || (y[1] = (R) => e(f).key = R),
1539
+ "onUpdate:modelValue": y[1] || (y[1] = (M) => e(f).key = M),
1540
1540
  placeholder: e(a)("i18n.placeholder.key")
1541
1541
  }, null, 8, ["modelValue", "placeholder"])
1542
1542
  ]),
@@ -1548,20 +1548,20 @@ const Nl = /* @__PURE__ */ O({
1548
1548
  required: ""
1549
1549
  }, {
1550
1550
  default: o(() => [
1551
- l(M, {
1551
+ l(A, {
1552
1552
  direction: "vertical",
1553
1553
  fill: "",
1554
1554
  style: { width: "100%" }
1555
1555
  }, {
1556
1556
  default: o(() => [
1557
- (C(!0), B(G, null, ae(c.value, (R) => (C(), B("div", { key: R }, [
1557
+ (C(!0), I(G, null, ae(c.value, (M) => (C(), I("div", { key: M }, [
1558
1558
  l(S, {
1559
- modelValue: e(f).language[R],
1560
- "onUpdate:modelValue": (L) => e(f).language[R] = L,
1561
- placeholder: e(a)("i18n.placeholder.key")
1559
+ modelValue: e(f).language[M],
1560
+ "onUpdate:modelValue": (L) => e(f).language[M] = L,
1561
+ placeholder: e(a)("i18n.placeholder.language")
1562
1562
  }, {
1563
1563
  prepend: o(() => [
1564
- Z(z(R), 1)
1564
+ Z(z(M), 1)
1565
1565
  ]),
1566
1566
  _: 2
1567
1567
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
@@ -1579,7 +1579,7 @@ const Nl = /* @__PURE__ */ O({
1579
1579
  default: o(() => [
1580
1580
  l(S, {
1581
1581
  modelValue: e(f).remark,
1582
- "onUpdate:modelValue": y[2] || (y[2] = (R) => e(f).remark = R),
1582
+ "onUpdate:modelValue": y[2] || (y[2] = (M) => e(f).remark = M),
1583
1583
  placeholder: e(a)("placeholder.remark")
1584
1584
  }, null, 8, ["modelValue", "placeholder"])
1585
1585
  ]),
@@ -1594,17 +1594,17 @@ const Nl = /* @__PURE__ */ O({
1594
1594
  };
1595
1595
  }
1596
1596
  });
1597
- function bl(x) {
1598
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !we(x);
1597
+ function gl(x) {
1598
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !xe(x);
1599
1599
  }
1600
- const Te = /* @__PURE__ */ O({
1600
+ const Oe = /* @__PURE__ */ O({
1601
1601
  __name: "I18N",
1602
1602
  emits: ["closed", "choosed"],
1603
1603
  setup(x, {
1604
- expose: U,
1604
+ expose: R,
1605
1605
  emit: k
1606
1606
  }) {
1607
- const h = I(!1), V = k, b = {
1607
+ const g = N(!1), b = k, h = {
1608
1608
  keyword: "",
1609
1609
  module: void 0,
1610
1610
  status: 0
@@ -1623,8 +1623,8 @@ const Te = /* @__PURE__ */ O({
1623
1623
  render: ({
1624
1624
  row: y
1625
1625
  }) => {
1626
- const S = Object.keys(y.language).filter((M) => !!y.language[M]).map((M) => `${M}: ${y.language[M]}`).join("; ");
1627
- return l(s("el-space"), null, bl(S) ? S : {
1626
+ const S = Object.keys(y.language).filter((A) => !!y.language[A]).map((A) => `${A}: ${y.language[A]}`).join("; ");
1627
+ return l(s("el-space"), null, gl(S) ? S : {
1628
1628
  default: () => [S]
1629
1629
  });
1630
1630
  }
@@ -1636,7 +1636,7 @@ const Te = /* @__PURE__ */ O({
1636
1636
  props: {
1637
1637
  activeValue: 1,
1638
1638
  inactiveValue: 2,
1639
- api: H.urls[Re],
1639
+ api: J.urls[Ue],
1640
1640
  refresh: !0
1641
1641
  }
1642
1642
  }, {
@@ -1652,7 +1652,7 @@ const Te = /* @__PURE__ */ O({
1652
1652
  onModify: () => w({
1653
1653
  uuid: y.uuid
1654
1654
  })
1655
- }, null), l(Q, {
1655
+ }, null), l(H, {
1656
1656
  size: "default",
1657
1657
  text: !0,
1658
1658
  type: "danger",
@@ -1663,38 +1663,38 @@ const Te = /* @__PURE__ */ O({
1663
1663
  }], {
1664
1664
  requesting: i,
1665
1665
  executing: p
1666
- } = E(H), {
1666
+ } = E(J), {
1667
1667
  tableRef: n,
1668
1668
  formModalRef: v,
1669
1669
  keyword: u,
1670
1670
  search: f,
1671
- reset: g,
1671
+ reset: V,
1672
1672
  refresh: _,
1673
- openFormModal: A,
1673
+ openFormModal: D,
1674
1674
  editFormModal: w
1675
- } = F(b);
1675
+ } = F(h);
1676
1676
  function t(y) {
1677
- return H.remove({
1677
+ return J.remove({
1678
1678
  uuid: y
1679
1679
  }).finally(() => {
1680
1680
  _();
1681
1681
  });
1682
1682
  }
1683
1683
  const d = () => {
1684
- h.value = !0;
1684
+ g.value = !0;
1685
1685
  };
1686
1686
  function r(y) {
1687
- V("choosed", y), h.value = !1;
1687
+ b("choosed", y), g.value = !1;
1688
1688
  }
1689
- return xe(() => h.value, (y) => {
1690
- y || V("closed");
1691
- }), U({
1689
+ return Re(() => g.value, (y) => {
1690
+ y || b("closed");
1691
+ }), R({
1692
1692
  open: d
1693
1693
  }), (y, m) => {
1694
- const S = s("el-input"), M = s("el-radio-button"), q = s("el-radio-group"), R = s("el-space"), L = s("el-page-header");
1695
- return C(), T(e(ce), {
1696
- modelValue: h.value,
1697
- "onUpdate:modelValue": m[7] || (m[7] = (D) => h.value = D),
1694
+ const S = s("el-input"), A = s("el-radio-button"), q = s("el-radio-group"), M = s("el-space"), L = s("el-page-header");
1695
+ return C(), T(e(fe), {
1696
+ modelValue: g.value,
1697
+ "onUpdate:modelValue": m[7] || (m[7] = (U) => g.value = U),
1698
1698
  width: "880px",
1699
1699
  "show-close": !1,
1700
1700
  class: "basic-drawer"
@@ -1704,11 +1704,12 @@ const Te = /* @__PURE__ */ O({
1704
1704
  }, {
1705
1705
  title: o(() => [l(e(K), {
1706
1706
  loading: e(i),
1707
- onRefresh: e(g)
1707
+ onRefresh: e(V)
1708
1708
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
1709
- onOpen: e(A)
1710
- }, null, 8, ["onOpen"])]),
1711
- content: o(() => [l(R, {
1709
+ onOpen: e(D),
1710
+ disabled: e(i)
1711
+ }, null, 8, ["onOpen", "disabled"])]),
1712
+ content: o(() => [l(M, {
1712
1713
  class: "search-bar"
1713
1714
  }, {
1714
1715
  default: o(() => [l(S, {
@@ -1716,46 +1717,49 @@ const Te = /* @__PURE__ */ O({
1716
1717
  width: "160px"
1717
1718
  },
1718
1719
  modelValue: e(u).keyword,
1719
- "onUpdate:modelValue": m[0] || (m[0] = (D) => e(u).keyword = D),
1720
+ "onUpdate:modelValue": m[0] || (m[0] = (U) => e(u).keyword = U),
1721
+ disabled: e(i),
1720
1722
  placeholder: e(a)("placeholder.keyword"),
1721
1723
  clearable: "",
1722
- onKeyup: m[1] || (m[1] = ge((D) => e(f)(), ["enter"])),
1723
- onClear: m[2] || (m[2] = (D) => e(f)())
1724
- }, null, 8, ["modelValue", "placeholder"]), l(qe, {
1724
+ onKeyup: m[1] || (m[1] = he((U) => e(f)(), ["enter"])),
1725
+ onClear: m[2] || (m[2] = (U) => e(f)())
1726
+ }, null, 8, ["modelValue", "disabled", "placeholder"]), l(Te, {
1725
1727
  modelValue: e(u).module,
1726
- "onUpdate:modelValue": m[3] || (m[3] = (D) => e(u).module = D),
1728
+ "onUpdate:modelValue": m[3] || (m[3] = (U) => e(u).module = U),
1727
1729
  clearable: !0,
1730
+ disabled: e(i),
1728
1731
  style: {
1729
1732
  width: "160px"
1730
1733
  }
1731
- }, null, 8, ["modelValue"]), l(q, {
1734
+ }, null, 8, ["modelValue", "disabled"]), l(q, {
1732
1735
  modelValue: e(u).status,
1733
- "onUpdate:modelValue": m[4] || (m[4] = (D) => e(u).status = D),
1734
- onChange: m[5] || (m[5] = (D) => e(f)())
1736
+ "onUpdate:modelValue": m[4] || (m[4] = (U) => e(u).status = U),
1737
+ onChange: m[5] || (m[5] = (U) => e(f)()),
1738
+ disabled: e(i)
1735
1739
  }, {
1736
- default: o(() => [(C(), B(G, null, ae([0, 1, 2], (D) => l(M, {
1737
- key: D,
1738
- label: e(a)(`status.${D}`),
1739
- value: D
1740
+ default: o(() => [(C(), I(G, null, ae([0, 1, 2], (U) => l(A, {
1741
+ key: U,
1742
+ label: e(a)(`status.${U}`),
1743
+ value: U
1740
1744
  }, null, 8, ["label", "value"])), 64))]),
1741
1745
  _: 1
1742
- }, 8, ["modelValue"]), l(e(oe), {
1746
+ }, 8, ["modelValue", "disabled"]), l(e(oe), {
1743
1747
  disabled: e(i),
1744
- onSearch: m[6] || (m[6] = (D) => e(f)())
1748
+ onSearch: m[6] || (m[6] = (U) => e(f)())
1745
1749
  }, null, 8, ["disabled"])]),
1746
1750
  _: 1
1747
1751
  })]),
1748
1752
  _: 1
1749
1753
  })]),
1750
- default: o(() => [l(e(me), {
1754
+ default: o(() => [l(e(ce), {
1751
1755
  ref_key: "tableRef",
1752
1756
  ref: n,
1753
1757
  columns: c,
1754
- url: e(H).urls[e(he)],
1758
+ url: e(J).urls[e(Ve)],
1755
1759
  "search-param": e(u),
1756
1760
  onRowDblclick: r,
1757
1761
  "auto-search": ""
1758
- }, null, 8, ["url", "search-param"]), l(_l, {
1762
+ }, null, 8, ["url", "search-param"]), l(bl, {
1759
1763
  ref_key: "formModalRef",
1760
1764
  ref: v,
1761
1765
  onRefresh: e(_)
@@ -1764,14 +1768,14 @@ const Te = /* @__PURE__ */ O({
1764
1768
  }, 8, ["modelValue"]);
1765
1769
  };
1766
1770
  }
1767
- }), gl = /* @__PURE__ */ O({
1771
+ }), hl = { key: 0 }, Vl = { key: 1 }, yl = /* @__PURE__ */ O({
1768
1772
  __name: "template",
1769
1773
  emits: ["refresh"],
1770
- setup(x, { expose: U, emit: k }) {
1771
- const { formModalRef: h, openFormModal: V } = F(), b = k, c = I("600px"), i = I({
1774
+ setup(x, { expose: R, emit: k }) {
1775
+ const { formModalRef: g, openFormModal: b } = F(), h = k, c = N("600px"), i = N({
1772
1776
  "zh-CN": "primary",
1773
1777
  "en-US": "success"
1774
- }), p = I({}), n = {
1778
+ }), p = N({}), n = {
1775
1779
  uuid: "",
1776
1780
  app: 1,
1777
1781
  keys: "",
@@ -1781,64 +1785,74 @@ const Te = /* @__PURE__ */ O({
1781
1785
  app: [
1782
1786
  {
1783
1787
  required: !0,
1784
- message: a("i18n.placeholder.app"),
1788
+ message: a("i18n.verify.app"),
1785
1789
  trigger: "blur"
1786
1790
  }
1787
1791
  ],
1788
1792
  keys: [
1789
1793
  {
1790
1794
  required: !0,
1791
- message: a("i18n.placeholder.keys"),
1795
+ message: a("i18n.verify.keys"),
1792
1796
  trigger: "blur"
1793
1797
  }
1794
1798
  ],
1795
1799
  values: [
1796
1800
  {
1797
1801
  required: !0,
1798
- message: a("i18n.placeholder.values"),
1802
+ message: a("i18n.verify.values"),
1799
1803
  trigger: "change"
1800
1804
  }
1801
1805
  ]
1802
- }, { modal: u, title: f, form: g, formData: _, requesting: A, executing: w, open: t, modify: d, submit: r, closed: y } = J(b, n, te);
1806
+ }, { modal: u, title: f, form: V, formData: _, requesting: D, executing: w, open: t, modify: d, submit: r, closed: y } = X(h, n, te);
1803
1807
  function m() {
1804
- c.value = "1080px", V();
1808
+ c.value = "1080px", b();
1805
1809
  }
1806
1810
  function S() {
1807
1811
  c.value = "600px";
1808
1812
  }
1809
- function M(R) {
1810
- let L = R.module.toLowerCase() + "." + R.key.toLowerCase();
1811
- _.keys = L, _.values.push(L);
1812
- for (const D in R.language)
1813
- p.value[D] || (p.value[D] = []), p.value[D].push(R.language[D]);
1813
+ function A(L) {
1814
+ let U = L.module.toLowerCase() + "." + L.key.toLowerCase();
1815
+ _.keys = U, _.values.push(U);
1816
+ for (const se in L.language)
1817
+ p.value[se] || (p.value[se] = []), p.value[se].push(L.language[se]);
1814
1818
  }
1815
1819
  function q() {
1816
- c.value = "600px", p.value = {
1820
+ c.value = "600px", M();
1821
+ }
1822
+ function M() {
1823
+ _.keys = "", _.values = [], p.value = {
1817
1824
  "zh-CN": [],
1818
1825
  "en-US": []
1819
1826
  };
1820
1827
  }
1821
- return xe(() => u.value, (R) => {
1822
- R ? q() : y();
1823
- }), U({
1828
+ return Re(() => u.value, (L) => {
1829
+ L ? q() : y();
1830
+ }), R({
1824
1831
  open: t,
1825
1832
  modify: d
1826
- }), (R, L) => {
1827
- const D = s("el-page-header"), fe = s("el-form-item"), Fe = s("el-button"), Ue = s("el-input"), Ee = s("el-tag"), ze = s("el-space"), Ie = s("el-form");
1828
- return C(), T(e(ce), {
1833
+ }), (L, U) => {
1834
+ const se = s("el-page-header"), _e = s("el-form-item"), Ee = s("el-button"), Me = s("el-input"), ze = s("el-tag"), Ie = s("el-space"), Ne = s("el-form");
1835
+ return C(), T(e(fe), {
1829
1836
  modelValue: e(u),
1830
- "onUpdate:modelValue": L[3] || (L[3] = (X) => P(u) ? u.value = X : null),
1837
+ "onUpdate:modelValue": U[3] || (U[3] = (Q) => P(u) ? u.value = Q : null),
1831
1838
  width: c.value,
1832
1839
  "show-close": !1,
1833
1840
  class: "basic-drawer"
1834
1841
  }, {
1835
1842
  title: o(() => [
1836
- l(D, { class: "basic-header" }, {
1843
+ l(se, { class: "basic-header" }, {
1837
1844
  title: o(() => [
1838
1845
  Z(z(e(f)("i18n.template")), 1)
1839
1846
  ]),
1840
1847
  extra: o(() => [
1841
- l(e(Q), {
1848
+ l(e(H), {
1849
+ size: "default",
1850
+ type: "default",
1851
+ icon: "icon-clear",
1852
+ loading: e(w),
1853
+ onClick: M
1854
+ }, null, 8, ["loading"]),
1855
+ l(e(H), {
1842
1856
  circle: !1,
1843
1857
  size: "default",
1844
1858
  type: "primary",
@@ -1852,24 +1866,24 @@ const Te = /* @__PURE__ */ O({
1852
1866
  })
1853
1867
  ]),
1854
1868
  default: o(() => [
1855
- l(Ie, {
1869
+ l(Ne, {
1856
1870
  ref_key: "form",
1857
- ref: g,
1871
+ ref: V,
1858
1872
  model: e(_),
1859
1873
  "label-width": "auto",
1860
1874
  rules: v,
1861
- disabled: e(A) || e(w)
1875
+ disabled: e(D) || e(w)
1862
1876
  }, {
1863
1877
  default: o(() => [
1864
- l(fe, {
1878
+ l(_e, {
1865
1879
  label: e(a)("base.app"),
1866
1880
  prop: "app",
1867
1881
  required: ""
1868
1882
  }, {
1869
1883
  default: o(() => [
1870
- l(e(De), {
1884
+ l(e(Se), {
1871
1885
  modelValue: e(_).app,
1872
- "onUpdate:modelValue": L[0] || (L[0] = (X) => e(_).app = X),
1886
+ "onUpdate:modelValue": U[0] || (U[0] = (Q) => e(_).app = Q),
1873
1887
  "cache-key": "I18NAPPS",
1874
1888
  hidden: [0],
1875
1889
  url: e(te).urls.apps
@@ -1877,20 +1891,20 @@ const Te = /* @__PURE__ */ O({
1877
1891
  ]),
1878
1892
  _: 1
1879
1893
  }, 8, ["label"]),
1880
- l(fe, {
1894
+ l(_e, {
1881
1895
  label: e(a)("i18n.keys"),
1882
1896
  prop: "keys",
1883
1897
  required: ""
1884
1898
  }, {
1885
1899
  default: o(() => [
1886
- l(Ue, {
1900
+ l(Me, {
1887
1901
  modelValue: e(_).keys,
1888
- "onUpdate:modelValue": L[1] || (L[1] = (X) => e(_).keys = X),
1902
+ "onUpdate:modelValue": U[1] || (U[1] = (Q) => e(_).keys = Q),
1889
1903
  placeholder: e(a)("i18n.placeholder.key")
1890
1904
  }, {
1891
1905
  append: o(() => [
1892
- l(Fe, {
1893
- icon: e(nl),
1906
+ l(Ee, {
1907
+ icon: e(rl),
1894
1908
  onClick: m
1895
1909
  }, null, 8, ["icon"])
1896
1910
  ]),
@@ -1899,7 +1913,7 @@ const Te = /* @__PURE__ */ O({
1899
1913
  ]),
1900
1914
  _: 1
1901
1915
  }, 8, ["label"]),
1902
- l(fe, {
1916
+ l(_e, {
1903
1917
  label: e(a)("i18n.values"),
1904
1918
  prop: "values",
1905
1919
  required: ""
@@ -1909,17 +1923,17 @@ const Te = /* @__PURE__ */ O({
1909
1923
  ]),
1910
1924
  _: 1
1911
1925
  }, 8, ["label"]),
1912
- l(fe, {
1926
+ l(_e, {
1913
1927
  label: e(a)("i18n.values")
1914
1928
  }, {
1915
1929
  default: o(() => [
1916
- (C(!0), B(G, null, ae(p.value, (X, ye) => (C(), B("div", {
1930
+ (C(!0), I(G, null, ae(p.value, (Q, ye) => (C(), I("div", {
1917
1931
  key: ye,
1918
1932
  class: "w-full"
1919
1933
  }, [
1920
- l(ze, null, {
1934
+ l(Ie, null, {
1921
1935
  default: o(() => [
1922
- l(Ee, {
1936
+ l(ze, {
1923
1937
  type: i.value[ye],
1924
1938
  style: { "min-width": "80px" }
1925
1939
  }, {
@@ -1928,7 +1942,7 @@ const Te = /* @__PURE__ */ O({
1928
1942
  ]),
1929
1943
  _: 2
1930
1944
  }, 1032, ["type"]),
1931
- N("span", null, z(X.join("")), 1)
1945
+ ye == "zh-CN" ? (C(), I("span", hl, z(Q.join("")), 1)) : (C(), I("span", Vl, z(Q.join(" ")), 1))
1932
1946
  ]),
1933
1947
  _: 2
1934
1948
  }, 1024)
@@ -1936,14 +1950,14 @@ const Te = /* @__PURE__ */ O({
1936
1950
  ]),
1937
1951
  _: 1
1938
1952
  }, 8, ["label"]),
1939
- l(fe, {
1953
+ l(_e, {
1940
1954
  label: e(a)("base.remark"),
1941
1955
  prop: "remark"
1942
1956
  }, {
1943
1957
  default: o(() => [
1944
- l(Ue, {
1958
+ l(Me, {
1945
1959
  modelValue: e(_).remark,
1946
- "onUpdate:modelValue": L[2] || (L[2] = (X) => e(_).remark = X),
1960
+ "onUpdate:modelValue": U[2] || (U[2] = (Q) => e(_).remark = Q),
1947
1961
  placeholder: e(a)("placeholder.input")
1948
1962
  }, null, 8, ["modelValue", "placeholder"])
1949
1963
  ]),
@@ -1952,10 +1966,10 @@ const Te = /* @__PURE__ */ O({
1952
1966
  ]),
1953
1967
  _: 1
1954
1968
  }, 8, ["model", "disabled"]),
1955
- l(Te, {
1969
+ l(Oe, {
1956
1970
  ref_key: "I18nTableDrawerRef",
1957
- ref: h,
1958
- onChoosed: M,
1971
+ ref: g,
1972
+ onChoosed: A,
1959
1973
  onClosed: S
1960
1974
  }, null, 512)
1961
1975
  ]),
@@ -1963,16 +1977,16 @@ const Te = /* @__PURE__ */ O({
1963
1977
  }, 8, ["modelValue", "width"]);
1964
1978
  };
1965
1979
  }
1966
- }), hl = W.routineApi("gateway", "id", {
1980
+ }), kl = W.routineApi("gateway", "id", {
1967
1981
  gen: "gen_translation"
1968
1982
  });
1969
- function Vl(x) {
1970
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !we(x);
1983
+ function vl(x) {
1984
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !xe(x);
1971
1985
  }
1972
- const Bl = /* @__PURE__ */ O({
1986
+ const Wl = /* @__PURE__ */ O({
1973
1987
  __name: "index",
1974
1988
  setup(x) {
1975
- const U = {
1989
+ const R = {
1976
1990
  keyword: "",
1977
1991
  app: 0,
1978
1992
  status: 0
@@ -1987,7 +2001,7 @@ const Bl = /* @__PURE__ */ O({
1987
2001
  return l(s("el-tag"), {
1988
2002
  type: a("i18n.app.colors." + d.app),
1989
2003
  style: "min-width: 80px"
1990
- }, Vl(r = a("i18n.app." + d.app)) ? r : {
2004
+ }, vl(r = a("i18n.app." + d.app)) ? r : {
1991
2005
  default: () => [r]
1992
2006
  });
1993
2007
  }
@@ -2007,7 +2021,7 @@ const Bl = /* @__PURE__ */ O({
2007
2021
  props: {
2008
2022
  activeValue: 1,
2009
2023
  inactiveValue: 2,
2010
- api: te.urls[Re],
2024
+ api: te.urls[Ue],
2011
2025
  refresh: !0
2012
2026
  }
2013
2027
  }, {
@@ -2032,23 +2046,23 @@ const Bl = /* @__PURE__ */ O({
2032
2046
  }) => l(s("el-space"), null, {
2033
2047
  default: () => [l(le, {
2034
2048
  size: "default",
2035
- disabled: V.value,
2049
+ disabled: b.value,
2036
2050
  onModify: () => _({
2037
2051
  uuid: d.uuid
2038
2052
  })
2039
- }, null), l(Q, {
2053
+ }, null), l(H, {
2040
2054
  size: "default",
2041
2055
  text: !0,
2042
2056
  type: "danger",
2043
- loading: V.value,
2044
- onClick: () => A(d.uuid)
2057
+ loading: b.value,
2058
+ onClick: () => D(d.uuid)
2045
2059
  }, null)]
2046
2060
  })
2047
2061
  }], {
2048
- requesting: h,
2049
- executing: V
2062
+ requesting: g,
2063
+ executing: b
2050
2064
  } = E(te), {
2051
- formModalRef: b,
2065
+ formModalRef: h,
2052
2066
  openFormModal: c
2053
2067
  } = F(), {
2054
2068
  tableRef: i,
@@ -2057,10 +2071,10 @@ const Bl = /* @__PURE__ */ O({
2057
2071
  search: v,
2058
2072
  reset: u,
2059
2073
  refresh: f,
2060
- openFormModal: g,
2074
+ openFormModal: V,
2061
2075
  editFormModal: _
2062
- } = F(U);
2063
- function A(d) {
2076
+ } = F(R);
2077
+ function D(d) {
2064
2078
  return te.remove({
2065
2079
  uuid: d
2066
2080
  }).finally(() => {
@@ -2068,98 +2082,101 @@ const Bl = /* @__PURE__ */ O({
2068
2082
  });
2069
2083
  }
2070
2084
  function w() {
2071
- return H.gen().finally(() => {
2085
+ return J.gen().finally(() => {
2072
2086
  f();
2073
2087
  });
2074
2088
  }
2075
2089
  function t() {
2076
- hl.gen().finally(() => {
2090
+ kl.gen().finally(() => {
2077
2091
  f();
2078
2092
  });
2079
2093
  }
2080
2094
  return (d, r) => {
2081
- const y = s("el-divider"), m = s("el-input"), S = s("el-radio-button"), M = s("el-radio-group"), q = s("el-space"), R = s("el-page-header"), L = s("el-card");
2095
+ const y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), A = s("el-space"), q = s("el-divider"), M = s("el-page-header"), L = s("el-card");
2082
2096
  return C(), T(L, {
2083
2097
  class: "basic-card flex-full",
2084
2098
  "body-class": "flex-1"
2085
2099
  }, {
2086
- header: o(() => [l(R, {
2100
+ header: o(() => [l(M, {
2087
2101
  class: "basic-header"
2088
2102
  }, {
2089
2103
  title: o(() => [l(e(K), {
2090
- loading: e(h),
2104
+ loading: e(g),
2091
2105
  onRefresh: e(u)
2092
2106
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
2093
- onOpen: e(g)
2094
- }, null, 8, ["onOpen"])]),
2095
- extra: o(() => [l(e(Q), {
2096
- size: "default",
2097
- type: "warning",
2098
- icon: "icon-cloud-upload",
2099
- plain: !1,
2100
- loading: e(V),
2101
- onClick: w
2102
- }, null, 8, ["loading"]), l(e(Q), {
2103
- size: "default",
2104
- type: "danger",
2105
- icon: "icon-translate",
2106
- plain: !1,
2107
- loading: e(V),
2108
- onClick: t
2109
- }, null, 8, ["loading"]), l(y, {
2110
- direction: "vertical"
2111
- }), l(e(j), {
2112
- onOpen: e(c),
2113
- icon: "icon-en-US"
2107
+ onOpen: e(V)
2114
2108
  }, null, 8, ["onOpen"])]),
2115
- content: o(() => [l(q, {
2109
+ content: o(() => [l(A, {
2116
2110
  class: "search-bar"
2117
2111
  }, {
2118
- default: o(() => [l(m, {
2112
+ default: o(() => [l(y, {
2119
2113
  class: "basic-search-input",
2120
2114
  modelValue: e(n).keyword,
2121
- "onUpdate:modelValue": r[0] || (r[0] = (D) => e(n).keyword = D),
2115
+ "onUpdate:modelValue": r[0] || (r[0] = (U) => e(n).keyword = U),
2116
+ disabled: e(g) || e(b),
2122
2117
  placeholder: e(a)("placeholder.keyword"),
2123
2118
  clearable: "",
2124
- onKeyup: r[1] || (r[1] = ge((D) => e(v)(), ["enter"])),
2125
- onClear: r[2] || (r[2] = (D) => e(v)())
2126
- }, null, 8, ["modelValue", "placeholder"]), l(e(De), {
2119
+ onKeyup: r[1] || (r[1] = he((U) => e(v)(), ["enter"])),
2120
+ onClear: r[2] || (r[2] = (U) => e(v)())
2121
+ }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Se), {
2127
2122
  modelValue: e(n).app,
2128
- "onUpdate:modelValue": r[3] || (r[3] = (D) => e(n).app = D),
2123
+ "onUpdate:modelValue": r[3] || (r[3] = (U) => e(n).app = U),
2129
2124
  "cache-key": "I18NAPPS",
2125
+ disabled: e(g) || e(b),
2130
2126
  url: e(te).urls.apps,
2131
- onChange: r[4] || (r[4] = (D) => e(v)())
2132
- }, null, 8, ["modelValue", "url"]), l(M, {
2127
+ onChange: r[4] || (r[4] = (U) => e(v)())
2128
+ }, null, 8, ["modelValue", "disabled", "url"]), l(S, {
2133
2129
  modelValue: e(n).status,
2134
- "onUpdate:modelValue": r[5] || (r[5] = (D) => e(n).status = D),
2135
- onChange: r[6] || (r[6] = (D) => e(v)())
2130
+ "onUpdate:modelValue": r[5] || (r[5] = (U) => e(n).status = U),
2131
+ disabled: e(g) || e(b),
2132
+ onChange: r[6] || (r[6] = (U) => e(v)())
2136
2133
  }, {
2137
- default: o(() => [(C(), B(G, null, ae([0, 1, 2], (D) => l(S, {
2138
- key: D,
2139
- label: e(a)(`status.${D}`),
2140
- value: D
2134
+ default: o(() => [(C(), I(G, null, ae([0, 1, 2], (U) => l(m, {
2135
+ key: U,
2136
+ label: e(a)(`status.${U}`),
2137
+ value: U
2141
2138
  }, null, 8, ["label", "value"])), 64))]),
2142
2139
  _: 1
2143
- }, 8, ["modelValue"]), l(e(oe), {
2144
- disabled: e(h),
2145
- onSearch: r[7] || (r[7] = (D) => e(v)())
2140
+ }, 8, ["modelValue", "disabled"]), l(e(oe), {
2141
+ disabled: e(g) || e(b),
2142
+ onSearch: r[7] || (r[7] = (U) => e(v)())
2146
2143
  }, null, 8, ["disabled"])]),
2147
2144
  _: 1
2148
2145
  })]),
2146
+ extra: o(() => [l(e(H), {
2147
+ size: "default",
2148
+ type: "warning",
2149
+ icon: "icon-cloud-upload",
2150
+ plain: !1,
2151
+ loading: e(b),
2152
+ onClick: w
2153
+ }, null, 8, ["loading"]), l(e(H), {
2154
+ size: "default",
2155
+ type: "danger",
2156
+ icon: "icon-translate",
2157
+ plain: !1,
2158
+ loading: e(b),
2159
+ onClick: t
2160
+ }, null, 8, ["loading"]), l(q, {
2161
+ direction: "vertical"
2162
+ }), l(e(j), {
2163
+ onOpen: e(c),
2164
+ icon: "icon-en-US"
2165
+ }, null, 8, ["onOpen"])]),
2149
2166
  _: 1
2150
2167
  })]),
2151
- default: o(() => [l(e(me), {
2168
+ default: o(() => [l(e(ce), {
2152
2169
  ref_key: "tableRef",
2153
2170
  ref: i,
2154
2171
  columns: k,
2155
- url: e(te).urls[e(he)],
2172
+ url: e(te).urls[e(Ve)],
2156
2173
  "search-param": e(n),
2157
2174
  "auto-search": ""
2158
- }, null, 8, ["url", "search-param"]), l(Te, {
2175
+ }, null, 8, ["url", "search-param"]), l(Oe, {
2159
2176
  ref_key: "I18nTableDrawerRef",
2160
- ref: b,
2177
+ ref: h,
2161
2178
  onRefresh: e(f)
2162
- }, null, 8, ["onRefresh"]), l(gl, {
2179
+ }, null, 8, ["onRefresh"]), l(yl, {
2163
2180
  ref_key: "formModalRef",
2164
2181
  ref: p,
2165
2182
  onRefresh: e(f)
@@ -2168,11 +2185,11 @@ const Bl = /* @__PURE__ */ O({
2168
2185
  });
2169
2186
  };
2170
2187
  }
2171
- }), ke = W.routineApi("admin", "key"), yl = /* @__PURE__ */ O({
2188
+ }), ve = W.routineApi("admin", "key"), wl = /* @__PURE__ */ O({
2172
2189
  __name: "AdminFormModal",
2173
2190
  emits: ["refresh"],
2174
- setup(x, { expose: U, emit: k }) {
2175
- const h = k, V = {
2191
+ setup(x, { expose: R, emit: k }) {
2192
+ const g = k, b = {
2176
2193
  key: "",
2177
2194
  username: "",
2178
2195
  password: "",
@@ -2181,7 +2198,7 @@ const Bl = /* @__PURE__ */ O({
2181
2198
  language: "zh-CN",
2182
2199
  remark: "",
2183
2200
  roles: []
2184
- }, { modal: b, title: c, form: i, formData: p, requesting: n, executing: v, open: u, modify: f, submit: g, closed: _ } = J(h, V, ke), A = {
2201
+ }, { modal: h, title: c, form: i, formData: p, requesting: n, executing: v, open: u, modify: f, submit: V, closed: _ } = X(g, b, ve), D = {
2185
2202
  username: [
2186
2203
  {
2187
2204
  required: !0,
@@ -2192,7 +2209,7 @@ const Bl = /* @__PURE__ */ O({
2192
2209
  phone: [
2193
2210
  {
2194
2211
  required: !0,
2195
- validator: Ge.phoneRule,
2212
+ validator: He.phoneRule,
2196
2213
  message: a("placeholder.input base.phone"),
2197
2214
  trigger: "blur"
2198
2215
  }
@@ -2226,25 +2243,25 @@ const Bl = /* @__PURE__ */ O({
2226
2243
  trigger: "change"
2227
2244
  }
2228
2245
  ]
2229
- }, w = I([]), t = async () => {
2230
- const d = await Ve.list();
2246
+ }, w = N([]), t = async () => {
2247
+ const d = await ke.list();
2231
2248
  w.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2232
2249
  };
2233
- return Ke(async () => {
2250
+ return We(async () => {
2234
2251
  await t();
2235
- }), U({
2252
+ }), R({
2236
2253
  open: u,
2237
2254
  modify: f
2238
2255
  }), (d, r) => {
2239
- const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), M = s("el-radio-group"), q = s("el-checkbox"), R = s("el-checkbox-group"), L = s("el-form");
2256
+ const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), A = s("el-radio-group"), q = s("el-checkbox"), M = s("el-checkbox-group"), L = s("el-form");
2240
2257
  return C(), T(e(ee), {
2241
- modelValue: e(b),
2242
- "onUpdate:modelValue": r[7] || (r[7] = (D) => P(b) ? b.value = D : null),
2258
+ modelValue: e(h),
2259
+ "onUpdate:modelValue": r[7] || (r[7] = (U) => P(h) ? h.value = U : null),
2243
2260
  title: e(c)(),
2244
2261
  width: "600px",
2245
2262
  executing: e(v),
2246
2263
  onClosed: e(_),
2247
- onSubmit: e(g)
2264
+ onSubmit: e(V)
2248
2265
  }, {
2249
2266
  default: o(() => [
2250
2267
  l(L, {
@@ -2252,7 +2269,7 @@ const Bl = /* @__PURE__ */ O({
2252
2269
  ref: i,
2253
2270
  model: e(p),
2254
2271
  "label-width": "auto",
2255
- rules: A,
2272
+ rules: D,
2256
2273
  disabled: e(n) || e(v)
2257
2274
  }, {
2258
2275
  default: o(() => [
@@ -2263,7 +2280,7 @@ const Bl = /* @__PURE__ */ O({
2263
2280
  default: o(() => [
2264
2281
  l(y, {
2265
2282
  modelValue: e(p).username,
2266
- "onUpdate:modelValue": r[0] || (r[0] = (D) => e(p).username = D),
2283
+ "onUpdate:modelValue": r[0] || (r[0] = (U) => e(p).username = U),
2267
2284
  placeholder: e(a)("placeholder.input"),
2268
2285
  autocomplete: "off"
2269
2286
  }, null, 8, ["modelValue", "placeholder"])
@@ -2277,7 +2294,7 @@ const Bl = /* @__PURE__ */ O({
2277
2294
  default: o(() => [
2278
2295
  l(y, {
2279
2296
  modelValue: e(p).phone,
2280
- "onUpdate:modelValue": r[1] || (r[1] = (D) => e(p).phone = D),
2297
+ "onUpdate:modelValue": r[1] || (r[1] = (U) => e(p).phone = U),
2281
2298
  placeholder: e(a)("placeholder.input"),
2282
2299
  autocomplete: "off"
2283
2300
  }, null, 8, ["modelValue", "placeholder"])
@@ -2292,7 +2309,7 @@ const Bl = /* @__PURE__ */ O({
2292
2309
  default: o(() => [
2293
2310
  l(y, {
2294
2311
  modelValue: e(p).password,
2295
- "onUpdate:modelValue": r[2] || (r[2] = (D) => e(p).password = D),
2312
+ "onUpdate:modelValue": r[2] || (r[2] = (U) => e(p).password = U),
2296
2313
  placeholder: e(a)("placeholder.input"),
2297
2314
  autocomplete: "off"
2298
2315
  }, null, 8, ["modelValue", "placeholder"])
@@ -2306,7 +2323,7 @@ const Bl = /* @__PURE__ */ O({
2306
2323
  default: o(() => [
2307
2324
  l(y, {
2308
2325
  modelValue: e(p).email,
2309
- "onUpdate:modelValue": r[3] || (r[3] = (D) => e(p).email = D),
2326
+ "onUpdate:modelValue": r[3] || (r[3] = (U) => e(p).email = U),
2310
2327
  placeholder: e(a)("placeholder.input"),
2311
2328
  autocomplete: "off"
2312
2329
  }, null, 8, ["modelValue", "placeholder"])
@@ -2318,9 +2335,9 @@ const Bl = /* @__PURE__ */ O({
2318
2335
  prop: "language"
2319
2336
  }, {
2320
2337
  default: o(() => [
2321
- l(M, {
2338
+ l(A, {
2322
2339
  modelValue: e(p).language,
2323
- "onUpdate:modelValue": r[4] || (r[4] = (D) => e(p).language = D)
2340
+ "onUpdate:modelValue": r[4] || (r[4] = (U) => e(p).language = U)
2324
2341
  }, {
2325
2342
  default: o(() => [
2326
2343
  l(S, { value: "zh-CN" }, {
@@ -2346,17 +2363,17 @@ const Bl = /* @__PURE__ */ O({
2346
2363
  prop: "roles"
2347
2364
  }, {
2348
2365
  default: o(() => [
2349
- l(R, {
2366
+ l(M, {
2350
2367
  modelValue: e(p).roles,
2351
- "onUpdate:modelValue": r[5] || (r[5] = (D) => e(p).roles = D)
2368
+ "onUpdate:modelValue": r[5] || (r[5] = (U) => e(p).roles = U)
2352
2369
  }, {
2353
2370
  default: o(() => [
2354
- (C(!0), B(G, null, ae(w.value, (D) => (C(), T(q, {
2355
- key: D.key,
2356
- value: D.key
2371
+ (C(!0), I(G, null, ae(w.value, (U) => (C(), T(q, {
2372
+ key: U.key,
2373
+ value: U.key
2357
2374
  }, {
2358
2375
  default: o(() => [
2359
- Z(z(D.translate), 1)
2376
+ Z(z(U.translate), 1)
2360
2377
  ]),
2361
2378
  _: 2
2362
2379
  }, 1032, ["value"]))), 128))
@@ -2373,7 +2390,7 @@ const Bl = /* @__PURE__ */ O({
2373
2390
  default: o(() => [
2374
2391
  l(y, {
2375
2392
  modelValue: e(p).remark,
2376
- "onUpdate:modelValue": r[6] || (r[6] = (D) => e(p).remark = D),
2393
+ "onUpdate:modelValue": r[6] || (r[6] = (U) => e(p).remark = U),
2377
2394
  placeholder: e(a)("placeholder.input")
2378
2395
  }, null, 8, ["modelValue", "placeholder"])
2379
2396
  ]),
@@ -2387,10 +2404,10 @@ const Bl = /* @__PURE__ */ O({
2387
2404
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2388
2405
  };
2389
2406
  }
2390
- }), jl = /* @__PURE__ */ O({
2407
+ }), Yl = /* @__PURE__ */ O({
2391
2408
  __name: "index",
2392
2409
  setup(x) {
2393
- const U = {
2410
+ const R = {
2394
2411
  keyword: ""
2395
2412
  }, k = [{
2396
2413
  label: a("base.avatar"),
@@ -2398,7 +2415,7 @@ const Bl = /* @__PURE__ */ O({
2398
2415
  width: 60,
2399
2416
  render: ({
2400
2417
  row: f
2401
- }) => l(He, {
2418
+ }) => l(Qe, {
2402
2419
  src: f.avatar
2403
2420
  }, null)
2404
2421
  }, {
@@ -2422,7 +2439,7 @@ const Bl = /* @__PURE__ */ O({
2422
2439
  prop: "remark",
2423
2440
  width: 0
2424
2441
  }, {
2425
- label: a("base.login_at"),
2442
+ label: a("time.login_at"),
2426
2443
  prop: "login_at",
2427
2444
  width: 160
2428
2445
  }, {
@@ -2446,19 +2463,19 @@ const Bl = /* @__PURE__ */ O({
2446
2463
  })
2447
2464
  }, null)
2448
2465
  }], {
2449
- requesting: h
2450
- } = E(ke), {
2451
- tableRef: V,
2452
- formModalRef: b,
2466
+ requesting: g
2467
+ } = E(ve), {
2468
+ tableRef: b,
2469
+ formModalRef: h,
2453
2470
  keyword: c,
2454
2471
  search: i,
2455
2472
  reset: p,
2456
2473
  refresh: n,
2457
2474
  openFormModal: v,
2458
2475
  editFormModal: u
2459
- } = F(U);
2460
- return (f, g) => {
2461
- const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"), t = s("el-card");
2476
+ } = F(R);
2477
+ return (f, V) => {
2478
+ const _ = s("el-input"), D = s("el-space"), w = s("el-page-header"), t = s("el-card");
2462
2479
  return C(), T(t, {
2463
2480
  class: "basic-card flex-full",
2464
2481
  "body-class": "flex-1"
@@ -2467,50 +2484,50 @@ const Bl = /* @__PURE__ */ O({
2467
2484
  class: "basic-header"
2468
2485
  }, {
2469
2486
  title: o(() => [l(e(K), {
2470
- loading: e(h),
2487
+ loading: e(g),
2471
2488
  onRefresh: e(p)
2472
2489
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
2473
2490
  onOpen: e(v)
2474
2491
  }, null, 8, ["onOpen"])]),
2475
- content: o(() => [l(A, {
2492
+ content: o(() => [l(D, {
2476
2493
  class: "search-bar"
2477
2494
  }, {
2478
2495
  default: o(() => [l(_, {
2479
2496
  class: "basic-search-input",
2480
2497
  modelValue: e(c).keyword,
2481
- "onUpdate:modelValue": g[0] || (g[0] = (d) => e(c).keyword = d),
2498
+ "onUpdate:modelValue": V[0] || (V[0] = (d) => e(c).keyword = d),
2482
2499
  placeholder: e(a)("placeholder.keyword"),
2483
2500
  clearable: "",
2484
- onKeyup: g[1] || (g[1] = ge((d) => e(i)(), ["enter"])),
2485
- onClear: g[2] || (g[2] = (d) => e(i)())
2501
+ onKeyup: V[1] || (V[1] = he((d) => e(i)(), ["enter"])),
2502
+ onClear: V[2] || (V[2] = (d) => e(i)())
2486
2503
  }, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
2487
- disabled: e(h),
2488
- onSearch: g[3] || (g[3] = (d) => e(i)())
2504
+ disabled: e(g),
2505
+ onSearch: V[3] || (V[3] = (d) => e(i)())
2489
2506
  }, null, 8, ["disabled"])]),
2490
2507
  _: 1
2491
2508
  })]),
2492
2509
  _: 1
2493
2510
  })]),
2494
- default: o(() => [l(e(me), {
2511
+ default: o(() => [l(e(ce), {
2495
2512
  ref_key: "tableRef",
2496
- ref: V,
2513
+ ref: b,
2497
2514
  size: "small",
2498
2515
  columns: k,
2499
- url: e(ke).urls[e(he)],
2516
+ url: e(ve).urls[e(Ve)],
2500
2517
  "search-param": e(c),
2501
2518
  "auto-search": ""
2502
- }, null, 8, ["url", "search-param"]), l(yl, {
2519
+ }, null, 8, ["url", "search-param"]), l(wl, {
2503
2520
  ref_key: "formModalRef",
2504
- ref: b,
2521
+ ref: h,
2505
2522
  onRefresh: e(n)
2506
2523
  }, null, 8, ["onRefresh"])]),
2507
2524
  _: 1
2508
2525
  });
2509
2526
  };
2510
2527
  }
2511
- }), kl = {
2528
+ }), xl = {
2512
2529
  check: "check"
2513
- }, se = W.routineApi("site", "id", kl), _e = W.routineApi("domain"), Oe = /* @__PURE__ */ O({
2530
+ }, ue = W.routineApi("site", "id", xl), be = W.routineApi("domain"), $e = /* @__PURE__ */ O({
2514
2531
  __name: "DomainSelect",
2515
2532
  props: {
2516
2533
  modelValue: {
@@ -2524,46 +2541,46 @@ const Bl = /* @__PURE__ */ O({
2524
2541
  },
2525
2542
  emits: ["update:modelValue", "change"],
2526
2543
  setup(x, {
2527
- expose: U,
2544
+ expose: R,
2528
2545
  emit: k
2529
2546
  }) {
2530
- const h = k, V = x, {
2531
- requesting: b
2532
- } = E(_e), {
2547
+ const g = k, b = x, {
2548
+ requesting: h
2549
+ } = E(be), {
2533
2550
  key: c,
2534
2551
  options: i,
2535
2552
  refresh: p,
2536
2553
  change: n
2537
- } = re(ne(V, "modelValue"), h, {
2554
+ } = re(ne(b, "modelValue"), g, {
2538
2555
  key: "DOMAIN_LIST",
2539
- api: _e,
2556
+ api: be,
2540
2557
  isArray: !0
2541
2558
  });
2542
- return U({
2559
+ return R({
2543
2560
  refresh: p
2544
2561
  }), (v, u) => {
2545
2562
  const f = s("el-select-v2");
2546
2563
  return C(), T(f, {
2547
2564
  modelValue: e(c),
2548
- "onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
2565
+ "onUpdate:modelValue": u[0] || (u[0] = (V) => P(c) ? c.value = V : null),
2549
2566
  options: e(i),
2550
- disabled: x.disabled || e(b),
2567
+ disabled: x.disabled || e(h),
2551
2568
  placeholder: e(a)("base.select config.domain"),
2552
2569
  onChange: e(n)
2553
2570
  }, {
2554
- prefix: o(() => [l(e(pe), {
2555
- loading: e(b),
2571
+ prefix: o(() => [l(e(me), {
2572
+ loading: e(h),
2556
2573
  onRefresh: e(p)
2557
2574
  }, null, 8, ["loading", "onRefresh"])]),
2558
2575
  _: 1
2559
2576
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2560
2577
  };
2561
2578
  }
2562
- }), vl = /* @__PURE__ */ O({
2579
+ }), Rl = /* @__PURE__ */ O({
2563
2580
  __name: "SiteFormModal",
2564
2581
  emits: ["refresh"],
2565
- setup(x, { expose: U, emit: k }) {
2566
- const h = k, V = {
2582
+ setup(x, { expose: R, emit: k }) {
2583
+ const g = k, b = {
2567
2584
  id: 0,
2568
2585
  domain_id: 0,
2569
2586
  prefix: "",
@@ -2573,15 +2590,15 @@ const Bl = /* @__PURE__ */ O({
2573
2590
  git: "",
2574
2591
  status: 1,
2575
2592
  remark: ""
2576
- }, b = {
2593
+ }, h = {
2577
2594
  domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
2578
2595
  prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
2579
2596
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2580
2597
  en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
2581
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, se);
2582
- return U({
2598
+ }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: V, submit: _, closed: D } = X(g, b, ue);
2599
+ return R({
2583
2600
  open: f,
2584
- modify: g
2601
+ modify: V
2585
2602
  }), (w, t) => {
2586
2603
  const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
2587
2604
  return C(), T(e(ee), {
@@ -2590,7 +2607,7 @@ const Bl = /* @__PURE__ */ O({
2590
2607
  title: e(i)("config.site"),
2591
2608
  width: "600px",
2592
2609
  executing: e(u),
2593
- onClosed: e(A),
2610
+ onClosed: e(D),
2594
2611
  onSubmit: e(_)
2595
2612
  }, {
2596
2613
  default: o(() => [
@@ -2599,7 +2616,7 @@ const Bl = /* @__PURE__ */ O({
2599
2616
  ref: p,
2600
2617
  model: e(n),
2601
2618
  "label-width": "auto",
2602
- rules: b,
2619
+ rules: h,
2603
2620
  disabled: e(v) || e(u)
2604
2621
  }, {
2605
2622
  default: o(() => [
@@ -2608,7 +2625,7 @@ const Bl = /* @__PURE__ */ O({
2608
2625
  label: e(a)("config.domain")
2609
2626
  }, {
2610
2627
  default: o(() => [
2611
- l(Oe, {
2628
+ l($e, {
2612
2629
  modelValue: e(n).domain_id,
2613
2630
  "onUpdate:modelValue": t[0] || (t[0] = (m) => e(n).domain_id = m),
2614
2631
  disabled: e(u)
@@ -2708,7 +2725,7 @@ const Bl = /* @__PURE__ */ O({
2708
2725
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2709
2726
  };
2710
2727
  }
2711
- }), be = W.routineApi("domain_provider"), wl = /* @__PURE__ */ O({
2728
+ }), ge = W.routineApi("domain_provider"), Ul = /* @__PURE__ */ O({
2712
2729
  __name: "DomainProviderSelect",
2713
2730
  props: {
2714
2731
  modelValue: {
@@ -2722,59 +2739,59 @@ const Bl = /* @__PURE__ */ O({
2722
2739
  },
2723
2740
  emits: ["update:modelValue", "change"],
2724
2741
  setup(x, {
2725
- expose: U,
2742
+ expose: R,
2726
2743
  emit: k
2727
2744
  }) {
2728
- const h = k, V = x, {
2729
- requesting: b
2730
- } = E(be), {
2745
+ const g = k, b = x, {
2746
+ requesting: h
2747
+ } = E(ge), {
2731
2748
  key: c,
2732
2749
  options: i,
2733
2750
  refresh: p,
2734
2751
  change: n
2735
- } = re(ne(V, "modelValue"), h, {
2752
+ } = re(ne(b, "modelValue"), g, {
2736
2753
  key: "DOMAIN_PROVIDER_LIST",
2737
- api: be,
2754
+ api: ge,
2738
2755
  isArray: !0
2739
2756
  });
2740
- return U({
2757
+ return R({
2741
2758
  refresh: p
2742
2759
  }), (v, u) => {
2743
2760
  const f = s("el-select-v2");
2744
2761
  return C(), T(f, {
2745
2762
  modelValue: e(c),
2746
- "onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
2763
+ "onUpdate:modelValue": u[0] || (u[0] = (V) => P(c) ? c.value = V : null),
2747
2764
  options: e(i),
2748
- disabled: x.disabled || e(b),
2765
+ disabled: x.disabled || e(h),
2749
2766
  placeholder: e(a)("base.select config.domain config.provider"),
2750
2767
  onChange: e(n)
2751
2768
  }, {
2752
- prefix: o(() => [l(e(pe), {
2753
- loading: e(b),
2769
+ prefix: o(() => [l(e(me), {
2770
+ loading: e(h),
2754
2771
  onRefresh: e(p)
2755
2772
  }, null, 8, ["loading", "onRefresh"])]),
2756
2773
  _: 1
2757
2774
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2758
2775
  };
2759
2776
  }
2760
- }), xl = /* @__PURE__ */ O({
2777
+ }), Ml = /* @__PURE__ */ O({
2761
2778
  __name: "DomainFormModal",
2762
2779
  emits: ["refresh"],
2763
- setup(x, { expose: U, emit: k }) {
2764
- const h = k, V = {
2780
+ setup(x, { expose: R, emit: k }) {
2781
+ const g = k, b = {
2765
2782
  id: 0,
2766
2783
  provider_id: 0,
2767
2784
  name: "",
2768
2785
  expired_at: "",
2769
2786
  status: 1,
2770
2787
  remark: ""
2771
- }, b = {
2788
+ }, h = {
2772
2789
  provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
2773
2790
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
2774
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, _e);
2775
- return U({
2791
+ }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: V, submit: _, closed: D } = X(g, b, be);
2792
+ return R({
2776
2793
  open: f,
2777
- modify: g
2794
+ modify: V
2778
2795
  }), (w, t) => {
2779
2796
  const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), m = s("el-form");
2780
2797
  return C(), T(e(ee), {
@@ -2783,7 +2800,7 @@ const Bl = /* @__PURE__ */ O({
2783
2800
  title: e(i)("config.domain"),
2784
2801
  width: "600px",
2785
2802
  executing: e(u),
2786
- onClosed: e(A),
2803
+ onClosed: e(D),
2787
2804
  onSubmit: e(_)
2788
2805
  }, {
2789
2806
  default: o(() => [
@@ -2792,7 +2809,7 @@ const Bl = /* @__PURE__ */ O({
2792
2809
  ref: p,
2793
2810
  model: e(n),
2794
2811
  "label-width": "auto",
2795
- rules: b,
2812
+ rules: h,
2796
2813
  disabled: e(v) || e(u)
2797
2814
  }, {
2798
2815
  default: o(() => [
@@ -2801,7 +2818,7 @@ const Bl = /* @__PURE__ */ O({
2801
2818
  label: e(a)("config.provider")
2802
2819
  }, {
2803
2820
  default: o(() => [
2804
- l(wl, {
2821
+ l(Ul, {
2805
2822
  modelValue: e(n).provider_id,
2806
2823
  "onUpdate:modelValue": t[0] || (t[0] = (S) => e(n).provider_id = S),
2807
2824
  disabled: e(u)
@@ -2864,9 +2881,9 @@ const Bl = /* @__PURE__ */ O({
2864
2881
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2865
2882
  };
2866
2883
  }
2867
- }), Rl = {
2884
+ }), Al = {
2868
2885
  gen: "gen"
2869
- }, ue = W.routineApi("SSL", "id", Rl), Ul = /* @__PURE__ */ O({
2886
+ }, ie = W.routineApi("SSL", "id", Al), Dl = /* @__PURE__ */ O({
2870
2887
  __name: "SiteSelect",
2871
2888
  props: {
2872
2889
  modelValue: {
@@ -2880,19 +2897,19 @@ const Bl = /* @__PURE__ */ O({
2880
2897
  },
2881
2898
  emits: ["update:modelValue", "change"],
2882
2899
  setup(x, {
2883
- expose: U,
2900
+ expose: R,
2884
2901
  emit: k
2885
2902
  }) {
2886
- const h = k, V = x, {
2887
- requesting: b
2888
- } = E(se), {
2903
+ const g = k, b = x, {
2904
+ requesting: h
2905
+ } = E(ue), {
2889
2906
  key: c,
2890
2907
  options: i,
2891
2908
  refresh: p,
2892
2909
  change: n
2893
- } = re(ne(V, "modelValue"), h, {
2910
+ } = re(ne(b, "modelValue"), g, {
2894
2911
  key: "SITE_LIST",
2895
- api: se,
2912
+ api: ue,
2896
2913
  isArray: !0
2897
2914
  }, {
2898
2915
  formatOptions: (v) => v.map((u) => {
@@ -2904,31 +2921,31 @@ const Bl = /* @__PURE__ */ O({
2904
2921
  };
2905
2922
  })
2906
2923
  });
2907
- return U({
2924
+ return R({
2908
2925
  refresh: p
2909
2926
  }), (v, u) => {
2910
2927
  const f = s("el-select-v2");
2911
2928
  return C(), T(f, {
2912
2929
  modelValue: e(c),
2913
- "onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
2930
+ "onUpdate:modelValue": u[0] || (u[0] = (V) => P(c) ? c.value = V : null),
2914
2931
  options: e(i),
2915
- disabled: x.disabled || e(b),
2932
+ disabled: x.disabled || e(h),
2916
2933
  placeholder: e(a)("base.select config.domain"),
2917
2934
  onChange: e(n)
2918
2935
  }, {
2919
- prefix: o(() => [l(e(pe), {
2920
- loading: e(b),
2936
+ prefix: o(() => [l(e(me), {
2937
+ loading: e(h),
2921
2938
  onRefresh: e(p)
2922
2939
  }, null, 8, ["loading", "onRefresh"])]),
2923
2940
  _: 1
2924
2941
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2925
2942
  };
2926
2943
  }
2927
- }), $e = /* @__PURE__ */ O({
2944
+ }), Fe = /* @__PURE__ */ O({
2928
2945
  __name: "SSLFormModal",
2929
2946
  emits: ["refresh"],
2930
- setup(x, { expose: U, emit: k }) {
2931
- const h = k, V = {
2947
+ setup(x, { expose: R, emit: k }) {
2948
+ const g = k, b = {
2932
2949
  id: 0,
2933
2950
  domain_id: void 0,
2934
2951
  client: "Lego",
@@ -2938,27 +2955,27 @@ const Bl = /* @__PURE__ */ O({
2938
2955
  email: "",
2939
2956
  encryption: "RSA2048",
2940
2957
  remark: ""
2941
- }, b = {
2958
+ }, h = {
2942
2959
  domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
2943
2960
  client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
2944
2961
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2945
2962
  path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
2946
2963
  email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
2947
2964
  encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
2948
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, ue);
2949
- return U({
2965
+ }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: V, submit: _, closed: D } = X(g, b, ie);
2966
+ return R({
2950
2967
  open: f,
2951
- modify: g,
2968
+ modify: V,
2952
2969
  formData: n
2953
2970
  }), (w, t) => {
2954
2971
  const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), m = s("el-input"), S = s("el-form");
2955
2972
  return C(), T(e(ee), {
2956
2973
  modelValue: e(c),
2957
- "onUpdate:modelValue": t[8] || (t[8] = (M) => P(c) ? c.value = M : null),
2974
+ "onUpdate:modelValue": t[8] || (t[8] = (A) => P(c) ? c.value = A : null),
2958
2975
  title: e(i)("ssl.ssl"),
2959
2976
  width: "600px",
2960
2977
  executing: e(u),
2961
- onClosed: e(A),
2978
+ onClosed: e(D),
2962
2979
  onSubmit: e(_)
2963
2980
  }, {
2964
2981
  default: o(() => [
@@ -2967,7 +2984,7 @@ const Bl = /* @__PURE__ */ O({
2967
2984
  ref: p,
2968
2985
  model: e(n),
2969
2986
  "label-width": "auto",
2970
- rules: b,
2987
+ rules: h,
2971
2988
  disabled: e(v) || e(u)
2972
2989
  }, {
2973
2990
  default: o(() => [
@@ -2976,9 +2993,9 @@ const Bl = /* @__PURE__ */ O({
2976
2993
  label: e(a)("config.domain")
2977
2994
  }, {
2978
2995
  default: o(() => [
2979
- l(Oe, {
2996
+ l($e, {
2980
2997
  modelValue: e(n).domain_id,
2981
- "onUpdate:modelValue": t[0] || (t[0] = (M) => e(n).domain_id = M),
2998
+ "onUpdate:modelValue": t[0] || (t[0] = (A) => e(n).domain_id = A),
2982
2999
  disabled: e(u)
2983
3000
  }, null, 8, ["modelValue", "disabled"])
2984
3001
  ]),
@@ -2991,7 +3008,7 @@ const Bl = /* @__PURE__ */ O({
2991
3008
  default: o(() => [
2992
3009
  l(y, {
2993
3010
  modelValue: e(n).client,
2994
- "onUpdate:modelValue": t[1] || (t[1] = (M) => e(n).client = M)
3011
+ "onUpdate:modelValue": t[1] || (t[1] = (A) => e(n).client = A)
2995
3012
  }, {
2996
3013
  default: o(() => [
2997
3014
  l(r, {
@@ -3009,9 +3026,9 @@ const Bl = /* @__PURE__ */ O({
3009
3026
  label: e(a)("config.site")
3010
3027
  }, {
3011
3028
  default: o(() => [
3012
- l(Ul, {
3029
+ l(Dl, {
3013
3030
  modelValue: e(n).site_id,
3014
- "onUpdate:modelValue": t[2] || (t[2] = (M) => e(n).site_id = M),
3031
+ "onUpdate:modelValue": t[2] || (t[2] = (A) => e(n).site_id = A),
3015
3032
  disabled: e(u)
3016
3033
  }, null, 8, ["modelValue", "disabled"])
3017
3034
  ]),
@@ -3024,7 +3041,7 @@ const Bl = /* @__PURE__ */ O({
3024
3041
  default: o(() => [
3025
3042
  l(m, {
3026
3043
  modelValue: e(n).name,
3027
- "onUpdate:modelValue": t[3] || (t[3] = (M) => e(n).name = M),
3044
+ "onUpdate:modelValue": t[3] || (t[3] = (A) => e(n).name = A),
3028
3045
  disabled: e(u),
3029
3046
  placeholder: e(a)("placeholder.input")
3030
3047
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3038,7 +3055,7 @@ const Bl = /* @__PURE__ */ O({
3038
3055
  default: o(() => [
3039
3056
  l(m, {
3040
3057
  modelValue: e(n).path,
3041
- "onUpdate:modelValue": t[4] || (t[4] = (M) => e(n).path = M),
3058
+ "onUpdate:modelValue": t[4] || (t[4] = (A) => e(n).path = A),
3042
3059
  disabled: e(u),
3043
3060
  placeholder: e(a)("placeholder.input")
3044
3061
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3052,7 +3069,7 @@ const Bl = /* @__PURE__ */ O({
3052
3069
  default: o(() => [
3053
3070
  l(m, {
3054
3071
  modelValue: e(n).email,
3055
- "onUpdate:modelValue": t[5] || (t[5] = (M) => e(n).email = M),
3072
+ "onUpdate:modelValue": t[5] || (t[5] = (A) => e(n).email = A),
3056
3073
  disabled: e(u),
3057
3074
  placeholder: e(a)("placeholder.input")
3058
3075
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3066,7 +3083,7 @@ const Bl = /* @__PURE__ */ O({
3066
3083
  default: o(() => [
3067
3084
  l(y, {
3068
3085
  modelValue: e(n).encryption,
3069
- "onUpdate:modelValue": t[6] || (t[6] = (M) => e(n).encryption = M)
3086
+ "onUpdate:modelValue": t[6] || (t[6] = (A) => e(n).encryption = A)
3070
3087
  }, {
3071
3088
  default: o(() => [
3072
3089
  l(r, {
@@ -3086,7 +3103,7 @@ const Bl = /* @__PURE__ */ O({
3086
3103
  default: o(() => [
3087
3104
  l(m, {
3088
3105
  modelValue: e(n).remark,
3089
- "onUpdate:modelValue": t[7] || (t[7] = (M) => e(n).remark = M),
3106
+ "onUpdate:modelValue": t[7] || (t[7] = (A) => e(n).remark = A),
3090
3107
  disabled: e(u),
3091
3108
  placeholder: e(a)("placeholder.input")
3092
3109
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3101,11 +3118,11 @@ const Bl = /* @__PURE__ */ O({
3101
3118
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
3102
3119
  };
3103
3120
  }
3104
- }), Ml = /* @__PURE__ */ O({
3121
+ }), Sl = /* @__PURE__ */ O({
3105
3122
  __name: "DomainProviderFormModal",
3106
3123
  emits: ["refresh"],
3107
- setup(x, { expose: U, emit: k }) {
3108
- const h = k, V = {
3124
+ setup(x, { expose: R, emit: k }) {
3125
+ const g = k, b = {
3109
3126
  id: 0,
3110
3127
  name: "",
3111
3128
  en_name: "",
@@ -3114,16 +3131,16 @@ const Bl = /* @__PURE__ */ O({
3114
3131
  end_point: "",
3115
3132
  status: 1,
3116
3133
  remark: ""
3117
- }, b = {
3134
+ }, h = {
3118
3135
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
3119
3136
  en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
3120
3137
  key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
3121
3138
  secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
3122
3139
  end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
3123
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, be);
3124
- return U({
3140
+ }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: V, submit: _, closed: D } = X(g, b, ge);
3141
+ return R({
3125
3142
  open: f,
3126
- modify: g
3143
+ modify: V
3127
3144
  }), (w, t) => {
3128
3145
  const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
3129
3146
  return C(), T(e(ee), {
@@ -3132,7 +3149,7 @@ const Bl = /* @__PURE__ */ O({
3132
3149
  title: e(i)("config.domain"),
3133
3150
  width: "600px",
3134
3151
  executing: e(u),
3135
- onClosed: e(A),
3152
+ onClosed: e(D),
3136
3153
  onSubmit: e(_)
3137
3154
  }, {
3138
3155
  default: o(() => [
@@ -3141,7 +3158,7 @@ const Bl = /* @__PURE__ */ O({
3141
3158
  ref: p,
3142
3159
  model: e(n),
3143
3160
  "label-width": "auto",
3144
- rules: b,
3161
+ rules: h,
3145
3162
  disabled: e(v) || e(u)
3146
3163
  }, {
3147
3164
  default: o(() => [
@@ -3237,16 +3254,16 @@ const Bl = /* @__PURE__ */ O({
3237
3254
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
3238
3255
  };
3239
3256
  }
3240
- }), Al = /* @__PURE__ */ O({
3257
+ }), Cl = /* @__PURE__ */ O({
3241
3258
  __name: "DomainProviderTableDrawer",
3242
3259
  setup(x, {
3243
- expose: U
3260
+ expose: R
3244
3261
  }) {
3245
3262
  const {
3246
3263
  requesting: k
3247
- } = E(be), h = I(!1), {
3248
- tableRef: V,
3249
- formModalRef: b,
3264
+ } = E(ge), g = N(!1), {
3265
+ tableRef: b,
3266
+ formModalRef: h,
3250
3267
  refresh: c,
3251
3268
  openFormModal: i,
3252
3269
  editFormModal: p
@@ -3276,23 +3293,23 @@ const Bl = /* @__PURE__ */ O({
3276
3293
  }, null)]
3277
3294
  })
3278
3295
  }];
3279
- return U({
3296
+ return R({
3280
3297
  open: () => {
3281
- h.value = !0;
3298
+ g.value = !0;
3282
3299
  }
3283
3300
  }), (u, f) => {
3284
- const g = s("el-page-header");
3285
- return C(), T(e(ce), {
3286
- modelValue: h.value,
3287
- "onUpdate:modelValue": f[0] || (f[0] = (_) => h.value = _),
3301
+ const V = s("el-page-header");
3302
+ return C(), T(e(fe), {
3303
+ modelValue: g.value,
3304
+ "onUpdate:modelValue": f[0] || (f[0] = (_) => g.value = _),
3288
3305
  width: "400px",
3289
3306
  "show-close": !1,
3290
3307
  class: "basic-drawer"
3291
3308
  }, {
3292
- title: o(() => [l(g, {
3309
+ title: o(() => [l(V, {
3293
3310
  icon: ""
3294
3311
  }, {
3295
- title: o(() => [N("span", null, z(e(a)("config.domain config.provider")), 1)]),
3312
+ title: o(() => [B("span", null, z(e(a)("config.domain config.provider")), 1)]),
3296
3313
  content: o(() => [l(e(K), {
3297
3314
  onRefresh: e(c),
3298
3315
  size: "default",
@@ -3305,31 +3322,31 @@ const Bl = /* @__PURE__ */ O({
3305
3322
  })]),
3306
3323
  default: o(() => [l(e(de), {
3307
3324
  ref_key: "tableRef",
3308
- ref: V,
3325
+ ref: b,
3309
3326
  size: "small",
3310
3327
  "row-key": "id",
3311
- url: e(be).urls.list,
3328
+ url: e(ge).urls.list,
3312
3329
  columns: n,
3313
3330
  loading: e(k)
3314
- }, null, 8, ["url", "loading"]), l(Ml, {
3331
+ }, null, 8, ["url", "loading"]), l(Sl, {
3315
3332
  ref_key: "formModalRef",
3316
- ref: b,
3333
+ ref: h,
3317
3334
  onRefresh: e(c)
3318
3335
  }, null, 8, ["onRefresh"])]),
3319
3336
  _: 1
3320
3337
  }, 8, ["modelValue"]);
3321
3338
  };
3322
3339
  }
3323
- }), Dl = /* @__PURE__ */ O({
3340
+ }), Ll = /* @__PURE__ */ O({
3324
3341
  __name: "DomainTableDrawer",
3325
3342
  setup(x, {
3326
- expose: U
3343
+ expose: R
3327
3344
  }) {
3328
3345
  const {
3329
3346
  requesting: k
3330
- } = E(_e), h = I(!1), {
3331
- tableRef: V,
3332
- formModalRef: b,
3347
+ } = E(be), g = N(!1), {
3348
+ tableRef: b,
3349
+ formModalRef: h,
3333
3350
  refresh: c,
3334
3351
  openFormModal: i,
3335
3352
  editFormModal: p
@@ -3339,7 +3356,7 @@ const Bl = /* @__PURE__ */ O({
3339
3356
  editFormModal: u
3340
3357
  } = F(), {
3341
3358
  formModalRef: f,
3342
- openFormModal: g
3359
+ openFormModal: V
3343
3360
  } = F(), _ = [{
3344
3361
  prop: "provider",
3345
3362
  label: a("config.domain config.provider"),
@@ -3389,15 +3406,15 @@ const Bl = /* @__PURE__ */ O({
3389
3406
  }, null)]
3390
3407
  })
3391
3408
  }];
3392
- return U({
3409
+ return R({
3393
3410
  open: () => {
3394
- h.value = !0;
3411
+ g.value = !0;
3395
3412
  }
3396
3413
  }), (w, t) => {
3397
3414
  const d = s("el-space"), r = s("el-page-header");
3398
- return C(), T(e(ce), {
3399
- modelValue: h.value,
3400
- "onUpdate:modelValue": t[0] || (t[0] = (y) => h.value = y),
3415
+ return C(), T(e(fe), {
3416
+ modelValue: g.value,
3417
+ "onUpdate:modelValue": t[0] || (t[0] = (y) => g.value = y),
3401
3418
  width: "600px",
3402
3419
  "show-close": !1,
3403
3420
  class: "basic-drawer"
@@ -3405,7 +3422,7 @@ const Bl = /* @__PURE__ */ O({
3405
3422
  title: o(() => [l(r, {
3406
3423
  icon: ""
3407
3424
  }, {
3408
- title: o(() => [N("span", null, z(e(a)("config.domain")), 1)]),
3425
+ title: o(() => [B("span", null, z(e(a)("config.domain")), 1)]),
3409
3426
  content: o(() => [l(e(K), {
3410
3427
  onRefresh: e(c),
3411
3428
  size: "default",
@@ -3418,7 +3435,7 @@ const Bl = /* @__PURE__ */ O({
3418
3435
  alignment: "center"
3419
3436
  }, {
3420
3437
  default: o(() => [l(e(j), {
3421
- onOpen: e(g),
3438
+ onOpen: e(V),
3422
3439
  type: "danger"
3423
3440
  }, null, 8, ["onOpen"])]),
3424
3441
  _: 1
@@ -3427,21 +3444,21 @@ const Bl = /* @__PURE__ */ O({
3427
3444
  })]),
3428
3445
  default: o(() => [l(e(de), {
3429
3446
  ref_key: "tableRef",
3430
- ref: V,
3447
+ ref: b,
3431
3448
  size: "small",
3432
3449
  "row-key": "id",
3433
- url: e(_e).urls.list,
3450
+ url: e(be).urls.list,
3434
3451
  columns: _,
3435
3452
  loading: e(k)
3436
- }, null, 8, ["url", "loading"]), l(xl, {
3453
+ }, null, 8, ["url", "loading"]), l(Ml, {
3437
3454
  ref_key: "formModalRef",
3438
- ref: b,
3455
+ ref: h,
3439
3456
  onRefresh: e(c)
3440
- }, null, 8, ["onRefresh"]), l($e, {
3457
+ }, null, 8, ["onRefresh"]), l(Fe, {
3441
3458
  ref_key: "sslFormModalRef",
3442
3459
  ref: n,
3443
3460
  onRefresh: e(c)
3444
- }, null, 8, ["onRefresh"]), l(Al, {
3461
+ }, null, 8, ["onRefresh"]), l(Cl, {
3445
3462
  ref_key: "providerTableDrawerRef",
3446
3463
  ref: f
3447
3464
  }, null, 512)]),
@@ -3449,15 +3466,15 @@ const Bl = /* @__PURE__ */ O({
3449
3466
  }, 8, ["modelValue"]);
3450
3467
  };
3451
3468
  }
3452
- }), Sl = /* @__PURE__ */ O({
3469
+ }), ql = /* @__PURE__ */ O({
3453
3470
  __name: "SSLTableDrawer",
3454
3471
  setup(x, {
3455
- expose: U
3472
+ expose: R
3456
3473
  }) {
3457
3474
  const {
3458
3475
  requesting: k,
3459
- executing: h
3460
- } = E(ue), V = I(0), b = I(!1), {
3476
+ executing: g
3477
+ } = E(ie), b = N(0), h = N(!1), {
3461
3478
  tableRef: c,
3462
3479
  formModalRef: i,
3463
3480
  refresh: p,
@@ -3502,58 +3519,58 @@ const Bl = /* @__PURE__ */ O({
3502
3519
  width: 160,
3503
3520
  align: "center",
3504
3521
  render: ({
3505
- rowData: A
3522
+ rowData: D
3506
3523
  }) => l(s("el-space"), null, {
3507
3524
  default: () => [l(le, {
3508
3525
  size: "default",
3509
3526
  icon: "icon-edit",
3510
3527
  t: "",
3511
- disabled: h.value,
3528
+ disabled: g.value,
3512
3529
  onModify: () => v({
3513
- id: A.id
3530
+ id: D.id
3514
3531
  })
3515
- }, null), l(Q, {
3532
+ }, null), l(H, {
3516
3533
  size: "default",
3517
3534
  icon: "icon-key",
3518
3535
  t: "",
3519
3536
  text: !0,
3520
- disabled: h.value && V.value !== A.id,
3521
- loading: V.value == A.id,
3522
- onClick: () => g(A.id)
3523
- }, null), l(Q, {
3537
+ disabled: g.value && b.value !== D.id,
3538
+ loading: b.value == D.id,
3539
+ onClick: () => V(D.id)
3540
+ }, null), l(H, {
3524
3541
  size: "default",
3525
3542
  icon: "icon-cloud-download",
3526
3543
  t: "",
3527
3544
  text: !0,
3528
- disabled: h.value && V.value !== A.id,
3529
- loading: V.value == A.id,
3530
- onClick: () => _(A)
3545
+ disabled: g.value && b.value !== D.id,
3546
+ loading: b.value == D.id,
3547
+ onClick: () => _(D)
3531
3548
  }, null)]
3532
3549
  })
3533
3550
  }
3534
3551
  ], f = () => {
3535
- b.value = !0;
3536
- }, g = (A) => {
3537
- ue.gen({
3538
- id: A
3552
+ h.value = !0;
3553
+ }, V = (D) => {
3554
+ ie.gen({
3555
+ id: D
3539
3556
  }).then((w) => {
3540
3557
  console.warn("Res:", w);
3541
3558
  });
3542
3559
  };
3543
- function _(A) {
3544
- const w = Se.getDownloadUrl(A.path + ".zip");
3560
+ function _(D) {
3561
+ const w = Ce.getDownloadUrl(D.path + ".zip");
3545
3562
  fetch(w).then((t) => t.blob()).then((t) => {
3546
3563
  let d = URL.createObjectURL(t), r = document.createElement("a");
3547
- r.style.display = "none", r.href = d, r.download = A.name + ".zip", r.click(), URL.revokeObjectURL(t);
3564
+ r.style.display = "none", r.href = d, r.download = D.name + ".zip", r.click(), URL.revokeObjectURL(t);
3548
3565
  });
3549
3566
  }
3550
- return U({
3567
+ return R({
3551
3568
  open: f
3552
- }), (A, w) => {
3569
+ }), (D, w) => {
3553
3570
  const t = s("el-page-header");
3554
- return C(), T(e(ce), {
3555
- modelValue: b.value,
3556
- "onUpdate:modelValue": w[0] || (w[0] = (d) => b.value = d),
3571
+ return C(), T(e(fe), {
3572
+ modelValue: h.value,
3573
+ "onUpdate:modelValue": w[0] || (w[0] = (d) => h.value = d),
3557
3574
  width: "1000px",
3558
3575
  "show-close": !1,
3559
3576
  class: "basic-drawer"
@@ -3561,7 +3578,7 @@ const Bl = /* @__PURE__ */ O({
3561
3578
  title: o(() => [l(t, {
3562
3579
  icon: ""
3563
3580
  }, {
3564
- title: o(() => [N("span", null, z(e(a)("ssl.ssl")), 1)]),
3581
+ title: o(() => [B("span", null, z(e(a)("ssl.ssl")), 1)]),
3565
3582
  content: o(() => [l(e(K), {
3566
3583
  onRefresh: e(p),
3567
3584
  size: "default",
@@ -3576,10 +3593,10 @@ const Bl = /* @__PURE__ */ O({
3576
3593
  ref: c,
3577
3594
  size: "default",
3578
3595
  "row-key": "id",
3579
- url: e(ue).urls.list,
3596
+ url: e(ie).urls.list,
3580
3597
  columns: u,
3581
3598
  loading: e(k)
3582
- }, null, 8, ["url", "loading"]), l($e, {
3599
+ }, null, 8, ["url", "loading"]), l(Fe, {
3583
3600
  ref_key: "formModalRef",
3584
3601
  ref: i,
3585
3602
  onRefresh: e(p)
@@ -3588,7 +3605,7 @@ const Bl = /* @__PURE__ */ O({
3588
3605
  }, 8, ["modelValue"]);
3589
3606
  };
3590
3607
  }
3591
- }), Ae = W.routineApi("SSLLog", "id"), Cl = /* @__PURE__ */ O({
3608
+ }), De = W.routineApi("SSLLog", "id"), Tl = /* @__PURE__ */ O({
3592
3609
  __name: "SSLLogTableDrawer",
3593
3610
  props: {
3594
3611
  ssl: {
@@ -3597,12 +3614,12 @@ const Bl = /* @__PURE__ */ O({
3597
3614
  }
3598
3615
  },
3599
3616
  setup(x, {
3600
- expose: U
3617
+ expose: R
3601
3618
  }) {
3602
3619
  const k = x, {
3603
- requesting: h,
3604
- executing: V
3605
- } = E([Ae, ue]), b = I(!1), {
3620
+ requesting: g,
3621
+ executing: b
3622
+ } = E([De, ie]), h = N(!1), {
3606
3623
  tableRef: c,
3607
3624
  refresh: i
3608
3625
  } = F(), p = [{
@@ -3622,29 +3639,29 @@ const Bl = /* @__PURE__ */ O({
3622
3639
  label: a("base.result"),
3623
3640
  width: 0
3624
3641
  }], n = () => {
3625
- b.value = !0;
3642
+ h.value = !0;
3626
3643
  };
3627
3644
  function v() {
3628
- ue.gen({
3645
+ ie.gen({
3629
3646
  id: k.ssl.id
3630
3647
  }).then((f) => {
3631
3648
  console.warn("Res:", f);
3632
3649
  });
3633
3650
  }
3634
3651
  function u() {
3635
- const f = Se.getDownloadUrl(k.ssl.path + ".zip");
3636
- fetch(f).then((g) => g.blob()).then((g) => {
3637
- let _ = URL.createObjectURL(g), A = document.createElement("a");
3638
- A.style.display = "none", A.href = _, A.download = k.ssl.name + ".zip", A.click(), URL.revokeObjectURL(g);
3652
+ const f = Ce.getDownloadUrl(k.ssl.path + ".zip");
3653
+ fetch(f).then((V) => V.blob()).then((V) => {
3654
+ let _ = URL.createObjectURL(V), D = document.createElement("a");
3655
+ D.style.display = "none", D.href = _, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(V);
3639
3656
  });
3640
3657
  }
3641
- return U({
3658
+ return R({
3642
3659
  open: n
3643
- }), (f, g) => {
3660
+ }), (f, V) => {
3644
3661
  const _ = s("el-page-header");
3645
- return C(), T(e(ce), {
3646
- modelValue: b.value,
3647
- "onUpdate:modelValue": g[0] || (g[0] = (A) => b.value = A),
3662
+ return C(), T(e(fe), {
3663
+ modelValue: h.value,
3664
+ "onUpdate:modelValue": V[0] || (V[0] = (D) => h.value = D),
3648
3665
  width: "600px",
3649
3666
  "show-close": !1,
3650
3667
  class: "basic-drawer"
@@ -3652,51 +3669,51 @@ const Bl = /* @__PURE__ */ O({
3652
3669
  title: o(() => [l(_, {
3653
3670
  icon: ""
3654
3671
  }, {
3655
- title: o(() => [N("span", null, z(e(a)("config.ssl base.log")), 1)]),
3672
+ title: o(() => [B("span", null, z(e(a)("config.ssl base.log")), 1)]),
3656
3673
  content: o(() => [l(e(K), {
3657
3674
  onRefresh: e(i),
3658
3675
  size: "default",
3659
- loading: e(h)
3676
+ loading: e(g)
3660
3677
  }, null, 8, ["onRefresh", "loading"])]),
3661
- extra: o(() => [l(e(Q), {
3678
+ extra: o(() => [l(e(H), {
3662
3679
  size: "default",
3663
3680
  type: "danger",
3664
3681
  icon: "icon-key",
3665
- disabled: e(V),
3666
- loading: e(V),
3682
+ disabled: e(b),
3683
+ loading: e(b),
3667
3684
  onClick: v
3668
- }, null, 8, ["disabled", "loading"]), l(e(Q), {
3685
+ }, null, 8, ["disabled", "loading"]), l(e(H), {
3669
3686
  size: "default",
3670
3687
  type: "primary",
3671
3688
  icon: "icon-cloud-download",
3672
- disabled: e(V),
3673
- loading: e(V),
3689
+ disabled: e(b),
3690
+ loading: e(b),
3674
3691
  onClick: u
3675
3692
  }, null, 8, ["disabled", "loading"])]),
3676
3693
  _: 1
3677
3694
  })]),
3678
- default: o(() => [l(e(me), {
3695
+ default: o(() => [l(e(ce), {
3679
3696
  ref_key: "tableRef",
3680
3697
  ref: c,
3681
3698
  size: "small",
3682
3699
  "row-key": "id",
3683
- url: e(Ae).urls.search,
3700
+ url: e(De).urls.search,
3684
3701
  columns: p,
3685
- loading: e(h)
3702
+ loading: e(g)
3686
3703
  }, null, 8, ["url", "loading"])]),
3687
3704
  _: 1
3688
3705
  }, 8, ["modelValue"]);
3689
3706
  };
3690
3707
  }
3691
- }), Ll = /* @__PURE__ */ O({
3708
+ }), Ol = /* @__PURE__ */ O({
3692
3709
  __name: "index",
3693
3710
  setup(x) {
3694
- const U = I(), {
3711
+ const R = N(), {
3695
3712
  requesting: k,
3696
- executing: h
3697
- } = E(se), {
3698
- tableRef: V,
3699
- formModalRef: b,
3713
+ executing: g
3714
+ } = E(ue), {
3715
+ tableRef: b,
3716
+ formModalRef: h,
3700
3717
  reset: c,
3701
3718
  refresh: i,
3702
3719
  openFormModal: p,
@@ -3706,10 +3723,10 @@ const Bl = /* @__PURE__ */ O({
3706
3723
  openFormModal: u
3707
3724
  } = F(), {
3708
3725
  formModalRef: f,
3709
- openFormModal: g
3726
+ openFormModal: V
3710
3727
  } = F(), {
3711
3728
  formModalRef: _,
3712
- openFormModal: A
3729
+ openFormModal: D
3713
3730
  } = F(), w = [{
3714
3731
  prop: "domain.name",
3715
3732
  label: a("config.domain"),
@@ -3747,7 +3764,7 @@ const Bl = /* @__PURE__ */ O({
3747
3764
  type: "primary",
3748
3765
  text: !0,
3749
3766
  onClick: (y) => {
3750
- y.stopPropagation(), r.ssl && r.ssl.id && (U.value = r.ssl, A());
3767
+ y.stopPropagation(), r.ssl && r.ssl.id && (R.value = r.ssl, D());
3751
3768
  }
3752
3769
  }, {
3753
3770
  default: () => [l("span", {
@@ -3774,28 +3791,28 @@ const Bl = /* @__PURE__ */ O({
3774
3791
  onModify: () => n({
3775
3792
  id: r.id
3776
3793
  })
3777
- }, null), l(Q, {
3794
+ }, null), l(H, {
3778
3795
  icon: "icon-securityscan",
3779
3796
  type: "primary",
3780
3797
  size: "small",
3781
3798
  link: !0,
3782
- disabled: h.value,
3783
- loading: t.value == r.id && h.value,
3799
+ disabled: g.value,
3800
+ loading: t.value == r.id && g.value,
3784
3801
  onClick: () => d(r)
3785
3802
  }, null)]
3786
3803
  })
3787
- }], t = I(0), d = (r) => {
3788
- t.value = r.id, se.check({
3804
+ }], t = N(0), d = (r) => {
3805
+ t.value = r.id, ue.check({
3789
3806
  id: r.id
3790
3807
  }).then((y) => {
3791
- y.data && (Qe(y), i());
3808
+ y.data && (Je(y), i());
3792
3809
  }).finally(() => {
3793
3810
  t.value = 0;
3794
3811
  });
3795
3812
  };
3796
3813
  return (r, y) => {
3797
- const m = s("el-space"), S = s("el-page-header"), M = s("el-card");
3798
- return C(), T(M, {
3814
+ const m = s("el-space"), S = s("el-page-header"), A = s("el-card");
3815
+ return C(), T(A, {
3799
3816
  "body-style": {
3800
3817
  padding: "12px",
3801
3818
  height: "450px"
@@ -3806,7 +3823,7 @@ const Bl = /* @__PURE__ */ O({
3806
3823
  header: o(() => [l(S, {
3807
3824
  icon: ""
3808
3825
  }, {
3809
- title: o(() => [N("span", null, z(e(a)("config.keys.sites")), 1)]),
3826
+ title: o(() => [B("span", null, z(e(a)("config.keys.sites")), 1)]),
3810
3827
  content: o(() => [l(m, {
3811
3828
  alignment: "center",
3812
3829
  style: {
@@ -3825,30 +3842,30 @@ const Bl = /* @__PURE__ */ O({
3825
3842
  onOpen: e(u),
3826
3843
  icon: "icon-compass"
3827
3844
  }, null, 8, ["onOpen"]), l(e(j), {
3828
- onOpen: e(g),
3845
+ onOpen: e(V),
3829
3846
  icon: "icon-safetycertificate-f"
3830
3847
  }, null, 8, ["onOpen"])]),
3831
3848
  _: 1
3832
3849
  })]),
3833
3850
  default: o(() => [l(e(de), {
3834
3851
  ref_key: "tableRef",
3835
- ref: V,
3852
+ ref: b,
3836
3853
  size: "small",
3837
3854
  "row-key": "id",
3838
- url: e(se).urls[e(Je)],
3855
+ url: e(ue).urls[e(Xe)],
3839
3856
  "auto-search": "",
3840
3857
  columns: w
3841
- }, null, 8, ["url"]), l(vl, {
3858
+ }, null, 8, ["url"]), l(Rl, {
3842
3859
  ref_key: "formModalRef",
3843
- ref: b,
3860
+ ref: h,
3844
3861
  onRefresh: e(i)
3845
- }, null, 8, ["onRefresh"]), l(Dl, {
3862
+ }, null, 8, ["onRefresh"]), l(Ll, {
3846
3863
  ref_key: "domainTableDrawerRef",
3847
3864
  ref: v
3848
- }, null, 512), l(Sl, {
3865
+ }, null, 512), l(ql, {
3849
3866
  ref_key: "sslTableDrawerRef",
3850
3867
  ref: f
3851
- }, null, 512), l(Cl, {
3868
+ }, null, 512), l(Tl, {
3852
3869
  ref_key: "sslLogTableDrawerRef",
3853
3870
  ref: _
3854
3871
  }, null, 512)]),
@@ -3856,17 +3873,17 @@ const Bl = /* @__PURE__ */ O({
3856
3873
  });
3857
3874
  };
3858
3875
  }
3859
- }), ql = /* @__PURE__ */ Le(Ll, [["__scopeId", "data-v-17c31592"]]), Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3876
+ }), $l = /* @__PURE__ */ qe(Ol, [["__scopeId", "data-v-17c31592"]]), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3860
3877
  __proto__: null,
3861
- default: ql
3862
- }, Symbol.toStringTag, { value: "Module" })), Ol = {
3878
+ default: $l
3879
+ }, Symbol.toStringTag, { value: "Module" })), El = {
3863
3880
  request: "request",
3864
3881
  error: "error",
3865
3882
  sql: "SQL"
3866
- }, ie = W.routineApi("log", "id", Ol), Kl = /* @__PURE__ */ O({
3883
+ }, pe = W.routineApi("log", "id", El), Gl = /* @__PURE__ */ O({
3867
3884
  __name: "index",
3868
3885
  setup(x) {
3869
- const U = {
3886
+ const R = {
3870
3887
  dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
3871
3888
  }, k = [{
3872
3889
  label: a("base.sort"),
@@ -3885,16 +3902,16 @@ const Bl = /* @__PURE__ */ O({
3885
3902
  align: "left",
3886
3903
  width: 200
3887
3904
  }], {
3888
- requesting: h
3889
- } = E(ie), {
3890
- tableRef: V,
3891
- keyword: b,
3905
+ requesting: g
3906
+ } = E(pe), {
3907
+ tableRef: b,
3908
+ keyword: h,
3892
3909
  search: c,
3893
3910
  reset: i
3894
- } = F(U);
3911
+ } = F(R);
3895
3912
  return (p, n) => {
3896
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
3897
- return C(), T(g, {
3913
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), V = s("el-card");
3914
+ return C(), T(V, {
3898
3915
  class: "basic-card flex-full",
3899
3916
  "body-class": "flex-1"
3900
3917
  }, {
@@ -3902,15 +3919,15 @@ const Bl = /* @__PURE__ */ O({
3902
3919
  class: "basic-header"
3903
3920
  }, {
3904
3921
  title: o(() => [l(e(K), {
3905
- loading: e(h),
3922
+ loading: e(g),
3906
3923
  onRefresh: e(i)
3907
3924
  }, null, 8, ["loading", "onRefresh"])]),
3908
3925
  content: o(() => [l(u, {
3909
3926
  class: "search-bar"
3910
3927
  }, {
3911
3928
  default: o(() => [l(v, {
3912
- modelValue: e(b).dates,
3913
- "onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
3929
+ modelValue: e(h).dates,
3930
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => e(h).dates = _),
3914
3931
  class: "basic-search-datetimerange",
3915
3932
  "value-format": e($).DATE_VALUE_FORMAT,
3916
3933
  format: e($).DATE_SHOW_FORMAT,
@@ -3921,7 +3938,7 @@ const Bl = /* @__PURE__ */ O({
3921
3938
  clearable: !1,
3922
3939
  onChange: n[1] || (n[1] = (_) => e(c)())
3923
3940
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
3924
- disabled: e(h),
3941
+ disabled: e(g),
3925
3942
  onSearch: n[2] || (n[2] = (_) => e(c)())
3926
3943
  }, null, 8, ["disabled"])]),
3927
3944
  _: 1
@@ -3930,21 +3947,21 @@ const Bl = /* @__PURE__ */ O({
3930
3947
  })]),
3931
3948
  default: o(() => [l(e(de), {
3932
3949
  ref_key: "tableRef",
3933
- ref: V,
3950
+ ref: b,
3934
3951
  size: "small",
3935
3952
  columns: k,
3936
- url: e(ie).urls.request,
3937
- "search-param": e(b),
3953
+ url: e(pe).urls.request,
3954
+ "search-param": e(h),
3938
3955
  "auto-search": ""
3939
3956
  }, null, 8, ["url", "search-param"])]),
3940
3957
  _: 1
3941
3958
  });
3942
3959
  };
3943
3960
  }
3944
- }), Wl = /* @__PURE__ */ O({
3961
+ }), Hl = /* @__PURE__ */ O({
3945
3962
  __name: "index",
3946
3963
  setup(x) {
3947
- const U = {
3964
+ const R = {
3948
3965
  dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
3949
3966
  }, k = [{
3950
3967
  label: a("base.sort"),
@@ -3963,16 +3980,16 @@ const Bl = /* @__PURE__ */ O({
3963
3980
  align: "left",
3964
3981
  width: 200
3965
3982
  }], {
3966
- requesting: h
3967
- } = E(ie), {
3968
- tableRef: V,
3969
- keyword: b,
3983
+ requesting: g
3984
+ } = E(pe), {
3985
+ tableRef: b,
3986
+ keyword: h,
3970
3987
  search: c,
3971
3988
  reset: i
3972
- } = F(U);
3989
+ } = F(R);
3973
3990
  return (p, n) => {
3974
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
3975
- return C(), T(g, {
3991
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), V = s("el-card");
3992
+ return C(), T(V, {
3976
3993
  class: "basic-card flex-full",
3977
3994
  "body-class": "flex-1"
3978
3995
  }, {
@@ -3980,15 +3997,15 @@ const Bl = /* @__PURE__ */ O({
3980
3997
  class: "basic-header"
3981
3998
  }, {
3982
3999
  title: o(() => [l(e(K), {
3983
- loading: e(h),
4000
+ loading: e(g),
3984
4001
  onRefresh: e(i)
3985
4002
  }, null, 8, ["loading", "onRefresh"])]),
3986
4003
  content: o(() => [l(u, {
3987
4004
  class: "search-bar"
3988
4005
  }, {
3989
4006
  default: o(() => [l(v, {
3990
- modelValue: e(b).dates,
3991
- "onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
4007
+ modelValue: e(h).dates,
4008
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => e(h).dates = _),
3992
4009
  class: "basic-search-daterange",
3993
4010
  "value-format": e($).DATE_FORMAT,
3994
4011
  format: e($).DATE_FORMAT,
@@ -3999,7 +4016,7 @@ const Bl = /* @__PURE__ */ O({
3999
4016
  clearable: !1,
4000
4017
  onChange: n[1] || (n[1] = (_) => e(c)())
4001
4018
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
4002
- disabled: e(h),
4019
+ disabled: e(g),
4003
4020
  onSearch: n[2] || (n[2] = (_) => e(c)())
4004
4021
  }, null, 8, ["disabled"])]),
4005
4022
  _: 1
@@ -4008,21 +4025,21 @@ const Bl = /* @__PURE__ */ O({
4008
4025
  })]),
4009
4026
  default: o(() => [l(e(de), {
4010
4027
  ref_key: "tableRef",
4011
- ref: V,
4028
+ ref: b,
4012
4029
  size: "small",
4013
4030
  columns: k,
4014
- url: e(ie).urls.error,
4015
- "search-param": e(b),
4031
+ url: e(pe).urls.error,
4032
+ "search-param": e(h),
4016
4033
  "auto-search": ""
4017
4034
  }, null, 8, ["url", "search-param"])]),
4018
4035
  _: 1
4019
4036
  });
4020
4037
  };
4021
4038
  }
4022
- }), Yl = /* @__PURE__ */ O({
4039
+ }), Ql = /* @__PURE__ */ O({
4023
4040
  __name: "index",
4024
4041
  setup(x) {
4025
- const U = {
4042
+ const R = {
4026
4043
  dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
4027
4044
  }, k = [{
4028
4045
  label: a("base.sort"),
@@ -4041,16 +4058,16 @@ const Bl = /* @__PURE__ */ O({
4041
4058
  align: "left",
4042
4059
  width: 200
4043
4060
  }], {
4044
- requesting: h
4045
- } = E(ie), {
4046
- tableRef: V,
4047
- keyword: b,
4061
+ requesting: g
4062
+ } = E(pe), {
4063
+ tableRef: b,
4064
+ keyword: h,
4048
4065
  search: c,
4049
4066
  reset: i
4050
- } = F(U);
4067
+ } = F(R);
4051
4068
  return (p, n) => {
4052
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
4053
- return C(), T(g, {
4069
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), V = s("el-card");
4070
+ return C(), T(V, {
4054
4071
  class: "basic-card flex-full",
4055
4072
  "body-class": "flex-1"
4056
4073
  }, {
@@ -4058,15 +4075,15 @@ const Bl = /* @__PURE__ */ O({
4058
4075
  class: "basic-header"
4059
4076
  }, {
4060
4077
  title: o(() => [l(e(K), {
4061
- loading: e(h),
4078
+ loading: e(g),
4062
4079
  onRefresh: e(i)
4063
4080
  }, null, 8, ["loading", "onRefresh"])]),
4064
4081
  content: o(() => [l(u, {
4065
4082
  class: "search-bar"
4066
4083
  }, {
4067
4084
  default: o(() => [l(v, {
4068
- modelValue: e(b).dates,
4069
- "onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
4085
+ modelValue: e(h).dates,
4086
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => e(h).dates = _),
4070
4087
  class: "basic-search-daterange",
4071
4088
  "value-format": e($).DATE_FORMAT,
4072
4089
  format: e($).DATE_FORMAT,
@@ -4077,7 +4094,7 @@ const Bl = /* @__PURE__ */ O({
4077
4094
  clearable: !1,
4078
4095
  onChange: n[1] || (n[1] = (_) => e(c)())
4079
4096
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
4080
- disabled: e(h),
4097
+ disabled: e(g),
4081
4098
  onSearch: n[2] || (n[2] = (_) => e(c)())
4082
4099
  }, null, 8, ["disabled"])]),
4083
4100
  _: 1
@@ -4086,63 +4103,63 @@ const Bl = /* @__PURE__ */ O({
4086
4103
  })]),
4087
4104
  default: o(() => [l(e(de), {
4088
4105
  ref_key: "tableRef",
4089
- ref: V,
4106
+ ref: b,
4090
4107
  size: "small",
4091
4108
  columns: k,
4092
- url: e(ie).urls.sql,
4093
- "search-param": e(b),
4109
+ url: e(pe).urls.sql,
4110
+ "search-param": e(h),
4094
4111
  "auto-search": ""
4095
4112
  }, null, 8, ["url", "search-param"])]),
4096
4113
  _: 1
4097
4114
  });
4098
4115
  };
4099
4116
  }
4100
- }), $l = () => import("./index-SHsqnbNG.js"), Fl = () => import("./index-CJMTIvHk.js"), El = () => import("./index-BMn8mAns.js"), Gl = [
4117
+ }), zl = () => import("./index-SHsqnbNG.js"), Il = () => import("./index-CJMTIvHk.js"), Nl = () => import("./index-BMn8mAns.js"), Jl = [
4101
4118
  {
4102
- path: Xe,
4119
+ path: Ze,
4103
4120
  name: "RequestLog",
4104
- component: $l,
4121
+ component: zl,
4105
4122
  meta: {
4106
4123
  title: a("menu.RequestLog")
4107
4124
  }
4108
4125
  },
4109
4126
  {
4110
- path: Ze,
4127
+ path: el,
4111
4128
  name: "ErrorLog",
4112
- component: Fl,
4129
+ component: Il,
4113
4130
  meta: {
4114
4131
  title: a("menu.ErrorLog")
4115
4132
  }
4116
4133
  },
4117
4134
  {
4118
- path: el,
4135
+ path: ll,
4119
4136
  name: "SqlLog",
4120
- component: El,
4137
+ component: Nl,
4121
4138
  meta: {
4122
4139
  title: a("menu.SqlLog")
4123
4140
  }
4124
4141
  }
4125
- ], Hl = {
4142
+ ], Xl = {
4126
4143
  install: (x) => {
4127
- Reflect.ownKeys(x._context.provides).some((U) => String(U) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(x._context.provides));
4144
+ Reflect.ownKeys(x._context.provides).some((R) => String(R) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(x._context.provides));
4128
4145
  },
4129
4146
  version: "__VERSION__"
4130
- }, Ql = /* @__PURE__ */ Object.assign({ "./views/admin/index.vue": () => import("./index-UtDarrUe.js"), "./views/language/index.vue": () => import("./index-CV4JohFl.js"), "./views/menu/index.vue": () => import("./index-DQqJ05PJ.js"), "./views/role/index.vue": () => import("./index-DM5SO2SX.js"), "./views/site/index.vue": () => Promise.resolve().then(() => Tl) });
4147
+ }, Zl = /* @__PURE__ */ Object.assign({ "./views/admin/index.vue": () => import("./index-UtDarrUe.js"), "./views/language/index.vue": () => import("./index-CV4JohFl.js"), "./views/menu/index.vue": () => import("./index-DQqJ05PJ.js"), "./views/role/index.vue": () => import("./index-DM5SO2SX.js"), "./views/site/index.vue": () => Promise.resolve().then(() => Fl) });
4131
4148
  export {
4132
- jl as AdminsPage,
4133
- wl as DomainProviderSelect,
4134
- Oe as DomainSelect,
4135
- Wl as ErrorLogsPage,
4136
- Bl as LanguagesPage,
4137
- Gl as LogRoutes,
4138
- sl as MenuSelect,
4139
- Nl as MenusPage,
4140
- Kl as RequestLogsPage,
4141
- Pl as RolesPage,
4142
- Yl as SQLLogsPage,
4143
- ql as SitePage,
4144
- Ul as SiteSelect,
4145
- rl as TopMenuSelect,
4146
- Ql as basicModules,
4147
- Hl as default
4149
+ Yl as AdminsPage,
4150
+ Ul as DomainProviderSelect,
4151
+ $e as DomainSelect,
4152
+ Hl as ErrorLogsPage,
4153
+ Wl as LanguagesPage,
4154
+ Jl as LogRoutes,
4155
+ ul as MenuSelect,
4156
+ jl as MenusPage,
4157
+ Gl as RequestLogsPage,
4158
+ Kl as RolesPage,
4159
+ Ql as SQLLogsPage,
4160
+ $l as SitePage,
4161
+ Dl as SiteSelect,
4162
+ dl as TopMenuSelect,
4163
+ Zl as basicModules,
4164
+ Xl as default
4148
4165
  };