@pubinfo/core 2.0.0-beta.8 → 2.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AppSetting-BQT7OI6K.js → AppSetting-Bblni_W7.js} +37 -39
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js → HCheckList.vue_vue_type_script_setup_true_lang-A7PnhNKK.js} +12 -14
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
- package/dist/HToggle-xibvPpmf.js +34 -0
- package/dist/PreferencesContent--JtPw_LT.js +923 -0
- package/dist/{SettingBreadcrumb-CgugOTgx.js → SettingBreadcrumb-BwhdAtkC.js} +9 -9
- package/dist/{SettingCopyright-BPeCJBLi.js → SettingCopyright-DPsRDagL.js} +8 -8
- package/dist/{SettingEnableTransition-BK0_EH_N.js → SettingEnableTransition-mtHTUb08.js} +20 -21
- package/dist/{SettingHome-DGnxlXLd.js → SettingHome-agxHFIKq.js} +20 -20
- package/dist/{SettingMenu-BqAd9zbL.js → SettingMenu-D6WwcOw-.js} +26 -26
- package/dist/{SettingMode-CgA3XDwW.js → SettingMode-CkmhszlD.js} +11 -12
- package/dist/{SettingNavSearch-WFnkcRQ3.js → SettingNavSearch-CEB5DZGf.js} +9 -9
- package/dist/{SettingOther-CG4RI6mO.js → SettingOther-Dzs1uwnC.js} +13 -13
- package/dist/SettingPage-bOThkL2-.js +29 -0
- package/dist/{SettingTabbar-CQA6ZT9l.js → SettingTabbar-L6yQxAeE.js} +18 -18
- package/dist/SettingThemes-Cxa5bR66.js +142 -0
- package/dist/{SettingToolbar-DdR2940j.js → SettingToolbar-BZ2uHom2.js} +10 -10
- package/dist/{SettingTopbar-C_jYO_Ax.js → SettingTopbar-hptxTh8m.js} +16 -16
- package/dist/{SettingWidthMode-ir_28SE3.js → SettingWidthMode-D2R2W4-n.js} +19 -20
- package/dist/{TopThinMode-jHDpKsma.js → TopThinMode-C26i10py.js} +1 -1
- package/dist/built-in/authentication/helper.d.ts +1 -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/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/router.d.ts +3 -0
- package/dist/built-in/index.d.ts +8 -0
- package/dist/{layout → built-in/layout-component}/Layout.vue.d.ts +2 -2
- package/dist/{layout → built-in/layout-component}/components/Header/TopMode/More.vue.d.ts +1 -1
- package/dist/{layout → built-in/layout-component}/components/Header/TopMode/NotCursor.vue.d.ts +2 -0
- package/dist/{layout → built-in/layout-component}/components/Menu/sub.vue.d.ts +43 -43
- package/dist/{layout → built-in/layout-component}/components/Menu/types.d.ts +1 -1
- package/dist/{layout → built-in/layout-component}/components/Tools/Search.vue.d.ts +43 -43
- package/dist/{layout/components/Topbar/Tabbar/MoreAction.vue.d.ts → built-in/layout-component/components/Tools/index.vue.d.ts} +18 -2
- package/dist/{layout/components/Tools/index.vue.d.ts → built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts} +45 -61
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue.d.ts +1 -1
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue.d.ts +1 -1
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue.d.ts +2 -2
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue.d.ts +1 -1
- package/dist/{layout → built-in/layout-component}/composables/useContext.d.ts +1 -1
- package/dist/{layout → built-in/layout-component}/composables/useHotkey.d.ts +1 -1
- package/dist/{layout → built-in/layout-component}/composables/useMenu.d.ts +1 -1
- package/dist/{layout → built-in/layout-component}/index.d.ts +5 -4
- package/dist/built-in/layout-component/utils/eventBus.d.ts +5 -0
- package/dist/built-in/layout-component/utils/index.d.ts +3 -0
- package/dist/{utils → built-in/layout-component/utils}/watermark.d.ts +1 -1
- package/dist/built-in/locales/helpler.d.ts +594 -0
- package/dist/built-in/locales/index.d.ts +5 -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/index.d.ts +5 -0
- package/dist/built-in/pinia-plugin/plugins/persist.d.ts +3 -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/{colors-gu4NABiz.js → colors-C8I6Fdyp.js} +1 -1
- package/dist/core/create.d.ts +2 -0
- package/dist/core/ctx.d.ts +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/interface.d.ts +74 -0
- package/dist/{modules.d.ts → core/modules.d.ts} +9 -0
- package/dist/{api/index.d.ts → core/request.d.ts} +2 -4
- package/dist/core/resolver/icon.d.ts +5 -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/{api → features/api}/modules/auth/renzhengfuwu.d.ts +7 -0
- package/dist/{api → features/api}/modules/configData/index.d.ts +1 -1
- package/dist/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -0
- package/dist/{api → features/api}/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/features/api/request.d.ts +2 -0
- package/dist/{assets → features/assets}/styles/index.d.ts +2 -3
- package/dist/{composables → features/composables}/auth.d.ts +1 -1
- package/dist/features/context/index.d.ts +12 -0
- package/dist/features/enum.d.ts +21 -0
- package/dist/features/index.d.ts +7 -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/stores/index.d.ts +1 -0
- package/dist/{stores → features/stores}/modules/favorites.d.ts +2 -2
- package/dist/{stores → features/stores}/modules/route.d.ts +6 -6
- package/dist/{stores → features/stores}/modules/tabbar.d.ts +1 -1
- package/dist/features/stores/modules/user.d.ts +36 -0
- package/dist/features/stores/utils/crypto.d.ts +1 -0
- package/dist/features/stores/utils/index.d.ts +2 -0
- package/dist/features/stores/utils/routerHelper.d.ts +17 -0
- package/dist/{reload-CUcPYtl7.js → index-BD2fkZis.js} +5 -5
- package/dist/index-CkyHqPON.js +139 -0
- package/dist/{index-NpS61xSA.js → index-D3zjK9rd.js} +54 -54
- package/dist/index-D948mfZb.js +49 -0
- package/dist/{index-CWIfG62O.js → index-DZ6SbWiv.js} +1804 -1897
- package/dist/{index-CjsnFBwd.js → index-DdS6qgK_.js} +7733 -8240
- package/dist/index-DeWCd_-p.js +44 -0
- package/dist/index-EOTrQlGo.js +258 -0
- package/dist/index-RwbJwutI.js +52514 -0
- package/dist/index-xzfvpJSq.js +234 -0
- package/dist/index.d.ts +23 -11
- package/dist/index.js +59 -72
- package/dist/pick-D6j4F3UM.js +12 -0
- package/dist/style.css +3 -3
- package/dist/utils/index.d.ts +4 -13
- package/dist/utils/path.d.ts +1 -0
- package/dist/utils/proxy.d.ts +1 -0
- package/dist/utils/storage.d.ts +1 -2
- package/package.json +41 -43
- package/src/built-in/authentication/helper.ts +55 -0
- package/src/built-in/authentication/index.ts +42 -0
- package/src/built-in/authentication/interface.ts +7 -0
- package/src/{pages/system → built-in/authentication/pages}/change-organization/index.vue +29 -43
- 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/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue +1 -1
- package/src/{pages/system → built-in/authentication/pages}/change-password/index.vue +19 -36
- package/src/built-in/authentication/router.ts +57 -0
- package/src/{directives/plugins/permission.ts → built-in/authorization/directives.ts} +6 -7
- package/src/built-in/authorization/helper.ts +11 -0
- package/src/built-in/authorization/index.ts +25 -0
- package/src/{pages/system → built-in/authorization/pages}/not-permission/index.vue +9 -13
- package/src/{route/guard/auth.ts → built-in/authorization/router.ts} +39 -9
- package/src/built-in/index.ts +8 -0
- package/src/built-in/layout-component/Layout.vue +273 -0
- package/src/{layout → built-in/layout-component}/components/Content/IframeView.vue +1 -2
- package/src/{layout → built-in/layout-component}/components/Content/LinkView.vue +2 -2
- package/src/built-in/layout-component/components/Content/index.vue +146 -0
- package/src/{layout → built-in/layout-component}/components/Copyright/index.vue +7 -8
- package/src/{layout → built-in/layout-component}/components/Header/TopMode/More.vue +26 -34
- package/src/built-in/layout-component/components/Header/TopMode/NotCursor.vue +70 -0
- package/src/{layout → built-in/layout-component}/components/Header/TopMode/index.vue +14 -18
- package/src/built-in/layout-component/components/Header/index.vue +171 -0
- package/src/{layout → built-in/layout-component}/components/Logo/index.vue +5 -20
- package/src/{layout → built-in/layout-component}/components/Menu/index.vue +3 -3
- package/src/{layout → built-in/layout-component}/components/Menu/item.vue +22 -27
- package/src/{layout → built-in/layout-component}/components/Menu/types.ts +1 -1
- package/src/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue +11 -11
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue +26 -120
- package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +190 -0
- package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +154 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue +55 -90
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue +63 -71
- package/src/built-in/layout-component/components/SettingBar/index.vue +81 -0
- package/src/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue +87 -135
- package/src/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue +50 -59
- package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +15 -0
- package/src/built-in/layout-component/components/Tools/DayNightSwitch.vue +70 -0
- package/src/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue +214 -278
- package/src/{layout → built-in/layout-component}/components/Tools/Search.vue +5 -5
- package/src/{layout → built-in/layout-component}/components/Tools/index.vue +9 -15
- package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/MoreAction.vue +98 -145
- package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue +293 -405
- package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue +5 -5
- package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/index.vue +40 -57
- package/src/{layout → built-in/layout-component}/components/Topbar/index.vue +16 -19
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue +1 -1
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDialog.vue +1 -1
- package/src/built-in/layout-component/components/ui/HDivider.vue +24 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue +1 -1
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue +1 -1
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSlideover.vue +1 -1
- package/src/built-in/layout-component/components/ui/HToggle.vue +133 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTooltip.vue +1 -1
- package/src/{layout → built-in/layout-component}/composables/useContext.ts +2 -2
- package/src/{layout → built-in/layout-component}/composables/useGetComputedStyle.ts +1 -1
- package/src/{layout → built-in/layout-component}/composables/useHotkey.ts +1 -1
- package/src/{layout → built-in/layout-component}/composables/useMainPage.ts +2 -2
- package/src/{layout → built-in/layout-component}/composables/useMenu.ts +1 -1
- package/src/{layout → built-in/layout-component}/composables/useTabbar.ts +1 -1
- package/src/{layout → built-in/layout-component}/composables/useTitle.ts +1 -1
- package/src/{layout → built-in/layout-component}/composables/useWatermark.ts +4 -4
- package/src/{layout → built-in/layout-component}/index.ts +38 -16
- package/src/{layout → built-in/layout-component}/provider.ts +8 -2
- package/src/built-in/layout-component/utils/eventBus.ts +8 -0
- package/src/built-in/layout-component/utils/index.ts +3 -0
- package/src/{utils → built-in/layout-component/utils}/watermark.ts +2 -2
- package/src/{locales/index.ts → built-in/locales/helpler.ts} +13 -17
- package/src/built-in/locales/index.ts +20 -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/{stores → built-in/pinia-plugin}/helper.ts +3 -3
- package/src/built-in/pinia-plugin/index.ts +27 -0
- package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.ts +1 -1
- package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.ts +6 -7
- package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.ts +3 -3
- package/src/built-in/pinia-plugin/plugins/persist.ts +21 -0
- package/src/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.ts +7 -8
- package/src/built-in/pre-access/index.ts +20 -0
- package/src/built-in/settings/index.ts +15 -0
- package/src/{route/guard/setting.ts → built-in/settings/router.ts} +3 -2
- package/src/core/create.ts +70 -0
- package/src/core/ctx.ts +3 -0
- package/src/core/index.ts +4 -0
- package/src/core/interface.ts +89 -0
- package/src/{modules.ts → core/modules.ts} +19 -5
- package/src/core/request.ts +52 -0
- package/src/core/resolver/icon.ts +75 -0
- package/src/core/resolver/index.ts +4 -0
- package/src/core/resolver/layout.ts +23 -0
- package/src/core/resolver/page.ts +89 -0
- package/src/core/resolver/resolver.ts +25 -0
- package/src/{api → features/api}/modules/auth/renzhengfuwu.ts +47 -15
- package/src/{api → features/api}/modules/auth/typings.d.ts +34 -28
- package/src/{api → features/api}/modules/configData/heibaimingdanfuwu.ts +13 -4
- package/src/{api → features/api}/modules/configData/index.ts +1 -1
- package/src/{api → features/api}/modules/configData/typings.d.ts +79 -79
- package/src/{api → features/api}/modules/configData/xitongpeizhifuwu.ts +43 -19
- package/src/{api/modules/configData/zidianfuwu.ts → features/api/modules/configData/zidifuwu.ts} +41 -11
- package/src/{api → features/api}/modules/rbac/gangweijiekou.ts +25 -10
- package/src/{api → features/api}/modules/rbac/jiaosejiekou.ts +25 -10
- package/src/{api → features/api}/modules/rbac/pubJiaosezukongzhiqi.ts +46 -7
- package/src/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +27 -13
- package/src/{api → features/api}/modules/rbac/typings.d.ts +323 -304
- package/src/{api → features/api}/modules/rbac/yonghujiekou.ts +49 -16
- package/src/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.ts +21 -6
- package/src/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +13 -4
- package/src/{api → features/api}/modules/rbac/ziyuanjiekou.ts +44 -5
- package/src/{api → features/api}/modules/rbac/zuhuguanlijiekou.ts +21 -12
- package/src/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +13 -4
- package/src/{api → features/api}/modules/rbac/zuzhijiekou.ts +29 -11
- package/src/features/api/request.ts +5 -0
- package/src/{api → features/api}/system/user.ts +1 -1
- package/src/features/assets/styles/globals.css +188 -0
- package/src/{assets → features/assets}/styles/index.ts +2 -3
- 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/MicroAppContainer/index.vue +9 -0
- package/src/features/components/NotAllowed/assets/403.svg +1 -0
- package/src/features/components/NotAllowed/assets/403_dark.svg +1 -0
- package/src/{components → features/components}/NotAllowed/index.vue +6 -8
- package/src/{components → features/components}/PassStrengthValidator/index.vue +33 -48
- package/src/{components → features/components}/PassStrengthValidator/rule.vue +13 -25
- package/src/{components → features/components}/PubinfoApp/index.vue +2 -1
- package/src/features/components/PubinfoIcon/index.vue +140 -0
- package/src/{components → features/components}/PubinfoProvider/index.ts +1 -2
- package/src/{composables → features/composables}/auth.ts +2 -2
- package/src/{composables → features/composables}/theme.ts +1 -1
- package/src/{composables → features/composables}/watchDiff.ts +1 -1
- package/src/features/context/index.ts +40 -0
- package/src/features/enum.ts +21 -0
- package/src/features/index.ts +8 -0
- package/src/{pages/system/[...all].vue → features/pages/not-found/index.vue} +6 -8
- package/src/{pages/personal → features/pages}/profile/index.vue +1 -1
- package/src/features/router/asyncRoutes.ts +35 -0
- package/src/features/router/index.ts +2 -0
- package/src/features/router/systemRoutes.ts +45 -0
- package/src/{config/settings.ts → features/settings/index.ts} +0 -1
- package/src/{stores/enum/index.ts → features/stores/enum.ts} +0 -1
- package/src/features/stores/index.ts +1 -0
- package/src/{stores → features/stores}/modules/keepAlive.ts +1 -0
- package/src/{stores → features/stores}/modules/menu.ts +44 -6
- package/src/{stores → features/stores}/modules/route.ts +89 -65
- package/src/{stores → features/stores}/modules/settings.ts +27 -10
- package/src/{stores → features/stores}/modules/tabbar.ts +8 -5
- package/src/{stores → features/stores}/modules/user.ts +60 -25
- package/src/{utils → features/stores/utils}/crypto.ts +7 -10
- package/src/features/stores/utils/index.ts +2 -0
- package/src/features/stores/utils/routerHelper.ts +221 -0
- package/src/index.ts +117 -12
- package/src/utils/cleanup.ts +1 -1
- package/src/utils/index.ts +4 -43
- package/src/utils/path.ts +5 -0
- package/src/utils/proxy.ts +36 -0
- package/src/utils/storage.ts +2 -4
- package/types/auto-imports.d.ts +3 -10
- package/types/components.d.ts +16 -15
- package/types/menu.d.ts +2 -0
- package/types/module.d.ts +2 -15
- package/types/settings.d.ts +0 -8
- package/types/tabbar.d.ts +1 -0
- package/types/vue-router.d.ts +11 -7
- package/dist/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -25
- package/dist/HDivider-DgXBhPr0.js +0 -21
- package/dist/HToggle-Cd71WKvG.js +0 -34
- package/dist/PreferencesContent-MR1Db7z7.js +0 -972
- package/dist/SettingPage-C1CT1Mm8.js +0 -29
- package/dist/SettingThemes-BJu9czNK.js +0 -144
- package/dist/_...all_-18BnHmEa.js +0 -52
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/api/helper.d.ts +0 -32
- package/dist/api/interface.d.ts +0 -14
- package/dist/api/request.d.ts +0 -2
- package/dist/api/system/app.d.ts +0 -17
- package/dist/config/index.d.ts +0 -1
- package/dist/context.d.ts +0 -14
- package/dist/create.d.ts +0 -3
- package/dist/directives/index.d.ts +0 -4
- package/dist/directives/plugins/permission.d.ts +0 -6
- package/dist/index-C1p_tY7i.js +0 -49
- package/dist/index-CCPTQYuB.js +0 -12910
- package/dist/index-CNUEMTao.js +0 -354
- package/dist/index-CmXo8ShY.js +0 -276
- package/dist/index-DL8Y7jFG.js +0 -137
- package/dist/index-DTQQt_XY.js +0 -10
- package/dist/index-Dj8zy7hH.js +0 -230
- package/dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BCo6Ft-Q.js +0 -2300
- package/dist/interface.d.ts +0 -29
- package/dist/locales/index.d.ts +0 -301
- package/dist/menu-CLiZ1BO_.js +0 -15315
- package/dist/pick-C9bU8_xv.js +0 -19
- package/dist/request.js +0 -1811
- package/dist/route/async.d.ts +0 -9
- package/dist/route/guard/auth.d.ts +0 -3
- package/dist/route/guard/basic.d.ts +0 -3
- package/dist/route/guard/index.d.ts +0 -3
- package/dist/route/guard/setting.d.ts +0 -3
- package/dist/route/index.d.ts +0 -7
- package/dist/route/routes.d.ts +0 -3
- package/dist/stores/index.d.ts +0 -5
- package/dist/stores/modules/user.d.ts +0 -4
- package/dist/stores/plugin/persist.d.ts +0 -5
- package/dist/stores/plugin/sideEffect/index.d.ts +0 -5
- package/dist/utils/crypto.d.ts +0 -4
- package/dist/utils/eventBus.d.ts +0 -5
- package/src/api/helper.ts +0 -64
- package/src/api/index.ts +0 -75
- package/src/api/interface.ts +0 -15
- package/src/api/request.ts +0 -4
- package/src/api/system/app.ts +0 -28
- package/src/assets/icons/add-child.svg +0 -1
- package/src/assets/icons/authority.svg +0 -1
- package/src/assets/icons/authorize.svg +0 -1
- package/src/assets/icons/blacklist-disable.svg +0 -1
- package/src/assets/icons/blacklist-enable.svg +0 -1
- package/src/assets/icons/browser-360.svg +0 -1
- package/src/assets/icons/browser-chrome.svg +0 -1
- package/src/assets/icons/browser-edge.svg +0 -1
- package/src/assets/icons/browser-ie.svg +0 -1
- package/src/assets/icons/browser-other.svg +0 -1
- package/src/assets/icons/browser-qq.svg +0 -1
- package/src/assets/icons/browser-safari.svg +0 -1
- package/src/assets/icons/browser-uc.svg +0 -1
- package/src/assets/icons/edit.svg +0 -1
- package/src/assets/icons/empty-data.svg +0 -1
- package/src/assets/icons/icard.svg +0 -1
- package/src/assets/icons/icon_animation.svg +0 -1
- package/src/assets/icons/icon_breadcrumb.svg +0 -1
- package/src/assets/icons/icon_copyright.svg +0 -1
- package/src/assets/icons/icon_jt.svg +0 -1
- package/src/assets/icons/icon_layout.svg +0 -1
- package/src/assets/icons/icon_mainpage.svg +0 -1
- package/src/assets/icons/icon_menu.svg +0 -1
- package/src/assets/icons/icon_page_size.svg +0 -1
- package/src/assets/icons/icon_position_type.svg +0 -1
- package/src/assets/icons/icon_safe_manage.svg +0 -1
- package/src/assets/icons/icon_screen_scale.svg +0 -6
- package/src/assets/icons/icon_system_manage.svg +0 -1
- package/src/assets/icons/icon_tabbar.svg +0 -1
- package/src/assets/icons/icon_toolbar.svg +0 -1
- package/src/assets/icons/icon_topbar.svg +0 -1
- package/src/assets/icons/icon_watermark.svg +0 -1
- package/src/assets/icons/image-load-fail.svg +0 -1
- package/src/assets/icons/log-center.svg +0 -1
- package/src/assets/icons/logo-sig.svg +0 -1
- package/src/assets/icons/not-data.svg +0 -1
- package/src/assets/icons/org-main.svg +0 -1
- package/src/assets/icons/org-unmain.svg +0 -1
- package/src/assets/icons/process-management.svg +0 -1
- package/src/assets/icons/project-management.svg +0 -1
- package/src/assets/icons/rbac.svg +0 -1
- package/src/assets/icons/remove.svg +0 -1
- package/src/assets/icons/resource-app.svg +0 -1
- package/src/assets/icons/resource-btn.svg +0 -1
- package/src/assets/icons/resource-index.svg +0 -1
- package/src/assets/icons/resource-menu.svg +0 -1
- package/src/assets/icons/resource-nonmenu.svg +0 -1
- package/src/assets/icons/setting-manage.svg +0 -1
- package/src/assets/icons/test.svg +0 -1
- package/src/assets/icons/theme-check-mark.svg +0 -1
- package/src/assets/icons/theme-title.svg +0 -1
- package/src/assets/icons/tree_icon.svg +0 -1
- package/src/assets/icons/tree_icon_checked.svg +0 -1
- package/src/assets/icons/view.svg +0 -1
- package/src/assets/icons/workbench.svg +0 -1
- package/src/assets/icons/zddata.svg +0 -1
- package/src/assets/icons/zy_checked.svg +0 -1
- package/src/assets/icons/zy_default.svg +0 -1
- package/src/assets/images/layout/item1.webp +0 -0
- package/src/assets/images/layout/item1_dark.webp +0 -0
- package/src/assets/images/layout/item2.webp +0 -0
- package/src/assets/images/layout/item2_dark.webp +0 -0
- package/src/assets/images/layout/item3.webp +0 -0
- package/src/assets/images/layout/item3_dark.webp +0 -0
- package/src/assets/images/layout/item4.webp +0 -0
- package/src/assets/images/layout/item4_dark.webp +0 -0
- package/src/assets/images/layout/item5.webp +0 -0
- package/src/assets/images/layout/item5_dark.webp +0 -0
- package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/auto.webp +0 -0
- package/src/assets/images/page-width/auto_dark.webp +0 -0
- package/src/assets/images/page-width/auto_min_w.webp +0 -0
- package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto.webp +0 -0
- package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle.webp +0 -0
- package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
- package/src/assets/images/page-width/middle.webp +0 -0
- package/src/assets/images/page-width/middle_dark.webp +0 -0
- package/src/assets/images/page-width/middle_max_w.webp +0 -0
- package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
- package/src/assets/styles/globals.scss +0 -189
- package/src/assets/styles/nprogress.scss +0 -63
- package/src/assets/styles/rbac.scss +0 -61
- package/src/assets/styles/resources/utils.scss +0 -53
- package/src/assets/styles/resources/variables.scss +0 -6
- package/src/components/PubinfoIcon/index.vue +0 -85
- package/src/config/index.ts +0 -1
- package/src/context.ts +0 -30
- package/src/create.ts +0 -88
- package/src/directives/index.ts +0 -6
- package/src/interface.ts +0 -35
- package/src/layout/Layout.vue +0 -330
- package/src/layout/components/Content/index.vue +0 -100
- package/src/layout/components/Header/TopMode/NotCursor.vue +0 -77
- package/src/layout/components/Header/index.vue +0 -263
- package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +0 -215
- package/src/layout/components/SettingBar/components/SettingMode.vue +0 -164
- package/src/layout/components/SettingBar/index.vue +0 -112
- package/src/layout/components/Tools/Breadcrumb/index.vue +0 -21
- package/src/layout/components/Tools/DayNightSwitch.vue +0 -93
- package/src/layout/components/Tools/I18nSelector.vue +0 -52
- package/src/layout/ui-kit/HDivider.vue +0 -53
- package/src/layout/ui-kit/HToggle.vue +0 -177
- package/src/pages/system/change-password/page.vue +0 -58
- package/src/pages/system/index.vue +0 -5
- package/src/route/async.ts +0 -18
- package/src/route/guard/basic.ts +0 -23
- package/src/route/guard/index.ts +0 -3
- package/src/route/index.ts +0 -12
- package/src/route/routes.ts +0 -101
- package/src/stores/index.ts +0 -10
- package/src/stores/plugin/persist.ts +0 -27
- package/src/stores/plugin/sideEffect/index.ts +0 -15
- package/src/utils/eventBus.ts +0 -15
- package/dist/{api/enum/code.d.ts → built-in/authentication/enum.d.ts} +0 -0
- package/dist/{components/NotAllowed → built-in/authentication/pages/change-organization}/index.vue.d.ts +0 -0
- package/dist/{pages/system → built-in/authentication/pages}/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
- package/dist/{pages/system → built-in/authentication/pages}/change-password/index.vue.d.ts +0 -0
- package/dist/{layout/components/Topbar/Toolbar → built-in/authorization/pages/not-permission}/index.vue.d.ts +0 -0
- package/dist/{components/PubinfoApp → built-in/layout-component/components/BackTop}/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Content/IframeView.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Content/LinkView.vue.d.ts +0 -0
- package/dist/{layout/components/BackTop → built-in/layout-component/components/Content}/index.vue.d.ts +0 -0
- package/dist/{layout/components/Content → built-in/layout-component/components/Copyright}/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Header/TopMode/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Header/TopThinMode.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Header/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Logo/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Menu/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Menu/item.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/AppSetting.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
- package/dist/{layout/components/Copyright → built-in/layout-component/components/SettingBar}/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Sidebar/MainSidebar.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Sidebar/SubSidebar.vue.d.ts +0 -0
- package/dist/{layout/components/SettingBar → built-in/layout-component/components/Sidebar}/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Tools/DayNightSwitch.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Topbar/Tabbar/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
- package/dist/{layout/components/Topbar → built-in/layout-component/components/Topbar/Toolbar}/index.vue.d.ts +0 -0
- package/dist/{pages/personal/profile → built-in/layout-component/components/Topbar}/index.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue.d.ts +1 -1
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HCheckList.vue.d.ts +2 -2
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDivider.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownMenu.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdownTree.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue.d.ts +0 -0
- package/dist/{layout/ui-kit → built-in/layout-component/components/ui}/HToggle.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/composables/useGetComputedStyle.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/composables/useMainPage.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/composables/useTabbar.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/composables/useTitle.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/composables/useViewTransition.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/composables/useWatermark.d.ts +0 -0
- package/dist/{pages/system/change-organization → built-in/layout-component/pages/reload}/index.vue.d.ts +0 -0
- package/dist/{layout → built-in/layout-component}/provider.d.ts +0 -0
- package/dist/{utils → built-in/layout-component/utils}/injectionKeys.d.ts +0 -0
- package/dist/{locales → built-in/locales}/lang/en.json.d.ts +0 -0
- package/dist/{locales → built-in/locales}/lang/zh-cn.json.d.ts +0 -0
- package/dist/{locales → built-in/locales}/lang/zh-tw.json.d.ts +0 -0
- package/dist/{locales → built-in/locales}/ui.d.ts +0 -0
- package/dist/{stores → built-in/pinia-plugin}/helper.d.ts +0 -0
- package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/cleanup.d.ts +0 -0
- package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/favoritesStorage.d.ts +0 -0
- package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/iframeCache.d.ts +0 -0
- package/dist/{stores/plugin/sideEffect → built-in/pinia-plugin/plugins}/tabbarStorage.d.ts +0 -0
- package/dist/{utils → core}/utils.d.ts +0 -0
- package/dist/{api → features/api}/modules/auth/index.d.ts +0 -0
- package/dist/{api → features/api}/modules/configData/heibaimingdanfuwu.d.ts +0 -0
- package/dist/{api → features/api}/modules/configData/xitongpeizhifuwu.d.ts +0 -0
- package/dist/{api/modules/configData/zidianfuwu.d.ts → features/api/modules/configData/zidifuwu.d.ts} +0 -0
- package/dist/{api → features/api}/modules/rbac/gangweijiekou.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/index.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/jiaosejiekou.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/yonghujiekou.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
- package/dist/{api → features/api}/modules/rbac/zuzhijiekou.d.ts +0 -0
- package/dist/{api → features/api}/system/user.d.ts +0 -0
- package/dist/{pages/system → features/components/MicroAppContainer}/index.vue.d.ts +0 -0
- package/dist/{pages/system/not-permission → features/components/NotAllowed}/index.vue.d.ts +0 -0
- package/dist/{components → features/components}/PageHeader/index.vue.d.ts +0 -0
- package/dist/{components → features/components}/PageMain/index.vue.d.ts +0 -0
- package/dist/{components → features/components}/PassStrengthValidator/index.vue.d.ts +2 -2
- package/dist/{components → features/components}/PassStrengthValidator/rule.vue.d.ts +0 -0
- package/dist/{layout/components/Sidebar → features/components/PubinfoApp}/index.vue.d.ts +0 -0
- package/dist/{components → features/components}/PubinfoIcon/index.vue.d.ts +0 -0
- package/dist/{components → features/components}/PubinfoProvider/index.d.ts +0 -0
- package/dist/{components → features/components}/index.d.ts +0 -0
- package/dist/{composables → features/composables}/index.d.ts +0 -0
- package/dist/{composables → features/composables}/log.d.ts +0 -0
- package/dist/{composables → features/composables}/theme.d.ts +0 -0
- package/dist/{composables → features/composables}/watchDiff.d.ts +0 -0
- package/dist/{pages/system/[...all].vue.d.ts → features/pages/not-found/index.vue.d.ts} +0 -0
- package/dist/{pages/system/reload.vue.d.ts → features/pages/profile/index.vue.d.ts} +0 -0
- package/dist/{config/settings.d.ts → features/settings/index.d.ts} +0 -0
- package/dist/{stores/enum/index.d.ts → features/stores/enum.d.ts} +0 -0
- package/dist/{stores → features/stores}/modules/iframe.d.ts +0 -0
- package/dist/{stores → features/stores}/modules/index.d.ts +0 -0
- package/dist/{stores → features/stores}/modules/keepAlive.d.ts +0 -0
- package/dist/{stores → features/stores}/modules/menu.d.ts +0 -0
- package/dist/{stores → features/stores}/modules/settings.d.ts +0 -0
- package/src/{api/enum/code.ts → built-in/authentication/enum.ts} +0 -0
- package/src/{assets/icons → built-in/authentication/pages/change-organization/assets}/change-org.svg +0 -0
- package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small.png +0 -0
- package/src/{assets/images → built-in/authentication/pages/change-organization/assets}/login-small_dark.webp +0 -0
- package/src/{assets/icons → built-in/authentication/pages/change-password/assets}/mima.svg +0 -0
- package/src/{assets/icons → built-in/authorization/pages/not-permission}/403.svg +0 -0
- package/src/{assets/icons → built-in/authorization/pages/not-permission}/403_dark.svg +0 -0
- package/src/{assets → built-in/layout-component/assets}/icons/favorites.svg +0 -0
- package/src/{assets → built-in/layout-component/assets}/icons/toolbar-collapse.svg +0 -0
- package/src/{assets → built-in/layout-component/assets}/images/not-cursor.png +0 -0
- package/src/{layout → built-in/layout-component}/components/BackTop/index.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Header/TopThinMode.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Menu/sub.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingBreadcrumb.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingCopyright.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingHome.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingMenu.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingNavSearch.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingOther.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingPage.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTabbar.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingToolbar.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/SettingBar/components/SettingTopbar.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Sidebar/index.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Tools/Breadcrumb/item.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Tools/HotkeysIntro.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Tools/Preferences/index.vue +0 -0
- package/src/{layout → built-in/layout-component}/components/Topbar/Toolbar/Star.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HBadge.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HButton.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HDropdown.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HInput.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HKbd.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HSelect.vue +0 -0
- package/src/{layout/ui-kit → built-in/layout-component/components/ui}/HTabList.vue +0 -0
- package/src/{layout → built-in/layout-component}/composables/useViewTransition.ts +0 -0
- package/src/{pages/system/reload.vue → built-in/layout-component/pages/reload/index.vue} +0 -0
- package/src/{utils → built-in/layout-component/utils}/injectionKeys.ts +0 -0
- package/src/{locales → built-in/locales}/lang/en.json +0 -0
- package/src/{locales → built-in/locales}/lang/zh-cn.json +0 -0
- package/src/{locales → built-in/locales}/lang/zh-tw.json +0 -0
- package/src/{locales → built-in/locales}/ui.ts +0 -0
- package/src/{utils → core}/utils.ts +0 -0
- package/src/{api → features/api}/modules/auth/index.ts +0 -0
- package/src/{api → features/api}/modules/rbac/index.ts +0 -0
- package/src/{api → features/api}/system/typings.d.ts +0 -0
- package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.eot +0 -0
- package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.svg +0 -0
- package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff +0 -0
- package/src/{assets → features/assets}/fonts/digital-7/digital-7-webfont.woff2 +0 -0
- package/src/{assets → features/assets}/fonts/digital-7/stylesheet.css +0 -0
- package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
- package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.svg +0 -0
- package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
- package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
- package/src/{assets → features/assets}/fonts/digital-7_mono/stylesheet.css +0 -0
- package/src/{assets → features/assets}/fonts/title.otf +0 -0
- package/src/{assets → features/assets}/images/change-org-bc.webp +0 -0
- package/src/{assets → features/assets}/images/header-bg.png +0 -0
- package/src/{assets → features/assets}/images/logo.png +0 -0
- package/src/{assets → features/assets}/images/org.svg +0 -0
- package/src/{assets → features/assets}/images/slider-bg.png +0 -0
- package/src/{components → features/components}/PageHeader/index.vue +0 -0
- package/src/{components → features/components}/PageMain/index.vue +0 -0
- package/src/{components → features/components}/index.ts +0 -0
- package/src/{composables → features/composables}/index.ts +0 -0
- package/src/{composables → features/composables}/log.ts +0 -0
- package/src/{assets/icons → features/pages/not-found/assets}/404.svg +0 -0
- package/src/{assets/icons → features/pages/not-found/assets}/404_dark.svg +0 -0
- package/src/{stores → features/stores}/modules/favorites.ts +1 -1
- /package/src/{stores → features/stores}/modules/iframe.ts +0 -0
- /package/src/{stores → features/stores}/modules/index.ts +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { Tabbar } from '#/tabbar';
|
|
3
|
-
import { PubinfoIcon } from '@/components';
|
|
4
|
-
import { storage } from '@/utils';
|
|
5
3
|
import ContextMenu from '@imengyu/vue3-context-menu';
|
|
6
4
|
import { useMagicKeys } from '@vueuse/core';
|
|
7
5
|
import hotkeys from 'hotkeys-js';
|
|
@@ -10,9 +8,11 @@ import { useI18n } from 'vue-i18n';
|
|
|
10
8
|
import Message from 'vue-m-message';
|
|
11
9
|
import RiCloseFill from '~icons/ri/close-fill';
|
|
12
10
|
import RiPushpin2Fill from '~icons/ri/pushpin-2-fill';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
11
|
+
import { PubinfoIcon } from '@/features/components';
|
|
12
|
+
import { storage } from '@/utils';
|
|
15
13
|
import { useContext } from '../../../composables/useContext';
|
|
14
|
+
import useMainPage from '../../../composables/useMainPage';
|
|
15
|
+
import useTabbar from '../../../composables/useTabbar';
|
|
16
16
|
import MoreAction from './MoreAction.vue';
|
|
17
17
|
import '@imengyu/vue3-context-menu/lib/vue3-context-menu.css';
|
|
18
18
|
|
|
@@ -41,15 +41,35 @@ const tabRef = shallowRef<HTMLElement[]>([]);
|
|
|
41
41
|
onBeforeUpdate(() => {
|
|
42
42
|
tabRef.value = [];
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
/**
|
|
45
|
+
* 计算当前激活的 tab 的伪元素起始位置
|
|
46
|
+
*/
|
|
45
47
|
const activePseudoTabStart = computed(() => {
|
|
46
48
|
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
47
|
-
|
|
49
|
+
// 如果没有找到对应的 tabId,或者 tabRef 为空,则返回 '0px'
|
|
50
|
+
if (index === -1 || !tabsRef.value || !tabRef.value.length) {
|
|
51
|
+
return '0px';
|
|
52
|
+
}
|
|
53
|
+
// 找到对应的 tab 元素
|
|
54
|
+
const targetElement = tabRef.value.find(item => Number.parseInt(item.dataset.index!) === index);
|
|
55
|
+
// 如果没有找到对应的 tab 元素,返回 '0px'
|
|
56
|
+
if (!targetElement) {
|
|
57
|
+
return '0px';
|
|
58
|
+
}
|
|
59
|
+
// 计算并返回目标元素的右边界与 tabs 容器的左边界之间的距离
|
|
60
|
+
return `${tabsRef.value.offsetWidth - (targetElement.getBoundingClientRect().right || 0)}px`;
|
|
48
61
|
});
|
|
49
62
|
|
|
50
63
|
const activePseudoTabWidth = computed(() => {
|
|
51
64
|
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
52
|
-
|
|
65
|
+
// 如果没有找到对应的 tabId,或者 tabRef 为空,则返回 '0px'
|
|
66
|
+
if (index === -1 || !tabRef.value.length) {
|
|
67
|
+
return '0px';
|
|
68
|
+
}
|
|
69
|
+
// 找到对应的 tab 元素
|
|
70
|
+
const targetElement = tabRef.value.find(item => Number.parseInt(item.dataset.index!) === index);
|
|
71
|
+
// 如果没有找到对应的 tab 元素,返回 '0px'
|
|
72
|
+
return `${targetElement?.offsetWidth || 0}px`;
|
|
53
73
|
});
|
|
54
74
|
|
|
55
75
|
const isDragging = ref(false);
|
|
@@ -84,11 +104,11 @@ watch([
|
|
|
84
104
|
immediate: true,
|
|
85
105
|
});
|
|
86
106
|
|
|
87
|
-
watch(() => route, (
|
|
88
|
-
if (settingsStore.settings.tabbar.enable) {
|
|
89
|
-
tabbarStore.add(
|
|
107
|
+
watch(() => route.fullPath, (newPath, oldPath) => {
|
|
108
|
+
if (settingsStore.settings.tabbar.enable && newPath !== oldPath) {
|
|
109
|
+
tabbarStore.add(route).then(() => {
|
|
90
110
|
const index = tabbarStore.list.findIndex(item => item.tabId === activedTabId.value);
|
|
91
|
-
if (index !== -1) {
|
|
111
|
+
if (index !== -1 && tabRef.value[index]) {
|
|
92
112
|
scrollTo(tabRef.value[index].offsetLeft);
|
|
93
113
|
tabbarScrollTip();
|
|
94
114
|
}
|
|
@@ -210,13 +230,17 @@ function iconName(isActive: boolean, icon: Tabbar.recordRaw['icon'], activeIcon:
|
|
|
210
230
|
if (activeIcon === 'system-point') {
|
|
211
231
|
activeIcon = '';
|
|
212
232
|
}
|
|
233
|
+
|
|
213
234
|
let name;
|
|
235
|
+
|
|
214
236
|
if ((!isActive && icon) || (isActive && !activeIcon)) {
|
|
215
237
|
name = icon;
|
|
216
238
|
}
|
|
217
|
-
|
|
239
|
+
|
|
240
|
+
if (isActive && activeIcon) {
|
|
218
241
|
name = activeIcon;
|
|
219
242
|
}
|
|
243
|
+
|
|
220
244
|
return name;
|
|
221
245
|
}
|
|
222
246
|
|
|
@@ -329,453 +353,317 @@ onUnmounted(() => {
|
|
|
329
353
|
</div>
|
|
330
354
|
</template>
|
|
331
355
|
|
|
332
|
-
<style
|
|
333
|
-
.tabbar-contextmenu {
|
|
334
|
-
|
|
335
|
-
|
|
356
|
+
<style>
|
|
357
|
+
.tabbar-contextmenu .mx-context-menu {
|
|
358
|
+
--at-apply: fixed ring-1 ring-stone-2 dark-ring-stone-7 shadow-2xl bg-[--g-container-bg];
|
|
359
|
+
}
|
|
336
360
|
|
|
337
|
-
|
|
361
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item {
|
|
362
|
+
--at-apply: transition-background-color;
|
|
338
363
|
|
|
339
|
-
|
|
340
|
-
--at-apply: transition-background-color;
|
|
364
|
+
}
|
|
341
365
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
366
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item:not(.disabled):hover {
|
|
367
|
+
--at-apply: cursor-pointer bg-stone-1 dark:bg-stone-9;
|
|
368
|
+
}
|
|
345
369
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
370
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item span {
|
|
371
|
+
--at-apply: text-initial;
|
|
372
|
+
}
|
|
349
373
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
374
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item .icon {
|
|
375
|
+
--at-apply: text-initial;
|
|
376
|
+
}
|
|
353
377
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}
|
|
378
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item.disabled span,
|
|
379
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-items .mx-context-menu-item.disabled .icon {
|
|
380
|
+
--at-apply: op-25;
|
|
381
|
+
}
|
|
359
382
|
|
|
360
|
-
|
|
361
|
-
|
|
383
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator {
|
|
384
|
+
--at-apply: bg-[--g-container-bg];
|
|
385
|
+
}
|
|
362
386
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}
|
|
387
|
+
.tabbar-contextmenu .mx-context-menu .mx-context-menu-item-sperator::after {
|
|
388
|
+
--at-apply: bg-stone-2 dark-bg-stone-7;;
|
|
368
389
|
}
|
|
369
390
|
</style>
|
|
370
391
|
|
|
371
|
-
<style
|
|
392
|
+
<style scoped>
|
|
372
393
|
.tabbar-container {
|
|
373
|
-
|
|
374
|
-
height: var(--g-tabbar-height);
|
|
375
|
-
background-color: var(--g-bg);
|
|
394
|
+
--at-apply: relative h-[--g-tabbar-height] bg-[--g-bg];
|
|
376
395
|
transition: background-color 0.3s;
|
|
396
|
+
}
|
|
377
397
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
overflow-y: hidden;
|
|
384
|
-
white-space: nowrap;
|
|
398
|
+
.tabs {
|
|
399
|
+
--at-apply: absolute right-0 left-0 overflow-y-hidden whitespace-nowrap;
|
|
400
|
+
padding-inline-end: 50px;
|
|
401
|
+
scrollbar-width: none;
|
|
402
|
+
}
|
|
385
403
|
|
|
386
|
-
|
|
387
|
-
|
|
404
|
+
.tabs::-webkit-scrollbar {
|
|
405
|
+
--at-apply: hidden;
|
|
406
|
+
}
|
|
388
407
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
408
|
+
.tabs.tabs-ontop {
|
|
409
|
+
top: 0 !important;
|
|
410
|
+
bottom: inherit !important;
|
|
411
|
+
}
|
|
393
412
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}
|
|
413
|
+
.tab-container {
|
|
414
|
+
--at-apply: inline-block;
|
|
415
|
+
}
|
|
398
416
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
bottom: 0;
|
|
406
|
-
z-index: 10;
|
|
407
|
-
width: v-bind(activePseudoTabWidth);
|
|
408
|
-
content: "";
|
|
409
|
-
transition: width 0.3s, inset-inline-start 0.3s;
|
|
410
|
-
}
|
|
417
|
+
.tab-container::after {
|
|
418
|
+
--at-apply: absolute bottom-0 z-10 content-empty;
|
|
419
|
+
inset-inline-start: v-bind(activePseudoTabStart);
|
|
420
|
+
width: v-bind(activePseudoTabWidth);
|
|
421
|
+
transition: width 0.3s, inset-inline-start 0.3s;
|
|
422
|
+
}
|
|
411
423
|
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
z-index: 3;
|
|
416
|
-
|
|
417
|
-
&::before,
|
|
418
|
-
&::after {
|
|
419
|
-
content: none;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
& + .tab .tab-dividers::before {
|
|
423
|
-
opacity: 0;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.tab-content {
|
|
427
|
-
.title,
|
|
428
|
-
.action-icon {
|
|
429
|
-
color: var(--g-tabbar-tab-hover-color);
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.tab-background {
|
|
434
|
-
background-color: var(--g-tabbar-tab-hover-bg);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
}
|
|
424
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover {
|
|
425
|
+
--at-apply: z-3;
|
|
426
|
+
}
|
|
439
427
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
max-width: var(--g-tabbar-tab-max-width);
|
|
445
|
-
height: var(--g-tabbar-height);
|
|
446
|
-
font-size: 14px;
|
|
447
|
-
line-height: calc(var(--g-tabbar-height) - 2px);
|
|
448
|
-
vertical-align: bottom;
|
|
449
|
-
pointer-events: none;
|
|
450
|
-
cursor: pointer;
|
|
451
|
-
|
|
452
|
-
* {
|
|
453
|
-
user-select: none;
|
|
454
|
-
}
|
|
428
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover::before,
|
|
429
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover::after {
|
|
430
|
+
--at-apply: content-none;
|
|
431
|
+
}
|
|
455
432
|
|
|
456
|
-
|
|
457
|
-
|
|
433
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover + .tab .tab-dividers::before {
|
|
434
|
+
--at-apply: op-0;
|
|
435
|
+
}
|
|
458
436
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
437
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover .tab-content .title,
|
|
438
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover .tab-content .action-icon {
|
|
439
|
+
color: var(--g-tabbar-tab-hover-color);
|
|
440
|
+
}
|
|
463
441
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
442
|
+
.tab-container:not(.dragging) .tab:not(.actived):hover .tab-background {
|
|
443
|
+
background-color: var(--g-tabbar-tab-hover-bg);
|
|
444
|
+
}
|
|
467
445
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
446
|
+
.tab {
|
|
447
|
+
--at-apply: relative inline-block text-14px cursor-pointer pointer-events-none
|
|
448
|
+
min-w-[--g-tabbar-tab-min-width] max-w-[--g-tabbar-tab-max-width] h-[--g-tabbar-height]
|
|
449
|
+
align-bottom;
|
|
450
|
+
line-height: calc(var(--g-tabbar-height) - 2px);
|
|
451
|
+
}
|
|
474
452
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
}
|
|
453
|
+
.tab * {
|
|
454
|
+
--at-apply: select-none;
|
|
455
|
+
}
|
|
479
456
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
457
|
+
.tab.actived {
|
|
458
|
+
--at-apply: z-5;
|
|
459
|
+
}
|
|
483
460
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
z-index: 0;
|
|
489
|
-
height: 14px;
|
|
490
|
-
transform: translateY(-50%);
|
|
491
|
-
|
|
492
|
-
&::before {
|
|
493
|
-
position: absolute;
|
|
494
|
-
inset-inline-start: 1px;
|
|
495
|
-
top: 0;
|
|
496
|
-
bottom: 0;
|
|
497
|
-
display: block;
|
|
498
|
-
width: 1px;
|
|
499
|
-
content: "";
|
|
500
|
-
background-color: var(--g-tabbar-dividers-bg);
|
|
501
|
-
opacity: 1;
|
|
502
|
-
transition: opacity 0.2s ease, background-color 0.3s;
|
|
503
|
-
}
|
|
504
|
-
}
|
|
461
|
+
.tab.actived::before,
|
|
462
|
+
.tab.actived::after {
|
|
463
|
+
--at-apply: content-none;
|
|
464
|
+
}
|
|
505
465
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
466
|
+
.tab.actived + .tab .tab-dividers::before {
|
|
467
|
+
--at-apply: op-0;
|
|
468
|
+
}
|
|
509
469
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
z-index: 0;
|
|
515
|
-
width: 100%;
|
|
516
|
-
height: 100%;
|
|
517
|
-
pointer-events: none;
|
|
518
|
-
transition: opacity 0.3s, background-color 0.3s;
|
|
519
|
-
}
|
|
470
|
+
.tab.actived .tab-content .title,
|
|
471
|
+
.tab.actived .tab-content .action-icon {
|
|
472
|
+
color: var(--g-tabbar-tab-active-color);
|
|
473
|
+
}
|
|
520
474
|
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
height: 100%;
|
|
525
|
-
pointer-events: all;
|
|
526
|
-
|
|
527
|
-
.title {
|
|
528
|
-
display: flex;
|
|
529
|
-
flex: 1;
|
|
530
|
-
gap: 5px;
|
|
531
|
-
align-items: center;
|
|
532
|
-
height: 100%;
|
|
533
|
-
padding: 0 10px;
|
|
534
|
-
margin-inline-end: 10px;
|
|
535
|
-
overflow: hidden;
|
|
536
|
-
color: var(--g-tabbar-tab-color);
|
|
537
|
-
white-space: nowrap;
|
|
538
|
-
mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
|
|
539
|
-
transition: margin-inline-end 0.3s;
|
|
540
|
-
|
|
541
|
-
[dir="rtl"] & {
|
|
542
|
-
mask-image: linear-gradient(to left, #000 calc(100% - 20px), transparent);
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
&:has(+ .action-icon) {
|
|
546
|
-
margin-inline-end: 28px;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.icon {
|
|
550
|
-
flex-shrink: 0;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
475
|
+
.tab.actived .tab-background {
|
|
476
|
+
background-color: var(--g-container-bg);
|
|
477
|
+
}
|
|
553
478
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
top: 50%;
|
|
558
|
-
z-index: 10;
|
|
559
|
-
display: flex;
|
|
560
|
-
align-items: center;
|
|
561
|
-
justify-content: center;
|
|
562
|
-
width: 1.5em;
|
|
563
|
-
height: 1.5em;
|
|
564
|
-
font-size: 12px;
|
|
565
|
-
color: var(--g-tabbar-tab-color);
|
|
566
|
-
border-radius: 50%;
|
|
567
|
-
transform: translateY(-50%);
|
|
568
|
-
|
|
569
|
-
&:hover {
|
|
570
|
-
--at-apply: ring-1 ring-stone-3 dark-ring-stone-7;
|
|
571
|
-
|
|
572
|
-
background-color: var(--g-bg);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
479
|
+
.tab.tab-ghost {
|
|
480
|
+
opacity: 0 !important;
|
|
481
|
+
}
|
|
575
482
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
top: 50%;
|
|
581
|
-
right: 0.5em;
|
|
582
|
-
z-index: 10;
|
|
583
|
-
display: flex;
|
|
584
|
-
align-items: center;
|
|
585
|
-
justify-content: center;
|
|
586
|
-
width: 1.5em;
|
|
587
|
-
height: 1.5em;
|
|
588
|
-
font-size: 12px;
|
|
589
|
-
color: var(--g-tabbar-tab-color);
|
|
590
|
-
background-color: var(--g-bg);
|
|
591
|
-
border-radius: 50%;
|
|
592
|
-
transform: translateY(-50%);
|
|
593
|
-
}
|
|
483
|
+
.tab-dividers {
|
|
484
|
+
--at-apply: absolute z-0 h-3.5 -translate-y-2/4 top-2/4;
|
|
485
|
+
inset-inline: -1px;
|
|
486
|
+
}
|
|
594
487
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
z-index: 9;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
}
|
|
488
|
+
.tab-dividers::before {
|
|
489
|
+
--at-apply: absolute block w-px content-empty opacity-100 inset-y-0
|
|
490
|
+
bg-[--g-tabbar-dividers-bg];
|
|
603
491
|
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
.tab-container {
|
|
608
|
-
&:not(.dragging) {
|
|
609
|
-
.tab:not(.actived):hover {
|
|
610
|
-
.tab-background {
|
|
611
|
-
&::before,
|
|
612
|
-
&::after {
|
|
613
|
-
box-shadow: 0 0 0 20px var(--g-tabbar-tab-hover-bg);
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
}
|
|
492
|
+
inset-inline-start: 1px;
|
|
493
|
+
transition: opacity 0.2s ease, background-color 0.3s;
|
|
494
|
+
}
|
|
618
495
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
line-height: calc(var(--g-tabbar-height) - 12px);
|
|
496
|
+
.tab:first-child .tab-dividers::before {
|
|
497
|
+
--at-apply: op-0;
|
|
498
|
+
}
|
|
623
499
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
500
|
+
.tab-background {
|
|
501
|
+
--at-apply: absolute z-0 w-full h-full pointer-events-none left-0 top-0;
|
|
502
|
+
transition: opacity 0.3s, background-color 0.3s;
|
|
503
|
+
}
|
|
627
504
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
505
|
+
.tab-content {
|
|
506
|
+
--at-apply: flex size-full;
|
|
507
|
+
pointer-events: all;
|
|
508
|
+
}
|
|
631
509
|
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
width: 20px;
|
|
640
|
-
height: 20px;
|
|
641
|
-
content: "";
|
|
642
|
-
border-radius: 100%;
|
|
643
|
-
box-shadow: 0 0 0 20px transparent;
|
|
644
|
-
transition: box-shadow 0.3s;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
&::before {
|
|
648
|
-
left: -20px;
|
|
649
|
-
clip-path: inset(50% -10px 0 50%);
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
&::after {
|
|
653
|
-
right: -20px;
|
|
654
|
-
clip-path: inset(50% 50% 0 -10px);
|
|
655
|
-
}
|
|
656
|
-
}
|
|
510
|
+
.tab-content .title {
|
|
511
|
+
--at-apply: flex flex-1 gap-[5px] items-center h-full overflow-hidden whitespace-nowrap px-2.5 py-0;
|
|
512
|
+
margin-inline-end: 10px;
|
|
513
|
+
color: var(--g-tabbar-tab-color);
|
|
514
|
+
mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
|
|
515
|
+
transition: margin-inline-end 0.3s;
|
|
516
|
+
}
|
|
657
517
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
&::after {
|
|
662
|
-
box-shadow: 0 0 0 20px var(--g-container-bg);
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
}
|
|
518
|
+
[dir="rtl"] .tab-content .title {
|
|
519
|
+
mask-image: linear-gradient(to left, #000 calc(100% - 20px), transparent);
|
|
520
|
+
}
|
|
669
521
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
height: calc(var(--g-tabbar-height) - 10px);
|
|
674
|
-
margin: 5px 0 5px 5px;
|
|
522
|
+
.tab-content .title:has(+ .action-icon) {
|
|
523
|
+
margin-inline-end: 28px;
|
|
524
|
+
}
|
|
675
525
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
526
|
+
.tab-content .title .icon {
|
|
527
|
+
flex-shrink: 0;
|
|
528
|
+
}
|
|
679
529
|
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
}
|
|
530
|
+
.tab-content .action-icon {
|
|
531
|
+
--at-apply: absolute z-10 flex items-center justify-center w-[1.5em] h-[1.5em]
|
|
532
|
+
text-xs text-[--g-tabbar-tab-color] -translate-y-2/4 rounded-[50%] top-2/4;
|
|
533
|
+
inset-inline-end: 0.5em;
|
|
534
|
+
}
|
|
686
535
|
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
536
|
+
.tab-content .action-icon:hover {
|
|
537
|
+
background-color: var(--g-bg);
|
|
538
|
+
box-shadow: 0 0 0 1px var(--g-border-color);
|
|
539
|
+
}
|
|
691
540
|
|
|
692
|
-
|
|
693
|
-
|
|
541
|
+
.tab-content .hotkey-number {
|
|
542
|
+
--at-apply: absolute z-10 flex items-center justify-center w-[1.5em] h-[1.5em]
|
|
543
|
+
text-xs -translate-y-2/4 rounded-[50%] right-[0.5em] top-2/4
|
|
544
|
+
text-[--g-tabbar-tab-color] bg-[--g-bg];
|
|
545
|
+
box-shadow: 0 0 0 1px var(--g-border-color);
|
|
546
|
+
}
|
|
694
547
|
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
bottom: unset;
|
|
699
|
-
}
|
|
548
|
+
.tab-content .drag-handle {
|
|
549
|
+
--at-apply: absolute inset-0 z-9;
|
|
550
|
+
}
|
|
700
551
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
}
|
|
552
|
+
/* Fashion 风格样式 */
|
|
553
|
+
.tabs.tabs-fashion {
|
|
554
|
+
--at-apply: bottom-0;
|
|
555
|
+
}
|
|
708
556
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
}
|
|
714
|
-
}
|
|
557
|
+
.tabs.tabs-fashion .tab-container:not(.dragging) .tab:not(.actived):hover .tab-background::before,
|
|
558
|
+
.tabs.tabs-fashion .tab-container:not(.dragging) .tab:not(.actived):hover .tab-background::after {
|
|
559
|
+
box-shadow: 0 0 0 20px var(--g-tabbar-tab-hover-bg);
|
|
560
|
+
}
|
|
715
561
|
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
transition: height 0.3s;
|
|
722
|
-
}
|
|
562
|
+
.tabs.tabs-fashion .tab {
|
|
563
|
+
height: calc(var(--g-tabbar-height) - 10px);
|
|
564
|
+
margin-inline: 10px -10px;
|
|
565
|
+
line-height: calc(var(--g-tabbar-height) - 12px);
|
|
566
|
+
}
|
|
723
567
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
background-color: var(--g-container-bg);
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
}
|
|
568
|
+
.tabs.tabs-fashion .tab:last-child {
|
|
569
|
+
margin-inline-end: 0;
|
|
570
|
+
}
|
|
734
571
|
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
top: 0;
|
|
738
|
-
right: 0;
|
|
739
|
-
z-index: 10;
|
|
740
|
-
display: flex;
|
|
741
|
-
align-items: center;
|
|
742
|
-
justify-content: center;
|
|
743
|
-
width: 50px;
|
|
744
|
-
height: 100%;
|
|
745
|
-
background-image: linear-gradient(to right, transparent, var(--g-bg));
|
|
746
|
-
|
|
747
|
-
.icon {
|
|
748
|
-
--at-apply: w-6 h-6 rounded-1 text-lg cursor-pointer shadow transition-background-color transition-shadow;
|
|
749
|
-
|
|
750
|
-
background-color: var(--g-container-bg);
|
|
751
|
-
}
|
|
752
|
-
}
|
|
572
|
+
.tabs.tabs-fashion .tab.tab-ontop .tab-background {
|
|
573
|
+
transform: rotate(180deg);
|
|
753
574
|
}
|
|
754
575
|
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
.tabbar-enter-active,
|
|
759
|
-
.tabbar-leave-active {
|
|
760
|
-
transition: all 0.3s;
|
|
761
|
-
}
|
|
576
|
+
.tabs.tabs-fashion .tab-background {
|
|
577
|
+
border-radius: 10px 10px 0 0;
|
|
578
|
+
}
|
|
762
579
|
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
580
|
+
.tabs.tabs-fashion .tab-background::before,
|
|
581
|
+
.tabs.tabs-fashion .tab-background::after {
|
|
582
|
+
--at-apply: absolute bottom-0 size-5 content-empty rounded-full;
|
|
583
|
+
box-shadow: 0 0 0 20px transparent;
|
|
584
|
+
transition: box-shadow 0.3s;
|
|
585
|
+
}
|
|
768
586
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
transform: translateY(-30px);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
587
|
+
.tabs.tabs-fashion .tab-background::before {
|
|
588
|
+
left: -20px;
|
|
589
|
+
clip-path: inset(50% -10px 0 50%);
|
|
590
|
+
}
|
|
776
591
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
592
|
+
.tabs.tabs-fashion .tab-background::after {
|
|
593
|
+
right: -20px;
|
|
594
|
+
clip-path: inset(50% 50% 0 -10px);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
.tabs.tabs-fashion .tab.actived .tab-background::before,
|
|
598
|
+
.tabs.tabs-fashion .tab.actived .tab-background::after {
|
|
599
|
+
box-shadow: 0 0 0 20px var(--g-container-bg);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/* Card 风格样式 */
|
|
603
|
+
.tabs.tabs-card .tab {
|
|
604
|
+
--at-apply: ml-[5px] mr-0 my-[5px];
|
|
605
|
+
height: calc(var(--g-tabbar-height) - 10px);
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.tabs.tabs-card .tab .tab-dividers {
|
|
609
|
+
--at-apply: hidden;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.tabs.tabs-card .tab-background {
|
|
613
|
+
--at-apply: rounded-5px;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/* Square 风格样式 */
|
|
617
|
+
.tabs.tabs-square .tab-container::after {
|
|
618
|
+
--at-apply: bg-ui-primary h-0.5;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.tabs.tabs-square .tab-container:has(> .tab.tab-ontop)::after {
|
|
622
|
+
--at-apply: top-0 bottom-unset;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.tabs.tabs-square .tab-container:has(> .tab.tab-ontop) .tab .tab-background {
|
|
626
|
+
--at-apply: top-0 bottom-unset;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.tabs.tabs-square .tab:not(.actived):hover .tab-background {
|
|
630
|
+
--at-apply: h-full;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.tabs.tabs-square .tab .tab-background {
|
|
634
|
+
--at-apply: top-unset bottom-0 h-0 bg-[--g-tabbar-tab-hover-bg];
|
|
635
|
+
transition: height 0.3s;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.tabs.tabs-square .tab.actived .tab-background {
|
|
639
|
+
--at-apply: h-full bg-[--g-container-bg];
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.more-action {
|
|
643
|
+
--at-apply: absolute z-10 flex items-center justify-center w-[50px] h-full right-0 top-0;
|
|
644
|
+
background-image: linear-gradient(to right, transparent, var(--g-bg));
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/* 标签栏动画 */
|
|
648
|
+
.tabbar-move,
|
|
649
|
+
.tabbar-enter-active,
|
|
650
|
+
.tabbar-leave-active {
|
|
651
|
+
transition: all 0.3s;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.tabbar-enter-from,
|
|
655
|
+
.tabbar-leave-to {
|
|
656
|
+
opacity: 0;
|
|
657
|
+
transform: translateY(30px);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.tabs.tabs-ontop .tabbar-enter-from,
|
|
661
|
+
.tabs.tabs-ontop .tabbar-leave-to {
|
|
662
|
+
opacity: 0;
|
|
663
|
+
transform: translateY(-30px);
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.tabbar-leave-active {
|
|
667
|
+
position: absolute !important;
|
|
780
668
|
}
|
|
781
669
|
</style>
|