auto-vue-basic 0.0.88 → 0.0.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/auto-vue-basic.es.js +1420 -1441
  2. package/dist/auto-vue-basic.umd.js +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/types/types/language.d.ts +1 -1
  5. package/dist/version.js +1 -1
  6. package/package.json +39 -35
  7. package/dist/types/views/admin/components/AdminFormModal.vue.d.ts +0 -12
  8. package/dist/types/views/admin/index.vue.d.ts +0 -7572
  9. package/dist/types/views/index.d.ts +0 -14
  10. package/dist/types/views/language/components/LanguageSelect.vue.d.ts +0 -52
  11. package/dist/types/views/language/components/ModuleSelect.vue.d.ts +0 -61
  12. package/dist/types/views/language/form/I18N.vue.d.ts +0 -12
  13. package/dist/types/views/language/form/template.vue.d.ts +0 -7602
  14. package/dist/types/views/language/table/I18N.vue.d.ts +0 -7580
  15. package/dist/types/views/log/error/index.vue.d.ts +0 -6077
  16. package/dist/types/views/log/request/index.vue.d.ts +0 -6075
  17. package/dist/types/views/log/sql/index.vue.d.ts +0 -6075
  18. package/dist/types/views/menu/components/MenuFormModal.vue.d.ts +0 -12
  19. package/dist/types/views/menu/components/MenuRuleFormModal.vue.d.ts +0 -12
  20. package/dist/types/views/menu/components/MenuSelect.vue.d.ts +0 -29
  21. package/dist/types/views/menu/components/TopMenuSelect.vue.d.ts +0 -29
  22. package/dist/types/views/menu/index.vue.d.ts +0 -7594
  23. package/dist/types/views/role/components/RoleFormModal.vue.d.ts +0 -54
  24. package/dist/types/views/role/components/RulesCheck.vue.d.ts +0 -32
  25. package/dist/types/views/role/index.vue.d.ts +0 -7614
  26. package/dist/types/views/site/components/DomainFormModal.vue.d.ts +0 -12
  27. package/dist/types/views/site/components/DomainProviderFormModal.vue.d.ts +0 -12
  28. package/dist/types/views/site/components/DomainProviderSelect.vue.d.ts +0 -31
  29. package/dist/types/views/site/components/DomainProviderTableDrawer.vue.d.ts +0 -6099
  30. package/dist/types/views/site/components/DomainSelect.vue.d.ts +0 -31
  31. package/dist/types/views/site/components/DomainTableDrawer.vue.d.ts +0 -12308
  32. package/dist/types/views/site/components/SSLFormModal.vue.d.ts +0 -57
  33. package/dist/types/views/site/components/SSLLogTableDrawer.vue.d.ts +0 -7565
  34. package/dist/types/views/site/components/SSLTableDrawer.vue.d.ts +0 -6189
  35. package/dist/types/views/site/components/SiteFormModal.vue.d.ts +0 -12
  36. package/dist/types/views/site/components/SiteSelect.vue.d.ts +0 -31
