jmash-core 0.0.2 → 0.0.4

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 (91) hide show
  1. package/dist/401-DoLCxv3l.mjs +103 -0
  2. package/dist/404-D1KiG-19.mjs +37 -0
  3. package/dist/BarChart-C1VgkGMN.mjs +203 -0
  4. package/dist/FileSaver.min-CbZYb_R2.mjs +77 -0
  5. package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
  6. package/dist/PieChart-D4hXD0SH.mjs +4 -0
  7. package/dist/PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs +90 -0
  8. package/dist/RadarChart-BIL7VT1H.mjs +4 -0
  9. package/dist/RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs +109 -0
  10. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  11. package/dist/caret-bottom-Cm1qBSrY.mjs +59 -0
  12. package/dist/common-DuVBTwAv.mjs +36 -0
  13. package/dist/debounce-C0G0JMal.mjs +81 -0
  14. package/dist/dropdown2-BiRFTrOq.mjs +160 -0
  15. package/dist/edit-Bpt21Eir.mjs +833 -0
  16. package/dist/edit-CYWeo3RE.mjs +4 -0
  17. package/dist/edit-Cde8RIRN.mjs +4 -0
  18. package/dist/edit-D3-EslTs.mjs +4 -0
  19. package/dist/edit-DLx0iRHQ.mjs +469 -0
  20. package/dist/edit-NICINRFG.mjs +4 -0
  21. package/dist/edit-Vk23bJyE.mjs +4 -0
  22. package/dist/edit-sqzPOfBX.mjs +4 -0
  23. package/dist/edit.vue_vue_type_script_setup_true_lang-BYoUZaYJ.mjs +157 -0
  24. package/dist/edit.vue_vue_type_script_setup_true_lang-CFHGaytm.mjs +137 -0
  25. package/dist/edit.vue_vue_type_script_setup_true_lang-C_NNjRjK.mjs +622 -0
  26. package/dist/edit.vue_vue_type_script_setup_true_lang-DBxZMZyS.mjs +222 -0
  27. package/dist/edit.vue_vue_type_script_setup_true_lang-_tHqd9tg.mjs +226 -0
  28. package/dist/edit.vue_vue_type_script_setup_true_lang-mM66jf9N.mjs +288 -0
  29. package/dist/el-card-BIRVdEQY.mjs +61 -0
  30. package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
  31. package/dist/el-checkbox-miY6QbQ8.mjs +548 -0
  32. package/dist/el-col-BOgRUJYE.mjs +135 -0
  33. package/dist/el-date-picker-D9yvdcj2.mjs +3349 -0
  34. package/dist/el-dialog-BSTwker5.mjs +378 -0
  35. package/dist/el-dropdown-item-YDb2-w9y.mjs +675 -0
  36. package/dist/el-form-item-BzKoZc6I.mjs +1489 -0
  37. package/dist/el-icon-l0sNRNKZ.mjs +1 -0
  38. package/dist/el-popover-DuRdut0P.mjs +159 -0
  39. package/dist/el-popper-AjIjI4wK.mjs +1656 -0
  40. package/dist/el-progress-BPv5gfee.mjs +898 -0
  41. package/dist/el-radio-NC-gfUsx.mjs +251 -0
  42. package/dist/el-scrollbar-p0O6uID0.mjs +607 -0
  43. package/dist/el-select-DAMII7lv.mjs +1040 -0
  44. package/dist/el-switch-C2AFgHGW.mjs +254 -0
  45. package/dist/el-table-IQFrP3zv.mjs +3168 -0
  46. package/dist/el-tag-l0sNRNKZ.mjs +1 -0
  47. package/dist/el-tooltip-l0sNRNKZ.mjs +1 -0
  48. package/dist/el-tree-select-CyDKS6nF.mjs +1316 -0
  49. package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWWbxFGH.mjs +117 -0
  50. package/dist/index-A3UILhe-.mjs +279 -0
  51. package/dist/index-Ax_8ZsXK.mjs +3163 -0
  52. package/dist/index-B46NFfoE.mjs +487 -0
  53. package/dist/index-BWx4KWAY.mjs +282 -0
  54. package/dist/index-BWyb1bu2.mjs +505 -0
  55. package/dist/index-BjqMDjBg.mjs +43994 -0
  56. package/dist/index-BnbEfNmI.mjs +134 -0
  57. package/dist/index-BpAihYhN.mjs +280 -0
  58. package/dist/index-Bs3AcT6R.mjs +107 -0
  59. package/dist/index-BvixCbHl.mjs +329 -0
  60. package/dist/index-C0UgbyoZ.mjs +452 -0
  61. package/dist/index-C0vV2_4K.mjs +63 -0
  62. package/dist/index-CBB_r4G5.mjs +965 -0
  63. package/dist/index-CCFtIl_h.mjs +516 -0
  64. package/dist/index-Cd3TOW5i.mjs +93 -0
  65. package/dist/index-CgNPGcHv.mjs +292 -0
  66. package/dist/index-CoOFKDgw.mjs +74 -0
  67. package/dist/index-CrNYgyNm.mjs +8800 -0
  68. package/dist/index-CurzO9C6.mjs +248 -0
  69. package/dist/index-DJ08yxAP.mjs +11 -0
  70. package/dist/index-DjkMA-Wh.mjs +40 -0
  71. package/dist/index-Url6hMpl.mjs +483 -0
  72. package/dist/index-eT2JltVa.mjs +55 -0
  73. package/dist/index-mkT_dTWL.mjs +13 -0
  74. package/dist/index-uykKwY2Z.mjs +12 -0
  75. package/dist/index-xtDIXRPY.mjs +633 -0
  76. package/dist/index.mjs +19 -273
  77. package/dist/index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs +58 -0
  78. package/dist/index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs +286 -0
  79. package/dist/isUndefined-CUQZk6oB.mjs +6 -0
  80. package/dist/moment-CMYwqyVT.mjs +2579 -0
  81. package/dist/picture-kPnmHaoS.mjs +599 -0
  82. package/dist/profile-RVQuIwXg.mjs +319 -0
  83. package/dist/refs-S3PYDmaW.mjs +9 -0
  84. package/dist/style.css +1 -1
  85. package/dist/types-CCG3Dvqs.mjs +205 -0
  86. package/dist/updatePwd-2UsTmJa5.mjs +4 -0
  87. package/dist/updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs +151 -0
  88. package/dist/useColumnToggleTable-D_QF8Uy9.mjs +272 -0
  89. package/dist/vue-i18n-CE6tUbcO.mjs +3808 -0
  90. package/dts/tsconfig.tsbuildinfo +1 -1
  91. package/package.json +31 -2
