jmash-core 0.0.50 → 0.0.52
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-Dzt3Ii3A.mjs → 401-kENY9Z2u.mjs} +2 -2
- package/dist/{404-DBI6LlFu.mjs → 404-xczLkr32.mjs} +1 -1
- package/dist/{BarChart-DJD-Vmd_.mjs → BarChart-DFeddolN.mjs} +14 -14
- package/dist/{PieChart-COVmacHJ.mjs → PieChart-CfIMfeLi.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-ws4MLUdW.mjs → PieChart.vue_vue_type_script_setup_true_lang-7OQeIqZr.mjs} +2 -2
- package/dist/{RadarChart-BKI5cYkA.mjs → RadarChart-DtOwT8V7.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-C4kgTyLc.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CfBQd-Rb.mjs} +2 -2
- package/dist/{el-card-DwKP8wZt.mjs → el-card-XI6Fna3F.mjs} +1 -1
- package/dist/{el-col-BbP7z16T.mjs → el-col-B8fQ0tI-.mjs} +1 -1
- package/dist/{el-form-item-0klcZdlf.mjs → el-form-item-wQsGoBCp.mjs} +149 -156
- package/dist/{index-oYpGc2kq.mjs → index-BCUHPnNY.mjs} +8298 -7591
- package/dist/{index-IoeuPBOj.mjs → index-CNjZ3In_.mjs} +17 -17
- package/dist/{index-BTC09X9C.mjs → index-CUSZn22T.mjs} +1 -1
- package/dist/{index-DheU0iB7.mjs → index-CZfJwqjd.mjs} +92 -97
- package/dist/{index-DdeUixFT.mjs → index-Dg7yobDr.mjs} +13 -14
- package/dist/index.mjs +34 -34
- package/dist/{picture-D0unBJ5G.mjs → picture-136_THIE.mjs} +128 -128
- package/dist/{position-C2f9hf-1.mjs → position-sn9Bb9uG.mjs} +1 -1
- package/dist/{profile-CYoEgwxf.mjs → profile-gYTN9Oii.mjs} +307 -307
- package/dist/{runAs-DvUOiSZ4.mjs → runAs-BiuhgMW_.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-BRFyVHr9.mjs → runAs.vue_vue_type_script_setup_true_lang-ZxwSmO7-.mjs} +68 -68
- package/dist/style.css +1 -1
- package/dist/{types-BTNUpi44.mjs → types-DAjtyiHG.mjs} +5 -5
- package/dist/{updatePwd-Q1-36iZ0.mjs → updatePwd-DhFqBbve.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-rskuizxf.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BXZiwPnZ.mjs} +6 -6
- package/package.json +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-l0b1jTR4.mjs +0 -720
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as q } from "./PieChart.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import J from "./BarChart-
|
|
4
|
-
import { b as K, d as T, u as Q,
|
|
5
|
-
import { E as nt } from "./el-card-
|
|
6
|
-
import { E as it, a as lt } from "./el-col-
|
|
7
|
-
import { defineComponent as V, computed as A, openBlock as
|
|
1
|
+
import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-CfBQd-Rb.mjs";
|
|
2
|
+
import { _ as q } from "./PieChart.vue_vue_type_script_setup_true_lang-7OQeIqZr.mjs";
|
|
3
|
+
import J from "./BarChart-DFeddolN.mjs";
|
|
4
|
+
import { b as K, d as T, u as Q, al as W, am as X, _ as tt, w as et, a8 as D, a2 as st, an as E, ao as M, Y as ot, ap as at } from "./index-BCUHPnNY.mjs";
|
|
5
|
+
import { E as nt } from "./el-card-XI6Fna3F.mjs";
|
|
6
|
+
import { E as it, a as lt } from "./el-col-B8fQ0tI-.mjs";
|
|
7
|
+
import { defineComponent as V, computed as A, openBlock as p, createElementBlock as f, normalizeClass as v, unref as a, renderSlot as L, createTextVNode as g, toDisplayString as n, createCommentVNode as P, createElementVNode as t, normalizeStyle as ct, pushScopeId as F, popScopeId as R, ref as I, createVNode as e, withCtx as s } from "vue";
|
|
8
8
|
const rt = K({
|
|
9
9
|
decimalSeparator: {
|
|
10
10
|
type: String,
|
|
@@ -46,10 +46,10 @@ const rt = K({
|
|
|
46
46
|
});
|
|
47
47
|
return y({
|
|
48
48
|
displayValue: b
|
|
49
|
-
}), (o, m) => (
|
|
49
|
+
}), (o, m) => (p(), f("div", {
|
|
50
50
|
class: v(a(d).b())
|
|
51
51
|
}, [
|
|
52
|
-
o.$slots.title || o.title ? (
|
|
52
|
+
o.$slots.title || o.title ? (p(), f("div", {
|
|
53
53
|
key: 0,
|
|
54
54
|
class: v(a(d).e("head"))
|
|
55
55
|
}, [
|
|
@@ -60,7 +60,7 @@ const rt = K({
|
|
|
60
60
|
t("div", {
|
|
61
61
|
class: v(a(d).e("content"))
|
|
62
62
|
}, [
|
|
63
|
-
o.$slots.prefix || o.prefix ? (
|
|
63
|
+
o.$slots.prefix || o.prefix ? (p(), f("div", {
|
|
64
64
|
key: 0,
|
|
65
65
|
class: v(a(d).e("prefix"))
|
|
66
66
|
}, [
|
|
@@ -72,7 +72,7 @@ const rt = K({
|
|
|
72
72
|
class: v(a(d).e("number")),
|
|
73
73
|
style: ct(o.valueStyle)
|
|
74
74
|
}, n(a(b)), 7),
|
|
75
|
-
o.$slots.suffix || o.suffix ? (
|
|
75
|
+
o.$slots.suffix || o.suffix ? (p(), f("div", {
|
|
76
76
|
key: 1,
|
|
77
77
|
class: v(a(d).e("suffix"))
|
|
78
78
|
}, [
|
|
@@ -85,7 +85,7 @@ const rt = K({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
var _t = /* @__PURE__ */ tt(ut, [["__file", "statistic.vue"]]);
|
|
88
|
-
const
|
|
88
|
+
const pt = et(_t), ft = {}, B = (l) => (F("data-v-431733f3"), l = l(), R(), l), mt = {
|
|
89
89
|
href: "https://github.com/haoxianrui",
|
|
90
90
|
target: "_blank",
|
|
91
91
|
class: "github-corner",
|
|
@@ -111,11 +111,11 @@ const ft = et(_t), pt = {}, B = (l) => (F("data-v-431733f3"), l = l(), R(), l),
|
|
|
111
111
|
gt
|
|
112
112
|
];
|
|
113
113
|
function bt(l, y) {
|
|
114
|
-
return
|
|
115
|
-
(
|
|
114
|
+
return p(), f("a", mt, [
|
|
115
|
+
(p(), f("svg", ht, yt))
|
|
116
116
|
]);
|
|
117
117
|
}
|
|
118
|
-
const Ct = /* @__PURE__ */ D(
|
|
118
|
+
const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (F("data-v-95eaccad"), l = l(), R(), l), wt = { class: "dashboard-container" }, St = { class: "flex h-full items-center" }, jt = ["src"], $t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1)), Et = { class: "flex h-full items-center justify-around" }, Mt = { class: "flex items-center" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), Ot = { class: "flex items-center" }, zt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), Nt = { class: "flex items-center" }, kt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), Lt = { class: "flex items-center justify-between" }, Pt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Bt = { class: "text-lg text-right" }, Tt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Dt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), At = { class: "flex items-center justify-between" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Rt = { class: "flex items-center justify-between mt-5" }, Zt = { class: "text-lg text-right" }, Gt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ht = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), Ut = { class: "flex items-center justify-between" }, Yt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), qt = { class: "flex items-center justify-between mt-5" }, Jt = { class: "text-lg text-right" }, Kt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Qt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Wt = { class: "flex items-center justify-between" }, Xt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), te = { class: "flex items-center justify-between mt-5" }, ee = { class: "text-lg text-right" }, se = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, oe = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), O = 5e3, ae = /* @__PURE__ */ V({
|
|
119
119
|
name: "Dashboard",
|
|
120
120
|
inheritAttrs: !1,
|
|
121
121
|
__name: "index",
|
|
@@ -153,8 +153,8 @@ const Ct = /* @__PURE__ */ D(pt, [["render", bt], ["__scopeId", "data-v-431733f3
|
|
|
153
153
|
transition: M.easeOutExpo
|
|
154
154
|
});
|
|
155
155
|
return x.value = 2e3, (c, j) => {
|
|
156
|
-
const Z = Ct, r = it, _ = ot, N =
|
|
157
|
-
return
|
|
156
|
+
const Z = Ct, r = it, _ = ot, N = pt, k = lt, C = nt, $ = at, G = J, H = q, U = Y;
|
|
157
|
+
return p(), f("div", wt, [
|
|
158
158
|
e(Z, { class: "github-corner" }),
|
|
159
159
|
e(C, { shadow: "never" }, {
|
|
160
160
|
default: s(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as n, createBlock as r, Transition as l, mergeProps as p, unref as g, toHandlers as m, withCtx as f, renderSlot as y } from "vue";
|
|
2
|
-
import { u as c, _ as h } from "./index-
|
|
2
|
+
import { u as c, _ as h } from "./index-BCUHPnNY.mjs";
|
|
3
3
|
const _ = s({
|
|
4
4
|
name: "ElCollapseTransition"
|
|
5
5
|
}), v = /* @__PURE__ */ s({
|
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import {
|
|
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, aa as ne, ag as re, ap as ce, ax as ie, ay as de, s as pe, r as ue, t as me, a8 as _e } from "./index-BCUHPnNY.mjs";
|
|
2
|
+
import { E as ge } from "./el-card-XI6Fna3F.mjs";
|
|
3
|
+
import { _ as fe, E as he } from "./picture-136_THIE.mjs";
|
|
4
|
+
import { E as ve } from "./el-form-item-wQsGoBCp.mjs";
|
|
5
|
+
import { defineComponent as we, ref as c, watchEffect as ke, computed as ye, onMounted as Ce, resolveComponent as Ee, openBlock as v, createElementBlock as q, createElementVNode as a, createVNode as s, unref as o, isRef as Ve, withCtx as n, toDisplayString as I, createTextVNode as $, createBlock as U, Fragment as Se, renderList as be, createCommentVNode as xe, withKeys as A, withModifiers as Ie, withDirectives as $e, vShow as Re, pushScopeId as De, popScopeId as Le } from "vue";
|
|
6
|
+
import { useI18n as Te } from "vue-i18n";
|
|
7
7
|
import { ElForm as B } from "element-plus";
|
|
8
|
-
import { useRoute as
|
|
9
|
-
|
|
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 = [
|
|
8
|
+
import { useRoute as qe } from "vue-router";
|
|
9
|
+
const F = (m) => (De("data-v-40e0eaf8"), m = m(), Le(), m), 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__ */ a("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, "备案号: XXXX .", -1)), He = [
|
|
11
10
|
Me,
|
|
12
11
|
Pe
|
|
13
|
-
], Qe = 992, Ye = /* @__PURE__ */
|
|
12
|
+
], Qe = 992, Ye = /* @__PURE__ */ we({
|
|
14
13
|
__name: "index",
|
|
15
|
-
setup(
|
|
14
|
+
setup(m) {
|
|
16
15
|
const w = x(), { title: N, version: K } = w, k = c(w.theme === "dark"), X = (e) => {
|
|
17
|
-
|
|
16
|
+
se(e), w.changeSetting({
|
|
18
17
|
key: "theme",
|
|
19
18
|
value: e ? "dark" : "light"
|
|
20
19
|
});
|
|
21
20
|
}, y = T(), { width: z } = ee();
|
|
22
|
-
|
|
21
|
+
ke(() => {
|
|
23
22
|
z.value < Qe ? y.toggleDevice("mobile") : y.toggleDevice("desktop");
|
|
24
23
|
});
|
|
25
|
-
const C = c(!1), R = c(!1),
|
|
24
|
+
const C = c(!1), R = c(!1), _ = c(!1), D = c(), L = c(B), E = c([]), r = c({
|
|
26
25
|
scope: "",
|
|
27
26
|
username: "",
|
|
28
27
|
password: ""
|
|
29
|
-
}), { t: V } =
|
|
28
|
+
}), { t: V } = Te(), O = ye(() => {
|
|
30
29
|
const e = y.language === "en" ? "Please enter " : "请输入";
|
|
31
30
|
return {
|
|
32
31
|
username: [
|
|
@@ -40,8 +39,8 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
40
39
|
{
|
|
41
40
|
required: !0,
|
|
42
41
|
trigger: "blur",
|
|
43
|
-
validator: (
|
|
44
|
-
|
|
42
|
+
validator: (t, d, i) => {
|
|
43
|
+
d.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
|
|
45
44
|
},
|
|
46
45
|
message: `${e}${V("login.password")}`
|
|
47
46
|
}
|
|
@@ -56,93 +55,89 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
56
55
|
};
|
|
57
56
|
});
|
|
58
57
|
function W(e) {
|
|
59
|
-
const { key:
|
|
60
|
-
R.value =
|
|
58
|
+
const { key: t } = e;
|
|
59
|
+
R.value = t && t.length === 1 && t >= "A" && t <= "Z";
|
|
61
60
|
}
|
|
62
|
-
function
|
|
63
|
-
|
|
61
|
+
function g() {
|
|
62
|
+
le().then(({ data: e }) => {
|
|
64
63
|
r.value.captchaKey = e.captchaId, D.value = e.base64Image;
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
66
|
function j() {
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
ae().then(({ data: e }) => {
|
|
68
|
+
E.value = e.roleList;
|
|
70
69
|
});
|
|
71
70
|
}
|
|
72
|
-
const M =
|
|
71
|
+
const M = qe(), P = oe();
|
|
73
72
|
function S() {
|
|
74
73
|
L.value.validate((e) => {
|
|
75
74
|
e && (C.value = !0, P.login(r.value).then(() => {
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
const p = o.redirect ?? "/";
|
|
79
|
-
console.log(p);
|
|
80
|
-
const i = Object.keys(o).reduce(
|
|
81
|
-
(u, d) => (console.log(u[d], o[d]), d !== "redirect" && (u[d] = o[d]), u),
|
|
75
|
+
const t = M.query, d = t.redirect ?? "/", i = Object.keys(t).reduce(
|
|
76
|
+
(f, p) => (p !== "redirect" && (f[p] = t[p]), f),
|
|
82
77
|
{}
|
|
83
78
|
);
|
|
84
|
-
|
|
79
|
+
ne.value.push({ path: d, query: i }), g();
|
|
85
80
|
}).catch(() => {
|
|
86
|
-
|
|
81
|
+
g();
|
|
87
82
|
}).finally(() => {
|
|
88
83
|
C.value = !1;
|
|
89
84
|
}));
|
|
90
85
|
});
|
|
91
86
|
}
|
|
92
|
-
return
|
|
93
|
-
|
|
87
|
+
return Ce(() => {
|
|
88
|
+
g(), j();
|
|
94
89
|
const e = x().theme;
|
|
95
90
|
x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
96
|
-
}), (e,
|
|
97
|
-
const
|
|
91
|
+
}), (e, t) => {
|
|
92
|
+
const d = re, i = ce, f = ie, p = de, h = ve, b = pe, H = ue, Q = fe, Y = he, Z = Ee("router-link"), G = me, J = ge;
|
|
98
93
|
return v(), q("div", Ue, [
|
|
99
|
-
|
|
100
|
-
s(
|
|
101
|
-
modelValue:
|
|
102
|
-
"onUpdate:modelValue":
|
|
94
|
+
a("div", Ae, [
|
|
95
|
+
s(d, {
|
|
96
|
+
modelValue: o(k),
|
|
97
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => Ve(k) ? k.value = l : null),
|
|
103
98
|
"inline-prompt": "",
|
|
104
99
|
"active-color": "var(--el-fill-color-dark)",
|
|
105
100
|
"inactive-color": "var(--el-color-primary)",
|
|
106
101
|
onChange: X
|
|
107
102
|
}, null, 8, ["modelValue"]),
|
|
108
|
-
s(
|
|
103
|
+
s(te, { class: "ml-2 cursor-pointer" })
|
|
109
104
|
]),
|
|
110
105
|
s(J, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
|
|
111
|
-
default:
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
default: n(() => [
|
|
107
|
+
a("div", Be, [
|
|
108
|
+
a("h2", null, I(o(N)), 1),
|
|
114
109
|
s(i, { class: "ml-2 absolute top-0 right-0" }, {
|
|
115
|
-
default:
|
|
116
|
-
I(
|
|
110
|
+
default: n(() => [
|
|
111
|
+
$(I(o(K)), 1)
|
|
117
112
|
]),
|
|
118
113
|
_: 1
|
|
119
114
|
})
|
|
120
115
|
]),
|
|
121
|
-
s(
|
|
116
|
+
s(o(B), {
|
|
122
117
|
ref_key: "loginFormRef",
|
|
123
118
|
ref: L,
|
|
124
|
-
model:
|
|
125
|
-
rules:
|
|
119
|
+
model: o(r),
|
|
120
|
+
rules: o(O),
|
|
126
121
|
size: "large",
|
|
127
122
|
class: "login-form"
|
|
128
123
|
}, {
|
|
129
|
-
default:
|
|
130
|
-
|
|
124
|
+
default: n(() => [
|
|
125
|
+
o(E).length > 0 ? (v(), U(h, {
|
|
131
126
|
key: 0,
|
|
132
127
|
prop: "scope"
|
|
133
128
|
}, {
|
|
134
|
-
default:
|
|
135
|
-
|
|
136
|
-
s(
|
|
129
|
+
default: n(() => [
|
|
130
|
+
a("div", Fe, [
|
|
131
|
+
s(u, { "icon-class": "user" })
|
|
137
132
|
]),
|
|
138
|
-
s(
|
|
139
|
-
modelValue:
|
|
140
|
-
"onUpdate:modelValue":
|
|
133
|
+
s(p, {
|
|
134
|
+
modelValue: o(r).scope,
|
|
135
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => o(r).scope = l),
|
|
141
136
|
placeholder: "Select",
|
|
142
137
|
class: "flex-1"
|
|
143
138
|
}, {
|
|
144
|
-
default:
|
|
145
|
-
(v(!0), q(
|
|
139
|
+
default: n(() => [
|
|
140
|
+
(v(!0), q(Se, null, be(o(E), (l) => (v(), U(f, {
|
|
146
141
|
key: l.roleCode,
|
|
147
142
|
label: l.roleName,
|
|
148
143
|
value: l.roleCode
|
|
@@ -152,16 +147,16 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
152
147
|
}, 8, ["modelValue"])
|
|
153
148
|
]),
|
|
154
149
|
_: 1
|
|
155
|
-
})) :
|
|
150
|
+
})) : xe("", !0),
|
|
156
151
|
s(h, { prop: "username" }, {
|
|
157
|
-
default:
|
|
158
|
-
|
|
159
|
-
s(
|
|
152
|
+
default: n(() => [
|
|
153
|
+
a("div", Ne, [
|
|
154
|
+
s(u, { "icon-class": "user" })
|
|
160
155
|
]),
|
|
161
156
|
s(b, {
|
|
162
157
|
ref: "username",
|
|
163
|
-
modelValue:
|
|
164
|
-
"onUpdate:modelValue":
|
|
158
|
+
modelValue: o(r).username,
|
|
159
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => o(r).username = l),
|
|
165
160
|
class: "flex-1",
|
|
166
161
|
placeholder: e.$t("login.username"),
|
|
167
162
|
name: "username"
|
|
@@ -170,34 +165,34 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
170
165
|
_: 1
|
|
171
166
|
}),
|
|
172
167
|
s(H, {
|
|
173
|
-
disabled:
|
|
168
|
+
disabled: o(R) === !1,
|
|
174
169
|
content: "Caps lock is On",
|
|
175
170
|
placement: "right"
|
|
176
171
|
}, {
|
|
177
|
-
default:
|
|
172
|
+
default: n(() => [
|
|
178
173
|
s(h, { prop: "password" }, {
|
|
179
|
-
default:
|
|
180
|
-
|
|
181
|
-
s(
|
|
174
|
+
default: n(() => [
|
|
175
|
+
a("span", Ke, [
|
|
176
|
+
s(u, { "icon-class": "password" })
|
|
182
177
|
]),
|
|
183
178
|
s(b, {
|
|
184
|
-
modelValue:
|
|
185
|
-
"onUpdate:modelValue":
|
|
179
|
+
modelValue: o(r).password,
|
|
180
|
+
"onUpdate:modelValue": t[3] || (t[3] = (l) => o(r).password = l),
|
|
186
181
|
class: "flex-1",
|
|
187
182
|
placeholder: e.$t("login.password"),
|
|
188
|
-
type:
|
|
183
|
+
type: o(_) === !1 ? "password" : "input",
|
|
189
184
|
name: "password",
|
|
190
185
|
onKeyup: [
|
|
191
186
|
W,
|
|
192
187
|
A(S, ["enter"])
|
|
193
188
|
]
|
|
194
189
|
}, null, 8, ["modelValue", "placeholder", "type"]),
|
|
195
|
-
|
|
190
|
+
a("span", {
|
|
196
191
|
class: "mr-2",
|
|
197
|
-
onClick:
|
|
192
|
+
onClick: t[4] || (t[4] = (l) => _.value = !o(_))
|
|
198
193
|
}, [
|
|
199
|
-
s(
|
|
200
|
-
"icon-class":
|
|
194
|
+
s(u, {
|
|
195
|
+
"icon-class": o(_) === !1 ? "eye" : "eye-open",
|
|
201
196
|
class: "cursor-pointer"
|
|
202
197
|
}, null, 8, ["icon-class"])
|
|
203
198
|
])
|
|
@@ -208,26 +203,26 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
208
203
|
_: 1
|
|
209
204
|
}, 8, ["disabled"]),
|
|
210
205
|
s(h, { prop: "captchaCode" }, {
|
|
211
|
-
default:
|
|
212
|
-
|
|
213
|
-
s(
|
|
206
|
+
default: n(() => [
|
|
207
|
+
a("span", Xe, [
|
|
208
|
+
s(u, { "icon-class": "captcha" })
|
|
214
209
|
]),
|
|
215
210
|
s(b, {
|
|
216
|
-
modelValue:
|
|
217
|
-
"onUpdate:modelValue":
|
|
211
|
+
modelValue: o(r).captchaCode,
|
|
212
|
+
"onUpdate:modelValue": t[5] || (t[5] = (l) => o(r).captchaCode = l),
|
|
218
213
|
"auto-complete": "off",
|
|
219
214
|
placeholder: e.$t("login.captchaCode"),
|
|
220
215
|
class: "w-[60%]",
|
|
221
216
|
onKeyup: A(S, ["enter"])
|
|
222
217
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
223
|
-
|
|
218
|
+
a("div", ze, [
|
|
224
219
|
s(Y, {
|
|
225
|
-
src:
|
|
226
|
-
onClick:
|
|
220
|
+
src: o(D),
|
|
221
|
+
onClick: g,
|
|
227
222
|
class: "w-[130px] h-[50px] cursor-pointer"
|
|
228
223
|
}, {
|
|
229
|
-
error:
|
|
230
|
-
|
|
224
|
+
error: n(() => [
|
|
225
|
+
a("div", Oe, [
|
|
231
226
|
s(Q)
|
|
232
227
|
])
|
|
233
228
|
]),
|
|
@@ -237,22 +232,22 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
237
232
|
]),
|
|
238
233
|
_: 1
|
|
239
234
|
}),
|
|
240
|
-
|
|
235
|
+
a("div", We, [
|
|
241
236
|
s(Z, { to: "/secondLogin" }, {
|
|
242
|
-
default:
|
|
243
|
-
|
|
237
|
+
default: n(() => [
|
|
238
|
+
$("手机号/邮箱登录")
|
|
244
239
|
]),
|
|
245
240
|
_: 1
|
|
246
241
|
})
|
|
247
242
|
]),
|
|
248
243
|
s(G, {
|
|
249
|
-
loading:
|
|
244
|
+
loading: o(C),
|
|
250
245
|
type: "primary",
|
|
251
246
|
class: "w-full",
|
|
252
|
-
onClick:
|
|
247
|
+
onClick: Ie(S, ["prevent"])
|
|
253
248
|
}, {
|
|
254
|
-
default:
|
|
255
|
-
I(
|
|
249
|
+
default: n(() => [
|
|
250
|
+
$(I(e.$t("login.login")), 1)
|
|
256
251
|
]),
|
|
257
252
|
_: 1
|
|
258
253
|
}, 8, ["loading"])
|
|
@@ -262,13 +257,13 @@ const F = (_) => (Re("data-v-e78a2e87"), _ = _(), De(), _), Ue = { class: "login
|
|
|
262
257
|
]),
|
|
263
258
|
_: 1
|
|
264
259
|
}),
|
|
265
|
-
$e(
|
|
266
|
-
[
|
|
260
|
+
$e(a("div", je, He, 512), [
|
|
261
|
+
[Re, o(T)().device == "desktop"]
|
|
267
262
|
])
|
|
268
263
|
]);
|
|
269
264
|
};
|
|
270
265
|
}
|
|
271
|
-
}), ao = /* @__PURE__ */
|
|
266
|
+
}), ao = /* @__PURE__ */ _e(Ye, [["__scopeId", "data-v-40e0eaf8"]]);
|
|
272
267
|
export {
|
|
273
268
|
ao as default
|
|
274
269
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { b as ke, i as Ee, u as ne, _ as ue, d as Ve, E as we, w as ot, a as at, c as dn, e as vt, f as fn, U as _t, g as ve, h as Fe, C as mn, j as Et, k as zt, l as pn, m as hn, n as vn, o as _n, p as gn, q as bn, r as Ue, s as yn, t as Tt, v as Ht, x as Wt, y as qt, z as It, A as re, B as kn, D as Cn, F as Mn, G as $n, H as wn, I as Sn, J as Ze, K as ut, L as xn, T as En, M as tt, N as Tn, O as At, P as In, Q as An, R as Pn, S as Vn, V as Ln, W as _e, X as Nn, Y as Ne, Z as
|
|
2
|
-
import { E as Kt, a as Ut, b as jt, _ as qn } from "./index.vue_vue_type_script_setup_true_lang-l0b1jTR4.mjs";
|
|
1
|
+
import { b as ke, i as Ee, u as ne, _ as ue, d as Ve, E as we, w as ot, a as at, c as dn, e as vt, f as fn, U as _t, g as ve, h as Fe, C as mn, j as Et, k as zt, l as pn, m as hn, n as vn, o as _n, p as gn, q as bn, r as Ue, s as yn, t as Tt, v as Ht, x as Wt, y as qt, z as It, A as re, B as kn, D as Cn, F as Mn, G as $n, H as wn, I as Sn, J as Ze, K as ut, L as xn, T as En, M as tt, N as Tn, O as At, P as In, Q as An, R as Pn, S as Vn, V as Ln, W as _e, X as Nn, Y as Ne, Z as Kt, $ as Ut, a0 as jt, a1 as bt, a2 as On, a3 as Se, a4 as Je, a5 as Bn, a6 as ze, a7 as Rn, a8 as ie, a9 as Pt, aa as Vt, ab as je, ac as ct, ad as Fn, ae as Dn, af as zn, ag as Hn, ah as Wn, ai as yt, aj as He, ak as qn } from "./index-BCUHPnNY.mjs";
|
|
3
2
|
import { defineComponent as D, ref as T, provide as We, onMounted as pe, openBlock as m, createElementBlock as M, normalizeClass as w, unref as r, renderSlot as ae, getCurrentInstance as ge, inject as Le, createElementVNode as C, createBlock as L, withCtx as $, resolveDynamicComponent as lt, toDisplayString as K, shallowRef as Lt, watch as ee, computed as E, normalizeStyle as ye, watchEffect as kt, Fragment as oe, renderList as xe, reactive as st, nextTick as Me, withDirectives as $e, withKeys as Nt, createVNode as _, createCommentVNode as H, createTextVNode as Q, vShow as qe, useSlots as Kn, Teleport as Un, Transition as rt, mergeProps as Xt, withModifiers as Te, onBeforeUnmount as Gt, h as te, toRef as jn, resolveComponent as Oe, isRef as nt, onBeforeMount as Xn, TransitionGroup as Gn, pushScopeId as Yn, popScopeId as Zn, KeepAlive as Jn, normalizeProps as Qn, guardReactiveProps as eo } from "vue";
|
|
4
3
|
import { useRoute as Xe, useRouter as Ct } from "vue-router";
|
|
5
|
-
import { _ as to } from "./updatePwd.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { t as Qe, _ as no, E as oo } from "./runAs.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { g as Mt } from "./position-
|
|
4
|
+
import { _ as to } from "./updatePwd.vue_vue_type_script_setup_true_lang-BXZiwPnZ.mjs";
|
|
5
|
+
import { t as Qe, _ as no, E as oo } from "./runAs.vue_vue_type_script_setup_true_lang-ZxwSmO7-.mjs";
|
|
6
|
+
import { g as Mt } from "./position-sn9Bb9uG.mjs";
|
|
8
7
|
import { storeToRefs as ao } from "pinia";
|
|
9
|
-
import { _ as lo } from "./index-
|
|
8
|
+
import { _ as lo } from "./index-CUSZn22T.mjs";
|
|
10
9
|
const Yt = Symbol("breadcrumbKey"), so = ke({
|
|
11
10
|
separator: {
|
|
12
11
|
type: String,
|
|
@@ -1896,7 +1895,7 @@ const ka = at($t), Ca = /* @__PURE__ */ D({
|
|
|
1896
1895
|
i.value = k;
|
|
1897
1896
|
}
|
|
1898
1897
|
return (k, S) => {
|
|
1899
|
-
const R = Ne, N = Ca, b = Ue, Z =
|
|
1898
|
+
const R = Ne, N = Ca, b = Ue, Z = Rn, Y = Kt, O = Oe("router-link"), j = Ut, P = jt;
|
|
1900
1899
|
return m(), M("div", Ma, [
|
|
1901
1900
|
r(u) ? H("", !0) : (m(), M(oe, { key: 0 }, [
|
|
1902
1901
|
C("div", {
|
|
@@ -2451,7 +2450,7 @@ const Be = (e) => (Yn("data-v-2bdf1403"), e = e(), Zn(), e), Ka = { class: "flex
|
|
|
2451
2450
|
return null;
|
|
2452
2451
|
}
|
|
2453
2452
|
return (p, v) => {
|
|
2454
|
-
const g =
|
|
2453
|
+
const g = zn, k = Hn, S = al, R = nl, N = ta;
|
|
2455
2454
|
return m(), L(N, {
|
|
2456
2455
|
modelValue: r(a),
|
|
2457
2456
|
"onUpdate:modelValue": v[7] || (v[7] = (b) => nt(a) ? a.value = b : null),
|
|
@@ -2469,8 +2468,8 @@ const Be = (e) => (Yn("data-v-2bdf1403"), e = e(), Zn(), e), Ka = { class: "flex
|
|
|
2469
2468
|
_(k, {
|
|
2470
2469
|
modelValue: r(u),
|
|
2471
2470
|
"onUpdate:modelValue": v[0] || (v[0] = (b) => nt(u) ? u.value = b : null),
|
|
2472
|
-
"active-icon": r(
|
|
2473
|
-
"inactive-icon": r(
|
|
2471
|
+
"active-icon": r(Fn),
|
|
2472
|
+
"inactive-icon": r(Dn),
|
|
2474
2473
|
onChange: i
|
|
2475
2474
|
}, null, 8, ["modelValue", "active-icon", "inactive-icon"])
|
|
2476
2475
|
]),
|
|
@@ -2772,7 +2771,7 @@ var Ae = {
|
|
|
2772
2771
|
};
|
|
2773
2772
|
Ae.posix = Ae;
|
|
2774
2773
|
var rn = Ae;
|
|
2775
|
-
const un = /* @__PURE__ */
|
|
2774
|
+
const un = /* @__PURE__ */ Wn(rn), xl = { class: "tags-container" }, El = /* @__PURE__ */ D({
|
|
2776
2775
|
__name: "index",
|
|
2777
2776
|
setup(e) {
|
|
2778
2777
|
const { proxy: n } = ge(), t = Ct(), o = Xe(), s = je(), a = bt(), l = _e(), { visitedViews: u } = ao(a), i = Se(), c = E(() => i.layout), f = T({
|
|
@@ -3392,7 +3391,7 @@ const un = /* @__PURE__ */ Hn(rn), xl = { class: "tags-container" }, El = /* @__
|
|
|
3392
3391
|
"layout-left": l.value === "left",
|
|
3393
3392
|
"layout-top": l.value === "top",
|
|
3394
3393
|
"layout-mix": l.value === "mix"
|
|
3395
|
-
})), f =
|
|
3394
|
+
})), f = qn().width;
|
|
3396
3395
|
kt(() => {
|
|
3397
3396
|
f.value < Jl ? (n.toggleDevice(Je.MOBILE), n.closeSideBar()) : (n.toggleDevice(Je.DESKTOP), f.value >= 1200 ? n.openSideBar() : n.closeSideBar());
|
|
3398
3397
|
});
|
|
@@ -3453,7 +3452,7 @@ const un = /* @__PURE__ */ Hn(rn), xl = { class: "tags-container" }, El = /* @__
|
|
|
3453
3452
|
], 2);
|
|
3454
3453
|
};
|
|
3455
3454
|
}
|
|
3456
|
-
}),
|
|
3455
|
+
}), ds = /* @__PURE__ */ ie(Ql, [["__scopeId", "data-v-71891bc2"]]);
|
|
3457
3456
|
export {
|
|
3458
|
-
|
|
3457
|
+
ds as default
|
|
3459
3458
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bO as e, bP as t, c5 as r, bQ as o, bR as b, c3 as u, c4 as i, b$ as c, c0 as n, c1 as p, c2 as g, c6 as d, bV as P, bE as S, bF as E, bA as M, bL as l, bM as D, bC as m, bB as k, bS as v, ar as H, bK as L, a9 as R, bD as f, bz as y, bZ as A, aa as z, bo as B, aw as C, bW as T, bG as U, b_ as V, bJ as W, bH as h, bI as w, W as x, bX as F, bN as Q, bT as q, ab as G, bp as I, a3 as J, bU as K, a1 as N, a2 as O, bY as X, at as Y } from "./index-BCUHPnNY.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BizDict,
|
|
4
4
|
t as BizLayDict,
|
|
5
5
|
r as DashboardPage,
|
|
6
6
|
o as EnableBizDict,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
b as EnumDict,
|
|
8
|
+
u as Error401Page,
|
|
9
|
+
i as Error404Page,
|
|
10
|
+
c as Layout,
|
|
11
11
|
n as LoginPage,
|
|
12
12
|
p as MultiFactorLoginPage,
|
|
13
13
|
g as ProfilePage,
|
|
14
14
|
d as RedirectPage,
|
|
15
15
|
P as TableHooks,
|
|
16
16
|
S as addViteMenus,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
E as addWebpackMenus,
|
|
18
|
+
M as axiosConfig,
|
|
19
|
+
l as clearEmpty,
|
|
20
|
+
D as deepMerge,
|
|
21
|
+
m as default,
|
|
22
22
|
k as directive,
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
v as enumMapCache,
|
|
24
|
+
H as getCaptchaApi,
|
|
25
25
|
L as getQueryParams,
|
|
26
26
|
R as i18n,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
f as menus,
|
|
28
|
+
y as request,
|
|
29
|
+
A as resetRouter,
|
|
30
|
+
z as routerRef,
|
|
31
31
|
B as runAsUser,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
C as selectDsdRoles,
|
|
33
|
+
T as store,
|
|
34
|
+
U as updateMetaEnv,
|
|
35
|
+
V as updateRouter,
|
|
36
|
+
W as updateSettings,
|
|
37
|
+
h as updateViteMetaEnv,
|
|
38
|
+
w as updateWebpackMetaEnv,
|
|
39
|
+
x as useAppStore,
|
|
40
|
+
F as useAppStoreHook,
|
|
41
|
+
Q as useDictionary,
|
|
42
42
|
q as useListData,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
43
|
+
G as usePermissionStore,
|
|
44
|
+
I as usePermissionStoreHook,
|
|
45
|
+
J as useSettingsStore,
|
|
46
|
+
K as useTableHooks,
|
|
47
|
+
N as useTagsViewStore,
|
|
48
|
+
O as useUserStore,
|
|
49
|
+
X as useUserStoreHook,
|
|
50
|
+
Y as vueMetaEnv
|
|
51
51
|
};
|