jmash-core 0.0.56 → 0.0.58

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 (141) hide show
  1. package/README.md +52 -52
  2. package/dist/{401-Czg6242F.mjs → 401-BEKNdvO3.mjs} +4 -4
  3. package/dist/{404-Dr_nkvyI.mjs → 404-282_vadI.mjs} +3 -3
  4. package/dist/{BarChart-B8rhZu38.mjs → BarChart-nYHRwJHY.mjs} +3 -3
  5. package/dist/{PieChart-CyiSmvUe.mjs → PieChart-C1QJQ2Qx.mjs} +1 -1
  6. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DTR8kinB.mjs → PieChart.vue_vue_type_script_setup_true_lang-D8pUUo2m.mjs} +2 -2
  7. package/dist/{RadarChart-TPWCohg3.mjs → RadarChart-ln7Noh5r.mjs} +1 -1
  8. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CiX1LNwT.mjs → RadarChart.vue_vue_type_script_setup_true_lang-ARWxRg5l.mjs} +2 -2
  9. package/dist/{el-card-D1qZoaru.mjs → el-card-BFASmb2m.mjs} +1 -1
  10. package/dist/{el-col-DfKlG6iK.mjs → el-col-DfavdVIH.mjs} +1 -1
  11. package/dist/{el-form-item-3mNIgJOv.mjs → el-form-item-BgoLyF0W.mjs} +34 -34
  12. package/dist/{index-kIb5mhRj.mjs → index-BLJOFfop.mjs} +1 -1
  13. package/dist/{index-iPE7bqfp.mjs → index-CLdbrbb0.mjs} +9 -9
  14. package/dist/{index-CIrNOACT.mjs → index-Dsj9zYFf.mjs} +19 -19
  15. package/dist/{index-DJsDvfmB.mjs → index-ipIvIM2L.mjs} +11600 -9821
  16. package/dist/{index-CTwUAWfT.mjs → index-xHyweWAW.mjs} +81 -81
  17. package/dist/index.mjs +29 -28
  18. package/dist/{picture-DhouUa9E.mjs → picture-Bqb0oVrI.mjs} +2 -2
  19. package/dist/{position-4EiNY56k.mjs → position-CajZz9Z7.mjs} +1 -1
  20. package/dist/{profile-Chjf_MqO.mjs → profile-CysprqjK.mjs} +5 -5
  21. package/dist/{runAs-BnKzLWjT.mjs → runAs-Dw8PLhvu.mjs} +1 -1
  22. package/dist/{runAs.vue_vue_type_script_setup_true_lang--CZlIbv2.mjs → runAs.vue_vue_type_script_setup_true_lang-B8W9AJDN.mjs} +6 -6
  23. package/dist/style.css +1 -1
  24. package/dist/{types-BXtLyCaC.mjs → types-D-EOYDWg.mjs} +3 -3
  25. package/dist/{updatePwd-V4IxnLp-.mjs → updatePwd-CPlwjwWp.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-C20z5HL9.mjs → updatePwd.vue_vue_type_script_setup_true_lang-BTXy0Kuq.mjs} +31 -30
  27. package/dts/src/api/system/dept/index.d.ts +91 -0
  28. package/dts/src/api/system/dept/types.d.ts +63 -0
  29. package/dts/src/api/system/index.d.ts +7 -0
  30. package/dts/src/api/system/job/index.d.ts +42 -0
  31. package/dts/src/api/system/job/types.d.ts +60 -0
  32. package/dts/src/api/system/log/index.d.ts +29 -0
  33. package/dts/src/api/system/log/types.d.ts +42 -0
  34. package/dts/src/api/system/menu/index.d.ts +103 -0
  35. package/dts/src/api/system/menu/types.d.ts +96 -0
  36. package/dts/src/api/system/module/index.d.ts +57 -0
  37. package/dts/src/api/system/module/types.d.ts +13 -0
  38. package/dts/src/api/system/operation/index.d.ts +51 -0
  39. package/dts/src/api/system/operation/types.d.ts +12 -0
  40. package/dts/src/api/system/permission/index.d.ts +50 -0
  41. package/dts/src/api/system/permission/types.d.ts +12 -0
  42. package/dts/src/api/system/role/index.d.ts +77 -0
  43. package/dts/src/api/system/role/types.d.ts +26 -0
  44. package/dts/src/api/system/user/index.d.ts +133 -0
  45. package/dts/src/api/system/user/types.d.ts +53 -0
  46. package/dts/src/api/system/userLog/index.d.ts +29 -0
  47. package/dts/src/api/system/userLog/types.d.ts +22 -0
  48. package/dts/src/assets/components/a-fixed.vue.d.ts +2 -0
  49. package/dts/src/assets/components/a-list.vue.d.ts +2 -0
  50. package/dts/src/assets/components/anquanrizhi.vue.d.ts +2 -0
  51. package/dts/src/assets/components/api.vue.d.ts +2 -0
  52. package/dts/src/assets/components/bumenguanli.vue.d.ts +2 -0
  53. package/dts/src/assets/components/caozuoguanliyuan.vue.d.ts +2 -0
  54. package/dts/src/assets/components/captcha.vue.d.ts +2 -0
  55. package/dts/src/assets/components/cascader.vue.d.ts +2 -0
  56. package/dts/src/assets/components/client.vue.d.ts +2 -0
  57. package/dts/src/assets/components/close-all.vue.d.ts +2 -0
  58. package/dts/src/assets/components/close-left.vue.d.ts +2 -0
  59. package/dts/src/assets/components/close-other.vue.d.ts +2 -0
  60. package/dts/src/assets/components/close-right.vue.d.ts +2 -0
  61. package/dts/src/assets/components/close.vue.d.ts +2 -0
  62. package/dts/src/assets/components/dict.vue.d.ts +2 -0
  63. package/dts/src/assets/components/document.vue.d.ts +2 -0
  64. package/dts/src/assets/components/download.vue.d.ts +2 -0
  65. package/dts/src/assets/components/drag.vue.d.ts +2 -0
  66. package/dts/src/assets/components/edit.vue.d.ts +2 -0
  67. package/dts/src/assets/components/email.vue.d.ts +2 -0
  68. package/dts/src/assets/components/exit-fullscreen.vue.d.ts +2 -0
  69. package/dts/src/assets/components/eye-open.vue.d.ts +2 -0
  70. package/dts/src/assets/components/eye.vue.d.ts +2 -0
  71. package/dts/src/assets/components/fullscreen-exit.vue.d.ts +2 -0
  72. package/dts/src/assets/components/fullscreen.vue.d.ts +2 -0
  73. package/dts/src/assets/components/gangweiguanli.vue.d.ts +2 -0
  74. package/dts/src/assets/components/github.vue.d.ts +2 -0
  75. package/dts/src/assets/components/homepage.vue.d.ts +2 -0
  76. package/dts/src/assets/components/icon-eye.vue.d.ts +2 -0
  77. package/dts/src/assets/components/icon-open-eye.vue.d.ts +2 -0
  78. package/dts/src/assets/components/icon.vue.d.ts +2 -0
  79. package/dts/src/assets/components/indent-decrease.vue.d.ts +2 -0
  80. package/dts/src/assets/components/ip.vue.d.ts +2 -0
  81. package/dts/src/assets/components/jiemianxijietubiao-26.vue.d.ts +2 -0
  82. package/dts/src/assets/components/language.vue.d.ts +2 -0
  83. package/dts/src/assets/components/link.vue.d.ts +2 -0
  84. package/dts/src/assets/components/lock.vue.d.ts +2 -0
  85. package/dts/src/assets/components/log.vue.d.ts +2 -0
  86. package/dts/src/assets/components/menu.vue.d.ts +2 -0
  87. package/dts/src/assets/components/message.vue.d.ts +2 -0
  88. package/dts/src/assets/components/mokuaiguanli.vue.d.ts +2 -0
  89. package/dts/src/assets/components/money.vue.d.ts +2 -0
  90. package/dts/src/assets/components/monitor.vue.d.ts +2 -0
  91. package/dts/src/assets/components/moon.vue.d.ts +2 -0
  92. package/dts/src/assets/components/order.vue.d.ts +2 -0
  93. package/dts/src/assets/components/password.vue.d.ts +2 -0
  94. package/dts/src/assets/components/peoples.vue.d.ts +2 -0
  95. package/dts/src/assets/components/phone.vue.d.ts +2 -0
  96. package/dts/src/assets/components/project.vue.d.ts +2 -0
  97. package/dts/src/assets/components/publish.vue.d.ts +2 -0
  98. package/dts/src/assets/components/quanxianguanli.vue.d.ts +2 -0
  99. package/dts/src/assets/components/redis.vue.d.ts +2 -0
  100. package/dts/src/assets/components/refresh.vue.d.ts +2 -0
  101. package/dts/src/assets/components/role.vue.d.ts +2 -0
  102. package/dts/src/assets/components/security.vue.d.ts +2 -0
  103. package/dts/src/assets/components/setting.vue.d.ts +2 -0
  104. package/dts/src/assets/components/shoujihao.vue.d.ts +2 -0
  105. package/dts/src/assets/components/shrink.vue.d.ts +2 -0
  106. package/dts/src/assets/components/size.vue.d.ts +2 -0
  107. package/dts/src/assets/components/sunny.vue.d.ts +2 -0
  108. package/dts/src/assets/components/system.vue.d.ts +2 -0
  109. package/dts/src/assets/components/table.vue.d.ts +2 -0
  110. package/dts/src/assets/components/team.vue.d.ts +2 -0
  111. package/dts/src/assets/components/todolist.vue.d.ts +2 -0
  112. package/dts/src/assets/components/tree.vue.d.ts +2 -0
  113. package/dts/src/assets/components/user.vue.d.ts +2 -0
  114. package/dts/src/assets/components/visit.vue.d.ts +2 -0
  115. package/dts/src/assets/components/xingming.vue.d.ts +2 -0
  116. package/dts/src/assets/components/yonghuguanli.vue.d.ts +2 -0
  117. package/dts/src/assets/components/youxiang.vue.d.ts +2 -0
  118. package/dts/src/components/Pagination/index.vue.d.ts +1 -1
  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/utils/netsecret.d.ts +1 -0
  123. package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
  124. package/dts/src/views/system/dept/index.vue.d.ts +2 -0
  125. package/dts/src/views/system/job/edit.vue.d.ts +30 -0
  126. package/dts/src/views/system/job/index.vue.d.ts +2 -0
  127. package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
  128. package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
  129. package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
  130. package/dts/src/views/system/menu/index.vue.d.ts +2 -0
  131. package/dts/src/views/system/module/edit.vue.d.ts +31 -0
  132. package/dts/src/views/system/module/index.vue.d.ts +2 -0
  133. package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
  134. package/dts/src/views/system/operation/index.vue.d.ts +2 -0
  135. package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
  136. package/dts/src/views/system/permission/index.vue.d.ts +2 -0
  137. package/dts/src/views/system/role/edit.vue.d.ts +31 -0
  138. package/dts/src/views/system/role/index.vue.d.ts +2 -0
  139. package/dts/src/views/system/user/edit.vue.d.ts +31 -0
  140. package/dts/src/views/system/user/index.vue.d.ts +2 -0
  141. package/package.json +2 -1
