@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,125 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { ProColumns } from '@pubinfo/pro-components';
|
|
3
|
+
import { getRbacUserUserEntireInfo } from '@/api/modules/rbac';
|
|
4
|
+
import { SchemaForm } from '@pubinfo/pro-components';
|
|
5
|
+
import { isNil } from 'lodash-es';
|
|
6
|
+
|
|
7
|
+
// TODO 解耦组件库
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
name: 'PersonalCenter',
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
const form = ref<API.PubUserBo>({});
|
|
14
|
+
|
|
15
|
+
const sexOptions = [
|
|
16
|
+
{ label: '未知', value: '0' },
|
|
17
|
+
{ label: '男', value: '1' },
|
|
18
|
+
{ label: '女', value: '2' },
|
|
19
|
+
];
|
|
20
|
+
|
|
21
|
+
function renderText({ value }: any) {
|
|
22
|
+
return isNil(value) ? '-' : value;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const columns: ProColumns = [
|
|
26
|
+
{
|
|
27
|
+
render: renderText,
|
|
28
|
+
renderFormItem: renderText,
|
|
29
|
+
dataIndex: 'loginName',
|
|
30
|
+
title: '登录账号',
|
|
31
|
+
colProps: { span: 12 },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
render: renderText,
|
|
35
|
+
valueType: 'a-input',
|
|
36
|
+
dataIndex: 'realName',
|
|
37
|
+
title: '真实姓名',
|
|
38
|
+
colProps: { span: 12 },
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
render: renderText,
|
|
42
|
+
valueType: 'a-input',
|
|
43
|
+
dataIndex: 'mobile',
|
|
44
|
+
title: '手机号',
|
|
45
|
+
colProps: { span: 12 },
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
render: ({ value }) => sexOptions.find(e => e.value === value)?.label,
|
|
49
|
+
valueType: 'a-radio-group',
|
|
50
|
+
dataIndex: 'sex',
|
|
51
|
+
title: '性别',
|
|
52
|
+
colProps: { span: 12 },
|
|
53
|
+
fieldProps: {
|
|
54
|
+
options: sexOptions,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
render: renderText,
|
|
59
|
+
valueType: 'a-input',
|
|
60
|
+
dataIndex: 'email',
|
|
61
|
+
title: '邮箱',
|
|
62
|
+
colProps: { span: 12 },
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
render: renderText,
|
|
66
|
+
valueType: 'a-input',
|
|
67
|
+
dataIndex: 'idCard',
|
|
68
|
+
title: '身份证',
|
|
69
|
+
colProps: { span: 12 },
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
render: renderText,
|
|
73
|
+
valueType: 'a-input',
|
|
74
|
+
dataIndex: 'address',
|
|
75
|
+
title: '地址',
|
|
76
|
+
colProps: { span: 12 },
|
|
77
|
+
},
|
|
78
|
+
];
|
|
79
|
+
|
|
80
|
+
const permissionColumns: ProColumns = [
|
|
81
|
+
{
|
|
82
|
+
renderFormItem: ({ value }) => value?.map((item: API.PubUserOrgBo) => item.orgName).join('、'),
|
|
83
|
+
dataIndex: 'userOrgList',
|
|
84
|
+
title: '所属组织',
|
|
85
|
+
},
|
|
86
|
+
];
|
|
87
|
+
|
|
88
|
+
async function getCurrentUserInfo() {
|
|
89
|
+
const res = await getRbacUserUserEntireInfo();
|
|
90
|
+
if (res.success) {
|
|
91
|
+
form.value = res.data ?? {};
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
onMounted(() => {
|
|
96
|
+
getCurrentUserInfo();
|
|
97
|
+
});
|
|
98
|
+
</script>
|
|
99
|
+
|
|
100
|
+
<template>
|
|
101
|
+
<div class="relative w-full h-full py-10px px-10px overflow-hidden">
|
|
102
|
+
<div class="w-full h-full overflow-y-auto space-y-3">
|
|
103
|
+
<a-card title="个人信息" :bordered="false">
|
|
104
|
+
<SchemaForm
|
|
105
|
+
v-model="form"
|
|
106
|
+
:label-col="{ style: { width: '100px' } }"
|
|
107
|
+
:columns="columns"
|
|
108
|
+
readonly
|
|
109
|
+
grid
|
|
110
|
+
:submitter="false"
|
|
111
|
+
/>
|
|
112
|
+
</a-card>
|
|
113
|
+
|
|
114
|
+
<a-card title="权限信息" :bordered="false">
|
|
115
|
+
<SchemaForm
|
|
116
|
+
v-model="form"
|
|
117
|
+
:label-col="{ style: { width: '100px' } }"
|
|
118
|
+
:columns="permissionColumns"
|
|
119
|
+
:submitter="false"
|
|
120
|
+
style="width: 600px;"
|
|
121
|
+
/>
|
|
122
|
+
</a-card>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</template>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { useSettingsStore, useTabbarStore } from '@/stores';
|
|
3
|
+
|
|
4
|
+
const route = useRoute();
|
|
5
|
+
const router = useRouter();
|
|
6
|
+
|
|
7
|
+
const settingsStore = useSettingsStore();
|
|
8
|
+
const tabbarStore = useTabbarStore();
|
|
9
|
+
|
|
10
|
+
const data = ref({
|
|
11
|
+
inter: Number.NaN,
|
|
12
|
+
countdown: 5,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
onBeforeRouteLeave(() => {
|
|
16
|
+
if (data.value.inter) {
|
|
17
|
+
window.clearInterval(data.value.inter);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
onMounted(() => {
|
|
22
|
+
if (settingsStore.settings.tabbar.enable) {
|
|
23
|
+
tabbarStore.remove(route.meta.activeMenu || route.fullPath);
|
|
24
|
+
}
|
|
25
|
+
data.value.inter = window.setInterval(() => {
|
|
26
|
+
data.value.countdown--;
|
|
27
|
+
if (data.value.countdown === 0) {
|
|
28
|
+
if (data.value.inter) {
|
|
29
|
+
window.clearInterval(data.value.inter);
|
|
30
|
+
}
|
|
31
|
+
goBack();
|
|
32
|
+
}
|
|
33
|
+
}, 1000);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
function goBack() {
|
|
37
|
+
router.push('/');
|
|
38
|
+
}
|
|
39
|
+
</script>
|
|
40
|
+
|
|
41
|
+
<template>
|
|
42
|
+
<div w-full h-full class="dark:bg-[#25282D]">
|
|
43
|
+
<div class="absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg:flex-row -translate-x-50% -translate-y-50% lg:gap-12">
|
|
44
|
+
<div class="allIcon w-300px h-300px lg:w-400px lg:h-400px" />
|
|
45
|
+
<div class="flex flex-col gap-4">
|
|
46
|
+
<h1 class="m-0 text-6xl font-sans dark:text-[#C9D6EF]">
|
|
47
|
+
404
|
|
48
|
+
</h1>
|
|
49
|
+
<div class="desc mx-0 text-xl text-stone-5 dark:text-[#C9D6EF]">
|
|
50
|
+
抱歉,你访问的页面不存在
|
|
51
|
+
</div>
|
|
52
|
+
<div>
|
|
53
|
+
<HButton @click="goBack">
|
|
54
|
+
{{ data.countdown }} 秒后,返回首页
|
|
55
|
+
</HButton>
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</template>
|
|
61
|
+
|
|
62
|
+
<style lang="scss" scoped>
|
|
63
|
+
.allIcon {
|
|
64
|
+
background: url("@/assets/icons/404.svg") no-repeat;
|
|
65
|
+
background-size: 100% 100%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-theme="dark"] {
|
|
69
|
+
.allIcon {
|
|
70
|
+
background: url("@/assets/icons/404_dark.svg") no-repeat;
|
|
71
|
+
background-size: 100% 100%;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
</style>
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { PubinfoIcon } from '@/components';
|
|
3
|
+
import { useUserStore } from '@/stores';
|
|
4
|
+
import { message } from 'ant-design-vue';
|
|
5
|
+
|
|
6
|
+
defineOptions({
|
|
7
|
+
name: 'ChangeOrganization',
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
const userStore = useUserStore();
|
|
11
|
+
const router = useRouter();
|
|
12
|
+
|
|
13
|
+
// 切断响应式,否则组织清楚后会导致页面闪烁
|
|
14
|
+
const rawOrganization = toRaw(userStore.orgList);
|
|
15
|
+
const orgList = computed(() => {
|
|
16
|
+
const org = rawOrganization.map((item) => {
|
|
17
|
+
return {
|
|
18
|
+
orgId: item.orgId,
|
|
19
|
+
label: item.orgName!,
|
|
20
|
+
...item,
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
return org;
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
const activeIndex = ref(-1);
|
|
27
|
+
|
|
28
|
+
function setActive(idx: number) {
|
|
29
|
+
activeIndex.value = idx;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function handleBack() {
|
|
33
|
+
router.go(-1);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async function changeOrganization() {
|
|
37
|
+
const org = orgList.value[activeIndex.value];
|
|
38
|
+
const orgId = org?.orgId;
|
|
39
|
+
if (orgId) {
|
|
40
|
+
if (orgId === userStore.orgId) {
|
|
41
|
+
message.error('请避免切换到当前已选组织');
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
await userStore.changeOrg(orgId);
|
|
45
|
+
message.success('组织切换成功');
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
message.error('请选择要切换的组织');
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
</script>
|
|
53
|
+
|
|
54
|
+
<template>
|
|
55
|
+
<div class="change-org">
|
|
56
|
+
<div
|
|
57
|
+
w-full
|
|
58
|
+
h-full
|
|
59
|
+
flex="~"
|
|
60
|
+
justify-center
|
|
61
|
+
>
|
|
62
|
+
<div w-620px pt-20vh>
|
|
63
|
+
<div
|
|
64
|
+
text="30px"
|
|
65
|
+
font="bold"
|
|
66
|
+
mb-40px
|
|
67
|
+
flex="~"
|
|
68
|
+
items="center"
|
|
69
|
+
>
|
|
70
|
+
请选择组织
|
|
71
|
+
</div>
|
|
72
|
+
<div v-for="(item, index) in orgList" :key="index" @click="setActive(index)">
|
|
73
|
+
<div class="org-item" :class="{ active: index === activeIndex }">
|
|
74
|
+
<div flex="~" h-full>
|
|
75
|
+
<PubinfoIcon name="change-org" size="48px" />
|
|
76
|
+
<div
|
|
77
|
+
flex="~ col"
|
|
78
|
+
h-full
|
|
79
|
+
justify-center
|
|
80
|
+
ml="18px"
|
|
81
|
+
>
|
|
82
|
+
<div text="20px black dark:[#86909C]" flex="~" items-center>
|
|
83
|
+
<span mr-10px>
|
|
84
|
+
{{ item.label }}
|
|
85
|
+
</span>
|
|
86
|
+
<a-tag v-if="userStore.orgId === item.orgId" color="blue">
|
|
87
|
+
当前使用组织
|
|
88
|
+
</a-tag>
|
|
89
|
+
<a-tag v-if="item.main" color="red">
|
|
90
|
+
主组织
|
|
91
|
+
</a-tag>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<div>
|
|
96
|
+
<PubinfoIcon
|
|
97
|
+
class="arrow"
|
|
98
|
+
name="i-iconamoon-arrow-right-6-circle-duotone"
|
|
99
|
+
:color="index === activeIndex ? '#1677ff' : '#8E97A3'"
|
|
100
|
+
size="22px"
|
|
101
|
+
/>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
<div>
|
|
106
|
+
<a-button
|
|
107
|
+
type="primary"
|
|
108
|
+
block
|
|
109
|
+
h-40px
|
|
110
|
+
mb-15px
|
|
111
|
+
@click="changeOrganization"
|
|
112
|
+
>
|
|
113
|
+
确定
|
|
114
|
+
</a-button>
|
|
115
|
+
<a-button
|
|
116
|
+
block
|
|
117
|
+
h-40px
|
|
118
|
+
@click="handleBack"
|
|
119
|
+
>
|
|
120
|
+
返回
|
|
121
|
+
</a-button>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</template>
|
|
127
|
+
|
|
128
|
+
<style lang="scss" scoped>
|
|
129
|
+
.change-org {
|
|
130
|
+
width: 100%;
|
|
131
|
+
height: 100%;
|
|
132
|
+
background: url("@/assets/images/login-small.png") no-repeat 50%;
|
|
133
|
+
background-size: cover;
|
|
134
|
+
|
|
135
|
+
.org-item {
|
|
136
|
+
box-sizing: border-box;
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: space-between;
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: 91px;
|
|
142
|
+
padding: 22px 32px;
|
|
143
|
+
margin-bottom: 15px;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
color: #86909c;
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
background: #fff;
|
|
148
|
+
border: 1px solid #f2f3f5;
|
|
149
|
+
border-radius: 8px;
|
|
150
|
+
|
|
151
|
+
&.active {
|
|
152
|
+
background-color: rgb(22 119 255 / 10%);
|
|
153
|
+
border-color: #1677ff;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[data-theme="dark"] {
|
|
159
|
+
.change-org {
|
|
160
|
+
background: url("@/assets/images/login-small_dark.webp") no-repeat 50%;
|
|
161
|
+
background-size: cover;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.org-item {
|
|
165
|
+
background: #2c2c2c;
|
|
166
|
+
border: 1px solid #2c2c2c;
|
|
167
|
+
|
|
168
|
+
&.active {
|
|
169
|
+
background: rgb(20 20 20 / 60%);
|
|
170
|
+
border-color: #1668dc;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
</style>
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { FormInstance, Rule } from 'ant-design-vue/es/form';
|
|
3
|
+
import type { RouteParamValue } from 'vue-router';
|
|
4
|
+
import { useUserStore } from '@/stores';
|
|
5
|
+
import { message } from 'ant-design-vue';
|
|
6
|
+
import { delay } from 'lodash-es';
|
|
7
|
+
|
|
8
|
+
defineOptions({
|
|
9
|
+
name: 'ChangePasswordForm',
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
const props = defineProps<{
|
|
13
|
+
token?: RouteParamValue | RouteParamValue[]
|
|
14
|
+
}>();
|
|
15
|
+
|
|
16
|
+
const isValidate = defineModel('validate', { type: Boolean, default: false });
|
|
17
|
+
|
|
18
|
+
interface FormState {
|
|
19
|
+
password: string
|
|
20
|
+
newPassword: string
|
|
21
|
+
repeatNewPassword: string
|
|
22
|
+
}
|
|
23
|
+
const formState = reactive<FormState>({
|
|
24
|
+
password: '',
|
|
25
|
+
newPassword: '',
|
|
26
|
+
repeatNewPassword: '',
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
const router = useRouter();
|
|
30
|
+
const changePasswordForm = ref<FormInstance>();
|
|
31
|
+
const userStore = useUserStore();
|
|
32
|
+
|
|
33
|
+
async function checkRepeatNewPassword(_rule: Rule, value: string) {
|
|
34
|
+
if (!value) {
|
|
35
|
+
return Promise.reject(new Error('请再次输入新密码'));
|
|
36
|
+
}
|
|
37
|
+
if (value !== formState.newPassword) {
|
|
38
|
+
return Promise.reject(new Error('两次输入的密码不匹配,请确保新密码在两个输入框中完全相同'));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
async function checkNewPassWord(_rule: Rule, value: string) {
|
|
43
|
+
await nextTick();
|
|
44
|
+
if (!value) {
|
|
45
|
+
return Promise.reject(new Error('请再次输入新密码'));
|
|
46
|
+
}
|
|
47
|
+
if (!isValidate.value) {
|
|
48
|
+
return Promise.reject(new Error('密码安全校验不通过'));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const rules: Record<string, Rule[]> = {
|
|
53
|
+
password: [{
|
|
54
|
+
required: true,
|
|
55
|
+
whitespace: true,
|
|
56
|
+
message: '请输入密码',
|
|
57
|
+
}],
|
|
58
|
+
newPassword: [{ validator: checkNewPassWord }],
|
|
59
|
+
repeatNewPassword: [{ validator: checkRepeatNewPassword }],
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
async function submit() {
|
|
63
|
+
try {
|
|
64
|
+
await changePasswordForm.value?.validate();
|
|
65
|
+
await userStore.changeUserPassword({
|
|
66
|
+
oldPassword: formState.password,
|
|
67
|
+
newPassword: formState.newPassword,
|
|
68
|
+
token: props.token,
|
|
69
|
+
});
|
|
70
|
+
message.success('密码修改成功');
|
|
71
|
+
|
|
72
|
+
delay(() => {
|
|
73
|
+
returnPage();
|
|
74
|
+
}, 800);
|
|
75
|
+
}
|
|
76
|
+
catch (error) {
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function returnPage() {
|
|
81
|
+
router.go(-1);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
defineExpose({
|
|
85
|
+
formState,
|
|
86
|
+
});
|
|
87
|
+
</script>
|
|
88
|
+
|
|
89
|
+
<template>
|
|
90
|
+
<div>
|
|
91
|
+
<a-form
|
|
92
|
+
ref="changePasswordForm"
|
|
93
|
+
:model="formState"
|
|
94
|
+
:rules="rules"
|
|
95
|
+
>
|
|
96
|
+
<a-form-item name="password">
|
|
97
|
+
<a-input-password
|
|
98
|
+
v-model:value="formState.password"
|
|
99
|
+
allow-clear
|
|
100
|
+
size="large"
|
|
101
|
+
placeholder="请输入旧密码"
|
|
102
|
+
visibility-toggle
|
|
103
|
+
/>
|
|
104
|
+
</a-form-item>
|
|
105
|
+
<a-form-item name="newPassword">
|
|
106
|
+
<a-input-password
|
|
107
|
+
v-model:value="formState.newPassword"
|
|
108
|
+
allow-clear
|
|
109
|
+
size="large"
|
|
110
|
+
placeholder="请输入新密码"
|
|
111
|
+
visibility-toggle
|
|
112
|
+
/>
|
|
113
|
+
</a-form-item>
|
|
114
|
+
|
|
115
|
+
<a-form-item name="repeatNewPassword">
|
|
116
|
+
<a-input-password
|
|
117
|
+
v-model:value="formState.repeatNewPassword"
|
|
118
|
+
allow-clear
|
|
119
|
+
size="large"
|
|
120
|
+
placeholder="请再次输入新密码"
|
|
121
|
+
visibility-toggle
|
|
122
|
+
/>
|
|
123
|
+
</a-form-item>
|
|
124
|
+
<a-form-item>
|
|
125
|
+
<a-button
|
|
126
|
+
type="primary"
|
|
127
|
+
block
|
|
128
|
+
h-48px
|
|
129
|
+
mb-10px
|
|
130
|
+
@click="submit"
|
|
131
|
+
>
|
|
132
|
+
修改密码
|
|
133
|
+
</a-button>
|
|
134
|
+
<a-button
|
|
135
|
+
block
|
|
136
|
+
h-48px
|
|
137
|
+
@click="returnPage"
|
|
138
|
+
>
|
|
139
|
+
返回
|
|
140
|
+
</a-button>
|
|
141
|
+
</a-form-item>
|
|
142
|
+
</a-form>
|
|
143
|
+
</div>
|
|
144
|
+
</template>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { PassStrengthValidator, PubinfoIcon } from '@/components';
|
|
3
|
+
import ChangePasswordForm from './components/ChangePasswordForm/index.vue';
|
|
4
|
+
|
|
5
|
+
defineOptions({
|
|
6
|
+
name: 'ChangePassword',
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const ChangePassWordForm = ref<InstanceType<typeof ChangePasswordForm>>();
|
|
10
|
+
|
|
11
|
+
const newPassWord = computed({
|
|
12
|
+
get() {
|
|
13
|
+
return ChangePassWordForm.value?.formState.newPassword;
|
|
14
|
+
},
|
|
15
|
+
set() {},
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
const route = useRoute();
|
|
19
|
+
const token = route.params.changePassWordToken;
|
|
20
|
+
const isValidate = ref(false);
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<div class="password-bg">
|
|
25
|
+
<main
|
|
26
|
+
flex="~ auto center"
|
|
27
|
+
w-full
|
|
28
|
+
h-0
|
|
29
|
+
>
|
|
30
|
+
<div
|
|
31
|
+
h-full
|
|
32
|
+
flex="~"
|
|
33
|
+
justify-between
|
|
34
|
+
items-center
|
|
35
|
+
>
|
|
36
|
+
<div w-650px mr-20px>
|
|
37
|
+
<PassStrengthValidator v-model="newPassWord" v-model:validate="isValidate" />
|
|
38
|
+
</div>
|
|
39
|
+
<div class="change-password-form">
|
|
40
|
+
<div flex="~ col center" mb-40px>
|
|
41
|
+
<div
|
|
42
|
+
w-88px
|
|
43
|
+
h-88px
|
|
44
|
+
flex="~ center"
|
|
45
|
+
rounded="50%"
|
|
46
|
+
mb-15px
|
|
47
|
+
>
|
|
48
|
+
<PubinfoIcon
|
|
49
|
+
name="mima"
|
|
50
|
+
color="transparent"
|
|
51
|
+
:size="88"
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
54
|
+
<span text="18px" font="bold">
|
|
55
|
+
更改密码
|
|
56
|
+
</span>
|
|
57
|
+
</div>
|
|
58
|
+
<ChangePasswordForm ref="ChangePassWordForm" v-model:validate="isValidate" :token="token" />
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</main>
|
|
62
|
+
</div>
|
|
63
|
+
</template>
|
|
64
|
+
|
|
65
|
+
<style lang="scss" scoped>
|
|
66
|
+
.password-bg {
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-direction: column;
|
|
70
|
+
width: 100%;
|
|
71
|
+
height: 100%;
|
|
72
|
+
padding: 25px;
|
|
73
|
+
background: url("@/assets/images/login-small.png") no-repeat 50%;
|
|
74
|
+
background-size: cover;
|
|
75
|
+
|
|
76
|
+
.change-password-form {
|
|
77
|
+
display: flex;
|
|
78
|
+
flex-direction: column;
|
|
79
|
+
width: 560px;
|
|
80
|
+
min-height: 680px;
|
|
81
|
+
padding: 64px 80px 34px;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
background: linear-gradient(180deg, hsl(0deg 0% 100% / 90%), hsl(0deg 0% 100% / 75%));
|
|
84
|
+
backdrop-filter: blur(7.5px);
|
|
85
|
+
border: 2px solid #fff;
|
|
86
|
+
border-radius: 8px;
|
|
87
|
+
box-shadow: 0 20px 50px rgb(29 42 165 / 5%);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
[data-theme="dark"] {
|
|
92
|
+
.password-bg {
|
|
93
|
+
background: url("@/assets/images/login-small_dark.webp") no-repeat 50%;
|
|
94
|
+
background-size: cover;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.change-password-form {
|
|
98
|
+
background: #0f1e3b;
|
|
99
|
+
border-color: #0f1e3b;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
</style>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { PassStrengthValidator } from '@/components';
|
|
3
|
+
import ChangePasswordForm from './components/ChangePasswordForm/index.vue';
|
|
4
|
+
|
|
5
|
+
defineOptions({
|
|
6
|
+
name: 'ChangePasswordPageView',
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
const ChangePassWordForm = ref<InstanceType<typeof ChangePasswordForm>>();
|
|
10
|
+
|
|
11
|
+
const newPassWord = computed({
|
|
12
|
+
get() {
|
|
13
|
+
return ChangePassWordForm.value?.formState.newPassword;
|
|
14
|
+
},
|
|
15
|
+
set() {},
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
const route = useRoute();
|
|
19
|
+
const token = route.params.changePassWordToken;
|
|
20
|
+
const isValidate = ref(false);
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<div
|
|
25
|
+
flex="~"
|
|
26
|
+
w-full
|
|
27
|
+
h-full
|
|
28
|
+
>
|
|
29
|
+
<main
|
|
30
|
+
flex="~ auto center"
|
|
31
|
+
w-full
|
|
32
|
+
h-full
|
|
33
|
+
pt-10px
|
|
34
|
+
>
|
|
35
|
+
<div
|
|
36
|
+
w-full
|
|
37
|
+
h-full
|
|
38
|
+
flex="~"
|
|
39
|
+
justify-between
|
|
40
|
+
bg="#fff"
|
|
41
|
+
px-32px
|
|
42
|
+
py-20px
|
|
43
|
+
>
|
|
44
|
+
<div w-420px ml-60px mt-70px>
|
|
45
|
+
<div flex="~ col center" mb-40px>
|
|
46
|
+
<span text="18px" font="bold">
|
|
47
|
+
更改密码
|
|
48
|
+
</span>
|
|
49
|
+
</div>
|
|
50
|
+
<ChangePasswordForm ref="ChangePassWordForm" v-model:validate="isValidate" :token="token" />
|
|
51
|
+
</div>
|
|
52
|
+
<div w-644px py-15px bg="red">
|
|
53
|
+
<PassStrengthValidator v-model="newPassWord" v-model:validate="isValidate" />
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</main>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|