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