jmash-core 0.0.26 → 0.0.28
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-DyxXSkQ8.mjs → 401-DHF-V-Zy.mjs} +2 -2
- package/dist/{404-B1TcvQEr.mjs → 404-BYdOQuni.mjs} +1 -1
- package/dist/{BarChart-209IORAN.mjs → BarChart-RqUPCdJI.mjs} +2 -2
- package/dist/{PieChart-C56IVMnJ.mjs → PieChart-1jIJVala.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-e5ngYbbF.mjs → PieChart.vue_vue_type_script_setup_true_lang-DVIUkdCZ.mjs} +2 -2
- package/dist/{RadarChart-V_wZ72h6.mjs → RadarChart-Bc8S0ALP.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-BMoFVCx6.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CZH2B93g.mjs} +2 -2
- package/dist/{edit-Dn97TcAU.mjs → edit-ChkuuXol.mjs} +1 -1
- package/dist/{edit-fy-D_Erf.mjs → edit-D9SACDyC.mjs} +52 -50
- package/dist/{edit-BVUL3vj5.mjs → edit-DPjM8Jlu.mjs} +1 -1
- package/dist/{edit-DXWmiMqv.mjs → edit-Dfa1EM3Q.mjs} +1 -1
- package/dist/{edit-bp48snhk.mjs → edit-Dt4fjw1S.mjs} +1 -1
- package/dist/edit-QqWLBTAl.mjs +4 -0
- package/dist/{edit-D1YyanrI.mjs → edit-mxla5Dwo.mjs} +90 -88
- package/dist/edit-xL7t35XF.mjs +4 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Cvcr7cQH.mjs → edit.vue_vue_type_script_setup_true_lang-2gWgg28j.mjs} +32 -31
- package/dist/{edit.vue_vue_type_script_setup_true_lang-Bot6IVjR.mjs → edit.vue_vue_type_script_setup_true_lang-BYh6kXhd.mjs} +106 -104
- package/dist/{edit.vue_vue_type_script_setup_true_lang-B3JXEydV.mjs → edit.vue_vue_type_script_setup_true_lang-CEJcRABj.mjs} +46 -44
- package/dist/{edit.vue_vue_type_script_setup_true_lang-dpzo5d2P.mjs → edit.vue_vue_type_script_setup_true_lang-D6LyCzD-.mjs} +39 -38
- package/dist/{edit.vue_vue_type_script_setup_true_lang-CMpUNJVq.mjs → edit.vue_vue_type_script_setup_true_lang-DRoxMTE3.mjs} +35 -33
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DNx6yN4E.mjs → edit.vue_vue_type_script_setup_true_lang-O9kmmp-o.mjs} +35 -33
- package/dist/{el-card-B1tGqKYT.mjs → el-card-DwHvO2Ya.mjs} +1 -1
- package/dist/{el-col-CDKx7dxt.mjs → el-col-CpkHzVh2.mjs} +7 -7
- package/dist/{el-date-picker-6jkl6umu.mjs → el-date-picker-B6dLs8du.mjs} +424 -424
- package/dist/{el-divider-AzBqnYzM.mjs → el-divider-N6be-jn8.mjs} +1 -1
- package/dist/{el-dropdown-item-Bm7pFBjL.mjs → el-dropdown-item-B-4lE04J.mjs} +47 -46
- package/dist/el-form-item--x5GHc7n.mjs +1124 -0
- package/dist/{el-tree-select-CLP-mG53.mjs → el-tree-select-DpKRTcZJ.mjs} +31 -31
- package/dist/{index-B_Nlp4bP.mjs → index-0Jc1dpgF.mjs} +46 -44
- package/dist/{index-CN-rTVvf.mjs → index-B3-6N5dQ.mjs} +65 -64
- package/dist/{index-DkkB2zub.mjs → index-B4ruvSZ3.mjs} +49 -48
- package/dist/{index-B8rFOXk3.mjs → index-B8Bjod4Z.mjs} +1 -1
- package/dist/{index-Dd9sx-3t.mjs → index-BGrn7xfJ.mjs} +87 -85
- package/dist/{index-Drr9mZCe.mjs → index-BRV4P_kX.mjs} +82 -80
- package/dist/{index-Da3w-Bs_.mjs → index-BpV4WDjm.mjs} +5 -5
- package/dist/{index-CB5WgDdA.mjs → index-C6rajwwk.mjs} +89 -87
- package/dist/{index-CqUieyFM.mjs → index-CPlBZyYT.mjs} +43 -40
- package/dist/{index-9F0pKjVG.mjs → index-CZbK2Kio.mjs} +154 -152
- package/dist/{index-C4c-GVkQ.mjs → index-Cn9_c0n1.mjs} +179 -178
- package/dist/{index-BhOmXWSz.mjs → index-CyTjYwGV.mjs} +1 -1
- package/dist/{index-BOpQgIuE.mjs → index-CzQLCV1q.mjs} +1 -1
- package/dist/{index-BkwJyGQQ.mjs → index-D6WFVmZz.mjs} +58 -56
- package/dist/{index-CZAJ8vFy.mjs → index-Dwg0azQy.mjs} +92 -90
- package/dist/{index-FHWikOd_.mjs → index-FcnP7111.mjs} +47 -47
- package/dist/index-Kn7Q3GUp.mjs +23679 -0
- package/dist/index-iYRVwor-.mjs +502 -0
- package/dist/{index-KGZB5e7L.mjs → index-pAD6CUAf.mjs} +101 -99
- package/dist/{index-5eSu1tHt.mjs → index-pBVS-dCg.mjs} +1 -1
- package/dist/index.mjs +37 -36
- package/dist/{index.vue_vue_type_script_setup_true_lang-BdF8weI-.mjs → index.vue_vue_type_script_setup_true_lang-DfsB8ZEs.mjs} +13 -12
- package/dist/{picture-C3ryc2v4.mjs → picture-D34s_Oi0.mjs} +80 -80
- package/dist/{position-BlDXwvZE.mjs → position-MRKj9hcz.mjs} +1 -1
- package/dist/{profile-Iv6QwYlU.mjs → profile-Bk-lwQKm.mjs} +30 -29
- package/dist/{runAs-D2y1kMdw.mjs → runAs-D7rwJWn8.mjs} +1 -1
- package/dist/{runAs.vue_vue_type_script_setup_true_lang-BGeL3VN9.mjs → runAs.vue_vue_type_script_setup_true_lang-Dt6k5rlD.mjs} +21 -20
- package/dist/style.css +1 -1
- package/dist/{types-BtFbroFe.mjs → types-CRwHW1_s.mjs} +33 -33
- package/dist/{updatePwd-CGVxTSeq.mjs → updatePwd-DEDAJW3q.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-zIdNRdvk.mjs → updatePwd.vue_vue_type_script_setup_true_lang-foekKrMF.mjs} +15 -14
- package/dts/src/api/index.d.ts +9 -0
- package/dts/src/components/Pagination/index.vue.d.ts +1 -1
- package/dts/src/index.d.ts +21 -21
- package/dts/src/main.d.ts +5 -5
- package/package.json +8 -8
- package/dist/edit-fZmbXgcD.mjs +0 -4
- package/dist/edit-lNjt5eFq.mjs +0 -4
- package/dist/el-form-item-l0sNRNKZ.mjs +0 -1
- package/dist/index-BNaxDAmV.mjs +0 -11
- package/dist/index-liyu2-pP.mjs +0 -30510
- package/dts/src/assets/icons/index.d.ts +0 -0
- package/dts/src/components/WangEditor/index.vue.d.ts +0 -18
- package/dts/src/layout/components/AppMain.vue.d.ts +0 -2
- package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +0 -2
- package/dts/src/layout/components/Sidebar/Item.vue.d.ts +0 -23
- package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +0 -24
- package/dts/src/layout/components/Sidebar/Link.vue.d.ts +0 -19
- package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +0 -12
- package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +0 -42
- package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +0 -2
- package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +0 -16
- package/dts/src/layout/components/index.d.ts +0 -4
- package/dts/src/layout/main.vue.d.ts +0 -2
- package/dts/src/utils/resize.d.ts +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as
|
|
3
|
-
import "./el-form-item
|
|
4
|
-
import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as
|
|
1
|
+
import { ah as x, $ as b, am as D, an as U, ao as $, s as B, t as N, ap as R } from "./index-Kn7Q3GUp.mjs";
|
|
2
|
+
import { _ as S, E as q } from "./picture-D34s_Oi0.mjs";
|
|
3
|
+
import { E as z, a as A } from "./el-form-item--x5GHc7n.mjs";
|
|
4
|
+
import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as a, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
|
|
5
5
|
const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, X = /* @__PURE__ */ M({
|
|
6
6
|
__name: "types",
|
|
7
7
|
setup(J) {
|
|
@@ -31,10 +31,10 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
31
31
|
function V() {
|
|
32
32
|
v();
|
|
33
33
|
}
|
|
34
|
-
const
|
|
34
|
+
const E = async () => {
|
|
35
35
|
var l;
|
|
36
|
-
await ((l = g.value) == null ? void 0 : l.validate((
|
|
37
|
-
if (
|
|
36
|
+
await ((l = g.value) == null ? void 0 : l.validate((t) => {
|
|
37
|
+
if (t) {
|
|
38
38
|
c.visible = !1;
|
|
39
39
|
const i = {
|
|
40
40
|
tenant: b().user.tenant,
|
|
@@ -51,7 +51,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
51
51
|
}
|
|
52
52
|
}));
|
|
53
53
|
};
|
|
54
|
-
function
|
|
54
|
+
function w() {
|
|
55
55
|
const l = {
|
|
56
56
|
tenant: b().user.tenant,
|
|
57
57
|
directoryId: "jmash",
|
|
@@ -60,12 +60,12 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
60
60
|
clientId: U.APP_CLIENT_ID,
|
|
61
61
|
scope: ""
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
console.log(
|
|
63
|
+
$(l).then((t) => {
|
|
64
|
+
console.log(t);
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
return (l,
|
|
68
|
-
const i =
|
|
67
|
+
return (l, t) => {
|
|
68
|
+
const i = B, d = z, r = N, h = A, y = S, k = q, F = R;
|
|
69
69
|
return P(), T(j, null, [
|
|
70
70
|
e(h, {
|
|
71
71
|
ref_key: "ruleFormRef",
|
|
@@ -74,12 +74,12 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
74
74
|
model: o,
|
|
75
75
|
rules: C
|
|
76
76
|
}, {
|
|
77
|
-
default:
|
|
77
|
+
default: a(() => [
|
|
78
78
|
e(d, { prop: "name" }, {
|
|
79
|
-
default:
|
|
79
|
+
default: a(() => [
|
|
80
80
|
e(i, {
|
|
81
81
|
modelValue: o.name,
|
|
82
|
-
"onUpdate:modelValue":
|
|
82
|
+
"onUpdate:modelValue": t[0] || (t[0] = (s) => o.name = s),
|
|
83
83
|
clearable: "",
|
|
84
84
|
placeholder: "请输入邮箱/已验证手机号"
|
|
85
85
|
}, null, 8, ["modelValue"])
|
|
@@ -87,19 +87,19 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
87
87
|
_: 1
|
|
88
88
|
}),
|
|
89
89
|
e(d, { prop: "validCode" }, {
|
|
90
|
-
default:
|
|
90
|
+
default: a(() => [
|
|
91
91
|
e(i, {
|
|
92
92
|
modelValue: o.validCode,
|
|
93
|
-
"onUpdate:modelValue":
|
|
93
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => o.validCode = s),
|
|
94
94
|
placeholder: "请输入验证码",
|
|
95
95
|
clearable: ""
|
|
96
96
|
}, {
|
|
97
|
-
append:
|
|
97
|
+
append: a(() => [
|
|
98
98
|
e(r, {
|
|
99
99
|
disabled: n.disabled,
|
|
100
100
|
onClick: V
|
|
101
101
|
}, {
|
|
102
|
-
default:
|
|
102
|
+
default: a(() => [
|
|
103
103
|
p(u(n.content), 1)
|
|
104
104
|
]),
|
|
105
105
|
_: 1
|
|
@@ -111,13 +111,13 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
111
111
|
_: 1
|
|
112
112
|
}),
|
|
113
113
|
e(d, null, {
|
|
114
|
-
default:
|
|
114
|
+
default: a(() => [
|
|
115
115
|
e(r, {
|
|
116
116
|
type: "primary",
|
|
117
117
|
class: "w-full",
|
|
118
|
-
onClick:
|
|
118
|
+
onClick: w
|
|
119
119
|
}, {
|
|
120
|
-
default:
|
|
120
|
+
default: a(() => [
|
|
121
121
|
p(" 登录 ")
|
|
122
122
|
]),
|
|
123
123
|
_: 1
|
|
@@ -131,43 +131,43 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
131
131
|
e(F, {
|
|
132
132
|
title: "提示",
|
|
133
133
|
modelValue: c.visible,
|
|
134
|
-
"onUpdate:modelValue":
|
|
134
|
+
"onUpdate:modelValue": t[4] || (t[4] = (s) => c.visible = s),
|
|
135
135
|
width: "500px"
|
|
136
136
|
}, {
|
|
137
|
-
footer:
|
|
137
|
+
footer: a(() => [
|
|
138
138
|
f("div", H, [
|
|
139
139
|
e(r, {
|
|
140
|
-
onClick:
|
|
140
|
+
onClick: t[3] || (t[3] = (s) => c.visible = !1)
|
|
141
141
|
}, {
|
|
142
|
-
default:
|
|
142
|
+
default: a(() => [
|
|
143
143
|
p(u(l.$t("common.cancel")), 1)
|
|
144
144
|
]),
|
|
145
145
|
_: 1
|
|
146
146
|
}),
|
|
147
147
|
e(r, {
|
|
148
148
|
type: "primary",
|
|
149
|
-
onClick:
|
|
149
|
+
onClick: E
|
|
150
150
|
}, {
|
|
151
|
-
default:
|
|
151
|
+
default: a(() => [
|
|
152
152
|
p(u(l.$t("common.confirm")), 1)
|
|
153
153
|
]),
|
|
154
154
|
_: 1
|
|
155
155
|
})
|
|
156
156
|
])
|
|
157
157
|
]),
|
|
158
|
-
default:
|
|
158
|
+
default: a(() => [
|
|
159
159
|
e(h, {
|
|
160
160
|
ref: "pwdFormRef",
|
|
161
161
|
size: "large",
|
|
162
162
|
model: o,
|
|
163
163
|
rules: C
|
|
164
164
|
}, {
|
|
165
|
-
default:
|
|
165
|
+
default: a(() => [
|
|
166
166
|
e(d, { prop: "captchaCode" }, {
|
|
167
|
-
default:
|
|
167
|
+
default: a(() => [
|
|
168
168
|
e(i, {
|
|
169
169
|
modelValue: o.captchaCode,
|
|
170
|
-
"onUpdate:modelValue":
|
|
170
|
+
"onUpdate:modelValue": t[2] || (t[2] = (s) => o.captchaCode = s),
|
|
171
171
|
"auto-complete": "off",
|
|
172
172
|
placeholder: l.$t("login.captchaCode"),
|
|
173
173
|
class: "w-[60%]"
|
|
@@ -178,7 +178,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
178
178
|
onClick: v,
|
|
179
179
|
class: "w-[130px] h-[40px] cursor-pointer"
|
|
180
180
|
}, {
|
|
181
|
-
error:
|
|
181
|
+
error: a(() => [
|
|
182
182
|
f("div", G, [
|
|
183
183
|
e(y)
|
|
184
184
|
])
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./el-form-item
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
|
|
1
|
+
import { aR as y, s as C, t as h, ap as v } from "./index-Kn7Q3GUp.mjs";
|
|
2
|
+
import { E as x, a as O } from "./el-form-item--x5GHc7n.mjs";
|
|
3
|
+
import { defineComponent as A, ref as R, toRefs as B, reactive as f, openBlock as F, createBlock as I, unref as r, isRef as U, withCtx as a, createElementVNode as q, createVNode as t, createTextVNode as c } from "vue";
|
|
4
|
+
import { ElMessage as D } from "element-plus";
|
|
5
|
+
const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ A({
|
|
5
6
|
__name: "updatePwd",
|
|
6
7
|
props: {
|
|
7
8
|
pwdVisible: {
|
|
@@ -11,13 +12,13 @@ const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
|
|
|
11
12
|
},
|
|
12
13
|
emits: ["dialogActionChange"],
|
|
13
14
|
setup(P, { emit: _ }) {
|
|
14
|
-
const i =
|
|
15
|
-
let l =
|
|
15
|
+
const i = R(), V = P, { pwdVisible: w } = B(V), u = _;
|
|
16
|
+
let l = f({
|
|
16
17
|
encodeOldPwd: "",
|
|
17
18
|
encodeNewPwd: "",
|
|
18
19
|
confirmPwd: ""
|
|
19
20
|
});
|
|
20
|
-
const g =
|
|
21
|
+
const g = f({
|
|
21
22
|
encodeOldPwd: [
|
|
22
23
|
{ required: !0, validator: (d, e, o) => {
|
|
23
24
|
e === "" ? o(new Error("请输入旧密码")) : o();
|
|
@@ -38,7 +39,7 @@ const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
|
|
|
38
39
|
await ((d = i.value) == null ? void 0 : d.validate((e) => {
|
|
39
40
|
if (e)
|
|
40
41
|
y(l.encodeOldPwd, l.encodeNewPwd).then((o) => {
|
|
41
|
-
o.status === 200 && (
|
|
42
|
+
o.status === 200 && (D({
|
|
42
43
|
message: "密码修改成功",
|
|
43
44
|
type: "success"
|
|
44
45
|
}), u("dialogActionChange", !1));
|
|
@@ -52,8 +53,8 @@ const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
|
|
|
52
53
|
(d = i.value) == null || d.resetFields(), u("dialogActionChange", !1);
|
|
53
54
|
}
|
|
54
55
|
return (d, e) => {
|
|
55
|
-
const o =
|
|
56
|
-
return
|
|
56
|
+
const o = C, s = x, N = O, m = h, b = v;
|
|
57
|
+
return F(), I(b, {
|
|
57
58
|
title: "修改密码",
|
|
58
59
|
modelValue: r(w),
|
|
59
60
|
"onUpdate:modelValue": e[3] || (e[3] = (n) => U(w) ? w.value = n : null),
|
|
@@ -61,10 +62,10 @@ const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
|
|
|
61
62
|
onClose: p
|
|
62
63
|
}, {
|
|
63
64
|
footer: a(() => [
|
|
64
|
-
|
|
65
|
+
q("div", $, [
|
|
65
66
|
t(m, { onClick: p }, {
|
|
66
67
|
default: a(() => [
|
|
67
|
-
|
|
68
|
+
c("取消")
|
|
68
69
|
]),
|
|
69
70
|
_: 1
|
|
70
71
|
}),
|
|
@@ -73,7 +74,7 @@ const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
|
|
|
73
74
|
onClick: E
|
|
74
75
|
}, {
|
|
75
76
|
default: a(() => [
|
|
76
|
-
|
|
77
|
+
c("确认")
|
|
77
78
|
]),
|
|
78
79
|
_: 1
|
|
79
80
|
})
|
|
@@ -146,5 +147,5 @@ const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
|
|
|
146
147
|
}
|
|
147
148
|
});
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
+
k as _
|
|
150
151
|
};
|
package/dts/src/api/index.d.ts
CHANGED
|
@@ -3,3 +3,12 @@ import type { Entry } from "./types";
|
|
|
3
3
|
export declare function enumMapCache(module: string, className: string, type?: number): Promise<Entry[]>;
|
|
4
4
|
/** 枚举数据回显 **/
|
|
5
5
|
export declare function useEnum(data: Entry[], key: string): string;
|
|
6
|
+
export declare class EnumDict {
|
|
7
|
+
module: string;
|
|
8
|
+
enumClass: string;
|
|
9
|
+
type: number;
|
|
10
|
+
values: Entry[];
|
|
11
|
+
constructor(module: string, enumClass: string, type?: number);
|
|
12
|
+
useEnumValues(): void;
|
|
13
|
+
getEnumValue(key: string): string;
|
|
14
|
+
}
|
|
@@ -76,8 +76,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onUpdate:limit"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
layout: string;
|
|
80
79
|
hidden: boolean;
|
|
80
|
+
layout: string;
|
|
81
81
|
total: number;
|
|
82
82
|
page: number;
|
|
83
83
|
limit: number;
|
package/dts/src/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export type { VueMetaEnv, TableColumn, TableSort, AppSettings } from "./types";
|
|
2
2
|
export type { EntityApi, EnumEntryReq, Entry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq } from "./api/types";
|
|
3
|
-
import type { App } from
|
|
4
|
-
export { menus, vueMetaEnv, addViteMenus, addWebpackMenus, updateMetaEnv, updateSettings } from "
|
|
5
|
-
export { getQueryParams, clearEmpty } from
|
|
6
|
-
import request from "
|
|
3
|
+
import type { App } from "vue";
|
|
4
|
+
export { menus, vueMetaEnv, addViteMenus, addWebpackMenus, updateMetaEnv, updateSettings } from "./settings";
|
|
5
|
+
export { getQueryParams, clearEmpty } from "./utils/grpc";
|
|
6
|
+
import request from "./utils/request";
|
|
7
7
|
export { request };
|
|
8
|
-
export { useDictionary } from "
|
|
9
|
-
export { dictMap } from "
|
|
10
|
-
export { enumMapCache, useEnum } from "
|
|
11
|
-
export { useListData } from "
|
|
12
|
-
export { useColumnToggleTable } from "
|
|
13
|
-
export { useTableHooks, TableHooks } from "
|
|
14
|
-
export { store } from
|
|
15
|
-
export { useAppStore, useAppStoreHook } from
|
|
16
|
-
export { usePermissionStore, usePermissionStoreHook } from
|
|
17
|
-
export { useSettingsStore } from
|
|
18
|
-
export { useTagsViewStore } from
|
|
19
|
-
export { useUserStore, useUserStoreHook } from
|
|
20
|
-
export { resetRouter } from '
|
|
21
|
-
import router from '
|
|
8
|
+
export { useDictionary } from "./utils/common";
|
|
9
|
+
export { dictMap } from "./api/system/index";
|
|
10
|
+
export { EnumDict, enumMapCache, useEnum } from "./api/index";
|
|
11
|
+
export { useListData } from "./hooks/useList";
|
|
12
|
+
export { useColumnToggleTable } from "./hooks/useColumnToggleTable";
|
|
13
|
+
export { useTableHooks, TableHooks } from "./hooks/table";
|
|
14
|
+
export { store } from "./stores";
|
|
15
|
+
export { useAppStore, useAppStoreHook } from "./stores/modules/app";
|
|
16
|
+
export { usePermissionStore, usePermissionStoreHook } from "./stores/modules/permission";
|
|
17
|
+
export { useSettingsStore } from "./stores/modules/settings";
|
|
18
|
+
export { useTagsViewStore } from "./stores/modules/tagsView";
|
|
19
|
+
export { useUserStore, useUserStoreHook } from "./stores/modules/user";
|
|
20
|
+
export { resetRouter } from './router';
|
|
21
|
+
import router from './router';
|
|
22
22
|
export { router };
|
|
23
|
-
import directive from '
|
|
23
|
+
import directive from './directive';
|
|
24
24
|
export { directive };
|
|
25
25
|
export declare const Layout: () => Promise<typeof import("@/layout/index.vue")>;
|
|
26
26
|
export declare const LoginPage: () => Promise<typeof import("@/views/login/index.vue")>;
|
|
@@ -29,11 +29,11 @@ export declare const ProfilePage: () => Promise<typeof import("@/views/my/profil
|
|
|
29
29
|
export declare const Error401Page: () => Promise<typeof import("@/views/error-page/401.vue")>;
|
|
30
30
|
export declare const Error404Page: () => Promise<typeof import("@/views/error-page/404.vue")>;
|
|
31
31
|
export declare const DashboardPage: () => Promise<typeof import("@/views/dashboard/index.vue")>;
|
|
32
|
-
import i18n from '
|
|
32
|
+
import i18n from './lang/index';
|
|
33
33
|
export { i18n };
|
|
34
34
|
import 'virtual:svg-icons-register';
|
|
35
35
|
import 'element-plus/theme-chalk/dark/css-vars.css';
|
|
36
|
-
import '
|
|
36
|
+
import './styles/index.scss';
|
|
37
37
|
import 'uno.css';
|
|
38
38
|
declare const jmash: {
|
|
39
39
|
install(app: App): void;
|
package/dts/src/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import "virtual:svg-icons-register";
|
|
2
|
+
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
3
|
+
import "@/styles/index.scss";
|
|
4
|
+
import "uno.css";
|
|
5
|
+
import "@/permission";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmash-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -43,14 +43,12 @@
|
|
|
43
43
|
"vue-tsc": "^1.8.27"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@vueuse/core": "^10.9.0",
|
|
47
|
-
"axios": "^1.6.7",
|
|
48
|
-
"element-plus": "^2.6.0",
|
|
49
|
-
"pinia": "^2.1.7",
|
|
50
|
-
"qs": "^6.12.0",
|
|
51
46
|
"vue": "^3.4.21",
|
|
52
47
|
"vue-i18n": "^9.10.1",
|
|
53
|
-
"vue-router": "^4.3.0"
|
|
48
|
+
"vue-router": "^4.3.0",
|
|
49
|
+
"pinia": "^2.1.7",
|
|
50
|
+
"element-plus": "^2.6.0",
|
|
51
|
+
"axios": "^1.6.7"
|
|
54
52
|
},
|
|
55
53
|
"dependencies": {
|
|
56
54
|
"@element-plus/icons-vue": "^2.3.1",
|
|
@@ -61,7 +59,9 @@
|
|
|
61
59
|
"nprogress": "^0.2.0",
|
|
62
60
|
"path-browserify": "^1.0.1",
|
|
63
61
|
"path-to-regexp": "^6.2.1",
|
|
64
|
-
"sortablejs": "^1.15.2"
|
|
62
|
+
"sortablejs": "^1.15.2",
|
|
63
|
+
"@vueuse/core": "^10.9.0",
|
|
64
|
+
"qs": "^6.12.0"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"dev": "vite serve --mode development",
|
package/dist/edit-fZmbXgcD.mjs
DELETED
package/dist/edit-lNjt5eFq.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/index-BNaxDAmV.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as o, openBlock as r, createBlock as t } from "vue";
|
|
2
|
-
import { a6 as n } from "./index-liyu2-pP.mjs";
|
|
3
|
-
const c = {};
|
|
4
|
-
function _(s, a) {
|
|
5
|
-
const e = o("router-view");
|
|
6
|
-
return r(), t(e);
|
|
7
|
-
}
|
|
8
|
-
const m = /* @__PURE__ */ n(c, [["render", _]]);
|
|
9
|
-
export {
|
|
10
|
-
m as default
|
|
11
|
-
};
|