auto-vue-basic 0.0.100 → 0.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { defineComponent as O, toRef as te, resolveComponent as r, openBlock as M, createBlock as q, unref as e, isRef as F, withCtx as o, createVNode as l, createElementVNode as j, normalizeClass as Ae, toDisplayString as I, ref as H, Fragment as G, withKeys as Ve, createElementBlock as B, renderList as ae, isVNode as De, reactive as Ke, onMounted as We, watch as Le, nextTick as Ge, createTextVNode as le, createCommentVNode as Ye, shallowRef as He, onBeforeMount as Qe } from "vue";
2
- import { ApiUtils as Y, useLoading as z, useSelect as re, Translate as a, InlineRefreshButton as fe, useForm as ee, FormDialog as oe, DEFAULT_STATUS_KEY as Se, ModifyButton as ne, useCrudPage as J, useSingleFormModal as Te, DEFAULT_REMOVE_KEY as Je, ProTable as be, DEFAULT_PAGE_KEY as ye, SearchButton as de, RefreshButton as K, OpenButton as P, useCacheStore as Xe, useDialog as xe, RequestButton as X, BasicDrawer as _e, BasicRadioButton as qe, RulesUtils as Ze, BasicAvatar as el, TimeUtils as E, ProTableList as ie, useSingleDialog as ve, AssetsUtils as Oe, useSingleTable as ll, notification as al, DEFAULT_LIST_URL as ol, REQUEST_LOG_URL as nl, ERROR_LOG_URL as tl, SQL_LOG_URL as rl } from "auto-vue-manual";
1
+ import { defineComponent as O, toRef as ne, resolveComponent as r, openBlock as M, createBlock as q, unref as e, isRef as z, withCtx as o, createVNode as l, createElementVNode as j, normalizeClass as Ae, toDisplayString as F, ref as H, Fragment as G, withKeys as Ve, createElementBlock as B, renderList as ae, isVNode as De, reactive as Ke, onMounted as We, watch as Le, nextTick as Ge, createTextVNode as Q, createCommentVNode as Ye, shallowRef as He, onBeforeMount as Qe } from "vue";
2
+ import { ApiUtils as Y, useLoading as I, useSelect as re, Translate as a, InlineRefreshButton as fe, useForm as le, FormDialog as oe, DEFAULT_STATUS_KEY as Se, ModifyButton as te, useCrudPage as X, useSingleFormModal as Te, DEFAULT_REMOVE_KEY as Je, ProTable as be, DEFAULT_PAGE_KEY as ye, SearchButton as de, RefreshButton as K, OpenButton as P, useCacheStore as Xe, useDialog as xe, RequestButton as Z, BasicDrawer as _e, BasicRadioButton as qe, RulesUtils as Ze, BasicAvatar as el, TimeUtils as E, ProTableList as ie, useSingleDialog as ve, AssetsUtils as Oe, useSingleTable as ll, notification as al, DEFAULT_LIST_URL as ol, REQUEST_LOG_URL as tl, ERROR_LOG_URL as nl, SQL_LOG_URL as rl } from "auto-vue-manual";
3
3
  import { Key as dl, Search as sl } from "@element-plus/icons-vue";
