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.
Files changed (44) hide show
  1. package/dist/{401-BOgGx9Jd.mjs → 401-DwHfhZm2.mjs} +43 -44
  2. package/dist/{404-BYxlSqoT.mjs → 404-CeKwDY4M.mjs} +1 -1
  3. package/dist/{BarChart-C22Beea1.mjs → BarChart-BOhw_pWJ.mjs} +30 -31
  4. package/dist/{FunnelChart-CcCVox9E.mjs → FunnelChart-DPisFRDu.mjs} +1 -1
  5. package/dist/{PieChart-Dksdgtfs.mjs → PieChart-Ceza7eIr.mjs} +1 -1
  6. 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
  7. package/dist/{RadarChart-DquLnQ6V.mjs → RadarChart-Dvq6tgrV.mjs} +1 -1
  8. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-B9md22Se.mjs → RadarChart.vue_vue_type_script_setup_true_lang-DxP18bev.mjs} +13 -15
  9. package/dist/index-B2hxZbIl.mjs +367 -0
  10. package/dist/{index-BjqMDjBg.mjs → index-D5Fo3f2g.mjs} +7651 -7892
  11. package/dist/index-D6FGEmgO.mjs +20014 -0
  12. package/dist/index-DJbI5eJZ.mjs +1639 -0
  13. package/dist/index-DahMKAi2.mjs +267 -0
  14. package/dist/index.mjs +49 -48
  15. package/dist/picture-CBRsHLZl.mjs +22 -0
  16. package/dist/profile-DxHeZsWs.mjs +263 -0
  17. package/dist/{runAs-aDp4HoyI.mjs → runAs-DZDdNkz3.mjs} +1 -1
  18. package/dist/runAs.vue_vue_type_script_setup_true_lang-D6N1cGUB.mjs +2496 -0
  19. package/dist/style.css +1 -1
  20. package/dist/{types-kVtKPxE9.mjs → types-qe4hLo3U.mjs} +79 -80
  21. package/dist/{updatePwd-D54MmOmU.mjs → updatePwd-6rHSVF-g.mjs} +1 -1
  22. 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
  23. package/dts/src/components/DictSelect/index.vue.d.ts +1 -1
  24. package/dts/src/components/JmashPagination/index.vue.d.ts +1 -1
  25. package/dts/src/components/Pagination/index.vue.d.ts +5 -5
  26. package/dts/src/components/SvgIcon/index.vue.d.ts +1 -1
  27. package/dts/src/index.d.ts +1 -0
  28. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +1 -1
  29. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +1 -1
  30. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +1 -1
  31. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +1 -1
  32. package/package.json +2 -3
  33. package/dist/el-card-BW_8jVxk.mjs +0 -61
  34. package/dist/el-col-Dd32wlSH.mjs +0 -135
  35. package/dist/el-form-item-3aV6p-oZ.mjs +0 -1117
  36. package/dist/index-B07mUqAa.mjs +0 -269
  37. package/dist/index-B8sKaF6F.mjs +0 -55
  38. package/dist/index-CgRfmdyq.mjs +0 -33076
  39. package/dist/index-CmaHwUB-.mjs +0 -449
  40. package/dist/index-RUqoTfAx.mjs +0 -3462
  41. package/dist/picture-DVndT_xi.mjs +0 -587
  42. package/dist/position-RPjzcrqL.mjs +0 -23
  43. package/dist/profile-CNIhXiv-.mjs +0 -4924
  44. package/dist/runAs.vue_vue_type_script_setup_true_lang-CZdXga19.mjs +0 -645
