auto-vue-basic 0.0.72 → 0.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- import { defineComponent as O, createElementBlock as B, openBlock as L, createElementVNode as N, toRef as te, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as ke, toDisplayString as z, ref as I, Fragment as G, withKeys as _e, renderList as ae, isVNode as ve, reactive as Ie, onMounted as Ne, watch as we, nextTick as Pe, createCommentVNode as Be, createTextVNode as Z, onBeforeMount as je } from "vue";
2
- import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as J, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as xe, ModifyButton as le, DEFAULT_REMOVE_KEY as Ke, ProTable as me, DEFAULT_PAGE_KEY as ge, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as We, RequestButton as Q, BasicDrawer as ce, BasicRadioButton as Ae, RulesUtils as Ye, BasicAvatar as Ge, TimeUtils as $, ProTableList as de, AssetsUtils as De, notification as He, DEFAULT_LIST_URL as Qe, REQUEST_LOG_URL as Je, ERROR_LOG_URL as Xe, SQL_LOG_URL as Ze } from "auto-vue-manual";
3
- const el = {
1
+ import { defineComponent as O, createElementBlock as B, openBlock as L, createElementVNode as N, toRef as te, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as ve, toDisplayString as z, ref as I, Fragment as G, withKeys as ge, renderList as ae, isVNode as we, reactive as Ne, onMounted as Pe, watch as xe, nextTick as Be, createCommentVNode as je, createTextVNode as Z, onBeforeMount as Ke } from "vue";
2
+ import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as J, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as Re, ModifyButton as le, DEFAULT_REMOVE_KEY as We, ProTable as me, DEFAULT_PAGE_KEY as he, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as Ye, RequestButton as Q, BasicDrawer as ce, BasicRadioButton as De, RulesUtils as Ge, BasicAvatar as He, TimeUtils as $, ProTableList as de, AssetsUtils as Se, notification as Qe, DEFAULT_LIST_URL as Je, REQUEST_LOG_URL as Xe, ERROR_LOG_URL as Ze, SQL_LOG_URL as el } from "auto-vue-manual";
3
+ const ll = {
4
4
  tops: "tops",
5
5
  rules: "rules"
6
- }, Y = W.routineApi("menu", "id", el, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Se = W.routineApi("rule", "key");
6
+ }, Y = W.routineApi("menu", "id", ll, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Le = W.routineApi("rule", "key");
7
7
  /*! Element Plus Icons Vue v2.3.2 */
8
- var ll = /* @__PURE__ */ O({
8
+ var al = /* @__PURE__ */ O({
9
9
  name: "Key",
10
10
  __name: "key",
11
- setup(R) {
11
+ setup(x) {
12
12
  return (U, k) => (L(), B("svg", {
13
13
  xmlns: "http://www.w3.org/2000/svg",
14
14
  viewBox: "0 0 1024 1024"
@@ -19,10 +19,10 @@ var ll = /* @__PURE__ */ O({
19
19
  })
20
20
  ]));
21
21
  }
22
- }), al = ll, ol = /* @__PURE__ */ O({
22
+ }), ol = al, nl = /* @__PURE__ */ O({
23
23
  name: "Search",
24
24
  __name: "search",
25
- setup(R) {
25
+ setup(x) {
26
26
  return (U, k) => (L(), B("svg", {
27
27
  xmlns: "http://www.w3.org/2000/svg",
28
28
  viewBox: "0 0 1024 1024"
@@ -33,8 +33,8 @@ var ll = /* @__PURE__ */ O({
33
33
  })
34
34
  ]));
35
35
  }
36
- }), nl = ol;
37
- const tl = /* @__PURE__ */ O({
36
+ }), tl = nl;
37
+ const rl = /* @__PURE__ */ O({
38
38
  __name: "TopMenuSelect",
39
39
  props: {
40
40
  modelValue: {
@@ -47,13 +47,13 @@ const tl = /* @__PURE__ */ O({
47
47
  }
48
48
  },
49
49
  emits: ["update:modelValue", "change"],
50
- setup(R, {
50
+ setup(x, {
51
51
  emit: U
52
52
  }) {
53
- const k = U, h = R, {
53
+ const k = U, h = x, {
54
54
  requesting: V
55
55
  } = E(Y), {
56
- value: _,
56
+ value: b,
57
57
  options: c,
58
58
  change: i,
59
59
  refresh: p,
@@ -68,36 +68,36 @@ const tl = /* @__PURE__ */ O({
68
68
  const f = s("el-space"), g = s("el-select-v2");
69
69
  return L(), T(g, {
70
70
  class: "w-full",
71
- modelValue: e(_),
72
- "onUpdate:modelValue": u[1] || (u[1] = (b) => P(_) ? _.value = b : null),
71
+ modelValue: e(b),
72
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => P(b) ? b.value = _ : null),
73
73
  options: e(c),
74
- multiple: R.multiple,
74
+ multiple: x.multiple,
75
75
  disabled: e(V),
76
- placeholder: e(a)("base.placeholder.select"),
76
+ placeholder: e(a)("placeholder.select"),
77
77
  filterable: "",
78
78
  filterOptions: e(t),
79
79
  onChange: e(i)
80
80
  }, {
81
81
  prefix: o(() => [l(e(pe), {
82
82
  loading: e(V),
83
- onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
83
+ onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
84
84
  }, null, 8, ["loading"])]),
85
85
  default: o(({
86
- item: b
86
+ item: _
87
87
  }) => [l(f, null, {
88
88
  default: o(() => [N("i", {
89
- class: ke(`icon iconfont ${b.icon}`)
90
- }, null, 2), N("span", null, z(b.translate), 1)]),
89
+ class: ve(`icon iconfont ${_.icon}`)
90
+ }, null, 2), N("span", null, z(_.translate), 1)]),
91
91
  _: 2
92
92
  }, 1024)]),
93
93
  _: 1
94
94
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
95
95
  };
96
96
  }
97
- }), rl = /* @__PURE__ */ O({
97
+ }), dl = /* @__PURE__ */ O({
98
98
  __name: "MenuFormModal",
99
99
  emits: ["refresh"],
100
- setup(R, { expose: U, emit: k }) {
100
+ setup(x, { expose: U, emit: k }) {
101
101
  const h = k, V = {
102
102
  id: 0,
103
103
  menu_id: 0,
@@ -119,72 +119,72 @@ const tl = /* @__PURE__ */ O({
119
119
  keep_alive: !1,
120
120
  link: !1
121
121
  }
122
- }, _ = {
122
+ }, b = {
123
123
  sort: [
124
124
  {
125
125
  required: !0,
126
126
  type: "number",
127
- message: a("base.placeholder.input base.sort"),
127
+ message: a("placeholder.input base.sort"),
128
128
  trigger: "blur"
129
129
  }
130
130
  ],
131
131
  module: [
132
132
  {
133
133
  required: !0,
134
- message: a("base.placeholder.input menu.module"),
134
+ message: a("placeholder.input menu.module"),
135
135
  trigger: "blur"
136
136
  }
137
137
  ],
138
138
  name: [
139
139
  {
140
140
  required: !0,
141
- message: a("base.placeholder.input base.name"),
141
+ message: a("placeholder.input base.name"),
142
142
  trigger: "blur"
143
143
  }
144
144
  ],
145
145
  en_name: [
146
146
  {
147
147
  required: !0,
148
- message: a("base.placeholder.input base.en_name"),
148
+ message: a("placeholder.input base.en_name"),
149
149
  trigger: "blur"
150
150
  }
151
151
  ],
152
152
  url: [
153
153
  {
154
154
  required: !0,
155
- message: a("base.placeholder.input base.url"),
155
+ message: a("placeholder.input base.url"),
156
156
  trigger: "blur"
157
157
  }
158
158
  ],
159
159
  component: [
160
160
  {
161
161
  required: !0,
162
- message: a("base.placeholder.input menu.component"),
162
+ message: a("placeholder.input menu.component"),
163
163
  trigger: "blur"
164
164
  }
165
165
  ]
166
- }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, Y);
166
+ }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, Y);
167
167
  return U({
168
168
  open: f,
169
169
  modify: g
170
- }), (x, n) => {
171
- const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), M = s("el-switch"), C = s("el-form");
170
+ }), (w, n) => {
171
+ const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), M = s("el-switch"), q = s("el-form");
172
172
  return L(), T(e(ee), {
173
173
  modelValue: e(c),
174
- "onUpdate:modelValue": n[17] || (n[17] = (w) => P(c) ? c.value = w : null),
174
+ "onUpdate:modelValue": n[17] || (n[17] = (R) => P(c) ? c.value = R : null),
175
175
  title: e(i)(),
176
176
  width: "1000px",
177
177
  executing: e(u),
178
178
  onClosed: e(A),
179
- onSubmit: e(b)
179
+ onSubmit: e(_)
180
180
  }, {
181
181
  default: o(() => [
182
- l(C, {
182
+ l(q, {
183
183
  ref_key: "form",
184
184
  ref: p,
185
185
  model: e(t),
186
186
  "label-width": "auto",
187
- rules: _,
187
+ rules: b,
188
188
  disabled: e(v) || e(u)
189
189
  }, {
190
190
  default: o(() => [
@@ -201,9 +201,9 @@ const tl = /* @__PURE__ */ O({
201
201
  prop: "menu_id"
202
202
  }, {
203
203
  default: o(() => [
204
- l(tl, {
204
+ l(rl, {
205
205
  modelValue: e(t).menu_id,
206
- "onUpdate:modelValue": n[0] || (n[0] = (w) => e(t).menu_id = w)
206
+ "onUpdate:modelValue": n[0] || (n[0] = (R) => e(t).menu_id = R)
207
207
  }, null, 8, ["modelValue"])
208
208
  ]),
209
209
  _: 1
@@ -222,9 +222,9 @@ const tl = /* @__PURE__ */ O({
222
222
  l(y, {
223
223
  class: "w-full",
224
224
  modelValue: e(t).sort,
225
- "onUpdate:modelValue": n[1] || (n[1] = (w) => e(t).sort = w),
225
+ "onUpdate:modelValue": n[1] || (n[1] = (R) => e(t).sort = R),
226
226
  min: 0,
227
- placeholder: e(a)("base.placeholder.input")
227
+ placeholder: e(a)("placeholder.input")
228
228
  }, null, 8, ["modelValue", "placeholder"])
229
229
  ]),
230
230
  _: 1
@@ -242,8 +242,8 @@ const tl = /* @__PURE__ */ O({
242
242
  default: o(() => [
243
243
  l(S, {
244
244
  modelValue: e(t).module,
245
- "onUpdate:modelValue": n[2] || (n[2] = (w) => e(t).module = w),
246
- placeholder: e(a)("base.placeholder.input")
245
+ "onUpdate:modelValue": n[2] || (n[2] = (R) => e(t).module = R),
246
+ placeholder: e(a)("placeholder.input")
247
247
  }, null, 8, ["modelValue", "placeholder"])
248
248
  ]),
249
249
  _: 1
@@ -255,8 +255,8 @@ const tl = /* @__PURE__ */ O({
255
255
  default: o(() => [
256
256
  l(S, {
257
257
  modelValue: e(t).name,
258
- "onUpdate:modelValue": n[3] || (n[3] = (w) => e(t).name = w),
259
- placeholder: e(a)("base.placeholder.input")
258
+ "onUpdate:modelValue": n[3] || (n[3] = (R) => e(t).name = R),
259
+ placeholder: e(a)("placeholder.input")
260
260
  }, null, 8, ["modelValue", "placeholder"])
261
261
  ]),
262
262
  _: 1
@@ -268,8 +268,8 @@ const tl = /* @__PURE__ */ O({
268
268
  default: o(() => [
269
269
  l(S, {
270
270
  modelValue: e(t).en_name,
271
- "onUpdate:modelValue": n[4] || (n[4] = (w) => e(t).en_name = w),
272
- placeholder: e(a)("base.placeholder.input")
271
+ "onUpdate:modelValue": n[4] || (n[4] = (R) => e(t).en_name = R),
272
+ placeholder: e(a)("placeholder.input")
273
273
  }, null, 8, ["modelValue", "placeholder"])
274
274
  ]),
275
275
  _: 1
@@ -281,8 +281,8 @@ const tl = /* @__PURE__ */ O({
281
281
  default: o(() => [
282
282
  l(S, {
283
283
  modelValue: e(t).component,
284
- "onUpdate:modelValue": n[5] || (n[5] = (w) => e(t).component = w),
285
- placeholder: e(a)("base.placeholder.input")
284
+ "onUpdate:modelValue": n[5] || (n[5] = (R) => e(t).component = R),
285
+ placeholder: e(a)("placeholder.input")
286
286
  }, null, 8, ["modelValue", "placeholder"])
287
287
  ]),
288
288
  _: 1
@@ -294,8 +294,8 @@ const tl = /* @__PURE__ */ O({
294
294
  default: o(() => [
295
295
  l(S, {
296
296
  modelValue: e(t).url,
297
- "onUpdate:modelValue": n[6] || (n[6] = (w) => e(t).url = w),
298
- placeholder: e(a)("base.placeholder.input")
297
+ "onUpdate:modelValue": n[6] || (n[6] = (R) => e(t).url = R),
298
+ placeholder: e(a)("placeholder.input")
299
299
  }, null, 8, ["modelValue", "placeholder"])
300
300
  ]),
301
301
  _: 1
@@ -307,8 +307,8 @@ const tl = /* @__PURE__ */ O({
307
307
  default: o(() => [
308
308
  l(S, {
309
309
  modelValue: e(t).remark,
310
- "onUpdate:modelValue": n[7] || (n[7] = (w) => e(t).remark = w),
311
- placeholder: e(a)("base.placeholder.input")
310
+ "onUpdate:modelValue": n[7] || (n[7] = (R) => e(t).remark = R),
311
+ placeholder: e(a)("placeholder.input")
312
312
  }, null, 8, ["modelValue", "placeholder"])
313
313
  ]),
314
314
  _: 1
@@ -325,15 +325,15 @@ const tl = /* @__PURE__ */ O({
325
325
  default: o(() => [
326
326
  l(S, {
327
327
  modelValue: e(t).icon,
328
- "onUpdate:modelValue": n[8] || (n[8] = (w) => e(t).icon = w),
329
- placeholder: e(a)("base.placeholder.input"),
330
- onInput: n[9] || (n[9] = (w) => {
331
- e(t).meta.icon = w;
328
+ "onUpdate:modelValue": n[8] || (n[8] = (R) => e(t).icon = R),
329
+ placeholder: e(a)("placeholder.input"),
330
+ onInput: n[9] || (n[9] = (R) => {
331
+ e(t).meta.icon = R;
332
332
  })
333
333
  }, {
334
334
  prepend: o(() => [
335
335
  N("span", {
336
- class: ke("iconfont " + e(t).icon)
336
+ class: ve("iconfont " + e(t).icon)
337
337
  }, null, 2)
338
338
  ]),
339
339
  _: 1
@@ -348,8 +348,8 @@ const tl = /* @__PURE__ */ O({
348
348
  default: o(() => [
349
349
  l(S, {
350
350
  modelValue: e(t).meta.title,
351
- "onUpdate:modelValue": n[10] || (n[10] = (w) => e(t).meta.title = w),
352
- placeholder: e(a)("base.placeholder.input")
351
+ "onUpdate:modelValue": n[10] || (n[10] = (R) => e(t).meta.title = R),
352
+ placeholder: e(a)("placeholder.input")
353
353
  }, null, 8, ["modelValue", "placeholder"])
354
354
  ]),
355
355
  _: 1
@@ -361,8 +361,8 @@ const tl = /* @__PURE__ */ O({
361
361
  default: o(() => [
362
362
  l(S, {
363
363
  modelValue: e(t).meta.active,
364
- "onUpdate:modelValue": n[11] || (n[11] = (w) => e(t).meta.active = w),
365
- placeholder: e(a)("base.placeholder.input")
364
+ "onUpdate:modelValue": n[11] || (n[11] = (R) => e(t).meta.active = R),
365
+ placeholder: e(a)("placeholder.input")
366
366
  }, null, 8, ["modelValue", "placeholder"])
367
367
  ]),
368
368
  _: 1
@@ -378,7 +378,7 @@ const tl = /* @__PURE__ */ O({
378
378
  default: o(() => [
379
379
  l(M, {
380
380
  modelValue: e(t).meta.link,
381
- "onUpdate:modelValue": n[12] || (n[12] = (w) => e(t).meta.link = w)
381
+ "onUpdate:modelValue": n[12] || (n[12] = (R) => e(t).meta.link = R)
382
382
  }, null, 8, ["modelValue"])
383
383
  ]),
384
384
  _: 1
@@ -395,7 +395,7 @@ const tl = /* @__PURE__ */ O({
395
395
  default: o(() => [
396
396
  l(M, {
397
397
  modelValue: e(t).meta.keep_alive,
398
- "onUpdate:modelValue": n[13] || (n[13] = (w) => e(t).meta.keep_alive = w)
398
+ "onUpdate:modelValue": n[13] || (n[13] = (R) => e(t).meta.keep_alive = R)
399
399
  }, null, 8, ["modelValue"])
400
400
  ]),
401
401
  _: 1
@@ -412,7 +412,7 @@ const tl = /* @__PURE__ */ O({
412
412
  default: o(() => [
413
413
  l(M, {
414
414
  modelValue: e(t).meta.hide,
415
- "onUpdate:modelValue": n[14] || (n[14] = (w) => e(t).meta.hide = w)
415
+ "onUpdate:modelValue": n[14] || (n[14] = (R) => e(t).meta.hide = R)
416
416
  }, null, 8, ["modelValue"])
417
417
  ]),
418
418
  _: 1
@@ -429,7 +429,7 @@ const tl = /* @__PURE__ */ O({
429
429
  default: o(() => [
430
430
  l(M, {
431
431
  modelValue: e(t).meta.full,
432
- "onUpdate:modelValue": n[15] || (n[15] = (w) => e(t).meta.full = w)
432
+ "onUpdate:modelValue": n[15] || (n[15] = (R) => e(t).meta.full = R)
433
433
  }, null, 8, ["modelValue"])
434
434
  ]),
435
435
  _: 1
@@ -446,7 +446,7 @@ const tl = /* @__PURE__ */ O({
446
446
  default: o(() => [
447
447
  l(M, {
448
448
  modelValue: e(t).meta.affix,
449
- "onUpdate:modelValue": n[16] || (n[16] = (w) => e(t).meta.affix = w)
449
+ "onUpdate:modelValue": n[16] || (n[16] = (R) => e(t).meta.affix = R)
450
450
  }, null, 8, ["modelValue"])
451
451
  ]),
452
452
  _: 1
@@ -471,7 +471,7 @@ const tl = /* @__PURE__ */ O({
471
471
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
472
472
  };
473
473
  }
474
- }), dl = /* @__PURE__ */ O({
474
+ }), sl = /* @__PURE__ */ O({
475
475
  __name: "MenuSelect",
476
476
  props: {
477
477
  modelValue: {
@@ -484,13 +484,13 @@ const tl = /* @__PURE__ */ O({
484
484
  }
485
485
  },
486
486
  emits: ["update:modelValue", "change"],
487
- setup(R, {
487
+ setup(x, {
488
488
  emit: U
489
489
  }) {
490
- const k = U, h = R, {
490
+ const k = U, h = x, {
491
491
  requesting: V
492
492
  } = E(Y), {
493
- value: _,
493
+ value: b,
494
494
  options: c,
495
495
  change: i,
496
496
  refresh: p,
@@ -504,36 +504,36 @@ const tl = /* @__PURE__ */ O({
504
504
  const f = s("el-space"), g = s("el-select-v2");
505
505
  return L(), T(g, {
506
506
  class: "w-full",
507
- modelValue: e(_),
508
- "onUpdate:modelValue": u[1] || (u[1] = (b) => P(_) ? _.value = b : null),
507
+ modelValue: e(b),
508
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => P(b) ? b.value = _ : null),
509
509
  options: e(c),
510
- multiple: R.multiple,
510
+ multiple: x.multiple,
511
511
  disabled: e(V),
512
- placeholder: e(a)("base.placeholder.select"),
512
+ placeholder: e(a)("placeholder.select"),
513
513
  filterable: "",
514
514
  filterOptions: e(t),
515
515
  onChange: e(i)
516
516
  }, {
517
517
  prefix: o(() => [l(e(pe), {
518
518
  loading: e(V),
519
- onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
519
+ onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
520
520
  }, null, 8, ["loading"])]),
521
521
  default: o(({
522
- item: b
522
+ item: _
523
523
  }) => [l(f, null, {
524
524
  default: o(() => [N("i", {
525
- class: ke(`icon iconfont ${b.icon}`)
526
- }, null, 2), N("span", null, z(b.translate), 1)]),
525
+ class: ve(`icon iconfont ${_.icon}`)
526
+ }, null, 2), N("span", null, z(_.translate), 1)]),
527
527
  _: 2
528
528
  }, 1024)]),
529
529
  _: 1
530
530
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
531
531
  };
532
532
  }
533
- }), sl = /* @__PURE__ */ O({
533
+ }), ul = /* @__PURE__ */ O({
534
534
  __name: "MenuRuleFormModal",
535
535
  emits: ["refresh"],
536
- setup(R, { expose: U, emit: k }) {
536
+ setup(x, { expose: U, emit: k }) {
537
537
  const h = k, V = {
538
538
  key: "",
539
539
  menu_id: 0,
@@ -542,12 +542,12 @@ const tl = /* @__PURE__ */ O({
542
542
  en_name: "",
543
543
  urls: "",
544
544
  remark: ""
545
- }, _ = {
545
+ }, b = {
546
546
  menu_id: [
547
547
  {
548
548
  required: !0,
549
549
  type: "number",
550
- message: a("base.placeholder.select menu.Menu"),
550
+ message: a("placeholder.select menu.Menu"),
551
551
  trigger: "blur"
552
552
  }
553
553
  ],
@@ -555,45 +555,45 @@ const tl = /* @__PURE__ */ O({
555
555
  {
556
556
  required: !0,
557
557
  type: "number",
558
- message: a("base.placeholder.input base.sort"),
558
+ message: a("placeholder.input base.sort"),
559
559
  trigger: "blur"
560
560
  }
561
561
  ],
562
562
  name: [
563
563
  {
564
564
  required: !0,
565
- message: a("base.placeholder.input base.name"),
565
+ message: a("placeholder.input base.name"),
566
566
  trigger: "blur"
567
567
  }
568
568
  ],
569
569
  en_name: [
570
570
  {
571
571
  required: !0,
572
- message: a("base.placeholder.input base.en_name"),
572
+ message: a("placeholder.input base.en_name"),
573
573
  trigger: "blur"
574
574
  }
575
575
  ],
576
576
  urls: [
577
577
  {
578
578
  required: !0,
579
- message: a("base.placeholder.input menu.rules"),
579
+ message: a("placeholder.input menu.rules"),
580
580
  trigger: "blur"
581
581
  }
582
582
  ]
583
- }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, Se);
583
+ }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, Le);
584
584
  return U({
585
585
  open: f,
586
586
  modify: g
587
- }), (x, n) => {
587
+ }), (w, n) => {
588
588
  const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), M = s("el-form");
589
589
  return L(), T(e(ee), {
590
590
  modelValue: e(c),
591
- "onUpdate:modelValue": n[6] || (n[6] = (C) => P(c) ? c.value = C : null),
591
+ "onUpdate:modelValue": n[6] || (n[6] = (q) => P(c) ? c.value = q : null),
592
592
  title: e(i)("menu.rules"),
593
593
  width: "1000px",
594
594
  executing: e(u),
595
595
  onClosed: e(A),
596
- onSubmit: e(b)
596
+ onSubmit: e(_)
597
597
  }, {
598
598
  default: o(() => [
599
599
  l(M, {
@@ -601,7 +601,7 @@ const tl = /* @__PURE__ */ O({
601
601
  ref: p,
602
602
  model: e(t),
603
603
  "label-width": "auto",
604
- rules: _,
604
+ rules: b,
605
605
  disabled: e(v) || e(u)
606
606
  }, {
607
607
  default: o(() => [
@@ -614,9 +614,9 @@ const tl = /* @__PURE__ */ O({
614
614
  prop: "menu_id"
615
615
  }, {
616
616
  default: o(() => [
617
- l(dl, {
617
+ l(sl, {
618
618
  modelValue: e(t).menu_id,
619
- "onUpdate:modelValue": n[0] || (n[0] = (C) => e(t).menu_id = C)
619
+ "onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q)
620
620
  }, null, 8, ["modelValue"])
621
621
  ]),
622
622
  _: 1
@@ -629,9 +629,9 @@ const tl = /* @__PURE__ */ O({
629
629
  l(r, {
630
630
  class: "w-full",
631
631
  modelValue: e(t).sort,
632
- "onUpdate:modelValue": n[1] || (n[1] = (C) => e(t).sort = C),
632
+ "onUpdate:modelValue": n[1] || (n[1] = (q) => e(t).sort = q),
633
633
  min: 0,
634
- placeholder: e(a)("base.placeholder.input")
634
+ placeholder: e(a)("placeholder.input")
635
635
  }, null, 8, ["modelValue", "placeholder"])
636
636
  ]),
637
637
  _: 1
@@ -643,8 +643,8 @@ const tl = /* @__PURE__ */ O({
643
643
  default: o(() => [
644
644
  l(y, {
645
645
  modelValue: e(t).name,
646
- "onUpdate:modelValue": n[2] || (n[2] = (C) => e(t).name = C),
647
- placeholder: e(a)("base.placeholder.input")
646
+ "onUpdate:modelValue": n[2] || (n[2] = (q) => e(t).name = q),
647
+ placeholder: e(a)("placeholder.input")
648
648
  }, null, 8, ["modelValue", "placeholder"])
649
649
  ]),
650
650
  _: 1
@@ -656,8 +656,8 @@ const tl = /* @__PURE__ */ O({
656
656
  default: o(() => [
657
657
  l(y, {
658
658
  modelValue: e(t).en_name,
659
- "onUpdate:modelValue": n[3] || (n[3] = (C) => e(t).en_name = C),
660
- placeholder: e(a)("base.placeholder.input")
659
+ "onUpdate:modelValue": n[3] || (n[3] = (q) => e(t).en_name = q),
660
+ placeholder: e(a)("placeholder.input")
661
661
  }, null, 8, ["modelValue", "placeholder"])
662
662
  ]),
663
663
  _: 1
@@ -669,8 +669,8 @@ const tl = /* @__PURE__ */ O({
669
669
  default: o(() => [
670
670
  l(y, {
671
671
  modelValue: e(t).remark,
672
- "onUpdate:modelValue": n[4] || (n[4] = (C) => e(t).remark = C),
673
- placeholder: e(a)("base.placeholder.input")
672
+ "onUpdate:modelValue": n[4] || (n[4] = (q) => e(t).remark = q),
673
+ placeholder: e(a)("placeholder.input")
674
674
  }, null, 8, ["modelValue", "placeholder"])
675
675
  ]),
676
676
  _: 1
@@ -687,10 +687,10 @@ const tl = /* @__PURE__ */ O({
687
687
  default: o(() => [
688
688
  l(y, {
689
689
  modelValue: e(t).urls,
690
- "onUpdate:modelValue": n[5] || (n[5] = (C) => e(t).urls = C),
690
+ "onUpdate:modelValue": n[5] || (n[5] = (q) => e(t).urls = q),
691
691
  type: "textarea",
692
692
  rows: 11,
693
- placeholder: e(a)("base.placeholder.input")
693
+ placeholder: e(a)("placeholder.input")
694
694
  }, null, 8, ["modelValue", "placeholder"])
695
695
  ]),
696
696
  _: 1
@@ -710,12 +710,12 @@ const tl = /* @__PURE__ */ O({
710
710
  };
711
711
  }
712
712
  });
713
- function Ue(R) {
714
- return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !ve(R);
713
+ function Me(x) {
714
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !we(x);
715
715
  }
716
- const Il = /* @__PURE__ */ O({
716
+ const Nl = /* @__PURE__ */ O({
717
717
  __name: "index",
718
- setup(R) {
718
+ setup(x) {
719
719
  const U = {
720
720
  keyword: "",
721
721
  status: 0
@@ -805,13 +805,13 @@ const Il = /* @__PURE__ */ O({
805
805
  size: "small",
806
806
  text: !0,
807
807
  onClick: () => k.value = ""
808
- }, Ue(y = a("base.cancel")) ? y : {
808
+ }, Me(y = a("base.cancel")) ? y : {
809
809
  default: () => [y]
810
810
  }), l(s("el-button"), {
811
811
  size: "small",
812
812
  type: "danger",
813
- onClick: () => x(r.key)
814
- }, Ue(m = a("base.confirm")) ? m : {
813
+ onClick: () => w(r.key)
814
+ }, Me(m = a("base.confirm")) ? m : {
815
815
  default: () => [m]
816
816
  })])]);
817
817
  }
@@ -827,7 +827,7 @@ const Il = /* @__PURE__ */ O({
827
827
  props: {
828
828
  activeValue: 1,
829
829
  inactiveValue: 2,
830
- api: Y.urls[xe],
830
+ api: Y.urls[Re],
831
831
  refresh: !0
832
832
  }
833
833
  },
@@ -848,7 +848,7 @@ const Il = /* @__PURE__ */ O({
848
848
  ], {
849
849
  requesting: V
850
850
  } = E(Y), {
851
- tableRef: _,
851
+ tableRef: b,
852
852
  formModalRef: c,
853
853
  keyword: i,
854
854
  search: p,
@@ -858,23 +858,23 @@ const Il = /* @__PURE__ */ O({
858
858
  editFormModal: f
859
859
  } = F(U), {
860
860
  formModalRef: g,
861
- openFormModal: b,
861
+ openFormModal: _,
862
862
  editFormModal: A
863
- } = F(), x = (n) => {
864
- Se[Ke]({
863
+ } = F(), w = (n) => {
864
+ Le[We]({
865
865
  key: n
866
866
  }).then(() => {
867
867
  k.value = "", t();
868
868
  });
869
869
  };
870
870
  return (n, d) => {
871
- const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), M = s("el-space"), C = s("el-page-header"), w = s("el-card");
872
- return L(), T(w, {
871
+ const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), M = s("el-space"), q = s("el-page-header"), R = s("el-card");
872
+ return L(), T(R, {
873
873
  class: "basic-card flex-full",
874
874
  "body-class": "flex-1",
875
875
  onClick: d[5] || (d[5] = () => k.value = "")
876
876
  }, {
877
- header: o(() => [l(C, {
877
+ header: o(() => [l(q, {
878
878
  class: "basic-header"
879
879
  }, {
880
880
  title: o(() => [l(e(K), {
@@ -884,8 +884,8 @@ const Il = /* @__PURE__ */ O({
884
884
  onOpen: e(u)
885
885
  }, null, 8, ["onOpen"]), l(r, {
886
886
  circle: "",
887
- icon: e(al),
888
- onClick: e(b)
887
+ icon: e(ol),
888
+ onClick: e(_)
889
889
  }, null, 8, ["icon", "onClick"])]),
890
890
  content: o(() => [l(M, {
891
891
  class: "search-bar"
@@ -893,20 +893,20 @@ const Il = /* @__PURE__ */ O({
893
893
  default: o(() => [l(y, {
894
894
  class: "basic-search-input",
895
895
  modelValue: e(i).keyword,
896
- "onUpdate:modelValue": d[0] || (d[0] = (q) => e(i).keyword = q),
897
- placeholder: e(a)("base.placeholder.keyword"),
896
+ "onUpdate:modelValue": d[0] || (d[0] = (C) => e(i).keyword = C),
897
+ placeholder: e(a)("placeholder.keyword"),
898
898
  clearable: "",
899
- onKeyup: d[1] || (d[1] = _e((q) => e(p)(), ["enter"])),
900
- onClear: d[2] || (d[2] = (q) => e(p)())
899
+ onKeyup: d[1] || (d[1] = ge((C) => e(p)(), ["enter"])),
900
+ onClear: d[2] || (d[2] = (C) => e(p)())
901
901
  }, null, 8, ["modelValue", "placeholder"]), l(S, {
902
902
  modelValue: e(i).status,
903
- "onUpdate:modelValue": d[3] || (d[3] = (q) => e(i).status = q),
904
- onChange: d[4] || (d[4] = (q) => e(p)())
903
+ "onUpdate:modelValue": d[3] || (d[3] = (C) => e(i).status = C),
904
+ onChange: d[4] || (d[4] = (C) => e(p)())
905
905
  }, {
906
- default: o(() => [(L(), B(G, null, ae([0, 1, 2], (q) => l(m, {
907
- key: q,
908
- label: e(a)(`status.${q}`),
909
- value: q
906
+ default: o(() => [(L(), B(G, null, ae([0, 1, 2], (C) => l(m, {
907
+ key: C,
908
+ label: e(a)(`status.${C}`),
909
+ value: C
910
910
  }, null, 8, ["label", "value"])), 64))]),
911
911
  _: 1
912
912
  }, 8, ["modelValue"]), l(e(oe), {
@@ -919,17 +919,17 @@ const Il = /* @__PURE__ */ O({
919
919
  })]),
920
920
  default: o(() => [l(e(me), {
921
921
  ref_key: "tableRef",
922
- ref: _,
922
+ ref: b,
923
923
  size: "small",
924
924
  columns: h,
925
- url: e(Y).urls[e(ge)],
925
+ url: e(Y).urls[e(he)],
926
926
  "search-param": e(i),
927
927
  "auto-search": ""
928
- }, null, 8, ["url", "search-param"]), l(rl, {
928
+ }, null, 8, ["url", "search-param"]), l(dl, {
929
929
  ref_key: "formModalRef",
930
930
  ref: c,
931
931
  onRefresh: e(t)
932
- }, null, 8, ["onRefresh"]), l(sl, {
932
+ }, null, 8, ["onRefresh"]), l(ul, {
933
933
  ref_key: "ruleFormModalRef",
934
934
  ref: g,
935
935
  onRefresh: e(t)
@@ -938,82 +938,82 @@ const Il = /* @__PURE__ */ O({
938
938
  });
939
939
  };
940
940
  }
941
- }), he = W.routineApi("role", "key"), ul = { class: "rule-check" }, il = { style: { width: "80px", "line-height": "36px" } }, pl = /* @__PURE__ */ O({
941
+ }), Ve = W.routineApi("role", "key"), il = { class: "rule-check" }, pl = { style: { width: "80px", "line-height": "36px" } }, ml = /* @__PURE__ */ O({
942
942
  __name: "RulesCheck",
943
943
  props: {
944
944
  modelValue: { type: Array, required: !0 },
945
945
  disabled: { type: Boolean, default: !1 }
946
946
  },
947
947
  emits: ["update:modelValue"],
948
- setup(R, { expose: U, emit: k }) {
949
- const { requesting: h } = E(Y), V = R, _ = k, c = I(!1), i = Ie({
948
+ setup(x, { expose: U, emit: k }) {
949
+ const { requesting: h } = E(Y), V = x, b = k, c = I(!1), i = Ne({
950
950
  checkAll: !1,
951
951
  indeterminate: !1,
952
952
  MenuAll: {},
953
953
  MenuList: {},
954
954
  MenuIndeterminate: {}
955
- }), { options: p, refresh: t } = re(te(V, "modelValue"), _, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
955
+ }), { options: p, refresh: t } = re(te(V, "modelValue"), b, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
956
956
  function v() {
957
- p.value.forEach((x) => {
957
+ p.value.forEach((w) => {
958
958
  var n;
959
- (n = x.rules) != null && n.length && (i.MenuAll[x.id] = !1, i.MenuIndeterminate[x.id] = !1, i.MenuList[x.id] = []);
959
+ (n = w.rules) != null && n.length && (i.MenuAll[w.id] = !1, i.MenuIndeterminate[w.id] = !1, i.MenuList[w.id] = []);
960
960
  });
961
961
  }
962
- function u(x) {
962
+ function u(w) {
963
963
  p.value.forEach((n) => {
964
964
  var d;
965
- (d = n.rules) != null && d.length && (i.MenuList[n.id] = x ? n.rules.map((r) => r.key) : []);
965
+ (d = n.rules) != null && d.length && (i.MenuList[n.id] = w ? n.rules.map((r) => r.key) : []);
966
966
  }), g();
967
967
  }
968
- function f(x, n) {
968
+ function f(w, n) {
969
969
  const d = p.value.find((r) => r.id === n);
970
- i.MenuList[n] = x && d ? d.rules.map((r) => r.key) : [], g();
970
+ i.MenuList[n] = w && d ? d.rules.map((r) => r.key) : [], g();
971
971
  }
972
972
  function g() {
973
- p.value.forEach((x) => {
973
+ p.value.forEach((w) => {
974
974
  var r, y;
975
- const n = ((r = x.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[x.id]) == null ? void 0 : y.length) || 0;
976
- i.MenuAll[x.id] = d === n && n > 0, i.MenuIndeterminate[x.id] = d > 0 && d < n;
977
- }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((x) => x.length > 0), _("update:modelValue", Object.values(i.MenuList).flat());
975
+ const n = ((r = w.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[w.id]) == null ? void 0 : y.length) || 0;
976
+ i.MenuAll[w.id] = d === n && n > 0, i.MenuIndeterminate[w.id] = d > 0 && d < n;
977
+ }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((w) => w.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
978
978
  }
979
- function b() {
980
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), _("update:modelValue", []), c.value = !1;
979
+ function _() {
980
+ i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), c.value = !1;
981
981
  }
982
- function A(x) {
982
+ function A(w) {
983
983
  var n;
984
984
  if (Array.isArray(p.value) && p.value.length > 0) {
985
985
  for (let d of p.value)
986
986
  if (Array.isArray(d.rules) && d.rules.length > 0)
987
987
  for (let r of d.rules)
988
- x.some((y) => y === r.key) && (i.MenuList[d.id] = (((n = i.MenuList) == null ? void 0 : n[d.id]) || []).concat([r.key]));
988
+ w.some((y) => y === r.key) && (i.MenuList[d.id] = (((n = i.MenuList) == null ? void 0 : n[d.id]) || []).concat([r.key]));
989
989
  g(), c.value = !0;
990
990
  }
991
991
  }
992
- return Ne(async () => {
993
- var x;
994
- (x = p.value) != null && x.length || await t(), !c.value && V.modelValue && A(V.modelValue);
995
- }), we(
992
+ return Pe(async () => {
993
+ var w;
994
+ (w = p.value) != null && w.length || await t(), !c.value && V.modelValue && A(V.modelValue);
995
+ }), xe(
996
996
  () => V.modelValue,
997
- (x) => {
998
- Pe(() => {
997
+ (w) => {
998
+ Be(() => {
999
999
  var n;
1000
- c.value || !((n = p.value) != null && n.length) || x && x.length > 0 && A(x);
1000
+ c.value || !((n = p.value) != null && n.length) || w && w.length > 0 && A(w);
1001
1001
  });
1002
1002
  },
1003
1003
  { deep: !0, immediate: !0 }
1004
1004
  ), U({
1005
1005
  generateOption: A,
1006
- cleanChecked: b
1007
- }), (x, n) => {
1006
+ cleanChecked: _
1007
+ }), (w, n) => {
1008
1008
  const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), m = s("el-divider"), S = s("el-checkbox-group");
1009
- return L(), B("div", ul, [
1009
+ return L(), B("div", il, [
1010
1010
  l(r, { style: { "margin-bottom": "6px" } }, {
1011
1011
  default: o(() => [
1012
1012
  l(d, {
1013
1013
  "model-value": i.checkAll,
1014
1014
  indeterminate: i.indeterminate,
1015
1015
  id: "all",
1016
- disabled: R.disabled,
1016
+ disabled: x.disabled,
1017
1017
  onChange: u
1018
1018
  }, {
1019
1019
  default: o(() => [...n[1] || (n[1] = [
@@ -1047,9 +1047,9 @@ const Il = /* @__PURE__ */ O({
1047
1047
  l(d, {
1048
1048
  style: { "min-width": "150px" },
1049
1049
  "model-value": i.MenuAll[M.id],
1050
- disabled: R.disabled || !M.rules || M.rules.length <= 0,
1050
+ disabled: x.disabled || !M.rules || M.rules.length <= 0,
1051
1051
  indeterminate: i.MenuIndeterminate[M.id],
1052
- onChange: (C) => f(C, M.id)
1052
+ onChange: (q) => f(q, M.id)
1053
1053
  }, {
1054
1054
  default: o(() => [
1055
1055
  l(y, { style: { "font-size": "15px" } }, {
@@ -1065,24 +1065,24 @@ const Il = /* @__PURE__ */ O({
1065
1065
  M.rules ? (L(), T(S, {
1066
1066
  key: 0,
1067
1067
  modelValue: i.MenuList[M.id],
1068
- "onUpdate:modelValue": (C) => i.MenuList[M.id] = C,
1069
- disabled: R.disabled,
1068
+ "onUpdate:modelValue": (q) => i.MenuList[M.id] = q,
1069
+ disabled: x.disabled,
1070
1070
  style: { margin: "auto" },
1071
1071
  onChange: g
1072
1072
  }, {
1073
1073
  default: o(() => [
1074
- (L(!0), B(G, null, ae(M.rules, (C) => (L(), T(d, {
1075
- key: C.key,
1076
- value: C.key
1074
+ (L(!0), B(G, null, ae(M.rules, (q) => (L(), T(d, {
1075
+ key: q.key,
1076
+ value: q.key
1077
1077
  }, {
1078
1078
  default: o(() => [
1079
- N("div", il, z(C.translate), 1)
1079
+ N("div", pl, z(q.translate), 1)
1080
1080
  ]),
1081
1081
  _: 2
1082
1082
  }, 1032, ["value"]))), 128))
1083
1083
  ]),
1084
1084
  _: 2
1085
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Be("", !0)
1085
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : je("", !0)
1086
1086
  ]),
1087
1087
  _: 2
1088
1088
  }, 1024)
@@ -1093,16 +1093,16 @@ const Il = /* @__PURE__ */ O({
1093
1093
  ]);
1094
1094
  };
1095
1095
  }
1096
- }), Le = (R, U) => {
1097
- const k = R.__vccOpts || R;
1096
+ }), Ce = (x, U) => {
1097
+ const k = x.__vccOpts || x;
1098
1098
  for (const [h, V] of U)
1099
1099
  k[h] = V;
1100
1100
  return k;
1101
- }, ml = /* @__PURE__ */ Le(pl, [["__scopeId", "data-v-7adb5f76"]]), cl = /* @__PURE__ */ O({
1101
+ }, cl = /* @__PURE__ */ Ce(ml, [["__scopeId", "data-v-7adb5f76"]]), fl = /* @__PURE__ */ O({
1102
1102
  __name: "RoleFormModal",
1103
1103
  emits: ["refresh"],
1104
- setup(R, { expose: U, emit: k }) {
1105
- const h = k, V = I(), _ = {
1104
+ setup(x, { expose: U, emit: k }) {
1105
+ const h = k, V = I(), b = {
1106
1106
  key: "",
1107
1107
  module: "",
1108
1108
  sort: 0,
@@ -1114,29 +1114,29 @@ const Il = /* @__PURE__ */ O({
1114
1114
  name: [
1115
1115
  {
1116
1116
  required: !0,
1117
- message: a("base.placeholder.input base.name"),
1117
+ message: a("placeholder.input base.name"),
1118
1118
  trigger: "blur"
1119
1119
  }
1120
1120
  ],
1121
1121
  en_name: [
1122
1122
  {
1123
1123
  required: !0,
1124
- message: a("base.placeholder.input base.en_name"),
1124
+ message: a("placeholder.input base.en_name"),
1125
1125
  trigger: "blur"
1126
1126
  }
1127
1127
  ]
1128
- }, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: g, modify: b, submit: A, closed: x } = J(h, _, he), n = () => {
1128
+ }, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: g, modify: _, submit: A, closed: w } = J(h, b, Ve), n = () => {
1129
1129
  var d;
1130
- (d = V.value) == null || d.cleanChecked(), x();
1130
+ (d = V.value) == null || d.cleanChecked(), w();
1131
1131
  };
1132
1132
  return U({
1133
1133
  open: g,
1134
- modify: b
1134
+ modify: _
1135
1135
  }), (d, r) => {
1136
- const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), M = s("el-input-number"), C = s("el-row"), w = s("el-form");
1136
+ const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), M = s("el-input-number"), q = s("el-row"), R = s("el-form");
1137
1137
  return L(), T(e(ee), {
1138
1138
  modelValue: e(i),
1139
- "onUpdate:modelValue": r[6] || (r[6] = (q) => P(i) ? i.value = q : null),
1139
+ "onUpdate:modelValue": r[6] || (r[6] = (C) => P(i) ? i.value = C : null),
1140
1140
  title: e(p)(),
1141
1141
  width: "1000px",
1142
1142
  executing: e(f),
@@ -1144,7 +1144,7 @@ const Il = /* @__PURE__ */ O({
1144
1144
  onSubmit: e(A)
1145
1145
  }, {
1146
1146
  default: o(() => [
1147
- l(w, {
1147
+ l(R, {
1148
1148
  ref_key: "form",
1149
1149
  ref: t,
1150
1150
  model: e(v),
@@ -1153,7 +1153,7 @@ const Il = /* @__PURE__ */ O({
1153
1153
  disabled: e(u) || e(f)
1154
1154
  }, {
1155
1155
  default: o(() => [
1156
- l(C, { gutter: 20 }, {
1156
+ l(q, { gutter: 20 }, {
1157
1157
  default: o(() => [
1158
1158
  l(S, { span: 12 }, {
1159
1159
  default: o(() => [
@@ -1164,8 +1164,8 @@ const Il = /* @__PURE__ */ O({
1164
1164
  default: o(() => [
1165
1165
  l(y, {
1166
1166
  modelValue: e(v).module,
1167
- "onUpdate:modelValue": r[0] || (r[0] = (q) => e(v).module = q),
1168
- placeholder: e(a)("base.placeholder.input")
1167
+ "onUpdate:modelValue": r[0] || (r[0] = (C) => e(v).module = C),
1168
+ placeholder: e(a)("placeholder.input")
1169
1169
  }, null, 8, ["modelValue", "placeholder"])
1170
1170
  ]),
1171
1171
  _: 1
@@ -1183,9 +1183,9 @@ const Il = /* @__PURE__ */ O({
1183
1183
  l(M, {
1184
1184
  class: "w-full",
1185
1185
  modelValue: e(v).sort,
1186
- "onUpdate:modelValue": r[1] || (r[1] = (q) => e(v).sort = q),
1186
+ "onUpdate:modelValue": r[1] || (r[1] = (C) => e(v).sort = C),
1187
1187
  min: 0,
1188
- placeholder: e(a)("base.placeholder.input")
1188
+ placeholder: e(a)("placeholder.input")
1189
1189
  }, null, 8, ["modelValue", "placeholder"])
1190
1190
  ]),
1191
1191
  _: 1
@@ -1203,8 +1203,8 @@ const Il = /* @__PURE__ */ O({
1203
1203
  default: o(() => [
1204
1204
  l(y, {
1205
1205
  modelValue: e(v).name,
1206
- "onUpdate:modelValue": r[2] || (r[2] = (q) => e(v).name = q),
1207
- placeholder: e(a)("base.placeholder.input")
1206
+ "onUpdate:modelValue": r[2] || (r[2] = (C) => e(v).name = C),
1207
+ placeholder: e(a)("placeholder.input")
1208
1208
  }, null, 8, ["modelValue", "placeholder"])
1209
1209
  ]),
1210
1210
  _: 1
@@ -1216,8 +1216,8 @@ const Il = /* @__PURE__ */ O({
1216
1216
  default: o(() => [
1217
1217
  l(y, {
1218
1218
  modelValue: e(v).en_name,
1219
- "onUpdate:modelValue": r[3] || (r[3] = (q) => e(v).en_name = q),
1220
- placeholder: e(a)("base.placeholder.input")
1219
+ "onUpdate:modelValue": r[3] || (r[3] = (C) => e(v).en_name = C),
1220
+ placeholder: e(a)("placeholder.input")
1221
1221
  }, null, 8, ["modelValue", "placeholder"])
1222
1222
  ]),
1223
1223
  _: 1
@@ -1229,8 +1229,8 @@ const Il = /* @__PURE__ */ O({
1229
1229
  default: o(() => [
1230
1230
  l(y, {
1231
1231
  modelValue: e(v).remark,
1232
- "onUpdate:modelValue": r[4] || (r[4] = (q) => e(v).remark = q),
1233
- placeholder: e(a)("base.placeholder.input")
1232
+ "onUpdate:modelValue": r[4] || (r[4] = (C) => e(v).remark = C),
1233
+ placeholder: e(a)("placeholder.input")
1234
1234
  }, null, 8, ["modelValue", "placeholder"])
1235
1235
  ]),
1236
1236
  _: 1
@@ -1240,11 +1240,11 @@ const Il = /* @__PURE__ */ O({
1240
1240
  prop: "rules"
1241
1241
  }, {
1242
1242
  default: o(() => [
1243
- l(ml, {
1243
+ l(cl, {
1244
1244
  ref_key: "rulesCheck",
1245
1245
  ref: V,
1246
1246
  modelValue: e(v).rules,
1247
- "onUpdate:modelValue": r[5] || (r[5] = (q) => e(v).rules = q),
1247
+ "onUpdate:modelValue": r[5] || (r[5] = (C) => e(v).rules = C),
1248
1248
  disabled: e(u) || e(f)
1249
1249
  }, null, 8, ["modelValue", "disabled"])
1250
1250
  ]),
@@ -1258,9 +1258,9 @@ const Il = /* @__PURE__ */ O({
1258
1258
  }, 8, ["modelValue", "title", "executing", "onSubmit"]);
1259
1259
  };
1260
1260
  }
1261
- }), Nl = /* @__PURE__ */ O({
1261
+ }), Pl = /* @__PURE__ */ O({
1262
1262
  __name: "index",
1263
- setup(R) {
1263
+ setup(x) {
1264
1264
  const U = {
1265
1265
  keyword: ""
1266
1266
  }, k = [
@@ -1306,9 +1306,9 @@ const Il = /* @__PURE__ */ O({
1306
1306
  }
1307
1307
  ], {
1308
1308
  requesting: h
1309
- } = E(he), {
1309
+ } = E(Ve), {
1310
1310
  tableRef: V,
1311
- formModalRef: _,
1311
+ formModalRef: b,
1312
1312
  keyword: c,
1313
1313
  search: i,
1314
1314
  reset: p,
@@ -1317,12 +1317,12 @@ const Il = /* @__PURE__ */ O({
1317
1317
  editFormModal: u
1318
1318
  } = F(U);
1319
1319
  return (f, g) => {
1320
- const b = s("el-input"), A = s("el-space"), x = s("el-page-header"), n = s("el-card");
1320
+ const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"), n = s("el-card");
1321
1321
  return L(), T(n, {
1322
1322
  class: "basic-card flex-full",
1323
1323
  "body-class": "flex-1"
1324
1324
  }, {
1325
- header: o(() => [l(x, {
1325
+ header: o(() => [l(w, {
1326
1326
  class: "basic-header"
1327
1327
  }, {
1328
1328
  title: o(() => [l(e(K), {
@@ -1334,13 +1334,13 @@ const Il = /* @__PURE__ */ O({
1334
1334
  content: o(() => [l(A, {
1335
1335
  class: "search-bar"
1336
1336
  }, {
1337
- default: o(() => [l(b, {
1337
+ default: o(() => [l(_, {
1338
1338
  class: "basic-search-input",
1339
1339
  modelValue: e(c).keyword,
1340
1340
  "onUpdate:modelValue": g[0] || (g[0] = (d) => e(c).keyword = d),
1341
- placeholder: e(a)("base.placeholder.keyword"),
1341
+ placeholder: e(a)("placeholder.keyword"),
1342
1342
  clearable: "",
1343
- onKeyup: g[1] || (g[1] = _e((d) => e(i)(), ["enter"])),
1343
+ onKeyup: g[1] || (g[1] = ge((d) => e(i)(), ["enter"])),
1344
1344
  onClear: g[2] || (g[2] = (d) => e(i)())
1345
1345
  }, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
1346
1346
  disabled: e(h),
@@ -1354,12 +1354,12 @@ const Il = /* @__PURE__ */ O({
1354
1354
  ref_key: "tableRef",
1355
1355
  ref: V,
1356
1356
  columns: k,
1357
- url: e(he).urls[e(ge)],
1357
+ url: e(Ve).urls[e(he)],
1358
1358
  "search-param": e(c),
1359
1359
  "auto-search": ""
1360
- }, null, 8, ["url", "search-param"]), l(cl, {
1360
+ }, null, 8, ["url", "search-param"]), l(fl, {
1361
1361
  ref_key: "formModalRef",
1362
- ref: _,
1362
+ ref: b,
1363
1363
  onRefresh: e(t)
1364
1364
  }, null, 8, ["onRefresh"])]),
1365
1365
  _: 1
@@ -1372,7 +1372,7 @@ const Il = /* @__PURE__ */ O({
1372
1372
  languages: "languages"
1373
1373
  }, {}, ["I18N_MODULES"]), ne = W.routineApi("I18N_template", "uuid", {
1374
1374
  apps: "apps"
1375
- }), Ce = /* @__PURE__ */ O({
1375
+ }), qe = /* @__PURE__ */ O({
1376
1376
  __name: "ModuleSelect",
1377
1377
  props: {
1378
1378
  modelValue: {
@@ -1390,13 +1390,13 @@ const Il = /* @__PURE__ */ O({
1390
1390
  }
1391
1391
  },
1392
1392
  emits: ["update:modelValue", "update:value", "change"],
1393
- setup(R, {
1393
+ setup(x, {
1394
1394
  emit: U
1395
1395
  }) {
1396
- const k = U, h = R, {
1396
+ const k = U, h = x, {
1397
1397
  requesting: V
1398
1398
  } = E(H), {
1399
- value: _,
1399
+ value: b,
1400
1400
  options: c,
1401
1401
  change: i,
1402
1402
  refresh: p,
@@ -1411,37 +1411,37 @@ const Il = /* @__PURE__ */ O({
1411
1411
  const f = s("el-space"), g = s("el-select-v2");
1412
1412
  return L(), T(g, {
1413
1413
  class: "w-full",
1414
- modelValue: e(_),
1415
- "onUpdate:modelValue": u[1] || (u[1] = (b) => P(_) ? _.value = b : null),
1414
+ modelValue: e(b),
1415
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => P(b) ? b.value = _ : null),
1416
1416
  options: e(c),
1417
- multiple: R.multiple,
1417
+ multiple: x.multiple,
1418
1418
  disabled: e(V),
1419
- clearable: R.clearable,
1419
+ clearable: x.clearable,
1420
1420
  filterable: "",
1421
1421
  "allow-create": "",
1422
1422
  "default-first-option": "",
1423
- placeholder: e(a)("base.placeholder.select"),
1423
+ placeholder: e(a)("placeholder.select"),
1424
1424
  filterOptions: e(t),
1425
1425
  onChange: e(i)
1426
1426
  }, {
1427
1427
  prefix: o(() => [l(e(pe), {
1428
1428
  loading: e(V),
1429
- onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
1429
+ onRefresh: u[0] || (u[0] = (_) => e(p)(!0))
1430
1430
  }, null, 8, ["loading"])]),
1431
1431
  default: o(({
1432
- item: b
1432
+ item: _
1433
1433
  }) => [l(f, null, {
1434
- default: o(() => [N("span", null, z(b.value), 1)]),
1434
+ default: o(() => [N("span", null, z(_.value), 1)]),
1435
1435
  _: 2
1436
1436
  }, 1024)]),
1437
1437
  _: 1
1438
1438
  }, 8, ["modelValue", "options", "multiple", "disabled", "clearable", "placeholder", "filterOptions", "onChange"]);
1439
1439
  };
1440
1440
  }
1441
- }), fl = /* @__PURE__ */ O({
1441
+ }), _l = /* @__PURE__ */ O({
1442
1442
  __name: "I18N",
1443
1443
  emits: ["refresh"],
1444
- setup(R, { expose: U, emit: k }) {
1444
+ setup(x, { expose: U, emit: k }) {
1445
1445
  const h = k, V = {
1446
1446
  uuid: "",
1447
1447
  key: "",
@@ -1451,7 +1451,7 @@ const Il = /* @__PURE__ */ O({
1451
1451
  "en-US": ""
1452
1452
  },
1453
1453
  remark: ""
1454
- }, _ = {
1454
+ }, b = {
1455
1455
  module: [
1456
1456
  {
1457
1457
  required: !0,
@@ -1480,7 +1480,7 @@ const Il = /* @__PURE__ */ O({
1480
1480
  trigger: "blur"
1481
1481
  }
1482
1482
  ]
1483
- }, c = I([]), i = We();
1483
+ }, c = I([]), i = Ye();
1484
1484
  function p() {
1485
1485
  const r = {
1486
1486
  isArray: !0,
@@ -1493,29 +1493,29 @@ const Il = /* @__PURE__ */ O({
1493
1493
  });
1494
1494
  }
1495
1495
  p();
1496
- const { modal: t, title: v, form: u, formData: f, requesting: g, executing: b, open: A, modify: x, submit: n, closed: d } = J(h, V, H);
1496
+ const { modal: t, title: v, form: u, formData: f, requesting: g, executing: _, open: A, modify: w, submit: n, closed: d } = J(h, V, H);
1497
1497
  return U({
1498
1498
  open: A,
1499
- modify: x
1499
+ modify: w
1500
1500
  }), (r, y) => {
1501
- const m = s("el-form-item"), S = s("el-input"), M = s("el-space"), C = s("el-form");
1501
+ const m = s("el-form-item"), S = s("el-input"), M = s("el-space"), q = s("el-form");
1502
1502
  return L(), T(e(ee), {
1503
1503
  modelValue: e(t),
1504
- "onUpdate:modelValue": y[3] || (y[3] = (w) => P(t) ? t.value = w : null),
1504
+ "onUpdate:modelValue": y[3] || (y[3] = (R) => P(t) ? t.value = R : null),
1505
1505
  title: e(v)(),
1506
1506
  width: "600px",
1507
- executing: e(b),
1507
+ executing: e(_),
1508
1508
  onClosed: e(d),
1509
1509
  onSubmit: e(n)
1510
1510
  }, {
1511
1511
  default: o(() => [
1512
- l(C, {
1512
+ l(q, {
1513
1513
  ref_key: "form",
1514
1514
  ref: u,
1515
1515
  model: e(f),
1516
1516
  "label-width": "auto",
1517
- rules: _,
1518
- disabled: e(g) || e(b)
1517
+ rules: b,
1518
+ disabled: e(g) || e(_)
1519
1519
  }, {
1520
1520
  default: o(() => [
1521
1521
  l(m, {
@@ -1524,9 +1524,9 @@ const Il = /* @__PURE__ */ O({
1524
1524
  required: ""
1525
1525
  }, {
1526
1526
  default: o(() => [
1527
- l(Ce, {
1527
+ l(qe, {
1528
1528
  modelValue: e(f).module,
1529
- "onUpdate:modelValue": y[0] || (y[0] = (w) => e(f).module = w)
1529
+ "onUpdate:modelValue": y[0] || (y[0] = (R) => e(f).module = R)
1530
1530
  }, null, 8, ["modelValue"])
1531
1531
  ]),
1532
1532
  _: 1
@@ -1539,7 +1539,7 @@ const Il = /* @__PURE__ */ O({
1539
1539
  default: o(() => [
1540
1540
  l(S, {
1541
1541
  modelValue: e(f).key,
1542
- "onUpdate:modelValue": y[1] || (y[1] = (w) => e(f).key = w),
1542
+ "onUpdate:modelValue": y[1] || (y[1] = (R) => e(f).key = R),
1543
1543
  placeholder: e(a)("language.placeholder.key")
1544
1544
  }, null, 8, ["modelValue", "placeholder"])
1545
1545
  ]),
@@ -1557,14 +1557,14 @@ const Il = /* @__PURE__ */ O({
1557
1557
  style: { width: "100%" }
1558
1558
  }, {
1559
1559
  default: o(() => [
1560
- (L(!0), B(G, null, ae(c.value, (w) => (L(), B("div", { key: w }, [
1560
+ (L(!0), B(G, null, ae(c.value, (R) => (L(), B("div", { key: R }, [
1561
1561
  l(S, {
1562
- modelValue: e(f).language[w],
1563
- "onUpdate:modelValue": (q) => e(f).language[w] = q,
1562
+ modelValue: e(f).language[R],
1563
+ "onUpdate:modelValue": (C) => e(f).language[R] = C,
1564
1564
  placeholder: e(a)("i18n.placeholder.key")
1565
1565
  }, {
1566
1566
  prepend: o(() => [
1567
- Z(z(w), 1)
1567
+ Z(z(R), 1)
1568
1568
  ]),
1569
1569
  _: 2
1570
1570
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder"])
@@ -1582,8 +1582,8 @@ const Il = /* @__PURE__ */ O({
1582
1582
  default: o(() => [
1583
1583
  l(S, {
1584
1584
  modelValue: e(f).remark,
1585
- "onUpdate:modelValue": y[2] || (y[2] = (w) => e(f).remark = w),
1586
- placeholder: e(a)("base.placeholder.input")
1585
+ "onUpdate:modelValue": y[2] || (y[2] = (R) => e(f).remark = R),
1586
+ placeholder: e(a)("placeholder.input")
1587
1587
  }, null, 8, ["modelValue", "placeholder"])
1588
1588
  ]),
1589
1589
  _: 1
@@ -1597,17 +1597,17 @@ const Il = /* @__PURE__ */ O({
1597
1597
  };
1598
1598
  }
1599
1599
  });
1600
- function bl(R) {
1601
- return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !ve(R);
1600
+ function bl(x) {
1601
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !we(x);
1602
1602
  }
1603
- const qe = /* @__PURE__ */ O({
1603
+ const Te = /* @__PURE__ */ O({
1604
1604
  __name: "I18N",
1605
1605
  emits: ["closed", "choosed"],
1606
- setup(R, {
1606
+ setup(x, {
1607
1607
  expose: U,
1608
1608
  emit: k
1609
1609
  }) {
1610
- const h = I(!1), V = k, _ = {
1610
+ const h = I(!1), V = k, b = {
1611
1611
  keyword: "",
1612
1612
  module: void 0,
1613
1613
  status: 0
@@ -1639,7 +1639,7 @@ const qe = /* @__PURE__ */ O({
1639
1639
  props: {
1640
1640
  activeValue: 1,
1641
1641
  inactiveValue: 2,
1642
- api: H.urls[xe],
1642
+ api: H.urls[Re],
1643
1643
  refresh: !0
1644
1644
  }
1645
1645
  }, {
@@ -1652,7 +1652,7 @@ const qe = /* @__PURE__ */ O({
1652
1652
  }) => l(s("el-space"), null, {
1653
1653
  default: () => [l(le, {
1654
1654
  size: "default",
1655
- onModify: () => x({
1655
+ onModify: () => w({
1656
1656
  uuid: y.uuid
1657
1657
  })
1658
1658
  }, null), l(Q, {
@@ -1672,15 +1672,15 @@ const qe = /* @__PURE__ */ O({
1672
1672
  keyword: u,
1673
1673
  search: f,
1674
1674
  reset: g,
1675
- refresh: b,
1675
+ refresh: _,
1676
1676
  openFormModal: A,
1677
- editFormModal: x
1678
- } = F(_);
1677
+ editFormModal: w
1678
+ } = F(b);
1679
1679
  function n(y) {
1680
1680
  return H.remove({
1681
1681
  uuid: y
1682
1682
  }).finally(() => {
1683
- b();
1683
+ _();
1684
1684
  });
1685
1685
  }
1686
1686
  const d = () => {
@@ -1689,12 +1689,12 @@ const qe = /* @__PURE__ */ O({
1689
1689
  function r(y) {
1690
1690
  V("choosed", y), h.value = !1;
1691
1691
  }
1692
- return we(() => h.value, (y) => {
1692
+ return xe(() => h.value, (y) => {
1693
1693
  y || V("closed");
1694
1694
  }), U({
1695
1695
  open: d
1696
1696
  }), (y, m) => {
1697
- const S = s("el-input"), M = s("el-radio-button"), C = s("el-radio-group"), w = s("el-space"), q = s("el-page-header");
1697
+ const S = s("el-input"), M = s("el-radio-button"), q = s("el-radio-group"), R = s("el-space"), C = s("el-page-header");
1698
1698
  return L(), T(e(ce), {
1699
1699
  modelValue: h.value,
1700
1700
  "onUpdate:modelValue": m[7] || (m[7] = (D) => h.value = D),
@@ -1702,7 +1702,7 @@ const qe = /* @__PURE__ */ O({
1702
1702
  "show-close": !1,
1703
1703
  class: "basic-drawer"
1704
1704
  }, {
1705
- title: o(() => [l(q, {
1705
+ title: o(() => [l(C, {
1706
1706
  class: "basic-header"
1707
1707
  }, {
1708
1708
  title: o(() => [l(e(K), {
@@ -1711,7 +1711,7 @@ const qe = /* @__PURE__ */ O({
1711
1711
  }, null, 8, ["loading", "onRefresh"]), l(e(j), {
1712
1712
  onOpen: e(A)
1713
1713
  }, null, 8, ["onOpen"])]),
1714
- content: o(() => [l(w, {
1714
+ content: o(() => [l(R, {
1715
1715
  class: "search-bar"
1716
1716
  }, {
1717
1717
  default: o(() => [l(S, {
@@ -1720,15 +1720,15 @@ const qe = /* @__PURE__ */ O({
1720
1720
  },
1721
1721
  modelValue: e(u).keyword,
1722
1722
  "onUpdate:modelValue": m[0] || (m[0] = (D) => e(u).keyword = D),
1723
- placeholder: e(a)("base.placeholder.keyword"),
1723
+ placeholder: e(a)("placeholder.keyword"),
1724
1724
  clearable: "",
1725
- onKeyup: m[1] || (m[1] = _e((D) => e(f)(), ["enter"])),
1725
+ onKeyup: m[1] || (m[1] = ge((D) => e(f)(), ["enter"])),
1726
1726
  onClear: m[2] || (m[2] = (D) => e(f)())
1727
- }, null, 8, ["modelValue", "placeholder"]), l(Ce, {
1727
+ }, null, 8, ["modelValue", "placeholder"]), l(qe, {
1728
1728
  modelValue: e(u).module,
1729
1729
  "onUpdate:modelValue": m[3] || (m[3] = (D) => e(u).module = D),
1730
1730
  clearable: !0
1731
- }, null, 8, ["modelValue"]), l(C, {
1731
+ }, null, 8, ["modelValue"]), l(q, {
1732
1732
  modelValue: e(u).status,
1733
1733
  "onUpdate:modelValue": m[4] || (m[4] = (D) => e(u).status = D),
1734
1734
  onChange: m[5] || (m[5] = (D) => e(f)())
@@ -1751,24 +1751,24 @@ const qe = /* @__PURE__ */ O({
1751
1751
  ref_key: "tableRef",
1752
1752
  ref: t,
1753
1753
  columns: c,
1754
- url: e(H).urls[e(ge)],
1754
+ url: e(H).urls[e(he)],
1755
1755
  "search-param": e(u),
1756
1756
  onRowDblclick: r,
1757
1757
  "auto-search": ""
1758
- }, null, 8, ["url", "search-param"]), l(fl, {
1758
+ }, null, 8, ["url", "search-param"]), l(_l, {
1759
1759
  ref_key: "formModalRef",
1760
1760
  ref: v,
1761
- onRefresh: e(b)
1761
+ onRefresh: e(_)
1762
1762
  }, null, 8, ["onRefresh"])]),
1763
1763
  _: 1
1764
1764
  }, 8, ["modelValue"]);
1765
1765
  };
1766
1766
  }
1767
- }), _l = /* @__PURE__ */ O({
1767
+ }), gl = /* @__PURE__ */ O({
1768
1768
  __name: "template",
1769
1769
  emits: ["refresh"],
1770
- setup(R, { expose: U, emit: k }) {
1771
- const { formModalRef: h, openFormModal: V } = F(), _ = k, c = I("600px"), i = I({
1770
+ setup(x, { expose: U, emit: k }) {
1771
+ const { formModalRef: h, openFormModal: V } = F(), b = k, c = I("600px"), i = I({
1772
1772
  "zh-CN": "primary",
1773
1773
  "en-US": "success"
1774
1774
  }), p = I({}), t = {
@@ -1799,35 +1799,41 @@ const qe = /* @__PURE__ */ O({
1799
1799
  trigger: "change"
1800
1800
  }
1801
1801
  ]
1802
- }, { modal: u, title: f, form: g, formData: b, requesting: A, executing: x, open: n, modify: d, submit: r, closed: y } = J(_, t, ne);
1802
+ }, { modal: u, title: f, form: g, formData: _, requesting: A, executing: w, open: n, modify: d, submit: r, closed: y } = J(b, t, ne);
1803
1803
  function m() {
1804
1804
  c.value = "1080px", V();
1805
1805
  }
1806
1806
  function S() {
1807
1807
  c.value = "600px";
1808
1808
  }
1809
- function M(C) {
1810
- let w = C.module.toLowerCase() + "." + C.key.toLowerCase();
1811
- b.keys.push(w), b.values.push(w);
1812
- for (const q in C.language)
1813
- p.value[q] || (p.value[q] = []), p.value[q].push(C.language[q]);
1809
+ function M(R) {
1810
+ let C = R.module.toLowerCase() + "." + R.key.toLowerCase();
1811
+ _.keys.push(C), _.values.push(C);
1812
+ for (const D in R.language)
1813
+ p.value[D] || (p.value[D] = []), p.value[D].push(R.language[D]);
1814
+ }
1815
+ function q() {
1816
+ c.value = "600px", p.value = {
1817
+ "zh-CN": [],
1818
+ "en-US": []
1819
+ };
1814
1820
  }
1815
- return we(() => u.value, (C) => {
1816
- C ? c.value = "600px" : y();
1821
+ return xe(() => u.value, (R) => {
1822
+ R ? q() : y();
1817
1823
  }), U({
1818
1824
  open: n,
1819
1825
  modify: d
1820
- }), (C, w) => {
1821
- const q = s("el-page-header"), D = s("el-form-item"), $e = s("el-button"), Re = s("el-input"), Fe = s("el-tag"), Ee = s("el-space"), ze = s("el-form");
1826
+ }), (R, C) => {
1827
+ const D = s("el-page-header"), fe = s("el-form-item"), Fe = s("el-button"), Ue = s("el-input"), Ee = s("el-tag"), ze = s("el-space"), Ie = s("el-form");
1822
1828
  return L(), T(e(ce), {
1823
1829
  modelValue: e(u),
1824
- "onUpdate:modelValue": w[3] || (w[3] = (X) => P(u) ? u.value = X : null),
1830
+ "onUpdate:modelValue": C[3] || (C[3] = (X) => P(u) ? u.value = X : null),
1825
1831
  width: c.value,
1826
1832
  "show-close": !1,
1827
1833
  class: "basic-drawer"
1828
1834
  }, {
1829
1835
  title: o(() => [
1830
- l(q, { class: "basic-header" }, {
1836
+ l(D, { class: "basic-header" }, {
1831
1837
  title: o(() => [
1832
1838
  Z(z(e(f)()), 1)
1833
1839
  ]),
@@ -1838,7 +1844,7 @@ const qe = /* @__PURE__ */ O({
1838
1844
  type: "primary",
1839
1845
  icon: "icon-save",
1840
1846
  plain: !1,
1841
- loading: e(x),
1847
+ loading: e(w),
1842
1848
  onClick: e(r)
1843
1849
  }, null, 8, ["loading", "onClick"])
1844
1850
  ]),
@@ -1846,24 +1852,24 @@ const qe = /* @__PURE__ */ O({
1846
1852
  })
1847
1853
  ]),
1848
1854
  default: o(() => [
1849
- l(ze, {
1855
+ l(Ie, {
1850
1856
  ref_key: "form",
1851
1857
  ref: g,
1852
- model: e(b),
1858
+ model: e(_),
1853
1859
  "label-width": "auto",
1854
1860
  rules: v,
1855
- disabled: e(A) || e(x)
1861
+ disabled: e(A) || e(w)
1856
1862
  }, {
1857
1863
  default: o(() => [
1858
- l(D, {
1864
+ l(fe, {
1859
1865
  label: e(a)("i18n.app"),
1860
1866
  prop: "app",
1861
1867
  required: ""
1862
1868
  }, {
1863
1869
  default: o(() => [
1864
- l(e(Ae), {
1865
- modelValue: e(b).app,
1866
- "onUpdate:modelValue": w[0] || (w[0] = (X) => e(b).app = X),
1870
+ l(e(De), {
1871
+ modelValue: e(_).app,
1872
+ "onUpdate:modelValue": C[0] || (C[0] = (X) => e(_).app = X),
1867
1873
  "cache-key": "I18NAPPS",
1868
1874
  hidden: [0],
1869
1875
  url: e(ne).urls.apps
@@ -1871,20 +1877,20 @@ const qe = /* @__PURE__ */ O({
1871
1877
  ]),
1872
1878
  _: 1
1873
1879
  }, 8, ["label"]),
1874
- l(D, {
1880
+ l(fe, {
1875
1881
  label: e(a)("i18n.keys"),
1876
1882
  prop: "keys",
1877
1883
  required: ""
1878
1884
  }, {
1879
1885
  default: o(() => [
1880
- l(Re, {
1881
- modelValue: e(b).keys,
1882
- "onUpdate:modelValue": w[1] || (w[1] = (X) => e(b).keys = X),
1886
+ l(Ue, {
1887
+ modelValue: e(_).keys,
1888
+ "onUpdate:modelValue": C[1] || (C[1] = (X) => e(_).keys = X),
1883
1889
  placeholder: e(a)("i18n.placeholder.key")
1884
1890
  }, {
1885
1891
  append: o(() => [
1886
- l($e, {
1887
- icon: e(nl),
1892
+ l(Fe, {
1893
+ icon: e(tl),
1888
1894
  onClick: m
1889
1895
  }, null, 8, ["icon"])
1890
1896
  ]),
@@ -1893,32 +1899,32 @@ const qe = /* @__PURE__ */ O({
1893
1899
  ]),
1894
1900
  _: 1
1895
1901
  }, 8, ["label"]),
1896
- l(D, {
1902
+ l(fe, {
1897
1903
  label: e(a)("i18n.values"),
1898
1904
  prop: "values",
1899
1905
  required: ""
1900
1906
  }, {
1901
1907
  default: o(() => [
1902
- Z(z(e(b).values.join(":")), 1)
1908
+ Z(z(e(_).values.join(":")), 1)
1903
1909
  ]),
1904
1910
  _: 1
1905
1911
  }, 8, ["label"]),
1906
- l(D, {
1912
+ l(fe, {
1907
1913
  label: e(a)("i18n.values")
1908
1914
  }, {
1909
1915
  default: o(() => [
1910
- (L(!0), B(G, null, ae(p.value, (X, Ve) => (L(), B("div", {
1911
- key: Ve,
1916
+ (L(!0), B(G, null, ae(p.value, (X, ye) => (L(), B("div", {
1917
+ key: ye,
1912
1918
  class: "w-full"
1913
1919
  }, [
1914
- l(Ee, null, {
1920
+ l(ze, null, {
1915
1921
  default: o(() => [
1916
- l(Fe, {
1917
- type: i.value[Ve],
1922
+ l(Ee, {
1923
+ type: i.value[ye],
1918
1924
  style: { "min-width": "80px" }
1919
1925
  }, {
1920
1926
  default: o(() => [
1921
- Z(z(Ve), 1)
1927
+ Z(z(ye), 1)
1922
1928
  ]),
1923
1929
  _: 2
1924
1930
  }, 1032, ["type"]),
@@ -1930,15 +1936,15 @@ const qe = /* @__PURE__ */ O({
1930
1936
  ]),
1931
1937
  _: 1
1932
1938
  }, 8, ["label"]),
1933
- l(D, {
1939
+ l(fe, {
1934
1940
  label: e(a)("base.remark"),
1935
1941
  prop: "remark"
1936
1942
  }, {
1937
1943
  default: o(() => [
1938
- l(Re, {
1939
- modelValue: e(b).remark,
1940
- "onUpdate:modelValue": w[2] || (w[2] = (X) => e(b).remark = X),
1941
- placeholder: e(a)("base.placeholder.input")
1944
+ l(Ue, {
1945
+ modelValue: e(_).remark,
1946
+ "onUpdate:modelValue": C[2] || (C[2] = (X) => e(_).remark = X),
1947
+ placeholder: e(a)("placeholder.input")
1942
1948
  }, null, 8, ["modelValue", "placeholder"])
1943
1949
  ]),
1944
1950
  _: 1
@@ -1946,7 +1952,7 @@ const qe = /* @__PURE__ */ O({
1946
1952
  ]),
1947
1953
  _: 1
1948
1954
  }, 8, ["model", "disabled"]),
1949
- l(qe, {
1955
+ l(Te, {
1950
1956
  ref_key: "I18nTableDrawerRef",
1951
1957
  ref: h,
1952
1958
  onChoosed: M,
@@ -1957,15 +1963,15 @@ const qe = /* @__PURE__ */ O({
1957
1963
  }, 8, ["modelValue", "width"]);
1958
1964
  };
1959
1965
  }
1960
- }), gl = W.routineApi("gateway", "id", {
1966
+ }), hl = W.routineApi("gateway", "id", {
1961
1967
  gen: "gen_translation"
1962
1968
  });
1963
- function hl(R) {
1964
- return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !ve(R);
1969
+ function Vl(x) {
1970
+ return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !we(x);
1965
1971
  }
1966
- const Pl = /* @__PURE__ */ O({
1972
+ const Bl = /* @__PURE__ */ O({
1967
1973
  __name: "index",
1968
- setup(R) {
1974
+ setup(x) {
1969
1975
  const U = {
1970
1976
  keyword: "",
1971
1977
  app: 0,
@@ -1981,7 +1987,7 @@ const Pl = /* @__PURE__ */ O({
1981
1987
  return l(s("el-tag"), {
1982
1988
  type: a("i18n.app.colors." + d.app),
1983
1989
  style: "min-width: 80px"
1984
- }, hl(r = a("i18n.app." + d.app)) ? r : {
1990
+ }, Vl(r = a("i18n.app." + d.app)) ? r : {
1985
1991
  default: () => [r]
1986
1992
  });
1987
1993
  }
@@ -2001,7 +2007,7 @@ const Pl = /* @__PURE__ */ O({
2001
2007
  props: {
2002
2008
  activeValue: 1,
2003
2009
  inactiveValue: 2,
2004
- api: ne.urls[xe],
2010
+ api: ne.urls[Re],
2005
2011
  refresh: !0
2006
2012
  }
2007
2013
  }, {
@@ -2027,7 +2033,7 @@ const Pl = /* @__PURE__ */ O({
2027
2033
  default: () => [l(le, {
2028
2034
  size: "default",
2029
2035
  disabled: V.value,
2030
- onModify: () => b({
2036
+ onModify: () => _({
2031
2037
  uuid: d.uuid
2032
2038
  })
2033
2039
  }, null), l(Q, {
@@ -2042,7 +2048,7 @@ const Pl = /* @__PURE__ */ O({
2042
2048
  requesting: h,
2043
2049
  executing: V
2044
2050
  } = E(ne), {
2045
- formModalRef: _,
2051
+ formModalRef: b,
2046
2052
  openFormModal: c
2047
2053
  } = F(), {
2048
2054
  tableRef: i,
@@ -2052,7 +2058,7 @@ const Pl = /* @__PURE__ */ O({
2052
2058
  reset: u,
2053
2059
  refresh: f,
2054
2060
  openFormModal: g,
2055
- editFormModal: b
2061
+ editFormModal: _
2056
2062
  } = F(U);
2057
2063
  function A(d) {
2058
2064
  return ne.remove({
@@ -2061,23 +2067,23 @@ const Pl = /* @__PURE__ */ O({
2061
2067
  f();
2062
2068
  });
2063
2069
  }
2064
- function x() {
2070
+ function w() {
2065
2071
  return H.gen().finally(() => {
2066
2072
  f();
2067
2073
  });
2068
2074
  }
2069
2075
  function n() {
2070
- gl.gen().finally(() => {
2076
+ hl.gen().finally(() => {
2071
2077
  f();
2072
2078
  });
2073
2079
  }
2074
2080
  return (d, r) => {
2075
- const y = s("el-divider"), m = s("el-input"), S = s("el-radio-button"), M = s("el-radio-group"), C = s("el-space"), w = s("el-page-header"), q = s("el-card");
2076
- return L(), T(q, {
2081
+ const y = s("el-divider"), m = s("el-input"), S = s("el-radio-button"), M = s("el-radio-group"), q = s("el-space"), R = s("el-page-header"), C = s("el-card");
2082
+ return L(), T(C, {
2077
2083
  class: "basic-card flex-full",
2078
2084
  "body-class": "flex-1"
2079
2085
  }, {
2080
- header: o(() => [l(w, {
2086
+ header: o(() => [l(R, {
2081
2087
  class: "basic-header"
2082
2088
  }, {
2083
2089
  title: o(() => [l(e(K), {
@@ -2092,7 +2098,7 @@ const Pl = /* @__PURE__ */ O({
2092
2098
  icon: "icon-cloud-upload",
2093
2099
  plain: !1,
2094
2100
  loading: e(V),
2095
- onClick: x
2101
+ onClick: w
2096
2102
  }, null, 8, ["loading"]), l(e(Q), {
2097
2103
  size: "default",
2098
2104
  type: "danger",
@@ -2106,18 +2112,18 @@ const Pl = /* @__PURE__ */ O({
2106
2112
  onOpen: e(c),
2107
2113
  icon: "icon-en-US"
2108
2114
  }, null, 8, ["onOpen"])]),
2109
- content: o(() => [l(C, {
2115
+ content: o(() => [l(q, {
2110
2116
  class: "search-bar"
2111
2117
  }, {
2112
2118
  default: o(() => [l(m, {
2113
2119
  class: "basic-search-input",
2114
2120
  modelValue: e(t).keyword,
2115
2121
  "onUpdate:modelValue": r[0] || (r[0] = (D) => e(t).keyword = D),
2116
- placeholder: e(a)("base.placeholder.keyword"),
2122
+ placeholder: e(a)("placeholder.keyword"),
2117
2123
  clearable: "",
2118
- onKeyup: r[1] || (r[1] = _e((D) => e(v)(), ["enter"])),
2124
+ onKeyup: r[1] || (r[1] = ge((D) => e(v)(), ["enter"])),
2119
2125
  onClear: r[2] || (r[2] = (D) => e(v)())
2120
- }, null, 8, ["modelValue", "placeholder"]), l(e(Ae), {
2126
+ }, null, 8, ["modelValue", "placeholder"]), l(e(De), {
2121
2127
  modelValue: e(t).app,
2122
2128
  "onUpdate:modelValue": r[3] || (r[3] = (D) => e(t).app = D),
2123
2129
  "cache-key": "I18NAPPS",
@@ -2146,14 +2152,14 @@ const Pl = /* @__PURE__ */ O({
2146
2152
  ref_key: "tableRef",
2147
2153
  ref: i,
2148
2154
  columns: k,
2149
- url: e(ne).urls[e(ge)],
2155
+ url: e(ne).urls[e(he)],
2150
2156
  "search-param": e(t),
2151
2157
  "auto-search": ""
2152
- }, null, 8, ["url", "search-param"]), l(qe, {
2158
+ }, null, 8, ["url", "search-param"]), l(Te, {
2153
2159
  ref_key: "I18nTableDrawerRef",
2154
- ref: _,
2160
+ ref: b,
2155
2161
  onRefresh: e(f)
2156
- }, null, 8, ["onRefresh"]), l(_l, {
2162
+ }, null, 8, ["onRefresh"]), l(gl, {
2157
2163
  ref_key: "formModalRef",
2158
2164
  ref: p,
2159
2165
  onRefresh: e(f)
@@ -2162,10 +2168,10 @@ const Pl = /* @__PURE__ */ O({
2162
2168
  });
2163
2169
  };
2164
2170
  }
2165
- }), ye = W.routineApi("admin", "key"), Vl = /* @__PURE__ */ O({
2171
+ }), ke = W.routineApi("admin", "key"), yl = /* @__PURE__ */ O({
2166
2172
  __name: "AdminFormModal",
2167
2173
  emits: ["refresh"],
2168
- setup(R, { expose: U, emit: k }) {
2174
+ setup(x, { expose: U, emit: k }) {
2169
2175
  const h = k, V = {
2170
2176
  key: "",
2171
2177
  username: "",
@@ -2175,40 +2181,40 @@ const Pl = /* @__PURE__ */ O({
2175
2181
  language: "zh-CN",
2176
2182
  remark: "",
2177
2183
  roles: []
2178
- }, { modal: _, title: c, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: g, closed: b } = J(h, V, ye), A = {
2184
+ }, { modal: b, title: c, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: g, closed: _ } = J(h, V, ke), A = {
2179
2185
  username: [
2180
2186
  {
2181
2187
  required: !0,
2182
- message: a("base.placeholder.input base.username"),
2188
+ message: a("placeholder.input base.username"),
2183
2189
  trigger: "blur"
2184
2190
  }
2185
2191
  ],
2186
2192
  phone: [
2187
2193
  {
2188
2194
  required: !0,
2189
- validator: Ye.phoneRule,
2190
- message: a("base.placeholder.input base.phone"),
2195
+ validator: Ge.phoneRule,
2196
+ message: a("placeholder.input base.phone"),
2191
2197
  trigger: "blur"
2192
2198
  }
2193
2199
  ],
2194
2200
  password: [
2195
2201
  {
2196
2202
  required: !1,
2197
- message: a("base.placeholder.input base.password"),
2203
+ message: a("placeholder.input base.password"),
2198
2204
  trigger: "blur"
2199
2205
  }
2200
2206
  ],
2201
2207
  email: [
2202
2208
  {
2203
2209
  required: !0,
2204
- message: a("base.placeholder.input base.email"),
2210
+ message: a("placeholder.input base.email"),
2205
2211
  trigger: "blur"
2206
2212
  }
2207
2213
  ],
2208
2214
  language: [
2209
2215
  {
2210
2216
  required: !0,
2211
- message: a("base.placeholder.select base.language"),
2217
+ message: a("placeholder.select base.language"),
2212
2218
  trigger: "change"
2213
2219
  }
2214
2220
  ],
@@ -2216,32 +2222,32 @@ const Pl = /* @__PURE__ */ O({
2216
2222
  {
2217
2223
  required: !0,
2218
2224
  type: "Array",
2219
- message: a("base.placeholder.select menu.Role"),
2225
+ message: a("placeholder.select menu.Role"),
2220
2226
  trigger: "change"
2221
2227
  }
2222
2228
  ]
2223
- }, x = I([]), n = async () => {
2224
- const d = await he.list();
2225
- x.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2229
+ }, w = I([]), n = async () => {
2230
+ const d = await Ve.list();
2231
+ w.value = Array.isArray(d == null ? void 0 : d.data) ? d.data : [];
2226
2232
  };
2227
- return je(async () => {
2233
+ return Ke(async () => {
2228
2234
  await n();
2229
2235
  }), U({
2230
2236
  open: u,
2231
2237
  modify: f
2232
2238
  }), (d, r) => {
2233
- const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), M = s("el-radio-group"), C = s("el-checkbox"), w = s("el-checkbox-group"), q = s("el-form");
2239
+ const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), M = s("el-radio-group"), q = s("el-checkbox"), R = s("el-checkbox-group"), C = s("el-form");
2234
2240
  return L(), T(e(ee), {
2235
- modelValue: e(_),
2236
- "onUpdate:modelValue": r[7] || (r[7] = (D) => P(_) ? _.value = D : null),
2241
+ modelValue: e(b),
2242
+ "onUpdate:modelValue": r[7] || (r[7] = (D) => P(b) ? b.value = D : null),
2237
2243
  title: e(c)(),
2238
2244
  width: "600px",
2239
2245
  executing: e(v),
2240
- onClosed: e(b),
2246
+ onClosed: e(_),
2241
2247
  onSubmit: e(g)
2242
2248
  }, {
2243
2249
  default: o(() => [
2244
- l(q, {
2250
+ l(C, {
2245
2251
  ref_key: "form",
2246
2252
  ref: i,
2247
2253
  model: e(p),
@@ -2340,12 +2346,12 @@ const Pl = /* @__PURE__ */ O({
2340
2346
  prop: "roles"
2341
2347
  }, {
2342
2348
  default: o(() => [
2343
- l(w, {
2349
+ l(R, {
2344
2350
  modelValue: e(p).roles,
2345
2351
  "onUpdate:modelValue": r[5] || (r[5] = (D) => e(p).roles = D)
2346
2352
  }, {
2347
2353
  default: o(() => [
2348
- (L(!0), B(G, null, ae(x.value, (D) => (L(), T(C, {
2354
+ (L(!0), B(G, null, ae(w.value, (D) => (L(), T(q, {
2349
2355
  key: D.key,
2350
2356
  value: D.key
2351
2357
  }, {
@@ -2368,7 +2374,7 @@ const Pl = /* @__PURE__ */ O({
2368
2374
  l(y, {
2369
2375
  modelValue: e(p).remark,
2370
2376
  "onUpdate:modelValue": r[6] || (r[6] = (D) => e(p).remark = D),
2371
- placeholder: e(a)("base.placeholder.input")
2377
+ placeholder: e(a)("placeholder.input")
2372
2378
  }, null, 8, ["modelValue", "placeholder"])
2373
2379
  ]),
2374
2380
  _: 1
@@ -2381,9 +2387,9 @@ const Pl = /* @__PURE__ */ O({
2381
2387
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2382
2388
  };
2383
2389
  }
2384
- }), Bl = /* @__PURE__ */ O({
2390
+ }), jl = /* @__PURE__ */ O({
2385
2391
  __name: "index",
2386
- setup(R) {
2392
+ setup(x) {
2387
2393
  const U = {
2388
2394
  keyword: ""
2389
2395
  }, k = [{
@@ -2392,7 +2398,7 @@ const Pl = /* @__PURE__ */ O({
2392
2398
  width: 60,
2393
2399
  render: ({
2394
2400
  row: f
2395
- }) => l(Ge, {
2401
+ }) => l(He, {
2396
2402
  src: f.avatar
2397
2403
  }, null)
2398
2404
  }, {
@@ -2441,9 +2447,9 @@ const Pl = /* @__PURE__ */ O({
2441
2447
  }, null)
2442
2448
  }], {
2443
2449
  requesting: h
2444
- } = E(ye), {
2450
+ } = E(ke), {
2445
2451
  tableRef: V,
2446
- formModalRef: _,
2452
+ formModalRef: b,
2447
2453
  keyword: c,
2448
2454
  search: i,
2449
2455
  reset: p,
@@ -2452,12 +2458,12 @@ const Pl = /* @__PURE__ */ O({
2452
2458
  editFormModal: u
2453
2459
  } = F(U);
2454
2460
  return (f, g) => {
2455
- const b = s("el-input"), A = s("el-space"), x = s("el-page-header"), n = s("el-card");
2461
+ const _ = s("el-input"), A = s("el-space"), w = s("el-page-header"), n = s("el-card");
2456
2462
  return L(), T(n, {
2457
2463
  class: "basic-card flex-full",
2458
2464
  "body-class": "flex-1"
2459
2465
  }, {
2460
- header: o(() => [l(x, {
2466
+ header: o(() => [l(w, {
2461
2467
  class: "basic-header"
2462
2468
  }, {
2463
2469
  title: o(() => [l(e(K), {
@@ -2469,13 +2475,13 @@ const Pl = /* @__PURE__ */ O({
2469
2475
  content: o(() => [l(A, {
2470
2476
  class: "search-bar"
2471
2477
  }, {
2472
- default: o(() => [l(b, {
2478
+ default: o(() => [l(_, {
2473
2479
  class: "basic-search-input",
2474
2480
  modelValue: e(c).keyword,
2475
2481
  "onUpdate:modelValue": g[0] || (g[0] = (d) => e(c).keyword = d),
2476
- placeholder: e(a)("base.placeholder.keyword"),
2482
+ placeholder: e(a)("placeholder.keyword"),
2477
2483
  clearable: "",
2478
- onKeyup: g[1] || (g[1] = _e((d) => e(i)(), ["enter"])),
2484
+ onKeyup: g[1] || (g[1] = ge((d) => e(i)(), ["enter"])),
2479
2485
  onClear: g[2] || (g[2] = (d) => e(i)())
2480
2486
  }, null, 8, ["modelValue", "placeholder"]), l(e(oe), {
2481
2487
  disabled: e(h),
@@ -2490,21 +2496,21 @@ const Pl = /* @__PURE__ */ O({
2490
2496
  ref: V,
2491
2497
  size: "small",
2492
2498
  columns: k,
2493
- url: e(ye).urls[e(ge)],
2499
+ url: e(ke).urls[e(he)],
2494
2500
  "search-param": e(c),
2495
2501
  "auto-search": ""
2496
- }, null, 8, ["url", "search-param"]), l(Vl, {
2502
+ }, null, 8, ["url", "search-param"]), l(yl, {
2497
2503
  ref_key: "formModalRef",
2498
- ref: _,
2504
+ ref: b,
2499
2505
  onRefresh: e(t)
2500
2506
  }, null, 8, ["onRefresh"])]),
2501
2507
  _: 1
2502
2508
  });
2503
2509
  };
2504
2510
  }
2505
- }), yl = {
2511
+ }), kl = {
2506
2512
  check: "check"
2507
- }, se = W.routineApi("site", "id", yl), fe = W.routineApi("domain"), Te = /* @__PURE__ */ O({
2513
+ }, se = W.routineApi("site", "id", kl), _e = W.routineApi("domain"), Oe = /* @__PURE__ */ O({
2508
2514
  __name: "DomainSelect",
2509
2515
  props: {
2510
2516
  modelValue: {
@@ -2517,20 +2523,20 @@ const Pl = /* @__PURE__ */ O({
2517
2523
  }
2518
2524
  },
2519
2525
  emits: ["update:modelValue", "change"],
2520
- setup(R, {
2526
+ setup(x, {
2521
2527
  expose: U,
2522
2528
  emit: k
2523
2529
  }) {
2524
- const h = k, V = R, {
2525
- requesting: _
2526
- } = E(fe), {
2530
+ const h = k, V = x, {
2531
+ requesting: b
2532
+ } = E(_e), {
2527
2533
  key: c,
2528
2534
  options: i,
2529
2535
  refresh: p,
2530
2536
  change: t
2531
2537
  } = re(te(V, "modelValue"), h, {
2532
2538
  key: "DOMAIN_LIST",
2533
- api: fe,
2539
+ api: _e,
2534
2540
  isArray: !0
2535
2541
  });
2536
2542
  return U({
@@ -2541,22 +2547,22 @@ const Pl = /* @__PURE__ */ O({
2541
2547
  modelValue: e(c),
2542
2548
  "onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
2543
2549
  options: e(i),
2544
- disabled: R.disabled || e(_),
2550
+ disabled: x.disabled || e(b),
2545
2551
  placeholder: e(a)("base.select config.domain"),
2546
2552
  onChange: e(t)
2547
2553
  }, {
2548
2554
  prefix: o(() => [l(e(pe), {
2549
- loading: e(_),
2555
+ loading: e(b),
2550
2556
  onRefresh: e(p)
2551
2557
  }, null, 8, ["loading", "onRefresh"])]),
2552
2558
  _: 1
2553
2559
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2554
2560
  };
2555
2561
  }
2556
- }), kl = /* @__PURE__ */ O({
2562
+ }), vl = /* @__PURE__ */ O({
2557
2563
  __name: "SiteFormModal",
2558
2564
  emits: ["refresh"],
2559
- setup(R, { expose: U, emit: k }) {
2565
+ setup(x, { expose: U, emit: k }) {
2560
2566
  const h = k, V = {
2561
2567
  id: 0,
2562
2568
  domain_id: 0,
@@ -2567,16 +2573,16 @@ const Pl = /* @__PURE__ */ O({
2567
2573
  git: "",
2568
2574
  status: 1,
2569
2575
  remark: ""
2570
- }, _ = {
2571
- domain_id: [{ required: !0, message: a("base.placeholder.input config.domain"), trigger: "blur" }],
2572
- prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
2573
- name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
2574
- en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
2575
- }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, se);
2576
+ }, b = {
2577
+ domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
2578
+ prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
2579
+ name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2580
+ en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
2581
+ }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, se);
2576
2582
  return U({
2577
2583
  open: f,
2578
2584
  modify: g
2579
- }), (x, n) => {
2585
+ }), (w, n) => {
2580
2586
  const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
2581
2587
  return L(), T(e(ee), {
2582
2588
  modelValue: e(c),
@@ -2585,7 +2591,7 @@ const Pl = /* @__PURE__ */ O({
2585
2591
  width: "600px",
2586
2592
  executing: e(u),
2587
2593
  onClosed: e(A),
2588
- onSubmit: e(b)
2594
+ onSubmit: e(_)
2589
2595
  }, {
2590
2596
  default: o(() => [
2591
2597
  l(y, {
@@ -2593,7 +2599,7 @@ const Pl = /* @__PURE__ */ O({
2593
2599
  ref: p,
2594
2600
  model: e(t),
2595
2601
  "label-width": "auto",
2596
- rules: _,
2602
+ rules: b,
2597
2603
  disabled: e(v) || e(u)
2598
2604
  }, {
2599
2605
  default: o(() => [
@@ -2602,7 +2608,7 @@ const Pl = /* @__PURE__ */ O({
2602
2608
  label: e(a)("config.domain")
2603
2609
  }, {
2604
2610
  default: o(() => [
2605
- l(Te, {
2611
+ l(Oe, {
2606
2612
  modelValue: e(t).domain_id,
2607
2613
  "onUpdate:modelValue": n[0] || (n[0] = (m) => e(t).domain_id = m),
2608
2614
  disabled: e(u)
@@ -2619,7 +2625,7 @@ const Pl = /* @__PURE__ */ O({
2619
2625
  modelValue: e(t).prefix,
2620
2626
  "onUpdate:modelValue": n[1] || (n[1] = (m) => e(t).prefix = m),
2621
2627
  disabled: e(u),
2622
- placeholder: e(a)("base.placeholder.input")
2628
+ placeholder: e(a)("placeholder.input")
2623
2629
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2624
2630
  ]),
2625
2631
  _: 1
@@ -2633,7 +2639,7 @@ const Pl = /* @__PURE__ */ O({
2633
2639
  modelValue: e(t).name,
2634
2640
  "onUpdate:modelValue": n[2] || (n[2] = (m) => e(t).name = m),
2635
2641
  disabled: e(u),
2636
- placeholder: e(a)("base.placeholder.input")
2642
+ placeholder: e(a)("placeholder.input")
2637
2643
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2638
2644
  ]),
2639
2645
  _: 1
@@ -2647,7 +2653,7 @@ const Pl = /* @__PURE__ */ O({
2647
2653
  modelValue: e(t).en_name,
2648
2654
  "onUpdate:modelValue": n[3] || (n[3] = (m) => e(t).en_name = m),
2649
2655
  disabled: e(u),
2650
- placeholder: e(a)("base.placeholder.input")
2656
+ placeholder: e(a)("placeholder.input")
2651
2657
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2652
2658
  ]),
2653
2659
  _: 1
@@ -2661,7 +2667,7 @@ const Pl = /* @__PURE__ */ O({
2661
2667
  modelValue: e(t).dns,
2662
2668
  "onUpdate:modelValue": n[4] || (n[4] = (m) => e(t).dns = m),
2663
2669
  disabled: e(u),
2664
- placeholder: e(a)("base.placeholder.input")
2670
+ placeholder: e(a)("placeholder.input")
2665
2671
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2666
2672
  ]),
2667
2673
  _: 1
@@ -2675,7 +2681,7 @@ const Pl = /* @__PURE__ */ O({
2675
2681
  modelValue: e(t).git,
2676
2682
  "onUpdate:modelValue": n[5] || (n[5] = (m) => e(t).git = m),
2677
2683
  disabled: e(u),
2678
- placeholder: e(a)("base.placeholder.input")
2684
+ placeholder: e(a)("placeholder.input")
2679
2685
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2680
2686
  ]),
2681
2687
  _: 1
@@ -2689,7 +2695,7 @@ const Pl = /* @__PURE__ */ O({
2689
2695
  modelValue: e(t).remark,
2690
2696
  "onUpdate:modelValue": n[6] || (n[6] = (m) => e(t).remark = m),
2691
2697
  disabled: e(u),
2692
- placeholder: e(a)("base.placeholder.input")
2698
+ placeholder: e(a)("placeholder.input")
2693
2699
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2694
2700
  ]),
2695
2701
  _: 1
@@ -2702,7 +2708,7 @@ const Pl = /* @__PURE__ */ O({
2702
2708
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2703
2709
  };
2704
2710
  }
2705
- }), be = W.routineApi("domain_provider"), vl = /* @__PURE__ */ O({
2711
+ }), be = W.routineApi("domain_provider"), wl = /* @__PURE__ */ O({
2706
2712
  __name: "DomainProviderSelect",
2707
2713
  props: {
2708
2714
  modelValue: {
@@ -2715,12 +2721,12 @@ const Pl = /* @__PURE__ */ O({
2715
2721
  }
2716
2722
  },
2717
2723
  emits: ["update:modelValue", "change"],
2718
- setup(R, {
2724
+ setup(x, {
2719
2725
  expose: U,
2720
2726
  emit: k
2721
2727
  }) {
2722
- const h = k, V = R, {
2723
- requesting: _
2728
+ const h = k, V = x, {
2729
+ requesting: b
2724
2730
  } = E(be), {
2725
2731
  key: c,
2726
2732
  options: i,
@@ -2739,22 +2745,22 @@ const Pl = /* @__PURE__ */ O({
2739
2745
  modelValue: e(c),
2740
2746
  "onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
2741
2747
  options: e(i),
2742
- disabled: R.disabled || e(_),
2748
+ disabled: x.disabled || e(b),
2743
2749
  placeholder: e(a)("base.select config.domain config.provider"),
2744
2750
  onChange: e(t)
2745
2751
  }, {
2746
2752
  prefix: o(() => [l(e(pe), {
2747
- loading: e(_),
2753
+ loading: e(b),
2748
2754
  onRefresh: e(p)
2749
2755
  }, null, 8, ["loading", "onRefresh"])]),
2750
2756
  _: 1
2751
2757
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2752
2758
  };
2753
2759
  }
2754
- }), wl = /* @__PURE__ */ O({
2760
+ }), xl = /* @__PURE__ */ O({
2755
2761
  __name: "DomainFormModal",
2756
2762
  emits: ["refresh"],
2757
- setup(R, { expose: U, emit: k }) {
2763
+ setup(x, { expose: U, emit: k }) {
2758
2764
  const h = k, V = {
2759
2765
  id: 0,
2760
2766
  provider_id: 0,
@@ -2762,14 +2768,14 @@ const Pl = /* @__PURE__ */ O({
2762
2768
  expired_at: "",
2763
2769
  status: 1,
2764
2770
  remark: ""
2765
- }, _ = {
2766
- provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
2767
- name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
2768
- }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, fe);
2771
+ }, b = {
2772
+ provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
2773
+ name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
2774
+ }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, _e);
2769
2775
  return U({
2770
2776
  open: f,
2771
2777
  modify: g
2772
- }), (x, n) => {
2778
+ }), (w, n) => {
2773
2779
  const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), m = s("el-form");
2774
2780
  return L(), T(e(ee), {
2775
2781
  modelValue: e(c),
@@ -2778,7 +2784,7 @@ const Pl = /* @__PURE__ */ O({
2778
2784
  width: "600px",
2779
2785
  executing: e(u),
2780
2786
  onClosed: e(A),
2781
- onSubmit: e(b)
2787
+ onSubmit: e(_)
2782
2788
  }, {
2783
2789
  default: o(() => [
2784
2790
  l(m, {
@@ -2786,7 +2792,7 @@ const Pl = /* @__PURE__ */ O({
2786
2792
  ref: p,
2787
2793
  model: e(t),
2788
2794
  "label-width": "auto",
2789
- rules: _,
2795
+ rules: b,
2790
2796
  disabled: e(v) || e(u)
2791
2797
  }, {
2792
2798
  default: o(() => [
@@ -2795,7 +2801,7 @@ const Pl = /* @__PURE__ */ O({
2795
2801
  label: e(a)("config.provider")
2796
2802
  }, {
2797
2803
  default: o(() => [
2798
- l(vl, {
2804
+ l(wl, {
2799
2805
  modelValue: e(t).provider_id,
2800
2806
  "onUpdate:modelValue": n[0] || (n[0] = (S) => e(t).provider_id = S),
2801
2807
  disabled: e(u)
@@ -2812,7 +2818,7 @@ const Pl = /* @__PURE__ */ O({
2812
2818
  modelValue: e(t).name,
2813
2819
  "onUpdate:modelValue": n[1] || (n[1] = (S) => e(t).name = S),
2814
2820
  disabled: e(u),
2815
- placeholder: e(a)("base.placeholder.input")
2821
+ placeholder: e(a)("placeholder.input")
2816
2822
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2817
2823
  ]),
2818
2824
  _: 1
@@ -2831,7 +2837,7 @@ const Pl = /* @__PURE__ */ O({
2831
2837
  disabled: e(u),
2832
2838
  "value-format": e($).DATE_VALUE_FORMAT,
2833
2839
  format: e($).DATE_FORMAT,
2834
- placeholder: e(a)("base.placeholder.select")
2840
+ placeholder: e(a)("placeholder.select")
2835
2841
  }, null, 8, ["modelValue", "disabled", "value-format", "format", "placeholder"])
2836
2842
  ]),
2837
2843
  _: 1
@@ -2845,7 +2851,7 @@ const Pl = /* @__PURE__ */ O({
2845
2851
  modelValue: e(t).remark,
2846
2852
  "onUpdate:modelValue": n[3] || (n[3] = (S) => e(t).remark = S),
2847
2853
  disabled: e(u),
2848
- placeholder: e(a)("base.placeholder.input")
2854
+ placeholder: e(a)("placeholder.input")
2849
2855
  }, null, 8, ["modelValue", "disabled", "placeholder"])
2850
2856
  ]),
2851
2857
  _: 1
@@ -2858,9 +2864,9 @@ const Pl = /* @__PURE__ */ O({
2858
2864
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2859
2865
  };
2860
2866
  }
2861
- }), xl = {
2867
+ }), Rl = {
2862
2868
  gen: "gen"
2863
- }, ue = W.routineApi("SSL", "id", xl), Rl = /* @__PURE__ */ O({
2869
+ }, ue = W.routineApi("SSL", "id", Rl), Ul = /* @__PURE__ */ O({
2864
2870
  __name: "SiteSelect",
2865
2871
  props: {
2866
2872
  modelValue: {
@@ -2873,12 +2879,12 @@ const Pl = /* @__PURE__ */ O({
2873
2879
  }
2874
2880
  },
2875
2881
  emits: ["update:modelValue", "change"],
2876
- setup(R, {
2882
+ setup(x, {
2877
2883
  expose: U,
2878
2884
  emit: k
2879
2885
  }) {
2880
- const h = k, V = R, {
2881
- requesting: _
2886
+ const h = k, V = x, {
2887
+ requesting: b
2882
2888
  } = E(se), {
2883
2889
  key: c,
2884
2890
  options: i,
@@ -2906,22 +2912,22 @@ const Pl = /* @__PURE__ */ O({
2906
2912
  modelValue: e(c),
2907
2913
  "onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
2908
2914
  options: e(i),
2909
- disabled: R.disabled || e(_),
2915
+ disabled: x.disabled || e(b),
2910
2916
  placeholder: e(a)("base.select config.domain"),
2911
2917
  onChange: e(t)
2912
2918
  }, {
2913
2919
  prefix: o(() => [l(e(pe), {
2914
- loading: e(_),
2920
+ loading: e(b),
2915
2921
  onRefresh: e(p)
2916
2922
  }, null, 8, ["loading", "onRefresh"])]),
2917
2923
  _: 1
2918
2924
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2919
2925
  };
2920
2926
  }
2921
- }), Oe = /* @__PURE__ */ O({
2927
+ }), $e = /* @__PURE__ */ O({
2922
2928
  __name: "SSLFormModal",
2923
2929
  emits: ["refresh"],
2924
- setup(R, { expose: U, emit: k }) {
2930
+ setup(x, { expose: U, emit: k }) {
2925
2931
  const h = k, V = {
2926
2932
  id: 0,
2927
2933
  domain_id: void 0,
@@ -2932,19 +2938,19 @@ const Pl = /* @__PURE__ */ O({
2932
2938
  email: "",
2933
2939
  encryption: "RSA2048",
2934
2940
  remark: ""
2935
- }, _ = {
2936
- domain_id: [{ required: !0, message: a("base.placeholder.select config.domain "), trigger: "blur" }],
2937
- client: [{ required: !0, message: a("base.placeholder.select config.client "), trigger: "blur" }],
2938
- name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
2939
- path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
2940
- email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
2941
- encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
2942
- }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, ue);
2941
+ }, b = {
2942
+ domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
2943
+ client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
2944
+ name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2945
+ path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
2946
+ email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
2947
+ encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
2948
+ }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, ue);
2943
2949
  return U({
2944
2950
  open: f,
2945
2951
  modify: g,
2946
2952
  formData: t
2947
- }), (x, n) => {
2953
+ }), (w, n) => {
2948
2954
  const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), m = s("el-input"), S = s("el-form");
2949
2955
  return L(), T(e(ee), {
2950
2956
  modelValue: e(c),
@@ -2953,7 +2959,7 @@ const Pl = /* @__PURE__ */ O({
2953
2959
  width: "600px",
2954
2960
  executing: e(u),
2955
2961
  onClosed: e(A),
2956
- onSubmit: e(b)
2962
+ onSubmit: e(_)
2957
2963
  }, {
2958
2964
  default: o(() => [
2959
2965
  l(S, {
@@ -2961,7 +2967,7 @@ const Pl = /* @__PURE__ */ O({
2961
2967
  ref: p,
2962
2968
  model: e(t),
2963
2969
  "label-width": "auto",
2964
- rules: _,
2970
+ rules: b,
2965
2971
  disabled: e(v) || e(u)
2966
2972
  }, {
2967
2973
  default: o(() => [
@@ -2970,7 +2976,7 @@ const Pl = /* @__PURE__ */ O({
2970
2976
  label: e(a)("config.domain")
2971
2977
  }, {
2972
2978
  default: o(() => [
2973
- l(Te, {
2979
+ l(Oe, {
2974
2980
  modelValue: e(t).domain_id,
2975
2981
  "onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).domain_id = M),
2976
2982
  disabled: e(u)
@@ -3003,7 +3009,7 @@ const Pl = /* @__PURE__ */ O({
3003
3009
  label: e(a)("config.site")
3004
3010
  }, {
3005
3011
  default: o(() => [
3006
- l(Rl, {
3012
+ l(Ul, {
3007
3013
  modelValue: e(t).site_id,
3008
3014
  "onUpdate:modelValue": n[2] || (n[2] = (M) => e(t).site_id = M),
3009
3015
  disabled: e(u)
@@ -3020,7 +3026,7 @@ const Pl = /* @__PURE__ */ O({
3020
3026
  modelValue: e(t).name,
3021
3027
  "onUpdate:modelValue": n[3] || (n[3] = (M) => e(t).name = M),
3022
3028
  disabled: e(u),
3023
- placeholder: e(a)("base.placeholder.input")
3029
+ placeholder: e(a)("placeholder.input")
3024
3030
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3025
3031
  ]),
3026
3032
  _: 1
@@ -3034,7 +3040,7 @@ const Pl = /* @__PURE__ */ O({
3034
3040
  modelValue: e(t).path,
3035
3041
  "onUpdate:modelValue": n[4] || (n[4] = (M) => e(t).path = M),
3036
3042
  disabled: e(u),
3037
- placeholder: e(a)("base.placeholder.input")
3043
+ placeholder: e(a)("placeholder.input")
3038
3044
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3039
3045
  ]),
3040
3046
  _: 1
@@ -3048,7 +3054,7 @@ const Pl = /* @__PURE__ */ O({
3048
3054
  modelValue: e(t).email,
3049
3055
  "onUpdate:modelValue": n[5] || (n[5] = (M) => e(t).email = M),
3050
3056
  disabled: e(u),
3051
- placeholder: e(a)("base.placeholder.input")
3057
+ placeholder: e(a)("placeholder.input")
3052
3058
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3053
3059
  ]),
3054
3060
  _: 1
@@ -3082,7 +3088,7 @@ const Pl = /* @__PURE__ */ O({
3082
3088
  modelValue: e(t).remark,
3083
3089
  "onUpdate:modelValue": n[7] || (n[7] = (M) => e(t).remark = M),
3084
3090
  disabled: e(u),
3085
- placeholder: e(a)("base.placeholder.input")
3091
+ placeholder: e(a)("placeholder.input")
3086
3092
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3087
3093
  ]),
3088
3094
  _: 1
@@ -3095,10 +3101,10 @@ const Pl = /* @__PURE__ */ O({
3095
3101
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
3096
3102
  };
3097
3103
  }
3098
- }), Ul = /* @__PURE__ */ O({
3104
+ }), Ml = /* @__PURE__ */ O({
3099
3105
  __name: "DomainProviderFormModal",
3100
3106
  emits: ["refresh"],
3101
- setup(R, { expose: U, emit: k }) {
3107
+ setup(x, { expose: U, emit: k }) {
3102
3108
  const h = k, V = {
3103
3109
  id: 0,
3104
3110
  name: "",
@@ -3108,17 +3114,17 @@ const Pl = /* @__PURE__ */ O({
3108
3114
  end_point: "",
3109
3115
  status: 1,
3110
3116
  remark: ""
3111
- }, _ = {
3112
- name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
3113
- en_name: { required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" },
3114
- key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
3115
- secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
3116
- end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
3117
- }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, be);
3117
+ }, b = {
3118
+ name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
3119
+ en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
3120
+ key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
3121
+ secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
3122
+ end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
3123
+ }, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: _, closed: A } = J(h, V, be);
3118
3124
  return U({
3119
3125
  open: f,
3120
3126
  modify: g
3121
- }), (x, n) => {
3127
+ }), (w, n) => {
3122
3128
  const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
3123
3129
  return L(), T(e(ee), {
3124
3130
  modelValue: e(c),
@@ -3127,7 +3133,7 @@ const Pl = /* @__PURE__ */ O({
3127
3133
  width: "600px",
3128
3134
  executing: e(u),
3129
3135
  onClosed: e(A),
3130
- onSubmit: e(b)
3136
+ onSubmit: e(_)
3131
3137
  }, {
3132
3138
  default: o(() => [
3133
3139
  l(y, {
@@ -3135,7 +3141,7 @@ const Pl = /* @__PURE__ */ O({
3135
3141
  ref: p,
3136
3142
  model: e(t),
3137
3143
  "label-width": "auto",
3138
- rules: _,
3144
+ rules: b,
3139
3145
  disabled: e(v) || e(u)
3140
3146
  }, {
3141
3147
  default: o(() => [
@@ -3148,7 +3154,7 @@ const Pl = /* @__PURE__ */ O({
3148
3154
  modelValue: e(t).name,
3149
3155
  "onUpdate:modelValue": n[0] || (n[0] = (m) => e(t).name = m),
3150
3156
  disabled: e(u),
3151
- placeholder: e(a)("base.placeholder.input")
3157
+ placeholder: e(a)("placeholder.input")
3152
3158
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3153
3159
  ]),
3154
3160
  _: 1
@@ -3162,7 +3168,7 @@ const Pl = /* @__PURE__ */ O({
3162
3168
  modelValue: e(t).en_name,
3163
3169
  "onUpdate:modelValue": n[1] || (n[1] = (m) => e(t).en_name = m),
3164
3170
  disabled: e(u),
3165
- placeholder: e(a)("base.placeholder.input")
3171
+ placeholder: e(a)("placeholder.input")
3166
3172
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3167
3173
  ]),
3168
3174
  _: 1
@@ -3176,7 +3182,7 @@ const Pl = /* @__PURE__ */ O({
3176
3182
  modelValue: e(t).key,
3177
3183
  "onUpdate:modelValue": n[2] || (n[2] = (m) => e(t).key = m),
3178
3184
  disabled: e(u),
3179
- placeholder: e(a)("base.placeholder.input")
3185
+ placeholder: e(a)("placeholder.input")
3180
3186
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3181
3187
  ]),
3182
3188
  _: 1
@@ -3190,7 +3196,7 @@ const Pl = /* @__PURE__ */ O({
3190
3196
  modelValue: e(t).secret,
3191
3197
  "onUpdate:modelValue": n[3] || (n[3] = (m) => e(t).secret = m),
3192
3198
  disabled: e(u),
3193
- placeholder: e(a)("base.placeholder.input")
3199
+ placeholder: e(a)("placeholder.input")
3194
3200
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3195
3201
  ]),
3196
3202
  _: 1
@@ -3204,7 +3210,7 @@ const Pl = /* @__PURE__ */ O({
3204
3210
  modelValue: e(t).end_point,
3205
3211
  "onUpdate:modelValue": n[4] || (n[4] = (m) => e(t).end_point = m),
3206
3212
  disabled: e(u),
3207
- placeholder: e(a)("base.placeholder.input")
3213
+ placeholder: e(a)("placeholder.input")
3208
3214
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3209
3215
  ]),
3210
3216
  _: 1
@@ -3218,7 +3224,7 @@ const Pl = /* @__PURE__ */ O({
3218
3224
  modelValue: e(t).remark,
3219
3225
  "onUpdate:modelValue": n[5] || (n[5] = (m) => e(t).remark = m),
3220
3226
  disabled: e(u),
3221
- placeholder: e(a)("base.placeholder.input")
3227
+ placeholder: e(a)("placeholder.input")
3222
3228
  }, null, 8, ["modelValue", "disabled", "placeholder"])
3223
3229
  ]),
3224
3230
  _: 1
@@ -3231,16 +3237,16 @@ const Pl = /* @__PURE__ */ O({
3231
3237
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
3232
3238
  };
3233
3239
  }
3234
- }), Ml = /* @__PURE__ */ O({
3240
+ }), Al = /* @__PURE__ */ O({
3235
3241
  __name: "DomainProviderTableDrawer",
3236
- setup(R, {
3242
+ setup(x, {
3237
3243
  expose: U
3238
3244
  }) {
3239
3245
  const {
3240
3246
  requesting: k
3241
3247
  } = E(be), h = I(!1), {
3242
3248
  tableRef: V,
3243
- formModalRef: _,
3249
+ formModalRef: b,
3244
3250
  refresh: c,
3245
3251
  openFormModal: i,
3246
3252
  editFormModal: p
@@ -3278,7 +3284,7 @@ const Pl = /* @__PURE__ */ O({
3278
3284
  const g = s("el-page-header");
3279
3285
  return L(), T(e(ce), {
3280
3286
  modelValue: h.value,
3281
- "onUpdate:modelValue": f[0] || (f[0] = (b) => h.value = b),
3287
+ "onUpdate:modelValue": f[0] || (f[0] = (_) => h.value = _),
3282
3288
  width: "400px",
3283
3289
  "show-close": !1,
3284
3290
  class: "basic-drawer"
@@ -3305,25 +3311,25 @@ const Pl = /* @__PURE__ */ O({
3305
3311
  url: e(be).urls.list,
3306
3312
  columns: t,
3307
3313
  loading: e(k)
3308
- }, null, 8, ["url", "loading"]), l(Ul, {
3314
+ }, null, 8, ["url", "loading"]), l(Ml, {
3309
3315
  ref_key: "formModalRef",
3310
- ref: _,
3316
+ ref: b,
3311
3317
  onRefresh: e(c)
3312
3318
  }, null, 8, ["onRefresh"])]),
3313
3319
  _: 1
3314
3320
  }, 8, ["modelValue"]);
3315
3321
  };
3316
3322
  }
3317
- }), Al = /* @__PURE__ */ O({
3323
+ }), Dl = /* @__PURE__ */ O({
3318
3324
  __name: "DomainTableDrawer",
3319
- setup(R, {
3325
+ setup(x, {
3320
3326
  expose: U
3321
3327
  }) {
3322
3328
  const {
3323
3329
  requesting: k
3324
- } = E(fe), h = I(!1), {
3330
+ } = E(_e), h = I(!1), {
3325
3331
  tableRef: V,
3326
- formModalRef: _,
3332
+ formModalRef: b,
3327
3333
  refresh: c,
3328
3334
  openFormModal: i,
3329
3335
  editFormModal: p
@@ -3334,16 +3340,16 @@ const Pl = /* @__PURE__ */ O({
3334
3340
  } = F(), {
3335
3341
  formModalRef: f,
3336
3342
  openFormModal: g
3337
- } = F(), b = [{
3343
+ } = F(), _ = [{
3338
3344
  prop: "provider",
3339
3345
  label: a("config.domain config.provider"),
3340
3346
  width: 120,
3341
3347
  cellRenderer: ({
3342
- rowData: x
3348
+ rowData: w
3343
3349
  }) => l(s("el-text"), null, {
3344
3350
  default: () => {
3345
3351
  var n;
3346
- return [(n = x.provider) == null ? void 0 : n.name];
3352
+ return [(n = w.provider) == null ? void 0 : n.name];
3347
3353
  }
3348
3354
  })
3349
3355
  }, {
@@ -3361,13 +3367,13 @@ const Pl = /* @__PURE__ */ O({
3361
3367
  width: 100,
3362
3368
  align: "center",
3363
3369
  render: ({
3364
- rowData: x
3370
+ rowData: w
3365
3371
  }) => l(s("el-space"), null, {
3366
3372
  default: () => [l(le, {
3367
3373
  icon: "icon-edit",
3368
3374
  t: "",
3369
3375
  onModify: () => p({
3370
- id: x.id
3376
+ id: w.id
3371
3377
  })
3372
3378
  }, null), l(j, {
3373
3379
  icon: "icon-safetycertificate-f",
@@ -3376,9 +3382,9 @@ const Pl = /* @__PURE__ */ O({
3376
3382
  link: !0,
3377
3383
  onOpen: () => {
3378
3384
  var n;
3379
- x.ssl && x.ssl.id ? u({
3380
- id: (n = x.ssl) == null ? void 0 : n.id
3381
- }) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0, v());
3385
+ w.ssl && w.ssl.id ? u({
3386
+ id: (n = w.ssl) == null ? void 0 : n.id
3387
+ }) : (t.value.formData.domain_id = w.id, t.value.formData.site_id = 0, v());
3382
3388
  }
3383
3389
  }, null)]
3384
3390
  })
@@ -3387,7 +3393,7 @@ const Pl = /* @__PURE__ */ O({
3387
3393
  open: () => {
3388
3394
  h.value = !0;
3389
3395
  }
3390
- }), (x, n) => {
3396
+ }), (w, n) => {
3391
3397
  const d = s("el-space"), r = s("el-page-header");
3392
3398
  return L(), T(e(ce), {
3393
3399
  modelValue: h.value,
@@ -3424,18 +3430,18 @@ const Pl = /* @__PURE__ */ O({
3424
3430
  ref: V,
3425
3431
  size: "small",
3426
3432
  "row-key": "id",
3427
- url: e(fe).urls.list,
3428
- columns: b,
3433
+ url: e(_e).urls.list,
3434
+ columns: _,
3429
3435
  loading: e(k)
3430
- }, null, 8, ["url", "loading"]), l(wl, {
3436
+ }, null, 8, ["url", "loading"]), l(xl, {
3431
3437
  ref_key: "formModalRef",
3432
- ref: _,
3438
+ ref: b,
3433
3439
  onRefresh: e(c)
3434
- }, null, 8, ["onRefresh"]), l(Oe, {
3440
+ }, null, 8, ["onRefresh"]), l($e, {
3435
3441
  ref_key: "sslFormModalRef",
3436
3442
  ref: t,
3437
3443
  onRefresh: e(c)
3438
- }, null, 8, ["onRefresh"]), l(Ml, {
3444
+ }, null, 8, ["onRefresh"]), l(Al, {
3439
3445
  ref_key: "providerTableDrawerRef",
3440
3446
  ref: f
3441
3447
  }, null, 512)]),
@@ -3443,15 +3449,15 @@ const Pl = /* @__PURE__ */ O({
3443
3449
  }, 8, ["modelValue"]);
3444
3450
  };
3445
3451
  }
3446
- }), Dl = /* @__PURE__ */ O({
3452
+ }), Sl = /* @__PURE__ */ O({
3447
3453
  __name: "SSLTableDrawer",
3448
- setup(R, {
3454
+ setup(x, {
3449
3455
  expose: U
3450
3456
  }) {
3451
3457
  const {
3452
3458
  requesting: k,
3453
3459
  executing: h
3454
- } = E(ue), V = I(0), _ = I(!1), {
3460
+ } = E(ue), V = I(0), b = I(!1), {
3455
3461
  tableRef: c,
3456
3462
  formModalRef: i,
3457
3463
  refresh: p,
@@ -3521,33 +3527,33 @@ const Pl = /* @__PURE__ */ O({
3521
3527
  text: !0,
3522
3528
  disabled: h.value && V.value !== A.id,
3523
3529
  loading: V.value == A.id,
3524
- onClick: () => b(A)
3530
+ onClick: () => _(A)
3525
3531
  }, null)]
3526
3532
  })
3527
3533
  }
3528
3534
  ], f = () => {
3529
- _.value = !0;
3535
+ b.value = !0;
3530
3536
  }, g = (A) => {
3531
3537
  ue.gen({
3532
3538
  id: A
3533
- }).then((x) => {
3534
- console.warn("Res:", x);
3539
+ }).then((w) => {
3540
+ console.warn("Res:", w);
3535
3541
  });
3536
3542
  };
3537
- function b(A) {
3538
- const x = De.getDownloadUrl(A.path + ".zip");
3539
- fetch(x).then((n) => n.blob()).then((n) => {
3543
+ function _(A) {
3544
+ const w = Se.getDownloadUrl(A.path + ".zip");
3545
+ fetch(w).then((n) => n.blob()).then((n) => {
3540
3546
  let d = URL.createObjectURL(n), r = document.createElement("a");
3541
3547
  r.style.display = "none", r.href = d, r.download = A.name + ".zip", r.click(), URL.revokeObjectURL(n);
3542
3548
  });
3543
3549
  }
3544
3550
  return U({
3545
3551
  open: f
3546
- }), (A, x) => {
3552
+ }), (A, w) => {
3547
3553
  const n = s("el-page-header");
3548
3554
  return L(), T(e(ce), {
3549
- modelValue: _.value,
3550
- "onUpdate:modelValue": x[0] || (x[0] = (d) => _.value = d),
3555
+ modelValue: b.value,
3556
+ "onUpdate:modelValue": w[0] || (w[0] = (d) => b.value = d),
3551
3557
  width: "1000px",
3552
3558
  "show-close": !1,
3553
3559
  class: "basic-drawer"
@@ -3573,7 +3579,7 @@ const Pl = /* @__PURE__ */ O({
3573
3579
  url: e(ue).urls.list,
3574
3580
  columns: u,
3575
3581
  loading: e(k)
3576
- }, null, 8, ["url", "loading"]), l(Oe, {
3582
+ }, null, 8, ["url", "loading"]), l($e, {
3577
3583
  ref_key: "formModalRef",
3578
3584
  ref: i,
3579
3585
  onRefresh: e(p)
@@ -3582,7 +3588,7 @@ const Pl = /* @__PURE__ */ O({
3582
3588
  }, 8, ["modelValue"]);
3583
3589
  };
3584
3590
  }
3585
- }), Me = W.routineApi("SSLLog", "id"), Sl = /* @__PURE__ */ O({
3591
+ }), Ae = W.routineApi("SSLLog", "id"), Ll = /* @__PURE__ */ O({
3586
3592
  __name: "SSLLogTableDrawer",
3587
3593
  props: {
3588
3594
  ssl: {
@@ -3590,13 +3596,13 @@ const Pl = /* @__PURE__ */ O({
3590
3596
  default: () => ({})
3591
3597
  }
3592
3598
  },
3593
- setup(R, {
3599
+ setup(x, {
3594
3600
  expose: U
3595
3601
  }) {
3596
- const k = R, {
3602
+ const k = x, {
3597
3603
  requesting: h,
3598
3604
  executing: V
3599
- } = E([Me, ue]), _ = I(!1), {
3605
+ } = E([Ae, ue]), b = I(!1), {
3600
3606
  tableRef: c,
3601
3607
  refresh: i
3602
3608
  } = F(), p = [{
@@ -3616,7 +3622,7 @@ const Pl = /* @__PURE__ */ O({
3616
3622
  label: a("base.result"),
3617
3623
  width: 0
3618
3624
  }], t = () => {
3619
- _.value = !0;
3625
+ b.value = !0;
3620
3626
  };
3621
3627
  function v() {
3622
3628
  ue.gen({
@@ -3626,24 +3632,24 @@ const Pl = /* @__PURE__ */ O({
3626
3632
  });
3627
3633
  }
3628
3634
  function u() {
3629
- const f = De.getDownloadUrl(k.ssl.path + ".zip");
3635
+ const f = Se.getDownloadUrl(k.ssl.path + ".zip");
3630
3636
  fetch(f).then((g) => g.blob()).then((g) => {
3631
- let b = URL.createObjectURL(g), A = document.createElement("a");
3632
- A.style.display = "none", A.href = b, A.download = k.ssl.name + ".zip", A.click(), URL.revokeObjectURL(g);
3637
+ let _ = URL.createObjectURL(g), A = document.createElement("a");
3638
+ A.style.display = "none", A.href = _, A.download = k.ssl.name + ".zip", A.click(), URL.revokeObjectURL(g);
3633
3639
  });
3634
3640
  }
3635
3641
  return U({
3636
3642
  open: t
3637
3643
  }), (f, g) => {
3638
- const b = s("el-page-header");
3644
+ const _ = s("el-page-header");
3639
3645
  return L(), T(e(ce), {
3640
- modelValue: _.value,
3641
- "onUpdate:modelValue": g[0] || (g[0] = (A) => _.value = A),
3646
+ modelValue: b.value,
3647
+ "onUpdate:modelValue": g[0] || (g[0] = (A) => b.value = A),
3642
3648
  width: "600px",
3643
3649
  "show-close": !1,
3644
3650
  class: "basic-drawer"
3645
3651
  }, {
3646
- title: o(() => [l(b, {
3652
+ title: o(() => [l(_, {
3647
3653
  icon: ""
3648
3654
  }, {
3649
3655
  title: o(() => [N("span", null, z(e(a)("config.ssl base.log")), 1)]),
@@ -3674,7 +3680,7 @@ const Pl = /* @__PURE__ */ O({
3674
3680
  ref: c,
3675
3681
  size: "small",
3676
3682
  "row-key": "id",
3677
- url: e(Me).urls.search,
3683
+ url: e(Ae).urls.search,
3678
3684
  columns: p,
3679
3685
  loading: e(h)
3680
3686
  }, null, 8, ["url", "loading"])]),
@@ -3682,15 +3688,15 @@ const Pl = /* @__PURE__ */ O({
3682
3688
  }, 8, ["modelValue"]);
3683
3689
  };
3684
3690
  }
3685
- }), Ll = /* @__PURE__ */ O({
3691
+ }), Cl = /* @__PURE__ */ O({
3686
3692
  __name: "index",
3687
- setup(R) {
3693
+ setup(x) {
3688
3694
  const U = I(), {
3689
3695
  requesting: k,
3690
3696
  executing: h
3691
3697
  } = E(se), {
3692
3698
  tableRef: V,
3693
- formModalRef: _,
3699
+ formModalRef: b,
3694
3700
  reset: c,
3695
3701
  refresh: i,
3696
3702
  openFormModal: p,
@@ -3702,9 +3708,9 @@ const Pl = /* @__PURE__ */ O({
3702
3708
  formModalRef: f,
3703
3709
  openFormModal: g
3704
3710
  } = F(), {
3705
- formModalRef: b,
3711
+ formModalRef: _,
3706
3712
  openFormModal: A
3707
- } = F(), x = [{
3713
+ } = F(), w = [{
3708
3714
  prop: "domain.name",
3709
3715
  label: a("config.domain"),
3710
3716
  width: 129,
@@ -3782,7 +3788,7 @@ const Pl = /* @__PURE__ */ O({
3782
3788
  n.value = r.id, se.check({
3783
3789
  id: r.id
3784
3790
  }).then((y) => {
3785
- y.data && (He(y), i());
3791
+ y.data && (Qe(y), i());
3786
3792
  }).finally(() => {
3787
3793
  n.value = 0;
3788
3794
  });
@@ -3829,37 +3835,37 @@ const Pl = /* @__PURE__ */ O({
3829
3835
  ref: V,
3830
3836
  size: "small",
3831
3837
  "row-key": "id",
3832
- url: e(se).urls[e(Qe)],
3838
+ url: e(se).urls[e(Je)],
3833
3839
  "auto-search": "",
3834
- columns: x
3835
- }, null, 8, ["url"]), l(kl, {
3840
+ columns: w
3841
+ }, null, 8, ["url"]), l(vl, {
3836
3842
  ref_key: "formModalRef",
3837
- ref: _,
3843
+ ref: b,
3838
3844
  onRefresh: e(i)
3839
- }, null, 8, ["onRefresh"]), l(Al, {
3845
+ }, null, 8, ["onRefresh"]), l(Dl, {
3840
3846
  ref_key: "domainTableDrawerRef",
3841
3847
  ref: v
3842
- }, null, 512), l(Dl, {
3848
+ }, null, 512), l(Sl, {
3843
3849
  ref_key: "sslTableDrawerRef",
3844
3850
  ref: f
3845
- }, null, 512), l(Sl, {
3851
+ }, null, 512), l(Ll, {
3846
3852
  ref_key: "sslLogTableDrawerRef",
3847
- ref: b
3853
+ ref: _
3848
3854
  }, null, 512)]),
3849
3855
  _: 1
3850
3856
  });
3851
3857
  };
3852
3858
  }
3853
- }), Cl = /* @__PURE__ */ Le(Ll, [["__scopeId", "data-v-6d185b05"]]), ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3859
+ }), ql = /* @__PURE__ */ Ce(Cl, [["__scopeId", "data-v-6d185b05"]]), Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3854
3860
  __proto__: null,
3855
- default: Cl
3856
- }, Symbol.toStringTag, { value: "Module" })), Tl = {
3861
+ default: ql
3862
+ }, Symbol.toStringTag, { value: "Module" })), Ol = {
3857
3863
  request: "request",
3858
3864
  error: "error",
3859
3865
  sql: "SQL"
3860
- }, ie = W.routineApi("log", "id", Tl), jl = /* @__PURE__ */ O({
3866
+ }, ie = W.routineApi("log", "id", Ol), Kl = /* @__PURE__ */ O({
3861
3867
  __name: "index",
3862
- setup(R) {
3868
+ setup(x) {
3863
3869
  const U = {
3864
3870
  dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
3865
3871
  }, k = [{
@@ -3882,7 +3888,7 @@ const Pl = /* @__PURE__ */ O({
3882
3888
  requesting: h
3883
3889
  } = E(ie), {
3884
3890
  tableRef: V,
3885
- keyword: _,
3891
+ keyword: b,
3886
3892
  search: c,
3887
3893
  reset: i
3888
3894
  } = F(U);
@@ -3903,8 +3909,8 @@ const Pl = /* @__PURE__ */ O({
3903
3909
  class: "search-bar"
3904
3910
  }, {
3905
3911
  default: o(() => [l(v, {
3906
- modelValue: e(_).dates,
3907
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
3912
+ modelValue: e(b).dates,
3913
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e(b).dates = _),
3908
3914
  class: "basic-search-datetimerange",
3909
3915
  "value-format": e($).DATE_VALUE_FORMAT,
3910
3916
  format: e($).DATE_SHOW_FORMAT,
@@ -3913,10 +3919,10 @@ const Pl = /* @__PURE__ */ O({
3913
3919
  "start-placeholder": e(a)("base.start_at"),
3914
3920
  "end-placeholder": e(a)("base.end_at"),
3915
3921
  clearable: !1,
3916
- onChange: t[1] || (t[1] = (b) => e(c)())
3922
+ onChange: t[1] || (t[1] = (_) => e(c)())
3917
3923
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
3918
3924
  disabled: e(h),
3919
- onSearch: t[2] || (t[2] = (b) => e(c)())
3925
+ onSearch: t[2] || (t[2] = (_) => e(c)())
3920
3926
  }, null, 8, ["disabled"])]),
3921
3927
  _: 1
3922
3928
  })]),
@@ -3928,16 +3934,16 @@ const Pl = /* @__PURE__ */ O({
3928
3934
  size: "small",
3929
3935
  columns: k,
3930
3936
  url: e(ie).urls.request,
3931
- "search-param": e(_),
3937
+ "search-param": e(b),
3932
3938
  "auto-search": ""
3933
3939
  }, null, 8, ["url", "search-param"])]),
3934
3940
  _: 1
3935
3941
  });
3936
3942
  };
3937
3943
  }
3938
- }), Kl = /* @__PURE__ */ O({
3944
+ }), Wl = /* @__PURE__ */ O({
3939
3945
  __name: "index",
3940
- setup(R) {
3946
+ setup(x) {
3941
3947
  const U = {
3942
3948
  dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
3943
3949
  }, k = [{
@@ -3960,7 +3966,7 @@ const Pl = /* @__PURE__ */ O({
3960
3966
  requesting: h
3961
3967
  } = E(ie), {
3962
3968
  tableRef: V,
3963
- keyword: _,
3969
+ keyword: b,
3964
3970
  search: c,
3965
3971
  reset: i
3966
3972
  } = F(U);
@@ -3981,8 +3987,8 @@ const Pl = /* @__PURE__ */ O({
3981
3987
  class: "search-bar"
3982
3988
  }, {
3983
3989
  default: o(() => [l(v, {
3984
- modelValue: e(_).dates,
3985
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
3990
+ modelValue: e(b).dates,
3991
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e(b).dates = _),
3986
3992
  class: "basic-search-daterange",
3987
3993
  "value-format": e($).DATE_FORMAT,
3988
3994
  format: e($).DATE_FORMAT,
@@ -3991,10 +3997,10 @@ const Pl = /* @__PURE__ */ O({
3991
3997
  "start-placeholder": e(a)("base.start_at"),
3992
3998
  "end-placeholder": e(a)("base.end_at"),
3993
3999
  clearable: !1,
3994
- onChange: t[1] || (t[1] = (b) => e(c)())
4000
+ onChange: t[1] || (t[1] = (_) => e(c)())
3995
4001
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
3996
4002
  disabled: e(h),
3997
- onSearch: t[2] || (t[2] = (b) => e(c)())
4003
+ onSearch: t[2] || (t[2] = (_) => e(c)())
3998
4004
  }, null, 8, ["disabled"])]),
3999
4005
  _: 1
4000
4006
  })]),
@@ -4006,16 +4012,16 @@ const Pl = /* @__PURE__ */ O({
4006
4012
  size: "small",
4007
4013
  columns: k,
4008
4014
  url: e(ie).urls.error,
4009
- "search-param": e(_),
4015
+ "search-param": e(b),
4010
4016
  "auto-search": ""
4011
4017
  }, null, 8, ["url", "search-param"])]),
4012
4018
  _: 1
4013
4019
  });
4014
4020
  };
4015
4021
  }
4016
- }), Wl = /* @__PURE__ */ O({
4022
+ }), Yl = /* @__PURE__ */ O({
4017
4023
  __name: "index",
4018
- setup(R) {
4024
+ setup(x) {
4019
4025
  const U = {
4020
4026
  dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
4021
4027
  }, k = [{
@@ -4038,7 +4044,7 @@ const Pl = /* @__PURE__ */ O({
4038
4044
  requesting: h
4039
4045
  } = E(ie), {
4040
4046
  tableRef: V,
4041
- keyword: _,
4047
+ keyword: b,
4042
4048
  search: c,
4043
4049
  reset: i
4044
4050
  } = F(U);
@@ -4059,8 +4065,8 @@ const Pl = /* @__PURE__ */ O({
4059
4065
  class: "search-bar"
4060
4066
  }, {
4061
4067
  default: o(() => [l(v, {
4062
- modelValue: e(_).dates,
4063
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
4068
+ modelValue: e(b).dates,
4069
+ "onUpdate:modelValue": t[0] || (t[0] = (_) => e(b).dates = _),
4064
4070
  class: "basic-search-daterange",
4065
4071
  "value-format": e($).DATE_FORMAT,
4066
4072
  format: e($).DATE_FORMAT,
@@ -4069,10 +4075,10 @@ const Pl = /* @__PURE__ */ O({
4069
4075
  "start-placeholder": e(a)("base.start_at"),
4070
4076
  "end-placeholder": e(a)("base.end_at"),
4071
4077
  clearable: !1,
4072
- onChange: t[1] || (t[1] = (b) => e(c)())
4078
+ onChange: t[1] || (t[1] = (_) => e(c)())
4073
4079
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(oe), {
4074
4080
  disabled: e(h),
4075
- onSearch: t[2] || (t[2] = (b) => e(c)())
4081
+ onSearch: t[2] || (t[2] = (_) => e(c)())
4076
4082
  }, null, 8, ["disabled"])]),
4077
4083
  _: 1
4078
4084
  })]),
@@ -4084,59 +4090,59 @@ const Pl = /* @__PURE__ */ O({
4084
4090
  size: "small",
4085
4091
  columns: k,
4086
4092
  url: e(ie).urls.sql,
4087
- "search-param": e(_),
4093
+ "search-param": e(b),
4088
4094
  "auto-search": ""
4089
4095
  }, null, 8, ["url", "search-param"])]),
4090
4096
  _: 1
4091
4097
  });
4092
4098
  };
4093
4099
  }
4094
- }), Ol = () => import("./index-SHsqnbNG.js"), $l = () => import("./index-CJMTIvHk.js"), Fl = () => import("./index-BMn8mAns.js"), Yl = [
4100
+ }), $l = () => import("./index-SHsqnbNG.js"), Fl = () => import("./index-CJMTIvHk.js"), El = () => import("./index-BMn8mAns.js"), Gl = [
4095
4101
  {
4096
- path: Je,
4102
+ path: Xe,
4097
4103
  name: "RequestLog",
4098
- component: Ol,
4104
+ component: $l,
4099
4105
  meta: {
4100
4106
  title: a("menu.RequestLog")
4101
4107
  }
4102
4108
  },
4103
4109
  {
4104
- path: Xe,
4110
+ path: Ze,
4105
4111
  name: "ErrorLog",
4106
- component: $l,
4112
+ component: Fl,
4107
4113
  meta: {
4108
4114
  title: a("menu.ErrorLog")
4109
4115
  }
4110
4116
  },
4111
4117
  {
4112
- path: Ze,
4118
+ path: el,
4113
4119
  name: "SqlLog",
4114
- component: Fl,
4120
+ component: El,
4115
4121
  meta: {
4116
4122
  title: a("menu.SqlLog")
4117
4123
  }
4118
4124
  }
4119
- ], Gl = {
4120
- install: (R) => {
4121
- Reflect.ownKeys(R._context.provides).some((U) => String(U) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(R._context.provides));
4125
+ ], Hl = {
4126
+ install: (x) => {
4127
+ Reflect.ownKeys(x._context.provides).some((U) => String(U) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(x._context.provides));
4122
4128
  },
4123
4129
  version: "__VERSION__"
4124
- }, Hl = /* @__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(() => ql) });
4130
+ }, Ql = /* @__PURE__ */ Object.assign({ "./views/admin/index.vue": () => import("./index-UtDarrUe.js"), "./views/language/index.vue": () => import("./index-CV4JohFl.js"), "./views/menu/index.vue": () => import("./index-DQqJ05PJ.js"), "./views/role/index.vue": () => import("./index-DM5SO2SX.js"), "./views/site/index.vue": () => Promise.resolve().then(() => Tl) });
4125
4131
  export {
4126
- Bl as AdminsPage,
4127
- vl as DomainProviderSelect,
4128
- Te as DomainSelect,
4129
- Kl as ErrorLogsPage,
4130
- Pl as LanguagesPage,
4131
- Yl as LogRoutes,
4132
- dl as MenuSelect,
4133
- Il as MenusPage,
4134
- jl as RequestLogsPage,
4135
- Nl as RolesPage,
4136
- Wl as SQLLogsPage,
4137
- Cl as SitePage,
4138
- Rl as SiteSelect,
4139
- tl as TopMenuSelect,
4140
- Hl as basicModules,
4141
- Gl as default
4132
+ jl as AdminsPage,
4133
+ wl as DomainProviderSelect,
4134
+ Oe as DomainSelect,
4135
+ Wl as ErrorLogsPage,
4136
+ Bl as LanguagesPage,
4137
+ Gl as LogRoutes,
4138
+ sl as MenuSelect,
4139
+ Nl as MenusPage,
4140
+ Kl as RequestLogsPage,
4141
+ Pl as RolesPage,
4142
+ Yl as SQLLogsPage,
4143
+ ql as SitePage,
4144
+ Ul as SiteSelect,
4145
+ rl as TopMenuSelect,
4146
+ Ql as basicModules,
4147
+ Hl as default
4142
4148
  };