jmash-core 0.1.14 → 0.1.15
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-C0q_e1zJ.mjs → 401-C-Z61lLd.mjs} +1 -1
- package/dist/{404-WP7omG9z.mjs → 404-B0xdJSOl.mjs} +1 -1
- package/dist/{BarChart-DjOjRVDo.mjs → BarChart-CVVuHHkX.mjs} +1 -1
- package/dist/assets/749f2ccf565925d5.jpg +0 -0
- package/dist/{index-CVxxMlrU.mjs → index-Bd-9PguH.mjs} +7673 -7393
- package/dist/index-BeclKUkp.mjs +26 -0
- package/dist/{index-CKwO5tJ6.mjs → index-CJ7wU_M7.mjs} +2 -2
- package/dist/{index-BWPCazOM.mjs → index-CQK8n-wP.mjs} +1 -1
- package/dist/{index-U1XG9RWU.mjs → index-DI57cJJp.mjs} +85 -78
- package/dist/{index-DlWOd_33.mjs → index-D_w6Hgrj.mjs} +3 -3
- package/dist/index.mjs +60 -58
- package/dist/{profile-BKMc1ACK.mjs → profile-6d2duxJR.mjs} +1 -1
- package/dist/{runAs-BkWJ96tl.mjs → runAs-faf8rkih.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-DdgZ9dNt.mjs → runAs.vue_vue_type_script_setup_true_lang-owDiLD86.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{types-CIxV5TtA.mjs → types-3onZoSqF.mjs} +41 -38
- package/dist/{updatePwd-DdNcURoD.mjs → updatePwd-Bje9j_CP.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BiODj6l4.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Z21pA8yn.mjs} +1 -1
- package/dts/src/api/auth/index.d.ts +8 -2
- package/dts/src/api/auth/types.d.ts +26 -0
- package/dts/src/components/JmashMultiImageUpload/index.vue.d.ts +1 -1
- package/dts/src/components/RegisterForm/index.vue.d.ts +2 -0
- package/dts/src/index.d.ts +3 -1
- package/dts/src/lang/package/zh-cn.d.ts +27 -0
- package/dts/src/layout/components/Sidebar/components/SidebarMenuItemTitle.vue.d.ts +1 -1
- package/dts/src/router/index.d.ts +1 -0
- package/dts/src/types/index.d.ts +1 -0
- 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/dts/src/views/register/index.vue.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as r, resolveComponent as n, createElementBlock as s, openBlock as a, createVNode as t, unref as c, withCtx as d, createElementVNode as _ } from "vue";
|
|
2
|
+
import { u as i, aE as p, h as l } from "./index-Bd-9PguH.mjs";
|
|
3
|
+
const m = { class: "register-container" }, u = /* @__PURE__ */ r({
|
|
4
|
+
__name: "index",
|
|
5
|
+
setup(f) {
|
|
6
|
+
return (v, e) => {
|
|
7
|
+
const o = n("el-card");
|
|
8
|
+
return a(), s("div", m, [
|
|
9
|
+
t(o, {
|
|
10
|
+
device: c(i)().device,
|
|
11
|
+
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
12
|
+
}, {
|
|
13
|
+
default: d(() => [
|
|
14
|
+
e[0] || (e[0] = _("h3", { class: "register-container_title" }, "账号注册", -1)),
|
|
15
|
+
t(p)
|
|
16
|
+
]),
|
|
17
|
+
_: 1,
|
|
18
|
+
__: [0]
|
|
19
|
+
}, 8, ["device"])
|
|
20
|
+
]);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
}), h = /* @__PURE__ */ l(u, [["__scopeId", "data-v-321a6d52"]]);
|
|
24
|
+
export {
|
|
25
|
+
h as default
|
|
26
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as A } from "./RadarChart.vue_vue_type_script_setup_true_lang-Dmh0_OQ4.mjs";
|
|
2
2
|
import { _ as Z } from "./PieChart.vue_vue_type_script_setup_true_lang-Bw7ozgOv.mjs";
|
|
3
|
-
import q from "./BarChart-
|
|
4
|
-
import { h as B, f as F, b as G, p as f, q as p, _ as H } from "./index-
|
|
3
|
+
import q from "./BarChart-CVVuHHkX.mjs";
|
|
4
|
+
import { h as B, f as F, b as G, p as f, q as p, _ as H } from "./index-Bd-9PguH.mjs";
|
|
5
5
|
import { createElementBlock as C, openBlock as y, createElementVNode as t, defineComponent as R, computed as k, ref as x, resolveComponent as c, createVNode as s, withCtx as n, unref as l, toDisplayString as r, createTextVNode as u } from "vue";
|
|
6
6
|
const J = {}, K = {
|
|
7
7
|
href: "https://github.com/haoxianrui",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, ref as y, resolveComponent as d, createElementBlock as c, openBlock as l, createElementVNode as s, Fragment as x, renderList as k, unref as _, createVNode as g, toDisplayString as C, withCtx as w } from "vue";
|
|
2
|
-
import { b as p, o as B, f as R, h as b } from "./index-
|
|
2
|
+
import { b as p, o as B, f as R, h as b } from "./index-Bd-9PguH.mjs";
|
|
3
3
|
import { useRoute as q, useRouter as A } from "vue-router";
|
|
4
4
|
const L = { class: "organ-container" }, N = { class: "organ-content" }, O = ["onClick"], S = ["src"], U = { style: { "margin-right": "auto" } }, E = /* @__PURE__ */ v({
|
|
5
5
|
__name: "index",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
import { useI18n as
|
|
1
|
+
import { v as b, u as g, b as H, n as F, e as G, g as J, y as X, t as Y, z as Z, h as ee } from "./index-Bd-9PguH.mjs";
|
|
2
|
+
import { defineComponent as te, ref as c, computed as oe, watchEffect as le, resolveComponent as d, createElementBlock as se, openBlock as re, createElementVNode as o, createVNode as l, withDirectives as U, unref as k, withCtx as i, normalizeStyle as ae, vShow as D, withKeys as z, withModifiers as ne, createTextVNode as ie, toDisplayString as Q, normalizeClass as ue } from "vue";
|
|
3
|
+
import ce from "./assets/0cda52992278af9e.png";
|
|
4
|
+
import { useI18n as de } from "vue-i18n";
|
|
5
5
|
import "element-plus";
|
|
6
|
-
import { useRoute as
|
|
7
|
-
import
|
|
8
|
-
const
|
|
6
|
+
import { useRoute as pe, useRouter as me } from "vue-router";
|
|
7
|
+
import fe from "./assets/09fcc36c527efda6.jpg";
|
|
8
|
+
const ve = { class: "login-container" }, _e = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, ge = { class: "qrcode-container" }, he = ["src"], ye = { class: "flex justify-between items-center w-full" }, we = ["src"], Ce = { class: "bg-small" }, be = 992, ke = /* @__PURE__ */ te({
|
|
9
9
|
__name: "index",
|
|
10
|
-
setup(
|
|
11
|
-
const { t: q } =
|
|
12
|
-
e.props.name === "user" ? (
|
|
10
|
+
setup(qe) {
|
|
11
|
+
const { t: q } = de(), h = c(b.APP_ACTIVE), j = (e) => {
|
|
12
|
+
e.props.name === "user" ? (C(), m()) : I(), h.value = e.props.name;
|
|
13
13
|
}, s = c({
|
|
14
14
|
scope: "",
|
|
15
15
|
username: "",
|
|
16
16
|
password: ""
|
|
17
|
-
}), B =
|
|
17
|
+
}), B = oe(() => {
|
|
18
18
|
const e = g().language === "en" ? "Please enter " : "请输入";
|
|
19
19
|
return {
|
|
20
20
|
username: [
|
|
@@ -28,8 +28,8 @@ const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex item
|
|
|
28
28
|
{
|
|
29
29
|
required: !0,
|
|
30
30
|
trigger: "blur",
|
|
31
|
-
validator: (t,
|
|
32
|
-
|
|
31
|
+
validator: (t, a, r) => {
|
|
32
|
+
a.length < 5 ? r(new Error("The password can not be less than 5 digits")) : r();
|
|
33
33
|
},
|
|
34
34
|
message: `${e}${q("login.password")}`
|
|
35
35
|
}
|
|
@@ -42,93 +42,96 @@ const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex item
|
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
};
|
|
45
|
-
}), V = c(!1),
|
|
45
|
+
}), V = c(!1), x = c(), P = pe(), E = me(), $ = H(), T = () => {
|
|
46
46
|
var e;
|
|
47
|
-
(e =
|
|
48
|
-
t && (V.value = !0, $.login({ ...s.value, password:
|
|
49
|
-
const
|
|
50
|
-
(p, _) => (_ !== "redirect" && (p[_] =
|
|
47
|
+
(e = x.value) == null || e.validate((t) => {
|
|
48
|
+
t && (V.value = !0, $.login({ ...s.value, password: X(s.value.password) }).then(() => {
|
|
49
|
+
const a = P.query, r = a.redirect ?? b.APP_REDIRECT, n = Object.keys(a).reduce(
|
|
50
|
+
(p, _) => (_ !== "redirect" && (p[_] = a[_]), p),
|
|
51
51
|
{}
|
|
52
52
|
);
|
|
53
|
-
|
|
53
|
+
E.push({ path: r, query: n }), m();
|
|
54
54
|
}).catch(() => {
|
|
55
55
|
m();
|
|
56
56
|
}).finally(() => {
|
|
57
57
|
V.value = !1;
|
|
58
58
|
}));
|
|
59
59
|
});
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
s.value.captchaKey = e.captchaId,
|
|
60
|
+
}, R = c(""), m = () => {
|
|
61
|
+
Y().then(({ data: e }) => {
|
|
62
|
+
s.value.captchaKey = e.captchaId, R.value = e.base64Image;
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
65
|
m();
|
|
66
|
-
let y = setInterval(
|
|
66
|
+
let y = setInterval(S, 3e3);
|
|
67
67
|
const f = c({});
|
|
68
|
-
function
|
|
69
|
-
|
|
70
|
-
f.value = e, v.value = !1, K(), y = setInterval(
|
|
68
|
+
function I() {
|
|
69
|
+
Z().then(({ data: e }) => {
|
|
70
|
+
f.value = e, v.value = !1, K(), y = setInterval(S, 3e3);
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
h.value === "qrCode" &&
|
|
74
|
-
function
|
|
73
|
+
h.value === "qrCode" && I();
|
|
74
|
+
function S() {
|
|
75
75
|
f.value.ticket && $.loginByQrcode({ ticket: f.value.ticket }).then(() => {
|
|
76
|
-
|
|
77
|
-
const e =
|
|
78
|
-
(
|
|
76
|
+
C(), v.value = !1, f.value.qrcodeUrl = fe;
|
|
77
|
+
const e = P.query, t = e.redirect ?? b.APP_REDIRECT, a = Object.keys(e).reduce(
|
|
78
|
+
(r, n) => (n !== "redirect" && (r[n] = e[n]), r),
|
|
79
79
|
{}
|
|
80
80
|
);
|
|
81
|
-
|
|
81
|
+
E.push({ path: t, query: a });
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
let w = null;
|
|
85
85
|
const v = c(!1);
|
|
86
|
-
function
|
|
86
|
+
function C() {
|
|
87
87
|
y && (clearInterval(y), y = null), w && (clearTimeout(w), w = null);
|
|
88
88
|
}
|
|
89
89
|
function K() {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
},
|
|
90
|
+
C(), w = setTimeout(() => {
|
|
91
|
+
C(), v.value = !0;
|
|
92
|
+
}, b.APP_TIMEOUT);
|
|
93
|
+
}
|
|
94
|
+
function L() {
|
|
95
|
+
E.push({ path: "/register" });
|
|
93
96
|
}
|
|
94
|
-
const
|
|
95
|
-
return
|
|
96
|
-
|
|
97
|
+
const A = g(), { width: M } = F();
|
|
98
|
+
return le(() => {
|
|
99
|
+
M.value < be ? A.toggleDevice("mobile") : A.toggleDevice("desktop");
|
|
97
100
|
}), (e, t) => {
|
|
98
|
-
const
|
|
99
|
-
return
|
|
100
|
-
o("div",
|
|
101
|
-
l(
|
|
101
|
+
const a = G, r = d("el-tab-pane"), n = d("el-input"), p = d("el-form-item"), _ = d("el-button"), N = d("el-form"), O = d("el-tabs"), W = d("el-card");
|
|
102
|
+
return re(), se("div", ve, [
|
|
103
|
+
o("div", _e, [
|
|
104
|
+
l(a, {
|
|
102
105
|
class: "ml-2 cursor-pointer",
|
|
103
106
|
style: { "font-size": "18px" }
|
|
104
107
|
})
|
|
105
108
|
]),
|
|
106
|
-
l(
|
|
109
|
+
l(W, {
|
|
107
110
|
device: k(g)().device,
|
|
108
111
|
class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83"
|
|
109
112
|
}, {
|
|
110
|
-
default:
|
|
111
|
-
l(
|
|
113
|
+
default: i(() => [
|
|
114
|
+
l(O, {
|
|
112
115
|
modelValue: h.value,
|
|
113
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
116
|
+
"onUpdate:modelValue": t[3] || (t[3] = (u) => h.value = u),
|
|
114
117
|
class: "demo-tabs",
|
|
115
118
|
onTabClick: j
|
|
116
119
|
}, {
|
|
117
|
-
default:
|
|
118
|
-
l(
|
|
120
|
+
default: i(() => [
|
|
121
|
+
l(r, {
|
|
119
122
|
label: "扫码登录",
|
|
120
123
|
name: "qrCode"
|
|
121
124
|
}, {
|
|
122
|
-
default:
|
|
123
|
-
o("div",
|
|
125
|
+
default: i(() => [
|
|
126
|
+
o("div", ge, [
|
|
124
127
|
o("img", {
|
|
125
128
|
src: f.value.qrcodeUrl,
|
|
126
129
|
style: ae({ opacity: v.value ? 0.02 : 1 }),
|
|
127
130
|
alt: "二维码"
|
|
128
|
-
}, null, 12,
|
|
131
|
+
}, null, 12, he),
|
|
129
132
|
U(o("div", null, [
|
|
130
133
|
t[4] || (t[4] = o("div", null, "二维码已过期", -1)),
|
|
131
|
-
o("div", { onClick:
|
|
134
|
+
o("div", { onClick: I }, "点击刷新")
|
|
132
135
|
], 512), [
|
|
133
136
|
[D, v.value]
|
|
134
137
|
])
|
|
@@ -138,57 +141,57 @@ const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex item
|
|
|
138
141
|
_: 1,
|
|
139
142
|
__: [5]
|
|
140
143
|
}),
|
|
141
|
-
l(
|
|
144
|
+
l(r, {
|
|
142
145
|
label: "账号登录",
|
|
143
146
|
name: "user"
|
|
144
147
|
}, {
|
|
145
|
-
default:
|
|
146
|
-
l(
|
|
148
|
+
default: i(() => [
|
|
149
|
+
l(N, {
|
|
147
150
|
ref_key: "formRef",
|
|
148
|
-
ref:
|
|
151
|
+
ref: x,
|
|
149
152
|
model: s.value,
|
|
150
153
|
rules: B.value
|
|
151
154
|
}, {
|
|
152
|
-
default:
|
|
155
|
+
default: i(() => [
|
|
153
156
|
l(p, { prop: "username" }, {
|
|
154
|
-
default:
|
|
157
|
+
default: i(() => [
|
|
155
158
|
l(n, {
|
|
156
159
|
modelValue: s.value.username,
|
|
157
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
160
|
+
"onUpdate:modelValue": t[0] || (t[0] = (u) => s.value.username = u),
|
|
158
161
|
placeholder: e.$t("login.username")
|
|
159
162
|
}, null, 8, ["modelValue", "placeholder"])
|
|
160
163
|
]),
|
|
161
164
|
_: 1
|
|
162
165
|
}),
|
|
163
166
|
l(p, { prop: "password" }, {
|
|
164
|
-
default:
|
|
167
|
+
default: i(() => [
|
|
165
168
|
l(n, {
|
|
166
169
|
modelValue: s.value.password,
|
|
167
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
170
|
+
"onUpdate:modelValue": t[1] || (t[1] = (u) => s.value.password = u),
|
|
168
171
|
placeholder: e.$t("login.password"),
|
|
169
172
|
type: "password",
|
|
170
173
|
"show-password": "",
|
|
171
|
-
onKeyup: z(
|
|
174
|
+
onKeyup: z(T, ["enter"])
|
|
172
175
|
}, null, 8, ["modelValue", "placeholder"])
|
|
173
176
|
]),
|
|
174
177
|
_: 1
|
|
175
178
|
}),
|
|
176
179
|
l(p, { prop: "captchaCode" }, {
|
|
177
|
-
default:
|
|
178
|
-
o("div",
|
|
180
|
+
default: i(() => [
|
|
181
|
+
o("div", ye, [
|
|
179
182
|
l(n, {
|
|
180
183
|
style: { width: "65%" },
|
|
181
184
|
modelValue: s.value.captchaCode,
|
|
182
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
185
|
+
"onUpdate:modelValue": t[2] || (t[2] = (u) => s.value.captchaCode = u),
|
|
183
186
|
placeholder: e.$t("login.captchaCode"),
|
|
184
|
-
onKeyup: z(
|
|
187
|
+
onKeyup: z(T, ["enter"])
|
|
185
188
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
186
189
|
o("img", {
|
|
187
190
|
class: "flex-1 h-[40px] cursor-pointer ml-2",
|
|
188
|
-
src:
|
|
191
|
+
src: R.value,
|
|
189
192
|
onClick: m,
|
|
190
193
|
alt: "验证码"
|
|
191
|
-
}, null, 8,
|
|
194
|
+
}, null, 8, we)
|
|
192
195
|
])
|
|
193
196
|
]),
|
|
194
197
|
_: 1
|
|
@@ -197,10 +200,10 @@ const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex item
|
|
|
197
200
|
loading: V.value,
|
|
198
201
|
type: "primary",
|
|
199
202
|
class: "w-full",
|
|
200
|
-
onClick:
|
|
203
|
+
onClick: ne(T, ["prevent"])
|
|
201
204
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
|
|
205
|
+
default: i(() => [
|
|
206
|
+
ie(Q(e.$t("login.login")), 1)
|
|
204
207
|
]),
|
|
205
208
|
_: 1
|
|
206
209
|
}, 8, ["loading"])
|
|
@@ -212,14 +215,18 @@ const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex item
|
|
|
212
215
|
})
|
|
213
216
|
]),
|
|
214
217
|
_: 1
|
|
215
|
-
}, 8, ["modelValue"])
|
|
218
|
+
}, 8, ["modelValue"]),
|
|
219
|
+
o("div", {
|
|
220
|
+
class: "cursor-pointer register-btn",
|
|
221
|
+
onClick: L
|
|
222
|
+
}, " 没有密码,前往注册 ")
|
|
216
223
|
]),
|
|
217
224
|
_: 1
|
|
218
225
|
}, 8, ["device"]),
|
|
219
|
-
U(o("div",
|
|
220
|
-
o("div", null, Q(k(
|
|
226
|
+
U(o("div", Ce, [
|
|
227
|
+
o("div", null, Q(k(J).title), 1),
|
|
221
228
|
t[6] || (t[6] = o("img", {
|
|
222
|
-
src:
|
|
229
|
+
src: ce,
|
|
223
230
|
alt: "login-bg-small"
|
|
224
231
|
}, null, -1))
|
|
225
232
|
], 512), [
|
|
@@ -231,7 +238,7 @@ const fe = { class: "login-container" }, ve = { class: "absolute top-0 flex item
|
|
|
231
238
|
]);
|
|
232
239
|
};
|
|
233
240
|
}
|
|
234
|
-
}),
|
|
241
|
+
}), Re = /* @__PURE__ */ ee(ke, [["__scopeId", "data-v-1469303e"]]);
|
|
235
242
|
export {
|
|
236
|
-
|
|
243
|
+
Re as default
|
|
237
244
|
};
|
|
@@ -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-Bd-9PguH.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-Z21pA8yn.mjs";
|
|
5
|
+
import { _ as rt, E as ct } from "./runAs.vue_vue_type_script_setup_true_lang-owDiLD86.mjs";
|
|
6
6
|
import { storeToRefs as ut } from "pinia";
|
|
7
7
|
const dt = /* @__PURE__ */ D({
|
|
8
8
|
__name: "index",
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b1 as t, b2 as r, bq as i, b3 as o, bo as b, b5 as n, A as u, bm as d, bn as g, bi as l, bj as p, bk as c, bl as m, bp as P, aE as S, br as v, S as E, ba as y, aQ as M, aL as R, aM as f, aG as k, aU as C, z as D, aS as L, aV as h, aI as A, g as H, aH as U, b4 as z, f as V, aW as B, t as I, aT as O, aX as T, i as F, aK as Q, b7 as W, aJ as j, o as q, y as w, aF as x, bg as K, r as N, b8 as G, aC as J, b6 as X, bb as Y, aN as Z, bh as _, aR as $, aO as aa, aP as ea, u as sa, bc as ta, bf as ra, j as ia, bd as oa, c as ba, b9 as na, a as ua, b as da, be as ga, a_ as la, b0 as pa, a$ as ca, aY as ma, aZ as Pa, v as Sa } from "./index-Bd-9PguH.mjs";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
export {
|
|
4
4
|
t as BizDict,
|
|
5
5
|
r as BizLayDict,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
i as ChangeOrgan,
|
|
7
|
+
o as CustomBizDict,
|
|
8
|
+
b as DashboardPage,
|
|
9
|
+
n as EnableBizDict,
|
|
10
|
+
u as EnumDict,
|
|
11
11
|
d as Error401Page,
|
|
12
12
|
g as Error404Page,
|
|
13
13
|
l as Layout,
|
|
@@ -15,57 +15,59 @@ export {
|
|
|
15
15
|
c as MultiFactorLoginPage,
|
|
16
16
|
m as ProfilePage,
|
|
17
17
|
P as RedirectPage,
|
|
18
|
-
S as
|
|
19
|
-
v as
|
|
20
|
-
E as
|
|
21
|
-
y as
|
|
22
|
-
M as
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
H as
|
|
32
|
-
U as
|
|
33
|
-
z as
|
|
34
|
-
V as
|
|
35
|
-
B as
|
|
36
|
-
I as
|
|
37
|
-
O as
|
|
38
|
-
T as
|
|
39
|
-
|
|
40
|
-
Q as
|
|
41
|
-
W as
|
|
42
|
-
j as
|
|
18
|
+
S as RegisterForm,
|
|
19
|
+
v as RegisterPage,
|
|
20
|
+
E as SysApiImpl,
|
|
21
|
+
y as TableHooks,
|
|
22
|
+
M as addDynamicRoute,
|
|
23
|
+
R as addViteMenus,
|
|
24
|
+
f as addWebpackMenus,
|
|
25
|
+
k as axiosConfig,
|
|
26
|
+
C as clearEmpty,
|
|
27
|
+
D as createLoginQrcode,
|
|
28
|
+
L as cssImageVar,
|
|
29
|
+
h as deepMerge,
|
|
30
|
+
A as default,
|
|
31
|
+
H as defaultSettings,
|
|
32
|
+
U as directive,
|
|
33
|
+
z as enumMapCache,
|
|
34
|
+
V as fileApi,
|
|
35
|
+
B as generateRandomKey,
|
|
36
|
+
I as getCaptchaApi,
|
|
37
|
+
O as getQueryParams,
|
|
38
|
+
T as handlePreview,
|
|
39
|
+
F as i18n,
|
|
40
|
+
Q as imageUrl,
|
|
41
|
+
W as loginOrganApi,
|
|
42
|
+
j as menus,
|
|
43
|
+
q as myorganList,
|
|
44
|
+
w as netEncrypt,
|
|
43
45
|
x as request,
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
46
|
+
K as resetRouter,
|
|
47
|
+
N as routerRef,
|
|
48
|
+
G as routerUtil,
|
|
49
|
+
J as runAsUser,
|
|
50
|
+
X as selectDsdRoles,
|
|
51
|
+
Y as store,
|
|
52
|
+
Z as updateMetaEnv,
|
|
53
|
+
_ as updateRouter,
|
|
54
|
+
$ as updateSettings,
|
|
55
|
+
aa as updateViteMetaEnv,
|
|
56
|
+
ea as updateWebpackMetaEnv,
|
|
57
|
+
sa as useAppStore,
|
|
58
|
+
ta as useAppStoreHook,
|
|
59
|
+
ra as useListStoreHook,
|
|
60
|
+
ia as usePermissionStore,
|
|
61
|
+
oa as usePermissionStoreHook,
|
|
62
|
+
ba as useSettingsStore,
|
|
63
|
+
na as useTableHooks,
|
|
64
|
+
ua as useTagsViewStore,
|
|
65
|
+
da as useUserStore,
|
|
66
|
+
ga as useUserStoreHook,
|
|
67
|
+
la as validateCreditCode,
|
|
68
|
+
pa as validateEmail,
|
|
69
|
+
ca as validateIDCard,
|
|
70
|
+
ma as validatePhoneNumber,
|
|
71
|
+
Pa as validatePhoneOrLandline,
|
|
72
|
+
Sa as vueMetaEnv
|
|
71
73
|
};
|
|
@@ -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-Bd-9PguH.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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as Gn, J as jn, K as hn, L as Xn, M as $t, N as mn, O as yt, P as gn, Q as Ht, R as qn, U as ye, V as Vt, W as Jn, X as et, Y as de, Z as oe, $ as Zn, a0 as Ie, a1 as Qn, a2 as bn, a3 as eo, a4 as to, a5 as no, a6 as oo, a7 as rt, a8 as Be, a9 as Le, aa as fe, ab as ao, ac as ro, ad as so, ae as io, af as ie, ag as We, ah as qe, ai as yn, aj as Et, ak as wt, al as lo, am as ft, an as uo, ao as zt, ap as Dt, aq as co, ar as fo, as as vo, at as po, au as ho, av as mo, aw as Ut, ax as Kt, ay as Wt, az as go, b as Fe, aA as bo, aB as yo, _ as Eo, aC as wo, E as So } from "./index-
|
|
1
|
+
import { I as Gn, J as jn, K as hn, L as Xn, M as $t, N as mn, O as yt, P as gn, Q as Ht, R as qn, U as ye, V as Vt, W as Jn, X as et, Y as de, Z as oe, $ as Zn, a0 as Ie, a1 as Qn, a2 as bn, a3 as eo, a4 as to, a5 as no, a6 as oo, a7 as rt, a8 as Be, a9 as Le, aa as fe, ab as ao, ac as ro, ad as so, ae as io, af as ie, ag as We, ah as qe, ai as yn, aj as Et, ak as wt, al as lo, am as ft, an as uo, ao as zt, ap as Dt, aq as co, ar as fo, as as vo, at as po, au as ho, av as mo, aw as Ut, ax as Kt, ay as Wt, az as go, b as Fe, aA as bo, aB as yo, _ as Eo, aC as wo, E as So } from "./index-Bd-9PguH.mjs";
|
|
2
2
|
import { computed as y, getCurrentInstance as Re, inject as ve, unref as d, ref as x, onMounted as pe, watch as G, toRef as Je, onUnmounted as Co, shallowRef as Ye, nextTick as D, defineComponent as Q, useAttrs as To, useSlots as En, createElementBlock as L, openBlock as b, normalizeStyle as Ze, normalizeClass as S, createCommentVNode as I, Fragment as Ge, createElementVNode as H, renderSlot as Y, createBlock as A, withCtx as B, resolveDynamicComponent as K, mergeProps as vt, withModifiers as ke, toDisplayString as W, onBeforeUnmount as Pe, provide as wn, Text as ko, reactive as St, createVNode as Z, h as Io, watchEffect as Mo, isRef as Ao, onScopeDispose as xo, markRaw as pt, toRefs as Bo, resolveComponent as ge, Transition as No, withDirectives as Me, withKeys as $e, vShow as Ae, createTextVNode as xe, isVNode as Sn, render as Cn, useModel as Lo } from "vue";
|
|
3
3
|
function Ro(e) {
|
|
4
4
|
return e;
|