@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
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
- import { PageMain } from '@/components';
3
2
  import { useClipboard } from '@vueuse/core';
4
3
  import Message from 'vue-m-message';
5
4
  import IconParkTwotonePlanet from '~icons/icon-park-twotone/planet';
6
5
  import RiExternalLinkFill from '~icons/ri/external-link-fill';
6
+ import { PageMain } from '@/features/components';
7
7
  import { useContext } from '../../composables/useContext';
8
8
 
9
9
  defineOptions({
@@ -51,7 +51,7 @@ function open() {
51
51
  </div>
52
52
  </template>
53
53
 
54
- <style lang="scss" scoped>
54
+ <style scoped>
55
55
  .fade-enter-active,
56
56
  .slide-left-enter-active,
57
57
  .slide-right-enter-active,
@@ -0,0 +1,146 @@
1
+ <script setup lang="ts">
2
+ import { useContext } from '../../composables/useContext';
3
+ import IframeView from './IframeView.vue';
4
+ import LinkView from './LinkView.vue';
5
+
6
+ defineOptions({
7
+ name: 'LayoutContent',
8
+ });
9
+
10
+ const _route = useRoute();
11
+ const { settingsStore, keepAliveStore } = useContext();
12
+
13
+ const isIframe = computed(() => !!_route.meta.iframe);
14
+ const isLink = computed(() => !!_route.meta.link);
15
+
16
+ function EmptyWrapper(_: any, { slots }: { slots: any }) {
17
+ return slots?.default?.();
18
+ }
19
+
20
+ const Provider = computed(() => {
21
+ const metaProvider = _route.matched?.[0]?.meta?.provider;
22
+
23
+ if (!metaProvider) {
24
+ return EmptyWrapper;
25
+ };
26
+
27
+ // 是函数,认为是 () => import(...)
28
+ if (typeof metaProvider === 'function') {
29
+ return defineAsyncComponent(metaProvider);
30
+ }
31
+
32
+ return metaProvider;
33
+ });
34
+
35
+ const shouldCache = computed(() => !!_route.meta?.cache);
36
+
37
+ // 监听路由变化,根据 meta.cache 管理缓存
38
+ watch(
39
+ () => _route.name,
40
+ (newName, oldName) => {
41
+ if (newName && _route.meta?.cache) {
42
+ keepAliveStore.add(String(newName));
43
+ }
44
+ },
45
+ { immediate: true },
46
+ );
47
+
48
+ // 监听路由的 meta.cache 变化
49
+ watch(
50
+ () => _route.meta?.cache,
51
+ (shouldCache, wasCached) => {
52
+ if (_route.name) {
53
+ if (shouldCache) {
54
+ keepAliveStore.add(String(_route.name));
55
+ }
56
+ else {
57
+ keepAliveStore.remove(String(_route.name));
58
+ }
59
+ }
60
+ },
61
+ );
62
+ </script>
63
+
64
+ <template>
65
+ <RouterView v-slot="{ Component, route }">
66
+ <component :is="Provider">
67
+ <Transition
68
+ :name="settingsStore.settings.mainPage.enableTransition ? settingsStore.settings.mainPage.transitionMode : ''"
69
+ mode="out-in" appear
70
+ >
71
+ <KeepAlive :include="keepAliveStore.list">
72
+ <component :is="Component" v-show="!(isIframe || isLink)" :key="route.fullPath" class="page-container" />
73
+ </KeepAlive>
74
+ </Transition>
75
+ </component>
76
+ </RouterView>
77
+
78
+ <IframeView v-show="isIframe && !isLink" />
79
+ <LinkView v-if="isLink" />
80
+ </template>
81
+
82
+ <style scoped>
83
+ .fade-enter-active,
84
+ .slide-left-enter-active,
85
+ .slide-right-enter-active,
86
+ .slide-top-enter-active,
87
+ .slide-bottom-enter-active {
88
+ transition: 0.2s;
89
+ }
90
+
91
+ .fade-leave-active,
92
+ .slide-left-leave-active,
93
+ .slide-right-leave-active,
94
+ .slide-top-leave-active,
95
+ .slide-bottom-leave-active {
96
+ transition: 0.15s;
97
+ }
98
+
99
+ .fade-enter-from {
100
+ opacity: 0;
101
+ }
102
+
103
+ .fade-leave-to {
104
+ opacity: 0;
105
+ }
106
+
107
+ .slide-left-enter-from {
108
+ margin-left: 20px;
109
+ opacity: 0;
110
+ }
111
+
112
+ .slide-left-leave-to {
113
+ margin-left: -20px;
114
+ opacity: 0;
115
+ }
116
+
117
+ .slide-right-enter-from {
118
+ margin-left: -20px;
119
+ opacity: 0;
120
+ }
121
+
122
+ .slide-right-leave-to {
123
+ margin-left: 20px;
124
+ opacity: 0;
125
+ }
126
+
127
+ .slide-top-enter-from {
128
+ margin-top: 20px;
129
+ opacity: 0;
130
+ }
131
+
132
+ .slide-top-leave-to {
133
+ margin-top: -20px;
134
+ opacity: 0;
135
+ }
136
+
137
+ .slide-bottom-enter-from {
138
+ margin-top: -20px;
139
+ opacity: 0;
140
+ }
141
+
142
+ .slide-bottom-leave-to {
143
+ margin-top: 20px;
144
+ opacity: 0;
145
+ }
146
+ </style>
@@ -33,17 +33,16 @@ const { settingsStore } = useContext();
33
33
  </footer>
34
34
  </template>
35
35
 
36
- <style lang="scss" scoped>
36
+ <style scoped>
37
37
  .copyright {
38
38
  --at-apply: flex items-center justify-center flex-wrap my-4 px-4 text-sm text-stone-5;
39
+ }
39
40
 
40
- span,
41
- a {
42
- --at-apply: px-1;
43
- }
41
+ .copyright span,a {
42
+ --at-apply: px-1;
43
+ }
44
44
 
45
- a {
46
- --at-apply: text-center no-underline text-stone-5 hover:text-dark dark:hover:text-light transition;
47
- }
45
+ .copyright a {
46
+ --at-apply: text-center no-underline text-stone-5 hover:text-dark dark:hover:text-light transition;
48
47
  }
49
48
  </style>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import type { Menu } from '#/menu';
3
- import { PubinfoIcon } from '@/components';
3
+ import { PubinfoIcon } from '@/features/components';
4
4
  import NotCursor from './NotCursor.vue';
5
5
 
6
6
  defineOptions({
@@ -35,7 +35,7 @@ function menuClick(index: number, item: Menu.recordMainRaw) {
35
35
  <template #popper>
36
36
  <div class="menu-more-container" box-border>
37
37
  <template v-for="(item, index) in items" :key="index">
38
- <NotCursor :is-cursor="item.meta?.isDev" :skidding="150">
38
+ <NotCursor :is-cursor="item.meta?.isDev" :dev-text="item.meta?.devText" :skidding="150">
39
39
  <div
40
40
  cursor-pointer flex="~ items-center" box-border p-15px w-full h-40px rounded-8px text-sm mb-10px
41
41
  :class="{
@@ -54,50 +54,42 @@ function menuClick(index: number, item: Menu.recordMainRaw) {
54
54
  </VMenu>
55
55
  </template>
56
56
 
57
- <style lang="scss" scoped>
57
+ <style scoped>
58
58
  .menu-more-container {
59
- min-width: 180px;
60
- padding: 10px;
61
- padding-bottom: 0;
59
+ --at-apply: min-w-180px p-10px pb-0;
60
+ }
62
61
 
63
- .is-dev {
64
- cursor: not-allowed;
62
+ .menu-more-container .is-dev {
63
+ --at-apply: cursor-not-allowed;
64
+ }
65
65
 
66
- i {
67
- filter: grayscale(100%);
68
- }
66
+ .menu-more-container .is-dev i {
67
+ filter: grayscale(100%);
68
+ }
69
69
 
70
- span {
71
- opacity: 0.8;
72
- }
73
- }
70
+ .menu-more-container .is-dev span {
71
+ opacity: 0.8;
74
72
  }
75
73
  </style>
76
74
 
77
- <style lang="scss">
75
+ <style>
78
76
  .v-popper--theme-more-appley {
77
+ --at-apply: z-1000;
79
78
  z-index: 1000;
79
+ }
80
80
 
81
- .v-popper__inner {
82
- background-image: linear-gradient(-43deg, #fff 0%, #eaf3ff 87%);
83
- border: 1px solid #fff;
84
- border-radius: 8px;
85
- box-shadow: 8px 16px 28px -8px #8195b74f;
86
- }
81
+ .v-popper--theme-more-appley .v-popper__inner {
82
+ --at-apply: border border-white border-solid rounded-8px;
83
+ background-image: linear-gradient(-43deg, #fff 0%, #eaf3ff 87%);
84
+ box-shadow: 8px 16px 28px -8px #8195b74f;
85
+ }
87
86
 
88
- .v-popper__arrow-container {
89
- display: none;
90
- }
87
+ .v-popper--theme-more-appley .v-popper__arrow-container {
88
+ --at-apply: hidden;
91
89
  }
92
90
 
93
- .dark {
94
- .v-popper--theme-more-appley {
95
- .v-popper__inner {
96
- background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
97
- border: 1px solid #4b4f53;
98
- border-radius: 8px;
99
- box-shadow: none;
100
- }
101
- }
91
+ .dark .v-popper--theme-more-appley .v-popper__inner {
92
+ --at-apply: border border-#4b4f53 border-solid rounded-8px shadow-[none];
93
+ background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
102
94
  }
103
95
  </style>
@@ -0,0 +1,70 @@
1
+ <script setup lang="ts">
2
+ defineOptions({
3
+ name: 'NotCursor',
4
+ });
5
+
6
+ withDefaults(defineProps<{
7
+ isCursor?: boolean
8
+ skidding?: number
9
+ devText?: string // 自定义开发模式文本
10
+ }>(), {
11
+ isCursor: false,
12
+ skidding: 0,
13
+ devText: '该功能暂未上线,敬请期待!', // 默认文本
14
+ });
15
+ </script>
16
+
17
+ <template>
18
+ <slot v-if="!isCursor" />
19
+ <VMenu
20
+ v-else
21
+ :triggers="['hover']"
22
+ :skidding="skidding"
23
+ :delay="0"
24
+ :auto-hide="false"
25
+ theme="not-cursor"
26
+ >
27
+ <slot />
28
+ <template #popper>
29
+ <div class="not-cursor-container" box-border flex="~ col justify-center items-center">
30
+ <img src="../../../assets/images/not-cursor.png" w-60px alt="">
31
+ <div text="#B8BBBD 14px" mt-10px>
32
+ {{ devText }}
33
+ </div>
34
+ </div>
35
+ </template>
36
+ </VMenu>
37
+ </template>
38
+
39
+ <style scoped>
40
+ .not-cursor-container {
41
+ --at-apply: size-full;
42
+ }
43
+ </style>
44
+
45
+ <style>
46
+ .v-popper--theme-not-cursor {
47
+ --at-apply: z-1000;
48
+ }
49
+
50
+ .v-popper--theme-not-cursor .v-popper__inner {
51
+ --at-apply: w-228px h-123px border border-solid border-white rounded-md;
52
+
53
+ background-image: linear-gradient(-55deg, #fff 0%, #eaf3ff 87%);
54
+ box-shadow: 4px 8px 14px -4px #8195b74f;
55
+ }
56
+
57
+ .v-popper--theme-not-cursor .v-popper__inner > div {
58
+ --at-apply: size-full;
59
+ }
60
+
61
+ .v-popper--theme-not-cursor .v-popper__arrow-container {
62
+ --at-apply: hidden;
63
+ display: none;
64
+ }
65
+
66
+ .dark .v-popper--theme-not-cursor .v-popper__inner {
67
+ --at-apply: shadow-[none] rounded-8px border border-solid border-[#4b4f53];
68
+ background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
69
+ }
70
+ </style>
@@ -1,8 +1,8 @@
1
1
  <script setup lang="ts">
2
2
  import type { Menu } from '#/menu';
3
- import { PubinfoIcon } from '@/components';
4
3
  import { useElementSize } from '@vueuse/core';
5
4
  import SolarWidget5BoldDuotone from '~icons/solar/widget-5-bold-duotone';
5
+ import { PubinfoIcon } from '@/features/components';
6
6
  import { useContext } from '../../../composables/useContext';
7
7
  import useMenu from '../../../composables/useMenu';
8
8
  import More from './More.vue';
@@ -31,8 +31,6 @@ const menuRef = ref<HTMLElement | null>();
31
31
  const { width } = useElementSize(menuRef);
32
32
  const menuHideIndex = ref(0);
33
33
 
34
- watchMenuItem();
35
-
36
34
  const moreApple = computed(() => {
37
35
  return menuHideIndex.value === menuStore.allMenus.length - 1;
38
36
  });
@@ -42,19 +40,6 @@ function moreApplyClick(index: number, item: Menu.recordMainRaw) {
42
40
  switchTo(menuIndex, item);
43
41
  }
44
42
 
45
- function watchMenuItem() {
46
- onMounted(() => {
47
- watch(
48
- width,
49
- () => {
50
- menuHideIndex.value = fitMenus();
51
- },
52
- {
53
- immediate: true,
54
- });
55
- });
56
- }
57
-
58
43
  // 计算顶部菜单宽度
59
44
  function fitMenus() {
60
45
  const containerRoot = menuRef.value!;
@@ -89,6 +74,17 @@ function fitMenus() {
89
74
 
90
75
  return restrictedIndex;
91
76
  }
77
+
78
+ onMounted(() => {
79
+ watch(
80
+ width,
81
+ () => {
82
+ menuHideIndex.value = fitMenus();
83
+ },
84
+ {
85
+ immediate: true,
86
+ });
87
+ });
92
88
  </script>
93
89
 
94
90
  <template>
@@ -99,7 +95,7 @@ function fitMenus() {
99
95
  [`menu-active-${settingsStore.settings.menu.menuActiveStyle}`]: settingsStore.settings.menu.menuActiveStyle !== '',
100
96
  }"
101
97
  >
102
- <template v-for="(item, index) in menuStore.allMenus" :key="index">
98
+ <template v-for="(item, index) in menuStore.allMenus" :key="item?.meta?.title || index">
103
99
  <div
104
100
  class="menu-item relative transition-all"
105
101
  invisible
@@ -109,7 +105,7 @@ function fitMenus() {
109
105
  'is-dev': item.meta?.isDev,
110
106
  }"
111
107
  >
112
- <NotCursor :is-cursor="item.meta?.isDev">
108
+ <NotCursor :is-cursor="item.meta?.isDev" :dev-text="item.meta?.devText">
113
109
  <div
114
110
  v-if="(item.children && item.children.length !== 0) || item?.meta?.isDev"
115
111
  class="group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-5 py-4 text-[var(--g-header-menu-color)] transition-all hover:(bg-[var(--g-header-menu-hover-bg)] text-[var(--g-header-menu-hover-color)])"
@@ -0,0 +1,171 @@
1
+ <script setup lang="ts">
2
+ import { useContext } from '../../composables/useContext';
3
+ import Logo from '../Logo/index.vue';
4
+ import Tools from '../Tools/index.vue';
5
+
6
+ defineOptions({
7
+ name: 'LayoutHeader',
8
+ });
9
+
10
+ const TopMode = defineAsyncComponent(() => import('./TopMode/index.vue'));
11
+ const TopThinMode = defineAsyncComponent(() => import('./TopThinMode.vue'));
12
+
13
+ const { settingsStore } = useContext();
14
+ </script>
15
+
16
+ <template>
17
+ <Transition name="header">
18
+ <header v-if="settingsStore.mode === 'pc' && ['head', 'only-head'].includes(settingsStore.settings.menu.menuMode)">
19
+ <div class="header-container">
20
+ <div class="main">
21
+ <slot name="logo">
22
+ <Logo />
23
+ </slot>
24
+
25
+ <slot name="menu">
26
+ <!-- 顶部模式 -->
27
+ <TopMode v-if="settingsStore.settings.menu.menuMode === 'head'" />
28
+ <!-- 顶部精简模式 -->
29
+ <TopThinMode v-else-if="settingsStore.settings.menu.menuMode === 'only-head'" />
30
+ </slot>
31
+ </div>
32
+
33
+ <slot name="tools">
34
+ <Tools />
35
+ </slot>
36
+ </div>
37
+ </header>
38
+ </Transition>
39
+ </template>
40
+
41
+ <style scoped>
42
+ [data-app-width-mode="center"] header,
43
+ [data-app-width-mode="center-max-width"] header {
44
+ --at-apply: w-[--g-app-width] max-w-full;
45
+ }
46
+
47
+ header {
48
+ --at-apply: fixed top-0 right-0 left-0 z-1000 flex items-center w-full h-[--g-header-height] mx-auto my-0 px-5 py-0 text-[--g-header-color] bg-[--g-header-bg];
49
+ transition: background-color 0.3s;
50
+ }
51
+
52
+ .header-container {
53
+ --at-apply: flex items-center justify-between w-[--g-header-width] h-full mx-auto my-0;
54
+ }
55
+
56
+ :deep(.main) {
57
+ --at-apply: flex flex-[auto] flex-nowrap items-center w-0 h-full;
58
+ }
59
+
60
+ :deep(.main .menu-active-arrow .item-container::before),
61
+ :deep(.main .menu-active-arrow .menu-item::before) {
62
+ --at-apply: absolute -translate-x-2/4 w-0 h-0 content-empty border-b-[color:var(--g-header-bg)] opacity-0 transition-all duration-[0.3s] border-b-[5px] border-x-[5px] border-x-transparent border-solid left-2/4 bottom-0;
63
+ }
64
+
65
+ :deep(.main .menu-active-arrow .item-container.active::before),
66
+ :deep(.main .menu-active-arrow .menu-item.active::before) {
67
+ --at-apply: bottom-2 op-100;
68
+ }
69
+
70
+ :deep(.main .menu-active-line .item-container::before),
71
+ :deep(.main .menu-active-line .menu-item::before) {
72
+ --at-apply: absolute -translate-x-2/4 w-0 h-1 content-empty bg-[--g-header-menu-active-bg] opacity-0 transition-all duration-[0.3s] rounded-sm left-2/4 bottom-1.5;
73
+ box-shadow: 0 0 0 1px var(--g-header-bg);
74
+ }
75
+
76
+ :deep(.main .menu-active-line .item-container.active::before),
77
+ :deep(.main .menu-active-line .menu-item.active::before) {
78
+ --at-apply: w-5 op-100;
79
+ }
80
+
81
+ :deep(.main .menu-active-dot .item-container::before),
82
+ :deep(.main .menu-active-dot .menu-item::before) {
83
+ --at-apply: absolute -translate-x-2/4 w-2.5 h-2.5 content-empty bg-[--g-header-menu-active-bg]
84
+ opacity-0 transition-all duration-[0.3s] rounded-[50%] left-2/4 bottom-0;
85
+ box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
86
+ }
87
+
88
+ :deep(.main .menu-active-dot .item-container.active::before),
89
+ :deep(.main .menu-active-dot .menu-item.active::before) {
90
+ --at-apply: bottom-1 op-100;
91
+ }
92
+
93
+ :deep(.menu-container) {
94
+ --at-apply: flex-1 h-full overflow-x-auto mx-[30px] my-0 px-5 py-0;
95
+ scrollbar-width: none;
96
+ mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
97
+ }
98
+
99
+ :deep(.menu-container::-webkit-scrollbar) {
100
+ --at-apply: hidden;
101
+ }
102
+
103
+ :deep(.menu-container.nothin) {
104
+ --at-apply: flex;
105
+ }
106
+
107
+ :deep(.menu-container .menu-item-container-layout) {
108
+ --at-apply: flex flex-row w-auto;
109
+ }
110
+
111
+ :deep(.menu) {
112
+ --at-apply: inline-flex h-full bg-[--g-header-bg];
113
+ }
114
+
115
+ :deep(.menu .menu-item .v-popper--theme-not-cursor) {
116
+ --at-apply: h-full;
117
+ }
118
+
119
+ :deep(.menu .menu-item .menu-item-container) {
120
+ --at-apply: px-1.5 py-0 text-[--g-header-menu-color] bg-[--g-header-menu-bg];
121
+ }
122
+
123
+ :deep(.menu .menu-item .menu-item-container:hover) {
124
+ color: var(--g-header-menu-hover-color);
125
+ background-color: var(--g-header-menu-hover-bg);
126
+ }
127
+
128
+ :deep(.menu .menu-item .menu-item-container .menu-item-container-icon) {
129
+ transform: scale(1);
130
+ }
131
+
132
+ :deep(.menu .menu-item.is-dev .menu-item-container) {
133
+ --at-apply: cursor-not-allowed;
134
+ }
135
+
136
+ :deep(.menu .menu-item.is-dev .menu-item-container i) {
137
+ filter: grayscale(100%);
138
+ }
139
+
140
+ :deep(.menu .menu-item.is-dev .menu-item-container span) {
141
+ --at-apply: op-80;
142
+ }
143
+
144
+ :deep(.menu .menu-item.active .menu-item-container) {
145
+ color: var(--g-header-menu-active-color);
146
+ background-color: var(--g-header-menu-active-bg);
147
+ }
148
+
149
+ :deep(.tools) {
150
+ --at-apply: p-0;
151
+ }
152
+
153
+ :deep(.tools .buttons .item .icon) {
154
+ color: var(--g-header-color);
155
+ }
156
+
157
+ :deep(.tools .user-container) {
158
+ --at-apply: text-16px;
159
+ color: var(--g-header-color);
160
+ }
161
+
162
+ .header-enter-active,
163
+ .header-leave-active {
164
+ transition: transform 0.3s;
165
+ }
166
+
167
+ .header-enter-from,
168
+ .header-leave-to {
169
+ transform: translateY(calc(var(--g-header-height) * -1));
170
+ }
171
+ </style>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { PubinfoIcon } from '@/components';
2
+ import { PubinfoIcon } from '@/features/components';
3
3
  import { useContext } from '../../composables/useContext';
4
4
 
5
5
  defineOptions({
@@ -31,7 +31,7 @@ const to = computed(() => {
31
31
  <template>
32
32
  <RouterLink
33
33
  :to="to"
34
- class="logo h-[var(--g-sidebar-logo-height)] w-inherit flex-center gap-2 px-3 text-inherit no-underline"
34
+ class="relative w-max bg-inherit p-[inherit] h-[var(--g-sidebar-logo-height)] w-inherit flex-center gap-2 px-3 text-inherit no-underline"
35
35
  :class="{ 'cursor-pointer': settingsStore.settings.home.enable }"
36
36
  >
37
37
  <PubinfoIcon
@@ -40,7 +40,7 @@ const to = computed(() => {
40
40
  :size="30"
41
41
  color="transparent"
42
42
  />
43
- <span v-if="showTitle" class="title block truncate">
43
+ <span v-if="showTitle" class="text-19px font-semibold block truncate">
44
44
  <slot>
45
45
  {{ appTitle }}
46
46
  </slot>
@@ -48,23 +48,8 @@ const to = computed(() => {
48
48
  </RouterLink>
49
49
  </template>
50
50
 
51
- <style lang="scss" scoped>
52
- .title {
53
- font-size: 19px;
54
- font-weight: 600;
55
- }
56
-
57
- .logo {
58
- position: relative;
59
- width: max-content;
60
- height: inherit;
61
- padding: inherit;
62
- background-color: inherit;
63
- }
64
-
51
+ <style scoped>
65
52
  span {
66
- font-size: 24px;
67
- color: var(--g-header-color);
68
- letter-spacing: 1px;
53
+ --at-apply: text-2xl text-[--g-header-color] tracking-px;
69
54
  }
70
55
  </style>
@@ -36,7 +36,7 @@ const isMenuPopup = computed<MenuInjection['isMenuPopup']>(() => {
36
36
  function initItems(menu: MenuProps['menu'], parentPaths: string[] = []) {
37
37
  menu.forEach((item) => {
38
38
  const index = item.path ?? JSON.stringify(item);
39
- if (item.children) {
39
+ if (item.children && item.children.length > 0) {
40
40
  const indexPath = [...parentPaths, index];
41
41
  subMenus.value[index] = {
42
42
  index,
@@ -183,9 +183,9 @@ provide(rootMenuInjectionKey, reactive({
183
183
  }"
184
184
  >
185
185
  <template v-for="(item, index) in menu" :key="index">
186
- <SubMenu v-if="item.children?.length" :menu="item" :unique-key="[item.path ?? JSON.stringify(item)]" />
186
+ <SubMenu v-if="item.children?.length && item.meta?.sidebar !== false" :menu="item" :unique-key="[item.path ?? JSON.stringify(item)]" />
187
187
  <Item
188
- v-else
188
+ v-else-if="item.meta?.sidebar !== false"
189
189
  :item="item"
190
190
  :unique-key="[item.path ?? JSON.stringify(item)]"
191
191
  @click="handleMenuItemClick(item.path ?? JSON.stringify(item), item.meta)"