auto-vue-basic 0.0.54 → 0.0.55

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,9 +1,9 @@
1
- import { defineComponent as q, ref as N, onBeforeMount as Me, resolveComponent as s, createBlock as T, openBlock as L, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as X, createElementBlock as Q, Fragment as W, renderList as re, toDisplayString as Y, withKeys as be, createElementVNode as j, toRef as te, normalizeClass as ye, isVNode as Ae, reactive as De, onMounted as Le, watch as Se, nextTick as Te, createCommentVNode as qe } from "vue";
2
- import { ApiUtils as K, useForm as H, Translate as a, RulesUtils as Oe, FormDialog as G, BasicAvatar as Ce, ModifyButton as J, useCrudPage as F, useLoading as $, ProTable as ie, DEFAULT_PAGE_KEY as fe, SearchButton as Z, RefreshButton as P, OpenButton as B, DEFAULT_STATUS_KEY as ke, useSelect as ne, InlineRefreshButton as pe, DEFAULT_REMOVE_KEY as Ee, TimeUtils as C, BasicDrawer as _e, ProTableList as ee, RequestButton as de, AssetsUtils as ve, notification as Fe, DEFAULT_LIST_URL as $e, REQUEST_LOG_URL as ze, ERROR_LOG_URL as Pe, SQL_LOG_URL as Be } from "auto-vue-manual";
3
- const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie = /* @__PURE__ */ q({
1
+ import { defineComponent as T, ref as j, onBeforeMount as Me, resolveComponent as s, createBlock as q, openBlock as L, unref as e, isRef as z, withCtx as t, createVNode as l, createTextVNode as X, createElementBlock as Q, Fragment as Y, renderList as re, toDisplayString as W, withKeys as be, createElementVNode as P, toRef as te, normalizeClass as he, isVNode as Ae, reactive as De, onMounted as Le, watch as Se, nextTick as qe, createCommentVNode as Te } from "vue";
2
+ import { ApiUtils as K, useForm as H, Translate as a, RulesUtils as Oe, FormDialog as G, BasicAvatar as Ce, ModifyButton as J, useCrudPage as F, useLoading as $, ProTable as ie, DEFAULT_PAGE_KEY as fe, SearchButton as Z, RefreshButton as B, OpenButton as I, DEFAULT_STATUS_KEY as ke, useSelect as ne, InlineRefreshButton as pe, DEFAULT_REMOVE_KEY as Ee, TimeUtils as C, BasicDrawer as _e, ProTableList as ee, RequestButton as de, AssetsUtils as ve, notification as Fe, DEFAULT_LIST_URL as $e, REQUEST_LOG_URL as ze, ERROR_LOG_URL as Pe, SQL_LOG_URL as Be } from "auto-vue-manual";
3
+ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie = /* @__PURE__ */ T({
4
4
  __name: "AdminFormModal",
5
5
  emits: ["refresh"],
6
- setup(M, { expose: w, emit: V }) {
6
+ setup(M, { expose: x, emit: V }) {
7
7
  const g = V, h = {
8
8
  key: "",
9
9
  username: "",
@@ -13,7 +13,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
13
13
  language: "zh-CN",
14
14
  remark: "",
15
15
  roles: []
16
- }, { modal: b, title: p, form: i, formData: c, requesting: n, executing: v, open: u, modify: f, submit: m, closed: R } = H(g, h, ge), U = {
16
+ }, { modal: b, title: p, form: i, formData: m, requesting: n, executing: w, open: u, modify: f, submit: c, closed: k } = H(g, h, ge), U = {
17
17
  username: [
18
18
  {
19
19
  required: !0,
@@ -58,34 +58,34 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
58
58
  trigger: "change"
59
59
  }
60
60
  ]
61
- }, k = N([]), o = async () => {
61
+ }, v = j([]), o = async () => {
62
62
  const r = await ce.list();
63
- k.value = Array.isArray(r == null ? void 0 : r.data) ? r.data : [];
63
+ v.value = Array.isArray(r == null ? void 0 : r.data) ? r.data : [];
64
64
  };
65
65
  return Me(async () => {
66
66
  await o();
67
- }), w({
67
+ }), x({
68
68
  open: u,
69
69
  modify: f
70
70
  }), (r, d) => {
71
- const y = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"), x = s("el-radio-group"), S = s("el-checkbox"), A = s("el-checkbox-group"), O = s("el-form");
72
- return L(), T(e(G), {
71
+ const y = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"), R = s("el-radio-group"), S = s("el-checkbox"), A = s("el-checkbox-group"), O = s("el-form");
72
+ return L(), q(e(G), {
73
73
  modelValue: e(b),
74
74
  "onUpdate:modelValue": d[7] || (d[7] = (E) => z(b) ? b.value = E : null),
75
75
  title: e(p)(),
76
76
  width: "600px",
77
- executing: e(v),
78
- onClosed: e(R),
79
- onSubmit: e(m)
77
+ executing: e(w),
78
+ onClosed: e(k),
79
+ onSubmit: e(c)
80
80
  }, {
81
81
  default: t(() => [
82
82
  l(O, {
83
83
  ref_key: "form",
84
84
  ref: i,
85
- model: e(c),
85
+ model: e(m),
86
86
  "label-width": "auto",
87
87
  rules: U,
88
- disabled: e(n) || e(v)
88
+ disabled: e(n) || e(w)
89
89
  }, {
90
90
  default: t(() => [
91
91
  l(_, {
@@ -94,8 +94,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
94
94
  }, {
95
95
  default: t(() => [
96
96
  l(y, {
97
- modelValue: e(c).username,
98
- "onUpdate:modelValue": d[0] || (d[0] = (E) => e(c).username = E),
97
+ modelValue: e(m).username,
98
+ "onUpdate:modelValue": d[0] || (d[0] = (E) => e(m).username = E),
99
99
  placeholder: e(a)("base.placeholder.input"),
100
100
  autocomplete: "off"
101
101
  }, null, 8, ["modelValue", "placeholder"])
@@ -108,8 +108,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
108
108
  }, {
109
109
  default: t(() => [
110
110
  l(y, {
111
- modelValue: e(c).phone,
112
- "onUpdate:modelValue": d[1] || (d[1] = (E) => e(c).phone = E),
111
+ modelValue: e(m).phone,
112
+ "onUpdate:modelValue": d[1] || (d[1] = (E) => e(m).phone = E),
113
113
  placeholder: e(a)("base.placeholder.input"),
114
114
  autocomplete: "off"
115
115
  }, null, 8, ["modelValue", "placeholder"])
@@ -119,12 +119,12 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
119
119
  l(_, {
120
120
  label: e(a)("base.password"),
121
121
  prop: "password",
122
- required: !e(c).key
122
+ required: !e(m).key
123
123
  }, {
124
124
  default: t(() => [
125
125
  l(y, {
126
- modelValue: e(c).password,
127
- "onUpdate:modelValue": d[2] || (d[2] = (E) => e(c).password = E),
126
+ modelValue: e(m).password,
127
+ "onUpdate:modelValue": d[2] || (d[2] = (E) => e(m).password = E),
128
128
  placeholder: e(a)("base.placeholder.input"),
129
129
  autocomplete: "off"
130
130
  }, null, 8, ["modelValue", "placeholder"])
@@ -137,8 +137,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
137
137
  }, {
138
138
  default: t(() => [
139
139
  l(y, {
140
- modelValue: e(c).email,
141
- "onUpdate:modelValue": d[3] || (d[3] = (E) => e(c).email = E),
140
+ modelValue: e(m).email,
141
+ "onUpdate:modelValue": d[3] || (d[3] = (E) => e(m).email = E),
142
142
  placeholder: e(a)("base.placeholder.input"),
143
143
  autocomplete: "off"
144
144
  }, null, 8, ["modelValue", "placeholder"])
@@ -150,9 +150,9 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
150
150
  prop: "language"
151
151
  }, {
152
152
  default: t(() => [
153
- l(x, {
154
- modelValue: e(c).language,
155
- "onUpdate:modelValue": d[4] || (d[4] = (E) => e(c).language = E)
153
+ l(R, {
154
+ modelValue: e(m).language,
155
+ "onUpdate:modelValue": d[4] || (d[4] = (E) => e(m).language = E)
156
156
  }, {
157
157
  default: t(() => [
158
158
  l(D, { value: "zh-CN" }, {
@@ -181,16 +181,16 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
181
181
  }, {
182
182
  default: t(() => [
183
183
  l(A, {
184
- modelValue: e(c).roles,
185
- "onUpdate:modelValue": d[5] || (d[5] = (E) => e(c).roles = E)
184
+ modelValue: e(m).roles,
185
+ "onUpdate:modelValue": d[5] || (d[5] = (E) => e(m).roles = E)
186
186
  }, {
187
187
  default: t(() => [
188
- (L(!0), Q(W, null, re(k.value, (E) => (L(), T(S, {
188
+ (L(!0), Q(Y, null, re(v.value, (E) => (L(), q(S, {
189
189
  key: E.key,
190
190
  value: E.key
191
191
  }, {
192
192
  default: t(() => [
193
- X(Y(E.translate), 1)
193
+ X(W(E.translate), 1)
194
194
  ]),
195
195
  _: 2
196
196
  }, 1032, ["value"]))), 128))
@@ -206,8 +206,8 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
206
206
  }, {
207
207
  default: t(() => [
208
208
  l(y, {
209
- modelValue: e(c).remark,
210
- "onUpdate:modelValue": d[6] || (d[6] = (E) => e(c).remark = E),
209
+ modelValue: e(m).remark,
210
+ "onUpdate:modelValue": d[6] || (d[6] = (E) => e(m).remark = E),
211
211
  placeholder: e(a)("base.placeholder.input")
212
212
  }, null, 8, ["modelValue", "placeholder"])
213
213
  ]),
@@ -221,10 +221,10 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
221
221
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
222
222
  };
223
223
  }
224
- }), Ne = /* @__PURE__ */ q({
224
+ }), Ne = /* @__PURE__ */ T({
225
225
  __name: "index",
226
226
  setup(M) {
227
- const w = {
227
+ const x = {
228
228
  keyword: ""
229
229
  }, V = [{
230
230
  label: a("base.avatar"),
@@ -286,40 +286,40 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
286
286
  formModalRef: b,
287
287
  keyword: p,
288
288
  search: i,
289
- reset: c,
289
+ reset: m,
290
290
  refresh: n,
291
- openFormModal: v,
291
+ openFormModal: w,
292
292
  editFormModal: u
293
- } = F(w);
294
- return (f, m) => {
295
- const R = s("el-input"), U = s("el-space"), k = s("el-page-header"), o = s("el-card");
296
- return L(), T(o, {
293
+ } = F(x);
294
+ return (f, c) => {
295
+ const k = s("el-input"), U = s("el-space"), v = s("el-page-header"), o = s("el-card");
296
+ return L(), q(o, {
297
297
  class: "basic-card flex-full",
298
298
  "body-class": "flex-1"
299
299
  }, {
300
- header: t(() => [l(k, {
300
+ header: t(() => [l(v, {
301
301
  class: "basic-header"
302
302
  }, {
303
- title: t(() => [l(e(P), {
303
+ title: t(() => [l(e(B), {
304
304
  loading: e(g),
305
- onRefresh: e(c)
306
- }, null, 8, ["loading", "onRefresh"]), l(e(B), {
307
- onOpen: e(v)
305
+ onRefresh: e(m)
306
+ }, null, 8, ["loading", "onRefresh"]), l(e(I), {
307
+ onOpen: e(w)
308
308
  }, null, 8, ["onOpen"])]),
309
309
  content: t(() => [l(U, {
310
310
  class: "search-bar"
311
311
  }, {
312
- default: t(() => [l(R, {
312
+ default: t(() => [l(k, {
313
313
  class: "basic-search-input",
314
314
  modelValue: e(p).keyword,
315
- "onUpdate:modelValue": m[0] || (m[0] = (r) => e(p).keyword = r),
315
+ "onUpdate:modelValue": c[0] || (c[0] = (r) => e(p).keyword = r),
316
316
  placeholder: e(a)("base.placeholder.keyword"),
317
317
  clearable: "",
318
- onKeyup: m[1] || (m[1] = be((r) => e(i)(), ["enter"])),
319
- onClear: m[2] || (m[2] = (r) => e(i)())
318
+ onKeyup: c[1] || (c[1] = be((r) => e(i)(), ["enter"])),
319
+ onClear: c[2] || (c[2] = (r) => e(i)())
320
320
  }, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
321
321
  disabled: e(g),
322
- onSearch: m[3] || (m[3] = (r) => e(i)())
322
+ onSearch: c[3] || (c[3] = (r) => e(i)())
323
323
  }, null, 8, ["disabled"])]),
324
324
  _: 1
325
325
  })]),
@@ -345,10 +345,10 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
345
345
  }), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
346
346
  __proto__: null,
347
347
  default: Ne
348
- }, Symbol.toStringTag, { value: "Module" })), me = K.routineApi("translation", "key"), Ke = /* @__PURE__ */ q({
348
+ }, Symbol.toStringTag, { value: "Module" })), me = K.routineApi("translation", "key"), Ke = /* @__PURE__ */ T({
349
349
  __name: "LangFormModal",
350
350
  emits: ["refresh"],
351
- setup(M, { expose: w, emit: V }) {
351
+ setup(M, { expose: x, emit: V }) {
352
352
  const g = V, h = {
353
353
  id: 0,
354
354
  key: "",
@@ -385,29 +385,29 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
385
385
  trigger: "blur"
386
386
  }
387
387
  ]
388
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, me);
389
- return w({
388
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, me);
389
+ return x({
390
390
  open: f,
391
- modify: m
392
- }), (k, o) => {
391
+ modify: c
392
+ }), (v, o) => {
393
393
  const r = s("el-input"), d = s("el-form-item"), y = s("el-radio-button"), _ = s("el-radio-group"), D = s("el-form");
394
- return L(), T(e(G), {
394
+ return L(), q(e(G), {
395
395
  modelValue: e(p),
396
- "onUpdate:modelValue": o[5] || (o[5] = (x) => z(p) ? p.value = x : null),
396
+ "onUpdate:modelValue": o[5] || (o[5] = (R) => z(p) ? p.value = R : null),
397
397
  title: e(i)(),
398
398
  width: "600px",
399
399
  executing: e(u),
400
400
  onClosed: e(U),
401
- onSubmit: e(R)
401
+ onSubmit: e(k)
402
402
  }, {
403
403
  default: t(() => [
404
404
  l(D, {
405
405
  ref_key: "form",
406
- ref: c,
406
+ ref: m,
407
407
  model: e(n),
408
408
  "label-width": "auto",
409
409
  rules: b,
410
- disabled: e(v) || e(u)
410
+ disabled: e(w) || e(u)
411
411
  }, {
412
412
  default: t(() => [
413
413
  l(d, {
@@ -418,7 +418,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
418
418
  default: t(() => [
419
419
  l(r, {
420
420
  modelValue: e(n).module,
421
- "onUpdate:modelValue": o[0] || (o[0] = (x) => e(n).module = x),
421
+ "onUpdate:modelValue": o[0] || (o[0] = (R) => e(n).module = R),
422
422
  placeholder: e(a)("language.placeholder.module")
423
423
  }, null, 8, ["modelValue", "placeholder"])
424
424
  ]),
@@ -432,7 +432,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
432
432
  default: t(() => [
433
433
  l(r, {
434
434
  modelValue: e(n).key,
435
- "onUpdate:modelValue": o[1] || (o[1] = (x) => e(n).key = x),
435
+ "onUpdate:modelValue": o[1] || (o[1] = (R) => e(n).key = R),
436
436
  placeholder: e(a)("language.placeholder.key")
437
437
  }, null, 8, ["modelValue", "placeholder"])
438
438
  ]),
@@ -446,7 +446,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
446
446
  default: t(() => [
447
447
  l(_, {
448
448
  modelValue: e(n).language,
449
- "onUpdate:modelValue": o[2] || (o[2] = (x) => e(n).language = x)
449
+ "onUpdate:modelValue": o[2] || (o[2] = (R) => e(n).language = R)
450
450
  }, {
451
451
  default: t(() => [
452
452
  l(y, { label: "zh-CN" }, {
@@ -477,7 +477,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
477
477
  default: t(() => [
478
478
  l(r, {
479
479
  modelValue: e(n).result,
480
- "onUpdate:modelValue": o[3] || (o[3] = (x) => e(n).result = x),
480
+ "onUpdate:modelValue": o[3] || (o[3] = (R) => e(n).result = R),
481
481
  placeholder: e(a)("language.placeholder.result")
482
482
  }, null, 8, ["modelValue", "placeholder"])
483
483
  ]),
@@ -490,7 +490,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
490
490
  default: t(() => [
491
491
  l(r, {
492
492
  modelValue: e(n).remark,
493
- "onUpdate:modelValue": o[4] || (o[4] = (x) => e(n).remark = x),
493
+ "onUpdate:modelValue": o[4] || (o[4] = (R) => e(n).remark = R),
494
494
  placeholder: e(a)("base.placeholder.input")
495
495
  }, null, 8, ["modelValue", "placeholder"])
496
496
  ]),
@@ -504,10 +504,10 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
504
504
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
505
505
  };
506
506
  }
507
- }), We = /* @__PURE__ */ q({
507
+ }), We = /* @__PURE__ */ T({
508
508
  __name: "index",
509
509
  setup(M) {
510
- const w = {
510
+ const x = {
511
511
  keyword: "",
512
512
  status: 0
513
513
  }, V = [{
@@ -568,43 +568,43 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
568
568
  formModalRef: b,
569
569
  keyword: p,
570
570
  search: i,
571
- reset: c,
571
+ reset: m,
572
572
  refresh: n,
573
- openFormModal: v,
573
+ openFormModal: w,
574
574
  editFormModal: u
575
- } = F(w);
576
- return (f, m) => {
577
- const R = s("el-input"), U = s("el-radio-button"), k = s("el-radio-group"), o = s("el-space"), r = s("el-page-header"), d = s("el-card");
578
- return L(), T(d, {
575
+ } = F(x);
576
+ return (f, c) => {
577
+ const k = s("el-input"), U = s("el-radio-button"), v = s("el-radio-group"), o = s("el-space"), r = s("el-page-header"), d = s("el-card");
578
+ return L(), q(d, {
579
579
  class: "basic-card flex-full",
580
580
  "body-class": "flex-1"
581
581
  }, {
582
582
  header: t(() => [l(r, {
583
583
  class: "basic-header"
584
584
  }, {
585
- title: t(() => [l(e(P), {
585
+ title: t(() => [l(e(B), {
586
586
  loading: e(g),
587
- onRefresh: e(c)
588
- }, null, 8, ["loading", "onRefresh"]), l(e(B), {
589
- onOpen: e(v)
587
+ onRefresh: e(m)
588
+ }, null, 8, ["loading", "onRefresh"]), l(e(I), {
589
+ onOpen: e(w)
590
590
  }, null, 8, ["onOpen"])]),
591
591
  content: t(() => [l(o, {
592
592
  class: "search-bar"
593
593
  }, {
594
- default: t(() => [l(R, {
594
+ default: t(() => [l(k, {
595
595
  class: "basic-search-input",
596
596
  modelValue: e(p).keyword,
597
- "onUpdate:modelValue": m[0] || (m[0] = (y) => e(p).keyword = y),
597
+ "onUpdate:modelValue": c[0] || (c[0] = (y) => e(p).keyword = y),
598
598
  placeholder: e(a)("base.placeholder.keyword"),
599
599
  clearable: "",
600
- onKeyup: m[1] || (m[1] = be((y) => e(i)(), ["enter"])),
601
- onClear: m[2] || (m[2] = (y) => e(i)())
602
- }, null, 8, ["modelValue", "placeholder"]), l(k, {
600
+ onKeyup: c[1] || (c[1] = be((y) => e(i)(), ["enter"])),
601
+ onClear: c[2] || (c[2] = (y) => e(i)())
602
+ }, null, 8, ["modelValue", "placeholder"]), l(v, {
603
603
  modelValue: e(p).status,
604
- "onUpdate:modelValue": m[3] || (m[3] = (y) => e(p).status = y),
605
- onChange: m[4] || (m[4] = (y) => e(i)())
604
+ "onUpdate:modelValue": c[3] || (c[3] = (y) => e(p).status = y),
605
+ onChange: c[4] || (c[4] = (y) => e(i)())
606
606
  }, {
607
- default: t(() => [(L(), Q(W, null, re([0, 1, 2], (y) => l(U, {
607
+ default: t(() => [(L(), Q(Y, null, re([0, 1, 2], (y) => l(U, {
608
608
  key: y,
609
609
  label: e(a)(`base.DISABLE_ENABLE.${y}`),
610
610
  value: y
@@ -612,7 +612,7 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
612
612
  _: 1
613
613
  }, 8, ["modelValue"]), l(e(Z), {
614
614
  disabled: e(g),
615
- onSearch: m[5] || (m[5] = (y) => e(i)())
615
+ onSearch: c[5] || (c[5] = (y) => e(i)())
616
616
  }, null, 8, ["disabled"])]),
617
617
  _: 1
618
618
  })]),
@@ -641,25 +641,25 @@ const ge = K.routineApi("admin", "key"), ce = K.routineApi("role", "key"), Ie =
641
641
  }, Symbol.toStringTag, { value: "Module" })), He = {
642
642
  tops: "tops",
643
643
  rules: "rules"
644
- }, I = K.routineApi("menu", "id", He, {}, ["TOP_MENU_LIST", "MENU_LIST"]), we = K.routineApi("rule", "key");
644
+ }, N = K.routineApi("menu", "id", He, {}, ["TOP_MENU_LIST", "MENU_LIST"]), we = K.routineApi("rule", "key");
645
645
  /*! Element Plus Icons Vue v2.3.1 */
646
- var Ge = /* @__PURE__ */ q({
646
+ var Ge = /* @__PURE__ */ T({
647
647
  name: "Key",
648
648
  __name: "key",
649
649
  setup(M) {
650
- return (w, V) => (L(), Q("svg", {
650
+ return (x, V) => (L(), Q("svg", {
651
651
  xmlns: "http://www.w3.org/2000/svg",
652
652
  viewBox: "0 0 1024 1024"
653
653
  }, [
654
- j("path", {
654
+ P("path", {
655
655
  fill: "currentColor",
656
656
  d: "M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"
657
657
  })
658
658
  ]));
659
659
  }
660
660
  }), Qe = Ge;
661
- const Je = /* @__PURE__ */ q({
662
- __name: "TopMenuSelect",
661
+ const Je = /* @__PURE__ */ T({
662
+ __name: "topMenuSelect",
663
663
  props: {
664
664
  modelValue: {
665
665
  type: [Number, Array],
@@ -672,28 +672,28 @@ const Je = /* @__PURE__ */ q({
672
672
  },
673
673
  emits: ["update:modelValue", "change"],
674
674
  setup(M, {
675
- emit: w
675
+ emit: x
676
676
  }) {
677
- const V = w, g = M, {
677
+ const V = x, g = M, {
678
678
  requesting: h
679
- } = $(I), {
679
+ } = $(N), {
680
680
  value: b,
681
681
  options: p,
682
682
  change: i,
683
- refresh: c,
683
+ refresh: m,
684
684
  filterOptions: n
685
685
  } = ne(te(g, "modelValue"), V, {
686
686
  key: "TOP_MENU_LIST",
687
- api: I,
688
- url: I.urls.tops,
687
+ api: N,
688
+ url: N.urls.tops,
689
689
  isArray: !0
690
690
  });
691
- return (v, u) => {
692
- const f = s("el-select-v2");
693
- return L(), T(f, {
691
+ return (w, u) => {
692
+ const f = s("el-space"), c = s("el-select-v2");
693
+ return L(), q(c, {
694
694
  class: "w-full",
695
695
  modelValue: e(b),
696
- "onUpdate:modelValue": u[1] || (u[1] = (m) => z(b) ? b.value = m : null),
696
+ "onUpdate:modelValue": u[1] || (u[1] = (k) => z(b) ? b.value = k : null),
697
697
  options: e(p),
698
698
  multiple: M.multiple,
699
699
  disabled: e(h),
@@ -704,16 +704,24 @@ const Je = /* @__PURE__ */ q({
704
704
  }, {
705
705
  prefix: t(() => [l(e(pe), {
706
706
  loading: e(h),
707
- onRefresh: u[0] || (u[0] = (m) => e(c)(!0))
707
+ onRefresh: u[0] || (u[0] = (k) => e(m)(!0))
708
708
  }, null, 8, ["loading"])]),
709
+ default: t(({
710
+ item: k
711
+ }) => [l(f, null, {
712
+ default: t(() => [P("i", {
713
+ class: he(`icon iconfont ${k.icon}`)
714
+ }, null, 2), P("span", null, W(k.translate), 1)]),
715
+ _: 2
716
+ }, 1024)]),
709
717
  _: 1
710
718
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
711
719
  };
712
720
  }
713
- }), Xe = /* @__PURE__ */ q({
721
+ }), Xe = /* @__PURE__ */ T({
714
722
  __name: "MenuFormModal",
715
723
  emits: ["refresh"],
716
- setup(M, { expose: w, emit: V }) {
724
+ setup(M, { expose: x, emit: V }) {
717
725
  const g = V, h = {
718
726
  id: 0,
719
727
  menu_id: 0,
@@ -779,29 +787,29 @@ const Je = /* @__PURE__ */ q({
779
787
  trigger: "blur"
780
788
  }
781
789
  ]
782
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, I);
783
- return w({
790
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, N);
791
+ return x({
784
792
  open: f,
785
- modify: m
786
- }), (k, o) => {
787
- const r = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), _ = s("el-row"), D = s("el-input"), x = s("el-switch"), S = s("el-form");
788
- return L(), T(e(G), {
793
+ modify: c
794
+ }), (v, o) => {
795
+ const r = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), _ = s("el-row"), D = s("el-input"), R = s("el-switch"), S = s("el-form");
796
+ return L(), q(e(G), {
789
797
  modelValue: e(p),
790
798
  "onUpdate:modelValue": o[17] || (o[17] = (A) => z(p) ? p.value = A : null),
791
799
  title: e(i)(),
792
800
  width: "1000px",
793
801
  executing: e(u),
794
802
  onClosed: e(U),
795
- onSubmit: e(R)
803
+ onSubmit: e(k)
796
804
  }, {
797
805
  default: t(() => [
798
806
  l(S, {
799
807
  ref_key: "form",
800
- ref: c,
808
+ ref: m,
801
809
  model: e(n),
802
810
  "label-width": "auto",
803
811
  rules: b,
804
- disabled: e(v) || e(u)
812
+ disabled: e(w) || e(u)
805
813
  }, {
806
814
  default: t(() => [
807
815
  l(_, { gutter: 20 }, {
@@ -947,8 +955,8 @@ const Je = /* @__PURE__ */ q({
947
955
  })
948
956
  }, {
949
957
  prepend: t(() => [
950
- j("span", {
951
- class: ye("iconfont " + e(n).icon)
958
+ P("span", {
959
+ class: he("iconfont " + e(n).icon)
952
960
  }, null, 2)
953
961
  ]),
954
962
  _: 1
@@ -991,7 +999,7 @@ const Je = /* @__PURE__ */ q({
991
999
  prop: "meta.link"
992
1000
  }, {
993
1001
  default: t(() => [
994
- l(x, {
1002
+ l(R, {
995
1003
  modelValue: e(n).meta.link,
996
1004
  "onUpdate:modelValue": o[12] || (o[12] = (A) => e(n).meta.link = A)
997
1005
  }, null, 8, ["modelValue"])
@@ -1008,7 +1016,7 @@ const Je = /* @__PURE__ */ q({
1008
1016
  prop: "meta.keep_alive"
1009
1017
  }, {
1010
1018
  default: t(() => [
1011
- l(x, {
1019
+ l(R, {
1012
1020
  modelValue: e(n).meta.keep_alive,
1013
1021
  "onUpdate:modelValue": o[13] || (o[13] = (A) => e(n).meta.keep_alive = A)
1014
1022
  }, null, 8, ["modelValue"])
@@ -1025,7 +1033,7 @@ const Je = /* @__PURE__ */ q({
1025
1033
  prop: "meta.hide"
1026
1034
  }, {
1027
1035
  default: t(() => [
1028
- l(x, {
1036
+ l(R, {
1029
1037
  modelValue: e(n).meta.hide,
1030
1038
  "onUpdate:modelValue": o[14] || (o[14] = (A) => e(n).meta.hide = A)
1031
1039
  }, null, 8, ["modelValue"])
@@ -1042,7 +1050,7 @@ const Je = /* @__PURE__ */ q({
1042
1050
  prop: "meta.full"
1043
1051
  }, {
1044
1052
  default: t(() => [
1045
- l(x, {
1053
+ l(R, {
1046
1054
  modelValue: e(n).meta.full,
1047
1055
  "onUpdate:modelValue": o[15] || (o[15] = (A) => e(n).meta.full = A)
1048
1056
  }, null, 8, ["modelValue"])
@@ -1059,7 +1067,7 @@ const Je = /* @__PURE__ */ q({
1059
1067
  prop: "meta.affix"
1060
1068
  }, {
1061
1069
  default: t(() => [
1062
- l(x, {
1070
+ l(R, {
1063
1071
  modelValue: e(n).meta.affix,
1064
1072
  "onUpdate:modelValue": o[16] || (o[16] = (A) => e(n).meta.affix = A)
1065
1073
  }, null, 8, ["modelValue"])
@@ -1086,7 +1094,7 @@ const Je = /* @__PURE__ */ q({
1086
1094
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
1087
1095
  };
1088
1096
  }
1089
- }), Ze = /* @__PURE__ */ q({
1097
+ }), Ze = /* @__PURE__ */ T({
1090
1098
  __name: "MenuSelect",
1091
1099
  props: {
1092
1100
  modelValue: {
@@ -1100,27 +1108,27 @@ const Je = /* @__PURE__ */ q({
1100
1108
  },
1101
1109
  emits: ["update:modelValue", "change"],
1102
1110
  setup(M, {
1103
- emit: w
1111
+ emit: x
1104
1112
  }) {
1105
- const V = w, g = M, {
1113
+ const V = x, g = M, {
1106
1114
  requesting: h
1107
- } = $(I), {
1115
+ } = $(N), {
1108
1116
  value: b,
1109
1117
  options: p,
1110
1118
  change: i,
1111
- refresh: c,
1119
+ refresh: m,
1112
1120
  filterOptions: n
1113
1121
  } = ne(te(g, "modelValue"), V, {
1114
1122
  key: "MENU_LIST",
1115
- api: I,
1123
+ api: N,
1116
1124
  isArray: !0
1117
1125
  });
1118
- return (v, u) => {
1119
- const f = s("el-space"), m = s("el-select-v2");
1120
- return L(), T(m, {
1126
+ return (w, u) => {
1127
+ const f = s("el-space"), c = s("el-select-v2");
1128
+ return L(), q(c, {
1121
1129
  class: "w-full",
1122
1130
  modelValue: e(b),
1123
- "onUpdate:modelValue": u[1] || (u[1] = (R) => z(b) ? b.value = R : null),
1131
+ "onUpdate:modelValue": u[1] || (u[1] = (k) => z(b) ? b.value = k : null),
1124
1132
  options: e(p),
1125
1133
  multiple: M.multiple,
1126
1134
  disabled: e(h),
@@ -1131,24 +1139,24 @@ const Je = /* @__PURE__ */ q({
1131
1139
  }, {
1132
1140
  prefix: t(() => [l(e(pe), {
1133
1141
  loading: e(h),
1134
- onRefresh: u[0] || (u[0] = (R) => e(c)(!0))
1142
+ onRefresh: u[0] || (u[0] = (k) => e(m)(!0))
1135
1143
  }, null, 8, ["loading"])]),
1136
1144
  default: t(({
1137
- item: R
1145
+ item: k
1138
1146
  }) => [l(f, null, {
1139
- default: t(() => [j("i", {
1140
- class: ye(`icon iconfont ${R.icon}`)
1141
- }, null, 2), j("span", null, Y(R.translate), 1)]),
1147
+ default: t(() => [P("i", {
1148
+ class: he(`icon iconfont ${k.icon}`)
1149
+ }, null, 2), P("span", null, W(k.translate), 1)]),
1142
1150
  _: 2
1143
1151
  }, 1024)]),
1144
1152
  _: 1
1145
1153
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
1146
1154
  };
1147
1155
  }
1148
- }), el = /* @__PURE__ */ q({
1156
+ }), el = /* @__PURE__ */ T({
1149
1157
  __name: "MenuRuleFormModal",
1150
1158
  emits: ["refresh"],
1151
- setup(M, { expose: w, emit: V }) {
1159
+ setup(M, { expose: x, emit: V }) {
1152
1160
  const g = V, h = {
1153
1161
  key: "",
1154
1162
  menu_id: 0,
@@ -1195,29 +1203,29 @@ const Je = /* @__PURE__ */ q({
1195
1203
  trigger: "blur"
1196
1204
  }
1197
1205
  ]
1198
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, we);
1199
- return w({
1206
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, we);
1207
+ return x({
1200
1208
  open: f,
1201
- modify: m
1202
- }), (k, o) => {
1203
- const r = s("el-form-item"), d = s("el-input-number"), y = s("el-input"), _ = s("el-col"), D = s("el-row"), x = s("el-form");
1204
- return L(), T(e(G), {
1209
+ modify: c
1210
+ }), (v, o) => {
1211
+ const r = s("el-form-item"), d = s("el-input-number"), y = s("el-input"), _ = s("el-col"), D = s("el-row"), R = s("el-form");
1212
+ return L(), q(e(G), {
1205
1213
  modelValue: e(p),
1206
1214
  "onUpdate:modelValue": o[6] || (o[6] = (S) => z(p) ? p.value = S : null),
1207
1215
  title: e(i)("menu.rules"),
1208
1216
  width: "1000px",
1209
1217
  executing: e(u),
1210
1218
  onClosed: e(U),
1211
- onSubmit: e(R)
1219
+ onSubmit: e(k)
1212
1220
  }, {
1213
1221
  default: t(() => [
1214
- l(x, {
1222
+ l(R, {
1215
1223
  ref_key: "form",
1216
- ref: c,
1224
+ ref: m,
1217
1225
  model: e(n),
1218
1226
  "label-width": "auto",
1219
1227
  rules: b,
1220
- disabled: e(v) || e(u)
1228
+ disabled: e(w) || e(u)
1221
1229
  }, {
1222
1230
  default: t(() => [
1223
1231
  l(D, { gutter: 20 }, {
@@ -1325,16 +1333,16 @@ const Je = /* @__PURE__ */ q({
1325
1333
  };
1326
1334
  }
1327
1335
  });
1328
- function he(M) {
1336
+ function Ve(M) {
1329
1337
  return typeof M == "function" || Object.prototype.toString.call(M) === "[object Object]" && !Ae(M);
1330
1338
  }
1331
- const ll = /* @__PURE__ */ q({
1339
+ const ll = /* @__PURE__ */ T({
1332
1340
  __name: "index",
1333
1341
  setup(M) {
1334
- const w = {
1342
+ const x = {
1335
1343
  keyword: "",
1336
1344
  status: 0
1337
- }, V = N(""), g = [
1345
+ }, V = j(""), g = [
1338
1346
  {
1339
1347
  label: a("base.sort"),
1340
1348
  prop: "sort",
@@ -1364,7 +1372,7 @@ const ll = /* @__PURE__ */ q({
1364
1372
  row: o
1365
1373
  }) => {
1366
1374
  var r;
1367
- return l(W, null, [(r = o.menu) == null ? void 0 : r.translate]);
1375
+ return l(Y, null, [(r = o.menu) == null ? void 0 : r.translate]);
1368
1376
  }
1369
1377
  },
1370
1378
  {
@@ -1420,13 +1428,13 @@ const ll = /* @__PURE__ */ q({
1420
1428
  size: "small",
1421
1429
  text: !0,
1422
1430
  onClick: () => V.value = ""
1423
- }, he(y = a("base.cancel")) ? y : {
1431
+ }, Ve(y = a("base.cancel")) ? y : {
1424
1432
  default: () => [y]
1425
1433
  }), l(s("el-button"), {
1426
1434
  size: "small",
1427
1435
  type: "danger",
1428
- onClick: () => k(d.key)
1429
- }, he(_ = a("base.confirm")) ? _ : {
1436
+ onClick: () => v(d.key)
1437
+ }, Ve(_ = a("base.confirm")) ? _ : {
1430
1438
  default: () => [_]
1431
1439
  })])]);
1432
1440
  }
@@ -1442,7 +1450,7 @@ const ll = /* @__PURE__ */ q({
1442
1450
  props: {
1443
1451
  activeValue: 1,
1444
1452
  inactiveValue: 2,
1445
- api: I.urls[ke],
1453
+ api: N.urls[ke],
1446
1454
  refresh: !0
1447
1455
  }
1448
1456
  },
@@ -1462,20 +1470,20 @@ const ll = /* @__PURE__ */ q({
1462
1470
  }
1463
1471
  ], {
1464
1472
  requesting: h
1465
- } = $(I), {
1473
+ } = $(N), {
1466
1474
  tableRef: b,
1467
1475
  formModalRef: p,
1468
1476
  keyword: i,
1469
- search: c,
1477
+ search: m,
1470
1478
  refresh: n,
1471
- reset: v,
1479
+ reset: w,
1472
1480
  openFormModal: u,
1473
1481
  editFormModal: f
1474
- } = F(w), {
1475
- formModalRef: m,
1476
- openFormModal: R,
1482
+ } = F(x), {
1483
+ formModalRef: c,
1484
+ openFormModal: k,
1477
1485
  editFormModal: U
1478
- } = F(), k = (o) => {
1486
+ } = F(), v = (o) => {
1479
1487
  we[Ee]({
1480
1488
  key: o
1481
1489
  }).then(() => {
@@ -1483,8 +1491,8 @@ const ll = /* @__PURE__ */ q({
1483
1491
  });
1484
1492
  };
1485
1493
  return (o, r) => {
1486
- const d = s("el-button"), y = s("el-input"), _ = s("el-radio-button"), D = s("el-radio-group"), x = s("el-space"), S = s("el-page-header"), A = s("el-card");
1487
- return L(), T(A, {
1494
+ const d = s("el-button"), y = s("el-input"), _ = s("el-radio-button"), D = s("el-radio-group"), R = s("el-space"), S = s("el-page-header"), A = s("el-card");
1495
+ return L(), q(A, {
1488
1496
  class: "basic-card flex-full",
1489
1497
  "body-class": "flex-1",
1490
1498
  onClick: r[5] || (r[5] = () => V.value = "")
@@ -1492,17 +1500,17 @@ const ll = /* @__PURE__ */ q({
1492
1500
  header: t(() => [l(S, {
1493
1501
  class: "basic-header"
1494
1502
  }, {
1495
- title: t(() => [l(e(P), {
1503
+ title: t(() => [l(e(B), {
1496
1504
  loading: e(h),
1497
- onRefresh: e(v)
1498
- }, null, 8, ["loading", "onRefresh"]), l(e(B), {
1505
+ onRefresh: e(w)
1506
+ }, null, 8, ["loading", "onRefresh"]), l(e(I), {
1499
1507
  onOpen: e(u)
1500
1508
  }, null, 8, ["onOpen"]), l(d, {
1501
1509
  circle: "",
1502
1510
  icon: e(Qe),
1503
- onClick: e(R)
1511
+ onClick: e(k)
1504
1512
  }, null, 8, ["icon", "onClick"])]),
1505
- content: t(() => [l(x, {
1513
+ content: t(() => [l(R, {
1506
1514
  class: "search-bar"
1507
1515
  }, {
1508
1516
  default: t(() => [l(y, {
@@ -1511,14 +1519,14 @@ const ll = /* @__PURE__ */ q({
1511
1519
  "onUpdate:modelValue": r[0] || (r[0] = (O) => e(i).keyword = O),
1512
1520
  placeholder: e(a)("base.placeholder.keyword"),
1513
1521
  clearable: "",
1514
- onKeyup: r[1] || (r[1] = be((O) => e(c)(), ["enter"])),
1515
- onClear: r[2] || (r[2] = (O) => e(c)())
1522
+ onKeyup: r[1] || (r[1] = be((O) => e(m)(), ["enter"])),
1523
+ onClear: r[2] || (r[2] = (O) => e(m)())
1516
1524
  }, null, 8, ["modelValue", "placeholder"]), l(D, {
1517
1525
  modelValue: e(i).status,
1518
1526
  "onUpdate:modelValue": r[3] || (r[3] = (O) => e(i).status = O),
1519
- onChange: r[4] || (r[4] = (O) => e(c)())
1527
+ onChange: r[4] || (r[4] = (O) => e(m)())
1520
1528
  }, {
1521
- default: t(() => [(L(), Q(W, null, re([0, 1, 2], (O) => l(_, {
1529
+ default: t(() => [(L(), Q(Y, null, re([0, 1, 2], (O) => l(_, {
1522
1530
  key: O,
1523
1531
  label: e(a)(`base.DISABLE_ENABLE.${O}`),
1524
1532
  value: O
@@ -1526,7 +1534,7 @@ const ll = /* @__PURE__ */ q({
1526
1534
  _: 1
1527
1535
  }, 8, ["modelValue"]), l(e(Z), {
1528
1536
  disabled: e(h),
1529
- onSearch: e(c)
1537
+ onSearch: e(m)
1530
1538
  }, null, 8, ["disabled", "onSearch"])]),
1531
1539
  _: 1
1532
1540
  })]),
@@ -1537,7 +1545,7 @@ const ll = /* @__PURE__ */ q({
1537
1545
  ref: b,
1538
1546
  size: "small",
1539
1547
  columns: g,
1540
- url: e(I).urls[e(fe)],
1548
+ url: e(N).urls[e(fe)],
1541
1549
  "search-param": e(i),
1542
1550
  autoSearch: ""
1543
1551
  }, null, 8, ["url", "search-param"]), l(Xe, {
@@ -1546,7 +1554,7 @@ const ll = /* @__PURE__ */ q({
1546
1554
  onRefresh: e(n)
1547
1555
  }, null, 8, ["onRefresh"]), l(el, {
1548
1556
  ref_key: "ruleFormModalRef",
1549
- ref: m,
1557
+ ref: c,
1550
1558
  onRefresh: e(n)
1551
1559
  }, null, 8, ["onRefresh"])]),
1552
1560
  _: 1
@@ -1556,73 +1564,73 @@ const ll = /* @__PURE__ */ q({
1556
1564
  }), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1557
1565
  __proto__: null,
1558
1566
  default: ll
1559
- }, Symbol.toStringTag, { value: "Module" })), ol = { class: "rule-check" }, tl = { style: { width: "80px", "line-height": "36px" } }, nl = /* @__PURE__ */ q({
1567
+ }, Symbol.toStringTag, { value: "Module" })), ol = { class: "rule-check" }, tl = { style: { width: "80px", "line-height": "36px" } }, nl = /* @__PURE__ */ T({
1560
1568
  __name: "RulesCheck",
1561
1569
  props: {
1562
1570
  modelValue: { type: Array, required: !0 },
1563
1571
  disabled: { type: Boolean, default: !1 }
1564
1572
  },
1565
1573
  emits: ["update:modelValue"],
1566
- setup(M, { expose: w, emit: V }) {
1567
- const { requesting: g } = $(I), h = M, b = V, p = N(!1), i = De({
1574
+ setup(M, { expose: x, emit: V }) {
1575
+ const { requesting: g } = $(N), h = M, b = V, p = j(!1), i = De({
1568
1576
  checkAll: !1,
1569
1577
  indeterminate: !1,
1570
1578
  MenuAll: {},
1571
1579
  MenuList: {},
1572
1580
  MenuIndeterminate: {}
1573
- }), { options: c, refresh: n } = ne(te(h, "modelValue"), b, { key: "RULE_CHECK", api: I, url: I.urls.rules, isArray: !0 }, { autoRefresh: !1 });
1574
- function v() {
1575
- c.value.forEach((k) => {
1581
+ }), { options: m, refresh: n } = ne(te(h, "modelValue"), b, { key: "RULE_CHECK", api: N, url: N.urls.rules, isArray: !0 }, { autoRefresh: !1 });
1582
+ function w() {
1583
+ m.value.forEach((v) => {
1576
1584
  var o;
1577
- (o = k.rules) != null && o.length && (i.MenuAll[k.id] = !1, i.MenuIndeterminate[k.id] = !1, i.MenuList[k.id] = []);
1585
+ (o = v.rules) != null && o.length && (i.MenuAll[v.id] = !1, i.MenuIndeterminate[v.id] = !1, i.MenuList[v.id] = []);
1578
1586
  });
1579
1587
  }
1580
- function u(k) {
1581
- c.value.forEach((o) => {
1588
+ function u(v) {
1589
+ m.value.forEach((o) => {
1582
1590
  var r;
1583
- (r = o.rules) != null && r.length && (i.MenuList[o.id] = k ? o.rules.map((d) => d.key) : []);
1584
- }), m();
1591
+ (r = o.rules) != null && r.length && (i.MenuList[o.id] = v ? o.rules.map((d) => d.key) : []);
1592
+ }), c();
1585
1593
  }
1586
- function f(k, o) {
1587
- const r = c.value.find((d) => d.id === o);
1588
- i.MenuList[o] = k && r ? r.rules.map((d) => d.key) : [], m();
1594
+ function f(v, o) {
1595
+ const r = m.value.find((d) => d.id === o);
1596
+ i.MenuList[o] = v && r ? r.rules.map((d) => d.key) : [], c();
1589
1597
  }
1590
- function m() {
1591
- c.value.forEach((k) => {
1598
+ function c() {
1599
+ m.value.forEach((v) => {
1592
1600
  var d, y;
1593
- const o = ((d = k.rules) == null ? void 0 : d.length) || 0, r = ((y = i.MenuList[k.id]) == null ? void 0 : y.length) || 0;
1594
- i.MenuAll[k.id] = r === o && o > 0, i.MenuIndeterminate[k.id] = r > 0 && r < o;
1595
- }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((k) => k.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
1601
+ const o = ((d = v.rules) == null ? void 0 : d.length) || 0, r = ((y = i.MenuList[v.id]) == null ? void 0 : y.length) || 0;
1602
+ i.MenuAll[v.id] = r === o && o > 0, i.MenuIndeterminate[v.id] = r > 0 && r < o;
1603
+ }), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((v) => v.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
1596
1604
  }
1597
- function R() {
1598
- i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), b("update:modelValue", []), p.value = !1;
1605
+ function k() {
1606
+ i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, w(), b("update:modelValue", []), p.value = !1;
1599
1607
  }
1600
- function U(k) {
1608
+ function U(v) {
1601
1609
  var o;
1602
- if (Array.isArray(c.value) && c.value.length > 0) {
1603
- for (let r of c.value)
1610
+ if (Array.isArray(m.value) && m.value.length > 0) {
1611
+ for (let r of m.value)
1604
1612
  if (Array.isArray(r.rules) && r.rules.length > 0)
1605
1613
  for (let d of r.rules)
1606
- k.some((y) => y === d.key) && (i.MenuList[r.id] = (((o = i.MenuList) == null ? void 0 : o[r.id]) || []).concat([d.key]));
1607
- m(), p.value = !0;
1614
+ v.some((y) => y === d.key) && (i.MenuList[r.id] = (((o = i.MenuList) == null ? void 0 : o[r.id]) || []).concat([d.key]));
1615
+ c(), p.value = !0;
1608
1616
  }
1609
1617
  }
1610
1618
  return Le(async () => {
1611
- var k;
1612
- (k = c.value) != null && k.length || await n(), !p.value && h.modelValue && U(h.modelValue);
1619
+ var v;
1620
+ (v = m.value) != null && v.length || await n(), !p.value && h.modelValue && U(h.modelValue);
1613
1621
  }), Se(
1614
1622
  () => h.modelValue,
1615
- (k) => {
1616
- Te(() => {
1623
+ (v) => {
1624
+ qe(() => {
1617
1625
  var o;
1618
- p.value || !((o = c.value) != null && o.length) || k && k.length > 0 && U(k);
1626
+ p.value || !((o = m.value) != null && o.length) || v && v.length > 0 && U(v);
1619
1627
  });
1620
1628
  },
1621
1629
  { deep: !0, immediate: !0 }
1622
- ), w({
1630
+ ), x({
1623
1631
  generateOption: U,
1624
- cleanChecked: R
1625
- }), (k, o) => {
1632
+ cleanChecked: k
1633
+ }), (v, o) => {
1626
1634
  const r = s("el-checkbox"), d = s("el-space"), y = s("el-text"), _ = s("el-divider"), D = s("el-checkbox-group");
1627
1635
  return L(), Q("div", ol, [
1628
1636
  l(d, { style: { "margin-bottom": "6px" } }, {
@@ -1635,16 +1643,16 @@ const ll = /* @__PURE__ */ q({
1635
1643
  onChange: u
1636
1644
  }, {
1637
1645
  default: t(() => o[1] || (o[1] = [
1638
- j("span", null, "全选", -1)
1646
+ P("span", null, "全选", -1)
1639
1647
  ])),
1640
1648
  _: 1,
1641
1649
  __: [1]
1642
1650
  }, 8, ["model-value", "indeterminate", "disabled"]),
1643
- l(e(P), {
1651
+ l(e(B), {
1644
1652
  loading: e(g),
1645
1653
  text: "",
1646
1654
  size: "small",
1647
- onRefresh: o[0] || (o[0] = (x) => e(n)(!0))
1655
+ onRefresh: o[0] || (o[0] = (R) => e(n)(!0))
1648
1656
  }, null, 8, ["loading"])
1649
1657
  ]),
1650
1658
  _: 1
@@ -1655,8 +1663,8 @@ const ll = /* @__PURE__ */ q({
1655
1663
  class: "rule-check-content"
1656
1664
  }, {
1657
1665
  default: t(() => [
1658
- (L(!0), Q(W, null, re(e(c), (x) => (L(), Q("div", {
1659
- key: x.id
1666
+ (L(!0), Q(Y, null, re(e(m), (R) => (L(), Q("div", {
1667
+ key: R.id
1660
1668
  }, [
1661
1669
  l(d, {
1662
1670
  direction: "horizontal",
@@ -1665,15 +1673,15 @@ const ll = /* @__PURE__ */ q({
1665
1673
  default: t(() => [
1666
1674
  l(r, {
1667
1675
  style: { "min-width": "150px" },
1668
- "model-value": i.MenuAll[x.id],
1669
- disabled: M.disabled || !x.rules || x.rules.length <= 0,
1670
- indeterminate: i.MenuIndeterminate[x.id],
1671
- onChange: (S) => f(S, x.id)
1676
+ "model-value": i.MenuAll[R.id],
1677
+ disabled: M.disabled || !R.rules || R.rules.length <= 0,
1678
+ indeterminate: i.MenuIndeterminate[R.id],
1679
+ onChange: (S) => f(S, R.id)
1672
1680
  }, {
1673
1681
  default: t(() => [
1674
1682
  l(y, { style: { "font-size": "15px" } }, {
1675
1683
  default: t(() => [
1676
- X(Y(x.translate), 1)
1684
+ X(W(R.translate), 1)
1677
1685
  ]),
1678
1686
  _: 2
1679
1687
  }, 1024)
@@ -1681,27 +1689,27 @@ const ll = /* @__PURE__ */ q({
1681
1689
  _: 2
1682
1690
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1683
1691
  l(_, { direction: "vertical" }),
1684
- x.rules ? (L(), T(D, {
1692
+ R.rules ? (L(), q(D, {
1685
1693
  key: 0,
1686
- modelValue: i.MenuList[x.id],
1687
- "onUpdate:modelValue": (S) => i.MenuList[x.id] = S,
1694
+ modelValue: i.MenuList[R.id],
1695
+ "onUpdate:modelValue": (S) => i.MenuList[R.id] = S,
1688
1696
  disabled: M.disabled,
1689
1697
  style: { margin: "auto" },
1690
- onChange: m
1698
+ onChange: c
1691
1699
  }, {
1692
1700
  default: t(() => [
1693
- (L(!0), Q(W, null, re(x.rules, (S) => (L(), T(r, {
1701
+ (L(!0), Q(Y, null, re(R.rules, (S) => (L(), q(r, {
1694
1702
  key: S.key,
1695
1703
  value: S.key
1696
1704
  }, {
1697
1705
  default: t(() => [
1698
- j("div", tl, Y(S.translate), 1)
1706
+ P("div", tl, W(S.translate), 1)
1699
1707
  ]),
1700
1708
  _: 2
1701
1709
  }, 1032, ["value"]))), 128))
1702
1710
  ]),
1703
1711
  _: 2
1704
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : qe("", !0)
1712
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Te("", !0)
1705
1713
  ]),
1706
1714
  _: 2
1707
1715
  }, 1024)
@@ -1712,16 +1720,16 @@ const ll = /* @__PURE__ */ q({
1712
1720
  ]);
1713
1721
  };
1714
1722
  }
1715
- }), xe = (M, w) => {
1723
+ }), xe = (M, x) => {
1716
1724
  const V = M.__vccOpts || M;
1717
- for (const [g, h] of w)
1725
+ for (const [g, h] of x)
1718
1726
  V[g] = h;
1719
1727
  return V;
1720
- }, rl = /* @__PURE__ */ xe(nl, [["__scopeId", "data-v-7adb5f76"]]), dl = /* @__PURE__ */ q({
1728
+ }, rl = /* @__PURE__ */ xe(nl, [["__scopeId", "data-v-7adb5f76"]]), dl = /* @__PURE__ */ T({
1721
1729
  __name: "RoleFormModal",
1722
1730
  emits: ["refresh"],
1723
- setup(M, { expose: w, emit: V }) {
1724
- const g = V, h = N(), b = {
1731
+ setup(M, { expose: x, emit: V }) {
1732
+ const g = V, h = j(), b = {
1725
1733
  key: "",
1726
1734
  module: "",
1727
1735
  sort: 0,
@@ -1744,19 +1752,19 @@ const ll = /* @__PURE__ */ q({
1744
1752
  trigger: "blur"
1745
1753
  }
1746
1754
  ]
1747
- }, { modal: i, title: c, form: n, formData: v, requesting: u, executing: f, open: m, modify: R, submit: U, closed: k } = H(g, b, ce), o = () => {
1755
+ }, { modal: i, title: m, form: n, formData: w, requesting: u, executing: f, open: c, modify: k, submit: U, closed: v } = H(g, b, ce), o = () => {
1748
1756
  var r;
1749
- (r = h.value) == null || r.cleanChecked(), k();
1757
+ (r = h.value) == null || r.cleanChecked(), v();
1750
1758
  };
1751
- return w({
1752
- open: m,
1753
- modify: R
1759
+ return x({
1760
+ open: c,
1761
+ modify: k
1754
1762
  }), (r, d) => {
1755
- const y = s("el-input"), _ = s("el-form-item"), D = s("el-col"), x = s("el-input-number"), S = s("el-row"), A = s("el-form");
1756
- return L(), T(e(G), {
1763
+ const y = s("el-input"), _ = s("el-form-item"), D = s("el-col"), R = s("el-input-number"), S = s("el-row"), A = s("el-form");
1764
+ return L(), q(e(G), {
1757
1765
  modelValue: e(i),
1758
1766
  "onUpdate:modelValue": d[6] || (d[6] = (O) => z(i) ? i.value = O : null),
1759
- title: e(c)(),
1767
+ title: e(m)(),
1760
1768
  width: "1000px",
1761
1769
  executing: e(f),
1762
1770
  onClosed: o,
@@ -1766,7 +1774,7 @@ const ll = /* @__PURE__ */ q({
1766
1774
  l(A, {
1767
1775
  ref_key: "form",
1768
1776
  ref: n,
1769
- model: e(v),
1777
+ model: e(w),
1770
1778
  "label-width": "auto",
1771
1779
  rules: p,
1772
1780
  disabled: e(u) || e(f)
@@ -1782,8 +1790,8 @@ const ll = /* @__PURE__ */ q({
1782
1790
  }, {
1783
1791
  default: t(() => [
1784
1792
  l(y, {
1785
- modelValue: e(v).module,
1786
- "onUpdate:modelValue": d[0] || (d[0] = (O) => e(v).module = O),
1793
+ modelValue: e(w).module,
1794
+ "onUpdate:modelValue": d[0] || (d[0] = (O) => e(w).module = O),
1787
1795
  placeholder: e(a)("base.placeholder.input")
1788
1796
  }, null, 8, ["modelValue", "placeholder"])
1789
1797
  ]),
@@ -1799,10 +1807,10 @@ const ll = /* @__PURE__ */ q({
1799
1807
  prop: "sort"
1800
1808
  }, {
1801
1809
  default: t(() => [
1802
- l(x, {
1810
+ l(R, {
1803
1811
  class: "w-full",
1804
- modelValue: e(v).sort,
1805
- "onUpdate:modelValue": d[1] || (d[1] = (O) => e(v).sort = O),
1812
+ modelValue: e(w).sort,
1813
+ "onUpdate:modelValue": d[1] || (d[1] = (O) => e(w).sort = O),
1806
1814
  min: 0,
1807
1815
  placeholder: e(a)("base.placeholder.input")
1808
1816
  }, null, 8, ["modelValue", "placeholder"])
@@ -1821,8 +1829,8 @@ const ll = /* @__PURE__ */ q({
1821
1829
  }, {
1822
1830
  default: t(() => [
1823
1831
  l(y, {
1824
- modelValue: e(v).name,
1825
- "onUpdate:modelValue": d[2] || (d[2] = (O) => e(v).name = O),
1832
+ modelValue: e(w).name,
1833
+ "onUpdate:modelValue": d[2] || (d[2] = (O) => e(w).name = O),
1826
1834
  placeholder: e(a)("base.placeholder.input")
1827
1835
  }, null, 8, ["modelValue", "placeholder"])
1828
1836
  ]),
@@ -1834,8 +1842,8 @@ const ll = /* @__PURE__ */ q({
1834
1842
  }, {
1835
1843
  default: t(() => [
1836
1844
  l(y, {
1837
- modelValue: e(v).en_name,
1838
- "onUpdate:modelValue": d[3] || (d[3] = (O) => e(v).en_name = O),
1845
+ modelValue: e(w).en_name,
1846
+ "onUpdate:modelValue": d[3] || (d[3] = (O) => e(w).en_name = O),
1839
1847
  placeholder: e(a)("base.placeholder.input")
1840
1848
  }, null, 8, ["modelValue", "placeholder"])
1841
1849
  ]),
@@ -1847,8 +1855,8 @@ const ll = /* @__PURE__ */ q({
1847
1855
  }, {
1848
1856
  default: t(() => [
1849
1857
  l(y, {
1850
- modelValue: e(v).remark,
1851
- "onUpdate:modelValue": d[4] || (d[4] = (O) => e(v).remark = O),
1858
+ modelValue: e(w).remark,
1859
+ "onUpdate:modelValue": d[4] || (d[4] = (O) => e(w).remark = O),
1852
1860
  placeholder: e(a)("base.placeholder.input")
1853
1861
  }, null, 8, ["modelValue", "placeholder"])
1854
1862
  ]),
@@ -1862,8 +1870,8 @@ const ll = /* @__PURE__ */ q({
1862
1870
  l(rl, {
1863
1871
  ref_key: "rulesCheck",
1864
1872
  ref: h,
1865
- modelValue: e(v).rules,
1866
- "onUpdate:modelValue": d[5] || (d[5] = (O) => e(v).rules = O),
1873
+ modelValue: e(w).rules,
1874
+ "onUpdate:modelValue": d[5] || (d[5] = (O) => e(w).rules = O),
1867
1875
  disabled: e(u) || e(f)
1868
1876
  }, null, 8, ["modelValue", "disabled"])
1869
1877
  ]),
@@ -1877,10 +1885,10 @@ const ll = /* @__PURE__ */ q({
1877
1885
  }, 8, ["modelValue", "title", "executing", "onSubmit"]);
1878
1886
  };
1879
1887
  }
1880
- }), sl = /* @__PURE__ */ q({
1888
+ }), sl = /* @__PURE__ */ T({
1881
1889
  __name: "index",
1882
1890
  setup(M) {
1883
- const w = {
1891
+ const x = {
1884
1892
  keyword: ""
1885
1893
  }, V = [
1886
1894
  {
@@ -1929,40 +1937,40 @@ const ll = /* @__PURE__ */ q({
1929
1937
  formModalRef: b,
1930
1938
  keyword: p,
1931
1939
  search: i,
1932
- reset: c,
1940
+ reset: m,
1933
1941
  refresh: n,
1934
- openFormModal: v,
1942
+ openFormModal: w,
1935
1943
  editFormModal: u
1936
- } = F(w);
1937
- return (f, m) => {
1938
- const R = s("el-input"), U = s("el-space"), k = s("el-page-header"), o = s("el-card");
1939
- return L(), T(o, {
1944
+ } = F(x);
1945
+ return (f, c) => {
1946
+ const k = s("el-input"), U = s("el-space"), v = s("el-page-header"), o = s("el-card");
1947
+ return L(), q(o, {
1940
1948
  class: "basic-card flex-full",
1941
1949
  "body-class": "flex-1"
1942
1950
  }, {
1943
- header: t(() => [l(k, {
1951
+ header: t(() => [l(v, {
1944
1952
  class: "basic-header"
1945
1953
  }, {
1946
- title: t(() => [l(e(P), {
1954
+ title: t(() => [l(e(B), {
1947
1955
  loading: e(g),
1948
- onRefresh: e(c)
1949
- }, null, 8, ["loading", "onRefresh"]), l(e(B), {
1950
- onOpen: e(v)
1956
+ onRefresh: e(m)
1957
+ }, null, 8, ["loading", "onRefresh"]), l(e(I), {
1958
+ onOpen: e(w)
1951
1959
  }, null, 8, ["onOpen"])]),
1952
1960
  content: t(() => [l(U, {
1953
1961
  class: "search-bar"
1954
1962
  }, {
1955
- default: t(() => [l(R, {
1963
+ default: t(() => [l(k, {
1956
1964
  class: "basic-search-input",
1957
1965
  modelValue: e(p).keyword,
1958
- "onUpdate:modelValue": m[0] || (m[0] = (r) => e(p).keyword = r),
1966
+ "onUpdate:modelValue": c[0] || (c[0] = (r) => e(p).keyword = r),
1959
1967
  placeholder: e(a)("base.placeholder.keyword"),
1960
1968
  clearable: "",
1961
- onKeyup: m[1] || (m[1] = be((r) => e(i)(), ["enter"])),
1962
- onClear: m[2] || (m[2] = (r) => e(i)())
1969
+ onKeyup: c[1] || (c[1] = be((r) => e(i)(), ["enter"])),
1970
+ onClear: c[2] || (c[2] = (r) => e(i)())
1963
1971
  }, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
1964
1972
  disabled: e(g),
1965
- onSearch: m[3] || (m[3] = (r) => e(i)())
1973
+ onSearch: c[3] || (c[3] = (r) => e(i)())
1966
1974
  }, null, 8, ["disabled"])]),
1967
1975
  _: 1
1968
1976
  })]),
@@ -1990,7 +1998,7 @@ const ll = /* @__PURE__ */ q({
1990
1998
  default: sl
1991
1999
  }, Symbol.toStringTag, { value: "Module" })), il = {
1992
2000
  check: "check"
1993
- }, le = K.routineApi("site", "id", il), se = K.routineApi("domain"), Re = /* @__PURE__ */ q({
2001
+ }, le = K.routineApi("site", "id", il), se = K.routineApi("domain"), Re = /* @__PURE__ */ T({
1994
2002
  __name: "DomainSelect",
1995
2003
  props: {
1996
2004
  modelValue: {
@@ -2004,7 +2012,7 @@ const ll = /* @__PURE__ */ q({
2004
2012
  },
2005
2013
  emits: ["update:modelValue", "change"],
2006
2014
  setup(M, {
2007
- expose: w,
2015
+ expose: x,
2008
2016
  emit: V
2009
2017
  }) {
2010
2018
  const g = V, h = M, {
@@ -2012,20 +2020,20 @@ const ll = /* @__PURE__ */ q({
2012
2020
  } = $(se), {
2013
2021
  key: p,
2014
2022
  options: i,
2015
- refresh: c,
2023
+ refresh: m,
2016
2024
  change: n
2017
2025
  } = ne(te(h, "modelValue"), g, {
2018
2026
  key: "DOMAIN_LIST",
2019
2027
  api: se,
2020
2028
  isArray: !0
2021
2029
  });
2022
- return w({
2023
- refresh: c
2024
- }), (v, u) => {
2030
+ return x({
2031
+ refresh: m
2032
+ }), (w, u) => {
2025
2033
  const f = s("el-select-v2");
2026
- return L(), T(f, {
2034
+ return L(), q(f, {
2027
2035
  modelValue: e(p),
2028
- "onUpdate:modelValue": u[0] || (u[0] = (m) => z(p) ? p.value = m : null),
2036
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
2029
2037
  options: e(i),
2030
2038
  disabled: M.disabled || e(b),
2031
2039
  placeholder: e(a)("base.select config.domain"),
@@ -2033,16 +2041,16 @@ const ll = /* @__PURE__ */ q({
2033
2041
  }, {
2034
2042
  prefix: t(() => [l(e(pe), {
2035
2043
  loading: e(b),
2036
- onRefresh: e(c)
2044
+ onRefresh: e(m)
2037
2045
  }, null, 8, ["loading", "onRefresh"])]),
2038
2046
  _: 1
2039
2047
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2040
2048
  };
2041
2049
  }
2042
- }), pl = /* @__PURE__ */ q({
2050
+ }), pl = /* @__PURE__ */ T({
2043
2051
  __name: "SiteFormModal",
2044
2052
  emits: ["refresh"],
2045
- setup(M, { expose: w, emit: V }) {
2053
+ setup(M, { expose: x, emit: V }) {
2046
2054
  const g = V, h = {
2047
2055
  id: 0,
2048
2056
  domain_id: 0,
@@ -2058,29 +2066,29 @@ const ll = /* @__PURE__ */ q({
2058
2066
  prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
2059
2067
  name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
2060
2068
  en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
2061
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, le);
2062
- return w({
2069
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, le);
2070
+ return x({
2063
2071
  open: f,
2064
- modify: m
2065
- }), (k, o) => {
2072
+ modify: c
2073
+ }), (v, o) => {
2066
2074
  const r = s("el-form-item"), d = s("el-input"), y = s("el-form");
2067
- return L(), T(e(G), {
2075
+ return L(), q(e(G), {
2068
2076
  modelValue: e(p),
2069
2077
  "onUpdate:modelValue": o[7] || (o[7] = (_) => z(p) ? p.value = _ : null),
2070
2078
  title: e(i)("config.site"),
2071
2079
  width: "600px",
2072
2080
  executing: e(u),
2073
2081
  onClosed: e(U),
2074
- onSubmit: e(R)
2082
+ onSubmit: e(k)
2075
2083
  }, {
2076
2084
  default: t(() => [
2077
2085
  l(y, {
2078
2086
  ref_key: "form",
2079
- ref: c,
2087
+ ref: m,
2080
2088
  model: e(n),
2081
2089
  "label-width": "auto",
2082
2090
  rules: b,
2083
- disabled: e(v) || e(u)
2091
+ disabled: e(w) || e(u)
2084
2092
  }, {
2085
2093
  default: t(() => [
2086
2094
  l(r, {
@@ -2188,7 +2196,7 @@ const ll = /* @__PURE__ */ q({
2188
2196
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2189
2197
  };
2190
2198
  }
2191
- }), ue = K.routineApi("domain_provider"), ml = /* @__PURE__ */ q({
2199
+ }), ue = K.routineApi("domain_provider"), ml = /* @__PURE__ */ T({
2192
2200
  __name: "DomainProviderSelect",
2193
2201
  props: {
2194
2202
  modelValue: {
@@ -2202,7 +2210,7 @@ const ll = /* @__PURE__ */ q({
2202
2210
  },
2203
2211
  emits: ["update:modelValue", "change"],
2204
2212
  setup(M, {
2205
- expose: w,
2213
+ expose: x,
2206
2214
  emit: V
2207
2215
  }) {
2208
2216
  const g = V, h = M, {
@@ -2210,20 +2218,20 @@ const ll = /* @__PURE__ */ q({
2210
2218
  } = $(ue), {
2211
2219
  key: p,
2212
2220
  options: i,
2213
- refresh: c,
2221
+ refresh: m,
2214
2222
  change: n
2215
2223
  } = ne(te(h, "modelValue"), g, {
2216
2224
  key: "DOMAIN_PROVIDER_LIST",
2217
2225
  api: ue,
2218
2226
  isArray: !0
2219
2227
  });
2220
- return w({
2221
- refresh: c
2222
- }), (v, u) => {
2228
+ return x({
2229
+ refresh: m
2230
+ }), (w, u) => {
2223
2231
  const f = s("el-select-v2");
2224
- return L(), T(f, {
2232
+ return L(), q(f, {
2225
2233
  modelValue: e(p),
2226
- "onUpdate:modelValue": u[0] || (u[0] = (m) => z(p) ? p.value = m : null),
2234
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
2227
2235
  options: e(i),
2228
2236
  disabled: M.disabled || e(b),
2229
2237
  placeholder: e(a)("base.select config.domain config.provider"),
@@ -2231,16 +2239,16 @@ const ll = /* @__PURE__ */ q({
2231
2239
  }, {
2232
2240
  prefix: t(() => [l(e(pe), {
2233
2241
  loading: e(b),
2234
- onRefresh: e(c)
2242
+ onRefresh: e(m)
2235
2243
  }, null, 8, ["loading", "onRefresh"])]),
2236
2244
  _: 1
2237
2245
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2238
2246
  };
2239
2247
  }
2240
- }), cl = /* @__PURE__ */ q({
2248
+ }), cl = /* @__PURE__ */ T({
2241
2249
  __name: "DomainFormModal",
2242
2250
  emits: ["refresh"],
2243
- setup(M, { expose: w, emit: V }) {
2251
+ setup(M, { expose: x, emit: V }) {
2244
2252
  const g = V, h = {
2245
2253
  id: 0,
2246
2254
  provider_id: 0,
@@ -2251,29 +2259,29 @@ const ll = /* @__PURE__ */ q({
2251
2259
  }, b = {
2252
2260
  provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
2253
2261
  name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
2254
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, se);
2255
- return w({
2262
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, se);
2263
+ return x({
2256
2264
  open: f,
2257
- modify: m
2258
- }), (k, o) => {
2265
+ modify: c
2266
+ }), (v, o) => {
2259
2267
  const r = s("el-form-item"), d = s("el-input"), y = s("el-date-picker"), _ = s("el-form");
2260
- return L(), T(e(G), {
2268
+ return L(), q(e(G), {
2261
2269
  modelValue: e(p),
2262
2270
  "onUpdate:modelValue": o[4] || (o[4] = (D) => z(p) ? p.value = D : null),
2263
2271
  title: e(i)("config.domain"),
2264
2272
  width: "600px",
2265
2273
  executing: e(u),
2266
2274
  onClosed: e(U),
2267
- onSubmit: e(R)
2275
+ onSubmit: e(k)
2268
2276
  }, {
2269
2277
  default: t(() => [
2270
2278
  l(_, {
2271
2279
  ref_key: "form",
2272
- ref: c,
2280
+ ref: m,
2273
2281
  model: e(n),
2274
2282
  "label-width": "auto",
2275
2283
  rules: b,
2276
- disabled: e(v) || e(u)
2284
+ disabled: e(w) || e(u)
2277
2285
  }, {
2278
2286
  default: t(() => [
2279
2287
  l(r, {
@@ -2346,7 +2354,7 @@ const ll = /* @__PURE__ */ q({
2346
2354
  }
2347
2355
  }), bl = {
2348
2356
  gen: "gen"
2349
- }, ae = K.routineApi("SSL", "id", bl), fl = /* @__PURE__ */ q({
2357
+ }, ae = K.routineApi("SSL", "id", bl), fl = /* @__PURE__ */ T({
2350
2358
  __name: "SiteSelect",
2351
2359
  props: {
2352
2360
  modelValue: {
@@ -2360,7 +2368,7 @@ const ll = /* @__PURE__ */ q({
2360
2368
  },
2361
2369
  emits: ["update:modelValue", "change"],
2362
2370
  setup(M, {
2363
- expose: w,
2371
+ expose: x,
2364
2372
  emit: V
2365
2373
  }) {
2366
2374
  const g = V, h = M, {
@@ -2368,14 +2376,14 @@ const ll = /* @__PURE__ */ q({
2368
2376
  } = $(le), {
2369
2377
  key: p,
2370
2378
  options: i,
2371
- refresh: c,
2379
+ refresh: m,
2372
2380
  change: n
2373
2381
  } = ne(te(h, "modelValue"), g, {
2374
2382
  key: "SITE_LIST",
2375
2383
  api: le,
2376
2384
  isArray: !0
2377
2385
  }, {
2378
- formatOptions: (v) => v.map((u) => {
2386
+ formatOptions: (w) => w.map((u) => {
2379
2387
  var f;
2380
2388
  return {
2381
2389
  ...u,
@@ -2384,13 +2392,13 @@ const ll = /* @__PURE__ */ q({
2384
2392
  };
2385
2393
  })
2386
2394
  });
2387
- return w({
2388
- refresh: c
2389
- }), (v, u) => {
2395
+ return x({
2396
+ refresh: m
2397
+ }), (w, u) => {
2390
2398
  const f = s("el-select-v2");
2391
- return L(), T(f, {
2399
+ return L(), q(f, {
2392
2400
  modelValue: e(p),
2393
- "onUpdate:modelValue": u[0] || (u[0] = (m) => z(p) ? p.value = m : null),
2401
+ "onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
2394
2402
  options: e(i),
2395
2403
  disabled: M.disabled || e(b),
2396
2404
  placeholder: e(a)("base.select config.domain"),
@@ -2398,16 +2406,16 @@ const ll = /* @__PURE__ */ q({
2398
2406
  }, {
2399
2407
  prefix: t(() => [l(e(pe), {
2400
2408
  loading: e(b),
2401
- onRefresh: e(c)
2409
+ onRefresh: e(m)
2402
2410
  }, null, 8, ["loading", "onRefresh"])]),
2403
2411
  _: 1
2404
2412
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2405
2413
  };
2406
2414
  }
2407
- }), Ue = /* @__PURE__ */ q({
2415
+ }), Ue = /* @__PURE__ */ T({
2408
2416
  __name: "SSLFormModal",
2409
2417
  emits: ["refresh"],
2410
- setup(M, { expose: w, emit: V }) {
2418
+ setup(M, { expose: x, emit: V }) {
2411
2419
  const g = V, h = {
2412
2420
  id: 0,
2413
2421
  domain_id: void 0,
@@ -2425,30 +2433,30 @@ const ll = /* @__PURE__ */ q({
2425
2433
  path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
2426
2434
  email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
2427
2435
  encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
2428
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, ae);
2429
- return w({
2436
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, ae);
2437
+ return x({
2430
2438
  open: f,
2431
- modify: m,
2439
+ modify: c,
2432
2440
  formData: n
2433
- }), (k, o) => {
2441
+ }), (v, o) => {
2434
2442
  const r = s("el-form-item"), d = s("el-radio-button"), y = s("el-radio-group"), _ = s("el-input"), D = s("el-form");
2435
- return L(), T(e(G), {
2443
+ return L(), q(e(G), {
2436
2444
  modelValue: e(p),
2437
- "onUpdate:modelValue": o[8] || (o[8] = (x) => z(p) ? p.value = x : null),
2445
+ "onUpdate:modelValue": o[8] || (o[8] = (R) => z(p) ? p.value = R : null),
2438
2446
  title: e(i)("ssl.ssl"),
2439
2447
  width: "600px",
2440
2448
  executing: e(u),
2441
2449
  onClosed: e(U),
2442
- onSubmit: e(R)
2450
+ onSubmit: e(k)
2443
2451
  }, {
2444
2452
  default: t(() => [
2445
2453
  l(D, {
2446
2454
  ref_key: "form",
2447
- ref: c,
2455
+ ref: m,
2448
2456
  model: e(n),
2449
2457
  "label-width": "auto",
2450
2458
  rules: b,
2451
- disabled: e(v) || e(u)
2459
+ disabled: e(w) || e(u)
2452
2460
  }, {
2453
2461
  default: t(() => [
2454
2462
  l(r, {
@@ -2458,7 +2466,7 @@ const ll = /* @__PURE__ */ q({
2458
2466
  default: t(() => [
2459
2467
  l(Re, {
2460
2468
  modelValue: e(n).domain_id,
2461
- "onUpdate:modelValue": o[0] || (o[0] = (x) => e(n).domain_id = x),
2469
+ "onUpdate:modelValue": o[0] || (o[0] = (R) => e(n).domain_id = R),
2462
2470
  disabled: e(u)
2463
2471
  }, null, 8, ["modelValue", "disabled"])
2464
2472
  ]),
@@ -2471,7 +2479,7 @@ const ll = /* @__PURE__ */ q({
2471
2479
  default: t(() => [
2472
2480
  l(y, {
2473
2481
  modelValue: e(n).client,
2474
- "onUpdate:modelValue": o[1] || (o[1] = (x) => e(n).client = x)
2482
+ "onUpdate:modelValue": o[1] || (o[1] = (R) => e(n).client = R)
2475
2483
  }, {
2476
2484
  default: t(() => [
2477
2485
  l(d, {
@@ -2491,7 +2499,7 @@ const ll = /* @__PURE__ */ q({
2491
2499
  default: t(() => [
2492
2500
  l(fl, {
2493
2501
  modelValue: e(n).site_id,
2494
- "onUpdate:modelValue": o[2] || (o[2] = (x) => e(n).site_id = x),
2502
+ "onUpdate:modelValue": o[2] || (o[2] = (R) => e(n).site_id = R),
2495
2503
  disabled: e(u)
2496
2504
  }, null, 8, ["modelValue", "disabled"])
2497
2505
  ]),
@@ -2504,7 +2512,7 @@ const ll = /* @__PURE__ */ q({
2504
2512
  default: t(() => [
2505
2513
  l(_, {
2506
2514
  modelValue: e(n).name,
2507
- "onUpdate:modelValue": o[3] || (o[3] = (x) => e(n).name = x),
2515
+ "onUpdate:modelValue": o[3] || (o[3] = (R) => e(n).name = R),
2508
2516
  disabled: e(u),
2509
2517
  placeholder: e(a)("base.placeholder.input")
2510
2518
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2518,7 +2526,7 @@ const ll = /* @__PURE__ */ q({
2518
2526
  default: t(() => [
2519
2527
  l(_, {
2520
2528
  modelValue: e(n).path,
2521
- "onUpdate:modelValue": o[4] || (o[4] = (x) => e(n).path = x),
2529
+ "onUpdate:modelValue": o[4] || (o[4] = (R) => e(n).path = R),
2522
2530
  disabled: e(u),
2523
2531
  placeholder: e(a)("base.placeholder.input")
2524
2532
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2532,7 +2540,7 @@ const ll = /* @__PURE__ */ q({
2532
2540
  default: t(() => [
2533
2541
  l(_, {
2534
2542
  modelValue: e(n).email,
2535
- "onUpdate:modelValue": o[5] || (o[5] = (x) => e(n).email = x),
2543
+ "onUpdate:modelValue": o[5] || (o[5] = (R) => e(n).email = R),
2536
2544
  disabled: e(u),
2537
2545
  placeholder: e(a)("base.placeholder.input")
2538
2546
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2546,7 +2554,7 @@ const ll = /* @__PURE__ */ q({
2546
2554
  default: t(() => [
2547
2555
  l(y, {
2548
2556
  modelValue: e(n).encryption,
2549
- "onUpdate:modelValue": o[6] || (o[6] = (x) => e(n).encryption = x)
2557
+ "onUpdate:modelValue": o[6] || (o[6] = (R) => e(n).encryption = R)
2550
2558
  }, {
2551
2559
  default: t(() => [
2552
2560
  l(d, {
@@ -2566,7 +2574,7 @@ const ll = /* @__PURE__ */ q({
2566
2574
  default: t(() => [
2567
2575
  l(_, {
2568
2576
  modelValue: e(n).remark,
2569
- "onUpdate:modelValue": o[7] || (o[7] = (x) => e(n).remark = x),
2577
+ "onUpdate:modelValue": o[7] || (o[7] = (R) => e(n).remark = R),
2570
2578
  disabled: e(u),
2571
2579
  placeholder: e(a)("base.placeholder.input")
2572
2580
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2581,10 +2589,10 @@ const ll = /* @__PURE__ */ q({
2581
2589
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2582
2590
  };
2583
2591
  }
2584
- }), _l = /* @__PURE__ */ q({
2592
+ }), _l = /* @__PURE__ */ T({
2585
2593
  __name: "DomainProviderFormModal",
2586
2594
  emits: ["refresh"],
2587
- setup(M, { expose: w, emit: V }) {
2595
+ setup(M, { expose: x, emit: V }) {
2588
2596
  const g = V, h = {
2589
2597
  id: 0,
2590
2598
  name: "",
@@ -2600,29 +2608,29 @@ const ll = /* @__PURE__ */ q({
2600
2608
  key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
2601
2609
  secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
2602
2610
  end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
2603
- }, { modal: p, title: i, form: c, formData: n, requesting: v, executing: u, open: f, modify: m, submit: R, closed: U } = H(g, h, ue);
2604
- return w({
2611
+ }, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, ue);
2612
+ return x({
2605
2613
  open: f,
2606
- modify: m
2607
- }), (k, o) => {
2614
+ modify: c
2615
+ }), (v, o) => {
2608
2616
  const r = s("el-input"), d = s("el-form-item"), y = s("el-form");
2609
- return L(), T(e(G), {
2617
+ return L(), q(e(G), {
2610
2618
  modelValue: e(p),
2611
2619
  "onUpdate:modelValue": o[6] || (o[6] = (_) => z(p) ? p.value = _ : null),
2612
2620
  title: e(i)("config.domain"),
2613
2621
  width: "600px",
2614
2622
  executing: e(u),
2615
2623
  onClosed: e(U),
2616
- onSubmit: e(R)
2624
+ onSubmit: e(k)
2617
2625
  }, {
2618
2626
  default: t(() => [
2619
2627
  l(y, {
2620
2628
  ref_key: "form",
2621
- ref: c,
2629
+ ref: m,
2622
2630
  model: e(n),
2623
2631
  "label-width": "auto",
2624
2632
  rules: b,
2625
- disabled: e(v) || e(u)
2633
+ disabled: e(w) || e(u)
2626
2634
  }, {
2627
2635
  default: t(() => [
2628
2636
  l(d, {
@@ -2717,19 +2725,19 @@ const ll = /* @__PURE__ */ q({
2717
2725
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2718
2726
  };
2719
2727
  }
2720
- }), gl = /* @__PURE__ */ q({
2728
+ }), gl = /* @__PURE__ */ T({
2721
2729
  __name: "DomainProviderTableDrawer",
2722
2730
  setup(M, {
2723
- expose: w
2731
+ expose: x
2724
2732
  }) {
2725
2733
  const {
2726
2734
  requesting: V
2727
- } = $(ue), g = N(!1), {
2735
+ } = $(ue), g = j(!1), {
2728
2736
  tableRef: h,
2729
2737
  formModalRef: b,
2730
2738
  refresh: p,
2731
2739
  openFormModal: i,
2732
- editFormModal: c
2740
+ editFormModal: m
2733
2741
  } = F({}), n = [{
2734
2742
  prop: "name",
2735
2743
  label: a("base.name"),
@@ -2750,35 +2758,35 @@ const ll = /* @__PURE__ */ q({
2750
2758
  default: () => [l(J, {
2751
2759
  icon: "icon-edit",
2752
2760
  t: "",
2753
- onModify: () => c({
2761
+ onModify: () => m({
2754
2762
  id: u.id
2755
2763
  })
2756
2764
  }, null)]
2757
2765
  })
2758
2766
  }];
2759
- return w({
2767
+ return x({
2760
2768
  open: () => {
2761
2769
  g.value = !0;
2762
2770
  }
2763
2771
  }), (u, f) => {
2764
- const m = s("el-page-header");
2765
- return L(), T(e(_e), {
2772
+ const c = s("el-page-header");
2773
+ return L(), q(e(_e), {
2766
2774
  modelValue: g.value,
2767
- "onUpdate:modelValue": f[0] || (f[0] = (R) => g.value = R),
2775
+ "onUpdate:modelValue": f[0] || (f[0] = (k) => g.value = k),
2768
2776
  width: "400px",
2769
2777
  "show-close": !1,
2770
2778
  class: "basic-drawer"
2771
2779
  }, {
2772
- title: t(() => [l(m, {
2780
+ title: t(() => [l(c, {
2773
2781
  icon: ""
2774
2782
  }, {
2775
- title: t(() => [j("span", null, Y(e(a)("config.domain config.provider")), 1)]),
2776
- content: t(() => [l(e(P), {
2783
+ title: t(() => [P("span", null, W(e(a)("config.domain config.provider")), 1)]),
2784
+ content: t(() => [l(e(B), {
2777
2785
  onRefresh: e(p),
2778
2786
  size: "default",
2779
2787
  loading: e(V)
2780
2788
  }, null, 8, ["onRefresh", "loading"])]),
2781
- extra: t(() => [l(e(B), {
2789
+ extra: t(() => [l(e(I), {
2782
2790
  onOpen: e(i)
2783
2791
  }, null, 8, ["onOpen"])]),
2784
2792
  _: 1
@@ -2800,36 +2808,36 @@ const ll = /* @__PURE__ */ q({
2800
2808
  }, 8, ["modelValue"]);
2801
2809
  };
2802
2810
  }
2803
- }), hl = /* @__PURE__ */ q({
2811
+ }), hl = /* @__PURE__ */ T({
2804
2812
  __name: "DomainTableDrawer",
2805
2813
  setup(M, {
2806
- expose: w
2814
+ expose: x
2807
2815
  }) {
2808
2816
  const {
2809
2817
  requesting: V
2810
- } = $(se), g = N(!1), {
2818
+ } = $(se), g = j(!1), {
2811
2819
  tableRef: h,
2812
2820
  formModalRef: b,
2813
2821
  refresh: p,
2814
2822
  openFormModal: i,
2815
- editFormModal: c
2823
+ editFormModal: m
2816
2824
  } = F(), {
2817
2825
  formModalRef: n,
2818
- openFormModal: v,
2826
+ openFormModal: w,
2819
2827
  editFormModal: u
2820
2828
  } = F(), {
2821
2829
  formModalRef: f,
2822
- openFormModal: m
2823
- } = F(), R = [{
2830
+ openFormModal: c
2831
+ } = F(), k = [{
2824
2832
  prop: "provider",
2825
2833
  label: a("config.domain config.provider"),
2826
2834
  width: 120,
2827
2835
  cellRenderer: ({
2828
- rowData: k
2836
+ rowData: v
2829
2837
  }) => l(s("el-text"), null, {
2830
2838
  default: () => {
2831
2839
  var o;
2832
- return [(o = k.provider) == null ? void 0 : o.name];
2840
+ return [(o = v.provider) == null ? void 0 : o.name];
2833
2841
  }
2834
2842
  })
2835
2843
  }, {
@@ -2847,35 +2855,35 @@ const ll = /* @__PURE__ */ q({
2847
2855
  width: 100,
2848
2856
  align: "center",
2849
2857
  render: ({
2850
- rowData: k
2858
+ rowData: v
2851
2859
  }) => l(s("el-space"), null, {
2852
2860
  default: () => [l(J, {
2853
2861
  icon: "icon-edit",
2854
2862
  t: "",
2855
- onModify: () => c({
2856
- id: k.id
2863
+ onModify: () => m({
2864
+ id: v.id
2857
2865
  })
2858
- }, null), l(B, {
2866
+ }, null), l(I, {
2859
2867
  icon: "icon-safetycertificate-f",
2860
2868
  type: "primary",
2861
2869
  size: "small",
2862
2870
  link: !0,
2863
2871
  onOpen: () => {
2864
2872
  var o;
2865
- k.ssl && k.ssl.id ? u({
2866
- id: (o = k.ssl) == null ? void 0 : o.id
2867
- }) : (n.value.formData.domain_id = k.id, n.value.formData.site_id = 0, v());
2873
+ v.ssl && v.ssl.id ? u({
2874
+ id: (o = v.ssl) == null ? void 0 : o.id
2875
+ }) : (n.value.formData.domain_id = v.id, n.value.formData.site_id = 0, w());
2868
2876
  }
2869
2877
  }, null)]
2870
2878
  })
2871
2879
  }];
2872
- return w({
2880
+ return x({
2873
2881
  open: () => {
2874
2882
  g.value = !0;
2875
2883
  }
2876
- }), (k, o) => {
2884
+ }), (v, o) => {
2877
2885
  const r = s("el-space"), d = s("el-page-header");
2878
- return L(), T(e(_e), {
2886
+ return L(), q(e(_e), {
2879
2887
  modelValue: g.value,
2880
2888
  "onUpdate:modelValue": o[0] || (o[0] = (y) => g.value = y),
2881
2889
  width: "600px",
@@ -2885,20 +2893,20 @@ const ll = /* @__PURE__ */ q({
2885
2893
  title: t(() => [l(d, {
2886
2894
  icon: ""
2887
2895
  }, {
2888
- title: t(() => [j("span", null, Y(e(a)("config.domain")), 1)]),
2889
- content: t(() => [l(e(P), {
2896
+ title: t(() => [P("span", null, W(e(a)("config.domain")), 1)]),
2897
+ content: t(() => [l(e(B), {
2890
2898
  onRefresh: e(p),
2891
2899
  size: "default",
2892
2900
  loading: e(V)
2893
- }, null, 8, ["onRefresh", "loading"]), l(e(B), {
2901
+ }, null, 8, ["onRefresh", "loading"]), l(e(I), {
2894
2902
  onOpen: e(i)
2895
2903
  }, null, 8, ["onOpen"])]),
2896
2904
  extra: t(() => [l(r, {
2897
2905
  class: "w-full extra-tool",
2898
2906
  alignment: "center"
2899
2907
  }, {
2900
- default: t(() => [l(e(B), {
2901
- onOpen: e(m),
2908
+ default: t(() => [l(e(I), {
2909
+ onOpen: e(c),
2902
2910
  type: "danger"
2903
2911
  }, null, 8, ["onOpen"])]),
2904
2912
  _: 1
@@ -2911,7 +2919,7 @@ const ll = /* @__PURE__ */ q({
2911
2919
  size: "small",
2912
2920
  "row-key": "id",
2913
2921
  url: e(se).urls.list,
2914
- columns: R,
2922
+ columns: k,
2915
2923
  loading: e(V)
2916
2924
  }, null, 8, ["url", "loading"]), l(cl, {
2917
2925
  ref_key: "formModalRef",
@@ -2929,20 +2937,20 @@ const ll = /* @__PURE__ */ q({
2929
2937
  }, 8, ["modelValue"]);
2930
2938
  };
2931
2939
  }
2932
- }), Vl = /* @__PURE__ */ q({
2940
+ }), Vl = /* @__PURE__ */ T({
2933
2941
  __name: "SSLTableDrawer",
2934
2942
  setup(M, {
2935
- expose: w
2943
+ expose: x
2936
2944
  }) {
2937
2945
  const {
2938
2946
  requesting: V,
2939
2947
  executing: g
2940
- } = $(ae), h = N(0), b = N(!1), {
2948
+ } = $(ae), h = j(0), b = j(!1), {
2941
2949
  tableRef: p,
2942
2950
  formModalRef: i,
2943
- refresh: c,
2951
+ refresh: m,
2944
2952
  openFormModal: n,
2945
- editFormModal: v
2953
+ editFormModal: w
2946
2954
  } = F(), u = [
2947
2955
  {
2948
2956
  prop: "client",
@@ -2989,7 +2997,7 @@ const ll = /* @__PURE__ */ q({
2989
2997
  icon: "icon-edit",
2990
2998
  t: "",
2991
2999
  disabled: g.value,
2992
- onModify: () => v({
3000
+ onModify: () => w({
2993
3001
  id: U.id
2994
3002
  })
2995
3003
  }, null), l(de, {
@@ -2999,7 +3007,7 @@ const ll = /* @__PURE__ */ q({
2999
3007
  text: !0,
3000
3008
  disabled: g.value && h.value !== U.id,
3001
3009
  loading: h.value == U.id,
3002
- onClick: () => m(U.id)
3010
+ onClick: () => c(U.id)
3003
3011
  }, null), l(de, {
3004
3012
  size: "default",
3005
3013
  icon: "icon-cloud-download",
@@ -3007,33 +3015,33 @@ const ll = /* @__PURE__ */ q({
3007
3015
  text: !0,
3008
3016
  disabled: g.value && h.value !== U.id,
3009
3017
  loading: h.value == U.id,
3010
- onClick: () => R(U)
3018
+ onClick: () => k(U)
3011
3019
  }, null)]
3012
3020
  })
3013
3021
  }
3014
3022
  ], f = () => {
3015
3023
  b.value = !0;
3016
- }, m = (U) => {
3024
+ }, c = (U) => {
3017
3025
  ae.gen({
3018
3026
  id: U
3019
- }).then((k) => {
3020
- console.warn("Res:", k);
3027
+ }).then((v) => {
3028
+ console.warn("Res:", v);
3021
3029
  });
3022
3030
  };
3023
- function R(U) {
3024
- const k = ve.getDownloadUrl(U.path + ".zip");
3025
- fetch(k).then((o) => o.blob()).then((o) => {
3031
+ function k(U) {
3032
+ const v = ve.getDownloadUrl(U.path + ".zip");
3033
+ fetch(v).then((o) => o.blob()).then((o) => {
3026
3034
  let r = URL.createObjectURL(o), d = document.createElement("a");
3027
3035
  d.style.display = "none", d.href = r, d.download = U.name + ".zip", d.click(), URL.revokeObjectURL(o);
3028
3036
  });
3029
3037
  }
3030
- return w({
3038
+ return x({
3031
3039
  open: f
3032
- }), (U, k) => {
3040
+ }), (U, v) => {
3033
3041
  const o = s("el-page-header");
3034
- return L(), T(e(_e), {
3042
+ return L(), q(e(_e), {
3035
3043
  modelValue: b.value,
3036
- "onUpdate:modelValue": k[0] || (k[0] = (r) => b.value = r),
3044
+ "onUpdate:modelValue": v[0] || (v[0] = (r) => b.value = r),
3037
3045
  width: "1000px",
3038
3046
  "show-close": !1,
3039
3047
  class: "basic-drawer"
@@ -3041,12 +3049,12 @@ const ll = /* @__PURE__ */ q({
3041
3049
  title: t(() => [l(o, {
3042
3050
  icon: ""
3043
3051
  }, {
3044
- title: t(() => [j("span", null, Y(e(a)("ssl.ssl")), 1)]),
3045
- content: t(() => [l(e(P), {
3046
- onRefresh: e(c),
3052
+ title: t(() => [P("span", null, W(e(a)("ssl.ssl")), 1)]),
3053
+ content: t(() => [l(e(B), {
3054
+ onRefresh: e(m),
3047
3055
  size: "default",
3048
3056
  loading: e(V)
3049
- }, null, 8, ["onRefresh", "loading"]), l(e(B), {
3057
+ }, null, 8, ["onRefresh", "loading"]), l(e(I), {
3050
3058
  onOpen: e(n)
3051
3059
  }, null, 8, ["onOpen"])]),
3052
3060
  _: 1
@@ -3062,13 +3070,13 @@ const ll = /* @__PURE__ */ q({
3062
3070
  }, null, 8, ["url", "loading"]), l(Ue, {
3063
3071
  ref_key: "formModalRef",
3064
3072
  ref: i,
3065
- onRefresh: e(c)
3073
+ onRefresh: e(m)
3066
3074
  }, null, 8, ["onRefresh"])]),
3067
3075
  _: 1
3068
3076
  }, 8, ["modelValue"]);
3069
3077
  };
3070
3078
  }
3071
- }), Ve = K.routineApi("SSLLog", "id"), yl = /* @__PURE__ */ q({
3079
+ }), ye = K.routineApi("SSLLog", "id"), yl = /* @__PURE__ */ T({
3072
3080
  __name: "SSLLogTableDrawer",
3073
3081
  props: {
3074
3082
  ssl: {
@@ -3077,15 +3085,15 @@ const ll = /* @__PURE__ */ q({
3077
3085
  }
3078
3086
  },
3079
3087
  setup(M, {
3080
- expose: w
3088
+ expose: x
3081
3089
  }) {
3082
3090
  const V = M, {
3083
3091
  requesting: g,
3084
3092
  executing: h
3085
- } = $([Ve, ae]), b = N(!1), {
3093
+ } = $([ye, ae]), b = j(!1), {
3086
3094
  tableRef: p,
3087
3095
  refresh: i
3088
- } = F(), c = [{
3096
+ } = F(), m = [{
3089
3097
  prop: "status_text",
3090
3098
  label: a("base.status"),
3091
3099
  width: 100
@@ -3104,7 +3112,7 @@ const ll = /* @__PURE__ */ q({
3104
3112
  }], n = () => {
3105
3113
  b.value = !0;
3106
3114
  };
3107
- function v() {
3115
+ function w() {
3108
3116
  ae.gen({
3109
3117
  id: V.ssl.id
3110
3118
  }).then((f) => {
@@ -3113,27 +3121,27 @@ const ll = /* @__PURE__ */ q({
3113
3121
  }
3114
3122
  function u() {
3115
3123
  const f = ve.getDownloadUrl(V.ssl.path + ".zip");
3116
- fetch(f).then((m) => m.blob()).then((m) => {
3117
- let R = URL.createObjectURL(m), U = document.createElement("a");
3118
- U.style.display = "none", U.href = R, U.download = V.ssl.name + ".zip", U.click(), URL.revokeObjectURL(m);
3124
+ fetch(f).then((c) => c.blob()).then((c) => {
3125
+ let k = URL.createObjectURL(c), U = document.createElement("a");
3126
+ U.style.display = "none", U.href = k, U.download = V.ssl.name + ".zip", U.click(), URL.revokeObjectURL(c);
3119
3127
  });
3120
3128
  }
3121
- return w({
3129
+ return x({
3122
3130
  open: n
3123
- }), (f, m) => {
3124
- const R = s("el-page-header");
3125
- return L(), T(e(_e), {
3131
+ }), (f, c) => {
3132
+ const k = s("el-page-header");
3133
+ return L(), q(e(_e), {
3126
3134
  modelValue: b.value,
3127
- "onUpdate:modelValue": m[0] || (m[0] = (U) => b.value = U),
3135
+ "onUpdate:modelValue": c[0] || (c[0] = (U) => b.value = U),
3128
3136
  width: "600px",
3129
3137
  "show-close": !1,
3130
3138
  class: "basic-drawer"
3131
3139
  }, {
3132
- title: t(() => [l(R, {
3140
+ title: t(() => [l(k, {
3133
3141
  icon: ""
3134
3142
  }, {
3135
- title: t(() => [j("span", null, Y(e(a)("config.ssl base.log")), 1)]),
3136
- content: t(() => [l(e(P), {
3143
+ title: t(() => [P("span", null, W(e(a)("config.ssl base.log")), 1)]),
3144
+ content: t(() => [l(e(B), {
3137
3145
  onRefresh: e(i),
3138
3146
  size: "default",
3139
3147
  loading: e(g)
@@ -3144,7 +3152,7 @@ const ll = /* @__PURE__ */ q({
3144
3152
  icon: "icon-key",
3145
3153
  disabled: e(h),
3146
3154
  loading: e(h),
3147
- onClick: v
3155
+ onClick: w
3148
3156
  }, null, 8, ["disabled", "loading"]), l(e(de), {
3149
3157
  size: "default",
3150
3158
  type: "primary",
@@ -3160,18 +3168,18 @@ const ll = /* @__PURE__ */ q({
3160
3168
  ref: p,
3161
3169
  size: "small",
3162
3170
  "row-key": "id",
3163
- url: e(Ve).urls.search,
3164
- columns: c,
3171
+ url: e(ye).urls.search,
3172
+ columns: m,
3165
3173
  loading: e(g)
3166
3174
  }, null, 8, ["url", "loading"])]),
3167
3175
  _: 1
3168
3176
  }, 8, ["modelValue"]);
3169
3177
  };
3170
3178
  }
3171
- }), kl = /* @__PURE__ */ q({
3179
+ }), kl = /* @__PURE__ */ T({
3172
3180
  __name: "index",
3173
3181
  setup(M) {
3174
- const w = N(), {
3182
+ const x = j(), {
3175
3183
  requesting: V,
3176
3184
  executing: g
3177
3185
  } = $(le), {
@@ -3179,18 +3187,18 @@ const ll = /* @__PURE__ */ q({
3179
3187
  formModalRef: b,
3180
3188
  reset: p,
3181
3189
  refresh: i,
3182
- openFormModal: c,
3190
+ openFormModal: m,
3183
3191
  editFormModal: n
3184
3192
  } = F(), {
3185
- formModalRef: v,
3193
+ formModalRef: w,
3186
3194
  openFormModal: u
3187
3195
  } = F(), {
3188
3196
  formModalRef: f,
3189
- openFormModal: m
3197
+ openFormModal: c
3190
3198
  } = F(), {
3191
- formModalRef: R,
3199
+ formModalRef: k,
3192
3200
  openFormModal: U
3193
- } = F(), k = [{
3201
+ } = F(), v = [{
3194
3202
  prop: "domain.name",
3195
3203
  label: a("config.domain"),
3196
3204
  width: 129,
@@ -3227,7 +3235,7 @@ const ll = /* @__PURE__ */ q({
3227
3235
  type: "primary",
3228
3236
  text: !0,
3229
3237
  onClick: (y) => {
3230
- y.stopPropagation(), d.ssl && d.ssl.id && (w.value = d.ssl, U());
3238
+ y.stopPropagation(), d.ssl && d.ssl.id && (x.value = d.ssl, U());
3231
3239
  }
3232
3240
  }, {
3233
3241
  default: () => [l("span", {
@@ -3264,7 +3272,7 @@ const ll = /* @__PURE__ */ q({
3264
3272
  onClick: () => r(d)
3265
3273
  }, null)]
3266
3274
  })
3267
- }], o = N(0), r = (d) => {
3275
+ }], o = j(0), r = (d) => {
3268
3276
  o.value = d.id, le.check({
3269
3277
  id: d.id
3270
3278
  }).then((y) => {
@@ -3274,8 +3282,8 @@ const ll = /* @__PURE__ */ q({
3274
3282
  });
3275
3283
  };
3276
3284
  return (d, y) => {
3277
- const _ = s("el-space"), D = s("el-page-header"), x = s("el-card");
3278
- return L(), T(x, {
3285
+ const _ = s("el-space"), D = s("el-page-header"), R = s("el-card");
3286
+ return L(), q(R, {
3279
3287
  "body-style": {
3280
3288
  padding: "12px",
3281
3289
  height: "450px"
@@ -3286,26 +3294,26 @@ const ll = /* @__PURE__ */ q({
3286
3294
  header: t(() => [l(D, {
3287
3295
  icon: ""
3288
3296
  }, {
3289
- title: t(() => [j("span", null, Y(e(a)("config.keys.sites")), 1)]),
3297
+ title: t(() => [P("span", null, W(e(a)("config.keys.sites")), 1)]),
3290
3298
  content: t(() => [l(_, {
3291
3299
  alignment: "center",
3292
3300
  style: {
3293
3301
  height: "32px"
3294
3302
  }
3295
3303
  }, {
3296
- default: t(() => [l(e(P), {
3304
+ default: t(() => [l(e(B), {
3297
3305
  loading: e(V),
3298
3306
  onRefresh: e(p)
3299
- }, null, 8, ["loading", "onRefresh"]), l(e(B), {
3300
- onOpen: e(c)
3307
+ }, null, 8, ["loading", "onRefresh"]), l(e(I), {
3308
+ onOpen: e(m)
3301
3309
  }, null, 8, ["onOpen"])]),
3302
3310
  _: 1
3303
3311
  })]),
3304
- extra: t(() => [l(e(B), {
3312
+ extra: t(() => [l(e(I), {
3305
3313
  onOpen: e(u),
3306
3314
  icon: "icon-compass"
3307
- }, null, 8, ["onOpen"]), l(e(B), {
3308
- onOpen: e(m),
3315
+ }, null, 8, ["onOpen"]), l(e(I), {
3316
+ onOpen: e(c),
3309
3317
  icon: "icon-safetycertificate-f"
3310
3318
  }, null, 8, ["onOpen"])]),
3311
3319
  _: 1
@@ -3317,20 +3325,20 @@ const ll = /* @__PURE__ */ q({
3317
3325
  "row-key": "id",
3318
3326
  url: e(le).urls[e($e)],
3319
3327
  "auto-search": "",
3320
- columns: k
3328
+ columns: v
3321
3329
  }, null, 8, ["url"]), l(pl, {
3322
3330
  ref_key: "formModalRef",
3323
3331
  ref: b,
3324
3332
  onRefresh: e(i)
3325
3333
  }, null, 8, ["onRefresh"]), l(hl, {
3326
3334
  ref_key: "domainTableDrawerRef",
3327
- ref: v
3335
+ ref: w
3328
3336
  }, null, 512), l(Vl, {
3329
3337
  ref_key: "sslTableDrawerRef",
3330
3338
  ref: f
3331
3339
  }, null, 512), l(yl, {
3332
3340
  ref_key: "sslLogTableDrawerRef",
3333
- ref: R
3341
+ ref: k
3334
3342
  }, null, 512)]),
3335
3343
  _: 1
3336
3344
  });
@@ -3343,10 +3351,10 @@ const ll = /* @__PURE__ */ q({
3343
3351
  request: "request",
3344
3352
  error: "error",
3345
3353
  sql: "SQL"
3346
- }, oe = K.routineApi("log", "id", xl), Ll = /* @__PURE__ */ q({
3354
+ }, oe = K.routineApi("log", "id", xl), Ll = /* @__PURE__ */ T({
3347
3355
  __name: "index",
3348
3356
  setup(M) {
3349
- const w = {
3357
+ const x = {
3350
3358
  dates: [C.getCurrentHour().format(C.DATE_VALUE_FORMAT), C.getCurrentHour(1).format(C.DATE_VALUE_FORMAT)]
3351
3359
  }, V = [{
3352
3360
  label: a("base.sort"),
@@ -3357,8 +3365,8 @@ const ll = /* @__PURE__ */ q({
3357
3365
  prop: "time",
3358
3366
  width: 180,
3359
3367
  render: ({
3360
- rowData: c
3361
- }) => l(W, null, [C.formatDate(c.time)])
3368
+ rowData: m
3369
+ }) => l(Y, null, [C.formatDate(m.time)])
3362
3370
  }, {
3363
3371
  label: a("base.url"),
3364
3372
  prop: "url",
@@ -3371,26 +3379,26 @@ const ll = /* @__PURE__ */ q({
3371
3379
  keyword: b,
3372
3380
  search: p,
3373
3381
  reset: i
3374
- } = F(w);
3375
- return (c, n) => {
3376
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), m = s("el-card");
3377
- return L(), T(m, {
3382
+ } = F(x);
3383
+ return (m, n) => {
3384
+ const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
3385
+ return L(), q(c, {
3378
3386
  class: "basic-card flex-full",
3379
3387
  "body-class": "flex-1"
3380
3388
  }, {
3381
3389
  header: t(() => [l(f, {
3382
3390
  class: "basic-header"
3383
3391
  }, {
3384
- title: t(() => [l(e(P), {
3392
+ title: t(() => [l(e(B), {
3385
3393
  loading: e(g),
3386
3394
  onRefresh: e(i)
3387
3395
  }, null, 8, ["loading", "onRefresh"])]),
3388
3396
  content: t(() => [l(u, {
3389
3397
  class: "search-bar"
3390
3398
  }, {
3391
- default: t(() => [l(v, {
3399
+ default: t(() => [l(w, {
3392
3400
  modelValue: e(b).dates,
3393
- "onUpdate:modelValue": n[0] || (n[0] = (R) => e(b).dates = R),
3401
+ "onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
3394
3402
  class: "basic-search-datetimerange",
3395
3403
  "value-format": e(C).DATE_HOUR_FORMAT,
3396
3404
  format: e(C).DATE_SHOW_FORMAT,
@@ -3399,10 +3407,10 @@ const ll = /* @__PURE__ */ q({
3399
3407
  "start-placeholder": e(a)("base.start_at"),
3400
3408
  "end-placeholder": e(a)("base.end_at"),
3401
3409
  clearable: !1,
3402
- onChange: n[1] || (n[1] = (R) => e(p)())
3410
+ onChange: n[1] || (n[1] = (k) => e(p)())
3403
3411
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3404
3412
  disabled: e(g),
3405
- onSearch: n[2] || (n[2] = (R) => e(p)())
3413
+ onSearch: n[2] || (n[2] = (k) => e(p)())
3406
3414
  }, null, 8, ["disabled"])]),
3407
3415
  _: 1
3408
3416
  })]),
@@ -3421,10 +3429,10 @@ const ll = /* @__PURE__ */ q({
3421
3429
  });
3422
3430
  };
3423
3431
  }
3424
- }), Sl = /* @__PURE__ */ q({
3432
+ }), Sl = /* @__PURE__ */ T({
3425
3433
  __name: "index",
3426
3434
  setup(M) {
3427
- const w = {
3435
+ const x = {
3428
3436
  dates: [C.getCurrentDate(-7).format(C.DATE_VALUE_FORMAT), C.getCurrentDate(0).format(C.DATE_VALUE_FORMAT)]
3429
3437
  }, V = [{
3430
3438
  label: a("base.sort"),
@@ -3435,8 +3443,8 @@ const ll = /* @__PURE__ */ q({
3435
3443
  prop: "time",
3436
3444
  width: 180,
3437
3445
  render: ({
3438
- rowData: c
3439
- }) => l(W, null, [C.formatDate(c.time)])
3446
+ rowData: m
3447
+ }) => l(Y, null, [C.formatDate(m.time)])
3440
3448
  }, {
3441
3449
  label: a("base.url"),
3442
3450
  prop: "url",
@@ -3449,26 +3457,26 @@ const ll = /* @__PURE__ */ q({
3449
3457
  keyword: b,
3450
3458
  search: p,
3451
3459
  reset: i
3452
- } = F(w);
3453
- return (c, n) => {
3454
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), m = s("el-card");
3455
- return L(), T(m, {
3460
+ } = F(x);
3461
+ return (m, n) => {
3462
+ const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
3463
+ return L(), q(c, {
3456
3464
  class: "basic-card flex-full",
3457
3465
  "body-class": "flex-1"
3458
3466
  }, {
3459
3467
  header: t(() => [l(f, {
3460
3468
  class: "basic-header"
3461
3469
  }, {
3462
- title: t(() => [l(e(P), {
3470
+ title: t(() => [l(e(B), {
3463
3471
  loading: e(g),
3464
3472
  onRefresh: e(i)
3465
3473
  }, null, 8, ["loading", "onRefresh"])]),
3466
3474
  content: t(() => [l(u, {
3467
3475
  class: "search-bar"
3468
3476
  }, {
3469
- default: t(() => [l(v, {
3477
+ default: t(() => [l(w, {
3470
3478
  modelValue: e(b).dates,
3471
- "onUpdate:modelValue": n[0] || (n[0] = (R) => e(b).dates = R),
3479
+ "onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
3472
3480
  class: "basic-search-daterange",
3473
3481
  "value-format": e(C).DATE_VALUE_FORMAT,
3474
3482
  format: e(C).DATE_FORMAT,
@@ -3477,10 +3485,10 @@ const ll = /* @__PURE__ */ q({
3477
3485
  "start-placeholder": e(a)("base.start_at"),
3478
3486
  "end-placeholder": e(a)("base.end_at"),
3479
3487
  clearable: !1,
3480
- onChange: n[1] || (n[1] = (R) => e(p)())
3488
+ onChange: n[1] || (n[1] = (k) => e(p)())
3481
3489
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3482
3490
  disabled: e(g),
3483
- onSearch: n[2] || (n[2] = (R) => e(p)())
3491
+ onSearch: n[2] || (n[2] = (k) => e(p)())
3484
3492
  }, null, 8, ["disabled"])]),
3485
3493
  _: 1
3486
3494
  })]),
@@ -3499,10 +3507,10 @@ const ll = /* @__PURE__ */ q({
3499
3507
  });
3500
3508
  };
3501
3509
  }
3502
- }), Tl = /* @__PURE__ */ q({
3510
+ }), ql = /* @__PURE__ */ T({
3503
3511
  __name: "index",
3504
3512
  setup(M) {
3505
- const w = {
3513
+ const x = {
3506
3514
  dates: [C.getCurrentDate(-7).format(C.DATE_VALUE_FORMAT), C.getCurrentDate().format(C.DATE_VALUE_FORMAT)]
3507
3515
  }, V = [{
3508
3516
  label: a("base.sort"),
@@ -3513,8 +3521,8 @@ const ll = /* @__PURE__ */ q({
3513
3521
  prop: "time",
3514
3522
  width: 180,
3515
3523
  render: ({
3516
- rowData: c
3517
- }) => l(W, null, [C.formatDate(c.time)])
3524
+ rowData: m
3525
+ }) => l(Y, null, [C.formatDate(m.time)])
3518
3526
  }, {
3519
3527
  label: a("base.url"),
3520
3528
  prop: "url",
@@ -3527,26 +3535,26 @@ const ll = /* @__PURE__ */ q({
3527
3535
  keyword: b,
3528
3536
  search: p,
3529
3537
  reset: i
3530
- } = F(w);
3531
- return (c, n) => {
3532
- const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), m = s("el-card");
3533
- return L(), T(m, {
3538
+ } = F(x);
3539
+ return (m, n) => {
3540
+ const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
3541
+ return L(), q(c, {
3534
3542
  class: "basic-card flex-full",
3535
3543
  "body-class": "flex-1"
3536
3544
  }, {
3537
3545
  header: t(() => [l(f, {
3538
3546
  class: "basic-header"
3539
3547
  }, {
3540
- title: t(() => [l(e(P), {
3548
+ title: t(() => [l(e(B), {
3541
3549
  loading: e(g),
3542
3550
  onRefresh: e(i)
3543
3551
  }, null, 8, ["loading", "onRefresh"])]),
3544
3552
  content: t(() => [l(u, {
3545
3553
  class: "search-bar"
3546
3554
  }, {
3547
- default: t(() => [l(v, {
3555
+ default: t(() => [l(w, {
3548
3556
  modelValue: e(b).dates,
3549
- "onUpdate:modelValue": n[0] || (n[0] = (R) => e(b).dates = R),
3557
+ "onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
3550
3558
  class: "basic-search-daterange",
3551
3559
  "value-format": e(C).DATE_HOUR_FORMAT,
3552
3560
  format: e(C).DATE_FORMAT,
@@ -3555,10 +3563,10 @@ const ll = /* @__PURE__ */ q({
3555
3563
  "start-placeholder": e(a)("base.start_at"),
3556
3564
  "end-placeholder": e(a)("base.end_at"),
3557
3565
  clearable: !1,
3558
- onChange: n[1] || (n[1] = (R) => e(p)())
3566
+ onChange: n[1] || (n[1] = (k) => e(p)())
3559
3567
  }, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(Z), {
3560
3568
  disabled: e(g),
3561
- onSearch: n[2] || (n[2] = (R) => e(p)())
3569
+ onSearch: n[2] || (n[2] = (k) => e(p)())
3562
3570
  }, null, 8, ["disabled"])]),
3563
3571
  _: 1
3564
3572
  })]),
@@ -3577,7 +3585,7 @@ const ll = /* @__PURE__ */ q({
3577
3585
  });
3578
3586
  };
3579
3587
  }
3580
- }), Rl = () => import("./index-SHsqnbNG.js"), Ul = () => import("./index-CJMTIvHk.js"), Ml = () => import("./index-BMn8mAns.js"), ql = [
3588
+ }), Rl = () => import("./index-SHsqnbNG.js"), Ul = () => import("./index-CJMTIvHk.js"), Ml = () => import("./index-BMn8mAns.js"), Tl = [
3581
3589
  {
3582
3590
  path: ze,
3583
3591
  name: "RequestLog",
@@ -3604,7 +3612,7 @@ const ll = /* @__PURE__ */ q({
3604
3612
  }
3605
3613
  ], Ol = {
3606
3614
  install: (M) => {
3607
- Reflect.ownKeys(M._context.provides).some((w) => String(w) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app."), console.warn(Reflect.ownKeys(M._context.provides));
3615
+ Reflect.ownKeys(M._context.provides).some((x) => String(x) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app."), console.warn(Reflect.ownKeys(M._context.provides));
3608
3616
  },
3609
3617
  version: "__VERSION__"
3610
3618
  }, Cl = /* @__PURE__ */ Object.assign({
@@ -3618,11 +3626,11 @@ export {
3618
3626
  Ne as AdminsPage,
3619
3627
  Sl as ErrorLogsPage,
3620
3628
  We as LanguagesPage,
3621
- ql as LogRoutes,
3629
+ Tl as LogRoutes,
3622
3630
  ll as MenusPage,
3623
3631
  Ll as RequestLogsPage,
3624
3632
  sl as RolesPage,
3625
- Tl as SQLLogsPage,
3633
+ ql as SQLLogsPage,
3626
3634
  vl as SitePage,
3627
3635
  Cl as basicModules,
3628
3636
  Ol as default