@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,744 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { Tabbar } from '#/tabbar';
|
|
3
|
+
import ContextMenu from '@imengyu/vue3-context-menu';
|
|
4
|
+
import { useMagicKeys } from '@vueuse/core';
|
|
5
|
+
import hotkeys from 'hotkeys-js';
|
|
6
|
+
import Sortable from 'sortablejs';
|
|
7
|
+
import Message from 'vue-m-message';
|
|
8
|
+
import RiCloseFill from '~icons/ri/close-fill';
|
|
9
|
+
import RiPushpin2Fill from '~icons/ri/pushpin-2-fill';
|
|
10
|
+
import { PubinfoIcon } from '@/features/components';
|
|
11
|
+
import { storage } from '@/utils';
|
|
12
|
+
import { useContext } from '../../../composables/useContext';
|
|
13
|
+
import { useMainPage } from '../../../composables/useMainPage';
|
|
14
|
+
import { useTabbar } from '../../../composables/useTabbar';
|
|
15
|
+
import MoreAction from './MoreAction.vue';
|
|
16
|
+
import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css';
|
|
17
|
+
|
|
18
|
+
defineOptions({
|
|
19
|
+
name: 'Tabbar',
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const route = useRoute();
|
|
23
|
+
const router = useRouter();
|
|
24
|
+
|
|
25
|
+
const { settingsStore, tabbarStore, generateTitle, routeStore } = useContext();
|
|
26
|
+
|
|
27
|
+
const tabbar = useTabbar();
|
|
28
|
+
const mainPage = useMainPage();
|
|
29
|
+
|
|
30
|
+
const keys = useMagicKeys({ reactive: true });
|
|
31
|
+
|
|
32
|
+
const activedTabId = computed(() => tabbar.getId());
|
|
33
|
+
const isShowMoreAction = computed(() => tabbarStore.list.length > 1 && (tabbar.checkCloseOtherSide() || tabbar.checkCloseLeftSide() || tabbar.checkCloseRightSide()));
|
|
34
|
+
|
|
35
|
+
const tabsRef = ref();
|
|
36
|
+
const tabContainerRef = ref();
|
|
37
|
+
const tabRef = shallowRef<HTMLElement[]>([]);
|
|
38
|
+
onBeforeUpdate(() => {
|
|
39
|
+
tabRef.value = [];
|
|
40
|
+
});
|
|
41
|
+
/**
|
|
42
|
+
* 计算当前激活的 tab 的伪元素起始位置
|
|
43
|
+
*/
|
|
44
|
+
const activePseudoTabStart = computed(() => {
|
|
45
|
+
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
46
|
+
// 如果没有找到对应的 tabId,或者 tabRef 为空,则返回 '0px'
|
|
47
|
+
if (index === -1 || !tabsRef.value || !tabRef.value.length) {
|
|
48
|
+
return '0px';
|
|
49
|
+
}
|
|
50
|
+
// 找到对应的 tab 元素
|
|
51
|
+
const targetElement = tabRef.value.find(item => Number.parseInt(item.dataset.index!) === index);
|
|
52
|
+
// 如果没有找到对应的 tab 元素,返回 '0px'
|
|
53
|
+
if (!targetElement) {
|
|
54
|
+
return '0px';
|
|
55
|
+
}
|
|
56
|
+
// 计算并返回目标元素的右边界与 tabs 容器的左边界之间的距离
|
|
57
|
+
return `${tabsRef.value.offsetWidth - (targetElement.getBoundingClientRect().right || 0)}px`;
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
const activePseudoTabWidth = computed(() => {
|
|
61
|
+
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
62
|
+
// 如果没有找到对应的 tabId,或者 tabRef 为空,则返回 '0px'
|
|
63
|
+
if (index === -1 || !tabRef.value.length) {
|
|
64
|
+
return '0px';
|
|
65
|
+
}
|
|
66
|
+
// 找到对应的 tab 元素
|
|
67
|
+
const targetElement = tabRef.value.find(item => Number.parseInt(item.dataset.index!) === index);
|
|
68
|
+
// 如果没有找到对应的 tab 元素,返回 '0px'
|
|
69
|
+
return `${targetElement?.offsetWidth || 0}px`;
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
const isDragging = ref(false);
|
|
73
|
+
let tabSortable: Sortable;
|
|
74
|
+
onMounted(() => {
|
|
75
|
+
tabSortable = new Sortable(tabContainerRef.value.$el, {
|
|
76
|
+
animation: 200,
|
|
77
|
+
ghostClass: 'tab-ghost',
|
|
78
|
+
draggable: '.tab',
|
|
79
|
+
handle: '.drag-handle',
|
|
80
|
+
filter: '.no-drag',
|
|
81
|
+
onStart: () => {
|
|
82
|
+
isDragging.value = true;
|
|
83
|
+
},
|
|
84
|
+
onEnd: () => {
|
|
85
|
+
isDragging.value = false;
|
|
86
|
+
},
|
|
87
|
+
onUpdate: (e) => {
|
|
88
|
+
if (e.newIndex !== undefined && e.oldIndex !== undefined) {
|
|
89
|
+
tabbarStore.sort(e.newIndex, e.oldIndex);
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
watch([
|
|
95
|
+
() => settingsStore.mode,
|
|
96
|
+
], (val) => {
|
|
97
|
+
nextTick(() => {
|
|
98
|
+
tabSortable?.option('disabled', val[0] === 'mobile');
|
|
99
|
+
});
|
|
100
|
+
}, {
|
|
101
|
+
immediate: true,
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
watch(() => route.fullPath, (newPath, oldPath) => {
|
|
105
|
+
if (settingsStore.settings.tabbar.enable && newPath !== oldPath) {
|
|
106
|
+
tabbarStore.add(route).then(() => {
|
|
107
|
+
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
108
|
+
if (index !== -1 && tabRef.value[index]) {
|
|
109
|
+
scrollTo(tabRef.value[index].offsetLeft);
|
|
110
|
+
tabbarScrollTip();
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
}, {
|
|
115
|
+
immediate: true,
|
|
116
|
+
deep: true,
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
function tabbarScrollTip() {
|
|
120
|
+
if (tabContainerRef.value.$el.clientWidth > tabsRef.value.clientWidth && !storage.local.has('tabbarScrollTip')) {
|
|
121
|
+
storage.local.set('tabbarScrollTip', '');
|
|
122
|
+
Message.info('标签栏数量超过展示区域范围,可以将鼠标移到标签栏上,通过鼠标滚轮滑动浏览', {
|
|
123
|
+
title: '温馨提示',
|
|
124
|
+
duration: 5000,
|
|
125
|
+
closable: true,
|
|
126
|
+
zIndex: 2000,
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
function tabbarMaximizeTip() {
|
|
131
|
+
if (!storage.local.has('tabbarMaximizeTip')) {
|
|
132
|
+
storage.local.set('tabbarMaximizeTip', '');
|
|
133
|
+
Message.info('可以通过双击标签栏进行最大化操作', {
|
|
134
|
+
title: '温馨提示',
|
|
135
|
+
duration: 5000,
|
|
136
|
+
closable: true,
|
|
137
|
+
zIndex: 2000,
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
function handlerMouserScroll(event: WheelEvent) {
|
|
142
|
+
tabsRef.value.scrollBy({
|
|
143
|
+
left: event.deltaY || event.detail,
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
function scrollTo(offsetLeft: number) {
|
|
147
|
+
tabsRef.value.scrollTo({
|
|
148
|
+
left: offsetLeft - 50,
|
|
149
|
+
behavior: 'smooth',
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
function onTabbarContextmenu(event: MouseEvent, routeItem: Tabbar.recordRaw) {
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
ContextMenu.showContextMenu({
|
|
155
|
+
x: event.x,
|
|
156
|
+
y: event.y,
|
|
157
|
+
zIndex: 1050,
|
|
158
|
+
iconFontClass: '',
|
|
159
|
+
customClass: 'tabbar-contextmenu',
|
|
160
|
+
items: [
|
|
161
|
+
{
|
|
162
|
+
label: '重新加载',
|
|
163
|
+
icon: 'i-ri-refresh-line',
|
|
164
|
+
disabled: routeItem.tabId !== activedTabId.value,
|
|
165
|
+
onClick: () => mainPage.reload(),
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
label: '关闭标签页',
|
|
169
|
+
icon: 'i-ri-close-line',
|
|
170
|
+
disabled: tabbarStore.list.length <= 1 || routeItem.isPin || routeItem.isPermanent,
|
|
171
|
+
divided: true,
|
|
172
|
+
onClick: () => {
|
|
173
|
+
tabbar.closeById(routeItem.tabId);
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
label: routeItem.isPin ? '取消固定' : '固定',
|
|
178
|
+
icon: routeItem.isPin ? 'i-lucide-pin-off' : 'i-lucide-pin',
|
|
179
|
+
// 主页不允许被固定,因为如果固定主页且主页未启用,会导致登录时进入路由死循环状态
|
|
180
|
+
disabled: routeItem.fullPath === '/' || routeItem.isPermanent,
|
|
181
|
+
onClick: () => {
|
|
182
|
+
if (routeItem.isPin) {
|
|
183
|
+
tabbarStore.unPin(routeItem.tabId);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
tabbarStore.pin(routeItem.tabId);
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
label: '最大化',
|
|
192
|
+
icon: 'i-ri-picture-in-picture-exit-line',
|
|
193
|
+
onClick: () => {
|
|
194
|
+
if (routeItem.tabId !== activedTabId.value) {
|
|
195
|
+
router.push(routeItem.fullPath);
|
|
196
|
+
}
|
|
197
|
+
tabbarMaximizeTip();
|
|
198
|
+
settingsStore.setMainPageMaximize();
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
label: '关闭其它标签页',
|
|
203
|
+
disabled: !tabbar.checkCloseOtherSide(routeItem.tabId),
|
|
204
|
+
onClick: () => {
|
|
205
|
+
tabbar.closeOtherSide(routeItem.tabId);
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
label: '关闭左侧标签页',
|
|
210
|
+
disabled: !tabbar.checkCloseLeftSide(routeItem.tabId),
|
|
211
|
+
onClick: () => {
|
|
212
|
+
tabbar.closeLeftSide(routeItem.tabId);
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
label: '关闭右侧标签页',
|
|
217
|
+
disabled: !tabbar.checkCloseRightSide(routeItem.tabId),
|
|
218
|
+
onClick: () => {
|
|
219
|
+
tabbar.closeRightSide(routeItem.tabId);
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function iconName(isActive: boolean, icon: Tabbar.recordRaw['icon'], activeIcon: Tabbar.recordRaw['activeIcon']) {
|
|
227
|
+
if (activeIcon === 'system-point') {
|
|
228
|
+
activeIcon = '';
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
let name;
|
|
232
|
+
|
|
233
|
+
if ((!isActive && icon) || (isActive && !activeIcon)) {
|
|
234
|
+
name = icon;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if (isActive && activeIcon) {
|
|
238
|
+
name = activeIcon;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
return name;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// 解析 fullPath 的纯路径部分(去掉 query/hash)
|
|
245
|
+
function stripPath(fullPath: string) {
|
|
246
|
+
return fullPath.split(/[?#]/)[0];
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// 解析该 tab 的 iconOptions(优先使用实际匹配的路由记录,兼容动态路由)
|
|
250
|
+
function resolveIconOptions(element: Tabbar.recordRaw): undefined | {
|
|
251
|
+
boxType?: 'square' | 'prism' | 'null'
|
|
252
|
+
angle?: number | string
|
|
253
|
+
background?: any
|
|
254
|
+
radius?: number | string
|
|
255
|
+
iconColor?: string
|
|
256
|
+
iconSize?: number | string
|
|
257
|
+
} {
|
|
258
|
+
const resolved = router.resolve(element.fullPath);
|
|
259
|
+
const matched = [...(resolved.matched as any[])].reverse();
|
|
260
|
+
const matchedRecordWithIcon = matched.find(record => (record?.meta as any)?.iconOptions);
|
|
261
|
+
if (matchedRecordWithIcon?.meta?.iconOptions) {
|
|
262
|
+
return matchedRecordWithIcon.meta.iconOptions as any;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
const pathOnly = stripPath(element.fullPath);
|
|
266
|
+
const all = [...routeStore.flatSystemRoutes, ...routeStore.flatRoutes] as any[];
|
|
267
|
+
let record = element.routeName
|
|
268
|
+
? all.find(r => r.name === element.routeName)
|
|
269
|
+
: undefined;
|
|
270
|
+
|
|
271
|
+
if (!record) {
|
|
272
|
+
record = all.find(r => r.path === pathOnly);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
let options = (record?.meta as any)?.iconOptions;
|
|
276
|
+
if (!options && record?.meta?.breadcrumbNeste?.length) {
|
|
277
|
+
const found = [...record.meta.breadcrumbNeste].reverse().find((it: any) => it?.iconOptions);
|
|
278
|
+
options = found?.iconOptions;
|
|
279
|
+
}
|
|
280
|
+
return options;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
type ResolvedIconOptions = ReturnType<typeof resolveIconOptions>;
|
|
284
|
+
|
|
285
|
+
const tabIconOptions = computed<Record<string, ResolvedIconOptions>>(() => {
|
|
286
|
+
return tabbarStore.list.reduce<Record<string, ResolvedIconOptions>>((acc, element) => {
|
|
287
|
+
acc[element.tabId] = resolveIconOptions(element);
|
|
288
|
+
return acc;
|
|
289
|
+
}, {} as Record<string, ResolvedIconOptions>);
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
// 统一盒子类型:仅在显式指定为 square/prism 时启用盒子
|
|
293
|
+
function computeBoxType(options: ResolvedIconOptions): 'square' | 'prism' | undefined {
|
|
294
|
+
const bt = options?.boxType;
|
|
295
|
+
return bt && bt !== 'null' ? bt : undefined;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// 仅 AntD 图标使用安全颜色;无配置则为 undefined
|
|
299
|
+
function getSafeIconColor(options: ResolvedIconOptions): string | undefined {
|
|
300
|
+
return options?.iconColor || undefined;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
onMounted(() => {
|
|
304
|
+
hotkeys('alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0', (e, handle) => {
|
|
305
|
+
if (settingsStore.settings.tabbar.enable && settingsStore.settings.tabbar.enableHotkeys) {
|
|
306
|
+
e.preventDefault();
|
|
307
|
+
switch (handle.key) {
|
|
308
|
+
// 切换到当前标签页紧邻的上一个标签页
|
|
309
|
+
case 'alt+left':
|
|
310
|
+
if (tabbarStore.list[0].tabId !== activedTabId.value) {
|
|
311
|
+
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
312
|
+
router.push(tabbarStore.list[index - 1].fullPath);
|
|
313
|
+
}
|
|
314
|
+
break;
|
|
315
|
+
// 切换到当前标签页紧邻的下一个标签页
|
|
316
|
+
case 'alt+right':
|
|
317
|
+
if (tabbarStore.list.at(-1)?.tabId !== activedTabId.value) {
|
|
318
|
+
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
319
|
+
router.push(tabbarStore.list[index + 1].fullPath);
|
|
320
|
+
}
|
|
321
|
+
break;
|
|
322
|
+
// 关闭当前标签页
|
|
323
|
+
case 'alt+w':
|
|
324
|
+
tabbar.closeById(activedTabId.value);
|
|
325
|
+
break;
|
|
326
|
+
// 切换到第 n 个标签页
|
|
327
|
+
case 'alt+1':
|
|
328
|
+
case 'alt+2':
|
|
329
|
+
case 'alt+3':
|
|
330
|
+
case 'alt+4':
|
|
331
|
+
case 'alt+5':
|
|
332
|
+
case 'alt+6':
|
|
333
|
+
case 'alt+7':
|
|
334
|
+
case 'alt+8':
|
|
335
|
+
case 'alt+9':
|
|
336
|
+
{
|
|
337
|
+
const number = Number(handle.key.split('+')[1]);
|
|
338
|
+
if (tabbarStore.list[number - 1]?.fullPath) {
|
|
339
|
+
router.push(tabbarStore.list[number - 1].fullPath);
|
|
340
|
+
}
|
|
341
|
+
break;
|
|
342
|
+
}
|
|
343
|
+
// 切换到最后一个标签页
|
|
344
|
+
case 'alt+0':
|
|
345
|
+
router.push(tabbarStore.list[tabbarStore.list.length - 1].fullPath);
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
onUnmounted(() => {
|
|
352
|
+
hotkeys.unbind('alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0');
|
|
353
|
+
});
|
|
354
|
+
</script>
|
|
355
|
+
|
|
356
|
+
<template>
|
|
357
|
+
<div class="tabbar-container">
|
|
358
|
+
<div
|
|
359
|
+
ref="tabsRef" class="tabs" :class="{
|
|
360
|
+
'tabs-ontop': settingsStore.settings.topbar.switchTabbarAndToolbar,
|
|
361
|
+
[`tabs-${settingsStore.settings.tabbar.style}`]: true,
|
|
362
|
+
}"
|
|
363
|
+
@wheel.prevent="handlerMouserScroll"
|
|
364
|
+
>
|
|
365
|
+
<TransitionGroup
|
|
366
|
+
ref="tabContainerRef" :name="!isDragging ? 'tabbar' : undefined"
|
|
367
|
+
tag="div" class="tab-container"
|
|
368
|
+
:class="{ dragging: isDragging }"
|
|
369
|
+
>
|
|
370
|
+
<div
|
|
371
|
+
v-for="(element, index) in tabbarStore.list" :key="settingsStore.settings.tabbar.mergeTabsBy === 'routeName' && element.routeName ? element.routeName : element.tabId"
|
|
372
|
+
ref="tabRef" :data-index="index" class="tab"
|
|
373
|
+
:class="{
|
|
374
|
+
'tab-ontop': settingsStore.settings.topbar.switchTabbarAndToolbar,
|
|
375
|
+
'actived': element.tabId === activedTabId,
|
|
376
|
+
'no-drag': element.isPermanent || element.isPin,
|
|
377
|
+
}"
|
|
378
|
+
:title="element.customTitleList.find(item => item.fullPath === element.fullPath)?.title || generateTitle(element.title)"
|
|
379
|
+
@click="router.push(element.fullPath)"
|
|
380
|
+
@dblclick="settingsStore.setMainPageMaximize()"
|
|
381
|
+
@contextmenu="onTabbarContextmenu($event, element)"
|
|
382
|
+
>
|
|
383
|
+
<div class="tab-dividers" />
|
|
384
|
+
<div class="tab-background" />
|
|
385
|
+
<div class="tab-content">
|
|
386
|
+
<div :key="element.tabId" class="title">
|
|
387
|
+
<template v-if="settingsStore.settings.tabbar.enableIcon && iconName(element.tabId === activedTabId, element.icon, element.activeIcon)">
|
|
388
|
+
<!-- 有 iconOptions 时启用带边框/渐变的盒子效果,与 Menu 保持一致 -->
|
|
389
|
+
<PubinfoIcon
|
|
390
|
+
v-if="computeBoxType(tabIconOptions[element.tabId])"
|
|
391
|
+
small
|
|
392
|
+
:name="iconName(element.tabId === activedTabId, element.icon, element.activeIcon)!"
|
|
393
|
+
:box="(computeBoxType(tabIconOptions[element.tabId]) as 'square' | 'prism')"
|
|
394
|
+
:size="16"
|
|
395
|
+
:icon-size="tabIconOptions[element.tabId]?.iconSize"
|
|
396
|
+
:angle="tabIconOptions[element.tabId]?.angle"
|
|
397
|
+
:background="tabIconOptions[element.tabId]?.background"
|
|
398
|
+
:radius="tabIconOptions[element.tabId]?.radius"
|
|
399
|
+
:color="(iconName(element.tabId === activedTabId, element.icon, element.activeIcon) || '').startsWith('antd:') ? (getSafeIconColor(tabIconOptions[element.tabId]) || '#ffffff') : undefined"
|
|
400
|
+
class="icon"
|
|
401
|
+
/>
|
|
402
|
+
<!-- 无 iconOptions 时保持原样(纯图标),但若提供图标色也生效 -->
|
|
403
|
+
<PubinfoIcon
|
|
404
|
+
v-else
|
|
405
|
+
:name="iconName(element.tabId === activedTabId, element.icon, element.activeIcon)!"
|
|
406
|
+
:size="16"
|
|
407
|
+
:color="(iconName(element.tabId === activedTabId, element.icon, element.activeIcon) || '').startsWith('antd:') ? getSafeIconColor(tabIconOptions[element.tabId]) : undefined"
|
|
408
|
+
class="icon"
|
|
409
|
+
/>
|
|
410
|
+
</template>
|
|
411
|
+
{{ element.customTitleList.find(item => item.fullPath === element.fullPath)?.title || generateTitle(element.title) }}
|
|
412
|
+
</div>
|
|
413
|
+
<div v-if="!element.isPermanent && element.isPin" class="action-icon" @click.stop="tabbarStore.unPin(element.tabId)" @dblclick.stop>
|
|
414
|
+
<RiPushpin2Fill text="10px" />
|
|
415
|
+
</div>
|
|
416
|
+
<div v-else-if="!element.isPermanent && tabbarStore.list.length > 1" class="action-icon" @click.stop="tabbar.closeById(element.tabId)" @dblclick.stop>
|
|
417
|
+
<RiCloseFill text="10px" />
|
|
418
|
+
</div>
|
|
419
|
+
<div v-show="keys.alt && index < 9" class="hotkey-number">
|
|
420
|
+
{{ index + 1 }}
|
|
421
|
+
</div>
|
|
422
|
+
<div class="drag-handle" />
|
|
423
|
+
</div>
|
|
424
|
+
</div>
|
|
425
|
+
</TransitionGroup>
|
|
426
|
+
</div>
|
|
427
|
+
<MoreAction v-if="isShowMoreAction" class="more-action" />
|
|
428
|
+
</div>
|
|
429
|
+
</template>
|
|
430
|
+
|
|
431
|
+
<style>
|
|
432
|
+
.tabbar-contextmenu .mx-context-menu {
|
|
433
|
+
--at-apply: fixed ring-1 ring-stone-2 dark-ring-stone-7 shadow-2xl bg-[--g-container-bg];
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item {
|
|
437
|
+
--at-apply: transition-background-color;
|
|
438
|
+
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item:not(.disabled):hover {
|
|
442
|
+
--at-apply: cursor-pointer bg-stone-1 dark:bg-stone-9;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item span {
|
|
446
|
+
--at-apply: text-initial;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item .icon {
|
|
450
|
+
--at-apply: text-initial;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item.disabled span,
|
|
454
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item.disabled .icon {
|
|
455
|
+
--at-apply: op-25;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator {
|
|
459
|
+
--at-apply: bg-[--g-container-bg];
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator::after {
|
|
463
|
+
--at-apply: bg-stone-2 dark-bg-stone-7;;
|
|
464
|
+
}
|
|
465
|
+
</style>
|
|
466
|
+
|
|
467
|
+
<style scoped>
|
|
468
|
+
.tabbar-container {
|
|
469
|
+
--at-apply: relative h-[--g-tabbar-height] bg-[--g-bg];
|
|
470
|
+
transition: background-color 0.3s;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.tabs {
|
|
474
|
+
--at-apply: absolute right-0 left-0 overflow-y-hidden whitespace-nowrap;
|
|
475
|
+
padding-inline-end: 50px;
|
|
476
|
+
scrollbar-width: none;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.tabs::-webkit-scrollbar {
|
|
480
|
+
--at-apply: hidden;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.tabs.tabs-ontop {
|
|
484
|
+
top: 0 !important;
|
|
485
|
+
bottom: inherit !important;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.tab-container {
|
|
489
|
+
--at-apply: inline-block;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.tab-container::after {
|
|
493
|
+
--at-apply: absolute bottom-0 z-10 content-empty;
|
|
494
|
+
inset-inline-start: v-bind(activePseudoTabStart);
|
|
495
|
+
width: v-bind(activePseudoTabWidth);
|
|
496
|
+
transition: width 0.3s, inset-inline-start 0.3s;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover {
|
|
500
|
+
--at-apply: z-3;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover::before,
|
|
504
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover::after {
|
|
505
|
+
--at-apply: content-none;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover + .tab .tab-dividers::before {
|
|
509
|
+
--at-apply: op-0;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover .tab-content .title,
|
|
513
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover .tab-content .action-icon {
|
|
514
|
+
color: var(--g-tabbar-tab-hover-color);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover .tab-background {
|
|
518
|
+
background-color: var(--g-tabbar-tab-hover-bg);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.tab {
|
|
522
|
+
--at-apply: relative inline-block text-14px cursor-pointer pointer-events-none
|
|
523
|
+
min-w-[--g-tabbar-tab-min-width] max-w-[--g-tabbar-tab-max-width] h-[--g-tabbar-height]
|
|
524
|
+
align-bottom;
|
|
525
|
+
line-height: calc(var(--g-tabbar-height) - 2px);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.tab * {
|
|
529
|
+
--at-apply: select-none;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.tab.actived {
|
|
533
|
+
--at-apply: z-5;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.tab.actived::before,
|
|
537
|
+
.tab.actived::after {
|
|
538
|
+
--at-apply: content-none;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.tab.actived + .tab .tab-dividers::before {
|
|
542
|
+
--at-apply: op-0;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.tab.actived .tab-content .title,
|
|
546
|
+
.tab.actived .tab-content .action-icon {
|
|
547
|
+
color: var(--g-tabbar-tab-active-color);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.tab.actived .tab-background {
|
|
551
|
+
background-color: var(--g-container-bg);
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.tab.tab-ghost {
|
|
555
|
+
opacity: 0 !important;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.tab-dividers {
|
|
559
|
+
--at-apply: absolute z-0 h-3.5 -translate-y-2/4 top-2/4;
|
|
560
|
+
inset-inline: -1px;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.tab-dividers::before {
|
|
564
|
+
--at-apply: absolute block w-px content-empty opacity-100 inset-y-0
|
|
565
|
+
bg-[--g-tabbar-dividers-bg];
|
|
566
|
+
|
|
567
|
+
inset-inline-start: 1px;
|
|
568
|
+
transition: opacity 0.2s ease, background-color 0.3s;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.tab:first-child .tab-dividers::before {
|
|
572
|
+
--at-apply: op-0;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.tab-background {
|
|
576
|
+
--at-apply: absolute z-0 w-full h-full pointer-events-none left-0 top-0;
|
|
577
|
+
transition: opacity 0.3s, background-color 0.3s;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.tab-content {
|
|
581
|
+
--at-apply: flex size-full;
|
|
582
|
+
pointer-events: all;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.tab-content .title {
|
|
586
|
+
--at-apply: flex flex-1 gap-[5px] items-center h-full overflow-hidden whitespace-nowrap px-2.5 py-0;
|
|
587
|
+
margin-inline-end: 10px;
|
|
588
|
+
color: var(--g-tabbar-tab-color);
|
|
589
|
+
mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
|
|
590
|
+
transition: margin-inline-end 0.3s;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
[dir="rtl"] .tab-content .title {
|
|
594
|
+
mask-image: linear-gradient(to left, #000 calc(100% - 20px), transparent);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.tab-content .title:has(+ .action-icon) {
|
|
598
|
+
margin-inline-end: 28px;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.tab-content .title .icon {
|
|
602
|
+
flex-shrink: 0;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.tab-content .action-icon {
|
|
606
|
+
--at-apply: absolute z-10 flex items-center justify-center w-[1.5em] h-[1.5em]
|
|
607
|
+
text-xs text-[--g-tabbar-tab-color] -translate-y-2/4 rounded-[50%] top-2/4;
|
|
608
|
+
inset-inline-end: 0.5em;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.tab-content .action-icon:hover {
|
|
612
|
+
background-color: var(--g-bg);
|
|
613
|
+
box-shadow: 0 0 0 1px var(--g-border-color);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.tab-content .hotkey-number {
|
|
617
|
+
--at-apply: absolute z-10 flex items-center justify-center w-[1.5em] h-[1.5em]
|
|
618
|
+
text-xs -translate-y-2/4 rounded-[50%] right-[0.5em] top-2/4
|
|
619
|
+
text-[--g-tabbar-tab-color] bg-[--g-bg];
|
|
620
|
+
box-shadow: 0 0 0 1px var(--g-border-color);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.tab-content .drag-handle {
|
|
624
|
+
--at-apply: absolute inset-0 z-9;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/* Fashion 风格样式 */
|
|
628
|
+
.tabs.tabs-fashion {
|
|
629
|
+
--at-apply: bottom-0;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.tabs.tabs-fashion .tab-container:not(.dragging) .tab:not(.actived):hover .tab-background::before,
|
|
633
|
+
.tabs.tabs-fashion .tab-container:not(.dragging) .tab:not(.actived):hover .tab-background::after {
|
|
634
|
+
box-shadow: 0 0 0 20px var(--g-tabbar-tab-hover-bg);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.tabs.tabs-fashion .tab {
|
|
638
|
+
height: calc(var(--g-tabbar-height) - 10px);
|
|
639
|
+
margin-inline: 10px -10px;
|
|
640
|
+
line-height: calc(var(--g-tabbar-height) - 12px);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.tabs.tabs-fashion .tab:last-child {
|
|
644
|
+
margin-inline-end: 0;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.tabs.tabs-fashion .tab.tab-ontop .tab-background {
|
|
648
|
+
transform: rotate(180deg);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.tabs.tabs-fashion .tab-background {
|
|
652
|
+
border-radius: 10px 10px 0 0;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.tabs.tabs-fashion .tab-background::before,
|
|
656
|
+
.tabs.tabs-fashion .tab-background::after {
|
|
657
|
+
--at-apply: absolute bottom-0 size-5 content-empty rounded-full;
|
|
658
|
+
box-shadow: 0 0 0 20px transparent;
|
|
659
|
+
transition: box-shadow 0.3s;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.tabs.tabs-fashion .tab-background::before {
|
|
663
|
+
left: -20px;
|
|
664
|
+
clip-path: inset(50% -10px 0 50%);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.tabs.tabs-fashion .tab-background::after {
|
|
668
|
+
right: -20px;
|
|
669
|
+
clip-path: inset(50% 50% 0 -10px);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.tabs.tabs-fashion .tab.actived .tab-background::before,
|
|
673
|
+
.tabs.tabs-fashion .tab.actived .tab-background::after {
|
|
674
|
+
box-shadow: 0 0 0 20px var(--g-container-bg);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/* Card 风格样式 */
|
|
678
|
+
.tabs.tabs-card .tab {
|
|
679
|
+
--at-apply: ml-[5px] mr-0 my-[5px];
|
|
680
|
+
height: calc(var(--g-tabbar-height) - 10px);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.tabs.tabs-card .tab .tab-dividers {
|
|
684
|
+
--at-apply: hidden;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.tabs.tabs-card .tab-background {
|
|
688
|
+
--at-apply: rounded-5px;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/* Square 风格样式 */
|
|
692
|
+
.tabs.tabs-square .tab-container::after {
|
|
693
|
+
--at-apply: bg-ui-primary h-0.5;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.tabs.tabs-square .tab-container:has(> .tab.tab-ontop)::after {
|
|
697
|
+
--at-apply: top-0 bottom-unset;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.tabs.tabs-square .tab-container:has(> .tab.tab-ontop) .tab .tab-background {
|
|
701
|
+
--at-apply: top-0 bottom-unset;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.tabs.tabs-square .tab:not(.actived):hover .tab-background {
|
|
705
|
+
--at-apply: h-full;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.tabs.tabs-square .tab .tab-background {
|
|
709
|
+
--at-apply: top-unset bottom-0 h-0 bg-[--g-tabbar-tab-hover-bg];
|
|
710
|
+
transition: height 0.3s;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.tabs.tabs-square .tab.actived .tab-background {
|
|
714
|
+
--at-apply: h-full bg-[--g-container-bg];
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.more-action {
|
|
718
|
+
--at-apply: absolute z-10 flex items-center justify-center w-[50px] h-full right-0 top-0;
|
|
719
|
+
background-image: linear-gradient(to right, transparent, var(--g-bg));
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
/* 标签栏动画 */
|
|
723
|
+
.tabbar-move,
|
|
724
|
+
.tabbar-enter-active,
|
|
725
|
+
.tabbar-leave-active {
|
|
726
|
+
transition: all 0.3s;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.tabbar-enter-from,
|
|
730
|
+
.tabbar-leave-to {
|
|
731
|
+
opacity: 0;
|
|
732
|
+
transform: translateY(30px);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.tabs.tabs-ontop .tabbar-enter-from,
|
|
736
|
+
.tabs.tabs-ontop .tabbar-leave-to {
|
|
737
|
+
opacity: 0;
|
|
738
|
+
transform: translateY(-30px);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.tabbar-leave-active {
|
|
742
|
+
position: absolute !important;
|
|
743
|
+
}
|
|
744
|
+
</style>
|