4
4
  const ul = {
5
5
  tops: "tops",
6
6
  rules: "rules"
7
- }, Q = Y.routineApi("menu", "id", ul, {}, ["TOP_MENU_LIST", "MENU_LIST"]), $e = Y.routineApi("rule", "key"), il = /* @__PURE__ */ O({
7
+ }, J = Y.routineApi("menu", "id", ul, {}, ["TOP_MENU_LIST", "MENU_LIST"]), $e = Y.routineApi("rule", "key"), il = /* @__PURE__ */ O({
8
8
  __name: "TopMenuSelect",
9
9
  props: {
10
10
  modelValue: { type: [Number, Array, void 0], required: !0, default: void 0 },
@@ -12,41 +12,41 @@ const ul = {
12
12
  disabled: { type: Boolean, default: !1 }
13
13
  },
14
14
  emits: ["update:modelValue", "change"],
15
- setup(x, { emit: U }) {
16
- const w = U, k = x, { requesting: V } = z(Q), { value: _, options: m, change: i, refresh: u, filterOptions: n } = re(te(k, "modelValue"), w, {
15
+ setup(R, { emit: U }) {
16
+ const x = U, k = R, { requesting: V } = I(J), { value: b, options: m, change: i, refresh: u, filterOptions: t } = re(ne(k, "modelValue"), x, {
17
17
  key: "TOP_MENU_LIST",
18
- api: Q,
19
- url: Q.urls.tops,
18
+ api: J,
19
+ url: J.urls.tops,
20
20
  isArray: !0
21
21
  });
22
22
  return (v, s) => {
23
23
  const c = r("el-space"), f = r("el-select-v2");
24
24
  return M(), q(f, {
25
25
  class: "w-full",
26
- modelValue: e(_),
27
- "onUpdate:modelValue": s[1] || (s[1] = (b) => F(_) ? _.value = b : null),
26
+ modelValue: e(b),
27
+ "onUpdate:modelValue": s[1] || (s[1] = (_) => z(b) ? b.value = _ : null),
28
28
  options: e(m),
29
- multiple: x.multiple,
30
- disabled: e(V) || x.disabled,
29
+ multiple: R.multiple,
30
+ disabled: e(V) || R.disabled,
31
31
  placeholder: e(a)("placeholder.select"),
32
32
  filterable: "",
33
- filterOptions: e(n),
33
+ filterOptions: e(t),
34
34
  "empty-values": [void 0],
35
35
  onChange: e(i)
36
36
  }, {
37
37
  prefix: o(() => [
38
38
  l(e(fe), {
39
39
  loading: e(V),
40
- onRefresh: s[0] || (s[0] = (b) => e(u)(!0))
40
+ onRefresh: s[0] || (s[0] = (_) => e(u)(!0))
41
41
  }, null, 8, ["loading"])
42
42
  ]),
43
- default: o(({ item: b }) => [
43
+ default: o(({ item: _ }) => [
44
44
  l(c, null, {
45
45
  default: o(() => [
46
46
  j("i", {
47
- class: Ae(`icon iconfont ${b.icon}`)
47
+ class: Ae(`icon iconfont ${_.icon}`)
48
48
  }, null, 2),
49
- j("span", null, I(b.translate), 1)
49
+ j("span", null, F(_.translate), 1)
50
50
  ]),
51
51
  _: 2
52
52
  }, 1024)
@@ -58,8 +58,8 @@ const ul = {
58
58
  }), pl = /* @__PURE__ */ O({
59
59
  __name: "MenuFormModal",
60
60
  emits: ["refresh"],
61
- setup(x, { expose: U, emit: w }) {
62
- const k = w, V = {
61
+ setup(R, { expose: U, emit: x }) {
62
+ const k = x, V = {
63
63
  id: 0,
64
64
  menu_id: 0,
65
65
  module: "",
@@ -80,7 +80,7 @@ const ul = {
80
80
  keep_alive: !1,
81
81
  link: !1
82
82
  }
83
- }, _ = {
83
+ }, b = {
84
84
  sort: [
85
85
  {
86
86
  required: !0,
@@ -124,28 +124,28 @@ const ul = {
124
124
  trigger: "blur"
125
125
  }
126
126
  ]
127
- }, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, Q);
127
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, J);
128
128
  return U({
129
129
  open: c,
130
130
  modify: f
131
- }), (R, t) => {
131
+ }), (w, n) => {
132
132
  const d = r("el-form-item"), p = r("el-col"), S = r("el-input-number"), g = r("el-row"), y = r("el-input"), h = r("el-switch"), C = r("el-form");
133
133
  return M(), q(e(oe), {
134
134
  modelValue: e(m),
135
- "onUpdate:modelValue": t[17] || (t[17] = (A) => F(m) ? m.value = A : null),
135
+ "onUpdate:modelValue": n[17] || (n[17] = (D) => z(m) ? m.value = D : null),
136
136
  title: e(i)(),
137
137
  width: "1000px",
138
138
  executing: e(s),
139
- onClosed: e(D),
140
- onSubmit: e(b)
139
+ onClosed: e(A),
140
+ onSubmit: e(_)
141
141
  }, {
142
142
  default: o(() => [
143
143
  l(C, {
144
144
  ref_key: "form",
145
145
  ref: u,
146
- model: e(n),
146
+ model: e(t),
147
147
  "label-width": "auto",
148
- rules: _,
148
+ rules: b,
149
149
  disabled: e(v) || e(s)
150
150
  }, {
151
151
  default: o(() => [
@@ -163,8 +163,8 @@ const ul = {
163
163
  }, {
164
164
  default: o(() => [
165
165
  l(il, {
166
- modelValue: e(n).menu_id,
167
- "onUpdate:modelValue": t[0] || (t[0] = (A) => e(n).menu_id = A),
166
+ modelValue: e(t).menu_id,
167
+ "onUpdate:modelValue": n[0] || (n[0] = (D) => e(t).menu_id = D),
168
168
  disabled: e(s)
169
169
  }, null, 8, ["modelValue", "disabled"])
170
170
  ]),
@@ -183,8 +183,8 @@ const ul = {
183
183
  default: o(() => [
184
184
  l(S, {
185
185
  class: "w-full",
186
- modelValue: e(n).sort,
187
- "onUpdate:modelValue": t[1] || (t[1] = (A) => e(n).sort = A),
186
+ modelValue: e(t).sort,
187
+ "onUpdate:modelValue": n[1] || (n[1] = (D) => e(t).sort = D),
188
188
  min: 0,
189
189
  placeholder: e(a)("placeholder.input")
190
190
  }, null, 8, ["modelValue", "placeholder"])
@@ -203,8 +203,8 @@ const ul = {
203
203
  }, {
204
204
  default: o(() => [
205
205
  l(y, {
206
- modelValue: e(n).module,
207
- "onUpdate:modelValue": t[2] || (t[2] = (A) => e(n).module = A),
206
+ modelValue: e(t).module,
207
+ "onUpdate:modelValue": n[2] || (n[2] = (D) => e(t).module = D),
208
208
  placeholder: e(a)("placeholder.input")
209
209
  }, null, 8, ["modelValue", "placeholder"])
210
210
  ]),
@@ -216,8 +216,8 @@ const ul = {
216
216
  }, {
217
217
  default: o(() => [
218
218
  l(y, {
219
- modelValue: e(n).name,
220
- "onUpdate:modelValue": t[3] || (t[3] = (A) => e(n).name = A),
219
+ modelValue: e(t).name,
220
+ "onUpdate:modelValue": n[3] || (n[3] = (D) => e(t).name = D),
221
221
  placeholder: e(a)("placeholder.input")
222
222
  }, null, 8, ["modelValue", "placeholder"])
223
223
  ]),
@@ -229,8 +229,8 @@ const ul = {
229
229
  }, {
230
230
  default: o(() => [
231
231
  l(y, {
232
- modelValue: e(n).en_name,
233
- "onUpdate:modelValue": t[4] || (t[4] = (A) => e(n).en_name = A),
232
+ modelValue: e(t).en_name,
233
+ "onUpdate:modelValue": n[4] || (n[4] = (D) => e(t).en_name = D),
234
234
  placeholder: e(a)("placeholder.input")
235
235
  }, null, 8, ["modelValue", "placeholder"])
236
236
  ]),
@@ -242,8 +242,8 @@ const ul = {
242
242
  }, {
243
243
  default: o(() => [
244
244
  l(y, {
245
- modelValue: e(n).component,
246
- "onUpdate:modelValue": t[5] || (t[5] = (A) => e(n).component = A),
245
+ modelValue: e(t).component,
246
+ "onUpdate:modelValue": n[5] || (n[5] = (D) => e(t).component = D),
247
247
  placeholder: e(a)("placeholder.input")
248
248
  }, null, 8, ["modelValue", "placeholder"])
249
249
  ]),
@@ -255,8 +255,8 @@ const ul = {
255
255
  }, {
256
256
  default: o(() => [
257
257
  l(y, {
258
- modelValue: e(n).url,
259
- "onUpdate:modelValue": t[6] || (t[6] = (A) => e(n).url = A),
258
+ modelValue: e(t).url,
259
+ "onUpdate:modelValue": n[6] || (n[6] = (D) => e(t).url = D),
260
260
  placeholder: e(a)("placeholder.input")
261
261
  }, null, 8, ["modelValue", "placeholder"])
262
262
  ]),
@@ -268,8 +268,8 @@ const ul = {
268
268
  }, {
269
269
  default: o(() => [
270
270
  l(y, {
271
- modelValue: e(n).remark,
272
- "onUpdate:modelValue": t[7] || (t[7] = (A) => e(n).remark = A),
271
+ modelValue: e(t).remark,
272
+ "onUpdate:modelValue": n[7] || (n[7] = (D) => e(t).remark = D),
273
273
  placeholder: e(a)("placeholder.input")
274
274
  }, null, 8, ["modelValue", "placeholder"])
275
275
  ]),
@@ -286,16 +286,16 @@ const ul = {
286
286
  }, {
287
287
  default: o(() => [
288
288
  l(y, {
289
- modelValue: e(n).icon,
290
- "onUpdate:modelValue": t[8] || (t[8] = (A) => e(n).icon = A),
289
+ modelValue: e(t).icon,
290
+ "onUpdate:modelValue": n[8] || (n[8] = (D) => e(t).icon = D),
291
291
  placeholder: e(a)("placeholder.input"),
292
- onInput: t[9] || (t[9] = (A) => {
293
- e(n).meta.icon = A;
292
+ onInput: n[9] || (n[9] = (D) => {
293
+ e(t).meta.icon = D;
294
294
  })
295
295
  }, {
296
296
  prepend: o(() => [
297
297
  j("span", {
298
- class: Ae("iconfont " + e(n).icon)
298
+ class: Ae("iconfont " + e(t).icon)
299
299
  }, null, 2)
300
300
  ]),
301
301
  _: 1
@@ -309,8 +309,8 @@ const ul = {
309
309
  }, {
310
310
  default: o(() => [
311
311
  l(y, {
312
- modelValue: e(n).meta.title,
313
- "onUpdate:modelValue": t[10] || (t[10] = (A) => e(n).meta.title = A),
312
+ modelValue: e(t).meta.title,
313
+ "onUpdate:modelValue": n[10] || (n[10] = (D) => e(t).meta.title = D),
314
314
  placeholder: e(a)("placeholder.input")
315
315
  }, null, 8, ["modelValue", "placeholder"])
316
316
  ]),
@@ -322,8 +322,8 @@ const ul = {
322
322
  }, {
323
323
  default: o(() => [
324
324
  l(y, {
325
- modelValue: e(n).meta.active,
326
- "onUpdate:modelValue": t[11] || (t[11] = (A) => e(n).meta.active = A),
325
+ modelValue: e(t).meta.active,
326
+ "onUpdate:modelValue": n[11] || (n[11] = (D) => e(t).meta.active = D),
327
327
  placeholder: e(a)("placeholder.input")
328
328
  }, null, 8, ["modelValue", "placeholder"])
329
329
  ]),
@@ -339,8 +339,8 @@ const ul = {
339
339
  }, {
340
340
  default: o(() => [
341
341
  l(h, {
342
- modelValue: e(n).meta.link,
343
- "onUpdate:modelValue": t[12] || (t[12] = (A) => e(n).meta.link = A)
342
+ modelValue: e(t).meta.link,
343
+ "onUpdate:modelValue": n[12] || (n[12] = (D) => e(t).meta.link = D)
344
344
  }, null, 8, ["modelValue"])
345
345
  ]),
346
346
  _: 1
@@ -356,8 +356,8 @@ const ul = {
356
356
  }, {
357
357
  default: o(() => [
358
358
  l(h, {
359
- modelValue: e(n).meta.keep_alive,
360
- "onUpdate:modelValue": t[13] || (t[13] = (A) => e(n).meta.keep_alive = A)
359
+ modelValue: e(t).meta.keep_alive,
360
+ "onUpdate:modelValue": n[13] || (n[13] = (D) => e(t).meta.keep_alive = D)
361
361
  }, null, 8, ["modelValue"])
362
362
  ]),
363
363
  _: 1
@@ -373,8 +373,8 @@ const ul = {
373
373
  }, {
374
374
  default: o(() => [
375
375
  l(h, {
376
- modelValue: e(n).meta.hide,
377
- "onUpdate:modelValue": t[14] || (t[14] = (A) => e(n).meta.hide = A)
376
+ modelValue: e(t).meta.hide,
377
+ "onUpdate:modelValue": n[14] || (n[14] = (D) => e(t).meta.hide = D)
378
378
  }, null, 8, ["modelValue"])
379
379
  ]),
380
380
  _: 1
@@ -390,8 +390,8 @@ const ul = {
390
390
  }, {
391
391
  default: o(() => [
392
392
  l(h, {
393
- modelValue: e(n).meta.full,
394
- "onUpdate:modelValue": t[15] || (t[15] = (A) => e(n).meta.full = A)
393
+ modelValue: e(t).meta.full,
394
+ "onUpdate:modelValue": n[15] || (n[15] = (D) => e(t).meta.full = D)
395
395
  }, null, 8, ["modelValue"])
396
396
  ]),
397
397
  _: 1
@@ -407,8 +407,8 @@ const ul = {
407
407
  }, {
408
408
  default: o(() => [
409
409
  l(h, {
410
- modelValue: e(n).meta.affix,
411
- "onUpdate:modelValue": t[16] || (t[16] = (A) => e(n).meta.affix = A)
410
+ modelValue: e(t).meta.affix,
411
+ "onUpdate:modelValue": n[16] || (n[16] = (D) => e(t).meta.affix = D)
412
412
  }, null, 8, ["modelValue"])
413
413
  ]),
414
414
  _: 1
@@ -441,35 +441,35 @@ const ul = {
441
441
  disabled: { type: Boolean, default: !1 }
442
442
  },
443
443
  emits: ["update:modelValue", "change"],
444
- setup(x, { emit: U }) {
445
- const w = U, k = x, { requesting: V } = z(Q), { value: _, options: m, change: i, refresh: u, filterOptions: n } = re(te(k, "modelValue"), w, { key: "MENU_LIST", api: Q, isArray: !0 });
444
+ setup(R, { emit: U }) {
445
+ const x = U, k = R, { requesting: V } = I(J), { value: b, options: m, change: i, refresh: u, filterOptions: t } = re(ne(k, "modelValue"), x, { key: "MENU_LIST", api: J, isArray: !0 });
446
446
  return (v, s) => {
447
447
  const c = r("el-space"), f = r("el-select-v2");
448
448
  return M(), q(f, {
449
449
  class: "w-full",
450
- modelValue: e(_),
451
- "onUpdate:modelValue": s[1] || (s[1] = (b) => F(_) ? _.value = b : null),
450
+ modelValue: e(b),
451
+ "onUpdate:modelValue": s[1] || (s[1] = (_) => z(b) ? b.value = _ : null),
452
452
  options: e(m),
453
- multiple: x.multiple,
454
- disabled: e(V) || x.disabled,
453
+ multiple: R.multiple,
454
+ disabled: e(V) || R.disabled,
455
455
  placeholder: e(a)("placeholder.select"),
456
456
  filterable: "",
457
- filterOptions: e(n),
457
+ filterOptions: e(t),
458
458
  onChange: e(i)
459
459
  }, {
460
460
  prefix: o(() => [
461
461
  l(e(fe), {
462
462
  loading: e(V),
463
- onRefresh: s[0] || (s[0] = (b) => e(u)(!0))
463
+ onRefresh: s[0] || (s[0] = (_) => e(u)(!0))
464
464
  }, null, 8, ["loading"])
465
465
  ]),
466
- default: o(({ item: b }) => [
466
+ default: o(({ item: _ }) => [
467
467
  l(c, null, {
468
468
  default: o(() => [
469
469
  j("i", {
470
- class: Ae(`icon iconfont ${b.icon}`)
470
+ class: Ae(`icon iconfont ${_.icon}`)
471
471
  }, null, 2),
472
- j("span", null, I(b.translate), 1)
472
+ j("span", null, F(_.translate), 1)
473
473
  ]),
474
474
  _: 2
475
475
  }, 1024)
@@ -481,8 +481,8 @@ const ul = {
481
481
  }), cl = /* @__PURE__ */ O({
482
482
  __name: "MenuRuleFormModal",
483
483
  emits: ["refresh"],
484
- setup(x, { expose: U, emit: w }) {
485
- const k = w, V = {
484
+ setup(R, { expose: U, emit: x }) {
485
+ const k = x, V = {
486
486
  key: "",
487
487
  menu_id: 0,
488
488
  sort: 0,
@@ -490,7 +490,7 @@ const ul = {
490
490
  en_name: "",
491
491
  urls: "",
492
492
  remark: ""
493
- }, _ = {
493
+ }, b = {
494
494
  menu_id: [
495
495
  {
496
496
  required: !0,
@@ -528,28 +528,28 @@ const ul = {
528
528
  trigger: "blur"
529
529
  }
530
530
  ]
531
- }, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, $e);
531
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, $e);
532
532
  return U({
533
533
  open: c,
534
534
  modify: f
535
- }), (R, t) => {
535
+ }), (w, n) => {
536
536
  const d = r("el-form-item"), p = r("el-input-number"), S = r("el-input"), g = r("el-col"), y = r("el-row"), h = r("el-form");
537
537
  return M(), q(e(oe), {
538
538
  modelValue: e(m),
539
- "onUpdate:modelValue": t[6] || (t[6] = (C) => F(m) ? m.value = C : null),
539
+ "onUpdate:modelValue": n[6] || (n[6] = (C) => z(m) ? m.value = C : null),
540
540
  title: e(i)("menu.rules"),
541
541
  width: "1000px",
542
542
  executing: e(s),
543
- onClosed: e(D),
544
- onSubmit: e(b)
543
+ onClosed: e(A),
544
+ onSubmit: e(_)
545
545
  }, {
546
546
  default: o(() => [
547
547
  l(h, {
548
548
  ref_key: "form",
549
549
  ref: u,
550
- model: e(n),
550
+ model: e(t),
551
551
  "label-width": "auto",
552
- rules: _,
552
+ rules: b,
553
553
  disabled: e(v) || e(s)
554
554
  }, {
555
555
  default: o(() => [
@@ -563,8 +563,8 @@ const ul = {
563
563
  }, {
564
564
  default: o(() => [
565
565
  l(ml, {
566
- modelValue: e(n).menu_id,
567
- "onUpdate:modelValue": t[0] || (t[0] = (C) => e(n).menu_id = C),
566
+ modelValue: e(t).menu_id,
567
+ "onUpdate:modelValue": n[0] || (n[0] = (C) => e(t).menu_id = C),
568
568
  disabled: e(s)
569
569
  }, null, 8, ["modelValue", "disabled"])
570
570
  ]),
@@ -577,8 +577,8 @@ const ul = {
577
577
  default: o(() => [
578
578
  l(p, {
579
579
  class: "w-full",
580
- modelValue: e(n).sort,
581
- "onUpdate:modelValue": t[1] || (t[1] = (C) => e(n).sort = C),
580
+ modelValue: e(t).sort,
581
+ "onUpdate:modelValue": n[1] || (n[1] = (C) => e(t).sort = C),
582
582
  min: 0,
583
583
  placeholder: e(a)("placeholder.input")
584
584
  }, null, 8, ["modelValue", "placeholder"])
@@ -591,8 +591,8 @@ const ul = {
591
591
  }, {
592
592
  default: o(() => [
593
593
  l(S, {
594
- modelValue: e(n).name,
595
- "onUpdate:modelValue": t[2] || (t[2] = (C) => e(n).name = C),
594
+ modelValue: e(t).name,
595
+ "onUpdate:modelValue": n[2] || (n[2] = (C) => e(t).name = C),
596
596
  placeholder: e(a)("placeholder.input")
597
597
  }, null, 8, ["modelValue", "placeholder"])
598
598
  ]),
@@ -604,8 +604,8 @@ const ul = {
604
604
  }, {
605
605
  default: o(() => [
606
606
  l(S, {
607
- modelValue: e(n).en_name,
608
- "onUpdate:modelValue": t[3] || (t[3] = (C) => e(n).en_name = C),
607
+ modelValue: e(t).en_name,
608
+ "onUpdate:modelValue": n[3] || (n[3] = (C) => e(t).en_name = C),
609
609
  placeholder: e(a)("placeholder.input")
610
610
  }, null, 8, ["modelValue", "placeholder"])
611
611
  ]),
@@ -617,8 +617,8 @@ const ul = {
617
617
  }, {
618
618
  default: o(() => [
619
619
  l(S, {
620
- modelValue: e(n).remark,
621
- "onUpdate:modelValue": t[4] || (t[4] = (C) => e(n).remark = C),
620
+ modelValue: e(t).remark,
621
+ "onUpdate:modelValue": n[4] || (n[4] = (C) => e(t).remark = C),
622
622
  placeholder: e(a)("placeholder.input")
623
623
  }, null, 8, ["modelValue", "placeholder"])
624
624
  ]),
@@ -635,8 +635,8 @@ const ul = {
635
635
  }, {
636
636
  default: o(() => [
637
637
  l(S, {
638
- modelValue: e(n).urls,
639
- "onUpdate:modelValue": t[5] || (t[5] = (C) => e(n).urls = C),
638
+ modelValue: e(t).urls,
639
+ "onUpdate:modelValue": n[5] || (n[5] = (C) => e(t).urls = C),
640
640
  type: "textarea",
641
641
  rows: 11,
642
642
  placeholder: e(a)("placeholder.input")
@@ -659,16 +659,16 @@ const ul = {
659
659
  };
660
660
  }
661
661
  });
662
- function Me(x) {
663
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !De(x);
662
+ function Me(R) {
663
+ return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !De(R);
664
664
  }
665
665
  const Yl = /* @__PURE__ */ O({
666
666
  __name: "index",
667
- setup(x) {
667
+ setup(R) {
668
668
  const U = {
669
669
  keyword: "",
670
670
  status: 0
671
- }, w = H(""), k = [
671
+ }, x = H(""), k = [
672
672
  {
673
673
  label: a("base.sort"),
674
674
  prop: "sort",
@@ -679,9 +679,9 @@ const Yl = /* @__PURE__ */ O({
679
679
  prop: "icon",
680
680
  width: 60,
681
681
  render: ({
682
- row: t
682
+ row: n
683
683
  }) => l("span", {
684
- class: "iconfont " + t.icon,
684
+ class: "iconfont " + n.icon,
685
685
  style: "font-size: 16px;"
686
686
  }, null)
687
687
  },
@@ -695,8 +695,8 @@ const Yl = /* @__PURE__ */ O({
695
695
  prop: "parent",
696
696
  width: 120,
697
697
  render: ({
698
- row: t
699
- }) => l(G, null, [t.menu?.translate])
698
+ row: n
699
+ }) => l(G, null, [n.menu?.translate])
700
700
  },
701
701
  {
702
702
  label: a("base.name"),
@@ -722,10 +722,10 @@ const Yl = /* @__PURE__ */ O({
722
722
  width: 0,
723
723
  align: "left",
724
724
  render: ({
725
- row: t
725
+ row: n
726
726
  }) => l(r("el-space"), null, {
727
- default: () => [t.rules?.map((d) => l(r("el-popover"), {
728
- visible: w.value === d.key,
727
+ default: () => [n.rules?.map((d) => l(r("el-popover"), {
728
+ visible: x.value === d.key,
729
729
  title: a("message.warning"),
730
730
  placement: "top-end",
731
731
  width: 220
@@ -734,27 +734,27 @@ const Yl = /* @__PURE__ */ O({
734
734
  class: "cursor-pointer",
735
735
  closable: !0,
736
736
  key: d.key,
737
- onClick: () => D({
737
+ onClick: () => A({
738
738
  key: d.key
739
739
  }),
740
- onClose: () => w.value = d.key
740
+ onClose: () => x.value = d.key
741
741
  }, {
742
742
  default: () => [d.translate]
743
743
  }),
744
744
  default: () => {
745
745
  let p, S;
746
- return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${t.translate}-${d.translate} ?`]), l("div", {
746
+ return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${n.translate}-${d.translate} ?`]), l("div", {
747
747
  style: "text-align: right; margin: 0"
748
748
  }, [l(r("el-button"), {
749
749
  size: "small",
750
750
  text: !0,
751
- onClick: () => w.value = ""
751
+ onClick: () => x.value = ""
752
752
  }, Me(p = a("base.cancel")) ? p : {
753
753
  default: () => [p]
754
754
  }), l(r("el-button"), {
755
755
  size: "small",
756
756
  type: "danger",
757
- onClick: () => R(d.key)
757
+ onClick: () => w(d.key)
758
758
  }, Me(S = a("base.confirm")) ? S : {
759
759
  default: () => [S]
760
760
  })])]);
@@ -770,7 +770,7 @@ const Yl = /* @__PURE__ */ O({
770
770
  props: {
771
771
  activeValue: 1,
772
772
  inactiveValue: 2,
773
- api: Q.urls[Se],
773
+ api: J.urls[Se],
774
774
  refresh: !0
775
775
  }
776
776
  },
@@ -780,42 +780,42 @@ const Yl = /* @__PURE__ */ O({
780
780
  width: 60,
781
781
  align: "center",
782
782
  render: ({
783
- row: t
784
- }) => l(ne, {
783
+ row: n
784
+ }) => l(te, {
785
785
  size: "default",
786
786
  onModify: () => c({
787
- id: t.id
787
+ id: n.id
788
788
  })
789
789
  }, null)
790
790
  }
791
791
  ], {
792
792
  requesting: V
793
- } = z(Q), {
794
- tableRef: _,
793
+ } = I(J), {
794
+ tableRef: b,
795
795
  formModalRef: m,
796
796
  keyword: i,
797
797
  search: u,
798
- refresh: n,
798
+ refresh: t,
799
799
  reset: v,
800
800
  openFormModal: s,
801
801
  editFormModal: c
802
- } = J(U), {
802
+ } = X(U), {
803
803
  formRef: f,
804
- open: b,
805
- edit: D
806
- } = Te(), R = (t) => {
804
+ open: _,
805
+ edit: A
806
+ } = Te(), w = (n) => {
807
807
  $e[Je]({
808
- key: t
808
+ key: n
809
809
  }).then(() => {
810
- w.value = "", n();
810
+ x.value = "", t();
811
811
  });
812
812
  };
813
- return (t, d) => {
814
- const p = r("el-button"), S = r("el-input"), g = r("el-radio-button"), y = r("el-radio-group"), h = r("el-space"), C = r("el-page-header"), A = r("el-card");
815
- return M(), q(A, {
813
+ return (n, d) => {
814
+ const p = r("el-button"), S = r("el-input"), g = r("el-radio-button"), y = r("el-radio-group"), h = r("el-space"), C = r("el-page-header"), D = r("el-card");
815
+ return M(), q(D, {
816
816
  class: "basic-card flex-full",
817
817
  "body-class": "flex-1",
818
- onClick: d[5] || (d[5] = () => w.value = "")
818
+ onClick: d[5] || (d[5] = () => x.value = "")
819
819
  }, {
820
820
  header: o(() => [l(C, {
821
821
  class: "basic-header"
@@ -828,7 +828,7 @@ const Yl = /* @__PURE__ */ O({
828
828
  }, null, 8, ["onOpen"]), l(p, {
829
829
  circle: "",
830
830
  icon: e(dl),
831
- onClick: e(b)
831
+ onClick: e(_)
832
832
  }, null, 8, ["icon", "onClick"])]),
833
833
  content: o(() => [l(h, {
834
834
  class: "search-bar"
@@ -862,19 +862,19 @@ const Yl = /* @__PURE__ */ O({
862
862
  })]),
863
863
  default: o(() => [l(e(be), {
864
864
  ref_key: "tableRef",
865
- ref: _,
865
+ ref: b,
866
866
  columns: k,
867
- url: e(Q).urls[e(ye)],
867
+ url: e(J).urls[e(ye)],
868
868
  "search-param": e(i),
869
869
  "auto-search": ""
870
870
  }, null, 8, ["url", "search-param"]), l(pl, {
871
871
  ref_key: "formModalRef",
872
872
  ref: m,
873
- onRefresh: e(n)
873
+ onRefresh: e(t)
874
874
  }, null, 8, ["onRefresh"]), l(cl, {
875
875
  ref_key: "ruleFormModalRef",
876
876
  ref: f,
877
- onRefresh: e(n)
877
+ onRefresh: e(t)
878
878
  }, null, 8, ["onRefresh"])]),
879
879
  _: 1
880
880
  });
@@ -887,60 +887,60 @@ const Yl = /* @__PURE__ */ O({
887
887
  disabled: { type: Boolean, default: !1 }
888
888
  },
889
889
  emits: ["update:modelValue"],
890
- setup(x, { expose: U, emit: w }) {
891
- const { requesting: k } = z(Q), V = x, _ = w, m = H(!1), i = Ke({
890
+ setup(R, { expose: U, emit: x }) {
891
+ const { requesting: k } = I(J), V = R, b = x, m = H(!1), i = Ke({
892
892
  checkAll: !1,
893
893
  indeterminate: !1,
894
894
  MenuAll: {},
895
895
  MenuList: {},
896
896
  MenuIndeterminate: {}
897
- }), { options: u, refresh: n } = re(te(V, "modelValue"), _, { key: "RULE_CHECK", api: Q, url: Q.urls.rules, isArray: !0 }, { autoRefresh: !1 });
897
+ }), { options: u, refresh: t } = re(ne(V, "modelValue"), b, { key: "RULE_CHECK", api: J, url: J.urls.rules, isArray: !0 }, { autoRefresh: !1 });
898
898
  function v() {
899
- u.value.forEach((R) => {
900
- R.rules?.length && (i.MenuAll[R.id] = !1, i.MenuIndeterminate[R.id] = !1, i.MenuList[R.id] = []);
899
+ u.value.forEach((w) => {
900
+ w.rules?.length && (i.MenuAll[w.id] = !1, i.MenuIndeterminate[w.id] = !1, i.MenuList[w.id] = []);
901
901
  });
902
902
  }
903
- function s(R) {
904
- u.value.forEach((t) => {
905
- t.rules?.length && (i.MenuList[t.id] = R ? t.rules.map((d) => d.key) : []);
903
+ function s(w) {
904
+ u.value.forEach((n) => {
905
+ n.rules?.length && (i.MenuList[n.id] = w ? n.rules.map((d) => d.key) : []);
906
906
  }), f();
907
907
  }
908
- function c(R, t) {
909
- const d = u.value.find((p) => p.id === t);
910
- i.MenuList[t] = R && d ? d.rules.map((p) => p.key) : [], f();
908
+ function c(w, n) {
909
+ const d = u.value.find((p) => p.id === n);
910
+ i.MenuList[n] = w && d ? d.rules.map((p) => p.key) : [], f();
911
911
  }
912
912
  function f() {
913
- u.value.forEach((R) => {
914
- const t = R.rules?.length || 0, d = i.MenuList[R.id]?.length || 0;
915
- i.MenuAll[R.id] = d === t && t > 0, i.MenuIndeterminate[R.id] = d > 0 && d < t;
916
- }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((R) => R.length > 0), _("update:modelValue", Object.values(i.MenuList).flat());
913
+ u.value.forEach((w) => {
914
+ const n = w.rules?.length || 0, d = i.MenuList[w.id]?.length || 0;
915
+ i.MenuAll[w.id] = d === n && n > 0, i.MenuIndeterminate[w.id] = d > 0 && d < n;
916
+ }), 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());
917
917
  }
918
- function b() {
919
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), _("update:modelValue", []), m.value = !1;
918
+ function _() {
919
+ i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), m.value = !1;
920
920
  }
921
- function D(R) {
921
+ function A(w) {
922
922
  if (Array.isArray(u.value) && u.value.length > 0) {
923
- for (let t of u.value)
924
- if (Array.isArray(t.rules) && t.rules.length > 0)
925
- for (let d of t.rules)
926
- R.some((p) => p === d.key) && (i.MenuList[t.id] = (i.MenuList?.[t.id] || []).concat([d.key]));
923
+ for (let n of u.value)
924
+ if (Array.isArray(n.rules) && n.rules.length > 0)
925
+ for (let d of n.rules)
926
+ w.some((p) => p === d.key) && (i.MenuList[n.id] = (i.MenuList?.[n.id] || []).concat([d.key]));
927
927
  f(), m.value = !0;
928
928
  }
929
929
  }
930
930
  return We(async () => {
931
- u.value?.length || await n(), !m.value && V.modelValue && D(V.modelValue);
931
+ u.value?.length || await t(), !m.value && V.modelValue && A(V.modelValue);
932
932
  }), Le(
933
933
  () => V.modelValue,
934
- (R) => {
934
+ (w) => {
935
935
  Ge(() => {
936
- m.value || !u.value?.length || R && R.length > 0 && D(R);
936
+ m.value || !u.value?.length || w && w.length > 0 && A(w);
937
937
  });
938
938
  },
939
939
  { deep: !0, immediate: !0 }
940
940
  ), U({
941
- generateOption: D,
942
- cleanChecked: b
943
- }), (R, t) => {
941
+ generateOption: A,
942
+ cleanChecked: _
943
+ }), (w, n) => {
944
944
  const d = r("el-checkbox"), p = r("el-space"), S = r("el-text"), g = r("el-divider"), y = r("el-checkbox-group");
945
945
  return M(), B("div", fl, [
946
946
  l(p, { style: { "margin-bottom": "6px" } }, {
@@ -949,10 +949,10 @@ const Yl = /* @__PURE__ */ O({
949
949
  "model-value": i.checkAll,
950
950
  indeterminate: i.indeterminate,
951
951
  id: "all",
952
- disabled: x.disabled,
952
+ disabled: R.disabled,
953
953
  onChange: s
954
954
  }, {
955
- default: o(() => [...t[1] || (t[1] = [
955
+ default: o(() => [...n[1] || (n[1] = [
956
956
  j("span", null, "全选", -1)
957
957
  ])]),
958
958
  _: 1
@@ -961,7 +961,7 @@ const Yl = /* @__PURE__ */ O({
961
961
  loading: e(k),
962
962
  text: "",
963
963
  size: "small",
964
- onRefresh: t[0] || (t[0] = (h) => e(n)(!0))
964
+ onRefresh: n[0] || (n[0] = (h) => e(t)(!0))
965
965
  }, null, 8, ["loading"])
966
966
  ]),
967
967
  _: 1
@@ -983,14 +983,14 @@ const Yl = /* @__PURE__ */ O({
983
983
  l(d, {
984
984
  style: { "min-width": "150px" },
985
985
  "model-value": i.MenuAll[h.id],
986
- disabled: x.disabled || !h.rules || h.rules.length <= 0,
986
+ disabled: R.disabled || !h.rules || h.rules.length <= 0,
987
987
  indeterminate: i.MenuIndeterminate[h.id],
988
988
  onChange: (C) => c(C, h.id)
989
989
  }, {
990
990
  default: o(() => [
991
991
  l(S, { style: { "font-size": "15px" } }, {
992
992
  default: o(() => [
993
- le(I(h.translate), 1)
993
+ Q(F(h.translate), 1)
994
994
  ]),
995
995
  _: 2
996
996
  }, 1024)
@@ -1002,7 +1002,7 @@ const Yl = /* @__PURE__ */ O({
1002
1002
  key: 0,
1003
1003
  modelValue: i.MenuList[h.id],
1004
1004
  "onUpdate:modelValue": (C) => i.MenuList[h.id] = C,
1005
- disabled: x.disabled,
1005
+ disabled: R.disabled,
1006
1006
  style: { margin: "auto" },
1007
1007
  onChange: f
1008
1008
  }, {
@@ -1012,7 +1012,7 @@ const Yl = /* @__PURE__ */ O({
1012
1012
  value: C.key
1013
1013
  }, {
1014
1014
  default: o(() => [
1015
- j("div", bl, I(C.translate), 1)
1015
+ j("div", bl, F(C.translate), 1)
1016
1016
  ]),
1017
1017
  _: 2
1018
1018
  }, 1032, ["value"]))), 128))
@@ -1029,16 +1029,16 @@ const Yl = /* @__PURE__ */ O({
1029
1029
  ]);
1030
1030
  };
1031
1031
  }
1032
- }), Ee = (x, U) => {
1033
- const w = x.__vccOpts || x;
1032
+ }), Ee = (R, U) => {
1033
+ const x = R.__vccOpts || R;
1034
1034
  for (const [k, V] of U)
1035
- w[k] = V;
1036
- return w;
1035
+ x[k] = V;
1036
+ return x;
1037
1037
  }, gl = /* @__PURE__ */ Ee(_l, [["__scopeId", "data-v-7adb5f76"]]), hl = /* @__PURE__ */ O({
1038
1038
  __name: "RoleFormModal",
1039
1039
  emits: ["refresh"],
1040
- setup(x, { expose: U, emit: w }) {
1041
- const k = w, V = H(), _ = {
1040
+ setup(R, { expose: U, emit: x }) {
1041
+ const k = x, V = H(), b = {
1042
1042
  key: "",
1043
1043
  module: "",
1044
1044
  sort: 0,
@@ -1061,27 +1061,27 @@ const Yl = /* @__PURE__ */ O({
1061
1061
  trigger: "blur"
1062
1062
  }
1063
1063
  ]
1064
- }, { modal: i, title: u, form: n, formData: v, requesting: s, executing: c, open: f, modify: b, submit: D, closed: R } = ee(k, _, we), t = () => {
1065
- V.value?.cleanChecked(), R();
1064
+ }, { modal: i, title: u, form: t, formData: v, requesting: s, executing: c, open: f, modify: _, submit: A, closed: w } = le(k, b, we), n = () => {
1065
+ V.value?.cleanChecked(), w();
1066
1066
  };
1067
1067
  return U({
1068
1068
  open: f,
1069
- modify: b
1069
+ modify: _
1070
1070
  }), (d, p) => {
1071
- const S = r("el-input"), g = r("el-form-item"), y = r("el-col"), h = r("el-input-number"), C = r("el-row"), A = r("el-form");
1071
+ const S = r("el-input"), g = r("el-form-item"), y = r("el-col"), h = r("el-input-number"), C = r("el-row"), D = r("el-form");
1072
1072
  return M(), q(e(oe), {
1073
1073
  modelValue: e(i),
1074
- "onUpdate:modelValue": p[6] || (p[6] = (L) => F(i) ? i.value = L : null),
1074
+ "onUpdate:modelValue": p[6] || (p[6] = (L) => z(i) ? i.value = L : null),
1075
1075
  title: e(u)(),
1076
1076
  width: "1000px",
1077
1077
  executing: e(c),
1078
- onClosed: t,
1079
- onSubmit: e(D)
1078
+ onClosed: n,
1079
+ onSubmit: e(A)
1080
1080
  }, {
1081
1081
  default: o(() => [
1082
- l(A, {
1082
+ l(D, {
1083
1083
  ref_key: "form",
1084
- ref: n,
1084
+ ref: t,
1085
1085
  model: e(v),
1086
1086
  "label-width": "auto",
1087
1087
  rules: m,
@@ -1195,10 +1195,10 @@ const Yl = /* @__PURE__ */ O({
1195
1195
  }
1196
1196
  }), Hl = /* @__PURE__ */ O({
1197
1197
  __name: "index",
1198
- setup(x) {
1198
+ setup(R) {
1199
1199
  const U = {
1200
1200
  keyword: ""
1201
- }, w = [
1201
+ }, x = [
1202
1202
  {
1203
1203
  label: a("base.sort"),
1204
1204
  prop: "sort",
@@ -1232,7 +1232,7 @@ const Yl = /* @__PURE__ */ O({
1232
1232
  align: "center",
1233
1233
  render: ({
1234
1234
  row: c
1235
- }) => l(ne, {
1235
+ }) => l(te, {
1236
1236
  size: "default",
1237
1237
  onModify: () => s({
1238
1238
  key: c.key
@@ -1241,23 +1241,23 @@ const Yl = /* @__PURE__ */ O({
1241
1241
  }
1242
1242
  ], {
1243
1243
  requesting: k
1244
- } = z(we), {
1244
+ } = I(we), {
1245
1245
  tableRef: V,
1246
- formModalRef: _,
1246
+ formModalRef: b,
1247
1247
  keyword: m,
1248
1248
  search: i,
1249
1249
  reset: u,
1250
- refresh: n,
1250
+ refresh: t,
1251
1251
  openFormModal: v,
1252
1252
  editFormModal: s
1253
- } = J(U);
1253
+ } = X(U);
1254
1254
  return (c, f) => {
1255
- const b = r("el-input"), D = r("el-space"), R = r("el-page-header"), t = r("el-card");
1256
- return M(), q(t, {
1255
+ const _ = r("el-input"), A = r("el-space"), w = r("el-page-header"), n = r("el-card");
1256
+ return M(), q(n, {
1257
1257
  class: "basic-card flex-full",
1258
1258
  "body-class": "flex-1"
1259
1259
  }, {
1260
- header: o(() => [l(R, {
1260
+ header: o(() => [l(w, {
1261
1261
  class: "basic-header"
1262
1262
  }, {
1263
1263
  title: o(() => [l(e(K), {
@@ -1266,10 +1266,10 @@ const Yl = /* @__PURE__ */ O({
1266
1266
  }, null, 8, ["loading", "onRefresh"]), l(e(P), {
1267
1267
  onOpen: e(v)
1268
1268
  }, null, 8, ["onOpen"])]),
1269
- content: o(() => [l(D, {
1269
+ content: o(() => [l(A, {
1270
1270
  class: "search-bar"
1271
1271
  }, {
1272
- default: o(() => [l(b, {
1272
+ default: o(() => [l(_, {
1273
1273
  class: "basic-search-input",
1274
1274
  modelValue: e(m).keyword,
1275
1275
  "onUpdate:modelValue": f[0] || (f[0] = (d) => e(m).keyword = d),
@@ -1288,14 +1288,14 @@ const Yl = /* @__PURE__ */ O({
1288
1288
  default: o(() => [l(e(be), {
1289
1289
  ref_key: "tableRef",
1290
1290
  ref: V,
1291
- columns: w,
1291
+ columns: x,
1292
1292
  url: e(we).urls[e(ye)],
1293
1293
  "search-param": e(m),
1294
1294
  "auto-search": ""
1295
1295
  }, null, 8, ["url", "search-param"]), l(hl, {
1296
1296
  ref_key: "formModalRef",
1297
- ref: _,
1298
- onRefresh: e(n)
1297
+ ref: b,
1298
+ onRefresh: e(t)
1299
1299
  }, null, 8, ["onRefresh"])]),
1300
1300
  _: 1
1301
1301
  });
@@ -1332,18 +1332,18 @@ const Yl = /* @__PURE__ */ O({
1332
1332
  }
1333
1333
  },
1334
1334
  emits: ["update:modelValue", "update:value", "change"],
1335
- setup(x, {
1335
+ setup(R, {
1336
1336
  emit: U
1337
1337
  }) {
1338
- const w = U, k = x, {
1338
+ const x = U, k = R, {
1339
1339
  requesting: V
1340
- } = z(W), {
1341
- value: _,
1340
+ } = I(W), {
1341
+ value: b,
1342
1342
  options: m,
1343
1343
  change: i,
1344
1344
  refresh: u,
1345
- filterOptions: n
1346
- } = re(te(k, "modelValue"), w, {
1345
+ filterOptions: t
1346
+ } = re(ne(k, "modelValue"), x, {
1347
1347
  key: "I18N_MODULES",
1348
1348
  url: W.urls.modules,
1349
1349
  api: W,
@@ -1352,27 +1352,27 @@ const Yl = /* @__PURE__ */ O({
1352
1352
  return (v, s) => {
1353
1353
  const c = r("el-space"), f = r("el-select-v2");
1354
1354
  return M(), q(f, {
1355
- modelValue: e(_),
1356
- "onUpdate:modelValue": s[1] || (s[1] = (b) => F(_) ? _.value = b : null),
1355
+ modelValue: e(b),
1356
+ "onUpdate:modelValue": s[1] || (s[1] = (_) => z(b) ? b.value = _ : null),
1357
1357
  options: e(m),
1358
- multiple: x.multiple,
1359
- disabled: e(V) || x.disabled,
1360
- clearable: x.clearable,
1358
+ multiple: R.multiple,
1359
+ disabled: e(V) || R.disabled,
1360
+ clearable: R.clearable,
1361
1361
  filterable: "",
1362
- "allow-create": x.allowCreate,
1362
+ "allow-create": R.allowCreate,
1363
1363
  "default-first-option": "",
1364
1364
  placeholder: e(a)("placeholder.select"),
1365
- filterOptions: e(n),
1365
+ filterOptions: e(t),
1366
1366
  onChange: e(i)
1367
1367
  }, {
1368
1368
  prefix: o(() => [l(e(fe), {
1369
1369
  loading: e(V),
1370
- onRefresh: s[0] || (s[0] = (b) => e(u)(!0))
1370
+ onRefresh: s[0] || (s[0] = (_) => e(u)(!0))
1371
1371
  }, null, 8, ["loading"])]),
1372
1372
  default: o(({
1373
- item: b
1373
+ item: _
1374
1374
  }) => [l(c, null, {
1375
- default: o(() => [j("span", null, I(b.value), 1)]),
1375
+ default: o(() => [j("span", null, F(_.value), 1)]),
1376
1376
  _: 2
1377
1377
  }, 1024)]),
1378
1378
  _: 1
@@ -1382,8 +1382,8 @@ const Yl = /* @__PURE__ */ O({
1382
1382
  }), Vl = /* @__PURE__ */ O({
1383
1383
  __name: "I18N",
1384
1384
  emits: ["refresh"],
1385
- setup(x, { expose: U, emit: w }) {
1386
- const k = w, V = {
1385
+ setup(R, { expose: U, emit: x }) {
1386
+ const k = x, V = {
1387
1387
  uuid: "",
1388
1388
  key: "",
1389
1389
  module: void 0,
@@ -1392,7 +1392,7 @@ const Yl = /* @__PURE__ */ O({
1392
1392
  "en-US": ""
1393
1393
  },
1394
1394
  remark: ""
1395
- }, _ = {
1395
+ }, b = {
1396
1396
  module: [
1397
1397
  {
1398
1398
  required: !0,
@@ -1427,20 +1427,20 @@ const Yl = /* @__PURE__ */ O({
1427
1427
  });
1428
1428
  }
1429
1429
  u();
1430
- const { modal: n, title: v, form: s, formData: c, requesting: f, executing: b, open: D, modify: R, submit: t, closed: d } = ee(k, V, W);
1430
+ const { modal: t, title: v, form: s, formData: c, requesting: f, executing: _, open: A, modify: w, submit: n, closed: d } = le(k, V, W);
1431
1431
  return U({
1432
- open: D,
1433
- modify: R
1432
+ open: A,
1433
+ modify: w
1434
1434
  }), (p, S) => {
1435
1435
  const g = r("el-form-item"), y = r("el-input"), h = r("el-space"), C = r("el-form");
1436
1436
  return M(), q(e(oe), {
1437
- modelValue: e(n),
1438
- "onUpdate:modelValue": S[3] || (S[3] = (A) => F(n) ? n.value = A : null),
1437
+ modelValue: e(t),
1438
+ "onUpdate:modelValue": S[3] || (S[3] = (D) => z(t) ? t.value = D : null),
1439
1439
  title: e(v)(),
1440
1440
  width: "600px",
1441
- executing: e(b),
1441
+ executing: e(_),
1442
1442
  onClosed: e(d),
1443
- onSubmit: e(t)
1443
+ onSubmit: e(n)
1444
1444
  }, {
1445
1445
  default: o(() => [
1446
1446
  l(C, {
@@ -1448,8 +1448,8 @@ const Yl = /* @__PURE__ */ O({
1448
1448
  ref: s,
1449
1449
  model: e(c),
1450
1450
  "label-width": "auto",
1451
- rules: _,
1452
- disabled: e(f) || e(b)
1451
+ rules: b,
1452
+ disabled: e(f) || e(_)
1453
1453
  }, {
1454
1454
  default: o(() => [
1455
1455
  l(g, {
@@ -1460,8 +1460,8 @@ const Yl = /* @__PURE__ */ O({
1460
1460
  default: o(() => [
1461
1461
  l(Fe, {
1462
1462
  modelValue: e(c).module,
1463
- "onUpdate:modelValue": S[0] || (S[0] = (A) => e(c).module = A),
1464
- disabled: e(b),
1463
+ "onUpdate:modelValue": S[0] || (S[0] = (D) => e(c).module = D),
1464
+ disabled: e(_),
1465
1465
  "allow-create": ""
1466
1466
  }, null, 8, ["modelValue", "disabled"])
1467
1467
  ]),
@@ -1475,7 +1475,7 @@ const Yl = /* @__PURE__ */ O({
1475
1475
  default: o(() => [
1476
1476
  l(y, {
1477
1477
  modelValue: e(c).key,
1478
- "onUpdate:modelValue": S[1] || (S[1] = (A) => e(c).key = A),
1478
+ "onUpdate:modelValue": S[1] || (S[1] = (D) => e(c).key = D),
1479
1479
  placeholder: e(a)("i18n.placeholder.key")
1480
1480
  }, null, 8, ["modelValue", "placeholder"])
1481
1481
  ]),
@@ -1493,14 +1493,14 @@ const Yl = /* @__PURE__ */ O({
1493
1493
  style: { width: "100%" }
1494
1494
  }, {
1495
1495
  default: o(() => [
1496
- (M(!0), B(G, null, ae(m.value, (A) => (M(), B("div", { key: A }, [
1496
+ (M(!0), B(G, null, ae(m.value, (D) => (M(), B("div", { key: D }, [
1497
1497
  l(y, {
1498
- modelValue: e(c).language[A],
1499
- "onUpdate:modelValue": (L) => e(c).language[A] = L,
1498
+ modelValue: e(c).language[D],
1499
+ "onUpdate:modelValue": (L) => e(c).language[D] = L,
1500
1500
  placeholder: e(a)("i18n.placeholder.language")
1501
1501
  }, {
1502
1502
  prepend: o(() => [
1503
- le(I(A), 1)
1503
+ Q(F(D), 1)
1504
1504
  ]),
1505
1505
  _: 2
1506
1506
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
@@ -1518,7 +1518,7 @@ const Yl = /* @__PURE__ */ O({
1518
1518
  default: o(() => [
1519
1519
  l(y, {
1520
1520
  modelValue: e(c).remark,
1521
- "onUpdate:modelValue": S[2] || (S[2] = (A) => e(c).remark = A),
1521
+ "onUpdate:modelValue": S[2] || (S[2] = (D) => e(c).remark = D),
1522
1522
  placeholder: e(a)("placeholder.remark")
1523
1523
  }, null, 8, ["modelValue", "placeholder"])
1524
1524
  ]),
@@ -1533,19 +1533,19 @@ const Yl = /* @__PURE__ */ O({
1533
1533
  };
1534
1534
  }
1535
1535
  });
1536
- function yl(x) {
1537
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !De(x);
1536
+ function yl(R) {
1537
+ return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !De(R);
1538
1538
  }
1539
1539
  const ze = /* @__PURE__ */ O({
1540
1540
  __name: "I18N",
1541
1541
  emits: ["closed", "choosed"],
1542
- setup(x, {
1542
+ setup(R, {
1543
1543
  expose: U,
1544
- emit: w
1544
+ emit: x
1545
1545
  }) {
1546
- const k = w, {
1546
+ const k = x, {
1547
1547
  visible: V,
1548
- open: _,
1548
+ open: b,
1549
1549
  close: m
1550
1550
  } = xe(void 0, () => k("closed")), i = {
1551
1551
  keyword: "",
@@ -1590,12 +1590,12 @@ const ze = /* @__PURE__ */ O({
1590
1590
  render: ({
1591
1591
  row: g
1592
1592
  }) => l(r("el-space"), null, {
1593
- default: () => [l(ne, {
1593
+ default: () => [l(te, {
1594
1594
  size: "default",
1595
1595
  onModify: () => d({
1596
1596
  uuid: g.uuid
1597
1597
  })
1598
- }, null), l(X, {
1598
+ }, null), l(Z, {
1599
1599
  size: "default",
1600
1600
  text: !0,
1601
1601
  type: "danger",
@@ -1604,36 +1604,36 @@ const ze = /* @__PURE__ */ O({
1604
1604
  }, null)]
1605
1605
  })
1606
1606
  }], {
1607
- requesting: n,
1607
+ requesting: t,
1608
1608
  executing: v
1609
- } = z(W), {
1609
+ } = I(W), {
1610
1610
  tableRef: s,
1611
1611
  formModalRef: c,
1612
1612
  keyword: f,
1613
- search: b,
1614
- reset: D,
1615
- refresh: R,
1616
- openFormModal: t,
1613
+ search: _,
1614
+ reset: A,
1615
+ refresh: w,
1616
+ openFormModal: n,
1617
1617
  editFormModal: d
1618
- } = J(i);
1618
+ } = X(i);
1619
1619
  async function p(g) {
1620
1620
  return W.remove({
1621
1621
  uuid: g
1622
1622
  }).finally(() => {
1623
- R();
1623
+ w();
1624
1624
  });
1625
1625
  }
1626
1626
  function S(g) {
1627
1627
  k("choosed", g);
1628
1628
  }
1629
1629
  return U({
1630
- open: _
1630
+ open: b
1631
1631
  }), (g, y) => {
1632
- const h = r("el-input"), C = r("el-radio-button"), A = r("el-radio-group"), L = r("el-space"), T = r("el-page-header");
1632
+ const h = r("el-input"), C = r("el-radio-button"), D = r("el-radio-group"), L = r("el-space"), T = r("el-page-header");
1633
1633
  return M(), q(e(_e), {
1634
1634
  class: "basic-drawer",
1635
1635
  modelValue: e(V),
1636
- "onUpdate:modelValue": y[7] || (y[7] = ($) => F(V) ? V.value = $ : null),
1636
+ "onUpdate:modelValue": y[7] || (y[7] = ($) => z(V) ? V.value = $ : null),
1637
1637
  width: "880px",
1638
1638
  "show-close": !1,
1639
1639
  onClosed: e(m)
@@ -1642,12 +1642,12 @@ const ze = /* @__PURE__ */ O({
1642
1642
  class: "basic-header"
1643
1643
  }, {
1644
1644
  title: o(() => [l(e(K), {
1645
- loading: e(n),
1645
+ loading: e(t),
1646
1646
  disabled: e(v),
1647
- onRefresh: e(D)
1647
+ onRefresh: e(A)
1648
1648
  }, null, 8, ["loading", "disabled", "onRefresh"]), l(e(P), {
1649
- onOpen: e(t),
1650
- disabled: e(n) || e(v)
1649
+ onOpen: e(n),
1650
+ disabled: e(t) || e(v)
1651
1651
  }, null, 8, ["onOpen", "disabled"])]),
1652
1652
  content: o(() => [l(L, {
1653
1653
  class: "search-bar"
@@ -1658,24 +1658,24 @@ const ze = /* @__PURE__ */ O({
1658
1658
  },
1659
1659
  modelValue: e(f).keyword,
1660
1660
  "onUpdate:modelValue": y[0] || (y[0] = ($) => e(f).keyword = $),
1661
- disabled: e(n),
1661
+ disabled: e(t),
1662
1662
  placeholder: e(a)("placeholder.keyword"),
1663
1663
  clearable: "",
1664
- onKeyup: y[1] || (y[1] = Ve(($) => e(b)(), ["enter"])),
1665
- onClear: y[2] || (y[2] = ($) => e(b)())
1664
+ onKeyup: y[1] || (y[1] = Ve(($) => e(_)(), ["enter"])),
1665
+ onClear: y[2] || (y[2] = ($) => e(_)())
1666
1666
  }, null, 8, ["modelValue", "disabled", "placeholder"]), l(Fe, {
1667
1667
  modelValue: e(f).module,
1668
1668
  "onUpdate:modelValue": y[3] || (y[3] = ($) => e(f).module = $),
1669
1669
  clearable: !0,
1670
- disabled: e(n),
1670
+ disabled: e(t),
1671
1671
  style: {
1672
1672
  width: "160px"
1673
1673
  }
1674
- }, null, 8, ["modelValue", "disabled"]), l(A, {
1674
+ }, null, 8, ["modelValue", "disabled"]), l(D, {
1675
1675
  modelValue: e(f).status,
1676
1676
  "onUpdate:modelValue": y[4] || (y[4] = ($) => e(f).status = $),
1677
- onChange: y[5] || (y[5] = ($) => e(b)()),
1678
- disabled: e(n)
1677
+ onChange: y[5] || (y[5] = ($) => e(_)()),
1678
+ disabled: e(t)
1679
1679
  }, {
1680
1680
  default: o(() => [(M(), B(G, null, ae([0, 1, 2], ($) => l(C, {
1681
1681
  key: $,
@@ -1684,8 +1684,8 @@ const ze = /* @__PURE__ */ O({
1684
1684
  }, null, 8, ["label", "value"])), 64))]),
1685
1685
  _: 1
1686
1686
  }, 8, ["modelValue", "disabled"]), l(e(de), {
1687
- disabled: e(n),
1688
- onSearch: y[6] || (y[6] = ($) => e(b)())
1687
+ disabled: e(t),
1688
+ onSearch: y[6] || (y[6] = ($) => e(_)())
1689
1689
  }, null, 8, ["disabled"])]),
1690
1690
  _: 1
1691
1691
  })]),
@@ -1702,7 +1702,7 @@ const ze = /* @__PURE__ */ O({
1702
1702
  }, null, 8, ["url", "search-param"]), l(Vl, {
1703
1703
  ref_key: "formModalRef",
1704
1704
  ref: c,
1705
- onRefresh: e(R)
1705
+ onRefresh: e(w)
1706
1706
  }, null, 8, ["onRefresh"])]),
1707
1707
  _: 1
1708
1708
  }, 8, ["modelValue", "onClosed"]);
@@ -1711,11 +1711,11 @@ const ze = /* @__PURE__ */ O({
1711
1711
  }), kl = { key: 0 }, vl = { key: 1 }, wl = /* @__PURE__ */ O({
1712
1712
  __name: "template",
1713
1713
  emits: ["refresh"],
1714
- setup(x, { expose: U, emit: w }) {
1715
- const k = He(), V = () => k.value?.open(), _ = w, m = H("600px"), i = H({
1714
+ setup(R, { expose: U, emit: x }) {
1715
+ const k = He(), V = () => k.value?.open(), b = x, m = H("600px"), i = H({
1716
1716
  "zh-CN": "primary",
1717
1717
  "en-US": "success"
1718
- }), u = H({}), n = {
1718
+ }), u = H({}), t = {
1719
1719
  uuid: "",
1720
1720
  app: 1,
1721
1721
  keys: "",
@@ -1743,7 +1743,7 @@ const ze = /* @__PURE__ */ O({
1743
1743
  trigger: "change"
1744
1744
  }
1745
1745
  ]
1746
- }, { modal: s, title: c, form: f, formData: b, requesting: D, executing: R, open: t, modify: d, submit: p, closed: S } = ee(_, n, ue);
1746
+ }, { modal: s, title: c, form: f, formData: _, requesting: A, executing: w, open: n, modify: d, submit: p, closed: S } = le(b, t, ue);
1747
1747
  function g() {
1748
1748
  m.value = "1080px", V();
1749
1749
  }
@@ -1752,15 +1752,15 @@ const ze = /* @__PURE__ */ O({
1752
1752
  }
1753
1753
  function h(L) {
1754
1754
  let T = L?.module?.toLowerCase() + "." + L.key.toLowerCase();
1755
- b.keys = T, b.values.push(T);
1755
+ _.keys = T, _.values.push(T);
1756
1756
  for (const $ in L.language)
1757
1757
  u.value[$] || (u.value[$] = []), u.value[$].push(L.language[$]);
1758
1758
  }
1759
1759
  function C() {
1760
- m.value = "600px", A();
1760
+ m.value = "600px", D();
1761
1761
  }
1762
- function A() {
1763
- b.keys = "", b.values = [], u.value = {
1762
+ function D() {
1763
+ _.keys = "", _.values = [], u.value = {
1764
1764
  "zh-CN": [],
1765
1765
  "en-US": []
1766
1766
  };
@@ -1768,13 +1768,13 @@ const ze = /* @__PURE__ */ O({
1768
1768
  return Le(() => s.value, (L) => {
1769
1769
  L ? C() : S();
1770
1770
  }), U({
1771
- open: t,
1771
+ open: n,
1772
1772
  modify: d
1773
1773
  }), (L, T) => {
1774
1774
  const $ = r("el-page-header"), se = r("el-form-item"), Re = r("el-button"), N = r("el-input"), Be = r("el-tag"), Pe = r("el-space"), je = r("el-form");
1775
1775
  return M(), q(e(_e), {
1776
1776
  modelValue: e(s),
1777
- "onUpdate:modelValue": T[3] || (T[3] = (Z) => F(s) ? s.value = Z : null),
1777
+ "onUpdate:modelValue": T[3] || (T[3] = (ee) => z(s) ? s.value = ee : null),
1778
1778
  width: m.value,
1779
1779
  "show-close": !1,
1780
1780
  class: "basic-drawer"
@@ -1782,23 +1782,23 @@ const ze = /* @__PURE__ */ O({
1782
1782
  title: o(() => [
1783
1783
  l($, { class: "basic-header" }, {
1784
1784
  title: o(() => [
1785
- le(I(e(c)("i18n.template")), 1)
1785
+ Q(F(e(c)("i18n.template")), 1)
1786
1786
  ]),
1787
1787
  extra: o(() => [
1788
- l(e(X), {
1788
+ l(e(Z), {
1789
1789
  size: "default",
1790
1790
  type: "default",
1791
1791
  icon: "icon-clear",
1792
- loading: e(R),
1793
- onClick: A
1792
+ loading: e(w),
1793
+ onClick: D
1794
1794
  }, null, 8, ["loading"]),
1795
- l(e(X), {
1795
+ l(e(Z), {
1796
1796
  circle: !1,
1797
1797
  size: "default",
1798
1798
  type: "primary",
1799
1799
  icon: "icon-save",
1800
1800
  plain: !1,
1801
- loading: e(R),
1801
+ loading: e(w),
1802
1802
  onClick: e(p)
1803
1803
  }, null, 8, ["loading", "onClick"])
1804
1804
  ]),
@@ -1809,10 +1809,10 @@ const ze = /* @__PURE__ */ O({
1809
1809
  l(je, {
1810
1810
  ref_key: "form",
1811
1811
  ref: f,
1812
- model: e(b),
1812
+ model: e(_),
1813
1813
  "label-width": "auto",
1814
1814
  rules: v,
1815
- disabled: e(D) || e(R)
1815
+ disabled: e(A) || e(w)
1816
1816
  }, {
1817
1817
  default: o(() => [
1818
1818
  l(se, {
@@ -1822,8 +1822,8 @@ const ze = /* @__PURE__ */ O({
1822
1822
  }, {
1823
1823
  default: o(() => [
1824
1824
  l(e(qe), {
1825
- modelValue: e(b).app,
1826
- "onUpdate:modelValue": T[0] || (T[0] = (Z) => e(b).app = Z),
1825
+ modelValue: e(_).app,
1826
+ "onUpdate:modelValue": T[0] || (T[0] = (ee) => e(_).app = ee),
1827
1827
  "cache-key": "I18NAPPS",
1828
1828
  hidden: [0],
1829
1829
  url: e(ue).urls.apps
@@ -1838,8 +1838,8 @@ const ze = /* @__PURE__ */ O({
1838
1838
  }, {
1839
1839
  default: o(() => [
1840
1840
  l(N, {
1841
- modelValue: e(b).keys,
1842
- "onUpdate:modelValue": T[1] || (T[1] = (Z) => e(b).keys = Z),
1841
+ modelValue: e(_).keys,
1842
+ "onUpdate:modelValue": T[1] || (T[1] = (ee) => e(_).keys = ee),
1843
1843
  placeholder: e(a)("i18n.placeholder.key")
1844
1844
  }, {
1845
1845
  append: o(() => [
@@ -1859,7 +1859,7 @@ const ze = /* @__PURE__ */ O({
1859
1859
  required: ""
1860
1860
  }, {
1861
1861
  default: o(() => [
1862
- le(I(e(b).values.join(":")), 1)
1862
+ Q(F(e(_).values.join(":")), 1)
1863
1863
  ]),
1864
1864
  _: 1
1865
1865
  }, 8, ["label"]),
@@ -1867,7 +1867,7 @@ const ze = /* @__PURE__ */ O({
1867
1867
  label: e(a)("i18n.values")
1868
1868
  }, {
1869
1869
  default: o(() => [
1870
- (M(!0), B(G, null, ae(u.value, (Z, ke) => (M(), B("div", {
1870
+ (M(!0), B(G, null, ae(u.value, (ee, ke) => (M(), B("div", {
1871
1871
  key: ke,
1872
1872
  class: "w-full"
1873
1873
  }, [
@@ -1878,11 +1878,11 @@ const ze = /* @__PURE__ */ O({
1878
1878
  style: { "min-width": "80px" }
1879
1879
  }, {
1880
1880
  default: o(() => [
1881
- le(I(ke), 1)
1881
+ Q(F(ke), 1)
1882
1882
  ]),
1883
1883
  _: 2
1884
1884
  }, 1032, ["type"]),
1885
- ke == "zh-CN" ? (M(), B("span", kl, I(Z.join("")), 1)) : (M(), B("span", vl, I(Z.join(" ")), 1))
1885
+ ke == "zh-CN" ? (M(), B("span", kl, F(ee.join("")), 1)) : (M(), B("span", vl, F(ee.join(" ")), 1))
1886
1886
  ]),
1887
1887
  _: 2
1888
1888
  }, 1024)
@@ -1896,8 +1896,8 @@ const ze = /* @__PURE__ */ O({
1896
1896
  }, {
1897
1897
  default: o(() => [
1898
1898
  l(N, {
1899
- modelValue: e(b).remark,
1900
- "onUpdate:modelValue": T[2] || (T[2] = (Z) => e(b).remark = Z),
1899
+ modelValue: e(_).remark,
1900
+ "onUpdate:modelValue": T[2] || (T[2] = (ee) => e(_).remark = ee),
1901
1901
  placeholder: e(a)("placeholder.input")
1902
1902
  }, null, 8, ["modelValue", "placeholder"])
1903
1903
  ]),
@@ -1920,13 +1920,13 @@ const ze = /* @__PURE__ */ O({
1920
1920
  }), xl = Y.routineApi("gateway", "id", {
1921
1921
  gen: "gen_translation"
1922
1922
  });
1923
- function Rl(x) {
1924
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !De(x);
1923
+ function Rl(R) {
1924
+ return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !De(R);
1925
1925
  }
1926
1926
  const Ql = /* @__PURE__ */ O({
1927
1927
  __name: "index",
1928
- setup(x) {
1929
- const U = ze, w = wl, k = {
1928
+ setup(R) {
1929
+ const U = ze, x = wl, k = {
1930
1930
  keyword: "",
1931
1931
  app: 0,
1932
1932
  status: 0
@@ -1940,16 +1940,16 @@ const Ql = /* @__PURE__ */ O({
1940
1940
  }, Rl(h = a("i18n.app." + y.app)) ? h : {
1941
1941
  default: () => [h]
1942
1942
  });
1943
- }, _ = ({
1943
+ }, b = ({
1944
1944
  row: y
1945
1945
  }) => l(r("el-space"), null, {
1946
- default: () => [l(ne, {
1946
+ default: () => [l(te, {
1947
1947
  size: "default",
1948
1948
  disabled: u.value,
1949
- onModify: () => t({
1949
+ onModify: () => n({
1950
1950
  uuid: y.uuid
1951
1951
  })
1952
- }, null), l(X, {
1952
+ }, null), l(Z, {
1953
1953
  size: "default",
1954
1954
  text: !0,
1955
1955
  type: "danger",
@@ -1997,41 +1997,41 @@ const Ql = /* @__PURE__ */ O({
1997
1997
  label: a("base.action"),
1998
1998
  width: 120,
1999
1999
  align: "center",
2000
- render: _
2000
+ render: b
2001
2001
  }], {
2002
2002
  requesting: i,
2003
2003
  executing: u
2004
- } = z(ue), {
2005
- tableRef: n,
2004
+ } = I(ue), {
2005
+ tableRef: t,
2006
2006
  formModalRef: v,
2007
2007
  dialogRef: s,
2008
2008
  keyword: c,
2009
2009
  search: f,
2010
- reset: b,
2011
- refresh: D,
2012
- openFormModal: R,
2013
- editFormModal: t,
2010
+ reset: _,
2011
+ refresh: A,
2012
+ openFormModal: w,
2013
+ editFormModal: n,
2014
2014
  openDialog: d
2015
- } = J(k);
2015
+ } = X(k);
2016
2016
  function p(y) {
2017
2017
  return ue.remove({
2018
2018
  uuid: y
2019
2019
  }).finally(() => {
2020
- D();
2020
+ A();
2021
2021
  });
2022
2022
  }
2023
2023
  function S() {
2024
2024
  return W.gen().finally(() => {
2025
- D();
2025
+ A();
2026
2026
  });
2027
2027
  }
2028
2028
  function g() {
2029
2029
  xl.gen().finally(() => {
2030
- D();
2030
+ A();
2031
2031
  });
2032
2032
  }
2033
2033
  return (y, h) => {
2034
- const C = r("el-input"), A = r("el-radio-button"), L = r("el-radio-group"), T = r("el-space"), $ = r("el-divider"), se = r("el-page-header"), Re = r("el-card");
2034
+ const C = r("el-input"), D = r("el-radio-button"), L = r("el-radio-group"), T = r("el-space"), $ = r("el-divider"), se = r("el-page-header"), Re = r("el-card");
2035
2035
  return M(), q(Re, {
2036
2036
  class: "basic-card flex-full",
2037
2037
  "body-class": "flex-1"
@@ -2041,9 +2041,9 @@ const Ql = /* @__PURE__ */ O({
2041
2041
  }, {
2042
2042
  title: o(() => [l(e(K), {
2043
2043
  loading: e(i),
2044
- onRefresh: e(b)
2044
+ onRefresh: e(_)
2045
2045
  }, null, 8, ["loading", "onRefresh"]), l(e(P), {
2046
- onOpen: e(R)
2046
+ onOpen: e(w)
2047
2047
  }, null, 8, ["onOpen"])]),
2048
2048
  content: o(() => [l(T, {
2049
2049
  class: "search-bar"
@@ -2070,7 +2070,7 @@ const Ql = /* @__PURE__ */ O({
2070
2070
  disabled: e(i) || e(u),
2071
2071
  onChange: h[6] || (h[6] = (N) => e(f)())
2072
2072
  }, {
2073
- default: o(() => [(M(), B(G, null, ae([0, 1, 2], (N) => l(A, {
2073
+ default: o(() => [(M(), B(G, null, ae([0, 1, 2], (N) => l(D, {
2074
2074
  key: N,
2075
2075
  label: e(a)(`status.${N}`),
2076
2076
  value: N
@@ -2082,14 +2082,14 @@ const Ql = /* @__PURE__ */ O({
2082
2082
  }, null, 8, ["disabled"])]),
2083
2083
  _: 1
2084
2084
  })]),
2085
- extra: o(() => [l(e(X), {
2085
+ extra: o(() => [l(e(Z), {
2086
2086
  size: "default",
2087
2087
  type: "warning",
2088
2088
  icon: "icon-cloud-upload",
2089
2089
  plain: !1,
2090
2090
  loading: e(u),
2091
2091
  onClick: S
2092
- }, null, 8, ["loading"]), l(e(X), {
2092
+ }, null, 8, ["loading"]), l(e(Z), {
2093
2093
  size: "default",
2094
2094
  type: "danger",
2095
2095
  icon: "icon-translate",
@@ -2106,7 +2106,7 @@ const Ql = /* @__PURE__ */ O({
2106
2106
  })]),
2107
2107
  default: o(() => [l(e(be), {
2108
2108
  ref_key: "tableRef",
2109
- ref: n,
2109
+ ref: t,
2110
2110
  columns: m,
2111
2111
  url: e(ue).urls[e(ye)],
2112
2112
  "search-param": e(c),
@@ -2114,10 +2114,10 @@ const Ql = /* @__PURE__ */ O({
2114
2114
  }, null, 8, ["url", "search-param"]), l(e(U), {
2115
2115
  ref_key: "I18nTableDrawerRef",
2116
2116
  ref: s
2117
- }, null, 512), l(e(w), {
2117
+ }, null, 512), l(e(x), {
2118
2118
  ref_key: "formModalRef",
2119
2119
  ref: v,
2120
- onRefresh: e(D)
2120
+ onRefresh: e(A)
2121
2121
  }, null, 8, ["onRefresh"])]),
2122
2122
  _: 1
2123
2123
  });
@@ -2126,8 +2126,8 @@ const Ql = /* @__PURE__ */ O({
2126
2126
  }), Ue = Y.routineApi("admin", "key"), Ul = /* @__PURE__ */ O({
2127
2127
  __name: "AdminFormModal",
2128
2128
  emits: ["refresh"],
2129
- setup(x, { expose: U, emit: w }) {
2130
- const k = w, V = {
2129
+ setup(R, { expose: U, emit: x }) {
2130
+ const k = x, V = {
2131
2131
  key: "",
2132
2132
  username: "",
2133
2133
  password: "",
@@ -2136,7 +2136,7 @@ const Ql = /* @__PURE__ */ O({
2136
2136
  language: "zh-CN",
2137
2137
  remark: "",
2138
2138
  roles: []
2139
- }, { modal: _, title: m, form: i, formData: u, requesting: n, executing: v, open: s, modify: c, submit: f, closed: b } = ee(k, V, Ue), D = {
2139
+ }, { modal: b, title: m, form: i, formData: u, requesting: t, executing: v, open: s, modify: c, submit: f, closed: _ } = le(k, V, Ue), A = {
2140
2140
  username: [
2141
2141
  {
2142
2142
  required: !0,
@@ -2181,24 +2181,24 @@ const Ql = /* @__PURE__ */ O({
2181
2181
  trigger: "change"
2182
2182
  }
2183
2183
  ]
2184
- }, R = H([]), t = async () => {
2184
+ }, w = H([]), n = async () => {
2185
2185
  const d = await we.list();
2186
- R.value = Array.isArray(d?.data) ? d.data : [];
2186
+ w.value = Array.isArray(d?.data) ? d.data : [];
2187
2187
  };
2188
2188
  return Qe(async () => {
2189
- await t();
2189
+ await n();
2190
2190
  }), U({
2191
2191
  open: s,
2192
2192
  modify: c
2193
2193
  }), (d, p) => {
2194
- const S = r("el-input"), g = r("el-form-item"), y = r("el-radio-button"), h = r("el-radio-group"), C = r("el-checkbox"), A = r("el-checkbox-group"), L = r("el-form");
2194
+ const S = r("el-input"), g = r("el-form-item"), y = r("el-radio-button"), h = r("el-radio-group"), C = r("el-checkbox"), D = r("el-checkbox-group"), L = r("el-form");
2195
2195
  return M(), q(e(oe), {
2196
- modelValue: e(_),
2197
- "onUpdate:modelValue": p[7] || (p[7] = (T) => F(_) ? _.value = T : null),
2196
+ modelValue: e(b),
2197
+ "onUpdate:modelValue": p[7] || (p[7] = (T) => z(b) ? b.value = T : null),
2198
2198
  title: e(m)(),
2199
2199
  width: "600px",
2200
2200
  executing: e(v),
2201
- onClosed: e(b),
2201
+ onClosed: e(_),
2202
2202
  onSubmit: e(f)
2203
2203
  }, {
2204
2204
  default: o(() => [
@@ -2207,8 +2207,8 @@ const Ql = /* @__PURE__ */ O({
2207
2207
  ref: i,
2208
2208
  model: e(u),
2209
2209
  "label-width": "auto",
2210
- rules: D,
2211
- disabled: e(n) || e(v)
2210
+ rules: A,
2211
+ disabled: e(t) || e(v)
2212
2212
  }, {
2213
2213
  default: o(() => [
2214
2214
  l(g, {
@@ -2280,13 +2280,13 @@ const Ql = /* @__PURE__ */ O({
2280
2280
  default: o(() => [
2281
2281
  l(y, { value: "zh-CN" }, {
2282
2282
  default: o(() => [...p[8] || (p[8] = [
2283
- le("zh-CN", -1)
2283
+ Q("zh-CN", -1)
2284
2284
  ])]),
2285
2285
  _: 1
2286
2286
  }),
2287
2287
  l(y, { value: "en-US" }, {
2288
2288
  default: o(() => [...p[9] || (p[9] = [
2289
- le("en-US", -1)
2289
+ Q("en-US", -1)
2290
2290
  ])]),
2291
2291
  _: 1
2292
2292
  })
@@ -2301,17 +2301,17 @@ const Ql = /* @__PURE__ */ O({
2301
2301
  prop: "roles"
2302
2302
  }, {
2303
2303
  default: o(() => [
2304
- l(A, {
2304
+ l(D, {
2305
2305
  modelValue: e(u).roles,
2306
2306
  "onUpdate:modelValue": p[5] || (p[5] = (T) => e(u).roles = T)
2307
2307
  }, {
2308
2308
  default: o(() => [
2309
- (M(!0), B(G, null, ae(R.value, (T) => (M(), q(C, {
2309
+ (M(!0), B(G, null, ae(w.value, (T) => (M(), q(C, {
2310
2310
  key: T.key,
2311
2311
  value: T.key
2312
2312
  }, {
2313
2313
  default: o(() => [
2314
- le(I(T.translate), 1)
2314
+ Q(F(T.translate), 1)
2315
2315
  ]),
2316
2316
  _: 2
2317
2317
  }, 1032, ["value"]))), 128))
@@ -2344,10 +2344,10 @@ const Ql = /* @__PURE__ */ O({
2344
2344
  }
2345
2345
  }), Jl = /* @__PURE__ */ O({
2346
2346
  __name: "index",
2347
- setup(x) {
2347
+ setup(R) {
2348
2348
  const U = {
2349
2349
  keyword: ""
2350
- }, w = [{
2350
+ }, x = [{
2351
2351
  label: a("base.avatar"),
2352
2352
  prop: "avatar",
2353
2353
  width: 60,
@@ -2395,30 +2395,30 @@ const Ql = /* @__PURE__ */ O({
2395
2395
  align: "center",
2396
2396
  render: ({
2397
2397
  row: c
2398
- }) => l(ne, {
2398
+ }) => l(te, {
2399
2399
  onModify: () => s({
2400
2400
  key: c.key
2401
2401
  })
2402
2402
  }, null)
2403
2403
  }], {
2404
2404
  requesting: k
2405
- } = z(Ue), {
2405
+ } = I(Ue), {
2406
2406
  tableRef: V,
2407
- formModalRef: _,
2407
+ formModalRef: b,
2408
2408
  keyword: m,
2409
2409
  search: i,
2410
2410
  reset: u,
2411
- refresh: n,
2411
+ refresh: t,
2412
2412
  openFormModal: v,
2413
2413
  editFormModal: s
2414
- } = J(U);
2414
+ } = X(U);
2415
2415
  return (c, f) => {
2416
- const b = r("el-input"), D = r("el-space"), R = r("el-page-header"), t = r("el-card");
2417
- return M(), q(t, {
2416
+ const _ = r("el-input"), A = r("el-space"), w = r("el-page-header"), n = r("el-card");
2417
+ return M(), q(n, {
2418
2418
  class: "basic-card flex-full",
2419
2419
  "body-class": "flex-1"
2420
2420
  }, {
2421
- header: o(() => [l(R, {
2421
+ header: o(() => [l(w, {
2422
2422
  class: "basic-header"
2423
2423
  }, {
2424
2424
  title: o(() => [l(e(K), {
@@ -2427,10 +2427,10 @@ const Ql = /* @__PURE__ */ O({
2427
2427
  }, null, 8, ["loading", "onRefresh"]), l(e(P), {
2428
2428
  onOpen: e(v)
2429
2429
  }, null, 8, ["onOpen"])]),
2430
- content: o(() => [l(D, {
2430
+ content: o(() => [l(A, {
2431
2431
  class: "search-bar"
2432
2432
  }, {
2433
- default: o(() => [l(b, {
2433
+ default: o(() => [l(_, {
2434
2434
  class: "basic-search-input",
2435
2435
  modelValue: e(m).keyword,
2436
2436
  "onUpdate:modelValue": f[0] || (f[0] = (d) => e(m).keyword = d),
@@ -2450,14 +2450,14 @@ const Ql = /* @__PURE__ */ O({
2450
2450
  ref_key: "tableRef",
2451
2451
  ref: V,
2452
2452
  size: "small",
2453
- columns: w,
2453
+ columns: x,
2454
2454
  url: e(Ue).urls[e(ye)],
2455
2455
  "search-param": e(m),
2456
2456
  "auto-search": ""
2457
2457
  }, null, 8, ["url", "search-param"]), l(Ul, {
2458
2458
  ref_key: "formModalRef",
2459
- ref: _,
2460
- onRefresh: e(n)
2459
+ ref: b,
2460
+ onRefresh: e(t)
2461
2461
  }, null, 8, ["onRefresh"])]),
2462
2462
  _: 1
2463
2463
  });
@@ -2478,18 +2478,18 @@ const Ql = /* @__PURE__ */ O({
2478
2478
  }
2479
2479
  },
2480
2480
  emits: ["update:modelValue", "change"],
2481
- setup(x, {
2481
+ setup(R, {
2482
2482
  expose: U,
2483
- emit: w
2483
+ emit: x
2484
2484
  }) {
2485
- const k = w, V = x, {
2486
- requesting: _
2487
- } = z(ge), {
2485
+ const k = x, V = R, {
2486
+ requesting: b
2487
+ } = I(ge), {
2488
2488
  id: m,
2489
2489
  options: i,
2490
2490
  refresh: u,
2491
- change: n
2492
- } = re(te(V, "modelValue"), k, {
2491
+ change: t
2492
+ } = re(ne(V, "modelValue"), k, {
2493
2493
  key: "DOMAIN_LIST",
2494
2494
  api: ge,
2495
2495
  isArray: !0
@@ -2500,14 +2500,14 @@ const Ql = /* @__PURE__ */ O({
2500
2500
  const c = r("el-select-v2");
2501
2501
  return M(), q(c, {
2502
2502
  modelValue: e(m),
2503
- "onUpdate:modelValue": s[0] || (s[0] = (f) => F(m) ? m.value = f : null),
2503
+ "onUpdate:modelValue": s[0] || (s[0] = (f) => z(m) ? m.value = f : null),
2504
2504
  options: e(i),
2505
- disabled: x.disabled || e(_),
2505
+ disabled: R.disabled || e(b),
2506
2506
  placeholder: e(a)("base.select config.domain"),
2507
- onChange: e(n)
2507
+ onChange: e(t)
2508
2508
  }, {
2509
2509
  prefix: o(() => [l(e(fe), {
2510
- loading: e(_),
2510
+ loading: e(b),
2511
2511
  onRefresh: e(u)
2512
2512
  }, null, 8, ["loading", "onRefresh"])]),
2513
2513
  _: 1
@@ -2517,8 +2517,8 @@ const Ql = /* @__PURE__ */ O({
2517
2517
  }), Dl = /* @__PURE__ */ O({
2518
2518
  __name: "SiteFormModal",
2519
2519
  emits: ["refresh"],
2520
- setup(x, { expose: U, emit: w }) {
2521
- const k = w, V = {
2520
+ setup(R, { expose: U, emit: x }) {
2521
+ const k = x, V = {
2522
2522
  id: 0,
2523
2523
  domain_id: 0,
2524
2524
  prefix: "",
@@ -2528,33 +2528,33 @@ const Ql = /* @__PURE__ */ O({
2528
2528
  git: "",
2529
2529
  status: 1,
2530
2530
  remark: ""
2531
- }, _ = {
2531
+ }, b = {
2532
2532
  domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
2533
2533
  prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
2534
2534
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2535
2535
  en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
2536
- }, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, pe);
2536
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, pe);
2537
2537
  return U({
2538
2538
  open: c,
2539
2539
  modify: f
2540
- }), (R, t) => {
2540
+ }), (w, n) => {
2541
2541
  const d = r("el-form-item"), p = r("el-input"), S = r("el-form");
2542
2542
  return M(), q(e(oe), {
2543
2543
  modelValue: e(m),
2544
- "onUpdate:modelValue": t[7] || (t[7] = (g) => F(m) ? m.value = g : null),
2544
+ "onUpdate:modelValue": n[7] || (n[7] = (g) => z(m) ? m.value = g : null),
2545
2545
  title: e(i)("config.site"),
2546
2546
  width: "600px",
2547
2547
  executing: e(s),
2548
- onClosed: e(D),
2549
- onSubmit: e(b)
2548
+ onClosed: e(A),
2549
+ onSubmit: e(_)
2550
2550
  }, {
2551
2551
  default: o(() => [
2552
2552
  l(S, {
2553
2553
  ref_key: "form",
2554
2554
  ref: u,
2555
- model: e(n),
2555
+ model: e(t),
2556
2556
  "label-width": "auto",
2557
- rules: _,
2557
+ rules: b,
2558
2558
  disabled: e(v) || e(s)
2559
2559
  }, {
2560
2560
  default: o(() => [
@@ -2564,8 +2564,8 @@ const Ql = /* @__PURE__ */ O({
2564
2564
  }, {
2565
2565
  default: o(() => [
2566
2566
  l(Ie, {
2567
- modelValue: e(n).domain_id,
2568
- "onUpdate:modelValue": t[0] || (t[0] = (g) => e(n).domain_id = g),
2567
+ modelValue: e(t).domain_id,
2568
+ "onUpdate:modelValue": n[0] || (n[0] = (g) => e(t).domain_id = g),
2569
2569
  disabled: e(s)
2570
2570
  }, null, 8, ["modelValue", "disabled"])
2571
2571
  ]),
@@ -2577,8 +2577,8 @@ const Ql = /* @__PURE__ */ O({
2577
2577
  }, {
2578
2578
  default: o(() => [
2579
2579
  l(p, {
2580
- modelValue: e(n).prefix,
2581
- "onUpdate:modelValue": t[1] || (t[1] = (g) => e(n).prefix = g),
2580
+ modelValue: e(t).prefix,
2581
+ "onUpdate:modelValue": n[1] || (n[1] = (g) => e(t).prefix = g),
2582
2582
  disabled: e(s),
2583
2583
  placeholder: e(a)("placeholder.input")
2584
2584
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2591,8 +2591,8 @@ const Ql = /* @__PURE__ */ O({
2591
2591
  }, {
2592
2592
  default: o(() => [
2593
2593
  l(p, {
2594
- modelValue: e(n).name,
2595
- "onUpdate:modelValue": t[2] || (t[2] = (g) => e(n).name = g),
2594
+ modelValue: e(t).name,
2595
+ "onUpdate:modelValue": n[2] || (n[2] = (g) => e(t).name = g),
2596
2596
  disabled: e(s),
2597
2597
  placeholder: e(a)("placeholder.input")
2598
2598
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2605,8 +2605,8 @@ const Ql = /* @__PURE__ */ O({
2605
2605
  }, {
2606
2606
  default: o(() => [
2607
2607
  l(p, {
2608
- modelValue: e(n).en_name,
2609
- "onUpdate:modelValue": t[3] || (t[3] = (g) => e(n).en_name = g),
2608
+ modelValue: e(t).en_name,
2609
+ "onUpdate:modelValue": n[3] || (n[3] = (g) => e(t).en_name = g),
2610
2610
  disabled: e(s),
2611
2611
  placeholder: e(a)("placeholder.input")
2612
2612
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2619,8 +2619,8 @@ const Ql = /* @__PURE__ */ O({
2619
2619
  }, {
2620
2620
  default: o(() => [
2621
2621
  l(p, {
2622
- modelValue: e(n).dns,
2623
- "onUpdate:modelValue": t[4] || (t[4] = (g) => e(n).dns = g),
2622
+ modelValue: e(t).dns,
2623
+ "onUpdate:modelValue": n[4] || (n[4] = (g) => e(t).dns = g),
2624
2624
  disabled: e(s),
2625
2625
  placeholder: e(a)("placeholder.input")
2626
2626
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2633,8 +2633,8 @@ const Ql = /* @__PURE__ */ O({
2633
2633
  }, {
2634
2634
  default: o(() => [
2635
2635
  l(p, {
2636
- modelValue: e(n).git,
2637
- "onUpdate:modelValue": t[5] || (t[5] = (g) => e(n).git = g),
2636
+ modelValue: e(t).git,
2637
+ "onUpdate:modelValue": n[5] || (n[5] = (g) => e(t).git = g),
2638
2638
  disabled: e(s),
2639
2639
  placeholder: e(a)("placeholder.input")
2640
2640
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2647,8 +2647,8 @@ const Ql = /* @__PURE__ */ O({
2647
2647
  }, {
2648
2648
  default: o(() => [
2649
2649
  l(p, {
2650
- modelValue: e(n).remark,
2651
- "onUpdate:modelValue": t[6] || (t[6] = (g) => e(n).remark = g),
2650
+ modelValue: e(t).remark,
2651
+ "onUpdate:modelValue": n[6] || (n[6] = (g) => e(t).remark = g),
2652
2652
  disabled: e(s),
2653
2653
  placeholder: e(a)("placeholder.input")
2654
2654
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2676,18 +2676,18 @@ const Ql = /* @__PURE__ */ O({
2676
2676
  }
2677
2677
  },
2678
2678
  emits: ["update:modelValue", "change"],
2679
- setup(x, {
2679
+ setup(R, {
2680
2680
  expose: U,
2681
- emit: w
2681
+ emit: x
2682
2682
  }) {
2683
- const k = w, V = x, {
2684
- requesting: _
2685
- } = z(he), {
2683
+ const k = x, V = R, {
2684
+ requesting: b
2685
+ } = I(he), {
2686
2686
  id: m,
2687
2687
  options: i,
2688
2688
  refresh: u,
2689
- change: n
2690
- } = re(te(V, "modelValue"), k, {
2689
+ change: t
2690
+ } = re(ne(V, "modelValue"), k, {
2691
2691
  key: "DOMAIN_PROVIDER_LIST",
2692
2692
  api: he,
2693
2693
  isArray: !0
@@ -2698,14 +2698,14 @@ const Ql = /* @__PURE__ */ O({
2698
2698
  const c = r("el-select-v2");
2699
2699
  return M(), q(c, {
2700
2700
  modelValue: e(m),
2701
- "onUpdate:modelValue": s[0] || (s[0] = (f) => F(m) ? m.value = f : null),
2701
+ "onUpdate:modelValue": s[0] || (s[0] = (f) => z(m) ? m.value = f : null),
2702
2702
  options: e(i),
2703
- disabled: x.disabled || e(_),
2703
+ disabled: R.disabled || e(b),
2704
2704
  placeholder: e(a)("base.select config.domain config.provider"),
2705
- onChange: e(n)
2705
+ onChange: e(t)
2706
2706
  }, {
2707
2707
  prefix: o(() => [l(e(fe), {
2708
- loading: e(_),
2708
+ loading: e(b),
2709
2709
  onRefresh: e(u)
2710
2710
  }, null, 8, ["loading", "onRefresh"])]),
2711
2711
  _: 1
@@ -2715,39 +2715,39 @@ const Ql = /* @__PURE__ */ O({
2715
2715
  }), Ml = /* @__PURE__ */ O({
2716
2716
  __name: "DomainFormModal",
2717
2717
  emits: ["refresh"],
2718
- setup(x, { expose: U, emit: w }) {
2719
- const k = w, V = {
2718
+ setup(R, { expose: U, emit: x }) {
2719
+ const k = x, V = {
2720
2720
  id: 0,
2721
2721
  provider_id: 0,
2722
2722
  name: "",
2723
2723
  expired_at: "",
2724
2724
  status: 1,
2725
2725
  remark: ""
2726
- }, _ = {
2726
+ }, b = {
2727
2727
  provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
2728
2728
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
2729
- }, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, ge);
2729
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, ge);
2730
2730
  return U({
2731
2731
  open: c,
2732
2732
  modify: f
2733
- }), (R, t) => {
2733
+ }), (w, n) => {
2734
2734
  const d = r("el-form-item"), p = r("el-input"), S = r("el-date-picker"), g = r("el-form");
2735
2735
  return M(), q(e(oe), {
2736
2736
  modelValue: e(m),
2737
- "onUpdate:modelValue": t[4] || (t[4] = (y) => F(m) ? m.value = y : null),
2737
+ "onUpdate:modelValue": n[4] || (n[4] = (y) => z(m) ? m.value = y : null),
2738
2738
  title: e(i)("config.domain"),
2739
2739
  width: "600px",
2740
2740
  executing: e(s),
2741
- onClosed: e(D),
2742
- onSubmit: e(b)
2741
+ onClosed: e(A),
2742
+ onSubmit: e(_)
2743
2743
  }, {
2744
2744
  default: o(() => [
2745
2745
  l(g, {
2746
2746
  ref_key: "form",
2747
2747
  ref: u,
2748
- model: e(n),
2748
+ model: e(t),
2749
2749
  "label-width": "auto",
2750
- rules: _,
2750
+ rules: b,
2751
2751
  disabled: e(v) || e(s)
2752
2752
  }, {
2753
2753
  default: o(() => [
@@ -2757,8 +2757,8 @@ const Ql = /* @__PURE__ */ O({
2757
2757
  }, {
2758
2758
  default: o(() => [
2759
2759
  l(Sl, {
2760
- modelValue: e(n).provider_id,
2761
- "onUpdate:modelValue": t[0] || (t[0] = (y) => e(n).provider_id = y),
2760
+ modelValue: e(t).provider_id,
2761
+ "onUpdate:modelValue": n[0] || (n[0] = (y) => e(t).provider_id = y),
2762
2762
  disabled: e(s)
2763
2763
  }, null, 8, ["modelValue", "disabled"])
2764
2764
  ]),
@@ -2770,8 +2770,8 @@ const Ql = /* @__PURE__ */ O({
2770
2770
  }, {
2771
2771
  default: o(() => [
2772
2772
  l(p, {
2773
- modelValue: e(n).name,
2774
- "onUpdate:modelValue": t[1] || (t[1] = (y) => e(n).name = y),
2773
+ modelValue: e(t).name,
2774
+ "onUpdate:modelValue": n[1] || (n[1] = (y) => e(t).name = y),
2775
2775
  disabled: e(s),
2776
2776
  placeholder: e(a)("placeholder.input")
2777
2777
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2787,8 +2787,8 @@ const Ql = /* @__PURE__ */ O({
2787
2787
  l(S, {
2788
2788
  type: "date",
2789
2789
  style: { width: "100%" },
2790
- modelValue: e(n).expired_at,
2791
- "onUpdate:modelValue": t[2] || (t[2] = (y) => e(n).expired_at = y),
2790
+ modelValue: e(t).expired_at,
2791
+ "onUpdate:modelValue": n[2] || (n[2] = (y) => e(t).expired_at = y),
2792
2792
  disabled: e(s),
2793
2793
  "value-format": e(E).DATE_VALUE_FORMAT,
2794
2794
  format: e(E).DATE_FORMAT,
@@ -2803,8 +2803,8 @@ const Ql = /* @__PURE__ */ O({
2803
2803
  }, {
2804
2804
  default: o(() => [
2805
2805
  l(p, {
2806
- modelValue: e(n).remark,
2807
- "onUpdate:modelValue": t[3] || (t[3] = (y) => e(n).remark = y),
2806
+ modelValue: e(t).remark,
2807
+ "onUpdate:modelValue": n[3] || (n[3] = (y) => e(t).remark = y),
2808
2808
  disabled: e(s),
2809
2809
  placeholder: e(a)("placeholder.input")
2810
2810
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2822,8 +2822,8 @@ const Ql = /* @__PURE__ */ O({
2822
2822
  }), Cl = /* @__PURE__ */ O({
2823
2823
  __name: "DomainProviderFormModal",
2824
2824
  emits: ["refresh"],
2825
- setup(x, { expose: U, emit: w }) {
2826
- const k = w, V = {
2825
+ setup(R, { expose: U, emit: x }) {
2826
+ const k = x, V = {
2827
2827
  id: 0,
2828
2828
  name: "",
2829
2829
  en_name: "",
@@ -2832,34 +2832,34 @@ const Ql = /* @__PURE__ */ O({
2832
2832
  end_point: "",
2833
2833
  status: 1,
2834
2834
  remark: ""
2835
- }, _ = {
2835
+ }, b = {
2836
2836
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2837
2837
  en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
2838
2838
  key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
2839
2839
  secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
2840
2840
  end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
2841
- }, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, he);
2841
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, he);
2842
2842
  return U({
2843
2843
  open: c,
2844
2844
  modify: f
2845
- }), (R, t) => {
2845
+ }), (w, n) => {
2846
2846
  const d = r("el-input"), p = r("el-form-item"), S = r("el-form");
2847
2847
  return M(), q(e(oe), {
2848
2848
  modelValue: e(m),
2849
- "onUpdate:modelValue": t[6] || (t[6] = (g) => F(m) ? m.value = g : null),
2849
+ "onUpdate:modelValue": n[6] || (n[6] = (g) => z(m) ? m.value = g : null),
2850
2850
  title: e(i)("config.domain"),
2851
2851
  width: "600px",
2852
2852
  executing: e(s),
2853
- onClosed: e(D),
2854
- onSubmit: e(b)
2853
+ onClosed: e(A),
2854
+ onSubmit: e(_)
2855
2855
  }, {
2856
2856
  default: o(() => [
2857
2857
  l(S, {
2858
2858
  ref_key: "form",
2859
2859
  ref: u,
2860
- model: e(n),
2860
+ model: e(t),
2861
2861
  "label-width": "auto",
2862
- rules: _,
2862
+ rules: b,
2863
2863
  disabled: e(v) || e(s)
2864
2864
  }, {
2865
2865
  default: o(() => [
@@ -2869,8 +2869,8 @@ const Ql = /* @__PURE__ */ O({
2869
2869
  }, {
2870
2870
  default: o(() => [
2871
2871
  l(d, {
2872
- modelValue: e(n).name,
2873
- "onUpdate:modelValue": t[0] || (t[0] = (g) => e(n).name = g),
2872
+ modelValue: e(t).name,
2873
+ "onUpdate:modelValue": n[0] || (n[0] = (g) => e(t).name = g),
2874
2874
  disabled: e(s),
2875
2875
  placeholder: e(a)("placeholder.input")
2876
2876
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2883,8 +2883,8 @@ const Ql = /* @__PURE__ */ O({
2883
2883
  }, {
2884
2884
  default: o(() => [
2885
2885
  l(d, {
2886
- modelValue: e(n).en_name,
2887
- "onUpdate:modelValue": t[1] || (t[1] = (g) => e(n).en_name = g),
2886
+ modelValue: e(t).en_name,
2887
+ "onUpdate:modelValue": n[1] || (n[1] = (g) => e(t).en_name = g),
2888
2888
  disabled: e(s),
2889
2889
  placeholder: e(a)("placeholder.input")
2890
2890
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2897,8 +2897,8 @@ const Ql = /* @__PURE__ */ O({
2897
2897
  }, {
2898
2898
  default: o(() => [
2899
2899
  l(d, {
2900
- modelValue: e(n).key,
2901
- "onUpdate:modelValue": t[2] || (t[2] = (g) => e(n).key = g),
2900
+ modelValue: e(t).key,
2901
+ "onUpdate:modelValue": n[2] || (n[2] = (g) => e(t).key = g),
2902
2902
  disabled: e(s),
2903
2903
  placeholder: e(a)("placeholder.input")
2904
2904
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2911,8 +2911,8 @@ const Ql = /* @__PURE__ */ O({
2911
2911
  }, {
2912
2912
  default: o(() => [
2913
2913
  l(d, {
2914
- modelValue: e(n).secret,
2915
- "onUpdate:modelValue": t[3] || (t[3] = (g) => e(n).secret = g),
2914
+ modelValue: e(t).secret,
2915
+ "onUpdate:modelValue": n[3] || (n[3] = (g) => e(t).secret = g),
2916
2916
  disabled: e(s),
2917
2917
  placeholder: e(a)("placeholder.input")
2918
2918
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2925,8 +2925,8 @@ const Ql = /* @__PURE__ */ O({
2925
2925
  }, {
2926
2926
  default: o(() => [
2927
2927
  l(d, {
2928
- modelValue: e(n).end_point,
2929
- "onUpdate:modelValue": t[4] || (t[4] = (g) => e(n).end_point = g),
2928
+ modelValue: e(t).end_point,
2929
+ "onUpdate:modelValue": n[4] || (n[4] = (g) => e(t).end_point = g),
2930
2930
  disabled: e(s),
2931
2931
  placeholder: e(a)("placeholder.input")
2932
2932
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2939,8 +2939,8 @@ const Ql = /* @__PURE__ */ O({
2939
2939
  }, {
2940
2940
  default: o(() => [
2941
2941
  l(d, {
2942
- modelValue: e(n).remark,
2943
- "onUpdate:modelValue": t[5] || (t[5] = (g) => e(n).remark = g),
2942
+ modelValue: e(t).remark,
2943
+ "onUpdate:modelValue": n[5] || (n[5] = (g) => e(t).remark = g),
2944
2944
  disabled: e(s),
2945
2945
  placeholder: e(a)("placeholder.input")
2946
2946
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2957,18 +2957,18 @@ const Ql = /* @__PURE__ */ O({
2957
2957
  }
2958
2958
  }), Ll = /* @__PURE__ */ O({
2959
2959
  __name: "DomainProviderTableDrawer",
2960
- setup(x, {
2960
+ setup(R, {
2961
2961
  expose: U
2962
2962
  }) {
2963
2963
  const {
2964
- requesting: w
2965
- } = z(he), k = H(!1), {
2964
+ requesting: x
2965
+ } = I(he), k = H(!1), {
2966
2966
  tableRef: V,
2967
- formModalRef: _,
2967
+ formModalRef: b,
2968
2968
  refresh: m,
2969
2969
  openFormModal: i,
2970
2970
  editFormModal: u
2971
- } = J({}), n = [{
2971
+ } = X({}), t = [{
2972
2972
  prop: "name",
2973
2973
  label: a("base.name"),
2974
2974
  width: 0,
@@ -2985,7 +2985,7 @@ const Ql = /* @__PURE__ */ O({
2985
2985
  render: ({
2986
2986
  rowData: s
2987
2987
  }) => l(r("el-space"), null, {
2988
- default: () => [l(ne, {
2988
+ default: () => [l(te, {
2989
2989
  icon: "icon-edit",
2990
2990
  t: "",
2991
2991
  onModify: () => u({
@@ -3002,7 +3002,7 @@ const Ql = /* @__PURE__ */ O({
3002
3002
  const f = r("el-page-header");
3003
3003
  return M(), q(e(_e), {
3004
3004
  modelValue: k.value,
3005
- "onUpdate:modelValue": c[0] || (c[0] = (b) => k.value = b),
3005
+ "onUpdate:modelValue": c[0] || (c[0] = (_) => k.value = _),
3006
3006
  width: "400px",
3007
3007
  "show-close": !1,
3008
3008
  class: "basic-drawer"
@@ -3010,11 +3010,11 @@ const Ql = /* @__PURE__ */ O({
3010
3010
  title: o(() => [l(f, {
3011
3011
  icon: ""
3012
3012
  }, {
3013
- title: o(() => [j("span", null, I(e(a)("config.domain config.provider")), 1)]),
3013
+ title: o(() => [j("span", null, F(e(a)("config.domain config.provider")), 1)]),
3014
3014
  content: o(() => [l(e(K), {
3015
3015
  onRefresh: e(m),
3016
3016
  size: "default",
3017
- loading: e(w)
3017
+ loading: e(x)
3018
3018
  }, null, 8, ["onRefresh", "loading"])]),
3019
3019
  extra: o(() => [l(e(P), {
3020
3020
  onOpen: e(i)
@@ -3027,11 +3027,11 @@ const Ql = /* @__PURE__ */ O({
3027
3027
  size: "small",
3028
3028
  "row-key": "id",
3029
3029
  url: e(he).urls.list,
3030
- columns: n,
3031
- loading: e(w)
3030
+ columns: t,
3031
+ loading: e(x)
3032
3032
  }, null, 8, ["url", "loading"]), l(Cl, {
3033
3033
  ref_key: "formModalRef",
3034
- ref: _,
3034
+ ref: b,
3035
3035
  onRefresh: e(m)
3036
3036
  }, null, 8, ["onRefresh"])]),
3037
3037
  _: 1
@@ -3053,18 +3053,18 @@ const Ql = /* @__PURE__ */ O({
3053
3053
  }
3054
3054
  },
3055
3055
  emits: ["update:modelValue", "change"],
3056
- setup(x, {
3056
+ setup(R, {
3057
3057
  expose: U,
3058
- emit: w
3058
+ emit: x
3059
3059
  }) {
3060
- const k = w, V = x, {
3061
- requesting: _
3062
- } = z(pe), {
3060
+ const k = x, V = R, {
3061
+ requesting: b
3062
+ } = I(pe), {
3063
3063
  key: m,
3064
3064
  options: i,
3065
3065
  refresh: u,
3066
- change: n
3067
- } = re(te(V, "modelValue"), k, {
3066
+ change: t
3067
+ } = re(ne(V, "modelValue"), k, {
3068
3068
  key: "SITE_LIST",
3069
3069
  api: pe,
3070
3070
  isArray: !0
@@ -3081,14 +3081,14 @@ const Ql = /* @__PURE__ */ O({
3081
3081
  const c = r("el-select-v2");
3082
3082
  return M(), q(c, {
3083
3083
  modelValue: e(m),
3084
- "onUpdate:modelValue": s[0] || (s[0] = (f) => F(m) ? m.value = f : null),
3084
+ "onUpdate:modelValue": s[0] || (s[0] = (f) => z(m) ? m.value = f : null),
3085
3085
  options: e(i),
3086
- disabled: x.disabled || e(_),
3086
+ disabled: R.disabled || e(b),
3087
3087
  placeholder: e(a)("base.select config.domain"),
3088
- onChange: e(n)
3088
+ onChange: e(t)
3089
3089
  }, {
3090
3090
  prefix: o(() => [l(e(fe), {
3091
- loading: e(_),
3091
+ loading: e(b),
3092
3092
  onRefresh: e(u)
3093
3093
  }, null, 8, ["loading", "onRefresh"])]),
3094
3094
  _: 1
@@ -3098,8 +3098,8 @@ const Ql = /* @__PURE__ */ O({
3098
3098
  }), Ne = /* @__PURE__ */ O({
3099
3099
  __name: "SSLFormModal",
3100
3100
  emits: ["refresh"],
3101
- setup(x, { expose: U, emit: w }) {
3102
- const k = w, V = {
3101
+ setup(R, { expose: U, emit: x }) {
3102
+ const k = x, V = {
3103
3103
  id: 0,
3104
3104
  domain_id: void 0,
3105
3105
  client: "Lego",
@@ -3109,36 +3109,36 @@ const Ql = /* @__PURE__ */ O({
3109
3109
  email: "",
3110
3110
  encryption: "RSA2048",
3111
3111
  remark: ""
3112
- }, _ = {
3112
+ }, b = {
3113
3113
  domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
3114
3114
  client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
3115
3115
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
3116
3116
  path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
3117
3117
  email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
3118
3118
  encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
3119
- }, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, me);
3119
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, me);
3120
3120
  return U({
3121
3121
  open: c,
3122
3122
  modify: f,
3123
- formData: n
3124
- }), (R, t) => {
3123
+ formData: t
3124
+ }), (w, n) => {
3125
3125
  const d = r("el-form-item"), p = r("el-radio-button"), S = r("el-radio-group"), g = r("el-input"), y = r("el-form");
3126
3126
  return M(), q(e(oe), {
3127
3127
  modelValue: e(m),
3128
- "onUpdate:modelValue": t[8] || (t[8] = (h) => F(m) ? m.value = h : null),
3128
+ "onUpdate:modelValue": n[8] || (n[8] = (h) => z(m) ? m.value = h : null),
3129
3129
  title: e(i)("ssl.ssl"),
3130
3130
  width: "600px",
3131
3131
  executing: e(s),
3132
- onClosed: e(D),
3133
- onSubmit: e(b)
3132
+ onClosed: e(A),
3133
+ onSubmit: e(_)
3134
3134
  }, {
3135
3135
  default: o(() => [
3136
3136
  l(y, {
3137
3137
  ref_key: "form",
3138
3138
  ref: u,
3139
- model: e(n),
3139
+ model: e(t),
3140
3140
  "label-width": "auto",
3141
- rules: _,
3141
+ rules: b,
3142
3142
  disabled: e(v) || e(s)
3143
3143
  }, {
3144
3144
  default: o(() => [
@@ -3148,8 +3148,8 @@ const Ql = /* @__PURE__ */ O({
3148
3148
  }, {
3149
3149
  default: o(() => [
3150
3150
  l(Ie, {
3151
- modelValue: e(n).domain_id,
3152
- "onUpdate:modelValue": t[0] || (t[0] = (h) => e(n).domain_id = h),
3151
+ modelValue: e(t).domain_id,
3152
+ "onUpdate:modelValue": n[0] || (n[0] = (h) => e(t).domain_id = h),
3153
3153
  disabled: e(s)
3154
3154
  }, null, 8, ["modelValue", "disabled"])
3155
3155
  ]),
@@ -3161,8 +3161,8 @@ const Ql = /* @__PURE__ */ O({
3161
3161
  }, {
3162
3162
  default: o(() => [
3163
3163
  l(S, {
3164
- modelValue: e(n).client,
3165
- "onUpdate:modelValue": t[1] || (t[1] = (h) => e(n).client = h)
3164
+ modelValue: e(t).client,
3165
+ "onUpdate:modelValue": n[1] || (n[1] = (h) => e(t).client = h)
3166
3166
  }, {
3167
3167
  default: o(() => [
3168
3168
  l(p, {
@@ -3181,8 +3181,8 @@ const Ql = /* @__PURE__ */ O({
3181
3181
  }, {
3182
3182
  default: o(() => [
3183
3183
  l(ql, {
3184
- modelValue: e(n).site_id,
3185
- "onUpdate:modelValue": t[2] || (t[2] = (h) => e(n).site_id = h),
3184
+ modelValue: e(t).site_id,
3185
+ "onUpdate:modelValue": n[2] || (n[2] = (h) => e(t).site_id = h),
3186
3186
  disabled: e(s)
3187
3187
  }, null, 8, ["modelValue", "disabled"])
3188
3188
  ]),
@@ -3194,8 +3194,8 @@ const Ql = /* @__PURE__ */ O({
3194
3194
  }, {
3195
3195
  default: o(() => [
3196
3196
  l(g, {
3197
- modelValue: e(n).name,
3198
- "onUpdate:modelValue": t[3] || (t[3] = (h) => e(n).name = h),
3197
+ modelValue: e(t).name,
3198
+ "onUpdate:modelValue": n[3] || (n[3] = (h) => e(t).name = h),
3199
3199
  disabled: e(s),
3200
3200
  placeholder: e(a)("placeholder.input")
3201
3201
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3208,8 +3208,8 @@ const Ql = /* @__PURE__ */ O({
3208
3208
  }, {
3209
3209
  default: o(() => [
3210
3210
  l(g, {
3211
- modelValue: e(n).path,
3212
- "onUpdate:modelValue": t[4] || (t[4] = (h) => e(n).path = h),
3211
+ modelValue: e(t).path,
3212
+ "onUpdate:modelValue": n[4] || (n[4] = (h) => e(t).path = h),
3213
3213
  disabled: e(s),
3214
3214
  placeholder: e(a)("placeholder.input")
3215
3215
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3222,8 +3222,8 @@ const Ql = /* @__PURE__ */ O({
3222
3222
  }, {
3223
3223
  default: o(() => [
3224
3224
  l(g, {
3225
- modelValue: e(n).email,
3226
- "onUpdate:modelValue": t[5] || (t[5] = (h) => e(n).email = h),
3225
+ modelValue: e(t).email,
3226
+ "onUpdate:modelValue": n[5] || (n[5] = (h) => e(t).email = h),
3227
3227
  disabled: e(s),
3228
3228
  placeholder: e(a)("placeholder.input")
3229
3229
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3236,8 +3236,8 @@ const Ql = /* @__PURE__ */ O({
3236
3236
  }, {
3237
3237
  default: o(() => [
3238
3238
  l(S, {
3239
- modelValue: e(n).encryption,
3240
- "onUpdate:modelValue": t[6] || (t[6] = (h) => e(n).encryption = h)
3239
+ modelValue: e(t).encryption,
3240
+ "onUpdate:modelValue": n[6] || (n[6] = (h) => e(t).encryption = h)
3241
3241
  }, {
3242
3242
  default: o(() => [
3243
3243
  l(p, {
@@ -3256,8 +3256,8 @@ const Ql = /* @__PURE__ */ O({
3256
3256
  }, {
3257
3257
  default: o(() => [
3258
3258
  l(g, {
3259
- modelValue: e(n).remark,
3260
- "onUpdate:modelValue": t[7] || (t[7] = (h) => e(n).remark = h),
3259
+ modelValue: e(t).remark,
3260
+ "onUpdate:modelValue": n[7] || (n[7] = (h) => e(t).remark = h),
3261
3261
  disabled: e(s),
3262
3262
  placeholder: e(a)("placeholder.input")
3263
3263
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3274,35 +3274,35 @@ const Ql = /* @__PURE__ */ O({
3274
3274
  }
3275
3275
  }), Ol = /* @__PURE__ */ O({
3276
3276
  __name: "DomainTableDrawer",
3277
- setup(x, {
3277
+ setup(R, {
3278
3278
  expose: U
3279
3279
  }) {
3280
3280
  const {
3281
- requesting: w
3282
- } = z(ge), {
3281
+ requesting: x
3282
+ } = I(ge), {
3283
3283
  visible: k,
3284
3284
  open: V
3285
3285
  } = xe(), {
3286
- tableRef: _,
3286
+ tableRef: b,
3287
3287
  formModalRef: m,
3288
3288
  refresh: i,
3289
3289
  openFormModal: u,
3290
- editFormModal: n
3291
- } = J(), {
3290
+ editFormModal: t
3291
+ } = X(), {
3292
3292
  formRef: v,
3293
3293
  open: s,
3294
3294
  edit: c
3295
3295
  } = Te(), {
3296
3296
  dialogRef: f,
3297
- open: b
3298
- } = ve(), D = [{
3297
+ open: _
3298
+ } = ve(), A = [{
3299
3299
  prop: "provider",
3300
3300
  label: a("config.provider"),
3301
3301
  width: 120,
3302
3302
  cellRenderer: ({
3303
- rowData: R
3303
+ rowData: w
3304
3304
  }) => l(r("el-text"), null, {
3305
- default: () => [R.provider?.name]
3305
+ default: () => [w.provider?.name]
3306
3306
  })
3307
3307
  }, {
3308
3308
  prop: "name",
@@ -3319,13 +3319,13 @@ const Ql = /* @__PURE__ */ O({
3319
3319
  width: 100,
3320
3320
  align: "center",
3321
3321
  render: ({
3322
- rowData: R
3322
+ rowData: w
3323
3323
  }) => l(r("el-space"), null, {
3324
- default: () => [l(ne, {
3324
+ default: () => [l(te, {
3325
3325
  icon: "icon-edit",
3326
3326
  t: "",
3327
- onModify: () => n({
3328
- id: R.id
3327
+ onModify: () => t({
3328
+ id: w.id
3329
3329
  })
3330
3330
  }, null), l(P, {
3331
3331
  icon: "icon-safetycertificate-f",
@@ -3333,20 +3333,20 @@ const Ql = /* @__PURE__ */ O({
3333
3333
  size: "small",
3334
3334
  link: !0,
3335
3335
  onOpen: () => {
3336
- R.ssl && R.ssl.id ? c({
3337
- id: R.ssl?.id
3338
- }) : (v.value.formData.domain_id = R.id, v.value.formData.site_id = 0, s());
3336
+ w.ssl && w.ssl.id ? c({
3337
+ id: w.ssl?.id
3338
+ }) : (v.value.formData.domain_id = w.id, v.value.formData.site_id = 0, s());
3339
3339
  }
3340
3340
  }, null)]
3341
3341
  })
3342
3342
  }];
3343
3343
  return U({
3344
3344
  open: V
3345
- }), (R, t) => {
3345
+ }), (w, n) => {
3346
3346
  const d = r("el-space"), p = r("el-page-header");
3347
3347
  return M(), q(e(_e), {
3348
3348
  modelValue: e(k),
3349
- "onUpdate:modelValue": t[0] || (t[0] = (S) => F(k) ? k.value = S : null),
3349
+ "onUpdate:modelValue": n[0] || (n[0] = (S) => z(k) ? k.value = S : null),
3350
3350
  width: "600px",
3351
3351
  "show-close": !1,
3352
3352
  class: "basic-drawer"
@@ -3354,11 +3354,11 @@ const Ql = /* @__PURE__ */ O({
3354
3354
  title: o(() => [l(p, {
3355
3355
  icon: ""
3356
3356
  }, {
3357
- title: o(() => [j("span", null, I(e(a)("config.domain")), 1)]),
3357
+ title: o(() => [j("span", null, F(e(a)("config.domain")), 1)]),
3358
3358
  content: o(() => [l(e(K), {
3359
3359
  onRefresh: e(i),
3360
3360
  size: "default",
3361
- loading: e(w)
3361
+ loading: e(x)
3362
3362
  }, null, 8, ["onRefresh", "loading"]), l(e(P), {
3363
3363
  onOpen: e(u)
3364
3364
  }, null, 8, ["onOpen"])]),
@@ -3367,7 +3367,7 @@ const Ql = /* @__PURE__ */ O({
3367
3367
  alignment: "center"
3368
3368
  }, {
3369
3369
  default: o(() => [l(e(P), {
3370
- onOpen: e(b),
3370
+ onOpen: e(_),
3371
3371
  type: "danger"
3372
3372
  }, null, 8, ["onOpen"])]),
3373
3373
  _: 1
@@ -3376,12 +3376,12 @@ const Ql = /* @__PURE__ */ O({
3376
3376
  })]),
3377
3377
  default: o(() => [l(e(ie), {
3378
3378
  ref_key: "tableRef",
3379
- ref: _,
3379
+ ref: b,
3380
3380
  size: "small",
3381
3381
  "row-key": "id",
3382
3382
  url: e(ge).urls.list,
3383
- columns: D,
3384
- loading: e(w)
3383
+ columns: A,
3384
+ loading: e(x)
3385
3385
  }, null, 8, ["url", "loading"]), l(Ml, {
3386
3386
  ref_key: "formModalRef",
3387
3387
  ref: m,
@@ -3400,22 +3400,22 @@ const Ql = /* @__PURE__ */ O({
3400
3400
  }
3401
3401
  }), $l = /* @__PURE__ */ O({
3402
3402
  __name: "SSLTableDrawer",
3403
- setup(x, {
3403
+ setup(R, {
3404
3404
  expose: U
3405
3405
  }) {
3406
3406
  const {
3407
- requesting: w,
3407
+ requesting: x,
3408
3408
  executing: k
3409
- } = z(me), V = H(0), {
3410
- visible: _,
3409
+ } = I(me), V = H(0), {
3410
+ visible: b,
3411
3411
  open: m
3412
3412
  } = xe(), {
3413
3413
  tableRef: i,
3414
3414
  formModalRef: u,
3415
- refresh: n,
3415
+ refresh: t,
3416
3416
  openFormModal: v,
3417
3417
  editFormModal: s
3418
- } = J(), c = [
3418
+ } = X(), c = [
3419
3419
  {
3420
3420
  prop: "client",
3421
3421
  label: a("ssl.client"),
@@ -3454,68 +3454,68 @@ const Ql = /* @__PURE__ */ O({
3454
3454
  width: 160,
3455
3455
  align: "center",
3456
3456
  render: ({
3457
- rowData: D
3457
+ rowData: A
3458
3458
  }) => l(r("el-space"), null, {
3459
- default: () => [l(ne, {
3459
+ default: () => [l(te, {
3460
3460
  size: "default",
3461
3461
  icon: "icon-edit",
3462
3462
  t: "",
3463
3463
  disabled: k.value,
3464
3464
  onModify: () => s({
3465
- id: D.id
3465
+ id: A.id
3466
3466
  })
3467
- }, null), l(X, {
3467
+ }, null), l(Z, {
3468
3468
  size: "default",
3469
3469
  icon: "icon-key",
3470
3470
  t: "",
3471
3471
  text: !0,
3472
- disabled: k.value && V.value !== D.id,
3473
- loading: V.value == D.id,
3474
- onClick: () => f(D.id)
3475
- }, null), l(X, {
3472
+ disabled: k.value && V.value !== A.id,
3473
+ loading: V.value == A.id,
3474
+ onClick: () => f(A.id)
3475
+ }, null), l(Z, {
3476
3476
  size: "default",
3477
3477
  icon: "icon-cloud-download",
3478
3478
  t: "",
3479
3479
  text: !0,
3480
- disabled: k.value && V.value !== D.id,
3481
- loading: V.value == D.id,
3482
- onClick: () => b(D)
3480
+ disabled: k.value && V.value !== A.id,
3481
+ loading: V.value == A.id,
3482
+ onClick: () => _(A)
3483
3483
  }, null)]
3484
3484
  })
3485
3485
  }
3486
- ], f = (D) => {
3486
+ ], f = (A) => {
3487
3487
  me.gen({
3488
- id: D
3489
- }).then((R) => {
3490
- console.warn("Res:", R);
3488
+ id: A
3489
+ }).then((w) => {
3490
+ console.warn("Res:", w);
3491
3491
  });
3492
3492
  };
3493
- function b(D) {
3494
- const R = Oe.getDownloadUrl(D.path + ".zip");
3495
- fetch(R).then((t) => t.blob()).then((t) => {
3496
- let d = URL.createObjectURL(t), p = document.createElement("a");
3497
- p.style.display = "none", p.href = d, p.download = D.name + ".zip", p.click(), URL.revokeObjectURL(t);
3493
+ function _(A) {
3494
+ const w = Oe.getDownloadUrl(A.path + ".zip");
3495
+ fetch(w).then((n) => n.blob()).then((n) => {
3496
+ let d = URL.createObjectURL(n), p = document.createElement("a");
3497
+ p.style.display = "none", p.href = d, p.download = A.name + ".zip", p.click(), URL.revokeObjectURL(n);
3498
3498
  });
3499
3499
  }
3500
3500
  return U({
3501
3501
  open: m
3502
- }), (D, R) => {
3503
- const t = r("el-page-header");
3502
+ }), (A, w) => {
3503
+ const n = r("el-page-header");
3504
3504
  return M(), q(e(_e), {
3505
- modelValue: e(_),
3506
- "onUpdate:modelValue": R[0] || (R[0] = (d) => F(_) ? _.value = d : null),
3505
+ modelValue: e(b),
3506
+ "onUpdate:modelValue": w[0] || (w[0] = (d) => z(b) ? b.value = d : null),
3507
3507
  width: "1000px",
3508
3508
  "show-close": !1,
3509
3509
  class: "basic-drawer"
3510
3510
  }, {
3511
- title: o(() => [l(t, {
3511
+ title: o(() => [l(n, {
3512
3512
  icon: ""
3513
3513
  }, {
3514
- title: o(() => [j("span", null, I(e(a)("ssl.ssl")), 1)]),
3514
+ title: o(() => [j("span", null, F(e(a)("ssl.ssl")), 1)]),
3515
3515
  content: o(() => [l(e(K), {
3516
- onRefresh: e(n),
3516
+ onRefresh: e(t),
3517
3517
  size: "default",
3518
- loading: e(w)
3518
+ loading: e(x)
3519
3519
  }, null, 8, ["onRefresh", "loading"]), l(e(P), {
3520
3520
  onOpen: e(v)
3521
3521
  }, null, 8, ["onOpen"])]),
@@ -3528,11 +3528,11 @@ const Ql = /* @__PURE__ */ O({
3528
3528
  "row-key": "id",
3529
3529
  url: e(me).urls.list,
3530
3530
  columns: c,
3531
- loading: e(w)
3531
+ loading: e(x)
3532
3532
  }, null, 8, ["url", "loading"]), l(Ne, {
3533
3533
  ref_key: "formModalRef",
3534
3534
  ref: u,
3535
- onRefresh: e(n)
3535
+ onRefresh: e(t)
3536
3536
  }, null, 8, ["onRefresh"])]),
3537
3537
  _: 1
3538
3538
  }, 8, ["modelValue"]);
@@ -3543,40 +3543,40 @@ const Ql = /* @__PURE__ */ O({
3543
3543
  props: {
3544
3544
  ssl: { type: Object, default: () => ({}) }
3545
3545
  },
3546
- setup(x, { expose: U }) {
3547
- const w = x, { requesting: k, executing: V } = z([Ce, me]), { visible: _, open: m } = xe(), { tableRef: i, refresh: u } = ll(), n = [
3546
+ setup(R, { expose: U }) {
3547
+ const x = R, { requesting: k, executing: V } = I([Ce, me]), { visible: b, open: m } = xe(), { tableRef: i, refresh: u } = ll(), t = [
3548
3548
  { prop: "status.label", label: a("base.status"), width: 100 },
3549
3549
  { prop: "at", label: a("base.time"), width: 180 },
3550
3550
  { prop: "type_text", label: a("base.type"), width: 80 },
3551
3551
  { prop: "result", label: a("base.result"), width: 0 }
3552
3552
  ];
3553
3553
  function v() {
3554
- me.gen({ id: w.ssl.id }).then((c) => {
3554
+ me.gen({ id: x.ssl.id }).then((c) => {
3555
3555
  console.warn("Res:", c);
3556
3556
  });
3557
3557
  }
3558
3558
  function s() {
3559
- const c = Oe.getDownloadUrl(w.ssl.path + ".zip");
3559
+ const c = Oe.getDownloadUrl(x.ssl.path + ".zip");
3560
3560
  fetch(c).then((f) => f.blob()).then((f) => {
3561
- let b = URL.createObjectURL(f), D = document.createElement("a");
3562
- D.style.display = "none", D.href = b, D.download = w.ssl.name + ".zip", D.click(), URL.revokeObjectURL(f);
3561
+ let _ = URL.createObjectURL(f), A = document.createElement("a");
3562
+ A.style.display = "none", A.href = _, A.download = x.ssl.name + ".zip", A.click(), URL.revokeObjectURL(f);
3563
3563
  });
3564
3564
  }
3565
3565
  return U({
3566
3566
  open: m
3567
3567
  }), (c, f) => {
3568
- const b = r("el-page-header");
3568
+ const _ = r("el-page-header");
3569
3569
  return M(), q(e(_e), {
3570
- modelValue: e(_),
3571
- "onUpdate:modelValue": f[0] || (f[0] = (D) => F(_) ? _.value = D : null),
3570
+ modelValue: e(b),
3571
+ "onUpdate:modelValue": f[0] || (f[0] = (A) => z(b) ? b.value = A : null),
3572
3572
  width: "600px",
3573
3573
  "show-close": !1,
3574
3574
  class: "basic-drawer"
3575
3575
  }, {
3576
3576
  title: o(() => [
3577
- l(b, { icon: "" }, {
3577
+ l(_, { icon: "" }, {
3578
3578
  title: o(() => [
3579
- j("span", null, I(e(a)("config.ssl base.log")), 1)
3579
+ j("span", null, F(e(a)("config.ssl base.log")), 1)
3580
3580
  ]),
3581
3581
  content: o(() => [
3582
3582
  l(e(K), {
@@ -3586,7 +3586,7 @@ const Ql = /* @__PURE__ */ O({
3586
3586
  }, null, 8, ["onRefresh", "loading"])
3587
3587
  ]),
3588
3588
  extra: o(() => [
3589
- l(e(X), {
3589
+ l(e(Z), {
3590
3590
  size: "default",
3591
3591
  type: "danger",
3592
3592
  icon: "icon-key",
@@ -3594,7 +3594,7 @@ const Ql = /* @__PURE__ */ O({
3594
3594
  loading: e(V),
3595
3595
  onClick: v
3596
3596
  }, null, 8, ["disabled", "loading"]),
3597
- l(e(X), {
3597
+ l(e(Z), {
3598
3598
  size: "default",
3599
3599
  type: "primary",
3600
3600
  icon: "icon-cloud-download",
@@ -3613,7 +3613,7 @@ const Ql = /* @__PURE__ */ O({
3613
3613
  size: "small",
3614
3614
  "row-key": "id",
3615
3615
  url: e(Ce).urls.search,
3616
- columns: n,
3616
+ columns: t,
3617
3617
  loading: e(k)
3618
3618
  }, null, 8, ["url", "loading"])
3619
3619
  ]),
@@ -3623,25 +3623,25 @@ const Ql = /* @__PURE__ */ O({
3623
3623
  }
3624
3624
  }), Fl = /* @__PURE__ */ O({
3625
3625
  __name: "index",
3626
- setup(x) {
3627
- const U = Ol, w = $l, k = El, V = H(), {
3628
- requesting: _,
3626
+ setup(R) {
3627
+ const U = Ol, x = $l, k = El, V = H(), {
3628
+ requesting: b,
3629
3629
  executing: m
3630
- } = z(pe), {
3630
+ } = I(pe), {
3631
3631
  tableRef: i,
3632
3632
  formModalRef: u,
3633
- reset: n,
3633
+ reset: t,
3634
3634
  refresh: v,
3635
3635
  openFormModal: s,
3636
3636
  editFormModal: c
3637
- } = J(), {
3637
+ } = X(), {
3638
3638
  dialogRef: f,
3639
- open: b
3639
+ open: _
3640
3640
  } = ve(), {
3641
- dialogRef: D,
3642
- open: R
3641
+ dialogRef: A,
3642
+ open: w
3643
3643
  } = ve(), {
3644
- dialogRef: t,
3644
+ dialogRef: n,
3645
3645
  open: d
3646
3646
  } = ve(), p = [{
3647
3647
  prop: "domain.name",
@@ -3671,7 +3671,7 @@ const Ql = /* @__PURE__ */ O({
3671
3671
  rowData: y
3672
3672
  }) => l(r("el-space"), null, {
3673
3673
  default: () => [l(r("el-text"), null, {
3674
- default: () => [y.ssl?.renewal_days, le(" 天")]
3674
+ default: () => [y.ssl?.renewal_days, Q(" 天")]
3675
3675
  }), l(r("el-button"), {
3676
3676
  size: "small",
3677
3677
  type: "primary",
@@ -3698,13 +3698,13 @@ const Ql = /* @__PURE__ */ O({
3698
3698
  cellRenderer: ({
3699
3699
  rowData: y
3700
3700
  }) => l(r("el-space"), null, {
3701
- default: () => [l(ne, {
3701
+ default: () => [l(te, {
3702
3702
  icon: "icon-edit",
3703
3703
  t: "",
3704
3704
  onModify: () => c({
3705
3705
  id: y.id
3706
3706
  })
3707
- }, null), l(X, {
3707
+ }, null), l(Z, {
3708
3708
  icon: "icon-securityscan",
3709
3709
  type: "primary",
3710
3710
  size: "small",
@@ -3724,7 +3724,7 @@ const Ql = /* @__PURE__ */ O({
3724
3724
  });
3725
3725
  };
3726
3726
  return (y, h) => {
3727
- const C = r("el-space"), A = r("el-page-header"), L = r("el-card");
3727
+ const C = r("el-space"), D = r("el-page-header"), L = r("el-card");
3728
3728
  return M(), q(L, {
3729
3729
  "body-style": {
3730
3730
  padding: "12px",
@@ -3733,10 +3733,10 @@ const Ql = /* @__PURE__ */ O({
3733
3733
  "body-class": "flex-1",
3734
3734
  class: "config-card"
3735
3735
  }, {
3736
- header: o(() => [l(A, {
3736
+ header: o(() => [l(D, {
3737
3737
  icon: ""
3738
3738
  }, {
3739
- title: o(() => [j("span", null, I(e(a)("config.keys.sites")), 1)]),
3739
+ title: o(() => [j("span", null, F(e(a)("config.keys.sites")), 1)]),
3740
3740
  content: o(() => [l(C, {
3741
3741
  alignment: "center",
3742
3742
  style: {
@@ -3744,18 +3744,18 @@ const Ql = /* @__PURE__ */ O({
3744
3744
  }
3745
3745
  }, {
3746
3746
  default: o(() => [l(e(K), {
3747
- loading: e(_),
3748
- onRefresh: e(n)
3747
+ loading: e(b),
3748
+ onRefresh: e(t)
3749
3749
  }, null, 8, ["loading", "onRefresh"]), l(e(P), {
3750
3750
  onOpen: e(s)
3751
3751
  }, null, 8, ["onOpen"])]),
3752
3752
  _: 1
3753
3753
  })]),
3754
3754
  extra: o(() => [l(e(P), {
3755
- onOpen: e(b),
3755
+ onOpen: e(_),
3756
3756
  icon: "icon-compass"
3757
3757
  }, null, 8, ["onOpen"]), l(e(P), {
3758
- onOpen: e(R),
3758
+ onOpen: e(w),
3759
3759
  icon: "icon-safetycertificate-f"
3760
3760
  }, null, 8, ["onOpen"])]),
3761
3761
  _: 1
@@ -3775,12 +3775,12 @@ const Ql = /* @__PURE__ */ O({
3775
3775
  }, null, 8, ["onRefresh"]), l(e(U), {
3776
3776
  ref_key: "domainTableDrawerRef",
3777
3777
  ref: f
3778
- }, null, 512), l(e(w), {
3778
+ }, null, 512), l(e(x), {
3779
3779
  ref_key: "sslTableDrawerRef",
3780
- ref: D
3780
+ ref: A
3781
3781
  }, null, 512), l(e(k), {
3782
3782
  ref_key: "sslLogTableDrawerRef",
3783
- ref: t
3783
+ ref: n
3784
3784
  }, null, 512)]),
3785
3785
  _: 1
3786
3786
  });
@@ -3795,34 +3795,66 @@ const Ql = /* @__PURE__ */ O({
3795
3795
  sql: "SQL"
3796
3796
  }, ce = Y.routineApi("log", "id", Nl), Xl = /* @__PURE__ */ O({
3797
3797
  __name: "index",
3798
- setup(x) {
3798
+ setup(R) {
3799
3799
  const U = {
3800
3800
  dates: [E.getCurrentHour().format(E.DATE_VALUE_FORMAT), E.getCurrentHour(1).format(E.DATE_VALUE_FORMAT)]
3801
- }, w = [{
3802
- label: a("base.sort"),
3803
- type: "index",
3804
- width: 60
3805
- }, {
3801
+ }, x = [{
3806
3802
  label: a("base.time"),
3807
3803
  prop: "time",
3808
3804
  width: 180,
3809
3805
  render: ({
3810
3806
  rowData: u
3811
3807
  }) => l(G, null, [E.formatDate(u.time)])
3808
+ }, {
3809
+ label: a("base.IP"),
3810
+ prop: "ip",
3811
+ align: "right",
3812
+ width: 120
3813
+ }, {
3814
+ label: a("base.code"),
3815
+ type: "index",
3816
+ width: 60,
3817
+ render: ({
3818
+ rowData: u
3819
+ }) => l(r("el-tag"), {
3820
+ type: a("colors.code." + u.code)
3821
+ }, {
3822
+ default: () => [u.code]
3823
+ })
3824
+ }, {
3825
+ label: a("base.method"),
3826
+ type: "index",
3827
+ width: 60,
3828
+ render: ({
3829
+ rowData: u
3830
+ }) => l(r("el-tag"), {
3831
+ type: a("colors.method." + u.method)
3832
+ }, {
3833
+ default: () => [u.method]
3834
+ })
3812
3835
  }, {
3813
3836
  label: a("base.url"),
3814
3837
  prop: "url",
3815
3838
  align: "left",
3816
- width: 200
3839
+ width: 160
3840
+ }, {
3841
+ label: a("base.request_body"),
3842
+ prop: "body",
3843
+ align: "left",
3844
+ width: 0
3845
+ }, {
3846
+ label: a("time.cost") + "(ms)",
3847
+ prop: "cost",
3848
+ width: 120
3817
3849
  }], {
3818
3850
  requesting: k
3819
- } = z(ce), {
3851
+ } = I(ce), {
3820
3852
  tableRef: V,
3821
- keyword: _,
3853
+ keyword: b,
3822
3854
  search: m,
3823
3855
  reset: i
3824
- } = J(U);
3825
- return (u, n) => {
3856
+ } = X(U);
3857
+ return (u, t) => {
3826
3858
  const v = r("el-date-picker"), s = r("el-space"), c = r("el-page-header"), f = r("el-card");
3827
3859
  return M(), q(f, {
3828
3860
  class: "basic-card flex-full",
@@ -3839,8 +3871,8 @@ const Ql = /* @__PURE__ */ O({
3839
3871
  class: "search-bar"
3840
3872
  }, {
3841
3873
  default: o(() => [l(v, {
3842
- modelValue: e(_).dates,
3843
- "onUpdate:modelValue": n[0] || (n[0] = (b) => e(_).dates = b),
3874
+ modelValue: e(b).dates,
3875
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e(b).dates = _),
3844
3876
  class: "basic-search-datetimerange",
3845
3877
  "value-format": e(E).DATE_VALUE_FORMAT,
3846
3878
  format: e(E).DATE_SHOW_FORMAT,
@@ -3849,10 +3881,10 @@ const Ql = /* @__PURE__ */ O({
3849
3881
  "start-placeholder": e(a)("base.start_at"),
3850
3882
  "end-placeholder": e(a)("base.end_at"),
3851
3883
  clearable: !1,
3852
- onChange: n[1] || (n[1] = (b) => e(m)())
3884
+ onChange: t[1] || (t[1] = (_) => e(m)())
3853
3885
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(de), {
3854
3886
  disabled: e(k),
3855
- onSearch: n[2] || (n[2] = (b) => e(m)())
3887
+ onSearch: t[2] || (t[2] = (_) => e(m)())
3856
3888
  }, null, 8, ["disabled"])]),
3857
3889
  _: 1
3858
3890
  })]),
@@ -3862,9 +3894,9 @@ const Ql = /* @__PURE__ */ O({
3862
3894
  ref_key: "tableRef",
3863
3895
  ref: V,
3864
3896
  size: "small",
3865
- columns: w,
3897
+ columns: x,
3866
3898
  url: e(ce).urls.request,
3867
- "search-param": e(_),
3899
+ "search-param": e(b),
3868
3900
  "auto-search": ""
3869
3901
  }, null, 8, ["url", "search-param"])]),
3870
3902
  _: 1
@@ -3873,14 +3905,10 @@ const Ql = /* @__PURE__ */ O({
3873
3905
  }
3874
3906
  }), Zl = /* @__PURE__ */ O({
3875
3907
  __name: "index",
3876
- setup(x) {
3908
+ setup(R) {
3877
3909
  const U = {
3878
3910
  dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate(0).format(E.DATE_FORMAT)]
3879
- }, w = [{
3880
- label: a("base.sort"),
3881
- type: "index",
3882
- width: 60
3883
- }, {
3911
+ }, x = [{
3884
3912
  label: a("base.time"),
3885
3913
  prop: "time",
3886
3914
  width: 180,
@@ -3888,19 +3916,27 @@ const Ql = /* @__PURE__ */ O({
3888
3916
  rowData: u
3889
3917
  }) => l(G, null, [E.formatDate(u.time)])
3890
3918
  }, {
3891
- label: a("base.url"),
3892
- prop: "url",
3919
+ label: a("base.type"),
3920
+ prop: "type",
3921
+ width: 60
3922
+ }, {
3923
+ label: a("base.service"),
3924
+ prop: "service",
3925
+ width: 180
3926
+ }, {
3927
+ label: a("base.error"),
3928
+ prop: "error",
3893
3929
  align: "left",
3894
- width: 200
3930
+ width: 0
3895
3931
  }], {
3896
3932
  requesting: k
3897
- } = z(ce), {
3933
+ } = I(ce), {
3898
3934
  tableRef: V,
3899
- keyword: _,
3935
+ keyword: b,
3900
3936
  search: m,
3901
3937
  reset: i
3902
- } = J(U);
3903
- return (u, n) => {
3938
+ } = X(U);
3939
+ return (u, t) => {
3904
3940
  const v = r("el-date-picker"), s = r("el-space"), c = r("el-page-header"), f = r("el-card");
3905
3941
  return M(), q(f, {
3906
3942
  class: "basic-card flex-full",
@@ -3917,8 +3953,8 @@ const Ql = /* @__PURE__ */ O({
3917
3953
  class: "search-bar"
3918
3954
  }, {
3919
3955
  default: o(() => [l(v, {
3920
- modelValue: e(_).dates,
3921
- "onUpdate:modelValue": n[0] || (n[0] = (b) => e(_).dates = b),
3956
+ modelValue: e(b).dates,
3957
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e(b).dates = _),
3922
3958
  class: "basic-search-daterange",
3923
3959
  "value-format": e(E).DATE_FORMAT,
3924
3960
  format: e(E).DATE_FORMAT,
@@ -3927,10 +3963,10 @@ const Ql = /* @__PURE__ */ O({
3927
3963
  "start-placeholder": e(a)("base.start_at"),
3928
3964
  "end-placeholder": e(a)("base.end_at"),
3929
3965
  clearable: !1,
3930
- onChange: n[1] || (n[1] = (b) => e(m)())
3966
+ onChange: t[1] || (t[1] = (_) => e(m)())
3931
3967
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(de), {
3932
3968
  disabled: e(k),
3933
- onSearch: n[2] || (n[2] = (b) => e(m)())
3969
+ onSearch: t[2] || (t[2] = (_) => e(m)())
3934
3970
  }, null, 8, ["disabled"])]),
3935
3971
  _: 1
3936
3972
  })]),
@@ -3940,9 +3976,9 @@ const Ql = /* @__PURE__ */ O({
3940
3976
  ref_key: "tableRef",
3941
3977
  ref: V,
3942
3978
  size: "small",
3943
- columns: w,
3979
+ columns: x,
3944
3980
  url: e(ce).urls.error,
3945
- "search-param": e(_),
3981
+ "search-param": e(b),
3946
3982
  "auto-search": ""
3947
3983
  }, null, 8, ["url", "search-param"])]),
3948
3984
  _: 1
@@ -3951,10 +3987,11 @@ const Ql = /* @__PURE__ */ O({
3951
3987
  }
3952
3988
  }), ea = /* @__PURE__ */ O({
3953
3989
  __name: "index",
3954
- setup(x) {
3990
+ setup(R) {
3955
3991
  const U = {
3956
- dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate().format(E.DATE_FORMAT)]
3957
- }, w = [{
3992
+ dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate().format(E.DATE_FORMAT)],
3993
+ type: "slow"
3994
+ }, x = [{
3958
3995
  label: a("base.sort"),
3959
3996
  type: "index",
3960
3997
  width: 60
@@ -3966,49 +4003,74 @@ const Ql = /* @__PURE__ */ O({
3966
4003
  rowData: u
3967
4004
  }) => l(G, null, [E.formatDate(u.time)])
3968
4005
  }, {
3969
- label: a("base.url"),
3970
- prop: "url",
4006
+ label: a("time.cost") + "(ms)",
4007
+ prop: "cost",
4008
+ width: 120
4009
+ }, {
4010
+ label: a("base.sql"),
4011
+ prop: "sql",
3971
4012
  align: "left",
3972
- width: 200
4013
+ width: 0
3973
4014
  }], {
3974
4015
  requesting: k
3975
- } = z(ce), {
4016
+ } = I(ce), {
3976
4017
  tableRef: V,
3977
- keyword: _,
4018
+ keyword: b,
3978
4019
  search: m,
3979
4020
  reset: i
3980
- } = J(U);
3981
- return (u, n) => {
3982
- const v = r("el-date-picker"), s = r("el-space"), c = r("el-page-header"), f = r("el-card");
3983
- return M(), q(f, {
4021
+ } = X(U);
4022
+ return (u, t) => {
4023
+ const v = r("el-date-picker"), s = r("el-radio-button"), c = r("el-radio-group"), f = r("el-space"), _ = r("el-page-header"), A = r("el-card");
4024
+ return M(), q(A, {
3984
4025
  class: "basic-card flex-full",
3985
4026
  "body-class": "flex-1"
3986
4027
  }, {
3987
- header: o(() => [l(c, {
4028
+ header: o(() => [l(_, {
3988
4029
  class: "basic-header"
3989
4030
  }, {
3990
4031
  title: o(() => [l(e(K), {
3991
4032
  loading: e(k),
3992
4033
  onRefresh: e(i)
3993
4034
  }, null, 8, ["loading", "onRefresh"])]),
3994
- content: o(() => [l(s, {
4035
+ content: o(() => [l(f, {
3995
4036
  class: "search-bar"
3996
4037
  }, {
3997
4038
  default: o(() => [l(v, {
3998
- modelValue: e(_).dates,
3999
- "onUpdate:modelValue": n[0] || (n[0] = (b) => e(_).dates = b),
4039
+ modelValue: e(b).dates,
4040
+ "onUpdate:modelValue": t[0] || (t[0] = (w) => e(b).dates = w),
4000
4041
  class: "basic-search-daterange",
4001
- "value-format": e(E).DATE_FORMAT,
4002
- format: e(E).DATE_FORMAT,
4042
+ "value-format": e(E).DATE_VALUE_FORMAT,
4043
+ format: e(E).DATE_SHOW_FORMAT,
4003
4044
  type: "daterange",
4004
4045
  "range-separator": "-",
4005
4046
  "start-placeholder": e(a)("base.start_at"),
4006
4047
  "end-placeholder": e(a)("base.end_at"),
4007
4048
  clearable: !1,
4008
- onChange: n[1] || (n[1] = (b) => e(m)())
4009
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(de), {
4049
+ onChange: t[1] || (t[1] = (w) => e(m)())
4050
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(c, {
4051
+ modelValue: e(b).type,
4052
+ "onUpdate:modelValue": t[2] || (t[2] = (w) => e(b).type = w)
4053
+ }, {
4054
+ default: o(() => [l(s, {
4055
+ value: "logs"
4056
+ }, {
4057
+ default: o(() => [Q(F(e(a)("base.log")), 1)]),
4058
+ _: 1
4059
+ }), l(s, {
4060
+ value: "slow"
4061
+ }, {
4062
+ default: o(() => [Q(F(e(a)("base.slow_log")), 1)]),
4063
+ _: 1
4064
+ }), l(s, {
4065
+ value: "errors"
4066
+ }, {
4067
+ default: o(() => [Q(F(e(a)("base.error_log")), 1)]),
4068
+ _: 1
4069
+ })]),
4070
+ _: 1
4071
+ }, 8, ["modelValue"]), l(e(de), {
4010
4072
  disabled: e(k),
4011
- onSearch: n[2] || (n[2] = (b) => e(m)())
4073
+ onSearch: t[3] || (t[3] = (w) => e(m)())
4012
4074
  }, null, 8, ["disabled"])]),
4013
4075
  _: 1
4014
4076
  })]),
@@ -4018,9 +4080,9 @@ const Ql = /* @__PURE__ */ O({
4018
4080
  ref_key: "tableRef",
4019
4081
  ref: V,
4020
4082
  size: "small",
4021
- columns: w,
4083
+ columns: x,
4022
4084
  url: e(ce).urls.sql,
4023
- "search-param": e(_),
4085
+ "search-param": e(b),
4024
4086
  "auto-search": ""
4025
4087
  }, null, 8, ["url", "search-param"])]),
4026
4088
  _: 1
@@ -4049,31 +4111,31 @@ const Ql = /* @__PURE__ */ O({
4049
4111
  }
4050
4112
  },
4051
4113
  emits: ["update:modelValue", "update:value", "change"],
4052
- setup(x, {
4114
+ setup(R, {
4053
4115
  emit: U
4054
4116
  }) {
4055
- const w = U, k = x, {
4117
+ const x = U, k = R, {
4056
4118
  requesting: V
4057
- } = z(W), {
4058
- value: _,
4119
+ } = I(W), {
4120
+ value: b,
4059
4121
  options: m,
4060
4122
  change: i
4061
- } = re(te(k, "modelValue"), w, {
4123
+ } = re(ne(k, "modelValue"), x, {
4062
4124
  key: "LANGUAGE_SELECT",
4063
4125
  url: W.urls.languages,
4064
4126
  api: W,
4065
4127
  isArray: !0
4066
4128
  }, {
4067
- formatOptions: (u) => u.map((n) => ({
4068
- value: n,
4069
- label: n
4129
+ formatOptions: (u) => u.map((t) => ({
4130
+ value: t,
4131
+ label: t
4070
4132
  }))
4071
4133
  });
4072
- return (u, n) => {
4134
+ return (u, t) => {
4073
4135
  const v = r("el-radio-button"), s = r("el-radio-group");
4074
4136
  return M(), q(s, {
4075
- modelValue: e(_),
4076
- "onUpdate:modelValue": n[0] || (n[0] = (c) => F(_) ? _.value = c : null),
4137
+ modelValue: e(b),
4138
+ "onUpdate:modelValue": t[0] || (t[0] = (c) => z(b) ? b.value = c : null),
4077
4139
  disabled: e(V),
4078
4140
  onChange: e(i)
4079
4141
  }, {
@@ -4081,7 +4143,7 @@ const Ql = /* @__PURE__ */ O({
4081
4143
  key: c.value,
4082
4144
  value: c.value
4083
4145
  }, {
4084
- default: o(() => [j("span", null, I(c.label), 1)]),
4146
+ default: o(() => [j("span", null, F(c.label), 1)]),
4085
4147
  _: 2
4086
4148
  }, 1032, ["value"]))), 128))]),
4087
4149
  _: 1
@@ -4090,7 +4152,7 @@ const Ql = /* @__PURE__ */ O({
4090
4152
  }
4091
4153
  }), Bl = () => import("./index-SHsqnbNG.js"), Pl = () => import("./index-CJMTIvHk.js"), jl = () => import("./index-BMn8mAns.js"), aa = [
4092
4154
  {
4093
- path: nl,
4155
+ path: tl,
4094
4156
  name: "RequestLog",
4095
4157
  component: Bl,
4096
4158
  meta: {
@@ -4098,7 +4160,7 @@ const Ql = /* @__PURE__ */ O({
4098
4160
  }
4099
4161
  },
4100
4162
  {
4101
- path: tl,
4163
+ path: nl,
4102
4164
  name: "ErrorLog",
4103
4165
  component: Pl,
4104
4166
  meta: {
@@ -4114,11 +4176,11 @@ const Ql = /* @__PURE__ */ O({
4114
4176
  }
4115
4177
  }
4116
4178
  ], oa = {
4117
- install: (x) => {
4118
- 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));
4179
+ install: (R) => {
4180
+ Reflect.ownKeys(R._context.provides).some((U) => String(U) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(R._context.provides));
4119
4181
  },
4120
4182
  version: "__VERSION__"
4121
- }, na = /* @__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(() => Il) });
4183
+ }, ta = /* @__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(() => Il) });
4122
4184
  export {
4123
4185
  Jl as AdminsPage,
4124
4186
  Sl as DomainProviderSelect,
@@ -4135,6 +4197,6 @@ export {
4135
4197
  zl as SitePage,
4136
4198
  ql as SiteSelect,
4137
4199
  il as TopMenuSelect,
4138
- na as basicModules,
4200
+ ta as basicModules,
4139
4201
  oa as default
4140
4202
  };