jmash-core 0.0.84 → 0.0.86
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-BOgGx9Jd.mjs → 401-DwHfhZm2.mjs} +43 -44
- package/dist/{404-BYxlSqoT.mjs → 404-CeKwDY4M.mjs} +1 -1
- package/dist/{BarChart-C22Beea1.mjs → BarChart-BOhw_pWJ.mjs} +30 -31
- package/dist/{FunnelChart-CcCVox9E.mjs → FunnelChart-DPisFRDu.mjs} +1 -1
- package/dist/{PieChart-Dksdgtfs.mjs → PieChart-Ceza7eIr.mjs} +1 -1
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BAW7aMk4.mjs → PieChart.vue_vue_type_script_setup_true_lang-CjKWzA-2.mjs} +12 -14
- package/dist/{RadarChart-DquLnQ6V.mjs → RadarChart-Dvq6tgrV.mjs} +1 -1
- package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-B9md22Se.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DxP18bev.mjs} +13 -15
- package/dist/index-B2hxZbIl.mjs +367 -0
- package/dist/{index-BjqMDjBg.mjs → index-D5Fo3f2g.mjs} +7651 -7892
- package/dist/index-D6FGEmgO.mjs +20014 -0
- package/dist/index-DJbI5eJZ.mjs +1639 -0
- package/dist/index-DahMKAi2.mjs +267 -0
- package/dist/index.mjs +49 -48
- package/dist/picture-CBRsHLZl.mjs +22 -0
- package/dist/profile-DxHeZsWs.mjs +263 -0
- package/dist/{runAs-aDp4HoyI.mjs → runAs-DZDdNkz3.mjs} +1 -1
- package/dist/runAs.vue_vue_type_script_setup_true_lang-D6N1cGUB.mjs +2496 -0
- package/dist/style.css +1 -1
- package/dist/{types-kVtKPxE9.mjs → types-qe4hLo3U.mjs} +79 -80
- package/dist/{updatePwd-D54MmOmU.mjs → updatePwd-6rHSVF-g.mjs} +1 -1
- package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DA30m6c3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BnWzu-me.mjs} +38 -45
- package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
- package/dts/src/components/JmashPagination/index.vue.d.ts +1 -1
- package/dts/src/components/Pagination/index.vue.d.ts +5 -5
- package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
- package/dts/src/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/package.json +2 -3
- package/dist/el-card-BW_8jVxk.mjs +0 -61
- package/dist/el-col-Dd32wlSH.mjs +0 -135
- package/dist/el-form-item-3aV6p-oZ.mjs +0 -1117
- package/dist/index-B07mUqAa.mjs +0 -269
- package/dist/index-B8sKaF6F.mjs +0 -55
- package/dist/index-CgRfmdyq.mjs +0 -33076
- package/dist/index-CmaHwUB-.mjs +0 -449
- package/dist/index-RUqoTfAx.mjs +0 -3462
- package/dist/picture-DVndT_xi.mjs +0 -587
- package/dist/position-RPjzcrqL.mjs +0 -23
- package/dist/profile-CNIhXiv-.mjs +0 -4924
- package/dist/runAs.vue_vue_type_script_setup_true_lang-CZdXga19.mjs +0 -645
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, X = /* @__PURE__ */ M({
|
|
1
|
+
import { _ as D } from "./picture-CBRsHLZl.mjs";
|
|
2
|
+
import { defineComponent as E, ref as V, reactive as p, resolveComponent as c, openBlock as N, createElementBlock as $, Fragment as q, createVNode as e, withCtx as l, createTextVNode as u, toDisplayString as f, createElementVNode as _ } from "vue";
|
|
3
|
+
import { p as B, b as I, q as R, v as S, t as z } from "./index-D6FGEmgO.mjs";
|
|
4
|
+
const A = { class: "h-[40px]" }, M = { class: "image-slot" }, P = { class: "dialog-footer" }, H = /* @__PURE__ */ E({
|
|
6
5
|
__name: "types",
|
|
7
|
-
setup(
|
|
8
|
-
const
|
|
6
|
+
setup(T) {
|
|
7
|
+
const g = V(), i = p({
|
|
9
8
|
title: "",
|
|
10
9
|
visible: !1
|
|
11
|
-
}), n =
|
|
10
|
+
}), n = p({
|
|
12
11
|
content: "获取验证码",
|
|
13
12
|
timers: 60,
|
|
14
13
|
disabled: !1
|
|
15
|
-
}), o =
|
|
14
|
+
}), o = p({
|
|
16
15
|
name: "",
|
|
17
16
|
captchaId: "",
|
|
18
17
|
captchaCode: "",
|
|
19
18
|
validCode: ""
|
|
20
|
-
}),
|
|
19
|
+
}), v = V(), C = p({
|
|
21
20
|
captchaCode: [{ required: !0, message: "请输入验证码", trigger: "blur" }],
|
|
22
21
|
name: [{ required: !0, message: "请输入邮箱或手机号", trigger: "blur" }]
|
|
23
22
|
// validCode: [
|
|
24
23
|
// { required: true, message: "请输入6位数字的验证码", trigger: "blur" },
|
|
25
24
|
// ],
|
|
26
25
|
});
|
|
27
|
-
function
|
|
28
|
-
|
|
29
|
-
o.captchaId =
|
|
26
|
+
function h() {
|
|
27
|
+
B().then(({ data: a }) => {
|
|
28
|
+
o.captchaId = a.captchaId, g.value = a.base64Image, i.visible = !0, o.captchaCode = "";
|
|
30
29
|
});
|
|
31
30
|
}
|
|
32
|
-
function
|
|
33
|
-
|
|
31
|
+
function w() {
|
|
32
|
+
h();
|
|
34
33
|
}
|
|
35
|
-
const
|
|
36
|
-
var
|
|
37
|
-
await ((
|
|
34
|
+
const y = async () => {
|
|
35
|
+
var a;
|
|
36
|
+
await ((a = v.value) == null ? void 0 : a.validate((t) => {
|
|
38
37
|
if (t) {
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
tenant:
|
|
38
|
+
i.visible = !1;
|
|
39
|
+
const m = {
|
|
40
|
+
tenant: I().user.tenant,
|
|
42
41
|
name: o.name,
|
|
43
42
|
captchaId: o.captchaId,
|
|
44
43
|
captchaCode: o.captchaCode
|
|
45
44
|
};
|
|
46
|
-
|
|
47
|
-
console.log(
|
|
45
|
+
R(m).then(({ data: s }) => {
|
|
46
|
+
console.log(s);
|
|
48
47
|
const r = window.setInterval(() => {
|
|
49
48
|
n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(r));
|
|
50
49
|
}, 1e3);
|
|
@@ -52,56 +51,56 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
52
51
|
}
|
|
53
52
|
}));
|
|
54
53
|
};
|
|
55
|
-
function
|
|
56
|
-
const
|
|
57
|
-
tenant:
|
|
54
|
+
function k() {
|
|
55
|
+
const a = {
|
|
56
|
+
tenant: I().user.tenant,
|
|
58
57
|
directoryId: "jmash",
|
|
59
58
|
name: o.name,
|
|
60
59
|
validCode: o.validCode,
|
|
61
|
-
clientId:
|
|
60
|
+
clientId: S.APP_CLIENT_ID,
|
|
62
61
|
scope: ""
|
|
63
62
|
};
|
|
64
|
-
|
|
63
|
+
z(a).then((t) => {
|
|
65
64
|
console.log(t);
|
|
66
65
|
});
|
|
67
66
|
}
|
|
68
|
-
return (
|
|
69
|
-
const
|
|
70
|
-
return
|
|
71
|
-
e(
|
|
67
|
+
return (a, t) => {
|
|
68
|
+
const m = c("el-input"), s = c("el-form-item"), r = c("el-button"), b = c("el-form"), x = D, F = c("el-image"), U = c("el-dialog");
|
|
69
|
+
return N(), $(q, null, [
|
|
70
|
+
e(b, {
|
|
72
71
|
ref_key: "ruleFormRef",
|
|
73
|
-
ref:
|
|
72
|
+
ref: v,
|
|
74
73
|
size: "large",
|
|
75
74
|
model: o,
|
|
76
|
-
rules:
|
|
75
|
+
rules: C
|
|
77
76
|
}, {
|
|
78
|
-
default:
|
|
79
|
-
e(
|
|
80
|
-
default:
|
|
81
|
-
e(
|
|
77
|
+
default: l(() => [
|
|
78
|
+
e(s, { prop: "name" }, {
|
|
79
|
+
default: l(() => [
|
|
80
|
+
e(m, {
|
|
82
81
|
modelValue: o.name,
|
|
83
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
82
|
+
"onUpdate:modelValue": t[0] || (t[0] = (d) => o.name = d),
|
|
84
83
|
clearable: "",
|
|
85
84
|
placeholder: "请输入邮箱/已验证手机号"
|
|
86
85
|
}, null, 8, ["modelValue"])
|
|
87
86
|
]),
|
|
88
87
|
_: 1
|
|
89
88
|
}),
|
|
90
|
-
e(
|
|
91
|
-
default:
|
|
92
|
-
e(
|
|
89
|
+
e(s, { prop: "validCode" }, {
|
|
90
|
+
default: l(() => [
|
|
91
|
+
e(m, {
|
|
93
92
|
modelValue: o.validCode,
|
|
94
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
93
|
+
"onUpdate:modelValue": t[1] || (t[1] = (d) => o.validCode = d),
|
|
95
94
|
placeholder: "请输入验证码",
|
|
96
95
|
clearable: ""
|
|
97
96
|
}, {
|
|
98
|
-
append:
|
|
97
|
+
append: l(() => [
|
|
99
98
|
e(r, {
|
|
100
99
|
disabled: n.disabled,
|
|
101
|
-
onClick:
|
|
100
|
+
onClick: w
|
|
102
101
|
}, {
|
|
103
|
-
default:
|
|
104
|
-
|
|
102
|
+
default: l(() => [
|
|
103
|
+
u(f(n.content), 1)
|
|
105
104
|
]),
|
|
106
105
|
_: 1
|
|
107
106
|
}, 8, ["disabled"])
|
|
@@ -111,15 +110,15 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
111
110
|
]),
|
|
112
111
|
_: 1
|
|
113
112
|
}),
|
|
114
|
-
e(
|
|
115
|
-
default:
|
|
113
|
+
e(s, null, {
|
|
114
|
+
default: l(() => [
|
|
116
115
|
e(r, {
|
|
117
116
|
type: "primary",
|
|
118
117
|
class: "w-full",
|
|
119
|
-
onClick:
|
|
118
|
+
onClick: k
|
|
120
119
|
}, {
|
|
121
|
-
default:
|
|
122
|
-
|
|
120
|
+
default: l(() => [
|
|
121
|
+
u(" 登录 ")
|
|
123
122
|
]),
|
|
124
123
|
_: 1
|
|
125
124
|
})
|
|
@@ -129,59 +128,59 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
129
128
|
]),
|
|
130
129
|
_: 1
|
|
131
130
|
}, 8, ["model", "rules"]),
|
|
132
|
-
e(
|
|
131
|
+
e(U, {
|
|
133
132
|
title: "提示",
|
|
134
|
-
modelValue:
|
|
135
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
133
|
+
modelValue: i.visible,
|
|
134
|
+
"onUpdate:modelValue": t[4] || (t[4] = (d) => i.visible = d),
|
|
136
135
|
width: "500px"
|
|
137
136
|
}, {
|
|
138
|
-
footer:
|
|
139
|
-
|
|
137
|
+
footer: l(() => [
|
|
138
|
+
_("div", P, [
|
|
140
139
|
e(r, {
|
|
141
|
-
onClick: t[3] || (t[3] = (
|
|
140
|
+
onClick: t[3] || (t[3] = (d) => i.visible = !1)
|
|
142
141
|
}, {
|
|
143
|
-
default:
|
|
144
|
-
|
|
142
|
+
default: l(() => [
|
|
143
|
+
u(f(a.$t("common.cancel")), 1)
|
|
145
144
|
]),
|
|
146
145
|
_: 1
|
|
147
146
|
}),
|
|
148
147
|
e(r, {
|
|
149
148
|
type: "primary",
|
|
150
|
-
onClick:
|
|
149
|
+
onClick: y
|
|
151
150
|
}, {
|
|
152
|
-
default:
|
|
153
|
-
|
|
151
|
+
default: l(() => [
|
|
152
|
+
u(f(a.$t("common.confirm")), 1)
|
|
154
153
|
]),
|
|
155
154
|
_: 1
|
|
156
155
|
})
|
|
157
156
|
])
|
|
158
157
|
]),
|
|
159
|
-
default:
|
|
160
|
-
e(
|
|
158
|
+
default: l(() => [
|
|
159
|
+
e(b, {
|
|
161
160
|
ref: "pwdFormRef",
|
|
162
161
|
size: "large",
|
|
163
162
|
model: o,
|
|
164
|
-
rules:
|
|
163
|
+
rules: C
|
|
165
164
|
}, {
|
|
166
|
-
default:
|
|
167
|
-
e(
|
|
168
|
-
default:
|
|
169
|
-
e(
|
|
165
|
+
default: l(() => [
|
|
166
|
+
e(s, { prop: "captchaCode" }, {
|
|
167
|
+
default: l(() => [
|
|
168
|
+
e(m, {
|
|
170
169
|
modelValue: o.captchaCode,
|
|
171
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
170
|
+
"onUpdate:modelValue": t[2] || (t[2] = (d) => o.captchaCode = d),
|
|
172
171
|
"auto-complete": "off",
|
|
173
|
-
placeholder:
|
|
172
|
+
placeholder: a.$t("login.captchaCode"),
|
|
174
173
|
class: "w-[60%]"
|
|
175
174
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
176
|
-
|
|
177
|
-
e(
|
|
178
|
-
src:
|
|
179
|
-
onClick:
|
|
175
|
+
_("div", A, [
|
|
176
|
+
e(F, {
|
|
177
|
+
src: g.value,
|
|
178
|
+
onClick: h,
|
|
180
179
|
class: "w-[130px] h-[40px] cursor-pointer"
|
|
181
180
|
}, {
|
|
182
|
-
error:
|
|
183
|
-
|
|
184
|
-
e(
|
|
181
|
+
error: l(() => [
|
|
182
|
+
_("div", M, [
|
|
183
|
+
e(x)
|
|
185
184
|
])
|
|
186
185
|
]),
|
|
187
186
|
_: 1
|
|
@@ -201,5 +200,5 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
|
|
|
201
200
|
}
|
|
202
201
|
});
|
|
203
202
|
export {
|
|
204
|
-
|
|
203
|
+
H as default
|
|
205
204
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const z = { class: "dialog-footer" }, G = /* @__PURE__ */ B({
|
|
1
|
+
import { defineComponent as E, ref as h, toRefs as O, reactive as P, resolveComponent as i, openBlock as x, createBlock as A, unref as r, isRef as R, withCtx as n, createElementVNode as U, createVNode as t, createTextVNode as _ } from "vue";
|
|
2
|
+
import { ElMessage as q } from "element-plus";
|
|
3
|
+
import { y as V, aD as B } from "./index-D6FGEmgO.mjs";
|
|
4
|
+
const D = { class: "dialog-footer" }, Z = /* @__PURE__ */ E({
|
|
6
5
|
__name: "updatePwd",
|
|
7
6
|
props: {
|
|
8
7
|
pwdVisible: {
|
|
@@ -11,68 +10,62 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ B({
|
|
|
11
10
|
}
|
|
12
11
|
},
|
|
13
12
|
emits: ["dialogActionChange"],
|
|
14
|
-
setup(
|
|
15
|
-
const
|
|
13
|
+
setup(g, { emit: y }) {
|
|
14
|
+
const w = h(), N = g, { pwdVisible: u } = O(N), m = y;
|
|
16
15
|
let l = P({
|
|
17
16
|
encodeOldPwd: "",
|
|
18
17
|
encodeNewPwd: "",
|
|
19
18
|
confirmPwd: ""
|
|
20
19
|
});
|
|
21
|
-
const
|
|
22
|
-
encodeOldPwd: [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
confirmPwd: [
|
|
33
|
-
{ required: !0, validator: (d, e, o) => {
|
|
34
|
-
e === "" ? o(new Error("请再一次输入新密码")) : e !== l.encodeNewPwd ? o(new Error("两次密码不一致")) : o();
|
|
35
|
-
}, trigger: "blur" }
|
|
36
|
-
]
|
|
37
|
-
}), N = async () => {
|
|
20
|
+
const b = P({
|
|
21
|
+
encodeOldPwd: [{ required: !0, validator: (d, e, o) => {
|
|
22
|
+
e === "" ? o(new Error("请输入旧密码")) : o();
|
|
23
|
+
}, trigger: "blur" }],
|
|
24
|
+
encodeNewPwd: [{ required: !0, validator: (d, e, o) => {
|
|
25
|
+
e === "" ? o(new Error("请输入新密码")) : /^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%?^&*,\._\+(){}])[0-9a-zA-Z!@#$%?^&*,\\._\+(){}]{8,20}$/.test(e) ? o() : o(new Error("请输入8-20位包含数字,大小写字母,特殊符号的密码"));
|
|
26
|
+
}, trigger: "blur" }],
|
|
27
|
+
confirmPwd: [{ required: !0, validator: (d, e, o) => {
|
|
28
|
+
e === "" ? o(new Error("请再一次输入新密码")) : e !== l.encodeNewPwd ? o(new Error("两次密码不一致")) : o();
|
|
29
|
+
}, trigger: "blur" }]
|
|
30
|
+
}), C = async () => {
|
|
38
31
|
var d;
|
|
39
|
-
await ((d =
|
|
32
|
+
await ((d = w.value) == null ? void 0 : d.validate((e) => {
|
|
40
33
|
if (e) {
|
|
41
|
-
let o =
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
let o = V(l.encodeOldPwd), s = V(l.encodeNewPwd);
|
|
35
|
+
B(o, s).then((p) => {
|
|
36
|
+
p.status === 200 && (q({
|
|
44
37
|
message: "密码修改成功",
|
|
45
38
|
type: "success"
|
|
46
|
-
}),
|
|
39
|
+
}), m("dialogActionChange", !1));
|
|
47
40
|
});
|
|
48
41
|
} else
|
|
49
|
-
return
|
|
42
|
+
return Promise.reject();
|
|
50
43
|
}));
|
|
51
44
|
};
|
|
52
|
-
function
|
|
45
|
+
function c() {
|
|
53
46
|
var d;
|
|
54
|
-
(d =
|
|
47
|
+
(d = w.value) == null || d.resetFields(), m("dialogActionChange", !1);
|
|
55
48
|
}
|
|
56
49
|
return (d, e) => {
|
|
57
|
-
const o =
|
|
58
|
-
return
|
|
50
|
+
const o = i("el-input"), s = i("el-form-item"), p = i("el-form"), f = i("el-button"), v = i("el-dialog");
|
|
51
|
+
return x(), A(v, {
|
|
59
52
|
title: "修改密码",
|
|
60
|
-
modelValue: r(
|
|
61
|
-
"onUpdate:modelValue": e[3] || (e[3] = (a) =>
|
|
53
|
+
modelValue: r(u),
|
|
54
|
+
"onUpdate:modelValue": e[3] || (e[3] = (a) => R(u) ? u.value = a : null),
|
|
62
55
|
width: "500px",
|
|
63
|
-
onClose:
|
|
56
|
+
onClose: c
|
|
64
57
|
}, {
|
|
65
58
|
footer: n(() => [
|
|
66
|
-
|
|
67
|
-
t(
|
|
59
|
+
U("div", D, [
|
|
60
|
+
t(f, { onClick: c }, {
|
|
68
61
|
default: n(() => [
|
|
69
62
|
_("取消")
|
|
70
63
|
]),
|
|
71
64
|
_: 1
|
|
72
65
|
}),
|
|
73
|
-
t(
|
|
66
|
+
t(f, {
|
|
74
67
|
type: "primary",
|
|
75
|
-
onClick:
|
|
68
|
+
onClick: C
|
|
76
69
|
}, {
|
|
77
70
|
default: n(() => [
|
|
78
71
|
_("确认")
|
|
@@ -82,12 +75,12 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ B({
|
|
|
82
75
|
])
|
|
83
76
|
]),
|
|
84
77
|
default: n(() => [
|
|
85
|
-
t(
|
|
78
|
+
t(p, {
|
|
86
79
|
ref_key: "pwdRef",
|
|
87
|
-
ref:
|
|
80
|
+
ref: w,
|
|
88
81
|
model: r(l),
|
|
89
82
|
"label-width": "80px",
|
|
90
|
-
rules:
|
|
83
|
+
rules: b
|
|
91
84
|
}, {
|
|
92
85
|
default: n(() => [
|
|
93
86
|
t(s, {
|
|
@@ -148,5 +141,5 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ B({
|
|
|
148
141
|
}
|
|
149
142
|
});
|
|
150
143
|
export {
|
|
151
|
-
|
|
144
|
+
Z as _
|
|
152
145
|
};
|
|
@@ -76,13 +76,13 @@ 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
|
-
total: number;
|
|
80
|
-
pageSizes: number[];
|
|
81
|
-
layout: string;
|
|
82
79
|
hidden: boolean;
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
layout: string;
|
|
81
|
+
pageSizes: number[];
|
|
82
|
+
total: number;
|
|
85
83
|
page: number;
|
|
84
|
+
limit: number;
|
|
85
|
+
background: boolean;
|
|
86
86
|
autoScroll: boolean;
|
|
87
87
|
}, {}>;
|
|
88
88
|
export default _default;
|
package/dts/src/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmash-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.86",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/src/index.d.ts",
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"camelcase": "^8.0.0",
|
|
24
24
|
"chalk": "^5.3.0",
|
|
25
25
|
"consola": "^3.2.3",
|
|
26
|
-
"element-plus": "^2.6.0",
|
|
27
26
|
"eslint": "^8.49.0",
|
|
28
27
|
"eslint-plugin-vue": "^9.17.0",
|
|
29
28
|
"fast-glob": "^3.3.2",
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
},
|
|
50
49
|
"peerDependencies": {
|
|
51
50
|
"axios": "^1.6.7",
|
|
52
|
-
"element-plus": "^2.
|
|
51
|
+
"element-plus": "^2.7.5",
|
|
53
52
|
"pinia": "^2.1.7",
|
|
54
53
|
"vue": "^3.4.21",
|
|
55
54
|
"vue-i18n": "^9.10.1",
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, openBlock as a, createElementBlock as t, normalizeClass as s, unref as r, renderSlot as l, createTextVNode as d, toDisplayString as n, createCommentVNode as i, createElementVNode as p, normalizeStyle as y } from "vue";
|
|
2
|
-
import { b as u, d as m, u as c, _ as h, w as v } from "./index-CgRfmdyq.mjs";
|
|
3
|
-
const S = u({
|
|
4
|
-
header: {
|
|
5
|
-
type: String,
|
|
6
|
-
default: ""
|
|
7
|
-
},
|
|
8
|
-
footer: {
|
|
9
|
-
type: String,
|
|
10
|
-
default: ""
|
|
11
|
-
},
|
|
12
|
-
bodyStyle: {
|
|
13
|
-
type: m([String, Object, Array]),
|
|
14
|
-
default: ""
|
|
15
|
-
},
|
|
16
|
-
bodyClass: String,
|
|
17
|
-
shadow: {
|
|
18
|
-
type: String,
|
|
19
|
-
values: ["always", "hover", "never"],
|
|
20
|
-
default: "always"
|
|
21
|
-
}
|
|
22
|
-
}), b = f({
|
|
23
|
-
name: "ElCard"
|
|
24
|
-
}), C = /* @__PURE__ */ f({
|
|
25
|
-
...b,
|
|
26
|
-
props: S,
|
|
27
|
-
setup(g) {
|
|
28
|
-
const o = c("card");
|
|
29
|
-
return (e, $) => (a(), t("div", {
|
|
30
|
-
class: s([r(o).b(), r(o).is(`${e.shadow}-shadow`)])
|
|
31
|
-
}, [
|
|
32
|
-
e.$slots.header || e.header ? (a(), t("div", {
|
|
33
|
-
key: 0,
|
|
34
|
-
class: s(r(o).e("header"))
|
|
35
|
-
}, [
|
|
36
|
-
l(e.$slots, "header", {}, () => [
|
|
37
|
-
d(n(e.header), 1)
|
|
38
|
-
])
|
|
39
|
-
], 2)) : i("v-if", !0),
|
|
40
|
-
p("div", {
|
|
41
|
-
class: s([r(o).e("body"), e.bodyClass]),
|
|
42
|
-
style: y(e.bodyStyle)
|
|
43
|
-
}, [
|
|
44
|
-
l(e.$slots, "default")
|
|
45
|
-
], 6),
|
|
46
|
-
e.$slots.footer || e.footer ? (a(), t("div", {
|
|
47
|
-
key: 1,
|
|
48
|
-
class: s(r(o).e("footer"))
|
|
49
|
-
}, [
|
|
50
|
-
l(e.$slots, "footer", {}, () => [
|
|
51
|
-
d(n(e.footer), 1)
|
|
52
|
-
])
|
|
53
|
-
], 2)) : i("v-if", !0)
|
|
54
|
-
], 2));
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
var w = /* @__PURE__ */ h(C, [["__file", "card.vue"]]);
|
|
58
|
-
const N = v(w);
|
|
59
|
-
export {
|
|
60
|
-
N as E
|
|
61
|
-
};
|