@@ -1,50 +1,49 @@
1
- import { as as x, a2 as b, at as D, au as U, av as B, s as N, t as $, ar as R } from "./index-CgRfmdyq.mjs";
2
- import { _ as S, E as q } from "./picture-DVndT_xi.mjs";
3
- import { E as z, a as A } from "./el-form-item-3aV6p-oZ.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
- 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(J) {
8
- const _ = I(), c = m({
6
+ setup(T) {
7
+ const g = V(), i = p({
9
8
  title: "",
10
9
  visible: !1
11
- }), n = m({
10
+ }), n = p({
12
11
  content: "获取验证码",
13
12
  timers: 60,
14
13
  disabled: !1
15
- }), o = m({
14
+ }), o = p({
16
15
  name: "",
17
16
  captchaId: "",
18
17
  captchaCode: "",
19
18
  validCode: ""
20
- }), g = I(), v = m({
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 C() {
28
- x().then(({ data: l }) => {
29
- o.captchaId = l.captchaId, _.value = l.base64Image, c.visible = !0, o.captchaCode = "";
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 V() {
33
- C();
31
+ function w() {
32
+ h();
34
33
  }
35
- const E = async () => {
36
- var l;
37
- await ((l = g.value) == null ? void 0 : l.validate((t) => {
34
+ const y = async () => {
35
+ var a;
36
+ await ((a = v.value) == null ? void 0 : a.validate((t) => {
38
37
  if (t) {
39
- c.visible = !1;
40
- const i = {
41
- tenant: b().user.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
- D(i).then(({ data: d }) => {
47
- console.log(d);
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 w() {
56
- const l = {
57
- tenant: b().user.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: U.APP_CLIENT_ID,
60
+ clientId: S.APP_CLIENT_ID,
62
61
  scope: ""
63
62
  };
64
- B(l).then((t) => {
63
+ z(a).then((t) => {
65
64
  console.log(t);
66
65
  });
67
66
  }
68
- return (l, t) => {
69
- const i = N, d = z, r = $, h = A, y = S, k = q, F = R;
70
- return P(), T(j, null, [
71
- e(h, {
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: g,
72
+ ref: v,
74
73
  size: "large",
75
74
  model: o,
76
- rules: v
75
+ rules: C
77
76
  }, {
78
- default: a(() => [
79
- e(d, { prop: "name" }, {
80
- default: a(() => [
81
- e(i, {
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] = (s) => o.name = s),
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(d, { prop: "validCode" }, {
91
- default: a(() => [
92
- e(i, {
89
+ e(s, { prop: "validCode" }, {
90
+ default: l(() => [
91
+ e(m, {
93
92
  modelValue: o.validCode,
94
- "onUpdate:modelValue": t[1] || (t[1] = (s) => o.validCode = s),
93
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => o.validCode = d),
95
94
  placeholder: "请输入验证码",
96
95
  clearable: ""
97
96
  }, {
98
- append: a(() => [
97
+ append: l(() => [
99
98
  e(r, {
100
99
  disabled: n.disabled,
101
- onClick: V
100
+ onClick: w
102
101
  }, {
103
- default: a(() => [
104
- p(u(n.content), 1)
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(d, null, {
115
- default: a(() => [
113
+ e(s, null, {
114
+ default: l(() => [
116
115
  e(r, {
117
116
  type: "primary",
118
117
  class: "w-full",
119
- onClick: w
118
+ onClick: k
120
119
  }, {
121
- default: a(() => [
122
- p(" 登录 ")
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(F, {
131
+ e(U, {
133
132
  title: "提示",
134
- modelValue: c.visible,
135
- "onUpdate:modelValue": t[4] || (t[4] = (s) => c.visible = s),
133
+ modelValue: i.visible,
134
+ "onUpdate:modelValue": t[4] || (t[4] = (d) => i.visible = d),
136
135
  width: "500px"
137
136
  }, {
138
- footer: a(() => [
139
- f("div", H, [
137
+ footer: l(() => [
138
+ _("div", P, [
140
139
  e(r, {
141
- onClick: t[3] || (t[3] = (s) => c.visible = !1)
140
+ onClick: t[3] || (t[3] = (d) => i.visible = !1)
142
141
  }, {
143
- default: a(() => [
144
- p(u(l.$t("common.cancel")), 1)
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: E
149
+ onClick: y
151
150
  }, {
152
- default: a(() => [
153
- p(u(l.$t("common.confirm")), 1)
151
+ default: l(() => [
152
+ u(f(a.$t("common.confirm")), 1)
154
153
  ]),
155
154
  _: 1
156
155
  })
157
156
  ])
158
157
  ]),
159
- default: a(() => [
160
- e(h, {
158
+ default: l(() => [
159
+ e(b, {
161
160
  ref: "pwdFormRef",
162
161
  size: "large",
163
162
  model: o,
164
- rules: v
163
+ rules: C
165
164
  }, {
166
- default: a(() => [
167
- e(d, { prop: "captchaCode" }, {
168
- default: a(() => [
169
- e(i, {
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] = (s) => o.captchaCode = s),
170
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => o.captchaCode = d),
172
171
  "auto-complete": "off",
173
- placeholder: l.$t("login.captchaCode"),
172
+ placeholder: a.$t("login.captchaCode"),
174
173
  class: "w-[60%]"
175
174
  }, null, 8, ["modelValue", "placeholder"]),
176
- f("div", L, [
177
- e(k, {
178
- src: _.value,
179
- onClick: C,
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: a(() => [
183
- f("div", G, [
184
- e(y)
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
- X as default
203
+ H as default
205
204
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-DA30m6c3.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-BnWzu-me.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,7 @@
1
- import { ay as f, bu as C, s as h, t as v, ar as O } from "./index-CgRfmdyq.mjs";
2
- import { E as x, a as A } from "./el-form-item-3aV6p-oZ.mjs";
3
- import { defineComponent as B, ref as F, toRefs as I, reactive as P, openBlock as R, createBlock as U, unref as r, isRef as q, withCtx as n, createElementVNode as D, createVNode as t, createTextVNode as _ } from "vue";
4
- import { ElMessage as $ } from "element-plus";
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(V, { emit: g }) {
15
- const i = F(), E = V, { pwdVisible: w } = I(E), p = g;
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 y = P({
22
- encodeOldPwd: [
23
- { required: !0, validator: (d, e, o) => {
24
- e === "" ? o(new Error("请输入旧密码")) : o();
25
- }, trigger: "blur" }
26
- ],
27
- encodeNewPwd: [
28
- { required: !0, validator: (d, e, o) => {
29
- e === "" ? o(new Error("请输入新密码")) : /^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%?^&*,\._\+(){}])[0-9a-zA-Z!@#$%?^&*,\\._\+(){}]{8,20}$/.test(e) ? o() : o(new Error("请输入8-20位包含数字,大小写字母,特殊符号的密码"));
30
- }, trigger: "blur" }
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 = i.value) == null ? void 0 : d.validate((e) => {
32
+ await ((d = w.value) == null ? void 0 : d.validate((e) => {
40
33
  if (e) {
41
- let o = f(l.encodeOldPwd), s = f(l.encodeNewPwd);
42
- C(o, s).then((u) => {
43
- u.status === 200 && ($({
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
- }), p("dialogActionChange", !1));
39
+ }), m("dialogActionChange", !1));
47
40
  });
48
41
  } else
49
- return !1;
42
+ return Promise.reject();
50
43
  }));
51
44
  };
52
- function m() {
45
+ function c() {
53
46
  var d;
54
- (d = i.value) == null || d.resetFields(), p("dialogActionChange", !1);
47
+ (d = w.value) == null || d.resetFields(), m("dialogActionChange", !1);
55
48
  }
56
49
  return (d, e) => {
57
- const o = h, s = x, u = A, c = v, b = O;
58
- return R(), U(b, {
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(w),
61
- "onUpdate:modelValue": e[3] || (e[3] = (a) => q(w) ? w.value = a : null),
53
+ modelValue: r(u),
54
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => R(u) ? u.value = a : null),
62
55
  width: "500px",
63
- onClose: m
56
+ onClose: c
64
57
  }, {
65
58
  footer: n(() => [
66
- D("div", z, [
67
- t(c, { onClick: m }, {
59
+ U("div", D, [
60
+ t(f, { onClick: c }, {
68
61
  default: n(() => [
69
62
  _("取消")
70
63
  ]),
71
64
  _: 1
72
65
  }),
73
- t(c, {
66
+ t(f, {
74
67
  type: "primary",
75
- onClick: N
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(u, {
78
+ t(p, {
86
79
  ref_key: "pwdRef",
87
- ref: i,
80
+ ref: w,
88
81
  model: r(l),
89
82
  "label-width": "80px",
90
- rules: y
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
- G as _
144
+ Z as _
152
145
  };
@@ -41,8 +41,8 @@ declare const _default: import("vue").DefineComponent<{
41
41
  default: boolean;
42
42
  };
43
43
  }>>, {
44
- clearable: boolean;
45
44
  placeholder: string;
45
+ clearable: boolean;
46
46
  currentInterface: string;
47
47
  dictValue: string;
48
48
  dictType: string;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
26
26
  }>> & {
27
27
  onPagination?: ((...args: any[]) => any) | undefined;
28
28
  }, {
29
- pageSizes: number[];
30
29
  layout: string;
30
+ pageSizes: number[];
31
31
  }, {}>;
32
32
  export default _default;
@@ -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
- background: boolean;
84
- limit: number;
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;
@@ -36,8 +36,8 @@ declare const _default: import("vue").DefineComponent<{
36
36
  };
37
37
  }>>, {
38
38
  size: string;
39
- color: string;
40
39
  prefix: string;
41
40
  iconClass: string;
41
+ color: string;
42
42
  }, {}>;
43
43
  export default _default;
@@ -31,6 +31,7 @@ export { i18n };
31
31
  import "element-plus/theme-chalk/dark/css-vars.css";
32
32
  import "./styles/index.scss";
33
33
  import "uno.css";
34
+ import "element-plus/theme-chalk/index.css";
34
35
  declare const jmash: {
35
36
  install(app: App): Promise<void>;
36
37
  };
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  }>>, {
40
40
  id: string;
41
41
  width: string;
42
- className: string;
43
42
  height: string;
43
+ className: string;
44
44
  }, {}>;
45
45
  export default _default;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  }>>, {
40
40
  id: string;
41
41
  width: string;
42
- className: string;
43
42
  height: string;
43
+ className: string;
44
44
  }, {}>;
45
45
  export default _default;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  }>>, {
40
40
  id: string;
41
41
  width: string;
42
- className: string;
43
42
  height: string;
43
+ className: string;
44
44
  }, {}>;
45
45
  export default _default;
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  }>>, {
40
40
  id: string;
41
41
  width: string;
42
- className: string;
43
42
  height: string;
43
+ className: string;
44
44
  }, {}>;
45
45
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core",
3
- "version": "0.0.84",
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.6.0",
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
- };