auto-vue-basic 0.0.95 → 0.0.96
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 +145 -144
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -13,13 +13,13 @@ const ul = {
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:modelValue", "change"],
|
|
15
15
|
setup(x, { emit: U }) {
|
|
16
|
-
const
|
|
16
|
+
const w = U, k = x, { requesting: V } = z(Q), { value: _, options: m, change: i, refresh: u, filterOptions: n } = re(te(k, "modelValue"), w, {
|
|
17
17
|
key: "TOP_MENU_LIST",
|
|
18
18
|
api: Q,
|
|
19
19
|
url: Q.urls.tops,
|
|
20
20
|
isArray: !0
|
|
21
21
|
});
|
|
22
|
-
return (
|
|
22
|
+
return (v, s) => {
|
|
23
23
|
const c = r("el-space"), f = r("el-select-v2");
|
|
24
24
|
return M(), q(f, {
|
|
25
25
|
class: "w-full",
|
|
@@ -58,8 +58,8 @@ const ul = {
|
|
|
58
58
|
}), pl = /* @__PURE__ */ O({
|
|
59
59
|
__name: "MenuFormModal",
|
|
60
60
|
emits: ["refresh"],
|
|
61
|
-
setup(x, { expose: U, emit:
|
|
62
|
-
const k =
|
|
61
|
+
setup(x, { expose: U, emit: w }) {
|
|
62
|
+
const k = w, V = {
|
|
63
63
|
id: 0,
|
|
64
64
|
menu_id: 0,
|
|
65
65
|
module: "",
|
|
@@ -124,7 +124,7 @@ const ul = {
|
|
|
124
124
|
trigger: "blur"
|
|
125
125
|
}
|
|
126
126
|
]
|
|
127
|
-
}, { modal: m, title: i, form: u, formData: n, requesting:
|
|
127
|
+
}, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, Q);
|
|
128
128
|
return U({
|
|
129
129
|
open: c,
|
|
130
130
|
modify: f
|
|
@@ -146,7 +146,7 @@ const ul = {
|
|
|
146
146
|
model: e(n),
|
|
147
147
|
"label-width": "auto",
|
|
148
148
|
rules: _,
|
|
149
|
-
disabled: e(
|
|
149
|
+
disabled: e(v) || e(s)
|
|
150
150
|
}, {
|
|
151
151
|
default: o(() => [
|
|
152
152
|
l(g, { gutter: 20 }, {
|
|
@@ -442,8 +442,8 @@ const ul = {
|
|
|
442
442
|
},
|
|
443
443
|
emits: ["update:modelValue", "change"],
|
|
444
444
|
setup(x, { emit: U }) {
|
|
445
|
-
const
|
|
446
|
-
return (
|
|
445
|
+
const w = U, k = x, { requesting: V } = z(Q), { value: _, options: m, change: i, refresh: u, filterOptions: n } = re(te(k, "modelValue"), w, { key: "MENU_LIST", api: Q, isArray: !0 });
|
|
446
|
+
return (v, s) => {
|
|
447
447
|
const c = r("el-space"), f = r("el-select-v2");
|
|
448
448
|
return M(), q(f, {
|
|
449
449
|
class: "w-full",
|
|
@@ -481,8 +481,8 @@ const ul = {
|
|
|
481
481
|
}), cl = /* @__PURE__ */ O({
|
|
482
482
|
__name: "MenuRuleFormModal",
|
|
483
483
|
emits: ["refresh"],
|
|
484
|
-
setup(x, { expose: U, emit:
|
|
485
|
-
const k =
|
|
484
|
+
setup(x, { expose: U, emit: w }) {
|
|
485
|
+
const k = w, V = {
|
|
486
486
|
key: "",
|
|
487
487
|
menu_id: 0,
|
|
488
488
|
sort: 0,
|
|
@@ -528,7 +528,7 @@ const ul = {
|
|
|
528
528
|
trigger: "blur"
|
|
529
529
|
}
|
|
530
530
|
]
|
|
531
|
-
}, { modal: m, title: i, form: u, formData: n, requesting:
|
|
531
|
+
}, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, $e);
|
|
532
532
|
return U({
|
|
533
533
|
open: c,
|
|
534
534
|
modify: f
|
|
@@ -550,7 +550,7 @@ const ul = {
|
|
|
550
550
|
model: e(n),
|
|
551
551
|
"label-width": "auto",
|
|
552
552
|
rules: _,
|
|
553
|
-
disabled: e(
|
|
553
|
+
disabled: e(v) || e(s)
|
|
554
554
|
}, {
|
|
555
555
|
default: o(() => [
|
|
556
556
|
l(y, { gutter: 20 }, {
|
|
@@ -668,7 +668,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
668
668
|
const U = {
|
|
669
669
|
keyword: "",
|
|
670
670
|
status: 0
|
|
671
|
-
},
|
|
671
|
+
}, w = H(""), k = [
|
|
672
672
|
{
|
|
673
673
|
label: a("base.sort"),
|
|
674
674
|
prop: "sort",
|
|
@@ -725,7 +725,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
725
725
|
row: t
|
|
726
726
|
}) => l(r("el-space"), null, {
|
|
727
727
|
default: () => [t.rules?.map((d) => l(r("el-popover"), {
|
|
728
|
-
visible:
|
|
728
|
+
visible: w.value === d.key,
|
|
729
729
|
title: a("message.warning"),
|
|
730
730
|
placement: "top-end",
|
|
731
731
|
width: 220
|
|
@@ -737,7 +737,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
737
737
|
onClick: () => D({
|
|
738
738
|
key: d.key
|
|
739
739
|
}),
|
|
740
|
-
onClose: () =>
|
|
740
|
+
onClose: () => w.value = d.key
|
|
741
741
|
}, {
|
|
742
742
|
default: () => [d.translate]
|
|
743
743
|
}),
|
|
@@ -748,7 +748,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
748
748
|
}, [l(r("el-button"), {
|
|
749
749
|
size: "small",
|
|
750
750
|
text: !0,
|
|
751
|
-
onClick: () =>
|
|
751
|
+
onClick: () => w.value = ""
|
|
752
752
|
}, Me(p = a("base.cancel")) ? p : {
|
|
753
753
|
default: () => [p]
|
|
754
754
|
}), l(r("el-button"), {
|
|
@@ -796,7 +796,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
796
796
|
keyword: i,
|
|
797
797
|
search: u,
|
|
798
798
|
refresh: n,
|
|
799
|
-
reset:
|
|
799
|
+
reset: v,
|
|
800
800
|
openFormModal: s,
|
|
801
801
|
editFormModal: c
|
|
802
802
|
} = J(U), {
|
|
@@ -807,7 +807,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
807
807
|
$e[Je]({
|
|
808
808
|
key: t
|
|
809
809
|
}).then(() => {
|
|
810
|
-
|
|
810
|
+
w.value = "", n();
|
|
811
811
|
});
|
|
812
812
|
};
|
|
813
813
|
return (t, d) => {
|
|
@@ -815,14 +815,14 @@ const Yl = /* @__PURE__ */ O({
|
|
|
815
815
|
return M(), q(A, {
|
|
816
816
|
class: "basic-card flex-full",
|
|
817
817
|
"body-class": "flex-1",
|
|
818
|
-
onClick: d[5] || (d[5] = () =>
|
|
818
|
+
onClick: d[5] || (d[5] = () => w.value = "")
|
|
819
819
|
}, {
|
|
820
820
|
header: o(() => [l(C, {
|
|
821
821
|
class: "basic-header"
|
|
822
822
|
}, {
|
|
823
823
|
title: o(() => [l(e(K), {
|
|
824
824
|
loading: e(V),
|
|
825
|
-
onRefresh: e(
|
|
825
|
+
onRefresh: e(v)
|
|
826
826
|
}, null, 8, ["loading", "onRefresh"]), l(e(P), {
|
|
827
827
|
onOpen: e(s)
|
|
828
828
|
}, null, 8, ["onOpen"]), l(p, {
|
|
@@ -887,15 +887,15 @@ const Yl = /* @__PURE__ */ O({
|
|
|
887
887
|
disabled: { type: Boolean, default: !1 }
|
|
888
888
|
},
|
|
889
889
|
emits: ["update:modelValue"],
|
|
890
|
-
setup(x, { expose: U, emit:
|
|
891
|
-
const { requesting: k } = z(Q), V = x, _ =
|
|
890
|
+
setup(x, { expose: U, emit: w }) {
|
|
891
|
+
const { requesting: k } = z(Q), V = x, _ = w, m = H(!1), i = Ke({
|
|
892
892
|
checkAll: !1,
|
|
893
893
|
indeterminate: !1,
|
|
894
894
|
MenuAll: {},
|
|
895
895
|
MenuList: {},
|
|
896
896
|
MenuIndeterminate: {}
|
|
897
897
|
}), { options: u, refresh: n } = re(te(V, "modelValue"), _, { key: "RULE_CHECK", api: Q, url: Q.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
898
|
-
function
|
|
898
|
+
function v() {
|
|
899
899
|
u.value.forEach((R) => {
|
|
900
900
|
R.rules?.length && (i.MenuAll[R.id] = !1, i.MenuIndeterminate[R.id] = !1, i.MenuList[R.id] = []);
|
|
901
901
|
});
|
|
@@ -916,7 +916,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
916
916
|
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((R) => R.length > 0), _("update:modelValue", Object.values(i.MenuList).flat());
|
|
917
917
|
}
|
|
918
918
|
function b() {
|
|
919
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {},
|
|
919
|
+
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(), _("update:modelValue", []), m.value = !1;
|
|
920
920
|
}
|
|
921
921
|
function D(R) {
|
|
922
922
|
if (Array.isArray(u.value) && u.value.length > 0) {
|
|
@@ -1030,15 +1030,15 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1030
1030
|
};
|
|
1031
1031
|
}
|
|
1032
1032
|
}), Ee = (x, U) => {
|
|
1033
|
-
const
|
|
1033
|
+
const w = x.__vccOpts || x;
|
|
1034
1034
|
for (const [k, V] of U)
|
|
1035
|
-
|
|
1036
|
-
return
|
|
1035
|
+
w[k] = V;
|
|
1036
|
+
return w;
|
|
1037
1037
|
}, gl = /* @__PURE__ */ Ee(_l, [["__scopeId", "data-v-7adb5f76"]]), hl = /* @__PURE__ */ O({
|
|
1038
1038
|
__name: "RoleFormModal",
|
|
1039
1039
|
emits: ["refresh"],
|
|
1040
|
-
setup(x, { expose: U, emit:
|
|
1041
|
-
const k =
|
|
1040
|
+
setup(x, { expose: U, emit: w }) {
|
|
1041
|
+
const k = w, V = H(), _ = {
|
|
1042
1042
|
key: "",
|
|
1043
1043
|
module: "",
|
|
1044
1044
|
sort: 0,
|
|
@@ -1061,7 +1061,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1061
1061
|
trigger: "blur"
|
|
1062
1062
|
}
|
|
1063
1063
|
]
|
|
1064
|
-
}, { modal: i, title: u, form: n, formData:
|
|
1064
|
+
}, { modal: i, title: u, form: n, formData: v, requesting: s, executing: c, open: f, modify: b, submit: D, closed: R } = ee(k, _, we), t = () => {
|
|
1065
1065
|
V.value?.cleanChecked(), R();
|
|
1066
1066
|
};
|
|
1067
1067
|
return U({
|
|
@@ -1082,7 +1082,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1082
1082
|
l(A, {
|
|
1083
1083
|
ref_key: "form",
|
|
1084
1084
|
ref: n,
|
|
1085
|
-
model: e(
|
|
1085
|
+
model: e(v),
|
|
1086
1086
|
"label-width": "auto",
|
|
1087
1087
|
rules: m,
|
|
1088
1088
|
disabled: e(s) || e(c)
|
|
@@ -1098,8 +1098,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1098
1098
|
}, {
|
|
1099
1099
|
default: o(() => [
|
|
1100
1100
|
l(S, {
|
|
1101
|
-
modelValue: e(
|
|
1102
|
-
"onUpdate:modelValue": p[0] || (p[0] = (L) => e(
|
|
1101
|
+
modelValue: e(v).module,
|
|
1102
|
+
"onUpdate:modelValue": p[0] || (p[0] = (L) => e(v).module = L),
|
|
1103
1103
|
placeholder: e(a)("placeholder.input")
|
|
1104
1104
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1105
1105
|
]),
|
|
@@ -1117,8 +1117,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1117
1117
|
default: o(() => [
|
|
1118
1118
|
l(h, {
|
|
1119
1119
|
class: "w-full",
|
|
1120
|
-
modelValue: e(
|
|
1121
|
-
"onUpdate:modelValue": p[1] || (p[1] = (L) => e(
|
|
1120
|
+
modelValue: e(v).sort,
|
|
1121
|
+
"onUpdate:modelValue": p[1] || (p[1] = (L) => e(v).sort = L),
|
|
1122
1122
|
min: 0,
|
|
1123
1123
|
placeholder: e(a)("placeholder.input")
|
|
1124
1124
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -1137,8 +1137,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1137
1137
|
}, {
|
|
1138
1138
|
default: o(() => [
|
|
1139
1139
|
l(S, {
|
|
1140
|
-
modelValue: e(
|
|
1141
|
-
"onUpdate:modelValue": p[2] || (p[2] = (L) => e(
|
|
1140
|
+
modelValue: e(v).name,
|
|
1141
|
+
"onUpdate:modelValue": p[2] || (p[2] = (L) => e(v).name = L),
|
|
1142
1142
|
placeholder: e(a)("placeholder.input")
|
|
1143
1143
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1144
1144
|
]),
|
|
@@ -1150,8 +1150,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1150
1150
|
}, {
|
|
1151
1151
|
default: o(() => [
|
|
1152
1152
|
l(S, {
|
|
1153
|
-
modelValue: e(
|
|
1154
|
-
"onUpdate:modelValue": p[3] || (p[3] = (L) => e(
|
|
1153
|
+
modelValue: e(v).en_name,
|
|
1154
|
+
"onUpdate:modelValue": p[3] || (p[3] = (L) => e(v).en_name = L),
|
|
1155
1155
|
placeholder: e(a)("placeholder.input")
|
|
1156
1156
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1157
1157
|
]),
|
|
@@ -1163,8 +1163,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1163
1163
|
}, {
|
|
1164
1164
|
default: o(() => [
|
|
1165
1165
|
l(S, {
|
|
1166
|
-
modelValue: e(
|
|
1167
|
-
"onUpdate:modelValue": p[4] || (p[4] = (L) => e(
|
|
1166
|
+
modelValue: e(v).remark,
|
|
1167
|
+
"onUpdate:modelValue": p[4] || (p[4] = (L) => e(v).remark = L),
|
|
1168
1168
|
placeholder: e(a)("placeholder.input")
|
|
1169
1169
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1170
1170
|
]),
|
|
@@ -1178,8 +1178,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1178
1178
|
l(gl, {
|
|
1179
1179
|
ref_key: "rulesCheck",
|
|
1180
1180
|
ref: V,
|
|
1181
|
-
modelValue: e(
|
|
1182
|
-
"onUpdate:modelValue": p[5] || (p[5] = (L) => e(
|
|
1181
|
+
modelValue: e(v).rules,
|
|
1182
|
+
"onUpdate:modelValue": p[5] || (p[5] = (L) => e(v).rules = L),
|
|
1183
1183
|
disabled: e(s) || e(c)
|
|
1184
1184
|
}, null, 8, ["modelValue", "disabled"])
|
|
1185
1185
|
]),
|
|
@@ -1198,7 +1198,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1198
1198
|
setup(x) {
|
|
1199
1199
|
const U = {
|
|
1200
1200
|
keyword: ""
|
|
1201
|
-
},
|
|
1201
|
+
}, w = [
|
|
1202
1202
|
{
|
|
1203
1203
|
label: a("base.sort"),
|
|
1204
1204
|
prop: "sort",
|
|
@@ -1248,7 +1248,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1248
1248
|
search: i,
|
|
1249
1249
|
reset: u,
|
|
1250
1250
|
refresh: n,
|
|
1251
|
-
openFormModal:
|
|
1251
|
+
openFormModal: v,
|
|
1252
1252
|
editFormModal: s
|
|
1253
1253
|
} = J(U);
|
|
1254
1254
|
return (c, f) => {
|
|
@@ -1264,7 +1264,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1264
1264
|
loading: e(k),
|
|
1265
1265
|
onRefresh: e(u)
|
|
1266
1266
|
}, null, 8, ["loading", "onRefresh"]), l(e(P), {
|
|
1267
|
-
onOpen: e(
|
|
1267
|
+
onOpen: e(v)
|
|
1268
1268
|
}, null, 8, ["onOpen"])]),
|
|
1269
1269
|
content: o(() => [l(D, {
|
|
1270
1270
|
class: "search-bar"
|
|
@@ -1288,7 +1288,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1288
1288
|
default: o(() => [l(e(be), {
|
|
1289
1289
|
ref_key: "tableRef",
|
|
1290
1290
|
ref: V,
|
|
1291
|
-
columns:
|
|
1291
|
+
columns: w,
|
|
1292
1292
|
url: e(we).urls[e(ye)],
|
|
1293
1293
|
"search-param": e(m),
|
|
1294
1294
|
"auto-search": ""
|
|
@@ -1335,7 +1335,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1335
1335
|
setup(x, {
|
|
1336
1336
|
emit: U
|
|
1337
1337
|
}) {
|
|
1338
|
-
const
|
|
1338
|
+
const w = U, k = x, {
|
|
1339
1339
|
requesting: V
|
|
1340
1340
|
} = z(W), {
|
|
1341
1341
|
value: _,
|
|
@@ -1343,13 +1343,13 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1343
1343
|
change: i,
|
|
1344
1344
|
refresh: u,
|
|
1345
1345
|
filterOptions: n
|
|
1346
|
-
} = re(te(k, "modelValue"),
|
|
1346
|
+
} = re(te(k, "modelValue"), w, {
|
|
1347
1347
|
key: "I18N_MODULES",
|
|
1348
1348
|
url: W.urls.modules,
|
|
1349
1349
|
api: W,
|
|
1350
1350
|
isArray: !0
|
|
1351
1351
|
});
|
|
1352
|
-
return (
|
|
1352
|
+
return (v, s) => {
|
|
1353
1353
|
const c = r("el-space"), f = r("el-select-v2");
|
|
1354
1354
|
return M(), q(f, {
|
|
1355
1355
|
class: "w-full",
|
|
@@ -1383,8 +1383,8 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1383
1383
|
}), Vl = /* @__PURE__ */ O({
|
|
1384
1384
|
__name: "I18N",
|
|
1385
1385
|
emits: ["refresh"],
|
|
1386
|
-
setup(x, { expose: U, emit:
|
|
1387
|
-
const k =
|
|
1386
|
+
setup(x, { expose: U, emit: w }) {
|
|
1387
|
+
const k = w, V = {
|
|
1388
1388
|
uuid: "",
|
|
1389
1389
|
key: "",
|
|
1390
1390
|
module: void 0,
|
|
@@ -1428,7 +1428,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1428
1428
|
});
|
|
1429
1429
|
}
|
|
1430
1430
|
u();
|
|
1431
|
-
const { modal: n, title:
|
|
1431
|
+
const { modal: n, title: v, form: s, formData: c, requesting: f, executing: b, open: D, modify: R, submit: t, closed: d } = ee(k, V, W);
|
|
1432
1432
|
return U({
|
|
1433
1433
|
open: D,
|
|
1434
1434
|
modify: R
|
|
@@ -1437,7 +1437,7 @@ const Yl = /* @__PURE__ */ O({
|
|
|
1437
1437
|
return M(), q(e(oe), {
|
|
1438
1438
|
modelValue: e(n),
|
|
1439
1439
|
"onUpdate:modelValue": S[3] || (S[3] = (A) => F(n) ? n.value = A : null),
|
|
1440
|
-
title: e(
|
|
1440
|
+
title: e(v)(),
|
|
1441
1441
|
width: "600px",
|
|
1442
1442
|
executing: e(b),
|
|
1443
1443
|
onClosed: e(d),
|
|
@@ -1542,9 +1542,9 @@ const ze = /* @__PURE__ */ O({
|
|
|
1542
1542
|
emits: ["closed", "choosed"],
|
|
1543
1543
|
setup(x, {
|
|
1544
1544
|
expose: U,
|
|
1545
|
-
emit:
|
|
1545
|
+
emit: w
|
|
1546
1546
|
}) {
|
|
1547
|
-
const k =
|
|
1547
|
+
const k = w, {
|
|
1548
1548
|
visible: V,
|
|
1549
1549
|
open: _,
|
|
1550
1550
|
close: m
|
|
@@ -1600,13 +1600,13 @@ const ze = /* @__PURE__ */ O({
|
|
|
1600
1600
|
size: "default",
|
|
1601
1601
|
text: !0,
|
|
1602
1602
|
type: "danger",
|
|
1603
|
-
loading:
|
|
1603
|
+
loading: v.value,
|
|
1604
1604
|
onClick: () => p(g.uuid)
|
|
1605
1605
|
}, null)]
|
|
1606
1606
|
})
|
|
1607
1607
|
}], {
|
|
1608
1608
|
requesting: n,
|
|
1609
|
-
executing:
|
|
1609
|
+
executing: v
|
|
1610
1610
|
} = z(W), {
|
|
1611
1611
|
tableRef: s,
|
|
1612
1612
|
formModalRef: c,
|
|
@@ -1644,10 +1644,11 @@ const ze = /* @__PURE__ */ O({
|
|
|
1644
1644
|
}, {
|
|
1645
1645
|
title: o(() => [l(e(K), {
|
|
1646
1646
|
loading: e(n),
|
|
1647
|
+
disabled: e(v),
|
|
1647
1648
|
onRefresh: e(D)
|
|
1648
|
-
}, null, 8, ["loading", "onRefresh"]), l(e(P), {
|
|
1649
|
+
}, null, 8, ["loading", "disabled", "onRefresh"]), l(e(P), {
|
|
1649
1650
|
onOpen: e(t),
|
|
1650
|
-
disabled: e(n)
|
|
1651
|
+
disabled: e(n) || e(v)
|
|
1651
1652
|
}, null, 8, ["onOpen", "disabled"])]),
|
|
1652
1653
|
content: o(() => [l(L, {
|
|
1653
1654
|
class: "search-bar"
|
|
@@ -1711,8 +1712,8 @@ const ze = /* @__PURE__ */ O({
|
|
|
1711
1712
|
}), kl = { key: 0 }, vl = { key: 1 }, wl = /* @__PURE__ */ O({
|
|
1712
1713
|
__name: "template",
|
|
1713
1714
|
emits: ["refresh"],
|
|
1714
|
-
setup(x, { expose: U, emit:
|
|
1715
|
-
const k = He(), V = () => k.value?.open(), _ =
|
|
1715
|
+
setup(x, { expose: U, emit: w }) {
|
|
1716
|
+
const k = He(), V = () => k.value?.open(), _ = w, m = H("600px"), i = H({
|
|
1716
1717
|
"zh-CN": "primary",
|
|
1717
1718
|
"en-US": "success"
|
|
1718
1719
|
}), u = H({}), n = {
|
|
@@ -1721,7 +1722,7 @@ const ze = /* @__PURE__ */ O({
|
|
|
1721
1722
|
keys: "",
|
|
1722
1723
|
values: [],
|
|
1723
1724
|
remark: ""
|
|
1724
|
-
},
|
|
1725
|
+
}, v = {
|
|
1725
1726
|
app: [
|
|
1726
1727
|
{
|
|
1727
1728
|
required: !0,
|
|
@@ -1811,7 +1812,7 @@ const ze = /* @__PURE__ */ O({
|
|
|
1811
1812
|
ref: f,
|
|
1812
1813
|
model: e(b),
|
|
1813
1814
|
"label-width": "auto",
|
|
1814
|
-
rules:
|
|
1815
|
+
rules: v,
|
|
1815
1816
|
disabled: e(D) || e(R)
|
|
1816
1817
|
}, {
|
|
1817
1818
|
default: o(() => [
|
|
@@ -1926,7 +1927,7 @@ function Rl(x) {
|
|
|
1926
1927
|
const Ql = /* @__PURE__ */ O({
|
|
1927
1928
|
__name: "index",
|
|
1928
1929
|
setup(x) {
|
|
1929
|
-
const U = ze,
|
|
1930
|
+
const U = ze, w = wl, k = {
|
|
1930
1931
|
keyword: "",
|
|
1931
1932
|
app: 0,
|
|
1932
1933
|
status: 0
|
|
@@ -2003,7 +2004,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2003
2004
|
executing: u
|
|
2004
2005
|
} = z(ue), {
|
|
2005
2006
|
tableRef: n,
|
|
2006
|
-
formModalRef:
|
|
2007
|
+
formModalRef: v,
|
|
2007
2008
|
dialogRef: s,
|
|
2008
2009
|
keyword: c,
|
|
2009
2010
|
search: f,
|
|
@@ -2114,9 +2115,9 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2114
2115
|
}, null, 8, ["url", "search-param"]), l(e(U), {
|
|
2115
2116
|
ref_key: "I18nTableDrawerRef",
|
|
2116
2117
|
ref: s
|
|
2117
|
-
}, null, 512), l(e(
|
|
2118
|
+
}, null, 512), l(e(w), {
|
|
2118
2119
|
ref_key: "formModalRef",
|
|
2119
|
-
ref:
|
|
2120
|
+
ref: v,
|
|
2120
2121
|
onRefresh: e(D)
|
|
2121
2122
|
}, null, 8, ["onRefresh"])]),
|
|
2122
2123
|
_: 1
|
|
@@ -2126,8 +2127,8 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2126
2127
|
}), Ue = Y.routineApi("admin", "key"), Ul = /* @__PURE__ */ O({
|
|
2127
2128
|
__name: "AdminFormModal",
|
|
2128
2129
|
emits: ["refresh"],
|
|
2129
|
-
setup(x, { expose: U, emit:
|
|
2130
|
-
const k =
|
|
2130
|
+
setup(x, { expose: U, emit: w }) {
|
|
2131
|
+
const k = w, V = {
|
|
2131
2132
|
key: "",
|
|
2132
2133
|
username: "",
|
|
2133
2134
|
password: "",
|
|
@@ -2136,7 +2137,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2136
2137
|
language: "zh-CN",
|
|
2137
2138
|
remark: "",
|
|
2138
2139
|
roles: []
|
|
2139
|
-
}, { modal: _, title: m, form: i, formData: u, requesting: n, executing:
|
|
2140
|
+
}, { modal: _, title: m, form: i, formData: u, requesting: n, executing: v, open: s, modify: c, submit: f, closed: b } = ee(k, V, Ue), D = {
|
|
2140
2141
|
username: [
|
|
2141
2142
|
{
|
|
2142
2143
|
required: !0,
|
|
@@ -2197,7 +2198,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2197
2198
|
"onUpdate:modelValue": p[7] || (p[7] = (T) => F(_) ? _.value = T : null),
|
|
2198
2199
|
title: e(m)(),
|
|
2199
2200
|
width: "600px",
|
|
2200
|
-
executing: e(
|
|
2201
|
+
executing: e(v),
|
|
2201
2202
|
onClosed: e(b),
|
|
2202
2203
|
onSubmit: e(f)
|
|
2203
2204
|
}, {
|
|
@@ -2208,7 +2209,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2208
2209
|
model: e(u),
|
|
2209
2210
|
"label-width": "auto",
|
|
2210
2211
|
rules: D,
|
|
2211
|
-
disabled: e(n) || e(
|
|
2212
|
+
disabled: e(n) || e(v)
|
|
2212
2213
|
}, {
|
|
2213
2214
|
default: o(() => [
|
|
2214
2215
|
l(g, {
|
|
@@ -2347,7 +2348,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2347
2348
|
setup(x) {
|
|
2348
2349
|
const U = {
|
|
2349
2350
|
keyword: ""
|
|
2350
|
-
},
|
|
2351
|
+
}, w = [{
|
|
2351
2352
|
label: a("base.avatar"),
|
|
2352
2353
|
prop: "avatar",
|
|
2353
2354
|
width: 60,
|
|
@@ -2409,7 +2410,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2409
2410
|
search: i,
|
|
2410
2411
|
reset: u,
|
|
2411
2412
|
refresh: n,
|
|
2412
|
-
openFormModal:
|
|
2413
|
+
openFormModal: v,
|
|
2413
2414
|
editFormModal: s
|
|
2414
2415
|
} = J(U);
|
|
2415
2416
|
return (c, f) => {
|
|
@@ -2425,7 +2426,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2425
2426
|
loading: e(k),
|
|
2426
2427
|
onRefresh: e(u)
|
|
2427
2428
|
}, null, 8, ["loading", "onRefresh"]), l(e(P), {
|
|
2428
|
-
onOpen: e(
|
|
2429
|
+
onOpen: e(v)
|
|
2429
2430
|
}, null, 8, ["onOpen"])]),
|
|
2430
2431
|
content: o(() => [l(D, {
|
|
2431
2432
|
class: "search-bar"
|
|
@@ -2450,7 +2451,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2450
2451
|
ref_key: "tableRef",
|
|
2451
2452
|
ref: V,
|
|
2452
2453
|
size: "small",
|
|
2453
|
-
columns:
|
|
2454
|
+
columns: w,
|
|
2454
2455
|
url: e(Ue).urls[e(ye)],
|
|
2455
2456
|
"search-param": e(m),
|
|
2456
2457
|
"auto-search": ""
|
|
@@ -2480,9 +2481,9 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2480
2481
|
emits: ["update:modelValue", "change"],
|
|
2481
2482
|
setup(x, {
|
|
2482
2483
|
expose: U,
|
|
2483
|
-
emit:
|
|
2484
|
+
emit: w
|
|
2484
2485
|
}) {
|
|
2485
|
-
const k =
|
|
2486
|
+
const k = w, V = x, {
|
|
2486
2487
|
requesting: _
|
|
2487
2488
|
} = z(ge), {
|
|
2488
2489
|
id: m,
|
|
@@ -2496,7 +2497,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2496
2497
|
});
|
|
2497
2498
|
return U({
|
|
2498
2499
|
refresh: u
|
|
2499
|
-
}), (
|
|
2500
|
+
}), (v, s) => {
|
|
2500
2501
|
const c = r("el-select-v2");
|
|
2501
2502
|
return M(), q(c, {
|
|
2502
2503
|
modelValue: e(m),
|
|
@@ -2517,8 +2518,8 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2517
2518
|
}), Dl = /* @__PURE__ */ O({
|
|
2518
2519
|
__name: "SiteFormModal",
|
|
2519
2520
|
emits: ["refresh"],
|
|
2520
|
-
setup(x, { expose: U, emit:
|
|
2521
|
-
const k =
|
|
2521
|
+
setup(x, { expose: U, emit: w }) {
|
|
2522
|
+
const k = w, V = {
|
|
2522
2523
|
id: 0,
|
|
2523
2524
|
domain_id: 0,
|
|
2524
2525
|
prefix: "",
|
|
@@ -2533,7 +2534,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2533
2534
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2534
2535
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2535
2536
|
en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
|
|
2536
|
-
}, { modal: m, title: i, form: u, formData: n, requesting:
|
|
2537
|
+
}, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, pe);
|
|
2537
2538
|
return U({
|
|
2538
2539
|
open: c,
|
|
2539
2540
|
modify: f
|
|
@@ -2555,7 +2556,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2555
2556
|
model: e(n),
|
|
2556
2557
|
"label-width": "auto",
|
|
2557
2558
|
rules: _,
|
|
2558
|
-
disabled: e(
|
|
2559
|
+
disabled: e(v) || e(s)
|
|
2559
2560
|
}, {
|
|
2560
2561
|
default: o(() => [
|
|
2561
2562
|
l(d, {
|
|
@@ -2678,9 +2679,9 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2678
2679
|
emits: ["update:modelValue", "change"],
|
|
2679
2680
|
setup(x, {
|
|
2680
2681
|
expose: U,
|
|
2681
|
-
emit:
|
|
2682
|
+
emit: w
|
|
2682
2683
|
}) {
|
|
2683
|
-
const k =
|
|
2684
|
+
const k = w, V = x, {
|
|
2684
2685
|
requesting: _
|
|
2685
2686
|
} = z(he), {
|
|
2686
2687
|
id: m,
|
|
@@ -2694,7 +2695,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2694
2695
|
});
|
|
2695
2696
|
return U({
|
|
2696
2697
|
refresh: u
|
|
2697
|
-
}), (
|
|
2698
|
+
}), (v, s) => {
|
|
2698
2699
|
const c = r("el-select-v2");
|
|
2699
2700
|
return M(), q(c, {
|
|
2700
2701
|
modelValue: e(m),
|
|
@@ -2715,8 +2716,8 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2715
2716
|
}), Ml = /* @__PURE__ */ O({
|
|
2716
2717
|
__name: "DomainFormModal",
|
|
2717
2718
|
emits: ["refresh"],
|
|
2718
|
-
setup(x, { expose: U, emit:
|
|
2719
|
-
const k =
|
|
2719
|
+
setup(x, { expose: U, emit: w }) {
|
|
2720
|
+
const k = w, V = {
|
|
2720
2721
|
id: 0,
|
|
2721
2722
|
provider_id: 0,
|
|
2722
2723
|
name: "",
|
|
@@ -2726,7 +2727,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2726
2727
|
}, _ = {
|
|
2727
2728
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2728
2729
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
|
|
2729
|
-
}, { modal: m, title: i, form: u, formData: n, requesting:
|
|
2730
|
+
}, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, ge);
|
|
2730
2731
|
return U({
|
|
2731
2732
|
open: c,
|
|
2732
2733
|
modify: f
|
|
@@ -2748,7 +2749,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2748
2749
|
model: e(n),
|
|
2749
2750
|
"label-width": "auto",
|
|
2750
2751
|
rules: _,
|
|
2751
|
-
disabled: e(
|
|
2752
|
+
disabled: e(v) || e(s)
|
|
2752
2753
|
}, {
|
|
2753
2754
|
default: o(() => [
|
|
2754
2755
|
l(d, {
|
|
@@ -2822,8 +2823,8 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2822
2823
|
}), Cl = /* @__PURE__ */ O({
|
|
2823
2824
|
__name: "DomainProviderFormModal",
|
|
2824
2825
|
emits: ["refresh"],
|
|
2825
|
-
setup(x, { expose: U, emit:
|
|
2826
|
-
const k =
|
|
2826
|
+
setup(x, { expose: U, emit: w }) {
|
|
2827
|
+
const k = w, V = {
|
|
2827
2828
|
id: 0,
|
|
2828
2829
|
name: "",
|
|
2829
2830
|
en_name: "",
|
|
@@ -2838,7 +2839,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2838
2839
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
2839
2840
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
2840
2841
|
end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
|
|
2841
|
-
}, { modal: m, title: i, form: u, formData: n, requesting:
|
|
2842
|
+
}, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, he);
|
|
2842
2843
|
return U({
|
|
2843
2844
|
open: c,
|
|
2844
2845
|
modify: f
|
|
@@ -2860,7 +2861,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2860
2861
|
model: e(n),
|
|
2861
2862
|
"label-width": "auto",
|
|
2862
2863
|
rules: _,
|
|
2863
|
-
disabled: e(
|
|
2864
|
+
disabled: e(v) || e(s)
|
|
2864
2865
|
}, {
|
|
2865
2866
|
default: o(() => [
|
|
2866
2867
|
l(p, {
|
|
@@ -2961,7 +2962,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
2961
2962
|
expose: U
|
|
2962
2963
|
}) {
|
|
2963
2964
|
const {
|
|
2964
|
-
requesting:
|
|
2965
|
+
requesting: w
|
|
2965
2966
|
} = z(he), k = H(!1), {
|
|
2966
2967
|
tableRef: V,
|
|
2967
2968
|
formModalRef: _,
|
|
@@ -3014,7 +3015,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3014
3015
|
content: o(() => [l(e(K), {
|
|
3015
3016
|
onRefresh: e(m),
|
|
3016
3017
|
size: "default",
|
|
3017
|
-
loading: e(
|
|
3018
|
+
loading: e(w)
|
|
3018
3019
|
}, null, 8, ["onRefresh", "loading"])]),
|
|
3019
3020
|
extra: o(() => [l(e(P), {
|
|
3020
3021
|
onOpen: e(i)
|
|
@@ -3028,7 +3029,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3028
3029
|
"row-key": "id",
|
|
3029
3030
|
url: e(he).urls.list,
|
|
3030
3031
|
columns: n,
|
|
3031
|
-
loading: e(
|
|
3032
|
+
loading: e(w)
|
|
3032
3033
|
}, null, 8, ["url", "loading"]), l(Cl, {
|
|
3033
3034
|
ref_key: "formModalRef",
|
|
3034
3035
|
ref: _,
|
|
@@ -3055,9 +3056,9 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3055
3056
|
emits: ["update:modelValue", "change"],
|
|
3056
3057
|
setup(x, {
|
|
3057
3058
|
expose: U,
|
|
3058
|
-
emit:
|
|
3059
|
+
emit: w
|
|
3059
3060
|
}) {
|
|
3060
|
-
const k =
|
|
3061
|
+
const k = w, V = x, {
|
|
3061
3062
|
requesting: _
|
|
3062
3063
|
} = z(pe), {
|
|
3063
3064
|
key: m,
|
|
@@ -3069,7 +3070,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3069
3070
|
api: pe,
|
|
3070
3071
|
isArray: !0
|
|
3071
3072
|
}, {
|
|
3072
|
-
formatOptions: (
|
|
3073
|
+
formatOptions: (v) => v.map((s) => ({
|
|
3073
3074
|
...s,
|
|
3074
3075
|
label: s.prefix + "." + s.domain?.name,
|
|
3075
3076
|
value: s.id
|
|
@@ -3077,7 +3078,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3077
3078
|
});
|
|
3078
3079
|
return U({
|
|
3079
3080
|
refresh: u
|
|
3080
|
-
}), (
|
|
3081
|
+
}), (v, s) => {
|
|
3081
3082
|
const c = r("el-select-v2");
|
|
3082
3083
|
return M(), q(c, {
|
|
3083
3084
|
modelValue: e(m),
|
|
@@ -3098,8 +3099,8 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3098
3099
|
}), Ne = /* @__PURE__ */ O({
|
|
3099
3100
|
__name: "SSLFormModal",
|
|
3100
3101
|
emits: ["refresh"],
|
|
3101
|
-
setup(x, { expose: U, emit:
|
|
3102
|
-
const k =
|
|
3102
|
+
setup(x, { expose: U, emit: w }) {
|
|
3103
|
+
const k = w, V = {
|
|
3103
3104
|
id: 0,
|
|
3104
3105
|
domain_id: void 0,
|
|
3105
3106
|
client: "Lego",
|
|
@@ -3116,7 +3117,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3116
3117
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
3117
3118
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
3118
3119
|
encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
|
|
3119
|
-
}, { modal: m, title: i, form: u, formData: n, requesting:
|
|
3120
|
+
}, { modal: m, title: i, form: u, formData: n, requesting: v, executing: s, open: c, modify: f, submit: b, closed: D } = ee(k, V, me);
|
|
3120
3121
|
return U({
|
|
3121
3122
|
open: c,
|
|
3122
3123
|
modify: f,
|
|
@@ -3139,7 +3140,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3139
3140
|
model: e(n),
|
|
3140
3141
|
"label-width": "auto",
|
|
3141
3142
|
rules: _,
|
|
3142
|
-
disabled: e(
|
|
3143
|
+
disabled: e(v) || e(s)
|
|
3143
3144
|
}, {
|
|
3144
3145
|
default: o(() => [
|
|
3145
3146
|
l(d, {
|
|
@@ -3278,7 +3279,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3278
3279
|
expose: U
|
|
3279
3280
|
}) {
|
|
3280
3281
|
const {
|
|
3281
|
-
requesting:
|
|
3282
|
+
requesting: w
|
|
3282
3283
|
} = z(ge), {
|
|
3283
3284
|
visible: k,
|
|
3284
3285
|
open: V
|
|
@@ -3289,7 +3290,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3289
3290
|
openFormModal: u,
|
|
3290
3291
|
editFormModal: n
|
|
3291
3292
|
} = J(), {
|
|
3292
|
-
formRef:
|
|
3293
|
+
formRef: v,
|
|
3293
3294
|
open: s,
|
|
3294
3295
|
edit: c
|
|
3295
3296
|
} = Te(), {
|
|
@@ -3335,7 +3336,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3335
3336
|
onOpen: () => {
|
|
3336
3337
|
R.ssl && R.ssl.id ? c({
|
|
3337
3338
|
id: R.ssl?.id
|
|
3338
|
-
}) : (
|
|
3339
|
+
}) : (v.value.formData.domain_id = R.id, v.value.formData.site_id = 0, s());
|
|
3339
3340
|
}
|
|
3340
3341
|
}, null)]
|
|
3341
3342
|
})
|
|
@@ -3358,7 +3359,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3358
3359
|
content: o(() => [l(e(K), {
|
|
3359
3360
|
onRefresh: e(i),
|
|
3360
3361
|
size: "default",
|
|
3361
|
-
loading: e(
|
|
3362
|
+
loading: e(w)
|
|
3362
3363
|
}, null, 8, ["onRefresh", "loading"]), l(e(P), {
|
|
3363
3364
|
onOpen: e(u)
|
|
3364
3365
|
}, null, 8, ["onOpen"])]),
|
|
@@ -3381,14 +3382,14 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3381
3382
|
"row-key": "id",
|
|
3382
3383
|
url: e(ge).urls.list,
|
|
3383
3384
|
columns: D,
|
|
3384
|
-
loading: e(
|
|
3385
|
+
loading: e(w)
|
|
3385
3386
|
}, null, 8, ["url", "loading"]), l(Ml, {
|
|
3386
3387
|
ref_key: "formModalRef",
|
|
3387
3388
|
ref: m,
|
|
3388
3389
|
onRefresh: e(i)
|
|
3389
3390
|
}, null, 8, ["onRefresh"]), l(Ne, {
|
|
3390
3391
|
ref_key: "sslFormModalRef",
|
|
3391
|
-
ref:
|
|
3392
|
+
ref: v,
|
|
3392
3393
|
onRefresh: e(i)
|
|
3393
3394
|
}, null, 8, ["onRefresh"]), l(Ll, {
|
|
3394
3395
|
ref_key: "providerTableDrawerRef",
|
|
@@ -3404,7 +3405,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3404
3405
|
expose: U
|
|
3405
3406
|
}) {
|
|
3406
3407
|
const {
|
|
3407
|
-
requesting:
|
|
3408
|
+
requesting: w,
|
|
3408
3409
|
executing: k
|
|
3409
3410
|
} = z(me), V = H(0), {
|
|
3410
3411
|
visible: _,
|
|
@@ -3413,7 +3414,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3413
3414
|
tableRef: i,
|
|
3414
3415
|
formModalRef: u,
|
|
3415
3416
|
refresh: n,
|
|
3416
|
-
openFormModal:
|
|
3417
|
+
openFormModal: v,
|
|
3417
3418
|
editFormModal: s
|
|
3418
3419
|
} = J(), c = [
|
|
3419
3420
|
{
|
|
@@ -3515,9 +3516,9 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3515
3516
|
content: o(() => [l(e(K), {
|
|
3516
3517
|
onRefresh: e(n),
|
|
3517
3518
|
size: "default",
|
|
3518
|
-
loading: e(
|
|
3519
|
+
loading: e(w)
|
|
3519
3520
|
}, null, 8, ["onRefresh", "loading"]), l(e(P), {
|
|
3520
|
-
onOpen: e(
|
|
3521
|
+
onOpen: e(v)
|
|
3521
3522
|
}, null, 8, ["onOpen"])]),
|
|
3522
3523
|
_: 1
|
|
3523
3524
|
})]),
|
|
@@ -3528,7 +3529,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3528
3529
|
"row-key": "id",
|
|
3529
3530
|
url: e(me).urls.list,
|
|
3530
3531
|
columns: c,
|
|
3531
|
-
loading: e(
|
|
3532
|
+
loading: e(w)
|
|
3532
3533
|
}, null, 8, ["url", "loading"]), l(Ne, {
|
|
3533
3534
|
ref_key: "formModalRef",
|
|
3534
3535
|
ref: u,
|
|
@@ -3544,22 +3545,22 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3544
3545
|
ssl: { type: Object, default: () => ({}) }
|
|
3545
3546
|
},
|
|
3546
3547
|
setup(x, { expose: U }) {
|
|
3547
|
-
const
|
|
3548
|
+
const w = x, { requesting: k, executing: V } = z([Ce, me]), { visible: _, open: m } = xe(), { tableRef: i, refresh: u } = ll(), n = [
|
|
3548
3549
|
{ prop: "status.label", label: a("base.status"), width: 100 },
|
|
3549
3550
|
{ prop: "at", label: a("base.time"), width: 180 },
|
|
3550
3551
|
{ prop: "type_text", label: a("base.type"), width: 80 },
|
|
3551
3552
|
{ prop: "result", label: a("base.result"), width: 0 }
|
|
3552
3553
|
];
|
|
3553
|
-
function
|
|
3554
|
-
me.gen({ id:
|
|
3554
|
+
function v() {
|
|
3555
|
+
me.gen({ id: w.ssl.id }).then((c) => {
|
|
3555
3556
|
console.warn("Res:", c);
|
|
3556
3557
|
});
|
|
3557
3558
|
}
|
|
3558
3559
|
function s() {
|
|
3559
|
-
const c = Oe.getDownloadUrl(
|
|
3560
|
+
const c = Oe.getDownloadUrl(w.ssl.path + ".zip");
|
|
3560
3561
|
fetch(c).then((f) => f.blob()).then((f) => {
|
|
3561
3562
|
let b = URL.createObjectURL(f), D = document.createElement("a");
|
|
3562
|
-
D.style.display = "none", D.href = b, D.download =
|
|
3563
|
+
D.style.display = "none", D.href = b, D.download = w.ssl.name + ".zip", D.click(), URL.revokeObjectURL(f);
|
|
3563
3564
|
});
|
|
3564
3565
|
}
|
|
3565
3566
|
return U({
|
|
@@ -3592,7 +3593,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3592
3593
|
icon: "icon-key",
|
|
3593
3594
|
disabled: e(V),
|
|
3594
3595
|
loading: e(V),
|
|
3595
|
-
onClick:
|
|
3596
|
+
onClick: v
|
|
3596
3597
|
}, null, 8, ["disabled", "loading"]),
|
|
3597
3598
|
l(e(X), {
|
|
3598
3599
|
size: "default",
|
|
@@ -3624,14 +3625,14 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3624
3625
|
}), Fl = /* @__PURE__ */ O({
|
|
3625
3626
|
__name: "index",
|
|
3626
3627
|
setup(x) {
|
|
3627
|
-
const U = Ol,
|
|
3628
|
+
const U = Ol, w = $l, k = El, V = H(), {
|
|
3628
3629
|
requesting: _,
|
|
3629
3630
|
executing: m
|
|
3630
3631
|
} = z(pe), {
|
|
3631
3632
|
tableRef: i,
|
|
3632
3633
|
formModalRef: u,
|
|
3633
3634
|
reset: n,
|
|
3634
|
-
refresh:
|
|
3635
|
+
refresh: v,
|
|
3635
3636
|
openFormModal: s,
|
|
3636
3637
|
editFormModal: c
|
|
3637
3638
|
} = J(), {
|
|
@@ -3718,7 +3719,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3718
3719
|
S.value = y.id, pe.check({
|
|
3719
3720
|
id: y.id
|
|
3720
3721
|
}).then((h) => {
|
|
3721
|
-
h.data && (al(h),
|
|
3722
|
+
h.data && (al(h), v());
|
|
3722
3723
|
}).finally(() => {
|
|
3723
3724
|
S.value = 0;
|
|
3724
3725
|
});
|
|
@@ -3771,11 +3772,11 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3771
3772
|
}, null, 8, ["url"]), l(Dl, {
|
|
3772
3773
|
ref_key: "formModalRef",
|
|
3773
3774
|
ref: u,
|
|
3774
|
-
onRefresh: e(
|
|
3775
|
+
onRefresh: e(v)
|
|
3775
3776
|
}, null, 8, ["onRefresh"]), l(e(U), {
|
|
3776
3777
|
ref_key: "domainTableDrawerRef",
|
|
3777
3778
|
ref: f
|
|
3778
|
-
}, null, 512), l(e(
|
|
3779
|
+
}, null, 512), l(e(w), {
|
|
3779
3780
|
ref_key: "sslTableDrawerRef",
|
|
3780
3781
|
ref: D
|
|
3781
3782
|
}, null, 512), l(e(k), {
|
|
@@ -3798,7 +3799,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3798
3799
|
setup(x) {
|
|
3799
3800
|
const U = {
|
|
3800
3801
|
dates: [E.getCurrentHour().format(E.DATE_VALUE_FORMAT), E.getCurrentHour(1).format(E.DATE_VALUE_FORMAT)]
|
|
3801
|
-
},
|
|
3802
|
+
}, w = [{
|
|
3802
3803
|
label: a("base.sort"),
|
|
3803
3804
|
type: "index",
|
|
3804
3805
|
width: 60
|
|
@@ -3823,7 +3824,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3823
3824
|
reset: i
|
|
3824
3825
|
} = J(U);
|
|
3825
3826
|
return (u, n) => {
|
|
3826
|
-
const
|
|
3827
|
+
const v = r("el-date-picker"), s = r("el-space"), c = r("el-page-header"), f = r("el-card");
|
|
3827
3828
|
return M(), q(f, {
|
|
3828
3829
|
class: "basic-card flex-full",
|
|
3829
3830
|
"body-class": "flex-1"
|
|
@@ -3838,7 +3839,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3838
3839
|
content: o(() => [l(s, {
|
|
3839
3840
|
class: "search-bar"
|
|
3840
3841
|
}, {
|
|
3841
|
-
default: o(() => [l(
|
|
3842
|
+
default: o(() => [l(v, {
|
|
3842
3843
|
modelValue: e(_).dates,
|
|
3843
3844
|
"onUpdate:modelValue": n[0] || (n[0] = (b) => e(_).dates = b),
|
|
3844
3845
|
class: "basic-search-datetimerange",
|
|
@@ -3862,7 +3863,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3862
3863
|
ref_key: "tableRef",
|
|
3863
3864
|
ref: V,
|
|
3864
3865
|
size: "small",
|
|
3865
|
-
columns:
|
|
3866
|
+
columns: w,
|
|
3866
3867
|
url: e(ce).urls.request,
|
|
3867
3868
|
"search-param": e(_),
|
|
3868
3869
|
"auto-search": ""
|
|
@@ -3876,7 +3877,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3876
3877
|
setup(x) {
|
|
3877
3878
|
const U = {
|
|
3878
3879
|
dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate(0).format(E.DATE_FORMAT)]
|
|
3879
|
-
},
|
|
3880
|
+
}, w = [{
|
|
3880
3881
|
label: a("base.sort"),
|
|
3881
3882
|
type: "index",
|
|
3882
3883
|
width: 60
|
|
@@ -3901,7 +3902,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3901
3902
|
reset: i
|
|
3902
3903
|
} = J(U);
|
|
3903
3904
|
return (u, n) => {
|
|
3904
|
-
const
|
|
3905
|
+
const v = r("el-date-picker"), s = r("el-space"), c = r("el-page-header"), f = r("el-card");
|
|
3905
3906
|
return M(), q(f, {
|
|
3906
3907
|
class: "basic-card flex-full",
|
|
3907
3908
|
"body-class": "flex-1"
|
|
@@ -3916,7 +3917,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3916
3917
|
content: o(() => [l(s, {
|
|
3917
3918
|
class: "search-bar"
|
|
3918
3919
|
}, {
|
|
3919
|
-
default: o(() => [l(
|
|
3920
|
+
default: o(() => [l(v, {
|
|
3920
3921
|
modelValue: e(_).dates,
|
|
3921
3922
|
"onUpdate:modelValue": n[0] || (n[0] = (b) => e(_).dates = b),
|
|
3922
3923
|
class: "basic-search-daterange",
|
|
@@ -3940,7 +3941,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3940
3941
|
ref_key: "tableRef",
|
|
3941
3942
|
ref: V,
|
|
3942
3943
|
size: "small",
|
|
3943
|
-
columns:
|
|
3944
|
+
columns: w,
|
|
3944
3945
|
url: e(ce).urls.error,
|
|
3945
3946
|
"search-param": e(_),
|
|
3946
3947
|
"auto-search": ""
|
|
@@ -3954,7 +3955,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3954
3955
|
setup(x) {
|
|
3955
3956
|
const U = {
|
|
3956
3957
|
dates: [E.getCurrentDate(-7).format(E.DATE_FORMAT), E.getCurrentDate().format(E.DATE_FORMAT)]
|
|
3957
|
-
},
|
|
3958
|
+
}, w = [{
|
|
3958
3959
|
label: a("base.sort"),
|
|
3959
3960
|
type: "index",
|
|
3960
3961
|
width: 60
|
|
@@ -3979,7 +3980,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3979
3980
|
reset: i
|
|
3980
3981
|
} = J(U);
|
|
3981
3982
|
return (u, n) => {
|
|
3982
|
-
const
|
|
3983
|
+
const v = r("el-date-picker"), s = r("el-space"), c = r("el-page-header"), f = r("el-card");
|
|
3983
3984
|
return M(), q(f, {
|
|
3984
3985
|
class: "basic-card flex-full",
|
|
3985
3986
|
"body-class": "flex-1"
|
|
@@ -3994,7 +3995,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
3994
3995
|
content: o(() => [l(s, {
|
|
3995
3996
|
class: "search-bar"
|
|
3996
3997
|
}, {
|
|
3997
|
-
default: o(() => [l(
|
|
3998
|
+
default: o(() => [l(v, {
|
|
3998
3999
|
modelValue: e(_).dates,
|
|
3999
4000
|
"onUpdate:modelValue": n[0] || (n[0] = (b) => e(_).dates = b),
|
|
4000
4001
|
class: "basic-search-daterange",
|
|
@@ -4018,7 +4019,7 @@ const Ql = /* @__PURE__ */ O({
|
|
|
4018
4019
|
ref_key: "tableRef",
|
|
4019
4020
|
ref: V,
|
|
4020
4021
|
size: "small",
|
|
4021
|
-
columns:
|
|
4022
|
+
columns: w,
|
|
4022
4023
|
url: e(ce).urls.sql,
|
|
4023
4024
|
"search-param": e(_),
|
|
4024
4025
|
"auto-search": ""
|
|
@@ -4052,13 +4053,13 @@ const Ql = /* @__PURE__ */ O({
|
|
|
4052
4053
|
setup(x, {
|
|
4053
4054
|
emit: U
|
|
4054
4055
|
}) {
|
|
4055
|
-
const
|
|
4056
|
+
const w = U, k = x, {
|
|
4056
4057
|
requesting: V
|
|
4057
4058
|
} = z(W), {
|
|
4058
4059
|
value: _,
|
|
4059
4060
|
options: m,
|
|
4060
4061
|
change: i
|
|
4061
|
-
} = re(te(k, "modelValue"),
|
|
4062
|
+
} = re(te(k, "modelValue"), w, {
|
|
4062
4063
|
key: "LANGUAGE_SELECT",
|
|
4063
4064
|
url: W.urls.languages,
|
|
4064
4065
|
api: W,
|
|
@@ -4070,14 +4071,14 @@ const Ql = /* @__PURE__ */ O({
|
|
|
4070
4071
|
}))
|
|
4071
4072
|
});
|
|
4072
4073
|
return (u, n) => {
|
|
4073
|
-
const
|
|
4074
|
+
const v = r("el-radio-button"), s = r("el-radio-group");
|
|
4074
4075
|
return M(), q(s, {
|
|
4075
4076
|
modelValue: e(_),
|
|
4076
4077
|
"onUpdate:modelValue": n[0] || (n[0] = (c) => F(_) ? _.value = c : null),
|
|
4077
4078
|
disabled: e(V),
|
|
4078
4079
|
onChange: e(i)
|
|
4079
4080
|
}, {
|
|
4080
|
-
default: o(() => [(M(!0), B(G, null, ae(e(m), (c) => (M(), q(
|
|
4081
|
+
default: o(() => [(M(!0), B(G, null, ae(e(m), (c) => (M(), q(v, {
|
|
4081
4082
|
key: c.value,
|
|
4082
4083
|
value: c.value
|
|
4083
4084
|
}, {
|