auto-vue-basic 0.0.88 → 0.0.89
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.
|
@@ -8,7 +8,7 @@ const al = {
|
|
|
8
8
|
var ol = /* @__PURE__ */ O({
|
|
9
9
|
name: "Key",
|
|
10
10
|
__name: "key",
|
|
11
|
-
setup(
|
|
11
|
+
setup(v) {
|
|
12
12
|
return (R, k) => (S(), I("svg", {
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
viewBox: "0 0 1024 1024"
|
|
@@ -22,7 +22,7 @@ var ol = /* @__PURE__ */ O({
|
|
|
22
22
|
}), tl = ol, nl = /* @__PURE__ */ O({
|
|
23
23
|
name: "Search",
|
|
24
24
|
__name: "search",
|
|
25
|
-
setup(
|
|
25
|
+
setup(v) {
|
|
26
26
|
return (R, k) => (S(), I("svg", {
|
|
27
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
28
|
viewBox: "0 0 1024 1024"
|
|
@@ -44,13 +44,17 @@ const dl = /* @__PURE__ */ O({
|
|
|
44
44
|
multiple: {
|
|
45
45
|
type: Boolean,
|
|
46
46
|
default: !1
|
|
47
|
+
},
|
|
48
|
+
disabled: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: !1
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
emits: ["update:modelValue", "change"],
|
|
50
|
-
setup(
|
|
54
|
+
setup(v, {
|
|
51
55
|
emit: R
|
|
52
56
|
}) {
|
|
53
|
-
const k = R, h =
|
|
57
|
+
const k = R, h = v, {
|
|
54
58
|
requesting: g
|
|
55
59
|
} = F(H), {
|
|
56
60
|
value: _,
|
|
@@ -64,15 +68,15 @@ const dl = /* @__PURE__ */ O({
|
|
|
64
68
|
url: H.urls.tops,
|
|
65
69
|
isArray: !0
|
|
66
70
|
});
|
|
67
|
-
return (
|
|
71
|
+
return (w, u) => {
|
|
68
72
|
const c = s("el-space"), V = s("el-select-v2");
|
|
69
73
|
return S(), T(V, {
|
|
70
74
|
class: "w-full",
|
|
71
75
|
modelValue: e(_),
|
|
72
76
|
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
73
77
|
options: e(m),
|
|
74
|
-
multiple:
|
|
75
|
-
disabled: e(g),
|
|
78
|
+
multiple: v.multiple,
|
|
79
|
+
disabled: e(g) || v.disabled,
|
|
76
80
|
placeholder: e(a)("placeholder.select"),
|
|
77
81
|
filterable: "",
|
|
78
82
|
filterOptions: e(t),
|
|
@@ -97,7 +101,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
97
101
|
}), sl = /* @__PURE__ */ O({
|
|
98
102
|
__name: "MenuFormModal",
|
|
99
103
|
emits: ["refresh"],
|
|
100
|
-
setup(
|
|
104
|
+
setup(v, { expose: R, emit: k }) {
|
|
101
105
|
const h = k, g = {
|
|
102
106
|
id: 0,
|
|
103
107
|
menu_id: 0,
|
|
@@ -163,7 +167,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
163
167
|
trigger: "blur"
|
|
164
168
|
}
|
|
165
169
|
]
|
|
166
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
170
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, H);
|
|
167
171
|
return R({
|
|
168
172
|
open: c,
|
|
169
173
|
modify: V
|
|
@@ -185,7 +189,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
185
189
|
model: e(t),
|
|
186
190
|
"label-width": "auto",
|
|
187
191
|
rules: _,
|
|
188
|
-
disabled: e(
|
|
192
|
+
disabled: e(w) || e(u)
|
|
189
193
|
}, {
|
|
190
194
|
default: o(() => [
|
|
191
195
|
l(f, { gutter: 20 }, {
|
|
@@ -203,8 +207,9 @@ const dl = /* @__PURE__ */ O({
|
|
|
203
207
|
default: o(() => [
|
|
204
208
|
l(dl, {
|
|
205
209
|
modelValue: e(t).menu_id,
|
|
206
|
-
"onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).menu_id = M)
|
|
207
|
-
|
|
210
|
+
"onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).menu_id = M),
|
|
211
|
+
disabled: e(u)
|
|
212
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
208
213
|
]),
|
|
209
214
|
_: 1
|
|
210
215
|
}, 8, ["label"])
|
|
@@ -481,13 +486,17 @@ const dl = /* @__PURE__ */ O({
|
|
|
481
486
|
multiple: {
|
|
482
487
|
type: Boolean,
|
|
483
488
|
default: !1
|
|
489
|
+
},
|
|
490
|
+
disabled: {
|
|
491
|
+
type: Boolean,
|
|
492
|
+
default: !1
|
|
484
493
|
}
|
|
485
494
|
},
|
|
486
495
|
emits: ["update:modelValue", "change"],
|
|
487
|
-
setup(
|
|
496
|
+
setup(v, {
|
|
488
497
|
emit: R
|
|
489
498
|
}) {
|
|
490
|
-
const k = R, h =
|
|
499
|
+
const k = R, h = v, {
|
|
491
500
|
requesting: g
|
|
492
501
|
} = F(H), {
|
|
493
502
|
value: _,
|
|
@@ -500,15 +509,15 @@ const dl = /* @__PURE__ */ O({
|
|
|
500
509
|
api: H,
|
|
501
510
|
isArray: !0
|
|
502
511
|
});
|
|
503
|
-
return (
|
|
512
|
+
return (w, u) => {
|
|
504
513
|
const c = s("el-space"), V = s("el-select-v2");
|
|
505
514
|
return S(), T(V, {
|
|
506
515
|
class: "w-full",
|
|
507
516
|
modelValue: e(_),
|
|
508
517
|
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
509
518
|
options: e(m),
|
|
510
|
-
multiple:
|
|
511
|
-
disabled: e(g),
|
|
519
|
+
multiple: v.multiple,
|
|
520
|
+
disabled: e(g) || v.disabled,
|
|
512
521
|
placeholder: e(a)("placeholder.select"),
|
|
513
522
|
filterable: "",
|
|
514
523
|
filterOptions: e(t),
|
|
@@ -533,7 +542,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
533
542
|
}), il = /* @__PURE__ */ O({
|
|
534
543
|
__name: "MenuRuleFormModal",
|
|
535
544
|
emits: ["refresh"],
|
|
536
|
-
setup(
|
|
545
|
+
setup(v, { expose: R, emit: k }) {
|
|
537
546
|
const h = k, g = {
|
|
538
547
|
key: "",
|
|
539
548
|
menu_id: 0,
|
|
@@ -580,7 +589,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
580
589
|
trigger: "blur"
|
|
581
590
|
}
|
|
582
591
|
]
|
|
583
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
592
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, Le);
|
|
584
593
|
return R({
|
|
585
594
|
open: c,
|
|
586
595
|
modify: V
|
|
@@ -602,7 +611,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
602
611
|
model: e(t),
|
|
603
612
|
"label-width": "auto",
|
|
604
613
|
rules: _,
|
|
605
|
-
disabled: e(
|
|
614
|
+
disabled: e(w) || e(u)
|
|
606
615
|
}, {
|
|
607
616
|
default: o(() => [
|
|
608
617
|
l(C, { gutter: 20 }, {
|
|
@@ -616,8 +625,9 @@ const dl = /* @__PURE__ */ O({
|
|
|
616
625
|
default: o(() => [
|
|
617
626
|
l(ul, {
|
|
618
627
|
modelValue: e(t).menu_id,
|
|
619
|
-
"onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q)
|
|
620
|
-
|
|
628
|
+
"onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q),
|
|
629
|
+
disabled: e(u)
|
|
630
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
621
631
|
]),
|
|
622
632
|
_: 1
|
|
623
633
|
}, 8, ["label"]),
|
|
@@ -710,12 +720,12 @@ const dl = /* @__PURE__ */ O({
|
|
|
710
720
|
};
|
|
711
721
|
}
|
|
712
722
|
});
|
|
713
|
-
function Ae(
|
|
714
|
-
return typeof
|
|
723
|
+
function Ae(v) {
|
|
724
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !xe(v);
|
|
715
725
|
}
|
|
716
726
|
const jl = /* @__PURE__ */ O({
|
|
717
727
|
__name: "index",
|
|
718
|
-
setup(
|
|
728
|
+
setup(v) {
|
|
719
729
|
const R = {
|
|
720
730
|
keyword: "",
|
|
721
731
|
status: 0
|
|
@@ -853,7 +863,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
853
863
|
keyword: i,
|
|
854
864
|
search: p,
|
|
855
865
|
refresh: t,
|
|
856
|
-
reset:
|
|
866
|
+
reset: w,
|
|
857
867
|
openFormModal: u,
|
|
858
868
|
editFormModal: c
|
|
859
869
|
} = E(R), {
|
|
@@ -879,7 +889,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
879
889
|
}, {
|
|
880
890
|
title: o(() => [l(e(K), {
|
|
881
891
|
loading: e(g),
|
|
882
|
-
onRefresh: e(
|
|
892
|
+
onRefresh: e(w)
|
|
883
893
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
884
894
|
onOpen: e(u)
|
|
885
895
|
}, null, 8, ["onOpen"]), l(r, {
|
|
@@ -920,7 +930,6 @@ const jl = /* @__PURE__ */ O({
|
|
|
920
930
|
default: o(() => [l(e(ce), {
|
|
921
931
|
ref_key: "tableRef",
|
|
922
932
|
ref: _,
|
|
923
|
-
size: "small",
|
|
924
933
|
columns: h,
|
|
925
934
|
url: e(H).urls[e(Ve)],
|
|
926
935
|
"search-param": e(i),
|
|
@@ -945,15 +954,15 @@ const jl = /* @__PURE__ */ O({
|
|
|
945
954
|
disabled: { type: Boolean, default: !1 }
|
|
946
955
|
},
|
|
947
956
|
emits: ["update:modelValue"],
|
|
948
|
-
setup(
|
|
949
|
-
const { requesting: h } = F(H), g =
|
|
957
|
+
setup(v, { expose: R, emit: k }) {
|
|
958
|
+
const { requesting: h } = F(H), g = v, _ = k, m = B(!1), i = Be({
|
|
950
959
|
checkAll: !1,
|
|
951
960
|
indeterminate: !1,
|
|
952
961
|
MenuAll: {},
|
|
953
962
|
MenuList: {},
|
|
954
963
|
MenuIndeterminate: {}
|
|
955
964
|
}), { options: p, refresh: t } = te(oe(g, "modelValue"), _, { key: "RULE_CHECK", api: H, url: H.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
956
|
-
function
|
|
965
|
+
function w() {
|
|
957
966
|
p.value.forEach((x) => {
|
|
958
967
|
var n;
|
|
959
968
|
(n = x.rules) != null && n.length && (i.MenuAll[x.id] = !1, i.MenuIndeterminate[x.id] = !1, i.MenuList[x.id] = []);
|
|
@@ -977,7 +986,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
977
986
|
}), 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
987
|
}
|
|
979
988
|
function b() {
|
|
980
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {},
|
|
989
|
+
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, w(), _("update:modelValue", []), m.value = !1;
|
|
981
990
|
}
|
|
982
991
|
function D(x) {
|
|
983
992
|
var n;
|
|
@@ -1013,7 +1022,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1013
1022
|
"model-value": i.checkAll,
|
|
1014
1023
|
indeterminate: i.indeterminate,
|
|
1015
1024
|
id: "all",
|
|
1016
|
-
disabled:
|
|
1025
|
+
disabled: v.disabled,
|
|
1017
1026
|
onChange: u
|
|
1018
1027
|
}, {
|
|
1019
1028
|
default: o(() => [...n[1] || (n[1] = [
|
|
@@ -1047,7 +1056,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1047
1056
|
l(d, {
|
|
1048
1057
|
style: { "min-width": "150px" },
|
|
1049
1058
|
"model-value": i.MenuAll[A.id],
|
|
1050
|
-
disabled:
|
|
1059
|
+
disabled: v.disabled || !A.rules || A.rules.length <= 0,
|
|
1051
1060
|
indeterminate: i.MenuIndeterminate[A.id],
|
|
1052
1061
|
onChange: (q) => c(q, A.id)
|
|
1053
1062
|
}, {
|
|
@@ -1066,7 +1075,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1066
1075
|
key: 0,
|
|
1067
1076
|
modelValue: i.MenuList[A.id],
|
|
1068
1077
|
"onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
|
|
1069
|
-
disabled:
|
|
1078
|
+
disabled: v.disabled,
|
|
1070
1079
|
style: { margin: "auto" },
|
|
1071
1080
|
onChange: V
|
|
1072
1081
|
}, {
|
|
@@ -1093,15 +1102,15 @@ const jl = /* @__PURE__ */ O({
|
|
|
1093
1102
|
]);
|
|
1094
1103
|
};
|
|
1095
1104
|
}
|
|
1096
|
-
}), qe = (
|
|
1097
|
-
const k =
|
|
1105
|
+
}), qe = (v, R) => {
|
|
1106
|
+
const k = v.__vccOpts || v;
|
|
1098
1107
|
for (const [h, g] of R)
|
|
1099
1108
|
k[h] = g;
|
|
1100
1109
|
return k;
|
|
1101
1110
|
}, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
|
|
1102
1111
|
__name: "RoleFormModal",
|
|
1103
1112
|
emits: ["refresh"],
|
|
1104
|
-
setup(
|
|
1113
|
+
setup(v, { expose: R, emit: k }) {
|
|
1105
1114
|
const h = k, g = B(), _ = {
|
|
1106
1115
|
key: "",
|
|
1107
1116
|
module: "",
|
|
@@ -1125,7 +1134,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1125
1134
|
trigger: "blur"
|
|
1126
1135
|
}
|
|
1127
1136
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: t, formData:
|
|
1137
|
+
}, { modal: i, title: p, form: t, formData: w, requesting: u, executing: c, open: V, modify: b, submit: D, closed: x } = X(h, _, ke), n = () => {
|
|
1129
1138
|
var d;
|
|
1130
1139
|
(d = g.value) == null || d.cleanChecked(), x();
|
|
1131
1140
|
};
|
|
@@ -1147,7 +1156,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1147
1156
|
l(M, {
|
|
1148
1157
|
ref_key: "form",
|
|
1149
1158
|
ref: t,
|
|
1150
|
-
model: e(
|
|
1159
|
+
model: e(w),
|
|
1151
1160
|
"label-width": "auto",
|
|
1152
1161
|
rules: m,
|
|
1153
1162
|
disabled: e(u) || e(c)
|
|
@@ -1163,8 +1172,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1163
1172
|
}, {
|
|
1164
1173
|
default: o(() => [
|
|
1165
1174
|
l(y, {
|
|
1166
|
-
modelValue: e(
|
|
1167
|
-
"onUpdate:modelValue": r[0] || (r[0] = (L) => e(
|
|
1175
|
+
modelValue: e(w).module,
|
|
1176
|
+
"onUpdate:modelValue": r[0] || (r[0] = (L) => e(w).module = L),
|
|
1168
1177
|
placeholder: e(a)("placeholder.input")
|
|
1169
1178
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1170
1179
|
]),
|
|
@@ -1182,8 +1191,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1182
1191
|
default: o(() => [
|
|
1183
1192
|
l(A, {
|
|
1184
1193
|
class: "w-full",
|
|
1185
|
-
modelValue: e(
|
|
1186
|
-
"onUpdate:modelValue": r[1] || (r[1] = (L) => e(
|
|
1194
|
+
modelValue: e(w).sort,
|
|
1195
|
+
"onUpdate:modelValue": r[1] || (r[1] = (L) => e(w).sort = L),
|
|
1187
1196
|
min: 0,
|
|
1188
1197
|
placeholder: e(a)("placeholder.input")
|
|
1189
1198
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -1202,8 +1211,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1202
1211
|
}, {
|
|
1203
1212
|
default: o(() => [
|
|
1204
1213
|
l(y, {
|
|
1205
|
-
modelValue: e(
|
|
1206
|
-
"onUpdate:modelValue": r[2] || (r[2] = (L) => e(
|
|
1214
|
+
modelValue: e(w).name,
|
|
1215
|
+
"onUpdate:modelValue": r[2] || (r[2] = (L) => e(w).name = L),
|
|
1207
1216
|
placeholder: e(a)("placeholder.input")
|
|
1208
1217
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1209
1218
|
]),
|
|
@@ -1215,8 +1224,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1215
1224
|
}, {
|
|
1216
1225
|
default: o(() => [
|
|
1217
1226
|
l(y, {
|
|
1218
|
-
modelValue: e(
|
|
1219
|
-
"onUpdate:modelValue": r[3] || (r[3] = (L) => e(
|
|
1227
|
+
modelValue: e(w).en_name,
|
|
1228
|
+
"onUpdate:modelValue": r[3] || (r[3] = (L) => e(w).en_name = L),
|
|
1220
1229
|
placeholder: e(a)("placeholder.input")
|
|
1221
1230
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1222
1231
|
]),
|
|
@@ -1228,8 +1237,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1228
1237
|
}, {
|
|
1229
1238
|
default: o(() => [
|
|
1230
1239
|
l(y, {
|
|
1231
|
-
modelValue: e(
|
|
1232
|
-
"onUpdate:modelValue": r[4] || (r[4] = (L) => e(
|
|
1240
|
+
modelValue: e(w).remark,
|
|
1241
|
+
"onUpdate:modelValue": r[4] || (r[4] = (L) => e(w).remark = L),
|
|
1233
1242
|
placeholder: e(a)("placeholder.input")
|
|
1234
1243
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1235
1244
|
]),
|
|
@@ -1243,8 +1252,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1243
1252
|
l(fl, {
|
|
1244
1253
|
ref_key: "rulesCheck",
|
|
1245
1254
|
ref: g,
|
|
1246
|
-
modelValue: e(
|
|
1247
|
-
"onUpdate:modelValue": r[5] || (r[5] = (L) => e(
|
|
1255
|
+
modelValue: e(w).rules,
|
|
1256
|
+
"onUpdate:modelValue": r[5] || (r[5] = (L) => e(w).rules = L),
|
|
1248
1257
|
disabled: e(u) || e(c)
|
|
1249
1258
|
}, null, 8, ["modelValue", "disabled"])
|
|
1250
1259
|
]),
|
|
@@ -1260,7 +1269,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1260
1269
|
}
|
|
1261
1270
|
}), Kl = /* @__PURE__ */ O({
|
|
1262
1271
|
__name: "index",
|
|
1263
|
-
setup(
|
|
1272
|
+
setup(v) {
|
|
1264
1273
|
const R = {
|
|
1265
1274
|
keyword: ""
|
|
1266
1275
|
}, k = [
|
|
@@ -1313,7 +1322,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1313
1322
|
search: i,
|
|
1314
1323
|
reset: p,
|
|
1315
1324
|
refresh: t,
|
|
1316
|
-
openFormModal:
|
|
1325
|
+
openFormModal: w,
|
|
1317
1326
|
editFormModal: u
|
|
1318
1327
|
} = E(R);
|
|
1319
1328
|
return (c, V) => {
|
|
@@ -1329,7 +1338,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1329
1338
|
loading: e(h),
|
|
1330
1339
|
onRefresh: e(p)
|
|
1331
1340
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1332
|
-
onOpen: e(
|
|
1341
|
+
onOpen: e(w)
|
|
1333
1342
|
}, null, 8, ["onOpen"])]),
|
|
1334
1343
|
content: o(() => [l(D, {
|
|
1335
1344
|
class: "search-bar"
|
|
@@ -1397,10 +1406,10 @@ const jl = /* @__PURE__ */ O({
|
|
|
1397
1406
|
}
|
|
1398
1407
|
},
|
|
1399
1408
|
emits: ["update:modelValue", "update:value", "change"],
|
|
1400
|
-
setup(
|
|
1409
|
+
setup(v, {
|
|
1401
1410
|
emit: R
|
|
1402
1411
|
}) {
|
|
1403
|
-
const k = R, h =
|
|
1412
|
+
const k = R, h = v, {
|
|
1404
1413
|
requesting: g
|
|
1405
1414
|
} = F(W), {
|
|
1406
1415
|
value: _,
|
|
@@ -1414,18 +1423,18 @@ const jl = /* @__PURE__ */ O({
|
|
|
1414
1423
|
api: W,
|
|
1415
1424
|
isArray: !0
|
|
1416
1425
|
});
|
|
1417
|
-
return (
|
|
1426
|
+
return (w, u) => {
|
|
1418
1427
|
const c = s("el-space"), V = s("el-select-v2");
|
|
1419
1428
|
return S(), T(V, {
|
|
1420
1429
|
class: "w-full",
|
|
1421
1430
|
modelValue: e(_),
|
|
1422
1431
|
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
1423
1432
|
options: e(m),
|
|
1424
|
-
multiple:
|
|
1425
|
-
disabled: e(g) ||
|
|
1426
|
-
clearable:
|
|
1433
|
+
multiple: v.multiple,
|
|
1434
|
+
disabled: e(g) || v.disabled,
|
|
1435
|
+
clearable: v.clearable,
|
|
1427
1436
|
filterable: "",
|
|
1428
|
-
"allow-create":
|
|
1437
|
+
"allow-create": v.allowCreate,
|
|
1429
1438
|
"default-first-option": "",
|
|
1430
1439
|
placeholder: e(a)("placeholder.select"),
|
|
1431
1440
|
filterOptions: e(t),
|
|
@@ -1448,7 +1457,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1448
1457
|
}), bl = /* @__PURE__ */ O({
|
|
1449
1458
|
__name: "I18N",
|
|
1450
1459
|
emits: ["refresh"],
|
|
1451
|
-
setup(
|
|
1460
|
+
setup(v, { expose: R, emit: k }) {
|
|
1452
1461
|
const h = k, g = {
|
|
1453
1462
|
uuid: "",
|
|
1454
1463
|
key: "",
|
|
@@ -1493,7 +1502,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1493
1502
|
});
|
|
1494
1503
|
}
|
|
1495
1504
|
p();
|
|
1496
|
-
const { modal: t, title:
|
|
1505
|
+
const { modal: t, title: w, form: u, formData: c, requesting: V, executing: b, open: D, modify: x, submit: n, closed: d } = X(h, g, W);
|
|
1497
1506
|
return R({
|
|
1498
1507
|
open: D,
|
|
1499
1508
|
modify: x
|
|
@@ -1502,7 +1511,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1502
1511
|
return S(), T(e(le), {
|
|
1503
1512
|
modelValue: e(t),
|
|
1504
1513
|
"onUpdate:modelValue": y[3] || (y[3] = (M) => N(t) ? t.value = M : null),
|
|
1505
|
-
title: e(
|
|
1514
|
+
title: e(w)(),
|
|
1506
1515
|
width: "600px",
|
|
1507
1516
|
executing: e(b),
|
|
1508
1517
|
onClosed: e(d),
|
|
@@ -1599,13 +1608,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
1599
1608
|
};
|
|
1600
1609
|
}
|
|
1601
1610
|
});
|
|
1602
|
-
function gl(
|
|
1603
|
-
return typeof
|
|
1611
|
+
function gl(v) {
|
|
1612
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !xe(v);
|
|
1604
1613
|
}
|
|
1605
1614
|
const Oe = /* @__PURE__ */ O({
|
|
1606
1615
|
__name: "I18N",
|
|
1607
1616
|
emits: ["closed", "choosed"],
|
|
1608
|
-
setup(
|
|
1617
|
+
setup(v, {
|
|
1609
1618
|
expose: R,
|
|
1610
1619
|
emit: k
|
|
1611
1620
|
}) {
|
|
@@ -1670,7 +1679,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1670
1679
|
executing: p
|
|
1671
1680
|
} = F(W), {
|
|
1672
1681
|
tableRef: t,
|
|
1673
|
-
formModalRef:
|
|
1682
|
+
formModalRef: w,
|
|
1674
1683
|
keyword: u,
|
|
1675
1684
|
search: c,
|
|
1676
1685
|
reset: V,
|
|
@@ -1766,7 +1775,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1766
1775
|
"auto-search": ""
|
|
1767
1776
|
}, null, 8, ["url", "search-param"]), l(bl, {
|
|
1768
1777
|
ref_key: "formModalRef",
|
|
1769
|
-
ref:
|
|
1778
|
+
ref: w,
|
|
1770
1779
|
onRefresh: e(b)
|
|
1771
1780
|
}, null, 8, ["onRefresh"])]),
|
|
1772
1781
|
_: 1
|
|
@@ -1776,7 +1785,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1776
1785
|
}), hl = { key: 0 }, Vl = { key: 1 }, yl = /* @__PURE__ */ O({
|
|
1777
1786
|
__name: "template",
|
|
1778
1787
|
emits: ["refresh"],
|
|
1779
|
-
setup(
|
|
1788
|
+
setup(v, { expose: R, emit: k }) {
|
|
1780
1789
|
const { formModalRef: h, openFormModal: g } = E(), _ = k, m = B("600px"), i = B({
|
|
1781
1790
|
"zh-CN": "primary",
|
|
1782
1791
|
"en-US": "success"
|
|
@@ -1786,7 +1795,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1786
1795
|
keys: "",
|
|
1787
1796
|
values: [],
|
|
1788
1797
|
remark: ""
|
|
1789
|
-
},
|
|
1798
|
+
}, w = {
|
|
1790
1799
|
app: [
|
|
1791
1800
|
{
|
|
1792
1801
|
required: !0,
|
|
@@ -1876,7 +1885,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1876
1885
|
ref: V,
|
|
1877
1886
|
model: e(b),
|
|
1878
1887
|
"label-width": "auto",
|
|
1879
|
-
rules:
|
|
1888
|
+
rules: w,
|
|
1880
1889
|
disabled: e(D) || e(x)
|
|
1881
1890
|
}, {
|
|
1882
1891
|
default: o(() => [
|
|
@@ -1985,12 +1994,12 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1985
1994
|
}), kl = Y.routineApi("gateway", "id", {
|
|
1986
1995
|
gen: "gen_translation"
|
|
1987
1996
|
});
|
|
1988
|
-
function vl(
|
|
1989
|
-
return typeof
|
|
1997
|
+
function vl(v) {
|
|
1998
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !xe(v);
|
|
1990
1999
|
}
|
|
1991
2000
|
const Wl = /* @__PURE__ */ O({
|
|
1992
2001
|
__name: "index",
|
|
1993
|
-
setup(
|
|
2002
|
+
setup(v) {
|
|
1994
2003
|
const R = {
|
|
1995
2004
|
keyword: "",
|
|
1996
2005
|
app: 0,
|
|
@@ -2073,7 +2082,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2073
2082
|
tableRef: i,
|
|
2074
2083
|
formModalRef: p,
|
|
2075
2084
|
keyword: t,
|
|
2076
|
-
search:
|
|
2085
|
+
search: w,
|
|
2077
2086
|
reset: u,
|
|
2078
2087
|
refresh: c,
|
|
2079
2088
|
openFormModal: V,
|
|
@@ -2121,20 +2130,20 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2121
2130
|
disabled: e(h) || e(g),
|
|
2122
2131
|
placeholder: e(a)("placeholder.keyword"),
|
|
2123
2132
|
clearable: "",
|
|
2124
|
-
onKeyup: r[1] || (r[1] = he((U) => e(
|
|
2125
|
-
onClear: r[2] || (r[2] = (U) => e(
|
|
2133
|
+
onKeyup: r[1] || (r[1] = he((U) => e(w)(), ["enter"])),
|
|
2134
|
+
onClear: r[2] || (r[2] = (U) => e(w)())
|
|
2126
2135
|
}, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Se), {
|
|
2127
2136
|
modelValue: e(t).app,
|
|
2128
2137
|
"onUpdate:modelValue": r[3] || (r[3] = (U) => e(t).app = U),
|
|
2129
2138
|
"cache-key": "I18NAPPS",
|
|
2130
2139
|
disabled: e(h) || e(g),
|
|
2131
2140
|
url: e(re).urls.apps,
|
|
2132
|
-
onChange: r[4] || (r[4] = (U) => e(
|
|
2141
|
+
onChange: r[4] || (r[4] = (U) => e(w)())
|
|
2133
2142
|
}, null, 8, ["modelValue", "disabled", "url"]), l(C, {
|
|
2134
2143
|
modelValue: e(t).status,
|
|
2135
2144
|
"onUpdate:modelValue": r[5] || (r[5] = (U) => e(t).status = U),
|
|
2136
2145
|
disabled: e(h) || e(g),
|
|
2137
|
-
onChange: r[6] || (r[6] = (U) => e(
|
|
2146
|
+
onChange: r[6] || (r[6] = (U) => e(w)())
|
|
2138
2147
|
}, {
|
|
2139
2148
|
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(f, {
|
|
2140
2149
|
key: U,
|
|
@@ -2144,7 +2153,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2144
2153
|
_: 1
|
|
2145
2154
|
}, 8, ["modelValue", "disabled"]), l(e(ne), {
|
|
2146
2155
|
disabled: e(h) || e(g),
|
|
2147
|
-
onSearch: r[7] || (r[7] = (U) => e(
|
|
2156
|
+
onSearch: r[7] || (r[7] = (U) => e(w)())
|
|
2148
2157
|
}, null, 8, ["disabled"])]),
|
|
2149
2158
|
_: 1
|
|
2150
2159
|
})]),
|
|
@@ -2193,7 +2202,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2193
2202
|
}), ve = Y.routineApi("admin", "key"), wl = /* @__PURE__ */ O({
|
|
2194
2203
|
__name: "AdminFormModal",
|
|
2195
2204
|
emits: ["refresh"],
|
|
2196
|
-
setup(
|
|
2205
|
+
setup(v, { expose: R, emit: k }) {
|
|
2197
2206
|
const h = k, g = {
|
|
2198
2207
|
key: "",
|
|
2199
2208
|
username: "",
|
|
@@ -2203,7 +2212,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2203
2212
|
language: "zh-CN",
|
|
2204
2213
|
remark: "",
|
|
2205
2214
|
roles: []
|
|
2206
|
-
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing:
|
|
2215
|
+
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing: w, open: u, modify: c, submit: V, closed: b } = X(h, g, ve), D = {
|
|
2207
2216
|
username: [
|
|
2208
2217
|
{
|
|
2209
2218
|
required: !0,
|
|
@@ -2264,7 +2273,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2264
2273
|
"onUpdate:modelValue": r[7] || (r[7] = (U) => N(_) ? _.value = U : null),
|
|
2265
2274
|
title: e(m)(),
|
|
2266
2275
|
width: "600px",
|
|
2267
|
-
executing: e(
|
|
2276
|
+
executing: e(w),
|
|
2268
2277
|
onClosed: e(b),
|
|
2269
2278
|
onSubmit: e(V)
|
|
2270
2279
|
}, {
|
|
@@ -2275,7 +2284,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2275
2284
|
model: e(p),
|
|
2276
2285
|
"label-width": "auto",
|
|
2277
2286
|
rules: D,
|
|
2278
|
-
disabled: e(t) || e(
|
|
2287
|
+
disabled: e(t) || e(w)
|
|
2279
2288
|
}, {
|
|
2280
2289
|
default: o(() => [
|
|
2281
2290
|
l(f, {
|
|
@@ -2411,7 +2420,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2411
2420
|
}
|
|
2412
2421
|
}), Gl = /* @__PURE__ */ O({
|
|
2413
2422
|
__name: "index",
|
|
2414
|
-
setup(
|
|
2423
|
+
setup(v) {
|
|
2415
2424
|
const R = {
|
|
2416
2425
|
keyword: ""
|
|
2417
2426
|
}, k = [{
|
|
@@ -2476,7 +2485,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2476
2485
|
search: i,
|
|
2477
2486
|
reset: p,
|
|
2478
2487
|
refresh: t,
|
|
2479
|
-
openFormModal:
|
|
2488
|
+
openFormModal: w,
|
|
2480
2489
|
editFormModal: u
|
|
2481
2490
|
} = E(R);
|
|
2482
2491
|
return (c, V) => {
|
|
@@ -2492,7 +2501,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2492
2501
|
loading: e(h),
|
|
2493
2502
|
onRefresh: e(p)
|
|
2494
2503
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2495
|
-
onOpen: e(
|
|
2504
|
+
onOpen: e(w)
|
|
2496
2505
|
}, null, 8, ["onOpen"])]),
|
|
2497
2506
|
content: o(() => [l(D, {
|
|
2498
2507
|
class: "search-bar"
|
|
@@ -2545,11 +2554,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2545
2554
|
}
|
|
2546
2555
|
},
|
|
2547
2556
|
emits: ["update:modelValue", "change"],
|
|
2548
|
-
setup(
|
|
2557
|
+
setup(v, {
|
|
2549
2558
|
expose: R,
|
|
2550
2559
|
emit: k
|
|
2551
2560
|
}) {
|
|
2552
|
-
const h = k, g =
|
|
2561
|
+
const h = k, g = v, {
|
|
2553
2562
|
requesting: _
|
|
2554
2563
|
} = F(be), {
|
|
2555
2564
|
key: m,
|
|
@@ -2563,13 +2572,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2563
2572
|
});
|
|
2564
2573
|
return R({
|
|
2565
2574
|
refresh: p
|
|
2566
|
-
}), (
|
|
2575
|
+
}), (w, u) => {
|
|
2567
2576
|
const c = s("el-select-v2");
|
|
2568
2577
|
return S(), T(c, {
|
|
2569
2578
|
modelValue: e(m),
|
|
2570
2579
|
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2571
2580
|
options: e(i),
|
|
2572
|
-
disabled:
|
|
2581
|
+
disabled: v.disabled || e(_),
|
|
2573
2582
|
placeholder: e(a)("base.select config.domain"),
|
|
2574
2583
|
onChange: e(t)
|
|
2575
2584
|
}, {
|
|
@@ -2584,7 +2593,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2584
2593
|
}), Rl = /* @__PURE__ */ O({
|
|
2585
2594
|
__name: "SiteFormModal",
|
|
2586
2595
|
emits: ["refresh"],
|
|
2587
|
-
setup(
|
|
2596
|
+
setup(v, { expose: R, emit: k }) {
|
|
2588
2597
|
const h = k, g = {
|
|
2589
2598
|
id: 0,
|
|
2590
2599
|
domain_id: 0,
|
|
@@ -2600,7 +2609,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2600
2609
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2601
2610
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2602
2611
|
en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
|
|
2603
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
2612
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ue);
|
|
2604
2613
|
return R({
|
|
2605
2614
|
open: c,
|
|
2606
2615
|
modify: V
|
|
@@ -2622,7 +2631,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2622
2631
|
model: e(t),
|
|
2623
2632
|
"label-width": "auto",
|
|
2624
2633
|
rules: _,
|
|
2625
|
-
disabled: e(
|
|
2634
|
+
disabled: e(w) || e(u)
|
|
2626
2635
|
}, {
|
|
2627
2636
|
default: o(() => [
|
|
2628
2637
|
l(d, {
|
|
@@ -2743,11 +2752,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2743
2752
|
}
|
|
2744
2753
|
},
|
|
2745
2754
|
emits: ["update:modelValue", "change"],
|
|
2746
|
-
setup(
|
|
2755
|
+
setup(v, {
|
|
2747
2756
|
expose: R,
|
|
2748
2757
|
emit: k
|
|
2749
2758
|
}) {
|
|
2750
|
-
const h = k, g =
|
|
2759
|
+
const h = k, g = v, {
|
|
2751
2760
|
requesting: _
|
|
2752
2761
|
} = F(ge), {
|
|
2753
2762
|
key: m,
|
|
@@ -2761,13 +2770,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2761
2770
|
});
|
|
2762
2771
|
return R({
|
|
2763
2772
|
refresh: p
|
|
2764
|
-
}), (
|
|
2773
|
+
}), (w, u) => {
|
|
2765
2774
|
const c = s("el-select-v2");
|
|
2766
2775
|
return S(), T(c, {
|
|
2767
2776
|
modelValue: e(m),
|
|
2768
2777
|
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2769
2778
|
options: e(i),
|
|
2770
|
-
disabled:
|
|
2779
|
+
disabled: v.disabled || e(_),
|
|
2771
2780
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
2772
2781
|
onChange: e(t)
|
|
2773
2782
|
}, {
|
|
@@ -2782,7 +2791,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2782
2791
|
}), Ml = /* @__PURE__ */ O({
|
|
2783
2792
|
__name: "DomainFormModal",
|
|
2784
2793
|
emits: ["refresh"],
|
|
2785
|
-
setup(
|
|
2794
|
+
setup(v, { expose: R, emit: k }) {
|
|
2786
2795
|
const h = k, g = {
|
|
2787
2796
|
id: 0,
|
|
2788
2797
|
provider_id: 0,
|
|
@@ -2793,7 +2802,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2793
2802
|
}, _ = {
|
|
2794
2803
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2795
2804
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
|
|
2796
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
2805
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, be);
|
|
2797
2806
|
return R({
|
|
2798
2807
|
open: c,
|
|
2799
2808
|
modify: V
|
|
@@ -2815,7 +2824,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2815
2824
|
model: e(t),
|
|
2816
2825
|
"label-width": "auto",
|
|
2817
2826
|
rules: _,
|
|
2818
|
-
disabled: e(
|
|
2827
|
+
disabled: e(w) || e(u)
|
|
2819
2828
|
}, {
|
|
2820
2829
|
default: o(() => [
|
|
2821
2830
|
l(d, {
|
|
@@ -2901,11 +2910,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2901
2910
|
}
|
|
2902
2911
|
},
|
|
2903
2912
|
emits: ["update:modelValue", "change"],
|
|
2904
|
-
setup(
|
|
2913
|
+
setup(v, {
|
|
2905
2914
|
expose: R,
|
|
2906
2915
|
emit: k
|
|
2907
2916
|
}) {
|
|
2908
|
-
const h = k, g =
|
|
2917
|
+
const h = k, g = v, {
|
|
2909
2918
|
requesting: _
|
|
2910
2919
|
} = F(ue), {
|
|
2911
2920
|
key: m,
|
|
@@ -2917,7 +2926,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2917
2926
|
api: ue,
|
|
2918
2927
|
isArray: !0
|
|
2919
2928
|
}, {
|
|
2920
|
-
formatOptions: (
|
|
2929
|
+
formatOptions: (w) => w.map((u) => {
|
|
2921
2930
|
var c;
|
|
2922
2931
|
return {
|
|
2923
2932
|
...u,
|
|
@@ -2928,13 +2937,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2928
2937
|
});
|
|
2929
2938
|
return R({
|
|
2930
2939
|
refresh: p
|
|
2931
|
-
}), (
|
|
2940
|
+
}), (w, u) => {
|
|
2932
2941
|
const c = s("el-select-v2");
|
|
2933
2942
|
return S(), T(c, {
|
|
2934
2943
|
modelValue: e(m),
|
|
2935
2944
|
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2936
2945
|
options: e(i),
|
|
2937
|
-
disabled:
|
|
2946
|
+
disabled: v.disabled || e(_),
|
|
2938
2947
|
placeholder: e(a)("base.select config.domain"),
|
|
2939
2948
|
onChange: e(t)
|
|
2940
2949
|
}, {
|
|
@@ -2949,7 +2958,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2949
2958
|
}), Ee = /* @__PURE__ */ O({
|
|
2950
2959
|
__name: "SSLFormModal",
|
|
2951
2960
|
emits: ["refresh"],
|
|
2952
|
-
setup(
|
|
2961
|
+
setup(v, { expose: R, emit: k }) {
|
|
2953
2962
|
const h = k, g = {
|
|
2954
2963
|
id: 0,
|
|
2955
2964
|
domain_id: void 0,
|
|
@@ -2967,7 +2976,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2967
2976
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
2968
2977
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
2969
2978
|
encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
|
|
2970
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
2979
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ie);
|
|
2971
2980
|
return R({
|
|
2972
2981
|
open: c,
|
|
2973
2982
|
modify: V,
|
|
@@ -2990,7 +2999,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2990
2999
|
model: e(t),
|
|
2991
3000
|
"label-width": "auto",
|
|
2992
3001
|
rules: _,
|
|
2993
|
-
disabled: e(
|
|
3002
|
+
disabled: e(w) || e(u)
|
|
2994
3003
|
}, {
|
|
2995
3004
|
default: o(() => [
|
|
2996
3005
|
l(d, {
|
|
@@ -3126,7 +3135,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3126
3135
|
}), Sl = /* @__PURE__ */ O({
|
|
3127
3136
|
__name: "DomainProviderFormModal",
|
|
3128
3137
|
emits: ["refresh"],
|
|
3129
|
-
setup(
|
|
3138
|
+
setup(v, { expose: R, emit: k }) {
|
|
3130
3139
|
const h = k, g = {
|
|
3131
3140
|
id: 0,
|
|
3132
3141
|
name: "",
|
|
@@ -3142,7 +3151,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3142
3151
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
3143
3152
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
3144
3153
|
end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
|
|
3145
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
3154
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ge);
|
|
3146
3155
|
return R({
|
|
3147
3156
|
open: c,
|
|
3148
3157
|
modify: V
|
|
@@ -3164,7 +3173,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3164
3173
|
model: e(t),
|
|
3165
3174
|
"label-width": "auto",
|
|
3166
3175
|
rules: _,
|
|
3167
|
-
disabled: e(
|
|
3176
|
+
disabled: e(w) || e(u)
|
|
3168
3177
|
}, {
|
|
3169
3178
|
default: o(() => [
|
|
3170
3179
|
l(r, {
|
|
@@ -3261,7 +3270,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3261
3270
|
}
|
|
3262
3271
|
}), Cl = /* @__PURE__ */ O({
|
|
3263
3272
|
__name: "DomainProviderTableDrawer",
|
|
3264
|
-
setup(
|
|
3273
|
+
setup(v, {
|
|
3265
3274
|
expose: R
|
|
3266
3275
|
}) {
|
|
3267
3276
|
const {
|
|
@@ -3344,7 +3353,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3344
3353
|
}
|
|
3345
3354
|
}), Ll = /* @__PURE__ */ O({
|
|
3346
3355
|
__name: "DomainTableDrawer",
|
|
3347
|
-
setup(
|
|
3356
|
+
setup(v, {
|
|
3348
3357
|
expose: R
|
|
3349
3358
|
}) {
|
|
3350
3359
|
const {
|
|
@@ -3357,7 +3366,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3357
3366
|
editFormModal: p
|
|
3358
3367
|
} = E(), {
|
|
3359
3368
|
formModalRef: t,
|
|
3360
|
-
openFormModal:
|
|
3369
|
+
openFormModal: w,
|
|
3361
3370
|
editFormModal: u
|
|
3362
3371
|
} = E(), {
|
|
3363
3372
|
formModalRef: c,
|
|
@@ -3406,7 +3415,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3406
3415
|
var n;
|
|
3407
3416
|
x.ssl && x.ssl.id ? u({
|
|
3408
3417
|
id: (n = x.ssl) == null ? void 0 : n.id
|
|
3409
|
-
}) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0,
|
|
3418
|
+
}) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0, w());
|
|
3410
3419
|
}
|
|
3411
3420
|
}, null)]
|
|
3412
3421
|
})
|
|
@@ -3473,7 +3482,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3473
3482
|
}
|
|
3474
3483
|
}), ql = /* @__PURE__ */ O({
|
|
3475
3484
|
__name: "SSLTableDrawer",
|
|
3476
|
-
setup(
|
|
3485
|
+
setup(v, {
|
|
3477
3486
|
expose: R
|
|
3478
3487
|
}) {
|
|
3479
3488
|
const {
|
|
@@ -3484,7 +3493,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3484
3493
|
formModalRef: i,
|
|
3485
3494
|
refresh: p,
|
|
3486
3495
|
openFormModal: t,
|
|
3487
|
-
editFormModal:
|
|
3496
|
+
editFormModal: w
|
|
3488
3497
|
} = E(), u = [
|
|
3489
3498
|
{
|
|
3490
3499
|
prop: "client",
|
|
@@ -3531,7 +3540,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3531
3540
|
icon: "icon-edit",
|
|
3532
3541
|
t: "",
|
|
3533
3542
|
disabled: h.value,
|
|
3534
|
-
onModify: () =>
|
|
3543
|
+
onModify: () => w({
|
|
3535
3544
|
id: D.id
|
|
3536
3545
|
})
|
|
3537
3546
|
}, null), l(Q, {
|
|
@@ -3618,17 +3627,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3618
3627
|
default: () => ({})
|
|
3619
3628
|
}
|
|
3620
3629
|
},
|
|
3621
|
-
setup(
|
|
3630
|
+
setup(v, {
|
|
3622
3631
|
expose: R
|
|
3623
3632
|
}) {
|
|
3624
|
-
const k =
|
|
3633
|
+
const k = v, {
|
|
3625
3634
|
requesting: h,
|
|
3626
3635
|
executing: g
|
|
3627
3636
|
} = F([De, ie]), _ = B(!1), {
|
|
3628
3637
|
tableRef: m,
|
|
3629
3638
|
refresh: i
|
|
3630
3639
|
} = E(), p = [{
|
|
3631
|
-
prop: "
|
|
3640
|
+
prop: "status.label",
|
|
3632
3641
|
label: a("base.status"),
|
|
3633
3642
|
width: 100
|
|
3634
3643
|
}, {
|
|
@@ -3646,7 +3655,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3646
3655
|
}], t = () => {
|
|
3647
3656
|
_.value = !0;
|
|
3648
3657
|
};
|
|
3649
|
-
function
|
|
3658
|
+
function w() {
|
|
3650
3659
|
ie.gen({
|
|
3651
3660
|
id: k.ssl.id
|
|
3652
3661
|
}).then((c) => {
|
|
@@ -3686,7 +3695,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3686
3695
|
icon: "icon-key",
|
|
3687
3696
|
disabled: e(g),
|
|
3688
3697
|
loading: e(g),
|
|
3689
|
-
onClick:
|
|
3698
|
+
onClick: w
|
|
3690
3699
|
}, null, 8, ["disabled", "loading"]), l(e(Q), {
|
|
3691
3700
|
size: "default",
|
|
3692
3701
|
type: "primary",
|
|
@@ -3712,7 +3721,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3712
3721
|
}
|
|
3713
3722
|
}), Ol = /* @__PURE__ */ O({
|
|
3714
3723
|
__name: "index",
|
|
3715
|
-
setup(
|
|
3724
|
+
setup(v) {
|
|
3716
3725
|
const R = B(), {
|
|
3717
3726
|
requesting: k,
|
|
3718
3727
|
executing: h
|
|
@@ -3724,7 +3733,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3724
3733
|
openFormModal: p,
|
|
3725
3734
|
editFormModal: t
|
|
3726
3735
|
} = E(), {
|
|
3727
|
-
formModalRef:
|
|
3736
|
+
formModalRef: w,
|
|
3728
3737
|
openFormModal: u
|
|
3729
3738
|
} = E(), {
|
|
3730
3739
|
formModalRef: c,
|
|
@@ -3866,7 +3875,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3866
3875
|
onRefresh: e(i)
|
|
3867
3876
|
}, null, 8, ["onRefresh"]), l(Ll, {
|
|
3868
3877
|
ref_key: "domainTableDrawerRef",
|
|
3869
|
-
ref:
|
|
3878
|
+
ref: w
|
|
3870
3879
|
}, null, 512), l(ql, {
|
|
3871
3880
|
ref_key: "sslTableDrawerRef",
|
|
3872
3881
|
ref: c
|
|
@@ -3887,7 +3896,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3887
3896
|
sql: "SQL"
|
|
3888
3897
|
}, pe = Y.routineApi("log", "id", Fl), Yl = /* @__PURE__ */ O({
|
|
3889
3898
|
__name: "index",
|
|
3890
|
-
setup(
|
|
3899
|
+
setup(v) {
|
|
3891
3900
|
const R = {
|
|
3892
3901
|
dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
|
|
3893
3902
|
}, k = [{
|
|
@@ -3915,7 +3924,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3915
3924
|
reset: i
|
|
3916
3925
|
} = E(R);
|
|
3917
3926
|
return (p, t) => {
|
|
3918
|
-
const
|
|
3927
|
+
const w = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
3919
3928
|
return S(), T(V, {
|
|
3920
3929
|
class: "basic-card flex-full",
|
|
3921
3930
|
"body-class": "flex-1"
|
|
@@ -3930,7 +3939,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3930
3939
|
content: o(() => [l(u, {
|
|
3931
3940
|
class: "search-bar"
|
|
3932
3941
|
}, {
|
|
3933
|
-
default: o(() => [l(
|
|
3942
|
+
default: o(() => [l(w, {
|
|
3934
3943
|
modelValue: e(_).dates,
|
|
3935
3944
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
3936
3945
|
class: "basic-search-datetimerange",
|
|
@@ -3965,7 +3974,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3965
3974
|
}
|
|
3966
3975
|
}), Hl = /* @__PURE__ */ O({
|
|
3967
3976
|
__name: "index",
|
|
3968
|
-
setup(
|
|
3977
|
+
setup(v) {
|
|
3969
3978
|
const R = {
|
|
3970
3979
|
dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
|
|
3971
3980
|
}, k = [{
|
|
@@ -3993,7 +4002,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3993
4002
|
reset: i
|
|
3994
4003
|
} = E(R);
|
|
3995
4004
|
return (p, t) => {
|
|
3996
|
-
const
|
|
4005
|
+
const w = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
3997
4006
|
return S(), T(V, {
|
|
3998
4007
|
class: "basic-card flex-full",
|
|
3999
4008
|
"body-class": "flex-1"
|
|
@@ -4008,7 +4017,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4008
4017
|
content: o(() => [l(u, {
|
|
4009
4018
|
class: "search-bar"
|
|
4010
4019
|
}, {
|
|
4011
|
-
default: o(() => [l(
|
|
4020
|
+
default: o(() => [l(w, {
|
|
4012
4021
|
modelValue: e(_).dates,
|
|
4013
4022
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4014
4023
|
class: "basic-search-daterange",
|
|
@@ -4043,7 +4052,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4043
4052
|
}
|
|
4044
4053
|
}), Ql = /* @__PURE__ */ O({
|
|
4045
4054
|
__name: "index",
|
|
4046
|
-
setup(
|
|
4055
|
+
setup(v) {
|
|
4047
4056
|
const R = {
|
|
4048
4057
|
dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
|
|
4049
4058
|
}, k = [{
|
|
@@ -4071,7 +4080,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4071
4080
|
reset: i
|
|
4072
4081
|
} = E(R);
|
|
4073
4082
|
return (p, t) => {
|
|
4074
|
-
const
|
|
4083
|
+
const w = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
4075
4084
|
return S(), T(V, {
|
|
4076
4085
|
class: "basic-card flex-full",
|
|
4077
4086
|
"body-class": "flex-1"
|
|
@@ -4086,7 +4095,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4086
4095
|
content: o(() => [l(u, {
|
|
4087
4096
|
class: "search-bar"
|
|
4088
4097
|
}, {
|
|
4089
|
-
default: o(() => [l(
|
|
4098
|
+
default: o(() => [l(w, {
|
|
4090
4099
|
modelValue: e(_).dates,
|
|
4091
4100
|
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4092
4101
|
class: "basic-search-daterange",
|
|
@@ -4141,10 +4150,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4141
4150
|
}
|
|
4142
4151
|
},
|
|
4143
4152
|
emits: ["update:modelValue", "update:value", "change"],
|
|
4144
|
-
setup(
|
|
4153
|
+
setup(v, {
|
|
4145
4154
|
emit: R
|
|
4146
4155
|
}) {
|
|
4147
|
-
const k = R, h =
|
|
4156
|
+
const k = R, h = v, {
|
|
4148
4157
|
requesting: g
|
|
4149
4158
|
} = F(W), {
|
|
4150
4159
|
value: _,
|
|
@@ -4162,14 +4171,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4162
4171
|
}))
|
|
4163
4172
|
});
|
|
4164
4173
|
return (p, t) => {
|
|
4165
|
-
const
|
|
4174
|
+
const w = s("el-radio-button"), u = s("el-radio-group");
|
|
4166
4175
|
return S(), T(u, {
|
|
4167
4176
|
modelValue: e(_),
|
|
4168
4177
|
"onUpdate:modelValue": t[0] || (t[0] = (c) => N(_) ? _.value = c : null),
|
|
4169
4178
|
disabled: e(g),
|
|
4170
4179
|
onChange: e(i)
|
|
4171
4180
|
}, {
|
|
4172
|
-
default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(
|
|
4181
|
+
default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(w, {
|
|
4173
4182
|
key: c.value,
|
|
4174
4183
|
value: c.value
|
|
4175
4184
|
}, {
|
|
@@ -4206,8 +4215,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4206
4215
|
}
|
|
4207
4216
|
}
|
|
4208
4217
|
], Zl = {
|
|
4209
|
-
install: (
|
|
4210
|
-
Reflect.ownKeys(
|
|
4218
|
+
install: (v) => {
|
|
4219
|
+
Reflect.ownKeys(v._context.provides).some((R) => String(R) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(v._context.provides));
|
|
4211
4220
|
},
|
|
4212
4221
|
version: "__VERSION__"
|
|
4213
4222
|
}, ea = /* @__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(() => El) });
|