@pubinfo/core 2.0.0-beta.6 → 2.0.0-beta.8

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 (444) hide show
  1. package/{es/AppSetting-BXQHV5F8.js → dist/AppSetting-BQT7OI6K.js} +16 -16
  2. package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js} +2 -2
  3. package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-MR1Db7z7.js} +46 -46
  4. package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-CgugOTgx.js} +2 -2
  5. package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-BPeCJBLi.js} +1 -1
  6. package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-BK0_EH_N.js} +1 -1
  7. package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-DGnxlXLd.js} +1 -1
  8. package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-BqAd9zbL.js} +2 -2
  9. package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-CgA3XDwW.js} +1 -1
  10. package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-WFnkcRQ3.js} +1 -1
  11. package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-CG4RI6mO.js} +1 -1
  12. package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-C1CT1Mm8.js} +1 -1
  13. package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-CQA6ZT9l.js} +2 -2
  14. package/{es/SettingThemes-D_DpEncn.js → dist/SettingThemes-BJu9czNK.js} +2 -2
  15. package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-DdR2940j.js} +1 -1
  16. package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-C_jYO_Ax.js} +2 -2
  17. package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-ir_28SE3.js} +1 -1
  18. package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-jHDpKsma.js} +1 -1
  19. package/{es/_...all_-DI_QAUox.js → dist/_...all_-18BnHmEa.js} +1 -1
  20. package/{es/colors-oRlAXMUC.js → dist/colors-gu4NABiz.js} +1 -1
  21. package/{lib → dist}/components/PubinfoProvider/index.d.ts +1 -0
  22. package/{es/index-BkqnOkyO.js → dist/index-C1p_tY7i.js} +1 -1
  23. package/{es/index-DvHnVMX5.js → dist/index-CCPTQYuB.js} +2108 -2111
  24. package/{es/index-ChOUZNbk.js → dist/index-CNUEMTao.js} +2 -2
  25. package/{es/index-Dav3jQVP.js → dist/index-CWIfG62O.js} +2 -2
  26. package/{es/index-BvVAS3S-.js → dist/index-CjsnFBwd.js} +14 -8
  27. package/{es/index-B9I6Pru6.js → dist/index-CmXo8ShY.js} +12 -12
  28. package/{es/index-BHkrq701.js → dist/index-DL8Y7jFG.js} +9 -9
  29. package/{es/index-P2cA5UeU.js → dist/index-Dj8zy7hH.js} +4 -4
  30. package/{es/index-D8eeneI_.js → dist/index-NpS61xSA.js} +22 -22
  31. package/{es → dist}/index.js +25 -26
  32. package/{es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js → dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js} +1 -1
  33. package/{es → dist}/layout/composables/useContext.d.ts +1 -2
  34. package/{lib → dist}/layout/ui-kit/HDialog.vue.d.ts +12 -1
  35. package/{lib → dist}/layout/ui-kit/HSlideover.vue.d.ts +12 -1
  36. package/{es/notification-6D5hA7Bp.js → dist/menu-CLiZ1BO_.js} +481 -513
  37. package/{es/pick-Br-UKn7B.js → dist/pick-C9bU8_xv.js} +1 -1
  38. package/{es → dist}/request.js +23 -23
  39. package/{es → dist}/stores/modules/index.d.ts +0 -2
  40. package/{es → dist}/style.css +1 -1
  41. package/package.json +18 -24
  42. package/src/components/PubinfoProvider/index.ts +2 -0
  43. package/src/layout/components/Tools/index.vue +2 -19
  44. package/src/layout/composables/useContext.ts +0 -2
  45. package/src/layout/provider.ts +0 -3
  46. package/src/layout/ui-kit/HDialog.vue +4 -1
  47. package/src/layout/ui-kit/HSlideover.vue +4 -1
  48. package/src/route/routes.ts +0 -9
  49. package/src/stores/modules/index.ts +0 -2
  50. package/es/components/PubinfoProvider/index.d.ts +0 -8
  51. package/es/layout/ui-kit/HDialog.vue.d.ts +0 -28
  52. package/es/layout/ui-kit/HSlideover.vue.d.ts +0 -30
  53. package/es/stores/modules/notification.d.ts +0 -19
  54. package/lib/AppSetting-CCiwpjoq.cjs +0 -1
  55. package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +0 -1
  56. package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +0 -1
  57. package/lib/HDivider-DCfDgE8l.cjs +0 -1
  58. package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +0 -1
  59. package/lib/HToggle-BP6YYf-s.cjs +0 -1
  60. package/lib/PreferencesContent-DgL-Jc_J.cjs +0 -3
  61. package/lib/SettingBreadcrumb-BQ78yEP4.cjs +0 -1
  62. package/lib/SettingCopyright-x7aPlkQy.cjs +0 -1
  63. package/lib/SettingEnableTransition-CD3-44Iy.cjs +0 -1
  64. package/lib/SettingHome-u52oz6i8.cjs +0 -1
  65. package/lib/SettingMenu-DsElOvvv.cjs +0 -1
  66. package/lib/SettingMode-C_kgpTxw.cjs +0 -1
  67. package/lib/SettingNavSearch-3auTi8UW.cjs +0 -1
  68. package/lib/SettingOther-6XGQq7OA.cjs +0 -1
  69. package/lib/SettingPage-C8yIHpLc.cjs +0 -1
  70. package/lib/SettingTabbar-K-nHb89z.cjs +0 -1
  71. package/lib/SettingThemes-BeNwFz7K.cjs +0 -1
  72. package/lib/SettingToolbar-Be1V7lwV.cjs +0 -1
  73. package/lib/SettingTopbar-C-j8O3c8.cjs +0 -1
  74. package/lib/SettingWidthMode-GMjAF-s3.cjs +0 -1
  75. package/lib/TopThinMode-DGUvyHT2.cjs +0 -1
  76. package/lib/_...all_-C4CXjAo9.cjs +0 -1
  77. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  78. package/lib/api/enum/code.d.ts +0 -67
  79. package/lib/api/helper.d.ts +0 -32
  80. package/lib/api/index.d.ts +0 -12
  81. package/lib/api/interface.d.ts +0 -14
  82. package/lib/api/modules/auth/index.d.ts +0 -1
  83. package/lib/api/modules/auth/renzhengfuwu.d.ts +0 -50
  84. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  85. package/lib/api/modules/configData/index.d.ts +0 -3
  86. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  87. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -71
  88. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -43
  89. package/lib/api/modules/rbac/index.d.ts +0 -11
  90. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  91. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  92. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  93. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -106
  94. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  95. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  96. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  97. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  98. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  99. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  100. package/lib/api/request.d.ts +0 -2
  101. package/lib/api/system/app.d.ts +0 -17
  102. package/lib/api/system/user.d.ts +0 -24
  103. package/lib/assets/styles/index.d.ts +0 -6
  104. package/lib/colors-KAaBT84S.cjs +0 -1
  105. package/lib/components/NotAllowed/index.vue.d.ts +0 -2
  106. package/lib/components/PageHeader/index.vue.d.ts +0 -23
  107. package/lib/components/PageMain/index.vue.d.ts +0 -27
  108. package/lib/components/PassStrengthValidator/index.vue.d.ts +0 -26
  109. package/lib/components/PassStrengthValidator/rule.vue.d.ts +0 -8
  110. package/lib/components/PubinfoApp/index.vue.d.ts +0 -2
  111. package/lib/components/PubinfoIcon/index.vue.d.ts +0 -10
  112. package/lib/components/index.d.ts +0 -8
  113. package/lib/composables/auth.d.ts +0 -8
  114. package/lib/composables/index.d.ts +0 -4
  115. package/lib/composables/log.d.ts +0 -6
  116. package/lib/composables/theme.d.ts +0 -3
  117. package/lib/composables/watchDiff.d.ts +0 -2
  118. package/lib/config/index.d.ts +0 -1
  119. package/lib/config/settings.d.ts +0 -3
  120. package/lib/context.d.ts +0 -14
  121. package/lib/create.d.ts +0 -3
  122. package/lib/directives/index.d.ts +0 -4
  123. package/lib/directives/plugins/permission.d.ts +0 -6
  124. package/lib/index-38bsQrho.cjs +0 -1
  125. package/lib/index-BEqD62a0.cjs +0 -1
  126. package/lib/index-Bbm9CQRP.cjs +0 -1
  127. package/lib/index-BqHsuJkr.cjs +0 -1
  128. package/lib/index-JZl6Zh3L.cjs +0 -44
  129. package/lib/index-VGR0Mt4q.cjs +0 -240
  130. package/lib/index-WMo0GAa6.cjs +0 -1
  131. package/lib/index-_YsHduAE.cjs +0 -1
  132. package/lib/index-gr8kFwPx.cjs +0 -18
  133. package/lib/index-zvGq9tSu.cjs +0 -1
  134. package/lib/index.cjs +0 -1
  135. package/lib/index.d.ts +0 -11
  136. package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +0 -1
  137. package/lib/interface.d.ts +0 -29
  138. package/lib/layout/Layout.vue.d.ts +0 -20
  139. package/lib/layout/components/BackTop/index.vue.d.ts +0 -2
  140. package/lib/layout/components/Content/IframeView.vue.d.ts +0 -4
  141. package/lib/layout/components/Content/LinkView.vue.d.ts +0 -2
  142. package/lib/layout/components/Content/index.vue.d.ts +0 -2
  143. package/lib/layout/components/Copyright/index.vue.d.ts +0 -2
  144. package/lib/layout/components/Header/TopMode/More.vue.d.ts +0 -26
  145. package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -25
  146. package/lib/layout/components/Header/TopMode/index.vue.d.ts +0 -4
  147. package/lib/layout/components/Header/TopThinMode.vue.d.ts +0 -4
  148. package/lib/layout/components/Header/index.vue.d.ts +0 -19
  149. package/lib/layout/components/Logo/index.vue.d.ts +0 -26
  150. package/lib/layout/components/Menu/index.vue.d.ts +0 -10
  151. package/lib/layout/components/Menu/item.vue.d.ts +0 -11
  152. package/lib/layout/components/Menu/sub.vue.d.ts +0 -219
  153. package/lib/layout/components/Menu/types.d.ts +0 -42
  154. package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +0 -12
  155. package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -9
  156. package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -2
  157. package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -2
  158. package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -2
  159. package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -2
  160. package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -2
  161. package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -2
  162. package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -2
  163. package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -2
  164. package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -2
  165. package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -2
  166. package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -2
  167. package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -2
  168. package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -2
  169. package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -2
  170. package/lib/layout/components/SettingBar/index.vue.d.ts +0 -2
  171. package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -2
  172. package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -2
  173. package/lib/layout/components/Sidebar/index.vue.d.ts +0 -2
  174. package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -17
  175. package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -25
  176. package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -2
  177. package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -4
  178. package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -2
  179. package/lib/layout/components/Tools/Preferences/index.vue.d.ts +0 -4
  180. package/lib/layout/components/Tools/Search.vue.d.ts +0 -199
  181. package/lib/layout/components/Tools/index.vue.d.ts +0 -233
  182. package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  183. package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -14
  184. package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -4
  185. package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -2
  186. package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -2
  187. package/lib/layout/components/Topbar/index.vue.d.ts +0 -2
  188. package/lib/layout/composables/useContext.d.ts +0 -18
  189. package/lib/layout/composables/useGetComputedStyle.d.ts +0 -15
  190. package/lib/layout/composables/useHotkey.d.ts +0 -5
  191. package/lib/layout/composables/useMainPage.d.ts +0 -14
  192. package/lib/layout/composables/useMenu.d.ts +0 -8
  193. package/lib/layout/composables/useTabbar.d.ts +0 -14
  194. package/lib/layout/composables/useTitle.d.ts +0 -3
  195. package/lib/layout/composables/useViewTransition.d.ts +0 -3
  196. package/lib/layout/composables/useWatermark.d.ts +0 -4
  197. package/lib/layout/index.d.ts +0 -19
  198. package/lib/layout/provider.d.ts +0 -1
  199. package/lib/layout/ui-kit/HBadge.vue.d.ts +0 -20
  200. package/lib/layout/ui-kit/HButton.vue.d.ts +0 -26
  201. package/lib/layout/ui-kit/HCheckList.vue.d.ts +0 -20
  202. package/lib/layout/ui-kit/HDivider.vue.d.ts +0 -20
  203. package/lib/layout/ui-kit/HDropdown.vue.d.ts +0 -18
  204. package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -26
  205. package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +0 -32
  206. package/lib/layout/ui-kit/HInput.vue.d.ts +0 -17
  207. package/lib/layout/ui-kit/HKbd.vue.d.ts +0 -17
  208. package/lib/layout/ui-kit/HSelect.vue.d.ts +0 -17
  209. package/lib/layout/ui-kit/HTabList.vue.d.ts +0 -22
  210. package/lib/layout/ui-kit/HToggle.vue.d.ts +0 -14
  211. package/lib/layout/ui-kit/HTooltip.vue.d.ts +0 -23
  212. package/lib/locales/index.d.ts +0 -301
  213. package/lib/locales/lang/en.json.d.ts +0 -99
  214. package/lib/locales/lang/zh-cn.json.d.ts +0 -100
  215. package/lib/locales/lang/zh-tw.json.d.ts +0 -100
  216. package/lib/locales/ui.d.ts +0 -3
  217. package/lib/modules.d.ts +0 -11
  218. package/lib/notification-IZqPm_OK.cjs +0 -199
  219. package/lib/pages/personal/profile/index.vue.d.ts +0 -2
  220. package/lib/pages/system/[...all].vue.d.ts +0 -2
  221. package/lib/pages/system/change-organization/index.vue.d.ts +0 -2
  222. package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -18
  223. package/lib/pages/system/change-password/index.vue.d.ts +0 -31
  224. package/lib/pages/system/index.vue.d.ts +0 -2
  225. package/lib/pages/system/not-permission/index.vue.d.ts +0 -2
  226. package/lib/pages/system/reload.vue.d.ts +0 -2
  227. package/lib/pick-y2yLda1R.cjs +0 -1
  228. package/lib/question-line-Cd0CU4hr.cjs +0 -1
  229. package/lib/reload-6L7Dzs7h.cjs +0 -1
  230. package/lib/request.cjs +0 -6
  231. package/lib/right-C5JQ_uRB.cjs +0 -1
  232. package/lib/route/async.d.ts +0 -9
  233. package/lib/route/guard/auth.d.ts +0 -3
  234. package/lib/route/guard/basic.d.ts +0 -3
  235. package/lib/route/guard/index.d.ts +0 -3
  236. package/lib/route/guard/setting.d.ts +0 -3
  237. package/lib/route/index.d.ts +0 -7
  238. package/lib/route/routes.d.ts +0 -3
  239. package/lib/stores/enum/index.d.ts +0 -20
  240. package/lib/stores/helper.d.ts +0 -2
  241. package/lib/stores/index.d.ts +0 -5
  242. package/lib/stores/modules/favorites.d.ts +0 -33
  243. package/lib/stores/modules/iframe.d.ts +0 -42
  244. package/lib/stores/modules/index.d.ts +0 -18
  245. package/lib/stores/modules/keepAlive.d.ts +0 -24
  246. package/lib/stores/modules/menu.d.ts +0 -33
  247. package/lib/stores/modules/notification.d.ts +0 -19
  248. package/lib/stores/modules/route.d.ts +0 -43
  249. package/lib/stores/modules/settings.d.ts +0 -86
  250. package/lib/stores/modules/tabbar.d.ts +0 -60
  251. package/lib/stores/modules/user.d.ts +0 -4
  252. package/lib/stores/plugin/persist.d.ts +0 -5
  253. package/lib/stores/plugin/sideEffect/cleanup.d.ts +0 -5
  254. package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -5
  255. package/lib/stores/plugin/sideEffect/iframeCache.d.ts +0 -5
  256. package/lib/stores/plugin/sideEffect/index.d.ts +0 -5
  257. package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -5
  258. package/lib/style.css +0 -9
  259. package/lib/utils/cleanup.d.ts +0 -8
  260. package/lib/utils/crypto.d.ts +0 -4
  261. package/lib/utils/eventBus.d.ts +0 -5
  262. package/lib/utils/index.d.ts +0 -14
  263. package/lib/utils/injectionKeys.d.ts +0 -2
  264. package/lib/utils/storage.d.ts +0 -21
  265. package/lib/utils/utils.d.ts +0 -3
  266. package/lib/utils/watermark.d.ts +0 -51
  267. package/src/layout/components/Tools/Notification.vue +0 -152
  268. package/src/pages/personal/notification.vue +0 -58
  269. package/src/stores/modules/notification.ts +0 -35
  270. /package/{es → dist}/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -0
  271. /package/{es → dist}/HDivider-DgXBhPr0.js +0 -0
  272. /package/{es → dist}/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -0
  273. /package/{es → dist}/HToggle-Cd71WKvG.js +0 -0
  274. /package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  275. /package/{es → dist}/api/enum/code.d.ts +0 -0
  276. /package/{es → dist}/api/helper.d.ts +0 -0
  277. /package/{es → dist}/api/index.d.ts +0 -0
  278. /package/{es → dist}/api/interface.d.ts +0 -0
  279. /package/{es → dist}/api/modules/auth/index.d.ts +0 -0
  280. /package/{es → dist}/api/modules/auth/renzhengfuwu.d.ts +0 -0
  281. /package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  282. /package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  283. /package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  284. /package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  285. /package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  286. /package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  287. /package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  288. /package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  289. /package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  290. /package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  291. /package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  292. /package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  293. /package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  294. /package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  295. /package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  296. /package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  297. /package/{es → dist}/api/request.d.ts +0 -0
  298. /package/{es → dist}/api/system/app.d.ts +0 -0
  299. /package/{es → dist}/api/system/user.d.ts +0 -0
  300. /package/{es → dist}/assets/styles/index.d.ts +0 -0
  301. /package/{es → dist}/components/NotAllowed/index.vue.d.ts +0 -0
  302. /package/{es → dist}/components/PageHeader/index.vue.d.ts +0 -0
  303. /package/{es → dist}/components/PageMain/index.vue.d.ts +0 -0
  304. /package/{es → dist}/components/PassStrengthValidator/index.vue.d.ts +0 -0
  305. /package/{es → dist}/components/PassStrengthValidator/rule.vue.d.ts +0 -0
  306. /package/{es → dist}/components/PubinfoApp/index.vue.d.ts +0 -0
  307. /package/{es → dist}/components/PubinfoIcon/index.vue.d.ts +0 -0
  308. /package/{es → dist}/components/index.d.ts +0 -0
  309. /package/{es → dist}/composables/auth.d.ts +0 -0
  310. /package/{es → dist}/composables/index.d.ts +0 -0
  311. /package/{es → dist}/composables/log.d.ts +0 -0
  312. /package/{es → dist}/composables/theme.d.ts +0 -0
  313. /package/{es → dist}/composables/watchDiff.d.ts +0 -0
  314. /package/{es → dist}/config/index.d.ts +0 -0
  315. /package/{es → dist}/config/settings.d.ts +0 -0
  316. /package/{es → dist}/context.d.ts +0 -0
  317. /package/{es → dist}/create.d.ts +0 -0
  318. /package/{es → dist}/directives/index.d.ts +0 -0
  319. /package/{es → dist}/directives/plugins/permission.d.ts +0 -0
  320. /package/{es → dist}/index-DTQQt_XY.js +0 -0
  321. /package/{es → dist}/index.d.ts +0 -0
  322. /package/{es → dist}/interface.d.ts +0 -0
  323. /package/{es → dist}/layout/Layout.vue.d.ts +0 -0
  324. /package/{es → dist}/layout/components/BackTop/index.vue.d.ts +0 -0
  325. /package/{es → dist}/layout/components/Content/IframeView.vue.d.ts +0 -0
  326. /package/{es → dist}/layout/components/Content/LinkView.vue.d.ts +0 -0
  327. /package/{es → dist}/layout/components/Content/index.vue.d.ts +0 -0
  328. /package/{es → dist}/layout/components/Copyright/index.vue.d.ts +0 -0
  329. /package/{es → dist}/layout/components/Header/TopMode/More.vue.d.ts +0 -0
  330. /package/{es → dist}/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -0
  331. /package/{es → dist}/layout/components/Header/TopMode/index.vue.d.ts +0 -0
  332. /package/{es → dist}/layout/components/Header/TopThinMode.vue.d.ts +0 -0
  333. /package/{es → dist}/layout/components/Header/index.vue.d.ts +0 -0
  334. /package/{es → dist}/layout/components/Logo/index.vue.d.ts +0 -0
  335. /package/{es → dist}/layout/components/Menu/index.vue.d.ts +0 -0
  336. /package/{es → dist}/layout/components/Menu/item.vue.d.ts +0 -0
  337. /package/{es → dist}/layout/components/Menu/sub.vue.d.ts +0 -0
  338. /package/{es → dist}/layout/components/Menu/types.d.ts +0 -0
  339. /package/{es → dist}/layout/components/SettingBar/AppSetting.vue.d.ts +0 -0
  340. /package/{es → dist}/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  341. /package/{es → dist}/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  342. /package/{es → dist}/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  343. /package/{es → dist}/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  344. /package/{es → dist}/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  345. /package/{es → dist}/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  346. /package/{es → dist}/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  347. /package/{es → dist}/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  348. /package/{es → dist}/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  349. /package/{es → dist}/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  350. /package/{es → dist}/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  351. /package/{es → dist}/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  352. /package/{es → dist}/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  353. /package/{es → dist}/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  354. /package/{es → dist}/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  355. /package/{es → dist}/layout/components/SettingBar/index.vue.d.ts +0 -0
  356. /package/{es → dist}/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  357. /package/{es → dist}/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  358. /package/{es → dist}/layout/components/Sidebar/index.vue.d.ts +0 -0
  359. /package/{es → dist}/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  360. /package/{es → dist}/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  361. /package/{es → dist}/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  362. /package/{es → dist}/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  363. /package/{es → dist}/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  364. /package/{es → dist}/layout/components/Tools/Preferences/index.vue.d.ts +0 -0
  365. /package/{es → dist}/layout/components/Tools/Search.vue.d.ts +0 -0
  366. /package/{es → dist}/layout/components/Tools/index.vue.d.ts +0 -0
  367. /package/{es → dist}/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -0
  368. /package/{es → dist}/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  369. /package/{es → dist}/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  370. /package/{es → dist}/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  371. /package/{es → dist}/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -0
  372. /package/{es → dist}/layout/components/Topbar/index.vue.d.ts +0 -0
  373. /package/{es → dist}/layout/composables/useGetComputedStyle.d.ts +0 -0
  374. /package/{es → dist}/layout/composables/useHotkey.d.ts +0 -0
  375. /package/{es → dist}/layout/composables/useMainPage.d.ts +0 -0
  376. /package/{es → dist}/layout/composables/useMenu.d.ts +0 -0
  377. /package/{es → dist}/layout/composables/useTabbar.d.ts +0 -0
  378. /package/{es → dist}/layout/composables/useTitle.d.ts +0 -0
  379. /package/{es → dist}/layout/composables/useViewTransition.d.ts +0 -0
  380. /package/{es → dist}/layout/composables/useWatermark.d.ts +0 -0
  381. /package/{es → dist}/layout/index.d.ts +0 -0
  382. /package/{es → dist}/layout/provider.d.ts +0 -0
  383. /package/{es → dist}/layout/ui-kit/HBadge.vue.d.ts +0 -0
  384. /package/{es → dist}/layout/ui-kit/HButton.vue.d.ts +0 -0
  385. /package/{es → dist}/layout/ui-kit/HCheckList.vue.d.ts +0 -0
  386. /package/{es → dist}/layout/ui-kit/HDivider.vue.d.ts +0 -0
  387. /package/{es → dist}/layout/ui-kit/HDropdown.vue.d.ts +0 -0
  388. /package/{es → dist}/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -0
  389. /package/{es → dist}/layout/ui-kit/HDropdownTree.vue.d.ts +0 -0
  390. /package/{es → dist}/layout/ui-kit/HInput.vue.d.ts +0 -0
  391. /package/{es → dist}/layout/ui-kit/HKbd.vue.d.ts +0 -0
  392. /package/{es → dist}/layout/ui-kit/HSelect.vue.d.ts +0 -0
  393. /package/{es → dist}/layout/ui-kit/HTabList.vue.d.ts +0 -0
  394. /package/{es → dist}/layout/ui-kit/HToggle.vue.d.ts +0 -0
  395. /package/{es → dist}/layout/ui-kit/HTooltip.vue.d.ts +0 -0
  396. /package/{es → dist}/locales/index.d.ts +0 -0
  397. /package/{es → dist}/locales/lang/en.json.d.ts +0 -0
  398. /package/{es → dist}/locales/lang/zh-cn.json.d.ts +0 -0
  399. /package/{es → dist}/locales/lang/zh-tw.json.d.ts +0 -0
  400. /package/{es → dist}/locales/ui.d.ts +0 -0
  401. /package/{es → dist}/modules.d.ts +0 -0
  402. /package/{es → dist}/pages/personal/profile/index.vue.d.ts +0 -0
  403. /package/{es → dist}/pages/system/[...all].vue.d.ts +0 -0
  404. /package/{es → dist}/pages/system/change-organization/index.vue.d.ts +0 -0
  405. /package/{es → dist}/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  406. /package/{es → dist}/pages/system/change-password/index.vue.d.ts +0 -0
  407. /package/{es → dist}/pages/system/index.vue.d.ts +0 -0
  408. /package/{es → dist}/pages/system/not-permission/index.vue.d.ts +0 -0
  409. /package/{es → dist}/pages/system/reload.vue.d.ts +0 -0
  410. /package/{es → dist}/question-line-CfkciTFq.js +0 -0
  411. /package/{es → dist}/reload-CUcPYtl7.js +0 -0
  412. /package/{es → dist}/right-Bfe2p1o0.js +0 -0
  413. /package/{es → dist}/route/async.d.ts +0 -0
  414. /package/{es → dist}/route/guard/auth.d.ts +0 -0
  415. /package/{es → dist}/route/guard/basic.d.ts +0 -0
  416. /package/{es → dist}/route/guard/index.d.ts +0 -0
  417. /package/{es → dist}/route/guard/setting.d.ts +0 -0
  418. /package/{es → dist}/route/index.d.ts +0 -0
  419. /package/{es → dist}/route/routes.d.ts +0 -0
  420. /package/{es → dist}/stores/enum/index.d.ts +0 -0
  421. /package/{es → dist}/stores/helper.d.ts +0 -0
  422. /package/{es → dist}/stores/index.d.ts +0 -0
  423. /package/{es → dist}/stores/modules/favorites.d.ts +0 -0
  424. /package/{es → dist}/stores/modules/iframe.d.ts +0 -0
  425. /package/{es → dist}/stores/modules/keepAlive.d.ts +0 -0
  426. /package/{es → dist}/stores/modules/menu.d.ts +0 -0
  427. /package/{es → dist}/stores/modules/route.d.ts +0 -0
  428. /package/{es → dist}/stores/modules/settings.d.ts +0 -0
  429. /package/{es → dist}/stores/modules/tabbar.d.ts +0 -0
  430. /package/{es → dist}/stores/modules/user.d.ts +0 -0
  431. /package/{es → dist}/stores/plugin/persist.d.ts +0 -0
  432. /package/{es → dist}/stores/plugin/sideEffect/cleanup.d.ts +0 -0
  433. /package/{es → dist}/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -0
  434. /package/{es → dist}/stores/plugin/sideEffect/iframeCache.d.ts +0 -0
  435. /package/{es → dist}/stores/plugin/sideEffect/index.d.ts +0 -0
  436. /package/{es → dist}/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -0
  437. /package/{es → dist}/utils/cleanup.d.ts +0 -0
  438. /package/{es → dist}/utils/crypto.d.ts +0 -0
  439. /package/{es → dist}/utils/eventBus.d.ts +0 -0
  440. /package/{es → dist}/utils/index.d.ts +0 -0
  441. /package/{es → dist}/utils/injectionKeys.d.ts +0 -0
  442. /package/{es → dist}/utils/storage.d.ts +0 -0
  443. /package/{es → dist}/utils/utils.d.ts +0 -0
  444. /package/{es → dist}/utils/watermark.d.ts +0 -0
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,18 +0,0 @@
1
- import { RouteParamValue } from 'vue-router';
2
- type __VLS_Props = {
3
- token?: RouteParamValue | RouteParamValue[];
4
- };
5
- declare const isValidate: import('vue').ModelRef<boolean, string, boolean, boolean>;
6
- type __VLS_PublicProps = {
7
- 'validate'?: typeof isValidate['value'];
8
- } & __VLS_Props;
9
- declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
10
- formState: any;
11
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- "update:validate": (value: boolean) => any;
13
- }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
- "onUpdate:validate"?: ((value: boolean) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
- changePasswordForm: unknown;
17
- }, HTMLDivElement>;
18
- export default _default;
@@ -1,31 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
- ChangePassWordForm: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
- validate?: boolean;
4
- } & {
5
- token?: import('vue-router').RouteParamValue | import('vue-router').RouteParamValue[];
6
- }> & Readonly<{
7
- "onUpdate:validate"?: ((value: boolean) => any) | undefined;
8
- }>, {
9
- formState: any;
10
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- "update:validate": (value: boolean) => any;
12
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
13
- changePasswordForm: unknown;
14
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
15
- P: {};
16
- B: {};
17
- D: {};
18
- C: {};
19
- M: {};
20
- Defaults: {};
21
- }, Readonly<{
22
- validate?: boolean;
23
- } & {
24
- token?: import('vue-router').RouteParamValue | import('vue-router').RouteParamValue[];
25
- }> & Readonly<{
26
- "onUpdate:validate"?: ((value: boolean) => any) | undefined;
27
- }>, {
28
- formState: any;
29
- }, {}, {}, {}, {}> | null;
30
- }, HTMLDivElement>;
31
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";const i=require("./notification-IZqPm_OK.cjs");function f(n,e,u){for(var t=-1,c=e.length,s={};++t<c;){var r=e[t],a=i.baseGet(n,r);u(a,r)&&i.baseSet(s,i.castPath(r,n),a)}return s}function l(n,e){return f(n,e,function(u,t){return i.hasIn(n,t)})}var k=i.flatRest(function(n,e){return n==null?{}:l(n,e)});exports.pick=k;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),n={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function i(r,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m-1-5h2v2h-2zm2-1.645V14h-2v-1.5a1 1 0 0 1 1-1a1.5 1.5 0 1 0-1.471-1.794l-1.962-.393A3.501 3.501 0 1 1 13 13.355"},null,-1)]))}const o=e.markRaw({name:"ri-question-line",render:i});exports.RiQuestionLine=o;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("vue-router"),r=e.defineComponent({__name:"reload",setup(n){const t=o.useRouter();return e.onMounted(()=>{t.go(-1)}),(u,c)=>(e.openBlock(),e.createElementBlock("div"))}});exports.default=r;
package/lib/request.cjs DELETED
@@ -1,6 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const et=require("alova"),tt=require("alova/client"),nt=require("alova/vue"),B=require("./notification-IZqPm_OK.cjs");require("pinia-plugin-persistedstate");require("vue");const ee="undefined",rt=void 0;typeof window===ee&&(typeof process!==ee&&process.cwd);const me=()=>{},st=(e,...t)=>new e(...t);function Ue(e,t){return function(){return e.apply(t,arguments)}}const{toString:ot}=Object.prototype,{getPrototypeOf:le}=Object,v=(e=>t=>{const n=ot.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),C=e=>(e=e.toLowerCase(),t=>v(t)===e),G=e=>t=>typeof t===e,{isArray:D}=Array,j=G("undefined");function it(e){return e!==null&&!j(e)&&e.constructor!==null&&!j(e.constructor)&&x(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Le=C("ArrayBuffer");function at(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Le(e.buffer),t}const ct=G("string"),x=G("function"),_e=G("number"),X=e=>e!==null&&typeof e=="object",ut=e=>e===!0||e===!1,$=e=>{if(v(e)!=="object")return!1;const t=le(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lt=C("Date"),ft=C("File"),dt=C("Blob"),pt=C("FileList"),ht=e=>X(e)&&x(e.pipe),mt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||x(e.append)&&((t=v(e))==="formdata"||t==="object"&&x(e.toString)&&e.toString()==="[object FormData]"))},yt=C("URLSearchParams"),[bt,wt,Rt,gt]=["ReadableStream","Request","Response","Headers"].map(C),St=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function H(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),D(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let c;for(r=0;r<i;r++)c=o[r],t.call(null,e[c],c,e)}}function ke(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const k=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Fe=e=>!j(e)&&e!==k;function se(){const{caseless:e}=Fe(this)&&this||{},t={},n=(r,s)=>{const o=e&&ke(t,s)||s;$(t[o])&&$(r)?t[o]=se(t[o],r):$(r)?t[o]=se({},r):D(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&H(arguments[r],n);return t}const Tt=(e,t,n,{allOwnKeys:r}={})=>(H(t,(s,o)=>{n&&x(s)?e[o]=Ue(s,n):e[o]=s},{allOwnKeys:r}),e),At=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Et=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Ot=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&le(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},xt=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ct=e=>{if(!e)return null;if(D(e))return e;let t=e.length;if(!_e(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Nt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&le(Uint8Array)),Ut=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Lt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},_t=C("HTMLFormElement"),kt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ye=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ft=C("RegExp"),Pe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};H(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Pt=e=>{Pe(e,(t,n)=>{if(x(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(x(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Bt=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return D(e)?r(e):r(String(e).split(t)),n},Dt=()=>{},It=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function qt(e){return!!(e&&x(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const jt=e=>{const t=new Array(10),n=(r,s)=>{if(X(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=D(r)?[]:{};return H(r,(i,c)=>{const f=n(i,s+1);!j(f)&&(o[c]=f)}),t[s]=void 0,o}}return r};return n(e,0)},Ht=C("AsyncFunction"),Mt=e=>e&&(X(e)||x(e))&&x(e.then)&&x(e.catch),Be=((e,t)=>e?setImmediate:t?((n,r)=>(k.addEventListener("message",({source:s,data:o})=>{s===k&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),k.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",x(k.postMessage)),zt=typeof queueMicrotask<"u"?queueMicrotask.bind(k):typeof process<"u"&&process.nextTick||Be,a={isArray:D,isArrayBuffer:Le,isBuffer:it,isFormData:mt,isArrayBufferView:at,isString:ct,isNumber:_e,isBoolean:ut,isObject:X,isPlainObject:$,isReadableStream:bt,isRequest:wt,isResponse:Rt,isHeaders:gt,isUndefined:j,isDate:lt,isFile:ft,isBlob:dt,isRegExp:Ft,isFunction:x,isStream:ht,isURLSearchParams:yt,isTypedArray:Nt,isFileList:pt,forEach:H,merge:se,extend:Tt,trim:St,stripBOM:At,inherits:Et,toFlatObject:Ot,kindOf:v,kindOfTest:C,endsWith:xt,toArray:Ct,forEachEntry:Ut,matchAll:Lt,isHTMLForm:_t,hasOwnProperty:ye,hasOwnProp:ye,reduceDescriptors:Pe,freezeMethods:Pt,toObjectSet:Bt,toCamelCase:kt,noop:Dt,toFiniteNumber:It,findKey:ke,global:k,isContextDefined:Fe,isSpecCompliantForm:qt,toJSONObject:jt,isAsyncFn:Ht,isThenable:Mt,setImmediate:Be,asap:zt};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.status}}});const De=m.prototype,Ie={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ie[e]={value:e}});Object.defineProperties(m,Ie);Object.defineProperty(De,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,o)=>{const i=Object.create(De);return a.toFlatObject(e,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),m.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const $t=null;function oe(e){return a.isPlainObject(e)||a.isArray(e)}function qe(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function be(e,t,n){return e?e.concat(t).map(function(s,o){return s=qe(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Vt(e){return a.isArray(e)&&!e.some(oe)}const Wt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function Z(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,h){return!a.isUndefined(h[b])});const r=n.metaTokens,s=n.visitor||l,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(a.isDate(p))return p.toISOString();if(!f&&a.isBlob(p))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(p)||a.isTypedArray(p)?f&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function l(p,b,h){let w=p;if(p&&!h&&typeof p=="object"){if(a.endsWith(b,"{}"))b=r?b:b.slice(0,-2),p=JSON.stringify(p);else if(a.isArray(p)&&Vt(p)||(a.isFileList(p)||a.endsWith(b,"[]"))&&(w=a.toArray(p)))return b=qe(b),w.forEach(function(T,U){!(a.isUndefined(T)||T===null)&&t.append(i===!0?be([b],U,o):i===null?b:b+"[]",u(T))}),!1}return oe(p)?!0:(t.append(be(h,b,o),u(p)),!1)}const d=[],y=Object.assign(Wt,{defaultVisitor:l,convertValue:u,isVisitable:oe});function g(p,b){if(!a.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(p),a.forEach(p,function(w,S){(!(a.isUndefined(w)||w===null)&&s.call(t,w,a.isString(S)?S.trim():S,b,y))===!0&&g(w,b?b.concat(S):[S])}),d.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return g(e),t}function we(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function fe(e,t){this._pairs=[],e&&Z(e,this,t)}const je=fe.prototype;je.append=function(t,n){this._pairs.push([t,n])};je.toString=function(t){const n=t?function(r){return t.call(this,r,we)}:we;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Jt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function He(e,t,n){if(!t)return e;const r=n&&n.encode||Jt;a.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=a.isURLSearchParams(t)?t.toString():new fe(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Re{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Me={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kt=typeof URLSearchParams<"u"?URLSearchParams:fe,vt=typeof FormData<"u"?FormData:null,Gt=typeof Blob<"u"?Blob:null,Xt={isBrowser:!0,classes:{URLSearchParams:Kt,FormData:vt,Blob:Gt},protocols:["http","https","file","blob","url","data"]},de=typeof window<"u"&&typeof document<"u",ie=typeof navigator=="object"&&navigator||void 0,Zt=de&&(!ie||["ReactNative","NativeScript","NS"].indexOf(ie.product)<0),Qt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yt=de&&window.location.href||"http://localhost",en=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:de,hasStandardBrowserEnv:Zt,hasStandardBrowserWebWorkerEnv:Qt,navigator:ie,origin:Yt},Symbol.toStringTag,{value:"Module"})),A={...en,...Xt};function tn(e,t){return Z(e,new A.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return A.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function nn(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rn(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function ze(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const c=Number.isFinite(+i),f=o>=n.length;return i=!i&&a.isArray(s)?s.length:i,f?(a.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!c):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&a.isArray(s[i])&&(s[i]=rn(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(nn(r),s,n,0)}),n}return null}function sn(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const M={transitional:Me,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(ze(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tn(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Z(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),sn(t)):t}],transformResponse:[function(t){const n=this.transitional||M.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:A.classes.FormData,Blob:A.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{M.headers[e]={}});const on=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),an=e=>{const t={};let n,r,s;return e&&e.split(`
2
- `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&on[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ge=Symbol("internals");function q(e){return e&&String(e).trim().toLowerCase()}function V(e){return e===!1||e==null?e:a.isArray(e)?e.map(V):String(e)}function cn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const un=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function te(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function ln(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function fn(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let O=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,f,u){const l=q(f);if(!l)throw new Error("header name must be a non-empty string");const d=a.findKey(s,l);(!d||s[d]===void 0||u===!0||u===void 0&&s[d]!==!1)&&(s[d||f]=V(c))}const i=(c,f)=>a.forEach(c,(u,l)=>o(u,l,f));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!un(t))i(an(t),n);else if(a.isHeaders(t))for(const[c,f]of t.entries())o(f,c,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=q(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return cn(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=q(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||te(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=q(i),i){const c=a.findKey(r,i);c&&(!n||te(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||te(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=V(s),delete n[o];return}const c=t?ln(o):String(o).trim();c!==o&&delete n[o],n[c]=V(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[ge]=this[ge]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=q(i);r[c]||(fn(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}};O.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(O.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(O);function ne(e,t){const n=this||M,r=t||n,s=O.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function $e(e){return!!(e&&e.__CANCEL__)}function I(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(I,m,{__CANCEL__:!0});function Ve(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function dn(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function pn(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),l=r[o];i||(i=u),n[s]=f,r[s]=u;let d=o,y=0;for(;d!==s;)y+=n[d++],d=d%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const g=l&&u-l;return g?Math.round(y*1e3/g):void 0}}function hn(e,t){let n=0,r=1e3/t,s,o;const i=(u,l=Date.now())=>{n=l,s=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const l=Date.now(),d=l-n;d>=r?i(u,l):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-d)))},()=>s&&i(s)]}const J=(e,t,n=3)=>{let r=0;const s=pn(50,250);return hn(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,f=i-r,u=s(f),l=i<=c;r=i;const d={loaded:i,total:c,progress:c?i/c:void 0,bytes:f,rate:u||void 0,estimated:u&&c&&l?(c-i)/u:void 0,event:o,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(d)},n)},Se=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Te=e=>(...t)=>a.asap(()=>e(...t)),mn=A.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,A.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(A.origin),A.navigator&&/(msie|trident)/i.test(A.navigator.userAgent)):()=>!0,yn=A.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function bn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wn(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function We(e,t,n){let r=!bn(t);return e&&r||n==!1?wn(e,t):t}const Ae=e=>e instanceof O?{...e}:e;function P(e,t){t=t||{};const n={};function r(u,l,d,y){return a.isPlainObject(u)&&a.isPlainObject(l)?a.merge.call({caseless:y},u,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(u,l,d,y){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u,d,y)}else return r(u,l,d,y)}function o(u,l){if(!a.isUndefined(l))return r(void 0,l)}function i(u,l){if(a.isUndefined(l)){if(!a.isUndefined(u))return r(void 0,u)}else return r(void 0,l)}function c(u,l,d){if(d in t)return r(u,l);if(d in e)return r(void 0,u)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(u,l,d)=>s(Ae(u),Ae(l),d,!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const d=f[l]||s,y=d(e[l],t[l],l);a.isUndefined(y)&&d!==c||(n[l]=y)}),n}const Je=e=>{const t=P({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:c}=t;t.headers=i=O.from(i),t.url=He(We(t.baseURL,t.url),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(n)){if(A.hasStandardBrowserEnv||A.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((f=i.getContentType())!==!1){const[u,...l]=f?f.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...l].join("; "))}}if(A.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(t)),r||r!==!1&&mn(t.url))){const u=s&&o&&yn.read(o);u&&i.set(s,u)}return t},Rn=typeof XMLHttpRequest<"u",gn=Rn&&function(e){return new Promise(function(n,r){const s=Je(e);let o=s.data;const i=O.from(s.headers).normalize();let{responseType:c,onUploadProgress:f,onDownloadProgress:u}=s,l,d,y,g,p;function b(){g&&g(),p&&p(),s.cancelToken&&s.cancelToken.unsubscribe(l),s.signal&&s.signal.removeEventListener("abort",l)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function w(){if(!h)return;const T=O.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:T,config:e,request:h};Ve(function(_){n(_),b()},function(_){r(_),b()},E),h=null}"onloadend"in h?h.onloadend=w:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(w)},h.onabort=function(){h&&(r(new m("Request aborted",m.ECONNABORTED,e,h)),h=null)},h.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let U=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const E=s.transitional||Me;s.timeoutErrorMessage&&(U=s.timeoutErrorMessage),r(new m(U,E.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,h)),h=null},o===void 0&&i.setContentType(null),"setRequestHeader"in h&&a.forEach(i.toJSON(),function(U,E){h.setRequestHeader(E,U)}),a.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),c&&c!=="json"&&(h.responseType=s.responseType),u&&([y,p]=J(u,!0),h.addEventListener("progress",y)),f&&h.upload&&([d,g]=J(f),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",g)),(s.cancelToken||s.signal)&&(l=T=>{h&&(r(!T||T.type?new I(null,e,h):T),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(l),s.signal&&(s.signal.aborted?l():s.signal.addEventListener("abort",l)));const S=dn(s.url);if(S&&A.protocols.indexOf(S)===-1){r(new m("Unsupported protocol "+S+":",m.ERR_BAD_REQUEST,e));return}h.send(o||null)})},Sn=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,c();const l=u instanceof Error?u:this.reason;r.abort(l instanceof m?l:new I(l instanceof Error?l.message:l))}};let i=t&&setTimeout(()=>{i=null,o(new m(`timeout ${t} of ms exceeded`,m.ETIMEDOUT))},t);const c=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:f}=r;return f.unsubscribe=()=>a.asap(c),f}},Tn=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},An=async function*(e,t){for await(const n of En(e))yield*Tn(n,t)},En=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ee=(e,t,n,r)=>{const s=An(e,t);let o=0,i,c=f=>{i||(i=!0,r&&r(f))};return new ReadableStream({async pull(f){try{const{done:u,value:l}=await s.next();if(u){c(),f.close();return}let d=l.byteLength;if(n){let y=o+=d;n(y)}f.enqueue(new Uint8Array(l))}catch(u){throw c(u),u}},cancel(f){return c(f),s.return()}},{highWaterMark:2})},Q=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ke=Q&&typeof ReadableStream=="function",On=Q&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ve=(e,...t)=>{try{return!!e(...t)}catch{return!1}},xn=Ke&&ve(()=>{let e=!1;const t=new Request(A.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Oe=64*1024,ae=Ke&&ve(()=>a.isReadableStream(new Response("").body)),K={stream:ae&&(e=>e.body)};Q&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!K[t]&&(K[t]=a.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new m(`Response type '${t}' is not supported`,m.ERR_NOT_SUPPORT,r)})})})(new Response);const Cn=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(A.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(a.isArrayBufferView(e)||a.isArrayBuffer(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await On(e)).byteLength},Nn=async(e,t)=>{const n=a.toFiniteNumber(e.getContentLength());return n??Cn(t)},Un=Q&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:c,onUploadProgress:f,responseType:u,headers:l,withCredentials:d="same-origin",fetchOptions:y}=Je(e);u=u?(u+"").toLowerCase():"text";let g=Sn([s,o&&o.toAbortSignal()],i),p;const b=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let h;try{if(f&&xn&&n!=="get"&&n!=="head"&&(h=await Nn(l,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),L;if(a.isFormData(r)&&(L=E.headers.get("content-type"))&&l.setContentType(L),E.body){const[_,z]=Se(h,J(Te(f)));r=Ee(E.body,Oe,_,z)}}a.isString(d)||(d=d?"include":"omit");const w="credentials"in Request.prototype;p=new Request(t,{...y,signal:g,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:r,duplex:"half",credentials:w?d:void 0});let S=await fetch(p);const T=ae&&(u==="stream"||u==="response");if(ae&&(c||T&&b)){const E={};["status","statusText","headers"].forEach(he=>{E[he]=S[he]});const L=a.toFiniteNumber(S.headers.get("content-length")),[_,z]=c&&Se(L,J(Te(c),!0))||[];S=new Response(Ee(S.body,Oe,_,()=>{z&&z(),b&&b()}),E)}u=u||"text";let U=await K[a.findKey(K,u)||"text"](S,e);return!T&&b&&b(),await new Promise((E,L)=>{Ve(E,L,{data:U,headers:O.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:p})})}catch(w){throw b&&b(),w&&w.name==="TypeError"&&/fetch/i.test(w.message)?Object.assign(new m("Network Error",m.ERR_NETWORK,e,p),{cause:w.cause||w}):m.from(w,w&&w.code,e,p)}}),ce={http:$t,xhr:gn,fetch:Un};a.forEach(ce,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xe=e=>`- ${e}`,Ln=e=>a.isFunction(e)||e===null||e===!1,Ge={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let i;if(r=n,!Ln(n)&&(r=ce[(i=String(n)).toLowerCase()],r===void 0))throw new m(`Unknown adapter '${i}'`);if(r)break;s[i||"#"+o]=r}if(!r){const o=Object.entries(s).map(([c,f])=>`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
4
- `+o.map(xe).join(`
5
- `):" "+xe(o[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ce};function re(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new I(null,e)}function Ce(e){return re(e),e.headers=O.from(e.headers),e.data=ne.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ge.getAdapter(e.adapter||M.adapter)(e).then(function(r){return re(e),r.data=ne.call(e,e.transformResponse,r),r.headers=O.from(r.headers),r},function(r){return $e(r)||(re(e),r&&r.response&&(r.response.data=ne.call(e,e.transformResponse,r.response),r.response.headers=O.from(r.response.headers))),Promise.reject(r)})}const Xe="1.8.1",Y={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Y[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ne={};Y.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Xe+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new m(s(i," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!Ne[i]&&(Ne[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}};Y.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function _n(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const c=e[o],f=c===void 0||i(c,o,e);if(f!==!0)throw new m("option "+o+" must be "+f,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+o,m.ERR_BAD_OPTION)}}const W={assertOptions:_n,validators:Y},N=W.validators;let F=class{constructor(t){this.defaults=t,this.interceptors={request:new Re,response:new Re}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
6
- `+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=P(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&W.assertOptions(r,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:W.assertOptions(s,{encode:N.function,serialize:N.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),W.assertOptions(n,{baseUrl:N.spelling("baseURL"),withXsrfToken:N.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=O.concat(i,o);const c=[];let f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(f=f&&b.synchronous,c.unshift(b.fulfilled,b.rejected))});const u=[];this.interceptors.response.forEach(function(b){u.push(b.fulfilled,b.rejected)});let l,d=0,y;if(!f){const p=[Ce.bind(this),void 0];for(p.unshift.apply(p,c),p.push.apply(p,u),y=p.length,l=Promise.resolve(n);d<y;)l=l.then(p[d++],p[d++]);return l}y=c.length;let g=n;for(d=0;d<y;){const p=c[d++],b=c[d++];try{g=p(g)}catch(h){b.call(this,h);break}}try{l=Ce.call(this,g)}catch(p){return Promise.reject(p)}for(d=0,y=u.length;d<y;)l=l.then(u[d++],u[d++]);return l}getUri(t){t=P(this.defaults,t);const n=We(t.baseURL,t.url,t.allowAbsoluteUrls);return He(n,t.params,t.paramsSerializer)}};a.forEach(["delete","get","head","options"],function(t){F.prototype[t]=function(n,r){return this.request(P(r||{},{method:t,url:n,data:(r||{}).data}))}});a.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,c){return this.request(P(c||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}F.prototype[t]=n(),F.prototype[t+"Form"]=n(!0)});let kn=class Ze{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{r.subscribe(c),o=c}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,c){r.reason||(r.reason=new I(o,i,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ze(function(s){t=s}),cancel:t}}};function Fn(e){return function(n){return e.apply(null,n)}}function Pn(e){return a.isObject(e)&&e.isAxiosError===!0}const ue={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ue).forEach(([e,t])=>{ue[t]=e});function Qe(e){const t=new F(e),n=Ue(F.prototype.request,t);return a.extend(n,F.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Qe(P(e,s))},n}const R=Qe(M);R.Axios=F;R.CanceledError=I;R.CancelToken=kn;R.isCancel=$e;R.VERSION=Xe;R.toFormData=Z;R.AxiosError=m;R.Cancel=R.CanceledError;R.all=function(t){return Promise.all(t)};R.spread=Fn;R.isAxiosError=Pn;R.mergeConfig=P;R.AxiosHeaders=O;R.formToJSON=e=>ze(a.isHTMLForm(e)?new FormData(e):e);R.getAdapter=Ge.getAdapter;R.HttpStatusCode=ue;R.default=R;const{Axios:vn,AxiosError:Gn,CanceledError:Xn,isCancel:Zn,CancelToken:Qn,VERSION:Yn,all:er,Cancel:tr,isAxiosError:nr,spread:rr,toFormData:sr,AxiosHeaders:Bn,HttpStatusCode:or,formToJSON:ir,getAdapter:ar,mergeConfig:cr}=R;function Dn(e={}){const t=e.axios||R;return(r,s)=>{let o=me,i=me;const{config:c}=s,f=new AbortController,{baseURL:u,timeout:l}=t.defaults,d=t({url:s.url,method:s.type,baseURL:u||s.baseURL,timeout:l||s.config.timeout,data:s.data,signal:f.signal,onUploadProgress:process.env.NODE_ENV!=="test"?y=>{i(y.loaded,y.total||1)}:rt,onDownloadProgress:y=>{o(y.loaded,y.total||1)},...c});return{response:()=>d,headers:()=>d.then(y=>(y==null?void 0:y.headers)||st(Bn)),abort:()=>{f.abort()},onDownload:y=>{o=y},onUpload:y=>{i=y}}}}var pe=(e=>(e[e.SUCCESS=0]="SUCCESS",e[e.ERROR=-1]="ERROR",e[e.BUSINESS_ERROR=4]="BUSINESS_ERROR",e[e.ACCOUNT_LOCKED=400001001]="ACCOUNT_LOCKED",e[e.LOGINNAME_PASSWORD_WRONG=400001002]="LOGINNAME_PASSWORD_WRONG",e[e.ACCOUT_NOT_ENABLE=400001003]="ACCOUT_NOT_ENABLE",e[e.ACCESS_TOKEN_INVALID=400001006]="ACCESS_TOKEN_INVALID",e[e.LOGIN_TOKEN_INVALID=400001004]="LOGIN_TOKEN_INVALID",e[e.UNAUTHORIZED_ACCESS=400001007]="UNAUTHORIZED_ACCESS",e[e.CODE_OVERTIME=400002001]="CODE_OVERTIME",e[e.CODE_WRONG=400002002]="CODE_WRONG",e[e.CHANGE_INIT_PASSWORD=400003001]="CHANGE_INIT_PASSWORD",e[e.PASSWORD_EXPIRED=400003002]="PASSWORD_EXPIRED",e))(pe||{});function In(e){const t=B.useUserStore();t.isLogin&&(e.config.headers.Authorization=t.user.token)}function qn(e){const t=B.useSettingsStore();e.config.headers["Accept-Language"]=t.settings.app.defaultLang}function jn(e){const t=B.useSettingsStore();e.config.headers["X-ResourceMark"]=e.config.headers["X-ResourceMark"]||t.auth}function Hn(){const e=B.useUserStore(),t=B.postAuthTokenRefresh({refreshToken:e.user.refreshToken});return t.meta={authRole:"refreshToken"},t}function Mn(e){return e===pe.ACCESS_TOKEN_INVALID}function zn(e,t){const n=B.useUserStore();n.user.token=e,n.user.refreshToken=t}function Ye(){return tt.createServerTokenAuthentication({assignToken:e=>{In(e)},refreshTokenOnSuccess:{isExpired:e=>Mn(e.data.code),handler:async()=>{const e=await Hn(),{accessToken:t,refreshToken:n}=e.data;zn(t,n)}}})}const{onAuthRequired:$n,onResponseRefreshToken:Vn}=Ye();function Wn(e){const{axios:t,beforeRequest:n,responded:r}=e;return et.createAlova({statesHook:nt,requestAdapter:Dn(t),cacheFor:null,timeout:60*1e3,...e,beforeRequest:$n(o=>(jn(o),qn(o),n==null?void 0:n(o))),responded:Vn(r)})}exports.RESPONSE_CODE=pe;exports.createRequest=Wn;exports.createTokenAuthentication=Ye;
@@ -1 +0,0 @@
1
- "use strict";const e=require("vue"),l={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};function n(r,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"m237.248 512l265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"},null,-1)]))}const o=e.markRaw({name:"ep-back",render:n}),a={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"};function c(r,t){return e.openBlock(),e.createElementBlock("svg",a,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"},null,-1)]))}const i=e.markRaw({name:"ep-right",render:c});exports.EpBack=o;exports.EpRight=i;
@@ -1,9 +0,0 @@
1
- import { Route } from '../../types/vue-router';
2
- /**
3
- * 定义并注册动态路由
4
- */
5
- export declare function defineAsyncRoutes(routes: Route.recordMainRaw[]): Route.recordMainRaw[];
6
- /**
7
- * 读取注册的动态路由
8
- */
9
- export declare function getAsyncRoutes(): Route.recordMainRaw[];
@@ -1,3 +0,0 @@
1
- import { Router } from 'vue-router';
2
- /** 权限路由守卫 */
3
- export declare function createAuthGuard(router: Router): void;
@@ -1,3 +0,0 @@
1
- import { Router } from 'vue-router';
2
- /** 基础路由守卫 */
3
- export declare function createBasicGuard(router: Router): void;
@@ -1,3 +0,0 @@
1
- export * from './auth';
2
- export * from './basic';
3
- export * from './setting';
@@ -1,3 +0,0 @@
1
- import { Router } from 'vue-router';
2
- /** 配置路由守卫 */
3
- export declare function createSettingGuard(router: Router): void;
@@ -1,7 +0,0 @@
1
- import { Router } from 'vue-router';
2
- export declare function setupRouterGuard({ router }: {
3
- router: Router;
4
- }): void;
5
- export * from './async';
6
- export * from './guard';
7
- export * from './routes';
@@ -1,3 +0,0 @@
1
- import { RouteRecordRaw } from 'vue-router';
2
- export declare const constantRoutes: RouteRecordRaw[];
3
- export declare const systemRoutes: RouteRecordRaw[];
@@ -1,20 +0,0 @@
1
- export declare enum STORE_NAME {
2
- /** @description 标签管理 */
3
- FAVORITES = "favorites",
4
- /** @description iframe功能 */
5
- IFRAME = "iframe",
6
- /** @description 页面缓存功能 */
7
- KEEP_ALIVE = "keepAlive",
8
- /** @description 维护侧边栏 */
9
- MENU = "menu",
10
- /** @description 消息通知 */
11
- NOTIFICATION = "notification",
12
- /** @description 路由系统 */
13
- ROUTE = "route",
14
- /** @description 系统设置 */
15
- SETTINGS = "settings",
16
- /** @description tab操作栏 */
17
- TABBAR = "tabbar",
18
- /** @description 用户信息 */
19
- USER = "user"
20
- }
@@ -1,2 +0,0 @@
1
- export declare function getTabbarMemoryKey(): string;
2
- export declare function getfavoritesMemoryKey(): string;
@@ -1,5 +0,0 @@
1
- import { Pinia } from 'pinia';
2
- export declare function setupStore({ store }: {
3
- store: Pinia;
4
- }): void;
5
- export * from './modules';
@@ -1,33 +0,0 @@
1
- import { Favorites } from '../../../types/favorites';
2
- import { Route } from '../../../types/vue-router';
3
- import { RouteLocationNormalized } from 'vue-router';
4
- import { STORE_NAME } from '../enum';
5
- /**
6
- * 用于管理收藏夹的自定义存储。
7
- *
8
- * @returns 包含各种函数和响应式属性以管理收藏夹的对象。
9
- */
10
- declare const useFavoritesStore: import('pinia').StoreDefinition<STORE_NAME.FAVORITES, Pick<{
11
- list: any;
12
- canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
13
- isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => any;
14
- add: (route: RouteLocationNormalized) => void;
15
- remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
16
- sort: (newIndex: number, oldIndex: number) => void;
17
- }, any>, Pick<{
18
- list: any;
19
- canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
20
- isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => any;
21
- add: (route: RouteLocationNormalized) => void;
22
- remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
23
- sort: (newIndex: number, oldIndex: number) => void;
24
- }, any>, Pick<{
25
- list: any;
26
- canAdd: (fullPath: Favorites.recordRaw["fullPath"], routes?: Route.recordMainRaw[]) => boolean;
27
- isAdd: (fullPath: Favorites.recordRaw["fullPath"]) => any;
28
- add: (route: RouteLocationNormalized) => void;
29
- remove: (fullPath: Favorites.recordRaw["fullPath"]) => void;
30
- sort: (newIndex: number, oldIndex: number) => void;
31
- }, any>>;
32
- export default useFavoritesStore;
33
- export type FavoritesStore = ReturnType<typeof useFavoritesStore>;
@@ -1,42 +0,0 @@
1
- import { RouteRecordNormalized } from 'vue-router';
2
- import { STORE_NAME } from '../enum';
3
- /**
4
- * useIframeStore 是一个自定义的 Vue 组合函数,提供了用于管理 store 中 iframe 的响应式状态和方法。
5
- * 它返回一个包含以下属性和方法的对象:
6
- * - isGenerate: 一个 ref,表示 iframe 列表是否已生成。
7
- * - openedList: 一个计算属性,返回当前打开的 iframe 的过滤列表。
8
- * - generateList: 一个根据提供的路由配置生成 iframe 列表的方法。
9
- * - closeLoading: 一个关闭特定 iframe 的加载状态的方法。
10
- * - open: 一个打开特定 iframe 并更新最近路径列表的方法。
11
- * - close: 一个关闭一个或多个 iframe 并从最近路径列表中移除它们的方法。
12
- */
13
- declare const useIframeStore: import('pinia').StoreDefinition<STORE_NAME.IFRAME, Pick<{
14
- isGenerate: any;
15
- openedList: any;
16
- generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
17
- closeLoading: (path: string) => void;
18
- open: (path: string) => void;
19
- close: (path: string | string[]) => void;
20
- recentPathList: any;
21
- list: any;
22
- }, any>, Pick<{
23
- isGenerate: any;
24
- openedList: any;
25
- generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
26
- closeLoading: (path: string) => void;
27
- open: (path: string) => void;
28
- close: (path: string | string[]) => void;
29
- recentPathList: any;
30
- list: any;
31
- }, any>, Pick<{
32
- isGenerate: any;
33
- openedList: any;
34
- generateList: (router: RouteRecordNormalized[], user: any) => Promise<void>;
35
- closeLoading: (path: string) => void;
36
- open: (path: string) => void;
37
- close: (path: string | string[]) => void;
38
- recentPathList: any;
39
- list: any;
40
- }, any>>;
41
- export default useIframeStore;
42
- export type IframeStore = ReturnType<typeof useIframeStore>;
@@ -1,18 +0,0 @@
1
- export { default as useFavoritesStore } from './favorites';
2
- export * from './favorites';
3
- export { default as useIframeStore } from './iframe';
4
- export * from './iframe';
5
- export { default as useKeepAliveStore } from './keepAlive';
6
- export * from './keepAlive';
7
- export { default as useMenuStore } from './menu';
8
- export * from './menu';
9
- export { default as useNotificationStore } from './notification';
10
- export * from './notification';
11
- export { default as useRouteStore } from './route';
12
- export * from './route';
13
- export { default as useSettingsStore } from './settings';
14
- export * from './settings';
15
- export { default as useTabbarStore } from './tabbar';
16
- export * from './tabbar';
17
- export { default as useUserStore } from './user';
18
- export * from './user';
@@ -1,24 +0,0 @@
1
- import { STORE_NAME } from '../enum';
2
- /**
3
- * 创建一个用于管理 keep-alive 组件的存储对象。
4
- *
5
- * @returns keep-alive 存储对象。
6
- */
7
- declare const useKeepAliveStore: import('pinia').StoreDefinition<STORE_NAME.KEEP_ALIVE, Pick<{
8
- list: any;
9
- add: (name: string | string[]) => any;
10
- remove: (name: string | string[]) => void;
11
- clean: () => void;
12
- }, any>, Pick<{
13
- list: any;
14
- add: (name: string | string[]) => any;
15
- remove: (name: string | string[]) => void;
16
- clean: () => void;
17
- }, any>, Pick<{
18
- list: any;
19
- add: (name: string | string[]) => any;
20
- remove: (name: string | string[]) => void;
21
- clean: () => void;
22
- }, any>>;
23
- export default useKeepAliveStore;
24
- export type KeepAliveStore = ReturnType<typeof useKeepAliveStore>;
@@ -1,33 +0,0 @@
1
- import { STORE_NAME } from '../enum';
2
- /**
3
- * 用于管理与菜单相关数据的自定义存储。
4
- *
5
- * @returns 包含与菜单相关的各种计算属性和函数的对象。
6
- */
7
- declare const useMenuStore: import('pinia').StoreDefinition<STORE_NAME.MENU, Pick<{
8
- menus: any;
9
- actived: any;
10
- allMenus: any;
11
- sidebarMenus: any;
12
- sidebarMenusFirstDeepestPath: any;
13
- defaultOpenedPaths: any;
14
- setActived: (data: number | string) => void;
15
- }, any>, Pick<{
16
- menus: any;
17
- actived: any;
18
- allMenus: any;
19
- sidebarMenus: any;
20
- sidebarMenusFirstDeepestPath: any;
21
- defaultOpenedPaths: any;
22
- setActived: (data: number | string) => void;
23
- }, any>, Pick<{
24
- menus: any;
25
- actived: any;
26
- allMenus: any;
27
- sidebarMenus: any;
28
- sidebarMenusFirstDeepestPath: any;
29
- defaultOpenedPaths: any;
30
- setActived: (data: number | string) => void;
31
- }, any>>;
32
- export default useMenuStore;
33
- export type MenuStore = ReturnType<typeof useMenuStore>;
@@ -1,19 +0,0 @@
1
- import { STORE_NAME } from '../enum';
2
- declare const useNotificationStore: import('pinia').StoreDefinition<STORE_NAME.NOTIFICATION, Pick<{
3
- message: any;
4
- todo: any;
5
- total: any;
6
- init: () => void;
7
- }, any>, Pick<{
8
- message: any;
9
- todo: any;
10
- total: any;
11
- init: () => void;
12
- }, any>, Pick<{
13
- message: any;
14
- todo: any;
15
- total: any;
16
- init: () => void;
17
- }, any>>;
18
- export default useNotificationStore;
19
- export type NotificationStore = ReturnType<typeof useNotificationStore>;
@@ -1,43 +0,0 @@
1
- import { STORE_NAME } from '../enum';
2
- declare const useRouteStore: import('pinia').StoreDefinition<STORE_NAME.ROUTE, Pick<{
3
- isGenerate: any;
4
- routes: any;
5
- currentRemoveRoutes: any;
6
- flatRoutes: any;
7
- flatSystemRoutes: any;
8
- generateRoutesAtFront: () => Promise<void>;
9
- generateRoutesAtBack: () => Promise<void>;
10
- setCurrentRemoveRoutes: (routes: Array<{
11
- (): void;
12
- system?: boolean;
13
- }>) => void;
14
- removeRoutes: (isRefresh?: boolean) => void;
15
- }, any>, Pick<{
16
- isGenerate: any;
17
- routes: any;
18
- currentRemoveRoutes: any;
19
- flatRoutes: any;
20
- flatSystemRoutes: any;
21
- generateRoutesAtFront: () => Promise<void>;
22
- generateRoutesAtBack: () => Promise<void>;
23
- setCurrentRemoveRoutes: (routes: Array<{
24
- (): void;
25
- system?: boolean;
26
- }>) => void;
27
- removeRoutes: (isRefresh?: boolean) => void;
28
- }, any>, Pick<{
29
- isGenerate: any;
30
- routes: any;
31
- currentRemoveRoutes: any;
32
- flatRoutes: any;
33
- flatSystemRoutes: any;
34
- generateRoutesAtFront: () => Promise<void>;
35
- generateRoutesAtBack: () => Promise<void>;
36
- setCurrentRemoveRoutes: (routes: Array<{
37
- (): void;
38
- system?: boolean;
39
- }>) => void;
40
- removeRoutes: (isRefresh?: boolean) => void;
41
- }, any>>;
42
- export default useRouteStore;
43
- export type RouteStore = ReturnType<typeof useRouteStore>;
@@ -1,86 +0,0 @@
1
- import { RouteLocationNormalized, RouteMeta } from 'vue-router';
2
- import { STORE_NAME } from '../enum';
3
- declare const useSettingsStore: import('pinia').StoreDefinition<STORE_NAME.SETTINGS, Pick<{
4
- settings: any;
5
- os: any;
6
- auth: any;
7
- setAuth: (_auth: RouteMeta["auth"]) => void;
8
- title: any;
9
- setTitle: (_title: RouteMeta["title"]) => void;
10
- customTitleList: any;
11
- setCustomTitle: (fullPath: RouteLocationNormalized["fullPath"], title: string) => void;
12
- resetCustomTitle: (fullPath: RouteLocationNormalized["fullPath"]) => void;
13
- mode: any;
14
- setMode: (width: number) => void;
15
- subMenuCollapseLastStatus: any;
16
- toggleSidebarCollapse: () => void;
17
- setDefaultLang: (lang: string) => void;
18
- setColorScheme: (color: Required<Settings.app>["colorScheme"]) => void;
19
- mainPageMaximizeStatus: any;
20
- setMainPageMaximize: (value?: boolean) => void;
21
- updateSettings: (data: Settings.all, fromBase?: boolean) => void;
22
- globalSettings: any;
23
- updateGlobalSettings: (data: Settings.all) => void;
24
- userSettings: any;
25
- updateUserSettings: (data: Settings.all) => void;
26
- setGlobaleSettingsFlag: (flag?: boolean) => void;
27
- getPreferencesAll: () => Promise<void>;
28
- setPreferencesSetting: (content: Settings.all) => Promise<void>;
29
- resetSettings: () => Promise<void>;
30
- }, any>, Pick<{
31
- settings: any;
32
- os: any;
33
- auth: any;
34
- setAuth: (_auth: RouteMeta["auth"]) => void;
35
- title: any;
36
- setTitle: (_title: RouteMeta["title"]) => void;
37
- customTitleList: any;
38
- setCustomTitle: (fullPath: RouteLocationNormalized["fullPath"], title: string) => void;
39
- resetCustomTitle: (fullPath: RouteLocationNormalized["fullPath"]) => void;
40
- mode: any;
41
- setMode: (width: number) => void;
42
- subMenuCollapseLastStatus: any;
43
- toggleSidebarCollapse: () => void;
44
- setDefaultLang: (lang: string) => void;
45
- setColorScheme: (color: Required<Settings.app>["colorScheme"]) => void;
46
- mainPageMaximizeStatus: any;
47
- setMainPageMaximize: (value?: boolean) => void;
48
- updateSettings: (data: Settings.all, fromBase?: boolean) => void;
49
- globalSettings: any;
50
- updateGlobalSettings: (data: Settings.all) => void;
51
- userSettings: any;
52
- updateUserSettings: (data: Settings.all) => void;
53
- setGlobaleSettingsFlag: (flag?: boolean) => void;
54
- getPreferencesAll: () => Promise<void>;
55
- setPreferencesSetting: (content: Settings.all) => Promise<void>;
56
- resetSettings: () => Promise<void>;
57
- }, any>, Pick<{
58
- settings: any;
59
- os: any;
60
- auth: any;
61
- setAuth: (_auth: RouteMeta["auth"]) => void;
62
- title: any;
63
- setTitle: (_title: RouteMeta["title"]) => void;
64
- customTitleList: any;
65
- setCustomTitle: (fullPath: RouteLocationNormalized["fullPath"], title: string) => void;
66
- resetCustomTitle: (fullPath: RouteLocationNormalized["fullPath"]) => void;
67
- mode: any;
68
- setMode: (width: number) => void;
69
- subMenuCollapseLastStatus: any;
70
- toggleSidebarCollapse: () => void;
71
- setDefaultLang: (lang: string) => void;
72
- setColorScheme: (color: Required<Settings.app>["colorScheme"]) => void;
73
- mainPageMaximizeStatus: any;
74
- setMainPageMaximize: (value?: boolean) => void;
75
- updateSettings: (data: Settings.all, fromBase?: boolean) => void;
76
- globalSettings: any;
77
- updateGlobalSettings: (data: Settings.all) => void;
78
- userSettings: any;
79
- updateUserSettings: (data: Settings.all) => void;
80
- setGlobaleSettingsFlag: (flag?: boolean) => void;
81
- getPreferencesAll: () => Promise<void>;
82
- setPreferencesSetting: (content: Settings.all) => Promise<void>;
83
- resetSettings: () => Promise<void>;
84
- }, any>>;
85
- export default useSettingsStore;
86
- export type SettingsStore = ReturnType<typeof useSettingsStore>;