jmash-core 0.0.42 → 0.0.44
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/{401-CJFCHgSZ.mjs → 401-DAc0ZTT3.mjs} +2 -2
- package/dist/{404-CIMxkP9D.mjs → 404-DL0V464Q.mjs} +1 -1
- package/dist/{BarChart-DU09mkLm.mjs → BarChart-zm5GtEVX.mjs} +2 -2
- package/dist/{PieChart-CoqFm60I.mjs → PieChart-DO1-A8_G.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs → PieChart.vue_vue_type_script_setup_true_lang-BcbRhNgc.mjs} +2 -2
- package/dist/{RadarChart-0WISsxpt.mjs → RadarChart-8zqS7Eo-.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CrB3tkxP.mjs} +2 -2
- package/dist/{el-card-DTXS4SWb.mjs → el-card-CbwEHRlU.mjs} +1 -1
- package/dist/{el-col-C1oER81S.mjs → el-col-WZlTrXG-.mjs} +1 -1
- package/dist/{el-form-item-CJcAbcqr.mjs → el-form-item-XVkfX1T_.mjs} +1 -1
- package/dist/{index-BAk-5oG9.mjs → index-BFKyzJpY.mjs} +1 -1
- package/dist/{index-C195Pa7c.mjs → index-BQMBMRuX.mjs} +6797 -6700
- package/dist/{index-ORr19rEl.mjs → index-CkmG8sA9.mjs} +55 -55
- package/dist/{index-DB4OW-7Q.mjs → index-DGMC3bE7.mjs} +951 -990
- package/dist/{index-BwIx8FCt.mjs → index-DuBShX5V.mjs} +6 -6
- package/dist/index.mjs +28 -29
- package/dist/{index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs → index.vue_vue_type_script_setup_true_lang-CGusB5VG.mjs} +2 -2
- package/dist/{picture-Cpgh-vo-.mjs → picture-Bfg9EVLi.mjs} +63 -63
- package/dist/{position-M0AZIV5D.mjs → position-Bw-PTq7P.mjs} +1 -1
- package/dist/{profile-DBegP-cF.mjs → profile-UesxPcWP.mjs} +400 -400
- package/dist/{runAs-xhA9mf-i.mjs → runAs-CAisKPb_.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs → runAs.vue_vue_type_script_setup_true_lang-DrTiSKqQ.mjs} +18 -18
- package/dist/style.css +1 -1
- package/dist/{types-FkPgztcJ.mjs → types-C9VxChke.mjs} +4 -4
- package/dist/{updatePwd-D1EnTbTY.mjs → updatePwd-B_IPkNM2.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BYlVFyWG.mjs} +11 -11
- package/dts/src/index.d.ts +2 -3
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a0 as x, W as
|
|
2
|
-
import { E as _e } from "./el-card-
|
|
3
|
-
import { _ as ge, E as fe } from "./picture-
|
|
4
|
-
import { E as he } from "./el-form-item-
|
|
5
|
-
import { defineComponent as ve, ref as c, watchEffect as we, computed as ke, onMounted as ye, resolveComponent as Ce, openBlock as v, createElementBlock as
|
|
6
|
-
import { useI18n as
|
|
1
|
+
import { a0 as x, W as T, ag as ee, $ as oe, Y as m, ar as te, an as se, as as le, a6 as ne, ac as ae, al as re, at as ce, au as ie, s as de, r as pe, t as ue, a4 as me } from "./index-BQMBMRuX.mjs";
|
|
2
|
+
import { E as _e } from "./el-card-CbwEHRlU.mjs";
|
|
3
|
+
import { _ as ge, E as fe } from "./picture-Bfg9EVLi.mjs";
|
|
4
|
+
import { E as he } from "./el-form-item-XVkfX1T_.mjs";
|
|
5
|
+
import { defineComponent as ve, ref as c, watchEffect as we, computed as ke, onMounted as ye, resolveComponent as Ce, openBlock as v, createElementBlock as q, createElementVNode as n, createVNode as s, unref as t, isRef as Ee, withCtx as a, toDisplayString as $, createTextVNode as I, createBlock as U, Fragment as Ve, renderList as Se, createCommentVNode as be, withKeys as A, withModifiers as xe, withDirectives as $e, vShow as Ie, pushScopeId as Re, popScopeId as De } from "vue";
|
|
6
|
+
import { useI18n as Le } from "vue-i18n";
|
|
7
7
|
import { ElForm as B } from "element-plus";
|
|
8
|
-
import { useRoute as
|
|
9
|
-
import { _ as
|
|
10
|
-
const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, ze = { class: "captcha" }, Oe = { class: "image-slot" }, We = { class: "forgot-pwd" }, je = { class: "absolute bottom-1 text-[10px] text-center" }, Me = /* @__PURE__ */ F(() => /* @__PURE__ */
|
|
8
|
+
import { useRoute as Te } from "vue-router";
|
|
9
|
+
import { _ as qe } from "./index.vue_vue_type_script_setup_true_lang-CGusB5VG.mjs";
|
|
10
|
+
const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, ze = { class: "captcha" }, Oe = { class: "image-slot" }, We = { class: "forgot-pwd" }, je = { class: "absolute bottom-1 text-[10px] text-center" }, Me = /* @__PURE__ */ F(() => /* @__PURE__ */ n("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ n("p", null, "备案号: XXXX .", -1)), He = [
|
|
11
11
|
Me,
|
|
12
12
|
Pe
|
|
13
13
|
], Qe = 992, Ye = /* @__PURE__ */ ve({
|
|
@@ -18,15 +18,15 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
18
18
|
key: "theme",
|
|
19
19
|
value: e ? "dark" : "light"
|
|
20
20
|
});
|
|
21
|
-
}, y =
|
|
21
|
+
}, y = T(), { width: z } = ee();
|
|
22
22
|
we(() => {
|
|
23
23
|
z.value < Qe ? y.toggleDevice("mobile") : y.toggleDevice("desktop");
|
|
24
24
|
});
|
|
25
|
-
const C = c(!1), R = c(!1), g = c(!1), D = c(),
|
|
25
|
+
const C = c(!1), R = c(!1), g = c(!1), D = c(), L = c(B), E = c([]), r = c({
|
|
26
26
|
scope: "",
|
|
27
27
|
username: "",
|
|
28
28
|
password: ""
|
|
29
|
-
}), { t: V } =
|
|
29
|
+
}), { t: V } = Le(), O = ke(() => {
|
|
30
30
|
const e = y.language === "en" ? "Please enter " : "请输入";
|
|
31
31
|
return {
|
|
32
32
|
username: [
|
|
@@ -69,9 +69,9 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
69
69
|
console.log(e), E.value = e.roleList;
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
const M =
|
|
73
|
-
function
|
|
74
|
-
|
|
72
|
+
const M = Te(), P = oe();
|
|
73
|
+
function S() {
|
|
74
|
+
L.value.validate((e) => {
|
|
75
75
|
e && (C.value = !0, P.login(r.value).then(() => {
|
|
76
76
|
const o = M.query;
|
|
77
77
|
console.log(o);
|
|
@@ -81,7 +81,7 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
81
81
|
(u, d) => (console.log(u[d], o[d]), d !== "redirect" && (u[d] = o[d]), u),
|
|
82
82
|
{}
|
|
83
83
|
);
|
|
84
|
-
console.log(i),
|
|
84
|
+
console.log(i), ne.value.push({ path: p, query: i }), f();
|
|
85
85
|
}).catch(() => {
|
|
86
86
|
f();
|
|
87
87
|
}).finally(() => {
|
|
@@ -94,9 +94,9 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
94
94
|
const e = x().theme;
|
|
95
95
|
x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
96
96
|
}), (e, o) => {
|
|
97
|
-
const p =
|
|
98
|
-
return v(),
|
|
99
|
-
|
|
97
|
+
const p = ae, i = re, u = ce, d = ie, h = he, b = de, H = pe, Q = ge, Y = fe, Z = Ce("router-link"), G = ue, J = _e;
|
|
98
|
+
return v(), q("div", Ue, [
|
|
99
|
+
n("div", Ae, [
|
|
100
100
|
s(p, {
|
|
101
101
|
modelValue: t(k),
|
|
102
102
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => Ee(k) ? k.value = l : null),
|
|
@@ -105,14 +105,14 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
105
105
|
"inactive-color": "var(--el-color-primary)",
|
|
106
106
|
onChange: X
|
|
107
107
|
}, null, 8, ["modelValue"]),
|
|
108
|
-
s(
|
|
108
|
+
s(qe, { class: "ml-2 cursor-pointer" })
|
|
109
109
|
]),
|
|
110
110
|
s(J, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
|
|
111
|
-
default:
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
default: a(() => [
|
|
112
|
+
n("div", Be, [
|
|
113
|
+
n("h2", null, $(t(N)), 1),
|
|
114
114
|
s(i, { class: "ml-2 absolute top-0 right-0" }, {
|
|
115
|
-
default:
|
|
115
|
+
default: a(() => [
|
|
116
116
|
I($(t(K)), 1)
|
|
117
117
|
]),
|
|
118
118
|
_: 1
|
|
@@ -120,19 +120,19 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
120
120
|
]),
|
|
121
121
|
s(t(B), {
|
|
122
122
|
ref_key: "loginFormRef",
|
|
123
|
-
ref:
|
|
123
|
+
ref: L,
|
|
124
124
|
model: t(r),
|
|
125
125
|
rules: t(O),
|
|
126
126
|
size: "large",
|
|
127
127
|
class: "login-form"
|
|
128
128
|
}, {
|
|
129
|
-
default:
|
|
129
|
+
default: a(() => [
|
|
130
130
|
t(E).length > 0 ? (v(), U(h, {
|
|
131
131
|
key: 0,
|
|
132
132
|
prop: "scope"
|
|
133
133
|
}, {
|
|
134
|
-
default:
|
|
135
|
-
|
|
134
|
+
default: a(() => [
|
|
135
|
+
n("div", Fe, [
|
|
136
136
|
s(m, { "icon-class": "user" })
|
|
137
137
|
]),
|
|
138
138
|
s(d, {
|
|
@@ -141,8 +141,8 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
141
141
|
placeholder: "Select",
|
|
142
142
|
class: "flex-1"
|
|
143
143
|
}, {
|
|
144
|
-
default:
|
|
145
|
-
(v(!0),
|
|
144
|
+
default: a(() => [
|
|
145
|
+
(v(!0), q(Ve, null, Se(t(E), (l) => (v(), U(u, {
|
|
146
146
|
key: l.roleCode,
|
|
147
147
|
label: l.roleName,
|
|
148
148
|
value: l.roleCode
|
|
@@ -152,13 +152,13 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
152
152
|
}, 8, ["modelValue"])
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
|
-
})) :
|
|
155
|
+
})) : be("", !0),
|
|
156
156
|
s(h, { prop: "username" }, {
|
|
157
|
-
default:
|
|
158
|
-
|
|
157
|
+
default: a(() => [
|
|
158
|
+
n("div", Ne, [
|
|
159
159
|
s(m, { "icon-class": "user" })
|
|
160
160
|
]),
|
|
161
|
-
s(
|
|
161
|
+
s(b, {
|
|
162
162
|
ref: "username",
|
|
163
163
|
modelValue: t(r).username,
|
|
164
164
|
"onUpdate:modelValue": o[2] || (o[2] = (l) => t(r).username = l),
|
|
@@ -174,13 +174,13 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
174
174
|
content: "Caps lock is On",
|
|
175
175
|
placement: "right"
|
|
176
176
|
}, {
|
|
177
|
-
default:
|
|
177
|
+
default: a(() => [
|
|
178
178
|
s(h, { prop: "password" }, {
|
|
179
|
-
default:
|
|
180
|
-
|
|
179
|
+
default: a(() => [
|
|
180
|
+
n("span", Ke, [
|
|
181
181
|
s(m, { "icon-class": "password" })
|
|
182
182
|
]),
|
|
183
|
-
s(
|
|
183
|
+
s(b, {
|
|
184
184
|
modelValue: t(r).password,
|
|
185
185
|
"onUpdate:modelValue": o[3] || (o[3] = (l) => t(r).password = l),
|
|
186
186
|
class: "flex-1",
|
|
@@ -189,10 +189,10 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
189
189
|
name: "password",
|
|
190
190
|
onKeyup: [
|
|
191
191
|
W,
|
|
192
|
-
A(
|
|
192
|
+
A(S, ["enter"])
|
|
193
193
|
]
|
|
194
194
|
}, null, 8, ["modelValue", "placeholder", "type"]),
|
|
195
|
-
|
|
195
|
+
n("span", {
|
|
196
196
|
class: "mr-2",
|
|
197
197
|
onClick: o[4] || (o[4] = (l) => g.value = !t(g))
|
|
198
198
|
}, [
|
|
@@ -208,26 +208,26 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
208
208
|
_: 1
|
|
209
209
|
}, 8, ["disabled"]),
|
|
210
210
|
s(h, { prop: "captchaCode" }, {
|
|
211
|
-
default:
|
|
212
|
-
|
|
211
|
+
default: a(() => [
|
|
212
|
+
n("span", Xe, [
|
|
213
213
|
s(m, { "icon-class": "captcha" })
|
|
214
214
|
]),
|
|
215
|
-
s(
|
|
215
|
+
s(b, {
|
|
216
216
|
modelValue: t(r).captchaCode,
|
|
217
217
|
"onUpdate:modelValue": o[5] || (o[5] = (l) => t(r).captchaCode = l),
|
|
218
218
|
"auto-complete": "off",
|
|
219
219
|
placeholder: e.$t("login.captchaCode"),
|
|
220
220
|
class: "w-[60%]",
|
|
221
|
-
onKeyup: A(
|
|
221
|
+
onKeyup: A(S, ["enter"])
|
|
222
222
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
223
|
-
|
|
223
|
+
n("div", ze, [
|
|
224
224
|
s(Y, {
|
|
225
225
|
src: t(D),
|
|
226
226
|
onClick: f,
|
|
227
227
|
class: "w-[130px] h-[50px] cursor-pointer"
|
|
228
228
|
}, {
|
|
229
|
-
error:
|
|
230
|
-
|
|
229
|
+
error: a(() => [
|
|
230
|
+
n("div", Oe, [
|
|
231
231
|
s(Q)
|
|
232
232
|
])
|
|
233
233
|
]),
|
|
@@ -237,9 +237,9 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
237
237
|
]),
|
|
238
238
|
_: 1
|
|
239
239
|
}),
|
|
240
|
-
|
|
240
|
+
n("div", We, [
|
|
241
241
|
s(Z, { to: "/secondLogin" }, {
|
|
242
|
-
default:
|
|
242
|
+
default: a(() => [
|
|
243
243
|
I("手机号/邮箱登录")
|
|
244
244
|
]),
|
|
245
245
|
_: 1
|
|
@@ -249,9 +249,9 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
249
249
|
loading: t(C),
|
|
250
250
|
type: "primary",
|
|
251
251
|
class: "w-full",
|
|
252
|
-
onClick: xe(
|
|
252
|
+
onClick: xe(S, ["prevent"])
|
|
253
253
|
}, {
|
|
254
|
-
default:
|
|
254
|
+
default: a(() => [
|
|
255
255
|
I($(e.$t("login.login")), 1)
|
|
256
256
|
]),
|
|
257
257
|
_: 1
|
|
@@ -262,13 +262,13 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
262
262
|
]),
|
|
263
263
|
_: 1
|
|
264
264
|
}),
|
|
265
|
-
$e(
|
|
266
|
-
[Ie, t(
|
|
265
|
+
$e(n("div", je, He, 512), [
|
|
266
|
+
[Ie, t(T)().device == "desktop"]
|
|
267
267
|
])
|
|
268
268
|
]);
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
}),
|
|
271
|
+
}), ao = /* @__PURE__ */ me(Ye, [["__scopeId", "data-v-e78a2e87"]]);
|
|
272
272
|
export {
|
|
273
|
-
|
|
273
|
+
ao as default
|
|
274
274
|
};
|