auto-vue-basic 0.1.16 → 0.1.17

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,5 +1,5 @@
1
- import { defineComponent as O, toRef as ne, resolveComponent as r, openBlock as M, createBlock as q, unref as e, isRef as z, withCtx as o, createVNode as l, createElementVNode as j, normalizeClass as Ae, toDisplayString as F, ref as H, Fragment as G, withKeys as Ve, createElementBlock as B, renderList as ae, isVNode as De, reactive as Ke, onMounted as We, watch as Le, nextTick as Ge, createTextVNode as Q, createCommentVNode as Ye, shallowRef as He, onBeforeMount as Qe } from "vue";
2
- import { ApiUtils as Y, useLoading as I, useSelect as re, Translate as a, InlineRefreshButton as fe, useForm as le, FormDialog as oe, DEFAULT_STATUS_KEY as Se, ModifyButton as te, useCrudPage as X, useSingleFormModal as Te, DEFAULT_REMOVE_KEY as Je, ProTable as be, DEFAULT_PAGE_KEY as ye, SearchButton as de, RefreshButton as K, OpenButton as P, useCacheStore as Xe, useDialog as xe, RequestButton as Z, BasicDrawer as _e, BasicRadioButton as qe, RulesUtils as Ze, BasicAvatar as el, TimeUtils as E, ProTableList as ie, useSingleDialog as ve, AssetsUtils as Oe, useSingleTable as ll, notification as al, DEFAULT_LIST_URL as ol, REQUEST_LOG_URL as tl, ERROR_LOG_URL as nl, 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 q, unref as e, isRef as z, withCtx as o, createVNode as l, createElementVNode as j, normalizeClass as Ae, toDisplayString as F, ref as H, Fragment as G, withKeys as ye, createElementBlock as B, renderList as ae, isVNode as De, reactive as Ke, onMounted as We, watch as Le, nextTick as Ge, createTextVNode as Q, createCommentVNode as Ye, shallowRef as He, onBeforeMount as Qe } from "vue";
2
+ import { ApiUtils as Y, useLoading as I, useSelect as re, Translate as a, InlineRefreshButton as fe, useForm as le, FormDialog as oe, DEFAULT_STATUS_KEY as Se, ModifyButton as te, useCrudPage as X, useSingleFormModal as Te, DEFAULT_REMOVE_KEY as Je, ProTable as be, DEFAULT_PAGE_KEY as Ve, SearchButton as de, RefreshButton as K, OpenButton as P, useCacheStore as Xe, useDialog as xe, RequestButton as Z, BasicDrawer as _e, BasicRadioButton as qe, RulesUtils as Ze, BasicAvatar as el, TimeUtils as E, ProTableList as ie, useSingleDialog as ve, AssetsUtils as Oe, useSingleTable as ll, notification as al, DEFAULT_LIST_URL as ol, REQUEST_LOG_URL as tl, ERROR_LOG_URL as nl, 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",
@@ -13,7 +13,7 @@ const ul = {
13
13
  },
14
14
  emits: ["update:modelValue", "change"],
15
15
  setup(R, { emit: U }) {
16
- const x = U, k = R, { requesting: V } = I(J), { value: b, options: m, change: i, refresh: u, filterOptions: t } = re(ne(k, "modelValue"), x, {
16
+ const x = U, k = R, { requesting: y } = I(J), { value: b, options: m, change: i, refresh: u, filterOptions: t } = re(ne(k, "modelValue"), x, {
17
17
  key: "TOP_MENU_LIST",
18
18
  api: J,
19
19
  url: J.urls.tops,
@@ -27,7 +27,7 @@ const ul = {
27
27
  "onUpdate:modelValue": s[1] || (s[1] = (_) => z(b) ? b.value = _ : null),
28
28
  options: e(m),
29
29
  multiple: R.multiple,
30
- disabled: e(V) || R.disabled,
30
+ disabled: e(y) || R.disabled,
31
31
  placeholder: e(a)("placeholder.select"),
32
32
  filterable: "",
33
33
  filterOptions: e(t),
@@ -36,7 +36,7 @@ const ul = {
36
36
  }, {
37
37
  prefix: o(() => [
38
38
  l(e(fe), {
39
- loading: e(V),
39
+ loading: e(y),
40
40
  onRefresh: s[0] || (s[0] = (_) => e(u)(!0))
41
41
  }, null, 8, ["loading"])
42
42
  ]),
@@ -59,7 +59,7 @@ const ul = {
59
59
  __name: "MenuFormModal",
60
60
  emits: ["refresh"],
61
61
  setup(R, { expose: U, emit: x }) {
62
- const k = x, V = {
62
+ const k = x, y = {
63
63
  id: 0,
64
64
  menu_id: 0,
65
65
  module: "",
@@ -124,12 +124,12 @@ const ul = {
124
124
  trigger: "blur"
125
125
  }
126
126
  ]
127
- }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, J);
127
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, y, J);
128
128
  return U({
129
129
  open: c,
130
130
  modify: f
131
131
  }), (w, n) => {
132
- const d = r("el-form-item"), p = r("el-col"), S = r("el-input-number"), g = r("el-row"), y = r("el-input"), h = r("el-switch"), C = r("el-form");
132
+ const d = r("el-form-item"), p = r("el-col"), S = r("el-input-number"), g = r("el-row"), V = r("el-input"), h = r("el-switch"), C = r("el-form");
133
133
  return M(), q(e(oe), {
134
134
  modelValue: e(m),
135
135
  "onUpdate:modelValue": n[17] || (n[17] = (D) => z(m) ? m.value = D : null),
@@ -202,7 +202,7 @@ const ul = {
202
202
  prop: "module"
203
203
  }, {
204
204
  default: o(() => [
205
- l(y, {
205
+ l(V, {
206
206
  modelValue: e(t).module,
207
207
  "onUpdate:modelValue": n[2] || (n[2] = (D) => e(t).module = D),
208
208
  placeholder: e(a)("placeholder.input")
@@ -215,7 +215,7 @@ const ul = {
215
215
  prop: "name"
216
216
  }, {
217
217
  default: o(() => [
218
- l(y, {
218
+ l(V, {
219
219
  modelValue: e(t).name,
220
220
  "onUpdate:modelValue": n[3] || (n[3] = (D) => e(t).name = D),
221
221
  placeholder: e(a)("placeholder.input")
@@ -228,7 +228,7 @@ const ul = {
228
228
  prop: "en_name"
229
229
  }, {
230
230
  default: o(() => [
231
- l(y, {
231
+ l(V, {
232
232
  modelValue: e(t).en_name,
233
233
  "onUpdate:modelValue": n[4] || (n[4] = (D) => e(t).en_name = D),
234
234
  placeholder: e(a)("placeholder.input")
@@ -241,7 +241,7 @@ const ul = {
241
241
  prop: "component"
242
242
  }, {
243
243
  default: o(() => [
244
- l(y, {
244
+ l(V, {
245
245
  modelValue: e(t).component,
246
246
  "onUpdate:modelValue": n[5] || (n[5] = (D) => e(t).component = D),
247
247
  placeholder: e(a)("placeholder.input")
@@ -254,7 +254,7 @@ const ul = {
254
254
  prop: "url"
255
255
  }, {
256
256
  default: o(() => [
257
- l(y, {
257
+ l(V, {
258
258
  modelValue: e(t).url,
259
259
  "onUpdate:modelValue": n[6] || (n[6] = (D) => e(t).url = D),
260
260
  placeholder: e(a)("placeholder.input")
@@ -267,7 +267,7 @@ const ul = {
267
267
  prop: "remark"
268
268
  }, {
269
269
  default: o(() => [
270
- l(y, {
270
+ l(V, {
271
271
  modelValue: e(t).remark,
272
272
  "onUpdate:modelValue": n[7] || (n[7] = (D) => e(t).remark = D),
273
273
  placeholder: e(a)("placeholder.input")
@@ -285,7 +285,7 @@ const ul = {
285
285
  prop: "icon"
286
286
  }, {
287
287
  default: o(() => [
288
- l(y, {
288
+ l(V, {
289
289
  modelValue: e(t).icon,
290
290
  "onUpdate:modelValue": n[8] || (n[8] = (D) => e(t).icon = D),
291
291
  placeholder: e(a)("placeholder.input"),
@@ -308,7 +308,7 @@ const ul = {
308
308
  prop: "meta.title"
309
309
  }, {
310
310
  default: o(() => [
311
- l(y, {
311
+ l(V, {
312
312
  modelValue: e(t).meta.title,
313
313
  "onUpdate:modelValue": n[10] || (n[10] = (D) => e(t).meta.title = D),
314
314
  placeholder: e(a)("placeholder.input")
@@ -321,7 +321,7 @@ const ul = {
321
321
  prop: "meta.active"
322
322
  }, {
323
323
  default: o(() => [
324
- l(y, {
324
+ l(V, {
325
325
  modelValue: e(t).meta.active,
326
326
  "onUpdate:modelValue": n[11] || (n[11] = (D) => e(t).meta.active = D),
327
327
  placeholder: e(a)("placeholder.input")
@@ -442,7 +442,7 @@ const ul = {
442
442
  },
443
443
  emits: ["update:modelValue", "change"],
444
444
  setup(R, { emit: U }) {
445
- const x = U, k = R, { requesting: V } = I(J), { value: b, options: m, change: i, refresh: u, filterOptions: t } = re(ne(k, "modelValue"), x, { key: "MENU_LIST", api: J, isArray: !0 });
445
+ const x = U, k = R, { requesting: y } = I(J), { value: b, options: m, change: i, refresh: u, filterOptions: t } = re(ne(k, "modelValue"), x, { key: "MENU_LIST", api: J, isArray: !0 });
446
446
  return (v, s) => {
447
447
  const c = r("el-space"), f = r("el-select-v2");
448
448
  return M(), q(f, {
@@ -451,7 +451,7 @@ const ul = {
451
451
  "onUpdate:modelValue": s[1] || (s[1] = (_) => z(b) ? b.value = _ : null),
452
452
  options: e(m),
453
453
  multiple: R.multiple,
454
- disabled: e(V) || R.disabled,
454
+ disabled: e(y) || R.disabled,
455
455
  placeholder: e(a)("placeholder.select"),
456
456
  filterable: "",
457
457
  filterOptions: e(t),
@@ -459,7 +459,7 @@ const ul = {
459
459
  }, {
460
460
  prefix: o(() => [
461
461
  l(e(fe), {
462
- loading: e(V),
462
+ loading: e(y),
463
463
  onRefresh: s[0] || (s[0] = (_) => e(u)(!0))
464
464
  }, null, 8, ["loading"])
465
465
  ]),
@@ -482,7 +482,7 @@ const ul = {
482
482
  __name: "MenuRuleFormModal",
483
483
  emits: ["refresh"],
484
484
  setup(R, { expose: U, emit: x }) {
485
- const k = x, V = {
485
+ const k = x, y = {
486
486
  key: "",
487
487
  menu_id: 0,
488
488
  sort: 0,
@@ -528,12 +528,12 @@ const ul = {
528
528
  trigger: "blur"
529
529
  }
530
530
  ]
531
- }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, $e);
531
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, y, $e);
532
532
  return U({
533
533
  open: c,
534
534
  modify: f
535
535
  }), (w, n) => {
536
- const d = r("el-form-item"), p = r("el-input-number"), S = r("el-input"), g = r("el-col"), y = r("el-row"), h = r("el-form");
536
+ const d = r("el-form-item"), p = r("el-input-number"), S = r("el-input"), g = r("el-col"), V = r("el-row"), h = r("el-form");
537
537
  return M(), q(e(oe), {
538
538
  modelValue: e(m),
539
539
  "onUpdate:modelValue": n[6] || (n[6] = (C) => z(m) ? m.value = C : null),
@@ -553,7 +553,7 @@ const ul = {
553
553
  disabled: e(v) || e(s)
554
554
  }, {
555
555
  default: o(() => [
556
- l(y, { gutter: 20 }, {
556
+ l(V, { gutter: 20 }, {
557
557
  default: o(() => [
558
558
  l(g, { span: 10 }, {
559
559
  default: o(() => [
@@ -789,7 +789,7 @@ const Yl = /* @__PURE__ */ O({
789
789
  }, null)
790
790
  }
791
791
  ], {
792
- requesting: V
792
+ requesting: y
793
793
  } = I(J), {
794
794
  tableRef: b,
795
795
  formModalRef: m,
@@ -811,7 +811,7 @@ const Yl = /* @__PURE__ */ O({
811
811
  });
812
812
  };
813
813
  return (n, d) => {
814
- const p = r("el-button"), S = r("el-input"), g = r("el-radio-button"), y = r("el-radio-group"), h = r("el-space"), C = r("el-page-header"), D = r("el-card");
814
+ const p = r("el-button"), S = r("el-input"), g = r("el-radio-button"), V = r("el-radio-group"), h = r("el-space"), C = r("el-page-header"), D = r("el-card");
815
815
  return M(), q(D, {
816
816
  class: "basic-card flex-full",
817
817
  "body-class": "flex-1",
@@ -821,7 +821,7 @@ const Yl = /* @__PURE__ */ O({
821
821
  class: "basic-header"
822
822
  }, {
823
823
  title: o(() => [l(e(K), {
824
- loading: e(V),
824
+ loading: e(y),
825
825
  onRefresh: e(v)
826
826
  }, null, 8, ["loading", "onRefresh"]), l(e(P), {
827
827
  onOpen: e(s)
@@ -839,9 +839,9 @@ const Yl = /* @__PURE__ */ O({
839
839
  "onUpdate:modelValue": d[0] || (d[0] = (L) => e(i).keyword = L),
840
840
  placeholder: e(a)("placeholder.keyword"),
841
841
  clearable: "",
842
- onKeyup: d[1] || (d[1] = Ve((L) => e(u)(), ["enter"])),
842
+ onKeyup: d[1] || (d[1] = ye((L) => e(u)(), ["enter"])),
843
843
  onClear: d[2] || (d[2] = (L) => e(u)())
844
- }, null, 8, ["modelValue", "placeholder"]), l(y, {
844
+ }, null, 8, ["modelValue", "placeholder"]), l(V, {
845
845
  modelValue: e(i).status,
846
846
  "onUpdate:modelValue": d[3] || (d[3] = (L) => e(i).status = L),
847
847
  onChange: d[4] || (d[4] = (L) => e(u)())
@@ -853,7 +853,7 @@ const Yl = /* @__PURE__ */ O({
853
853
  }, null, 8, ["label", "value"])), 64))]),
854
854
  _: 1
855
855
  }, 8, ["modelValue"]), l(e(de), {
856
- disabled: e(V),
856
+ disabled: e(y),
857
857
  onSearch: e(u)
858
858
  }, null, 8, ["disabled", "onSearch"])]),
859
859
  _: 1
@@ -864,7 +864,7 @@ const Yl = /* @__PURE__ */ O({
864
864
  ref_key: "tableRef",
865
865
  ref: b,
866
866
  columns: k,
867
- url: e(J).urls[e(ye)],
867
+ url: e(J).urls[e(Ve)],
868
868
  "search-param": e(i),
869
869
  "auto-search": ""
870
870
  }, null, 8, ["url", "search-param"]), l(pl, {
@@ -888,13 +888,13 @@ const Yl = /* @__PURE__ */ O({
888
888
  },
889
889
  emits: ["update:modelValue"],
890
890
  setup(R, { expose: U, emit: x }) {
891
- const { requesting: k } = I(J), V = R, b = x, m = H(!1), i = Ke({
891
+ const { requesting: k } = I(J), y = R, b = x, m = H(!1), i = Ke({
892
892
  checkAll: !1,
893
893
  indeterminate: !1,
894
894
  MenuAll: {},
895
895
  MenuList: {},
896
896
  MenuIndeterminate: {}
897
- }), { options: u, refresh: t } = re(ne(V, "modelValue"), b, { key: "RULE_CHECK", api: J, url: J.urls.rules, isArray: !0 }, { autoRefresh: !1 });
897
+ }), { options: u, refresh: t } = re(ne(y, "modelValue"), b, { key: "RULE_CHECK", api: J, url: J.urls.rules, isArray: !0 }, { autoRefresh: !1 });
898
898
  function v() {
899
899
  u.value.forEach((w) => {
900
900
  w.rules?.length && (i.MenuAll[w.id] = !1, i.MenuIndeterminate[w.id] = !1, i.MenuList[w.id] = []);
@@ -928,9 +928,9 @@ const Yl = /* @__PURE__ */ O({
928
928
  }
929
929
  }
930
930
  return We(async () => {
931
- u.value?.length || await t(), !m.value && V.modelValue && A(V.modelValue);
931
+ u.value?.length || await t(), !m.value && y.modelValue && A(y.modelValue);
932
932
  }), Le(
933
- () => V.modelValue,
933
+ () => y.modelValue,
934
934
  (w) => {
935
935
  Ge(() => {
936
936
  m.value || !u.value?.length || w && w.length > 0 && A(w);
@@ -941,7 +941,7 @@ const Yl = /* @__PURE__ */ O({
941
941
  generateOption: A,
942
942
  cleanChecked: _
943
943
  }), (w, n) => {
944
- const d = r("el-checkbox"), p = r("el-space"), S = r("el-text"), g = r("el-divider"), y = r("el-checkbox-group");
944
+ const d = r("el-checkbox"), p = r("el-space"), S = r("el-text"), g = r("el-divider"), V = r("el-checkbox-group");
945
945
  return M(), B("div", fl, [
946
946
  l(p, { style: { "margin-bottom": "6px" } }, {
947
947
  default: o(() => [
@@ -998,7 +998,7 @@ const Yl = /* @__PURE__ */ O({
998
998
  _: 2
999
999
  }, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
1000
1000
  l(g, { direction: "vertical" }),
1001
- h.rules ? (M(), q(y, {
1001
+ h.rules ? (M(), q(V, {
1002
1002
  key: 0,
1003
1003
  modelValue: i.MenuList[h.id],
1004
1004
  "onUpdate:modelValue": (C) => i.MenuList[h.id] = C,
@@ -1031,14 +1031,14 @@ const Yl = /* @__PURE__ */ O({
1031
1031
  }
1032
1032
  }), Ee = (R, U) => {
1033
1033
  const x = R.__vccOpts || R;
1034
- for (const [k, V] of U)
1035
- x[k] = V;
1034
+ for (const [k, y] of U)
1035
+ x[k] = y;
1036
1036
  return x;
1037
1037
  }, gl = /* @__PURE__ */ Ee(_l, [["__scopeId", "data-v-7adb5f76"]]), hl = /* @__PURE__ */ O({
1038
1038
  __name: "RoleFormModal",
1039
1039
  emits: ["refresh"],
1040
1040
  setup(R, { expose: U, emit: x }) {
1041
- const k = x, V = H(), b = {
1041
+ const k = x, y = H(), b = {
1042
1042
  key: "",
1043
1043
  module: "",
1044
1044
  sort: 0,
@@ -1062,13 +1062,13 @@ const Yl = /* @__PURE__ */ O({
1062
1062
  }
1063
1063
  ]
1064
1064
  }, { modal: i, title: u, form: t, formData: v, requesting: s, executing: c, open: f, modify: _, submit: A, closed: w } = le(k, b, we), n = () => {
1065
- V.value?.cleanChecked(), w();
1065
+ y.value?.cleanChecked(), w();
1066
1066
  };
1067
1067
  return U({
1068
1068
  open: f,
1069
1069
  modify: _
1070
1070
  }), (d, p) => {
1071
- const S = r("el-input"), g = r("el-form-item"), y = r("el-col"), h = r("el-input-number"), C = r("el-row"), D = r("el-form");
1071
+ const S = r("el-input"), g = r("el-form-item"), V = r("el-col"), h = r("el-input-number"), C = r("el-row"), D = r("el-form");
1072
1072
  return M(), q(e(oe), {
1073
1073
  modelValue: e(i),
1074
1074
  "onUpdate:modelValue": p[6] || (p[6] = (L) => z(i) ? i.value = L : null),
@@ -1090,7 +1090,7 @@ const Yl = /* @__PURE__ */ O({
1090
1090
  default: o(() => [
1091
1091
  l(C, { gutter: 20 }, {
1092
1092
  default: o(() => [
1093
- l(y, { span: 12 }, {
1093
+ l(V, { span: 12 }, {
1094
1094
  default: o(() => [
1095
1095
  l(g, {
1096
1096
  label: e(a)("base.module"),
@@ -1108,7 +1108,7 @@ const Yl = /* @__PURE__ */ O({
1108
1108
  ]),
1109
1109
  _: 1
1110
1110
  }),
1111
- l(y, { span: 12 }, {
1111
+ l(V, { span: 12 }, {
1112
1112
  default: o(() => [
1113
1113
  l(g, {
1114
1114
  label: e(a)("base.sort"),
@@ -1177,7 +1177,7 @@ const Yl = /* @__PURE__ */ O({
1177
1177
  default: o(() => [
1178
1178
  l(gl, {
1179
1179
  ref_key: "rulesCheck",
1180
- ref: V,
1180
+ ref: y,
1181
1181
  modelValue: e(v).rules,
1182
1182
  "onUpdate:modelValue": p[5] || (p[5] = (L) => e(v).rules = L),
1183
1183
  disabled: e(s) || e(c)
@@ -1242,7 +1242,7 @@ const Yl = /* @__PURE__ */ O({
1242
1242
  ], {
1243
1243
  requesting: k
1244
1244
  } = I(we), {
1245
- tableRef: V,
1245
+ tableRef: y,
1246
1246
  formModalRef: b,
1247
1247
  keyword: m,
1248
1248
  search: i,
@@ -1275,7 +1275,7 @@ const Yl = /* @__PURE__ */ O({
1275
1275
  "onUpdate:modelValue": f[0] || (f[0] = (d) => e(m).keyword = d),
1276
1276
  placeholder: e(a)("placeholder.keyword"),
1277
1277
  clearable: "",
1278
- onKeyup: f[1] || (f[1] = Ve((d) => e(i)(), ["enter"])),
1278
+ onKeyup: f[1] || (f[1] = ye((d) => e(i)(), ["enter"])),
1279
1279
  onClear: f[2] || (f[2] = (d) => e(i)())
1280
1280
  }, null, 8, ["modelValue", "placeholder"]), l(e(de), {
1281
1281
  disabled: e(k),
@@ -1287,9 +1287,9 @@ const Yl = /* @__PURE__ */ O({
1287
1287
  })]),
1288
1288
  default: o(() => [l(e(be), {
1289
1289
  ref_key: "tableRef",
1290
- ref: V,
1290
+ ref: y,
1291
1291
  columns: x,
1292
- url: e(we).urls[e(ye)],
1292
+ url: e(we).urls[e(Ve)],
1293
1293
  "search-param": e(m),
1294
1294
  "auto-search": ""
1295
1295
  }, null, 8, ["url", "search-param"]), l(hl, {
@@ -1336,7 +1336,7 @@ const Yl = /* @__PURE__ */ O({
1336
1336
  emit: U
1337
1337
  }) {
1338
1338
  const x = U, k = R, {
1339
- requesting: V
1339
+ requesting: y
1340
1340
  } = I(W), {
1341
1341
  value: b,
1342
1342
  options: m,
@@ -1356,7 +1356,7 @@ const Yl = /* @__PURE__ */ O({
1356
1356
  "onUpdate:modelValue": s[1] || (s[1] = (_) => z(b) ? b.value = _ : null),
1357
1357
  options: e(m),
1358
1358
  multiple: R.multiple,
1359
- disabled: e(V) || R.disabled,
1359
+ disabled: e(y) || R.disabled,
1360
1360
  clearable: R.clearable,
1361
1361
  filterable: "",
1362
1362
  "allow-create": R.allowCreate,
@@ -1366,7 +1366,7 @@ const Yl = /* @__PURE__ */ O({
1366
1366
  onChange: e(i)
1367
1367
  }, {
1368
1368
  prefix: o(() => [l(e(fe), {
1369
- loading: e(V),
1369
+ loading: e(y),
1370
1370
  onRefresh: s[0] || (s[0] = (_) => e(u)(!0))
1371
1371
  }, null, 8, ["loading"])]),
1372
1372
  default: o(({
@@ -1379,11 +1379,11 @@ const Yl = /* @__PURE__ */ O({
1379
1379
  }, 8, ["modelValue", "options", "multiple", "disabled", "clearable", "allow-create", "placeholder", "filterOptions", "onChange"]);
1380
1380
  };
1381
1381
  }
1382
- }), Vl = /* @__PURE__ */ O({
1382
+ }), yl = /* @__PURE__ */ O({
1383
1383
  __name: "I18N",
1384
1384
  emits: ["refresh"],
1385
1385
  setup(R, { expose: U, emit: x }) {
1386
- const k = x, V = {
1386
+ const k = x, y = {
1387
1387
  uuid: "",
1388
1388
  key: "",
1389
1389
  module: void 0,
@@ -1427,12 +1427,12 @@ const Yl = /* @__PURE__ */ O({
1427
1427
  });
1428
1428
  }
1429
1429
  u();
1430
- const { modal: t, title: v, form: s, formData: c, requesting: f, executing: _, open: A, modify: w, submit: n, closed: d } = le(k, V, W);
1430
+ const { modal: t, title: v, form: s, formData: c, requesting: f, executing: _, open: A, modify: w, submit: n, closed: d } = le(k, y, W);
1431
1431
  return U({
1432
1432
  open: A,
1433
1433
  modify: w
1434
1434
  }), (p, S) => {
1435
- const g = r("el-form-item"), y = r("el-input"), h = r("el-space"), C = r("el-form");
1435
+ const g = r("el-form-item"), V = r("el-input"), h = r("el-space"), C = r("el-form");
1436
1436
  return M(), q(e(oe), {
1437
1437
  modelValue: e(t),
1438
1438
  "onUpdate:modelValue": S[3] || (S[3] = (D) => z(t) ? t.value = D : null),
@@ -1473,7 +1473,7 @@ const Yl = /* @__PURE__ */ O({
1473
1473
  required: ""
1474
1474
  }, {
1475
1475
  default: o(() => [
1476
- l(y, {
1476
+ l(V, {
1477
1477
  modelValue: e(c).key,
1478
1478
  "onUpdate:modelValue": S[1] || (S[1] = (D) => e(c).key = D),
1479
1479
  placeholder: e(a)("i18n.placeholder.key")
@@ -1494,7 +1494,7 @@ const Yl = /* @__PURE__ */ O({
1494
1494
  }, {
1495
1495
  default: o(() => [
1496
1496
  (M(!0), B(G, null, ae(m.value, (D) => (M(), B("div", { key: D }, [
1497
- l(y, {
1497
+ l(V, {
1498
1498
  modelValue: e(c).language[D],
1499
1499
  "onUpdate:modelValue": (L) => e(c).language[D] = L,
1500
1500
  placeholder: e(a)("i18n.placeholder.language")
@@ -1516,7 +1516,7 @@ const Yl = /* @__PURE__ */ O({
1516
1516
  prop: "remark"
1517
1517
  }, {
1518
1518
  default: o(() => [
1519
- l(y, {
1519
+ l(V, {
1520
1520
  modelValue: e(c).remark,
1521
1521
  "onUpdate:modelValue": S[2] || (S[2] = (D) => e(c).remark = D),
1522
1522
  placeholder: e(a)("placeholder.remark")
@@ -1533,7 +1533,7 @@ const Yl = /* @__PURE__ */ O({
1533
1533
  };
1534
1534
  }
1535
1535
  });
1536
- function yl(R) {
1536
+ function Vl(R) {
1537
1537
  return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !De(R);
1538
1538
  }
1539
1539
  const ze = /* @__PURE__ */ O({
@@ -1544,7 +1544,7 @@ const ze = /* @__PURE__ */ O({
1544
1544
  emit: x
1545
1545
  }) {
1546
1546
  const k = x, {
1547
- visible: V,
1547
+ visible: y,
1548
1548
  open: b,
1549
1549
  close: m
1550
1550
  } = xe(void 0, () => k("closed")), i = {
@@ -1567,7 +1567,7 @@ const ze = /* @__PURE__ */ O({
1567
1567
  row: g
1568
1568
  }) => {
1569
1569
  const h = Object.keys(g.language).filter((C) => !!g.language[C]).map((C) => `${C}: ${g.language[C]}`).join("; ");
1570
- return l(r("el-space"), null, yl(h) ? h : {
1570
+ return l(r("el-space"), null, Vl(h) ? h : {
1571
1571
  default: () => [h]
1572
1572
  });
1573
1573
  }
@@ -1628,12 +1628,12 @@ const ze = /* @__PURE__ */ O({
1628
1628
  }
1629
1629
  return U({
1630
1630
  open: b
1631
- }), (g, y) => {
1631
+ }), (g, V) => {
1632
1632
  const h = r("el-input"), C = r("el-radio-button"), D = r("el-radio-group"), L = r("el-space"), T = r("el-page-header");
1633
1633
  return M(), q(e(_e), {
1634
1634
  class: "basic-drawer",
1635
- modelValue: e(V),
1636
- "onUpdate:modelValue": y[7] || (y[7] = ($) => z(V) ? V.value = $ : null),
1635
+ modelValue: e(y),
1636
+ "onUpdate:modelValue": V[7] || (V[7] = ($) => z(y) ? y.value = $ : null),
1637
1637
  width: "880px",
1638
1638
  "show-close": !1,
1639
1639
  onClosed: e(m)
@@ -1657,15 +1657,15 @@ const ze = /* @__PURE__ */ O({
1657
1657
  width: "160px"
1658
1658
  },
1659
1659
  modelValue: e(f).keyword,
1660
- "onUpdate:modelValue": y[0] || (y[0] = ($) => e(f).keyword = $),
1660
+ "onUpdate:modelValue": V[0] || (V[0] = ($) => e(f).keyword = $),
1661
1661
  disabled: e(t),
1662
1662
  placeholder: e(a)("placeholder.keyword"),
1663
1663
  clearable: "",
1664
- onKeyup: y[1] || (y[1] = Ve(($) => e(_)(), ["enter"])),
1665
- onClear: y[2] || (y[2] = ($) => e(_)())
1664
+ onKeyup: V[1] || (V[1] = ye(($) => e(_)(), ["enter"])),
1665
+ onClear: V[2] || (V[2] = ($) => e(_)())
1666
1666
  }, null, 8, ["modelValue", "disabled", "placeholder"]), l(Fe, {
1667
1667
  modelValue: e(f).module,
1668
- "onUpdate:modelValue": y[3] || (y[3] = ($) => e(f).module = $),
1668
+ "onUpdate:modelValue": V[3] || (V[3] = ($) => e(f).module = $),
1669
1669
  clearable: !0,
1670
1670
  disabled: e(t),
1671
1671
  style: {
@@ -1673,8 +1673,8 @@ const ze = /* @__PURE__ */ O({
1673
1673
  }
1674
1674
  }, null, 8, ["modelValue", "disabled"]), l(D, {
1675
1675
  modelValue: e(f).status,
1676
- "onUpdate:modelValue": y[4] || (y[4] = ($) => e(f).status = $),
1677
- onChange: y[5] || (y[5] = ($) => e(_)()),
1676
+ "onUpdate:modelValue": V[4] || (V[4] = ($) => e(f).status = $),
1677
+ onChange: V[5] || (V[5] = ($) => e(_)()),
1678
1678
  disabled: e(t)
1679
1679
  }, {
1680
1680
  default: o(() => [(M(), B(G, null, ae([0, 1, 2], ($) => l(C, {
@@ -1685,7 +1685,7 @@ const ze = /* @__PURE__ */ O({
1685
1685
  _: 1
1686
1686
  }, 8, ["modelValue", "disabled"]), l(e(de), {
1687
1687
  disabled: e(t),
1688
- onSearch: y[6] || (y[6] = ($) => e(_)())
1688
+ onSearch: V[6] || (V[6] = ($) => e(_)())
1689
1689
  }, null, 8, ["disabled"])]),
1690
1690
  _: 1
1691
1691
  })]),
@@ -1695,11 +1695,11 @@ const ze = /* @__PURE__ */ O({
1695
1695
  ref_key: "tableRef",
1696
1696
  ref: s,
1697
1697
  columns: u,
1698
- url: e(W).urls[e(ye)],
1698
+ url: e(W).urls[e(Ve)],
1699
1699
  "search-param": e(f),
1700
1700
  onRowDblclick: S,
1701
1701
  "auto-search": ""
1702
- }, null, 8, ["url", "search-param"]), l(Vl, {
1702
+ }, null, 8, ["url", "search-param"]), l(yl, {
1703
1703
  ref_key: "formModalRef",
1704
1704
  ref: c,
1705
1705
  onRefresh: e(w)
@@ -1712,7 +1712,7 @@ const ze = /* @__PURE__ */ O({
1712
1712
  __name: "template",
1713
1713
  emits: ["refresh"],
1714
1714
  setup(R, { expose: U, emit: x }) {
1715
- const k = He(), V = () => k.value?.open(), b = x, m = H("600px"), i = H({
1715
+ const k = He(), y = () => k.value?.open(), b = x, m = H("600px"), i = H({
1716
1716
  "zh-CN": "primary",
1717
1717
  "en-US": "success"
1718
1718
  }), u = H({}), t = {
@@ -1745,9 +1745,9 @@ const ze = /* @__PURE__ */ O({
1745
1745
  ]
1746
1746
  }, { modal: s, title: c, form: f, formData: _, requesting: A, executing: w, open: n, modify: d, submit: p, closed: S } = le(b, t, ue);
1747
1747
  function g() {
1748
- m.value = "1080px", V();
1748
+ m.value = "1080px", y();
1749
1749
  }
1750
- function y() {
1750
+ function V() {
1751
1751
  m.value = "600px";
1752
1752
  }
1753
1753
  function h(L) {
@@ -1910,7 +1910,7 @@ const ze = /* @__PURE__ */ O({
1910
1910
  ref_key: "I18nTableDrawerRef",
1911
1911
  ref: k,
1912
1912
  onChoosed: h,
1913
- onClosed: y
1913
+ onClosed: V
1914
1914
  }, null, 512)
1915
1915
  ]),
1916
1916
  _: 1
@@ -1930,37 +1930,37 @@ const Ql = /* @__PURE__ */ O({
1930
1930
  keyword: "",
1931
1931
  app: 0,
1932
1932
  status: 0
1933
- }, V = ({
1934
- row: y
1933
+ }, y = ({
1934
+ row: V
1935
1935
  }) => {
1936
1936
  let h;
1937
1937
  return l(r("el-tag"), {
1938
- type: a("i18n.app.colors." + y.app),
1938
+ type: a("i18n.app.colors." + V.app),
1939
1939
  style: "min-width: 80px"
1940
- }, Rl(h = a("i18n.app." + y.app)) ? h : {
1940
+ }, Rl(h = a("i18n.app." + V.app)) ? h : {
1941
1941
  default: () => [h]
1942
1942
  });
1943
1943
  }, b = ({
1944
- row: y
1944
+ row: V
1945
1945
  }) => l(r("el-space"), null, {
1946
1946
  default: () => [l(te, {
1947
1947
  size: "default",
1948
1948
  disabled: u.value,
1949
1949
  onModify: () => n({
1950
- uuid: y.uuid
1950
+ uuid: V.uuid
1951
1951
  })
1952
1952
  }, null), l(Z, {
1953
1953
  size: "default",
1954
1954
  text: !0,
1955
1955
  type: "danger",
1956
1956
  loading: u.value,
1957
- onClick: () => p(y.uuid)
1957
+ onClick: () => p(V.uuid)
1958
1958
  }, null)]
1959
1959
  }), m = [{
1960
1960
  label: a("base.app"),
1961
1961
  prop: "app",
1962
1962
  width: 120,
1963
- render: V
1963
+ render: y
1964
1964
  }, {
1965
1965
  label: a("i18n.keys"),
1966
1966
  prop: "keys",
@@ -2013,9 +2013,9 @@ const Ql = /* @__PURE__ */ O({
2013
2013
  editFormModal: n,
2014
2014
  openDialog: d
2015
2015
  } = X(k);
2016
- function p(y) {
2016
+ function p(V) {
2017
2017
  return ue.remove({
2018
- uuid: y
2018
+ uuid: V
2019
2019
  }).finally(() => {
2020
2020
  A();
2021
2021
  });
@@ -2030,7 +2030,7 @@ const Ql = /* @__PURE__ */ O({
2030
2030
  A();
2031
2031
  });
2032
2032
  }
2033
- return (y, h) => {
2033
+ return (V, h) => {
2034
2034
  const C = r("el-input"), D = r("el-radio-button"), L = r("el-radio-group"), T = r("el-space"), $ = r("el-divider"), se = r("el-page-header"), Re = r("el-card");
2035
2035
  return M(), q(Re, {
2036
2036
  class: "basic-card flex-full",
@@ -2055,7 +2055,7 @@ const Ql = /* @__PURE__ */ O({
2055
2055
  disabled: e(i) || e(u),
2056
2056
  placeholder: e(a)("placeholder.keyword"),
2057
2057
  clearable: "",
2058
- onKeyup: h[1] || (h[1] = Ve((N) => e(f)(), ["enter"])),
2058
+ onKeyup: h[1] || (h[1] = ye((N) => e(f)(), ["enter"])),
2059
2059
  onClear: h[2] || (h[2] = (N) => e(f)())
2060
2060
  }, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(qe), {
2061
2061
  modelValue: e(c).app,
@@ -2108,7 +2108,7 @@ const Ql = /* @__PURE__ */ O({
2108
2108
  ref_key: "tableRef",
2109
2109
  ref: t,
2110
2110
  columns: m,
2111
- url: e(ue).urls[e(ye)],
2111
+ url: e(ue).urls[e(Ve)],
2112
2112
  "search-param": e(c),
2113
2113
  "auto-search": ""
2114
2114
  }, null, 8, ["url", "search-param"]), l(e(U), {
@@ -2127,7 +2127,7 @@ const Ql = /* @__PURE__ */ O({
2127
2127
  __name: "AdminFormModal",
2128
2128
  emits: ["refresh"],
2129
2129
  setup(R, { expose: U, emit: x }) {
2130
- const k = x, V = {
2130
+ const k = x, y = {
2131
2131
  key: "",
2132
2132
  username: "",
2133
2133
  password: "",
@@ -2136,7 +2136,7 @@ const Ql = /* @__PURE__ */ O({
2136
2136
  language: "zh-CN",
2137
2137
  remark: "",
2138
2138
  roles: []
2139
- }, { modal: b, title: m, form: i, formData: u, requesting: t, executing: v, open: s, modify: c, submit: f, closed: _ } = le(k, V, Ue), A = {
2139
+ }, { modal: b, title: m, form: i, formData: u, requesting: t, executing: v, open: s, modify: c, submit: f, closed: _ } = le(k, y, Ue), A = {
2140
2140
  username: [
2141
2141
  {
2142
2142
  required: !0,
@@ -2191,7 +2191,7 @@ const Ql = /* @__PURE__ */ O({
2191
2191
  open: s,
2192
2192
  modify: c
2193
2193
  }), (d, p) => {
2194
- const S = r("el-input"), g = r("el-form-item"), y = r("el-radio-button"), h = r("el-radio-group"), C = r("el-checkbox"), D = r("el-checkbox-group"), L = r("el-form");
2194
+ const S = r("el-input"), g = r("el-form-item"), V = r("el-radio-button"), h = r("el-radio-group"), C = r("el-checkbox"), D = r("el-checkbox-group"), L = r("el-form");
2195
2195
  return M(), q(e(oe), {
2196
2196
  modelValue: e(b),
2197
2197
  "onUpdate:modelValue": p[7] || (p[7] = (T) => z(b) ? b.value = T : null),
@@ -2278,13 +2278,13 @@ const Ql = /* @__PURE__ */ O({
2278
2278
  "onUpdate:modelValue": p[4] || (p[4] = (T) => e(u).language = T)
2279
2279
  }, {
2280
2280
  default: o(() => [
2281
- l(y, { value: "zh-CN" }, {
2281
+ l(V, { value: "zh-CN" }, {
2282
2282
  default: o(() => [...p[8] || (p[8] = [
2283
2283
  Q("zh-CN", -1)
2284
2284
  ])]),
2285
2285
  _: 1
2286
2286
  }),
2287
- l(y, { value: "en-US" }, {
2287
+ l(V, { value: "en-US" }, {
2288
2288
  default: o(() => [...p[9] || (p[9] = [
2289
2289
  Q("en-US", -1)
2290
2290
  ])]),
@@ -2403,7 +2403,7 @@ const Ql = /* @__PURE__ */ O({
2403
2403
  }], {
2404
2404
  requesting: k
2405
2405
  } = I(Ue), {
2406
- tableRef: V,
2406
+ tableRef: y,
2407
2407
  formModalRef: b,
2408
2408
  keyword: m,
2409
2409
  search: i,
@@ -2436,7 +2436,7 @@ const Ql = /* @__PURE__ */ O({
2436
2436
  "onUpdate:modelValue": f[0] || (f[0] = (d) => e(m).keyword = d),
2437
2437
  placeholder: e(a)("placeholder.keyword"),
2438
2438
  clearable: "",
2439
- onKeyup: f[1] || (f[1] = Ve((d) => e(i)(), ["enter"])),
2439
+ onKeyup: f[1] || (f[1] = ye((d) => e(i)(), ["enter"])),
2440
2440
  onClear: f[2] || (f[2] = (d) => e(i)())
2441
2441
  }, null, 8, ["modelValue", "placeholder"]), l(e(de), {
2442
2442
  disabled: e(k),
@@ -2448,10 +2448,10 @@ const Ql = /* @__PURE__ */ O({
2448
2448
  })]),
2449
2449
  default: o(() => [l(e(be), {
2450
2450
  ref_key: "tableRef",
2451
- ref: V,
2451
+ ref: y,
2452
2452
  size: "small",
2453
2453
  columns: x,
2454
- url: e(Ue).urls[e(ye)],
2454
+ url: e(Ue).urls[e(Ve)],
2455
2455
  "search-param": e(m),
2456
2456
  "auto-search": ""
2457
2457
  }, null, 8, ["url", "search-param"]), l(Ul, {
@@ -2482,14 +2482,14 @@ const Ql = /* @__PURE__ */ O({
2482
2482
  expose: U,
2483
2483
  emit: x
2484
2484
  }) {
2485
- const k = x, V = R, {
2485
+ const k = x, y = R, {
2486
2486
  requesting: b
2487
2487
  } = I(ge), {
2488
2488
  id: m,
2489
2489
  options: i,
2490
2490
  refresh: u,
2491
2491
  change: t
2492
- } = re(ne(V, "modelValue"), k, {
2492
+ } = re(ne(y, "modelValue"), k, {
2493
2493
  key: "DOMAIN_LIST",
2494
2494
  api: ge,
2495
2495
  isArray: !0
@@ -2518,7 +2518,7 @@ const Ql = /* @__PURE__ */ O({
2518
2518
  __name: "SiteFormModal",
2519
2519
  emits: ["refresh"],
2520
2520
  setup(R, { expose: U, emit: x }) {
2521
- const k = x, V = {
2521
+ const k = x, y = {
2522
2522
  id: 0,
2523
2523
  domain_id: 0,
2524
2524
  prefix: "",
@@ -2533,7 +2533,7 @@ const Ql = /* @__PURE__ */ O({
2533
2533
  prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
2534
2534
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
2535
2535
  en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
2536
- }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, pe);
2536
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, y, pe);
2537
2537
  return U({
2538
2538
  open: c,
2539
2539
  modify: f
@@ -2680,14 +2680,14 @@ const Ql = /* @__PURE__ */ O({
2680
2680
  expose: U,
2681
2681
  emit: x
2682
2682
  }) {
2683
- const k = x, V = R, {
2683
+ const k = x, y = R, {
2684
2684
  requesting: b
2685
2685
  } = I(he), {
2686
2686
  id: m,
2687
2687
  options: i,
2688
2688
  refresh: u,
2689
2689
  change: t
2690
- } = re(ne(V, "modelValue"), k, {
2690
+ } = re(ne(y, "modelValue"), k, {
2691
2691
  key: "DOMAIN_PROVIDER_LIST",
2692
2692
  api: he,
2693
2693
  isArray: !0
@@ -2716,7 +2716,7 @@ const Ql = /* @__PURE__ */ O({
2716
2716
  __name: "DomainFormModal",
2717
2717
  emits: ["refresh"],
2718
2718
  setup(R, { expose: U, emit: x }) {
2719
- const k = x, V = {
2719
+ const k = x, y = {
2720
2720
  id: 0,
2721
2721
  provider_id: 0,
2722
2722
  name: "",
@@ -2726,7 +2726,7 @@ const Ql = /* @__PURE__ */ O({
2726
2726
  }, b = {
2727
2727
  provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
2728
2728
  name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
2729
- }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, ge);
2729
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, y, ge);
2730
2730
  return U({
2731
2731
  open: c,
2732
2732
  modify: f
@@ -2734,7 +2734,7 @@ const Ql = /* @__PURE__ */ O({
2734
2734
  const d = r("el-form-item"), p = r("el-input"), S = r("el-date-picker"), g = r("el-form");
2735
2735
  return M(), q(e(oe), {
2736
2736
  modelValue: e(m),
2737
- "onUpdate:modelValue": n[4] || (n[4] = (y) => z(m) ? m.value = y : null),
2737
+ "onUpdate:modelValue": n[4] || (n[4] = (V) => z(m) ? m.value = V : null),
2738
2738
  title: e(i)("config.domain"),
2739
2739
  width: "600px",
2740
2740
  executing: e(s),
@@ -2758,7 +2758,7 @@ const Ql = /* @__PURE__ */ O({
2758
2758
  default: o(() => [
2759
2759
  l(Sl, {
2760
2760
  modelValue: e(t).provider_id,
2761
- "onUpdate:modelValue": n[0] || (n[0] = (y) => e(t).provider_id = y),
2761
+ "onUpdate:modelValue": n[0] || (n[0] = (V) => e(t).provider_id = V),
2762
2762
  disabled: e(s)
2763
2763
  }, null, 8, ["modelValue", "disabled"])
2764
2764
  ]),
@@ -2771,7 +2771,7 @@ const Ql = /* @__PURE__ */ O({
2771
2771
  default: o(() => [
2772
2772
  l(p, {
2773
2773
  modelValue: e(t).name,
2774
- "onUpdate:modelValue": n[1] || (n[1] = (y) => e(t).name = y),
2774
+ "onUpdate:modelValue": n[1] || (n[1] = (V) => e(t).name = V),
2775
2775
  disabled: e(s),
2776
2776
  placeholder: e(a)("placeholder.input")
2777
2777
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2788,7 +2788,7 @@ const Ql = /* @__PURE__ */ O({
2788
2788
  type: "date",
2789
2789
  style: { width: "100%" },
2790
2790
  modelValue: e(t).expired_at,
2791
- "onUpdate:modelValue": n[2] || (n[2] = (y) => e(t).expired_at = y),
2791
+ "onUpdate:modelValue": n[2] || (n[2] = (V) => e(t).expired_at = V),
2792
2792
  disabled: e(s),
2793
2793
  "value-format": e(E).DATE_VALUE_FORMAT,
2794
2794
  format: e(E).DATE_FORMAT,
@@ -2804,7 +2804,7 @@ const Ql = /* @__PURE__ */ O({
2804
2804
  default: o(() => [
2805
2805
  l(p, {
2806
2806
  modelValue: e(t).remark,
2807
- "onUpdate:modelValue": n[3] || (n[3] = (y) => e(t).remark = y),
2807
+ "onUpdate:modelValue": n[3] || (n[3] = (V) => e(t).remark = V),
2808
2808
  disabled: e(s),
2809
2809
  placeholder: e(a)("placeholder.input")
2810
2810
  }, null, 8, ["modelValue", "disabled", "placeholder"])
@@ -2823,7 +2823,7 @@ const Ql = /* @__PURE__ */ O({
2823
2823
  __name: "DomainProviderFormModal",
2824
2824
  emits: ["refresh"],
2825
2825
  setup(R, { expose: U, emit: x }) {
2826
- const k = x, V = {
2826
+ const k = x, y = {
2827
2827
  id: 0,
2828
2828
  name: "",
2829
2829
  en_name: "",
@@ -2838,7 +2838,7 @@ const Ql = /* @__PURE__ */ O({
2838
2838
  key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
2839
2839
  secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
2840
2840
  end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
2841
- }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, he);
2841
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, y, he);
2842
2842
  return U({
2843
2843
  open: c,
2844
2844
  modify: f
@@ -2963,7 +2963,7 @@ const Ql = /* @__PURE__ */ O({
2963
2963
  const {
2964
2964
  requesting: x
2965
2965
  } = I(he), k = H(!1), {
2966
- tableRef: V,
2966
+ tableRef: y,
2967
2967
  formModalRef: b,
2968
2968
  refresh: m,
2969
2969
  openFormModal: i,
@@ -3023,7 +3023,7 @@ const Ql = /* @__PURE__ */ O({
3023
3023
  })]),
3024
3024
  default: o(() => [l(e(ie), {
3025
3025
  ref_key: "tableRef",
3026
- ref: V,
3026
+ ref: y,
3027
3027
  size: "small",
3028
3028
  "row-key": "id",
3029
3029
  url: e(he).urls.list,
@@ -3057,14 +3057,14 @@ const Ql = /* @__PURE__ */ O({
3057
3057
  expose: U,
3058
3058
  emit: x
3059
3059
  }) {
3060
- const k = x, V = R, {
3060
+ const k = x, y = R, {
3061
3061
  requesting: b
3062
3062
  } = I(pe), {
3063
3063
  key: m,
3064
3064
  options: i,
3065
3065
  refresh: u,
3066
3066
  change: t
3067
- } = re(ne(V, "modelValue"), k, {
3067
+ } = re(ne(y, "modelValue"), k, {
3068
3068
  key: "SITE_LIST",
3069
3069
  api: pe,
3070
3070
  isArray: !0
@@ -3099,7 +3099,7 @@ const Ql = /* @__PURE__ */ O({
3099
3099
  __name: "SSLFormModal",
3100
3100
  emits: ["refresh"],
3101
3101
  setup(R, { expose: U, emit: x }) {
3102
- const k = x, V = {
3102
+ const k = x, y = {
3103
3103
  id: 0,
3104
3104
  domain_id: void 0,
3105
3105
  client: "Lego",
@@ -3116,13 +3116,13 @@ const Ql = /* @__PURE__ */ O({
3116
3116
  path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
3117
3117
  email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
3118
3118
  encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
3119
- }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, V, me);
3119
+ }, { modal: m, title: i, form: u, formData: t, requesting: v, executing: s, open: c, modify: f, submit: _, closed: A } = le(k, y, me);
3120
3120
  return U({
3121
3121
  open: c,
3122
3122
  modify: f,
3123
3123
  formData: t
3124
3124
  }), (w, n) => {
3125
- const d = r("el-form-item"), p = r("el-radio-button"), S = r("el-radio-group"), g = r("el-input"), y = r("el-form");
3125
+ const d = r("el-form-item"), p = r("el-radio-button"), S = r("el-radio-group"), g = r("el-input"), V = r("el-form");
3126
3126
  return M(), q(e(oe), {
3127
3127
  modelValue: e(m),
3128
3128
  "onUpdate:modelValue": n[8] || (n[8] = (h) => z(m) ? m.value = h : null),
@@ -3133,7 +3133,7 @@ const Ql = /* @__PURE__ */ O({
3133
3133
  onSubmit: e(_)
3134
3134
  }, {
3135
3135
  default: o(() => [
3136
- l(y, {
3136
+ l(V, {
3137
3137
  ref_key: "form",
3138
3138
  ref: u,
3139
3139
  model: e(t),
@@ -3281,7 +3281,7 @@ const Ql = /* @__PURE__ */ O({
3281
3281
  requesting: x
3282
3282
  } = I(ge), {
3283
3283
  visible: k,
3284
- open: V
3284
+ open: y
3285
3285
  } = xe(), {
3286
3286
  tableRef: b,
3287
3287
  formModalRef: m,
@@ -3341,7 +3341,7 @@ const Ql = /* @__PURE__ */ O({
3341
3341
  })
3342
3342
  }];
3343
3343
  return U({
3344
- open: V
3344
+ open: y
3345
3345
  }), (w, n) => {
3346
3346
  const d = r("el-space"), p = r("el-page-header");
3347
3347
  return M(), q(e(_e), {
@@ -3406,7 +3406,7 @@ const Ql = /* @__PURE__ */ O({
3406
3406
  const {
3407
3407
  requesting: x,
3408
3408
  executing: k
3409
- } = I(me), V = H(0), {
3409
+ } = I(me), y = H(0), {
3410
3410
  visible: b,
3411
3411
  open: m
3412
3412
  } = xe(), {
@@ -3469,16 +3469,16 @@ const Ql = /* @__PURE__ */ O({
3469
3469
  icon: "icon-key",
3470
3470
  t: "",
3471
3471
  text: !0,
3472
- disabled: k.value && V.value !== A.id,
3473
- loading: V.value == A.id,
3472
+ disabled: k.value && y.value !== A.id,
3473
+ loading: y.value == A.id,
3474
3474
  onClick: () => f(A.id)
3475
3475
  }, null), l(Z, {
3476
3476
  size: "default",
3477
3477
  icon: "icon-cloud-download",
3478
3478
  t: "",
3479
3479
  text: !0,
3480
- disabled: k.value && V.value !== A.id,
3481
- loading: V.value == A.id,
3480
+ disabled: k.value && y.value !== A.id,
3481
+ loading: y.value == A.id,
3482
3482
  onClick: () => _(A)
3483
3483
  }, null)]
3484
3484
  })
@@ -3544,7 +3544,7 @@ const Ql = /* @__PURE__ */ O({
3544
3544
  ssl: { type: Object, default: () => ({}) }
3545
3545
  },
3546
3546
  setup(R, { expose: U }) {
3547
- const x = R, { requesting: k, executing: V } = I([Ce, me]), { visible: b, open: m } = xe(), { tableRef: i, refresh: u } = ll(), t = [
3547
+ const x = R, { requesting: k, executing: y } = I([Ce, me]), { visible: b, open: m } = xe(), { tableRef: i, refresh: u } = ll(), t = [
3548
3548
  { prop: "status.label", label: a("base.status"), width: 100 },
3549
3549
  { prop: "at", label: a("base.time"), width: 180 },
3550
3550
  { prop: "type_text", label: a("base.type"), width: 80 },
@@ -3590,16 +3590,16 @@ const Ql = /* @__PURE__ */ O({
3590
3590
  size: "default",
3591
3591
  type: "danger",
3592
3592
  icon: "icon-key",
3593
- disabled: e(V),
3594
- loading: e(V),
3593
+ disabled: e(y),
3594
+ loading: e(y),
3595
3595
  onClick: v
3596
3596
  }, null, 8, ["disabled", "loading"]),
3597
3597
  l(e(Z), {
3598
3598
  size: "default",
3599
3599
  type: "primary",
3600
3600
  icon: "icon-cloud-download",
3601
- disabled: e(V),
3602
- loading: e(V),
3601
+ disabled: e(y),
3602
+ loading: e(y),
3603
3603
  onClick: s
3604
3604
  }, null, 8, ["disabled", "loading"])
3605
3605
  ]),
@@ -3624,7 +3624,7 @@ const Ql = /* @__PURE__ */ O({
3624
3624
  }), Fl = /* @__PURE__ */ O({
3625
3625
  __name: "index",
3626
3626
  setup(R) {
3627
- const U = Ol, x = $l, k = El, V = H(), {
3627
+ const U = Ol, x = $l, k = El, y = H(), {
3628
3628
  requesting: b,
3629
3629
  executing: m
3630
3630
  } = I(pe), {
@@ -3668,16 +3668,16 @@ const Ql = /* @__PURE__ */ O({
3668
3668
  align: "center",
3669
3669
  width: 140,
3670
3670
  cellRenderer: ({
3671
- rowData: y
3671
+ rowData: V
3672
3672
  }) => l(r("el-space"), null, {
3673
3673
  default: () => [l(r("el-text"), null, {
3674
- default: () => [y.ssl?.renewal_days, Q(" 天")]
3674
+ default: () => [V.ssl?.renewal_days, Q(" 天")]
3675
3675
  }), l(r("el-button"), {
3676
3676
  size: "small",
3677
3677
  type: "primary",
3678
3678
  text: !0,
3679
3679
  onClick: (h) => {
3680
- h.stopPropagation(), y.ssl && y.ssl.id && (V.value = y.ssl, d());
3680
+ h.stopPropagation(), V.ssl && V.ssl.id && (y.value = V.ssl, d());
3681
3681
  }
3682
3682
  }, {
3683
3683
  default: () => [l("span", {
@@ -3696,13 +3696,13 @@ const Ql = /* @__PURE__ */ O({
3696
3696
  width: 100,
3697
3697
  align: "center",
3698
3698
  cellRenderer: ({
3699
- rowData: y
3699
+ rowData: V
3700
3700
  }) => l(r("el-space"), null, {
3701
3701
  default: () => [l(te, {
3702
3702
  icon: "icon-edit",
3703
3703
  t: "",
3704
3704
  onModify: () => c({
3705
- id: y.id
3705
+ id: V.id
3706
3706
  })
3707
3707
  }, null), l(Z, {
3708
3708
  icon: "icon-securityscan",
@@ -3710,20 +3710,20 @@ const Ql = /* @__PURE__ */ O({
3710
3710
  size: "small",
3711
3711
  link: !0,
3712
3712
  disabled: m.value,
3713
- loading: S.value == y.id && m.value,
3714
- onClick: () => g(y)
3713
+ loading: S.value == V.id && m.value,
3714
+ onClick: () => g(V)
3715
3715
  }, null)]
3716
3716
  })
3717
- }], S = H(0), g = (y) => {
3718
- S.value = y.id, pe.check({
3719
- id: y.id
3717
+ }], S = H(0), g = (V) => {
3718
+ S.value = V.id, pe.check({
3719
+ id: V.id
3720
3720
  }).then((h) => {
3721
3721
  h.data && (al(h), v());
3722
3722
  }).finally(() => {
3723
3723
  S.value = 0;
3724
3724
  });
3725
3725
  };
3726
- return (y, h) => {
3726
+ return (V, h) => {
3727
3727
  const C = r("el-space"), D = r("el-page-header"), L = r("el-card");
3728
3728
  return M(), q(L, {
3729
3729
  "body-style": {
@@ -3841,7 +3841,8 @@ const Ql = /* @__PURE__ */ O({
3841
3841
  label: a("base.request_body"),
3842
3842
  prop: "body",
3843
3843
  align: "left",
3844
- width: 0
3844
+ width: 0,
3845
+ type: "copy"
3845
3846
  }, {
3846
3847
  label: a("time.cost") + " (ms)",
3847
3848
  prop: "cost",
@@ -3849,7 +3850,7 @@ const Ql = /* @__PURE__ */ O({
3849
3850
  }], {
3850
3851
  requesting: k
3851
3852
  } = I(ce), {
3852
- tableRef: V,
3853
+ tableRef: y,
3853
3854
  keyword: b,
3854
3855
  search: m,
3855
3856
  reset: i
@@ -3892,7 +3893,7 @@ const Ql = /* @__PURE__ */ O({
3892
3893
  })]),
3893
3894
  default: o(() => [l(e(ie), {
3894
3895
  ref_key: "tableRef",
3895
- ref: V,
3896
+ ref: y,
3896
3897
  size: "small",
3897
3898
  columns: x,
3898
3899
  url: e(ce).urls.request,
@@ -3933,7 +3934,7 @@ const Ql = /* @__PURE__ */ O({
3933
3934
  }], {
3934
3935
  requesting: k
3935
3936
  } = I(ce), {
3936
- tableRef: V,
3937
+ tableRef: y,
3937
3938
  keyword: b,
3938
3939
  search: m,
3939
3940
  reset: i
@@ -3976,7 +3977,7 @@ const Ql = /* @__PURE__ */ O({
3976
3977
  })]),
3977
3978
  default: o(() => [l(e(ie), {
3978
3979
  ref_key: "tableRef",
3979
- ref: V,
3980
+ ref: y,
3980
3981
  size: "small",
3981
3982
  columns: x,
3982
3983
  url: e(ce).urls.error,
@@ -4005,18 +4006,19 @@ const Ql = /* @__PURE__ */ O({
4005
4006
  rowData: u
4006
4007
  }) => l(G, null, [E.formatDate(u.time)])
4007
4008
  }, {
4008
- label: a("time.cost") + "(ms)",
4009
+ label: a("time.cost") + " (ms)",
4009
4010
  prop: "cost",
4010
4011
  width: 120
4011
4012
  }, {
4012
4013
  label: a("base.sql"),
4013
4014
  prop: "sql",
4014
4015
  align: "left",
4015
- width: 0
4016
+ width: 0,
4017
+ type: "copy"
4016
4018
  }], {
4017
4019
  requesting: k
4018
4020
  } = I(ce), {
4019
- tableRef: V,
4021
+ tableRef: y,
4020
4022
  keyword: b,
4021
4023
  search: m,
4022
4024
  reset: i
@@ -4080,7 +4082,7 @@ const Ql = /* @__PURE__ */ O({
4080
4082
  })]),
4081
4083
  default: o(() => [l(e(ie), {
4082
4084
  ref_key: "tableRef",
4083
- ref: V,
4085
+ ref: y,
4084
4086
  size: "small",
4085
4087
  columns: x,
4086
4088
  url: e(ce).urls.sql,
@@ -4117,7 +4119,7 @@ const Ql = /* @__PURE__ */ O({
4117
4119
  emit: U
4118
4120
  }) {
4119
4121
  const x = U, k = R, {
4120
- requesting: V
4122
+ requesting: y
4121
4123
  } = I(W), {
4122
4124
  value: b,
4123
4125
  options: m,
@@ -4138,7 +4140,7 @@ const Ql = /* @__PURE__ */ O({
4138
4140
  return M(), q(s, {
4139
4141
  modelValue: e(b),
4140
4142
  "onUpdate:modelValue": t[0] || (t[0] = (c) => z(b) ? b.value = c : null),
4141
- disabled: e(V),
4143
+ disabled: e(y),
4142
4144
  onChange: e(i)
4143
4145
  }, {
4144
4146
  default: o(() => [(M(!0), B(G, null, ae(e(m), (c) => (M(), q(v, {