jmash-core 0.0.63 → 0.0.65

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 (140) hide show
  1. package/README.md +52 -52
  2. package/dist/{401-BIRJqD5Y.mjs → 401-CYxeXDGG.mjs} +4 -4
  3. package/dist/{404-mDDskVyZ.mjs → 404-D4aLdldC.mjs} +3 -3
  4. package/dist/{BarChart-_ufiTR1U.mjs → BarChart-C-caT8Gl.mjs} +3 -3
  5. package/dist/{PieChart-BQH-Lu44.mjs → PieChart-DffHGYoZ.mjs} +1 -1
  6. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DvUxmpJd.mjs → PieChart.vue_vue_type_script_setup_true_lang-ClK4nw9w.mjs} +2 -2
  7. package/dist/{RadarChart-C5WQYop-.mjs → RadarChart-Bp0W8pv3.mjs} +1 -1
  8. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DczNM7Yo.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BZIhY1E5.mjs} +2 -2
  9. package/dist/{el-card-CTfOuSxg.mjs → el-card-CNI2w28c.mjs} +1 -1
  10. package/dist/{el-col-DvXYjmML.mjs → el-col-kKL_8vqp.mjs} +1 -1
  11. package/dist/{el-form-item-YcoUGhQg.mjs → el-form-item-q2RZc_zm.mjs} +1 -1
  12. package/dist/{index-D6kAFFgI.mjs → index-BT183A6W.mjs} +33 -33
  13. package/dist/{index-DU2eVsAW.mjs → index-BZmBra9p.mjs} +4681 -4625
  14. package/dist/{index-CQHXPlVc.mjs → index-BdkeXCH6.mjs} +801 -801
  15. package/dist/{index-7hMud_TW.mjs → index-C39uwdUo.mjs} +1 -1
  16. package/dist/{index-BtjIrCM1.mjs → index-anjVo0tM.mjs} +127 -127
  17. package/dist/index.mjs +37 -36
  18. package/dist/{picture-cTuXH37R.mjs → picture-DIE8evSt.mjs} +28 -28
  19. package/dist/{position-8w1g7Ch7.mjs → position-BrNIfksc.mjs} +1 -1
  20. package/dist/{profile-0FyKctr3.mjs → profile-dtTfHLIA.mjs} +567 -560
  21. package/dist/{runAs-BgXJXFaQ.mjs → runAs-xujVe1R-.mjs} +1 -1
  22. package/dist/{runAs.vue_vue_type_script_setup_true_lang-uqScpkIi.mjs → runAs.vue_vue_type_script_setup_true_lang-Dnpgn4Ux.mjs} +37 -37
  23. package/dist/style.css +1 -1
  24. package/dist/{types-7d_CPk3g.mjs → types-DtCCGdP9.mjs} +10 -10
  25. package/dist/{updatePwd-DzyrUB-6.mjs → updatePwd-CnA-GRrA.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-DFjv31PY.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Ceulx6YY.mjs} +12 -12
  27. package/dts/src/api/file/index.d.ts +28 -14
  28. package/dts/src/api/system/dept/index.d.ts +91 -0
  29. package/dts/src/api/system/dept/types.d.ts +63 -0
  30. package/dts/src/api/system/index.d.ts +7 -0
  31. package/dts/src/api/system/job/index.d.ts +42 -0
  32. package/dts/src/api/system/job/types.d.ts +60 -0
  33. package/dts/src/api/system/log/index.d.ts +29 -0
  34. package/dts/src/api/system/log/types.d.ts +42 -0
  35. package/dts/src/api/system/menu/index.d.ts +103 -0
  36. package/dts/src/api/system/menu/types.d.ts +96 -0
  37. package/dts/src/api/system/module/index.d.ts +57 -0
  38. package/dts/src/api/system/module/types.d.ts +13 -0
  39. package/dts/src/api/system/operation/index.d.ts +51 -0
  40. package/dts/src/api/system/operation/types.d.ts +12 -0
  41. package/dts/src/api/system/permission/index.d.ts +50 -0
  42. package/dts/src/api/system/permission/types.d.ts +12 -0
  43. package/dts/src/api/system/role/index.d.ts +77 -0
  44. package/dts/src/api/system/role/types.d.ts +26 -0
  45. package/dts/src/api/system/user/index.d.ts +133 -0
  46. package/dts/src/api/system/user/types.d.ts +53 -0
  47. package/dts/src/api/system/userLog/index.d.ts +29 -0
  48. package/dts/src/api/system/userLog/types.d.ts +22 -0
  49. package/dts/src/assets/components/a-fixed.vue.d.ts +2 -0
  50. package/dts/src/assets/components/a-list.vue.d.ts +2 -0
  51. package/dts/src/assets/components/anquanrizhi.vue.d.ts +2 -0
  52. package/dts/src/assets/components/api.vue.d.ts +2 -0
  53. package/dts/src/assets/components/bumenguanli.vue.d.ts +2 -0
  54. package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +2 -0
  55. package/dts/src/assets/components/captcha.vue.d.ts +2 -0
  56. package/dts/src/assets/components/cascader.vue.d.ts +2 -0
  57. package/dts/src/assets/components/client.vue.d.ts +2 -0
  58. package/dts/src/assets/components/close-all.vue.d.ts +2 -0
  59. package/dts/src/assets/components/close-left.vue.d.ts +2 -0
  60. package/dts/src/assets/components/close-other.vue.d.ts +2 -0
  61. package/dts/src/assets/components/close-right.vue.d.ts +2 -0
  62. package/dts/src/assets/components/close.vue.d.ts +2 -0
  63. package/dts/src/assets/components/dict.vue.d.ts +2 -0
  64. package/dts/src/assets/components/document.vue.d.ts +2 -0
  65. package/dts/src/assets/components/download.vue.d.ts +2 -0
  66. package/dts/src/assets/components/drag.vue.d.ts +2 -0
  67. package/dts/src/assets/components/edit.vue.d.ts +2 -0
  68. package/dts/src/assets/components/email.vue.d.ts +2 -0
  69. package/dts/src/assets/components/exit-fullscreen.vue.d.ts +2 -0
  70. package/dts/src/assets/components/eye-open.vue.d.ts +2 -0
  71. package/dts/src/assets/components/eye.vue.d.ts +2 -0
  72. package/dts/src/assets/components/fullscreen-exit.vue.d.ts +2 -0
  73. package/dts/src/assets/components/fullscreen.vue.d.ts +2 -0
  74. package/dts/src/assets/components/gangweiguanli.vue.d.ts +2 -0
  75. package/dts/src/assets/components/github.vue.d.ts +2 -0
  76. package/dts/src/assets/components/homepage.vue.d.ts +2 -0
  77. package/dts/src/assets/components/icon-eye.vue.d.ts +2 -0
  78. package/dts/src/assets/components/icon-open-eye.vue.d.ts +2 -0
  79. package/dts/src/assets/components/icon.vue.d.ts +2 -0
  80. package/dts/src/assets/components/indent-decrease.vue.d.ts +2 -0
  81. package/dts/src/assets/components/ip.vue.d.ts +2 -0
  82. package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +2 -0
  83. package/dts/src/assets/components/language.vue.d.ts +2 -0
  84. package/dts/src/assets/components/link.vue.d.ts +2 -0
  85. package/dts/src/assets/components/lock.vue.d.ts +2 -0
  86. package/dts/src/assets/components/log.vue.d.ts +2 -0
  87. package/dts/src/assets/components/menu.vue.d.ts +2 -0
  88. package/dts/src/assets/components/message.vue.d.ts +2 -0
  89. package/dts/src/assets/components/mokuaiguanli.vue.d.ts +2 -0
  90. package/dts/src/assets/components/money.vue.d.ts +2 -0
  91. package/dts/src/assets/components/monitor.vue.d.ts +2 -0
  92. package/dts/src/assets/components/moon.vue.d.ts +2 -0
  93. package/dts/src/assets/components/order.vue.d.ts +2 -0
  94. package/dts/src/assets/components/password.vue.d.ts +2 -0
  95. package/dts/src/assets/components/peoples.vue.d.ts +2 -0
  96. package/dts/src/assets/components/phone.vue.d.ts +2 -0
  97. package/dts/src/assets/components/project.vue.d.ts +2 -0
  98. package/dts/src/assets/components/publish.vue.d.ts +2 -0
  99. package/dts/src/assets/components/quanxianguanli.vue.d.ts +2 -0
  100. package/dts/src/assets/components/redis.vue.d.ts +2 -0
  101. package/dts/src/assets/components/refresh.vue.d.ts +2 -0
  102. package/dts/src/assets/components/role.vue.d.ts +2 -0
  103. package/dts/src/assets/components/security.vue.d.ts +2 -0
  104. package/dts/src/assets/components/setting.vue.d.ts +2 -0
  105. package/dts/src/assets/components/shoujihao.vue.d.ts +2 -0
  106. package/dts/src/assets/components/shrink.vue.d.ts +2 -0
  107. package/dts/src/assets/components/size.vue.d.ts +2 -0
  108. package/dts/src/assets/components/sunny.vue.d.ts +2 -0
  109. package/dts/src/assets/components/system.vue.d.ts +2 -0
  110. package/dts/src/assets/components/table.vue.d.ts +2 -0
  111. package/dts/src/assets/components/team.vue.d.ts +2 -0
  112. package/dts/src/assets/components/todolist.vue.d.ts +2 -0
  113. package/dts/src/assets/components/tree.vue.d.ts +2 -0
  114. package/dts/src/assets/components/user.vue.d.ts +2 -0
  115. package/dts/src/assets/components/visit.vue.d.ts +2 -0
  116. package/dts/src/assets/components/xingming.vue.d.ts +2 -0
  117. package/dts/src/assets/components/yonghuguanli.vue.d.ts +2 -0
  118. package/dts/src/assets/components/youxiang.vue.d.ts +2 -0
  119. package/dts/src/components/TableSet/index.vue.d.ts +30 -0
  120. package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
  121. package/dts/src/index.d.ts +1 -0
  122. package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
  123. package/dts/src/views/system/dept/index.vue.d.ts +2 -0
  124. package/dts/src/views/system/job/edit.vue.d.ts +30 -0
  125. package/dts/src/views/system/job/index.vue.d.ts +2 -0
  126. package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
  127. package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
  128. package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
  129. package/dts/src/views/system/menu/index.vue.d.ts +2 -0
  130. package/dts/src/views/system/module/edit.vue.d.ts +31 -0
  131. package/dts/src/views/system/module/index.vue.d.ts +2 -0
  132. package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
  133. package/dts/src/views/system/operation/index.vue.d.ts +2 -0
  134. package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
  135. package/dts/src/views/system/permission/index.vue.d.ts +2 -0
  136. package/dts/src/views/system/role/edit.vue.d.ts +31 -0
  137. package/dts/src/views/system/role/index.vue.d.ts +2 -0
  138. package/dts/src/views/system/user/edit.vue.d.ts +31 -0
  139. package/dts/src/views/system/user/index.vue.d.ts +2 -0
  140. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, openBlock as n, createBlock as r, Transition as l, mergeProps as p, unref as g, toHandlers as m, withCtx as f, renderSlot as y } from "vue";