@@ -1,38 +1,38 @@
1
- import { a3 as x, W as T, ak as ee, a2 as oe, a7 as te, Y as u, av as se, ar as le, aw as ae, aa as ne, ag as re, ap as ce, ax as ie, ay as de, s as pe, r as ue, t as me, a8 as _e } from "./index-DJsDvfmB.mjs";
2
- import { E as fe } from "./el-card-D1qZoaru.mjs";
3
- import { _ as ge, E as he } from "./picture-DhouUa9E.mjs";
4
- import { E as ve } from "./el-form-item-3mNIgJOv.mjs";
5
- import { defineComponent as we, ref as c, watchEffect as ke, computed as ye, onMounted as Ce, resolveComponent as Ee, openBlock as v, createElementBlock as q, createElementVNode as a, createVNode as s, unref as o, isRef as Ve, withCtx as n, toDisplayString as I, createTextVNode as $, createBlock as U, Fragment as Se, renderList as be, createCommentVNode as xe, withKeys as A, withModifiers as Ie, withDirectives as $e, vShow as Re, pushScopeId as De, popScopeId as Le } from "vue";
6
- import { useI18n as Te } from "vue-i18n";
1
+ import { a3 as x, W as T, ak as ee, a2 as oe, a7 as te, Y as u, av as se, ar as le, aw as ae, ax as ne, aa as re, ag as ce, ap as ie, ay as de, az as pe, s as ue, r as me, t as _e, a8 as ge } from "./index-ipIvIM2L.mjs";
2
+ import { E as he } from "./el-card-BFASmb2m.mjs";
3
+ import { _ as fe, E as ve } from "./picture-Bqb0oVrI.mjs";
4
+ import { E as we } from "./el-form-item-BgoLyF0W.mjs";
5
+ import { defineComponent as ye, ref as c, watchEffect as ke, computed as Ce, onMounted as Ee, resolveComponent as be, openBlock as v, createElementBlock as q, createElementVNode as a, createVNode as s, unref as o, isRef as Ve, withCtx as r, toDisplayString as I, createTextVNode as $, createBlock as U, Fragment as Se, renderList as xe, createCommentVNode as Ie, withKeys as A, withModifiers as $e, withDirectives as Re, vShow as De, pushScopeId as Le, popScopeId as Te } from "vue";
6
+ import { useI18n as qe } from "vue-i18n";
7
7
  import { ElForm as B } from "element-plus";