@@ -0,0 +1,452 @@
1
+ import { _ as K } from "./RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs";
2
+ import { _ as W } from "./PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs";
3
+ import q from "./BarChart-C1VgkGMN.mjs";
4
+ import { k as J, m as T, w as Q, U as X, o as Y, _ as tt, K as et, c as $, V as E, W as M } from "./index-CrNYgyNm.mjs";
5
+ import "./el-tag-l0sNRNKZ.mjs";
6
+ import { E as st } from "./el-card-BIRVdEQY.mjs";
7
+ import { E as ot, a as nt } from "./el-col-BOgRUJYE.mjs";
8
+ import { _ as at } from "./index-DjkMA-Wh.mjs";
9
+ import { defineComponent as P, computed as D, openBlock as p, createElementBlock as f, normalizeClass as v, unref as n, renderSlot as V, createTextVNode as g, toDisplayString as a, createCommentVNode as L, createElementVNode as t, normalizeStyle as it, pushScopeId as A, popScopeId as F, ref as k, createVNode as e, withCtx as s } from "vue";
10
+ import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
+ import { E as lt } from "./index-Bs3AcT6R.mjs";
12
+ const rt = J({
13
+ decimalSeparator: {
14
+ type: String,
15
+ default: "."
16
+ },
17
+ groupSeparator: {
18
+ type: String,
19
+ default: ","
20
+ },
21
+ precision: {
22
+ type: Number,
23
+ default: 0
24
+ },
25
+ formatter: Function,
26
+ value: {
27
+ type: T([Number, Object]),
28
+ default: 0
29
+ },
30
+ prefix: String,
31
+ suffix: String,
32
+ title: String,
33
+ valueStyle: {
34
+ type: T([String, Object, Array])
35
+ }
36
+ }), ct = P({
37
+ name: "ElStatistic"
38
+ }), dt = /* @__PURE__ */ P({
39
+ ...ct,
40
+ props: rt,
41
+ setup(l, { expose: C }) {
42
+ const z = l, d = Q("statistic"), y = D(() => {
43
+ const { value: o, formatter: m, precision: h, decimalSeparator: w, groupSeparator: S } = z;
44
+ if (X(m))
45
+ return m(o);
46
+ if (!Y(o))
47
+ return o;
48
+ let [x, u = ""] = String(o).split(".");
49
+ return u = u.padEnd(h, "0").slice(0, h > 0 ? h : 0), x = x.replace(/\B(?=(\d{3})+(?!\d))/g, S), [x, u].join(u ? w : "");
50
+ });
51
+ return C({
52
+ displayValue: y
53
+ }), (o, m) => (p(), f("div", {
54
+ class: v(n(d).b())
55
+ }, [
56
+ o.$slots.title || o.title ? (p(), f("div", {
57
+ key: 0,
58
+ class: v(n(d).e("head"))
59
+ }, [
60
+ V(o.$slots, "title", {}, () => [
61
+ g(a(o.title), 1)
62
+ ])
63
+ ], 2)) : L("v-if", !0),
64
+ t("div", {
65
+ class: v(n(d).e("content"))
66
+ }, [
67
+ o.$slots.prefix || o.prefix ? (p(), f("div", {
68
+ key: 0,
69
+ class: v(n(d).e("prefix"))
70
+ }, [
71
+ V(o.$slots, "prefix", {}, () => [
72
+ t("span", null, a(o.prefix), 1)
73
+ ])
74
+ ], 2)) : L("v-if", !0),
75
+ t("span", {
76
+ class: v(n(d).e("number")),
77
+ style: it(o.valueStyle)
78
+ }, a(n(y)), 7),
79
+ o.$slots.suffix || o.suffix ? (p(), f("div", {
80
+ key: 1,
81
+ class: v(n(d).e("suffix"))
82
+ }, [
83
+ V(o.$slots, "suffix", {}, () => [
84
+ t("span", null, a(o.suffix), 1)
85
+ ])
86
+ ], 2)) : L("v-if", !0)
87
+ ], 2)
88
+ ], 2));
89
+ }
90
+ });
91
+ var ut = /* @__PURE__ */ tt(dt, [["__file", "statistic.vue"]]);
92
+ const _t = et(ut), pt = {}, B = (l) => (A("data-v-431733f3"), l = l(), F(), l), ft = {
93
+ href: "https://github.com/haoxianrui",
94
+ target: "_blank",
95
+ class: "github-corner",
96
+ "aria-label": "View source on Github"
97
+ }, mt = {
98
+ width: "80",
99
+ height: "80",
100
+ viewBox: "0 0 250 250",
101
+ style: { color: "#fff", fill: "#40c9c6" },
102
+ "aria-hidden": "true"
103
+ }, ht = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", { d: "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" }, null, -1)), xt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", {
104
+ 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",
105
+ fill: "currentColor",
106
+ style: { "transform-origin": "130px 106px" },
107
+ class: "octo-arm"
108
+ }, null, -1)), vt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", {
109
+ 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",
110
+ fill: "currentColor",
111
+ class: "octo-body"
112
+ }, null, -1)), gt = [
113
+ ht,
114
+ xt,
115
+ vt
116
+ ];
117
+ function yt(l, C) {
118
+ return p(), f("a", ft, [
119
+ (p(), f("svg", mt, gt))
120
+ ]);
121
+ }
122
+ const bt = /* @__PURE__ */ R(pt, [["render", yt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (A("data-v-22d9b4de"), l = l(), F(), l), Ct = { class: "dashboard-container" }, wt = { class: "flex h-full items-center" }, St = ["src"], jt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1)), $t = { class: "flex h-full items-center justify-around" }, Et = { class: "flex items-center" }, Mt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), kt = { class: "flex items-center" }, Ot = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "待办", -1)), zt = { class: "flex items-center" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "项目", -1)), Nt = { class: "flex items-center justify-between" }, Vt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Lt = { class: "flex items-center justify-between mt-5" }, Pt = { class: "text-lg text-right" }, Bt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Tt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), Dt = { class: "flex items-center justify-between" }, At = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Ft = { class: "flex items-center justify-between mt-5" }, Rt = { class: "text-lg text-right" }, Ut = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Zt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总IP数 ", -1)), Gt = { class: "flex items-center justify-between" }, Ht = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), Kt = { class: "flex items-center justify-between mt-5" }, Wt = { class: "text-lg text-right" }, qt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Jt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Qt = { class: "flex items-center justify-between" }, Xt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), Yt = { class: "flex items-center justify-between mt-5" }, te = { class: "text-lg text-right" }, ee = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, se = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), O = 5e3, oe = /* @__PURE__ */ P({
123
+ name: "Dashboard",
124
+ inheritAttrs: !1,
125
+ __name: "index",
126
+ setup(l) {
127
+ const C = $(), z = /* @__PURE__ */ new Date(), d = D(() => {
128
+ const r = z.getHours();
129
+ if (r >= 6 && r < 8)
130
+ return "晨起披衣出草堂,轩窗已自喜微凉🌅!";
131
+ if (r >= 8 && r < 12)
132
+ return "上午好," + $().user.nickname + "!";
133
+ if (r >= 12 && r < 18)
134
+ return "下午好," + $().user.nickname + "!";
135
+ if (r >= 18 && r < 24)
136
+ return "晚上好," + $().user.nickname + "!";
137
+ if (r >= 0 && r < 6)
138
+ return "偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!";
139
+ }), y = k(0), o = E(y, {
140
+ duration: O,
141
+ transition: M.easeOutExpo
142
+ });
143
+ y.value = 2e3;
144
+ const m = k(0), h = E(m, {
145
+ duration: O,
146
+ transition: M.easeOutExpo
147
+ });
148
+ m.value = 2e3;
149
+ const w = k(0), S = E(w, {
150
+ duration: O,
151
+ transition: M.easeOutExpo
152
+ });
153
+ w.value = 2e3;
154
+ const x = k(0), u = E(x, {
155
+ duration: O,
156
+ transition: M.easeOutExpo
157
+ });
158
+ return x.value = 2e3, (r, ne) => {
159
+ const U = bt, c = ot, _ = at, I = _t, N = nt, b = st, j = lt, Z = q, G = W, H = K;
160
+ return p(), f("div", Ct, [
161
+ e(U, { class: "github-corner" }),
162
+ e(b, { shadow: "never" }, {
163
+ default: s(() => [
164
+ e(N, { justify: "space-between" }, {
165
+ default: s(() => [
166
+ e(c, {
167
+ span: 18,
168
+ xs: 24
169
+ }, {
170
+ default: s(() => [
171
+ t("div", wt, [
172
+ t("img", {
173
+ class: "w-20 h-20 mr-5 rounded-full",
174
+ src: n(C).user.avatar + "?imageView2/1/w/80/h/80"
175
+ }, null, 8, St),
176
+ t("div", null, [
177
+ t("p", null, a(d.value), 1),
178
+ jt
179
+ ])
180
+ ])
181
+ ]),
182
+ _: 1
183
+ }),
184
+ e(c, {
185
+ span: 6,
186
+ xs: 24
187
+ }, {
188
+ default: s(() => [
189
+ t("div", $t, [
190
+ e(I, { value: 99 }, {
191
+ title: s(() => [
192
+ t("div", Et, [
193
+ e(_, {
194
+ "icon-class": "message",
195
+ size: "20px"
196
+ }),
197
+ Mt
198
+ ])
199
+ ]),
200
+ _: 1
201
+ }),
202
+ e(I, { value: 50 }, {
203
+ title: s(() => [
204
+ t("div", kt, [
205
+ e(_, {
206
+ "icon-class": "todolist",
207
+ size: "20px"
208
+ }),
209
+ Ot
210
+ ])
211
+ ]),
212
+ suffix: s(() => [
213
+ g("/100")
214
+ ]),
215
+ _: 1
216
+ }),
217
+ e(I, { value: 10 }, {
218
+ title: s(() => [
219
+ t("div", zt, [
220
+ e(_, {
221
+ "icon-class": "project",
222
+ size: "20px"
223
+ }),
224
+ It
225
+ ])
226
+ ]),
227
+ _: 1
228
+ })
229
+ ])
230
+ ]),
231
+ _: 1
232
+ })
233
+ ]),
234
+ _: 1
235
+ })
236
+ ]),
237
+ _: 1
238
+ }),
239
+ e(N, {
240
+ gutter: 10,
241
+ class: "mt-3"
242
+ }, {
243
+ default: s(() => [
244
+ e(c, {
245
+ xs: 24,
246
+ sm: 12,
247
+ lg: 6
248
+ }, {
249
+ default: s(() => [
250
+ e(b, { shadow: "never" }, {
251
+ header: s(() => [
252
+ t("div", Nt, [
253
+ Vt,
254
+ e(j, { type: "success" }, {
255
+ default: s(() => [
256
+ g("日")
257
+ ]),
258
+ _: 1
259
+ })
260
+ ])
261
+ ]),
262
+ default: s(() => [
263
+ t("div", Lt, [
264
+ t("div", Pt, a(Math.round(n(h))), 1),
265
+ e(_, {
266
+ "icon-class": "visit",
267
+ size: "2em"
268
+ })
269
+ ]),
270
+ t("div", Bt, [
271
+ Tt,
272
+ t("span", null, a(Math.round(n(h) * 15)), 1)
273
+ ])
274
+ ]),
275
+ _: 1
276
+ })
277
+ ]),
278
+ _: 1
279
+ }),
280
+ e(c, {
281
+ xs: 24,
282
+ sm: 12,
283
+ lg: 6
284
+ }, {
285
+ default: s(() => [
286
+ e(b, { shadow: "never" }, {
287
+ header: s(() => [
288
+ t("div", Dt, [
289
+ At,
290
+ e(j, { type: "success" }, {
291
+ default: s(() => [
292
+ g("日")
293
+ ]),
294
+ _: 1
295
+ })
296
+ ])
297
+ ]),
298
+ default: s(() => [
299
+ t("div", Ft, [
300
+ t("div", Rt, a(Math.round(n(S))), 1),
301
+ e(_, {
302
+ "icon-class": "ip",
303
+ size: "2em"
304
+ })
305
+ ]),
306
+ t("div", Ut, [
307
+ Zt,
308
+ t("span", null, a(Math.round(n(S))), 1)
309
+ ])
310
+ ]),
311
+ _: 1
312
+ })
313
+ ]),
314
+ _: 1
315
+ }),
316
+ e(c, {
317
+ xs: 24,
318
+ sm: 12,
319
+ lg: 6
320
+ }, {
321
+ default: s(() => [
322
+ e(b, { shadow: "never" }, {
323
+ header: s(() => [
324
+ t("div", Gt, [
325
+ Ht,
326
+ e(j, null, {
327
+ default: s(() => [
328
+ g("月")
329
+ ]),
330
+ _: 1
331
+ })
332
+ ])
333
+ ]),
334
+ default: s(() => [
335
+ t("div", Kt, [
336
+ t("div", Wt, a(Math.round(n(o))), 1),
337
+ e(_, {
338
+ "icon-class": "money",
339
+ size: "2em"
340
+ })
341
+ ]),
342
+ t("div", qt, [
343
+ Jt,
344
+ t("span", null, a(Math.round(n(o) * 15)), 1)
345
+ ])
346
+ ]),
347
+ _: 1
348
+ })
349
+ ]),
350
+ _: 1
351
+ }),
352
+ e(c, {
353
+ xs: 24,
354
+ sm: 12,
355
+ lg: 6
356
+ }, {
357
+ default: s(() => [
358
+ e(b, { shadow: "never" }, {
359
+ header: s(() => [
360
+ t("div", Qt, [
361
+ Xt,
362
+ e(j, { type: "danger" }, {
363
+ default: s(() => [
364
+ g("季")
365
+ ]),
366
+ _: 1
367
+ })
368
+ ])
369
+ ]),
370
+ default: s(() => [
371
+ t("div", Yt, [
372
+ t("div", te, a(Math.round(n(u))), 1),
373
+ e(_, {
374
+ "icon-class": "order",
375
+ size: "2em"
376
+ })
377
+ ]),
378
+ t("div", ee, [
379
+ se,
380
+ t("span", null, a(Math.round(n(u) * 15)), 1)
381
+ ])
382
+ ]),
383
+ _: 1
384
+ })
385
+ ]),
386
+ _: 1
387
+ })
388
+ ]),
389
+ _: 1
390
+ }),
391
+ e(N, {
392
+ gutter: 10,
393
+ class: "mt-3"
394
+ }, {
395
+ default: s(() => [
396
+ e(c, {
397
+ sm: 24,
398
+ lg: 8,
399
+ class: "mb-2"
400
+ }, {
401
+ default: s(() => [
402
+ e(Z, {
403
+ id: "barChart",
404
+ height: "400px",
405
+ width: "100%",
406
+ class: "bg-[var(--el-bg-color-overlay)]"
407
+ })
408
+ ]),
409
+ _: 1
410
+ }),
411
+ e(c, {
412
+ xs: 24,
413
+ sm: 12,
414
+ lg: 8,
415
+ class: "mb-2"
416
+ }, {
417
+ default: s(() => [
418
+ e(G, {
419
+ id: "pieChart",
420
+ height: "400px",
421
+ width: "100%",
422
+ class: "bg-[var(--el-bg-color-overlay)]"
423
+ })
424
+ ]),
425
+ _: 1
426
+ }),
427
+ e(c, {
428
+ xs: 24,
429
+ sm: 12,
430
+ lg: 8,
431
+ class: "mb-2"
432
+ }, {
433
+ default: s(() => [
434
+ e(H, {
435
+ id: "radarChart",
436
+ height: "400px",
437
+ width: "100%",
438
+ class: "bg-[var(--el-bg-color-overlay)]"
439
+ })
440
+ ]),
441
+ _: 1
442
+ })
443
+ ]),
444
+ _: 1
445
+ })
446
+ ]);
447
+ };
448
+ }
449
+ }), he = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-22d9b4de"]]);
450
+ export {
451
+ he as default
452
+ };
@@ -0,0 +1,63 @@
1
+ import { ap as t, c as a } from "./index-CrNYgyNm.mjs";
2
+ function n(e) {
3
+ return t({
4
+ url: "/v1/rbac/role/list",
5
+ method: "get",
6
+ params: e
7
+ });
8
+ }
9
+ function u(e) {
10
+ return t({
11
+ url: "/v1/rbac/role",
12
+ method: "patch",
13
+ data: e
14
+ });
15
+ }
16
+ function s(e) {
17
+ return t({
18
+ url: "/v1/rbac/role",
19
+ method: "post",
20
+ data: e
21
+ });
22
+ }
23
+ function c(e) {
24
+ const r = {
25
+ tenant: a().user.tenant,
26
+ roleId: e
27
+ };
28
+ return t({
29
+ url: "/v1/rbac/role/id",
30
+ method: "delete",
31
+ params: r
32
+ });
33
+ }
34
+ function l(e) {
35
+ const r = {
36
+ tenant: a().user.tenant,
37
+ roleId: e
38
+ };
39
+ return t({
40
+ url: "/v1/rbac/role/batch",
41
+ method: "put",
42
+ data: r
43
+ });
44
+ }
45
+ function b() {
46
+ const e = {
47
+ tenant: a().user.tenant,
48
+ roleType: "job"
49
+ };
50
+ return t({
51
+ url: "/v1/rbac/role/treelist",
52
+ method: "get",
53
+ params: e
54
+ });
55
+ }
56
+ export {
57
+ s as a,
58
+ l as b,
59
+ c as d,
60
+ u as e,
61
+ n as g,
62
+ b as t
63
+ };