@pubinfo/core 2.0.0-beta.2 → 2.0.0-beta.20
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-DodCOb_z.js} +16 -16
- package/{es/HCheckList.vue_vue_type_script_setup_true_lang-DanhyVxU.js → dist/HCheckList.vue_vue_type_script_setup_true_lang-CMOw56Mk.js} +2 -2
- package/{es/PreferencesContent-CQkwkQ_1.js → dist/PreferencesContent-Dic24ifo.js} +56 -56
- package/{es/SettingBreadcrumb-Bp_66IFN.js → dist/SettingBreadcrumb-DWpbGcSy.js} +2 -2
- package/{es/SettingCopyright-BPSnoTQb.js → dist/SettingCopyright-CIY0pFMT.js} +1 -1
- package/{es/SettingEnableTransition-Rx2-0Wxj.js → dist/SettingEnableTransition-f0xuLIrZ.js} +1 -1
- package/{es/SettingHome-BW27PQqs.js → dist/SettingHome-BFtJsJsN.js} +1 -1
- package/{es/SettingMenu-D5gdNfal.js → dist/SettingMenu-DuPD3iSG.js} +2 -2
- package/{es/SettingMode-B4_HGVez.js → dist/SettingMode-nZ65qSWK.js} +1 -1
- package/{es/SettingNavSearch-CRovYxzh.js → dist/SettingNavSearch-CrarPE7d.js} +1 -1
- package/{es/SettingOther-D0zo11vM.js → dist/SettingOther-BddvExCF.js} +1 -1
- package/{es/SettingPage-B8GHuoKV.js → dist/SettingPage-C6Na8HEN.js} +1 -1
- package/{es/SettingTabbar-Cn_QzvA8.js → dist/SettingTabbar-nuwfRRaE.js} +2 -2
- package/{es/SettingThemes-D_DpEncn.js → dist/SettingThemes-DBq6j0zt.js} +2 -2
- package/{es/SettingToolbar-Csl2gnfi.js → dist/SettingToolbar-BdizZaGF.js} +1 -1
- package/{es/SettingTopbar-CaHjQULM.js → dist/SettingTopbar-D5BX5vS_.js} +2 -2
- package/{es/SettingWidthMode-BGiP7gTw.js → dist/SettingWidthMode-CHrLW3gs.js} +1 -1
- package/{es/TopThinMode-DWm0oY5Y.js → dist/TopThinMode-CttqTmaT.js} +1 -1
- package/{es/_...all_-DI_QAUox.js → dist/_...all_--d4S-8dL.js} +1 -1
- package/{es → dist}/api/index.d.ts +2 -1
- package/{es/colors-oRlAXMUC.js → dist/colors-BOKDjZQI.js} +1 -1
- 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-ChOUZNbk.js → dist/index-B0i20hau.js} +2 -2
- package/{es/index-D8eeneI_.js → dist/index-Bz9lh14R.js} +25 -25
- package/{es/index-BHkrq701.js → dist/index-CC3GE307.js} +30 -30
- package/{es/index-BvVAS3S-.js → dist/index-Cf8yM5Cv.js} +14 -8
- package/{es/index-P2cA5UeU.js → dist/index-Cygbc-66.js} +30 -30
- package/{es/index-DvHnVMX5.js → dist/index-D0CMv5FJ.js} +5543 -5719
- package/{es/index-B9I6Pru6.js → dist/index-DORROKh7.js} +57 -62
- package/{es/index-Dav3jQVP.js → dist/index-DltN2SCZ.js} +31 -31
- package/{es/index-BkqnOkyO.js → dist/index-dPREgrj8.js} +1 -1
- package/{es → dist}/index.d.ts +1 -0
- package/dist/index.js +76 -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-Bmtn9Oo4.js} +1 -1
- package/{lib → dist}/interface.d.ts +11 -0
- 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-Ddxel9ck.js} +3007 -3037
- package/{es/pick-Br-UKn7B.js → dist/pick-DEgsMKda.js} +1 -1
- package/{es → dist}/request.js +1 -1
- package/{es → dist}/route/index.d.ts +0 -1
- package/dist/route/routes.d.ts +22 -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/{es → dist}/style.css +1 -1
- package/package.json +22 -28
- package/src/api/index.ts +3 -1
- package/src/components/PubinfoProvider/index.ts +2 -0
- package/src/composables/auth.ts +1 -1
- package/src/context.ts +1 -2
- package/src/index.ts +1 -0
- package/src/interface.ts +11 -0
- package/src/layout/components/Header/TopMode/index.vue +12 -16
- package/src/layout/components/SettingBar/index.vue +3 -1
- package/src/layout/components/Tools/index.vue +9 -25
- package/src/layout/composables/useContext.ts +0 -2
- package/src/layout/composables/useWatermark.ts +2 -2
- package/src/layout/provider.ts +0 -3
- 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/route/index.ts +0 -1
- package/src/route/routes.ts +69 -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 +4 -3
- 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/watermark.ts +1 -1
- 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/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/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/Layout.vue.d.ts +0 -20
- 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/index.d.ts +0 -14
- 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/Notification.vue +0 -152
- package/src/pages/personal/notification.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/Layout.vue.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/index.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
|
-
import {
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { g as K, i as Q, a as Z } from "./colors-
|
|
1
|
+
import { aw as L, au as O, a6 as B, as as R, bY as j, az as z, aa as F, a9 as b, a8 as P, aN as X, aJ as U, bn as V, ap as J } from "./menu-Ddxel9ck.js";
|
|
2
|
+
import { defineComponent as w, computed as m, createVNode as d, shallowRef as Y, watchEffect as q, Fragment as G } from "vue";
|
|
3
|
+
import { g as K, i as Q, a as Z } from "./colors-BOKDjZQI.js";
|
|
4
4
|
const h = (e, t, l) => {
|
|
5
5
|
const a = j(l);
|
|
6
6
|
return {
|
|
@@ -116,13 +116,13 @@ const h = (e, t, l) => {
|
|
|
116
116
|
background: e.tagBorderlessBg
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
|
-
},
|
|
119
|
+
}, D = L("Tag", (e) => {
|
|
120
120
|
const {
|
|
121
121
|
fontSize: t,
|
|
122
122
|
lineHeight: l,
|
|
123
123
|
lineWidth: a,
|
|
124
124
|
fontSizeIcon: r
|
|
125
|
-
} = e, o = Math.round(t * l), c = e.fontSizeSM, g = o - a * 2, C = e.colorFillAlter, s = e.colorText, n =
|
|
125
|
+
} = e, o = Math.round(t * l), c = e.fontSizeSM, g = o - a * 2, C = e.colorFillAlter, s = e.colorText, n = O(e, {
|
|
126
126
|
tagFontSize: c,
|
|
127
127
|
tagLineHeight: g,
|
|
128
128
|
tagDefaultBg: C,
|
|
@@ -145,7 +145,7 @@ const h = (e, t, l) => {
|
|
|
145
145
|
type: Function
|
|
146
146
|
},
|
|
147
147
|
"onUpdate:checked": Function
|
|
148
|
-
}), S =
|
|
148
|
+
}), S = w({
|
|
149
149
|
compatConfig: {
|
|
150
150
|
MODE: 3
|
|
151
151
|
},
|
|
@@ -161,7 +161,7 @@ const h = (e, t, l) => {
|
|
|
161
161
|
} = t;
|
|
162
162
|
const {
|
|
163
163
|
prefixCls: o
|
|
164
|
-
} = z("tag", e), [c, g] =
|
|
164
|
+
} = z("tag", e), [c, g] = D(o), C = (n) => {
|
|
165
165
|
const {
|
|
166
166
|
checked: u
|
|
167
167
|
} = e;
|
|
@@ -203,7 +203,7 @@ const h = (e, t, l) => {
|
|
|
203
203
|
type: Boolean,
|
|
204
204
|
default: !0
|
|
205
205
|
}
|
|
206
|
-
}), v =
|
|
206
|
+
}), v = w({
|
|
207
207
|
compatConfig: {
|
|
208
208
|
MODE: 3
|
|
209
209
|
},
|
|
@@ -221,42 +221,42 @@ const h = (e, t, l) => {
|
|
|
221
221
|
const {
|
|
222
222
|
prefixCls: o,
|
|
223
223
|
direction: c
|
|
224
|
-
} = z("tag", e), [g, C] =
|
|
225
|
-
process.env.NODE_ENV !== "production" && U(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'),
|
|
224
|
+
} = z("tag", e), [g, C] = D(o), s = Y(!0);
|
|
225
|
+
process.env.NODE_ENV !== "production" && U(e.visible === void 0, "Tag", '`visible` is deprecated, please use `<Tag v-show="visible" />` instead.'), q(() => {
|
|
226
226
|
e.visible !== void 0 && (s.value = e.visible);
|
|
227
227
|
});
|
|
228
228
|
const n = (i) => {
|
|
229
229
|
i.stopPropagation(), a("update:visible", !1), a("close", i), !i.defaultPrevented && e.visible === void 0 && (s.value = !1);
|
|
230
|
-
}, u = m(() => Q(e.color) || Z(e.color)),
|
|
230
|
+
}, u = m(() => Q(e.color) || Z(e.color)), H = m(() => F(o.value, C.value, {
|
|
231
231
|
[`${o.value}-${e.color}`]: u.value,
|
|
232
232
|
[`${o.value}-has-color`]: e.color && !u.value,
|
|
233
233
|
[`${o.value}-hidden`]: !s.value,
|
|
234
234
|
[`${o.value}-rtl`]: c.value === "rtl",
|
|
235
235
|
[`${o.value}-borderless`]: !e.bordered
|
|
236
|
-
})),
|
|
236
|
+
})), N = (i) => {
|
|
237
237
|
a("click", i);
|
|
238
238
|
};
|
|
239
239
|
return () => {
|
|
240
|
-
var i,
|
|
240
|
+
var i, p, f;
|
|
241
241
|
const {
|
|
242
|
-
icon:
|
|
242
|
+
icon: M = (i = l.icon) === null || i === void 0 ? void 0 : i.call(l),
|
|
243
243
|
color: $,
|
|
244
|
-
closeIcon: y = (
|
|
245
|
-
closable:
|
|
246
|
-
} = e,
|
|
244
|
+
closeIcon: y = (p = l.closeIcon) === null || p === void 0 ? void 0 : p.call(l),
|
|
245
|
+
closable: A = !1
|
|
246
|
+
} = e, E = () => A ? y ? d("span", {
|
|
247
247
|
class: `${o.value}-close-icon`,
|
|
248
248
|
onClick: n
|
|
249
|
-
}, [y]) : d(
|
|
249
|
+
}, [y]) : d(J, {
|
|
250
250
|
class: `${o.value}-close-icon`,
|
|
251
251
|
onClick: n
|
|
252
|
-
}, null) : null,
|
|
252
|
+
}, null) : null, _ = {
|
|
253
253
|
backgroundColor: $ && !u.value ? $ : void 0
|
|
254
|
-
}, T =
|
|
255
|
-
onClick:
|
|
256
|
-
class: [
|
|
257
|
-
style: [
|
|
258
|
-
}), [
|
|
259
|
-
return g(
|
|
254
|
+
}, T = M || null, I = (f = l.default) === null || f === void 0 ? void 0 : f.call(l), k = T ? d(G, null, [T, d("span", null, [I])]) : I, W = e.onClick !== void 0, x = d("span", b(b({}, r), {}, {
|
|
255
|
+
onClick: N,
|
|
256
|
+
class: [H.value, r.class],
|
|
257
|
+
style: [_, r.style]
|
|
258
|
+
}), [k, E()]);
|
|
259
|
+
return g(W ? d(V, null, {
|
|
260
260
|
default: () => [x]
|
|
261
261
|
}) : x);
|
|
262
262
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as S,
|
|
1
|
+
import { defineComponent as w, toRaw as z, computed as B, ref as N, createElementBlock as m, 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 S, aQ as T, v as f } from "./menu-Ddxel9ck.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import { useRouter as j } from "vue-router";
|
|
5
|
-
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
6
|
-
import { T as A } from "./index-
|
|
5
|
+
import { _ as k } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js";
|
|
6
|
+
import { T as A } from "./index-Bz9lh14R.js";
|
|
7
7
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const $ = { class: "change-org" }, D = {
|
|
9
9
|
"w-full": "",
|
|
@@ -13,23 +13,23 @@ const $ = { class: "change-org" }, D = {
|
|
|
13
13
|
}, F = {
|
|
14
14
|
"w-620px": "",
|
|
15
15
|
"pt-20vh": ""
|
|
16
|
-
},
|
|
16
|
+
}, Q = ["onClick"], U = {
|
|
17
17
|
flex: "~",
|
|
18
18
|
"h-full": ""
|
|
19
|
-
},
|
|
19
|
+
}, q = {
|
|
20
20
|
flex: "~ col",
|
|
21
21
|
"h-full": "",
|
|
22
22
|
"justify-center": "",
|
|
23
23
|
ml: "18px"
|
|
24
|
-
},
|
|
24
|
+
}, G = {
|
|
25
25
|
text: "20px black dark:[#86909C]",
|
|
26
26
|
flex: "~",
|
|
27
27
|
"items-center": ""
|
|
28
|
-
},
|
|
28
|
+
}, H = { "mr-10px": "" }, J = /* @__PURE__ */ w({
|
|
29
29
|
name: "ChangeOrganization",
|
|
30
30
|
__name: "index",
|
|
31
|
-
setup(
|
|
32
|
-
const s = S(), h = j(), b = z(s.orgList), p = B(() => b.map((o) => ({
|
|
31
|
+
setup(K) {
|
|
32
|
+
const s = S(), h = j(), b = z(s.user.orgList), p = 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
|
|
43
|
+
async function I() {
|
|
44
44
|
const t = p.value[a.value], o = t == null ? void 0 : t.orgId;
|
|
45
|
-
o ? o === s.orgId ?
|
|
45
|
+
o ? o === s.user.orgId ? f.error("请避免切换到当前已选组织") : (await s.changeOrg(o), f.success("组织切换成功")) : f.error("请选择要切换的组织");
|
|
46
46
|
}
|
|
47
47
|
return (t, o) => {
|
|
48
48
|
const _ = A, g = T;
|
|
49
|
-
return n(),
|
|
49
|
+
return n(), m("div", $, [
|
|
50
50
|
e("div", D, [
|
|
51
51
|
e("div", F, [
|
|
52
52
|
o[4] || (o[4] = e("div", {
|
|
@@ -56,36 +56,36 @@ const $ = { class: "change-org" }, D = {
|
|
|
56
56
|
flex: "~",
|
|
57
57
|
items: "center"
|
|
58
58
|
}, " 请选择组织 ", -1)),
|
|
59
|
-
(n(!0),
|
|
59
|
+
(n(!0), m(O, null, V(r(p), (d, i) => (n(), m("div", {
|
|
60
60
|
key: i,
|
|
61
|
-
onClick: (
|
|
61
|
+
onClick: (M) => C(i)
|
|
62
62
|
}, [
|
|
63
63
|
e("div", {
|
|
64
64
|
class: E(["org-item", { active: i === r(a) }])
|
|
65
65
|
}, [
|
|
66
|
-
e("div",
|
|
66
|
+
e("div", U, [
|
|
67
67
|
l(r(k), {
|
|
68
68
|
name: "change-org",
|
|
69
69
|
size: "48px"
|
|
70
70
|
}),
|
|
71
|
-
e("div",
|
|
72
|
-
e("div",
|
|
73
|
-
e("span",
|
|
74
|
-
r(s).orgId ===
|
|
71
|
+
e("div", q, [
|
|
72
|
+
e("div", G, [
|
|
73
|
+
e("span", H, L(d.label), 1),
|
|
74
|
+
r(s).user.orgId === d.orgId ? (n(), x(_, {
|
|
75
75
|
key: 0,
|
|
76
76
|
color: "blue"
|
|
77
77
|
}, {
|
|
78
78
|
default: c(() => o[0] || (o[0] = [
|
|
79
|
-
|
|
79
|
+
u(" 当前使用组织 ")
|
|
80
80
|
])),
|
|
81
81
|
_: 1
|
|
82
82
|
})) : v("", !0),
|
|
83
|
-
|
|
83
|
+
d.main ? (n(), x(_, {
|
|
84
84
|
key: 1,
|
|
85
85
|
color: "red"
|
|
86
86
|
}, {
|
|
87
87
|
default: c(() => o[1] || (o[1] = [
|
|
88
|
-
|
|
88
|
+
u(" 主组织 ")
|
|
89
89
|
])),
|
|
90
90
|
_: 1
|
|
91
91
|
})) : v("", !0)
|
|
@@ -101,27 +101,27 @@ const $ = { class: "change-org" }, D = {
|
|
|
101
101
|
}, null, 8, ["color"])
|
|
102
102
|
])
|
|
103
103
|
], 2)
|
|
104
|
-
], 8,
|
|
104
|
+
], 8, Q))), 128)),
|
|
105
105
|
e("div", null, [
|
|
106
106
|
l(g, {
|
|
107
107
|
type: "primary",
|
|
108
108
|
block: "",
|
|
109
109
|
"h-40px": "",
|
|
110
110
|
"mb-15px": "",
|
|
111
|
-
onClick:
|
|
111
|
+
onClick: I
|
|
112
112
|
}, {
|
|
113
113
|
default: c(() => o[2] || (o[2] = [
|
|
114
|
-
|
|
114
|
+
u(" 确定 ")
|
|
115
115
|
])),
|
|
116
116
|
_: 1
|
|
117
117
|
}),
|
|
118
118
|
l(g, {
|
|
119
119
|
block: "",
|
|
120
120
|
"h-40px": "",
|
|
121
|
-
onClick:
|
|
121
|
+
onClick: y
|
|
122
122
|
}, {
|
|
123
123
|
default: c(() => o[3] || (o[3] = [
|
|
124
|
-
|
|
124
|
+
u(" 返回 ")
|
|
125
125
|
])),
|
|
126
126
|
_: 1
|
|
127
127
|
})
|
|
@@ -131,7 +131,7 @@ const $ = { class: "change-org" }, D = {
|
|
|
131
131
|
]);
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
}), to = /* @__PURE__ */ R(
|
|
134
|
+
}), to = /* @__PURE__ */ R(J, [["__scopeId", "data-v-9b12754a"]]);
|
|
135
135
|
export {
|
|
136
136
|
to as default
|
|
137
137
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createVNode as p, defineComponent as pe, computed as I, ref as ne, cloneVNode as Uo, isVNode as Rt, inject as qe, provide as Qe, onUnmounted as tl, shallowRef as re, watch as we, watchEffect as Fe, onMounted as Ze, createTextVNode as An, Fragment as nt, onBeforeUnmount as at, isRef as Pr, reactive as Et, toRefs as Qn, toRaw as kt, nextTick as Ct, onUpdated as nl, unref as Tt, toRef as Be, getCurrentInstance as ol, Transition as ed, withDirectives as td, vShow as nd, Teleport as od, useAttrs as xv, onBeforeUpdate as ld, getCurrentScope as Cv, onScopeDispose as wv, onActivated as vi, onBeforeMount as Pv, Text as ad, mergeProps as Vt, Comment as Iv, resolveDynamicComponent as Vs, createElementBlock as Ov, openBlock as Dv, createElementVNode as Tv, withCtx as Ls } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { a as th, T as ll, B as sa, R as no, S as vd, u as Mt,
|
|
2
|
+
import { a0 as Wa, a1 as rd, a2 as Ev, a3 as kv, a4 as vt, a5 as Ye, a6 as y, a7 as Ve, a8 as X, a9 as L, aa as de, ab as It, ac as No, ad as ge, ae as st, af as Ot, ag as jt, ah as on, ai as et, aj as id, ak as nn, al as Ir, am as tt, an as hi, ao as na, ap as sd, aq as ht, ar as ud, as as ot, at as rn, au as lt, av as oa, aw as yt, ax as la, ay as ze, az as Ue, aA as Ro, aB as Fn, aC as Or, aD as mi, aE as Mv, aF as xe, aG as Xe, aH as Ee, aI as Ge, aJ as an, aK as Nv, aL as ut, aM as Rv, aN as _v, aO as cd, aP as Io, aQ as wn, aR as Bv, aS as Ks, aT as Rn, aU as Hn, aV as Kt, aW as eo, h as Ln, aX as dd, aY as it, aZ as Un, a_ as aa, a$ as Vo, b0 as ra, b1 as Av, b2 as Fv, b3 as Ya, b4 as Vn, b5 as Hv, b6 as io, b7 as ia, b8 as fd, b9 as zs, ba as Vv, bb as kn, bc as Lv, bd as Kv, be as Kl, bf as zv, bg as jv, bh as Wv, bi as Dr, bj as pd, bk as Ut, bl as Yv, bm as Gv, bn as Xv, bo as Uv, bp as js, bq as qv, br as Ws, bs as Qv, bt as to, bu as gi, bv as Jv, bw as Zv, bx as eh } from "./menu-Ddxel9ck.js";
|
|
3
|
+
import { a as th, T as ll, B as sa, R as no, S as vd, u as Mt, F as Pn, g as so, b as fn, c as nh, d as oh, r as hd, e as lh, y as ua, f as md, h as gd, i as ca, j as al, k as qo, l as bi, C as ah, m as yi, n as bd, o as rh, p as yd, N as Ys, q as da, s as Gs, t as ih, v as sh, A as uh, w as ch, x as dh, z as fh, D as Xs, I as Sd, E as ph, G as vh, _ as $d, H as hh, J as mh, K as gh, L as bh } from "./index-DltN2SCZ.js";
|
|
4
4
|
import { onMounted as yh, nextTick as xd, isRef as Sh, ref as Cd, getCurrentInstance as Si, unref as $h, getCurrentScope as xh, onScopeDispose as Ch, watch as Tr, computed as wh, customRef as Ph, onUpdated as Ih, isVue2 as Oh } from "vue-demi";
|
|
5
|
-
import { p as $i } from "./pick-
|
|
6
|
-
import { T as Dh } from "./index-
|
|
5
|
+
import { p as $i } from "./pick-DEgsMKda.js";
|
|
6
|
+
import { T as Dh } from "./index-Bz9lh14R.js";
|
|
7
7
|
function Th() {
|
|
8
8
|
}
|
|
9
9
|
function Eh(e) {
|
|
@@ -34702,7 +34702,8 @@ const {
|
|
|
34702
34702
|
install: (e) => (e.component(xl.name, xl), e.component(Ll.name, Ll), e)
|
|
34703
34703
|
}), ci = Symbol("configProviderInjection"), TP = {
|
|
34704
34704
|
clsPrefix: String,
|
|
34705
|
-
tableSettings: Boolean
|
|
34705
|
+
tableSettings: Boolean,
|
|
34706
|
+
tablePagination: [Boolean, Function, Object]
|
|
34706
34707
|
};
|
|
34707
34708
|
pe({
|
|
34708
34709
|
name: "ConfigProvider",
|
|
@@ -34711,7 +34712,8 @@ pe({
|
|
|
34711
34712
|
const n = qe(ci, null);
|
|
34712
34713
|
return Qe(ci, {
|
|
34713
34714
|
mergedClsPrefixRef: I(() => e.clsPrefix !== void 0 ? e.clsPrefix : n == null ? void 0 : n.mergedClsPrefixRef.value),
|
|
34714
|
-
tableSettingsRef: I(() => e.tableSettings !== void 0 ? e.tableSettings : n == null ? void 0 : n.tableSettingsRef.value)
|
|
34715
|
+
tableSettingsRef: I(() => e.tableSettings !== void 0 ? e.tableSettings : n == null ? void 0 : n.tableSettingsRef.value),
|
|
34716
|
+
tablePaginationRef: I(() => e.tablePagination !== void 0 ? e.tablePagination : n == null ? void 0 : n.tablePaginationRef.value)
|
|
34715
34717
|
}), () => {
|
|
34716
34718
|
var o;
|
|
34717
34719
|
return (o = t == null ? void 0 : t.default) == null ? void 0 : o.call(t);
|
|
@@ -34730,11 +34732,13 @@ function Aa() {
|
|
|
34730
34732
|
tableSettingsRef: I(() => {
|
|
34731
34733
|
const t = e == null ? void 0 : e.tableSettingsRef.value;
|
|
34732
34734
|
return t === void 0 ? !0 : t;
|
|
34735
|
+
}),
|
|
34736
|
+
tablePaginationRef: I(() => {
|
|
34737
|
+
const t = e == null ? void 0 : e.tablePaginationRef.value;
|
|
34738
|
+
return t === void 0 ? !0 : t;
|
|
34733
34739
|
})
|
|
34734
34740
|
};
|
|
34735
34741
|
}
|
|
34736
|
-
Bo(), bt.Option;
|
|
34737
|
-
Bo(), bt.Option;
|
|
34738
34742
|
const ov = Symbol("grid");
|
|
34739
34743
|
function kP(e) {
|
|
34740
34744
|
Qe(ov, e);
|
|
@@ -35710,6 +35714,8 @@ const vI = (e, {
|
|
|
35710
35714
|
};
|
|
35711
35715
|
}
|
|
35712
35716
|
});
|
|
35717
|
+
Bo(), bt.Option;
|
|
35718
|
+
Bo(), bt.Option;
|
|
35713
35719
|
({
|
|
35714
35720
|
...Os()
|
|
35715
35721
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as k, mergeModels as R, 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 b, nextTick as j, computed as z, createElementVNode as p, isRef as v } from "vue";
|
|
2
|
+
import { by as S, bz as W, u as B, aQ as M, v as $ } from "./menu-Ddxel9ck.js";
|
|
3
3
|
import "pinia-plugin-persistedstate";
|
|
4
4
|
import { useRouter as q, useRoute as D } from "vue-router";
|
|
5
|
-
import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-
|
|
6
|
-
import { P as
|
|
7
|
-
import {
|
|
8
|
-
import { _ as
|
|
9
|
-
var
|
|
10
|
-
function
|
|
5
|
+
import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_fa1c6ee4_lang-Bmtn9Oo4.js";
|
|
6
|
+
import { P as J } from "./index-B0i20hau.js";
|
|
7
|
+
import { J as O, _ as Q, M as X } from "./index-DltN2SCZ.js";
|
|
8
|
+
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
var G = "Expected a function";
|
|
10
|
+
function H(n, l, s) {
|
|
11
11
|
if (typeof n != "function")
|
|
12
|
-
throw new TypeError(
|
|
12
|
+
throw new TypeError(G);
|
|
13
13
|
return setTimeout(function() {
|
|
14
14
|
n.apply(void 0, s);
|
|
15
15
|
}, l);
|
|
16
16
|
}
|
|
17
|
-
var K =
|
|
18
|
-
return
|
|
17
|
+
var K = S(function(n, l, s) {
|
|
18
|
+
return H(n, W(l) || 0, s);
|
|
19
19
|
});
|
|
20
|
-
const L = /* @__PURE__ */
|
|
20
|
+
const L = /* @__PURE__ */ k({
|
|
21
21
|
name: "ChangePasswordForm",
|
|
22
22
|
__name: "index",
|
|
23
|
-
props: /* @__PURE__ */
|
|
23
|
+
props: /* @__PURE__ */ R({
|
|
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 = {
|
|
@@ -62,18 +62,18 @@ const L = /* @__PURE__ */ b({
|
|
|
62
62
|
newPassword: o.newPassword,
|
|
63
63
|
token: s.token
|
|
64
64
|
}), $.success("密码修改成功"), K(() => {
|
|
65
|
-
|
|
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 = Q, y = M, V = O;
|
|
77
77
|
return N(), h("div", null, [
|
|
78
78
|
t(V, {
|
|
79
79
|
ref_key: "changePasswordForm",
|
|
@@ -123,7 +123,7 @@ const L = /* @__PURE__ */ b({
|
|
|
123
123
|
}),
|
|
124
124
|
t(f, null, {
|
|
125
125
|
default: u(() => [
|
|
126
|
-
t(
|
|
126
|
+
t(y, {
|
|
127
127
|
type: "primary",
|
|
128
128
|
block: "",
|
|
129
129
|
"h-48px": "",
|
|
@@ -131,17 +131,17 @@ const L = /* @__PURE__ */ b({
|
|
|
131
131
|
onClick: U
|
|
132
132
|
}, {
|
|
133
133
|
default: u(() => e[3] || (e[3] = [
|
|
134
|
-
|
|
134
|
+
b(" 修改密码 ")
|
|
135
135
|
])),
|
|
136
136
|
_: 1
|
|
137
137
|
}),
|
|
138
|
-
t(
|
|
138
|
+
t(y, {
|
|
139
139
|
block: "",
|
|
140
140
|
"h-48px": "",
|
|
141
|
-
onClick:
|
|
141
|
+
onClick: x
|
|
142
142
|
}, {
|
|
143
143
|
default: u(() => e[4] || (e[4] = [
|
|
144
|
-
|
|
144
|
+
b(" 返回 ")
|
|
145
145
|
])),
|
|
146
146
|
_: 1
|
|
147
147
|
})
|
|
@@ -154,7 +154,7 @@ const L = /* @__PURE__ */ b({
|
|
|
154
154
|
]);
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
}),
|
|
157
|
+
}), Y = { class: "password-bg" }, Z = {
|
|
158
158
|
flex: "~ auto center",
|
|
159
159
|
"w-full": "",
|
|
160
160
|
"h-0": ""
|
|
@@ -175,11 +175,11 @@ const L = /* @__PURE__ */ b({
|
|
|
175
175
|
flex: "~ center",
|
|
176
176
|
rounded: "50%",
|
|
177
177
|
"mb-15px": ""
|
|
178
|
-
}, se = /* @__PURE__ */
|
|
178
|
+
}, se = /* @__PURE__ */ k({
|
|
179
179
|
name: "ChangePassword",
|
|
180
180
|
__name: "index",
|
|
181
181
|
setup(n) {
|
|
182
|
-
const l = P(), s =
|
|
182
|
+
const l = P(), s = z({
|
|
183
183
|
get() {
|
|
184
184
|
var m;
|
|
185
185
|
return (m = l.value) == null ? void 0 : m.formState.newPassword;
|
|
@@ -187,11 +187,11 @@ const L = /* @__PURE__ */ b({
|
|
|
187
187
|
set() {
|
|
188
188
|
}
|
|
189
189
|
}), o = D().params.changePassWordToken, d = P(!1);
|
|
190
|
-
return (m, r) => (N(), h("div",
|
|
191
|
-
p("main",
|
|
190
|
+
return (m, r) => (N(), h("div", Y, [
|
|
191
|
+
p("main", Z, [
|
|
192
192
|
p("div", ee, [
|
|
193
193
|
p("div", oe, [
|
|
194
|
-
t(a(
|
|
194
|
+
t(a(J), {
|
|
195
195
|
modelValue: a(s),
|
|
196
196
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => v(s) ? s.value = i : null),
|
|
197
197
|
validate: a(d),
|
|
@@ -224,7 +224,7 @@ const L = /* @__PURE__ */ b({
|
|
|
224
224
|
])
|
|
225
225
|
]));
|
|
226
226
|
}
|
|
227
|
-
}), ce = /* @__PURE__ */
|
|
227
|
+
}), ce = /* @__PURE__ */ A(se, [["__scopeId", "data-v-023a7e03"]]);
|
|
228
228
|
export {
|
|
229
229
|
ce as default
|
|
230
230
|
};
|