auto-vue-basic 0.0.81 → 0.0.83

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,19 +1,19 @@
1
- import { defineComponent as O, createElementBlock as I, openBlock as C, createElementVNode as B, toRef as ne, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as we, toDisplayString as z, ref as N, Fragment as G, withKeys as he, renderList as ae, isVNode as xe, reactive as Pe, onMounted as Be, watch as Re, nextTick as je, createCommentVNode as Ke, createTextVNode as Z, onBeforeMount as We } from "vue";
2
- import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as me, useForm as X, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as Ue, ModifyButton as le, DEFAULT_REMOVE_KEY as Ye, ProTable as ce, DEFAULT_PAGE_KEY as Ve, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as Ge, RequestButton as H, BasicDrawer as fe, BasicRadioButton as Se, RulesUtils as He, BasicAvatar as Qe, TimeUtils as $, ProTableList as de, AssetsUtils as Ce, notification as Je, DEFAULT_LIST_URL as Xe, REQUEST_LOG_URL as Ze, ERROR_LOG_URL as el, SQL_LOG_URL as ll } from "auto-vue-manual";
1
+ import { defineComponent as O, createElementBlock as I, openBlock as S, createElementVNode as P, toRef as oe, resolveComponent as s, createBlock as T, unref as e, isRef as N, withCtx as o, createVNode as l, normalizeClass as we, toDisplayString as z, ref as B, Fragment as G, withKeys as he, renderList as ee, isVNode as xe, reactive as Be, onMounted as Pe, watch as Re, nextTick as je, createCommentVNode as Ke, createTextVNode as Z, onBeforeMount as We } from "vue";
2
+ import { ApiUtils as Y, useLoading as F, useSelect as te, Translate as a, InlineRefreshButton as me, useForm as X, FormDialog as le, useCrudPage as E, DEFAULT_STATUS_KEY as Ue, ModifyButton as ae, DEFAULT_REMOVE_KEY as Ge, ProTable as ce, DEFAULT_PAGE_KEY as Ve, SearchButton as ne, RefreshButton as K, OpenButton as j, useCacheStore as Ye, RequestButton as Q, BasicDrawer as fe, BasicRadioButton as Se, RulesUtils as He, BasicAvatar as Qe, TimeUtils as $, ProTableList as de, AssetsUtils as Ce, notification as Je, DEFAULT_LIST_URL as Xe, REQUEST_LOG_URL as Ze, ERROR_LOG_URL as el, SQL_LOG_URL as ll } from "auto-vue-manual";
3
3
  const al = {
4
4
  tops: "tops",
5
5
  rules: "rules"
6
- }, Y = W.routineApi("menu", "id", al, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Le = W.routineApi("rule", "key");
6
+ }, H = Y.routineApi("menu", "id", al, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Le = Y.routineApi("rule", "key");
7
7
  /*! Element Plus Icons Vue v2.3.2 */
8
8
  var ol = /* @__PURE__ */ O({
9
9
  name: "Key",
10
10
  __name: "key",
11
- setup(x) {
12
- return (R, k) => (C(), I("svg", {
11
+ setup(w) {
12
+ return (R, k) => (S(), I("svg", {
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  viewBox: "0 0 1024 1024"
15
15
  }, [
16
- B("path", {
16
+ P("path", {
17
17
  fill: "currentColor",
18
18
  d: "M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"
19
19
  })
@@ -22,12 +22,12 @@ var ol = /* @__PURE__ */ O({
22
22
  }), tl = ol, nl = /* @__PURE__ */ O({
23
23
  name: "Search",
24
24
  __name: "search",
25
- setup(x) {
26
- return (R, k) => (C(), I("svg", {
25
+ setup(w) {
26
+ return (R, k) => (S(), I("svg", {
27
27
  xmlns: "http://www.w3.org/2000/svg",
28
28
  viewBox: "0 0 1024 1024"
29
29
  }, [
30
- B("path", {
30
+ P("path", {
31
31
  fill: "currentColor",
32
32
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"
33
33
  })
@@ -47,47 +47,47 @@ const dl = /* @__PURE__ */ O({
47
47
  }
48
48
  },
49
49
  emits: ["update:modelValue", "change"],
50
- setup(x, {
50
+ setup(w, {
51
51
  emit: R
52
52
  }) {
53
- const k = R, V = x, {
54
- requesting: b
55
- } = E(Y), {
56
- value: g,
57
- options: c,
53
+ const k = R, V = w, {
54
+ requesting: g
55
+ } = F(H), {
56
+ value: b,
57
+ options: m,
58
58
  change: i,
59
59
  refresh: p,
60
- filterOptions: n
61
- } = re(ne(V, "modelValue"), k, {
60
+ filterOptions: t
61
+ } = te(oe(V, "modelValue"), k, {
62
62
  key: "TOP_MENU_LIST",
63
- api: Y,
64
- url: Y.urls.tops,
63
+ api: H,
64
+ url: H.urls.tops,
65
65
  isArray: !0
66
66
  });
67
67
  return (v, u) => {
68
- const f = s("el-space"), h = s("el-select-v2");
69
- return C(), T(h, {
68
+ const f = s("el-space"), _ = s("el-select-v2");
69
+ return S(), T(_, {
70
70
  class: "w-full",
71
- modelValue: e(g),
72
- "onUpdate:modelValue": u[1] || (u[1] = (_) => P(g) ? g.value = _ : null),
73
- options: e(c),
74
- multiple: x.multiple,
75
- disabled: e(b),
71
+ modelValue: e(b),
72
+ "onUpdate:modelValue": u[1] || (u[1] = (h) => N(b) ? b.value = h : null),
73
+ options: e(m),
74
+ multiple: w.multiple,
75
+ disabled: e(g),
76
76
  placeholder: e(a)("placeholder.select"),
77
77
  filterable: "",
78
- filterOptions: e(n),
78
+ filterOptions: e(t),
79
79
  onChange: e(i)
80
80
  }, {
81
81
  prefix: o(() => [l(e(me), {
82
- loading: e(b),
83
- onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
82
+ loading: e(g),
83
+ onRefresh: u[0] || (u[0] = (h) => e(p)(!0))
84
84
  }, null, 8, ["loading"])]),
85
85
  default: o(({
86
- item: _
86
+ item: h
87
87
  }) => [l(f, null, {
88
- default: o(() => [B("i", {
89
- class: we(`icon iconfont ${_.icon}`)
90
- }, null, 2), B("span", null, z(_.translate), 1)]),
88
+ default: o(() => [P("i", {
89
+ class: we(`icon iconfont ${h.icon}`)
90
+ }, null, 2), P("span", null, z(h.translate), 1)]),
91
91
  _: 2
92
92
  }, 1024)]),
93
93
  _: 1
@@ -97,8 +97,8 @@ const dl = /* @__PURE__ */ O({
97
97
  }), sl = /* @__PURE__ */ O({
98
98
  __name: "MenuFormModal",
99
99
  emits: ["refresh"],
100
- setup(x, { expose: R, emit: k }) {
101
- const V = k, b = {
100
+ setup(w, { expose: R, emit: k }) {
101
+ const V = k, g = {
102
102
  id: 0,
103
103
  menu_id: 0,
104
104
  module: "",
@@ -119,7 +119,7 @@ const dl = /* @__PURE__ */ O({
119
119
  keep_alive: !1,
120
120
  link: !1
121
121
  }
122
- }, g = {
122
+ }, b = {
123
123
  sort: [
124
124
  {
125
125
  required: !0,
@@ -163,36 +163,36 @@ const dl = /* @__PURE__ */ O({
163
163
  trigger: "blur"
164
164
  }
165
165
  ]
166
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, Y);
166
+ }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: _, submit: h, closed: D } = X(V, g, H);
167
167
  return R({
168
168
  open: f,
169
- modify: h
170
- }), (w, t) => {
171
- const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), A = s("el-switch"), q = s("el-form");
172
- return C(), T(e(ee), {
173
- modelValue: e(c),
174
- "onUpdate:modelValue": t[17] || (t[17] = (M) => P(c) ? c.value = M : null),
169
+ modify: _
170
+ }), (x, n) => {
171
+ const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), c = s("el-row"), C = s("el-input"), A = s("el-switch"), q = s("el-form");
172
+ return S(), T(e(le), {
173
+ modelValue: e(m),
174
+ "onUpdate:modelValue": n[17] || (n[17] = (M) => N(m) ? m.value = M : null),
175
175
  title: e(i)(),
176
176
  width: "1000px",
177
177
  executing: e(u),
178
178
  onClosed: e(D),
179
- onSubmit: e(_)
179
+ onSubmit: e(h)
180
180
  }, {
181
181
  default: o(() => [
182
182
  l(q, {
183
183
  ref_key: "form",
184
184
  ref: p,
185
- model: e(n),
185
+ model: e(t),
186
186
  "label-width": "auto",
187
- rules: g,
187
+ rules: b,
188
188
  disabled: e(v) || e(u)
189
189
  }, {
190
190
  default: o(() => [
191
- l(m, { gutter: 20 }, {
191
+ l(c, { gutter: 20 }, {
192
192
  default: o(() => [
193
193
  l(r, { span: 12 }, {
194
194
  default: o(() => [
195
- l(m, { gutter: 10 }, {
195
+ l(c, { gutter: 10 }, {
196
196
  default: o(() => [
197
197
  l(r, { span: 14 }, {
198
198
  default: o(() => [
@@ -202,8 +202,8 @@ const dl = /* @__PURE__ */ O({
202
202
  }, {
203
203
  default: o(() => [
204
204
  l(dl, {
205
- modelValue: e(n).menu_id,
206
- "onUpdate:modelValue": t[0] || (t[0] = (M) => e(n).menu_id = M)
205
+ modelValue: e(t).menu_id,
206
+ "onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).menu_id = M)
207
207
  }, null, 8, ["modelValue"])
208
208
  ]),
209
209
  _: 1
@@ -221,8 +221,8 @@ const dl = /* @__PURE__ */ O({
221
221
  default: o(() => [
222
222
  l(y, {
223
223
  class: "w-full",
224
- modelValue: e(n).sort,
225
- "onUpdate:modelValue": t[1] || (t[1] = (M) => e(n).sort = M),
224
+ modelValue: e(t).sort,
225
+ "onUpdate:modelValue": n[1] || (n[1] = (M) => e(t).sort = M),
226
226
  min: 0,
227
227
  placeholder: e(a)("placeholder.input")
228
228
  }, null, 8, ["modelValue", "placeholder"])
@@ -240,9 +240,9 @@ const dl = /* @__PURE__ */ O({
240
240
  prop: "module"
241
241
  }, {
242
242
  default: o(() => [
243
- l(S, {
244
- modelValue: e(n).module,
245
- "onUpdate:modelValue": t[2] || (t[2] = (M) => e(n).module = M),
243
+ l(C, {
244
+ modelValue: e(t).module,
245
+ "onUpdate:modelValue": n[2] || (n[2] = (M) => e(t).module = M),
246
246
  placeholder: e(a)("placeholder.input")
247
247
  }, null, 8, ["modelValue", "placeholder"])
248
248
  ]),
@@ -253,9 +253,9 @@ const dl = /* @__PURE__ */ O({
253
253
  prop: "name"
254
254
  }, {
255
255
  default: o(() => [
256
- l(S, {
257
- modelValue: e(n).name,
258
- "onUpdate:modelValue": t[3] || (t[3] = (M) => e(n).name = M),
256
+ l(C, {
257
+ modelValue: e(t).name,
258
+ "onUpdate:modelValue": n[3] || (n[3] = (M) => e(t).name = M),
259
259
  placeholder: e(a)("placeholder.input")
260
260
  }, null, 8, ["modelValue", "placeholder"])
261
261
  ]),
@@ -266,9 +266,9 @@ const dl = /* @__PURE__ */ O({
266
266
  prop: "en_name"
267
267
  }, {
268
268
  default: o(() => [
269
- l(S, {
270
- modelValue: e(n).en_name,
271
- "onUpdate:modelValue": t[4] || (t[4] = (M) => e(n).en_name = M),
269
+ l(C, {
270
+ modelValue: e(t).en_name,
271
+ "onUpdate:modelValue": n[4] || (n[4] = (M) => e(t).en_name = M),
272
272
  placeholder: e(a)("placeholder.input")
273
273
  }, null, 8, ["modelValue", "placeholder"])
274
274
  ]),
@@ -279,9 +279,9 @@ const dl = /* @__PURE__ */ O({
279
279
  prop: "component"
280
280
  }, {
281
281
  default: o(() => [
282
- l(S, {
283
- modelValue: e(n).component,
284
- "onUpdate:modelValue": t[5] || (t[5] = (M) => e(n).component = M),
282
+ l(C, {
283
+ modelValue: e(t).component,
284
+ "onUpdate:modelValue": n[5] || (n[5] = (M) => e(t).component = M),
285
285
  placeholder: e(a)("placeholder.input")
286
286
  }, null, 8, ["modelValue", "placeholder"])
287
287
  ]),
@@ -292,9 +292,9 @@ const dl = /* @__PURE__ */ O({
292
292
  prop: "url"
293
293
  }, {
294
294
  default: o(() => [
295
- l(S, {
296
- modelValue: e(n).url,
297
- "onUpdate:modelValue": t[6] || (t[6] = (M) => e(n).url = M),
295
+ l(C, {
296
+ modelValue: e(t).url,
297
+ "onUpdate:modelValue": n[6] || (n[6] = (M) => e(t).url = M),
298
298
  placeholder: e(a)("placeholder.input")
299
299
  }, null, 8, ["modelValue", "placeholder"])
300
300
  ]),
@@ -305,9 +305,9 @@ const dl = /* @__PURE__ */ O({
305
305
  prop: "remark"
306
306
  }, {
307
307
  default: o(() => [
308
- l(S, {
309
- modelValue: e(n).remark,
310
- "onUpdate:modelValue": t[7] || (t[7] = (M) => e(n).remark = M),
308
+ l(C, {
309
+ modelValue: e(t).remark,
310
+ "onUpdate:modelValue": n[7] || (n[7] = (M) => e(t).remark = M),
311
311
  placeholder: e(a)("placeholder.input")
312
312
  }, null, 8, ["modelValue", "placeholder"])
313
313
  ]),
@@ -323,17 +323,17 @@ const dl = /* @__PURE__ */ O({
323
323
  prop: "icon"
324
324
  }, {
325
325
  default: o(() => [
326
- l(S, {
327
- modelValue: e(n).icon,
328
- "onUpdate:modelValue": t[8] || (t[8] = (M) => e(n).icon = M),
326
+ l(C, {
327
+ modelValue: e(t).icon,
328
+ "onUpdate:modelValue": n[8] || (n[8] = (M) => e(t).icon = M),
329
329
  placeholder: e(a)("placeholder.input"),
330
- onInput: t[9] || (t[9] = (M) => {
331
- e(n).meta.icon = M;
330
+ onInput: n[9] || (n[9] = (M) => {
331
+ e(t).meta.icon = M;
332
332
  })
333
333
  }, {
334
334
  prepend: o(() => [
335
- B("span", {
336
- class: we("iconfont " + e(n).icon)
335
+ P("span", {
336
+ class: we("iconfont " + e(t).icon)
337
337
  }, null, 2)
338
338
  ]),
339
339
  _: 1
@@ -346,9 +346,9 @@ const dl = /* @__PURE__ */ O({
346
346
  prop: "meta.title"
347
347
  }, {
348
348
  default: o(() => [
349
- l(S, {
350
- modelValue: e(n).meta.title,
351
- "onUpdate:modelValue": t[10] || (t[10] = (M) => e(n).meta.title = M),
349
+ l(C, {
350
+ modelValue: e(t).meta.title,
351
+ "onUpdate:modelValue": n[10] || (n[10] = (M) => e(t).meta.title = M),
352
352
  placeholder: e(a)("placeholder.input")
353
353
  }, null, 8, ["modelValue", "placeholder"])
354
354
  ]),
@@ -359,15 +359,15 @@ const dl = /* @__PURE__ */ O({
359
359
  prop: "meta.active"
360
360
  }, {
361
361
  default: o(() => [
362
- l(S, {
363
- modelValue: e(n).meta.active,
364
- "onUpdate:modelValue": t[11] || (t[11] = (M) => e(n).meta.active = M),
362
+ l(C, {
363
+ modelValue: e(t).meta.active,
364
+ "onUpdate:modelValue": n[11] || (n[11] = (M) => e(t).meta.active = M),
365
365
  placeholder: e(a)("placeholder.input")
366
366
  }, null, 8, ["modelValue", "placeholder"])
367
367
  ]),
368
368
  _: 1
369
369
  }, 8, ["label"]),
370
- l(m, null, {
370
+ l(c, null, {
371
371
  default: o(() => [
372
372
  l(r, { span: 12 }, {
373
373
  default: o(() => [
@@ -377,8 +377,8 @@ const dl = /* @__PURE__ */ O({
377
377
  }, {
378
378
  default: o(() => [
379
379
  l(A, {
380
- modelValue: e(n).meta.link,
381
- "onUpdate:modelValue": t[12] || (t[12] = (M) => e(n).meta.link = M)
380
+ modelValue: e(t).meta.link,
381
+ "onUpdate:modelValue": n[12] || (n[12] = (M) => e(t).meta.link = M)
382
382
  }, null, 8, ["modelValue"])
383
383
  ]),
384
384
  _: 1
@@ -394,8 +394,8 @@ const dl = /* @__PURE__ */ O({
394
394
  }, {
395
395
  default: o(() => [
396
396
  l(A, {
397
- modelValue: e(n).meta.keep_alive,
398
- "onUpdate:modelValue": t[13] || (t[13] = (M) => e(n).meta.keep_alive = M)
397
+ modelValue: e(t).meta.keep_alive,
398
+ "onUpdate:modelValue": n[13] || (n[13] = (M) => e(t).meta.keep_alive = M)
399
399
  }, null, 8, ["modelValue"])
400
400
  ]),
401
401
  _: 1
@@ -411,8 +411,8 @@ const dl = /* @__PURE__ */ O({
411
411
  }, {
412
412
  default: o(() => [
413
413
  l(A, {
414
- modelValue: e(n).meta.hide,
415
- "onUpdate:modelValue": t[14] || (t[14] = (M) => e(n).meta.hide = M)
414
+ modelValue: e(t).meta.hide,
415
+ "onUpdate:modelValue": n[14] || (n[14] = (M) => e(t).meta.hide = M)
416
416
  }, null, 8, ["modelValue"])
417
417
  ]),
418
418
  _: 1
@@ -428,8 +428,8 @@ const dl = /* @__PURE__ */ O({
428
428
  }, {
429
429
  default: o(() => [
430
430
  l(A, {
431
- modelValue: e(n).meta.full,
432
- "onUpdate:modelValue": t[15] || (t[15] = (M) => e(n).meta.full = M)
431
+ modelValue: e(t).meta.full,
432
+ "onUpdate:modelValue": n[15] || (n[15] = (M) => e(t).meta.full = M)
433
433
  }, null, 8, ["modelValue"])
434
434
  ]),
435
435
  _: 1
@@ -445,8 +445,8 @@ const dl = /* @__PURE__ */ O({
445
445
  }, {
446
446
  default: o(() => [
447
447
  l(A, {
448
- modelValue: e(n).meta.affix,
449
- "onUpdate:modelValue": t[16] || (t[16] = (M) => e(n).meta.affix = M)
448
+ modelValue: e(t).meta.affix,
449
+ "onUpdate:modelValue": n[16] || (n[16] = (M) => e(t).meta.affix = M)
450
450
  }, null, 8, ["modelValue"])
451
451
  ]),
452
452
  _: 1
@@ -484,46 +484,46 @@ const dl = /* @__PURE__ */ O({
484
484
  }
485
485
  },
486
486
  emits: ["update:modelValue", "change"],
487
- setup(x, {
487
+ setup(w, {
488
488
  emit: R
489
489
  }) {
490
- const k = R, V = x, {
491
- requesting: b
492
- } = E(Y), {
493
- value: g,
494
- options: c,
490
+ const k = R, V = w, {
491
+ requesting: g
492
+ } = F(H), {
493
+ value: b,
494
+ options: m,
495
495
  change: i,
496
496
  refresh: p,
497
- filterOptions: n
498
- } = re(ne(V, "modelValue"), k, {
497
+ filterOptions: t
498
+ } = te(oe(V, "modelValue"), k, {
499
499
  key: "MENU_LIST",
500
- api: Y,
500
+ api: H,
501
501
  isArray: !0
502
502
  });
503
503
  return (v, u) => {
504
- const f = s("el-space"), h = s("el-select-v2");
505
- return C(), T(h, {
504
+ const f = s("el-space"), _ = s("el-select-v2");
505
+ return S(), T(_, {
506
506
  class: "w-full",
507
- modelValue: e(g),
508
- "onUpdate:modelValue": u[1] || (u[1] = (_) => P(g) ? g.value = _ : null),
509
- options: e(c),
510
- multiple: x.multiple,
511
- disabled: e(b),
507
+ modelValue: e(b),
508
+ "onUpdate:modelValue": u[1] || (u[1] = (h) => N(b) ? b.value = h : null),
509
+ options: e(m),
510
+ multiple: w.multiple,
511
+ disabled: e(g),
512
512
  placeholder: e(a)("placeholder.select"),
513
513
  filterable: "",
514
- filterOptions: e(n),
514
+ filterOptions: e(t),
515
515
  onChange: e(i)
516
516
  }, {
517
517
  prefix: o(() => [l(e(me), {
518
- loading: e(b),
519
- onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
518
+ loading: e(g),
519
+ onRefresh: u[0] || (u[0] = (h) => e(p)(!0))
520
520
  }, null, 8, ["loading"])]),
521
521
  default: o(({
522
- item: _
522
+ item: h
523
523
  }) => [l(f, null, {
524
- default: o(() => [B("i", {
525
- class: we(`icon iconfont ${_.icon}`)
526
- }, null, 2), B("span", null, z(_.translate), 1)]),
524
+ default: o(() => [P("i", {
525
+ class: we(`icon iconfont ${h.icon}`)
526
+ }, null, 2), P("span", null, z(h.translate), 1)]),
527
527
  _: 2
528
528
  }, 1024)]),
529
529
  _: 1
@@ -533,8 +533,8 @@ const dl = /* @__PURE__ */ O({
533
533
  }), il = /* @__PURE__ */ O({
534
534
  __name: "MenuRuleFormModal",
535
535
  emits: ["refresh"],
536
- setup(x, { expose: R, emit: k }) {
537
- const V = k, b = {
536
+ setup(w, { expose: R, emit: k }) {
537
+ const V = k, g = {
538
538
  key: "",
539
539
  menu_id: 0,
540
540
  sort: 0,
@@ -542,7 +542,7 @@ const dl = /* @__PURE__ */ O({
542
542
  en_name: "",
543
543
  urls: "",
544
544
  remark: ""
545
- }, g = {
545
+ }, b = {
546
546
  menu_id: [
547
547
  {
548
548
  required: !0,
@@ -580,34 +580,34 @@ const dl = /* @__PURE__ */ O({
580
580
  trigger: "blur"
581
581
  }
582
582
  ]
583
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, Le);
583
+ }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: _, submit: h, closed: D } = X(V, g, Le);
584
584
  return R({
585
585
  open: f,
586
- modify: h
587
- }), (w, t) => {
588
- const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), A = s("el-form");
589
- return C(), T(e(ee), {
590
- modelValue: e(c),
591
- "onUpdate:modelValue": t[6] || (t[6] = (q) => P(c) ? c.value = q : null),
586
+ modify: _
587
+ }), (x, n) => {
588
+ const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), c = s("el-col"), C = s("el-row"), A = s("el-form");
589
+ return S(), T(e(le), {
590
+ modelValue: e(m),
591
+ "onUpdate:modelValue": n[6] || (n[6] = (q) => N(m) ? m.value = q : null),
592
592
  title: e(i)("menu.rules"),
593
593
  width: "1000px",
594
594
  executing: e(u),
595
595
  onClosed: e(D),
596
- onSubmit: e(_)
596
+ onSubmit: e(h)
597
597
  }, {
598
598
  default: o(() => [
599
599
  l(A, {
600
600
  ref_key: "form",
601
601
  ref: p,
602
- model: e(n),
602
+ model: e(t),
603
603
  "label-width": "auto",
604
- rules: g,
604
+ rules: b,
605
605
  disabled: e(v) || e(u)
606
606
  }, {
607
607
  default: o(() => [
608
- l(S, { gutter: 20 }, {
608
+ l(C, { gutter: 20 }, {
609
609
  default: o(() => [
610
- l(m, { span: 10 }, {
610
+ l(c, { span: 10 }, {
611
611
  default: o(() => [
612
612
  l(d, {
613
613
  label: e(a)("menu.Menu"),
@@ -615,8 +615,8 @@ const dl = /* @__PURE__ */ O({
615
615
  }, {
616
616
  default: o(() => [
617
617
  l(ul, {
618
- modelValue: e(n).menu_id,
619
- "onUpdate:modelValue": t[0] || (t[0] = (q) => e(n).menu_id = q)
618
+ modelValue: e(t).menu_id,
619
+ "onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q)
620
620
  }, null, 8, ["modelValue"])
621
621
  ]),
622
622
  _: 1
@@ -628,8 +628,8 @@ const dl = /* @__PURE__ */ O({
628
628
  default: o(() => [
629
629
  l(r, {
630
630
  class: "w-full",
631
- modelValue: e(n).sort,
632
- "onUpdate:modelValue": t[1] || (t[1] = (q) => e(n).sort = q),
631
+ modelValue: e(t).sort,
632
+ "onUpdate:modelValue": n[1] || (n[1] = (q) => e(t).sort = q),
633
633
  min: 0,
634
634
  placeholder: e(a)("placeholder.input")
635
635
  }, null, 8, ["modelValue", "placeholder"])
@@ -642,8 +642,8 @@ const dl = /* @__PURE__ */ O({
642
642
  }, {
643
643
  default: o(() => [
644
644
  l(y, {
645
- modelValue: e(n).name,
646
- "onUpdate:modelValue": t[2] || (t[2] = (q) => e(n).name = q),
645
+ modelValue: e(t).name,
646
+ "onUpdate:modelValue": n[2] || (n[2] = (q) => e(t).name = q),
647
647
  placeholder: e(a)("placeholder.input")
648
648
  }, null, 8, ["modelValue", "placeholder"])
649
649
  ]),
@@ -655,8 +655,8 @@ const dl = /* @__PURE__ */ O({
655
655
  }, {
656
656
  default: o(() => [
657
657
  l(y, {
658
- modelValue: e(n).en_name,
659
- "onUpdate:modelValue": t[3] || (t[3] = (q) => e(n).en_name = q),
658
+ modelValue: e(t).en_name,
659
+ "onUpdate:modelValue": n[3] || (n[3] = (q) => e(t).en_name = q),
660
660
  placeholder: e(a)("placeholder.input")
661
661
  }, null, 8, ["modelValue", "placeholder"])
662
662
  ]),
@@ -668,8 +668,8 @@ const dl = /* @__PURE__ */ O({
668
668
  }, {
669
669
  default: o(() => [
670
670
  l(y, {
671
- modelValue: e(n).remark,
672
- "onUpdate:modelValue": t[4] || (t[4] = (q) => e(n).remark = q),
671
+ modelValue: e(t).remark,
672
+ "onUpdate:modelValue": n[4] || (n[4] = (q) => e(t).remark = q),
673
673
  placeholder: e(a)("placeholder.input")
674
674
  }, null, 8, ["modelValue", "placeholder"])
675
675
  ]),
@@ -678,7 +678,7 @@ const dl = /* @__PURE__ */ O({
678
678
  ]),
679
679
  _: 1
680
680
  }),
681
- l(m, { span: 14 }, {
681
+ l(c, { span: 14 }, {
682
682
  default: o(() => [
683
683
  l(d, {
684
684
  label: e(a)("menu.rules"),
@@ -686,8 +686,8 @@ const dl = /* @__PURE__ */ O({
686
686
  }, {
687
687
  default: o(() => [
688
688
  l(y, {
689
- modelValue: e(n).urls,
690
- "onUpdate:modelValue": t[5] || (t[5] = (q) => e(n).urls = q),
689
+ modelValue: e(t).urls,
690
+ "onUpdate:modelValue": n[5] || (n[5] = (q) => e(t).urls = q),
691
691
  type: "textarea",
692
692
  rows: 11,
693
693
  placeholder: e(a)("placeholder.input")
@@ -710,16 +710,16 @@ const dl = /* @__PURE__ */ O({
710
710
  };
711
711
  }
712
712
  });
713
- function Ae(x) {
714
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !xe(x);
713
+ function Ae(w) {
714
+ return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !xe(w);
715
715
  }
716
716
  const jl = /* @__PURE__ */ O({
717
717
  __name: "index",
718
- setup(x) {
718
+ setup(w) {
719
719
  const R = {
720
720
  keyword: "",
721
721
  status: 0
722
- }, k = N(""), V = [
722
+ }, k = B(""), V = [
723
723
  {
724
724
  label: a("base.sort"),
725
725
  prop: "sort",
@@ -730,9 +730,9 @@ const jl = /* @__PURE__ */ O({
730
730
  prop: "icon",
731
731
  width: 60,
732
732
  render: ({
733
- row: t
733
+ row: n
734
734
  }) => l("span", {
735
- class: "iconfont " + t.icon,
735
+ class: "iconfont " + n.icon,
736
736
  style: "font-size: 16px;"
737
737
  }, null)
738
738
  },
@@ -746,10 +746,10 @@ const jl = /* @__PURE__ */ O({
746
746
  prop: "parent",
747
747
  width: 120,
748
748
  render: ({
749
- row: t
749
+ row: n
750
750
  }) => {
751
751
  var d;
752
- return l(G, null, [(d = t.menu) == null ? void 0 : d.translate]);
752
+ return l(G, null, [(d = n.menu) == null ? void 0 : d.translate]);
753
753
  }
754
754
  },
755
755
  {
@@ -776,11 +776,11 @@ const jl = /* @__PURE__ */ O({
776
776
  width: 0,
777
777
  align: "left",
778
778
  render: ({
779
- row: t
779
+ row: n
780
780
  }) => l(s("el-space"), null, {
781
781
  default: () => {
782
782
  var d;
783
- return [(d = t.rules) == null ? void 0 : d.map((r) => l(s("el-popover"), {
783
+ return [(d = n.rules) == null ? void 0 : d.map((r) => l(s("el-popover"), {
784
784
  visible: k.value === r.key,
785
785
  title: a("message.warning"),
786
786
  placement: "top-end",
@@ -798,8 +798,8 @@ const jl = /* @__PURE__ */ O({
798
798
  default: () => [r.translate]
799
799
  }),
800
800
  default: () => {
801
- let y, m;
802
- return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${t.translate}-${r.translate} ?`]), l("div", {
801
+ let y, c;
802
+ return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${n.translate}-${r.translate} ?`]), l("div", {
803
803
  style: "text-align: right; margin: 0"
804
804
  }, [l(s("el-button"), {
805
805
  size: "small",
@@ -810,9 +810,9 @@ const jl = /* @__PURE__ */ O({
810
810
  }), l(s("el-button"), {
811
811
  size: "small",
812
812
  type: "danger",
813
- onClick: () => w(r.key)
814
- }, Ae(m = a("base.confirm")) ? m : {
815
- default: () => [m]
813
+ onClick: () => x(r.key)
814
+ }, Ae(c = a("base.confirm")) ? c : {
815
+ default: () => [c]
816
816
  })])]);
817
817
  }
818
818
  }))];
@@ -827,7 +827,7 @@ const jl = /* @__PURE__ */ O({
827
827
  props: {
828
828
  activeValue: 1,
829
829
  inactiveValue: 2,
830
- api: Y.urls[Ue],
830
+ api: H.urls[Ue],
831
831
  refresh: !0
832
832
  }
833
833
  },
@@ -837,39 +837,39 @@ const jl = /* @__PURE__ */ O({
837
837
  width: 60,
838
838
  align: "center",
839
839
  render: ({
840
- row: t
841
- }) => l(le, {
840
+ row: n
841
+ }) => l(ae, {
842
842
  size: "default",
843
843
  onModify: () => f({
844
- id: t.id
844
+ id: n.id
845
845
  })
846
846
  }, null)
847
847
  }
848
848
  ], {
849
- requesting: b
850
- } = E(Y), {
851
- tableRef: g,
852
- formModalRef: c,
849
+ requesting: g
850
+ } = F(H), {
851
+ tableRef: b,
852
+ formModalRef: m,
853
853
  keyword: i,
854
854
  search: p,
855
- refresh: n,
855
+ refresh: t,
856
856
  reset: v,
857
857
  openFormModal: u,
858
858
  editFormModal: f
859
- } = F(R), {
860
- formModalRef: h,
861
- openFormModal: _,
859
+ } = E(R), {
860
+ formModalRef: _,
861
+ openFormModal: h,
862
862
  editFormModal: D
863
- } = F(), w = (t) => {
864
- Le[Ye]({
865
- key: t
863
+ } = E(), x = (n) => {
864
+ Le[Ge]({
865
+ key: n
866
866
  }).then(() => {
867
- k.value = "", n();
867
+ k.value = "", t();
868
868
  });
869
869
  };
870
- return (t, d) => {
871
- const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), A = s("el-space"), q = s("el-page-header"), M = s("el-card");
872
- return C(), T(M, {
870
+ return (n, d) => {
871
+ const r = s("el-button"), y = s("el-input"), c = s("el-radio-button"), C = s("el-radio-group"), A = s("el-space"), q = s("el-page-header"), M = s("el-card");
872
+ return S(), T(M, {
873
873
  class: "basic-card flex-full",
874
874
  "body-class": "flex-1",
875
875
  onClick: d[5] || (d[5] = () => k.value = "")
@@ -878,14 +878,14 @@ const jl = /* @__PURE__ */ O({
878
878
  class: "basic-header"
879
879
  }, {
880
880
  title: o(() => [l(e(K), {
881
- loading: e(b),
881
+ loading: e(g),
882
882
  onRefresh: e(v)
883
883
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
884
884
  onOpen: e(u)
885
885
  }, null, 8, ["onOpen"]), l(r, {
886
886
  circle: "",
887
887
  icon: e(tl),
888
- onClick: e(_)
888
+ onClick: e(h)
889
889
  }, null, 8, ["icon", "onClick"])]),
890
890
  content: o(() => [l(A, {
891
891
  class: "search-bar"
@@ -898,19 +898,19 @@ const jl = /* @__PURE__ */ O({
898
898
  clearable: "",
899
899
  onKeyup: d[1] || (d[1] = he((L) => e(p)(), ["enter"])),
900
900
  onClear: d[2] || (d[2] = (L) => e(p)())
901
- }, null, 8, ["modelValue", "placeholder"]), l(S, {
901
+ }, null, 8, ["modelValue", "placeholder"]), l(C, {
902
902
  modelValue: e(i).status,
903
903
  "onUpdate:modelValue": d[3] || (d[3] = (L) => e(i).status = L),
904
904
  onChange: d[4] || (d[4] = (L) => e(p)())
905
905
  }, {
906
- default: o(() => [(C(), I(G, null, ae([0, 1, 2], (L) => l(m, {
906
+ default: o(() => [(S(), I(G, null, ee([0, 1, 2], (L) => l(c, {
907
907
  key: L,
908
908
  label: e(a)(`status.${L}`),
909
909
  value: L
910
910
  }, null, 8, ["label", "value"])), 64))]),
911
911
  _: 1
912
- }, 8, ["modelValue"]), l(e(oe), {
913
- disabled: e(b),
912
+ }, 8, ["modelValue"]), l(e(ne), {
913
+ disabled: e(g),
914
914
  onSearch: e(p)
915
915
  }, null, 8, ["disabled", "onSearch"])]),
916
916
  _: 1
@@ -919,105 +919,105 @@ const jl = /* @__PURE__ */ O({
919
919
  })]),
920
920
  default: o(() => [l(e(ce), {
921
921
  ref_key: "tableRef",
922
- ref: g,
922
+ ref: b,
923
923
  size: "small",
924
924
  columns: V,
925
- url: e(Y).urls[e(Ve)],
925
+ url: e(H).urls[e(Ve)],
926
926
  "search-param": e(i),
927
927
  "auto-search": ""
928
928
  }, null, 8, ["url", "search-param"]), l(sl, {
929
929
  ref_key: "formModalRef",
930
- ref: c,
931
- onRefresh: e(n)
930
+ ref: m,
931
+ onRefresh: e(t)
932
932
  }, null, 8, ["onRefresh"]), l(il, {
933
933
  ref_key: "ruleFormModalRef",
934
- ref: h,
935
- onRefresh: e(n)
934
+ ref: _,
935
+ onRefresh: e(t)
936
936
  }, null, 8, ["onRefresh"])]),
937
937
  _: 1
938
938
  });
939
939
  };
940
940
  }
941
- }), ke = W.routineApi("role", "key"), pl = { class: "rule-check" }, ml = { style: { width: "80px", "line-height": "36px" } }, cl = /* @__PURE__ */ O({
941
+ }), ke = Y.routineApi("role", "key"), pl = { class: "rule-check" }, ml = { style: { width: "80px", "line-height": "36px" } }, cl = /* @__PURE__ */ O({
942
942
  __name: "RulesCheck",
943
943
  props: {
944
944
  modelValue: { type: Array, required: !0 },
945
945
  disabled: { type: Boolean, default: !1 }
946
946
  },
947
947
  emits: ["update:modelValue"],
948
- setup(x, { expose: R, emit: k }) {
949
- const { requesting: V } = E(Y), b = x, g = k, c = N(!1), i = Pe({
948
+ setup(w, { expose: R, emit: k }) {
949
+ const { requesting: V } = F(H), g = w, b = k, m = B(!1), i = Be({
950
950
  checkAll: !1,
951
951
  indeterminate: !1,
952
952
  MenuAll: {},
953
953
  MenuList: {},
954
954
  MenuIndeterminate: {}
955
- }), { options: p, refresh: n } = re(ne(b, "modelValue"), g, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
955
+ }), { options: p, refresh: t } = te(oe(g, "modelValue"), b, { key: "RULE_CHECK", api: H, url: H.urls.rules, isArray: !0 }, { autoRefresh: !1 });
956
956
  function v() {
957
- p.value.forEach((w) => {
958
- var t;
959
- (t = w.rules) != null && t.length && (i.MenuAll[w.id] = !1, i.MenuIndeterminate[w.id] = !1, i.MenuList[w.id] = []);
957
+ p.value.forEach((x) => {
958
+ var n;
959
+ (n = x.rules) != null && n.length && (i.MenuAll[x.id] = !1, i.MenuIndeterminate[x.id] = !1, i.MenuList[x.id] = []);
960
960
  });
961
961
  }
962
- function u(w) {
963
- p.value.forEach((t) => {
962
+ function u(x) {
963
+ p.value.forEach((n) => {
964
964
  var d;
965
- (d = t.rules) != null && d.length && (i.MenuList[t.id] = w ? t.rules.map((r) => r.key) : []);
966
- }), h();
965
+ (d = n.rules) != null && d.length && (i.MenuList[n.id] = x ? n.rules.map((r) => r.key) : []);
966
+ }), _();
967
967
  }
968
- function f(w, t) {
969
- const d = p.value.find((r) => r.id === t);
970
- i.MenuList[t] = w && d ? d.rules.map((r) => r.key) : [], h();
968
+ function f(x, n) {
969
+ const d = p.value.find((r) => r.id === n);
970
+ i.MenuList[n] = x && d ? d.rules.map((r) => r.key) : [], _();
971
971
  }
972
- function h() {
973
- p.value.forEach((w) => {
972
+ function _() {
973
+ p.value.forEach((x) => {
974
974
  var r, y;
975
- const t = ((r = w.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[w.id]) == null ? void 0 : y.length) || 0;
976
- i.MenuAll[w.id] = d === t && t > 0, i.MenuIndeterminate[w.id] = d > 0 && d < t;
977
- }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0), g("update:modelValue", Object.values(i.MenuList).flat());
975
+ const n = ((r = x.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[x.id]) == null ? void 0 : y.length) || 0;
976
+ i.MenuAll[x.id] = d === n && n > 0, i.MenuIndeterminate[x.id] = d > 0 && d < n;
977
+ }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((x) => x.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
978
978
  }
979
- function _() {
980
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), g("update:modelValue", []), c.value = !1;
979
+ function h() {
980
+ i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), m.value = !1;
981
981
  }
982
- function D(w) {
983
- var t;
982
+ function D(x) {
983
+ var n;
984
984
  if (Array.isArray(p.value) && p.value.length > 0) {
985
985
  for (let d of p.value)
986
986
  if (Array.isArray(d.rules) && d.rules.length > 0)
987
987
  for (let r of d.rules)
988
- w.some((y) => y === r.key) && (i.MenuList[d.id] = (((t = i.MenuList) == null ? void 0 : t[d.id]) || []).concat([r.key]));
989
- h(), c.value = !0;
988
+ x.some((y) => y === r.key) && (i.MenuList[d.id] = (((n = i.MenuList) == null ? void 0 : n[d.id]) || []).concat([r.key]));
989
+ _(), m.value = !0;
990
990
  }
991
991
  }
992
- return Be(async () => {
993
- var w;
994
- (w = p.value) != null && w.length || await n(), !c.value && b.modelValue && D(b.modelValue);
992
+ return Pe(async () => {
993
+ var x;
994
+ (x = p.value) != null && x.length || await t(), !m.value && g.modelValue && D(g.modelValue);
995
995
  }), Re(
996
- () => b.modelValue,
997
- (w) => {
996
+ () => g.modelValue,
997
+ (x) => {
998
998
  je(() => {
999
- var t;
1000
- c.value || !((t = p.value) != null && t.length) || w && w.length > 0 && D(w);
999
+ var n;
1000
+ m.value || !((n = p.value) != null && n.length) || x && x.length > 0 && D(x);
1001
1001
  });
1002
1002
  },
1003
1003
  { deep: !0, immediate: !0 }
1004
1004
  ), R({
1005
1005
  generateOption: D,
1006
- cleanChecked: _
1007
- }), (w, t) => {
1008
- const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), m = s("el-divider"), S = s("el-checkbox-group");
1009
- return C(), I("div", pl, [
1006
+ cleanChecked: h
1007
+ }), (x, n) => {
1008
+ const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), c = s("el-divider"), C = s("el-checkbox-group");
1009
+ return S(), I("div", pl, [
1010
1010
  l(r, { style: { "margin-bottom": "6px" } }, {
1011
1011
  default: o(() => [
1012
1012
  l(d, {
1013
1013
  "model-value": i.checkAll,
1014
1014
  indeterminate: i.indeterminate,
1015
1015
  id: "all",
1016
- disabled: x.disabled,
1016
+ disabled: w.disabled,
1017
1017
  onChange: u
1018
1018
  }, {
1019
- default: o(() => [...t[1] || (t[1] = [
1020
- B("span", null, "全选", -1)
1019
+ default: o(() => [...n[1] || (n[1] = [
1020
+ P("span", null, "全选", -1)
1021
1021
  ])]),
1022
1022
  _: 1
1023
1023
  }, 8, ["model-value", "indeterminate", "disabled"]),
@@ -1025,7 +1025,7 @@ const jl = /* @__PURE__ */ O({
1025
1025
  loading: e(V),
1026
1026
  text: "",
1027
1027
  size: "small",
1028
- onRefresh: t[0] || (t[0] = (A) => e(n)(!0))
1028
+ onRefresh: n[0] || (n[0] = (A) => e(t)(!0))
1029
1029
  }, null, 8, ["loading"])
1030
1030
  ]),
1031
1031
  _: 1
@@ -1036,7 +1036,7 @@ const jl = /* @__PURE__ */ O({
1036
1036
  class: "rule-check-content"
1037
1037
  }, {
1038
1038
  default: o(() => [
1039
- (C(!0), I(G, null, ae(e(p), (A) => (C(), I("div", {
1039
+ (S(!0), I(G, null, ee(e(p), (A) => (S(), I("div", {
1040
1040
  key: A.id
1041
1041
  }, [
1042
1042
  l(r, {
@@ -1047,7 +1047,7 @@ const jl = /* @__PURE__ */ O({
1047
1047
  l(d, {
1048
1048
  style: { "min-width": "150px" },
1049
1049
  "model-value": i.MenuAll[A.id],
1050
- disabled: x.disabled || !A.rules || A.rules.length <= 0,
1050
+ disabled: w.disabled || !A.rules || A.rules.length <= 0,
1051
1051
  indeterminate: i.MenuIndeterminate[A.id],
1052
1052
  onChange: (q) => f(q, A.id)
1053
1053
  }, {
@@ -1061,22 +1061,22 @@ const jl = /* @__PURE__ */ O({
1061
1061
  ]),
1062
1062
  _: 2
1063
1063
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1064
- l(m, { direction: "vertical" }),
1065
- A.rules ? (C(), T(S, {
1064
+ l(c, { direction: "vertical" }),
1065
+ A.rules ? (S(), T(C, {
1066
1066
  key: 0,
1067
1067
  modelValue: i.MenuList[A.id],
1068
1068
  "onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
1069
- disabled: x.disabled,
1069
+ disabled: w.disabled,
1070
1070
  style: { margin: "auto" },
1071
- onChange: h
1071
+ onChange: _
1072
1072
  }, {
1073
1073
  default: o(() => [
1074
- (C(!0), I(G, null, ae(A.rules, (q) => (C(), T(d, {
1074
+ (S(!0), I(G, null, ee(A.rules, (q) => (S(), T(d, {
1075
1075
  key: q.key,
1076
1076
  value: q.key
1077
1077
  }, {
1078
1078
  default: o(() => [
1079
- B("div", ml, z(q.translate), 1)
1079
+ P("div", ml, z(q.translate), 1)
1080
1080
  ]),
1081
1081
  _: 2
1082
1082
  }, 1032, ["value"]))), 128))
@@ -1093,16 +1093,16 @@ const jl = /* @__PURE__ */ O({
1093
1093
  ]);
1094
1094
  };
1095
1095
  }
1096
- }), qe = (x, R) => {
1097
- const k = x.__vccOpts || x;
1098
- for (const [V, b] of R)
1099
- k[V] = b;
1096
+ }), qe = (w, R) => {
1097
+ const k = w.__vccOpts || w;
1098
+ for (const [V, g] of R)
1099
+ k[V] = g;
1100
1100
  return k;
1101
1101
  }, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
1102
1102
  __name: "RoleFormModal",
1103
1103
  emits: ["refresh"],
1104
- setup(x, { expose: R, emit: k }) {
1105
- const V = k, b = N(), g = {
1104
+ setup(w, { expose: R, emit: k }) {
1105
+ const V = k, g = B(), b = {
1106
1106
  key: "",
1107
1107
  module: "",
1108
1108
  sort: 0,
@@ -1110,7 +1110,7 @@ const jl = /* @__PURE__ */ O({
1110
1110
  en_name: "",
1111
1111
  remark: "",
1112
1112
  rules: []
1113
- }, c = {
1113
+ }, m = {
1114
1114
  name: [
1115
1115
  {
1116
1116
  required: !0,
@@ -1125,39 +1125,39 @@ const jl = /* @__PURE__ */ O({
1125
1125
  trigger: "blur"
1126
1126
  }
1127
1127
  ]
1128
- }, { modal: i, title: p, form: n, formData: v, requesting: u, executing: f, open: h, modify: _, submit: D, closed: w } = X(V, g, ke), t = () => {
1128
+ }, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: _, modify: h, submit: D, closed: x } = X(V, b, ke), n = () => {
1129
1129
  var d;
1130
- (d = b.value) == null || d.cleanChecked(), w();
1130
+ (d = g.value) == null || d.cleanChecked(), x();
1131
1131
  };
1132
1132
  return R({
1133
- open: h,
1134
- modify: _
1133
+ open: _,
1134
+ modify: h
1135
1135
  }), (d, r) => {
1136
- const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), A = s("el-input-number"), q = s("el-row"), M = s("el-form");
1137
- return C(), T(e(ee), {
1136
+ const y = s("el-input"), c = s("el-form-item"), C = s("el-col"), A = s("el-input-number"), q = s("el-row"), M = s("el-form");
1137
+ return S(), T(e(le), {
1138
1138
  modelValue: e(i),
1139
- "onUpdate:modelValue": r[6] || (r[6] = (L) => P(i) ? i.value = L : null),
1139
+ "onUpdate:modelValue": r[6] || (r[6] = (L) => N(i) ? i.value = L : null),
1140
1140
  title: e(p)(),
1141
1141
  width: "1000px",
1142
1142
  executing: e(f),
1143
- onClosed: t,
1143
+ onClosed: n,
1144
1144
  onSubmit: e(D)
1145
1145
  }, {
1146
1146
  default: o(() => [
1147
1147
  l(M, {
1148
1148
  ref_key: "form",
1149
- ref: n,
1149
+ ref: t,
1150
1150
  model: e(v),
1151
1151
  "label-width": "auto",
1152
- rules: c,
1152
+ rules: m,
1153
1153
  disabled: e(u) || e(f)
1154
1154
  }, {
1155
1155
  default: o(() => [
1156
1156
  l(q, { gutter: 20 }, {
1157
1157
  default: o(() => [
1158
- l(S, { span: 12 }, {
1158
+ l(C, { span: 12 }, {
1159
1159
  default: o(() => [
1160
- l(m, {
1160
+ l(c, {
1161
1161
  label: e(a)("base.module"),
1162
1162
  prop: "module"
1163
1163
  }, {
@@ -1173,9 +1173,9 @@ const jl = /* @__PURE__ */ O({
1173
1173
  ]),
1174
1174
  _: 1
1175
1175
  }),
1176
- l(S, { span: 12 }, {
1176
+ l(C, { span: 12 }, {
1177
1177
  default: o(() => [
1178
- l(m, {
1178
+ l(c, {
1179
1179
  label: e(a)("base.sort"),
1180
1180
  prop: "sort"
1181
1181
  }, {
@@ -1196,7 +1196,7 @@ const jl = /* @__PURE__ */ O({
1196
1196
  ]),
1197
1197
  _: 1
1198
1198
  }),
1199
- l(m, {
1199
+ l(c, {
1200
1200
  label: e(a)("base.name"),
1201
1201
  prop: "name"
1202
1202
  }, {
@@ -1209,7 +1209,7 @@ const jl = /* @__PURE__ */ O({
1209
1209
  ]),
1210
1210
  _: 1
1211
1211
  }, 8, ["label"]),
1212
- l(m, {
1212
+ l(c, {
1213
1213
  label: e(a)("base.en_name"),
1214
1214
  prop: "en_name"
1215
1215
  }, {
@@ -1222,7 +1222,7 @@ const jl = /* @__PURE__ */ O({
1222
1222
  ]),
1223
1223
  _: 1
1224
1224
  }, 8, ["label"]),
1225
- l(m, {
1225
+ l(c, {
1226
1226
  label: e(a)("base.remark"),
1227
1227
  prop: "remark"
1228
1228
  }, {
@@ -1235,14 +1235,14 @@ const jl = /* @__PURE__ */ O({
1235
1235
  ]),
1236
1236
  _: 1
1237
1237
  }, 8, ["label"]),
1238
- l(m, {
1238
+ l(c, {
1239
1239
  label: e(a)("menu.rules"),
1240
1240
  prop: "rules"
1241
1241
  }, {
1242
1242
  default: o(() => [
1243
1243
  l(fl, {
1244
1244
  ref_key: "rulesCheck",
1245
- ref: b,
1245
+ ref: g,
1246
1246
  modelValue: e(v).rules,
1247
1247
  "onUpdate:modelValue": r[5] || (r[5] = (L) => e(v).rules = L),
1248
1248
  disabled: e(u) || e(f)
@@ -1260,7 +1260,7 @@ const jl = /* @__PURE__ */ O({
1260
1260
  }
1261
1261
  }), Kl = /* @__PURE__ */ O({
1262
1262
  __name: "index",
1263
- setup(x) {
1263
+ setup(w) {
1264
1264
  const R = {
1265
1265
  keyword: ""
1266
1266
  }, k = [
@@ -1297,7 +1297,7 @@ const jl = /* @__PURE__ */ O({
1297
1297
  align: "center",
1298
1298
  render: ({
1299
1299
  row: f
1300
- }) => l(le, {
1300
+ }) => l(ae, {
1301
1301
  size: "default",
1302
1302
  onModify: () => u({
1303
1303
  key: f.key
@@ -1306,23 +1306,23 @@ const jl = /* @__PURE__ */ O({
1306
1306
  }
1307
1307
  ], {
1308
1308
  requesting: V
1309
- } = E(ke), {
1310
- tableRef: b,
1311
- formModalRef: g,
1312
- keyword: c,
1309
+ } = F(ke), {
1310
+ tableRef: g,
1311
+ formModalRef: b,
1312
+ keyword: m,
1313
1313
  search: i,
1314
1314
  reset: p,
1315
- refresh: n,
1315
+ refresh: t,
1316
1316
  openFormModal: v,
1317
1317
  editFormModal: u
1318
- } = F(R);
1319
- return (f, h) => {
1320
- const _ = s("el-input"), D = s("el-space"), w = s("el-page-header"), t = s("el-card");
1321
- return C(), T(t, {
1318
+ } = E(R);
1319
+ return (f, _) => {
1320
+ const h = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
1321
+ return S(), T(n, {
1322
1322
  class: "basic-card flex-full",
1323
1323
  "body-class": "flex-1"
1324
1324
  }, {
1325
- header: o(() => [l(w, {
1325
+ header: o(() => [l(x, {
1326
1326
  class: "basic-header"
1327
1327
  }, {
1328
1328
  title: o(() => [l(e(K), {
@@ -1334,17 +1334,17 @@ const jl = /* @__PURE__ */ O({
1334
1334
  content: o(() => [l(D, {
1335
1335
  class: "search-bar"
1336
1336
  }, {
1337
- default: o(() => [l(_, {
1337
+ default: o(() => [l(h, {
1338
1338
  class: "basic-search-input",
1339
- modelValue: e(c).keyword,
1340
- "onUpdate:modelValue": h[0] || (h[0] = (d) => e(c).keyword = d),
1339
+ modelValue: e(m).keyword,
1340
+ "onUpdate:modelValue": _[0] || (_[0] = (d) => e(m).keyword = d),
1341
1341
  placeholder: e(a)("placeholder.keyword"),
1342
1342
  clearable: "",
1343
- onKeyup: h[1] || (h[1] = he((d) => e(i)(), ["enter"])),
1344
- onClear: h[2] || (h[2] = (d) => e(i)())
1345
- }, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
1343
+ onKeyup: _[1] || (_[1] = he((d) => e(i)(), ["enter"])),
1344
+ onClear: _[2] || (_[2] = (d) => e(i)())
1345
+ }, null, 8, ["modelValue", "placeholder"]), l(e(ne), {
1346
1346
  disabled: e(V),
1347
- onSearch: h[3] || (h[3] = (d) => e(i)())
1347
+ onSearch: _[3] || (_[3] = (d) => e(i)())
1348
1348
  }, null, 8, ["disabled"])]),
1349
1349
  _: 1
1350
1350
  })]),
@@ -1352,24 +1352,24 @@ const jl = /* @__PURE__ */ O({
1352
1352
  })]),
1353
1353
  default: o(() => [l(e(ce), {
1354
1354
  ref_key: "tableRef",
1355
- ref: b,
1355
+ ref: g,
1356
1356
  columns: k,
1357
1357
  url: e(ke).urls[e(Ve)],
1358
- "search-param": e(c),
1358
+ "search-param": e(m),
1359
1359
  "auto-search": ""
1360
1360
  }, null, 8, ["url", "search-param"]), l(_l, {
1361
1361
  ref_key: "formModalRef",
1362
- ref: g,
1363
- onRefresh: e(n)
1362
+ ref: b,
1363
+ onRefresh: e(t)
1364
1364
  }, null, 8, ["onRefresh"])]),
1365
1365
  _: 1
1366
1366
  });
1367
1367
  };
1368
1368
  }
1369
- }), J = W.routineApi("I18N", "uuid", {
1369
+ }), W = Y.routineApi("I18N", "uuid", {
1370
1370
  modules: "modules",
1371
1371
  languages: "languages"
1372
- }, { gen: "gen" }, ["I18N_MODULES"]), te = W.routineApi("I18N_template", "uuid", {
1372
+ }, { gen: "gen" }, ["I18N_MODULES"]), re = Y.routineApi("I18N_template", "uuid", {
1373
1373
  apps: "apps"
1374
1374
  }), Te = /* @__PURE__ */ O({
1375
1375
  __name: "ModuleSelect",
@@ -1393,48 +1393,48 @@ const jl = /* @__PURE__ */ O({
1393
1393
  }
1394
1394
  },
1395
1395
  emits: ["update:modelValue", "update:value", "change"],
1396
- setup(x, {
1396
+ setup(w, {
1397
1397
  emit: R
1398
1398
  }) {
1399
- const k = R, V = x, {
1400
- requesting: b
1401
- } = E(J), {
1402
- value: g,
1403
- options: c,
1399
+ const k = R, V = w, {
1400
+ requesting: g
1401
+ } = F(W), {
1402
+ value: b,
1403
+ options: m,
1404
1404
  change: i,
1405
1405
  refresh: p,
1406
- filterOptions: n
1407
- } = re(ne(V, "modelValue"), k, {
1406
+ filterOptions: t
1407
+ } = te(oe(V, "modelValue"), k, {
1408
1408
  key: "I18N_MODULES",
1409
- url: J.urls.modules,
1410
- api: J,
1409
+ url: W.urls.modules,
1410
+ api: W,
1411
1411
  isArray: !0
1412
1412
  });
1413
1413
  return (v, u) => {
1414
- const f = s("el-space"), h = s("el-select-v2");
1415
- return C(), T(h, {
1414
+ const f = s("el-space"), _ = s("el-select-v2");
1415
+ return S(), T(_, {
1416
1416
  class: "w-full",
1417
- modelValue: e(g),
1418
- "onUpdate:modelValue": u[1] || (u[1] = (_) => P(g) ? g.value = _ : null),
1419
- options: e(c),
1420
- multiple: x.multiple,
1421
- disabled: e(b),
1422
- clearable: x.clearable,
1417
+ modelValue: e(b),
1418
+ "onUpdate:modelValue": u[1] || (u[1] = (h) => N(b) ? b.value = h : null),
1419
+ options: e(m),
1420
+ multiple: w.multiple,
1421
+ disabled: e(g),
1422
+ clearable: w.clearable,
1423
1423
  filterable: "",
1424
- "allow-create": x.allowCreate,
1424
+ "allow-create": w.allowCreate,
1425
1425
  "default-first-option": "",
1426
1426
  placeholder: e(a)("placeholder.select"),
1427
- filterOptions: e(n),
1427
+ filterOptions: e(t),
1428
1428
  onChange: e(i)
1429
1429
  }, {
1430
1430
  prefix: o(() => [l(e(me), {
1431
- loading: e(b),
1432
- onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
1431
+ loading: e(g),
1432
+ onRefresh: u[0] || (u[0] = (h) => e(p)(!0))
1433
1433
  }, null, 8, ["loading"])]),
1434
1434
  default: o(({
1435
- item: _
1435
+ item: h
1436
1436
  }) => [l(f, null, {
1437
- default: o(() => [B("span", null, z(_.value), 1)]),
1437
+ default: o(() => [P("span", null, z(h.value), 1)]),
1438
1438
  _: 2
1439
1439
  }, 1024)]),
1440
1440
  _: 1
@@ -1444,8 +1444,8 @@ const jl = /* @__PURE__ */ O({
1444
1444
  }), bl = /* @__PURE__ */ O({
1445
1445
  __name: "I18N",
1446
1446
  emits: ["refresh"],
1447
- setup(x, { expose: R, emit: k }) {
1448
- const V = k, b = {
1447
+ setup(w, { expose: R, emit: k }) {
1448
+ const V = k, g = {
1449
1449
  uuid: "",
1450
1450
  key: "",
1451
1451
  module: void 0,
@@ -1454,7 +1454,7 @@ const jl = /* @__PURE__ */ O({
1454
1454
  "en-US": ""
1455
1455
  },
1456
1456
  remark: ""
1457
- }, g = {
1457
+ }, b = {
1458
1458
  module: [
1459
1459
  {
1460
1460
  required: !0,
@@ -1476,33 +1476,33 @@ const jl = /* @__PURE__ */ O({
1476
1476
  trigger: "change"
1477
1477
  }
1478
1478
  ]
1479
- }, c = N([]), i = Ge();
1479
+ }, m = B([]), i = Ye();
1480
1480
  function p() {
1481
1481
  const r = {
1482
1482
  isArray: !0,
1483
1483
  key: "I18N_LANGUAGES",
1484
- url: J.urls.languages,
1484
+ url: W.urls.languages,
1485
1485
  params: {}
1486
1486
  };
1487
1487
  i.GET_CACHE({ ...r, force: !0 }).then((y) => {
1488
- c.value = y;
1488
+ m.value = y;
1489
1489
  });
1490
1490
  }
1491
1491
  p();
1492
- const { modal: n, title: v, form: u, formData: f, requesting: h, executing: _, open: D, modify: w, submit: t, closed: d } = X(V, b, J);
1492
+ const { modal: t, title: v, form: u, formData: f, requesting: _, executing: h, open: D, modify: x, submit: n, closed: d } = X(V, g, W);
1493
1493
  return R({
1494
1494
  open: D,
1495
- modify: w
1495
+ modify: x
1496
1496
  }), (r, y) => {
1497
- const m = s("el-form-item"), S = s("el-input"), A = s("el-space"), q = s("el-form");
1498
- return C(), T(e(ee), {
1499
- modelValue: e(n),
1500
- "onUpdate:modelValue": y[3] || (y[3] = (M) => P(n) ? n.value = M : null),
1497
+ const c = s("el-form-item"), C = s("el-input"), A = s("el-space"), q = s("el-form");
1498
+ return S(), T(e(le), {
1499
+ modelValue: e(t),
1500
+ "onUpdate:modelValue": y[3] || (y[3] = (M) => N(t) ? t.value = M : null),
1501
1501
  title: e(v)(),
1502
1502
  width: "600px",
1503
- executing: e(_),
1503
+ executing: e(h),
1504
1504
  onClosed: e(d),
1505
- onSubmit: e(t)
1505
+ onSubmit: e(n)
1506
1506
  }, {
1507
1507
  default: o(() => [
1508
1508
  l(q, {
@@ -1510,11 +1510,11 @@ const jl = /* @__PURE__ */ O({
1510
1510
  ref: u,
1511
1511
  model: e(f),
1512
1512
  "label-width": "auto",
1513
- rules: g,
1514
- disabled: e(h) || e(_)
1513
+ rules: b,
1514
+ disabled: e(_) || e(h)
1515
1515
  }, {
1516
1516
  default: o(() => [
1517
- l(m, {
1517
+ l(c, {
1518
1518
  label: e(a)("i18n.module"),
1519
1519
  prop: "module",
1520
1520
  required: ""
@@ -1528,13 +1528,13 @@ const jl = /* @__PURE__ */ O({
1528
1528
  ]),
1529
1529
  _: 1
1530
1530
  }, 8, ["label"]),
1531
- l(m, {
1531
+ l(c, {
1532
1532
  label: e(a)("i18n.key"),
1533
1533
  prop: "key",
1534
1534
  required: ""
1535
1535
  }, {
1536
1536
  default: o(() => [
1537
- l(S, {
1537
+ l(C, {
1538
1538
  modelValue: e(f).key,
1539
1539
  "onUpdate:modelValue": y[1] || (y[1] = (M) => e(f).key = M),
1540
1540
  placeholder: e(a)("i18n.placeholder.key")
@@ -1542,7 +1542,7 @@ const jl = /* @__PURE__ */ O({
1542
1542
  ]),
1543
1543
  _: 1
1544
1544
  }, 8, ["label"]),
1545
- l(m, {
1545
+ l(c, {
1546
1546
  label: e(a)("i18n.language"),
1547
1547
  prop: "language",
1548
1548
  required: ""
@@ -1554,8 +1554,8 @@ const jl = /* @__PURE__ */ O({
1554
1554
  style: { width: "100%" }
1555
1555
  }, {
1556
1556
  default: o(() => [
1557
- (C(!0), I(G, null, ae(c.value, (M) => (C(), I("div", { key: M }, [
1558
- l(S, {
1557
+ (S(!0), I(G, null, ee(m.value, (M) => (S(), I("div", { key: M }, [
1558
+ l(C, {
1559
1559
  modelValue: e(f).language[M],
1560
1560
  "onUpdate:modelValue": (L) => e(f).language[M] = L,
1561
1561
  placeholder: e(a)("i18n.placeholder.language")
@@ -1572,12 +1572,12 @@ const jl = /* @__PURE__ */ O({
1572
1572
  ]),
1573
1573
  _: 1
1574
1574
  }, 8, ["label"]),
1575
- l(m, {
1575
+ l(c, {
1576
1576
  label: e(a)("base.remark"),
1577
1577
  prop: "remark"
1578
1578
  }, {
1579
1579
  default: o(() => [
1580
- l(S, {
1580
+ l(C, {
1581
1581
  modelValue: e(f).remark,
1582
1582
  "onUpdate:modelValue": y[2] || (y[2] = (M) => e(f).remark = M),
1583
1583
  placeholder: e(a)("placeholder.remark")
@@ -1594,21 +1594,21 @@ const jl = /* @__PURE__ */ O({
1594
1594
  };
1595
1595
  }
1596
1596
  });
1597
- function gl(x) {
1598
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !xe(x);
1597
+ function gl(w) {
1598
+ return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !xe(w);
1599
1599
  }
1600
1600
  const Oe = /* @__PURE__ */ O({
1601
1601
  __name: "I18N",
1602
1602
  emits: ["closed", "choosed"],
1603
- setup(x, {
1603
+ setup(w, {
1604
1604
  expose: R,
1605
1605
  emit: k
1606
1606
  }) {
1607
- const V = N(!1), b = k, g = {
1607
+ const V = B(!1), g = k, b = {
1608
1608
  keyword: "",
1609
1609
  module: void 0,
1610
1610
  status: 0
1611
- }, c = [{
1611
+ }, m = [{
1612
1612
  label: a("i18n.module"),
1613
1613
  prop: "module",
1614
1614
  width: 120
@@ -1623,9 +1623,9 @@ const Oe = /* @__PURE__ */ O({
1623
1623
  render: ({
1624
1624
  row: y
1625
1625
  }) => {
1626
- const S = Object.keys(y.language).filter((A) => !!y.language[A]).map((A) => `${A}: ${y.language[A]}`).join("; ");
1627
- return l(s("el-space"), null, gl(S) ? S : {
1628
- default: () => [S]
1626
+ const C = Object.keys(y.language).filter((A) => !!y.language[A]).map((A) => `${A}: ${y.language[A]}`).join("; ");
1627
+ return l(s("el-space"), null, gl(C) ? C : {
1628
+ default: () => [C]
1629
1629
  });
1630
1630
  }
1631
1631
  }, {
@@ -1636,7 +1636,7 @@ const Oe = /* @__PURE__ */ O({
1636
1636
  props: {
1637
1637
  activeValue: 1,
1638
1638
  inactiveValue: 2,
1639
- api: J.urls[Ue],
1639
+ api: W.urls[Ue],
1640
1640
  refresh: !0
1641
1641
  }
1642
1642
  }, {
@@ -1647,54 +1647,54 @@ const Oe = /* @__PURE__ */ O({
1647
1647
  render: ({
1648
1648
  row: y
1649
1649
  }) => l(s("el-space"), null, {
1650
- default: () => [l(le, {
1650
+ default: () => [l(ae, {
1651
1651
  size: "default",
1652
- onModify: () => w({
1652
+ onModify: () => x({
1653
1653
  uuid: y.uuid
1654
1654
  })
1655
- }, null), l(H, {
1655
+ }, null), l(Q, {
1656
1656
  size: "default",
1657
1657
  text: !0,
1658
1658
  type: "danger",
1659
1659
  loading: p.value,
1660
- onClick: () => t(y.uuid)
1660
+ onClick: () => n(y.uuid)
1661
1661
  }, null)]
1662
1662
  })
1663
1663
  }], {
1664
1664
  requesting: i,
1665
1665
  executing: p
1666
- } = E(J), {
1667
- tableRef: n,
1666
+ } = F(W), {
1667
+ tableRef: t,
1668
1668
  formModalRef: v,
1669
1669
  keyword: u,
1670
1670
  search: f,
1671
- reset: h,
1672
- refresh: _,
1671
+ reset: _,
1672
+ refresh: h,
1673
1673
  openFormModal: D,
1674
- editFormModal: w
1675
- } = F(g);
1676
- function t(y) {
1677
- return J.remove({
1674
+ editFormModal: x
1675
+ } = E(b);
1676
+ function n(y) {
1677
+ return W.remove({
1678
1678
  uuid: y
1679
1679
  }).finally(() => {
1680
- _();
1680
+ h();
1681
1681
  });
1682
1682
  }
1683
1683
  const d = () => {
1684
1684
  V.value = !0;
1685
1685
  };
1686
1686
  function r(y) {
1687
- b("choosed", y);
1687
+ g("choosed", y);
1688
1688
  }
1689
1689
  return Re(() => V.value, (y) => {
1690
- y || b("closed");
1690
+ y || g("closed");
1691
1691
  }), R({
1692
1692
  open: d
1693
- }), (y, m) => {
1694
- const S = s("el-input"), A = s("el-radio-button"), q = s("el-radio-group"), M = s("el-space"), L = s("el-page-header");
1695
- return C(), T(e(fe), {
1693
+ }), (y, c) => {
1694
+ const C = s("el-input"), A = s("el-radio-button"), q = s("el-radio-group"), M = s("el-space"), L = s("el-page-header");
1695
+ return S(), T(e(fe), {
1696
1696
  modelValue: V.value,
1697
- "onUpdate:modelValue": m[7] || (m[7] = (U) => V.value = U),
1697
+ "onUpdate:modelValue": c[7] || (c[7] = (U) => V.value = U),
1698
1698
  width: "880px",
1699
1699
  "show-close": !1,
1700
1700
  class: "basic-drawer"
@@ -1704,7 +1704,7 @@ const Oe = /* @__PURE__ */ O({
1704
1704
  }, {
1705
1705
  title: o(() => [l(e(K), {
1706
1706
  loading: e(i),
1707
- onRefresh: e(h)
1707
+ onRefresh: e(_)
1708
1708
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
1709
1709
  onOpen: e(D),
1710
1710
  disabled: e(i)
@@ -1712,20 +1712,20 @@ const Oe = /* @__PURE__ */ O({
1712
1712
  content: o(() => [l(M, {
1713
1713
  class: "search-bar"
1714
1714
  }, {
1715
- default: o(() => [l(S, {
1715
+ default: o(() => [l(C, {
1716
1716
  style: {
1717
1717
  width: "160px"
1718
1718
  },
1719
1719
  modelValue: e(u).keyword,
1720
- "onUpdate:modelValue": m[0] || (m[0] = (U) => e(u).keyword = U),
1720
+ "onUpdate:modelValue": c[0] || (c[0] = (U) => e(u).keyword = U),
1721
1721
  disabled: e(i),
1722
1722
  placeholder: e(a)("placeholder.keyword"),
1723
1723
  clearable: "",
1724
- onKeyup: m[1] || (m[1] = he((U) => e(f)(), ["enter"])),
1725
- onClear: m[2] || (m[2] = (U) => e(f)())
1724
+ onKeyup: c[1] || (c[1] = he((U) => e(f)(), ["enter"])),
1725
+ onClear: c[2] || (c[2] = (U) => e(f)())
1726
1726
  }, null, 8, ["modelValue", "disabled", "placeholder"]), l(Te, {
1727
1727
  modelValue: e(u).module,
1728
- "onUpdate:modelValue": m[3] || (m[3] = (U) => e(u).module = U),
1728
+ "onUpdate:modelValue": c[3] || (c[3] = (U) => e(u).module = U),
1729
1729
  clearable: !0,
1730
1730
  disabled: e(i),
1731
1731
  style: {
@@ -1733,19 +1733,19 @@ const Oe = /* @__PURE__ */ O({
1733
1733
  }
1734
1734
  }, null, 8, ["modelValue", "disabled"]), l(q, {
1735
1735
  modelValue: e(u).status,
1736
- "onUpdate:modelValue": m[4] || (m[4] = (U) => e(u).status = U),
1737
- onChange: m[5] || (m[5] = (U) => e(f)()),
1736
+ "onUpdate:modelValue": c[4] || (c[4] = (U) => e(u).status = U),
1737
+ onChange: c[5] || (c[5] = (U) => e(f)()),
1738
1738
  disabled: e(i)
1739
1739
  }, {
1740
- default: o(() => [(C(), I(G, null, ae([0, 1, 2], (U) => l(A, {
1740
+ default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(A, {
1741
1741
  key: U,
1742
1742
  label: e(a)(`status.${U}`),
1743
1743
  value: U
1744
1744
  }, null, 8, ["label", "value"])), 64))]),
1745
1745
  _: 1
1746
- }, 8, ["modelValue", "disabled"]), l(e(oe), {
1746
+ }, 8, ["modelValue", "disabled"]), l(e(ne), {
1747
1747
  disabled: e(i),
1748
- onSearch: m[6] || (m[6] = (U) => e(f)())
1748
+ onSearch: c[6] || (c[6] = (U) => e(f)())
1749
1749
  }, null, 8, ["disabled"])]),
1750
1750
  _: 1
1751
1751
  })]),
@@ -1753,16 +1753,16 @@ const Oe = /* @__PURE__ */ O({
1753
1753
  })]),
1754
1754
  default: o(() => [l(e(ce), {
1755
1755
  ref_key: "tableRef",
1756
- ref: n,
1757
- columns: c,
1758
- url: e(J).urls[e(Ve)],
1756
+ ref: t,
1757
+ columns: m,
1758
+ url: e(W).urls[e(Ve)],
1759
1759
  "search-param": e(u),
1760
1760
  onRowDblclick: r,
1761
1761
  "auto-search": ""
1762
1762
  }, null, 8, ["url", "search-param"]), l(bl, {
1763
1763
  ref_key: "formModalRef",
1764
1764
  ref: v,
1765
- onRefresh: e(_)
1765
+ onRefresh: e(h)
1766
1766
  }, null, 8, ["onRefresh"])]),
1767
1767
  _: 1
1768
1768
  }, 8, ["modelValue"]);
@@ -1771,11 +1771,11 @@ const Oe = /* @__PURE__ */ O({
1771
1771
  }), hl = { key: 0 }, Vl = { key: 1 }, yl = /* @__PURE__ */ O({
1772
1772
  __name: "template",
1773
1773
  emits: ["refresh"],
1774
- setup(x, { expose: R, emit: k }) {
1775
- const { formModalRef: V, openFormModal: b } = F(), g = k, c = N("600px"), i = N({
1774
+ setup(w, { expose: R, emit: k }) {
1775
+ const { formModalRef: V, openFormModal: g } = E(), b = k, m = B("600px"), i = B({
1776
1776
  "zh-CN": "primary",
1777
1777
  "en-US": "success"
1778
- }), p = N({}), n = {
1778
+ }), p = B({}), t = {
1779
1779
  uuid: "",
1780
1780
  app: 1,
1781
1781
  keys: "",
@@ -1803,24 +1803,24 @@ const Oe = /* @__PURE__ */ O({
1803
1803
  trigger: "change"
1804
1804
  }
1805
1805
  ]
1806
- }, { modal: u, title: f, form: h, formData: _, requesting: D, executing: w, open: t, modify: d, submit: r, closed: y } = X(g, n, te);
1807
- function m() {
1808
- c.value = "1080px", b();
1806
+ }, { modal: u, title: f, form: _, formData: h, requesting: D, executing: x, open: n, modify: d, submit: r, closed: y } = X(b, t, re);
1807
+ function c() {
1808
+ m.value = "1080px", g();
1809
1809
  }
1810
- function S() {
1811
- c.value = "600px";
1810
+ function C() {
1811
+ m.value = "600px";
1812
1812
  }
1813
1813
  function A(L) {
1814
1814
  let U = L.module.toLowerCase() + "." + L.key.toLowerCase();
1815
- _.keys = U, _.values.push(U);
1815
+ h.keys = U, h.values.push(U);
1816
1816
  for (const se in L.language)
1817
1817
  p.value[se] || (p.value[se] = []), p.value[se].push(L.language[se]);
1818
1818
  }
1819
1819
  function q() {
1820
- c.value = "600px", M();
1820
+ m.value = "600px", M();
1821
1821
  }
1822
1822
  function M() {
1823
- _.keys = "", _.values = [], p.value = {
1823
+ h.keys = "", h.values = [], p.value = {
1824
1824
  "zh-CN": [],
1825
1825
  "en-US": []
1826
1826
  };
@@ -1828,14 +1828,14 @@ const Oe = /* @__PURE__ */ O({
1828
1828
  return Re(() => u.value, (L) => {
1829
1829
  L ? q() : y();
1830
1830
  }), R({
1831
- open: t,
1831
+ open: n,
1832
1832
  modify: d
1833
1833
  }), (L, U) => {
1834
- const se = s("el-page-header"), _e = s("el-form-item"), Ee = s("el-button"), Me = s("el-input"), ze = s("el-tag"), Ie = s("el-space"), Ne = s("el-form");
1835
- return C(), T(e(fe), {
1834
+ const se = s("el-page-header"), _e = s("el-form-item"), Fe = s("el-button"), Me = s("el-input"), ze = s("el-tag"), Ie = s("el-space"), Ne = s("el-form");
1835
+ return S(), T(e(fe), {
1836
1836
  modelValue: e(u),
1837
- "onUpdate:modelValue": U[3] || (U[3] = (Q) => P(u) ? u.value = Q : null),
1838
- width: c.value,
1837
+ "onUpdate:modelValue": U[3] || (U[3] = (J) => N(u) ? u.value = J : null),
1838
+ width: m.value,
1839
1839
  "show-close": !1,
1840
1840
  class: "basic-drawer"
1841
1841
  }, {
@@ -1845,20 +1845,20 @@ const Oe = /* @__PURE__ */ O({
1845
1845
  Z(z(e(f)("i18n.template")), 1)
1846
1846
  ]),
1847
1847
  extra: o(() => [
1848
- l(e(H), {
1848
+ l(e(Q), {
1849
1849
  size: "default",
1850
1850
  type: "default",
1851
1851
  icon: "icon-clear",
1852
- loading: e(w),
1852
+ loading: e(x),
1853
1853
  onClick: M
1854
1854
  }, null, 8, ["loading"]),
1855
- l(e(H), {
1855
+ l(e(Q), {
1856
1856
  circle: !1,
1857
1857
  size: "default",
1858
1858
  type: "primary",
1859
1859
  icon: "icon-save",
1860
1860
  plain: !1,
1861
- loading: e(w),
1861
+ loading: e(x),
1862
1862
  onClick: e(r)
1863
1863
  }, null, 8, ["loading", "onClick"])
1864
1864
  ]),
@@ -1868,11 +1868,11 @@ const Oe = /* @__PURE__ */ O({
1868
1868
  default: o(() => [
1869
1869
  l(Ne, {
1870
1870
  ref_key: "form",
1871
- ref: h,
1872
- model: e(_),
1871
+ ref: _,
1872
+ model: e(h),
1873
1873
  "label-width": "auto",
1874
1874
  rules: v,
1875
- disabled: e(D) || e(w)
1875
+ disabled: e(D) || e(x)
1876
1876
  }, {
1877
1877
  default: o(() => [
1878
1878
  l(_e, {
@@ -1882,11 +1882,11 @@ const Oe = /* @__PURE__ */ O({
1882
1882
  }, {
1883
1883
  default: o(() => [
1884
1884
  l(e(Se), {
1885
- modelValue: e(_).app,
1886
- "onUpdate:modelValue": U[0] || (U[0] = (Q) => e(_).app = Q),
1885
+ modelValue: e(h).app,
1886
+ "onUpdate:modelValue": U[0] || (U[0] = (J) => e(h).app = J),
1887
1887
  "cache-key": "I18NAPPS",
1888
1888
  hidden: [0],
1889
- url: e(te).urls.apps
1889
+ url: e(re).urls.apps
1890
1890
  }, null, 8, ["modelValue", "url"])
1891
1891
  ]),
1892
1892
  _: 1
@@ -1898,14 +1898,14 @@ const Oe = /* @__PURE__ */ O({
1898
1898
  }, {
1899
1899
  default: o(() => [
1900
1900
  l(Me, {
1901
- modelValue: e(_).keys,
1902
- "onUpdate:modelValue": U[1] || (U[1] = (Q) => e(_).keys = Q),
1901
+ modelValue: e(h).keys,
1902
+ "onUpdate:modelValue": U[1] || (U[1] = (J) => e(h).keys = J),
1903
1903
  placeholder: e(a)("i18n.placeholder.key")
1904
1904
  }, {
1905
1905
  append: o(() => [
1906
- l(Ee, {
1906
+ l(Fe, {
1907
1907
  icon: e(rl),
1908
- onClick: m
1908
+ onClick: c
1909
1909
  }, null, 8, ["icon"])
1910
1910
  ]),
1911
1911
  _: 1
@@ -1919,7 +1919,7 @@ const Oe = /* @__PURE__ */ O({
1919
1919
  required: ""
1920
1920
  }, {
1921
1921
  default: o(() => [
1922
- Z(z(e(_).values.join(":")), 1)
1922
+ Z(z(e(h).values.join(":")), 1)
1923
1923
  ]),
1924
1924
  _: 1
1925
1925
  }, 8, ["label"]),
@@ -1927,7 +1927,7 @@ const Oe = /* @__PURE__ */ O({
1927
1927
  label: e(a)("i18n.values")
1928
1928
  }, {
1929
1929
  default: o(() => [
1930
- (C(!0), I(G, null, ae(p.value, (Q, ye) => (C(), I("div", {
1930
+ (S(!0), I(G, null, ee(p.value, (J, ye) => (S(), I("div", {
1931
1931
  key: ye,
1932
1932
  class: "w-full"
1933
1933
  }, [
@@ -1942,7 +1942,7 @@ const Oe = /* @__PURE__ */ O({
1942
1942
  ]),
1943
1943
  _: 2
1944
1944
  }, 1032, ["type"]),
1945
- ye == "zh-CN" ? (C(), I("span", hl, z(Q.join("")), 1)) : (C(), I("span", Vl, z(Q.join(" ")), 1))
1945
+ ye == "zh-CN" ? (S(), I("span", hl, z(J.join("")), 1)) : (S(), I("span", Vl, z(J.join(" ")), 1))
1946
1946
  ]),
1947
1947
  _: 2
1948
1948
  }, 1024)
@@ -1956,8 +1956,8 @@ const Oe = /* @__PURE__ */ O({
1956
1956
  }, {
1957
1957
  default: o(() => [
1958
1958
  l(Me, {
1959
- modelValue: e(_).remark,
1960
- "onUpdate:modelValue": U[2] || (U[2] = (Q) => e(_).remark = Q),
1959
+ modelValue: e(h).remark,
1960
+ "onUpdate:modelValue": U[2] || (U[2] = (J) => e(h).remark = J),
1961
1961
  placeholder: e(a)("placeholder.input")
1962
1962
  }, null, 8, ["modelValue", "placeholder"])
1963
1963
  ]),
@@ -1970,22 +1970,22 @@ const Oe = /* @__PURE__ */ O({
1970
1970
  ref_key: "I18nTableDrawerRef",
1971
1971
  ref: V,
1972
1972
  onChoosed: A,
1973
- onClosed: S
1973
+ onClosed: C
1974
1974
  }, null, 512)
1975
1975
  ]),
1976
1976
  _: 1
1977
1977
  }, 8, ["modelValue", "width"]);
1978
1978
  };
1979
1979
  }
1980
- }), kl = W.routineApi("gateway", "id", {
1980
+ }), kl = Y.routineApi("gateway", "id", {
1981
1981
  gen: "gen_translation"
1982
1982
  });
1983
- function vl(x) {
1984
- return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !xe(x);
1983
+ function vl(w) {
1984
+ return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !xe(w);
1985
1985
  }
1986
1986
  const Wl = /* @__PURE__ */ O({
1987
1987
  __name: "index",
1988
- setup(x) {
1988
+ setup(w) {
1989
1989
  const R = {
1990
1990
  keyword: "",
1991
1991
  app: 0,
@@ -2021,7 +2021,7 @@ const Wl = /* @__PURE__ */ O({
2021
2021
  props: {
2022
2022
  activeValue: 1,
2023
2023
  inactiveValue: 2,
2024
- api: te.urls[Ue],
2024
+ api: re.urls[Ue],
2025
2025
  refresh: !0
2026
2026
  }
2027
2027
  }, {
@@ -2044,56 +2044,56 @@ const Wl = /* @__PURE__ */ O({
2044
2044
  render: ({
2045
2045
  row: d
2046
2046
  }) => l(s("el-space"), null, {
2047
- default: () => [l(le, {
2047
+ default: () => [l(ae, {
2048
2048
  size: "default",
2049
- disabled: b.value,
2050
- onModify: () => _({
2049
+ disabled: g.value,
2050
+ onModify: () => h({
2051
2051
  uuid: d.uuid
2052
2052
  })
2053
- }, null), l(H, {
2053
+ }, null), l(Q, {
2054
2054
  size: "default",
2055
2055
  text: !0,
2056
2056
  type: "danger",
2057
- loading: b.value,
2057
+ loading: g.value,
2058
2058
  onClick: () => D(d.uuid)
2059
2059
  }, null)]
2060
2060
  })
2061
2061
  }], {
2062
2062
  requesting: V,
2063
- executing: b
2064
- } = E(te), {
2065
- formModalRef: g,
2066
- openFormModal: c
2067
- } = F(), {
2063
+ executing: g
2064
+ } = F(re), {
2065
+ formModalRef: b,
2066
+ openFormModal: m
2067
+ } = E(), {
2068
2068
  tableRef: i,
2069
2069
  formModalRef: p,
2070
- keyword: n,
2070
+ keyword: t,
2071
2071
  search: v,
2072
2072
  reset: u,
2073
2073
  refresh: f,
2074
- openFormModal: h,
2075
- editFormModal: _
2076
- } = F(R);
2074
+ openFormModal: _,
2075
+ editFormModal: h
2076
+ } = E(R);
2077
2077
  function D(d) {
2078
- return te.remove({
2078
+ return re.remove({
2079
2079
  uuid: d
2080
2080
  }).finally(() => {
2081
2081
  f();
2082
2082
  });
2083
2083
  }
2084
- function w() {
2085
- return J.gen().finally(() => {
2084
+ function x() {
2085
+ return W.gen().finally(() => {
2086
2086
  f();
2087
2087
  });
2088
2088
  }
2089
- function t() {
2089
+ function n() {
2090
2090
  kl.gen().finally(() => {
2091
2091
  f();
2092
2092
  });
2093
2093
  }
2094
2094
  return (d, r) => {
2095
- const y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), A = s("el-space"), q = s("el-divider"), M = s("el-page-header"), L = s("el-card");
2096
- return C(), T(L, {
2095
+ const y = s("el-input"), c = s("el-radio-button"), C = s("el-radio-group"), A = s("el-space"), q = s("el-divider"), M = s("el-page-header"), L = s("el-card");
2096
+ return S(), T(L, {
2097
2097
  class: "basic-card flex-full",
2098
2098
  "body-class": "flex-1"
2099
2099
  }, {
@@ -2104,63 +2104,63 @@ const Wl = /* @__PURE__ */ O({
2104
2104
  loading: e(V),
2105
2105
  onRefresh: e(u)
2106
2106
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
2107
- onOpen: e(h)
2107
+ onOpen: e(_)
2108
2108
  }, null, 8, ["onOpen"])]),
2109
2109
  content: o(() => [l(A, {
2110
2110
  class: "search-bar"
2111
2111
  }, {
2112
2112
  default: o(() => [l(y, {
2113
2113
  class: "basic-search-input",
2114
- modelValue: e(n).keyword,
2115
- "onUpdate:modelValue": r[0] || (r[0] = (U) => e(n).keyword = U),
2116
- disabled: e(V) || e(b),
2114
+ modelValue: e(t).keyword,
2115
+ "onUpdate:modelValue": r[0] || (r[0] = (U) => e(t).keyword = U),
2116
+ disabled: e(V) || e(g),
2117
2117
  placeholder: e(a)("placeholder.keyword"),
2118
2118
  clearable: "",
2119
2119
  onKeyup: r[1] || (r[1] = he((U) => e(v)(), ["enter"])),
2120
2120
  onClear: r[2] || (r[2] = (U) => e(v)())
2121
2121
  }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Se), {
2122
- modelValue: e(n).app,
2123
- "onUpdate:modelValue": r[3] || (r[3] = (U) => e(n).app = U),
2122
+ modelValue: e(t).app,
2123
+ "onUpdate:modelValue": r[3] || (r[3] = (U) => e(t).app = U),
2124
2124
  "cache-key": "I18NAPPS",
2125
- disabled: e(V) || e(b),
2126
- url: e(te).urls.apps,
2125
+ disabled: e(V) || e(g),
2126
+ url: e(re).urls.apps,
2127
2127
  onChange: r[4] || (r[4] = (U) => e(v)())
2128
- }, null, 8, ["modelValue", "disabled", "url"]), l(S, {
2129
- modelValue: e(n).status,
2130
- "onUpdate:modelValue": r[5] || (r[5] = (U) => e(n).status = U),
2131
- disabled: e(V) || e(b),
2128
+ }, null, 8, ["modelValue", "disabled", "url"]), l(C, {
2129
+ modelValue: e(t).status,
2130
+ "onUpdate:modelValue": r[5] || (r[5] = (U) => e(t).status = U),
2131
+ disabled: e(V) || e(g),
2132
2132
  onChange: r[6] || (r[6] = (U) => e(v)())
2133
2133
  }, {
2134
- default: o(() => [(C(), I(G, null, ae([0, 1, 2], (U) => l(m, {
2134
+ default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(c, {
2135
2135
  key: U,
2136
2136
  label: e(a)(`status.${U}`),
2137
2137
  value: U
2138
2138
  }, null, 8, ["label", "value"])), 64))]),
2139
2139
  _: 1
2140
- }, 8, ["modelValue", "disabled"]), l(e(oe), {
2141
- disabled: e(V) || e(b),
2140
+ }, 8, ["modelValue", "disabled"]), l(e(ne), {
2141
+ disabled: e(V) || e(g),
2142
2142
  onSearch: r[7] || (r[7] = (U) => e(v)())
2143
2143
  }, null, 8, ["disabled"])]),
2144
2144
  _: 1
2145
2145
  })]),
2146
- extra: o(() => [l(e(H), {
2146
+ extra: o(() => [l(e(Q), {
2147
2147
  size: "default",
2148
2148
  type: "warning",
2149
2149
  icon: "icon-cloud-upload",
2150
2150
  plain: !1,
2151
- loading: e(b),
2152
- onClick: w
2153
- }, null, 8, ["loading"]), l(e(H), {
2151
+ loading: e(g),
2152
+ onClick: x
2153
+ }, null, 8, ["loading"]), l(e(Q), {
2154
2154
  size: "default",
2155
2155
  type: "danger",
2156
2156
  icon: "icon-translate",
2157
2157
  plain: !1,
2158
- loading: e(b),
2159
- onClick: t
2158
+ loading: e(g),
2159
+ onClick: n
2160
2160
  }, null, 8, ["loading"]), l(q, {
2161
2161
  direction: "vertical"
2162
2162
  }), l(e(j), {
2163
- onOpen: e(c),
2163
+ onOpen: e(m),
2164
2164
  icon: "icon-en-US"
2165
2165
  }, null, 8, ["onOpen"])]),
2166
2166
  _: 1
@@ -2169,12 +2169,12 @@ const Wl = /* @__PURE__ */ O({
2169
2169
  ref_key: "tableRef",
2170
2170
  ref: i,
2171
2171
  columns: k,
2172
- url: e(te).urls[e(Ve)],
2173
- "search-param": e(n),
2172
+ url: e(re).urls[e(Ve)],
2173
+ "search-param": e(t),
2174
2174
  "auto-search": ""
2175
2175
  }, null, 8, ["url", "search-param"]), l(Oe, {
2176
2176
  ref_key: "I18nTableDrawerRef",
2177
- ref: g,
2177
+ ref: b,
2178
2178
  onRefresh: e(f)
2179
2179
  }, null, 8, ["onRefresh"]), l(yl, {
2180
2180
  ref_key: "formModalRef",
@@ -2185,11 +2185,11 @@ const Wl = /* @__PURE__ */ O({
2185
2185
  });
2186
2186
  };
2187
2187
  }
2188
- }), ve = W.routineApi("admin", "key"), wl = /* @__PURE__ */ O({
2188
+ }), ve = Y.routineApi("admin", "key"), wl = /* @__PURE__ */ O({
2189
2189
  __name: "AdminFormModal",
2190
2190
  emits: ["refresh"],
2191
- setup(x, { expose: R, emit: k }) {
2192
- const V = k, b = {
2191
+ setup(w, { expose: R, emit: k }) {
2192
+ const V = k, g = {
2193
2193
  key: "",
2194
2194
  username: "",
2195
2195
  password: "",
@@ -2198,7 +2198,7 @@ const Wl = /* @__PURE__ */ O({
2198
2198
  language: "zh-CN",
2199
2199
  remark: "",
2200
2200
  roles: []
2201
- }, { modal: g, title: c, form: i, formData: p, requesting: n, executing: v, open: u, modify: f, submit: h, closed: _ } = X(V, b, ve), D = {
2201
+ }, { modal: b, title: m, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: _, closed: h } = X(V, g, ve), D = {
2202
2202
  username: [
2203
2203
  {
2204
2204
  required: !0,
@@ -2243,25 +2243,25 @@ const Wl = /* @__PURE__ */ O({
2243
2243
  trigger: "change"
2244
2244
  }
2245
2245
  ]
2246
- }, w = N([]), t = async () => {
2246
+ }, x = B([]), n = async () => {
2247
2247
  const d = await ke.list();
2248
- w.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2248
+ x.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2249
2249
  };
2250
2250
  return We(async () => {
2251
- await t();
2251
+ await n();
2252
2252
  }), R({
2253
2253
  open: u,
2254
2254
  modify: f
2255
2255
  }), (d, r) => {
2256
- const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), A = s("el-radio-group"), q = s("el-checkbox"), M = s("el-checkbox-group"), L = s("el-form");
2257
- return C(), T(e(ee), {
2258
- modelValue: e(g),
2259
- "onUpdate:modelValue": r[7] || (r[7] = (U) => P(g) ? g.value = U : null),
2260
- title: e(c)(),
2256
+ const y = s("el-input"), c = s("el-form-item"), C = s("el-radio-button"), A = s("el-radio-group"), q = s("el-checkbox"), M = s("el-checkbox-group"), L = s("el-form");
2257
+ return S(), T(e(le), {
2258
+ modelValue: e(b),
2259
+ "onUpdate:modelValue": r[7] || (r[7] = (U) => N(b) ? b.value = U : null),
2260
+ title: e(m)(),
2261
2261
  width: "600px",
2262
2262
  executing: e(v),
2263
- onClosed: e(_),
2264
- onSubmit: e(h)
2263
+ onClosed: e(h),
2264
+ onSubmit: e(_)
2265
2265
  }, {
2266
2266
  default: o(() => [
2267
2267
  l(L, {
@@ -2270,10 +2270,10 @@ const Wl = /* @__PURE__ */ O({
2270
2270
  model: e(p),
2271
2271
  "label-width": "auto",
2272
2272
  rules: D,
2273
- disabled: e(n) || e(v)
2273
+ disabled: e(t) || e(v)
2274
2274
  }, {
2275
2275
  default: o(() => [
2276
- l(m, {
2276
+ l(c, {
2277
2277
  label: e(a)("base.username"),
2278
2278
  prop: "username"
2279
2279
  }, {
@@ -2287,7 +2287,7 @@ const Wl = /* @__PURE__ */ O({
2287
2287
  ]),
2288
2288
  _: 1
2289
2289
  }, 8, ["label"]),
2290
- l(m, {
2290
+ l(c, {
2291
2291
  label: e(a)("base.phone"),
2292
2292
  prop: "phone"
2293
2293
  }, {
@@ -2301,7 +2301,7 @@ const Wl = /* @__PURE__ */ O({
2301
2301
  ]),
2302
2302
  _: 1
2303
2303
  }, 8, ["label"]),
2304
- l(m, {
2304
+ l(c, {
2305
2305
  label: e(a)("base.password"),
2306
2306
  prop: "password",
2307
2307
  required: !e(p).key
@@ -2316,7 +2316,7 @@ const Wl = /* @__PURE__ */ O({
2316
2316
  ]),
2317
2317
  _: 1
2318
2318
  }, 8, ["label", "required"]),
2319
- l(m, {
2319
+ l(c, {
2320
2320
  label: e(a)("base.email"),
2321
2321
  prop: "email"
2322
2322
  }, {
@@ -2330,7 +2330,7 @@ const Wl = /* @__PURE__ */ O({
2330
2330
  ]),
2331
2331
  _: 1
2332
2332
  }, 8, ["label"]),
2333
- l(m, {
2333
+ l(c, {
2334
2334
  label: e(a)("base.language"),
2335
2335
  prop: "language"
2336
2336
  }, {
@@ -2340,13 +2340,13 @@ const Wl = /* @__PURE__ */ O({
2340
2340
  "onUpdate:modelValue": r[4] || (r[4] = (U) => e(p).language = U)
2341
2341
  }, {
2342
2342
  default: o(() => [
2343
- l(S, { value: "zh-CN" }, {
2343
+ l(C, { value: "zh-CN" }, {
2344
2344
  default: o(() => [...r[8] || (r[8] = [
2345
2345
  Z("zh-CN", -1)
2346
2346
  ])]),
2347
2347
  _: 1
2348
2348
  }),
2349
- l(S, { value: "en-US" }, {
2349
+ l(C, { value: "en-US" }, {
2350
2350
  default: o(() => [...r[9] || (r[9] = [
2351
2351
  Z("en-US", -1)
2352
2352
  ])]),
@@ -2358,7 +2358,7 @@ const Wl = /* @__PURE__ */ O({
2358
2358
  ]),
2359
2359
  _: 1
2360
2360
  }, 8, ["label"]),
2361
- l(m, {
2361
+ l(c, {
2362
2362
  label: e(a)("menu.Role"),
2363
2363
  prop: "roles"
2364
2364
  }, {
@@ -2368,7 +2368,7 @@ const Wl = /* @__PURE__ */ O({
2368
2368
  "onUpdate:modelValue": r[5] || (r[5] = (U) => e(p).roles = U)
2369
2369
  }, {
2370
2370
  default: o(() => [
2371
- (C(!0), I(G, null, ae(w.value, (U) => (C(), T(q, {
2371
+ (S(!0), I(G, null, ee(x.value, (U) => (S(), T(q, {
2372
2372
  key: U.key,
2373
2373
  value: U.key
2374
2374
  }, {
@@ -2383,7 +2383,7 @@ const Wl = /* @__PURE__ */ O({
2383
2383
  ]),
2384
2384
  _: 1
2385
2385
  }, 8, ["label"]),
2386
- l(m, {
2386
+ l(c, {
2387
2387
  label: e(a)("base.remark"),
2388
2388
  prop: "remark"
2389
2389
  }, {
@@ -2404,9 +2404,9 @@ const Wl = /* @__PURE__ */ O({
2404
2404
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2405
2405
  };
2406
2406
  }
2407
- }), Yl = /* @__PURE__ */ O({
2407
+ }), Gl = /* @__PURE__ */ O({
2408
2408
  __name: "index",
2409
- setup(x) {
2409
+ setup(w) {
2410
2410
  const R = {
2411
2411
  keyword: ""
2412
2412
  }, k = [{
@@ -2457,30 +2457,30 @@ const Wl = /* @__PURE__ */ O({
2457
2457
  align: "center",
2458
2458
  render: ({
2459
2459
  row: f
2460
- }) => l(le, {
2460
+ }) => l(ae, {
2461
2461
  onModify: () => u({
2462
2462
  key: f.key
2463
2463
  })
2464
2464
  }, null)
2465
2465
  }], {
2466
2466
  requesting: V
2467
- } = E(ve), {
2468
- tableRef: b,
2469
- formModalRef: g,
2470
- keyword: c,
2467
+ } = F(ve), {
2468
+ tableRef: g,
2469
+ formModalRef: b,
2470
+ keyword: m,
2471
2471
  search: i,
2472
2472
  reset: p,
2473
- refresh: n,
2473
+ refresh: t,
2474
2474
  openFormModal: v,
2475
2475
  editFormModal: u
2476
- } = F(R);
2477
- return (f, h) => {
2478
- const _ = s("el-input"), D = s("el-space"), w = s("el-page-header"), t = s("el-card");
2479
- return C(), T(t, {
2476
+ } = E(R);
2477
+ return (f, _) => {
2478
+ const h = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
2479
+ return S(), T(n, {
2480
2480
  class: "basic-card flex-full",
2481
2481
  "body-class": "flex-1"
2482
2482
  }, {
2483
- header: o(() => [l(w, {
2483
+ header: o(() => [l(x, {
2484
2484
  class: "basic-header"
2485
2485
  }, {
2486
2486
  title: o(() => [l(e(K), {
@@ -2492,17 +2492,17 @@ const Wl = /* @__PURE__ */ O({
2492
2492
  content: o(() => [l(D, {
2493
2493
  class: "search-bar"
2494
2494
  }, {
2495
- default: o(() => [l(_, {
2495
+ default: o(() => [l(h, {
2496
2496
  class: "basic-search-input",
2497
- modelValue: e(c).keyword,
2498
- "onUpdate:modelValue": h[0] || (h[0] = (d) => e(c).keyword = d),
2497
+ modelValue: e(m).keyword,
2498
+ "onUpdate:modelValue": _[0] || (_[0] = (d) => e(m).keyword = d),
2499
2499
  placeholder: e(a)("placeholder.keyword"),
2500
2500
  clearable: "",
2501
- onKeyup: h[1] || (h[1] = he((d) => e(i)(), ["enter"])),
2502
- onClear: h[2] || (h[2] = (d) => e(i)())
2503
- }, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
2501
+ onKeyup: _[1] || (_[1] = he((d) => e(i)(), ["enter"])),
2502
+ onClear: _[2] || (_[2] = (d) => e(i)())
2503
+ }, null, 8, ["modelValue", "placeholder"]), l(e(ne), {
2504
2504
  disabled: e(V),
2505
- onSearch: h[3] || (h[3] = (d) => e(i)())
2505
+ onSearch: _[3] || (_[3] = (d) => e(i)())
2506
2506
  }, null, 8, ["disabled"])]),
2507
2507
  _: 1
2508
2508
  })]),
@@ -2510,16 +2510,16 @@ const Wl = /* @__PURE__ */ O({
2510
2510
  })]),
2511
2511
  default: o(() => [l(e(ce), {
2512
2512
  ref_key: "tableRef",
2513
- ref: b,
2513
+ ref: g,
2514
2514
  size: "small",
2515
2515
  columns: k,
2516
2516
  url: e(ve).urls[e(Ve)],
2517
- "search-param": e(c),
2517
+ "search-param": e(m),
2518
2518
  "auto-search": ""
2519
2519
  }, null, 8, ["url", "search-param"]), l(wl, {
2520
2520
  ref_key: "formModalRef",
2521
- ref: g,
2522
- onRefresh: e(n)
2521
+ ref: b,
2522
+ onRefresh: e(t)
2523
2523
  }, null, 8, ["onRefresh"])]),
2524
2524
  _: 1
2525
2525
  });
@@ -2527,7 +2527,7 @@ const Wl = /* @__PURE__ */ O({
2527
2527
  }
2528
2528
  }), xl = {
2529
2529
  check: "check"
2530
- }, ue = W.routineApi("site", "id", xl), be = W.routineApi("domain"), $e = /* @__PURE__ */ O({
2530
+ }, ue = Y.routineApi("site", "id", xl), be = Y.routineApi("domain"), $e = /* @__PURE__ */ O({
2531
2531
  __name: "DomainSelect",
2532
2532
  props: {
2533
2533
  modelValue: {
@@ -2540,18 +2540,18 @@ const Wl = /* @__PURE__ */ O({
2540
2540
  }
2541
2541
  },
2542
2542
  emits: ["update:modelValue", "change"],
2543
- setup(x, {
2543
+ setup(w, {
2544
2544
  expose: R,
2545
2545
  emit: k
2546
2546
  }) {
2547
- const V = k, b = x, {
2548
- requesting: g
2549
- } = E(be), {
2550
- key: c,
2547
+ const V = k, g = w, {
2548
+ requesting: b
2549
+ } = F(be), {
2550
+ key: m,
2551
2551
  options: i,
2552
2552
  refresh: p,
2553
- change: n
2554
- } = re(ne(b, "modelValue"), V, {
2553
+ change: t
2554
+ } = te(oe(g, "modelValue"), V, {
2555
2555
  key: "DOMAIN_LIST",
2556
2556
  api: be,
2557
2557
  isArray: !0
@@ -2560,16 +2560,16 @@ const Wl = /* @__PURE__ */ O({
2560
2560
  refresh: p
2561
2561
  }), (v, u) => {
2562
2562
  const f = s("el-select-v2");
2563
- return C(), T(f, {
2564
- modelValue: e(c),
2565
- "onUpdate:modelValue": u[0] || (u[0] = (h) => P(c) ? c.value = h : null),
2563
+ return S(), T(f, {
2564
+ modelValue: e(m),
2565
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => N(m) ? m.value = _ : null),
2566
2566
  options: e(i),
2567
- disabled: x.disabled || e(g),
2567
+ disabled: w.disabled || e(b),
2568
2568
  placeholder: e(a)("base.select config.domain"),
2569
- onChange: e(n)
2569
+ onChange: e(t)
2570
2570
  }, {
2571
2571
  prefix: o(() => [l(e(me), {
2572
- loading: e(g),
2572
+ loading: e(b),
2573
2573
  onRefresh: e(p)
2574
2574
  }, null, 8, ["loading", "onRefresh"])]),
2575
2575
  _: 1
@@ -2579,8 +2579,8 @@ const Wl = /* @__PURE__ */ O({
2579
2579
  }), Rl = /* @__PURE__ */ O({
2580
2580
  __name: "SiteFormModal",
2581
2581
  emits: ["refresh"],
2582
- setup(x, { expose: R, emit: k }) {
2583
- const V = k, b = {
2582
+ setup(w, { expose: R, emit: k }) {
2583
+ const V = k, g = {
2584
2584
  id: 0,
2585
2585
  domain_id: 0,
2586
2586
  prefix: "",
@@ -2590,33 +2590,33 @@ const Wl = /* @__PURE__ */ O({
2590
2590
  git: "",
2591
2591
  status: 1,
2592
2592
  remark: ""
2593
- }, g = {
2593
+ }, b = {
2594
2594
  domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
2595
2595
  prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
2596
2596
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2597
2597
  en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
2598
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, ue);
2598
+ }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: _, submit: h, closed: D } = X(V, g, ue);
2599
2599
  return R({
2600
2600
  open: f,
2601
- modify: h
2602
- }), (w, t) => {
2601
+ modify: _
2602
+ }), (x, n) => {
2603
2603
  const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
2604
- return C(), T(e(ee), {
2605
- modelValue: e(c),
2606
- "onUpdate:modelValue": t[7] || (t[7] = (m) => P(c) ? c.value = m : null),
2604
+ return S(), T(e(le), {
2605
+ modelValue: e(m),
2606
+ "onUpdate:modelValue": n[7] || (n[7] = (c) => N(m) ? m.value = c : null),
2607
2607
  title: e(i)("config.site"),
2608
2608
  width: "600px",
2609
2609
  executing: e(u),
2610
2610
  onClosed: e(D),
2611
- onSubmit: e(_)
2611
+ onSubmit: e(h)
2612
2612
  }, {
2613
2613
  default: o(() => [
2614
2614
  l(y, {
2615
2615
  ref_key: "form",
2616
2616
  ref: p,
2617
- model: e(n),
2617
+ model: e(t),
2618
2618
  "label-width": "auto",
2619
- rules: g,
2619
+ rules: b,
2620
2620
  disabled: e(v) || e(u)
2621
2621
  }, {
2622
2622
  default: o(() => [
@@ -2626,8 +2626,8 @@ const Wl = /* @__PURE__ */ O({
2626
2626
  }, {
2627
2627
  default: o(() => [
2628
2628
  l($e, {
2629
- modelValue: e(n).domain_id,
2630
- "onUpdate:modelValue": t[0] || (t[0] = (m) => e(n).domain_id = m),
2629
+ modelValue: e(t).domain_id,
2630
+ "onUpdate:modelValue": n[0] || (n[0] = (c) => e(t).domain_id = c),
2631
2631
  disabled: e(u)
2632
2632
  }, null, 8, ["modelValue", "disabled"])
2633
2633
  ]),
@@ -2639,8 +2639,8 @@ const Wl = /* @__PURE__ */ O({
2639
2639
  }, {
2640
2640
  default: o(() => [
2641
2641
  l(r, {
2642
- modelValue: e(n).prefix,
2643
- "onUpdate:modelValue": t[1] || (t[1] = (m) => e(n).prefix = m),
2642
+ modelValue: e(t).prefix,
2643
+ "onUpdate:modelValue": n[1] || (n[1] = (c) => e(t).prefix = c),
2644
2644
  disabled: e(u),
2645
2645
  placeholder: e(a)("placeholder.input")
2646
2646
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2653,8 +2653,8 @@ const Wl = /* @__PURE__ */ O({
2653
2653
  }, {
2654
2654
  default: o(() => [
2655
2655
  l(r, {
2656
- modelValue: e(n).name,
2657
- "onUpdate:modelValue": t[2] || (t[2] = (m) => e(n).name = m),
2656
+ modelValue: e(t).name,
2657
+ "onUpdate:modelValue": n[2] || (n[2] = (c) => e(t).name = c),
2658
2658
  disabled: e(u),
2659
2659
  placeholder: e(a)("placeholder.input")
2660
2660
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2667,8 +2667,8 @@ const Wl = /* @__PURE__ */ O({
2667
2667
  }, {
2668
2668
  default: o(() => [
2669
2669
  l(r, {
2670
- modelValue: e(n).en_name,
2671
- "onUpdate:modelValue": t[3] || (t[3] = (m) => e(n).en_name = m),
2670
+ modelValue: e(t).en_name,
2671
+ "onUpdate:modelValue": n[3] || (n[3] = (c) => e(t).en_name = c),
2672
2672
  disabled: e(u),
2673
2673
  placeholder: e(a)("placeholder.input")
2674
2674
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2681,8 +2681,8 @@ const Wl = /* @__PURE__ */ O({
2681
2681
  }, {
2682
2682
  default: o(() => [
2683
2683
  l(r, {
2684
- modelValue: e(n).dns,
2685
- "onUpdate:modelValue": t[4] || (t[4] = (m) => e(n).dns = m),
2684
+ modelValue: e(t).dns,
2685
+ "onUpdate:modelValue": n[4] || (n[4] = (c) => e(t).dns = c),
2686
2686
  disabled: e(u),
2687
2687
  placeholder: e(a)("placeholder.input")
2688
2688
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2695,8 +2695,8 @@ const Wl = /* @__PURE__ */ O({
2695
2695
  }, {
2696
2696
  default: o(() => [
2697
2697
  l(r, {
2698
- modelValue: e(n).git,
2699
- "onUpdate:modelValue": t[5] || (t[5] = (m) => e(n).git = m),
2698
+ modelValue: e(t).git,
2699
+ "onUpdate:modelValue": n[5] || (n[5] = (c) => e(t).git = c),
2700
2700
  disabled: e(u),
2701
2701
  placeholder: e(a)("placeholder.input")
2702
2702
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2709,8 +2709,8 @@ const Wl = /* @__PURE__ */ O({
2709
2709
  }, {
2710
2710
  default: o(() => [
2711
2711
  l(r, {
2712
- modelValue: e(n).remark,
2713
- "onUpdate:modelValue": t[6] || (t[6] = (m) => e(n).remark = m),
2712
+ modelValue: e(t).remark,
2713
+ "onUpdate:modelValue": n[6] || (n[6] = (c) => e(t).remark = c),
2714
2714
  disabled: e(u),
2715
2715
  placeholder: e(a)("placeholder.input")
2716
2716
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2725,7 +2725,7 @@ const Wl = /* @__PURE__ */ O({
2725
2725
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2726
2726
  };
2727
2727
  }
2728
- }), ge = W.routineApi("domain_provider"), Ul = /* @__PURE__ */ O({
2728
+ }), ge = Y.routineApi("domain_provider"), Ul = /* @__PURE__ */ O({
2729
2729
  __name: "DomainProviderSelect",
2730
2730
  props: {
2731
2731
  modelValue: {
@@ -2738,18 +2738,18 @@ const Wl = /* @__PURE__ */ O({
2738
2738
  }
2739
2739
  },
2740
2740
  emits: ["update:modelValue", "change"],
2741
- setup(x, {
2741
+ setup(w, {
2742
2742
  expose: R,
2743
2743
  emit: k
2744
2744
  }) {
2745
- const V = k, b = x, {
2746
- requesting: g
2747
- } = E(ge), {
2748
- key: c,
2745
+ const V = k, g = w, {
2746
+ requesting: b
2747
+ } = F(ge), {
2748
+ key: m,
2749
2749
  options: i,
2750
2750
  refresh: p,
2751
- change: n
2752
- } = re(ne(b, "modelValue"), V, {
2751
+ change: t
2752
+ } = te(oe(g, "modelValue"), V, {
2753
2753
  key: "DOMAIN_PROVIDER_LIST",
2754
2754
  api: ge,
2755
2755
  isArray: !0
@@ -2758,16 +2758,16 @@ const Wl = /* @__PURE__ */ O({
2758
2758
  refresh: p
2759
2759
  }), (v, u) => {
2760
2760
  const f = s("el-select-v2");
2761
- return C(), T(f, {
2762
- modelValue: e(c),
2763
- "onUpdate:modelValue": u[0] || (u[0] = (h) => P(c) ? c.value = h : null),
2761
+ return S(), T(f, {
2762
+ modelValue: e(m),
2763
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => N(m) ? m.value = _ : null),
2764
2764
  options: e(i),
2765
- disabled: x.disabled || e(g),
2765
+ disabled: w.disabled || e(b),
2766
2766
  placeholder: e(a)("base.select config.domain config.provider"),
2767
- onChange: e(n)
2767
+ onChange: e(t)
2768
2768
  }, {
2769
2769
  prefix: o(() => [l(e(me), {
2770
- loading: e(g),
2770
+ loading: e(b),
2771
2771
  onRefresh: e(p)
2772
2772
  }, null, 8, ["loading", "onRefresh"])]),
2773
2773
  _: 1
@@ -2777,39 +2777,39 @@ const Wl = /* @__PURE__ */ O({
2777
2777
  }), Ml = /* @__PURE__ */ O({
2778
2778
  __name: "DomainFormModal",
2779
2779
  emits: ["refresh"],
2780
- setup(x, { expose: R, emit: k }) {
2781
- const V = k, b = {
2780
+ setup(w, { expose: R, emit: k }) {
2781
+ const V = k, g = {
2782
2782
  id: 0,
2783
2783
  provider_id: 0,
2784
2784
  name: "",
2785
2785
  expired_at: "",
2786
2786
  status: 1,
2787
2787
  remark: ""
2788
- }, g = {
2788
+ }, b = {
2789
2789
  provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
2790
2790
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
2791
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, be);
2791
+ }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: _, submit: h, closed: D } = X(V, g, be);
2792
2792
  return R({
2793
2793
  open: f,
2794
- modify: h
2795
- }), (w, t) => {
2796
- const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), m = s("el-form");
2797
- return C(), T(e(ee), {
2798
- modelValue: e(c),
2799
- "onUpdate:modelValue": t[4] || (t[4] = (S) => P(c) ? c.value = S : null),
2794
+ modify: _
2795
+ }), (x, n) => {
2796
+ const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), c = s("el-form");
2797
+ return S(), T(e(le), {
2798
+ modelValue: e(m),
2799
+ "onUpdate:modelValue": n[4] || (n[4] = (C) => N(m) ? m.value = C : null),
2800
2800
  title: e(i)("config.domain"),
2801
2801
  width: "600px",
2802
2802
  executing: e(u),
2803
2803
  onClosed: e(D),
2804
- onSubmit: e(_)
2804
+ onSubmit: e(h)
2805
2805
  }, {
2806
2806
  default: o(() => [
2807
- l(m, {
2807
+ l(c, {
2808
2808
  ref_key: "form",
2809
2809
  ref: p,
2810
- model: e(n),
2810
+ model: e(t),
2811
2811
  "label-width": "auto",
2812
- rules: g,
2812
+ rules: b,
2813
2813
  disabled: e(v) || e(u)
2814
2814
  }, {
2815
2815
  default: o(() => [
@@ -2819,8 +2819,8 @@ const Wl = /* @__PURE__ */ O({
2819
2819
  }, {
2820
2820
  default: o(() => [
2821
2821
  l(Ul, {
2822
- modelValue: e(n).provider_id,
2823
- "onUpdate:modelValue": t[0] || (t[0] = (S) => e(n).provider_id = S),
2822
+ modelValue: e(t).provider_id,
2823
+ "onUpdate:modelValue": n[0] || (n[0] = (C) => e(t).provider_id = C),
2824
2824
  disabled: e(u)
2825
2825
  }, null, 8, ["modelValue", "disabled"])
2826
2826
  ]),
@@ -2832,8 +2832,8 @@ const Wl = /* @__PURE__ */ O({
2832
2832
  }, {
2833
2833
  default: o(() => [
2834
2834
  l(r, {
2835
- modelValue: e(n).name,
2836
- "onUpdate:modelValue": t[1] || (t[1] = (S) => e(n).name = S),
2835
+ modelValue: e(t).name,
2836
+ "onUpdate:modelValue": n[1] || (n[1] = (C) => e(t).name = C),
2837
2837
  disabled: e(u),
2838
2838
  placeholder: e(a)("placeholder.input")
2839
2839
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2849,8 +2849,8 @@ const Wl = /* @__PURE__ */ O({
2849
2849
  l(y, {
2850
2850
  type: "date",
2851
2851
  style: { width: "100%" },
2852
- modelValue: e(n).expired_at,
2853
- "onUpdate:modelValue": t[2] || (t[2] = (S) => e(n).expired_at = S),
2852
+ modelValue: e(t).expired_at,
2853
+ "onUpdate:modelValue": n[2] || (n[2] = (C) => e(t).expired_at = C),
2854
2854
  disabled: e(u),
2855
2855
  "value-format": e($).DATE_VALUE_FORMAT,
2856
2856
  format: e($).DATE_FORMAT,
@@ -2865,8 +2865,8 @@ const Wl = /* @__PURE__ */ O({
2865
2865
  }, {
2866
2866
  default: o(() => [
2867
2867
  l(r, {
2868
- modelValue: e(n).remark,
2869
- "onUpdate:modelValue": t[3] || (t[3] = (S) => e(n).remark = S),
2868
+ modelValue: e(t).remark,
2869
+ "onUpdate:modelValue": n[3] || (n[3] = (C) => e(t).remark = C),
2870
2870
  disabled: e(u),
2871
2871
  placeholder: e(a)("placeholder.input")
2872
2872
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2883,7 +2883,7 @@ const Wl = /* @__PURE__ */ O({
2883
2883
  }
2884
2884
  }), Al = {
2885
2885
  gen: "gen"
2886
- }, ie = W.routineApi("SSL", "id", Al), Dl = /* @__PURE__ */ O({
2886
+ }, ie = Y.routineApi("SSL", "id", Al), Dl = /* @__PURE__ */ O({
2887
2887
  __name: "SiteSelect",
2888
2888
  props: {
2889
2889
  modelValue: {
@@ -2896,18 +2896,18 @@ const Wl = /* @__PURE__ */ O({
2896
2896
  }
2897
2897
  },
2898
2898
  emits: ["update:modelValue", "change"],
2899
- setup(x, {
2899
+ setup(w, {
2900
2900
  expose: R,
2901
2901
  emit: k
2902
2902
  }) {
2903
- const V = k, b = x, {
2904
- requesting: g
2905
- } = E(ue), {
2906
- key: c,
2903
+ const V = k, g = w, {
2904
+ requesting: b
2905
+ } = F(ue), {
2906
+ key: m,
2907
2907
  options: i,
2908
2908
  refresh: p,
2909
- change: n
2910
- } = re(ne(b, "modelValue"), V, {
2909
+ change: t
2910
+ } = te(oe(g, "modelValue"), V, {
2911
2911
  key: "SITE_LIST",
2912
2912
  api: ue,
2913
2913
  isArray: !0
@@ -2925,27 +2925,27 @@ const Wl = /* @__PURE__ */ O({
2925
2925
  refresh: p
2926
2926
  }), (v, u) => {
2927
2927
  const f = s("el-select-v2");
2928
- return C(), T(f, {
2929
- modelValue: e(c),
2930
- "onUpdate:modelValue": u[0] || (u[0] = (h) => P(c) ? c.value = h : null),
2928
+ return S(), T(f, {
2929
+ modelValue: e(m),
2930
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => N(m) ? m.value = _ : null),
2931
2931
  options: e(i),
2932
- disabled: x.disabled || e(g),
2932
+ disabled: w.disabled || e(b),
2933
2933
  placeholder: e(a)("base.select config.domain"),
2934
- onChange: e(n)
2934
+ onChange: e(t)
2935
2935
  }, {
2936
2936
  prefix: o(() => [l(e(me), {
2937
- loading: e(g),
2937
+ loading: e(b),
2938
2938
  onRefresh: e(p)
2939
2939
  }, null, 8, ["loading", "onRefresh"])]),
2940
2940
  _: 1
2941
2941
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2942
2942
  };
2943
2943
  }
2944
- }), Fe = /* @__PURE__ */ O({
2944
+ }), Ee = /* @__PURE__ */ O({
2945
2945
  __name: "SSLFormModal",
2946
2946
  emits: ["refresh"],
2947
- setup(x, { expose: R, emit: k }) {
2948
- const V = k, b = {
2947
+ setup(w, { expose: R, emit: k }) {
2948
+ const V = k, g = {
2949
2949
  id: 0,
2950
2950
  domain_id: void 0,
2951
2951
  client: "Lego",
@@ -2955,36 +2955,36 @@ const Wl = /* @__PURE__ */ O({
2955
2955
  email: "",
2956
2956
  encryption: "RSA2048",
2957
2957
  remark: ""
2958
- }, g = {
2958
+ }, b = {
2959
2959
  domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
2960
2960
  client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
2961
2961
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2962
2962
  path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
2963
2963
  email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
2964
2964
  encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
2965
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, ie);
2965
+ }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: _, submit: h, closed: D } = X(V, g, ie);
2966
2966
  return R({
2967
2967
  open: f,
2968
- modify: h,
2969
- formData: n
2970
- }), (w, t) => {
2971
- const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), m = s("el-input"), S = s("el-form");
2972
- return C(), T(e(ee), {
2973
- modelValue: e(c),
2974
- "onUpdate:modelValue": t[8] || (t[8] = (A) => P(c) ? c.value = A : null),
2968
+ modify: _,
2969
+ formData: t
2970
+ }), (x, n) => {
2971
+ const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), c = s("el-input"), C = s("el-form");
2972
+ return S(), T(e(le), {
2973
+ modelValue: e(m),
2974
+ "onUpdate:modelValue": n[8] || (n[8] = (A) => N(m) ? m.value = A : null),
2975
2975
  title: e(i)("ssl.ssl"),
2976
2976
  width: "600px",
2977
2977
  executing: e(u),
2978
2978
  onClosed: e(D),
2979
- onSubmit: e(_)
2979
+ onSubmit: e(h)
2980
2980
  }, {
2981
2981
  default: o(() => [
2982
- l(S, {
2982
+ l(C, {
2983
2983
  ref_key: "form",
2984
2984
  ref: p,
2985
- model: e(n),
2985
+ model: e(t),
2986
2986
  "label-width": "auto",
2987
- rules: g,
2987
+ rules: b,
2988
2988
  disabled: e(v) || e(u)
2989
2989
  }, {
2990
2990
  default: o(() => [
@@ -2994,8 +2994,8 @@ const Wl = /* @__PURE__ */ O({
2994
2994
  }, {
2995
2995
  default: o(() => [
2996
2996
  l($e, {
2997
- modelValue: e(n).domain_id,
2998
- "onUpdate:modelValue": t[0] || (t[0] = (A) => e(n).domain_id = A),
2997
+ modelValue: e(t).domain_id,
2998
+ "onUpdate:modelValue": n[0] || (n[0] = (A) => e(t).domain_id = A),
2999
2999
  disabled: e(u)
3000
3000
  }, null, 8, ["modelValue", "disabled"])
3001
3001
  ]),
@@ -3007,8 +3007,8 @@ const Wl = /* @__PURE__ */ O({
3007
3007
  }, {
3008
3008
  default: o(() => [
3009
3009
  l(y, {
3010
- modelValue: e(n).client,
3011
- "onUpdate:modelValue": t[1] || (t[1] = (A) => e(n).client = A)
3010
+ modelValue: e(t).client,
3011
+ "onUpdate:modelValue": n[1] || (n[1] = (A) => e(t).client = A)
3012
3012
  }, {
3013
3013
  default: o(() => [
3014
3014
  l(r, {
@@ -3027,8 +3027,8 @@ const Wl = /* @__PURE__ */ O({
3027
3027
  }, {
3028
3028
  default: o(() => [
3029
3029
  l(Dl, {
3030
- modelValue: e(n).site_id,
3031
- "onUpdate:modelValue": t[2] || (t[2] = (A) => e(n).site_id = A),
3030
+ modelValue: e(t).site_id,
3031
+ "onUpdate:modelValue": n[2] || (n[2] = (A) => e(t).site_id = A),
3032
3032
  disabled: e(u)
3033
3033
  }, null, 8, ["modelValue", "disabled"])
3034
3034
  ]),
@@ -3039,9 +3039,9 @@ const Wl = /* @__PURE__ */ O({
3039
3039
  label: e(a)("base.name")
3040
3040
  }, {
3041
3041
  default: o(() => [
3042
- l(m, {
3043
- modelValue: e(n).name,
3044
- "onUpdate:modelValue": t[3] || (t[3] = (A) => e(n).name = A),
3042
+ l(c, {
3043
+ modelValue: e(t).name,
3044
+ "onUpdate:modelValue": n[3] || (n[3] = (A) => e(t).name = A),
3045
3045
  disabled: e(u),
3046
3046
  placeholder: e(a)("placeholder.input")
3047
3047
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3053,9 +3053,9 @@ const Wl = /* @__PURE__ */ O({
3053
3053
  label: e(a)("base.path")
3054
3054
  }, {
3055
3055
  default: o(() => [
3056
- l(m, {
3057
- modelValue: e(n).path,
3058
- "onUpdate:modelValue": t[4] || (t[4] = (A) => e(n).path = A),
3056
+ l(c, {
3057
+ modelValue: e(t).path,
3058
+ "onUpdate:modelValue": n[4] || (n[4] = (A) => e(t).path = A),
3059
3059
  disabled: e(u),
3060
3060
  placeholder: e(a)("placeholder.input")
3061
3061
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3067,9 +3067,9 @@ const Wl = /* @__PURE__ */ O({
3067
3067
  label: e(a)("base.email")
3068
3068
  }, {
3069
3069
  default: o(() => [
3070
- l(m, {
3071
- modelValue: e(n).email,
3072
- "onUpdate:modelValue": t[5] || (t[5] = (A) => e(n).email = A),
3070
+ l(c, {
3071
+ modelValue: e(t).email,
3072
+ "onUpdate:modelValue": n[5] || (n[5] = (A) => e(t).email = A),
3073
3073
  disabled: e(u),
3074
3074
  placeholder: e(a)("placeholder.input")
3075
3075
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3082,8 +3082,8 @@ const Wl = /* @__PURE__ */ O({
3082
3082
  }, {
3083
3083
  default: o(() => [
3084
3084
  l(y, {
3085
- modelValue: e(n).encryption,
3086
- "onUpdate:modelValue": t[6] || (t[6] = (A) => e(n).encryption = A)
3085
+ modelValue: e(t).encryption,
3086
+ "onUpdate:modelValue": n[6] || (n[6] = (A) => e(t).encryption = A)
3087
3087
  }, {
3088
3088
  default: o(() => [
3089
3089
  l(r, {
@@ -3101,9 +3101,9 @@ const Wl = /* @__PURE__ */ O({
3101
3101
  label: e(a)("base.remark")
3102
3102
  }, {
3103
3103
  default: o(() => [
3104
- l(m, {
3105
- modelValue: e(n).remark,
3106
- "onUpdate:modelValue": t[7] || (t[7] = (A) => e(n).remark = A),
3104
+ l(c, {
3105
+ modelValue: e(t).remark,
3106
+ "onUpdate:modelValue": n[7] || (n[7] = (A) => e(t).remark = A),
3107
3107
  disabled: e(u),
3108
3108
  placeholder: e(a)("placeholder.input")
3109
3109
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3121,8 +3121,8 @@ const Wl = /* @__PURE__ */ O({
3121
3121
  }), Sl = /* @__PURE__ */ O({
3122
3122
  __name: "DomainProviderFormModal",
3123
3123
  emits: ["refresh"],
3124
- setup(x, { expose: R, emit: k }) {
3125
- const V = k, b = {
3124
+ setup(w, { expose: R, emit: k }) {
3125
+ const V = k, g = {
3126
3126
  id: 0,
3127
3127
  name: "",
3128
3128
  en_name: "",
@@ -3131,34 +3131,34 @@ const Wl = /* @__PURE__ */ O({
3131
3131
  end_point: "",
3132
3132
  status: 1,
3133
3133
  remark: ""
3134
- }, g = {
3134
+ }, b = {
3135
3135
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
3136
3136
  en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
3137
3137
  key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
3138
3138
  secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
3139
3139
  end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
3140
- }, { modal: c, title: i, form: p, formData: n, requesting: v, executing: u, open: f, modify: h, submit: _, closed: D } = X(V, b, ge);
3140
+ }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: _, submit: h, closed: D } = X(V, g, ge);
3141
3141
  return R({
3142
3142
  open: f,
3143
- modify: h
3144
- }), (w, t) => {
3143
+ modify: _
3144
+ }), (x, n) => {
3145
3145
  const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
3146
- return C(), T(e(ee), {
3147
- modelValue: e(c),
3148
- "onUpdate:modelValue": t[6] || (t[6] = (m) => P(c) ? c.value = m : null),
3146
+ return S(), T(e(le), {
3147
+ modelValue: e(m),
3148
+ "onUpdate:modelValue": n[6] || (n[6] = (c) => N(m) ? m.value = c : null),
3149
3149
  title: e(i)("config.domain"),
3150
3150
  width: "600px",
3151
3151
  executing: e(u),
3152
3152
  onClosed: e(D),
3153
- onSubmit: e(_)
3153
+ onSubmit: e(h)
3154
3154
  }, {
3155
3155
  default: o(() => [
3156
3156
  l(y, {
3157
3157
  ref_key: "form",
3158
3158
  ref: p,
3159
- model: e(n),
3159
+ model: e(t),
3160
3160
  "label-width": "auto",
3161
- rules: g,
3161
+ rules: b,
3162
3162
  disabled: e(v) || e(u)
3163
3163
  }, {
3164
3164
  default: o(() => [
@@ -3168,8 +3168,8 @@ const Wl = /* @__PURE__ */ O({
3168
3168
  }, {
3169
3169
  default: o(() => [
3170
3170
  l(d, {
3171
- modelValue: e(n).name,
3172
- "onUpdate:modelValue": t[0] || (t[0] = (m) => e(n).name = m),
3171
+ modelValue: e(t).name,
3172
+ "onUpdate:modelValue": n[0] || (n[0] = (c) => e(t).name = c),
3173
3173
  disabled: e(u),
3174
3174
  placeholder: e(a)("placeholder.input")
3175
3175
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3182,8 +3182,8 @@ const Wl = /* @__PURE__ */ O({
3182
3182
  }, {
3183
3183
  default: o(() => [
3184
3184
  l(d, {
3185
- modelValue: e(n).en_name,
3186
- "onUpdate:modelValue": t[1] || (t[1] = (m) => e(n).en_name = m),
3185
+ modelValue: e(t).en_name,
3186
+ "onUpdate:modelValue": n[1] || (n[1] = (c) => e(t).en_name = c),
3187
3187
  disabled: e(u),
3188
3188
  placeholder: e(a)("placeholder.input")
3189
3189
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3196,8 +3196,8 @@ const Wl = /* @__PURE__ */ O({
3196
3196
  }, {
3197
3197
  default: o(() => [
3198
3198
  l(d, {
3199
- modelValue: e(n).key,
3200
- "onUpdate:modelValue": t[2] || (t[2] = (m) => e(n).key = m),
3199
+ modelValue: e(t).key,
3200
+ "onUpdate:modelValue": n[2] || (n[2] = (c) => e(t).key = c),
3201
3201
  disabled: e(u),
3202
3202
  placeholder: e(a)("placeholder.input")
3203
3203
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3210,8 +3210,8 @@ const Wl = /* @__PURE__ */ O({
3210
3210
  }, {
3211
3211
  default: o(() => [
3212
3212
  l(d, {
3213
- modelValue: e(n).secret,
3214
- "onUpdate:modelValue": t[3] || (t[3] = (m) => e(n).secret = m),
3213
+ modelValue: e(t).secret,
3214
+ "onUpdate:modelValue": n[3] || (n[3] = (c) => e(t).secret = c),
3215
3215
  disabled: e(u),
3216
3216
  placeholder: e(a)("placeholder.input")
3217
3217
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3224,8 +3224,8 @@ const Wl = /* @__PURE__ */ O({
3224
3224
  }, {
3225
3225
  default: o(() => [
3226
3226
  l(d, {
3227
- modelValue: e(n).end_point,
3228
- "onUpdate:modelValue": t[4] || (t[4] = (m) => e(n).end_point = m),
3227
+ modelValue: e(t).end_point,
3228
+ "onUpdate:modelValue": n[4] || (n[4] = (c) => e(t).end_point = c),
3229
3229
  disabled: e(u),
3230
3230
  placeholder: e(a)("placeholder.input")
3231
3231
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3238,8 +3238,8 @@ const Wl = /* @__PURE__ */ O({
3238
3238
  }, {
3239
3239
  default: o(() => [
3240
3240
  l(d, {
3241
- modelValue: e(n).remark,
3242
- "onUpdate:modelValue": t[5] || (t[5] = (m) => e(n).remark = m),
3241
+ modelValue: e(t).remark,
3242
+ "onUpdate:modelValue": n[5] || (n[5] = (c) => e(t).remark = c),
3243
3243
  disabled: e(u),
3244
3244
  placeholder: e(a)("placeholder.input")
3245
3245
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3256,18 +3256,18 @@ const Wl = /* @__PURE__ */ O({
3256
3256
  }
3257
3257
  }), Cl = /* @__PURE__ */ O({
3258
3258
  __name: "DomainProviderTableDrawer",
3259
- setup(x, {
3259
+ setup(w, {
3260
3260
  expose: R
3261
3261
  }) {
3262
3262
  const {
3263
3263
  requesting: k
3264
- } = E(ge), V = N(!1), {
3265
- tableRef: b,
3266
- formModalRef: g,
3267
- refresh: c,
3264
+ } = F(ge), V = B(!1), {
3265
+ tableRef: g,
3266
+ formModalRef: b,
3267
+ refresh: m,
3268
3268
  openFormModal: i,
3269
3269
  editFormModal: p
3270
- } = F({}), n = [{
3270
+ } = E({}), t = [{
3271
3271
  prop: "name",
3272
3272
  label: a("base.name"),
3273
3273
  width: 0,
@@ -3284,7 +3284,7 @@ const Wl = /* @__PURE__ */ O({
3284
3284
  render: ({
3285
3285
  rowData: u
3286
3286
  }) => l(s("el-space"), null, {
3287
- default: () => [l(le, {
3287
+ default: () => [l(ae, {
3288
3288
  icon: "icon-edit",
3289
3289
  t: "",
3290
3290
  onModify: () => p({
@@ -3298,20 +3298,20 @@ const Wl = /* @__PURE__ */ O({
3298
3298
  V.value = !0;
3299
3299
  }
3300
3300
  }), (u, f) => {
3301
- const h = s("el-page-header");
3302
- return C(), T(e(fe), {
3301
+ const _ = s("el-page-header");
3302
+ return S(), T(e(fe), {
3303
3303
  modelValue: V.value,
3304
- "onUpdate:modelValue": f[0] || (f[0] = (_) => V.value = _),
3304
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => V.value = h),
3305
3305
  width: "400px",
3306
3306
  "show-close": !1,
3307
3307
  class: "basic-drawer"
3308
3308
  }, {
3309
- title: o(() => [l(h, {
3309
+ title: o(() => [l(_, {
3310
3310
  icon: ""
3311
3311
  }, {
3312
- title: o(() => [B("span", null, z(e(a)("config.domain config.provider")), 1)]),
3312
+ title: o(() => [P("span", null, z(e(a)("config.domain config.provider")), 1)]),
3313
3313
  content: o(() => [l(e(K), {
3314
- onRefresh: e(c),
3314
+ onRefresh: e(m),
3315
3315
  size: "default",
3316
3316
  loading: e(k)
3317
3317
  }, null, 8, ["onRefresh", "loading"])]),
@@ -3322,16 +3322,16 @@ const Wl = /* @__PURE__ */ O({
3322
3322
  })]),
3323
3323
  default: o(() => [l(e(de), {
3324
3324
  ref_key: "tableRef",
3325
- ref: b,
3325
+ ref: g,
3326
3326
  size: "small",
3327
3327
  "row-key": "id",
3328
3328
  url: e(ge).urls.list,
3329
- columns: n,
3329
+ columns: t,
3330
3330
  loading: e(k)
3331
3331
  }, null, 8, ["url", "loading"]), l(Sl, {
3332
3332
  ref_key: "formModalRef",
3333
- ref: g,
3334
- onRefresh: e(c)
3333
+ ref: b,
3334
+ onRefresh: e(m)
3335
3335
  }, null, 8, ["onRefresh"])]),
3336
3336
  _: 1
3337
3337
  }, 8, ["modelValue"]);
@@ -3339,34 +3339,34 @@ const Wl = /* @__PURE__ */ O({
3339
3339
  }
3340
3340
  }), Ll = /* @__PURE__ */ O({
3341
3341
  __name: "DomainTableDrawer",
3342
- setup(x, {
3342
+ setup(w, {
3343
3343
  expose: R
3344
3344
  }) {
3345
3345
  const {
3346
3346
  requesting: k
3347
- } = E(be), V = N(!1), {
3348
- tableRef: b,
3349
- formModalRef: g,
3350
- refresh: c,
3347
+ } = F(be), V = B(!1), {
3348
+ tableRef: g,
3349
+ formModalRef: b,
3350
+ refresh: m,
3351
3351
  openFormModal: i,
3352
3352
  editFormModal: p
3353
- } = F(), {
3354
- formModalRef: n,
3353
+ } = E(), {
3354
+ formModalRef: t,
3355
3355
  openFormModal: v,
3356
3356
  editFormModal: u
3357
- } = F(), {
3357
+ } = E(), {
3358
3358
  formModalRef: f,
3359
- openFormModal: h
3360
- } = F(), _ = [{
3359
+ openFormModal: _
3360
+ } = E(), h = [{
3361
3361
  prop: "provider",
3362
3362
  label: a("config.domain config.provider"),
3363
3363
  width: 120,
3364
3364
  cellRenderer: ({
3365
- rowData: w
3365
+ rowData: x
3366
3366
  }) => l(s("el-text"), null, {
3367
3367
  default: () => {
3368
- var t;
3369
- return [(t = w.provider) == null ? void 0 : t.name];
3368
+ var n;
3369
+ return [(n = x.provider) == null ? void 0 : n.name];
3370
3370
  }
3371
3371
  })
3372
3372
  }, {
@@ -3384,13 +3384,13 @@ const Wl = /* @__PURE__ */ O({
3384
3384
  width: 100,
3385
3385
  align: "center",
3386
3386
  render: ({
3387
- rowData: w
3387
+ rowData: x
3388
3388
  }) => l(s("el-space"), null, {
3389
- default: () => [l(le, {
3389
+ default: () => [l(ae, {
3390
3390
  icon: "icon-edit",
3391
3391
  t: "",
3392
3392
  onModify: () => p({
3393
- id: w.id
3393
+ id: x.id
3394
3394
  })
3395
3395
  }, null), l(j, {
3396
3396
  icon: "icon-safetycertificate-f",
@@ -3398,10 +3398,10 @@ const Wl = /* @__PURE__ */ O({
3398
3398
  size: "small",
3399
3399
  link: !0,
3400
3400
  onOpen: () => {
3401
- var t;
3402
- w.ssl && w.ssl.id ? u({
3403
- id: (t = w.ssl) == null ? void 0 : t.id
3404
- }) : (n.value.formData.domain_id = w.id, n.value.formData.site_id = 0, v());
3401
+ var n;
3402
+ x.ssl && x.ssl.id ? u({
3403
+ id: (n = x.ssl) == null ? void 0 : n.id
3404
+ }) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0, v());
3405
3405
  }
3406
3406
  }, null)]
3407
3407
  })
@@ -3410,11 +3410,11 @@ const Wl = /* @__PURE__ */ O({
3410
3410
  open: () => {
3411
3411
  V.value = !0;
3412
3412
  }
3413
- }), (w, t) => {
3413
+ }), (x, n) => {
3414
3414
  const d = s("el-space"), r = s("el-page-header");
3415
- return C(), T(e(fe), {
3415
+ return S(), T(e(fe), {
3416
3416
  modelValue: V.value,
3417
- "onUpdate:modelValue": t[0] || (t[0] = (y) => V.value = y),
3417
+ "onUpdate:modelValue": n[0] || (n[0] = (y) => V.value = y),
3418
3418
  width: "600px",
3419
3419
  "show-close": !1,
3420
3420
  class: "basic-drawer"
@@ -3422,9 +3422,9 @@ const Wl = /* @__PURE__ */ O({
3422
3422
  title: o(() => [l(r, {
3423
3423
  icon: ""
3424
3424
  }, {
3425
- title: o(() => [B("span", null, z(e(a)("config.domain")), 1)]),
3425
+ title: o(() => [P("span", null, z(e(a)("config.domain")), 1)]),
3426
3426
  content: o(() => [l(e(K), {
3427
- onRefresh: e(c),
3427
+ onRefresh: e(m),
3428
3428
  size: "default",
3429
3429
  loading: e(k)
3430
3430
  }, null, 8, ["onRefresh", "loading"]), l(e(j), {
@@ -3435,7 +3435,7 @@ const Wl = /* @__PURE__ */ O({
3435
3435
  alignment: "center"
3436
3436
  }, {
3437
3437
  default: o(() => [l(e(j), {
3438
- onOpen: e(h),
3438
+ onOpen: e(_),
3439
3439
  type: "danger"
3440
3440
  }, null, 8, ["onOpen"])]),
3441
3441
  _: 1
@@ -3444,20 +3444,20 @@ const Wl = /* @__PURE__ */ O({
3444
3444
  })]),
3445
3445
  default: o(() => [l(e(de), {
3446
3446
  ref_key: "tableRef",
3447
- ref: b,
3447
+ ref: g,
3448
3448
  size: "small",
3449
3449
  "row-key": "id",
3450
3450
  url: e(be).urls.list,
3451
- columns: _,
3451
+ columns: h,
3452
3452
  loading: e(k)
3453
3453
  }, null, 8, ["url", "loading"]), l(Ml, {
3454
3454
  ref_key: "formModalRef",
3455
- ref: g,
3456
- onRefresh: e(c)
3457
- }, null, 8, ["onRefresh"]), l(Fe, {
3455
+ ref: b,
3456
+ onRefresh: e(m)
3457
+ }, null, 8, ["onRefresh"]), l(Ee, {
3458
3458
  ref_key: "sslFormModalRef",
3459
- ref: n,
3460
- onRefresh: e(c)
3459
+ ref: t,
3460
+ onRefresh: e(m)
3461
3461
  }, null, 8, ["onRefresh"]), l(Cl, {
3462
3462
  ref_key: "providerTableDrawerRef",
3463
3463
  ref: f
@@ -3468,19 +3468,19 @@ const Wl = /* @__PURE__ */ O({
3468
3468
  }
3469
3469
  }), ql = /* @__PURE__ */ O({
3470
3470
  __name: "SSLTableDrawer",
3471
- setup(x, {
3471
+ setup(w, {
3472
3472
  expose: R
3473
3473
  }) {
3474
3474
  const {
3475
3475
  requesting: k,
3476
3476
  executing: V
3477
- } = E(ie), b = N(0), g = N(!1), {
3478
- tableRef: c,
3477
+ } = F(ie), g = B(0), b = B(!1), {
3478
+ tableRef: m,
3479
3479
  formModalRef: i,
3480
3480
  refresh: p,
3481
- openFormModal: n,
3481
+ openFormModal: t,
3482
3482
  editFormModal: v
3483
- } = F(), u = [
3483
+ } = E(), u = [
3484
3484
  {
3485
3485
  prop: "client",
3486
3486
  label: a("ssl.client"),
@@ -3521,7 +3521,7 @@ const Wl = /* @__PURE__ */ O({
3521
3521
  render: ({
3522
3522
  rowData: D
3523
3523
  }) => l(s("el-space"), null, {
3524
- default: () => [l(le, {
3524
+ default: () => [l(ae, {
3525
3525
  size: "default",
3526
3526
  icon: "icon-edit",
3527
3527
  t: "",
@@ -3529,74 +3529,74 @@ const Wl = /* @__PURE__ */ O({
3529
3529
  onModify: () => v({
3530
3530
  id: D.id
3531
3531
  })
3532
- }, null), l(H, {
3532
+ }, null), l(Q, {
3533
3533
  size: "default",
3534
3534
  icon: "icon-key",
3535
3535
  t: "",
3536
3536
  text: !0,
3537
- disabled: V.value && b.value !== D.id,
3538
- loading: b.value == D.id,
3539
- onClick: () => h(D.id)
3540
- }, null), l(H, {
3537
+ disabled: V.value && g.value !== D.id,
3538
+ loading: g.value == D.id,
3539
+ onClick: () => _(D.id)
3540
+ }, null), l(Q, {
3541
3541
  size: "default",
3542
3542
  icon: "icon-cloud-download",
3543
3543
  t: "",
3544
3544
  text: !0,
3545
- disabled: V.value && b.value !== D.id,
3546
- loading: b.value == D.id,
3547
- onClick: () => _(D)
3545
+ disabled: V.value && g.value !== D.id,
3546
+ loading: g.value == D.id,
3547
+ onClick: () => h(D)
3548
3548
  }, null)]
3549
3549
  })
3550
3550
  }
3551
3551
  ], f = () => {
3552
- g.value = !0;
3553
- }, h = (D) => {
3552
+ b.value = !0;
3553
+ }, _ = (D) => {
3554
3554
  ie.gen({
3555
3555
  id: D
3556
- }).then((w) => {
3557
- console.warn("Res:", w);
3556
+ }).then((x) => {
3557
+ console.warn("Res:", x);
3558
3558
  });
3559
3559
  };
3560
- function _(D) {
3561
- const w = Ce.getDownloadUrl(D.path + ".zip");
3562
- fetch(w).then((t) => t.blob()).then((t) => {
3563
- let d = URL.createObjectURL(t), r = document.createElement("a");
3564
- r.style.display = "none", r.href = d, r.download = D.name + ".zip", r.click(), URL.revokeObjectURL(t);
3560
+ function h(D) {
3561
+ const x = Ce.getDownloadUrl(D.path + ".zip");
3562
+ fetch(x).then((n) => n.blob()).then((n) => {
3563
+ let d = URL.createObjectURL(n), r = document.createElement("a");
3564
+ r.style.display = "none", r.href = d, r.download = D.name + ".zip", r.click(), URL.revokeObjectURL(n);
3565
3565
  });
3566
3566
  }
3567
3567
  return R({
3568
3568
  open: f
3569
- }), (D, w) => {
3570
- const t = s("el-page-header");
3571
- return C(), T(e(fe), {
3572
- modelValue: g.value,
3573
- "onUpdate:modelValue": w[0] || (w[0] = (d) => g.value = d),
3569
+ }), (D, x) => {
3570
+ const n = s("el-page-header");
3571
+ return S(), T(e(fe), {
3572
+ modelValue: b.value,
3573
+ "onUpdate:modelValue": x[0] || (x[0] = (d) => b.value = d),
3574
3574
  width: "1000px",
3575
3575
  "show-close": !1,
3576
3576
  class: "basic-drawer"
3577
3577
  }, {
3578
- title: o(() => [l(t, {
3578
+ title: o(() => [l(n, {
3579
3579
  icon: ""
3580
3580
  }, {
3581
- title: o(() => [B("span", null, z(e(a)("ssl.ssl")), 1)]),
3581
+ title: o(() => [P("span", null, z(e(a)("ssl.ssl")), 1)]),
3582
3582
  content: o(() => [l(e(K), {
3583
3583
  onRefresh: e(p),
3584
3584
  size: "default",
3585
3585
  loading: e(k)
3586
3586
  }, null, 8, ["onRefresh", "loading"]), l(e(j), {
3587
- onOpen: e(n)
3587
+ onOpen: e(t)
3588
3588
  }, null, 8, ["onOpen"])]),
3589
3589
  _: 1
3590
3590
  })]),
3591
3591
  default: o(() => [l(e(de), {
3592
3592
  ref_key: "tableRef",
3593
- ref: c,
3593
+ ref: m,
3594
3594
  size: "default",
3595
3595
  "row-key": "id",
3596
3596
  url: e(ie).urls.list,
3597
3597
  columns: u,
3598
3598
  loading: e(k)
3599
- }, null, 8, ["url", "loading"]), l(Fe, {
3599
+ }, null, 8, ["url", "loading"]), l(Ee, {
3600
3600
  ref_key: "formModalRef",
3601
3601
  ref: i,
3602
3602
  onRefresh: e(p)
@@ -3605,7 +3605,7 @@ const Wl = /* @__PURE__ */ O({
3605
3605
  }, 8, ["modelValue"]);
3606
3606
  };
3607
3607
  }
3608
- }), De = W.routineApi("SSLLog", "id"), Tl = /* @__PURE__ */ O({
3608
+ }), De = Y.routineApi("SSLLog", "id"), Tl = /* @__PURE__ */ O({
3609
3609
  __name: "SSLLogTableDrawer",
3610
3610
  props: {
3611
3611
  ssl: {
@@ -3613,16 +3613,16 @@ const Wl = /* @__PURE__ */ O({
3613
3613
  default: () => ({})
3614
3614
  }
3615
3615
  },
3616
- setup(x, {
3616
+ setup(w, {
3617
3617
  expose: R
3618
3618
  }) {
3619
- const k = x, {
3619
+ const k = w, {
3620
3620
  requesting: V,
3621
- executing: b
3622
- } = E([De, ie]), g = N(!1), {
3623
- tableRef: c,
3621
+ executing: g
3622
+ } = F([De, ie]), b = B(!1), {
3623
+ tableRef: m,
3624
3624
  refresh: i
3625
- } = F(), p = [{
3625
+ } = E(), p = [{
3626
3626
  prop: "status_text",
3627
3627
  label: a("base.status"),
3628
3628
  width: 100
@@ -3638,8 +3638,8 @@ const Wl = /* @__PURE__ */ O({
3638
3638
  prop: "result",
3639
3639
  label: a("base.result"),
3640
3640
  width: 0
3641
- }], n = () => {
3642
- g.value = !0;
3641
+ }], t = () => {
3642
+ b.value = !0;
3643
3643
  };
3644
3644
  function v() {
3645
3645
  ie.gen({
@@ -3650,51 +3650,51 @@ const Wl = /* @__PURE__ */ O({
3650
3650
  }
3651
3651
  function u() {
3652
3652
  const f = Ce.getDownloadUrl(k.ssl.path + ".zip");
3653
- fetch(f).then((h) => h.blob()).then((h) => {
3654
- let _ = URL.createObjectURL(h), D = document.createElement("a");
3655
- D.style.display = "none", D.href = _, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(h);
3653
+ fetch(f).then((_) => _.blob()).then((_) => {
3654
+ let h = URL.createObjectURL(_), D = document.createElement("a");
3655
+ D.style.display = "none", D.href = h, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(_);
3656
3656
  });
3657
3657
  }
3658
3658
  return R({
3659
- open: n
3660
- }), (f, h) => {
3661
- const _ = s("el-page-header");
3662
- return C(), T(e(fe), {
3663
- modelValue: g.value,
3664
- "onUpdate:modelValue": h[0] || (h[0] = (D) => g.value = D),
3659
+ open: t
3660
+ }), (f, _) => {
3661
+ const h = s("el-page-header");
3662
+ return S(), T(e(fe), {
3663
+ modelValue: b.value,
3664
+ "onUpdate:modelValue": _[0] || (_[0] = (D) => b.value = D),
3665
3665
  width: "600px",
3666
3666
  "show-close": !1,
3667
3667
  class: "basic-drawer"
3668
3668
  }, {
3669
- title: o(() => [l(_, {
3669
+ title: o(() => [l(h, {
3670
3670
  icon: ""
3671
3671
  }, {
3672
- title: o(() => [B("span", null, z(e(a)("config.ssl base.log")), 1)]),
3672
+ title: o(() => [P("span", null, z(e(a)("config.ssl base.log")), 1)]),
3673
3673
  content: o(() => [l(e(K), {
3674
3674
  onRefresh: e(i),
3675
3675
  size: "default",
3676
3676
  loading: e(V)
3677
3677
  }, null, 8, ["onRefresh", "loading"])]),
3678
- extra: o(() => [l(e(H), {
3678
+ extra: o(() => [l(e(Q), {
3679
3679
  size: "default",
3680
3680
  type: "danger",
3681
3681
  icon: "icon-key",
3682
- disabled: e(b),
3683
- loading: e(b),
3682
+ disabled: e(g),
3683
+ loading: e(g),
3684
3684
  onClick: v
3685
- }, null, 8, ["disabled", "loading"]), l(e(H), {
3685
+ }, null, 8, ["disabled", "loading"]), l(e(Q), {
3686
3686
  size: "default",
3687
3687
  type: "primary",
3688
3688
  icon: "icon-cloud-download",
3689
- disabled: e(b),
3690
- loading: e(b),
3689
+ disabled: e(g),
3690
+ loading: e(g),
3691
3691
  onClick: u
3692
3692
  }, null, 8, ["disabled", "loading"])]),
3693
3693
  _: 1
3694
3694
  })]),
3695
3695
  default: o(() => [l(e(ce), {
3696
3696
  ref_key: "tableRef",
3697
- ref: c,
3697
+ ref: m,
3698
3698
  size: "small",
3699
3699
  "row-key": "id",
3700
3700
  url: e(De).urls.search,
@@ -3707,27 +3707,27 @@ const Wl = /* @__PURE__ */ O({
3707
3707
  }
3708
3708
  }), Ol = /* @__PURE__ */ O({
3709
3709
  __name: "index",
3710
- setup(x) {
3711
- const R = N(), {
3710
+ setup(w) {
3711
+ const R = B(), {
3712
3712
  requesting: k,
3713
3713
  executing: V
3714
- } = E(ue), {
3715
- tableRef: b,
3716
- formModalRef: g,
3717
- reset: c,
3714
+ } = F(ue), {
3715
+ tableRef: g,
3716
+ formModalRef: b,
3717
+ reset: m,
3718
3718
  refresh: i,
3719
3719
  openFormModal: p,
3720
- editFormModal: n
3721
- } = F(), {
3720
+ editFormModal: t
3721
+ } = E(), {
3722
3722
  formModalRef: v,
3723
3723
  openFormModal: u
3724
- } = F(), {
3724
+ } = E(), {
3725
3725
  formModalRef: f,
3726
- openFormModal: h
3727
- } = F(), {
3728
- formModalRef: _,
3726
+ openFormModal: _
3727
+ } = E(), {
3728
+ formModalRef: h,
3729
3729
  openFormModal: D
3730
- } = F(), w = [{
3730
+ } = E(), x = [{
3731
3731
  prop: "domain.name",
3732
3732
  label: a("config.domain"),
3733
3733
  width: 129,
@@ -3785,34 +3785,34 @@ const Wl = /* @__PURE__ */ O({
3785
3785
  cellRenderer: ({
3786
3786
  rowData: r
3787
3787
  }) => l(s("el-space"), null, {
3788
- default: () => [l(le, {
3788
+ default: () => [l(ae, {
3789
3789
  icon: "icon-edit",
3790
3790
  t: "",
3791
- onModify: () => n({
3791
+ onModify: () => t({
3792
3792
  id: r.id
3793
3793
  })
3794
- }, null), l(H, {
3794
+ }, null), l(Q, {
3795
3795
  icon: "icon-securityscan",
3796
3796
  type: "primary",
3797
3797
  size: "small",
3798
3798
  link: !0,
3799
3799
  disabled: V.value,
3800
- loading: t.value == r.id && V.value,
3800
+ loading: n.value == r.id && V.value,
3801
3801
  onClick: () => d(r)
3802
3802
  }, null)]
3803
3803
  })
3804
- }], t = N(0), d = (r) => {
3805
- t.value = r.id, ue.check({
3804
+ }], n = B(0), d = (r) => {
3805
+ n.value = r.id, ue.check({
3806
3806
  id: r.id
3807
3807
  }).then((y) => {
3808
3808
  y.data && (Je(y), i());
3809
3809
  }).finally(() => {
3810
- t.value = 0;
3810
+ n.value = 0;
3811
3811
  });
3812
3812
  };
3813
3813
  return (r, y) => {
3814
- const m = s("el-space"), S = s("el-page-header"), A = s("el-card");
3815
- return C(), T(A, {
3814
+ const c = s("el-space"), C = s("el-page-header"), A = s("el-card");
3815
+ return S(), T(A, {
3816
3816
  "body-style": {
3817
3817
  padding: "12px",
3818
3818
  height: "450px"
@@ -3820,11 +3820,11 @@ const Wl = /* @__PURE__ */ O({
3820
3820
  "body-class": "flex-1",
3821
3821
  class: "config-card"
3822
3822
  }, {
3823
- header: o(() => [l(S, {
3823
+ header: o(() => [l(C, {
3824
3824
  icon: ""
3825
3825
  }, {
3826
- title: o(() => [B("span", null, z(e(a)("config.keys.sites")), 1)]),
3827
- content: o(() => [l(m, {
3826
+ title: o(() => [P("span", null, z(e(a)("config.keys.sites")), 1)]),
3827
+ content: o(() => [l(c, {
3828
3828
  alignment: "center",
3829
3829
  style: {
3830
3830
  height: "32px"
@@ -3832,7 +3832,7 @@ const Wl = /* @__PURE__ */ O({
3832
3832
  }, {
3833
3833
  default: o(() => [l(e(K), {
3834
3834
  loading: e(k),
3835
- onRefresh: e(c)
3835
+ onRefresh: e(m)
3836
3836
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
3837
3837
  onOpen: e(p)
3838
3838
  }, null, 8, ["onOpen"])]),
@@ -3842,22 +3842,22 @@ const Wl = /* @__PURE__ */ O({
3842
3842
  onOpen: e(u),
3843
3843
  icon: "icon-compass"
3844
3844
  }, null, 8, ["onOpen"]), l(e(j), {
3845
- onOpen: e(h),
3845
+ onOpen: e(_),
3846
3846
  icon: "icon-safetycertificate-f"
3847
3847
  }, null, 8, ["onOpen"])]),
3848
3848
  _: 1
3849
3849
  })]),
3850
3850
  default: o(() => [l(e(de), {
3851
3851
  ref_key: "tableRef",
3852
- ref: b,
3852
+ ref: g,
3853
3853
  size: "small",
3854
3854
  "row-key": "id",
3855
3855
  url: e(ue).urls[e(Xe)],
3856
3856
  "auto-search": "",
3857
- columns: w
3857
+ columns: x
3858
3858
  }, null, 8, ["url"]), l(Rl, {
3859
3859
  ref_key: "formModalRef",
3860
- ref: g,
3860
+ ref: b,
3861
3861
  onRefresh: e(i)
3862
3862
  }, null, 8, ["onRefresh"]), l(Ll, {
3863
3863
  ref_key: "domainTableDrawerRef",
@@ -3867,22 +3867,22 @@ const Wl = /* @__PURE__ */ O({
3867
3867
  ref: f
3868
3868
  }, null, 512), l(Tl, {
3869
3869
  ref_key: "sslLogTableDrawerRef",
3870
- ref: _
3870
+ ref: h
3871
3871
  }, null, 512)]),
3872
3872
  _: 1
3873
3873
  });
3874
3874
  };
3875
3875
  }
3876
- }), $l = /* @__PURE__ */ qe(Ol, [["__scopeId", "data-v-17c31592"]]), Fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3876
+ }), $l = /* @__PURE__ */ qe(Ol, [["__scopeId", "data-v-17c31592"]]), El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3877
3877
  __proto__: null,
3878
3878
  default: $l
3879
- }, Symbol.toStringTag, { value: "Module" })), El = {
3879
+ }, Symbol.toStringTag, { value: "Module" })), Fl = {
3880
3880
  request: "request",
3881
3881
  error: "error",
3882
3882
  sql: "SQL"
3883
- }, pe = W.routineApi("log", "id", El), Gl = /* @__PURE__ */ O({
3883
+ }, pe = Y.routineApi("log", "id", Fl), Yl = /* @__PURE__ */ O({
3884
3884
  __name: "index",
3885
- setup(x) {
3885
+ setup(w) {
3886
3886
  const R = {
3887
3887
  dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
3888
3888
  }, k = [{
@@ -3903,15 +3903,15 @@ const Wl = /* @__PURE__ */ O({
3903
3903
  width: 200
3904
3904
  }], {
3905
3905
  requesting: V
3906
- } = E(pe), {
3907
- tableRef: b,
3908
- keyword: g,
3909
- search: c,
3906
+ } = F(pe), {
3907
+ tableRef: g,
3908
+ keyword: b,
3909
+ search: m,
3910
3910
  reset: i
3911
- } = F(R);
3912
- return (p, n) => {
3913
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), h = s("el-card");
3914
- return C(), T(h, {
3911
+ } = E(R);
3912
+ return (p, t) => {
3913
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), _ = s("el-card");
3914
+ return S(), T(_, {
3915
3915
  class: "basic-card flex-full",
3916
3916
  "body-class": "flex-1"
3917
3917
  }, {
@@ -3926,8 +3926,8 @@ const Wl = /* @__PURE__ */ O({
3926
3926
  class: "search-bar"
3927
3927
  }, {
3928
3928
  default: o(() => [l(v, {
3929
- modelValue: e(g).dates,
3930
- "onUpdate:modelValue": n[0] || (n[0] = (_) => e(g).dates = _),
3929
+ modelValue: e(b).dates,
3930
+ "onUpdate:modelValue": t[0] || (t[0] = (h) => e(b).dates = h),
3931
3931
  class: "basic-search-datetimerange",
3932
3932
  "value-format": e($).DATE_VALUE_FORMAT,
3933
3933
  format: e($).DATE_SHOW_FORMAT,
@@ -3936,10 +3936,10 @@ const Wl = /* @__PURE__ */ O({
3936
3936
  "start-placeholder": e(a)("base.start_at"),
3937
3937
  "end-placeholder": e(a)("base.end_at"),
3938
3938
  clearable: !1,
3939
- onChange: n[1] || (n[1] = (_) => e(c)())
3940
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
3939
+ onChange: t[1] || (t[1] = (h) => e(m)())
3940
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
3941
3941
  disabled: e(V),
3942
- onSearch: n[2] || (n[2] = (_) => e(c)())
3942
+ onSearch: t[2] || (t[2] = (h) => e(m)())
3943
3943
  }, null, 8, ["disabled"])]),
3944
3944
  _: 1
3945
3945
  })]),
@@ -3947,11 +3947,11 @@ const Wl = /* @__PURE__ */ O({
3947
3947
  })]),
3948
3948
  default: o(() => [l(e(de), {
3949
3949
  ref_key: "tableRef",
3950
- ref: b,
3950
+ ref: g,
3951
3951
  size: "small",
3952
3952
  columns: k,
3953
3953
  url: e(pe).urls.request,
3954
- "search-param": e(g),
3954
+ "search-param": e(b),
3955
3955
  "auto-search": ""
3956
3956
  }, null, 8, ["url", "search-param"])]),
3957
3957
  _: 1
@@ -3960,7 +3960,7 @@ const Wl = /* @__PURE__ */ O({
3960
3960
  }
3961
3961
  }), Hl = /* @__PURE__ */ O({
3962
3962
  __name: "index",
3963
- setup(x) {
3963
+ setup(w) {
3964
3964
  const R = {
3965
3965
  dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
3966
3966
  }, k = [{
@@ -3981,15 +3981,15 @@ const Wl = /* @__PURE__ */ O({
3981
3981
  width: 200
3982
3982
  }], {
3983
3983
  requesting: V
3984
- } = E(pe), {
3985
- tableRef: b,
3986
- keyword: g,
3987
- search: c,
3984
+ } = F(pe), {
3985
+ tableRef: g,
3986
+ keyword: b,
3987
+ search: m,
3988
3988
  reset: i
3989
- } = F(R);
3990
- return (p, n) => {
3991
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), h = s("el-card");
3992
- return C(), T(h, {
3989
+ } = E(R);
3990
+ return (p, t) => {
3991
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), _ = s("el-card");
3992
+ return S(), T(_, {
3993
3993
  class: "basic-card flex-full",
3994
3994
  "body-class": "flex-1"
3995
3995
  }, {
@@ -4004,8 +4004,8 @@ const Wl = /* @__PURE__ */ O({
4004
4004
  class: "search-bar"
4005
4005
  }, {
4006
4006
  default: o(() => [l(v, {
4007
- modelValue: e(g).dates,
4008
- "onUpdate:modelValue": n[0] || (n[0] = (_) => e(g).dates = _),
4007
+ modelValue: e(b).dates,
4008
+ "onUpdate:modelValue": t[0] || (t[0] = (h) => e(b).dates = h),
4009
4009
  class: "basic-search-daterange",
4010
4010
  "value-format": e($).DATE_FORMAT,
4011
4011
  format: e($).DATE_FORMAT,
@@ -4014,10 +4014,10 @@ const Wl = /* @__PURE__ */ O({
4014
4014
  "start-placeholder": e(a)("base.start_at"),
4015
4015
  "end-placeholder": e(a)("base.end_at"),
4016
4016
  clearable: !1,
4017
- onChange: n[1] || (n[1] = (_) => e(c)())
4018
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
4017
+ onChange: t[1] || (t[1] = (h) => e(m)())
4018
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
4019
4019
  disabled: e(V),
4020
- onSearch: n[2] || (n[2] = (_) => e(c)())
4020
+ onSearch: t[2] || (t[2] = (h) => e(m)())
4021
4021
  }, null, 8, ["disabled"])]),
4022
4022
  _: 1
4023
4023
  })]),
@@ -4025,11 +4025,11 @@ const Wl = /* @__PURE__ */ O({
4025
4025
  })]),
4026
4026
  default: o(() => [l(e(de), {
4027
4027
  ref_key: "tableRef",
4028
- ref: b,
4028
+ ref: g,
4029
4029
  size: "small",
4030
4030
  columns: k,
4031
4031
  url: e(pe).urls.error,
4032
- "search-param": e(g),
4032
+ "search-param": e(b),
4033
4033
  "auto-search": ""
4034
4034
  }, null, 8, ["url", "search-param"])]),
4035
4035
  _: 1
@@ -4038,7 +4038,7 @@ const Wl = /* @__PURE__ */ O({
4038
4038
  }
4039
4039
  }), Ql = /* @__PURE__ */ O({
4040
4040
  __name: "index",
4041
- setup(x) {
4041
+ setup(w) {
4042
4042
  const R = {
4043
4043
  dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
4044
4044
  }, k = [{
@@ -4059,15 +4059,15 @@ const Wl = /* @__PURE__ */ O({
4059
4059
  width: 200
4060
4060
  }], {
4061
4061
  requesting: V
4062
- } = E(pe), {
4063
- tableRef: b,
4064
- keyword: g,
4065
- search: c,
4062
+ } = F(pe), {
4063
+ tableRef: g,
4064
+ keyword: b,
4065
+ search: m,
4066
4066
  reset: i
4067
- } = F(R);
4068
- return (p, n) => {
4069
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), h = s("el-card");
4070
- return C(), T(h, {
4067
+ } = E(R);
4068
+ return (p, t) => {
4069
+ const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), _ = s("el-card");
4070
+ return S(), T(_, {
4071
4071
  class: "basic-card flex-full",
4072
4072
  "body-class": "flex-1"
4073
4073
  }, {
@@ -4082,8 +4082,8 @@ const Wl = /* @__PURE__ */ O({
4082
4082
  class: "search-bar"
4083
4083
  }, {
4084
4084
  default: o(() => [l(v, {
4085
- modelValue: e(g).dates,
4086
- "onUpdate:modelValue": n[0] || (n[0] = (_) => e(g).dates = _),
4085
+ modelValue: e(b).dates,
4086
+ "onUpdate:modelValue": t[0] || (t[0] = (h) => e(b).dates = h),
4087
4087
  class: "basic-search-daterange",
4088
4088
  "value-format": e($).DATE_FORMAT,
4089
4089
  format: e($).DATE_FORMAT,
@@ -4092,10 +4092,10 @@ const Wl = /* @__PURE__ */ O({
4092
4092
  "start-placeholder": e(a)("base.start_at"),
4093
4093
  "end-placeholder": e(a)("base.end_at"),
4094
4094
  clearable: !1,
4095
- onChange: n[1] || (n[1] = (_) => e(c)())
4096
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
4095
+ onChange: t[1] || (t[1] = (h) => e(m)())
4096
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
4097
4097
  disabled: e(V),
4098
- onSearch: n[2] || (n[2] = (_) => e(c)())
4098
+ onSearch: t[2] || (t[2] = (h) => e(m)())
4099
4099
  }, null, 8, ["disabled"])]),
4100
4100
  _: 1
4101
4101
  })]),
@@ -4103,18 +4103,81 @@ const Wl = /* @__PURE__ */ O({
4103
4103
  })]),
4104
4104
  default: o(() => [l(e(de), {
4105
4105
  ref_key: "tableRef",
4106
- ref: b,
4106
+ ref: g,
4107
4107
  size: "small",
4108
4108
  columns: k,
4109
4109
  url: e(pe).urls.sql,
4110
- "search-param": e(g),
4110
+ "search-param": e(b),
4111
4111
  "auto-search": ""
4112
4112
  }, null, 8, ["url", "search-param"])]),
4113
4113
  _: 1
4114
4114
  });
4115
4115
  };
4116
4116
  }
4117
- }), zl = () => import("./index-SHsqnbNG.js"), Il = () => import("./index-CJMTIvHk.js"), Nl = () => import("./index-BMn8mAns.js"), Jl = [
4117
+ }), Jl = /* @__PURE__ */ O({
4118
+ __name: "LanguageSelect",
4119
+ props: {
4120
+ modelValue: {
4121
+ type: String,
4122
+ default: void 0,
4123
+ required: !1
4124
+ },
4125
+ multiple: {
4126
+ type: Boolean,
4127
+ default: !1
4128
+ },
4129
+ allowCreate: {
4130
+ type: Boolean,
4131
+ default: !1
4132
+ },
4133
+ clearable: {
4134
+ type: Boolean,
4135
+ default: !1
4136
+ }
4137
+ },
4138
+ emits: ["update:modelValue", "update:value", "change"],
4139
+ setup(w, {
4140
+ emit: R
4141
+ }) {
4142
+ const k = R, V = w, {
4143
+ requesting: g
4144
+ } = F(W), {
4145
+ value: b,
4146
+ options: m,
4147
+ change: i
4148
+ } = te(oe(V, "modelValue"), k, {
4149
+ key: "LANGUAGE_SELECT",
4150
+ url: W.urls.languages,
4151
+ api: W,
4152
+ isArray: !0,
4153
+ formatOptions: (p) => ({
4154
+ value: p,
4155
+ label: p
4156
+ })
4157
+ });
4158
+ return (p, t) => {
4159
+ const v = s("el-space"), u = s("el-radio-button"), f = s("el-radio-group");
4160
+ return S(), T(f, {
4161
+ modelValue: e(b),
4162
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => N(b) ? b.value = _ : null),
4163
+ disabled: e(g),
4164
+ onChange: e(i)
4165
+ }, {
4166
+ default: o(() => [(S(!0), I(G, null, ee(e(m), (_) => (S(), T(u, {
4167
+ key: _,
4168
+ value: _
4169
+ }, {
4170
+ default: o(() => [l(v, null, {
4171
+ default: o(() => [P("span", null, z(_), 1)]),
4172
+ _: 2
4173
+ }, 1024)]),
4174
+ _: 2
4175
+ }, 1032, ["value"]))), 128))]),
4176
+ _: 1
4177
+ }, 8, ["modelValue", "disabled", "onChange"]);
4178
+ };
4179
+ }
4180
+ }), zl = () => import("./index-SHsqnbNG.js"), Il = () => import("./index-CJMTIvHk.js"), Nl = () => import("./index-BMn8mAns.js"), Xl = [
4118
4181
  {
4119
4182
  path: Ze,
4120
4183
  name: "RequestLog",
@@ -4139,27 +4202,28 @@ const Wl = /* @__PURE__ */ O({
4139
4202
  title: a("menu.SqlLog")
4140
4203
  }
4141
4204
  }
4142
- ], Xl = {
4143
- install: (x) => {
4144
- Reflect.ownKeys(x._context.provides).some((R) => String(R) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(x._context.provides));
4205
+ ], Zl = {
4206
+ install: (w) => {
4207
+ Reflect.ownKeys(w._context.provides).some((R) => String(R) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(w._context.provides));
4145
4208
  },
4146
4209
  version: "__VERSION__"
4147
- }, Zl = /* @__PURE__ */ Object.assign({ "./views/admin/index.vue": () => import("./index-UtDarrUe.js"), "./views/language/index.vue": () => import("./index-CV4JohFl.js"), "./views/menu/index.vue": () => import("./index-DQqJ05PJ.js"), "./views/role/index.vue": () => import("./index-DM5SO2SX.js"), "./views/site/index.vue": () => Promise.resolve().then(() => Fl) });
4210
+ }, ea = /* @__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(() => El) });
4148
4211
  export {
4149
- Yl as AdminsPage,
4212
+ Gl as AdminsPage,
4150
4213
  Ul as DomainProviderSelect,
4151
4214
  $e as DomainSelect,
4152
4215
  Hl as ErrorLogsPage,
4216
+ Jl as LanguageSelect,
4153
4217
  Wl as LanguagesPage,
4154
- Jl as LogRoutes,
4218
+ Xl as LogRoutes,
4155
4219
  ul as MenuSelect,
4156
4220
  jl as MenusPage,
4157
- Gl as RequestLogsPage,
4221
+ Yl as RequestLogsPage,
4158
4222
  Kl as RolesPage,
4159
4223
  Ql as SQLLogsPage,
4160
4224
  $l as SitePage,
4161
4225
  Dl as SiteSelect,
4162
4226
  dl as TopMenuSelect,
4163
- Zl as basicModules,
4164
- Xl as default
4227
+ ea as basicModules,
4228
+ Zl as default
4165
4229
  };