@pubinfo/core 2.0.0-beta.8 → 2.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (628) hide show
  1. package/dist/{AppSetting-BQT7OI6K.js → AppSetting-Bblni_W7.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-A7PnhNKK.js} +12 -14
  3. package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
  4. package/dist/HToggle-xibvPpmf.js +34 -0
  5. package/dist/PreferencesContent--JtPw_LT.js +923 -0
  6. package/dist/{SettingBreadcrumb-CgugOTgx.js → SettingBreadcrumb-BwhdAtkC.js} +9 -9
  7. package/dist/{SettingCopyright-BPeCJBLi.js → SettingCopyright-DPsRDagL.js} +8 -8
  8. package/dist/{SettingEnableTransition-BK0_EH_N.js → SettingEnableTransition-mtHTUb08.js} +20 -21
  9. package/dist/{SettingHome-DGnxlXLd.js → SettingHome-agxHFIKq.js} +20 -20
  10. package/dist/{SettingMenu-BqAd9zbL.js → SettingMenu-D6WwcOw-.js} +26 -26
  11. package/dist/{SettingMode-CgA3XDwW.js → SettingMode-CkmhszlD.js} +11 -12
  12. package/dist/{SettingNavSearch-WFnkcRQ3.js → SettingNavSearch-CEB5DZGf.js} +9 -9
  13. package/dist/{SettingOther-CG4RI6mO.js → SettingOther-Dzs1uwnC.js} +13 -13
  14. package/dist/SettingPage-bOThkL2-.js +29 -0
  15. package/dist/{SettingTabbar-CQA6ZT9l.js → SettingTabbar-L6yQxAeE.js} +18 -18
  16. package/dist/SettingThemes-Cxa5bR66.js +142 -0
  17. package/dist/{SettingToolbar-DdR2940j.js → SettingToolbar-BZ2uHom2.js} +10 -10
  18. package/dist/{SettingTopbar-C_jYO_Ax.js → SettingTopbar-hptxTh8m.js} +16 -16
  19. package/dist/{SettingWidthMode-ir_28SE3.js → SettingWidthMode-D2R2W4-n.js} +19 -20
  20. package/dist/{TopThinMode-jHDpKsma.js → TopThinMode-C26i10py.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/{layout/components/Topbar/Tabbar/MoreAction.vue.d.ts → built-in/layout-component/components/Tools/index.vue.d.ts} +18 -2
  37. package/dist/{layout/components/Tools/index.vue.d.ts → built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts} +45 -61
  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/{layout → built-in/layout-component}/composables/useHotkey.d.ts +1 -1
  44. package/dist/{layout → built-in/layout-component}/composables/useMenu.d.ts +1 -1
  45. package/dist/{layout → built-in/layout-component}/index.d.ts +5 -4
  46. package/dist/built-in/layout-component/utils/eventBus.d.ts +5 -0
  47. package/dist/built-in/layout-component/utils/index.d.ts +3 -0
  48. package/dist/{utils → built-in/layout-component/utils}/watermark.d.ts +1 -1
  49. package/dist/built-in/locales/helpler.d.ts +594 -0
  50. package/dist/built-in/locales/index.d.ts +5 -0
  51. package/dist/built-in/n-progress/index.d.ts +6 -0
  52. package/dist/built-in/pinia-plugin/enum.d.ts +1 -0
  53. package/dist/built-in/pinia-plugin/index.d.ts +5 -0
  54. package/dist/built-in/pinia-plugin/plugins/persist.d.ts +3 -0
  55. package/dist/built-in/pre-access/index.d.ts +7 -0
  56. package/dist/built-in/settings/index.d.ts +5 -0
  57. package/dist/built-in/settings/router.d.ts +3 -0
  58. package/dist/{colors-gu4NABiz.js → colors-C8I6Fdyp.js} +1 -1
  59. package/dist/core/create.d.ts +2 -0
  60. package/dist/core/ctx.d.ts +1 -0
  61. package/dist/core/index.d.ts +4 -0
  62. package/dist/core/interface.d.ts +74 -0
  63. package/dist/{modules.d.ts → core/modules.d.ts} +9 -0
  64. package/dist/{api/index.d.ts → core/request.d.ts} +2 -4
  65. package/dist/core/resolver/icon.d.ts +5 -0
  66. package/dist/core/resolver/index.d.ts +4 -0
  67. package/dist/core/resolver/layout.d.ts +2 -0
  68. package/dist/core/resolver/page.d.ts +17 -0
  69. package/dist/core/resolver/resolver.d.ts +10 -0
  70. package/dist/{api → features/api}/modules/auth/renzhengfuwu.d.ts +7 -0
  71. package/dist/{api → features/api}/modules/configData/index.d.ts +1 -1
  72. package/dist/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -0
  73. package/dist/{api → features/api}/modules/rbac/ziyuanjiekou.d.ts +7 -0
  74. package/dist/features/api/request.d.ts +2 -0
  75. package/dist/{assets → features/assets}/styles/index.d.ts +2 -3
  76. package/dist/{composables → features/composables}/auth.d.ts +1 -1
  77. package/dist/features/context/index.d.ts +12 -0
  78. package/dist/features/enum.d.ts +21 -0
  79. package/dist/features/index.d.ts +7 -0
  80. package/dist/features/router/asyncRoutes.d.ts +14 -0
  81. package/dist/features/router/index.d.ts +2 -0
  82. package/dist/features/router/systemRoutes.d.ts +9 -0
  83. package/dist/features/stores/index.d.ts +1 -0
  84. package/dist/{stores → features/stores}/modules/favorites.d.ts +2 -2
  85. package/dist/{stores → features/stores}/modules/route.d.ts +6 -6
  86. package/dist/{stores → features/stores}/modules/tabbar.d.ts +1 -1
  87. package/dist/features/stores/modules/user.d.ts +36 -0
  88. package/dist/features/stores/utils/crypto.d.ts +1 -0
  89. package/dist/features/stores/utils/index.d.ts +2 -0
  90. package/dist/features/stores/utils/routerHelper.d.ts +17 -0
  91. package/dist/{reload-CUcPYtl7.js → index-BD2fkZis.js} +5 -5
  92. package/dist/index-CkyHqPON.js +139 -0
  93. package/dist/{index-NpS61xSA.js → index-D3zjK9rd.js} +54 -54
  94. package/dist/index-D948mfZb.js +49 -0
  95. package/dist/{index-CWIfG62O.js → index-DZ6SbWiv.js} +1804 -1897
  96. package/dist/{index-CjsnFBwd.js → index-DdS6qgK_.js} +7733 -8240
  97. package/dist/index-DeWCd_-p.js +44 -0
  98. package/dist/index-EOTrQlGo.js +258 -0
  99. package/dist/index-RwbJwutI.js +52514 -0
  100. package/dist/index-xzfvpJSq.js +234 -0
  101. package/dist/index.d.ts +23 -11
  102. package/dist/index.js +59 -72
  103. package/dist/pick-D6j4F3UM.js +12 -0
  104. package/dist/style.css +3 -3
  105. package/dist/utils/index.d.ts +4 -13
  106. package/dist/utils/path.d.ts +1 -0
  107. package/dist/utils/proxy.d.ts +1 -0
  108. package/dist/utils/storage.d.ts +1 -2
  109. package/package.json +41 -43
  110. package/src/built-in/authentication/helper.ts +55 -0
  111. package/src/built-in/authentication/index.ts +42 -0
  112. package/src/built-in/authentication/interface.ts +7 -0
  113. package/src/{pages/system → built-in/authentication/pages}/change-organization/index.vue +29 -43
  114. package/src/built-in/authentication/pages/change-password/assets/login-small.png +0 -0
  115. package/src/built-in/authentication/pages/change-password/assets/login-small_dark.webp +0 -0
  116. package/src/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue +1 -1
  117. package/src/{pages/system → built-in/authentication/pages}/change-password/index.vue +19 -36
  118. package/src/built-in/authentication/router.ts +57 -0
  119. package/src/{directives/plugins/permission.ts → built-in/authorization/directives.ts} +6 -7
  120. package/src/built-in/authorization/helper.ts +11 -0
  121. package/src/built-in/authorization/index.ts +25 -0
  122. package/src/{pages/system → built-in/authorization/pages}/not-permission/index.vue +9 -13
  123. package/src/{route/guard/auth.ts → built-in/authorization/router.ts} +39 -9
  124. package/src/built-in/index.ts +8 -0
  125. package/src/built-in/layout-component/Layout.vue +273 -0
  126. package/src/{layout → built-in/layout-component}/components/Content/IframeView.vue +1 -2
  127. package/src/{layout → built-in/layout-component}/components/Content/LinkView.vue +2 -2
  128. package/src/built-in/layout-component/components/Content/index.vue +146 -0
  129. package/src/{layout → built-in/layout-component}/components/Copyright/index.vue +7 -8
  130. package/src/{layout → built-in/layout-component}/components/Header/TopMode/More.vue +26 -34
  131. package/src/built-in/layout-component/components/Header/TopMode/NotCursor.vue +70 -0
  132. package/src/{layout → built-in/layout-component}/components/Header/TopMode/index.vue +14 -18
  133. package/src/built-in/layout-component/components/Header/index.vue +171 -0
  134. package/src/{layout → built-in/layout-component}/components/Logo/index.vue +5 -20
  135. package/src/{layout → built-in/layout-component}/components/Menu/index.vue +3 -3
  136. package/src/{layout → built-in/layout-component}/components/Menu/item.vue +22 -27
  137. package/src/{layout → built-in/layout-component}/components/Menu/types.ts +1 -1
  138. package/src/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue +11 -11
  139. package/src/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue +26 -120
  140. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +190 -0
  141. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +154 -0
  142. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue +55 -90
  143. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue +63 -71
  144. package/src/built-in/layout-component/components/SettingBar/index.vue +81 -0
  145. package/src/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue +87 -135
  146. package/src/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue +50 -59
  147. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +15 -0
  148. package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +70 -0
  149. package/src/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue +214 -278
  150. package/src/{layout → built-in/layout-component}/components/Tools/Search.vue +5 -5
  151. package/src/{layout → built-in/layout-component}/components/Tools/index.vue +9 -15
  152. package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/MoreAction.vue +98 -145
  153. package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue +293 -405
  154. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue +5 -5
  155. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/index.vue +40 -57
  156. package/src/{layout → built-in/layout-component}/components/Topbar/index.vue +16 -19
  157. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue +1 -1
  158. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue +1 -1
  159. package/src/built-in/layout-component/components/ui/HDivider.vue +24 -0
  160. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue +1 -1
  161. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue +1 -1
  162. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue +1 -1
  163. package/src/built-in/layout-component/components/ui/HToggle.vue +133 -0
  164. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue +1 -1
  165. package/src/{layout → built-in/layout-component}/composables/useContext.ts +2 -2
  166. package/src/{layout → built-in/layout-component}/composables/useGetComputedStyle.ts +1 -1
  167. package/src/{layout → built-in/layout-component}/composables/useHotkey.ts +1 -1
  168. package/src/{layout → built-in/layout-component}/composables/useMainPage.ts +2 -2
  169. package/src/{layout → built-in/layout-component}/composables/useMenu.ts +1 -1
  170. package/src/{layout → built-in/layout-component}/composables/useTabbar.ts +1 -1
  171. package/src/{layout → built-in/layout-component}/composables/useTitle.ts +1 -1
  172. package/src/{layout → built-in/layout-component}/composables/useWatermark.ts +4 -4
  173. package/src/{layout → built-in/layout-component}/index.ts +38 -16
  174. package/src/{layout → built-in/layout-component}/provider.ts +8 -2
  175. package/src/built-in/layout-component/utils/eventBus.ts +8 -0
  176. package/src/built-in/layout-component/utils/index.ts +3 -0
  177. package/src/{utils → built-in/layout-component/utils}/watermark.ts +2 -2
  178. package/src/{locales/index.ts → built-in/locales/helpler.ts} +13 -17
  179. package/src/built-in/locales/index.ts +20 -0
  180. package/src/built-in/n-progress/index.ts +31 -0
  181. package/src/built-in/n-progress/nprogress.css +68 -0
  182. package/src/built-in/pinia-plugin/enum.ts +1 -0
  183. package/src/{stores → built-in/pinia-plugin}/helper.ts +3 -3
  184. package/src/built-in/pinia-plugin/index.ts +27 -0
  185. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.ts +1 -1
  186. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.ts +6 -7
  187. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.ts +3 -3
  188. package/src/built-in/pinia-plugin/plugins/persist.ts +21 -0
  189. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.ts +7 -8
  190. package/src/built-in/pre-access/index.ts +20 -0
  191. package/src/built-in/settings/index.ts +15 -0
  192. package/src/{route/guard/setting.ts → built-in/settings/router.ts} +3 -2
  193. package/src/core/create.ts +70 -0
  194. package/src/core/ctx.ts +3 -0
  195. package/src/core/index.ts +4 -0
  196. package/src/core/interface.ts +89 -0
  197. package/src/{modules.ts → core/modules.ts} +19 -5
  198. package/src/core/request.ts +52 -0
  199. package/src/core/resolver/icon.ts +75 -0
  200. package/src/core/resolver/index.ts +4 -0
  201. package/src/core/resolver/layout.ts +23 -0
  202. package/src/core/resolver/page.ts +89 -0
  203. package/src/core/resolver/resolver.ts +25 -0
  204. package/src/{api → features/api}/modules/auth/renzhengfuwu.ts +47 -15
  205. package/src/{api → features/api}/modules/auth/typings.d.ts +34 -28
  206. package/src/{api → features/api}/modules/configData/heibaimingdanfuwu.ts +13 -4
  207. package/src/{api → features/api}/modules/configData/index.ts +1 -1
  208. package/src/{api → features/api}/modules/configData/typings.d.ts +79 -79
  209. package/src/{api → features/api}/modules/configData/xitongpeizhifuwu.ts +43 -19
  210. package/src/{api/modules/configData/zidianfuwu.ts → features/api/modules/configData/zidifuwu.ts} +41 -11
  211. package/src/{api → features/api}/modules/rbac/gangweijiekou.ts +25 -10
  212. package/src/{api → features/api}/modules/rbac/jiaosejiekou.ts +25 -10
  213. package/src/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.ts +46 -7
  214. package/src/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +27 -13
  215. package/src/{api → features/api}/modules/rbac/typings.d.ts +323 -304
  216. package/src/{api → features/api}/modules/rbac/yonghujiekou.ts +49 -16
  217. package/src/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.ts +21 -6
  218. package/src/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +13 -4
  219. package/src/{api → features/api}/modules/rbac/ziyuanjiekou.ts +44 -5
  220. package/src/{api → features/api}/modules/rbac/zuhuguanlijiekou.ts +21 -12
  221. package/src/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +13 -4
  222. package/src/{api → features/api}/modules/rbac/zuzhijiekou.ts +29 -11
  223. package/src/features/api/request.ts +5 -0
  224. package/src/{api → features/api}/system/user.ts +1 -1
  225. package/src/features/assets/styles/globals.css +188 -0
  226. package/src/{assets → features/assets}/styles/index.ts +2 -3
  227. package/src/features/assets/styles/rbac.css +51 -0
  228. package/src/features/assets/styles/resources/utils.css +53 -0
  229. package/src/features/assets/styles/resources/variables.css +5 -0
  230. package/src/features/components/MicroAppContainer/index.vue +9 -0
  231. package/src/features/components/NotAllowed/assets/403.svg +1 -0
  232. package/src/features/components/NotAllowed/assets/403_dark.svg +1 -0
  233. package/src/{components → features/components}/NotAllowed/index.vue +6 -8
  234. package/src/{components → features/components}/PassStrengthValidator/index.vue +33 -48
  235. package/src/{components → features/components}/PassStrengthValidator/rule.vue +13 -25
  236. package/src/{components → features/components}/PubinfoApp/index.vue +2 -1
  237. package/src/features/components/PubinfoIcon/index.vue +140 -0
  238. package/src/{components → features/components}/PubinfoProvider/index.ts +1 -2
  239. package/src/{composables → features/composables}/auth.ts +2 -2
  240. package/src/{composables → features/composables}/theme.ts +1 -1
  241. package/src/{composables → features/composables}/watchDiff.ts +1 -1
  242. package/src/features/context/index.ts +40 -0
  243. package/src/features/enum.ts +21 -0
  244. package/src/features/index.ts +8 -0
  245. package/src/{pages/system/[...all].vue → features/pages/not-found/index.vue} +6 -8
  246. package/src/{pages/personal → features/pages}/profile/index.vue +1 -1
  247. package/src/features/router/asyncRoutes.ts +35 -0
  248. package/src/features/router/index.ts +2 -0
  249. package/src/features/router/systemRoutes.ts +45 -0
  250. package/src/{config/settings.ts → features/settings/index.ts} +0 -1
  251. package/src/{stores/enum/index.ts → features/stores/enum.ts} +0 -1
  252. package/src/features/stores/index.ts +1 -0
  253. package/src/{stores → features/stores}/modules/keepAlive.ts +1 -0
  254. package/src/{stores → features/stores}/modules/menu.ts +44 -6
  255. package/src/{stores → features/stores}/modules/route.ts +89 -65
  256. package/src/{stores → features/stores}/modules/settings.ts +27 -10
  257. package/src/{stores → features/stores}/modules/tabbar.ts +8 -5
  258. package/src/{stores → features/stores}/modules/user.ts +60 -25
  259. package/src/{utils → features/stores/utils}/crypto.ts +7 -10
  260. package/src/features/stores/utils/index.ts +2 -0
  261. package/src/features/stores/utils/routerHelper.ts +221 -0
  262. package/src/index.ts +117 -12
  263. package/src/utils/cleanup.ts +1 -1
  264. package/src/utils/index.ts +4 -43
  265. package/src/utils/path.ts +5 -0
  266. package/src/utils/proxy.ts +36 -0
  267. package/src/utils/storage.ts +2 -4
  268. package/types/auto-imports.d.ts +3 -10
  269. package/types/components.d.ts +16 -15
  270. package/types/menu.d.ts +2 -0
  271. package/types/module.d.ts +2 -15
  272. package/types/settings.d.ts +0 -8
  273. package/types/tabbar.d.ts +1 -0
  274. package/types/vue-router.d.ts +11 -7
  275. package/dist/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -25
  276. package/dist/HDivider-DgXBhPr0.js +0 -21
  277. package/dist/HToggle-Cd71WKvG.js +0 -34
  278. package/dist/PreferencesContent-MR1Db7z7.js +0 -972
  279. package/dist/SettingPage-C1CT1Mm8.js +0 -29
  280. package/dist/SettingThemes-BJu9czNK.js +0 -144
  281. package/dist/_...all_-18BnHmEa.js +0 -52
  282. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  283. package/dist/api/helper.d.ts +0 -32
  284. package/dist/api/interface.d.ts +0 -14
  285. package/dist/api/request.d.ts +0 -2
  286. package/dist/api/system/app.d.ts +0 -17
  287. package/dist/config/index.d.ts +0 -1
  288. package/dist/context.d.ts +0 -14
  289. package/dist/create.d.ts +0 -3
  290. package/dist/directives/index.d.ts +0 -4
  291. package/dist/directives/plugins/permission.d.ts +0 -6
  292. package/dist/index-C1p_tY7i.js +0 -49
  293. package/dist/index-CCPTQYuB.js +0 -12910
  294. package/dist/index-CNUEMTao.js +0 -354
  295. package/dist/index-CmXo8ShY.js +0 -276
  296. package/dist/index-DL8Y7jFG.js +0 -137
  297. package/dist/index-DTQQt_XY.js +0 -10
  298. package/dist/index-Dj8zy7hH.js +0 -230
  299. package/dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js +0 -2300
  300. package/dist/interface.d.ts +0 -29
  301. package/dist/locales/index.d.ts +0 -301
  302. package/dist/menu-CLiZ1BO_.js +0 -15315
  303. package/dist/pick-C9bU8_xv.js +0 -19
  304. package/dist/request.js +0 -1811
  305. package/dist/route/async.d.ts +0 -9
  306. package/dist/route/guard/auth.d.ts +0 -3
  307. package/dist/route/guard/basic.d.ts +0 -3
  308. package/dist/route/guard/index.d.ts +0 -3
  309. package/dist/route/guard/setting.d.ts +0 -3
  310. package/dist/route/index.d.ts +0 -7
  311. package/dist/route/routes.d.ts +0 -3
  312. package/dist/stores/index.d.ts +0 -5
  313. package/dist/stores/modules/user.d.ts +0 -4
  314. package/dist/stores/plugin/persist.d.ts +0 -5
  315. package/dist/stores/plugin/sideEffect/index.d.ts +0 -5
  316. package/dist/utils/crypto.d.ts +0 -4
  317. package/dist/utils/eventBus.d.ts +0 -5
  318. package/src/api/helper.ts +0 -64
  319. package/src/api/index.ts +0 -75
  320. package/src/api/interface.ts +0 -15
  321. package/src/api/request.ts +0 -4
  322. package/src/api/system/app.ts +0 -28
  323. package/src/assets/icons/add-child.svg +0 -1
  324. package/src/assets/icons/authority.svg +0 -1
  325. package/src/assets/icons/authorize.svg +0 -1
  326. package/src/assets/icons/blacklist-disable.svg +0 -1
  327. package/src/assets/icons/blacklist-enable.svg +0 -1
  328. package/src/assets/icons/browser-360.svg +0 -1
  329. package/src/assets/icons/browser-chrome.svg +0 -1
  330. package/src/assets/icons/browser-edge.svg +0 -1
  331. package/src/assets/icons/browser-ie.svg +0 -1
  332. package/src/assets/icons/browser-other.svg +0 -1
  333. package/src/assets/icons/browser-qq.svg +0 -1
  334. package/src/assets/icons/browser-safari.svg +0 -1
  335. package/src/assets/icons/browser-uc.svg +0 -1
  336. package/src/assets/icons/edit.svg +0 -1
  337. package/src/assets/icons/empty-data.svg +0 -1
  338. package/src/assets/icons/icard.svg +0 -1
  339. package/src/assets/icons/icon_animation.svg +0 -1
  340. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  341. package/src/assets/icons/icon_copyright.svg +0 -1
  342. package/src/assets/icons/icon_jt.svg +0 -1
  343. package/src/assets/icons/icon_layout.svg +0 -1
  344. package/src/assets/icons/icon_mainpage.svg +0 -1
  345. package/src/assets/icons/icon_menu.svg +0 -1
  346. package/src/assets/icons/icon_page_size.svg +0 -1
  347. package/src/assets/icons/icon_position_type.svg +0 -1
  348. package/src/assets/icons/icon_safe_manage.svg +0 -1
  349. package/src/assets/icons/icon_screen_scale.svg +0 -6
  350. package/src/assets/icons/icon_system_manage.svg +0 -1
  351. package/src/assets/icons/icon_tabbar.svg +0 -1
  352. package/src/assets/icons/icon_toolbar.svg +0 -1
  353. package/src/assets/icons/icon_topbar.svg +0 -1
  354. package/src/assets/icons/icon_watermark.svg +0 -1
  355. package/src/assets/icons/image-load-fail.svg +0 -1
  356. package/src/assets/icons/log-center.svg +0 -1
  357. package/src/assets/icons/logo-sig.svg +0 -1
  358. package/src/assets/icons/not-data.svg +0 -1
  359. package/src/assets/icons/org-main.svg +0 -1
  360. package/src/assets/icons/org-unmain.svg +0 -1
  361. package/src/assets/icons/process-management.svg +0 -1
  362. package/src/assets/icons/project-management.svg +0 -1
  363. package/src/assets/icons/rbac.svg +0 -1
  364. package/src/assets/icons/remove.svg +0 -1
  365. package/src/assets/icons/resource-app.svg +0 -1
  366. package/src/assets/icons/resource-btn.svg +0 -1
  367. package/src/assets/icons/resource-index.svg +0 -1
  368. package/src/assets/icons/resource-menu.svg +0 -1
  369. package/src/assets/icons/resource-nonmenu.svg +0 -1
  370. package/src/assets/icons/setting-manage.svg +0 -1
  371. package/src/assets/icons/test.svg +0 -1
  372. package/src/assets/icons/theme-check-mark.svg +0 -1
  373. package/src/assets/icons/theme-title.svg +0 -1
  374. package/src/assets/icons/tree_icon.svg +0 -1
  375. package/src/assets/icons/tree_icon_checked.svg +0 -1
  376. package/src/assets/icons/view.svg +0 -1
  377. package/src/assets/icons/workbench.svg +0 -1
  378. package/src/assets/icons/zddata.svg +0 -1
  379. package/src/assets/icons/zy_checked.svg +0 -1
  380. package/src/assets/icons/zy_default.svg +0 -1
  381. package/src/assets/images/layout/item1.webp +0 -0
  382. package/src/assets/images/layout/item1_dark.webp +0 -0
  383. package/src/assets/images/layout/item2.webp +0 -0
  384. package/src/assets/images/layout/item2_dark.webp +0 -0
  385. package/src/assets/images/layout/item3.webp +0 -0
  386. package/src/assets/images/layout/item3_dark.webp +0 -0
  387. package/src/assets/images/layout/item4.webp +0 -0
  388. package/src/assets/images/layout/item4_dark.webp +0 -0
  389. package/src/assets/images/layout/item5.webp +0 -0
  390. package/src/assets/images/layout/item5_dark.webp +0 -0
  391. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  392. package/src/assets/images/page-width/auto.webp +0 -0
  393. package/src/assets/images/page-width/auto_dark.webp +0 -0
  394. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  395. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  396. package/src/assets/images/page-width/icon_auto.webp +0 -0
  397. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  398. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  399. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  400. package/src/assets/images/page-width/icon_middle.webp +0 -0
  401. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  402. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  403. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  404. package/src/assets/images/page-width/middle.webp +0 -0
  405. package/src/assets/images/page-width/middle_dark.webp +0 -0
  406. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  407. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  408. package/src/assets/styles/globals.scss +0 -189
  409. package/src/assets/styles/nprogress.scss +0 -63
  410. package/src/assets/styles/rbac.scss +0 -61
  411. package/src/assets/styles/resources/utils.scss +0 -53
  412. package/src/assets/styles/resources/variables.scss +0 -6
  413. package/src/components/PubinfoIcon/index.vue +0 -85
  414. package/src/config/index.ts +0 -1
  415. package/src/context.ts +0 -30
  416. package/src/create.ts +0 -88
  417. package/src/directives/index.ts +0 -6
  418. package/src/interface.ts +0 -35
  419. package/src/layout/Layout.vue +0 -330
  420. package/src/layout/components/Content/index.vue +0 -100
  421. package/src/layout/components/Header/TopMode/NotCursor.vue +0 -77
  422. package/src/layout/components/Header/index.vue +0 -263
  423. package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +0 -215
  424. package/src/layout/components/SettingBar/components/SettingMode.vue +0 -164
  425. package/src/layout/components/SettingBar/index.vue +0 -112
  426. package/src/layout/components/Tools/Breadcrumb/index.vue +0 -21
  427. package/src/layout/components/Tools/DayNightSwitch.vue +0 -93
  428. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  429. package/src/layout/ui-kit/HDivider.vue +0 -53
  430. package/src/layout/ui-kit/HToggle.vue +0 -177
  431. package/src/pages/system/change-password/page.vue +0 -58
  432. package/src/pages/system/index.vue +0 -5
  433. package/src/route/async.ts +0 -18
  434. package/src/route/guard/basic.ts +0 -23
  435. package/src/route/guard/index.ts +0 -3
  436. package/src/route/index.ts +0 -12
  437. package/src/route/routes.ts +0 -101
  438. package/src/stores/index.ts +0 -10
  439. package/src/stores/plugin/persist.ts +0 -27
  440. package/src/stores/plugin/sideEffect/index.ts +0 -15
  441. package/src/utils/eventBus.ts +0 -15
  442. package/dist/{api/enum/code.d.ts → built-in/authentication/enum.d.ts} +0 -0
  443. package/dist/{components/NotAllowed → built-in/authentication/pages/change-organization}/index.vue.d.ts +0 -0
  444. package/dist/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  445. package/dist/{pages/system → built-in/authentication/pages}/change-password/index.vue.d.ts +0 -0
  446. package/dist/{layout/components/Topbar/Toolbar → built-in/authorization/pages/not-permission}/index.vue.d.ts +0 -0
  447. package/dist/{components/PubinfoApp → built-in/layout-component/components/BackTop}/index.vue.d.ts +0 -0
  448. package/dist/{layout → built-in/layout-component}/components/Content/IframeView.vue.d.ts +0 -0
  449. package/dist/{layout → built-in/layout-component}/components/Content/LinkView.vue.d.ts +0 -0
  450. package/dist/{layout/components/BackTop → built-in/layout-component/components/Content}/index.vue.d.ts +0 -0
  451. package/dist/{layout/components/Content → built-in/layout-component/components/Copyright}/index.vue.d.ts +0 -0
  452. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/index.vue.d.ts +0 -0
  453. package/dist/{layout → built-in/layout-component}/components/Header/TopThinMode.vue.d.ts +0 -0
  454. package/dist/{layout → built-in/layout-component}/components/Header/index.vue.d.ts +0 -0
  455. package/dist/{layout → built-in/layout-component}/components/Logo/index.vue.d.ts +0 -0
  456. package/dist/{layout → built-in/layout-component}/components/Menu/index.vue.d.ts +0 -0
  457. package/dist/{layout → built-in/layout-component}/components/Menu/item.vue.d.ts +0 -0
  458. package/dist/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue.d.ts +0 -0
  459. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  460. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  461. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  462. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  463. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  464. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  465. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  466. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  467. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  468. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  469. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  470. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  471. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  472. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  473. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  474. package/dist/{layout/components/Copyright → built-in/layout-component/components/SettingBar}/index.vue.d.ts +0 -0
  475. package/dist/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  476. package/dist/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  477. package/dist/{layout/components/SettingBar → built-in/layout-component/components/Sidebar}/index.vue.d.ts +0 -0
  478. package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  479. package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  480. package/dist/{layout → built-in/layout-component}/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  481. package/dist/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  482. package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  483. package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue.d.ts +0 -0
  484. package/dist/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  485. package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  486. package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  487. package/dist/{layout/components/Topbar → built-in/layout-component/components/Topbar/Toolbar}/index.vue.d.ts +0 -0
  488. package/dist/{pages/personal/profile → built-in/layout-component/components/Topbar}/index.vue.d.ts +0 -0
  489. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue.d.ts +0 -0
  490. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue.d.ts +1 -1
  491. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue.d.ts +2 -2
  492. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDivider.vue.d.ts +0 -0
  493. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue.d.ts +0 -0
  494. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue.d.ts +0 -0
  495. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue.d.ts +0 -0
  496. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue.d.ts +0 -0
  497. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue.d.ts +0 -0
  498. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue.d.ts +0 -0
  499. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HToggle.vue.d.ts +0 -0
  500. package/dist/{layout → built-in/layout-component}/composables/useGetComputedStyle.d.ts +0 -0
  501. package/dist/{layout → built-in/layout-component}/composables/useMainPage.d.ts +0 -0
  502. package/dist/{layout → built-in/layout-component}/composables/useTabbar.d.ts +0 -0
  503. package/dist/{layout → built-in/layout-component}/composables/useTitle.d.ts +0 -0
  504. package/dist/{layout → built-in/layout-component}/composables/useViewTransition.d.ts +0 -0
  505. package/dist/{layout → built-in/layout-component}/composables/useWatermark.d.ts +0 -0
  506. package/dist/{pages/system/change-organization → built-in/layout-component/pages/reload}/index.vue.d.ts +0 -0
  507. package/dist/{layout → built-in/layout-component}/provider.d.ts +0 -0
  508. package/dist/{utils → built-in/layout-component/utils}/injectionKeys.d.ts +0 -0
  509. package/dist/{locales → built-in/locales}/lang/en.json.d.ts +0 -0
  510. package/dist/{locales → built-in/locales}/lang/zh-cn.json.d.ts +0 -0
  511. package/dist/{locales → built-in/locales}/lang/zh-tw.json.d.ts +0 -0
  512. package/dist/{locales → built-in/locales}/ui.d.ts +0 -0
  513. package/dist/{stores → built-in/pinia-plugin}/helper.d.ts +0 -0
  514. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.d.ts +0 -0
  515. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.d.ts +0 -0
  516. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.d.ts +0 -0
  517. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.d.ts +0 -0
  518. package/dist/{utils → core}/utils.d.ts +0 -0
  519. package/dist/{api → features/api}/modules/auth/index.d.ts +0 -0
  520. package/dist/{api → features/api}/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  521. package/dist/{api → features/api}/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  522. package/dist/{api/modules/configData/zidianfuwu.d.ts → features/api/modules/configData/zidifuwu.d.ts} +0 -0
  523. package/dist/{api → features/api}/modules/rbac/gangweijiekou.d.ts +0 -0
  524. package/dist/{api → features/api}/modules/rbac/index.d.ts +0 -0
  525. package/dist/{api → features/api}/modules/rbac/jiaosejiekou.d.ts +0 -0
  526. package/dist/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  527. package/dist/{api → features/api}/modules/rbac/yonghujiekou.d.ts +0 -0
  528. package/dist/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  529. package/dist/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  530. package/dist/{api → features/api}/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  531. package/dist/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  532. package/dist/{api → features/api}/modules/rbac/zuzhijiekou.d.ts +0 -0
  533. package/dist/{api → features/api}/system/user.d.ts +0 -0
  534. package/dist/{pages/system → features/components/MicroAppContainer}/index.vue.d.ts +0 -0
  535. package/dist/{pages/system/not-permission → features/components/NotAllowed}/index.vue.d.ts +0 -0
  536. package/dist/{components → features/components}/PageHeader/index.vue.d.ts +0 -0
  537. package/dist/{components → features/components}/PageMain/index.vue.d.ts +0 -0
  538. package/dist/{components → features/components}/PassStrengthValidator/index.vue.d.ts +2 -2
  539. package/dist/{components → features/components}/PassStrengthValidator/rule.vue.d.ts +0 -0
  540. package/dist/{layout/components/Sidebar → features/components/PubinfoApp}/index.vue.d.ts +0 -0
  541. package/dist/{components → features/components}/PubinfoIcon/index.vue.d.ts +0 -0
  542. package/dist/{components → features/components}/PubinfoProvider/index.d.ts +0 -0
  543. package/dist/{components → features/components}/index.d.ts +0 -0
  544. package/dist/{composables → features/composables}/index.d.ts +0 -0
  545. package/dist/{composables → features/composables}/log.d.ts +0 -0
  546. package/dist/{composables → features/composables}/theme.d.ts +0 -0
  547. package/dist/{composables → features/composables}/watchDiff.d.ts +0 -0
  548. package/dist/{pages/system/[...all].vue.d.ts → features/pages/not-found/index.vue.d.ts} +0 -0
  549. package/dist/{pages/system/reload.vue.d.ts → features/pages/profile/index.vue.d.ts} +0 -0
  550. package/dist/{config/settings.d.ts → features/settings/index.d.ts} +0 -0
  551. package/dist/{stores/enum/index.d.ts → features/stores/enum.d.ts} +0 -0
  552. package/dist/{stores → features/stores}/modules/iframe.d.ts +0 -0
  553. package/dist/{stores → features/stores}/modules/index.d.ts +0 -0
  554. package/dist/{stores → features/stores}/modules/keepAlive.d.ts +0 -0
  555. package/dist/{stores → features/stores}/modules/menu.d.ts +0 -0
  556. package/dist/{stores → features/stores}/modules/settings.d.ts +0 -0
  557. package/src/{api/enum/code.ts → built-in/authentication/enum.ts} +0 -0
  558. package/src/{assets/icons → built-in/authentication/pages/change-organization/assets}/change-org.svg +0 -0
  559. package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small.png +0 -0
  560. package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small_dark.webp +0 -0
  561. package/src/{assets/icons → built-in/authentication/pages/change-password/assets}/mima.svg +0 -0
  562. package/src/{assets/icons → built-in/authorization/pages/not-permission}/403.svg +0 -0
  563. package/src/{assets/icons → built-in/authorization/pages/not-permission}/403_dark.svg +0 -0
  564. package/src/{assets → built-in/layout-component/assets}/icons/favorites.svg +0 -0
  565. package/src/{assets → built-in/layout-component/assets}/icons/toolbar-collapse.svg +0 -0
  566. package/src/{assets → built-in/layout-component/assets}/images/not-cursor.png +0 -0
  567. package/src/{layout → built-in/layout-component}/components/BackTop/index.vue +0 -0
  568. package/src/{layout → built-in/layout-component}/components/Header/TopThinMode.vue +0 -0
  569. package/src/{layout → built-in/layout-component}/components/Menu/sub.vue +0 -0
  570. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue +0 -0
  571. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue +0 -0
  572. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue +0 -0
  573. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue +0 -0
  574. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue +0 -0
  575. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue +0 -0
  576. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue +0 -0
  577. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue +0 -0
  578. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue +0 -0
  579. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue +0 -0
  580. package/src/{layout → built-in/layout-component}/components/Sidebar/index.vue +0 -0
  581. package/src/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue +0 -0
  582. package/src/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue +0 -0
  583. package/src/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue +0 -0
  584. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue +0 -0
  585. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue +0 -0
  586. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue +0 -0
  587. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue +0 -0
  588. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue +0 -0
  589. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue +0 -0
  590. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue +0 -0
  591. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue +0 -0
  592. package/src/{layout → built-in/layout-component}/composables/useViewTransition.ts +0 -0
  593. package/src/{pages/system/reload.vue → built-in/layout-component/pages/reload/index.vue} +0 -0
  594. package/src/{utils → built-in/layout-component/utils}/injectionKeys.ts +0 -0
  595. package/src/{locales → built-in/locales}/lang/en.json +0 -0
  596. package/src/{locales → built-in/locales}/lang/zh-cn.json +0 -0
  597. package/src/{locales → built-in/locales}/lang/zh-tw.json +0 -0
  598. package/src/{locales → built-in/locales}/ui.ts +0 -0
  599. package/src/{utils → core}/utils.ts +0 -0
  600. package/src/{api → features/api}/modules/auth/index.ts +0 -0
  601. package/src/{api → features/api}/modules/rbac/index.ts +0 -0
  602. package/src/{api → features/api}/system/typings.d.ts +0 -0
  603. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.eot +0 -0
  604. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.svg +0 -0
  605. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff +0 -0
  606. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff2 +0 -0
  607. package/src/{assets → features/assets}/fonts/digital-7/stylesheet.css +0 -0
  608. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
  609. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.svg +0 -0
  610. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
  611. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
  612. package/src/{assets → features/assets}/fonts/digital-7_mono/stylesheet.css +0 -0
  613. package/src/{assets → features/assets}/fonts/title.otf +0 -0
  614. package/src/{assets → features/assets}/images/change-org-bc.webp +0 -0
  615. package/src/{assets → features/assets}/images/header-bg.png +0 -0
  616. package/src/{assets → features/assets}/images/logo.png +0 -0
  617. package/src/{assets → features/assets}/images/org.svg +0 -0
  618. package/src/{assets → features/assets}/images/slider-bg.png +0 -0
  619. package/src/{components → features/components}/PageHeader/index.vue +0 -0
  620. package/src/{components → features/components}/PageMain/index.vue +0 -0
  621. package/src/{components → features/components}/index.ts +0 -0
  622. package/src/{composables → features/composables}/index.ts +0 -0
  623. package/src/{composables → features/composables}/log.ts +0 -0
  624. package/src/{assets/icons → features/pages/not-found/assets}/404.svg +0 -0
  625. package/src/{assets/icons → features/pages/not-found/assets}/404_dark.svg +0 -0
  626. package/src/{stores → features/stores}/modules/favorites.ts +1 -1
  627. /package/src/{stores → features/stores}/modules/iframe.ts +0 -0
  628. /package/src/{stores → features/stores}/modules/index.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  <script setup lang="ts">
2
2
  import type { colorScheme, cssVarKey } from '@pubinfo/config/themes';
3
- import { useTheme } from '@/composables';
4
- import { themes } from '@pubinfo/config/themes';
3
+ import { getThemes } from '@pubinfo/config/themes';
5
4
  import JamBookmarkF from '~icons/jam/bookmark-f';
6
5
  import PajamasCheckCircleFilled from '~icons/pajamas/check-circle-filled';
6
+ import { useTheme } from '@/features/composables';
7
7
  import { useContext } from '../../../composables/useContext';
8
8
  import DayNightToggle from './DayNightToggle.vue';
9
9
 
@@ -30,8 +30,10 @@ const benchmark: cssVarKey[] = [
30
30
  '--g-sub-sidebar-bg',
31
31
  ];
32
32
 
33
- const themeList = computed<ThemeListCard[]>(() =>
34
- Object.keys(themes).map((key) => {
33
+ const themeList = computed<ThemeListCard[]>(() => {
34
+ const themes = getThemes();
35
+
36
+ return Object.keys(themes).map((key) => {
35
37
  const value = themes[key];
36
38
  const colors = benchmark.map((cssVar) => {
37
39
  const cssValue = value[cssVar].startsWith('#')
@@ -48,8 +50,8 @@ const themeList = computed<ThemeListCard[]>(() =>
48
50
  };
49
51
  }).filter(cssVarScheme =>
50
52
  cssVarScheme.value['color-scheme'] === app.value.colorScheme,
51
- ),
52
- );
53
+ );
54
+ });
53
55
 
54
56
  function clickHandle(item: ThemeListCard) {
55
57
  const label = item.label;
@@ -100,7 +102,7 @@ function clickHandle(item: ThemeListCard) {
100
102
  </HDivider>
101
103
  </template>
102
104
 
103
- <style lang="scss" scoped>
105
+ <style scoped>
104
106
  .divider {
105
107
  --at-apply:
106
108
  flex
@@ -111,92 +113,55 @@ function clickHandle(item: ThemeListCard) {
111
113
  whitespace-nowrap
112
114
  text-sm
113
115
  font-500;
116
+ }
114
117
 
115
- &::before,
116
- &::after {
117
- --at-apply:
118
- content-empty
119
- w-full
120
- h-1px
121
- bg-stone-2
122
- dark:bg-stone-6;
123
- }
118
+ .divider::before,
119
+ .divider::after {
120
+ --at-apply:
121
+ content-empty
122
+ w-full
123
+ h-1px
124
+ bg-stone-2
125
+ dark:bg-stone-6;
124
126
  }
125
127
 
126
128
  .themes {
127
- box-sizing: border-box;
128
- display: grid;
129
- grid-template-columns: repeat(3, 125px);
130
- grid-gap: 15px;
131
- width: 100%;
132
-
133
- .theme {
134
- position: relative;
135
- box-sizing: border-box;
136
- height: 78px;
137
- padding: 15px;
138
- margin-bottom: 15px;
139
- color: #fff;
140
- cursor: pointer;
141
- background-color: #f7f8f9;
142
- border-radius: 12px;
143
- transition: all 0.2s ease-in-out;
144
-
145
- --at-apply: shadow dark:bg-dark-2;
146
-
147
- &:hover {
148
- transform: scale(1.05);
149
- }
150
-
151
- .explosion {
152
- position: absolute;
153
- top: -10px;
154
- right: -10px;
155
- z-index: 1;
156
- display: flex;
157
- align-items: center;
158
- justify-content: center;
159
- width: 24px;
160
- height: 24px;
161
- background-color: rgb(var(--ui-primary));
162
- border-radius: 50%;
163
- transition: all 0.3s;
164
- transform: scale(0);
165
- transform-origin: center;
166
- }
167
-
168
- &.active {
169
- box-shadow: 0 0 0 4px rgb(var(--ui-primary));
170
-
171
- .explosion {
172
- transform: scale(1);
173
- }
174
- }
175
-
176
- .theme-type {
177
- width: 100%;
178
- height: 16px;
179
- margin-top: 5px;
180
- margin-bottom: 10px;
181
- }
182
-
183
- .theme-point {
184
- display: grid;
185
- grid-template-columns: repeat(6, 15px);
186
- width: 100%;
187
- height: 20px;
188
-
189
- .point {
190
- box-sizing: border-box;
191
- width: 20px;
192
- height: 20px;
193
- margin-right: 5px;
194
- border: 2px solid #fff;
195
- border-radius: 50%;
196
-
197
- --at-apply: shadow shadow-stone-4 dark:shadow-stone-8;
198
- }
199
- }
200
- }
129
+ --at-apply: box-border grid grid-cols-[repeat(3,125px)] gap-[15px] w-full;
130
+ }
131
+
132
+ .themes .theme {
133
+ --at-apply: relative box-border h-[78px] text-white cursor-pointer bg-[#f7f8f9] dark:bg-dark-2
134
+ transition-all duration-[0.2s] ease-[ease-in-out] mb-[15px] p-[15px] rounded-xl shadow;
135
+ }
136
+
137
+ .themes .theme:hover {
138
+ transform: scale(1.05);
139
+ }
140
+
141
+ .themes .theme .explosion {
142
+ --at-apply: bg-ui-primary absolute z-[1] flex items-center justify-center w-6 h-6
143
+ transition-all duration-[0.3s] origin-center rounded-[50%] scale-0 -right-2.5 -top-2.5;
144
+ }
145
+
146
+ .themes .theme.active {
147
+ box-shadow: 0 0 0 4px rgb(var(--ui-primary));
148
+ }
149
+
150
+ .themes .theme.active .explosion {
151
+ transform: scale(1);
152
+ }
153
+
154
+ .themes .theme .theme-type {
155
+ --at-apply: w-full h-4 mt-5px pb-10px;
156
+ }
157
+
158
+ .themes .theme .theme-point {
159
+ --at-apply: grid grid-cols-[repeat(6,15px)] w-full h-5;
160
+ }
161
+
162
+ .themes .theme .theme-point .point {
163
+ --at-apply: box-border w-5 h-5 mr-[5px] rounded-[50%]
164
+ border-2 border-solid border-white
165
+ shadow shadow-stone-4 dark:shadow-stone-8;
201
166
  }
202
167
  </style>
@@ -71,79 +71,71 @@ function clickHandle(item: Settings.layout['widthMode']) {
71
71
  </HDivider>
72
72
  </template>
73
73
 
74
- <style lang="scss" scoped>
74
+ <style scoped>
75
75
  .app-width-mode {
76
76
  --at-apply: flex items-center justify-center gap-4 pb-4;
77
+ }
77
78
 
78
- .mode {
79
- --at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
80
-
81
- &.active {
82
- --at-apply: ring-ui-primary ring-2;
83
- }
84
-
85
- &-adaption {
86
- &::before {
87
- --at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
88
- }
89
-
90
- .left,
91
- .right {
92
- --at-apply: absolute top-1/2 -translate-y-1/2;
93
- }
94
-
95
- .left {
96
- --at-apply: left-1;
97
- }
98
-
99
- .right {
100
- --at-apply: right-1;
101
- }
102
- }
103
-
104
- &-adaption-min-width {
105
- &::before {
106
- --at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
107
- }
108
-
109
- .left,
110
- .right {
111
- --at-apply: absolute top-1/2 -translate-y-1/2;
112
- }
113
-
114
- .left {
115
- --at-apply: left-0.5;
116
- }
117
-
118
- .right {
119
- --at-apply: right-0.5;
120
- }
121
- }
122
-
123
- &-center {
124
- &::before {
125
- --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
126
- }
127
- }
128
-
129
- &-center-max-width {
130
- &::before {
131
- --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
132
- }
133
-
134
- .left,
135
- .right {
136
- --at-apply: absolute top-1/2 -translate-y-1/2;
137
- }
138
-
139
- .left {
140
- --at-apply: left-2.5;
141
- }
142
-
143
- .right {
144
- --at-apply: right-2.5;
145
- }
146
- }
147
- }
79
+ .app-width-mode .mode {
80
+ --at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
81
+ }
82
+
83
+ .app-width-mode .mode.active {
84
+ --at-apply: ring-ui-primary ring-2;
85
+ }
86
+
87
+ .app-width-mode .mode-adaption::before {
88
+ --at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
89
+ }
90
+
91
+ .app-width-mode .mode-adaption .left,
92
+ .app-width-mode .mode-adaption .right {
93
+ --at-apply: absolute top-1/2 -translate-y-1/2;
94
+ }
95
+
96
+ .app-width-mode .mode-adaption .left {
97
+ --at-apply: left-1;
98
+ }
99
+
100
+ .app-width-mode .mode-adaption .right {
101
+ --at-apply: right-1;
102
+ }
103
+
104
+ .app-width-mode .mode-adaption-min-width::before {
105
+ --at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
106
+ }
107
+
108
+ .app-width-mode .mode-adaption-min-width .left,
109
+ .app-width-mode .mode-adaption-min-width .right {
110
+ --at-apply: absolute top-1/2 -translate-y-1/2;
111
+ }
112
+
113
+ .app-width-mode .mode-adaption-min-width .left {
114
+ --at-apply: left-0.5;
115
+ }
116
+
117
+ .app-width-mode .mode-adaption-min-width .right {
118
+ --at-apply: right-0.5;
119
+ }
120
+
121
+ .app-width-mode .mode-center::before {
122
+ --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
123
+ }
124
+
125
+ .app-width-mode .mode-center-max-width::before {
126
+ --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
127
+ }
128
+
129
+ .app-width-mode .mode-center-max-width .left,
130
+ .app-width-mode .mode-center-max-width .right {
131
+ --at-apply: absolute top-1/2 -translate-y-1/2;
132
+ }
133
+
134
+ .app-width-mode .mode-center-max-width .left {
135
+ --at-apply: left-2.5;
136
+ }
137
+
138
+ .app-width-mode .mode-center-max-width .right {
139
+ --at-apply: right-2.5;
148
140
  }
149
141
  </style>
@@ -0,0 +1,81 @@
1
+ <script lang="ts" setup>
2
+ import { useToggle } from '@vueuse/core';
3
+ import AntDesignSettingTwotone from '~icons/ant-design/setting-twotone';
4
+ import LetsIconsBookOpenDuotoneLine from '~icons/lets-icons/book-open-duotone-line';
5
+ import { useContext } from '../../composables/useContext';
6
+
7
+ defineOptions({
8
+ name: 'SettingBar',
9
+ });
10
+
11
+ const AppSetting = defineAsyncComponent(() => import('./AppSetting.vue'));
12
+
13
+ const { settingsStore, isDev } = useContext();
14
+
15
+ function openDocs() {
16
+ window.open('http://124.223.184.245:10000/docs/');
17
+ }
18
+
19
+ const [open, setOpen] = useToggle(false);
20
+ </script>
21
+
22
+ <template>
23
+ <div v-if="settingsStore.settings.app.enableAppSetting && isDev" class="app-setting-warp">
24
+ <div class="app-setting">
25
+ <div class="app-setting-item" @click="setOpen()">
26
+ <AntDesignSettingTwotone class="icon" text="18px" />
27
+ </div>
28
+ <div class="divider" />
29
+ <div class="app-setting-item">
30
+ <LetsIconsBookOpenDuotoneLine text="18px" @click="openDocs" />
31
+ </div>
32
+ </div>
33
+ <div class="vue-devtools__anchor--glowing" />
34
+
35
+ <AppSetting v-model:open="open" />
36
+ </div>
37
+ </template>
38
+
39
+ <style scoped>
40
+ .app-setting-warp {
41
+ --at-apply: relative fixed top-1/2 right-10px z-10;
42
+ }
43
+
44
+ .app-setting-warp .vue-devtools__anchor--glowing {
45
+ --at-apply: absolute z-[-1] w-40 h-40 pointer-events-none blur-[60px] opacity-0
46
+ transition-all duration-[1s] ease-[ease] -translate-x-1/4 -translate-y-1/4
47
+ rounded-full left-0 top-0;
48
+ background-image: linear-gradient(45deg, #00dc82, #36e4da, #0047e1);
49
+ }
50
+
51
+ .app-setting-warp:hover .vue-devtools__anchor--glowing {
52
+ --at-apply: op-70;
53
+ }
54
+
55
+ .app-setting {
56
+ --at-apply: text-white dark:text-dark bg-ui-primary
57
+ flex flex-col items-center justify-between w-[30px] h-[76px]
58
+ text-sm cursor-pointer rounded-[30px];
59
+ }
60
+
61
+ .app-setting .app-setting-item {
62
+ --at-apply: flex flex-[auto] items-center justify-center w-full h-0;
63
+ }
64
+
65
+ .app-setting .divider {
66
+ --at-apply: w-10px h-px bg-[#b3b3b3];
67
+ }
68
+
69
+ .app-setting .icon {
70
+ animation: rotate 5s linear infinite;
71
+ }
72
+
73
+ @keyframes rotate {
74
+ from {
75
+ transform: rotate(0deg);
76
+ }
77
+ to {
78
+ transform: rotate(360deg);
79
+ }
80
+ }
81
+ </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
  import useMenu from '../../composables/useMenu';
5
5
  import Logo from '../Logo/index.vue';
@@ -15,14 +15,11 @@ const { settingsStore, menuStore, generateI18nTitle } = useContext();
15
15
  const { switchTo } = useMenu();
16
16
 
17
17
  function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
18
- let name;
19
- if ((!isActive && icon) || (isActive && !activeIcon)) {
20
- name = icon;
18
+ if (isActive && activeIcon) {
19
+ return activeIcon;
21
20
  }
22
- else if (isActive && activeIcon) {
23
- name = activeIcon;
24
- }
25
- return name;
21
+
22
+ return icon;
26
23
  }
27
24
  </script>
28
25
 
@@ -47,7 +44,7 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
47
44
  }"
48
45
  >
49
46
  <div
50
- v-if="(item.children && item.children.length !== 0) || item?.meta?.isDev"
47
+ v-if="((item.children && item.children.length !== 0) || item?.meta?.isDev) && item?.meta?.sidebar !== false"
51
48
  class="group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 py-4 text-[var(--g-main-sidebar-menu-color)] transition-all hover:(bg-[var(--g-main-sidebar-menu-hover-bg)] text-[var(--g-main-sidebar-menu-hover-color)]) px-2!"
52
49
  :class="{
53
50
  'text-[var(--g-main-sidebar-menu-active-color)]! bg-[var(--g-main-sidebar-menu-active-bg)]!': index === menuStore.actived,
@@ -89,145 +86,100 @@ function iconName(isActive: boolean, icon?: string, activeIcon?: string) {
89
86
  </Transition>
90
87
  </template>
91
88
 
92
- <style lang="scss" scoped>
89
+ <style scoped>
93
90
  .main-sidebar-container {
94
- position: relative;
95
- z-index: 1;
96
- display: flex;
97
- flex-direction: column;
91
+ --at-apply: relative z-1 flex flex-col;
98
92
  width: var(--g-main-sidebar-width);
99
93
  color: var(--g-main-sidebar-menu-color);
100
94
  background-color: var(--g-main-sidebar-bg);
101
95
  box-shadow: 1px 0 0 0 var(--g-border-color);
102
96
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
97
+ }
103
98
 
104
- .sidebar-logo {
105
- background-color: var(--g-main-sidebar-bg);
106
- transition: background-color 0.3s;
107
- }
99
+ .sidebar-logo {
100
+ --at-apply: bg-[--g-main-sidebar-bg];
101
+ transition: background-color 0.3s;
102
+ }
108
103
 
109
- :deep(.menu-item-container-layout) {
110
- display: flex;
111
- flex-direction: row;
112
- width: auto;
104
+ :deep(.menu-item-container-layout) {
105
+ --at-apply: flex flex-col w-auto;
106
+ }
113
107
 
114
- .title {
115
- display: none;
116
- }
117
- }
108
+ :deep(.menu-item-container-layout) .title {
109
+ --at-apply: hidden;
110
+ }
118
111
 
119
- .menu-active {
120
- &-arrow {
121
- .item-container::before,
122
- :deep(.menu-item::before) {
123
- right: -5px;
124
- width: 0;
125
- height: 0;
126
- content: "";
127
- border-top: 5px solid transparent;
128
- border-right: 5px solid var(--g-main-sidebar-bg);
129
- border-bottom: 5px solid transparent;
130
- opacity: 0;
131
- transition: all 0.3s;
132
-
133
- @include position-center(y);
134
- }
135
-
136
- .item-container.active::before,
137
- :deep(.menu-item.active::before) {
138
- right: 8px;
139
- opacity: 1;
140
- }
141
- }
142
-
143
- &-line {
144
- .item-container::before,
145
- :deep(.menu-item::before) {
146
- left: 6px;
147
- width: 4px;
148
- height: 0;
149
- content: "";
150
- background-color: var(--g-main-sidebar-menu-active-bg);
151
- border-radius: 2px;
152
- box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
153
- opacity: 0;
154
- transition: all 0.3s;
155
-
156
- @include position-center(y);
157
- }
158
-
159
- .item-container.active::before,
160
- :deep(.menu-item.active::before) {
161
- height: 20px;
162
- opacity: 1;
163
- }
164
- }
165
-
166
- &-dot {
167
- .item-container::before,
168
- :deep(.menu-item::before) {
169
- left: 0;
170
- width: 10px;
171
- height: 10px;
172
- content: "";
173
- background-color: var(--g-main-sidebar-menu-active-bg);
174
- border-radius: 50%;
175
- box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
176
- opacity: 0;
177
- transition: all 0.3s;
178
-
179
- @include position-center(y);
180
- }
181
-
182
- .item-container.active::before,
183
- :deep(.menu-item.active::before) {
184
- left: 4px;
185
- opacity: 1;
186
- }
187
- }
188
- }
112
+ /* 菜单激活样式 */
113
+ .menu-active-arrow .item-container::before,
114
+ .menu-active-arrow :deep(.menu-item::before) {
115
+ --at-apply: content-empty absolute top-1/2 right-[-5px] w-0 h-0 op-0
116
+ border-t-5px border-t-solid border-t-transparent
117
+ border-r-5px border-r-solid border-r-[--g-main-sidebar-bg]
118
+ border-b-5px border-b-solid border-b-transparent
119
+ -translate-y-2/4 transition-all duration-[0.3s];
120
+ }
189
121
 
190
- .menu {
191
- flex: 1;
192
- width: initial;
193
- overflow: hidden auto;
194
- overscroll-behavior: contain;
195
-
196
- // firefox隐藏滚动条
197
- scrollbar-width: none;
198
-
199
- // chrome隐藏滚动条
200
- &::-webkit-scrollbar {
201
- display: none;
202
- }
203
-
204
- :deep(.menu-item) {
205
- .menu-item-container {
206
- height: 50px;
207
- padding: 0 5px;
208
- color: var(--g-main-sidebar-menu-color);
209
- background-color: var(--g-main-sidebar-menu-bg);
210
-
211
- .menu-item-container-icon {
212
- font-size: 24px !important;
213
- transform: scale(1);
214
- }
215
- }
216
-
217
- &:hover .menu-item-container {
218
- color: var(--g-main-sidebar-menu-hover-color);
219
- background-color: var(--g-main-sidebar-menu-hover-bg);
220
- }
221
-
222
- &.active .menu-item-container {
223
- color: var(--g-main-sidebar-menu-active-color) !important;
224
- background-color: var(--g-main-sidebar-menu-active-bg) !important;
225
- }
226
- }
227
- }
122
+ .menu-active-arrow .item-container.active::before,
123
+ .menu-active-arrow :deep(.menu-item.active::before) {
124
+ --at-apply: right-2 op-100;
125
+ }
126
+
127
+ .menu-active-line .item-container::before,
128
+ .menu-active-line :deep(.menu-item::before) {
129
+ --at-apply: content-empty absolute top-1/2 left-6px -translate-y-2/4 w-1 h-0
130
+ bg-[--g-main-sidebar-menu-active-bg] opacity-0 transition-all duration-[0.3s]
131
+ rounded-sm;
132
+ box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
133
+ }
134
+
135
+ .menu-active-line .item-container.active::before,
136
+ .menu-active-line :deep(.menu-item.active::before) {
137
+ --at-apply: h-5 op-100;
138
+ }
139
+
140
+ .menu-active-dot .item-container::before,
141
+ .menu-active-dot :deep(.menu-item::before) {
142
+ --at-apply: bg-[--g-main-sidebar-menu-active-bg] content-empty
143
+ absolute -translate-y-2/4 w-2.5 h-2.5 opacity-0 transition-all
144
+ duration-[0.3s] rounded-[50%] left-0 top-2/4;
145
+ box-shadow: 0 0 0 1px var(--g-main-sidebar-bg);
146
+ }
147
+
148
+ .menu-active-dot .item-container.active::before,
149
+ .menu-active-dot :deep(.menu-item.active::before) {
150
+ --at-apply: left-1 op-100;
151
+ }
152
+
153
+ .menu {
154
+ --at-apply: flex-1 w-[initial] overscroll-contain;
155
+ overflow: hidden auto;
156
+ scrollbar-width: none;
157
+ }
158
+
159
+ .menu::-webkit-scrollbar {
160
+ --at-apply: hidden;
161
+ }
162
+
163
+ .menu :deep(.menu-item) .menu-item-container {
164
+ --at-apply: h-[50px] px-5px py-0 text-[--g-main-sidebar-menu-color] bg-[--g-main-sidebar-menu-bg];
165
+ }
166
+
167
+ .menu :deep(.menu-item) .menu-item-container .menu-item-container-icon {
168
+ --at-apply: scale-100;
169
+ font-size: 24px !important;
170
+ }
171
+
172
+ .menu :deep(.menu-item):hover .menu-item-container {
173
+ color: var(--g-main-sidebar-menu-hover-color);
174
+ background-color: var(--g-main-sidebar-menu-hover-bg);
175
+ }
176
+
177
+ .menu :deep(.menu-item).active .menu-item-container {
178
+ color: var(--g-main-sidebar-menu-active-color) !important;
179
+ background-color: var(--g-main-sidebar-menu-active-bg) !important;
228
180
  }
229
181
 
230
- // 主侧边栏动画
182
+ /* 主侧边栏动画 */
231
183
  .main-sidebar-enter-active,
232
184
  .main-sidebar-leave-active {
233
185
  transition: 0.3s;