@pubinfo/core 2.0.0-beta.9 → 2.0.0-rc.2

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 (640) hide show
  1. package/dist/{AppSetting-BQT7OI6K.js → AppSetting-D2RJrc9O.js} +37 -39
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js → HCheckList.vue_vue_type_script_setup_true_lang-DusVz35O.js} +12 -14
  3. package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
  4. package/dist/HToggle-DMcVgMVY.js +34 -0
  5. package/dist/PreferencesContent-Dtd9rtew.js +923 -0
  6. package/dist/{SettingBreadcrumb-CgugOTgx.js → SettingBreadcrumb-QSCSviKM.js} +9 -9
  7. package/dist/{SettingCopyright-BPeCJBLi.js → SettingCopyright-Dr5P6yfq.js} +8 -8
  8. package/dist/{SettingEnableTransition-BK0_EH_N.js → SettingEnableTransition-DGiHEbCI.js} +20 -21
  9. package/dist/{SettingHome-DGnxlXLd.js → SettingHome-CEPcBlds.js} +20 -20
  10. package/dist/{SettingMenu-BqAd9zbL.js → SettingMenu-BJdjnRA6.js} +26 -26
  11. package/dist/{SettingMode-CgA3XDwW.js → SettingMode-BnuCHoEY.js} +11 -12
  12. package/dist/{SettingNavSearch-WFnkcRQ3.js → SettingNavSearch-CiU4BmlU.js} +9 -9
  13. package/dist/{SettingOther-CG4RI6mO.js → SettingOther-DTHjVlFe.js} +13 -13
  14. package/dist/SettingPage-D75_Nf05.js +29 -0
  15. package/dist/{SettingTabbar-CQA6ZT9l.js → SettingTabbar-D48dzvgA.js} +18 -18
  16. package/dist/SettingThemes-D-8vTs5n.js +142 -0
  17. package/dist/{SettingToolbar-DdR2940j.js → SettingToolbar-DjIjm9V-.js} +10 -10
  18. package/dist/{SettingTopbar-C_jYO_Ax.js → SettingTopbar-Cg30OTH3.js} +16 -16
  19. package/dist/{SettingWidthMode-ir_28SE3.js → SettingWidthMode-BKV_7kb8.js} +19 -20
  20. package/dist/{TopThinMode-jHDpKsma.js → TopThinMode-JFYsp_lJ.js} +1 -1
  21. package/dist/built-in/authentication/helper.d.ts +1 -0
  22. package/dist/built-in/authentication/index.d.ts +10 -0
  23. package/dist/built-in/authentication/interface.d.ts +7 -0
  24. package/dist/built-in/authentication/router.d.ts +2 -0
  25. package/dist/built-in/authorization/directives.d.ts +2 -0
  26. package/dist/built-in/authorization/helper.d.ts +6 -0
  27. package/dist/built-in/authorization/index.d.ts +7 -0
  28. package/dist/built-in/authorization/router.d.ts +3 -0
  29. package/dist/built-in/index.d.ts +8 -0
  30. package/dist/{layout → built-in/layout-component}/Layout.vue.d.ts +2 -2
  31. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/More.vue.d.ts +1 -1
  32. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/NotCursor.vue.d.ts +2 -0
  33. package/dist/{layout → built-in/layout-component}/components/Menu/sub.vue.d.ts +43 -43
  34. package/dist/{layout → built-in/layout-component}/components/Menu/types.d.ts +1 -1
  35. package/dist/{layout → built-in/layout-component}/components/Tools/Search.vue.d.ts +43 -43
  36. package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +27 -0
  37. package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +11 -0
  38. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue.d.ts +1 -1
  39. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue.d.ts +1 -1
  40. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue.d.ts +2 -2
  41. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue.d.ts +1 -1
  42. package/dist/{layout → built-in/layout-component}/composables/useContext.d.ts +1 -1
  43. package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +19 -0
  44. package/dist/{layout → built-in/layout-component}/composables/useHotkey.d.ts +1 -1
  45. package/dist/{layout → built-in/layout-component}/composables/useMenu.d.ts +1 -1
  46. package/dist/{layout → built-in/layout-component}/index.d.ts +5 -4
  47. package/dist/built-in/layout-component/utils/eventBus.d.ts +5 -0
  48. package/dist/built-in/layout-component/utils/index.d.ts +3 -0
  49. package/dist/{utils → built-in/layout-component/utils}/watermark.d.ts +1 -1
  50. package/dist/built-in/locales/helpler.d.ts +594 -0
  51. package/dist/built-in/locales/index.d.ts +5 -0
  52. package/dist/built-in/n-progress/index.d.ts +6 -0
  53. package/dist/built-in/pinia-plugin/enum.d.ts +1 -0
  54. package/dist/built-in/pinia-plugin/index.d.ts +5 -0
  55. package/dist/built-in/pinia-plugin/plugins/persist.d.ts +3 -0
  56. package/dist/built-in/pre-access/index.d.ts +7 -0
  57. package/dist/built-in/settings/index.d.ts +5 -0
  58. package/dist/built-in/settings/router.d.ts +3 -0
  59. package/dist/{colors-gu4NABiz.js → colors-CODcBxrF.js} +1 -1
  60. package/dist/core/create.d.ts +2 -0
  61. package/dist/core/ctx.d.ts +1 -0
  62. package/dist/core/index.d.ts +4 -0
  63. package/dist/core/interface.d.ts +74 -0
  64. package/dist/{modules.d.ts → core/modules.d.ts} +9 -0
  65. package/dist/{api/index.d.ts → core/request.d.ts} +2 -4
  66. package/dist/core/resolver/icon.d.ts +5 -0
  67. package/dist/core/resolver/index.d.ts +4 -0
  68. package/dist/core/resolver/layout.d.ts +2 -0
  69. package/dist/core/resolver/page.d.ts +17 -0
  70. package/dist/core/resolver/resolver.d.ts +10 -0
  71. package/dist/{api → features/api}/modules/auth/renzhengfuwu.d.ts +7 -0
  72. package/dist/{api → features/api}/modules/configData/index.d.ts +1 -1
  73. package/dist/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -0
  74. package/dist/{api → features/api}/modules/rbac/ziyuanjiekou.d.ts +7 -0
  75. package/dist/features/api/request.d.ts +2 -0
  76. package/dist/{assets → features/assets}/styles/index.d.ts +2 -3
  77. package/dist/{composables → features/composables}/auth.d.ts +1 -1
  78. package/dist/features/context/index.d.ts +12 -0
  79. package/dist/features/enum.d.ts +21 -0
  80. package/dist/features/index.d.ts +7 -0
  81. package/dist/features/router/asyncRoutes.d.ts +14 -0
  82. package/dist/features/router/index.d.ts +2 -0
  83. package/dist/features/router/systemRoutes.d.ts +9 -0
  84. package/dist/features/stores/index.d.ts +1 -0
  85. package/dist/{stores → features/stores}/modules/favorites.d.ts +2 -2
  86. package/dist/{stores → features/stores}/modules/route.d.ts +6 -6
  87. package/dist/{stores → features/stores}/modules/tabbar.d.ts +1 -1
  88. package/dist/features/stores/modules/user.d.ts +36 -0
  89. package/dist/features/stores/utils/crypto.d.ts +1 -0
  90. package/dist/features/stores/utils/index.d.ts +2 -0
  91. package/dist/features/stores/utils/routerHelper.d.ts +17 -0
  92. package/dist/index-BAoB7aoj.js +49 -0
  93. package/dist/{reload-CUcPYtl7.js → index-BD2fkZis.js} +5 -5
  94. package/dist/index-BROqFYXS.js +44 -0
  95. package/dist/{index-CjsnFBwd.js → index-BVLkBCRY.js} +7733 -8240
  96. package/dist/index-D4_xmL_A.js +258 -0
  97. package/dist/index-DQn1WFMa.js +139 -0
  98. package/dist/{index-CWIfG62O.js → index-DmcblkoZ.js} +1804 -1897
  99. package/dist/{index-NpS61xSA.js → index-DvJr0paY.js} +54 -54
  100. package/dist/index-Jd3PYkpj.js +52561 -0
  101. package/dist/index-RT-QBzm0.js +234 -0
  102. package/dist/index.d.ts +23 -11
  103. package/dist/index.js +59 -72
  104. package/dist/pick-BLJM77QN.js +12 -0
  105. package/dist/style.css +3 -3
  106. package/dist/utils/index.d.ts +4 -13
  107. package/dist/utils/path.d.ts +1 -0
  108. package/dist/utils/proxy.d.ts +1 -0
  109. package/dist/utils/storage.d.ts +1 -2
  110. package/package.json +41 -43
  111. package/src/built-in/authentication/helper.ts +55 -0
  112. package/src/built-in/authentication/index.ts +42 -0
  113. package/src/built-in/authentication/interface.ts +7 -0
  114. package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -0
  115. package/src/{pages/system → built-in/authentication/pages}/change-organization/index.vue +29 -43
  116. package/src/built-in/authentication/pages/change-password/assets/login-small.png +0 -0
  117. package/src/built-in/authentication/pages/change-password/assets/login-small_dark.webp +0 -0
  118. package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -0
  119. package/src/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue +1 -1
  120. package/src/{pages/system → built-in/authentication/pages}/change-password/index.vue +19 -36
  121. package/src/built-in/authentication/router.ts +57 -0
  122. package/src/{directives/plugins/permission.ts → built-in/authorization/directives.ts} +6 -7
  123. package/src/built-in/authorization/helper.ts +11 -0
  124. package/src/built-in/authorization/index.ts +25 -0
  125. package/src/built-in/authorization/pages/not-permission/403.svg +1 -0
  126. package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -0
  127. package/src/{pages/system → built-in/authorization/pages}/not-permission/index.vue +9 -13
  128. package/src/{route/guard/auth.ts → built-in/authorization/router.ts} +39 -9
  129. package/src/built-in/index.ts +8 -0
  130. package/src/built-in/layout-component/Layout.vue +273 -0
  131. package/src/built-in/layout-component/assets/icons/favorites.svg +1 -0
  132. package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -0
  133. package/src/{layout → built-in/layout-component}/components/Content/IframeView.vue +1 -2
  134. package/src/{layout → built-in/layout-component}/components/Content/LinkView.vue +2 -2
  135. package/src/built-in/layout-component/components/Content/index.vue +146 -0
  136. package/src/{layout → built-in/layout-component}/components/Copyright/index.vue +7 -8
  137. package/src/{layout → built-in/layout-component}/components/Header/TopMode/More.vue +26 -34
  138. package/src/built-in/layout-component/components/Header/TopMode/NotCursor.vue +70 -0
  139. package/src/{layout → built-in/layout-component}/components/Header/TopMode/index.vue +14 -18
  140. package/src/built-in/layout-component/components/Header/index.vue +171 -0
  141. package/src/{layout → built-in/layout-component}/components/Logo/index.vue +5 -20
  142. package/src/{layout → built-in/layout-component}/components/Menu/index.vue +3 -3
  143. package/src/{layout → built-in/layout-component}/components/Menu/item.vue +22 -27
  144. package/src/{layout → built-in/layout-component}/components/Menu/types.ts +1 -1
  145. package/src/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue +11 -11
  146. package/src/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue +26 -120
  147. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +190 -0
  148. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +154 -0
  149. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue +55 -90
  150. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue +63 -71
  151. package/src/built-in/layout-component/components/SettingBar/index.vue +81 -0
  152. package/src/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue +87 -135
  153. package/src/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue +50 -59
  154. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +15 -0
  155. package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +70 -0
  156. package/src/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue +214 -278
  157. package/src/{layout → built-in/layout-component}/components/Tools/Search.vue +15 -9
  158. package/src/{layout → built-in/layout-component}/components/Tools/index.vue +16 -20
  159. package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/MoreAction.vue +102 -148
  160. package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue +293 -405
  161. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue +5 -5
  162. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/index.vue +72 -67
  163. package/src/{layout → built-in/layout-component}/components/Topbar/index.vue +16 -19
  164. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue +1 -1
  165. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue +1 -1
  166. package/src/built-in/layout-component/components/ui/HDivider.vue +24 -0
  167. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue +1 -1
  168. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue +1 -1
  169. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue +1 -1
  170. package/src/built-in/layout-component/components/ui/HToggle.vue +133 -0
  171. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue +1 -1
  172. package/src/{layout → built-in/layout-component}/composables/useContext.ts +2 -2
  173. package/src/{layout → built-in/layout-component}/composables/useGetComputedStyle.ts +1 -1
  174. package/src/built-in/layout-component/composables/useGlobalSearch.ts +48 -0
  175. package/src/{layout → built-in/layout-component}/composables/useHotkey.ts +1 -1
  176. package/src/{layout → built-in/layout-component}/composables/useMainPage.ts +2 -2
  177. package/src/{layout → built-in/layout-component}/composables/useMenu.ts +1 -1
  178. package/src/{layout → built-in/layout-component}/composables/useTabbar.ts +1 -1
  179. package/src/{layout → built-in/layout-component}/composables/useTitle.ts +1 -1
  180. package/src/{layout → built-in/layout-component}/composables/useWatermark.ts +4 -4
  181. package/src/{layout → built-in/layout-component}/index.ts +38 -16
  182. package/src/{layout → built-in/layout-component}/provider.ts +8 -2
  183. package/src/built-in/layout-component/utils/eventBus.ts +8 -0
  184. package/src/built-in/layout-component/utils/index.ts +3 -0
  185. package/src/{utils → built-in/layout-component/utils}/watermark.ts +2 -2
  186. package/src/{locales/index.ts → built-in/locales/helpler.ts} +13 -17
  187. package/src/built-in/locales/index.ts +20 -0
  188. package/src/built-in/n-progress/index.ts +31 -0
  189. package/src/built-in/n-progress/nprogress.css +68 -0
  190. package/src/built-in/pinia-plugin/enum.ts +1 -0
  191. package/src/{stores → built-in/pinia-plugin}/helper.ts +3 -3
  192. package/src/built-in/pinia-plugin/index.ts +27 -0
  193. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.ts +1 -1
  194. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.ts +6 -7
  195. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.ts +3 -3
  196. package/src/built-in/pinia-plugin/plugins/persist.ts +21 -0
  197. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.ts +7 -8
  198. package/src/built-in/pre-access/index.ts +20 -0
  199. package/src/built-in/settings/index.ts +15 -0
  200. package/src/{route/guard/setting.ts → built-in/settings/router.ts} +3 -2
  201. package/src/core/create.ts +70 -0
  202. package/src/core/ctx.ts +3 -0
  203. package/src/core/index.ts +4 -0
  204. package/src/core/interface.ts +89 -0
  205. package/src/{modules.ts → core/modules.ts} +19 -5
  206. package/src/core/request.ts +52 -0
  207. package/src/core/resolver/icon.ts +75 -0
  208. package/src/core/resolver/index.ts +4 -0
  209. package/src/core/resolver/layout.ts +23 -0
  210. package/src/core/resolver/page.ts +89 -0
  211. package/src/core/resolver/resolver.ts +25 -0
  212. package/src/{api → features/api}/modules/auth/renzhengfuwu.ts +47 -15
  213. package/src/{api → features/api}/modules/auth/typings.d.ts +34 -28
  214. package/src/{api → features/api}/modules/configData/heibaimingdanfuwu.ts +13 -4
  215. package/src/{api → features/api}/modules/configData/index.ts +1 -1
  216. package/src/{api → features/api}/modules/configData/typings.d.ts +79 -79
  217. package/src/{api → features/api}/modules/configData/xitongpeizhifuwu.ts +43 -19
  218. package/src/{api/modules/configData/zidianfuwu.ts → features/api/modules/configData/zidifuwu.ts} +41 -11
  219. package/src/{api → features/api}/modules/rbac/gangweijiekou.ts +25 -10
  220. package/src/{api → features/api}/modules/rbac/jiaosejiekou.ts +25 -10
  221. package/src/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.ts +46 -7
  222. package/src/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +27 -13
  223. package/src/{api → features/api}/modules/rbac/typings.d.ts +323 -304
  224. package/src/{api → features/api}/modules/rbac/yonghujiekou.ts +49 -16
  225. package/src/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.ts +21 -6
  226. package/src/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +13 -4
  227. package/src/{api → features/api}/modules/rbac/ziyuanjiekou.ts +44 -5
  228. package/src/{api → features/api}/modules/rbac/zuhuguanlijiekou.ts +21 -12
  229. package/src/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +13 -4
  230. package/src/{api → features/api}/modules/rbac/zuzhijiekou.ts +29 -11
  231. package/src/features/api/request.ts +5 -0
  232. package/src/{api → features/api}/system/user.ts +1 -1
  233. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.svg +131 -133
  234. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.svg +130 -132
  235. package/src/{assets → features/assets}/images/org.svg +2 -2
  236. package/src/features/assets/styles/globals.css +188 -0
  237. package/src/{assets → features/assets}/styles/index.ts +2 -3
  238. package/src/features/assets/styles/rbac.css +51 -0
  239. package/src/features/assets/styles/resources/utils.css +53 -0
  240. package/src/features/assets/styles/resources/variables.css +5 -0
  241. package/src/features/components/MicroAppContainer/index.vue +9 -0
  242. package/src/features/components/NotAllowed/assets/403.svg +1 -0
  243. package/src/features/components/NotAllowed/assets/403_dark.svg +1 -0
  244. package/src/{components → features/components}/NotAllowed/index.vue +6 -8
  245. package/src/{components → features/components}/PassStrengthValidator/index.vue +33 -48
  246. package/src/{components → features/components}/PassStrengthValidator/rule.vue +13 -25
  247. package/src/{components → features/components}/PubinfoApp/index.vue +2 -1
  248. package/src/features/components/PubinfoIcon/index.vue +140 -0
  249. package/src/{components → features/components}/PubinfoProvider/index.ts +1 -2
  250. package/src/{composables → features/composables}/auth.ts +2 -2
  251. package/src/{composables → features/composables}/theme.ts +1 -1
  252. package/src/{composables → features/composables}/watchDiff.ts +1 -1
  253. package/src/features/context/index.ts +40 -0
  254. package/src/features/enum.ts +21 -0
  255. package/src/features/index.ts +8 -0
  256. package/src/features/pages/not-found/assets/404.svg +1 -0
  257. package/src/features/pages/not-found/assets/404_dark.svg +1 -0
  258. package/src/{pages/system/[...all].vue → features/pages/not-found/index.vue} +6 -8
  259. package/src/{pages/personal → features/pages}/profile/index.vue +1 -1
  260. package/src/features/router/asyncRoutes.ts +35 -0
  261. package/src/features/router/index.ts +2 -0
  262. package/src/features/router/systemRoutes.ts +45 -0
  263. package/src/{config/settings.ts → features/settings/index.ts} +0 -1
  264. package/src/{stores/enum/index.ts → features/stores/enum.ts} +0 -1
  265. package/src/features/stores/index.ts +1 -0
  266. package/src/{stores → features/stores}/modules/keepAlive.ts +1 -0
  267. package/src/{stores → features/stores}/modules/menu.ts +44 -6
  268. package/src/{stores → features/stores}/modules/route.ts +89 -65
  269. package/src/{stores → features/stores}/modules/settings.ts +27 -10
  270. package/src/{stores → features/stores}/modules/tabbar.ts +8 -5
  271. package/src/{stores → features/stores}/modules/user.ts +60 -25
  272. package/src/{utils → features/stores/utils}/crypto.ts +7 -10
  273. package/src/features/stores/utils/index.ts +2 -0
  274. package/src/features/stores/utils/routerHelper.ts +221 -0
  275. package/src/index.ts +117 -12
  276. package/src/utils/cleanup.ts +1 -1
  277. package/src/utils/index.ts +4 -43
  278. package/src/utils/path.ts +5 -0
  279. package/src/utils/proxy.ts +36 -0
  280. package/src/utils/storage.ts +2 -4
  281. package/types/auto-imports.d.ts +3 -10
  282. package/types/components.d.ts +16 -15
  283. package/types/menu.d.ts +2 -0
  284. package/types/module.d.ts +2 -15
  285. package/types/settings.d.ts +0 -8
  286. package/types/tabbar.d.ts +1 -0
  287. package/types/vue-router.d.ts +11 -7
  288. package/dist/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -25
  289. package/dist/HDivider-DgXBhPr0.js +0 -21
  290. package/dist/HToggle-Cd71WKvG.js +0 -34
  291. package/dist/PreferencesContent-MR1Db7z7.js +0 -972
  292. package/dist/SettingPage-C1CT1Mm8.js +0 -29
  293. package/dist/SettingThemes-BJu9czNK.js +0 -144
  294. package/dist/_...all_-18BnHmEa.js +0 -52
  295. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  296. package/dist/api/helper.d.ts +0 -32
  297. package/dist/api/interface.d.ts +0 -14
  298. package/dist/api/request.d.ts +0 -2
  299. package/dist/api/system/app.d.ts +0 -17
  300. package/dist/config/index.d.ts +0 -1
  301. package/dist/context.d.ts +0 -14
  302. package/dist/create.d.ts +0 -3
  303. package/dist/directives/index.d.ts +0 -4
  304. package/dist/directives/plugins/permission.d.ts +0 -6
  305. package/dist/index-C1p_tY7i.js +0 -49
  306. package/dist/index-CCPTQYuB.js +0 -12910
  307. package/dist/index-CNUEMTao.js +0 -354
  308. package/dist/index-CmXo8ShY.js +0 -276
  309. package/dist/index-DL8Y7jFG.js +0 -137
  310. package/dist/index-DTQQt_XY.js +0 -10
  311. package/dist/index-Dj8zy7hH.js +0 -230
  312. package/dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js +0 -2300
  313. package/dist/interface.d.ts +0 -29
  314. package/dist/layout/components/Tools/index.vue.d.ts +0 -233
  315. package/dist/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  316. package/dist/locales/index.d.ts +0 -301
  317. package/dist/menu-CLiZ1BO_.js +0 -15315
  318. package/dist/pick-C9bU8_xv.js +0 -19
  319. package/dist/request.js +0 -1811
  320. package/dist/route/async.d.ts +0 -9
  321. package/dist/route/guard/auth.d.ts +0 -3
  322. package/dist/route/guard/basic.d.ts +0 -3
  323. package/dist/route/guard/index.d.ts +0 -3
  324. package/dist/route/guard/setting.d.ts +0 -3
  325. package/dist/route/index.d.ts +0 -7
  326. package/dist/route/routes.d.ts +0 -3
  327. package/dist/stores/index.d.ts +0 -5
  328. package/dist/stores/modules/user.d.ts +0 -4
  329. package/dist/stores/plugin/persist.d.ts +0 -5
  330. package/dist/stores/plugin/sideEffect/index.d.ts +0 -5
  331. package/dist/utils/crypto.d.ts +0 -4
  332. package/dist/utils/eventBus.d.ts +0 -5
  333. package/src/api/helper.ts +0 -64
  334. package/src/api/index.ts +0 -75
  335. package/src/api/interface.ts +0 -15
  336. package/src/api/request.ts +0 -4
  337. package/src/api/system/app.ts +0 -28
  338. package/src/assets/icons/403.svg +0 -1
  339. package/src/assets/icons/403_dark.svg +0 -1
  340. package/src/assets/icons/404.svg +0 -1
  341. package/src/assets/icons/404_dark.svg +0 -1
  342. package/src/assets/icons/add-child.svg +0 -1
  343. package/src/assets/icons/authority.svg +0 -1
  344. package/src/assets/icons/authorize.svg +0 -1
  345. package/src/assets/icons/blacklist-disable.svg +0 -1
  346. package/src/assets/icons/blacklist-enable.svg +0 -1
  347. package/src/assets/icons/browser-360.svg +0 -1
  348. package/src/assets/icons/browser-chrome.svg +0 -1
  349. package/src/assets/icons/browser-edge.svg +0 -1
  350. package/src/assets/icons/browser-ie.svg +0 -1
  351. package/src/assets/icons/browser-other.svg +0 -1
  352. package/src/assets/icons/browser-qq.svg +0 -1
  353. package/src/assets/icons/browser-safari.svg +0 -1
  354. package/src/assets/icons/browser-uc.svg +0 -1
  355. package/src/assets/icons/change-org.svg +0 -1
  356. package/src/assets/icons/edit.svg +0 -1
  357. package/src/assets/icons/empty-data.svg +0 -1
  358. package/src/assets/icons/favorites.svg +0 -1
  359. package/src/assets/icons/icard.svg +0 -1
  360. package/src/assets/icons/icon_animation.svg +0 -1
  361. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  362. package/src/assets/icons/icon_copyright.svg +0 -1
  363. package/src/assets/icons/icon_jt.svg +0 -1
  364. package/src/assets/icons/icon_layout.svg +0 -1
  365. package/src/assets/icons/icon_mainpage.svg +0 -1
  366. package/src/assets/icons/icon_menu.svg +0 -1
  367. package/src/assets/icons/icon_page_size.svg +0 -1
  368. package/src/assets/icons/icon_position_type.svg +0 -1
  369. package/src/assets/icons/icon_safe_manage.svg +0 -1
  370. package/src/assets/icons/icon_screen_scale.svg +0 -6
  371. package/src/assets/icons/icon_system_manage.svg +0 -1
  372. package/src/assets/icons/icon_tabbar.svg +0 -1
  373. package/src/assets/icons/icon_toolbar.svg +0 -1
  374. package/src/assets/icons/icon_topbar.svg +0 -1
  375. package/src/assets/icons/icon_watermark.svg +0 -1
  376. package/src/assets/icons/image-load-fail.svg +0 -1
  377. package/src/assets/icons/log-center.svg +0 -1
  378. package/src/assets/icons/logo-sig.svg +0 -1
  379. package/src/assets/icons/mima.svg +0 -1
  380. package/src/assets/icons/not-data.svg +0 -1
  381. package/src/assets/icons/org-main.svg +0 -1
  382. package/src/assets/icons/org-unmain.svg +0 -1
  383. package/src/assets/icons/process-management.svg +0 -1
  384. package/src/assets/icons/project-management.svg +0 -1
  385. package/src/assets/icons/rbac.svg +0 -1
  386. package/src/assets/icons/remove.svg +0 -1
  387. package/src/assets/icons/resource-app.svg +0 -1
  388. package/src/assets/icons/resource-btn.svg +0 -1
  389. package/src/assets/icons/resource-index.svg +0 -1
  390. package/src/assets/icons/resource-menu.svg +0 -1
  391. package/src/assets/icons/resource-nonmenu.svg +0 -1
  392. package/src/assets/icons/setting-manage.svg +0 -1
  393. package/src/assets/icons/test.svg +0 -1
  394. package/src/assets/icons/theme-check-mark.svg +0 -1
  395. package/src/assets/icons/theme-title.svg +0 -1
  396. package/src/assets/icons/toolbar-collapse.svg +0 -1
  397. package/src/assets/icons/tree_icon.svg +0 -1
  398. package/src/assets/icons/tree_icon_checked.svg +0 -1
  399. package/src/assets/icons/view.svg +0 -1
  400. package/src/assets/icons/workbench.svg +0 -1
  401. package/src/assets/icons/zddata.svg +0 -1
  402. package/src/assets/icons/zy_checked.svg +0 -1
  403. package/src/assets/icons/zy_default.svg +0 -1
  404. package/src/assets/images/layout/item1.webp +0 -0
  405. package/src/assets/images/layout/item1_dark.webp +0 -0
  406. package/src/assets/images/layout/item2.webp +0 -0
  407. package/src/assets/images/layout/item2_dark.webp +0 -0
  408. package/src/assets/images/layout/item3.webp +0 -0
  409. package/src/assets/images/layout/item3_dark.webp +0 -0
  410. package/src/assets/images/layout/item4.webp +0 -0
  411. package/src/assets/images/layout/item4_dark.webp +0 -0
  412. package/src/assets/images/layout/item5.webp +0 -0
  413. package/src/assets/images/layout/item5_dark.webp +0 -0
  414. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  415. package/src/assets/images/page-width/auto.webp +0 -0
  416. package/src/assets/images/page-width/auto_dark.webp +0 -0
  417. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  418. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  419. package/src/assets/images/page-width/icon_auto.webp +0 -0
  420. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  421. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  422. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  423. package/src/assets/images/page-width/icon_middle.webp +0 -0
  424. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  425. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  426. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  427. package/src/assets/images/page-width/middle.webp +0 -0
  428. package/src/assets/images/page-width/middle_dark.webp +0 -0
  429. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  430. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  431. package/src/assets/styles/globals.scss +0 -189
  432. package/src/assets/styles/nprogress.scss +0 -63
  433. package/src/assets/styles/rbac.scss +0 -61
  434. package/src/assets/styles/resources/utils.scss +0 -53
  435. package/src/assets/styles/resources/variables.scss +0 -6
  436. package/src/components/PubinfoIcon/index.vue +0 -85
  437. package/src/config/index.ts +0 -1
  438. package/src/context.ts +0 -30
  439. package/src/create.ts +0 -88
  440. package/src/directives/index.ts +0 -6
  441. package/src/interface.ts +0 -35
  442. package/src/layout/Layout.vue +0 -330
  443. package/src/layout/components/Content/index.vue +0 -100
  444. package/src/layout/components/Header/TopMode/NotCursor.vue +0 -77
  445. package/src/layout/components/Header/index.vue +0 -263
  446. package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +0 -215
  447. package/src/layout/components/SettingBar/components/SettingMode.vue +0 -164
  448. package/src/layout/components/SettingBar/index.vue +0 -112
  449. package/src/layout/components/Tools/Breadcrumb/index.vue +0 -21
  450. package/src/layout/components/Tools/DayNightSwitch.vue +0 -93
  451. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  452. package/src/layout/ui-kit/HDivider.vue +0 -53
  453. package/src/layout/ui-kit/HToggle.vue +0 -177
  454. package/src/pages/system/change-password/page.vue +0 -58
  455. package/src/pages/system/index.vue +0 -5
  456. package/src/route/async.ts +0 -18
  457. package/src/route/guard/basic.ts +0 -23
  458. package/src/route/guard/index.ts +0 -3
  459. package/src/route/index.ts +0 -12
  460. package/src/route/routes.ts +0 -101
  461. package/src/stores/index.ts +0 -10
  462. package/src/stores/plugin/persist.ts +0 -27
  463. package/src/stores/plugin/sideEffect/index.ts +0 -15
  464. package/src/utils/eventBus.ts +0 -15
  465. package/dist/{api/enum/code.d.ts → built-in/authentication/enum.d.ts} +0 -0
  466. package/dist/{components/NotAllowed → built-in/authentication/pages/change-organization}/index.vue.d.ts +0 -0
  467. package/dist/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  468. package/dist/{pages/system → built-in/authentication/pages}/change-password/index.vue.d.ts +0 -0
  469. package/dist/{layout/components/Topbar/Toolbar → built-in/authorization/pages/not-permission}/index.vue.d.ts +0 -0
  470. package/dist/{components/PubinfoApp → built-in/layout-component/components/BackTop}/index.vue.d.ts +0 -0
  471. package/dist/{layout → built-in/layout-component}/components/Content/IframeView.vue.d.ts +0 -0
  472. package/dist/{layout → built-in/layout-component}/components/Content/LinkView.vue.d.ts +0 -0
  473. package/dist/{layout/components/BackTop → built-in/layout-component/components/Content}/index.vue.d.ts +0 -0
  474. package/dist/{layout/components/Content → built-in/layout-component/components/Copyright}/index.vue.d.ts +0 -0
  475. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/index.vue.d.ts +0 -0
  476. package/dist/{layout → built-in/layout-component}/components/Header/TopThinMode.vue.d.ts +0 -0
  477. package/dist/{layout → built-in/layout-component}/components/Header/index.vue.d.ts +0 -0
  478. package/dist/{layout → built-in/layout-component}/components/Logo/index.vue.d.ts +0 -0
  479. package/dist/{layout → built-in/layout-component}/components/Menu/index.vue.d.ts +0 -0
  480. package/dist/{layout → built-in/layout-component}/components/Menu/item.vue.d.ts +0 -0
  481. package/dist/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue.d.ts +0 -0
  482. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  483. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  484. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  485. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  486. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  487. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  488. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  489. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  490. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  491. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  492. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  493. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  494. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  495. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  496. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  497. package/dist/{layout/components/Copyright → built-in/layout-component/components/SettingBar}/index.vue.d.ts +0 -0
  498. package/dist/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  499. package/dist/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  500. package/dist/{layout/components/SettingBar → built-in/layout-component/components/Sidebar}/index.vue.d.ts +0 -0
  501. package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  502. package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  503. package/dist/{layout → built-in/layout-component}/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  504. package/dist/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  505. package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  506. package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue.d.ts +0 -0
  507. package/dist/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  508. package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  509. package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  510. package/dist/{layout/components/Topbar → built-in/layout-component/components/Topbar/Toolbar}/index.vue.d.ts +0 -0
  511. package/dist/{pages/personal/profile → built-in/layout-component/components/Topbar}/index.vue.d.ts +0 -0
  512. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue.d.ts +0 -0
  513. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue.d.ts +1 -1
  514. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue.d.ts +2 -2
  515. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDivider.vue.d.ts +0 -0
  516. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue.d.ts +0 -0
  517. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue.d.ts +0 -0
  518. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue.d.ts +0 -0
  519. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue.d.ts +0 -0
  520. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue.d.ts +0 -0
  521. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue.d.ts +0 -0
  522. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HToggle.vue.d.ts +0 -0
  523. package/dist/{layout → built-in/layout-component}/composables/useGetComputedStyle.d.ts +0 -0
  524. package/dist/{layout → built-in/layout-component}/composables/useMainPage.d.ts +0 -0
  525. package/dist/{layout → built-in/layout-component}/composables/useTabbar.d.ts +0 -0
  526. package/dist/{layout → built-in/layout-component}/composables/useTitle.d.ts +0 -0
  527. package/dist/{layout → built-in/layout-component}/composables/useViewTransition.d.ts +0 -0
  528. package/dist/{layout → built-in/layout-component}/composables/useWatermark.d.ts +0 -0
  529. package/dist/{pages/system/change-organization → built-in/layout-component/pages/reload}/index.vue.d.ts +0 -0
  530. package/dist/{layout → built-in/layout-component}/provider.d.ts +0 -0
  531. package/dist/{utils → built-in/layout-component/utils}/injectionKeys.d.ts +0 -0
  532. package/dist/{locales → built-in/locales}/lang/en.json.d.ts +0 -0
  533. package/dist/{locales → built-in/locales}/lang/zh-cn.json.d.ts +0 -0
  534. package/dist/{locales → built-in/locales}/lang/zh-tw.json.d.ts +0 -0
  535. package/dist/{locales → built-in/locales}/ui.d.ts +0 -0
  536. package/dist/{stores → built-in/pinia-plugin}/helper.d.ts +0 -0
  537. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.d.ts +0 -0
  538. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.d.ts +0 -0
  539. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.d.ts +0 -0
  540. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.d.ts +0 -0
  541. package/dist/{utils → core}/utils.d.ts +0 -0
  542. package/dist/{api → features/api}/modules/auth/index.d.ts +0 -0
  543. package/dist/{api → features/api}/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  544. package/dist/{api → features/api}/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  545. package/dist/{api/modules/configData/zidianfuwu.d.ts → features/api/modules/configData/zidifuwu.d.ts} +0 -0
  546. package/dist/{api → features/api}/modules/rbac/gangweijiekou.d.ts +0 -0
  547. package/dist/{api → features/api}/modules/rbac/index.d.ts +0 -0
  548. package/dist/{api → features/api}/modules/rbac/jiaosejiekou.d.ts +0 -0
  549. package/dist/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  550. package/dist/{api → features/api}/modules/rbac/yonghujiekou.d.ts +0 -0
  551. package/dist/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  552. package/dist/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  553. package/dist/{api → features/api}/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  554. package/dist/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  555. package/dist/{api → features/api}/modules/rbac/zuzhijiekou.d.ts +0 -0
  556. package/dist/{api → features/api}/system/user.d.ts +0 -0
  557. package/dist/{pages/system → features/components/MicroAppContainer}/index.vue.d.ts +0 -0
  558. package/dist/{pages/system/not-permission → features/components/NotAllowed}/index.vue.d.ts +0 -0
  559. package/dist/{components → features/components}/PageHeader/index.vue.d.ts +0 -0
  560. package/dist/{components → features/components}/PageMain/index.vue.d.ts +0 -0
  561. package/dist/{components → features/components}/PassStrengthValidator/index.vue.d.ts +2 -2
  562. package/dist/{components → features/components}/PassStrengthValidator/rule.vue.d.ts +0 -0
  563. package/dist/{layout/components/Sidebar → features/components/PubinfoApp}/index.vue.d.ts +0 -0
  564. package/dist/{components → features/components}/PubinfoIcon/index.vue.d.ts +0 -0
  565. package/dist/{components → features/components}/PubinfoProvider/index.d.ts +0 -0
  566. package/dist/{components → features/components}/index.d.ts +0 -0
  567. package/dist/{composables → features/composables}/index.d.ts +0 -0
  568. package/dist/{composables → features/composables}/log.d.ts +0 -0
  569. package/dist/{composables → features/composables}/theme.d.ts +0 -0
  570. package/dist/{composables → features/composables}/watchDiff.d.ts +0 -0
  571. package/dist/{pages/system/[...all].vue.d.ts → features/pages/not-found/index.vue.d.ts} +0 -0
  572. package/dist/{pages/system/reload.vue.d.ts → features/pages/profile/index.vue.d.ts} +0 -0
  573. package/dist/{config/settings.d.ts → features/settings/index.d.ts} +0 -0
  574. package/dist/{stores/enum/index.d.ts → features/stores/enum.d.ts} +0 -0
  575. package/dist/{stores → features/stores}/modules/iframe.d.ts +0 -0
  576. package/dist/{stores → features/stores}/modules/index.d.ts +0 -0
  577. package/dist/{stores → features/stores}/modules/keepAlive.d.ts +0 -0
  578. package/dist/{stores → features/stores}/modules/menu.d.ts +0 -0
  579. package/dist/{stores → features/stores}/modules/settings.d.ts +0 -0
  580. package/src/{api/enum/code.ts → built-in/authentication/enum.ts} +0 -0
  581. package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small.png +0 -0
  582. package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small_dark.webp +0 -0
  583. package/src/{assets → built-in/layout-component/assets}/images/not-cursor.png +0 -0
  584. package/src/{layout → built-in/layout-component}/components/BackTop/index.vue +0 -0
  585. package/src/{layout → built-in/layout-component}/components/Header/TopThinMode.vue +0 -0
  586. package/src/{layout → built-in/layout-component}/components/Menu/sub.vue +0 -0
  587. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue +0 -0
  588. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue +0 -0
  589. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue +0 -0
  590. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue +0 -0
  591. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue +0 -0
  592. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue +0 -0
  593. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue +0 -0
  594. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue +0 -0
  595. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue +0 -0
  596. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue +0 -0
  597. package/src/{layout → built-in/layout-component}/components/Sidebar/index.vue +0 -0
  598. package/src/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue +0 -0
  599. package/src/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue +0 -0
  600. package/src/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue +0 -0
  601. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue +0 -0
  602. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue +0 -0
  603. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue +0 -0
  604. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue +0 -0
  605. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue +0 -0
  606. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue +0 -0
  607. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue +0 -0
  608. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue +0 -0
  609. package/src/{layout → built-in/layout-component}/composables/useViewTransition.ts +0 -0
  610. package/src/{pages/system/reload.vue → built-in/layout-component/pages/reload/index.vue} +0 -0
  611. package/src/{utils → built-in/layout-component/utils}/injectionKeys.ts +0 -0
  612. package/src/{locales → built-in/locales}/lang/en.json +0 -0
  613. package/src/{locales → built-in/locales}/lang/zh-cn.json +0 -0
  614. package/src/{locales → built-in/locales}/lang/zh-tw.json +0 -0
  615. package/src/{locales → built-in/locales}/ui.ts +0 -0
  616. package/src/{utils → core}/utils.ts +0 -0
  617. package/src/{api → features/api}/modules/auth/index.ts +0 -0
  618. package/src/{api → features/api}/modules/rbac/index.ts +0 -0
  619. package/src/{api → features/api}/system/typings.d.ts +0 -0
  620. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.eot +0 -0
  621. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff +0 -0
  622. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff2 +0 -0
  623. package/src/{assets → features/assets}/fonts/digital-7/stylesheet.css +0 -0
  624. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
  625. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
  626. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
  627. package/src/{assets → features/assets}/fonts/digital-7_mono/stylesheet.css +0 -0
  628. package/src/{assets → features/assets}/fonts/title.otf +0 -0
  629. package/src/{assets → features/assets}/images/change-org-bc.webp +0 -0
  630. package/src/{assets → features/assets}/images/header-bg.png +0 -0
  631. package/src/{assets → features/assets}/images/logo.png +0 -0
  632. package/src/{assets → features/assets}/images/slider-bg.png +0 -0
  633. package/src/{components → features/components}/PageHeader/index.vue +0 -0
  634. package/src/{components → features/components}/PageMain/index.vue +0 -0
  635. package/src/{components → features/components}/index.ts +0 -0
  636. package/src/{composables → features/composables}/index.ts +0 -0
  637. package/src/{composables → features/composables}/log.ts +0 -0
  638. package/src/{stores → features/stores}/modules/favorites.ts +1 -1
  639. /package/src/{stores → features/stores}/modules/iframe.ts +0 -0
  640. /package/src/{stores → features/stores}/modules/index.ts +0 -0
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 383 309" preserveAspectRatio="xMidYMid meet"><rect width="118.274" height="17.809" fill="#81ACFA" rx="4" transform="matrix(1 0 .08716 .9962 161.633 272.588)"/><rect width="118.274" height="17.809" fill="url(#a)" rx="4" transform="matrix(1 0 .08716 .9962 162.633 269.588)"/><path fill="url(#b)" d="m32.505 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.65L172.859 11.307C80.133-29.813-7.488 55.635 32.505 148.18"/><rect width="68.502" height="88.093" fill="url(#c)" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="68.502" height="77.252" fill="url(#d)" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="137.89" height="105.817" fill="url(#e)" rx="10" transform="matrix(1 0 .08716 .9962 .076 169.044)"/><g opacity=".3"><path fill="#B0C6F8" fill-rule="evenodd" d="M32.416 185.888a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1H65.98a1 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="M34.717 212.2a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996H68.89a.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.416 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="M75.608 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.141z"/><circle cx="3.072" cy="3.072" r="3.072" fill="#1CCDB8" transform="matrix(1 0 .08716 .9962 76.041 232.35)"/></g><path fill="#0D4CAC" fill-opacity=".1" fill-rule="evenodd" d="M145.514 268.054H92.96c-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 84.719 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 86.675 83.477)"/><path fill="url(#h)" stroke="url(#i)" d="M101.526 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.33a1.666 1.666 0 0 1-1.631-1.495L92.854 97.818c-.457-5.227 3.425-9.464 8.672-9.464Z"/><path fill="#1346CB" fill-rule="evenodd" d="M101.481 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="108" height="108" fill="#0D4CAC" fill-opacity=".18" rx="54" transform="matrix(1 0 .08716 .9962 246.5 74.57)"/><rect width="107" height="107" x=".544" y=".498" fill="url(#j)" stroke="#fff" rx="53.5" transform="matrix(1 0 .08716 .9962 264.88 56.617)"/><path fill="#CDDCEF" fill-rule="evenodd" d="M332.098 96.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#6599FF" fill-rule="evenodd" d="M337.098 90.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#1346CB" fill-opacity=".2" fill-rule="evenodd" d="m161.055 128.365 28.66 8.821c1.076.33 1.878 1.301 1.956 2.4l3.072 35.11v.003c-.04.279-.863 6.036-6.064 11.611-4.631 4.974-16.473 11.605-19.042 12.915l-1.302.678c-.343.183-.986.192-1.361 0l-1.421-.678a10 10 0 0 0-.462-.22 27 27 0 0 1-.957-.458c-4.799-2.399-15.802-7.932-20.564-12.237-6.146-5.556-7.984-11.293-8.085-11.608l-.002-.006-3.072-35.11c-.105-1.099.518-2.07 1.537-2.4zm6.113 66.088.019.009s.009 0 .026-.009zm.377-20.389h4.505c1.471 0 2.562-1.191 2.435-2.657h-.009l-.01-.109c-.128-1.466-1.428-2.657-2.899-2.657h-4.505l-.408-4.662c3.88-1.054 6.341-4.873 6.115-8.922.004-.064-.002-.128-.007-.192q.002-.054-.007-.102l-.007-.054c-.206-1.823-.911-3.682-2.108-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.862-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.651.007 1.869.697 3.866 1.811 5.46 1.072 1.529 2.596 2.876 4.308 3.627.506.219 1.009.393 1.509.54q.002.033.001.067l.002.08 1.427 16.304c.128 1.466 1.427 2.656 2.898 2.656s2.563-1.19 2.434-2.656zm-.834-16.882a1 1 0 0 0-.056.092 4 4 0 0 1-.341.41 2 2 0 0 1-.305.303 2 2 0 0 0-.276.201 8 8 0 0 1-.604.348c-.321.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.792-.43 1 1 0 0 0-.098-.064 7 7 0 0 1-.446-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.405-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.093-1.072c.043-.348.105-.686.195-1.025q.16-.388.367-.751a1 1 0 0 0 .056-.092c.107-.147.224-.284.341-.412.072-.086.155-.167.237-.246l.067-.065c.165-.11.251-.174.276-.201q.294-.189.604-.349a6.4 6.4 0 0 1 1.005-.284 7 7 0 0 1 1.076 0c.356.074.704.166 1.054.284q.406.194.792.431c.011.009.05.037.098.064q.236.182.446.376c.094.079.183.169.27.258l.071.071c.126.175.198.266.228.294q.216.308.405.632c.149.339.281.687.375 1.035.034.173.06.356.075.531l.009.255.009.276a7 7 0 0 1-.194 1.035q-.16.389-.367.752" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="m166.536 122.143 28.659 8.82c1.077.33 1.879 1.302 1.957 2.401l3.072 35.109-.001.003c-.04.279-.862 6.036-6.063 11.611-4.631 4.974-16.473 11.606-19.043 12.915l-1.302.678c-.342.183-.985.192-1.361 0l-1.42-.678c-.138-.071-.282-.137-.463-.22a29 29 0 0 1-.957-.457c-4.798-2.4-15.802-7.933-20.564-12.238-6.145-5.556-7.983-11.293-8.084-11.608l-.002-.006-3.072-35.109c-.105-1.099.518-2.071 1.537-2.401zm6.112 66.087.02.009s.009 0 .026-.009zm.377-20.389h4.506c1.471 0 2.562-1.191 2.434-2.657h-.009l-.01-.109c-.128-1.466-1.427-2.657-2.898-2.657h-4.506l-.408-4.662c3.881-1.054 6.341-4.873 6.116-8.922a1 1 0 0 0-.008-.192.4.4 0 0 0-.007-.102q-.004-.025-.006-.054c-.206-1.822-.911-3.682-2.109-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.861-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.652.007 1.868.697 3.865 1.811 5.459 1.072 1.529 2.597 2.876 4.308 3.627.506.219 1.009.394 1.509.54q.002.033.002.067l.002.08 1.426 16.304c.128 1.466 1.428 2.656 2.899 2.656s2.562-1.19 2.434-2.656zm-.833-16.882a.5.5 0 0 0-.056.092 4 4 0 0 1-.342.41 2.2 2.2 0 0 1-.304.303c-.166.11-.251.174-.277.201-.2.129-.393.239-.604.348-.32.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.791-.43 1 1 0 0 0-.098-.064 6 6 0 0 1-.447-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.404-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.094-1.071c.043-.349.106-.687.195-1.026a7 7 0 0 1 .367-.751.5.5 0 0 0 .056-.092q.164-.22.341-.412c.072-.086.156-.167.238-.246l.066-.065c.166-.11.251-.174.277-.201q.293-.188.604-.348c.32-.119.661-.22 1.005-.284a7 7 0 0 1 1.076 0c.355.073.703.165 1.054.284q.407.193.791.43c.011.009.05.037.098.064q.237.182.447.376c.093.079.182.169.27.258l.071.072c.125.174.197.265.228.293q.215.308.404.632c.149.339.281.687.376 1.035.034.173.059.356.074.531l.009.255.01.276a7 7 0 0 1-.195 1.035q-.16.389-.366.752" clip-rule="evenodd"/><path fill="#1346CB" fill-opacity=".2" fill-rule="evenodd" d="M249.143 139.557h-37.678l.357 4.085H249.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><path fill="#B6CFFF" fill-rule="evenodd" d="M252.143 135.557h-37.678l.357 4.085H252.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><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.313" x2="228.313" 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.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#3D70F7"/><stop offset="1" stop-color="#7CAEFF"/></linearGradient><linearGradient id="i" x1="206.221" x2="206.221" 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="54" x2="54" y1="0" y2="108" 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 383 309" width="24" height="24" preserveAspectRatio="xMidYMid meet"><path fill="url(#a)" d="m32.505 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.65L172.859 11.307C80.133-29.813-7.488 55.635 32.505 148.18"/><rect width="118.274" height="17.809" fill="#81ACFA" rx="4" transform="matrix(1 0 .08716 .9962 161.633 272.588)"/><rect width="118.274" height="17.809" fill="#3A4E7A" rx="4" transform="matrix(1 0 .08716 .9962 161.633 272.588)"/><rect width="118.274" height="17.809" fill="url(#b)" rx="4" transform="matrix(1 0 .08716 .9962 162.633 269.588)"/><rect width="118.274" height="17.809" fill="url(#c)" rx="4" transform="matrix(1 0 .08716 .9962 162.633 269.588)"/><rect width="68.502" height="88.093" fill="url(#d)" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="68.502" height="77.252" fill="#051539" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="137.89" height="105.817" fill="url(#e)" rx="10" transform="matrix(1 0 .08716 .9962 .076 169.044)"/><rect width="137.89" height="105.817" fill="url(#f)" rx="10" transform="matrix(1 0 .08716 .9962 .076 169.044)"/><g opacity=".3"><path fill="#B0C6F8" fill-rule="evenodd" d="M32.416 185.888a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1H65.98a1 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="M34.717 212.2a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996H68.89a.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.416 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="M75.608 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="M145.514 268.054H92.96c-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 84.719 85.475)"/><rect width="238.238" height="173.566" fill="#3A4E7A" rx="12" transform="matrix(1 0 .08716 .9962 84.719 85.475)"/><rect width="237.238" height="172.566" x=".544" y=".498" fill="url(#g)" stroke="url(#h)" rx="11.5" transform="matrix(1 0 .08716 .9962 86.675 83.477)"/><path fill="url(#i)" stroke="url(#j)" d="M101.526 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.33a1.666 1.666 0 0 1-1.631-1.495L92.854 97.818c-.457-5.227 3.425-9.464 8.672-9.464Z"/><path fill="#071435" fill-rule="evenodd" d="M101.481 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="108" height="108" fill="#02132D" fill-opacity=".5" rx="54" transform="matrix(1 0 .08716 .9962 246.5 74.57)"/><rect width="107" height="107" x=".544" y=".498" fill="url(#k)" stroke="#7384AD" rx="53.5" transform="matrix(1 0 .08716 .9962 264.88 56.617)"/><path fill="#434F6F" fill-rule="evenodd" d="M332.098 96.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#6599FF" fill-rule="evenodd" d="M337.098 90.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#031031" fill-opacity=".5" fill-rule="evenodd" d="m161.055 128.365 28.66 8.821c1.076.33 1.878 1.301 1.956 2.4l3.072 35.11v.003c-.04.279-.863 6.036-6.064 11.611-4.631 4.974-16.473 11.605-19.042 12.915l-1.302.678c-.343.183-.986.192-1.361 0l-1.421-.678a10 10 0 0 0-.462-.22 27 27 0 0 1-.957-.458c-4.799-2.399-15.802-7.932-20.564-12.237-6.146-5.556-7.984-11.293-8.085-11.608l-.002-.006-3.072-35.11c-.105-1.099.518-2.07 1.537-2.4zm6.113 66.088.019.009s.009 0 .026-.009zm.377-20.389h4.505c1.471 0 2.562-1.191 2.435-2.657h-.009l-.01-.109c-.128-1.466-1.428-2.657-2.899-2.657h-4.505l-.408-4.662c3.88-1.054 6.341-4.873 6.115-8.922.004-.064-.002-.128-.007-.192q.002-.054-.007-.102l-.007-.054c-.206-1.823-.911-3.682-2.108-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.862-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.651.007 1.869.697 3.866 1.811 5.46 1.072 1.529 2.596 2.876 4.308 3.627.506.219 1.009.393 1.509.54q.002.033.001.067l.002.08 1.427 16.304c.128 1.466 1.427 2.656 2.898 2.656s2.563-1.19 2.434-2.656zm-.834-16.882a1 1 0 0 0-.056.092 4 4 0 0 1-.341.41 2 2 0 0 1-.305.303 2 2 0 0 0-.276.201 8 8 0 0 1-.604.348c-.321.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.792-.43 1 1 0 0 0-.098-.064 7 7 0 0 1-.446-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.405-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.093-1.072c.043-.348.105-.686.195-1.025q.16-.388.367-.751a1 1 0 0 0 .056-.092c.107-.147.224-.284.341-.412.072-.086.155-.167.237-.246l.067-.065c.165-.11.251-.174.276-.201q.294-.189.604-.349a6.4 6.4 0 0 1 1.005-.284 7 7 0 0 1 1.076 0c.356.074.704.166 1.055.284q.405.194.791.431c.011.009.05.037.098.064q.236.182.446.376c.094.079.183.169.27.258l.071.071c.126.175.198.266.228.294q.216.308.405.632c.149.339.281.687.375 1.035.034.173.06.356.075.531l.009.255.009.276a7 7 0 0 1-.194 1.035q-.16.389-.367.752" clip-rule="evenodd"/><path fill="#8092EE" fill-rule="evenodd" d="m166.536 122.143 28.659 8.82c1.077.33 1.879 1.302 1.957 2.401l3.072 35.109-.001.003c-.04.279-.862 6.036-6.063 11.611-4.631 4.974-16.473 11.606-19.043 12.915l-1.302.678c-.342.183-.985.192-1.361 0l-1.42-.678c-.138-.071-.282-.137-.463-.22a29 29 0 0 1-.957-.457c-4.798-2.4-15.802-7.933-20.564-12.238-6.145-5.556-7.983-11.293-8.084-11.608l-.002-.006-3.072-35.109c-.105-1.099.518-2.071 1.537-2.401zm6.112 66.087.02.009s.009 0 .026-.009zm.377-20.389h4.506c1.471 0 2.562-1.191 2.434-2.657h-.009l-.01-.109c-.128-1.466-1.427-2.657-2.898-2.657h-4.506l-.408-4.662c3.881-1.054 6.341-4.873 6.116-8.922a1 1 0 0 0-.008-.192.4.4 0 0 0-.007-.102q-.004-.025-.006-.054c-.206-1.822-.911-3.682-2.109-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.861-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.652.007 1.868.697 3.865 1.811 5.459 1.072 1.529 2.597 2.876 4.308 3.627.506.219 1.009.394 1.509.54q.002.033.002.067l.002.08 1.426 16.304c.128 1.466 1.428 2.656 2.899 2.656s2.562-1.19 2.434-2.656zm-.833-16.882a.5.5 0 0 0-.056.092 4 4 0 0 1-.342.41 2.2 2.2 0 0 1-.304.303c-.166.11-.251.174-.277.201-.2.129-.393.239-.604.348-.32.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.791-.43 1 1 0 0 0-.098-.064 6 6 0 0 1-.447-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.404-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.094-1.071c.043-.349.106-.687.195-1.026a7 7 0 0 1 .367-.751.5.5 0 0 0 .056-.092q.164-.22.341-.412c.072-.086.156-.167.238-.246l.066-.065c.166-.11.251-.174.277-.201q.293-.188.604-.348c.32-.119.661-.22 1.005-.284a7 7 0 0 1 1.076 0c.355.073.703.165 1.054.284q.407.193.791.43c.011.009.05.037.098.064q.237.182.447.376c.093.079.182.169.27.258l.071.072c.125.174.197.265.228.293q.215.308.404.632c.149.339.281.687.376 1.035.034.173.059.356.074.531l.009.255.01.276a7 7 0 0 1-.195 1.035q-.16.389-.366.752" clip-rule="evenodd"/><path fill="#031031" fill-opacity=".5" fill-rule="evenodd" d="M249.143 139.557h-37.678l.357 4.085H249.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><path fill="#7887D2" fill-rule="evenodd" d="M252.143 135.557h-37.678l.357 4.085H252.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><defs><linearGradient id="a" x1="228.313" x2="228.313" 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="#EBF3FF"/><stop offset="1" stop-color="#D4E4FF"/></linearGradient><linearGradient id="c" 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="d" 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="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="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="g" 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="h" 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="i" x1="206.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#0C2054"/><stop offset="1" stop-color="#113C81"/></linearGradient><linearGradient id="j" x1="206.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#9DA8E1"/></linearGradient><linearGradient id="k" x1="54" x2="54" y1="0" y2="108" gradientUnits="userSpaceOnUse"><stop stop-color="#586075"/><stop offset="1" stop-color="#65749C"/></linearGradient></defs></svg>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { useSettingsStore, useTabbarStore } from '@/stores';
2
+ import { useSettingsStore, useTabbarStore } from '@/features/stores';
3
3
 
