auto-vue-basic 0.0.83 → 0.0.84
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 +463 -466
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -50,44 +50,44 @@ const dl = /* @__PURE__ */ O({
|
|
|
50
50
|
setup(w, {
|
|
51
51
|
emit: R
|
|
52
52
|
}) {
|
|
53
|
-
const k = R,
|
|
54
|
-
requesting:
|
|
53
|
+
const k = R, h = w, {
|
|
54
|
+
requesting: b
|
|
55
55
|
} = F(H), {
|
|
56
|
-
value:
|
|
56
|
+
value: _,
|
|
57
57
|
options: m,
|
|
58
58
|
change: i,
|
|
59
59
|
refresh: p,
|
|
60
60
|
filterOptions: t
|
|
61
|
-
} = te(oe(
|
|
61
|
+
} = te(oe(h, "modelValue"), k, {
|
|
62
62
|
key: "TOP_MENU_LIST",
|
|
63
63
|
api: H,
|
|
64
64
|
url: H.urls.tops,
|
|
65
65
|
isArray: !0
|
|
66
66
|
});
|
|
67
67
|
return (v, u) => {
|
|
68
|
-
const
|
|
69
|
-
return S(), T(
|
|
68
|
+
const c = s("el-space"), V = s("el-select-v2");
|
|
69
|
+
return S(), T(V, {
|
|
70
70
|
class: "w-full",
|
|
71
|
-
modelValue: e(
|
|
72
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
71
|
+
modelValue: e(_),
|
|
72
|
+
"onUpdate:modelValue": u[1] || (u[1] = (g) => N(_) ? _.value = g : null),
|
|
73
73
|
options: e(m),
|
|
74
74
|
multiple: w.multiple,
|
|
75
|
-
disabled: e(
|
|
75
|
+
disabled: e(b),
|
|
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(b),
|
|
83
|
+
onRefresh: u[0] || (u[0] = (g) => e(p)(!0))
|
|
84
84
|
}, null, 8, ["loading"])]),
|
|
85
85
|
default: o(({
|
|
86
|
-
item:
|
|
87
|
-
}) => [l(
|
|
86
|
+
item: g
|
|
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 ${g.icon}`)
|
|
90
|
+
}, null, 2), P("span", null, z(g.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
|
|
101
|
+
const h = k, b = {
|
|
102
102
|
id: 0,
|
|
103
103
|
menu_id: 0,
|
|
104
104
|
module: "",
|
|
@@ -119,7 +119,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
119
119
|
keep_alive: !1,
|
|
120
120
|
link: !1
|
|
121
121
|
}
|
|
122
|
-
},
|
|
122
|
+
}, _ = {
|
|
123
123
|
sort: [
|
|
124
124
|
{
|
|
125
125
|
required: !0,
|
|
@@ -163,12 +163,12 @@ 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:
|
|
166
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: g, closed: D } = X(h, b, H);
|
|
167
167
|
return R({
|
|
168
|
-
open:
|
|
169
|
-
modify:
|
|
168
|
+
open: c,
|
|
169
|
+
modify: V
|
|
170
170
|
}), (x, n) => {
|
|
171
|
-
const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"),
|
|
171
|
+
const d = s("el-form-item"), r = s("el-col"), y = s("el-input-number"), f = s("el-row"), C = s("el-input"), A = s("el-switch"), q = s("el-form");
|
|
172
172
|
return S(), T(e(le), {
|
|
173
173
|
modelValue: e(m),
|
|
174
174
|
"onUpdate:modelValue": n[17] || (n[17] = (M) => N(m) ? m.value = M : null),
|
|
@@ -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(g)
|
|
180
180
|
}, {
|
|
181
181
|
default: o(() => [
|
|
182
182
|
l(q, {
|
|
@@ -184,15 +184,15 @@ const dl = /* @__PURE__ */ O({
|
|
|
184
184
|
ref: p,
|
|
185
185
|
model: e(t),
|
|
186
186
|
"label-width": "auto",
|
|
187
|
-
rules:
|
|
187
|
+
rules: _,
|
|
188
188
|
disabled: e(v) || e(u)
|
|
189
189
|
}, {
|
|
190
190
|
default: o(() => [
|
|
191
|
-
l(
|
|
191
|
+
l(f, { gutter: 20 }, {
|
|
192
192
|
default: o(() => [
|
|
193
193
|
l(r, { span: 12 }, {
|
|
194
194
|
default: o(() => [
|
|
195
|
-
l(
|
|
195
|
+
l(f, { gutter: 10 }, {
|
|
196
196
|
default: o(() => [
|
|
197
197
|
l(r, { span: 14 }, {
|
|
198
198
|
default: o(() => [
|
|
@@ -367,7 +367,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
367
367
|
]),
|
|
368
368
|
_: 1
|
|
369
369
|
}, 8, ["label"]),
|
|
370
|
-
l(
|
|
370
|
+
l(f, null, {
|
|
371
371
|
default: o(() => [
|
|
372
372
|
l(r, { span: 12 }, {
|
|
373
373
|
default: o(() => [
|
|
@@ -487,43 +487,43 @@ const dl = /* @__PURE__ */ O({
|
|
|
487
487
|
setup(w, {
|
|
488
488
|
emit: R
|
|
489
489
|
}) {
|
|
490
|
-
const k = R,
|
|
491
|
-
requesting:
|
|
490
|
+
const k = R, h = w, {
|
|
491
|
+
requesting: b
|
|
492
492
|
} = F(H), {
|
|
493
|
-
value:
|
|
493
|
+
value: _,
|
|
494
494
|
options: m,
|
|
495
495
|
change: i,
|
|
496
496
|
refresh: p,
|
|
497
497
|
filterOptions: t
|
|
498
|
-
} = te(oe(
|
|
498
|
+
} = te(oe(h, "modelValue"), k, {
|
|
499
499
|
key: "MENU_LIST",
|
|
500
500
|
api: H,
|
|
501
501
|
isArray: !0
|
|
502
502
|
});
|
|
503
503
|
return (v, u) => {
|
|
504
|
-
const
|
|
505
|
-
return S(), T(
|
|
504
|
+
const c = s("el-space"), V = s("el-select-v2");
|
|
505
|
+
return S(), T(V, {
|
|
506
506
|
class: "w-full",
|
|
507
|
-
modelValue: e(
|
|
508
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
507
|
+
modelValue: e(_),
|
|
508
|
+
"onUpdate:modelValue": u[1] || (u[1] = (g) => N(_) ? _.value = g : null),
|
|
509
509
|
options: e(m),
|
|
510
510
|
multiple: w.multiple,
|
|
511
|
-
disabled: e(
|
|
511
|
+
disabled: e(b),
|
|
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(b),
|
|
519
|
+
onRefresh: u[0] || (u[0] = (g) => e(p)(!0))
|
|
520
520
|
}, null, 8, ["loading"])]),
|
|
521
521
|
default: o(({
|
|
522
|
-
item:
|
|
523
|
-
}) => [l(
|
|
522
|
+
item: g
|
|
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 ${g.icon}`)
|
|
526
|
+
}, null, 2), P("span", null, z(g.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
|
|
537
|
+
const h = k, b = {
|
|
538
538
|
key: "",
|
|
539
539
|
menu_id: 0,
|
|
540
540
|
sort: 0,
|
|
@@ -542,7 +542,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
542
542
|
en_name: "",
|
|
543
543
|
urls: "",
|
|
544
544
|
remark: ""
|
|
545
|
-
},
|
|
545
|
+
}, _ = {
|
|
546
546
|
menu_id: [
|
|
547
547
|
{
|
|
548
548
|
required: !0,
|
|
@@ -580,12 +580,12 @@ 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:
|
|
583
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: g, closed: D } = X(h, b, Le);
|
|
584
584
|
return R({
|
|
585
|
-
open:
|
|
586
|
-
modify:
|
|
585
|
+
open: c,
|
|
586
|
+
modify: V
|
|
587
587
|
}), (x, n) => {
|
|
588
|
-
const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"),
|
|
588
|
+
const d = s("el-form-item"), r = s("el-input-number"), y = s("el-input"), f = s("el-col"), C = s("el-row"), A = s("el-form");
|
|
589
589
|
return S(), T(e(le), {
|
|
590
590
|
modelValue: e(m),
|
|
591
591
|
"onUpdate:modelValue": n[6] || (n[6] = (q) => N(m) ? m.value = q : null),
|
|
@@ -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(g)
|
|
597
597
|
}, {
|
|
598
598
|
default: o(() => [
|
|
599
599
|
l(A, {
|
|
@@ -601,13 +601,13 @@ const dl = /* @__PURE__ */ O({
|
|
|
601
601
|
ref: p,
|
|
602
602
|
model: e(t),
|
|
603
603
|
"label-width": "auto",
|
|
604
|
-
rules:
|
|
604
|
+
rules: _,
|
|
605
605
|
disabled: e(v) || e(u)
|
|
606
606
|
}, {
|
|
607
607
|
default: o(() => [
|
|
608
608
|
l(C, { gutter: 20 }, {
|
|
609
609
|
default: o(() => [
|
|
610
|
-
l(
|
|
610
|
+
l(f, { span: 10 }, {
|
|
611
611
|
default: o(() => [
|
|
612
612
|
l(d, {
|
|
613
613
|
label: e(a)("menu.Menu"),
|
|
@@ -678,7 +678,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
678
678
|
]),
|
|
679
679
|
_: 1
|
|
680
680
|
}),
|
|
681
|
-
l(
|
|
681
|
+
l(f, { span: 14 }, {
|
|
682
682
|
default: o(() => [
|
|
683
683
|
l(d, {
|
|
684
684
|
label: e(a)("menu.rules"),
|
|
@@ -719,7 +719,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
719
719
|
const R = {
|
|
720
720
|
keyword: "",
|
|
721
721
|
status: 0
|
|
722
|
-
}, k = B(""),
|
|
722
|
+
}, k = B(""), h = [
|
|
723
723
|
{
|
|
724
724
|
label: a("base.sort"),
|
|
725
725
|
prop: "sort",
|
|
@@ -798,7 +798,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
798
798
|
default: () => [r.translate]
|
|
799
799
|
}),
|
|
800
800
|
default: () => {
|
|
801
|
-
let y,
|
|
801
|
+
let y, f;
|
|
802
802
|
return l("div", null, [l("p", null, null), l("p", null, [`${a("base.confirm base.space base.delete base.space menu.rules")}: ${n.translate}-${r.translate} ?`]), l("div", {
|
|
803
803
|
style: "text-align: right; margin: 0"
|
|
804
804
|
}, [l(s("el-button"), {
|
|
@@ -811,8 +811,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
811
811
|
size: "small",
|
|
812
812
|
type: "danger",
|
|
813
813
|
onClick: () => x(r.key)
|
|
814
|
-
}, Ae(
|
|
815
|
-
default: () => [
|
|
814
|
+
}, Ae(f = a("base.confirm")) ? f : {
|
|
815
|
+
default: () => [f]
|
|
816
816
|
})])]);
|
|
817
817
|
}
|
|
818
818
|
}))];
|
|
@@ -840,25 +840,25 @@ const jl = /* @__PURE__ */ O({
|
|
|
840
840
|
row: n
|
|
841
841
|
}) => l(ae, {
|
|
842
842
|
size: "default",
|
|
843
|
-
onModify: () =>
|
|
843
|
+
onModify: () => c({
|
|
844
844
|
id: n.id
|
|
845
845
|
})
|
|
846
846
|
}, null)
|
|
847
847
|
}
|
|
848
848
|
], {
|
|
849
|
-
requesting:
|
|
849
|
+
requesting: b
|
|
850
850
|
} = F(H), {
|
|
851
|
-
tableRef:
|
|
851
|
+
tableRef: _,
|
|
852
852
|
formModalRef: m,
|
|
853
853
|
keyword: i,
|
|
854
854
|
search: p,
|
|
855
855
|
refresh: t,
|
|
856
856
|
reset: v,
|
|
857
857
|
openFormModal: u,
|
|
858
|
-
editFormModal:
|
|
858
|
+
editFormModal: c
|
|
859
859
|
} = E(R), {
|
|
860
|
-
formModalRef:
|
|
861
|
-
openFormModal:
|
|
860
|
+
formModalRef: V,
|
|
861
|
+
openFormModal: g,
|
|
862
862
|
editFormModal: D
|
|
863
863
|
} = E(), x = (n) => {
|
|
864
864
|
Le[Ge]({
|
|
@@ -868,7 +868,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
868
868
|
});
|
|
869
869
|
};
|
|
870
870
|
return (n, d) => {
|
|
871
|
-
const r = s("el-button"), y = s("el-input"),
|
|
871
|
+
const r = s("el-button"), y = s("el-input"), f = s("el-radio-button"), C = s("el-radio-group"), A = s("el-space"), q = s("el-page-header"), M = s("el-card");
|
|
872
872
|
return S(), T(M, {
|
|
873
873
|
class: "basic-card flex-full",
|
|
874
874
|
"body-class": "flex-1",
|
|
@@ -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(b),
|
|
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(g)
|
|
889
889
|
}, null, 8, ["icon", "onClick"])]),
|
|
890
890
|
content: o(() => [l(A, {
|
|
891
891
|
class: "search-bar"
|
|
@@ -903,14 +903,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
903
903
|
"onUpdate:modelValue": d[3] || (d[3] = (L) => e(i).status = L),
|
|
904
904
|
onChange: d[4] || (d[4] = (L) => e(p)())
|
|
905
905
|
}, {
|
|
906
|
-
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (L) => l(
|
|
906
|
+
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (L) => l(f, {
|
|
907
907
|
key: L,
|
|
908
908
|
label: e(a)(`status.${L}`),
|
|
909
909
|
value: L
|
|
910
910
|
}, null, 8, ["label", "value"])), 64))]),
|
|
911
911
|
_: 1
|
|
912
912
|
}, 8, ["modelValue"]), l(e(ne), {
|
|
913
|
-
disabled: e(
|
|
913
|
+
disabled: e(b),
|
|
914
914
|
onSearch: e(p)
|
|
915
915
|
}, null, 8, ["disabled", "onSearch"])]),
|
|
916
916
|
_: 1
|
|
@@ -919,9 +919,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
919
919
|
})]),
|
|
920
920
|
default: o(() => [l(e(ce), {
|
|
921
921
|
ref_key: "tableRef",
|
|
922
|
-
ref:
|
|
922
|
+
ref: _,
|
|
923
923
|
size: "small",
|
|
924
|
-
columns:
|
|
924
|
+
columns: h,
|
|
925
925
|
url: e(H).urls[e(Ve)],
|
|
926
926
|
"search-param": e(i),
|
|
927
927
|
"auto-search": ""
|
|
@@ -931,7 +931,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
931
931
|
onRefresh: e(t)
|
|
932
932
|
}, null, 8, ["onRefresh"]), l(il, {
|
|
933
933
|
ref_key: "ruleFormModalRef",
|
|
934
|
-
ref:
|
|
934
|
+
ref: V,
|
|
935
935
|
onRefresh: e(t)
|
|
936
936
|
}, null, 8, ["onRefresh"])]),
|
|
937
937
|
_: 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:
|
|
949
|
+
const { requesting: h } = F(H), b = 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(b, "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;
|
|
@@ -963,21 +963,21 @@ const jl = /* @__PURE__ */ O({
|
|
|
963
963
|
p.value.forEach((n) => {
|
|
964
964
|
var d;
|
|
965
965
|
(d = n.rules) != null && d.length && (i.MenuList[n.id] = x ? n.rules.map((r) => r.key) : []);
|
|
966
|
-
}),
|
|
966
|
+
}), V();
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function c(x, n) {
|
|
969
969
|
const d = p.value.find((r) => r.id === n);
|
|
970
|
-
i.MenuList[n] = x && d ? d.rules.map((r) => r.key) : [],
|
|
970
|
+
i.MenuList[n] = x && d ? d.rules.map((r) => r.key) : [], V();
|
|
971
971
|
}
|
|
972
|
-
function
|
|
972
|
+
function V() {
|
|
973
973
|
p.value.forEach((x) => {
|
|
974
974
|
var r, y;
|
|
975
975
|
const n = ((r = x.rules) == null ? void 0 : r.length) || 0, d = ((y = i.MenuList[x.id]) == null ? void 0 : y.length) || 0;
|
|
976
976
|
i.MenuAll[x.id] = d === n && n > 0, i.MenuIndeterminate[x.id] = d > 0 && d < n;
|
|
977
|
-
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((x) => x.length > 0),
|
|
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
|
|
980
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, v(),
|
|
979
|
+
function g() {
|
|
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) {
|
|
983
983
|
var n;
|
|
@@ -986,14 +986,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
986
986
|
if (Array.isArray(d.rules) && d.rules.length > 0)
|
|
987
987
|
for (let r of d.rules)
|
|
988
988
|
x.some((y) => y === r.key) && (i.MenuList[d.id] = (((n = i.MenuList) == null ? void 0 : n[d.id]) || []).concat([r.key]));
|
|
989
|
-
|
|
989
|
+
V(), m.value = !0;
|
|
990
990
|
}
|
|
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 && b.modelValue && D(b.modelValue);
|
|
995
995
|
}), Re(
|
|
996
|
-
() =>
|
|
996
|
+
() => b.modelValue,
|
|
997
997
|
(x) => {
|
|
998
998
|
je(() => {
|
|
999
999
|
var n;
|
|
@@ -1003,9 +1003,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
1003
1003
|
{ deep: !0, immediate: !0 }
|
|
1004
1004
|
), R({
|
|
1005
1005
|
generateOption: D,
|
|
1006
|
-
cleanChecked:
|
|
1006
|
+
cleanChecked: g
|
|
1007
1007
|
}), (x, n) => {
|
|
1008
|
-
const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"),
|
|
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, [
|
|
1010
1010
|
l(r, { style: { "margin-bottom": "6px" } }, {
|
|
1011
1011
|
default: o(() => [
|
|
@@ -1022,7 +1022,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1022
1022
|
_: 1
|
|
1023
1023
|
}, 8, ["model-value", "indeterminate", "disabled"]),
|
|
1024
1024
|
l(e(K), {
|
|
1025
|
-
loading: e(
|
|
1025
|
+
loading: e(h),
|
|
1026
1026
|
text: "",
|
|
1027
1027
|
size: "small",
|
|
1028
1028
|
onRefresh: n[0] || (n[0] = (A) => e(t)(!0))
|
|
@@ -1049,7 +1049,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1049
1049
|
"model-value": i.MenuAll[A.id],
|
|
1050
1050
|
disabled: w.disabled || !A.rules || A.rules.length <= 0,
|
|
1051
1051
|
indeterminate: i.MenuIndeterminate[A.id],
|
|
1052
|
-
onChange: (q) =>
|
|
1052
|
+
onChange: (q) => c(q, A.id)
|
|
1053
1053
|
}, {
|
|
1054
1054
|
default: o(() => [
|
|
1055
1055
|
l(y, { style: { "font-size": "15px" } }, {
|
|
@@ -1061,14 +1061,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1061
1061
|
]),
|
|
1062
1062
|
_: 2
|
|
1063
1063
|
}, 1032, ["model-value", "disabled", "indeterminate", "onChange"]),
|
|
1064
|
-
l(
|
|
1064
|
+
l(f, { direction: "vertical" }),
|
|
1065
1065
|
A.rules ? (S(), T(C, {
|
|
1066
1066
|
key: 0,
|
|
1067
1067
|
modelValue: i.MenuList[A.id],
|
|
1068
1068
|
"onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
|
|
1069
1069
|
disabled: w.disabled,
|
|
1070
1070
|
style: { margin: "auto" },
|
|
1071
|
-
onChange:
|
|
1071
|
+
onChange: V
|
|
1072
1072
|
}, {
|
|
1073
1073
|
default: o(() => [
|
|
1074
1074
|
(S(!0), I(G, null, ee(A.rules, (q) => (S(), T(d, {
|
|
@@ -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 [
|
|
1099
|
-
k[
|
|
1098
|
+
for (const [h, b] of R)
|
|
1099
|
+
k[h] = b;
|
|
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
|
|
1105
|
+
const h = k, b = B(), _ = {
|
|
1106
1106
|
key: "",
|
|
1107
1107
|
module: "",
|
|
1108
1108
|
sort: 0,
|
|
@@ -1125,21 +1125,21 @@ const jl = /* @__PURE__ */ O({
|
|
|
1125
1125
|
trigger: "blur"
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing:
|
|
1128
|
+
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: c, open: V, modify: g, submit: D, closed: x } = X(h, _, ke), n = () => {
|
|
1129
1129
|
var d;
|
|
1130
|
-
(d =
|
|
1130
|
+
(d = b.value) == null || d.cleanChecked(), x();
|
|
1131
1131
|
};
|
|
1132
1132
|
return R({
|
|
1133
|
-
open:
|
|
1134
|
-
modify:
|
|
1133
|
+
open: V,
|
|
1134
|
+
modify: g
|
|
1135
1135
|
}), (d, r) => {
|
|
1136
|
-
const y = s("el-input"),
|
|
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), {
|
|
1138
1138
|
modelValue: e(i),
|
|
1139
1139
|
"onUpdate:modelValue": r[6] || (r[6] = (L) => N(i) ? i.value = L : null),
|
|
1140
1140
|
title: e(p)(),
|
|
1141
1141
|
width: "1000px",
|
|
1142
|
-
executing: e(
|
|
1142
|
+
executing: e(c),
|
|
1143
1143
|
onClosed: n,
|
|
1144
1144
|
onSubmit: e(D)
|
|
1145
1145
|
}, {
|
|
@@ -1150,14 +1150,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1150
1150
|
model: e(v),
|
|
1151
1151
|
"label-width": "auto",
|
|
1152
1152
|
rules: m,
|
|
1153
|
-
disabled: e(u) || e(
|
|
1153
|
+
disabled: e(u) || e(c)
|
|
1154
1154
|
}, {
|
|
1155
1155
|
default: o(() => [
|
|
1156
1156
|
l(q, { gutter: 20 }, {
|
|
1157
1157
|
default: o(() => [
|
|
1158
1158
|
l(C, { span: 12 }, {
|
|
1159
1159
|
default: o(() => [
|
|
1160
|
-
l(
|
|
1160
|
+
l(f, {
|
|
1161
1161
|
label: e(a)("base.module"),
|
|
1162
1162
|
prop: "module"
|
|
1163
1163
|
}, {
|
|
@@ -1175,7 +1175,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1175
1175
|
}),
|
|
1176
1176
|
l(C, { span: 12 }, {
|
|
1177
1177
|
default: o(() => [
|
|
1178
|
-
l(
|
|
1178
|
+
l(f, {
|
|
1179
1179
|
label: e(a)("base.sort"),
|
|
1180
1180
|
prop: "sort"
|
|
1181
1181
|
}, {
|
|
@@ -1196,7 +1196,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1196
1196
|
]),
|
|
1197
1197
|
_: 1
|
|
1198
1198
|
}),
|
|
1199
|
-
l(
|
|
1199
|
+
l(f, {
|
|
1200
1200
|
label: e(a)("base.name"),
|
|
1201
1201
|
prop: "name"
|
|
1202
1202
|
}, {
|
|
@@ -1209,7 +1209,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1209
1209
|
]),
|
|
1210
1210
|
_: 1
|
|
1211
1211
|
}, 8, ["label"]),
|
|
1212
|
-
l(
|
|
1212
|
+
l(f, {
|
|
1213
1213
|
label: e(a)("base.en_name"),
|
|
1214
1214
|
prop: "en_name"
|
|
1215
1215
|
}, {
|
|
@@ -1222,7 +1222,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1222
1222
|
]),
|
|
1223
1223
|
_: 1
|
|
1224
1224
|
}, 8, ["label"]),
|
|
1225
|
-
l(
|
|
1225
|
+
l(f, {
|
|
1226
1226
|
label: e(a)("base.remark"),
|
|
1227
1227
|
prop: "remark"
|
|
1228
1228
|
}, {
|
|
@@ -1235,17 +1235,17 @@ const jl = /* @__PURE__ */ O({
|
|
|
1235
1235
|
]),
|
|
1236
1236
|
_: 1
|
|
1237
1237
|
}, 8, ["label"]),
|
|
1238
|
-
l(
|
|
1238
|
+
l(f, {
|
|
1239
1239
|
label: e(a)("menu.rules"),
|
|
1240
1240
|
prop: "rules"
|
|
1241
1241
|
}, {
|
|
1242
1242
|
default: o(() => [
|
|
1243
1243
|
l(fl, {
|
|
1244
1244
|
ref_key: "rulesCheck",
|
|
1245
|
-
ref:
|
|
1245
|
+
ref: b,
|
|
1246
1246
|
modelValue: e(v).rules,
|
|
1247
1247
|
"onUpdate:modelValue": r[5] || (r[5] = (L) => e(v).rules = L),
|
|
1248
|
-
disabled: e(u) || e(
|
|
1248
|
+
disabled: e(u) || e(c)
|
|
1249
1249
|
}, null, 8, ["modelValue", "disabled"])
|
|
1250
1250
|
]),
|
|
1251
1251
|
_: 1
|
|
@@ -1296,19 +1296,19 @@ const jl = /* @__PURE__ */ O({
|
|
|
1296
1296
|
width: 65,
|
|
1297
1297
|
align: "center",
|
|
1298
1298
|
render: ({
|
|
1299
|
-
row:
|
|
1299
|
+
row: c
|
|
1300
1300
|
}) => l(ae, {
|
|
1301
1301
|
size: "default",
|
|
1302
1302
|
onModify: () => u({
|
|
1303
|
-
key:
|
|
1303
|
+
key: c.key
|
|
1304
1304
|
})
|
|
1305
1305
|
}, null)
|
|
1306
1306
|
}
|
|
1307
1307
|
], {
|
|
1308
|
-
requesting:
|
|
1308
|
+
requesting: h
|
|
1309
1309
|
} = F(ke), {
|
|
1310
|
-
tableRef:
|
|
1311
|
-
formModalRef:
|
|
1310
|
+
tableRef: b,
|
|
1311
|
+
formModalRef: _,
|
|
1312
1312
|
keyword: m,
|
|
1313
1313
|
search: i,
|
|
1314
1314
|
reset: p,
|
|
@@ -1316,8 +1316,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1316
1316
|
openFormModal: v,
|
|
1317
1317
|
editFormModal: u
|
|
1318
1318
|
} = E(R);
|
|
1319
|
-
return (
|
|
1320
|
-
const
|
|
1319
|
+
return (c, V) => {
|
|
1320
|
+
const g = 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"
|
|
@@ -1326,7 +1326,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1326
1326
|
class: "basic-header"
|
|
1327
1327
|
}, {
|
|
1328
1328
|
title: o(() => [l(e(K), {
|
|
1329
|
-
loading: e(
|
|
1329
|
+
loading: e(h),
|
|
1330
1330
|
onRefresh: e(p)
|
|
1331
1331
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1332
1332
|
onOpen: e(v)
|
|
@@ -1334,17 +1334,17 @@ 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(g, {
|
|
1338
1338
|
class: "basic-search-input",
|
|
1339
1339
|
modelValue: e(m).keyword,
|
|
1340
|
-
"onUpdate:modelValue":
|
|
1340
|
+
"onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
|
|
1341
1341
|
placeholder: e(a)("placeholder.keyword"),
|
|
1342
1342
|
clearable: "",
|
|
1343
|
-
onKeyup:
|
|
1344
|
-
onClear:
|
|
1343
|
+
onKeyup: V[1] || (V[1] = he((d) => e(i)(), ["enter"])),
|
|
1344
|
+
onClear: V[2] || (V[2] = (d) => e(i)())
|
|
1345
1345
|
}, null, 8, ["modelValue", "placeholder"]), l(e(ne), {
|
|
1346
|
-
disabled: e(
|
|
1347
|
-
onSearch:
|
|
1346
|
+
disabled: e(h),
|
|
1347
|
+
onSearch: V[3] || (V[3] = (d) => e(i)())
|
|
1348
1348
|
}, null, 8, ["disabled"])]),
|
|
1349
1349
|
_: 1
|
|
1350
1350
|
})]),
|
|
@@ -1352,14 +1352,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1352
1352
|
})]),
|
|
1353
1353
|
default: o(() => [l(e(ce), {
|
|
1354
1354
|
ref_key: "tableRef",
|
|
1355
|
-
ref:
|
|
1355
|
+
ref: b,
|
|
1356
1356
|
columns: k,
|
|
1357
1357
|
url: e(ke).urls[e(Ve)],
|
|
1358
1358
|
"search-param": e(m),
|
|
1359
1359
|
"auto-search": ""
|
|
1360
1360
|
}, null, 8, ["url", "search-param"]), l(_l, {
|
|
1361
1361
|
ref_key: "formModalRef",
|
|
1362
|
-
ref:
|
|
1362
|
+
ref: _,
|
|
1363
1363
|
onRefresh: e(t)
|
|
1364
1364
|
}, null, 8, ["onRefresh"])]),
|
|
1365
1365
|
_: 1
|
|
@@ -1396,29 +1396,29 @@ const jl = /* @__PURE__ */ O({
|
|
|
1396
1396
|
setup(w, {
|
|
1397
1397
|
emit: R
|
|
1398
1398
|
}) {
|
|
1399
|
-
const k = R,
|
|
1400
|
-
requesting:
|
|
1399
|
+
const k = R, h = w, {
|
|
1400
|
+
requesting: b
|
|
1401
1401
|
} = F(W), {
|
|
1402
|
-
value:
|
|
1402
|
+
value: _,
|
|
1403
1403
|
options: m,
|
|
1404
1404
|
change: i,
|
|
1405
1405
|
refresh: p,
|
|
1406
1406
|
filterOptions: t
|
|
1407
|
-
} = te(oe(
|
|
1407
|
+
} = te(oe(h, "modelValue"), k, {
|
|
1408
1408
|
key: "I18N_MODULES",
|
|
1409
1409
|
url: W.urls.modules,
|
|
1410
1410
|
api: W,
|
|
1411
1411
|
isArray: !0
|
|
1412
1412
|
});
|
|
1413
1413
|
return (v, u) => {
|
|
1414
|
-
const
|
|
1415
|
-
return S(), T(
|
|
1414
|
+
const c = s("el-space"), V = s("el-select-v2");
|
|
1415
|
+
return S(), T(V, {
|
|
1416
1416
|
class: "w-full",
|
|
1417
|
-
modelValue: e(
|
|
1418
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
1417
|
+
modelValue: e(_),
|
|
1418
|
+
"onUpdate:modelValue": u[1] || (u[1] = (g) => N(_) ? _.value = g : null),
|
|
1419
1419
|
options: e(m),
|
|
1420
1420
|
multiple: w.multiple,
|
|
1421
|
-
disabled: e(
|
|
1421
|
+
disabled: e(b),
|
|
1422
1422
|
clearable: w.clearable,
|
|
1423
1423
|
filterable: "",
|
|
1424
1424
|
"allow-create": w.allowCreate,
|
|
@@ -1428,13 +1428,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
1428
1428
|
onChange: e(i)
|
|
1429
1429
|
}, {
|
|
1430
1430
|
prefix: o(() => [l(e(me), {
|
|
1431
|
-
loading: e(
|
|
1432
|
-
onRefresh: u[0] || (u[0] = (
|
|
1431
|
+
loading: e(b),
|
|
1432
|
+
onRefresh: u[0] || (u[0] = (g) => e(p)(!0))
|
|
1433
1433
|
}, null, 8, ["loading"])]),
|
|
1434
1434
|
default: o(({
|
|
1435
|
-
item:
|
|
1436
|
-
}) => [l(
|
|
1437
|
-
default: o(() => [P("span", null, z(
|
|
1435
|
+
item: g
|
|
1436
|
+
}) => [l(c, null, {
|
|
1437
|
+
default: o(() => [P("span", null, z(g.value), 1)]),
|
|
1438
1438
|
_: 2
|
|
1439
1439
|
}, 1024)]),
|
|
1440
1440
|
_: 1
|
|
@@ -1445,7 +1445,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1445
1445
|
__name: "I18N",
|
|
1446
1446
|
emits: ["refresh"],
|
|
1447
1447
|
setup(w, { expose: R, emit: k }) {
|
|
1448
|
-
const
|
|
1448
|
+
const h = k, b = {
|
|
1449
1449
|
uuid: "",
|
|
1450
1450
|
key: "",
|
|
1451
1451
|
module: void 0,
|
|
@@ -1454,7 +1454,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1454
1454
|
"en-US": ""
|
|
1455
1455
|
},
|
|
1456
1456
|
remark: ""
|
|
1457
|
-
},
|
|
1457
|
+
}, _ = {
|
|
1458
1458
|
module: [
|
|
1459
1459
|
{
|
|
1460
1460
|
required: !0,
|
|
@@ -1489,18 +1489,18 @@ const jl = /* @__PURE__ */ O({
|
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
1491
1491
|
p();
|
|
1492
|
-
const { modal: t, title: v, form: u, formData:
|
|
1492
|
+
const { modal: t, title: v, form: u, formData: c, requesting: V, executing: g, open: D, modify: x, submit: n, closed: d } = X(h, b, W);
|
|
1493
1493
|
return R({
|
|
1494
1494
|
open: D,
|
|
1495
1495
|
modify: x
|
|
1496
1496
|
}), (r, y) => {
|
|
1497
|
-
const
|
|
1497
|
+
const f = s("el-form-item"), C = s("el-input"), A = s("el-space"), q = s("el-form");
|
|
1498
1498
|
return S(), T(e(le), {
|
|
1499
1499
|
modelValue: e(t),
|
|
1500
1500
|
"onUpdate:modelValue": y[3] || (y[3] = (M) => N(t) ? t.value = M : null),
|
|
1501
1501
|
title: e(v)(),
|
|
1502
1502
|
width: "600px",
|
|
1503
|
-
executing: e(
|
|
1503
|
+
executing: e(g),
|
|
1504
1504
|
onClosed: e(d),
|
|
1505
1505
|
onSubmit: e(n)
|
|
1506
1506
|
}, {
|
|
@@ -1508,41 +1508,41 @@ const jl = /* @__PURE__ */ O({
|
|
|
1508
1508
|
l(q, {
|
|
1509
1509
|
ref_key: "form",
|
|
1510
1510
|
ref: u,
|
|
1511
|
-
model: e(
|
|
1511
|
+
model: e(c),
|
|
1512
1512
|
"label-width": "auto",
|
|
1513
|
-
rules:
|
|
1514
|
-
disabled: e(
|
|
1513
|
+
rules: _,
|
|
1514
|
+
disabled: e(V) || e(g)
|
|
1515
1515
|
}, {
|
|
1516
1516
|
default: o(() => [
|
|
1517
|
-
l(
|
|
1517
|
+
l(f, {
|
|
1518
1518
|
label: e(a)("i18n.module"),
|
|
1519
1519
|
prop: "module",
|
|
1520
1520
|
required: ""
|
|
1521
1521
|
}, {
|
|
1522
1522
|
default: o(() => [
|
|
1523
1523
|
l(Te, {
|
|
1524
|
-
modelValue: e(
|
|
1525
|
-
"onUpdate:modelValue": y[0] || (y[0] = (M) => e(
|
|
1524
|
+
modelValue: e(c).module,
|
|
1525
|
+
"onUpdate:modelValue": y[0] || (y[0] = (M) => e(c).module = M),
|
|
1526
1526
|
"allow-create": ""
|
|
1527
1527
|
}, null, 8, ["modelValue"])
|
|
1528
1528
|
]),
|
|
1529
1529
|
_: 1
|
|
1530
1530
|
}, 8, ["label"]),
|
|
1531
|
-
l(
|
|
1531
|
+
l(f, {
|
|
1532
1532
|
label: e(a)("i18n.key"),
|
|
1533
1533
|
prop: "key",
|
|
1534
1534
|
required: ""
|
|
1535
1535
|
}, {
|
|
1536
1536
|
default: o(() => [
|
|
1537
1537
|
l(C, {
|
|
1538
|
-
modelValue: e(
|
|
1539
|
-
"onUpdate:modelValue": y[1] || (y[1] = (M) => e(
|
|
1538
|
+
modelValue: e(c).key,
|
|
1539
|
+
"onUpdate:modelValue": y[1] || (y[1] = (M) => e(c).key = M),
|
|
1540
1540
|
placeholder: e(a)("i18n.placeholder.key")
|
|
1541
1541
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1542
1542
|
]),
|
|
1543
1543
|
_: 1
|
|
1544
1544
|
}, 8, ["label"]),
|
|
1545
|
-
l(
|
|
1545
|
+
l(f, {
|
|
1546
1546
|
label: e(a)("i18n.language"),
|
|
1547
1547
|
prop: "language",
|
|
1548
1548
|
required: ""
|
|
@@ -1556,8 +1556,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1556
1556
|
default: o(() => [
|
|
1557
1557
|
(S(!0), I(G, null, ee(m.value, (M) => (S(), I("div", { key: M }, [
|
|
1558
1558
|
l(C, {
|
|
1559
|
-
modelValue: e(
|
|
1560
|
-
"onUpdate:modelValue": (L) => e(
|
|
1559
|
+
modelValue: e(c).language[M],
|
|
1560
|
+
"onUpdate:modelValue": (L) => e(c).language[M] = L,
|
|
1561
1561
|
placeholder: e(a)("i18n.placeholder.language")
|
|
1562
1562
|
}, {
|
|
1563
1563
|
prepend: o(() => [
|
|
@@ -1572,14 +1572,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
1572
1572
|
]),
|
|
1573
1573
|
_: 1
|
|
1574
1574
|
}, 8, ["label"]),
|
|
1575
|
-
l(
|
|
1575
|
+
l(f, {
|
|
1576
1576
|
label: e(a)("base.remark"),
|
|
1577
1577
|
prop: "remark"
|
|
1578
1578
|
}, {
|
|
1579
1579
|
default: o(() => [
|
|
1580
1580
|
l(C, {
|
|
1581
|
-
modelValue: e(
|
|
1582
|
-
"onUpdate:modelValue": y[2] || (y[2] = (M) => e(
|
|
1581
|
+
modelValue: e(c).remark,
|
|
1582
|
+
"onUpdate:modelValue": y[2] || (y[2] = (M) => e(c).remark = M),
|
|
1583
1583
|
placeholder: e(a)("placeholder.remark")
|
|
1584
1584
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1585
1585
|
]),
|
|
@@ -1604,7 +1604,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1604
1604
|
expose: R,
|
|
1605
1605
|
emit: k
|
|
1606
1606
|
}) {
|
|
1607
|
-
const
|
|
1607
|
+
const h = B(!1), b = k, _ = {
|
|
1608
1608
|
keyword: "",
|
|
1609
1609
|
module: void 0,
|
|
1610
1610
|
status: 0
|
|
@@ -1667,34 +1667,34 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1667
1667
|
tableRef: t,
|
|
1668
1668
|
formModalRef: v,
|
|
1669
1669
|
keyword: u,
|
|
1670
|
-
search:
|
|
1671
|
-
reset:
|
|
1672
|
-
refresh:
|
|
1670
|
+
search: c,
|
|
1671
|
+
reset: V,
|
|
1672
|
+
refresh: g,
|
|
1673
1673
|
openFormModal: D,
|
|
1674
1674
|
editFormModal: x
|
|
1675
|
-
} = E(
|
|
1675
|
+
} = E(_);
|
|
1676
1676
|
function n(y) {
|
|
1677
1677
|
return W.remove({
|
|
1678
1678
|
uuid: y
|
|
1679
1679
|
}).finally(() => {
|
|
1680
|
-
|
|
1680
|
+
g();
|
|
1681
1681
|
});
|
|
1682
1682
|
}
|
|
1683
1683
|
const d = () => {
|
|
1684
|
-
|
|
1684
|
+
h.value = !0;
|
|
1685
1685
|
};
|
|
1686
1686
|
function r(y) {
|
|
1687
|
-
|
|
1687
|
+
b("choosed", y);
|
|
1688
1688
|
}
|
|
1689
|
-
return Re(() =>
|
|
1690
|
-
y ||
|
|
1689
|
+
return Re(() => h.value, (y) => {
|
|
1690
|
+
y || b("closed");
|
|
1691
1691
|
}), R({
|
|
1692
1692
|
open: d
|
|
1693
|
-
}), (y,
|
|
1693
|
+
}), (y, f) => {
|
|
1694
1694
|
const C = s("el-input"), A = s("el-radio-button"), q = s("el-radio-group"), M = s("el-space"), L = s("el-page-header");
|
|
1695
1695
|
return S(), T(e(fe), {
|
|
1696
|
-
modelValue:
|
|
1697
|
-
"onUpdate:modelValue":
|
|
1696
|
+
modelValue: h.value,
|
|
1697
|
+
"onUpdate:modelValue": f[7] || (f[7] = (U) => h.value = U),
|
|
1698
1698
|
width: "880px",
|
|
1699
1699
|
"show-close": !1,
|
|
1700
1700
|
class: "basic-drawer"
|
|
@@ -1704,7 +1704,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1704
1704
|
}, {
|
|
1705
1705
|
title: o(() => [l(e(K), {
|
|
1706
1706
|
loading: e(i),
|
|
1707
|
-
onRefresh: e(
|
|
1707
|
+
onRefresh: e(V)
|
|
1708
1708
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1709
1709
|
onOpen: e(D),
|
|
1710
1710
|
disabled: e(i)
|
|
@@ -1717,15 +1717,15 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1717
1717
|
width: "160px"
|
|
1718
1718
|
},
|
|
1719
1719
|
modelValue: e(u).keyword,
|
|
1720
|
-
"onUpdate:modelValue":
|
|
1720
|
+
"onUpdate:modelValue": f[0] || (f[0] = (U) => e(u).keyword = U),
|
|
1721
1721
|
disabled: e(i),
|
|
1722
1722
|
placeholder: e(a)("placeholder.keyword"),
|
|
1723
1723
|
clearable: "",
|
|
1724
|
-
onKeyup:
|
|
1725
|
-
onClear:
|
|
1724
|
+
onKeyup: f[1] || (f[1] = he((U) => e(c)(), ["enter"])),
|
|
1725
|
+
onClear: f[2] || (f[2] = (U) => e(c)())
|
|
1726
1726
|
}, null, 8, ["modelValue", "disabled", "placeholder"]), l(Te, {
|
|
1727
1727
|
modelValue: e(u).module,
|
|
1728
|
-
"onUpdate:modelValue":
|
|
1728
|
+
"onUpdate:modelValue": f[3] || (f[3] = (U) => e(u).module = U),
|
|
1729
1729
|
clearable: !0,
|
|
1730
1730
|
disabled: e(i),
|
|
1731
1731
|
style: {
|
|
@@ -1733,8 +1733,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1733
1733
|
}
|
|
1734
1734
|
}, null, 8, ["modelValue", "disabled"]), l(q, {
|
|
1735
1735
|
modelValue: e(u).status,
|
|
1736
|
-
"onUpdate:modelValue":
|
|
1737
|
-
onChange:
|
|
1736
|
+
"onUpdate:modelValue": f[4] || (f[4] = (U) => e(u).status = U),
|
|
1737
|
+
onChange: f[5] || (f[5] = (U) => e(c)()),
|
|
1738
1738
|
disabled: e(i)
|
|
1739
1739
|
}, {
|
|
1740
1740
|
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(A, {
|
|
@@ -1745,7 +1745,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1745
1745
|
_: 1
|
|
1746
1746
|
}, 8, ["modelValue", "disabled"]), l(e(ne), {
|
|
1747
1747
|
disabled: e(i),
|
|
1748
|
-
onSearch:
|
|
1748
|
+
onSearch: f[6] || (f[6] = (U) => e(c)())
|
|
1749
1749
|
}, null, 8, ["disabled"])]),
|
|
1750
1750
|
_: 1
|
|
1751
1751
|
})]),
|
|
@@ -1762,7 +1762,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1762
1762
|
}, null, 8, ["url", "search-param"]), l(bl, {
|
|
1763
1763
|
ref_key: "formModalRef",
|
|
1764
1764
|
ref: v,
|
|
1765
|
-
onRefresh: e(
|
|
1765
|
+
onRefresh: e(g)
|
|
1766
1766
|
}, null, 8, ["onRefresh"])]),
|
|
1767
1767
|
_: 1
|
|
1768
1768
|
}, 8, ["modelValue"]);
|
|
@@ -1772,7 +1772,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1772
1772
|
__name: "template",
|
|
1773
1773
|
emits: ["refresh"],
|
|
1774
1774
|
setup(w, { expose: R, emit: k }) {
|
|
1775
|
-
const { formModalRef:
|
|
1775
|
+
const { formModalRef: h, openFormModal: b } = E(), _ = k, m = B("600px"), i = B({
|
|
1776
1776
|
"zh-CN": "primary",
|
|
1777
1777
|
"en-US": "success"
|
|
1778
1778
|
}), p = B({}), t = {
|
|
@@ -1803,16 +1803,16 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1803
1803
|
trigger: "change"
|
|
1804
1804
|
}
|
|
1805
1805
|
]
|
|
1806
|
-
}, { modal: u, title:
|
|
1807
|
-
function
|
|
1808
|
-
m.value = "1080px",
|
|
1806
|
+
}, { modal: u, title: c, form: V, formData: g, requesting: D, executing: x, open: n, modify: d, submit: r, closed: y } = X(_, t, re);
|
|
1807
|
+
function f() {
|
|
1808
|
+
m.value = "1080px", b();
|
|
1809
1809
|
}
|
|
1810
1810
|
function C() {
|
|
1811
1811
|
m.value = "600px";
|
|
1812
1812
|
}
|
|
1813
1813
|
function A(L) {
|
|
1814
1814
|
let U = L.module.toLowerCase() + "." + L.key.toLowerCase();
|
|
1815
|
-
|
|
1815
|
+
g.keys = U, g.values.push(U);
|
|
1816
1816
|
for (const se in L.language)
|
|
1817
1817
|
p.value[se] || (p.value[se] = []), p.value[se].push(L.language[se]);
|
|
1818
1818
|
}
|
|
@@ -1820,7 +1820,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1820
1820
|
m.value = "600px", M();
|
|
1821
1821
|
}
|
|
1822
1822
|
function M() {
|
|
1823
|
-
|
|
1823
|
+
g.keys = "", g.values = [], p.value = {
|
|
1824
1824
|
"zh-CN": [],
|
|
1825
1825
|
"en-US": []
|
|
1826
1826
|
};
|
|
@@ -1842,7 +1842,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1842
1842
|
title: o(() => [
|
|
1843
1843
|
l(se, { class: "basic-header" }, {
|
|
1844
1844
|
title: o(() => [
|
|
1845
|
-
Z(z(e(
|
|
1845
|
+
Z(z(e(c)("i18n.template")), 1)
|
|
1846
1846
|
]),
|
|
1847
1847
|
extra: o(() => [
|
|
1848
1848
|
l(e(Q), {
|
|
@@ -1868,8 +1868,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1868
1868
|
default: o(() => [
|
|
1869
1869
|
l(Ne, {
|
|
1870
1870
|
ref_key: "form",
|
|
1871
|
-
ref:
|
|
1872
|
-
model: e(
|
|
1871
|
+
ref: V,
|
|
1872
|
+
model: e(g),
|
|
1873
1873
|
"label-width": "auto",
|
|
1874
1874
|
rules: v,
|
|
1875
1875
|
disabled: e(D) || e(x)
|
|
@@ -1882,8 +1882,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1882
1882
|
}, {
|
|
1883
1883
|
default: o(() => [
|
|
1884
1884
|
l(e(Se), {
|
|
1885
|
-
modelValue: e(
|
|
1886
|
-
"onUpdate:modelValue": U[0] || (U[0] = (J) => e(
|
|
1885
|
+
modelValue: e(g).app,
|
|
1886
|
+
"onUpdate:modelValue": U[0] || (U[0] = (J) => e(g).app = J),
|
|
1887
1887
|
"cache-key": "I18NAPPS",
|
|
1888
1888
|
hidden: [0],
|
|
1889
1889
|
url: e(re).urls.apps
|
|
@@ -1898,14 +1898,14 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1898
1898
|
}, {
|
|
1899
1899
|
default: o(() => [
|
|
1900
1900
|
l(Me, {
|
|
1901
|
-
modelValue: e(
|
|
1902
|
-
"onUpdate:modelValue": U[1] || (U[1] = (J) => e(
|
|
1901
|
+
modelValue: e(g).keys,
|
|
1902
|
+
"onUpdate:modelValue": U[1] || (U[1] = (J) => e(g).keys = J),
|
|
1903
1903
|
placeholder: e(a)("i18n.placeholder.key")
|
|
1904
1904
|
}, {
|
|
1905
1905
|
append: o(() => [
|
|
1906
1906
|
l(Fe, {
|
|
1907
1907
|
icon: e(rl),
|
|
1908
|
-
onClick:
|
|
1908
|
+
onClick: f
|
|
1909
1909
|
}, null, 8, ["icon"])
|
|
1910
1910
|
]),
|
|
1911
1911
|
_: 1
|
|
@@ -1919,7 +1919,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1919
1919
|
required: ""
|
|
1920
1920
|
}, {
|
|
1921
1921
|
default: o(() => [
|
|
1922
|
-
Z(z(e(
|
|
1922
|
+
Z(z(e(g).values.join(":")), 1)
|
|
1923
1923
|
]),
|
|
1924
1924
|
_: 1
|
|
1925
1925
|
}, 8, ["label"]),
|
|
@@ -1956,8 +1956,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1956
1956
|
}, {
|
|
1957
1957
|
default: o(() => [
|
|
1958
1958
|
l(Me, {
|
|
1959
|
-
modelValue: e(
|
|
1960
|
-
"onUpdate:modelValue": U[2] || (U[2] = (J) => e(
|
|
1959
|
+
modelValue: e(g).remark,
|
|
1960
|
+
"onUpdate:modelValue": U[2] || (U[2] = (J) => e(g).remark = J),
|
|
1961
1961
|
placeholder: e(a)("placeholder.input")
|
|
1962
1962
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1963
1963
|
]),
|
|
@@ -1968,7 +1968,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1968
1968
|
}, 8, ["model", "disabled"]),
|
|
1969
1969
|
l(Oe, {
|
|
1970
1970
|
ref_key: "I18nTableDrawerRef",
|
|
1971
|
-
ref:
|
|
1971
|
+
ref: h,
|
|
1972
1972
|
onChoosed: A,
|
|
1973
1973
|
onClosed: C
|
|
1974
1974
|
}, null, 512)
|
|
@@ -2046,23 +2046,23 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2046
2046
|
}) => l(s("el-space"), null, {
|
|
2047
2047
|
default: () => [l(ae, {
|
|
2048
2048
|
size: "default",
|
|
2049
|
-
disabled:
|
|
2050
|
-
onModify: () =>
|
|
2049
|
+
disabled: b.value,
|
|
2050
|
+
onModify: () => g({
|
|
2051
2051
|
uuid: d.uuid
|
|
2052
2052
|
})
|
|
2053
2053
|
}, null), l(Q, {
|
|
2054
2054
|
size: "default",
|
|
2055
2055
|
text: !0,
|
|
2056
2056
|
type: "danger",
|
|
2057
|
-
loading:
|
|
2057
|
+
loading: b.value,
|
|
2058
2058
|
onClick: () => D(d.uuid)
|
|
2059
2059
|
}, null)]
|
|
2060
2060
|
})
|
|
2061
2061
|
}], {
|
|
2062
|
-
requesting:
|
|
2063
|
-
executing:
|
|
2062
|
+
requesting: h,
|
|
2063
|
+
executing: b
|
|
2064
2064
|
} = F(re), {
|
|
2065
|
-
formModalRef:
|
|
2065
|
+
formModalRef: _,
|
|
2066
2066
|
openFormModal: m
|
|
2067
2067
|
} = E(), {
|
|
2068
2068
|
tableRef: i,
|
|
@@ -2070,29 +2070,29 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2070
2070
|
keyword: t,
|
|
2071
2071
|
search: v,
|
|
2072
2072
|
reset: u,
|
|
2073
|
-
refresh:
|
|
2074
|
-
openFormModal:
|
|
2075
|
-
editFormModal:
|
|
2073
|
+
refresh: c,
|
|
2074
|
+
openFormModal: V,
|
|
2075
|
+
editFormModal: g
|
|
2076
2076
|
} = E(R);
|
|
2077
2077
|
function D(d) {
|
|
2078
2078
|
return re.remove({
|
|
2079
2079
|
uuid: d
|
|
2080
2080
|
}).finally(() => {
|
|
2081
|
-
|
|
2081
|
+
c();
|
|
2082
2082
|
});
|
|
2083
2083
|
}
|
|
2084
2084
|
function x() {
|
|
2085
2085
|
return W.gen().finally(() => {
|
|
2086
|
-
|
|
2086
|
+
c();
|
|
2087
2087
|
});
|
|
2088
2088
|
}
|
|
2089
2089
|
function n() {
|
|
2090
2090
|
kl.gen().finally(() => {
|
|
2091
|
-
|
|
2091
|
+
c();
|
|
2092
2092
|
});
|
|
2093
2093
|
}
|
|
2094
2094
|
return (d, r) => {
|
|
2095
|
-
const y = s("el-input"),
|
|
2095
|
+
const y = s("el-input"), f = s("el-radio-button"), C = s("el-radio-group"), A = s("el-space"), q = s("el-divider"), M = s("el-page-header"), L = s("el-card");
|
|
2096
2096
|
return S(), T(L, {
|
|
2097
2097
|
class: "basic-card flex-full",
|
|
2098
2098
|
"body-class": "flex-1"
|
|
@@ -2101,10 +2101,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2101
2101
|
class: "basic-header"
|
|
2102
2102
|
}, {
|
|
2103
2103
|
title: o(() => [l(e(K), {
|
|
2104
|
-
loading: e(
|
|
2104
|
+
loading: e(h),
|
|
2105
2105
|
onRefresh: e(u)
|
|
2106
2106
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2107
|
-
onOpen: e(
|
|
2107
|
+
onOpen: e(V)
|
|
2108
2108
|
}, null, 8, ["onOpen"])]),
|
|
2109
2109
|
content: o(() => [l(A, {
|
|
2110
2110
|
class: "search-bar"
|
|
@@ -2113,7 +2113,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2113
2113
|
class: "basic-search-input",
|
|
2114
2114
|
modelValue: e(t).keyword,
|
|
2115
2115
|
"onUpdate:modelValue": r[0] || (r[0] = (U) => e(t).keyword = U),
|
|
2116
|
-
disabled: e(
|
|
2116
|
+
disabled: e(h) || e(b),
|
|
2117
2117
|
placeholder: e(a)("placeholder.keyword"),
|
|
2118
2118
|
clearable: "",
|
|
2119
2119
|
onKeyup: r[1] || (r[1] = he((U) => e(v)(), ["enter"])),
|
|
@@ -2122,23 +2122,23 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2122
2122
|
modelValue: e(t).app,
|
|
2123
2123
|
"onUpdate:modelValue": r[3] || (r[3] = (U) => e(t).app = U),
|
|
2124
2124
|
"cache-key": "I18NAPPS",
|
|
2125
|
-
disabled: e(
|
|
2125
|
+
disabled: e(h) || e(b),
|
|
2126
2126
|
url: e(re).urls.apps,
|
|
2127
2127
|
onChange: r[4] || (r[4] = (U) => e(v)())
|
|
2128
2128
|
}, null, 8, ["modelValue", "disabled", "url"]), l(C, {
|
|
2129
2129
|
modelValue: e(t).status,
|
|
2130
2130
|
"onUpdate:modelValue": r[5] || (r[5] = (U) => e(t).status = U),
|
|
2131
|
-
disabled: e(
|
|
2131
|
+
disabled: e(h) || e(b),
|
|
2132
2132
|
onChange: r[6] || (r[6] = (U) => e(v)())
|
|
2133
2133
|
}, {
|
|
2134
|
-
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(
|
|
2134
|
+
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(f, {
|
|
2135
2135
|
key: U,
|
|
2136
2136
|
label: e(a)(`status.${U}`),
|
|
2137
2137
|
value: U
|
|
2138
2138
|
}, null, 8, ["label", "value"])), 64))]),
|
|
2139
2139
|
_: 1
|
|
2140
2140
|
}, 8, ["modelValue", "disabled"]), l(e(ne), {
|
|
2141
|
-
disabled: e(
|
|
2141
|
+
disabled: e(h) || e(b),
|
|
2142
2142
|
onSearch: r[7] || (r[7] = (U) => e(v)())
|
|
2143
2143
|
}, null, 8, ["disabled"])]),
|
|
2144
2144
|
_: 1
|
|
@@ -2148,14 +2148,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2148
2148
|
type: "warning",
|
|
2149
2149
|
icon: "icon-cloud-upload",
|
|
2150
2150
|
plain: !1,
|
|
2151
|
-
loading: e(
|
|
2151
|
+
loading: e(b),
|
|
2152
2152
|
onClick: x
|
|
2153
2153
|
}, null, 8, ["loading"]), l(e(Q), {
|
|
2154
2154
|
size: "default",
|
|
2155
2155
|
type: "danger",
|
|
2156
2156
|
icon: "icon-translate",
|
|
2157
2157
|
plain: !1,
|
|
2158
|
-
loading: e(
|
|
2158
|
+
loading: e(b),
|
|
2159
2159
|
onClick: n
|
|
2160
2160
|
}, null, 8, ["loading"]), l(q, {
|
|
2161
2161
|
direction: "vertical"
|
|
@@ -2174,12 +2174,12 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2174
2174
|
"auto-search": ""
|
|
2175
2175
|
}, null, 8, ["url", "search-param"]), l(Oe, {
|
|
2176
2176
|
ref_key: "I18nTableDrawerRef",
|
|
2177
|
-
ref:
|
|
2178
|
-
onRefresh: e(
|
|
2177
|
+
ref: _,
|
|
2178
|
+
onRefresh: e(c)
|
|
2179
2179
|
}, null, 8, ["onRefresh"]), l(yl, {
|
|
2180
2180
|
ref_key: "formModalRef",
|
|
2181
2181
|
ref: p,
|
|
2182
|
-
onRefresh: e(
|
|
2182
|
+
onRefresh: e(c)
|
|
2183
2183
|
}, null, 8, ["onRefresh"])]),
|
|
2184
2184
|
_: 1
|
|
2185
2185
|
});
|
|
@@ -2189,7 +2189,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2189
2189
|
__name: "AdminFormModal",
|
|
2190
2190
|
emits: ["refresh"],
|
|
2191
2191
|
setup(w, { expose: R, emit: k }) {
|
|
2192
|
-
const
|
|
2192
|
+
const h = k, b = {
|
|
2193
2193
|
key: "",
|
|
2194
2194
|
username: "",
|
|
2195
2195
|
password: "",
|
|
@@ -2198,7 +2198,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2198
2198
|
language: "zh-CN",
|
|
2199
2199
|
remark: "",
|
|
2200
2200
|
roles: []
|
|
2201
|
-
}, { modal:
|
|
2201
|
+
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing: v, open: u, modify: c, submit: V, closed: g } = X(h, b, ve), D = {
|
|
2202
2202
|
username: [
|
|
2203
2203
|
{
|
|
2204
2204
|
required: !0,
|
|
@@ -2251,17 +2251,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2251
2251
|
await n();
|
|
2252
2252
|
}), R({
|
|
2253
2253
|
open: u,
|
|
2254
|
-
modify:
|
|
2254
|
+
modify: c
|
|
2255
2255
|
}), (d, r) => {
|
|
2256
|
-
const y = s("el-input"),
|
|
2256
|
+
const y = s("el-input"), f = s("el-form-item"), C = s("el-radio-button"), A = s("el-radio-group"), q = s("el-checkbox"), M = s("el-checkbox-group"), L = s("el-form");
|
|
2257
2257
|
return S(), T(e(le), {
|
|
2258
|
-
modelValue: e(
|
|
2259
|
-
"onUpdate:modelValue": r[7] || (r[7] = (U) => N(
|
|
2258
|
+
modelValue: e(_),
|
|
2259
|
+
"onUpdate:modelValue": r[7] || (r[7] = (U) => N(_) ? _.value = U : null),
|
|
2260
2260
|
title: e(m)(),
|
|
2261
2261
|
width: "600px",
|
|
2262
2262
|
executing: e(v),
|
|
2263
|
-
onClosed: e(
|
|
2264
|
-
onSubmit: e(
|
|
2263
|
+
onClosed: e(g),
|
|
2264
|
+
onSubmit: e(V)
|
|
2265
2265
|
}, {
|
|
2266
2266
|
default: o(() => [
|
|
2267
2267
|
l(L, {
|
|
@@ -2273,7 +2273,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2273
2273
|
disabled: e(t) || e(v)
|
|
2274
2274
|
}, {
|
|
2275
2275
|
default: o(() => [
|
|
2276
|
-
l(
|
|
2276
|
+
l(f, {
|
|
2277
2277
|
label: e(a)("base.username"),
|
|
2278
2278
|
prop: "username"
|
|
2279
2279
|
}, {
|
|
@@ -2287,7 +2287,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2287
2287
|
]),
|
|
2288
2288
|
_: 1
|
|
2289
2289
|
}, 8, ["label"]),
|
|
2290
|
-
l(
|
|
2290
|
+
l(f, {
|
|
2291
2291
|
label: e(a)("base.phone"),
|
|
2292
2292
|
prop: "phone"
|
|
2293
2293
|
}, {
|
|
@@ -2301,7 +2301,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2301
2301
|
]),
|
|
2302
2302
|
_: 1
|
|
2303
2303
|
}, 8, ["label"]),
|
|
2304
|
-
l(
|
|
2304
|
+
l(f, {
|
|
2305
2305
|
label: e(a)("base.password"),
|
|
2306
2306
|
prop: "password",
|
|
2307
2307
|
required: !e(p).key
|
|
@@ -2316,7 +2316,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2316
2316
|
]),
|
|
2317
2317
|
_: 1
|
|
2318
2318
|
}, 8, ["label", "required"]),
|
|
2319
|
-
l(
|
|
2319
|
+
l(f, {
|
|
2320
2320
|
label: e(a)("base.email"),
|
|
2321
2321
|
prop: "email"
|
|
2322
2322
|
}, {
|
|
@@ -2330,7 +2330,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2330
2330
|
]),
|
|
2331
2331
|
_: 1
|
|
2332
2332
|
}, 8, ["label"]),
|
|
2333
|
-
l(
|
|
2333
|
+
l(f, {
|
|
2334
2334
|
label: e(a)("base.language"),
|
|
2335
2335
|
prop: "language"
|
|
2336
2336
|
}, {
|
|
@@ -2358,7 +2358,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2358
2358
|
]),
|
|
2359
2359
|
_: 1
|
|
2360
2360
|
}, 8, ["label"]),
|
|
2361
|
-
l(
|
|
2361
|
+
l(f, {
|
|
2362
2362
|
label: e(a)("menu.Role"),
|
|
2363
2363
|
prop: "roles"
|
|
2364
2364
|
}, {
|
|
@@ -2383,7 +2383,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2383
2383
|
]),
|
|
2384
2384
|
_: 1
|
|
2385
2385
|
}, 8, ["label"]),
|
|
2386
|
-
l(
|
|
2386
|
+
l(f, {
|
|
2387
2387
|
label: e(a)("base.remark"),
|
|
2388
2388
|
prop: "remark"
|
|
2389
2389
|
}, {
|
|
@@ -2414,21 +2414,21 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2414
2414
|
prop: "avatar",
|
|
2415
2415
|
width: 60,
|
|
2416
2416
|
render: ({
|
|
2417
|
-
row:
|
|
2417
|
+
row: c
|
|
2418
2418
|
}) => l(Qe, {
|
|
2419
|
-
src:
|
|
2419
|
+
src: c.avatar
|
|
2420
2420
|
}, null)
|
|
2421
2421
|
}, {
|
|
2422
2422
|
label: a("base.user"),
|
|
2423
2423
|
width: 200,
|
|
2424
2424
|
align: "left",
|
|
2425
2425
|
render: ({
|
|
2426
|
-
row:
|
|
2426
|
+
row: c
|
|
2427
2427
|
}) => l(s("el-space"), {
|
|
2428
2428
|
direction: "vertical",
|
|
2429
2429
|
alignment: "start"
|
|
2430
2430
|
}, {
|
|
2431
|
-
default: () => [l("div", null, [
|
|
2431
|
+
default: () => [l("div", null, [c.username]), l("div", null, [c.email])]
|
|
2432
2432
|
})
|
|
2433
2433
|
}, {
|
|
2434
2434
|
label: a("base.phone"),
|
|
@@ -2456,17 +2456,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2456
2456
|
width: 80,
|
|
2457
2457
|
align: "center",
|
|
2458
2458
|
render: ({
|
|
2459
|
-
row:
|
|
2459
|
+
row: c
|
|
2460
2460
|
}) => l(ae, {
|
|
2461
2461
|
onModify: () => u({
|
|
2462
|
-
key:
|
|
2462
|
+
key: c.key
|
|
2463
2463
|
})
|
|
2464
2464
|
}, null)
|
|
2465
2465
|
}], {
|
|
2466
|
-
requesting:
|
|
2466
|
+
requesting: h
|
|
2467
2467
|
} = F(ve), {
|
|
2468
|
-
tableRef:
|
|
2469
|
-
formModalRef:
|
|
2468
|
+
tableRef: b,
|
|
2469
|
+
formModalRef: _,
|
|
2470
2470
|
keyword: m,
|
|
2471
2471
|
search: i,
|
|
2472
2472
|
reset: p,
|
|
@@ -2474,8 +2474,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2474
2474
|
openFormModal: v,
|
|
2475
2475
|
editFormModal: u
|
|
2476
2476
|
} = E(R);
|
|
2477
|
-
return (
|
|
2478
|
-
const
|
|
2477
|
+
return (c, V) => {
|
|
2478
|
+
const g = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
2479
2479
|
return S(), T(n, {
|
|
2480
2480
|
class: "basic-card flex-full",
|
|
2481
2481
|
"body-class": "flex-1"
|
|
@@ -2484,7 +2484,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2484
2484
|
class: "basic-header"
|
|
2485
2485
|
}, {
|
|
2486
2486
|
title: o(() => [l(e(K), {
|
|
2487
|
-
loading: e(
|
|
2487
|
+
loading: e(h),
|
|
2488
2488
|
onRefresh: e(p)
|
|
2489
2489
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2490
2490
|
onOpen: e(v)
|
|
@@ -2492,17 +2492,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2492
2492
|
content: o(() => [l(D, {
|
|
2493
2493
|
class: "search-bar"
|
|
2494
2494
|
}, {
|
|
2495
|
-
default: o(() => [l(
|
|
2495
|
+
default: o(() => [l(g, {
|
|
2496
2496
|
class: "basic-search-input",
|
|
2497
2497
|
modelValue: e(m).keyword,
|
|
2498
|
-
"onUpdate:modelValue":
|
|
2498
|
+
"onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
|
|
2499
2499
|
placeholder: e(a)("placeholder.keyword"),
|
|
2500
2500
|
clearable: "",
|
|
2501
|
-
onKeyup:
|
|
2502
|
-
onClear:
|
|
2501
|
+
onKeyup: V[1] || (V[1] = he((d) => e(i)(), ["enter"])),
|
|
2502
|
+
onClear: V[2] || (V[2] = (d) => e(i)())
|
|
2503
2503
|
}, null, 8, ["modelValue", "placeholder"]), l(e(ne), {
|
|
2504
|
-
disabled: e(
|
|
2505
|
-
onSearch:
|
|
2504
|
+
disabled: e(h),
|
|
2505
|
+
onSearch: V[3] || (V[3] = (d) => e(i)())
|
|
2506
2506
|
}, null, 8, ["disabled"])]),
|
|
2507
2507
|
_: 1
|
|
2508
2508
|
})]),
|
|
@@ -2510,7 +2510,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2510
2510
|
})]),
|
|
2511
2511
|
default: o(() => [l(e(ce), {
|
|
2512
2512
|
ref_key: "tableRef",
|
|
2513
|
-
ref:
|
|
2513
|
+
ref: b,
|
|
2514
2514
|
size: "small",
|
|
2515
2515
|
columns: k,
|
|
2516
2516
|
url: e(ve).urls[e(Ve)],
|
|
@@ -2518,7 +2518,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2518
2518
|
"auto-search": ""
|
|
2519
2519
|
}, null, 8, ["url", "search-param"]), l(wl, {
|
|
2520
2520
|
ref_key: "formModalRef",
|
|
2521
|
-
ref:
|
|
2521
|
+
ref: _,
|
|
2522
2522
|
onRefresh: e(t)
|
|
2523
2523
|
}, null, 8, ["onRefresh"])]),
|
|
2524
2524
|
_: 1
|
|
@@ -2544,14 +2544,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2544
2544
|
expose: R,
|
|
2545
2545
|
emit: k
|
|
2546
2546
|
}) {
|
|
2547
|
-
const
|
|
2548
|
-
requesting:
|
|
2547
|
+
const h = k, b = w, {
|
|
2548
|
+
requesting: _
|
|
2549
2549
|
} = F(be), {
|
|
2550
2550
|
key: m,
|
|
2551
2551
|
options: i,
|
|
2552
2552
|
refresh: p,
|
|
2553
2553
|
change: t
|
|
2554
|
-
} = te(oe(
|
|
2554
|
+
} = te(oe(b, "modelValue"), h, {
|
|
2555
2555
|
key: "DOMAIN_LIST",
|
|
2556
2556
|
api: be,
|
|
2557
2557
|
isArray: !0
|
|
@@ -2559,17 +2559,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2559
2559
|
return R({
|
|
2560
2560
|
refresh: p
|
|
2561
2561
|
}), (v, u) => {
|
|
2562
|
-
const
|
|
2563
|
-
return S(), T(
|
|
2562
|
+
const c = s("el-select-v2");
|
|
2563
|
+
return S(), T(c, {
|
|
2564
2564
|
modelValue: e(m),
|
|
2565
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2565
|
+
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2566
2566
|
options: e(i),
|
|
2567
|
-
disabled: w.disabled || e(
|
|
2567
|
+
disabled: w.disabled || e(_),
|
|
2568
2568
|
placeholder: e(a)("base.select config.domain"),
|
|
2569
2569
|
onChange: e(t)
|
|
2570
2570
|
}, {
|
|
2571
2571
|
prefix: o(() => [l(e(me), {
|
|
2572
|
-
loading: e(
|
|
2572
|
+
loading: e(_),
|
|
2573
2573
|
onRefresh: e(p)
|
|
2574
2574
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2575
2575
|
_: 1
|
|
@@ -2580,7 +2580,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2580
2580
|
__name: "SiteFormModal",
|
|
2581
2581
|
emits: ["refresh"],
|
|
2582
2582
|
setup(w, { expose: R, emit: k }) {
|
|
2583
|
-
const
|
|
2583
|
+
const h = k, b = {
|
|
2584
2584
|
id: 0,
|
|
2585
2585
|
domain_id: 0,
|
|
2586
2586
|
prefix: "",
|
|
@@ -2590,25 +2590,25 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2590
2590
|
git: "",
|
|
2591
2591
|
status: 1,
|
|
2592
2592
|
remark: ""
|
|
2593
|
-
},
|
|
2593
|
+
}, _ = {
|
|
2594
2594
|
domain_id: [{ required: !0, message: a("placeholder.input config.domain"), trigger: "blur" }],
|
|
2595
2595
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2596
2596
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2597
2597
|
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:
|
|
2598
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: g, closed: D } = X(h, b, ue);
|
|
2599
2599
|
return R({
|
|
2600
|
-
open:
|
|
2601
|
-
modify:
|
|
2600
|
+
open: c,
|
|
2601
|
+
modify: V
|
|
2602
2602
|
}), (x, n) => {
|
|
2603
2603
|
const d = s("el-form-item"), r = s("el-input"), y = s("el-form");
|
|
2604
2604
|
return S(), T(e(le), {
|
|
2605
2605
|
modelValue: e(m),
|
|
2606
|
-
"onUpdate:modelValue": n[7] || (n[7] = (
|
|
2606
|
+
"onUpdate:modelValue": n[7] || (n[7] = (f) => N(m) ? m.value = f : null),
|
|
2607
2607
|
title: e(i)("config.site"),
|
|
2608
2608
|
width: "600px",
|
|
2609
2609
|
executing: e(u),
|
|
2610
2610
|
onClosed: e(D),
|
|
2611
|
-
onSubmit: e(
|
|
2611
|
+
onSubmit: e(g)
|
|
2612
2612
|
}, {
|
|
2613
2613
|
default: o(() => [
|
|
2614
2614
|
l(y, {
|
|
@@ -2616,7 +2616,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2616
2616
|
ref: p,
|
|
2617
2617
|
model: e(t),
|
|
2618
2618
|
"label-width": "auto",
|
|
2619
|
-
rules:
|
|
2619
|
+
rules: _,
|
|
2620
2620
|
disabled: e(v) || e(u)
|
|
2621
2621
|
}, {
|
|
2622
2622
|
default: o(() => [
|
|
@@ -2627,7 +2627,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2627
2627
|
default: o(() => [
|
|
2628
2628
|
l($e, {
|
|
2629
2629
|
modelValue: e(t).domain_id,
|
|
2630
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
2630
|
+
"onUpdate:modelValue": n[0] || (n[0] = (f) => e(t).domain_id = f),
|
|
2631
2631
|
disabled: e(u)
|
|
2632
2632
|
}, null, 8, ["modelValue", "disabled"])
|
|
2633
2633
|
]),
|
|
@@ -2640,7 +2640,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2640
2640
|
default: o(() => [
|
|
2641
2641
|
l(r, {
|
|
2642
2642
|
modelValue: e(t).prefix,
|
|
2643
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
2643
|
+
"onUpdate:modelValue": n[1] || (n[1] = (f) => e(t).prefix = f),
|
|
2644
2644
|
disabled: e(u),
|
|
2645
2645
|
placeholder: e(a)("placeholder.input")
|
|
2646
2646
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2654,7 +2654,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2654
2654
|
default: o(() => [
|
|
2655
2655
|
l(r, {
|
|
2656
2656
|
modelValue: e(t).name,
|
|
2657
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
2657
|
+
"onUpdate:modelValue": n[2] || (n[2] = (f) => e(t).name = f),
|
|
2658
2658
|
disabled: e(u),
|
|
2659
2659
|
placeholder: e(a)("placeholder.input")
|
|
2660
2660
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2668,7 +2668,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2668
2668
|
default: o(() => [
|
|
2669
2669
|
l(r, {
|
|
2670
2670
|
modelValue: e(t).en_name,
|
|
2671
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
2671
|
+
"onUpdate:modelValue": n[3] || (n[3] = (f) => e(t).en_name = f),
|
|
2672
2672
|
disabled: e(u),
|
|
2673
2673
|
placeholder: e(a)("placeholder.input")
|
|
2674
2674
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2682,7 +2682,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2682
2682
|
default: o(() => [
|
|
2683
2683
|
l(r, {
|
|
2684
2684
|
modelValue: e(t).dns,
|
|
2685
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
2685
|
+
"onUpdate:modelValue": n[4] || (n[4] = (f) => e(t).dns = f),
|
|
2686
2686
|
disabled: e(u),
|
|
2687
2687
|
placeholder: e(a)("placeholder.input")
|
|
2688
2688
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2696,7 +2696,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2696
2696
|
default: o(() => [
|
|
2697
2697
|
l(r, {
|
|
2698
2698
|
modelValue: e(t).git,
|
|
2699
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
2699
|
+
"onUpdate:modelValue": n[5] || (n[5] = (f) => e(t).git = f),
|
|
2700
2700
|
disabled: e(u),
|
|
2701
2701
|
placeholder: e(a)("placeholder.input")
|
|
2702
2702
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2710,7 +2710,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2710
2710
|
default: o(() => [
|
|
2711
2711
|
l(r, {
|
|
2712
2712
|
modelValue: e(t).remark,
|
|
2713
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
2713
|
+
"onUpdate:modelValue": n[6] || (n[6] = (f) => e(t).remark = f),
|
|
2714
2714
|
disabled: e(u),
|
|
2715
2715
|
placeholder: e(a)("placeholder.input")
|
|
2716
2716
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -2742,14 +2742,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2742
2742
|
expose: R,
|
|
2743
2743
|
emit: k
|
|
2744
2744
|
}) {
|
|
2745
|
-
const
|
|
2746
|
-
requesting:
|
|
2745
|
+
const h = k, b = w, {
|
|
2746
|
+
requesting: _
|
|
2747
2747
|
} = F(ge), {
|
|
2748
2748
|
key: m,
|
|
2749
2749
|
options: i,
|
|
2750
2750
|
refresh: p,
|
|
2751
2751
|
change: t
|
|
2752
|
-
} = te(oe(
|
|
2752
|
+
} = te(oe(b, "modelValue"), h, {
|
|
2753
2753
|
key: "DOMAIN_PROVIDER_LIST",
|
|
2754
2754
|
api: ge,
|
|
2755
2755
|
isArray: !0
|
|
@@ -2757,17 +2757,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2757
2757
|
return R({
|
|
2758
2758
|
refresh: p
|
|
2759
2759
|
}), (v, u) => {
|
|
2760
|
-
const
|
|
2761
|
-
return S(), T(
|
|
2760
|
+
const c = s("el-select-v2");
|
|
2761
|
+
return S(), T(c, {
|
|
2762
2762
|
modelValue: e(m),
|
|
2763
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2763
|
+
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2764
2764
|
options: e(i),
|
|
2765
|
-
disabled: w.disabled || e(
|
|
2765
|
+
disabled: w.disabled || e(_),
|
|
2766
2766
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
2767
2767
|
onChange: e(t)
|
|
2768
2768
|
}, {
|
|
2769
2769
|
prefix: o(() => [l(e(me), {
|
|
2770
|
-
loading: e(
|
|
2770
|
+
loading: e(_),
|
|
2771
2771
|
onRefresh: e(p)
|
|
2772
2772
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2773
2773
|
_: 1
|
|
@@ -2778,22 +2778,22 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2778
2778
|
__name: "DomainFormModal",
|
|
2779
2779
|
emits: ["refresh"],
|
|
2780
2780
|
setup(w, { expose: R, emit: k }) {
|
|
2781
|
-
const
|
|
2781
|
+
const h = k, b = {
|
|
2782
2782
|
id: 0,
|
|
2783
2783
|
provider_id: 0,
|
|
2784
2784
|
name: "",
|
|
2785
2785
|
expired_at: "",
|
|
2786
2786
|
status: 1,
|
|
2787
2787
|
remark: ""
|
|
2788
|
-
},
|
|
2788
|
+
}, _ = {
|
|
2789
2789
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2790
2790
|
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:
|
|
2791
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: g, closed: D } = X(h, b, be);
|
|
2792
2792
|
return R({
|
|
2793
|
-
open:
|
|
2794
|
-
modify:
|
|
2793
|
+
open: c,
|
|
2794
|
+
modify: V
|
|
2795
2795
|
}), (x, n) => {
|
|
2796
|
-
const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"),
|
|
2796
|
+
const d = s("el-form-item"), r = s("el-input"), y = s("el-date-picker"), f = s("el-form");
|
|
2797
2797
|
return S(), T(e(le), {
|
|
2798
2798
|
modelValue: e(m),
|
|
2799
2799
|
"onUpdate:modelValue": n[4] || (n[4] = (C) => N(m) ? m.value = C : null),
|
|
@@ -2801,15 +2801,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2801
2801
|
width: "600px",
|
|
2802
2802
|
executing: e(u),
|
|
2803
2803
|
onClosed: e(D),
|
|
2804
|
-
onSubmit: e(
|
|
2804
|
+
onSubmit: e(g)
|
|
2805
2805
|
}, {
|
|
2806
2806
|
default: o(() => [
|
|
2807
|
-
l(
|
|
2807
|
+
l(f, {
|
|
2808
2808
|
ref_key: "form",
|
|
2809
2809
|
ref: p,
|
|
2810
2810
|
model: e(t),
|
|
2811
2811
|
"label-width": "auto",
|
|
2812
|
-
rules:
|
|
2812
|
+
rules: _,
|
|
2813
2813
|
disabled: e(v) || e(u)
|
|
2814
2814
|
}, {
|
|
2815
2815
|
default: o(() => [
|
|
@@ -2900,23 +2900,23 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2900
2900
|
expose: R,
|
|
2901
2901
|
emit: k
|
|
2902
2902
|
}) {
|
|
2903
|
-
const
|
|
2904
|
-
requesting:
|
|
2903
|
+
const h = k, b = w, {
|
|
2904
|
+
requesting: _
|
|
2905
2905
|
} = F(ue), {
|
|
2906
2906
|
key: m,
|
|
2907
2907
|
options: i,
|
|
2908
2908
|
refresh: p,
|
|
2909
2909
|
change: t
|
|
2910
|
-
} = te(oe(
|
|
2910
|
+
} = te(oe(b, "modelValue"), h, {
|
|
2911
2911
|
key: "SITE_LIST",
|
|
2912
2912
|
api: ue,
|
|
2913
2913
|
isArray: !0
|
|
2914
2914
|
}, {
|
|
2915
2915
|
formatOptions: (v) => v.map((u) => {
|
|
2916
|
-
var
|
|
2916
|
+
var c;
|
|
2917
2917
|
return {
|
|
2918
2918
|
...u,
|
|
2919
|
-
label: u.prefix + "." + ((
|
|
2919
|
+
label: u.prefix + "." + ((c = u.domain) == null ? void 0 : c.name),
|
|
2920
2920
|
value: u.id
|
|
2921
2921
|
};
|
|
2922
2922
|
})
|
|
@@ -2924,17 +2924,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2924
2924
|
return R({
|
|
2925
2925
|
refresh: p
|
|
2926
2926
|
}), (v, u) => {
|
|
2927
|
-
const
|
|
2928
|
-
return S(), T(
|
|
2927
|
+
const c = s("el-select-v2");
|
|
2928
|
+
return S(), T(c, {
|
|
2929
2929
|
modelValue: e(m),
|
|
2930
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
2930
|
+
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2931
2931
|
options: e(i),
|
|
2932
|
-
disabled: w.disabled || e(
|
|
2932
|
+
disabled: w.disabled || e(_),
|
|
2933
2933
|
placeholder: e(a)("base.select config.domain"),
|
|
2934
2934
|
onChange: e(t)
|
|
2935
2935
|
}, {
|
|
2936
2936
|
prefix: o(() => [l(e(me), {
|
|
2937
|
-
loading: e(
|
|
2937
|
+
loading: e(_),
|
|
2938
2938
|
onRefresh: e(p)
|
|
2939
2939
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2940
2940
|
_: 1
|
|
@@ -2945,7 +2945,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2945
2945
|
__name: "SSLFormModal",
|
|
2946
2946
|
emits: ["refresh"],
|
|
2947
2947
|
setup(w, { expose: R, emit: k }) {
|
|
2948
|
-
const
|
|
2948
|
+
const h = k, b = {
|
|
2949
2949
|
id: 0,
|
|
2950
2950
|
domain_id: void 0,
|
|
2951
2951
|
client: "Lego",
|
|
@@ -2955,20 +2955,20 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2955
2955
|
email: "",
|
|
2956
2956
|
encryption: "RSA2048",
|
|
2957
2957
|
remark: ""
|
|
2958
|
-
},
|
|
2958
|
+
}, _ = {
|
|
2959
2959
|
domain_id: [{ required: !0, message: a("placeholder.select config.domain "), trigger: "blur" }],
|
|
2960
2960
|
client: [{ required: !0, message: a("placeholder.select config.client "), trigger: "blur" }],
|
|
2961
2961
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2962
2962
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
2963
2963
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
2964
2964
|
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:
|
|
2965
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: g, closed: D } = X(h, b, ie);
|
|
2966
2966
|
return R({
|
|
2967
|
-
open:
|
|
2968
|
-
modify:
|
|
2967
|
+
open: c,
|
|
2968
|
+
modify: V,
|
|
2969
2969
|
formData: t
|
|
2970
2970
|
}), (x, n) => {
|
|
2971
|
-
const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"),
|
|
2971
|
+
const d = s("el-form-item"), r = s("el-radio-button"), y = s("el-radio-group"), f = s("el-input"), C = s("el-form");
|
|
2972
2972
|
return S(), T(e(le), {
|
|
2973
2973
|
modelValue: e(m),
|
|
2974
2974
|
"onUpdate:modelValue": n[8] || (n[8] = (A) => N(m) ? m.value = A : null),
|
|
@@ -2976,7 +2976,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2976
2976
|
width: "600px",
|
|
2977
2977
|
executing: e(u),
|
|
2978
2978
|
onClosed: e(D),
|
|
2979
|
-
onSubmit: e(
|
|
2979
|
+
onSubmit: e(g)
|
|
2980
2980
|
}, {
|
|
2981
2981
|
default: o(() => [
|
|
2982
2982
|
l(C, {
|
|
@@ -2984,7 +2984,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2984
2984
|
ref: p,
|
|
2985
2985
|
model: e(t),
|
|
2986
2986
|
"label-width": "auto",
|
|
2987
|
-
rules:
|
|
2987
|
+
rules: _,
|
|
2988
2988
|
disabled: e(v) || e(u)
|
|
2989
2989
|
}, {
|
|
2990
2990
|
default: o(() => [
|
|
@@ -3039,7 +3039,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3039
3039
|
label: e(a)("base.name")
|
|
3040
3040
|
}, {
|
|
3041
3041
|
default: o(() => [
|
|
3042
|
-
l(
|
|
3042
|
+
l(f, {
|
|
3043
3043
|
modelValue: e(t).name,
|
|
3044
3044
|
"onUpdate:modelValue": n[3] || (n[3] = (A) => e(t).name = A),
|
|
3045
3045
|
disabled: e(u),
|
|
@@ -3053,7 +3053,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3053
3053
|
label: e(a)("base.path")
|
|
3054
3054
|
}, {
|
|
3055
3055
|
default: o(() => [
|
|
3056
|
-
l(
|
|
3056
|
+
l(f, {
|
|
3057
3057
|
modelValue: e(t).path,
|
|
3058
3058
|
"onUpdate:modelValue": n[4] || (n[4] = (A) => e(t).path = A),
|
|
3059
3059
|
disabled: e(u),
|
|
@@ -3067,7 +3067,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3067
3067
|
label: e(a)("base.email")
|
|
3068
3068
|
}, {
|
|
3069
3069
|
default: o(() => [
|
|
3070
|
-
l(
|
|
3070
|
+
l(f, {
|
|
3071
3071
|
modelValue: e(t).email,
|
|
3072
3072
|
"onUpdate:modelValue": n[5] || (n[5] = (A) => e(t).email = A),
|
|
3073
3073
|
disabled: e(u),
|
|
@@ -3101,7 +3101,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3101
3101
|
label: e(a)("base.remark")
|
|
3102
3102
|
}, {
|
|
3103
3103
|
default: o(() => [
|
|
3104
|
-
l(
|
|
3104
|
+
l(f, {
|
|
3105
3105
|
modelValue: e(t).remark,
|
|
3106
3106
|
"onUpdate:modelValue": n[7] || (n[7] = (A) => e(t).remark = A),
|
|
3107
3107
|
disabled: e(u),
|
|
@@ -3122,7 +3122,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3122
3122
|
__name: "DomainProviderFormModal",
|
|
3123
3123
|
emits: ["refresh"],
|
|
3124
3124
|
setup(w, { expose: R, emit: k }) {
|
|
3125
|
-
const
|
|
3125
|
+
const h = k, b = {
|
|
3126
3126
|
id: 0,
|
|
3127
3127
|
name: "",
|
|
3128
3128
|
en_name: "",
|
|
@@ -3131,26 +3131,26 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3131
3131
|
end_point: "",
|
|
3132
3132
|
status: 1,
|
|
3133
3133
|
remark: ""
|
|
3134
|
-
},
|
|
3134
|
+
}, _ = {
|
|
3135
3135
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
3136
3136
|
en_name: { required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" },
|
|
3137
3137
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
3138
3138
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
3139
3139
|
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:
|
|
3140
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: v, executing: u, open: c, modify: V, submit: g, closed: D } = X(h, b, ge);
|
|
3141
3141
|
return R({
|
|
3142
|
-
open:
|
|
3143
|
-
modify:
|
|
3142
|
+
open: c,
|
|
3143
|
+
modify: V
|
|
3144
3144
|
}), (x, n) => {
|
|
3145
3145
|
const d = s("el-input"), r = s("el-form-item"), y = s("el-form");
|
|
3146
3146
|
return S(), T(e(le), {
|
|
3147
3147
|
modelValue: e(m),
|
|
3148
|
-
"onUpdate:modelValue": n[6] || (n[6] = (
|
|
3148
|
+
"onUpdate:modelValue": n[6] || (n[6] = (f) => N(m) ? m.value = f : null),
|
|
3149
3149
|
title: e(i)("config.domain"),
|
|
3150
3150
|
width: "600px",
|
|
3151
3151
|
executing: e(u),
|
|
3152
3152
|
onClosed: e(D),
|
|
3153
|
-
onSubmit: e(
|
|
3153
|
+
onSubmit: e(g)
|
|
3154
3154
|
}, {
|
|
3155
3155
|
default: o(() => [
|
|
3156
3156
|
l(y, {
|
|
@@ -3158,7 +3158,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3158
3158
|
ref: p,
|
|
3159
3159
|
model: e(t),
|
|
3160
3160
|
"label-width": "auto",
|
|
3161
|
-
rules:
|
|
3161
|
+
rules: _,
|
|
3162
3162
|
disabled: e(v) || e(u)
|
|
3163
3163
|
}, {
|
|
3164
3164
|
default: o(() => [
|
|
@@ -3169,7 +3169,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3169
3169
|
default: o(() => [
|
|
3170
3170
|
l(d, {
|
|
3171
3171
|
modelValue: e(t).name,
|
|
3172
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
3172
|
+
"onUpdate:modelValue": n[0] || (n[0] = (f) => e(t).name = f),
|
|
3173
3173
|
disabled: e(u),
|
|
3174
3174
|
placeholder: e(a)("placeholder.input")
|
|
3175
3175
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3183,7 +3183,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3183
3183
|
default: o(() => [
|
|
3184
3184
|
l(d, {
|
|
3185
3185
|
modelValue: e(t).en_name,
|
|
3186
|
-
"onUpdate:modelValue": n[1] || (n[1] = (
|
|
3186
|
+
"onUpdate:modelValue": n[1] || (n[1] = (f) => e(t).en_name = f),
|
|
3187
3187
|
disabled: e(u),
|
|
3188
3188
|
placeholder: e(a)("placeholder.input")
|
|
3189
3189
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3197,7 +3197,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3197
3197
|
default: o(() => [
|
|
3198
3198
|
l(d, {
|
|
3199
3199
|
modelValue: e(t).key,
|
|
3200
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
3200
|
+
"onUpdate:modelValue": n[2] || (n[2] = (f) => e(t).key = f),
|
|
3201
3201
|
disabled: e(u),
|
|
3202
3202
|
placeholder: e(a)("placeholder.input")
|
|
3203
3203
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3211,7 +3211,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3211
3211
|
default: o(() => [
|
|
3212
3212
|
l(d, {
|
|
3213
3213
|
modelValue: e(t).secret,
|
|
3214
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
3214
|
+
"onUpdate:modelValue": n[3] || (n[3] = (f) => e(t).secret = f),
|
|
3215
3215
|
disabled: e(u),
|
|
3216
3216
|
placeholder: e(a)("placeholder.input")
|
|
3217
3217
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3225,7 +3225,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3225
3225
|
default: o(() => [
|
|
3226
3226
|
l(d, {
|
|
3227
3227
|
modelValue: e(t).end_point,
|
|
3228
|
-
"onUpdate:modelValue": n[4] || (n[4] = (
|
|
3228
|
+
"onUpdate:modelValue": n[4] || (n[4] = (f) => e(t).end_point = f),
|
|
3229
3229
|
disabled: e(u),
|
|
3230
3230
|
placeholder: e(a)("placeholder.input")
|
|
3231
3231
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3239,7 +3239,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3239
3239
|
default: o(() => [
|
|
3240
3240
|
l(d, {
|
|
3241
3241
|
modelValue: e(t).remark,
|
|
3242
|
-
"onUpdate:modelValue": n[5] || (n[5] = (
|
|
3242
|
+
"onUpdate:modelValue": n[5] || (n[5] = (f) => e(t).remark = f),
|
|
3243
3243
|
disabled: e(u),
|
|
3244
3244
|
placeholder: e(a)("placeholder.input")
|
|
3245
3245
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -3261,9 +3261,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3261
3261
|
}) {
|
|
3262
3262
|
const {
|
|
3263
3263
|
requesting: k
|
|
3264
|
-
} = F(ge),
|
|
3265
|
-
tableRef:
|
|
3266
|
-
formModalRef:
|
|
3264
|
+
} = F(ge), h = B(!1), {
|
|
3265
|
+
tableRef: b,
|
|
3266
|
+
formModalRef: _,
|
|
3267
3267
|
refresh: m,
|
|
3268
3268
|
openFormModal: i,
|
|
3269
3269
|
editFormModal: p
|
|
@@ -3295,18 +3295,18 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3295
3295
|
}];
|
|
3296
3296
|
return R({
|
|
3297
3297
|
open: () => {
|
|
3298
|
-
|
|
3298
|
+
h.value = !0;
|
|
3299
3299
|
}
|
|
3300
|
-
}), (u,
|
|
3301
|
-
const
|
|
3300
|
+
}), (u, c) => {
|
|
3301
|
+
const V = s("el-page-header");
|
|
3302
3302
|
return S(), T(e(fe), {
|
|
3303
|
-
modelValue:
|
|
3304
|
-
"onUpdate:modelValue":
|
|
3303
|
+
modelValue: h.value,
|
|
3304
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => h.value = g),
|
|
3305
3305
|
width: "400px",
|
|
3306
3306
|
"show-close": !1,
|
|
3307
3307
|
class: "basic-drawer"
|
|
3308
3308
|
}, {
|
|
3309
|
-
title: o(() => [l(
|
|
3309
|
+
title: o(() => [l(V, {
|
|
3310
3310
|
icon: ""
|
|
3311
3311
|
}, {
|
|
3312
3312
|
title: o(() => [P("span", null, z(e(a)("config.domain config.provider")), 1)]),
|
|
@@ -3322,7 +3322,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3322
3322
|
})]),
|
|
3323
3323
|
default: o(() => [l(e(de), {
|
|
3324
3324
|
ref_key: "tableRef",
|
|
3325
|
-
ref:
|
|
3325
|
+
ref: b,
|
|
3326
3326
|
size: "small",
|
|
3327
3327
|
"row-key": "id",
|
|
3328
3328
|
url: e(ge).urls.list,
|
|
@@ -3330,7 +3330,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3330
3330
|
loading: e(k)
|
|
3331
3331
|
}, null, 8, ["url", "loading"]), l(Sl, {
|
|
3332
3332
|
ref_key: "formModalRef",
|
|
3333
|
-
ref:
|
|
3333
|
+
ref: _,
|
|
3334
3334
|
onRefresh: e(m)
|
|
3335
3335
|
}, null, 8, ["onRefresh"])]),
|
|
3336
3336
|
_: 1
|
|
@@ -3344,9 +3344,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3344
3344
|
}) {
|
|
3345
3345
|
const {
|
|
3346
3346
|
requesting: k
|
|
3347
|
-
} = F(be),
|
|
3348
|
-
tableRef:
|
|
3349
|
-
formModalRef:
|
|
3347
|
+
} = F(be), h = B(!1), {
|
|
3348
|
+
tableRef: b,
|
|
3349
|
+
formModalRef: _,
|
|
3350
3350
|
refresh: m,
|
|
3351
3351
|
openFormModal: i,
|
|
3352
3352
|
editFormModal: p
|
|
@@ -3355,9 +3355,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3355
3355
|
openFormModal: v,
|
|
3356
3356
|
editFormModal: u
|
|
3357
3357
|
} = E(), {
|
|
3358
|
-
formModalRef:
|
|
3359
|
-
openFormModal:
|
|
3360
|
-
} = E(),
|
|
3358
|
+
formModalRef: c,
|
|
3359
|
+
openFormModal: V
|
|
3360
|
+
} = E(), g = [{
|
|
3361
3361
|
prop: "provider",
|
|
3362
3362
|
label: a("config.domain config.provider"),
|
|
3363
3363
|
width: 120,
|
|
@@ -3408,13 +3408,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3408
3408
|
}];
|
|
3409
3409
|
return R({
|
|
3410
3410
|
open: () => {
|
|
3411
|
-
|
|
3411
|
+
h.value = !0;
|
|
3412
3412
|
}
|
|
3413
3413
|
}), (x, n) => {
|
|
3414
3414
|
const d = s("el-space"), r = s("el-page-header");
|
|
3415
3415
|
return S(), T(e(fe), {
|
|
3416
|
-
modelValue:
|
|
3417
|
-
"onUpdate:modelValue": n[0] || (n[0] = (y) =>
|
|
3416
|
+
modelValue: h.value,
|
|
3417
|
+
"onUpdate:modelValue": n[0] || (n[0] = (y) => h.value = y),
|
|
3418
3418
|
width: "600px",
|
|
3419
3419
|
"show-close": !1,
|
|
3420
3420
|
class: "basic-drawer"
|
|
@@ -3435,7 +3435,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3435
3435
|
alignment: "center"
|
|
3436
3436
|
}, {
|
|
3437
3437
|
default: o(() => [l(e(j), {
|
|
3438
|
-
onOpen: e(
|
|
3438
|
+
onOpen: e(V),
|
|
3439
3439
|
type: "danger"
|
|
3440
3440
|
}, null, 8, ["onOpen"])]),
|
|
3441
3441
|
_: 1
|
|
@@ -3444,15 +3444,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3444
3444
|
})]),
|
|
3445
3445
|
default: o(() => [l(e(de), {
|
|
3446
3446
|
ref_key: "tableRef",
|
|
3447
|
-
ref:
|
|
3447
|
+
ref: b,
|
|
3448
3448
|
size: "small",
|
|
3449
3449
|
"row-key": "id",
|
|
3450
3450
|
url: e(be).urls.list,
|
|
3451
|
-
columns:
|
|
3451
|
+
columns: g,
|
|
3452
3452
|
loading: e(k)
|
|
3453
3453
|
}, null, 8, ["url", "loading"]), l(Ml, {
|
|
3454
3454
|
ref_key: "formModalRef",
|
|
3455
|
-
ref:
|
|
3455
|
+
ref: _,
|
|
3456
3456
|
onRefresh: e(m)
|
|
3457
3457
|
}, null, 8, ["onRefresh"]), l(Ee, {
|
|
3458
3458
|
ref_key: "sslFormModalRef",
|
|
@@ -3460,7 +3460,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3460
3460
|
onRefresh: e(m)
|
|
3461
3461
|
}, null, 8, ["onRefresh"]), l(Cl, {
|
|
3462
3462
|
ref_key: "providerTableDrawerRef",
|
|
3463
|
-
ref:
|
|
3463
|
+
ref: c
|
|
3464
3464
|
}, null, 512)]),
|
|
3465
3465
|
_: 1
|
|
3466
3466
|
}, 8, ["modelValue"]);
|
|
@@ -3473,8 +3473,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3473
3473
|
}) {
|
|
3474
3474
|
const {
|
|
3475
3475
|
requesting: k,
|
|
3476
|
-
executing:
|
|
3477
|
-
} = F(ie),
|
|
3476
|
+
executing: h
|
|
3477
|
+
} = F(ie), b = B(0), _ = B(!1), {
|
|
3478
3478
|
tableRef: m,
|
|
3479
3479
|
formModalRef: i,
|
|
3480
3480
|
refresh: p,
|
|
@@ -3525,7 +3525,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3525
3525
|
size: "default",
|
|
3526
3526
|
icon: "icon-edit",
|
|
3527
3527
|
t: "",
|
|
3528
|
-
disabled:
|
|
3528
|
+
disabled: h.value,
|
|
3529
3529
|
onModify: () => v({
|
|
3530
3530
|
id: D.id
|
|
3531
3531
|
})
|
|
@@ -3534,30 +3534,30 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3534
3534
|
icon: "icon-key",
|
|
3535
3535
|
t: "",
|
|
3536
3536
|
text: !0,
|
|
3537
|
-
disabled:
|
|
3538
|
-
loading:
|
|
3539
|
-
onClick: () =>
|
|
3537
|
+
disabled: h.value && b.value !== D.id,
|
|
3538
|
+
loading: b.value == D.id,
|
|
3539
|
+
onClick: () => V(D.id)
|
|
3540
3540
|
}, null), l(Q, {
|
|
3541
3541
|
size: "default",
|
|
3542
3542
|
icon: "icon-cloud-download",
|
|
3543
3543
|
t: "",
|
|
3544
3544
|
text: !0,
|
|
3545
|
-
disabled:
|
|
3546
|
-
loading:
|
|
3547
|
-
onClick: () =>
|
|
3545
|
+
disabled: h.value && b.value !== D.id,
|
|
3546
|
+
loading: b.value == D.id,
|
|
3547
|
+
onClick: () => g(D)
|
|
3548
3548
|
}, null)]
|
|
3549
3549
|
})
|
|
3550
3550
|
}
|
|
3551
|
-
],
|
|
3552
|
-
|
|
3553
|
-
},
|
|
3551
|
+
], c = () => {
|
|
3552
|
+
_.value = !0;
|
|
3553
|
+
}, V = (D) => {
|
|
3554
3554
|
ie.gen({
|
|
3555
3555
|
id: D
|
|
3556
3556
|
}).then((x) => {
|
|
3557
3557
|
console.warn("Res:", x);
|
|
3558
3558
|
});
|
|
3559
3559
|
};
|
|
3560
|
-
function
|
|
3560
|
+
function g(D) {
|
|
3561
3561
|
const x = Ce.getDownloadUrl(D.path + ".zip");
|
|
3562
3562
|
fetch(x).then((n) => n.blob()).then((n) => {
|
|
3563
3563
|
let d = URL.createObjectURL(n), r = document.createElement("a");
|
|
@@ -3565,12 +3565,12 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3565
3565
|
});
|
|
3566
3566
|
}
|
|
3567
3567
|
return R({
|
|
3568
|
-
open:
|
|
3568
|
+
open: c
|
|
3569
3569
|
}), (D, x) => {
|
|
3570
3570
|
const n = s("el-page-header");
|
|
3571
3571
|
return S(), T(e(fe), {
|
|
3572
|
-
modelValue:
|
|
3573
|
-
"onUpdate:modelValue": x[0] || (x[0] = (d) =>
|
|
3572
|
+
modelValue: _.value,
|
|
3573
|
+
"onUpdate:modelValue": x[0] || (x[0] = (d) => _.value = d),
|
|
3574
3574
|
width: "1000px",
|
|
3575
3575
|
"show-close": !1,
|
|
3576
3576
|
class: "basic-drawer"
|
|
@@ -3617,9 +3617,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3617
3617
|
expose: R
|
|
3618
3618
|
}) {
|
|
3619
3619
|
const k = w, {
|
|
3620
|
-
requesting:
|
|
3621
|
-
executing:
|
|
3622
|
-
} = F([De, ie]),
|
|
3620
|
+
requesting: h,
|
|
3621
|
+
executing: b
|
|
3622
|
+
} = F([De, ie]), _ = B(!1), {
|
|
3623
3623
|
tableRef: m,
|
|
3624
3624
|
refresh: i
|
|
3625
3625
|
} = E(), p = [{
|
|
@@ -3639,55 +3639,55 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3639
3639
|
label: a("base.result"),
|
|
3640
3640
|
width: 0
|
|
3641
3641
|
}], t = () => {
|
|
3642
|
-
|
|
3642
|
+
_.value = !0;
|
|
3643
3643
|
};
|
|
3644
3644
|
function v() {
|
|
3645
3645
|
ie.gen({
|
|
3646
3646
|
id: k.ssl.id
|
|
3647
|
-
}).then((
|
|
3648
|
-
console.warn("Res:",
|
|
3647
|
+
}).then((c) => {
|
|
3648
|
+
console.warn("Res:", c);
|
|
3649
3649
|
});
|
|
3650
3650
|
}
|
|
3651
3651
|
function u() {
|
|
3652
|
-
const
|
|
3653
|
-
fetch(
|
|
3654
|
-
let
|
|
3655
|
-
D.style.display = "none", D.href =
|
|
3652
|
+
const c = Ce.getDownloadUrl(k.ssl.path + ".zip");
|
|
3653
|
+
fetch(c).then((V) => V.blob()).then((V) => {
|
|
3654
|
+
let g = URL.createObjectURL(V), D = document.createElement("a");
|
|
3655
|
+
D.style.display = "none", D.href = g, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(V);
|
|
3656
3656
|
});
|
|
3657
3657
|
}
|
|
3658
3658
|
return R({
|
|
3659
3659
|
open: t
|
|
3660
|
-
}), (
|
|
3661
|
-
const
|
|
3660
|
+
}), (c, V) => {
|
|
3661
|
+
const g = s("el-page-header");
|
|
3662
3662
|
return S(), T(e(fe), {
|
|
3663
|
-
modelValue:
|
|
3664
|
-
"onUpdate:modelValue":
|
|
3663
|
+
modelValue: _.value,
|
|
3664
|
+
"onUpdate:modelValue": V[0] || (V[0] = (D) => _.value = D),
|
|
3665
3665
|
width: "600px",
|
|
3666
3666
|
"show-close": !1,
|
|
3667
3667
|
class: "basic-drawer"
|
|
3668
3668
|
}, {
|
|
3669
|
-
title: o(() => [l(
|
|
3669
|
+
title: o(() => [l(g, {
|
|
3670
3670
|
icon: ""
|
|
3671
3671
|
}, {
|
|
3672
3672
|
title: o(() => [P("span", null, z(e(a)("config.ssl base.log")), 1)]),
|
|
3673
3673
|
content: o(() => [l(e(K), {
|
|
3674
3674
|
onRefresh: e(i),
|
|
3675
3675
|
size: "default",
|
|
3676
|
-
loading: e(
|
|
3676
|
+
loading: e(h)
|
|
3677
3677
|
}, null, 8, ["onRefresh", "loading"])]),
|
|
3678
3678
|
extra: o(() => [l(e(Q), {
|
|
3679
3679
|
size: "default",
|
|
3680
3680
|
type: "danger",
|
|
3681
3681
|
icon: "icon-key",
|
|
3682
|
-
disabled: e(
|
|
3683
|
-
loading: e(
|
|
3682
|
+
disabled: e(b),
|
|
3683
|
+
loading: e(b),
|
|
3684
3684
|
onClick: v
|
|
3685
3685
|
}, null, 8, ["disabled", "loading"]), l(e(Q), {
|
|
3686
3686
|
size: "default",
|
|
3687
3687
|
type: "primary",
|
|
3688
3688
|
icon: "icon-cloud-download",
|
|
3689
|
-
disabled: e(
|
|
3690
|
-
loading: e(
|
|
3689
|
+
disabled: e(b),
|
|
3690
|
+
loading: e(b),
|
|
3691
3691
|
onClick: u
|
|
3692
3692
|
}, null, 8, ["disabled", "loading"])]),
|
|
3693
3693
|
_: 1
|
|
@@ -3699,7 +3699,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3699
3699
|
"row-key": "id",
|
|
3700
3700
|
url: e(De).urls.search,
|
|
3701
3701
|
columns: p,
|
|
3702
|
-
loading: e(
|
|
3702
|
+
loading: e(h)
|
|
3703
3703
|
}, null, 8, ["url", "loading"])]),
|
|
3704
3704
|
_: 1
|
|
3705
3705
|
}, 8, ["modelValue"]);
|
|
@@ -3710,10 +3710,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3710
3710
|
setup(w) {
|
|
3711
3711
|
const R = B(), {
|
|
3712
3712
|
requesting: k,
|
|
3713
|
-
executing:
|
|
3713
|
+
executing: h
|
|
3714
3714
|
} = F(ue), {
|
|
3715
|
-
tableRef:
|
|
3716
|
-
formModalRef:
|
|
3715
|
+
tableRef: b,
|
|
3716
|
+
formModalRef: _,
|
|
3717
3717
|
reset: m,
|
|
3718
3718
|
refresh: i,
|
|
3719
3719
|
openFormModal: p,
|
|
@@ -3722,10 +3722,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3722
3722
|
formModalRef: v,
|
|
3723
3723
|
openFormModal: u
|
|
3724
3724
|
} = E(), {
|
|
3725
|
-
formModalRef:
|
|
3726
|
-
openFormModal:
|
|
3725
|
+
formModalRef: c,
|
|
3726
|
+
openFormModal: V
|
|
3727
3727
|
} = E(), {
|
|
3728
|
-
formModalRef:
|
|
3728
|
+
formModalRef: g,
|
|
3729
3729
|
openFormModal: D
|
|
3730
3730
|
} = E(), x = [{
|
|
3731
3731
|
prop: "domain.name",
|
|
@@ -3796,8 +3796,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3796
3796
|
type: "primary",
|
|
3797
3797
|
size: "small",
|
|
3798
3798
|
link: !0,
|
|
3799
|
-
disabled:
|
|
3800
|
-
loading: n.value == r.id &&
|
|
3799
|
+
disabled: h.value,
|
|
3800
|
+
loading: n.value == r.id && h.value,
|
|
3801
3801
|
onClick: () => d(r)
|
|
3802
3802
|
}, null)]
|
|
3803
3803
|
})
|
|
@@ -3811,7 +3811,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3811
3811
|
});
|
|
3812
3812
|
};
|
|
3813
3813
|
return (r, y) => {
|
|
3814
|
-
const
|
|
3814
|
+
const f = s("el-space"), C = s("el-page-header"), A = s("el-card");
|
|
3815
3815
|
return S(), T(A, {
|
|
3816
3816
|
"body-style": {
|
|
3817
3817
|
padding: "12px",
|
|
@@ -3824,7 +3824,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3824
3824
|
icon: ""
|
|
3825
3825
|
}, {
|
|
3826
3826
|
title: o(() => [P("span", null, z(e(a)("config.keys.sites")), 1)]),
|
|
3827
|
-
content: o(() => [l(
|
|
3827
|
+
content: o(() => [l(f, {
|
|
3828
3828
|
alignment: "center",
|
|
3829
3829
|
style: {
|
|
3830
3830
|
height: "32px"
|
|
@@ -3842,14 +3842,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3842
3842
|
onOpen: e(u),
|
|
3843
3843
|
icon: "icon-compass"
|
|
3844
3844
|
}, null, 8, ["onOpen"]), l(e(j), {
|
|
3845
|
-
onOpen: e(
|
|
3845
|
+
onOpen: e(V),
|
|
3846
3846
|
icon: "icon-safetycertificate-f"
|
|
3847
3847
|
}, null, 8, ["onOpen"])]),
|
|
3848
3848
|
_: 1
|
|
3849
3849
|
})]),
|
|
3850
3850
|
default: o(() => [l(e(de), {
|
|
3851
3851
|
ref_key: "tableRef",
|
|
3852
|
-
ref:
|
|
3852
|
+
ref: b,
|
|
3853
3853
|
size: "small",
|
|
3854
3854
|
"row-key": "id",
|
|
3855
3855
|
url: e(ue).urls[e(Xe)],
|
|
@@ -3857,17 +3857,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3857
3857
|
columns: x
|
|
3858
3858
|
}, null, 8, ["url"]), l(Rl, {
|
|
3859
3859
|
ref_key: "formModalRef",
|
|
3860
|
-
ref:
|
|
3860
|
+
ref: _,
|
|
3861
3861
|
onRefresh: e(i)
|
|
3862
3862
|
}, null, 8, ["onRefresh"]), l(Ll, {
|
|
3863
3863
|
ref_key: "domainTableDrawerRef",
|
|
3864
3864
|
ref: v
|
|
3865
3865
|
}, null, 512), l(ql, {
|
|
3866
3866
|
ref_key: "sslTableDrawerRef",
|
|
3867
|
-
ref:
|
|
3867
|
+
ref: c
|
|
3868
3868
|
}, null, 512), l(Tl, {
|
|
3869
3869
|
ref_key: "sslLogTableDrawerRef",
|
|
3870
|
-
ref:
|
|
3870
|
+
ref: g
|
|
3871
3871
|
}, null, 512)]),
|
|
3872
3872
|
_: 1
|
|
3873
3873
|
});
|
|
@@ -3902,32 +3902,32 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3902
3902
|
align: "left",
|
|
3903
3903
|
width: 200
|
|
3904
3904
|
}], {
|
|
3905
|
-
requesting:
|
|
3905
|
+
requesting: h
|
|
3906
3906
|
} = F(pe), {
|
|
3907
|
-
tableRef:
|
|
3908
|
-
keyword:
|
|
3907
|
+
tableRef: b,
|
|
3908
|
+
keyword: _,
|
|
3909
3909
|
search: m,
|
|
3910
3910
|
reset: i
|
|
3911
3911
|
} = E(R);
|
|
3912
3912
|
return (p, t) => {
|
|
3913
|
-
const v = s("el-date-picker"), u = s("el-space"),
|
|
3914
|
-
return S(), T(
|
|
3913
|
+
const v = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
3914
|
+
return S(), T(V, {
|
|
3915
3915
|
class: "basic-card flex-full",
|
|
3916
3916
|
"body-class": "flex-1"
|
|
3917
3917
|
}, {
|
|
3918
|
-
header: o(() => [l(
|
|
3918
|
+
header: o(() => [l(c, {
|
|
3919
3919
|
class: "basic-header"
|
|
3920
3920
|
}, {
|
|
3921
3921
|
title: o(() => [l(e(K), {
|
|
3922
|
-
loading: e(
|
|
3922
|
+
loading: e(h),
|
|
3923
3923
|
onRefresh: e(i)
|
|
3924
3924
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
3925
3925
|
content: o(() => [l(u, {
|
|
3926
3926
|
class: "search-bar"
|
|
3927
3927
|
}, {
|
|
3928
3928
|
default: o(() => [l(v, {
|
|
3929
|
-
modelValue: e(
|
|
3930
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
3929
|
+
modelValue: e(_).dates,
|
|
3930
|
+
"onUpdate:modelValue": t[0] || (t[0] = (g) => e(_).dates = g),
|
|
3931
3931
|
class: "basic-search-datetimerange",
|
|
3932
3932
|
"value-format": e($).DATE_VALUE_FORMAT,
|
|
3933
3933
|
format: e($).DATE_SHOW_FORMAT,
|
|
@@ -3936,10 +3936,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3936
3936
|
"start-placeholder": e(a)("base.start_at"),
|
|
3937
3937
|
"end-placeholder": e(a)("base.end_at"),
|
|
3938
3938
|
clearable: !1,
|
|
3939
|
-
onChange: t[1] || (t[1] = (
|
|
3939
|
+
onChange: t[1] || (t[1] = (g) => e(m)())
|
|
3940
3940
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
3941
|
-
disabled: e(
|
|
3942
|
-
onSearch: t[2] || (t[2] = (
|
|
3941
|
+
disabled: e(h),
|
|
3942
|
+
onSearch: t[2] || (t[2] = (g) => e(m)())
|
|
3943
3943
|
}, null, 8, ["disabled"])]),
|
|
3944
3944
|
_: 1
|
|
3945
3945
|
})]),
|
|
@@ -3947,11 +3947,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3947
3947
|
})]),
|
|
3948
3948
|
default: o(() => [l(e(de), {
|
|
3949
3949
|
ref_key: "tableRef",
|
|
3950
|
-
ref:
|
|
3950
|
+
ref: b,
|
|
3951
3951
|
size: "small",
|
|
3952
3952
|
columns: k,
|
|
3953
3953
|
url: e(pe).urls.request,
|
|
3954
|
-
"search-param": e(
|
|
3954
|
+
"search-param": e(_),
|
|
3955
3955
|
"auto-search": ""
|
|
3956
3956
|
}, null, 8, ["url", "search-param"])]),
|
|
3957
3957
|
_: 1
|
|
@@ -3980,32 +3980,32 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3980
3980
|
align: "left",
|
|
3981
3981
|
width: 200
|
|
3982
3982
|
}], {
|
|
3983
|
-
requesting:
|
|
3983
|
+
requesting: h
|
|
3984
3984
|
} = F(pe), {
|
|
3985
|
-
tableRef:
|
|
3986
|
-
keyword:
|
|
3985
|
+
tableRef: b,
|
|
3986
|
+
keyword: _,
|
|
3987
3987
|
search: m,
|
|
3988
3988
|
reset: i
|
|
3989
3989
|
} = E(R);
|
|
3990
3990
|
return (p, t) => {
|
|
3991
|
-
const v = s("el-date-picker"), u = s("el-space"),
|
|
3992
|
-
return S(), T(
|
|
3991
|
+
const v = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
3992
|
+
return S(), T(V, {
|
|
3993
3993
|
class: "basic-card flex-full",
|
|
3994
3994
|
"body-class": "flex-1"
|
|
3995
3995
|
}, {
|
|
3996
|
-
header: o(() => [l(
|
|
3996
|
+
header: o(() => [l(c, {
|
|
3997
3997
|
class: "basic-header"
|
|
3998
3998
|
}, {
|
|
3999
3999
|
title: o(() => [l(e(K), {
|
|
4000
|
-
loading: e(
|
|
4000
|
+
loading: e(h),
|
|
4001
4001
|
onRefresh: e(i)
|
|
4002
4002
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
4003
4003
|
content: o(() => [l(u, {
|
|
4004
4004
|
class: "search-bar"
|
|
4005
4005
|
}, {
|
|
4006
4006
|
default: o(() => [l(v, {
|
|
4007
|
-
modelValue: e(
|
|
4008
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4007
|
+
modelValue: e(_).dates,
|
|
4008
|
+
"onUpdate:modelValue": t[0] || (t[0] = (g) => e(_).dates = g),
|
|
4009
4009
|
class: "basic-search-daterange",
|
|
4010
4010
|
"value-format": e($).DATE_FORMAT,
|
|
4011
4011
|
format: e($).DATE_FORMAT,
|
|
@@ -4014,10 +4014,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4014
4014
|
"start-placeholder": e(a)("base.start_at"),
|
|
4015
4015
|
"end-placeholder": e(a)("base.end_at"),
|
|
4016
4016
|
clearable: !1,
|
|
4017
|
-
onChange: t[1] || (t[1] = (
|
|
4017
|
+
onChange: t[1] || (t[1] = (g) => e(m)())
|
|
4018
4018
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
4019
|
-
disabled: e(
|
|
4020
|
-
onSearch: t[2] || (t[2] = (
|
|
4019
|
+
disabled: e(h),
|
|
4020
|
+
onSearch: t[2] || (t[2] = (g) => e(m)())
|
|
4021
4021
|
}, null, 8, ["disabled"])]),
|
|
4022
4022
|
_: 1
|
|
4023
4023
|
})]),
|
|
@@ -4025,11 +4025,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4025
4025
|
})]),
|
|
4026
4026
|
default: o(() => [l(e(de), {
|
|
4027
4027
|
ref_key: "tableRef",
|
|
4028
|
-
ref:
|
|
4028
|
+
ref: b,
|
|
4029
4029
|
size: "small",
|
|
4030
4030
|
columns: k,
|
|
4031
4031
|
url: e(pe).urls.error,
|
|
4032
|
-
"search-param": e(
|
|
4032
|
+
"search-param": e(_),
|
|
4033
4033
|
"auto-search": ""
|
|
4034
4034
|
}, null, 8, ["url", "search-param"])]),
|
|
4035
4035
|
_: 1
|
|
@@ -4058,32 +4058,32 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4058
4058
|
align: "left",
|
|
4059
4059
|
width: 200
|
|
4060
4060
|
}], {
|
|
4061
|
-
requesting:
|
|
4061
|
+
requesting: h
|
|
4062
4062
|
} = F(pe), {
|
|
4063
|
-
tableRef:
|
|
4064
|
-
keyword:
|
|
4063
|
+
tableRef: b,
|
|
4064
|
+
keyword: _,
|
|
4065
4065
|
search: m,
|
|
4066
4066
|
reset: i
|
|
4067
4067
|
} = E(R);
|
|
4068
4068
|
return (p, t) => {
|
|
4069
|
-
const v = s("el-date-picker"), u = s("el-space"),
|
|
4070
|
-
return S(), T(
|
|
4069
|
+
const v = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
4070
|
+
return S(), T(V, {
|
|
4071
4071
|
class: "basic-card flex-full",
|
|
4072
4072
|
"body-class": "flex-1"
|
|
4073
4073
|
}, {
|
|
4074
|
-
header: o(() => [l(
|
|
4074
|
+
header: o(() => [l(c, {
|
|
4075
4075
|
class: "basic-header"
|
|
4076
4076
|
}, {
|
|
4077
4077
|
title: o(() => [l(e(K), {
|
|
4078
|
-
loading: e(
|
|
4078
|
+
loading: e(h),
|
|
4079
4079
|
onRefresh: e(i)
|
|
4080
4080
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
4081
4081
|
content: o(() => [l(u, {
|
|
4082
4082
|
class: "search-bar"
|
|
4083
4083
|
}, {
|
|
4084
4084
|
default: o(() => [l(v, {
|
|
4085
|
-
modelValue: e(
|
|
4086
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4085
|
+
modelValue: e(_).dates,
|
|
4086
|
+
"onUpdate:modelValue": t[0] || (t[0] = (g) => e(_).dates = g),
|
|
4087
4087
|
class: "basic-search-daterange",
|
|
4088
4088
|
"value-format": e($).DATE_FORMAT,
|
|
4089
4089
|
format: e($).DATE_FORMAT,
|
|
@@ -4092,10 +4092,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4092
4092
|
"start-placeholder": e(a)("base.start_at"),
|
|
4093
4093
|
"end-placeholder": e(a)("base.end_at"),
|
|
4094
4094
|
clearable: !1,
|
|
4095
|
-
onChange: t[1] || (t[1] = (
|
|
4095
|
+
onChange: t[1] || (t[1] = (g) => e(m)())
|
|
4096
4096
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
4097
|
-
disabled: e(
|
|
4098
|
-
onSearch: t[2] || (t[2] = (
|
|
4097
|
+
disabled: e(h),
|
|
4098
|
+
onSearch: t[2] || (t[2] = (g) => e(m)())
|
|
4099
4099
|
}, null, 8, ["disabled"])]),
|
|
4100
4100
|
_: 1
|
|
4101
4101
|
})]),
|
|
@@ -4103,11 +4103,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4103
4103
|
})]),
|
|
4104
4104
|
default: o(() => [l(e(de), {
|
|
4105
4105
|
ref_key: "tableRef",
|
|
4106
|
-
ref:
|
|
4106
|
+
ref: b,
|
|
4107
4107
|
size: "small",
|
|
4108
4108
|
columns: k,
|
|
4109
4109
|
url: e(pe).urls.sql,
|
|
4110
|
-
"search-param": e(
|
|
4110
|
+
"search-param": e(_),
|
|
4111
4111
|
"auto-search": ""
|
|
4112
4112
|
}, null, 8, ["url", "search-param"])]),
|
|
4113
4113
|
_: 1
|
|
@@ -4139,13 +4139,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4139
4139
|
setup(w, {
|
|
4140
4140
|
emit: R
|
|
4141
4141
|
}) {
|
|
4142
|
-
const k = R,
|
|
4143
|
-
requesting:
|
|
4142
|
+
const k = R, h = w, {
|
|
4143
|
+
requesting: b
|
|
4144
4144
|
} = F(W), {
|
|
4145
|
-
value:
|
|
4145
|
+
value: _,
|
|
4146
4146
|
options: m,
|
|
4147
4147
|
change: i
|
|
4148
|
-
} = te(oe(
|
|
4148
|
+
} = te(oe(h, "modelValue"), k, {
|
|
4149
4149
|
key: "LANGUAGE_SELECT",
|
|
4150
4150
|
url: W.urls.languages,
|
|
4151
4151
|
api: W,
|
|
@@ -4156,21 +4156,18 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4156
4156
|
})
|
|
4157
4157
|
});
|
|
4158
4158
|
return (p, t) => {
|
|
4159
|
-
const v = s("el-
|
|
4160
|
-
return S(), T(
|
|
4161
|
-
modelValue: e(
|
|
4162
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4163
|
-
disabled: e(
|
|
4159
|
+
const v = s("el-radio-button"), u = s("el-radio-group");
|
|
4160
|
+
return S(), T(u, {
|
|
4161
|
+
modelValue: e(_),
|
|
4162
|
+
"onUpdate:modelValue": t[0] || (t[0] = (c) => N(_) ? _.value = c : null),
|
|
4163
|
+
disabled: e(b),
|
|
4164
4164
|
onChange: e(i)
|
|
4165
4165
|
}, {
|
|
4166
|
-
default: o(() => [(S(!0), I(G, null, ee(e(m), (
|
|
4167
|
-
key:
|
|
4168
|
-
value:
|
|
4166
|
+
default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(v, {
|
|
4167
|
+
key: c.value,
|
|
4168
|
+
value: c.value
|
|
4169
4169
|
}, {
|
|
4170
|
-
default: o(() => [
|
|
4171
|
-
default: o(() => [P("span", null, z(_), 1)]),
|
|
4172
|
-
_: 2
|
|
4173
|
-
}, 1024)]),
|
|
4170
|
+
default: o(() => [P("span", null, z(c.label), 1)]),
|
|
4174
4171
|
_: 2
|
|
4175
4172
|
}, 1032, ["value"]))), 128))]),
|
|
4176
4173
|
_: 1
|