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,449 +0,0 @@
1
- import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-B9md22Se.mjs";
2
- import { _ as J } from "./PieChart.vue_vue_type_script_setup_true_lang-BAW7aMk4.mjs";
3
- import K from "./BarChart-C22Beea1.mjs";
4
- import { b as Q, d as D, u as W, am as X, an as tt, _ as et, w as st, a9 as F, a6 as ot, a2 as at, ao as M, ap as I, Y as nt, aq as it } from "./index-CgRfmdyq.mjs";
5
- import { E as lt } from "./el-card-BW_8jVxk.mjs";
6
- import { E as rt, a as ct } from "./el-col-Dd32wlSH.mjs";
7
- import { defineComponent as B, computed as V, 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 dt, pushScopeId as U, popScopeId as R, ref as O, createVNode as e, withCtx as s } from "vue";
8
- const ut = Q({
9
- decimalSeparator: {
10
- type: String,
11
- default: "."
12
- },
13
- groupSeparator: {
14
- type: String,
15
- default: ","
16
- },
17
- precision: {
18
- type: Number,
19
- default: 0
20
- },
21
- formatter: Function,
22
- value: {
23
- type: D([Number, Object]),
24
- default: 0
25
- },
26
- prefix: String,
27
- suffix: String,
28
- title: String,
29
- valueStyle: {
30
- type: D([String, Object, Array])
31
- }
32
- }), _t = B({
33
- name: "ElStatistic"
34
- }), pt = /* @__PURE__ */ B({
35
- ..._t,
36
- props: ut,
37
- setup(l, { expose: b }) {
38
- const C = l, d = W("statistic"), w = V(() => {
39
- const { value: o, formatter: m, precision: h, decimalSeparator: S, groupSeparator: j } = C;
40
- if (X(m))
41
- return m(o);
42
- if (!tt(o))
43
- return o;
44
- let [x, u = ""] = String(o).split(".");
45
- return u = u.padEnd(h, "0").slice(0, h > 0 ? h : 0), x = x.replace(/\B(?=(\d{3})+(?!\d))/g, j), [x, u].join(u ? S : "");
46
- });
47
- return b({
48
- displayValue: w
49
- }), (o, m) => (p(), f("div", {
50
- class: v(a(d).b())
51
- }, [
52
- o.$slots.title || o.title ? (p(), f("div", {
53
- key: 0,
54
- class: v(a(d).e("head"))
55
- }, [
56
- L(o.$slots, "title", {}, () => [
57
- g(n(o.title), 1)
58
- ])
59
- ], 2)) : P("v-if", !0),
60
- t("div", {
61
- class: v(a(d).e("content"))
62
- }, [
63
- o.$slots.prefix || o.prefix ? (p(), f("div", {
64
- key: 0,
65
- class: v(a(d).e("prefix"))
66
- }, [
67
- L(o.$slots, "prefix", {}, () => [
68
- t("span", null, n(o.prefix), 1)
69
- ])
70
- ], 2)) : P("v-if", !0),
71
- t("span", {
72
- class: v(a(d).e("number")),
73
- style: dt(o.valueStyle)
74
- }, n(a(w)), 7),
75
- o.$slots.suffix || o.suffix ? (p(), f("div", {
76
- key: 1,
77
- class: v(a(d).e("suffix"))
78
- }, [
79
- L(o.$slots, "suffix", {}, () => [
80
- t("span", null, n(o.suffix), 1)
81
- ])
82
- ], 2)) : P("v-if", !0)
83
- ], 2)
84
- ], 2));
85
- }
86
- });
87
- var ft = /* @__PURE__ */ et(pt, [["__file", "statistic.vue"]]);
88
- const mt = st(ft), ht = {}, T = (l) => (U("data-v-431733f3"), l = l(), R(), l), xt = {
89
- href: "https://github.com/haoxianrui",
90
- target: "_blank",
91
- class: "github-corner",
92
- "aria-label": "View source on Github"
93
- }, vt = {
94
- width: "80",
95
- height: "80",
96
- viewBox: "0 0 250 250",
97
- style: { color: "#fff", fill: "#40c9c6" },
98
- "aria-hidden": "true"
99
- }, gt = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", { d: "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" }, null, -1)), yt = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
100
- d: "M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",
101
- fill: "currentColor",
102
- style: { "transform-origin": "130px 106px" },
103
- class: "octo-arm"
104
- }, null, -1)), bt = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
105
- d: "M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",
106
- fill: "currentColor",
107
- class: "octo-body"
108
- }, null, -1)), Ct = [
109
- gt,
110
- yt,
111
- bt
112
- ];
113
- function wt(l, b) {
114
- return p(), f("a", xt, [
115
- (p(), f("svg", vt, Ct))
116
- ]);
117
- }
118
- const St = /* @__PURE__ */ F(ht, [["render", wt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (U("data-v-b0c421bd"), l = l(), R(), l), jt = { class: "dashboard-container" }, $t = { class: "flex h-full items-center" }, Et = ["src"], Mt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, "今日天气晴朗,气温在15℃至25℃之间,东南风。", -1)), It = { class: "flex h-full items-center justify-around" }, 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" }, Pt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), Vt = { class: "flex items-center justify-between" }, Bt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Tt = { class: "flex items-center justify-between mt-5" }, At = { class: "text-lg text-right" }, Dt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), Ut = { class: "flex items-center justify-between" }, Rt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Zt = { class: "flex items-center justify-between mt-5" }, qt = { 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)), Yt = { class: "flex items-center justify-between" }, Jt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), Kt = { class: "flex items-center justify-between mt-5" }, Qt = { class: "text-lg text-right" }, Wt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Xt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), te = { class: "flex items-center justify-between" }, ee = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), se = { class: "flex items-center justify-between mt-5" }, oe = { class: "text-lg text-right" }, ae = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, ne = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), z = 5e3, ie = /* @__PURE__ */ B({
119
- name: "Dashboard",
120
- inheritAttrs: !1,
121
- __name: "index",
122
- setup(l) {
123
- const b = V(() => ot.imageUrl(C.user.avatar, 160, 160)), C = at(), d = /* @__PURE__ */ new Date(), w = V(() => {
124
- const r = d.getHours();
125
- let $ = C.user.realName;
126
- if (r >= 6 && r < 8)
127
- return "晨起披衣出草堂,轩窗已自喜微凉🌅!";
128
- if (r >= 8 && r < 12)
129
- return "上午好," + $ + "!";
130
- if (r >= 12 && r < 18)
131
- return "下午好," + $ + "!";
132
- if (r >= 18 && r < 24)
133
- return "晚上好," + $ + "!";
134
- if (r >= 0 && r < 6)
135
- return "偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!";
136
- }), o = O(0), m = M(o, {
137
- duration: z,
138
- transition: I.easeOutExpo
139
- });
140
- o.value = 2e3;
141
- const h = O(0), S = M(h, {
142
- duration: z,
143
- transition: I.easeOutExpo
144
- });
145
- h.value = 2e3;
146
- const j = O(0), x = M(j, {
147
- duration: z,
148
- transition: I.easeOutExpo
149
- });
150
- j.value = 2e3;
151
- const u = O(0), A = M(u, {
152
- duration: z,
153
- transition: I.easeOutExpo
154
- });
155
- return u.value = 2e3, (r, $) => {
156
- const Z = St, c = rt, _ = nt, N = mt, k = ct, y = lt, E = it, q = K, G = J, H = Y;
157
- return p(), f("div", jt, [
158
- e(Z, { class: "github-corner" }),
159
- e(y, { shadow: "never" }, {
160
- default: s(() => [
161
- e(k, { justify: "space-between" }, {
162
- default: s(() => [
163
- e(c, {
164
- span: 18,
165
- xs: 24
166
- }, {
167
- default: s(() => [
168
- t("div", $t, [
169
- t("img", {
170
- class: "w-20 h-20 mr-5 rounded-full",
171
- src: a(b)
172
- }, null, 8, Et),
173
- t("div", null, [
174
- t("p", null, n(a(w)), 1),
175
- Mt
176
- ])
177
- ])
178
- ]),
179
- _: 1
180
- }),
181
- e(c, {
182
- span: 6,
183
- xs: 24
184
- }, {
185
- default: s(() => [
186
- t("div", It, [
187
- e(N, { value: 99 }, {
188
- title: s(() => [
189
- t("div", Ot, [
190
- e(_, {
191
- "icon-class": "message",
192
- size: "20px"
193
- }),
194
- zt
195
- ])
196
- ]),
197
- _: 1
198
- }),
199
- e(N, { value: 50 }, {
200
- title: s(() => [
201
- t("div", Nt, [
202
- e(_, {
203
- "icon-class": "todolist",
204
- size: "20px"
205
- }),
206
- kt
207
- ])
208
- ]),
209
- suffix: s(() => [
210
- g("/100")
211
- ]),
212
- _: 1
213
- }),
214
- e(N, { value: 10 }, {
215
- title: s(() => [
216
- t("div", Lt, [
217
- e(_, {
218
- "icon-class": "project",
219
- size: "20px"
220
- }),
221
- Pt
222
- ])
223
- ]),
224
- _: 1
225
- })
226
- ])
227
- ]),
228
- _: 1
229
- })
230
- ]),
231
- _: 1
232
- })
233
- ]),
234
- _: 1
235
- }),
236
- e(k, {
237
- gutter: 10,
238
- class: "mt-3"
239
- }, {
240
- default: s(() => [
241
- e(c, {
242
- xs: 24,
243
- sm: 12,
244
- lg: 6
245
- }, {
246
- default: s(() => [
247
- e(y, { shadow: "never" }, {
248
- header: s(() => [
249
- t("div", Vt, [
250
- Bt,
251
- e(E, { type: "success" }, {
252
- default: s(() => [
253
- g("日")
254
- ]),
255
- _: 1
256
- })
257
- ])
258
- ]),
259
- default: s(() => [
260
- t("div", Tt, [
261
- t("div", At, n(Math.round(a(S))), 1),
262
- e(_, {
263
- "icon-class": "visit",
264
- size: "2em"
265
- })
266
- ]),
267
- t("div", Dt, [
268
- Ft,
269
- t("span", null, n(Math.round(a(S) * 15)), 1)
270
- ])
271
- ]),
272
- _: 1
273
- })
274
- ]),
275
- _: 1
276
- }),
277
- e(c, {
278
- xs: 24,
279
- sm: 12,
280
- lg: 6
281
- }, {
282
- default: s(() => [
283
- e(y, { shadow: "never" }, {
284
- header: s(() => [
285
- t("div", Ut, [
286
- Rt,
287
- e(E, { type: "success" }, {
288
- default: s(() => [
289
- g("日")
290
- ]),
291
- _: 1
292
- })
293
- ])
294
- ]),
295
- default: s(() => [
296
- t("div", Zt, [
297
- t("div", qt, n(Math.round(a(x))), 1),
298
- e(_, {
299
- "icon-class": "ip",
300
- size: "2em"
301
- })
302
- ]),
303
- t("div", Gt, [
304
- Ht,
305
- t("span", null, n(Math.round(a(x))), 1)
306
- ])
307
- ]),
308
- _: 1
309
- })
310
- ]),
311
- _: 1
312
- }),
313
- e(c, {
314
- xs: 24,
315
- sm: 12,
316
- lg: 6
317
- }, {
318
- default: s(() => [
319
- e(y, { shadow: "never" }, {
320
- header: s(() => [
321
- t("div", Yt, [
322
- Jt,
323
- e(E, null, {
324
- default: s(() => [
325
- g("月")
326
- ]),
327
- _: 1
328
- })
329
- ])
330
- ]),
331
- default: s(() => [
332
- t("div", Kt, [
333
- t("div", Qt, n(Math.round(a(m))), 1),
334
- e(_, {
335
- "icon-class": "money",
336
- size: "2em"
337
- })
338
- ]),
339
- t("div", Wt, [
340
- Xt,
341
- t("span", null, n(Math.round(a(m) * 15)), 1)
342
- ])
343
- ]),
344
- _: 1
345
- })
346
- ]),
347
- _: 1
348
- }),
349
- e(c, {
350
- xs: 24,
351
- sm: 12,
352
- lg: 6
353
- }, {
354
- default: s(() => [
355
- e(y, { shadow: "never" }, {
356
- header: s(() => [
357
- t("div", te, [
358
- ee,
359
- e(E, { type: "danger" }, {
360
- default: s(() => [
361
- g("季")
362
- ]),
363
- _: 1
364
- })
365
- ])
366
- ]),
367
- default: s(() => [
368
- t("div", se, [
369
- t("div", oe, n(Math.round(a(A))), 1),
370
- e(_, {
371
- "icon-class": "order",
372
- size: "2em"
373
- })
374
- ]),
375
- t("div", ae, [
376
- ne,
377
- t("span", null, n(Math.round(a(A) * 15)), 1)
378
- ])
379
- ]),
380
- _: 1
381
- })
382
- ]),
383
- _: 1
384
- })
385
- ]),
386
- _: 1
387
- }),
388
- e(k, {
389
- gutter: 10,
390
- class: "mt-3"
391
- }, {
392
- default: s(() => [
393
- e(c, {
394
- sm: 24,
395
- lg: 8,
396
- class: "mb-2"
397
- }, {
398
- default: s(() => [
399
- e(q, {
400
- id: "barChart",
401
- height: "400px",
402
- width: "100%",
403
- class: "bg-[var(--el-bg-color-overlay)]"
404
- })
405
- ]),
406
- _: 1
407
- }),
408
- e(c, {
409
- xs: 24,
410
- sm: 12,
411
- lg: 8,
412
- class: "mb-2"
413
- }, {
414
- default: s(() => [
415
- e(G, {
416
- id: "pieChart",
417
- height: "400px",
418
- width: "100%",
419
- class: "bg-[var(--el-bg-color-overlay)]"
420
- })
421
- ]),
422
- _: 1
423
- }),
424
- e(c, {
425
- xs: 24,
426
- sm: 12,
427
- lg: 8,
428
- class: "mb-2"
429
- }, {
430
- default: s(() => [
431
- e(H, {
432
- id: "radarChart",
433
- height: "400px",
434
- width: "100%",
435
- class: "bg-[var(--el-bg-color-overlay)]"
436
- })
437
- ]),
438
- _: 1
439
- })
440
- ]),
441
- _: 1
442
- })
443
- ]);
444
- };
445
- }
446
- }), fe = /* @__PURE__ */ F(ie, [["__scopeId", "data-v-b0c421bd"]]);
447
- export {
448
- fe as default
449
- };