@pubinfo/core 2.0.0-beta.1

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 (742) hide show
  1. package/es/AppSetting-BXQHV5F8.js +125 -0
  2. package/es/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +25 -0
  3. package/es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js +41 -0
  4. package/es/HDivider-DgXBhPr0.js +21 -0
  5. package/es/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +33 -0
  6. package/es/HToggle-Cd71WKvG.js +34 -0
  7. package/es/PreferencesContent-CQkwkQ_1.js +972 -0
  8. package/es/SettingBreadcrumb-Bp_66IFN.js +50 -0
  9. package/es/SettingCopyright-BPSnoTQb.js +62 -0
  10. package/es/SettingEnableTransition-Rx2-0Wxj.js +78 -0
  11. package/es/SettingHome-BW27PQqs.js +55 -0
  12. package/es/SettingMenu-D5gdNfal.js +120 -0
  13. package/es/SettingMode-B4_HGVez.js +69 -0
  14. package/es/SettingNavSearch-CRovYxzh.js +46 -0
  15. package/es/SettingOther-D0zo11vM.js +81 -0
  16. package/es/SettingPage-B8GHuoKV.js +29 -0
  17. package/es/SettingTabbar-Cn_QzvA8.js +154 -0
  18. package/es/SettingThemes-D_DpEncn.js +144 -0
  19. package/es/SettingToolbar-Csl2gnfi.js +85 -0
  20. package/es/SettingTopbar-CaHjQULM.js +52 -0
  21. package/es/SettingWidthMode-BGiP7gTw.js +68 -0
  22. package/es/TopThinMode-DWm0oY5Y.js +35 -0
  23. package/es/_...all_-DI_QAUox.js +52 -0
  24. package/es/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  25. package/es/api/enum/code.d.ts +67 -0
  26. package/es/api/helper.d.ts +32 -0
  27. package/es/api/index.d.ts +12 -0
  28. package/es/api/interface.d.ts +14 -0
  29. package/es/api/modules/auth/index.d.ts +1 -0
  30. package/es/api/modules/auth/renzhengfuwu.d.ts +50 -0
  31. package/es/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
  32. package/es/api/modules/configData/index.d.ts +3 -0
  33. package/es/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
  34. package/es/api/modules/configData/zidianfuwu.d.ts +71 -0
  35. package/es/api/modules/rbac/gangweijiekou.d.ts +43 -0
  36. package/es/api/modules/rbac/index.d.ts +11 -0
  37. package/es/api/modules/rbac/jiaosejiekou.d.ts +50 -0
  38. package/es/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
  39. package/es/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
  40. package/es/api/modules/rbac/yonghujiekou.d.ts +106 -0
  41. package/es/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
  42. package/es/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
  43. package/es/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
  44. package/es/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
  45. package/es/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
  46. package/es/api/modules/rbac/zuzhijiekou.d.ts +64 -0
  47. package/es/api/request.d.ts +2 -0
  48. package/es/api/system/app.d.ts +17 -0
  49. package/es/api/system/user.d.ts +24 -0
  50. package/es/assets/styles/index.d.ts +6 -0
  51. package/es/colors-oRlAXMUC.js +25 -0
  52. package/es/components/NotAllowed/index.vue.d.ts +2 -0
  53. package/es/components/PageHeader/index.vue.d.ts +23 -0
  54. package/es/components/PageMain/index.vue.d.ts +27 -0
  55. package/es/components/PassStrengthValidator/index.vue.d.ts +26 -0
  56. package/es/components/PassStrengthValidator/rule.vue.d.ts +8 -0
  57. package/es/components/PubinfoApp/index.vue.d.ts +2 -0
  58. package/es/components/PubinfoIcon/index.vue.d.ts +10 -0
  59. package/es/components/PubinfoProvider/index.d.ts +8 -0
  60. package/es/components/index.d.ts +8 -0
  61. package/es/composables/auth.d.ts +8 -0
  62. package/es/composables/index.d.ts +4 -0
  63. package/es/composables/log.d.ts +6 -0
  64. package/es/composables/theme.d.ts +3 -0
  65. package/es/composables/watchDiff.d.ts +2 -0
  66. package/es/config/index.d.ts +1 -0
  67. package/es/config/settings.d.ts +3 -0
  68. package/es/context.d.ts +14 -0
  69. package/es/create.d.ts +3 -0
  70. package/es/directives/index.d.ts +4 -0
  71. package/es/directives/plugins/permission.d.ts +6 -0
  72. package/es/index-B9I6Pru6.js +276 -0
  73. package/es/index-BHkrq701.js +137 -0
  74. package/es/index-BkqnOkyO.js +49 -0
  75. package/es/index-BvVAS3S-.js +35841 -0
  76. package/es/index-ChOUZNbk.js +354 -0
  77. package/es/index-D8eeneI_.js +271 -0
  78. package/es/index-DTQQt_XY.js +10 -0
  79. package/es/index-Dav3jQVP.js +8228 -0
  80. package/es/index-DvHnVMX5.js +12913 -0
  81. package/es/index-P2cA5UeU.js +230 -0
  82. package/es/index.d.ts +11 -0
  83. package/es/index.js +76 -0
  84. package/es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js +2300 -0
  85. package/es/interface.d.ts +29 -0
  86. package/es/layout/Layout.vue.d.ts +20 -0
  87. package/es/layout/components/BackTop/index.vue.d.ts +2 -0
  88. package/es/layout/components/Content/IframeView.vue.d.ts +4 -0
  89. package/es/layout/components/Content/LinkView.vue.d.ts +2 -0
  90. package/es/layout/components/Content/index.vue.d.ts +2 -0
  91. package/es/layout/components/Copyright/index.vue.d.ts +2 -0
  92. package/es/layout/components/Header/TopMode/More.vue.d.ts +26 -0
  93. package/es/layout/components/Header/TopMode/NotCursor.vue.d.ts +25 -0
  94. package/es/layout/components/Header/TopMode/index.vue.d.ts +4 -0
  95. package/es/layout/components/Header/TopThinMode.vue.d.ts +4 -0
  96. package/es/layout/components/Header/index.vue.d.ts +19 -0
  97. package/es/layout/components/Logo/index.vue.d.ts +26 -0
  98. package/es/layout/components/Menu/index.vue.d.ts +10 -0
  99. package/es/layout/components/Menu/item.vue.d.ts +11 -0
  100. package/es/layout/components/Menu/sub.vue.d.ts +219 -0
  101. package/es/layout/components/Menu/types.d.ts +42 -0
  102. package/es/layout/components/SettingBar/AppSetting.vue.d.ts +12 -0
  103. package/es/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
  104. package/es/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
  105. package/es/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
  106. package/es/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
  107. package/es/layout/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
  108. package/es/layout/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
  109. package/es/layout/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
  110. package/es/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
  111. package/es/layout/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
  112. package/es/layout/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
  113. package/es/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
  114. package/es/layout/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
  115. package/es/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
  116. package/es/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
  117. package/es/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
  118. package/es/layout/components/SettingBar/index.vue.d.ts +2 -0
  119. package/es/layout/components/Sidebar/MainSidebar.vue.d.ts +2 -0
  120. package/es/layout/components/Sidebar/SubSidebar.vue.d.ts +2 -0
  121. package/es/layout/components/Sidebar/index.vue.d.ts +2 -0
  122. package/es/layout/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
  123. package/es/layout/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
  124. package/es/layout/components/Tools/DayNightSwitch.vue.d.ts +2 -0
  125. package/es/layout/components/Tools/HotkeysIntro.vue.d.ts +4 -0
  126. package/es/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
  127. package/es/layout/components/Tools/Preferences/index.vue.d.ts +4 -0
  128. package/es/layout/components/Tools/Search.vue.d.ts +199 -0
  129. package/es/layout/components/Tools/index.vue.d.ts +233 -0
  130. package/es/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +217 -0
  131. package/es/layout/components/Topbar/Tabbar/index.vue.d.ts +14 -0
  132. package/es/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
  133. package/es/layout/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
  134. package/es/layout/components/Topbar/Toolbar/index.vue.d.ts +2 -0
  135. package/es/layout/components/Topbar/index.vue.d.ts +2 -0
  136. package/es/layout/composables/useContext.d.ts +18 -0
  137. package/es/layout/composables/useGetComputedStyle.d.ts +15 -0
  138. package/es/layout/composables/useHotkey.d.ts +5 -0
  139. package/es/layout/composables/useMainPage.d.ts +14 -0
  140. package/es/layout/composables/useMenu.d.ts +8 -0
  141. package/es/layout/composables/useTabbar.d.ts +14 -0
  142. package/es/layout/composables/useTitle.d.ts +3 -0
  143. package/es/layout/composables/useViewTransition.d.ts +3 -0
  144. package/es/layout/composables/useWatermark.d.ts +4 -0
  145. package/es/layout/index.d.ts +19 -0
  146. package/es/layout/provider.d.ts +1 -0
  147. package/es/layout/ui-kit/HBadge.vue.d.ts +20 -0
  148. package/es/layout/ui-kit/HButton.vue.d.ts +26 -0
  149. package/es/layout/ui-kit/HCheckList.vue.d.ts +20 -0
  150. package/es/layout/ui-kit/HDialog.vue.d.ts +28 -0
  151. package/es/layout/ui-kit/HDivider.vue.d.ts +20 -0
  152. package/es/layout/ui-kit/HDropdown.vue.d.ts +18 -0
  153. package/es/layout/ui-kit/HDropdownMenu.vue.d.ts +26 -0
  154. package/es/layout/ui-kit/HDropdownTree.vue.d.ts +32 -0
  155. package/es/layout/ui-kit/HInput.vue.d.ts +17 -0
  156. package/es/layout/ui-kit/HKbd.vue.d.ts +17 -0
  157. package/es/layout/ui-kit/HSelect.vue.d.ts +17 -0
  158. package/es/layout/ui-kit/HSlideover.vue.d.ts +30 -0
  159. package/es/layout/ui-kit/HTabList.vue.d.ts +22 -0
  160. package/es/layout/ui-kit/HToggle.vue.d.ts +14 -0
  161. package/es/layout/ui-kit/HTooltip.vue.d.ts +23 -0
  162. package/es/locales/index.d.ts +301 -0
  163. package/es/locales/lang/en.json.d.ts +99 -0
  164. package/es/locales/lang/zh-cn.json.d.ts +100 -0
  165. package/es/locales/lang/zh-tw.json.d.ts +100 -0
  166. package/es/locales/ui.d.ts +3 -0
  167. package/es/modules.d.ts +11 -0
  168. package/es/notification-6D5hA7Bp.js +15347 -0
  169. package/es/pages/personal/profile/index.vue.d.ts +2 -0
  170. package/es/pages/system/[...all].vue.d.ts +2 -0
  171. package/es/pages/system/change-organization/index.vue.d.ts +2 -0
  172. package/es/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
  173. package/es/pages/system/change-password/index.vue.d.ts +31 -0
  174. package/es/pages/system/index.vue.d.ts +2 -0
  175. package/es/pages/system/not-permission/index.vue.d.ts +2 -0
  176. package/es/pages/system/reload.vue.d.ts +2 -0
  177. package/es/pick-Br-UKn7B.js +19 -0
  178. package/es/question-line-CfkciTFq.js +18 -0
  179. package/es/reload-CUcPYtl7.js +14 -0
  180. package/es/request.js +1811 -0
  181. package/es/right-Bfe2p1o0.js +36 -0
  182. package/es/route/async.d.ts +9 -0
  183. package/es/route/guard/auth.d.ts +3 -0
  184. package/es/route/guard/basic.d.ts +3 -0
  185. package/es/route/guard/index.d.ts +3 -0
  186. package/es/route/guard/setting.d.ts +3 -0
  187. package/es/route/index.d.ts +7 -0
  188. package/es/route/routes.d.ts +3 -0
  189. package/es/stores/enum/index.d.ts +20 -0
  190. package/es/stores/helper.d.ts +2 -0
  191. package/es/stores/index.d.ts +5 -0
  192. package/es/stores/modules/favorites.d.ts +32 -0
  193. package/es/stores/modules/iframe.d.ts +41 -0
  194. package/es/stores/modules/index.d.ts +9 -0
  195. package/es/stores/modules/keepAlive.d.ts +23 -0
  196. package/es/stores/modules/menu.d.ts +32 -0
  197. package/es/stores/modules/notification.d.ts +18 -0
  198. package/es/stores/modules/route.d.ts +42 -0
  199. package/es/stores/modules/settings.d.ts +85 -0
  200. package/es/stores/modules/tabbar.d.ts +59 -0
  201. package/es/stores/modules/user.d.ts +3 -0
  202. package/es/stores/plugin/persist.d.ts +5 -0
  203. package/es/stores/plugin/sideEffect/cleanup.d.ts +5 -0
  204. package/es/stores/plugin/sideEffect/favoritesStorage.d.ts +5 -0
  205. package/es/stores/plugin/sideEffect/iframeCache.d.ts +5 -0
  206. package/es/stores/plugin/sideEffect/index.d.ts +5 -0
  207. package/es/stores/plugin/sideEffect/tabbarStorage.d.ts +5 -0
  208. package/es/style.css +9 -0
  209. package/es/utils/cleanup.d.ts +8 -0
  210. package/es/utils/crypto.d.ts +4 -0
  211. package/es/utils/eventBus.d.ts +5 -0
  212. package/es/utils/index.d.ts +14 -0
  213. package/es/utils/injectionKeys.d.ts +2 -0
  214. package/es/utils/storage.d.ts +21 -0
  215. package/es/utils/utils.d.ts +3 -0
  216. package/es/utils/watermark.d.ts +51 -0
  217. package/lib/AppSetting-CCiwpjoq.cjs +1 -0
  218. package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +1 -0
  219. package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +1 -0
  220. package/lib/HDivider-DCfDgE8l.cjs +1 -0
  221. package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +1 -0
  222. package/lib/HToggle-BP6YYf-s.cjs +1 -0
  223. package/lib/PreferencesContent-DgL-Jc_J.cjs +3 -0
  224. package/lib/SettingBreadcrumb-BQ78yEP4.cjs +1 -0
  225. package/lib/SettingCopyright-x7aPlkQy.cjs +1 -0
  226. package/lib/SettingEnableTransition-CD3-44Iy.cjs +1 -0
  227. package/lib/SettingHome-u52oz6i8.cjs +1 -0
  228. package/lib/SettingMenu-DsElOvvv.cjs +1 -0
  229. package/lib/SettingMode-C_kgpTxw.cjs +1 -0
  230. package/lib/SettingNavSearch-3auTi8UW.cjs +1 -0
  231. package/lib/SettingOther-6XGQq7OA.cjs +1 -0
  232. package/lib/SettingPage-C8yIHpLc.cjs +1 -0
  233. package/lib/SettingTabbar-K-nHb89z.cjs +1 -0
  234. package/lib/SettingThemes-BeNwFz7K.cjs +1 -0
  235. package/lib/SettingToolbar-Be1V7lwV.cjs +1 -0
  236. package/lib/SettingTopbar-C-j8O3c8.cjs +1 -0
  237. package/lib/SettingWidthMode-GMjAF-s3.cjs +1 -0
  238. package/lib/TopThinMode-DGUvyHT2.cjs +1 -0
  239. package/lib/_...all_-C4CXjAo9.cjs +1 -0
  240. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
  241. package/lib/api/enum/code.d.ts +67 -0
  242. package/lib/api/helper.d.ts +32 -0
  243. package/lib/api/index.d.ts +12 -0
  244. package/lib/api/interface.d.ts +14 -0
  245. package/lib/api/modules/auth/index.d.ts +1 -0
  246. package/lib/api/modules/auth/renzhengfuwu.d.ts +50 -0
  247. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
  248. package/lib/api/modules/configData/index.d.ts +3 -0
  249. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
  250. package/lib/api/modules/configData/zidianfuwu.d.ts +71 -0
  251. package/lib/api/modules/rbac/gangweijiekou.d.ts +43 -0
  252. package/lib/api/modules/rbac/index.d.ts +11 -0
  253. package/lib/api/modules/rbac/jiaosejiekou.d.ts +50 -0
  254. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
  255. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
  256. package/lib/api/modules/rbac/yonghujiekou.d.ts +106 -0
  257. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
  258. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
  259. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
  260. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
  261. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
  262. package/lib/api/modules/rbac/zuzhijiekou.d.ts +64 -0
  263. package/lib/api/request.d.ts +2 -0
  264. package/lib/api/system/app.d.ts +17 -0
  265. package/lib/api/system/user.d.ts +24 -0
  266. package/lib/assets/styles/index.d.ts +6 -0
  267. package/lib/colors-KAaBT84S.cjs +1 -0
  268. package/lib/components/NotAllowed/index.vue.d.ts +2 -0
  269. package/lib/components/PageHeader/index.vue.d.ts +23 -0
  270. package/lib/components/PageMain/index.vue.d.ts +27 -0
  271. package/lib/components/PassStrengthValidator/index.vue.d.ts +26 -0
  272. package/lib/components/PassStrengthValidator/rule.vue.d.ts +8 -0
  273. package/lib/components/PubinfoApp/index.vue.d.ts +2 -0
  274. package/lib/components/PubinfoIcon/index.vue.d.ts +10 -0
  275. package/lib/components/PubinfoProvider/index.d.ts +8 -0
  276. package/lib/components/index.d.ts +8 -0
  277. package/lib/composables/auth.d.ts +8 -0
  278. package/lib/composables/index.d.ts +4 -0
  279. package/lib/composables/log.d.ts +6 -0
  280. package/lib/composables/theme.d.ts +3 -0
  281. package/lib/composables/watchDiff.d.ts +2 -0
  282. package/lib/config/index.d.ts +1 -0
  283. package/lib/config/settings.d.ts +3 -0
  284. package/lib/context.d.ts +14 -0
  285. package/lib/create.d.ts +3 -0
  286. package/lib/directives/index.d.ts +4 -0
  287. package/lib/directives/plugins/permission.d.ts +6 -0
  288. package/lib/index-38bsQrho.cjs +1 -0
  289. package/lib/index-BEqD62a0.cjs +1 -0
  290. package/lib/index-Bbm9CQRP.cjs +1 -0
  291. package/lib/index-BqHsuJkr.cjs +1 -0
  292. package/lib/index-JZl6Zh3L.cjs +44 -0
  293. package/lib/index-VGR0Mt4q.cjs +240 -0
  294. package/lib/index-WMo0GAa6.cjs +1 -0
  295. package/lib/index-_YsHduAE.cjs +1 -0
  296. package/lib/index-gr8kFwPx.cjs +18 -0
  297. package/lib/index-zvGq9tSu.cjs +1 -0
  298. package/lib/index.cjs +1 -0
  299. package/lib/index.d.ts +11 -0
  300. package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +1 -0
  301. package/lib/interface.d.ts +29 -0
  302. package/lib/layout/Layout.vue.d.ts +20 -0
  303. package/lib/layout/components/BackTop/index.vue.d.ts +2 -0
  304. package/lib/layout/components/Content/IframeView.vue.d.ts +4 -0
  305. package/lib/layout/components/Content/LinkView.vue.d.ts +2 -0
  306. package/lib/layout/components/Content/index.vue.d.ts +2 -0
  307. package/lib/layout/components/Copyright/index.vue.d.ts +2 -0
  308. package/lib/layout/components/Header/TopMode/More.vue.d.ts +26 -0
  309. package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +25 -0
  310. package/lib/layout/components/Header/TopMode/index.vue.d.ts +4 -0
  311. package/lib/layout/components/Header/TopThinMode.vue.d.ts +4 -0
  312. package/lib/layout/components/Header/index.vue.d.ts +19 -0
  313. package/lib/layout/components/Logo/index.vue.d.ts +26 -0
  314. package/lib/layout/components/Menu/index.vue.d.ts +10 -0
  315. package/lib/layout/components/Menu/item.vue.d.ts +11 -0
  316. package/lib/layout/components/Menu/sub.vue.d.ts +219 -0
  317. package/lib/layout/components/Menu/types.d.ts +42 -0
  318. package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +12 -0
  319. package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
  320. package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
  321. package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
  322. package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
  323. package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
  324. package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
  325. package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
  326. package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
  327. package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
  328. package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
  329. package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
  330. package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
  331. package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
  332. package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
  333. package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
  334. package/lib/layout/components/SettingBar/index.vue.d.ts +2 -0
  335. package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +2 -0
  336. package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +2 -0
  337. package/lib/layout/components/Sidebar/index.vue.d.ts +2 -0
  338. package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
  339. package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
  340. package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +2 -0
  341. package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +4 -0
  342. package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
  343. package/lib/layout/components/Tools/Preferences/index.vue.d.ts +4 -0
  344. package/lib/layout/components/Tools/Search.vue.d.ts +199 -0
  345. package/lib/layout/components/Tools/index.vue.d.ts +233 -0
  346. package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +217 -0
  347. package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +14 -0
  348. package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
  349. package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
  350. package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +2 -0
  351. package/lib/layout/components/Topbar/index.vue.d.ts +2 -0
  352. package/lib/layout/composables/useContext.d.ts +18 -0
  353. package/lib/layout/composables/useGetComputedStyle.d.ts +15 -0
  354. package/lib/layout/composables/useHotkey.d.ts +5 -0
  355. package/lib/layout/composables/useMainPage.d.ts +14 -0
  356. package/lib/layout/composables/useMenu.d.ts +8 -0
  357. package/lib/layout/composables/useTabbar.d.ts +14 -0
  358. package/lib/layout/composables/useTitle.d.ts +3 -0
  359. package/lib/layout/composables/useViewTransition.d.ts +3 -0
  360. package/lib/layout/composables/useWatermark.d.ts +4 -0
  361. package/lib/layout/index.d.ts +19 -0
  362. package/lib/layout/provider.d.ts +1 -0
  363. package/lib/layout/ui-kit/HBadge.vue.d.ts +20 -0
  364. package/lib/layout/ui-kit/HButton.vue.d.ts +26 -0
  365. package/lib/layout/ui-kit/HCheckList.vue.d.ts +20 -0
  366. package/lib/layout/ui-kit/HDialog.vue.d.ts +28 -0
  367. package/lib/layout/ui-kit/HDivider.vue.d.ts +20 -0
  368. package/lib/layout/ui-kit/HDropdown.vue.d.ts +18 -0
  369. package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +26 -0
  370. package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +32 -0
  371. package/lib/layout/ui-kit/HInput.vue.d.ts +17 -0
  372. package/lib/layout/ui-kit/HKbd.vue.d.ts +17 -0
  373. package/lib/layout/ui-kit/HSelect.vue.d.ts +17 -0
  374. package/lib/layout/ui-kit/HSlideover.vue.d.ts +30 -0
  375. package/lib/layout/ui-kit/HTabList.vue.d.ts +22 -0
  376. package/lib/layout/ui-kit/HToggle.vue.d.ts +14 -0
  377. package/lib/layout/ui-kit/HTooltip.vue.d.ts +23 -0
  378. package/lib/locales/index.d.ts +301 -0
  379. package/lib/locales/lang/en.json.d.ts +99 -0
  380. package/lib/locales/lang/zh-cn.json.d.ts +100 -0
  381. package/lib/locales/lang/zh-tw.json.d.ts +100 -0
  382. package/lib/locales/ui.d.ts +3 -0
  383. package/lib/modules.d.ts +11 -0
  384. package/lib/notification-IZqPm_OK.cjs +199 -0
  385. package/lib/pages/personal/profile/index.vue.d.ts +2 -0
  386. package/lib/pages/system/[...all].vue.d.ts +2 -0
  387. package/lib/pages/system/change-organization/index.vue.d.ts +2 -0
  388. package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
  389. package/lib/pages/system/change-password/index.vue.d.ts +31 -0
  390. package/lib/pages/system/index.vue.d.ts +2 -0
  391. package/lib/pages/system/not-permission/index.vue.d.ts +2 -0
  392. package/lib/pages/system/reload.vue.d.ts +2 -0
  393. package/lib/pick-y2yLda1R.cjs +1 -0
  394. package/lib/question-line-Cd0CU4hr.cjs +1 -0
  395. package/lib/reload-6L7Dzs7h.cjs +1 -0
  396. package/lib/request.cjs +6 -0
  397. package/lib/right-C5JQ_uRB.cjs +1 -0
  398. package/lib/route/async.d.ts +9 -0
  399. package/lib/route/guard/auth.d.ts +3 -0
  400. package/lib/route/guard/basic.d.ts +3 -0
  401. package/lib/route/guard/index.d.ts +3 -0
  402. package/lib/route/guard/setting.d.ts +3 -0
  403. package/lib/route/index.d.ts +7 -0
  404. package/lib/route/routes.d.ts +3 -0
  405. package/lib/stores/enum/index.d.ts +20 -0
  406. package/lib/stores/helper.d.ts +2 -0
  407. package/lib/stores/index.d.ts +5 -0
  408. package/lib/stores/modules/favorites.d.ts +32 -0
  409. package/lib/stores/modules/iframe.d.ts +41 -0
  410. package/lib/stores/modules/index.d.ts +9 -0
  411. package/lib/stores/modules/keepAlive.d.ts +23 -0
  412. package/lib/stores/modules/menu.d.ts +32 -0
  413. package/lib/stores/modules/notification.d.ts +18 -0
  414. package/lib/stores/modules/route.d.ts +42 -0
  415. package/lib/stores/modules/settings.d.ts +85 -0
  416. package/lib/stores/modules/tabbar.d.ts +59 -0
  417. package/lib/stores/modules/user.d.ts +3 -0
  418. package/lib/stores/plugin/persist.d.ts +5 -0
  419. package/lib/stores/plugin/sideEffect/cleanup.d.ts +5 -0
  420. package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +5 -0
  421. package/lib/stores/plugin/sideEffect/iframeCache.d.ts +5 -0
  422. package/lib/stores/plugin/sideEffect/index.d.ts +5 -0
  423. package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +5 -0
  424. package/lib/style.css +9 -0
  425. package/lib/utils/cleanup.d.ts +8 -0
  426. package/lib/utils/crypto.d.ts +4 -0
  427. package/lib/utils/eventBus.d.ts +5 -0
  428. package/lib/utils/index.d.ts +14 -0
  429. package/lib/utils/injectionKeys.d.ts +2 -0
  430. package/lib/utils/storage.d.ts +21 -0
  431. package/lib/utils/utils.d.ts +3 -0
  432. package/lib/utils/watermark.d.ts +51 -0
  433. package/package.json +101 -0
  434. package/src/api/enum/code.ts +78 -0
  435. package/src/api/helper.ts +64 -0
  436. package/src/api/index.ts +75 -0
  437. package/src/api/interface.ts +15 -0
  438. package/src/api/modules/auth/index.ts +3 -0
  439. package/src/api/modules/auth/renzhengfuwu.ts +131 -0
  440. package/src/api/modules/auth/typings.d.ts +97 -0
  441. package/src/api/modules/configData/heibaimingdanfuwu.ts +95 -0
  442. package/src/api/modules/configData/index.ts +5 -0
  443. package/src/api/modules/configData/typings.d.ts +357 -0
  444. package/src/api/modules/configData/xitongpeizhifuwu.ts +322 -0
  445. package/src/api/modules/configData/zidianfuwu.ts +193 -0
  446. package/src/api/modules/rbac/gangweijiekou.ts +114 -0
  447. package/src/api/modules/rbac/index.ts +13 -0
  448. package/src/api/modules/rbac/jiaosejiekou.ts +124 -0
  449. package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +113 -0
  450. package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +186 -0
  451. package/src/api/modules/rbac/typings.d.ts +2030 -0
  452. package/src/api/modules/rbac/yonghujiekou.ts +294 -0
  453. package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +93 -0
  454. package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +72 -0
  455. package/src/api/modules/rbac/ziyuanjiekou.ts +223 -0
  456. package/src/api/modules/rbac/zuhuguanlijiekou.ts +91 -0
  457. package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +76 -0
  458. package/src/api/modules/rbac/zuzhijiekou.ts +171 -0
  459. package/src/api/request.ts +4 -0
  460. package/src/api/system/app.ts +28 -0
  461. package/src/api/system/typings.d.ts +77 -0
  462. package/src/api/system/user.ts +47 -0
  463. package/src/assets/fonts/digital-7/digital-7-webfont.eot +0 -0
  464. package/src/assets/fonts/digital-7/digital-7-webfont.svg +135 -0
  465. package/src/assets/fonts/digital-7/digital-7-webfont.woff +0 -0
  466. package/src/assets/fonts/digital-7/digital-7-webfont.woff2 +0 -0
  467. package/src/assets/fonts/digital-7/stylesheet.css +12 -0
  468. package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
  469. package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +134 -0
  470. package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
  471. package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
  472. package/src/assets/fonts/digital-7_mono/stylesheet.css +12 -0
  473. package/src/assets/fonts/title.otf +0 -0
  474. package/src/assets/icons/403.svg +1 -0
  475. package/src/assets/icons/403_dark.svg +1 -0
  476. package/src/assets/icons/404.svg +1 -0
  477. package/src/assets/icons/404_dark.svg +1 -0
  478. package/src/assets/icons/add-child.svg +1 -0
  479. package/src/assets/icons/authority.svg +1 -0
  480. package/src/assets/icons/authorize.svg +1 -0
  481. package/src/assets/icons/blacklist-disable.svg +1 -0
  482. package/src/assets/icons/blacklist-enable.svg +1 -0
  483. package/src/assets/icons/browser-360.svg +1 -0
  484. package/src/assets/icons/browser-chrome.svg +1 -0
  485. package/src/assets/icons/browser-edge.svg +1 -0
  486. package/src/assets/icons/browser-ie.svg +1 -0
  487. package/src/assets/icons/browser-other.svg +1 -0
  488. package/src/assets/icons/browser-qq.svg +1 -0
  489. package/src/assets/icons/browser-safari.svg +1 -0
  490. package/src/assets/icons/browser-uc.svg +1 -0
  491. package/src/assets/icons/change-org.svg +1 -0
  492. package/src/assets/icons/edit.svg +1 -0
  493. package/src/assets/icons/empty-data.svg +1 -0
  494. package/src/assets/icons/favorites.svg +1 -0
  495. package/src/assets/icons/icard.svg +1 -0
  496. package/src/assets/icons/icon_animation.svg +1 -0
  497. package/src/assets/icons/icon_breadcrumb.svg +1 -0
  498. package/src/assets/icons/icon_copyright.svg +1 -0
  499. package/src/assets/icons/icon_jt.svg +1 -0
  500. package/src/assets/icons/icon_layout.svg +1 -0
  501. package/src/assets/icons/icon_mainpage.svg +1 -0
  502. package/src/assets/icons/icon_menu.svg +1 -0
  503. package/src/assets/icons/icon_page_size.svg +1 -0
  504. package/src/assets/icons/icon_position_type.svg +1 -0
  505. package/src/assets/icons/icon_safe_manage.svg +1 -0
  506. package/src/assets/icons/icon_screen_scale.svg +6 -0
  507. package/src/assets/icons/icon_system_manage.svg +1 -0
  508. package/src/assets/icons/icon_tabbar.svg +1 -0
  509. package/src/assets/icons/icon_toolbar.svg +1 -0
  510. package/src/assets/icons/icon_topbar.svg +1 -0
  511. package/src/assets/icons/icon_watermark.svg +1 -0
  512. package/src/assets/icons/image-load-fail.svg +1 -0
  513. package/src/assets/icons/log-center.svg +1 -0
  514. package/src/assets/icons/logo-sig.svg +1 -0
  515. package/src/assets/icons/mima.svg +1 -0
  516. package/src/assets/icons/not-data.svg +1 -0
  517. package/src/assets/icons/org-main.svg +1 -0
  518. package/src/assets/icons/org-unmain.svg +1 -0
  519. package/src/assets/icons/process-management.svg +1 -0
  520. package/src/assets/icons/project-management.svg +1 -0
  521. package/src/assets/icons/rbac.svg +1 -0
  522. package/src/assets/icons/remove.svg +1 -0
  523. package/src/assets/icons/resource-app.svg +1 -0
  524. package/src/assets/icons/resource-btn.svg +1 -0
  525. package/src/assets/icons/resource-index.svg +1 -0
  526. package/src/assets/icons/resource-menu.svg +1 -0
  527. package/src/assets/icons/resource-nonmenu.svg +1 -0
  528. package/src/assets/icons/setting-manage.svg +1 -0
  529. package/src/assets/icons/test.svg +1 -0
  530. package/src/assets/icons/theme-check-mark.svg +1 -0
  531. package/src/assets/icons/theme-title.svg +1 -0
  532. package/src/assets/icons/toolbar-collapse.svg +1 -0
  533. package/src/assets/icons/tree_icon.svg +1 -0
  534. package/src/assets/icons/tree_icon_checked.svg +1 -0
  535. package/src/assets/icons/view.svg +1 -0
  536. package/src/assets/icons/workbench.svg +1 -0
  537. package/src/assets/icons/zddata.svg +1 -0
  538. package/src/assets/icons/zy_checked.svg +1 -0
  539. package/src/assets/icons/zy_default.svg +1 -0
  540. package/src/assets/images/change-org-bc.webp +0 -0
  541. package/src/assets/images/header-bg.png +0 -0
  542. package/src/assets/images/layout/item1.webp +0 -0
  543. package/src/assets/images/layout/item1_dark.webp +0 -0
  544. package/src/assets/images/layout/item2.webp +0 -0
  545. package/src/assets/images/layout/item2_dark.webp +0 -0
  546. package/src/assets/images/layout/item3.webp +0 -0
  547. package/src/assets/images/layout/item3_dark.webp +0 -0
  548. package/src/assets/images/layout/item4.webp +0 -0
  549. package/src/assets/images/layout/item4_dark.webp +0 -0
  550. package/src/assets/images/layout/item5.webp +0 -0
  551. package/src/assets/images/layout/item5_dark.webp +0 -0
  552. package/src/assets/images/login-small.png +0 -0
  553. package/src/assets/images/login-small_dark.webp +0 -0
  554. package/src/assets/images/logo.png +0 -0
  555. package/src/assets/images/not-cursor.png +0 -0
  556. package/src/assets/images/org.svg +19 -0
  557. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  558. package/src/assets/images/page-width/auto.webp +0 -0
  559. package/src/assets/images/page-width/auto_dark.webp +0 -0
  560. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  561. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  562. package/src/assets/images/page-width/icon_auto.webp +0 -0
  563. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  564. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  565. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  566. package/src/assets/images/page-width/icon_middle.webp +0 -0
  567. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  568. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  569. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  570. package/src/assets/images/page-width/middle.webp +0 -0
  571. package/src/assets/images/page-width/middle_dark.webp +0 -0
  572. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  573. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  574. package/src/assets/images/slider-bg.png +0 -0
  575. package/src/assets/styles/globals.scss +189 -0
  576. package/src/assets/styles/index.ts +6 -0
  577. package/src/assets/styles/nprogress.scss +63 -0
  578. package/src/assets/styles/rbac.scss +61 -0
  579. package/src/assets/styles/resources/utils.scss +53 -0
  580. package/src/assets/styles/resources/variables.scss +6 -0
  581. package/src/components/NotAllowed/index.vue +76 -0
  582. package/src/components/PageHeader/index.vue +32 -0
  583. package/src/components/PageMain/index.vue +51 -0
  584. package/src/components/PassStrengthValidator/index.vue +213 -0
  585. package/src/components/PassStrengthValidator/rule.vue +51 -0
  586. package/src/components/PubinfoApp/index.vue +21 -0
  587. package/src/components/PubinfoIcon/index.vue +85 -0
  588. package/src/components/PubinfoProvider/index.ts +34 -0
  589. package/src/components/index.ts +8 -0
  590. package/src/composables/auth.ts +53 -0
  591. package/src/composables/index.ts +4 -0
  592. package/src/composables/log.ts +44 -0
  593. package/src/composables/theme.ts +16 -0
  594. package/src/composables/watchDiff.ts +53 -0
  595. package/src/config/index.ts +1 -0
  596. package/src/config/settings.ts +107 -0
  597. package/src/context.ts +30 -0
  598. package/src/create.ts +88 -0
  599. package/src/directives/index.ts +6 -0
  600. package/src/directives/plugins/permission.ts +23 -0
  601. package/src/index.ts +12 -0
  602. package/src/interface.ts +35 -0
  603. package/src/layout/Layout.vue +330 -0
  604. package/src/layout/components/BackTop/index.vue +47 -0
  605. package/src/layout/components/Content/IframeView.vue +120 -0
  606. package/src/layout/components/Content/LinkView.vue +118 -0
  607. package/src/layout/components/Content/index.vue +100 -0
  608. package/src/layout/components/Copyright/index.vue +49 -0
  609. package/src/layout/components/Header/TopMode/More.vue +103 -0
  610. package/src/layout/components/Header/TopMode/NotCursor.vue +77 -0
  611. package/src/layout/components/Header/TopMode/index.vue +151 -0
  612. package/src/layout/components/Header/TopThinMode.vue +45 -0
  613. package/src/layout/components/Header/index.vue +263 -0
  614. package/src/layout/components/Logo/index.vue +70 -0
  615. package/src/layout/components/Menu/index.vue +195 -0
  616. package/src/layout/components/Menu/item.vue +166 -0
  617. package/src/layout/components/Menu/sub.vue +220 -0
  618. package/src/layout/components/Menu/types.ts +49 -0
  619. package/src/layout/components/SettingBar/AppSetting.vue +146 -0
  620. package/src/layout/components/SettingBar/components/DayNightToggle.vue +238 -0
  621. package/src/layout/components/SettingBar/components/SettingBreadcrumb.vue +42 -0
  622. package/src/layout/components/SettingBar/components/SettingCopyright.vue +44 -0
  623. package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +215 -0
  624. package/src/layout/components/SettingBar/components/SettingHome.vue +33 -0
  625. package/src/layout/components/SettingBar/components/SettingMenu.vue +108 -0
  626. package/src/layout/components/SettingBar/components/SettingMode.vue +164 -0
  627. package/src/layout/components/SettingBar/components/SettingNavSearch.vue +30 -0
  628. package/src/layout/components/SettingBar/components/SettingOther.vue +53 -0
  629. package/src/layout/components/SettingBar/components/SettingPage.vue +20 -0
  630. package/src/layout/components/SettingBar/components/SettingTabbar.vue +70 -0
  631. package/src/layout/components/SettingBar/components/SettingThemes.vue +202 -0
  632. package/src/layout/components/SettingBar/components/SettingToolbar.vue +54 -0
  633. package/src/layout/components/SettingBar/components/SettingTopbar.vue +37 -0
  634. package/src/layout/components/SettingBar/components/SettingWidthMode.vue +149 -0
  635. package/src/layout/components/SettingBar/index.vue +112 -0
  636. package/src/layout/components/Sidebar/MainSidebar.vue +240 -0
  637. package/src/layout/components/Sidebar/SubSidebar.vue +165 -0
  638. package/src/layout/components/Sidebar/index.vue +13 -0
  639. package/src/layout/components/Tools/Breadcrumb/index.vue +21 -0
  640. package/src/layout/components/Tools/Breadcrumb/item.vue +44 -0
  641. package/src/layout/components/Tools/DayNightSwitch.vue +93 -0
  642. package/src/layout/components/Tools/HotkeysIntro.vue +103 -0
  643. package/src/layout/components/Tools/I18nSelector.vue +52 -0
  644. package/src/layout/components/Tools/Notification.vue +152 -0
  645. package/src/layout/components/Tools/Preferences/PreferencesContent.vue +722 -0
  646. package/src/layout/components/Tools/Preferences/index.vue +20 -0
  647. package/src/layout/components/Tools/Search.vue +380 -0
  648. package/src/layout/components/Tools/index.vue +241 -0
  649. package/src/layout/components/Topbar/Tabbar/MoreAction.vue +304 -0
  650. package/src/layout/components/Topbar/Tabbar/index.vue +781 -0
  651. package/src/layout/components/Topbar/Toolbar/Favorites.vue +138 -0
  652. package/src/layout/components/Topbar/Toolbar/Star.vue +30 -0
  653. package/src/layout/components/Topbar/Toolbar/index.vue +307 -0
  654. package/src/layout/components/Topbar/index.vue +106 -0
  655. package/src/layout/composables/useContext.ts +38 -0
  656. package/src/layout/composables/useGetComputedStyle.ts +70 -0
  657. package/src/layout/composables/useHotkey.ts +49 -0
  658. package/src/layout/composables/useMainPage.ts +68 -0
  659. package/src/layout/composables/useMenu.ts +29 -0
  660. package/src/layout/composables/useTabbar.ts +165 -0
  661. package/src/layout/composables/useTitle.ts +41 -0
  662. package/src/layout/composables/useViewTransition.ts +16 -0
  663. package/src/layout/composables/useWatermark.ts +67 -0
  664. package/src/layout/index.ts +59 -0
  665. package/src/layout/provider.ts +61 -0
  666. package/src/layout/ui-kit/HBadge.vue +41 -0
  667. package/src/layout/ui-kit/HButton.vue +28 -0
  668. package/src/layout/ui-kit/HCheckList.vue +49 -0
  669. package/src/layout/ui-kit/HDialog.vue +108 -0
  670. package/src/layout/ui-kit/HDivider.vue +53 -0
  671. package/src/layout/ui-kit/HDropdown.vue +13 -0
  672. package/src/layout/ui-kit/HDropdownMenu.vue +50 -0
  673. package/src/layout/ui-kit/HDropdownTree.vue +79 -0
  674. package/src/layout/ui-kit/HInput.vue +40 -0
  675. package/src/layout/ui-kit/HKbd.vue +33 -0
  676. package/src/layout/ui-kit/HSelect.vue +66 -0
  677. package/src/layout/ui-kit/HSlideover.vue +119 -0
  678. package/src/layout/ui-kit/HTabList.vue +56 -0
  679. package/src/layout/ui-kit/HToggle.vue +177 -0
  680. package/src/layout/ui-kit/HTooltip.vue +21 -0
  681. package/src/locales/index.ts +80 -0
  682. package/src/locales/lang/en.json +96 -0
  683. package/src/locales/lang/zh-cn.json +97 -0
  684. package/src/locales/lang/zh-tw.json +97 -0
  685. package/src/locales/ui.ts +3 -0
  686. package/src/modules.ts +49 -0
  687. package/src/pages/personal/notification.vue +58 -0
  688. package/src/pages/personal/profile/index.vue +125 -0
  689. package/src/pages/system/[...all].vue +74 -0
  690. package/src/pages/system/change-organization/index.vue +174 -0
  691. package/src/pages/system/change-password/components/ChangePasswordForm/index.vue +144 -0
  692. package/src/pages/system/change-password/index.vue +102 -0
  693. package/src/pages/system/change-password/page.vue +58 -0
  694. package/src/pages/system/index.vue +5 -0
  695. package/src/pages/system/not-permission/index.vue +73 -0
  696. package/src/pages/system/reload.vue +11 -0
  697. package/src/route/async.ts +18 -0
  698. package/src/route/guard/auth.ts +92 -0
  699. package/src/route/guard/basic.ts +23 -0
  700. package/src/route/guard/index.ts +3 -0
  701. package/src/route/guard/setting.ts +122 -0
  702. package/src/route/index.ts +12 -0
  703. package/src/route/routes.ts +110 -0
  704. package/src/stores/enum/index.ts +29 -0
  705. package/src/stores/helper.ts +37 -0
  706. package/src/stores/index.ts +10 -0
  707. package/src/stores/modules/favorites.ts +152 -0
  708. package/src/stores/modules/iframe.ts +114 -0
  709. package/src/stores/modules/index.ts +9 -0
  710. package/src/stores/modules/keepAlive.ts +68 -0
  711. package/src/stores/modules/menu.ts +207 -0
  712. package/src/stores/modules/notification.ts +34 -0
  713. package/src/stores/modules/route.ts +435 -0
  714. package/src/stores/modules/settings.ts +371 -0
  715. package/src/stores/modules/tabbar.ts +338 -0
  716. package/src/stores/modules/user.ts +210 -0
  717. package/src/stores/plugin/persist.ts +27 -0
  718. package/src/stores/plugin/sideEffect/cleanup.ts +20 -0
  719. package/src/stores/plugin/sideEffect/favoritesStorage.ts +62 -0
  720. package/src/stores/plugin/sideEffect/iframeCache.ts +32 -0
  721. package/src/stores/plugin/sideEffect/index.ts +15 -0
  722. package/src/stores/plugin/sideEffect/tabbarStorage.ts +98 -0
  723. package/src/utils/cleanup.ts +20 -0
  724. package/src/utils/crypto.ts +27 -0
  725. package/src/utils/eventBus.ts +15 -0
  726. package/src/utils/index.ts +44 -0
  727. package/src/utils/injectionKeys.ts +5 -0
  728. package/src/utils/storage.ts +57 -0
  729. package/src/utils/utils.ts +12 -0
  730. package/src/utils/watermark.ts +256 -0
  731. package/types/auto-imports.d.ts +85 -0
  732. package/types/components.d.ts +36 -0
  733. package/types/favorites.d.ts +8 -0
  734. package/types/iframe.d.ts +8 -0
  735. package/types/index.d.ts +9 -0
  736. package/types/menu.d.ts +31 -0
  737. package/types/module.d.ts +23 -0
  738. package/types/settings.d.ts +571 -0
  739. package/types/tabbar.d.ts +23 -0
  740. package/types/user.d.ts +46 -0
  741. package/types/vite-env.d.ts +39 -0
  742. package/types/vue-router.d.ts +68 -0
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,18 @@
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;
@@ -0,0 +1,31 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1,6 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1,9 @@
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[];
@@ -0,0 +1,3 @@
1
+ import { Router } from 'vue-router';
2
+ /** 权限路由守卫 */
3
+ export declare function createAuthGuard(router: Router): void;
@@ -0,0 +1,3 @@
1
+ import { Router } from 'vue-router';
2
+ /** 基础路由守卫 */
3
+ export declare function createBasicGuard(router: Router): void;
@@ -0,0 +1,3 @@
1
+ export * from './auth';
2
+ export * from './basic';
3
+ export * from './setting';
@@ -0,0 +1,3 @@
1
+ import { Router } from 'vue-router';
2
+ /** 配置路由守卫 */
3
+ export declare function createSettingGuard(router: Router): void;
@@ -0,0 +1,7 @@
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';
@@ -0,0 +1,3 @@
1
+ import { RouteRecordRaw } from 'vue-router';
2
+ export declare const constantRoutes: RouteRecordRaw[];
3
+ export declare const systemRoutes: RouteRecordRaw[];
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ export declare function getTabbarMemoryKey(): string;
2
+ export declare function getfavoritesMemoryKey(): string;
@@ -0,0 +1,5 @@
1
+ import { Pinia } from 'pinia';
2
+ export declare function setupStore({ store }: {
3
+ store: Pinia;
4
+ }): void;
5
+ export * from './modules';
@@ -0,0 +1,32 @@
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;
@@ -0,0 +1,41 @@
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;
@@ -0,0 +1,9 @@
1
+ export { default as useFavoritesStore } from './favorites';
2
+ export { default as useIframeStore } from './iframe';
3
+ export { default as useKeepAliveStore } from './keepAlive';
4
+ export { default as useMenuStore } from './menu';
5
+ export { default as useNotificationStore } from './notification';
6
+ export { default as useRouteStore } from './route';
7
+ export { default as useSettingsStore } from './settings';
8
+ export { default as useTabbarStore } from './tabbar';
9
+ export { default as useUserStore } from './user';
@@ -0,0 +1,23 @@
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;
@@ -0,0 +1,32 @@
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;
@@ -0,0 +1,18 @@
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;
@@ -0,0 +1,42 @@
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;
@@ -0,0 +1,85 @@
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;
@@ -0,0 +1,59 @@
1
+ import { Tabbar } from '../../../types/tabbar';
2
+ import { RouteLocationNormalized } from 'vue-router';
3
+ import { STORE_NAME } from '../enum';
4
+ declare const useTabbarStore: import('pinia').StoreDefinition<STORE_NAME.TABBAR, Pick<{
5
+ list: any;
6
+ leaveIndex: any;
7
+ initPermanentTab: () => void;
8
+ add: (route: RouteLocationNormalized) => Promise<void>;
9
+ remove: (tabId: Tabbar.recordRaw["tabId"]) => void;
10
+ removeOtherSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
11
+ removeLeftSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
12
+ removeRightSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
13
+ pin: (tabId: Tabbar.recordRaw["tabId"]) => void;
14
+ unPin: (tabId: Tabbar.recordRaw["tabId"]) => void;
15
+ clean: () => void;
16
+ sort: (newIndex: number, oldIndex: number) => void;
17
+ setCustomTitle: ({ tabId, title }: {
18
+ tabId: Tabbar.recordRaw["tabId"];
19
+ title: string;
20
+ }) => void;
21
+ resetCustomTitle: (tabId: Tabbar.recordRaw["tabId"]) => void;
22
+ }, any>, Pick<{
23
+ list: any;
24
+ leaveIndex: any;
25
+ initPermanentTab: () => void;
26
+ add: (route: RouteLocationNormalized) => Promise<void>;
27
+ remove: (tabId: Tabbar.recordRaw["tabId"]) => void;
28
+ removeOtherSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
29
+ removeLeftSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
30
+ removeRightSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
31
+ pin: (tabId: Tabbar.recordRaw["tabId"]) => void;
32
+ unPin: (tabId: Tabbar.recordRaw["tabId"]) => void;
33
+ clean: () => void;
34
+ sort: (newIndex: number, oldIndex: number) => void;
35
+ setCustomTitle: ({ tabId, title }: {
36
+ tabId: Tabbar.recordRaw["tabId"];
37
+ title: string;
38
+ }) => void;
39
+ resetCustomTitle: (tabId: Tabbar.recordRaw["tabId"]) => void;
40
+ }, any>, Pick<{
41
+ list: any;
42
+ leaveIndex: any;
43
+ initPermanentTab: () => void;
44
+ add: (route: RouteLocationNormalized) => Promise<void>;
45
+ remove: (tabId: Tabbar.recordRaw["tabId"]) => void;
46
+ removeOtherSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
47
+ removeLeftSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
48
+ removeRightSide: (tabId: Tabbar.recordRaw["tabId"]) => void;
49
+ pin: (tabId: Tabbar.recordRaw["tabId"]) => void;
50
+ unPin: (tabId: Tabbar.recordRaw["tabId"]) => void;
51
+ clean: () => void;
52
+ sort: (newIndex: number, oldIndex: number) => void;
53
+ setCustomTitle: ({ tabId, title }: {
54
+ tabId: Tabbar.recordRaw["tabId"];
55
+ title: string;
56
+ }) => void;
57
+ resetCustomTitle: (tabId: Tabbar.recordRaw["tabId"]) => void;
58
+ }, any>>;
59
+ export default useTabbarStore;
@@ -0,0 +1,3 @@
1
+ import { STORE_NAME } from '../enum';
2
+ declare const useUserStore: import('pinia').StoreDefinition<STORE_NAME.USER, {} | Pick<any, string | number>, {} | Pick<any, string | number>, {} | Pick<any, string | number>>;
3
+ export default useUserStore;