2
- import { u as c, _ as h } from "./index-DU2eVsAW.mjs";
2
+ import { u as c, _ as h } from "./index-BZmBra9p.mjs";
3
3
  const _ = s({
4
4
  name: "ElCollapseTransition"
5
5
  }), v = /* @__PURE__ */ s({
@@ -1,11 +1,11 @@
1
- import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-DczNM7Yo.mjs";
2
- import { _ as q } from "./PieChart.vue_vue_type_script_setup_true_lang-DvUxmpJd.mjs";
3
- import J from "./BarChart-_ufiTR1U.mjs";
4
- import { b as K, d as T, u as Q, al as W, am as X, _ as tt, w as et, a8 as D, a2 as st, an as E, ao as M, Y as ot, ap as at } from "./index-DU2eVsAW.mjs";
5
- import { E as nt } from "./el-card-CTfOuSxg.mjs";
6
- import { E as it, a as lt } from "./el-col-DvXYjmML.mjs";
7
- import { defineComponent as V, computed as A, 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 ct, pushScopeId as F, popScopeId as R, ref as I, createVNode as e, withCtx as s } from "vue";
8
- const rt = K({
1
+ import { _ as Y } from "./RadarChart.vue_vue_type_script_setup_true_lang-BZIhY1E5.mjs";
2
+ import { _ as J } from "./PieChart.vue_vue_type_script_setup_true_lang-ClK4nw9w.mjs";
3
+ import K from "./BarChart-C-caT8Gl.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-BZmBra9p.mjs";
5
+ import { E as lt } from "./el-card-CNI2w28c.mjs";
6
+ import { E as rt, a as ct } from "./el-col-kKL_8vqp.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
9
  decimalSeparator: {
10
10
  type: String,
11
11
  default: "."
@@ -20,32 +20,32 @@ const rt = K({
20
20
  },
21
21
  formatter: Function,
22
22
  value: {
23
- type: T([Number, Object]),
23
+ type: D([Number, Object]),
24
24
  default: 0
25
25
  },
26
26
  prefix: String,
27
27
  suffix: String,
28
28
  title: String,
29
29
  valueStyle: {
30
- type: T([String, Object, Array])
30
+ type: D([String, Object, Array])
31
31
  }
32
- }), dt = V({
32
+ }), _t = B({
33
33
  name: "ElStatistic"
34
- }), ut = /* @__PURE__ */ V({
35
- ...dt,
36
- props: rt,
37
- setup(l, { expose: y }) {
38
- const z = l, d = Q("statistic"), b = A(() => {
39
- const { value: o, formatter: m, precision: h, decimalSeparator: w, groupSeparator: S } = z;
40
- if (W(m))
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
41
  return m(o);
42
- if (!X(o))
42
+ if (!tt(o))
43
43
  return o;
44
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, S), [x, u].join(u ? w : "");
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
46
  });
47
- return y({
48
- displayValue: b
47
+ return b({
48
+ displayValue: w
49
49
  }), (o, m) => (p(), f("div", {
50
50
  class: v(a(d).b())
51
51
  }, [
@@ -70,8 +70,8 @@ const rt = K({
70
70
  ], 2)) : P("v-if", !0),
71
71
  t("span", {
72
72
  class: v(a(d).e("number")),
73
- style: ct(o.valueStyle)
74
- }, n(a(b)), 7),
73
+ style: dt(o.valueStyle)
74
+ }, n(a(w)), 7),
75
75
  o.$slots.suffix || o.suffix ? (p(), f("div", {
76
76
  key: 1,
77
77
  class: v(a(d).e("suffix"))
@@ -84,126 +84,126 @@ const rt = K({
84
84
  ], 2));
85
85
  }
86
86
  });
87
- var _t = /* @__PURE__ */ tt(ut, [["__file", "statistic.vue"]]);
88
- const pt = et(_t), ft = {}, B = (l) => (F("data-v-5088dedb"), l = l(), R(), l), mt = {
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
89
  href: "https://github.com/haoxianrui",
90
90
  target: "_blank",
91
91
  class: "github-corner",
92
92
  "aria-label": "View source on Github"
93
- }, ht = {
93
+ }, vt = {
94
94
  width: "80",
95
95
  height: "80",
96
96
  viewBox: "0 0 250 250",
97
97
  style: { color: "#fff", fill: "#40c9c6" },
98
98
  "aria-hidden": "true"
99
- }, xt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", { d: "M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" }, null, -1)), vt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", {
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
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
101
  fill: "currentColor",
102
102
  style: { "transform-origin": "130px 106px" },
103
103
  class: "octo-arm"
104
- }, null, -1)), gt = /* @__PURE__ */ B(() => /* @__PURE__ */ t("path", {
104
+ }, null, -1)), bt = /* @__PURE__ */ T(() => /* @__PURE__ */ t("path", {
105
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
106
  fill: "currentColor",
107
107
  class: "octo-body"
108
- }, null, -1)), yt = [
109
- xt,
110
- vt,
111
- gt
108
+ }, null, -1)), Ct = [
109
+ gt,
110
+ yt,
111
+ bt
112
112
  ];
113
- function bt(l, y) {
114
- return p(), f("a", mt, [
115
- (p(), f("svg", ht, yt))
113
+ function wt(l, b) {
114
+ return p(), f("a", xt, [
115
+ (p(), f("svg", vt, Ct))
116
116
  ]);
117
117
  }
118
- const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb"]]), i = (l) => (F("data-v-ac37bc3b"), l = l(), R(), l), wt = { class: "dashboard-container" }, St = { class: "flex h-full items-center" }, jt = ["src"], $t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("p", { class: "text-sm text-gray" }, " 今日天气晴朗,气温在15℃至25℃之间,东南风。 ", -1)), Et = { class: "flex h-full items-center justify-around" }, Mt = { class: "flex items-center" }, It = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[16px] ml-1" }, "消息", -1)), 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 justify-between" }, Pt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "访客数", -1)), Vt = { class: "flex items-center justify-between mt-5" }, Bt = { class: "text-lg text-right" }, Tt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Dt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总访客数 ", -1)), At = { class: "flex items-center justify-between" }, Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "IP数", -1)), Rt = { class: "flex items-center justify-between mt-5" }, Zt = { 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)), Ut = { class: "flex items-center justify-between" }, Yt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "销售额", -1)), qt = { class: "flex items-center justify-between mt-5" }, Jt = { class: "text-lg text-right" }, Kt = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, Qt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总销售额 ", -1)), Wt = { class: "flex items-center justify-between" }, Xt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "text-[var(--el-text-color-secondary)]" }, "订单量", -1)), te = { class: "flex items-center justify-between mt-5" }, ee = { class: "text-lg text-right" }, se = { class: "flex items-center justify-between mt-5 text-sm text-[var(--el-text-color-secondary)]" }, oe = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", null, " 总订单量 ", -1)), O = 5e3, ae = /* @__PURE__ */ V({
118
+ const St = /* @__PURE__ */ F(ht, [["render", wt], ["__scopeId", "data-v-431733f3"]]), i = (l) => (U("data-v-63d965b7"), 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
119
  name: "Dashboard",
120
120
  inheritAttrs: !1,
121
121
  __name: "index",
122
122
  setup(l) {
123
- const y = st(), z = /* @__PURE__ */ new Date(), d = A(() => {
124
- const c = z.getHours();
125
- let j = y.user.realName;
126
- if (c >= 6 && c < 8)
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
127
  return "晨起披衣出草堂,轩窗已自喜微凉🌅!";
128
- if (c >= 8 && c < 12)
129
- return "上午好," + j + "!";
130
- if (c >= 12 && c < 18)
131
- return "下午好," + j + "!";
132
- if (c >= 18 && c < 24)
133
- return "晚上好," + j + "!";
134
- if (c >= 0 && c < 6)
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
135
  return "偷偷向银河要了一把碎星,只等你闭上眼睛撒入你的梦中,晚安🌛!";
136
- }), b = I(0), o = E(b, {
137
- duration: O,
138
- transition: M.easeOutExpo
136
+ }), o = O(0), m = M(o, {
137
+ duration: z,
138
+ transition: I.easeOutExpo
139
139
  });
140
- b.value = 2e3;
141
- const m = I(0), h = E(m, {
142
- duration: O,
143
- transition: M.easeOutExpo
140
+ o.value = 2e3;
141
+ const h = O(0), S = M(h, {
142
+ duration: z,
143
+ transition: I.easeOutExpo
144
144
  });
145
- m.value = 2e3;
146
- const w = I(0), S = E(w, {
147
- duration: O,
148
- transition: M.easeOutExpo
145
+ h.value = 2e3;
146
+ const j = O(0), x = M(j, {
147
+ duration: z,
148
+ transition: I.easeOutExpo
149
149
  });
150
- w.value = 2e3;
151
- const x = I(0), u = E(x, {
152
- duration: O,
153
- transition: M.easeOutExpo
150
+ j.value = 2e3;
151
+ const u = O(0), A = M(u, {
152
+ duration: z,
153
+ transition: I.easeOutExpo
154
154
  });
155
- return x.value = 2e3, (c, j) => {
156
- const Z = Ct, r = it, _ = ot, N = pt, k = lt, C = nt, $ = at, G = J, H = q, U = Y;
157
- return p(), f("div", wt, [
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
158
  e(Z, { class: "github-corner" }),
159
- e(C, { shadow: "never" }, {
159
+ e(y, { shadow: "never" }, {
160
160
  default: s(() => [
161
161
  e(k, { justify: "space-between" }, {
162
162
  default: s(() => [
163
- e(r, {
163
+ e(c, {
164
164
  span: 18,
165
165
  xs: 24
166
166
  }, {
167
167
  default: s(() => [
168
- t("div", St, [
168
+ t("div", $t, [
169
169
  t("img", {
170
170
  class: "w-20 h-20 mr-5 rounded-full",
171
- src: a(y).user.avatar + "?imageView2/1/w/80/h/80"
172
- }, null, 8, jt),
171
+ src: a(b)
172
+ }, null, 8, Et),
173
173
  t("div", null, [
174
- t("p", null, n(a(d)), 1),
175
- $t
174
+ t("p", null, n(a(w)), 1),
175
+ Mt
176
176
  ])
177
177
  ])
178
178
  ]),
179
179
  _: 1
180
180
  }),
181
- e(r, {
181
+ e(c, {
182
182
  span: 6,
183
183
  xs: 24
184
184
  }, {
185
185
  default: s(() => [
186
- t("div", Et, [
186
+ t("div", It, [
187
187
  e(N, { value: 99 }, {
188
188
  title: s(() => [
189
- t("div", Mt, [
189
+ t("div", Ot, [
190
190
  e(_, {
191
191
  "icon-class": "message",
192
192
  size: "20px"
193
193
  }),
194
- It
194
+ zt
195
195
  ])
196
196
  ]),
197
197
  _: 1
198
198
  }),
199
199
  e(N, { value: 50 }, {
200
200
  title: s(() => [
201
- t("div", Ot, [
201
+ t("div", Nt, [
202
202
  e(_, {
203
203
  "icon-class": "todolist",
204
204
  size: "20px"
205
205
  }),
206
- zt
206
+ kt
207
207
  ])
208
208
  ]),
209
209
  suffix: s(() => [
@@ -213,12 +213,12 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
213
213
  }),
214
214
  e(N, { value: 10 }, {
215
215
  title: s(() => [
216
- t("div", Nt, [
216
+ t("div", Lt, [
217
217
  e(_, {
218
218
  "icon-class": "project",
219
219
  size: "20px"
220
220
  }),
221
- kt
221
+ Pt
222
222
  ])
223
223
  ]),
224
224
  _: 1
@@ -238,17 +238,17 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
238
238
  class: "mt-3"
239
239
  }, {
240
240
  default: s(() => [
241
- e(r, {
241
+ e(c, {
242
242
  xs: 24,
243
243
  sm: 12,
244
244
  lg: 6
245
245
  }, {
246
246
  default: s(() => [
247
- e(C, { shadow: "never" }, {
247
+ e(y, { shadow: "never" }, {
248
248
  header: s(() => [
249
- t("div", Lt, [
250
- Pt,
251
- e($, { type: "success" }, {
249
+ t("div", Vt, [
250
+ Bt,
251
+ e(E, { type: "success" }, {
252
252
  default: s(() => [
253
253
  g("日")
254
254
  ]),
@@ -257,16 +257,16 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
257
257
  ])
258
258
  ]),
259
259
  default: s(() => [
260
- t("div", Vt, [
261
- t("div", Bt, n(Math.round(a(h))), 1),
260
+ t("div", Tt, [
261
+ t("div", At, n(Math.round(a(S))), 1),
262
262
  e(_, {
263
263
  "icon-class": "visit",
264
264
  size: "2em"
265
265
  })
266
266
  ]),
267
- t("div", Tt, [
268
- Dt,
269
- t("span", null, n(Math.round(a(h) * 15)), 1)
267
+ t("div", Dt, [
268
+ Ft,
269
+ t("span", null, n(Math.round(a(S) * 15)), 1)
270
270
  ])
271
271
  ]),
272
272
  _: 1
@@ -274,17 +274,17 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
274
274
  ]),
275
275
  _: 1
276
276
  }),
277
- e(r, {
277
+ e(c, {
278
278
  xs: 24,
279
279
  sm: 12,
280
280
  lg: 6
281
281
  }, {
282
282
  default: s(() => [
283
- e(C, { shadow: "never" }, {
283
+ e(y, { shadow: "never" }, {
284
284
  header: s(() => [
285
- t("div", At, [
286
- Ft,
287
- e($, { type: "success" }, {
285
+ t("div", Ut, [
286
+ Rt,
287
+ e(E, { type: "success" }, {
288
288
  default: s(() => [
289
289
  g("日")
290
290
  ]),
@@ -293,8 +293,8 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
293
293
  ])
294
294
  ]),
295
295
  default: s(() => [
296
- t("div", Rt, [
297
- t("div", Zt, n(Math.round(a(S))), 1),
296
+ t("div", Zt, [
297
+ t("div", qt, n(Math.round(a(x))), 1),
298
298
  e(_, {
299
299
  "icon-class": "ip",
300
300
  size: "2em"
@@ -302,7 +302,7 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
302
302
  ]),
303
303
  t("div", Gt, [
304
304
  Ht,
305
- t("span", null, n(Math.round(a(S))), 1)
305
+ t("span", null, n(Math.round(a(x))), 1)
306
306
  ])
307
307
  ]),
308
308
  _: 1
@@ -310,17 +310,17 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
310
310
  ]),
311
311
  _: 1
312
312
  }),
313
- e(r, {
313
+ e(c, {
314
314
  xs: 24,
315
315
  sm: 12,
316
316
  lg: 6
317
317
  }, {
318
318
  default: s(() => [
319
- e(C, { shadow: "never" }, {
319
+ e(y, { shadow: "never" }, {
320
320
  header: s(() => [
321
- t("div", Ut, [
322
- Yt,
323
- e($, null, {
321
+ t("div", Yt, [
322
+ Jt,
323
+ e(E, null, {
324
324
  default: s(() => [
325
325
  g("月")
326
326
  ]),
@@ -329,16 +329,16 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
329
329
  ])
330
330
  ]),
331
331
  default: s(() => [
332
- t("div", qt, [
333
- t("div", Jt, n(Math.round(a(o))), 1),
332
+ t("div", Kt, [
333
+ t("div", Qt, n(Math.round(a(m))), 1),
334
334
  e(_, {
335
335
  "icon-class": "money",
336
336
  size: "2em"
337
337
  })
338
338
  ]),
339
- t("div", Kt, [
340
- Qt,
341
- t("span", null, n(Math.round(a(o) * 15)), 1)
339
+ t("div", Wt, [
340
+ Xt,
341
+ t("span", null, n(Math.round(a(m) * 15)), 1)
342
342
  ])
343
343
  ]),
344
344
  _: 1
@@ -346,17 +346,17 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
346
346
  ]),
347
347
  _: 1
348
348
  }),
349
- e(r, {
349
+ e(c, {
350
350
  xs: 24,
351
351
  sm: 12,
352
352
  lg: 6
353
353
  }, {
354
354
  default: s(() => [
355
- e(C, { shadow: "never" }, {
355
+ e(y, { shadow: "never" }, {
356
356
  header: s(() => [
357
- t("div", Wt, [
358
- Xt,
359
- e($, { type: "danger" }, {
357
+ t("div", te, [
358
+ ee,
359
+ e(E, { type: "danger" }, {
360
360
  default: s(() => [
361
361
  g("季")
362
362
  ]),
@@ -365,16 +365,16 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
365
365
  ])
366
366
  ]),
367
367
  default: s(() => [
368
- t("div", te, [
369
- t("div", ee, n(Math.round(a(u))), 1),
368
+ t("div", se, [
369
+ t("div", oe, n(Math.round(a(A))), 1),
370
370
  e(_, {
371
371
  "icon-class": "order",
372
372
  size: "2em"
373
373
  })
374
374
  ]),
375
- t("div", se, [
376
- oe,
377
- t("span", null, n(Math.round(a(u) * 15)), 1)
375
+ t("div", ae, [
376
+ ne,
377
+ t("span", null, n(Math.round(a(A) * 15)), 1)
378
378
  ])
379
379
  ]),
380
380
  _: 1
@@ -390,13 +390,13 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
390
390
  class: "mt-3"
391
391
  }, {
392
392
  default: s(() => [
393
- e(r, {
393
+ e(c, {
394
394
  sm: 24,
395
395
  lg: 8,
396
396
  class: "mb-2"
397
397
  }, {
398
398
  default: s(() => [
399
- e(G, {
399
+ e(q, {
400
400
  id: "barChart",
401
401
  height: "400px",
402
402
  width: "100%",
@@ -405,14 +405,14 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
405
405
  ]),
406
406
  _: 1
407
407
  }),
408
- e(r, {
408
+ e(c, {
409
409
  xs: 24,
410
410
  sm: 12,
411
411
  lg: 8,
412
412
  class: "mb-2"
413
413
  }, {
414
414
  default: s(() => [
415
- e(H, {
415
+ e(G, {
416
416
  id: "pieChart",
417
417
  height: "400px",
418
418
  width: "100%",
@@ -421,14 +421,14 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
421
421
  ]),
422
422
  _: 1
423
423
  }),
424
- e(r, {
424
+ e(c, {
425
425
  xs: 24,
426
426
  sm: 12,
427
427
  lg: 8,
428
428
  class: "mb-2"
429
429
  }, {
430
430
  default: s(() => [
431
- e(U, {
431
+ e(H, {
432
432
  id: "radarChart",
433
433
  height: "400px",
434
434
  width: "100%",
@@ -443,7 +443,7 @@ const Ct = /* @__PURE__ */ D(ft, [["render", bt], ["__scopeId", "data-v-5088dedb
443
443
  ]);
444
444
  };
445
445
  }
446
- }), _e = /* @__PURE__ */ D(ae, [["__scopeId", "data-v-ac37bc3b"]]);
446
+ }), fe = /* @__PURE__ */ F(ie, [["__scopeId", "data-v-63d965b7"]]);
447
447
  export {
448
- _e as default
448
+ fe as default
449
449
  };
package/dist/index.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { bP as e, bQ as t, c6 as r, bR as o, bS as b, c4 as u, c5 as i, c0 as c, c1 as n, c2 as p, c3 as g, c7 as d, bW as P, bF as S, bG as E, bB as l, bM as M, bN as D, bD as m, a6 as k, bC as f, bT as v, ar as y, bL as H, a9 as L, bE as R, ax as A, bA as B, b_ as C, aa as T, bp as U, aw as V, bX as W, bH as h, b$ as x, bK as z, bI as q, bJ as w, W as F, bY as Q, bO as G, bU as I, ab as J, bq as K, a3 as N, bV as O, a1 as X, a2 as Y, bZ as Z, at as _ } from "./index-DU2eVsAW.mjs";
1
+ import { bQ as e, bR as t, c7 as r, bS as o, bT as b, c5 as i, c6 as u, c1 as c, c2 as n, c3 as p, c4 as g, c8 as d, bX as P, bG as S, bH as l, bC as E, bN as M, bO as D, bE as m, a7 as f, bD as k, bU as y, a6 as v, as as H, bM as L, aa as R, bF as A, ay as B, bB as C, b$ as T, ab as U, bq as V, ax as W, bY as h, bI as x, c0 as z, bL as q, bJ as F, bK as Q, W as w, bZ as G, bP as I, bV as J, ac as K, br as N, a3 as O, bW as X, a1 as Y, a2 as Z, b_ as _, au as $ } from "./index-BZmBra9p.mjs";
2
2
  export {
3
3
  e as BizDict,
4
4
  t as BizLayDict,
5
5
  r as DashboardPage,
6
6
  o as EnableBizDict,
7
7
  b as EnumDict,
8
- u as Error401Page,
9
- i as Error404Page,
8
+ i as Error401Page,
9
+ u as Error404Page,
10
10
  c as Layout,
11
11
  n as LoginPage,
12
12
  p as MultiFactorLoginPage,
@@ -14,40 +14,41 @@ export {
14
14
  d as RedirectPage,
15
15
  P as TableHooks,
16
16
  S as addViteMenus,
17
- E as addWebpackMenus,
18
- l as axiosConfig,
17
+ l as addWebpackMenus,
18
+ E as axiosConfig,
19
19
  M as clearEmpty,
20
20
  D as deepMerge,
21
21
  m as default,
22
- k as defaultSettings,
23
- f as directive,
24
- v as enumMapCache,
25
- y as getCaptchaApi,
26
- H as getQueryParams,
27
- L as i18n,
28
- R as menus,
29
- A as netEncrypt,
30
- B as request,
31
- C as resetRouter,
32
- T as routerRef,
33
- U as runAsUser,
34
- V as selectDsdRoles,
35
- W as store,
36
- h as updateMetaEnv,
37
- x as updateRouter,
38
- z as updateSettings,
39
- q as updateViteMetaEnv,
40
- w as updateWebpackMetaEnv,
41
- F as useAppStore,
42
- Q as useAppStoreHook,
43
- G as useDictionary,
44
- I as useListData,
45
- J as usePermissionStore,
46
- K as usePermissionStoreHook,
47
- N as useSettingsStore,
48
- O as useTableHooks,
49
- X as useTagsViewStore,
50
- Y as useUserStore,
51
- Z as useUserStoreHook,
52
- _ as vueMetaEnv
22
+ f as defaultSettings,
23
+ k as directive,
24
+ y as enumMapCache,
25
+ v as fileApi,
26
+ H as getCaptchaApi,
27
+ L as getQueryParams,
28
+ R as i18n,
29
+ A as menus,
30
+ B as netEncrypt,
31
+ C as request,
32
+ T as resetRouter,
33
+ U as routerRef,
34
+ V as runAsUser,
35
+ W as selectDsdRoles,
36
+ h as store,
37
+ x as updateMetaEnv,
38
+ z as updateRouter,
39
+ q as updateSettings,
40
+ F as updateViteMetaEnv,
41
+ Q as updateWebpackMetaEnv,
42
+ w as useAppStore,
43
+ G as useAppStoreHook,
44
+ I as useDictionary,
45
+ J as useListData,
46
+ K as usePermissionStore,
47
+ N as usePermissionStoreHook,
48
+ O as useSettingsStore,
49
+ X as useTableHooks,
50
+ Y as useTagsViewStore,
51
+ Z as useUserStore,
52
+ _ as useUserStoreHook,
53
+ $ as vueMetaEnv
53
54
  };