auto-vue-basic 0.0.61 → 0.0.64
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 +177 -181
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/index.css +1 -1
- package/dist/types/types/config.d.ts +42 -0
- package/dist/version.js +1 -1
- package/package.json +2 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as T, createElementBlock as Q, openBlock as L, createElementVNode as P, toRef as te, resolveComponent as s, createBlock as q, unref as e, isRef as z, withCtx as t, createVNode as l, normalizeClass as he, toDisplayString as W, ref as K, Fragment as Y, withKeys as
|
|
2
|
-
import { ApiUtils as j, useLoading as $, useSelect as ne, Translate as a, InlineRefreshButton as ie, useForm as H, FormDialog as G, useCrudPage as F, DEFAULT_STATUS_KEY as ke, ModifyButton as J, DEFAULT_REMOVE_KEY as Ce, ProTable as pe, DEFAULT_PAGE_KEY as
|
|
1
|
+
import { defineComponent as T, createElementBlock as Q, openBlock as L, createElementVNode as P, toRef as te, resolveComponent as s, createBlock as q, unref as e, isRef as z, withCtx as t, createVNode as l, normalizeClass as he, toDisplayString as W, ref as K, Fragment as Y, withKeys as be, renderList as re, isVNode as Me, reactive as Ae, onMounted as De, watch as Le, nextTick as Se, createCommentVNode as qe, createTextVNode as X, onBeforeMount as Te } from "vue";
|
|
2
|
+
import { ApiUtils as j, useLoading as $, useSelect as ne, Translate as a, InlineRefreshButton as ie, useForm as H, FormDialog as G, useCrudPage as F, DEFAULT_STATUS_KEY as ke, ModifyButton as J, DEFAULT_REMOVE_KEY as Ce, ProTable as pe, DEFAULT_PAGE_KEY as fe, SearchButton as Z, RefreshButton as B, OpenButton as I, RulesUtils as Ee, BasicAvatar as Oe, TimeUtils as E, BasicDrawer as _e, ProTableList as ee, RequestButton as de, AssetsUtils as ve, notification as Fe, DEFAULT_LIST_URL as $e, REQUEST_LOG_URL as ze, ERROR_LOG_URL as Pe, SQL_LOG_URL as Be } from "auto-vue-manual";
|
|
3
3
|
const Ie = {
|
|
4
4
|
tops: "tops",
|
|
5
5
|
rules: "rules"
|
|
6
6
|
}, N = j.routineApi("menu", "id", Ie, {}, ["TOP_MENU_LIST", "MENU_LIST"]), we = j.routineApi("rule", "key");
|
|
7
|
-
/*! Element Plus Icons Vue v2.3.
|
|
7
|
+
/*! Element Plus Icons Vue v2.3.2 */
|
|
8
8
|
var Ne = /* @__PURE__ */ T({
|
|
9
9
|
name: "Key",
|
|
10
10
|
__name: "key",
|
|
@@ -21,7 +21,7 @@ var Ne = /* @__PURE__ */ T({
|
|
|
21
21
|
}
|
|
22
22
|
}), Ke = Ne;
|
|
23
23
|
const je = /* @__PURE__ */ T({
|
|
24
|
-
__name: "
|
|
24
|
+
__name: "TopMenuSelect",
|
|
25
25
|
props: {
|
|
26
26
|
modelValue: {
|
|
27
27
|
type: [Number, Array],
|
|
@@ -39,7 +39,7 @@ const je = /* @__PURE__ */ T({
|
|
|
39
39
|
const V = x, g = M, {
|
|
40
40
|
requesting: h
|
|
41
41
|
} = $(N), {
|
|
42
|
-
value:
|
|
42
|
+
value: b,
|
|
43
43
|
options: p,
|
|
44
44
|
change: i,
|
|
45
45
|
refresh: m,
|
|
@@ -51,11 +51,11 @@ const je = /* @__PURE__ */ T({
|
|
|
51
51
|
isArray: !0
|
|
52
52
|
});
|
|
53
53
|
return (w, u) => {
|
|
54
|
-
const
|
|
54
|
+
const f = s("el-space"), c = s("el-select-v2");
|
|
55
55
|
return L(), q(c, {
|
|
56
56
|
class: "w-full",
|
|
57
|
-
modelValue: e(
|
|
58
|
-
"onUpdate:modelValue": u[1] || (u[1] = (k) => z(
|
|
57
|
+
modelValue: e(b),
|
|
58
|
+
"onUpdate:modelValue": u[1] || (u[1] = (k) => z(b) ? b.value = k : null),
|
|
59
59
|
options: e(p),
|
|
60
60
|
multiple: M.multiple,
|
|
61
61
|
disabled: e(h),
|
|
@@ -70,7 +70,7 @@ const je = /* @__PURE__ */ T({
|
|
|
70
70
|
}, null, 8, ["loading"])]),
|
|
71
71
|
default: t(({
|
|
72
72
|
item: k
|
|
73
|
-
}) => [l(
|
|
73
|
+
}) => [l(f, null, {
|
|
74
74
|
default: t(() => [P("i", {
|
|
75
75
|
class: he(`icon iconfont ${k.icon}`)
|
|
76
76
|
}, null, 2), P("span", null, W(k.translate), 1)]),
|
|
@@ -105,7 +105,7 @@ const je = /* @__PURE__ */ T({
|
|
|
105
105
|
keep_alive: !1,
|
|
106
106
|
link: !1
|
|
107
107
|
}
|
|
108
|
-
},
|
|
108
|
+
}, b = {
|
|
109
109
|
sort: [
|
|
110
110
|
{
|
|
111
111
|
required: !0,
|
|
@@ -149,9 +149,9 @@ const je = /* @__PURE__ */ T({
|
|
|
149
149
|
trigger: "blur"
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
152
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, N);
|
|
153
153
|
return x({
|
|
154
|
-
open:
|
|
154
|
+
open: f,
|
|
155
155
|
modify: c
|
|
156
156
|
}), (v, o) => {
|
|
157
157
|
const r = s("el-form-item"), d = s("el-col"), y = s("el-input-number"), _ = s("el-row"), D = s("el-input"), R = s("el-switch"), S = s("el-form");
|
|
@@ -170,7 +170,7 @@ const je = /* @__PURE__ */ T({
|
|
|
170
170
|
ref: m,
|
|
171
171
|
model: e(n),
|
|
172
172
|
"label-width": "auto",
|
|
173
|
-
rules:
|
|
173
|
+
rules: b,
|
|
174
174
|
disabled: e(w) || e(u)
|
|
175
175
|
}, {
|
|
176
176
|
default: t(() => [
|
|
@@ -180,7 +180,7 @@ const je = /* @__PURE__ */ T({
|
|
|
180
180
|
default: t(() => [
|
|
181
181
|
l(_, { gutter: 10 }, {
|
|
182
182
|
default: t(() => [
|
|
183
|
-
l(d, { span:
|
|
183
|
+
l(d, { span: 14 }, {
|
|
184
184
|
default: t(() => [
|
|
185
185
|
l(r, {
|
|
186
186
|
label: e(a)("base.parent"),
|
|
@@ -197,9 +197,10 @@ const je = /* @__PURE__ */ T({
|
|
|
197
197
|
]),
|
|
198
198
|
_: 1
|
|
199
199
|
}),
|
|
200
|
-
l(d, { span:
|
|
200
|
+
l(d, { span: 10 }, {
|
|
201
201
|
default: t(() => [
|
|
202
202
|
l(r, {
|
|
203
|
+
"label-width": "60px",
|
|
203
204
|
label: e(a)("base.sort"),
|
|
204
205
|
prop: "sort"
|
|
205
206
|
}, {
|
|
@@ -475,7 +476,7 @@ const je = /* @__PURE__ */ T({
|
|
|
475
476
|
const V = x, g = M, {
|
|
476
477
|
requesting: h
|
|
477
478
|
} = $(N), {
|
|
478
|
-
value:
|
|
479
|
+
value: b,
|
|
479
480
|
options: p,
|
|
480
481
|
change: i,
|
|
481
482
|
refresh: m,
|
|
@@ -486,11 +487,11 @@ const je = /* @__PURE__ */ T({
|
|
|
486
487
|
isArray: !0
|
|
487
488
|
});
|
|
488
489
|
return (w, u) => {
|
|
489
|
-
const
|
|
490
|
+
const f = s("el-space"), c = s("el-select-v2");
|
|
490
491
|
return L(), q(c, {
|
|
491
492
|
class: "w-full",
|
|
492
|
-
modelValue: e(
|
|
493
|
-
"onUpdate:modelValue": u[1] || (u[1] = (k) => z(
|
|
493
|
+
modelValue: e(b),
|
|
494
|
+
"onUpdate:modelValue": u[1] || (u[1] = (k) => z(b) ? b.value = k : null),
|
|
494
495
|
options: e(p),
|
|
495
496
|
multiple: M.multiple,
|
|
496
497
|
disabled: e(h),
|
|
@@ -505,7 +506,7 @@ const je = /* @__PURE__ */ T({
|
|
|
505
506
|
}, null, 8, ["loading"])]),
|
|
506
507
|
default: t(({
|
|
507
508
|
item: k
|
|
508
|
-
}) => [l(
|
|
509
|
+
}) => [l(f, null, {
|
|
509
510
|
default: t(() => [P("i", {
|
|
510
511
|
class: he(`icon iconfont ${k.icon}`)
|
|
511
512
|
}, null, 2), P("span", null, W(k.translate), 1)]),
|
|
@@ -527,7 +528,7 @@ const je = /* @__PURE__ */ T({
|
|
|
527
528
|
en_name: "",
|
|
528
529
|
urls: "",
|
|
529
530
|
remark: ""
|
|
530
|
-
},
|
|
531
|
+
}, b = {
|
|
531
532
|
menu_id: [
|
|
532
533
|
{
|
|
533
534
|
required: !0,
|
|
@@ -565,9 +566,9 @@ const je = /* @__PURE__ */ T({
|
|
|
565
566
|
trigger: "blur"
|
|
566
567
|
}
|
|
567
568
|
]
|
|
568
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
569
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, we);
|
|
569
570
|
return x({
|
|
570
|
-
open:
|
|
571
|
+
open: f,
|
|
571
572
|
modify: c
|
|
572
573
|
}), (v, o) => {
|
|
573
574
|
const r = s("el-form-item"), d = s("el-input-number"), y = s("el-input"), _ = s("el-col"), D = s("el-row"), R = s("el-form");
|
|
@@ -586,7 +587,7 @@ const je = /* @__PURE__ */ T({
|
|
|
586
587
|
ref: m,
|
|
587
588
|
model: e(n),
|
|
588
589
|
"label-width": "auto",
|
|
589
|
-
rules:
|
|
590
|
+
rules: b,
|
|
590
591
|
disabled: e(w) || e(u)
|
|
591
592
|
}, {
|
|
592
593
|
default: t(() => [
|
|
@@ -825,7 +826,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
825
826
|
row: o
|
|
826
827
|
}) => l(J, {
|
|
827
828
|
size: "default",
|
|
828
|
-
onModify: () =>
|
|
829
|
+
onModify: () => f({
|
|
829
830
|
id: o.id
|
|
830
831
|
})
|
|
831
832
|
}, null)
|
|
@@ -833,14 +834,14 @@ const vl = /* @__PURE__ */ T({
|
|
|
833
834
|
], {
|
|
834
835
|
requesting: h
|
|
835
836
|
} = $(N), {
|
|
836
|
-
tableRef:
|
|
837
|
+
tableRef: b,
|
|
837
838
|
formModalRef: p,
|
|
838
839
|
keyword: i,
|
|
839
840
|
search: m,
|
|
840
841
|
refresh: n,
|
|
841
842
|
reset: w,
|
|
842
843
|
openFormModal: u,
|
|
843
|
-
editFormModal:
|
|
844
|
+
editFormModal: f
|
|
844
845
|
} = F(x), {
|
|
845
846
|
formModalRef: c,
|
|
846
847
|
openFormModal: k,
|
|
@@ -881,7 +882,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
881
882
|
"onUpdate:modelValue": r[0] || (r[0] = (C) => e(i).keyword = C),
|
|
882
883
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
883
884
|
clearable: "",
|
|
884
|
-
onKeyup: r[1] || (r[1] =
|
|
885
|
+
onKeyup: r[1] || (r[1] = be((C) => e(m)(), ["enter"])),
|
|
885
886
|
onClear: r[2] || (r[2] = (C) => e(m)())
|
|
886
887
|
}, null, 8, ["modelValue", "placeholder"]), l(D, {
|
|
887
888
|
modelValue: e(i).status,
|
|
@@ -904,10 +905,10 @@ const vl = /* @__PURE__ */ T({
|
|
|
904
905
|
})]),
|
|
905
906
|
default: t(() => [l(e(pe), {
|
|
906
907
|
ref_key: "tableRef",
|
|
907
|
-
ref:
|
|
908
|
+
ref: b,
|
|
908
909
|
size: "small",
|
|
909
910
|
columns: g,
|
|
910
|
-
url: e(N).urls[e(
|
|
911
|
+
url: e(N).urls[e(fe)],
|
|
911
912
|
"search-param": e(i),
|
|
912
913
|
"auto-search": ""
|
|
913
914
|
}, null, 8, ["url", "search-param"]), l(We, {
|
|
@@ -931,13 +932,13 @@ const vl = /* @__PURE__ */ T({
|
|
|
931
932
|
},
|
|
932
933
|
emits: ["update:modelValue"],
|
|
933
934
|
setup(M, { expose: x, emit: V }) {
|
|
934
|
-
const { requesting: g } = $(N), h = M,
|
|
935
|
+
const { requesting: g } = $(N), h = M, b = V, p = K(!1), i = Ae({
|
|
935
936
|
checkAll: !1,
|
|
936
937
|
indeterminate: !1,
|
|
937
938
|
MenuAll: {},
|
|
938
939
|
MenuList: {},
|
|
939
940
|
MenuIndeterminate: {}
|
|
940
|
-
}), { options: m, refresh: n } = ne(te(h, "modelValue"),
|
|
941
|
+
}), { options: m, refresh: n } = ne(te(h, "modelValue"), b, { key: "RULE_CHECK", api: N, url: N.urls.rules, isArray: !0 }, { autoRefresh: !1 });
|
|
941
942
|
function w() {
|
|
942
943
|
m.value.forEach((v) => {
|
|
943
944
|
var o;
|
|
@@ -950,7 +951,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
950
951
|
(r = o.rules) != null && r.length && (i.MenuList[o.id] = v ? o.rules.map((d) => d.key) : []);
|
|
951
952
|
}), c();
|
|
952
953
|
}
|
|
953
|
-
function
|
|
954
|
+
function f(v, o) {
|
|
954
955
|
const r = m.value.find((d) => d.id === o);
|
|
955
956
|
i.MenuList[o] = v && r ? r.rules.map((d) => d.key) : [], c();
|
|
956
957
|
}
|
|
@@ -959,10 +960,10 @@ const vl = /* @__PURE__ */ T({
|
|
|
959
960
|
var d, y;
|
|
960
961
|
const o = ((d = v.rules) == null ? void 0 : d.length) || 0, r = ((y = i.MenuList[v.id]) == null ? void 0 : y.length) || 0;
|
|
961
962
|
i.MenuAll[v.id] = r === o && o > 0, i.MenuIndeterminate[v.id] = r > 0 && r < o;
|
|
962
|
-
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((v) => v.length > 0),
|
|
963
|
+
}), i.checkAll = Object.values(i.MenuAll).every(Boolean), i.indeterminate = !i.checkAll && Object.values(i.MenuList).some((v) => v.length > 0), b("update:modelValue", Object.values(i.MenuList).flat());
|
|
963
964
|
}
|
|
964
965
|
function k() {
|
|
965
|
-
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, w(),
|
|
966
|
+
i.checkAll = !1, i.indeterminate = !1, i.MenuAll = {}, i.MenuList = {}, i.MenuIndeterminate = {}, w(), b("update:modelValue", []), p.value = !1;
|
|
966
967
|
}
|
|
967
968
|
function U(v) {
|
|
968
969
|
var o;
|
|
@@ -1001,11 +1002,10 @@ const vl = /* @__PURE__ */ T({
|
|
|
1001
1002
|
disabled: M.disabled,
|
|
1002
1003
|
onChange: u
|
|
1003
1004
|
}, {
|
|
1004
|
-
default: t(() => o[1] || (o[1] = [
|
|
1005
|
+
default: t(() => [...o[1] || (o[1] = [
|
|
1005
1006
|
P("span", null, "全选", -1)
|
|
1006
|
-
])),
|
|
1007
|
-
_: 1
|
|
1008
|
-
__: [1]
|
|
1007
|
+
])]),
|
|
1008
|
+
_: 1
|
|
1009
1009
|
}, 8, ["model-value", "indeterminate", "disabled"]),
|
|
1010
1010
|
l(e(B), {
|
|
1011
1011
|
loading: e(g),
|
|
@@ -1035,7 +1035,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1035
1035
|
"model-value": i.MenuAll[R.id],
|
|
1036
1036
|
disabled: M.disabled || !R.rules || R.rules.length <= 0,
|
|
1037
1037
|
indeterminate: i.MenuIndeterminate[R.id],
|
|
1038
|
-
onChange: (S) =>
|
|
1038
|
+
onChange: (S) => f(S, R.id)
|
|
1039
1039
|
}, {
|
|
1040
1040
|
default: t(() => [
|
|
1041
1041
|
l(y, { style: { "font-size": "15px" } }, {
|
|
@@ -1088,7 +1088,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1088
1088
|
__name: "RoleFormModal",
|
|
1089
1089
|
emits: ["refresh"],
|
|
1090
1090
|
setup(M, { expose: x, emit: V }) {
|
|
1091
|
-
const g = V, h = K(),
|
|
1091
|
+
const g = V, h = K(), b = {
|
|
1092
1092
|
key: "",
|
|
1093
1093
|
module: "",
|
|
1094
1094
|
sort: 0,
|
|
@@ -1111,7 +1111,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1111
1111
|
trigger: "blur"
|
|
1112
1112
|
}
|
|
1113
1113
|
]
|
|
1114
|
-
}, { modal: i, title: m, form: n, formData: w, requesting: u, executing:
|
|
1114
|
+
}, { modal: i, title: m, form: n, formData: w, requesting: u, executing: f, open: c, modify: k, submit: U, closed: v } = H(g, b, ce), o = () => {
|
|
1115
1115
|
var r;
|
|
1116
1116
|
(r = h.value) == null || r.cleanChecked(), v();
|
|
1117
1117
|
};
|
|
@@ -1125,7 +1125,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1125
1125
|
"onUpdate:modelValue": d[6] || (d[6] = (C) => z(i) ? i.value = C : null),
|
|
1126
1126
|
title: e(m)(),
|
|
1127
1127
|
width: "1000px",
|
|
1128
|
-
executing: e(
|
|
1128
|
+
executing: e(f),
|
|
1129
1129
|
onClosed: o,
|
|
1130
1130
|
onSubmit: e(U)
|
|
1131
1131
|
}, {
|
|
@@ -1136,7 +1136,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1136
1136
|
model: e(w),
|
|
1137
1137
|
"label-width": "auto",
|
|
1138
1138
|
rules: p,
|
|
1139
|
-
disabled: e(u) || e(
|
|
1139
|
+
disabled: e(u) || e(f)
|
|
1140
1140
|
}, {
|
|
1141
1141
|
default: t(() => [
|
|
1142
1142
|
l(S, { gutter: 20 }, {
|
|
@@ -1231,7 +1231,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1231
1231
|
ref: h,
|
|
1232
1232
|
modelValue: e(w).rules,
|
|
1233
1233
|
"onUpdate:modelValue": d[5] || (d[5] = (C) => e(w).rules = C),
|
|
1234
|
-
disabled: e(u) || e(
|
|
1234
|
+
disabled: e(u) || e(f)
|
|
1235
1235
|
}, null, 8, ["modelValue", "disabled"])
|
|
1236
1236
|
]),
|
|
1237
1237
|
_: 1
|
|
@@ -1282,11 +1282,11 @@ const vl = /* @__PURE__ */ T({
|
|
|
1282
1282
|
width: 65,
|
|
1283
1283
|
align: "center",
|
|
1284
1284
|
render: ({
|
|
1285
|
-
row:
|
|
1285
|
+
row: f
|
|
1286
1286
|
}) => l(J, {
|
|
1287
1287
|
size: "default",
|
|
1288
1288
|
onModify: () => u({
|
|
1289
|
-
key:
|
|
1289
|
+
key: f.key
|
|
1290
1290
|
})
|
|
1291
1291
|
}, null)
|
|
1292
1292
|
}
|
|
@@ -1294,7 +1294,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1294
1294
|
requesting: g
|
|
1295
1295
|
} = $(ce), {
|
|
1296
1296
|
tableRef: h,
|
|
1297
|
-
formModalRef:
|
|
1297
|
+
formModalRef: b,
|
|
1298
1298
|
keyword: p,
|
|
1299
1299
|
search: i,
|
|
1300
1300
|
reset: m,
|
|
@@ -1302,7 +1302,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1302
1302
|
openFormModal: w,
|
|
1303
1303
|
editFormModal: u
|
|
1304
1304
|
} = F(x);
|
|
1305
|
-
return (
|
|
1305
|
+
return (f, c) => {
|
|
1306
1306
|
const k = s("el-input"), U = s("el-space"), v = s("el-page-header"), o = s("el-card");
|
|
1307
1307
|
return L(), q(o, {
|
|
1308
1308
|
class: "basic-card flex-full",
|
|
@@ -1326,7 +1326,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1326
1326
|
"onUpdate:modelValue": c[0] || (c[0] = (r) => e(p).keyword = r),
|
|
1327
1327
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
1328
1328
|
clearable: "",
|
|
1329
|
-
onKeyup: c[1] || (c[1] =
|
|
1329
|
+
onKeyup: c[1] || (c[1] = be((r) => e(i)(), ["enter"])),
|
|
1330
1330
|
onClear: c[2] || (c[2] = (r) => e(i)())
|
|
1331
1331
|
}, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
|
|
1332
1332
|
disabled: e(g),
|
|
@@ -1340,12 +1340,12 @@ const vl = /* @__PURE__ */ T({
|
|
|
1340
1340
|
ref_key: "tableRef",
|
|
1341
1341
|
ref: h,
|
|
1342
1342
|
columns: V,
|
|
1343
|
-
url: e(ce).urls[e(
|
|
1343
|
+
url: e(ce).urls[e(fe)],
|
|
1344
1344
|
"search-param": e(p),
|
|
1345
1345
|
"auto-search": ""
|
|
1346
1346
|
}, null, 8, ["url", "search-param"]), l(Ze, {
|
|
1347
1347
|
ref_key: "formModalRef",
|
|
1348
|
-
ref:
|
|
1348
|
+
ref: b,
|
|
1349
1349
|
onRefresh: e(n)
|
|
1350
1350
|
}, null, 8, ["onRefresh"])]),
|
|
1351
1351
|
_: 1
|
|
@@ -1363,7 +1363,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1363
1363
|
language: "",
|
|
1364
1364
|
result: "",
|
|
1365
1365
|
remark: ""
|
|
1366
|
-
},
|
|
1366
|
+
}, b = {
|
|
1367
1367
|
module: [
|
|
1368
1368
|
{
|
|
1369
1369
|
required: !0,
|
|
@@ -1392,9 +1392,9 @@ const vl = /* @__PURE__ */ T({
|
|
|
1392
1392
|
trigger: "blur"
|
|
1393
1393
|
}
|
|
1394
1394
|
]
|
|
1395
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
1395
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, me);
|
|
1396
1396
|
return x({
|
|
1397
|
-
open:
|
|
1397
|
+
open: f,
|
|
1398
1398
|
modify: c
|
|
1399
1399
|
}), (v, o) => {
|
|
1400
1400
|
const r = s("el-input"), d = s("el-form-item"), y = s("el-radio-button"), _ = s("el-radio-group"), D = s("el-form");
|
|
@@ -1413,7 +1413,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1413
1413
|
ref: m,
|
|
1414
1414
|
model: e(n),
|
|
1415
1415
|
"label-width": "auto",
|
|
1416
|
-
rules:
|
|
1416
|
+
rules: b,
|
|
1417
1417
|
disabled: e(w) || e(u)
|
|
1418
1418
|
}, {
|
|
1419
1419
|
default: t(() => [
|
|
@@ -1457,18 +1457,16 @@ const vl = /* @__PURE__ */ T({
|
|
|
1457
1457
|
}, {
|
|
1458
1458
|
default: t(() => [
|
|
1459
1459
|
l(y, { label: "zh-CN" }, {
|
|
1460
|
-
default: t(() => o[6] || (o[6] = [
|
|
1461
|
-
X("zh-CN")
|
|
1462
|
-
])),
|
|
1463
|
-
_: 1
|
|
1464
|
-
__: [6]
|
|
1460
|
+
default: t(() => [...o[6] || (o[6] = [
|
|
1461
|
+
X("zh-CN", -1)
|
|
1462
|
+
])]),
|
|
1463
|
+
_: 1
|
|
1465
1464
|
}),
|
|
1466
1465
|
l(y, { label: "en-US" }, {
|
|
1467
|
-
default: t(() => o[7] || (o[7] = [
|
|
1468
|
-
X("en-US")
|
|
1469
|
-
])),
|
|
1470
|
-
_: 1
|
|
1471
|
-
__: [7]
|
|
1466
|
+
default: t(() => [...o[7] || (o[7] = [
|
|
1467
|
+
X("en-US", -1)
|
|
1468
|
+
])]),
|
|
1469
|
+
_: 1
|
|
1472
1470
|
})
|
|
1473
1471
|
]),
|
|
1474
1472
|
_: 1
|
|
@@ -1562,17 +1560,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
1562
1560
|
width: 80,
|
|
1563
1561
|
align: "center",
|
|
1564
1562
|
render: ({
|
|
1565
|
-
row:
|
|
1563
|
+
row: f
|
|
1566
1564
|
}) => l(J, {
|
|
1567
1565
|
onModify: () => u({
|
|
1568
|
-
id:
|
|
1566
|
+
id: f.id
|
|
1569
1567
|
})
|
|
1570
1568
|
}, null)
|
|
1571
1569
|
}], {
|
|
1572
1570
|
requesting: g
|
|
1573
1571
|
} = $(me), {
|
|
1574
1572
|
tableRef: h,
|
|
1575
|
-
formModalRef:
|
|
1573
|
+
formModalRef: b,
|
|
1576
1574
|
keyword: p,
|
|
1577
1575
|
search: i,
|
|
1578
1576
|
reset: m,
|
|
@@ -1580,7 +1578,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1580
1578
|
openFormModal: w,
|
|
1581
1579
|
editFormModal: u
|
|
1582
1580
|
} = F(x);
|
|
1583
|
-
return (
|
|
1581
|
+
return (f, c) => {
|
|
1584
1582
|
const k = s("el-input"), U = s("el-radio-button"), v = s("el-radio-group"), o = s("el-space"), r = s("el-page-header"), d = s("el-card");
|
|
1585
1583
|
return L(), q(d, {
|
|
1586
1584
|
class: "basic-card flex-full",
|
|
@@ -1604,7 +1602,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1604
1602
|
"onUpdate:modelValue": c[0] || (c[0] = (y) => e(p).keyword = y),
|
|
1605
1603
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
1606
1604
|
clearable: "",
|
|
1607
|
-
onKeyup: c[1] || (c[1] =
|
|
1605
|
+
onKeyup: c[1] || (c[1] = be((y) => e(i)(), ["enter"])),
|
|
1608
1606
|
onClear: c[2] || (c[2] = (y) => e(i)())
|
|
1609
1607
|
}, null, 8, ["modelValue", "placeholder"]), l(v, {
|
|
1610
1608
|
modelValue: e(p).status,
|
|
@@ -1630,12 +1628,12 @@ const vl = /* @__PURE__ */ T({
|
|
|
1630
1628
|
ref: h,
|
|
1631
1629
|
size: "small",
|
|
1632
1630
|
columns: V,
|
|
1633
|
-
url: e(me).urls[e(
|
|
1631
|
+
url: e(me).urls[e(fe)],
|
|
1634
1632
|
"search-param": e(p),
|
|
1635
1633
|
"auto-search": ""
|
|
1636
1634
|
}, null, 8, ["url", "search-param"]), l(el, {
|
|
1637
1635
|
ref_key: "formModalRef",
|
|
1638
|
-
ref:
|
|
1636
|
+
ref: b,
|
|
1639
1637
|
onRefresh: e(n)
|
|
1640
1638
|
}, null, 8, ["onRefresh"])]),
|
|
1641
1639
|
_: 1
|
|
@@ -1655,7 +1653,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1655
1653
|
language: "zh-CN",
|
|
1656
1654
|
remark: "",
|
|
1657
1655
|
roles: []
|
|
1658
|
-
}, { modal:
|
|
1656
|
+
}, { modal: b, title: p, form: i, formData: m, requesting: n, executing: w, open: u, modify: f, submit: c, closed: k } = H(g, h, ge), U = {
|
|
1659
1657
|
username: [
|
|
1660
1658
|
{
|
|
1661
1659
|
required: !0,
|
|
@@ -1708,12 +1706,12 @@ const vl = /* @__PURE__ */ T({
|
|
|
1708
1706
|
await o();
|
|
1709
1707
|
}), x({
|
|
1710
1708
|
open: u,
|
|
1711
|
-
modify:
|
|
1709
|
+
modify: f
|
|
1712
1710
|
}), (r, d) => {
|
|
1713
1711
|
const y = s("el-input"), _ = s("el-form-item"), D = s("el-radio-button"), R = s("el-radio-group"), S = s("el-checkbox"), A = s("el-checkbox-group"), C = s("el-form");
|
|
1714
1712
|
return L(), q(e(G), {
|
|
1715
|
-
modelValue: e(
|
|
1716
|
-
"onUpdate:modelValue": d[7] || (d[7] = (O) => z(
|
|
1713
|
+
modelValue: e(b),
|
|
1714
|
+
"onUpdate:modelValue": d[7] || (d[7] = (O) => z(b) ? b.value = O : null),
|
|
1717
1715
|
title: e(p)(),
|
|
1718
1716
|
width: "600px",
|
|
1719
1717
|
executing: e(w),
|
|
@@ -1798,18 +1796,16 @@ const vl = /* @__PURE__ */ T({
|
|
|
1798
1796
|
}, {
|
|
1799
1797
|
default: t(() => [
|
|
1800
1798
|
l(D, { value: "zh-CN" }, {
|
|
1801
|
-
default: t(() => d[8] || (d[8] = [
|
|
1802
|
-
X("zh-CN")
|
|
1803
|
-
])),
|
|
1804
|
-
_: 1
|
|
1805
|
-
__: [8]
|
|
1799
|
+
default: t(() => [...d[8] || (d[8] = [
|
|
1800
|
+
X("zh-CN", -1)
|
|
1801
|
+
])]),
|
|
1802
|
+
_: 1
|
|
1806
1803
|
}),
|
|
1807
1804
|
l(D, { value: "en-US" }, {
|
|
1808
|
-
default: t(() => d[9] || (d[9] = [
|
|
1809
|
-
X("en-US")
|
|
1810
|
-
])),
|
|
1811
|
-
_: 1
|
|
1812
|
-
__: [9]
|
|
1805
|
+
default: t(() => [...d[9] || (d[9] = [
|
|
1806
|
+
X("en-US", -1)
|
|
1807
|
+
])]),
|
|
1808
|
+
_: 1
|
|
1813
1809
|
})
|
|
1814
1810
|
]),
|
|
1815
1811
|
_: 1
|
|
@@ -1873,21 +1869,21 @@ const vl = /* @__PURE__ */ T({
|
|
|
1873
1869
|
prop: "avatar",
|
|
1874
1870
|
width: 60,
|
|
1875
1871
|
render: ({
|
|
1876
|
-
row:
|
|
1872
|
+
row: f
|
|
1877
1873
|
}) => l(Oe, {
|
|
1878
|
-
src:
|
|
1874
|
+
src: f.avatar
|
|
1879
1875
|
}, null)
|
|
1880
1876
|
}, {
|
|
1881
1877
|
label: a("base.user"),
|
|
1882
1878
|
width: 200,
|
|
1883
1879
|
align: "left",
|
|
1884
1880
|
render: ({
|
|
1885
|
-
row:
|
|
1881
|
+
row: f
|
|
1886
1882
|
}) => l(s("el-space"), {
|
|
1887
1883
|
direction: "vertical",
|
|
1888
1884
|
alignment: "start"
|
|
1889
1885
|
}, {
|
|
1890
|
-
default: () => [l("div", null, [
|
|
1886
|
+
default: () => [l("div", null, [f.username]), l("div", null, [f.email])]
|
|
1891
1887
|
})
|
|
1892
1888
|
}, {
|
|
1893
1889
|
label: a("base.phone"),
|
|
@@ -1915,17 +1911,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
1915
1911
|
width: 80,
|
|
1916
1912
|
align: "center",
|
|
1917
1913
|
render: ({
|
|
1918
|
-
row:
|
|
1914
|
+
row: f
|
|
1919
1915
|
}) => l(J, {
|
|
1920
1916
|
onModify: () => u({
|
|
1921
|
-
key:
|
|
1917
|
+
key: f.key
|
|
1922
1918
|
})
|
|
1923
1919
|
}, null)
|
|
1924
1920
|
}], {
|
|
1925
1921
|
requesting: g
|
|
1926
1922
|
} = $(ge), {
|
|
1927
1923
|
tableRef: h,
|
|
1928
|
-
formModalRef:
|
|
1924
|
+
formModalRef: b,
|
|
1929
1925
|
keyword: p,
|
|
1930
1926
|
search: i,
|
|
1931
1927
|
reset: m,
|
|
@@ -1933,7 +1929,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1933
1929
|
openFormModal: w,
|
|
1934
1930
|
editFormModal: u
|
|
1935
1931
|
} = F(x);
|
|
1936
|
-
return (
|
|
1932
|
+
return (f, c) => {
|
|
1937
1933
|
const k = s("el-input"), U = s("el-space"), v = s("el-page-header"), o = s("el-card");
|
|
1938
1934
|
return L(), q(o, {
|
|
1939
1935
|
class: "basic-card flex-full",
|
|
@@ -1957,7 +1953,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
1957
1953
|
"onUpdate:modelValue": c[0] || (c[0] = (r) => e(p).keyword = r),
|
|
1958
1954
|
placeholder: e(a)("base.placeholder.keyword"),
|
|
1959
1955
|
clearable: "",
|
|
1960
|
-
onKeyup: c[1] || (c[1] =
|
|
1956
|
+
onKeyup: c[1] || (c[1] = be((r) => e(i)(), ["enter"])),
|
|
1961
1957
|
onClear: c[2] || (c[2] = (r) => e(i)())
|
|
1962
1958
|
}, null, 8, ["modelValue", "placeholder"]), l(e(Z), {
|
|
1963
1959
|
disabled: e(g),
|
|
@@ -1972,12 +1968,12 @@ const vl = /* @__PURE__ */ T({
|
|
|
1972
1968
|
ref: h,
|
|
1973
1969
|
size: "small",
|
|
1974
1970
|
columns: V,
|
|
1975
|
-
url: e(ge).urls[e(
|
|
1971
|
+
url: e(ge).urls[e(fe)],
|
|
1976
1972
|
"search-param": e(p),
|
|
1977
1973
|
"auto-search": ""
|
|
1978
1974
|
}, null, 8, ["url", "search-param"]), l(ll, {
|
|
1979
1975
|
ref_key: "formModalRef",
|
|
1980
|
-
ref:
|
|
1976
|
+
ref: b,
|
|
1981
1977
|
onRefresh: e(n)
|
|
1982
1978
|
}, null, 8, ["onRefresh"])]),
|
|
1983
1979
|
_: 1
|
|
@@ -2004,7 +2000,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2004
2000
|
emit: V
|
|
2005
2001
|
}) {
|
|
2006
2002
|
const g = V, h = M, {
|
|
2007
|
-
requesting:
|
|
2003
|
+
requesting: b
|
|
2008
2004
|
} = $(se), {
|
|
2009
2005
|
key: p,
|
|
2010
2006
|
options: i,
|
|
@@ -2018,17 +2014,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
2018
2014
|
return x({
|
|
2019
2015
|
refresh: m
|
|
2020
2016
|
}), (w, u) => {
|
|
2021
|
-
const
|
|
2022
|
-
return L(), q(
|
|
2017
|
+
const f = s("el-select-v2");
|
|
2018
|
+
return L(), q(f, {
|
|
2023
2019
|
modelValue: e(p),
|
|
2024
2020
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
|
|
2025
2021
|
options: e(i),
|
|
2026
|
-
disabled: M.disabled || e(
|
|
2022
|
+
disabled: M.disabled || e(b),
|
|
2027
2023
|
placeholder: e(a)("base.select config.domain"),
|
|
2028
2024
|
onChange: e(n)
|
|
2029
2025
|
}, {
|
|
2030
2026
|
prefix: t(() => [l(e(ie), {
|
|
2031
|
-
loading: e(
|
|
2027
|
+
loading: e(b),
|
|
2032
2028
|
onRefresh: e(m)
|
|
2033
2029
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2034
2030
|
_: 1
|
|
@@ -2049,14 +2045,14 @@ const vl = /* @__PURE__ */ T({
|
|
|
2049
2045
|
git: "",
|
|
2050
2046
|
status: 1,
|
|
2051
2047
|
remark: ""
|
|
2052
|
-
},
|
|
2048
|
+
}, b = {
|
|
2053
2049
|
domain_id: [{ required: !0, message: a("base.placeholder.input config.domain"), trigger: "blur" }],
|
|
2054
2050
|
prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
|
|
2055
2051
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
|
|
2056
2052
|
en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
|
|
2057
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
2053
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, le);
|
|
2058
2054
|
return x({
|
|
2059
|
-
open:
|
|
2055
|
+
open: f,
|
|
2060
2056
|
modify: c
|
|
2061
2057
|
}), (v, o) => {
|
|
2062
2058
|
const r = s("el-form-item"), d = s("el-input"), y = s("el-form");
|
|
@@ -2075,7 +2071,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2075
2071
|
ref: m,
|
|
2076
2072
|
model: e(n),
|
|
2077
2073
|
"label-width": "auto",
|
|
2078
|
-
rules:
|
|
2074
|
+
rules: b,
|
|
2079
2075
|
disabled: e(w) || e(u)
|
|
2080
2076
|
}, {
|
|
2081
2077
|
default: t(() => [
|
|
@@ -2202,7 +2198,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2202
2198
|
emit: V
|
|
2203
2199
|
}) {
|
|
2204
2200
|
const g = V, h = M, {
|
|
2205
|
-
requesting:
|
|
2201
|
+
requesting: b
|
|
2206
2202
|
} = $(ue), {
|
|
2207
2203
|
key: p,
|
|
2208
2204
|
options: i,
|
|
@@ -2216,17 +2212,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
2216
2212
|
return x({
|
|
2217
2213
|
refresh: m
|
|
2218
2214
|
}), (w, u) => {
|
|
2219
|
-
const
|
|
2220
|
-
return L(), q(
|
|
2215
|
+
const f = s("el-select-v2");
|
|
2216
|
+
return L(), q(f, {
|
|
2221
2217
|
modelValue: e(p),
|
|
2222
2218
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
|
|
2223
2219
|
options: e(i),
|
|
2224
|
-
disabled: M.disabled || e(
|
|
2220
|
+
disabled: M.disabled || e(b),
|
|
2225
2221
|
placeholder: e(a)("base.select config.domain config.provider"),
|
|
2226
2222
|
onChange: e(n)
|
|
2227
2223
|
}, {
|
|
2228
2224
|
prefix: t(() => [l(e(ie), {
|
|
2229
|
-
loading: e(
|
|
2225
|
+
loading: e(b),
|
|
2230
2226
|
onRefresh: e(m)
|
|
2231
2227
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2232
2228
|
_: 1
|
|
@@ -2244,12 +2240,12 @@ const vl = /* @__PURE__ */ T({
|
|
|
2244
2240
|
expired_at: "",
|
|
2245
2241
|
status: 1,
|
|
2246
2242
|
remark: ""
|
|
2247
|
-
},
|
|
2243
|
+
}, b = {
|
|
2248
2244
|
provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2249
2245
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
|
|
2250
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
2246
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, se);
|
|
2251
2247
|
return x({
|
|
2252
|
-
open:
|
|
2248
|
+
open: f,
|
|
2253
2249
|
modify: c
|
|
2254
2250
|
}), (v, o) => {
|
|
2255
2251
|
const r = s("el-form-item"), d = s("el-input"), y = s("el-date-picker"), _ = s("el-form");
|
|
@@ -2268,7 +2264,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2268
2264
|
ref: m,
|
|
2269
2265
|
model: e(n),
|
|
2270
2266
|
"label-width": "auto",
|
|
2271
|
-
rules:
|
|
2267
|
+
rules: b,
|
|
2272
2268
|
disabled: e(w) || e(u)
|
|
2273
2269
|
}, {
|
|
2274
2270
|
default: t(() => [
|
|
@@ -2360,7 +2356,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2360
2356
|
emit: V
|
|
2361
2357
|
}) {
|
|
2362
2358
|
const g = V, h = M, {
|
|
2363
|
-
requesting:
|
|
2359
|
+
requesting: b
|
|
2364
2360
|
} = $(le), {
|
|
2365
2361
|
key: p,
|
|
2366
2362
|
options: i,
|
|
@@ -2372,10 +2368,10 @@ const vl = /* @__PURE__ */ T({
|
|
|
2372
2368
|
isArray: !0
|
|
2373
2369
|
}, {
|
|
2374
2370
|
formatOptions: (w) => w.map((u) => {
|
|
2375
|
-
var
|
|
2371
|
+
var f;
|
|
2376
2372
|
return {
|
|
2377
2373
|
...u,
|
|
2378
|
-
label: u.prefix + "." + ((
|
|
2374
|
+
label: u.prefix + "." + ((f = u.domain) == null ? void 0 : f.name),
|
|
2379
2375
|
value: u.id
|
|
2380
2376
|
};
|
|
2381
2377
|
})
|
|
@@ -2383,17 +2379,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
2383
2379
|
return x({
|
|
2384
2380
|
refresh: m
|
|
2385
2381
|
}), (w, u) => {
|
|
2386
|
-
const
|
|
2387
|
-
return L(), q(
|
|
2382
|
+
const f = s("el-select-v2");
|
|
2383
|
+
return L(), q(f, {
|
|
2388
2384
|
modelValue: e(p),
|
|
2389
2385
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => z(p) ? p.value = c : null),
|
|
2390
2386
|
options: e(i),
|
|
2391
|
-
disabled: M.disabled || e(
|
|
2387
|
+
disabled: M.disabled || e(b),
|
|
2392
2388
|
placeholder: e(a)("base.select config.domain"),
|
|
2393
2389
|
onChange: e(n)
|
|
2394
2390
|
}, {
|
|
2395
2391
|
prefix: t(() => [l(e(ie), {
|
|
2396
|
-
loading: e(
|
|
2392
|
+
loading: e(b),
|
|
2397
2393
|
onRefresh: e(m)
|
|
2398
2394
|
}, null, 8, ["loading", "onRefresh"])]),
|
|
2399
2395
|
_: 1
|
|
@@ -2414,16 +2410,16 @@ const vl = /* @__PURE__ */ T({
|
|
|
2414
2410
|
email: "",
|
|
2415
2411
|
encryption: "RSA2048",
|
|
2416
2412
|
remark: ""
|
|
2417
|
-
},
|
|
2413
|
+
}, b = {
|
|
2418
2414
|
domain_id: [{ required: !0, message: a("base.placeholder.select config.domain "), trigger: "blur" }],
|
|
2419
2415
|
client: [{ required: !0, message: a("base.placeholder.select config.client "), trigger: "blur" }],
|
|
2420
2416
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
|
|
2421
2417
|
path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
|
|
2422
2418
|
email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
|
|
2423
2419
|
encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
|
|
2424
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
2420
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, ae);
|
|
2425
2421
|
return x({
|
|
2426
|
-
open:
|
|
2422
|
+
open: f,
|
|
2427
2423
|
modify: c,
|
|
2428
2424
|
formData: n
|
|
2429
2425
|
}), (v, o) => {
|
|
@@ -2443,7 +2439,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2443
2439
|
ref: m,
|
|
2444
2440
|
model: e(n),
|
|
2445
2441
|
"label-width": "auto",
|
|
2446
|
-
rules:
|
|
2442
|
+
rules: b,
|
|
2447
2443
|
disabled: e(w) || e(u)
|
|
2448
2444
|
}, {
|
|
2449
2445
|
default: t(() => [
|
|
@@ -2590,15 +2586,15 @@ const vl = /* @__PURE__ */ T({
|
|
|
2590
2586
|
end_point: "",
|
|
2591
2587
|
status: 1,
|
|
2592
2588
|
remark: ""
|
|
2593
|
-
},
|
|
2589
|
+
}, b = {
|
|
2594
2590
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
|
|
2595
2591
|
en_name: { required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" },
|
|
2596
2592
|
key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
|
|
2597
2593
|
secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
|
|
2598
2594
|
end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
|
|
2599
|
-
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open:
|
|
2595
|
+
}, { modal: p, title: i, form: m, formData: n, requesting: w, executing: u, open: f, modify: c, submit: k, closed: U } = H(g, h, ue);
|
|
2600
2596
|
return x({
|
|
2601
|
-
open:
|
|
2597
|
+
open: f,
|
|
2602
2598
|
modify: c
|
|
2603
2599
|
}), (v, o) => {
|
|
2604
2600
|
const r = s("el-input"), d = s("el-form-item"), y = s("el-form");
|
|
@@ -2617,7 +2613,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2617
2613
|
ref: m,
|
|
2618
2614
|
model: e(n),
|
|
2619
2615
|
"label-width": "auto",
|
|
2620
|
-
rules:
|
|
2616
|
+
rules: b,
|
|
2621
2617
|
disabled: e(w) || e(u)
|
|
2622
2618
|
}, {
|
|
2623
2619
|
default: t(() => [
|
|
@@ -2722,7 +2718,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2722
2718
|
requesting: V
|
|
2723
2719
|
} = $(ue), g = K(!1), {
|
|
2724
2720
|
tableRef: h,
|
|
2725
|
-
formModalRef:
|
|
2721
|
+
formModalRef: b,
|
|
2726
2722
|
refresh: p,
|
|
2727
2723
|
openFormModal: i,
|
|
2728
2724
|
editFormModal: m
|
|
@@ -2756,11 +2752,11 @@ const vl = /* @__PURE__ */ T({
|
|
|
2756
2752
|
open: () => {
|
|
2757
2753
|
g.value = !0;
|
|
2758
2754
|
}
|
|
2759
|
-
}), (u,
|
|
2755
|
+
}), (u, f) => {
|
|
2760
2756
|
const c = s("el-page-header");
|
|
2761
2757
|
return L(), q(e(_e), {
|
|
2762
2758
|
modelValue: g.value,
|
|
2763
|
-
"onUpdate:modelValue":
|
|
2759
|
+
"onUpdate:modelValue": f[0] || (f[0] = (k) => g.value = k),
|
|
2764
2760
|
width: "400px",
|
|
2765
2761
|
"show-close": !1,
|
|
2766
2762
|
class: "basic-drawer"
|
|
@@ -2789,7 +2785,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2789
2785
|
loading: e(V)
|
|
2790
2786
|
}, null, 8, ["url", "loading"]), l(sl, {
|
|
2791
2787
|
ref_key: "formModalRef",
|
|
2792
|
-
ref:
|
|
2788
|
+
ref: b,
|
|
2793
2789
|
onRefresh: e(p)
|
|
2794
2790
|
}, null, 8, ["onRefresh"])]),
|
|
2795
2791
|
_: 1
|
|
@@ -2805,7 +2801,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2805
2801
|
requesting: V
|
|
2806
2802
|
} = $(se), g = K(!1), {
|
|
2807
2803
|
tableRef: h,
|
|
2808
|
-
formModalRef:
|
|
2804
|
+
formModalRef: b,
|
|
2809
2805
|
refresh: p,
|
|
2810
2806
|
openFormModal: i,
|
|
2811
2807
|
editFormModal: m
|
|
@@ -2814,7 +2810,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2814
2810
|
openFormModal: w,
|
|
2815
2811
|
editFormModal: u
|
|
2816
2812
|
} = F(), {
|
|
2817
|
-
formModalRef:
|
|
2813
|
+
formModalRef: f,
|
|
2818
2814
|
openFormModal: c
|
|
2819
2815
|
} = F(), k = [{
|
|
2820
2816
|
prop: "provider",
|
|
@@ -2911,7 +2907,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2911
2907
|
loading: e(V)
|
|
2912
2908
|
}, null, 8, ["url", "loading"]), l(nl, {
|
|
2913
2909
|
ref_key: "formModalRef",
|
|
2914
|
-
ref:
|
|
2910
|
+
ref: b,
|
|
2915
2911
|
onRefresh: e(p)
|
|
2916
2912
|
}, null, 8, ["onRefresh"]), l(Ue, {
|
|
2917
2913
|
ref_key: "sslFormModalRef",
|
|
@@ -2919,7 +2915,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2919
2915
|
onRefresh: e(p)
|
|
2920
2916
|
}, null, 8, ["onRefresh"]), l(ul, {
|
|
2921
2917
|
ref_key: "providerTableDrawerRef",
|
|
2922
|
-
ref:
|
|
2918
|
+
ref: f
|
|
2923
2919
|
}, null, 512)]),
|
|
2924
2920
|
_: 1
|
|
2925
2921
|
}, 8, ["modelValue"]);
|
|
@@ -2933,7 +2929,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
2933
2929
|
const {
|
|
2934
2930
|
requesting: V,
|
|
2935
2931
|
executing: g
|
|
2936
|
-
} = $(ae), h = K(0),
|
|
2932
|
+
} = $(ae), h = K(0), b = K(!1), {
|
|
2937
2933
|
tableRef: p,
|
|
2938
2934
|
formModalRef: i,
|
|
2939
2935
|
refresh: m,
|
|
@@ -3007,8 +3003,8 @@ const vl = /* @__PURE__ */ T({
|
|
|
3007
3003
|
}, null)]
|
|
3008
3004
|
})
|
|
3009
3005
|
}
|
|
3010
|
-
],
|
|
3011
|
-
|
|
3006
|
+
], f = () => {
|
|
3007
|
+
b.value = !0;
|
|
3012
3008
|
}, c = (U) => {
|
|
3013
3009
|
ae.gen({
|
|
3014
3010
|
id: U
|
|
@@ -3024,12 +3020,12 @@ const vl = /* @__PURE__ */ T({
|
|
|
3024
3020
|
});
|
|
3025
3021
|
}
|
|
3026
3022
|
return x({
|
|
3027
|
-
open:
|
|
3023
|
+
open: f
|
|
3028
3024
|
}), (U, v) => {
|
|
3029
3025
|
const o = s("el-page-header");
|
|
3030
3026
|
return L(), q(e(_e), {
|
|
3031
|
-
modelValue:
|
|
3032
|
-
"onUpdate:modelValue": v[0] || (v[0] = (r) =>
|
|
3027
|
+
modelValue: b.value,
|
|
3028
|
+
"onUpdate:modelValue": v[0] || (v[0] = (r) => b.value = r),
|
|
3033
3029
|
width: "1000px",
|
|
3034
3030
|
"show-close": !1,
|
|
3035
3031
|
class: "basic-drawer"
|
|
@@ -3078,7 +3074,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3078
3074
|
const V = M, {
|
|
3079
3075
|
requesting: g,
|
|
3080
3076
|
executing: h
|
|
3081
|
-
} = $([ye, ae]),
|
|
3077
|
+
} = $([ye, ae]), b = K(!1), {
|
|
3082
3078
|
tableRef: p,
|
|
3083
3079
|
refresh: i
|
|
3084
3080
|
} = F(), m = [{
|
|
@@ -3098,29 +3094,29 @@ const vl = /* @__PURE__ */ T({
|
|
|
3098
3094
|
label: a("base.result"),
|
|
3099
3095
|
width: 0
|
|
3100
3096
|
}], n = () => {
|
|
3101
|
-
|
|
3097
|
+
b.value = !0;
|
|
3102
3098
|
};
|
|
3103
3099
|
function w() {
|
|
3104
3100
|
ae.gen({
|
|
3105
3101
|
id: V.ssl.id
|
|
3106
|
-
}).then((
|
|
3107
|
-
console.warn("Res:",
|
|
3102
|
+
}).then((f) => {
|
|
3103
|
+
console.warn("Res:", f);
|
|
3108
3104
|
});
|
|
3109
3105
|
}
|
|
3110
3106
|
function u() {
|
|
3111
|
-
const
|
|
3112
|
-
fetch(
|
|
3107
|
+
const f = ve.getDownloadUrl(V.ssl.path + ".zip");
|
|
3108
|
+
fetch(f).then((c) => c.blob()).then((c) => {
|
|
3113
3109
|
let k = URL.createObjectURL(c), U = document.createElement("a");
|
|
3114
3110
|
U.style.display = "none", U.href = k, U.download = V.ssl.name + ".zip", U.click(), URL.revokeObjectURL(c);
|
|
3115
3111
|
});
|
|
3116
3112
|
}
|
|
3117
3113
|
return x({
|
|
3118
3114
|
open: n
|
|
3119
|
-
}), (
|
|
3115
|
+
}), (f, c) => {
|
|
3120
3116
|
const k = s("el-page-header");
|
|
3121
3117
|
return L(), q(e(_e), {
|
|
3122
|
-
modelValue:
|
|
3123
|
-
"onUpdate:modelValue": c[0] || (c[0] = (U) =>
|
|
3118
|
+
modelValue: b.value,
|
|
3119
|
+
"onUpdate:modelValue": c[0] || (c[0] = (U) => b.value = U),
|
|
3124
3120
|
width: "600px",
|
|
3125
3121
|
"show-close": !1,
|
|
3126
3122
|
class: "basic-drawer"
|
|
@@ -3172,7 +3168,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3172
3168
|
executing: g
|
|
3173
3169
|
} = $(le), {
|
|
3174
3170
|
tableRef: h,
|
|
3175
|
-
formModalRef:
|
|
3171
|
+
formModalRef: b,
|
|
3176
3172
|
reset: p,
|
|
3177
3173
|
refresh: i,
|
|
3178
3174
|
openFormModal: m,
|
|
@@ -3181,7 +3177,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3181
3177
|
formModalRef: w,
|
|
3182
3178
|
openFormModal: u
|
|
3183
3179
|
} = F(), {
|
|
3184
|
-
formModalRef:
|
|
3180
|
+
formModalRef: f,
|
|
3185
3181
|
openFormModal: c
|
|
3186
3182
|
} = F(), {
|
|
3187
3183
|
formModalRef: k,
|
|
@@ -3207,7 +3203,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3207
3203
|
type: "copy"
|
|
3208
3204
|
}, {
|
|
3209
3205
|
prop: "expired_at",
|
|
3210
|
-
label: a("
|
|
3206
|
+
label: a("base.expired_at"),
|
|
3211
3207
|
align: "center",
|
|
3212
3208
|
width: 140,
|
|
3213
3209
|
cellRenderer: ({
|
|
@@ -3316,14 +3312,14 @@ const vl = /* @__PURE__ */ T({
|
|
|
3316
3312
|
columns: v
|
|
3317
3313
|
}, null, 8, ["url"]), l(ol, {
|
|
3318
3314
|
ref_key: "formModalRef",
|
|
3319
|
-
ref:
|
|
3315
|
+
ref: b,
|
|
3320
3316
|
onRefresh: e(i)
|
|
3321
3317
|
}, null, 8, ["onRefresh"]), l(il, {
|
|
3322
3318
|
ref_key: "domainTableDrawerRef",
|
|
3323
3319
|
ref: w
|
|
3324
3320
|
}, null, 512), l(pl, {
|
|
3325
3321
|
ref_key: "sslTableDrawerRef",
|
|
3326
|
-
ref:
|
|
3322
|
+
ref: f
|
|
3327
3323
|
}, null, 512), l(ml, {
|
|
3328
3324
|
ref_key: "sslLogTableDrawerRef",
|
|
3329
3325
|
ref: k
|
|
@@ -3332,9 +3328,9 @@ const vl = /* @__PURE__ */ T({
|
|
|
3332
3328
|
});
|
|
3333
3329
|
};
|
|
3334
3330
|
}
|
|
3335
|
-
}),
|
|
3331
|
+
}), bl = /* @__PURE__ */ xe(cl, [["__scopeId", "data-v-6d185b05"]]), fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3336
3332
|
__proto__: null,
|
|
3337
|
-
default:
|
|
3333
|
+
default: bl
|
|
3338
3334
|
}, Symbol.toStringTag, { value: "Module" })), _l = {
|
|
3339
3335
|
request: "request",
|
|
3340
3336
|
error: "error",
|
|
@@ -3364,17 +3360,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
3364
3360
|
requesting: g
|
|
3365
3361
|
} = $(oe), {
|
|
3366
3362
|
tableRef: h,
|
|
3367
|
-
keyword:
|
|
3363
|
+
keyword: b,
|
|
3368
3364
|
search: p,
|
|
3369
3365
|
reset: i
|
|
3370
3366
|
} = F(x);
|
|
3371
3367
|
return (m, n) => {
|
|
3372
|
-
const w = s("el-date-picker"), u = s("el-space"),
|
|
3368
|
+
const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
|
|
3373
3369
|
return L(), q(c, {
|
|
3374
3370
|
class: "basic-card flex-full",
|
|
3375
3371
|
"body-class": "flex-1"
|
|
3376
3372
|
}, {
|
|
3377
|
-
header: t(() => [l(
|
|
3373
|
+
header: t(() => [l(f, {
|
|
3378
3374
|
class: "basic-header"
|
|
3379
3375
|
}, {
|
|
3380
3376
|
title: t(() => [l(e(B), {
|
|
@@ -3385,8 +3381,8 @@ const vl = /* @__PURE__ */ T({
|
|
|
3385
3381
|
class: "search-bar"
|
|
3386
3382
|
}, {
|
|
3387
3383
|
default: t(() => [l(w, {
|
|
3388
|
-
modelValue: e(
|
|
3389
|
-
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(
|
|
3384
|
+
modelValue: e(b).dates,
|
|
3385
|
+
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
|
|
3390
3386
|
class: "basic-search-datetimerange",
|
|
3391
3387
|
"value-format": e(E).DATE_VALUE_FORMAT,
|
|
3392
3388
|
format: e(E).DATE_SHOW_FORMAT,
|
|
@@ -3410,7 +3406,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3410
3406
|
size: "small",
|
|
3411
3407
|
columns: V,
|
|
3412
3408
|
url: e(oe).urls.request,
|
|
3413
|
-
"search-param": e(
|
|
3409
|
+
"search-param": e(b),
|
|
3414
3410
|
"auto-search": ""
|
|
3415
3411
|
}, null, 8, ["url", "search-param"])]),
|
|
3416
3412
|
_: 1
|
|
@@ -3442,17 +3438,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
3442
3438
|
requesting: g
|
|
3443
3439
|
} = $(oe), {
|
|
3444
3440
|
tableRef: h,
|
|
3445
|
-
keyword:
|
|
3441
|
+
keyword: b,
|
|
3446
3442
|
search: p,
|
|
3447
3443
|
reset: i
|
|
3448
3444
|
} = F(x);
|
|
3449
3445
|
return (m, n) => {
|
|
3450
|
-
const w = s("el-date-picker"), u = s("el-space"),
|
|
3446
|
+
const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
|
|
3451
3447
|
return L(), q(c, {
|
|
3452
3448
|
class: "basic-card flex-full",
|
|
3453
3449
|
"body-class": "flex-1"
|
|
3454
3450
|
}, {
|
|
3455
|
-
header: t(() => [l(
|
|
3451
|
+
header: t(() => [l(f, {
|
|
3456
3452
|
class: "basic-header"
|
|
3457
3453
|
}, {
|
|
3458
3454
|
title: t(() => [l(e(B), {
|
|
@@ -3463,8 +3459,8 @@ const vl = /* @__PURE__ */ T({
|
|
|
3463
3459
|
class: "search-bar"
|
|
3464
3460
|
}, {
|
|
3465
3461
|
default: t(() => [l(w, {
|
|
3466
|
-
modelValue: e(
|
|
3467
|
-
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(
|
|
3462
|
+
modelValue: e(b).dates,
|
|
3463
|
+
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
|
|
3468
3464
|
class: "basic-search-daterange",
|
|
3469
3465
|
"value-format": e(E).DATE_FORMAT,
|
|
3470
3466
|
format: e(E).DATE_FORMAT,
|
|
@@ -3488,7 +3484,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3488
3484
|
size: "small",
|
|
3489
3485
|
columns: V,
|
|
3490
3486
|
url: e(oe).urls.error,
|
|
3491
|
-
"search-param": e(
|
|
3487
|
+
"search-param": e(b),
|
|
3492
3488
|
"auto-search": ""
|
|
3493
3489
|
}, null, 8, ["url", "search-param"])]),
|
|
3494
3490
|
_: 1
|
|
@@ -3520,17 +3516,17 @@ const vl = /* @__PURE__ */ T({
|
|
|
3520
3516
|
requesting: g
|
|
3521
3517
|
} = $(oe), {
|
|
3522
3518
|
tableRef: h,
|
|
3523
|
-
keyword:
|
|
3519
|
+
keyword: b,
|
|
3524
3520
|
search: p,
|
|
3525
3521
|
reset: i
|
|
3526
3522
|
} = F(x);
|
|
3527
3523
|
return (m, n) => {
|
|
3528
|
-
const w = s("el-date-picker"), u = s("el-space"),
|
|
3524
|
+
const w = s("el-date-picker"), u = s("el-space"), f = s("el-page-header"), c = s("el-card");
|
|
3529
3525
|
return L(), q(c, {
|
|
3530
3526
|
class: "basic-card flex-full",
|
|
3531
3527
|
"body-class": "flex-1"
|
|
3532
3528
|
}, {
|
|
3533
|
-
header: t(() => [l(
|
|
3529
|
+
header: t(() => [l(f, {
|
|
3534
3530
|
class: "basic-header"
|
|
3535
3531
|
}, {
|
|
3536
3532
|
title: t(() => [l(e(B), {
|
|
@@ -3541,8 +3537,8 @@ const vl = /* @__PURE__ */ T({
|
|
|
3541
3537
|
class: "search-bar"
|
|
3542
3538
|
}, {
|
|
3543
3539
|
default: t(() => [l(w, {
|
|
3544
|
-
modelValue: e(
|
|
3545
|
-
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(
|
|
3540
|
+
modelValue: e(b).dates,
|
|
3541
|
+
"onUpdate:modelValue": n[0] || (n[0] = (k) => e(b).dates = k),
|
|
3546
3542
|
class: "basic-search-daterange",
|
|
3547
3543
|
"value-format": e(E).DATE_FORMAT,
|
|
3548
3544
|
format: e(E).DATE_FORMAT,
|
|
@@ -3566,7 +3562,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3566
3562
|
size: "small",
|
|
3567
3563
|
columns: V,
|
|
3568
3564
|
url: e(oe).urls.sql,
|
|
3569
|
-
"search-param": e(
|
|
3565
|
+
"search-param": e(b),
|
|
3570
3566
|
"auto-search": ""
|
|
3571
3567
|
}, null, 8, ["url", "search-param"])]),
|
|
3572
3568
|
_: 1
|
|
@@ -3603,7 +3599,7 @@ const vl = /* @__PURE__ */ T({
|
|
|
3603
3599
|
Reflect.ownKeys(M._context.provides).some((x) => String(x) === "Symbol(pinia)") || console.warn("Pinia is not provided. Please install and provide Pinia in your app.", Reflect.ownKeys(M._context.provides));
|
|
3604
3600
|
},
|
|
3605
3601
|
version: "__VERSION__"
|
|
3606
|
-
}, Sl = /* @__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(() =>
|
|
3602
|
+
}, Sl = /* @__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(() => fl) });
|
|
3607
3603
|
export {
|
|
3608
3604
|
Rl as AdminsPage,
|
|
3609
3605
|
tl as DomainProviderSelect,
|
|
@@ -3616,7 +3612,7 @@ export {
|
|
|
3616
3612
|
Ul as RequestLogsPage,
|
|
3617
3613
|
wl as RolesPage,
|
|
3618
3614
|
Al as SQLLogsPage,
|
|
3619
|
-
|
|
3615
|
+
bl as SitePage,
|
|
3620
3616
|
dl as SiteSelect,
|
|
3621
3617
|
je as TopMenuSelect,
|
|
3622
3618
|
Sl as basicModules,
|