8
- import { useRoute as qe } from "vue-router";
9
- const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login-container" }, Ae = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Be = { class: "text-center relative" }, Fe = { class: "p-2" }, Ne = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, ze = { class: "captcha" }, Oe = { class: "image-slot" }, We = { class: "forgot-pwd" }, je = { class: "absolute bottom-1 text-[10px] text-center" }, Me = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, "备案号: XXXX .", -1)), He = [
10
- Me,
11
- Pe
12
- ], Qe = 992, Ye = /* @__PURE__ */ we({
8
+ import { useRoute as Ue } from "vue-router";
9
+ const F = (m) => (Le("data-v-10b9a69c"), m = m(), Te(), m), Ae = { class: "login-container" }, Be = { class: "absolute top-0 flex items-center justify-end px-5 h-20 w-full" }, Fe = { class: "text-center relative" }, Ne = { class: "p-2" }, ze = { class: "p-2" }, Ke = { class: "p-2" }, Xe = { class: "p-2" }, Oe = { class: "captcha" }, We = { class: "image-slot" }, je = { class: "forgot-pwd" }, Me = { class: "absolute bottom-1 text-[10px] text-center" }, Pe = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, " Copyright © 2024 All Rights Reserved. Apache 2.0 协议. ", -1)), He = /* @__PURE__ */ F(() => /* @__PURE__ */ a("p", null, "备案号: XXXX .", -1)), Qe = [
10
+ Pe,
11
+ He
12
+ ], Ye = 992, Ze = /* @__PURE__ */ ye({
13
13
  __name: "index",
14
14
  setup(m) {
15
- const w = x(), { title: N, version: K } = w, k = c(w.theme === "dark"), X = (e) => {
15
+ const w = x(), { title: N, version: z } = w, y = c(w.theme === "dark"), K = (e) => {
16
16
  se(e), w.changeSetting({
17
17
  key: "theme",
18
18
  value: e ? "dark" : "light"
19
19
  });
20
- }, y = T(), { width: z } = ee();
20
+ }, k = T(), { width: X } = ee();
21
21
  ke(() => {
22
- z.value < Qe ? y.toggleDevice("mobile") : y.toggleDevice("desktop");
22
+ X.value < Ye ? k.toggleDevice("mobile") : k.toggleDevice("desktop");
23
23
  });
24
- const C = c(!1), R = c(!1), _ = c(!1), D = c(), L = c(B), E = c([]), r = c({
24
+ const C = c(!1), R = c(!1), _ = c(!1), D = c(), L = c(B), E = c([]), n = c({
25
25
  scope: "",
26
26
  username: "",
27
27
  password: ""
28
- }), { t: V } = Te(), O = ye(() => {
29
- const e = y.language === "en" ? "Please enter " : "请输入";
28
+ }), { t: b } = qe(), O = Ce(() => {
29
+ const e = k.language === "en" ? "Please enter " : "请输入";
30
30
  return {
31
31
  username: [
32
32
  {
33
33
  required: !0,
34
34
  trigger: "blur",
35
- message: `${e}${V("login.username")}`
35
+ message: `${e}${b("login.username")}`
36
36
  }
37
37
  ],
38
38
  password: [
@@ -42,14 +42,14 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
42
42
  validator: (t, d, i) => {
43
43
  d.length < 5 ? i(new Error("The password can not be less than 5 digits")) : i();
44
44
  },
45
- message: `${e}${V("login.password")}`
45
+ message: `${e}${b("login.password")}`
46
46
  }
47
47
  ],
48
48
  captchaCode: [
49
49
  {
50
50
  required: !0,
51
51
  trigger: "blur",
52
- message: `${e}${V("login.captchaCode")}`
52
+ message: `${e}${b("login.captchaCode")}`
53
53
  }
54
54
  ]
55
55
  };
@@ -58,9 +58,9 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
58
58
  const { key: t } = e;
59
59
  R.value = t && t.length === 1 && t >= "A" && t <= "Z";
60
60
  }
61
- function f() {
61
+ function g() {
62
62
  le().then(({ data: e }) => {
63
- r.value.captchaKey = e.captchaId, D.value = e.base64Image;
63
+ n.value.captchaKey = e.captchaId, D.value = e.base64Image;
64
64
  });
65
65
  }
66
66
  function j() {
@@ -68,47 +68,47 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
68
68
  E.value = e.roleList;
69
69
  });
70
70
  }
71
- const M = qe(), P = oe();
72
- function S() {
71
+ const M = Ue(), P = oe();
72
+ function V() {
73
73
  L.value.validate((e) => {
74
- e && (C.value = !0, P.login(r.value).then(() => {
74
+ e && (C.value = !0, n.value.password = ne(n.value.password), P.login(n.value).then(() => {
75
75
  const t = M.query, d = t.redirect ?? "/", i = Object.keys(t).reduce(
76
- (g, p) => (p !== "redirect" && (g[p] = t[p]), g),
76
+ (h, p) => (p !== "redirect" && (h[p] = t[p]), h),
77
77
  {}
78
78
  );
79
- ne.value.push({ path: d, query: i }), f();
79
+ re.value.push({ path: d, query: i }), g();
80
80
  }).catch(() => {
81
- f();
81
+ g();
82
82
  }).finally(() => {
83
83
  C.value = !1;
84
84
  }));
85
85
  });
86
86
  }
87
- return Ce(() => {
88
- f(), j();
87
+ return Ee(() => {
88
+ g(), j();
89
89
  const e = x().theme;
90
90
  x().changeSetting({ key: "theme", value: e }), e == "dark" ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
91
91
  }), (e, t) => {
92
- const d = re, i = ce, g = ie, p = de, h = ve, b = pe, H = ue, Q = ge, Y = he, Z = Ee("router-link"), G = me, J = fe;
93
- return v(), q("div", Ue, [
94
- a("div", Ae, [
92
+ const d = ce, i = ie, h = de, p = pe, f = we, S = ue, H = me, Q = fe, Y = ve, Z = be("router-link"), G = _e, J = he;
93
+ return v(), q("div", Ae, [
94
+ a("div", Be, [
95
95
  s(d, {
96
- modelValue: o(k),
97
- "onUpdate:modelValue": t[0] || (t[0] = (l) => Ve(k) ? k.value = l : null),
96
+ modelValue: o(y),
97
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => Ve(y) ? y.value = l : null),
98
98
  "inline-prompt": "",
99
99
  "active-color": "var(--el-fill-color-dark)",
100
100
  "inactive-color": "var(--el-color-primary)",
101
- onChange: X
101
+ onChange: K
102
102
  }, null, 8, ["modelValue"]),
103
103
  s(te, { class: "ml-2 cursor-pointer" })
104
104
  ]),
105
105
  s(J, { class: "z-1 !border-none w-100 !bg-transparent !rounded-4% <sm:w-83" }, {
106
- default: n(() => [
107
- a("div", Be, [
106
+ default: r(() => [
107
+ a("div", Fe, [
108
108
  a("h2", null, I(o(N)), 1),
109
109
  s(i, { class: "ml-2 absolute top-0 right-0" }, {
110
- default: n(() => [
111
- $(I(o(K)), 1)
110
+ default: r(() => [
111
+ $(I(o(z)), 1)
112
112
  ]),
113
113
  _: 1
114
114
  })
@@ -116,28 +116,28 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
116
116
  s(o(B), {
117
117
  ref_key: "loginFormRef",
118
118
  ref: L,
119
- model: o(r),
119
+ model: o(n),
120
120
  rules: o(O),
121
121
  size: "large",
122
122
  class: "login-form"
123
123
  }, {
124
- default: n(() => [
125
- o(E).length > 0 ? (v(), U(h, {
124
+ default: r(() => [
125
+ o(E).length > 0 ? (v(), U(f, {
126
126
  key: 0,
127
127
  prop: "scope"
128
128
  }, {
129
- default: n(() => [
130
- a("div", Fe, [
129
+ default: r(() => [
130
+ a("div", Ne, [
131
131
  s(u, { "icon-class": "user" })
132
132
  ]),
133
133
  s(p, {
134
- modelValue: o(r).scope,
135
- "onUpdate:modelValue": t[1] || (t[1] = (l) => o(r).scope = l),
134
+ modelValue: o(n).scope,
135
+ "onUpdate:modelValue": t[1] || (t[1] = (l) => o(n).scope = l),
136
136
  placeholder: "Select",
137
137
  class: "flex-1"
138
138
  }, {
139
- default: n(() => [
140
- (v(!0), q(Se, null, be(o(E), (l) => (v(), U(g, {
139
+ default: r(() => [
140
+ (v(!0), q(Se, null, xe(o(E), (l) => (v(), U(h, {
141
141
  key: l.roleCode,
142
142
  label: l.roleName,
143
143
  value: l.roleCode
@@ -147,16 +147,16 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
147
147
  }, 8, ["modelValue"])
148
148
  ]),
149
149
  _: 1
150
- })) : xe("", !0),
151
- s(h, { prop: "username" }, {
152
- default: n(() => [
153
- a("div", Ne, [
150
+ })) : Ie("", !0),
151
+ s(f, { prop: "username" }, {
152
+ default: r(() => [
153
+ a("div", ze, [
154
154
  s(u, { "icon-class": "user" })
155
155
  ]),
156
- s(b, {
156
+ s(S, {
157
157
  ref: "username",
158
- modelValue: o(r).username,
159
- "onUpdate:modelValue": t[2] || (t[2] = (l) => o(r).username = l),
158
+ modelValue: o(n).username,
159
+ "onUpdate:modelValue": t[2] || (t[2] = (l) => o(n).username = l),
160
160
  class: "flex-1",
161
161
  placeholder: e.$t("login.username"),
162
162
  name: "username"
@@ -169,22 +169,22 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
169
169
  content: "Caps lock is On",
170
170
  placement: "right"
171
171
  }, {
172
- default: n(() => [
173
- s(h, { prop: "password" }, {
174
- default: n(() => [
172
+ default: r(() => [
173
+ s(f, { prop: "password" }, {
174
+ default: r(() => [
175
175
  a("span", Ke, [
176
176
  s(u, { "icon-class": "password" })
177
177
  ]),
178
- s(b, {
179
- modelValue: o(r).password,
180
- "onUpdate:modelValue": t[3] || (t[3] = (l) => o(r).password = l),
178
+ s(S, {
179
+ modelValue: o(n).password,
180
+ "onUpdate:modelValue": t[3] || (t[3] = (l) => o(n).password = l),
181
181
  class: "flex-1",
182
182
  placeholder: e.$t("login.password"),
183
183
  type: o(_) === !1 ? "password" : "input",
184
184
  name: "password",
185
185
  onKeyup: [
186
186
  W,
187
- A(S, ["enter"])
187
+ A(V, ["enter"])
188
188
  ]
189
189
  }, null, 8, ["modelValue", "placeholder", "type"]),
190
190
  a("span", {
@@ -202,27 +202,27 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
202
202
  ]),
203
203
  _: 1
204
204
  }, 8, ["disabled"]),
205
- s(h, { prop: "captchaCode" }, {
206
- default: n(() => [
205
+ s(f, { prop: "captchaCode" }, {
206
+ default: r(() => [
207
207
  a("span", Xe, [
208
208
  s(u, { "icon-class": "captcha" })
209
209
  ]),
210
- s(b, {
211
- modelValue: o(r).captchaCode,
212
- "onUpdate:modelValue": t[5] || (t[5] = (l) => o(r).captchaCode = l),
210
+ s(S, {
211
+ modelValue: o(n).captchaCode,
212
+ "onUpdate:modelValue": t[5] || (t[5] = (l) => o(n).captchaCode = l),
213
213
  "auto-complete": "off",
214
214
  placeholder: e.$t("login.captchaCode"),
215
215
  class: "w-[60%]",
216
- onKeyup: A(S, ["enter"])
216
+ onKeyup: A(V, ["enter"])
217
217
  }, null, 8, ["modelValue", "placeholder"]),
218
- a("div", ze, [
218
+ a("div", Oe, [
219
219
  s(Y, {
220
220
  src: o(D),
221
- onClick: f,
221
+ onClick: g,
222
222
  class: "w-[130px] h-[50px] cursor-pointer"
223
223
  }, {
224
- error: n(() => [
225
- a("div", Oe, [
224
+ error: r(() => [
225
+ a("div", We, [
226
226
  s(Q)
227
227
  ])
228
228
  ]),
@@ -232,9 +232,9 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
232
232
  ]),
233
233
  _: 1
234
234
  }),
235
- a("div", We, [
235
+ a("div", je, [
236
236
  s(Z, { to: "/secondLogin" }, {
237
- default: n(() => [
237
+ default: r(() => [
238
238
  $("手机号/邮箱登录")
239
239
  ]),
240
240
  _: 1
@@ -244,9 +244,9 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
244
244
  loading: o(C),
245
245
  type: "primary",
246
246
  class: "w-full",
247
- onClick: Ie(S, ["prevent"])
247
+ onClick: $e(V, ["prevent"])
248
248
  }, {
249
- default: n(() => [
249
+ default: r(() => [
250
250
  $(I(e.$t("login.login")), 1)
251
251
  ]),
252
252
  _: 1
@@ -257,13 +257,13 @@ const F = (m) => (De("data-v-fc6055f2"), m = m(), Le(), m), Ue = { class: "login
257
257
  ]),
258
258
  _: 1
259
259
  }),
260
- $e(a("div", je, He, 512), [
261
- [Re, o(T)().device == "desktop"]
260
+ Re(a("div", Me, Qe, 512), [
261
+ [De, o(T)().device == "desktop"]
262
262
  ])
263
263
  ]);
264
264
  };
265
265
  }
266
- }), ao = /* @__PURE__ */ _e(Ye, [["__scopeId", "data-v-fc6055f2"]]);
266
+ }), no = /* @__PURE__ */ ge(Ze, [["__scopeId", "data-v-10b9a69c"]]);
267
267
  export {
268
- ao as default
268
+ no as default
269
269
  };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { bO as e, bP as t, c5 as r, bQ as o, bR as b, c3 as u, c4 as i, b$ as c, c0 as n, c1 as p, c2 as g, c6 as d, bV as P, bE as S, bF as l, bA as E, bL as M, bM as D, bC as m, a6 as k, bB as f, bS as v, ar as H, bK as L, a9 as R, bD as y, bz as A, bZ as z, aa as B, bo as C, aw as T, bW as U, bG as V, b_ as W, bJ as h, bH as w, bI as x, W as F, bX as Q, bN as q, bT as G, ab as I, bp as J, a3 as K, bU as N, a1 as O, a2 as X, bY as Y, at as Z } from "./index-DJsDvfmB.mjs";
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-ipIvIM2L.mjs";
2
2
  export {
3
3
  e as BizDict,
4
4
  t as BizLayDict,
@@ -14,39 +14,40 @@ export {
14
14
  d as RedirectPage,
15
15
  P as TableHooks,
16
16
  S as addViteMenus,
17
- l as addWebpackMenus,
18
- E as axiosConfig,
17
+ E as addWebpackMenus,
18
+ l as axiosConfig,
19
19
  M as clearEmpty,
20
20
  D as deepMerge,
21
21
  m as default,
22
22
  k as defaultSettings,
23
23
  f as directive,
24
24
  v as enumMapCache,
25
- H as getCaptchaApi,
26
- L as getQueryParams,
27
- R as i18n,
28
- y as menus,
29
- A as request,
30
- z as resetRouter,
31
- B as routerRef,
32
- C as runAsUser,
33
- T as selectDsdRoles,
34
- U as store,
35
- V as updateMetaEnv,
36
- W as updateRouter,
37
- h as updateSettings,
38
- w as updateViteMetaEnv,
39
- x as updateWebpackMetaEnv,
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,
40
41
  F as useAppStore,
41
42
  Q as useAppStoreHook,
42
- q as useDictionary,
43
- G as useListData,
44
- I as usePermissionStore,
45
- J as usePermissionStoreHook,
46
- K as useSettingsStore,
47
- N as useTableHooks,
48
- O as useTagsViewStore,
49
- X as useUserStore,
50
- Y as useUserStoreHook,
51
- Z as vueMetaEnv
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
52
53
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as ne, markRaw as ve, ref as h, effectScope as ke, shallowRef as Ie, computed as y, watch as ue, nextTick as me, onMounted as pe, openBlock as w, createBlock as ce, Teleport as ze, createVNode as f, Transition as Le, withCtx as L, createElementVNode as p, normalizeClass as v, unref as e, normalizeStyle as de, withModifiers as Ce, createCommentVNode as E, createElementBlock as C, Fragment as ae, resolveDynamicComponent as Ee, renderList as Se, withDirectives as Ne, vShow as xe, renderSlot as te, useAttrs as Oe, toDisplayString as Te, mergeProps as $e } from "vue";
2
- import { az as Ae, q as Re, b as ge, d as P, R as ye, am as fe, aA as Me, aB as Ve, k as we, u as he, aC as Be, E as O, y as Ye, aD as De, N as Xe, aE as Fe, aF as He, aG as Pe, aH as Ke, _ as be, aI as M, A as R, aJ as je, w as _e, aK as We, c as H, aL as qe, aM as Ge, g as Ze, aN as Je } from "./index-DJsDvfmB.mjs";
3
- import { i as Ue } from "./position-4EiNY56k.mjs";
2
+ import { aA as Ae, q as Re, b as ge, d as P, R as ye, am as fe, aB as Me, aC as Ve, k as we, u as he, aD as Be, E as O, y as Ye, aE as De, N as Xe, aF as Fe, aG as He, aH as Pe, aI as Ke, _ as be, aJ as M, A as R, aK as je, w as _e, aL as We, c as H, aM as qe, aN as Ge, g as Ze, aO as Je } from "./index-ipIvIM2L.mjs";
3
+ import { i as Ue } from "./position-CajZz9Z7.mjs";
4
4
  var Qe = "Expected a function";
5
5
  function ie(u, b, o) {
6
6
  var S = !0, s = !0;
@@ -1,4 +1,4 @@
1
- import { c as o } from "./index-DJsDvfmB.mjs";
1
+ import { c as o } from "./index-ipIvIM2L.mjs";
2
2
  const l = (t, i) => {
3
3
  if (!o || !t || !i)
4
4
  return !1;
@@ -1,9 +1,9 @@
1
- import { aO as Xe, ah as Qe, aP as Cn, aQ as dn, aR as _e, b as Oe, d as pe, aS as qn, f as Jn, k as Ye, u as Me, l as Zn, z as Rt, aT as wn, aU as Gn, aV as Xn, m as Qn, aW as ea, r as ta, s as at, E as ye, _ as Ae, A as ve, al as ut, q as na, aX as aa, ai as sa, aY as ra, x as oa, aZ as la, a_ as ia, L as Lt, a$ as ua, v as Ft, b0 as kt, aD as Bt, N as $t, b1 as Ct, t as wt, j as Ut, V as da, K as It, J as ca, b2 as fa, b3 as ha, b4 as va, g as pa, aI as ma, i as ya, b5 as ga, b6 as Vt, ay as zt, U as _t, ax as cn, b7 as ba, b8 as ka, a2 as Ca, b9 as wa, ba as Da, bb as Na, bc as Sa, bd as Ma, be as $a, a8 as _a } from "./index-DJsDvfmB.mjs";
2
- import { E as Pa, a as Ea } from "./el-col-DfKlG6iK.mjs";
3
- import { E as Ta, a as Oa } from "./el-form-item-3mNIgJOv.mjs";
1
+ import { aP as Xe, ah as Qe, aQ as Cn, aR as dn, aS as _e, b as Oe, d as pe, aT as qn, f as Jn, k as Ye, u as Me, l as Zn, z as Rt, aU as wn, aV as Gn, aW as Xn, m as Qn, aX as ea, r as ta, s as at, E as ye, _ as Ae, A as ve, al as ut, q as na, aY as aa, ai as sa, aZ as ra, x as oa, a_ as la, a$ as ia, L as Lt, b0 as ua, v as Ft, b1 as kt, aE as Bt, N as $t, b2 as Ct, t as wt, j as Ut, V as da, K as It, J as ca, b3 as fa, b4 as ha, b5 as va, g as pa, aJ as ma, i as ya, b6 as ga, b7 as Vt, az as zt, U as _t, ay as cn, b8 as ba, b9 as ka, a2 as Ca, ba as wa, bb as Da, bc as Na, bd as Sa, be as Ma, bf as $a, a8 as _a } from "./index-ipIvIM2L.mjs";
2
+ import { E as Pa, a as Ea } from "./el-col-DfavdVIH.mjs";
3
+ import { E as Ta, a as Oa } from "./el-form-item-BgoLyF0W.mjs";
4
4
  import { defineComponent as Ne, useAttrs as nn, inject as Ie, ref as Q, computed as z, watch as ge, nextTick as Se, unref as t, provide as st, openBlock as K, createBlock as me, mergeProps as Dn, withCtx as te, normalizeClass as _, normalizeStyle as Ht, withModifiers as Pe, resolveDynamicComponent as gt, createCommentVNode as ue, createElementBlock as Z, createElementVNode as G, renderSlot as rt, toDisplayString as ce, onMounted as an, Fragment as be, renderList as Ee, createTextVNode as Ge, withDirectives as Ve, createVNode as B, Transition as xa, withKeys as ht, useSlots as Nn, toRef as vt, vShow as Je, getCurrentInstance as Dt, reactive as ct, h as bt, resolveComponent as Ze, shallowRef as fn, onUpdated as Va, toRefs as Sn } from "vue";
5
5
  import { ElMessage as Ia } from "element-plus";
6
- import { _ as Aa } from "./index-kIb5mhRj.mjs";
6
+ import { _ as Aa } from "./index-BLJOFfop.mjs";
7
7
  const Ka = [
8
8
  "year",
9
9
  "years",
@@ -4898,7 +4898,7 @@ const jr = xt, Wr = jr, qr = { class: "app-container" }, Jr = { class: "positon_
4898
4898
  ]);
4899
4899
  };
4900
4900
  }
4901
- }), so = /* @__PURE__ */ _a(Gr, [["__scopeId", "data-v-7434c65c"]]);
4901
+ }), so = /* @__PURE__ */ _a(Gr, [["__scopeId", "data-v-d6f1b45b"]]);
4902
4902
  export {
4903
4903
  so as default
4904
4904
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang--CZlIbv2.mjs";
1
+ import { _ as f } from "./runAs.vue_vue_type_script_setup_true_lang-B8W9AJDN.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- import { A as we, t as Be, I as Te, s as Me, H as ke, E as Se, bf as Ie, bg as Ae, bh as Ve, bi as _, bj as ee, bk as Re, bl as Le, _ as Oe, bm as $e, c as Ne, g as ie, j as ne, V as Pe, aZ as ze, al as oe, aM as te, z as De, bn as Ue, a2 as L, bo as Fe, bp as He, X as Ke, bq as qe, aq as je } from "./index-DJsDvfmB.mjs";
1
+ import { A as we, t as Be, I as Te, s as Me, H as ke, E as Se, bg as Ie, bh as Ae, bi as Ve, bj as x, bk as ee, bl as Re, bm as Le, _ as Oe, bn as $e, c as Ne, g as ie, j as ne, V as Pe, a_ as ze, al as oe, aN as te, z as De, bo as Ue, a2 as L, bp as Fe, bq as He, X as Ke, br as qe, aq as je } from "./index-ipIvIM2L.mjs";
2
2
  import { nextTick as $, defineComponent as ue, computed as w, ref as C, reactive as de, watch as se, onMounted as Xe, onBeforeUnmount as Ge, toRefs as We, resolveComponent as k, openBlock as f, createBlock as g, Transition as Ze, withCtx as m, withDirectives as H, createVNode as h, createElementVNode as v, normalizeClass as d, normalizeStyle as le, withModifiers as D, createElementBlock as K, resolveDynamicComponent as U, createCommentVNode as S, toDisplayString as O, withKeys as F, renderSlot as Je, createTextVNode as q, vShow as j, isVNode as ce, render as fe, useModel as Qe, resolveDirective as Ye, unref as X } from "vue";
3
- const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', _e = (e) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, ae = (e) => Array.from(e.querySelectorAll(xe)).filter((n) => en(n) && _e(n)), en = (e) => {
3
+ const _e = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', xe = (e) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, ae = (e) => Array.from(e.querySelectorAll(_e)).filter((n) => en(n) && xe(n)), en = (e) => {
4
4
  if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null)
5
5
  return !0;
6
6
  if (e.disabled)
@@ -152,15 +152,15 @@ const xe = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="
152
152
  zIndex: c()
153
153
  }), A = w(() => {
154
154
  const i = o.type;
155
- return { [a.bm("icon", i)]: i && _[i] };
156
- }), E = ee(), u = ee(), pe = w(() => o.icon || _[o.type] || ""), me = w(() => !!o.message), T = C(), W = C(), V = C(), P = C(), Z = C(), ve = w(() => o.confirmButtonClass);
155
+ return { [a.bm("icon", i)]: i && x[i] };
156
+ }), E = ee(), u = ee(), pe = w(() => o.icon || x[o.type] || ""), me = w(() => !!o.message), T = C(), W = C(), V = C(), P = C(), Z = C(), ve = w(() => o.confirmButtonClass);
157
157
  se(() => o.inputValue, async (i) => {
158
158
  await $(), e.boxType === "prompt" && i !== null && Q();
159
159
  }, { immediate: !0 }), se(() => p.value, (i) => {
160
160
  var b, M;
161
161
  i && (e.boxType !== "prompt" && (o.autofocus ? V.value = (M = (b = Z.value) == null ? void 0 : b.$el) != null ? M : T.value : V.value = T.value), o.zIndex = c()), e.boxType === "prompt" && (i ? $().then(() => {
162
- var x;
163
- P.value && P.value.$el && (o.autofocus ? V.value = (x = he()) != null ? x : T.value : V.value = T.value);
162
+ var _;
163
+ P.value && P.value.$el && (o.autofocus ? V.value = (_ = he()) != null ? _ : T.value : V.value = T.value);
164
164
  }) : (o.editorErrorMessage = "", o.validateError = !1));
165
165
  });
166
166
  const ge = w(() => e.draggable), be = w(() => e.overflow);