@pubinfo-nightly/core 2025.11.14

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 (813) hide show
  1. package/LICENSE +21 -0
  2. package/dist/AppSetting-D5eSdPuB.js +123 -0
  3. package/dist/HCheckList.vue_vue_type_script_setup_true_lang-DgeRhutB.js +39 -0
  4. package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
  5. package/dist/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +33 -0
  6. package/dist/HToggle-BajvSdEE.js +34 -0
  7. package/dist/HeaderThinMenu-ouAiyBjb.js +4 -0
  8. package/dist/PreferencesContent-mr3zgq9x.js +923 -0
  9. package/dist/SettingBreadcrumb-Chx1c5oE.js +50 -0
  10. package/dist/SettingCopyright-BgIL_X3d.js +62 -0
  11. package/dist/SettingEnableTransition-16PeKbCJ.js +77 -0
  12. package/dist/SettingHome-DuLT9846.js +46 -0
  13. package/dist/SettingMenu-DDOmRqGo.js +120 -0
  14. package/dist/SettingMode-B6OwuuHR.js +68 -0
  15. package/dist/SettingNavSearch-BzmXK8I0.js +46 -0
  16. package/dist/SettingOther-DcDn9I3J.js +81 -0
  17. package/dist/SettingPage-DmfsDzGF.js +29 -0
  18. package/dist/SettingTabbar-BxxzDY5f.js +154 -0
  19. package/dist/SettingThemes-DoTkccTu.js +143 -0
  20. package/dist/SettingToolbar-ogjoj5NI.js +78 -0
  21. package/dist/SettingTopbar-BRZEIJZt.js +52 -0
  22. package/dist/SettingWidthMode-DQmewGT6.js +67 -0
  23. package/dist/abap-Y8Dl9g_6.js +6 -0
  24. package/dist/actionscript-3-DZzbMeqX.js +6 -0
  25. package/dist/ada-vP6ak0IW.js +6 -0
  26. package/dist/andromeeda-BIpZ7gaU.js +4 -0
  27. package/dist/angular-html-BmadGEgW.js +32 -0
  28. package/dist/angular-ts-D-QQnnGT.js +21 -0
  29. package/dist/apache-BUjz-sD2.js +6 -0
  30. package/dist/apex-D_wPycVx.js +6 -0
  31. package/dist/apl-sitt7C8I.js +16 -0
  32. package/dist/applescript-BPx7YFFu.js +6 -0
  33. package/dist/ara-Z2fSOxSw.js +6 -0
  34. package/dist/asciidoc-B-pCoB3G.js +6 -0
  35. package/dist/asm-BTWLY5ym.js +6 -0
  36. package/dist/astro-DHnp0xIo.js +18 -0
  37. package/dist/aurora-x-BwoVEUWZ.js +4 -0
  38. package/dist/awk-Fb0P9dkn.js +6 -0
  39. package/dist/ayu-dark-CxPZkpb2.js +4 -0
  40. package/dist/ballerina-oZK-YekG.js +6 -0
  41. package/dist/bat-0FvbqU9S.js +6 -0
  42. package/dist/beancount-DEfTbbFX.js +6 -0
  43. package/dist/berry-PwsHPR_K.js +6 -0
  44. package/dist/bibtex-EULQRLY5.js +6 -0
  45. package/dist/bicep-DFU2oTl7.js +6 -0
  46. package/dist/blade-OPzGcV14.js +20 -0
  47. package/dist/bsl-NkNNwerW.js +8 -0
  48. package/dist/built-in/authentication/alova/helper.d.ts +34 -0
  49. package/dist/built-in/authentication/alova/token.d.ts +16 -0
  50. package/dist/built-in/authentication/enum.d.ts +67 -0
  51. package/dist/built-in/authentication/helper.d.ts +10 -0
  52. package/dist/built-in/authentication/index.d.ts +10 -0
  53. package/dist/built-in/authentication/interface.d.ts +7 -0
  54. package/dist/built-in/authentication/pages/change-organization/index.vue.d.ts +2 -0
  55. package/dist/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
  56. package/dist/built-in/authentication/pages/change-password/index.vue.d.ts +31 -0
  57. package/dist/built-in/authentication/router.d.ts +2 -0
  58. package/dist/built-in/authorization/directives.d.ts +2 -0
  59. package/dist/built-in/authorization/helper.d.ts +6 -0
  60. package/dist/built-in/authorization/index.d.ts +7 -0
  61. package/dist/built-in/authorization/pages/not-permission/index.vue.d.ts +2 -0
  62. package/dist/built-in/authorization/router.d.ts +3 -0
  63. package/dist/built-in/devtools/index.d.ts +13 -0
  64. package/dist/built-in/index.d.ts +9 -0
  65. package/dist/built-in/layout-component/Layout.vue.d.ts +28 -0
  66. package/dist/built-in/layout-component/components/BackTop/index.vue.d.ts +2 -0
  67. package/dist/built-in/layout-component/components/Content/IframeView.vue.d.ts +4 -0
  68. package/dist/built-in/layout-component/components/Content/LinkView.vue.d.ts +2 -0
  69. package/dist/built-in/layout-component/components/Content/index.vue.d.ts +2 -0
  70. package/dist/built-in/layout-component/components/Copyright/index.vue.d.ts +2 -0
  71. package/dist/built-in/layout-component/components/Header/HeaderFullMenu/More.vue.d.ts +26 -0
  72. package/dist/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue.d.ts +27 -0
  73. package/dist/built-in/layout-component/components/Header/HeaderFullMenu/index.vue.d.ts +4 -0
  74. package/dist/built-in/layout-component/components/Header/HeaderMenu.vue.d.ts +2 -0
  75. package/dist/built-in/layout-component/components/Header/HeaderThinMenu.vue.d.ts +4 -0
  76. package/dist/built-in/layout-component/components/Header/index.vue.d.ts +24 -0
  77. package/dist/built-in/layout-component/components/Logo/index.vue.d.ts +26 -0
  78. package/dist/built-in/layout-component/components/Menu/index.vue.d.ts +10 -0
  79. package/dist/built-in/layout-component/components/Menu/item.vue.d.ts +11 -0
  80. package/dist/built-in/layout-component/components/Menu/sub.vue.d.ts +219 -0
  81. package/dist/built-in/layout-component/components/Menu/types.d.ts +42 -0
  82. package/dist/built-in/layout-component/components/NotAllowed/index.vue.d.ts +2 -0
  83. package/dist/built-in/layout-component/components/SettingBar/AppSetting.vue.d.ts +12 -0
  84. package/dist/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
  85. package/dist/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
  86. package/dist/built-in/layout-component/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
  87. package/dist/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
  88. package/dist/built-in/layout-component/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
  89. package/dist/built-in/layout-component/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
  90. package/dist/built-in/layout-component/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
  91. package/dist/built-in/layout-component/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
  92. package/dist/built-in/layout-component/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
  93. package/dist/built-in/layout-component/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
  94. package/dist/built-in/layout-component/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
  95. package/dist/built-in/layout-component/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
  96. package/dist/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
  97. package/dist/built-in/layout-component/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
  98. package/dist/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
  99. package/dist/built-in/layout-component/components/SettingBar/index.vue.d.ts +2 -0
  100. package/dist/built-in/layout-component/components/Sidebar/MainSidebar.vue.d.ts +2 -0
  101. package/dist/built-in/layout-component/components/Sidebar/SubSidebar.vue.d.ts +7 -0
  102. package/dist/built-in/layout-component/components/Sidebar/index.vue.d.ts +9 -0
  103. package/dist/built-in/layout-component/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
  104. package/dist/built-in/layout-component/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
  105. package/dist/built-in/layout-component/components/Tools/DarkModeToggle.vue.d.ts +2 -0
  106. package/dist/built-in/layout-component/components/Tools/Fullscreen.vue.d.ts +2 -0
  107. package/dist/built-in/layout-component/components/Tools/HotkeysIntro.vue.d.ts +4 -0
  108. package/dist/built-in/layout-component/components/Tools/PageReload.vue.d.ts +2 -0
  109. package/dist/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
  110. package/dist/built-in/layout-component/components/Tools/Preferences/index.vue.d.ts +4 -0
  111. package/dist/built-in/layout-component/components/Tools/SearchBar.vue.d.ts +2 -0
  112. package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +204 -0
  113. package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +73 -0
  114. package/dist/built-in/layout-component/components/Tools/interface.d.ts +26 -0
  115. package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +11 -0
  116. package/dist/built-in/layout-component/components/Topbar/Tabbar/index.vue.d.ts +14 -0
  117. package/dist/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
  118. package/dist/built-in/layout-component/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
  119. package/dist/built-in/layout-component/components/Topbar/Toolbar/index.vue.d.ts +2 -0
  120. package/dist/built-in/layout-component/components/Topbar/index.vue.d.ts +2 -0
  121. package/dist/built-in/layout-component/components/ui/HBadge.vue.d.ts +20 -0
  122. package/dist/built-in/layout-component/components/ui/HButton.vue.d.ts +26 -0
  123. package/dist/built-in/layout-component/components/ui/HCheckList.vue.d.ts +20 -0
  124. package/dist/built-in/layout-component/components/ui/HDialog.vue.d.ts +39 -0
  125. package/dist/built-in/layout-component/components/ui/HDivider.vue.d.ts +20 -0
  126. package/dist/built-in/layout-component/components/ui/HDropdown.vue.d.ts +18 -0
  127. package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +21 -0
  128. package/dist/built-in/layout-component/components/ui/HDropdownTree.vue.d.ts +32 -0
  129. package/dist/built-in/layout-component/components/ui/HInput.vue.d.ts +17 -0
  130. package/dist/built-in/layout-component/components/ui/HKbd.vue.d.ts +17 -0
  131. package/dist/built-in/layout-component/components/ui/HSelect.vue.d.ts +17 -0
  132. package/dist/built-in/layout-component/components/ui/HSlideover.vue.d.ts +41 -0
  133. package/dist/built-in/layout-component/components/ui/HTabList.vue.d.ts +22 -0
  134. package/dist/built-in/layout-component/components/ui/HToggle.vue.d.ts +14 -0
  135. package/dist/built-in/layout-component/components/ui/HTooltip.vue.d.ts +23 -0
  136. package/dist/built-in/layout-component/composables/useContext.d.ts +17 -0
  137. package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +15 -0
  138. package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +26 -0
  139. package/dist/built-in/layout-component/composables/useHotkey.d.ts +1 -0
  140. package/dist/built-in/layout-component/composables/useLayoutVisible.d.ts +8 -0
  141. package/dist/built-in/layout-component/composables/useMainPage.d.ts +14 -0
  142. package/dist/built-in/layout-component/composables/useMenu.d.ts +8 -0
  143. package/dist/built-in/layout-component/composables/useTabbar.d.ts +14 -0
  144. package/dist/built-in/layout-component/composables/useTitle.d.ts +4 -0
  145. package/dist/built-in/layout-component/composables/useViewTransition.d.ts +3 -0
  146. package/dist/built-in/layout-component/composables/useWatermark.d.ts +6 -0
  147. package/dist/built-in/layout-component/index.d.ts +27 -0
  148. package/dist/built-in/layout-component/interface.d.ts +22 -0
  149. package/dist/built-in/layout-component/pages/reload/index.vue.d.ts +2 -0
  150. package/dist/built-in/layout-component/provider.d.ts +1 -0
  151. package/dist/built-in/layout-component/utils/index.d.ts +2 -0
  152. package/dist/built-in/layout-component/utils/injectionKeys.d.ts +2 -0
  153. package/dist/built-in/layout-component/utils/watermark.d.ts +51 -0
  154. package/dist/built-in/n-progress/index.d.ts +6 -0
  155. package/dist/built-in/pinia-plugin/enum.d.ts +1 -0
  156. package/dist/built-in/pinia-plugin/helper.d.ts +2 -0
  157. package/dist/built-in/pinia-plugin/index.d.ts +5 -0
  158. package/dist/built-in/pinia-plugin/plugins/cleanup.d.ts +5 -0
  159. package/dist/built-in/pinia-plugin/plugins/favoritesStorage.d.ts +5 -0
  160. package/dist/built-in/pinia-plugin/plugins/iframeCache.d.ts +5 -0
  161. package/dist/built-in/pinia-plugin/plugins/persist.d.ts +3 -0
  162. package/dist/built-in/pinia-plugin/plugins/persistedstate/index.d.ts +3 -0
  163. package/dist/built-in/pinia-plugin/plugins/persistedstate/persistedstate.d.ts +15 -0
  164. package/dist/built-in/pinia-plugin/plugins/persistedstate/types.d.ts +150 -0
  165. package/dist/built-in/pinia-plugin/plugins/persistedstate/utils.d.ts +17 -0
  166. package/dist/built-in/pinia-plugin/plugins/tabbarStorage.d.ts +5 -0
  167. package/dist/built-in/pre-access/index.d.ts +7 -0
  168. package/dist/built-in/settings/index.d.ts +5 -0
  169. package/dist/built-in/settings/router.d.ts +3 -0
  170. package/dist/built-in/system-info/components/SystemInfo.vue.d.ts +2 -0
  171. package/dist/built-in/system-info/index.d.ts +5 -0
  172. package/dist/c-eeMepfLm.js +6 -0
  173. package/dist/cadence-DMRWHJp4.js +6 -0
  174. package/dist/cairo-DM6WF2e3.js +8 -0
  175. package/dist/catppuccin-frappe-5udUqgsX.js +4 -0
  176. package/dist/catppuccin-latte-ufkS-HWv.js +4 -0
  177. package/dist/catppuccin-macchiato-DzL2LPek.js +4 -0
  178. package/dist/catppuccin-mocha-DDDDwkUT.js +4 -0
  179. package/dist/clarity-BseSxcHx.js +6 -0
  180. package/dist/clojure-CXJfHrL3.js +6 -0
  181. package/dist/cmake-BJz8BOTU.js +6 -0
  182. package/dist/cobol-R4Vn9a46.js +10 -0
  183. package/dist/codeowners-Bt9yU6NX.js +6 -0
  184. package/dist/codeql-DHkodjjI.js +6 -0
  185. package/dist/coffee-Dl27lzbd.js +8 -0
  186. package/dist/common-lisp-EVqT9Zhp.js +6 -0
  187. package/dist/coq-B0L9upzn.js +6 -0
  188. package/dist/core/create.d.ts +2 -0
  189. package/dist/core/ctx.d.ts +3 -0
  190. package/dist/core/index.d.ts +4 -0
  191. package/dist/core/interface.d.ts +115 -0
  192. package/dist/core/modules.d.ts +20 -0
  193. package/dist/core/request.d.ts +4 -0
  194. package/dist/core/resolver/icon.d.ts +7 -0
  195. package/dist/core/resolver/index.d.ts +4 -0
  196. package/dist/core/resolver/layout.d.ts +2 -0
  197. package/dist/core/resolver/page.d.ts +17 -0
  198. package/dist/core/resolver/resolver.d.ts +10 -0
  199. package/dist/core/utils/global.d.ts +33 -0
  200. package/dist/core/utils/index.d.ts +2 -0
  201. package/dist/core/utils/utils.d.ts +3 -0
  202. package/dist/cpp-Cj177cuW.js +18 -0
  203. package/dist/crystal-ymVvJzbZ.js +18 -0
  204. package/dist/csharp-DmxfTLWR.js +6 -0
  205. package/dist/css-CECN5uSL.js +6 -0
  206. package/dist/csv-CmYOceLb.js +6 -0
  207. package/dist/cue-ZzumE7IT.js +6 -0
  208. package/dist/cypher-jpdmjtA6.js +6 -0
  209. package/dist/d-CBagWSwH.js +6 -0
  210. package/dist/dark-plus-pUHDTVV0.js +4 -0
  211. package/dist/dart-6ObCrKr9.js +6 -0
  212. package/dist/dax-CcDT-8dH.js +6 -0
  213. package/dist/desktop-B93p9R9O.js +6 -0
  214. package/dist/diff-BxzP2J8R.js +6 -0
  215. package/dist/docker-CsHqm9tx.js +6 -0
  216. package/dist/dotenv-BMjVjUL1.js +6 -0
  217. package/dist/dracula-BtZx2Kac.js +4 -0
  218. package/dist/dracula-soft-BKa-aqBv.js +4 -0
  219. package/dist/dream-maker-PAx17jaB.js +6 -0
  220. package/dist/edge-_LvgTcmu.js +12 -0
  221. package/dist/elixir-BTCUAmQk.js +8 -0
  222. package/dist/elm-BtNbw_Cd.js +8 -0
  223. package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
  224. package/dist/erb-D0PIpZCP.js +10 -0
  225. package/dist/erlang-DNcDT8Hi.js +8 -0
  226. package/dist/everforest-dark-DMCBqXCK.js +4 -0
  227. package/dist/everforest-light-BbXl82Em.js +4 -0
  228. package/dist/features/api/modules/auth/index.d.ts +1 -0
  229. package/dist/features/api/modules/auth/renzhengfuwu.d.ts +99 -0
  230. package/dist/features/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
  231. package/dist/features/api/modules/configData/index.d.ts +3 -0
  232. package/dist/features/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
  233. package/dist/features/api/modules/configData/zidifuwu.d.ts +71 -0
  234. package/dist/features/api/modules/rbac/gangweijiekou.d.ts +43 -0
  235. package/dist/features/api/modules/rbac/index.d.ts +12 -0
  236. package/dist/features/api/modules/rbac/jiaosejiekou.d.ts +50 -0
  237. package/dist/features/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +50 -0
  238. package/dist/features/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
  239. package/dist/features/api/modules/rbac/yonghujiekou.d.ts +113 -0
  240. package/dist/features/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
  241. package/dist/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
  242. package/dist/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
  243. package/dist/features/api/modules/rbac/ziyuanjiekou.d.ts +99 -0
  244. package/dist/features/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
  245. package/dist/features/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
  246. package/dist/features/api/modules/rbac/zuzhijiekou.d.ts +64 -0
  247. package/dist/features/api/request.d.ts +2 -0
  248. package/dist/features/api/system/user.d.ts +24 -0
  249. package/dist/features/assets/styles/index.d.ts +5 -0
  250. package/dist/features/components/PageHeader/index.vue.d.ts +23 -0
  251. package/dist/features/components/PageMain/index.vue.d.ts +27 -0
  252. package/dist/features/components/PartyLogin/MethodSelect.vue.d.ts +10 -0
  253. package/dist/features/components/PartyLogin/Modal.vue.d.ts +31 -0
  254. package/dist/features/components/PartyLogin/ParamsItem.vue.d.ts +94 -0
  255. package/dist/features/components/PartyLogin/ParamsPanel.vue.d.ts +13 -0
  256. package/dist/features/components/PartyLogin/RequestFieldSelector.vue.d.ts +18 -0
  257. package/dist/features/components/PartyLogin/SystemFieldSelector.vue.d.ts +15 -0
  258. package/dist/features/components/PartyLogin/steps/One.vue.d.ts +28 -0
  259. package/dist/features/components/PartyLogin/steps/Two.vue.d.ts +14 -0
  260. package/dist/features/components/PartyLogin/type.d.ts +37 -0
  261. package/dist/features/components/PartyLogin/usePartyRequest.d.ts +21 -0
  262. package/dist/features/components/PassStrengthValidator/index.vue.d.ts +26 -0
  263. package/dist/features/components/PassStrengthValidator/rule.vue.d.ts +8 -0
  264. package/dist/features/components/PubinfoApp/index.vue.d.ts +2 -0
  265. package/dist/features/components/PubinfoIcon/PrismBox.vue.d.ts +21 -0
  266. package/dist/features/components/PubinfoIcon/SquareBox.vue.d.ts +17 -0
  267. package/dist/features/components/PubinfoIcon/index.vue.d.ts +2 -0
  268. package/dist/features/components/PubinfoIcon/props.d.ts +65 -0
  269. package/dist/features/components/PubinfoProvider/index.d.ts +9 -0
  270. package/dist/features/components/index.d.ts +10 -0
  271. package/dist/features/composables/auth.d.ts +8 -0
  272. package/dist/features/composables/index.d.ts +5 -0
  273. package/dist/features/composables/log.d.ts +6 -0
  274. package/dist/features/composables/partyLogin.d.ts +19 -0
  275. package/dist/features/composables/theme.d.ts +3 -0
  276. package/dist/features/composables/watchDiff.d.ts +2 -0
  277. package/dist/features/context/index.d.ts +12 -0
  278. package/dist/features/enum.d.ts +20 -0
  279. package/dist/features/index.d.ts +7 -0
  280. package/dist/features/pages/not-found/index.vue.d.ts +2 -0
  281. package/dist/features/pages/profile/index.vue.d.ts +2 -0
  282. package/dist/features/router/asyncRoutes.d.ts +14 -0
  283. package/dist/features/router/index.d.ts +2 -0
  284. package/dist/features/router/systemRoutes.d.ts +9 -0
  285. package/dist/features/settings/index.d.ts +3 -0
  286. package/dist/features/stores/enum.d.ts +20 -0
  287. package/dist/features/stores/index.d.ts +1 -0
  288. package/dist/features/stores/modules/favorites.d.ts +33 -0
  289. package/dist/features/stores/modules/iframe.d.ts +45 -0
  290. package/dist/features/stores/modules/index.d.ts +16 -0
  291. package/dist/features/stores/modules/keepAlive.d.ts +24 -0
  292. package/dist/features/stores/modules/menu.d.ts +35 -0
  293. package/dist/features/stores/modules/route.d.ts +52 -0
  294. package/dist/features/stores/modules/settings.d.ts +86 -0
  295. package/dist/features/stores/modules/tabbar.d.ts +60 -0
  296. package/dist/features/stores/modules/user.d.ts +48 -0
  297. package/dist/features/stores/utils/index.d.ts +1 -0
  298. package/dist/features/stores/utils/routerHelper.d.ts +18 -0
  299. package/dist/fennel-N4WcXuKx.js +6 -0
  300. package/dist/fish-B6QqlqeT.js +6 -0
  301. package/dist/fluent-BMXUxfv1.js +6 -0
  302. package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
  303. package/dist/fortran-free-form-DPIT_jbP.js +6 -0
  304. package/dist/fsharp-Pr2u3cIG.js +8 -0
  305. package/dist/gdresource-BwtMIoBm.js +10 -0
  306. package/dist/gdscript-BifyeYhI.js +6 -0
  307. package/dist/gdshader-Bk8fF6yr.js +6 -0
  308. package/dist/genie-DzUvd7U9.js +6 -0
  309. package/dist/gherkin-DHRaV0YP.js +6 -0
  310. package/dist/git-commit-Bd32YZ0K.js +8 -0
  311. package/dist/git-rebase-ZWUFO_T4.js +8 -0
  312. package/dist/github-dark-DenFmJkN.js +4 -0
  313. package/dist/github-dark-default-BJPUVz4H.js +4 -0
  314. package/dist/github-dark-dimmed-DUshB20C.js +4 -0
  315. package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
  316. package/dist/github-light-JYsPkUQd.js +4 -0
  317. package/dist/github-light-default-D99KPAby.js +4 -0
  318. package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
  319. package/dist/gleam-Bv284lvN.js +6 -0
  320. package/dist/glimmer-js-CkxRszZZ.js +14 -0
  321. package/dist/glimmer-ts-Bi6BYQCn.js +14 -0
  322. package/dist/glsl-CkUcVZNK.js +8 -0
  323. package/dist/gnuplot-yPG9-sE_.js +6 -0
  324. package/dist/go-ChxJuLYK.js +6 -0
  325. package/dist/graphql-BLaPX4fU.js +14 -0
  326. package/dist/groovy-CJQTphOW.js +6 -0
  327. package/dist/gruvbox-dark-hard-C2ND4cMr.js +4 -0
  328. package/dist/gruvbox-dark-medium-C8k4c8au.js +4 -0
  329. package/dist/gruvbox-dark-soft-xx9Q6FaG.js +4 -0
  330. package/dist/gruvbox-light-hard-BpUXv5in.js +4 -0
  331. package/dist/gruvbox-light-medium-D3XFCoU1.js +4 -0
  332. package/dist/gruvbox-light-soft-u7hpfz6Z.js +4 -0
  333. package/dist/hack-Bx1jMtBC.js +10 -0
  334. package/dist/haml-6FagfhCM.js +10 -0
  335. package/dist/handlebars-Bd5Y4M6I.js +14 -0
  336. package/dist/haskell-WeIwNIP6.js +6 -0
  337. package/dist/haxe-TztHsm5T.js +6 -0
  338. package/dist/hcl-D438OF-I.js +6 -0
  339. package/dist/hjson-DYBUbqOl.js +6 -0
  340. package/dist/hlsl-Bk8TCZNL.js +6 -0
  341. package/dist/houston-BDYrDoDW.js +4 -0
  342. package/dist/html-7XVNRwN7.js +10 -0
  343. package/dist/html-derivative-BNxZ5Yf6.js +8 -0
  344. package/dist/http-WC357zBG.js +14 -0
  345. package/dist/hxml-GbqSQCLa.js +8 -0
  346. package/dist/hy-Brt5EZ7-.js +6 -0
  347. package/dist/imba-CimUv-Uh.js +6 -0
  348. package/dist/index-73TLLAnx.js +25373 -0
  349. package/dist/index-B3GOGQYd.js +79648 -0
  350. package/dist/index-BD2fkZis.js +14 -0
  351. package/dist/index-BRjgatUZ.js +139 -0
  352. package/dist/index-BrK3HYDT.js +4 -0
  353. package/dist/index-CkUIa4JM.js +229 -0
  354. package/dist/index-D2zvNBbe.js +44 -0
  355. package/dist/index-DwF3aqst.js +49 -0
  356. package/dist/index-NOUM2y9h.js +2827 -0
  357. package/dist/index.d.ts +26 -0
  358. package/dist/index.js +70 -0
  359. package/dist/ini-BZIuRIvJ.js +6 -0
  360. package/dist/java-DY6VlHhP.js +6 -0
  361. package/dist/javascript-Dp1Jmi5H.js +6 -0
  362. package/dist/jinja-WEhOU5ES.js +11 -0
  363. package/dist/jison-c2JI40PB.js +8 -0
  364. package/dist/json-DxJze_jm.js +6 -0
  365. package/dist/json5-BT4Fjg39.js +6 -0
  366. package/dist/jsonc-CHjZD8gR.js +6 -0
  367. package/dist/jsonl-BGuvDmy9.js +6 -0
  368. package/dist/jsonnet-Bx2cfsXg.js +6 -0
  369. package/dist/jssm-BcADi6EI.js +6 -0
  370. package/dist/jsx-BtKADgXT.js +6 -0
  371. package/dist/julia-DcoDQokW.js +16 -0
  372. package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
  373. package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
  374. package/dist/kanagawa-wave-CQwozSzG.js +4 -0
  375. package/dist/kotlin-ByBMgTeR.js +6 -0
  376. package/dist/kusto-VWFLl2T0.js +6 -0
  377. package/dist/laserwave-6a00oqik.js +4 -0
  378. package/dist/latex-MZCpjnva.js +8 -0
  379. package/dist/lean-DXqEE_d1.js +6 -0
  380. package/dist/less-B1GLI2Di.js +6 -0
  381. package/dist/light-plus-CZuVqSLX.js +4 -0
  382. package/dist/liquid-3HHuHOZ2.js +14 -0
  383. package/dist/llvm-6RQLId6G.js +6 -0
  384. package/dist/log-Al8wyEFV.js +6 -0
  385. package/dist/logo-DBa4JDzV.js +6 -0
  386. package/dist/lua-kX5WP_P5.js +8 -0
  387. package/dist/luau-DtBSxLyz.js +6 -0
  388. package/dist/make-CsMclxtr.js +6 -0
  389. package/dist/markdown-CrScaQ96.js +6 -0
  390. package/dist/marko-DDi9qpQP.js +14 -0
  391. package/dist/material-theme-D6KBX41T.js +4 -0
  392. package/dist/material-theme-darker-CkRroheE.js +4 -0
  393. package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
  394. package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
  395. package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
  396. package/dist/matlab-BOAaUVP0.js +6 -0
  397. package/dist/mdc-FI2x3BiY.js +12 -0
  398. package/dist/mdx-BOhZZUJ8.js +6 -0
  399. package/dist/mermaid-B0ixDHKN.js +6 -0
  400. package/dist/min-dark-C7ak0t6c.js +4 -0
  401. package/dist/min-light-CKFxVcPp.js +4 -0
  402. package/dist/mipsasm-CTx18fBl.js +6 -0
  403. package/dist/mojo-BD611d7o.js +6 -0
  404. package/dist/monokai-C1KBYcO0.js +4 -0
  405. package/dist/move-DSb5dTSj.js +6 -0
  406. package/dist/narrat-DmhDCBs-.js +6 -0
  407. package/dist/nextflow-BAAEJxI_.js +6 -0
  408. package/dist/nginx-5vhPAEw3.js +8 -0
  409. package/dist/night-owl-Bm2rzalh.js +4 -0
  410. package/dist/nim-BhS8gg0S.js +20 -0
  411. package/dist/nix-ceY58Dty.js +6 -0
  412. package/dist/nord-CC5OiUXg.js +4 -0
  413. package/dist/nushell-CQi4NV-2.js +6 -0
  414. package/dist/objective-c-Itk8tzmv.js +6 -0
  415. package/dist/objective-cpp-DGt5UKRO.js +6 -0
  416. package/dist/ocaml-eSVK32Eg.js +6 -0
  417. package/dist/one-dark-pro-DTA3VF0_.js +4 -0
  418. package/dist/one-light-D9sNaUtq.js +4 -0
  419. package/dist/pascal-xy8pJNns.js +6 -0
  420. package/dist/perl-BoEn6HmT.js +16 -0
  421. package/dist/php-BRU9zhoN.js +18 -0
  422. package/dist/pick-dLE6MD9A.js +12 -0
  423. package/dist/plastic-CSTz3KZp.js +4 -0
  424. package/dist/plsql-pVbGZfOv.js +6 -0
  425. package/dist/po-BNfHvqmm.js +6 -0
  426. package/dist/poimandres-C-VADXHD.js +4 -0
  427. package/dist/polar-CAZahv3u.js +6 -0
  428. package/dist/postcss-05aHdL-n.js +6 -0
  429. package/dist/powerquery-DI9HkTvs.js +6 -0
  430. package/dist/powershell-Clc4ydu-.js +6 -0
  431. package/dist/prisma-FZjmVtSl.js +6 -0
  432. package/dist/prolog-C5-yg4TO.js +6 -0
  433. package/dist/proto-MmCPeFAD.js +6 -0
  434. package/dist/pug-CJWI-qSo.js +12 -0
  435. package/dist/puppet-CUJHmnxV.js +6 -0
  436. package/dist/purescript-rUfGld-4.js +6 -0
  437. package/dist/python-BFNSHbwJ.js +6 -0
  438. package/dist/qml-D3ATcgGh.js +8 -0
  439. package/dist/qmldir-BInDYbpo.js +6 -0
  440. package/dist/qss-AeJTysr_.js +6 -0
  441. package/dist/question-line-DCMVyZ3e.js +18 -0
  442. package/dist/r-Bm0uF0U2.js +6 -0
  443. package/dist/racket-B83wSAja.js +6 -0
  444. package/dist/raku-nEQ4ZJJ7.js +6 -0
  445. package/dist/razor-BPFYEoc9.js +10 -0
  446. package/dist/red-7y8PH7HH.js +4 -0
  447. package/dist/reg-m_s_Kiip.js +6 -0
  448. package/dist/regexp-BazyLpPg.js +6 -0
  449. package/dist/rel-BcRfyd6Q.js +6 -0
  450. package/dist/right-aIVrXLnr.js +36 -0
  451. package/dist/riscv-Ce8MAQLP.js +6 -0
  452. package/dist/rose-pine-Cr4kwgAY.js +4 -0
  453. package/dist/rose-pine-dawn-ClRRUdXX.js +4 -0
  454. package/dist/rose-pine-moon-ucNn3Gm8.js +4 -0
  455. package/dist/rst-B6mPMsKo.js +22 -0
  456. package/dist/ruby-DInklMmU.js +30 -0
  457. package/dist/rust-CLzF9zIN.js +6 -0
  458. package/dist/sas-fpEvgATw.js +8 -0
  459. package/dist/sass-DxHp5rTx.js +6 -0
  460. package/dist/scala-D4grkFkl.js +6 -0
  461. package/dist/scheme-BCRWuEm4.js +6 -0
  462. package/dist/scss-B1FaCqwR.js +8 -0
  463. package/dist/sdbl-B7T8abf4.js +6 -0
  464. package/dist/shaderlab-Cr62-Wb4.js +8 -0
  465. package/dist/shellscript-InADTalH.js +6 -0
  466. package/dist/shellsession-DiDJNQdy.js +8 -0
  467. package/dist/slack-dark-i7wN4OET.js +4 -0
  468. package/dist/slack-ochin-ndHf0LoP.js +4 -0
  469. package/dist/smalltalk-BlI1_OkM.js +6 -0
  470. package/dist/snazzy-light-BlSJXAu4.js +4 -0
  471. package/dist/solarized-dark-UTmkh7lw.js +4 -0
  472. package/dist/solarized-light-BheCkDPT.js +4 -0
  473. package/dist/solidity-CneOhxmR.js +6 -0
  474. package/dist/soy-LybuU3Y_.js +8 -0
  475. package/dist/sparql-B0KWFEri.js +8 -0
  476. package/dist/splunk-CRXR8A9s.js +6 -0
  477. package/dist/sql-Cn_v3PB0.js +6 -0
  478. package/dist/ssh-config-DP-hNVbF.js +6 -0
  479. package/dist/stata-B8c5fTjX.js +8 -0
  480. package/dist/style.css +9 -0
  481. package/dist/stylus-CyKEU1Ej.js +6 -0
  482. package/dist/svelte-BjDUPxZ1.js +14 -0
  483. package/dist/swift-9UzSvamq.js +6 -0
  484. package/dist/synthwave-84-NU3C_KFZ.js +4 -0
  485. package/dist/system-verilog-BCm7smPJ.js +6 -0
  486. package/dist/systemd-C-4qm6XH.js +6 -0
  487. package/dist/talonscript-CFF3LF_O.js +6 -0
  488. package/dist/tasl-Cg_WBUAe.js +6 -0
  489. package/dist/tcl-DN7buRTF.js +6 -0
  490. package/dist/templ-Brj2RH7A.js +12 -0
  491. package/dist/terraform-DGvcn9zM.js +6 -0
  492. package/dist/tex-CmrLTxbG.js +8 -0
  493. package/dist/tokyo-night-DP4TmcQl.js +4 -0
  494. package/dist/toml-DY62mUL_.js +6 -0
  495. package/dist/ts-tags-CZMzuZh-.js +41 -0
  496. package/dist/tsv-BtvSkaG0.js +6 -0
  497. package/dist/tsx-B8rCNbgL.js +6 -0
  498. package/dist/turtle-_H59FV7D.js +6 -0
  499. package/dist/twig-GjIxYqCX.js +18 -0
  500. package/dist/typescript-mg6ATTE8.js +6 -0
  501. package/dist/typespec-Djmco60m.js +6 -0
  502. package/dist/typst-D_1QKWns.js +6 -0
  503. package/dist/utils/cleanup.d.ts +8 -0
  504. package/dist/utils/index.d.ts +6 -0
  505. package/dist/utils/path.d.ts +1 -0
  506. package/dist/utils/proxy.d.ts +1 -0
  507. package/dist/utils/publicKey.d.ts +4 -0
  508. package/dist/utils/storage.d.ts +20 -0
  509. package/dist/v-BW14IZv7.js +6 -0
  510. package/dist/vala-uxaPR7d1.js +6 -0
  511. package/dist/vb-D8_c5-KN.js +6 -0
  512. package/dist/verilog-B-bybjPF.js +6 -0
  513. package/dist/vesper-BckBta1U.js +4 -0
  514. package/dist/vhdl-CUlNa8ac.js +6 -0
  515. package/dist/viml-DsfA-sWm.js +6 -0
  516. package/dist/vitesse-black-BoGvW84i.js +4 -0
  517. package/dist/vitesse-dark-Cym-eLtO.js +4 -0
  518. package/dist/vitesse-light-CcmG315c.js +4 -0
  519. package/dist/vue-D-ba2-Rx.js +31 -0
  520. package/dist/vue-html-Dn2ZoOSz.js +10 -0
  521. package/dist/vue-vine-Jmfkm6lF.js +20 -0
  522. package/dist/vyper-CPQuu50u.js +6 -0
  523. package/dist/wasm-BBXxrAl7.js +6 -0
  524. package/dist/wasm-DQxwEHae.js +7 -0
  525. package/dist/wenyan-pbVjoM9_.js +6 -0
  526. package/dist/wgsl-DY4iK1q1.js +6 -0
  527. package/dist/wikitext-Z-MoUasO.js +6 -0
  528. package/dist/wit-CQMQOlTg.js +6 -0
  529. package/dist/wolfram-Dz4KXISs.js +6 -0
  530. package/dist/xml-C2J0sS9M.js +8 -0
  531. package/dist/xsl-BmSZphgC.js +8 -0
  532. package/dist/yaml-DaO7k5B1.js +6 -0
  533. package/dist/zenscript-CxBjpf9c.js +6 -0
  534. package/dist/zig-Vm0PO9wB.js +6 -0
  535. package/package.json +104 -0
  536. package/runtime/components/PubinfoDev/index.d.ts +18 -0
  537. package/runtime/components/PubinfoDev/index.js +15 -0
  538. package/runtime/components/index.d.ts +1 -0
  539. package/runtime/components/index.js +1 -0
  540. package/runtime/index.d.ts +1 -0
  541. package/runtime/index.js +1 -0
  542. package/src/built-in/authentication/alova/helper.ts +158 -0
  543. package/src/built-in/authentication/alova/token.ts +122 -0
  544. package/src/built-in/authentication/enum.ts +78 -0
  545. package/src/built-in/authentication/helper.ts +59 -0
  546. package/src/built-in/authentication/index.ts +28 -0
  547. package/src/built-in/authentication/interface.ts +7 -0
  548. package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -0
  549. package/src/built-in/authentication/pages/change-organization/assets/login-small.png +0 -0
  550. package/src/built-in/authentication/pages/change-organization/assets/login-small_dark.webp +0 -0
  551. package/src/built-in/authentication/pages/change-organization/index.vue +160 -0
  552. package/src/built-in/authentication/pages/change-password/assets/login-small.png +0 -0
  553. package/src/built-in/authentication/pages/change-password/assets/login-small_dark.webp +0 -0
  554. package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -0
  555. package/src/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue +144 -0
  556. package/src/built-in/authentication/pages/change-password/index.vue +85 -0
  557. package/src/built-in/authentication/router.ts +57 -0
  558. package/src/built-in/authorization/directives.ts +22 -0
  559. package/src/built-in/authorization/helper.ts +11 -0
  560. package/src/built-in/authorization/index.ts +25 -0
  561. package/src/built-in/authorization/pages/not-permission/403.svg +1 -0
  562. package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -0
  563. package/src/built-in/authorization/pages/not-permission/index.vue +69 -0
  564. package/src/built-in/authorization/router.ts +122 -0
  565. package/src/built-in/devtools/index.ts +292 -0
  566. package/src/built-in/index.ts +9 -0
  567. package/src/built-in/layout-component/Layout.vue +358 -0
  568. package/src/built-in/layout-component/assets/icons/favorites.svg +1 -0
  569. package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -0
  570. package/src/built-in/layout-component/assets/images/403.svg +1 -0
  571. package/src/built-in/layout-component/assets/images/403_dark.svg +1 -0
  572. package/src/built-in/layout-component/assets/images/not-cursor.png +0 -0
  573. package/src/built-in/layout-component/components/BackTop/index.vue +47 -0
  574. package/src/built-in/layout-component/components/Content/IframeView.vue +150 -0
  575. package/src/built-in/layout-component/components/Content/LinkView.vue +118 -0
  576. package/src/built-in/layout-component/components/Content/index.vue +147 -0
  577. package/src/built-in/layout-component/components/Copyright/index.vue +48 -0
  578. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +95 -0
  579. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +70 -0
  580. package/src/built-in/layout-component/components/Header/HeaderFullMenu/index.vue +173 -0
  581. package/src/built-in/layout-component/components/Header/HeaderMenu.vue +19 -0
  582. package/src/built-in/layout-component/components/Header/HeaderThinMenu.vue +41 -0
  583. package/src/built-in/layout-component/components/Header/index.vue +175 -0
  584. package/src/built-in/layout-component/components/Logo/index.vue +55 -0
  585. package/src/built-in/layout-component/components/Menu/index.vue +206 -0
  586. package/src/built-in/layout-component/components/Menu/item.vue +198 -0
  587. package/src/built-in/layout-component/components/Menu/sub.vue +220 -0
  588. package/src/built-in/layout-component/components/Menu/types.ts +49 -0
  589. package/src/built-in/layout-component/components/NotAllowed/index.vue +44 -0
  590. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +146 -0
  591. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +144 -0
  592. package/src/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue +42 -0
  593. package/src/built-in/layout-component/components/SettingBar/components/SettingCopyright.vue +44 -0
  594. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +190 -0
  595. package/src/built-in/layout-component/components/SettingBar/components/SettingHome.vue +30 -0
  596. package/src/built-in/layout-component/components/SettingBar/components/SettingMenu.vue +108 -0
  597. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +154 -0
  598. package/src/built-in/layout-component/components/SettingBar/components/SettingNavSearch.vue +30 -0
  599. package/src/built-in/layout-component/components/SettingBar/components/SettingOther.vue +53 -0
  600. package/src/built-in/layout-component/components/SettingBar/components/SettingPage.vue +20 -0
  601. package/src/built-in/layout-component/components/SettingBar/components/SettingTabbar.vue +70 -0
  602. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +167 -0
  603. package/src/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue +48 -0
  604. package/src/built-in/layout-component/components/SettingBar/components/SettingTopbar.vue +37 -0
  605. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +141 -0
  606. package/src/built-in/layout-component/components/SettingBar/index.vue +81 -0
  607. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +194 -0
  608. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +152 -0
  609. package/src/built-in/layout-component/components/Sidebar/index.vue +29 -0
  610. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +15 -0
  611. package/src/built-in/layout-component/components/Tools/Breadcrumb/item.vue +44 -0
  612. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +126 -0
  613. package/src/built-in/layout-component/components/Tools/Fullscreen.vue +24 -0
  614. package/src/built-in/layout-component/components/Tools/HotkeysIntro.vue +103 -0
  615. package/src/built-in/layout-component/components/Tools/PageReload.vue +22 -0
  616. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +658 -0
  617. package/src/built-in/layout-component/components/Tools/Preferences/index.vue +20 -0
  618. package/src/built-in/layout-component/components/Tools/SearchBar.vue +42 -0
  619. package/src/built-in/layout-component/components/Tools/SearchPanel.vue +454 -0
  620. package/src/built-in/layout-component/components/Tools/index.vue +149 -0
  621. package/src/built-in/layout-component/components/Tools/interface.ts +27 -0
  622. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +329 -0
  623. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +744 -0
  624. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +135 -0
  625. package/src/built-in/layout-component/components/Topbar/Toolbar/Star.vue +30 -0
  626. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +312 -0
  627. package/src/built-in/layout-component/components/Topbar/index.vue +16 -0
  628. package/src/built-in/layout-component/components/ui/HBadge.vue +41 -0
  629. package/src/built-in/layout-component/components/ui/HButton.vue +28 -0
  630. package/src/built-in/layout-component/components/ui/HCheckList.vue +49 -0
  631. package/src/built-in/layout-component/components/ui/HDialog.vue +111 -0
  632. package/src/built-in/layout-component/components/ui/HDivider.vue +24 -0
  633. package/src/built-in/layout-component/components/ui/HDropdown.vue +13 -0
  634. package/src/built-in/layout-component/components/ui/HDropdownMenu.vue +43 -0
  635. package/src/built-in/layout-component/components/ui/HDropdownTree.vue +79 -0
  636. package/src/built-in/layout-component/components/ui/HInput.vue +40 -0
  637. package/src/built-in/layout-component/components/ui/HKbd.vue +33 -0
  638. package/src/built-in/layout-component/components/ui/HSelect.vue +66 -0
  639. package/src/built-in/layout-component/components/ui/HSlideover.vue +122 -0
  640. package/src/built-in/layout-component/components/ui/HTabList.vue +56 -0
  641. package/src/built-in/layout-component/components/ui/HToggle.vue +133 -0
  642. package/src/built-in/layout-component/components/ui/HTooltip.vue +21 -0
  643. package/src/built-in/layout-component/composables/useContext.ts +36 -0
  644. package/src/built-in/layout-component/composables/useGetComputedStyle.ts +72 -0
  645. package/src/built-in/layout-component/composables/useGlobalSearch.ts +87 -0
  646. package/src/built-in/layout-component/composables/useHotkey.ts +45 -0
  647. package/src/built-in/layout-component/composables/useLayoutVisible.ts +87 -0
  648. package/src/built-in/layout-component/composables/useMainPage.ts +67 -0
  649. package/src/built-in/layout-component/composables/useMenu.ts +27 -0
  650. package/src/built-in/layout-component/composables/useTabbar.ts +163 -0
  651. package/src/built-in/layout-component/composables/useTitle.ts +34 -0
  652. package/src/built-in/layout-component/composables/useViewTransition.ts +16 -0
  653. package/src/built-in/layout-component/composables/useWatermark.ts +80 -0
  654. package/src/built-in/layout-component/index.ts +105 -0
  655. package/src/built-in/layout-component/interface.ts +25 -0
  656. package/src/built-in/layout-component/pages/reload/index.vue +11 -0
  657. package/src/built-in/layout-component/provider.ts +65 -0
  658. package/src/built-in/layout-component/utils/index.ts +2 -0
  659. package/src/built-in/layout-component/utils/injectionKeys.ts +5 -0
  660. package/src/built-in/layout-component/utils/watermark.ts +256 -0
  661. package/src/built-in/n-progress/index.ts +31 -0
  662. package/src/built-in/n-progress/nprogress.css +68 -0
  663. package/src/built-in/pinia-plugin/enum.ts +1 -0
  664. package/src/built-in/pinia-plugin/helper.ts +37 -0
  665. package/src/built-in/pinia-plugin/index.ts +27 -0
  666. package/src/built-in/pinia-plugin/plugins/cleanup.ts +20 -0
  667. package/src/built-in/pinia-plugin/plugins/favoritesStorage.ts +61 -0
  668. package/src/built-in/pinia-plugin/plugins/iframeCache.ts +32 -0
  669. package/src/built-in/pinia-plugin/plugins/persist.ts +32 -0
  670. package/src/built-in/pinia-plugin/plugins/persistedstate/README.md +551 -0
  671. package/src/built-in/pinia-plugin/plugins/persistedstate/index.ts +3 -0
  672. package/src/built-in/pinia-plugin/plugins/persistedstate/persistedstate.ts +575 -0
  673. package/src/built-in/pinia-plugin/plugins/persistedstate/types.ts +162 -0
  674. package/src/built-in/pinia-plugin/plugins/persistedstate/utils.ts +46 -0
  675. package/src/built-in/pinia-plugin/plugins/tabbarStorage.ts +97 -0
  676. package/src/built-in/pre-access/index.ts +20 -0
  677. package/src/built-in/settings/index.ts +15 -0
  678. package/src/built-in/settings/router.ts +138 -0
  679. package/src/built-in/system-info/components/SystemInfo.vue +83 -0
  680. package/src/built-in/system-info/index.ts +16 -0
  681. package/src/core/create.ts +71 -0
  682. package/src/core/ctx.ts +46 -0
  683. package/src/core/index.ts +4 -0
  684. package/src/core/interface.ts +142 -0
  685. package/src/core/modules.ts +63 -0
  686. package/src/core/request.ts +71 -0
  687. package/src/core/resolver/icon.ts +115 -0
  688. package/src/core/resolver/index.ts +4 -0
  689. package/src/core/resolver/layout.ts +33 -0
  690. package/src/core/resolver/page.ts +88 -0
  691. package/src/core/resolver/resolver.ts +25 -0
  692. package/src/core/utils/global.ts +161 -0
  693. package/src/core/utils/index.ts +2 -0
  694. package/src/core/utils/utils.ts +12 -0
  695. package/src/features/api/modules/auth/index.ts +1 -0
  696. package/src/features/api/modules/auth/renzhengfuwu.ts +294 -0
  697. package/src/features/api/modules/auth/typings.d.ts +177 -0
  698. package/src/features/api/modules/configData/heibaimingdanfuwu.ts +106 -0
  699. package/src/features/api/modules/configData/index.ts +3 -0
  700. package/src/features/api/modules/configData/typings.d.ts +357 -0
  701. package/src/features/api/modules/configData/xitongpeizhifuwu.ts +346 -0
  702. package/src/features/api/modules/configData/zidifuwu.ts +227 -0
  703. package/src/features/api/modules/rbac/gangweijiekou.ts +132 -0
  704. package/src/features/api/modules/rbac/index.ts +12 -0
  705. package/src/features/api/modules/rbac/jiaosejiekou.ts +139 -0
  706. package/src/features/api/modules/rbac/pubJiaosezukongzhiqi.ts +152 -0
  707. package/src/features/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +200 -0
  708. package/src/features/api/modules/rbac/typings.d.ts +2145 -0
  709. package/src/features/api/modules/rbac/yonghujiekou.ts +352 -0
  710. package/src/features/api/modules/rbac/yonghushoucangbiaojiekou.ts +110 -0
  711. package/src/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +82 -0
  712. package/src/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
  713. package/src/features/api/modules/rbac/ziyuanjiekou.ts +283 -0
  714. package/src/features/api/modules/rbac/zuhuguanlijiekou.ts +100 -0
  715. package/src/features/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +85 -0
  716. package/src/features/api/modules/rbac/zuzhijiekou.ts +189 -0
  717. package/src/features/api/request.ts +5 -0
  718. package/src/features/api/system/typings.d.ts +77 -0
  719. package/src/features/api/system/user.ts +47 -0
  720. package/src/features/assets/fonts/digital-7/digital-7-webfont.eot +0 -0
  721. package/src/features/assets/fonts/digital-7/digital-7-webfont.svg +133 -0
  722. package/src/features/assets/fonts/digital-7/digital-7-webfont.woff +0 -0
  723. package/src/features/assets/fonts/digital-7/digital-7-webfont.woff2 +0 -0
  724. package/src/features/assets/fonts/digital-7/stylesheet.css +12 -0
  725. package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
  726. package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +132 -0
  727. package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
  728. package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
  729. package/src/features/assets/fonts/digital-7_mono/stylesheet.css +12 -0
  730. package/src/features/assets/fonts/title.otf +0 -0
  731. package/src/features/assets/images/change-org-bc.webp +0 -0
  732. package/src/features/assets/images/header-bg.png +0 -0
  733. package/src/features/assets/images/logo.png +0 -0
  734. package/src/features/assets/images/org.svg +19 -0
  735. package/src/features/assets/images/slider-bg.png +0 -0
  736. package/src/features/assets/styles/globals.css +180 -0
  737. package/src/features/assets/styles/index.ts +5 -0
  738. package/src/features/assets/styles/rbac.css +51 -0
  739. package/src/features/assets/styles/resources/utils.css +53 -0
  740. package/src/features/assets/styles/resources/variables.css +5 -0
  741. package/src/features/components/PageHeader/index.vue +32 -0
  742. package/src/features/components/PageMain/index.vue +51 -0
  743. package/src/features/components/PartyLogin/MethodSelect.vue +32 -0
  744. package/src/features/components/PartyLogin/Modal.vue +370 -0
  745. package/src/features/components/PartyLogin/ParamsItem.vue +196 -0
  746. package/src/features/components/PartyLogin/ParamsPanel.vue +61 -0
  747. package/src/features/components/PartyLogin/README.md +621 -0
  748. package/src/features/components/PartyLogin/RequestFieldSelector.vue +205 -0
  749. package/src/features/components/PartyLogin/SystemFieldSelector.vue +213 -0
  750. package/src/features/components/PartyLogin/steps/One.vue +212 -0
  751. package/src/features/components/PartyLogin/steps/Two.vue +86 -0
  752. package/src/features/components/PartyLogin/type.ts +43 -0
  753. package/src/features/components/PartyLogin/usePartyRequest.ts +244 -0
  754. package/src/features/components/PassStrengthValidator/index.vue +198 -0
  755. package/src/features/components/PassStrengthValidator/rule.vue +39 -0
  756. package/src/features/components/PubinfoApp/index.vue +9 -0
  757. package/src/features/components/PubinfoIcon/PrismBox.vue +203 -0
  758. package/src/features/components/PubinfoIcon/SquareBox.vue +59 -0
  759. package/src/features/components/PubinfoIcon/index.vue +338 -0
  760. package/src/features/components/PubinfoIcon/props.ts +61 -0
  761. package/src/features/components/PubinfoProvider/index.ts +35 -0
  762. package/src/features/components/index.ts +11 -0
  763. package/src/features/composables/auth.ts +53 -0
  764. package/src/features/composables/index.ts +5 -0
  765. package/src/features/composables/log.ts +42 -0
  766. package/src/features/composables/partyLogin.ts +565 -0
  767. package/src/features/composables/theme.ts +16 -0
  768. package/src/features/composables/watchDiff.ts +53 -0
  769. package/src/features/context/index.ts +25 -0
  770. package/src/features/enum.ts +21 -0
  771. package/src/features/index.ts +8 -0
  772. package/src/features/pages/not-found/assets/404.svg +1 -0
  773. package/src/features/pages/not-found/assets/404_dark.svg +1 -0
  774. package/src/features/pages/not-found/index.vue +72 -0
  775. package/src/features/pages/profile/index.vue +125 -0
  776. package/src/features/router/asyncRoutes.ts +35 -0
  777. package/src/features/router/index.ts +2 -0
  778. package/src/features/router/systemRoutes.ts +44 -0
  779. package/src/features/settings/index.ts +105 -0
  780. package/src/features/stores/enum.ts +28 -0
  781. package/src/features/stores/index.ts +1 -0
  782. package/src/features/stores/modules/favorites.ts +152 -0
  783. package/src/features/stores/modules/iframe.ts +130 -0
  784. package/src/features/stores/modules/index.ts +16 -0
  785. package/src/features/stores/modules/keepAlive.ts +66 -0
  786. package/src/features/stores/modules/menu.ts +261 -0
  787. package/src/features/stores/modules/route.ts +582 -0
  788. package/src/features/stores/modules/settings.ts +384 -0
  789. package/src/features/stores/modules/tabbar.ts +339 -0
  790. package/src/features/stores/modules/user.ts +301 -0
  791. package/src/features/stores/utils/index.ts +1 -0
  792. package/src/features/stores/utils/routerHelper.ts +240 -0
  793. package/src/index.ts +127 -0
  794. package/src/utils/cleanup.ts +19 -0
  795. package/src/utils/index.ts +6 -0
  796. package/src/utils/path.ts +5 -0
  797. package/src/utils/proxy.ts +35 -0
  798. package/src/utils/publicKey.ts +23 -0
  799. package/src/utils/storage.ts +55 -0
  800. package/types/auto-imports.d.ts +78 -0
  801. package/types/components.d.ts +48 -0
  802. package/types/favorites.d.ts +8 -0
  803. package/types/global.d.ts +12 -0
  804. package/types/iframe.d.ts +8 -0
  805. package/types/index.d.ts +10 -0
  806. package/types/menu.d.ts +45 -0
  807. package/types/module.d.ts +10 -0
  808. package/types/pinia.d.ts +94 -0
  809. package/types/settings.d.ts +556 -0
  810. package/types/tabbar.d.ts +24 -0
  811. package/types/user.d.ts +46 -0
  812. package/types/vite-env.d.ts +39 -0
  813. package/types/vue-router.d.ts +80 -0
