auto-vue-basic 0.0.91 → 0.0.93

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,46 +1,27 @@
1
- import { defineComponent as O, toRef as ne, resolveComponent as r, openBlock as S, createBlock as T, unref as e, isRef as E, withCtx as o, createVNode as l, createElementVNode as P, normalizeClass as Ae, toDisplayString as z, ref as Y, Fragment as j, withKeys as Ve, createElementBlock as N, renderList as le, isVNode as Ce, reactive as Ke, onMounted as je, watch as Le, nextTick as We, createTextVNode as ee, createCommentVNode as Ge, shallowRef as Ye, onBeforeMount as He } from "vue";
2
- import { ApiUtils as G, useLoading as F, useSelect as te, Translate as a, InlineRefreshButton as fe, useForm as Z, FormDialog as ae, DEFAULT_STATUS_KEY as De, ModifyButton as re, useCrudPage as W, DEFAULT_REMOVE_KEY as Qe, ProTable as be, DEFAULT_PAGE_KEY as ye, SearchButton as de, RefreshButton as K, OpenButton as B, useCacheStore as Je, useDialog as xe, BasicDrawer as _e, BasicRadioButton as Te, RequestButton as X, RulesUtils as Xe, BasicAvatar as Ze, TimeUtils as $, ProTableList as ie, useSingleFormModal as el, useSingleDialog as ve, AssetsUtils as qe, useSingleTable as ll, notification as al, DEFAULT_LIST_URL as ol, REQUEST_LOG_URL as nl, ERROR_LOG_URL as tl, SQL_LOG_URL as rl } from "auto-vue-manual";
1
+ import { defineComponent as O, toRef as ne, resolveComponent as r, openBlock as M, createBlock as T, unref as e, isRef as E, withCtx as o, createVNode as l, createElementVNode as P, normalizeClass as Ae, toDisplayString as z, ref as G, Fragment as j, withKeys as Ve, createElementBlock as N, renderList as le, isVNode as Ce, reactive as je, onMounted as We, watch as Le, nextTick as Ge, createTextVNode as ee, createCommentVNode as Ye, shallowRef as He, onBeforeMount as Qe } from "vue";
2
+ import { ApiUtils as W, useLoading as F, useSelect as te, Translate as a, InlineRefreshButton as fe, useForm as Z, FormDialog as ae, DEFAULT_STATUS_KEY as De, ModifyButton as re, useCrudPage as Q, useSingleFormModal as Te, DEFAULT_REMOVE_KEY as Je, ProTable as be, DEFAULT_PAGE_KEY as ye, SearchButton as de, RefreshButton as K, OpenButton as B, useCacheStore as Xe, useDialog as xe, BasicDrawer as _e, BasicRadioButton as qe, RequestButton as X, RulesUtils as Ze, BasicAvatar as el, TimeUtils as $, ProTableList as ie, useSingleDialog as ve, AssetsUtils as Oe, useSingleTable as ll, notification as al, DEFAULT_LIST_URL as ol, REQUEST_LOG_URL as nl, ERROR_LOG_URL as tl, SQL_LOG_URL as rl } from "auto-vue-manual";
3
3
  import { Key as dl, Search as sl } from "@element-plus/icons-vue";
