@pubinfo/core 2.0.0-beta.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.
- package/es/AppSetting-BXQHV5F8.js +125 -0
- package/es/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +25 -0
- package/es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js +41 -0
- package/es/HDivider-DgXBhPr0.js +21 -0
- package/es/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +33 -0
- package/es/HToggle-Cd71WKvG.js +34 -0
- package/es/PreferencesContent-CQkwkQ_1.js +972 -0
- package/es/SettingBreadcrumb-Bp_66IFN.js +50 -0
- package/es/SettingCopyright-BPSnoTQb.js +62 -0
- package/es/SettingEnableTransition-Rx2-0Wxj.js +78 -0
- package/es/SettingHome-BW27PQqs.js +55 -0
- package/es/SettingMenu-D5gdNfal.js +120 -0
- package/es/SettingMode-B4_HGVez.js +69 -0
- package/es/SettingNavSearch-CRovYxzh.js +46 -0
- package/es/SettingOther-D0zo11vM.js +81 -0
- package/es/SettingPage-B8GHuoKV.js +29 -0
- package/es/SettingTabbar-Cn_QzvA8.js +154 -0
- package/es/SettingThemes-D_DpEncn.js +144 -0
- package/es/SettingToolbar-Csl2gnfi.js +85 -0
- package/es/SettingTopbar-CaHjQULM.js +52 -0
- package/es/SettingWidthMode-BGiP7gTw.js +68 -0
- package/es/TopThinMode-DWm0oY5Y.js +35 -0
- package/es/_...all_-DI_QAUox.js +52 -0
- package/es/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/es/api/enum/code.d.ts +67 -0
- package/es/api/helper.d.ts +32 -0
- package/es/api/index.d.ts +12 -0
- package/es/api/interface.d.ts +14 -0
- package/es/api/modules/auth/index.d.ts +1 -0
- package/es/api/modules/auth/renzhengfuwu.d.ts +50 -0
- package/es/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/es/api/modules/configData/index.d.ts +3 -0
- package/es/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/es/api/modules/configData/zidianfuwu.d.ts +71 -0
- package/es/api/modules/rbac/gangweijiekou.d.ts +43 -0
- package/es/api/modules/rbac/index.d.ts +11 -0
- package/es/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/es/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/es/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/es/api/modules/rbac/yonghujiekou.d.ts +106 -0
- package/es/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/es/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/es/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/es/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/es/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/es/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/es/api/request.d.ts +2 -0
- package/es/api/system/app.d.ts +17 -0
- package/es/api/system/user.d.ts +24 -0
- package/es/assets/styles/index.d.ts +6 -0
- package/es/colors-oRlAXMUC.js +25 -0
- package/es/components/NotAllowed/index.vue.d.ts +2 -0
- package/es/components/PageHeader/index.vue.d.ts +23 -0
- package/es/components/PageMain/index.vue.d.ts +27 -0
- package/es/components/PassStrengthValidator/index.vue.d.ts +26 -0
- package/es/components/PassStrengthValidator/rule.vue.d.ts +8 -0
- package/es/components/PubinfoApp/index.vue.d.ts +2 -0
- package/es/components/PubinfoIcon/index.vue.d.ts +10 -0
- package/es/components/PubinfoProvider/index.d.ts +8 -0
- package/es/components/index.d.ts +8 -0
- package/es/composables/auth.d.ts +8 -0
- package/es/composables/index.d.ts +4 -0
- package/es/composables/log.d.ts +6 -0
- package/es/composables/theme.d.ts +3 -0
- package/es/composables/watchDiff.d.ts +2 -0
- package/es/config/index.d.ts +1 -0
- package/es/config/settings.d.ts +3 -0
- package/es/context.d.ts +14 -0
- package/es/create.d.ts +3 -0
- package/es/directives/index.d.ts +4 -0
- package/es/directives/plugins/permission.d.ts +6 -0
- package/es/index-B9I6Pru6.js +276 -0
- package/es/index-BHkrq701.js +137 -0
- package/es/index-BkqnOkyO.js +49 -0
- package/es/index-BvVAS3S-.js +35841 -0
- package/es/index-ChOUZNbk.js +354 -0
- package/es/index-D8eeneI_.js +271 -0
- package/es/index-DTQQt_XY.js +10 -0
- package/es/index-Dav3jQVP.js +8228 -0
- package/es/index-DvHnVMX5.js +12913 -0
- package/es/index-P2cA5UeU.js +230 -0
- package/es/index.d.ts +11 -0
- package/es/index.js +76 -0
- package/es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js +2300 -0
- package/es/interface.d.ts +29 -0
- package/es/layout/Layout.vue.d.ts +20 -0
- package/es/layout/components/BackTop/index.vue.d.ts +2 -0
- package/es/layout/components/Content/IframeView.vue.d.ts +4 -0
- package/es/layout/components/Content/LinkView.vue.d.ts +2 -0
- package/es/layout/components/Content/index.vue.d.ts +2 -0
- package/es/layout/components/Copyright/index.vue.d.ts +2 -0
- package/es/layout/components/Header/TopMode/More.vue.d.ts +26 -0
- package/es/layout/components/Header/TopMode/NotCursor.vue.d.ts +25 -0
- package/es/layout/components/Header/TopMode/index.vue.d.ts +4 -0
- package/es/layout/components/Header/TopThinMode.vue.d.ts +4 -0
- package/es/layout/components/Header/index.vue.d.ts +19 -0
- package/es/layout/components/Logo/index.vue.d.ts +26 -0
- package/es/layout/components/Menu/index.vue.d.ts +10 -0
- package/es/layout/components/Menu/item.vue.d.ts +11 -0
- package/es/layout/components/Menu/sub.vue.d.ts +219 -0
- package/es/layout/components/Menu/types.d.ts +42 -0
- package/es/layout/components/SettingBar/AppSetting.vue.d.ts +12 -0
- package/es/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
- package/es/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/index.vue.d.ts +2 -0
- package/es/layout/components/Sidebar/MainSidebar.vue.d.ts +2 -0
- package/es/layout/components/Sidebar/SubSidebar.vue.d.ts +2 -0
- package/es/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/es/layout/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
- package/es/layout/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
- package/es/layout/components/Tools/DayNightSwitch.vue.d.ts +2 -0
- package/es/layout/components/Tools/HotkeysIntro.vue.d.ts +4 -0
- package/es/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
- package/es/layout/components/Tools/Preferences/index.vue.d.ts +4 -0
- package/es/layout/components/Tools/Search.vue.d.ts +199 -0
- package/es/layout/components/Tools/index.vue.d.ts +233 -0
- package/es/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +217 -0
- package/es/layout/components/Topbar/Tabbar/index.vue.d.ts +14 -0
- package/es/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
- package/es/layout/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
- package/es/layout/components/Topbar/Toolbar/index.vue.d.ts +2 -0
- package/es/layout/components/Topbar/index.vue.d.ts +2 -0
- package/es/layout/composables/useContext.d.ts +18 -0
- package/es/layout/composables/useGetComputedStyle.d.ts +15 -0
- package/es/layout/composables/useHotkey.d.ts +5 -0
- package/es/layout/composables/useMainPage.d.ts +14 -0
- package/es/layout/composables/useMenu.d.ts +8 -0
- package/es/layout/composables/useTabbar.d.ts +14 -0
- package/es/layout/composables/useTitle.d.ts +3 -0
- package/es/layout/composables/useViewTransition.d.ts +3 -0
- package/es/layout/composables/useWatermark.d.ts +4 -0
- package/es/layout/index.d.ts +19 -0
- package/es/layout/provider.d.ts +1 -0
- package/es/layout/ui-kit/HBadge.vue.d.ts +20 -0
- package/es/layout/ui-kit/HButton.vue.d.ts +26 -0
- package/es/layout/ui-kit/HCheckList.vue.d.ts +20 -0
- package/es/layout/ui-kit/HDialog.vue.d.ts +28 -0
- package/es/layout/ui-kit/HDivider.vue.d.ts +20 -0
- package/es/layout/ui-kit/HDropdown.vue.d.ts +18 -0
- package/es/layout/ui-kit/HDropdownMenu.vue.d.ts +26 -0
- package/es/layout/ui-kit/HDropdownTree.vue.d.ts +32 -0
- package/es/layout/ui-kit/HInput.vue.d.ts +17 -0
- package/es/layout/ui-kit/HKbd.vue.d.ts +17 -0
- package/es/layout/ui-kit/HSelect.vue.d.ts +17 -0
- package/es/layout/ui-kit/HSlideover.vue.d.ts +30 -0
- package/es/layout/ui-kit/HTabList.vue.d.ts +22 -0
- package/es/layout/ui-kit/HToggle.vue.d.ts +14 -0
- package/es/layout/ui-kit/HTooltip.vue.d.ts +23 -0
- package/es/locales/index.d.ts +301 -0
- package/es/locales/lang/en.json.d.ts +99 -0
- package/es/locales/lang/zh-cn.json.d.ts +100 -0
- package/es/locales/lang/zh-tw.json.d.ts +100 -0
- package/es/locales/ui.d.ts +3 -0
- package/es/modules.d.ts +11 -0
- package/es/notification-6D5hA7Bp.js +15347 -0
- package/es/pages/personal/profile/index.vue.d.ts +2 -0
- package/es/pages/system/[...all].vue.d.ts +2 -0
- package/es/pages/system/change-organization/index.vue.d.ts +2 -0
- package/es/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
- package/es/pages/system/change-password/index.vue.d.ts +31 -0
- package/es/pages/system/index.vue.d.ts +2 -0
- package/es/pages/system/not-permission/index.vue.d.ts +2 -0
- package/es/pages/system/reload.vue.d.ts +2 -0
- package/es/pick-Br-UKn7B.js +19 -0
- package/es/question-line-CfkciTFq.js +18 -0
- package/es/reload-CUcPYtl7.js +14 -0
- package/es/request.js +1811 -0
- package/es/right-Bfe2p1o0.js +36 -0
- package/es/route/async.d.ts +9 -0
- package/es/route/guard/auth.d.ts +3 -0
- package/es/route/guard/basic.d.ts +3 -0
- package/es/route/guard/index.d.ts +3 -0
- package/es/route/guard/setting.d.ts +3 -0
- package/es/route/index.d.ts +7 -0
- package/es/route/routes.d.ts +3 -0
- package/es/stores/enum/index.d.ts +20 -0
- package/es/stores/helper.d.ts +2 -0
- package/es/stores/index.d.ts +5 -0
- package/es/stores/modules/favorites.d.ts +32 -0
- package/es/stores/modules/iframe.d.ts +41 -0
- package/es/stores/modules/index.d.ts +9 -0
- package/es/stores/modules/keepAlive.d.ts +23 -0
- package/es/stores/modules/menu.d.ts +32 -0
- package/es/stores/modules/notification.d.ts +18 -0
- package/es/stores/modules/route.d.ts +42 -0
- package/es/stores/modules/settings.d.ts +85 -0
- package/es/stores/modules/tabbar.d.ts +59 -0
- package/es/stores/modules/user.d.ts +3 -0
- package/es/stores/plugin/persist.d.ts +5 -0
- package/es/stores/plugin/sideEffect/cleanup.d.ts +5 -0
- package/es/stores/plugin/sideEffect/favoritesStorage.d.ts +5 -0
- package/es/stores/plugin/sideEffect/iframeCache.d.ts +5 -0
- package/es/stores/plugin/sideEffect/index.d.ts +5 -0
- package/es/stores/plugin/sideEffect/tabbarStorage.d.ts +5 -0
- package/es/style.css +9 -0
- package/es/utils/cleanup.d.ts +8 -0
- package/es/utils/crypto.d.ts +4 -0
- package/es/utils/eventBus.d.ts +5 -0
- package/es/utils/index.d.ts +14 -0
- package/es/utils/injectionKeys.d.ts +2 -0
- package/es/utils/storage.d.ts +21 -0
- package/es/utils/utils.d.ts +3 -0
- package/es/utils/watermark.d.ts +51 -0
- package/lib/AppSetting-CCiwpjoq.cjs +1 -0
- package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +1 -0
- package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +1 -0
- package/lib/HDivider-DCfDgE8l.cjs +1 -0
- package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +1 -0
- package/lib/HToggle-BP6YYf-s.cjs +1 -0
- package/lib/PreferencesContent-DgL-Jc_J.cjs +3 -0
- package/lib/SettingBreadcrumb-BQ78yEP4.cjs +1 -0
- package/lib/SettingCopyright-x7aPlkQy.cjs +1 -0
- package/lib/SettingEnableTransition-CD3-44Iy.cjs +1 -0
- package/lib/SettingHome-u52oz6i8.cjs +1 -0
- package/lib/SettingMenu-DsElOvvv.cjs +1 -0
- package/lib/SettingMode-C_kgpTxw.cjs +1 -0
- package/lib/SettingNavSearch-3auTi8UW.cjs +1 -0
- package/lib/SettingOther-6XGQq7OA.cjs +1 -0
- package/lib/SettingPage-C8yIHpLc.cjs +1 -0
- package/lib/SettingTabbar-K-nHb89z.cjs +1 -0
- package/lib/SettingThemes-BeNwFz7K.cjs +1 -0
- package/lib/SettingToolbar-Be1V7lwV.cjs +1 -0
- package/lib/SettingTopbar-C-j8O3c8.cjs +1 -0
- package/lib/SettingWidthMode-GMjAF-s3.cjs +1 -0
- package/lib/TopThinMode-DGUvyHT2.cjs +1 -0
- package/lib/_...all_-C4CXjAo9.cjs +1 -0
- package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/lib/api/enum/code.d.ts +67 -0
- package/lib/api/helper.d.ts +32 -0
- package/lib/api/index.d.ts +12 -0
- package/lib/api/interface.d.ts +14 -0
- package/lib/api/modules/auth/index.d.ts +1 -0
- package/lib/api/modules/auth/renzhengfuwu.d.ts +50 -0
- package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/lib/api/modules/configData/index.d.ts +3 -0
- package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/lib/api/modules/configData/zidianfuwu.d.ts +71 -0
- package/lib/api/modules/rbac/gangweijiekou.d.ts +43 -0
- package/lib/api/modules/rbac/index.d.ts +11 -0
- package/lib/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/lib/api/modules/rbac/yonghujiekou.d.ts +106 -0
- package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/lib/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/lib/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/lib/api/request.d.ts +2 -0
- package/lib/api/system/app.d.ts +17 -0
- package/lib/api/system/user.d.ts +24 -0
- package/lib/assets/styles/index.d.ts +6 -0
- package/lib/colors-KAaBT84S.cjs +1 -0
- package/lib/components/NotAllowed/index.vue.d.ts +2 -0
- package/lib/components/PageHeader/index.vue.d.ts +23 -0
- package/lib/components/PageMain/index.vue.d.ts +27 -0
- package/lib/components/PassStrengthValidator/index.vue.d.ts +26 -0
- package/lib/components/PassStrengthValidator/rule.vue.d.ts +8 -0
- package/lib/components/PubinfoApp/index.vue.d.ts +2 -0
- package/lib/components/PubinfoIcon/index.vue.d.ts +10 -0
- package/lib/components/PubinfoProvider/index.d.ts +8 -0
- package/lib/components/index.d.ts +8 -0
- package/lib/composables/auth.d.ts +8 -0
- package/lib/composables/index.d.ts +4 -0
- package/lib/composables/log.d.ts +6 -0
- package/lib/composables/theme.d.ts +3 -0
- package/lib/composables/watchDiff.d.ts +2 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/config/settings.d.ts +3 -0
- package/lib/context.d.ts +14 -0
- package/lib/create.d.ts +3 -0
- package/lib/directives/index.d.ts +4 -0
- package/lib/directives/plugins/permission.d.ts +6 -0
- package/lib/index-38bsQrho.cjs +1 -0
- package/lib/index-BEqD62a0.cjs +1 -0
- package/lib/index-Bbm9CQRP.cjs +1 -0
- package/lib/index-BqHsuJkr.cjs +1 -0
- package/lib/index-JZl6Zh3L.cjs +44 -0
- package/lib/index-VGR0Mt4q.cjs +240 -0
- package/lib/index-WMo0GAa6.cjs +1 -0
- package/lib/index-_YsHduAE.cjs +1 -0
- package/lib/index-gr8kFwPx.cjs +18 -0
- package/lib/index-zvGq9tSu.cjs +1 -0
- package/lib/index.cjs +1 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +1 -0
- package/lib/interface.d.ts +29 -0
- package/lib/layout/Layout.vue.d.ts +20 -0
- package/lib/layout/components/BackTop/index.vue.d.ts +2 -0
- package/lib/layout/components/Content/IframeView.vue.d.ts +4 -0
- package/lib/layout/components/Content/LinkView.vue.d.ts +2 -0
- package/lib/layout/components/Content/index.vue.d.ts +2 -0
- package/lib/layout/components/Copyright/index.vue.d.ts +2 -0
- package/lib/layout/components/Header/TopMode/More.vue.d.ts +26 -0
- package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +25 -0
- package/lib/layout/components/Header/TopMode/index.vue.d.ts +4 -0
- package/lib/layout/components/Header/TopThinMode.vue.d.ts +4 -0
- package/lib/layout/components/Header/index.vue.d.ts +19 -0
- package/lib/layout/components/Logo/index.vue.d.ts +26 -0
- package/lib/layout/components/Menu/index.vue.d.ts +10 -0
- package/lib/layout/components/Menu/item.vue.d.ts +11 -0
- package/lib/layout/components/Menu/sub.vue.d.ts +219 -0
- package/lib/layout/components/Menu/types.d.ts +42 -0
- package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +12 -0
- package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
- package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/index.vue.d.ts +2 -0
- package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +2 -0
- package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +2 -0
- package/lib/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
- package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
- package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +2 -0
- package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +4 -0
- package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
- package/lib/layout/components/Tools/Preferences/index.vue.d.ts +4 -0
- package/lib/layout/components/Tools/Search.vue.d.ts +199 -0
- package/lib/layout/components/Tools/index.vue.d.ts +233 -0
- package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +217 -0
- package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +14 -0
- package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
- package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
- package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +2 -0
- package/lib/layout/components/Topbar/index.vue.d.ts +2 -0
- package/lib/layout/composables/useContext.d.ts +18 -0
- package/lib/layout/composables/useGetComputedStyle.d.ts +15 -0
- package/lib/layout/composables/useHotkey.d.ts +5 -0
- package/lib/layout/composables/useMainPage.d.ts +14 -0
- package/lib/layout/composables/useMenu.d.ts +8 -0
- package/lib/layout/composables/useTabbar.d.ts +14 -0
- package/lib/layout/composables/useTitle.d.ts +3 -0
- package/lib/layout/composables/useViewTransition.d.ts +3 -0
- package/lib/layout/composables/useWatermark.d.ts +4 -0
- package/lib/layout/index.d.ts +19 -0
- package/lib/layout/provider.d.ts +1 -0
- package/lib/layout/ui-kit/HBadge.vue.d.ts +20 -0
- package/lib/layout/ui-kit/HButton.vue.d.ts +26 -0
- package/lib/layout/ui-kit/HCheckList.vue.d.ts +20 -0
- package/lib/layout/ui-kit/HDialog.vue.d.ts +28 -0
- package/lib/layout/ui-kit/HDivider.vue.d.ts +20 -0
- package/lib/layout/ui-kit/HDropdown.vue.d.ts +18 -0
- package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +26 -0
- package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +32 -0
- package/lib/layout/ui-kit/HInput.vue.d.ts +17 -0
- package/lib/layout/ui-kit/HKbd.vue.d.ts +17 -0
- package/lib/layout/ui-kit/HSelect.vue.d.ts +17 -0
- package/lib/layout/ui-kit/HSlideover.vue.d.ts +30 -0
- package/lib/layout/ui-kit/HTabList.vue.d.ts +22 -0
- package/lib/layout/ui-kit/HToggle.vue.d.ts +14 -0
- package/lib/layout/ui-kit/HTooltip.vue.d.ts +23 -0
- package/lib/locales/index.d.ts +301 -0
- package/lib/locales/lang/en.json.d.ts +99 -0
- package/lib/locales/lang/zh-cn.json.d.ts +100 -0
- package/lib/locales/lang/zh-tw.json.d.ts +100 -0
- package/lib/locales/ui.d.ts +3 -0
- package/lib/modules.d.ts +11 -0
- package/lib/notification-IZqPm_OK.cjs +199 -0
- package/lib/pages/personal/profile/index.vue.d.ts +2 -0
- package/lib/pages/system/[...all].vue.d.ts +2 -0
- package/lib/pages/system/change-organization/index.vue.d.ts +2 -0
- package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
- package/lib/pages/system/change-password/index.vue.d.ts +31 -0
- package/lib/pages/system/index.vue.d.ts +2 -0
- package/lib/pages/system/not-permission/index.vue.d.ts +2 -0
- package/lib/pages/system/reload.vue.d.ts +2 -0
- package/lib/pick-y2yLda1R.cjs +1 -0
- package/lib/question-line-Cd0CU4hr.cjs +1 -0
- package/lib/reload-6L7Dzs7h.cjs +1 -0
- package/lib/request.cjs +6 -0
- package/lib/right-C5JQ_uRB.cjs +1 -0
- package/lib/route/async.d.ts +9 -0
- package/lib/route/guard/auth.d.ts +3 -0
- package/lib/route/guard/basic.d.ts +3 -0
- package/lib/route/guard/index.d.ts +3 -0
- package/lib/route/guard/setting.d.ts +3 -0
- package/lib/route/index.d.ts +7 -0
- package/lib/route/routes.d.ts +3 -0
- package/lib/stores/enum/index.d.ts +20 -0
- package/lib/stores/helper.d.ts +2 -0
- package/lib/stores/index.d.ts +5 -0
- package/lib/stores/modules/favorites.d.ts +32 -0
- package/lib/stores/modules/iframe.d.ts +41 -0
- package/lib/stores/modules/index.d.ts +9 -0
- package/lib/stores/modules/keepAlive.d.ts +23 -0
- package/lib/stores/modules/menu.d.ts +32 -0
- package/lib/stores/modules/notification.d.ts +18 -0
- package/lib/stores/modules/route.d.ts +42 -0
- package/lib/stores/modules/settings.d.ts +85 -0
- package/lib/stores/modules/tabbar.d.ts +59 -0
- package/lib/stores/modules/user.d.ts +3 -0
- package/lib/stores/plugin/persist.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/cleanup.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/iframeCache.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/index.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +5 -0
- package/lib/style.css +9 -0
- package/lib/utils/cleanup.d.ts +8 -0
- package/lib/utils/crypto.d.ts +4 -0
- package/lib/utils/eventBus.d.ts +5 -0
- package/lib/utils/index.d.ts +14 -0
- package/lib/utils/injectionKeys.d.ts +2 -0
- package/lib/utils/storage.d.ts +21 -0
- package/lib/utils/utils.d.ts +3 -0
- package/lib/utils/watermark.d.ts +51 -0
- package/package.json +101 -0
- package/src/api/enum/code.ts +78 -0
- package/src/api/helper.ts +64 -0
- package/src/api/index.ts +75 -0
- package/src/api/interface.ts +15 -0
- package/src/api/modules/auth/index.ts +3 -0
- package/src/api/modules/auth/renzhengfuwu.ts +131 -0
- package/src/api/modules/auth/typings.d.ts +97 -0
- package/src/api/modules/configData/heibaimingdanfuwu.ts +95 -0
- package/src/api/modules/configData/index.ts +5 -0
- package/src/api/modules/configData/typings.d.ts +357 -0
- package/src/api/modules/configData/xitongpeizhifuwu.ts +322 -0
- package/src/api/modules/configData/zidianfuwu.ts +193 -0
- package/src/api/modules/rbac/gangweijiekou.ts +114 -0
- package/src/api/modules/rbac/index.ts +13 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +124 -0
- package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +113 -0
- package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +186 -0
- package/src/api/modules/rbac/typings.d.ts +2030 -0
- package/src/api/modules/rbac/yonghujiekou.ts +294 -0
- package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +93 -0
- package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +72 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +223 -0
- package/src/api/modules/rbac/zuhuguanlijiekou.ts +91 -0
- package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +76 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +171 -0
- package/src/api/request.ts +4 -0
- package/src/api/system/app.ts +28 -0
- package/src/api/system/typings.d.ts +77 -0
- package/src/api/system/user.ts +47 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.eot +0 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.svg +135 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.woff +0 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.woff2 +0 -0
- package/src/assets/fonts/digital-7/stylesheet.css +12 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +134 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
- package/src/assets/fonts/digital-7_mono/stylesheet.css +12 -0
- package/src/assets/fonts/title.otf +0 -0
- package/src/assets/icons/403.svg +1 -0
- package/src/assets/icons/403_dark.svg +1 -0
- package/src/assets/icons/404.svg +1 -0
- package/src/assets/icons/404_dark.svg +1 -0
- package/src/assets/icons/add-child.svg +1 -0
- package/src/assets/icons/authority.svg +1 -0
- package/src/assets/icons/authorize.svg +1 -0
- package/src/assets/icons/blacklist-disable.svg +1 -0
- package/src/assets/icons/blacklist-enable.svg +1 -0
- package/src/assets/icons/browser-360.svg +1 -0
- package/src/assets/icons/browser-chrome.svg +1 -0
- package/src/assets/icons/browser-edge.svg +1 -0
- package/src/assets/icons/browser-ie.svg +1 -0
- package/src/assets/icons/browser-other.svg +1 -0
- package/src/assets/icons/browser-qq.svg +1 -0
- package/src/assets/icons/browser-safari.svg +1 -0
- package/src/assets/icons/browser-uc.svg +1 -0
- package/src/assets/icons/change-org.svg +1 -0
- package/src/assets/icons/edit.svg +1 -0
- package/src/assets/icons/empty-data.svg +1 -0
- package/src/assets/icons/favorites.svg +1 -0
- package/src/assets/icons/icard.svg +1 -0
- package/src/assets/icons/icon_animation.svg +1 -0
- package/src/assets/icons/icon_breadcrumb.svg +1 -0
- package/src/assets/icons/icon_copyright.svg +1 -0
- package/src/assets/icons/icon_jt.svg +1 -0
- package/src/assets/icons/icon_layout.svg +1 -0
- package/src/assets/icons/icon_mainpage.svg +1 -0
- package/src/assets/icons/icon_menu.svg +1 -0
- package/src/assets/icons/icon_page_size.svg +1 -0
- package/src/assets/icons/icon_position_type.svg +1 -0
- package/src/assets/icons/icon_safe_manage.svg +1 -0
- package/src/assets/icons/icon_screen_scale.svg +6 -0
- package/src/assets/icons/icon_system_manage.svg +1 -0
- package/src/assets/icons/icon_tabbar.svg +1 -0
- package/src/assets/icons/icon_toolbar.svg +1 -0
- package/src/assets/icons/icon_topbar.svg +1 -0
- package/src/assets/icons/icon_watermark.svg +1 -0
- package/src/assets/icons/image-load-fail.svg +1 -0
- package/src/assets/icons/log-center.svg +1 -0
- package/src/assets/icons/logo-sig.svg +1 -0
- package/src/assets/icons/mima.svg +1 -0
- package/src/assets/icons/not-data.svg +1 -0
- package/src/assets/icons/org-main.svg +1 -0
- package/src/assets/icons/org-unmain.svg +1 -0
- package/src/assets/icons/process-management.svg +1 -0
- package/src/assets/icons/project-management.svg +1 -0
- package/src/assets/icons/rbac.svg +1 -0
- package/src/assets/icons/remove.svg +1 -0
- package/src/assets/icons/resource-app.svg +1 -0
- package/src/assets/icons/resource-btn.svg +1 -0
- package/src/assets/icons/resource-index.svg +1 -0
- package/src/assets/icons/resource-menu.svg +1 -0
- package/src/assets/icons/resource-nonmenu.svg +1 -0
- package/src/assets/icons/setting-manage.svg +1 -0
- package/src/assets/icons/test.svg +1 -0
- package/src/assets/icons/theme-check-mark.svg +1 -0
- package/src/assets/icons/theme-title.svg +1 -0
- package/src/assets/icons/toolbar-collapse.svg +1 -0
- package/src/assets/icons/tree_icon.svg +1 -0
- package/src/assets/icons/tree_icon_checked.svg +1 -0
- package/src/assets/icons/view.svg +1 -0
- package/src/assets/icons/workbench.svg +1 -0
- package/src/assets/icons/zddata.svg +1 -0
- package/src/assets/icons/zy_checked.svg +1 -0
- package/src/assets/icons/zy_default.svg +1 -0
- package/src/assets/images/change-org-bc.webp +0 -0
- package/src/assets/images/header-bg.png +0 -0
- package/src/assets/images/layout/item1.webp +0 -0
- package/src/assets/images/layout/item1_dark.webp +0 -0
- package/src/assets/images/layout/item2.webp +0 -0
- package/src/assets/images/layout/item2_dark.webp +0 -0
- package/src/assets/images/layout/item3.webp +0 -0
- package/src/assets/images/layout/item3_dark.webp +0 -0
- package/src/assets/images/layout/item4.webp +0 -0
- package/src/assets/images/layout/item4_dark.webp +0 -0
- package/src/assets/images/layout/item5.webp +0 -0
- package/src/assets/images/layout/item5_dark.webp +0 -0
- package/src/assets/images/login-small.png +0 -0
- package/src/assets/images/login-small_dark.webp +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/assets/images/not-cursor.png +0 -0
- package/src/assets/images/org.svg +19 -0
- package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/auto.webp +0 -0
- package/src/assets/images/page-width/auto_dark.webp +0 -0
- package/src/assets/images/page-width/auto_min_w.webp +0 -0
- package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto.webp +0 -0
- package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle.webp +0 -0
- package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
- package/src/assets/images/page-width/middle.webp +0 -0
- package/src/assets/images/page-width/middle_dark.webp +0 -0
- package/src/assets/images/page-width/middle_max_w.webp +0 -0
- package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
- package/src/assets/images/slider-bg.png +0 -0
- package/src/assets/styles/globals.scss +189 -0
- package/src/assets/styles/index.ts +6 -0
- package/src/assets/styles/nprogress.scss +63 -0
- package/src/assets/styles/rbac.scss +61 -0
- package/src/assets/styles/resources/utils.scss +53 -0
- package/src/assets/styles/resources/variables.scss +6 -0
- package/src/components/NotAllowed/index.vue +76 -0
- package/src/components/PageHeader/index.vue +32 -0
- package/src/components/PageMain/index.vue +51 -0
- package/src/components/PassStrengthValidator/index.vue +213 -0
- package/src/components/PassStrengthValidator/rule.vue +51 -0
- package/src/components/PubinfoApp/index.vue +21 -0
- package/src/components/PubinfoIcon/index.vue +85 -0
- package/src/components/PubinfoProvider/index.ts +34 -0
- package/src/components/index.ts +8 -0
- package/src/composables/auth.ts +53 -0
- package/src/composables/index.ts +4 -0
- package/src/composables/log.ts +44 -0
- package/src/composables/theme.ts +16 -0
- package/src/composables/watchDiff.ts +53 -0
- package/src/config/index.ts +1 -0
- package/src/config/settings.ts +107 -0
- package/src/context.ts +30 -0
- package/src/create.ts +88 -0
- package/src/directives/index.ts +6 -0
- package/src/directives/plugins/permission.ts +23 -0
- package/src/index.ts +12 -0
- package/src/interface.ts +35 -0
- package/src/layout/Layout.vue +330 -0
- package/src/layout/components/BackTop/index.vue +47 -0
- package/src/layout/components/Content/IframeView.vue +120 -0
- package/src/layout/components/Content/LinkView.vue +118 -0
- package/src/layout/components/Content/index.vue +100 -0
- package/src/layout/components/Copyright/index.vue +49 -0
- package/src/layout/components/Header/TopMode/More.vue +103 -0
- package/src/layout/components/Header/TopMode/NotCursor.vue +77 -0
- package/src/layout/components/Header/TopMode/index.vue +151 -0
- package/src/layout/components/Header/TopThinMode.vue +45 -0
- package/src/layout/components/Header/index.vue +263 -0
- package/src/layout/components/Logo/index.vue +70 -0
- package/src/layout/components/Menu/index.vue +195 -0
- package/src/layout/components/Menu/item.vue +166 -0
- package/src/layout/components/Menu/sub.vue +220 -0
- package/src/layout/components/Menu/types.ts +49 -0
- package/src/layout/components/SettingBar/AppSetting.vue +146 -0
- package/src/layout/components/SettingBar/components/DayNightToggle.vue +238 -0
- package/src/layout/components/SettingBar/components/SettingBreadcrumb.vue +42 -0
- package/src/layout/components/SettingBar/components/SettingCopyright.vue +44 -0
- package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +215 -0
- package/src/layout/components/SettingBar/components/SettingHome.vue +33 -0
- package/src/layout/components/SettingBar/components/SettingMenu.vue +108 -0
- package/src/layout/components/SettingBar/components/SettingMode.vue +164 -0
- package/src/layout/components/SettingBar/components/SettingNavSearch.vue +30 -0
- package/src/layout/components/SettingBar/components/SettingOther.vue +53 -0
- package/src/layout/components/SettingBar/components/SettingPage.vue +20 -0
- package/src/layout/components/SettingBar/components/SettingTabbar.vue +70 -0
- package/src/layout/components/SettingBar/components/SettingThemes.vue +202 -0
- package/src/layout/components/SettingBar/components/SettingToolbar.vue +54 -0
- package/src/layout/components/SettingBar/components/SettingTopbar.vue +37 -0
- package/src/layout/components/SettingBar/components/SettingWidthMode.vue +149 -0
- package/src/layout/components/SettingBar/index.vue +112 -0
- package/src/layout/components/Sidebar/MainSidebar.vue +240 -0
- package/src/layout/components/Sidebar/SubSidebar.vue +165 -0
- package/src/layout/components/Sidebar/index.vue +13 -0
- package/src/layout/components/Tools/Breadcrumb/index.vue +21 -0
- package/src/layout/components/Tools/Breadcrumb/item.vue +44 -0
- package/src/layout/components/Tools/DayNightSwitch.vue +93 -0
- package/src/layout/components/Tools/HotkeysIntro.vue +103 -0
- package/src/layout/components/Tools/I18nSelector.vue +52 -0
- package/src/layout/components/Tools/Notification.vue +152 -0
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +722 -0
- package/src/layout/components/Tools/Preferences/index.vue +20 -0
- package/src/layout/components/Tools/Search.vue +380 -0
- package/src/layout/components/Tools/index.vue +241 -0
- package/src/layout/components/Topbar/Tabbar/MoreAction.vue +304 -0
- package/src/layout/components/Topbar/Tabbar/index.vue +781 -0
- package/src/layout/components/Topbar/Toolbar/Favorites.vue +138 -0
- package/src/layout/components/Topbar/Toolbar/Star.vue +30 -0
- package/src/layout/components/Topbar/Toolbar/index.vue +307 -0
- package/src/layout/components/Topbar/index.vue +106 -0
- package/src/layout/composables/useContext.ts +38 -0
- package/src/layout/composables/useGetComputedStyle.ts +70 -0
- package/src/layout/composables/useHotkey.ts +49 -0
- package/src/layout/composables/useMainPage.ts +68 -0
- package/src/layout/composables/useMenu.ts +29 -0
- package/src/layout/composables/useTabbar.ts +165 -0
- package/src/layout/composables/useTitle.ts +41 -0
- package/src/layout/composables/useViewTransition.ts +16 -0
- package/src/layout/composables/useWatermark.ts +67 -0
- package/src/layout/index.ts +59 -0
- package/src/layout/provider.ts +61 -0
- package/src/layout/ui-kit/HBadge.vue +41 -0
- package/src/layout/ui-kit/HButton.vue +28 -0
- package/src/layout/ui-kit/HCheckList.vue +49 -0
- package/src/layout/ui-kit/HDialog.vue +108 -0
- package/src/layout/ui-kit/HDivider.vue +53 -0
- package/src/layout/ui-kit/HDropdown.vue +13 -0
- package/src/layout/ui-kit/HDropdownMenu.vue +50 -0
- package/src/layout/ui-kit/HDropdownTree.vue +79 -0
- package/src/layout/ui-kit/HInput.vue +40 -0
- package/src/layout/ui-kit/HKbd.vue +33 -0
- package/src/layout/ui-kit/HSelect.vue +66 -0
- package/src/layout/ui-kit/HSlideover.vue +119 -0
- package/src/layout/ui-kit/HTabList.vue +56 -0
- package/src/layout/ui-kit/HToggle.vue +177 -0
- package/src/layout/ui-kit/HTooltip.vue +21 -0
- package/src/locales/index.ts +80 -0
- package/src/locales/lang/en.json +96 -0
- package/src/locales/lang/zh-cn.json +97 -0
- package/src/locales/lang/zh-tw.json +97 -0
- package/src/locales/ui.ts +3 -0
- package/src/modules.ts +49 -0
- package/src/pages/personal/notification.vue +58 -0
- package/src/pages/personal/profile/index.vue +125 -0
- package/src/pages/system/[...all].vue +74 -0
- package/src/pages/system/change-organization/index.vue +174 -0
- package/src/pages/system/change-password/components/ChangePasswordForm/index.vue +144 -0
- package/src/pages/system/change-password/index.vue +102 -0
- package/src/pages/system/change-password/page.vue +58 -0
- package/src/pages/system/index.vue +5 -0
- package/src/pages/system/not-permission/index.vue +73 -0
- package/src/pages/system/reload.vue +11 -0
- package/src/route/async.ts +18 -0
- package/src/route/guard/auth.ts +92 -0
- package/src/route/guard/basic.ts +23 -0
- package/src/route/guard/index.ts +3 -0
- package/src/route/guard/setting.ts +122 -0
- package/src/route/index.ts +12 -0
- package/src/route/routes.ts +110 -0
- package/src/stores/enum/index.ts +29 -0
- package/src/stores/helper.ts +37 -0
- package/src/stores/index.ts +10 -0
- package/src/stores/modules/favorites.ts +152 -0
- package/src/stores/modules/iframe.ts +114 -0
- package/src/stores/modules/index.ts +9 -0
- package/src/stores/modules/keepAlive.ts +68 -0
- package/src/stores/modules/menu.ts +207 -0
- package/src/stores/modules/notification.ts +34 -0
- package/src/stores/modules/route.ts +435 -0
- package/src/stores/modules/settings.ts +371 -0
- package/src/stores/modules/tabbar.ts +338 -0
- package/src/stores/modules/user.ts +210 -0
- package/src/stores/plugin/persist.ts +27 -0
- package/src/stores/plugin/sideEffect/cleanup.ts +20 -0
- package/src/stores/plugin/sideEffect/favoritesStorage.ts +62 -0
- package/src/stores/plugin/sideEffect/iframeCache.ts +32 -0
- package/src/stores/plugin/sideEffect/index.ts +15 -0
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +98 -0
- package/src/utils/cleanup.ts +20 -0
- package/src/utils/crypto.ts +27 -0
- package/src/utils/eventBus.ts +15 -0
- package/src/utils/index.ts +44 -0
- package/src/utils/injectionKeys.ts +5 -0
- package/src/utils/storage.ts +57 -0
- package/src/utils/utils.ts +12 -0
- package/src/utils/watermark.ts +256 -0
- package/types/auto-imports.d.ts +85 -0
- package/types/components.d.ts +36 -0
- package/types/favorites.d.ts +8 -0
- package/types/iframe.d.ts +8 -0
- package/types/index.d.ts +9 -0
- package/types/menu.d.ts +31 -0
- package/types/module.d.ts +23 -0
- package/types/settings.d.ts +571 -0
- package/types/tabbar.d.ts +23 -0
- package/types/user.d.ts +46 -0
- package/types/vite-env.d.ts +39 -0
- package/types/vue-router.d.ts +68 -0
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { themes } from '@pubinfo/config/themes';
|
|
3
|
+
import { message } from 'ant-design-vue';
|
|
4
|
+
import { cloneDeep, pick } from 'lodash-es';
|
|
5
|
+
import EpBack from '~icons/ep/back';
|
|
6
|
+
import EpRight from '~icons/ep/right';
|
|
7
|
+
import RiQuestionLine from '~icons/ri/question-line';
|
|
8
|
+
import { useContext } from '../../../composables/useContext';
|
|
9
|
+
/* =============================================
|
|
10
|
+
= Vue SFC Options 配置 =
|
|
11
|
+
============================================= */
|
|
12
|
+
defineOptions({
|
|
13
|
+
name: 'PreferenceContent',
|
|
14
|
+
});
|
|
15
|
+
/* =============================================
|
|
16
|
+
= 逻辑代码 =
|
|
17
|
+
============================================= */
|
|
18
|
+
|
|
19
|
+
const { settingsStore } = useContext();
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 提供用户可配置的选项
|
|
23
|
+
* 不需要配置的选项,可以在这里删除或注释掉,页面上会自动隐藏
|
|
24
|
+
* 需注意,boolean 类型的选项,会先判断系统是否开启了该功能,如果系统没有开启,那即便在这里允许配置,页面上也不会显示
|
|
25
|
+
*/
|
|
26
|
+
const preferences = ref<Settings.all>({
|
|
27
|
+
app: pick(
|
|
28
|
+
settingsStore.settings.app,
|
|
29
|
+
[
|
|
30
|
+
'colorScheme',
|
|
31
|
+
'lightTheme',
|
|
32
|
+
'darkTheme',
|
|
33
|
+
'enableProgress',
|
|
34
|
+
'enableUserPreferences',
|
|
35
|
+
],
|
|
36
|
+
),
|
|
37
|
+
menu: pick(
|
|
38
|
+
settingsStore.settings.menu,
|
|
39
|
+
[
|
|
40
|
+
'menuMode',
|
|
41
|
+
'isRounded',
|
|
42
|
+
'menuActiveStyle',
|
|
43
|
+
'subMenuUniqueOpened',
|
|
44
|
+
'subMenuCollapse',
|
|
45
|
+
'enableSubMenuCollapseButton',
|
|
46
|
+
],
|
|
47
|
+
),
|
|
48
|
+
layout: pick(settingsStore.settings.layout,
|
|
49
|
+
[
|
|
50
|
+
'widthMode',
|
|
51
|
+
],
|
|
52
|
+
),
|
|
53
|
+
mainPage: pick(settingsStore.settings.mainPage,
|
|
54
|
+
[
|
|
55
|
+
'enableTransition',
|
|
56
|
+
'transitionMode',
|
|
57
|
+
],
|
|
58
|
+
),
|
|
59
|
+
topbar: pick(settingsStore.settings.topbar,
|
|
60
|
+
[
|
|
61
|
+
'mode',
|
|
62
|
+
'switchTabbarAndToolbar',
|
|
63
|
+
],
|
|
64
|
+
),
|
|
65
|
+
tabbar: pick(settingsStore.settings.tabbar,
|
|
66
|
+
[
|
|
67
|
+
'enable',
|
|
68
|
+
'style',
|
|
69
|
+
'enableIcon',
|
|
70
|
+
'mergeTabsBy',
|
|
71
|
+
'enableMemory',
|
|
72
|
+
],
|
|
73
|
+
),
|
|
74
|
+
breadcrumb: pick(settingsStore.settings.breadcrumb,
|
|
75
|
+
[
|
|
76
|
+
'enable',
|
|
77
|
+
'style',
|
|
78
|
+
'enableMainMenu',
|
|
79
|
+
],
|
|
80
|
+
),
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
const isDark = computed({
|
|
84
|
+
get() {
|
|
85
|
+
return preferences.value.app?.colorScheme === 'dark';
|
|
86
|
+
},
|
|
87
|
+
set(value) {
|
|
88
|
+
if (preferences.value.app?.colorScheme) {
|
|
89
|
+
preferences.value.app.colorScheme = value ? 'dark' : 'light';
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
const themeList = computed(() => {
|
|
95
|
+
return Object.keys(themes).map((key) => {
|
|
96
|
+
return {
|
|
97
|
+
label: key,
|
|
98
|
+
value: (themes as any)[key],
|
|
99
|
+
};
|
|
100
|
+
}).filter((item) => {
|
|
101
|
+
return item.value['color-scheme'] === preferences.value.app?.colorScheme;
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
watchDiffObject(() => preferences.value, async (val) => {
|
|
106
|
+
// 更新用户偏好设置
|
|
107
|
+
settingsStore.updateSettings(cloneDeep(val), false);
|
|
108
|
+
await settingsStore.setPreferencesSetting(val);
|
|
109
|
+
message.success('个人偏好设置成功');
|
|
110
|
+
}, {
|
|
111
|
+
deep: true,
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
async function resetSetting() {
|
|
115
|
+
await settingsStore.resetSettings();
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
118
|
+
|
|
119
|
+
<template>
|
|
120
|
+
<div>
|
|
121
|
+
<a-alert
|
|
122
|
+
message="提示"
|
|
123
|
+
description="个人偏好设置将覆盖系统默认设置。若需恢复至系统默认配置,请滚动至底部并点击“还原系统设置”按钮。"
|
|
124
|
+
type="info"
|
|
125
|
+
/>
|
|
126
|
+
<div v-if="preferences.app?.hasOwnProperty('colorScheme') || (preferences.app?.hasOwnProperty('lightTheme') && preferences.app?.hasOwnProperty('darkTheme'))" class="divider">
|
|
127
|
+
颜色主题风格
|
|
128
|
+
</div>
|
|
129
|
+
<div v-if="preferences.app?.hasOwnProperty('colorScheme')" class="flex items-center justify-center pb-4">
|
|
130
|
+
<HToggle v-model="isDark" on-icon="i-ri-sun-line" off-icon="i-ri-moon-line" />
|
|
131
|
+
</div>
|
|
132
|
+
<div v-if="preferences.app?.hasOwnProperty('lightTheme') && preferences.app?.hasOwnProperty('darkTheme')" class="themes">
|
|
133
|
+
<div
|
|
134
|
+
v-for="item in themeList"
|
|
135
|
+
:key="item.label"
|
|
136
|
+
class="theme"
|
|
137
|
+
:class="{ active: isDark ? preferences.app.darkTheme === item.label : preferences.app.lightTheme === item.label }"
|
|
138
|
+
@click="isDark ? preferences.app?.hasOwnProperty('darkTheme') && (preferences.app.darkTheme = item.label) : preferences.app?.hasOwnProperty('lightTheme') && (preferences.app.lightTheme = item.label)"
|
|
139
|
+
>
|
|
140
|
+
<div class="content" :style="`background-color: rgb(${item.value['--ui-primary']});`" />
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<div v-if="settingsStore.mode === 'pc' && preferences.menu?.hasOwnProperty('menuMode')" class="divider">
|
|
144
|
+
导航栏模式
|
|
145
|
+
</div>
|
|
146
|
+
<div v-if="settingsStore.mode === 'pc' && preferences.menu?.hasOwnProperty('menuMode')" class="menu-mode">
|
|
147
|
+
<HTooltip text="侧边栏模式 (含主导航)" placement="bottom" :delay="500">
|
|
148
|
+
<div class="mode mode-side" :class="{ active: preferences.menu.menuMode === 'side' }" @click="preferences.menu?.hasOwnProperty('menuMode') && (preferences.menu.menuMode = 'side')">
|
|
149
|
+
<div class="mode-container" />
|
|
150
|
+
</div>
|
|
151
|
+
</HTooltip>
|
|
152
|
+
<HTooltip text="顶部模式" placement="bottom" :delay="500">
|
|
153
|
+
<div class="mode mode-head" :class="{ active: preferences.menu.menuMode === 'head' }" @click="preferences.menu?.hasOwnProperty('menuMode') && (preferences.menu.menuMode = 'head')">
|
|
154
|
+
<div class="mode-container" />
|
|
155
|
+
</div>
|
|
156
|
+
</HTooltip>
|
|
157
|
+
<HTooltip
|
|
158
|
+
text="侧边栏模式 (不含主导航)"
|
|
159
|
+
placement="bottom"
|
|
160
|
+
:delay="500"
|
|
161
|
+
>
|
|
162
|
+
<div class="mode mode-single" :class="{ active: preferences.menu.menuMode === 'single' }" @click="preferences.menu?.hasOwnProperty('menuMode') && (preferences.menu.menuMode = 'single')">
|
|
163
|
+
<div class="mode-container" />
|
|
164
|
+
</div>
|
|
165
|
+
</HTooltip>
|
|
166
|
+
<HTooltip text="侧边栏精简模式" placement="bottom" :delay="500">
|
|
167
|
+
<div class="mode mode-only-side" :class="{ active: preferences.menu.menuMode === 'only-side' }" @click="preferences.menu?.hasOwnProperty('menuMode') && (preferences.menu.menuMode = 'only-side')">
|
|
168
|
+
<div class="mode-container" />
|
|
169
|
+
</div>
|
|
170
|
+
</HTooltip>
|
|
171
|
+
<HTooltip text="顶部精简模式" placement="bottom" :delay="500">
|
|
172
|
+
<div class="mode mode-only-head" :class="{ active: preferences.menu.menuMode === 'only-head' }" @click="preferences.menu?.hasOwnProperty('menuMode') && (preferences.menu.menuMode = 'only-head')">
|
|
173
|
+
<div class="mode-container" />
|
|
174
|
+
</div>
|
|
175
|
+
</HTooltip>
|
|
176
|
+
</div>
|
|
177
|
+
<div v-if="settingsStore.mode === 'pc' && preferences.layout?.hasOwnProperty('widthMode')" class="divider">
|
|
178
|
+
页宽模式
|
|
179
|
+
</div>
|
|
180
|
+
<div v-if="settingsStore.mode === 'pc' && preferences.layout?.hasOwnProperty('widthMode')" class="app-width-mode">
|
|
181
|
+
<HTooltip text="自适应" placement="bottom" :delay="500">
|
|
182
|
+
<div class="mode mode-adaption" :class="{ active: preferences.layout.widthMode === 'adaption' }" @click="preferences.layout?.hasOwnProperty('widthMode') && (preferences.layout.widthMode = 'adaption')">
|
|
183
|
+
<EpBack class="left" />
|
|
184
|
+
<EpRight class="right" />
|
|
185
|
+
</div>
|
|
186
|
+
</HTooltip>
|
|
187
|
+
<HTooltip text="自适应 (有最小宽度)" placement="bottom" :delay="500">
|
|
188
|
+
<div class="mode mode-adaption-min-width" :class="{ active: preferences.layout.widthMode === 'adaption-min-width' }" @click="preferences.layout?.hasOwnProperty('widthMode') && (preferences.layout.widthMode = 'adaption-min-width')">
|
|
189
|
+
<EpBack class="left" />
|
|
190
|
+
<EpRight class="right" />
|
|
191
|
+
</div>
|
|
192
|
+
</HTooltip>
|
|
193
|
+
<HTooltip text="定宽居中" placement="bottom" :delay="500">
|
|
194
|
+
<div class="mode mode-center" :class="{ active: preferences.layout.widthMode === 'center' }" @click="preferences.layout?.widthMode && (preferences.layout.widthMode = 'center')" />
|
|
195
|
+
</HTooltip>
|
|
196
|
+
<HTooltip text="定宽居中 (有最大宽度)" placement="bottom" :delay="500">
|
|
197
|
+
<div class="mode mode-center-max-width" :class="{ active: preferences.layout.widthMode === 'center-max-width' }" @click="preferences.layout?.widthMode && (preferences.layout.widthMode = 'center-max-width')">
|
|
198
|
+
<EpBack class="left" />
|
|
199
|
+
<EpRight class="right" />
|
|
200
|
+
</div>
|
|
201
|
+
</HTooltip>
|
|
202
|
+
</div>
|
|
203
|
+
<div v-if="settingsStore.settings.mainPage.enableTransition && preferences.mainPage?.hasOwnProperty('enableTransition')" class="divider">
|
|
204
|
+
页面切换动画
|
|
205
|
+
</div>
|
|
206
|
+
<div v-if="settingsStore.settings.mainPage.enableTransition && preferences.mainPage?.hasOwnProperty('enableTransition')" class="flex items-center justify-center pb-4">
|
|
207
|
+
<HToggle v-model="preferences.mainPage.enableTransition" />
|
|
208
|
+
</div>
|
|
209
|
+
<div v-if="settingsStore.settings.mainPage.enableTransition && preferences.mainPage?.hasOwnProperty('transitionMode')" class="transition-mode">
|
|
210
|
+
<HTooltip text="淡入淡出" placement="bottom" :delay="500">
|
|
211
|
+
<div class="mode mode-fade" :class="{ active: preferences.mainPage.transitionMode === 'fade' }" @click="preferences.mainPage?.hasOwnProperty('transitionMode') && (preferences.mainPage.transitionMode = 'fade')" />
|
|
212
|
+
</HTooltip>
|
|
213
|
+
<HTooltip text="向左滑动" placement="bottom" :delay="500">
|
|
214
|
+
<div class="mode mode-slide-left" :class="{ active: preferences.mainPage.transitionMode === 'slide-left' }" @click="preferences.mainPage?.hasOwnProperty('transitionMode') && (preferences.mainPage.transitionMode = 'slide-left')" />
|
|
215
|
+
</HTooltip>
|
|
216
|
+
<HTooltip text="向右滑动" placement="bottom" :delay="500">
|
|
217
|
+
<div class="mode mode-slide-right" :class="{ active: preferences.mainPage.transitionMode === 'slide-right' }" @click="preferences.mainPage?.hasOwnProperty('transitionMode') && (preferences.mainPage.transitionMode = 'slide-right')" />
|
|
218
|
+
</HTooltip>
|
|
219
|
+
<HTooltip text="向上滑动" placement="bottom" :delay="500">
|
|
220
|
+
<div class="mode mode-slide-top" :class="{ active: preferences.mainPage.transitionMode === 'slide-top' }" @click="preferences.mainPage?.hasOwnProperty('transitionMode') && (preferences.mainPage.transitionMode = 'slide-top')" />
|
|
221
|
+
</HTooltip>
|
|
222
|
+
<HTooltip text="向下滑动" placement="bottom" :delay="500">
|
|
223
|
+
<div class="mode mode-slide-bottom" :class="{ active: preferences.mainPage.transitionMode === 'slide-bottom' }" @click="preferences.mainPage?.hasOwnProperty('transitionMode') && (preferences.mainPage.transitionMode = 'slide-bottom')" />
|
|
224
|
+
</HTooltip>
|
|
225
|
+
</div>
|
|
226
|
+
<div v-if="preferences.menu?.hasOwnProperty('switchMainMenuAndPageJump') || preferences.menu?.hasOwnProperty('subMenuOnlyOneHide') || preferences.menu?.hasOwnProperty('subMenuUniqueOpened') || preferences.menu?.hasOwnProperty('subMenuCollapse') || preferences.menu?.hasOwnProperty('enableSubMenuCollapseButton')" class="divider">
|
|
227
|
+
导航栏
|
|
228
|
+
</div>
|
|
229
|
+
<div v-if="preferences.menu?.hasOwnProperty('subMenuUniqueOpened')" class="setting-item">
|
|
230
|
+
<div class="label">
|
|
231
|
+
次导航保持展开一个
|
|
232
|
+
<HTooltip text="开启该功能后,次导航只保持单个菜单的展开">
|
|
233
|
+
<RiQuestionLine />
|
|
234
|
+
</HTooltip>
|
|
235
|
+
</div>
|
|
236
|
+
<HToggle v-model="preferences.menu.subMenuUniqueOpened" :disabled="['only-side', 'only-head'].includes(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode)" />
|
|
237
|
+
</div>
|
|
238
|
+
<div v-if="preferences.menu?.hasOwnProperty('subMenuCollapse')" class="setting-item">
|
|
239
|
+
<div class="label">
|
|
240
|
+
次导航是否折叠
|
|
241
|
+
</div>
|
|
242
|
+
<HToggle v-model="preferences.menu.subMenuCollapse" :disabled="['only-side', 'only-head'].includes(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode)" />
|
|
243
|
+
</div>
|
|
244
|
+
<div v-if="settingsStore.mode === 'pc' && settingsStore.settings.menu.enableSubMenuCollapseButton && preferences.menu?.hasOwnProperty('enableSubMenuCollapseButton')" class="setting-item">
|
|
245
|
+
<div class="label">
|
|
246
|
+
显示次导航折叠按钮
|
|
247
|
+
</div>
|
|
248
|
+
<HToggle v-model="preferences.menu.enableSubMenuCollapseButton" :disabled="['only-side', 'only-head'].includes(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode)" />
|
|
249
|
+
</div>
|
|
250
|
+
<div v-if="preferences.menu?.hasOwnProperty('isRounded')" class="setting-item">
|
|
251
|
+
<div class="label">
|
|
252
|
+
是否圆角
|
|
253
|
+
</div>
|
|
254
|
+
<HToggle v-model="preferences.menu.isRounded" />
|
|
255
|
+
</div>
|
|
256
|
+
<div v-if="(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode) !== 'single' && preferences.menu?.hasOwnProperty('menuActiveStyle')" class="setting-item">
|
|
257
|
+
<div class="label">
|
|
258
|
+
激活风格
|
|
259
|
+
</div>
|
|
260
|
+
<HCheckList
|
|
261
|
+
v-model="preferences.menu.menuActiveStyle"
|
|
262
|
+
:options="[
|
|
263
|
+
{ icon: 'i-jam-stop-sign', value: '' },
|
|
264
|
+
{ icon: ['head', 'only-head'].includes(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode) ? 'i-ep-caret-top' : 'i-ep-caret-left', value: 'arrow' },
|
|
265
|
+
{ icon: ['side', 'only-side'].includes(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode) ? 'i-tabler-minus-vertical' : 'i-tabler-minus', value: 'line' },
|
|
266
|
+
{ icon: 'i-icon-park-outline-dot', value: 'dot' },
|
|
267
|
+
]"
|
|
268
|
+
/>
|
|
269
|
+
</div>
|
|
270
|
+
<div v-if="preferences.topbar?.hasOwnProperty('mode') || preferences.topbar?.hasOwnProperty('switchTabbarAndToolbar')" class="divider">
|
|
271
|
+
顶栏
|
|
272
|
+
</div>
|
|
273
|
+
<div v-if="preferences.topbar?.hasOwnProperty('switchTabbarAndToolbar')" class="setting-item">
|
|
274
|
+
<div class="label">
|
|
275
|
+
展示切换
|
|
276
|
+
<HTooltip text="切换标签栏和工具栏的展示顺序">
|
|
277
|
+
<RiQuestionLine />
|
|
278
|
+
</HTooltip>
|
|
279
|
+
</div>
|
|
280
|
+
<HToggle v-model="preferences.topbar.switchTabbarAndToolbar" :disabled="!preferences.tabbar?.enable" />
|
|
281
|
+
</div>
|
|
282
|
+
<div v-if="settingsStore.settings.tabbar.enable && preferences.tabbar?.hasOwnProperty('enable') || preferences.tabbar?.hasOwnProperty('style') || preferences.tabbar?.hasOwnProperty('enableIcon') || preferences.tabbar?.hasOwnProperty('mergeTabsBy')" class="divider">
|
|
283
|
+
标签栏
|
|
284
|
+
</div>
|
|
285
|
+
<div v-if="settingsStore.settings.tabbar.enable && preferences.tabbar?.hasOwnProperty('enable')" class="setting-item">
|
|
286
|
+
<div class="label">
|
|
287
|
+
是否启用
|
|
288
|
+
</div>
|
|
289
|
+
<HToggle v-model="preferences.tabbar.enable" />
|
|
290
|
+
</div>
|
|
291
|
+
<div v-if="settingsStore.settings.tabbar.enable && preferences.tabbar?.hasOwnProperty('style')" class="setting-item">
|
|
292
|
+
<div class="label">
|
|
293
|
+
风格
|
|
294
|
+
</div>
|
|
295
|
+
<HCheckList
|
|
296
|
+
v-model="preferences.tabbar.style"
|
|
297
|
+
:options="[
|
|
298
|
+
{ label: '时尚', value: 'fashion' },
|
|
299
|
+
{ label: '卡片', value: 'card' },
|
|
300
|
+
{ label: '方块', value: 'square' },
|
|
301
|
+
]"
|
|
302
|
+
:disabled="!(preferences.tabbar?.enable ?? settingsStore.settings.tabbar.enable)"
|
|
303
|
+
/>
|
|
304
|
+
</div>
|
|
305
|
+
<div v-if="settingsStore.settings.tabbar.enable && preferences.tabbar?.hasOwnProperty('enableIcon')" class="setting-item">
|
|
306
|
+
<div class="label">
|
|
307
|
+
是否显示图标
|
|
308
|
+
</div>
|
|
309
|
+
<HToggle v-model="preferences.tabbar.enableIcon" :disabled="!(preferences.tabbar?.enable ?? settingsStore.settings.tabbar.enable)" />
|
|
310
|
+
</div>
|
|
311
|
+
<div v-if="settingsStore.settings.tabbar.enable && preferences.tabbar?.hasOwnProperty('enableMemory')" class="setting-item">
|
|
312
|
+
<div class="label">
|
|
313
|
+
是否启用记忆功能
|
|
314
|
+
<HTooltip text="开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失">
|
|
315
|
+
<RiQuestionLine />
|
|
316
|
+
</HTooltip>
|
|
317
|
+
</div>
|
|
318
|
+
<HToggle v-model="preferences.tabbar.enableMemory" :disabled="!(preferences.tabbar?.enable ?? settingsStore.settings.tabbar.enable)" />
|
|
319
|
+
</div>
|
|
320
|
+
<div v-if="settingsStore.mode === 'pc' && settingsStore.settings.breadcrumb.enable && (preferences.breadcrumb?.hasOwnProperty('enable') || preferences.breadcrumb?.hasOwnProperty('style') || preferences.breadcrumb?.hasOwnProperty('enableMainMenu'))" class="divider">
|
|
321
|
+
面包屑导航
|
|
322
|
+
</div>
|
|
323
|
+
<div v-if="settingsStore.mode === 'pc' && settingsStore.settings.breadcrumb.enable && preferences.breadcrumb?.hasOwnProperty('enable')" class="setting-item">
|
|
324
|
+
<div class="label">
|
|
325
|
+
是否启用
|
|
326
|
+
</div>
|
|
327
|
+
<HToggle v-model="preferences.breadcrumb.enable" />
|
|
328
|
+
</div>
|
|
329
|
+
<div v-if="settingsStore.mode === 'pc' && settingsStore.settings.breadcrumb.enable && preferences.breadcrumb?.hasOwnProperty('style')" class="setting-item">
|
|
330
|
+
<div class="label">
|
|
331
|
+
风格
|
|
332
|
+
</div>
|
|
333
|
+
<HCheckList
|
|
334
|
+
v-model="preferences.breadcrumb.style"
|
|
335
|
+
:options="[
|
|
336
|
+
{ label: '默认', value: '' },
|
|
337
|
+
{ label: '现代', value: 'modern' },
|
|
338
|
+
]"
|
|
339
|
+
:disabled="!(preferences.breadcrumb?.enable ?? settingsStore.settings.breadcrumb.enable)"
|
|
340
|
+
/>
|
|
341
|
+
</div>
|
|
342
|
+
<div v-if="settingsStore.mode === 'pc' && settingsStore.settings.breadcrumb.enable && settingsStore.settings.breadcrumb.enableMainMenu && preferences.breadcrumb?.hasOwnProperty('enableMainMenu')" class="setting-item">
|
|
343
|
+
<div class="label">
|
|
344
|
+
是否显示主导航
|
|
345
|
+
</div>
|
|
346
|
+
<HToggle v-model="preferences.breadcrumb.enableMainMenu" :disabled="['single'].includes(preferences.menu?.menuMode ?? settingsStore.settings.menu.menuMode)" />
|
|
347
|
+
</div>
|
|
348
|
+
<div v-if="preferences.app?.hasOwnProperty('enableProgress')" class="divider">
|
|
349
|
+
其它
|
|
350
|
+
</div>
|
|
351
|
+
<div v-if="settingsStore.settings.app.enableProgress && preferences.app?.hasOwnProperty('enableProgress')" class="setting-item">
|
|
352
|
+
<div class="label">
|
|
353
|
+
载入进度条
|
|
354
|
+
<HTooltip text="该功能开启时,跳转路由会看到页面顶部有进度条">
|
|
355
|
+
<RiQuestionLine />
|
|
356
|
+
</HTooltip>
|
|
357
|
+
</div>
|
|
358
|
+
<HToggle v-model="preferences.app.enableProgress" />
|
|
359
|
+
</div>
|
|
360
|
+
<div w-full h-100px flex="~ center">
|
|
361
|
+
<a-button
|
|
362
|
+
w-full
|
|
363
|
+
type="primary"
|
|
364
|
+
size="large"
|
|
365
|
+
@click="resetSetting"
|
|
366
|
+
>
|
|
367
|
+
还原系统设置
|
|
368
|
+
</a-button>
|
|
369
|
+
</div>
|
|
370
|
+
</div>
|
|
371
|
+
</template>
|
|
372
|
+
|
|
373
|
+
<style lang="scss" scoped>
|
|
374
|
+
.divider {
|
|
375
|
+
--at-apply: flex items-center justify-between gap-4 my-4 whitespace-nowrap text-sm font-500;
|
|
376
|
+
|
|
377
|
+
&::before,
|
|
378
|
+
&::after {
|
|
379
|
+
--at-apply: content-empty w-full h-1px bg-stone-2 dark:bg-stone-6;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.themes {
|
|
384
|
+
--at-apply: flex flex-wrap items-center justify-center gap-4 pb-4;
|
|
385
|
+
|
|
386
|
+
.theme {
|
|
387
|
+
--at-apply: flex items-center justify-center w-12 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
|
|
388
|
+
|
|
389
|
+
&.active {
|
|
390
|
+
--at-apply: ring-ui-primary ring-2;
|
|
391
|
+
|
|
392
|
+
.content {
|
|
393
|
+
--at-apply: rotate-0;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.content {
|
|
398
|
+
--at-apply: w-6 h-4 rounded-50% -rotate-45 transition;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.menu-mode {
|
|
404
|
+
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
405
|
+
|
|
406
|
+
.mode {
|
|
407
|
+
--at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
|
|
408
|
+
|
|
409
|
+
&.active {
|
|
410
|
+
--at-apply: ring-ui-primary ring-2;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
&::before,
|
|
414
|
+
&::after,
|
|
415
|
+
.mode-container {
|
|
416
|
+
--at-apply: absolute pointer-events-none;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
&::before {
|
|
420
|
+
--at-apply: content-empty bg-ui-primary;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
&::after {
|
|
424
|
+
--at-apply: content-empty bg-ui-primary/60;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.mode-container {
|
|
428
|
+
--at-apply: bg-ui-primary/20 border-dashed border-ui-primary;
|
|
429
|
+
|
|
430
|
+
&::before {
|
|
431
|
+
--at-apply: content-empty absolute w-full h-full;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
&-side {
|
|
436
|
+
&::before {
|
|
437
|
+
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
&::after {
|
|
441
|
+
--at-apply: top-2 bottom-2 left-4.5 w-3;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.mode-container {
|
|
445
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-8 rounded-tr-1 rounded-br-1;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
&-head {
|
|
450
|
+
&::before {
|
|
451
|
+
--at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
&::after {
|
|
455
|
+
--at-apply: top-4.5 left-2 bottom-2 w-3 rounded-bl-1;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.mode-container {
|
|
459
|
+
--at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-5.5 rounded-br-1;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
&-single {
|
|
464
|
+
&::after {
|
|
465
|
+
--at-apply: top-2 left-2 bottom-2 w-3 rounded-tl-1 rounded-bl-1;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.mode-container {
|
|
469
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-5.5 rounded-tr-1 rounded-br-1;
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
&-only-side {
|
|
474
|
+
&::before {
|
|
475
|
+
--at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.mode-container {
|
|
479
|
+
--at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
&-only-head {
|
|
484
|
+
&::before {
|
|
485
|
+
--at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.mode-container {
|
|
489
|
+
--at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-2 rounded-bl-1 rounded-br-1;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.app-width-mode {
|
|
496
|
+
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
497
|
+
|
|
498
|
+
.mode {
|
|
499
|
+
--at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
|
|
500
|
+
|
|
501
|
+
&.active {
|
|
502
|
+
--at-apply: ring-ui-primary ring-2;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
&-adaption {
|
|
506
|
+
&::before {
|
|
507
|
+
--at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.left,
|
|
511
|
+
.right {
|
|
512
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.left {
|
|
516
|
+
--at-apply: left-1;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.right {
|
|
520
|
+
--at-apply: right-1;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
&-adaption-min-width {
|
|
525
|
+
&::before {
|
|
526
|
+
--at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.left,
|
|
530
|
+
.right {
|
|
531
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.left {
|
|
535
|
+
--at-apply: left-0.5;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.right {
|
|
539
|
+
--at-apply: right-0.5;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
&-center {
|
|
544
|
+
&::before {
|
|
545
|
+
--at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
&-center-max-width {
|
|
550
|
+
&::before {
|
|
551
|
+
--at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.left,
|
|
555
|
+
.right {
|
|
556
|
+
--at-apply: absolute top-1/2 -translate-y-1/2;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.left {
|
|
560
|
+
--at-apply: left-2.5;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.right {
|
|
564
|
+
--at-apply: right-2.5;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.transition-mode {
|
|
571
|
+
--at-apply: flex items-center justify-center gap-4 pb-4;
|
|
572
|
+
|
|
573
|
+
.mode {
|
|
574
|
+
--at-apply: relative flex items-center justify-center w-14 h-10 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer;
|
|
575
|
+
|
|
576
|
+
&.active {
|
|
577
|
+
--at-apply: ring-ui-primary ring-2;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
&::after {
|
|
581
|
+
--at-apply: content-empty absolute w-3/5 h-3/5 top-1/5 left-1/5 rounded-2 bg-stone-2 dark:bg-stone-9 transition;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
&.mode-fade {
|
|
585
|
+
&::after {
|
|
586
|
+
animation: transition-mode-fade-after 1.5s infinite;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
@keyframes transition-mode-fade-after {
|
|
590
|
+
0% {
|
|
591
|
+
opacity: 1;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
30%,
|
|
595
|
+
35% {
|
|
596
|
+
opacity: 0;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
65% {
|
|
600
|
+
opacity: 1;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
&.mode-slide-left {
|
|
606
|
+
&::after {
|
|
607
|
+
animation: transition-mode-slide-left 1.5s infinite;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
@keyframes transition-mode-slide-left {
|
|
611
|
+
0% {
|
|
612
|
+
opacity: 1;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
30% {
|
|
616
|
+
opacity: 0;
|
|
617
|
+
transform: translate(-30%, 0);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
35% {
|
|
621
|
+
opacity: 0;
|
|
622
|
+
transform: translate(30%, 0);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
65% {
|
|
626
|
+
opacity: 1;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
&.mode-slide-right {
|
|
632
|
+
&::after {
|
|
633
|
+
animation: transition-mode-slide-right 1.5s infinite;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
@keyframes transition-mode-slide-right {
|
|
637
|
+
0% {
|
|
638
|
+
opacity: 1;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
30% {
|
|
642
|
+
opacity: 0;
|
|
643
|
+
transform: translate(30%, 0);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
35% {
|
|
647
|
+
opacity: 0;
|
|
648
|
+
transform: translate(-30%, 0);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
100% {
|
|
652
|
+
opacity: 1;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
&.mode-slide-top {
|
|
658
|
+
&::after {
|
|
659
|
+
animation: transition-mode-slide-top 1.5s infinite;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
@keyframes transition-mode-slide-top {
|
|
663
|
+
0% {
|
|
664
|
+
opacity: 1;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
30% {
|
|
668
|
+
opacity: 0;
|
|
669
|
+
transform: translate(0, -30%);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
35% {
|
|
673
|
+
opacity: 0;
|
|
674
|
+
transform: translate(0, 30%);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
100% {
|
|
678
|
+
opacity: 1;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
&.mode-slide-bottom {
|
|
684
|
+
&::after {
|
|
685
|
+
animation: transition-mode-slide-bottom 1.5s infinite;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
@keyframes transition-mode-slide-bottom {
|
|
689
|
+
0% {
|
|
690
|
+
opacity: 1;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
30% {
|
|
694
|
+
opacity: 0;
|
|
695
|
+
transform: translate(0, 30%);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
35% {
|
|
699
|
+
opacity: 0;
|
|
700
|
+
transform: translate(0, -30%);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
100% {
|
|
704
|
+
opacity: 1;
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.setting-item {
|
|
712
|
+
--at-apply: flex items-center justify-between gap-4 px-4 py-2 rounded-2 transition hover:bg-stone-1 dark:hover:bg-stone-9;
|
|
713
|
+
|
|
714
|
+
.label {
|
|
715
|
+
--at-apply: flex items-center flex-shrink-0 gap-2 text-sm;
|
|
716
|
+
|
|
717
|
+
i {
|
|
718
|
+
--at-apply: text-xl text-orange cursor-help;
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
</style>
|