auto-vue-basic 0.0.87 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auto-vue-basic.es.js +297 -283
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/types/views/admin/index.vue.d.ts +56 -46
- package/dist/types/views/language/components/ModuleSelect.vue.d.ts +9 -0
- package/dist/types/views/language/form/template.vue.d.ts +56 -46
- package/dist/types/views/language/table/I18N.vue.d.ts +56 -46
- package/dist/types/views/log/error/index.vue.d.ts +49 -39
- package/dist/types/views/log/request/index.vue.d.ts +47 -41
- package/dist/types/views/log/sql/index.vue.d.ts +45 -37
- package/dist/types/views/menu/components/MenuSelect.vue.d.ts +9 -0
- package/dist/types/views/menu/components/TopMenuSelect.vue.d.ts +9 -0
- package/dist/types/views/menu/index.vue.d.ts +56 -46
- package/dist/types/views/role/index.vue.d.ts +56 -46
- package/dist/types/views/site/components/DomainProviderTableDrawer.vue.d.ts +45 -37
- package/dist/types/views/site/components/DomainTableDrawer.vue.d.ts +89 -73
- package/dist/types/views/site/components/SSLLogTableDrawer.vue.d.ts +56 -46
- package/dist/types/views/site/components/SSLTableDrawer.vue.d.ts +45 -37
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -8,7 +8,7 @@ const al = {
|
|
|
8
8
|
var ol = /* @__PURE__ */ O({
|
|
9
9
|
name: "Key",
|
|
10
10
|
__name: "key",
|
|
11
|
-
setup(
|
|
11
|
+
setup(v) {
|
|
12
12
|
return (R, k) => (S(), I("svg", {
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
viewBox: "0 0 1024 1024"
|
|
@@ -22,7 +22,7 @@ var ol = /* @__PURE__ */ O({
|
|
|
22
22
|
}), tl = ol, nl = /* @__PURE__ */ O({
|
|
23
23
|
name: "Search",
|
|
24
24
|
__name: "search",
|
|
25
|
-
setup(
|
|
25
|
+
setup(v) {
|
|
26
26
|
return (R, k) => (S(), I("svg", {
|
|
27
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
28
|
viewBox: "0 0 1024 1024"
|
|
@@ -44,14 +44,18 @@ const dl = /* @__PURE__ */ O({
|
|
|
44
44
|
multiple: {
|
|
45
45
|
type: Boolean,
|
|
46
46
|
default: !1
|
|
47
|
+
},
|
|
48
|
+
disabled: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: !1
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
emits: ["update:modelValue", "change"],
|
|
50
|
-
setup(
|
|
54
|
+
setup(v, {
|
|
51
55
|
emit: R
|
|
52
56
|
}) {
|
|
53
|
-
const k = R, h =
|
|
54
|
-
requesting:
|
|
57
|
+
const k = R, h = v, {
|
|
58
|
+
requesting: g
|
|
55
59
|
} = F(H), {
|
|
56
60
|
value: _,
|
|
57
61
|
options: m,
|
|
@@ -64,30 +68,30 @@ const dl = /* @__PURE__ */ O({
|
|
|
64
68
|
url: H.urls.tops,
|
|
65
69
|
isArray: !0
|
|
66
70
|
});
|
|
67
|
-
return (
|
|
71
|
+
return (w, u) => {
|
|
68
72
|
const c = s("el-space"), V = s("el-select-v2");
|
|
69
73
|
return S(), T(V, {
|
|
70
74
|
class: "w-full",
|
|
71
75
|
modelValue: e(_),
|
|
72
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
76
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
73
77
|
options: e(m),
|
|
74
|
-
multiple:
|
|
75
|
-
disabled: e(
|
|
78
|
+
multiple: v.multiple,
|
|
79
|
+
disabled: e(g) || v.disabled,
|
|
76
80
|
placeholder: e(a)("placeholder.select"),
|
|
77
81
|
filterable: "",
|
|
78
82
|
filterOptions: e(t),
|
|
79
83
|
onChange: e(i)
|
|
80
84
|
}, {
|
|
81
85
|
prefix: o(() => [l(e(me), {
|
|
82
|
-
loading: e(
|
|
83
|
-
onRefresh: u[0] || (u[0] = (
|
|
86
|
+
loading: e(g),
|
|
87
|
+
onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
|
|
84
88
|
}, null, 8, ["loading"])]),
|
|
85
89
|
default: o(({
|
|
86
|
-
item:
|
|
90
|
+
item: b
|
|
87
91
|
}) => [l(c, null, {
|
|
88
92
|
default: o(() => [P("i", {
|
|
89
|
-
class: we(`icon iconfont ${
|
|
90
|
-
}, null, 2), P("span", null, z(
|
|
93
|
+
class: we(`icon iconfont ${b.icon}`)
|
|
94
|
+
}, null, 2), P("span", null, z(b.translate), 1)]),
|
|
91
95
|
_: 2
|
|
92
96
|
}, 1024)]),
|
|
93
97
|
_: 1
|
|
@@ -97,8 +101,8 @@ const dl = /* @__PURE__ */ O({
|
|
|
97
101
|
}), sl = /* @__PURE__ */ O({
|
|
98
102
|
__name: "MenuFormModal",
|
|
99
103
|
emits: ["refresh"],
|
|
100
|
-
setup(
|
|
101
|
-
const h = k,
|
|
104
|
+
setup(v, { expose: R, emit: k }) {
|
|
105
|
+
const h = k, g = {
|
|
102
106
|
id: 0,
|
|
103
107
|
menu_id: 0,
|
|
104
108
|
module: "",
|
|
@@ -163,7 +167,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
163
167
|
trigger: "blur"
|
|
164
168
|
}
|
|
165
169
|
]
|
|
166
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
170
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, H);
|
|
167
171
|
return R({
|
|
168
172
|
open: c,
|
|
169
173
|
modify: V
|
|
@@ -176,7 +180,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
176
180
|
width: "1000px",
|
|
177
181
|
executing: e(u),
|
|
178
182
|
onClosed: e(D),
|
|
179
|
-
onSubmit: e(
|
|
183
|
+
onSubmit: e(b)
|
|
180
184
|
}, {
|
|
181
185
|
default: o(() => [
|
|
182
186
|
l(q, {
|
|
@@ -185,7 +189,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
185
189
|
model: e(t),
|
|
186
190
|
"label-width": "auto",
|
|
187
191
|
rules: _,
|
|
188
|
-
disabled: e(
|
|
192
|
+
disabled: e(w) || e(u)
|
|
189
193
|
}, {
|
|
190
194
|
default: o(() => [
|
|
191
195
|
l(f, { gutter: 20 }, {
|
|
@@ -203,8 +207,9 @@ const dl = /* @__PURE__ */ O({
|
|
|
203
207
|
default: o(() => [
|
|
204
208
|
l(dl, {
|
|
205
209
|
modelValue: e(t).menu_id,
|
|
206
|
-
"onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).menu_id = M)
|
|
207
|
-
|
|
210
|
+
"onUpdate:modelValue": n[0] || (n[0] = (M) => e(t).menu_id = M),
|
|
211
|
+
disabled: e(u)
|
|
212
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
208
213
|
]),
|
|
209
214
|
_: 1
|
|
210
215
|
}, 8, ["label"])
|
|
@@ -481,14 +486,18 @@ const dl = /* @__PURE__ */ O({
|
|
|
481
486
|
multiple: {
|
|
482
487
|
type: Boolean,
|
|
483
488
|
default: !1
|
|
489
|
+
},
|
|
490
|
+
disabled: {
|
|
491
|
+
type: Boolean,
|
|
492
|
+
default: !1
|
|
484
493
|
}
|
|
485
494
|
},
|
|
486
495
|
emits: ["update:modelValue", "change"],
|
|
487
|
-
setup(
|
|
496
|
+
setup(v, {
|
|
488
497
|
emit: R
|
|
489
498
|
}) {
|
|
490
|
-
const k = R, h =
|
|
491
|
-
requesting:
|
|
499
|
+
const k = R, h = v, {
|
|
500
|
+
requesting: g
|
|
492
501
|
} = F(H), {
|
|
493
502
|
value: _,
|
|
494
503
|
options: m,
|
|
@@ -500,30 +509,30 @@ const dl = /* @__PURE__ */ O({
|
|
|
500
509
|
api: H,
|
|
501
510
|
isArray: !0
|
|
502
511
|
});
|
|
503
|
-
return (
|
|
512
|
+
return (w, u) => {
|
|
504
513
|
const c = s("el-space"), V = s("el-select-v2");
|
|
505
514
|
return S(), T(V, {
|
|
506
515
|
class: "w-full",
|
|
507
516
|
modelValue: e(_),
|
|
508
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
517
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
509
518
|
options: e(m),
|
|
510
|
-
multiple:
|
|
511
|
-
disabled: e(
|
|
519
|
+
multiple: v.multiple,
|
|
520
|
+
disabled: e(g) || v.disabled,
|
|
512
521
|
placeholder: e(a)("placeholder.select"),
|
|
513
522
|
filterable: "",
|
|
514
523
|
filterOptions: e(t),
|
|
515
524
|
onChange: e(i)
|
|
516
525
|
}, {
|
|
517
526
|
prefix: o(() => [l(e(me), {
|
|
518
|
-
loading: e(
|
|
519
|
-
onRefresh: u[0] || (u[0] = (
|
|
527
|
+
loading: e(g),
|
|
528
|
+
onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
|
|
520
529
|
}, null, 8, ["loading"])]),
|
|
521
530
|
default: o(({
|
|
522
|
-
item:
|
|
531
|
+
item: b
|
|
523
532
|
}) => [l(c, null, {
|
|
524
533
|
default: o(() => [P("i", {
|
|
525
|
-
class: we(`icon iconfont ${
|
|
526
|
-
}, null, 2), P("span", null, z(
|
|
534
|
+
class: we(`icon iconfont ${b.icon}`)
|
|
535
|
+
}, null, 2), P("span", null, z(b.translate), 1)]),
|
|
527
536
|
_: 2
|
|
528
537
|
}, 1024)]),
|
|
529
538
|
_: 1
|
|
@@ -533,8 +542,8 @@ const dl = /* @__PURE__ */ O({
|
|
|
533
542
|
}), il = /* @__PURE__ */ O({
|
|
534
543
|
__name: "MenuRuleFormModal",
|
|
535
544
|
emits: ["refresh"],
|
|
536
|
-
setup(
|
|
537
|
-
const h = k,
|
|
545
|
+
setup(v, { expose: R, emit: k }) {
|
|
546
|
+
const h = k, g = {
|
|
538
547
|
key: "",
|
|
539
548
|
menu_id: 0,
|
|
540
549
|
sort: 0,
|
|
@@ -580,7 +589,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
580
589
|
trigger: "blur"
|
|
581
590
|
}
|
|
582
591
|
]
|
|
583
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
592
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, Le);
|
|
584
593
|
return R({
|
|
585
594
|
open: c,
|
|
586
595
|
modify: V
|
|
@@ -593,7 +602,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
593
602
|
width: "1000px",
|
|
594
603
|
executing: e(u),
|
|
595
604
|
onClosed: e(D),
|
|
596
|
-
onSubmit: e(
|
|
605
|
+
onSubmit: e(b)
|
|
597
606
|
}, {
|
|
598
607
|
default: o(() => [
|
|
599
608
|
l(A, {
|
|
@@ -602,7 +611,7 @@ const dl = /* @__PURE__ */ O({
|
|
|
602
611
|
model: e(t),
|
|
603
612
|
"label-width": "auto",
|
|
604
613
|
rules: _,
|
|
605
|
-
disabled: e(
|
|
614
|
+
disabled: e(w) || e(u)
|
|
606
615
|
}, {
|
|
607
616
|
default: o(() => [
|
|
608
617
|
l(C, { gutter: 20 }, {
|
|
@@ -616,8 +625,9 @@ const dl = /* @__PURE__ */ O({
|
|
|
616
625
|
default: o(() => [
|
|
617
626
|
l(ul, {
|
|
618
627
|
modelValue: e(t).menu_id,
|
|
619
|
-
"onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q)
|
|
620
|
-
|
|
628
|
+
"onUpdate:modelValue": n[0] || (n[0] = (q) => e(t).menu_id = q),
|
|
629
|
+
disabled: e(u)
|
|
630
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
621
631
|
]),
|
|
622
632
|
_: 1
|
|
623
633
|
}, 8, ["label"]),
|
|
@@ -710,12 +720,12 @@ const dl = /* @__PURE__ */ O({
|
|
|
710
720
|
};
|
|
711
721
|
}
|
|
712
722
|
});
|
|
713
|
-
function Ae(
|
|
714
|
-
return typeof
|
|
723
|
+
function Ae(v) {
|
|
724
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !xe(v);
|
|
715
725
|
}
|
|
716
726
|
const jl = /* @__PURE__ */ O({
|
|
717
727
|
__name: "index",
|
|
718
|
-
setup(
|
|
728
|
+
setup(v) {
|
|
719
729
|
const R = {
|
|
720
730
|
keyword: "",
|
|
721
731
|
status: 0
|
|
@@ -846,19 +856,19 @@ const jl = /* @__PURE__ */ O({
|
|
|
846
856
|
}, null)
|
|
847
857
|
}
|
|
848
858
|
], {
|
|
849
|
-
requesting:
|
|
859
|
+
requesting: g
|
|
850
860
|
} = F(H), {
|
|
851
861
|
tableRef: _,
|
|
852
862
|
formModalRef: m,
|
|
853
863
|
keyword: i,
|
|
854
864
|
search: p,
|
|
855
865
|
refresh: t,
|
|
856
|
-
reset:
|
|
866
|
+
reset: w,
|
|
857
867
|
openFormModal: u,
|
|
858
868
|
editFormModal: c
|
|
859
869
|
} = E(R), {
|
|
860
870
|
formModalRef: V,
|
|
861
|
-
openFormModal:
|
|
871
|
+
openFormModal: b,
|
|
862
872
|
editFormModal: D
|
|
863
873
|
} = E(), x = (n) => {
|
|
864
874
|
Le[Ge]({
|
|
@@ -878,14 +888,14 @@ const jl = /* @__PURE__ */ O({
|
|
|
878
888
|
class: "basic-header"
|
|
879
889
|
}, {
|
|
880
890
|
title: o(() => [l(e(K), {
|
|
881
|
-
loading: e(
|
|
882
|
-
onRefresh: e(
|
|
891
|
+
loading: e(g),
|
|
892
|
+
onRefresh: e(w)
|
|
883
893
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
884
894
|
onOpen: e(u)
|
|
885
895
|
}, null, 8, ["onOpen"]), l(r, {
|
|
886
896
|
circle: "",
|
|
887
897
|
icon: e(tl),
|
|
888
|
-
onClick: e(
|
|
898
|
+
onClick: e(b)
|
|
889
899
|
}, null, 8, ["icon", "onClick"])]),
|
|
890
900
|
content: o(() => [l(A, {
|
|
891
901
|
class: "search-bar"
|
|
@@ -910,7 +920,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
910
920
|
}, null, 8, ["label", "value"])), 64))]),
|
|
911
921
|
_: 1
|
|
912
922
|
}, 8, ["modelValue"]), l(e(ne), {
|
|
913
|
-
disabled: e(
|
|
923
|
+
disabled: e(g),
|
|
914
924
|
onSearch: e(p)
|
|
915
925
|
}, null, 8, ["disabled", "onSearch"])]),
|
|
916
926
|
_: 1
|
|
@@ -920,7 +930,6 @@ const jl = /* @__PURE__ */ O({
|
|
|
920
930
|
default: o(() => [l(e(ce), {
|
|
921
931
|
ref_key: "tableRef",
|
|
922
932
|
ref: _,
|
|
923
|
-
size: "small",
|
|
924
933
|
columns: h,
|
|
925
934
|
url: e(H).urls[e(Ve)],
|
|
926
935
|
"search-param": e(i),
|
|
@@ -945,15 +954,15 @@ const jl = /* @__PURE__ */ O({
|
|
|
945
954
|
disabled: { type: Boolean, default: !1 }
|
|
946
955
|
},
|
|
947
956
|
emits: ["update:modelValue"],
|
|
948
|
-
setup(
|
|
949
|
-
const { requesting: h } = F(H),
|
|
957
|
+
setup(v, { expose: R, emit: k }) {
|
|
958
|
+
const { requesting: h } = F(H), g = v, _ = k, m = B(!1), i = Be({
|
|
950
959
|
checkAll: !1,
|
|
951
960
|
indeterminate: !1,
|
|
952
961
|
MenuAll: {},
|
|
953
962
|
MenuList: {},
|
|
954
963
|
MenuIndeterminate: {}
|
|
955
|
-
}), { options: p, refresh: t } = te(oe(
|
|
956
|
-
function
|
|
964
|
+
}), { options: p, refresh: t } = te(oe(g, "modelValue"), _, { key: "RULE_CHECK", api: H, url: H.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
965
|
+
function w() {
|
|
957
966
|
p.value.forEach((x) => {
|
|
958
967
|
var n;
|
|
959
968
|
(n = x.rules) != null && n.length && (i.MenuAll[x.id] = !1, i.MenuIndeterminate[x.id] = !1, i.MenuList[x.id] = []);
|
|
@@ -976,8 +985,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
976
985
|
i.MenuAll[x.id] = d === n && n > 0, i.MenuIndeterminate[x.id] = d > 0 && d < n;
|
|
977
986
|
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((x) => x.length > 0), _("update:modelValue", Object.values(i.MenuList).flat());
|
|
978
987
|
}
|
|
979
|
-
function
|
|
980
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {},
|
|
988
|
+
function b() {
|
|
989
|
+
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, w(), _("update:modelValue", []), m.value = !1;
|
|
981
990
|
}
|
|
982
991
|
function D(x) {
|
|
983
992
|
var n;
|
|
@@ -991,9 +1000,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
991
1000
|
}
|
|
992
1001
|
return Pe(async () => {
|
|
993
1002
|
var x;
|
|
994
|
-
(x = p.value) != null && x.length || await t(), !m.value &&
|
|
1003
|
+
(x = p.value) != null && x.length || await t(), !m.value && g.modelValue && D(g.modelValue);
|
|
995
1004
|
}), Re(
|
|
996
|
-
() =>
|
|
1005
|
+
() => g.modelValue,
|
|
997
1006
|
(x) => {
|
|
998
1007
|
je(() => {
|
|
999
1008
|
var n;
|
|
@@ -1003,7 +1012,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1003
1012
|
{ deep: !0, immediate: !0 }
|
|
1004
1013
|
), R({
|
|
1005
1014
|
generateOption: D,
|
|
1006
|
-
cleanChecked:
|
|
1015
|
+
cleanChecked: b
|
|
1007
1016
|
}), (x, n) => {
|
|
1008
1017
|
const d = s("el-checkbox"), r = s("el-space"), y = s("el-text"), f = s("el-divider"), C = s("el-checkbox-group");
|
|
1009
1018
|
return S(), I("div", pl, [
|
|
@@ -1013,7 +1022,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1013
1022
|
"model-value": i.checkAll,
|
|
1014
1023
|
indeterminate: i.indeterminate,
|
|
1015
1024
|
id: "all",
|
|
1016
|
-
disabled:
|
|
1025
|
+
disabled: v.disabled,
|
|
1017
1026
|
onChange: u
|
|
1018
1027
|
}, {
|
|
1019
1028
|
default: o(() => [...n[1] || (n[1] = [
|
|
@@ -1047,7 +1056,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1047
1056
|
l(d, {
|
|
1048
1057
|
style: { "min-width": "150px" },
|
|
1049
1058
|
"model-value": i.MenuAll[A.id],
|
|
1050
|
-
disabled:
|
|
1059
|
+
disabled: v.disabled || !A.rules || A.rules.length <= 0,
|
|
1051
1060
|
indeterminate: i.MenuIndeterminate[A.id],
|
|
1052
1061
|
onChange: (q) => c(q, A.id)
|
|
1053
1062
|
}, {
|
|
@@ -1066,7 +1075,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1066
1075
|
key: 0,
|
|
1067
1076
|
modelValue: i.MenuList[A.id],
|
|
1068
1077
|
"onUpdate:modelValue": (q) => i.MenuList[A.id] = q,
|
|
1069
|
-
disabled:
|
|
1078
|
+
disabled: v.disabled,
|
|
1070
1079
|
style: { margin: "auto" },
|
|
1071
1080
|
onChange: V
|
|
1072
1081
|
}, {
|
|
@@ -1093,16 +1102,16 @@ const jl = /* @__PURE__ */ O({
|
|
|
1093
1102
|
]);
|
|
1094
1103
|
};
|
|
1095
1104
|
}
|
|
1096
|
-
}), qe = (
|
|
1097
|
-
const k =
|
|
1098
|
-
for (const [h,
|
|
1099
|
-
k[h] =
|
|
1105
|
+
}), qe = (v, R) => {
|
|
1106
|
+
const k = v.__vccOpts || v;
|
|
1107
|
+
for (const [h, g] of R)
|
|
1108
|
+
k[h] = g;
|
|
1100
1109
|
return k;
|
|
1101
1110
|
}, fl = /* @__PURE__ */ qe(cl, [["__scopeId", "data-v-7adb5f76"]]), _l = /* @__PURE__ */ O({
|
|
1102
1111
|
__name: "RoleFormModal",
|
|
1103
1112
|
emits: ["refresh"],
|
|
1104
|
-
setup(
|
|
1105
|
-
const h = k,
|
|
1113
|
+
setup(v, { expose: R, emit: k }) {
|
|
1114
|
+
const h = k, g = B(), _ = {
|
|
1106
1115
|
key: "",
|
|
1107
1116
|
module: "",
|
|
1108
1117
|
sort: 0,
|
|
@@ -1125,13 +1134,13 @@ const jl = /* @__PURE__ */ O({
|
|
|
1125
1134
|
trigger: "blur"
|
|
1126
1135
|
}
|
|
1127
1136
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: t, formData:
|
|
1137
|
+
}, { modal: i, title: p, form: t, formData: w, requesting: u, executing: c, open: V, modify: b, submit: D, closed: x } = X(h, _, ke), n = () => {
|
|
1129
1138
|
var d;
|
|
1130
|
-
(d =
|
|
1139
|
+
(d = g.value) == null || d.cleanChecked(), x();
|
|
1131
1140
|
};
|
|
1132
1141
|
return R({
|
|
1133
1142
|
open: V,
|
|
1134
|
-
modify:
|
|
1143
|
+
modify: b
|
|
1135
1144
|
}), (d, r) => {
|
|
1136
1145
|
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
1146
|
return S(), T(e(le), {
|
|
@@ -1147,7 +1156,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1147
1156
|
l(M, {
|
|
1148
1157
|
ref_key: "form",
|
|
1149
1158
|
ref: t,
|
|
1150
|
-
model: e(
|
|
1159
|
+
model: e(w),
|
|
1151
1160
|
"label-width": "auto",
|
|
1152
1161
|
rules: m,
|
|
1153
1162
|
disabled: e(u) || e(c)
|
|
@@ -1163,8 +1172,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1163
1172
|
}, {
|
|
1164
1173
|
default: o(() => [
|
|
1165
1174
|
l(y, {
|
|
1166
|
-
modelValue: e(
|
|
1167
|
-
"onUpdate:modelValue": r[0] || (r[0] = (L) => e(
|
|
1175
|
+
modelValue: e(w).module,
|
|
1176
|
+
"onUpdate:modelValue": r[0] || (r[0] = (L) => e(w).module = L),
|
|
1168
1177
|
placeholder: e(a)("placeholder.input")
|
|
1169
1178
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1170
1179
|
]),
|
|
@@ -1182,8 +1191,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1182
1191
|
default: o(() => [
|
|
1183
1192
|
l(A, {
|
|
1184
1193
|
class: "w-full",
|
|
1185
|
-
modelValue: e(
|
|
1186
|
-
"onUpdate:modelValue": r[1] || (r[1] = (L) => e(
|
|
1194
|
+
modelValue: e(w).sort,
|
|
1195
|
+
"onUpdate:modelValue": r[1] || (r[1] = (L) => e(w).sort = L),
|
|
1187
1196
|
min: 0,
|
|
1188
1197
|
placeholder: e(a)("placeholder.input")
|
|
1189
1198
|
}, null, 8, ["modelValue", "placeholder"])
|
|
@@ -1202,8 +1211,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1202
1211
|
}, {
|
|
1203
1212
|
default: o(() => [
|
|
1204
1213
|
l(y, {
|
|
1205
|
-
modelValue: e(
|
|
1206
|
-
"onUpdate:modelValue": r[2] || (r[2] = (L) => e(
|
|
1214
|
+
modelValue: e(w).name,
|
|
1215
|
+
"onUpdate:modelValue": r[2] || (r[2] = (L) => e(w).name = L),
|
|
1207
1216
|
placeholder: e(a)("placeholder.input")
|
|
1208
1217
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1209
1218
|
]),
|
|
@@ -1215,8 +1224,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1215
1224
|
}, {
|
|
1216
1225
|
default: o(() => [
|
|
1217
1226
|
l(y, {
|
|
1218
|
-
modelValue: e(
|
|
1219
|
-
"onUpdate:modelValue": r[3] || (r[3] = (L) => e(
|
|
1227
|
+
modelValue: e(w).en_name,
|
|
1228
|
+
"onUpdate:modelValue": r[3] || (r[3] = (L) => e(w).en_name = L),
|
|
1220
1229
|
placeholder: e(a)("placeholder.input")
|
|
1221
1230
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1222
1231
|
]),
|
|
@@ -1228,8 +1237,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1228
1237
|
}, {
|
|
1229
1238
|
default: o(() => [
|
|
1230
1239
|
l(y, {
|
|
1231
|
-
modelValue: e(
|
|
1232
|
-
"onUpdate:modelValue": r[4] || (r[4] = (L) => e(
|
|
1240
|
+
modelValue: e(w).remark,
|
|
1241
|
+
"onUpdate:modelValue": r[4] || (r[4] = (L) => e(w).remark = L),
|
|
1233
1242
|
placeholder: e(a)("placeholder.input")
|
|
1234
1243
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1235
1244
|
]),
|
|
@@ -1242,9 +1251,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
1242
1251
|
default: o(() => [
|
|
1243
1252
|
l(fl, {
|
|
1244
1253
|
ref_key: "rulesCheck",
|
|
1245
|
-
ref:
|
|
1246
|
-
modelValue: e(
|
|
1247
|
-
"onUpdate:modelValue": r[5] || (r[5] = (L) => e(
|
|
1254
|
+
ref: g,
|
|
1255
|
+
modelValue: e(w).rules,
|
|
1256
|
+
"onUpdate:modelValue": r[5] || (r[5] = (L) => e(w).rules = L),
|
|
1248
1257
|
disabled: e(u) || e(c)
|
|
1249
1258
|
}, null, 8, ["modelValue", "disabled"])
|
|
1250
1259
|
]),
|
|
@@ -1260,7 +1269,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1260
1269
|
}
|
|
1261
1270
|
}), Kl = /* @__PURE__ */ O({
|
|
1262
1271
|
__name: "index",
|
|
1263
|
-
setup(
|
|
1272
|
+
setup(v) {
|
|
1264
1273
|
const R = {
|
|
1265
1274
|
keyword: ""
|
|
1266
1275
|
}, k = [
|
|
@@ -1307,17 +1316,17 @@ const jl = /* @__PURE__ */ O({
|
|
|
1307
1316
|
], {
|
|
1308
1317
|
requesting: h
|
|
1309
1318
|
} = F(ke), {
|
|
1310
|
-
tableRef:
|
|
1319
|
+
tableRef: g,
|
|
1311
1320
|
formModalRef: _,
|
|
1312
1321
|
keyword: m,
|
|
1313
1322
|
search: i,
|
|
1314
1323
|
reset: p,
|
|
1315
1324
|
refresh: t,
|
|
1316
|
-
openFormModal:
|
|
1325
|
+
openFormModal: w,
|
|
1317
1326
|
editFormModal: u
|
|
1318
1327
|
} = E(R);
|
|
1319
1328
|
return (c, V) => {
|
|
1320
|
-
const
|
|
1329
|
+
const b = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
1321
1330
|
return S(), T(n, {
|
|
1322
1331
|
class: "basic-card flex-full",
|
|
1323
1332
|
"body-class": "flex-1"
|
|
@@ -1329,12 +1338,12 @@ const jl = /* @__PURE__ */ O({
|
|
|
1329
1338
|
loading: e(h),
|
|
1330
1339
|
onRefresh: e(p)
|
|
1331
1340
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
1332
|
-
onOpen: e(
|
|
1341
|
+
onOpen: e(w)
|
|
1333
1342
|
}, null, 8, ["onOpen"])]),
|
|
1334
1343
|
content: o(() => [l(D, {
|
|
1335
1344
|
class: "search-bar"
|
|
1336
1345
|
}, {
|
|
1337
|
-
default: o(() => [l(
|
|
1346
|
+
default: o(() => [l(b, {
|
|
1338
1347
|
class: "basic-search-input",
|
|
1339
1348
|
modelValue: e(m).keyword,
|
|
1340
1349
|
"onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
|
|
@@ -1352,7 +1361,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1352
1361
|
})]),
|
|
1353
1362
|
default: o(() => [l(e(ce), {
|
|
1354
1363
|
ref_key: "tableRef",
|
|
1355
|
-
ref:
|
|
1364
|
+
ref: g,
|
|
1356
1365
|
columns: k,
|
|
1357
1366
|
url: e(ke).urls[e(Ve)],
|
|
1358
1367
|
"search-param": e(m),
|
|
@@ -1383,6 +1392,10 @@ const jl = /* @__PURE__ */ O({
|
|
|
1383
1392
|
type: Boolean,
|
|
1384
1393
|
default: !1
|
|
1385
1394
|
},
|
|
1395
|
+
disabled: {
|
|
1396
|
+
type: Boolean,
|
|
1397
|
+
default: !1
|
|
1398
|
+
},
|
|
1386
1399
|
allowCreate: {
|
|
1387
1400
|
type: Boolean,
|
|
1388
1401
|
default: !1
|
|
@@ -1393,11 +1406,11 @@ const jl = /* @__PURE__ */ O({
|
|
|
1393
1406
|
}
|
|
1394
1407
|
},
|
|
1395
1408
|
emits: ["update:modelValue", "update:value", "change"],
|
|
1396
|
-
setup(
|
|
1409
|
+
setup(v, {
|
|
1397
1410
|
emit: R
|
|
1398
1411
|
}) {
|
|
1399
|
-
const k = R, h =
|
|
1400
|
-
requesting:
|
|
1412
|
+
const k = R, h = v, {
|
|
1413
|
+
requesting: g
|
|
1401
1414
|
} = F(W), {
|
|
1402
1415
|
value: _,
|
|
1403
1416
|
options: m,
|
|
@@ -1410,31 +1423,31 @@ const jl = /* @__PURE__ */ O({
|
|
|
1410
1423
|
api: W,
|
|
1411
1424
|
isArray: !0
|
|
1412
1425
|
});
|
|
1413
|
-
return (
|
|
1426
|
+
return (w, u) => {
|
|
1414
1427
|
const c = s("el-space"), V = s("el-select-v2");
|
|
1415
1428
|
return S(), T(V, {
|
|
1416
1429
|
class: "w-full",
|
|
1417
1430
|
modelValue: e(_),
|
|
1418
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
1431
|
+
"onUpdate:modelValue": u[1] || (u[1] = (b) => N(_) ? _.value = b : null),
|
|
1419
1432
|
options: e(m),
|
|
1420
|
-
multiple:
|
|
1421
|
-
disabled: e(
|
|
1422
|
-
clearable:
|
|
1433
|
+
multiple: v.multiple,
|
|
1434
|
+
disabled: e(g) || v.disabled,
|
|
1435
|
+
clearable: v.clearable,
|
|
1423
1436
|
filterable: "",
|
|
1424
|
-
"allow-create":
|
|
1437
|
+
"allow-create": v.allowCreate,
|
|
1425
1438
|
"default-first-option": "",
|
|
1426
1439
|
placeholder: e(a)("placeholder.select"),
|
|
1427
1440
|
filterOptions: e(t),
|
|
1428
1441
|
onChange: e(i)
|
|
1429
1442
|
}, {
|
|
1430
1443
|
prefix: o(() => [l(e(me), {
|
|
1431
|
-
loading: e(
|
|
1432
|
-
onRefresh: u[0] || (u[0] = (
|
|
1444
|
+
loading: e(g),
|
|
1445
|
+
onRefresh: u[0] || (u[0] = (b) => e(p)(!0))
|
|
1433
1446
|
}, null, 8, ["loading"])]),
|
|
1434
1447
|
default: o(({
|
|
1435
|
-
item:
|
|
1448
|
+
item: b
|
|
1436
1449
|
}) => [l(c, null, {
|
|
1437
|
-
default: o(() => [P("span", null, z(
|
|
1450
|
+
default: o(() => [P("span", null, z(b.value), 1)]),
|
|
1438
1451
|
_: 2
|
|
1439
1452
|
}, 1024)]),
|
|
1440
1453
|
_: 1
|
|
@@ -1444,8 +1457,8 @@ const jl = /* @__PURE__ */ O({
|
|
|
1444
1457
|
}), bl = /* @__PURE__ */ O({
|
|
1445
1458
|
__name: "I18N",
|
|
1446
1459
|
emits: ["refresh"],
|
|
1447
|
-
setup(
|
|
1448
|
-
const h = k,
|
|
1460
|
+
setup(v, { expose: R, emit: k }) {
|
|
1461
|
+
const h = k, g = {
|
|
1449
1462
|
uuid: "",
|
|
1450
1463
|
key: "",
|
|
1451
1464
|
module: void 0,
|
|
@@ -1489,7 +1502,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1489
1502
|
});
|
|
1490
1503
|
}
|
|
1491
1504
|
p();
|
|
1492
|
-
const { modal: t, title:
|
|
1505
|
+
const { modal: t, title: w, form: u, formData: c, requesting: V, executing: b, open: D, modify: x, submit: n, closed: d } = X(h, g, W);
|
|
1493
1506
|
return R({
|
|
1494
1507
|
open: D,
|
|
1495
1508
|
modify: x
|
|
@@ -1498,9 +1511,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
1498
1511
|
return S(), T(e(le), {
|
|
1499
1512
|
modelValue: e(t),
|
|
1500
1513
|
"onUpdate:modelValue": y[3] || (y[3] = (M) => N(t) ? t.value = M : null),
|
|
1501
|
-
title: e(
|
|
1514
|
+
title: e(w)(),
|
|
1502
1515
|
width: "600px",
|
|
1503
|
-
executing: e(
|
|
1516
|
+
executing: e(b),
|
|
1504
1517
|
onClosed: e(d),
|
|
1505
1518
|
onSubmit: e(n)
|
|
1506
1519
|
}, {
|
|
@@ -1511,7 +1524,7 @@ const jl = /* @__PURE__ */ O({
|
|
|
1511
1524
|
model: e(c),
|
|
1512
1525
|
"label-width": "auto",
|
|
1513
1526
|
rules: _,
|
|
1514
|
-
disabled: e(V) || e(
|
|
1527
|
+
disabled: e(V) || e(b)
|
|
1515
1528
|
}, {
|
|
1516
1529
|
default: o(() => [
|
|
1517
1530
|
l(f, {
|
|
@@ -1523,8 +1536,9 @@ const jl = /* @__PURE__ */ O({
|
|
|
1523
1536
|
l(Te, {
|
|
1524
1537
|
modelValue: e(c).module,
|
|
1525
1538
|
"onUpdate:modelValue": y[0] || (y[0] = (M) => e(c).module = M),
|
|
1539
|
+
disabled: e(b),
|
|
1526
1540
|
"allow-create": ""
|
|
1527
|
-
}, null, 8, ["modelValue"])
|
|
1541
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
1528
1542
|
]),
|
|
1529
1543
|
_: 1
|
|
1530
1544
|
}, 8, ["label"]),
|
|
@@ -1594,17 +1608,17 @@ const jl = /* @__PURE__ */ O({
|
|
|
1594
1608
|
};
|
|
1595
1609
|
}
|
|
1596
1610
|
});
|
|
1597
|
-
function gl(
|
|
1598
|
-
return typeof
|
|
1611
|
+
function gl(v) {
|
|
1612
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !xe(v);
|
|
1599
1613
|
}
|
|
1600
1614
|
const Oe = /* @__PURE__ */ O({
|
|
1601
1615
|
__name: "I18N",
|
|
1602
1616
|
emits: ["closed", "choosed"],
|
|
1603
|
-
setup(
|
|
1617
|
+
setup(v, {
|
|
1604
1618
|
expose: R,
|
|
1605
1619
|
emit: k
|
|
1606
1620
|
}) {
|
|
1607
|
-
const h = B(!1),
|
|
1621
|
+
const h = B(!1), g = k, _ = {
|
|
1608
1622
|
keyword: "",
|
|
1609
1623
|
module: void 0,
|
|
1610
1624
|
status: 0
|
|
@@ -1665,11 +1679,11 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1665
1679
|
executing: p
|
|
1666
1680
|
} = F(W), {
|
|
1667
1681
|
tableRef: t,
|
|
1668
|
-
formModalRef:
|
|
1682
|
+
formModalRef: w,
|
|
1669
1683
|
keyword: u,
|
|
1670
1684
|
search: c,
|
|
1671
1685
|
reset: V,
|
|
1672
|
-
refresh:
|
|
1686
|
+
refresh: b,
|
|
1673
1687
|
openFormModal: D,
|
|
1674
1688
|
editFormModal: x
|
|
1675
1689
|
} = E(_);
|
|
@@ -1677,17 +1691,17 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1677
1691
|
return W.remove({
|
|
1678
1692
|
uuid: y
|
|
1679
1693
|
}).finally(() => {
|
|
1680
|
-
|
|
1694
|
+
b();
|
|
1681
1695
|
});
|
|
1682
1696
|
}
|
|
1683
1697
|
const d = () => {
|
|
1684
1698
|
h.value = !0;
|
|
1685
1699
|
};
|
|
1686
1700
|
function r(y) {
|
|
1687
|
-
|
|
1701
|
+
g("choosed", y);
|
|
1688
1702
|
}
|
|
1689
1703
|
return Re(() => h.value, (y) => {
|
|
1690
|
-
y ||
|
|
1704
|
+
y || g("closed");
|
|
1691
1705
|
}), R({
|
|
1692
1706
|
open: d
|
|
1693
1707
|
}), (y, f) => {
|
|
@@ -1761,8 +1775,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1761
1775
|
"auto-search": ""
|
|
1762
1776
|
}, null, 8, ["url", "search-param"]), l(bl, {
|
|
1763
1777
|
ref_key: "formModalRef",
|
|
1764
|
-
ref:
|
|
1765
|
-
onRefresh: e(
|
|
1778
|
+
ref: w,
|
|
1779
|
+
onRefresh: e(b)
|
|
1766
1780
|
}, null, 8, ["onRefresh"])]),
|
|
1767
1781
|
_: 1
|
|
1768
1782
|
}, 8, ["modelValue"]);
|
|
@@ -1771,8 +1785,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1771
1785
|
}), hl = { key: 0 }, Vl = { key: 1 }, yl = /* @__PURE__ */ O({
|
|
1772
1786
|
__name: "template",
|
|
1773
1787
|
emits: ["refresh"],
|
|
1774
|
-
setup(
|
|
1775
|
-
const { formModalRef: h, openFormModal:
|
|
1788
|
+
setup(v, { expose: R, emit: k }) {
|
|
1789
|
+
const { formModalRef: h, openFormModal: g } = E(), _ = k, m = B("600px"), i = B({
|
|
1776
1790
|
"zh-CN": "primary",
|
|
1777
1791
|
"en-US": "success"
|
|
1778
1792
|
}), p = B({}), t = {
|
|
@@ -1781,7 +1795,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1781
1795
|
keys: "",
|
|
1782
1796
|
values: [],
|
|
1783
1797
|
remark: ""
|
|
1784
|
-
},
|
|
1798
|
+
}, w = {
|
|
1785
1799
|
app: [
|
|
1786
1800
|
{
|
|
1787
1801
|
required: !0,
|
|
@@ -1803,16 +1817,16 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1803
1817
|
trigger: "change"
|
|
1804
1818
|
}
|
|
1805
1819
|
]
|
|
1806
|
-
}, { modal: u, title: c, form: V, formData:
|
|
1820
|
+
}, { modal: u, title: c, form: V, formData: b, requesting: D, executing: x, open: n, modify: d, submit: r, closed: y } = X(_, t, re);
|
|
1807
1821
|
function f() {
|
|
1808
|
-
m.value = "1080px",
|
|
1822
|
+
m.value = "1080px", g();
|
|
1809
1823
|
}
|
|
1810
1824
|
function C() {
|
|
1811
1825
|
m.value = "600px";
|
|
1812
1826
|
}
|
|
1813
1827
|
function A(L) {
|
|
1814
1828
|
let U = L.module.toLowerCase() + "." + L.key.toLowerCase();
|
|
1815
|
-
|
|
1829
|
+
b.keys = U, b.values.push(U);
|
|
1816
1830
|
for (const se in L.language)
|
|
1817
1831
|
p.value[se] || (p.value[se] = []), p.value[se].push(L.language[se]);
|
|
1818
1832
|
}
|
|
@@ -1820,7 +1834,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1820
1834
|
m.value = "600px", M();
|
|
1821
1835
|
}
|
|
1822
1836
|
function M() {
|
|
1823
|
-
|
|
1837
|
+
b.keys = "", b.values = [], p.value = {
|
|
1824
1838
|
"zh-CN": [],
|
|
1825
1839
|
"en-US": []
|
|
1826
1840
|
};
|
|
@@ -1869,9 +1883,9 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1869
1883
|
l(Ne, {
|
|
1870
1884
|
ref_key: "form",
|
|
1871
1885
|
ref: V,
|
|
1872
|
-
model: e(
|
|
1886
|
+
model: e(b),
|
|
1873
1887
|
"label-width": "auto",
|
|
1874
|
-
rules:
|
|
1888
|
+
rules: w,
|
|
1875
1889
|
disabled: e(D) || e(x)
|
|
1876
1890
|
}, {
|
|
1877
1891
|
default: o(() => [
|
|
@@ -1882,8 +1896,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1882
1896
|
}, {
|
|
1883
1897
|
default: o(() => [
|
|
1884
1898
|
l(e(Se), {
|
|
1885
|
-
modelValue: e(
|
|
1886
|
-
"onUpdate:modelValue": U[0] || (U[0] = (J) => e(
|
|
1899
|
+
modelValue: e(b).app,
|
|
1900
|
+
"onUpdate:modelValue": U[0] || (U[0] = (J) => e(b).app = J),
|
|
1887
1901
|
"cache-key": "I18NAPPS",
|
|
1888
1902
|
hidden: [0],
|
|
1889
1903
|
url: e(re).urls.apps
|
|
@@ -1898,8 +1912,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1898
1912
|
}, {
|
|
1899
1913
|
default: o(() => [
|
|
1900
1914
|
l(Me, {
|
|
1901
|
-
modelValue: e(
|
|
1902
|
-
"onUpdate:modelValue": U[1] || (U[1] = (J) => e(
|
|
1915
|
+
modelValue: e(b).keys,
|
|
1916
|
+
"onUpdate:modelValue": U[1] || (U[1] = (J) => e(b).keys = J),
|
|
1903
1917
|
placeholder: e(a)("i18n.placeholder.key")
|
|
1904
1918
|
}, {
|
|
1905
1919
|
append: o(() => [
|
|
@@ -1919,7 +1933,7 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1919
1933
|
required: ""
|
|
1920
1934
|
}, {
|
|
1921
1935
|
default: o(() => [
|
|
1922
|
-
Z(z(e(
|
|
1936
|
+
Z(z(e(b).values.join(":")), 1)
|
|
1923
1937
|
]),
|
|
1924
1938
|
_: 1
|
|
1925
1939
|
}, 8, ["label"]),
|
|
@@ -1956,8 +1970,8 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1956
1970
|
}, {
|
|
1957
1971
|
default: o(() => [
|
|
1958
1972
|
l(Me, {
|
|
1959
|
-
modelValue: e(
|
|
1960
|
-
"onUpdate:modelValue": U[2] || (U[2] = (J) => e(
|
|
1973
|
+
modelValue: e(b).remark,
|
|
1974
|
+
"onUpdate:modelValue": U[2] || (U[2] = (J) => e(b).remark = J),
|
|
1961
1975
|
placeholder: e(a)("placeholder.input")
|
|
1962
1976
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1963
1977
|
]),
|
|
@@ -1980,12 +1994,12 @@ const Oe = /* @__PURE__ */ O({
|
|
|
1980
1994
|
}), kl = Y.routineApi("gateway", "id", {
|
|
1981
1995
|
gen: "gen_translation"
|
|
1982
1996
|
});
|
|
1983
|
-
function vl(
|
|
1984
|
-
return typeof
|
|
1997
|
+
function vl(v) {
|
|
1998
|
+
return typeof v == "function" || Object.prototype.toString.call(v) === "[object Object]" && !xe(v);
|
|
1985
1999
|
}
|
|
1986
2000
|
const Wl = /* @__PURE__ */ O({
|
|
1987
2001
|
__name: "index",
|
|
1988
|
-
setup(
|
|
2002
|
+
setup(v) {
|
|
1989
2003
|
const R = {
|
|
1990
2004
|
keyword: "",
|
|
1991
2005
|
app: 0,
|
|
@@ -2046,21 +2060,21 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2046
2060
|
}) => l(s("el-space"), null, {
|
|
2047
2061
|
default: () => [l(ae, {
|
|
2048
2062
|
size: "default",
|
|
2049
|
-
disabled:
|
|
2050
|
-
onModify: () =>
|
|
2063
|
+
disabled: g.value,
|
|
2064
|
+
onModify: () => b({
|
|
2051
2065
|
uuid: d.uuid
|
|
2052
2066
|
})
|
|
2053
2067
|
}, null), l(Q, {
|
|
2054
2068
|
size: "default",
|
|
2055
2069
|
text: !0,
|
|
2056
2070
|
type: "danger",
|
|
2057
|
-
loading:
|
|
2071
|
+
loading: g.value,
|
|
2058
2072
|
onClick: () => D(d.uuid)
|
|
2059
2073
|
}, null)]
|
|
2060
2074
|
})
|
|
2061
2075
|
}], {
|
|
2062
2076
|
requesting: h,
|
|
2063
|
-
executing:
|
|
2077
|
+
executing: g
|
|
2064
2078
|
} = F(re), {
|
|
2065
2079
|
formModalRef: _,
|
|
2066
2080
|
openFormModal: m
|
|
@@ -2068,11 +2082,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2068
2082
|
tableRef: i,
|
|
2069
2083
|
formModalRef: p,
|
|
2070
2084
|
keyword: t,
|
|
2071
|
-
search:
|
|
2085
|
+
search: w,
|
|
2072
2086
|
reset: u,
|
|
2073
2087
|
refresh: c,
|
|
2074
2088
|
openFormModal: V,
|
|
2075
|
-
editFormModal:
|
|
2089
|
+
editFormModal: b
|
|
2076
2090
|
} = E(R);
|
|
2077
2091
|
function D(d) {
|
|
2078
2092
|
return re.remove({
|
|
@@ -2113,23 +2127,23 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2113
2127
|
class: "basic-search-input",
|
|
2114
2128
|
modelValue: e(t).keyword,
|
|
2115
2129
|
"onUpdate:modelValue": r[0] || (r[0] = (U) => e(t).keyword = U),
|
|
2116
|
-
disabled: e(h) || e(
|
|
2130
|
+
disabled: e(h) || e(g),
|
|
2117
2131
|
placeholder: e(a)("placeholder.keyword"),
|
|
2118
2132
|
clearable: "",
|
|
2119
|
-
onKeyup: r[1] || (r[1] = he((U) => e(
|
|
2120
|
-
onClear: r[2] || (r[2] = (U) => e(
|
|
2133
|
+
onKeyup: r[1] || (r[1] = he((U) => e(w)(), ["enter"])),
|
|
2134
|
+
onClear: r[2] || (r[2] = (U) => e(w)())
|
|
2121
2135
|
}, null, 8, ["modelValue", "disabled", "placeholder"]), l(e(Se), {
|
|
2122
2136
|
modelValue: e(t).app,
|
|
2123
2137
|
"onUpdate:modelValue": r[3] || (r[3] = (U) => e(t).app = U),
|
|
2124
2138
|
"cache-key": "I18NAPPS",
|
|
2125
|
-
disabled: e(h) || e(
|
|
2139
|
+
disabled: e(h) || e(g),
|
|
2126
2140
|
url: e(re).urls.apps,
|
|
2127
|
-
onChange: r[4] || (r[4] = (U) => e(
|
|
2141
|
+
onChange: r[4] || (r[4] = (U) => e(w)())
|
|
2128
2142
|
}, null, 8, ["modelValue", "disabled", "url"]), l(C, {
|
|
2129
2143
|
modelValue: e(t).status,
|
|
2130
2144
|
"onUpdate:modelValue": r[5] || (r[5] = (U) => e(t).status = U),
|
|
2131
|
-
disabled: e(h) || e(
|
|
2132
|
-
onChange: r[6] || (r[6] = (U) => e(
|
|
2145
|
+
disabled: e(h) || e(g),
|
|
2146
|
+
onChange: r[6] || (r[6] = (U) => e(w)())
|
|
2133
2147
|
}, {
|
|
2134
2148
|
default: o(() => [(S(), I(G, null, ee([0, 1, 2], (U) => l(f, {
|
|
2135
2149
|
key: U,
|
|
@@ -2138,8 +2152,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2138
2152
|
}, null, 8, ["label", "value"])), 64))]),
|
|
2139
2153
|
_: 1
|
|
2140
2154
|
}, 8, ["modelValue", "disabled"]), l(e(ne), {
|
|
2141
|
-
disabled: e(h) || e(
|
|
2142
|
-
onSearch: r[7] || (r[7] = (U) => e(
|
|
2155
|
+
disabled: e(h) || e(g),
|
|
2156
|
+
onSearch: r[7] || (r[7] = (U) => e(w)())
|
|
2143
2157
|
}, null, 8, ["disabled"])]),
|
|
2144
2158
|
_: 1
|
|
2145
2159
|
})]),
|
|
@@ -2148,14 +2162,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2148
2162
|
type: "warning",
|
|
2149
2163
|
icon: "icon-cloud-upload",
|
|
2150
2164
|
plain: !1,
|
|
2151
|
-
loading: e(
|
|
2165
|
+
loading: e(g),
|
|
2152
2166
|
onClick: x
|
|
2153
2167
|
}, null, 8, ["loading"]), l(e(Q), {
|
|
2154
2168
|
size: "default",
|
|
2155
2169
|
type: "danger",
|
|
2156
2170
|
icon: "icon-translate",
|
|
2157
2171
|
plain: !1,
|
|
2158
|
-
loading: e(
|
|
2172
|
+
loading: e(g),
|
|
2159
2173
|
onClick: n
|
|
2160
2174
|
}, null, 8, ["loading"]), l(q, {
|
|
2161
2175
|
direction: "vertical"
|
|
@@ -2188,8 +2202,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2188
2202
|
}), ve = Y.routineApi("admin", "key"), wl = /* @__PURE__ */ O({
|
|
2189
2203
|
__name: "AdminFormModal",
|
|
2190
2204
|
emits: ["refresh"],
|
|
2191
|
-
setup(
|
|
2192
|
-
const h = k,
|
|
2205
|
+
setup(v, { expose: R, emit: k }) {
|
|
2206
|
+
const h = k, g = {
|
|
2193
2207
|
key: "",
|
|
2194
2208
|
username: "",
|
|
2195
2209
|
password: "",
|
|
@@ -2198,7 +2212,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2198
2212
|
language: "zh-CN",
|
|
2199
2213
|
remark: "",
|
|
2200
2214
|
roles: []
|
|
2201
|
-
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing:
|
|
2215
|
+
}, { modal: _, title: m, form: i, formData: p, requesting: t, executing: w, open: u, modify: c, submit: V, closed: b } = X(h, g, ve), D = {
|
|
2202
2216
|
username: [
|
|
2203
2217
|
{
|
|
2204
2218
|
required: !0,
|
|
@@ -2259,8 +2273,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2259
2273
|
"onUpdate:modelValue": r[7] || (r[7] = (U) => N(_) ? _.value = U : null),
|
|
2260
2274
|
title: e(m)(),
|
|
2261
2275
|
width: "600px",
|
|
2262
|
-
executing: e(
|
|
2263
|
-
onClosed: e(
|
|
2276
|
+
executing: e(w),
|
|
2277
|
+
onClosed: e(b),
|
|
2264
2278
|
onSubmit: e(V)
|
|
2265
2279
|
}, {
|
|
2266
2280
|
default: o(() => [
|
|
@@ -2270,7 +2284,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2270
2284
|
model: e(p),
|
|
2271
2285
|
"label-width": "auto",
|
|
2272
2286
|
rules: D,
|
|
2273
|
-
disabled: e(t) || e(
|
|
2287
|
+
disabled: e(t) || e(w)
|
|
2274
2288
|
}, {
|
|
2275
2289
|
default: o(() => [
|
|
2276
2290
|
l(f, {
|
|
@@ -2406,7 +2420,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2406
2420
|
}
|
|
2407
2421
|
}), Gl = /* @__PURE__ */ O({
|
|
2408
2422
|
__name: "index",
|
|
2409
|
-
setup(
|
|
2423
|
+
setup(v) {
|
|
2410
2424
|
const R = {
|
|
2411
2425
|
keyword: ""
|
|
2412
2426
|
}, k = [{
|
|
@@ -2465,17 +2479,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2465
2479
|
}], {
|
|
2466
2480
|
requesting: h
|
|
2467
2481
|
} = F(ve), {
|
|
2468
|
-
tableRef:
|
|
2482
|
+
tableRef: g,
|
|
2469
2483
|
formModalRef: _,
|
|
2470
2484
|
keyword: m,
|
|
2471
2485
|
search: i,
|
|
2472
2486
|
reset: p,
|
|
2473
2487
|
refresh: t,
|
|
2474
|
-
openFormModal:
|
|
2488
|
+
openFormModal: w,
|
|
2475
2489
|
editFormModal: u
|
|
2476
2490
|
} = E(R);
|
|
2477
2491
|
return (c, V) => {
|
|
2478
|
-
const
|
|
2492
|
+
const b = s("el-input"), D = s("el-space"), x = s("el-page-header"), n = s("el-card");
|
|
2479
2493
|
return S(), T(n, {
|
|
2480
2494
|
class: "basic-card flex-full",
|
|
2481
2495
|
"body-class": "flex-1"
|
|
@@ -2487,12 +2501,12 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2487
2501
|
loading: e(h),
|
|
2488
2502
|
onRefresh: e(p)
|
|
2489
2503
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2490
|
-
onOpen: e(
|
|
2504
|
+
onOpen: e(w)
|
|
2491
2505
|
}, null, 8, ["onOpen"])]),
|
|
2492
2506
|
content: o(() => [l(D, {
|
|
2493
2507
|
class: "search-bar"
|
|
2494
2508
|
}, {
|
|
2495
|
-
default: o(() => [l(
|
|
2509
|
+
default: o(() => [l(b, {
|
|
2496
2510
|
class: "basic-search-input",
|
|
2497
2511
|
modelValue: e(m).keyword,
|
|
2498
2512
|
"onUpdate:modelValue": V[0] || (V[0] = (d) => e(m).keyword = d),
|
|
@@ -2510,7 +2524,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2510
2524
|
})]),
|
|
2511
2525
|
default: o(() => [l(e(ce), {
|
|
2512
2526
|
ref_key: "tableRef",
|
|
2513
|
-
ref:
|
|
2527
|
+
ref: g,
|
|
2514
2528
|
size: "small",
|
|
2515
2529
|
columns: k,
|
|
2516
2530
|
url: e(ve).urls[e(Ve)],
|
|
@@ -2540,31 +2554,31 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2540
2554
|
}
|
|
2541
2555
|
},
|
|
2542
2556
|
emits: ["update:modelValue", "change"],
|
|
2543
|
-
setup(
|
|
2557
|
+
setup(v, {
|
|
2544
2558
|
expose: R,
|
|
2545
2559
|
emit: k
|
|
2546
2560
|
}) {
|
|
2547
|
-
const h = k,
|
|
2561
|
+
const h = k, g = v, {
|
|
2548
2562
|
requesting: _
|
|
2549
2563
|
} = F(be), {
|
|
2550
2564
|
key: m,
|
|
2551
2565
|
options: i,
|
|
2552
2566
|
refresh: p,
|
|
2553
2567
|
change: t
|
|
2554
|
-
} = te(oe(
|
|
2568
|
+
} = te(oe(g, "modelValue"), h, {
|
|
2555
2569
|
key: "DOMAIN_LIST",
|
|
2556
2570
|
api: be,
|
|
2557
2571
|
isArray: !0
|
|
2558
2572
|
});
|
|
2559
2573
|
return R({
|
|
2560
2574
|
refresh: p
|
|
2561
|
-
}), (
|
|
2575
|
+
}), (w, u) => {
|
|
2562
2576
|
const c = s("el-select-v2");
|
|
2563
2577
|
return S(), T(c, {
|
|
2564
2578
|
modelValue: e(m),
|
|
2565
2579
|
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2566
2580
|
options: e(i),
|
|
2567
|
-
disabled:
|
|
2581
|
+
disabled: v.disabled || e(_),
|
|
2568
2582
|
placeholder: e(a)("base.select config.domain"),
|
|
2569
2583
|
onChange: e(t)
|
|
2570
2584
|
}, {
|
|
@@ -2579,8 +2593,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2579
2593
|
}), Rl = /* @__PURE__ */ O({
|
|
2580
2594
|
__name: "SiteFormModal",
|
|
2581
2595
|
emits: ["refresh"],
|
|
2582
|
-
setup(
|
|
2583
|
-
const h = k,
|
|
2596
|
+
setup(v, { expose: R, emit: k }) {
|
|
2597
|
+
const h = k, g = {
|
|
2584
2598
|
id: 0,
|
|
2585
2599
|
domain_id: 0,
|
|
2586
2600
|
prefix: "",
|
|
@@ -2595,7 +2609,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2595
2609
|
prefix: [{ required: !0, message: a("placeholder.input base.prefix"), trigger: "blur" }],
|
|
2596
2610
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }],
|
|
2597
2611
|
en_name: [{ required: !0, message: a("placeholder.input base.en_name"), trigger: "blur" }]
|
|
2598
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
2612
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ue);
|
|
2599
2613
|
return R({
|
|
2600
2614
|
open: c,
|
|
2601
2615
|
modify: V
|
|
@@ -2608,7 +2622,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2608
2622
|
width: "600px",
|
|
2609
2623
|
executing: e(u),
|
|
2610
2624
|
onClosed: e(D),
|
|
2611
|
-
onSubmit: e(
|
|
2625
|
+
onSubmit: e(b)
|
|
2612
2626
|
}, {
|
|
2613
2627
|
default: o(() => [
|
|
2614
2628
|
l(y, {
|
|
@@ -2617,7 +2631,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2617
2631
|
model: e(t),
|
|
2618
2632
|
"label-width": "auto",
|
|
2619
2633
|
rules: _,
|
|
2620
|
-
disabled: e(
|
|
2634
|
+
disabled: e(w) || e(u)
|
|
2621
2635
|
}, {
|
|
2622
2636
|
default: o(() => [
|
|
2623
2637
|
l(d, {
|
|
@@ -2738,31 +2752,31 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2738
2752
|
}
|
|
2739
2753
|
},
|
|
2740
2754
|
emits: ["update:modelValue", "change"],
|
|
2741
|
-
setup(
|
|
2755
|
+
setup(v, {
|
|
2742
2756
|
expose: R,
|
|
2743
2757
|
emit: k
|
|
2744
2758
|
}) {
|
|
2745
|
-
const h = k,
|
|
2759
|
+
const h = k, g = v, {
|
|
2746
2760
|
requesting: _
|
|
2747
2761
|
} = F(ge), {
|
|
2748
2762
|
key: m,
|
|
2749
2763
|
options: i,
|
|
2750
2764
|
refresh: p,
|
|
2751
2765
|
change: t
|
|
2752
|
-
} = te(oe(
|
|
2766
|
+
} = te(oe(g, "modelValue"), h, {
|
|
2753
2767
|
key: "DOMAIN_PROVIDER_LIST",
|
|
2754
2768
|
api: ge,
|
|
2755
2769
|
isArray: !0
|
|
2756
2770
|
});
|
|
2757
2771
|
return R({
|
|
2758
2772
|
refresh: p
|
|
2759
|
-
}), (
|
|
2773
|
+
}), (w, u) => {
|
|
2760
2774
|
const c = s("el-select-v2");
|
|
2761
2775
|
return S(), T(c, {
|
|
2762
2776
|
modelValue: e(m),
|
|
2763
2777
|
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2764
2778
|
options: e(i),
|
|
2765
|
-
disabled:
|
|
2779
|
+
disabled: v.disabled || e(_),
|
|
2766
2780
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
2767
2781
|
onChange: e(t)
|
|
2768
2782
|
}, {
|
|
@@ -2777,8 +2791,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2777
2791
|
}), Ml = /* @__PURE__ */ O({
|
|
2778
2792
|
__name: "DomainFormModal",
|
|
2779
2793
|
emits: ["refresh"],
|
|
2780
|
-
setup(
|
|
2781
|
-
const h = k,
|
|
2794
|
+
setup(v, { expose: R, emit: k }) {
|
|
2795
|
+
const h = k, g = {
|
|
2782
2796
|
id: 0,
|
|
2783
2797
|
provider_id: 0,
|
|
2784
2798
|
name: "",
|
|
@@ -2788,7 +2802,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2788
2802
|
}, _ = {
|
|
2789
2803
|
provider_id: [{ required: !0, message: a("placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2790
2804
|
name: [{ required: !0, message: a("placeholder.input base.name"), trigger: "blur" }]
|
|
2791
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
2805
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, be);
|
|
2792
2806
|
return R({
|
|
2793
2807
|
open: c,
|
|
2794
2808
|
modify: V
|
|
@@ -2801,7 +2815,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2801
2815
|
width: "600px",
|
|
2802
2816
|
executing: e(u),
|
|
2803
2817
|
onClosed: e(D),
|
|
2804
|
-
onSubmit: e(
|
|
2818
|
+
onSubmit: e(b)
|
|
2805
2819
|
}, {
|
|
2806
2820
|
default: o(() => [
|
|
2807
2821
|
l(f, {
|
|
@@ -2810,7 +2824,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2810
2824
|
model: e(t),
|
|
2811
2825
|
"label-width": "auto",
|
|
2812
2826
|
rules: _,
|
|
2813
|
-
disabled: e(
|
|
2827
|
+
disabled: e(w) || e(u)
|
|
2814
2828
|
}, {
|
|
2815
2829
|
default: o(() => [
|
|
2816
2830
|
l(d, {
|
|
@@ -2896,23 +2910,23 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2896
2910
|
}
|
|
2897
2911
|
},
|
|
2898
2912
|
emits: ["update:modelValue", "change"],
|
|
2899
|
-
setup(
|
|
2913
|
+
setup(v, {
|
|
2900
2914
|
expose: R,
|
|
2901
2915
|
emit: k
|
|
2902
2916
|
}) {
|
|
2903
|
-
const h = k,
|
|
2917
|
+
const h = k, g = v, {
|
|
2904
2918
|
requesting: _
|
|
2905
2919
|
} = F(ue), {
|
|
2906
2920
|
key: m,
|
|
2907
2921
|
options: i,
|
|
2908
2922
|
refresh: p,
|
|
2909
2923
|
change: t
|
|
2910
|
-
} = te(oe(
|
|
2924
|
+
} = te(oe(g, "modelValue"), h, {
|
|
2911
2925
|
key: "SITE_LIST",
|
|
2912
2926
|
api: ue,
|
|
2913
2927
|
isArray: !0
|
|
2914
2928
|
}, {
|
|
2915
|
-
formatOptions: (
|
|
2929
|
+
formatOptions: (w) => w.map((u) => {
|
|
2916
2930
|
var c;
|
|
2917
2931
|
return {
|
|
2918
2932
|
...u,
|
|
@@ -2923,13 +2937,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2923
2937
|
});
|
|
2924
2938
|
return R({
|
|
2925
2939
|
refresh: p
|
|
2926
|
-
}), (
|
|
2940
|
+
}), (w, u) => {
|
|
2927
2941
|
const c = s("el-select-v2");
|
|
2928
2942
|
return S(), T(c, {
|
|
2929
2943
|
modelValue: e(m),
|
|
2930
2944
|
"onUpdate:modelValue": u[0] || (u[0] = (V) => N(m) ? m.value = V : null),
|
|
2931
2945
|
options: e(i),
|
|
2932
|
-
disabled:
|
|
2946
|
+
disabled: v.disabled || e(_),
|
|
2933
2947
|
placeholder: e(a)("base.select config.domain"),
|
|
2934
2948
|
onChange: e(t)
|
|
2935
2949
|
}, {
|
|
@@ -2944,8 +2958,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2944
2958
|
}), Ee = /* @__PURE__ */ O({
|
|
2945
2959
|
__name: "SSLFormModal",
|
|
2946
2960
|
emits: ["refresh"],
|
|
2947
|
-
setup(
|
|
2948
|
-
const h = k,
|
|
2961
|
+
setup(v, { expose: R, emit: k }) {
|
|
2962
|
+
const h = k, g = {
|
|
2949
2963
|
id: 0,
|
|
2950
2964
|
domain_id: void 0,
|
|
2951
2965
|
client: "Lego",
|
|
@@ -2962,7 +2976,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2962
2976
|
path: [{ required: !0, message: a("placeholder.input base.path"), trigger: "blur" }],
|
|
2963
2977
|
email: [{ required: !0, message: a("placeholder.input base.email"), trigger: "blur" }],
|
|
2964
2978
|
encryption: [{ required: !0, message: a("placeholder.input config.encryption"), trigger: "blur" }]
|
|
2965
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
2979
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ie);
|
|
2966
2980
|
return R({
|
|
2967
2981
|
open: c,
|
|
2968
2982
|
modify: V,
|
|
@@ -2976,7 +2990,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2976
2990
|
width: "600px",
|
|
2977
2991
|
executing: e(u),
|
|
2978
2992
|
onClosed: e(D),
|
|
2979
|
-
onSubmit: e(
|
|
2993
|
+
onSubmit: e(b)
|
|
2980
2994
|
}, {
|
|
2981
2995
|
default: o(() => [
|
|
2982
2996
|
l(C, {
|
|
@@ -2985,7 +2999,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
2985
2999
|
model: e(t),
|
|
2986
3000
|
"label-width": "auto",
|
|
2987
3001
|
rules: _,
|
|
2988
|
-
disabled: e(
|
|
3002
|
+
disabled: e(w) || e(u)
|
|
2989
3003
|
}, {
|
|
2990
3004
|
default: o(() => [
|
|
2991
3005
|
l(d, {
|
|
@@ -3121,8 +3135,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3121
3135
|
}), Sl = /* @__PURE__ */ O({
|
|
3122
3136
|
__name: "DomainProviderFormModal",
|
|
3123
3137
|
emits: ["refresh"],
|
|
3124
|
-
setup(
|
|
3125
|
-
const h = k,
|
|
3138
|
+
setup(v, { expose: R, emit: k }) {
|
|
3139
|
+
const h = k, g = {
|
|
3126
3140
|
id: 0,
|
|
3127
3141
|
name: "",
|
|
3128
3142
|
en_name: "",
|
|
@@ -3137,7 +3151,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3137
3151
|
key: { required: !0, message: a("placeholder.input base.key"), trigger: "blur" },
|
|
3138
3152
|
secret: { required: !0, message: a("placeholder.input config.secret"), trigger: "blur" },
|
|
3139
3153
|
end_point: { required: !0, message: a("placeholder.input config.endpoint"), trigger: "blur" }
|
|
3140
|
-
}, { modal: m, title: i, form: p, formData: t, requesting:
|
|
3154
|
+
}, { modal: m, title: i, form: p, formData: t, requesting: w, executing: u, open: c, modify: V, submit: b, closed: D } = X(h, g, ge);
|
|
3141
3155
|
return R({
|
|
3142
3156
|
open: c,
|
|
3143
3157
|
modify: V
|
|
@@ -3150,7 +3164,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3150
3164
|
width: "600px",
|
|
3151
3165
|
executing: e(u),
|
|
3152
3166
|
onClosed: e(D),
|
|
3153
|
-
onSubmit: e(
|
|
3167
|
+
onSubmit: e(b)
|
|
3154
3168
|
}, {
|
|
3155
3169
|
default: o(() => [
|
|
3156
3170
|
l(y, {
|
|
@@ -3159,7 +3173,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3159
3173
|
model: e(t),
|
|
3160
3174
|
"label-width": "auto",
|
|
3161
3175
|
rules: _,
|
|
3162
|
-
disabled: e(
|
|
3176
|
+
disabled: e(w) || e(u)
|
|
3163
3177
|
}, {
|
|
3164
3178
|
default: o(() => [
|
|
3165
3179
|
l(r, {
|
|
@@ -3256,13 +3270,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3256
3270
|
}
|
|
3257
3271
|
}), Cl = /* @__PURE__ */ O({
|
|
3258
3272
|
__name: "DomainProviderTableDrawer",
|
|
3259
|
-
setup(
|
|
3273
|
+
setup(v, {
|
|
3260
3274
|
expose: R
|
|
3261
3275
|
}) {
|
|
3262
3276
|
const {
|
|
3263
3277
|
requesting: k
|
|
3264
3278
|
} = F(ge), h = B(!1), {
|
|
3265
|
-
tableRef:
|
|
3279
|
+
tableRef: g,
|
|
3266
3280
|
formModalRef: _,
|
|
3267
3281
|
refresh: m,
|
|
3268
3282
|
openFormModal: i,
|
|
@@ -3301,7 +3315,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3301
3315
|
const V = s("el-page-header");
|
|
3302
3316
|
return S(), T(e(fe), {
|
|
3303
3317
|
modelValue: h.value,
|
|
3304
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
3318
|
+
"onUpdate:modelValue": c[0] || (c[0] = (b) => h.value = b),
|
|
3305
3319
|
width: "400px",
|
|
3306
3320
|
"show-close": !1,
|
|
3307
3321
|
class: "basic-drawer"
|
|
@@ -3322,7 +3336,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3322
3336
|
})]),
|
|
3323
3337
|
default: o(() => [l(e(de), {
|
|
3324
3338
|
ref_key: "tableRef",
|
|
3325
|
-
ref:
|
|
3339
|
+
ref: g,
|
|
3326
3340
|
size: "small",
|
|
3327
3341
|
"row-key": "id",
|
|
3328
3342
|
url: e(ge).urls.list,
|
|
@@ -3339,25 +3353,25 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3339
3353
|
}
|
|
3340
3354
|
}), Ll = /* @__PURE__ */ O({
|
|
3341
3355
|
__name: "DomainTableDrawer",
|
|
3342
|
-
setup(
|
|
3356
|
+
setup(v, {
|
|
3343
3357
|
expose: R
|
|
3344
3358
|
}) {
|
|
3345
3359
|
const {
|
|
3346
3360
|
requesting: k
|
|
3347
3361
|
} = F(be), h = B(!1), {
|
|
3348
|
-
tableRef:
|
|
3362
|
+
tableRef: g,
|
|
3349
3363
|
formModalRef: _,
|
|
3350
3364
|
refresh: m,
|
|
3351
3365
|
openFormModal: i,
|
|
3352
3366
|
editFormModal: p
|
|
3353
3367
|
} = E(), {
|
|
3354
3368
|
formModalRef: t,
|
|
3355
|
-
openFormModal:
|
|
3369
|
+
openFormModal: w,
|
|
3356
3370
|
editFormModal: u
|
|
3357
3371
|
} = E(), {
|
|
3358
3372
|
formModalRef: c,
|
|
3359
3373
|
openFormModal: V
|
|
3360
|
-
} = E(),
|
|
3374
|
+
} = E(), b = [{
|
|
3361
3375
|
prop: "provider",
|
|
3362
3376
|
label: a("config.domain config.provider"),
|
|
3363
3377
|
width: 120,
|
|
@@ -3401,7 +3415,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3401
3415
|
var n;
|
|
3402
3416
|
x.ssl && x.ssl.id ? u({
|
|
3403
3417
|
id: (n = x.ssl) == null ? void 0 : n.id
|
|
3404
|
-
}) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0,
|
|
3418
|
+
}) : (t.value.formData.domain_id = x.id, t.value.formData.site_id = 0, w());
|
|
3405
3419
|
}
|
|
3406
3420
|
}, null)]
|
|
3407
3421
|
})
|
|
@@ -3444,11 +3458,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3444
3458
|
})]),
|
|
3445
3459
|
default: o(() => [l(e(de), {
|
|
3446
3460
|
ref_key: "tableRef",
|
|
3447
|
-
ref:
|
|
3461
|
+
ref: g,
|
|
3448
3462
|
size: "small",
|
|
3449
3463
|
"row-key": "id",
|
|
3450
3464
|
url: e(be).urls.list,
|
|
3451
|
-
columns:
|
|
3465
|
+
columns: b,
|
|
3452
3466
|
loading: e(k)
|
|
3453
3467
|
}, null, 8, ["url", "loading"]), l(Ml, {
|
|
3454
3468
|
ref_key: "formModalRef",
|
|
@@ -3468,18 +3482,18 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3468
3482
|
}
|
|
3469
3483
|
}), ql = /* @__PURE__ */ O({
|
|
3470
3484
|
__name: "SSLTableDrawer",
|
|
3471
|
-
setup(
|
|
3485
|
+
setup(v, {
|
|
3472
3486
|
expose: R
|
|
3473
3487
|
}) {
|
|
3474
3488
|
const {
|
|
3475
3489
|
requesting: k,
|
|
3476
3490
|
executing: h
|
|
3477
|
-
} = F(ie),
|
|
3491
|
+
} = F(ie), g = B(0), _ = B(!1), {
|
|
3478
3492
|
tableRef: m,
|
|
3479
3493
|
formModalRef: i,
|
|
3480
3494
|
refresh: p,
|
|
3481
3495
|
openFormModal: t,
|
|
3482
|
-
editFormModal:
|
|
3496
|
+
editFormModal: w
|
|
3483
3497
|
} = E(), u = [
|
|
3484
3498
|
{
|
|
3485
3499
|
prop: "client",
|
|
@@ -3526,7 +3540,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3526
3540
|
icon: "icon-edit",
|
|
3527
3541
|
t: "",
|
|
3528
3542
|
disabled: h.value,
|
|
3529
|
-
onModify: () =>
|
|
3543
|
+
onModify: () => w({
|
|
3530
3544
|
id: D.id
|
|
3531
3545
|
})
|
|
3532
3546
|
}, null), l(Q, {
|
|
@@ -3534,17 +3548,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3534
3548
|
icon: "icon-key",
|
|
3535
3549
|
t: "",
|
|
3536
3550
|
text: !0,
|
|
3537
|
-
disabled: h.value &&
|
|
3538
|
-
loading:
|
|
3551
|
+
disabled: h.value && g.value !== D.id,
|
|
3552
|
+
loading: g.value == D.id,
|
|
3539
3553
|
onClick: () => V(D.id)
|
|
3540
3554
|
}, null), l(Q, {
|
|
3541
3555
|
size: "default",
|
|
3542
3556
|
icon: "icon-cloud-download",
|
|
3543
3557
|
t: "",
|
|
3544
3558
|
text: !0,
|
|
3545
|
-
disabled: h.value &&
|
|
3546
|
-
loading:
|
|
3547
|
-
onClick: () =>
|
|
3559
|
+
disabled: h.value && g.value !== D.id,
|
|
3560
|
+
loading: g.value == D.id,
|
|
3561
|
+
onClick: () => b(D)
|
|
3548
3562
|
}, null)]
|
|
3549
3563
|
})
|
|
3550
3564
|
}
|
|
@@ -3557,7 +3571,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3557
3571
|
console.warn("Res:", x);
|
|
3558
3572
|
});
|
|
3559
3573
|
};
|
|
3560
|
-
function
|
|
3574
|
+
function b(D) {
|
|
3561
3575
|
const x = Ce.getDownloadUrl(D.path + ".zip");
|
|
3562
3576
|
fetch(x).then((n) => n.blob()).then((n) => {
|
|
3563
3577
|
let d = URL.createObjectURL(n), r = document.createElement("a");
|
|
@@ -3613,17 +3627,17 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3613
3627
|
default: () => ({})
|
|
3614
3628
|
}
|
|
3615
3629
|
},
|
|
3616
|
-
setup(
|
|
3630
|
+
setup(v, {
|
|
3617
3631
|
expose: R
|
|
3618
3632
|
}) {
|
|
3619
|
-
const k =
|
|
3633
|
+
const k = v, {
|
|
3620
3634
|
requesting: h,
|
|
3621
|
-
executing:
|
|
3635
|
+
executing: g
|
|
3622
3636
|
} = F([De, ie]), _ = B(!1), {
|
|
3623
3637
|
tableRef: m,
|
|
3624
3638
|
refresh: i
|
|
3625
3639
|
} = E(), p = [{
|
|
3626
|
-
prop: "
|
|
3640
|
+
prop: "status.label",
|
|
3627
3641
|
label: a("base.status"),
|
|
3628
3642
|
width: 100
|
|
3629
3643
|
}, {
|
|
@@ -3641,7 +3655,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3641
3655
|
}], t = () => {
|
|
3642
3656
|
_.value = !0;
|
|
3643
3657
|
};
|
|
3644
|
-
function
|
|
3658
|
+
function w() {
|
|
3645
3659
|
ie.gen({
|
|
3646
3660
|
id: k.ssl.id
|
|
3647
3661
|
}).then((c) => {
|
|
@@ -3651,14 +3665,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3651
3665
|
function u() {
|
|
3652
3666
|
const c = Ce.getDownloadUrl(k.ssl.path + ".zip");
|
|
3653
3667
|
fetch(c).then((V) => V.blob()).then((V) => {
|
|
3654
|
-
let
|
|
3655
|
-
D.style.display = "none", D.href =
|
|
3668
|
+
let b = URL.createObjectURL(V), D = document.createElement("a");
|
|
3669
|
+
D.style.display = "none", D.href = b, D.download = k.ssl.name + ".zip", D.click(), URL.revokeObjectURL(V);
|
|
3656
3670
|
});
|
|
3657
3671
|
}
|
|
3658
3672
|
return R({
|
|
3659
3673
|
open: t
|
|
3660
3674
|
}), (c, V) => {
|
|
3661
|
-
const
|
|
3675
|
+
const b = s("el-page-header");
|
|
3662
3676
|
return S(), T(e(fe), {
|
|
3663
3677
|
modelValue: _.value,
|
|
3664
3678
|
"onUpdate:modelValue": V[0] || (V[0] = (D) => _.value = D),
|
|
@@ -3666,7 +3680,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3666
3680
|
"show-close": !1,
|
|
3667
3681
|
class: "basic-drawer"
|
|
3668
3682
|
}, {
|
|
3669
|
-
title: o(() => [l(
|
|
3683
|
+
title: o(() => [l(b, {
|
|
3670
3684
|
icon: ""
|
|
3671
3685
|
}, {
|
|
3672
3686
|
title: o(() => [P("span", null, z(e(a)("config.ssl base.log")), 1)]),
|
|
@@ -3679,15 +3693,15 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3679
3693
|
size: "default",
|
|
3680
3694
|
type: "danger",
|
|
3681
3695
|
icon: "icon-key",
|
|
3682
|
-
disabled: e(
|
|
3683
|
-
loading: e(
|
|
3684
|
-
onClick:
|
|
3696
|
+
disabled: e(g),
|
|
3697
|
+
loading: e(g),
|
|
3698
|
+
onClick: w
|
|
3685
3699
|
}, null, 8, ["disabled", "loading"]), l(e(Q), {
|
|
3686
3700
|
size: "default",
|
|
3687
3701
|
type: "primary",
|
|
3688
3702
|
icon: "icon-cloud-download",
|
|
3689
|
-
disabled: e(
|
|
3690
|
-
loading: e(
|
|
3703
|
+
disabled: e(g),
|
|
3704
|
+
loading: e(g),
|
|
3691
3705
|
onClick: u
|
|
3692
3706
|
}, null, 8, ["disabled", "loading"])]),
|
|
3693
3707
|
_: 1
|
|
@@ -3707,25 +3721,25 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3707
3721
|
}
|
|
3708
3722
|
}), Ol = /* @__PURE__ */ O({
|
|
3709
3723
|
__name: "index",
|
|
3710
|
-
setup(
|
|
3724
|
+
setup(v) {
|
|
3711
3725
|
const R = B(), {
|
|
3712
3726
|
requesting: k,
|
|
3713
3727
|
executing: h
|
|
3714
3728
|
} = F(ue), {
|
|
3715
|
-
tableRef:
|
|
3729
|
+
tableRef: g,
|
|
3716
3730
|
formModalRef: _,
|
|
3717
3731
|
reset: m,
|
|
3718
3732
|
refresh: i,
|
|
3719
3733
|
openFormModal: p,
|
|
3720
3734
|
editFormModal: t
|
|
3721
3735
|
} = E(), {
|
|
3722
|
-
formModalRef:
|
|
3736
|
+
formModalRef: w,
|
|
3723
3737
|
openFormModal: u
|
|
3724
3738
|
} = E(), {
|
|
3725
3739
|
formModalRef: c,
|
|
3726
3740
|
openFormModal: V
|
|
3727
3741
|
} = E(), {
|
|
3728
|
-
formModalRef:
|
|
3742
|
+
formModalRef: b,
|
|
3729
3743
|
openFormModal: D
|
|
3730
3744
|
} = E(), x = [{
|
|
3731
3745
|
prop: "domain.name",
|
|
@@ -3849,7 +3863,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3849
3863
|
})]),
|
|
3850
3864
|
default: o(() => [l(e(de), {
|
|
3851
3865
|
ref_key: "tableRef",
|
|
3852
|
-
ref:
|
|
3866
|
+
ref: g,
|
|
3853
3867
|
size: "small",
|
|
3854
3868
|
"row-key": "id",
|
|
3855
3869
|
url: e(ue).urls[e(Xe)],
|
|
@@ -3861,13 +3875,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3861
3875
|
onRefresh: e(i)
|
|
3862
3876
|
}, null, 8, ["onRefresh"]), l(Ll, {
|
|
3863
3877
|
ref_key: "domainTableDrawerRef",
|
|
3864
|
-
ref:
|
|
3878
|
+
ref: w
|
|
3865
3879
|
}, null, 512), l(ql, {
|
|
3866
3880
|
ref_key: "sslTableDrawerRef",
|
|
3867
3881
|
ref: c
|
|
3868
3882
|
}, null, 512), l(Tl, {
|
|
3869
3883
|
ref_key: "sslLogTableDrawerRef",
|
|
3870
|
-
ref:
|
|
3884
|
+
ref: b
|
|
3871
3885
|
}, null, 512)]),
|
|
3872
3886
|
_: 1
|
|
3873
3887
|
});
|
|
@@ -3882,7 +3896,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3882
3896
|
sql: "SQL"
|
|
3883
3897
|
}, pe = Y.routineApi("log", "id", Fl), Yl = /* @__PURE__ */ O({
|
|
3884
3898
|
__name: "index",
|
|
3885
|
-
setup(
|
|
3899
|
+
setup(v) {
|
|
3886
3900
|
const R = {
|
|
3887
3901
|
dates: [$.getCurrentHour().format($.DATE_VALUE_FORMAT), $.getCurrentHour(1).format($.DATE_VALUE_FORMAT)]
|
|
3888
3902
|
}, k = [{
|
|
@@ -3904,13 +3918,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3904
3918
|
}], {
|
|
3905
3919
|
requesting: h
|
|
3906
3920
|
} = F(pe), {
|
|
3907
|
-
tableRef:
|
|
3921
|
+
tableRef: g,
|
|
3908
3922
|
keyword: _,
|
|
3909
3923
|
search: m,
|
|
3910
3924
|
reset: i
|
|
3911
3925
|
} = E(R);
|
|
3912
3926
|
return (p, t) => {
|
|
3913
|
-
const
|
|
3927
|
+
const w = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
3914
3928
|
return S(), T(V, {
|
|
3915
3929
|
class: "basic-card flex-full",
|
|
3916
3930
|
"body-class": "flex-1"
|
|
@@ -3925,9 +3939,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3925
3939
|
content: o(() => [l(u, {
|
|
3926
3940
|
class: "search-bar"
|
|
3927
3941
|
}, {
|
|
3928
|
-
default: o(() => [l(
|
|
3942
|
+
default: o(() => [l(w, {
|
|
3929
3943
|
modelValue: e(_).dates,
|
|
3930
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
3944
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
3931
3945
|
class: "basic-search-datetimerange",
|
|
3932
3946
|
"value-format": e($).DATE_VALUE_FORMAT,
|
|
3933
3947
|
format: e($).DATE_SHOW_FORMAT,
|
|
@@ -3936,10 +3950,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3936
3950
|
"start-placeholder": e(a)("base.start_at"),
|
|
3937
3951
|
"end-placeholder": e(a)("base.end_at"),
|
|
3938
3952
|
clearable: !1,
|
|
3939
|
-
onChange: t[1] || (t[1] = (
|
|
3953
|
+
onChange: t[1] || (t[1] = (b) => e(m)())
|
|
3940
3954
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
3941
3955
|
disabled: e(h),
|
|
3942
|
-
onSearch: t[2] || (t[2] = (
|
|
3956
|
+
onSearch: t[2] || (t[2] = (b) => e(m)())
|
|
3943
3957
|
}, null, 8, ["disabled"])]),
|
|
3944
3958
|
_: 1
|
|
3945
3959
|
})]),
|
|
@@ -3947,7 +3961,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3947
3961
|
})]),
|
|
3948
3962
|
default: o(() => [l(e(de), {
|
|
3949
3963
|
ref_key: "tableRef",
|
|
3950
|
-
ref:
|
|
3964
|
+
ref: g,
|
|
3951
3965
|
size: "small",
|
|
3952
3966
|
columns: k,
|
|
3953
3967
|
url: e(pe).urls.request,
|
|
@@ -3960,7 +3974,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3960
3974
|
}
|
|
3961
3975
|
}), Hl = /* @__PURE__ */ O({
|
|
3962
3976
|
__name: "index",
|
|
3963
|
-
setup(
|
|
3977
|
+
setup(v) {
|
|
3964
3978
|
const R = {
|
|
3965
3979
|
dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate(0).format($.DATE_FORMAT)]
|
|
3966
3980
|
}, k = [{
|
|
@@ -3982,13 +3996,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
3982
3996
|
}], {
|
|
3983
3997
|
requesting: h
|
|
3984
3998
|
} = F(pe), {
|
|
3985
|
-
tableRef:
|
|
3999
|
+
tableRef: g,
|
|
3986
4000
|
keyword: _,
|
|
3987
4001
|
search: m,
|
|
3988
4002
|
reset: i
|
|
3989
4003
|
} = E(R);
|
|
3990
4004
|
return (p, t) => {
|
|
3991
|
-
const
|
|
4005
|
+
const w = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
3992
4006
|
return S(), T(V, {
|
|
3993
4007
|
class: "basic-card flex-full",
|
|
3994
4008
|
"body-class": "flex-1"
|
|
@@ -4003,9 +4017,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4003
4017
|
content: o(() => [l(u, {
|
|
4004
4018
|
class: "search-bar"
|
|
4005
4019
|
}, {
|
|
4006
|
-
default: o(() => [l(
|
|
4020
|
+
default: o(() => [l(w, {
|
|
4007
4021
|
modelValue: e(_).dates,
|
|
4008
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4022
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4009
4023
|
class: "basic-search-daterange",
|
|
4010
4024
|
"value-format": e($).DATE_FORMAT,
|
|
4011
4025
|
format: e($).DATE_FORMAT,
|
|
@@ -4014,10 +4028,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4014
4028
|
"start-placeholder": e(a)("base.start_at"),
|
|
4015
4029
|
"end-placeholder": e(a)("base.end_at"),
|
|
4016
4030
|
clearable: !1,
|
|
4017
|
-
onChange: t[1] || (t[1] = (
|
|
4031
|
+
onChange: t[1] || (t[1] = (b) => e(m)())
|
|
4018
4032
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
4019
4033
|
disabled: e(h),
|
|
4020
|
-
onSearch: t[2] || (t[2] = (
|
|
4034
|
+
onSearch: t[2] || (t[2] = (b) => e(m)())
|
|
4021
4035
|
}, null, 8, ["disabled"])]),
|
|
4022
4036
|
_: 1
|
|
4023
4037
|
})]),
|
|
@@ -4025,7 +4039,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4025
4039
|
})]),
|
|
4026
4040
|
default: o(() => [l(e(de), {
|
|
4027
4041
|
ref_key: "tableRef",
|
|
4028
|
-
ref:
|
|
4042
|
+
ref: g,
|
|
4029
4043
|
size: "small",
|
|
4030
4044
|
columns: k,
|
|
4031
4045
|
url: e(pe).urls.error,
|
|
@@ -4038,7 +4052,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4038
4052
|
}
|
|
4039
4053
|
}), Ql = /* @__PURE__ */ O({
|
|
4040
4054
|
__name: "index",
|
|
4041
|
-
setup(
|
|
4055
|
+
setup(v) {
|
|
4042
4056
|
const R = {
|
|
4043
4057
|
dates: [$.getCurrentDate(-7).format($.DATE_FORMAT), $.getCurrentDate().format($.DATE_FORMAT)]
|
|
4044
4058
|
}, k = [{
|
|
@@ -4060,13 +4074,13 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4060
4074
|
}], {
|
|
4061
4075
|
requesting: h
|
|
4062
4076
|
} = F(pe), {
|
|
4063
|
-
tableRef:
|
|
4077
|
+
tableRef: g,
|
|
4064
4078
|
keyword: _,
|
|
4065
4079
|
search: m,
|
|
4066
4080
|
reset: i
|
|
4067
4081
|
} = E(R);
|
|
4068
4082
|
return (p, t) => {
|
|
4069
|
-
const
|
|
4083
|
+
const w = s("el-date-picker"), u = s("el-space"), c = s("el-page-header"), V = s("el-card");
|
|
4070
4084
|
return S(), T(V, {
|
|
4071
4085
|
class: "basic-card flex-full",
|
|
4072
4086
|
"body-class": "flex-1"
|
|
@@ -4081,9 +4095,9 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4081
4095
|
content: o(() => [l(u, {
|
|
4082
4096
|
class: "search-bar"
|
|
4083
4097
|
}, {
|
|
4084
|
-
default: o(() => [l(
|
|
4098
|
+
default: o(() => [l(w, {
|
|
4085
4099
|
modelValue: e(_).dates,
|
|
4086
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
4100
|
+
"onUpdate:modelValue": t[0] || (t[0] = (b) => e(_).dates = b),
|
|
4087
4101
|
class: "basic-search-daterange",
|
|
4088
4102
|
"value-format": e($).DATE_FORMAT,
|
|
4089
4103
|
format: e($).DATE_FORMAT,
|
|
@@ -4092,10 +4106,10 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4092
4106
|
"start-placeholder": e(a)("base.start_at"),
|
|
4093
4107
|
"end-placeholder": e(a)("base.end_at"),
|
|
4094
4108
|
clearable: !1,
|
|
4095
|
-
onChange: t[1] || (t[1] = (
|
|
4109
|
+
onChange: t[1] || (t[1] = (b) => e(m)())
|
|
4096
4110
|
}, null, 8, ["modelValue", "value-format", "format", "start-placeholder", "end-placeholder"]), l(e(ne), {
|
|
4097
4111
|
disabled: e(h),
|
|
4098
|
-
onSearch: t[2] || (t[2] = (
|
|
4112
|
+
onSearch: t[2] || (t[2] = (b) => e(m)())
|
|
4099
4113
|
}, null, 8, ["disabled"])]),
|
|
4100
4114
|
_: 1
|
|
4101
4115
|
})]),
|
|
@@ -4103,7 +4117,7 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4103
4117
|
})]),
|
|
4104
4118
|
default: o(() => [l(e(de), {
|
|
4105
4119
|
ref_key: "tableRef",
|
|
4106
|
-
ref:
|
|
4120
|
+
ref: g,
|
|
4107
4121
|
size: "small",
|
|
4108
4122
|
columns: k,
|
|
4109
4123
|
url: e(pe).urls.sql,
|
|
@@ -4136,11 +4150,11 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4136
4150
|
}
|
|
4137
4151
|
},
|
|
4138
4152
|
emits: ["update:modelValue", "update:value", "change"],
|
|
4139
|
-
setup(
|
|
4153
|
+
setup(v, {
|
|
4140
4154
|
emit: R
|
|
4141
4155
|
}) {
|
|
4142
|
-
const k = R, h =
|
|
4143
|
-
requesting:
|
|
4156
|
+
const k = R, h = v, {
|
|
4157
|
+
requesting: g
|
|
4144
4158
|
} = F(W), {
|
|
4145
4159
|
value: _,
|
|
4146
4160
|
options: m,
|
|
@@ -4157,14 +4171,14 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4157
4171
|
}))
|
|
4158
4172
|
});
|
|
4159
4173
|
return (p, t) => {
|
|
4160
|
-
const
|
|
4174
|
+
const w = s("el-radio-button"), u = s("el-radio-group");
|
|
4161
4175
|
return S(), T(u, {
|
|
4162
4176
|
modelValue: e(_),
|
|
4163
4177
|
"onUpdate:modelValue": t[0] || (t[0] = (c) => N(_) ? _.value = c : null),
|
|
4164
|
-
disabled: e(
|
|
4178
|
+
disabled: e(g),
|
|
4165
4179
|
onChange: e(i)
|
|
4166
4180
|
}, {
|
|
4167
|
-
default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(
|
|
4181
|
+
default: o(() => [(S(!0), I(G, null, ee(e(m), (c) => (S(), T(w, {
|
|
4168
4182
|
key: c.value,
|
|
4169
4183
|
value: c.value
|
|
4170
4184
|
}, {
|
|
@@ -4201,8 +4215,8 @@ const Wl = /* @__PURE__ */ O({
|
|
|
4201
4215
|
}
|
|
4202
4216
|
}
|
|
4203
4217
|
], Zl = {
|
|
4204
|
-
install: (
|
|
4205
|
-
Reflect.ownKeys(
|
|
4218
|
+
install: (v) => {
|
|
4219
|
+
Reflect.ownKeys(v._context.provides).some((R) => String(R) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(v._context.provides));
|
|
4206
4220
|
},
|
|
4207
4221
|
version: "__VERSION__"
|
|
4208
4222
|
}, ea = /* @__PURE__ */ Object.assign({ "./views/admin/index.vue": () => import("./index-UtDarrUe.js"), "./views/language/index.vue": () => import("./index-CV4JohFl.js"), "./views/menu/index.vue": () => import("./index-DQqJ05PJ.js"), "./views/role/index.vue": () => import("./index-DM5SO2SX.js"), "./views/site/index.vue": () => Promise.resolve().then(() => El) });
|