@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
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import type { RouterMetaRawBaseOptions } from '#/vue-router';
|
|
2
|
+
import type { RequireExactlyOne } from 'type-fest';
|
|
3
|
+
import { cloneDeep, isUndefined, omitBy } from 'lodash-es';
|
|
4
|
+
import { setupDefaultLayout, setupPage } from '@/core';
|
|
5
|
+
import { RESOURCE_TYPE } from '@/features/enum';
|
|
6
|
+
|
|
7
|
+
export interface BackEndRoute {
|
|
8
|
+
name?: string
|
|
9
|
+
path?: string
|
|
10
|
+
component?: any
|
|
11
|
+
children: BackEndRoute[]
|
|
12
|
+
meta: RequireExactlyOne<Partial<RouterMetaRawBaseOptions>, 'title'> & Record<string, any>
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const MicroAppContainer = () => import('@/features/components/MicroAppContainer/index.vue');
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 格式化后端返回的路由数据
|
|
19
|
+
* @param routes 路由数据
|
|
20
|
+
* @param parent 父级
|
|
21
|
+
* @returns 格式化后的路由数据
|
|
22
|
+
*/
|
|
23
|
+
export function formatBackRoutes(
|
|
24
|
+
routes: API.PubResourceTreeBo[] = [],
|
|
25
|
+
parent: API.PubResourceTreeBo = {},
|
|
26
|
+
): BackEndRoute[] {
|
|
27
|
+
const backEndRoutes = filterRoutes(routes, [RESOURCE_TYPE.BUTTON]);
|
|
28
|
+
|
|
29
|
+
return backEndRoutes.map((route: API.PubResourceTreeBo) => {
|
|
30
|
+
const children = route?.children && route.children.length > 0
|
|
31
|
+
? formatBackRoutes(route.children, route)
|
|
32
|
+
: [];
|
|
33
|
+
|
|
34
|
+
const meta = omitBy<BackEndRoute['meta']>({
|
|
35
|
+
title: route?.name ?? '',
|
|
36
|
+
auth: route?.code,
|
|
37
|
+
icon: route?.icon,
|
|
38
|
+
...route?.meta,
|
|
39
|
+
|
|
40
|
+
// CLOSE: 根据资源类型设置正确的显示属性
|
|
41
|
+
// 应用和动态应用不需要在侧边栏和标签栏显示,因为它们通过TopMode渲染
|
|
42
|
+
...(route.type === RESOURCE_TYPE.APP || route.type === RESOURCE_TYPE.DYNAMIC_APP
|
|
43
|
+
? {
|
|
44
|
+
sidebar: true, // 应用级别,默认显示
|
|
45
|
+
tabbar: true, // 应用级别,默认显示
|
|
46
|
+
// 确保开发模式文本有默认值
|
|
47
|
+
devText: route?.meta?.devText || '该功能暂未上线,敬请期待!',
|
|
48
|
+
}
|
|
49
|
+
: {}),
|
|
50
|
+
|
|
51
|
+
// 目录不在标签栏显示,但可在侧边栏显示
|
|
52
|
+
...(route.type === RESOURCE_TYPE.INDEX
|
|
53
|
+
? {
|
|
54
|
+
tabbar: true, // 目录本身不会在标签栏中显示
|
|
55
|
+
}
|
|
56
|
+
: {}),
|
|
57
|
+
}, isUndefined) as BackEndRoute['meta'];
|
|
58
|
+
|
|
59
|
+
// TODO: 这里的逻辑可能需要根据实际情况调整
|
|
60
|
+
const finalRoute = cloneDeep(omitBy<BackEndRoute>({
|
|
61
|
+
name: route?.meta?.routeName ?? undefined,
|
|
62
|
+
path: route?.meta?.url ?? undefined,
|
|
63
|
+
component: route?.meta?.component ?? undefined,
|
|
64
|
+
children,
|
|
65
|
+
meta,
|
|
66
|
+
}, isUndefined)) as BackEndRoute;
|
|
67
|
+
|
|
68
|
+
switch (route.type) {
|
|
69
|
+
case RESOURCE_TYPE.DYNAMIC_APP:
|
|
70
|
+
case RESOURCE_TYPE.MICRO_APP:
|
|
71
|
+
return finalRoute;
|
|
72
|
+
|
|
73
|
+
case RESOURCE_TYPE.INDEX:
|
|
74
|
+
return transformIndex(finalRoute, parent);
|
|
75
|
+
|
|
76
|
+
case RESOURCE_TYPE.MENU:
|
|
77
|
+
case RESOURCE_TYPE.IFRAME:
|
|
78
|
+
return transformMenuAndIframe(finalRoute, parent);
|
|
79
|
+
|
|
80
|
+
case RESOURCE_TYPE.NON_MENU:
|
|
81
|
+
return transformNonMenu(finalRoute, parent);
|
|
82
|
+
|
|
83
|
+
case RESOURCE_TYPE.LINK:
|
|
84
|
+
return finalRoute;
|
|
85
|
+
|
|
86
|
+
default:
|
|
87
|
+
return finalRoute;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/** 过滤指定类型的路由 */
|
|
93
|
+
function filterRoutes(routes: API.PubResourceTreeBo[] = [], excludes: string[]) {
|
|
94
|
+
return routes.filter((route) => {
|
|
95
|
+
if (!route.type) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return !excludes.includes(route.type);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** 转换目录 */
|
|
103
|
+
function transformIndex(route: BackEndRoute, parent: API.PubResourceTreeBo = {}): BackEndRoute {
|
|
104
|
+
switch (parent.type) {
|
|
105
|
+
// 父级是应用
|
|
106
|
+
case RESOURCE_TYPE.DYNAMIC_APP:
|
|
107
|
+
case RESOURCE_TYPE.MICRO_APP:
|
|
108
|
+
return {
|
|
109
|
+
...route,
|
|
110
|
+
path: startsWithSlash(route.path),
|
|
111
|
+
component: setupDefaultLayout(),
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
// 父级是目录
|
|
115
|
+
case RESOURCE_TYPE.INDEX:
|
|
116
|
+
return {
|
|
117
|
+
...route,
|
|
118
|
+
path: route.path,
|
|
119
|
+
component: undefined,
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
default:
|
|
123
|
+
return route;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** 转换菜单和内嵌 */
|
|
128
|
+
function transformMenuAndIframe(route: BackEndRoute, parent: API.PubResourceTreeBo = {}): BackEndRoute {
|
|
129
|
+
if (!route?.component && !route?.meta?.iframe) {
|
|
130
|
+
console.warn(`[PUBINFO] 资源"${route.meta.title}"的component字段不存在, 将会导致未知错误!`);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
let menuRoute = cloneDeep(route);
|
|
134
|
+
|
|
135
|
+
// FIX-ME 在这里如果将 meta 修改为 route.meta 会产生多层级的问题。
|
|
136
|
+
const menuRouteChildren: BackEndRoute[] = [
|
|
137
|
+
{
|
|
138
|
+
path: '',
|
|
139
|
+
component: replaceComponent(route.component, route.meta?.scope),
|
|
140
|
+
meta: {
|
|
141
|
+
...route.meta,
|
|
142
|
+
title: route.meta.title,
|
|
143
|
+
sidebar: false,
|
|
144
|
+
breadcrumb: false,
|
|
145
|
+
},
|
|
146
|
+
children: [],
|
|
147
|
+
},
|
|
148
|
+
...route.children,
|
|
149
|
+
];
|
|
150
|
+
|
|
151
|
+
switch (parent.type) {
|
|
152
|
+
// 父级是应用
|
|
153
|
+
case RESOURCE_TYPE.DYNAMIC_APP:
|
|
154
|
+
case RESOURCE_TYPE.MICRO_APP:
|
|
155
|
+
menuRoute = {
|
|
156
|
+
...route,
|
|
157
|
+
path: startsWithSlash(route.path),
|
|
158
|
+
component: setupDefaultLayout(),
|
|
159
|
+
children: menuRouteChildren,
|
|
160
|
+
};
|
|
161
|
+
break;
|
|
162
|
+
|
|
163
|
+
// 父级是目录
|
|
164
|
+
case RESOURCE_TYPE.INDEX: {
|
|
165
|
+
menuRoute = {
|
|
166
|
+
...route,
|
|
167
|
+
path: route.path,
|
|
168
|
+
component: undefined,
|
|
169
|
+
children: menuRouteChildren,
|
|
170
|
+
};
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
return menuRoute;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** 转换非菜单页 */
|
|
179
|
+
function transformNonMenu(route: BackEndRoute, parent: API.PubResourceTreeBo = {}): BackEndRoute {
|
|
180
|
+
switch (parent.type) {
|
|
181
|
+
// 父级是目录/菜单
|
|
182
|
+
case RESOURCE_TYPE.INDEX:
|
|
183
|
+
case RESOURCE_TYPE.MENU:
|
|
184
|
+
case RESOURCE_TYPE.NON_MENU:
|
|
185
|
+
return {
|
|
186
|
+
...route,
|
|
187
|
+
path: route.path,
|
|
188
|
+
component: replaceComponent(route.component, route.meta?.scope),
|
|
189
|
+
meta: {
|
|
190
|
+
...route.meta,
|
|
191
|
+
sidebar: false,
|
|
192
|
+
},
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
default:
|
|
196
|
+
return route;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/** 开头添加 / */
|
|
201
|
+
function startsWithSlash(str?: string) {
|
|
202
|
+
if (!str) {
|
|
203
|
+
return '/';
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
return str.startsWith('/') ? str : `/${str}`;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/** 开头去掉 / */
|
|
210
|
+
function startsWithNoSlash(str?: string) {
|
|
211
|
+
if (!str) {
|
|
212
|
+
return '';
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
return str.startsWith('/') ? str.replace('/', '') : str;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/** 替换 component 为实际组件 */
|
|
219
|
+
function replaceComponent(component: any, id?: string) {
|
|
220
|
+
return setupPage(component, id);
|
|
221
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -1,12 +1,117 @@
|
|
|
1
|
-
import './
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import type { Options, RequestInstance } from './core';
|
|
2
|
+
import {
|
|
3
|
+
Authentication,
|
|
4
|
+
Authorization,
|
|
5
|
+
LayoutComponent,
|
|
6
|
+
Locales,
|
|
7
|
+
NProgress,
|
|
8
|
+
PiniaPlugin,
|
|
9
|
+
PreAccess,
|
|
10
|
+
Settings,
|
|
11
|
+
} from './built-in';
|
|
12
|
+
import { createApp } from './core';
|
|
13
|
+
import { createPubinfoContext } from './features/context/index.ts';
|
|
14
|
+
import '../types/index.d.ts';
|
|
15
|
+
|
|
16
|
+
export interface PubinfoOptions extends Options {
|
|
17
|
+
/**
|
|
18
|
+
* 请求实例
|
|
19
|
+
*/
|
|
20
|
+
request: {
|
|
21
|
+
auth: RequestInstance
|
|
22
|
+
basic: RequestInstance
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* 纯净模式
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
pure?: boolean
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function createPubinfo(options: PubinfoOptions) {
|
|
33
|
+
const {
|
|
34
|
+
pure = false,
|
|
35
|
+
router,
|
|
36
|
+
request,
|
|
37
|
+
} = options;
|
|
38
|
+
|
|
39
|
+
if (pure) {
|
|
40
|
+
return createApp(options);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return createApp({
|
|
44
|
+
...options,
|
|
45
|
+
router: {
|
|
46
|
+
...router,
|
|
47
|
+
routes: [
|
|
48
|
+
...router.routes,
|
|
49
|
+
{
|
|
50
|
+
path: '/:all(.*)*',
|
|
51
|
+
name: 'NotFound',
|
|
52
|
+
component: () => import('@/features/pages/not-found/index.vue'),
|
|
53
|
+
meta: { title: '找不到页面' },
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
modules: [
|
|
58
|
+
{
|
|
59
|
+
name: 'built-in:context',
|
|
60
|
+
setup(ctx) {
|
|
61
|
+
createPubinfoContext({
|
|
62
|
+
router: ctx.router,
|
|
63
|
+
requestAuth: request.auth,
|
|
64
|
+
requestBasic: request.basic,
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
PiniaPlugin(),
|
|
69
|
+
PreAccess(),
|
|
70
|
+
Authentication(),
|
|
71
|
+
Authorization(),
|
|
72
|
+
LayoutComponent(),
|
|
73
|
+
Settings(),
|
|
74
|
+
Locales(),
|
|
75
|
+
NProgress(),
|
|
76
|
+
...(options.modules ?? []),
|
|
77
|
+
],
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export {
|
|
82
|
+
BackTop,
|
|
83
|
+
Copyright,
|
|
84
|
+
Layout,
|
|
85
|
+
LayoutContent,
|
|
86
|
+
LayoutHeader,
|
|
87
|
+
LayoutProvider,
|
|
88
|
+
Logo,
|
|
89
|
+
Menu,
|
|
90
|
+
RESPONSE_CODE,
|
|
91
|
+
SettingBar,
|
|
92
|
+
Sidebar,
|
|
93
|
+
Tools,
|
|
94
|
+
Topbar,
|
|
95
|
+
} from './built-in';
|
|
96
|
+
export { eventBus } from './built-in/layout-component/utils';
|
|
97
|
+
|
|
98
|
+
export {
|
|
99
|
+
createRequest,
|
|
100
|
+
defineIconModule,
|
|
101
|
+
defineRouteModule,
|
|
102
|
+
getAllIconModules,
|
|
103
|
+
getAllRouteModules,
|
|
104
|
+
readProjectModules,
|
|
105
|
+
} from './core';
|
|
106
|
+
|
|
107
|
+
export * from './core/interface';
|
|
108
|
+
|
|
109
|
+
export * from './features';
|
|
110
|
+
|
|
111
|
+
export {
|
|
112
|
+
cleanup,
|
|
113
|
+
cleanupWithoutUser,
|
|
114
|
+
createContext,
|
|
115
|
+
storage,
|
|
116
|
+
wrapProxy,
|
|
117
|
+
} from './utils';
|
package/src/utils/cleanup.ts
CHANGED
package/src/utils/index.ts
CHANGED
|
@@ -1,44 +1,5 @@
|
|
|
1
|
-
import type { Primitive } from 'type-fest';
|
|
2
|
-
import { isArray, isEmpty, isObject, reduce } from 'lodash-es';
|
|
3
|
-
import path from 'path-browserify';
|
|
4
|
-
|
|
5
|
-
type ConditionalExceptType<T extends Record<PropertyKey, any>, Type> = {
|
|
6
|
-
[P in keyof T]: Exclude<T[P], Type>
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export function resolveRoutePath(basePath?: string, routePath?: string) {
|
|
10
|
-
return basePath ? path.resolve(basePath, routePath ?? '') : routePath ?? '';
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function normalizePrimitiveToFunction<T extends Record<PropertyKey, any>>(options: T): ConditionalExceptType<T, Primitive> {
|
|
14
|
-
for (const key in options) {
|
|
15
|
-
if (typeof options[key] !== 'function') {
|
|
16
|
-
const value = options[key]
|
|
17
|
-
;(options[key] as () => typeof value) = () => value;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return options;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export function objectToPaths(obj: Record<string, any>, prefix = '') {
|
|
24
|
-
return reduce(obj, (result, value, key) => {
|
|
25
|
-
const fullPath = prefix.length ? `${prefix}.${key}` : key;
|
|
26
|
-
if (isObject(value) && !isArray(value) && !isEmpty(value)) {
|
|
27
|
-
// 如果是非空对象,递归调用
|
|
28
|
-
result = result.concat(objectToPaths(value, fullPath));
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
// 否则,添加当前路径到结果数组
|
|
32
|
-
result.push(fullPath);
|
|
33
|
-
}
|
|
34
|
-
return result;
|
|
35
|
-
}, [] as string[]);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
1
|
export * from './cleanup';
|
|
39
|
-
export * from './
|
|
40
|
-
export
|
|
41
|
-
export * from './
|
|
42
|
-
export {
|
|
43
|
-
export * from './utils';
|
|
44
|
-
export { default as watermark } from './watermark';
|
|
2
|
+
export * from './path';
|
|
3
|
+
export * from './proxy';
|
|
4
|
+
export * from './storage';
|
|
5
|
+
export { createContext } from 'unctx';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export function wrapProxy<T extends Record<K, any>, K extends keyof T>(
|
|
2
|
+
fn: () => T,
|
|
3
|
+
key: K,
|
|
4
|
+
): T[K] {
|
|
5
|
+
return new Proxy({} as T[K], {
|
|
6
|
+
get(_, prop: string | symbol) {
|
|
7
|
+
let context: T | undefined;
|
|
8
|
+
try {
|
|
9
|
+
context = fn();
|
|
10
|
+
}
|
|
11
|
+
catch (e) {
|
|
12
|
+
// 1. 从全局缓存读取
|
|
13
|
+
const g: any = globalThis as any;
|
|
14
|
+
if (g.__PUBINFO__?.state) {
|
|
15
|
+
const cached = g.__PUBINFO__.state as T;
|
|
16
|
+
if (cached && cached[key]) {
|
|
17
|
+
const inst = cached[key];
|
|
18
|
+
const val = (inst as any)[prop];
|
|
19
|
+
return typeof val === 'function' ? val.bind(inst) : val;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
throw e;
|
|
23
|
+
}
|
|
24
|
+
const instance = context[key];
|
|
25
|
+
|
|
26
|
+
if (!instance) {
|
|
27
|
+
throw new Error(
|
|
28
|
+
`Instance "${String(key)}" has not been set. Please call createContext() before using "${String(prop)}".`,
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const value = instance[prop as keyof typeof instance];
|
|
33
|
+
return typeof value === 'function' ? value.bind(instance) : value;
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
}
|
package/src/utils/storage.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { getSettings } from '@/
|
|
1
|
+
import { getSettings } from '@/features/settings';
|
|
2
2
|
|
|
3
3
|
function getStoragePrefix() {
|
|
4
4
|
const settings = getSettings();
|
|
5
5
|
return settings?.app?.storagePrefix;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
const storage = {
|
|
8
|
+
export const storage = {
|
|
9
9
|
local: {
|
|
10
10
|
has: (key: string) => {
|
|
11
11
|
return Object.prototype.hasOwnProperty.call(localStorage, `${getStoragePrefix()}${key}`);
|
|
@@ -53,5 +53,3 @@ const storage = {
|
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
};
|
|
56
|
-
|
|
57
|
-
export default storage;
|
package/types/auto-imports.d.ts
CHANGED
|
@@ -15,12 +15,14 @@ declare global {
|
|
|
15
15
|
const effectScope: typeof import('vue')['effectScope']
|
|
16
16
|
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
|
17
17
|
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
|
18
|
+
const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
|
|
18
19
|
const h: typeof import('vue')['h']
|
|
19
20
|
const inject: typeof import('vue')['inject']
|
|
20
21
|
const isProxy: typeof import('vue')['isProxy']
|
|
21
22
|
const isReactive: typeof import('vue')['isReactive']
|
|
22
23
|
const isReadonly: typeof import('vue')['isReadonly']
|
|
23
24
|
const isRef: typeof import('vue')['isRef']
|
|
25
|
+
const isShallow: typeof import('vue')['isShallow']
|
|
24
26
|
const markRaw: typeof import('vue')['markRaw']
|
|
25
27
|
const nextTick: typeof import('vue')['nextTick']
|
|
26
28
|
const onActivated: typeof import('vue')['onActivated']
|
|
@@ -54,25 +56,16 @@ declare global {
|
|
|
54
56
|
const triggerRef: typeof import('vue')['triggerRef']
|
|
55
57
|
const unref: typeof import('vue')['unref']
|
|
56
58
|
const useAttrs: typeof import('vue')['useAttrs']
|
|
57
|
-
const useAuth: typeof import('../src/composables/auth')['useAuth']
|
|
58
|
-
const useBox: typeof import('../src/composables/log')['useBox']
|
|
59
59
|
const useCssModule: typeof import('vue')['useCssModule']
|
|
60
60
|
const useCssVars: typeof import('vue')['useCssVars']
|
|
61
|
-
const useError: typeof import('../src/composables/log')['useError']
|
|
62
61
|
const useId: typeof import('vue')['useId']
|
|
63
|
-
const useInfo: typeof import('../src/composables/log')['useInfo']
|
|
64
62
|
const useLink: typeof import('vue-router')['useLink']
|
|
65
63
|
const useModel: typeof import('vue')['useModel']
|
|
66
64
|
const useRoute: typeof import('vue-router')['useRoute']
|
|
67
65
|
const useRouter: typeof import('vue-router')['useRouter']
|
|
68
66
|
const useSlots: typeof import('vue')['useSlots']
|
|
69
|
-
const useStart: typeof import('../src/composables/log')['useStart']
|
|
70
|
-
const useSuccess: typeof import('../src/composables/log')['useSuccess']
|
|
71
67
|
const useTemplateRef: typeof import('vue')['useTemplateRef']
|
|
72
|
-
const useTheme: typeof import('../src/composables/theme')['useTheme']
|
|
73
|
-
const useWarn: typeof import('../src/composables/log')['useWarn']
|
|
74
68
|
const watch: typeof import('vue')['watch']
|
|
75
|
-
const watchDiffObject: typeof import('../src/composables/watchDiff')['watchDiffObject']
|
|
76
69
|
const watchEffect: typeof import('vue')['watchEffect']
|
|
77
70
|
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
|
78
71
|
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
|
@@ -80,6 +73,6 @@ declare global {
|
|
|
80
73
|
// for type re-export
|
|
81
74
|
declare global {
|
|
82
75
|
// @ts-ignore
|
|
83
|
-
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
76
|
+
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
|
84
77
|
import('vue')
|
|
85
78
|
}
|
package/types/components.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// @ts-nocheck
|
|
3
3
|
// Generated by unplugin-vue-components
|
|
4
4
|
// Read more: https://github.com/vuejs/core/pull/3399
|
|
5
|
+
// biome-ignore lint: disable
|
|
5
6
|
export {}
|
|
6
7
|
|
|
7
8
|
/* prettier-ignore */
|
|
@@ -15,21 +16,21 @@ declare module 'vue' {
|
|
|
15
16
|
AFormItem: typeof import('ant-design-vue/es')['FormItem']
|
|
16
17
|
AInputPassword: typeof import('ant-design-vue/es')['InputPassword']
|
|
17
18
|
ATag: typeof import('ant-design-vue/es')['Tag']
|
|
18
|
-
HBadge: typeof import('./../src/layout/ui
|
|
19
|
-
HButton: typeof import('./../src/layout/ui
|
|
20
|
-
HCheckList: typeof import('./../src/layout/ui
|
|
21
|
-
HDialog: typeof import('./../src/layout/ui
|
|
22
|
-
HDivider: typeof import('./../src/layout/ui
|
|
23
|
-
HDropdown: typeof import('./../src/layout/ui
|
|
24
|
-
HDropdownMenu: typeof import('./../src/layout/ui
|
|
25
|
-
HDropdownTree: typeof import('./../src/layout/ui
|
|
26
|
-
HInput: typeof import('./../src/layout/ui
|
|
27
|
-
HKbd: typeof import('./../src/layout/ui
|
|
28
|
-
HSelect: typeof import('./../src/layout/ui
|
|
29
|
-
HSlideover: typeof import('./../src/layout/ui
|
|
30
|
-
HTabList: typeof import('./../src/layout/ui
|
|
31
|
-
HToggle: typeof import('./../src/layout/ui
|
|
32
|
-
HTooltip: typeof import('./../src/layout/ui
|
|
19
|
+
HBadge: typeof import('./../src/built-in/layout-component/components/ui/HBadge.vue')['default']
|
|
20
|
+
HButton: typeof import('./../src/built-in/layout-component/components/ui/HButton.vue')['default']
|
|
21
|
+
HCheckList: typeof import('./../src/built-in/layout-component/components/ui/HCheckList.vue')['default']
|
|
22
|
+
HDialog: typeof import('./../src/built-in/layout-component/components/ui/HDialog.vue')['default']
|
|
23
|
+
HDivider: typeof import('./../src/built-in/layout-component/components/ui/HDivider.vue')['default']
|
|
24
|
+
HDropdown: typeof import('./../src/built-in/layout-component/components/ui/HDropdown.vue')['default']
|
|
25
|
+
HDropdownMenu: typeof import('./../src/built-in/layout-component/components/ui/HDropdownMenu.vue')['default']
|
|
26
|
+
HDropdownTree: typeof import('./../src/built-in/layout-component/components/ui/HDropdownTree.vue')['default']
|
|
27
|
+
HInput: typeof import('./../src/built-in/layout-component/components/ui/HInput.vue')['default']
|
|
28
|
+
HKbd: typeof import('./../src/built-in/layout-component/components/ui/HKbd.vue')['default']
|
|
29
|
+
HSelect: typeof import('./../src/built-in/layout-component/components/ui/HSelect.vue')['default']
|
|
30
|
+
HSlideover: typeof import('./../src/built-in/layout-component/components/ui/HSlideover.vue')['default']
|
|
31
|
+
HTabList: typeof import('./../src/built-in/layout-component/components/ui/HTabList.vue')['default']
|
|
32
|
+
HToggle: typeof import('./../src/built-in/layout-component/components/ui/HToggle.vue')['default']
|
|
33
|
+
HTooltip: typeof import('./../src/built-in/layout-component/components/ui/HTooltip.vue')['default']
|
|
33
34
|
RouterLink: typeof import('vue-router')['RouterLink']
|
|
34
35
|
RouterView: typeof import('vue-router')['RouterView']
|
|
35
36
|
}
|
package/types/menu.d.ts
CHANGED
package/types/module.d.ts
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
declare module 'pubinfo
|
|
2
|
-
|
|
3
|
-
import type { Alova, AlovaGenerics } from 'alova';
|
|
4
|
-
import type { AxiosResponse, AxiosResponseHeaders } from 'axios';
|
|
5
|
-
|
|
6
|
-
type RequestInstance = Alova<AlovaGenerics<any, any, AlovaAxiosRequestConfig, AxiosResponse<any, any>, AxiosResponseHeaders, any, any, any>>;
|
|
7
|
-
export const basic: RequestInstance;
|
|
8
|
-
export const auth: RequestInstance;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare module 'pubinfo:project/layouts/index.vue' {
|
|
12
|
-
import type { DefineComponent } from 'vue';
|
|
13
|
-
|
|
14
|
-
const component: DefineComponent<object, object, any>;
|
|
15
|
-
export default component;
|
|
1
|
+
declare module 'virtual:pubinfo-resolver' {
|
|
2
|
+
export default any;
|
|
16
3
|
}
|
|
17
4
|
|
|
18
5
|
declare module '*.vue' {
|
package/types/settings.d.ts
CHANGED
package/types/tabbar.d.ts
CHANGED
package/types/vue-router.d.ts
CHANGED
|
@@ -25,19 +25,23 @@ export interface RouterMetaRawBaseOptions {
|
|
|
25
25
|
breadcrumbNeste: Route.breadcrumb[]
|
|
26
26
|
isDev: boolean
|
|
27
27
|
enabled: boolean
|
|
28
|
+
provider?: any
|
|
29
|
+
pin?: boolean
|
|
30
|
+
routeName?: string
|
|
28
31
|
}
|
|
29
32
|
|
|
30
33
|
type RouterMetaRaw = RequireExactlyOne<Partial<RouterMetaRawBaseOptions>, 'title'>;
|
|
31
34
|
|
|
32
35
|
export declare namespace Route {
|
|
33
36
|
|
|
34
|
-
type mainMeta
|
|
35
|
-
| 'title'
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
type mainMeta
|
|
38
|
+
= | 'title'
|
|
39
|
+
| 'i18n'
|
|
40
|
+
| 'icon'
|
|
41
|
+
| 'activeIcon'
|
|
42
|
+
| 'auth'
|
|
43
|
+
| 'enabled'
|
|
44
|
+
| 'provider';
|
|
41
45
|
|
|
42
46
|
type recordMainRawBasicMeta = Partial<Pick<RouterMetaRawBaseOptions, mainMeta>>;
|
|
43
47
|
|