@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,154 @@
|
|
|
1
|
+
import { _ as k } from "./HDivider-DgXBhPr0.js";
|
|
2
|
+
import { u as w, c as y } from "./index-DvHnVMX5.js";
|
|
3
|
+
import { markRaw as x, createElementBlock as p, openBlock as r, createElementVNode as o, defineComponent as v, computed as $, resolveComponent as C, createBlock as V, mergeProps as h, withCtx as u, toDisplayString as g, unref as t, createVNode as a, Fragment as H, renderList as B, normalizeClass as S, toRef as T, createTextVNode as M } from "vue";
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js";
|
|
5
|
+
import { _ as L } from "./HToggle-Cd71WKvG.js";
|
|
6
|
+
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
|
+
const R = {
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
width: "1.2em",
|
|
10
|
+
height: "1.2em"
|
|
11
|
+
};
|
|
12
|
+
function z(m, i) {
|
|
13
|
+
return r(), p("svg", R, i[0] || (i[0] = [
|
|
14
|
+
o("path", {
|
|
15
|
+
fill: "currentColor",
|
|
16
|
+
d: "m16 28l-7-7l1.4-1.4l5.6 5.6l5.6-5.6L23 21z"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]));
|
|
19
|
+
}
|
|
20
|
+
const D = x({ name: "carbon-chevron-sort-down", render: z }), E = { class: "w-full inline-flex" }, I = ["disabled"], q = { class: "block truncate" }, F = { class: "pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5" }, P = { class: "max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg:w-48 focus:outline-none" }, Q = ["disabled", "onClick"], j = /* @__PURE__ */ v({
|
|
21
|
+
__name: "HSelect",
|
|
22
|
+
props: {
|
|
23
|
+
modelValue: {},
|
|
24
|
+
options: {},
|
|
25
|
+
disabled: { type: Boolean, default: !1 }
|
|
26
|
+
},
|
|
27
|
+
emits: ["update:modelValue"],
|
|
28
|
+
setup(m, { emit: i }) {
|
|
29
|
+
const l = m, c = i, e = $({
|
|
30
|
+
get() {
|
|
31
|
+
return l.options.find((s) => s.value === l.modelValue) ?? l.options[0];
|
|
32
|
+
},
|
|
33
|
+
set(s) {
|
|
34
|
+
c("update:modelValue", s.value);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return (s, _) => {
|
|
38
|
+
const b = C("VMenu");
|
|
39
|
+
return r(), V(b, h({
|
|
40
|
+
triggers: ["click"],
|
|
41
|
+
"popper-triggers": ["click"],
|
|
42
|
+
delay: 0,
|
|
43
|
+
disabled: s.disabled
|
|
44
|
+
}, s.$attrs), {
|
|
45
|
+
popper: u(() => [
|
|
46
|
+
o("div", P, [
|
|
47
|
+
(r(!0), p(H, null, B(s.options, (d) => (r(), p("button", {
|
|
48
|
+
key: d.value,
|
|
49
|
+
disabled: d.disabled,
|
|
50
|
+
class: S(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled:cursor-not-allowed hover:not-disabled:bg-stone-1 dark:hover:not-disabled:bg-stone-9", { "font-bold": s.modelValue === d.value }]),
|
|
51
|
+
onClick: (f) => e.value = d
|
|
52
|
+
}, g(d.label), 11, Q))), 128))
|
|
53
|
+
])
|
|
54
|
+
]),
|
|
55
|
+
default: u(() => [
|
|
56
|
+
o("div", E, [
|
|
57
|
+
o("button", {
|
|
58
|
+
class: "relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg:w-48 disabled:cursor-not-allowed dark:bg-dark focus:outline-none focus:ring-2 dark:ring-stone-8 focus:ring-ui-primary",
|
|
59
|
+
disabled: s.disabled
|
|
60
|
+
}, [
|
|
61
|
+
o("span", q, g(t(e).label), 1),
|
|
62
|
+
o("span", F, [
|
|
63
|
+
a(t(D), { class: "h-5 w-5 flex-shrink-0 text-stone-5" })
|
|
64
|
+
])
|
|
65
|
+
], 8, I)
|
|
66
|
+
])
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 16, ["disabled"]);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}), A = { class: "setting-item" }, G = { class: "setting-item" }, J = { class: "setting-item" }, K = { class: "setting-item" }, O = { class: "setting-item" }, W = { class: "label" }, X = { class: "setting-item" }, se = /* @__PURE__ */ v({
|
|
73
|
+
name: "SettingTabbar",
|
|
74
|
+
__name: "SettingTabbar",
|
|
75
|
+
setup(m) {
|
|
76
|
+
const { settingsStore: i } = w(), l = T(i.settings, "tabbar");
|
|
77
|
+
return (c, e) => {
|
|
78
|
+
const s = L, _ = U, b = j, d = y, f = k;
|
|
79
|
+
return r(), V(f, { title: "标签栏" }, {
|
|
80
|
+
default: u(() => [
|
|
81
|
+
o("div", A, [
|
|
82
|
+
e[6] || (e[6] = o("div", { class: "label" }, " 是否启用 ", -1)),
|
|
83
|
+
a(s, {
|
|
84
|
+
modelValue: t(l).enable,
|
|
85
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => t(l).enable = n)
|
|
86
|
+
}, null, 8, ["modelValue"])
|
|
87
|
+
]),
|
|
88
|
+
o("div", G, [
|
|
89
|
+
e[7] || (e[7] = o("div", { class: "label" }, " 风格 ", -1)),
|
|
90
|
+
a(_, {
|
|
91
|
+
modelValue: t(l).style,
|
|
92
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => t(l).style = n),
|
|
93
|
+
options: [
|
|
94
|
+
{ label: "时尚", value: "fashion" },
|
|
95
|
+
{ label: "卡片", value: "card" },
|
|
96
|
+
{ label: "方块", value: "square" }
|
|
97
|
+
],
|
|
98
|
+
disabled: !t(l).enable
|
|
99
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
100
|
+
]),
|
|
101
|
+
o("div", J, [
|
|
102
|
+
e[8] || (e[8] = o("div", { class: "label" }, " 是否显示图标 ", -1)),
|
|
103
|
+
a(s, {
|
|
104
|
+
modelValue: t(l).enableIcon,
|
|
105
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => t(l).enableIcon = n),
|
|
106
|
+
disabled: !t(l).enable
|
|
107
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
108
|
+
]),
|
|
109
|
+
o("div", K, [
|
|
110
|
+
e[9] || (e[9] = o("div", { class: "label" }, " 标签页合并规则 ", -1)),
|
|
111
|
+
a(b, {
|
|
112
|
+
modelValue: t(l).mergeTabsBy,
|
|
113
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => t(l).mergeTabsBy = n),
|
|
114
|
+
options: [
|
|
115
|
+
{ label: "不合并", value: "" },
|
|
116
|
+
{ label: "根据 activeMenu 合并", value: "activeMenu" },
|
|
117
|
+
{ label: "根据路由名称合并", value: "routeName" }
|
|
118
|
+
],
|
|
119
|
+
disabled: !t(l).enable
|
|
120
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
121
|
+
]),
|
|
122
|
+
o("div", O, [
|
|
123
|
+
o("div", W, [
|
|
124
|
+
e[10] || (e[10] = M(" 是否启用记忆功能 ")),
|
|
125
|
+
a(d, { text: "开启该功能后,非固定和非常驻的标签页将在本次会话窗口中始终存在,刷新浏览器或重新登录时不会丢失" }, {
|
|
126
|
+
default: u(() => [
|
|
127
|
+
a(t(N))
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
})
|
|
131
|
+
]),
|
|
132
|
+
a(s, {
|
|
133
|
+
modelValue: t(l).enableMemory,
|
|
134
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => t(l).enableMemory = n),
|
|
135
|
+
disabled: !t(l).enable
|
|
136
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
137
|
+
]),
|
|
138
|
+
o("div", X, [
|
|
139
|
+
e[11] || (e[11] = o("div", { class: "label" }, " 是否启用快捷键 ", -1)),
|
|
140
|
+
a(s, {
|
|
141
|
+
modelValue: t(l).enableHotkeys,
|
|
142
|
+
"onUpdate:modelValue": e[5] || (e[5] = (n) => t(l).enableHotkeys = n),
|
|
143
|
+
disabled: !t(l).enable
|
|
144
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
145
|
+
])
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
export {
|
|
153
|
+
se as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { _ as T } from "./HDivider-DgXBhPr0.js";
|
|
2
|
+
import { markRaw as b, createElementBlock as d, openBlock as o, createElementVNode as t, defineComponent as k, useModel as V, withDirectives as S, createStaticVNode as $, vModelCheckbox as w, toRef as D, computed as B, createBlock as N, withCtx as j, createVNode as u, unref as c, isRef as L, Fragment as g, renderList as f, normalizeClass as M, normalizeStyle as h, toDisplayString as z } from "vue";
|
|
3
|
+
import "./notification-6D5hA7Bp.js";
|
|
4
|
+
import "pinia-plugin-persistedstate";
|
|
5
|
+
import { d as F, u as R } from "./index-DvHnVMX5.js";
|
|
6
|
+
import { themes as v } from "@pubinfo/config/themes";
|
|
7
|
+
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const A = {
|
|
9
|
+
viewBox: "-5 -2 24 24",
|
|
10
|
+
width: "1.2em",
|
|
11
|
+
height: "1.2em"
|
|
12
|
+
};
|
|
13
|
+
function E(i, e) {
|
|
14
|
+
return o(), d("svg", A, e[0] || (e[0] = [
|
|
15
|
+
t("path", {
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
d: "M3 0h8a3 3 0 0 1 3 3v15a2 2 0 0 1-3.348 1.477L7.674 16.76a1 1 0 0 0-1.348 0l-2.978 2.717A2 2 0 0 1 0 18V3a3 3 0 0 1 3-3"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
const H = b({ name: "jam-bookmark-f", render: E }), I = {
|
|
22
|
+
viewBox: "0 0 16 16",
|
|
23
|
+
width: "1.2em",
|
|
24
|
+
height: "1.2em"
|
|
25
|
+
};
|
|
26
|
+
function U(i, e) {
|
|
27
|
+
return o(), d("svg", I, e[0] || (e[0] = [
|
|
28
|
+
t("path", {
|
|
29
|
+
fill: "currentColor",
|
|
30
|
+
"fill-rule": "evenodd",
|
|
31
|
+
d: "M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m3.78-9.72a.75.75 0 0 0-1.06-1.06L6.75 9.19L5.53 7.97a.75.75 0 0 0-1.06 1.06l1.75 1.75a.75.75 0 0 0 1.06 0z",
|
|
32
|
+
"clip-rule": "evenodd"
|
|
33
|
+
}, null, -1)
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
const W = b({ name: "pajamas-check-circle-filled", render: U }), J = {
|
|
37
|
+
flex: "",
|
|
38
|
+
"justify-center": "",
|
|
39
|
+
"pb-15px": ""
|
|
40
|
+
}, O = { class: "toggleWrapper" }, P = /* @__PURE__ */ k({
|
|
41
|
+
name: "DayNightToggle",
|
|
42
|
+
__name: "DayNightToggle",
|
|
43
|
+
props: {
|
|
44
|
+
modelValue: {},
|
|
45
|
+
modelModifiers: {}
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:modelValue"],
|
|
48
|
+
setup(i) {
|
|
49
|
+
const e = V(i, "modelValue");
|
|
50
|
+
return (_, s) => (o(), d("div", J, [
|
|
51
|
+
t("div", O, [
|
|
52
|
+
S(t("input", {
|
|
53
|
+
id: "dn",
|
|
54
|
+
"onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
|
|
55
|
+
type: "checkbox",
|
|
56
|
+
class: "dn"
|
|
57
|
+
}, null, 512), [
|
|
58
|
+
[w, e.value]
|
|
59
|
+
]),
|
|
60
|
+
s[1] || (s[1] = $('<label for="dn" class="toggle" data-v-d927ea22><span class="toggle__handler" data-v-d927ea22><span class="crater crater--1" data-v-d927ea22></span><span class="crater crater--2" data-v-d927ea22></span><span class="crater crater--3" data-v-d927ea22></span></span><span class="star star--1" data-v-d927ea22></span><span class="star star--2" data-v-d927ea22></span><span class="star star--3" data-v-d927ea22></span><span class="star star--4" data-v-d927ea22></span><span class="star star--5" data-v-d927ea22></span><span class="star star--6" data-v-d927ea22></span></label>', 1))
|
|
61
|
+
])
|
|
62
|
+
]));
|
|
63
|
+
}
|
|
64
|
+
}), q = /* @__PURE__ */ x(P, [["__scopeId", "data-v-d927ea22"]]), G = { class: "themes" }, K = ["onClick"], Q = {
|
|
65
|
+
class: "theme-type",
|
|
66
|
+
flex: "",
|
|
67
|
+
"items-center": ""
|
|
68
|
+
}, X = { class: "theme-point" }, Y = { class: "explosion" }, Z = /* @__PURE__ */ k({
|
|
69
|
+
name: "SettingThemes",
|
|
70
|
+
__name: "SettingThemes",
|
|
71
|
+
setup(i) {
|
|
72
|
+
const { isDark: e } = F(), { settingsStore: _ } = R(), s = D(_.settings, "app"), p = [
|
|
73
|
+
"--ui-primary",
|
|
74
|
+
"--ui-text",
|
|
75
|
+
"--g-bg",
|
|
76
|
+
"--g-header-bg",
|
|
77
|
+
"--g-main-sidebar-bg",
|
|
78
|
+
"--g-sub-sidebar-bg"
|
|
79
|
+
], y = B(
|
|
80
|
+
() => Object.keys(v).map((n) => {
|
|
81
|
+
const l = v[n], m = p.map((r) => l[r].startsWith("#") ? l[r] : `rgb(${l[r]})`), a = v[n].label;
|
|
82
|
+
return {
|
|
83
|
+
label: n,
|
|
84
|
+
value: l,
|
|
85
|
+
colors: m,
|
|
86
|
+
name: a
|
|
87
|
+
};
|
|
88
|
+
}).filter(
|
|
89
|
+
(n) => n.value["color-scheme"] === s.value.colorScheme
|
|
90
|
+
)
|
|
91
|
+
);
|
|
92
|
+
function C(n) {
|
|
93
|
+
const l = n.label;
|
|
94
|
+
e.value ? s.value.darkTheme = l : s.value.lightTheme = l;
|
|
95
|
+
}
|
|
96
|
+
return (n, l) => {
|
|
97
|
+
const m = T;
|
|
98
|
+
return o(), N(m, { title: "颜色主题风格" }, {
|
|
99
|
+
default: j(() => [
|
|
100
|
+
t("div", null, [
|
|
101
|
+
u(q, {
|
|
102
|
+
modelValue: c(e),
|
|
103
|
+
"onUpdate:modelValue": l[0] || (l[0] = (a) => L(e) ? e.value = a : null)
|
|
104
|
+
}, null, 8, ["modelValue"])
|
|
105
|
+
]),
|
|
106
|
+
t("div", G, [
|
|
107
|
+
(o(!0), d(g, null, f(c(y), (a) => (o(), d("div", {
|
|
108
|
+
key: a.label,
|
|
109
|
+
class: M(["theme", { active: c(e) ? c(s).darkTheme === a.label : c(s).lightTheme === a.label }]),
|
|
110
|
+
onClick: (r) => C(a)
|
|
111
|
+
}, [
|
|
112
|
+
t("div", Q, [
|
|
113
|
+
t("span", {
|
|
114
|
+
style: h({ color: a.colors.at(0) }),
|
|
115
|
+
"mr-5px": ""
|
|
116
|
+
}, [
|
|
117
|
+
u(c(H))
|
|
118
|
+
], 4),
|
|
119
|
+
t("span", {
|
|
120
|
+
style: h({ color: a.colors.at(0) }),
|
|
121
|
+
"text-sm": ""
|
|
122
|
+
}, z(a.name || a.label), 5)
|
|
123
|
+
]),
|
|
124
|
+
t("div", X, [
|
|
125
|
+
(o(!0), d(g, null, f(a.colors, (r) => (o(), d("div", {
|
|
126
|
+
key: r,
|
|
127
|
+
class: "point",
|
|
128
|
+
style: h({ backgroundColor: r })
|
|
129
|
+
}, null, 4))), 128))
|
|
130
|
+
]),
|
|
131
|
+
t("div", Y, [
|
|
132
|
+
u(c(W))
|
|
133
|
+
])
|
|
134
|
+
], 10, K))), 128))
|
|
135
|
+
])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
});
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}), ce = /* @__PURE__ */ x(Z, [["__scopeId", "data-v-066297c5"]]);
|
|
142
|
+
export {
|
|
143
|
+
ce as default
|
|
144
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { _ as b } from "./HDivider-DgXBhPr0.js";
|
|
2
|
+
import { _ as V } from "./HToggle-Cd71WKvG.js";
|
|
3
|
+
import { u as f, c as g } from "./index-DvHnVMX5.js";
|
|
4
|
+
import { defineComponent as c, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as N, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
|
+
import { R as u } from "./question-line-CfkciTFq.js";
|
|
6
|
+
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, U = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "setting-item"
|
|
9
|
+
}, k = { class: "setting-item" }, B = { class: "label" }, H = { class: "setting-item" }, E = { class: "label" }, Q = /* @__PURE__ */ c({
|
|
10
|
+
name: "SettingToolbar",
|
|
11
|
+
__name: "SettingToolbar",
|
|
12
|
+
setup(F) {
|
|
13
|
+
const { settingsStore: r } = f(), l = v(r.settings, "toolbar");
|
|
14
|
+
return (I, e) => {
|
|
15
|
+
const d = g, a = V, p = b;
|
|
16
|
+
return _(), x(p, { title: "工具栏" }, {
|
|
17
|
+
default: i(() => [
|
|
18
|
+
s("div", R, [
|
|
19
|
+
s("div", S, [
|
|
20
|
+
e[5] || (e[5] = m(" 通知中心 ")),
|
|
21
|
+
o(d, { text: "该功能具体业务功能需自行开发,框架仅提供示例模版" }, {
|
|
22
|
+
default: i(() => [
|
|
23
|
+
o(t(u))
|
|
24
|
+
]),
|
|
25
|
+
_: 1
|
|
26
|
+
})
|
|
27
|
+
]),
|
|
28
|
+
o(a, {
|
|
29
|
+
modelValue: t(l).enableNotification,
|
|
30
|
+
"onUpdate:modelValue": e[0] || (e[0] = (n) => t(l).enableNotification = n)
|
|
31
|
+
}, null, 8, ["modelValue"])
|
|
32
|
+
]),
|
|
33
|
+
s("div", T, [
|
|
34
|
+
e[6] || (e[6] = s("div", { class: "label" }, " 国际化 ", -1)),
|
|
35
|
+
o(a, {
|
|
36
|
+
modelValue: t(l).enableI18n,
|
|
37
|
+
"onUpdate:modelValue": e[1] || (e[1] = (n) => t(l).enableI18n = n)
|
|
38
|
+
}, null, 8, ["modelValue"])
|
|
39
|
+
]),
|
|
40
|
+
t(r).mode === "pc" ? (_(), C("div", U, [
|
|
41
|
+
e[7] || (e[7] = s("div", { class: "label" }, " 全屏 ", -1)),
|
|
42
|
+
o(a, {
|
|
43
|
+
modelValue: t(l).enableFullscreen,
|
|
44
|
+
"onUpdate:modelValue": e[2] || (e[2] = (n) => t(l).enableFullscreen = n)
|
|
45
|
+
}, null, 8, ["modelValue"])
|
|
46
|
+
])) : N("", !0),
|
|
47
|
+
s("div", k, [
|
|
48
|
+
s("div", B, [
|
|
49
|
+
e[8] || (e[8] = m(" 页面刷新 ")),
|
|
50
|
+
o(d, { text: "使用框架内提供的刷新功能进行页面刷新" }, {
|
|
51
|
+
default: i(() => [
|
|
52
|
+
o(t(u))
|
|
53
|
+
]),
|
|
54
|
+
_: 1
|
|
55
|
+
})
|
|
56
|
+
]),
|
|
57
|
+
o(a, {
|
|
58
|
+
modelValue: t(l).enablePageReload,
|
|
59
|
+
"onUpdate:modelValue": e[3] || (e[3] = (n) => t(l).enablePageReload = n)
|
|
60
|
+
}, null, 8, ["modelValue"])
|
|
61
|
+
]),
|
|
62
|
+
s("div", H, [
|
|
63
|
+
s("div", E, [
|
|
64
|
+
e[9] || (e[9] = m(" 颜色主题 ")),
|
|
65
|
+
o(d, { text: "开启后可在明亮/暗黑模式中切换" }, {
|
|
66
|
+
default: i(() => [
|
|
67
|
+
o(t(u))
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
})
|
|
71
|
+
]),
|
|
72
|
+
o(a, {
|
|
73
|
+
modelValue: t(l).enableColorScheme,
|
|
74
|
+
"onUpdate:modelValue": e[4] || (e[4] = (n) => t(l).enableColorScheme = n)
|
|
75
|
+
}, null, 8, ["modelValue"])
|
|
76
|
+
])
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
export {
|
|
84
|
+
Q as default
|
|
85
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
2
|
+
import { _ as c } from "./HToggle-Cd71WKvG.js";
|
|
3
|
+
import { u as b, c as f } from "./index-DvHnVMX5.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js";
|
|
5
|
+
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as a, createElementVNode as n, createVNode as s, unref as t, createTextVNode as k } from "vue";
|
|
6
|
+
import { R as C } from "./question-line-CfkciTFq.js";
|
|
7
|
+
const H = { class: "setting-item" }, w = { class: "setting-item" }, N = { class: "label" }, D = /* @__PURE__ */ T({
|
|
8
|
+
name: "SettingTopbar",
|
|
9
|
+
__name: "SettingTopbar",
|
|
10
|
+
setup(R) {
|
|
11
|
+
const { settingsStore: i } = b(), { topbar: o, tabbar: m } = V(i.settings);
|
|
12
|
+
return (S, e) => {
|
|
13
|
+
const r = g, d = f, _ = c, p = u;
|
|
14
|
+
return x(), v(p, { title: "顶栏" }, {
|
|
15
|
+
default: a(() => [
|
|
16
|
+
n("div", H, [
|
|
17
|
+
e[2] || (e[2] = n("div", { class: "label" }, " 模式 ", -1)),
|
|
18
|
+
s(r, {
|
|
19
|
+
modelValue: t(o).mode,
|
|
20
|
+
"onUpdate:modelValue": e[0] || (e[0] = (l) => t(o).mode = l),
|
|
21
|
+
options: [
|
|
22
|
+
{ label: "静止", value: "static" },
|
|
23
|
+
{ label: "固定", value: "fixed" },
|
|
24
|
+
{ label: "粘性", value: "sticky" }
|
|
25
|
+
]
|
|
26
|
+
}, null, 8, ["modelValue"])
|
|
27
|
+
]),
|
|
28
|
+
n("div", w, [
|
|
29
|
+
n("div", N, [
|
|
30
|
+
e[3] || (e[3] = k(" 展示切换 ")),
|
|
31
|
+
s(d, { text: "切换标签栏和工具栏的展示顺序" }, {
|
|
32
|
+
default: a(() => [
|
|
33
|
+
s(t(C))
|
|
34
|
+
]),
|
|
35
|
+
_: 1
|
|
36
|
+
})
|
|
37
|
+
]),
|
|
38
|
+
s(_, {
|
|
39
|
+
modelValue: t(o).switchTabbarAndToolbar,
|
|
40
|
+
"onUpdate:modelValue": e[1] || (e[1] = (l) => t(o).switchTabbarAndToolbar = l),
|
|
41
|
+
disabled: !t(m).enable
|
|
42
|
+
}, null, 8, ["modelValue", "disabled"])
|
|
43
|
+
])
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
export {
|
|
51
|
+
D as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { _ as h } from "./HDivider-DgXBhPr0.js";
|
|
2
|
+
import { u as v, c as g } from "./index-DvHnVMX5.js";
|
|
3
|
+
import { defineComponent as k, toRef as w, reactive as x, createBlock as a, openBlock as t, withCtx as n, createElementVNode as s, createElementBlock as d, Fragment as r, renderList as b, unref as c, normalizeClass as C, createCommentVNode as M, createVNode as l } from "vue";
|
|
4
|
+
import { E, a as y } from "./right-Bfe2p1o0.js";
|
|
5
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const S = { class: "app-width-mode" }, H = ["onClick"], N = /* @__PURE__ */ k({
|
|
7
|
+
name: "SettingWidthMode",
|
|
8
|
+
__name: "SettingWidthMode",
|
|
9
|
+
setup(V) {
|
|
10
|
+
const { settingsStore: m } = v(), o = w(m.settings.layout, "widthMode"), _ = x([
|
|
11
|
+
{
|
|
12
|
+
describe: "自适应",
|
|
13
|
+
active: "adaption",
|
|
14
|
+
class: "mode-adaption"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
describe: "自适应 (有最小宽度)",
|
|
18
|
+
active: "adaption-min-width",
|
|
19
|
+
class: "mode-adaption-min-width"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
describe: "定宽居中",
|
|
23
|
+
active: "center",
|
|
24
|
+
class: "mode-center"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
describe: "定宽居中 (有最大宽度)",
|
|
28
|
+
active: "center-max-width",
|
|
29
|
+
class: "mode-center-max-width"
|
|
30
|
+
}
|
|
31
|
+
]);
|
|
32
|
+
function p(i) {
|
|
33
|
+
i && (o.value = i);
|
|
34
|
+
}
|
|
35
|
+
return (i, W) => {
|
|
36
|
+
const u = g, f = h;
|
|
37
|
+
return t(), a(f, { title: "页宽模式" }, {
|
|
38
|
+
default: n(() => [
|
|
39
|
+
s("div", S, [
|
|
40
|
+
(t(!0), d(r, null, b(c(_), (e) => (t(), a(u, {
|
|
41
|
+
key: e.active,
|
|
42
|
+
text: e.describe,
|
|
43
|
+
placement: "bottom",
|
|
44
|
+
delay: 500
|
|
45
|
+
}, {
|
|
46
|
+
default: n(() => [
|
|
47
|
+
s("div", {
|
|
48
|
+
class: C(["mode", [e.class, c(o) === e.active ? "active" : ""]]),
|
|
49
|
+
onClick: (L) => p(e.active)
|
|
50
|
+
}, [
|
|
51
|
+
e.active !== "center" ? (t(), d(r, { key: 0 }, [
|
|
52
|
+
l(c(E), { class: "left" }),
|
|
53
|
+
l(c(y), { class: "right" })
|
|
54
|
+
], 64)) : M("", !0)
|
|
55
|
+
], 10, H)
|
|
56
|
+
]),
|
|
57
|
+
_: 2
|
|
58
|
+
}, 1032, ["text"]))), 128))
|
|
59
|
+
])
|
|
60
|
+
]),
|
|
61
|
+
_: 1
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}), I = /* @__PURE__ */ B(N, [["__scopeId", "data-v-2dba796d"]]);
|
|
66
|
+
export {
|
|
67
|
+
I as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as a, ref as l, createElementBlock as m, openBlock as i, withModifiers as c, createVNode as d, normalizeClass as f, unref as e } from "vue";
|
|
2
|
+
import { u as p, _ } from "./index-DvHnVMX5.js";
|
|
3
|
+
import { useRoute as h } from "vue-router";
|
|
4
|
+
const R = /* @__PURE__ */ a({
|
|
5
|
+
name: "TopThinMode",
|
|
6
|
+
__name: "TopThinMode",
|
|
7
|
+
setup(v) {
|
|
8
|
+
const o = h(), { settingsStore: n, menuStore: u } = p(), s = l();
|
|
9
|
+
function r(t) {
|
|
10
|
+
s.value.scrollBy({
|
|
11
|
+
left: (t.deltaY || t.detail) > 0 ? 50 : -50
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
return (t, M) => (i(), m("div", {
|
|
15
|
+
ref_key: "menuRef",
|
|
16
|
+
ref: s,
|
|
17
|
+
class: "menu-container",
|
|
18
|
+
onWheel: c(r, ["prevent"])
|
|
19
|
+
}, [
|
|
20
|
+
d(_, {
|
|
21
|
+
menu: e(u).allMenus,
|
|
22
|
+
value: e(o).meta.activeMenu || e(o).path,
|
|
23
|
+
mode: "horizontal",
|
|
24
|
+
"show-collapse-name": "",
|
|
25
|
+
rounded: e(n).settings.menu.isRounded,
|
|
26
|
+
class: f(["menu", {
|
|
27
|
+
[`menu-active-${e(n).settings.menu.menuActiveStyle}`]: e(n).settings.menu.menuActiveStyle !== ""
|
|
28
|
+
}])
|
|
29
|
+
}, null, 8, ["menu", "value", "rounded", "class"])
|
|
30
|
+
], 544));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
R as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { _ as u } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
|
+
import { defineComponent as c, ref as f, onMounted as d, createElementBlock as m, openBlock as p, createElementVNode as o, createVNode as _, withCtx as x, createTextVNode as v, toDisplayString as w, unref as g } from "vue";
|
|
3
|
+
import { e as b, a as k } from "./notification-6D5hA7Bp.js";
|
|
4
|
+
import "pinia-plugin-persistedstate";
|
|
5
|
+
import { useRoute as N, useRouter as S, onBeforeRouteLeave as h } from "vue-router";
|
|
6
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const C = {
|
|
8
|
+
"w-full": "",
|
|
9
|
+
"h-full": "",
|
|
10
|
+
class: "dark:bg-[#25282D]"
|
|
11
|
+
}, I = { class: "absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12" }, D = { class: "flex flex-col gap-4" }, E = /* @__PURE__ */ c({
|
|
12
|
+
__name: "[...all]",
|
|
13
|
+
setup(y) {
|
|
14
|
+
const n = N(), l = S(), s = b(), r = k(), t = f({
|
|
15
|
+
inter: Number.NaN,
|
|
16
|
+
countdown: 5
|
|
17
|
+
});
|
|
18
|
+
h(() => {
|
|
19
|
+
t.value.inter && window.clearInterval(t.value.inter);
|
|
20
|
+
}), d(() => {
|
|
21
|
+
s.settings.tabbar.enable && r.remove(n.meta.activeMenu || n.fullPath), t.value.inter = window.setInterval(() => {
|
|
22
|
+
t.value.countdown--, t.value.countdown === 0 && (t.value.inter && window.clearInterval(t.value.inter), a());
|
|
23
|
+
}, 1e3);
|
|
24
|
+
});
|
|
25
|
+
function a() {
|
|
26
|
+
l.push("/");
|
|
27
|
+
}
|
|
28
|
+
return (R, e) => {
|
|
29
|
+
const i = u;
|
|
30
|
+
return p(), m("div", C, [
|
|
31
|
+
o("div", I, [
|
|
32
|
+
e[2] || (e[2] = o("div", { class: "allIcon w-300px h-300px lg:w-400px lg:h-400px" }, null, -1)),
|
|
33
|
+
o("div", D, [
|
|
34
|
+
e[0] || (e[0] = o("h1", { class: "m-0 text-6xl font-sans dark:text-[#C9D6EF]" }, " 404 ", -1)),
|
|
35
|
+
e[1] || (e[1] = o("div", { class: "desc mx-0 text-xl text-stone-5 dark:text-[#C9D6EF]" }, " 抱歉,你访问的页面不存在 ", -1)),
|
|
36
|
+
o("div", null, [
|
|
37
|
+
_(i, { onClick: a }, {
|
|
38
|
+
default: x(() => [
|
|
39
|
+
v(w(g(t).countdown) + " 秒后,返回首页 ", 1)
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
})
|
|
43
|
+
])
|
|
44
|
+
])
|
|
45
|
+
])
|
|
46
|
+
]);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
}), L = /* @__PURE__ */ B(E, [["__scopeId", "data-v-01fcf8a7"]]);
|
|
50
|
+
export {
|
|
51
|
+
L as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare enum RESPONSE_CODE {
|
|
2
|
+
/**
|
|
3
|
+
* @description
|
|
4
|
+
* 接口请求成功
|
|
5
|
+
*/
|
|
6
|
+
SUCCESS = 0,
|
|
7
|
+
/**
|
|
8
|
+
* @description
|
|
9
|
+
* 运行异常
|
|
10
|
+
*/
|
|
11
|
+
ERROR = -1,
|
|
12
|
+
/**
|
|
13
|
+
* @description
|
|
14
|
+
* 操作失败,业务异常
|
|
15
|
+
*/
|
|
16
|
+
BUSINESS_ERROR = 4,
|
|
17
|
+
/**
|
|
18
|
+
* @description
|
|
19
|
+
* 账户锁定,请联系管理员
|
|
20
|
+
*/
|
|
21
|
+
ACCOUNT_LOCKED = 400001001,
|
|
22
|
+
/**
|
|
23
|
+
* @description
|
|
24
|
+
* 登录名或密码不正确
|
|
25
|
+
*/
|
|
26
|
+
LOGINNAME_PASSWORD_WRONG = 400001002,
|
|
27
|
+
/**
|
|
28
|
+
* @description
|
|
29
|
+
* 账户未启用,请联系管理员
|
|
30
|
+
*/
|
|
31
|
+
ACCOUT_NOT_ENABLE = 400001003,
|
|
32
|
+
/**
|
|
33
|
+
* @description
|
|
34
|
+
* token已过期
|
|
35
|
+
*/
|
|
36
|
+
ACCESS_TOKEN_INVALID = 400001006,
|
|
37
|
+
/**
|
|
38
|
+
* @description
|
|
39
|
+
* 刷新refreshToken已过期
|
|
40
|
+
*/
|
|
41
|
+
LOGIN_TOKEN_INVALID = 400001004,
|
|
42
|
+
/**
|
|
43
|
+
* @description
|
|
44
|
+
* 访问未授权
|
|
45
|
+
*/
|
|
46
|
+
UNAUTHORIZED_ACCESS = 400001007,
|
|
47
|
+
/**
|
|
48
|
+
* @description
|
|
49
|
+
* 验证码失效
|
|
50
|
+
*/
|
|
51
|
+
CODE_OVERTIME = 400002001,
|
|
52
|
+
/**
|
|
53
|
+
* @description
|
|
54
|
+
* 验证码不匹配
|
|
55
|
+
*/
|
|
56
|
+
CODE_WRONG = 400002002,
|
|
57
|
+
/**
|
|
58
|
+
* @description
|
|
59
|
+
* 首次登录,请修改初始密码
|
|
60
|
+
*/
|
|
61
|
+
CHANGE_INIT_PASSWORD = 400003001,
|
|
62
|
+
/**
|
|
63
|
+
* @description
|
|
64
|
+
* 登录密码已过期,请修改密码
|
|
65
|
+
*/
|
|
66
|
+
PASSWORD_EXPIRED = 400003002
|
|
67
|
+
}
|