auto-vue-basic 0.0.68 → 0.0.70
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 +38 -38
- package/dist/auto-vue-basic.umd.js +1 -1
- package/dist/types/types/index.d.ts +5 -2
- package/dist/types/views/admin/index.vue.d.ts +2 -7537
- package/dist/types/views/language/form/template.vue.d.ts +2 -7537
- package/dist/types/views/language/index.vue.d.ts +117 -0
- package/dist/types/views/language/table/I18N.vue.d.ts +2 -7537
- package/dist/types/views/log/error/index.vue.d.ts +2 -6064
- package/dist/types/views/log/request/index.vue.d.ts +2 -6066
- package/dist/types/views/log/sql/index.vue.d.ts +2 -6064
- package/dist/types/views/menu/index.vue.d.ts +2 -7537
- package/dist/types/views/role/index.vue.d.ts +2 -7537
- package/dist/types/views/site/components/DomainProviderTableDrawer.vue.d.ts +2 -6064
- package/dist/types/views/site/components/DomainTableDrawer.vue.d.ts +3 -12118
- package/dist/types/views/site/components/SSLLogTableDrawer.vue.d.ts +2 -7537
- package/dist/types/views/site/components/SSLTableDrawer.vue.d.ts +2 -6064
- package/dist/types/views/site/index.vue.d.ts +366 -0
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as O, createElementBlock as P, openBlock as L, createElementVNode as N, toRef as te, resolveComponent as s, createBlock as T, unref as e, isRef as B, withCtx as o, createVNode as l, normalizeClass as ke, toDisplayString as z, ref as I, Fragment as G, withKeys as _e, renderList as ae, isVNode as ve, reactive as Ie, onMounted as Ne, watch as we, nextTick as Be, createCommentVNode as Pe, createTextVNode as Z, onBeforeMount as je } from "vue";
|
|
2
|
-
import { ApiUtils as W, useLoading as F, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as
|
|
2
|
+
import { ApiUtils as W, useLoading as F, useSelect as re, Translate as a, InlineRefreshButton as pe, useForm as J, FormDialog as ee, useCrudPage as $, DEFAULT_STATUS_KEY as xe, ModifyButton as le, DEFAULT_REMOVE_KEY as Ke, ProTable as me, DEFAULT_PAGE_KEY as ge, SearchButton as oe, RefreshButton as K, OpenButton as j, useCacheStore as We, RequestButton as Q, BasicDrawer as ce, BasicRadioButton as Me, RulesUtils as Ye, BasicAvatar as Ge, TimeUtils as E, ProTableList as de, AssetsUtils as De, notification as He, DEFAULT_LIST_URL as Qe, REQUEST_LOG_URL as Je, ERROR_LOG_URL as Xe, SQL_LOG_URL as Ze } from "auto-vue-manual";
|
|
3
3
|
const el = {
|
|
4
4
|
tops: "tops",
|
|
5
5
|
rules: "rules"
|
|
@@ -163,7 +163,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
163
163
|
trigger: "blur"
|
|
164
164
|
}
|
|
165
165
|
]
|
|
166
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } =
|
|
166
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } = J(h, V, Y);
|
|
167
167
|
return U({
|
|
168
168
|
open: f,
|
|
169
169
|
modify: g
|
|
@@ -580,7 +580,7 @@ const tl = /* @__PURE__ */ O({
|
|
|
580
580
|
trigger: "blur"
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } =
|
|
583
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } = J(h, V, Se);
|
|
584
584
|
return U({
|
|
585
585
|
open: f,
|
|
586
586
|
modify: g
|
|
@@ -1125,7 +1125,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1125
1125
|
trigger: "blur"
|
|
1126
1126
|
}
|
|
1127
1127
|
]
|
|
1128
|
-
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: g, modify: b, submit: M, closed: x } =
|
|
1128
|
+
}, { modal: i, title: p, form: t, formData: v, requesting: u, executing: f, open: g, modify: b, submit: M, closed: x } = J(h, _, he), n = () => {
|
|
1129
1129
|
var d;
|
|
1130
1130
|
(d = V.value) == null || d.cleanChecked(), x();
|
|
1131
1131
|
};
|
|
@@ -1366,7 +1366,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1366
1366
|
});
|
|
1367
1367
|
};
|
|
1368
1368
|
}
|
|
1369
|
-
}),
|
|
1369
|
+
}), H = W.routineApi("I18N", "uuid", {
|
|
1370
1370
|
gen: "gen",
|
|
1371
1371
|
modules: "modules",
|
|
1372
1372
|
languages: "languages"
|
|
@@ -1395,7 +1395,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1395
1395
|
}) {
|
|
1396
1396
|
const k = U, h = R, {
|
|
1397
1397
|
requesting: V
|
|
1398
|
-
} = F(
|
|
1398
|
+
} = F(H), {
|
|
1399
1399
|
value: _,
|
|
1400
1400
|
options: c,
|
|
1401
1401
|
change: i,
|
|
@@ -1403,8 +1403,8 @@ const Il = /* @__PURE__ */ O({
|
|
|
1403
1403
|
filterOptions: t
|
|
1404
1404
|
} = re(te(h, "modelValue"), k, {
|
|
1405
1405
|
key: "I18N_MODULES",
|
|
1406
|
-
url:
|
|
1407
|
-
api:
|
|
1406
|
+
url: H.urls.modules,
|
|
1407
|
+
api: H,
|
|
1408
1408
|
isArray: !0
|
|
1409
1409
|
});
|
|
1410
1410
|
return (v, u) => {
|
|
@@ -1445,7 +1445,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1445
1445
|
const h = k, V = {
|
|
1446
1446
|
uuid: "",
|
|
1447
1447
|
key: "",
|
|
1448
|
-
module:
|
|
1448
|
+
module: "",
|
|
1449
1449
|
language: {
|
|
1450
1450
|
"zh-CN": "",
|
|
1451
1451
|
"en-US": ""
|
|
@@ -1485,7 +1485,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1485
1485
|
const r = {
|
|
1486
1486
|
isArray: !0,
|
|
1487
1487
|
key: "I18N_LANGUAGES",
|
|
1488
|
-
url:
|
|
1488
|
+
url: H.urls.languages,
|
|
1489
1489
|
params: {}
|
|
1490
1490
|
};
|
|
1491
1491
|
i.GET_CACHE({ ...r, force: !0 }).then((y) => {
|
|
@@ -1493,7 +1493,7 @@ const Il = /* @__PURE__ */ O({
|
|
|
1493
1493
|
});
|
|
1494
1494
|
}
|
|
1495
1495
|
p();
|
|
1496
|
-
const { modal: t, title: v, form: u, formData: f, requesting: g, executing: b, open: M, modify: x, submit: n, closed: d } =
|
|
1496
|
+
const { modal: t, title: v, form: u, formData: f, requesting: g, executing: b, open: M, modify: x, submit: n, closed: d } = J(h, V, H);
|
|
1497
1497
|
return U({
|
|
1498
1498
|
open: M,
|
|
1499
1499
|
modify: x
|
|
@@ -1639,7 +1639,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1639
1639
|
props: {
|
|
1640
1640
|
activeValue: 1,
|
|
1641
1641
|
inactiveValue: 2,
|
|
1642
|
-
api:
|
|
1642
|
+
api: H.urls[xe],
|
|
1643
1643
|
refresh: !0
|
|
1644
1644
|
}
|
|
1645
1645
|
}, {
|
|
@@ -1655,7 +1655,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1655
1655
|
onModify: () => x({
|
|
1656
1656
|
uuid: y.uuid
|
|
1657
1657
|
})
|
|
1658
|
-
}, null), l(
|
|
1658
|
+
}, null), l(Q, {
|
|
1659
1659
|
size: "default",
|
|
1660
1660
|
text: !0,
|
|
1661
1661
|
type: "danger",
|
|
@@ -1666,7 +1666,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1666
1666
|
}], {
|
|
1667
1667
|
requesting: i,
|
|
1668
1668
|
executing: p
|
|
1669
|
-
} = F(
|
|
1669
|
+
} = F(H), {
|
|
1670
1670
|
tableRef: t,
|
|
1671
1671
|
formModalRef: v,
|
|
1672
1672
|
keyword: u,
|
|
@@ -1677,7 +1677,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1677
1677
|
editFormModal: x
|
|
1678
1678
|
} = $(_);
|
|
1679
1679
|
function n(y) {
|
|
1680
|
-
return
|
|
1680
|
+
return H.remove({
|
|
1681
1681
|
uuid: y
|
|
1682
1682
|
}).finally(() => {
|
|
1683
1683
|
b();
|
|
@@ -1751,7 +1751,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1751
1751
|
ref_key: "tableRef",
|
|
1752
1752
|
ref: t,
|
|
1753
1753
|
columns: c,
|
|
1754
|
-
url: e(
|
|
1754
|
+
url: e(H).urls[e(ge)],
|
|
1755
1755
|
"search-param": e(u),
|
|
1756
1756
|
onRowDblclick: r,
|
|
1757
1757
|
"auto-search": ""
|
|
@@ -1799,7 +1799,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1799
1799
|
trigger: "change"
|
|
1800
1800
|
}
|
|
1801
1801
|
]
|
|
1802
|
-
}, { modal: u, title: f, form: g, formData: b, requesting: M, executing: x, open: n, modify: d, submit: r, closed: y } =
|
|
1802
|
+
}, { modal: u, title: f, form: g, formData: b, requesting: M, executing: x, open: n, modify: d, submit: r, closed: y } = J(_, t, ne);
|
|
1803
1803
|
function m() {
|
|
1804
1804
|
c.value = "1080px", V();
|
|
1805
1805
|
}
|
|
@@ -1821,7 +1821,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1821
1821
|
const q = s("el-page-header"), D = s("el-form-item"), Ee = s("el-button"), Re = s("el-input"), $e = s("el-tag"), Fe = s("el-space"), ze = s("el-form");
|
|
1822
1822
|
return L(), T(e(ce), {
|
|
1823
1823
|
modelValue: e(u),
|
|
1824
|
-
"onUpdate:modelValue": w[3] || (w[3] = (
|
|
1824
|
+
"onUpdate:modelValue": w[3] || (w[3] = (X) => B(u) ? u.value = X : null),
|
|
1825
1825
|
width: c.value,
|
|
1826
1826
|
"show-close": !1,
|
|
1827
1827
|
class: "basic-drawer"
|
|
@@ -1832,7 +1832,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1832
1832
|
Z(z(e(f)()), 1)
|
|
1833
1833
|
]),
|
|
1834
1834
|
extra: o(() => [
|
|
1835
|
-
l(e(
|
|
1835
|
+
l(e(Q), {
|
|
1836
1836
|
circle: !1,
|
|
1837
1837
|
size: "default",
|
|
1838
1838
|
type: "primary",
|
|
@@ -1863,7 +1863,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1863
1863
|
default: o(() => [
|
|
1864
1864
|
l(e(Me), {
|
|
1865
1865
|
modelValue: e(b).app,
|
|
1866
|
-
"onUpdate:modelValue": w[0] || (w[0] = (
|
|
1866
|
+
"onUpdate:modelValue": w[0] || (w[0] = (X) => e(b).app = X),
|
|
1867
1867
|
"cache-key": "I18NAPPS",
|
|
1868
1868
|
hidden: [0],
|
|
1869
1869
|
url: e(ne).urls.apps
|
|
@@ -1879,7 +1879,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1879
1879
|
default: o(() => [
|
|
1880
1880
|
l(Re, {
|
|
1881
1881
|
modelValue: e(b).keys,
|
|
1882
|
-
"onUpdate:modelValue": w[1] || (w[1] = (
|
|
1882
|
+
"onUpdate:modelValue": w[1] || (w[1] = (X) => e(b).keys = X),
|
|
1883
1883
|
placeholder: e(a)("i18n.placeholder.key")
|
|
1884
1884
|
}, {
|
|
1885
1885
|
append: o(() => [
|
|
@@ -1907,7 +1907,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1907
1907
|
label: e(a)("i18n.values")
|
|
1908
1908
|
}, {
|
|
1909
1909
|
default: o(() => [
|
|
1910
|
-
(L(!0), P(G, null, ae(p.value, (
|
|
1910
|
+
(L(!0), P(G, null, ae(p.value, (X, Ve) => (L(), P("div", {
|
|
1911
1911
|
key: Ve,
|
|
1912
1912
|
class: "w-full"
|
|
1913
1913
|
}, [
|
|
@@ -1922,7 +1922,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1922
1922
|
]),
|
|
1923
1923
|
_: 2
|
|
1924
1924
|
}, 1032, ["type"]),
|
|
1925
|
-
N("span", null, z(
|
|
1925
|
+
N("span", null, z(X.join("")), 1)
|
|
1926
1926
|
]),
|
|
1927
1927
|
_: 2
|
|
1928
1928
|
}, 1024)
|
|
@@ -1937,7 +1937,7 @@ const qe = /* @__PURE__ */ O({
|
|
|
1937
1937
|
default: o(() => [
|
|
1938
1938
|
l(Re, {
|
|
1939
1939
|
modelValue: e(b).remark,
|
|
1940
|
-
"onUpdate:modelValue": w[2] || (w[2] = (
|
|
1940
|
+
"onUpdate:modelValue": w[2] || (w[2] = (X) => e(b).remark = X),
|
|
1941
1941
|
placeholder: e(a)("base.placeholder.input")
|
|
1942
1942
|
}, null, 8, ["modelValue", "placeholder"])
|
|
1943
1943
|
]),
|
|
@@ -2030,7 +2030,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2030
2030
|
onModify: () => b({
|
|
2031
2031
|
uuid: d.uuid
|
|
2032
2032
|
})
|
|
2033
|
-
}, null), l(
|
|
2033
|
+
}, null), l(Q, {
|
|
2034
2034
|
size: "default",
|
|
2035
2035
|
text: !0,
|
|
2036
2036
|
type: "danger",
|
|
@@ -2062,7 +2062,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2062
2062
|
});
|
|
2063
2063
|
}
|
|
2064
2064
|
function x() {
|
|
2065
|
-
return
|
|
2065
|
+
return H.gen().finally(() => {
|
|
2066
2066
|
f();
|
|
2067
2067
|
});
|
|
2068
2068
|
}
|
|
@@ -2086,14 +2086,14 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2086
2086
|
}, null, 8, ["loading", "onRefresh"]), l(e(j), {
|
|
2087
2087
|
onOpen: e(g)
|
|
2088
2088
|
}, null, 8, ["onOpen"])]),
|
|
2089
|
-
extra: o(() => [l(e(
|
|
2089
|
+
extra: o(() => [l(e(Q), {
|
|
2090
2090
|
size: "default",
|
|
2091
2091
|
type: "warning",
|
|
2092
2092
|
icon: "icon-cloud-upload",
|
|
2093
2093
|
plain: !1,
|
|
2094
2094
|
loading: e(V),
|
|
2095
2095
|
onClick: x
|
|
2096
|
-
}, null, 8, ["loading"]), l(e(
|
|
2096
|
+
}, null, 8, ["loading"]), l(e(Q), {
|
|
2097
2097
|
size: "default",
|
|
2098
2098
|
type: "danger",
|
|
2099
2099
|
icon: "icon-translate",
|
|
@@ -2175,7 +2175,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2175
2175
|
language: "zh-CN",
|
|
2176
2176
|
remark: "",
|
|
2177
2177
|
roles: []
|
|
2178
|
-
}, { modal: _, title: c, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: g, closed: b } =
|
|
2178
|
+
}, { modal: _, title: c, form: i, formData: p, requesting: t, executing: v, open: u, modify: f, submit: g, closed: b } = J(h, V, ye), M = {
|
|
2179
2179
|
username: [
|
|
2180
2180
|
{
|
|
2181
2181
|
required: !0,
|
|
@@ -2572,7 +2572,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2572
2572
|
prefix: [{ required: !0, message: a("base.placeholder.input base.prefix"), trigger: "blur" }],
|
|
2573
2573
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }],
|
|
2574
2574
|
en_name: [{ required: !0, message: a("base.placeholder.input base.en_name"), trigger: "blur" }]
|
|
2575
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } =
|
|
2575
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } = J(h, V, se);
|
|
2576
2576
|
return U({
|
|
2577
2577
|
open: f,
|
|
2578
2578
|
modify: g
|
|
@@ -2765,7 +2765,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2765
2765
|
}, _ = {
|
|
2766
2766
|
provider_id: [{ required: !0, message: a("base.placeholder.input config.domain config.provider"), trigger: "blur" }],
|
|
2767
2767
|
name: [{ required: !0, message: a("base.placeholder.input base.name"), trigger: "blur" }]
|
|
2768
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } =
|
|
2768
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } = J(h, V, fe);
|
|
2769
2769
|
return U({
|
|
2770
2770
|
open: f,
|
|
2771
2771
|
modify: g
|
|
@@ -2939,7 +2939,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
2939
2939
|
path: [{ required: !0, message: a("base.placeholder.input base.path"), trigger: "blur" }],
|
|
2940
2940
|
email: [{ required: !0, message: a("base.placeholder.input base.email"), trigger: "blur" }],
|
|
2941
2941
|
encryption: [{ required: !0, message: a("base.placeholder.input config.encryption"), trigger: "blur" }]
|
|
2942
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } =
|
|
2942
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } = J(h, V, ue);
|
|
2943
2943
|
return U({
|
|
2944
2944
|
open: f,
|
|
2945
2945
|
modify: g,
|
|
@@ -3114,7 +3114,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3114
3114
|
key: { required: !0, message: a("base.placeholder.input base.key"), trigger: "blur" },
|
|
3115
3115
|
secret: { required: !0, message: a("base.placeholder.input config.secret"), trigger: "blur" },
|
|
3116
3116
|
end_point: { required: !0, message: a("base.placeholder.input config.endpoint"), trigger: "blur" }
|
|
3117
|
-
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } =
|
|
3117
|
+
}, { modal: c, title: i, form: p, formData: t, requesting: v, executing: u, open: f, modify: g, submit: b, closed: M } = J(h, V, be);
|
|
3118
3118
|
return U({
|
|
3119
3119
|
open: f,
|
|
3120
3120
|
modify: g
|
|
@@ -3506,7 +3506,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3506
3506
|
onModify: () => v({
|
|
3507
3507
|
id: M.id
|
|
3508
3508
|
})
|
|
3509
|
-
}, null), l(
|
|
3509
|
+
}, null), l(Q, {
|
|
3510
3510
|
size: "default",
|
|
3511
3511
|
icon: "icon-key",
|
|
3512
3512
|
t: "",
|
|
@@ -3514,7 +3514,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3514
3514
|
disabled: h.value && V.value !== M.id,
|
|
3515
3515
|
loading: V.value == M.id,
|
|
3516
3516
|
onClick: () => g(M.id)
|
|
3517
|
-
}, null), l(
|
|
3517
|
+
}, null), l(Q, {
|
|
3518
3518
|
size: "default",
|
|
3519
3519
|
icon: "icon-cloud-download",
|
|
3520
3520
|
t: "",
|
|
@@ -3652,14 +3652,14 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3652
3652
|
size: "default",
|
|
3653
3653
|
loading: e(h)
|
|
3654
3654
|
}, null, 8, ["onRefresh", "loading"])]),
|
|
3655
|
-
extra: o(() => [l(e(
|
|
3655
|
+
extra: o(() => [l(e(Q), {
|
|
3656
3656
|
size: "default",
|
|
3657
3657
|
type: "danger",
|
|
3658
3658
|
icon: "icon-key",
|
|
3659
3659
|
disabled: e(V),
|
|
3660
3660
|
loading: e(V),
|
|
3661
3661
|
onClick: v
|
|
3662
|
-
}, null, 8, ["disabled", "loading"]), l(e(
|
|
3662
|
+
}, null, 8, ["disabled", "loading"]), l(e(Q), {
|
|
3663
3663
|
size: "default",
|
|
3664
3664
|
type: "primary",
|
|
3665
3665
|
icon: "icon-cloud-download",
|
|
@@ -3768,7 +3768,7 @@ const Bl = /* @__PURE__ */ O({
|
|
|
3768
3768
|
onModify: () => t({
|
|
3769
3769
|
id: r.id
|
|
3770
3770
|
})
|
|
3771
|
-
}, null), l(
|
|
3771
|
+
}, null), l(Q, {
|
|
3772
3772
|
icon: "icon-securityscan",
|
|
3773
3773
|
type: "primary",
|
|
3774
3774
|
size: "small",
|