4
4
  defineOptions({
5
5
  name: 'NotAllowed',
@@ -61,16 +61,14 @@ function goBack() {
61
61
  </div>
62
62
  </template>
63
63
 
64
- <style lang="scss" scoped>
64
+ <style scoped>
65
65
  .noPermissionIcon {
66
- background: url("@/assets/icons/403.svg") no-repeat;
66
+ background: url("./assets/403.svg") no-repeat;
67
67
  background-size: 100% 100%;
68
68
  }
69
69
 
70
- [data-theme="dark"] {
71
- .noPermissionIcon {
72
- background: url("@/assets/icons/403_dark.svg") no-repeat;
73
- background-size: 100% 100%;
74
- }
70
+ [data-theme="dark"] .noPermissionIcon {
71
+ background: url("./assets/403_dark.svg") no-repeat;
72
+ background-size: 100% 100%;
75
73
  }
76
74
  </style>
@@ -152,61 +152,46 @@ watchEffect(() => {
152
152
  </div>
153
153
  </template>
154
154
 
155
- <style lang="scss" scoped>
155
+ <style scoped>
156
156
  .pass-strength-validator {
157
- padding: 15px;
158
-
159
- .title-wrap {
160
- margin-bottom: 40px;
161
- font-size: 24px;
162
- font-weight: 600;
163
- color: #1677ff;
164
- }
165
-
166
- .rules-title {
167
- margin-bottom: 15px;
168
- font-size: 16px;
169
- font-weight: 500;
170
- }
171
-
172
- &.vertical {
173
- width: 1130px;
174
- padding: 18px 32px 24px;
175
-
176
- .title-wrap {
177
- margin-bottom: 16px;
178
- font-size: 16px;
179
- }
157
+ --at-apply: p-15px;
158
+ }
180
159
 
181
- .rules-wrap {
182
- display: flex;
183
- }
160
+ .pass-strength-validator .title-wrap {
161
+ --at-apply: text-2xl font-semibold text-[#1677ff] mb-10;
162
+ }
184
163
 
185
- .basic-rules,
186
- .advanced-rules {
187
- position: relative;
188
- flex: 1;
189
- }
164
+ .pass-strength-validator .rules-title {
165
+ --at-apply: text-base font-medium mb-[15px];
166
+ }
190
167
 
191
- .basic-rules::after {
192
- position: absolute;
193
- top: 11px;
194
- right: 35px;
195
- bottom: 11px;
196
- width: 1px;
197
- height: auto;
198
- content: "";
199
- background: #e5e6eb;
200
- }
168
+ .pass-strength-validator.vertical {
169
+ --at-apply: w-[1130px] pt-[18px] pb-6 px-8;
170
+ }
171
+ .pass-strength-validator.vertical .title-wrap {
172
+ --at-apply: text-base mb-4;
173
+ }
174
+ .pass-strength-validator.vertical .rules-wrap {
175
+ --at-apply: flex;
176
+ }
177
+ .pass-strength-validator.vertical .basic-rules,
178
+ .pass-strength-validator.vertical .advanced-rules {
179
+ --at-apply: relative flex-1;
180
+ }
181
+ .pass-strength-validator.vertical .basic-rules::after {
182
+ --at-apply: absolute w-px h-auto content-[""] right-[35px] inset-y-[11px];
183
+ background: #e5e6eb;
184
+ }
185
+ .pass-strength-validator.vertical .rules-title {
186
+ --at-apply: text-sm font-[bold] mb-3.5;
187
+ }
201
188
 
202
- .rules-title {
203
- margin-bottom: 14px;
204
- font-size: 14px;
205
- font-weight: bold;
206
- }
207
- }
189
+ /* 样式穿透,用于覆盖 ant-design-vue 组件样式 */
190
+ .pass-strength-validator :deep(.ant-divider) {
191
+ --at-apply: mx-0 my-4;
208
192
  }
209
193
 
194
+ /* 暗色主题支持 */
210
195
  .dark .pass-strength-validator.vertical .basic-rules::after {
211
196
  background: #424242;
212
197
  }
@@ -23,29 +23,17 @@ const props = defineProps<{
23
23
  </div>
24
24
  </template>
25
25
 
26
- <style scoped lang="scss">
27
- .rule-item {
28
- display: flex;
29
- flex-direction: row;
30
- padding: 10px 0;
31
- font-size: 14px;
32
- line-height: 19px;
33
-
34
- .icon {
35
- margin-right: 10px;
36
- line-height: 23px;
37
- }
38
-
39
- &.vertical {
40
- padding: 0;
41
- margin-bottom: 6px;
42
- line-height: 18px;
43
- color: #86909c;
44
-
45
- .icon {
46
- margin-right: 6px;
47
- line-height: 18px;
48
- }
49
- }
50
- }
26
+ <style scoped>
27
+ .rule-item {
28
+ --at-apply: flex flex-row text-sm leading-[19px] px-0 py-2.5;
29
+ }
30
+ .rule-item .icon {
31
+ --at-apply: leading-[23px] mr-2.5;
32
+ }
33
+ .rule-item.vertical {
34
+ --at-apply: leading-[18px] text-[#86909c] mb-1.5 p-0;
35
+ }
36
+ .rule-item.vertical .icon {
37
+ --at-apply: leading-[18px] mr-1.5;
38
+ }
51
39
  </style>
@@ -1,4 +1,5 @@
1
1
  <script setup lang="ts">
2
+ import { useAuth } from '@/features/composables';
2
3
  import NotAllowed from '../NotAllowed/index.vue';
3
4
 
4
5
  defineOptions({
@@ -9,7 +10,7 @@ const route = useRoute();
9
10
  const { auth } = useAuth();
10
11
 
11
12
  const isAuth = computed(() => {
12
- return route.matched.every((item) => auth(item.meta.auth ?? ''));
13
+ return route.matched.every(item => auth(item.meta.auth ?? ''));
13
14
  });
14
15
  </script>
15
16
 
@@ -0,0 +1,140 @@
1
+ <script setup lang="ts">
2
+ import * as AntdIcons from '@ant-design/icons-vue';
3
+ import { Icon } from '@iconify/vue';
4
+ import { computedAsync } from '@vueuse/core';
5
+ import { setupIcon } from '@/core';
6
+ import { useProvider } from '../PubinfoProvider';
7
+
8
+ defineOptions({
9
+ name: 'PubinfoIcon',
10
+ });
11
+
12
+ const props = defineProps<{
13
+ name: string
14
+ async?: boolean
15
+ flip?: 'horizontal' | 'vertical' | 'both'
16
+ rotate?: number
17
+ color?: string
18
+ size?: string | number
19
+ }>();
20
+
21
+ const { loadIcon } = useProvider();
22
+
23
+ const outputType = computed(() => {
24
+ if (props.name.indexOf('i-') === 0) {
25
+ return props.async ? 'svg' : 'css';
26
+ }
27
+ else if (props.name.includes(':') && !props.name.startsWith('antd:')) {
28
+ return 'svg';
29
+ }
30
+ else if (props.name.startsWith('antd:')) {
31
+ return 'antd';
32
+ }
33
+ else {
34
+ return 'custom';
35
+ }
36
+ });
37
+
38
+ const outputName = computed(() => {
39
+ if (props.name.indexOf('i-') === 0) {
40
+ let conversionName = props.name;
41
+ if (props.async) {
42
+ conversionName = conversionName.replace('i-', '');
43
+ }
44
+ return conversionName;
45
+ }
46
+
47
+ if (props.name.startsWith('antd:')) {
48
+ return props.name.replace('antd:', '');
49
+ }
50
+
51
+ return props.name;
52
+ });
53
+
54
+ const style = computed(() => {
55
+ const transform: string[] = [];
56
+ if (props.flip) {
57
+ switch (props.flip) {
58
+ case 'horizontal':
59
+ transform.push('rotateY(180deg)');
60
+ break;
61
+ case 'vertical':
62
+ transform.push('rotateX(180deg)');
63
+ break;
64
+ case 'both':
65
+ transform.push('rotateX(180deg)');
66
+ transform.push('rotateY(180deg)');
67
+ break;
68
+ }
69
+ }
70
+ if (props.rotate) {
71
+ transform.push(`rotate(${props.rotate % 360}deg)`);
72
+ }
73
+ return {
74
+ ...(props.color && { color: props.color }),
75
+ ...(props.size && { fontSize: typeof props.size === 'number' ? `${props.size}px` : props.size }),
76
+ ...(transform.length && { transform: transform.join(' ') }),
77
+ };
78
+ });
79
+
80
+ const icon = computedAsync(async () => {
81
+ const parse = parseString(props.name);
82
+
83
+ return loadIcon?.(props.name) ?? await setupIcon(`${parse.name}${parse.ext || '.svg'}`, parse.prefix);
84
+ });
85
+
86
+ interface Parsed {
87
+ prefix: string
88
+ name: string
89
+ ext: string
90
+ }
91
+
92
+ function parseString(str: string): Parsed {
93
+ let prefix = '';
94
+ let name = '';
95
+ let ext = '';
96
+
97
+ // 匹配 RBAC-[org.svg] 或 RBAC-[org]
98
+ const match = str.match(/^([^-\s]+)-\[(.+)\]$/);
99
+
100
+ if (match) {
101
+ prefix = match[1];
102
+ const inner = match[2];
103
+
104
+ const dotIdx = inner.lastIndexOf('.');
105
+ if (dotIdx !== -1) {
106
+ name = inner.slice(0, dotIdx);
107
+ ext = inner.slice(dotIdx);
108
+ }
109
+ else {
110
+ name = inner;
111
+ }
112
+ }
113
+ else {
114
+ // 如果没有前缀格式,就当普通文件处理
115
+ const dotIdx = str.lastIndexOf('.');
116
+ if (dotIdx !== -1) {
117
+ name = str.slice(0, dotIdx);
118
+ ext = str.slice(dotIdx);
119
+ }
120
+ else {
121
+ name = str;
122
+ }
123
+ }
124
+
125
+ return { prefix, name, ext };
126
+ }
127
+ </script>
128
+
129
+ <template>
130
+ <i :data-icon-name="name" class="relative size-[1em] flex-inline items-center justify-center fill-current leading-[1em]" :style="style">
131
+ <i v-if="outputType === 'css'" :class="outputName" />
132
+ <Icon v-else-if="outputType === 'svg'" :icon="outputName" />
133
+ <span v-else-if="outputType === 'antd'" class="antd-icon" :data-icon="outputName">
134
+ <component
135
+ :is="AntdIcons[outputName as keyof typeof AntdIcons] as any"
136
+ />
137
+ </span>
138
+ <img v-else-if="icon" class="size-1em" :src="icon">
139
+ </i>
140
+ </template>
@@ -19,7 +19,6 @@ export default defineComponent({
19
19
  props: {
20
20
  loadIcon: {
21
21
  type: Function as PubinfoProviderProps['loadIcon'],
22
- required: true,
23
22
  },
24
23
  },
25
24
  setup(props, { slots }) {
@@ -27,7 +26,7 @@ export default defineComponent({
27
26
 
28
27
  createPubinfoProvider({
29
28
  loadIcon(name) {
30
- return props.loadIcon(name) ?? provider?.loadIcon?.(name);
29
+ return props?.loadIcon?.(name) ?? provider?.loadIcon?.(name);
31
30
  },
32
31
  });
33
32
 
@@ -1,4 +1,4 @@
1
- import { useSettingsStore, useUserStore } from '@/stores';
1
+ import { useSettingsStore, useUserStore } from '@/features/stores';
2
2
 
3
3
  /**
4
4
  * 处理身份验证和权限检查的自定义钩子。
@@ -14,7 +14,7 @@ export function useAuth() {
14
14
  const settingsStore = useSettingsStore();
15
15
  const userStore = useUserStore();
16
16
  if (settingsStore.settings.app.enablePermission) {
17
- return userStore.permissions.includes(permission);
17
+ return userStore.user.permissions.includes(permission);
18
18
  }
19
19
  else {
20
20
  return true;
@@ -1,4 +1,4 @@
1
- import { useSettingsStore } from '@/stores';
1
+ import { useSettingsStore } from '@/features/stores';
2
2
 
3
3
  export function useTheme() {
4
4
  const settingsStore = useSettingsStore();
@@ -35,7 +35,7 @@ export function watchDiffObject<
35
35
  ) {
36
36
  let oldValue: Record<string, any> = options?.immediate
37
37
  ? {}
38
- : cloneDeep(source instanceof Function
38
+ : cloneDeep(typeof source === 'function'
39
39
  ? source()
40
40
  : source,
41
41
  );
@@ -0,0 +1,40 @@
1
+ import type { Router } from 'vue-router';
2
+ import type { RequestInstance } from '@/core';
3
+
4
+ import { createContext } from '@/utils';
5
+
6
+ interface InternalContext {
7
+ router: Router
8
+ requestAuth: RequestInstance
9
+ requestBasic: RequestInstance
10
+ }
11
+
12
+ // 持久化全局上下文,支持 HMR 后恢复
13
+ const g = globalThis as any;
14
+ g.__PUBINFO__ = g.__PUBINFO__ || {};
15
+ if (!g.__PUBINFO__.ctx) {
16
+ g.__PUBINFO__.ctx = createContext<InternalContext>();
17
+ }
18
+ const ctx = g.__PUBINFO__.ctx as ReturnType<typeof createContext<InternalContext>>;
19
+
20
+ // 旧 state 恢复
21
+ if (g.__PUBINFO__.state) {
22
+ try {
23
+ ctx.set(g.__PUBINFO__.state);
24
+ }
25
+ catch {}
26
+ }
27
+
28
+ /** 初始化全局 context */
29
+ export function createPubinfoContext(newState: InternalContext) {
30
+ // 缓存用于 wrapProxy 兜底
31
+ g.__PUBINFO__.state = newState;
32
+ ctx.set(newState);
33
+ // 立即激活 use()
34
+ ctx.use();
35
+ }
36
+
37
+ /** 读取全局 context */
38
+ export function usePubinfoContext() {
39
+ return ctx.use();
40
+ }
@@ -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>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { useSettingsStore, useTabbarStore } from '@/stores';
2
+ import { useSettingsStore, useTabbarStore } from '@/features/stores';
3
3
 
4
4
  const route = useRoute();
5
5
  const router = useRouter();
@@ -59,16 +59,14 @@ function goBack() {
59
59
  </div>
60
60
  </template>
61
61
 
62
- <style lang="scss" scoped>
62
+ <style scoped>
63
63
  .allIcon {
64
- background: url("@/assets/icons/404.svg") no-repeat;
64
+ background: url("./assets/404.svg") no-repeat;
65
65
  background-size: 100% 100%;
66
66
  }
67
67
 
68
- [data-theme="dark"] {
69
- .allIcon {
70
- background: url("@/assets/icons/404_dark.svg") no-repeat;
71
- background-size: 100% 100%;
72
- }
68
+ [data-theme="dark"] .allIcon {
69
+ background: url("./assets/404_dark.svg") no-repeat;
70
+ background-size: 100% 100%;
73
71
  }
74
72
  </style>
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { ProColumns } from '@pubinfo/pro-components';
3
- import { getRbacUserUserEntireInfo } from '@/api/modules/rbac';
4
3
  import { SchemaForm } from '@pubinfo/pro-components';
5
4
  import { isNil } from 'lodash-es';
5
+ import { getRbacUserUserEntireInfo } from '@/features/api/modules/rbac';
6
6
 
7
7
  // TODO 解耦组件库
8
8
 
@@ -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