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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (640) hide show
  1. package/dist/{AppSetting-BQT7OI6K.js → AppSetting-D2RJrc9O.js} +37 -39
  2. package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js → HCheckList.vue_vue_type_script_setup_true_lang-DusVz35O.js} +12 -14
  3. package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
  4. package/dist/HToggle-DMcVgMVY.js +34 -0
  5. package/dist/PreferencesContent-Dtd9rtew.js +923 -0
  6. package/dist/{SettingBreadcrumb-CgugOTgx.js → SettingBreadcrumb-QSCSviKM.js} +9 -9
  7. package/dist/{SettingCopyright-BPeCJBLi.js → SettingCopyright-Dr5P6yfq.js} +8 -8
  8. package/dist/{SettingEnableTransition-BK0_EH_N.js → SettingEnableTransition-DGiHEbCI.js} +20 -21
  9. package/dist/{SettingHome-DGnxlXLd.js → SettingHome-CEPcBlds.js} +20 -20
  10. package/dist/{SettingMenu-BqAd9zbL.js → SettingMenu-BJdjnRA6.js} +26 -26
  11. package/dist/{SettingMode-CgA3XDwW.js → SettingMode-BnuCHoEY.js} +11 -12
  12. package/dist/{SettingNavSearch-WFnkcRQ3.js → SettingNavSearch-CiU4BmlU.js} +9 -9
  13. package/dist/{SettingOther-CG4RI6mO.js → SettingOther-DTHjVlFe.js} +13 -13
  14. package/dist/SettingPage-D75_Nf05.js +29 -0
  15. package/dist/{SettingTabbar-CQA6ZT9l.js → SettingTabbar-D48dzvgA.js} +18 -18
  16. package/dist/SettingThemes-D-8vTs5n.js +142 -0
  17. package/dist/{SettingToolbar-DdR2940j.js → SettingToolbar-DjIjm9V-.js} +10 -10
  18. package/dist/{SettingTopbar-C_jYO_Ax.js → SettingTopbar-Cg30OTH3.js} +16 -16
  19. package/dist/{SettingWidthMode-ir_28SE3.js → SettingWidthMode-BKV_7kb8.js} +19 -20
  20. package/dist/{TopThinMode-jHDpKsma.js → TopThinMode-JFYsp_lJ.js} +1 -1
  21. package/dist/built-in/authentication/helper.d.ts +1 -0
  22. package/dist/built-in/authentication/index.d.ts +10 -0
  23. package/dist/built-in/authentication/interface.d.ts +7 -0
  24. package/dist/built-in/authentication/router.d.ts +2 -0
  25. package/dist/built-in/authorization/directives.d.ts +2 -0
  26. package/dist/built-in/authorization/helper.d.ts +6 -0
  27. package/dist/built-in/authorization/index.d.ts +7 -0
  28. package/dist/built-in/authorization/router.d.ts +3 -0
  29. package/dist/built-in/index.d.ts +8 -0
  30. package/dist/{layout → built-in/layout-component}/Layout.vue.d.ts +2 -2
  31. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/More.vue.d.ts +1 -1
  32. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/NotCursor.vue.d.ts +2 -0
  33. package/dist/{layout → built-in/layout-component}/components/Menu/sub.vue.d.ts +43 -43
  34. package/dist/{layout → built-in/layout-component}/components/Menu/types.d.ts +1 -1
  35. package/dist/{layout → built-in/layout-component}/components/Tools/Search.vue.d.ts +43 -43
  36. package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +27 -0
  37. package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +11 -0
  38. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue.d.ts +1 -1
  39. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue.d.ts +1 -1
  40. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue.d.ts +2 -2
  41. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue.d.ts +1 -1
  42. package/dist/{layout → built-in/layout-component}/composables/useContext.d.ts +1 -1
  43. package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +19 -0
  44. package/dist/{layout → built-in/layout-component}/composables/useHotkey.d.ts +1 -1
  45. package/dist/{layout → built-in/layout-component}/composables/useMenu.d.ts +1 -1
  46. package/dist/{layout → built-in/layout-component}/index.d.ts +5 -4
  47. package/dist/built-in/layout-component/utils/eventBus.d.ts +5 -0
  48. package/dist/built-in/layout-component/utils/index.d.ts +3 -0
  49. package/dist/{utils → built-in/layout-component/utils}/watermark.d.ts +1 -1
  50. package/dist/built-in/locales/helpler.d.ts +594 -0
  51. package/dist/built-in/locales/index.d.ts +5 -0
  52. package/dist/built-in/n-progress/index.d.ts +6 -0
  53. package/dist/built-in/pinia-plugin/enum.d.ts +1 -0
  54. package/dist/built-in/pinia-plugin/index.d.ts +5 -0
  55. package/dist/built-in/pinia-plugin/plugins/persist.d.ts +3 -0
  56. package/dist/built-in/pre-access/index.d.ts +7 -0
  57. package/dist/built-in/settings/index.d.ts +5 -0
  58. package/dist/built-in/settings/router.d.ts +3 -0
  59. package/dist/{colors-gu4NABiz.js → colors-CODcBxrF.js} +1 -1
  60. package/dist/core/create.d.ts +2 -0
  61. package/dist/core/ctx.d.ts +1 -0
  62. package/dist/core/index.d.ts +4 -0
  63. package/dist/core/interface.d.ts +74 -0
  64. package/dist/{modules.d.ts → core/modules.d.ts} +9 -0
  65. package/dist/{api/index.d.ts → core/request.d.ts} +2 -4
  66. package/dist/core/resolver/icon.d.ts +5 -0
  67. package/dist/core/resolver/index.d.ts +4 -0
  68. package/dist/core/resolver/layout.d.ts +2 -0
  69. package/dist/core/resolver/page.d.ts +17 -0
  70. package/dist/core/resolver/resolver.d.ts +10 -0
  71. package/dist/{api → features/api}/modules/auth/renzhengfuwu.d.ts +7 -0
  72. package/dist/{api → features/api}/modules/configData/index.d.ts +1 -1
  73. package/dist/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -0
  74. package/dist/{api → features/api}/modules/rbac/ziyuanjiekou.d.ts +7 -0
  75. package/dist/features/api/request.d.ts +2 -0
  76. package/dist/{assets → features/assets}/styles/index.d.ts +2 -3
  77. package/dist/{composables → features/composables}/auth.d.ts +1 -1
  78. package/dist/features/context/index.d.ts +12 -0
  79. package/dist/features/enum.d.ts +21 -0
  80. package/dist/features/index.d.ts +7 -0
  81. package/dist/features/router/asyncRoutes.d.ts +14 -0
  82. package/dist/features/router/index.d.ts +2 -0
  83. package/dist/features/router/systemRoutes.d.ts +9 -0
  84. package/dist/features/stores/index.d.ts +1 -0
  85. package/dist/{stores → features/stores}/modules/favorites.d.ts +2 -2
  86. package/dist/{stores → features/stores}/modules/route.d.ts +6 -6
  87. package/dist/{stores → features/stores}/modules/tabbar.d.ts +1 -1
  88. package/dist/features/stores/modules/user.d.ts +36 -0
  89. package/dist/features/stores/utils/crypto.d.ts +1 -0
  90. package/dist/features/stores/utils/index.d.ts +2 -0
  91. package/dist/features/stores/utils/routerHelper.d.ts +17 -0
  92. package/dist/index-BAoB7aoj.js +49 -0
  93. package/dist/{reload-CUcPYtl7.js → index-BD2fkZis.js} +5 -5
  94. package/dist/index-BROqFYXS.js +44 -0
  95. package/dist/{index-CjsnFBwd.js → index-BVLkBCRY.js} +7733 -8240
  96. package/dist/index-D4_xmL_A.js +258 -0
  97. package/dist/index-DQn1WFMa.js +139 -0
  98. package/dist/{index-CWIfG62O.js → index-DmcblkoZ.js} +1804 -1897
  99. package/dist/{index-NpS61xSA.js → index-DvJr0paY.js} +54 -54
  100. package/dist/index-Jd3PYkpj.js +52561 -0
  101. package/dist/index-RT-QBzm0.js +234 -0
  102. package/dist/index.d.ts +23 -11
  103. package/dist/index.js +59 -72
  104. package/dist/pick-BLJM77QN.js +12 -0
  105. package/dist/style.css +3 -3
  106. package/dist/utils/index.d.ts +4 -13
  107. package/dist/utils/path.d.ts +1 -0
  108. package/dist/utils/proxy.d.ts +1 -0
  109. package/dist/utils/storage.d.ts +1 -2
  110. package/package.json +41 -43
  111. package/src/built-in/authentication/helper.ts +55 -0
  112. package/src/built-in/authentication/index.ts +42 -0
  113. package/src/built-in/authentication/interface.ts +7 -0
  114. package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -0
  115. package/src/{pages/system → built-in/authentication/pages}/change-organization/index.vue +29 -43
  116. package/src/built-in/authentication/pages/change-password/assets/login-small.png +0 -0
  117. package/src/built-in/authentication/pages/change-password/assets/login-small_dark.webp +0 -0
  118. package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -0
  119. package/src/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue +1 -1
  120. package/src/{pages/system → built-in/authentication/pages}/change-password/index.vue +19 -36
  121. package/src/built-in/authentication/router.ts +57 -0
  122. package/src/{directives/plugins/permission.ts → built-in/authorization/directives.ts} +6 -7
  123. package/src/built-in/authorization/helper.ts +11 -0
  124. package/src/built-in/authorization/index.ts +25 -0
  125. package/src/built-in/authorization/pages/not-permission/403.svg +1 -0
  126. package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -0
  127. package/src/{pages/system → built-in/authorization/pages}/not-permission/index.vue +9 -13
  128. package/src/{route/guard/auth.ts → built-in/authorization/router.ts} +39 -9
  129. package/src/built-in/index.ts +8 -0
  130. package/src/built-in/layout-component/Layout.vue +273 -0
  131. package/src/built-in/layout-component/assets/icons/favorites.svg +1 -0
  132. package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -0
  133. package/src/{layout → built-in/layout-component}/components/Content/IframeView.vue +1 -2
  134. package/src/{layout → built-in/layout-component}/components/Content/LinkView.vue +2 -2
  135. package/src/built-in/layout-component/components/Content/index.vue +146 -0
  136. package/src/{layout → built-in/layout-component}/components/Copyright/index.vue +7 -8
  137. package/src/{layout → built-in/layout-component}/components/Header/TopMode/More.vue +26 -34
  138. package/src/built-in/layout-component/components/Header/TopMode/NotCursor.vue +70 -0
  139. package/src/{layout → built-in/layout-component}/components/Header/TopMode/index.vue +14 -18
  140. package/src/built-in/layout-component/components/Header/index.vue +171 -0
  141. package/src/{layout → built-in/layout-component}/components/Logo/index.vue +5 -20
  142. package/src/{layout → built-in/layout-component}/components/Menu/index.vue +3 -3
  143. package/src/{layout → built-in/layout-component}/components/Menu/item.vue +22 -27
  144. package/src/{layout → built-in/layout-component}/components/Menu/types.ts +1 -1
  145. package/src/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue +11 -11
  146. package/src/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue +26 -120
  147. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +190 -0
  148. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +154 -0
  149. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue +55 -90
  150. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue +63 -71
  151. package/src/built-in/layout-component/components/SettingBar/index.vue +81 -0
  152. package/src/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue +87 -135
  153. package/src/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue +50 -59
  154. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +15 -0
  155. package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +70 -0
  156. package/src/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue +214 -278
  157. package/src/{layout → built-in/layout-component}/components/Tools/Search.vue +15 -9
  158. package/src/{layout → built-in/layout-component}/components/Tools/index.vue +16 -20
  159. package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/MoreAction.vue +102 -148
  160. package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue +293 -405
  161. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue +5 -5
  162. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/index.vue +72 -67
  163. package/src/{layout → built-in/layout-component}/components/Topbar/index.vue +16 -19
  164. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue +1 -1
  165. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue +1 -1
  166. package/src/built-in/layout-component/components/ui/HDivider.vue +24 -0
  167. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue +1 -1
  168. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue +1 -1
  169. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue +1 -1
  170. package/src/built-in/layout-component/components/ui/HToggle.vue +133 -0
  171. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue +1 -1
  172. package/src/{layout → built-in/layout-component}/composables/useContext.ts +2 -2
  173. package/src/{layout → built-in/layout-component}/composables/useGetComputedStyle.ts +1 -1
  174. package/src/built-in/layout-component/composables/useGlobalSearch.ts +48 -0
  175. package/src/{layout → built-in/layout-component}/composables/useHotkey.ts +1 -1
  176. package/src/{layout → built-in/layout-component}/composables/useMainPage.ts +2 -2
  177. package/src/{layout → built-in/layout-component}/composables/useMenu.ts +1 -1
  178. package/src/{layout → built-in/layout-component}/composables/useTabbar.ts +1 -1
  179. package/src/{layout → built-in/layout-component}/composables/useTitle.ts +1 -1
  180. package/src/{layout → built-in/layout-component}/composables/useWatermark.ts +4 -4
  181. package/src/{layout → built-in/layout-component}/index.ts +38 -16
  182. package/src/{layout → built-in/layout-component}/provider.ts +8 -2
  183. package/src/built-in/layout-component/utils/eventBus.ts +8 -0
  184. package/src/built-in/layout-component/utils/index.ts +3 -0
  185. package/src/{utils → built-in/layout-component/utils}/watermark.ts +2 -2
  186. package/src/{locales/index.ts → built-in/locales/helpler.ts} +13 -17
  187. package/src/built-in/locales/index.ts +20 -0
  188. package/src/built-in/n-progress/index.ts +31 -0
  189. package/src/built-in/n-progress/nprogress.css +68 -0
  190. package/src/built-in/pinia-plugin/enum.ts +1 -0
  191. package/src/{stores → built-in/pinia-plugin}/helper.ts +3 -3
  192. package/src/built-in/pinia-plugin/index.ts +27 -0
  193. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.ts +1 -1
  194. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.ts +6 -7
  195. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.ts +3 -3
  196. package/src/built-in/pinia-plugin/plugins/persist.ts +21 -0
  197. package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.ts +7 -8
  198. package/src/built-in/pre-access/index.ts +20 -0
  199. package/src/built-in/settings/index.ts +15 -0
  200. package/src/{route/guard/setting.ts → built-in/settings/router.ts} +3 -2
  201. package/src/core/create.ts +70 -0
  202. package/src/core/ctx.ts +3 -0
  203. package/src/core/index.ts +4 -0
  204. package/src/core/interface.ts +89 -0
  205. package/src/{modules.ts → core/modules.ts} +19 -5
  206. package/src/core/request.ts +52 -0
  207. package/src/core/resolver/icon.ts +75 -0
  208. package/src/core/resolver/index.ts +4 -0
  209. package/src/core/resolver/layout.ts +23 -0
  210. package/src/core/resolver/page.ts +89 -0
  211. package/src/core/resolver/resolver.ts +25 -0
  212. package/src/{api → features/api}/modules/auth/renzhengfuwu.ts +47 -15
  213. package/src/{api → features/api}/modules/auth/typings.d.ts +34 -28
  214. package/src/{api → features/api}/modules/configData/heibaimingdanfuwu.ts +13 -4
  215. package/src/{api → features/api}/modules/configData/index.ts +1 -1
  216. package/src/{api → features/api}/modules/configData/typings.d.ts +79 -79
  217. package/src/{api → features/api}/modules/configData/xitongpeizhifuwu.ts +43 -19
  218. package/src/{api/modules/configData/zidianfuwu.ts → features/api/modules/configData/zidifuwu.ts} +41 -11
  219. package/src/{api → features/api}/modules/rbac/gangweijiekou.ts +25 -10
  220. package/src/{api → features/api}/modules/rbac/jiaosejiekou.ts +25 -10
  221. package/src/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.ts +46 -7
  222. package/src/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +27 -13
  223. package/src/{api → features/api}/modules/rbac/typings.d.ts +323 -304
  224. package/src/{api → features/api}/modules/rbac/yonghujiekou.ts +49 -16
  225. package/src/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.ts +21 -6
  226. package/src/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +13 -4
  227. package/src/{api → features/api}/modules/rbac/ziyuanjiekou.ts +44 -5
  228. package/src/{api → features/api}/modules/rbac/zuhuguanlijiekou.ts +21 -12
  229. package/src/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +13 -4
  230. package/src/{api → features/api}/modules/rbac/zuzhijiekou.ts +29 -11
  231. package/src/features/api/request.ts +5 -0
  232. package/src/{api → features/api}/system/user.ts +1 -1
  233. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.svg +131 -133
  234. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.svg +130 -132
  235. package/src/{assets → features/assets}/images/org.svg +2 -2
  236. package/src/features/assets/styles/globals.css +188 -0
  237. package/src/{assets → features/assets}/styles/index.ts +2 -3
  238. package/src/features/assets/styles/rbac.css +51 -0
  239. package/src/features/assets/styles/resources/utils.css +53 -0
  240. package/src/features/assets/styles/resources/variables.css +5 -0
  241. package/src/features/components/MicroAppContainer/index.vue +9 -0
  242. package/src/features/components/NotAllowed/assets/403.svg +1 -0
  243. package/src/features/components/NotAllowed/assets/403_dark.svg +1 -0
  244. package/src/{components → features/components}/NotAllowed/index.vue +6 -8
  245. package/src/{components → features/components}/PassStrengthValidator/index.vue +33 -48
  246. package/src/{components → features/components}/PassStrengthValidator/rule.vue +13 -25
  247. package/src/{components → features/components}/PubinfoApp/index.vue +2 -1
  248. package/src/features/components/PubinfoIcon/index.vue +140 -0
  249. package/src/{components → features/components}/PubinfoProvider/index.ts +1 -2
  250. package/src/{composables → features/composables}/auth.ts +2 -2
  251. package/src/{composables → features/composables}/theme.ts +1 -1
  252. package/src/{composables → features/composables}/watchDiff.ts +1 -1
  253. package/src/features/context/index.ts +40 -0
  254. package/src/features/enum.ts +21 -0
  255. package/src/features/index.ts +8 -0
  256. package/src/features/pages/not-found/assets/404.svg +1 -0
  257. package/src/features/pages/not-found/assets/404_dark.svg +1 -0
  258. package/src/{pages/system/[...all].vue → features/pages/not-found/index.vue} +6 -8
  259. package/src/{pages/personal → features/pages}/profile/index.vue +1 -1
  260. package/src/features/router/asyncRoutes.ts +35 -0
  261. package/src/features/router/index.ts +2 -0
  262. package/src/features/router/systemRoutes.ts +45 -0
  263. package/src/{config/settings.ts → features/settings/index.ts} +0 -1
  264. package/src/{stores/enum/index.ts → features/stores/enum.ts} +0 -1
  265. package/src/features/stores/index.ts +1 -0
  266. package/src/{stores → features/stores}/modules/keepAlive.ts +1 -0
  267. package/src/{stores → features/stores}/modules/menu.ts +44 -6
  268. package/src/{stores → features/stores}/modules/route.ts +89 -65
  269. package/src/{stores → features/stores}/modules/settings.ts +27 -10
  270. package/src/{stores → features/stores}/modules/tabbar.ts +8 -5
  271. package/src/{stores → features/stores}/modules/user.ts +60 -25
  272. package/src/{utils → features/stores/utils}/crypto.ts +7 -10
  273. package/src/features/stores/utils/index.ts +2 -0
  274. package/src/features/stores/utils/routerHelper.ts +221 -0
  275. package/src/index.ts +117 -12
  276. package/src/utils/cleanup.ts +1 -1
  277. package/src/utils/index.ts +4 -43
  278. package/src/utils/path.ts +5 -0
  279. package/src/utils/proxy.ts +36 -0
  280. package/src/utils/storage.ts +2 -4
  281. package/types/auto-imports.d.ts +3 -10
  282. package/types/components.d.ts +16 -15
  283. package/types/menu.d.ts +2 -0
  284. package/types/module.d.ts +2 -15
  285. package/types/settings.d.ts +0 -8
  286. package/types/tabbar.d.ts +1 -0
  287. package/types/vue-router.d.ts +11 -7
  288. package/dist/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -25
  289. package/dist/HDivider-DgXBhPr0.js +0 -21
  290. package/dist/HToggle-Cd71WKvG.js +0 -34
  291. package/dist/PreferencesContent-MR1Db7z7.js +0 -972
  292. package/dist/SettingPage-C1CT1Mm8.js +0 -29
  293. package/dist/SettingThemes-BJu9czNK.js +0 -144
  294. package/dist/_...all_-18BnHmEa.js +0 -52
  295. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  296. package/dist/api/helper.d.ts +0 -32
  297. package/dist/api/interface.d.ts +0 -14
  298. package/dist/api/request.d.ts +0 -2
  299. package/dist/api/system/app.d.ts +0 -17
  300. package/dist/config/index.d.ts +0 -1
  301. package/dist/context.d.ts +0 -14
  302. package/dist/create.d.ts +0 -3
  303. package/dist/directives/index.d.ts +0 -4
  304. package/dist/directives/plugins/permission.d.ts +0 -6
  305. package/dist/index-C1p_tY7i.js +0 -49
  306. package/dist/index-CCPTQYuB.js +0 -12910
  307. package/dist/index-CNUEMTao.js +0 -354
  308. package/dist/index-CmXo8ShY.js +0 -276
  309. package/dist/index-DL8Y7jFG.js +0 -137
  310. package/dist/index-DTQQt_XY.js +0 -10
  311. package/dist/index-Dj8zy7hH.js +0 -230
  312. package/dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js +0 -2300
  313. package/dist/interface.d.ts +0 -29
  314. package/dist/layout/components/Tools/index.vue.d.ts +0 -233
  315. package/dist/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
  316. package/dist/locales/index.d.ts +0 -301
  317. package/dist/menu-CLiZ1BO_.js +0 -15315
  318. package/dist/pick-C9bU8_xv.js +0 -19
  319. package/dist/request.js +0 -1811
  320. package/dist/route/async.d.ts +0 -9
  321. package/dist/route/guard/auth.d.ts +0 -3
  322. package/dist/route/guard/basic.d.ts +0 -3
  323. package/dist/route/guard/index.d.ts +0 -3
  324. package/dist/route/guard/setting.d.ts +0 -3
  325. package/dist/route/index.d.ts +0 -7
  326. package/dist/route/routes.d.ts +0 -3
  327. package/dist/stores/index.d.ts +0 -5
  328. package/dist/stores/modules/user.d.ts +0 -4
  329. package/dist/stores/plugin/persist.d.ts +0 -5
  330. package/dist/stores/plugin/sideEffect/index.d.ts +0 -5
  331. package/dist/utils/crypto.d.ts +0 -4
  332. package/dist/utils/eventBus.d.ts +0 -5
  333. package/src/api/helper.ts +0 -64
  334. package/src/api/index.ts +0 -75
  335. package/src/api/interface.ts +0 -15
  336. package/src/api/request.ts +0 -4
  337. package/src/api/system/app.ts +0 -28
  338. package/src/assets/icons/403.svg +0 -1
  339. package/src/assets/icons/403_dark.svg +0 -1
  340. package/src/assets/icons/404.svg +0 -1
  341. package/src/assets/icons/404_dark.svg +0 -1
  342. package/src/assets/icons/add-child.svg +0 -1
  343. package/src/assets/icons/authority.svg +0 -1
  344. package/src/assets/icons/authorize.svg +0 -1
  345. package/src/assets/icons/blacklist-disable.svg +0 -1
  346. package/src/assets/icons/blacklist-enable.svg +0 -1
  347. package/src/assets/icons/browser-360.svg +0 -1
  348. package/src/assets/icons/browser-chrome.svg +0 -1
  349. package/src/assets/icons/browser-edge.svg +0 -1
  350. package/src/assets/icons/browser-ie.svg +0 -1
  351. package/src/assets/icons/browser-other.svg +0 -1
  352. package/src/assets/icons/browser-qq.svg +0 -1
  353. package/src/assets/icons/browser-safari.svg +0 -1
  354. package/src/assets/icons/browser-uc.svg +0 -1
  355. package/src/assets/icons/change-org.svg +0 -1
  356. package/src/assets/icons/edit.svg +0 -1
  357. package/src/assets/icons/empty-data.svg +0 -1
  358. package/src/assets/icons/favorites.svg +0 -1
  359. package/src/assets/icons/icard.svg +0 -1
  360. package/src/assets/icons/icon_animation.svg +0 -1
  361. package/src/assets/icons/icon_breadcrumb.svg +0 -1
  362. package/src/assets/icons/icon_copyright.svg +0 -1
  363. package/src/assets/icons/icon_jt.svg +0 -1
  364. package/src/assets/icons/icon_layout.svg +0 -1
  365. package/src/assets/icons/icon_mainpage.svg +0 -1
  366. package/src/assets/icons/icon_menu.svg +0 -1
  367. package/src/assets/icons/icon_page_size.svg +0 -1
  368. package/src/assets/icons/icon_position_type.svg +0 -1
  369. package/src/assets/icons/icon_safe_manage.svg +0 -1
  370. package/src/assets/icons/icon_screen_scale.svg +0 -6
  371. package/src/assets/icons/icon_system_manage.svg +0 -1
  372. package/src/assets/icons/icon_tabbar.svg +0 -1
  373. package/src/assets/icons/icon_toolbar.svg +0 -1
  374. package/src/assets/icons/icon_topbar.svg +0 -1
  375. package/src/assets/icons/icon_watermark.svg +0 -1
  376. package/src/assets/icons/image-load-fail.svg +0 -1
  377. package/src/assets/icons/log-center.svg +0 -1
  378. package/src/assets/icons/logo-sig.svg +0 -1
  379. package/src/assets/icons/mima.svg +0 -1
  380. package/src/assets/icons/not-data.svg +0 -1
  381. package/src/assets/icons/org-main.svg +0 -1
  382. package/src/assets/icons/org-unmain.svg +0 -1
  383. package/src/assets/icons/process-management.svg +0 -1
  384. package/src/assets/icons/project-management.svg +0 -1
  385. package/src/assets/icons/rbac.svg +0 -1
  386. package/src/assets/icons/remove.svg +0 -1
  387. package/src/assets/icons/resource-app.svg +0 -1
  388. package/src/assets/icons/resource-btn.svg +0 -1
  389. package/src/assets/icons/resource-index.svg +0 -1
  390. package/src/assets/icons/resource-menu.svg +0 -1
  391. package/src/assets/icons/resource-nonmenu.svg +0 -1
  392. package/src/assets/icons/setting-manage.svg +0 -1
  393. package/src/assets/icons/test.svg +0 -1
  394. package/src/assets/icons/theme-check-mark.svg +0 -1
  395. package/src/assets/icons/theme-title.svg +0 -1
  396. package/src/assets/icons/toolbar-collapse.svg +0 -1
  397. package/src/assets/icons/tree_icon.svg +0 -1
  398. package/src/assets/icons/tree_icon_checked.svg +0 -1
  399. package/src/assets/icons/view.svg +0 -1
  400. package/src/assets/icons/workbench.svg +0 -1
  401. package/src/assets/icons/zddata.svg +0 -1
  402. package/src/assets/icons/zy_checked.svg +0 -1
  403. package/src/assets/icons/zy_default.svg +0 -1
  404. package/src/assets/images/layout/item1.webp +0 -0
  405. package/src/assets/images/layout/item1_dark.webp +0 -0
  406. package/src/assets/images/layout/item2.webp +0 -0
  407. package/src/assets/images/layout/item2_dark.webp +0 -0
  408. package/src/assets/images/layout/item3.webp +0 -0
  409. package/src/assets/images/layout/item3_dark.webp +0 -0
  410. package/src/assets/images/layout/item4.webp +0 -0
  411. package/src/assets/images/layout/item4_dark.webp +0 -0
  412. package/src/assets/images/layout/item5.webp +0 -0
  413. package/src/assets/images/layout/item5_dark.webp +0 -0
  414. package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
  415. package/src/assets/images/page-width/auto.webp +0 -0
  416. package/src/assets/images/page-width/auto_dark.webp +0 -0
  417. package/src/assets/images/page-width/auto_min_w.webp +0 -0
  418. package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
  419. package/src/assets/images/page-width/icon_auto.webp +0 -0
  420. package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
  421. package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
  422. package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
  423. package/src/assets/images/page-width/icon_middle.webp +0 -0
  424. package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
  425. package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
  426. package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
  427. package/src/assets/images/page-width/middle.webp +0 -0
  428. package/src/assets/images/page-width/middle_dark.webp +0 -0
  429. package/src/assets/images/page-width/middle_max_w.webp +0 -0
  430. package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
  431. package/src/assets/styles/globals.scss +0 -189
  432. package/src/assets/styles/nprogress.scss +0 -63
  433. package/src/assets/styles/rbac.scss +0 -61
  434. package/src/assets/styles/resources/utils.scss +0 -53
  435. package/src/assets/styles/resources/variables.scss +0 -6
  436. package/src/components/PubinfoIcon/index.vue +0 -85
  437. package/src/config/index.ts +0 -1
  438. package/src/context.ts +0 -30
  439. package/src/create.ts +0 -88
  440. package/src/directives/index.ts +0 -6
  441. package/src/interface.ts +0 -35
  442. package/src/layout/Layout.vue +0 -330
  443. package/src/layout/components/Content/index.vue +0 -100
  444. package/src/layout/components/Header/TopMode/NotCursor.vue +0 -77
  445. package/src/layout/components/Header/index.vue +0 -263
  446. package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +0 -215
  447. package/src/layout/components/SettingBar/components/SettingMode.vue +0 -164
  448. package/src/layout/components/SettingBar/index.vue +0 -112
  449. package/src/layout/components/Tools/Breadcrumb/index.vue +0 -21
  450. package/src/layout/components/Tools/DayNightSwitch.vue +0 -93
  451. package/src/layout/components/Tools/I18nSelector.vue +0 -52
  452. package/src/layout/ui-kit/HDivider.vue +0 -53
  453. package/src/layout/ui-kit/HToggle.vue +0 -177
  454. package/src/pages/system/change-password/page.vue +0 -58
  455. package/src/pages/system/index.vue +0 -5
  456. package/src/route/async.ts +0 -18
  457. package/src/route/guard/basic.ts +0 -23
  458. package/src/route/guard/index.ts +0 -3
  459. package/src/route/index.ts +0 -12
  460. package/src/route/routes.ts +0 -101
  461. package/src/stores/index.ts +0 -10
  462. package/src/stores/plugin/persist.ts +0 -27
  463. package/src/stores/plugin/sideEffect/index.ts +0 -15
  464. package/src/utils/eventBus.ts +0 -15
  465. package/dist/{api/enum/code.d.ts → built-in/authentication/enum.d.ts} +0 -0
  466. package/dist/{components/NotAllowed → built-in/authentication/pages/change-organization}/index.vue.d.ts +0 -0
  467. package/dist/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
  468. package/dist/{pages/system → built-in/authentication/pages}/change-password/index.vue.d.ts +0 -0
  469. package/dist/{layout/components/Topbar/Toolbar → built-in/authorization/pages/not-permission}/index.vue.d.ts +0 -0
  470. package/dist/{components/PubinfoApp → built-in/layout-component/components/BackTop}/index.vue.d.ts +0 -0
  471. package/dist/{layout → built-in/layout-component}/components/Content/IframeView.vue.d.ts +0 -0
  472. package/dist/{layout → built-in/layout-component}/components/Content/LinkView.vue.d.ts +0 -0
  473. package/dist/{layout/components/BackTop → built-in/layout-component/components/Content}/index.vue.d.ts +0 -0
  474. package/dist/{layout/components/Content → built-in/layout-component/components/Copyright}/index.vue.d.ts +0 -0
  475. package/dist/{layout → built-in/layout-component}/components/Header/TopMode/index.vue.d.ts +0 -0
  476. package/dist/{layout → built-in/layout-component}/components/Header/TopThinMode.vue.d.ts +0 -0
  477. package/dist/{layout → built-in/layout-component}/components/Header/index.vue.d.ts +0 -0
  478. package/dist/{layout → built-in/layout-component}/components/Logo/index.vue.d.ts +0 -0
  479. package/dist/{layout → built-in/layout-component}/components/Menu/index.vue.d.ts +0 -0
  480. package/dist/{layout → built-in/layout-component}/components/Menu/item.vue.d.ts +0 -0
  481. package/dist/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue.d.ts +0 -0
  482. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
  483. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
  484. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
  485. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
  486. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
  487. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
  488. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
  489. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
  490. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
  491. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
  492. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
  493. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
  494. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
  495. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
  496. package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
  497. package/dist/{layout/components/Copyright → built-in/layout-component/components/SettingBar}/index.vue.d.ts +0 -0
  498. package/dist/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue.d.ts +0 -0
  499. package/dist/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue.d.ts +0 -0
  500. package/dist/{layout/components/SettingBar → built-in/layout-component/components/Sidebar}/index.vue.d.ts +0 -0
  501. package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
  502. package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
  503. package/dist/{layout → built-in/layout-component}/components/Tools/DayNightSwitch.vue.d.ts +0 -0
  504. package/dist/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue.d.ts +0 -0
  505. package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
  506. package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue.d.ts +0 -0
  507. package/dist/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue.d.ts +0 -0
  508. package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
  509. package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
  510. package/dist/{layout/components/Topbar → built-in/layout-component/components/Topbar/Toolbar}/index.vue.d.ts +0 -0
  511. package/dist/{pages/personal/profile → built-in/layout-component/components/Topbar}/index.vue.d.ts +0 -0
  512. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue.d.ts +0 -0
  513. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue.d.ts +1 -1
  514. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue.d.ts +2 -2
  515. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDivider.vue.d.ts +0 -0
  516. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue.d.ts +0 -0
  517. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue.d.ts +0 -0
  518. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue.d.ts +0 -0
  519. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue.d.ts +0 -0
  520. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue.d.ts +0 -0
  521. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue.d.ts +0 -0
  522. package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HToggle.vue.d.ts +0 -0
  523. package/dist/{layout → built-in/layout-component}/composables/useGetComputedStyle.d.ts +0 -0
  524. package/dist/{layout → built-in/layout-component}/composables/useMainPage.d.ts +0 -0
  525. package/dist/{layout → built-in/layout-component}/composables/useTabbar.d.ts +0 -0
  526. package/dist/{layout → built-in/layout-component}/composables/useTitle.d.ts +0 -0
  527. package/dist/{layout → built-in/layout-component}/composables/useViewTransition.d.ts +0 -0
  528. package/dist/{layout → built-in/layout-component}/composables/useWatermark.d.ts +0 -0
  529. package/dist/{pages/system/change-organization → built-in/layout-component/pages/reload}/index.vue.d.ts +0 -0
  530. package/dist/{layout → built-in/layout-component}/provider.d.ts +0 -0
  531. package/dist/{utils → built-in/layout-component/utils}/injectionKeys.d.ts +0 -0
  532. package/dist/{locales → built-in/locales}/lang/en.json.d.ts +0 -0
  533. package/dist/{locales → built-in/locales}/lang/zh-cn.json.d.ts +0 -0
  534. package/dist/{locales → built-in/locales}/lang/zh-tw.json.d.ts +0 -0
  535. package/dist/{locales → built-in/locales}/ui.d.ts +0 -0
  536. package/dist/{stores → built-in/pinia-plugin}/helper.d.ts +0 -0
  537. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.d.ts +0 -0
  538. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.d.ts +0 -0
  539. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.d.ts +0 -0
  540. package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.d.ts +0 -0
  541. package/dist/{utils → core}/utils.d.ts +0 -0
  542. package/dist/{api → features/api}/modules/auth/index.d.ts +0 -0
  543. package/dist/{api → features/api}/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  544. package/dist/{api → features/api}/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  545. package/dist/{api/modules/configData/zidianfuwu.d.ts → features/api/modules/configData/zidifuwu.d.ts} +0 -0
  546. package/dist/{api → features/api}/modules/rbac/gangweijiekou.d.ts +0 -0
  547. package/dist/{api → features/api}/modules/rbac/index.d.ts +0 -0
  548. package/dist/{api → features/api}/modules/rbac/jiaosejiekou.d.ts +0 -0
  549. package/dist/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  550. package/dist/{api → features/api}/modules/rbac/yonghujiekou.d.ts +0 -0
  551. package/dist/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  552. package/dist/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  553. package/dist/{api → features/api}/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  554. package/dist/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  555. package/dist/{api → features/api}/modules/rbac/zuzhijiekou.d.ts +0 -0
  556. package/dist/{api → features/api}/system/user.d.ts +0 -0
  557. package/dist/{pages/system → features/components/MicroAppContainer}/index.vue.d.ts +0 -0
  558. package/dist/{pages/system/not-permission → features/components/NotAllowed}/index.vue.d.ts +0 -0
  559. package/dist/{components → features/components}/PageHeader/index.vue.d.ts +0 -0
  560. package/dist/{components → features/components}/PageMain/index.vue.d.ts +0 -0
  561. package/dist/{components → features/components}/PassStrengthValidator/index.vue.d.ts +2 -2
  562. package/dist/{components → features/components}/PassStrengthValidator/rule.vue.d.ts +0 -0
  563. package/dist/{layout/components/Sidebar → features/components/PubinfoApp}/index.vue.d.ts +0 -0
  564. package/dist/{components → features/components}/PubinfoIcon/index.vue.d.ts +0 -0
  565. package/dist/{components → features/components}/PubinfoProvider/index.d.ts +0 -0
  566. package/dist/{components → features/components}/index.d.ts +0 -0
  567. package/dist/{composables → features/composables}/index.d.ts +0 -0
  568. package/dist/{composables → features/composables}/log.d.ts +0 -0
  569. package/dist/{composables → features/composables}/theme.d.ts +0 -0
  570. package/dist/{composables → features/composables}/watchDiff.d.ts +0 -0
  571. package/dist/{pages/system/[...all].vue.d.ts → features/pages/not-found/index.vue.d.ts} +0 -0
  572. package/dist/{pages/system/reload.vue.d.ts → features/pages/profile/index.vue.d.ts} +0 -0
  573. package/dist/{config/settings.d.ts → features/settings/index.d.ts} +0 -0
  574. package/dist/{stores/enum/index.d.ts → features/stores/enum.d.ts} +0 -0
  575. package/dist/{stores → features/stores}/modules/iframe.d.ts +0 -0
  576. package/dist/{stores → features/stores}/modules/index.d.ts +0 -0
  577. package/dist/{stores → features/stores}/modules/keepAlive.d.ts +0 -0
  578. package/dist/{stores → features/stores}/modules/menu.d.ts +0 -0
  579. package/dist/{stores → features/stores}/modules/settings.d.ts +0 -0
  580. package/src/{api/enum/code.ts → built-in/authentication/enum.ts} +0 -0
  581. package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small.png +0 -0
  582. package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small_dark.webp +0 -0
  583. package/src/{assets → built-in/layout-component/assets}/images/not-cursor.png +0 -0
  584. package/src/{layout → built-in/layout-component}/components/BackTop/index.vue +0 -0
  585. package/src/{layout → built-in/layout-component}/components/Header/TopThinMode.vue +0 -0
  586. package/src/{layout → built-in/layout-component}/components/Menu/sub.vue +0 -0
  587. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue +0 -0
  588. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue +0 -0
  589. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue +0 -0
  590. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue +0 -0
  591. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue +0 -0
  592. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue +0 -0
  593. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue +0 -0
  594. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue +0 -0
  595. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue +0 -0
  596. package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue +0 -0
  597. package/src/{layout → built-in/layout-component}/components/Sidebar/index.vue +0 -0
  598. package/src/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue +0 -0
  599. package/src/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue +0 -0
  600. package/src/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue +0 -0
  601. package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue +0 -0
  602. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue +0 -0
  603. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue +0 -0
  604. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue +0 -0
  605. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue +0 -0
  606. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue +0 -0
  607. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue +0 -0
  608. package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue +0 -0
  609. package/src/{layout → built-in/layout-component}/composables/useViewTransition.ts +0 -0
  610. package/src/{pages/system/reload.vue → built-in/layout-component/pages/reload/index.vue} +0 -0
  611. package/src/{utils → built-in/layout-component/utils}/injectionKeys.ts +0 -0
  612. package/src/{locales → built-in/locales}/lang/en.json +0 -0
  613. package/src/{locales → built-in/locales}/lang/zh-cn.json +0 -0
  614. package/src/{locales → built-in/locales}/lang/zh-tw.json +0 -0
  615. package/src/{locales → built-in/locales}/ui.ts +0 -0
  616. package/src/{utils → core}/utils.ts +0 -0
  617. package/src/{api → features/api}/modules/auth/index.ts +0 -0
  618. package/src/{api → features/api}/modules/rbac/index.ts +0 -0
  619. package/src/{api → features/api}/system/typings.d.ts +0 -0
  620. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.eot +0 -0
  621. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff +0 -0
  622. package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff2 +0 -0
  623. package/src/{assets → features/assets}/fonts/digital-7/stylesheet.css +0 -0
  624. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
  625. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
  626. package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
  627. package/src/{assets → features/assets}/fonts/digital-7_mono/stylesheet.css +0 -0
  628. package/src/{assets → features/assets}/fonts/title.otf +0 -0
  629. package/src/{assets → features/assets}/images/change-org-bc.webp +0 -0
  630. package/src/{assets → features/assets}/images/header-bg.png +0 -0
  631. package/src/{assets → features/assets}/images/logo.png +0 -0
  632. package/src/{assets → features/assets}/images/slider-bg.png +0 -0
  633. package/src/{components → features/components}/PageHeader/index.vue +0 -0
  634. package/src/{components → features/components}/PageMain/index.vue +0 -0
  635. package/src/{components → features/components}/index.ts +0 -0
  636. package/src/{composables → features/composables}/index.ts +0 -0
  637. package/src/{composables → features/composables}/log.ts +0 -0
  638. package/src/{stores → features/stores}/modules/favorites.ts +1 -1
  639. /package/src/{stores → features/stores}/modules/iframe.ts +0 -0
  640. /package/src/{stores → features/stores}/modules/index.ts +0 -0
