auto-vue-basic 0.0.87 → 0.0.88
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 +160 -155
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/types/views/admin/index.vue.d.ts +56 -46
- package/dist/types/views/language/components/ModuleSelect.vue.d.ts +9 -0
- package/dist/types/views/language/form/template.vue.d.ts +56 -46
- package/dist/types/views/language/table/I18N.vue.d.ts +56 -46
- package/dist/types/views/log/error/index.vue.d.ts +49 -39
- package/dist/types/views/log/request/index.vue.d.ts +47 -41
- package/dist/types/views/log/sql/index.vue.d.ts +45 -37
- package/dist/types/views/menu/index.vue.d.ts +56 -46
- package/dist/types/views/role/index.vue.d.ts +56 -46
- package/dist/types/views/site/components/DomainProviderTableDrawer.vue.d.ts +45 -37
- package/dist/types/views/site/components/DomainTableDrawer.vue.d.ts +89 -73
- package/dist/types/views/site/components/SSLLogTableDrawer.vue.d.ts +56 -46
- package/dist/types/views/site/components/SSLTableDrawer.vue.d.ts +45 -37
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -51,7 +51,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
51
51
|
emit: R
|
|
52
52
|
}) {
|
|
53
53
|
const k = R, h = w, {
|
|
54
|
-
requesting:
|
|
54
|
+
requesting: g
|
|
55
55
|
} = F(H), {
|
|
56
56
|
value: _,
|
|
57
57
|
options: m,
|
|
@@ -69,25 +69,25 @@ const dl = /* @__PURE__ */ O({
|
|
|
69
69
|
return S(), T(V, {
|
|
70
70
|
class: "w-full",
|
|
71
71
|
modelValue: e(_),
|
|
72
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
72
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
73
73
|
options: e(m),
|
|
74
74
|
multiple: w.multiple,
|
|
75
|
-
disabled: e(
|
|
75
|
+
disabled: e(g),
|
|
76
76
|
placeholder: e(a)("placeholder.select"),
|
|
77
77
|
filterable: "",
|
|
78
78
|
filterOptions: e(t),
|
|
79
79
|
onChange: e(i)
|
|
80
80
|
}, {
|
|
81
81
|
prefix: o(() => [l(e(me), {
|
|
82
|
-
loading: e(
|
|
83
|
-
onRefresh: u[0] || (u[0] = (
|
|
82
|
+
loading: e(g),
|
|
83
|
+
onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
|
|
84
84
|
}, null, 8, ["loading"])]),
|
|
85
85
|
default: o(({
|
|
86
|
-
item:
|
|
86
|
+
item: b
|
|
87
87
|
}) => [l(c, null, {
|
|
88
88
|
default: o(() => [P("i", {
|
|
89
|
-
class: we(`icon iconfont ${
|
|
90
|
-
}, null, 2), P("span", null, z(
|
|
89
|
+
class: we(`icon iconfont ${b.icon}`)
|
|
90
|
+
}, null, 2), P("span", null, z(b.translate), 1)]),
|
|
91
91
|
_: 2
|
|
92
92
|
}, 1024)]),
|
|
93
93
|
_: 1
|
|
@@ -98,7 +98,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
98
98
|
__name: "MenuFormModal",
|
|
99
99
|
emits: ["refresh"],
|
|
100
100
|
setup(w, { expose: R, emit: k }) {
|
|
101
|
-
const h = k,
|
|
101
|
+
const h = k, g = {
|
|
102
102
|
id: 0,
|
|
103
103
|
menu_id: 0,
|
|
104
104
|
module: "",
|
|
@@ -163,7 +163,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
163
163
|
trigger: "blur"
|
|
164
164
|
}
|
|
165
165
|
]
|
|
166
|
-
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit:
|
|
166
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, H);
|
|
167
167
|
return R({
|
|
168
168
|
open: c,
|
|
169
169
|
modify: V
|
|
@@ -176,7 +176,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
176
176
|
width: "1000px",
|
|
177
177
|
executing: e(u),
|
|
178
178
|
onClosed: e(D),
|
|
179
|
-
onSubmit: e(
|
|
179
|
+
onSubmit: e(b)
|
|
180
180
|
}, {
|
|
181
181
|
default: o(() => [
|
|
182
182
|
l(q, {
|
|
@@ -488,7 +488,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
488
488
|
emit: R
|
|
489
489
|
}) {
|
|
490
490
|
const k = R, h = w, {
|
|
491
|
-
requesting:
|
|
491
|
+
requesting: g
|
|
492
492
|
} = F(H), {
|
|
493
493
|
value: _,
|
|
494
494
|
options: m,
|
|
@@ -505,25 +505,25 @@ const dl = /* @__PURE__ */ O({
|
|
|
505
505
|
return S(), T(V, {
|
|
506
506
|
class: "w-full",
|
|
507
507
|
modelValue: e(_),
|
|
508
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
508
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
509
509
|
options: e(m),
|
|
510
510
|
multiple: w.multiple,
|
|
511
|
-
disabled: e(
|
|
511
|
+
disabled: e(g),
|
|
512
512
|
placeholder: e(a)("placeholder.select"),
|
|
513
513
|
filterable: "",
|
|
514
514
|
filterOptions: e(t),
|
|
515
515
|
onChange: e(i)
|
|
516
516
|
}, {
|
|
517
517
|
prefix: o(() => [l(e(me), {
|
|
518
|
-
loading: e(
|
|
519
|
-
onRefresh: u[0] || (u[0] = (
|
|
518
|
+
loading: e(g),
|
|
519
|
+
onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
|
|
520
520
|
}, null, 8, ["loading"])]),
|
|
521
521
|
default: o(({
|
|
522
|
-
item:
|
|
522
|
+
item: b
|
|
523
523
|
}) => [l(c, null, {
|
|
524
524
|
default: o(() => [P("i", {
|
|
525
|
-
class: we(`icon iconfont ${
|
|
526
|
-
}, null, 2), P("span", null, z(
|
|
525
|
+
class: we(`icon iconfont ${b.icon}`)
|
|
526
|
+
}, null, 2), P("span", null, z(b.translate), 1)]),
|
|
527
527
|
_: 2
|
|
528
528
|
}, 1024)]),
|
|
529
529
|
_: 1
|
|
@@ -534,7 +534,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
534
534
|
__name: "MenuRuleFormModal",
|
|
535
535
|
emits: ["refresh"],
|
|
536
536
|
setup(w, { expose: R, emit: k }) {
|
|
537
|
-
const h = k,
|
|
537
|
+
const h = k, g = {
|
|
538
538
|
key: "",
|
|
539
539
|
menu_id: 0,
|
|
540
540
|
sort: 0,
|
|
@@ -580,7 +580,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
580
580
|
trigger: "blur"
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
|
-
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit:
|
|
583
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, Le);
|
|
584
584
|
return R({
|
|
585
585
|
open: c,
|
|
586
586
|
modify: V
|
|
@@ -593,7 +593,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
593
593
|
width: "1000px",
|
|
594
594
|
executing: e(u),
|
|
595
595
|
onClosed: e(D),
|
|
596
|
-
onSubmit: e(
|
|
596
|
+
onSubmit: e(b)
|
|
597
597
|
}, {
|
|
598
598
|
default: o(() => [
|
|
599
599
|
l(A, {
|
|
@@ -846,7 +846,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
846
846
|
}, null)
|
|
847
847
|
}
|
|
848
848
|
], {
|
|
849
|
-
requesting:
|
|
849
|
+
requesting: g
|
|
850
850
|
} = F(H), {
|
|
851
851
|
tableRef: _,
|
|
852
852
|
formModalRef: m,
|
|
@@ -858,7 +858,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
858
858
|
editFormModal: c
|
|
859
859
|
} = E(R), {
|
|
860
860
|
formModalRef: V,
|
|
861
|
-
openFormModal:
|
|
861
|
+
openFormModal: b,
|
|
862
862
|
editFormModal: D
|
|
863
863
|
} = E(), x = (n) => {
|
|
864
864
|
Le[Ge]({
|
|
@@ -878,14 +878,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
878
878
|
class: "basic-header"
|
|
879
879
|
}, {
|
|
880
880
|
title: o(() => [l(e(K), {
|
|
881
|
-
loading: e(
|
|
881
|
+
loading: e(g),
|
|
882
882
|
onRefresh: e(v)
|
|
883
883
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
884
884
|
onOpen: e(u)
|
|
885
885
|
}, null, 8, ["onOpen"]), l(r, {
|
|
886
886
|
circle: "",
|
|
887
887
|
icon: e(tl),
|
|
888
|
-
onClick: e(
|
|
888
|
+
onClick: e(b)
|
|
889
889
|
}, null, 8, ["icon", "onClick"])]),
|
|
890
890
|
content: o(() => [l(A, {
|
|
891
891
|
class: "search-bar"
|
|
@@ -910,7 +910,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
910
910
|
}, null, 8, ["label", "value"])), 64))]),
|
|
911
911
|
_: 1
|
|
912
912
|
}, 8, ["modelValue"]), l(e(ne), {
|
|
913
|
-
disabled: e(
|
|
913
|
+
disabled: e(g),
|
|
914
914
|
onSearch: e(p)
|
|
915
915
|
}, null, 8, ["disabled", "onSearch"])]),
|
|
916
916
|
_: 1
|
|
@@ -946,13 +946,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
946
946
|
},
|
|
947
947
|
emits: ["update:modelValue"],
|
|
948
948
|
setup(w, { expose: R, emit: k }) {
|
|
949
|
-
const { requesting: h } = F(H),
|
|
949
|
+
const { requesting: h } = F(H), g = w, _ = k, m = B(!1), i = Be({
|
|
950
950
|
checkAll: !1,
|
|
951
951
|
indeterminate: !1,
|
|
952
952
|
MenuAll: {},
|
|
953
953
|
MenuList: {},
|
|
954
954
|
MenuIndeterminate: {}
|
|
955
|
-
}), { options: p, refresh: t } = te(oe(
|
|
955
|
+
}), { options: p, refresh: t } = te(oe(g, "modelValue"), _, { key: "RULE_CHECK", api: H, url: H.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
956
956
|
function v() {
|
|
957
957
|
p.value.forEach((x) => {
|
|
958
958
|
var n;
|
|
@@ -976,7 +976,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
976
976
|
i.MenuAll[x.id] = d === n && n > 0, i.MenuIndeterminate[x.id] = d > 0 && d < n;
|
|
977
977
|
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((x) => x.length > 0), _("update:modelValue", Object.values(i.MenuList).flat());
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function b() {
|
|
980
980
|
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), _("update:modelValue", []), m.value = !1;
|
|
981
981
|
}
|
|
982
982
|
function D(x) {
|
|
@@ -991,9 +991,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
991
991
|
}
|
|
992
992
|
return Pe(async () => {
|
|
993
993
|
var x;
|
|
994
|
-
(x = p.value) != null && x.length || await t(), !m.value &&
|
|
994
|
+
(x = p.value) != null && x.length || await t(), !m.value && g.modelValue && D(g.modelValue);
|
|
995
995
|
}), Re(
|
|
996
|
-
() =>
|
|
996
|
+
() => g.modelValue,
|
|
997
997
|
(x) => {
|
|
998
998
|
je(() => {
|
|
999
999
|
var n;
|
|
@@ -1003,7 +1003,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1003
1003
|
{ deep: !0, immediate: !0 }
|
|
1004
1004
|
), R({
|
|
1005
1005
|
generateOption: D,
|
|
1006
|
-
cleanChecked:
|
|
1006
|
+
cleanChecked: b
|
|
1007
1007
|
}), (x, n) => {
|
|
1008
1008
|
const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), f = s("el-divider"), C = s("el-checkbox-group");
|
|
1009
1009
|
return S(), I("div", pl, [
|
|
@@ -1095,14 +1095,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}), qe = (w, R) => {
|
|
1097
1097
|
const k = w.__vccOpts || w;
|
|
1098
|
-
for (const [h,
|
|
1099
|
-
k[h] =
|
|
1098
|
+
for (const [h, g] of R)
|
|
1099
|
+
k[h] = g;
|
|
1100
1100
|
return k;
|
|
1101
1101
|
}, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
|
|
1102
1102
|
__name: "RoleFormModal",
|
|
1103
1103
|
emits: ["refresh"],
|
|
1104
1104
|
setup(w, { expose: R, emit: k }) {
|
|
1105
|
-
const h = k,
|
|
1105
|
+
const h = k, g = B(), _ = {
|
|
1106
1106
|
key: "",
|
|
1107
1107
|
module: "",
|
|
1108
1108
|
sort: 0,
|
|
@@ -1125,13 +1125,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
1125
1125
|
trigger: "blur"
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: c, open: V, modify:
|
|
1128
|
+
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: c, open: V, modify: b, submit: D, closed: x } = X(h, _, ke), n = () => {
|
|
1129
1129
|
var d;
|
|
1130
|
-
(d =
|
|
1130
|
+
(d = g.value) == null || d.cleanChecked(), x();
|
|
1131
1131
|
};
|
|
1132
1132
|
return R({
|
|
1133
1133
|
open: V,
|
|
1134
|
-
modify:
|
|
1134
|
+
modify: b
|
|
1135
1135
|
}), (d, r) => {
|
|
1136
1136
|
const y = s("el-input"), f = s("el-form-item"), C = s("el-col"), A = s("el-input-number"), q = s("el-row"), M = s("el-form");
|
|
1137
1137
|
return S(), T(e(le), {
|
|
@@ -1242,7 +1242,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1242
1242
|
default: o(() => [
|
|
1243
1243
|
l(fl, {
|
|
1244
1244
|
ref_key: "rulesCheck",
|
|
1245
|
-
ref:
|
|
1245
|
+
ref: g,
|
|
1246
1246
|
modelValue: e(v).rules,
|
|
1247
1247
|
"onUpdate:modelValue": r[5] || (r[5] = (L) => e(v).rules = L),
|
|
1248
1248
|
disabled: e(u) || e(c)
|
|
@@ -1307,7 +1307,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1307
1307
|
], {
|
|
1308
1308
|
requesting: h
|
|
1309
1309
|
} = F(ke), {
|
|
1310
|
-
tableRef:
|
|
1310
|
+
tableRef: g,
|
|
1311
1311
|
formModalRef: _,
|
|
1312
1312
|
keyword: m,
|
|
1313
1313
|
search: i,
|
|
@@ -1317,7 +1317,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1317
1317
|
editFormModal: u
|
|
1318
1318
|
} = E(R);
|
|
1319
1319
|
return (c, V) => {
|
|
1320
|
-
const
|
|
1320
|
+
const b = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
1321
1321
|
return S(), T(n, {
|
|
1322
1322
|
class: "basic-card flex-full",
|
|
1323
1323
|
"body-class": "flex-1"
|
|
@@ -1334,7 +1334,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1334
1334
|
content: o(() => [l(D, {
|
|
1335
1335
|
class: "search-bar"
|
|
1336
1336
|
}, {
|
|
1337
|
-
default: o(() => [l(
|
|
1337
|
+
default: o(() => [l(b, {
|
|
1338
1338
|
class: "basic-search-input",
|
|
1339
1339
|
modelValue: e(m).keyword,
|
|
1340
1340
|
"onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
|
|
@@ -1352,7 +1352,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1352
1352
|
})]),
|
|
1353
1353
|
default: o(() => [l(e(ce), {
|
|
1354
1354
|
ref_key: "tableRef",
|
|
1355
|
-
ref:
|
|
1355
|
+
ref: g,
|
|
1356
1356
|
columns: k,
|
|
1357
1357
|
url: e(ke).urls[e(Ve)],
|
|
1358
1358
|
"search-param": e(m),
|
|
@@ -1383,6 +1383,10 @@ const jl = /* @__PURE__ */ O({
|
|
|
1383
1383
|
type: Boolean,
|
|
1384
1384
|
default: !1
|
|
1385
1385
|
},
|
|
1386
|
+
disabled: {
|
|
1387
|
+
type: Boolean,
|
|
1388
|
+
default: !1
|
|
1389
|
+
},
|
|
1386
1390
|
allowCreate: {
|
|
1387
1391
|
type: Boolean,
|
|
1388
1392
|
default: !1
|
|
@@ -1397,7 +1401,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1397
1401
|
emit: R
|
|
1398
1402
|
}) {
|
|
1399
1403
|
const k = R, h = w, {
|
|
1400
|
-
requesting:
|
|
1404
|
+
requesting: g
|
|
1401
1405
|
} = F(W), {
|
|
1402
1406
|
value: _,
|
|
1403
1407
|
options: m,
|
|
@@ -1415,10 +1419,10 @@ const jl = /* @__PURE__ */ O({
|
|
|
1415
1419
|
return S(), T(V, {
|
|
1416
1420
|
class: "w-full",
|
|
1417
1421
|
modelValue: e(_),
|
|
1418
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
1422
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
1419
1423
|
options: e(m),
|
|
1420
1424
|
multiple: w.multiple,
|
|
1421
|
-
disabled: e(
|
|
1425
|
+
disabled: e(g) || w.disabled,
|
|
1422
1426
|
clearable: w.clearable,
|
|
1423
1427
|
filterable: "",
|
|
1424
1428
|
"allow-create": w.allowCreate,
|
|
@@ -1428,13 +1432,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
1428
1432
|
onChange: e(i)
|
|
1429
1433
|
}, {
|
|
1430
1434
|
prefix: o(() => [l(e(me), {
|
|
1431
|
-
loading: e(
|
|
1432
|
-
onRefresh: u[0] || (u[0] = (
|
|
1435
|
+
loading: e(g),
|
|
1436
|
+
onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
|
|
1433
1437
|
}, null, 8, ["loading"])]),
|
|
1434
1438
|
default: o(({
|
|
1435
|
-
item:
|
|
1439
|
+
item: b
|
|
1436
1440
|
}) => [l(c, null, {
|
|
1437
|
-
default: o(() => [P("span", null, z(
|
|
1441
|
+
default: o(() => [P("span", null, z(b.value), 1)]),
|
|
1438
1442
|
_: 2
|
|
1439
1443
|
}, 1024)]),
|
|
1440
1444
|
_: 1
|
|
@@ -1445,7 +1449,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1445
1449
|
__name: "I18N",
|
|
1446
1450
|
emits: ["refresh"],
|
|
1447
1451
|
setup(w, { expose: R, emit: k }) {
|
|
1448
|
-
const h = k,
|
|
1452
|
+
const h = k, g = {
|
|
1449
1453
|
uuid: "",
|
|
1450
1454
|
key: "",
|
|
1451
1455
|
module: void 0,
|
|
@@ -1489,7 +1493,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1489
1493
|
});
|
|
1490
1494
|
}
|
|
1491
1495
|
p();
|
|
1492
|
-
const { modal: t, title: v, form: u, formData: c, requesting: V, executing:
|
|
1496
|
+
const { modal: t, title: v, form: u, formData: c, requesting: V, executing: b, open: D, modify: x, submit: n, closed: d } = X(h, g, W);
|
|
1493
1497
|
return R({
|
|
1494
1498
|
open: D,
|
|
1495
1499
|
modify: x
|
|
@@ -1500,7 +1504,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1500
1504
|
"onUpdate:modelValue": y[3] || (y[3] = (M) => N(t) ? t.value = M : null),
|
|
1501
1505
|
title: e(v)(),
|
|
1502
1506
|
width: "600px",
|
|
1503
|
-
executing: e(
|
|
1507
|
+
executing: e(b),
|
|
1504
1508
|
onClosed: e(d),
|
|
1505
1509
|
onSubmit: e(n)
|
|
1506
1510
|
}, {
|
|
@@ -1511,7 +1515,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1511
1515
|
model: e(c),
|
|
1512
1516
|
"label-width": "auto",
|
|
1513
1517
|
rules: _,
|
|
1514
|
-
disabled: e(V) || e(
|
|
1518
|
+
disabled: e(V) || e(b)
|
|
1515
1519
|
}, {
|
|
1516
1520
|
default: o(() => [
|
|
1517
1521
|
l(f, {
|
|
@@ -1523,8 +1527,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
1523
1527
|
l(Te, {
|
|
1524
1528
|
modelValue: e(c).module,
|
|
1525
1529
|
"onUpdate:modelValue": y[0] || (y[0] = (M) => e(c).module = M),
|
|
1530
|
+
disabled: e(b),
|
|
1526
1531
|
"allow-create": ""
|
|
1527
|
-
}, null, 8, ["modelValue"])
|
|
1532
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
1528
1533
|
]),
|
|
1529
1534
|
_: 1
|
|
1530
1535
|
}, 8, ["label"]),
|
|
@@ -1604,7 +1609,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1604
1609
|
expose: R,
|
|
1605
1610
|
emit: k
|
|
1606
1611
|
}) {
|
|
1607
|
-
const h = B(!1),
|
|
1612
|
+
const h = B(!1), g = k, _ = {
|
|
1608
1613
|
keyword: "",
|
|
1609
1614
|
module: void 0,
|
|
1610
1615
|
status: 0
|
|
@@ -1669,7 +1674,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1669
1674
|
keyword: u,
|
|
1670
1675
|
search: c,
|
|
1671
1676
|
reset: V,
|
|
1672
|
-
refresh:
|
|
1677
|
+
refresh: b,
|
|
1673
1678
|
openFormModal: D,
|
|
1674
1679
|
editFormModal: x
|
|
1675
1680
|
} = E(_);
|
|
@@ -1677,17 +1682,17 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1677
1682
|
return W.remove({
|
|
1678
1683
|
uuid: y
|
|
1679
1684
|
}).finally(() => {
|
|
1680
|
-
|
|
1685
|
+
b();
|
|
1681
1686
|
});
|
|
1682
1687
|
}
|
|
1683
1688
|
const d = () => {
|
|
1684
1689
|
h.value = !0;
|
|
1685
1690
|
};
|
|
1686
1691
|
function r(y) {
|
|
1687
|
-
|
|
1692
|
+
g("choosed", y);
|
|
1688
1693
|
}
|
|
1689
1694
|
return Re(() => h.value, (y) => {
|
|
1690
|
-
y ||
|
|
1695
|
+
y || g("closed");
|
|
1691
1696
|
}), R({
|
|
1692
1697
|
open: d
|
|
1693
1698
|
}), (y, f) => {
|
|
@@ -1762,7 +1767,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1762
1767
|
}, null, 8, ["url", "search-param"]), l(bl, {
|
|
1763
1768
|
ref_key: "formModalRef",
|
|
1764
1769
|
ref: v,
|
|
1765
|
-
onRefresh: e(
|
|
1770
|
+
onRefresh: e(b)
|
|
1766
1771
|
}, null, 8, ["onRefresh"])]),
|
|
1767
1772
|
_: 1
|
|
1768
1773
|
}, 8, ["modelValue"]);
|
|
@@ -1772,7 +1777,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1772
1777
|
__name: "template",
|
|
1773
1778
|
emits: ["refresh"],
|
|
1774
1779
|
setup(w, { expose: R, emit: k }) {
|
|
1775
|
-
const { formModalRef: h, openFormModal:
|
|
1780
|
+
const { formModalRef: h, openFormModal: g } = E(), _ = k, m = B("600px"), i = B({
|
|
1776
1781
|
"zh-CN": "primary",
|
|
1777
1782
|
"en-US": "success"
|
|
1778
1783
|
}), p = B({}), t = {
|
|
@@ -1803,16 +1808,16 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1803
1808
|
trigger: "change"
|
|
1804
1809
|
}
|
|
1805
1810
|
]
|
|
1806
|
-
}, { modal: u, title: c, form: V, formData:
|
|
1811
|
+
}, { modal: u, title: c, form: V, formData: b, requesting: D, executing: x, open: n, modify: d, submit: r, closed: y } = X(_, t, re);
|
|
1807
1812
|
function f() {
|
|
1808
|
-
m.value = "1080px",
|
|
1813
|
+
m.value = "1080px", g();
|
|
1809
1814
|
}
|
|
1810
1815
|
function C() {
|
|
1811
1816
|
m.value = "600px";
|
|
1812
1817
|
}
|
|
1813
1818
|
function A(L) {
|
|
1814
1819
|
let U = L.module.toLowerCase() + "." + L.key.toLowerCase();
|
|
1815
|
-
|
|
1820
|
+
b.keys = U, b.values.push(U);
|
|
1816
1821
|
for (const se in L.language)
|
|
1817
1822
|
p.value[se] || (p.value[se] = []), p.value[se].push(L.language[se]);
|
|
1818
1823
|
}
|
|
@@ -1820,7 +1825,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1820
1825
|
m.value = "600px", M();
|
|
1821
1826
|
}
|
|
1822
1827
|
function M() {
|
|
1823
|
-
|
|
1828
|
+
b.keys = "", b.values = [], p.value = {
|
|
1824
1829
|
"zh-CN": [],
|
|
1825
1830
|
"en-US": []
|
|
1826
1831
|
};
|
|
@@ -1869,7 +1874,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1869
1874
|
l(Ne, {
|
|
1870
1875
|
ref_key: "form",
|
|
1871
1876
|
ref: V,
|
|
1872
|
-
model: e(
|
|
1877
|
+
model: e(b),
|
|
1873
1878
|
"label-width": "auto",
|
|
1874
1879
|
rules: v,
|
|
1875
1880
|
disabled: e(D) || e(x)
|
|
@@ -1882,8 +1887,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1882
1887
|
}, {
|
|
1883
1888
|
default: o(() => [
|
|
1884
1889
|
l(e(Se), {
|
|
1885
|
-
modelValue: e(
|
|
1886
|
-
"onUpdate:modelValue": U[0] || (U[0] = (J) => e(
|
|
1890
|
+
modelValue: e(b).app,
|
|
1891
|
+
"onUpdate:modelValue": U[0] || (U[0] = (J) => e(b).app = J),
|
|
1887
1892
|
"cache-key": "I18NAPPS",
|
|
1888
1893
|
hidden: [0],
|
|
1889
1894
|
url: e(re).urls.apps
|
|
@@ -1898,8 +1903,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1898
1903
|
}, {
|
|
1899
1904
|
default: o(() => [
|
|
1900
1905
|
l(Me, {
|
|
1901
|
-
modelValue: e(
|
|
1902
|
-
"onUpdate:modelValue": U[1] || (U[1] = (J) => e(
|
|
1906
|
+
modelValue: e(b).keys,
|
|
1907
|
+
"onUpdate:modelValue": U[1] || (U[1] = (J) => e(b).keys = J),
|
|
1903
1908
|
placeholder: e(a)("i18n.placeholder.key")
|
|
1904
1909
|
}, {
|
|
1905
1910
|
append: o(() => [
|
|
@@ -1919,7 +1924,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1919
1924
|
required: ""
|
|
1920
1925
|
}, {
|
|
1921
1926
|
default: o(() => [
|
|
1922
|
-
Z(z(e(
|
|
1927
|
+
Z(z(e(b).values.join(":")), 1)
|
|
1923
1928
|
]),
|
|
1924
1929
|
_: 1
|
|
1925
1930
|
}, 8, ["label"]),
|
|
@@ -1956,8 +1961,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1956
1961
|
}, {
|
|
1957
1962
|
default: o(() => [
|
|
1958
1963
|
l(Me, {
|
|
1959
|
-
modelValue: e(
|
|
1960
|
-
"onUpdate:modelValue": U[2] || (U[2] = (J) => e(
|
|
1964
|
+
modelValue: e(b).remark,
|
|
1965
|
+
"onUpdate:modelValue": U[2] || (U[2] = (J) => e(b).remark = J),
|
|
1961
1966
|
placeholder: e(a)("placeholder.input")
|
|
1962
1967
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1963
1968
|
]),
|
|
@@ -2046,21 +2051,21 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2046
2051
|
}) => l(s("el-space"), null, {
|
|
2047
2052
|
default: () => [l(ae, {
|
|
2048
2053
|
size: "default",
|
|
2049
|
-
disabled:
|
|
2050
|
-
onModify: () =>
|
|
2054
|
+
disabled: g.value,
|
|
2055
|
+
onModify: () => b({
|
|
2051
2056
|
uuid: d.uuid
|
|
2052
2057
|
})
|
|
2053
2058
|
}, null), l(Q, {
|
|
2054
2059
|
size: "default",
|
|
2055
2060
|
text: !0,
|
|
2056
2061
|
type: "danger",
|
|
2057
|
-
loading:
|
|
2062
|
+
loading: g.value,
|
|
2058
2063
|
onClick: () => D(d.uuid)
|
|
2059
2064
|
}, null)]
|
|
2060
2065
|
})
|
|
2061
2066
|
}], {
|
|
2062
2067
|
requesting: h,
|
|
2063
|
-
executing:
|
|
2068
|
+
executing: g
|
|
2064
2069
|
} = F(re), {
|
|
2065
2070
|
formModalRef: _,
|
|
2066
2071
|
openFormModal: m
|
|
@@ -2072,7 +2077,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2072
2077
|
reset: u,
|
|
2073
2078
|
refresh: c,
|
|
2074
2079
|
openFormModal: V,
|
|
2075
|
-
editFormModal:
|
|
2080
|
+
editFormModal: b
|
|
2076
2081
|
} = E(R);
|
|
2077
2082
|
function D(d) {
|
|
2078
2083
|
return re.remove({
|
|
@@ -2113,7 +2118,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2113
2118
|
class: "basic-search-input",
|
|
2114
2119
|
modelValue: e(t).keyword,
|
|
2115
2120
|
"onUpdate:modelValue": r[0] || (r[0] = (U) => e(t).keyword = U),
|
|
2116
|
-
disabled: e(h) || e(
|
|
2121
|
+
disabled: e(h) || e(g),
|
|
2117
2122
|
placeholder: e(a)("placeholder.keyword"),
|
|
2118
2123
|
clearable: "",
|
|
2119
2124
|
onKeyup: r[1] || (r[1] = he((U) => e(v)(), ["enter"])),
|
|
@@ -2122,13 +2127,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2122
2127
|
modelValue: e(t).app,
|
|
2123
2128
|
"onUpdate:modelValue": r[3] || (r[3] = (U) => e(t).app = U),
|
|
2124
2129
|
"cache-key": "I18NAPPS",
|
|
2125
|
-
disabled: e(h) || e(
|
|
2130
|
+
disabled: e(h) || e(g),
|
|
2126
2131
|
url: e(re).urls.apps,
|
|
2127
2132
|
onChange: r[4] || (r[4] = (U) => e(v)())
|
|
2128
2133
|
}, null, 8, ["modelValue", "disabled", "url"]), l(C, {
|
|
2129
2134
|
modelValue: e(t).status,
|
|
2130
2135
|
"onUpdate:modelValue": r[5] || (r[5] = (U) => e(t).status = U),
|
|
2131
|
-
disabled: e(h) || e(
|
|
2136
|
+
disabled: e(h) || e(g),
|
|
2132
2137
|
onChange: r[6] || (r[6] = (U) => e(v)())
|
|
2133
2138
|
}, {
|
|
2134
2139
|
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(f, {
|
|
@@ -2138,7 +2143,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2138
2143
|
}, null, 8, ["label", "value"])), 64))]),
|
|
2139
2144
|
_: 1
|
|
2140
2145
|
}, 8, ["modelValue", "disabled"]), l(e(ne), {
|
|
2141
|
-
disabled: e(h) || e(
|
|
2146
|
+
disabled: e(h) || e(g),
|
|
2142
2147
|
onSearch: r[7] || (r[7] = (U) => e(v)())
|
|
2143
2148
|
}, null, 8, ["disabled"])]),
|
|
2144
2149
|
_: 1
|
|
@@ -2148,14 +2153,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2148
2153
|
type: "warning",
|
|
2149
2154
|
icon: "icon-cloud-upload",
|
|
2150
2155
|
plain: !1,
|
|
2151
|
-
loading: e(
|
|
2156
|
+
loading: e(g),
|
|
2152
2157
|
onClick: x
|
|
2153
2158
|
}, null, 8, ["loading"]), l(e(Q), {
|
|
2154
2159
|
size: "default",
|
|
2155
2160
|
type: "danger",
|
|
2156
2161
|
icon: "icon-translate",
|
|
2157
2162
|
plain: !1,
|
|
2158
|
-
loading: e(
|
|
2163
|
+
loading: e(g),
|
|
2159
2164
|
onClick: n
|
|
2160
2165
|
}, null, 8, ["loading"]), l(q, {
|
|
2161
2166
|
direction: "vertical"
|
|
@@ -2189,7 +2194,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2189
2194
|
__name: "AdminFormModal",
|
|
2190
2195
|
emits: ["refresh"],
|
|
2191
2196
|
setup(w, { expose: R, emit: k }) {
|
|
2192
|
-
const h = k,
|
|
2197
|
+
const h = k, g = {
|
|
2193
2198
|
key: "",
|
|
2194
2199
|
username: "",
|
|
2195
2200
|
password: "",
|
|
@@ -2198,7 +2203,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2198
2203
|
language: "zh-CN",
|
|
2199
2204
|
remark: "",
|
|
2200
2205
|
roles: []
|
|
2201
|
-
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing: v, open: u, modify: c, submit: V, closed:
|
|
2206
|
+
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing: v, open: u, modify: c, submit: V, closed: b } = X(h, g, ve), D = {
|
|
2202
2207
|
username: [
|
|
2203
2208
|
{
|
|
2204
2209
|
required: !0,
|
|
@@ -2260,7 +2265,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2260
2265
|
title: e(m)(),
|
|
2261
2266
|
width: "600px",
|
|
2262
2267
|
executing: e(v),
|
|
2263
|
-
onClosed: e(
|
|
2268
|
+
onClosed: e(b),
|
|
2264
2269
|
onSubmit: e(V)
|
|
2265
2270
|
}, {
|
|
2266
2271
|
default: o(() => [
|
|
@@ -2465,7 +2470,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2465
2470
|
}], {
|
|
2466
2471
|
requesting: h
|
|
2467
2472
|
} = F(ve), {
|
|
2468
|
-
tableRef:
|
|
2473
|
+
tableRef: g,
|
|
2469
2474
|
formModalRef: _,
|
|
2470
2475
|
keyword: m,
|
|
2471
2476
|
search: i,
|
|
@@ -2475,7 +2480,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2475
2480
|
editFormModal: u
|
|
2476
2481
|
} = E(R);
|
|
2477
2482
|
return (c, V) => {
|
|
2478
|
-
const
|
|
2483
|
+
const b = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
2479
2484
|
return S(), T(n, {
|
|
2480
2485
|
class: "basic-card flex-full",
|
|
2481
2486
|
"body-class": "flex-1"
|
|
@@ -2492,7 +2497,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2492
2497
|
content: o(() => [l(D, {
|
|
2493
2498
|
class: "search-bar"
|
|
2494
2499
|
}, {
|
|
2495
|
-
default: o(() => [l(
|
|
2500
|
+
default: o(() => [l(b, {
|
|
2496
2501
|
class: "basic-search-input",
|
|
2497
2502
|
modelValue: e(m).keyword,
|
|
2498
2503
|
"onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
|
|
@@ -2510,7 +2515,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2510
2515
|
})]),
|
|
2511
2516
|
default: o(() => [l(e(ce), {
|
|
2512
2517
|
ref_key: "tableRef",
|
|
2513
|
-
ref:
|
|
2518
|
+
ref: g,
|
|
2514
2519
|
size: "small",
|
|
2515
2520
|
columns: k,
|
|
2516
2521
|
url: e(ve).urls[e(Ve)],
|
|
@@ -2544,14 +2549,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2544
2549
|
expose: R,
|
|
2545
2550
|
emit: k
|
|
2546
2551
|
}) {
|
|
2547
|
-
const h = k,
|
|
2552
|
+
const h = k, g = w, {
|
|
2548
2553
|
requesting: _
|
|
2549
2554
|
} = F(be), {
|
|
2550
2555
|
key: m,
|
|
2551
2556
|
options: i,
|
|
2552
2557
|
refresh: p,
|
|
2553
2558
|
change: t
|
|
2554
|
-
} = te(oe(
|
|
2559
|
+
} = te(oe(g, "modelValue"), h, {
|
|
2555
2560
|
key: "DOMAIN_LIST",
|
|
2556
2561
|
api: be,
|
|
2557
2562
|
isArray: !0
|
|
@@ -2580,7 +2585,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2580
2585
|
__name: "SiteFormModal",
|
|
2581
2586
|
emits: ["refresh"],
|
|
2582
2587
|
setup(w, { expose: R, emit: k }) {
|
|
2583
|
-
const h = k,
|
|
2588
|
+
const h = k, g = {
|
|
2584
2589
|
id: 0,
|
|
2585
2590
|
domain_id: 0,
|
|
2586
2591
|
prefix: "",
|
|
@@ -2595,7 +2600,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2595
2600
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2596
2601
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2597
2602
|
en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
|
|
2598
|
-
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit:
|
|
2603
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ue);
|
|
2599
2604
|
return R({
|
|
2600
2605
|
open: c,
|
|
2601
2606
|
modify: V
|
|
@@ -2608,7 +2613,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2608
2613
|
width: "600px",
|
|
2609
2614
|
executing: e(u),
|
|
2610
2615
|
onClosed: e(D),
|
|
2611
|
-
onSubmit: e(
|
|
2616
|
+
onSubmit: e(b)
|
|
2612
2617
|
}, {
|
|
2613
2618
|
default: o(() => [
|
|
2614
2619
|
l(y, {
|
|
@@ -2742,14 +2747,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2742
2747
|
expose: R,
|
|
2743
2748
|
emit: k
|
|
2744
2749
|
}) {
|
|
2745
|
-
const h = k,
|
|
2750
|
+
const h = k, g = w, {
|
|
2746
2751
|
requesting: _
|
|
2747
2752
|
} = F(ge), {
|
|
2748
2753
|
key: m,
|
|
2749
2754
|
options: i,
|
|
2750
2755
|
refresh: p,
|
|
2751
2756
|
change: t
|
|
2752
|
-
} = te(oe(
|
|
2757
|
+
} = te(oe(g, "modelValue"), h, {
|
|
2753
2758
|
key: "DOMAIN_PROVIDER_LIST",
|
|
2754
2759
|
api: ge,
|
|
2755
2760
|
isArray: !0
|
|
@@ -2778,7 +2783,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2778
2783
|
__name: "DomainFormModal",
|
|
2779
2784
|
emits: ["refresh"],
|
|
2780
2785
|
setup(w, { expose: R, emit: k }) {
|
|
2781
|
-
const h = k,
|
|
2786
|
+
const h = k, g = {
|
|
2782
2787
|
id: 0,
|
|
2783
2788
|
provider_id: 0,
|
|
2784
2789
|
name: "",
|
|
@@ -2788,7 +2793,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2788
2793
|
}, _ = {
|
|
2789
2794
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2790
2795
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
|
|
2791
|
-
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit:
|
|
2796
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, be);
|
|
2792
2797
|
return R({
|
|
2793
2798
|
open: c,
|
|
2794
2799
|
modify: V
|
|
@@ -2801,7 +2806,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2801
2806
|
width: "600px",
|
|
2802
2807
|
executing: e(u),
|
|
2803
2808
|
onClosed: e(D),
|
|
2804
|
-
onSubmit: e(
|
|
2809
|
+
onSubmit: e(b)
|
|
2805
2810
|
}, {
|
|
2806
2811
|
default: o(() => [
|
|
2807
2812
|
l(f, {
|
|
@@ -2900,14 +2905,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2900
2905
|
expose: R,
|
|
2901
2906
|
emit: k
|
|
2902
2907
|
}) {
|
|
2903
|
-
const h = k,
|
|
2908
|
+
const h = k, g = w, {
|
|
2904
2909
|
requesting: _
|
|
2905
2910
|
} = F(ue), {
|
|
2906
2911
|
key: m,
|
|
2907
2912
|
options: i,
|
|
2908
2913
|
refresh: p,
|
|
2909
2914
|
change: t
|
|
2910
|
-
} = te(oe(
|
|
2915
|
+
} = te(oe(g, "modelValue"), h, {
|
|
2911
2916
|
key: "SITE_LIST",
|
|
2912
2917
|
api: ue,
|
|
2913
2918
|
isArray: !0
|
|
@@ -2945,7 +2950,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2945
2950
|
__name: "SSLFormModal",
|
|
2946
2951
|
emits: ["refresh"],
|
|
2947
2952
|
setup(w, { expose: R, emit: k }) {
|
|
2948
|
-
const h = k,
|
|
2953
|
+
const h = k, g = {
|
|
2949
2954
|
id: 0,
|
|
2950
2955
|
domain_id: void 0,
|
|
2951
2956
|
client: "Lego",
|
|
@@ -2962,7 +2967,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2962
2967
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
2963
2968
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
2964
2969
|
encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
|
|
2965
|
-
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit:
|
|
2970
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ie);
|
|
2966
2971
|
return R({
|
|
2967
2972
|
open: c,
|
|
2968
2973
|
modify: V,
|
|
@@ -2976,7 +2981,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2976
2981
|
width: "600px",
|
|
2977
2982
|
executing: e(u),
|
|
2978
2983
|
onClosed: e(D),
|
|
2979
|
-
onSubmit: e(
|
|
2984
|
+
onSubmit: e(b)
|
|
2980
2985
|
}, {
|
|
2981
2986
|
default: o(() => [
|
|
2982
2987
|
l(C, {
|
|
@@ -3122,7 +3127,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3122
3127
|
__name: "DomainProviderFormModal",
|
|
3123
3128
|
emits: ["refresh"],
|
|
3124
3129
|
setup(w, { expose: R, emit: k }) {
|
|
3125
|
-
const h = k,
|
|
3130
|
+
const h = k, g = {
|
|
3126
3131
|
id: 0,
|
|
3127
3132
|
name: "",
|
|
3128
3133
|
en_name: "",
|
|
@@ -3137,7 +3142,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3137
3142
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
3138
3143
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
3139
3144
|
end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
|
|
3140
|
-
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit:
|
|
3145
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ge);
|
|
3141
3146
|
return R({
|
|
3142
3147
|
open: c,
|
|
3143
3148
|
modify: V
|
|
@@ -3150,7 +3155,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3150
3155
|
width: "600px",
|
|
3151
3156
|
executing: e(u),
|
|
3152
3157
|
onClosed: e(D),
|
|
3153
|
-
onSubmit: e(
|
|
3158
|
+
onSubmit: e(b)
|
|
3154
3159
|
}, {
|
|
3155
3160
|
default: o(() => [
|
|
3156
3161
|
l(y, {
|
|
@@ -3262,7 +3267,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3262
3267
|
const {
|
|
3263
3268
|
requesting: k
|
|
3264
3269
|
} = F(ge), h = B(!1), {
|
|
3265
|
-
tableRef:
|
|
3270
|
+
tableRef: g,
|
|
3266
3271
|
formModalRef: _,
|
|
3267
3272
|
refresh: m,
|
|
3268
3273
|
openFormModal: i,
|
|
@@ -3301,7 +3306,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3301
3306
|
const V = s("el-page-header");
|
|
3302
3307
|
return S(), T(e(fe), {
|
|
3303
3308
|
modelValue: h.value,
|
|
3304
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
3309
|
+
"onUpdate:modelValue": c[0] || (c[0] = (b) => h.value = b),
|
|
3305
3310
|
width: "400px",
|
|
3306
3311
|
"show-close": !1,
|
|
3307
3312
|
class: "basic-drawer"
|
|
@@ -3322,7 +3327,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3322
3327
|
})]),
|
|
3323
3328
|
default: o(() => [l(e(de), {
|
|
3324
3329
|
ref_key: "tableRef",
|
|
3325
|
-
ref:
|
|
3330
|
+
ref: g,
|
|
3326
3331
|
size: "small",
|
|
3327
3332
|
"row-key": "id",
|
|
3328
3333
|
url: e(ge).urls.list,
|
|
@@ -3345,7 +3350,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3345
3350
|
const {
|
|
3346
3351
|
requesting: k
|
|
3347
3352
|
} = F(be), h = B(!1), {
|
|
3348
|
-
tableRef:
|
|
3353
|
+
tableRef: g,
|
|
3349
3354
|
formModalRef: _,
|
|
3350
3355
|
refresh: m,
|
|
3351
3356
|
openFormModal: i,
|
|
@@ -3357,7 +3362,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3357
3362
|
} = E(), {
|
|
3358
3363
|
formModalRef: c,
|
|
3359
3364
|
openFormModal: V
|
|
3360
|
-
} = E(),
|
|
3365
|
+
} = E(), b = [{
|
|
3361
3366
|
prop: "provider",
|
|
3362
3367
|
label: a("config.domain config.provider"),
|
|
3363
3368
|
width: 120,
|
|
@@ -3444,11 +3449,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3444
3449
|
})]),
|
|
3445
3450
|
default: o(() => [l(e(de), {
|
|
3446
3451
|
ref_key: "tableRef",
|
|
3447
|
-
ref:
|
|
3452
|
+
ref: g,
|
|
3448
3453
|
size: "small",
|
|
3449
3454
|
"row-key": "id",
|
|
3450
3455
|
url: e(be).urls.list,
|
|
3451
|
-
columns:
|
|
3456
|
+
columns: b,
|
|
3452
3457
|
loading: e(k)
|
|
3453
3458
|
}, null, 8, ["url", "loading"]), l(Ml, {
|
|
3454
3459
|
ref_key: "formModalRef",
|
|
@@ -3474,7 +3479,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3474
3479
|
const {
|
|
3475
3480
|
requesting: k,
|
|
3476
3481
|
executing: h
|
|
3477
|
-
} = F(ie),
|
|
3482
|
+
} = F(ie), g = B(0), _ = B(!1), {
|
|
3478
3483
|
tableRef: m,
|
|
3479
3484
|
formModalRef: i,
|
|
3480
3485
|
refresh: p,
|
|
@@ -3534,17 +3539,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3534
3539
|
icon: "icon-key",
|
|
3535
3540
|
t: "",
|
|
3536
3541
|
text: !0,
|
|
3537
|
-
disabled: h.value &&
|
|
3538
|
-
loading:
|
|
3542
|
+
disabled: h.value && g.value !== D.id,
|
|
3543
|
+
loading: g.value == D.id,
|
|
3539
3544
|
onClick: () => V(D.id)
|
|
3540
3545
|
}, null), l(Q, {
|
|
3541
3546
|
size: "default",
|
|
3542
3547
|
icon: "icon-cloud-download",
|
|
3543
3548
|
t: "",
|
|
3544
3549
|
text: !0,
|
|
3545
|
-
disabled: h.value &&
|
|
3546
|
-
loading:
|
|
3547
|
-
onClick: () =>
|
|
3550
|
+
disabled: h.value && g.value !== D.id,
|
|
3551
|
+
loading: g.value == D.id,
|
|
3552
|
+
onClick: () => b(D)
|
|
3548
3553
|
}, null)]
|
|
3549
3554
|
})
|
|
3550
3555
|
}
|
|
@@ -3557,7 +3562,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3557
3562
|
console.warn("Res:", x);
|
|
3558
3563
|
});
|
|
3559
3564
|
};
|
|
3560
|
-
function
|
|
3565
|
+
function b(D) {
|
|
3561
3566
|
const x = Ce.getDownloadUrl(D.path + ".zip");
|
|
3562
3567
|
fetch(x).then((n) => n.blob()).then((n) => {
|
|
3563
3568
|
let d = URL.createObjectURL(n), r = document.createElement("a");
|
|
@@ -3618,7 +3623,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3618
3623
|
}) {
|
|
3619
3624
|
const k = w, {
|
|
3620
3625
|
requesting: h,
|
|
3621
|
-
executing:
|
|
3626
|
+
executing: g
|
|
3622
3627
|
} = F([De, ie]), _ = B(!1), {
|
|
3623
3628
|
tableRef: m,
|
|
3624
3629
|
refresh: i
|
|
@@ -3651,14 +3656,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3651
3656
|
function u() {
|
|
3652
3657
|
const c = Ce.getDownloadUrl(k.ssl.path + ".zip");
|
|
3653
3658
|
fetch(c).then((V) => V.blob()).then((V) => {
|
|
3654
|
-
let
|
|
3655
|
-
D.style.display = "none", D.href =
|
|
3659
|
+
let b = URL.createObjectURL(V), D = document.createElement("a");
|
|
3660
|
+
D.style.display = "none", D.href = b, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(V);
|
|
3656
3661
|
});
|
|
3657
3662
|
}
|
|
3658
3663
|
return R({
|
|
3659
3664
|
open: t
|
|
3660
3665
|
}), (c, V) => {
|
|
3661
|
-
const
|
|
3666
|
+
const b = s("el-page-header");
|
|
3662
3667
|
return S(), T(e(fe), {
|
|
3663
3668
|
modelValue: _.value,
|
|
3664
3669
|
"onUpdate:modelValue": V[0] || (V[0] = (D) => _.value = D),
|
|
@@ -3666,7 +3671,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3666
3671
|
"show-close": !1,
|
|
3667
3672
|
class: "basic-drawer"
|
|
3668
3673
|
}, {
|
|
3669
|
-
title: o(() => [l(
|
|
3674
|
+
title: o(() => [l(b, {
|
|
3670
3675
|
icon: ""
|
|
3671
3676
|
}, {
|
|
3672
3677
|
title: o(() => [P("span", null, z(e(a)("config.ssl base.log")), 1)]),
|
|
@@ -3679,15 +3684,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3679
3684
|
size: "default",
|
|
3680
3685
|
type: "danger",
|
|
3681
3686
|
icon: "icon-key",
|
|
3682
|
-
disabled: e(
|
|
3683
|
-
loading: e(
|
|
3687
|
+
disabled: e(g),
|
|
3688
|
+
loading: e(g),
|
|
3684
3689
|
onClick: v
|
|
3685
3690
|
}, null, 8, ["disabled", "loading"]), l(e(Q), {
|
|
3686
3691
|
size: "default",
|
|
3687
3692
|
type: "primary",
|
|
3688
3693
|
icon: "icon-cloud-download",
|
|
3689
|
-
disabled: e(
|
|
3690
|
-
loading: e(
|
|
3694
|
+
disabled: e(g),
|
|
3695
|
+
loading: e(g),
|
|
3691
3696
|
onClick: u
|
|
3692
3697
|
}, null, 8, ["disabled", "loading"])]),
|
|
3693
3698
|
_: 1
|
|
@@ -3712,7 +3717,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3712
3717
|
requesting: k,
|
|
3713
3718
|
executing: h
|
|
3714
3719
|
} = F(ue), {
|
|
3715
|
-
tableRef:
|
|
3720
|
+
tableRef: g,
|
|
3716
3721
|
formModalRef: _,
|
|
3717
3722
|
reset: m,
|
|
3718
3723
|
refresh: i,
|
|
@@ -3725,7 +3730,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3725
3730
|
formModalRef: c,
|
|
3726
3731
|
openFormModal: V
|
|
3727
3732
|
} = E(), {
|
|
3728
|
-
formModalRef:
|
|
3733
|
+
formModalRef: b,
|
|
3729
3734
|
openFormModal: D
|
|
3730
3735
|
} = E(), x = [{
|
|
3731
3736
|
prop: "domain.name",
|
|
@@ -3849,7 +3854,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3849
3854
|
})]),
|
|
3850
3855
|
default: o(() => [l(e(de), {
|
|
3851
3856
|
ref_key: "tableRef",
|
|
3852
|
-
ref:
|
|
3857
|
+
ref: g,
|
|
3853
3858
|
size: "small",
|
|
3854
3859
|
"row-key": "id",
|
|
3855
3860
|
url: e(ue).urls[e(Xe)],
|
|
@@ -3867,7 +3872,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3867
3872
|
ref: c
|
|
3868
3873
|
}, null, 512), l(Tl, {
|
|
3869
3874
|
ref_key: "sslLogTableDrawerRef",
|
|
3870
|
-
ref:
|
|
3875
|
+
ref: b
|
|
3871
3876
|
}, null, 512)]),
|
|
3872
3877
|
_: 1
|
|
3873
3878
|
});
|
|
@@ -3904,7 +3909,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3904
3909
|
}], {
|
|
3905
3910
|
requesting: h
|
|
3906
3911
|
} = F(pe), {
|
|
3907
|
-
tableRef:
|
|
3912
|
+
tableRef: g,
|
|
3908
3913
|
keyword: _,
|
|
3909
3914
|
search: m,
|
|
3910
3915
|
reset: i
|
|
@@ -3927,7 +3932,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3927
3932
|
}, {
|
|
3928
3933
|
default: o(() => [l(v, {
|
|
3929
3934
|
modelValue: e(_).dates,
|
|
3930
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
3935
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
3931
3936
|
class: "basic-search-datetimerange",
|
|
3932
3937
|
"value-format": e($).DATE_VALUE_FORMAT,
|
|
3933
3938
|
format: e($).DATE_SHOW_FORMAT,
|
|
@@ -3936,10 +3941,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3936
3941
|
"start-placeholder": e(a)("base.start_at"),
|
|
3937
3942
|
"end-placeholder": e(a)("base.end_at"),
|
|
3938
3943
|
clearable: !1,
|
|
3939
|
-
onChange: t[1] || (t[1] = (
|
|
3944
|
+
onChange: t[1] || (t[1] = (b) => e(m)())
|
|
3940
3945
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
3941
3946
|
disabled: e(h),
|
|
3942
|
-
onSearch: t[2] || (t[2] = (
|
|
3947
|
+
onSearch: t[2] || (t[2] = (b) => e(m)())
|
|
3943
3948
|
}, null, 8, ["disabled"])]),
|
|
3944
3949
|
_: 1
|
|
3945
3950
|
})]),
|
|
@@ -3947,7 +3952,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3947
3952
|
})]),
|
|
3948
3953
|
default: o(() => [l(e(de), {
|
|
3949
3954
|
ref_key: "tableRef",
|
|
3950
|
-
ref:
|
|
3955
|
+
ref: g,
|
|
3951
3956
|
size: "small",
|
|
3952
3957
|
columns: k,
|
|
3953
3958
|
url: e(pe).urls.request,
|
|
@@ -3982,7 +3987,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3982
3987
|
}], {
|
|
3983
3988
|
requesting: h
|
|
3984
3989
|
} = F(pe), {
|
|
3985
|
-
tableRef:
|
|
3990
|
+
tableRef: g,
|
|
3986
3991
|
keyword: _,
|
|
3987
3992
|
search: m,
|
|
3988
3993
|
reset: i
|
|
@@ -4005,7 +4010,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4005
4010
|
}, {
|
|
4006
4011
|
default: o(() => [l(v, {
|
|
4007
4012
|
modelValue: e(_).dates,
|
|
4008
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4013
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4009
4014
|
class: "basic-search-daterange",
|
|
4010
4015
|
"value-format": e($).DATE_FORMAT,
|
|
4011
4016
|
format: e($).DATE_FORMAT,
|
|
@@ -4014,10 +4019,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4014
4019
|
"start-placeholder": e(a)("base.start_at"),
|
|
4015
4020
|
"end-placeholder": e(a)("base.end_at"),
|
|
4016
4021
|
clearable: !1,
|
|
4017
|
-
onChange: t[1] || (t[1] = (
|
|
4022
|
+
onChange: t[1] || (t[1] = (b) => e(m)())
|
|
4018
4023
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
4019
4024
|
disabled: e(h),
|
|
4020
|
-
onSearch: t[2] || (t[2] = (
|
|
4025
|
+
onSearch: t[2] || (t[2] = (b) => e(m)())
|
|
4021
4026
|
}, null, 8, ["disabled"])]),
|
|
4022
4027
|
_: 1
|
|
4023
4028
|
})]),
|
|
@@ -4025,7 +4030,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4025
4030
|
})]),
|
|
4026
4031
|
default: o(() => [l(e(de), {
|
|
4027
4032
|
ref_key: "tableRef",
|
|
4028
|
-
ref:
|
|
4033
|
+
ref: g,
|
|
4029
4034
|
size: "small",
|
|
4030
4035
|
columns: k,
|
|
4031
4036
|
url: e(pe).urls.error,
|
|
@@ -4060,7 +4065,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4060
4065
|
}], {
|
|
4061
4066
|
requesting: h
|
|
4062
4067
|
} = F(pe), {
|
|
4063
|
-
tableRef:
|
|
4068
|
+
tableRef: g,
|
|
4064
4069
|
keyword: _,
|
|
4065
4070
|
search: m,
|
|
4066
4071
|
reset: i
|
|
@@ -4083,7 +4088,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4083
4088
|
}, {
|
|
4084
4089
|
default: o(() => [l(v, {
|
|
4085
4090
|
modelValue: e(_).dates,
|
|
4086
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4091
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4087
4092
|
class: "basic-search-daterange",
|
|
4088
4093
|
"value-format": e($).DATE_FORMAT,
|
|
4089
4094
|
format: e($).DATE_FORMAT,
|
|
@@ -4092,10 +4097,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4092
4097
|
"start-placeholder": e(a)("base.start_at"),
|
|
4093
4098
|
"end-placeholder": e(a)("base.end_at"),
|
|
4094
4099
|
clearable: !1,
|
|
4095
|
-
onChange: t[1] || (t[1] = (
|
|
4100
|
+
onChange: t[1] || (t[1] = (b) => e(m)())
|
|
4096
4101
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
4097
4102
|
disabled: e(h),
|
|
4098
|
-
onSearch: t[2] || (t[2] = (
|
|
4103
|
+
onSearch: t[2] || (t[2] = (b) => e(m)())
|
|
4099
4104
|
}, null, 8, ["disabled"])]),
|
|
4100
4105
|
_: 1
|
|
4101
4106
|
})]),
|
|
@@ -4103,7 +4108,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4103
4108
|
})]),
|
|
4104
4109
|
default: o(() => [l(e(de), {
|
|
4105
4110
|
ref_key: "tableRef",
|
|
4106
|
-
ref:
|
|
4111
|
+
ref: g,
|
|
4107
4112
|
size: "small",
|
|
4108
4113
|
columns: k,
|
|
4109
4114
|
url: e(pe).urls.sql,
|
|
@@ -4140,7 +4145,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4140
4145
|
emit: R
|
|
4141
4146
|
}) {
|
|
4142
4147
|
const k = R, h = w, {
|
|
4143
|
-
requesting:
|
|
4148
|
+
requesting: g
|
|
4144
4149
|
} = F(W), {
|
|
4145
4150
|
value: _,
|
|
4146
4151
|
options: m,
|
|
@@ -4161,7 +4166,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4161
4166
|
return S(), T(u, {
|
|
4162
4167
|
modelValue: e(_),
|
|
4163
4168
|
"onUpdate:modelValue": t[0] || (t[0] = (c) => N(_) ? _.value = c : null),
|
|
4164
|
-
disabled: e(
|
|
4169
|
+
disabled: e(g),
|
|
4165
4170
|
onChange: e(i)
|
|
4166
4171
|
}, {
|
|
4167
4172
|
default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(v, {
|