@pubinfo/core 2.0.0-beta.3 → 2.0.0-beta.31
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 → dist/AppSetting-C1dyZ-8E.js} +21 -20
- package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js} +2 -2
- package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-DgycKl9e.js} +124 -120
- package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-BlgX0ZNE.js} +2 -2
- package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-FmqadL1w.js} +1 -1
- package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-dzMgw8cN.js} +1 -1
- package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-BwlXsTTt.js} +1 -1
- package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-B5tHMS24.js} +2 -2
- package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-Bh0mvh66.js} +1 -1
- package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-D4g24uwl.js} +1 -1
- package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-DwTtu6As.js} +1 -1
- package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-cDQXtwcG.js} +1 -1
- package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-m8X7jEJH.js} +2 -2
- package/dist/SettingThemes-CX9ISeD_.js +145 -0
- package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-ByLjBezg.js} +1 -1
- package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-o8wBZolp.js} +2 -2
- package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-Ux60mKiv.js} +1 -1
- package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-17GrCZdo.js} +1 -1
- package/{es/_...all_-DI_QAUox.js → dist/_...all_-6l5FWUkL.js} +1 -1
- package/{es → dist}/api/index.d.ts +2 -1
- package/{es/colors-oRlAXMUC.js → dist/colors-DiWJrScm.js} +1 -1
- package/dist/components/PubinfoIcon/register.d.ts +9 -0
- package/{lib → dist}/components/PubinfoProvider/index.d.ts +1 -0
- package/{lib → dist}/composables/auth.d.ts +1 -1
- package/{es → dist}/context.d.ts +1 -1
- package/{es/index-P2cA5UeU.js → dist/index-Be7jJtXg.js} +38 -36
- package/{es/index-BHkrq701.js → dist/index-BmMbAV1Y.js} +33 -29
- package/{es/index-ChOUZNbk.js → dist/index-CfasTv4x.js} +6 -6
- package/{es/index-D8eeneI_.js → dist/index-Ckgil96Y.js} +25 -25
- package/{es/index-Dav3jQVP.js → dist/index-De_ME_Ws.js} +31 -31
- package/{es/index-DvHnVMX5.js → dist/index-DgpcBgWl.js} +6189 -5995
- package/{es/index-B9I6Pru6.js → dist/index-Dzwhw1L9.js} +57 -62
- package/{es/index-BkqnOkyO.js → dist/index-Md7zV10q.js} +12 -12
- package/{es/index-BvVAS3S-.js → dist/index-bsi-FZDt.js} +21 -13
- package/{es → dist}/index.d.ts +1 -0
- package/dist/index.js +77 -0
- package/{es/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-BBe8CvCV.js → dist/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js} +315 -297
- package/{lib → dist}/interface.d.ts +13 -0
- package/{lib → dist}/layout/Layout.vue.d.ts +2 -2
- package/{es → dist}/layout/composables/useContext.d.ts +1 -2
- package/{lib → dist}/layout/ui-kit/HDialog.vue.d.ts +12 -1
- package/{lib → dist}/layout/ui-kit/HSlideover.vue.d.ts +12 -1
- package/{es → dist}/layout/ui-kit/HTabList.vue.d.ts +2 -2
- package/{es/notification-6D5hA7Bp.js → dist/menu-CC5544p-.js} +2669 -2681
- package/{es/pick-Br-UKn7B.js → dist/pick-CJo2YiT-.js} +1 -1
- package/{es → dist}/request.js +399 -390
- package/{es → dist}/route/index.d.ts +0 -1
- package/dist/route/routes.d.ts +24 -0
- package/{lib → dist}/stores/modules/favorites.d.ts +1 -0
- package/{es → dist}/stores/modules/iframe.d.ts +1 -0
- package/{es → dist}/stores/modules/index.d.ts +8 -1
- package/{es → dist}/stores/modules/keepAlive.d.ts +1 -0
- package/{es → dist}/stores/modules/menu.d.ts +1 -0
- package/{es → dist}/stores/modules/route.d.ts +1 -0
- package/{lib → dist}/stores/modules/settings.d.ts +1 -0
- package/{lib → dist}/stores/modules/tabbar.d.ts +1 -0
- package/dist/stores/modules/user.d.ts +36 -0
- package/dist/style.css +9 -0
- package/{lib → dist}/utils/index.d.ts +6 -0
- package/package.json +38 -44
- package/src/api/index.ts +3 -1
- package/src/api/modules/configData/xitongpeizhifuwu.ts +3 -3
- package/src/assets/styles/globals.scss +6 -6
- package/src/components/PubinfoApp/index.vue +1 -1
- package/src/components/PubinfoIcon/index.vue +3 -1
- package/src/components/PubinfoIcon/register.ts +19 -0
- package/src/components/PubinfoProvider/index.ts +3 -2
- package/src/composables/auth.ts +1 -1
- package/src/context.ts +1 -2
- package/src/create.ts +7 -0
- package/src/index.ts +1 -0
- package/src/interface.ts +13 -0
- package/src/layout/Layout.vue +50 -59
- package/src/layout/components/Content/index.vue +34 -13
- package/src/layout/components/Header/TopMode/index.vue +12 -16
- package/src/layout/components/Header/index.vue +5 -5
- package/src/layout/components/SettingBar/components/SettingThemes.vue +7 -5
- package/src/layout/components/SettingBar/index.vue +3 -1
- package/src/layout/components/Sidebar/MainSidebar.vue +4 -7
- package/src/layout/components/Tools/Preferences/PreferencesContent.vue +2 -1
- package/src/layout/components/Tools/index.vue +9 -32
- package/src/layout/composables/useContext.ts +0 -2
- package/src/layout/composables/useMainPage.ts +1 -1
- package/src/layout/composables/useWatermark.ts +2 -2
- package/src/layout/provider.ts +7 -4
- package/src/layout/ui-kit/HDialog.vue +4 -1
- package/src/layout/ui-kit/HSlideover.vue +4 -1
- package/src/pages/system/change-organization/index.vue +3 -3
- package/src/pages/system/not-permission/index.vue +2 -2
- package/src/route/index.ts +0 -1
- package/src/route/routes.ts +87 -55
- package/src/stores/helper.ts +2 -2
- package/src/stores/modules/favorites.ts +1 -0
- package/src/stores/modules/iframe.ts +1 -0
- package/src/stores/modules/index.ts +8 -1
- package/src/stores/modules/keepAlive.ts +1 -0
- package/src/stores/modules/menu.ts +25 -1
- package/src/stores/modules/route.ts +14 -5
- package/src/stores/modules/settings.ts +1 -0
- package/src/stores/modules/tabbar.ts +1 -0
- package/src/stores/modules/user.ts +56 -20
- package/src/stores/plugin/sideEffect/favoritesStorage.ts +1 -1
- package/src/stores/plugin/sideEffect/tabbarStorage.ts +1 -1
- package/src/utils/index.ts +14 -0
- package/src/utils/watermark.ts +1 -1
- package/types/vue-router.d.ts +3 -1
- package/es/SettingThemes-D_DpEncn.js +0 -144
- package/es/components/PubinfoProvider/index.d.ts +0 -8
- package/es/composables/auth.d.ts +0 -8
- package/es/index-DTQQt_XY.js +0 -10
- package/es/index.js +0 -76
- package/es/interface.d.ts +0 -29
- package/es/layout/Layout.vue.d.ts +0 -20
- package/es/layout/ui-kit/HDialog.vue.d.ts +0 -28
- package/es/layout/ui-kit/HSlideover.vue.d.ts +0 -30
- package/es/pages/system/not-permission/index.vue.d.ts +0 -2
- package/es/route/async.d.ts +0 -9
- package/es/route/routes.d.ts +0 -3
- package/es/stores/modules/favorites.d.ts +0 -32
- package/es/stores/modules/notification.d.ts +0 -18
- package/es/stores/modules/settings.d.ts +0 -85
- package/es/stores/modules/tabbar.d.ts +0 -59
- package/es/stores/modules/user.d.ts +0 -3
- package/es/style.css +0 -9
- package/es/utils/index.d.ts +0 -14
- package/lib/AppSetting-CCiwpjoq.cjs +0 -1
- package/lib/HButton.vue_vue_type_script_setup_true_lang-D-XkyoXl.cjs +0 -1
- package/lib/HCheckList.vue_vue_type_script_setup_true_lang-DwA8einQ.cjs +0 -1
- package/lib/HDivider-DCfDgE8l.cjs +0 -1
- package/lib/HInput.vue_vue_type_script_setup_true_lang-CwS0mGyL.cjs +0 -1
- package/lib/HToggle-BP6YYf-s.cjs +0 -1
- package/lib/PreferencesContent-DgL-Jc_J.cjs +0 -3
- package/lib/SettingBreadcrumb-BQ78yEP4.cjs +0 -1
- package/lib/SettingCopyright-x7aPlkQy.cjs +0 -1
- package/lib/SettingEnableTransition-CD3-44Iy.cjs +0 -1
- package/lib/SettingHome-u52oz6i8.cjs +0 -1
- package/lib/SettingMenu-DsElOvvv.cjs +0 -1
- package/lib/SettingMode-C_kgpTxw.cjs +0 -1
- package/lib/SettingNavSearch-3auTi8UW.cjs +0 -1
- package/lib/SettingOther-6XGQq7OA.cjs +0 -1
- package/lib/SettingPage-C8yIHpLc.cjs +0 -1
- package/lib/SettingTabbar-K-nHb89z.cjs +0 -1
- package/lib/SettingThemes-BeNwFz7K.cjs +0 -1
- package/lib/SettingToolbar-Be1V7lwV.cjs +0 -1
- package/lib/SettingTopbar-C-j8O3c8.cjs +0 -1
- package/lib/SettingWidthMode-GMjAF-s3.cjs +0 -1
- package/lib/TopThinMode-DGUvyHT2.cjs +0 -1
- package/lib/_...all_-C4CXjAo9.cjs +0 -1
- package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
- package/lib/api/enum/code.d.ts +0 -67
- package/lib/api/helper.d.ts +0 -32
- package/lib/api/index.d.ts +0 -12
- package/lib/api/interface.d.ts +0 -14
- package/lib/api/modules/auth/index.d.ts +0 -1
- package/lib/api/modules/auth/renzhengfuwu.d.ts +0 -50
- package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
- package/lib/api/modules/configData/index.d.ts +0 -3
- package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
- package/lib/api/modules/configData/zidianfuwu.d.ts +0 -71
- package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -43
- package/lib/api/modules/rbac/index.d.ts +0 -11
- package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
- package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
- package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
- package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -106
- package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
- package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
- package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
- package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
- package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
- package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
- package/lib/api/request.d.ts +0 -2
- package/lib/api/system/app.d.ts +0 -17
- package/lib/api/system/user.d.ts +0 -24
- package/lib/assets/styles/index.d.ts +0 -6
- package/lib/colors-KAaBT84S.cjs +0 -1
- package/lib/components/NotAllowed/index.vue.d.ts +0 -2
- package/lib/components/PageHeader/index.vue.d.ts +0 -23
- package/lib/components/PageMain/index.vue.d.ts +0 -27
- package/lib/components/PassStrengthValidator/index.vue.d.ts +0 -26
- package/lib/components/PassStrengthValidator/rule.vue.d.ts +0 -8
- package/lib/components/PubinfoApp/index.vue.d.ts +0 -2
- package/lib/components/PubinfoIcon/index.vue.d.ts +0 -10
- package/lib/components/index.d.ts +0 -8
- package/lib/composables/index.d.ts +0 -4
- package/lib/composables/log.d.ts +0 -6
- package/lib/composables/theme.d.ts +0 -3
- package/lib/composables/watchDiff.d.ts +0 -2
- package/lib/config/index.d.ts +0 -1
- package/lib/config/settings.d.ts +0 -3
- package/lib/context.d.ts +0 -14
- package/lib/create.d.ts +0 -3
- package/lib/directives/index.d.ts +0 -4
- package/lib/directives/plugins/permission.d.ts +0 -6
- package/lib/index-38bsQrho.cjs +0 -1
- package/lib/index-BEqD62a0.cjs +0 -1
- package/lib/index-Bbm9CQRP.cjs +0 -1
- package/lib/index-BqHsuJkr.cjs +0 -1
- package/lib/index-JZl6Zh3L.cjs +0 -44
- package/lib/index-VGR0Mt4q.cjs +0 -240
- package/lib/index-WMo0GAa6.cjs +0 -1
- package/lib/index-_YsHduAE.cjs +0 -1
- package/lib/index-gr8kFwPx.cjs +0 -18
- package/lib/index-zvGq9tSu.cjs +0 -1
- package/lib/index.cjs +0 -1
- package/lib/index.d.ts +0 -11
- package/lib/index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-SCJ5qyPu.cjs +0 -1
- package/lib/layout/components/BackTop/index.vue.d.ts +0 -2
- package/lib/layout/components/Content/IframeView.vue.d.ts +0 -4
- package/lib/layout/components/Content/LinkView.vue.d.ts +0 -2
- package/lib/layout/components/Content/index.vue.d.ts +0 -2
- package/lib/layout/components/Copyright/index.vue.d.ts +0 -2
- package/lib/layout/components/Header/TopMode/More.vue.d.ts +0 -26
- package/lib/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -25
- package/lib/layout/components/Header/TopMode/index.vue.d.ts +0 -4
- package/lib/layout/components/Header/TopThinMode.vue.d.ts +0 -4
- package/lib/layout/components/Header/index.vue.d.ts +0 -19
- package/lib/layout/components/Logo/index.vue.d.ts +0 -26
- package/lib/layout/components/Menu/index.vue.d.ts +0 -10
- package/lib/layout/components/Menu/item.vue.d.ts +0 -11
- package/lib/layout/components/Menu/sub.vue.d.ts +0 -219
- package/lib/layout/components/Menu/types.d.ts +0 -42
- package/lib/layout/components/SettingBar/AppSetting.vue.d.ts +0 -12
- package/lib/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -9
- package/lib/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -2
- package/lib/layout/components/SettingBar/index.vue.d.ts +0 -2
- package/lib/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -2
- package/lib/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -2
- package/lib/layout/components/Sidebar/index.vue.d.ts +0 -2
- package/lib/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -17
- package/lib/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -25
- package/lib/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -2
- package/lib/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -4
- package/lib/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -2
- package/lib/layout/components/Tools/Preferences/index.vue.d.ts +0 -4
- package/lib/layout/components/Tools/Search.vue.d.ts +0 -199
- package/lib/layout/components/Tools/index.vue.d.ts +0 -233
- package/lib/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -217
- package/lib/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -14
- package/lib/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -4
- package/lib/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -2
- package/lib/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -2
- package/lib/layout/components/Topbar/index.vue.d.ts +0 -2
- package/lib/layout/composables/useContext.d.ts +0 -18
- package/lib/layout/composables/useGetComputedStyle.d.ts +0 -15
- package/lib/layout/composables/useHotkey.d.ts +0 -5
- package/lib/layout/composables/useMainPage.d.ts +0 -14
- package/lib/layout/composables/useMenu.d.ts +0 -8
- package/lib/layout/composables/useTabbar.d.ts +0 -14
- package/lib/layout/composables/useTitle.d.ts +0 -3
- package/lib/layout/composables/useViewTransition.d.ts +0 -3
- package/lib/layout/composables/useWatermark.d.ts +0 -4
- package/lib/layout/index.d.ts +0 -19
- package/lib/layout/provider.d.ts +0 -1
- package/lib/layout/ui-kit/HBadge.vue.d.ts +0 -20
- package/lib/layout/ui-kit/HButton.vue.d.ts +0 -26
- package/lib/layout/ui-kit/HCheckList.vue.d.ts +0 -20
- package/lib/layout/ui-kit/HDivider.vue.d.ts +0 -20
- package/lib/layout/ui-kit/HDropdown.vue.d.ts +0 -18
- package/lib/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -26
- package/lib/layout/ui-kit/HDropdownTree.vue.d.ts +0 -32
- package/lib/layout/ui-kit/HInput.vue.d.ts +0 -17
- package/lib/layout/ui-kit/HKbd.vue.d.ts +0 -17
- package/lib/layout/ui-kit/HSelect.vue.d.ts +0 -17
- package/lib/layout/ui-kit/HTabList.vue.d.ts +0 -22
- package/lib/layout/ui-kit/HToggle.vue.d.ts +0 -14
- package/lib/layout/ui-kit/HTooltip.vue.d.ts +0 -23
- package/lib/locales/index.d.ts +0 -301
- package/lib/locales/lang/en.json.d.ts +0 -99
- package/lib/locales/lang/zh-cn.json.d.ts +0 -100
- package/lib/locales/lang/zh-tw.json.d.ts +0 -100
- package/lib/locales/ui.d.ts +0 -3
- package/lib/modules.d.ts +0 -11
- package/lib/notification-IZqPm_OK.cjs +0 -199
- package/lib/pages/personal/profile/index.vue.d.ts +0 -2
- package/lib/pages/system/[...all].vue.d.ts +0 -2
- package/lib/pages/system/change-organization/index.vue.d.ts +0 -2
- package/lib/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -18
- package/lib/pages/system/change-password/index.vue.d.ts +0 -31
- package/lib/pages/system/index.vue.d.ts +0 -2
- package/lib/pages/system/not-permission/index.vue.d.ts +0 -2
- package/lib/pages/system/reload.vue.d.ts +0 -2
- package/lib/pick-y2yLda1R.cjs +0 -1
- package/lib/question-line-Cd0CU4hr.cjs +0 -1
- package/lib/reload-6L7Dzs7h.cjs +0 -1
- package/lib/request.cjs +0 -6
- package/lib/right-C5JQ_uRB.cjs +0 -1
- package/lib/route/async.d.ts +0 -9
- package/lib/route/guard/auth.d.ts +0 -3
- package/lib/route/guard/basic.d.ts +0 -3
- package/lib/route/guard/index.d.ts +0 -3
- package/lib/route/guard/setting.d.ts +0 -3
- package/lib/route/index.d.ts +0 -7
- package/lib/route/routes.d.ts +0 -3
- package/lib/stores/enum/index.d.ts +0 -20
- package/lib/stores/helper.d.ts +0 -2
- package/lib/stores/index.d.ts +0 -5
- package/lib/stores/modules/iframe.d.ts +0 -41
- package/lib/stores/modules/index.d.ts +0 -9
- package/lib/stores/modules/keepAlive.d.ts +0 -23
- package/lib/stores/modules/menu.d.ts +0 -32
- package/lib/stores/modules/notification.d.ts +0 -18
- package/lib/stores/modules/route.d.ts +0 -42
- package/lib/stores/modules/user.d.ts +0 -3
- package/lib/stores/plugin/persist.d.ts +0 -5
- package/lib/stores/plugin/sideEffect/cleanup.d.ts +0 -5
- package/lib/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -5
- package/lib/stores/plugin/sideEffect/iframeCache.d.ts +0 -5
- package/lib/stores/plugin/sideEffect/index.d.ts +0 -5
- package/lib/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -5
- package/lib/style.css +0 -9
- package/lib/utils/cleanup.d.ts +0 -8
- package/lib/utils/crypto.d.ts +0 -4
- package/lib/utils/eventBus.d.ts +0 -5
- package/lib/utils/injectionKeys.d.ts +0 -2
- package/lib/utils/storage.d.ts +0 -21
- package/lib/utils/utils.d.ts +0 -3
- package/lib/utils/watermark.d.ts +0 -51
- package/src/assets/icons/add-child.svg +0 -1
- package/src/assets/icons/authority.svg +0 -1
- package/src/assets/icons/authorize.svg +0 -1
- package/src/assets/icons/blacklist-disable.svg +0 -1
- package/src/assets/icons/blacklist-enable.svg +0 -1
- package/src/assets/icons/browser-360.svg +0 -1
- package/src/assets/icons/browser-chrome.svg +0 -1
- package/src/assets/icons/browser-edge.svg +0 -1
- package/src/assets/icons/browser-ie.svg +0 -1
- package/src/assets/icons/browser-other.svg +0 -1
- package/src/assets/icons/browser-qq.svg +0 -1
- package/src/assets/icons/browser-safari.svg +0 -1
- package/src/assets/icons/browser-uc.svg +0 -1
- package/src/assets/icons/edit.svg +0 -1
- package/src/assets/icons/empty-data.svg +0 -1
- package/src/assets/icons/icard.svg +0 -1
- package/src/assets/icons/icon_animation.svg +0 -1
- package/src/assets/icons/icon_breadcrumb.svg +0 -1
- package/src/assets/icons/icon_copyright.svg +0 -1
- package/src/assets/icons/icon_jt.svg +0 -1
- package/src/assets/icons/icon_layout.svg +0 -1
- package/src/assets/icons/icon_mainpage.svg +0 -1
- package/src/assets/icons/icon_menu.svg +0 -1
- package/src/assets/icons/icon_page_size.svg +0 -1
- package/src/assets/icons/icon_position_type.svg +0 -1
- package/src/assets/icons/icon_safe_manage.svg +0 -1
- package/src/assets/icons/icon_screen_scale.svg +0 -6
- package/src/assets/icons/icon_system_manage.svg +0 -1
- package/src/assets/icons/icon_tabbar.svg +0 -1
- package/src/assets/icons/icon_toolbar.svg +0 -1
- package/src/assets/icons/icon_topbar.svg +0 -1
- package/src/assets/icons/icon_watermark.svg +0 -1
- package/src/assets/icons/image-load-fail.svg +0 -1
- package/src/assets/icons/log-center.svg +0 -1
- package/src/assets/icons/logo-sig.svg +0 -1
- package/src/assets/icons/not-data.svg +0 -1
- package/src/assets/icons/org-main.svg +0 -1
- package/src/assets/icons/org-unmain.svg +0 -1
- package/src/assets/icons/process-management.svg +0 -1
- package/src/assets/icons/project-management.svg +0 -1
- package/src/assets/icons/rbac.svg +0 -1
- package/src/assets/icons/remove.svg +0 -1
- package/src/assets/icons/resource-app.svg +0 -1
- package/src/assets/icons/resource-btn.svg +0 -1
- package/src/assets/icons/resource-index.svg +0 -1
- package/src/assets/icons/resource-menu.svg +0 -1
- package/src/assets/icons/resource-nonmenu.svg +0 -1
- package/src/assets/icons/setting-manage.svg +0 -1
- package/src/assets/icons/test.svg +0 -1
- package/src/assets/icons/theme-check-mark.svg +0 -1
- package/src/assets/icons/theme-title.svg +0 -1
- package/src/assets/icons/tree_icon.svg +0 -1
- package/src/assets/icons/tree_icon_checked.svg +0 -1
- package/src/assets/icons/view.svg +0 -1
- package/src/assets/icons/workbench.svg +0 -1
- package/src/assets/icons/zddata.svg +0 -1
- package/src/assets/icons/zy_checked.svg +0 -1
- package/src/assets/icons/zy_default.svg +0 -1
- package/src/assets/images/layout/item1.webp +0 -0
- package/src/assets/images/layout/item1_dark.webp +0 -0
- package/src/assets/images/layout/item2.webp +0 -0
- package/src/assets/images/layout/item2_dark.webp +0 -0
- package/src/assets/images/layout/item3.webp +0 -0
- package/src/assets/images/layout/item3_dark.webp +0 -0
- package/src/assets/images/layout/item4.webp +0 -0
- package/src/assets/images/layout/item4_dark.webp +0 -0
- package/src/assets/images/layout/item5.webp +0 -0
- package/src/assets/images/layout/item5_dark.webp +0 -0
- package/src/assets/images/page-width/anto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/auto.webp +0 -0
- package/src/assets/images/page-width/auto_dark.webp +0 -0
- package/src/assets/images/page-width/auto_min_w.webp +0 -0
- package/src/assets/images/page-width/auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto.webp +0 -0
- package/src/assets/images/page-width/icon_auto_dark.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w.webp +0 -0
- package/src/assets/images/page-width/icon_auto_min_w_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle.webp +0 -0
- package/src/assets/images/page-width/icon_middle_dark.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w.webp +0 -0
- package/src/assets/images/page-width/icon_middle_max_w_dark.webp +0 -0
- package/src/assets/images/page-width/middle.webp +0 -0
- package/src/assets/images/page-width/middle_dark.webp +0 -0
- package/src/assets/images/page-width/middle_max_w.webp +0 -0
- package/src/assets/images/page-width/middle_max_w_dark.webp +0 -0
- package/src/layout/components/Tools/I18nSelector.vue +0 -52
- package/src/layout/components/Tools/Notification.vue +0 -152
- package/src/pages/personal/notification.vue +0 -58
- package/src/pages/system/change-password/page.vue +0 -58
- package/src/pages/system/index.vue +0 -5
- package/src/route/async.ts +0 -18
- package/src/stores/modules/notification.ts +0 -34
- package/{es → dist}/HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js +0 -0
- package/{es → dist}/HDivider-DgXBhPr0.js +0 -0
- package/{es → dist}/HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js +0 -0
- package/{es → dist}/HToggle-Cd71WKvG.js +0 -0
- package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
- package/{es → dist}/api/enum/code.d.ts +0 -0
- package/{es → dist}/api/helper.d.ts +0 -0
- package/{es → dist}/api/interface.d.ts +0 -0
- package/{es → dist}/api/modules/auth/index.d.ts +0 -0
- package/{es → dist}/api/modules/auth/renzhengfuwu.d.ts +0 -0
- package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
- package/{es → dist}/api/modules/configData/index.d.ts +0 -0
- package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
- package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
- package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
- package/{es → dist}/api/request.d.ts +0 -0
- package/{es → dist}/api/system/app.d.ts +0 -0
- package/{es → dist}/api/system/user.d.ts +0 -0
- package/{es → dist}/assets/styles/index.d.ts +0 -0
- package/{es → dist}/components/NotAllowed/index.vue.d.ts +0 -0
- package/{es → dist}/components/PageHeader/index.vue.d.ts +0 -0
- package/{es → dist}/components/PageMain/index.vue.d.ts +0 -0
- package/{es → dist}/components/PassStrengthValidator/index.vue.d.ts +2 -2
- package/{es → dist}/components/PassStrengthValidator/rule.vue.d.ts +0 -0
- package/{es → dist}/components/PubinfoApp/index.vue.d.ts +0 -0
- package/{es → dist}/components/PubinfoIcon/index.vue.d.ts +0 -0
- package/{es → dist}/components/index.d.ts +0 -0
- package/{es → dist}/composables/index.d.ts +0 -0
- package/{es → dist}/composables/log.d.ts +0 -0
- package/{es → dist}/composables/theme.d.ts +0 -0
- package/{es → dist}/composables/watchDiff.d.ts +0 -0
- package/{es → dist}/config/index.d.ts +0 -0
- package/{es → dist}/config/settings.d.ts +0 -0
- package/{es → dist}/create.d.ts +0 -0
- package/{es → dist}/directives/index.d.ts +0 -0
- package/{es → dist}/directives/plugins/permission.d.ts +0 -0
- package/{es → dist}/layout/components/BackTop/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Content/IframeView.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Content/LinkView.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Content/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Copyright/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Header/TopMode/More.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Header/TopMode/NotCursor.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Header/TopMode/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Header/TopThinMode.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Header/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Logo/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Menu/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Menu/item.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Menu/sub.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Menu/types.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/AppSetting.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/DayNightToggle.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingBreadcrumb.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingCopyright.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingEnableTransition.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingHome.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingMenu.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingMode.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingNavSearch.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingOther.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingPage.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingTabbar.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingThemes.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingToolbar.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingTopbar.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/components/SettingWidthMode.vue.d.ts +0 -0
- package/{es → dist}/layout/components/SettingBar/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Sidebar/MainSidebar.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Sidebar/SubSidebar.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Sidebar/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/Breadcrumb/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/Breadcrumb/item.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/DayNightSwitch.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/HotkeysIntro.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/Preferences/PreferencesContent.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/Preferences/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/Search.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Tools/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Topbar/Tabbar/MoreAction.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Topbar/Tabbar/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Topbar/Toolbar/Favorites.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Topbar/Toolbar/Star.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Topbar/Toolbar/index.vue.d.ts +0 -0
- package/{es → dist}/layout/components/Topbar/index.vue.d.ts +0 -0
- package/{es → dist}/layout/composables/useGetComputedStyle.d.ts +0 -0
- package/{es → dist}/layout/composables/useHotkey.d.ts +0 -0
- package/{es → dist}/layout/composables/useMainPage.d.ts +0 -0
- package/{es → dist}/layout/composables/useMenu.d.ts +0 -0
- package/{es → dist}/layout/composables/useTabbar.d.ts +0 -0
- package/{es → dist}/layout/composables/useTitle.d.ts +0 -0
- package/{es → dist}/layout/composables/useViewTransition.d.ts +0 -0
- package/{es → dist}/layout/composables/useWatermark.d.ts +0 -0
- package/{es → dist}/layout/index.d.ts +0 -0
- package/{es → dist}/layout/provider.d.ts +0 -0
- package/{es → dist}/layout/ui-kit/HBadge.vue.d.ts +0 -0
- package/{es → dist}/layout/ui-kit/HButton.vue.d.ts +0 -0
- package/{es → dist}/layout/ui-kit/HCheckList.vue.d.ts +2 -2
- /package/{es → dist}/layout/ui-kit/HDivider.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HDropdown.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HDropdownMenu.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HDropdownTree.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HInput.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HKbd.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HSelect.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HToggle.vue.d.ts +0 -0
- /package/{es → dist}/layout/ui-kit/HTooltip.vue.d.ts +0 -0
- /package/{es → dist}/locales/index.d.ts +0 -0
- /package/{es → dist}/locales/lang/en.json.d.ts +0 -0
- /package/{es → dist}/locales/lang/zh-cn.json.d.ts +0 -0
- /package/{es → dist}/locales/lang/zh-tw.json.d.ts +0 -0
- /package/{es → dist}/locales/ui.d.ts +0 -0
- /package/{es → dist}/modules.d.ts +0 -0
- /package/{es → dist}/pages/personal/profile/index.vue.d.ts +0 -0
- /package/{es → dist}/pages/system/[...all].vue.d.ts +0 -0
- /package/{es → dist}/pages/system/change-organization/index.vue.d.ts +0 -0
- /package/{es → dist}/pages/system/change-password/components/ChangePasswordForm/index.vue.d.ts +0 -0
- /package/{es → dist}/pages/system/change-password/index.vue.d.ts +0 -0
- /package/{es/pages/system → dist/pages/system/not-permission}/index.vue.d.ts +0 -0
- /package/{es → dist}/pages/system/reload.vue.d.ts +0 -0
- /package/{es → dist}/question-line-CfkciTFq.js +0 -0
- /package/{es → dist}/reload-CUcPYtl7.js +0 -0
- /package/{es → dist}/right-Bfe2p1o0.js +0 -0
- /package/{es → dist}/route/guard/auth.d.ts +0 -0
- /package/{es → dist}/route/guard/basic.d.ts +0 -0
- /package/{es → dist}/route/guard/index.d.ts +0 -0
- /package/{es → dist}/route/guard/setting.d.ts +0 -0
- /package/{es → dist}/stores/enum/index.d.ts +0 -0
- /package/{es → dist}/stores/helper.d.ts +0 -0
- /package/{es → dist}/stores/index.d.ts +0 -0
- /package/{es → dist}/stores/plugin/persist.d.ts +0 -0
- /package/{es → dist}/stores/plugin/sideEffect/cleanup.d.ts +0 -0
- /package/{es → dist}/stores/plugin/sideEffect/favoritesStorage.d.ts +0 -0
- /package/{es → dist}/stores/plugin/sideEffect/iframeCache.d.ts +0 -0
- /package/{es → dist}/stores/plugin/sideEffect/index.d.ts +0 -0
- /package/{es → dist}/stores/plugin/sideEffect/tabbarStorage.d.ts +0 -0
- /package/{es → dist}/utils/cleanup.d.ts +0 -0
- /package/{es → dist}/utils/crypto.d.ts +0 -0
- /package/{es → dist}/utils/eventBus.d.ts +0 -0
- /package/{es → dist}/utils/injectionKeys.d.ts +0 -0
- /package/{es → dist}/utils/storage.d.ts +0 -0
- /package/{es → dist}/utils/utils.d.ts +0 -0
- /package/{es → dist}/utils/watermark.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as c } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as x } from "./HInput.vue_vue_type_script_setup_true_lang-DBqCXRnn.js";
|
|
3
|
-
import { u as b, c as S } from "./index-
|
|
3
|
+
import { u as b, c as S } from "./index-DgpcBgWl.js";
|
|
4
4
|
import { _ as H } from "./HToggle-Cd71WKvG.js";
|
|
5
5
|
import { defineComponent as R, toRefs as T, createBlock as U, openBlock as C, withCtx as s, createElementVNode as o, createVNode as t, unref as n, isRef as i, createTextVNode as p } from "vue";
|
|
6
6
|
import { R as f } from "./question-line-CfkciTFq.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as m } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ } from "./HToggle-Cd71WKvG.js";
|
|
3
3
|
import { defineComponent as r, toRef as p, createBlock as u, openBlock as c, withCtx as d, createElementVNode as o, createVNode as g, unref as n } from "vue";
|
|
4
|
-
import { u as f } from "./index-
|
|
4
|
+
import { u as f } from "./index-DgpcBgWl.js";
|
|
5
5
|
const V = { class: "setting-item" }, C = /* @__PURE__ */ r({
|
|
6
6
|
name: "SettingPage",
|
|
7
7
|
__name: "SettingPage",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as k } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as w, c as y } from "./index-
|
|
2
|
+
import { u as w, c as y } from "./index-DgpcBgWl.js";
|
|
3
3
|
import { markRaw as x, createElementBlock as p, openBlock as r, createElementVNode as o, defineComponent as v, computed as $, resolveComponent as C, createBlock as V, mergeProps as h, withCtx as u, toDisplayString as g, unref as t, createVNode as a, Fragment as H, renderList as B, normalizeClass as S, toRef as T, createTextVNode as M } from "vue";
|
|
4
|
-
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as U } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
5
5
|
import { _ as L } from "./HToggle-Cd71WKvG.js";
|
|
6
6
|
import { R as N } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const R = {
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { _ as T } from "./HDivider-DgXBhPr0.js";
|
|
2
|
+
import { markRaw as b, createElementBlock as r, openBlock as n, createElementVNode as s, defineComponent as k, useModel as V, withDirectives as S, createStaticVNode as $, vModelCheckbox as w, toRef as D, computed as B, createBlock as N, withCtx as j, createVNode as h, unref as o, isRef as L, Fragment as g, renderList as f, normalizeClass as M, normalizeStyle as v, toDisplayString as z } from "vue";
|
|
3
|
+
import "./menu-CC5544p-.js";
|
|
4
|
+
import "pinia-plugin-persistedstate";
|
|
5
|
+
import { d as F, u as R } from "./index-DgpcBgWl.js";
|
|
6
|
+
import { getThemes as A } from "@pubinfo/config/themes";
|
|
7
|
+
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const E = {
|
|
9
|
+
viewBox: "-5 -2 24 24",
|
|
10
|
+
width: "1.2em",
|
|
11
|
+
height: "1.2em"
|
|
12
|
+
};
|
|
13
|
+
function H(p, e) {
|
|
14
|
+
return n(), r("svg", E, e[0] || (e[0] = [
|
|
15
|
+
s("path", {
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
d: "M3 0h8a3 3 0 0 1 3 3v15a2 2 0 0 1-3.348 1.477L7.674 16.76a1 1 0 0 0-1.348 0l-2.978 2.717A2 2 0 0 1 0 18V3a3 3 0 0 1 3-3"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
const I = b({ name: "jam-bookmark-f", render: H }), U = {
|
|
22
|
+
viewBox: "0 0 16 16",
|
|
23
|
+
width: "1.2em",
|
|
24
|
+
height: "1.2em"
|
|
25
|
+
};
|
|
26
|
+
function W(p, e) {
|
|
27
|
+
return n(), r("svg", U, e[0] || (e[0] = [
|
|
28
|
+
s("path", {
|
|
29
|
+
fill: "currentColor",
|
|
30
|
+
"fill-rule": "evenodd",
|
|
31
|
+
d: "M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m3.78-9.72a.75.75 0 0 0-1.06-1.06L6.75 9.19L5.53 7.97a.75.75 0 0 0-1.06 1.06l1.75 1.75a.75.75 0 0 0 1.06 0z",
|
|
32
|
+
"clip-rule": "evenodd"
|
|
33
|
+
}, null, -1)
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
const J = b({ name: "pajamas-check-circle-filled", render: W }), O = {
|
|
37
|
+
flex: "",
|
|
38
|
+
"justify-center": "",
|
|
39
|
+
"pb-15px": ""
|
|
40
|
+
}, P = { class: "toggleWrapper" }, q = /* @__PURE__ */ k({
|
|
41
|
+
name: "DayNightToggle",
|
|
42
|
+
__name: "DayNightToggle",
|
|
43
|
+
props: {
|
|
44
|
+
modelValue: {},
|
|
45
|
+
modelModifiers: {}
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:modelValue"],
|
|
48
|
+
setup(p) {
|
|
49
|
+
const e = V(p, "modelValue");
|
|
50
|
+
return (_, l) => (n(), r("div", O, [
|
|
51
|
+
s("div", P, [
|
|
52
|
+
S(s("input", {
|
|
53
|
+
id: "dn",
|
|
54
|
+
"onUpdate:modelValue": l[0] || (l[0] = (m) => e.value = m),
|
|
55
|
+
type: "checkbox",
|
|
56
|
+
class: "dn"
|
|
57
|
+
}, null, 512), [
|
|
58
|
+
[w, e.value]
|
|
59
|
+
]),
|
|
60
|
+
l[1] || (l[1] = $('<label for="dn" class="toggle" data-v-d927ea22><span class="toggle__handler" data-v-d927ea22><span class="crater crater--1" data-v-d927ea22></span><span class="crater crater--2" data-v-d927ea22></span><span class="crater crater--3" data-v-d927ea22></span></span><span class="star star--1" data-v-d927ea22></span><span class="star star--2" data-v-d927ea22></span><span class="star star--3" data-v-d927ea22></span><span class="star star--4" data-v-d927ea22></span><span class="star star--5" data-v-d927ea22></span><span class="star star--6" data-v-d927ea22></span></label>', 1))
|
|
61
|
+
])
|
|
62
|
+
]));
|
|
63
|
+
}
|
|
64
|
+
}), G = /* @__PURE__ */ x(q, [["__scopeId", "data-v-d927ea22"]]), K = { class: "themes" }, Q = ["onClick"], X = {
|
|
65
|
+
class: "theme-type",
|
|
66
|
+
flex: "",
|
|
67
|
+
"items-center": ""
|
|
68
|
+
}, Y = { class: "theme-point" }, Z = { class: "explosion" }, ee = /* @__PURE__ */ k({
|
|
69
|
+
name: "SettingThemes",
|
|
70
|
+
__name: "SettingThemes",
|
|
71
|
+
setup(p) {
|
|
72
|
+
const { isDark: e } = F(), { settingsStore: _ } = R(), l = D(_.settings, "app"), m = [
|
|
73
|
+
"--ui-primary",
|
|
74
|
+
"--ui-text",
|
|
75
|
+
"--g-bg",
|
|
76
|
+
"--g-header-bg",
|
|
77
|
+
"--g-main-sidebar-bg",
|
|
78
|
+
"--g-sub-sidebar-bg"
|
|
79
|
+
], y = B(() => {
|
|
80
|
+
const c = A();
|
|
81
|
+
return Object.keys(c).map((t) => {
|
|
82
|
+
const d = c[t], a = m.map((u) => d[u].startsWith("#") ? d[u] : `rgb(${d[u]})`), i = c[t].label;
|
|
83
|
+
return {
|
|
84
|
+
label: t,
|
|
85
|
+
value: d,
|
|
86
|
+
colors: a,
|
|
87
|
+
name: i
|
|
88
|
+
};
|
|
89
|
+
}).filter(
|
|
90
|
+
(t) => t.value["color-scheme"] === l.value.colorScheme
|
|
91
|
+
);
|
|
92
|
+
});
|
|
93
|
+
function C(c) {
|
|
94
|
+
const t = c.label;
|
|
95
|
+
e.value ? l.value.darkTheme = t : l.value.lightTheme = t;
|
|
96
|
+
}
|
|
97
|
+
return (c, t) => {
|
|
98
|
+
const d = T;
|
|
99
|
+
return n(), N(d, { title: "颜色主题风格" }, {
|
|
100
|
+
default: j(() => [
|
|
101
|
+
s("div", null, [
|
|
102
|
+
h(G, {
|
|
103
|
+
modelValue: o(e),
|
|
104
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => L(e) ? e.value = a : null)
|
|
105
|
+
}, null, 8, ["modelValue"])
|
|
106
|
+
]),
|
|
107
|
+
s("div", K, [
|
|
108
|
+
(n(!0), r(g, null, f(o(y), (a) => (n(), r("div", {
|
|
109
|
+
key: a.label,
|
|
110
|
+
class: M(["theme", { active: o(e) ? o(l).darkTheme === a.label : o(l).lightTheme === a.label }]),
|
|
111
|
+
onClick: (i) => C(a)
|
|
112
|
+
}, [
|
|
113
|
+
s("div", X, [
|
|
114
|
+
s("span", {
|
|
115
|
+
style: v({ color: a.colors.at(0) }),
|
|
116
|
+
"mr-5px": ""
|
|
117
|
+
}, [
|
|
118
|
+
h(o(I))
|
|
119
|
+
], 4),
|
|
120
|
+
s("span", {
|
|
121
|
+
style: v({ color: a.colors.at(0) }),
|
|
122
|
+
"text-sm": ""
|
|
123
|
+
}, z(a.name || a.label), 5)
|
|
124
|
+
]),
|
|
125
|
+
s("div", Y, [
|
|
126
|
+
(n(!0), r(g, null, f(a.colors, (i) => (n(), r("div", {
|
|
127
|
+
key: i,
|
|
128
|
+
class: "point",
|
|
129
|
+
style: v({ backgroundColor: i })
|
|
130
|
+
}, null, 4))), 128))
|
|
131
|
+
]),
|
|
132
|
+
s("div", Z, [
|
|
133
|
+
h(o(J))
|
|
134
|
+
])
|
|
135
|
+
], 10, Q))), 128))
|
|
136
|
+
])
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
}), de = /* @__PURE__ */ x(ee, [["__scopeId", "data-v-f75d0f5f"]]);
|
|
143
|
+
export {
|
|
144
|
+
de as default
|
|
145
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as b } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as V } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as f, c as g } from "./index-
|
|
3
|
+
import { u as f, c as g } from "./index-DgpcBgWl.js";
|
|
4
4
|
import { defineComponent as c, toRef as v, createBlock as x, openBlock as _, withCtx as i, createElementVNode as s, createElementBlock as C, createCommentVNode as N, createVNode as o, createTextVNode as m, unref as t } from "vue";
|
|
5
5
|
import { R as u } from "./question-line-CfkciTFq.js";
|
|
6
6
|
const R = { class: "setting-item" }, S = { class: "label" }, T = { class: "setting-item" }, U = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as u } from "./HDivider-DgXBhPr0.js";
|
|
2
2
|
import { _ as c } from "./HToggle-Cd71WKvG.js";
|
|
3
|
-
import { u as b, c as f } from "./index-
|
|
4
|
-
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { u as b, c as f } from "./index-DgpcBgWl.js";
|
|
4
|
+
import { _ as g } from "./HCheckList.vue_vue_type_script_setup_true_lang-B3wESRn7.js";
|
|
5
5
|
import { defineComponent as T, toRefs as V, createBlock as v, openBlock as x, withCtx as a, createElementVNode as n, createVNode as s, unref as t, createTextVNode as k } from "vue";
|
|
6
6
|
import { R as C } from "./question-line-CfkciTFq.js";
|
|
7
7
|
const H = { class: "setting-item" }, w = { class: "setting-item" }, N = { class: "label" }, D = /* @__PURE__ */ T({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as h } from "./HDivider-DgXBhPr0.js";
|
|
2
|
-
import { u as v, c as g } from "./index-
|
|
2
|
+
import { u as v, c as g } from "./index-DgpcBgWl.js";
|
|
3
3
|
import { defineComponent as k, toRef as w, reactive as x, createBlock as a, openBlock as t, withCtx as n, createElementVNode as s, createElementBlock as d, Fragment as r, renderList as b, unref as c, normalizeClass as C, createCommentVNode as M, createVNode as l } from "vue";
|
|
4
4
|
import { E, a as y } from "./right-Bfe2p1o0.js";
|
|
5
5
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, ref as l, createElementBlock as m, openBlock as i, withModifiers as c, createVNode as d, normalizeClass as f, unref as e } from "vue";
|
|
2
|
-
import { u as p, _ } from "./index-
|
|
2
|
+
import { u as p, _ } from "./index-DgpcBgWl.js";
|
|
3
3
|
import { useRoute as h } from "vue-router";
|
|
4
4
|
const R = /* @__PURE__ */ a({
|
|
5
5
|
name: "TopThinMode",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as u } from "./HButton.vue_vue_type_script_setup_true_lang-CYAzn9Mg.js";
|
|
2
2
|
import { defineComponent as c, ref as f, onMounted as d, createElementBlock as m, openBlock as p, createElementVNode as o, createVNode as _, withCtx as x, createTextVNode as v, toDisplayString as w, unref as g } from "vue";
|
|
3
|
-
import { e as b, a as k } from "./
|
|
3
|
+
import { e as b, a as k } from "./menu-CC5544p-.js";
|
|
4
4
|
import "pinia-plugin-persistedstate";
|
|
5
5
|
import { useRoute as N, useRouter as S, onBeforeRouteLeave as h } from "vue-router";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AxiosResponse } from 'axios';
|
|
2
2
|
import { RequestOptions } from './interface';
|
|
3
|
+
export { RESPONSE_CODE } from './enum/code';
|
|
3
4
|
export declare function createTokenAuthentication(): import('alova/client').TokenAuthenticationResult<import('alova/vue').VueHookType, import('@alova/adapter-axios').AxiosRequestAdapter>;
|
|
4
5
|
export declare function createRequest(options: RequestOptions): import('alova').Alova<import('alova').AlovaGenerics<any, any, import('@alova/adapter-axios').AlovaAxiosRequestConfig, AxiosResponse<any, any>, import('axios').AxiosResponseHeaders, any, any, {
|
|
5
6
|
name: "Vue";
|
|
@@ -9,4 +10,4 @@ export declare function createRequest(options: RequestOptions): import('alova').
|
|
|
9
10
|
StateExport: import('vue').Ref<unknown, unknown>;
|
|
10
11
|
ComputedExport: import('vue').ComputedRef<unknown>;
|
|
11
12
|
}>>;
|
|
12
|
-
export
|
|
13
|
+
export * from './interface';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a7 as t } from "./menu-CC5544p-.js";
|
|
2
2
|
const n = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
|
|
3
3
|
function C(e, s) {
|
|
4
4
|
return n.reduce((o, r) => {
|
package/{es → dist}/context.d.ts
RENAMED
|
@@ -6,7 +6,7 @@ export declare function usePubinfoContext(): Context;
|
|
|
6
6
|
* 读取项目中的约定式目录
|
|
7
7
|
*/
|
|
8
8
|
export declare function readProject(): {
|
|
9
|
-
layout: import(
|
|
9
|
+
layout: () => Promise<typeof import("pubinfo:project/layouts/index.vue")>;
|
|
10
10
|
request: {
|
|
11
11
|
auth: import('pubinfo:project/api/request').RequestInstance;
|
|
12
12
|
basic: import('pubinfo:project/api/request').RequestInstance;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as y, mergeModels as V, useModel as F, reactive as T, ref as P, createElementBlock as h, openBlock as N, createVNode as t, unref as a, withCtx as u, createTextVNode as k, nextTick as j, computed as z, createElementVNode as p, isRef as v } from "vue";
|
|
2
|
+
import { bz as S, bA as W, u as B, aR as M, v as $ } from "./menu-CC5544p-.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
|
-
import { useRouter as q, useRoute as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { P as
|
|
7
|
-
import {
|
|
4
|
+
import { useRouter as q, useRoute as A } from "vue-router";
|
|
5
|
+
import { _ as D } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
|
|
6
|
+
import { P as I } from "./index-CfasTv4x.js";
|
|
7
|
+
import { J, _ as O, M as X } from "./index-De_ME_Ws.js";
|
|
8
8
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
var H = "Expected a function";
|
|
10
|
-
function
|
|
10
|
+
function K(n, l, s) {
|
|
11
11
|
if (typeof n != "function")
|
|
12
12
|
throw new TypeError(H);
|
|
13
13
|
return setTimeout(function() {
|
|
14
14
|
n.apply(void 0, s);
|
|
15
15
|
}, l);
|
|
16
16
|
}
|
|
17
|
-
var
|
|
18
|
-
return
|
|
17
|
+
var L = S(function(n, l, s) {
|
|
18
|
+
return K(n, W(l) || 0, s);
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const Q = /* @__PURE__ */ y({
|
|
21
21
|
name: "ChangePasswordForm",
|
|
22
22
|
__name: "index",
|
|
23
|
-
props: /* @__PURE__ */
|
|
23
|
+
props: /* @__PURE__ */ V({
|
|
24
24
|
token: {}
|
|
25
25
|
}, {
|
|
26
26
|
validate: { type: Boolean, default: !1 },
|
|
@@ -28,7 +28,7 @@ const L = /* @__PURE__ */ b({
|
|
|
28
28
|
}),
|
|
29
29
|
emits: ["update:validate"],
|
|
30
30
|
setup(n, { expose: l }) {
|
|
31
|
-
const s = n,
|
|
31
|
+
const s = n, g = F(n, "validate"), o = T({
|
|
32
32
|
password: "",
|
|
33
33
|
newPassword: "",
|
|
34
34
|
repeatNewPassword: ""
|
|
@@ -42,7 +42,7 @@ const L = /* @__PURE__ */ b({
|
|
|
42
42
|
async function E(w, e) {
|
|
43
43
|
if (await j(), !e)
|
|
44
44
|
return Promise.reject(new Error("请再次输入新密码"));
|
|
45
|
-
if (!
|
|
45
|
+
if (!g.value)
|
|
46
46
|
return Promise.reject(new Error("密码安全校验不通过"));
|
|
47
47
|
}
|
|
48
48
|
const C = {
|
|
@@ -54,28 +54,28 @@ const L = /* @__PURE__ */ b({
|
|
|
54
54
|
newPassword: [{ validator: E }],
|
|
55
55
|
repeatNewPassword: [{ validator: i }]
|
|
56
56
|
};
|
|
57
|
-
async function
|
|
57
|
+
async function R() {
|
|
58
58
|
var w;
|
|
59
59
|
try {
|
|
60
60
|
await ((w = m.value) == null ? void 0 : w.validate()), await r.changeUserPassword({
|
|
61
61
|
oldPassword: o.password,
|
|
62
62
|
newPassword: o.newPassword,
|
|
63
63
|
token: s.token
|
|
64
|
-
}), $.success("密码修改成功"),
|
|
65
|
-
|
|
64
|
+
}), $.success("密码修改成功"), L(() => {
|
|
65
|
+
x();
|
|
66
66
|
}, 800);
|
|
67
67
|
} catch {
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function x() {
|
|
71
71
|
d.go(-1);
|
|
72
72
|
}
|
|
73
73
|
return l({
|
|
74
74
|
formState: o
|
|
75
75
|
}), (w, e) => {
|
|
76
|
-
const _ =
|
|
76
|
+
const _ = X, f = O, b = M, U = J;
|
|
77
77
|
return N(), h("div", null, [
|
|
78
|
-
t(
|
|
78
|
+
t(U, {
|
|
79
79
|
ref_key: "changePasswordForm",
|
|
80
80
|
ref: m,
|
|
81
81
|
model: a(o),
|
|
@@ -123,27 +123,29 @@ const L = /* @__PURE__ */ b({
|
|
|
123
123
|
}),
|
|
124
124
|
t(f, null, {
|
|
125
125
|
default: u(() => [
|
|
126
|
-
t(
|
|
126
|
+
t(b, {
|
|
127
127
|
type: "primary",
|
|
128
128
|
block: "",
|
|
129
129
|
"h-48px": "",
|
|
130
130
|
"mb-10px": "",
|
|
131
|
-
onClick:
|
|
131
|
+
onClick: R
|
|
132
132
|
}, {
|
|
133
133
|
default: u(() => e[3] || (e[3] = [
|
|
134
|
-
|
|
134
|
+
k(" 修改密码 ")
|
|
135
135
|
])),
|
|
136
|
-
_: 1
|
|
136
|
+
_: 1,
|
|
137
|
+
__: [3]
|
|
137
138
|
}),
|
|
138
|
-
t(
|
|
139
|
+
t(b, {
|
|
139
140
|
block: "",
|
|
140
141
|
"h-48px": "",
|
|
141
|
-
onClick:
|
|
142
|
+
onClick: x
|
|
142
143
|
}, {
|
|
143
144
|
default: u(() => e[4] || (e[4] = [
|
|
144
|
-
|
|
145
|
+
k(" 返回 ")
|
|
145
146
|
])),
|
|
146
|
-
_: 1
|
|
147
|
+
_: 1,
|
|
148
|
+
__: [4]
|
|
147
149
|
})
|
|
148
150
|
]),
|
|
149
151
|
_: 1
|
|
@@ -154,7 +156,7 @@ const L = /* @__PURE__ */ b({
|
|
|
154
156
|
]);
|
|
155
157
|
};
|
|
156
158
|
}
|
|
157
|
-
}),
|
|
159
|
+
}), Y = { class: "password-bg" }, Z = {
|
|
158
160
|
flex: "~ auto center",
|
|
159
161
|
"w-full": "",
|
|
160
162
|
"h-0": ""
|
|
@@ -175,23 +177,23 @@ const L = /* @__PURE__ */ b({
|
|
|
175
177
|
flex: "~ center",
|
|
176
178
|
rounded: "50%",
|
|
177
179
|
"mb-15px": ""
|
|
178
|
-
}, se = /* @__PURE__ */
|
|
180
|
+
}, se = /* @__PURE__ */ y({
|
|
179
181
|
name: "ChangePassword",
|
|
180
182
|
__name: "index",
|
|
181
183
|
setup(n) {
|
|
182
|
-
const l = P(), s =
|
|
184
|
+
const l = P(), s = z({
|
|
183
185
|
get() {
|
|
184
186
|
var m;
|
|
185
187
|
return (m = l.value) == null ? void 0 : m.formState.newPassword;
|
|
186
188
|
},
|
|
187
189
|
set() {
|
|
188
190
|
}
|
|
189
|
-
}), o =
|
|
190
|
-
return (m, r) => (N(), h("div",
|
|
191
|
-
p("main",
|
|
191
|
+
}), o = A().params.changePassWordToken, d = P(!1);
|
|
192
|
+
return (m, r) => (N(), h("div", Y, [
|
|
193
|
+
p("main", Z, [
|
|
192
194
|
p("div", ee, [
|
|
193
195
|
p("div", oe, [
|
|
194
|
-
t(a(
|
|
196
|
+
t(a(I), {
|
|
195
197
|
modelValue: a(s),
|
|
196
198
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => v(s) ? s.value = i : null),
|
|
197
199
|
validate: a(d),
|
|
@@ -201,7 +203,7 @@ const L = /* @__PURE__ */ b({
|
|
|
201
203
|
p("div", te, [
|
|
202
204
|
p("div", ae, [
|
|
203
205
|
p("div", re, [
|
|
204
|
-
t(a(
|
|
206
|
+
t(a(D), {
|
|
205
207
|
name: "mima",
|
|
206
208
|
color: "transparent",
|
|
207
209
|
size: 88
|
|
@@ -212,7 +214,7 @@ const L = /* @__PURE__ */ b({
|
|
|
212
214
|
font: "bold"
|
|
213
215
|
}, " 更改密码 ", -1))
|
|
214
216
|
]),
|
|
215
|
-
t(
|
|
217
|
+
t(Q, {
|
|
216
218
|
ref_key: "ChangePassWordForm",
|
|
217
219
|
ref: l,
|
|
218
220
|
validate: a(d),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent as w, toRaw as z, computed as B, ref as N, createElementBlock as _, openBlock as n, createElementVNode as e, Fragment as O, renderList as V, unref as r, normalizeClass as E, createVNode as l, createBlock as x, createCommentVNode as v, toDisplayString as L, withCtx as c, createTextVNode as u } from "vue";
|
|
2
|
+
import { u as R, aR as S, v as m } from "./menu-CC5544p-.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
6
|
-
import { T as
|
|
7
|
-
import { _ as
|
|
4
|
+
import { useRouter as T } from "vue-router";
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
|
|
6
|
+
import { T as j } from "./index-Ckgil96Y.js";
|
|
7
|
+
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const $ = { class: "change-org" }, D = {
|
|
9
9
|
"w-full": "",
|
|
10
10
|
"h-full": "",
|
|
@@ -25,11 +25,11 @@ const $ = { class: "change-org" }, D = {
|
|
|
25
25
|
text: "20px black dark:[#86909C]",
|
|
26
26
|
flex: "~",
|
|
27
27
|
"items-center": ""
|
|
28
|
-
}, J = { "mr-10px": "" }, K = /* @__PURE__ */
|
|
28
|
+
}, J = { "mr-10px": "" }, K = /* @__PURE__ */ w({
|
|
29
29
|
name: "ChangeOrganization",
|
|
30
30
|
__name: "index",
|
|
31
31
|
setup(M) {
|
|
32
|
-
const s =
|
|
32
|
+
const s = R(), h = T(), b = z(s.user.orgList), f = B(() => b.map((o) => ({
|
|
33
33
|
orgId: o.orgId,
|
|
34
34
|
label: o.orgName,
|
|
35
35
|
...o
|
|
@@ -37,16 +37,16 @@ const $ = { class: "change-org" }, D = {
|
|
|
37
37
|
function C(t) {
|
|
38
38
|
a.value = t;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function y() {
|
|
41
41
|
h.go(-1);
|
|
42
42
|
}
|
|
43
|
-
async function
|
|
44
|
-
const t =
|
|
45
|
-
o ? o === s.orgId ? m.error("请避免切换到当前已选组织") : (await s.changeOrg(o), m.success("组织切换成功")) : m.error("请选择要切换的组织");
|
|
43
|
+
async function I() {
|
|
44
|
+
const t = f.value[a.value], o = t == null ? void 0 : t.orgId;
|
|
45
|
+
o ? o === s.user.orgId ? m.error("请避免切换到当前已选组织") : (await s.changeOrg(o), m.success("组织切换成功")) : m.error("请选择要切换的组织");
|
|
46
46
|
}
|
|
47
47
|
return (t, o) => {
|
|
48
|
-
const
|
|
49
|
-
return n(),
|
|
48
|
+
const p = j, g = S;
|
|
49
|
+
return n(), _("div", $, [
|
|
50
50
|
e("div", D, [
|
|
51
51
|
e("div", F, [
|
|
52
52
|
o[4] || (o[4] = e("div", {
|
|
@@ -56,7 +56,7 @@ const $ = { class: "change-org" }, D = {
|
|
|
56
56
|
flex: "~",
|
|
57
57
|
items: "center"
|
|
58
58
|
}, " 请选择组织 ", -1)),
|
|
59
|
-
(n(!0),
|
|
59
|
+
(n(!0), _(O, null, V(r(f), (d, i) => (n(), _("div", {
|
|
60
60
|
key: i,
|
|
61
61
|
onClick: (P) => C(i)
|
|
62
62
|
}, [
|
|
@@ -70,24 +70,26 @@ const $ = { class: "change-org" }, D = {
|
|
|
70
70
|
}),
|
|
71
71
|
e("div", G, [
|
|
72
72
|
e("div", H, [
|
|
73
|
-
e("span", J, L(
|
|
74
|
-
r(s).orgId ===
|
|
73
|
+
e("span", J, L(d.label), 1),
|
|
74
|
+
r(s).user.orgId === d.orgId ? (n(), x(p, {
|
|
75
75
|
key: 0,
|
|
76
76
|
color: "blue"
|
|
77
77
|
}, {
|
|
78
78
|
default: c(() => o[0] || (o[0] = [
|
|
79
|
-
|
|
79
|
+
u(" 当前使用组织 ")
|
|
80
80
|
])),
|
|
81
|
-
_: 1
|
|
81
|
+
_: 1,
|
|
82
|
+
__: [0]
|
|
82
83
|
})) : v("", !0),
|
|
83
|
-
|
|
84
|
+
d.main ? (n(), x(p, {
|
|
84
85
|
key: 1,
|
|
85
86
|
color: "red"
|
|
86
87
|
}, {
|
|
87
88
|
default: c(() => o[1] || (o[1] = [
|
|
88
|
-
|
|
89
|
+
u(" 主组织 ")
|
|
89
90
|
])),
|
|
90
|
-
_: 1
|
|
91
|
+
_: 1,
|
|
92
|
+
__: [1]
|
|
91
93
|
})) : v("", !0)
|
|
92
94
|
])
|
|
93
95
|
])
|
|
@@ -108,22 +110,24 @@ const $ = { class: "change-org" }, D = {
|
|
|
108
110
|
block: "",
|
|
109
111
|
"h-40px": "",
|
|
110
112
|
"mb-15px": "",
|
|
111
|
-
onClick:
|
|
113
|
+
onClick: I
|
|
112
114
|
}, {
|
|
113
115
|
default: c(() => o[2] || (o[2] = [
|
|
114
|
-
|
|
116
|
+
u(" 确定 ")
|
|
115
117
|
])),
|
|
116
|
-
_: 1
|
|
118
|
+
_: 1,
|
|
119
|
+
__: [2]
|
|
117
120
|
}),
|
|
118
121
|
l(g, {
|
|
119
122
|
block: "",
|
|
120
123
|
"h-40px": "",
|
|
121
|
-
onClick:
|
|
124
|
+
onClick: y
|
|
122
125
|
}, {
|
|
123
126
|
default: c(() => o[3] || (o[3] = [
|
|
124
|
-
|
|
127
|
+
u(" 返回 ")
|
|
125
128
|
])),
|
|
126
|
-
_: 1
|
|
129
|
+
_: 1,
|
|
130
|
+
__: [3]
|
|
127
131
|
})
|
|
128
132
|
])
|
|
129
133
|
])
|
|
@@ -131,7 +135,7 @@ const $ = { class: "change-org" }, D = {
|
|
|
131
135
|
]);
|
|
132
136
|
};
|
|
133
137
|
}
|
|
134
|
-
}), to = /* @__PURE__ */
|
|
138
|
+
}), to = /* @__PURE__ */ A(K, [["__scopeId", "data-v-9b12754a"]]);
|
|
135
139
|
export {
|
|
136
140
|
to as default
|
|
137
141
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, computed as v, createVNode as z, createElementBlock as h, openBlock as l, normalizeClass as S, createElementVNode as s, createBlock as x, unref as C, toDisplayString as D, mergeModels as G, useModel as _, watchEffect as H, createCommentVNode as y, Fragment as $, renderList as M } from "vue";
|
|
2
|
-
import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
2
|
+
import { A as T, a as W, z as P } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-B3Eieo0k.js";
|
|
3
3
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ax as L, av as R, a7 as b, at as N, b7 as q, aA as j, ah as F, aa as B, bx as Z } from "./menu-CC5544p-.js";
|
|
5
5
|
const O = (e) => {
|
|
6
6
|
const {
|
|
7
7
|
componentCls: t,
|
|
@@ -164,14 +164,14 @@ const O = (e) => {
|
|
|
164
164
|
const {
|
|
165
165
|
type: g,
|
|
166
166
|
dashed: p,
|
|
167
|
-
plain:
|
|
167
|
+
plain: E
|
|
168
168
|
} = e, f = a.value;
|
|
169
169
|
return {
|
|
170
170
|
[f]: !0,
|
|
171
171
|
[r.value]: !!r.value,
|
|
172
172
|
[`${f}-${g}`]: !0,
|
|
173
173
|
[`${f}-dashed`]: !!p,
|
|
174
|
-
[`${f}-plain`]: !!
|
|
174
|
+
[`${f}-plain`]: !!E,
|
|
175
175
|
[`${f}-rtl`]: c.value === "rtl",
|
|
176
176
|
[`${f}-no-default-orientation-margin-left`]: u.value,
|
|
177
177
|
[`${f}-no-default-orientation-margin-right`]: n.value
|
|
@@ -183,12 +183,12 @@ const O = (e) => {
|
|
|
183
183
|
}), n.value && {
|
|
184
184
|
marginRight: g
|
|
185
185
|
});
|
|
186
|
-
}),
|
|
186
|
+
}), A = v(() => e.orientation.length > 0 ? "-" + e.orientation : e.orientation);
|
|
187
187
|
return () => {
|
|
188
188
|
var g;
|
|
189
189
|
const p = F((g = d.default) === null || g === void 0 ? void 0 : g.call(d));
|
|
190
190
|
return o(z("div", B(B({}, i), {}, {
|
|
191
|
-
class: [m.value, p.length ? `${a.value}-with-text ${a.value}-with-text${
|
|
191
|
+
class: [m.value, p.length ? `${a.value}-with-text ${a.value}-with-text${A.value}` : "", i.class],
|
|
192
192
|
role: "separator"
|
|
193
193
|
}), [p.length ? z("span", {
|
|
194
194
|
class: `${a.value}-inner-text`,
|