@pubinfo/core 2.0.0-beta.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/es/AppSetting-BXQHV5F8.js +125 -0
- package/es/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +25 -0
- package/es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js +41 -0
- package/es/HDivider-DgXBhPr0.js +21 -0
- package/es/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +33 -0
- package/es/HToggle-Cd71WKvG.js +34 -0
- package/es/PreferencesContent-CQkwkQ_1.js +972 -0
- package/es/SettingBreadcrumb-Bp_66IFN.js +50 -0
- package/es/SettingCopyright-BPSnoTQb.js +62 -0
- package/es/SettingEnableTransition-Rx2-0Wxj.js +78 -0
- package/es/SettingHome-BW27PQqs.js +55 -0
- package/es/SettingMenu-D5gdNfal.js +120 -0
- package/es/SettingMode-B4_HGVez.js +69 -0
- package/es/SettingNavSearch-CRovYxzh.js +46 -0
- package/es/SettingOther-D0zo11vM.js +81 -0
- package/es/SettingPage-B8GHuoKV.js +29 -0
- package/es/SettingTabbar-Cn_QzvA8.js +154 -0
- package/es/SettingThemes-D_DpEncn.js +144 -0
- package/es/SettingToolbar-Csl2gnfi.js +85 -0
- package/es/SettingTopbar-CaHjQULM.js +52 -0
- package/es/SettingWidthMode-BGiP7gTw.js +68 -0
- package/es/TopThinMode-DWm0oY5Y.js +35 -0
- package/es/_...all_-DI_QAUox.js +52 -0
- package/es/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/es/api/enum/code.d.ts +67 -0
- package/es/api/helper.d.ts +32 -0
- package/es/api/index.d.ts +12 -0
- package/es/api/interface.d.ts +14 -0
- package/es/api/modules/auth/index.d.ts +1 -0
- package/es/api/modules/auth/renzhengfuwu.d.ts +50 -0
- package/es/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/es/api/modules/configData/index.d.ts +3 -0
- package/es/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/es/api/modules/configData/zidianfuwu.d.ts +71 -0
- package/es/api/modules/rbac/gangweijiekou.d.ts +43 -0
- package/es/api/modules/rbac/index.d.ts +11 -0
- package/es/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/es/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/es/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/es/api/modules/rbac/yonghujiekou.d.ts +106 -0
- package/es/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/es/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/es/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/es/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/es/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/es/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/es/api/request.d.ts +2 -0
- package/es/api/system/app.d.ts +17 -0
- package/es/api/system/user.d.ts +24 -0
- package/es/assets/styles/index.d.ts +6 -0
- package/es/colors-oRlAXMUC.js +25 -0
- package/es/components/NotAllowed/index.vue.d.ts +2 -0
- package/es/components/PageHeader/index.vue.d.ts +23 -0
- package/es/components/PageMain/index.vue.d.ts +27 -0
- package/es/components/PassStrengthValidator/index.vue.d.ts +26 -0
- package/es/components/PassStrengthValidator/rule.vue.d.ts +8 -0
- package/es/components/PubinfoApp/index.vue.d.ts +2 -0
- package/es/components/PubinfoIcon/index.vue.d.ts +10 -0
- package/es/components/PubinfoProvider/index.d.ts +8 -0
- package/es/components/index.d.ts +8 -0
- package/es/composables/auth.d.ts +8 -0
- package/es/composables/index.d.ts +4 -0
- package/es/composables/log.d.ts +6 -0
- package/es/composables/theme.d.ts +3 -0
- package/es/composables/watchDiff.d.ts +2 -0
- package/es/config/index.d.ts +1 -0
- package/es/config/settings.d.ts +3 -0
- package/es/context.d.ts +14 -0
- package/es/create.d.ts +3 -0
- package/es/directives/index.d.ts +4 -0
- package/es/directives/plugins/permission.d.ts +6 -0
- package/es/index-B9I6Pru6.js +276 -0
- package/es/index-BHkrq701.js +137 -0
- package/es/index-BkqnOkyO.js +49 -0
- package/es/index-BvVAS3S-.js +35841 -0
- package/es/index-ChOUZNbk.js +354 -0
- package/es/index-D8eeneI_.js +271 -0
- package/es/index-DTQQt_XY.js +10 -0
- package/es/index-Dav3jQVP.js +8228 -0
- package/es/index-DvHnVMX5.js +12913 -0
- package/es/index-P2cA5UeU.js +230 -0
- package/es/index.d.ts +11 -0
- package/es/index.js +76 -0
- package/es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js +2300 -0
- package/es/interface.d.ts +29 -0
- package/es/layout/Layout.vue.d.ts +20 -0
- package/es/layout/components/BackTop/index.vue.d.ts +2 -0
- package/es/layout/components/Content/IframeView.vue.d.ts +4 -0
- package/es/layout/components/Content/LinkView.vue.d.ts +2 -0
- package/es/layout/components/Content/index.vue.d.ts +2 -0
- package/es/layout/components/Copyright/index.vue.d.ts +2 -0
- package/es/layout/components/Header/TopMode/More.vue.d.ts +26 -0
- package/es/layout/components/Header/TopMode/NotCursor.vue.d.ts +25 -0
- package/es/layout/components/Header/TopMode/index.vue.d.ts +4 -0
- package/es/layout/components/Header/TopThinMode.vue.d.ts +4 -0
- package/es/layout/components/Header/index.vue.d.ts +19 -0
- package/es/layout/components/Logo/index.vue.d.ts +26 -0
- package/es/layout/components/Menu/index.vue.d.ts +10 -0
- package/es/layout/components/Menu/item.vue.d.ts +11 -0
- package/es/layout/components/Menu/sub.vue.d.ts +219 -0
- package/es/layout/components/Menu/types.d.ts +42 -0
- package/es/layout/components/SettingBar/AppSetting.vue.d.ts +12 -0
- package/es/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
- package/es/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
- package/es/layout/components/SettingBar/index.vue.d.ts +2 -0
- package/es/layout/components/Sidebar/MainSidebar.vue.d.ts +2 -0
- package/es/layout/components/Sidebar/SubSidebar.vue.d.ts +2 -0
- package/es/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/es/layout/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
- package/es/layout/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
- package/es/layout/components/Tools/DayNightSwitch.vue.d.ts +2 -0
- package/es/layout/components/Tools/HotkeysIntro.vue.d.ts +4 -0
- package/es/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
- package/es/layout/components/Tools/Preferences/index.vue.d.ts +4 -0
- package/es/layout/components/Tools/Search.vue.d.ts +199 -0
- package/es/layout/components/Tools/index.vue.d.ts +233 -0
- package/es/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +217 -0
- package/es/layout/components/Topbar/Tabbar/index.vue.d.ts +14 -0
- package/es/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
- package/es/layout/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
- package/es/layout/components/Topbar/Toolbar/index.vue.d.ts +2 -0
- package/es/layout/components/Topbar/index.vue.d.ts +2 -0
- package/es/layout/composables/useContext.d.ts +18 -0
- package/es/layout/composables/useGetComputedStyle.d.ts +15 -0
- package/es/layout/composables/useHotkey.d.ts +5 -0
- package/es/layout/composables/useMainPage.d.ts +14 -0
- package/es/layout/composables/useMenu.d.ts +8 -0
- package/es/layout/composables/useTabbar.d.ts +14 -0
- package/es/layout/composables/useTitle.d.ts +3 -0
- package/es/layout/composables/useViewTransition.d.ts +3 -0
- package/es/layout/composables/useWatermark.d.ts +4 -0
- package/es/layout/index.d.ts +19 -0
- package/es/layout/provider.d.ts +1 -0
- package/es/layout/ui-kit/HBadge.vue.d.ts +20 -0
- package/es/layout/ui-kit/HButton.vue.d.ts +26 -0
- package/es/layout/ui-kit/HCheckList.vue.d.ts +20 -0
- package/es/layout/ui-kit/HDialog.vue.d.ts +28 -0
- package/es/layout/ui-kit/HDivider.vue.d.ts +20 -0
- package/es/layout/ui-kit/HDropdown.vue.d.ts +18 -0
- package/es/layout/ui-kit/HDropdownMenu.vue.d.ts +26 -0
- package/es/layout/ui-kit/HDropdownTree.vue.d.ts +32 -0
- package/es/layout/ui-kit/HInput.vue.d.ts +17 -0
- package/es/layout/ui-kit/HKbd.vue.d.ts +17 -0
- package/es/layout/ui-kit/HSelect.vue.d.ts +17 -0
- package/es/layout/ui-kit/HSlideover.vue.d.ts +30 -0
- package/es/layout/ui-kit/HTabList.vue.d.ts +22 -0
- package/es/layout/ui-kit/HToggle.vue.d.ts +14 -0
- package/es/layout/ui-kit/HTooltip.vue.d.ts +23 -0
- package/es/locales/index.d.ts +301 -0
- package/es/locales/lang/en.json.d.ts +99 -0
- package/es/locales/lang/zh-cn.json.d.ts +100 -0
- package/es/locales/lang/zh-tw.json.d.ts +100 -0
- package/es/locales/ui.d.ts +3 -0
- package/es/modules.d.ts +11 -0
- package/es/notification-6D5hA7Bp.js +15347 -0
- package/es/pages/personal/profile/index.vue.d.ts +2 -0
- package/es/pages/system/[...all].vue.d.ts +2 -0
- package/es/pages/system/change-organization/index.vue.d.ts +2 -0
- package/es/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
- package/es/pages/system/change-password/index.vue.d.ts +31 -0
- package/es/pages/system/index.vue.d.ts +2 -0
- package/es/pages/system/not-permission/index.vue.d.ts +2 -0
- package/es/pages/system/reload.vue.d.ts +2 -0
- package/es/pick-Br-UKn7B.js +19 -0
- package/es/question-line-CfkciTFq.js +18 -0
- package/es/reload-CUcPYtl7.js +14 -0
- package/es/request.js +1811 -0
- package/es/right-Bfe2p1o0.js +36 -0
- package/es/route/async.d.ts +9 -0
- package/es/route/guard/auth.d.ts +3 -0
- package/es/route/guard/basic.d.ts +3 -0
- package/es/route/guard/index.d.ts +3 -0
- package/es/route/guard/setting.d.ts +3 -0
- package/es/route/index.d.ts +7 -0
- package/es/route/routes.d.ts +3 -0
- package/es/stores/enum/index.d.ts +20 -0
- package/es/stores/helper.d.ts +2 -0
- package/es/stores/index.d.ts +5 -0
- package/es/stores/modules/favorites.d.ts +32 -0
- package/es/stores/modules/iframe.d.ts +41 -0
- package/es/stores/modules/index.d.ts +9 -0
- package/es/stores/modules/keepAlive.d.ts +23 -0
- package/es/stores/modules/menu.d.ts +32 -0
- package/es/stores/modules/notification.d.ts +18 -0
- package/es/stores/modules/route.d.ts +42 -0
- package/es/stores/modules/settings.d.ts +85 -0
- package/es/stores/modules/tabbar.d.ts +59 -0
- package/es/stores/modules/user.d.ts +3 -0
- package/es/stores/plugin/persist.d.ts +5 -0
- package/es/stores/plugin/sideEffect/cleanup.d.ts +5 -0
- package/es/stores/plugin/sideEffect/favoritesStorage.d.ts +5 -0
- package/es/stores/plugin/sideEffect/iframeCache.d.ts +5 -0
- package/es/stores/plugin/sideEffect/index.d.ts +5 -0
- package/es/stores/plugin/sideEffect/tabbarStorage.d.ts +5 -0
- package/es/style.css +9 -0
- package/es/utils/cleanup.d.ts +8 -0
- package/es/utils/crypto.d.ts +4 -0
- package/es/utils/eventBus.d.ts +5 -0
- package/es/utils/index.d.ts +14 -0
- package/es/utils/injectionKeys.d.ts +2 -0
- package/es/utils/storage.d.ts +21 -0
- package/es/utils/utils.d.ts +3 -0
- package/es/utils/watermark.d.ts +51 -0
- package/lib/AppSetting-CCiwpjoq.cjs +1 -0
- package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +1 -0
- package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +1 -0
- package/lib/HDivider-DCfDgE8l.cjs +1 -0
- package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +1 -0
- package/lib/HToggle-BP6YYf-s.cjs +1 -0
- package/lib/PreferencesContent-DgL-Jc_J.cjs +3 -0
- package/lib/SettingBreadcrumb-BQ78yEP4.cjs +1 -0
- package/lib/SettingCopyright-x7aPlkQy.cjs +1 -0
- package/lib/SettingEnableTransition-CD3-44Iy.cjs +1 -0
- package/lib/SettingHome-u52oz6i8.cjs +1 -0
- package/lib/SettingMenu-DsElOvvv.cjs +1 -0
- package/lib/SettingMode-C_kgpTxw.cjs +1 -0
- package/lib/SettingNavSearch-3auTi8UW.cjs +1 -0
- package/lib/SettingOther-6XGQq7OA.cjs +1 -0
- package/lib/SettingPage-C8yIHpLc.cjs +1 -0
- package/lib/SettingTabbar-K-nHb89z.cjs +1 -0
- package/lib/SettingThemes-BeNwFz7K.cjs +1 -0
- package/lib/SettingToolbar-Be1V7lwV.cjs +1 -0
- package/lib/SettingTopbar-C-j8O3c8.cjs +1 -0
- package/lib/SettingWidthMode-GMjAF-s3.cjs +1 -0
- package/lib/TopThinMode-DGUvyHT2.cjs +1 -0
- package/lib/_...all_-C4CXjAo9.cjs +1 -0
- package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/lib/api/enum/code.d.ts +67 -0
- package/lib/api/helper.d.ts +32 -0
- package/lib/api/index.d.ts +12 -0
- package/lib/api/interface.d.ts +14 -0
- package/lib/api/modules/auth/index.d.ts +1 -0
- package/lib/api/modules/auth/renzhengfuwu.d.ts +50 -0
- package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/lib/api/modules/configData/index.d.ts +3 -0
- package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/lib/api/modules/configData/zidianfuwu.d.ts +71 -0
- package/lib/api/modules/rbac/gangweijiekou.d.ts +43 -0
- package/lib/api/modules/rbac/index.d.ts +11 -0
- package/lib/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/lib/api/modules/rbac/yonghujiekou.d.ts +106 -0
- package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/lib/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/lib/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/lib/api/request.d.ts +2 -0
- package/lib/api/system/app.d.ts +17 -0
- package/lib/api/system/user.d.ts +24 -0
- package/lib/assets/styles/index.d.ts +6 -0
- package/lib/colors-KAaBT84S.cjs +1 -0
- package/lib/components/NotAllowed/index.vue.d.ts +2 -0
- package/lib/components/PageHeader/index.vue.d.ts +23 -0
- package/lib/components/PageMain/index.vue.d.ts +27 -0
- package/lib/components/PassStrengthValidator/index.vue.d.ts +26 -0
- package/lib/components/PassStrengthValidator/rule.vue.d.ts +8 -0
- package/lib/components/PubinfoApp/index.vue.d.ts +2 -0
- package/lib/components/PubinfoIcon/index.vue.d.ts +10 -0
- package/lib/components/PubinfoProvider/index.d.ts +8 -0
- package/lib/components/index.d.ts +8 -0
- package/lib/composables/auth.d.ts +8 -0
- package/lib/composables/index.d.ts +4 -0
- package/lib/composables/log.d.ts +6 -0
- package/lib/composables/theme.d.ts +3 -0
- package/lib/composables/watchDiff.d.ts +2 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/config/settings.d.ts +3 -0
- package/lib/context.d.ts +14 -0
- package/lib/create.d.ts +3 -0
- package/lib/directives/index.d.ts +4 -0
- package/lib/directives/plugins/permission.d.ts +6 -0
- package/lib/index-38bsQrho.cjs +1 -0
- package/lib/index-BEqD62a0.cjs +1 -0
- package/lib/index-Bbm9CQRP.cjs +1 -0
- package/lib/index-BqHsuJkr.cjs +1 -0
- package/lib/index-JZl6Zh3L.cjs +44 -0
- package/lib/index-VGR0Mt4q.cjs +240 -0
- package/lib/index-WMo0GAa6.cjs +1 -0
- package/lib/index-_YsHduAE.cjs +1 -0
- package/lib/index-gr8kFwPx.cjs +18 -0
- package/lib/index-zvGq9tSu.cjs +1 -0
- package/lib/index.cjs +1 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +1 -0
- package/lib/interface.d.ts +29 -0
- package/lib/layout/Layout.vue.d.ts +20 -0
- package/lib/layout/components/BackTop/index.vue.d.ts +2 -0
- package/lib/layout/components/Content/IframeView.vue.d.ts +4 -0
- package/lib/layout/components/Content/LinkView.vue.d.ts +2 -0
- package/lib/layout/components/Content/index.vue.d.ts +2 -0
- package/lib/layout/components/Copyright/index.vue.d.ts +2 -0
- package/lib/layout/components/Header/TopMode/More.vue.d.ts +26 -0
- package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +25 -0
- package/lib/layout/components/Header/TopMode/index.vue.d.ts +4 -0
- package/lib/layout/components/Header/TopThinMode.vue.d.ts +4 -0
- package/lib/layout/components/Header/index.vue.d.ts +19 -0
- package/lib/layout/components/Logo/index.vue.d.ts +26 -0
- package/lib/layout/components/Menu/index.vue.d.ts +10 -0
- package/lib/layout/components/Menu/item.vue.d.ts +11 -0
- package/lib/layout/components/Menu/sub.vue.d.ts +219 -0
- package/lib/layout/components/Menu/types.d.ts +42 -0
- package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +12 -0
- package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +9 -0
- package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +2 -0
- package/lib/layout/components/SettingBar/index.vue.d.ts +2 -0
- package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +2 -0
- package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +2 -0
- package/lib/layout/components/Sidebar/index.vue.d.ts +2 -0
- package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +17 -0
- package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +25 -0
- package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +2 -0
- package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +4 -0
- package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +2 -0
- package/lib/layout/components/Tools/Preferences/index.vue.d.ts +4 -0
- package/lib/layout/components/Tools/Search.vue.d.ts +199 -0
- package/lib/layout/components/Tools/index.vue.d.ts +233 -0
- package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +217 -0
- package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +14 -0
- package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +4 -0
- package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +2 -0
- package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +2 -0
- package/lib/layout/components/Topbar/index.vue.d.ts +2 -0
- package/lib/layout/composables/useContext.d.ts +18 -0
- package/lib/layout/composables/useGetComputedStyle.d.ts +15 -0
- package/lib/layout/composables/useHotkey.d.ts +5 -0
- package/lib/layout/composables/useMainPage.d.ts +14 -0
- package/lib/layout/composables/useMenu.d.ts +8 -0
- package/lib/layout/composables/useTabbar.d.ts +14 -0
- package/lib/layout/composables/useTitle.d.ts +3 -0
- package/lib/layout/composables/useViewTransition.d.ts +3 -0
- package/lib/layout/composables/useWatermark.d.ts +4 -0
- package/lib/layout/index.d.ts +19 -0
- package/lib/layout/provider.d.ts +1 -0
- package/lib/layout/ui-kit/HBadge.vue.d.ts +20 -0
- package/lib/layout/ui-kit/HButton.vue.d.ts +26 -0
- package/lib/layout/ui-kit/HCheckList.vue.d.ts +20 -0
- package/lib/layout/ui-kit/HDialog.vue.d.ts +28 -0
- package/lib/layout/ui-kit/HDivider.vue.d.ts +20 -0
- package/lib/layout/ui-kit/HDropdown.vue.d.ts +18 -0
- package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +26 -0
- package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +32 -0
- package/lib/layout/ui-kit/HInput.vue.d.ts +17 -0
- package/lib/layout/ui-kit/HKbd.vue.d.ts +17 -0
- package/lib/layout/ui-kit/HSelect.vue.d.ts +17 -0
- package/lib/layout/ui-kit/HSlideover.vue.d.ts +30 -0
- package/lib/layout/ui-kit/HTabList.vue.d.ts +22 -0
- package/lib/layout/ui-kit/HToggle.vue.d.ts +14 -0
- package/lib/layout/ui-kit/HTooltip.vue.d.ts +23 -0
- package/lib/locales/index.d.ts +301 -0
- package/lib/locales/lang/en.json.d.ts +99 -0
- package/lib/locales/lang/zh-cn.json.d.ts +100 -0
- package/lib/locales/lang/zh-tw.json.d.ts +100 -0
- package/lib/locales/ui.d.ts +3 -0
- package/lib/modules.d.ts +11 -0
- package/lib/notification-IZqPm_OK.cjs +199 -0
- package/lib/pages/personal/profile/index.vue.d.ts +2 -0
- package/lib/pages/system/[...all].vue.d.ts +2 -0
- package/lib/pages/system/change-organization/index.vue.d.ts +2 -0
- package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +18 -0
- package/lib/pages/system/change-password/index.vue.d.ts +31 -0
- package/lib/pages/system/index.vue.d.ts +2 -0
- package/lib/pages/system/not-permission/index.vue.d.ts +2 -0
- package/lib/pages/system/reload.vue.d.ts +2 -0
- package/lib/pick-y2yLda1R.cjs +1 -0
- package/lib/question-line-Cd0CU4hr.cjs +1 -0
- package/lib/reload-6L7Dzs7h.cjs +1 -0
- package/lib/request.cjs +6 -0
- package/lib/right-C5JQ_uRB.cjs +1 -0
- package/lib/route/async.d.ts +9 -0
- package/lib/route/guard/auth.d.ts +3 -0
- package/lib/route/guard/basic.d.ts +3 -0
- package/lib/route/guard/index.d.ts +3 -0
- package/lib/route/guard/setting.d.ts +3 -0
- package/lib/route/index.d.ts +7 -0
- package/lib/route/routes.d.ts +3 -0
- package/lib/stores/enum/index.d.ts +20 -0
- package/lib/stores/helper.d.ts +2 -0
- package/lib/stores/index.d.ts +5 -0
- package/lib/stores/modules/favorites.d.ts +32 -0
- package/lib/stores/modules/iframe.d.ts +41 -0
- package/lib/stores/modules/index.d.ts +9 -0
- package/lib/stores/modules/keepAlive.d.ts +23 -0
- package/lib/stores/modules/menu.d.ts +32 -0
- package/lib/stores/modules/notification.d.ts +18 -0
- package/lib/stores/modules/route.d.ts +42 -0
- package/lib/stores/modules/settings.d.ts +85 -0
- package/lib/stores/modules/tabbar.d.ts +59 -0
- package/lib/stores/modules/user.d.ts +3 -0
- package/lib/stores/plugin/persist.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/cleanup.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/iframeCache.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/index.d.ts +5 -0
- package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +5 -0
- package/lib/style.css +9 -0
- package/lib/utils/cleanup.d.ts +8 -0
- package/lib/utils/crypto.d.ts +4 -0
- package/lib/utils/eventBus.d.ts +5 -0
- package/lib/utils/index.d.ts +14 -0
- package/lib/utils/injectionKeys.d.ts +2 -0
- package/lib/utils/storage.d.ts +21 -0
- package/lib/utils/utils.d.ts +3 -0
- package/lib/utils/watermark.d.ts +51 -0
- package/package.json +101 -0
- package/src/api/enum/code.ts +78 -0
- package/src/api/helper.ts +64 -0
- package/src/api/index.ts +75 -0
- package/src/api/interface.ts +15 -0
- package/src/api/modules/auth/index.ts +3 -0
- package/src/api/modules/auth/renzhengfuwu.ts +131 -0
- package/src/api/modules/auth/typings.d.ts +97 -0
- package/src/api/modules/configData/heibaimingdanfuwu.ts +95 -0
- package/src/api/modules/configData/index.ts +5 -0
- package/src/api/modules/configData/typings.d.ts +357 -0
- package/src/api/modules/configData/xitongpeizhifuwu.ts +322 -0
- package/src/api/modules/configData/zidianfuwu.ts +193 -0
- package/src/api/modules/rbac/gangweijiekou.ts +114 -0
- package/src/api/modules/rbac/index.ts +13 -0
- package/src/api/modules/rbac/jiaosejiekou.ts +124 -0
- package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +113 -0
- package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +186 -0
- package/src/api/modules/rbac/typings.d.ts +2030 -0
- package/src/api/modules/rbac/yonghujiekou.ts +294 -0
- package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +93 -0
- package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +72 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +223 -0
- package/src/api/modules/rbac/zuhuguanlijiekou.ts +91 -0
- package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +76 -0
- package/src/api/modules/rbac/zuzhijiekou.ts +171 -0
- package/src/api/request.ts +4 -0
- package/src/api/system/app.ts +28 -0
- package/src/api/system/typings.d.ts +77 -0
- package/src/api/system/user.ts +47 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.eot +0 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.svg +135 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.woff +0 -0
- package/src/assets/fonts/digital-7/digital-7-webfont.woff2 +0 -0
- package/src/assets/fonts/digital-7/stylesheet.css +12 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.eot +0 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.svg +134 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff +0 -0
- package/src/assets/fonts/digital-7_mono/digital-7_mono-webfont.woff2 +0 -0
- package/src/assets/fonts/digital-7_mono/stylesheet.css +12 -0
- package/src/assets/fonts/title.otf +0 -0
- package/src/assets/icons/403.svg +1 -0
- package/src/assets/icons/403_dark.svg +1 -0
- package/src/assets/icons/404.svg +1 -0
- package/src/assets/icons/404_dark.svg +1 -0
- package/src/assets/icons/add-child.svg +1 -0
- package/src/assets/icons/authority.svg +1 -0
- package/src/assets/icons/authorize.svg +1 -0
- package/src/assets/icons/blacklist-disable.svg +1 -0
- package/src/assets/icons/blacklist-enable.svg +1 -0
- package/src/assets/icons/browser-360.svg +1 -0
- package/src/assets/icons/browser-chrome.svg +1 -0
- package/src/assets/icons/browser-edge.svg +1 -0
- package/src/assets/icons/browser-ie.svg +1 -0
- package/src/assets/icons/browser-other.svg +1 -0
- package/src/assets/icons/browser-qq.svg +1 -0
- package/src/assets/icons/browser-safari.svg +1 -0
- package/src/assets/icons/browser-uc.svg +1 -0
- package/src/assets/icons/change-org.svg +1 -0
- package/src/assets/icons/edit.svg +1 -0
- package/src/assets/icons/empty-data.svg +1 -0
- package/src/assets/icons/favorites.svg +1 -0
- package/src/assets/icons/icard.svg +1 -0
- package/src/assets/icons/icon_animation.svg +1 -0
- package/src/assets/icons/icon_breadcrumb.svg +1 -0
- package/src/assets/icons/icon_copyright.svg +1 -0
- package/src/assets/icons/icon_jt.svg +1 -0
- package/src/assets/icons/icon_layout.svg +1 -0
- package/src/assets/icons/icon_mainpage.svg +1 -0
- package/src/assets/icons/icon_menu.svg +1 -0
- package/src/assets/icons/icon_page_size.svg +1 -0
- package/src/assets/icons/icon_position_type.svg +1 -0
- package/src/assets/icons/icon_safe_manage.svg +1 -0
- package/src/assets/icons/icon_screen_scale.svg +6 -0
- package/src/assets/icons/icon_system_manage.svg +1 -0
- package/src/assets/icons/icon_tabbar.svg +1 -0
- package/src/assets/icons/icon_toolbar.svg +1 -0
- package/src/assets/icons/icon_topbar.svg +1 -0
- package/src/assets/icons/icon_watermark.svg +1 -0
- package/src/assets/icons/image-load-fail.svg +1 -0
- package/src/assets/icons/log-center.svg +1 -0
- package/src/assets/icons/logo-sig.svg +1 -0
- package/src/assets/icons/mima.svg +1 -0
- package/src/assets/icons/not-data.svg +1 -0
- package/src/assets/icons/org-main.svg +1 -0
- package/src/assets/icons/org-unmain.svg +1 -0
- package/src/assets/icons/process-management.svg +1 -0
- package/src/assets/icons/project-management.svg +1 -0
- package/src/assets/icons/rbac.svg +1 -0
- package/src/assets/icons/remove.svg +1 -0
- package/src/assets/icons/resource-app.svg +1 -0
- package/src/assets/icons/resource-btn.svg +1 -0
- package/src/assets/icons/resource-index.svg +1 -0
- package/src/assets/icons/resource-menu.svg +1 -0
- package/src/assets/icons/resource-nonmenu.svg +1 -0
- package/src/assets/icons/setting-manage.svg +1 -0
- package/src/assets/icons/test.svg +1 -0
- package/src/assets/icons/theme-check-mark.svg +1 -0
- package/src/assets/icons/theme-title.svg +1 -0
- package/src/assets/icons/toolbar-collapse.svg +1 -0
- package/src/assets/icons/tree_icon.svg +1 -0
- package/src/assets/icons/tree_icon_checked.svg +1 -0
- package/src/assets/icons/view.svg +1 -0
- package/src/assets/icons/workbench.svg +1 -0
- package/src/assets/icons/zddata.svg +1 -0
- package/src/assets/icons/zy_checked.svg +1 -0
- package/src/assets/icons/zy_default.svg +1 -0
- package/src/assets/images/change-org-bc.webp +0 -0
- package/src/assets/images/header-bg.png +0 -0
- 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/login-small.png +0 -0
- package/src/assets/images/login-small_dark.webp +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/assets/images/not-cursor.png +0 -0
- package/src/assets/images/org.svg +19 -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/images/slider-bg.png +0 -0
- package/src/assets/styles/globals.scss +189 -0
- package/src/assets/styles/index.ts +6 -0
- package/src/assets/styles/nprogress.scss +63 -0
- package/src/assets/styles/rbac.scss +61 -0
- package/src/assets/styles/resources/utils.scss +53 -0
- package/src/assets/styles/resources/variables.scss +6 -0
- package/src/components/NotAllowed/index.vue +76 -0
- package/src/components/PageHeader/index.vue +32 -0
- package/src/components/PageMain/index.vue +51 -0
- package/src/components/PassStrengthValidator/index.vue +213 -0
- package/src/components/PassStrengthValidator/rule.vue +51 -0
- package/src/components/PubinfoApp/index.vue +21 -0
- package/src/components/PubinfoIcon/index.vue +85 -0
- package/src/components/PubinfoProvider/index.ts +34 -0
- package/src/components/index.ts +8 -0
- package/src/composables/auth.ts +53 -0
- package/src/composables/index.ts +4 -0
- package/src/composables/log.ts +44 -0
- package/src/composables/theme.ts +16 -0
- package/src/composables/watchDiff.ts +53 -0
- package/src/config/index.ts +1 -0
- package/src/config/settings.ts +107 -0
- package/src/context.ts +30 -0
- package/src/create.ts +88 -0
- package/src/directives/index.ts +6 -0
- package/src/directives/plugins/permission.ts +23 -0
- package/src/index.ts +12 -0
- package/src/interface.ts +35 -0
- package/src/layout/Layout.vue +330 -0
- package/src/layout/components/BackTop/index.vue +47 -0
- package/src/layout/components/Content/IframeView.vue +120 -0
- package/src/layout/components/Content/LinkView.vue +118 -0
- package/src/layout/components/Content/index.vue +100 -0
- package/src/layout/components/Copyright/index.vue +49 -0
- package/src/layout/components/Header/TopMode/More.vue +103 -0
- package/src/layout/components/Header/TopMode/NotCursor.vue +77 -0
- package/src/layout/components/Header/TopMode/index.vue +151 -0
- package/src/layout/components/Header/TopThinMode.vue +45 -0
- package/src/layout/components/Header/index.vue +263 -0
- package/src/layout/components/Logo/index.vue +70 -0
- package/src/layout/components/Menu/index.vue +195 -0
- package/src/layout/components/Menu/item.vue +166 -0
- package/src/layout/components/Menu/sub.vue +220 -0
- package/src/layout/components/Menu/types.ts +49 -0
- package/src/layout/components/SettingBar/AppSetting.vue +146 -0
- package/src/layout/components/SettingBar/components/DayNightToggle.vue +238 -0
- package/src/layout/components/SettingBar/components/SettingBreadcrumb.vue +42 -0
- package/src/layout/components/SettingBar/components/SettingCopyright.vue +44 -0
- package/src/layout/components/SettingBar/components/SettingEnableTransition.vue +215 -0
- package/src/layout/components/SettingBar/components/SettingHome.vue +33 -0
- package/src/layout/components/SettingBar/components/SettingMenu.vue +108 -0
- package/src/layout/components/SettingBar/components/SettingMode.vue +164 -0
- package/src/layout/components/SettingBar/components/SettingNavSearch.vue +30 -0
- package/src/layout/components/SettingBar/components/SettingOther.vue +53 -0
- package/src/layout/components/SettingBar/components/SettingPage.vue +20 -0
- package/src/layout/components/SettingBar/components/SettingTabbar.vue +70 -0
- package/src/layout/components/SettingBar/components/SettingThemes.vue +202 -0
- package/src/layout/components/SettingBar/components/SettingToolbar.vue +54 -0
- package/src/layout/components/SettingBar/components/SettingTopbar.vue +37 -0
- package/src/layout/components/SettingBar/components/SettingWidthMode.vue +149 -0
- package/src/layout/components/SettingBar/index.vue +112 -0
- package/src/layout/components/Sidebar/MainSidebar.vue +240 -0
- package/src/layout/components/Sidebar/SubSidebar.vue +165 -0
- package/src/layout/components/Sidebar/index.vue +13 -0
- package/src/layout/components/Tools/Breadcrumb/index.vue +21 -0
- package/src/layout/components/Tools/Breadcrumb/item.vue +44 -0
- package/src/layout/components/Tools/DayNightSwitch.vue +93 -0
- package/src/layout/components/Tools/HotkeysIntro.vue +103 -0
- package/src/layout/components/Tools/I18nSelector.vue +52 -0
- package/src/layout/components/Tools/Notification.vue +152 -0
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +722 -0
- package/src/layout/components/Tools/Preferences/index.vue +20 -0
- package/src/layout/components/Tools/Search.vue +380 -0
- package/src/layout/components/Tools/index.vue +241 -0
- package/src/layout/components/Topbar/Tabbar/MoreAction.vue +304 -0
- package/src/layout/components/Topbar/Tabbar/index.vue +781 -0
- package/src/layout/components/Topbar/Toolbar/Favorites.vue +138 -0
- package/src/layout/components/Topbar/Toolbar/Star.vue +30 -0
- package/src/layout/components/Topbar/Toolbar/index.vue +307 -0
- package/src/layout/components/Topbar/index.vue +106 -0
- package/src/layout/composables/useContext.ts +38 -0
- package/src/layout/composables/useGetComputedStyle.ts +70 -0
- package/src/layout/composables/useHotkey.ts +49 -0
- package/src/layout/composables/useMainPage.ts +68 -0
- package/src/layout/composables/useMenu.ts +29 -0
- package/src/layout/composables/useTabbar.ts +165 -0
- package/src/layout/composables/useTitle.ts +41 -0
- package/src/layout/composables/useViewTransition.ts +16 -0
- package/src/layout/composables/useWatermark.ts +67 -0
- package/src/layout/index.ts +59 -0
- package/src/layout/provider.ts +61 -0
- package/src/layout/ui-kit/HBadge.vue +41 -0
- package/src/layout/ui-kit/HButton.vue +28 -0
- package/src/layout/ui-kit/HCheckList.vue +49 -0
- package/src/layout/ui-kit/HDialog.vue +108 -0
- package/src/layout/ui-kit/HDivider.vue +53 -0
- package/src/layout/ui-kit/HDropdown.vue +13 -0
- package/src/layout/ui-kit/HDropdownMenu.vue +50 -0
- package/src/layout/ui-kit/HDropdownTree.vue +79 -0
- package/src/layout/ui-kit/HInput.vue +40 -0
- package/src/layout/ui-kit/HKbd.vue +33 -0
- package/src/layout/ui-kit/HSelect.vue +66 -0
- package/src/layout/ui-kit/HSlideover.vue +119 -0
- package/src/layout/ui-kit/HTabList.vue +56 -0
- package/src/layout/ui-kit/HToggle.vue +177 -0
- package/src/layout/ui-kit/HTooltip.vue +21 -0
- package/src/locales/index.ts +80 -0
- package/src/locales/lang/en.json +96 -0
- package/src/locales/lang/zh-cn.json +97 -0
- package/src/locales/lang/zh-tw.json +97 -0
- package/src/locales/ui.ts +3 -0
- package/src/modules.ts +49 -0
- package/src/pages/personal/notification.vue +58 -0
- package/src/pages/personal/profile/index.vue +125 -0
- package/src/pages/system/[...all].vue +74 -0
- package/src/pages/system/change-organization/index.vue +174 -0
- package/src/pages/system/change-password/components/ChangePasswordForm/index.vue +144 -0
- package/src/pages/system/change-password/index.vue +102 -0
- package/src/pages/system/change-password/page.vue +58 -0
- package/src/pages/system/index.vue +5 -0
- package/src/pages/system/not-permission/index.vue +73 -0
- package/src/pages/system/reload.vue +11 -0
- package/src/route/async.ts +18 -0
- package/src/route/guard/auth.ts +92 -0
- package/src/route/guard/basic.ts +23 -0
- package/src/route/guard/index.ts +3 -0
- package/src/route/guard/setting.ts +122 -0
- package/src/route/index.ts +12 -0
- package/src/route/routes.ts +110 -0
- package/src/stores/enum/index.ts +29 -0
- package/src/stores/helper.ts +37 -0
- package/src/stores/index.ts +10 -0
- package/src/stores/modules/favorites.ts +152 -0
- package/src/stores/modules/iframe.ts +114 -0
- package/src/stores/modules/index.ts +9 -0
- package/src/stores/modules/keepAlive.ts +68 -0
- package/src/stores/modules/menu.ts +207 -0
- package/src/stores/modules/notification.ts +34 -0
- package/src/stores/modules/route.ts +435 -0
- package/src/stores/modules/settings.ts +371 -0
- package/src/stores/modules/tabbar.ts +338 -0
- package/src/stores/modules/user.ts +210 -0
- package/src/stores/plugin/persist.ts +27 -0
- package/src/stores/plugin/sideEffect/cleanup.ts +20 -0
- package/src/stores/plugin/sideEffect/favoritesStorage.ts +62 -0
- package/src/stores/plugin/sideEffect/iframeCache.ts +32 -0
- package/src/stores/plugin/sideEffect/index.ts +15 -0
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +98 -0
- package/src/utils/cleanup.ts +20 -0
- package/src/utils/crypto.ts +27 -0
- package/src/utils/eventBus.ts +15 -0
- package/src/utils/index.ts +44 -0
- package/src/utils/injectionKeys.ts +5 -0
- package/src/utils/storage.ts +57 -0
- package/src/utils/utils.ts +12 -0
- package/src/utils/watermark.ts +256 -0
- package/types/auto-imports.d.ts +85 -0
- package/types/components.d.ts +36 -0
- package/types/favorites.d.ts +8 -0
- package/types/iframe.d.ts +8 -0
- package/types/index.d.ts +9 -0
- package/types/menu.d.ts +31 -0
- package/types/module.d.ts +23 -0
- package/types/settings.d.ts +571 -0
- package/types/tabbar.d.ts +23 -0
- package/types/user.d.ts +46 -0
- package/types/vite-env.d.ts +39 -0
- package/types/vue-router.d.ts +68 -0
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ========================================================================
|
|
3
|
+
* ? ABOUT
|
|
4
|
+
* @author : weiyafei
|
|
5
|
+
* @email : 2553241022@qq.com
|
|
6
|
+
* @createdOn : 2023-12-15 23:17
|
|
7
|
+
* @description : app配置文件的类型,使用者不应当修改此文件的类型
|
|
8
|
+
*========================================================================*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
declare namespace Settings {
|
|
12
|
+
|
|
13
|
+
/* ================== APP ================= */
|
|
14
|
+
|
|
15
|
+
interface app {
|
|
16
|
+
/**
|
|
17
|
+
* 亮色主题
|
|
18
|
+
*
|
|
19
|
+
* @默认值 [`'classic'`]
|
|
20
|
+
* @可选值 可选择 `./themes/index.ts` 里所有 `color-scheme: light` 的主题
|
|
21
|
+
*/
|
|
22
|
+
lightTheme?: string
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 暗色主题
|
|
26
|
+
*
|
|
27
|
+
* @默认值 `'dark'`
|
|
28
|
+
* @可选值 可选择 `./themes/index.ts` 里所有 `color-scheme: dark` 的主题
|
|
29
|
+
*/
|
|
30
|
+
darkTheme?: string
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 颜色方案
|
|
34
|
+
*
|
|
35
|
+
* @默认值 `'light'`
|
|
36
|
+
* @可选值 `'light'` 明亮模式
|
|
37
|
+
* @可选值 `'dark'` 暗黑模式
|
|
38
|
+
*/
|
|
39
|
+
colorScheme?: | '' | 'light' | 'dark'
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 默认语言
|
|
43
|
+
*
|
|
44
|
+
* @默认值 `''` 跟随浏览器语言设置
|
|
45
|
+
*/
|
|
46
|
+
defaultLang?: string
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 是否开启权限功能
|
|
50
|
+
*
|
|
51
|
+
* @默认值 `true`
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
enablePermission?: boolean
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 是否开启载入进度条
|
|
58
|
+
*
|
|
59
|
+
* @默认值 `true`
|
|
60
|
+
*/
|
|
61
|
+
enableProgress?: boolean
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 是否开启动态标题
|
|
65
|
+
*
|
|
66
|
+
* @默认值 `true`
|
|
67
|
+
*/
|
|
68
|
+
enableDynamicTitle?: boolean
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* localStorage/sessionStorage/cookies 前缀
|
|
72
|
+
*
|
|
73
|
+
* @默认值 `'wsy_rbac'`
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
storagePrefix?: string
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* 是否在非开发环境开启错误日志功能,具体业务代码在 ./utils/error.log.ts
|
|
80
|
+
* @默认值 `false`
|
|
81
|
+
*/
|
|
82
|
+
enableErrorLog?: boolean
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* 路由数据来源
|
|
86
|
+
*
|
|
87
|
+
* @默认值 `'frontend'` 前端
|
|
88
|
+
* @可选值 `'backend'` 后端
|
|
89
|
+
*/
|
|
90
|
+
routeBaseOn?: | 'frontend' | 'backend'
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 是否开启用户偏好设置
|
|
94
|
+
*
|
|
95
|
+
* @默认值 `true`
|
|
96
|
+
*/
|
|
97
|
+
enableUserPreferences?: boolean
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* 是否开启系统偏好设置
|
|
101
|
+
*
|
|
102
|
+
* @默认值 `true`
|
|
103
|
+
*/
|
|
104
|
+
enableSettingPreferences?: boolean
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* 是否开启应用配置,强烈建议在生产环境中关闭
|
|
108
|
+
*
|
|
109
|
+
* @默认值 `true`
|
|
110
|
+
*/
|
|
111
|
+
enableAppSetting?: boolean
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* ================== HOME ================= */
|
|
115
|
+
|
|
116
|
+
interface home {
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* 是否开启主页
|
|
120
|
+
*
|
|
121
|
+
* @默认值 `true`
|
|
122
|
+
*/
|
|
123
|
+
enable?: boolean
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 主页名称
|
|
127
|
+
*
|
|
128
|
+
* @默认值 `'主页'`
|
|
129
|
+
*/
|
|
130
|
+
title?: string
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* ================== LAYOUT ================= */
|
|
135
|
+
|
|
136
|
+
interface layout {
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* 页宽模式,当设置为非 `'adaption'` 时,可以去 ./src/assets/styles/layout.scss 里设置 `--g-app-width` 宽度变量
|
|
140
|
+
*
|
|
141
|
+
* @默认值 `'adaption'` 自适应
|
|
142
|
+
* @可选值 `'adaption-min-width'` 自适应(有最小宽度)
|
|
143
|
+
* @可选值 `'center'` 定宽居中
|
|
144
|
+
* @可选值 `'center-max-width'` 定宽居中(有最大宽度)
|
|
145
|
+
*/
|
|
146
|
+
widthMode?: | 'adaption' | 'adaption-min-width' | 'center' | 'center-max-width'
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* 是否开启移动端适配,开启后当页面宽度小于 992px 时自动切换为移动端展示
|
|
150
|
+
*
|
|
151
|
+
* @默认值 `true`
|
|
152
|
+
*/
|
|
153
|
+
enableMobileAdaptation?: boolean
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* ================== MENU ================= */
|
|
157
|
+
|
|
158
|
+
interface menu {
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* 导航栏模式
|
|
162
|
+
*
|
|
163
|
+
* @default
|
|
164
|
+
* @默认值 `'side'` 侧边栏模式(有主导航)
|
|
165
|
+
* @可选值 `'head'` 顶部模式
|
|
166
|
+
* @可选值 `'single'` 侧边栏模式(无主导航)
|
|
167
|
+
* @可选值 `'only-side'` 侧边栏精简模式
|
|
168
|
+
* @可选值 `'only-head'` 顶部精简模式
|
|
169
|
+
*/
|
|
170
|
+
menuMode?: | 'side' | 'head' | 'single' | 'only-side' | 'only-head'
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* 导航栏是否圆角
|
|
174
|
+
*
|
|
175
|
+
* @默认值 `true`
|
|
176
|
+
*/
|
|
177
|
+
isRounded?: boolean
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* 导航栏激活风格
|
|
181
|
+
*
|
|
182
|
+
* @默认值 `''`
|
|
183
|
+
* @可选值 `'arrow'` 箭头
|
|
184
|
+
* @可选值 `'line'` 线条
|
|
185
|
+
* @可选值 `'dot'` 圆点
|
|
186
|
+
*/
|
|
187
|
+
menuActiveStyle?: | '' | 'arrow' | 'line' | 'dot'
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* 切换主导航是否跳转页面
|
|
191
|
+
*
|
|
192
|
+
* @默认值 `true`
|
|
193
|
+
*/
|
|
194
|
+
switchMainMenuAndPageJump?: boolean
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* 次导航是否只保持一个子项的展开
|
|
198
|
+
*
|
|
199
|
+
* @默认值 `true`
|
|
200
|
+
*/
|
|
201
|
+
subMenuUniqueOpened?: boolean
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 次导航只有一个导航时是否自动隐藏
|
|
205
|
+
*
|
|
206
|
+
* @默认值 `true`
|
|
207
|
+
*/
|
|
208
|
+
subMenuOnlyOneHide?: boolean
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* 次导航是否收起
|
|
212
|
+
*
|
|
213
|
+
* @默认值 `false`
|
|
214
|
+
*/
|
|
215
|
+
subMenuCollapse?: boolean
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* 是否开启次导航的展开/收起按钮
|
|
219
|
+
*
|
|
220
|
+
* @默认值 `true`
|
|
221
|
+
*/
|
|
222
|
+
enableSubMenuCollapseButton?: boolean
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* 是否开启主导航切换快捷键
|
|
226
|
+
*
|
|
227
|
+
* @默认值 `false`
|
|
228
|
+
*/
|
|
229
|
+
enableHotkeys?: boolean
|
|
230
|
+
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* ================== TOPBAR ================= */
|
|
234
|
+
|
|
235
|
+
interface topbar {
|
|
236
|
+
/**
|
|
237
|
+
* 模式
|
|
238
|
+
*
|
|
239
|
+
* @默认值 `'static'` 静止,跟随页面滚动
|
|
240
|
+
* @可选值 `'fixed'` 固定,不跟随页面滚动,始终固定在顶部
|
|
241
|
+
* @可选值 `'sticky'` 粘性,页面往下滚动时隐藏,往上滚动时显示
|
|
242
|
+
*/
|
|
243
|
+
mode?: | 'static' | 'fixed' | 'sticky'
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* 是否切换显示标签栏和工具栏的显示位置
|
|
247
|
+
*
|
|
248
|
+
* @默认值 `false` 标签栏在工具栏上面
|
|
249
|
+
* @可选值 `true` 工具栏在标签栏上面
|
|
250
|
+
*/
|
|
251
|
+
switchTabbarAndToolbar?: boolean
|
|
252
|
+
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* ================== TABBAR ================= */
|
|
256
|
+
|
|
257
|
+
interface tabbar {
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* 是否开启标签栏
|
|
261
|
+
*
|
|
262
|
+
* @默认值 `true`
|
|
263
|
+
*/
|
|
264
|
+
enable?: boolean
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* 标签栏风格
|
|
268
|
+
*
|
|
269
|
+
* @默认值 `'fashion'` 时尚
|
|
270
|
+
* @可选值 `'card'` 卡片
|
|
271
|
+
* @可选值 `'square'` 方块
|
|
272
|
+
*/
|
|
273
|
+
style?: | 'fashion' | 'card' | 'square'
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* 是否开启标签栏图标显示
|
|
277
|
+
*
|
|
278
|
+
* @默认值 `true`
|
|
279
|
+
*/
|
|
280
|
+
enableIcon?: boolean
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* 标签页合并规则
|
|
284
|
+
*
|
|
285
|
+
* @默认值 `'activeMenu'`
|
|
286
|
+
* @可选值 `'routeName'` 根据路由名称,相同路由名称的路由合并
|
|
287
|
+
* @可选值 `'activeMenu'` 根据路由的 `meta.activeMenu` 字段,与指向的目标路由合并
|
|
288
|
+
*/
|
|
289
|
+
mergeTabsBy?: | '' | 'routeName' | 'activeMenu'
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* 是否开启标签栏记忆功能
|
|
293
|
+
*
|
|
294
|
+
* @默认值 `true`
|
|
295
|
+
*/
|
|
296
|
+
enableMemory?: boolean
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* 是否开启标签栏快捷键
|
|
300
|
+
*
|
|
301
|
+
* @默认值 `true`
|
|
302
|
+
*/
|
|
303
|
+
enableHotkeys?: boolean
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* 固定标签页存储位置
|
|
307
|
+
*
|
|
308
|
+
* @默认值 `'local'` 本地存储
|
|
309
|
+
* @可选值 `'server'` 服务器存储
|
|
310
|
+
*/
|
|
311
|
+
storageTo?: | 'local' | 'server'
|
|
312
|
+
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* ================== TOOLBAR ================= */
|
|
316
|
+
|
|
317
|
+
interface toolbar {
|
|
318
|
+
/**
|
|
319
|
+
* 是否开启通知中心
|
|
320
|
+
*
|
|
321
|
+
* @默认值 `true`
|
|
322
|
+
*/
|
|
323
|
+
enableNotification?: boolean
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* 是否开启国际化
|
|
327
|
+
*
|
|
328
|
+
* @默认值 `true`
|
|
329
|
+
*/
|
|
330
|
+
enableI18n?: boolean
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* 是否开启全屏
|
|
334
|
+
*
|
|
335
|
+
* @默认值 `true`
|
|
336
|
+
*/
|
|
337
|
+
enableFullscreen?: boolean
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* 是否开启页面刷新
|
|
341
|
+
*
|
|
342
|
+
* @默认值 `true`
|
|
343
|
+
*/
|
|
344
|
+
enablePageReload?: boolean
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* 是否开启颜色主题
|
|
348
|
+
*
|
|
349
|
+
* @默认值 `true`
|
|
350
|
+
*/
|
|
351
|
+
enableColorScheme?: boolean
|
|
352
|
+
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/* ================== FAVORITES ================= */
|
|
356
|
+
|
|
357
|
+
interface favorites {
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* 是否开启收藏夹
|
|
361
|
+
*
|
|
362
|
+
* @默认值 `true`
|
|
363
|
+
*/
|
|
364
|
+
enable?: boolean
|
|
365
|
+
/**
|
|
366
|
+
* 存储位置
|
|
367
|
+
*
|
|
368
|
+
* @默认值 `'local'` 本地存储
|
|
369
|
+
* @可选值 `'server'` 服务器存储
|
|
370
|
+
*/
|
|
371
|
+
storageTo?: | 'local' | 'server'
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/* ================== BREADCRUMB ================= */
|
|
375
|
+
|
|
376
|
+
interface breadcrumb {
|
|
377
|
+
/**
|
|
378
|
+
* 是否开启面包屑导航
|
|
379
|
+
*
|
|
380
|
+
* @默认值 `true`
|
|
381
|
+
*/
|
|
382
|
+
|
|
383
|
+
enable?: boolean
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* 面包屑导航风格
|
|
387
|
+
*
|
|
388
|
+
* @默认值 `''` 默认
|
|
389
|
+
* @可选值 `'modern'` 现代
|
|
390
|
+
*/
|
|
391
|
+
style?: '' | 'modern'
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* 是否在面包屑导航里显示主导航
|
|
395
|
+
*
|
|
396
|
+
* @默认值 `false`
|
|
397
|
+
*/
|
|
398
|
+
enableMainMenu?: boolean
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/* ================== MAIN_PAGE ================= */
|
|
402
|
+
|
|
403
|
+
interface mainPage {
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* 是否开启页面快捷键
|
|
407
|
+
*
|
|
408
|
+
* @默认值 `true`
|
|
409
|
+
*/
|
|
410
|
+
enableHotkeys?: boolean
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* iframe 页面最大缓存数量
|
|
414
|
+
*
|
|
415
|
+
* @默认值 `3`
|
|
416
|
+
*/
|
|
417
|
+
iframeCacheMax?: number
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* 是否开启页面切换动画
|
|
421
|
+
*
|
|
422
|
+
* @默认值 `true`
|
|
423
|
+
*/
|
|
424
|
+
enableTransition?: boolean
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* 页面切换动画
|
|
428
|
+
*
|
|
429
|
+
* @默认值 `'fade'` 淡入淡出
|
|
430
|
+
* @可选值 `'slide-left'` 向左滑动
|
|
431
|
+
* @可选值 `'slide-right'` 向右滑动
|
|
432
|
+
* @可选值 `'slide-top'` 向上滑动
|
|
433
|
+
* @可选值 `'slide-bottom'` 向下滑动
|
|
434
|
+
*/
|
|
435
|
+
transitionMode?: | 'fade' | 'slide-left' | 'slide-right' | 'slide-top' | 'slide-bottom'
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/* ================== NAV_SEARCH ================= */
|
|
439
|
+
|
|
440
|
+
interface navSearch {
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* 是否开启导航搜索
|
|
444
|
+
*
|
|
445
|
+
* @默认值 `true`
|
|
446
|
+
*/
|
|
447
|
+
enable?: boolean
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* 是否开启导航搜索快捷键
|
|
451
|
+
*
|
|
452
|
+
* @默认值 `true`
|
|
453
|
+
*/
|
|
454
|
+
enableHotkeys?: boolean
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* ================== COPYRIGHT ================= */
|
|
458
|
+
|
|
459
|
+
interface copyright {
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* 是否开启底部版权,同时在路由 meta 对象里可以单独设置某个路由是否显示底部版权信息
|
|
463
|
+
*
|
|
464
|
+
* @默认值 `true`
|
|
465
|
+
*/
|
|
466
|
+
enable?: boolean
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* 网站运行日期
|
|
470
|
+
*
|
|
471
|
+
* @默认值 `'2024'`
|
|
472
|
+
*/
|
|
473
|
+
dates?: string
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 公司名称
|
|
477
|
+
*
|
|
478
|
+
* @默认值 `'PUBINFO'`
|
|
479
|
+
*/
|
|
480
|
+
company?: string
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* 网站地址
|
|
484
|
+
*
|
|
485
|
+
* @默认值 `''`
|
|
486
|
+
*/
|
|
487
|
+
website?: string
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* 网站备案号
|
|
491
|
+
*
|
|
492
|
+
* @默认值 `''`
|
|
493
|
+
*/
|
|
494
|
+
beian?: string
|
|
495
|
+
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
/* ================== WATERMARK ================= */
|
|
499
|
+
interface watermark {
|
|
500
|
+
/**
|
|
501
|
+
* 是否开启页面水印
|
|
502
|
+
* @默认值 `false`
|
|
503
|
+
*/
|
|
504
|
+
enable?: boolean
|
|
505
|
+
/**
|
|
506
|
+
* 水印文案
|
|
507
|
+
* @默认值 PUBINFO U|O|OU
|
|
508
|
+
*/
|
|
509
|
+
text?: string
|
|
510
|
+
/**
|
|
511
|
+
* 水印起始位置x轴坐标
|
|
512
|
+
* @默认值 0
|
|
513
|
+
*/
|
|
514
|
+
x?: number
|
|
515
|
+
/**
|
|
516
|
+
* 水印起始位置Y轴坐标
|
|
517
|
+
* @默认值 0
|
|
518
|
+
*/
|
|
519
|
+
y?: number
|
|
520
|
+
/**
|
|
521
|
+
* 水印x轴间隔
|
|
522
|
+
* @默认值 50
|
|
523
|
+
*/
|
|
524
|
+
x_space?: number
|
|
525
|
+
/**
|
|
526
|
+
* 水印y轴间隔
|
|
527
|
+
* @默认值 50
|
|
528
|
+
*/
|
|
529
|
+
y_space?: number
|
|
530
|
+
/**
|
|
531
|
+
* 水印透明度,要求设置在大于等于0.005
|
|
532
|
+
* @默认值 0.1
|
|
533
|
+
*/
|
|
534
|
+
alpha?: number
|
|
535
|
+
/**
|
|
536
|
+
* 水印宽度
|
|
537
|
+
* @默认值 150
|
|
538
|
+
*/
|
|
539
|
+
width?: number
|
|
540
|
+
}
|
|
541
|
+
/* ================== ALL ================= */
|
|
542
|
+
|
|
543
|
+
interface all {
|
|
544
|
+
/** 应用设置 */
|
|
545
|
+
app?: app
|
|
546
|
+
/** 主页设置 */
|
|
547
|
+
home?: home
|
|
548
|
+
/** 布局设置 */
|
|
549
|
+
layout?: layout
|
|
550
|
+
/** 导航栏设置 */
|
|
551
|
+
menu?: menu
|
|
552
|
+
/** 顶栏设置 */
|
|
553
|
+
topbar?: topbar
|
|
554
|
+
/** 标签栏设置 */
|
|
555
|
+
tabbar?: tabbar
|
|
556
|
+
/** 工具栏设置 */
|
|
557
|
+
toolbar?: toolbar
|
|
558
|
+
/** 收藏夹设置 */
|
|
559
|
+
favorites?: favorites
|
|
560
|
+
/** 面包屑导航设置 */
|
|
561
|
+
breadcrumb?: breadcrumb
|
|
562
|
+
/** 页面设置 */
|
|
563
|
+
mainPage?: mainPage
|
|
564
|
+
/** 导航搜索设置 */
|
|
565
|
+
navSearch?: navSearch
|
|
566
|
+
/** 底部版权设置 */
|
|
567
|
+
copyright?: copyright
|
|
568
|
+
/** 水印 */
|
|
569
|
+
watermark?: watermark
|
|
570
|
+
}
|
|
571
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { RouteRecordName } from 'vue-router';
|
|
2
|
+
import type { User } from './user';
|
|
3
|
+
|
|
4
|
+
export declare namespace Tabbar {
|
|
5
|
+
interface recordRaw {
|
|
6
|
+
tabId: string
|
|
7
|
+
fullPath: string
|
|
8
|
+
routeName?: RouteRecordName
|
|
9
|
+
activeMenu?: string
|
|
10
|
+
title?: string | (() => string)
|
|
11
|
+
i18n?: string
|
|
12
|
+
iframe?: string | ((user: User) => string | Promise<string>)
|
|
13
|
+
icon?: string
|
|
14
|
+
activeIcon?: string
|
|
15
|
+
name: string[]
|
|
16
|
+
customTitleList: {
|
|
17
|
+
fullPath: string
|
|
18
|
+
title: string
|
|
19
|
+
}[]
|
|
20
|
+
isPin: boolean
|
|
21
|
+
isPermanent: boolean
|
|
22
|
+
}
|
|
23
|
+
}
|
package/types/user.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare interface User {
|
|
2
|
+
/**
|
|
3
|
+
* 账户名
|
|
4
|
+
*/
|
|
5
|
+
account: string
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 用户id
|
|
9
|
+
*/
|
|
10
|
+
userId: string
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 所在部门
|
|
14
|
+
*/
|
|
15
|
+
department: string
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* 用户头像
|
|
19
|
+
*/
|
|
20
|
+
avatar: string
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* 用户权限
|
|
24
|
+
*/
|
|
25
|
+
permissions: string[]
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 用户 token
|
|
29
|
+
*/
|
|
30
|
+
token: string
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* 刷新token
|
|
34
|
+
*/
|
|
35
|
+
refreshToken: string
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 所属组织列表
|
|
39
|
+
*/
|
|
40
|
+
orgList: API.PubUserOrgBo[]
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 当前的组织id
|
|
44
|
+
*/
|
|
45
|
+
orgId: string
|
|
46
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* ========================================================================
|
|
5
|
+
* Helper
|
|
6
|
+
*========================================================================*
|
|
7
|
+
*/
|
|
8
|
+
type CompressionType = 'gzip' | 'brotli';
|
|
9
|
+
|
|
10
|
+
type FilterSomeCompressionType<
|
|
11
|
+
T extends string,
|
|
12
|
+
> = T extends `${infer U},${infer V}`
|
|
13
|
+
? U extends V
|
|
14
|
+
? FilterSomeCompressionType<V>
|
|
15
|
+
: `${U},${FilterSomeCompressionType<V>}`
|
|
16
|
+
: T;
|
|
17
|
+
|
|
18
|
+
type PermutationCompressionType = FilterSomeCompressionType<`${CompressionType},${CompressionType}`>;
|
|
19
|
+
|
|
20
|
+
type stringBoolean = 'true' | 'false';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* ========================================================================
|
|
24
|
+
* Vite
|
|
25
|
+
*========================================================================*
|
|
26
|
+
*/
|
|
27
|
+
interface ImportMetaEnv {
|
|
28
|
+
readonly VITE_APP_TITLE: string
|
|
29
|
+
readonly VITE_APP_API_BASEURL: string
|
|
30
|
+
readonly VITE_APP_DEBUG_TOOL: 'eruda' | 'vconsole'
|
|
31
|
+
readonly VITE_BUILD_MOCK: stringBoolean
|
|
32
|
+
readonly VITE_BUILD_SOURCEMAP: stringBoolean
|
|
33
|
+
readonly VITE_BUILD_COMPRESS: PermutationCompressionType
|
|
34
|
+
readonly VITE_OPEN_PROXY: stringBoolean
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
interface ImportMeta {
|
|
38
|
+
readonly env: ImportMetaEnv
|
|
39
|
+
}
|