@pubinfo-nightly/core 2025.11.14
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/LICENSE +21 -0
- package/dist/AppSetting-D5eSdPuB.js +123 -0
- package/dist/HCheckList.vue_vue_type_script_setup_true_lang-DgeRhutB.js +39 -0
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
- package/dist/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +33 -0
- package/dist/HToggle-BajvSdEE.js +34 -0
- package/dist/HeaderThinMenu-ouAiyBjb.js +4 -0
- package/dist/PreferencesContent-mr3zgq9x.js +923 -0
- package/dist/SettingBreadcrumb-Chx1c5oE.js +50 -0
- package/dist/SettingCopyright-BgIL_X3d.js +62 -0
- package/dist/SettingEnableTransition-16PeKbCJ.js +77 -0
- package/dist/SettingHome-DuLT9846.js +46 -0
- package/dist/SettingMenu-DDOmRqGo.js +120 -0
- package/dist/SettingMode-B6OwuuHR.js +68 -0
- package/dist/SettingNavSearch-BzmXK8I0.js +46 -0
- package/dist/SettingOther-DcDn9I3J.js +81 -0
- package/dist/SettingPage-DmfsDzGF.js +29 -0
- package/dist/SettingTabbar-BxxzDY5f.js +154 -0
- package/dist/SettingThemes-DoTkccTu.js +143 -0
- package/dist/SettingToolbar-ogjoj5NI.js +78 -0
- package/dist/SettingTopbar-BRZEIJZt.js +52 -0
- package/dist/SettingWidthMode-DQmewGT6.js +67 -0
- package/dist/abap-Y8Dl9g_6.js +6 -0
- package/dist/actionscript-3-DZzbMeqX.js +6 -0
- package/dist/ada-vP6ak0IW.js +6 -0
- package/dist/andromeeda-BIpZ7gaU.js +4 -0
- package/dist/angular-html-BmadGEgW.js +32 -0
- package/dist/angular-ts-D-QQnnGT.js +21 -0
- package/dist/apache-BUjz-sD2.js +6 -0
- package/dist/apex-D_wPycVx.js +6 -0
- package/dist/apl-sitt7C8I.js +16 -0
- package/dist/applescript-BPx7YFFu.js +6 -0
- package/dist/ara-Z2fSOxSw.js +6 -0
- package/dist/asciidoc-B-pCoB3G.js +6 -0
- package/dist/asm-BTWLY5ym.js +6 -0
- package/dist/astro-DHnp0xIo.js +18 -0
- package/dist/aurora-x-BwoVEUWZ.js +4 -0
- package/dist/awk-Fb0P9dkn.js +6 -0
- package/dist/ayu-dark-CxPZkpb2.js +4 -0
- package/dist/ballerina-oZK-YekG.js +6 -0
- package/dist/bat-0FvbqU9S.js +6 -0
- package/dist/beancount-DEfTbbFX.js +6 -0
- package/dist/berry-PwsHPR_K.js +6 -0
- package/dist/bibtex-EULQRLY5.js +6 -0
- package/dist/bicep-DFU2oTl7.js +6 -0
- package/dist/blade-OPzGcV14.js +20 -0
- package/dist/bsl-NkNNwerW.js +8 -0
- package/dist/built-in/authentication/alova/helper.d.ts +34 -0
- package/dist/built-in/authentication/alova/token.d.ts +16 -0
- package/dist/built-in/authentication/enum.d.ts +67 -0
- package/dist/built-in/authentication/helper.d.ts +10 -0
- package/dist/built-in/authentication/index.d.ts +10 -0
- package/dist/built-in/authentication/interface.d.ts +7 -0
- package/dist/built-in/authentication/pages/change-organization/index.vue.d.ts +2 -0
- package/dist/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
- package/dist/built-in/authentication/pages/change-password/index.vue.d.ts +31 -0
- package/dist/built-in/authentication/router.d.ts +2 -0
- package/dist/built-in/authorization/directives.d.ts +2 -0
- package/dist/built-in/authorization/helper.d.ts +6 -0
- package/dist/built-in/authorization/index.d.ts +7 -0
- package/dist/built-in/authorization/pages/not-permission/index.vue.d.ts +2 -0
- package/dist/built-in/authorization/router.d.ts +3 -0
- package/dist/built-in/devtools/index.d.ts +13 -0
- package/dist/built-in/index.d.ts +9 -0
- package/dist/built-in/layout-component/Layout.vue.d.ts +28 -0
- package/dist/built-in/layout-component/components/BackTop/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Content/IframeView.vue.d.ts +4 -0
- package/dist/built-in/layout-component/components/Content/LinkView.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Content/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Copyright/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Header/HeaderFullMenu/More.vue.d.ts +26 -0
- package/dist/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue.d.ts +27 -0
- package/dist/built-in/layout-component/components/Header/HeaderFullMenu/index.vue.d.ts +4 -0
- package/dist/built-in/layout-component/components/Header/HeaderMenu.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Header/HeaderThinMenu.vue.d.ts +4 -0
- package/dist/built-in/layout-component/components/Header/index.vue.d.ts +24 -0
- package/dist/built-in/layout-component/components/Logo/index.vue.d.ts +26 -0
- package/dist/built-in/layout-component/components/Menu/index.vue.d.ts +10 -0
- package/dist/built-in/layout-component/components/Menu/item.vue.d.ts +11 -0
- package/dist/built-in/layout-component/components/Menu/sub.vue.d.ts +219 -0
- package/dist/built-in/layout-component/components/Menu/types.d.ts +42 -0
- package/dist/built-in/layout-component/components/NotAllowed/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/AppSetting.vue.d.ts +12 -0
- package/dist/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/SettingBar/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Sidebar/MainSidebar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Sidebar/SubSidebar.vue.d.ts +7 -0
- package/dist/built-in/layout-component/components/Sidebar/index.vue.d.ts +9 -0
- package/dist/built-in/layout-component/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
- package/dist/built-in/layout-component/components/Tools/DarkModeToggle.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/Fullscreen.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/HotkeysIntro.vue.d.ts +4 -0
- package/dist/built-in/layout-component/components/Tools/PageReload.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/Preferences/index.vue.d.ts +4 -0
- package/dist/built-in/layout-component/components/Tools/SearchBar.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Tools/SearchPanel.vue.d.ts +204 -0
- package/dist/built-in/layout-component/components/Tools/index.vue.d.ts +73 -0
- package/dist/built-in/layout-component/components/Tools/interface.d.ts +26 -0
- package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +11 -0
- package/dist/built-in/layout-component/components/Topbar/Tabbar/index.vue.d.ts +14 -0
- package/dist/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
- package/dist/built-in/layout-component/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Topbar/Toolbar/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/Topbar/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/components/ui/HBadge.vue.d.ts +20 -0
- package/dist/built-in/layout-component/components/ui/HButton.vue.d.ts +26 -0
- package/dist/built-in/layout-component/components/ui/HCheckList.vue.d.ts +20 -0
- package/dist/built-in/layout-component/components/ui/HDialog.vue.d.ts +39 -0
- package/dist/built-in/layout-component/components/ui/HDivider.vue.d.ts +20 -0
- package/dist/built-in/layout-component/components/ui/HDropdown.vue.d.ts +18 -0
- package/dist/built-in/layout-component/components/ui/HDropdownMenu.vue.d.ts +21 -0
- package/dist/built-in/layout-component/components/ui/HDropdownTree.vue.d.ts +32 -0
- package/dist/built-in/layout-component/components/ui/HInput.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/ui/HKbd.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/ui/HSelect.vue.d.ts +17 -0
- package/dist/built-in/layout-component/components/ui/HSlideover.vue.d.ts +41 -0
- package/dist/built-in/layout-component/components/ui/HTabList.vue.d.ts +22 -0
- package/dist/built-in/layout-component/components/ui/HToggle.vue.d.ts +14 -0
- package/dist/built-in/layout-component/components/ui/HTooltip.vue.d.ts +23 -0
- package/dist/built-in/layout-component/composables/useContext.d.ts +17 -0
- package/dist/built-in/layout-component/composables/useGetComputedStyle.d.ts +15 -0
- package/dist/built-in/layout-component/composables/useGlobalSearch.d.ts +26 -0
- package/dist/built-in/layout-component/composables/useHotkey.d.ts +1 -0
- package/dist/built-in/layout-component/composables/useLayoutVisible.d.ts +8 -0
- package/dist/built-in/layout-component/composables/useMainPage.d.ts +14 -0
- package/dist/built-in/layout-component/composables/useMenu.d.ts +8 -0
- package/dist/built-in/layout-component/composables/useTabbar.d.ts +14 -0
- package/dist/built-in/layout-component/composables/useTitle.d.ts +4 -0
- package/dist/built-in/layout-component/composables/useViewTransition.d.ts +3 -0
- package/dist/built-in/layout-component/composables/useWatermark.d.ts +6 -0
- package/dist/built-in/layout-component/index.d.ts +27 -0
- package/dist/built-in/layout-component/interface.d.ts +22 -0
- package/dist/built-in/layout-component/pages/reload/index.vue.d.ts +2 -0
- package/dist/built-in/layout-component/provider.d.ts +1 -0
- package/dist/built-in/layout-component/utils/index.d.ts +2 -0
- package/dist/built-in/layout-component/utils/injectionKeys.d.ts +2 -0
- package/dist/built-in/layout-component/utils/watermark.d.ts +51 -0
- package/dist/built-in/n-progress/index.d.ts +6 -0
- package/dist/built-in/pinia-plugin/enum.d.ts +1 -0
- package/dist/built-in/pinia-plugin/helper.d.ts +2 -0
- package/dist/built-in/pinia-plugin/index.d.ts +5 -0
- package/dist/built-in/pinia-plugin/plugins/cleanup.d.ts +5 -0
- package/dist/built-in/pinia-plugin/plugins/favoritesStorage.d.ts +5 -0
- package/dist/built-in/pinia-plugin/plugins/iframeCache.d.ts +5 -0
- package/dist/built-in/pinia-plugin/plugins/persist.d.ts +3 -0
- package/dist/built-in/pinia-plugin/plugins/persistedstate/index.d.ts +3 -0
- package/dist/built-in/pinia-plugin/plugins/persistedstate/persistedstate.d.ts +15 -0
- package/dist/built-in/pinia-plugin/plugins/persistedstate/types.d.ts +150 -0
- package/dist/built-in/pinia-plugin/plugins/persistedstate/utils.d.ts +17 -0
- package/dist/built-in/pinia-plugin/plugins/tabbarStorage.d.ts +5 -0
- package/dist/built-in/pre-access/index.d.ts +7 -0
- package/dist/built-in/settings/index.d.ts +5 -0
- package/dist/built-in/settings/router.d.ts +3 -0
- package/dist/built-in/system-info/components/SystemInfo.vue.d.ts +2 -0
- package/dist/built-in/system-info/index.d.ts +5 -0
- package/dist/c-eeMepfLm.js +6 -0
- package/dist/cadence-DMRWHJp4.js +6 -0
- package/dist/cairo-DM6WF2e3.js +8 -0
- package/dist/catppuccin-frappe-5udUqgsX.js +4 -0
- package/dist/catppuccin-latte-ufkS-HWv.js +4 -0
- package/dist/catppuccin-macchiato-DzL2LPek.js +4 -0
- package/dist/catppuccin-mocha-DDDDwkUT.js +4 -0
- package/dist/clarity-BseSxcHx.js +6 -0
- package/dist/clojure-CXJfHrL3.js +6 -0
- package/dist/cmake-BJz8BOTU.js +6 -0
- package/dist/cobol-R4Vn9a46.js +10 -0
- package/dist/codeowners-Bt9yU6NX.js +6 -0
- package/dist/codeql-DHkodjjI.js +6 -0
- package/dist/coffee-Dl27lzbd.js +8 -0
- package/dist/common-lisp-EVqT9Zhp.js +6 -0
- package/dist/coq-B0L9upzn.js +6 -0
- package/dist/core/create.d.ts +2 -0
- package/dist/core/ctx.d.ts +3 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/interface.d.ts +115 -0
- package/dist/core/modules.d.ts +20 -0
- package/dist/core/request.d.ts +4 -0
- package/dist/core/resolver/icon.d.ts +7 -0
- package/dist/core/resolver/index.d.ts +4 -0
- package/dist/core/resolver/layout.d.ts +2 -0
- package/dist/core/resolver/page.d.ts +17 -0
- package/dist/core/resolver/resolver.d.ts +10 -0
- package/dist/core/utils/global.d.ts +33 -0
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/core/utils/utils.d.ts +3 -0
- package/dist/cpp-Cj177cuW.js +18 -0
- package/dist/crystal-ymVvJzbZ.js +18 -0
- package/dist/csharp-DmxfTLWR.js +6 -0
- package/dist/css-CECN5uSL.js +6 -0
- package/dist/csv-CmYOceLb.js +6 -0
- package/dist/cue-ZzumE7IT.js +6 -0
- package/dist/cypher-jpdmjtA6.js +6 -0
- package/dist/d-CBagWSwH.js +6 -0
- package/dist/dark-plus-pUHDTVV0.js +4 -0
- package/dist/dart-6ObCrKr9.js +6 -0
- package/dist/dax-CcDT-8dH.js +6 -0
- package/dist/desktop-B93p9R9O.js +6 -0
- package/dist/diff-BxzP2J8R.js +6 -0
- package/dist/docker-CsHqm9tx.js +6 -0
- package/dist/dotenv-BMjVjUL1.js +6 -0
- package/dist/dracula-BtZx2Kac.js +4 -0
- package/dist/dracula-soft-BKa-aqBv.js +4 -0
- package/dist/dream-maker-PAx17jaB.js +6 -0
- package/dist/edge-_LvgTcmu.js +12 -0
- package/dist/elixir-BTCUAmQk.js +8 -0
- package/dist/elm-BtNbw_Cd.js +8 -0
- package/dist/emacs-lisp-Cfxdx5D-.js +6 -0
- package/dist/erb-D0PIpZCP.js +10 -0
- package/dist/erlang-DNcDT8Hi.js +8 -0
- package/dist/everforest-dark-DMCBqXCK.js +4 -0
- package/dist/everforest-light-BbXl82Em.js +4 -0
- package/dist/features/api/modules/auth/index.d.ts +1 -0
- package/dist/features/api/modules/auth/renzhengfuwu.d.ts +99 -0
- package/dist/features/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/dist/features/api/modules/configData/index.d.ts +3 -0
- package/dist/features/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/dist/features/api/modules/configData/zidifuwu.d.ts +71 -0
- package/dist/features/api/modules/rbac/gangweijiekou.d.ts +43 -0
- package/dist/features/api/modules/rbac/index.d.ts +12 -0
- package/dist/features/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/dist/features/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +50 -0
- package/dist/features/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/dist/features/api/modules/rbac/yonghujiekou.d.ts +113 -0
- package/dist/features/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/dist/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/dist/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
- package/dist/features/api/modules/rbac/ziyuanjiekou.d.ts +99 -0
- package/dist/features/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/dist/features/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/dist/features/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/dist/features/api/request.d.ts +2 -0
- package/dist/features/api/system/user.d.ts +24 -0
- package/dist/features/assets/styles/index.d.ts +5 -0
- package/dist/features/components/PageHeader/index.vue.d.ts +23 -0
- package/dist/features/components/PageMain/index.vue.d.ts +27 -0
- package/dist/features/components/PartyLogin/MethodSelect.vue.d.ts +10 -0
- package/dist/features/components/PartyLogin/Modal.vue.d.ts +31 -0
- package/dist/features/components/PartyLogin/ParamsItem.vue.d.ts +94 -0
- package/dist/features/components/PartyLogin/ParamsPanel.vue.d.ts +13 -0
- package/dist/features/components/PartyLogin/RequestFieldSelector.vue.d.ts +18 -0
- package/dist/features/components/PartyLogin/SystemFieldSelector.vue.d.ts +15 -0
- package/dist/features/components/PartyLogin/steps/One.vue.d.ts +28 -0
- package/dist/features/components/PartyLogin/steps/Two.vue.d.ts +14 -0
- package/dist/features/components/PartyLogin/type.d.ts +37 -0
- package/dist/features/components/PartyLogin/usePartyRequest.d.ts +21 -0
- package/dist/features/components/PassStrengthValidator/index.vue.d.ts +26 -0
- package/dist/features/components/PassStrengthValidator/rule.vue.d.ts +8 -0
- package/dist/features/components/PubinfoApp/index.vue.d.ts +2 -0
- package/dist/features/components/PubinfoIcon/PrismBox.vue.d.ts +21 -0
- package/dist/features/components/PubinfoIcon/SquareBox.vue.d.ts +17 -0
- package/dist/features/components/PubinfoIcon/index.vue.d.ts +2 -0
- package/dist/features/components/PubinfoIcon/props.d.ts +65 -0
- package/dist/features/components/PubinfoProvider/index.d.ts +9 -0
- package/dist/features/components/index.d.ts +10 -0
- package/dist/features/composables/auth.d.ts +8 -0
- package/dist/features/composables/index.d.ts +5 -0
- package/dist/features/composables/log.d.ts +6 -0
- package/dist/features/composables/partyLogin.d.ts +19 -0
- package/dist/features/composables/theme.d.ts +3 -0
- package/dist/features/composables/watchDiff.d.ts +2 -0
- package/dist/features/context/index.d.ts +12 -0
- package/dist/features/enum.d.ts +20 -0
- package/dist/features/index.d.ts +7 -0
- package/dist/features/pages/not-found/index.vue.d.ts +2 -0
- package/dist/features/pages/profile/index.vue.d.ts +2 -0
- package/dist/features/router/asyncRoutes.d.ts +14 -0
- package/dist/features/router/index.d.ts +2 -0
- package/dist/features/router/systemRoutes.d.ts +9 -0
- package/dist/features/settings/index.d.ts +3 -0
- package/dist/features/stores/enum.d.ts +20 -0
- package/dist/features/stores/index.d.ts +1 -0
- package/dist/features/stores/modules/favorites.d.ts +33 -0
- package/dist/features/stores/modules/iframe.d.ts +45 -0
- package/dist/features/stores/modules/index.d.ts +16 -0
- package/dist/features/stores/modules/keepAlive.d.ts +24 -0
- package/dist/features/stores/modules/menu.d.ts +35 -0
- package/dist/features/stores/modules/route.d.ts +52 -0
- package/dist/features/stores/modules/settings.d.ts +86 -0
- package/dist/features/stores/modules/tabbar.d.ts +60 -0
- package/dist/features/stores/modules/user.d.ts +48 -0
- package/dist/features/stores/utils/index.d.ts +1 -0
- package/dist/features/stores/utils/routerHelper.d.ts +18 -0
- package/dist/fennel-N4WcXuKx.js +6 -0
- package/dist/fish-B6QqlqeT.js +6 -0
- package/dist/fluent-BMXUxfv1.js +6 -0
- package/dist/fortran-fixed-form-DUsA-VGo.js +8 -0
- package/dist/fortran-free-form-DPIT_jbP.js +6 -0
- package/dist/fsharp-Pr2u3cIG.js +8 -0
- package/dist/gdresource-BwtMIoBm.js +10 -0
- package/dist/gdscript-BifyeYhI.js +6 -0
- package/dist/gdshader-Bk8fF6yr.js +6 -0
- package/dist/genie-DzUvd7U9.js +6 -0
- package/dist/gherkin-DHRaV0YP.js +6 -0
- package/dist/git-commit-Bd32YZ0K.js +8 -0
- package/dist/git-rebase-ZWUFO_T4.js +8 -0
- package/dist/github-dark-DenFmJkN.js +4 -0
- package/dist/github-dark-default-BJPUVz4H.js +4 -0
- package/dist/github-dark-dimmed-DUshB20C.js +4 -0
- package/dist/github-dark-high-contrast-D3aGCnF8.js +4 -0
- package/dist/github-light-JYsPkUQd.js +4 -0
- package/dist/github-light-default-D99KPAby.js +4 -0
- package/dist/github-light-high-contrast-BbmZE-Mp.js +4 -0
- package/dist/gleam-Bv284lvN.js +6 -0
- package/dist/glimmer-js-CkxRszZZ.js +14 -0
- package/dist/glimmer-ts-Bi6BYQCn.js +14 -0
- package/dist/glsl-CkUcVZNK.js +8 -0
- package/dist/gnuplot-yPG9-sE_.js +6 -0
- package/dist/go-ChxJuLYK.js +6 -0
- package/dist/graphql-BLaPX4fU.js +14 -0
- package/dist/groovy-CJQTphOW.js +6 -0
- package/dist/gruvbox-dark-hard-C2ND4cMr.js +4 -0
- package/dist/gruvbox-dark-medium-C8k4c8au.js +4 -0
- package/dist/gruvbox-dark-soft-xx9Q6FaG.js +4 -0
- package/dist/gruvbox-light-hard-BpUXv5in.js +4 -0
- package/dist/gruvbox-light-medium-D3XFCoU1.js +4 -0
- package/dist/gruvbox-light-soft-u7hpfz6Z.js +4 -0
- package/dist/hack-Bx1jMtBC.js +10 -0
- package/dist/haml-6FagfhCM.js +10 -0
- package/dist/handlebars-Bd5Y4M6I.js +14 -0
- package/dist/haskell-WeIwNIP6.js +6 -0
- package/dist/haxe-TztHsm5T.js +6 -0
- package/dist/hcl-D438OF-I.js +6 -0
- package/dist/hjson-DYBUbqOl.js +6 -0
- package/dist/hlsl-Bk8TCZNL.js +6 -0
- package/dist/houston-BDYrDoDW.js +4 -0
- package/dist/html-7XVNRwN7.js +10 -0
- package/dist/html-derivative-BNxZ5Yf6.js +8 -0
- package/dist/http-WC357zBG.js +14 -0
- package/dist/hxml-GbqSQCLa.js +8 -0
- package/dist/hy-Brt5EZ7-.js +6 -0
- package/dist/imba-CimUv-Uh.js +6 -0
- package/dist/index-73TLLAnx.js +25373 -0
- package/dist/index-B3GOGQYd.js +79648 -0
- package/dist/index-BD2fkZis.js +14 -0
- package/dist/index-BRjgatUZ.js +139 -0
- package/dist/index-BrK3HYDT.js +4 -0
- package/dist/index-CkUIa4JM.js +229 -0
- package/dist/index-D2zvNBbe.js +44 -0
- package/dist/index-DwF3aqst.js +49 -0
- package/dist/index-NOUM2y9h.js +2827 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +70 -0
- package/dist/ini-BZIuRIvJ.js +6 -0
- package/dist/java-DY6VlHhP.js +6 -0
- package/dist/javascript-Dp1Jmi5H.js +6 -0
- package/dist/jinja-WEhOU5ES.js +11 -0
- package/dist/jison-c2JI40PB.js +8 -0
- package/dist/json-DxJze_jm.js +6 -0
- package/dist/json5-BT4Fjg39.js +6 -0
- package/dist/jsonc-CHjZD8gR.js +6 -0
- package/dist/jsonl-BGuvDmy9.js +6 -0
- package/dist/jsonnet-Bx2cfsXg.js +6 -0
- package/dist/jssm-BcADi6EI.js +6 -0
- package/dist/jsx-BtKADgXT.js +6 -0
- package/dist/julia-DcoDQokW.js +16 -0
- package/dist/kanagawa-dragon-CiKur4Hl.js +4 -0
- package/dist/kanagawa-lotus-BKu-smKu.js +4 -0
- package/dist/kanagawa-wave-CQwozSzG.js +4 -0
- package/dist/kotlin-ByBMgTeR.js +6 -0
- package/dist/kusto-VWFLl2T0.js +6 -0
- package/dist/laserwave-6a00oqik.js +4 -0
- package/dist/latex-MZCpjnva.js +8 -0
- package/dist/lean-DXqEE_d1.js +6 -0
- package/dist/less-B1GLI2Di.js +6 -0
- package/dist/light-plus-CZuVqSLX.js +4 -0
- package/dist/liquid-3HHuHOZ2.js +14 -0
- package/dist/llvm-6RQLId6G.js +6 -0
- package/dist/log-Al8wyEFV.js +6 -0
- package/dist/logo-DBa4JDzV.js +6 -0
- package/dist/lua-kX5WP_P5.js +8 -0
- package/dist/luau-DtBSxLyz.js +6 -0
- package/dist/make-CsMclxtr.js +6 -0
- package/dist/markdown-CrScaQ96.js +6 -0
- package/dist/marko-DDi9qpQP.js +14 -0
- package/dist/material-theme-D6KBX41T.js +4 -0
- package/dist/material-theme-darker-CkRroheE.js +4 -0
- package/dist/material-theme-lighter-BUBw43Yz.js +4 -0
- package/dist/material-theme-ocean-ClGX14Ja.js +4 -0
- package/dist/material-theme-palenight-C1RVm8K1.js +4 -0
- package/dist/matlab-BOAaUVP0.js +6 -0
- package/dist/mdc-FI2x3BiY.js +12 -0
- package/dist/mdx-BOhZZUJ8.js +6 -0
- package/dist/mermaid-B0ixDHKN.js +6 -0
- package/dist/min-dark-C7ak0t6c.js +4 -0
- package/dist/min-light-CKFxVcPp.js +4 -0
- package/dist/mipsasm-CTx18fBl.js +6 -0
- package/dist/mojo-BD611d7o.js +6 -0
- package/dist/monokai-C1KBYcO0.js +4 -0
- package/dist/move-DSb5dTSj.js +6 -0
- package/dist/narrat-DmhDCBs-.js +6 -0
- package/dist/nextflow-BAAEJxI_.js +6 -0
- package/dist/nginx-5vhPAEw3.js +8 -0
- package/dist/night-owl-Bm2rzalh.js +4 -0
- package/dist/nim-BhS8gg0S.js +20 -0
- package/dist/nix-ceY58Dty.js +6 -0
- package/dist/nord-CC5OiUXg.js +4 -0
- package/dist/nushell-CQi4NV-2.js +6 -0
- package/dist/objective-c-Itk8tzmv.js +6 -0
- package/dist/objective-cpp-DGt5UKRO.js +6 -0
- package/dist/ocaml-eSVK32Eg.js +6 -0
- package/dist/one-dark-pro-DTA3VF0_.js +4 -0
- package/dist/one-light-D9sNaUtq.js +4 -0
- package/dist/pascal-xy8pJNns.js +6 -0
- package/dist/perl-BoEn6HmT.js +16 -0
- package/dist/php-BRU9zhoN.js +18 -0
- package/dist/pick-dLE6MD9A.js +12 -0
- package/dist/plastic-CSTz3KZp.js +4 -0
- package/dist/plsql-pVbGZfOv.js +6 -0
- package/dist/po-BNfHvqmm.js +6 -0
- package/dist/poimandres-C-VADXHD.js +4 -0
- package/dist/polar-CAZahv3u.js +6 -0
- package/dist/postcss-05aHdL-n.js +6 -0
- package/dist/powerquery-DI9HkTvs.js +6 -0
- package/dist/powershell-Clc4ydu-.js +6 -0
- package/dist/prisma-FZjmVtSl.js +6 -0
- package/dist/prolog-C5-yg4TO.js +6 -0
- package/dist/proto-MmCPeFAD.js +6 -0
- package/dist/pug-CJWI-qSo.js +12 -0
- package/dist/puppet-CUJHmnxV.js +6 -0
- package/dist/purescript-rUfGld-4.js +6 -0
- package/dist/python-BFNSHbwJ.js +6 -0
- package/dist/qml-D3ATcgGh.js +8 -0
- package/dist/qmldir-BInDYbpo.js +6 -0
- package/dist/qss-AeJTysr_.js +6 -0
- package/dist/question-line-DCMVyZ3e.js +18 -0
- package/dist/r-Bm0uF0U2.js +6 -0
- package/dist/racket-B83wSAja.js +6 -0
- package/dist/raku-nEQ4ZJJ7.js +6 -0
- package/dist/razor-BPFYEoc9.js +10 -0
- package/dist/red-7y8PH7HH.js +4 -0
- package/dist/reg-m_s_Kiip.js +6 -0
- package/dist/regexp-BazyLpPg.js +6 -0
- package/dist/rel-BcRfyd6Q.js +6 -0
- package/dist/right-aIVrXLnr.js +36 -0
- package/dist/riscv-Ce8MAQLP.js +6 -0
- package/dist/rose-pine-Cr4kwgAY.js +4 -0
- package/dist/rose-pine-dawn-ClRRUdXX.js +4 -0
- package/dist/rose-pine-moon-ucNn3Gm8.js +4 -0
- package/dist/rst-B6mPMsKo.js +22 -0
- package/dist/ruby-DInklMmU.js +30 -0
- package/dist/rust-CLzF9zIN.js +6 -0
- package/dist/sas-fpEvgATw.js +8 -0
- package/dist/sass-DxHp5rTx.js +6 -0
- package/dist/scala-D4grkFkl.js +6 -0
- package/dist/scheme-BCRWuEm4.js +6 -0
- package/dist/scss-B1FaCqwR.js +8 -0
- package/dist/sdbl-B7T8abf4.js +6 -0
- package/dist/shaderlab-Cr62-Wb4.js +8 -0
- package/dist/shellscript-InADTalH.js +6 -0
- package/dist/shellsession-DiDJNQdy.js +8 -0
- package/dist/slack-dark-i7wN4OET.js +4 -0
- package/dist/slack-ochin-ndHf0LoP.js +4 -0
- package/dist/smalltalk-BlI1_OkM.js +6 -0
- package/dist/snazzy-light-BlSJXAu4.js +4 -0
- package/dist/solarized-dark-UTmkh7lw.js +4 -0
- package/dist/solarized-light-BheCkDPT.js +4 -0
- package/dist/solidity-CneOhxmR.js +6 -0
- package/dist/soy-LybuU3Y_.js +8 -0
- package/dist/sparql-B0KWFEri.js +8 -0
- package/dist/splunk-CRXR8A9s.js +6 -0
- package/dist/sql-Cn_v3PB0.js +6 -0
- package/dist/ssh-config-DP-hNVbF.js +6 -0
- package/dist/stata-B8c5fTjX.js +8 -0
- package/dist/style.css +9 -0
- package/dist/stylus-CyKEU1Ej.js +6 -0
- package/dist/svelte-BjDUPxZ1.js +14 -0
- package/dist/swift-9UzSvamq.js +6 -0
- package/dist/synthwave-84-NU3C_KFZ.js +4 -0
- package/dist/system-verilog-BCm7smPJ.js +6 -0
- package/dist/systemd-C-4qm6XH.js +6 -0
- package/dist/talonscript-CFF3LF_O.js +6 -0
- package/dist/tasl-Cg_WBUAe.js +6 -0
- package/dist/tcl-DN7buRTF.js +6 -0
- package/dist/templ-Brj2RH7A.js +12 -0
- package/dist/terraform-DGvcn9zM.js +6 -0
- package/dist/tex-CmrLTxbG.js +8 -0
- package/dist/tokyo-night-DP4TmcQl.js +4 -0
- package/dist/toml-DY62mUL_.js +6 -0
- package/dist/ts-tags-CZMzuZh-.js +41 -0
- package/dist/tsv-BtvSkaG0.js +6 -0
- package/dist/tsx-B8rCNbgL.js +6 -0
- package/dist/turtle-_H59FV7D.js +6 -0
- package/dist/twig-GjIxYqCX.js +18 -0
- package/dist/typescript-mg6ATTE8.js +6 -0
- package/dist/typespec-Djmco60m.js +6 -0
- package/dist/typst-D_1QKWns.js +6 -0
- package/dist/utils/cleanup.d.ts +8 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/path.d.ts +1 -0
- package/dist/utils/proxy.d.ts +1 -0
- package/dist/utils/publicKey.d.ts +4 -0
- package/dist/utils/storage.d.ts +20 -0
- package/dist/v-BW14IZv7.js +6 -0
- package/dist/vala-uxaPR7d1.js +6 -0
- package/dist/vb-D8_c5-KN.js +6 -0
- package/dist/verilog-B-bybjPF.js +6 -0
- package/dist/vesper-BckBta1U.js +4 -0
- package/dist/vhdl-CUlNa8ac.js +6 -0
- package/dist/viml-DsfA-sWm.js +6 -0
- package/dist/vitesse-black-BoGvW84i.js +4 -0
- package/dist/vitesse-dark-Cym-eLtO.js +4 -0
- package/dist/vitesse-light-CcmG315c.js +4 -0
- package/dist/vue-D-ba2-Rx.js +31 -0
- package/dist/vue-html-Dn2ZoOSz.js +10 -0
- package/dist/vue-vine-Jmfkm6lF.js +20 -0
- package/dist/vyper-CPQuu50u.js +6 -0
- package/dist/wasm-BBXxrAl7.js +6 -0
- package/dist/wasm-DQxwEHae.js +7 -0
- package/dist/wenyan-pbVjoM9_.js +6 -0
- package/dist/wgsl-DY4iK1q1.js +6 -0
- package/dist/wikitext-Z-MoUasO.js +6 -0
- package/dist/wit-CQMQOlTg.js +6 -0
- package/dist/wolfram-Dz4KXISs.js +6 -0
- package/dist/xml-C2J0sS9M.js +8 -0
- package/dist/xsl-BmSZphgC.js +8 -0
- package/dist/yaml-DaO7k5B1.js +6 -0
- package/dist/zenscript-CxBjpf9c.js +6 -0
- package/dist/zig-Vm0PO9wB.js +6 -0
- package/package.json +104 -0
- package/runtime/components/PubinfoDev/index.d.ts +18 -0
- package/runtime/components/PubinfoDev/index.js +15 -0
- package/runtime/components/index.d.ts +1 -0
- package/runtime/components/index.js +1 -0
- package/runtime/index.d.ts +1 -0
- package/runtime/index.js +1 -0
- package/src/built-in/authentication/alova/helper.ts +158 -0
- package/src/built-in/authentication/alova/token.ts +122 -0
- package/src/built-in/authentication/enum.ts +78 -0
- package/src/built-in/authentication/helper.ts +59 -0
- package/src/built-in/authentication/index.ts +28 -0
- package/src/built-in/authentication/interface.ts +7 -0
- package/src/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -0
- package/src/built-in/authentication/pages/change-organization/assets/login-small.png +0 -0
- package/src/built-in/authentication/pages/change-organization/assets/login-small_dark.webp +0 -0
- package/src/built-in/authentication/pages/change-organization/index.vue +160 -0
- package/src/built-in/authentication/pages/change-password/assets/login-small.png +0 -0
- package/src/built-in/authentication/pages/change-password/assets/login-small_dark.webp +0 -0
- package/src/built-in/authentication/pages/change-password/assets/mima.svg +1 -0
- package/src/built-in/authentication/pages/change-password/components/ChangePasswordForm/index.vue +144 -0
- package/src/built-in/authentication/pages/change-password/index.vue +85 -0
- package/src/built-in/authentication/router.ts +57 -0
- package/src/built-in/authorization/directives.ts +22 -0
- package/src/built-in/authorization/helper.ts +11 -0
- package/src/built-in/authorization/index.ts +25 -0
- package/src/built-in/authorization/pages/not-permission/403.svg +1 -0
- package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -0
- package/src/built-in/authorization/pages/not-permission/index.vue +69 -0
- package/src/built-in/authorization/router.ts +122 -0
- package/src/built-in/devtools/index.ts +292 -0
- package/src/built-in/index.ts +9 -0
- package/src/built-in/layout-component/Layout.vue +358 -0
- package/src/built-in/layout-component/assets/icons/favorites.svg +1 -0
- package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -0
- package/src/built-in/layout-component/assets/images/403.svg +1 -0
- package/src/built-in/layout-component/assets/images/403_dark.svg +1 -0
- package/src/built-in/layout-component/assets/images/not-cursor.png +0 -0
- package/src/built-in/layout-component/components/BackTop/index.vue +47 -0
- package/src/built-in/layout-component/components/Content/IframeView.vue +150 -0
- package/src/built-in/layout-component/components/Content/LinkView.vue +118 -0
- package/src/built-in/layout-component/components/Content/index.vue +147 -0
- package/src/built-in/layout-component/components/Copyright/index.vue +48 -0
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +95 -0
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +70 -0
- package/src/built-in/layout-component/components/Header/HeaderFullMenu/index.vue +173 -0
- package/src/built-in/layout-component/components/Header/HeaderMenu.vue +19 -0
- package/src/built-in/layout-component/components/Header/HeaderThinMenu.vue +41 -0
- package/src/built-in/layout-component/components/Header/index.vue +175 -0
- package/src/built-in/layout-component/components/Logo/index.vue +55 -0
- package/src/built-in/layout-component/components/Menu/index.vue +206 -0
- package/src/built-in/layout-component/components/Menu/item.vue +198 -0
- package/src/built-in/layout-component/components/Menu/sub.vue +220 -0
- package/src/built-in/layout-component/components/Menu/types.ts +49 -0
- package/src/built-in/layout-component/components/NotAllowed/index.vue +44 -0
- package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +146 -0
- package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +144 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingBreadcrumb.vue +42 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingCopyright.vue +44 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +190 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingHome.vue +30 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingMenu.vue +108 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +154 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingNavSearch.vue +30 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingOther.vue +53 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingPage.vue +20 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingTabbar.vue +70 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +167 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingToolbar.vue +48 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingTopbar.vue +37 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +141 -0
- package/src/built-in/layout-component/components/SettingBar/index.vue +81 -0
- package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +194 -0
- package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +152 -0
- package/src/built-in/layout-component/components/Sidebar/index.vue +29 -0
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +15 -0
- package/src/built-in/layout-component/components/Tools/Breadcrumb/item.vue +44 -0
- package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +126 -0
- package/src/built-in/layout-component/components/Tools/Fullscreen.vue +24 -0
- package/src/built-in/layout-component/components/Tools/HotkeysIntro.vue +103 -0
- package/src/built-in/layout-component/components/Tools/PageReload.vue +22 -0
- package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +658 -0
- package/src/built-in/layout-component/components/Tools/Preferences/index.vue +20 -0
- package/src/built-in/layout-component/components/Tools/SearchBar.vue +42 -0
- package/src/built-in/layout-component/components/Tools/SearchPanel.vue +454 -0
- package/src/built-in/layout-component/components/Tools/index.vue +149 -0
- package/src/built-in/layout-component/components/Tools/interface.ts +27 -0
- package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +329 -0
- package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +744 -0
- package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +135 -0
- package/src/built-in/layout-component/components/Topbar/Toolbar/Star.vue +30 -0
- package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +312 -0
- package/src/built-in/layout-component/components/Topbar/index.vue +16 -0
- package/src/built-in/layout-component/components/ui/HBadge.vue +41 -0
- package/src/built-in/layout-component/components/ui/HButton.vue +28 -0
- package/src/built-in/layout-component/components/ui/HCheckList.vue +49 -0
- package/src/built-in/layout-component/components/ui/HDialog.vue +111 -0
- package/src/built-in/layout-component/components/ui/HDivider.vue +24 -0
- package/src/built-in/layout-component/components/ui/HDropdown.vue +13 -0
- package/src/built-in/layout-component/components/ui/HDropdownMenu.vue +43 -0
- package/src/built-in/layout-component/components/ui/HDropdownTree.vue +79 -0
- package/src/built-in/layout-component/components/ui/HInput.vue +40 -0
- package/src/built-in/layout-component/components/ui/HKbd.vue +33 -0
- package/src/built-in/layout-component/components/ui/HSelect.vue +66 -0
- package/src/built-in/layout-component/components/ui/HSlideover.vue +122 -0
- package/src/built-in/layout-component/components/ui/HTabList.vue +56 -0
- package/src/built-in/layout-component/components/ui/HToggle.vue +133 -0
- package/src/built-in/layout-component/components/ui/HTooltip.vue +21 -0
- package/src/built-in/layout-component/composables/useContext.ts +36 -0
- package/src/built-in/layout-component/composables/useGetComputedStyle.ts +72 -0
- package/src/built-in/layout-component/composables/useGlobalSearch.ts +87 -0
- package/src/built-in/layout-component/composables/useHotkey.ts +45 -0
- package/src/built-in/layout-component/composables/useLayoutVisible.ts +87 -0
- package/src/built-in/layout-component/composables/useMainPage.ts +67 -0
- package/src/built-in/layout-component/composables/useMenu.ts +27 -0
- package/src/built-in/layout-component/composables/useTabbar.ts +163 -0
- package/src/built-in/layout-component/composables/useTitle.ts +34 -0
- package/src/built-in/layout-component/composables/useViewTransition.ts +16 -0
- package/src/built-in/layout-component/composables/useWatermark.ts +80 -0
- package/src/built-in/layout-component/index.ts +105 -0
- package/src/built-in/layout-component/interface.ts +25 -0
- package/src/built-in/layout-component/pages/reload/index.vue +11 -0
- package/src/built-in/layout-component/provider.ts +65 -0
- package/src/built-in/layout-component/utils/index.ts +2 -0
- package/src/built-in/layout-component/utils/injectionKeys.ts +5 -0
- package/src/built-in/layout-component/utils/watermark.ts +256 -0
- package/src/built-in/n-progress/index.ts +31 -0
- package/src/built-in/n-progress/nprogress.css +68 -0
- package/src/built-in/pinia-plugin/enum.ts +1 -0
- package/src/built-in/pinia-plugin/helper.ts +37 -0
- package/src/built-in/pinia-plugin/index.ts +27 -0
- package/src/built-in/pinia-plugin/plugins/cleanup.ts +20 -0
- package/src/built-in/pinia-plugin/plugins/favoritesStorage.ts +61 -0
- package/src/built-in/pinia-plugin/plugins/iframeCache.ts +32 -0
- package/src/built-in/pinia-plugin/plugins/persist.ts +32 -0
- package/src/built-in/pinia-plugin/plugins/persistedstate/README.md +551 -0
- package/src/built-in/pinia-plugin/plugins/persistedstate/index.ts +3 -0
- package/src/built-in/pinia-plugin/plugins/persistedstate/persistedstate.ts +575 -0
- package/src/built-in/pinia-plugin/plugins/persistedstate/types.ts +162 -0
- package/src/built-in/pinia-plugin/plugins/persistedstate/utils.ts +46 -0
- package/src/built-in/pinia-plugin/plugins/tabbarStorage.ts +97 -0
- package/src/built-in/pre-access/index.ts +20 -0
- package/src/built-in/settings/index.ts +15 -0
- package/src/built-in/settings/router.ts +138 -0
- package/src/built-in/system-info/components/SystemInfo.vue +83 -0
- package/src/built-in/system-info/index.ts +16 -0
- package/src/core/create.ts +71 -0
- package/src/core/ctx.ts +46 -0
- package/src/core/index.ts +4 -0
- package/src/core/interface.ts +142 -0
- package/src/core/modules.ts +63 -0
- package/src/core/request.ts +71 -0
- package/src/core/resolver/icon.ts +115 -0
- package/src/core/resolver/index.ts +4 -0
- package/src/core/resolver/layout.ts +33 -0
- package/src/core/resolver/page.ts +88 -0
- package/src/core/resolver/resolver.ts +25 -0
- package/src/core/utils/global.ts +161 -0
- package/src/core/utils/index.ts +2 -0
- package/src/core/utils/utils.ts +12 -0
- package/src/features/api/modules/auth/index.ts +1 -0
- package/src/features/api/modules/auth/renzhengfuwu.ts +294 -0
- package/src/features/api/modules/auth/typings.d.ts +177 -0
- package/src/features/api/modules/configData/heibaimingdanfuwu.ts +106 -0
- package/src/features/api/modules/configData/index.ts +3 -0
- package/src/features/api/modules/configData/typings.d.ts +357 -0
- package/src/features/api/modules/configData/xitongpeizhifuwu.ts +346 -0
- package/src/features/api/modules/configData/zidifuwu.ts +227 -0
- package/src/features/api/modules/rbac/gangweijiekou.ts +132 -0
- package/src/features/api/modules/rbac/index.ts +12 -0
- package/src/features/api/modules/rbac/jiaosejiekou.ts +139 -0
- package/src/features/api/modules/rbac/pubJiaosezukongzhiqi.ts +152 -0
- package/src/features/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +200 -0
- package/src/features/api/modules/rbac/typings.d.ts +2145 -0
- package/src/features/api/modules/rbac/yonghujiekou.ts +352 -0
- package/src/features/api/modules/rbac/yonghushoucangbiaojiekou.ts +110 -0
- package/src/features/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +82 -0
- package/src/features/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
- package/src/features/api/modules/rbac/ziyuanjiekou.ts +283 -0
- package/src/features/api/modules/rbac/zuhuguanlijiekou.ts +100 -0
- package/src/features/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +85 -0
- package/src/features/api/modules/rbac/zuzhijiekou.ts +189 -0
- package/src/features/api/request.ts +5 -0
- package/src/features/api/system/typings.d.ts +77 -0
- package/src/features/api/system/user.ts +47 -0
- package/src/features/assets/fonts/digital-7/digital-7-webfont.eot +0 -0
- package/src/features/assets/fonts/digital-7/digital-7-webfont.svg +133 -0
- package/src/features/assets/fonts/digital-7/digital-7-webfont.woff +0 -0
- package/src/features/assets/fonts/digital-7/digital-7-webfont.woff2 +0 -0
- package/src/features/assets/fonts/digital-7/stylesheet.css +12 -0
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +132 -0
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
- package/src/features/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
- package/src/features/assets/fonts/digital-7_mono/stylesheet.css +12 -0
- package/src/features/assets/fonts/title.otf +0 -0
- package/src/features/assets/images/change-org-bc.webp +0 -0
- package/src/features/assets/images/header-bg.png +0 -0
- package/src/features/assets/images/logo.png +0 -0
- package/src/features/assets/images/org.svg +19 -0
- package/src/features/assets/images/slider-bg.png +0 -0
- package/src/features/assets/styles/globals.css +180 -0
- package/src/features/assets/styles/index.ts +5 -0
- package/src/features/assets/styles/rbac.css +51 -0
- package/src/features/assets/styles/resources/utils.css +53 -0
- package/src/features/assets/styles/resources/variables.css +5 -0
- package/src/features/components/PageHeader/index.vue +32 -0
- package/src/features/components/PageMain/index.vue +51 -0
- package/src/features/components/PartyLogin/MethodSelect.vue +32 -0
- package/src/features/components/PartyLogin/Modal.vue +370 -0
- package/src/features/components/PartyLogin/ParamsItem.vue +196 -0
- package/src/features/components/PartyLogin/ParamsPanel.vue +61 -0
- package/src/features/components/PartyLogin/README.md +621 -0
- package/src/features/components/PartyLogin/RequestFieldSelector.vue +205 -0
- package/src/features/components/PartyLogin/SystemFieldSelector.vue +213 -0
- package/src/features/components/PartyLogin/steps/One.vue +212 -0
- package/src/features/components/PartyLogin/steps/Two.vue +86 -0
- package/src/features/components/PartyLogin/type.ts +43 -0
- package/src/features/components/PartyLogin/usePartyRequest.ts +244 -0
- package/src/features/components/PassStrengthValidator/index.vue +198 -0
- package/src/features/components/PassStrengthValidator/rule.vue +39 -0
- package/src/features/components/PubinfoApp/index.vue +9 -0
- package/src/features/components/PubinfoIcon/PrismBox.vue +203 -0
- package/src/features/components/PubinfoIcon/SquareBox.vue +59 -0
- package/src/features/components/PubinfoIcon/index.vue +338 -0
- package/src/features/components/PubinfoIcon/props.ts +61 -0
- package/src/features/components/PubinfoProvider/index.ts +35 -0
- package/src/features/components/index.ts +11 -0
- package/src/features/composables/auth.ts +53 -0
- package/src/features/composables/index.ts +5 -0
- package/src/features/composables/log.ts +42 -0
- package/src/features/composables/partyLogin.ts +565 -0
- package/src/features/composables/theme.ts +16 -0
- package/src/features/composables/watchDiff.ts +53 -0
- package/src/features/context/index.ts +25 -0
- package/src/features/enum.ts +21 -0
- package/src/features/index.ts +8 -0
- package/src/features/pages/not-found/assets/404.svg +1 -0
- package/src/features/pages/not-found/assets/404_dark.svg +1 -0
- package/src/features/pages/not-found/index.vue +72 -0
- package/src/features/pages/profile/index.vue +125 -0
- package/src/features/router/asyncRoutes.ts +35 -0
- package/src/features/router/index.ts +2 -0
- package/src/features/router/systemRoutes.ts +44 -0
- package/src/features/settings/index.ts +105 -0
- package/src/features/stores/enum.ts +28 -0
- package/src/features/stores/index.ts +1 -0
- package/src/features/stores/modules/favorites.ts +152 -0
- package/src/features/stores/modules/iframe.ts +130 -0
- package/src/features/stores/modules/index.ts +16 -0
- package/src/features/stores/modules/keepAlive.ts +66 -0
- package/src/features/stores/modules/menu.ts +261 -0
- package/src/features/stores/modules/route.ts +582 -0
- package/src/features/stores/modules/settings.ts +384 -0
- package/src/features/stores/modules/tabbar.ts +339 -0
- package/src/features/stores/modules/user.ts +301 -0
- package/src/features/stores/utils/index.ts +1 -0
- package/src/features/stores/utils/routerHelper.ts +240 -0
- package/src/index.ts +127 -0
- package/src/utils/cleanup.ts +19 -0
- package/src/utils/index.ts +6 -0
- package/src/utils/path.ts +5 -0
- package/src/utils/proxy.ts +35 -0
- package/src/utils/publicKey.ts +23 -0
- package/src/utils/storage.ts +55 -0
- package/types/auto-imports.d.ts +78 -0
- package/types/components.d.ts +48 -0
- package/types/favorites.d.ts +8 -0
- package/types/global.d.ts +12 -0
- package/types/iframe.d.ts +8 -0
- package/types/index.d.ts +10 -0
- package/types/menu.d.ts +45 -0
- package/types/module.d.ts +10 -0
- package/types/pinia.d.ts +94 -0
- package/types/settings.d.ts +556 -0
- package/types/tabbar.d.ts +24 -0
- package/types/user.d.ts +46 -0
- package/types/vite-env.d.ts +39 -0
- package/types/vue-router.d.ts +80 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import IconamoonSearch from '~icons/iconamoon/search';
|
|
3
|
+
import { useContext } from '../../composables/useContext';
|
|
4
|
+
import { useGlobalSearch } from '../../composables/useGlobalSearch';
|
|
5
|
+
|
|
6
|
+
defineOptions({
|
|
7
|
+
name: 'SearchBar',
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const { settingsStore } = useContext();
|
|
11
|
+
const { toggle: toggleSearch } = useGlobalSearch();
|
|
12
|
+
|
|
13
|
+
const searchComponentsClass = computed(() => {
|
|
14
|
+
const componentsClass = {
|
|
15
|
+
'side': 'ring-1 ',
|
|
16
|
+
'head': 'bg-[var(--g-header-menu-active-bg)]',
|
|
17
|
+
'single': ' ring-1',
|
|
18
|
+
'only-side': 'ring-1',
|
|
19
|
+
'only-head': ' bg-[var(--g-header-menu-active-bg)]',
|
|
20
|
+
};
|
|
21
|
+
const menuMode = settingsStore.settings.menu.menuMode;
|
|
22
|
+
return componentsClass[menuMode];
|
|
23
|
+
});
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<span
|
|
28
|
+
v-if="settingsStore.settings.navSearch.enable"
|
|
29
|
+
class="group inline-flex cursor-pointer items-center gap-1 rounded-2 px-2 py-1.5 hover:ring-1 ring-inset transition ring-stone-3 dark:ring-stone-7"
|
|
30
|
+
:class="searchComponentsClass"
|
|
31
|
+
@click="toggleSearch('menu')"
|
|
32
|
+
>
|
|
33
|
+
<IconamoonSearch text="14px" />
|
|
34
|
+
<span class="text-sm transition ">{{ '搜索' }}</span>
|
|
35
|
+
<HKbd
|
|
36
|
+
v-if="settingsStore.settings.navSearch.enableHotkeys"
|
|
37
|
+
class="ml-2"
|
|
38
|
+
>
|
|
39
|
+
{{ settingsStore.os === 'mac' ? '⌥' : 'Alt' }} S
|
|
40
|
+
</HKbd>
|
|
41
|
+
</span>
|
|
42
|
+
</template>
|
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { Tabbar } from '#/tabbar';
|
|
3
|
+
import type { OverlayScrollbarsComponentRef } from 'overlayscrollbars-vue';
|
|
4
|
+
import type { RouteRecordRaw } from 'vue-router';
|
|
5
|
+
import { Dialog, DialogDescription, DialogPanel, TransitionChild, TransitionRoot } from '@headlessui/vue';
|
|
6
|
+
import hotkeys from 'hotkeys-js';
|
|
7
|
+
import { cloneDeep } from 'lodash-es';
|
|
8
|
+
import { OverlayScrollbarsComponent } from 'overlayscrollbars-vue';
|
|
9
|
+
import { computed, onBeforeUpdate, onUnmounted, ref, watch } from 'vue';
|
|
10
|
+
import AntDesignCaretDownFilled from '~icons/ant-design/caret-down-filled';
|
|
11
|
+
import AntDesignCaretUpFilled from '~icons/ant-design/caret-up-filled';
|
|
12
|
+
import EpSearch from '~icons/ep/search';
|
|
13
|
+
|
|
14
|
+
import IonMdReturnLeft from '~icons/ion/md-return-left';
|
|
15
|
+
|
|
16
|
+
import TablerMoodEmpty from '~icons/tabler/mood-empty';
|
|
17
|
+
import { PubinfoIcon } from '@/features/components';
|
|
18
|
+
import { resolveRoutePath } from '@/utils';
|
|
19
|
+
import { useContext } from '../../composables/useContext';
|
|
20
|
+
import { useGlobalSearch } from '../../composables/useGlobalSearch';
|
|
21
|
+
import Breadcrumb from './Breadcrumb/index.vue';
|
|
22
|
+
import BreadcrumbItem from './Breadcrumb/item.vue';
|
|
23
|
+
|
|
24
|
+
defineOptions({
|
|
25
|
+
name: 'SearchPanel',
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const props = withDefaults(defineProps<{ priority?: number }>(), {
|
|
29
|
+
priority: 0,
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
const overlayTransitionClass = ref({
|
|
33
|
+
enter: 'ease-in-out duration-500',
|
|
34
|
+
enterFrom: 'opacity-0',
|
|
35
|
+
enterTo: 'opacity-100',
|
|
36
|
+
leave: 'ease-in-out duration-500',
|
|
37
|
+
leaveFrom: 'opacity-100',
|
|
38
|
+
leaveTo: 'opacity-0',
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
const transitionClass = computed(() => {
|
|
42
|
+
return {
|
|
43
|
+
enter: 'ease-out duration-300',
|
|
44
|
+
enterFrom: 'opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95',
|
|
45
|
+
enterTo: 'opacity-100 translate-y-0 sm:scale-100',
|
|
46
|
+
leave: 'ease-in duration-200',
|
|
47
|
+
leaveFrom: 'opacity-100 translate-y-0 sm:scale-100',
|
|
48
|
+
leaveTo: 'opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95',
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
const router = useRouter();
|
|
53
|
+
const { settingsStore, routeStore, tabbarStore, generateTitle } = useContext();
|
|
54
|
+
|
|
55
|
+
type searchTypes = 'menu' | 'tab';
|
|
56
|
+
interface listTypes {
|
|
57
|
+
path: string
|
|
58
|
+
icon?: string
|
|
59
|
+
title?: string | (() => string)
|
|
60
|
+
link?: string
|
|
61
|
+
breadcrumb: any[]
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const { isShow, searchType, activePanelId, toggle: globalToggle, close: globalClose, registerPanel, unregisterPanel, setPanelPriority } = useGlobalSearch();
|
|
65
|
+
const panelId = Symbol('global-search-panel');
|
|
66
|
+
const hasRegisteredGlobalHotkeys = ref(false);
|
|
67
|
+
registerPanel(panelId, props.priority);
|
|
68
|
+
onUnmounted(() => {
|
|
69
|
+
unregisterPanel(panelId);
|
|
70
|
+
if (hasRegisteredGlobalHotkeys.value) {
|
|
71
|
+
hotkeys.unbind('alt+s', handleOpenHotkey);
|
|
72
|
+
hotkeys.unbind('esc', handleCloseHotkey);
|
|
73
|
+
hasRegisteredGlobalHotkeys.value = false;
|
|
74
|
+
}
|
|
75
|
+
hotkeys.unbind('up', keyUp);
|
|
76
|
+
hotkeys.unbind('down', keyDown);
|
|
77
|
+
hotkeys.unbind('enter', keyEnter);
|
|
78
|
+
});
|
|
79
|
+
watch(() => props.priority, val => setPanelPriority(panelId, val));
|
|
80
|
+
const isActivePanel = computed(() => activePanelId.value === panelId);
|
|
81
|
+
const searchInput = ref('');
|
|
82
|
+
const sourceList = ref<listTypes[]>([]);
|
|
83
|
+
const actived = ref(-1);
|
|
84
|
+
|
|
85
|
+
const searchInputRef = ref();
|
|
86
|
+
const searchResultRef = ref<OverlayScrollbarsComponentRef>();
|
|
87
|
+
const searchResultItemRef = ref<HTMLElement[]>([]);
|
|
88
|
+
onBeforeUpdate(() => {
|
|
89
|
+
searchResultItemRef.value = [];
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
const resultList = computed(() => {
|
|
93
|
+
let result = [];
|
|
94
|
+
result = sourceList.value.filter((item) => {
|
|
95
|
+
let flag = false;
|
|
96
|
+
if (generateTitle(item.title).toString().includes(searchInput.value)) {
|
|
97
|
+
flag = true;
|
|
98
|
+
}
|
|
99
|
+
if (item.path.includes(searchInput.value)) {
|
|
100
|
+
flag = true;
|
|
101
|
+
}
|
|
102
|
+
if (item.breadcrumb.some((b: { title: any }) => generateTitle(b.title).toString().includes(searchInput.value))) {
|
|
103
|
+
flag = true;
|
|
104
|
+
}
|
|
105
|
+
return flag;
|
|
106
|
+
});
|
|
107
|
+
return result;
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
watch(
|
|
111
|
+
[() => isShow.value, () => isActivePanel.value],
|
|
112
|
+
([show, active]) => {
|
|
113
|
+
if (!active) {
|
|
114
|
+
hotkeys.unbind('up', keyUp);
|
|
115
|
+
hotkeys.unbind('down', keyDown);
|
|
116
|
+
hotkeys.unbind('enter', keyEnter);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
if (show) {
|
|
120
|
+
searchInput.value = '';
|
|
121
|
+
actived.value = -1;
|
|
122
|
+
// 当搜索显示的时候绑定上、下、回车快捷键,隐藏的时候再解绑。另外当 input 处于 focus 状态时,采用 vue 来绑定键盘事件
|
|
123
|
+
hotkeys('up', keyUp);
|
|
124
|
+
hotkeys('down', keyDown);
|
|
125
|
+
hotkeys('enter', keyEnter);
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
hotkeys.unbind('up', keyUp);
|
|
129
|
+
hotkeys.unbind('down', keyDown);
|
|
130
|
+
hotkeys.unbind('enter', keyEnter);
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{ immediate: true },
|
|
134
|
+
);
|
|
135
|
+
watch(
|
|
136
|
+
() => resultList.value,
|
|
137
|
+
() => {
|
|
138
|
+
if (!isActivePanel.value || !isShow.value) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
actived.value = -1;
|
|
142
|
+
handleScroll();
|
|
143
|
+
},
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
function handleOpenHotkey(e: KeyboardEvent) {
|
|
147
|
+
if (settingsStore.settings.navSearch.enable && settingsStore.settings.navSearch.enableHotkeys) {
|
|
148
|
+
e.preventDefault();
|
|
149
|
+
initSourceList();
|
|
150
|
+
isShow.value = true;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function handleCloseHotkey(e: KeyboardEvent) {
|
|
155
|
+
if (settingsStore.settings.navSearch.enable && settingsStore.settings.navSearch.enableHotkeys) {
|
|
156
|
+
e.preventDefault();
|
|
157
|
+
isShow.value = false;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
watch(
|
|
162
|
+
() => isActivePanel.value,
|
|
163
|
+
(active) => {
|
|
164
|
+
if (active && !hasRegisteredGlobalHotkeys.value) {
|
|
165
|
+
hotkeys('alt+s', handleOpenHotkey);
|
|
166
|
+
hotkeys('esc', handleCloseHotkey);
|
|
167
|
+
hasRegisteredGlobalHotkeys.value = true;
|
|
168
|
+
initSourceList();
|
|
169
|
+
}
|
|
170
|
+
else if (!active && hasRegisteredGlobalHotkeys.value) {
|
|
171
|
+
hotkeys.unbind('alt+s', handleOpenHotkey);
|
|
172
|
+
hotkeys.unbind('esc', handleCloseHotkey);
|
|
173
|
+
hasRegisteredGlobalHotkeys.value = false;
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{ immediate: true },
|
|
177
|
+
);
|
|
178
|
+
|
|
179
|
+
function switchType(type: any) {
|
|
180
|
+
if (!isActivePanel.value) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
searchInputRef.value.focus();
|
|
184
|
+
initSourceList(type);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function initSourceList(type: searchTypes = 'menu') {
|
|
188
|
+
sourceList.value = [];
|
|
189
|
+
switch (type) {
|
|
190
|
+
case 'menu':
|
|
191
|
+
routeStore.routes.forEach((item) => {
|
|
192
|
+
if (item.children) {
|
|
193
|
+
getSourceList(item.children as RouteRecordRaw[]);
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
break;
|
|
197
|
+
case 'tab':
|
|
198
|
+
getSourceListByTabs(tabbarStore.list);
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function hasChildren(item: RouteRecordRaw) {
|
|
204
|
+
let flag = true;
|
|
205
|
+
if (item.children?.every(i => i.meta?.sidebar === false)) {
|
|
206
|
+
flag = false;
|
|
207
|
+
}
|
|
208
|
+
return flag;
|
|
209
|
+
}
|
|
210
|
+
function getSourceList(arr: RouteRecordRaw[], basePath?: string, icon?: string, breadcrumb?: { title?: string | (() => string) }[]) {
|
|
211
|
+
arr.forEach((item) => {
|
|
212
|
+
if (item.meta?.sidebar !== false) {
|
|
213
|
+
const breadcrumbTemp = cloneDeep(breadcrumb) || [];
|
|
214
|
+
if (item.children && hasChildren(item)) {
|
|
215
|
+
breadcrumbTemp.push({
|
|
216
|
+
title: item.meta?.title,
|
|
217
|
+
});
|
|
218
|
+
getSourceList(item.children, resolveRoutePath(basePath, item.path), item.meta?.icon ?? icon, breadcrumbTemp);
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
breadcrumbTemp.push({
|
|
222
|
+
title: item.meta?.title,
|
|
223
|
+
});
|
|
224
|
+
sourceList.value.push({
|
|
225
|
+
path: resolveRoutePath(basePath, item.path),
|
|
226
|
+
icon: item.meta?.icon ?? icon,
|
|
227
|
+
title: item.meta?.title,
|
|
228
|
+
link: item.meta?.link,
|
|
229
|
+
breadcrumb: breadcrumbTemp,
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function getSourceListByTabs(arr: Tabbar.recordRaw[]) {
|
|
237
|
+
arr.forEach((item) => {
|
|
238
|
+
sourceList.value.push({
|
|
239
|
+
icon: item.icon,
|
|
240
|
+
title: item.title,
|
|
241
|
+
path: item.fullPath,
|
|
242
|
+
breadcrumb: [],
|
|
243
|
+
});
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function keyUp() {
|
|
248
|
+
if (!isActivePanel.value) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
if (resultList.value.length) {
|
|
252
|
+
actived.value -= 1;
|
|
253
|
+
if (actived.value < 0) {
|
|
254
|
+
actived.value = resultList.value.length - 1;
|
|
255
|
+
}
|
|
256
|
+
handleScroll();
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
function keyDown() {
|
|
260
|
+
if (!isActivePanel.value) {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
if (resultList.value.length) {
|
|
264
|
+
actived.value += 1;
|
|
265
|
+
if (actived.value > resultList.value.length - 1) {
|
|
266
|
+
actived.value = 0;
|
|
267
|
+
}
|
|
268
|
+
handleScroll();
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
function keyEnter() {
|
|
272
|
+
if (!isActivePanel.value) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
if (actived.value !== -1) {
|
|
276
|
+
searchResultItemRef.value.find(item => Number.parseInt(item.dataset.index!) === actived.value)?.click();
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
function handleScroll() {
|
|
280
|
+
if (!isActivePanel.value) {
|
|
281
|
+
return;
|
|
282
|
+
}
|
|
283
|
+
if (searchResultRef.value) {
|
|
284
|
+
const contentDom = searchResultRef.value.osInstance()!.elements().content;
|
|
285
|
+
let scrollTo = 0;
|
|
286
|
+
if (actived.value !== -1) {
|
|
287
|
+
scrollTo = contentDom.scrollTop;
|
|
288
|
+
const activedOffsetTop = searchResultItemRef.value.find(item => Number.parseInt(item.dataset.index!) === actived.value)?.offsetTop ?? 0;
|
|
289
|
+
const activedClientHeight = searchResultItemRef.value.find(item => Number.parseInt(item.dataset.index!) === actived.value)?.clientHeight ?? 0;
|
|
290
|
+
const searchScrollTop = contentDom.scrollTop;
|
|
291
|
+
const searchClientHeight = contentDom.clientHeight;
|
|
292
|
+
if (activedOffsetTop + activedClientHeight > searchScrollTop + searchClientHeight) {
|
|
293
|
+
scrollTo = activedOffsetTop + activedClientHeight - searchClientHeight;
|
|
294
|
+
}
|
|
295
|
+
else if (activedOffsetTop <= searchScrollTop) {
|
|
296
|
+
scrollTo = activedOffsetTop;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
contentDom.scrollTo({
|
|
300
|
+
top: scrollTo,
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
function pageJump(path: listTypes['path'], link: listTypes['link']) {
|
|
306
|
+
if (link) {
|
|
307
|
+
window.open(link, '_blank');
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
router.push(path);
|
|
311
|
+
}
|
|
312
|
+
if (isActivePanel.value) {
|
|
313
|
+
globalClose();
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
function toggle(type?: 'menu' | 'tab') {
|
|
318
|
+
if (!isShow.value) {
|
|
319
|
+
initSourceList(type);
|
|
320
|
+
}
|
|
321
|
+
globalToggle(type);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// 初始化本地 searchTypeLocal 与全局 searchType 同步
|
|
325
|
+
watch(
|
|
326
|
+
() => searchType.value,
|
|
327
|
+
(val) => {
|
|
328
|
+
if (!isActivePanel.value) {
|
|
329
|
+
return;
|
|
330
|
+
}
|
|
331
|
+
if (val) {
|
|
332
|
+
initSourceList(val as searchTypes);
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
);
|
|
336
|
+
|
|
337
|
+
defineExpose({
|
|
338
|
+
toggle,
|
|
339
|
+
});
|
|
340
|
+
</script>
|
|
341
|
+
|
|
342
|
+
<template>
|
|
343
|
+
<TransitionRoot v-if="isActivePanel" as="template" :show="isShow">
|
|
344
|
+
<Dialog :initial-focus="searchInputRef" class="fixed inset-0 z-2000 flex" @close="isShow && toggle()">
|
|
345
|
+
<TransitionChild as="template" v-bind="overlayTransitionClass">
|
|
346
|
+
<div class="fixed inset-0 bg-stone-200/75 backdrop-blur-sm transition-opacity dark:bg-stone-8/75" />
|
|
347
|
+
</TransitionChild>
|
|
348
|
+
<div class="fixed inset-0">
|
|
349
|
+
<div class="h-full flex items-end justify-center p-4 text-center sm:items-center sm:p-0">
|
|
350
|
+
<TransitionChild as="template" v-bind="transitionClass">
|
|
351
|
+
<DialogPanel class="relative h-full max-h-4/5 w-full flex flex-col text-left sm:max-w-2xl">
|
|
352
|
+
<HTabList
|
|
353
|
+
v-if="settingsStore.settings.tabbar.enable"
|
|
354
|
+
v-model="searchType"
|
|
355
|
+
:options="[
|
|
356
|
+
{ label: '搜索导航菜单', value: 'menu' },
|
|
357
|
+
{ label: '搜索标签页', value: 'tab' },
|
|
358
|
+
]"
|
|
359
|
+
class="mb-4 flex!"
|
|
360
|
+
@click.stop
|
|
361
|
+
@change="switchType"
|
|
362
|
+
/>
|
|
363
|
+
<div class="flex flex-col overflow-y-auto rounded-xl bg-white shadow-xl dark:bg-stone-8">
|
|
364
|
+
<div class="flex items-center px-4 py-3" border-b="~ solid stone-2 dark:stone-7">
|
|
365
|
+
<EpSearch text="18px" class="text-stone-5" />
|
|
366
|
+
<input
|
|
367
|
+
ref="searchInputRef"
|
|
368
|
+
v-model="searchInput"
|
|
369
|
+
placeholder="搜索页面,支持标题、URL模糊查询"
|
|
370
|
+
class="w-full border-0 rounded-md bg-transparent px-3 text-base text-dark dark:text-white focus:outline-none placeholder-stone-4 dark:placeholder-stone-5"
|
|
371
|
+
@keydown.esc="toggle()"
|
|
372
|
+
@keydown.up.prevent="keyUp"
|
|
373
|
+
@keydown.down.prevent="keyDown"
|
|
374
|
+
@keydown.enter.prevent="keyEnter"
|
|
375
|
+
>
|
|
376
|
+
</div>
|
|
377
|
+
<DialogDescription class="relative m-0 of-y-hidden">
|
|
378
|
+
<OverlayScrollbarsComponent
|
|
379
|
+
ref="searchResultRef"
|
|
380
|
+
:options="{ scrollbars: { autoHide: 'leave', autoHideDelay: 300 } }"
|
|
381
|
+
defer
|
|
382
|
+
class="h-full"
|
|
383
|
+
>
|
|
384
|
+
<template v-if="resultList.length > 0">
|
|
385
|
+
<a
|
|
386
|
+
v-for="(item, index) in resultList"
|
|
387
|
+
ref="searchResultItemRef"
|
|
388
|
+
:key="item.path"
|
|
389
|
+
class="flex cursor-pointer items-center"
|
|
390
|
+
:class="{ 'bg-stone-2/40 dark:bg-stone-7/40': index === actived }"
|
|
391
|
+
:data-index="index"
|
|
392
|
+
@click="pageJump(item.path, item.link)"
|
|
393
|
+
@mouseover="actived = index"
|
|
394
|
+
>
|
|
395
|
+
<PubinfoIcon
|
|
396
|
+
v-if="item.icon"
|
|
397
|
+
:name="item.icon"
|
|
398
|
+
:size="20"
|
|
399
|
+
class="basis-16 transition"
|
|
400
|
+
:class="{ 'scale-120 text-ui-primary': index === actived }"
|
|
401
|
+
/>
|
|
402
|
+
<div class="flex flex-1 flex-col gap-1 truncate px-4 py-3" border-l="~ solid stone-2 dark:stone-7">
|
|
403
|
+
<div class="truncate text-base font-bold">{{ generateTitle(item.title) }}</div>
|
|
404
|
+
<Breadcrumb v-if="item.breadcrumb.length" class="truncate">
|
|
405
|
+
<BreadcrumbItem v-for="(bc, bcIndex) in item.breadcrumb" :key="bcIndex" class="text-xs">
|
|
406
|
+
{{ generateTitle(bc.title) }}
|
|
407
|
+
</BreadcrumbItem>
|
|
408
|
+
</Breadcrumb>
|
|
409
|
+
</div>
|
|
410
|
+
</a>
|
|
411
|
+
</template>
|
|
412
|
+
<template v-else>
|
|
413
|
+
<div flex="center col" py-6 text-stone-5>
|
|
414
|
+
<TablerMoodEmpty text="40px" />
|
|
415
|
+
<p m-2 text-base>
|
|
416
|
+
没有找到你想要的
|
|
417
|
+
</p>
|
|
418
|
+
</div>
|
|
419
|
+
</template>
|
|
420
|
+
</OverlayScrollbarsComponent>
|
|
421
|
+
</DialogDescription>
|
|
422
|
+
<div v-if="settingsStore.mode === 'pc'" class="flex justify-between px-4 py-3" border-t="~ solid stone-2 dark:stone-7">
|
|
423
|
+
<div class="flex gap-8">
|
|
424
|
+
<div class="inline-flex items-center gap-1 text-xs">
|
|
425
|
+
<HKbd>
|
|
426
|
+
<IonMdReturnLeft text="14px" />
|
|
427
|
+
</HKbd>
|
|
428
|
+
<span>{{ '访问' }}</span>
|
|
429
|
+
</div>
|
|
430
|
+
<div class="inline-flex items-center gap-1 text-xs">
|
|
431
|
+
<HKbd>
|
|
432
|
+
<AntDesignCaretUpFilled text="14px" />
|
|
433
|
+
</HKbd>
|
|
434
|
+
<HKbd>
|
|
435
|
+
<AntDesignCaretDownFilled text="14px" />
|
|
436
|
+
</HKbd>
|
|
437
|
+
<span>{{ '切换' }}</span>
|
|
438
|
+
</div>
|
|
439
|
+
</div>
|
|
440
|
+
<div v-if="settingsStore.settings.navSearch.enableHotkeys" class="inline-flex items-center gap-1 text-xs">
|
|
441
|
+
<HKbd>
|
|
442
|
+
ESC
|
|
443
|
+
</HKbd>
|
|
444
|
+
<span>{{ '退出' }}</span>
|
|
445
|
+
</div>
|
|
446
|
+
</div>
|
|
447
|
+
</div>
|
|
448
|
+
</DialogPanel>
|
|
449
|
+
</TransitionChild>
|
|
450
|
+
</div>
|
|
451
|
+
</div>
|
|
452
|
+
</Dialog>
|
|
453
|
+
</TransitionRoot>
|
|
454
|
+
</template>
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { DropdownMenuRender } from './interface';
|
|
3
|
+
import CarbonUserAvatarFilledAlt from '~icons/carbon/user-avatar-filled-alt';
|
|
4
|
+
import MaterialSymbolsExpandMoreRounded from '~icons/material-symbols/expand-more-rounded';
|
|
5
|
+
|
|
6
|
+
import PhLineVerticalThin from '~icons/ph/line-vertical-thin';
|
|
7
|
+
import { useContext } from '../../composables/useContext';
|
|
8
|
+
import DarkModeToggle from './DarkModeToggle.vue';
|
|
9
|
+
import Fullscreen from './Fullscreen.vue';
|
|
10
|
+
import HotkeysIntro from './HotkeysIntro.vue';
|
|
11
|
+
import PageReload from './PageReload.vue';
|
|
12
|
+
import Preferences from './Preferences/index.vue';
|
|
13
|
+
import SearchBar from './SearchBar.vue';
|
|
14
|
+
import SearchPanel from './SearchPanel.vue';
|
|
15
|
+
|
|
16
|
+
defineOptions({
|
|
17
|
+
name: 'Tools',
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
const props = withDefaults(
|
|
21
|
+
defineProps<{
|
|
22
|
+
// 用户菜单渲染函数
|
|
23
|
+
dropdownMenuRender?: DropdownMenuRender
|
|
24
|
+
}>(),
|
|
25
|
+
{
|
|
26
|
+
dropdownMenuRender: (({ Home, Preferences, Hotkeys, Org, Profile, Password, Logout, Divider }) => {
|
|
27
|
+
return [Home, Preferences, Divider, Hotkeys, Divider, Org, Profile, Password, Logout];
|
|
28
|
+
}) as DropdownMenuRender,
|
|
29
|
+
},
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
const router = useRouter();
|
|
33
|
+
const { settingsStore, userStore, generateTitle } = useContext();
|
|
34
|
+
|
|
35
|
+
const hotkeysIntroRef = ref();
|
|
36
|
+
const preferencesRef = ref();
|
|
37
|
+
|
|
38
|
+
const userMenu = computed(() => {
|
|
39
|
+
return {
|
|
40
|
+
Home: {
|
|
41
|
+
key: 'home',
|
|
42
|
+
label: generateTitle(settingsStore.settings.home.title),
|
|
43
|
+
icon: 'i-ant-design:home-twotone',
|
|
44
|
+
onClick: () => router.push({ name: 'Home' }),
|
|
45
|
+
hide: !settingsStore.settings.home.enable,
|
|
46
|
+
},
|
|
47
|
+
Preferences: {
|
|
48
|
+
key: 'preferences',
|
|
49
|
+
label: '个人偏好设置',
|
|
50
|
+
icon: 'i-iconamoon-star-duotone',
|
|
51
|
+
onClick: () => preferencesRef.value?.open?.(),
|
|
52
|
+
hide: !settingsStore.settings.app.enableUserPreferences,
|
|
53
|
+
},
|
|
54
|
+
Hotkeys: {
|
|
55
|
+
key: 'hotkeys',
|
|
56
|
+
label: '快捷键介绍',
|
|
57
|
+
icon: 'i-iconamoon-lightning-2-duotone',
|
|
58
|
+
onClick: () => hotkeysIntroRef.value?.open?.(),
|
|
59
|
+
hide: settingsStore.mode !== 'pc',
|
|
60
|
+
},
|
|
61
|
+
Org: {
|
|
62
|
+
key: 'org',
|
|
63
|
+
label: '切换组织',
|
|
64
|
+
icon: 'i-iconamoon-synchronize-duotone',
|
|
65
|
+
onClick: () => router.push({
|
|
66
|
+
name: 'ChangeOrganization',
|
|
67
|
+
params: { orgId: userStore.user.orgId },
|
|
68
|
+
}),
|
|
69
|
+
hide: userStore.user.orgList.length <= 1,
|
|
70
|
+
},
|
|
71
|
+
Profile: {
|
|
72
|
+
key: 'profile',
|
|
73
|
+
label: '个人中心',
|
|
74
|
+
icon: 'i-iconamoon-profile-duotone',
|
|
75
|
+
onClick: () => router.push({ name: 'Profile' }),
|
|
76
|
+
},
|
|
77
|
+
Password: {
|
|
78
|
+
key: 'password',
|
|
79
|
+
label: '修改密码',
|
|
80
|
+
icon: 'i-iconamoon-lock-duotone',
|
|
81
|
+
onClick: () => router.push({
|
|
82
|
+
name: 'ChangePassword',
|
|
83
|
+
params: {
|
|
84
|
+
changePassWordToken: userStore.user.token,
|
|
85
|
+
},
|
|
86
|
+
}),
|
|
87
|
+
},
|
|
88
|
+
Logout: {
|
|
89
|
+
key: 'logout',
|
|
90
|
+
label: '退出登录',
|
|
91
|
+
icon: 'i-iconamoon-arrow-left-3-square-duotone',
|
|
92
|
+
onClick: () => userStore.logout(),
|
|
93
|
+
},
|
|
94
|
+
Divider: {
|
|
95
|
+
key: 'divider',
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
const menus = computed(() => {
|
|
101
|
+
return props.dropdownMenuRender?.(userMenu.value);
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
const avatarError = ref(false);
|
|
105
|
+
|
|
106
|
+
watch(() => userStore.user.avatar, () => {
|
|
107
|
+
if (avatarError.value) {
|
|
108
|
+
avatarError.value = false;
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
</script>
|
|
112
|
+
|
|
113
|
+
<template>
|
|
114
|
+
<div class="tools flex items-center gap-4 whitespace-nowrap px-4">
|
|
115
|
+
<SearchBar />
|
|
116
|
+
|
|
117
|
+
<div class="flex items-center empty:hidden gap-3">
|
|
118
|
+
<slot name="default">
|
|
119
|
+
<Fullscreen />
|
|
120
|
+
<PageReload />
|
|
121
|
+
<DarkModeToggle />
|
|
122
|
+
</slot>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
125
|
+
<div flex-center cursor-pointer gap-1>
|
|
126
|
+
<img
|
|
127
|
+
v-if="userStore.user.avatar && !avatarError"
|
|
128
|
+
:src="userStore.user.avatar"
|
|
129
|
+
:onerror="() => (avatarError = true)"
|
|
130
|
+
class="size-[24px] rounded-full"
|
|
131
|
+
>
|
|
132
|
+
<CarbonUserAvatarFilledAlt v-else text="20px" mr-2px />
|
|
133
|
+
<div class="flex-center cursor-pointer">
|
|
134
|
+
{{ userStore.userOrgName }}
|
|
135
|
+
</div>
|
|
136
|
+
<PhLineVerticalThin v-if="userStore?.userOrgName" />
|
|
137
|
+
<HDropdownMenu :items="menus">
|
|
138
|
+
<div flex-center cursor-pointer gap-1>
|
|
139
|
+
{{ userStore.user.account }}
|
|
140
|
+
<MaterialSymbolsExpandMoreRounded ml="5px" mr="10px" />
|
|
141
|
+
</div>
|
|
142
|
+
</HDropdownMenu>
|
|
143
|
+
</div>
|
|
144
|
+
|
|
145
|
+
<HotkeysIntro ref="hotkeysIntroRef" />
|
|
146
|
+
<SearchPanel :priority="10" />
|
|
147
|
+
<Preferences v-if="settingsStore.settings.app.enableUserPreferences" ref="preferencesRef" />
|
|
148
|
+
</div>
|
|
149
|
+
</template>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface DropdownMenu {
|
|
2
|
+
key?: string | 'divider'
|
|
3
|
+
icon?: string
|
|
4
|
+
label?: string
|
|
5
|
+
disabled?: boolean
|
|
6
|
+
hide?: boolean
|
|
7
|
+
onClick?: () => void
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type DropdownMenuRender = (items: {
|
|
11
|
+
/** 主页 */
|
|
12
|
+
Home: DropdownMenu
|
|
13
|
+
/** 个人偏好设置 */
|
|
14
|
+
Preferences: DropdownMenu
|
|
15
|
+
/** 快捷键介绍 */
|
|
16
|
+
Hotkeys: DropdownMenu
|
|
17
|
+
/** 切换组织 */
|
|
18
|
+
Org: DropdownMenu
|
|
19
|
+
/** 个人中心 */
|
|
20
|
+
Profile: DropdownMenu
|
|
21
|
+
/** 修改密码 */
|
|
22
|
+
Password: DropdownMenu
|
|
23
|
+
/** 登出 */
|
|
24
|
+
Logout: DropdownMenu
|
|
25
|
+
/** 分割线 */
|
|
26
|
+
Divider: DropdownMenu
|
|
27
|
+
}) => DropdownMenu[];
|