@@ -1,40 +1,10 @@
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
- const al = {
1
+ import { defineComponent as O, toRef as re, resolveComponent as r, openBlock as S, createBlock as T, unref as e, isRef as N, withCtx as o, createVNode as l, createElementVNode as W, normalizeClass as xe, toDisplayString as I, ref as P, Fragment as H, withKeys as Ve, createElementBlock as j, renderList as ae, isVNode as Re, reactive as Be, onMounted as Pe, watch as Se, nextTick as je, createTextVNode as le, createCommentVNode as Ke, onBeforeMount as We } from "vue";
2
+ import { ApiUtils as Q, useLoading as F, useSelect as de, Translate as a, InlineRefreshButton as fe, useForm as ee, FormDialog as oe, DEFAULT_STATUS_KEY as Ue, ModifyButton as ne, useCrudPage as z, DEFAULT_REMOVE_KEY as Ge, ProTable as be, DEFAULT_PAGE_KEY as ye, SearchButton as se, RefreshButton as G, OpenButton as K, useCacheStore as Ye, useDialog as He, BasicDrawer as _e, RequestButton as X, BasicRadioButton as Ce, RulesUtils as Qe, BasicAvatar as Je, TimeUtils as E, ProTableList as ie, AssetsUtils as Le, notification as Xe, DEFAULT_LIST_URL as Ze, REQUEST_LOG_URL as el, ERROR_LOG_URL as ll, SQL_LOG_URL as al } from "auto-vue-manual";
3
+ import { Key as ol, Search as nl } from "@element-plus/icons-vue";
4
+ const tl = {
4
5
  tops: "tops",
5
6
  rules: "rules"
6
- }, H = Y.routineApi("menu", "id", al, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Le = Y.routineApi("rule", "key");
7
- /*! Element Plus Icons Vue v2.3.2 */
8
- var ol = /* @__PURE__ */ O({
9
- name: "Key",
10
- __name: "key",
11
- setup(w) {
12
- return (R, k) => (S(), I("svg", {
13
- xmlns: "http://www.w3.org/2000/svg",
14
- viewBox: "0 0 1024 1024"
15
- }, [
16
- P("path", {
17
- fill: "currentColor",
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
- })
20
- ]));
21
- }
22
- }), tl = ol, nl = /* @__PURE__ */ O({
23
- name: "Search",
24
- __name: "search",
25
- setup(w) {
26
- return (R, k) => (S(), I("svg", {
27
- xmlns: "http://www.w3.org/2000/svg",
28
- viewBox: "0 0 1024 1024"
29
- }, [
30
- P("path", {
31
- fill: "currentColor",
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
- })
34
- ]));
35
- }
36
- }), rl = nl;
37
- const dl = /* @__PURE__ */ O({
7
+ }, J = Q.routineApi("menu", "id", tl, {}, ["TOP_MENU_LIST", "MENU_LIST"]), qe = Q.routineApi("rule", "key"), rl = /* @__PURE__ */ O({
38
8
  __name: "TopMenuSelect",
39
9
  props: {
40
10
  modelValue: {
@@ -44,61 +14,65 @@ const dl = /* @__PURE__ */ O({
44
14
  multiple: {
45
15
  type: Boolean,
46
16
  default: !1
17
+ },
18
+ disabled: {
19
+ type: Boolean,
20
+ default: !1
47
21
  }
48
22
  },
49
23
  emits: ["update:modelValue", "change"],
50
- setup(w, {
24
+ setup(x, {
51
25
  emit: R
52
26
  }) {
53
- const k = R, h = w, {
54
- requesting: g
55
- } = F(H), {
56
- value: _,
57
- options: m,
58
- change: i,
27
+ const k = R, V = x, {
28
+ requesting: h
29
+ } = F(J), {
30
+ value: b,
31
+ options: i,
32
+ change: m,
59
33
  refresh: p,
60
- filterOptions: t
61
- } = te(oe(h, "modelValue"), k, {
34
+ filterOptions: n
35
+ } = de(re(V, "modelValue"), k, {
62
36
  key: "TOP_MENU_LIST",
63
- api: H,
64
- url: H.urls.tops,
37
+ api: J,
38
+ url: J.urls.tops,
65
39
  isArray: !0
66
40
  });
67
41
  return (v, u) => {
68
- const c = s("el-space"), V = s("el-select-v2");
69
- return S(), T(V, {
42
+ const f = r("el-space"), g = r("el-select-v2");
43
+ return S(), T(g, {
70
44
  class: "w-full",
71
- modelValue: e(_),
72
- "onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
73
- options: e(m),
74
- multiple: w.multiple,
75
- disabled: e(g),
45
+ modelValue: e(b),
46
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => N(b) ? b.value = _ : null),
47
+ options: e(i),
48
+ multiple: x.multiple,
49
+ disabled: e(h) || x.disabled,
76
50
  placeholder: e(a)("placeholder.select"),
77
51
  filterable: "",
78
- filterOptions: e(t),
79
- onChange: e(i)
52
+ filterOptions: e(n),
53
+ onChange: e(m)
80
54
  }, {
81
- prefix: o(() => [l(e(me), {
82
- loading: e(g),
83
- onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
55
+ prefix: o(() => [l(e(fe), {
56
+ loading: e(h),
57
+ onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
84
58
  }, null, 8, ["loading"])]),
85
59
  default: o(({
86
- item: b
87
- }) => [l(c, null, {
88
- default: o(() => [P("i", {
89
- class: we(`icon iconfont ${b.icon}`)
90
- }, null, 2), P("span", null, z(b.translate), 1)]),
60
+ item: _
61
+ }) => [l(f, null, {
62
+ default: o(() => [W("i", {
63
+ class: xe(`icon iconfont ${_.icon}`)
64
+ }, null, 2), W("span", null, I(_.translate), 1)]),
91
65
  _: 2
92
66
  }, 1024)]),
93
67
  _: 1
94
68
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
95
69
  };
96
70
  }
97
- }), sl = /* @__PURE__ */ O({
71
+ }), dl = /* @__PURE__ */ O({
98
72
  __name: "MenuFormModal",
99
73
  emits: ["refresh"],
100
- setup(w, { expose: R, emit: k }) {
101
- const h = k, g = {
74
+ setup(x, { expose: R, emit: k }) {
75
+ const V = k, h = {
102
76
  id: 0,
103
77
  menu_id: 0,
104
78
  module: "",
@@ -119,7 +93,7 @@ const dl = /* @__PURE__ */ O({
119
93
  keep_alive: !1,
120
94
  link: !1
121
95
  }
122
- }, _ = {
96
+ }, b = {
123
97
  sort: [
124
98
  {
125
99
  required: !0,
@@ -163,55 +137,56 @@ const dl = /* @__PURE__ */ O({
163
137
  trigger: "blur"
164
138
  }
165
139
  ]
166
- }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, H);
140
+ }, { modal: i, title: m, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = ee(V, h, J);
167
141
  return R({
168
- open: c,
169
- modify: V
170
- }), (x, n) => {
171
- const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), f = 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
- title: e(i)(),
142
+ open: f,
143
+ modify: g
144
+ }), (w, t) => {
145
+ const d = r("el-form-item"), s = r("el-col"), y = r("el-input-number"), c = r("el-row"), L = r("el-input"), M = r("el-switch"), D = r("el-form");
146
+ return S(), T(e(oe), {
147
+ modelValue: e(i),
148
+ "onUpdate:modelValue": t[17] || (t[17] = (U) => N(i) ? i.value = U : null),
149
+ title: e(m)(),
176
150
  width: "1000px",
177
151
  executing: e(u),
178
- onClosed: e(D),
179
- onSubmit: e(b)
152
+ onClosed: e(A),
153
+ onSubmit: e(_)
180
154
  }, {
181
155
  default: o(() => [
182
- l(q, {
156
+ l(D, {
183
157
  ref_key: "form",
184
158
  ref: p,
185
- model: e(t),
159
+ model: e(n),
186
160
  "label-width": "auto",
187
- rules: _,
161
+ rules: b,
188
162
  disabled: e(v) || e(u)
189
163
  }, {
190
164
  default: o(() => [
191
- l(f, { gutter: 20 }, {
165
+ l(c, { gutter: 20 }, {
192
166
  default: o(() => [
193
- l(r, { span: 12 }, {
167
+ l(s, { span: 12 }, {
194
168
  default: o(() => [
195
- l(f, { gutter: 10 }, {
169
+ l(c, { gutter: 10 }, {
196
170
  default: o(() => [
197
- l(r, { span: 14 }, {
171
+ l(s, { span: 14 }, {
198
172
  default: o(() => [
199
173
  l(d, {
200
174
  label: e(a)("base.parent"),
201
175
  prop: "menu_id"
202
176
  }, {
203
177
  default: o(() => [
204
- l(dl, {
205
- modelValue: e(t).menu_id,
206
- "onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).menu_id = M)
207
- }, null, 8, ["modelValue"])
178
+ l(rl, {
179
+ modelValue: e(n).menu_id,
180
+ "onUpdate:modelValue": t[0] || (t[0] = (U) => e(n).menu_id = U),
181
+ disabled: e(u)
182
+ }, null, 8, ["modelValue", "disabled"])
208
183
  ]),
209
184
  _: 1
210
185
  }, 8, ["label"])
211
186
  ]),
212
187
  _: 1
213
188
  }),
214
- l(r, { span: 10 }, {
189
+ l(s, { span: 10 }, {
215
190
  default: o(() => [
216
191
  l(d, {
217
192
  "label-width": "60px",
@@ -221,8 +196,8 @@ const dl = /* @__PURE__ */ O({
221
196
  default: o(() => [
222
197
  l(y, {
223
198
  class: "w-full",
224
- modelValue: e(t).sort,
225
- "onUpdate:modelValue": n[1] || (n[1] = (M) => e(t).sort = M),
199
+ modelValue: e(n).sort,
200
+ "onUpdate:modelValue": t[1] || (t[1] = (U) => e(n).sort = U),
226
201
  min: 0,
227
202
  placeholder: e(a)("placeholder.input")
228
203
  }, null, 8, ["modelValue", "placeholder"])
@@ -240,9 +215,9 @@ const dl = /* @__PURE__ */ O({
240
215
  prop: "module"
241
216
  }, {
242
217
  default: o(() => [
243
- l(C, {
244
- modelValue: e(t).module,
245
- "onUpdate:modelValue": n[2] || (n[2] = (M) => e(t).module = M),
218
+ l(L, {
219
+ modelValue: e(n).module,
220
+ "onUpdate:modelValue": t[2] || (t[2] = (U) => e(n).module = U),
246
221
  placeholder: e(a)("placeholder.input")
247
222
  }, null, 8, ["modelValue", "placeholder"])
248
223
  ]),
@@ -253,9 +228,9 @@ const dl = /* @__PURE__ */ O({
253
228
  prop: "name"
254
229
  }, {
255
230
  default: o(() => [
256
- l(C, {
257
- modelValue: e(t).name,
258
- "onUpdate:modelValue": n[3] || (n[3] = (M) => e(t).name = M),
231
+ l(L, {
232
+ modelValue: e(n).name,
233
+ "onUpdate:modelValue": t[3] || (t[3] = (U) => e(n).name = U),
259
234
  placeholder: e(a)("placeholder.input")
260
235
  }, null, 8, ["modelValue", "placeholder"])
261
236
  ]),
@@ -266,9 +241,9 @@ const dl = /* @__PURE__ */ O({
266
241
  prop: "en_name"
267
242
  }, {
268
243
  default: o(() => [
269
- l(C, {
270
- modelValue: e(t).en_name,
271
- "onUpdate:modelValue": n[4] || (n[4] = (M) => e(t).en_name = M),
244
+ l(L, {
245
+ modelValue: e(n).en_name,
246
+ "onUpdate:modelValue": t[4] || (t[4] = (U) => e(n).en_name = U),
272
247
  placeholder: e(a)("placeholder.input")
273
248
  }, null, 8, ["modelValue", "placeholder"])
274
249
  ]),
@@ -279,9 +254,9 @@ const dl = /* @__PURE__ */ O({
279
254
  prop: "component"
280
255
  }, {
281
256
  default: o(() => [
282
- l(C, {
283
- modelValue: e(t).component,
284
- "onUpdate:modelValue": n[5] || (n[5] = (M) => e(t).component = M),
257
+ l(L, {
258
+ modelValue: e(n).component,
259
+ "onUpdate:modelValue": t[5] || (t[5] = (U) => e(n).component = U),
285
260
  placeholder: e(a)("placeholder.input")
286
261
  }, null, 8, ["modelValue", "placeholder"])
287
262
  ]),
@@ -292,9 +267,9 @@ const dl = /* @__PURE__ */ O({
292
267
  prop: "url"
293
268
  }, {
294
269
  default: o(() => [
295
- l(C, {
296
- modelValue: e(t).url,
297
- "onUpdate:modelValue": n[6] || (n[6] = (M) => e(t).url = M),
270
+ l(L, {
271
+ modelValue: e(n).url,
272
+ "onUpdate:modelValue": t[6] || (t[6] = (U) => e(n).url = U),
298
273
  placeholder: e(a)("placeholder.input")
299
274
  }, null, 8, ["modelValue", "placeholder"])
300
275
  ]),
@@ -305,9 +280,9 @@ const dl = /* @__PURE__ */ O({
305
280
  prop: "remark"
306
281
  }, {
307
282
  default: o(() => [
308
- l(C, {
309
- modelValue: e(t).remark,
310
- "onUpdate:modelValue": n[7] || (n[7] = (M) => e(t).remark = M),
283
+ l(L, {
284
+ modelValue: e(n).remark,
285
+ "onUpdate:modelValue": t[7] || (t[7] = (U) => e(n).remark = U),
311
286
  placeholder: e(a)("placeholder.input")
312
287
  }, null, 8, ["modelValue", "placeholder"])
313
288
  ]),
@@ -316,24 +291,24 @@ const dl = /* @__PURE__ */ O({
316
291
  ]),
317
292
  _: 1
318
293
  }),
319
- l(r, { span: 12 }, {
294
+ l(s, { span: 12 }, {
320
295
  default: o(() => [
321
296
  l(d, {
322
297
  label: e(a)("base.icon"),
323
298
  prop: "icon"
324
299
  }, {
325
300
  default: o(() => [
326
- l(C, {
327
- modelValue: e(t).icon,
328
- "onUpdate:modelValue": n[8] || (n[8] = (M) => e(t).icon = M),
301
+ l(L, {
302
+ modelValue: e(n).icon,
303
+ "onUpdate:modelValue": t[8] || (t[8] = (U) => e(n).icon = U),
329
304
  placeholder: e(a)("placeholder.input"),
330
- onInput: n[9] || (n[9] = (M) => {
331
- e(t).meta.icon = M;
305
+ onInput: t[9] || (t[9] = (U) => {
306
+ e(n).meta.icon = U;
332
307
  })
333
308
  }, {
334
309
  prepend: o(() => [
335
- P("span", {
336
- class: we("iconfont " + e(t).icon)
310
+ W("span", {
311
+ class: xe("iconfont " + e(n).icon)
337
312
  }, null, 2)
338
313
  ]),
339
314
  _: 1
@@ -346,9 +321,9 @@ const dl = /* @__PURE__ */ O({
346
321
  prop: "meta.title"
347
322
  }, {
348
323
  default: o(() => [
349
- l(C, {
350
- modelValue: e(t).meta.title,
351
- "onUpdate:modelValue": n[10] || (n[10] = (M) => e(t).meta.title = M),
324
+ l(L, {
325
+ modelValue: e(n).meta.title,
326
+ "onUpdate:modelValue": t[10] || (t[10] = (U) => e(n).meta.title = U),
352
327
  placeholder: e(a)("placeholder.input")
353
328
  }, null, 8, ["modelValue", "placeholder"])
354
329
  ]),
@@ -359,26 +334,26 @@ const dl = /* @__PURE__ */ O({
359
334
  prop: "meta.active"
360
335
  }, {
361
336
  default: o(() => [
362
- l(C, {
363
- modelValue: e(t).meta.active,
364
- "onUpdate:modelValue": n[11] || (n[11] = (M) => e(t).meta.active = M),
337
+ l(L, {
338
+ modelValue: e(n).meta.active,
339
+ "onUpdate:modelValue": t[11] || (t[11] = (U) => e(n).meta.active = U),
365
340
  placeholder: e(a)("placeholder.input")
366
341
  }, null, 8, ["modelValue", "placeholder"])
367
342
  ]),
368
343
  _: 1
369
344
  }, 8, ["label"]),
370
- l(f, null, {
345
+ l(c, null, {
371
346
  default: o(() => [
372
- l(r, { span: 12 }, {
347
+ l(s, { span: 12 }, {
373
348
  default: o(() => [
374
349
  l(d, {
375
350
  label: e(a)("menu.link"),
376
351
  prop: "meta.link"
377
352
  }, {
378
353
  default: o(() => [
379
- l(A, {
380
- modelValue: e(t).meta.link,
381
- "onUpdate:modelValue": n[12] || (n[12] = (M) => e(t).meta.link = M)
354
+ l(M, {
355
+ modelValue: e(n).meta.link,
356
+ "onUpdate:modelValue": t[12] || (t[12] = (U) => e(n).meta.link = U)
382
357
  }, null, 8, ["modelValue"])
383
358
  ]),
384
359
  _: 1
@@ -386,16 +361,16 @@ const dl = /* @__PURE__ */ O({
386
361
  ]),
387
362
  _: 1
388
363
  }),
389
- l(r, { span: 12 }, {
364
+ l(s, { span: 12 }, {
390
365
  default: o(() => [
391
366
  l(d, {
392
367
  label: e(a)("menu.keep_alive"),
393
368
  prop: "meta.keep_alive"
394
369
  }, {
395
370
  default: o(() => [
396
- l(A, {
397
- modelValue: e(t).meta.keep_alive,
398
- "onUpdate:modelValue": n[13] || (n[13] = (M) => e(t).meta.keep_alive = M)
371
+ l(M, {
372
+ modelValue: e(n).meta.keep_alive,
373
+ "onUpdate:modelValue": t[13] || (t[13] = (U) => e(n).meta.keep_alive = U)
399
374
  }, null, 8, ["modelValue"])
400
375
  ]),
401
376
  _: 1
@@ -403,16 +378,16 @@ const dl = /* @__PURE__ */ O({
403
378
  ]),
404
379
  _: 1
405
380
  }),
406
- l(r, { span: 12 }, {
381
+ l(s, { span: 12 }, {
407
382
  default: o(() => [
408
383
  l(d, {
409
384
  label: e(a)("menu.hide"),
410
385
  prop: "meta.hide"
411
386
  }, {
412
387
  default: o(() => [
413
- l(A, {
414
- modelValue: e(t).meta.hide,
415
- "onUpdate:modelValue": n[14] || (n[14] = (M) => e(t).meta.hide = M)
388
+ l(M, {
389
+ modelValue: e(n).meta.hide,
390
+ "onUpdate:modelValue": t[14] || (t[14] = (U) => e(n).meta.hide = U)
416
391
  }, null, 8, ["modelValue"])
417
392
  ]),
418
393
  _: 1
@@ -420,16 +395,16 @@ const dl = /* @__PURE__ */ O({
420
395
  ]),
421
396
  _: 1
422
397
  }),
423
- l(r, { span: 12 }, {
398
+ l(s, { span: 12 }, {
424
399
  default: o(() => [
425
400
  l(d, {
426
401
  label: e(a)("menu.full"),
427
402
  prop: "meta.full"
428
403
  }, {
429
404
  default: o(() => [
430
- l(A, {
431
- modelValue: e(t).meta.full,
432
- "onUpdate:modelValue": n[15] || (n[15] = (M) => e(t).meta.full = M)
405
+ l(M, {
406
+ modelValue: e(n).meta.full,
407
+ "onUpdate:modelValue": t[15] || (t[15] = (U) => e(n).meta.full = U)
433
408
  }, null, 8, ["modelValue"])
434
409
  ]),
435
410
  _: 1
@@ -437,16 +412,16 @@ const dl = /* @__PURE__ */ O({
437
412
  ]),
438
413
  _: 1
439
414
  }),
440
- l(r, { span: 12 }, {
415
+ l(s, { span: 12 }, {
441
416
  default: o(() => [
442
417
  l(d, {
443
418
  label: e(a)("menu.affix"),
444
419
  prop: "meta.affix"
445
420
  }, {
446
421
  default: o(() => [
447
- l(A, {
448
- modelValue: e(t).meta.affix,
449
- "onUpdate:modelValue": n[16] || (n[16] = (M) => e(t).meta.affix = M)
422
+ l(M, {
423
+ modelValue: e(n).meta.affix,
424
+ "onUpdate:modelValue": t[16] || (t[16] = (U) => e(n).meta.affix = U)
450
425
  }, null, 8, ["modelValue"])
451
426
  ]),
452
427
  _: 1
@@ -471,7 +446,7 @@ const dl = /* @__PURE__ */ O({
471
446
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
472
447
  };
473
448
  }
474
- }), ul = /* @__PURE__ */ O({
449
+ }), sl = /* @__PURE__ */ O({
475
450
  __name: "MenuSelect",
476
451
  props: {
477
452
  modelValue: {
@@ -481,60 +456,64 @@ const dl = /* @__PURE__ */ O({
481
456
  multiple: {
482
457
  type: Boolean,
483
458
  default: !1
459
+ },
460
+ disabled: {
461
+ type: Boolean,
462
+ default: !1
484
463
  }
485
464
  },
486
465
  emits: ["update:modelValue", "change"],
487
- setup(w, {
466
+ setup(x, {
488
467
  emit: R
489
468
  }) {
490
- const k = R, h = w, {
491
- requesting: g
492
- } = F(H), {
493
- value: _,
494
- options: m,
495
- change: i,
469
+ const k = R, V = x, {
470
+ requesting: h
471
+ } = F(J), {
472
+ value: b,
473
+ options: i,
474
+ change: m,
496
475
  refresh: p,
497
- filterOptions: t
498
- } = te(oe(h, "modelValue"), k, {
476
+ filterOptions: n
477
+ } = de(re(V, "modelValue"), k, {
499
478
  key: "MENU_LIST",
500
- api: H,
479
+ api: J,
501
480
  isArray: !0
502
481
  });
503
482
  return (v, u) => {
504
- const c = s("el-space"), V = s("el-select-v2");
505
- return S(), T(V, {
483
+ const f = r("el-space"), g = r("el-select-v2");
484
+ return S(), T(g, {
506
485
  class: "w-full",
507
- modelValue: e(_),
508
- "onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
509
- options: e(m),
510
- multiple: w.multiple,
511
- disabled: e(g),
486
+ modelValue: e(b),
487
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => N(b) ? b.value = _ : null),
488
+ options: e(i),
489
+ multiple: x.multiple,
490
+ disabled: e(h) || x.disabled,
512
491
  placeholder: e(a)("placeholder.select"),
513
492
  filterable: "",
514
- filterOptions: e(t),
515
- onChange: e(i)
493
+ filterOptions: e(n),
494
+ onChange: e(m)
516
495
  }, {
517
- prefix: o(() => [l(e(me), {
518
- loading: e(g),
519
- onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
496
+ prefix: o(() => [l(e(fe), {
497
+ loading: e(h),
498
+ onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
520
499
  }, null, 8, ["loading"])]),
521
500
  default: o(({
522
- item: b
523
- }) => [l(c, null, {
524
- default: o(() => [P("i", {
525
- class: we(`icon iconfont ${b.icon}`)
526
- }, null, 2), P("span", null, z(b.translate), 1)]),
501
+ item: _
502
+ }) => [l(f, null, {
503
+ default: o(() => [W("i", {
504
+ class: xe(`icon iconfont ${_.icon}`)
505
+ }, null, 2), W("span", null, I(_.translate), 1)]),
527
506
  _: 2
528
507
  }, 1024)]),
529
508
  _: 1
530
509
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
531
510
  };
532
511
  }
533
- }), il = /* @__PURE__ */ O({
512
+ }), ul = /* @__PURE__ */ O({
534
513
  __name: "MenuRuleFormModal",
535
514
  emits: ["refresh"],
536
- setup(w, { expose: R, emit: k }) {
537
- const h = k, g = {
515
+ setup(x, { expose: R, emit: k }) {
516
+ const V = k, h = {
538
517
  key: "",
539
518
  menu_id: 0,
540
519
  sort: 0,
@@ -542,7 +521,7 @@ const dl = /* @__PURE__ */ O({
542
521
  en_name: "",
543
522
  urls: "",
544
523
  remark: ""
545
- }, _ = {
524
+ }, b = {
546
525
  menu_id: [
547
526
  {
548
527
  required: !0,
@@ -580,44 +559,45 @@ const dl = /* @__PURE__ */ O({
580
559
  trigger: "blur"
581
560
  }
582
561
  ]
583
- }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, Le);
562
+ }, { modal: i, title: m, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = ee(V, h, qe);
584
563
  return R({
585
- open: c,
586
- modify: V
587
- }), (x, n) => {
588
- const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), f = 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
- title: e(i)("menu.rules"),
564
+ open: f,
565
+ modify: g
566
+ }), (w, t) => {
567
+ const d = r("el-form-item"), s = r("el-input-number"), y = r("el-input"), c = r("el-col"), L = r("el-row"), M = r("el-form");
568
+ return S(), T(e(oe), {
569
+ modelValue: e(i),
570
+ "onUpdate:modelValue": t[6] || (t[6] = (D) => N(i) ? i.value = D : null),
571
+ title: e(m)("menu.rules"),
593
572
  width: "1000px",
594
573
  executing: e(u),
595
- onClosed: e(D),
596
- onSubmit: e(b)
574
+ onClosed: e(A),
575
+ onSubmit: e(_)
597
576
  }, {
598
577
  default: o(() => [
599
- l(A, {
578
+ l(M, {
600
579
  ref_key: "form",
601
580
  ref: p,
602
- model: e(t),
581
+ model: e(n),
603
582
  "label-width": "auto",
604
- rules: _,
583
+ rules: b,
605
584
  disabled: e(v) || e(u)
606
585
  }, {
607
586
  default: o(() => [
608
- l(C, { gutter: 20 }, {
587
+ l(L, { gutter: 20 }, {
609
588
  default: o(() => [
610
- l(f, { span: 10 }, {
589
+ l(c, { span: 10 }, {
611
590
  default: o(() => [
612
591
  l(d, {
613
592
  label: e(a)("menu.Menu"),
614
593
  prop: "menu_id"
615
594
  }, {
616
595
  default: o(() => [
617
- l(ul, {
618
- modelValue: e(t).menu_id,
619
- "onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q)
620
- }, null, 8, ["modelValue"])
596
+ l(sl, {
597
+ modelValue: e(n).menu_id,
598
+ "onUpdate:modelValue": t[0] || (t[0] = (D) => e(n).menu_id = D),
599
+ disabled: e(u)
600
+ }, null, 8, ["modelValue", "disabled"])
621
601
  ]),
622
602
  _: 1
623
603
  }, 8, ["label"]),
@@ -626,10 +606,10 @@ const dl = /* @__PURE__ */ O({
626
606
  prop: "sort"
627
607
  }, {
628
608
  default: o(() => [
629
- l(r, {
609
+ l(s, {
630
610
  class: "w-full",
631
- modelValue: e(t).sort,
632
- "onUpdate:modelValue": n[1] || (n[1] = (q) => e(t).sort = q),
611
+ modelValue: e(n).sort,
612
+ "onUpdate:modelValue": t[1] || (t[1] = (D) => e(n).sort = D),
633
613
  min: 0,
634
614
  placeholder: e(a)("placeholder.input")
635
615
  }, null, 8, ["modelValue", "placeholder"])
@@ -642,8 +622,8 @@ const dl = /* @__PURE__ */ O({
642
622
  }, {
643
623
  default: o(() => [
644
624
  l(y, {
645
- modelValue: e(t).name,
646
- "onUpdate:modelValue": n[2] || (n[2] = (q) => e(t).name = q),
625
+ modelValue: e(n).name,
626
+ "onUpdate:modelValue": t[2] || (t[2] = (D) => e(n).name = D),
647
627
  placeholder: e(a)("placeholder.input")
648
628
  }, null, 8, ["modelValue", "placeholder"])
649
629
  ]),
@@ -655,8 +635,8 @@ const dl = /* @__PURE__ */ O({
655
635
  }, {
656
636
  default: o(() => [
657
637
  l(y, {
658
- modelValue: e(t).en_name,
659
- "onUpdate:modelValue": n[3] || (n[3] = (q) => e(t).en_name = q),
638
+ modelValue: e(n).en_name,
639
+ "onUpdate:modelValue": t[3] || (t[3] = (D) => e(n).en_name = D),
660
640
  placeholder: e(a)("placeholder.input")
661
641
  }, null, 8, ["modelValue", "placeholder"])
662
642
  ]),
@@ -668,8 +648,8 @@ const dl = /* @__PURE__ */ O({
668
648
  }, {
669
649
  default: o(() => [
670
650
  l(y, {
671
- modelValue: e(t).remark,
672
- "onUpdate:modelValue": n[4] || (n[4] = (q) => e(t).remark = q),
651
+ modelValue: e(n).remark,
652
+ "onUpdate:modelValue": t[4] || (t[4] = (D) => e(n).remark = D),
673
653
  placeholder: e(a)("placeholder.input")
674
654
  }, null, 8, ["modelValue", "placeholder"])
675
655
  ]),
@@ -678,7 +658,7 @@ const dl = /* @__PURE__ */ O({
678
658
  ]),
679
659
  _: 1
680
660
  }),
681
- l(f, { span: 14 }, {
661
+ l(c, { span: 14 }, {
682
662
  default: o(() => [
683
663
  l(d, {
684
664
  label: e(a)("menu.rules"),
@@ -686,8 +666,8 @@ const dl = /* @__PURE__ */ O({
686
666
  }, {
687
667
  default: o(() => [
688
668
  l(y, {
689
- modelValue: e(t).urls,
690
- "onUpdate:modelValue": n[5] || (n[5] = (q) => e(t).urls = q),
669
+ modelValue: e(n).urls,
670
+ "onUpdate:modelValue": t[5] || (t[5] = (D) => e(n).urls = D),
691
671
  type: "textarea",
692
672
  rows: 11,
693
673
  placeholder: e(a)("placeholder.input")
@@ -710,16 +690,16 @@ const dl = /* @__PURE__ */ O({
710
690
  };
711
691
  }
712
692
  });
713
- function Ae(w) {
714
- return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !xe(w);
693
+ function Me(x) {
694
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !Re(x);
715
695
  }
716
696
  const jl = /* @__PURE__ */ O({
717
697
  __name: "index",
718
- setup(w) {
698
+ setup(x) {
719
699
  const R = {
720
700
  keyword: "",
721
701
  status: 0
722
- }, k = B(""), h = [
702
+ }, k = P(""), V = [
723
703
  {
724
704
  label: a("base.sort"),
725
705
  prop: "sort",
@@ -730,9 +710,9 @@ const jl = /* @__PURE__ */ O({
730
710
  prop: "icon",
731
711
  width: 60,
732
712
  render: ({
733
- row: n
713
+ row: t
734
714
  }) => l("span", {
735
- class: "iconfont " + n.icon,
715
+ class: "iconfont " + t.icon,
736
716
  style: "font-size: 16px;"
737
717
  }, null)
738
718
  },
@@ -746,10 +726,10 @@ const jl = /* @__PURE__ */ O({
746
726
  prop: "parent",
747
727
  width: 120,
748
728
  render: ({
749
- row: n
729
+ row: t
750
730
  }) => {
751
731
  var d;
752
- return l(G, null, [(d = n.menu) == null ? void 0 : d.translate]);
732
+ return l(H, null, [(d = t.menu) == null ? void 0 : d.translate]);
753
733
  }
754
734
  },
755
735
  {
@@ -776,43 +756,43 @@ const jl = /* @__PURE__ */ O({
776
756
  width: 0,
777
757
  align: "left",
778
758
  render: ({
779
- row: n
780
- }) => l(s("el-space"), null, {
759
+ row: t
760
+ }) => l(r("el-space"), null, {
781
761
  default: () => {
782
762
  var d;
783
- return [(d = n.rules) == null ? void 0 : d.map((r) => l(s("el-popover"), {
784
- visible: k.value === r.key,
763
+ return [(d = t.rules) == null ? void 0 : d.map((s) => l(r("el-popover"), {
764
+ visible: k.value === s.key,
785
765
  title: a("message.warning"),
786
766
  placement: "top-end",
787
767
  width: 220
788
768
  }, {
789
- reference: () => l(s("el-tag"), {
769
+ reference: () => l(r("el-tag"), {
790
770
  class: "cursor-pointer",
791
771
  closable: !0,
792
- key: r.key,
793
- onClick: () => D({
794
- key: r.key
772
+ key: s.key,
773
+ onClick: () => A({
774
+ key: s.key
795
775
  }),
796
- onClose: () => k.value = r.key
776
+ onClose: () => k.value = s.key
797
777
  }, {
798
- default: () => [r.translate]
778
+ default: () => [s.translate]
799
779
  }),
800
780
  default: () => {
801
- let y, f;
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", {
781
+ let y, c;
782
+ return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${t.translate}-${s.translate} ?`]), l("div", {
803
783
  style: "text-align: right; margin: 0"
804
- }, [l(s("el-button"), {
784
+ }, [l(r("el-button"), {
805
785
  size: "small",
806
786
  text: !0,
807
787
  onClick: () => k.value = ""
808
- }, Ae(y = a("base.cancel")) ? y : {
788
+ }, Me(y = a("base.cancel")) ? y : {
809
789
  default: () => [y]
810
- }), l(s("el-button"), {
790
+ }), l(r("el-button"), {
811
791
  size: "small",
812
792
  type: "danger",
813
- onClick: () => x(r.key)
814
- }, Ae(f = a("base.confirm")) ? f : {
815
- default: () => [f]
793
+ onClick: () => w(s.key)
794
+ }, Me(c = a("base.confirm")) ? c : {
795
+ default: () => [c]
816
796
  })])]);
817
797
  }
818
798
  }))];
@@ -827,7 +807,7 @@ const jl = /* @__PURE__ */ O({
827
807
  props: {
828
808
  activeValue: 1,
829
809
  inactiveValue: 2,
830
- api: H.urls[Ue],
810
+ api: J.urls[Ue],
831
811
  refresh: !0
832
812
  }
833
813
  },
@@ -837,246 +817,245 @@ const jl = /* @__PURE__ */ O({
837
817
  width: 60,
838
818
  align: "center",
839
819
  render: ({
840
- row: n
841
- }) => l(ae, {
820
+ row: t
821
+ }) => l(ne, {
842
822
  size: "default",
843
- onModify: () => c({
844
- id: n.id
823
+ onModify: () => f({
824
+ id: t.id
845
825
  })
846
826
  }, null)
847
827
  }
848
828
  ], {
849
- requesting: g
850
- } = F(H), {
851
- tableRef: _,
852
- formModalRef: m,
853
- keyword: i,
829
+ requesting: h
830
+ } = F(J), {
831
+ tableRef: b,
832
+ formModalRef: i,
833
+ keyword: m,
854
834
  search: p,
855
- refresh: t,
835
+ refresh: n,
856
836
  reset: v,
857
837
  openFormModal: u,
858
- editFormModal: c
859
- } = E(R), {
860
- formModalRef: V,
861
- openFormModal: b,
862
- editFormModal: D
863
- } = E(), x = (n) => {
864
- Le[Ge]({
865
- key: n
838
+ editFormModal: f
839
+ } = z(R), {
840
+ formModalRef: g,
841
+ openFormModal: _,
842
+ editFormModal: A
843
+ } = z(), w = (t) => {
844
+ qe[Ge]({
845
+ key: t
866
846
  }).then(() => {
867
- k.value = "", t();
847
+ k.value = "", n();
868
848
  });
869
849
  };
870
- return (n, d) => {
871
- const r = s("el-button"), y = s("el-input"), f = 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, {
850
+ return (t, d) => {
851
+ const s = r("el-button"), y = r("el-input"), c = r("el-radio-button"), L = r("el-radio-group"), M = r("el-space"), D = r("el-page-header"), U = r("el-card");
852
+ return S(), T(U, {
873
853
  class: "basic-card flex-full",
874
854
  "body-class": "flex-1",
875
855
  onClick: d[5] || (d[5] = () => k.value = "")
876
856
  }, {
877
- header: o(() => [l(q, {
857
+ header: o(() => [l(D, {
878
858
  class: "basic-header"
879
859
  }, {
880
- title: o(() => [l(e(K), {
881
- loading: e(g),
860
+ title: o(() => [l(e(G), {
861
+ loading: e(h),
882
862
  onRefresh: e(v)
883
- }, null, 8, ["loading", "onRefresh"]), l(e(j), {
863
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
884
864
  onOpen: e(u)
885
- }, null, 8, ["onOpen"]), l(r, {
865
+ }, null, 8, ["onOpen"]), l(s, {
886
866
  circle: "",
887
- icon: e(tl),
888
- onClick: e(b)
867
+ icon: e(ol),
868
+ onClick: e(_)
889
869
  }, null, 8, ["icon", "onClick"])]),
890
- content: o(() => [l(A, {
870
+ content: o(() => [l(M, {
891
871
  class: "search-bar"
892
872
  }, {
893
873
  default: o(() => [l(y, {
894
874
  class: "basic-search-input",
895
- modelValue: e(i).keyword,
896
- "onUpdate:modelValue": d[0] || (d[0] = (L) => e(i).keyword = L),
875
+ modelValue: e(m).keyword,
876
+ "onUpdate:modelValue": d[0] || (d[0] = (C) => e(m).keyword = C),
897
877
  placeholder: e(a)("placeholder.keyword"),
898
878
  clearable: "",
899
- onKeyup: d[1] || (d[1] = he((L) => e(p)(), ["enter"])),
900
- onClear: d[2] || (d[2] = (L) => e(p)())
901
- }, null, 8, ["modelValue", "placeholder"]), l(C, {
902
- modelValue: e(i).status,
903
- "onUpdate:modelValue": d[3] || (d[3] = (L) => e(i).status = L),
904
- onChange: d[4] || (d[4] = (L) => e(p)())
879
+ onKeyup: d[1] || (d[1] = Ve((C) => e(p)(), ["enter"])),
880
+ onClear: d[2] || (d[2] = (C) => e(p)())
881
+ }, null, 8, ["modelValue", "placeholder"]), l(L, {
882
+ modelValue: e(m).status,
883
+ "onUpdate:modelValue": d[3] || (d[3] = (C) => e(m).status = C),
884
+ onChange: d[4] || (d[4] = (C) => e(p)())
905
885
  }, {
906
- default: o(() => [(S(), I(G, null, ee([0, 1, 2], (L) => l(f, {
907
- key: L,
908
- label: e(a)(`status.${L}`),
909
- value: L
886
+ default: o(() => [(S(), j(H, null, ae([0, 1, 2], (C) => l(c, {
887
+ key: C,
888
+ label: e(a)(`status.${C}`),
889
+ value: C
910
890
  }, null, 8, ["label", "value"])), 64))]),
911
891
  _: 1
912
- }, 8, ["modelValue"]), l(e(ne), {
913
- disabled: e(g),
892
+ }, 8, ["modelValue"]), l(e(se), {
893
+ disabled: e(h),
914
894
  onSearch: e(p)
915
895
  }, null, 8, ["disabled", "onSearch"])]),
916
896
  _: 1
917
897
  })]),
918
898
  _: 1
919
899
  })]),
920
- default: o(() => [l(e(ce), {
900
+ default: o(() => [l(e(be), {
921
901
  ref_key: "tableRef",
922
- ref: _,
923
- size: "small",
924
- columns: h,
925
- url: e(H).urls[e(Ve)],
926
- "search-param": e(i),
902
+ ref: b,
903
+ columns: V,
904
+ url: e(J).urls[e(ye)],
905
+ "search-param": e(m),
927
906
  "auto-search": ""
928
- }, null, 8, ["url", "search-param"]), l(sl, {
907
+ }, null, 8, ["url", "search-param"]), l(dl, {
929
908
  ref_key: "formModalRef",
930
- ref: m,
931
- onRefresh: e(t)
932
- }, null, 8, ["onRefresh"]), l(il, {
909
+ ref: i,
910
+ onRefresh: e(n)
911
+ }, null, 8, ["onRefresh"]), l(ul, {
933
912
  ref_key: "ruleFormModalRef",
934
- ref: V,
935
- onRefresh: e(t)
913
+ ref: g,
914
+ onRefresh: e(n)
936
915
  }, null, 8, ["onRefresh"])]),
937
916
  _: 1
938
917
  });
939
918
  };
940
919
  }
941
- }), ke = Y.routineApi("role", "key"), pl = { class: "rule-check" }, ml = { style: { width: "80px", "line-height": "36px" } }, cl = /* @__PURE__ */ O({
920
+ }), ve = Q.routineApi("role", "key"), il = { class: "rule-check" }, pl = { style: { width: "80px", "line-height": "36px" } }, ml = /* @__PURE__ */ O({
942
921
  __name: "RulesCheck",
943
922
  props: {
944
923
  modelValue: { type: Array, required: !0 },
945
924
  disabled: { type: Boolean, default: !1 }
946
925
  },
947
926
  emits: ["update:modelValue"],
948
- setup(w, { expose: R, emit: k }) {
949
- const { requesting: h } = F(H), g = w, _ = k, m = B(!1), i = Be({
927
+ setup(x, { expose: R, emit: k }) {
928
+ const { requesting: V } = F(J), h = x, b = k, i = P(!1), m = Be({
950
929
  checkAll: !1,
951
930
  indeterminate: !1,
952
931
  MenuAll: {},
953
932
  MenuList: {},
954
933
  MenuIndeterminate: {}
955
- }), { options: p, refresh: t } = te(oe(g, "modelValue"), _, { key: "RULE_CHECK", api: H, url: H.urls.rules, isArray: !0 }, { autoRefresh: !1 });
934
+ }), { options: p, refresh: n } = de(re(h, "modelValue"), b, { key: "RULE_CHECK", api: J, url: J.urls.rules, isArray: !0 }, { autoRefresh: !1 });
956
935
  function v() {
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] = []);
936
+ p.value.forEach((w) => {
937
+ var t;
938
+ (t = w.rules) != null && t.length && (m.MenuAll[w.id] = !1, m.MenuIndeterminate[w.id] = !1, m.MenuList[w.id] = []);
960
939
  });
961
940
  }
962
- function u(x) {
963
- p.value.forEach((n) => {
941
+ function u(w) {
942
+ p.value.forEach((t) => {
964
943
  var d;
965
- (d = n.rules) != null && d.length && (i.MenuList[n.id] = x ? n.rules.map((r) => r.key) : []);
966
- }), V();
944
+ (d = t.rules) != null && d.length && (m.MenuList[t.id] = w ? t.rules.map((s) => s.key) : []);
945
+ }), g();
967
946
  }
968
- function c(x, n) {
969
- const d = p.value.find((r) => r.id === n);
970
- i.MenuList[n] = x && d ? d.rules.map((r) => r.key) : [], V();
947
+ function f(w, t) {
948
+ const d = p.value.find((s) => s.id === t);
949
+ m.MenuList[t] = w && d ? d.rules.map((s) => s.key) : [], g();
971
950
  }
972
- function V() {
973
- p.value.forEach((x) => {
974
- var r, y;
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), _("update:modelValue", Object.values(i.MenuList).flat());
951
+ function g() {
952
+ p.value.forEach((w) => {
953
+ var s, y;
954
+ const t = ((s = w.rules) == null ? void 0 : s.length) || 0, d = ((y = m.MenuList[w.id]) == null ? void 0 : y.length) || 0;
955
+ m.MenuAll[w.id] = d === t && t > 0, m.MenuIndeterminate[w.id] = d > 0 && d < t;
956
+ }), m.checkAll = Object.values(m.MenuAll).every(Boolean), m.indeterminate = !m.checkAll && Object.values(m.MenuList).some((w) => w.length > 0), b("update:modelValue", Object.values(m.MenuList).flat());
978
957
  }
979
- function b() {
980
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), _("update:modelValue", []), m.value = !1;
958
+ function _() {
959
+ m.checkAll = !1, m.indeterminate = !1, m.MenuAll = {}, m.MenuList = {}, m.MenuIndeterminate = {}, v(), b("update:modelValue", []), i.value = !1;
981
960
  }
982
- function D(x) {
983
- var n;
961
+ function A(w) {
962
+ var t;
984
963
  if (Array.isArray(p.value) && p.value.length > 0) {
985
964
  for (let d of p.value)
986
965
  if (Array.isArray(d.rules) && d.rules.length > 0)
987
- for (let r of d.rules)
988
- x.some((y) => y === r.key) && (i.MenuList[d.id] = (((n = i.MenuList) == null ? void 0 : n[d.id]) || []).concat([r.key]));
989
- V(), m.value = !0;
966
+ for (let s of d.rules)
967
+ w.some((y) => y === s.key) && (m.MenuList[d.id] = (((t = m.MenuList) == null ? void 0 : t[d.id]) || []).concat([s.key]));
968
+ g(), i.value = !0;
990
969
  }
991
970
  }
992
971
  return Pe(async () => {
993
- var x;
994
- (x = p.value) != null && x.length || await t(), !m.value && g.modelValue && D(g.modelValue);
995
- }), Re(
996
- () => g.modelValue,
997
- (x) => {
972
+ var w;
973
+ (w = p.value) != null && w.length || await n(), !i.value && h.modelValue && A(h.modelValue);
974
+ }), Se(
975
+ () => h.modelValue,
976
+ (w) => {
998
977
  je(() => {
999
- var n;
1000
- m.value || !((n = p.value) != null && n.length) || x && x.length > 0 && D(x);
978
+ var t;
979
+ i.value || !((t = p.value) != null && t.length) || w && w.length > 0 && A(w);
1001
980
  });
1002
981
  },
1003
982
  { deep: !0, immediate: !0 }
1004
983
  ), R({
1005
- generateOption: D,
1006
- cleanChecked: b
1007
- }), (x, n) => {
1008
- const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), f = s("el-divider"), C = s("el-checkbox-group");
1009
- return S(), I("div", pl, [
1010
- l(r, { style: { "margin-bottom": "6px" } }, {
984
+ generateOption: A,
985
+ cleanChecked: _
986
+ }), (w, t) => {
987
+ const d = r("el-checkbox"), s = r("el-space"), y = r("el-text"), c = r("el-divider"), L = r("el-checkbox-group");
988
+ return S(), j("div", il, [
989
+ l(s, { style: { "margin-bottom": "6px" } }, {
1011
990
  default: o(() => [
1012
991
  l(d, {
1013
- "model-value": i.checkAll,
1014
- indeterminate: i.indeterminate,
992
+ "model-value": m.checkAll,
993
+ indeterminate: m.indeterminate,
1015
994
  id: "all",
1016
- disabled: w.disabled,
995
+ disabled: x.disabled,
1017
996
  onChange: u
1018
997
  }, {
1019
- default: o(() => [...n[1] || (n[1] = [
1020
- P("span", null, "全选", -1)
998
+ default: o(() => [...t[1] || (t[1] = [
999
+ W("span", null, "全选", -1)
1021
1000
  ])]),
1022
1001
  _: 1
1023
1002
  }, 8, ["model-value", "indeterminate", "disabled"]),
1024
- l(e(K), {
1025
- loading: e(h),
1003
+ l(e(G), {
1004
+ loading: e(V),
1026
1005
  text: "",
1027
1006
  size: "small",
1028
- onRefresh: n[0] || (n[0] = (A) => e(t)(!0))
1007
+ onRefresh: t[0] || (t[0] = (M) => e(n)(!0))
1029
1008
  }, null, 8, ["loading"])
1030
1009
  ]),
1031
1010
  _: 1
1032
1011
  }),
1033
- l(r, {
1012
+ l(s, {
1034
1013
  direction: "vertical",
1035
1014
  alignment: "start",
1036
1015
  class: "rule-check-content"
1037
1016
  }, {
1038
1017
  default: o(() => [
1039
- (S(!0), I(G, null, ee(e(p), (A) => (S(), I("div", {
1040
- key: A.id
1018
+ (S(!0), j(H, null, ae(e(p), (M) => (S(), j("div", {
1019
+ key: M.id
1041
1020
  }, [
1042
- l(r, {
1021
+ l(s, {
1043
1022
  direction: "horizontal",
1044
1023
  size: 2
1045
1024
  }, {
1046
1025
  default: o(() => [
1047
1026
  l(d, {
1048
1027
  style: { "min-width": "150px" },
1049
- "model-value": i.MenuAll[A.id],
1050
- disabled: w.disabled || !A.rules || A.rules.length <= 0,
1051
- indeterminate: i.MenuIndeterminate[A.id],
1052
- onChange: (q) => c(q, A.id)
1028
+ "model-value": m.MenuAll[M.id],
1029
+ disabled: x.disabled || !M.rules || M.rules.length <= 0,
1030
+ indeterminate: m.MenuIndeterminate[M.id],
1031
+ onChange: (D) => f(D, M.id)
1053
1032
  }, {
1054
1033
  default: o(() => [
1055
1034
  l(y, { style: { "font-size": "15px" } }, {
1056
1035
  default: o(() => [
1057
- Z(z(A.translate), 1)
1036
+ le(I(M.translate), 1)
1058
1037
  ]),
1059
1038
  _: 2
1060
1039
  }, 1024)
1061
1040
  ]),
1062
1041
  _: 2
1063
1042
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1064
- l(f, { direction: "vertical" }),
1065
- A.rules ? (S(), T(C, {
1043
+ l(c, { direction: "vertical" }),
1044
+ M.rules ? (S(), T(L, {
1066
1045
  key: 0,
1067
- modelValue: i.MenuList[A.id],
1068
- "onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
1069
- disabled: w.disabled,
1046
+ modelValue: m.MenuList[M.id],
1047
+ "onUpdate:modelValue": (D) => m.MenuList[M.id] = D,
1048
+ disabled: x.disabled,
1070
1049
  style: { margin: "auto" },
1071
- onChange: V
1050
+ onChange: g
1072
1051
  }, {
1073
1052
  default: o(() => [
1074
- (S(!0), I(G, null, ee(A.rules, (q) => (S(), T(d, {
1075
- key: q.key,
1076
- value: q.key
1053
+ (S(!0), j(H, null, ae(M.rules, (D) => (S(), T(d, {
1054
+ key: D.key,
1055
+ value: D.key
1077
1056
  }, {
1078
1057
  default: o(() => [
1079
- P("div", ml, z(q.translate), 1)
1058
+ W("div", pl, I(D.translate), 1)
1080
1059
  ]),
1081
1060
  _: 2
1082
1061
  }, 1032, ["value"]))), 128))
@@ -1093,16 +1072,16 @@ const jl = /* @__PURE__ */ O({
1093
1072
  ]);
1094
1073
  };
1095
1074
  }
1096
- }), qe = (w, R) => {
1097
- const k = w.__vccOpts || w;
1098
- for (const [h, g] of R)
1099
- k[h] = g;
1075
+ }), Te = (x, R) => {
1076
+ const k = x.__vccOpts || x;
1077
+ for (const [V, h] of R)
1078
+ k[V] = h;
1100
1079
  return k;
1101
- }, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
1080
+ }, cl = /* @__PURE__ */ Te(ml, [["__scopeId", "data-v-7adb5f76"]]), fl = /* @__PURE__ */ O({
1102
1081
  __name: "RoleFormModal",
1103
1082
  emits: ["refresh"],
1104
- setup(w, { expose: R, emit: k }) {
1105
- const h = k, g = B(), _ = {
1083
+ setup(x, { expose: R, emit: k }) {
1084
+ const V = k, h = P(), b = {
1106
1085
  key: "",
1107
1086
  module: "",
1108
1087
  sort: 0,
@@ -1110,7 +1089,7 @@ const jl = /* @__PURE__ */ O({
1110
1089
  en_name: "",
1111
1090
  remark: "",
1112
1091
  rules: []
1113
- }, m = {
1092
+ }, i = {
1114
1093
  name: [
1115
1094
  {
1116
1095
  required: !0,
@@ -1125,46 +1104,46 @@ const jl = /* @__PURE__ */ O({
1125
1104
  trigger: "blur"
1126
1105
  }
1127
1106
  ]
1128
- }, { modal: i, title: p, form: t, formData: v, requesting: u, executing: c, open: V, modify: b, submit: D, closed: x } = X(h, _, ke), n = () => {
1107
+ }, { modal: m, title: p, form: n, formData: v, requesting: u, executing: f, open: g, modify: _, submit: A, closed: w } = ee(V, b, ve), t = () => {
1129
1108
  var d;
1130
- (d = g.value) == null || d.cleanChecked(), x();
1109
+ (d = h.value) == null || d.cleanChecked(), w();
1131
1110
  };
1132
1111
  return R({
1133
- open: V,
1134
- modify: b
1135
- }), (d, r) => {
1136
- const y = s("el-input"), f = 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
- modelValue: e(i),
1139
- "onUpdate:modelValue": r[6] || (r[6] = (L) => N(i) ? i.value = L : null),
1112
+ open: g,
1113
+ modify: _
1114
+ }), (d, s) => {
1115
+ const y = r("el-input"), c = r("el-form-item"), L = r("el-col"), M = r("el-input-number"), D = r("el-row"), U = r("el-form");
1116
+ return S(), T(e(oe), {
1117
+ modelValue: e(m),
1118
+ "onUpdate:modelValue": s[6] || (s[6] = (C) => N(m) ? m.value = C : null),
1140
1119
  title: e(p)(),
1141
1120
  width: "1000px",
1142
- executing: e(c),
1143
- onClosed: n,
1144
- onSubmit: e(D)
1121
+ executing: e(f),
1122
+ onClosed: t,
1123
+ onSubmit: e(A)
1145
1124
  }, {
1146
1125
  default: o(() => [
1147
- l(M, {
1126
+ l(U, {
1148
1127
  ref_key: "form",
1149
- ref: t,
1128
+ ref: n,
1150
1129
  model: e(v),
1151
1130
  "label-width": "auto",
1152
- rules: m,
1153
- disabled: e(u) || e(c)
1131
+ rules: i,
1132
+ disabled: e(u) || e(f)
1154
1133
  }, {
1155
1134
  default: o(() => [
1156
- l(q, { gutter: 20 }, {
1135
+ l(D, { gutter: 20 }, {
1157
1136
  default: o(() => [
1158
- l(C, { span: 12 }, {
1137
+ l(L, { span: 12 }, {
1159
1138
  default: o(() => [
1160
- l(f, {
1139
+ l(c, {
1161
1140
  label: e(a)("base.module"),
1162
1141
  prop: "module"
1163
1142
  }, {
1164
1143
  default: o(() => [
1165
1144
  l(y, {
1166
1145
  modelValue: e(v).module,
1167
- "onUpdate:modelValue": r[0] || (r[0] = (L) => e(v).module = L),
1146
+ "onUpdate:modelValue": s[0] || (s[0] = (C) => e(v).module = C),
1168
1147
  placeholder: e(a)("placeholder.input")
1169
1148
  }, null, 8, ["modelValue", "placeholder"])
1170
1149
  ]),
@@ -1173,17 +1152,17 @@ const jl = /* @__PURE__ */ O({
1173
1152
  ]),
1174
1153
  _: 1
1175
1154
  }),
1176
- l(C, { span: 12 }, {
1155
+ l(L, { span: 12 }, {
1177
1156
  default: o(() => [
1178
- l(f, {
1157
+ l(c, {
1179
1158
  label: e(a)("base.sort"),
1180
1159
  prop: "sort"
1181
1160
  }, {
1182
1161
  default: o(() => [
1183
- l(A, {
1162
+ l(M, {
1184
1163
  class: "w-full",
1185
1164
  modelValue: e(v).sort,
1186
- "onUpdate:modelValue": r[1] || (r[1] = (L) => e(v).sort = L),
1165
+ "onUpdate:modelValue": s[1] || (s[1] = (C) => e(v).sort = C),
1187
1166
  min: 0,
1188
1167
  placeholder: e(a)("placeholder.input")
1189
1168
  }, null, 8, ["modelValue", "placeholder"])
@@ -1196,56 +1175,56 @@ const jl = /* @__PURE__ */ O({
1196
1175
  ]),
1197
1176
  _: 1
1198
1177
  }),
1199
- l(f, {
1178
+ l(c, {
1200
1179
  label: e(a)("base.name"),
1201
1180
  prop: "name"
1202
1181
  }, {
1203
1182
  default: o(() => [
1204
1183
  l(y, {
1205
1184
  modelValue: e(v).name,
1206
- "onUpdate:modelValue": r[2] || (r[2] = (L) => e(v).name = L),
1185
+ "onUpdate:modelValue": s[2] || (s[2] = (C) => e(v).name = C),
1207
1186
  placeholder: e(a)("placeholder.input")
1208
1187
  }, null, 8, ["modelValue", "placeholder"])
1209
1188
  ]),
1210
1189
  _: 1
1211
1190
  }, 8, ["label"]),
1212
- l(f, {
1191
+ l(c, {
1213
1192
  label: e(a)("base.en_name"),
1214
1193
  prop: "en_name"
1215
1194
  }, {
1216
1195
  default: o(() => [
1217
1196
  l(y, {
1218
1197
  modelValue: e(v).en_name,
1219
- "onUpdate:modelValue": r[3] || (r[3] = (L) => e(v).en_name = L),
1198
+ "onUpdate:modelValue": s[3] || (s[3] = (C) => e(v).en_name = C),
1220
1199
  placeholder: e(a)("placeholder.input")
1221
1200
  }, null, 8, ["modelValue", "placeholder"])
1222
1201
  ]),
1223
1202
  _: 1
1224
1203
  }, 8, ["label"]),
1225
- l(f, {
1204
+ l(c, {
1226
1205
  label: e(a)("base.remark"),
1227
1206
  prop: "remark"
1228
1207
  }, {
1229
1208
  default: o(() => [
1230
1209
  l(y, {
1231
1210
  modelValue: e(v).remark,
1232
- "onUpdate:modelValue": r[4] || (r[4] = (L) => e(v).remark = L),
1211
+ "onUpdate:modelValue": s[4] || (s[4] = (C) => e(v).remark = C),
1233
1212
  placeholder: e(a)("placeholder.input")
1234
1213
  }, null, 8, ["modelValue", "placeholder"])
1235
1214
  ]),
1236
1215
  _: 1
1237
1216
  }, 8, ["label"]),
1238
- l(f, {
1217
+ l(c, {
1239
1218
  label: e(a)("menu.rules"),
1240
1219
  prop: "rules"
1241
1220
  }, {
1242
1221
  default: o(() => [
1243
- l(fl, {
1222
+ l(cl, {
1244
1223
  ref_key: "rulesCheck",
1245
- ref: g,
1224
+ ref: h,
1246
1225
  modelValue: e(v).rules,
1247
- "onUpdate:modelValue": r[5] || (r[5] = (L) => e(v).rules = L),
1248
- disabled: e(u) || e(c)
1226
+ "onUpdate:modelValue": s[5] || (s[5] = (C) => e(v).rules = C),
1227
+ disabled: e(u) || e(f)
1249
1228
  }, null, 8, ["modelValue", "disabled"])
1250
1229
  ]),
1251
1230
  _: 1
@@ -1260,7 +1239,7 @@ const jl = /* @__PURE__ */ O({
1260
1239
  }
1261
1240
  }), Kl = /* @__PURE__ */ O({
1262
1241
  __name: "index",
1263
- setup(w) {
1242
+ setup(x) {
1264
1243
  const R = {
1265
1244
  keyword: ""
1266
1245
  }, k = [
@@ -1296,82 +1275,82 @@ const jl = /* @__PURE__ */ O({
1296
1275
  width: 65,
1297
1276
  align: "center",
1298
1277
  render: ({
1299
- row: c
1300
- }) => l(ae, {
1278
+ row: f
1279
+ }) => l(ne, {
1301
1280
  size: "default",
1302
1281
  onModify: () => u({
1303
- key: c.key
1282
+ key: f.key
1304
1283
  })
1305
1284
  }, null)
1306
1285
  }
1307
1286
  ], {
1308
- requesting: h
1309
- } = F(ke), {
1310
- tableRef: g,
1311
- formModalRef: _,
1312
- keyword: m,
1313
- search: i,
1287
+ requesting: V
1288
+ } = F(ve), {
1289
+ tableRef: h,
1290
+ formModalRef: b,
1291
+ keyword: i,
1292
+ search: m,
1314
1293
  reset: p,
1315
- refresh: t,
1294
+ refresh: n,
1316
1295
  openFormModal: v,
1317
1296
  editFormModal: u
1318
- } = E(R);
1319
- return (c, V) => {
1320
- const b = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
1321
- return S(), T(n, {
1297
+ } = z(R);
1298
+ return (f, g) => {
1299
+ const _ = r("el-input"), A = r("el-space"), w = r("el-page-header"), t = r("el-card");
1300
+ return S(), T(t, {
1322
1301
  class: "basic-card flex-full",
1323
1302
  "body-class": "flex-1"
1324
1303
  }, {
1325
- header: o(() => [l(x, {
1304
+ header: o(() => [l(w, {
1326
1305
  class: "basic-header"
1327
1306
  }, {
1328
- title: o(() => [l(e(K), {
1329
- loading: e(h),
1307
+ title: o(() => [l(e(G), {
1308
+ loading: e(V),
1330
1309
  onRefresh: e(p)
1331
- }, null, 8, ["loading", "onRefresh"]), l(e(j), {
1310
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
1332
1311
  onOpen: e(v)
1333
1312
  }, null, 8, ["onOpen"])]),
1334
- content: o(() => [l(D, {
1313
+ content: o(() => [l(A, {
1335
1314
  class: "search-bar"
1336
1315
  }, {
1337
- default: o(() => [l(b, {
1316
+ default: o(() => [l(_, {
1338
1317
  class: "basic-search-input",
1339
- modelValue: e(m).keyword,
1340
- "onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
1318
+ modelValue: e(i).keyword,
1319
+ "onUpdate:modelValue": g[0] || (g[0] = (d) => e(i).keyword = d),
1341
1320
  placeholder: e(a)("placeholder.keyword"),
1342
1321
  clearable: "",
1343
- onKeyup: V[1] || (V[1] = he((d) => e(i)(), ["enter"])),
1344
- onClear: V[2] || (V[2] = (d) => e(i)())
1345
- }, null, 8, ["modelValue", "placeholder"]), l(e(ne), {
1346
- disabled: e(h),
1347
- onSearch: V[3] || (V[3] = (d) => e(i)())
1322
+ onKeyup: g[1] || (g[1] = Ve((d) => e(m)(), ["enter"])),
1323
+ onClear: g[2] || (g[2] = (d) => e(m)())
1324
+ }, null, 8, ["modelValue", "placeholder"]), l(e(se), {
1325
+ disabled: e(V),
1326
+ onSearch: g[3] || (g[3] = (d) => e(m)())
1348
1327
  }, null, 8, ["disabled"])]),
1349
1328
  _: 1
1350
1329
  })]),
1351
1330
  _: 1
1352
1331
  })]),
1353
- default: o(() => [l(e(ce), {
1332
+ default: o(() => [l(e(be), {
1354
1333
  ref_key: "tableRef",
1355
- ref: g,
1334
+ ref: h,
1356
1335
  columns: k,
1357
- url: e(ke).urls[e(Ve)],
1358
- "search-param": e(m),
1336
+ url: e(ve).urls[e(ye)],
1337
+ "search-param": e(i),
1359
1338
  "auto-search": ""
1360
- }, null, 8, ["url", "search-param"]), l(_l, {
1339
+ }, null, 8, ["url", "search-param"]), l(fl, {
1361
1340
  ref_key: "formModalRef",
1362
- ref: _,
1363
- onRefresh: e(t)
1341
+ ref: b,
1342
+ onRefresh: e(n)
1364
1343
  }, null, 8, ["onRefresh"])]),
1365
1344
  _: 1
1366
1345
  });
1367
1346
  };
1368
1347
  }
1369
- }), W = Y.routineApi("I18N", "uuid", {
1348
+ }), Y = Q.routineApi("I18N", "uuid", {
1370
1349
  modules: "modules",
1371
1350
  languages: "languages"
1372
- }, { gen: "gen" }, ["I18N_MODULES"]), re = Y.routineApi("I18N_template", "uuid", {
1351
+ }, { gen: "gen" }, ["I18N_MODULES"]), ue = Q.routineApi("I18N_template", "uuid", {
1373
1352
  apps: "apps"
1374
- }), Te = /* @__PURE__ */ O({
1353
+ }), Oe = /* @__PURE__ */ O({
1375
1354
  __name: "ModuleSelect",
1376
1355
  props: {
1377
1356
  modelValue: {
@@ -1397,48 +1376,48 @@ const jl = /* @__PURE__ */ O({
1397
1376
  }
1398
1377
  },
1399
1378
  emits: ["update:modelValue", "update:value", "change"],
1400
- setup(w, {
1379
+ setup(x, {
1401
1380
  emit: R
1402
1381
  }) {
1403
- const k = R, h = w, {
1404
- requesting: g
1405
- } = F(W), {
1406
- value: _,
1407
- options: m,
1408
- change: i,
1382
+ const k = R, V = x, {
1383
+ requesting: h
1384
+ } = F(Y), {
1385
+ value: b,
1386
+ options: i,
1387
+ change: m,
1409
1388
  refresh: p,
1410
- filterOptions: t
1411
- } = te(oe(h, "modelValue"), k, {
1389
+ filterOptions: n
1390
+ } = de(re(V, "modelValue"), k, {
1412
1391
  key: "I18N_MODULES",
1413
- url: W.urls.modules,
1414
- api: W,
1392
+ url: Y.urls.modules,
1393
+ api: Y,
1415
1394
  isArray: !0
1416
1395
  });
1417
1396
  return (v, u) => {
1418
- const c = s("el-space"), V = s("el-select-v2");
1419
- return S(), T(V, {
1397
+ const f = r("el-space"), g = r("el-select-v2");
1398
+ return S(), T(g, {
1420
1399
  class: "w-full",
1421
- modelValue: e(_),
1422
- "onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
1423
- options: e(m),
1424
- multiple: w.multiple,
1425
- disabled: e(g) || w.disabled,
1426
- clearable: w.clearable,
1400
+ modelValue: e(b),
1401
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => N(b) ? b.value = _ : null),
1402
+ options: e(i),
1403
+ multiple: x.multiple,
1404
+ disabled: e(h) || x.disabled,
1405
+ clearable: x.clearable,
1427
1406
  filterable: "",
1428
- "allow-create": w.allowCreate,
1407
+ "allow-create": x.allowCreate,
1429
1408
  "default-first-option": "",
1430
1409
  placeholder: e(a)("placeholder.select"),
1431
- filterOptions: e(t),
1432
- onChange: e(i)
1410
+ filterOptions: e(n),
1411
+ onChange: e(m)
1433
1412
  }, {
1434
- prefix: o(() => [l(e(me), {
1435
- loading: e(g),
1436
- onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
1413
+ prefix: o(() => [l(e(fe), {
1414
+ loading: e(h),
1415
+ onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
1437
1416
  }, null, 8, ["loading"])]),
1438
1417
  default: o(({
1439
- item: b
1440
- }) => [l(c, null, {
1441
- default: o(() => [P("span", null, z(b.value), 1)]),
1418
+ item: _
1419
+ }) => [l(f, null, {
1420
+ default: o(() => [W("span", null, I(_.value), 1)]),
1442
1421
  _: 2
1443
1422
  }, 1024)]),
1444
1423
  _: 1
@@ -1448,8 +1427,8 @@ const jl = /* @__PURE__ */ O({
1448
1427
  }), bl = /* @__PURE__ */ O({
1449
1428
  __name: "I18N",
1450
1429
  emits: ["refresh"],
1451
- setup(w, { expose: R, emit: k }) {
1452
- const h = k, g = {
1430
+ setup(x, { expose: R, emit: k }) {
1431
+ const V = k, h = {
1453
1432
  uuid: "",
1454
1433
  key: "",
1455
1434
  module: void 0,
@@ -1458,7 +1437,7 @@ const jl = /* @__PURE__ */ O({
1458
1437
  "en-US": ""
1459
1438
  },
1460
1439
  remark: ""
1461
- }, _ = {
1440
+ }, b = {
1462
1441
  module: [
1463
1442
  {
1464
1443
  required: !0,
@@ -1480,93 +1459,93 @@ const jl = /* @__PURE__ */ O({
1480
1459
  trigger: "change"
1481
1460
  }
1482
1461
  ]
1483
- }, m = B([]), i = Ye();
1462
+ }, i = P([]), m = Ye();
1484
1463
  function p() {
1485
- const r = {
1464
+ const s = {
1486
1465
  isArray: !0,
1487
1466
  key: "I18N_LANGUAGES",
1488
- url: W.urls.languages,
1467
+ url: Y.urls.languages,
1489
1468
  params: {}
1490
1469
  };
1491
- i.GET_CACHE({ ...r, force: !0 }).then((y) => {
1492
- m.value = y;
1470
+ m.GET_CACHE({ ...s, force: !0 }).then((y) => {
1471
+ i.value = y;
1493
1472
  });
1494
1473
  }
1495
1474
  p();
1496
- const { modal: t, title: v, form: u, formData: c, requesting: V, executing: b, open: D, modify: x, submit: n, closed: d } = X(h, g, W);
1475
+ const { modal: n, title: v, form: u, formData: f, requesting: g, executing: _, open: A, modify: w, submit: t, closed: d } = ee(V, h, Y);
1497
1476
  return R({
1498
- open: D,
1499
- modify: x
1500
- }), (r, y) => {
1501
- const f = s("el-form-item"), C = s("el-input"), A = s("el-space"), q = s("el-form");
1502
- return S(), T(e(le), {
1503
- modelValue: e(t),
1504
- "onUpdate:modelValue": y[3] || (y[3] = (M) => N(t) ? t.value = M : null),
1477
+ open: A,
1478
+ modify: w
1479
+ }), (s, y) => {
1480
+ const c = r("el-form-item"), L = r("el-input"), M = r("el-space"), D = r("el-form");
1481
+ return S(), T(e(oe), {
1482
+ modelValue: e(n),
1483
+ "onUpdate:modelValue": y[3] || (y[3] = (U) => N(n) ? n.value = U : null),
1505
1484
  title: e(v)(),
1506
1485
  width: "600px",
1507
- executing: e(b),
1486
+ executing: e(_),
1508
1487
  onClosed: e(d),
1509
- onSubmit: e(n)
1488
+ onSubmit: e(t)
1510
1489
  }, {
1511
1490
  default: o(() => [
1512
- l(q, {
1491
+ l(D, {
1513
1492
  ref_key: "form",
1514
1493
  ref: u,
1515
- model: e(c),
1494
+ model: e(f),
1516
1495
  "label-width": "auto",
1517
- rules: _,
1518
- disabled: e(V) || e(b)
1496
+ rules: b,
1497
+ disabled: e(g) || e(_)
1519
1498
  }, {
1520
1499
  default: o(() => [
1521
- l(f, {
1500
+ l(c, {
1522
1501
  label: e(a)("i18n.module"),
1523
1502
  prop: "module",
1524
1503
  required: ""
1525
1504
  }, {
1526
1505
  default: o(() => [
1527
- l(Te, {
1528
- modelValue: e(c).module,
1529
- "onUpdate:modelValue": y[0] || (y[0] = (M) => e(c).module = M),
1530
- disabled: e(b),
1506
+ l(Oe, {
1507
+ modelValue: e(f).module,
1508
+ "onUpdate:modelValue": y[0] || (y[0] = (U) => e(f).module = U),
1509
+ disabled: e(_),
1531
1510
  "allow-create": ""
1532
1511
  }, null, 8, ["modelValue", "disabled"])
1533
1512
  ]),
1534
1513
  _: 1
1535
1514
  }, 8, ["label"]),
1536
- l(f, {
1515
+ l(c, {
1537
1516
  label: e(a)("i18n.key"),
1538
1517
  prop: "key",
1539
1518
  required: ""
1540
1519
  }, {
1541
1520
  default: o(() => [
1542
- l(C, {
1543
- modelValue: e(c).key,
1544
- "onUpdate:modelValue": y[1] || (y[1] = (M) => e(c).key = M),
1521
+ l(L, {
1522
+ modelValue: e(f).key,
1523
+ "onUpdate:modelValue": y[1] || (y[1] = (U) => e(f).key = U),
1545
1524
  placeholder: e(a)("i18n.placeholder.key")
1546
1525
  }, null, 8, ["modelValue", "placeholder"])
1547
1526
  ]),
1548
1527
  _: 1
1549
1528
  }, 8, ["label"]),
1550
- l(f, {
1529
+ l(c, {
1551
1530
  label: e(a)("i18n.language"),
1552
1531
  prop: "language",
1553
1532
  required: ""
1554
1533
  }, {
1555
1534
  default: o(() => [
1556
- l(A, {
1535
+ l(M, {
1557
1536
  direction: "vertical",
1558
1537
  fill: "",
1559
1538
  style: { width: "100%" }
1560
1539
  }, {
1561
1540
  default: o(() => [
1562
- (S(!0), I(G, null, ee(m.value, (M) => (S(), I("div", { key: M }, [
1563
- l(C, {
1564
- modelValue: e(c).language[M],
1565
- "onUpdate:modelValue": (L) => e(c).language[M] = L,
1541
+ (S(!0), j(H, null, ae(i.value, (U) => (S(), j("div", { key: U }, [
1542
+ l(L, {
1543
+ modelValue: e(f).language[U],
1544
+ "onUpdate:modelValue": (C) => e(f).language[U] = C,
1566
1545
  placeholder: e(a)("i18n.placeholder.language")
1567
1546
  }, {
1568
1547
  prepend: o(() => [
1569
- Z(z(M), 1)
1548
+ le(I(U), 1)
1570
1549
  ]),
1571
1550
  _: 2
1572
1551
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
@@ -1577,14 +1556,14 @@ const jl = /* @__PURE__ */ O({
1577
1556
  ]),
1578
1557
  _: 1
1579
1558
  }, 8, ["label"]),
1580
- l(f, {
1559
+ l(c, {
1581
1560
  label: e(a)("base.remark"),
1582
1561
  prop: "remark"
1583
1562
  }, {
1584
1563
  default: o(() => [
1585
- l(C, {
1586
- modelValue: e(c).remark,
1587
- "onUpdate:modelValue": y[2] || (y[2] = (M) => e(c).remark = M),
1564
+ l(L, {
1565
+ modelValue: e(f).remark,
1566
+ "onUpdate:modelValue": y[2] || (y[2] = (U) => e(f).remark = U),
1588
1567
  placeholder: e(a)("placeholder.remark")
1589
1568
  }, null, 8, ["modelValue", "placeholder"])
1590
1569
  ]),
@@ -1599,21 +1578,47 @@ const jl = /* @__PURE__ */ O({
1599
1578
  };
1600
1579
  }
1601
1580
  });
1602
- function gl(w) {
1603
- return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !xe(w);
1581
+ function _l(x) {
1582
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !Re(x);
1604
1583
  }
1605
- const Oe = /* @__PURE__ */ O({
1584
+ const $e = /* @__PURE__ */ O({
1606
1585
  __name: "I18N",
1607
1586
  emits: ["closed", "choosed"],
1608
- setup(w, {
1587
+ setup(x, {
1609
1588
  expose: R,
1610
1589
  emit: k
1611
1590
  }) {
1612
- const h = B(!1), g = k, _ = {
1591
+ const V = k, {
1592
+ visible: h,
1593
+ open: b,
1594
+ close: i
1595
+ } = He(void 0, () => V("closed")), m = {
1613
1596
  keyword: "",
1614
1597
  module: void 0,
1615
1598
  status: 0
1616
- }, m = [{
1599
+ }, p = ({
1600
+ row: M
1601
+ }) => {
1602
+ const U = Object.keys(M.language).filter((C) => !!M.language[C]).map((C) => `${C}: ${M.language[C]}`).join("; ");
1603
+ return l(r("el-space"), null, _l(U) ? U : {
1604
+ default: () => [U]
1605
+ });
1606
+ }, n = ({
1607
+ row: M
1608
+ }) => l(r("el-space"), null, {
1609
+ default: () => [l(ne, {
1610
+ size: "default",
1611
+ onModify: () => y({
1612
+ uuid: M.uuid
1613
+ })
1614
+ }, null), l(X, {
1615
+ size: "default",
1616
+ text: !0,
1617
+ type: "danger",
1618
+ loading: f.value,
1619
+ onClick: () => c(M.uuid)
1620
+ }, null)]
1621
+ }), v = [{
1617
1622
  label: a("i18n.module"),
1618
1623
  prop: "module",
1619
1624
  width: 120
@@ -1625,14 +1630,7 @@ const Oe = /* @__PURE__ */ O({
1625
1630
  label: a("i18n.i18n"),
1626
1631
  align: "left",
1627
1632
  prop: "language",
1628
- render: ({
1629
- row: y
1630
- }) => {
1631
- const C = Object.keys(y.language).filter((A) => !!y.language[A]).map((A) => `${A}: ${y.language[A]}`).join("; ");
1632
- return l(s("el-space"), null, gl(C) ? C : {
1633
- default: () => [C]
1634
- });
1635
- }
1633
+ render: p
1636
1634
  }, {
1637
1635
  label: a("base.status"),
1638
1636
  prop: "checked",
@@ -1641,7 +1639,7 @@ const Oe = /* @__PURE__ */ O({
1641
1639
  props: {
1642
1640
  activeValue: 1,
1643
1641
  inactiveValue: 2,
1644
- api: W.urls[Ue],
1642
+ api: Y.urls[Ue],
1645
1643
  refresh: !0
1646
1644
  }
1647
1645
  }, {
@@ -1649,138 +1647,119 @@ const Oe = /* @__PURE__ */ O({
1649
1647
  label: a("base.action"),
1650
1648
  width: 120,
1651
1649
  align: "center",
1652
- render: ({
1653
- row: y
1654
- }) => l(s("el-space"), null, {
1655
- default: () => [l(ae, {
1656
- size: "default",
1657
- onModify: () => x({
1658
- uuid: y.uuid
1659
- })
1660
- }, null), l(Q, {
1661
- size: "default",
1662
- text: !0,
1663
- type: "danger",
1664
- loading: p.value,
1665
- onClick: () => n(y.uuid)
1666
- }, null)]
1667
- })
1650
+ render: n
1668
1651
  }], {
1669
- requesting: i,
1670
- executing: p
1671
- } = F(W), {
1672
- tableRef: t,
1673
- formModalRef: v,
1674
- keyword: u,
1675
- search: c,
1676
- reset: V,
1677
- refresh: b,
1678
- openFormModal: D,
1679
- editFormModal: x
1680
- } = E(_);
1681
- function n(y) {
1682
- return W.remove({
1683
- uuid: y
1652
+ requesting: u,
1653
+ executing: f
1654
+ } = F(Y), {
1655
+ tableRef: g,
1656
+ formModalRef: _,
1657
+ keyword: A,
1658
+ search: w,
1659
+ reset: t,
1660
+ refresh: d,
1661
+ openFormModal: s,
1662
+ editFormModal: y
1663
+ } = z(m);
1664
+ function c(M) {
1665
+ return Y.remove({
1666
+ uuid: M
1684
1667
  }).finally(() => {
1685
- b();
1668
+ d();
1686
1669
  });
1687
1670
  }
1688
- const d = () => {
1689
- h.value = !0;
1690
- };
1691
- function r(y) {
1692
- g("choosed", y);
1671
+ function L(M) {
1672
+ V("choosed", M);
1693
1673
  }
1694
- return Re(() => h.value, (y) => {
1695
- y || g("closed");
1696
- }), R({
1697
- open: d
1698
- }), (y, f) => {
1699
- const C = s("el-input"), A = s("el-radio-button"), q = s("el-radio-group"), M = s("el-space"), L = s("el-page-header");
1700
- return S(), T(e(fe), {
1701
- modelValue: h.value,
1702
- "onUpdate:modelValue": f[7] || (f[7] = (U) => h.value = U),
1674
+ return R({
1675
+ open: b
1676
+ }), (M, D) => {
1677
+ const U = r("el-input"), C = r("el-radio-button"), q = r("el-radio-group"), te = r("el-space"), $ = r("el-page-header");
1678
+ return S(), T(e(_e), {
1679
+ class: "basic-drawer",
1680
+ modelValue: e(h),
1681
+ "onUpdate:modelValue": D[7] || (D[7] = (B) => N(h) ? h.value = B : null),
1703
1682
  width: "880px",
1704
1683
  "show-close": !1,
1705
- class: "basic-drawer"
1684
+ onClosed: e(i)
1706
1685
  }, {
1707
- title: o(() => [l(L, {
1686
+ title: o(() => [l($, {
1708
1687
  class: "basic-header"
1709
1688
  }, {
1710
- title: o(() => [l(e(K), {
1711
- loading: e(i),
1712
- onRefresh: e(V)
1713
- }, null, 8, ["loading", "onRefresh"]), l(e(j), {
1714
- onOpen: e(D),
1715
- disabled: e(i)
1689
+ title: o(() => [l(e(G), {
1690
+ loading: e(u),
1691
+ onRefresh: e(t)
1692
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
1693
+ onOpen: e(s),
1694
+ disabled: e(u)
1716
1695
  }, null, 8, ["onOpen", "disabled"])]),
1717
- content: o(() => [l(M, {
1696
+ content: o(() => [l(te, {
1718
1697
  class: "search-bar"
1719
1698
  }, {
1720
- default: o(() => [l(C, {
1699
+ default: o(() => [l(U, {
1721
1700
  style: {
1722
1701
  width: "160px"
1723
1702
  },
1724
- modelValue: e(u).keyword,
1725
- "onUpdate:modelValue": f[0] || (f[0] = (U) => e(u).keyword = U),
1726
- disabled: e(i),
1703
+ modelValue: e(A).keyword,
1704
+ "onUpdate:modelValue": D[0] || (D[0] = (B) => e(A).keyword = B),
1705
+ disabled: e(u),
1727
1706
  placeholder: e(a)("placeholder.keyword"),
1728
1707
  clearable: "",
1729
- onKeyup: f[1] || (f[1] = he((U) => e(c)(), ["enter"])),
1730
- onClear: f[2] || (f[2] = (U) => e(c)())
1731
- }, null, 8, ["modelValue", "disabled", "placeholder"]), l(Te, {
1732
- modelValue: e(u).module,
1733
- "onUpdate:modelValue": f[3] || (f[3] = (U) => e(u).module = U),
1708
+ onKeyup: D[1] || (D[1] = Ve((B) => e(w)(), ["enter"])),
1709
+ onClear: D[2] || (D[2] = (B) => e(w)())
1710
+ }, null, 8, ["modelValue", "disabled", "placeholder"]), l(Oe, {
1711
+ modelValue: e(A).module,
1712
+ "onUpdate:modelValue": D[3] || (D[3] = (B) => e(A).module = B),
1734
1713
  clearable: !0,
1735
- disabled: e(i),
1714
+ disabled: e(u),
1736
1715
  style: {
1737
1716
  width: "160px"
1738
1717
  }
1739
1718
  }, null, 8, ["modelValue", "disabled"]), l(q, {
1740
- modelValue: e(u).status,
1741
- "onUpdate:modelValue": f[4] || (f[4] = (U) => e(u).status = U),
1742
- onChange: f[5] || (f[5] = (U) => e(c)()),
1743
- disabled: e(i)
1719
+ modelValue: e(A).status,
1720
+ "onUpdate:modelValue": D[4] || (D[4] = (B) => e(A).status = B),
1721
+ onChange: D[5] || (D[5] = (B) => e(w)()),
1722
+ disabled: e(u)
1744
1723
  }, {
1745
- default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(A, {
1746
- key: U,
1747
- label: e(a)(`status.${U}`),
1748
- value: U
1724
+ default: o(() => [(S(), j(H, null, ae([0, 1, 2], (B) => l(C, {
1725
+ key: B,
1726
+ label: e(a)(`status.${B}`),
1727
+ value: B
1749
1728
  }, null, 8, ["label", "value"])), 64))]),
1750
1729
  _: 1
1751
- }, 8, ["modelValue", "disabled"]), l(e(ne), {
1752
- disabled: e(i),
1753
- onSearch: f[6] || (f[6] = (U) => e(c)())
1730
+ }, 8, ["modelValue", "disabled"]), l(e(se), {
1731
+ disabled: e(u),
1732
+ onSearch: D[6] || (D[6] = (B) => e(w)())
1754
1733
  }, null, 8, ["disabled"])]),
1755
1734
  _: 1
1756
1735
  })]),
1757
1736
  _: 1
1758
1737
  })]),
1759
- default: o(() => [l(e(ce), {
1738
+ default: o(() => [l(e(be), {
1760
1739
  ref_key: "tableRef",
1761
- ref: t,
1762
- columns: m,
1763
- url: e(W).urls[e(Ve)],
1764
- "search-param": e(u),
1765
- onRowDblclick: r,
1740
+ ref: g,
1741
+ columns: v,
1742
+ url: e(Y).urls[e(ye)],
1743
+ "search-param": e(A),
1744
+ onRowDblclick: L,
1766
1745
  "auto-search": ""
1767
1746
  }, null, 8, ["url", "search-param"]), l(bl, {
1768
1747
  ref_key: "formModalRef",
1769
- ref: v,
1770
- onRefresh: e(b)
1748
+ ref: _,
1749
+ onRefresh: e(d)
1771
1750
  }, null, 8, ["onRefresh"])]),
1772
1751
  _: 1
1773
- }, 8, ["modelValue"]);
1752
+ }, 8, ["modelValue", "onClosed"]);
1774
1753
  };
1775
1754
  }
1776
- }), hl = { key: 0 }, Vl = { key: 1 }, yl = /* @__PURE__ */ O({
1755
+ }), gl = { key: 0 }, hl = { key: 1 }, Vl = /* @__PURE__ */ O({
1777
1756
  __name: "template",
1778
1757
  emits: ["refresh"],
1779
- setup(w, { expose: R, emit: k }) {
1780
- const { formModalRef: h, openFormModal: g } = E(), _ = k, m = B("600px"), i = B({
1758
+ setup(x, { expose: R, emit: k }) {
1759
+ const { formModalRef: V, openFormModal: h } = z(), b = k, i = P("600px"), m = P({
1781
1760
  "zh-CN": "primary",
1782
1761
  "en-US": "success"
1783
- }), p = B({}), t = {
1762
+ }), p = P({}), n = {
1784
1763
  uuid: "",
1785
1764
  app: 1,
1786
1765
  keys: "",
@@ -1808,63 +1787,64 @@ const Oe = /* @__PURE__ */ O({
1808
1787
  trigger: "change"
1809
1788
  }
1810
1789
  ]
1811
- }, { modal: u, title: c, form: V, formData: b, requesting: D, executing: x, open: n, modify: d, submit: r, closed: y } = X(_, t, re);
1812
- function f() {
1813
- m.value = "1080px", g();
1790
+ }, { modal: u, title: f, form: g, formData: _, requesting: A, executing: w, open: t, modify: d, submit: s, closed: y } = ee(b, n, ue);
1791
+ function c() {
1792
+ i.value = "1080px", h();
1814
1793
  }
1815
- function C() {
1816
- m.value = "600px";
1794
+ function L() {
1795
+ i.value = "600px";
1817
1796
  }
1818
- function A(L) {
1819
- let U = L.module.toLowerCase() + "." + L.key.toLowerCase();
1820
- b.keys = U, b.values.push(U);
1821
- for (const se in L.language)
1822
- p.value[se] || (p.value[se] = []), p.value[se].push(L.language[se]);
1797
+ function M(C) {
1798
+ var te;
1799
+ let q = ((te = C == null ? void 0 : C.module) == null ? void 0 : te.toLowerCase()) + "." + C.key.toLowerCase();
1800
+ _.keys = q, _.values.push(q);
1801
+ for (const $ in C.language)
1802
+ p.value[$] || (p.value[$] = []), p.value[$].push(C.language[$]);
1823
1803
  }
1824
- function q() {
1825
- m.value = "600px", M();
1804
+ function D() {
1805
+ i.value = "600px", U();
1826
1806
  }
1827
- function M() {
1828
- b.keys = "", b.values = [], p.value = {
1807
+ function U() {
1808
+ _.keys = "", _.values = [], p.value = {
1829
1809
  "zh-CN": [],
1830
1810
  "en-US": []
1831
1811
  };
1832
1812
  }
1833
- return Re(() => u.value, (L) => {
1834
- L ? q() : y();
1813
+ return Se(() => u.value, (C) => {
1814
+ C ? D() : y();
1835
1815
  }), R({
1836
- open: n,
1816
+ open: t,
1837
1817
  modify: d
1838
- }), (L, U) => {
1839
- 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");
1840
- return S(), T(e(fe), {
1818
+ }), (C, q) => {
1819
+ const te = r("el-page-header"), $ = r("el-form-item"), B = r("el-button"), Ae = r("el-input"), ze = r("el-tag"), Ie = r("el-space"), Ne = r("el-form");
1820
+ return S(), T(e(_e), {
1841
1821
  modelValue: e(u),
1842
- "onUpdate:modelValue": U[3] || (U[3] = (J) => N(u) ? u.value = J : null),
1843
- width: m.value,
1822
+ "onUpdate:modelValue": q[3] || (q[3] = (Z) => N(u) ? u.value = Z : null),
1823
+ width: i.value,
1844
1824
  "show-close": !1,
1845
1825
  class: "basic-drawer"
1846
1826
  }, {
1847
1827
  title: o(() => [
1848
- l(se, { class: "basic-header" }, {
1828
+ l(te, { class: "basic-header" }, {
1849
1829
  title: o(() => [
1850
- Z(z(e(c)("i18n.template")), 1)
1830
+ le(I(e(f)("i18n.template")), 1)
1851
1831
  ]),
1852
1832
  extra: o(() => [
1853
- l(e(Q), {
1833
+ l(e(X), {
1854
1834
  size: "default",
1855
1835
  type: "default",
1856
1836
  icon: "icon-clear",
1857
- loading: e(x),
1858
- onClick: M
1837
+ loading: e(w),
1838
+ onClick: U
1859
1839
  }, null, 8, ["loading"]),
1860
- l(e(Q), {
1840
+ l(e(X), {
1861
1841
  circle: !1,
1862
1842
  size: "default",
1863
1843
  type: "primary",
1864
1844
  icon: "icon-save",
1865
1845
  plain: !1,
1866
- loading: e(x),
1867
- onClick: e(r)
1846
+ loading: e(w),
1847
+ onClick: e(s)
1868
1848
  }, null, 8, ["loading", "onClick"])
1869
1849
  ]),
1870
1850
  _: 1
@@ -1873,44 +1853,44 @@ const Oe = /* @__PURE__ */ O({
1873
1853
  default: o(() => [
1874
1854
  l(Ne, {
1875
1855
  ref_key: "form",
1876
- ref: V,
1877
- model: e(b),
1856
+ ref: g,
1857
+ model: e(_),
1878
1858
  "label-width": "auto",
1879
1859
  rules: v,
1880
- disabled: e(D) || e(x)
1860
+ disabled: e(A) || e(w)
1881
1861
  }, {
1882
1862
  default: o(() => [
1883
- l(_e, {
1863
+ l($, {
1884
1864
  label: e(a)("base.app"),
1885
1865
  prop: "app",
1886
1866
  required: ""
1887
1867
  }, {
1888
1868
  default: o(() => [
1889
- l(e(Se), {
1890
- modelValue: e(b).app,
1891
- "onUpdate:modelValue": U[0] || (U[0] = (J) => e(b).app = J),
1869
+ l(e(Ce), {
1870
+ modelValue: e(_).app,
1871
+ "onUpdate:modelValue": q[0] || (q[0] = (Z) => e(_).app = Z),
1892
1872
  "cache-key": "I18NAPPS",
1893
1873
  hidden: [0],
1894
- url: e(re).urls.apps
1874
+ url: e(ue).urls.apps
1895
1875
  }, null, 8, ["modelValue", "url"])
1896
1876
  ]),
1897
1877
  _: 1
1898
1878
  }, 8, ["label"]),
1899
- l(_e, {
1879
+ l($, {
1900
1880
  label: e(a)("i18n.keys"),
1901
1881
  prop: "keys",
1902
1882
  required: ""
1903
1883
  }, {
1904
1884
  default: o(() => [
1905
- l(Me, {
1906
- modelValue: e(b).keys,
1907
- "onUpdate:modelValue": U[1] || (U[1] = (J) => e(b).keys = J),
1885
+ l(Ae, {
1886
+ modelValue: e(_).keys,
1887
+ "onUpdate:modelValue": q[1] || (q[1] = (Z) => e(_).keys = Z),
1908
1888
  placeholder: e(a)("i18n.placeholder.key")
1909
1889
  }, {
1910
1890
  append: o(() => [
1911
- l(Fe, {
1912
- icon: e(rl),
1913
- onClick: f
1891
+ l(B, {
1892
+ icon: e(nl),
1893
+ onClick: c
1914
1894
  }, null, 8, ["icon"])
1915
1895
  ]),
1916
1896
  _: 1
@@ -1918,36 +1898,36 @@ const Oe = /* @__PURE__ */ O({
1918
1898
  ]),
1919
1899
  _: 1
1920
1900
  }, 8, ["label"]),
1921
- l(_e, {
1901
+ l($, {
1922
1902
  label: e(a)("i18n.values"),
1923
1903
  prop: "values",
1924
1904
  required: ""
1925
1905
  }, {
1926
1906
  default: o(() => [
1927
- Z(z(e(b).values.join(":")), 1)
1907
+ le(I(e(_).values.join(":")), 1)
1928
1908
  ]),
1929
1909
  _: 1
1930
1910
  }, 8, ["label"]),
1931
- l(_e, {
1911
+ l($, {
1932
1912
  label: e(a)("i18n.values")
1933
1913
  }, {
1934
1914
  default: o(() => [
1935
- (S(!0), I(G, null, ee(p.value, (J, ye) => (S(), I("div", {
1936
- key: ye,
1915
+ (S(!0), j(H, null, ae(p.value, (Z, ke) => (S(), j("div", {
1916
+ key: ke,
1937
1917
  class: "w-full"
1938
1918
  }, [
1939
1919
  l(Ie, null, {
1940
1920
  default: o(() => [
1941
1921
  l(ze, {
1942
- type: i.value[ye],
1922
+ type: m.value[ke],
1943
1923
  style: { "min-width": "80px" }
1944
1924
  }, {
1945
1925
  default: o(() => [
1946
- Z(z(ye), 1)
1926
+ le(I(ke), 1)
1947
1927
  ]),
1948
1928
  _: 2
1949
1929
  }, 1032, ["type"]),
1950
- ye == "zh-CN" ? (S(), I("span", hl, z(J.join("")), 1)) : (S(), I("span", Vl, z(J.join(" ")), 1))
1930
+ ke == "zh-CN" ? (S(), j("span", gl, I(Z.join("")), 1)) : (S(), j("span", hl, I(Z.join(" ")), 1))
1951
1931
  ]),
1952
1932
  _: 2
1953
1933
  }, 1024)
@@ -1955,14 +1935,14 @@ const Oe = /* @__PURE__ */ O({
1955
1935
  ]),
1956
1936
  _: 1
1957
1937
  }, 8, ["label"]),
1958
- l(_e, {
1938
+ l($, {
1959
1939
  label: e(a)("base.remark"),
1960
1940
  prop: "remark"
1961
1941
  }, {
1962
1942
  default: o(() => [
1963
- l(Me, {
1964
- modelValue: e(b).remark,
1965
- "onUpdate:modelValue": U[2] || (U[2] = (J) => e(b).remark = J),
1943
+ l(Ae, {
1944
+ modelValue: e(_).remark,
1945
+ "onUpdate:modelValue": q[2] || (q[2] = (Z) => e(_).remark = Z),
1966
1946
  placeholder: e(a)("placeholder.input")
1967
1947
  }, null, 8, ["modelValue", "placeholder"])
1968
1948
  ]),
@@ -1971,45 +1951,61 @@ const Oe = /* @__PURE__ */ O({
1971
1951
  ]),
1972
1952
  _: 1
1973
1953
  }, 8, ["model", "disabled"]),
1974
- l(Oe, {
1954
+ l($e, {
1975
1955
  ref_key: "I18nTableDrawerRef",
1976
- ref: h,
1977
- onChoosed: A,
1978
- onClosed: C
1956
+ ref: V,
1957
+ onChoosed: M,
1958
+ onClosed: L
1979
1959
  }, null, 512)
1980
1960
  ]),
1981
1961
  _: 1
1982
1962
  }, 8, ["modelValue", "width"]);
1983
1963
  };
1984
1964
  }
1985
- }), kl = Y.routineApi("gateway", "id", {
1965
+ }), yl = Q.routineApi("gateway", "id", {
1986
1966
  gen: "gen_translation"
1987
1967
  });
1988
- function vl(w) {
1989
- return typeof w == "function" || Object.prototype.toString.call(w) === "[object Object]" && !xe(w);
1968
+ function kl(x) {
1969
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !Re(x);
1990
1970
  }
1991
1971
  const Wl = /* @__PURE__ */ O({
1992
1972
  __name: "index",
1993
- setup(w) {
1973
+ setup(x) {
1994
1974
  const R = {
1995
1975
  keyword: "",
1996
1976
  app: 0,
1997
1977
  status: 0
1998
- }, k = [{
1978
+ }, k = ({
1979
+ row: y
1980
+ }) => {
1981
+ let c;
1982
+ return l(r("el-tag"), {
1983
+ type: a("i18n.app.colors." + y.app),
1984
+ style: "min-width: 80px"
1985
+ }, kl(c = a("i18n.app." + y.app)) ? c : {
1986
+ default: () => [c]
1987
+ });
1988
+ }, V = ({
1989
+ row: y
1990
+ }) => l(r("el-space"), null, {
1991
+ default: () => [l(ne, {
1992
+ size: "default",
1993
+ disabled: i.value,
1994
+ onModify: () => _({
1995
+ uuid: y.uuid
1996
+ })
1997
+ }, null), l(X, {
1998
+ size: "default",
1999
+ text: !0,
2000
+ type: "danger",
2001
+ loading: i.value,
2002
+ onClick: () => t(y.uuid)
2003
+ }, null)]
2004
+ }), h = [{
1999
2005
  label: a("base.app"),
2000
2006
  prop: "app",
2001
2007
  width: 120,
2002
- render: ({
2003
- row: d
2004
- }) => {
2005
- let r;
2006
- return l(s("el-tag"), {
2007
- type: a("i18n.app.colors." + d.app),
2008
- style: "min-width: 80px"
2009
- }, vl(r = a("i18n.app." + d.app)) ? r : {
2010
- default: () => [r]
2011
- });
2012
- }
2008
+ render: k
2013
2009
  }, {
2014
2010
  label: a("i18n.keys"),
2015
2011
  prop: "keys",
@@ -2026,7 +2022,7 @@ const Wl = /* @__PURE__ */ O({
2026
2022
  props: {
2027
2023
  activeValue: 1,
2028
2024
  inactiveValue: 2,
2029
- api: re.urls[Ue],
2025
+ api: ue.urls[Ue],
2030
2026
  refresh: !0
2031
2027
  }
2032
2028
  }, {
@@ -2046,155 +2042,138 @@ const Wl = /* @__PURE__ */ O({
2046
2042
  label: a("base.action"),
2047
2043
  width: 120,
2048
2044
  align: "center",
2049
- render: ({
2050
- row: d
2051
- }) => l(s("el-space"), null, {
2052
- default: () => [l(ae, {
2053
- size: "default",
2054
- disabled: g.value,
2055
- onModify: () => b({
2056
- uuid: d.uuid
2057
- })
2058
- }, null), l(Q, {
2059
- size: "default",
2060
- text: !0,
2061
- type: "danger",
2062
- loading: g.value,
2063
- onClick: () => D(d.uuid)
2064
- }, null)]
2065
- })
2045
+ render: V
2066
2046
  }], {
2067
- requesting: h,
2068
- executing: g
2069
- } = F(re), {
2070
- formModalRef: _,
2071
- openFormModal: m
2072
- } = E(), {
2073
- tableRef: i,
2047
+ requesting: b,
2048
+ executing: i
2049
+ } = F(ue), {
2050
+ tableRef: m,
2074
2051
  formModalRef: p,
2075
- keyword: t,
2052
+ keyword: n,
2076
2053
  search: v,
2077
2054
  reset: u,
2078
- refresh: c,
2079
- openFormModal: V,
2080
- editFormModal: b
2081
- } = E(R);
2082
- function D(d) {
2083
- return re.remove({
2084
- uuid: d
2055
+ refresh: f,
2056
+ openFormModal: g,
2057
+ editFormModal: _
2058
+ } = z(R), A = P(), w = () => {
2059
+ var y;
2060
+ return (y = A.value) == null ? void 0 : y.open();
2061
+ };
2062
+ function t(y) {
2063
+ return ue.remove({
2064
+ uuid: y
2085
2065
  }).finally(() => {
2086
- c();
2066
+ f();
2087
2067
  });
2088
2068
  }
2089
- function x() {
2090
- return W.gen().finally(() => {
2091
- c();
2069
+ function d() {
2070
+ return Y.gen().finally(() => {
2071
+ f();
2092
2072
  });
2093
2073
  }
2094
- function n() {
2095
- kl.gen().finally(() => {
2096
- c();
2074
+ function s() {
2075
+ yl.gen().finally(() => {
2076
+ f();
2097
2077
  });
2098
2078
  }
2099
- return (d, r) => {
2100
- const y = s("el-input"), f = 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");
2101
- return S(), T(L, {
2079
+ return (y, c) => {
2080
+ const L = r("el-input"), M = r("el-radio-button"), D = r("el-radio-group"), U = r("el-space"), C = r("el-divider"), q = r("el-page-header"), te = r("el-card");
2081
+ return S(), T(te, {
2102
2082
  class: "basic-card flex-full",
2103
2083
  "body-class": "flex-1"
2104
2084
  }, {
2105
- header: o(() => [l(M, {
2085
+ header: o(() => [l(q, {
2106
2086
  class: "basic-header"
2107
2087
  }, {
2108
- title: o(() => [l(e(K), {
2109
- loading: e(h),
2088
+ title: o(() => [l(e(G), {
2089
+ loading: e(b),
2110
2090
  onRefresh: e(u)
2111
- }, null, 8, ["loading", "onRefresh"]), l(e(j), {
2112
- onOpen: e(V)
2091
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
2092
+ onOpen: e(g)
2113
2093
  }, null, 8, ["onOpen"])]),
2114
- content: o(() => [l(A, {
2094
+ content: o(() => [l(U, {
2115
2095
  class: "search-bar"
2116
2096
  }, {
2117
- default: o(() => [l(y, {
2097
+ default: o(() => [l(L, {
2118
2098
  class: "basic-search-input",
2119
- modelValue: e(t).keyword,
2120
- "onUpdate:modelValue": r[0] || (r[0] = (U) => e(t).keyword = U),
2121
- disabled: e(h) || e(g),
2099
+ modelValue: e(n).keyword,
2100
+ "onUpdate:modelValue": c[0] || (c[0] = ($) => e(n).keyword = $),
2101
+ disabled: e(b) || e(i),
2122
2102
  placeholder: e(a)("placeholder.keyword"),
2123
2103
  clearable: "",
2124
- onKeyup: r[1] || (r[1] = he((U) => e(v)(), ["enter"])),
2125
- onClear: r[2] || (r[2] = (U) => e(v)())
2126
- }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Se), {
2127
- modelValue: e(t).app,
2128
- "onUpdate:modelValue": r[3] || (r[3] = (U) => e(t).app = U),
2104
+ onKeyup: c[1] || (c[1] = Ve(($) => e(v)(), ["enter"])),
2105
+ onClear: c[2] || (c[2] = ($) => e(v)())
2106
+ }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Ce), {
2107
+ modelValue: e(n).app,
2108
+ "onUpdate:modelValue": c[3] || (c[3] = ($) => e(n).app = $),
2129
2109
  "cache-key": "I18NAPPS",
2130
- disabled: e(h) || e(g),
2131
- url: e(re).urls.apps,
2132
- onChange: r[4] || (r[4] = (U) => e(v)())
2133
- }, null, 8, ["modelValue", "disabled", "url"]), l(C, {
2134
- modelValue: e(t).status,
2135
- "onUpdate:modelValue": r[5] || (r[5] = (U) => e(t).status = U),
2136
- disabled: e(h) || e(g),
2137
- onChange: r[6] || (r[6] = (U) => e(v)())
2110
+ disabled: e(b) || e(i),
2111
+ url: e(ue).urls.apps,
2112
+ onChange: c[4] || (c[4] = ($) => e(v)())
2113
+ }, null, 8, ["modelValue", "disabled", "url"]), l(D, {
2114
+ modelValue: e(n).status,
2115
+ "onUpdate:modelValue": c[5] || (c[5] = ($) => e(n).status = $),
2116
+ disabled: e(b) || e(i),
2117
+ onChange: c[6] || (c[6] = ($) => e(v)())
2138
2118
  }, {
2139
- default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(f, {
2140
- key: U,
2141
- label: e(a)(`status.${U}`),
2142
- value: U
2119
+ default: o(() => [(S(), j(H, null, ae([0, 1, 2], ($) => l(M, {
2120
+ key: $,
2121
+ label: e(a)(`status.${$}`),
2122
+ value: $
2143
2123
  }, null, 8, ["label", "value"])), 64))]),
2144
2124
  _: 1
2145
- }, 8, ["modelValue", "disabled"]), l(e(ne), {
2146
- disabled: e(h) || e(g),
2147
- onSearch: r[7] || (r[7] = (U) => e(v)())
2125
+ }, 8, ["modelValue", "disabled"]), l(e(se), {
2126
+ disabled: e(b) || e(i),
2127
+ onSearch: c[7] || (c[7] = ($) => e(v)())
2148
2128
  }, null, 8, ["disabled"])]),
2149
2129
  _: 1
2150
2130
  })]),
2151
- extra: o(() => [l(e(Q), {
2131
+ extra: o(() => [l(e(X), {
2152
2132
  size: "default",
2153
2133
  type: "warning",
2154
2134
  icon: "icon-cloud-upload",
2155
2135
  plain: !1,
2156
- loading: e(g),
2157
- onClick: x
2158
- }, null, 8, ["loading"]), l(e(Q), {
2136
+ loading: e(i),
2137
+ onClick: d
2138
+ }, null, 8, ["loading"]), l(e(X), {
2159
2139
  size: "default",
2160
2140
  type: "danger",
2161
2141
  icon: "icon-translate",
2162
2142
  plain: !1,
2163
- loading: e(g),
2164
- onClick: n
2165
- }, null, 8, ["loading"]), l(q, {
2143
+ loading: e(i),
2144
+ onClick: s
2145
+ }, null, 8, ["loading"]), l(C, {
2166
2146
  direction: "vertical"
2167
- }), l(e(j), {
2168
- onOpen: e(m),
2147
+ }), l(e(K), {
2148
+ onOpen: w,
2169
2149
  icon: "icon-en-US"
2170
- }, null, 8, ["onOpen"])]),
2150
+ })]),
2171
2151
  _: 1
2172
2152
  })]),
2173
- default: o(() => [l(e(ce), {
2153
+ default: o(() => [l(e(be), {
2174
2154
  ref_key: "tableRef",
2175
- ref: i,
2176
- columns: k,
2177
- url: e(re).urls[e(Ve)],
2178
- "search-param": e(t),
2155
+ ref: m,
2156
+ columns: h,
2157
+ url: e(ue).urls[e(ye)],
2158
+ "search-param": e(n),
2179
2159
  "auto-search": ""
2180
- }, null, 8, ["url", "search-param"]), l(Oe, {
2160
+ }, null, 8, ["url", "search-param"]), l($e, {
2181
2161
  ref_key: "I18nTableDrawerRef",
2182
- ref: _,
2183
- onRefresh: e(c)
2184
- }, null, 8, ["onRefresh"]), l(yl, {
2162
+ ref: A
2163
+ }, null, 512), l(Vl, {
2185
2164
  ref_key: "formModalRef",
2186
2165
  ref: p,
2187
- onRefresh: e(c)
2166
+ onRefresh: e(f)
2188
2167
  }, null, 8, ["onRefresh"])]),
2189
2168
  _: 1
2190
2169
  });
2191
2170
  };
2192
2171
  }
2193
- }), ve = Y.routineApi("admin", "key"), wl = /* @__PURE__ */ O({
2172
+ }), we = Q.routineApi("admin", "key"), vl = /* @__PURE__ */ O({
2194
2173
  __name: "AdminFormModal",
2195
2174
  emits: ["refresh"],
2196
- setup(w, { expose: R, emit: k }) {
2197
- const h = k, g = {
2175
+ setup(x, { expose: R, emit: k }) {
2176
+ const V = k, h = {
2198
2177
  key: "",
2199
2178
  username: "",
2200
2179
  password: "",
@@ -2203,7 +2182,7 @@ const Wl = /* @__PURE__ */ O({
2203
2182
  language: "zh-CN",
2204
2183
  remark: "",
2205
2184
  roles: []
2206
- }, { modal: _, title: m, form: i, formData: p, requesting: t, executing: v, open: u, modify: c, submit: V, closed: b } = X(h, g, ve), D = {
2185
+ }, { modal: b, title: i, form: m, formData: p, requesting: n, executing: v, open: u, modify: f, submit: g, closed: _ } = ee(V, h, we), A = {
2207
2186
  username: [
2208
2187
  {
2209
2188
  required: !0,
@@ -2214,7 +2193,7 @@ const Wl = /* @__PURE__ */ O({
2214
2193
  phone: [
2215
2194
  {
2216
2195
  required: !0,
2217
- validator: He.phoneRule,
2196
+ validator: Qe.phoneRule,
2218
2197
  message: a("placeholder.input base.phone"),
2219
2198
  trigger: "blur"
2220
2199
  }
@@ -2248,65 +2227,65 @@ const Wl = /* @__PURE__ */ O({
2248
2227
  trigger: "change"
2249
2228
  }
2250
2229
  ]
2251
- }, x = B([]), n = async () => {
2252
- const d = await ke.list();
2253
- x.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2230
+ }, w = P([]), t = async () => {
2231
+ const d = await ve.list();
2232
+ w.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2254
2233
  };
2255
2234
  return We(async () => {
2256
- await n();
2235
+ await t();
2257
2236
  }), R({
2258
2237
  open: u,
2259
- modify: c
2260
- }), (d, r) => {
2261
- const y = s("el-input"), f = 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");
2262
- return S(), T(e(le), {
2263
- modelValue: e(_),
2264
- "onUpdate:modelValue": r[7] || (r[7] = (U) => N(_) ? _.value = U : null),
2265
- title: e(m)(),
2238
+ modify: f
2239
+ }), (d, s) => {
2240
+ const y = r("el-input"), c = r("el-form-item"), L = r("el-radio-button"), M = r("el-radio-group"), D = r("el-checkbox"), U = r("el-checkbox-group"), C = r("el-form");
2241
+ return S(), T(e(oe), {
2242
+ modelValue: e(b),
2243
+ "onUpdate:modelValue": s[7] || (s[7] = (q) => N(b) ? b.value = q : null),
2244
+ title: e(i)(),
2266
2245
  width: "600px",
2267
2246
  executing: e(v),
2268
- onClosed: e(b),
2269
- onSubmit: e(V)
2247
+ onClosed: e(_),
2248
+ onSubmit: e(g)
2270
2249
  }, {
2271
2250
  default: o(() => [
2272
- l(L, {
2251
+ l(C, {
2273
2252
  ref_key: "form",
2274
- ref: i,
2253
+ ref: m,
2275
2254
  model: e(p),
2276
2255
  "label-width": "auto",
2277
- rules: D,
2278
- disabled: e(t) || e(v)
2256
+ rules: A,
2257
+ disabled: e(n) || e(v)
2279
2258
  }, {
2280
2259
  default: o(() => [
2281
- l(f, {
2260
+ l(c, {
2282
2261
  label: e(a)("base.username"),
2283
2262
  prop: "username"
2284
2263
  }, {
2285
2264
  default: o(() => [
2286
2265
  l(y, {
2287
2266
  modelValue: e(p).username,
2288
- "onUpdate:modelValue": r[0] || (r[0] = (U) => e(p).username = U),
2267
+ "onUpdate:modelValue": s[0] || (s[0] = (q) => e(p).username = q),
2289
2268
  placeholder: e(a)("placeholder.input"),
2290
2269
  autocomplete: "off"
2291
2270
  }, null, 8, ["modelValue", "placeholder"])
2292
2271
  ]),
2293
2272
  _: 1
2294
2273
  }, 8, ["label"]),
2295
- l(f, {
2274
+ l(c, {
2296
2275
  label: e(a)("base.phone"),
2297
2276
  prop: "phone"
2298
2277
  }, {
2299
2278
  default: o(() => [
2300
2279
  l(y, {
2301
2280
  modelValue: e(p).phone,
2302
- "onUpdate:modelValue": r[1] || (r[1] = (U) => e(p).phone = U),
2281
+ "onUpdate:modelValue": s[1] || (s[1] = (q) => e(p).phone = q),
2303
2282
  placeholder: e(a)("placeholder.input"),
2304
2283
  autocomplete: "off"
2305
2284
  }, null, 8, ["modelValue", "placeholder"])
2306
2285
  ]),
2307
2286
  _: 1
2308
2287
  }, 8, ["label"]),
2309
- l(f, {
2288
+ l(c, {
2310
2289
  label: e(a)("base.password"),
2311
2290
  prop: "password",
2312
2291
  required: !e(p).key
@@ -2314,46 +2293,46 @@ const Wl = /* @__PURE__ */ O({
2314
2293
  default: o(() => [
2315
2294
  l(y, {
2316
2295
  modelValue: e(p).password,
2317
- "onUpdate:modelValue": r[2] || (r[2] = (U) => e(p).password = U),
2296
+ "onUpdate:modelValue": s[2] || (s[2] = (q) => e(p).password = q),
2318
2297
  placeholder: e(a)("placeholder.input"),
2319
2298
  autocomplete: "off"
2320
2299
  }, null, 8, ["modelValue", "placeholder"])
2321
2300
  ]),
2322
2301
  _: 1
2323
2302
  }, 8, ["label", "required"]),
2324
- l(f, {
2303
+ l(c, {
2325
2304
  label: e(a)("base.email"),
2326
2305
  prop: "email"
2327
2306
  }, {
2328
2307
  default: o(() => [
2329
2308
  l(y, {
2330
2309
  modelValue: e(p).email,
2331
- "onUpdate:modelValue": r[3] || (r[3] = (U) => e(p).email = U),
2310
+ "onUpdate:modelValue": s[3] || (s[3] = (q) => e(p).email = q),
2332
2311
  placeholder: e(a)("placeholder.input"),
2333
2312
  autocomplete: "off"
2334
2313
  }, null, 8, ["modelValue", "placeholder"])
2335
2314
  ]),
2336
2315
  _: 1
2337
2316
  }, 8, ["label"]),
2338
- l(f, {
2317
+ l(c, {
2339
2318
  label: e(a)("base.language"),
2340
2319
  prop: "language"
2341
2320
  }, {
2342
2321
  default: o(() => [
2343
- l(A, {
2322
+ l(M, {
2344
2323
  modelValue: e(p).language,
2345
- "onUpdate:modelValue": r[4] || (r[4] = (U) => e(p).language = U)
2324
+ "onUpdate:modelValue": s[4] || (s[4] = (q) => e(p).language = q)
2346
2325
  }, {
2347
2326
  default: o(() => [
2348
- l(C, { value: "zh-CN" }, {
2349
- default: o(() => [...r[8] || (r[8] = [
2350
- Z("zh-CN", -1)
2327
+ l(L, { value: "zh-CN" }, {
2328
+ default: o(() => [...s[8] || (s[8] = [
2329
+ le("zh-CN", -1)
2351
2330
  ])]),
2352
2331
  _: 1
2353
2332
  }),
2354
- l(C, { value: "en-US" }, {
2355
- default: o(() => [...r[9] || (r[9] = [
2356
- Z("en-US", -1)
2333
+ l(L, { value: "en-US" }, {
2334
+ default: o(() => [...s[9] || (s[9] = [
2335
+ le("en-US", -1)
2357
2336
  ])]),
2358
2337
  _: 1
2359
2338
  })
@@ -2363,22 +2342,22 @@ const Wl = /* @__PURE__ */ O({
2363
2342
  ]),
2364
2343
  _: 1
2365
2344
  }, 8, ["label"]),
2366
- l(f, {
2345
+ l(c, {
2367
2346
  label: e(a)("menu.Role"),
2368
2347
  prop: "roles"
2369
2348
  }, {
2370
2349
  default: o(() => [
2371
- l(M, {
2350
+ l(U, {
2372
2351
  modelValue: e(p).roles,
2373
- "onUpdate:modelValue": r[5] || (r[5] = (U) => e(p).roles = U)
2352
+ "onUpdate:modelValue": s[5] || (s[5] = (q) => e(p).roles = q)
2374
2353
  }, {
2375
2354
  default: o(() => [
2376
- (S(!0), I(G, null, ee(x.value, (U) => (S(), T(q, {
2377
- key: U.key,
2378
- value: U.key
2355
+ (S(!0), j(H, null, ae(w.value, (q) => (S(), T(D, {
2356
+ key: q.key,
2357
+ value: q.key
2379
2358
  }, {
2380
2359
  default: o(() => [
2381
- Z(z(U.translate), 1)
2360
+ le(I(q.translate), 1)
2382
2361
  ]),
2383
2362
  _: 2
2384
2363
  }, 1032, ["value"]))), 128))
@@ -2388,14 +2367,14 @@ const Wl = /* @__PURE__ */ O({
2388
2367
  ]),
2389
2368
  _: 1
2390
2369
  }, 8, ["label"]),
2391
- l(f, {
2370
+ l(c, {
2392
2371
  label: e(a)("base.remark"),
2393
2372
  prop: "remark"
2394
2373
  }, {
2395
2374
  default: o(() => [
2396
2375
  l(y, {
2397
2376
  modelValue: e(p).remark,
2398
- "onUpdate:modelValue": r[6] || (r[6] = (U) => e(p).remark = U),
2377
+ "onUpdate:modelValue": s[6] || (s[6] = (q) => e(p).remark = q),
2399
2378
  placeholder: e(a)("placeholder.input")
2400
2379
  }, null, 8, ["modelValue", "placeholder"])
2401
2380
  ]),
@@ -2411,7 +2390,7 @@ const Wl = /* @__PURE__ */ O({
2411
2390
  }
2412
2391
  }), Gl = /* @__PURE__ */ O({
2413
2392
  __name: "index",
2414
- setup(w) {
2393
+ setup(x) {
2415
2394
  const R = {
2416
2395
  keyword: ""
2417
2396
  }, k = [{
@@ -2419,21 +2398,21 @@ const Wl = /* @__PURE__ */ O({
2419
2398
  prop: "avatar",
2420
2399
  width: 60,
2421
2400
  render: ({
2422
- row: c
2423
- }) => l(Qe, {
2424
- src: c.avatar
2401
+ row: f
2402
+ }) => l(Je, {
2403
+ src: f.avatar
2425
2404
  }, null)
2426
2405
  }, {
2427
2406
  label: a("base.user"),
2428
2407
  width: 200,
2429
2408
  align: "left",
2430
2409
  render: ({
2431
- row: c
2432
- }) => l(s("el-space"), {
2410
+ row: f
2411
+ }) => l(r("el-space"), {
2433
2412
  direction: "vertical",
2434
2413
  alignment: "start"
2435
2414
  }, {
2436
- default: () => [l("div", null, [c.username]), l("div", null, [c.email])]
2415
+ default: () => [l("div", null, [f.username]), l("div", null, [f.email])]
2437
2416
  })
2438
2417
  }, {
2439
2418
  label: a("base.phone"),
@@ -2461,78 +2440,78 @@ const Wl = /* @__PURE__ */ O({
2461
2440
  width: 80,
2462
2441
  align: "center",
2463
2442
  render: ({
2464
- row: c
2465
- }) => l(ae, {
2443
+ row: f
2444
+ }) => l(ne, {
2466
2445
  onModify: () => u({
2467
- key: c.key
2446
+ key: f.key
2468
2447
  })
2469
2448
  }, null)
2470
2449
  }], {
2471
- requesting: h
2472
- } = F(ve), {
2473
- tableRef: g,
2474
- formModalRef: _,
2475
- keyword: m,
2476
- search: i,
2450
+ requesting: V
2451
+ } = F(we), {
2452
+ tableRef: h,
2453
+ formModalRef: b,
2454
+ keyword: i,
2455
+ search: m,
2477
2456
  reset: p,
2478
- refresh: t,
2457
+ refresh: n,
2479
2458
  openFormModal: v,
2480
2459
  editFormModal: u
2481
- } = E(R);
2482
- return (c, V) => {
2483
- const b = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
2484
- return S(), T(n, {
2460
+ } = z(R);
2461
+ return (f, g) => {
2462
+ const _ = r("el-input"), A = r("el-space"), w = r("el-page-header"), t = r("el-card");
2463
+ return S(), T(t, {
2485
2464
  class: "basic-card flex-full",
2486
2465
  "body-class": "flex-1"
2487
2466
  }, {
2488
- header: o(() => [l(x, {
2467
+ header: o(() => [l(w, {
2489
2468
  class: "basic-header"
2490
2469
  }, {
2491
- title: o(() => [l(e(K), {
2492
- loading: e(h),
2470
+ title: o(() => [l(e(G), {
2471
+ loading: e(V),
2493
2472
  onRefresh: e(p)
2494
- }, null, 8, ["loading", "onRefresh"]), l(e(j), {
2473
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
2495
2474
  onOpen: e(v)
2496
2475
  }, null, 8, ["onOpen"])]),
2497
- content: o(() => [l(D, {
2476
+ content: o(() => [l(A, {
2498
2477
  class: "search-bar"
2499
2478
  }, {
2500
- default: o(() => [l(b, {
2479
+ default: o(() => [l(_, {
2501
2480
  class: "basic-search-input",
2502
- modelValue: e(m).keyword,
2503
- "onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
2481
+ modelValue: e(i).keyword,
2482
+ "onUpdate:modelValue": g[0] || (g[0] = (d) => e(i).keyword = d),
2504
2483
  placeholder: e(a)("placeholder.keyword"),
2505
2484
  clearable: "",
2506
- onKeyup: V[1] || (V[1] = he((d) => e(i)(), ["enter"])),
2507
- onClear: V[2] || (V[2] = (d) => e(i)())
2508
- }, null, 8, ["modelValue", "placeholder"]), l(e(ne), {
2509
- disabled: e(h),
2510
- onSearch: V[3] || (V[3] = (d) => e(i)())
2485
+ onKeyup: g[1] || (g[1] = Ve((d) => e(m)(), ["enter"])),
2486
+ onClear: g[2] || (g[2] = (d) => e(m)())
2487
+ }, null, 8, ["modelValue", "placeholder"]), l(e(se), {
2488
+ disabled: e(V),
2489
+ onSearch: g[3] || (g[3] = (d) => e(m)())
2511
2490
  }, null, 8, ["disabled"])]),
2512
2491
  _: 1
2513
2492
  })]),
2514
2493
  _: 1
2515
2494
  })]),
2516
- default: o(() => [l(e(ce), {
2495
+ default: o(() => [l(e(be), {
2517
2496
  ref_key: "tableRef",
2518
- ref: g,
2497
+ ref: h,
2519
2498
  size: "small",
2520
2499
  columns: k,
2521
- url: e(ve).urls[e(Ve)],
2522
- "search-param": e(m),
2500
+ url: e(we).urls[e(ye)],
2501
+ "search-param": e(i),
2523
2502
  "auto-search": ""
2524
- }, null, 8, ["url", "search-param"]), l(wl, {
2503
+ }, null, 8, ["url", "search-param"]), l(vl, {
2525
2504
  ref_key: "formModalRef",
2526
- ref: _,
2527
- onRefresh: e(t)
2505
+ ref: b,
2506
+ onRefresh: e(n)
2528
2507
  }, null, 8, ["onRefresh"])]),
2529
2508
  _: 1
2530
2509
  });
2531
2510
  };
2532
2511
  }
2533
- }), xl = {
2512
+ }), wl = {
2534
2513
  check: "check"
2535
- }, ue = Y.routineApi("site", "id", xl), be = Y.routineApi("domain"), $e = /* @__PURE__ */ O({
2514
+ }, pe = Q.routineApi("site", "id", wl), ge = Q.routineApi("domain"), Ee = /* @__PURE__ */ O({
2536
2515
  __name: "DomainSelect",
2537
2516
  props: {
2538
2517
  modelValue: {
@@ -2545,47 +2524,47 @@ const Wl = /* @__PURE__ */ O({
2545
2524
  }
2546
2525
  },
2547
2526
  emits: ["update:modelValue", "change"],
2548
- setup(w, {
2527
+ setup(x, {
2549
2528
  expose: R,
2550
2529
  emit: k
2551
2530
  }) {
2552
- const h = k, g = w, {
2553
- requesting: _
2554
- } = F(be), {
2555
- key: m,
2556
- options: i,
2531
+ const V = k, h = x, {
2532
+ requesting: b
2533
+ } = F(ge), {
2534
+ key: i,
2535
+ options: m,
2557
2536
  refresh: p,
2558
- change: t
2559
- } = te(oe(g, "modelValue"), h, {
2537
+ change: n
2538
+ } = de(re(h, "modelValue"), V, {
2560
2539
  key: "DOMAIN_LIST",
2561
- api: be,
2540
+ api: ge,
2562
2541
  isArray: !0
2563
2542
  });
2564
2543
  return R({
2565
2544
  refresh: p
2566
2545
  }), (v, u) => {
2567
- const c = s("el-select-v2");
2568
- return S(), T(c, {
2569
- modelValue: e(m),
2570
- "onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
2571
- options: e(i),
2572
- disabled: w.disabled || e(_),
2546
+ const f = r("el-select-v2");
2547
+ return S(), T(f, {
2548
+ modelValue: e(i),
2549
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => N(i) ? i.value = g : null),
2550
+ options: e(m),
2551
+ disabled: x.disabled || e(b),
2573
2552
  placeholder: e(a)("base.select config.domain"),
2574
- onChange: e(t)
2553
+ onChange: e(n)
2575
2554
  }, {
2576
- prefix: o(() => [l(e(me), {
2577
- loading: e(_),
2555
+ prefix: o(() => [l(e(fe), {
2556
+ loading: e(b),
2578
2557
  onRefresh: e(p)
2579
2558
  }, null, 8, ["loading", "onRefresh"])]),
2580
2559
  _: 1
2581
2560
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2582
2561
  };
2583
2562
  }
2584
- }), Rl = /* @__PURE__ */ O({
2563
+ }), xl = /* @__PURE__ */ O({
2585
2564
  __name: "SiteFormModal",
2586
2565
  emits: ["refresh"],
2587
- setup(w, { expose: R, emit: k }) {
2588
- const h = k, g = {
2566
+ setup(x, { expose: R, emit: k }) {
2567
+ const V = k, h = {
2589
2568
  id: 0,
2590
2569
  domain_id: 0,
2591
2570
  prefix: "",
@@ -2595,33 +2574,33 @@ const Wl = /* @__PURE__ */ O({
2595
2574
  git: "",
2596
2575
  status: 1,
2597
2576
  remark: ""
2598
- }, _ = {
2577
+ }, b = {
2599
2578
  domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
2600
2579
  prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
2601
2580
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2602
2581
  en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
2603
- }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ue);
2582
+ }, { modal: i, title: m, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = ee(V, h, pe);
2604
2583
  return R({
2605
- open: c,
2606
- modify: V
2607
- }), (x, n) => {
2608
- const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
2609
- return S(), T(e(le), {
2610
- modelValue: e(m),
2611
- "onUpdate:modelValue": n[7] || (n[7] = (f) => N(m) ? m.value = f : null),
2612
- title: e(i)("config.site"),
2584
+ open: f,
2585
+ modify: g
2586
+ }), (w, t) => {
2587
+ const d = r("el-form-item"), s = r("el-input"), y = r("el-form");
2588
+ return S(), T(e(oe), {
2589
+ modelValue: e(i),
2590
+ "onUpdate:modelValue": t[7] || (t[7] = (c) => N(i) ? i.value = c : null),
2591
+ title: e(m)("config.site"),
2613
2592
  width: "600px",
2614
2593
  executing: e(u),
2615
- onClosed: e(D),
2616
- onSubmit: e(b)
2594
+ onClosed: e(A),
2595
+ onSubmit: e(_)
2617
2596
  }, {
2618
2597
  default: o(() => [
2619
2598
  l(y, {
2620
2599
  ref_key: "form",
2621
2600
  ref: p,
2622
- model: e(t),
2601
+ model: e(n),
2623
2602
  "label-width": "auto",
2624
- rules: _,
2603
+ rules: b,
2625
2604
  disabled: e(v) || e(u)
2626
2605
  }, {
2627
2606
  default: o(() => [
@@ -2630,9 +2609,9 @@ const Wl = /* @__PURE__ */ O({
2630
2609
  label: e(a)("config.domain")
2631
2610
  }, {
2632
2611
  default: o(() => [
2633
- l($e, {
2634
- modelValue: e(t).domain_id,
2635
- "onUpdate:modelValue": n[0] || (n[0] = (f) => e(t).domain_id = f),
2612
+ l(Ee, {
2613
+ modelValue: e(n).domain_id,
2614
+ "onUpdate:modelValue": t[0] || (t[0] = (c) => e(n).domain_id = c),
2636
2615
  disabled: e(u)
2637
2616
  }, null, 8, ["modelValue", "disabled"])
2638
2617
  ]),
@@ -2643,9 +2622,9 @@ const Wl = /* @__PURE__ */ O({
2643
2622
  label: e(a)("config.prefix")
2644
2623
  }, {
2645
2624
  default: o(() => [
2646
- l(r, {
2647
- modelValue: e(t).prefix,
2648
- "onUpdate:modelValue": n[1] || (n[1] = (f) => e(t).prefix = f),
2625
+ l(s, {
2626
+ modelValue: e(n).prefix,
2627
+ "onUpdate:modelValue": t[1] || (t[1] = (c) => e(n).prefix = c),
2649
2628
  disabled: e(u),
2650
2629
  placeholder: e(a)("placeholder.input")
2651
2630
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2657,9 +2636,9 @@ const Wl = /* @__PURE__ */ O({
2657
2636
  label: e(a)("base.name")
2658
2637
  }, {
2659
2638
  default: o(() => [
2660
- l(r, {
2661
- modelValue: e(t).name,
2662
- "onUpdate:modelValue": n[2] || (n[2] = (f) => e(t).name = f),
2639
+ l(s, {
2640
+ modelValue: e(n).name,
2641
+ "onUpdate:modelValue": t[2] || (t[2] = (c) => e(n).name = c),
2663
2642
  disabled: e(u),
2664
2643
  placeholder: e(a)("placeholder.input")
2665
2644
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2671,9 +2650,9 @@ const Wl = /* @__PURE__ */ O({
2671
2650
  label: e(a)("base.en_name")
2672
2651
  }, {
2673
2652
  default: o(() => [
2674
- l(r, {
2675
- modelValue: e(t).en_name,
2676
- "onUpdate:modelValue": n[3] || (n[3] = (f) => e(t).en_name = f),
2653
+ l(s, {
2654
+ modelValue: e(n).en_name,
2655
+ "onUpdate:modelValue": t[3] || (t[3] = (c) => e(n).en_name = c),
2677
2656
  disabled: e(u),
2678
2657
  placeholder: e(a)("placeholder.input")
2679
2658
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2685,9 +2664,9 @@ const Wl = /* @__PURE__ */ O({
2685
2664
  label: e(a)("config.dns")
2686
2665
  }, {
2687
2666
  default: o(() => [
2688
- l(r, {
2689
- modelValue: e(t).dns,
2690
- "onUpdate:modelValue": n[4] || (n[4] = (f) => e(t).dns = f),
2667
+ l(s, {
2668
+ modelValue: e(n).dns,
2669
+ "onUpdate:modelValue": t[4] || (t[4] = (c) => e(n).dns = c),
2691
2670
  disabled: e(u),
2692
2671
  placeholder: e(a)("placeholder.input")
2693
2672
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2699,9 +2678,9 @@ const Wl = /* @__PURE__ */ O({
2699
2678
  label: e(a)("config.git")
2700
2679
  }, {
2701
2680
  default: o(() => [
2702
- l(r, {
2703
- modelValue: e(t).git,
2704
- "onUpdate:modelValue": n[5] || (n[5] = (f) => e(t).git = f),
2681
+ l(s, {
2682
+ modelValue: e(n).git,
2683
+ "onUpdate:modelValue": t[5] || (t[5] = (c) => e(n).git = c),
2705
2684
  disabled: e(u),
2706
2685
  placeholder: e(a)("placeholder.input")
2707
2686
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2713,9 +2692,9 @@ const Wl = /* @__PURE__ */ O({
2713
2692
  label: e(a)("base.remark")
2714
2693
  }, {
2715
2694
  default: o(() => [
2716
- l(r, {
2717
- modelValue: e(t).remark,
2718
- "onUpdate:modelValue": n[6] || (n[6] = (f) => e(t).remark = f),
2695
+ l(s, {
2696
+ modelValue: e(n).remark,
2697
+ "onUpdate:modelValue": t[6] || (t[6] = (c) => e(n).remark = c),
2719
2698
  disabled: e(u),
2720
2699
  placeholder: e(a)("placeholder.input")
2721
2700
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2730,7 +2709,7 @@ const Wl = /* @__PURE__ */ O({
2730
2709
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2731
2710
  };
2732
2711
  }
2733
- }), ge = Y.routineApi("domain_provider"), Ul = /* @__PURE__ */ O({
2712
+ }), he = Q.routineApi("domain_provider"), Rl = /* @__PURE__ */ O({
2734
2713
  __name: "DomainProviderSelect",
2735
2714
  props: {
2736
2715
  modelValue: {
@@ -2743,78 +2722,78 @@ const Wl = /* @__PURE__ */ O({
2743
2722
  }
2744
2723
  },
2745
2724
  emits: ["update:modelValue", "change"],
2746
- setup(w, {
2725
+ setup(x, {
2747
2726
  expose: R,
2748
2727
  emit: k
2749
2728
  }) {
2750
- const h = k, g = w, {
2751
- requesting: _
2752
- } = F(ge), {
2753
- key: m,
2754
- options: i,
2729
+ const V = k, h = x, {
2730
+ requesting: b
2731
+ } = F(he), {
2732
+ key: i,
2733
+ options: m,
2755
2734
  refresh: p,
2756
- change: t
2757
- } = te(oe(g, "modelValue"), h, {
2735
+ change: n
2736
+ } = de(re(h, "modelValue"), V, {
2758
2737
  key: "DOMAIN_PROVIDER_LIST",
2759
- api: ge,
2738
+ api: he,
2760
2739
  isArray: !0
2761
2740
  });
2762
2741
  return R({
2763
2742
  refresh: p
2764
2743
  }), (v, u) => {
2765
- const c = s("el-select-v2");
2766
- return S(), T(c, {
2767
- modelValue: e(m),
2768
- "onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
2769
- options: e(i),
2770
- disabled: w.disabled || e(_),
2744
+ const f = r("el-select-v2");
2745
+ return S(), T(f, {
2746
+ modelValue: e(i),
2747
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => N(i) ? i.value = g : null),
2748
+ options: e(m),
2749
+ disabled: x.disabled || e(b),
2771
2750
  placeholder: e(a)("base.select config.domain config.provider"),
2772
- onChange: e(t)
2751
+ onChange: e(n)
2773
2752
  }, {
2774
- prefix: o(() => [l(e(me), {
2775
- loading: e(_),
2753
+ prefix: o(() => [l(e(fe), {
2754
+ loading: e(b),
2776
2755
  onRefresh: e(p)
2777
2756
  }, null, 8, ["loading", "onRefresh"])]),
2778
2757
  _: 1
2779
2758
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2780
2759
  };
2781
2760
  }
2782
- }), Ml = /* @__PURE__ */ O({
2761
+ }), Ul = /* @__PURE__ */ O({
2783
2762
  __name: "DomainFormModal",
2784
2763
  emits: ["refresh"],
2785
- setup(w, { expose: R, emit: k }) {
2786
- const h = k, g = {
2764
+ setup(x, { expose: R, emit: k }) {
2765
+ const V = k, h = {
2787
2766
  id: 0,
2788
2767
  provider_id: 0,
2789
2768
  name: "",
2790
2769
  expired_at: "",
2791
2770
  status: 1,
2792
2771
  remark: ""
2793
- }, _ = {
2772
+ }, b = {
2794
2773
  provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
2795
2774
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
2796
- }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, be);
2775
+ }, { modal: i, title: m, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = ee(V, h, ge);
2797
2776
  return R({
2798
- open: c,
2799
- modify: V
2800
- }), (x, n) => {
2801
- const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), f = s("el-form");
2802
- return S(), T(e(le), {
2803
- modelValue: e(m),
2804
- "onUpdate:modelValue": n[4] || (n[4] = (C) => N(m) ? m.value = C : null),
2805
- title: e(i)("config.domain"),
2777
+ open: f,
2778
+ modify: g
2779
+ }), (w, t) => {
2780
+ const d = r("el-form-item"), s = r("el-input"), y = r("el-date-picker"), c = r("el-form");
2781
+ return S(), T(e(oe), {
2782
+ modelValue: e(i),
2783
+ "onUpdate:modelValue": t[4] || (t[4] = (L) => N(i) ? i.value = L : null),
2784
+ title: e(m)("config.domain"),
2806
2785
  width: "600px",
2807
2786
  executing: e(u),
2808
- onClosed: e(D),
2809
- onSubmit: e(b)
2787
+ onClosed: e(A),
2788
+ onSubmit: e(_)
2810
2789
  }, {
2811
2790
  default: o(() => [
2812
- l(f, {
2791
+ l(c, {
2813
2792
  ref_key: "form",
2814
2793
  ref: p,
2815
- model: e(t),
2794
+ model: e(n),
2816
2795
  "label-width": "auto",
2817
- rules: _,
2796
+ rules: b,
2818
2797
  disabled: e(v) || e(u)
2819
2798
  }, {
2820
2799
  default: o(() => [
@@ -2823,9 +2802,9 @@ const Wl = /* @__PURE__ */ O({
2823
2802
  label: e(a)("config.provider")
2824
2803
  }, {
2825
2804
  default: o(() => [
2826
- l(Ul, {
2827
- modelValue: e(t).provider_id,
2828
- "onUpdate:modelValue": n[0] || (n[0] = (C) => e(t).provider_id = C),
2805
+ l(Rl, {
2806
+ modelValue: e(n).provider_id,
2807
+ "onUpdate:modelValue": t[0] || (t[0] = (L) => e(n).provider_id = L),
2829
2808
  disabled: e(u)
2830
2809
  }, null, 8, ["modelValue", "disabled"])
2831
2810
  ]),
@@ -2836,9 +2815,9 @@ const Wl = /* @__PURE__ */ O({
2836
2815
  label: e(a)("base.name")
2837
2816
  }, {
2838
2817
  default: o(() => [
2839
- l(r, {
2840
- modelValue: e(t).name,
2841
- "onUpdate:modelValue": n[1] || (n[1] = (C) => e(t).name = C),
2818
+ l(s, {
2819
+ modelValue: e(n).name,
2820
+ "onUpdate:modelValue": t[1] || (t[1] = (L) => e(n).name = L),
2842
2821
  disabled: e(u),
2843
2822
  placeholder: e(a)("placeholder.input")
2844
2823
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2854,11 +2833,11 @@ const Wl = /* @__PURE__ */ O({
2854
2833
  l(y, {
2855
2834
  type: "date",
2856
2835
  style: { width: "100%" },
2857
- modelValue: e(t).expired_at,
2858
- "onUpdate:modelValue": n[2] || (n[2] = (C) => e(t).expired_at = C),
2836
+ modelValue: e(n).expired_at,
2837
+ "onUpdate:modelValue": t[2] || (t[2] = (L) => e(n).expired_at = L),
2859
2838
  disabled: e(u),
2860
- "value-format": e($).DATE_VALUE_FORMAT,
2861
- format: e($).DATE_FORMAT,
2839
+ "value-format": e(E).DATE_VALUE_FORMAT,
2840
+ format: e(E).DATE_FORMAT,
2862
2841
  placeholder: e(a)("placeholder.select")
2863
2842
  }, null, 8, ["modelValue", "disabled", "value-format", "format", "placeholder"])
2864
2843
  ]),
@@ -2869,9 +2848,9 @@ const Wl = /* @__PURE__ */ O({
2869
2848
  label: e(a)("base.remark")
2870
2849
  }, {
2871
2850
  default: o(() => [
2872
- l(r, {
2873
- modelValue: e(t).remark,
2874
- "onUpdate:modelValue": n[3] || (n[3] = (C) => e(t).remark = C),
2851
+ l(s, {
2852
+ modelValue: e(n).remark,
2853
+ "onUpdate:modelValue": t[3] || (t[3] = (L) => e(n).remark = L),
2875
2854
  disabled: e(u),
2876
2855
  placeholder: e(a)("placeholder.input")
2877
2856
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2888,7 +2867,7 @@ const Wl = /* @__PURE__ */ O({
2888
2867
  }
2889
2868
  }), Al = {
2890
2869
  gen: "gen"
2891
- }, ie = Y.routineApi("SSL", "id", Al), Dl = /* @__PURE__ */ O({
2870
+ }, me = Q.routineApi("SSL", "id", Al), Ml = /* @__PURE__ */ O({
2892
2871
  __name: "SiteSelect",
2893
2872
  props: {
2894
2873
  modelValue: {
@@ -2901,27 +2880,27 @@ const Wl = /* @__PURE__ */ O({
2901
2880
  }
2902
2881
  },
2903
2882
  emits: ["update:modelValue", "change"],
2904
- setup(w, {
2883
+ setup(x, {
2905
2884
  expose: R,
2906
2885
  emit: k
2907
2886
  }) {
2908
- const h = k, g = w, {
2909
- requesting: _
2910
- } = F(ue), {
2911
- key: m,
2912
- options: i,
2887
+ const V = k, h = x, {
2888
+ requesting: b
2889
+ } = F(pe), {
2890
+ key: i,
2891
+ options: m,
2913
2892
  refresh: p,
2914
- change: t
2915
- } = te(oe(g, "modelValue"), h, {
2893
+ change: n
2894
+ } = de(re(h, "modelValue"), V, {
2916
2895
  key: "SITE_LIST",
2917
- api: ue,
2896
+ api: pe,
2918
2897
  isArray: !0
2919
2898
  }, {
2920
2899
  formatOptions: (v) => v.map((u) => {
2921
- var c;
2900
+ var f;
2922
2901
  return {
2923
2902
  ...u,
2924
- label: u.prefix + "." + ((c = u.domain) == null ? void 0 : c.name),
2903
+ label: u.prefix + "." + ((f = u.domain) == null ? void 0 : f.name),
2925
2904
  value: u.id
2926
2905
  };
2927
2906
  })
@@ -2929,28 +2908,28 @@ const Wl = /* @__PURE__ */ O({
2929
2908
  return R({
2930
2909
  refresh: p
2931
2910
  }), (v, u) => {
2932
- const c = s("el-select-v2");
2933
- return S(), T(c, {
2934
- modelValue: e(m),
2935
- "onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
2936
- options: e(i),
2937
- disabled: w.disabled || e(_),
2911
+ const f = r("el-select-v2");
2912
+ return S(), T(f, {
2913
+ modelValue: e(i),
2914
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => N(i) ? i.value = g : null),
2915
+ options: e(m),
2916
+ disabled: x.disabled || e(b),
2938
2917
  placeholder: e(a)("base.select config.domain"),
2939
- onChange: e(t)
2918
+ onChange: e(n)
2940
2919
  }, {
2941
- prefix: o(() => [l(e(me), {
2942
- loading: e(_),
2920
+ prefix: o(() => [l(e(fe), {
2921
+ loading: e(b),
2943
2922
  onRefresh: e(p)
2944
2923
  }, null, 8, ["loading", "onRefresh"])]),
2945
2924
  _: 1
2946
2925
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2947
2926
  };
2948
2927
  }
2949
- }), Ee = /* @__PURE__ */ O({
2928
+ }), Fe = /* @__PURE__ */ O({
2950
2929
  __name: "SSLFormModal",
2951
2930
  emits: ["refresh"],
2952
- setup(w, { expose: R, emit: k }) {
2953
- const h = k, g = {
2931
+ setup(x, { expose: R, emit: k }) {
2932
+ const V = k, h = {
2954
2933
  id: 0,
2955
2934
  domain_id: void 0,
2956
2935
  client: "Lego",
@@ -2960,36 +2939,36 @@ const Wl = /* @__PURE__ */ O({
2960
2939
  email: "",
2961
2940
  encryption: "RSA2048",
2962
2941
  remark: ""
2963
- }, _ = {
2942
+ }, b = {
2964
2943
  domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
2965
2944
  client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
2966
2945
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2967
2946
  path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
2968
2947
  email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
2969
2948
  encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
2970
- }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ie);
2949
+ }, { modal: i, title: m, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = ee(V, h, me);
2971
2950
  return R({
2972
- open: c,
2973
- modify: V,
2974
- formData: t
2975
- }), (x, n) => {
2976
- const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), f = s("el-input"), C = s("el-form");
2977
- return S(), T(e(le), {
2978
- modelValue: e(m),
2979
- "onUpdate:modelValue": n[8] || (n[8] = (A) => N(m) ? m.value = A : null),
2980
- title: e(i)("ssl.ssl"),
2951
+ open: f,
2952
+ modify: g,
2953
+ formData: n
2954
+ }), (w, t) => {
2955
+ const d = r("el-form-item"), s = r("el-radio-button"), y = r("el-radio-group"), c = r("el-input"), L = r("el-form");
2956
+ return S(), T(e(oe), {
2957
+ modelValue: e(i),
2958
+ "onUpdate:modelValue": t[8] || (t[8] = (M) => N(i) ? i.value = M : null),
2959
+ title: e(m)("ssl.ssl"),
2981
2960
  width: "600px",
2982
2961
  executing: e(u),
2983
- onClosed: e(D),
2984
- onSubmit: e(b)
2962
+ onClosed: e(A),
2963
+ onSubmit: e(_)
2985
2964
  }, {
2986
2965
  default: o(() => [
2987
- l(C, {
2966
+ l(L, {
2988
2967
  ref_key: "form",
2989
2968
  ref: p,
2990
- model: e(t),
2969
+ model: e(n),
2991
2970
  "label-width": "auto",
2992
- rules: _,
2971
+ rules: b,
2993
2972
  disabled: e(v) || e(u)
2994
2973
  }, {
2995
2974
  default: o(() => [
@@ -2998,9 +2977,9 @@ const Wl = /* @__PURE__ */ O({
2998
2977
  label: e(a)("config.domain")
2999
2978
  }, {
3000
2979
  default: o(() => [
3001
- l($e, {
3002
- modelValue: e(t).domain_id,
3003
- "onUpdate:modelValue": n[0] || (n[0] = (A) => e(t).domain_id = A),
2980
+ l(Ee, {
2981
+ modelValue: e(n).domain_id,
2982
+ "onUpdate:modelValue": t[0] || (t[0] = (M) => e(n).domain_id = M),
3004
2983
  disabled: e(u)
3005
2984
  }, null, 8, ["modelValue", "disabled"])
3006
2985
  ]),
@@ -3012,11 +2991,11 @@ const Wl = /* @__PURE__ */ O({
3012
2991
  }, {
3013
2992
  default: o(() => [
3014
2993
  l(y, {
3015
- modelValue: e(t).client,
3016
- "onUpdate:modelValue": n[1] || (n[1] = (A) => e(t).client = A)
2994
+ modelValue: e(n).client,
2995
+ "onUpdate:modelValue": t[1] || (t[1] = (M) => e(n).client = M)
3017
2996
  }, {
3018
2997
  default: o(() => [
3019
- l(r, {
2998
+ l(s, {
3020
2999
  label: "Lego",
3021
3000
  value: "Lego"
3022
3001
  })
@@ -3031,9 +3010,9 @@ const Wl = /* @__PURE__ */ O({
3031
3010
  label: e(a)("config.site")
3032
3011
  }, {
3033
3012
  default: o(() => [
3034
- l(Dl, {
3035
- modelValue: e(t).site_id,
3036
- "onUpdate:modelValue": n[2] || (n[2] = (A) => e(t).site_id = A),
3013
+ l(Ml, {
3014
+ modelValue: e(n).site_id,
3015
+ "onUpdate:modelValue": t[2] || (t[2] = (M) => e(n).site_id = M),
3037
3016
  disabled: e(u)
3038
3017
  }, null, 8, ["modelValue", "disabled"])
3039
3018
  ]),
@@ -3044,9 +3023,9 @@ const Wl = /* @__PURE__ */ O({
3044
3023
  label: e(a)("base.name")
3045
3024
  }, {
3046
3025
  default: o(() => [
3047
- l(f, {
3048
- modelValue: e(t).name,
3049
- "onUpdate:modelValue": n[3] || (n[3] = (A) => e(t).name = A),
3026
+ l(c, {
3027
+ modelValue: e(n).name,
3028
+ "onUpdate:modelValue": t[3] || (t[3] = (M) => e(n).name = M),
3050
3029
  disabled: e(u),
3051
3030
  placeholder: e(a)("placeholder.input")
3052
3031
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3058,9 +3037,9 @@ const Wl = /* @__PURE__ */ O({
3058
3037
  label: e(a)("base.path")
3059
3038
  }, {
3060
3039
  default: o(() => [
3061
- l(f, {
3062
- modelValue: e(t).path,
3063
- "onUpdate:modelValue": n[4] || (n[4] = (A) => e(t).path = A),
3040
+ l(c, {
3041
+ modelValue: e(n).path,
3042
+ "onUpdate:modelValue": t[4] || (t[4] = (M) => e(n).path = M),
3064
3043
  disabled: e(u),
3065
3044
  placeholder: e(a)("placeholder.input")
3066
3045
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3072,9 +3051,9 @@ const Wl = /* @__PURE__ */ O({
3072
3051
  label: e(a)("base.email")
3073
3052
  }, {
3074
3053
  default: o(() => [
3075
- l(f, {
3076
- modelValue: e(t).email,
3077
- "onUpdate:modelValue": n[5] || (n[5] = (A) => e(t).email = A),
3054
+ l(c, {
3055
+ modelValue: e(n).email,
3056
+ "onUpdate:modelValue": t[5] || (t[5] = (M) => e(n).email = M),
3078
3057
  disabled: e(u),
3079
3058
  placeholder: e(a)("placeholder.input")
3080
3059
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3087,11 +3066,11 @@ const Wl = /* @__PURE__ */ O({
3087
3066
  }, {
3088
3067
  default: o(() => [
3089
3068
  l(y, {
3090
- modelValue: e(t).encryption,
3091
- "onUpdate:modelValue": n[6] || (n[6] = (A) => e(t).encryption = A)
3069
+ modelValue: e(n).encryption,
3070
+ "onUpdate:modelValue": t[6] || (t[6] = (M) => e(n).encryption = M)
3092
3071
  }, {
3093
3072
  default: o(() => [
3094
- l(r, {
3073
+ l(s, {
3095
3074
  label: "RSA2048",
3096
3075
  value: "RSA2048"
3097
3076
  })
@@ -3106,9 +3085,9 @@ const Wl = /* @__PURE__ */ O({
3106
3085
  label: e(a)("base.remark")
3107
3086
  }, {
3108
3087
  default: o(() => [
3109
- l(f, {
3110
- modelValue: e(t).remark,
3111
- "onUpdate:modelValue": n[7] || (n[7] = (A) => e(t).remark = A),
3088
+ l(c, {
3089
+ modelValue: e(n).remark,
3090
+ "onUpdate:modelValue": t[7] || (t[7] = (M) => e(n).remark = M),
3112
3091
  disabled: e(u),
3113
3092
  placeholder: e(a)("placeholder.input")
3114
3093
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3123,11 +3102,11 @@ const Wl = /* @__PURE__ */ O({
3123
3102
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
3124
3103
  };
3125
3104
  }
3126
- }), Sl = /* @__PURE__ */ O({
3105
+ }), Dl = /* @__PURE__ */ O({
3127
3106
  __name: "DomainProviderFormModal",
3128
3107
  emits: ["refresh"],
3129
- setup(w, { expose: R, emit: k }) {
3130
- const h = k, g = {
3108
+ setup(x, { expose: R, emit: k }) {
3109
+ const V = k, h = {
3131
3110
  id: 0,
3132
3111
  name: "",
3133
3112
  en_name: "",
@@ -3136,115 +3115,115 @@ const Wl = /* @__PURE__ */ O({
3136
3115
  end_point: "",
3137
3116
  status: 1,
3138
3117
  remark: ""
3139
- }, _ = {
3118
+ }, b = {
3140
3119
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
3141
3120
  en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
3142
3121
  key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
3143
3122
  secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
3144
3123
  end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
3145
- }, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ge);
3124
+ }, { modal: i, title: m, form: p, formData: n, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = ee(V, h, he);
3146
3125
  return R({
3147
- open: c,
3148
- modify: V
3149
- }), (x, n) => {
3150
- const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
3151
- return S(), T(e(le), {
3152
- modelValue: e(m),
3153
- "onUpdate:modelValue": n[6] || (n[6] = (f) => N(m) ? m.value = f : null),
3154
- title: e(i)("config.domain"),
3126
+ open: f,
3127
+ modify: g
3128
+ }), (w, t) => {
3129
+ const d = r("el-input"), s = r("el-form-item"), y = r("el-form");
3130
+ return S(), T(e(oe), {
3131
+ modelValue: e(i),
3132
+ "onUpdate:modelValue": t[6] || (t[6] = (c) => N(i) ? i.value = c : null),
3133
+ title: e(m)("config.domain"),
3155
3134
  width: "600px",
3156
3135
  executing: e(u),
3157
- onClosed: e(D),
3158
- onSubmit: e(b)
3136
+ onClosed: e(A),
3137
+ onSubmit: e(_)
3159
3138
  }, {
3160
3139
  default: o(() => [
3161
3140
  l(y, {
3162
3141
  ref_key: "form",
3163
3142
  ref: p,
3164
- model: e(t),
3143
+ model: e(n),
3165
3144
  "label-width": "auto",
3166
- rules: _,
3145
+ rules: b,
3167
3146
  disabled: e(v) || e(u)
3168
3147
  }, {
3169
3148
  default: o(() => [
3170
- l(r, {
3149
+ l(s, {
3171
3150
  prop: "name",
3172
3151
  label: e(a)("base.name")
3173
3152
  }, {
3174
3153
  default: o(() => [
3175
3154
  l(d, {
3176
- modelValue: e(t).name,
3177
- "onUpdate:modelValue": n[0] || (n[0] = (f) => e(t).name = f),
3155
+ modelValue: e(n).name,
3156
+ "onUpdate:modelValue": t[0] || (t[0] = (c) => e(n).name = c),
3178
3157
  disabled: e(u),
3179
3158
  placeholder: e(a)("placeholder.input")
3180
3159
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3181
3160
  ]),
3182
3161
  _: 1
3183
3162
  }, 8, ["label"]),
3184
- l(r, {
3163
+ l(s, {
3185
3164
  prop: "en_name",
3186
3165
  label: e(a)("base.en_name")
3187
3166
  }, {
3188
3167
  default: o(() => [
3189
3168
  l(d, {
3190
- modelValue: e(t).en_name,
3191
- "onUpdate:modelValue": n[1] || (n[1] = (f) => e(t).en_name = f),
3169
+ modelValue: e(n).en_name,
3170
+ "onUpdate:modelValue": t[1] || (t[1] = (c) => e(n).en_name = c),
3192
3171
  disabled: e(u),
3193
3172
  placeholder: e(a)("placeholder.input")
3194
3173
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3195
3174
  ]),
3196
3175
  _: 1
3197
3176
  }, 8, ["label"]),
3198
- l(r, {
3177
+ l(s, {
3199
3178
  prop: "key",
3200
3179
  label: e(a)("base.key")
3201
3180
  }, {
3202
3181
  default: o(() => [
3203
3182
  l(d, {
3204
- modelValue: e(t).key,
3205
- "onUpdate:modelValue": n[2] || (n[2] = (f) => e(t).key = f),
3183
+ modelValue: e(n).key,
3184
+ "onUpdate:modelValue": t[2] || (t[2] = (c) => e(n).key = c),
3206
3185
  disabled: e(u),
3207
3186
  placeholder: e(a)("placeholder.input")
3208
3187
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3209
3188
  ]),
3210
3189
  _: 1
3211
3190
  }, 8, ["label"]),
3212
- l(r, {
3191
+ l(s, {
3213
3192
  prop: "secret",
3214
3193
  label: e(a)("config.secret")
3215
3194
  }, {
3216
3195
  default: o(() => [
3217
3196
  l(d, {
3218
- modelValue: e(t).secret,
3219
- "onUpdate:modelValue": n[3] || (n[3] = (f) => e(t).secret = f),
3197
+ modelValue: e(n).secret,
3198
+ "onUpdate:modelValue": t[3] || (t[3] = (c) => e(n).secret = c),
3220
3199
  disabled: e(u),
3221
3200
  placeholder: e(a)("placeholder.input")
3222
3201
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3223
3202
  ]),
3224
3203
  _: 1
3225
3204
  }, 8, ["label"]),
3226
- l(r, {
3205
+ l(s, {
3227
3206
  prop: "end_point",
3228
3207
  label: e(a)("config.end_point")
3229
3208
  }, {
3230
3209
  default: o(() => [
3231
3210
  l(d, {
3232
- modelValue: e(t).end_point,
3233
- "onUpdate:modelValue": n[4] || (n[4] = (f) => e(t).end_point = f),
3211
+ modelValue: e(n).end_point,
3212
+ "onUpdate:modelValue": t[4] || (t[4] = (c) => e(n).end_point = c),
3234
3213
  disabled: e(u),
3235
3214
  placeholder: e(a)("placeholder.input")
3236
3215
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3237
3216
  ]),
3238
3217
  _: 1
3239
3218
  }, 8, ["label"]),
3240
- l(r, {
3219
+ l(s, {
3241
3220
  prop: "remark",
3242
3221
  label: e(a)("base.remark")
3243
3222
  }, {
3244
3223
  default: o(() => [
3245
3224
  l(d, {
3246
- modelValue: e(t).remark,
3247
- "onUpdate:modelValue": n[5] || (n[5] = (f) => e(t).remark = f),
3225
+ modelValue: e(n).remark,
3226
+ "onUpdate:modelValue": t[5] || (t[5] = (c) => e(n).remark = c),
3248
3227
  disabled: e(u),
3249
3228
  placeholder: e(a)("placeholder.input")
3250
3229
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -3259,20 +3238,20 @@ const Wl = /* @__PURE__ */ O({
3259
3238
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
3260
3239
  };
3261
3240
  }
3262
- }), Cl = /* @__PURE__ */ O({
3241
+ }), Sl = /* @__PURE__ */ O({
3263
3242
  __name: "DomainProviderTableDrawer",
3264
- setup(w, {
3243
+ setup(x, {
3265
3244
  expose: R
3266
3245
  }) {
3267
3246
  const {
3268
3247
  requesting: k
3269
- } = F(ge), h = B(!1), {
3270
- tableRef: g,
3271
- formModalRef: _,
3272
- refresh: m,
3273
- openFormModal: i,
3248
+ } = F(he), V = P(!1), {
3249
+ tableRef: h,
3250
+ formModalRef: b,
3251
+ refresh: i,
3252
+ openFormModal: m,
3274
3253
  editFormModal: p
3275
- } = E({}), t = [{
3254
+ } = z({}), n = [{
3276
3255
  prop: "name",
3277
3256
  label: a("base.name"),
3278
3257
  width: 0,
@@ -3288,8 +3267,8 @@ const Wl = /* @__PURE__ */ O({
3288
3267
  align: "center",
3289
3268
  render: ({
3290
3269
  rowData: u
3291
- }) => l(s("el-space"), null, {
3292
- default: () => [l(ae, {
3270
+ }) => l(r("el-space"), null, {
3271
+ default: () => [l(ne, {
3293
3272
  icon: "icon-edit",
3294
3273
  t: "",
3295
3274
  onModify: () => p({
@@ -3300,78 +3279,78 @@ const Wl = /* @__PURE__ */ O({
3300
3279
  }];
3301
3280
  return R({
3302
3281
  open: () => {
3303
- h.value = !0;
3282
+ V.value = !0;
3304
3283
  }
3305
- }), (u, c) => {
3306
- const V = s("el-page-header");
3307
- return S(), T(e(fe), {
3308
- modelValue: h.value,
3309
- "onUpdate:modelValue": c[0] || (c[0] = (b) => h.value = b),
3284
+ }), (u, f) => {
3285
+ const g = r("el-page-header");
3286
+ return S(), T(e(_e), {
3287
+ modelValue: V.value,
3288
+ "onUpdate:modelValue": f[0] || (f[0] = (_) => V.value = _),
3310
3289
  width: "400px",
3311
3290
  "show-close": !1,
3312
3291
  class: "basic-drawer"
3313
3292
  }, {
3314
- title: o(() => [l(V, {
3293
+ title: o(() => [l(g, {
3315
3294
  icon: ""
3316
3295
  }, {
3317
- title: o(() => [P("span", null, z(e(a)("config.domain config.provider")), 1)]),
3318
- content: o(() => [l(e(K), {
3319
- onRefresh: e(m),
3296
+ title: o(() => [W("span", null, I(e(a)("config.domain config.provider")), 1)]),
3297
+ content: o(() => [l(e(G), {
3298
+ onRefresh: e(i),
3320
3299
  size: "default",
3321
3300
  loading: e(k)
3322
3301
  }, null, 8, ["onRefresh", "loading"])]),
3323
- extra: o(() => [l(e(j), {
3324
- onOpen: e(i)
3302
+ extra: o(() => [l(e(K), {
3303
+ onOpen: e(m)
3325
3304
  }, null, 8, ["onOpen"])]),
3326
3305
  _: 1
3327
3306
  })]),
3328
- default: o(() => [l(e(de), {
3307
+ default: o(() => [l(e(ie), {
3329
3308
  ref_key: "tableRef",
3330
- ref: g,
3309
+ ref: h,
3331
3310
  size: "small",
3332
3311
  "row-key": "id",
3333
- url: e(ge).urls.list,
3334
- columns: t,
3312
+ url: e(he).urls.list,
3313
+ columns: n,
3335
3314
  loading: e(k)
3336
- }, null, 8, ["url", "loading"]), l(Sl, {
3315
+ }, null, 8, ["url", "loading"]), l(Dl, {
3337
3316
  ref_key: "formModalRef",
3338
- ref: _,
3339
- onRefresh: e(m)
3317
+ ref: b,
3318
+ onRefresh: e(i)
3340
3319
  }, null, 8, ["onRefresh"])]),
3341
3320
  _: 1
3342
3321
  }, 8, ["modelValue"]);
3343
3322
  };
3344
3323
  }
3345
- }), Ll = /* @__PURE__ */ O({
3324
+ }), Cl = /* @__PURE__ */ O({
3346
3325
  __name: "DomainTableDrawer",
3347
- setup(w, {
3326
+ setup(x, {
3348
3327
  expose: R
3349
3328
  }) {
3350
3329
  const {
3351
3330
  requesting: k
3352
- } = F(be), h = B(!1), {
3353
- tableRef: g,
3354
- formModalRef: _,
3355
- refresh: m,
3356
- openFormModal: i,
3331
+ } = F(ge), V = P(!1), {
3332
+ tableRef: h,
3333
+ formModalRef: b,
3334
+ refresh: i,
3335
+ openFormModal: m,
3357
3336
  editFormModal: p
3358
- } = E(), {
3359
- formModalRef: t,
3337
+ } = z(), {
3338
+ formModalRef: n,
3360
3339
  openFormModal: v,
3361
3340
  editFormModal: u
3362
- } = E(), {
3363
- formModalRef: c,
3364
- openFormModal: V
3365
- } = E(), b = [{
3341
+ } = z(), {
3342
+ formModalRef: f,
3343
+ openFormModal: g
3344
+ } = z(), _ = [{
3366
3345
  prop: "provider",
3367
3346
  label: a("config.domain config.provider"),
3368
3347
  width: 120,
3369
3348
  cellRenderer: ({
3370
- rowData: x
3371
- }) => l(s("el-text"), null, {
3349
+ rowData: w
3350
+ }) => l(r("el-text"), null, {
3372
3351
  default: () => {
3373
- var n;
3374
- return [(n = x.provider) == null ? void 0 : n.name];
3352
+ var t;
3353
+ return [(t = w.provider) == null ? void 0 : t.name];
3375
3354
  }
3376
3355
  })
3377
3356
  }, {
@@ -3389,103 +3368,103 @@ const Wl = /* @__PURE__ */ O({
3389
3368
  width: 100,
3390
3369
  align: "center",
3391
3370
  render: ({
3392
- rowData: x
3393
- }) => l(s("el-space"), null, {
3394
- default: () => [l(ae, {
3371
+ rowData: w
3372
+ }) => l(r("el-space"), null, {
3373
+ default: () => [l(ne, {
3395
3374
  icon: "icon-edit",
3396
3375
  t: "",
3397
3376
  onModify: () => p({
3398
- id: x.id
3377
+ id: w.id
3399
3378
  })
3400
- }, null), l(j, {
3379
+ }, null), l(K, {
3401
3380
  icon: "icon-safetycertificate-f",
3402
3381
  type: "primary",
3403
3382
  size: "small",
3404
3383
  link: !0,
3405
3384
  onOpen: () => {
3406
- var n;
3407
- x.ssl && x.ssl.id ? u({
3408
- id: (n = x.ssl) == null ? void 0 : n.id
3409
- }) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0, v());
3385
+ var t;
3386
+ w.ssl && w.ssl.id ? u({
3387
+ id: (t = w.ssl) == null ? void 0 : t.id
3388
+ }) : (n.value.formData.domain_id = w.id, n.value.formData.site_id = 0, v());
3410
3389
  }
3411
3390
  }, null)]
3412
3391
  })
3413
3392
  }];
3414
3393
  return R({
3415
3394
  open: () => {
3416
- h.value = !0;
3395
+ V.value = !0;
3417
3396
  }
3418
- }), (x, n) => {
3419
- const d = s("el-space"), r = s("el-page-header");
3420
- return S(), T(e(fe), {
3421
- modelValue: h.value,
3422
- "onUpdate:modelValue": n[0] || (n[0] = (y) => h.value = y),
3397
+ }), (w, t) => {
3398
+ const d = r("el-space"), s = r("el-page-header");
3399
+ return S(), T(e(_e), {
3400
+ modelValue: V.value,
3401
+ "onUpdate:modelValue": t[0] || (t[0] = (y) => V.value = y),
3423
3402
  width: "600px",
3424
3403
  "show-close": !1,
3425
3404
  class: "basic-drawer"
3426
3405
  }, {
3427
- title: o(() => [l(r, {
3406
+ title: o(() => [l(s, {
3428
3407
  icon: ""
3429
3408
  }, {
3430
- title: o(() => [P("span", null, z(e(a)("config.domain")), 1)]),
3431
- content: o(() => [l(e(K), {
3432
- onRefresh: e(m),
3409
+ title: o(() => [W("span", null, I(e(a)("config.domain")), 1)]),
3410
+ content: o(() => [l(e(G), {
3411
+ onRefresh: e(i),
3433
3412
  size: "default",
3434
3413
  loading: e(k)
3435
- }, null, 8, ["onRefresh", "loading"]), l(e(j), {
3436
- onOpen: e(i)
3414
+ }, null, 8, ["onRefresh", "loading"]), l(e(K), {
3415
+ onOpen: e(m)
3437
3416
  }, null, 8, ["onOpen"])]),
3438
3417
  extra: o(() => [l(d, {
3439
3418
  class: "w-full extra-tool",
3440
3419
  alignment: "center"
3441
3420
  }, {
3442
- default: o(() => [l(e(j), {
3443
- onOpen: e(V),
3421
+ default: o(() => [l(e(K), {
3422
+ onOpen: e(g),
3444
3423
  type: "danger"
3445
3424
  }, null, 8, ["onOpen"])]),
3446
3425
  _: 1
3447
3426
  })]),
3448
3427
  _: 1
3449
3428
  })]),
3450
- default: o(() => [l(e(de), {
3429
+ default: o(() => [l(e(ie), {
3451
3430
  ref_key: "tableRef",
3452
- ref: g,
3431
+ ref: h,
3453
3432
  size: "small",
3454
3433
  "row-key": "id",
3455
- url: e(be).urls.list,
3456
- columns: b,
3434
+ url: e(ge).urls.list,
3435
+ columns: _,
3457
3436
  loading: e(k)
3458
- }, null, 8, ["url", "loading"]), l(Ml, {
3437
+ }, null, 8, ["url", "loading"]), l(Ul, {
3459
3438
  ref_key: "formModalRef",
3460
- ref: _,
3461
- onRefresh: e(m)
3462
- }, null, 8, ["onRefresh"]), l(Ee, {
3439
+ ref: b,
3440
+ onRefresh: e(i)
3441
+ }, null, 8, ["onRefresh"]), l(Fe, {
3463
3442
  ref_key: "sslFormModalRef",
3464
- ref: t,
3465
- onRefresh: e(m)
3466
- }, null, 8, ["onRefresh"]), l(Cl, {
3443
+ ref: n,
3444
+ onRefresh: e(i)
3445
+ }, null, 8, ["onRefresh"]), l(Sl, {
3467
3446
  ref_key: "providerTableDrawerRef",
3468
- ref: c
3447
+ ref: f
3469
3448
  }, null, 512)]),
3470
3449
  _: 1
3471
3450
  }, 8, ["modelValue"]);
3472
3451
  };
3473
3452
  }
3474
- }), ql = /* @__PURE__ */ O({
3453
+ }), Ll = /* @__PURE__ */ O({
3475
3454
  __name: "SSLTableDrawer",
3476
- setup(w, {
3455
+ setup(x, {
3477
3456
  expose: R
3478
3457
  }) {
3479
3458
  const {
3480
3459
  requesting: k,
3481
- executing: h
3482
- } = F(ie), g = B(0), _ = B(!1), {
3483
- tableRef: m,
3484
- formModalRef: i,
3460
+ executing: V
3461
+ } = F(me), h = P(0), b = P(!1), {
3462
+ tableRef: i,
3463
+ formModalRef: m,
3485
3464
  refresh: p,
3486
- openFormModal: t,
3465
+ openFormModal: n,
3487
3466
  editFormModal: v
3488
- } = E(), u = [
3467
+ } = z(), u = [
3489
3468
  {
3490
3469
  prop: "client",
3491
3470
  label: a("ssl.client"),
@@ -3524,93 +3503,93 @@ const Wl = /* @__PURE__ */ O({
3524
3503
  width: 160,
3525
3504
  align: "center",
3526
3505
  render: ({
3527
- rowData: D
3528
- }) => l(s("el-space"), null, {
3529
- default: () => [l(ae, {
3506
+ rowData: A
3507
+ }) => l(r("el-space"), null, {
3508
+ default: () => [l(ne, {
3530
3509
  size: "default",
3531
3510
  icon: "icon-edit",
3532
3511
  t: "",
3533
- disabled: h.value,
3512
+ disabled: V.value,
3534
3513
  onModify: () => v({
3535
- id: D.id
3514
+ id: A.id
3536
3515
  })
3537
- }, null), l(Q, {
3516
+ }, null), l(X, {
3538
3517
  size: "default",
3539
3518
  icon: "icon-key",
3540
3519
  t: "",
3541
3520
  text: !0,
3542
- disabled: h.value && g.value !== D.id,
3543
- loading: g.value == D.id,
3544
- onClick: () => V(D.id)
3545
- }, null), l(Q, {
3521
+ disabled: V.value && h.value !== A.id,
3522
+ loading: h.value == A.id,
3523
+ onClick: () => g(A.id)
3524
+ }, null), l(X, {
3546
3525
  size: "default",
3547
3526
  icon: "icon-cloud-download",
3548
3527
  t: "",
3549
3528
  text: !0,
3550
- disabled: h.value && g.value !== D.id,
3551
- loading: g.value == D.id,
3552
- onClick: () => b(D)
3529
+ disabled: V.value && h.value !== A.id,
3530
+ loading: h.value == A.id,
3531
+ onClick: () => _(A)
3553
3532
  }, null)]
3554
3533
  })
3555
3534
  }
3556
- ], c = () => {
3557
- _.value = !0;
3558
- }, V = (D) => {
3559
- ie.gen({
3560
- id: D
3561
- }).then((x) => {
3562
- console.warn("Res:", x);
3535
+ ], f = () => {
3536
+ b.value = !0;
3537
+ }, g = (A) => {
3538
+ me.gen({
3539
+ id: A
3540
+ }).then((w) => {
3541
+ console.warn("Res:", w);
3563
3542
  });
3564
3543
  };
3565
- function b(D) {
3566
- const x = Ce.getDownloadUrl(D.path + ".zip");
3567
- fetch(x).then((n) => n.blob()).then((n) => {
3568
- let d = URL.createObjectURL(n), r = document.createElement("a");
3569
- r.style.display = "none", r.href = d, r.download = D.name + ".zip", r.click(), URL.revokeObjectURL(n);
3544
+ function _(A) {
3545
+ const w = Le.getDownloadUrl(A.path + ".zip");
3546
+ fetch(w).then((t) => t.blob()).then((t) => {
3547
+ let d = URL.createObjectURL(t), s = document.createElement("a");
3548
+ s.style.display = "none", s.href = d, s.download = A.name + ".zip", s.click(), URL.revokeObjectURL(t);
3570
3549
  });
3571
3550
  }
3572
3551
  return R({
3573
- open: c
3574
- }), (D, x) => {
3575
- const n = s("el-page-header");
3576
- return S(), T(e(fe), {
3577
- modelValue: _.value,
3578
- "onUpdate:modelValue": x[0] || (x[0] = (d) => _.value = d),
3552
+ open: f
3553
+ }), (A, w) => {
3554
+ const t = r("el-page-header");
3555
+ return S(), T(e(_e), {
3556
+ modelValue: b.value,
3557
+ "onUpdate:modelValue": w[0] || (w[0] = (d) => b.value = d),
3579
3558
  width: "1000px",
3580
3559
  "show-close": !1,
3581
3560
  class: "basic-drawer"
3582
3561
  }, {
3583
- title: o(() => [l(n, {
3562
+ title: o(() => [l(t, {
3584
3563
  icon: ""
3585
3564
  }, {
3586
- title: o(() => [P("span", null, z(e(a)("ssl.ssl")), 1)]),
3587
- content: o(() => [l(e(K), {
3565
+ title: o(() => [W("span", null, I(e(a)("ssl.ssl")), 1)]),
3566
+ content: o(() => [l(e(G), {
3588
3567
  onRefresh: e(p),
3589
3568
  size: "default",
3590
3569
  loading: e(k)
3591
- }, null, 8, ["onRefresh", "loading"]), l(e(j), {
3592
- onOpen: e(t)
3570
+ }, null, 8, ["onRefresh", "loading"]), l(e(K), {
3571
+ onOpen: e(n)
3593
3572
  }, null, 8, ["onOpen"])]),
3594
3573
  _: 1
3595
3574
  })]),
3596
- default: o(() => [l(e(de), {
3575
+ default: o(() => [l(e(ie), {
3597
3576
  ref_key: "tableRef",
3598
- ref: m,
3577
+ ref: i,
3599
3578
  size: "default",
3600
3579
  "row-key": "id",
3601
- url: e(ie).urls.list,
3580
+ url: e(me).urls.list,
3602
3581
  columns: u,
3603
3582
  loading: e(k)
3604
- }, null, 8, ["url", "loading"]), l(Ee, {
3583
+ }, null, 8, ["url", "loading"]), l(Fe, {
3605
3584
  ref_key: "formModalRef",
3606
- ref: i,
3585
+ ref: m,
3607
3586
  onRefresh: e(p)
3608
3587
  }, null, 8, ["onRefresh"])]),
3609
3588
  _: 1
3610
3589
  }, 8, ["modelValue"]);
3611
3590
  };
3612
3591
  }
3613
- }), De = Y.routineApi("SSLLog", "id"), Tl = /* @__PURE__ */ O({
3592
+ }), De = Q.routineApi("SSLLog", "id"), ql = /* @__PURE__ */ O({
3614
3593
  __name: "SSLLogTableDrawer",
3615
3594
  props: {
3616
3595
  ssl: {
@@ -3618,17 +3597,17 @@ const Wl = /* @__PURE__ */ O({
3618
3597
  default: () => ({})
3619
3598
  }
3620
3599
  },
3621
- setup(w, {
3600
+ setup(x, {
3622
3601
  expose: R
3623
3602
  }) {
3624
- const k = w, {
3625
- requesting: h,
3626
- executing: g
3627
- } = F([De, ie]), _ = B(!1), {
3628
- tableRef: m,
3629
- refresh: i
3630
- } = E(), p = [{
3631
- prop: "status_text",
3603
+ const k = x, {
3604
+ requesting: V,
3605
+ executing: h
3606
+ } = F([De, me]), b = P(!1), {
3607
+ tableRef: i,
3608
+ refresh: m
3609
+ } = z(), p = [{
3610
+ prop: "status.label",
3632
3611
  label: a("base.status"),
3633
3612
  width: 100
3634
3613
  }, {
@@ -3643,96 +3622,96 @@ const Wl = /* @__PURE__ */ O({
3643
3622
  prop: "result",
3644
3623
  label: a("base.result"),
3645
3624
  width: 0
3646
- }], t = () => {
3647
- _.value = !0;
3625
+ }], n = () => {
3626
+ b.value = !0;
3648
3627
  };
3649
3628
  function v() {
3650
- ie.gen({
3629
+ me.gen({
3651
3630
  id: k.ssl.id
3652
- }).then((c) => {
3653
- console.warn("Res:", c);
3631
+ }).then((f) => {
3632
+ console.warn("Res:", f);
3654
3633
  });
3655
3634
  }
3656
3635
  function u() {
3657
- const c = Ce.getDownloadUrl(k.ssl.path + ".zip");
3658
- fetch(c).then((V) => V.blob()).then((V) => {
3659
- let b = URL.createObjectURL(V), D = document.createElement("a");
3660
- D.style.display = "none", D.href = b, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(V);
3636
+ const f = Le.getDownloadUrl(k.ssl.path + ".zip");
3637
+ fetch(f).then((g) => g.blob()).then((g) => {
3638
+ let _ = URL.createObjectURL(g), A = document.createElement("a");
3639
+ A.style.display = "none", A.href = _, A.download = k.ssl.name + ".zip", A.click(), URL.revokeObjectURL(g);
3661
3640
  });
3662
3641
  }
3663
3642
  return R({
3664
- open: t
3665
- }), (c, V) => {
3666
- const b = s("el-page-header");
3667
- return S(), T(e(fe), {
3668
- modelValue: _.value,
3669
- "onUpdate:modelValue": V[0] || (V[0] = (D) => _.value = D),
3643
+ open: n
3644
+ }), (f, g) => {
3645
+ const _ = r("el-page-header");
3646
+ return S(), T(e(_e), {
3647
+ modelValue: b.value,
3648
+ "onUpdate:modelValue": g[0] || (g[0] = (A) => b.value = A),
3670
3649
  width: "600px",
3671
3650
  "show-close": !1,
3672
3651
  class: "basic-drawer"
3673
3652
  }, {
3674
- title: o(() => [l(b, {
3653
+ title: o(() => [l(_, {
3675
3654
  icon: ""
3676
3655
  }, {
3677
- title: o(() => [P("span", null, z(e(a)("config.ssl base.log")), 1)]),
3678
- content: o(() => [l(e(K), {
3679
- onRefresh: e(i),
3656
+ title: o(() => [W("span", null, I(e(a)("config.ssl base.log")), 1)]),
3657
+ content: o(() => [l(e(G), {
3658
+ onRefresh: e(m),
3680
3659
  size: "default",
3681
- loading: e(h)
3660
+ loading: e(V)
3682
3661
  }, null, 8, ["onRefresh", "loading"])]),
3683
- extra: o(() => [l(e(Q), {
3662
+ extra: o(() => [l(e(X), {
3684
3663
  size: "default",
3685
3664
  type: "danger",
3686
3665
  icon: "icon-key",
3687
- disabled: e(g),
3688
- loading: e(g),
3666
+ disabled: e(h),
3667
+ loading: e(h),
3689
3668
  onClick: v
3690
- }, null, 8, ["disabled", "loading"]), l(e(Q), {
3669
+ }, null, 8, ["disabled", "loading"]), l(e(X), {
3691
3670
  size: "default",
3692
3671
  type: "primary",
3693
3672
  icon: "icon-cloud-download",
3694
- disabled: e(g),
3695
- loading: e(g),
3673
+ disabled: e(h),
3674
+ loading: e(h),
3696
3675
  onClick: u
3697
3676
  }, null, 8, ["disabled", "loading"])]),
3698
3677
  _: 1
3699
3678
  })]),
3700
- default: o(() => [l(e(ce), {
3679
+ default: o(() => [l(e(be), {
3701
3680
  ref_key: "tableRef",
3702
- ref: m,
3681
+ ref: i,
3703
3682
  size: "small",
3704
3683
  "row-key": "id",
3705
3684
  url: e(De).urls.search,
3706
3685
  columns: p,
3707
- loading: e(h)
3686
+ loading: e(V)
3708
3687
  }, null, 8, ["url", "loading"])]),
3709
3688
  _: 1
3710
3689
  }, 8, ["modelValue"]);
3711
3690
  };
3712
3691
  }
3713
- }), Ol = /* @__PURE__ */ O({
3692
+ }), Tl = /* @__PURE__ */ O({
3714
3693
  __name: "index",
3715
- setup(w) {
3716
- const R = B(), {
3694
+ setup(x) {
3695
+ const R = P(), {
3717
3696
  requesting: k,
3718
- executing: h
3719
- } = F(ue), {
3720
- tableRef: g,
3721
- formModalRef: _,
3722
- reset: m,
3723
- refresh: i,
3697
+ executing: V
3698
+ } = F(pe), {
3699
+ tableRef: h,
3700
+ formModalRef: b,
3701
+ reset: i,
3702
+ refresh: m,
3724
3703
  openFormModal: p,
3725
- editFormModal: t
3726
- } = E(), {
3704
+ editFormModal: n
3705
+ } = z(), {
3727
3706
  formModalRef: v,
3728
3707
  openFormModal: u
3729
- } = E(), {
3730
- formModalRef: c,
3731
- openFormModal: V
3732
- } = E(), {
3733
- formModalRef: b,
3734
- openFormModal: D
3735
- } = E(), x = [{
3708
+ } = z(), {
3709
+ formModalRef: f,
3710
+ openFormModal: g
3711
+ } = z(), {
3712
+ formModalRef: _,
3713
+ openFormModal: A
3714
+ } = z(), w = [{
3736
3715
  prop: "domain.name",
3737
3716
  label: a("config.domain"),
3738
3717
  width: 129,
@@ -3757,19 +3736,19 @@ const Wl = /* @__PURE__ */ O({
3757
3736
  align: "center",
3758
3737
  width: 140,
3759
3738
  cellRenderer: ({
3760
- rowData: r
3761
- }) => l(s("el-space"), null, {
3762
- default: () => [l(s("el-text"), null, {
3739
+ rowData: s
3740
+ }) => l(r("el-space"), null, {
3741
+ default: () => [l(r("el-text"), null, {
3763
3742
  default: () => {
3764
3743
  var y;
3765
- return [(y = r.ssl) == null ? void 0 : y.renewal_days, Z(" 天")];
3744
+ return [(y = s.ssl) == null ? void 0 : y.renewal_days, le(" 天")];
3766
3745
  }
3767
- }), l(s("el-button"), {
3746
+ }), l(r("el-button"), {
3768
3747
  size: "small",
3769
3748
  type: "primary",
3770
3749
  text: !0,
3771
3750
  onClick: (y) => {
3772
- y.stopPropagation(), r.ssl && r.ssl.id && (R.value = r.ssl, D());
3751
+ y.stopPropagation(), s.ssl && s.ssl.id && (R.value = s.ssl, A());
3773
3752
  }
3774
3753
  }, {
3775
3754
  default: () => [l("span", {
@@ -3788,36 +3767,36 @@ const Wl = /* @__PURE__ */ O({
3788
3767
  width: 100,
3789
3768
  align: "center",
3790
3769
  cellRenderer: ({
3791
- rowData: r
3792
- }) => l(s("el-space"), null, {
3793
- default: () => [l(ae, {
3770
+ rowData: s
3771
+ }) => l(r("el-space"), null, {
3772
+ default: () => [l(ne, {
3794
3773
  icon: "icon-edit",
3795
3774
  t: "",
3796
- onModify: () => t({
3797
- id: r.id
3775
+ onModify: () => n({
3776
+ id: s.id
3798
3777
  })
3799
- }, null), l(Q, {
3778
+ }, null), l(X, {
3800
3779
  icon: "icon-securityscan",
3801
3780
  type: "primary",
3802
3781
  size: "small",
3803
3782
  link: !0,
3804
- disabled: h.value,
3805
- loading: n.value == r.id && h.value,
3806
- onClick: () => d(r)
3783
+ disabled: V.value,
3784
+ loading: t.value == s.id && V.value,
3785
+ onClick: () => d(s)
3807
3786
  }, null)]
3808
3787
  })
3809
- }], n = B(0), d = (r) => {
3810
- n.value = r.id, ue.check({
3811
- id: r.id
3788
+ }], t = P(0), d = (s) => {
3789
+ t.value = s.id, pe.check({
3790
+ id: s.id
3812
3791
  }).then((y) => {
3813
- y.data && (Je(y), i());
3792
+ y.data && (Xe(y), m());
3814
3793
  }).finally(() => {
3815
- n.value = 0;
3794
+ t.value = 0;
3816
3795
  });
3817
3796
  };
3818
- return (r, y) => {
3819
- const f = s("el-space"), C = s("el-page-header"), A = s("el-card");
3820
- return S(), T(A, {
3797
+ return (s, y) => {
3798
+ const c = r("el-space"), L = r("el-page-header"), M = r("el-card");
3799
+ return S(), T(M, {
3821
3800
  "body-style": {
3822
3801
  padding: "12px",
3823
3802
  height: "450px"
@@ -3825,71 +3804,71 @@ const Wl = /* @__PURE__ */ O({
3825
3804
  "body-class": "flex-1",
3826
3805
  class: "config-card"
3827
3806
  }, {
3828
- header: o(() => [l(C, {
3807
+ header: o(() => [l(L, {
3829
3808
  icon: ""
3830
3809
  }, {
3831
- title: o(() => [P("span", null, z(e(a)("config.keys.sites")), 1)]),
3832
- content: o(() => [l(f, {
3810
+ title: o(() => [W("span", null, I(e(a)("config.keys.sites")), 1)]),
3811
+ content: o(() => [l(c, {
3833
3812
  alignment: "center",
3834
3813
  style: {
3835
3814
  height: "32px"
3836
3815
  }
3837
3816
  }, {
3838
- default: o(() => [l(e(K), {
3817
+ default: o(() => [l(e(G), {
3839
3818
  loading: e(k),
3840
- onRefresh: e(m)
3841
- }, null, 8, ["loading", "onRefresh"]), l(e(j), {
3819
+ onRefresh: e(i)
3820
+ }, null, 8, ["loading", "onRefresh"]), l(e(K), {
3842
3821
  onOpen: e(p)
3843
3822
  }, null, 8, ["onOpen"])]),
3844
3823
  _: 1
3845
3824
  })]),
3846
- extra: o(() => [l(e(j), {
3825
+ extra: o(() => [l(e(K), {
3847
3826
  onOpen: e(u),
3848
3827
  icon: "icon-compass"
3849
- }, null, 8, ["onOpen"]), l(e(j), {
3850
- onOpen: e(V),
3828
+ }, null, 8, ["onOpen"]), l(e(K), {
3829
+ onOpen: e(g),
3851
3830
  icon: "icon-safetycertificate-f"
3852
3831
  }, null, 8, ["onOpen"])]),
3853
3832
  _: 1
3854
3833
  })]),
3855
- default: o(() => [l(e(de), {
3834
+ default: o(() => [l(e(ie), {
3856
3835
  ref_key: "tableRef",
3857
- ref: g,
3836
+ ref: h,
3858
3837
  size: "small",
3859
3838
  "row-key": "id",
3860
- url: e(ue).urls[e(Xe)],
3839
+ url: e(pe).urls[e(Ze)],
3861
3840
  "auto-search": "",
3862
- columns: x
3863
- }, null, 8, ["url"]), l(Rl, {
3841
+ columns: w
3842
+ }, null, 8, ["url"]), l(xl, {
3864
3843
  ref_key: "formModalRef",
3865
- ref: _,
3866
- onRefresh: e(i)
3867
- }, null, 8, ["onRefresh"]), l(Ll, {
3844
+ ref: b,
3845
+ onRefresh: e(m)
3846
+ }, null, 8, ["onRefresh"]), l(Cl, {
3868
3847
  ref_key: "domainTableDrawerRef",
3869
3848
  ref: v
3870
- }, null, 512), l(ql, {
3849
+ }, null, 512), l(Ll, {
3871
3850
  ref_key: "sslTableDrawerRef",
3872
- ref: c
3873
- }, null, 512), l(Tl, {
3851
+ ref: f
3852
+ }, null, 512), l(ql, {
3874
3853
  ref_key: "sslLogTableDrawerRef",
3875
- ref: b
3854
+ ref: _
3876
3855
  }, null, 512)]),
3877
3856
  _: 1
3878
3857
  });
3879
3858
  };
3880
3859
  }
3881
- }), $l = /* @__PURE__ */ qe(Ol, [["__scopeId", "data-v-17c31592"]]), El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3860
+ }), Ol = /* @__PURE__ */ Te(Tl, [["__scopeId", "data-v-935d9dc4"]]), $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3882
3861
  __proto__: null,
3883
- default: $l
3884
- }, Symbol.toStringTag, { value: "Module" })), Fl = {
3862
+ default: Ol
3863
+ }, Symbol.toStringTag, { value: "Module" })), El = {
3885
3864
  request: "request",
3886
3865
  error: "error",
3887
3866
  sql: "SQL"
3888
- }, pe = Y.routineApi("log", "id", Fl), Yl = /* @__PURE__ */ O({
3867
+ }, ce = Q.routineApi("log", "id", El), Yl = /* @__PURE__ */ O({
3889
3868
  __name: "index",
3890
- setup(w) {
3869
+ setup(x) {
3891
3870
  const R = {
3892
- dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
3871
+ dates: [E.getCurrentHour().format(E.DATE_VALUE_FORMAT), E.getCurrentHour(1).format(E.DATE_VALUE_FORMAT)]
3893
3872
  }, k = [{
3894
3873
  label: a("base.sort"),
3895
3874
  type: "index",
@@ -3900,63 +3879,63 @@ const Wl = /* @__PURE__ */ O({
3900
3879
  width: 180,
3901
3880
  render: ({
3902
3881
  rowData: p
3903
- }) => l(G, null, [$.formatDate(p.time)])
3882
+ }) => l(H, null, [E.formatDate(p.time)])
3904
3883
  }, {
3905
3884
  label: a("base.url"),
3906
3885
  prop: "url",
3907
3886
  align: "left",
3908
3887
  width: 200
3909
3888
  }], {
3910
- requesting: h
3911
- } = F(pe), {
3912
- tableRef: g,
3913
- keyword: _,
3914
- search: m,
3915
- reset: i
3916
- } = E(R);
3917
- return (p, t) => {
3918
- const v = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
3919
- return S(), T(V, {
3889
+ requesting: V
3890
+ } = F(ce), {
3891
+ tableRef: h,
3892
+ keyword: b,
3893
+ search: i,
3894
+ reset: m
3895
+ } = z(R);
3896
+ return (p, n) => {
3897
+ const v = r("el-date-picker"), u = r("el-space"), f = r("el-page-header"), g = r("el-card");
3898
+ return S(), T(g, {
3920
3899
  class: "basic-card flex-full",
3921
3900
  "body-class": "flex-1"
3922
3901
  }, {
3923
- header: o(() => [l(c, {
3902
+ header: o(() => [l(f, {
3924
3903
  class: "basic-header"
3925
3904
  }, {
3926
- title: o(() => [l(e(K), {
3927
- loading: e(h),
3928
- onRefresh: e(i)
3905
+ title: o(() => [l(e(G), {
3906
+ loading: e(V),
3907
+ onRefresh: e(m)
3929
3908
  }, null, 8, ["loading", "onRefresh"])]),
3930
3909
  content: o(() => [l(u, {
3931
3910
  class: "search-bar"
3932
3911
  }, {
3933
3912
  default: o(() => [l(v, {
3934
- modelValue: e(_).dates,
3935
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
3913
+ modelValue: e(b).dates,
3914
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
3936
3915
  class: "basic-search-datetimerange",
3937
- "value-format": e($).DATE_VALUE_FORMAT,
3938
- format: e($).DATE_SHOW_FORMAT,
3916
+ "value-format": e(E).DATE_VALUE_FORMAT,
3917
+ format: e(E).DATE_SHOW_FORMAT,
3939
3918
  type: "datetimerange",
3940
3919
  "range-separator": "-",
3941
3920
  "start-placeholder": e(a)("base.start_at"),
3942
3921
  "end-placeholder": e(a)("base.end_at"),
3943
3922
  clearable: !1,
3944
- onChange: t[1] || (t[1] = (b) => e(m)())
3945
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
3946
- disabled: e(h),
3947
- onSearch: t[2] || (t[2] = (b) => e(m)())
3923
+ onChange: n[1] || (n[1] = (_) => e(i)())
3924
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(se), {
3925
+ disabled: e(V),
3926
+ onSearch: n[2] || (n[2] = (_) => e(i)())
3948
3927
  }, null, 8, ["disabled"])]),
3949
3928
  _: 1
3950
3929
  })]),
3951
3930
  _: 1
3952
3931
  })]),
3953
- default: o(() => [l(e(de), {
3932
+ default: o(() => [l(e(ie), {
3954
3933
  ref_key: "tableRef",
3955
- ref: g,
3934
+ ref: h,
3956
3935
  size: "small",
3957
3936
  columns: k,
3958
- url: e(pe).urls.request,
3959
- "search-param": e(_),
3937
+ url: e(ce).urls.request,
3938
+ "search-param": e(b),
3960
3939
  "auto-search": ""
3961
3940
  }, null, 8, ["url", "search-param"])]),
3962
3941
  _: 1
@@ -3965,9 +3944,9 @@ const Wl = /* @__PURE__ */ O({
3965
3944
  }
3966
3945
  }), Hl = /* @__PURE__ */ O({
3967
3946
  __name: "index",
3968
- setup(w) {
3947
+ setup(x) {
3969
3948
  const R = {
3970
- dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
3949
+ dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate(0).format(E.DATE_FORMAT)]
3971
3950
  }, k = [{
3972
3951
  label: a("base.sort"),
3973
3952
  type: "index",
@@ -3978,63 +3957,63 @@ const Wl = /* @__PURE__ */ O({
3978
3957
  width: 180,
3979
3958
  render: ({
3980
3959
  rowData: p
3981
- }) => l(G, null, [$.formatDate(p.time)])
3960
+ }) => l(H, null, [E.formatDate(p.time)])
3982
3961
  }, {
3983
3962
  label: a("base.url"),
3984
3963
  prop: "url",
3985
3964
  align: "left",
3986
3965
  width: 200
3987
3966
  }], {
3988
- requesting: h
3989
- } = F(pe), {
3990
- tableRef: g,
3991
- keyword: _,
3992
- search: m,
3993
- reset: i
3994
- } = E(R);
3995
- return (p, t) => {
3996
- const v = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
3997
- return S(), T(V, {
3967
+ requesting: V
3968
+ } = F(ce), {
3969
+ tableRef: h,
3970
+ keyword: b,
3971
+ search: i,
3972
+ reset: m
3973
+ } = z(R);
3974
+ return (p, n) => {
3975
+ const v = r("el-date-picker"), u = r("el-space"), f = r("el-page-header"), g = r("el-card");
3976
+ return S(), T(g, {
3998
3977
  class: "basic-card flex-full",
3999
3978
  "body-class": "flex-1"
4000
3979
  }, {
4001
- header: o(() => [l(c, {
3980
+ header: o(() => [l(f, {
4002
3981
  class: "basic-header"
4003
3982
  }, {
4004
- title: o(() => [l(e(K), {
4005
- loading: e(h),
4006
- onRefresh: e(i)
3983
+ title: o(() => [l(e(G), {
3984
+ loading: e(V),
3985
+ onRefresh: e(m)
4007
3986
  }, null, 8, ["loading", "onRefresh"])]),
4008
3987
  content: o(() => [l(u, {
4009
3988
  class: "search-bar"
4010
3989
  }, {
4011
3990
  default: o(() => [l(v, {
4012
- modelValue: e(_).dates,
4013
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
3991
+ modelValue: e(b).dates,
3992
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
4014
3993
  class: "basic-search-daterange",
4015
- "value-format": e($).DATE_FORMAT,
4016
- format: e($).DATE_FORMAT,
3994
+ "value-format": e(E).DATE_FORMAT,
3995
+ format: e(E).DATE_FORMAT,
4017
3996
  type: "daterange",
4018
3997
  "range-separator": "-",
4019
3998
  "start-placeholder": e(a)("base.start_at"),
4020
3999
  "end-placeholder": e(a)("base.end_at"),
4021
4000
  clearable: !1,
4022
- onChange: t[1] || (t[1] = (b) => e(m)())
4023
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
4024
- disabled: e(h),
4025
- onSearch: t[2] || (t[2] = (b) => e(m)())
4001
+ onChange: n[1] || (n[1] = (_) => e(i)())
4002
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(se), {
4003
+ disabled: e(V),
4004
+ onSearch: n[2] || (n[2] = (_) => e(i)())
4026
4005
  }, null, 8, ["disabled"])]),
4027
4006
  _: 1
4028
4007
  })]),
4029
4008
  _: 1
4030
4009
  })]),
4031
- default: o(() => [l(e(de), {
4010
+ default: o(() => [l(e(ie), {
4032
4011
  ref_key: "tableRef",
4033
- ref: g,
4012
+ ref: h,
4034
4013
  size: "small",
4035
4014
  columns: k,
4036
- url: e(pe).urls.error,
4037
- "search-param": e(_),
4015
+ url: e(ce).urls.error,
4016
+ "search-param": e(b),
4038
4017
  "auto-search": ""
4039
4018
  }, null, 8, ["url", "search-param"])]),
4040
4019
  _: 1
@@ -4043,9 +4022,9 @@ const Wl = /* @__PURE__ */ O({
4043
4022
  }
4044
4023
  }), Ql = /* @__PURE__ */ O({
4045
4024
  __name: "index",
4046
- setup(w) {
4025
+ setup(x) {
4047
4026
  const R = {
4048
- dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
4027
+ dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate().format(E.DATE_FORMAT)]
4049
4028
  }, k = [{
4050
4029
  label: a("base.sort"),
4051
4030
  type: "index",
@@ -4056,63 +4035,63 @@ const Wl = /* @__PURE__ */ O({
4056
4035
  width: 180,
4057
4036
  render: ({
4058
4037
  rowData: p
4059
- }) => l(G, null, [$.formatDate(p.time)])
4038
+ }) => l(H, null, [E.formatDate(p.time)])
4060
4039
  }, {
4061
4040
  label: a("base.url"),
4062
4041
  prop: "url",
4063
4042
  align: "left",
4064
4043
  width: 200
4065
4044
  }], {
4066
- requesting: h
4067
- } = F(pe), {
4068
- tableRef: g,
4069
- keyword: _,
4070
- search: m,
4071
- reset: i
4072
- } = E(R);
4073
- return (p, t) => {
4074
- const v = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
4075
- return S(), T(V, {
4045
+ requesting: V
4046
+ } = F(ce), {
4047
+ tableRef: h,
4048
+ keyword: b,
4049
+ search: i,
4050
+ reset: m
4051
+ } = z(R);
4052
+ return (p, n) => {
4053
+ const v = r("el-date-picker"), u = r("el-space"), f = r("el-page-header"), g = r("el-card");
4054
+ return S(), T(g, {
4076
4055
  class: "basic-card flex-full",
4077
4056
  "body-class": "flex-1"
4078
4057
  }, {
4079
- header: o(() => [l(c, {
4058
+ header: o(() => [l(f, {
4080
4059
  class: "basic-header"
4081
4060
  }, {
4082
- title: o(() => [l(e(K), {
4083
- loading: e(h),
4084
- onRefresh: e(i)
4061
+ title: o(() => [l(e(G), {
4062
+ loading: e(V),
4063
+ onRefresh: e(m)
4085
4064
  }, null, 8, ["loading", "onRefresh"])]),
4086
4065
  content: o(() => [l(u, {
4087
4066
  class: "search-bar"
4088
4067
  }, {
4089
4068
  default: o(() => [l(v, {
4090
- modelValue: e(_).dates,
4091
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
4069
+ modelValue: e(b).dates,
4070
+ "onUpdate:modelValue": n[0] || (n[0] = (_) => e(b).dates = _),
4092
4071
  class: "basic-search-daterange",
4093
- "value-format": e($).DATE_FORMAT,
4094
- format: e($).DATE_FORMAT,
4072
+ "value-format": e(E).DATE_FORMAT,
4073
+ format: e(E).DATE_FORMAT,
4095
4074
  type: "daterange",
4096
4075
  "range-separator": "-",
4097
4076
  "start-placeholder": e(a)("base.start_at"),
4098
4077
  "end-placeholder": e(a)("base.end_at"),
4099
4078
  clearable: !1,
4100
- onChange: t[1] || (t[1] = (b) => e(m)())
4101
- }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
4102
- disabled: e(h),
4103
- onSearch: t[2] || (t[2] = (b) => e(m)())
4079
+ onChange: n[1] || (n[1] = (_) => e(i)())
4080
+ }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(se), {
4081
+ disabled: e(V),
4082
+ onSearch: n[2] || (n[2] = (_) => e(i)())
4104
4083
  }, null, 8, ["disabled"])]),
4105
4084
  _: 1
4106
4085
  })]),
4107
4086
  _: 1
4108
4087
  })]),
4109
- default: o(() => [l(e(de), {
4088
+ default: o(() => [l(e(ie), {
4110
4089
  ref_key: "tableRef",
4111
- ref: g,
4090
+ ref: h,
4112
4091
  size: "small",
4113
4092
  columns: k,
4114
- url: e(pe).urls.sql,
4115
- "search-param": e(_),
4093
+ url: e(ce).urls.sql,
4094
+ "search-param": e(b),
4116
4095
  "auto-search": ""
4117
4096
  }, null, 8, ["url", "search-param"])]),
4118
4097
  _: 1
@@ -4141,92 +4120,92 @@ const Wl = /* @__PURE__ */ O({
4141
4120
  }
4142
4121
  },
4143
4122
  emits: ["update:modelValue", "update:value", "change"],
4144
- setup(w, {
4123
+ setup(x, {
4145
4124
  emit: R
4146
4125
  }) {
4147
- const k = R, h = w, {
4148
- requesting: g
4149
- } = F(W), {
4150
- value: _,
4151
- options: m,
4152
- change: i
4153
- } = te(oe(h, "modelValue"), k, {
4126
+ const k = R, V = x, {
4127
+ requesting: h
4128
+ } = F(Y), {
4129
+ value: b,
4130
+ options: i,
4131
+ change: m
4132
+ } = de(re(V, "modelValue"), k, {
4154
4133
  key: "LANGUAGE_SELECT",
4155
- url: W.urls.languages,
4156
- api: W,
4134
+ url: Y.urls.languages,
4135
+ api: Y,
4157
4136
  isArray: !0
4158
4137
  }, {
4159
- formatOptions: (p) => p.map((t) => ({
4160
- value: t,
4161
- label: t
4138
+ formatOptions: (p) => p.map((n) => ({
4139
+ value: n,
4140
+ label: n
4162
4141
  }))
4163
4142
  });
4164
- return (p, t) => {
4165
- const v = s("el-radio-button"), u = s("el-radio-group");
4143
+ return (p, n) => {
4144
+ const v = r("el-radio-button"), u = r("el-radio-group");
4166
4145
  return S(), T(u, {
4167
- modelValue: e(_),
4168
- "onUpdate:modelValue": t[0] || (t[0] = (c) => N(_) ? _.value = c : null),
4169
- disabled: e(g),
4170
- onChange: e(i)
4146
+ modelValue: e(b),
4147
+ "onUpdate:modelValue": n[0] || (n[0] = (f) => N(b) ? b.value = f : null),
4148
+ disabled: e(h),
4149
+ onChange: e(m)
4171
4150
  }, {
4172
- default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(v, {
4173
- key: c.value,
4174
- value: c.value
4151
+ default: o(() => [(S(!0), j(H, null, ae(e(i), (f) => (S(), T(v, {
4152
+ key: f.value,
4153
+ value: f.value
4175
4154
  }, {
4176
- default: o(() => [P("span", null, z(c.label), 1)]),
4155
+ default: o(() => [W("span", null, I(f.label), 1)]),
4177
4156
  _: 2
4178
4157
  }, 1032, ["value"]))), 128))]),
4179
4158
  _: 1
4180
4159
  }, 8, ["modelValue", "disabled", "onChange"]);
4181
4160
  };
4182
4161
  }
4183
- }), zl = () => import("./index-SHsqnbNG.js"), Il = () => import("./index-CJMTIvHk.js"), Nl = () => import("./index-BMn8mAns.js"), Xl = [
4162
+ }), Fl = () => import("./index-SHsqnbNG.js"), zl = () => import("./index-CJMTIvHk.js"), Il = () => import("./index-BMn8mAns.js"), Xl = [
4184
4163
  {
4185
- path: Ze,
4164
+ path: el,
4186
4165
  name: "RequestLog",
4187
- component: zl,
4166
+ component: Fl,
4188
4167
  meta: {
4189
4168
  title: a("menu.RequestLog")
4190
4169
  }
4191
4170
  },
4192
4171
  {
4193
- path: el,
4172
+ path: ll,
4194
4173
  name: "ErrorLog",
4195
- component: Il,
4174
+ component: zl,
4196
4175
  meta: {
4197
4176
  title: a("menu.ErrorLog")
4198
4177
  }
4199
4178
  },
4200
4179
  {
4201
- path: ll,
4180
+ path: al,
4202
4181
  name: "SqlLog",
4203
- component: Nl,
4182
+ component: Il,
4204
4183
  meta: {
4205
4184
  title: a("menu.SqlLog")
4206
4185
  }
4207
4186
  }
4208
4187
  ], Zl = {
4209
- install: (w) => {
4210
- 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));
4188
+ install: (x) => {
4189
+ 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));
4211
4190
  },
4212
4191
  version: "__VERSION__"
4213
- }, 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) });
4192
+ }, 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(() => $l) });
4214
4193
  export {
4215
4194
  Gl as AdminsPage,
4216
- Ul as DomainProviderSelect,
4217
- $e as DomainSelect,
4195
+ Rl as DomainProviderSelect,
4196
+ Ee as DomainSelect,
4218
4197
  Hl as ErrorLogsPage,
4219
4198
  Jl as LanguageSelect,
4220
4199
  Wl as LanguagesPage,
4221
4200
  Xl as LogRoutes,
4222
- ul as MenuSelect,
4201
+ sl as MenuSelect,
4223
4202
  jl as MenusPage,
4224
4203
  Yl as RequestLogsPage,
4225
4204
  Kl as RolesPage,
4226
4205
  Ql as SQLLogsPage,
4227
- $l as SitePage,
4228
- Dl as SiteSelect,
4229
- dl as TopMenuSelect,
4206
+ Ol as SitePage,
4207
+ Ml as SiteSelect,
4208
+ rl as TopMenuSelect,
4230
4209
  ea as basicModules,
4231
4210
  Zl as default
4232
4211
  };