@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 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" class="icon" viewBox="0 0 1028 1024" preserveAspectRatio="xMidYMid meet"><path d="M989.867 234.667H499.2c-17.067 0-34.133-21.334-34.133-42.667 0-25.6 12.8-42.667 34.133-42.667h490.667c17.066 0 34.133 17.067 34.133 42.667 0 21.333-12.8 42.667-34.133 42.667m-473.6 128h465.066c25.6 0 46.934 21.333 46.934 42.666 0 25.6-21.334 42.667-46.934 42.667H516.267c-25.6 0-46.934-17.067-46.934-42.667s21.334-42.666 46.934-42.666m0 298.666c-25.6 0-46.934-21.333-46.934-42.666 0-25.6 21.334-42.667 46.934-42.667h465.066c25.6 0 46.934 17.067 46.934 42.667s-21.334 42.666-46.934 42.666zm4.266 128H972.8c29.867 0 51.2 17.067 51.2 42.667s-21.333 42.667-51.2 42.667H520.533c-29.866 0-51.2-17.067-51.2-42.667s21.334-42.667 51.2-42.667m-192 25.6c-17.066 17.067-46.933 17.067-64 0L12.8 541.867c-17.067-17.067-17.067-51.2 0-68.267l251.733-273.067c17.067-17.066 46.934-17.066 64 0s17.067 51.2 0 68.267L106.667 507.733l221.866 238.934c17.067 21.333 17.067 51.2 0 68.266"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 383 309" preserveAspectRatio="xMidYMid meet"><rect width="118.274" height="17.809" fill="#81ACFA" rx="4" transform="matrix(1 0 .08716 .9962 161.633 272.588)"/><rect width="118.274" height="17.809" fill="url(#a)" rx="4" transform="matrix(1 0 .08716 .9962 162.633 269.588)"/><path fill="url(#b)" d="m32.505 148.18 36.78 85.112c25.18 58.267 91.725 89.125 148.315 68.777l85.675-30.806c91.652-32.954 86.59-163.719-7.961-205.65L172.859 11.307C80.133-29.813-7.488 55.635 32.505 148.18"/><rect width="68.502" height="88.093" fill="url(#c)" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="68.502" height="77.252" fill="url(#d)" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="137.89" height="105.817" fill="url(#e)" rx="10" transform="matrix(1 0 .08716 .9962 .076 169.044)"/><g opacity=".3"><path fill="#B0C6F8" fill-rule="evenodd" d="M32.416 185.888a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1H65.98a1 1 0 0 0 1-1v-4.978a1 1 0 0 0-1-1zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.048.551.535.997 1.087.997h11.475a.9.9 0 0 0 .913-.997l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm-38.814 13.156a.9.9 0 0 0-.912.996l.433 4.959c.049.55.535.996 1.088.996h33.564a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.965 0a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .912-.996l-.433-4.959a1.11 1.11 0 0 0-1.088-.996z" clip-rule="evenodd"/><path fill="#CEDCFF" fill-rule="evenodd" d="M34.717 212.2a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996H68.89a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.049.55.535.996 1.088.996h11.474a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#1CCDB8" d="M52.416 238.875c.698-1.125 2.373-1.125 3.268 0l15.628 19.634c1.05 1.319.262 3.141-1.36 3.141h-27.82c-1.622 0-2.728-1.822-1.909-3.141z"/><path fill="#1CCDB8" d="M75.608 246.101c.699-1.124 2.373-1.124 3.268 0l9.876 12.408c1.05 1.319.263 3.141-1.359 3.141h-17.58c-1.622 0-2.73-1.822-1.91-3.141z"/><circle cx="3.072" cy="3.072" r="3.072" fill="#1CCDB8" transform="matrix(1 0 .08716 .9962 76.041 232.35)"/></g><path fill="#0D4CAC" fill-opacity=".1" fill-rule="evenodd" d="M145.514 268.054H92.96c-6.628 0-12.655-5.332-13.463-11.91l-10.694-87.1h50.164c5.523 0 10.779 4.443 11.74 9.924l14.93 85.166c.244 1.392.188 2.718-.123 3.92" clip-rule="evenodd"/><rect width="238.238" height="173.566" fill="#81ACFA" rx="12" transform="matrix(1 0 .08716 .9962 84.719 85.475)"/><rect width="237.238" height="172.566" x=".544" y=".498" fill="url(#f)" stroke="url(#g)" rx="11.5" transform="matrix(1 0 .08716 .9962 86.675 83.477)"/><path fill="url(#h)" stroke="url(#i)" d="M101.526 88.354h209.477c5.247 0 9.871 4.237 10.328 9.464l10.845 123.958a1.35 1.35 0 0 1-1.369 1.495H105.33a1.666 1.666 0 0 1-1.631-1.495L92.854 97.818c-.457-5.227 3.425-9.464 8.672-9.464Z"/><path fill="#1346CB" fill-rule="evenodd" d="M101.481 87.856c-5.522 0-9.22 4.443-8.26 9.924l.757 4.315c.822-3.673 3.978-6.27 8.201-6.27h210.54c4.595 0 9.005 3.075 10.91 7.265l-.93-5.31c-.961-5.481-6.217-9.924-11.74-9.924z" clip-rule="evenodd"/><rect width="108" height="108" fill="#0D4CAC" fill-opacity=".18" rx="54" transform="matrix(1 0 .08716 .9962 246.5 74.57)"/><rect width="107" height="107" x=".544" y=".498" fill="url(#j)" stroke="#fff" rx="53.5" transform="matrix(1 0 .08716 .9962 264.88 56.617)"/><path fill="#CDDCEF" fill-rule="evenodd" d="M332.098 96.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#6599FF" fill-rule="evenodd" d="M337.098 90.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#1346CB" fill-opacity=".2" fill-rule="evenodd" d="m161.055 128.365 28.66 8.821c1.076.33 1.878 1.301 1.956 2.4l3.072 35.11v.003c-.04.279-.863 6.036-6.064 11.611-4.631 4.974-16.473 11.605-19.042 12.915l-1.302.678c-.343.183-.986.192-1.361 0l-1.421-.678a10 10 0 0 0-.462-.22 27 27 0 0 1-.957-.458c-4.799-2.399-15.802-7.932-20.564-12.237-6.146-5.556-7.984-11.293-8.085-11.608l-.002-.006-3.072-35.11c-.105-1.099.518-2.07 1.537-2.4zm6.113 66.088.019.009s.009 0 .026-.009zm.377-20.389h4.505c1.471 0 2.562-1.191 2.435-2.657h-.009l-.01-.109c-.128-1.466-1.428-2.657-2.899-2.657h-4.505l-.408-4.662c3.88-1.054 6.341-4.873 6.115-8.922.004-.064-.002-.128-.007-.192q.002-.054-.007-.102l-.007-.054c-.206-1.823-.911-3.682-2.108-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.862-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.651.007 1.869.697 3.866 1.811 5.46 1.072 1.529 2.596 2.876 4.308 3.627.506.219 1.009.393 1.509.54q.002.033.001.067l.002.08 1.427 16.304c.128 1.466 1.427 2.656 2.898 2.656s2.563-1.19 2.434-2.656zm-.834-16.882a1 1 0 0 0-.056.092 4 4 0 0 1-.341.41 2 2 0 0 1-.305.303 2 2 0 0 0-.276.201 8 8 0 0 1-.604.348c-.321.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.792-.43 1 1 0 0 0-.098-.064 7 7 0 0 1-.446-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.405-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.093-1.072c.043-.348.105-.686.195-1.025q.16-.388.367-.751a1 1 0 0 0 .056-.092c.107-.147.224-.284.341-.412.072-.086.155-.167.237-.246l.067-.065c.165-.11.251-.174.276-.201q.294-.189.604-.349a6.4 6.4 0 0 1 1.005-.284 7 7 0 0 1 1.076 0c.356.074.704.166 1.054.284q.406.194.792.431c.011.009.05.037.098.064q.236.182.446.376c.094.079.183.169.27.258l.071.071c.126.175.198.266.228.294q.216.308.405.632c.149.339.281.687.375 1.035.034.173.06.356.075.531l.009.255.009.276a7 7 0 0 1-.194 1.035q-.16.389-.367.752" clip-rule="evenodd"/><path fill="#fff" fill-rule="evenodd" d="m166.536 122.143 28.659 8.82c1.077.33 1.879 1.302 1.957 2.401l3.072 35.109-.001.003c-.04.279-.862 6.036-6.063 11.611-4.631 4.974-16.473 11.606-19.043 12.915l-1.302.678c-.342.183-.985.192-1.361 0l-1.42-.678c-.138-.071-.282-.137-.463-.22a29 29 0 0 1-.957-.457c-4.798-2.4-15.802-7.933-20.564-12.238-6.145-5.556-7.983-11.293-8.084-11.608l-.002-.006-3.072-35.109c-.105-1.099.518-2.071 1.537-2.401zm6.112 66.087.02.009s.009 0 .026-.009zm.377-20.389h4.506c1.471 0 2.562-1.191 2.434-2.657h-.009l-.01-.109c-.128-1.466-1.427-2.657-2.898-2.657h-4.506l-.408-4.662c3.881-1.054 6.341-4.873 6.116-8.922a1 1 0 0 0-.008-.192.4.4 0 0 0-.007-.102q-.004-.025-.006-.054c-.206-1.822-.911-3.682-2.109-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.861-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.652.007 1.868.697 3.865 1.811 5.459 1.072 1.529 2.597 2.876 4.308 3.627.506.219 1.009.394 1.509.54q.002.033.002.067l.002.08 1.426 16.304c.128 1.466 1.428 2.656 2.899 2.656s2.562-1.19 2.434-2.656zm-.833-16.882a.5.5 0 0 0-.056.092 4 4 0 0 1-.342.41 2.2 2.2 0 0 1-.304.303c-.166.11-.251.174-.277.201-.2.129-.393.239-.604.348-.32.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.791-.43 1 1 0 0 0-.098-.064 6 6 0 0 1-.447-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.404-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.094-1.071c.043-.349.106-.687.195-1.026a7 7 0 0 1 .367-.751.5.5 0 0 0 .056-.092q.164-.22.341-.412c.072-.086.156-.167.238-.246l.066-.065c.166-.11.251-.174.277-.201q.293-.188.604-.348c.32-.119.661-.22 1.005-.284a7 7 0 0 1 1.076 0c.355.073.703.165 1.054.284q.407.193.791.43c.011.009.05.037.098.064q.237.182.447.376c.093.079.182.169.27.258l.071.072c.125.174.197.265.228.293q.215.308.404.632c.149.339.281.687.376 1.035.034.173.059.356.074.531l.009.255.01.276a7 7 0 0 1-.195 1.035q-.16.389-.366.752" clip-rule="evenodd"/><path fill="#1346CB" fill-opacity=".2" fill-rule="evenodd" d="M249.143 139.557h-37.678l.357 4.085H249.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><path fill="#B6CFFF" fill-rule="evenodd" d="M252.143 135.557h-37.678l.357 4.085H252.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><defs><linearGradient id="a" x1="59.137" x2="59.137" y1="0" y2="17.809" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF3FF"/><stop offset="1" stop-color="#D4E4FF"/></linearGradient><linearGradient id="b" x1="228.313" x2="228.313" y1="-98.142" y2="338.976" gradientUnits="userSpaceOnUse"><stop stop-color="#E5EFFF"/><stop offset="1" stop-color="#F2F7FF" stop-opacity="0"/></linearGradient><linearGradient id="c" x1="1.411" x2="66.523" y1="88.093" y2="99.442" gradientUnits="userSpaceOnUse"><stop stop-color="#3E71E2"/><stop offset="1" stop-color="#4A82E8"/></linearGradient><linearGradient id="d" x1="1.411" x2="65.952" y1="77.252" y2="90.081" gradientUnits="userSpaceOnUse"><stop stop-color="#1846AE"/><stop offset="1" stop-color="#1350BF"/></linearGradient><linearGradient id="e" x1="68.945" x2="68.945" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#E7F0FF"/><stop offset="1" stop-color="#F4F8FF"/></linearGradient><linearGradient id="f" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF3FF"/><stop offset="1" stop-color="#D4E4FF"/></linearGradient><linearGradient id="g" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="h" x1="206.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#3D70F7"/><stop offset="1" stop-color="#7CAEFF"/></linearGradient><linearGradient id="i" x1="206.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="j" x1="54" x2="54" y1="0" y2="108" gradientUnits="userSpaceOnUse"><stop stop-color="#E7F0FF"/><stop offset="1" stop-color="#F4F8FF"/></linearGradient></defs></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" class="design-iconfont" viewBox="0 0 383 309" width="24" height="24" preserveAspectRatio="xMidYMid meet"><path fill="url(#a)" d="m32.505 148.18 36.78 85.112c25.18 58.267 91.725 89.125 148.315 68.777l85.675-30.806c91.652-32.954 86.59-163.719-7.961-205.65L172.859 11.307C80.133-29.813-7.488 55.635 32.505 148.18"/><rect width="118.274" height="17.809" fill="#81ACFA" rx="4" transform="matrix(1 0 .08716 .9962 161.633 272.588)"/><rect width="118.274" height="17.809" fill="#3A4E7A" rx="4" transform="matrix(1 0 .08716 .9962 161.633 272.588)"/><rect width="118.274" height="17.809" fill="url(#b)" rx="4" transform="matrix(1 0 .08716 .9962 162.633 269.588)"/><rect width="118.274" height="17.809" fill="url(#c)" rx="4" transform="matrix(1 0 .08716 .9962 162.633 269.588)"/><rect width="68.502" height="88.093" fill="url(#d)" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="68.502" height="77.252" fill="#051539" rx="2" transform="matrix(1 0 .08716 .9962 180.84 189.236)"/><rect width="137.89" height="105.817" fill="url(#e)" rx="10" transform="matrix(1 0 .08716 .9962 .076 169.044)"/><rect width="137.89" height="105.817" fill="url(#f)" rx="10" transform="matrix(1 0 .08716 .9962 .076 169.044)"/><g opacity=".3"><path fill="#B0C6F8" fill-rule="evenodd" d="M32.416 185.888a1 1 0 0 0-1 1v4.978a1 1 0 0 0 1 1H65.98a1 1 0 0 0 1-1v-4.978a1 1 0 0 0-1-1zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.048.551.535.997 1.087.997h11.475a.9.9 0 0 0 .913-.997l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm-38.814 13.156a.9.9 0 0 0-.912.996l.433 4.959c.049.55.535.996 1.088.996h33.564a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.965 0a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996h11.475a.9.9 0 0 0 .912-.996l-.433-4.959a1.11 1.11 0 0 0-1.088-.996z" clip-rule="evenodd"/><path fill="#CEDCFF" fill-rule="evenodd" d="M34.717 212.2a.9.9 0 0 0-.913.996l.434 4.959c.048.55.535.996 1.087.996H68.89a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996zm39.964 0a.9.9 0 0 0-.913.996l.434 4.959c.049.55.535.996 1.088.996h11.474a.9.9 0 0 0 .913-.996l-.434-4.959a1.11 1.11 0 0 0-1.087-.996z" clip-rule="evenodd"/><path fill="#1CCDB8" d="M52.416 238.875c.698-1.125 2.373-1.125 3.268 0l15.628 19.634c1.05 1.319.262 3.141-1.36 3.141h-27.82c-1.622 0-2.728-1.822-1.909-3.141z"/><path fill="#1CCDB8" d="M75.608 246.101c.699-1.124 2.373-1.124 3.268 0l9.876 12.408c1.05 1.319.263 3.141-1.359 3.141h-17.58c-1.622 0-2.73-1.822-1.91-3.141zm3.505-13.751a3.203 2.935 42.502 1 0 .535 6.12 3.203 2.935 42.502 1 0-.535-6.12"/></g><path fill="#000F25" fill-opacity=".1" fill-rule="evenodd" d="M145.514 268.054H92.96c-6.628 0-12.655-5.332-13.463-11.91l-10.694-87.1h50.164c5.523 0 10.779 4.443 11.74 9.924l14.93 85.166c.244 1.392.188 2.718-.123 3.92" clip-rule="evenodd"/><rect width="238.238" height="173.566" fill="#81ACFA" rx="12" transform="matrix(1 0 .08716 .9962 84.719 85.475)"/><rect width="238.238" height="173.566" fill="#3A4E7A" rx="12" transform="matrix(1 0 .08716 .9962 84.719 85.475)"/><rect width="237.238" height="172.566" x=".544" y=".498" fill="url(#g)" stroke="url(#h)" rx="11.5" transform="matrix(1 0 .08716 .9962 86.675 83.477)"/><path fill="url(#i)" stroke="url(#j)" d="M101.526 88.354h209.477c5.247 0 9.871 4.237 10.328 9.464l10.845 123.958a1.35 1.35 0 0 1-1.369 1.495H105.33a1.666 1.666 0 0 1-1.631-1.495L92.854 97.818c-.457-5.227 3.425-9.464 8.672-9.464Z"/><path fill="#071435" fill-rule="evenodd" d="M101.481 87.856c-5.522 0-9.22 4.443-8.26 9.924l.757 4.315c.822-3.673 3.978-6.27 8.201-6.27h210.54c4.595 0 9.005 3.075 10.91 7.265l-.93-5.31c-.961-5.481-6.217-9.924-11.74-9.924z" clip-rule="evenodd"/><rect width="108" height="108" fill="#02132D" fill-opacity=".5" rx="54" transform="matrix(1 0 .08716 .9962 246.5 74.57)"/><rect width="107" height="107" x=".544" y=".498" fill="url(#k)" stroke="#7384AD" rx="53.5" transform="matrix(1 0 .08716 .9962 264.88 56.617)"/><path fill="#434F6F" fill-rule="evenodd" d="M332.098 96.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#6599FF" fill-rule="evenodd" d="M337.098 90.246c0 7.312-5.994 13.26-13.362 13.26-7.367 0-13.361-5.948-13.361-13.26s5.994-13.26 13.361-13.26 13.362 5.948 13.362 13.26m-29.466 46.337c-5.999-3.171-9.589-7.472-9.982-11.957-.194-2.221.403-4.42 1.757-6.471s3.437-3.916 6.133-5.486c2.696-1.571 5.95-2.816 9.577-3.666s7.556-1.287 11.562-1.287c4.007 0 8.012.437 11.788 1.287s7.248 2.095 10.219 3.666 5.38 3.434 7.093 5.486 2.694 4.25 2.888 6.471c.393 4.485-2.445 8.786-7.889 11.957s-13.048 4.953-21.14 4.953c-8.091 0-16.007-1.782-22.006-4.953" clip-rule="evenodd"/><path fill="#031031" fill-opacity=".5" fill-rule="evenodd" d="m161.055 128.365 28.66 8.821c1.076.33 1.878 1.301 1.956 2.4l3.072 35.11v.003c-.04.279-.863 6.036-6.064 11.611-4.631 4.974-16.473 11.605-19.042 12.915l-1.302.678c-.343.183-.986.192-1.361 0l-1.421-.678a10 10 0 0 0-.462-.22 27 27 0 0 1-.957-.458c-4.799-2.399-15.802-7.932-20.564-12.237-6.146-5.556-7.984-11.293-8.085-11.608l-.002-.006-3.072-35.11c-.105-1.099.518-2.07 1.537-2.4zm6.113 66.088.019.009s.009 0 .026-.009zm.377-20.389h4.505c1.471 0 2.562-1.191 2.435-2.657h-.009l-.01-.109c-.128-1.466-1.428-2.657-2.899-2.657h-4.505l-.408-4.662c3.88-1.054 6.341-4.873 6.115-8.922.004-.064-.002-.128-.007-.192q.002-.054-.007-.102l-.007-.054c-.206-1.823-.911-3.682-2.108-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.862-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.651.007 1.869.697 3.866 1.811 5.46 1.072 1.529 2.596 2.876 4.308 3.627.506.219 1.009.393 1.509.54q.002.033.001.067l.002.08 1.427 16.304c.128 1.466 1.427 2.656 2.898 2.656s2.563-1.19 2.434-2.656zm-.834-16.882a1 1 0 0 0-.056.092 4 4 0 0 1-.341.41 2 2 0 0 1-.305.303 2 2 0 0 0-.276.201 8 8 0 0 1-.604.348c-.321.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.792-.43 1 1 0 0 0-.098-.064 7 7 0 0 1-.446-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.405-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.093-1.072c.043-.348.105-.686.195-1.025q.16-.388.367-.751a1 1 0 0 0 .056-.092c.107-.147.224-.284.341-.412.072-.086.155-.167.237-.246l.067-.065c.165-.11.251-.174.276-.201q.294-.189.604-.349a6.4 6.4 0 0 1 1.005-.284 7 7 0 0 1 1.076 0c.356.074.704.166 1.055.284q.405.194.791.431c.011.009.05.037.098.064q.236.182.446.376c.094.079.183.169.27.258l.071.071c.126.175.198.266.228.294q.216.308.405.632c.149.339.281.687.375 1.035.034.173.06.356.075.531l.009.255.009.276a7 7 0 0 1-.194 1.035q-.16.389-.367.752" clip-rule="evenodd"/><path fill="#8092EE" fill-rule="evenodd" d="m166.536 122.143 28.659 8.82c1.077.33 1.879 1.302 1.957 2.401l3.072 35.109-.001.003c-.04.279-.862 6.036-6.063 11.611-4.631 4.974-16.473 11.606-19.043 12.915l-1.302.678c-.342.183-.985.192-1.361 0l-1.42-.678c-.138-.071-.282-.137-.463-.22a29 29 0 0 1-.957-.457c-4.798-2.4-15.802-7.933-20.564-12.238-6.145-5.556-7.983-11.293-8.084-11.608l-.002-.006-3.072-35.109c-.105-1.099.518-2.071 1.537-2.401zm6.112 66.087.02.009s.009 0 .026-.009zm.377-20.389h4.506c1.471 0 2.562-1.191 2.434-2.657h-.009l-.01-.109c-.128-1.466-1.427-2.657-2.898-2.657h-4.506l-.408-4.662c3.881-1.054 6.341-4.873 6.116-8.922a1 1 0 0 0-.008-.192.4.4 0 0 0-.007-.102q-.004-.025-.006-.054c-.206-1.822-.911-3.682-2.109-5.175a11.26 11.26 0 0 0-5.118-3.636c-3.605-1.273-7.861-.11-9.983 2.757-1.225 1.658-1.835 3.518-1.832 5.652.007 1.868.697 3.865 1.811 5.459 1.072 1.529 2.597 2.876 4.308 3.627.506.219 1.009.394 1.509.54q.002.033.002.067l.002.08 1.426 16.304c.128 1.466 1.428 2.656 2.899 2.656s2.562-1.19 2.434-2.656zm-.833-16.882a.5.5 0 0 0-.056.092 4 4 0 0 1-.342.41 2.2 2.2 0 0 1-.304.303c-.166.11-.251.174-.277.201-.2.129-.393.239-.604.348-.32.119-.661.22-1.005.284a7 7 0 0 1-1.076 0 9 9 0 0 1-1.054-.284 8 8 0 0 1-.791-.43 1 1 0 0 0-.098-.064 6 6 0 0 1-.447-.376 4 4 0 0 1-.27-.258l-.071-.072a3 3 0 0 0-.228-.293 9 9 0 0 1-.404-.632 7 7 0 0 1-.375-1.026 7 7 0 0 1-.094-1.071c.043-.349.106-.687.195-1.026a7 7 0 0 1 .367-.751.5.5 0 0 0 .056-.092q.164-.22.341-.412c.072-.086.156-.167.238-.246l.066-.065c.166-.11.251-.174.277-.201q.293-.188.604-.348c.32-.119.661-.22 1.005-.284a7 7 0 0 1 1.076 0c.355.073.703.165 1.054.284q.407.193.791.43c.011.009.05.037.098.064q.237.182.447.376c.093.079.182.169.27.258l.071.072c.125.174.197.265.228.293q.215.308.404.632c.149.339.281.687.376 1.035.034.173.059.356.074.531l.009.255.01.276a7 7 0 0 1-.195 1.035q-.16.389-.366.752" clip-rule="evenodd"/><path fill="#031031" fill-opacity=".5" fill-rule="evenodd" d="M249.143 139.557h-37.678l.357 4.085H249.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><path fill="#7887D2" fill-rule="evenodd" d="M252.143 135.557h-37.678l.357 4.085H252.5zm1.139 13.022h-37.678l.358 4.085h37.677zm-36.539 13.022h37.678l.358 4.085h-37.678zm38.817 13.021h-37.677l.357 4.086h37.678z" clip-rule="evenodd"/><defs><linearGradient id="a" x1="228.313" x2="228.313" y1="-98.142" y2="338.976" gradientUnits="userSpaceOnUse"><stop stop-color="#363B42"/><stop offset="1" stop-color="#363B42" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="59.137" x2="59.137" y1="0" y2="17.809" gradientUnits="userSpaceOnUse"><stop stop-color="#EBF3FF"/><stop offset="1" stop-color="#D4E4FF"/></linearGradient><linearGradient id="c" x1="59.137" x2="59.137" y1="0" y2="17.809" gradientUnits="userSpaceOnUse"><stop stop-color="#7D87A1"/><stop offset="1" stop-color="#97A1BB"/></linearGradient><linearGradient id="d" x1="1.411" x2="66.523" y1="88.093" y2="99.442" gradientUnits="userSpaceOnUse"><stop stop-color="#1E3B7A"/><stop offset="1" stop-color="#153F8B"/></linearGradient><linearGradient id="e" x1="68.945" x2="68.945" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#E7F0FF"/><stop offset="1" stop-color="#F4F8FF"/></linearGradient><linearGradient id="f" x1="68.945" x2="68.945" y1="0" y2="105.817" gradientUnits="userSpaceOnUse"><stop stop-color="#586075"/><stop offset="1" stop-color="#65749C"/></linearGradient><linearGradient id="g" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#7D87A1"/><stop offset="1" stop-color="#97A1BB"/></linearGradient><linearGradient id="h" x1="119.119" x2="119.119" y1="0" y2="173.566" gradientUnits="userSpaceOnUse"><stop stop-color="#959FB9"/><stop offset="1" stop-color="#959FB9" stop-opacity="0"/></linearGradient><linearGradient id="i" x1="206.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#0C2054"/><stop offset="1" stop-color="#113C81"/></linearGradient><linearGradient id="j" x1="206.221" x2="206.221" y1="87.856" y2="223.769" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset="1" stop-color="#9DA8E1"/></linearGradient><linearGradient id="k" x1="54" x2="54" y1="0" y2="108" gradientUnits="userSpaceOnUse"><stop stop-color="#586075"/><stop offset="1" stop-color="#65749C"/></linearGradient></defs></svg>
|
|
Binary file
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import IconParkOutlineToTopOne from '~icons/icon-park-outline/to-top-one';
|
|
3
|
+
|
|
4
|
+
defineOptions({
|
|
5
|
+
name: 'BackTop',
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
const transitionClass = {
|
|
9
|
+
enterActiveClass: 'ease-out duration-300',
|
|
10
|
+
enterFromClass: 'opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95',
|
|
11
|
+
enterToClass: 'opacity-100 translate-y-0 sm:scale-100',
|
|
12
|
+
leaveActiveClass: 'ease-in duration-200',
|
|
13
|
+
leaveFromClass: 'opacity-100 translate-y-0 sm:scale-100',
|
|
14
|
+
leaveToClass: 'opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95',
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
onMounted(() => {
|
|
18
|
+
window.addEventListener('scroll', handleScroll);
|
|
19
|
+
handleScroll();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
onBeforeUnmount(() => {
|
|
23
|
+
window.removeEventListener('scroll', handleScroll);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
const scrollTop = ref<number | null>(null);
|
|
27
|
+
function handleScroll() {
|
|
28
|
+
scrollTop.value = document.documentElement.scrollTop;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function handleClick() {
|
|
32
|
+
document.documentElement.scrollTo({
|
|
33
|
+
top: 0,
|
|
34
|
+
behavior: 'smooth',
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
</script>
|
|
38
|
+
|
|
39
|
+
<template>
|
|
40
|
+
<Teleport to="body">
|
|
41
|
+
<Transition v-bind="transitionClass">
|
|
42
|
+
<div v-if="scrollTop && scrollTop >= 200" class="fixed bottom-4 right-4 z-1000 h-12 w-12 flex cursor-pointer items-center justify-center rounded-full bg-white shadow-lg ring-1 ring-stone-3 ring-inset dark:bg-dark hover:bg-stone-1 dark:ring-stone-7 dark:hover:bg-dark/50" @click="handleClick">
|
|
43
|
+
<IconParkOutlineToTopOne text="24px" />
|
|
44
|
+
</div>
|
|
45
|
+
</Transition>
|
|
46
|
+
</Teleport>
|
|
47
|
+
</template>
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { PartyLoginConfig } from '@/features/components/PartyLogin/type';
|
|
3
|
+
import LineMdLoadingTwotoneLoop from '~icons/line-md/loading-twotone-loop';
|
|
4
|
+
import { usePartyLogin } from '@/features/composables/partyLogin';
|
|
5
|
+
import { useContext } from '../../composables/useContext';
|
|
6
|
+
|
|
7
|
+
defineOptions({
|
|
8
|
+
name: 'IframeView',
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
const route = useRoute();
|
|
12
|
+
const { settingsStore, iframeStore } = useContext();
|
|
13
|
+
|
|
14
|
+
const iframeRef = ref();
|
|
15
|
+
|
|
16
|
+
// 第三方登录后的实际地址(仅首次初始化)
|
|
17
|
+
// key: route.fullPath, value: 登录后实际跳转的 url
|
|
18
|
+
const partyLoginUrlMap = reactive(new Map<string, string>());
|
|
19
|
+
|
|
20
|
+
watch(() => route.fullPath, async (val) => {
|
|
21
|
+
nextTick(() => {
|
|
22
|
+
iframeRef.value?.forEach((item: HTMLIFrameElement) => {
|
|
23
|
+
if (item.dataset.path === val) {
|
|
24
|
+
item.onload = () => {
|
|
25
|
+
iframeStore.closeLoading(val);
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
// 检查是否有 partyLogin 配置
|
|
32
|
+
const partyLogin = route.meta?.partyLogin as PartyLoginConfig | undefined;
|
|
33
|
+
const iframeUrl = route.meta?.iframe as string | undefined;
|
|
34
|
+
|
|
35
|
+
// 如果已经初始化过该路由的 URL,直接使用(避免重复触发第三方登录)
|
|
36
|
+
if (partyLoginUrlMap.has(val)) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 第一次进入:处理第三方登录
|
|
41
|
+
if (partyLogin && Array.isArray(partyLogin) && partyLogin.length > 0 && iframeUrl) {
|
|
42
|
+
const { url } = await usePartyLogin(partyLogin, iframeUrl);
|
|
43
|
+
watch(url, (newUrl) => {
|
|
44
|
+
if (newUrl && !partyLoginUrlMap.has(val)) {
|
|
45
|
+
// 仅初始化一次,后续不再变更
|
|
46
|
+
partyLoginUrlMap.set(val, newUrl);
|
|
47
|
+
}
|
|
48
|
+
}, { immediate: true });
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
immediate: true,
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
// 计算 iframe 的实际 src(仅返回初始地址或第三方登录后的地址)
|
|
56
|
+
function getIframeSrc(itemSrc: string, path: string): string {
|
|
57
|
+
return partyLoginUrlMap.get(path) || itemSrc;
|
|
58
|
+
}
|
|
59
|
+
</script>
|
|
60
|
+
|
|
61
|
+
<template>
|
|
62
|
+
<div class="iframe-view absolute left-0 top-0 h-full w-full flex flex-col">
|
|
63
|
+
<div
|
|
64
|
+
v-for="item in iframeStore.openedList"
|
|
65
|
+
:key="item.path"
|
|
66
|
+
class="absolute left-0 top-0 h-full w-full flex flex-col"
|
|
67
|
+
:class="{ 'z-1': route.fullPath === item.path }"
|
|
68
|
+
>
|
|
69
|
+
<Transition :name="settingsStore.settings.mainPage.enableTransition ? settingsStore.settings.mainPage.transitionMode : ''" mode="out-in" appear>
|
|
70
|
+
<iframe
|
|
71
|
+
v-show="route.fullPath === item.path"
|
|
72
|
+
ref="iframeRef"
|
|
73
|
+
:data-path="item.path"
|
|
74
|
+
:src="getIframeSrc(item.src, item.path)"
|
|
75
|
+
frameborder="0"
|
|
76
|
+
class="h-full w-full flex-1"
|
|
77
|
+
/>
|
|
78
|
+
</Transition>
|
|
79
|
+
<div v-show="item.isLoading" class="absolute left-0 top-0 h-full w-full flex-center bg-stone-2/75 dark:bg-stone-8/75">
|
|
80
|
+
<LineMdLoadingTwotoneLoop text="34px" />
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</template>
|
|
85
|
+
|
|
86
|
+
<style scoped>
|
|
87
|
+
.fade-enter-active,
|
|
88
|
+
.slide-left-enter-active,
|
|
89
|
+
.slide-right-enter-active,
|
|
90
|
+
.slide-top-enter-active,
|
|
91
|
+
.slide-bottom-enter-active {
|
|
92
|
+
transition: 0.4s;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fade-leave-active,
|
|
96
|
+
.slide-left-leave-active,
|
|
97
|
+
.slide-right-leave-active,
|
|
98
|
+
.slide-top-leave-active,
|
|
99
|
+
.slide-bottom-leave-active {
|
|
100
|
+
transition: 0.3s;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.fade-enter-from {
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.fade-leave-to {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.slide-left-enter-from {
|
|
112
|
+
margin-left: 20px;
|
|
113
|
+
opacity: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.slide-left-leave-to {
|
|
117
|
+
margin-left: -20px;
|
|
118
|
+
opacity: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.slide-right-enter-from {
|
|
122
|
+
margin-left: -20px;
|
|
123
|
+
opacity: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.slide-right-leave-to {
|
|
127
|
+
margin-left: 20px;
|
|
128
|
+
opacity: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.slide-top-enter-from {
|
|
132
|
+
margin-top: 20px;
|
|
133
|
+
opacity: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.slide-top-leave-to {
|
|
137
|
+
margin-top: -20px;
|
|
138
|
+
opacity: 0;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.slide-bottom-enter-from {
|
|
142
|
+
margin-top: -20px;
|
|
143
|
+
opacity: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.slide-bottom-leave-to {
|
|
147
|
+
margin-top: 20px;
|
|
148
|
+
opacity: 0;
|
|
149
|
+
}
|
|
150
|
+
</style>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useClipboard } from '@vueuse/core';
|
|
3
|
+
import Message from 'vue-m-message';
|
|
4
|
+
import IconParkTwotonePlanet from '~icons/icon-park-twotone/planet';
|
|
5
|
+
import RiExternalLinkFill from '~icons/ri/external-link-fill';
|
|
6
|
+
import { PageMain } from '@/features/components';
|
|
7
|
+
import { useContext } from '../../composables/useContext';
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
name: 'LinkView',
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
const route = useRoute();
|
|
14
|
+
const { settingsStore } = useContext();
|
|
15
|
+
|
|
16
|
+
const { copy, copied } = useClipboard();
|
|
17
|
+
watch(copied, (val) => {
|
|
18
|
+
if (val) {
|
|
19
|
+
Message.success('复制成功');
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
function open() {
|
|
24
|
+
window.open(route.meta.link, '_blank');
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<div class="absolute h-full w-full flex flex-col">
|
|
30
|
+
<Transition :name="settingsStore.settings.mainPage.enableTransition ? settingsStore.settings.mainPage.transitionMode : ''" mode="out-in" appear>
|
|
31
|
+
<PageMain :key="route.meta.link" class="flex flex-1 flex-col justify-center">
|
|
32
|
+
<div class="flex flex-col items-center">
|
|
33
|
+
<IconParkTwotonePlanet text="115px" class="text-ui-primary/80" />
|
|
34
|
+
<div class="my-2 text-xl text-dark dark:text-white">
|
|
35
|
+
是否访问此链接
|
|
36
|
+
</div>
|
|
37
|
+
<div class="my-2 max-w-[300px] cursor-pointer text-center text-[14px] text-stone-5" @click="route.meta.link && copy(route.meta.link)">
|
|
38
|
+
<HTooltip text="复制链接">
|
|
39
|
+
<div class="line-clamp-3">
|
|
40
|
+
{{ route.meta.link }}
|
|
41
|
+
</div>
|
|
42
|
+
</HTooltip>
|
|
43
|
+
</div>
|
|
44
|
+
<HButton class="my-4" @click="open">
|
|
45
|
+
<RiExternalLinkFill />
|
|
46
|
+
立即访问
|
|
47
|
+
</HButton>
|
|
48
|
+
</div>
|
|
49
|
+
</PageMain>
|
|
50
|
+
</Transition>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<style scoped>
|
|
55
|
+
.fade-enter-active,
|
|
56
|
+
.slide-left-enter-active,
|
|
57
|
+
.slide-right-enter-active,
|
|
58
|
+
.slide-top-enter-active,
|
|
59
|
+
.slide-bottom-enter-active {
|
|
60
|
+
transition: 0.2s;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fade-leave-active,
|
|
64
|
+
.slide-left-leave-active,
|
|
65
|
+
.slide-right-leave-active,
|
|
66
|
+
.slide-top-leave-active,
|
|
67
|
+
.slide-bottom-leave-active {
|
|
68
|
+
transition: 0.15s;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.fade-enter-from {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.fade-leave-to {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.slide-left-enter-from {
|
|
80
|
+
margin-left: 20px;
|
|
81
|
+
opacity: 0;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.slide-left-leave-to {
|
|
85
|
+
margin-left: -20px;
|
|
86
|
+
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.slide-right-enter-from {
|
|
90
|
+
margin-left: -20px;
|
|
91
|
+
opacity: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.slide-right-leave-to {
|
|
95
|
+
margin-left: 20px;
|
|
96
|
+
opacity: 0;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.slide-top-enter-from {
|
|
100
|
+
margin-top: 20px;
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slide-top-leave-to {
|
|
105
|
+
margin-top: -20px;
|
|
106
|
+
opacity: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.slide-bottom-enter-from {
|
|
110
|
+
margin-top: -20px;
|
|
111
|
+
opacity: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.slide-bottom-leave-to {
|
|
115
|
+
margin-top: 20px;
|
|
116
|
+
opacity: 0;
|
|
117
|
+
}
|
|
118
|
+
</style>
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useContext } from '../../composables/useContext';
|
|
3
|
+
import IframeView from './IframeView.vue';
|
|
4
|
+
import LinkView from './LinkView.vue';
|
|
5
|
+
|
|
6
|
+
defineOptions({
|
|
7
|
+
name: 'LayoutContent',
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const _route = useRoute();
|
|
11
|
+
const { settingsStore, keepAliveStore } = useContext();
|
|
12
|
+
|
|
13
|
+
const isIframe = computed(() => !!_route.meta.iframe);
|
|
14
|
+
const isLink = computed(() => !!_route.meta.link);
|
|
15
|
+
|
|
16
|
+
function EmptyWrapper(_: any, { slots }: { slots: any }) {
|
|
17
|
+
return slots?.default?.();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const Provider = computed(() => {
|
|
21
|
+
const metaProvider = _route.matched?.[0]?.meta?.provider;
|
|
22
|
+
|
|
23
|
+
if (!metaProvider) {
|
|
24
|
+
return EmptyWrapper;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// 是函数,认为是 () => import(...)
|
|
28
|
+
if (typeof metaProvider === 'function') {
|
|
29
|
+
return defineAsyncComponent(metaProvider);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return metaProvider;
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const shouldCache = computed(() => !!_route.meta?.cache);
|
|
36
|
+
|
|
37
|
+
// 监听路由变化,根据 meta.cache 管理缓存
|
|
38
|
+
watch(
|
|
39
|
+
() => _route.name,
|
|
40
|
+
(newName, oldName) => {
|
|
41
|
+
if (newName && _route.meta?.cache) {
|
|
42
|
+
keepAliveStore.add(String(newName));
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{ immediate: true },
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
// 监听路由的 meta.cache 变化
|
|
49
|
+
watch(
|
|
50
|
+
() => _route.meta?.cache,
|
|
51
|
+
(shouldCache, wasCached) => {
|
|
52
|
+
if (_route.name) {
|
|
53
|
+
if (shouldCache) {
|
|
54
|
+
keepAliveStore.add(String(_route.name));
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
keepAliveStore.remove(String(_route.name));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
);
|
|
62
|
+
</script>
|
|
63
|
+
|
|
64
|
+
<template>
|
|
65
|
+
<RouterView v-slot="{ Component, route }">
|
|
66
|
+
<component :is="Provider">
|
|
67
|
+
<Transition
|
|
68
|
+
:name="settingsStore.settings.mainPage.enableTransition ? settingsStore.settings.mainPage.transitionMode : ''"
|
|
69
|
+
mode="out-in" appear
|
|
70
|
+
>
|
|
71
|
+
<KeepAlive :include="keepAliveStore.list">
|
|
72
|
+
<!-- 为了解决 micro-app 的问题,key 只能为 route.name -->
|
|
73
|
+
<component :is="Component" v-show="!(isIframe || isLink)" :key="route.name" class="page-container" />
|
|
74
|
+
</KeepAlive>
|
|
75
|
+
</Transition>
|
|
76
|
+
</component>
|
|
77
|
+
</RouterView>
|
|
78
|
+
|
|
79
|
+
<IframeView v-show="isIframe && !isLink" />
|
|
80
|
+
<LinkView v-if="isLink" />
|
|
81
|
+
</template>
|
|
82
|
+
|
|
83
|
+
<style scoped>
|
|
84
|
+
.fade-enter-active,
|
|
85
|
+
.slide-left-enter-active,
|
|
86
|
+
.slide-right-enter-active,
|
|
87
|
+
.slide-top-enter-active,
|
|
88
|
+
.slide-bottom-enter-active {
|
|
89
|
+
transition: 0.2s;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.fade-leave-active,
|
|
93
|
+
.slide-left-leave-active,
|
|
94
|
+
.slide-right-leave-active,
|
|
95
|
+
.slide-top-leave-active,
|
|
96
|
+
.slide-bottom-leave-active {
|
|
97
|
+
transition: 0.15s;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.fade-enter-from {
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.fade-leave-to {
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.slide-left-enter-from {
|
|
109
|
+
margin-left: 20px;
|
|
110
|
+
opacity: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.slide-left-leave-to {
|
|
114
|
+
margin-left: -20px;
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.slide-right-enter-from {
|
|
119
|
+
margin-left: -20px;
|
|
120
|
+
opacity: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.slide-right-leave-to {
|
|
124
|
+
margin-left: 20px;
|
|
125
|
+
opacity: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.slide-top-enter-from {
|
|
129
|
+
margin-top: 20px;
|
|
130
|
+
opacity: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.slide-top-leave-to {
|
|
134
|
+
margin-top: -20px;
|
|
135
|
+
opacity: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.slide-bottom-enter-from {
|
|
139
|
+
margin-top: -20px;
|
|
140
|
+
opacity: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.slide-bottom-leave-to {
|
|
144
|
+
margin-top: 20px;
|
|
145
|
+
opacity: 0;
|
|
146
|
+
}
|
|
147
|
+
</style>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import RiCopyrightLine from '~icons/ri/copyright-line';
|
|
3
|
+
import { useContext } from '../../composables/useContext';
|
|
4
|
+
|
|
5
|
+
defineOptions({
|
|
6
|
+
name: 'Copyright',
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const route = useRoute();
|
|
10
|
+
const { settingsStore } = useContext();
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<footer v-if="route.meta.copyright ?? settingsStore.settings.copyright.enable" class="copyright">
|
|
15
|
+
<span>Copyright</span>
|
|
16
|
+
<RiCopyrightLine text="18px" />
|
|
17
|
+
<span v-if="settingsStore.settings.copyright.dates">{{ settingsStore.settings.copyright.dates }}</span>
|
|
18
|
+
<template v-if="settingsStore.settings.copyright.company">
|
|
19
|
+
<a
|
|
20
|
+
v-if="settingsStore.settings.copyright.website"
|
|
21
|
+
:href="settingsStore.settings.copyright.website"
|
|
22
|
+
target="_blank"
|
|
23
|
+
rel="noopener"
|
|
24
|
+
>{{ settingsStore.settings.copyright.company }}</a>
|
|
25
|
+
<span v-else>{{ settingsStore.settings.copyright.company }}</span>
|
|
26
|
+
</template>
|
|
27
|
+
<a
|
|
28
|
+
v-if="settingsStore.settings.copyright.beian"
|
|
29
|
+
href="https://beian.miit.gov.cn/"
|
|
30
|
+
target="_blank"
|
|
31
|
+
rel="noopener"
|
|
32
|
+
>{{ settingsStore.settings.copyright.beian }}</a>
|
|
33
|
+
</footer>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<style scoped>
|
|
37
|
+
.copyright {
|
|
38
|
+
--at-apply: flex items-center justify-center flex-wrap my-4 px-4 text-sm text-stone-5;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.copyright span,a {
|
|
42
|
+
--at-apply: px-1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.copyright a {
|
|
46
|
+
--at-apply: text-center no-underline text-stone-5 hover:text-dark dark:hover:text-light transition;
|
|
47
|
+
}
|
|
48
|
+
</style>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { Menu } from '#/menu';
|
|
3
|
+
import { PubinfoIcon } from '@/features/components';
|
|
4
|
+
import NotCursor from './NotCursor.vue';
|
|
5
|
+
|
|
6
|
+
defineOptions({
|
|
7
|
+
name: 'More',
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
defineProps<{
|
|
11
|
+
items: Menu.recordMainRaw[]
|
|
12
|
+
activeIndex: number
|
|
13
|
+
}>();
|
|
14
|
+
|
|
15
|
+
const emit = defineEmits<{
|
|
16
|
+
onMenuClick: [index: number, item: Menu.recordMainRaw]
|
|
17
|
+
}>();
|
|
18
|
+
|
|
19
|
+
function menuClick(index: number, item: Menu.recordMainRaw) {
|
|
20
|
+
emit('onMenuClick', index, item);
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<VMenu
|
|
26
|
+
:triggers="['hover']"
|
|
27
|
+
:popper-triggers="['hover']"
|
|
28
|
+
v-bind="$attrs"
|
|
29
|
+
:delay="0"
|
|
30
|
+
:auto-hide="false"
|
|
31
|
+
theme="more-appley"
|
|
32
|
+
:distance="-6"
|
|
33
|
+
>
|
|
34
|
+
<slot />
|
|
35
|
+
<template #popper>
|
|
36
|
+
<div class="menu-more-container" box-border>
|
|
37
|
+
<template v-for="(item, index) in items" :key="index">
|
|
38
|
+
<NotCursor :is-cursor="item.meta?.isDev" :dev-text="item.meta?.devText" :skidding="150">
|
|
39
|
+
<div
|
|
40
|
+
cursor-pointer flex="~ items-center" box-border p-15px w-full h-40px rounded-8px text-sm mb-10px
|
|
41
|
+
:class="{
|
|
42
|
+
'bg-[#fff] dark:bg-[var(--g-header-menu-active-bg)]!': index === activeIndex,
|
|
43
|
+
'is-dev': item.meta?.isDev,
|
|
44
|
+
}"
|
|
45
|
+
@click="menuClick(index, item)"
|
|
46
|
+
>
|
|
47
|
+
<PubinfoIcon v-if="item.meta?.icon" :name="item.meta.icon" size="18px" mr-6px />
|
|
48
|
+
<span>{{ item.meta?.title }}</span>
|
|
49
|
+
</div>
|
|
50
|
+
</NotCursor>
|
|
51
|
+
</template>
|
|
52
|
+
</div>
|
|
53
|
+
</template>
|
|
54
|
+
</VMenu>
|
|
55
|
+
</template>
|
|
56
|
+
|
|
57
|
+
<style scoped>
|
|
58
|
+
.menu-more-container {
|
|
59
|
+
--at-apply: min-w-180px p-10px pb-0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.menu-more-container .is-dev {
|
|
63
|
+
--at-apply: cursor-not-allowed;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.menu-more-container .is-dev i {
|
|
67
|
+
filter: grayscale(100%);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.menu-more-container .is-dev span {
|
|
71
|
+
opacity: 0.8;
|
|
72
|
+
}
|
|
73
|
+
</style>
|
|
74
|
+
|
|
75
|
+
<style>
|
|
76
|
+
.v-popper--theme-more-appley {
|
|
77
|
+
--at-apply: z-1000;
|
|
78
|
+
z-index: 1000;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.v-popper--theme-more-appley .v-popper__inner {
|
|
82
|
+
--at-apply: border border-white border-solid rounded-8px;
|
|
83
|
+
background-image: linear-gradient(-43deg, #fff 0%, #eaf3ff 87%);
|
|
84
|
+
box-shadow: 8px 16px 28px -8px #8195b74f;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.v-popper--theme-more-appley .v-popper__arrow-container {
|
|
88
|
+
--at-apply: hidden;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.dark .v-popper--theme-more-appley .v-popper__inner {
|
|
92
|
+
--at-apply: border border-#4b4f53 border-solid rounded-8px shadow-[none];
|
|
93
|
+
background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
|
|
94
|
+
}
|
|
95
|
+
</style>
|