@pubinfo/core 2.0.0-beta.9 → 2.0.0-rc.2
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-D2RJrc9O.js} +37 -39
- package/dist/{HCheckList.vue_vue_type_script_setup_true_lang-D4u_haxr.js → HCheckList.vue_vue_type_script_setup_true_lang-DusVz35O.js} +12 -14
- package/dist/HDivider.vue_vue_type_script_setup_true_lang-DIHR-9Yv.js +20 -0
- package/dist/HToggle-DMcVgMVY.js +34 -0
- package/dist/PreferencesContent-Dtd9rtew.js +923 -0
- package/dist/{SettingBreadcrumb-CgugOTgx.js → SettingBreadcrumb-QSCSviKM.js} +9 -9
- package/dist/{SettingCopyright-BPeCJBLi.js → SettingCopyright-Dr5P6yfq.js} +8 -8
- package/dist/{SettingEnableTransition-BK0_EH_N.js → SettingEnableTransition-DGiHEbCI.js} +20 -21
- package/dist/{SettingHome-DGnxlXLd.js → SettingHome-CEPcBlds.js} +20 -20
- package/dist/{SettingMenu-BqAd9zbL.js → SettingMenu-BJdjnRA6.js} +26 -26
- package/dist/{SettingMode-CgA3XDwW.js → SettingMode-BnuCHoEY.js} +11 -12
- package/dist/{SettingNavSearch-WFnkcRQ3.js → SettingNavSearch-CiU4BmlU.js} +9 -9
- package/dist/{SettingOther-CG4RI6mO.js → SettingOther-DTHjVlFe.js} +13 -13
- package/dist/SettingPage-D75_Nf05.js +29 -0
- package/dist/{SettingTabbar-CQA6ZT9l.js → SettingTabbar-D48dzvgA.js} +18 -18
- package/dist/SettingThemes-D-8vTs5n.js +142 -0
- package/dist/{SettingToolbar-DdR2940j.js → SettingToolbar-DjIjm9V-.js} +10 -10
- package/dist/{SettingTopbar-C_jYO_Ax.js → SettingTopbar-Cg30OTH3.js} +16 -16
- package/dist/{SettingWidthMode-ir_28SE3.js → SettingWidthMode-BKV_7kb8.js} +19 -20
- package/dist/{TopThinMode-jHDpKsma.js → TopThinMode-JFYsp_lJ.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/built-in/layout-component/components/Tools/index.vue.d.ts +27 -0
- package/dist/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue.d.ts +11 -0
- 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/built-in/layout-component/composables/useGlobalSearch.d.ts +19 -0
- 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-CODcBxrF.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/index-BAoB7aoj.js +49 -0
- package/dist/{reload-CUcPYtl7.js → index-BD2fkZis.js} +5 -5
- package/dist/index-BROqFYXS.js +44 -0
- package/dist/{index-CjsnFBwd.js → index-BVLkBCRY.js} +7733 -8240
- package/dist/index-D4_xmL_A.js +258 -0
- package/dist/index-DQn1WFMa.js +139 -0
- package/dist/{index-CWIfG62O.js → index-DmcblkoZ.js} +1804 -1897
- package/dist/{index-NpS61xSA.js → index-DvJr0paY.js} +54 -54
- package/dist/index-Jd3PYkpj.js +52561 -0
- package/dist/index-RT-QBzm0.js +234 -0
- package/dist/index.d.ts +23 -11
- package/dist/index.js +59 -72
- package/dist/pick-BLJM77QN.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/built-in/authentication/pages/change-organization/assets/change-org.svg +1 -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/built-in/authentication/pages/change-password/assets/mima.svg +1 -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/built-in/authorization/pages/not-permission/403.svg +1 -0
- package/src/built-in/authorization/pages/not-permission/403_dark.svg +1 -0
- package/src/{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/built-in/layout-component/assets/icons/favorites.svg +1 -0
- package/src/built-in/layout-component/assets/icons/toolbar-collapse.svg +1 -0
- package/src/{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 +15 -9
- package/src/{layout → built-in/layout-component}/components/Tools/index.vue +16 -20
- package/src/{layout → built-in/layout-component}/components/Topbar/Tabbar/MoreAction.vue +102 -148
- 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 +72 -67
- 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/built-in/layout-component/composables/useGlobalSearch.ts +48 -0
- 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/{assets → features/assets}/fonts/digital-7/digital-7-webfont.svg +131 -133
- package/src/{assets → features/assets}/fonts/digital-7_mono/digital-7_mono-webfont.svg +130 -132
- package/src/{assets → features/assets}/images/org.svg +2 -2
- 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/features/pages/not-found/assets/404.svg +1 -0
- package/src/features/pages/not-found/assets/404_dark.svg +1 -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/layout/components/Tools/index.vue.d.ts +0 -233
- package/dist/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
- 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/403.svg +0 -1
- package/src/assets/icons/403_dark.svg +0 -1
- package/src/assets/icons/404.svg +0 -1
- package/src/assets/icons/404_dark.svg +0 -1
- 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/change-org.svg +0 -1
- package/src/assets/icons/edit.svg +0 -1
- package/src/assets/icons/empty-data.svg +0 -1
- package/src/assets/icons/favorites.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/mima.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/toolbar-collapse.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/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 → 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.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.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/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/{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,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 修改登录密码
|
|
@@ -6,7 +6,10 @@ import { basic as request } from '@/api/request';
|
|
|
6
6
|
* @method PUT
|
|
7
7
|
* @author @pubinfo/openapi
|
|
8
8
|
*/
|
|
9
|
-
export function putRbacUserChangePassword<
|
|
9
|
+
export function putRbacUserChangePassword<
|
|
10
|
+
R = API.ResponseDataVoid,
|
|
11
|
+
T = API.ResponseDataVoid,
|
|
12
|
+
>(
|
|
10
13
|
params: API.putRbacUserChangePasswordParams,
|
|
11
14
|
options?: Parameters<typeof request.Put<R, T>>[2],
|
|
12
15
|
) {
|
|
@@ -28,7 +31,10 @@ export function putRbacUserChangePassword<R = API.ResponseDataVoid, T = API.Resp
|
|
|
28
31
|
* @method POST
|
|
29
32
|
* @author @pubinfo/openapi
|
|
30
33
|
*/
|
|
31
|
-
export function postRbacUserChangePassword<
|
|
34
|
+
export function postRbacUserChangePassword<
|
|
35
|
+
R = API.ResponseDataVoid,
|
|
36
|
+
T = API.ResponseDataVoid,
|
|
37
|
+
>(
|
|
32
38
|
params: API.postRbacUserChangePasswordParams,
|
|
33
39
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
34
40
|
) {
|
|
@@ -96,7 +102,10 @@ export function postRbacUserGrantUserRoleAndDatPermission<
|
|
|
96
102
|
* @method GET
|
|
97
103
|
* @author @pubinfo/openapi
|
|
98
104
|
*/
|
|
99
|
-
export function getRbacUserInfo<
|
|
105
|
+
export function getRbacUserInfo<
|
|
106
|
+
R = API.ResponseDataPubUserBo,
|
|
107
|
+
T = API.ResponseDataPubUserBo,
|
|
108
|
+
>(
|
|
100
109
|
params: API.getRbacUserInfoParams,
|
|
101
110
|
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
102
111
|
) {
|
|
@@ -114,10 +123,10 @@ export function getRbacUserInfo<R = API.ResponseDataPubUserBo, T = API.ResponseD
|
|
|
114
123
|
* @method POST
|
|
115
124
|
* @author @pubinfo/openapi
|
|
116
125
|
*/
|
|
117
|
-
export function postRbacUserPubUserAdd<
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
) {
|
|
126
|
+
export function postRbacUserPubUserAdd<
|
|
127
|
+
R = API.ResponseDataString,
|
|
128
|
+
T = API.ResponseDataString,
|
|
129
|
+
>(body: API.PubUserAddDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
121
130
|
return request.Post<R, T>('/rbac/user/pubUserAdd', body, {
|
|
122
131
|
headers: {
|
|
123
132
|
'Content-Type': 'application/json',
|
|
@@ -132,7 +141,10 @@ export function postRbacUserPubUserAdd<R = API.ResponseDataString, T = API.Respo
|
|
|
132
141
|
* @method PUT
|
|
133
142
|
* @author @pubinfo/openapi
|
|
134
143
|
*/
|
|
135
|
-
export function putRbacUserResetPassword<
|
|
144
|
+
export function putRbacUserResetPassword<
|
|
145
|
+
R = API.ResponseDataVoid,
|
|
146
|
+
T = API.ResponseDataVoid,
|
|
147
|
+
>(
|
|
136
148
|
params: API.putRbacUserResetPasswordParams,
|
|
137
149
|
options?: Parameters<typeof request.Put<R, T>>[2],
|
|
138
150
|
) {
|
|
@@ -154,7 +166,10 @@ export function putRbacUserResetPassword<R = API.ResponseDataVoid, T = API.Respo
|
|
|
154
166
|
* @method POST
|
|
155
167
|
* @author @pubinfo/openapi
|
|
156
168
|
*/
|
|
157
|
-
export function postRbacUserResetPassword<
|
|
169
|
+
export function postRbacUserResetPassword<
|
|
170
|
+
R = API.ResponseDataVoid,
|
|
171
|
+
T = API.ResponseDataVoid,
|
|
172
|
+
>(
|
|
158
173
|
params: API.postRbacUserResetPasswordParams,
|
|
159
174
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
160
175
|
) {
|
|
@@ -179,7 +194,10 @@ export function postRbacUserResetPassword<R = API.ResponseDataVoid, T = API.Resp
|
|
|
179
194
|
export function postRbacUserUserAndOrgList<
|
|
180
195
|
R = API.ResponseDataListPubUserDto,
|
|
181
196
|
T = API.ResponseDataListPubUserDto,
|
|
182
|
-
>(
|
|
197
|
+
>(
|
|
198
|
+
body: API.PubUserAndOrgQueryDto[],
|
|
199
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
200
|
+
) {
|
|
183
201
|
return request.Post<R, T>('/rbac/user/userAndOrgList', body, {
|
|
184
202
|
headers: {
|
|
185
203
|
'Content-Type': 'application/json',
|
|
@@ -194,7 +212,10 @@ export function postRbacUserUserAndOrgList<
|
|
|
194
212
|
* @method GET
|
|
195
213
|
* @author @pubinfo/openapi
|
|
196
214
|
*/
|
|
197
|
-
export function getRbacUserUserDelete<
|
|
215
|
+
export function getRbacUserUserDelete<
|
|
216
|
+
R = API.ResponseDataVoid,
|
|
217
|
+
T = API.ResponseDataVoid,
|
|
218
|
+
>(
|
|
198
219
|
params: API.getRbacUserUserDeleteParams,
|
|
199
220
|
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
200
221
|
) {
|
|
@@ -230,7 +251,10 @@ export function getRbacUserUserEntireInfo<
|
|
|
230
251
|
export function postRbacUserUserForMultiOrgPage<
|
|
231
252
|
R = API.ResponseDataPageDataPubUserOrgBo,
|
|
232
253
|
T = API.ResponseDataPageDataPubUserOrgBo,
|
|
233
|
-
>(
|
|
254
|
+
>(
|
|
255
|
+
body: API.PubUserSplitOrgQueryDto,
|
|
256
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
257
|
+
) {
|
|
234
258
|
return request.Post<R, T>('/rbac/user/userForMultiOrgPage', body, {
|
|
235
259
|
headers: {
|
|
236
260
|
'Content-Type': 'application/json',
|
|
@@ -248,7 +272,10 @@ export function postRbacUserUserForMultiOrgPage<
|
|
|
248
272
|
export function postRbacUserUserPage<
|
|
249
273
|
R = API.ResponseDataPageDataPubUserBo,
|
|
250
274
|
T = API.ResponseDataPageDataPubUserBo,
|
|
251
|
-
>(
|
|
275
|
+
>(
|
|
276
|
+
body: API.PubUserQueryDto,
|
|
277
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
278
|
+
) {
|
|
252
279
|
return request.Post<R, T>('/rbac/user/userPage', body, {
|
|
253
280
|
headers: {
|
|
254
281
|
'Content-Type': 'application/json',
|
|
@@ -263,7 +290,10 @@ export function postRbacUserUserPage<
|
|
|
263
290
|
* @method POST
|
|
264
291
|
* @author @pubinfo/openapi
|
|
265
292
|
*/
|
|
266
|
-
export function postRbacUserUserUpdate<
|
|
293
|
+
export function postRbacUserUserUpdate<
|
|
294
|
+
R = API.ResponseDataVoid,
|
|
295
|
+
T = API.ResponseDataVoid,
|
|
296
|
+
>(
|
|
267
297
|
body: API.PubUserUpdateDto,
|
|
268
298
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
269
299
|
) {
|
|
@@ -281,7 +311,10 @@ export function postRbacUserUserUpdate<R = API.ResponseDataVoid, T = API.Respons
|
|
|
281
311
|
* @method POST
|
|
282
312
|
* @author @pubinfo/openapi
|
|
283
313
|
*/
|
|
284
|
-
export function postRbacUserUserUpdateV2<
|
|
314
|
+
export function postRbacUserUserUpdateV2<
|
|
315
|
+
R = API.ResponseDataVoid,
|
|
316
|
+
T = API.ResponseDataVoid,
|
|
317
|
+
>(
|
|
285
318
|
body: API.PubUserUpdateDto,
|
|
286
319
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
287
320
|
) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 删除用户收藏表数据 删除用户收藏表数据
|
|
@@ -6,7 +6,10 @@ import { basic as request } from '@/api/request';
|
|
|
6
6
|
* @method POST
|
|
7
7
|
* @author @pubinfo/openapi
|
|
8
8
|
*/
|
|
9
|
-
export function postRbacCollectByIdDelete<
|
|
9
|
+
export function postRbacCollectByIdDelete<
|
|
10
|
+
R = API.ResponseData,
|
|
11
|
+
T = API.ResponseData,
|
|
12
|
+
>(
|
|
10
13
|
params: API.postRbacCollectByIdDeleteParams,
|
|
11
14
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
12
15
|
) {
|
|
@@ -30,7 +33,10 @@ export function postRbacCollectByIdDelete<R = API.ResponseData, T = API.Response
|
|
|
30
33
|
export function getRbacCollectByIdDetail<
|
|
31
34
|
R = API.ResponseDataPubUserCollect,
|
|
32
35
|
T = API.ResponseDataPubUserCollect,
|
|
33
|
-
>(
|
|
36
|
+
>(
|
|
37
|
+
params: API.getRbacCollectByIdDetailParams,
|
|
38
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
39
|
+
) {
|
|
34
40
|
const { id: param0, ...queryParams } = params;
|
|
35
41
|
return request.Get<R, T>(`/rbac/collect/${param0}/detail`, {
|
|
36
42
|
params: { ...queryParams },
|
|
@@ -44,7 +50,10 @@ export function getRbacCollectByIdDetail<
|
|
|
44
50
|
* @method POST
|
|
45
51
|
* @author @pubinfo/openapi
|
|
46
52
|
*/
|
|
47
|
-
export function postRbacCollectAdd<
|
|
53
|
+
export function postRbacCollectAdd<
|
|
54
|
+
R = API.ResponseDataBoolean,
|
|
55
|
+
T = API.ResponseDataBoolean,
|
|
56
|
+
>(
|
|
48
57
|
body: API.AddPubUserCollectDto,
|
|
49
58
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
50
59
|
) {
|
|
@@ -65,7 +74,10 @@ export function postRbacCollectAdd<R = API.ResponseDataBoolean, T = API.Response
|
|
|
65
74
|
export function postRbacCollectFindPage<
|
|
66
75
|
R = API.ResponseDataPageDataPubUserCollect,
|
|
67
76
|
T = API.ResponseDataPageDataPubUserCollect,
|
|
68
|
-
>(
|
|
77
|
+
>(
|
|
78
|
+
body: API.PubUserCollectDto,
|
|
79
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
80
|
+
) {
|
|
69
81
|
return request.Post<R, T>('/rbac/collect/findPage', body, {
|
|
70
82
|
headers: {
|
|
71
83
|
'Content-Type': 'application/json',
|
|
@@ -83,7 +95,10 @@ export function postRbacCollectFindPage<
|
|
|
83
95
|
export function postRbacCollectRemoveCollect<
|
|
84
96
|
R = API.ResponseDataBoolean,
|
|
85
97
|
T = API.ResponseDataBoolean,
|
|
86
|
-
>(
|
|
98
|
+
>(
|
|
99
|
+
body: API.AddPubUserCollectDto,
|
|
100
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
101
|
+
) {
|
|
87
102
|
return request.Post<R, T>('/rbac/collect/removeCollect', body, {
|
|
88
103
|
headers: {
|
|
89
104
|
'Content-Type': 'application/json',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 根据主键获取用户最近常用表详情 根据主键获取用户最近常用表详情
|
|
@@ -9,7 +9,10 @@ import { basic as request } from '@/api/request';
|
|
|
9
9
|
export function getRbacUsedByIdDetail<
|
|
10
10
|
R = API.ResponseDataPubUserUsed,
|
|
11
11
|
T = API.ResponseDataPubUserUsed,
|
|
12
|
-
>(
|
|
12
|
+
>(
|
|
13
|
+
params: API.getRbacUsedByIdDetailParams,
|
|
14
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
15
|
+
) {
|
|
13
16
|
const { id: param0, ...queryParams } = params;
|
|
14
17
|
return request.Get<R, T>(`/rbac/used/${param0}/detail`, {
|
|
15
18
|
params: { ...queryParams },
|
|
@@ -41,7 +44,10 @@ export function postRbacUsedAdd<R = API.ResponseData, T = API.ResponseData>(
|
|
|
41
44
|
* @method POST
|
|
42
45
|
* @author @pubinfo/openapi
|
|
43
46
|
*/
|
|
44
|
-
export function postRbacUsedAddBatch<
|
|
47
|
+
export function postRbacUsedAddBatch<
|
|
48
|
+
R = API.ResponseData,
|
|
49
|
+
T = API.ResponseData,
|
|
50
|
+
>(
|
|
45
51
|
body: API.AddPubUserUsedDto[],
|
|
46
52
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
47
53
|
) {
|
|
@@ -62,7 +68,10 @@ export function postRbacUsedAddBatch<R = API.ResponseData, T = API.ResponseData>
|
|
|
62
68
|
export function postRbacUsedFindPage<
|
|
63
69
|
R = API.ResponseDataPageDataPubUserUsed,
|
|
64
70
|
T = API.ResponseDataPageDataPubUserUsed,
|
|
65
|
-
>(
|
|
71
|
+
>(
|
|
72
|
+
body: API.PubUserUsedDto,
|
|
73
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
74
|
+
) {
|
|
66
75
|
return request.Post<R, T>('/rbac/used/findPage', body, {
|
|
67
76
|
headers: {
|
|
68
77
|
'Content-Type': 'application/json',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 资源新增
|
|
@@ -9,7 +9,10 @@ import { basic as request } from '@/api/request';
|
|
|
9
9
|
export function postRbacResourceAddResource<
|
|
10
10
|
R = API.ResponseDataPubResource,
|
|
11
11
|
T = API.ResponseDataPubResource,
|
|
12
|
-
>(
|
|
12
|
+
>(
|
|
13
|
+
body: API.PubResourceAddDto,
|
|
14
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
15
|
+
) {
|
|
13
16
|
return request.Post<R, T>('/rbac/resource/addResource', body, {
|
|
14
17
|
headers: {
|
|
15
18
|
'Content-Type': 'application/json',
|
|
@@ -99,7 +102,10 @@ export function getRbacResourceGroupResourceTree<
|
|
|
99
102
|
export function getRbacResourceInfo<
|
|
100
103
|
R = API.ResponseDataPubResource,
|
|
101
104
|
T = API.ResponseDataPubResource,
|
|
102
|
-
>(
|
|
105
|
+
>(
|
|
106
|
+
params: API.getRbacResourceInfoParams,
|
|
107
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
108
|
+
) {
|
|
103
109
|
return request.Get<R, T>('/rbac/resource/info', {
|
|
104
110
|
params: {
|
|
105
111
|
...params,
|
|
@@ -127,13 +133,43 @@ export function postRbacResourceMenuTree<
|
|
|
127
133
|
);
|
|
128
134
|
}
|
|
129
135
|
|
|
136
|
+
/**
|
|
137
|
+
* @description 前端可自主选择的资源树(全量or自有)
|
|
138
|
+
* @url /rbac/resource/mineOrAllResourceTree
|
|
139
|
+
* @method POST
|
|
140
|
+
* @author @pubinfo/openapi
|
|
141
|
+
*/
|
|
142
|
+
export function postRbacResourceMineOrAllResourceTree<
|
|
143
|
+
R = API.ResponseDataListPubResourceTreeBo,
|
|
144
|
+
T = API.ResponseDataListPubResourceTreeBo,
|
|
145
|
+
>(
|
|
146
|
+
params: API.postRbacResourceMineOrAllResourceTreeParams,
|
|
147
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
148
|
+
) {
|
|
149
|
+
return request.Post<R, T>(
|
|
150
|
+
'/rbac/resource/mineOrAllResourceTree',
|
|
151
|
+
{},
|
|
152
|
+
{
|
|
153
|
+
params: {
|
|
154
|
+
// enable has a default value: true
|
|
155
|
+
enable: 'true',
|
|
156
|
+
...params,
|
|
157
|
+
},
|
|
158
|
+
...(options || {}),
|
|
159
|
+
},
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
|
|
130
163
|
/**
|
|
131
164
|
* @description 资源删除
|
|
132
165
|
* @url /rbac/resource/resourceDelete
|
|
133
166
|
* @method GET
|
|
134
167
|
* @author @pubinfo/openapi
|
|
135
168
|
*/
|
|
136
|
-
export function getRbacResourceResourceDelete<
|
|
169
|
+
export function getRbacResourceResourceDelete<
|
|
170
|
+
R = API.ResponseDataVoid,
|
|
171
|
+
T = API.ResponseDataVoid,
|
|
172
|
+
>(
|
|
137
173
|
params: API.getRbacResourceResourceDeleteParams,
|
|
138
174
|
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
139
175
|
) {
|
|
@@ -198,7 +234,10 @@ export function getRbacResourceResourceTree<
|
|
|
198
234
|
export function postRbacResourceResourceUpdate<
|
|
199
235
|
R = API.ResponseDataPubResource,
|
|
200
236
|
T = API.ResponseDataPubResource,
|
|
201
|
-
>(
|
|
237
|
+
>(
|
|
238
|
+
body: API.PubResourceUpdateDto,
|
|
239
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
240
|
+
) {
|
|
202
241
|
return request.Post<R, T>('/rbac/resource/resourceUpdate', body, {
|
|
203
242
|
headers: {
|
|
204
243
|
'Content-Type': 'application/json',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 租户新增
|
|
@@ -6,10 +6,10 @@ import { basic as request } from '@/api/request';
|
|
|
6
6
|
* @method POST
|
|
7
7
|
* @author @pubinfo/openapi
|
|
8
8
|
*/
|
|
9
|
-
export function postRbacTenantPubTenantAdd<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
) {
|
|
9
|
+
export function postRbacTenantPubTenantAdd<
|
|
10
|
+
R = API.ResponseDataString,
|
|
11
|
+
T = API.ResponseDataString,
|
|
12
|
+
>(body: API.PubTenantDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
13
13
|
return request.Post<R, T>('/rbac/tenant/pubTenantAdd', body, {
|
|
14
14
|
headers: {
|
|
15
15
|
'Content-Type': 'application/json',
|
|
@@ -24,7 +24,10 @@ export function postRbacTenantPubTenantAdd<R = API.ResponseDataString, T = API.R
|
|
|
24
24
|
* @method GET
|
|
25
25
|
* @author @pubinfo/openapi
|
|
26
26
|
*/
|
|
27
|
-
export function getRbacTenantPubTenantDelete<
|
|
27
|
+
export function getRbacTenantPubTenantDelete<
|
|
28
|
+
R = API.ResponseDataVoid,
|
|
29
|
+
T = API.ResponseDataVoid,
|
|
30
|
+
>(
|
|
28
31
|
params: API.getRbacTenantPubTenantDeleteParams,
|
|
29
32
|
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
30
33
|
) {
|
|
@@ -45,7 +48,10 @@ export function getRbacTenantPubTenantDelete<R = API.ResponseDataVoid, T = API.R
|
|
|
45
48
|
export function getRbacTenantPubTenantInfo<
|
|
46
49
|
R = API.ResponseDataPubTenantBo,
|
|
47
50
|
T = API.ResponseDataPubTenantBo,
|
|
48
|
-
>(
|
|
51
|
+
>(
|
|
52
|
+
params: API.getRbacTenantPubTenantInfoParams,
|
|
53
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
54
|
+
) {
|
|
49
55
|
return request.Get<R, T>('/rbac/tenant/pubTenantInfo', {
|
|
50
56
|
params: {
|
|
51
57
|
...params,
|
|
@@ -63,7 +69,10 @@ export function getRbacTenantPubTenantInfo<
|
|
|
63
69
|
export function postRbacTenantPubTenantPage<
|
|
64
70
|
R = API.ResponseDataPageDataPubTenant,
|
|
65
71
|
T = API.ResponseDataPageDataPubTenant,
|
|
66
|
-
>(
|
|
72
|
+
>(
|
|
73
|
+
body: API.PubTenantQueryDto,
|
|
74
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
75
|
+
) {
|
|
67
76
|
return request.Post<R, T>('/rbac/tenant/pubTenantPage', body, {
|
|
68
77
|
headers: {
|
|
69
78
|
'Content-Type': 'application/json',
|
|
@@ -78,10 +87,10 @@ export function postRbacTenantPubTenantPage<
|
|
|
78
87
|
* @method POST
|
|
79
88
|
* @author @pubinfo/openapi
|
|
80
89
|
*/
|
|
81
|
-
export function postRbacTenantPubTenantUpdate<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
) {
|
|
90
|
+
export function postRbacTenantPubTenantUpdate<
|
|
91
|
+
R = API.ResponseDataVoid,
|
|
92
|
+
T = API.ResponseDataVoid,
|
|
93
|
+
>(body: API.PubTenantDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
85
94
|
return request.Post<R, T>('/rbac/tenant/pubTenantUpdate', body, {
|
|
86
95
|
headers: {
|
|
87
96
|
'Content-Type': 'application/json',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 根据OrgID获取组织所有角色 根据OrgID获取组织所有角色
|
|
@@ -30,7 +30,10 @@ export function getRbacOrgRoleGetAllByOrgId<
|
|
|
30
30
|
export function getRbacOrgRoleGetByOrgId<
|
|
31
31
|
R = API.ResponseDataPubOrgRoleBo,
|
|
32
32
|
T = API.ResponseDataPubOrgRoleBo,
|
|
33
|
-
>(
|
|
33
|
+
>(
|
|
34
|
+
params: API.getRbacOrgRoleGetByOrgIdParams,
|
|
35
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
36
|
+
) {
|
|
34
37
|
return request.Get<R, T>('/rbac/orgRole/getByOrgId', {
|
|
35
38
|
params: {
|
|
36
39
|
...params,
|
|
@@ -48,7 +51,10 @@ export function getRbacOrgRoleGetByOrgId<
|
|
|
48
51
|
export function postRbacOrgRoleRoleOrgPage<
|
|
49
52
|
R = API.ResponseDataPageDataPubOrgBo,
|
|
50
53
|
T = API.ResponseDataPageDataPubOrgBo,
|
|
51
|
-
>(
|
|
54
|
+
>(
|
|
55
|
+
body: API.PubRoleQueryDto,
|
|
56
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
57
|
+
) {
|
|
52
58
|
return request.Post<R, T>('/rbac/orgRole/roleOrgPage', body, {
|
|
53
59
|
headers: {
|
|
54
60
|
'Content-Type': 'application/json',
|
|
@@ -66,7 +72,10 @@ export function postRbacOrgRoleRoleOrgPage<
|
|
|
66
72
|
export function postRbacOrgRoleSaveOrgRole<
|
|
67
73
|
R = API.ResponseDataPubOrgRoleAddDto,
|
|
68
74
|
T = API.ResponseDataPubOrgRoleAddDto,
|
|
69
|
-
>(
|
|
75
|
+
>(
|
|
76
|
+
body: API.PubOrgRoleAddDto,
|
|
77
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
78
|
+
) {
|
|
70
79
|
return request.Post<R, T>('/rbac/orgRole/saveOrgRole', body, {
|
|
71
80
|
headers: {
|
|
72
81
|
'Content-Type': 'application/json',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { basic as request } from '@/api/request';
|
|
1
|
+
import { basic as request } from '@/features/api/request';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @description 新增
|
|
@@ -6,10 +6,10 @@ import { basic as request } from '@/api/request';
|
|
|
6
6
|
* @method POST
|
|
7
7
|
* @author @pubinfo/openapi
|
|
8
8
|
*/
|
|
9
|
-
export function postRbacOrgAddOrg<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
) {
|
|
9
|
+
export function postRbacOrgAddOrg<
|
|
10
|
+
R = API.ResponseDataPubOrg,
|
|
11
|
+
T = API.ResponseDataPubOrg,
|
|
12
|
+
>(body: API.PubOrgAddDto, options?: Parameters<typeof request.Post<R, T>>[2]) {
|
|
13
13
|
return request.Post<R, T>('/rbac/org/addOrg', body, {
|
|
14
14
|
headers: {
|
|
15
15
|
'Content-Type': 'application/json',
|
|
@@ -24,7 +24,10 @@ export function postRbacOrgAddOrg<R = API.ResponseDataPubOrg, T = API.ResponseDa
|
|
|
24
24
|
* @method GET
|
|
25
25
|
* @author @pubinfo/openapi
|
|
26
26
|
*/
|
|
27
|
-
export function getRbacOrgDeleteOrg<
|
|
27
|
+
export function getRbacOrgDeleteOrg<
|
|
28
|
+
R = API.ResponseDataVoid,
|
|
29
|
+
T = API.ResponseDataVoid,
|
|
30
|
+
>(
|
|
28
31
|
params: API.getRbacOrgDeleteOrgParams,
|
|
29
32
|
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
30
33
|
) {
|
|
@@ -42,7 +45,10 @@ export function getRbacOrgDeleteOrg<R = API.ResponseDataVoid, T = API.ResponseDa
|
|
|
42
45
|
* @method GET
|
|
43
46
|
* @author @pubinfo/openapi
|
|
44
47
|
*/
|
|
45
|
-
export function getRbacOrgInfo<
|
|
48
|
+
export function getRbacOrgInfo<
|
|
49
|
+
R = API.ResponseDataPubOrg,
|
|
50
|
+
T = API.ResponseDataPubOrg,
|
|
51
|
+
>(
|
|
46
52
|
params: API.getRbacOrgInfoParams,
|
|
47
53
|
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
48
54
|
) {
|
|
@@ -87,7 +93,10 @@ export function getRbacOrgOrgListByParentId<
|
|
|
87
93
|
export function postRbacOrgSearch<
|
|
88
94
|
R = API.ResponseDataPageDataPubOrg,
|
|
89
95
|
T = API.ResponseDataPageDataPubOrg,
|
|
90
|
-
>(
|
|
96
|
+
>(
|
|
97
|
+
body: API.OrgSearchQuery,
|
|
98
|
+
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
99
|
+
) {
|
|
91
100
|
return request.Post<R, T>('/rbac/org/search', body, {
|
|
92
101
|
headers: {
|
|
93
102
|
'Content-Type': 'application/json',
|
|
@@ -123,7 +132,10 @@ export function postRbacOrgSearchOrgByIds<
|
|
|
123
132
|
export function getRbacOrgSearchSubOrgById<
|
|
124
133
|
R = API.ResponseDataListPubOrg,
|
|
125
134
|
T = API.ResponseDataListPubOrg,
|
|
126
|
-
>(
|
|
135
|
+
>(
|
|
136
|
+
params: API.getRbacOrgSearchSubOrgByIdParams,
|
|
137
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
138
|
+
) {
|
|
127
139
|
return request.Get<R, T>('/rbac/org/searchSubOrgById', {
|
|
128
140
|
params: {
|
|
129
141
|
...params,
|
|
@@ -141,7 +153,10 @@ export function getRbacOrgSearchSubOrgById<
|
|
|
141
153
|
export function getRbacOrgSearchTreeById<
|
|
142
154
|
R = API.ResponseDataPubOrgTreeBo,
|
|
143
155
|
T = API.ResponseDataPubOrgTreeBo,
|
|
144
|
-
>(
|
|
156
|
+
>(
|
|
157
|
+
params: API.getRbacOrgSearchTreeByIdParams,
|
|
158
|
+
options?: Parameters<typeof request.Get<R, T>>[1],
|
|
159
|
+
) {
|
|
145
160
|
return request.Get<R, T>('/rbac/org/searchTreeById', {
|
|
146
161
|
params: {
|
|
147
162
|
// id has a default value: 0
|
|
@@ -158,7 +173,10 @@ export function getRbacOrgSearchTreeById<
|
|
|
158
173
|
* @method POST
|
|
159
174
|
* @author @pubinfo/openapi
|
|
160
175
|
*/
|
|
161
|
-
export function postRbacOrgUpdateOrg<
|
|
176
|
+
export function postRbacOrgUpdateOrg<
|
|
177
|
+
R = API.ResponseDataPubOrg,
|
|
178
|
+
T = API.ResponseDataPubOrg,
|
|
179
|
+
>(
|
|
162
180
|
body: API.PubOrgUpdateDto,
|
|
163
181
|
options?: Parameters<typeof request.Post<R, T>>[2],
|
|
164
182
|
) {
|