@@ -0,0 +1,923 @@
1
+ import { _ as re } from "./HCheckList.vue_vue_type_script_setup_true_lang-DusVz35O.js";
2
+ import { H as ue, F as me, e as E, B as be, aq as ce, P as k, M as pe, bM as ye, bN as ge, bO as ve, bP as fe, bx as he, C as we, bQ as Me, by as Pe, h as Oe, x as Ce, k as $e, i as ke, a7 as xe, g as ne, aF as Se, bG as Ve, bR as Te, bv as _e, ba as Ie, bS as Be, a5 as Ue, b as He } from "./index-Jd3PYkpj.js";
3
+ import { _ as Ae } from "./HToggle-DMcVgMVY.js";
4
+ import { defineComponent as te, shallowRef as U, computed as J, createVNode as a, Transition as Ee, withDirectives as ze, vShow as Re, ref as Le, createElementBlock as d, openBlock as r, createCommentVNode as u, createElementVNode as s, unref as e, isRef as Fe, Fragment as De, renderList as je, normalizeClass as v, normalizeStyle as Ne, withCtx as c, createTextVNode as V } from "vue";
5
+ import { getThemes as qe } from "@pubinfo/config/themes";
6
+ import { E as Q, a as X } from "./right-Bfe2p1o0.js";
7
+ import { R as H } from "./question-line-CfkciTFq.js";
8
+ import { p as $ } from "./pick-BLJM77QN.js";
9
+ const A = (i, o, n, p, f) => ({
10
+ backgroundColor: i,
11
+ border: `${p.lineWidth}px ${p.lineType} ${o}`,
12
+ [`${f}-icon`]: {
13
+ color: n
14
+ }
15
+ }), Ge = (i) => {
16
+ const {
17
+ componentCls: o,
18
+ motionDurationSlow: n,
19
+ marginXS: p,
20
+ marginSM: f,
21
+ fontSize: M,
22
+ fontSizeLG: y,
23
+ lineHeight: t,
24
+ borderRadiusLG: C,
25
+ motionEaseInOutCirc: b,
26
+ alertIconSizeLG: m,
27
+ colorText: w,
28
+ paddingContentVerticalSM: P,
29
+ alertPaddingHorizontal: l,
30
+ paddingMD: x,
31
+ paddingContentHorizontalLG: T
32
+ } = i;
33
+ return {
34
+ [o]: E(E({}, be(i)), {
35
+ position: "relative",
36
+ display: "flex",
37
+ alignItems: "center",
38
+ padding: `${P}px ${l}px`,
39
+ wordWrap: "break-word",
40
+ borderRadius: C,
41
+ [`&${o}-rtl`]: {
42
+ direction: "rtl"
43
+ },
44
+ [`${o}-content`]: {
45
+ flex: 1,
46
+ minWidth: 0
47
+ },
48
+ [`${o}-icon`]: {
49
+ marginInlineEnd: p,
50
+ lineHeight: 0
51
+ },
52
+ "&-description": {
53
+ display: "none",
54
+ fontSize: M,
55
+ lineHeight: t
56
+ },
57
+ "&-message": {
58
+ color: w
59
+ },
60
+ [`&${o}-motion-leave`]: {
61
+ overflow: "hidden",
62
+ opacity: 1,
63
+ transition: `max-height ${n} ${b}, opacity ${n} ${b},
64
+ padding-top ${n} ${b}, padding-bottom ${n} ${b},
65
+ margin-bottom ${n} ${b}`
66
+ },
67
+ [`&${o}-motion-leave-active`]: {
68
+ maxHeight: 0,
69
+ marginBottom: "0 !important",
70
+ paddingTop: 0,
71
+ paddingBottom: 0,
72
+ opacity: 0
73
+ }
74
+ }),
75
+ [`${o}-with-description`]: {
76
+ alignItems: "flex-start",
77
+ paddingInline: T,
78
+ paddingBlock: x,
79
+ [`${o}-icon`]: {
80
+ marginInlineEnd: f,
81
+ fontSize: m,
82
+ lineHeight: 0
83
+ },
84
+ [`${o}-message`]: {
85
+ display: "block",
86
+ marginBottom: p,
87
+ color: w,
88
+ fontSize: y
89
+ },
90
+ [`${o}-description`]: {
91
+ display: "block"
92
+ }
93
+ },
94
+ [`${o}-banner`]: {
95
+ marginBottom: 0,
96
+ border: "0 !important",
97
+ borderRadius: 0
98
+ }
99
+ };
100
+ }, We = (i) => {
101
+ const {
102
+ componentCls: o,
103
+ colorSuccess: n,
104
+ colorSuccessBorder: p,
105
+ colorSuccessBg: f,
106
+ colorWarning: M,
107
+ colorWarningBorder: y,
108
+ colorWarningBg: t,
109
+ colorError: C,
110
+ colorErrorBorder: b,
111
+ colorErrorBg: m,
112
+ colorInfo: w,
113
+ colorInfoBorder: P,
114
+ colorInfoBg: l
115
+ } = i;
116
+ return {
117
+ [o]: {
118
+ "&-success": A(f, p, n, i, o),
119
+ "&-info": A(l, P, w, i, o),
120
+ "&-warning": A(t, y, M, i, o),
121
+ "&-error": E(E({}, A(m, b, C, i, o)), {
122
+ [`${o}-description > pre`]: {
123
+ margin: 0,
124
+ padding: 0
125
+ }
126
+ })
127
+ }
128
+ };
129
+ }, Qe = (i) => {
130
+ const {
131
+ componentCls: o,
132
+ iconCls: n,
133
+ motionDurationMid: p,
134
+ marginXS: f,
135
+ fontSizeIcon: M,
136
+ colorIcon: y,
137
+ colorIconHover: t
138
+ } = i;
139
+ return {
140
+ [o]: {
141
+ "&-action": {
142
+ marginInlineStart: f
143
+ },
144
+ [`${o}-close-icon`]: {
145
+ marginInlineStart: f,
146
+ padding: 0,
147
+ overflow: "hidden",
148
+ fontSize: M,
149
+ lineHeight: `${M}px`,
150
+ backgroundColor: "transparent",
151
+ border: "none",
152
+ outline: "none",
153
+ cursor: "pointer",
154
+ [`${n}-close`]: {
155
+ color: y,
156
+ transition: `color ${p}`,
157
+ "&:hover": {
158
+ color: t
159
+ }
160
+ }
161
+ },
162
+ "&-close-text": {
163
+ color: y,
164
+ transition: `color ${p}`,
165
+ "&:hover": {
166
+ color: t
167
+ }
168
+ }
169
+ }
170
+ };
171
+ }, Xe = (i) => [Ge(i), We(i), Qe(i)], Je = ue("Alert", (i) => {
172
+ const {
173
+ fontSizeHeading3: o
174
+ } = i, n = me(i, {
175
+ alertIconSizeLG: o,
176
+ alertPaddingHorizontal: 12
177
+ // Fixed value here.
178
+ });
179
+ return [Xe(n)];
180
+ }), Ke = {
181
+ success: Pe,
182
+ info: Me,
183
+ error: we,
184
+ warning: he
185
+ }, Ye = {
186
+ success: fe,
187
+ info: ve,
188
+ error: ge,
189
+ warning: ye
190
+ }, Ze = Se("success", "info", "warning", "error"), en = () => ({
191
+ /**
192
+ * Type of Alert styles, options: `success`, `info`, `warning`, `error`
193
+ */
194
+ type: k.oneOf(Ze),
195
+ /** Whether Alert can be closed */
196
+ closable: {
197
+ type: Boolean,
198
+ default: void 0
199
+ },
200
+ /** Close text to show */
201
+ closeText: k.any,
202
+ /** Content of Alert */
203
+ message: k.any,
204
+ /** Additional content of Alert */
205
+ description: k.any,
206
+ /** Trigger when animation ending of Alert */
207
+ afterClose: Function,
208
+ /** Whether to show icon */
209
+ showIcon: {
210
+ type: Boolean,
211
+ default: void 0
212
+ },
213
+ prefixCls: String,
214
+ banner: {
215
+ type: Boolean,
216
+ default: void 0
217
+ },
218
+ icon: k.any,
219
+ closeIcon: k.any,
220
+ onClose: Function
221
+ }), nn = te({
222
+ compatConfig: {
223
+ MODE: 3
224
+ },
225
+ name: "AAlert",
226
+ inheritAttrs: !1,
227
+ props: en(),
228
+ setup(i, o) {
229
+ let {
230
+ slots: n,
231
+ emit: p,
232
+ attrs: f,
233
+ expose: M
234
+ } = o;
235
+ const {
236
+ prefixCls: y,
237
+ direction: t
238
+ } = pe("alert", i), [C, b] = Je(y), m = U(!1), w = U(!1), P = U(), l = (h) => {
239
+ h.preventDefault();
240
+ const O = P.value;
241
+ O.style.height = `${O.offsetHeight}px`, O.style.height = `${O.offsetHeight}px`, m.value = !0, p("close", h);
242
+ }, x = () => {
243
+ var h;
244
+ m.value = !1, w.value = !0, (h = i.afterClose) === null || h === void 0 || h.call(i);
245
+ }, T = J(() => {
246
+ const {
247
+ type: h
248
+ } = i;
249
+ return h !== void 0 ? h : i.banner ? "warning" : "info";
250
+ });
251
+ M({
252
+ animationEnd: x
253
+ });
254
+ const oe = U({});
255
+ return () => {
256
+ var h, O, z, R, L, F, D, j, N, q;
257
+ const {
258
+ banner: K,
259
+ closeIcon: Y = (h = n.closeIcon) === null || h === void 0 ? void 0 : h.call(n)
260
+ } = i;
261
+ let {
262
+ closable: G,
263
+ showIcon: S
264
+ } = i;
265
+ const W = (O = i.closeText) !== null && O !== void 0 ? O : (z = n.closeText) === null || z === void 0 ? void 0 : z.call(n), _ = (R = i.description) !== null && R !== void 0 ? R : (L = n.description) === null || L === void 0 ? void 0 : L.call(n), Z = (F = i.message) !== null && F !== void 0 ? F : (D = n.message) === null || D === void 0 ? void 0 : D.call(n), I = (j = i.icon) !== null && j !== void 0 ? j : (N = n.icon) === null || N === void 0 ? void 0 : N.call(n), ee = (q = n.action) === null || q === void 0 ? void 0 : q.call(n);
266
+ S = K && S === void 0 ? !0 : S;
267
+ const le = (_ ? Ye : Ke)[T.value] || null;
268
+ W && (G = !0);
269
+ const g = y.value, ae = Oe(g, {
270
+ [`${g}-${T.value}`]: !0,
271
+ [`${g}-closing`]: m.value,
272
+ [`${g}-with-description`]: !!_,
273
+ [`${g}-no-icon`]: !S,
274
+ [`${g}-banner`]: !!K,
275
+ [`${g}-closable`]: G,
276
+ [`${g}-rtl`]: t.value === "rtl",
277
+ [b.value]: !0
278
+ }), se = G ? a("button", {
279
+ type: "button",
280
+ onClick: l,
281
+ class: `${g}-close-icon`,
282
+ tabindex: 0
283
+ }, [W ? a("span", {
284
+ class: `${g}-close-text`
285
+ }, [W]) : Y === void 0 ? a(Ce, null, null) : Y]) : null, ie = I && ($e(I) ? ke(I, {
286
+ class: `${g}-icon`
287
+ }) : a("span", {
288
+ class: `${g}-icon`
289
+ }, [I])) || a(le, {
290
+ class: `${g}-icon`
291
+ }, null), de = xe(`${g}-motion`, {
292
+ appear: !1,
293
+ css: !0,
294
+ onAfterLeave: x,
295
+ onBeforeLeave: (B) => {
296
+ B.style.maxHeight = `${B.offsetHeight}px`;
297
+ },
298
+ onLeave: (B) => {
299
+ B.style.maxHeight = "0px";
300
+ }
301
+ });
302
+ return C(w.value ? null : a(Ee, de, {
303
+ default: () => [ze(a("div", ne(ne({
304
+ role: "alert"
305
+ }, f), {}, {
306
+ style: [f.style, oe.value],
307
+ class: [f.class, ae],
308
+ "data-show": !m.value,
309
+ ref: P
310
+ }), [S ? ie : null, a("div", {
311
+ class: `${g}-content`
312
+ }, [Z ? a("div", {
313
+ class: `${g}-message`
314
+ }, [Z]) : null, _ ? a("div", {
315
+ class: `${g}-description`
316
+ }, [_]) : null]), ee ? a("div", {
317
+ class: `${g}-action`
318
+ }, [ee]) : null, se]), [[Re, !m.value]])]
319
+ }));
320
+ };
321
+ }
322
+ }), tn = ce(nn), on = {
323
+ key: 0,
324
+ class: "divider"
325
+ }, ln = {
326
+ key: 1,
327
+ class: "flex items-center justify-center pb-4"
328
+ }, an = {
329
+ key: 2,
330
+ class: "themes"
331
+ }, sn = ["onClick"], dn = {
332
+ key: 3,
333
+ class: "divider"
334
+ }, rn = {
335
+ key: 4,
336
+ class: "menu-mode"
337
+ }, un = {
338
+ key: 5,
339
+ class: "divider"
340
+ }, mn = {
341
+ key: 6,
342
+ class: "app-width-mode"
343
+ }, bn = {
344
+ key: 7,
345
+ class: "divider"
346
+ }, cn = {
347
+ key: 8,
348
+ class: "flex items-center justify-center pb-4"
349
+ }, pn = {
350
+ key: 9,
351
+ class: "transition-mode"
352
+ }, yn = {
353
+ key: 10,
354
+ class: "divider"
355
+ }, gn = {
356
+ key: 11,
357
+ class: "setting-item"
358
+ }, vn = { class: "label" }, fn = {
359
+ key: 12,
360
+ class: "setting-item"
361
+ }, hn = {
362
+ key: 13,
363
+ class: "setting-item"
364
+ }, wn = {
365
+ key: 14,
366
+ class: "setting-item"
367
+ }, Mn = {
368
+ key: 15,
369
+ class: "setting-item"
370
+ }, Pn = {
371
+ key: 16,
372
+ class: "divider"
373
+ }, On = {
374
+ key: 17,
375
+ class: "setting-item"
376
+ }, Cn = { class: "label" }, $n = {
377
+ key: 18,
378
+ class: "divider"
379
+ }, kn = {
380
+ key: 19,
381
+ class: "setting-item"
382
+ }, xn = {
383
+ key: 20,
384
+ class: "setting-item"
385
+ }, Sn = {
386
+ key: 21,
387
+ class: "setting-item"
388
+ }, Vn = {
389
+ key: 22,
390
+ class: "setting-item"
391
+ }, Tn = { class: "label" }, _n = {
392
+ key: 23,
393
+ class: "divider"
394
+ }, In = {
395
+ key: 24,
396
+ class: "setting-item"
397
+ }, Bn = {
398
+ key: 25,
399
+ class: "setting-item"
400
+ }, Un = {
401
+ key: 26,
402
+ class: "setting-item"
403
+ }, Hn = {
404
+ key: 27,
405
+ class: "divider"
406
+ }, An = {
407
+ key: 28,
408
+ class: "setting-item"
409
+ }, En = { class: "label" }, zn = {
410
+ "w-full": "",
411
+ "h-100px": "",
412
+ flex: "~ center"
413
+ }, Rn = /* @__PURE__ */ te({
414
+ name: "PreferenceContent",
415
+ __name: "PreferencesContent",
416
+ setup(i) {
417
+ const { settingsStore: o } = Ve(), n = Le({
418
+ app: $(
419
+ o.settings.app,
420
+ [
421
+ "colorScheme",
422
+ "lightTheme",
423
+ "darkTheme",
424
+ "enableProgress",
425
+ "enableUserPreferences"
426
+ ]
427
+ ),
428
+ menu: $(
429
+ o.settings.menu,
430
+ [
431
+ "menuMode",
432
+ "isRounded",
433
+ "menuActiveStyle",
434
+ "subMenuUniqueOpened",
435
+ "subMenuCollapse",
436
+ "enableSubMenuCollapseButton"
437
+ ]
438
+ ),
439
+ layout: $(
440
+ o.settings.layout,
441
+ [
442
+ "widthMode"
443
+ ]
444
+ ),
445
+ mainPage: $(
446
+ o.settings.mainPage,
447
+ [
448
+ "enableTransition",
449
+ "transitionMode"
450
+ ]
451
+ ),
452
+ topbar: $(
453
+ o.settings.topbar,
454
+ [
455
+ "mode",
456
+ "switchTabbarAndToolbar"
457
+ ]
458
+ ),
459
+ tabbar: $(
460
+ o.settings.tabbar,
461
+ [
462
+ "enable",
463
+ "style",
464
+ "enableIcon",
465
+ "mergeTabsBy",
466
+ "enableMemory"
467
+ ]
468
+ ),
469
+ breadcrumb: $(
470
+ o.settings.breadcrumb,
471
+ [
472
+ "enable",
473
+ "style",
474
+ "enableMainMenu"
475
+ ]
476
+ )
477
+ }), p = J({
478
+ get() {
479
+ return n.value.app?.colorScheme === "dark";
480
+ },
481
+ set(y) {
482
+ n.value.app?.colorScheme && (n.value.app.colorScheme = y ? "dark" : "light");
483
+ }
484
+ }), f = J(() => {
485
+ const y = qe();
486
+ return Object.keys(y).map((t) => ({
487
+ label: t,
488
+ value: y[t]
489
+ })).filter((t) => t.value["color-scheme"] === n.value.app?.colorScheme);
490
+ });
491
+ Te(() => n.value, async (y) => {
492
+ o.updateSettings(_e(y), !1), await o.setPreferencesSetting(y), Ie.success("个人偏好设置成功");
493
+ }, {
494
+ deep: !0
495
+ });
496
+ async function M() {
497
+ await o.resetSettings();
498
+ }
499
+ return (y, t) => {
500
+ const C = tn, b = Ae, m = Be, w = re, P = Ue;
501
+ return r(), d("div", null, [
502
+ a(C, {
503
+ message: "提示",
504
+ description: "个人偏好设置将覆盖系统默认设置。若需恢复至系统默认配置,请滚动至底部并点击“还原系统设置”按钮。",
505
+ type: "info"
506
+ }),
507
+ e(n).app?.hasOwnProperty("colorScheme") || e(n).app?.hasOwnProperty("lightTheme") && e(n).app?.hasOwnProperty("darkTheme") ? (r(), d("div", on, " 颜色主题风格 ")) : u("", !0),
508
+ e(n).app?.hasOwnProperty("colorScheme") ? (r(), d("div", ln, [
509
+ a(b, {
510
+ modelValue: e(p),
511
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => Fe(p) ? p.value = l : null),
512
+ "on-icon": "i-ri-sun-line",
513
+ "off-icon": "i-ri-moon-line"
514
+ }, null, 8, ["modelValue"])
515
+ ])) : u("", !0),
516
+ e(n).app?.hasOwnProperty("lightTheme") && e(n).app?.hasOwnProperty("darkTheme") ? (r(), d("div", an, [
517
+ (r(!0), d(De, null, je(e(f), (l) => (r(), d("div", {
518
+ key: l.label,
519
+ class: v(["theme", { active: e(p) ? e(n).app.darkTheme === l.label : e(n).app.lightTheme === l.label }]),
520
+ onClick: (x) => e(p) ? e(n).app?.hasOwnProperty("darkTheme") && (e(n).app.darkTheme = l.label) : e(n).app?.hasOwnProperty("lightTheme") && (e(n).app.lightTheme = l.label)
521
+ }, [
522
+ s("div", {
523
+ class: "content",
524
+ style: Ne(`background-color: rgb(${l.value["--ui-primary"]});`)
525
+ }, null, 4)
526
+ ], 10, sn))), 128))
527
+ ])) : u("", !0),
528
+ e(o).mode === "pc" && e(n).menu?.hasOwnProperty("menuMode") ? (r(), d("div", dn, " 导航栏模式 ")) : u("", !0),
529
+ e(o).mode === "pc" && e(n).menu?.hasOwnProperty("menuMode") ? (r(), d("div", rn, [
530
+ a(m, {
531
+ text: "侧边栏模式 (含主导航)",
532
+ placement: "bottom",
533
+ delay: 500
534
+ }, {
535
+ default: c(() => [
536
+ s("div", {
537
+ class: v(["mode mode-side", { active: e(n).menu.menuMode === "side" }]),
538
+ onClick: t[1] || (t[1] = (l) => e(n).menu?.hasOwnProperty("menuMode") && (e(n).menu.menuMode = "side"))
539
+ }, t[30] || (t[30] = [
540
+ s("div", { class: "mode-container" }, null, -1)
541
+ ]), 2)
542
+ ]),
543
+ _: 1
544
+ }),
545
+ a(m, {
546
+ text: "顶部模式",
547
+ placement: "bottom",
548
+ delay: 500
549
+ }, {
550
+ default: c(() => [
551
+ s("div", {
552
+ class: v(["mode mode-head", { active: e(n).menu.menuMode === "head" }]),
553
+ onClick: t[2] || (t[2] = (l) => e(n).menu?.hasOwnProperty("menuMode") && (e(n).menu.menuMode = "head"))
554
+ }, t[31] || (t[31] = [
555
+ s("div", { class: "mode-container" }, null, -1)
556
+ ]), 2)
557
+ ]),
558
+ _: 1
559
+ }),
560
+ a(m, {
561
+ text: "侧边栏模式 (不含主导航)",
562
+ placement: "bottom",
563
+ delay: 500
564
+ }, {
565
+ default: c(() => [
566
+ s("div", {
567
+ class: v(["mode mode-single", { active: e(n).menu.menuMode === "single" }]),
568
+ onClick: t[3] || (t[3] = (l) => e(n).menu?.hasOwnProperty("menuMode") && (e(n).menu.menuMode = "single"))
569
+ }, t[32] || (t[32] = [
570
+ s("div", { class: "mode-container" }, null, -1)
571
+ ]), 2)
572
+ ]),
573
+ _: 1
574
+ }),
575
+ a(m, {
576
+ text: "侧边栏精简模式",
577
+ placement: "bottom",
578
+ delay: 500
579
+ }, {
580
+ default: c(() => [
581
+ s("div", {
582
+ class: v(["mode mode-only-side", { active: e(n).menu.menuMode === "only-side" }]),
583
+ onClick: t[4] || (t[4] = (l) => e(n).menu?.hasOwnProperty("menuMode") && (e(n).menu.menuMode = "only-side"))
584
+ }, t[33] || (t[33] = [
585
+ s("div", { class: "mode-container" }, null, -1)
586
+ ]), 2)
587
+ ]),
588
+ _: 1
589
+ }),
590
+ a(m, {
591
+ text: "顶部精简模式",
592
+ placement: "bottom",
593
+ delay: 500
594
+ }, {
595
+ default: c(() => [
596
+ s("div", {
597
+ class: v(["mode mode-only-head", { active: e(n).menu.menuMode === "only-head" }]),
598
+ onClick: t[5] || (t[5] = (l) => e(n).menu?.hasOwnProperty("menuMode") && (e(n).menu.menuMode = "only-head"))
599
+ }, t[34] || (t[34] = [
600
+ s("div", { class: "mode-container" }, null, -1)
601
+ ]), 2)
602
+ ]),
603
+ _: 1
604
+ })
605
+ ])) : u("", !0),
606
+ e(o).mode === "pc" && e(n).layout?.hasOwnProperty("widthMode") ? (r(), d("div", un, " 页宽模式 ")) : u("", !0),
607
+ e(o).mode === "pc" && e(n).layout?.hasOwnProperty("widthMode") ? (r(), d("div", mn, [
608
+ a(m, {
609
+ text: "自适应",
610
+ placement: "bottom",
611
+ delay: 500
612
+ }, {
613
+ default: c(() => [
614
+ s("div", {
615
+ class: v(["mode mode-adaption", { active: e(n).layout.widthMode === "adaption" }]),
616
+ onClick: t[6] || (t[6] = (l) => e(n).layout?.hasOwnProperty("widthMode") && (e(n).layout.widthMode = "adaption"))
617
+ }, [
618
+ a(e(Q), { class: "left" }),
619
+ a(e(X), { class: "right" })
620
+ ], 2)
621
+ ]),
622
+ _: 1
623
+ }),
624
+ a(m, {
625
+ text: "自适应 (有最小宽度)",
626
+ placement: "bottom",
627
+ delay: 500
628
+ }, {
629
+ default: c(() => [
630
+ s("div", {
631
+ class: v(["mode mode-adaption-min-width", { active: e(n).layout.widthMode === "adaption-min-width" }]),
632
+ onClick: t[7] || (t[7] = (l) => e(n).layout?.hasOwnProperty("widthMode") && (e(n).layout.widthMode = "adaption-min-width"))
633
+ }, [
634
+ a(e(Q), { class: "left" }),
635
+ a(e(X), { class: "right" })
636
+ ], 2)
637
+ ]),
638
+ _: 1
639
+ }),
640
+ a(m, {
641
+ text: "定宽居中",
642
+ placement: "bottom",
643
+ delay: 500
644
+ }, {
645
+ default: c(() => [
646
+ s("div", {
647
+ class: v(["mode mode-center", { active: e(n).layout.widthMode === "center" }]),
648
+ onClick: t[8] || (t[8] = (l) => e(n).layout?.widthMode && (e(n).layout.widthMode = "center"))
649
+ }, null, 2)
650
+ ]),
651
+ _: 1
652
+ }),
653
+ a(m, {
654
+ text: "定宽居中 (有最大宽度)",
655
+ placement: "bottom",
656
+ delay: 500
657
+ }, {
658
+ default: c(() => [
659
+ s("div", {
660
+ class: v(["mode mode-center-max-width", { active: e(n).layout.widthMode === "center-max-width" }]),
661
+ onClick: t[9] || (t[9] = (l) => e(n).layout?.widthMode && (e(n).layout.widthMode = "center-max-width"))
662
+ }, [
663
+ a(e(Q), { class: "left" }),
664
+ a(e(X), { class: "right" })
665
+ ], 2)
666
+ ]),
667
+ _: 1
668
+ })
669
+ ])) : u("", !0),
670
+ e(o).settings.mainPage.enableTransition && e(n).mainPage?.hasOwnProperty("enableTransition") ? (r(), d("div", bn, " 页面切换动画 ")) : u("", !0),
671
+ e(o).settings.mainPage.enableTransition && e(n).mainPage?.hasOwnProperty("enableTransition") ? (r(), d("div", cn, [
672
+ a(b, {
673
+ modelValue: e(n).mainPage.enableTransition,
674
+ "onUpdate:modelValue": t[10] || (t[10] = (l) => e(n).mainPage.enableTransition = l)
675
+ }, null, 8, ["modelValue"])
676
+ ])) : u("", !0),
677
+ e(o).settings.mainPage.enableTransition && e(n).mainPage?.hasOwnProperty("transitionMode") ? (r(), d("div", pn, [
678
+ a(m, {
679
+ text: "淡入淡出",
680
+ placement: "bottom",
681
+ delay: 500
682
+ }, {
683
+ default: c(() => [
684
+ s("div", {
685
+ class: v(["mode mode-fade", { active: e(n).mainPage.transitionMode === "fade" }]),
686
+ onClick: t[11] || (t[11] = (l) => e(n).mainPage?.hasOwnProperty("transitionMode") && (e(n).mainPage.transitionMode = "fade"))
687
+ }, null, 2)
688
+ ]),
689
+ _: 1
690
+ }),
691
+ a(m, {
692
+ text: "向左滑动",
693
+ placement: "bottom",
694
+ delay: 500
695
+ }, {
696
+ default: c(() => [
697
+ s("div", {
698
+ class: v(["mode mode-slide-left", { active: e(n).mainPage.transitionMode === "slide-left" }]),
699
+ onClick: t[12] || (t[12] = (l) => e(n).mainPage?.hasOwnProperty("transitionMode") && (e(n).mainPage.transitionMode = "slide-left"))
700
+ }, null, 2)
701
+ ]),
702
+ _: 1
703
+ }),
704
+ a(m, {
705
+ text: "向右滑动",
706
+ placement: "bottom",
707
+ delay: 500
708
+ }, {
709
+ default: c(() => [
710
+ s("div", {
711
+ class: v(["mode mode-slide-right", { active: e(n).mainPage.transitionMode === "slide-right" }]),
712
+ onClick: t[13] || (t[13] = (l) => e(n).mainPage?.hasOwnProperty("transitionMode") && (e(n).mainPage.transitionMode = "slide-right"))
713
+ }, null, 2)
714
+ ]),
715
+ _: 1
716
+ }),
717
+ a(m, {
718
+ text: "向上滑动",
719
+ placement: "bottom",
720
+ delay: 500
721
+ }, {
722
+ default: c(() => [
723
+ s("div", {
724
+ class: v(["mode mode-slide-top", { active: e(n).mainPage.transitionMode === "slide-top" }]),
725
+ onClick: t[14] || (t[14] = (l) => e(n).mainPage?.hasOwnProperty("transitionMode") && (e(n).mainPage.transitionMode = "slide-top"))
726
+ }, null, 2)
727
+ ]),
728
+ _: 1
729
+ }),
730
+ a(m, {
731
+ text: "向下滑动",
732
+ placement: "bottom",
733
+ delay: 500
734
+ }, {
735
+ default: c(() => [
736
+ s("div", {
737
+ class: v(["mode mode-slide-bottom", { active: e(n).mainPage.transitionMode === "slide-bottom" }]),
738
+ onClick: t[15] || (t[15] = (l) => e(n).mainPage?.hasOwnProperty("transitionMode") && (e(n).mainPage.transitionMode = "slide-bottom"))
739
+ }, null, 2)
740
+ ]),
741
+ _: 1
742
+ })
743
+ ])) : u("", !0),
744
+ e(n).menu?.hasOwnProperty("switchMainMenuAndPageJump") || e(n).menu?.hasOwnProperty("subMenuOnlyOneHide") || e(n).menu?.hasOwnProperty("subMenuUniqueOpened") || e(n).menu?.hasOwnProperty("subMenuCollapse") || e(n).menu?.hasOwnProperty("enableSubMenuCollapseButton") ? (r(), d("div", yn, " 导航栏 ")) : u("", !0),
745
+ e(n).menu?.hasOwnProperty("subMenuUniqueOpened") ? (r(), d("div", gn, [
746
+ s("div", vn, [
747
+ t[35] || (t[35] = V(" 次导航保持展开一个 ")),
748
+ a(m, { text: "开启该功能后,次导航只保持单个菜单的展开" }, {
749
+ default: c(() => [
750
+ a(e(H))
751
+ ]),
752
+ _: 1
753
+ })
754
+ ]),
755
+ a(b, {
756
+ modelValue: e(n).menu.subMenuUniqueOpened,
757
+ "onUpdate:modelValue": t[16] || (t[16] = (l) => e(n).menu.subMenuUniqueOpened = l),
758
+ disabled: ["only-side", "only-head"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode)
759
+ }, null, 8, ["modelValue", "disabled"])
760
+ ])) : u("", !0),
761
+ e(n).menu?.hasOwnProperty("subMenuCollapse") ? (r(), d("div", fn, [
762
+ t[36] || (t[36] = s("div", { class: "label" }, " 次导航是否折叠 ", -1)),
763
+ a(b, {
764
+ modelValue: e(n).menu.subMenuCollapse,
765
+ "onUpdate:modelValue": t[17] || (t[17] = (l) => e(n).menu.subMenuCollapse = l),
766
+ disabled: ["only-side", "only-head"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode)
767
+ }, null, 8, ["modelValue", "disabled"])
768
+ ])) : u("", !0),
769
+ e(o).mode === "pc" && e(o).settings.menu.enableSubMenuCollapseButton && e(n).menu?.hasOwnProperty("enableSubMenuCollapseButton") ? (r(), d("div", hn, [
770
+ t[37] || (t[37] = s("div", { class: "label" }, " 显示次导航折叠按钮 ", -1)),
771
+ a(b, {
772
+ modelValue: e(n).menu.enableSubMenuCollapseButton,
773
+ "onUpdate:modelValue": t[18] || (t[18] = (l) => e(n).menu.enableSubMenuCollapseButton = l),
774
+ disabled: ["only-side", "only-head"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode)
775
+ }, null, 8, ["modelValue", "disabled"])
776
+ ])) : u("", !0),
777
+ e(n).menu?.hasOwnProperty("isRounded") ? (r(), d("div", wn, [
778
+ t[38] || (t[38] = s("div", { class: "label" }, " 是否圆角 ", -1)),
779
+ a(b, {
780
+ modelValue: e(n).menu.isRounded,
781
+ "onUpdate:modelValue": t[19] || (t[19] = (l) => e(n).menu.isRounded = l)
782
+ }, null, 8, ["modelValue"])
783
+ ])) : u("", !0),
784
+ (e(n).menu?.menuMode ?? e(o).settings.menu.menuMode) !== "single" && e(n).menu?.hasOwnProperty("menuActiveStyle") ? (r(), d("div", Mn, [
785
+ t[39] || (t[39] = s("div", { class: "label" }, " 激活风格 ", -1)),
786
+ a(w, {
787
+ modelValue: e(n).menu.menuActiveStyle,
788
+ "onUpdate:modelValue": t[20] || (t[20] = (l) => e(n).menu.menuActiveStyle = l),
789
+ options: [
790
+ { icon: "i-jam-stop-sign", value: "" },
791
+ { icon: ["head", "only-head"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode) ? "i-ep-caret-top" : "i-ep-caret-left", value: "arrow" },
792
+ { icon: ["side", "only-side"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode) ? "i-tabler-minus-vertical" : "i-tabler-minus", value: "line" },
793
+ { icon: "i-icon-park-outline-dot", value: "dot" }
794
+ ]
795
+ }, null, 8, ["modelValue", "options"])
796
+ ])) : u("", !0),
797
+ e(n).topbar?.hasOwnProperty("mode") || e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", Pn, " 顶栏 ")) : u("", !0),
798
+ e(n).topbar?.hasOwnProperty("switchTabbarAndToolbar") ? (r(), d("div", On, [
799
+ s("div", Cn, [
800
+ t[40] || (t[40] = V(" 展示切换 ")),
801
+ a(m, { text: "切换标签栏和工具栏的展示顺序" }, {
802
+ default: c(() => [
803
+ a(e(H))
804
+ ]),
805
+ _: 1
806
+ })
807
+ ]),
808
+ a(b, {
809
+ modelValue: e(n).topbar.switchTabbarAndToolbar,
810
+ "onUpdate:modelValue": t[21] || (t[21] = (l) => e(n).topbar.switchTabbarAndToolbar = l),
811
+ disabled: !e(n).tabbar?.enable
812
+ }, null, 8, ["modelValue", "disabled"])
813
+ ])) : u("", !0),
814
+ e(o).settings.tabbar.enable && e(n).tabbar?.hasOwnProperty("enable") || e(n).tabbar?.hasOwnProperty("style") || e(n).tabbar?.hasOwnProperty("enableIcon") || e(n).tabbar?.hasOwnProperty("mergeTabsBy") ? (r(), d("div", $n, " 标签栏 ")) : u("", !0),
815
+ e(o).settings.tabbar.enable && e(n).tabbar?.hasOwnProperty("enable") ? (r(), d("div", kn, [
816
+ t[41] || (t[41] = s("div", { class: "label" }, " 是否启用 ", -1)),
817
+ a(b, {
818
+ modelValue: e(n).tabbar.enable,
819
+ "onUpdate:modelValue": t[22] || (t[22] = (l) => e(n).tabbar.enable = l)
820
+ }, null, 8, ["modelValue"])
821
+ ])) : u("", !0),
822
+ e(o).settings.tabbar.enable && e(n).tabbar?.hasOwnProperty("style") ? (r(), d("div", xn, [
823
+ t[42] || (t[42] = s("div", { class: "label" }, " 风格 ", -1)),
824
+ a(w, {
825
+ modelValue: e(n).tabbar.style,
826
+ "onUpdate:modelValue": t[23] || (t[23] = (l) => e(n).tabbar.style = l),
827
+ options: [
828
+ { label: "时尚", value: "fashion" },
829
+ { label: "卡片", value: "card" },
830
+ { label: "方块", value: "square" }
831
+ ],
832
+ disabled: !(e(n).tabbar?.enable ?? e(o).settings.tabbar.enable)
833
+ }, null, 8, ["modelValue", "disabled"])
834
+ ])) : u("", !0),
835
+ e(o).settings.tabbar.enable && e(n).tabbar?.hasOwnProperty("enableIcon") ? (r(), d("div", Sn, [
836
+ t[43] || (t[43] = s("div", { class: "label" }, " 是否显示图标 ", -1)),
837
+ a(b, {
838
+ modelValue: e(n).tabbar.enableIcon,
839
+ "onUpdate:modelValue": t[24] || (t[24] = (l) => e(n).tabbar.enableIcon = l),
840
+ disabled: !(e(n).tabbar?.enable ?? e(o).settings.tabbar.enable)
841
+ }, null, 8, ["modelValue", "disabled"])
842
+ ])) : u("", !0),
843
+ e(o).settings.tabbar.enable && e(n).tabbar?.hasOwnProperty("enableMemory") ? (r(), d("div", Vn, [
844
+ s("div", Tn, [
845
+ t[44] || (t[44] = V(" 是否启用记忆功能 ")),
846
+ a(m, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
847
+ default: c(() => [
848
+ a(e(H))
849
+ ]),
850
+ _: 1
851
+ })
852
+ ]),
853
+ a(b, {
854
+ modelValue: e(n).tabbar.enableMemory,
855
+ "onUpdate:modelValue": t[25] || (t[25] = (l) => e(n).tabbar.enableMemory = l),
856
+ disabled: !(e(n).tabbar?.enable ?? e(o).settings.tabbar.enable)
857
+ }, null, 8, ["modelValue", "disabled"])
858
+ ])) : u("", !0),
859
+ e(o).mode === "pc" && e(o).settings.breadcrumb.enable && (e(n).breadcrumb?.hasOwnProperty("enable") || e(n).breadcrumb?.hasOwnProperty("style") || e(n).breadcrumb?.hasOwnProperty("enableMainMenu")) ? (r(), d("div", _n, " 面包屑导航 ")) : u("", !0),
860
+ e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(n).breadcrumb?.hasOwnProperty("enable") ? (r(), d("div", In, [
861
+ t[45] || (t[45] = s("div", { class: "label" }, " 是否启用 ", -1)),
862
+ a(b, {
863
+ modelValue: e(n).breadcrumb.enable,
864
+ "onUpdate:modelValue": t[26] || (t[26] = (l) => e(n).breadcrumb.enable = l)
865
+ }, null, 8, ["modelValue"])
866
+ ])) : u("", !0),
867
+ e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(n).breadcrumb?.hasOwnProperty("style") ? (r(), d("div", Bn, [
868
+ t[46] || (t[46] = s("div", { class: "label" }, " 风格 ", -1)),
869
+ a(w, {
870
+ modelValue: e(n).breadcrumb.style,
871
+ "onUpdate:modelValue": t[27] || (t[27] = (l) => e(n).breadcrumb.style = l),
872
+ options: [
873
+ { label: "默认", value: "" },
874
+ { label: "现代", value: "modern" }
875
+ ],
876
+ disabled: !(e(n).breadcrumb?.enable ?? e(o).settings.breadcrumb.enable)
877
+ }, null, 8, ["modelValue", "disabled"])
878
+ ])) : u("", !0),
879
+ e(o).mode === "pc" && e(o).settings.breadcrumb.enable && e(o).settings.breadcrumb.enableMainMenu && e(n).breadcrumb?.hasOwnProperty("enableMainMenu") ? (r(), d("div", Un, [
880
+ t[47] || (t[47] = s("div", { class: "label" }, " 是否显示主导航 ", -1)),
881
+ a(b, {
882
+ modelValue: e(n).breadcrumb.enableMainMenu,
883
+ "onUpdate:modelValue": t[28] || (t[28] = (l) => e(n).breadcrumb.enableMainMenu = l),
884
+ disabled: ["single"].includes(e(n).menu?.menuMode ?? e(o).settings.menu.menuMode)
885
+ }, null, 8, ["modelValue", "disabled"])
886
+ ])) : u("", !0),
887
+ e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", Hn, " 其它 ")) : u("", !0),
888
+ e(o).settings.app.enableProgress && e(n).app?.hasOwnProperty("enableProgress") ? (r(), d("div", An, [
889
+ s("div", En, [
890
+ t[48] || (t[48] = V(" 载入进度条 ")),
891
+ a(m, { text: "该功能开启时,跳转路由会看到页面顶部有进度条" }, {
892
+ default: c(() => [
893
+ a(e(H))
894
+ ]),
895
+ _: 1
896
+ })
897
+ ]),
898
+ a(b, {
899
+ modelValue: e(n).app.enableProgress,
900
+ "onUpdate:modelValue": t[29] || (t[29] = (l) => e(n).app.enableProgress = l)
901
+ }, null, 8, ["modelValue"])
902
+ ])) : u("", !0),
903
+ s("div", zn, [
904
+ a(P, {
905
+ "w-full": "",
906
+ type: "primary",
907
+ size: "large",
908
+ onClick: M
909
+ }, {
910
+ default: c(() => t[49] || (t[49] = [
911
+ V(" 还原系统设置 ")
912
+ ])),
913
+ _: 1,
914
+ __: [49]
915
+ })
916
+ ])
917
+ ]);
918
+ };
919
+ }
920
+ }), Qn = /* @__PURE__ */ He(Rn, [["__scopeId", "data-v-c97d99bc"]]);
921
+ export {
922
+ Qn as default
923
+ };