auto-vue-basic 0.0.71 → 0.0.72
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.
- package/dist/auto-vue-basic.es.js +207 -207
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as O, createElementBlock as
|
|
2
|
-
import { ApiUtils as W, useLoading as
|
|
1
|
+
import { defineComponent as O, createElementBlock as B, openBlock as L, createElementVNode as N, toRef as te, resolveComponent as s, createBlock as T, unref as e, isRef as P, withCtx as o, createVNode as l, normalizeClass as ke, toDisplayString as z, ref as I, Fragment as G, withKeys as _e, renderList as ae, isVNode as ve, reactive as Ie, onMounted as Ne, watch as we, nextTick as Pe, createCommentVNode as Be, createTextVNode as Z, onBeforeMount as je } from "vue";
|
|
2
|
+
import { ApiUtils as W, useLoading as E, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as J, FormDialog as ee, useCrudPage as F, DEFAULT_STATUS_KEY as xe, ModifyButton as le, DEFAULT_REMOVE_KEY as Ke, ProTable as me, DEFAULT_PAGE_KEY as ge, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as We, RequestButton as Q, BasicDrawer as ce, BasicRadioButton as Ae, RulesUtils as Ye, BasicAvatar as Ge, TimeUtils as $, ProTableList as de, AssetsUtils as De, notification as He, DEFAULT_LIST_URL as Qe, REQUEST_LOG_URL as Je, ERROR_LOG_URL as Xe, SQL_LOG_URL as Ze } from "auto-vue-manual";
|
|
3
3
|
const el = {
|
|
4
4
|
tops: "tops",
|
|
5
5
|
rules: "rules"
|
|
@@ -9,7 +9,7 @@ var ll = /* @__PURE__ */ O({
|
|
|
9
9
|
name: "Key",
|
|
10
10
|
__name: "key",
|
|
11
11
|
setup(R) {
|
|
12
|
-
return (U, k) => (L(),
|
|
12
|
+
return (U, k) => (L(), B("svg", {
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
viewBox: "0 0 1024 1024"
|
|
15
15
|
}, [
|
|
@@ -23,7 +23,7 @@ var ll = /* @__PURE__ */ O({
|
|
|
23
23
|
name: "Search",
|
|
24
24
|
__name: "search",
|
|
25
25
|
setup(R) {
|
|
26
|
-
return (U, k) => (L(),
|
|
26
|
+
return (U, k) => (L(), B("svg", {
|
|
27
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
28
|
viewBox: "0 0 1024 1024"
|
|
29
29
|
}, [
|
|
@@ -52,7 +52,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
52
52
|
}) {
|
|
53
53
|
const k = U, h = R, {
|
|
54
54
|
requesting: V
|
|
55
|
-
} =
|
|
55
|
+
} = E(Y), {
|
|
56
56
|
value: _,
|
|
57
57
|
options: c,
|
|
58
58
|
change: i,
|
|
@@ -69,7 +69,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
69
69
|
return L(), T(g, {
|
|
70
70
|
class: "w-full",
|
|
71
71
|
modelValue: e(_),
|
|
72
|
-
"onUpdate:modelValue": u[1] || (u[1] = (b) =>
|
|
72
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => P(_) ? _.value = b : null),
|
|
73
73
|
options: e(c),
|
|
74
74
|
multiple: R.multiple,
|
|
75
75
|
disabled: e(V),
|
|
@@ -163,19 +163,19 @@ const tl = /* @__PURE__ */ O({
|
|
|
163
163
|
trigger: "blur"
|
|
164
164
|
}
|
|
165
165
|
]
|
|
166
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed:
|
|
166
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, Y);
|
|
167
167
|
return U({
|
|
168
168
|
open: f,
|
|
169
169
|
modify: g
|
|
170
170
|
}), (x, n) => {
|
|
171
|
-
const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"),
|
|
171
|
+
const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), m = s("el-row"), S = s("el-input"), M = s("el-switch"), C = s("el-form");
|
|
172
172
|
return L(), T(e(ee), {
|
|
173
173
|
modelValue: e(c),
|
|
174
|
-
"onUpdate:modelValue": n[17] || (n[17] = (w) =>
|
|
174
|
+
"onUpdate:modelValue": n[17] || (n[17] = (w) => P(c) ? c.value = w : null),
|
|
175
175
|
title: e(i)(),
|
|
176
176
|
width: "1000px",
|
|
177
177
|
executing: e(u),
|
|
178
|
-
onClosed: e(
|
|
178
|
+
onClosed: e(A),
|
|
179
179
|
onSubmit: e(b)
|
|
180
180
|
}, {
|
|
181
181
|
default: o(() => [
|
|
@@ -376,7 +376,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
376
376
|
prop: "meta.link"
|
|
377
377
|
}, {
|
|
378
378
|
default: o(() => [
|
|
379
|
-
l(
|
|
379
|
+
l(M, {
|
|
380
380
|
modelValue: e(t).meta.link,
|
|
381
381
|
"onUpdate:modelValue": n[12] || (n[12] = (w) => e(t).meta.link = w)
|
|
382
382
|
}, null, 8, ["modelValue"])
|
|
@@ -393,7 +393,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
393
393
|
prop: "meta.keep_alive"
|
|
394
394
|
}, {
|
|
395
395
|
default: o(() => [
|
|
396
|
-
l(
|
|
396
|
+
l(M, {
|
|
397
397
|
modelValue: e(t).meta.keep_alive,
|
|
398
398
|
"onUpdate:modelValue": n[13] || (n[13] = (w) => e(t).meta.keep_alive = w)
|
|
399
399
|
}, null, 8, ["modelValue"])
|
|
@@ -410,7 +410,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
410
410
|
prop: "meta.hide"
|
|
411
411
|
}, {
|
|
412
412
|
default: o(() => [
|
|
413
|
-
l(
|
|
413
|
+
l(M, {
|
|
414
414
|
modelValue: e(t).meta.hide,
|
|
415
415
|
"onUpdate:modelValue": n[14] || (n[14] = (w) => e(t).meta.hide = w)
|
|
416
416
|
}, null, 8, ["modelValue"])
|
|
@@ -427,7 +427,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
427
427
|
prop: "meta.full"
|
|
428
428
|
}, {
|
|
429
429
|
default: o(() => [
|
|
430
|
-
l(
|
|
430
|
+
l(M, {
|
|
431
431
|
modelValue: e(t).meta.full,
|
|
432
432
|
"onUpdate:modelValue": n[15] || (n[15] = (w) => e(t).meta.full = w)
|
|
433
433
|
}, null, 8, ["modelValue"])
|
|
@@ -444,7 +444,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
444
444
|
prop: "meta.affix"
|
|
445
445
|
}, {
|
|
446
446
|
default: o(() => [
|
|
447
|
-
l(
|
|
447
|
+
l(M, {
|
|
448
448
|
modelValue: e(t).meta.affix,
|
|
449
449
|
"onUpdate:modelValue": n[16] || (n[16] = (w) => e(t).meta.affix = w)
|
|
450
450
|
}, null, 8, ["modelValue"])
|
|
@@ -489,7 +489,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
489
489
|
}) {
|
|
490
490
|
const k = U, h = R, {
|
|
491
491
|
requesting: V
|
|
492
|
-
} =
|
|
492
|
+
} = E(Y), {
|
|
493
493
|
value: _,
|
|
494
494
|
options: c,
|
|
495
495
|
change: i,
|
|
@@ -505,7 +505,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
505
505
|
return L(), T(g, {
|
|
506
506
|
class: "w-full",
|
|
507
507
|
modelValue: e(_),
|
|
508
|
-
"onUpdate:modelValue": u[1] || (u[1] = (b) =>
|
|
508
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => P(_) ? _.value = b : null),
|
|
509
509
|
options: e(c),
|
|
510
510
|
multiple: R.multiple,
|
|
511
511
|
disabled: e(V),
|
|
@@ -580,23 +580,23 @@ const tl = /* @__PURE__ */ O({
|
|
|
580
580
|
trigger: "blur"
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed:
|
|
583
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, Se);
|
|
584
584
|
return U({
|
|
585
585
|
open: f,
|
|
586
586
|
modify: g
|
|
587
587
|
}), (x, n) => {
|
|
588
|
-
const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"),
|
|
588
|
+
const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), m = s("el-col"), S = s("el-row"), M = s("el-form");
|
|
589
589
|
return L(), T(e(ee), {
|
|
590
590
|
modelValue: e(c),
|
|
591
|
-
"onUpdate:modelValue": n[6] || (n[6] = (C) =>
|
|
591
|
+
"onUpdate:modelValue": n[6] || (n[6] = (C) => P(c) ? c.value = C : null),
|
|
592
592
|
title: e(i)("menu.rules"),
|
|
593
593
|
width: "1000px",
|
|
594
594
|
executing: e(u),
|
|
595
|
-
onClosed: e(
|
|
595
|
+
onClosed: e(A),
|
|
596
596
|
onSubmit: e(b)
|
|
597
597
|
}, {
|
|
598
598
|
default: o(() => [
|
|
599
|
-
l(
|
|
599
|
+
l(M, {
|
|
600
600
|
ref_key: "form",
|
|
601
601
|
ref: p,
|
|
602
602
|
model: e(t),
|
|
@@ -790,7 +790,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
790
790
|
class: "cursor-pointer",
|
|
791
791
|
closable: !0,
|
|
792
792
|
key: r.key,
|
|
793
|
-
onClick: () =>
|
|
793
|
+
onClick: () => A({
|
|
794
794
|
key: r.key
|
|
795
795
|
}),
|
|
796
796
|
onClose: () => k.value = r.key
|
|
@@ -847,7 +847,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
847
847
|
}
|
|
848
848
|
], {
|
|
849
849
|
requesting: V
|
|
850
|
-
} =
|
|
850
|
+
} = E(Y), {
|
|
851
851
|
tableRef: _,
|
|
852
852
|
formModalRef: c,
|
|
853
853
|
keyword: i,
|
|
@@ -856,11 +856,11 @@ const Il = /* @__PURE__ */ O({
|
|
|
856
856
|
reset: v,
|
|
857
857
|
openFormModal: u,
|
|
858
858
|
editFormModal: f
|
|
859
|
-
} =
|
|
859
|
+
} = F(U), {
|
|
860
860
|
formModalRef: g,
|
|
861
861
|
openFormModal: b,
|
|
862
|
-
editFormModal:
|
|
863
|
-
} =
|
|
862
|
+
editFormModal: A
|
|
863
|
+
} = F(), x = (n) => {
|
|
864
864
|
Se[Ke]({
|
|
865
865
|
key: n
|
|
866
866
|
}).then(() => {
|
|
@@ -868,7 +868,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
868
868
|
});
|
|
869
869
|
};
|
|
870
870
|
return (n, d) => {
|
|
871
|
-
const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"),
|
|
871
|
+
const r = s("el-button"), y = s("el-input"), m = s("el-radio-button"), S = s("el-radio-group"), M = s("el-space"), C = s("el-page-header"), w = s("el-card");
|
|
872
872
|
return L(), T(w, {
|
|
873
873
|
class: "basic-card flex-full",
|
|
874
874
|
"body-class": "flex-1",
|
|
@@ -887,7 +887,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
887
887
|
icon: e(al),
|
|
888
888
|
onClick: e(b)
|
|
889
889
|
}, null, 8, ["icon", "onClick"])]),
|
|
890
|
-
content: o(() => [l(
|
|
890
|
+
content: o(() => [l(M, {
|
|
891
891
|
class: "search-bar"
|
|
892
892
|
}, {
|
|
893
893
|
default: o(() => [l(y, {
|
|
@@ -903,9 +903,9 @@ const Il = /* @__PURE__ */ O({
|
|
|
903
903
|
"onUpdate:modelValue": d[3] || (d[3] = (q) => e(i).status = q),
|
|
904
904
|
onChange: d[4] || (d[4] = (q) => e(p)())
|
|
905
905
|
}, {
|
|
906
|
-
default: o(() => [(L(),
|
|
906
|
+
default: o(() => [(L(), B(G, null, ae([0, 1, 2], (q) => l(m, {
|
|
907
907
|
key: q,
|
|
908
|
-
label: e(a)(`
|
|
908
|
+
label: e(a)(`status.${q}`),
|
|
909
909
|
value: q
|
|
910
910
|
}, null, 8, ["label", "value"])), 64))]),
|
|
911
911
|
_: 1
|
|
@@ -946,7 +946,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
946
946
|
},
|
|
947
947
|
emits: ["update:modelValue"],
|
|
948
948
|
setup(R, { expose: U, emit: k }) {
|
|
949
|
-
const { requesting: h } =
|
|
949
|
+
const { requesting: h } = E(Y), V = R, _ = k, c = I(!1), i = Ie({
|
|
950
950
|
checkAll: !1,
|
|
951
951
|
indeterminate: !1,
|
|
952
952
|
MenuAll: {},
|
|
@@ -979,7 +979,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
979
979
|
function b() {
|
|
980
980
|
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), _("update:modelValue", []), c.value = !1;
|
|
981
981
|
}
|
|
982
|
-
function
|
|
982
|
+
function A(x) {
|
|
983
983
|
var n;
|
|
984
984
|
if (Array.isArray(p.value) && p.value.length > 0) {
|
|
985
985
|
for (let d of p.value)
|
|
@@ -991,22 +991,22 @@ const Il = /* @__PURE__ */ O({
|
|
|
991
991
|
}
|
|
992
992
|
return Ne(async () => {
|
|
993
993
|
var x;
|
|
994
|
-
(x = p.value) != null && x.length || await t(), !c.value && V.modelValue &&
|
|
994
|
+
(x = p.value) != null && x.length || await t(), !c.value && V.modelValue && A(V.modelValue);
|
|
995
995
|
}), we(
|
|
996
996
|
() => V.modelValue,
|
|
997
997
|
(x) => {
|
|
998
|
-
|
|
998
|
+
Pe(() => {
|
|
999
999
|
var n;
|
|
1000
|
-
c.value || !((n = p.value) != null && n.length) || x && x.length > 0 &&
|
|
1000
|
+
c.value || !((n = p.value) != null && n.length) || x && x.length > 0 && A(x);
|
|
1001
1001
|
});
|
|
1002
1002
|
},
|
|
1003
1003
|
{ deep: !0, immediate: !0 }
|
|
1004
1004
|
), U({
|
|
1005
|
-
generateOption:
|
|
1005
|
+
generateOption: A,
|
|
1006
1006
|
cleanChecked: b
|
|
1007
1007
|
}), (x, n) => {
|
|
1008
1008
|
const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), m = s("el-divider"), S = s("el-checkbox-group");
|
|
1009
|
-
return L(),
|
|
1009
|
+
return L(), B("div", ul, [
|
|
1010
1010
|
l(r, { style: { "margin-bottom": "6px" } }, {
|
|
1011
1011
|
default: o(() => [
|
|
1012
1012
|
l(d, {
|
|
@@ -1025,7 +1025,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1025
1025
|
loading: e(h),
|
|
1026
1026
|
text: "",
|
|
1027
1027
|
size: "small",
|
|
1028
|
-
onRefresh: n[0] || (n[0] = (
|
|
1028
|
+
onRefresh: n[0] || (n[0] = (M) => e(t)(!0))
|
|
1029
1029
|
}, null, 8, ["loading"])
|
|
1030
1030
|
]),
|
|
1031
1031
|
_: 1
|
|
@@ -1036,8 +1036,8 @@ const Il = /* @__PURE__ */ O({
|
|
|
1036
1036
|
class: "rule-check-content"
|
|
1037
1037
|
}, {
|
|
1038
1038
|
default: o(() => [
|
|
1039
|
-
(L(!0),
|
|
1040
|
-
key:
|
|
1039
|
+
(L(!0), B(G, null, ae(e(p), (M) => (L(), B("div", {
|
|
1040
|
+
key: M.id
|
|
1041
1041
|
}, [
|
|
1042
1042
|
l(r, {
|
|
1043
1043
|
direction: "horizontal",
|
|
@@ -1046,15 +1046,15 @@ const Il = /* @__PURE__ */ O({
|
|
|
1046
1046
|
default: o(() => [
|
|
1047
1047
|
l(d, {
|
|
1048
1048
|
style: { "min-width": "150px" },
|
|
1049
|
-
"model-value": i.MenuAll[
|
|
1050
|
-
disabled: R.disabled || !
|
|
1051
|
-
indeterminate: i.MenuIndeterminate[
|
|
1052
|
-
onChange: (C) => f(C,
|
|
1049
|
+
"model-value": i.MenuAll[M.id],
|
|
1050
|
+
disabled: R.disabled || !M.rules || M.rules.length <= 0,
|
|
1051
|
+
indeterminate: i.MenuIndeterminate[M.id],
|
|
1052
|
+
onChange: (C) => f(C, M.id)
|
|
1053
1053
|
}, {
|
|
1054
1054
|
default: o(() => [
|
|
1055
1055
|
l(y, { style: { "font-size": "15px" } }, {
|
|
1056
1056
|
default: o(() => [
|
|
1057
|
-
Z(z(
|
|
1057
|
+
Z(z(M.translate), 1)
|
|
1058
1058
|
]),
|
|
1059
1059
|
_: 2
|
|
1060
1060
|
}, 1024)
|
|
@@ -1062,16 +1062,16 @@ const Il = /* @__PURE__ */ O({
|
|
|
1062
1062
|
_: 2
|
|
1063
1063
|
}, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
|
|
1064
1064
|
l(m, { direction: "vertical" }),
|
|
1065
|
-
|
|
1065
|
+
M.rules ? (L(), T(S, {
|
|
1066
1066
|
key: 0,
|
|
1067
|
-
modelValue: i.MenuList[
|
|
1068
|
-
"onUpdate:modelValue": (C) => i.MenuList[
|
|
1067
|
+
modelValue: i.MenuList[M.id],
|
|
1068
|
+
"onUpdate:modelValue": (C) => i.MenuList[M.id] = C,
|
|
1069
1069
|
disabled: R.disabled,
|
|
1070
1070
|
style: { margin: "auto" },
|
|
1071
1071
|
onChange: g
|
|
1072
1072
|
}, {
|
|
1073
1073
|
default: o(() => [
|
|
1074
|
-
(L(!0),
|
|
1074
|
+
(L(!0), B(G, null, ae(M.rules, (C) => (L(), T(d, {
|
|
1075
1075
|
key: C.key,
|
|
1076
1076
|
value: C.key
|
|
1077
1077
|
}, {
|
|
@@ -1082,7 +1082,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1082
1082
|
}, 1032, ["value"]))), 128))
|
|
1083
1083
|
]),
|
|
1084
1084
|
_: 2
|
|
1085
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) :
|
|
1085
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "disabled"])) : Be("", !0)
|
|
1086
1086
|
]),
|
|
1087
1087
|
_: 2
|
|
1088
1088
|
}, 1024)
|
|
@@ -1125,7 +1125,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1125
1125
|
trigger: "blur"
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: g, modify: b, submit:
|
|
1128
|
+
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: g, modify: b, submit: A, closed: x } = J(h, _, he), n = () => {
|
|
1129
1129
|
var d;
|
|
1130
1130
|
(d = V.value) == null || d.cleanChecked(), x();
|
|
1131
1131
|
};
|
|
@@ -1133,15 +1133,15 @@ const Il = /* @__PURE__ */ O({
|
|
|
1133
1133
|
open: g,
|
|
1134
1134
|
modify: b
|
|
1135
1135
|
}), (d, r) => {
|
|
1136
|
-
const y = s("el-input"), m = s("el-form-item"), S = s("el-col"),
|
|
1136
|
+
const y = s("el-input"), m = s("el-form-item"), S = s("el-col"), M = s("el-input-number"), C = s("el-row"), w = s("el-form");
|
|
1137
1137
|
return L(), T(e(ee), {
|
|
1138
1138
|
modelValue: e(i),
|
|
1139
|
-
"onUpdate:modelValue": r[6] || (r[6] = (q) =>
|
|
1139
|
+
"onUpdate:modelValue": r[6] || (r[6] = (q) => P(i) ? i.value = q : null),
|
|
1140
1140
|
title: e(p)(),
|
|
1141
1141
|
width: "1000px",
|
|
1142
1142
|
executing: e(f),
|
|
1143
1143
|
onClosed: n,
|
|
1144
|
-
onSubmit: e(
|
|
1144
|
+
onSubmit: e(A)
|
|
1145
1145
|
}, {
|
|
1146
1146
|
default: o(() => [
|
|
1147
1147
|
l(w, {
|
|
@@ -1180,7 +1180,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1180
1180
|
prop: "sort"
|
|
1181
1181
|
}, {
|
|
1182
1182
|
default: o(() => [
|
|
1183
|
-
l(
|
|
1183
|
+
l(M, {
|
|
1184
1184
|
class: "w-full",
|
|
1185
1185
|
modelValue: e(v).sort,
|
|
1186
1186
|
"onUpdate:modelValue": r[1] || (r[1] = (q) => e(v).sort = q),
|
|
@@ -1306,7 +1306,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1306
1306
|
}
|
|
1307
1307
|
], {
|
|
1308
1308
|
requesting: h
|
|
1309
|
-
} =
|
|
1309
|
+
} = E(he), {
|
|
1310
1310
|
tableRef: V,
|
|
1311
1311
|
formModalRef: _,
|
|
1312
1312
|
keyword: c,
|
|
@@ -1315,9 +1315,9 @@ const Il = /* @__PURE__ */ O({
|
|
|
1315
1315
|
refresh: t,
|
|
1316
1316
|
openFormModal: v,
|
|
1317
1317
|
editFormModal: u
|
|
1318
|
-
} =
|
|
1318
|
+
} = F(U);
|
|
1319
1319
|
return (f, g) => {
|
|
1320
|
-
const b = s("el-input"),
|
|
1320
|
+
const b = s("el-input"), A = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
1321
1321
|
return L(), T(n, {
|
|
1322
1322
|
class: "basic-card flex-full",
|
|
1323
1323
|
"body-class": "flex-1"
|
|
@@ -1331,7 +1331,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1331
1331
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1332
1332
|
onOpen: e(v)
|
|
1333
1333
|
}, null, 8, ["onOpen"])]),
|
|
1334
|
-
content: o(() => [l(
|
|
1334
|
+
content: o(() => [l(A, {
|
|
1335
1335
|
class: "search-bar"
|
|
1336
1336
|
}, {
|
|
1337
1337
|
default: o(() => [l(b, {
|
|
@@ -1395,7 +1395,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1395
1395
|
}) {
|
|
1396
1396
|
const k = U, h = R, {
|
|
1397
1397
|
requesting: V
|
|
1398
|
-
} =
|
|
1398
|
+
} = E(H), {
|
|
1399
1399
|
value: _,
|
|
1400
1400
|
options: c,
|
|
1401
1401
|
change: i,
|
|
@@ -1412,7 +1412,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1412
1412
|
return L(), T(g, {
|
|
1413
1413
|
class: "w-full",
|
|
1414
1414
|
modelValue: e(_),
|
|
1415
|
-
"onUpdate:modelValue": u[1] || (u[1] = (b) =>
|
|
1415
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => P(_) ? _.value = b : null),
|
|
1416
1416
|
options: e(c),
|
|
1417
1417
|
multiple: R.multiple,
|
|
1418
1418
|
disabled: e(V),
|
|
@@ -1493,15 +1493,15 @@ const Il = /* @__PURE__ */ O({
|
|
|
1493
1493
|
});
|
|
1494
1494
|
}
|
|
1495
1495
|
p();
|
|
1496
|
-
const { modal: t, title: v, form: u, formData: f, requesting: g, executing: b, open:
|
|
1496
|
+
const { modal: t, title: v, form: u, formData: f, requesting: g, executing: b, open: A, modify: x, submit: n, closed: d } = J(h, V, H);
|
|
1497
1497
|
return U({
|
|
1498
|
-
open:
|
|
1498
|
+
open: A,
|
|
1499
1499
|
modify: x
|
|
1500
1500
|
}), (r, y) => {
|
|
1501
|
-
const m = s("el-form-item"), S = s("el-input"),
|
|
1501
|
+
const m = s("el-form-item"), S = s("el-input"), M = s("el-space"), C = s("el-form");
|
|
1502
1502
|
return L(), T(e(ee), {
|
|
1503
1503
|
modelValue: e(t),
|
|
1504
|
-
"onUpdate:modelValue": y[3] || (y[3] = (w) =>
|
|
1504
|
+
"onUpdate:modelValue": y[3] || (y[3] = (w) => P(t) ? t.value = w : null),
|
|
1505
1505
|
title: e(v)(),
|
|
1506
1506
|
width: "600px",
|
|
1507
1507
|
executing: e(b),
|
|
@@ -1551,13 +1551,13 @@ const Il = /* @__PURE__ */ O({
|
|
|
1551
1551
|
required: ""
|
|
1552
1552
|
}, {
|
|
1553
1553
|
default: o(() => [
|
|
1554
|
-
l(
|
|
1554
|
+
l(M, {
|
|
1555
1555
|
direction: "vertical",
|
|
1556
1556
|
fill: "",
|
|
1557
1557
|
style: { width: "100%" }
|
|
1558
1558
|
}, {
|
|
1559
1559
|
default: o(() => [
|
|
1560
|
-
(L(!0),
|
|
1560
|
+
(L(!0), B(G, null, ae(c.value, (w) => (L(), B("div", { key: w }, [
|
|
1561
1561
|
l(S, {
|
|
1562
1562
|
modelValue: e(f).language[w],
|
|
1563
1563
|
"onUpdate:modelValue": (q) => e(f).language[w] = q,
|
|
@@ -1626,7 +1626,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1626
1626
|
render: ({
|
|
1627
1627
|
row: y
|
|
1628
1628
|
}) => {
|
|
1629
|
-
const S = Object.keys(y.language).filter((
|
|
1629
|
+
const S = Object.keys(y.language).filter((M) => !!y.language[M]).map((M) => `${M}: ${y.language[M]}`).join("; ");
|
|
1630
1630
|
return l(s("el-space"), null, bl(S) ? S : {
|
|
1631
1631
|
default: () => [S]
|
|
1632
1632
|
});
|
|
@@ -1666,16 +1666,16 @@ const qe = /* @__PURE__ */ O({
|
|
|
1666
1666
|
}], {
|
|
1667
1667
|
requesting: i,
|
|
1668
1668
|
executing: p
|
|
1669
|
-
} =
|
|
1669
|
+
} = E(H), {
|
|
1670
1670
|
tableRef: t,
|
|
1671
1671
|
formModalRef: v,
|
|
1672
1672
|
keyword: u,
|
|
1673
1673
|
search: f,
|
|
1674
1674
|
reset: g,
|
|
1675
1675
|
refresh: b,
|
|
1676
|
-
openFormModal:
|
|
1676
|
+
openFormModal: A,
|
|
1677
1677
|
editFormModal: x
|
|
1678
|
-
} =
|
|
1678
|
+
} = F(_);
|
|
1679
1679
|
function n(y) {
|
|
1680
1680
|
return H.remove({
|
|
1681
1681
|
uuid: y
|
|
@@ -1694,7 +1694,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1694
1694
|
}), U({
|
|
1695
1695
|
open: d
|
|
1696
1696
|
}), (y, m) => {
|
|
1697
|
-
const S = s("el-input"),
|
|
1697
|
+
const S = s("el-input"), M = s("el-radio-button"), C = s("el-radio-group"), w = s("el-space"), q = s("el-page-header");
|
|
1698
1698
|
return L(), T(e(ce), {
|
|
1699
1699
|
modelValue: h.value,
|
|
1700
1700
|
"onUpdate:modelValue": m[7] || (m[7] = (D) => h.value = D),
|
|
@@ -1709,7 +1709,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1709
1709
|
loading: e(i),
|
|
1710
1710
|
onRefresh: e(g)
|
|
1711
1711
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1712
|
-
onOpen: e(
|
|
1712
|
+
onOpen: e(A)
|
|
1713
1713
|
}, null, 8, ["onOpen"])]),
|
|
1714
1714
|
content: o(() => [l(w, {
|
|
1715
1715
|
class: "search-bar"
|
|
@@ -1733,9 +1733,9 @@ const qe = /* @__PURE__ */ O({
|
|
|
1733
1733
|
"onUpdate:modelValue": m[4] || (m[4] = (D) => e(u).status = D),
|
|
1734
1734
|
onChange: m[5] || (m[5] = (D) => e(f)())
|
|
1735
1735
|
}, {
|
|
1736
|
-
default: o(() => [(L(),
|
|
1736
|
+
default: o(() => [(L(), B(G, null, ae([0, 1, 2], (D) => l(M, {
|
|
1737
1737
|
key: D,
|
|
1738
|
-
label: e(a)(`
|
|
1738
|
+
label: e(a)(`status.${D}`),
|
|
1739
1739
|
value: D
|
|
1740
1740
|
}, null, 8, ["label", "value"])), 64))]),
|
|
1741
1741
|
_: 1
|
|
@@ -1768,7 +1768,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1768
1768
|
__name: "template",
|
|
1769
1769
|
emits: ["refresh"],
|
|
1770
1770
|
setup(R, { expose: U, emit: k }) {
|
|
1771
|
-
const { formModalRef: h, openFormModal: V } =
|
|
1771
|
+
const { formModalRef: h, openFormModal: V } = F(), _ = k, c = I("600px"), i = I({
|
|
1772
1772
|
"zh-CN": "primary",
|
|
1773
1773
|
"en-US": "success"
|
|
1774
1774
|
}), p = I({}), t = {
|
|
@@ -1799,14 +1799,14 @@ const qe = /* @__PURE__ */ O({
|
|
|
1799
1799
|
trigger: "change"
|
|
1800
1800
|
}
|
|
1801
1801
|
]
|
|
1802
|
-
}, { modal: u, title: f, form: g, formData: b, requesting:
|
|
1802
|
+
}, { modal: u, title: f, form: g, formData: b, requesting: A, executing: x, open: n, modify: d, submit: r, closed: y } = J(_, t, ne);
|
|
1803
1803
|
function m() {
|
|
1804
1804
|
c.value = "1080px", V();
|
|
1805
1805
|
}
|
|
1806
1806
|
function S() {
|
|
1807
1807
|
c.value = "600px";
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function M(C) {
|
|
1810
1810
|
let w = C.module.toLowerCase() + "." + C.key.toLowerCase();
|
|
1811
1811
|
b.keys.push(w), b.values.push(w);
|
|
1812
1812
|
for (const q in C.language)
|
|
@@ -1818,10 +1818,10 @@ const qe = /* @__PURE__ */ O({
|
|
|
1818
1818
|
open: n,
|
|
1819
1819
|
modify: d
|
|
1820
1820
|
}), (C, w) => {
|
|
1821
|
-
const q = s("el-page-header"), D = s("el-form-item"),
|
|
1821
|
+
const q = s("el-page-header"), D = s("el-form-item"), $e = s("el-button"), Re = s("el-input"), Fe = s("el-tag"), Ee = s("el-space"), ze = s("el-form");
|
|
1822
1822
|
return L(), T(e(ce), {
|
|
1823
1823
|
modelValue: e(u),
|
|
1824
|
-
"onUpdate:modelValue": w[3] || (w[3] = (X) =>
|
|
1824
|
+
"onUpdate:modelValue": w[3] || (w[3] = (X) => P(u) ? u.value = X : null),
|
|
1825
1825
|
width: c.value,
|
|
1826
1826
|
"show-close": !1,
|
|
1827
1827
|
class: "basic-drawer"
|
|
@@ -1852,7 +1852,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1852
1852
|
model: e(b),
|
|
1853
1853
|
"label-width": "auto",
|
|
1854
1854
|
rules: v,
|
|
1855
|
-
disabled: e(
|
|
1855
|
+
disabled: e(A) || e(x)
|
|
1856
1856
|
}, {
|
|
1857
1857
|
default: o(() => [
|
|
1858
1858
|
l(D, {
|
|
@@ -1861,7 +1861,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1861
1861
|
required: ""
|
|
1862
1862
|
}, {
|
|
1863
1863
|
default: o(() => [
|
|
1864
|
-
l(e(
|
|
1864
|
+
l(e(Ae), {
|
|
1865
1865
|
modelValue: e(b).app,
|
|
1866
1866
|
"onUpdate:modelValue": w[0] || (w[0] = (X) => e(b).app = X),
|
|
1867
1867
|
"cache-key": "I18NAPPS",
|
|
@@ -1883,7 +1883,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1883
1883
|
placeholder: e(a)("i18n.placeholder.key")
|
|
1884
1884
|
}, {
|
|
1885
1885
|
append: o(() => [
|
|
1886
|
-
l(
|
|
1886
|
+
l($e, {
|
|
1887
1887
|
icon: e(nl),
|
|
1888
1888
|
onClick: m
|
|
1889
1889
|
}, null, 8, ["icon"])
|
|
@@ -1907,13 +1907,13 @@ const qe = /* @__PURE__ */ O({
|
|
|
1907
1907
|
label: e(a)("i18n.values")
|
|
1908
1908
|
}, {
|
|
1909
1909
|
default: o(() => [
|
|
1910
|
-
(L(!0),
|
|
1910
|
+
(L(!0), B(G, null, ae(p.value, (X, Ve) => (L(), B("div", {
|
|
1911
1911
|
key: Ve,
|
|
1912
1912
|
class: "w-full"
|
|
1913
1913
|
}, [
|
|
1914
|
-
l(
|
|
1914
|
+
l(Ee, null, {
|
|
1915
1915
|
default: o(() => [
|
|
1916
|
-
l(
|
|
1916
|
+
l(Fe, {
|
|
1917
1917
|
type: i.value[Ve],
|
|
1918
1918
|
style: { "min-width": "80px" }
|
|
1919
1919
|
}, {
|
|
@@ -1949,7 +1949,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1949
1949
|
l(qe, {
|
|
1950
1950
|
ref_key: "I18nTableDrawerRef",
|
|
1951
1951
|
ref: h,
|
|
1952
|
-
onChoosed:
|
|
1952
|
+
onChoosed: M,
|
|
1953
1953
|
onClosed: S
|
|
1954
1954
|
}, null, 512)
|
|
1955
1955
|
]),
|
|
@@ -1963,7 +1963,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1963
1963
|
function hl(R) {
|
|
1964
1964
|
return typeof R == "function" || Object.prototype.toString.call(R) === "[object Object]" && !ve(R);
|
|
1965
1965
|
}
|
|
1966
|
-
const
|
|
1966
|
+
const Pl = /* @__PURE__ */ O({
|
|
1967
1967
|
__name: "index",
|
|
1968
1968
|
setup(R) {
|
|
1969
1969
|
const U = {
|
|
@@ -2035,16 +2035,16 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2035
2035
|
text: !0,
|
|
2036
2036
|
type: "danger",
|
|
2037
2037
|
loading: V.value,
|
|
2038
|
-
onClick: () =>
|
|
2038
|
+
onClick: () => A(d.uuid)
|
|
2039
2039
|
}, null)]
|
|
2040
2040
|
})
|
|
2041
2041
|
}], {
|
|
2042
2042
|
requesting: h,
|
|
2043
2043
|
executing: V
|
|
2044
|
-
} =
|
|
2044
|
+
} = E(ne), {
|
|
2045
2045
|
formModalRef: _,
|
|
2046
2046
|
openFormModal: c
|
|
2047
|
-
} =
|
|
2047
|
+
} = F(), {
|
|
2048
2048
|
tableRef: i,
|
|
2049
2049
|
formModalRef: p,
|
|
2050
2050
|
keyword: t,
|
|
@@ -2053,8 +2053,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2053
2053
|
refresh: f,
|
|
2054
2054
|
openFormModal: g,
|
|
2055
2055
|
editFormModal: b
|
|
2056
|
-
} =
|
|
2057
|
-
function
|
|
2056
|
+
} = F(U);
|
|
2057
|
+
function A(d) {
|
|
2058
2058
|
return ne.remove({
|
|
2059
2059
|
uuid: d
|
|
2060
2060
|
}).finally(() => {
|
|
@@ -2072,7 +2072,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2072
2072
|
});
|
|
2073
2073
|
}
|
|
2074
2074
|
return (d, r) => {
|
|
2075
|
-
const y = s("el-divider"), m = s("el-input"), S = s("el-radio-button"),
|
|
2075
|
+
const y = s("el-divider"), m = s("el-input"), S = s("el-radio-button"), M = s("el-radio-group"), C = s("el-space"), w = s("el-page-header"), q = s("el-card");
|
|
2076
2076
|
return L(), T(q, {
|
|
2077
2077
|
class: "basic-card flex-full",
|
|
2078
2078
|
"body-class": "flex-1"
|
|
@@ -2117,20 +2117,20 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2117
2117
|
clearable: "",
|
|
2118
2118
|
onKeyup: r[1] || (r[1] = _e((D) => e(v)(), ["enter"])),
|
|
2119
2119
|
onClear: r[2] || (r[2] = (D) => e(v)())
|
|
2120
|
-
}, null, 8, ["modelValue", "placeholder"]), l(e(
|
|
2120
|
+
}, null, 8, ["modelValue", "placeholder"]), l(e(Ae), {
|
|
2121
2121
|
modelValue: e(t).app,
|
|
2122
2122
|
"onUpdate:modelValue": r[3] || (r[3] = (D) => e(t).app = D),
|
|
2123
2123
|
"cache-key": "I18NAPPS",
|
|
2124
2124
|
url: e(ne).urls.apps,
|
|
2125
2125
|
onChange: r[4] || (r[4] = (D) => e(v)())
|
|
2126
|
-
}, null, 8, ["modelValue", "url"]), l(
|
|
2126
|
+
}, null, 8, ["modelValue", "url"]), l(M, {
|
|
2127
2127
|
modelValue: e(t).status,
|
|
2128
2128
|
"onUpdate:modelValue": r[5] || (r[5] = (D) => e(t).status = D),
|
|
2129
2129
|
onChange: r[6] || (r[6] = (D) => e(v)())
|
|
2130
2130
|
}, {
|
|
2131
|
-
default: o(() => [(L(),
|
|
2131
|
+
default: o(() => [(L(), B(G, null, ae([0, 1, 2], (D) => l(S, {
|
|
2132
2132
|
key: D,
|
|
2133
|
-
label: e(a)(`
|
|
2133
|
+
label: e(a)(`status.${D}`),
|
|
2134
2134
|
value: D
|
|
2135
2135
|
}, null, 8, ["label", "value"])), 64))]),
|
|
2136
2136
|
_: 1
|
|
@@ -2175,7 +2175,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2175
2175
|
language: "zh-CN",
|
|
2176
2176
|
remark: "",
|
|
2177
2177
|
roles: []
|
|
2178
|
-
}, { modal: _, title: c, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: g, closed: b } = J(h, V, ye),
|
|
2178
|
+
}, { modal: _, title: c, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: g, closed: b } = J(h, V, ye), A = {
|
|
2179
2179
|
username: [
|
|
2180
2180
|
{
|
|
2181
2181
|
required: !0,
|
|
@@ -2230,10 +2230,10 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2230
2230
|
open: u,
|
|
2231
2231
|
modify: f
|
|
2232
2232
|
}), (d, r) => {
|
|
2233
|
-
const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"),
|
|
2233
|
+
const y = s("el-input"), m = s("el-form-item"), S = s("el-radio-button"), M = s("el-radio-group"), C = s("el-checkbox"), w = s("el-checkbox-group"), q = s("el-form");
|
|
2234
2234
|
return L(), T(e(ee), {
|
|
2235
2235
|
modelValue: e(_),
|
|
2236
|
-
"onUpdate:modelValue": r[7] || (r[7] = (D) =>
|
|
2236
|
+
"onUpdate:modelValue": r[7] || (r[7] = (D) => P(_) ? _.value = D : null),
|
|
2237
2237
|
title: e(c)(),
|
|
2238
2238
|
width: "600px",
|
|
2239
2239
|
executing: e(v),
|
|
@@ -2246,7 +2246,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2246
2246
|
ref: i,
|
|
2247
2247
|
model: e(p),
|
|
2248
2248
|
"label-width": "auto",
|
|
2249
|
-
rules:
|
|
2249
|
+
rules: A,
|
|
2250
2250
|
disabled: e(t) || e(v)
|
|
2251
2251
|
}, {
|
|
2252
2252
|
default: o(() => [
|
|
@@ -2258,7 +2258,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2258
2258
|
l(y, {
|
|
2259
2259
|
modelValue: e(p).username,
|
|
2260
2260
|
"onUpdate:modelValue": r[0] || (r[0] = (D) => e(p).username = D),
|
|
2261
|
-
placeholder: e(a)("
|
|
2261
|
+
placeholder: e(a)("placeholder.input"),
|
|
2262
2262
|
autocomplete: "off"
|
|
2263
2263
|
}, null, 8, ["modelValue", "placeholder"])
|
|
2264
2264
|
]),
|
|
@@ -2272,7 +2272,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2272
2272
|
l(y, {
|
|
2273
2273
|
modelValue: e(p).phone,
|
|
2274
2274
|
"onUpdate:modelValue": r[1] || (r[1] = (D) => e(p).phone = D),
|
|
2275
|
-
placeholder: e(a)("
|
|
2275
|
+
placeholder: e(a)("placeholder.input"),
|
|
2276
2276
|
autocomplete: "off"
|
|
2277
2277
|
}, null, 8, ["modelValue", "placeholder"])
|
|
2278
2278
|
]),
|
|
@@ -2287,7 +2287,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2287
2287
|
l(y, {
|
|
2288
2288
|
modelValue: e(p).password,
|
|
2289
2289
|
"onUpdate:modelValue": r[2] || (r[2] = (D) => e(p).password = D),
|
|
2290
|
-
placeholder: e(a)("
|
|
2290
|
+
placeholder: e(a)("placeholder.input"),
|
|
2291
2291
|
autocomplete: "off"
|
|
2292
2292
|
}, null, 8, ["modelValue", "placeholder"])
|
|
2293
2293
|
]),
|
|
@@ -2301,7 +2301,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2301
2301
|
l(y, {
|
|
2302
2302
|
modelValue: e(p).email,
|
|
2303
2303
|
"onUpdate:modelValue": r[3] || (r[3] = (D) => e(p).email = D),
|
|
2304
|
-
placeholder: e(a)("
|
|
2304
|
+
placeholder: e(a)("placeholder.input"),
|
|
2305
2305
|
autocomplete: "off"
|
|
2306
2306
|
}, null, 8, ["modelValue", "placeholder"])
|
|
2307
2307
|
]),
|
|
@@ -2312,7 +2312,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2312
2312
|
prop: "language"
|
|
2313
2313
|
}, {
|
|
2314
2314
|
default: o(() => [
|
|
2315
|
-
l(
|
|
2315
|
+
l(M, {
|
|
2316
2316
|
modelValue: e(p).language,
|
|
2317
2317
|
"onUpdate:modelValue": r[4] || (r[4] = (D) => e(p).language = D)
|
|
2318
2318
|
}, {
|
|
@@ -2345,7 +2345,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2345
2345
|
"onUpdate:modelValue": r[5] || (r[5] = (D) => e(p).roles = D)
|
|
2346
2346
|
}, {
|
|
2347
2347
|
default: o(() => [
|
|
2348
|
-
(L(!0),
|
|
2348
|
+
(L(!0), B(G, null, ae(x.value, (D) => (L(), T(C, {
|
|
2349
2349
|
key: D.key,
|
|
2350
2350
|
value: D.key
|
|
2351
2351
|
}, {
|
|
@@ -2381,7 +2381,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2381
2381
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
2382
2382
|
};
|
|
2383
2383
|
}
|
|
2384
|
-
}),
|
|
2384
|
+
}), Bl = /* @__PURE__ */ O({
|
|
2385
2385
|
__name: "index",
|
|
2386
2386
|
setup(R) {
|
|
2387
2387
|
const U = {
|
|
@@ -2441,7 +2441,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2441
2441
|
}, null)
|
|
2442
2442
|
}], {
|
|
2443
2443
|
requesting: h
|
|
2444
|
-
} =
|
|
2444
|
+
} = E(ye), {
|
|
2445
2445
|
tableRef: V,
|
|
2446
2446
|
formModalRef: _,
|
|
2447
2447
|
keyword: c,
|
|
@@ -2450,9 +2450,9 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2450
2450
|
refresh: t,
|
|
2451
2451
|
openFormModal: v,
|
|
2452
2452
|
editFormModal: u
|
|
2453
|
-
} =
|
|
2453
|
+
} = F(U);
|
|
2454
2454
|
return (f, g) => {
|
|
2455
|
-
const b = s("el-input"),
|
|
2455
|
+
const b = s("el-input"), A = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
2456
2456
|
return L(), T(n, {
|
|
2457
2457
|
class: "basic-card flex-full",
|
|
2458
2458
|
"body-class": "flex-1"
|
|
@@ -2466,7 +2466,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2466
2466
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2467
2467
|
onOpen: e(v)
|
|
2468
2468
|
}, null, 8, ["onOpen"])]),
|
|
2469
|
-
content: o(() => [l(
|
|
2469
|
+
content: o(() => [l(A, {
|
|
2470
2470
|
class: "search-bar"
|
|
2471
2471
|
}, {
|
|
2472
2472
|
default: o(() => [l(b, {
|
|
@@ -2523,7 +2523,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2523
2523
|
}) {
|
|
2524
2524
|
const h = k, V = R, {
|
|
2525
2525
|
requesting: _
|
|
2526
|
-
} =
|
|
2526
|
+
} = E(fe), {
|
|
2527
2527
|
key: c,
|
|
2528
2528
|
options: i,
|
|
2529
2529
|
refresh: p,
|
|
@@ -2539,7 +2539,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2539
2539
|
const f = s("el-select-v2");
|
|
2540
2540
|
return L(), T(f, {
|
|
2541
2541
|
modelValue: e(c),
|
|
2542
|
-
"onUpdate:modelValue": u[0] || (u[0] = (g) =>
|
|
2542
|
+
"onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
|
|
2543
2543
|
options: e(i),
|
|
2544
2544
|
disabled: R.disabled || e(_),
|
|
2545
2545
|
placeholder: e(a)("base.select config.domain"),
|
|
@@ -2572,7 +2572,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2572
2572
|
prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
|
|
2573
2573
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
|
|
2574
2574
|
en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
|
|
2575
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed:
|
|
2575
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, se);
|
|
2576
2576
|
return U({
|
|
2577
2577
|
open: f,
|
|
2578
2578
|
modify: g
|
|
@@ -2580,11 +2580,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2580
2580
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
|
|
2581
2581
|
return L(), T(e(ee), {
|
|
2582
2582
|
modelValue: e(c),
|
|
2583
|
-
"onUpdate:modelValue": n[7] || (n[7] = (m) =>
|
|
2583
|
+
"onUpdate:modelValue": n[7] || (n[7] = (m) => P(c) ? c.value = m : null),
|
|
2584
2584
|
title: e(i)("config.site"),
|
|
2585
2585
|
width: "600px",
|
|
2586
2586
|
executing: e(u),
|
|
2587
|
-
onClosed: e(
|
|
2587
|
+
onClosed: e(A),
|
|
2588
2588
|
onSubmit: e(b)
|
|
2589
2589
|
}, {
|
|
2590
2590
|
default: o(() => [
|
|
@@ -2721,7 +2721,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2721
2721
|
}) {
|
|
2722
2722
|
const h = k, V = R, {
|
|
2723
2723
|
requesting: _
|
|
2724
|
-
} =
|
|
2724
|
+
} = E(be), {
|
|
2725
2725
|
key: c,
|
|
2726
2726
|
options: i,
|
|
2727
2727
|
refresh: p,
|
|
@@ -2737,7 +2737,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2737
2737
|
const f = s("el-select-v2");
|
|
2738
2738
|
return L(), T(f, {
|
|
2739
2739
|
modelValue: e(c),
|
|
2740
|
-
"onUpdate:modelValue": u[0] || (u[0] = (g) =>
|
|
2740
|
+
"onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
|
|
2741
2741
|
options: e(i),
|
|
2742
2742
|
disabled: R.disabled || e(_),
|
|
2743
2743
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
@@ -2765,7 +2765,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2765
2765
|
}, _ = {
|
|
2766
2766
|
provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2767
2767
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
|
|
2768
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed:
|
|
2768
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, fe);
|
|
2769
2769
|
return U({
|
|
2770
2770
|
open: f,
|
|
2771
2771
|
modify: g
|
|
@@ -2773,11 +2773,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2773
2773
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), m = s("el-form");
|
|
2774
2774
|
return L(), T(e(ee), {
|
|
2775
2775
|
modelValue: e(c),
|
|
2776
|
-
"onUpdate:modelValue": n[4] || (n[4] = (S) =>
|
|
2776
|
+
"onUpdate:modelValue": n[4] || (n[4] = (S) => P(c) ? c.value = S : null),
|
|
2777
2777
|
title: e(i)("config.domain"),
|
|
2778
2778
|
width: "600px",
|
|
2779
2779
|
executing: e(u),
|
|
2780
|
-
onClosed: e(
|
|
2780
|
+
onClosed: e(A),
|
|
2781
2781
|
onSubmit: e(b)
|
|
2782
2782
|
}, {
|
|
2783
2783
|
default: o(() => [
|
|
@@ -2829,8 +2829,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2829
2829
|
modelValue: e(t).expired_at,
|
|
2830
2830
|
"onUpdate:modelValue": n[2] || (n[2] = (S) => e(t).expired_at = S),
|
|
2831
2831
|
disabled: e(u),
|
|
2832
|
-
"value-format": e(
|
|
2833
|
-
format: e(
|
|
2832
|
+
"value-format": e($).DATE_VALUE_FORMAT,
|
|
2833
|
+
format: e($).DATE_FORMAT,
|
|
2834
2834
|
placeholder: e(a)("base.placeholder.select")
|
|
2835
2835
|
}, null, 8, ["modelValue", "disabled", "value-format", "format", "placeholder"])
|
|
2836
2836
|
]),
|
|
@@ -2879,7 +2879,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2879
2879
|
}) {
|
|
2880
2880
|
const h = k, V = R, {
|
|
2881
2881
|
requesting: _
|
|
2882
|
-
} =
|
|
2882
|
+
} = E(se), {
|
|
2883
2883
|
key: c,
|
|
2884
2884
|
options: i,
|
|
2885
2885
|
refresh: p,
|
|
@@ -2904,7 +2904,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2904
2904
|
const f = s("el-select-v2");
|
|
2905
2905
|
return L(), T(f, {
|
|
2906
2906
|
modelValue: e(c),
|
|
2907
|
-
"onUpdate:modelValue": u[0] || (u[0] = (g) =>
|
|
2907
|
+
"onUpdate:modelValue": u[0] || (u[0] = (g) => P(c) ? c.value = g : null),
|
|
2908
2908
|
options: e(i),
|
|
2909
2909
|
disabled: R.disabled || e(_),
|
|
2910
2910
|
placeholder: e(a)("base.select config.domain"),
|
|
@@ -2939,7 +2939,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2939
2939
|
path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
|
|
2940
2940
|
email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
|
|
2941
2941
|
encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
|
|
2942
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed:
|
|
2942
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, ue);
|
|
2943
2943
|
return U({
|
|
2944
2944
|
open: f,
|
|
2945
2945
|
modify: g,
|
|
@@ -2948,11 +2948,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2948
2948
|
const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), m = s("el-input"), S = s("el-form");
|
|
2949
2949
|
return L(), T(e(ee), {
|
|
2950
2950
|
modelValue: e(c),
|
|
2951
|
-
"onUpdate:modelValue": n[8] || (n[8] = (
|
|
2951
|
+
"onUpdate:modelValue": n[8] || (n[8] = (M) => P(c) ? c.value = M : null),
|
|
2952
2952
|
title: e(i)("ssl.ssl"),
|
|
2953
2953
|
width: "600px",
|
|
2954
2954
|
executing: e(u),
|
|
2955
|
-
onClosed: e(
|
|
2955
|
+
onClosed: e(A),
|
|
2956
2956
|
onSubmit: e(b)
|
|
2957
2957
|
}, {
|
|
2958
2958
|
default: o(() => [
|
|
@@ -2972,7 +2972,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2972
2972
|
default: o(() => [
|
|
2973
2973
|
l(Te, {
|
|
2974
2974
|
modelValue: e(t).domain_id,
|
|
2975
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
2975
|
+
"onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).domain_id = M),
|
|
2976
2976
|
disabled: e(u)
|
|
2977
2977
|
}, null, 8, ["modelValue", "disabled"])
|
|
2978
2978
|
]),
|
|
@@ -2985,7 +2985,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2985
2985
|
default: o(() => [
|
|
2986
2986
|
l(y, {
|
|
2987
2987
|
modelValue: e(t).client,
|
|
2988
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
2988
|
+
"onUpdate:modelValue": n[1] || (n[1] = (M) => e(t).client = M)
|
|
2989
2989
|
}, {
|
|
2990
2990
|
default: o(() => [
|
|
2991
2991
|
l(r, {
|
|
@@ -3005,7 +3005,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3005
3005
|
default: o(() => [
|
|
3006
3006
|
l(Rl, {
|
|
3007
3007
|
modelValue: e(t).site_id,
|
|
3008
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
3008
|
+
"onUpdate:modelValue": n[2] || (n[2] = (M) => e(t).site_id = M),
|
|
3009
3009
|
disabled: e(u)
|
|
3010
3010
|
}, null, 8, ["modelValue", "disabled"])
|
|
3011
3011
|
]),
|
|
@@ -3018,7 +3018,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3018
3018
|
default: o(() => [
|
|
3019
3019
|
l(m, {
|
|
3020
3020
|
modelValue: e(t).name,
|
|
3021
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
3021
|
+
"onUpdate:modelValue": n[3] || (n[3] = (M) => e(t).name = M),
|
|
3022
3022
|
disabled: e(u),
|
|
3023
3023
|
placeholder: e(a)("base.placeholder.input")
|
|
3024
3024
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3032,7 +3032,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3032
3032
|
default: o(() => [
|
|
3033
3033
|
l(m, {
|
|
3034
3034
|
modelValue: e(t).path,
|
|
3035
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
3035
|
+
"onUpdate:modelValue": n[4] || (n[4] = (M) => e(t).path = M),
|
|
3036
3036
|
disabled: e(u),
|
|
3037
3037
|
placeholder: e(a)("base.placeholder.input")
|
|
3038
3038
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3046,7 +3046,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3046
3046
|
default: o(() => [
|
|
3047
3047
|
l(m, {
|
|
3048
3048
|
modelValue: e(t).email,
|
|
3049
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
3049
|
+
"onUpdate:modelValue": n[5] || (n[5] = (M) => e(t).email = M),
|
|
3050
3050
|
disabled: e(u),
|
|
3051
3051
|
placeholder: e(a)("base.placeholder.input")
|
|
3052
3052
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3060,7 +3060,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3060
3060
|
default: o(() => [
|
|
3061
3061
|
l(y, {
|
|
3062
3062
|
modelValue: e(t).encryption,
|
|
3063
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
3063
|
+
"onUpdate:modelValue": n[6] || (n[6] = (M) => e(t).encryption = M)
|
|
3064
3064
|
}, {
|
|
3065
3065
|
default: o(() => [
|
|
3066
3066
|
l(r, {
|
|
@@ -3080,7 +3080,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3080
3080
|
default: o(() => [
|
|
3081
3081
|
l(m, {
|
|
3082
3082
|
modelValue: e(t).remark,
|
|
3083
|
-
"onUpdate:modelValue": n[7] || (n[7] = (
|
|
3083
|
+
"onUpdate:modelValue": n[7] || (n[7] = (M) => e(t).remark = M),
|
|
3084
3084
|
disabled: e(u),
|
|
3085
3085
|
placeholder: e(a)("base.placeholder.input")
|
|
3086
3086
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3114,7 +3114,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3114
3114
|
key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
|
|
3115
3115
|
secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
|
|
3116
3116
|
end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
|
|
3117
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed:
|
|
3117
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: A } = J(h, V, be);
|
|
3118
3118
|
return U({
|
|
3119
3119
|
open: f,
|
|
3120
3120
|
modify: g
|
|
@@ -3122,11 +3122,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3122
3122
|
const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
|
|
3123
3123
|
return L(), T(e(ee), {
|
|
3124
3124
|
modelValue: e(c),
|
|
3125
|
-
"onUpdate:modelValue": n[6] || (n[6] = (m) =>
|
|
3125
|
+
"onUpdate:modelValue": n[6] || (n[6] = (m) => P(c) ? c.value = m : null),
|
|
3126
3126
|
title: e(i)("config.domain"),
|
|
3127
3127
|
width: "600px",
|
|
3128
3128
|
executing: e(u),
|
|
3129
|
-
onClosed: e(
|
|
3129
|
+
onClosed: e(A),
|
|
3130
3130
|
onSubmit: e(b)
|
|
3131
3131
|
}, {
|
|
3132
3132
|
default: o(() => [
|
|
@@ -3231,20 +3231,20 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3231
3231
|
}, 8, ["modelValue", "title", "executing", "onClosed", "onSubmit"]);
|
|
3232
3232
|
};
|
|
3233
3233
|
}
|
|
3234
|
-
}),
|
|
3234
|
+
}), Ml = /* @__PURE__ */ O({
|
|
3235
3235
|
__name: "DomainProviderTableDrawer",
|
|
3236
3236
|
setup(R, {
|
|
3237
3237
|
expose: U
|
|
3238
3238
|
}) {
|
|
3239
3239
|
const {
|
|
3240
3240
|
requesting: k
|
|
3241
|
-
} =
|
|
3241
|
+
} = E(be), h = I(!1), {
|
|
3242
3242
|
tableRef: V,
|
|
3243
3243
|
formModalRef: _,
|
|
3244
3244
|
refresh: c,
|
|
3245
3245
|
openFormModal: i,
|
|
3246
3246
|
editFormModal: p
|
|
3247
|
-
} =
|
|
3247
|
+
} = F({}), t = [{
|
|
3248
3248
|
prop: "name",
|
|
3249
3249
|
label: a("base.name"),
|
|
3250
3250
|
width: 0,
|
|
@@ -3314,27 +3314,27 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3314
3314
|
}, 8, ["modelValue"]);
|
|
3315
3315
|
};
|
|
3316
3316
|
}
|
|
3317
|
-
}),
|
|
3317
|
+
}), Al = /* @__PURE__ */ O({
|
|
3318
3318
|
__name: "DomainTableDrawer",
|
|
3319
3319
|
setup(R, {
|
|
3320
3320
|
expose: U
|
|
3321
3321
|
}) {
|
|
3322
3322
|
const {
|
|
3323
3323
|
requesting: k
|
|
3324
|
-
} =
|
|
3324
|
+
} = E(fe), h = I(!1), {
|
|
3325
3325
|
tableRef: V,
|
|
3326
3326
|
formModalRef: _,
|
|
3327
3327
|
refresh: c,
|
|
3328
3328
|
openFormModal: i,
|
|
3329
3329
|
editFormModal: p
|
|
3330
|
-
} =
|
|
3330
|
+
} = F(), {
|
|
3331
3331
|
formModalRef: t,
|
|
3332
3332
|
openFormModal: v,
|
|
3333
3333
|
editFormModal: u
|
|
3334
|
-
} =
|
|
3334
|
+
} = F(), {
|
|
3335
3335
|
formModalRef: f,
|
|
3336
3336
|
openFormModal: g
|
|
3337
|
-
} =
|
|
3337
|
+
} = F(), b = [{
|
|
3338
3338
|
prop: "provider",
|
|
3339
3339
|
label: a("config.domain config.provider"),
|
|
3340
3340
|
width: 120,
|
|
@@ -3435,7 +3435,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3435
3435
|
ref_key: "sslFormModalRef",
|
|
3436
3436
|
ref: t,
|
|
3437
3437
|
onRefresh: e(c)
|
|
3438
|
-
}, null, 8, ["onRefresh"]), l(
|
|
3438
|
+
}, null, 8, ["onRefresh"]), l(Ml, {
|
|
3439
3439
|
ref_key: "providerTableDrawerRef",
|
|
3440
3440
|
ref: f
|
|
3441
3441
|
}, null, 512)]),
|
|
@@ -3451,13 +3451,13 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3451
3451
|
const {
|
|
3452
3452
|
requesting: k,
|
|
3453
3453
|
executing: h
|
|
3454
|
-
} =
|
|
3454
|
+
} = E(ue), V = I(0), _ = I(!1), {
|
|
3455
3455
|
tableRef: c,
|
|
3456
3456
|
formModalRef: i,
|
|
3457
3457
|
refresh: p,
|
|
3458
3458
|
openFormModal: t,
|
|
3459
3459
|
editFormModal: v
|
|
3460
|
-
} =
|
|
3460
|
+
} = F(), u = [
|
|
3461
3461
|
{
|
|
3462
3462
|
prop: "client",
|
|
3463
3463
|
label: a("ssl.client"),
|
|
@@ -3496,7 +3496,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3496
3496
|
width: 160,
|
|
3497
3497
|
align: "center",
|
|
3498
3498
|
render: ({
|
|
3499
|
-
rowData:
|
|
3499
|
+
rowData: A
|
|
3500
3500
|
}) => l(s("el-space"), null, {
|
|
3501
3501
|
default: () => [l(le, {
|
|
3502
3502
|
size: "default",
|
|
@@ -3504,46 +3504,46 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3504
3504
|
t: "",
|
|
3505
3505
|
disabled: h.value,
|
|
3506
3506
|
onModify: () => v({
|
|
3507
|
-
id:
|
|
3507
|
+
id: A.id
|
|
3508
3508
|
})
|
|
3509
3509
|
}, null), l(Q, {
|
|
3510
3510
|
size: "default",
|
|
3511
3511
|
icon: "icon-key",
|
|
3512
3512
|
t: "",
|
|
3513
3513
|
text: !0,
|
|
3514
|
-
disabled: h.value && V.value !==
|
|
3515
|
-
loading: V.value ==
|
|
3516
|
-
onClick: () => g(
|
|
3514
|
+
disabled: h.value && V.value !== A.id,
|
|
3515
|
+
loading: V.value == A.id,
|
|
3516
|
+
onClick: () => g(A.id)
|
|
3517
3517
|
}, null), l(Q, {
|
|
3518
3518
|
size: "default",
|
|
3519
3519
|
icon: "icon-cloud-download",
|
|
3520
3520
|
t: "",
|
|
3521
3521
|
text: !0,
|
|
3522
|
-
disabled: h.value && V.value !==
|
|
3523
|
-
loading: V.value ==
|
|
3524
|
-
onClick: () => b(
|
|
3522
|
+
disabled: h.value && V.value !== A.id,
|
|
3523
|
+
loading: V.value == A.id,
|
|
3524
|
+
onClick: () => b(A)
|
|
3525
3525
|
}, null)]
|
|
3526
3526
|
})
|
|
3527
3527
|
}
|
|
3528
3528
|
], f = () => {
|
|
3529
3529
|
_.value = !0;
|
|
3530
|
-
}, g = (
|
|
3530
|
+
}, g = (A) => {
|
|
3531
3531
|
ue.gen({
|
|
3532
|
-
id:
|
|
3532
|
+
id: A
|
|
3533
3533
|
}).then((x) => {
|
|
3534
3534
|
console.warn("Res:", x);
|
|
3535
3535
|
});
|
|
3536
3536
|
};
|
|
3537
|
-
function b(
|
|
3538
|
-
const x = De.getDownloadUrl(
|
|
3537
|
+
function b(A) {
|
|
3538
|
+
const x = De.getDownloadUrl(A.path + ".zip");
|
|
3539
3539
|
fetch(x).then((n) => n.blob()).then((n) => {
|
|
3540
3540
|
let d = URL.createObjectURL(n), r = document.createElement("a");
|
|
3541
|
-
r.style.display = "none", r.href = d, r.download =
|
|
3541
|
+
r.style.display = "none", r.href = d, r.download = A.name + ".zip", r.click(), URL.revokeObjectURL(n);
|
|
3542
3542
|
});
|
|
3543
3543
|
}
|
|
3544
3544
|
return U({
|
|
3545
3545
|
open: f
|
|
3546
|
-
}), (
|
|
3546
|
+
}), (A, x) => {
|
|
3547
3547
|
const n = s("el-page-header");
|
|
3548
3548
|
return L(), T(e(ce), {
|
|
3549
3549
|
modelValue: _.value,
|
|
@@ -3582,7 +3582,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3582
3582
|
}, 8, ["modelValue"]);
|
|
3583
3583
|
};
|
|
3584
3584
|
}
|
|
3585
|
-
}),
|
|
3585
|
+
}), Me = W.routineApi("SSLLog", "id"), Sl = /* @__PURE__ */ O({
|
|
3586
3586
|
__name: "SSLLogTableDrawer",
|
|
3587
3587
|
props: {
|
|
3588
3588
|
ssl: {
|
|
@@ -3596,10 +3596,10 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3596
3596
|
const k = R, {
|
|
3597
3597
|
requesting: h,
|
|
3598
3598
|
executing: V
|
|
3599
|
-
} =
|
|
3599
|
+
} = E([Me, ue]), _ = I(!1), {
|
|
3600
3600
|
tableRef: c,
|
|
3601
3601
|
refresh: i
|
|
3602
|
-
} =
|
|
3602
|
+
} = F(), p = [{
|
|
3603
3603
|
prop: "status_text",
|
|
3604
3604
|
label: a("base.status"),
|
|
3605
3605
|
width: 100
|
|
@@ -3628,8 +3628,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3628
3628
|
function u() {
|
|
3629
3629
|
const f = De.getDownloadUrl(k.ssl.path + ".zip");
|
|
3630
3630
|
fetch(f).then((g) => g.blob()).then((g) => {
|
|
3631
|
-
let b = URL.createObjectURL(g),
|
|
3632
|
-
|
|
3631
|
+
let b = URL.createObjectURL(g), A = document.createElement("a");
|
|
3632
|
+
A.style.display = "none", A.href = b, A.download = k.ssl.name + ".zip", A.click(), URL.revokeObjectURL(g);
|
|
3633
3633
|
});
|
|
3634
3634
|
}
|
|
3635
3635
|
return U({
|
|
@@ -3638,7 +3638,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3638
3638
|
const b = s("el-page-header");
|
|
3639
3639
|
return L(), T(e(ce), {
|
|
3640
3640
|
modelValue: _.value,
|
|
3641
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
3641
|
+
"onUpdate:modelValue": g[0] || (g[0] = (A) => _.value = A),
|
|
3642
3642
|
width: "600px",
|
|
3643
3643
|
"show-close": !1,
|
|
3644
3644
|
class: "basic-drawer"
|
|
@@ -3674,7 +3674,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3674
3674
|
ref: c,
|
|
3675
3675
|
size: "small",
|
|
3676
3676
|
"row-key": "id",
|
|
3677
|
-
url: e(
|
|
3677
|
+
url: e(Me).urls.search,
|
|
3678
3678
|
columns: p,
|
|
3679
3679
|
loading: e(h)
|
|
3680
3680
|
}, null, 8, ["url", "loading"])]),
|
|
@@ -3688,23 +3688,23 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3688
3688
|
const U = I(), {
|
|
3689
3689
|
requesting: k,
|
|
3690
3690
|
executing: h
|
|
3691
|
-
} =
|
|
3691
|
+
} = E(se), {
|
|
3692
3692
|
tableRef: V,
|
|
3693
3693
|
formModalRef: _,
|
|
3694
3694
|
reset: c,
|
|
3695
3695
|
refresh: i,
|
|
3696
3696
|
openFormModal: p,
|
|
3697
3697
|
editFormModal: t
|
|
3698
|
-
} =
|
|
3698
|
+
} = F(), {
|
|
3699
3699
|
formModalRef: v,
|
|
3700
3700
|
openFormModal: u
|
|
3701
|
-
} =
|
|
3701
|
+
} = F(), {
|
|
3702
3702
|
formModalRef: f,
|
|
3703
3703
|
openFormModal: g
|
|
3704
|
-
} =
|
|
3704
|
+
} = F(), {
|
|
3705
3705
|
formModalRef: b,
|
|
3706
|
-
openFormModal:
|
|
3707
|
-
} =
|
|
3706
|
+
openFormModal: A
|
|
3707
|
+
} = F(), x = [{
|
|
3708
3708
|
prop: "domain.name",
|
|
3709
3709
|
label: a("config.domain"),
|
|
3710
3710
|
width: 129,
|
|
@@ -3741,7 +3741,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3741
3741
|
type: "primary",
|
|
3742
3742
|
text: !0,
|
|
3743
3743
|
onClick: (y) => {
|
|
3744
|
-
y.stopPropagation(), r.ssl && r.ssl.id && (U.value = r.ssl,
|
|
3744
|
+
y.stopPropagation(), r.ssl && r.ssl.id && (U.value = r.ssl, A());
|
|
3745
3745
|
}
|
|
3746
3746
|
}, {
|
|
3747
3747
|
default: () => [l("span", {
|
|
@@ -3788,8 +3788,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3788
3788
|
});
|
|
3789
3789
|
};
|
|
3790
3790
|
return (r, y) => {
|
|
3791
|
-
const m = s("el-space"), S = s("el-page-header"),
|
|
3792
|
-
return L(), T(
|
|
3791
|
+
const m = s("el-space"), S = s("el-page-header"), M = s("el-card");
|
|
3792
|
+
return L(), T(M, {
|
|
3793
3793
|
"body-style": {
|
|
3794
3794
|
padding: "12px",
|
|
3795
3795
|
height: "450px"
|
|
@@ -3836,7 +3836,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3836
3836
|
ref_key: "formModalRef",
|
|
3837
3837
|
ref: _,
|
|
3838
3838
|
onRefresh: e(i)
|
|
3839
|
-
}, null, 8, ["onRefresh"]), l(
|
|
3839
|
+
}, null, 8, ["onRefresh"]), l(Al, {
|
|
3840
3840
|
ref_key: "domainTableDrawerRef",
|
|
3841
3841
|
ref: v
|
|
3842
3842
|
}, null, 512), l(Dl, {
|
|
@@ -3861,7 +3861,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3861
3861
|
__name: "index",
|
|
3862
3862
|
setup(R) {
|
|
3863
3863
|
const U = {
|
|
3864
|
-
dates: [
|
|
3864
|
+
dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
|
|
3865
3865
|
}, k = [{
|
|
3866
3866
|
label: a("base.sort"),
|
|
3867
3867
|
type: "index",
|
|
@@ -3872,7 +3872,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3872
3872
|
width: 180,
|
|
3873
3873
|
render: ({
|
|
3874
3874
|
rowData: p
|
|
3875
|
-
}) => l(G, null, [
|
|
3875
|
+
}) => l(G, null, [$.formatDate(p.time)])
|
|
3876
3876
|
}, {
|
|
3877
3877
|
label: a("base.url"),
|
|
3878
3878
|
prop: "url",
|
|
@@ -3880,12 +3880,12 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3880
3880
|
width: 200
|
|
3881
3881
|
}], {
|
|
3882
3882
|
requesting: h
|
|
3883
|
-
} =
|
|
3883
|
+
} = E(ie), {
|
|
3884
3884
|
tableRef: V,
|
|
3885
3885
|
keyword: _,
|
|
3886
3886
|
search: c,
|
|
3887
3887
|
reset: i
|
|
3888
|
-
} =
|
|
3888
|
+
} = F(U);
|
|
3889
3889
|
return (p, t) => {
|
|
3890
3890
|
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
|
|
3891
3891
|
return L(), T(g, {
|
|
@@ -3906,8 +3906,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3906
3906
|
modelValue: e(_).dates,
|
|
3907
3907
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
3908
3908
|
class: "basic-search-datetimerange",
|
|
3909
|
-
"value-format": e(
|
|
3910
|
-
format: e(
|
|
3909
|
+
"value-format": e($).DATE_VALUE_FORMAT,
|
|
3910
|
+
format: e($).DATE_SHOW_FORMAT,
|
|
3911
3911
|
type: "datetimerange",
|
|
3912
3912
|
"range-separator": "-",
|
|
3913
3913
|
"start-placeholder": e(a)("base.start_at"),
|
|
@@ -3939,7 +3939,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3939
3939
|
__name: "index",
|
|
3940
3940
|
setup(R) {
|
|
3941
3941
|
const U = {
|
|
3942
|
-
dates: [
|
|
3942
|
+
dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
|
|
3943
3943
|
}, k = [{
|
|
3944
3944
|
label: a("base.sort"),
|
|
3945
3945
|
type: "index",
|
|
@@ -3950,7 +3950,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3950
3950
|
width: 180,
|
|
3951
3951
|
render: ({
|
|
3952
3952
|
rowData: p
|
|
3953
|
-
}) => l(G, null, [
|
|
3953
|
+
}) => l(G, null, [$.formatDate(p.time)])
|
|
3954
3954
|
}, {
|
|
3955
3955
|
label: a("base.url"),
|
|
3956
3956
|
prop: "url",
|
|
@@ -3958,12 +3958,12 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3958
3958
|
width: 200
|
|
3959
3959
|
}], {
|
|
3960
3960
|
requesting: h
|
|
3961
|
-
} =
|
|
3961
|
+
} = E(ie), {
|
|
3962
3962
|
tableRef: V,
|
|
3963
3963
|
keyword: _,
|
|
3964
3964
|
search: c,
|
|
3965
3965
|
reset: i
|
|
3966
|
-
} =
|
|
3966
|
+
} = F(U);
|
|
3967
3967
|
return (p, t) => {
|
|
3968
3968
|
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
|
|
3969
3969
|
return L(), T(g, {
|
|
@@ -3984,8 +3984,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3984
3984
|
modelValue: e(_).dates,
|
|
3985
3985
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
3986
3986
|
class: "basic-search-daterange",
|
|
3987
|
-
"value-format": e(
|
|
3988
|
-
format: e(
|
|
3987
|
+
"value-format": e($).DATE_FORMAT,
|
|
3988
|
+
format: e($).DATE_FORMAT,
|
|
3989
3989
|
type: "daterange",
|
|
3990
3990
|
"range-separator": "-",
|
|
3991
3991
|
"start-placeholder": e(a)("base.start_at"),
|
|
@@ -4017,7 +4017,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4017
4017
|
__name: "index",
|
|
4018
4018
|
setup(R) {
|
|
4019
4019
|
const U = {
|
|
4020
|
-
dates: [
|
|
4020
|
+
dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
|
|
4021
4021
|
}, k = [{
|
|
4022
4022
|
label: a("base.sort"),
|
|
4023
4023
|
type: "index",
|
|
@@ -4028,7 +4028,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4028
4028
|
width: 180,
|
|
4029
4029
|
render: ({
|
|
4030
4030
|
rowData: p
|
|
4031
|
-
}) => l(G, null, [
|
|
4031
|
+
}) => l(G, null, [$.formatDate(p.time)])
|
|
4032
4032
|
}, {
|
|
4033
4033
|
label: a("base.url"),
|
|
4034
4034
|
prop: "url",
|
|
@@ -4036,12 +4036,12 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4036
4036
|
width: 200
|
|
4037
4037
|
}], {
|
|
4038
4038
|
requesting: h
|
|
4039
|
-
} =
|
|
4039
|
+
} = E(ie), {
|
|
4040
4040
|
tableRef: V,
|
|
4041
4041
|
keyword: _,
|
|
4042
4042
|
search: c,
|
|
4043
4043
|
reset: i
|
|
4044
|
-
} =
|
|
4044
|
+
} = F(U);
|
|
4045
4045
|
return (p, t) => {
|
|
4046
4046
|
const v = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), g = s("el-card");
|
|
4047
4047
|
return L(), T(g, {
|
|
@@ -4062,8 +4062,8 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4062
4062
|
modelValue: e(_).dates,
|
|
4063
4063
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4064
4064
|
class: "basic-search-daterange",
|
|
4065
|
-
"value-format": e(
|
|
4066
|
-
format: e(
|
|
4065
|
+
"value-format": e($).DATE_FORMAT,
|
|
4066
|
+
format: e($).DATE_FORMAT,
|
|
4067
4067
|
type: "daterange",
|
|
4068
4068
|
"range-separator": "-",
|
|
4069
4069
|
"start-placeholder": e(a)("base.start_at"),
|
|
@@ -4091,7 +4091,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4091
4091
|
});
|
|
4092
4092
|
};
|
|
4093
4093
|
}
|
|
4094
|
-
}), Ol = () => import("./index-SHsqnbNG.js"),
|
|
4094
|
+
}), Ol = () => import("./index-SHsqnbNG.js"), $l = () => import("./index-CJMTIvHk.js"), Fl = () => import("./index-BMn8mAns.js"), Yl = [
|
|
4095
4095
|
{
|
|
4096
4096
|
path: Je,
|
|
4097
4097
|
name: "RequestLog",
|
|
@@ -4103,7 +4103,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4103
4103
|
{
|
|
4104
4104
|
path: Xe,
|
|
4105
4105
|
name: "ErrorLog",
|
|
4106
|
-
component:
|
|
4106
|
+
component: $l,
|
|
4107
4107
|
meta: {
|
|
4108
4108
|
title: a("menu.ErrorLog")
|
|
4109
4109
|
}
|
|
@@ -4111,7 +4111,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4111
4111
|
{
|
|
4112
4112
|
path: Ze,
|
|
4113
4113
|
name: "SqlLog",
|
|
4114
|
-
component:
|
|
4114
|
+
component: Fl,
|
|
4115
4115
|
meta: {
|
|
4116
4116
|
title: a("menu.SqlLog")
|
|
4117
4117
|
}
|
|
@@ -4123,11 +4123,11 @@ const Bl = /* @__PURE__ */ O({
|
|
|
4123
4123
|
version: "__VERSION__"
|
|
4124
4124
|
}, Hl = /* @__PURE__ */ Object.assign({ "./views/admin/index.vue": () => import("./index-UtDarrUe.js"), "./views/language/index.vue": () => import("./index-CV4JohFl.js"), "./views/menu/index.vue": () => import("./index-DQqJ05PJ.js"), "./views/role/index.vue": () => import("./index-DM5SO2SX.js"), "./views/site/index.vue": () => Promise.resolve().then(() => ql) });
|
|
4125
4125
|
export {
|
|
4126
|
-
|
|
4126
|
+
Bl as AdminsPage,
|
|
4127
4127
|
vl as DomainProviderSelect,
|
|
4128
4128
|
Te as DomainSelect,
|
|
4129
4129
|
Kl as ErrorLogsPage,
|
|
4130
|
-
|
|
4130
|
+
Pl as LanguagesPage,
|
|
4131
4131
|
Yl as LogRoutes,
|
|
4132
4132
|
dl as MenuSelect,
|
|
4133
4133
|
Il as MenusPage,
|