@@ -0,0 +1,53 @@
1
+ import type { WatchOptions, WatchSource } from 'vue';
2
+ import { cloneDeep, isEmpty, isObject } from 'lodash-es';
3
+ import { watch } from 'vue';
4
+
5
+ function deepDiff(original: Record<string, any>, updated: Record<string, any>) {
6
+ let hasDifferences = false;
7
+ const diff: Record<string, any> = Object.create(null);
8
+
9
+ const keys = new Set([...Object.keys(original), ...Object.keys(updated)]);
10
+ keys.forEach((key) => {
11
+ const origValue = original[key];
12
+ const updatedValue = updated[key];
13
+
14
+ if (isObject(origValue) && isObject(updatedValue)) {
15
+ const deeperDiff = deepDiff(origValue, updatedValue);
16
+ if (Object.keys(deeperDiff).length > 0) {
17
+ diff[key] = deeperDiff;
18
+ hasDifferences = true;
19
+ }
20
+ }
21
+ else if (origValue !== updatedValue) {
22
+ diff[key] = updatedValue;
23
+ hasDifferences = true;
24
+ }
25
+ });
26
+
27
+ return hasDifferences ? diff : {};
28
+ }
29
+
30
+ export function watchDiffObject<
31
+ T extends Record<string, any>, Immediate extends Readonly<boolean> = false>(
32
+ source: WatchSource<T> | T,
33
+ cb: (newVal: Record<string, any>, oldVal: Record<string, any>) => void,
34
+ options?: WatchOptions<Immediate>,
35
+ ) {
36
+ let oldValue: Record<string, any> = options?.immediate
37
+ ? {}
38
+ : cloneDeep(typeof source === 'function'
39
+ ? source()
40
+ : source,
41
+ );
42
+
43
+ return watch(source, (newVal, _) => {
44
+ const diff = deepDiff(oldValue, newVal);
45
+ if (!isEmpty(diff)) {
46
+ cb(diff, oldValue);
47
+ }
48
+ oldValue = cloneDeep(newVal);
49
+ }, {
50
+ ...options,
51
+ deep: true,
52
+ });
53
+ }
@@ -0,0 +1,25 @@
1
+ import type { Router } from 'vue-router';
2
+ import type { RequestInstance } from '@/core';
3
+
4
+ import { createContext } from '../../core/utils';
5
+
6
+ interface InternalContext {
7
+ router: Router
8
+ requestAuth: RequestInstance
9
+ requestBasic: RequestInstance
10
+ }
11
+
12
+ const ctx = createContext<InternalContext>('ctx', { stateKey: 'state' });
13
+
14
+ /** 初始化全局 context */
15
+ export function createPubinfoContext(newState: InternalContext) {
16
+ // 缓存用于 wrapProxy 兜底
17
+ ctx.set(newState);
18
+ // 立即激活 use()
19
+ ctx.use();
20
+ }
21
+
22
+ /** 读取全局 context */
23
+ export function usePubinfoContext() {
24
+ return ctx.use();
25
+ }
@@ -0,0 +1,21 @@
1
+ /** 资源类型 */
2
+ export enum RESOURCE_TYPE {
3
+ /** 静态应用 */
4
+ APP = '1',
5
+ /** 目录 */
6
+ INDEX = '2',
7
+ /** 菜单 */
8
+ MENU = '3',
9
+ /** 按钮 */
10
+ BUTTON = '4',
11
+ /** 非菜单页 */
12
+ NON_MENU = '5',
13
+ /** 微应用 */
14
+ // MICRO_APP = '6',
15
+ /** 动态应用 */
16
+ DYNAMIC_APP = '7',
17
+ /** 内嵌 */
18
+ IFRAME = '8',
19
+ /** 外链 */
20
+ LINK = '9',
21
+ }
@@ -0,0 +1,8 @@
1
+ import './assets/styles/index.ts';
2
+
3
+ export * from './components';
4
+ export * from './composables';
5
+ export * from './enum';
6
+ export * from './router';
7
+ export * from './settings';
8
+ export * from './stores';
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 382 309" preserveAspectRatio="xMidYMid meet"><rect width="118.274" height="17.809" fill="#81ACFA" rx="4" transform="matrix(1 0 .08716 .9962 162.134 272.588)"/><rect width="118.274" height="17.809" fill="url(#a)" rx="4" transform="matrix(1 0 .08716 .9962 163.134 269.588)"/><path fill="url(#b)" d="m33.006 148.18 36.78 85.112c25.18 58.267 91.724 89.125 148.315 68.777l85.675-30.806c91.652-32.954 86.59-163.719-7.961-205.65L173.359 11.307C80.634-29.813-6.988 55.635 33.006 148.18"/><rect width="68.502" height="88.093" fill="url(#c)" rx="2" transform="matrix(1 0 .08716 .9962 181.339 189.236)"/><rect width="68.502" height="77.252" fill="url(#d)" rx="2" transform="matrix(1 0 .08716 .9962 181.339 189.236)"/><rect width="137.89" height="105.817" fill="url(#e)" rx="10" transform="matrix(1 0 .08716 .9962 .576 169.044)"/><g opacity=".3"><path fill="#B0C6F8" fill-rule="evenodd" d="M32.915 185.888a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1h33.564a1 1 0 0 0 1-1v-4.978a1 1 0 0 0-1-1zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.048.551.535.997 1.087.997h11.475a.9.9 0 0 0 .913-.997l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm-38.813 13.156a.9.9 0 0 0-.913.996l.434 4.959c.048.55.534.996 1.087.996h33.565a.9.9 0 0 0 .912-.996l-.433-4.959a1.11 1.11 0 0 0-1.088-.996zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#CEDCFF" fill-rule="evenodd" d="M35.217 212.2a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996H69.39a.9.9 0 0 0 .912-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#1CCDB8" d="M52.915 238.875c.699-1.125 2.373-1.125 3.268 0l15.628 19.634c1.05 1.32.263 3.141-1.359 3.141h-27.82c-1.622 0-2.729-1.821-1.91-3.141z"/><path fill="#1CCDB8" d="M76.109 246.101c.698-1.124 2.373-1.124 3.268 0l9.876 12.408c1.05 1.319.262 3.141-1.36 3.141h-17.58c-1.622 0-2.728-1.822-1.909-3.141z"/><circle cx="3.072" cy="3.072" r="3.072" fill="#1CCDB8" transform="matrix(1 0 .08716 .9962 76.54 232.35)"/></g><path fill="#0D4CAC" fill-opacity=".1" fill-rule="evenodd" d="M146.013 268.054H93.459c-6.628 0-12.655-5.332-13.463-11.91l-10.694-87.1h50.164c5.523 0 10.779 4.443 11.74 9.924l14.93 85.166c.244 1.392.188 2.718-.123 3.92" clip-rule="evenodd"/><rect width="238.238" height="173.566" fill="#81ACFA" rx="12" transform="matrix(1 0 .08716 .9962 85.219 85.475)"/><rect width="237.238" height="172.566" x=".544" y=".498" fill="url(#f)" stroke="url(#g)" rx="11.5" transform="matrix(1 0 .08716 .9962 87.175 83.477)"/><path fill="url(#h)" stroke="url(#i)" d="M93.354 97.818c-.458-5.227 3.425-9.464 8.672-9.464h209.477c5.247 0 9.871 4.237 10.328 9.464l10.845 123.958a1.35 1.35 0 0 1-1.369 1.495H105.829a1.666 1.666 0 0 1-1.63-1.495z"/><path fill="#1346CB" fill-rule="evenodd" d="M101.982 87.856c-5.523 0-9.22 4.443-8.26 9.924l.756 4.315c.823-3.673 3.979-6.27 8.201-6.27H313.22c4.594 0 9.004 3.075 10.91 7.265l-.931-5.31c-.961-5.481-6.217-9.924-11.74-9.924z" clip-rule="evenodd"/><rect width="88.877" height="105.817" fill="#0D4CAC" fill-opacity=".18" rx="10" transform="matrix(1 0 .08716 .9962 263.177 76.36)"/><rect width="87.877" height="104.817" x=".544" y=".498" fill="url(#j)" stroke="#fff" rx="9.5" transform="matrix(1 0 .08716 .9962 282.133 56.363)"/><path fill="#1346CB" fill-opacity=".2" d="M122.153 131.358h17.712l1.104 4.83h-11.772l1.218 5.327h10.224l1.031 4.51h-10.224l1.226 5.363h11.772l1.104 4.83h-17.712zm27.652 5.682.471 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.498-.568q.9 0 1.749.248l.998 4.368a8.7 8.7 0 0 0-1.964-.248q-1.368 0-2.487.461-1.126.427-1.735 1.385l2.971 12.999h-5.76l-4.384-19.178zm14.696 0 .47 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.499-.568q.9 0 1.748.248l.999 4.368a8.7 8.7 0 0 0-1.965-.248q-1.368 0-2.487.461-1.126.427-1.735 1.385l2.971 12.999h-5.76l-4.383-19.178zm22.225 19.639q-3.06 0-5.684-1.243-2.589-1.242-4.368-3.516-1.788-2.308-2.502-5.433-1.097-4.795 1.056-7.352 2.151-2.556 6.903-2.557 4.716 0 8.037 2.557 3.32 2.557 4.416 7.352.714 3.125-.018 5.433-.741 2.274-2.76 3.516-2.02 1.243-5.08 1.243m-6.866-10.192q.625 2.735 2.267 4.403 1.641 1.67 3.657 1.67t2.859-1.67q.878-1.668.253-4.403-.65-2.841-2.206-4.297-1.529-1.492-3.617-1.492t-2.971 1.492q-.891 1.456-.242 4.297m27.058.631h9.224l1.764 9.139h-9.224z"/><path fill="#1346CB" fill-opacity=".2" fill-rule="evenodd" d="M131.881 180.739a.9.9 0 0 0-.912.997l.277 3.177c.049.55.535.996 1.088.996h94.957a.9.9 0 0 0 .913-.996l-.278-3.177a1.11 1.11 0 0 0-1.087-.997zm1.509 17.243a.9.9 0 0 0-.913.996l.278 3.177c.048.55.535.996 1.087.996h164.054a.9.9 0 0 0 .913-.996l-.278-3.177a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#fff" d="M128.153 122.358h17.712l1.104 4.83h-11.772l1.218 5.327h10.224l1.031 4.51h-10.224l1.226 5.363h11.772l1.104 4.83h-17.712zm27.652 5.682.471 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.498-.568q.9 0 1.749.248l.998 4.368a8.7 8.7 0 0 0-1.964-.248q-1.368 0-2.487.461-1.126.427-1.735 1.385l2.971 12.999h-5.76l-4.384-19.178zm14.696 0 .47 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.499-.568q.9 0 1.748.248l.999 4.368a8.7 8.7 0 0 0-1.965-.248q-1.368 0-2.487.461-1.126.427-1.735 1.385l2.971 12.999h-5.76l-4.383-19.178zm22.225 19.639q-3.06 0-5.684-1.243-2.589-1.242-4.368-3.516-1.788-2.308-2.502-5.433-1.097-4.795 1.056-7.352 2.151-2.556 6.903-2.557 4.716 0 8.037 2.557 3.32 2.557 4.416 7.352.714 3.125-.018 5.433-.741 2.274-2.76 3.516-2.02 1.243-5.08 1.243m-6.866-10.192q.625 2.735 2.267 4.403 1.641 1.67 3.657 1.67t2.859-1.67q.878-1.668.253-4.403-.65-2.841-2.206-4.297-1.529-1.492-3.617-1.492t-2.971 1.492q-.891 1.456-.242 4.297"/><path fill="#26FF3B" d="M212.918 138.118h9.224l1.764 9.139h-9.224z"/><path fill="#fff" fill-rule="evenodd" d="M137.881 171.739a1 1 0 0 0-1 1v3.19a1 1 0 0 0 1 1h94.958a1 1 0 0 0 1-1v-3.19a1 1 0 0 0-1-1zm1.509 17.243a.9.9 0 0 0-.913.996l.278 3.177c.048.55.535.996 1.087.996h164.054a.9.9 0 0 0 .913-.996l-.278-3.177a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd" opacity=".5"/><path fill="#B0C6F8" fill-rule="evenodd" d="M302.209 71.187a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1h33.565a1 1 0 0 0 1-1v-4.978a1 1 0 0 0-1-1zm39.965 0a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .912-.996l-.433-4.96a1.11 1.11 0 0 0-1.088-.996zM303.36 84.343a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h33.565a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996zm39.965 0a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .912-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#CEDCFF" fill-rule="evenodd" d="M304.511 97.499a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h33.565a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996zm39.965 0a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .912-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#1CCDB8" d="M322.21 124.174c.698-1.124 2.373-1.124 3.268 0l15.628 19.634c1.05 1.32.262 3.141-1.359 3.141h-27.821c-1.621 0-2.728-1.821-1.909-3.141z"/><path fill="#1CCDB8" d="M345.404 131.401c.698-1.125 2.372-1.125 3.268 0l9.875 12.407c1.051 1.32.263 3.141-1.359 3.141h-17.58c-1.622 0-2.729-1.821-1.909-3.141z"/><circle cx="3.072" cy="3.072" r="3.072" fill="#1CCDB8" transform="matrix(1 0 .08716 .9962 345.834 117.65)"/><rect width="188.629" height="45.152" x="126.136" y="162.548" stroke="#fff" stroke-dasharray="4 4" rx="3.5"/><path stroke="#fff" stroke-dasharray="4 4" d="m246.144 178.957 18.069-11.377c11.08-6.977 14.381-21.629 7.363-32.683a23.646 23.646 0 0 1 2.812-28.953l4.587-4.833"/><path fill="#fff" d="M284.371 92.95a1.56 1.56 0 0 0-1.59-.293l-15.878 6a1.54 1.54 0 0 0-1.007 1.386 1.54 1.54 0 0 0 .875 1.475l2.479 1.212a.6.6 0 0 1 .133.094c.257.663 1.275 3.263 1.727 4.202.229.478.651.814 1.041.96l-.086-.013q.114.043.234.067a1.55 1.55 0 0 0 1.413-.426l.924-.924a.524.524 0 0 1 .624-.086l3.978 2.259c.239.135.505.205.77.205a1.57 1.57 0 0 0 1.517-1.186l3.322-13.394a1.54 1.54 0 0 0-.476-1.537m-14 9.554 8.513-4.87-4.805 4.922a.8.8 0 0 0-.175.278l-.005.013c-.01.032-.96 2.834-1.522 4.101a.95.95 0 0 1-.333-.367c-.416-.874-1.386-3.348-1.673-4.077"/><defs><linearGradient id="a" x1="59.137" x2="59.137" y1="0" y2="17.809" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF3FF"/><stop offset="1" stop-color="#D4E4FF"/></linearGradient><linearGradient id="b" x1="228.813" x2="228.813" y1="-98.142" y2="338.976" gradientUnits="userSpaceOnUse"><stop stop-color="#E5EFFF"/><stop offset="1" stop-color="#F2F7FF" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="1.411" x2="66.523" y1="88.093" y2="99.442" gradientUnits="userSpaceOnUse"><stop stop-color="#3E71E2"/><stop offset="1" stop-color="#4A82E8"/></linearGradient><linearGradient id="d" x1="1.411" x2="65.952" y1="77.252" y2="90.081" gradientUnits="userSpaceOnUse"><stop stop-color="#1846AE"/><stop offset="1" stop-color="#1350BF"/></linearGradient><linearGradient id="e" x1="68.945" x2="68.945" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#E7F0FF"/><stop offset="1" stop-color="#F4F8FF"/></linearGradient><linearGradient id="f" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF3FF"/><stop offset="1" stop-color="#D4E4FF"/></linearGradient><linearGradient id="g" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="h" x1="206.721" x2="206.721" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#3D70F7"/><stop offset="1" stop-color="#7CAEFF"/></linearGradient><linearGradient id="i" x1="206.721" x2="206.721" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="j" x1="44.439" x2="44.439" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#E7F0FF"/><stop offset="1" stop-color="#F4F8FF"/></linearGradient></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 382 309" width="24" height="24" preserveAspectRatio="xMidYMid meet"><path fill="url(#a)" d="m33.005 148.18 36.78 85.112c25.18 58.267 91.725 89.125 148.315 68.777l85.675-30.806c91.652-32.954 86.59-163.719-7.961-205.65L173.359 11.307C80.633-29.813-6.988 55.635 33.005 148.18"/><rect width="118.274" height="17.809" fill="#3A4E7A" rx="4" transform="matrix(1 0 .08716 .9962 162.133 272.588)"/><rect width="118.274" height="17.809" fill="url(#b)" rx="4" transform="matrix(1 0 .08716 .9962 163.133 269.588)"/><rect width="68.502" height="88.093" fill="url(#c)" rx="2" transform="matrix(1 0 .08716 .9962 181.34 189.236)"/><rect width="68.502" height="77.252" fill="#051539" rx="2" transform="matrix(1 0 .08716 .9962 181.34 189.236)"/><rect width="137.89" height="105.817" fill="url(#d)" rx="10" transform="matrix(1 0 .08716 .9962 .576 169.044)"/><g opacity=".3"><path fill="#B0C6F8" fill-rule="evenodd" d="M32.916 185.888a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1H66.48a1 1 0 0 0 1-1v-4.978a1 1 0 0 0-1-1zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.048.551.535.997 1.087.997h11.475a.9.9 0 0 0 .913-.997l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm-38.814 13.156a.9.9 0 0 0-.912.996l.433 4.959c.049.55.535.996 1.088.996h33.564a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.965 0a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .912-.996l-.433-4.959a1.11 1.11 0 0 0-1.088-.996z" clip-rule="evenodd"/><path fill="#CEDCFF" fill-rule="evenodd" d="M35.217 212.2a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996H69.39a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.049.55.535.996 1.088.996h11.474a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#1CCDB8" d="M52.916 238.875c.698-1.125 2.373-1.125 3.268 0l15.628 19.634c1.05 1.319.262 3.141-1.36 3.141h-27.82c-1.622 0-2.728-1.822-1.909-3.141z"/><path fill="#1CCDB8" d="M76.108 246.101c.699-1.124 2.373-1.124 3.268 0l9.876 12.408c1.05 1.319.263 3.141-1.359 3.141h-17.58c-1.622 0-2.73-1.822-1.91-3.141zm3.505-13.751a3.203 2.935 42.502 1 0 .535 6.12 3.203 2.935 42.502 1 0-.535-6.12"/></g><path fill="#000F25" fill-opacity=".1" fill-rule="evenodd" d="M146.014 268.054H93.46c-6.628 0-12.655-5.332-13.463-11.91l-10.694-87.1h50.164c5.523 0 10.779 4.443 11.74 9.924l14.93 85.166c.244 1.392.188 2.718-.123 3.92" clip-rule="evenodd"/><rect width="238.238" height="173.566" fill="#3A4E7A" rx="12" transform="matrix(1 0 .08716 .9962 85.219 85.475)"/><rect width="237.238" height="172.566" x=".544" y=".498" fill="url(#e)" stroke="url(#f)" rx="11.5" transform="matrix(1 0 .08716 .9962 87.175 83.477)"/><path fill="url(#g)" stroke="url(#h)" d="M102.026 88.354h209.477c5.247 0 9.871 4.237 10.328 9.464l10.845 123.958a1.35 1.35 0 0 1-1.369 1.495H105.83a1.666 1.666 0 0 1-1.631-1.495L93.354 97.818c-.457-5.227 3.425-9.464 8.672-9.464Z"/><path fill="#071435" fill-rule="evenodd" d="M101.981 87.856c-5.522 0-9.22 4.443-8.26 9.924l.757 4.315c.822-3.673 3.978-6.27 8.201-6.27h210.54c4.595 0 9.005 3.075 10.91 7.265l-.93-5.31c-.961-5.481-6.217-9.924-11.74-9.924z" clip-rule="evenodd"/><rect width="88.877" height="105.817" fill="#02132D" fill-opacity=".5" rx="10" transform="matrix(1 0 .08716 .9962 263.178 76.36)"/><rect width="87.877" height="104.817" x=".544" y=".498" fill="url(#i)" stroke="#7384AD" rx="9.5" transform="matrix(1 0 .08716 .9962 282.134 56.363)"/><path fill="#031031" fill-opacity=".5" d="M122.154 131.358h17.712l1.104 4.83h-11.772l1.218 5.327h10.224l1.031 4.51h-10.224l1.225 5.363h11.772l1.104 4.83h-17.712zm27.652 5.682.471 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.498-.568q.9 0 1.749.248l.998 4.368a8.7 8.7 0 0 0-1.964-.248q-1.368 0-2.487.461-1.127.427-1.735 1.385l2.971 12.999h-5.76l-4.384-19.178zm14.696 0 .47 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.498-.568q.9 0 1.749.248l.999 4.368a8.7 8.7 0 0 0-1.965-.248q-1.368 0-2.487.461-1.126.427-1.735 1.385l2.971 12.999h-5.76l-4.383-19.178zm22.225 19.639q-3.06 0-5.685-1.243-2.588-1.242-4.367-3.516-1.788-2.308-2.502-5.433-1.096-4.795 1.056-7.352 2.151-2.556 6.903-2.557 4.716 0 8.037 2.557 3.32 2.557 4.416 7.352.714 3.125-.018 5.433-.74 2.274-2.761 3.516-2.019 1.243-5.079 1.243m-6.866-10.192q.625 2.735 2.266 4.403 1.642 1.67 3.658 1.67t2.858-1.67q.88-1.668.254-4.403-.65-2.841-2.206-4.297-1.53-1.492-3.617-1.492-2.089 0-2.971 1.492-.891 1.456-.242 4.297m27.057.631h9.224l1.764 9.138h-9.224z"/><path fill="#031031" fill-opacity=".5" fill-rule="evenodd" d="M131.883 180.739a.9.9 0 0 0-.913.997l.278 3.177c.048.55.535.996 1.087.996h94.958a.9.9 0 0 0 .913-.996l-.278-3.177a1.11 1.11 0 0 0-1.087-.997zm1.508 17.243a.9.9 0 0 0-.913.996l.278 3.177c.049.55.535.996 1.088.996h164.054a.9.9 0 0 0 .913-.996l-.278-3.177a1.11 1.11 0 0 0-1.088-.996z" clip-rule="evenodd"/><path fill="#fff" d="M128.154 122.358h17.712l1.104 4.83h-11.772l1.218 5.327h10.224l1.031 4.51h-10.224l1.225 5.363h11.772l1.104 4.83h-17.712zm27.652 5.682.471 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.498-.568q.9 0 1.749.248l.998 4.368a8.7 8.7 0 0 0-1.964-.248q-1.368 0-2.487.461-1.127.427-1.735 1.385l2.971 12.999h-5.76l-4.384-19.178zm14.696 0 .47 2.06a4.6 4.6 0 0 1 1.883-1.527 5.8 5.8 0 0 1 2.498-.568q.9 0 1.749.248l.999 4.368a8.7 8.7 0 0 0-1.965-.248q-1.368 0-2.487.461-1.126.427-1.735 1.385l2.971 12.999h-5.76l-4.383-19.178zm22.225 19.639q-3.06 0-5.685-1.243-2.588-1.242-4.367-3.516-1.788-2.308-2.502-5.433-1.096-4.795 1.056-7.352 2.151-2.556 6.903-2.557 4.716 0 8.037 2.557 3.32 2.557 4.416 7.352.714 3.125-.018 5.433-.74 2.274-2.761 3.516-2.019 1.243-5.079 1.243m-6.866-10.192q.625 2.735 2.266 4.403 1.642 1.67 3.658 1.67t2.858-1.67q.88-1.668.254-4.403-.65-2.841-2.206-4.297-1.53-1.492-3.617-1.492-2.089 0-2.971 1.492-.891 1.456-.242 4.297"/><path fill="#26FF3B" d="M212.918 138.118h9.224l1.764 9.138h-9.224z"/><path fill="#fff" fill-rule="evenodd" d="M137.882 171.739c-.552 0-1.039.45-1.087 1.004l-.279 3.202a.904.904 0 0 0 .912 1.004h94.958c.552 0 1.039-.45 1.087-1.004l.279-3.202a.904.904 0 0 0-.912-1.004zm0 17.308a1 1 0 0 0-1 1v3.19a1 1 0 0 0 1 1h164.054a1 1 0 0 0 1-1v-3.19a1 1 0 0 0-1-1z" clip-rule="evenodd" opacity=".5"/><path fill="#B0C6F8" fill-rule="evenodd" d="M302.209 71.187a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1h33.564a1 1 0 0 0 1-1v-4.978a1 1 0 0 0-1-1zm39.964 0a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996zm-38.814 13.156a.9.9 0 0 0-.912.996l.433 4.96c.049.55.535.996 1.088.996h33.564a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996zm39.965 0a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.088-.996z" clip-rule="evenodd"/><path fill="#CEDCFF" fill-rule="evenodd" d="M304.51 97.499a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h33.565a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996zm39.964 0a.9.9 0 0 0-.913.996l.434 4.96c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .913-.996l-.434-4.96a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#1CCDB8" d="M322.209 124.174c.698-1.124 2.372-1.124 3.268 0l15.628 19.634c1.05 1.32.262 3.141-1.36 3.141h-27.82c-1.622 0-2.728-1.821-1.909-3.141z"/><path fill="#1CCDB8" d="M345.401 131.401c.699-1.125 2.373-1.125 3.268 0l9.876 12.407c1.051 1.32.263 3.141-1.359 3.141h-17.581c-1.621 0-2.728-1.821-1.909-3.141zm3.505-13.751a3.203 2.935 42.502 1 0 .535 6.12 3.203 2.935 42.502 1 0-.535-6.12"/><rect width="188.629" height="45.152" x="126.137" y="162.548" stroke="#6571B2" stroke-dasharray="4 4" rx="3.5"/><path stroke="#6571B2" stroke-dasharray="4 4" d="m246.145 178.957 18.068-11.377c11.081-6.977 14.382-21.629 7.363-32.683a23.646 23.646 0 0 1 2.812-28.953l4.588-4.833"/><path fill="#87AAEF" d="M284.371 92.95a1.56 1.56 0 0 0-1.59-.293l-15.878 6a1.54 1.54 0 0 0-1.007 1.386 1.54 1.54 0 0 0 .874 1.475l2.48 1.212a.6.6 0 0 1 .132.094c.258.664 1.275 3.263 1.728 4.202.229.479.65.814 1.041.96l-.086-.013q.113.043.234.067a1.55 1.55 0 0 0 1.413-.426l.923-.924a.525.525 0 0 1 .625-.086l3.978 2.259a1.56 1.56 0 0 0 1.386.078c.453-.195.781-.581.901-1.059l3.322-13.394a1.54 1.54 0 0 0-.476-1.537m-14 9.554 8.513-4.87-4.805 4.922a.8.8 0 0 0-.175.279l-.005.013c-.01.031-.96 2.833-1.522 4.1a.95.95 0 0 1-.333-.367c-.416-.874-1.387-3.348-1.673-4.077"/><defs><linearGradient id="a" x1="228.813" x2="228.813" y1="-98.142" y2="338.976" gradientUnits="userSpaceOnUse"><stop stop-color="#363B42"/><stop offset="1" stop-color="#363B42" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="59.137" x2="59.137" y1="0" y2="17.809" gradientUnits="userSpaceOnUse"><stop stop-color="#7D87A1"/><stop offset="1" stop-color="#97A1BB"/></linearGradient><linearGradient id="c" x1="1.411" x2="66.523" y1="88.093" y2="99.442" gradientUnits="userSpaceOnUse"><stop stop-color="#1E3B7A"/><stop offset="1" stop-color="#153F8B"/></linearGradient><linearGradient id="d" x1="68.945" x2="68.945" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#586075"/><stop offset="1" stop-color="#65749C"/></linearGradient><linearGradient id="e" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#7D87A1"/><stop offset="1" stop-color="#97A1BB"/></linearGradient><linearGradient id="f" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#959FB9"/><stop offset="1" stop-color="#959FB9" stop-opacity="0"/></linearGradient><linearGradient id="g" x1="206.721" x2="206.721" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#0C2054"/><stop offset="1" stop-color="#113C81"/></linearGradient><linearGradient id="h" x1="206.721" x2="206.721" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#9DA8E1"/></linearGradient><linearGradient id="i" x1="44.439" x2="44.439" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#586075"/><stop offset="1" stop-color="#65749C"/></linearGradient></defs></svg>
@@ -0,0 +1,72 @@
1
+ <script setup lang="ts">
2
+ import { useSettingsStore, useTabbarStore } from '@/features/stores';
3
+
4
+ const route = useRoute();
5
+ const router = useRouter();
6
+
7
+ const settingsStore = useSettingsStore();
8
+ const tabbarStore = useTabbarStore();
9
+
10
+ const data = ref({
11
+ inter: Number.NaN,
12
+ countdown: 5,
13
+ });
14
+
15
+ onBeforeRouteLeave(() => {
16
+ if (data.value.inter) {
17
+ window.clearInterval(data.value.inter);
18
+ }
19
+ });
20
+
21
+ onMounted(() => {
22
+ if (settingsStore.settings.tabbar.enable) {
23
+ tabbarStore.remove(route.meta.activeMenu || route.fullPath);
24
+ }
25
+ data.value.inter = window.setInterval(() => {
26
+ data.value.countdown--;
27
+ if (data.value.countdown === 0) {
28
+ if (data.value.inter) {
29
+ window.clearInterval(data.value.inter);
30
+ }
31
+ goBack();
32
+ }
33
+ }, 1000);
34
+ });
35
+
36
+ function goBack() {
37
+ router.push('/');
38
+ }
39
+ </script>
40
+
41
+ <template>
42
+ <div w-full h-full class="dark:bg-[#25282D]">
43
+ <div class="absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12">
44
+ <div class="allIcon w-300px h-300px lg:w-400px lg:h-400px" />
45
+ <div class="flex flex-col gap-4">
46
+ <h1 class="m-0 text-6xl font-sans dark:text-[#C9D6EF]">
47
+ 404
48
+ </h1>
49
+ <div class="desc mx-0 text-xl text-stone-5 dark:text-[#C9D6EF]">
50
+ 抱歉,你访问的页面不存在
51
+ </div>
52
+ <div>
53
+ <HButton @click="goBack">
54
+ {{ data.countdown }} 秒后,返回首页
55
+ </HButton>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </template>
61
+
62
+ <style scoped>
63
+ .allIcon {
64
+ background: url("./assets/404.svg") no-repeat;
65
+ background-size: 100% 100%;
66
+ }
67
+
68
+ [data-theme="dark"] .allIcon {
69
+ background: url("./assets/404_dark.svg") no-repeat;
70
+ background-size: 100% 100%;
71
+ }
72
+ </style>
@@ -0,0 +1,125 @@
1
+ <script setup lang="ts">
2
+ import type { ProColumns } from '@pubinfo/pro-components';
3
+ import { SchemaForm } from '@pubinfo/pro-components';
4
+ import { isNil } from 'lodash-es';
5
+ import { getRbacUserUserEntireInfo } from '@/features/api/modules/rbac';
6
+
7
+ // TODO 解耦组件库
8
+
9
+ defineOptions({
10
+ name: 'PersonalCenter',
11
+ });
12
+
13
+ const form = ref<API.PubUserBo>({});
14
+
15
+ const sexOptions = [
16
+ { label: '未知', value: '0' },
17
+ { label: '男', value: '1' },
18
+ { label: '女', value: '2' },
19
+ ];
20
+
21
+ function renderText({ value }: any) {
22
+ return isNil(value) ? '-' : value;
23
+ }
24
+
25
+ const columns: ProColumns = [
26
+ {
27
+ render: renderText,
28
+ renderFormItem: renderText,
29
+ dataIndex: 'loginName',
30
+ title: '登录账号',
31
+ colProps: { span: 12 },
32
+ },
33
+ {
34
+ render: renderText,
35
+ valueType: 'a-input',
36
+ dataIndex: 'realName',
37
+ title: '真实姓名',
38
+ colProps: { span: 12 },
39
+ },
40
+ {
41
+ render: renderText,
42
+ valueType: 'a-input',
43
+ dataIndex: 'mobile',
44
+ title: '手机号',
45
+ colProps: { span: 12 },
46
+ },
47
+ {
48
+ render: ({ value }) => sexOptions.find(e => e.value === value)?.label,
49
+ valueType: 'a-radio-group',
50
+ dataIndex: 'sex',
51
+ title: '性别',
52
+ colProps: { span: 12 },
53
+ fieldProps: {
54
+ options: sexOptions,
55
+ },
56
+ },
57
+ {
58
+ render: renderText,
59
+ valueType: 'a-input',
60
+ dataIndex: 'email',
61
+ title: '邮箱',
62
+ colProps: { span: 12 },
63
+ },
64
+ {
65
+ render: renderText,
66
+ valueType: 'a-input',
67
+ dataIndex: 'idCard',
68
+ title: '身份证',
69
+ colProps: { span: 12 },
70
+ },
71
+ {
72
+ render: renderText,
73
+ valueType: 'a-input',
74
+ dataIndex: 'address',
75
+ title: '地址',
76
+ colProps: { span: 12 },
77
+ },
78
+ ];
79
+
80
+ const permissionColumns: ProColumns = [
81
+ {
82
+ renderFormItem: ({ value }) => value?.map((item: API.PubUserOrgBo) => item.orgName).join('、'),
83
+ dataIndex: 'userOrgList',
84
+ title: '所属组织',
85
+ },
86
+ ];
87
+
88
+ async function getCurrentUserInfo() {
89
+ const res = await getRbacUserUserEntireInfo();
90
+ if (res.success) {
91
+ form.value = res.data ?? {};
92
+ }
93
+ }
94
+
95
+ onMounted(() => {
96
+ getCurrentUserInfo();
97
+ });
98
+ </script>
99
+
100
+ <template>
101
+ <div class="relative w-full h-full py-10px px-10px overflow-hidden">
102
+ <div class="w-full h-full overflow-y-auto space-y-3">
103
+ <a-card title="个人信息" :bordered="false">
104
+ <SchemaForm
105
+ v-model="form"
106
+ :label-col="{ style: { width: '100px' } }"
107
+ :columns="columns"
108
+ readonly
109
+ grid
110
+ :submitter="false"
111
+ />
112
+ </a-card>
113
+
114
+ <a-card title="权限信息" :bordered="false">
115
+ <SchemaForm
116
+ v-model="form"
117
+ :label-col="{ style: { width: '100px' } }"
118
+ :columns="permissionColumns"
119
+ :submitter="false"
120
+ style="width: 600px;"
121
+ />
122
+ </a-card>
123
+ </div>
124
+ </div>
125
+ </template>
@@ -0,0 +1,35 @@
1
+ import type { Route } from '#/vue-router';
2
+
3
+ // #region --- 本地异步路由
4
+ interface AsyncRoutesOptions {
5
+ /** 路由排序 */
6
+ sort?: number
7
+ }
8
+
9
+ interface RawAsyncRoute extends Required<AsyncRoutesOptions> {
10
+ routes: Route.recordMainRaw[]
11
+ }
12
+
13
+ const rawAsyncRoutes: RawAsyncRoute[] = [];
14
+
15
+ /**
16
+ * 定义并注册本地异步路由
17
+ */
18
+ export function defineAsyncRoutes(routes: Route.recordMainRaw[], options?: AsyncRoutesOptions) {
19
+ rawAsyncRoutes.push({
20
+ routes,
21
+ sort: options?.sort ?? 0,
22
+ });
23
+ return routes;
24
+ }
25
+
26
+ /**
27
+ * 读取注册的本地异步路由
28
+ */
29
+ export function getAsyncRoutes() {
30
+ return rawAsyncRoutes
31
+ .sort((a, b) => a?.sort - b?.sort)
32
+ .map(e => e.routes)
33
+ .flat();
34
+ }
35
+ // #endregion
@@ -0,0 +1,2 @@
1
+ export * from './asyncRoutes';
2
+ export * from './systemRoutes';
@@ -0,0 +1,44 @@
1
+ import type { RouteRecordRaw } from 'vue-router';
2
+ import { setupDefaultLayout } from '@/core';
3
+ import { useSettingsStore } from '@/features/stores';
4
+
5
+ // #region --- 系统路由
6
+ const systemRoutes: RouteRecordRaw[] = [
7
+ {
8
+ path: '/',
9
+ meta: {
10
+ title: () => useSettingsStore().settings.home.title,
11
+ breadcrumb: false,
12
+ },
13
+ children: [
14
+ // TODO 优化掉该页面
15
+ {
16
+ path: 'profile',
17
+ name: 'Profile',
18
+ component: () => import('@/features/pages/profile/index.vue'),
19
+ meta: {
20
+ title: '个人中心',
21
+ icon: 'i-iconamoon-profile-duotone',
22
+ },
23
+ },
24
+ ],
25
+ },
26
+ ];
27
+
28
+ /**
29
+ * 定义并注册系统路由(含Layout)
30
+ */
31
+ export function defineSystemRoutes(routes: RouteRecordRaw[]) {
32
+ systemRoutes[0].children?.push(...routes);
33
+ }
34
+
35
+ /**
36
+ * 读取注册的系统路由
37
+ */
38
+ export function getSystemRoutes() {
39
+ if (!systemRoutes[0].component) {
40
+ systemRoutes[0].component = setupDefaultLayout();
41
+ }
42
+ return systemRoutes;
43
+ }
44
+ // #endregion
@@ -0,0 +1,105 @@
1
+ import type { RequiredDeep } from 'type-fest';
2
+ import { defaultsDeep } from 'lodash-es';
3
+
4
+ /** 默认配置 */
5
+ let globalSettings: RequiredDeep<Settings.all> = {
6
+ app: {
7
+ lightTheme: 'classic',
8
+ darkTheme: 'dark',
9
+ colorScheme: 'light',
10
+ defaultLang: 'zh-cn',
11
+ enablePermission: true,
12
+ enableProgress: true,
13
+ enableDynamicTitle: true,
14
+ storagePrefix: 'wsy_rbac',
15
+ // enableWatermark: false,
16
+ enableUserPreferences: true,
17
+ enableSettingPreferences: true,
18
+ enableAppSetting: true,
19
+ },
20
+ home: {
21
+ enable: false,
22
+ title: '主页',
23
+ },
24
+ layout: {
25
+ widthMode: 'adaption',
26
+ enableMobileAdaptation: false,
27
+ },
28
+ menu: {
29
+ menuMode: 'head',
30
+ isRounded: true,
31
+ menuActiveStyle: '',
32
+ switchMainMenuAndPageJump: true,
33
+ subMenuUniqueOpened: true,
34
+ subMenuOnlyOneHide: true,
35
+ subMenuCollapse: false,
36
+ enableSubMenuCollapseButton: true,
37
+ enableHotkeys: false,
38
+ showWithoutPermission: false,
39
+ },
40
+ topbar: {
41
+ mode: 'fixed',
42
+ switchTabbarAndToolbar: false,
43
+ },
44
+ tabbar: {
45
+ enable: true,
46
+ style: 'fashion',
47
+ enableIcon: true,
48
+ mergeTabsBy: 'activeMenu',
49
+ enableMemory: true,
50
+ enableHotkeys: true,
51
+ storageTo: 'local',
52
+ },
53
+ toolbar: {
54
+ enableNotification: true,
55
+ enableFullscreen: true,
56
+ enablePageReload: true,
57
+ enableColorScheme: true,
58
+ },
59
+ favorites: {
60
+ enable: true,
61
+ storageTo: 'local',
62
+ },
63
+ breadcrumb: {
64
+ enable: true,
65
+ style: '',
66
+ enableMainMenu: true,
67
+ },
68
+ mainPage: {
69
+ enableHotkeys: true,
70
+ iframeCacheMax: 3,
71
+ enableTransition: true,
72
+ transitionMode: 'fade',
73
+ },
74
+ navSearch: {
75
+ enable: true,
76
+ enableHotkeys: true,
77
+ },
78
+ copyright: {
79
+ enable: false,
80
+ dates: '2024-2025',
81
+ company: '浙江省公众信息产业有限公司',
82
+ website: '',
83
+ beian: '',
84
+ },
85
+ watermark: {
86
+ enable: false,
87
+ text: 'PUBINFO',
88
+ width: 150,
89
+ x: 0,
90
+ y: 0,
91
+ x_space: 50,
92
+ y_space: 50,
93
+ alpha: 0.1,
94
+ },
95
+ };
96
+
97
+ /** 定义配置 */
98
+ export function defineSettings(settings: Settings.all) {
99
+ globalSettings = defaultsDeep(settings, globalSettings);
100
+ return settings;
101
+ }
102
+
103
+ export function getSettings() {
104
+ return globalSettings;
105
+ };
@@ -0,0 +1,28 @@
1
+ export enum STORE_NAME {
2
+ /** @description 标签管理 */
3
+ FAVORITES = 'favorites',
4
+
5
+ /** @description iframe功能 */
6
+ IFRAME = 'iframe',
7
+
8
+ /** @description 页面缓存功能 */
9
+ KEEP_ALIVE = 'keepAlive',
10
+
11
+ /** @description 维护侧边栏 */
12
+ MENU = 'menu',
13
+
14
+ /** @description 消息通知 */
15
+ NOTIFICATION = 'notification',
16
+
17
+ /** @description 路由系统 */
18
+ ROUTE = 'route',
19
+
20
+ /** @description 系统设置 */
21
+ SETTINGS = 'settings',
22
+
23
+ /** @description tab操作栏 */
24
+ TABBAR = 'tabbar',
25
+
26
+ /** @description 用户信息 */
27
+ USER = 'user',
28
+ }
@@ -0,0 +1 @@
1
+ export * from './modules';