jmash-core 0.0.4 → 0.0.6

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 (202) hide show
  1. package/dist/{401-DoLCxv3l.mjs → 401-C_qkauQu.mjs} +3 -3
  2. package/dist/{BarChart-C1VgkGMN.mjs → BarChart-CsSnWnk0.mjs} +3 -3
  3. package/dist/{FileSaver.min-CbZYb_R2.mjs → FileSaver.min-S6m_zlDZ.mjs} +1 -1
  4. package/dist/{PieChart-D4hXD0SH.mjs → PieChart-BXbsYR-1.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs → PieChart.vue_vue_type_script_setup_true_lang-DtwPlpFC.mjs} +2 -2
  6. package/dist/{RadarChart-BIL7VT1H.mjs → RadarChart-zNAewKa0.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs → RadarChart.vue_vue_type_script_setup_true_lang-Dtxsf7KP.mjs} +2 -2
  8. package/dist/{caret-bottom-Cm1qBSrY.mjs → caret-bottom-B5kASNne.mjs} +8 -8
  9. package/dist/{debounce-C0G0JMal.mjs → debounce-DVtCzWbd.mjs} +18 -18
  10. package/dist/{dropdown2-BiRFTrOq.mjs → dropdown2-CMOWvf0C.mjs} +13 -13
  11. package/dist/{edit-Bpt21Eir.mjs → edit-BcboAnwn.mjs} +74 -75
  12. package/dist/{edit-D3-EslTs.mjs → edit-BhzWgtiu.mjs} +1 -1
  13. package/dist/{edit-CYWeo3RE.mjs → edit-Bv8DZG6p.mjs} +1 -1
  14. package/dist/{edit-Cde8RIRN.mjs → edit-BvWmAEHc.mjs} +1 -1
  15. package/dist/{edit-NICINRFG.mjs → edit-Cyd9eTU2.mjs} +1 -1
  16. package/dist/{edit-DLx0iRHQ.mjs → edit-DBR41rYO.mjs} +49 -50
  17. package/dist/edit-DnXU0M0C.mjs +4 -0
  18. package/dist/edit-DywfQnD6.mjs +4 -0
  19. package/dist/{edit.vue_vue_type_script_setup_true_lang-_tHqd9tg.mjs → edit.vue_vue_type_script_setup_true_lang-BVTIqMtE.mjs} +47 -48
  20. package/dist/{edit.vue_vue_type_script_setup_true_lang-DBxZMZyS.mjs → edit.vue_vue_type_script_setup_true_lang-Bz1hLu9y.mjs} +19 -20
  21. package/dist/{edit.vue_vue_type_script_setup_true_lang-mM66jf9N.mjs → edit.vue_vue_type_script_setup_true_lang-CHTaDBkI.mjs} +20 -21
  22. package/dist/{edit.vue_vue_type_script_setup_true_lang-CFHGaytm.mjs → edit.vue_vue_type_script_setup_true_lang-CaR3fD9U.mjs} +13 -14
  23. package/dist/{edit.vue_vue_type_script_setup_true_lang-BYoUZaYJ.mjs → edit.vue_vue_type_script_setup_true_lang-DiK3ksvS.mjs} +17 -18
  24. package/dist/{edit.vue_vue_type_script_setup_true_lang-C_NNjRjK.mjs → edit.vue_vue_type_script_setup_true_lang-fqt8wb5O.mjs} +45 -46
  25. package/dist/{el-card-BIRVdEQY.mjs → el-card-miLDnNw5.mjs} +4 -4
  26. package/dist/{el-checkbox-miY6QbQ8.mjs → el-checkbox-CFMqu9KB.mjs} +70 -70
  27. package/dist/{el-col-BOgRUJYE.mjs → el-col-BEJD7GD1.mjs} +19 -19
  28. package/dist/{el-date-picker-D9yvdcj2.mjs → el-date-picker-Cr-cX8DW.mjs} +5 -5
  29. package/dist/{el-dialog-BSTwker5.mjs → el-dialog-DsSLDdfQ.mjs} +72 -72
  30. package/dist/{el-dropdown-item-YDb2-w9y.mjs → el-dropdown-item-BCmwAt2w.mjs} +68 -68
  31. package/dist/{el-form-item-BzKoZc6I.mjs → el-form-item-SADwyANR.mjs} +118 -118
  32. package/dist/{el-popover-DuRdut0P.mjs → el-popover-m-Jq-5BK.mjs} +24 -24
  33. package/dist/{el-popper-AjIjI4wK.mjs → el-popper-1E2gbMai.mjs} +1 -1
  34. package/dist/{el-progress-BPv5gfee.mjs → el-progress-BxHkbtFE.mjs} +35 -35
  35. package/dist/{el-radio-NC-gfUsx.mjs → el-radio-Dx1x2IhO.mjs} +52 -52
  36. package/dist/{el-scrollbar-p0O6uID0.mjs → el-scrollbar-COsAm83d.mjs} +75 -75
  37. package/dist/{el-select-DAMII7lv.mjs → el-select-Cge53X_a.mjs} +102 -102
  38. package/dist/{el-switch-C2AFgHGW.mjs → el-switch-3lruHxge.mjs} +40 -40
  39. package/dist/{el-table-IQFrP3zv.mjs → el-table-CP25j4nH.mjs} +143 -143
  40. package/dist/{el-tree-select-CyDKS6nF.mjs → el-tree-select-FIDKYIa1.mjs} +99 -99
  41. package/dist/{importUpload.vue_vue_type_script_setup_true_lang-DWWbxFGH.mjs → importUpload.vue_vue_type_script_setup_true_lang-CZUq7ixU.mjs} +30 -31
  42. package/dist/{index-BpAihYhN.mjs → index-82f92F0U.mjs} +35 -36
  43. package/dist/{index-C0UgbyoZ.mjs → index-BETVnAE-.mjs} +46 -46
  44. package/dist/{index-CCFtIl_h.mjs → index-BNcw4iMa.mjs} +49 -50
  45. package/dist/{index-CgNPGcHv.mjs → index-BWHVnG9T.mjs} +58 -59
  46. package/dist/index-BjNf6_G4.mjs +13179 -0
  47. package/dist/{index-CBB_r4G5.mjs → index-CPIcbKz7.mjs} +34 -35
  48. package/dist/{index-Cd3TOW5i.mjs → index-ClV6eGK1.mjs} +9 -9
  49. package/dist/{index-BWyb1bu2.mjs → index-CtL1ATi2.mjs} +95 -96
  50. package/dist/{index-A3UILhe-.mjs → index-DCQmWDX4.mjs} +35 -36
  51. package/dist/{index-C0vV2_4K.mjs → index-DYY5todd.mjs} +7 -7
  52. package/dist/{index-eT2JltVa.mjs → index-DcpN2fWF.mjs} +8 -8
  53. package/dist/{index-BWx4KWAY.mjs → index-DfFxhIWV.mjs} +24 -25
  54. package/dist/{index-mkT_dTWL.mjs → index-DhAGdVI6.mjs} +1 -1
  55. package/dist/{index-B46NFfoE.mjs → index-Dmv6CYeS.mjs} +27 -28
  56. package/dist/{index-BnbEfNmI.mjs → index-DpuuXN_M.mjs} +5 -5
  57. package/dist/{index-BvixCbHl.mjs → index-DuQBVGRw.mjs} +17 -18
  58. package/dist/{index-Bs3AcT6R.mjs → index-Dx53f_Sb.mjs} +18 -18
  59. package/dist/{index-CoOFKDgw.mjs → index-FaDQHwL2.mjs} +5 -5
  60. package/dist/{index-CurzO9C6.mjs → index-FrT5yP_Z.mjs} +26 -27
  61. package/dist/{index-Url6hMpl.mjs → index-ffGccmy3.mjs} +78 -79
  62. package/dist/index-g0t1RwR3.mjs +2589 -0
  63. package/dist/{index-xtDIXRPY.mjs → index-knvasjd6.mjs} +65 -65
  64. package/dist/index.mjs +16 -11
  65. package/dist/{index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs → index.vue_vue_type_script_setup_true_lang-f_JnHVJD.mjs} +20 -20
  66. package/dist/{index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs → index.vue_vue_type_script_setup_true_lang-rl_flY13.mjs} +5 -5
  67. package/dist/{picture-kPnmHaoS.mjs → picture-Cnt3kRRp.mjs} +18 -18
  68. package/dist/{profile-RVQuIwXg.mjs → profile-DGSkxplm.mjs} +23 -23
  69. package/dist/{refs-S3PYDmaW.mjs → refs-DQyMCCl7.mjs} +1 -1
  70. package/dist/{types-CCG3Dvqs.mjs → types-CzUG0yyM.mjs} +16 -16
  71. package/dist/{updatePwd-2UsTmJa5.mjs → updatePwd-BMZQn7mh.mjs} +1 -1
  72. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs → updatePwd.vue_vue_type_script_setup_true_lang-Dp-E7ZUt.mjs} +5 -5
  73. package/dist/{useColumnToggleTable-D_QF8Uy9.mjs → useColumnToggleTable-EJRdhTaG.mjs} +5 -5
  74. package/dts/src/App.vue.d.ts +1 -1
  75. package/dts/src/api/auth/index.d.ts +41 -0
  76. package/dts/src/api/auth/types.d.ts +180 -0
  77. package/dts/src/api/file/index.d.ts +14 -0
  78. package/dts/src/api/file/types.d.ts +7 -0
  79. package/dts/src/api/system/dept/index.d.ts +91 -0
  80. package/dts/src/api/system/dept/types.d.ts +63 -0
  81. package/dts/src/api/system/index.d.ts +7 -0
  82. package/dts/src/api/system/job/index.d.ts +42 -0
  83. package/dts/src/api/system/job/types.d.ts +60 -0
  84. package/dts/src/api/system/log/index.d.ts +29 -0
  85. package/dts/src/api/system/log/types.d.ts +42 -0
  86. package/dts/src/api/system/menu/index.d.ts +103 -0
  87. package/dts/src/api/system/menu/types.d.ts +96 -0
  88. package/dts/src/api/system/module/index.d.ts +57 -0
  89. package/dts/src/api/system/module/types.d.ts +13 -0
  90. package/dts/src/api/system/operation/index.d.ts +51 -0
  91. package/dts/src/api/system/operation/types.d.ts +12 -0
  92. package/dts/src/api/system/permission/index.d.ts +50 -0
  93. package/dts/src/api/system/permission/types.d.ts +12 -0
  94. package/dts/src/api/system/role/index.d.ts +77 -0
  95. package/dts/src/api/system/role/types.d.ts +26 -0
  96. package/dts/src/api/system/user/index.d.ts +133 -0
  97. package/dts/src/api/system/user/types.d.ts +53 -0
  98. package/dts/src/api/system/userLog/index.d.ts +29 -0
  99. package/dts/src/api/system/userLog/types.d.ts +22 -0
  100. package/dts/src/assets/icons/index.d.ts +0 -0
  101. package/dts/src/components/{TheWelcome.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
  102. package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
  103. package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
  104. package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
  105. package/dts/src/components/{icons/IconEcosystem.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
  106. package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
  107. package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
  108. package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
  109. package/dts/src/components/{icons/IconCommunity.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
  110. package/dts/src/components/Pagination/index.vue.d.ts +88 -0
  111. package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
  112. package/dts/src/components/{icons/IconDocumentation.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
  113. package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
  114. package/dts/src/components/Table/index.vue.d.ts +73 -0
  115. package/dts/src/components/TableSet/index.vue.d.ts +29 -0
  116. package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
  117. package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
  118. package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
  119. package/dts/src/components/Upload/index.vue.d.ts +18 -0
  120. package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
  121. package/dts/src/directive/index.d.ts +5 -0
  122. package/dts/src/directive/permission/index.d.ts +9 -0
  123. package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
  124. package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
  125. package/dts/src/index.d.ts +30 -3
  126. package/dts/src/lang/index.d.ts +534 -0
  127. package/dts/src/lang/package/en.d.ts +261 -0
  128. package/dts/src/lang/package/zh-cn.d.ts +275 -0
  129. package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
  130. package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
  131. package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
  132. package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
  133. package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
  134. package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
  135. package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
  136. package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
  137. package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
  138. package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
  139. package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
  140. package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
  141. package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
  142. package/dts/src/layout/components/index.d.ts +4 -0
  143. package/dts/src/layout/index.vue.d.ts +2 -0
  144. package/dts/src/layout/main.vue.d.ts +2 -0
  145. package/dts/src/main.d.ts +5 -1
  146. package/dts/src/permission.d.ts +1 -0
  147. package/dts/src/router/index.d.ts +10 -0
  148. package/dts/src/settings.d.ts +13 -0
  149. package/dts/src/stores/index.d.ts +2 -0
  150. package/dts/src/stores/modules/tagsView.d.ts +82 -0
  151. package/dts/src/utils/common.d.ts +6 -0
  152. package/dts/src/utils/grpc.d.ts +2 -0
  153. package/dts/src/utils/i18n.d.ts +1 -0
  154. package/dts/src/utils/index.d.ts +24 -0
  155. package/dts/src/utils/request.d.ts +2 -0
  156. package/dts/src/utils/resize.d.ts +1 -0
  157. package/dts/src/utils/scroll-to.d.ts +6 -0
  158. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
  159. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
  160. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
  161. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
  162. package/dts/src/views/dashboard/index.vue.d.ts +2 -0
  163. package/dts/src/views/error-page/401.vue.d.ts +2 -0
  164. package/dts/src/views/error-page/404.vue.d.ts +2 -0
  165. package/dts/src/views/login/components/types.vue.d.ts +2 -0
  166. package/dts/src/views/login/index.vue.d.ts +2 -0
  167. package/dts/src/views/my/profile.vue.d.ts +2 -0
  168. package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
  169. package/dts/src/views/redirect/index.vue.d.ts +2 -0
  170. package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
  171. package/dts/src/views/system/dept/index.vue.d.ts +2 -0
  172. package/dts/src/views/system/job/edit.vue.d.ts +30 -0
  173. package/dts/src/views/system/job/index.vue.d.ts +2 -0
  174. package/dts/src/views/system/log/index.vue.d.ts +2 -0
  175. package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
  176. package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
  177. package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
  178. package/dts/src/views/system/menu/index.vue.d.ts +2 -0
  179. package/dts/src/views/system/module/edit.vue.d.ts +31 -0
  180. package/dts/src/views/system/module/index.vue.d.ts +2 -0
  181. package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
  182. package/dts/src/views/system/operation/index.vue.d.ts +2 -0
  183. package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
  184. package/dts/src/views/system/permission/index.vue.d.ts +2 -0
  185. package/dts/src/views/system/role/edit.vue.d.ts +31 -0
  186. package/dts/src/views/system/role/index.vue.d.ts +2 -0
  187. package/dts/src/views/system/user/edit.vue.d.ts +31 -0
  188. package/dts/src/views/system/user/index.vue.d.ts +2 -0
  189. package/dts/tsconfig.tsbuildinfo +1 -1
  190. package/package.json +1 -1
  191. package/dist/edit-Vk23bJyE.mjs +0 -4
  192. package/dist/edit-sqzPOfBX.mjs +0 -4
  193. package/dist/index-Ax_8ZsXK.mjs +0 -3163
  194. package/dist/index-CrNYgyNm.mjs +0 -8800
  195. package/dist/vue-i18n-CE6tUbcO.mjs +0 -3808
  196. package/dts/src/components/HelloWorld.vue.d.ts +0 -15
  197. package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
  198. package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
  199. package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
  200. package/dts/src/stores/counter.d.ts +0 -13
  201. package/dts/src/views/AboutView.vue.d.ts +0 -2
  202. package/dts/src/views/HomeView.vue.d.ts +0 -2
@@ -1,19 +1,19 @@
1
- import { v as q, Q as R, R as L, E as A, y as P, c as T, S as G, T as H, e as O, f as Q } from "./index-CrNYgyNm.mjs";
2
- import { a as K, E as W } from "./el-form-item-BzKoZc6I.mjs";
3
- import { E as X } from "./el-date-picker-D9yvdcj2.mjs";
4
- import "./el-scrollbar-p0O6uID0.mjs";
5
- import "./el-popper-AjIjI4wK.mjs";
6
- import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs";
7
- import { E as x, a as ee } from "./el-col-BOgRUJYE.mjs";
1
+ import { v as q, R, S as L, E as A, z as P, d as T, T as G, U as H, f as O, h as K } from "./index-BjNf6_G4.mjs";
2
+ import { a as Q, E as W } from "./el-form-item-SADwyANR.mjs";
3
+ import { E as X } from "./el-date-picker-Cr-cX8DW.mjs";
4
+ import "./el-scrollbar-COsAm83d.mjs";
5
+ import "./el-popper-1E2gbMai.mjs";
6
+ import { _ as Z } from "./index.vue_vue_type_script_setup_true_lang-rl_flY13.mjs";
7
+ import { E as x, a as ee } from "./el-col-BEJD7GD1.mjs";
8
8
  import "./el-icon-l0sNRNKZ.mjs";
9
9
  import "./el-tag-l0sNRNKZ.mjs";
10
- import "./el-select-DAMII7lv.mjs";
11
- import { E as te } from "./el-tree-select-CyDKS6nF.mjs";
12
- import "./el-checkbox-miY6QbQ8.mjs";
13
- import { E as oe } from "./el-progress-BPv5gfee.mjs";
10
+ import "./el-select-Cge53X_a.mjs";
11
+ import { E as te } from "./el-tree-select-FIDKYIa1.mjs";
12
+ import "./el-checkbox-CFMqu9KB.mjs";
13
+ import { E as oe } from "./el-progress-BxHkbtFE.mjs";
14
14
  import { defineComponent as $, ref as c, toRefs as le, openBlock as d, createBlock as v, unref as o, withCtx as s, createElementBlock as I, createVNode as t, reactive as se, resolveComponent as C, createElementVNode as h, toDisplayString as D, Fragment as ae, renderList as re, createCommentVNode as ne, createTextVNode as ue } from "vue";
15
- import { t as pe } from "./index-BnbEfNmI.mjs";
16
- import { t as de } from "./index-C0vV2_4K.mjs";
15
+ import { t as pe } from "./index-DpuuXN_M.mjs";
16
+ import { t as de } from "./index-DYY5todd.mjs";
17
17
  import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
18
18
  const ie = ["src"], me = /* @__PURE__ */ $({
19
19
  __name: "index",
@@ -30,20 +30,20 @@ const ie = ["src"], me = /* @__PURE__ */ $({
30
30
  ), _ = c({ Authorization: "Bearer " + R().token }), e = E, { pictureUrl: f } = le(e), p = c("");
31
31
  console.log(f), p.value = f.value;
32
32
  const g = y;
33
- function V(i) {
33
+ function U(i) {
34
34
  i.fileSrc && (A({
35
35
  message: "上传成功",
36
36
  type: "success"
37
37
  }), p.value = process.env.VUE_APP_API_URL + "/v1/file/image/resize/0/0/" + i.fileSrc, g("imageSrc", p.value));
38
38
  }
39
39
  return (i, l) => {
40
- const a = P, U = oe;
41
- return d(), v(U, {
40
+ const a = P, V = oe;
41
+ return d(), v(V, {
42
42
  class: "avatar-uploader",
43
43
  action: o(m),
44
44
  headers: o(_),
45
45
  "show-file-list": !1,
46
- "on-success": V
46
+ "on-success": U
47
47
  }, {
48
48
  default: s(() => [
49
49
  o(p) ? (d(), I("img", {
@@ -107,7 +107,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
107
107
  var a;
108
108
  (a = e.user.userJobs) == null || a.splice(l, 1);
109
109
  }
110
- function V(l) {
110
+ function U(l) {
111
111
  e.user.avatar = l;
112
112
  }
113
113
  const i = () => {
@@ -119,7 +119,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
119
119
  });
120
120
  };
121
121
  return f(), (l, a) => {
122
- const U = me, r = K, J = te, k = x, j = C("Remove"), S = P, w = ee, M = C("CirclePlus"), N = O, Y = Z, B = X, z = Q, F = W;
122
+ const V = me, r = Q, J = te, k = x, j = C("Remove"), S = P, w = ee, M = C("CirclePlus"), N = O, Y = Z, z = X, B = K, F = W;
123
123
  return d(), I("div", _e, [
124
124
  t(F, {
125
125
  ref_key: "userInfoRef",
@@ -130,9 +130,9 @@ const ie = ["src"], me = /* @__PURE__ */ $({
130
130
  default: s(() => [
131
131
  t(r, null, {
132
132
  default: s(() => [
133
- t(U, {
133
+ t(V, {
134
134
  "picture-url": o(e).user.avatar,
135
- onImageSrc: V
135
+ onImageSrc: U
136
136
  }, null, 8, ["picture-url"])
137
137
  ]),
138
138
  _: 1
@@ -281,7 +281,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
281
281
  prop: "birthDate"
282
282
  }, {
283
283
  default: s(() => [
284
- t(B, {
284
+ t(z, {
285
285
  modelValue: o(e).user.birthDate,
286
286
  "onUpdate:modelValue": a[3] || (a[3] = (u) => o(e).user.birthDate = u),
287
287
  type: "date",
@@ -295,7 +295,7 @@ const ie = ["src"], me = /* @__PURE__ */ $({
295
295
  }),
296
296
  t(r, null, {
297
297
  default: s(() => [
298
- t(z, {
298
+ t(B, {
299
299
  type: "primary",
300
300
  onClick: i
301
301
  }, {
@@ -1,4 +1,4 @@
1
- import { U as t } from "./index-CrNYgyNm.mjs";
1
+ import { V as t } from "./index-BjNf6_G4.mjs";
2
2
  const e = (...c) => (s) => {
3
3
  c.forEach((o) => {
4
4
  t(o) ? o(s) : o.value = s;
@@ -1,7 +1,7 @@
1
- import { g as x, c as b, h as D, v as U, l as B, e as N, f as $ } from "./index-CrNYgyNm.mjs";
2
- import { E as R } from "./el-dialog-BSTwker5.mjs";
3
- import { _ as S, E as q } from "./picture-kPnmHaoS.mjs";
4
- import { a as z, E as A } from "./el-form-item-BzKoZc6I.mjs";
1
+ import { g as x, d as b, i as D, v as U, l as B, f as N, h as $ } from "./index-BjNf6_G4.mjs";
2
+ import { E as R } from "./el-dialog-DsSLDdfQ.mjs";
3
+ import { _ as S, E as q } from "./picture-Cnt3kRRp.mjs";
4
+ import { a as z, E as A } from "./el-form-item-SADwyANR.mjs";
5
5
  import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as a, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
6
6
  const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, Y = /* @__PURE__ */ M({
7
7
  __name: "types",
@@ -43,8 +43,8 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
43
43
  captchaId: o.captchaId,
44
44
  captchaCode: o.captchaCode
45
45
  };
46
- D(i).then(({ data: d }) => {
47
- console.log(d);
46
+ D(i).then(({ data: s }) => {
47
+ console.log(s);
48
48
  const r = window.setInterval(() => {
49
49
  n.content = n.timers + "s后重新发送", n.timers--, n.disabled = !0, n.timers < 0 && (n.timers = 60, n.disabled = !1, n.content = "重新发送验证码", window.clearInterval(r));
50
50
  }, 1e3);
@@ -66,7 +66,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
66
66
  });
67
67
  }
68
68
  return (l, t) => {
69
- const i = N, d = z, r = $, h = A, y = S, k = q, F = R;
69
+ const i = N, s = z, r = $, h = A, y = S, k = q, F = R;
70
70
  return P(), T(j, null, [
71
71
  e(h, {
72
72
  ref_key: "ruleFormRef",
@@ -76,22 +76,22 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
76
76
  rules: v
77
77
  }, {
78
78
  default: a(() => [
79
- e(d, { prop: "name" }, {
79
+ e(s, { prop: "name" }, {
80
80
  default: a(() => [
81
81
  e(i, {
82
82
  modelValue: o.name,
83
- "onUpdate:modelValue": t[0] || (t[0] = (s) => o.name = s),
83
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => o.name = d),
84
84
  clearable: "",
85
85
  placeholder: "请输入邮箱/已验证手机号"
86
86
  }, null, 8, ["modelValue"])
87
87
  ]),
88
88
  _: 1
89
89
  }),
90
- e(d, { prop: "validCode" }, {
90
+ e(s, { prop: "validCode" }, {
91
91
  default: a(() => [
92
92
  e(i, {
93
93
  modelValue: o.validCode,
94
- "onUpdate:modelValue": t[1] || (t[1] = (s) => o.validCode = s),
94
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => o.validCode = d),
95
95
  placeholder: "请输入验证码",
96
96
  clearable: ""
97
97
  }, {
@@ -111,7 +111,7 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
111
111
  ]),
112
112
  _: 1
113
113
  }),
114
- e(d, null, {
114
+ e(s, null, {
115
115
  default: a(() => [
116
116
  e(r, {
117
117
  type: "primary",
@@ -132,13 +132,13 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
132
132
  e(F, {
133
133
  title: "提示",
134
134
  modelValue: c.visible,
135
- "onUpdate:modelValue": t[4] || (t[4] = (s) => c.visible = s),
135
+ "onUpdate:modelValue": t[4] || (t[4] = (d) => c.visible = d),
136
136
  width: "500px"
137
137
  }, {
138
138
  footer: a(() => [
139
139
  f("div", H, [
140
140
  e(r, {
141
- onClick: t[3] || (t[3] = (s) => c.visible = !1)
141
+ onClick: t[3] || (t[3] = (d) => c.visible = !1)
142
142
  }, {
143
143
  default: a(() => [
144
144
  p(u(l.$t("common.cancel")), 1)
@@ -164,11 +164,11 @@ const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dial
164
164
  rules: v
165
165
  }, {
166
166
  default: a(() => [
167
- e(d, { prop: "captchaCode" }, {
167
+ e(s, { prop: "captchaCode" }, {
168
168
  default: a(() => [
169
169
  e(i, {
170
170
  modelValue: o.captchaCode,
171
- "onUpdate:modelValue": t[2] || (t[2] = (s) => o.captchaCode = s),
171
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => o.captchaCode = d),
172
172
  "auto-complete": "off",
173
173
  placeholder: l.$t("login.captchaCode"),
174
174
  class: "w-[60%]"
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-Dp-E7ZUt.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { ak as y, E as C, e as h, f as v } from "./index-CrNYgyNm.mjs";
2
- import { E as x } from "./el-dialog-BSTwker5.mjs";
3
- import { a as O, E as A } from "./el-form-item-BzKoZc6I.mjs";
1
+ import { am as y, E as C, f as h, h as v } from "./index-BjNf6_G4.mjs";
2
+ import { E as x } from "./el-dialog-DsSLDdfQ.mjs";
3
+ import { a as O, E as A } from "./el-form-item-SADwyANR.mjs";
4
4
  import { defineComponent as B, ref as F, toRefs as I, reactive as f, openBlock as R, createBlock as U, unref as r, isRef as q, withCtx as a, createElementVNode as D, createVNode as t, createTextVNode as c } from "vue";
5
- const $ = { class: "dialog-footer" }, j = /* @__PURE__ */ B({
5
+ const $ = { class: "dialog-footer" }, k = /* @__PURE__ */ B({
6
6
  __name: "updatePwd",
7
7
  props: {
8
8
  pwdVisible: {
@@ -147,5 +147,5 @@ const $ = { class: "dialog-footer" }, j = /* @__PURE__ */ B({
147
147
  }
148
148
  });
149
149
  export {
150
- j as _
150
+ k as _
151
151
  };
@@ -1,10 +1,10 @@
1
- import { e as R, f as $, ae as I, E as D, a as A } from "./index-CrNYgyNm.mjs";
2
- import "./el-popper-AjIjI4wK.mjs";
3
- import { E as M } from "./el-popover-DuRdut0P.mjs";
4
- import { E as P } from "./el-switch-C2AFgHGW.mjs";
1
+ import { f as R, h as $, af as I, E as D, b as A } from "./index-BjNf6_G4.mjs";
2
+ import "./el-popper-1E2gbMai.mjs";
3
+ import { E as M } from "./el-popover-m-Jq-5BK.mjs";
4
+ import { E as P } from "./el-switch-3lruHxge.mjs";
5
5
  import { openBlock as x, createElementBlock as L, createElementVNode as b, defineComponent as z, ref as u, toRefs as F, watchEffect as N, createBlock as j, withCtx as C, createVNode as _, createTextVNode as k, toDisplayString as T, unref as B, isRef as U, Fragment as q, renderList as O, normalizeClass as Q, withModifiers as G, reactive as H } from "vue";
6
6
  import { _ as J } from "./index-DjkMA-Wh.mjs";
7
- import { E as K } from "./el-form-item-BzKoZc6I.mjs";
7
+ import { E as K } from "./el-form-item-SADwyANR.mjs";
8
8
  const W = {
9
9
  viewBox: "0 0 1024 1024",
10
10
  width: "1.2em",
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -0,0 +1,41 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { CaptchaResult, LoginData, LoginResult, userInfo } from "./types";
3
+ /**
4
+ * 登录API
5
+ *
6
+ * @param data {LoginData}
7
+ * @returns
8
+ */
9
+ export declare function loginApi(data: LoginData): AxiosPromise<LoginResult>;
10
+ /**
11
+ * 刷新Token
12
+ */
13
+ export declare function refreshTokenApi(token: string): AxiosPromise<LoginResult>;
14
+ /**
15
+ * 注销API
16
+ */
17
+ export declare function logoutApi(accessToken: string): Promise<import("axios").AxiosResponse<any, any>>;
18
+ /**
19
+ * 获取验证码
20
+ */
21
+ export declare function getCaptchaApi(): AxiosPromise<CaptchaResult>;
22
+ /**
23
+ * 获取手机号验证码
24
+ */
25
+ export declare function sendcode(data: any): AxiosPromise<CaptchaResult>;
26
+ /**
27
+ * 通过验证码登录
28
+ */
29
+ export declare function logincode(data: any): AxiosPromise<CaptchaResult>;
30
+ /**
31
+ * 用户信息
32
+ */
33
+ export declare function getUserInfoApi(): AxiosPromise<userInfo>;
34
+ export declare function updateUser(data: any): Promise<import("axios").AxiosResponse<any, any>>;
35
+ export declare function updatePwd(encodeOldPwd: string, encodeNewPwd: string): Promise<import("axios").AxiosResponse<any, any>>;
36
+ export declare function allowRunAsUser(): Promise<import("axios").AxiosResponse<any, any>>;
37
+ /**
38
+ * 切换用户身份
39
+ */
40
+ export declare function runAsUser(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
41
+ export declare function selectDsdRoles(): Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1,180 @@
1
+ /**
2
+ * 登录用户信息
3
+ */
4
+ export interface userInfo {
5
+ /**
6
+ * 用户ID --不必填
7
+ */
8
+ userId?: string;
9
+ /**
10
+ * 用户名 --不必填
11
+ */
12
+ userName?: string;
13
+ /**
14
+ * 昵称 --不必填
15
+ */
16
+ nickName?: string;
17
+ /**
18
+ * 头像 --不必填
19
+ */
20
+ avatar?: string;
21
+ /**
22
+ * 租户
23
+ */
24
+ tenant: string;
25
+ /**
26
+ * 角色权限
27
+ */
28
+ roleCodes: string[];
29
+ /**
30
+ * 操作按钮权限
31
+ */
32
+ permCodes: string[];
33
+ }
34
+ /**
35
+ * 登录请求参数
36
+ */
37
+ export interface LoginData {
38
+ /**
39
+ * 互斥角色
40
+ */
41
+ scope: string;
42
+ /**
43
+ * 用户名
44
+ */
45
+ username: string;
46
+ /**
47
+ * 密码
48
+ */
49
+ password: string;
50
+ /**
51
+ * 验证码缓存key
52
+ */
53
+ captchaKey?: string;
54
+ /**
55
+ * 验证码
56
+ */
57
+ captchaCode?: string;
58
+ }
59
+ /**
60
+ * 登录响应
61
+ */
62
+ export interface LoginResult {
63
+ /**
64
+ * 访问token
65
+ */
66
+ accessToken?: string;
67
+ /**
68
+ * 过期时间(单位:毫秒)
69
+ */
70
+ expires?: number;
71
+ /**
72
+ * 刷新token
73
+ */
74
+ refreshToken?: string;
75
+ /**
76
+ * token 类型
77
+ */
78
+ tokenType?: string;
79
+ }
80
+ /**
81
+ * 验证码响应
82
+ */
83
+ export interface CaptchaResult {
84
+ /** 验证码缓存key */
85
+ captchaId: string;
86
+ /** 问题 */
87
+ question: string;
88
+ /** 验证码图片Base64字符串 */
89
+ base64Image: string;
90
+ }
91
+ export interface sendModelRef {
92
+ /**
93
+ * 操作内容
94
+ */
95
+ content: string;
96
+ /**
97
+ * 倒计时
98
+ */
99
+ timers: number;
100
+ /**
101
+ * 按钮启用/禁用
102
+ */
103
+ disabled: boolean;
104
+ }
105
+ /**
106
+ * 找回密码
107
+ */
108
+ export interface verificateRef {
109
+ /**
110
+ * 邮箱、手机号
111
+ */
112
+ name: string;
113
+ /**
114
+ * 图片验证码ID
115
+ */
116
+ captchaId: string;
117
+ /**
118
+ * 图片验证码
119
+ */
120
+ captchaCode: string;
121
+ /**
122
+ * 手机号、邮箱的验证码
123
+ */
124
+ validCode: string;
125
+ }
126
+ /**
127
+ * 修改密码
128
+ */
129
+ export interface updatePwdForm {
130
+ /**
131
+ * 旧密码
132
+ */
133
+ encodeOldPwd: string;
134
+ /**
135
+ * 新密码
136
+ */
137
+ encodeNewPwd: string;
138
+ /**
139
+ * 确认密码
140
+ */
141
+ confirmPwd: string;
142
+ }
143
+ /**
144
+ * 找回密码
145
+ */
146
+ export interface findPwdRef {
147
+ /**
148
+ * 租户
149
+ */
150
+ tenant: string;
151
+ /**
152
+ * 新密码
153
+ */
154
+ pwd: string;
155
+ /**
156
+ * 确认密码
157
+ */
158
+ repeatPwd: string;
159
+ /**
160
+ * 手机号、邮箱
161
+ */
162
+ name: string;
163
+ /**
164
+ * 手机号、邮箱的验证码
165
+ */
166
+ validCode: string;
167
+ /**
168
+ * 目录ID
169
+ */
170
+ directoryId: string;
171
+ }
172
+ /**
173
+ * 弹框
174
+ */
175
+ export interface dialogRef {
176
+ /**
177
+ * 显示隐藏
178
+ */
179
+ visible: boolean;
180
+ }
@@ -0,0 +1,14 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { FileInfo } from "./types";
3
+ /**
4
+ * 上传文件
5
+ *
6
+ * @param file
7
+ */
8
+ export declare function uploadFileApi(file: File): AxiosPromise<FileInfo>;
9
+ /**
10
+ * 删除文件
11
+ *
12
+ * @param filePath 文件完整路径
13
+ */
14
+ export declare function deleteFileApi(filePath?: string): Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 文件API类型声明
3
+ */
4
+ export interface FileInfo {
5
+ name: string;
6
+ url: string;
7
+ }
@@ -0,0 +1,91 @@
1
+ import type { deptQuery } from "./types";
2
+ /**
3
+ * 获取分页数据
4
+ *
5
+ * @param queryParams 查询参数,可选
6
+ * @returns 返回请求结果
7
+ */
8
+ export declare function getPage(queryParams?: deptQuery): Promise<import("axios").AxiosResponse<any, any>>;
9
+ /**
10
+ * 添加部门
11
+ *
12
+ * @param data 部门信息
13
+ * @returns 返回请求结果
14
+ */
15
+ export declare function addDept(data: any): Promise<import("axios").AxiosResponse<any, any>>;
16
+ /**
17
+ * 编辑部门信息
18
+ *
19
+ * @param data 编辑后的部门数据
20
+ * @returns 返回请求结果
21
+ */
22
+ export declare function editDept(data: any): Promise<import("axios").AxiosResponse<any, any>>;
23
+ /**
24
+ * 删除部门
25
+ *
26
+ * @param deptId 部门ID
27
+ * @returns 返回请求结果
28
+ */
29
+ export declare function delDept(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
30
+ /**
31
+ * 批量删除部门
32
+ *
33
+ * @param ids 部门ID数组
34
+ * @returns 返回请求结果
35
+ */
36
+ export declare function batchDelDept(ids: string): Promise<import("axios").AxiosResponse<any, any>>;
37
+ /**
38
+ * 将部门向下移动
39
+ *
40
+ * @param deptId 部门ID
41
+ * @returns 返回请求结果
42
+ */
43
+ export declare function movedownDept(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
44
+ /**
45
+ * 将部门上移
46
+ *
47
+ * @param deptId 部门ID
48
+ * @returns 返回请求结果
49
+ */
50
+ export declare function moveupDept(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
51
+ /**
52
+ * 获取部门树形列表
53
+ *
54
+ * @param deptId 部门ID,可选
55
+ * @returns 返回部门树形列表
56
+ */
57
+ export declare function treelistDept(deptId?: string): Promise<import("axios").AxiosResponse<any, any>>;
58
+ /**
59
+ * 部门锁定接口
60
+ *
61
+ * @param data 请求参数
62
+ * @returns 返回请求结果
63
+ */
64
+ export declare function deptLock(data: any): Promise<import("axios").AxiosResponse<any, any>>;
65
+ /**
66
+ * 导出部门Excel文件
67
+ *
68
+ * @param queryParams 查询参数,可选
69
+ * @returns 返回一个Promise对象,表示请求结果
70
+ */
71
+ export declare function exportDeptExcel(queryParams?: deptQuery): Promise<import("axios").AxiosResponse<any, any>>;
72
+ /**
73
+ * 导入部门数据
74
+ *
75
+ * @param data 部门数据
76
+ * @returns 返回请求结果
77
+ */
78
+ export declare function importDept(data: any): Promise<import("axios").AxiosResponse<any, any>>;
79
+ /**
80
+ * 获取模板部门信息
81
+ *
82
+ * @returns 返回一个Promise对象,包含请求的响应结果
83
+ */
84
+ export declare function templateDept(): Promise<import("axios").AxiosResponse<any, any>>;
85
+ /**
86
+ * 启用禁用部门API
87
+ *
88
+ * @param deptId 部门ID
89
+ * @returns 返回请求结果
90
+ */
91
+ export declare function enableDeptApi(deptId: string): Promise<import("axios").AxiosResponse<any, any>>;
@@ -0,0 +1,63 @@
1
+ /**
2
+ * 查询
3
+ */
4
+ export interface deptQuery {
5
+ /**
6
+ * 租户
7
+ */
8
+ tenant?: string;
9
+ /**
10
+ * 名称
11
+ */
12
+ likeDeptName?: string;
13
+ /**
14
+ * 启用、禁用
15
+ */
16
+ status?: boolean;
17
+ hasStatus?: boolean;
18
+ }
19
+ /**
20
+ * 新增、编辑
21
+ */
22
+ export interface deptForm {
23
+ /**
24
+ * 租户
25
+ */
26
+ tenant?: string;
27
+ /**
28
+ * 用于检测重复请求的唯一字符串ID
29
+ */
30
+ requestId?: string;
31
+ /**
32
+ * 更新字段掩码
33
+ */
34
+ updateMask?: string;
35
+ /**
36
+ * 部门id
37
+ */
38
+ deptId?: string;
39
+ /**
40
+ * 编码
41
+ */
42
+ deptCode: string;
43
+ /**
44
+ * 名称
45
+ */
46
+ deptName: string;
47
+ /**
48
+ * 类型
49
+ */
50
+ deptType?: string;
51
+ /**
52
+ * 上级
53
+ */
54
+ parentId?: string;
55
+ /**
56
+ * 描述
57
+ */
58
+ description?: string;
59
+ /**
60
+ * 状态
61
+ */
62
+ status: boolean;
63
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 将查询参数转换为字典映射
3
+ *
4
+ * @param query 查询参数
5
+ * @returns 返回请求结果
6
+ */
7
+ export declare function dictMap(query: string): Promise<import("axios").AxiosResponse<any, any>>;