jmash-core 0.1.12 → 0.1.14
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 +57 -57
- package/dist/401-C0q_e1zJ.mjs +104 -0
- package/dist/404-WP7omG9z.mjs +39 -0
- package/dist/{BarChart-4TUTUasV.mjs → BarChart-DjOjRVDo.mjs} +2 -2
- package/dist/assets/09fcc36c527efda6.jpg +0 -0
- package/dist/assets/0cda52992278af9e.png +0 -0
- package/dist/assets/1fa4b4a419330812.png +0 -0
- package/dist/assets/53044ba5490eb488.png +0 -0
- package/dist/assets/6582a007b98ef74f.png +0 -0
- package/dist/assets/a6029a1ec37b99c2.gif +0 -0
- package/dist/{index-SONmoe7f.mjs → index-BWPCazOM.mjs} +18 -18
- package/dist/{index-DoIpmzAF.mjs → index-CKwO5tJ6.mjs} +13 -13
- package/dist/{index-DY2ILYJ5.mjs → index-CVxxMlrU.mjs} +10802 -10575
- package/dist/{index-jbciilFG.mjs → index-DlWOd_33.mjs} +17 -17
- package/dist/index-U1XG9RWU.mjs +237 -0
- package/dist/index.mjs +44 -42
- package/dist/{profile-BJH0YwW_.mjs → profile-BKMc1ACK.mjs} +2 -2
- package/dist/{runAs-DqrDuOUP.mjs → runAs-BkWJ96tl.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-DdgZ9dNt.mjs +2610 -0
- package/dist/style.css +1 -1
- package/dist/{types-B9fYCnd0.mjs → types-CIxV5TtA.mjs} +1 -1
- package/dist/{updatePwd--OT3Q2JS.mjs → updatePwd-DdNcURoD.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DgBnToSJ.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BiODj6l4.mjs} +1 -1
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +1 -1
- package/dts/src/index.d.ts +9 -9
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
- package/dts/src/settings.d.ts +3 -1
- package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
- package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
- package/package.json +3 -2
- package/dist/401-B-zsepse.mjs +0 -103
- package/dist/404-CONZYh8l.mjs +0 -37
- package/dist/index-B1SSOakk.mjs +0 -235
- package/dist/runAs.vue_vue_type_script_setup_true_lang-D24eVmlS.mjs +0 -2558
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as Z, _ as le, E as ze, S as Fe, a as we, b as Ue, c as te, D as _e, d as qe, f as He, e as We, g as de, h as q, i as Ve, r as Te, j as me, T as he, s as Ke, m as Xe, k as je, l as fe, n as Ge } from "./index-
|
|
1
|
+
import { u as Z, _ as le, E as ze, S as Fe, a as we, b as Ue, c as te, D as _e, d as qe, f as He, e as We, g as de, h as q, i as Ve, r as Te, j as me, T as he, s as Ke, m as Xe, k as je, l as fe, n as Ge } from "./index-CVxxMlrU.mjs";
|
|
2
2
|
import { defineComponent as D, ref as U, resolveComponent as V, createBlock as S, openBlock as d, withCtx as h, createElementVNode as k, createVNode as p, createElementBlock as x, Fragment as K, renderList as se, unref as l, createTextVNode as N, toDisplayString as E, computed as B, createCommentVNode as T, isRef as ve, watch as oe, onBeforeMount as Ye, TransitionGroup as Je, withModifiers as ue, normalizeClass as H, Transition as Me, KeepAlive as Qe, resolveDynamicComponent as ye, getCurrentInstance as Ze, nextTick as $e, onMounted as Ee, withDirectives as et, normalizeStyle as tt, vShow as nt, normalizeProps as ot, guardReactiveProps as it, renderSlot as at, watchEffect as lt } from "vue";
|
|
3
3
|
import { useRoute as pe, useRouter as ke } from "vue-router";
|
|
4
|
-
import { _ as st } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as rt, E as ct } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as st } from "./updatePwd.vue_vue_type_script_setup_true_lang-BiODj6l4.mjs";
|
|
5
|
+
import { _ as rt, E as ct } from "./runAs.vue_vue_type_script_setup_true_lang-DdgZ9dNt.mjs";
|
|
6
6
|
import { storeToRefs as ut } from "pinia";
|
|
7
7
|
const dt = /* @__PURE__ */ D({
|
|
8
8
|
__name: "index",
|
|
@@ -190,7 +190,7 @@ const dt = /* @__PURE__ */ D({
|
|
|
190
190
|
]);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
}), Le = /* @__PURE__ */ q(vt, [["__scopeId", "data-v-
|
|
193
|
+
}), Le = /* @__PURE__ */ q(vt, [["__scopeId", "data-v-745304a4"]]);
|
|
194
194
|
function gt(i) {
|
|
195
195
|
for (var e = [], t = 0; t < i.length; ) {
|
|
196
196
|
var o = i[t];
|
|
@@ -455,7 +455,7 @@ const kt = {
|
|
|
455
455
|
});
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
|
-
}), Vt = /* @__PURE__ */ q(Ct, [["__scopeId", "data-v-
|
|
458
|
+
}), Vt = /* @__PURE__ */ q(Ct, [["__scopeId", "data-v-6109c28e"]]), Tt = /* @__PURE__ */ D({
|
|
459
459
|
__name: "index",
|
|
460
460
|
props: {
|
|
461
461
|
isActive: {
|
|
@@ -483,7 +483,7 @@ const kt = {
|
|
|
483
483
|
]);
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
|
-
}), Pe = /* @__PURE__ */ q(Tt, [["__scopeId", "data-v-
|
|
486
|
+
}), Pe = /* @__PURE__ */ q(Tt, [["__scopeId", "data-v-42e37629"]]), $t = { class: "flex" }, At = /* @__PURE__ */ D({
|
|
487
487
|
__name: "NavbarLeft",
|
|
488
488
|
setup(i) {
|
|
489
489
|
const e = Z();
|
|
@@ -509,7 +509,7 @@ function Lt(i, e) {
|
|
|
509
509
|
p(o)
|
|
510
510
|
]);
|
|
511
511
|
}
|
|
512
|
-
const Pt = /* @__PURE__ */ q(Mt, [["render", Lt], ["__scopeId", "data-v-
|
|
512
|
+
const Pt = /* @__PURE__ */ q(Mt, [["render", Lt], ["__scopeId", "data-v-b1624593"]]);
|
|
513
513
|
var Q = /* @__PURE__ */ ((i) => (i.LEFT = "left", i.TOP = "top", i.MIX = "mix", i))(Q || {});
|
|
514
514
|
const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PURE__ */ D({
|
|
515
515
|
__name: "LayoutSelect",
|
|
@@ -573,7 +573,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
573
573
|
]);
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
}), Dt = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-
|
|
576
|
+
}), Dt = /* @__PURE__ */ q(Rt, [["__scopeId", "data-v-2bdf1403"]]), Bt = /* @__PURE__ */ D({
|
|
577
577
|
__name: "ThemeColorPicker",
|
|
578
578
|
props: {
|
|
579
579
|
modelValue: String
|
|
@@ -604,7 +604,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
604
604
|
}, null, 8, ["modelValue"]);
|
|
605
605
|
};
|
|
606
606
|
}
|
|
607
|
-
}), Ot = /* @__PURE__ */ q(Bt, [["__scopeId", "data-v-
|
|
607
|
+
}), Ot = /* @__PURE__ */ q(Bt, [["__scopeId", "data-v-92c1fd79"]]), Nt = { class: "flex-center" }, zt = { class: "settings-option" }, Ft = { class: "text-xs" }, Ut = { class: "settings-option" }, qt = { class: "text-xs" }, Ht = { class: "settings-option" }, Wt = { class: "text-xs" }, Kt = { class: "settings-option" }, Xt = { class: "text-xs" }, jt = { class: "settings-option" }, Gt = { class: "text-xs" }, Yt = /* @__PURE__ */ D({
|
|
608
608
|
__name: "index",
|
|
609
609
|
setup(i) {
|
|
610
610
|
const e = pe(), t = Z(), o = te(), r = me(), n = B({
|
|
@@ -731,7 +731,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
731
731
|
}, 8, ["modelValue", "title"]);
|
|
732
732
|
};
|
|
733
733
|
}
|
|
734
|
-
}), Jt = /* @__PURE__ */ q(Yt, [["__scopeId", "data-v-
|
|
734
|
+
}), Jt = /* @__PURE__ */ q(Yt, [["__scopeId", "data-v-70f5bf10"]]), Qt = { class: "app-main" }, Zt = /* @__PURE__ */ D({
|
|
735
735
|
__name: "index",
|
|
736
736
|
setup(i) {
|
|
737
737
|
const e = B(() => we().cachedViews);
|
|
@@ -762,7 +762,7 @@ const It = { class: "flex flex-wrap justify-around w-full h-12" }, Rt = /* @__PU
|
|
|
762
762
|
]);
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
|
-
}), en = /* @__PURE__ */ q(Zt, [["__scopeId", "data-v-
|
|
765
|
+
}), en = /* @__PURE__ */ q(Zt, [["__scopeId", "data-v-f32946ce"]]), tn = {
|
|
766
766
|
viewBox: "0 0 1024 1024",
|
|
767
767
|
width: "1.2em",
|
|
768
768
|
height: "1.2em"
|
|
@@ -1199,7 +1199,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1199
1199
|
]);
|
|
1200
1200
|
};
|
|
1201
1201
|
}
|
|
1202
|
-
}), rn = /* @__PURE__ */ q(sn, [["__scopeId", "data-v-
|
|
1202
|
+
}), rn = /* @__PURE__ */ q(sn, [["__scopeId", "data-v-77bfe9a5"]]), cn = /* @__PURE__ */ D({
|
|
1203
1203
|
name: "AppLink",
|
|
1204
1204
|
inheritAttrs: !1,
|
|
1205
1205
|
__name: "index",
|
|
@@ -1260,7 +1260,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1260
1260
|
], 64);
|
|
1261
1261
|
};
|
|
1262
1262
|
}
|
|
1263
|
-
}), fn = /* @__PURE__ */ q(dn, [["__scopeId", "data-v-
|
|
1263
|
+
}), fn = /* @__PURE__ */ q(dn, [["__scopeId", "data-v-992a058f"]]), mn = { key: 0 }, pn = /* @__PURE__ */ D({
|
|
1264
1264
|
name: "SidebarMenuItem",
|
|
1265
1265
|
inheritAttrs: !1,
|
|
1266
1266
|
__name: "SidebarMenuItem",
|
|
@@ -1348,7 +1348,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1348
1348
|
])) : T("", !0);
|
|
1349
1349
|
};
|
|
1350
1350
|
}
|
|
1351
|
-
}), _n = "
|
|
1351
|
+
}), _n = "_dark_1sua6_13", ae = {
|
|
1352
1352
|
"sidebar-width": "210px",
|
|
1353
1353
|
"navbar-height": "50px",
|
|
1354
1354
|
"menu-background": "var(--menu-background)",
|
|
@@ -1504,7 +1504,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1504
1504
|
]);
|
|
1505
1505
|
};
|
|
1506
1506
|
}
|
|
1507
|
-
}), Sn = /* @__PURE__ */ q(kn, [["__scopeId", "data-v-
|
|
1507
|
+
}), Sn = /* @__PURE__ */ q(kn, [["__scopeId", "data-v-210c85a9"]]), Cn = {
|
|
1508
1508
|
key: 0,
|
|
1509
1509
|
class: "flex w-full"
|
|
1510
1510
|
}, Vn = /* @__PURE__ */ D({
|
|
@@ -1542,7 +1542,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1542
1542
|
], 2);
|
|
1543
1543
|
};
|
|
1544
1544
|
}
|
|
1545
|
-
}), Tn = /* @__PURE__ */ q(Vn, [["__scopeId", "data-v-
|
|
1545
|
+
}), Tn = /* @__PURE__ */ q(Vn, [["__scopeId", "data-v-a6d3f8e9"]]), $n = {
|
|
1546
1546
|
key: 1,
|
|
1547
1547
|
class: "mix-container"
|
|
1548
1548
|
}, An = { class: "mix-container__left" }, Mn = { class: "sidebar-toggle" }, En = 992, Ln = /* @__PURE__ */ D({
|
|
@@ -1627,7 +1627,7 @@ const Re = /* @__PURE__ */ je(Ie), ln = { class: "tags-container" }, sn = /* @__
|
|
|
1627
1627
|
], 2);
|
|
1628
1628
|
};
|
|
1629
1629
|
}
|
|
1630
|
-
}), Nn = /* @__PURE__ */ q(Ln, [["__scopeId", "data-v-
|
|
1630
|
+
}), Nn = /* @__PURE__ */ q(Ln, [["__scopeId", "data-v-71891bc2"]]);
|
|
1631
1631
|
export {
|
|
1632
1632
|
Nn as default
|
|
1633
1633
|
};
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { w as C, u as g, b as W, n as H, e as F, g as G, y as J, t as X, z as Y, h as Z } from "./index-CVxxMlrU.mjs";
|
|
2
|
+
import { defineComponent as ee, ref as c, computed as te, watchEffect as oe, resolveComponent as d, createElementBlock as le, openBlock as se, createElementVNode as o, createVNode as l, withDirectives as U, unref as k, withCtx as u, normalizeStyle as ae, vShow as D, withKeys as z, withModifiers as re, createTextVNode as ne, toDisplayString as Q, normalizeClass as ue } from "vue";
|
|
3
|
+
import ie from "./assets/0cda52992278af9e.png";
|
|
4
|
+
import { useI18n as ce } from "vue-i18n";
|
|
5
|
+
import "element-plus";
|
|
6
|
+
import { useRoute as de, useRouter as pe } from "vue-router";
|
|
7
|
+
import me from "./assets/09fcc36c527efda6.jpg";
|
|
8
|
+
const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, _e = { class: "qrcode-container" }, ge = ["src"], he = { class: "flex justify-between items-center w-full" }, ye = ["src"], we = { class: "bg-small" }, be = 992, Ce = /* @__PURE__ */ ee({
|
|
9
|
+
__name: "index",
|
|
10
|
+
setup(ke) {
|
|
11
|
+
const { t: q } = ce(), h = c(C.APP_ACTIVE), j = (e) => {
|
|
12
|
+
e.props.name === "user" ? (b(), m()) : T(), h.value = e.props.name;
|
|
13
|
+
}, s = c({
|
|
14
|
+
scope: "",
|
|
15
|
+
username: "",
|
|
16
|
+
password: ""
|
|
17
|
+
}), B = te(() => {
|
|
18
|
+
const e = g().language === "en" ? "Please enter " : "请输入";
|
|
19
|
+
return {
|
|
20
|
+
username: [
|
|
21
|
+
{
|
|
22
|
+
required: !0,
|
|
23
|
+
trigger: "blur",
|
|
24
|
+
message: `${e}${q("login.username")}`
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
password: [
|
|
28
|
+
{
|
|
29
|
+
required: !0,
|
|
30
|
+
trigger: "blur",
|
|
31
|
+
validator: (t, r, a) => {
|
|
32
|
+
r.length < 5 ? a(new Error("The password can not be less than 5 digits")) : a();
|
|
33
|
+
},
|
|
34
|
+
message: `${e}${q("login.password")}`
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
captchaCode: [
|
|
38
|
+
{
|
|
39
|
+
required: !0,
|
|
40
|
+
trigger: "blur",
|
|
41
|
+
message: `${e}${q("login.captchaCode")}`
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
};
|
|
45
|
+
}), V = c(!1), I = c(), x = de(), P = pe(), $ = W(), E = () => {
|
|
46
|
+
var e;
|
|
47
|
+
(e = I.value) == null || e.validate((t) => {
|
|
48
|
+
t && (V.value = !0, $.login({ ...s.value, password: J(s.value.password) }).then(() => {
|
|
49
|
+
const r = x.query, a = r.redirect ?? C.APP_REDIRECT, n = Object.keys(r).reduce(
|
|
50
|
+
(p, _) => (_ !== "redirect" && (p[_] = r[_]), p),
|
|
51
|
+
{}
|
|
52
|
+
);
|
|
53
|
+
P.push({ path: a, query: n }), m();
|
|
54
|
+
}).catch(() => {
|
|
55
|
+
m();
|
|
56
|
+
}).finally(() => {
|
|
57
|
+
V.value = !1;
|
|
58
|
+
}));
|
|
59
|
+
});
|
|
60
|
+
}, S = c(""), m = () => {
|
|
61
|
+
X().then(({ data: e }) => {
|
|
62
|
+
s.value.captchaKey = e.captchaId, S.value = e.base64Image;
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
m();
|
|
66
|
+
let y = setInterval(A, 3e3);
|
|
67
|
+
const f = c({});
|
|
68
|
+
function T() {
|
|
69
|
+
Y().then(({ data: e }) => {
|
|
70
|
+
f.value = e, v.value = !1, K(), y = setInterval(A, 3e3);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
h.value === "qrCode" && T();
|
|
74
|
+
function A() {
|
|
75
|
+
f.value.ticket && $.loginByQrcode({ ticket: f.value.ticket }).then(() => {
|
|
76
|
+
b(), v.value = !1, f.value.qrcodeUrl = me;
|
|
77
|
+
const e = x.query, t = e.redirect ?? C.APP_REDIRECT, r = Object.keys(e).reduce(
|
|
78
|
+
(a, n) => (n !== "redirect" && (a[n] = e[n]), a),
|
|
79
|
+
{}
|
|
80
|
+
);
|
|
81
|
+
P.push({ path: t, query: r });
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
let w = null;
|
|
85
|
+
const v = c(!1);
|
|
86
|
+
function b() {
|
|
87
|
+
y && (clearInterval(y), y = null), w && (clearTimeout(w), w = null);
|
|
88
|
+
}
|
|
89
|
+
function K() {
|
|
90
|
+
b(), w = setTimeout(() => {
|
|
91
|
+
b(), v.value = !0;
|
|
92
|
+
}, C.APP_TIMEOUT);
|
|
93
|
+
}
|
|
94
|
+
const R = g(), { width: L } = H();
|
|
95
|
+
return oe(() => {
|
|
96
|
+
L.value < be ? R.toggleDevice("mobile") : R.toggleDevice("desktop");
|
|
97
|
+
}), (e, t) => {
|
|
98
|
+
const r = F, a = d("el-tab-pane"), n = d("el-input"), p = d("el-form-item"), _ = d("el-button"), M = d("el-form"), N = d("el-tabs"), O = d("el-card");
|
|
99
|
+
return se(), le("div", fe, [
|
|
100
|
+
o("div", ve, [
|
|
101
|
+
l(r, {
|
|
102
|
+
class: "ml-2 cursor-pointer",
|
|
103
|
+
style: { "font-size": "18px" }
|
|
104
|
+
})
|
|
105
|
+
]),
|
|
106
|
+
l(O, {
|
|
107
|
+
device: k(g)().device,
|
|
108
|
+
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
109
|
+
}, {
|
|
110
|
+
default: u(() => [
|
|
111
|
+
l(N, {
|
|
112
|
+
modelValue: h.value,
|
|
113
|
+
"onUpdate:modelValue": t[3] || (t[3] = (i) => h.value = i),
|
|
114
|
+
class: "demo-tabs",
|
|
115
|
+
onTabClick: j
|
|
116
|
+
}, {
|
|
117
|
+
default: u(() => [
|
|
118
|
+
l(a, {
|
|
119
|
+
label: "扫码登录",
|
|
120
|
+
name: "qrCode"
|
|
121
|
+
}, {
|
|
122
|
+
default: u(() => [
|
|
123
|
+
o("div", _e, [
|
|
124
|
+
o("img", {
|
|
125
|
+
src: f.value.qrcodeUrl,
|
|
126
|
+
style: ae({ opacity: v.value ? 0.02 : 1 }),
|
|
127
|
+
alt: "二维码"
|
|
128
|
+
}, null, 12, ge),
|
|
129
|
+
U(o("div", null, [
|
|
130
|
+
t[4] || (t[4] = o("div", null, "二维码已过期", -1)),
|
|
131
|
+
o("div", { onClick: T }, "点击刷新")
|
|
132
|
+
], 512), [
|
|
133
|
+
[D, v.value]
|
|
134
|
+
])
|
|
135
|
+
]),
|
|
136
|
+
t[5] || (t[5] = o("div", null, "微信扫一扫登录", -1))
|
|
137
|
+
]),
|
|
138
|
+
_: 1,
|
|
139
|
+
__: [5]
|
|
140
|
+
}),
|
|
141
|
+
l(a, {
|
|
142
|
+
label: "账号登录",
|
|
143
|
+
name: "user"
|
|
144
|
+
}, {
|
|
145
|
+
default: u(() => [
|
|
146
|
+
l(M, {
|
|
147
|
+
ref_key: "formRef",
|
|
148
|
+
ref: I,
|
|
149
|
+
model: s.value,
|
|
150
|
+
rules: B.value
|
|
151
|
+
}, {
|
|
152
|
+
default: u(() => [
|
|
153
|
+
l(p, { prop: "username" }, {
|
|
154
|
+
default: u(() => [
|
|
155
|
+
l(n, {
|
|
156
|
+
modelValue: s.value.username,
|
|
157
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => s.value.username = i),
|
|
158
|
+
placeholder: e.$t("login.username")
|
|
159
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
160
|
+
]),
|
|
161
|
+
_: 1
|
|
162
|
+
}),
|
|
163
|
+
l(p, { prop: "password" }, {
|
|
164
|
+
default: u(() => [
|
|
165
|
+
l(n, {
|
|
166
|
+
modelValue: s.value.password,
|
|
167
|
+
"onUpdate:modelValue": t[1] || (t[1] = (i) => s.value.password = i),
|
|
168
|
+
placeholder: e.$t("login.password"),
|
|
169
|
+
type: "password",
|
|
170
|
+
"show-password": "",
|
|
171
|
+
onKeyup: z(E, ["enter"])
|
|
172
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
}),
|
|
176
|
+
l(p, { prop: "captchaCode" }, {
|
|
177
|
+
default: u(() => [
|
|
178
|
+
o("div", he, [
|
|
179
|
+
l(n, {
|
|
180
|
+
style: { width: "65%" },
|
|
181
|
+
modelValue: s.value.captchaCode,
|
|
182
|
+
"onUpdate:modelValue": t[2] || (t[2] = (i) => s.value.captchaCode = i),
|
|
183
|
+
placeholder: e.$t("login.captchaCode"),
|
|
184
|
+
onKeyup: z(E, ["enter"])
|
|
185
|
+
}, null, 8, ["modelValue", "placeholder"]),
|
|
186
|
+
o("img", {
|
|
187
|
+
class: "flex-1 h-[40px] cursor-pointer ml-2",
|
|
188
|
+
src: S.value,
|
|
189
|
+
onClick: m,
|
|
190
|
+
alt: "验证码"
|
|
191
|
+
}, null, 8, ye)
|
|
192
|
+
])
|
|
193
|
+
]),
|
|
194
|
+
_: 1
|
|
195
|
+
}),
|
|
196
|
+
l(_, {
|
|
197
|
+
loading: V.value,
|
|
198
|
+
type: "primary",
|
|
199
|
+
class: "w-full",
|
|
200
|
+
onClick: re(E, ["prevent"])
|
|
201
|
+
}, {
|
|
202
|
+
default: u(() => [
|
|
203
|
+
ne(Q(e.$t("login.login")), 1)
|
|
204
|
+
]),
|
|
205
|
+
_: 1
|
|
206
|
+
}, 8, ["loading"])
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
}, 8, ["model", "rules"])
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
})
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
}, 8, ["modelValue"])
|
|
216
|
+
]),
|
|
217
|
+
_: 1
|
|
218
|
+
}, 8, ["device"]),
|
|
219
|
+
U(o("div", we, [
|
|
220
|
+
o("div", null, Q(k(G).title), 1),
|
|
221
|
+
t[6] || (t[6] = o("img", {
|
|
222
|
+
src: ie,
|
|
223
|
+
alt: "login-bg-small"
|
|
224
|
+
}, null, -1))
|
|
225
|
+
], 512), [
|
|
226
|
+
[D, k(g)().device === "desktop"]
|
|
227
|
+
]),
|
|
228
|
+
o("div", {
|
|
229
|
+
class: ue(k(g)().device)
|
|
230
|
+
}, " Copyright © 2018-2025 Apache 2.0 开源协议. ", 2)
|
|
231
|
+
]);
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
}), $e = /* @__PURE__ */ Z(Ce, [["__scopeId", "data-v-b743b5ce"]]);
|
|
235
|
+
export {
|
|
236
|
+
$e as default
|
|
237
|
+
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b0 as t, b1 as r, bp as o, b2 as i, bn as n, b4 as u, A as b, bl as d, bm as g, bh as l, bi as p, bj as c, bk as m, bo as P, S, b9 as v, aP as E, aK as y, aL as M, aF as f, aT as k, z as C, aR as D, aU as L, aH as h, g as A, aG as R, b3 as H, f as U, aV as z, t as V, aS as B, aW as I, i as O, aJ as T, b6 as w, aI as Q, o as W, y as j, aE as x, bf as F, r as K, b7 as N, aC as q, b5 as G, ba as J, aM as X, bg as Y, aQ as Z, aN as _, aO as $, u as aa, bb as ea, be as sa, j as ta, bc as ra, c as oa, b8 as ia, a as na, b as ua, bd as ba, aZ as da, a$ as ga, a_ as la, aX as pa, aY as ca, w as ma } from "./index-CVxxMlrU.mjs";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
export {
|
|
4
4
|
t as BizDict,
|
|
@@ -23,47 +23,49 @@ export {
|
|
|
23
23
|
f as axiosConfig,
|
|
24
24
|
k as clearEmpty,
|
|
25
25
|
C as createLoginQrcode,
|
|
26
|
-
D as
|
|
27
|
-
L as
|
|
28
|
-
h as
|
|
29
|
-
A as
|
|
30
|
-
R as
|
|
31
|
-
H as
|
|
26
|
+
D as cssImageVar,
|
|
27
|
+
L as deepMerge,
|
|
28
|
+
h as default,
|
|
29
|
+
A as defaultSettings,
|
|
30
|
+
R as directive,
|
|
31
|
+
H as enumMapCache,
|
|
32
|
+
U as fileApi,
|
|
32
33
|
z as generateRandomKey,
|
|
33
|
-
|
|
34
|
+
V as getCaptchaApi,
|
|
34
35
|
B as getQueryParams,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
w as
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
36
|
+
I as handlePreview,
|
|
37
|
+
O as i18n,
|
|
38
|
+
T as imageUrl,
|
|
39
|
+
w as loginOrganApi,
|
|
40
|
+
Q as menus,
|
|
41
|
+
W as myorganList,
|
|
42
|
+
j as netEncrypt,
|
|
43
|
+
x as request,
|
|
44
|
+
F as resetRouter,
|
|
45
|
+
K as routerRef,
|
|
46
|
+
N as routerUtil,
|
|
47
|
+
q as runAsUser,
|
|
48
|
+
G as selectDsdRoles,
|
|
49
|
+
J as store,
|
|
50
|
+
X as updateMetaEnv,
|
|
51
|
+
Y as updateRouter,
|
|
52
|
+
Z as updateSettings,
|
|
53
|
+
_ as updateViteMetaEnv,
|
|
54
|
+
$ as updateWebpackMetaEnv,
|
|
55
|
+
aa as useAppStore,
|
|
56
|
+
ea as useAppStoreHook,
|
|
57
|
+
sa as useListStoreHook,
|
|
58
|
+
ta as usePermissionStore,
|
|
59
|
+
ra as usePermissionStoreHook,
|
|
60
|
+
oa as useSettingsStore,
|
|
61
|
+
ia as useTableHooks,
|
|
62
|
+
na as useTagsViewStore,
|
|
63
|
+
ua as useUserStore,
|
|
64
|
+
ba as useUserStoreHook,
|
|
65
|
+
da as validateCreditCode,
|
|
66
|
+
ga as validateEmail,
|
|
67
|
+
la as validateIDCard,
|
|
68
|
+
pa as validatePhoneNumber,
|
|
69
|
+
ca as validatePhoneOrLandline,
|
|
70
|
+
ma as vueMetaEnv
|
|
69
71
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var F = Object.defineProperty;
|
|
2
2
|
var L = (m, p, i) => p in m ? F(m, p, { enumerable: !0, configurable: !0, writable: !0, value: i }) : m[p] = i;
|
|
3
3
|
var y = (m, p, i) => L(m, typeof p != "symbol" ? p + "" : p, i);
|
|
4
|
-
import { A as z, b as H, B as T, C as K, F as Q, G as W, H as X, h as Z } from "./index-
|
|
4
|
+
import { A as z, b as H, B as T, C as K, F as Q, G as W, H as X, h as Z } from "./index-CVxxMlrU.mjs";
|
|
5
5
|
import { defineComponent as x, ref as V, reactive as ee, resolveComponent as n, createElementBlock as k, openBlock as c, createVNode as t, unref as s, withCtx as a, createElementVNode as le, Fragment as $, renderList as N, createBlock as h, createCommentVNode as J, createTextVNode as te, toDisplayString as se } from "vue";
|
|
6
6
|
import { ElMessage as ae } from "element-plus";
|
|
7
7
|
class U {
|
|
@@ -293,7 +293,7 @@ const oe = { class: "app-container" }, re = { class: "positon_name" }, ne = /* @
|
|
|
293
293
|
]);
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-
|
|
296
|
+
}), ie = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-cc68cd6e"]]);
|
|
297
297
|
export {
|
|
298
298
|
ie as default
|
|
299
299
|
};
|