jmash-core 0.0.56 → 0.0.58
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/README.md +52 -52
- package/dist/{401-Czg6242F.mjs → 401-BEKNdvO3.mjs} +4 -4
- package/dist/{404-Dr_nkvyI.mjs → 404-282_vadI.mjs} +3 -3
- package/dist/{BarChart-B8rhZu38.mjs → BarChart-nYHRwJHY.mjs} +3 -3
- package/dist/{PieChart-CyiSmvUe.mjs → PieChart-C1QJQ2Qx.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DTR8kinB.mjs → PieChart.vue_vue_type_script_setup_true_lang-D8pUUo2m.mjs} +2 -2
- package/dist/{RadarChart-TPWCohg3.mjs → RadarChart-ln7Noh5r.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CiX1LNwT.mjs → RadarChart.vue_vue_type_script_setup_true_lang-ARWxRg5l.mjs} +2 -2
- package/dist/{el-card-D1qZoaru.mjs → el-card-BFASmb2m.mjs} +1 -1
- package/dist/{el-col-DfKlG6iK.mjs → el-col-DfavdVIH.mjs} +1 -1
- package/dist/{el-form-item-3mNIgJOv.mjs → el-form-item-BgoLyF0W.mjs} +34 -34
- package/dist/{index-kIb5mhRj.mjs → index-BLJOFfop.mjs} +1 -1
- package/dist/{index-iPE7bqfp.mjs → index-CLdbrbb0.mjs} +9 -9
- package/dist/{index-CIrNOACT.mjs → index-Dsj9zYFf.mjs} +19 -19
- package/dist/{index-DJsDvfmB.mjs → index-ipIvIM2L.mjs} +11600 -9821
- package/dist/{index-CTwUAWfT.mjs → index-xHyweWAW.mjs} +81 -81
- package/dist/index.mjs +29 -28
- package/dist/{picture-DhouUa9E.mjs → picture-Bqb0oVrI.mjs} +2 -2
- package/dist/{position-4EiNY56k.mjs → position-CajZz9Z7.mjs} +1 -1
- package/dist/{profile-Chjf_MqO.mjs → profile-CysprqjK.mjs} +5 -5
- package/dist/{runAs-BnKzLWjT.mjs → runAs-Dw8PLhvu.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang--CZlIbv2.mjs → runAs.vue_vue_type_script_setup_true_lang-B8W9AJDN.mjs} +6 -6
- package/dist/style.css +1 -1
- package/dist/{types-BXtLyCaC.mjs → types-D-EOYDWg.mjs} +3 -3
- package/dist/{updatePwd-V4IxnLp-.mjs → updatePwd-CPlwjwWp.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-C20z5HL9.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BTXy0Kuq.mjs} +31 -30
- package/dts/src/api/system/dept/index.d.ts +91 -0
- package/dts/src/api/system/dept/types.d.ts +63 -0
- package/dts/src/api/system/index.d.ts +7 -0
- package/dts/src/api/system/job/index.d.ts +42 -0
- package/dts/src/api/system/job/types.d.ts +60 -0
- package/dts/src/api/system/log/index.d.ts +29 -0
- package/dts/src/api/system/log/types.d.ts +42 -0
- package/dts/src/api/system/menu/index.d.ts +103 -0
- package/dts/src/api/system/menu/types.d.ts +96 -0
- package/dts/src/api/system/module/index.d.ts +57 -0
- package/dts/src/api/system/module/types.d.ts +13 -0
- package/dts/src/api/system/operation/index.d.ts +51 -0
- package/dts/src/api/system/operation/types.d.ts +12 -0
- package/dts/src/api/system/permission/index.d.ts +50 -0
- package/dts/src/api/system/permission/types.d.ts +12 -0
- package/dts/src/api/system/role/index.d.ts +77 -0
- package/dts/src/api/system/role/types.d.ts +26 -0
- package/dts/src/api/system/user/index.d.ts +133 -0
- package/dts/src/api/system/user/types.d.ts +53 -0
- package/dts/src/api/system/userLog/index.d.ts +29 -0
- package/dts/src/api/system/userLog/types.d.ts +22 -0
- package/dts/src/assets/components/a-fixed.vue.d.ts +2 -0
- package/dts/src/assets/components/a-list.vue.d.ts +2 -0
- package/dts/src/assets/components/anquanrizhi.vue.d.ts +2 -0
- package/dts/src/assets/components/api.vue.d.ts +2 -0
- package/dts/src/assets/components/bumenguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +2 -0
- package/dts/src/assets/components/captcha.vue.d.ts +2 -0
- package/dts/src/assets/components/cascader.vue.d.ts +2 -0
- package/dts/src/assets/components/client.vue.d.ts +2 -0
- package/dts/src/assets/components/close-all.vue.d.ts +2 -0
- package/dts/src/assets/components/close-left.vue.d.ts +2 -0
- package/dts/src/assets/components/close-other.vue.d.ts +2 -0
- package/dts/src/assets/components/close-right.vue.d.ts +2 -0
- package/dts/src/assets/components/close.vue.d.ts +2 -0
- package/dts/src/assets/components/dict.vue.d.ts +2 -0
- package/dts/src/assets/components/document.vue.d.ts +2 -0
- package/dts/src/assets/components/download.vue.d.ts +2 -0
- package/dts/src/assets/components/drag.vue.d.ts +2 -0
- package/dts/src/assets/components/edit.vue.d.ts +2 -0
- package/dts/src/assets/components/email.vue.d.ts +2 -0
- package/dts/src/assets/components/exit-fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/eye-open.vue.d.ts +2 -0
- package/dts/src/assets/components/eye.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen-exit.vue.d.ts +2 -0
- package/dts/src/assets/components/fullscreen.vue.d.ts +2 -0
- package/dts/src/assets/components/gangweiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/github.vue.d.ts +2 -0
- package/dts/src/assets/components/homepage.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon-open-eye.vue.d.ts +2 -0
- package/dts/src/assets/components/icon.vue.d.ts +2 -0
- package/dts/src/assets/components/indent-decrease.vue.d.ts +2 -0
- package/dts/src/assets/components/ip.vue.d.ts +2 -0
- package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +2 -0
- package/dts/src/assets/components/language.vue.d.ts +2 -0
- package/dts/src/assets/components/link.vue.d.ts +2 -0
- package/dts/src/assets/components/lock.vue.d.ts +2 -0
- package/dts/src/assets/components/log.vue.d.ts +2 -0
- package/dts/src/assets/components/menu.vue.d.ts +2 -0
- package/dts/src/assets/components/message.vue.d.ts +2 -0
- package/dts/src/assets/components/mokuaiguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/money.vue.d.ts +2 -0
- package/dts/src/assets/components/monitor.vue.d.ts +2 -0
- package/dts/src/assets/components/moon.vue.d.ts +2 -0
- package/dts/src/assets/components/order.vue.d.ts +2 -0
- package/dts/src/assets/components/password.vue.d.ts +2 -0
- package/dts/src/assets/components/peoples.vue.d.ts +2 -0
- package/dts/src/assets/components/phone.vue.d.ts +2 -0
- package/dts/src/assets/components/project.vue.d.ts +2 -0
- package/dts/src/assets/components/publish.vue.d.ts +2 -0
- package/dts/src/assets/components/quanxianguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/redis.vue.d.ts +2 -0
- package/dts/src/assets/components/refresh.vue.d.ts +2 -0
- package/dts/src/assets/components/role.vue.d.ts +2 -0
- package/dts/src/assets/components/security.vue.d.ts +2 -0
- package/dts/src/assets/components/setting.vue.d.ts +2 -0
- package/dts/src/assets/components/shoujihao.vue.d.ts +2 -0
- package/dts/src/assets/components/shrink.vue.d.ts +2 -0
- package/dts/src/assets/components/size.vue.d.ts +2 -0
- package/dts/src/assets/components/sunny.vue.d.ts +2 -0
- package/dts/src/assets/components/system.vue.d.ts +2 -0
- package/dts/src/assets/components/table.vue.d.ts +2 -0
- package/dts/src/assets/components/team.vue.d.ts +2 -0
- package/dts/src/assets/components/todolist.vue.d.ts +2 -0
- package/dts/src/assets/components/tree.vue.d.ts +2 -0
- package/dts/src/assets/components/user.vue.d.ts +2 -0
- package/dts/src/assets/components/visit.vue.d.ts +2 -0
- package/dts/src/assets/components/xingming.vue.d.ts +2 -0
- package/dts/src/assets/components/yonghuguanli.vue.d.ts +2 -0
- package/dts/src/assets/components/youxiang.vue.d.ts +2 -0
- package/dts/src/components/Pagination/index.vue.d.ts +1 -1
- package/dts/src/components/TableSet/index.vue.d.ts +30 -0
- package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
- package/dts/src/index.d.ts +1 -0
- package/dts/src/utils/netsecret.d.ts +1 -0
- package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
- package/dts/src/views/system/dept/index.vue.d.ts +2 -0
- package/dts/src/views/system/job/edit.vue.d.ts +30 -0
- package/dts/src/views/system/job/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
- package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
- package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
- package/dts/src/views/system/menu/index.vue.d.ts +2 -0
- package/dts/src/views/system/module/edit.vue.d.ts +31 -0
- package/dts/src/views/system/module/index.vue.d.ts +2 -0
- package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
- package/dts/src/views/system/operation/index.vue.d.ts +2 -0
- package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
- package/dts/src/views/system/permission/index.vue.d.ts +2 -0
- package/dts/src/views/system/role/edit.vue.d.ts +31 -0
- package/dts/src/views/system/role/index.vue.d.ts +2 -0
- package/dts/src/views/system/user/edit.vue.d.ts +31 -0
- package/dts/src/views/system/user/index.vue.d.ts +2 -0
- package/package.json +2 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { a3 as x, W as T, ak as ee, a2 as oe, a7 as te, Y as u, av as se, ar as le, aw as ae,
|
|
2
|
-
import { E as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { E as
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import { useI18n as
|
|
1
|
+
import { a3 as x, W as T, ak as ee, a2 as oe, a7 as te, Y as u, av as se, ar as le, aw as ae, ax as ne, aa as re, ag as ce, ap as ie, ay as de, az as pe, s as ue, r as me, t as _e, a8 as ge } from "./index-ipIvIM2L.mjs";
|
|
2
|
+
import { E as he } from "./el-card-BFASmb2m.mjs";
|
|
3
|
+
import { _ as fe, E as ve } from "./picture-Bqb0oVrI.mjs";
|
|
4
|
+
import { E as we } from "./el-form-item-BgoLyF0W.mjs";
|
|
5
|
+
import { defineComponent as ye, ref as c, watchEffect as ke, computed as Ce, onMounted as Ee, resolveComponent as be, openBlock as v, createElementBlock as q, createElementVNode as a, createVNode as s, unref as o, isRef as Ve, withCtx as r, toDisplayString as I, createTextVNode as $, createBlock as U, Fragment as Se, renderList as xe, createCommentVNode as Ie, withKeys as A, withModifiers as $e, withDirectives as Re, vShow as De, pushScopeId as Le, popScopeId as Te } from "vue";
|
|
6
|
+
import { useI18n as qe } from "vue-i18n";
|
|
7
7
|
import { ElForm as B } from "element-plus";
|
|
8
|
-
import { useRoute as
|
|
9
|
-
const F = (m) => (
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
],
|
|
8
|
+
import { useRoute as Ue } from "vue-router";
|
|
9
|
+
const F = (m) => (Le("data-v-10b9a69c"), m = m(), Te(), m), Ae = { class: "login-container" }, Be = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Fe = { class: "text-center relative" }, Ne = { class: "p-2" }, ze = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, Oe = { class: "captcha" }, We = { class: "image-slot" }, je = { class: "forgot-pwd" }, Me = { class: "absolute bottom-1 text-[10px] text-center" }, Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), He = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, "备案号: XXXX .", -1)), Qe = [
|
|
10
|
+
Pe,
|
|
11
|
+
He
|
|
12
|
+
], Ye = 992, Ze = /* @__PURE__ */ ye({
|
|
13
13
|
__name: "index",
|
|
14
14
|
setup(m) {
|
|
15
|
-
const w = x(), { title: N, version:
|
|
15
|
+
const w = x(), { title: N, version: z } = w, y = c(w.theme === "dark"), K = (e) => {
|
|
16
16
|
se(e), w.changeSetting({
|
|
17
17
|
key: "theme",
|
|
18
18
|
value: e ? "dark" : "light"
|
|
19
19
|
});
|
|
20
|
-
},
|
|
20
|
+
}, k = T(), { width: X } = ee();
|
|
21
21
|
ke(() => {
|
|
22
|
-
|
|
22
|
+
X.value < Ye ? k.toggleDevice("mobile") : k.toggleDevice("desktop");
|
|
23
23
|
});
|
|
24
|
-
const C = c(!1), R = c(!1), _ = c(!1), D = c(), L = c(B), E = c([]),
|
|
24
|
+
const C = c(!1), R = c(!1), _ = c(!1), D = c(), L = c(B), E = c([]), n = c({
|
|
25
25
|
scope: "",
|
|
26
26
|
username: "",
|
|
27
27
|
password: ""
|
|
28
|
-
}), { t:
|
|
29
|
-
const e =
|
|
28
|
+
}), { t: b } = qe(), O = Ce(() => {
|
|
29
|
+
const e = k.language === "en" ? "Please enter " : "请输入";
|
|
30
30
|
return {
|
|
31
31
|
username: [
|
|
32
32
|
{
|
|
33
33
|
required: !0,
|
|
34
34
|
trigger: "blur",
|
|
35
|
-
message: `${e}${
|
|
35
|
+
message: `${e}${b("login.username")}`
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
password: [
|
|
@@ -42,14 +42,14 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
42
42
|
validator: (t, d, i) => {
|
|
43
43
|
d.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
|
|
44
44
|
},
|
|
45
|
-
message: `${e}${
|
|
45
|
+
message: `${e}${b("login.password")}`
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
48
|
captchaCode: [
|
|
49
49
|
{
|
|
50
50
|
required: !0,
|
|
51
51
|
trigger: "blur",
|
|
52
|
-
message: `${e}${
|
|
52
|
+
message: `${e}${b("login.captchaCode")}`
|
|
53
53
|
}
|
|
54
54
|
]
|
|
55
55
|
};
|
|
@@ -58,9 +58,9 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
58
58
|
const { key: t } = e;
|
|
59
59
|
R.value = t && t.length === 1 && t >= "A" && t <= "Z";
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function g() {
|
|
62
62
|
le().then(({ data: e }) => {
|
|
63
|
-
|
|
63
|
+
n.value.captchaKey = e.captchaId, D.value = e.base64Image;
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
function j() {
|
|
@@ -68,47 +68,47 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
68
68
|
E.value = e.roleList;
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
const M =
|
|
72
|
-
function
|
|
71
|
+
const M = Ue(), P = oe();
|
|
72
|
+
function V() {
|
|
73
73
|
L.value.validate((e) => {
|
|
74
|
-
e && (C.value = !0, P.login(
|
|
74
|
+
e && (C.value = !0, n.value.password = ne(n.value.password), P.login(n.value).then(() => {
|
|
75
75
|
const t = M.query, d = t.redirect ?? "/", i = Object.keys(t).reduce(
|
|
76
|
-
(
|
|
76
|
+
(h, p) => (p !== "redirect" && (h[p] = t[p]), h),
|
|
77
77
|
{}
|
|
78
78
|
);
|
|
79
|
-
|
|
79
|
+
re.value.push({ path: d, query: i }), g();
|
|
80
80
|
}).catch(() => {
|
|
81
|
-
|
|
81
|
+
g();
|
|
82
82
|
}).finally(() => {
|
|
83
83
|
C.value = !1;
|
|
84
84
|
}));
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
-
return
|
|
88
|
-
|
|
87
|
+
return Ee(() => {
|
|
88
|
+
g(), j();
|
|
89
89
|
const e = x().theme;
|
|
90
90
|
x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
91
91
|
}), (e, t) => {
|
|
92
|
-
const d =
|
|
93
|
-
return v(), q("div",
|
|
94
|
-
a("div",
|
|
92
|
+
const d = ce, i = ie, h = de, p = pe, f = we, S = ue, H = me, Q = fe, Y = ve, Z = be("router-link"), G = _e, J = he;
|
|
93
|
+
return v(), q("div", Ae, [
|
|
94
|
+
a("div", Be, [
|
|
95
95
|
s(d, {
|
|
96
|
-
modelValue: o(
|
|
97
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => Ve(
|
|
96
|
+
modelValue: o(y),
|
|
97
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => Ve(y) ? y.value = l : null),
|
|
98
98
|
"inline-prompt": "",
|
|
99
99
|
"active-color": "var(--el-fill-color-dark)",
|
|
100
100
|
"inactive-color": "var(--el-color-primary)",
|
|
101
|
-
onChange:
|
|
101
|
+
onChange: K
|
|
102
102
|
}, null, 8, ["modelValue"]),
|
|
103
103
|
s(te, { class: "ml-2 cursor-pointer" })
|
|
104
104
|
]),
|
|
105
105
|
s(J, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
|
|
106
|
-
default:
|
|
107
|
-
a("div",
|
|
106
|
+
default: r(() => [
|
|
107
|
+
a("div", Fe, [
|
|
108
108
|
a("h2", null, I(o(N)), 1),
|
|
109
109
|
s(i, { class: "ml-2 absolute top-0 right-0" }, {
|
|
110
|
-
default:
|
|
111
|
-
$(I(o(
|
|
110
|
+
default: r(() => [
|
|
111
|
+
$(I(o(z)), 1)
|
|
112
112
|
]),
|
|
113
113
|
_: 1
|
|
114
114
|
})
|
|
@@ -116,28 +116,28 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
116
116
|
s(o(B), {
|
|
117
117
|
ref_key: "loginFormRef",
|
|
118
118
|
ref: L,
|
|
119
|
-
model: o(
|
|
119
|
+
model: o(n),
|
|
120
120
|
rules: o(O),
|
|
121
121
|
size: "large",
|
|
122
122
|
class: "login-form"
|
|
123
123
|
}, {
|
|
124
|
-
default:
|
|
125
|
-
o(E).length > 0 ? (v(), U(
|
|
124
|
+
default: r(() => [
|
|
125
|
+
o(E).length > 0 ? (v(), U(f, {
|
|
126
126
|
key: 0,
|
|
127
127
|
prop: "scope"
|
|
128
128
|
}, {
|
|
129
|
-
default:
|
|
130
|
-
a("div",
|
|
129
|
+
default: r(() => [
|
|
130
|
+
a("div", Ne, [
|
|
131
131
|
s(u, { "icon-class": "user" })
|
|
132
132
|
]),
|
|
133
133
|
s(p, {
|
|
134
|
-
modelValue: o(
|
|
135
|
-
"onUpdate:modelValue": t[1] || (t[1] = (l) => o(
|
|
134
|
+
modelValue: o(n).scope,
|
|
135
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => o(n).scope = l),
|
|
136
136
|
placeholder: "Select",
|
|
137
137
|
class: "flex-1"
|
|
138
138
|
}, {
|
|
139
|
-
default:
|
|
140
|
-
(v(!0), q(Se, null,
|
|
139
|
+
default: r(() => [
|
|
140
|
+
(v(!0), q(Se, null, xe(o(E), (l) => (v(), U(h, {
|
|
141
141
|
key: l.roleCode,
|
|
142
142
|
label: l.roleName,
|
|
143
143
|
value: l.roleCode
|
|
@@ -147,16 +147,16 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
147
147
|
}, 8, ["modelValue"])
|
|
148
148
|
]),
|
|
149
149
|
_: 1
|
|
150
|
-
})) :
|
|
151
|
-
s(
|
|
152
|
-
default:
|
|
153
|
-
a("div",
|
|
150
|
+
})) : Ie("", !0),
|
|
151
|
+
s(f, { prop: "username" }, {
|
|
152
|
+
default: r(() => [
|
|
153
|
+
a("div", ze, [
|
|
154
154
|
s(u, { "icon-class": "user" })
|
|
155
155
|
]),
|
|
156
|
-
s(
|
|
156
|
+
s(S, {
|
|
157
157
|
ref: "username",
|
|
158
|
-
modelValue: o(
|
|
159
|
-
"onUpdate:modelValue": t[2] || (t[2] = (l) => o(
|
|
158
|
+
modelValue: o(n).username,
|
|
159
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => o(n).username = l),
|
|
160
160
|
class: "flex-1",
|
|
161
161
|
placeholder: e.$t("login.username"),
|
|
162
162
|
name: "username"
|
|
@@ -169,22 +169,22 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
169
169
|
content: "Caps lock is On",
|
|
170
170
|
placement: "right"
|
|
171
171
|
}, {
|
|
172
|
-
default:
|
|
173
|
-
s(
|
|
174
|
-
default:
|
|
172
|
+
default: r(() => [
|
|
173
|
+
s(f, { prop: "password" }, {
|
|
174
|
+
default: r(() => [
|
|
175
175
|
a("span", Ke, [
|
|
176
176
|
s(u, { "icon-class": "password" })
|
|
177
177
|
]),
|
|
178
|
-
s(
|
|
179
|
-
modelValue: o(
|
|
180
|
-
"onUpdate:modelValue": t[3] || (t[3] = (l) => o(
|
|
178
|
+
s(S, {
|
|
179
|
+
modelValue: o(n).password,
|
|
180
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => o(n).password = l),
|
|
181
181
|
class: "flex-1",
|
|
182
182
|
placeholder: e.$t("login.password"),
|
|
183
183
|
type: o(_) === !1 ? "password" : "input",
|
|
184
184
|
name: "password",
|
|
185
185
|
onKeyup: [
|
|
186
186
|
W,
|
|
187
|
-
A(
|
|
187
|
+
A(V, ["enter"])
|
|
188
188
|
]
|
|
189
189
|
}, null, 8, ["modelValue", "placeholder", "type"]),
|
|
190
190
|
a("span", {
|
|
@@ -202,27 +202,27 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
202
202
|
]),
|
|
203
203
|
_: 1
|
|
204
204
|
}, 8, ["disabled"]),
|
|
205
|
-
s(
|
|
206
|
-
default:
|
|
205
|
+
s(f, { prop: "captchaCode" }, {
|
|
206
|
+
default: r(() => [
|
|
207
207
|
a("span", Xe, [
|
|
208
208
|
s(u, { "icon-class": "captcha" })
|
|
209
209
|
]),
|
|
210
|
-
s(
|
|
211
|
-
modelValue: o(
|
|
212
|
-
"onUpdate:modelValue": t[5] || (t[5] = (l) => o(
|
|
210
|
+
s(S, {
|
|
211
|
+
modelValue: o(n).captchaCode,
|
|
212
|
+
"onUpdate:modelValue": t[5] || (t[5] = (l) => o(n).captchaCode = l),
|
|
213
213
|
"auto-complete": "off",
|
|
214
214
|
placeholder: e.$t("login.captchaCode"),
|
|
215
215
|
class: "w-[60%]",
|
|
216
|
-
onKeyup: A(
|
|
216
|
+
onKeyup: A(V, ["enter"])
|
|
217
217
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
218
|
-
a("div",
|
|
218
|
+
a("div", Oe, [
|
|
219
219
|
s(Y, {
|
|
220
220
|
src: o(D),
|
|
221
|
-
onClick:
|
|
221
|
+
onClick: g,
|
|
222
222
|
class: "w-[130px] h-[50px] cursor-pointer"
|
|
223
223
|
}, {
|
|
224
|
-
error:
|
|
225
|
-
a("div",
|
|
224
|
+
error: r(() => [
|
|
225
|
+
a("div", We, [
|
|
226
226
|
s(Q)
|
|
227
227
|
])
|
|
228
228
|
]),
|
|
@@ -232,9 +232,9 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
232
232
|
]),
|
|
233
233
|
_: 1
|
|
234
234
|
}),
|
|
235
|
-
a("div",
|
|
235
|
+
a("div", je, [
|
|
236
236
|
s(Z, { to: "/secondLogin" }, {
|
|
237
|
-
default:
|
|
237
|
+
default: r(() => [
|
|
238
238
|
$("手机号/邮箱登录")
|
|
239
239
|
]),
|
|
240
240
|
_: 1
|
|
@@ -244,9 +244,9 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
244
244
|
loading: o(C),
|
|
245
245
|
type: "primary",
|
|
246
246
|
class: "w-full",
|
|
247
|
-
onClick:
|
|
247
|
+
onClick: $e(V, ["prevent"])
|
|
248
248
|
}, {
|
|
249
|
-
default:
|
|
249
|
+
default: r(() => [
|
|
250
250
|
$(I(e.$t("login.login")), 1)
|
|
251
251
|
]),
|
|
252
252
|
_: 1
|
|
@@ -257,13 +257,13 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
|
|
|
257
257
|
]),
|
|
258
258
|
_: 1
|
|
259
259
|
}),
|
|
260
|
-
|
|
261
|
-
[
|
|
260
|
+
Re(a("div", Me, Qe, 512), [
|
|
261
|
+
[De, o(T)().device == "desktop"]
|
|
262
262
|
])
|
|
263
263
|
]);
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
}),
|
|
266
|
+
}), no = /* @__PURE__ */ ge(Ze, [["__scopeId", "data-v-10b9a69c"]]);
|
|
267
267
|
export {
|
|
268
|
-
|
|
268
|
+
no as default
|
|
269
269
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bP as e, bQ as t, c6 as r, bR as o, bS as b, c4 as u, c5 as i, c0 as c, c1 as n, c2 as p, c3 as g, c7 as d, bW as P, bF as S, bG as E, bB as l, bM as M, bN as D, bD as m, a6 as k, bC as f, bT as v, ar as y, bL as H, a9 as L, bE as R, ax as A, bA as B, b_ as C, aa as T, bp as U, aw as V, bX as W, bH as h, b$ as x, bK as z, bI as q, bJ as w, W as F, bY as Q, bO as G, bU as I, ab as J, bq as K, a3 as N, bV as O, a1 as X, a2 as Y, bZ as Z, at as _ } from "./index-ipIvIM2L.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BizDict,
|
|
4
4
|
t as BizLayDict,
|
|
@@ -14,39 +14,40 @@ export {
|
|
|
14
14
|
d as RedirectPage,
|
|
15
15
|
P as TableHooks,
|
|
16
16
|
S as addViteMenus,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
E as addWebpackMenus,
|
|
18
|
+
l as axiosConfig,
|
|
19
19
|
M as clearEmpty,
|
|
20
20
|
D as deepMerge,
|
|
21
21
|
m as default,
|
|
22
22
|
k as defaultSettings,
|
|
23
23
|
f as directive,
|
|
24
24
|
v as enumMapCache,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
A as
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
25
|
+
y as getCaptchaApi,
|
|
26
|
+
H as getQueryParams,
|
|
27
|
+
L as i18n,
|
|
28
|
+
R as menus,
|
|
29
|
+
A as netEncrypt,
|
|
30
|
+
B as request,
|
|
31
|
+
C as resetRouter,
|
|
32
|
+
T as routerRef,
|
|
33
|
+
U as runAsUser,
|
|
34
|
+
V as selectDsdRoles,
|
|
35
|
+
W as store,
|
|
36
|
+
h as updateMetaEnv,
|
|
37
|
+
x as updateRouter,
|
|
38
|
+
z as updateSettings,
|
|
39
|
+
q as updateViteMetaEnv,
|
|
40
|
+
w as updateWebpackMetaEnv,
|
|
40
41
|
F as useAppStore,
|
|
41
42
|
Q as useAppStoreHook,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
G as useDictionary,
|
|
44
|
+
I as useListData,
|
|
45
|
+
J as usePermissionStore,
|
|
46
|
+
K as usePermissionStoreHook,
|
|
47
|
+
N as useSettingsStore,
|
|
48
|
+
O as useTableHooks,
|
|
49
|
+
X as useTagsViewStore,
|
|
50
|
+
Y as useUserStore,
|
|
51
|
+
Z as useUserStoreHook,
|
|
52
|
+
_ as vueMetaEnv
|
|
52
53
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ne, markRaw as ve, ref as h, effectScope as ke, shallowRef as Ie, computed as y, watch as ue, nextTick as me, onMounted as pe, openBlock as w, createBlock as ce, Teleport as ze, createVNode as f, Transition as Le, withCtx as L, createElementVNode as p, normalizeClass as v, unref as e, normalizeStyle as de, withModifiers as Ce, createCommentVNode as E, createElementBlock as C, Fragment as ae, resolveDynamicComponent as Ee, renderList as Se, withDirectives as Ne, vShow as xe, renderSlot as te, useAttrs as Oe, toDisplayString as Te, mergeProps as $e } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { i as Ue } from "./position-
|
|
2
|
+
import { aA as Ae, q as Re, b as ge, d as P, R as ye, am as fe, aB as Me, aC as Ve, k as we, u as he, aD as Be, E as O, y as Ye, aE as De, N as Xe, aF as Fe, aG as He, aH as Pe, aI as Ke, _ as be, aJ as M, A as R, aK as je, w as _e, aL as We, c as H, aM as qe, aN as Ge, g as Ze, aO as Je } from "./index-ipIvIM2L.mjs";
|
|
3
|
+
import { i as Ue } from "./position-CajZz9Z7.mjs";
|
|
4
4
|
var Qe = "Expected a function";
|
|
5
5
|
function ie(u, b, o) {
|
|
6
6
|
var S = !0, s = !0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as Pa, a as Ea } from "./el-col-
|
|
3
|
-
import { E as Ta, a as Oa } from "./el-form-item-
|
|
1
|
+
import { aP as Xe, ah as Qe, aQ as Cn, aR as dn, aS as _e, b as Oe, d as pe, aT as qn, f as Jn, k as Ye, u as Me, l as Zn, z as Rt, aU as wn, aV as Gn, aW as Xn, m as Qn, aX as ea, r as ta, s as at, E as ye, _ as Ae, A as ve, al as ut, q as na, aY as aa, ai as sa, aZ as ra, x as oa, a_ as la, a$ as ia, L as Lt, b0 as ua, v as Ft, b1 as kt, aE as Bt, N as $t, b2 as Ct, t as wt, j as Ut, V as da, K as It, J as ca, b3 as fa, b4 as ha, b5 as va, g as pa, aJ as ma, i as ya, b6 as ga, b7 as Vt, az as zt, U as _t, ay as cn, b8 as ba, b9 as ka, a2 as Ca, ba as wa, bb as Da, bc as Na, bd as Sa, be as Ma, bf as $a, a8 as _a } from "./index-ipIvIM2L.mjs";
|
|
2
|
+
import { E as Pa, a as Ea } from "./el-col-DfavdVIH.mjs";
|
|
3
|
+
import { E as Ta, a as Oa } from "./el-form-item-BgoLyF0W.mjs";
|
|
4
4
|
import { defineComponent as Ne, useAttrs as nn, inject as Ie, ref as Q, computed as z, watch as ge, nextTick as Se, unref as t, provide as st, openBlock as K, createBlock as me, mergeProps as Dn, withCtx as te, normalizeClass as _, normalizeStyle as Ht, withModifiers as Pe, resolveDynamicComponent as gt, createCommentVNode as ue, createElementBlock as Z, createElementVNode as G, renderSlot as rt, toDisplayString as ce, onMounted as an, Fragment as be, renderList as Ee, createTextVNode as Ge, withDirectives as Ve, createVNode as B, Transition as xa, withKeys as ht, useSlots as Nn, toRef as vt, vShow as Je, getCurrentInstance as Dt, reactive as ct, h as bt, resolveComponent as Ze, shallowRef as fn, onUpdated as Va, toRefs as Sn } from "vue";
|
|
5
5
|
import { ElMessage as Ia } from "element-plus";
|
|
6
|
-
import { _ as Aa } from "./index-
|
|
6
|
+
import { _ as Aa } from "./index-BLJOFfop.mjs";
|
|
7
7
|
const Ka = [
|
|
8
8
|
"year",
|
|
9
9
|
"years",
|
|
@@ -4898,7 +4898,7 @@ const jr = xt, Wr = jr, qr = { class: "app-container" }, Jr = { class: "positon_
|
|
|
4898
4898
|
]);
|
|
4899
4899
|
};
|
|
4900
4900
|
}
|
|
4901
|
-
}), so = /* @__PURE__ */ _a(Gr, [["__scopeId", "data-v-
|
|
4901
|
+
}), so = /* @__PURE__ */ _a(Gr, [["__scopeId", "data-v-d6f1b45b"]]);
|
|
4902
4902
|
export {
|
|
4903
4903
|
so as default
|
|
4904
4904
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as we, t as Be, I as Te, s as Me, H as ke, E as Se,
|
|
1
|
+
import { A as we, t as Be, I as Te, s as Me, H as ke, E as Se, bg as Ie, bh as Ae, bi as Ve, bj as x, bk as ee, bl as Re, bm as Le, _ as Oe, bn as $e, c as Ne, g as ie, j as ne, V as Pe, a_ as ze, al as oe, aN as te, z as De, bo as Ue, a2 as L, bp as Fe, bq as He, X as Ke, br as qe, aq as je } from "./index-ipIvIM2L.mjs";
|
|
2
2
|
import { nextTick as $, defineComponent as ue, computed as w, ref as C, reactive as de, watch as se, onMounted as Xe, onBeforeUnmount as Ge, toRefs as We, resolveComponent as k, openBlock as f, createBlock as g, Transition as Ze, withCtx as m, withDirectives as H, createVNode as h, createElementVNode as v, normalizeClass as d, normalizeStyle as le, withModifiers as D, createElementBlock as K, resolveDynamicComponent as U, createCommentVNode as S, toDisplayString as O, withKeys as F, renderSlot as Je, createTextVNode as q, vShow as j, isVNode as ce, render as fe, useModel as Qe, resolveDirective as Ye, unref as X } from "vue";
|
|
3
|
-
const
|
|
3
|
+
const _e = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', xe = (e) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, ae = (e) => Array.from(e.querySelectorAll(_e)).filter((n) => en(n) && xe(n)), en = (e) => {
|
|
4
4
|
if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null)
|
|
5
5
|
return !0;
|
|
6
6
|
if (e.disabled)
|
|
@@ -152,15 +152,15 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
|
|
|
152
152
|
zIndex: c()
|
|
153
153
|
}), A = w(() => {
|
|
154
154
|
const i = o.type;
|
|
155
|
-
return { [a.bm("icon", i)]: i &&
|
|
156
|
-
}), E = ee(), u = ee(), pe = w(() => o.icon ||
|
|
155
|
+
return { [a.bm("icon", i)]: i && x[i] };
|
|
156
|
+
}), E = ee(), u = ee(), pe = w(() => o.icon || x[o.type] || ""), me = w(() => !!o.message), T = C(), W = C(), V = C(), P = C(), Z = C(), ve = w(() => o.confirmButtonClass);
|
|
157
157
|
se(() => o.inputValue, async (i) => {
|
|
158
158
|
await $(), e.boxType === "prompt" && i !== null && Q();
|
|
159
159
|
}, { immediate: !0 }), se(() => p.value, (i) => {
|
|
160
160
|
var b, M;
|
|
161
161
|
i && (e.boxType !== "prompt" && (o.autofocus ? V.value = (M = (b = Z.value) == null ? void 0 : b.$el) != null ? M : T.value : V.value = T.value), o.zIndex = c()), e.boxType === "prompt" && (i ? $().then(() => {
|
|
162
|
-
var
|
|
163
|
-
P.value && P.value.$el && (o.autofocus ? V.value = (
|
|
162
|
+
var _;
|
|
163
|
+
P.value && P.value.$el && (o.autofocus ? V.value = (_ = he()) != null ? _ : T.value : V.value = T.value);
|
|
164
164
|
}) : (o.editorErrorMessage = "", o.validateError = !1));
|
|
165
165
|
});
|
|
166
166
|
const ge = w(() => e.draggable), be = w(() => e.overflow);
|