4
4
  const ul = {
5
5
  tops: "tops",
6
6
  rules: "rules"
7
- }, H = G.routineApi("menu", "id", ul, {}, ["TOP_MENU_LIST", "MENU_LIST"]), Oe = G.routineApi("rule", "key"), il = /* @__PURE__ */ O({
7
+ }, Y = W.routineApi("menu", "id", ul, {}, ["TOP_MENU_LIST", "MENU_LIST"]), $e = W.routineApi("rule", "key"), il = /* @__PURE__ */ O({
8
8
  __name: "TopMenuSelect",
9
9
  props: {
10
- modelValue: {
11
- type: [Number, Array],
12
- required: !0
13
- },
14
- multiple: {
15
- type: Boolean,
16
- default: !1
17
- },
18
- disabled: {
19
- type: Boolean,
20
- default: !1
21
- }
10
+ modelValue: { type: [Number, Array, void 0], required: !0, default: void 0 },
11
+ multiple: { type: Boolean, default: !1 },
12
+ disabled: { type: Boolean, default: !1 }
22
13
  },
23
14
  emits: ["update:modelValue", "change"],
24
- setup(x, {
25
- emit: U
26
- }) {
27
- const v = U, h = x, {
28
- requesting: g
29
- } = F(H), {
30
- value: b,
31
- options: c,
32
- change: p,
33
- refresh: i,
34
- filterOptions: n
35
- } = te(ne(h, "modelValue"), v, {
15
+ setup(x, { emit: U }) {
16
+ const v = U, h = x, { requesting: g } = F(Y), { value: b, options: c, change: p, refresh: i, filterOptions: n } = te(ne(h, "modelValue"), v, {
36
17
  key: "TOP_MENU_LIST",
37
- api: H,
38
- url: H.urls.tops,
18
+ api: Y,
19
+ url: Y.urls.tops,
39
20
  isArray: !0
40
21
  });
41
22
  return (w, u) => {
42
23
  const m = r("el-space"), f = r("el-select-v2");
43
- return S(), T(f, {
24
+ return M(), T(f, {
44
25
  class: "w-full",
45
26
  modelValue: e(b),
46
27
  "onUpdate:modelValue": u[1] || (u[1] = (_) => E(b) ? b.value = _ : null),
@@ -50,20 +31,26 @@ const ul = {
50
31
  placeholder: e(a)("placeholder.select"),
51
32
  filterable: "",
52
33
  filterOptions: e(n),
34
+ "empty-values": [void 0],
53
35
  onChange: e(p)
54
36
  }, {
55
- prefix: o(() => [l(e(fe), {
56
- loading: e(g),
57
- onRefresh: u[0] || (u[0] = (_) => e(i)(!0))
58
- }, null, 8, ["loading"])]),
59
- default: o(({
60
- item: _
61
- }) => [l(m, null, {
62
- default: o(() => [P("i", {
63
- class: Ae(`icon iconfont ${_.icon}`)
64
- }, null, 2), P("span", null, z(_.translate), 1)]),
65
- _: 2
66
- }, 1024)]),
37
+ prefix: o(() => [
38
+ l(e(fe), {
39
+ loading: e(g),
40
+ onRefresh: u[0] || (u[0] = (_) => e(i)(!0))
41
+ }, null, 8, ["loading"])
42
+ ]),
43
+ default: o(({ item: _ }) => [
44
+ l(m, null, {
45
+ default: o(() => [
46
+ P("i", {
47
+ class: Ae(`icon iconfont ${_.icon}`)
48
+ }, null, 2),
49
+ P("span", null, z(_.translate), 1)
50
+ ]),
51
+ _: 2
52
+ }, 1024)
53
+ ]),
67
54
  _: 1
68
55
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
69
56
  };
@@ -137,13 +124,13 @@ const ul = {
137
124
  trigger: "blur"
138
125
  }
139
126
  ]
140
- }, { modal: c, title: p, form: i, formData: n, requesting: w, executing: u, open: m, modify: f, submit: _, closed: D } = Z(h, g, H);
127
+ }, { modal: c, title: p, form: i, formData: n, requesting: w, executing: u, open: m, modify: f, submit: _, closed: D } = Z(h, g, Y);
141
128
  return U({
142
129
  open: m,
143
130
  modify: f
144
131
  }), (R, t) => {
145
- const d = r("el-form-item"), s = r("el-col"), M = r("el-input-number"), k = r("el-row"), A = r("el-input"), V = r("el-switch"), L = r("el-form");
146
- return S(), T(e(ae), {
132
+ const d = r("el-form-item"), s = r("el-col"), S = r("el-input-number"), k = r("el-row"), A = r("el-input"), V = r("el-switch"), L = r("el-form");
133
+ return M(), T(e(ae), {
147
134
  modelValue: e(c),
148
135
  "onUpdate:modelValue": t[17] || (t[17] = (y) => E(c) ? c.value = y : null),
149
136
  title: e(p)(),
@@ -194,7 +181,7 @@ const ul = {
194
181
  prop: "sort"
195
182
  }, {
196
183
  default: o(() => [
197
- l(M, {
184
+ l(S, {
198
185
  class: "w-full",
199
186
  modelValue: e(n).sort,
200
187
  "onUpdate:modelValue": t[1] || (t[1] = (y) => e(n).sort = y),
@@ -449,39 +436,16 @@ const ul = {
449
436
  }), ml = /* @__PURE__ */ O({
450
437
  __name: "MenuSelect",
451
438
  props: {
452
- modelValue: {
453
- type: [Number, Array],
454
- required: !0
455
- },
456
- multiple: {
457
- type: Boolean,
458
- default: !1
459
- },
460
- disabled: {
461
- type: Boolean,
462
- default: !1
463
- }
439
+ modelValue: { type: [Number, Array], required: !0 },
440
+ multiple: { type: Boolean, default: !1 },
441
+ disabled: { type: Boolean, default: !1 }
464
442
  },
465
443
  emits: ["update:modelValue", "change"],
466
- setup(x, {
467
- emit: U
468
- }) {
469
- const v = U, h = x, {
470
- requesting: g
471
- } = F(H), {
472
- value: b,
473
- options: c,
474
- change: p,
475
- refresh: i,
476
- filterOptions: n
477
- } = te(ne(h, "modelValue"), v, {
478
- key: "MENU_LIST",
479
- api: H,
480
- isArray: !0
481
- });
444
+ setup(x, { emit: U }) {
445
+ const v = U, h = x, { requesting: g } = F(Y), { value: b, options: c, change: p, refresh: i, filterOptions: n } = te(ne(h, "modelValue"), v, { key: "MENU_LIST", api: Y, isArray: !0 });
482
446
  return (w, u) => {
483
447
  const m = r("el-space"), f = r("el-select-v2");
484
- return S(), T(f, {
448
+ return M(), T(f, {
485
449
  class: "w-full",
486
450
  modelValue: e(b),
487
451
  "onUpdate:modelValue": u[1] || (u[1] = (_) => E(b) ? b.value = _ : null),
@@ -493,18 +457,23 @@ const ul = {
493
457
  filterOptions: e(n),
494
458
  onChange: e(p)
495
459
  }, {
496
- prefix: o(() => [l(e(fe), {
497
- loading: e(g),
498
- onRefresh: u[0] || (u[0] = (_) => e(i)(!0))
499
- }, null, 8, ["loading"])]),
500
- default: o(({
501
- item: _
502
- }) => [l(m, null, {
503
- default: o(() => [P("i", {
504
- class: Ae(`icon iconfont ${_.icon}`)
505
- }, null, 2), P("span", null, z(_.translate), 1)]),
506
- _: 2
507
- }, 1024)]),
460
+ prefix: o(() => [
461
+ l(e(fe), {
462
+ loading: e(g),
463
+ onRefresh: u[0] || (u[0] = (_) => e(i)(!0))
464
+ }, null, 8, ["loading"])
465
+ ]),
466
+ default: o(({ item: _ }) => [
467
+ l(m, null, {
468
+ default: o(() => [
469
+ P("i", {
470
+ class: Ae(`icon iconfont ${_.icon}`)
471
+ }, null, 2),
472
+ P("span", null, z(_.translate), 1)
473
+ ]),
474
+ _: 2
475
+ }, 1024)
476
+ ]),
508
477
  _: 1
509
478
  }, 8, ["modelValue", "options", "multiple", "disabled", "placeholder", "filterOptions", "onChange"]);
510
479
  };
@@ -559,13 +528,13 @@ const ul = {
559
528
  trigger: "blur"
560
529
  }
561
530
  ]
562
- }, { modal: c, title: p, form: i, formData: n, requesting: w, executing: u, open: m, modify: f, submit: _, closed: D } = Z(h, g, Oe);
531
+ }, { modal: c, title: p, form: i, formData: n, requesting: w, executing: u, open: m, modify: f, submit: _, closed: D } = Z(h, g, $e);
563
532
  return U({
564
533
  open: m,
565
534
  modify: f
566
535
  }), (R, t) => {
567
- const d = r("el-form-item"), s = r("el-input-number"), M = r("el-input"), k = r("el-col"), A = r("el-row"), V = r("el-form");
568
- return S(), T(e(ae), {
536
+ const d = r("el-form-item"), s = r("el-input-number"), S = r("el-input"), k = r("el-col"), A = r("el-row"), V = r("el-form");
537
+ return M(), T(e(ae), {
569
538
  modelValue: e(c),
570
539
  "onUpdate:modelValue": t[6] || (t[6] = (L) => E(c) ? c.value = L : null),
571
540
  title: e(p)("menu.rules"),
@@ -621,7 +590,7 @@ const ul = {
621
590
  prop: "name"
622
591
  }, {
623
592
  default: o(() => [
624
- l(M, {
593
+ l(S, {
625
594
  modelValue: e(n).name,
626
595
  "onUpdate:modelValue": t[2] || (t[2] = (L) => e(n).name = L),
627
596
  placeholder: e(a)("placeholder.input")
@@ -634,7 +603,7 @@ const ul = {
634
603
  prop: "en_name"
635
604
  }, {
636
605
  default: o(() => [
637
- l(M, {
606
+ l(S, {
638
607
  modelValue: e(n).en_name,
639
608
  "onUpdate:modelValue": t[3] || (t[3] = (L) => e(n).en_name = L),
640
609
  placeholder: e(a)("placeholder.input")
@@ -647,7 +616,7 @@ const ul = {
647
616
  prop: "remark"
648
617
  }, {
649
618
  default: o(() => [
650
- l(M, {
619
+ l(S, {
651
620
  modelValue: e(n).remark,
652
621
  "onUpdate:modelValue": t[4] || (t[4] = (L) => e(n).remark = L),
653
622
  placeholder: e(a)("placeholder.input")
@@ -665,7 +634,7 @@ const ul = {
665
634
  prop: "urls"
666
635
  }, {
667
636
  default: o(() => [
668
- l(M, {
637
+ l(S, {
669
638
  modelValue: e(n).urls,
670
639
  "onUpdate:modelValue": t[5] || (t[5] = (L) => e(n).urls = L),
671
640
  type: "textarea",
@@ -690,7 +659,7 @@ const ul = {
690
659
  };
691
660
  }
692
661
  });
693
- function Me(x) {
662
+ function Se(x) {
694
663
  return typeof x == "function" || Object.prototype.toString.call(x) === "[object Object]" && !Ce(x);
695
664
  }
696
665
  const Gl = /* @__PURE__ */ O({
@@ -699,7 +668,7 @@ const Gl = /* @__PURE__ */ O({
699
668
  const U = {
700
669
  keyword: "",
701
670
  status: 0
702
- }, v = Y(""), h = [
671
+ }, v = G(""), h = [
703
672
  {
704
673
  label: a("base.sort"),
705
674
  prop: "sort",
@@ -773,21 +742,21 @@ const Gl = /* @__PURE__ */ O({
773
742
  default: () => [d.translate]
774
743
  }),
775
744
  default: () => {
776
- let s, M;
745
+ let s, S;
777
746
  return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${t.translate}-${d.translate} ?`]), l("div", {
778
747
  style: "text-align: right; margin: 0"
779
748
  }, [l(r("el-button"), {
780
749
  size: "small",
781
750
  text: !0,
782
751
  onClick: () => v.value = ""
783
- }, Me(s = a("base.cancel")) ? s : {
752
+ }, Se(s = a("base.cancel")) ? s : {
784
753
  default: () => [s]
785
754
  }), l(r("el-button"), {
786
755
  size: "small",
787
756
  type: "danger",
788
757
  onClick: () => R(d.key)
789
- }, Me(M = a("base.confirm")) ? M : {
790
- default: () => [M]
758
+ }, Se(S = a("base.confirm")) ? S : {
759
+ default: () => [S]
791
760
  })])]);
792
761
  }
793
762
  }))]
@@ -801,7 +770,7 @@ const Gl = /* @__PURE__ */ O({
801
770
  props: {
802
771
  activeValue: 1,
803
772
  inactiveValue: 2,
804
- api: H.urls[De],
773
+ api: Y.urls[De],
805
774
  refresh: !0
806
775
  }
807
776
  },
@@ -821,7 +790,7 @@ const Gl = /* @__PURE__ */ O({
821
790
  }
822
791
  ], {
823
792
  requesting: g
824
- } = F(H), {
793
+ } = F(Y), {
825
794
  tableRef: b,
826
795
  formModalRef: c,
827
796
  keyword: p,
@@ -830,20 +799,20 @@ const Gl = /* @__PURE__ */ O({
830
799
  reset: w,
831
800
  openFormModal: u,
832
801
  editFormModal: m
833
- } = W(U), {
834
- formModalRef: f,
835
- openFormModal: _,
836
- editFormModal: D
837
- } = W(), R = (t) => {
838
- Oe[Qe]({
802
+ } = Q(U), {
803
+ formRef: f,
804
+ open: _,
805
+ edit: D
806
+ } = Te(), R = (t) => {
807
+ $e[Je]({
839
808
  key: t
840
809
  }).then(() => {
841
810
  v.value = "", n();
842
811
  });
843
812
  };
844
813
  return (t, d) => {
845
- const s = r("el-button"), M = r("el-input"), k = r("el-radio-button"), A = r("el-radio-group"), V = r("el-space"), L = r("el-page-header"), y = r("el-card");
846
- return S(), T(y, {
814
+ const s = r("el-button"), S = r("el-input"), k = r("el-radio-button"), A = r("el-radio-group"), V = r("el-space"), L = r("el-page-header"), y = r("el-card");
815
+ return M(), T(y, {
847
816
  class: "basic-card flex-full",
848
817
  "body-class": "flex-1",
849
818
  onClick: d[5] || (d[5] = () => v.value = "")
@@ -864,7 +833,7 @@ const Gl = /* @__PURE__ */ O({
864
833
  content: o(() => [l(V, {
865
834
  class: "search-bar"
866
835
  }, {
867
- default: o(() => [l(M, {
836
+ default: o(() => [l(S, {
868
837
  class: "basic-search-input",
869
838
  modelValue: e(p).keyword,
870
839
  "onUpdate:modelValue": d[0] || (d[0] = (C) => e(p).keyword = C),
@@ -877,7 +846,7 @@ const Gl = /* @__PURE__ */ O({
877
846
  "onUpdate:modelValue": d[3] || (d[3] = (C) => e(p).status = C),
878
847
  onChange: d[4] || (d[4] = (C) => e(i)())
879
848
  }, {
880
- default: o(() => [(S(), N(j, null, le([0, 1, 2], (C) => l(k, {
849
+ default: o(() => [(M(), N(j, null, le([0, 1, 2], (C) => l(k, {
881
850
  key: C,
882
851
  label: e(a)(`status.${C}`),
883
852
  value: C
@@ -895,7 +864,7 @@ const Gl = /* @__PURE__ */ O({
895
864
  ref_key: "tableRef",
896
865
  ref: b,
897
866
  columns: h,
898
- url: e(H).urls[e(ye)],
867
+ url: e(Y).urls[e(ye)],
899
868
  "search-param": e(p),
900
869
  "auto-search": ""
901
870
  }, null, 8, ["url", "search-param"]), l(pl, {
@@ -911,7 +880,7 @@ const Gl = /* @__PURE__ */ O({
911
880
  });
912
881
  };
913
882
  }
914
- }), we = G.routineApi("role", "key"), fl = { class: "rule-check" }, bl = { style: { width: "80px", "line-height": "36px" } }, _l = /* @__PURE__ */ O({
883
+ }), we = W.routineApi("role", "key"), fl = { class: "rule-check" }, bl = { style: { width: "80px", "line-height": "36px" } }, _l = /* @__PURE__ */ O({
915
884
  __name: "RulesCheck",
916
885
  props: {
917
886
  modelValue: { type: Array, required: !0 },
@@ -919,13 +888,13 @@ const Gl = /* @__PURE__ */ O({
919
888
  },
920
889
  emits: ["update:modelValue"],
921
890
  setup(x, { expose: U, emit: v }) {
922
- const { requesting: h } = F(H), g = x, b = v, c = Y(!1), p = Ke({
891
+ const { requesting: h } = F(Y), g = x, b = v, c = G(!1), p = je({
923
892
  checkAll: !1,
924
893
  indeterminate: !1,
925
894
  MenuAll: {},
926
895
  MenuList: {},
927
896
  MenuIndeterminate: {}
928
- }), { options: i, refresh: n } = te(ne(g, "modelValue"), b, { key: "RULE_CHECK", api: H, url: H.urls.rules, isArray: !0 }, { autoRefresh: !1 });
897
+ }), { options: i, refresh: n } = te(ne(g, "modelValue"), b, { key: "RULE_CHECK", api: Y, url: Y.urls.rules, isArray: !0 }, { autoRefresh: !1 });
929
898
  function w() {
930
899
  i.value.forEach((R) => {
931
900
  R.rules?.length && (p.MenuAll[R.id] = !1, p.MenuIndeterminate[R.id] = !1, p.MenuList[R.id] = []);
@@ -958,12 +927,12 @@ const Gl = /* @__PURE__ */ O({
958
927
  f(), c.value = !0;
959
928
  }
960
929
  }
961
- return je(async () => {
930
+ return We(async () => {
962
931
  i.value?.length || await n(), !c.value && g.modelValue && D(g.modelValue);
963
932
  }), Le(
964
933
  () => g.modelValue,
965
934
  (R) => {
966
- We(() => {
935
+ Ge(() => {
967
936
  c.value || !i.value?.length || R && R.length > 0 && D(R);
968
937
  });
969
938
  },
@@ -972,8 +941,8 @@ const Gl = /* @__PURE__ */ O({
972
941
  generateOption: D,
973
942
  cleanChecked: _
974
943
  }), (R, t) => {
975
- const d = r("el-checkbox"), s = r("el-space"), M = r("el-text"), k = r("el-divider"), A = r("el-checkbox-group");
976
- return S(), N("div", fl, [
944
+ const d = r("el-checkbox"), s = r("el-space"), S = r("el-text"), k = r("el-divider"), A = r("el-checkbox-group");
945
+ return M(), N("div", fl, [
977
946
  l(s, { style: { "margin-bottom": "6px" } }, {
978
947
  default: o(() => [
979
948
  l(d, {
@@ -1003,7 +972,7 @@ const Gl = /* @__PURE__ */ O({
1003
972
  class: "rule-check-content"
1004
973
  }, {
1005
974
  default: o(() => [
1006
- (S(!0), N(j, null, le(e(i), (V) => (S(), N("div", {
975
+ (M(!0), N(j, null, le(e(i), (V) => (M(), N("div", {
1007
976
  key: V.id
1008
977
  }, [
1009
978
  l(s, {
@@ -1019,7 +988,7 @@ const Gl = /* @__PURE__ */ O({
1019
988
  onChange: (L) => m(L, V.id)
1020
989
  }, {
1021
990
  default: o(() => [
1022
- l(M, { style: { "font-size": "15px" } }, {
991
+ l(S, { style: { "font-size": "15px" } }, {
1023
992
  default: o(() => [
1024
993
  ee(z(V.translate), 1)
1025
994
  ]),
@@ -1029,7 +998,7 @@ const Gl = /* @__PURE__ */ O({
1029
998
  _: 2
1030
999
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1031
1000
  l(k, { direction: "vertical" }),
1032
- V.rules ? (S(), T(A, {
1001
+ V.rules ? (M(), T(A, {
1033
1002
  key: 0,
1034
1003
  modelValue: p.MenuList[V.id],
1035
1004
  "onUpdate:modelValue": (L) => p.MenuList[V.id] = L,
@@ -1038,7 +1007,7 @@ const Gl = /* @__PURE__ */ O({
1038
1007
  onChange: f
1039
1008
  }, {
1040
1009
  default: o(() => [
1041
- (S(!0), N(j, null, le(V.rules, (L) => (S(), T(d, {
1010
+ (M(!0), N(j, null, le(V.rules, (L) => (M(), T(d, {
1042
1011
  key: L.key,
1043
1012
  value: L.key
1044
1013
  }, {
@@ -1049,7 +1018,7 @@ const Gl = /* @__PURE__ */ O({
1049
1018
  }, 1032, ["value"]))), 128))
1050
1019
  ]),
1051
1020
  _: 2
1052
- }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Ge("", !0)
1021
+ }, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Ye("", !0)
1053
1022
  ]),
1054
1023
  _: 2
1055
1024
  }, 1024)
@@ -1060,16 +1029,16 @@ const Gl = /* @__PURE__ */ O({
1060
1029
  ]);
1061
1030
  };
1062
1031
  }
1063
- }), $e = (x, U) => {
1032
+ }), Ee = (x, U) => {
1064
1033
  const v = x.__vccOpts || x;
1065
1034
  for (const [h, g] of U)
1066
1035
  v[h] = g;
1067
1036
  return v;
1068
- }, gl = /* @__PURE__ */ $e(_l, [["__scopeId", "data-v-7adb5f76"]]), hl = /* @__PURE__ */ O({
1037
+ }, gl = /* @__PURE__ */ Ee(_l, [["__scopeId", "data-v-7adb5f76"]]), hl = /* @__PURE__ */ O({
1069
1038
  __name: "RoleFormModal",
1070
1039
  emits: ["refresh"],
1071
1040
  setup(x, { expose: U, emit: v }) {
1072
- const h = v, g = Y(), b = {
1041
+ const h = v, g = G(), b = {
1073
1042
  key: "",
1074
1043
  module: "",
1075
1044
  sort: 0,
@@ -1099,8 +1068,8 @@ const Gl = /* @__PURE__ */ O({
1099
1068
  open: f,
1100
1069
  modify: _
1101
1070
  }), (d, s) => {
1102
- const M = r("el-input"), k = r("el-form-item"), A = r("el-col"), V = r("el-input-number"), L = r("el-row"), y = r("el-form");
1103
- return S(), T(e(ae), {
1071
+ const S = r("el-input"), k = r("el-form-item"), A = r("el-col"), V = r("el-input-number"), L = r("el-row"), y = r("el-form");
1072
+ return M(), T(e(ae), {
1104
1073
  modelValue: e(p),
1105
1074
  "onUpdate:modelValue": s[6] || (s[6] = (C) => E(p) ? p.value = C : null),
1106
1075
  title: e(i)(),
@@ -1128,7 +1097,7 @@ const Gl = /* @__PURE__ */ O({
1128
1097
  prop: "module"
1129
1098
  }, {
1130
1099
  default: o(() => [
1131
- l(M, {
1100
+ l(S, {
1132
1101
  modelValue: e(w).module,
1133
1102
  "onUpdate:modelValue": s[0] || (s[0] = (C) => e(w).module = C),
1134
1103
  placeholder: e(a)("placeholder.input")
@@ -1167,7 +1136,7 @@ const Gl = /* @__PURE__ */ O({
1167
1136
  prop: "name"
1168
1137
  }, {
1169
1138
  default: o(() => [
1170
- l(M, {
1139
+ l(S, {
1171
1140
  modelValue: e(w).name,
1172
1141
  "onUpdate:modelValue": s[2] || (s[2] = (C) => e(w).name = C),
1173
1142
  placeholder: e(a)("placeholder.input")
@@ -1180,7 +1149,7 @@ const Gl = /* @__PURE__ */ O({
1180
1149
  prop: "en_name"
1181
1150
  }, {
1182
1151
  default: o(() => [
1183
- l(M, {
1152
+ l(S, {
1184
1153
  modelValue: e(w).en_name,
1185
1154
  "onUpdate:modelValue": s[3] || (s[3] = (C) => e(w).en_name = C),
1186
1155
  placeholder: e(a)("placeholder.input")
@@ -1193,7 +1162,7 @@ const Gl = /* @__PURE__ */ O({
1193
1162
  prop: "remark"
1194
1163
  }, {
1195
1164
  default: o(() => [
1196
- l(M, {
1165
+ l(S, {
1197
1166
  modelValue: e(w).remark,
1198
1167
  "onUpdate:modelValue": s[4] || (s[4] = (C) => e(w).remark = C),
1199
1168
  placeholder: e(a)("placeholder.input")
@@ -1281,10 +1250,10 @@ const Gl = /* @__PURE__ */ O({
1281
1250
  refresh: n,
1282
1251
  openFormModal: w,
1283
1252
  editFormModal: u
1284
- } = W(U);
1253
+ } = Q(U);
1285
1254
  return (m, f) => {
1286
1255
  const _ = r("el-input"), D = r("el-space"), R = r("el-page-header"), t = r("el-card");
1287
- return S(), T(t, {
1256
+ return M(), T(t, {
1288
1257
  class: "basic-card flex-full",
1289
1258
  "body-class": "flex-1"
1290
1259
  }, {
@@ -1332,12 +1301,12 @@ const Gl = /* @__PURE__ */ O({
1332
1301
  });
1333
1302
  };
1334
1303
  }
1335
- }), Q = G.routineApi("I18N", "uuid", {
1304
+ }), H = W.routineApi("I18N", "uuid", {
1336
1305
  modules: "modules",
1337
1306
  languages: "languages"
1338
- }, { gen: "gen" }, ["I18N_MODULES"]), ue = G.routineApi("I18N_template", "uuid", {
1307
+ }, { gen: "gen" }, ["I18N_MODULES"]), ue = W.routineApi("I18N_template", "uuid", {
1339
1308
  apps: "apps"
1340
- }), Ee = /* @__PURE__ */ O({
1309
+ }), Fe = /* @__PURE__ */ O({
1341
1310
  __name: "ModuleSelect",
1342
1311
  props: {
1343
1312
  modelValue: {
@@ -1368,7 +1337,7 @@ const Gl = /* @__PURE__ */ O({
1368
1337
  }) {
1369
1338
  const v = U, h = x, {
1370
1339
  requesting: g
1371
- } = F(Q), {
1340
+ } = F(H), {
1372
1341
  value: b,
1373
1342
  options: c,
1374
1343
  change: p,
@@ -1376,13 +1345,13 @@ const Gl = /* @__PURE__ */ O({
1376
1345
  filterOptions: n
1377
1346
  } = te(ne(h, "modelValue"), v, {
1378
1347
  key: "I18N_MODULES",
1379
- url: Q.urls.modules,
1380
- api: Q,
1348
+ url: H.urls.modules,
1349
+ api: H,
1381
1350
  isArray: !0
1382
1351
  });
1383
1352
  return (w, u) => {
1384
1353
  const m = r("el-space"), f = r("el-select-v2");
1385
- return S(), T(f, {
1354
+ return M(), T(f, {
1386
1355
  class: "w-full",
1387
1356
  modelValue: e(b),
1388
1357
  "onUpdate:modelValue": u[1] || (u[1] = (_) => E(b) ? b.value = _ : null),
@@ -1446,28 +1415,28 @@ const Gl = /* @__PURE__ */ O({
1446
1415
  trigger: "change"
1447
1416
  }
1448
1417
  ]
1449
- }, c = Y([]), p = Je();
1418
+ }, c = G([]), p = Xe();
1450
1419
  function i() {
1451
1420
  const s = {
1452
1421
  isArray: !0,
1453
1422
  key: "I18N_LANGUAGES",
1454
- url: Q.urls.languages,
1423
+ url: H.urls.languages,
1455
1424
  params: {}
1456
1425
  };
1457
- p.GET_CACHE({ ...s, force: !0 }).then((M) => {
1458
- c.value = M;
1426
+ p.GET_CACHE({ ...s, force: !0 }).then((S) => {
1427
+ c.value = S;
1459
1428
  });
1460
1429
  }
1461
1430
  i();
1462
- const { modal: n, title: w, form: u, formData: m, requesting: f, executing: _, open: D, modify: R, submit: t, closed: d } = Z(h, g, Q);
1431
+ const { modal: n, title: w, form: u, formData: m, requesting: f, executing: _, open: D, modify: R, submit: t, closed: d } = Z(h, g, H);
1463
1432
  return U({
1464
1433
  open: D,
1465
1434
  modify: R
1466
- }), (s, M) => {
1435
+ }), (s, S) => {
1467
1436
  const k = r("el-form-item"), A = r("el-input"), V = r("el-space"), L = r("el-form");
1468
- return S(), T(e(ae), {
1437
+ return M(), T(e(ae), {
1469
1438
  modelValue: e(n),
1470
- "onUpdate:modelValue": M[3] || (M[3] = (y) => E(n) ? n.value = y : null),
1439
+ "onUpdate:modelValue": S[3] || (S[3] = (y) => E(n) ? n.value = y : null),
1471
1440
  title: e(w)(),
1472
1441
  width: "600px",
1473
1442
  executing: e(_),
@@ -1490,9 +1459,9 @@ const Gl = /* @__PURE__ */ O({
1490
1459
  required: ""
1491
1460
  }, {
1492
1461
  default: o(() => [
1493
- l(Ee, {
1462
+ l(Fe, {
1494
1463
  modelValue: e(m).module,
1495
- "onUpdate:modelValue": M[0] || (M[0] = (y) => e(m).module = y),
1464
+ "onUpdate:modelValue": S[0] || (S[0] = (y) => e(m).module = y),
1496
1465
  disabled: e(_),
1497
1466
  "allow-create": ""
1498
1467
  }, null, 8, ["modelValue", "disabled"])
@@ -1507,7 +1476,7 @@ const Gl = /* @__PURE__ */ O({
1507
1476
  default: o(() => [
1508
1477
  l(A, {
1509
1478
  modelValue: e(m).key,
1510
- "onUpdate:modelValue": M[1] || (M[1] = (y) => e(m).key = y),
1479
+ "onUpdate:modelValue": S[1] || (S[1] = (y) => e(m).key = y),
1511
1480
  placeholder: e(a)("i18n.placeholder.key")
1512
1481
  }, null, 8, ["modelValue", "placeholder"])
1513
1482
  ]),
@@ -1525,7 +1494,7 @@ const Gl = /* @__PURE__ */ O({
1525
1494
  style: { width: "100%" }
1526
1495
  }, {
1527
1496
  default: o(() => [
1528
- (S(!0), N(j, null, le(c.value, (y) => (S(), N("div", { key: y }, [
1497
+ (M(!0), N(j, null, le(c.value, (y) => (M(), N("div", { key: y }, [
1529
1498
  l(A, {
1530
1499
  modelValue: e(m).language[y],
1531
1500
  "onUpdate:modelValue": (C) => e(m).language[y] = C,
@@ -1550,7 +1519,7 @@ const Gl = /* @__PURE__ */ O({
1550
1519
  default: o(() => [
1551
1520
  l(A, {
1552
1521
  modelValue: e(m).remark,
1553
- "onUpdate:modelValue": M[2] || (M[2] = (y) => e(m).remark = y),
1522
+ "onUpdate:modelValue": S[2] || (S[2] = (y) => e(m).remark = y),
1554
1523
  placeholder: e(a)("placeholder.remark")
1555
1524
  }, null, 8, ["modelValue", "placeholder"])
1556
1525
  ]),
@@ -1564,7 +1533,7 @@ const Gl = /* @__PURE__ */ O({
1564
1533
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
1565
1534
  };
1566
1535
  }
1567
- }), Fe = /* @__PURE__ */ O({
1536
+ }), ze = /* @__PURE__ */ O({
1568
1537
  __name: "I18N",
1569
1538
  emits: ["closed", "choosed"],
1570
1539
  setup(x, { expose: U, emit: v }) {
@@ -1589,7 +1558,7 @@ const Gl = /* @__PURE__ */ O({
1589
1558
  props: {
1590
1559
  activeValue: 1,
1591
1560
  inactiveValue: 2,
1592
- api: Q.urls[De],
1561
+ api: H.urls[De],
1593
1562
  refresh: !0
1594
1563
  }
1595
1564
  },
@@ -1600,15 +1569,15 @@ const Gl = /* @__PURE__ */ O({
1600
1569
  align: "center"
1601
1570
  // render: renderAction
1602
1571
  }
1603
- ], { requesting: n } = F(Q), { tableRef: w, formModalRef: u, keyword: m, search: f, reset: _, refresh: D, openFormModal: R } = W(p);
1572
+ ], { requesting: n } = F(H), { tableRef: w, formModalRef: u, keyword: m, search: f, reset: _, refresh: D, openFormModal: R } = Q(p);
1604
1573
  function t(d) {
1605
1574
  h("choosed", d);
1606
1575
  }
1607
1576
  return U({
1608
1577
  open: b
1609
1578
  }), (d, s) => {
1610
- const M = r("el-input"), k = r("el-radio-button"), A = r("el-radio-group"), V = r("el-space"), L = r("el-page-header");
1611
- return S(), T(e(_e), {
1579
+ const S = r("el-input"), k = r("el-radio-button"), A = r("el-radio-group"), V = r("el-space"), L = r("el-page-header");
1580
+ return M(), T(e(_e), {
1612
1581
  class: "basic-drawer",
1613
1582
  modelValue: e(g),
1614
1583
  "onUpdate:modelValue": s[7] || (s[7] = (y) => E(g) ? g.value = y : null),
@@ -1631,7 +1600,7 @@ const Gl = /* @__PURE__ */ O({
1631
1600
  content: o(() => [
1632
1601
  l(V, { class: "search-bar" }, {
1633
1602
  default: o(() => [
1634
- l(M, {
1603
+ l(S, {
1635
1604
  style: { width: "160px" },
1636
1605
  modelValue: e(m).keyword,
1637
1606
  "onUpdate:modelValue": s[0] || (s[0] = (y) => e(m).keyword = y),
@@ -1641,7 +1610,7 @@ const Gl = /* @__PURE__ */ O({
1641
1610
  onKeyup: s[1] || (s[1] = Ve((y) => e(f)(), ["enter"])),
1642
1611
  onClear: s[2] || (s[2] = (y) => e(f)())
1643
1612
  }, null, 8, ["modelValue", "disabled", "placeholder"]),
1644
- l(Ee, {
1613
+ l(Fe, {
1645
1614
  modelValue: e(m).module,
1646
1615
  "onUpdate:modelValue": s[3] || (s[3] = (y) => e(m).module = y),
1647
1616
  clearable: !0,
@@ -1655,7 +1624,7 @@ const Gl = /* @__PURE__ */ O({
1655
1624
  disabled: e(n)
1656
1625
  }, {
1657
1626
  default: o(() => [
1658
- (S(), N(j, null, le([0, 1, 2], (y) => l(k, {
1627
+ (M(), N(j, null, le([0, 1, 2], (y) => l(k, {
1659
1628
  key: y,
1660
1629
  label: e(a)(`status.${y}`),
1661
1630
  value: y
@@ -1679,7 +1648,7 @@ const Gl = /* @__PURE__ */ O({
1679
1648
  ref_key: "tableRef",
1680
1649
  ref: w,
1681
1650
  columns: i,
1682
- url: e(Q).urls[e(ye)],
1651
+ url: e(H).urls[e(ye)],
1683
1652
  "search-param": e(m),
1684
1653
  onRowDblclick: t,
1685
1654
  "auto-search": ""
@@ -1698,10 +1667,10 @@ const Gl = /* @__PURE__ */ O({
1698
1667
  __name: "template",
1699
1668
  emits: ["refresh"],
1700
1669
  setup(x, { expose: U, emit: v }) {
1701
- const h = Ye(), g = () => h.value?.open(), b = v, c = Y("600px"), p = Y({
1670
+ const h = He(), g = () => h.value?.open(), b = v, c = G("600px"), p = G({
1702
1671
  "zh-CN": "primary",
1703
1672
  "en-US": "success"
1704
- }), i = Y({}), n = {
1673
+ }), i = G({}), n = {
1705
1674
  uuid: "",
1706
1675
  app: 1,
1707
1676
  keys: "",
@@ -1729,7 +1698,7 @@ const Gl = /* @__PURE__ */ O({
1729
1698
  trigger: "change"
1730
1699
  }
1731
1700
  ]
1732
- }, { modal: u, title: m, form: f, formData: _, requesting: D, executing: R, open: t, modify: d, submit: s, closed: M } = Z(b, n, ue);
1701
+ }, { modal: u, title: m, form: f, formData: _, requesting: D, executing: R, open: t, modify: d, submit: s, closed: S } = Z(b, n, ue);
1733
1702
  function k() {
1734
1703
  c.value = "1080px", g();
1735
1704
  }
@@ -1752,13 +1721,13 @@ const Gl = /* @__PURE__ */ O({
1752
1721
  };
1753
1722
  }
1754
1723
  return Le(() => u.value, (C) => {
1755
- C ? L() : M();
1724
+ C ? L() : S();
1756
1725
  }), U({
1757
1726
  open: t,
1758
1727
  modify: d
1759
1728
  }), (C, q) => {
1760
- const oe = r("el-page-header"), se = r("el-form-item"), Re = r("el-button"), I = r("el-input"), Ne = r("el-tag"), Be = r("el-space"), Pe = r("el-form");
1761
- return S(), T(e(_e), {
1729
+ const oe = r("el-page-header"), se = r("el-form-item"), Re = r("el-button"), I = r("el-input"), Be = r("el-tag"), Pe = r("el-space"), Ke = r("el-form");
1730
+ return M(), T(e(_e), {
1762
1731
  modelValue: e(u),
1763
1732
  "onUpdate:modelValue": q[3] || (q[3] = (J) => E(u) ? u.value = J : null),
1764
1733
  width: c.value,
@@ -1792,7 +1761,7 @@ const Gl = /* @__PURE__ */ O({
1792
1761
  })
1793
1762
  ]),
1794
1763
  default: o(() => [
1795
- l(Pe, {
1764
+ l(Ke, {
1796
1765
  ref_key: "form",
1797
1766
  ref: f,
1798
1767
  model: e(_),
@@ -1807,7 +1776,7 @@ const Gl = /* @__PURE__ */ O({
1807
1776
  required: ""
1808
1777
  }, {
1809
1778
  default: o(() => [
1810
- l(e(Te), {
1779
+ l(e(qe), {
1811
1780
  modelValue: e(_).app,
1812
1781
  "onUpdate:modelValue": q[0] || (q[0] = (J) => e(_).app = J),
1813
1782
  "cache-key": "I18NAPPS",
@@ -1853,13 +1822,13 @@ const Gl = /* @__PURE__ */ O({
1853
1822
  label: e(a)("i18n.values")
1854
1823
  }, {
1855
1824
  default: o(() => [
1856
- (S(!0), N(j, null, le(i.value, (J, ke) => (S(), N("div", {
1825
+ (M(!0), N(j, null, le(i.value, (J, ke) => (M(), N("div", {
1857
1826
  key: ke,
1858
1827
  class: "w-full"
1859
1828
  }, [
1860
- l(Be, null, {
1829
+ l(Pe, null, {
1861
1830
  default: o(() => [
1862
- l(Ne, {
1831
+ l(Be, {
1863
1832
  type: p.value[ke],
1864
1833
  style: { "min-width": "80px" }
1865
1834
  }, {
@@ -1868,7 +1837,7 @@ const Gl = /* @__PURE__ */ O({
1868
1837
  ]),
1869
1838
  _: 2
1870
1839
  }, 1032, ["type"]),
1871
- ke == "zh-CN" ? (S(), N("span", yl, z(J.join("")), 1)) : (S(), N("span", kl, z(J.join(" ")), 1))
1840
+ ke == "zh-CN" ? (M(), N("span", yl, z(J.join("")), 1)) : (M(), N("span", kl, z(J.join(" ")), 1))
1872
1841
  ]),
1873
1842
  _: 2
1874
1843
  }, 1024)
@@ -1892,7 +1861,7 @@ const Gl = /* @__PURE__ */ O({
1892
1861
  ]),
1893
1862
  _: 1
1894
1863
  }, 8, ["model", "disabled"]),
1895
- l(Fe, {
1864
+ l(ze, {
1896
1865
  ref_key: "I18nTableDrawerRef",
1897
1866
  ref: h,
1898
1867
  onChoosed: V,
@@ -1903,7 +1872,7 @@ const Gl = /* @__PURE__ */ O({
1903
1872
  }, 8, ["modelValue", "width"]);
1904
1873
  };
1905
1874
  }
1906
- }), wl = G.routineApi("gateway", "id", {
1875
+ }), wl = W.routineApi("gateway", "id", {
1907
1876
  gen: "gen_translation"
1908
1877
  });
1909
1878
  function xl(x) {
@@ -1912,7 +1881,7 @@ function xl(x) {
1912
1881
  const Hl = /* @__PURE__ */ O({
1913
1882
  __name: "index",
1914
1883
  setup(x) {
1915
- const U = Fe, v = vl, h = {
1884
+ const U = ze, v = vl, h = {
1916
1885
  keyword: "",
1917
1886
  app: 0,
1918
1887
  status: 0
@@ -1998,7 +1967,7 @@ const Hl = /* @__PURE__ */ O({
1998
1967
  openFormModal: R,
1999
1968
  editFormModal: t,
2000
1969
  openDialog: d
2001
- } = W(h);
1970
+ } = Q(h);
2002
1971
  function s(A) {
2003
1972
  return ue.remove({
2004
1973
  uuid: A
@@ -2006,8 +1975,8 @@ const Hl = /* @__PURE__ */ O({
2006
1975
  D();
2007
1976
  });
2008
1977
  }
2009
- function M() {
2010
- return Q.gen().finally(() => {
1978
+ function S() {
1979
+ return H.gen().finally(() => {
2011
1980
  D();
2012
1981
  });
2013
1982
  }
@@ -2018,7 +1987,7 @@ const Hl = /* @__PURE__ */ O({
2018
1987
  }
2019
1988
  return (A, V) => {
2020
1989
  const L = r("el-input"), y = r("el-radio-button"), C = r("el-radio-group"), q = r("el-space"), oe = r("el-divider"), se = r("el-page-header"), Re = r("el-card");
2021
- return S(), T(Re, {
1990
+ return M(), T(Re, {
2022
1991
  class: "basic-card flex-full",
2023
1992
  "body-class": "flex-1"
2024
1993
  }, {
@@ -2043,7 +2012,7 @@ const Hl = /* @__PURE__ */ O({
2043
2012
  clearable: "",
2044
2013
  onKeyup: V[1] || (V[1] = Ve((I) => e(f)(), ["enter"])),
2045
2014
  onClear: V[2] || (V[2] = (I) => e(f)())
2046
- }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Te), {
2015
+ }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(qe), {
2047
2016
  modelValue: e(m).app,
2048
2017
  "onUpdate:modelValue": V[3] || (V[3] = (I) => e(m).app = I),
2049
2018
  "cache-key": "I18NAPPS",
@@ -2056,7 +2025,7 @@ const Hl = /* @__PURE__ */ O({
2056
2025
  disabled: e(p) || e(i),
2057
2026
  onChange: V[6] || (V[6] = (I) => e(f)())
2058
2027
  }, {
2059
- default: o(() => [(S(), N(j, null, le([0, 1, 2], (I) => l(y, {
2028
+ default: o(() => [(M(), N(j, null, le([0, 1, 2], (I) => l(y, {
2060
2029
  key: I,
2061
2030
  label: e(a)(`status.${I}`),
2062
2031
  value: I
@@ -2074,7 +2043,7 @@ const Hl = /* @__PURE__ */ O({
2074
2043
  icon: "icon-cloud-upload",
2075
2044
  plain: !1,
2076
2045
  loading: e(i),
2077
- onClick: M
2046
+ onClick: S
2078
2047
  }, null, 8, ["loading"]), l(e(X), {
2079
2048
  size: "default",
2080
2049
  type: "danger",
@@ -2109,7 +2078,7 @@ const Hl = /* @__PURE__ */ O({
2109
2078
  });
2110
2079
  };
2111
2080
  }
2112
- }), Ue = G.routineApi("admin", "key"), Rl = /* @__PURE__ */ O({
2081
+ }), Ue = W.routineApi("admin", "key"), Rl = /* @__PURE__ */ O({
2113
2082
  __name: "AdminFormModal",
2114
2083
  emits: ["refresh"],
2115
2084
  setup(x, { expose: U, emit: v }) {
@@ -2133,7 +2102,7 @@ const Hl = /* @__PURE__ */ O({
2133
2102
  phone: [
2134
2103
  {
2135
2104
  required: !0,
2136
- validator: Xe.phoneRule,
2105
+ validator: Ze.phoneRule,
2137
2106
  message: a("placeholder.input base.phone"),
2138
2107
  trigger: "blur"
2139
2108
  }
@@ -2167,18 +2136,18 @@ const Hl = /* @__PURE__ */ O({
2167
2136
  trigger: "change"
2168
2137
  }
2169
2138
  ]
2170
- }, R = Y([]), t = async () => {
2139
+ }, R = G([]), t = async () => {
2171
2140
  const d = await we.list();
2172
2141
  R.value = Array.isArray(d?.data) ? d.data : [];
2173
2142
  };
2174
- return He(async () => {
2143
+ return Qe(async () => {
2175
2144
  await t();
2176
2145
  }), U({
2177
2146
  open: u,
2178
2147
  modify: m
2179
2148
  }), (d, s) => {
2180
- const M = r("el-input"), k = r("el-form-item"), A = r("el-radio-button"), V = r("el-radio-group"), L = r("el-checkbox"), y = r("el-checkbox-group"), C = r("el-form");
2181
- return S(), T(e(ae), {
2149
+ const S = r("el-input"), k = r("el-form-item"), A = r("el-radio-button"), V = r("el-radio-group"), L = r("el-checkbox"), y = r("el-checkbox-group"), C = r("el-form");
2150
+ return M(), T(e(ae), {
2182
2151
  modelValue: e(b),
2183
2152
  "onUpdate:modelValue": s[7] || (s[7] = (q) => E(b) ? b.value = q : null),
2184
2153
  title: e(c)(),
@@ -2202,7 +2171,7 @@ const Hl = /* @__PURE__ */ O({
2202
2171
  prop: "username"
2203
2172
  }, {
2204
2173
  default: o(() => [
2205
- l(M, {
2174
+ l(S, {
2206
2175
  modelValue: e(i).username,
2207
2176
  "onUpdate:modelValue": s[0] || (s[0] = (q) => e(i).username = q),
2208
2177
  placeholder: e(a)("placeholder.input"),
@@ -2216,7 +2185,7 @@ const Hl = /* @__PURE__ */ O({
2216
2185
  prop: "phone"
2217
2186
  }, {
2218
2187
  default: o(() => [
2219
- l(M, {
2188
+ l(S, {
2220
2189
  modelValue: e(i).phone,
2221
2190
  "onUpdate:modelValue": s[1] || (s[1] = (q) => e(i).phone = q),
2222
2191
  placeholder: e(a)("placeholder.input"),
@@ -2231,7 +2200,7 @@ const Hl = /* @__PURE__ */ O({
2231
2200
  required: !e(i).key
2232
2201
  }, {
2233
2202
  default: o(() => [
2234
- l(M, {
2203
+ l(S, {
2235
2204
  modelValue: e(i).password,
2236
2205
  "onUpdate:modelValue": s[2] || (s[2] = (q) => e(i).password = q),
2237
2206
  placeholder: e(a)("placeholder.input"),
@@ -2245,7 +2214,7 @@ const Hl = /* @__PURE__ */ O({
2245
2214
  prop: "email"
2246
2215
  }, {
2247
2216
  default: o(() => [
2248
- l(M, {
2217
+ l(S, {
2249
2218
  modelValue: e(i).email,
2250
2219
  "onUpdate:modelValue": s[3] || (s[3] = (q) => e(i).email = q),
2251
2220
  placeholder: e(a)("placeholder.input"),
@@ -2292,7 +2261,7 @@ const Hl = /* @__PURE__ */ O({
2292
2261
  "onUpdate:modelValue": s[5] || (s[5] = (q) => e(i).roles = q)
2293
2262
  }, {
2294
2263
  default: o(() => [
2295
- (S(!0), N(j, null, le(R.value, (q) => (S(), T(L, {
2264
+ (M(!0), N(j, null, le(R.value, (q) => (M(), T(L, {
2296
2265
  key: q.key,
2297
2266
  value: q.key
2298
2267
  }, {
@@ -2312,7 +2281,7 @@ const Hl = /* @__PURE__ */ O({
2312
2281
  prop: "remark"
2313
2282
  }, {
2314
2283
  default: o(() => [
2315
- l(M, {
2284
+ l(S, {
2316
2285
  modelValue: e(i).remark,
2317
2286
  "onUpdate:modelValue": s[6] || (s[6] = (q) => e(i).remark = q),
2318
2287
  placeholder: e(a)("placeholder.input")
@@ -2339,7 +2308,7 @@ const Hl = /* @__PURE__ */ O({
2339
2308
  width: 60,
2340
2309
  render: ({
2341
2310
  row: m
2342
- }) => l(Ze, {
2311
+ }) => l(el, {
2343
2312
  src: m.avatar
2344
2313
  }, null)
2345
2314
  }, {
@@ -2397,10 +2366,10 @@ const Hl = /* @__PURE__ */ O({
2397
2366
  refresh: n,
2398
2367
  openFormModal: w,
2399
2368
  editFormModal: u
2400
- } = W(U);
2369
+ } = Q(U);
2401
2370
  return (m, f) => {
2402
2371
  const _ = r("el-input"), D = r("el-space"), R = r("el-page-header"), t = r("el-card");
2403
- return S(), T(t, {
2372
+ return M(), T(t, {
2404
2373
  class: "basic-card flex-full",
2405
2374
  "body-class": "flex-1"
2406
2375
  }, {
@@ -2451,7 +2420,7 @@ const Hl = /* @__PURE__ */ O({
2451
2420
  }
2452
2421
  }), Ul = {
2453
2422
  check: "check"
2454
- }, pe = G.routineApi("site", "id", Ul), ge = G.routineApi("domain"), ze = /* @__PURE__ */ O({
2423
+ }, pe = W.routineApi("site", "id", Ul), ge = W.routineApi("domain"), Ie = /* @__PURE__ */ O({
2455
2424
  __name: "DomainSelect",
2456
2425
  props: {
2457
2426
  modelValue: {
@@ -2484,7 +2453,7 @@ const Hl = /* @__PURE__ */ O({
2484
2453
  refresh: i
2485
2454
  }), (w, u) => {
2486
2455
  const m = r("el-select-v2");
2487
- return S(), T(m, {
2456
+ return M(), T(m, {
2488
2457
  modelValue: e(c),
2489
2458
  "onUpdate:modelValue": u[0] || (u[0] = (f) => E(c) ? c.value = f : null),
2490
2459
  options: e(p),
@@ -2524,8 +2493,8 @@ const Hl = /* @__PURE__ */ O({
2524
2493
  open: m,
2525
2494
  modify: f
2526
2495
  }), (R, t) => {
2527
- const d = r("el-form-item"), s = r("el-input"), M = r("el-form");
2528
- return S(), T(e(ae), {
2496
+ const d = r("el-form-item"), s = r("el-input"), S = r("el-form");
2497
+ return M(), T(e(ae), {
2529
2498
  modelValue: e(c),
2530
2499
  "onUpdate:modelValue": t[7] || (t[7] = (k) => E(c) ? c.value = k : null),
2531
2500
  title: e(p)("config.site"),
@@ -2535,7 +2504,7 @@ const Hl = /* @__PURE__ */ O({
2535
2504
  onSubmit: e(_)
2536
2505
  }, {
2537
2506
  default: o(() => [
2538
- l(M, {
2507
+ l(S, {
2539
2508
  ref_key: "form",
2540
2509
  ref: i,
2541
2510
  model: e(n),
@@ -2549,7 +2518,7 @@ const Hl = /* @__PURE__ */ O({
2549
2518
  label: e(a)("config.domain")
2550
2519
  }, {
2551
2520
  default: o(() => [
2552
- l(ze, {
2521
+ l(Ie, {
2553
2522
  modelValue: e(n).domain_id,
2554
2523
  "onUpdate:modelValue": t[0] || (t[0] = (k) => e(n).domain_id = k),
2555
2524
  disabled: e(u)
@@ -2649,7 +2618,7 @@ const Hl = /* @__PURE__ */ O({
2649
2618
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2650
2619
  };
2651
2620
  }
2652
- }), he = G.routineApi("domain_provider"), Dl = /* @__PURE__ */ O({
2621
+ }), he = W.routineApi("domain_provider"), Dl = /* @__PURE__ */ O({
2653
2622
  __name: "DomainProviderSelect",
2654
2623
  props: {
2655
2624
  modelValue: {
@@ -2682,7 +2651,7 @@ const Hl = /* @__PURE__ */ O({
2682
2651
  refresh: i
2683
2652
  }), (w, u) => {
2684
2653
  const m = r("el-select-v2");
2685
- return S(), T(m, {
2654
+ return M(), T(m, {
2686
2655
  modelValue: e(c),
2687
2656
  "onUpdate:modelValue": u[0] || (u[0] = (f) => E(c) ? c.value = f : null),
2688
2657
  options: e(p),
@@ -2698,7 +2667,7 @@ const Hl = /* @__PURE__ */ O({
2698
2667
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2699
2668
  };
2700
2669
  }
2701
- }), Ml = /* @__PURE__ */ O({
2670
+ }), Sl = /* @__PURE__ */ O({
2702
2671
  __name: "DomainFormModal",
2703
2672
  emits: ["refresh"],
2704
2673
  setup(x, { expose: U, emit: v }) {
@@ -2717,8 +2686,8 @@ const Hl = /* @__PURE__ */ O({
2717
2686
  open: m,
2718
2687
  modify: f
2719
2688
  }), (R, t) => {
2720
- const d = r("el-form-item"), s = r("el-input"), M = r("el-date-picker"), k = r("el-form");
2721
- return S(), T(e(ae), {
2689
+ const d = r("el-form-item"), s = r("el-input"), S = r("el-date-picker"), k = r("el-form");
2690
+ return M(), T(e(ae), {
2722
2691
  modelValue: e(c),
2723
2692
  "onUpdate:modelValue": t[4] || (t[4] = (A) => E(c) ? c.value = A : null),
2724
2693
  title: e(p)("config.domain"),
@@ -2770,7 +2739,7 @@ const Hl = /* @__PURE__ */ O({
2770
2739
  label: e(a)("time.expired_at")
2771
2740
  }, {
2772
2741
  default: o(() => [
2773
- l(M, {
2742
+ l(S, {
2774
2743
  type: "date",
2775
2744
  style: { width: "100%" },
2776
2745
  modelValue: e(n).expired_at,
@@ -2805,9 +2774,9 @@ const Hl = /* @__PURE__ */ O({
2805
2774
  }, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
2806
2775
  };
2807
2776
  }
2808
- }), Sl = {
2777
+ }), Ml = {
2809
2778
  gen: "gen"
2810
- }, me = G.routineApi("SSL", "id", Sl), Cl = /* @__PURE__ */ O({
2779
+ }, me = W.routineApi("SSL", "id", Ml), Cl = /* @__PURE__ */ O({
2811
2780
  __name: "SiteSelect",
2812
2781
  props: {
2813
2782
  modelValue: {
@@ -2846,7 +2815,7 @@ const Hl = /* @__PURE__ */ O({
2846
2815
  refresh: i
2847
2816
  }), (w, u) => {
2848
2817
  const m = r("el-select-v2");
2849
- return S(), T(m, {
2818
+ return M(), T(m, {
2850
2819
  modelValue: e(c),
2851
2820
  "onUpdate:modelValue": u[0] || (u[0] = (f) => E(c) ? c.value = f : null),
2852
2821
  options: e(p),
@@ -2862,7 +2831,7 @@ const Hl = /* @__PURE__ */ O({
2862
2831
  }, 8, ["modelValue", "options", "disabled", "placeholder", "onChange"]);
2863
2832
  };
2864
2833
  }
2865
- }), Ie = /* @__PURE__ */ O({
2834
+ }), Ne = /* @__PURE__ */ O({
2866
2835
  __name: "SSLFormModal",
2867
2836
  emits: ["refresh"],
2868
2837
  setup(x, { expose: U, emit: v }) {
@@ -2889,8 +2858,8 @@ const Hl = /* @__PURE__ */ O({
2889
2858
  modify: f,
2890
2859
  formData: n
2891
2860
  }), (R, t) => {
2892
- const d = r("el-form-item"), s = r("el-radio-button"), M = r("el-radio-group"), k = r("el-input"), A = r("el-form");
2893
- return S(), T(e(ae), {
2861
+ const d = r("el-form-item"), s = r("el-radio-button"), S = r("el-radio-group"), k = r("el-input"), A = r("el-form");
2862
+ return M(), T(e(ae), {
2894
2863
  modelValue: e(c),
2895
2864
  "onUpdate:modelValue": t[8] || (t[8] = (V) => E(c) ? c.value = V : null),
2896
2865
  title: e(p)("ssl.ssl"),
@@ -2914,7 +2883,7 @@ const Hl = /* @__PURE__ */ O({
2914
2883
  label: e(a)("config.domain")
2915
2884
  }, {
2916
2885
  default: o(() => [
2917
- l(ze, {
2886
+ l(Ie, {
2918
2887
  modelValue: e(n).domain_id,
2919
2888
  "onUpdate:modelValue": t[0] || (t[0] = (V) => e(n).domain_id = V),
2920
2889
  disabled: e(u)
@@ -2927,7 +2896,7 @@ const Hl = /* @__PURE__ */ O({
2927
2896
  label: e(a)("ssl.client")
2928
2897
  }, {
2929
2898
  default: o(() => [
2930
- l(M, {
2899
+ l(S, {
2931
2900
  modelValue: e(n).client,
2932
2901
  "onUpdate:modelValue": t[1] || (t[1] = (V) => e(n).client = V)
2933
2902
  }, {
@@ -3002,7 +2971,7 @@ const Hl = /* @__PURE__ */ O({
3002
2971
  label: e(a)("config.encryption")
3003
2972
  }, {
3004
2973
  default: o(() => [
3005
- l(M, {
2974
+ l(S, {
3006
2975
  modelValue: e(n).encryption,
3007
2976
  "onUpdate:modelValue": t[6] || (t[6] = (V) => e(n).encryption = V)
3008
2977
  }, {
@@ -3063,8 +3032,8 @@ const Hl = /* @__PURE__ */ O({
3063
3032
  open: m,
3064
3033
  modify: f
3065
3034
  }), (R, t) => {
3066
- const d = r("el-input"), s = r("el-form-item"), M = r("el-form");
3067
- return S(), T(e(ae), {
3035
+ const d = r("el-input"), s = r("el-form-item"), S = r("el-form");
3036
+ return M(), T(e(ae), {
3068
3037
  modelValue: e(c),
3069
3038
  "onUpdate:modelValue": t[6] || (t[6] = (k) => E(c) ? c.value = k : null),
3070
3039
  title: e(p)("config.domain"),
@@ -3074,7 +3043,7 @@ const Hl = /* @__PURE__ */ O({
3074
3043
  onSubmit: e(_)
3075
3044
  }, {
3076
3045
  default: o(() => [
3077
- l(M, {
3046
+ l(S, {
3078
3047
  ref_key: "form",
3079
3048
  ref: i,
3080
3049
  model: e(n),
@@ -3182,13 +3151,13 @@ const Hl = /* @__PURE__ */ O({
3182
3151
  }) {
3183
3152
  const {
3184
3153
  requesting: v
3185
- } = F(he), h = Y(!1), {
3154
+ } = F(he), h = G(!1), {
3186
3155
  tableRef: g,
3187
3156
  formModalRef: b,
3188
3157
  refresh: c,
3189
3158
  openFormModal: p,
3190
3159
  editFormModal: i
3191
- } = W({}), n = [{
3160
+ } = Q({}), n = [{
3192
3161
  prop: "name",
3193
3162
  label: a("base.name"),
3194
3163
  width: 0,
@@ -3220,7 +3189,7 @@ const Hl = /* @__PURE__ */ O({
3220
3189
  }
3221
3190
  }), (u, m) => {
3222
3191
  const f = r("el-page-header");
3223
- return S(), T(e(_e), {
3192
+ return M(), T(e(_e), {
3224
3193
  modelValue: h.value,
3225
3194
  "onUpdate:modelValue": m[0] || (m[0] = (_) => h.value = _),
3226
3195
  width: "400px",
@@ -3274,11 +3243,11 @@ const Hl = /* @__PURE__ */ O({
3274
3243
  refresh: p,
3275
3244
  openFormModal: i,
3276
3245
  editFormModal: n
3277
- } = W(), {
3246
+ } = Q(), {
3278
3247
  formRef: w,
3279
3248
  open: u,
3280
3249
  edit: m
3281
- } = el(), {
3250
+ } = Te(), {
3282
3251
  dialogRef: f,
3283
3252
  open: _
3284
3253
  } = ve(), D = [{
@@ -3330,9 +3299,9 @@ const Hl = /* @__PURE__ */ O({
3330
3299
  open: g
3331
3300
  }), (R, t) => {
3332
3301
  const d = r("el-space"), s = r("el-page-header");
3333
- return S(), T(e(_e), {
3302
+ return M(), T(e(_e), {
3334
3303
  modelValue: e(h),
3335
- "onUpdate:modelValue": t[0] || (t[0] = (M) => E(h) ? h.value = M : null),
3304
+ "onUpdate:modelValue": t[0] || (t[0] = (S) => E(h) ? h.value = S : null),
3336
3305
  width: "600px",
3337
3306
  "show-close": !1,
3338
3307
  class: "basic-drawer"
@@ -3368,11 +3337,11 @@ const Hl = /* @__PURE__ */ O({
3368
3337
  url: e(ge).urls.list,
3369
3338
  columns: D,
3370
3339
  loading: e(v)
3371
- }, null, 8, ["url", "loading"]), l(Ml, {
3340
+ }, null, 8, ["url", "loading"]), l(Sl, {
3372
3341
  ref_key: "formModalRef",
3373
3342
  ref: c,
3374
3343
  onRefresh: e(p)
3375
- }, null, 8, ["onRefresh"]), l(Ie, {
3344
+ }, null, 8, ["onRefresh"]), l(Ne, {
3376
3345
  ref_key: "sslFormModalRef",
3377
3346
  ref: w,
3378
3347
  onRefresh: e(p)
@@ -3392,7 +3361,7 @@ const Hl = /* @__PURE__ */ O({
3392
3361
  const {
3393
3362
  requesting: v,
3394
3363
  executing: h
3395
- } = F(me), g = Y(0), {
3364
+ } = F(me), g = G(0), {
3396
3365
  visible: b,
3397
3366
  open: c
3398
3367
  } = xe(), {
@@ -3401,7 +3370,7 @@ const Hl = /* @__PURE__ */ O({
3401
3370
  refresh: n,
3402
3371
  openFormModal: w,
3403
3372
  editFormModal: u
3404
- } = W(), m = [
3373
+ } = Q(), m = [
3405
3374
  {
3406
3375
  prop: "client",
3407
3376
  label: a("ssl.client"),
@@ -3477,7 +3446,7 @@ const Hl = /* @__PURE__ */ O({
3477
3446
  });
3478
3447
  };
3479
3448
  function _(D) {
3480
- const R = qe.getDownloadUrl(D.path + ".zip");
3449
+ const R = Oe.getDownloadUrl(D.path + ".zip");
3481
3450
  fetch(R).then((t) => t.blob()).then((t) => {
3482
3451
  let d = URL.createObjectURL(t), s = document.createElement("a");
3483
3452
  s.style.display = "none", s.href = d, s.download = D.name + ".zip", s.click(), URL.revokeObjectURL(t);
@@ -3487,7 +3456,7 @@ const Hl = /* @__PURE__ */ O({
3487
3456
  open: c
3488
3457
  }), (D, R) => {
3489
3458
  const t = r("el-page-header");
3490
- return S(), T(e(_e), {
3459
+ return M(), T(e(_e), {
3491
3460
  modelValue: e(b),
3492
3461
  "onUpdate:modelValue": R[0] || (R[0] = (d) => E(b) ? b.value = d : null),
3493
3462
  width: "1000px",
@@ -3515,7 +3484,7 @@ const Hl = /* @__PURE__ */ O({
3515
3484
  url: e(me).urls.list,
3516
3485
  columns: m,
3517
3486
  loading: e(v)
3518
- }, null, 8, ["url", "loading"]), l(Ie, {
3487
+ }, null, 8, ["url", "loading"]), l(Ne, {
3519
3488
  ref_key: "formModalRef",
3520
3489
  ref: i,
3521
3490
  onRefresh: e(n)
@@ -3524,13 +3493,13 @@ const Hl = /* @__PURE__ */ O({
3524
3493
  }, 8, ["modelValue"]);
3525
3494
  };
3526
3495
  }
3527
- }), Se = G.routineApi("SSLLog", "id"), $l = /* @__PURE__ */ O({
3496
+ }), Me = W.routineApi("SSLLog", "id"), $l = /* @__PURE__ */ O({
3528
3497
  __name: "SSLLogTableDrawer",
3529
3498
  props: {
3530
3499
  ssl: { type: Object, default: () => ({}) }
3531
3500
  },
3532
3501
  setup(x, { expose: U }) {
3533
- const v = x, { requesting: h, executing: g } = F([Se, me]), { visible: b, open: c } = xe(), { tableRef: p, refresh: i } = ll(), n = [
3502
+ const v = x, { requesting: h, executing: g } = F([Me, me]), { visible: b, open: c } = xe(), { tableRef: p, refresh: i } = ll(), n = [
3534
3503
  { prop: "status.label", label: a("base.status"), width: 100 },
3535
3504
  { prop: "at", label: a("base.time"), width: 180 },
3536
3505
  { prop: "type_text", label: a("base.type"), width: 80 },
@@ -3542,7 +3511,7 @@ const Hl = /* @__PURE__ */ O({
3542
3511
  });
3543
3512
  }
3544
3513
  function u() {
3545
- const m = qe.getDownloadUrl(v.ssl.path + ".zip");
3514
+ const m = Oe.getDownloadUrl(v.ssl.path + ".zip");
3546
3515
  fetch(m).then((f) => f.blob()).then((f) => {
3547
3516
  let _ = URL.createObjectURL(f), D = document.createElement("a");
3548
3517
  D.style.display = "none", D.href = _, D.download = v.ssl.name + ".zip", D.click(), URL.revokeObjectURL(f);
@@ -3552,7 +3521,7 @@ const Hl = /* @__PURE__ */ O({
3552
3521
  open: c
3553
3522
  }), (m, f) => {
3554
3523
  const _ = r("el-page-header");
3555
- return S(), T(e(_e), {
3524
+ return M(), T(e(_e), {
3556
3525
  modelValue: e(b),
3557
3526
  "onUpdate:modelValue": f[0] || (f[0] = (D) => E(b) ? b.value = D : null),
3558
3527
  width: "600px",
@@ -3598,7 +3567,7 @@ const Hl = /* @__PURE__ */ O({
3598
3567
  ref: p,
3599
3568
  size: "small",
3600
3569
  "row-key": "id",
3601
- url: e(Se).urls.search,
3570
+ url: e(Me).urls.search,
3602
3571
  columns: n,
3603
3572
  loading: e(h)
3604
3573
  }, null, 8, ["url", "loading"])
@@ -3610,7 +3579,7 @@ const Hl = /* @__PURE__ */ O({
3610
3579
  }), El = /* @__PURE__ */ O({
3611
3580
  __name: "index",
3612
3581
  setup(x) {
3613
- const U = ql, v = Ol, h = $l, g = Y(), {
3582
+ const U = ql, v = Ol, h = $l, g = G(), {
3614
3583
  requesting: b,
3615
3584
  executing: c
3616
3585
  } = F(pe), {
@@ -3620,7 +3589,7 @@ const Hl = /* @__PURE__ */ O({
3620
3589
  refresh: w,
3621
3590
  openFormModal: u,
3622
3591
  editFormModal: m
3623
- } = W(), {
3592
+ } = Q(), {
3624
3593
  dialogRef: f,
3625
3594
  open: _
3626
3595
  } = ve(), {
@@ -3696,22 +3665,22 @@ const Hl = /* @__PURE__ */ O({
3696
3665
  size: "small",
3697
3666
  link: !0,
3698
3667
  disabled: c.value,
3699
- loading: M.value == A.id && c.value,
3668
+ loading: S.value == A.id && c.value,
3700
3669
  onClick: () => k(A)
3701
3670
  }, null)]
3702
3671
  })
3703
- }], M = Y(0), k = (A) => {
3704
- M.value = A.id, pe.check({
3672
+ }], S = G(0), k = (A) => {
3673
+ S.value = A.id, pe.check({
3705
3674
  id: A.id
3706
3675
  }).then((V) => {
3707
3676
  V.data && (al(V), w());
3708
3677
  }).finally(() => {
3709
- M.value = 0;
3678
+ S.value = 0;
3710
3679
  });
3711
3680
  };
3712
3681
  return (A, V) => {
3713
3682
  const L = r("el-space"), y = r("el-page-header"), C = r("el-card");
3714
- return S(), T(C, {
3683
+ return M(), T(C, {
3715
3684
  "body-style": {
3716
3685
  padding: "12px",
3717
3686
  height: "450px"
@@ -3772,14 +3741,14 @@ const Hl = /* @__PURE__ */ O({
3772
3741
  });
3773
3742
  };
3774
3743
  }
3775
- }), Fl = /* @__PURE__ */ $e(El, [["__scopeId", "data-v-34e18506"]]), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3744
+ }), Fl = /* @__PURE__ */ Ee(El, [["__scopeId", "data-v-34e18506"]]), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3776
3745
  __proto__: null,
3777
3746
  default: Fl
3778
3747
  }, Symbol.toStringTag, { value: "Module" })), Il = {
3779
3748
  request: "request",
3780
3749
  error: "error",
3781
3750
  sql: "SQL"
3782
- }, ce = G.routineApi("log", "id", Il), Jl = /* @__PURE__ */ O({
3751
+ }, ce = W.routineApi("log", "id", Il), Jl = /* @__PURE__ */ O({
3783
3752
  __name: "index",
3784
3753
  setup(x) {
3785
3754
  const U = {
@@ -3807,10 +3776,10 @@ const Hl = /* @__PURE__ */ O({
3807
3776
  keyword: b,
3808
3777
  search: c,
3809
3778
  reset: p
3810
- } = W(U);
3779
+ } = Q(U);
3811
3780
  return (i, n) => {
3812
3781
  const w = r("el-date-picker"), u = r("el-space"), m = r("el-page-header"), f = r("el-card");
3813
- return S(), T(f, {
3782
+ return M(), T(f, {
3814
3783
  class: "basic-card flex-full",
3815
3784
  "body-class": "flex-1"
3816
3785
  }, {
@@ -3885,10 +3854,10 @@ const Hl = /* @__PURE__ */ O({
3885
3854
  keyword: b,
3886
3855
  search: c,
3887
3856
  reset: p
3888
- } = W(U);
3857
+ } = Q(U);
3889
3858
  return (i, n) => {
3890
3859
  const w = r("el-date-picker"), u = r("el-space"), m = r("el-page-header"), f = r("el-card");
3891
- return S(), T(f, {
3860
+ return M(), T(f, {
3892
3861
  class: "basic-card flex-full",
3893
3862
  "body-class": "flex-1"
3894
3863
  }, {
@@ -3963,10 +3932,10 @@ const Hl = /* @__PURE__ */ O({
3963
3932
  keyword: b,
3964
3933
  search: c,
3965
3934
  reset: p
3966
- } = W(U);
3935
+ } = Q(U);
3967
3936
  return (i, n) => {
3968
3937
  const w = r("el-date-picker"), u = r("el-space"), m = r("el-page-header"), f = r("el-card");
3969
- return S(), T(f, {
3938
+ return M(), T(f, {
3970
3939
  class: "basic-card flex-full",
3971
3940
  "body-class": "flex-1"
3972
3941
  }, {
@@ -4040,14 +4009,14 @@ const Hl = /* @__PURE__ */ O({
4040
4009
  }) {
4041
4010
  const v = U, h = x, {
4042
4011
  requesting: g
4043
- } = F(Q), {
4012
+ } = F(H), {
4044
4013
  value: b,
4045
4014
  options: c,
4046
4015
  change: p
4047
4016
  } = te(ne(h, "modelValue"), v, {
4048
4017
  key: "LANGUAGE_SELECT",
4049
- url: Q.urls.languages,
4050
- api: Q,
4018
+ url: H.urls.languages,
4019
+ api: H,
4051
4020
  isArray: !0
4052
4021
  }, {
4053
4022
  formatOptions: (i) => i.map((n) => ({
@@ -4057,13 +4026,13 @@ const Hl = /* @__PURE__ */ O({
4057
4026
  });
4058
4027
  return (i, n) => {
4059
4028
  const w = r("el-radio-button"), u = r("el-radio-group");
4060
- return S(), T(u, {
4029
+ return M(), T(u, {
4061
4030
  modelValue: e(b),
4062
4031
  "onUpdate:modelValue": n[0] || (n[0] = (m) => E(b) ? b.value = m : null),
4063
4032
  disabled: e(g),
4064
4033
  onChange: e(p)
4065
4034
  }, {
4066
- default: o(() => [(S(!0), N(j, null, le(e(c), (m) => (S(), T(w, {
4035
+ default: o(() => [(M(!0), N(j, null, le(e(c), (m) => (M(), T(w, {
4067
4036
  key: m.value,
4068
4037
  value: m.value
4069
4038
  }, {
@@ -4108,7 +4077,7 @@ const Hl = /* @__PURE__ */ O({
4108
4077
  export {
4109
4078
  Ql as AdminsPage,
4110
4079
  Dl as DomainProviderSelect,
4111
- ze as DomainSelect,
4080
+ Ie as DomainSelect,
4112
4081
  Xl as ErrorLogsPage,
4113
4082
  ea as LanguageSelect,
4114
4083
  Hl as LanguagesPage,