@pubinfo/core 2.0.0-beta.9 → 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,23 +1,44 @@
|
|
|
1
|
-
import type { Router } from 'vue-router';
|
|
1
|
+
import type { Router, RouteRecordRaw } from 'vue-router';
|
|
2
2
|
import {
|
|
3
3
|
useFavoritesStore,
|
|
4
4
|
useRouteStore,
|
|
5
5
|
useSettingsStore,
|
|
6
6
|
useTabbarStore,
|
|
7
7
|
useUserStore,
|
|
8
|
-
} from '@/stores';
|
|
8
|
+
} from '@/features/stores';
|
|
9
|
+
import { cleanup } from '@/utils';
|
|
10
|
+
|
|
11
|
+
const NotPermissionRoute: RouteRecordRaw = {
|
|
12
|
+
path: '/not-permission',
|
|
13
|
+
name: 'NotPermission',
|
|
14
|
+
component: () => import('./pages/not-permission/index.vue'),
|
|
15
|
+
meta: {
|
|
16
|
+
whiteList: true,
|
|
17
|
+
title: '无权限访问',
|
|
18
|
+
},
|
|
19
|
+
};
|
|
9
20
|
|
|
10
21
|
/** 权限路由守卫 */
|
|
11
|
-
export function
|
|
22
|
+
export function setupRouterGuard(router: Router) {
|
|
12
23
|
const userStore = useUserStore();
|
|
13
24
|
const routeStore = useRouteStore();
|
|
14
25
|
const settingsStore = useSettingsStore();
|
|
15
26
|
const tabbarStore = useTabbarStore();
|
|
16
27
|
const favoritesStore = useFavoritesStore();
|
|
17
28
|
|
|
29
|
+
let isRouteAdded = false;
|
|
30
|
+
|
|
18
31
|
router.beforeEach(async (to, from) => {
|
|
19
32
|
const isAuthenticated = userStore.isLogin;
|
|
20
33
|
|
|
34
|
+
if (!isRouteAdded) {
|
|
35
|
+
if (!router.hasRoute(NotPermissionRoute.name!)) {
|
|
36
|
+
router.addRoute(NotPermissionRoute);
|
|
37
|
+
}
|
|
38
|
+
isRouteAdded = true;
|
|
39
|
+
return { ...to, replace: true };
|
|
40
|
+
}
|
|
41
|
+
|
|
21
42
|
// 是否已登录
|
|
22
43
|
if (!isAuthenticated) {
|
|
23
44
|
// 白名单路由直接进入
|
|
@@ -33,23 +54,32 @@ export function createAuthGuard(router: Router) {
|
|
|
33
54
|
|
|
34
55
|
// 是否已根据权限动态生成并注册路由
|
|
35
56
|
if (!routeStore.isGenerate) {
|
|
36
|
-
await Promise.allSettled([
|
|
37
|
-
// 获取用户组织列表
|
|
38
|
-
userStore.getUserInfo(),
|
|
57
|
+
const res = await Promise.allSettled([
|
|
39
58
|
// 获取用户偏好设置
|
|
40
59
|
settingsStore.settings.app.enableSettingPreferences && settingsStore.getPreferencesAll(),
|
|
60
|
+
// 获取用户组织列表
|
|
61
|
+
userStore.getUserInfo(),
|
|
41
62
|
]);
|
|
42
63
|
|
|
43
|
-
|
|
64
|
+
if (res.some(e => e.status === 'rejected')) {
|
|
65
|
+
cleanup();
|
|
66
|
+
return { name: 'Login' };
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
const res2 = await Promise.allSettled([
|
|
44
70
|
// 复原固定标签页
|
|
45
71
|
(tabbarStore as any).recoveryStorage(),
|
|
46
72
|
// 复原收藏夹
|
|
47
73
|
(favoritesStore as any).recoveryStorage(),
|
|
48
74
|
// 生成动态路由
|
|
49
|
-
|
|
50
|
-
settingsStore.settings.app.routeBaseOn === 'backend' && routeStore.generateRoutesAtBack(),
|
|
75
|
+
routeStore.generateRoutes(),
|
|
51
76
|
]);
|
|
52
77
|
|
|
78
|
+
if (res2.some(e => e.status === 'rejected')) {
|
|
79
|
+
cleanup();
|
|
80
|
+
return { name: 'Login' };
|
|
81
|
+
}
|
|
82
|
+
|
|
53
83
|
// 注册并记录路由数据
|
|
54
84
|
// 记录的数据会在登出时会使用到,不使用 router.removeRoute 是考虑配置的路由可能不一定有设置 name
|
|
55
85
|
// 则通过调用 router.addRoute() 返回的回调进行删除
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import RiLogoutBoxLine from '~icons/ri/logout-box-line';
|
|
3
|
+
import BackTop from './components/BackTop/index.vue';
|
|
4
|
+
import LayoutContent from './components/Content/index.vue';
|
|
5
|
+
import Copyright from './components/Copyright/index.vue';
|
|
6
|
+
import LayoutHeader from './components/Header/index.vue';
|
|
7
|
+
|
|
8
|
+
import SettingBar from './components/SettingBar/index.vue';
|
|
9
|
+
// import Sidebar from './components/Sidebar/index.vue';
|
|
10
|
+
import MainSidebar from './components/Sidebar/MainSidebar.vue';
|
|
11
|
+
import SubSidebar from './components/Sidebar/SubSidebar.vue';
|
|
12
|
+
import Topbar from './components/Topbar/index.vue';
|
|
13
|
+
import { useContext } from './composables/useContext';
|
|
14
|
+
import { useGetSidebarActualWidth } from './composables/useGetComputedStyle';
|
|
15
|
+
import { useHotkey } from './composables/useHotkey';
|
|
16
|
+
import useWatermark from './composables/useWatermark';
|
|
17
|
+
|
|
18
|
+
defineOptions({
|
|
19
|
+
name: 'Layout',
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
const routeInfo = useRoute();
|
|
23
|
+
const { settingsStore, menuStore } = useContext();
|
|
24
|
+
const { mainSidebarActualWidth, subSidebarActualWidth } = useGetSidebarActualWidth();
|
|
25
|
+
|
|
26
|
+
useHotkey({
|
|
27
|
+
settingsStore,
|
|
28
|
+
menuStore,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
useWatermark();
|
|
32
|
+
|
|
33
|
+
watch(() => settingsStore.settings.menu.subMenuCollapse, (val) => {
|
|
34
|
+
if (settingsStore.mode === 'mobile') {
|
|
35
|
+
if (!val) {
|
|
36
|
+
document.body.classList.add('overflow-hidden');
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
document.body.classList.remove('overflow-hidden');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
watch(() => routeInfo.path, () => {
|
|
45
|
+
if (settingsStore.mode === 'mobile') {
|
|
46
|
+
settingsStore.$patch((state) => {
|
|
47
|
+
state.settings.menu.subMenuCollapse = true;
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
</script>
|
|
52
|
+
|
|
53
|
+
<template>
|
|
54
|
+
<div
|
|
55
|
+
class="layout"
|
|
56
|
+
:style="{
|
|
57
|
+
'--g-main-sidebar-actual-width': mainSidebarActualWidth,
|
|
58
|
+
'--g-sub-sidebar-actual-width': subSidebarActualWidth,
|
|
59
|
+
}"
|
|
60
|
+
>
|
|
61
|
+
<div id="app-main" :class="{ 'main-page-maximize': settingsStore.mainPageMaximizeStatus }">
|
|
62
|
+
<slot name="header">
|
|
63
|
+
<LayoutHeader />
|
|
64
|
+
</slot>
|
|
65
|
+
|
|
66
|
+
<div class="wrapper">
|
|
67
|
+
<div
|
|
68
|
+
class="sidebar-container"
|
|
69
|
+
:class="{ show: settingsStore.mode === 'mobile' && !settingsStore.settings.menu.subMenuCollapse }"
|
|
70
|
+
>
|
|
71
|
+
<!-- TODO 这种写法会导致侧边栏模式的布局下,有样式问题 -->
|
|
72
|
+
<!-- <slot name="sidebar">
|
|
73
|
+
<Sidebar />
|
|
74
|
+
</slot> -->
|
|
75
|
+
|
|
76
|
+
<MainSidebar />
|
|
77
|
+
<SubSidebar />
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<div
|
|
81
|
+
class="sidebar-mask"
|
|
82
|
+
:class="{ show: settingsStore.mode === 'mobile' && !settingsStore.settings.menu.subMenuCollapse }"
|
|
83
|
+
@click="settingsStore.toggleSidebarCollapse()"
|
|
84
|
+
/>
|
|
85
|
+
|
|
86
|
+
<div class="main-container" :style="{ 'padding-bottom': routeInfo.meta.paddingBottom }">
|
|
87
|
+
<slot name="topbar">
|
|
88
|
+
<Topbar />
|
|
89
|
+
</slot>
|
|
90
|
+
|
|
91
|
+
<div class="main">
|
|
92
|
+
<div
|
|
93
|
+
v-show="settingsStore.mainPageMaximizeStatus"
|
|
94
|
+
class="exit-main-page-maximize"
|
|
95
|
+
@click="settingsStore.setMainPageMaximize()"
|
|
96
|
+
>
|
|
97
|
+
<RiLogoutBoxLine />
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
<slot>
|
|
101
|
+
<LayoutContent />
|
|
102
|
+
</slot>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<slot name="footer">
|
|
106
|
+
<Copyright />
|
|
107
|
+
</slot>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
<SettingBar />
|
|
113
|
+
<BackTop />
|
|
114
|
+
</div>
|
|
115
|
+
</template>
|
|
116
|
+
|
|
117
|
+
<style scoped>
|
|
118
|
+
[data-app-width-mode="adaption"] #app-main {
|
|
119
|
+
--at-apply: w-full;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-app-width-mode="adaption-min-width"] #app-main {
|
|
123
|
+
width: max(var(--g-app-width), 100%);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[data-app-width-mode="center"] #app-main {
|
|
127
|
+
--at-apply: w-[--g-app-width];
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[data-app-width-mode="center-max-width"] #app-main {
|
|
131
|
+
width: min(var(--g-app-width), 100%);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[data-mode="mobile"] #app-main {
|
|
135
|
+
--at-apply: w-full;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-mode="mobile"] .sidebar-container {
|
|
139
|
+
transform: translateX(calc((var(--g-main-sidebar-width) + var(--g-sub-sidebar-width)) * -1));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-mode="mobile"] .sidebar-container.show {
|
|
143
|
+
transform: translateX(0);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[data-mode="mobile"] .main-container {
|
|
147
|
+
margin-left: 0 !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
[data-mode="mobile"][data-menu-mode="single"] .sidebar-container {
|
|
151
|
+
transform: translateX(calc(var(--g-sub-sidebar-width) * -1));
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
[data-mode="mobile"][data-menu-mode="single"] .sidebar-container.show {
|
|
155
|
+
transform: translateX(0);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.layout {
|
|
159
|
+
--at-apply: h-full;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
#app-main {
|
|
163
|
+
--at-apply: h-full bg-[--g-bg] mx-auto my-0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
#app-main.main-page-maximize header,
|
|
167
|
+
#app-main.main-page-maximize .sidebar-container {
|
|
168
|
+
--at-apply: hidden;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
#app-main.main-page-maximize .wrapper {
|
|
172
|
+
--at-apply: pt-0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
#app-main.main-page-maximize .wrapper .main-container {
|
|
176
|
+
--at-apply: ml-0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
#app-main.main-page-maximize .wrapper .main-container .topbar-container {
|
|
180
|
+
--at-apply: hidden;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
#app-main.main-page-maximize .wrapper .main-container .main {
|
|
184
|
+
--at-apply: m-0;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
#app-main.main-page-maximize :deep([data-fixed-calc-width]) {
|
|
188
|
+
--at-apply: w-full -translate-x-2/4;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.wrapper {
|
|
192
|
+
--at-apply: relative w-full h-full;
|
|
193
|
+
transition: padding-top 0.3s;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.wrapper .sidebar-container {
|
|
197
|
+
--at-apply: fixed top-0 bottom-0 z-501 flex;
|
|
198
|
+
width: calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));
|
|
199
|
+
box-shadow: -1px 0 0 0 var(--g-border-color), 1px 0 0 0 var(--g-border-color);
|
|
200
|
+
transition: width 0.3s, transform 0.3s, box-shadow 0.3s, top 0.3s;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.wrapper .sidebar-mask {
|
|
204
|
+
--at-apply: fixed z-[500] w-full h-full invisible opacity-0 left-0 top-0;
|
|
205
|
+
|
|
206
|
+
background-size: 4px 4px;
|
|
207
|
+
backdrop-filter: saturate(50%) blur(4px);
|
|
208
|
+
transition: all 0.2s;
|
|
209
|
+
background-image: radial-gradient(transparent 1px, rgb(0 0 0 / 30%) 1px);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.wrapper .sidebar-mask.show {
|
|
213
|
+
--at-apply: visible op-100;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.wrapper .main-sidebar-container:not(.main-sidebar-leave-active) + .sub-sidebar-container {
|
|
217
|
+
--at-apply: left-[--g-main-sidebar-width];
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.wrapper .main-container {
|
|
221
|
+
--at-apply: flex flex-col h-0 min-h-full;
|
|
222
|
+
margin-left: calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));
|
|
223
|
+
box-shadow: -1px 0 0 0 var(--g-border-color), 1px 0 0 0 var(--g-border-color);
|
|
224
|
+
transition: margin-left 0.3s, background-color 0.3s, box-shadow 0.3s;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.wrapper .main-container .main {
|
|
228
|
+
--at-apply: relative flex-[auto] basis-0 h-0;
|
|
229
|
+
transition: 0.3s;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.wrapper .main-container .main .exit-main-page-maximize {
|
|
233
|
+
--at-apply: bg-stone-7 dark:bg-stone-3 text-stone-3 dark:text-stone-7
|
|
234
|
+
op-50 hover:op-100 transition-opacity fixed z-[1000] w-20 h-20 cursor-pointer
|
|
235
|
+
rounded-[50%] -right-10 -top-10;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.wrapper .main-container .main .exit-main-page-maximize svg {
|
|
239
|
+
--at-apply: absolute bottom-4 left-4;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.wrapper .main-container .topbar-container.has-tabbar + .main {
|
|
243
|
+
margin: var(--g-tabbar-height) 0 0;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.wrapper .main-container .topbar-container.has-toolbar + .main {
|
|
247
|
+
margin: var(--g-toolbar-height) 0 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.wrapper .main-container .topbar-container.has-tabbar.has-toolbar + .main {
|
|
251
|
+
margin: calc(var(--g-tabbar-height) + var(--g-toolbar-height)) 0 0;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
header:not(.header-leave-active) + .wrapper {
|
|
255
|
+
--at-apply: pt-[--g-header-height];
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
header:not(.header-leave-active) + .wrapper .sidebar-container {
|
|
259
|
+
--at-apply: top-[--g-header-height];
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
header:not(.header-leave-active) + .wrapper .sidebar-container :deep(.sidebar-logo) {
|
|
263
|
+
--at-apply: hidden;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
header:not(.header-leave-active) + .wrapper .main-container .topbar-container {
|
|
267
|
+
--at-apply: top-[--g-header-height];
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
header:not(.header-leave-active) + .wrapper .main-container .topbar-container :deep(.tools) {
|
|
271
|
+
--at-apply: hidden;
|
|
272
|
+
}
|
|
273
|
+
</style>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { PageMain } from '@/components';
|
|
3
2
|
import { useClipboard } from '@vueuse/core';
|
|
4
3
|
import Message from 'vue-m-message';
|
|
5
4
|
import IconParkTwotonePlanet from '~icons/icon-park-twotone/planet';
|
|
6
5
|
import RiExternalLinkFill from '~icons/ri/external-link-fill';
|
|
6
|
+
import { PageMain } from '@/features/components';
|
|
7
7
|
import { useContext } from '../../composables/useContext';
|
|
8
8
|
|
|
9
9
|
defineOptions({
|
|
@@ -51,7 +51,7 @@ function open() {
|
|
|
51
51
|
</div>
|
|
52
52
|
</template>
|
|
53
53
|
|
|
54
|
-
<style
|
|
54
|
+
<style scoped>
|
|
55
55
|
.fade-enter-active,
|
|
56
56
|
.slide-left-enter-active,
|
|
57
57
|
.slide-right-enter-active,
|
|
@@ -0,0 +1,146 @@
|
|
|
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
|
+
<component :is="Component" v-show="!(isIframe || isLink)" :key="route.fullPath" class="page-container" />
|
|
73
|
+
</KeepAlive>
|
|
74
|
+
</Transition>
|
|
75
|
+
</component>
|
|
76
|
+
</RouterView>
|
|
77
|
+
|
|
78
|
+
<IframeView v-show="isIframe && !isLink" />
|
|
79
|
+
<LinkView v-if="isLink" />
|
|
80
|
+
</template>
|
|
81
|
+
|
|
82
|
+
<style scoped>
|
|
83
|
+
.fade-enter-active,
|
|
84
|
+
.slide-left-enter-active,
|
|
85
|
+
.slide-right-enter-active,
|
|
86
|
+
.slide-top-enter-active,
|
|
87
|
+
.slide-bottom-enter-active {
|
|
88
|
+
transition: 0.2s;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.fade-leave-active,
|
|
92
|
+
.slide-left-leave-active,
|
|
93
|
+
.slide-right-leave-active,
|
|
94
|
+
.slide-top-leave-active,
|
|
95
|
+
.slide-bottom-leave-active {
|
|
96
|
+
transition: 0.15s;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.fade-enter-from {
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.fade-leave-to {
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.slide-left-enter-from {
|
|
108
|
+
margin-left: 20px;
|
|
109
|
+
opacity: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.slide-left-leave-to {
|
|
113
|
+
margin-left: -20px;
|
|
114
|
+
opacity: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.slide-right-enter-from {
|
|
118
|
+
margin-left: -20px;
|
|
119
|
+
opacity: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.slide-right-leave-to {
|
|
123
|
+
margin-left: 20px;
|
|
124
|
+
opacity: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.slide-top-enter-from {
|
|
128
|
+
margin-top: 20px;
|
|
129
|
+
opacity: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.slide-top-leave-to {
|
|
133
|
+
margin-top: -20px;
|
|
134
|
+
opacity: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.slide-bottom-enter-from {
|
|
138
|
+
margin-top: -20px;
|
|
139
|
+
opacity: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.slide-bottom-leave-to {
|
|
143
|
+
margin-top: 20px;
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
</style>
|
|
@@ -33,17 +33,16 @@ const { settingsStore } = useContext();
|
|
|
33
33
|
</footer>
|
|
34
34
|
</template>
|
|
35
35
|
|
|
36
|
-
<style
|
|
36
|
+
<style scoped>
|
|
37
37
|
.copyright {
|
|
38
38
|
--at-apply: flex items-center justify-center flex-wrap my-4 px-4 text-sm text-stone-5;
|
|
39
|
+
}
|
|
39
40
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
41
|
+
.copyright span,a {
|
|
42
|
+
--at-apply: px-1;
|
|
43
|
+
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
45
|
+
.copyright a {
|
|
46
|
+
--at-apply: text-center no-underline text-stone-5 hover:text-dark dark:hover:text-light transition;
|
|
48
47
|
}
|
|
49
48
|
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { Menu } from '#/menu';
|
|
3
|
-
import { PubinfoIcon } from '@/components';
|
|
3
|
+
import { PubinfoIcon } from '@/features/components';
|
|
4
4
|
import NotCursor from './NotCursor.vue';
|
|
5
5
|
|
|
6
6
|
defineOptions({
|
|
@@ -35,7 +35,7 @@ function menuClick(index: number, item: Menu.recordMainRaw) {
|
|
|
35
35
|
<template #popper>
|
|
36
36
|
<div class="menu-more-container" box-border>
|
|
37
37
|
<template v-for="(item, index) in items" :key="index">
|
|
38
|
-
<NotCursor :is-cursor="item.meta?.isDev" :skidding="150">
|
|
38
|
+
<NotCursor :is-cursor="item.meta?.isDev" :dev-text="item.meta?.devText" :skidding="150">
|
|
39
39
|
<div
|
|
40
40
|
cursor-pointer flex="~ items-center" box-border p-15px w-full h-40px rounded-8px text-sm mb-10px
|
|
41
41
|
:class="{
|
|
@@ -54,50 +54,42 @@ function menuClick(index: number, item: Menu.recordMainRaw) {
|
|
|
54
54
|
</VMenu>
|
|
55
55
|
</template>
|
|
56
56
|
|
|
57
|
-
<style
|
|
57
|
+
<style scoped>
|
|
58
58
|
.menu-more-container {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
padding-bottom: 0;
|
|
59
|
+
--at-apply: min-w-180px p-10px pb-0;
|
|
60
|
+
}
|
|
62
61
|
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
.menu-more-container .is-dev {
|
|
63
|
+
--at-apply: cursor-not-allowed;
|
|
64
|
+
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
.menu-more-container .is-dev i {
|
|
67
|
+
filter: grayscale(100%);
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
}
|
|
70
|
+
.menu-more-container .is-dev span {
|
|
71
|
+
opacity: 0.8;
|
|
74
72
|
}
|
|
75
73
|
</style>
|
|
76
74
|
|
|
77
|
-
<style
|
|
75
|
+
<style>
|
|
78
76
|
.v-popper--theme-more-appley {
|
|
77
|
+
--at-apply: z-1000;
|
|
79
78
|
z-index: 1000;
|
|
79
|
+
}
|
|
80
80
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
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
|
+
}
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
87
|
+
.v-popper--theme-more-appley .v-popper__arrow-container {
|
|
88
|
+
--at-apply: hidden;
|
|
91
89
|
}
|
|
92
90
|
|
|
93
|
-
.dark {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
background-image: linear-gradient(-43deg, #141414 0%, #141414 87%);
|
|
97
|
-
border: 1px solid #4b4f53;
|
|
98
|
-
border-radius: 8px;
|
|
99
|
-
box-shadow: none;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
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%);
|
|
102
94
|
}
|
|
103
95
|
</style>
|