@pubinfo/module-rbac 2.0.0-beta.3 → 2.0.0-beta.5
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/OrgSelector.vue_vue_type_script_setup_true_lang-DV8KkpJD.js +567 -0
- package/es/_baseClone-GtUoMmZh.js +191 -0
- package/es/_commonjsHelpers-C6fGbg64.js +6 -0
- package/es/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/es/animation_item.vue_vue_type_script_setup_true_lang-CNTrygHf.js +4864 -0
- package/es/api/modules/assist/gonggaofuwu.d.ts +43 -0
- package/es/api/modules/assist/index.d.ts +3 -0
- package/es/api/modules/assist/qunzujiekou.d.ts +36 -0
- package/es/api/modules/assist/quyujiekou.d.ts +36 -0
- package/es/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/es/api/modules/configData/index.d.ts +3 -0
- package/es/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/es/api/modules/configData/zidianfuwu.d.ts +57 -0
- package/es/api/modules/log/caozuorizhifuwu.d.ts +15 -0
- package/es/api/modules/log/denglurizhifuwu.d.ts +15 -0
- package/es/api/modules/log/index.d.ts +2 -0
- package/es/api/modules/rbac/gangweijiekou.d.ts +36 -0
- package/es/api/modules/rbac/index.d.ts +11 -0
- package/es/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/es/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/es/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/es/api/modules/rbac/yonghujiekou.d.ts +85 -0
- package/es/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/es/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/es/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/es/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/es/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/es/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/es/api/request.d.ts +1 -0
- package/es/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +38 -0
- package/es/cloneDeep-DWP4OxCI.js +8 -0
- package/es/components/GroupSelector/index.vue.d.ts +20 -0
- package/es/components/OrgTree/index.vue.d.ts +5 -0
- package/es/components/OrgUserSelector/OrgSelector.vue.d.ts +68 -0
- package/es/components/OrgUserSelector/UserSelector.vue.d.ts +72 -0
- package/es/components/OrgUserSelector/index.d.ts +8 -0
- package/es/components/OrgUserSelector/provider.d.ts +24 -0
- package/es/components/ResourceSelector/enum.d.ts +5 -0
- package/es/components/ResourceSelector/hooks/useAppAndResource.d.ts +29 -0
- package/es/components/ResourceSelector/index.vue.d.ts +26 -0
- package/es/composables/useLottie.d.ts +11 -0
- package/es/enum-BEHz_Q18.js +74 -0
- package/es/enum-C9ihxJe7.js +4 -0
- package/es/enum-CTUzwCYG.js +4 -0
- package/es/enum-DDKThkSw.js +24 -0
- package/es/gangweijiekou-BxJq_m0o.js +46 -0
- package/es/index-BDrI8Oyk.js +685 -0
- package/es/index-BIfx_Xrr.js +303 -0
- package/es/index-Bl4v-7On.js +125 -0
- package/es/index-BsoyF96V.js +131 -0
- package/es/index-Bz9QeL8M.js +399 -0
- package/es/index-C2dINi50.js +634 -0
- package/es/index-C7QJHUwa.js +30 -0
- package/es/index-CBMCWEIQ.js +274 -0
- package/es/index-CDHVSKIo.js +18588 -0
- package/es/index-CFPhIFyG.js +140 -0
- package/es/index-CYt7363u.js +874 -0
- package/es/index-CgiGLpzT.js +317 -0
- package/es/index-CsHj-xDw.js +283 -0
- package/es/index-D5T_4btx.js +862 -0
- package/es/index-DY1mOFzi.js +455 -0
- package/es/index-DcvR6q4y.js +1246 -0
- package/es/index-DuVeXn9R.js +409 -0
- package/es/index-Dvq9O5uC.js +164 -0
- package/es/index-F-kmM1iD.js +181 -0
- package/es/index-Gw-_3-qN.js +785 -0
- package/es/index-JFZ3GtN-.js +1631 -0
- package/es/index-U-g1yyH-.js +703 -0
- package/es/index-gCLgMcJu.js +462 -0
- package/es/index-gHIfcbvd.js +168 -0
- package/es/index-kFyBHYs8.js +389 -0
- package/es/index-uSBZoA3n.js +177 -0
- package/es/index.d.ts +7 -0
- package/es/index.js +6 -0
- package/es/interface.d.ts +47 -0
- package/es/itemlist-BRhA5jzY.js +369 -0
- package/es/jiaosejiekou-BfY4h7uI.js +58 -0
- package/es/login_history-CuQv9Iw3.js +430 -0
- package/es/operate_history-CGP-1Xy2.js +468 -0
- package/es/pubJiaosezukongzhiqi-CvYfc8Uz.js +57 -0
- package/es/request-DQLgc7lT.js +5 -0
- package/es/routes/index.d.ts +14 -0
- package/es/routes/modules/authority.manage.menu.d.ts +3 -0
- package/es/routes/modules/log.manage.menu.d.ts +3 -0
- package/es/routes/modules/safe.manage.menu.d.ts +3 -0
- package/es/routes/modules/stylesetting.manage.menu.d.ts +3 -0
- package/es/routes/modules/system.manage.menu.d.ts +3 -0
- package/es/setItem-C1_olVDY.js +152 -0
- package/es/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +65 -0
- package/es/stores/index.d.ts +1 -0
- package/es/style.css +1 -0
- package/es/useAppAndResource-D_b19V4t.js +55 -0
- package/es/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +14 -0
- package/es/views/blackWhiteList/enum.d.ts +7 -0
- package/es/views/blackWhiteList/index.vue.d.ts +1535 -0
- package/es/views/blackWhiteList/types.d.ts +4 -0
- package/es/views/breadcrumb_setting/animationData.d.ts +7 -0
- package/es/views/breadcrumb_setting/index.vue.d.ts +2 -0
- package/es/views/components/HCheckList.vue.d.ts +20 -0
- package/es/views/components/animation_item.vue.d.ts +14 -0
- package/es/views/components/setItem.vue.d.ts +61 -0
- package/es/views/data-permission/enum.d.ts +34 -0
- package/es/views/dictionary/components/drawerDictionary.vue.d.ts +12 -0
- package/es/views/dictionary/components/drawerDictionaryItem.vue.d.ts +12 -0
- package/es/views/dictionary/enum.d.ts +8 -0
- package/es/views/dictionary/index.vue.d.ts +1532 -0
- package/es/views/dictionary/itemlist.vue.d.ts +1532 -0
- package/es/views/group/components/drawerGroup.vue.d.ts +12 -0
- package/es/views/group/enum.d.ts +21 -0
- package/es/views/group/index.vue.d.ts +1532 -0
- package/es/views/layout_setting/index.vue.d.ts +2 -0
- package/es/views/log_center/components/browserType.vue.d.ts +12 -0
- package/es/views/log_center/components/loginHistoryDetail.vue.d.ts +14 -0
- package/es/views/log_center/components/operateHistoryDetail.vue.d.ts +14 -0
- package/es/views/log_center/login_history.vue.d.ts +1511 -0
- package/es/views/log_center/operate_history.vue.d.ts +1511 -0
- package/es/views/menu_setting/animationData.d.ts +13 -0
- package/es/views/menu_setting/index.vue.d.ts +2 -0
- package/es/views/organization/components/drawerOrganization.vue.d.ts +12 -0
- package/es/views/organization/components/drawerRole.vue.d.ts +36 -0
- package/es/views/organization/components/roleSelect.vue.d.ts +14 -0
- package/es/views/organization/enum.d.ts +25 -0
- package/es/views/organization/index.vue.d.ts +73 -0
- package/es/views/other_setting/animationData.d.ts +7 -0
- package/es/views/other_setting/index.vue.d.ts +2 -0
- package/es/views/other_setting/interface.d.ts +23 -0
- package/es/views/page_animation_setting/animationData.d.ts +11 -0
- package/es/views/page_animation_setting/index.vue.d.ts +2 -0
- package/es/views/page_w_setting/index.vue.d.ts +2 -0
- package/es/views/position/components/drawerPosition.vue.d.ts +12 -0
- package/es/views/position/enum.d.ts +8 -0
- package/es/views/position/index.vue.d.ts +1532 -0
- package/es/views/region/components/drawerRegion.vue.d.ts +12 -0
- package/es/views/region/enum.d.ts +22 -0
- package/es/views/region/index.vue.d.ts +1533 -0
- package/es/views/resource/components/ResourceEdit.vue.d.ts +16 -0
- package/es/views/resource/components/RoleRelation.vue.d.ts +6 -0
- package/es/views/resource/enum.d.ts +30 -0
- package/es/views/resource/index.vue.d.ts +1549 -0
- package/es/views/resource/interface.d.ts +6 -0
- package/es/views/role/components/ResourceRelation.vue.d.ts +1515 -0
- package/es/views/role/enum.d.ts +25 -0
- package/es/views/role/interface.d.ts +6 -0
- package/es/views/role_group/components/drawerRole.vue.d.ts +37 -0
- package/es/views/role_group/components/roleSelect.vue.d.ts +14 -0
- package/es/views/role_group/enum.d.ts +21 -0
- package/es/views/role_group/index.vue.d.ts +1557 -0
- package/es/views/role_group/interface.d.ts +6 -0
- package/es/views/safe_setting/index.vue.d.ts +4 -0
- package/es/views/tabbar_setting/animationData.d.ts +11 -0
- package/es/views/tabbar_setting/index.vue.d.ts +2 -0
- package/es/views/tenant/interface.d.ts +6 -0
- package/es/views/theme_setting/index.vue.d.ts +2 -0
- package/es/views/toolbar_setting/animationData.d.ts +17 -0
- package/es/views/toolbar_setting/index.vue.d.ts +2 -0
- package/es/views/user/components/UserAuthorization.vue.d.ts +39 -0
- package/es/views/user/components/UserEdit.vue.d.ts +16 -0
- package/es/views/user/components/roleSelect.vue.d.ts +14 -0
- package/es/views/user/enum.d.ts +13 -0
- package/es/views/user/index.vue.d.ts +1586 -0
- package/es/views/user/interface.d.ts +40 -0
- package/es/views/watermark_setting/animationData.d.ts +3 -0
- package/es/views/watermark_setting/index.vue.d.ts +31 -0
- package/es/xitongpeizhifuwu-C1Vm-W1B.js +23 -0
- package/es/zidianfuwu-yCWHhOfO.js +65 -0
- package/es/ziyuanjiekou-DhrAbneq.js +69 -0
- package/es/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +28 -0
- package/es/zuzhijiekou-PeZuFtCO.js +85 -0
- package/lib/OrgSelector.vue_vue_type_script_setup_true_lang-BI6dIQO9.cjs +1 -0
- package/lib/_baseClone-bvg2h-nB.cjs +1 -0
- package/lib/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/lib/animation_item.vue_vue_type_script_setup_true_lang-DJntALjR.cjs +9 -0
- package/lib/api/modules/assist/gonggaofuwu.d.ts +43 -0
- package/lib/api/modules/assist/index.d.ts +3 -0
- package/lib/api/modules/assist/qunzujiekou.d.ts +36 -0
- package/lib/api/modules/assist/quyujiekou.d.ts +36 -0
- package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
- package/lib/api/modules/configData/index.d.ts +3 -0
- package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
- package/lib/api/modules/configData/zidianfuwu.d.ts +57 -0
- package/lib/api/modules/log/caozuorizhifuwu.d.ts +15 -0
- package/lib/api/modules/log/denglurizhifuwu.d.ts +15 -0
- package/lib/api/modules/log/index.d.ts +2 -0
- package/lib/api/modules/rbac/gangweijiekou.d.ts +36 -0
- package/lib/api/modules/rbac/index.d.ts +11 -0
- package/lib/api/modules/rbac/jiaosejiekou.d.ts +50 -0
- package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
- package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
- package/lib/api/modules/rbac/yonghujiekou.d.ts +85 -0
- package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
- package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
- package/lib/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
- package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
- package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
- package/lib/api/modules/rbac/zuzhijiekou.d.ts +64 -0
- package/lib/api/request.d.ts +1 -0
- package/lib/browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs +1 -0
- package/lib/cloneDeep-DKvAzXJU.cjs +1 -0
- package/lib/components/GroupSelector/index.vue.d.ts +20 -0
- package/lib/components/OrgTree/index.vue.d.ts +5 -0
- package/lib/components/OrgUserSelector/OrgSelector.vue.d.ts +68 -0
- package/lib/components/OrgUserSelector/UserSelector.vue.d.ts +72 -0
- package/lib/components/OrgUserSelector/index.d.ts +8 -0
- package/lib/components/OrgUserSelector/provider.d.ts +24 -0
- package/lib/components/ResourceSelector/enum.d.ts +5 -0
- package/lib/components/ResourceSelector/hooks/useAppAndResource.d.ts +29 -0
- package/lib/components/ResourceSelector/index.vue.d.ts +26 -0
- package/lib/composables/useLottie.d.ts +11 -0
- package/lib/enum-B-paw5p0.cjs +1 -0
- package/lib/enum-BFYGJ2YJ.cjs +1 -0
- package/lib/enum-BHDP2ejy.cjs +1 -0
- package/lib/enum-OwSMnw51.cjs +1 -0
- package/lib/gangweijiekou-DYYmkjys.cjs +1 -0
- package/lib/index-Apq1nfrg.cjs +1 -0
- package/lib/index-BOdrElTX.cjs +1 -0
- package/lib/index-BdQKw1uE.cjs +1 -0
- package/lib/index-BwkSE-Zz.cjs +1 -0
- package/lib/index-Bx53OKE6.cjs +1 -0
- package/lib/index-C151ukdL.cjs +1 -0
- package/lib/index-C3m3S7_Q.cjs +1 -0
- package/lib/index-CMf8N2mC.cjs +1 -0
- package/lib/index-CNtyqLTX.cjs +1 -0
- package/lib/index-Cm5xLy57.cjs +9 -0
- package/lib/index-D1vGtVqY.cjs +1 -0
- package/lib/index-D2gE9FFs.cjs +1 -0
- package/lib/index-D34uPnyD.cjs +1 -0
- package/lib/index-D7Awj4JU.cjs +1 -0
- package/lib/index-D9QyS2NB.cjs +1 -0
- package/lib/index-D9dMBtdM.cjs +1 -0
- package/lib/index-DBzHTy7k.cjs +1 -0
- package/lib/index-DG9uEqRG.cjs +1 -0
- package/lib/index-DQ8p9Bwg.cjs +1 -0
- package/lib/index-DUagbQoK.cjs +1 -0
- package/lib/index-D_APeiaQ.cjs +1 -0
- package/lib/index-DoCoA6Nr.cjs +1 -0
- package/lib/index-Dv-KtCh8.cjs +1 -0
- package/lib/index-F735VVe_.cjs +1 -0
- package/lib/index-Jc3VoxhA.cjs +1 -0
- package/lib/index-n5tzubbZ.cjs +1 -0
- package/lib/index.cjs +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/interface.d.ts +47 -0
- package/lib/itemlist-BEyAbkw5.cjs +1 -0
- package/lib/jiaosejiekou-BNn96VFQ.cjs +1 -0
- package/lib/login_history-C25qj8eL.cjs +1 -0
- package/lib/operate_history-Bmg66_WI.cjs +1 -0
- package/lib/pubJiaosezukongzhiqi-fVUoXj6y.cjs +1 -0
- package/lib/request-DML6P6cf.cjs +1 -0
- package/lib/routes/index.d.ts +14 -0
- package/lib/routes/modules/authority.manage.menu.d.ts +3 -0
- package/lib/routes/modules/log.manage.menu.d.ts +3 -0
- package/lib/routes/modules/safe.manage.menu.d.ts +3 -0
- package/lib/routes/modules/stylesetting.manage.menu.d.ts +3 -0
- package/lib/routes/modules/system.manage.menu.d.ts +3 -0
- package/lib/setItem-DIzkZHtI.cjs +1 -0
- package/lib/shujuquanxianzhubiaokongzhiqi-C6sd8pC3.cjs +1 -0
- package/lib/stores/index.d.ts +1 -0
- package/lib/style.css +1 -0
- package/lib/useAppAndResource-ChvKK2DZ.cjs +1 -0
- package/lib/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +14 -0
- package/lib/views/blackWhiteList/enum.d.ts +7 -0
- package/lib/views/blackWhiteList/index.vue.d.ts +1535 -0
- package/lib/views/blackWhiteList/types.d.ts +4 -0
- package/lib/views/breadcrumb_setting/animationData.d.ts +7 -0
- package/lib/views/breadcrumb_setting/index.vue.d.ts +2 -0
- package/lib/views/components/HCheckList.vue.d.ts +20 -0
- package/lib/views/components/animation_item.vue.d.ts +14 -0
- package/lib/views/components/setItem.vue.d.ts +61 -0
- package/lib/views/data-permission/enum.d.ts +34 -0
- package/lib/views/dictionary/components/drawerDictionary.vue.d.ts +12 -0
- package/lib/views/dictionary/components/drawerDictionaryItem.vue.d.ts +12 -0
- package/lib/views/dictionary/enum.d.ts +8 -0
- package/lib/views/dictionary/index.vue.d.ts +1532 -0
- package/lib/views/dictionary/itemlist.vue.d.ts +1532 -0
- package/lib/views/group/components/drawerGroup.vue.d.ts +12 -0
- package/lib/views/group/enum.d.ts +21 -0
- package/lib/views/group/index.vue.d.ts +1532 -0
- package/lib/views/layout_setting/index.vue.d.ts +2 -0
- package/lib/views/log_center/components/browserType.vue.d.ts +12 -0
- package/lib/views/log_center/components/loginHistoryDetail.vue.d.ts +14 -0
- package/lib/views/log_center/components/operateHistoryDetail.vue.d.ts +14 -0
- package/lib/views/log_center/login_history.vue.d.ts +1511 -0
- package/lib/views/log_center/operate_history.vue.d.ts +1511 -0
- package/lib/views/menu_setting/animationData.d.ts +13 -0
- package/lib/views/menu_setting/index.vue.d.ts +2 -0
- package/lib/views/organization/components/drawerOrganization.vue.d.ts +12 -0
- package/lib/views/organization/components/drawerRole.vue.d.ts +36 -0
- package/lib/views/organization/components/roleSelect.vue.d.ts +14 -0
- package/lib/views/organization/enum.d.ts +25 -0
- package/lib/views/organization/index.vue.d.ts +73 -0
- package/lib/views/other_setting/animationData.d.ts +7 -0
- package/lib/views/other_setting/index.vue.d.ts +2 -0
- package/lib/views/other_setting/interface.d.ts +23 -0
- package/lib/views/page_animation_setting/animationData.d.ts +11 -0
- package/lib/views/page_animation_setting/index.vue.d.ts +2 -0
- package/lib/views/page_w_setting/index.vue.d.ts +2 -0
- package/lib/views/position/components/drawerPosition.vue.d.ts +12 -0
- package/lib/views/position/enum.d.ts +8 -0
- package/lib/views/position/index.vue.d.ts +1532 -0
- package/lib/views/region/components/drawerRegion.vue.d.ts +12 -0
- package/lib/views/region/enum.d.ts +22 -0
- package/lib/views/region/index.vue.d.ts +1533 -0
- package/lib/views/resource/components/ResourceEdit.vue.d.ts +16 -0
- package/lib/views/resource/components/RoleRelation.vue.d.ts +6 -0
- package/lib/views/resource/enum.d.ts +30 -0
- package/lib/views/resource/index.vue.d.ts +1549 -0
- package/lib/views/resource/interface.d.ts +6 -0
- package/lib/views/role/components/ResourceRelation.vue.d.ts +1515 -0
- package/lib/views/role/enum.d.ts +25 -0
- package/lib/views/role/interface.d.ts +6 -0
- package/lib/views/role_group/components/drawerRole.vue.d.ts +37 -0
- package/lib/views/role_group/components/roleSelect.vue.d.ts +14 -0
- package/lib/views/role_group/enum.d.ts +21 -0
- package/lib/views/role_group/index.vue.d.ts +1557 -0
- package/lib/views/role_group/interface.d.ts +6 -0
- package/lib/views/safe_setting/index.vue.d.ts +4 -0
- package/lib/views/tabbar_setting/animationData.d.ts +11 -0
- package/lib/views/tabbar_setting/index.vue.d.ts +2 -0
- package/lib/views/tenant/interface.d.ts +6 -0
- package/lib/views/theme_setting/index.vue.d.ts +2 -0
- package/lib/views/toolbar_setting/animationData.d.ts +17 -0
- package/lib/views/toolbar_setting/index.vue.d.ts +2 -0
- package/lib/views/user/components/UserAuthorization.vue.d.ts +39 -0
- package/lib/views/user/components/UserEdit.vue.d.ts +16 -0
- package/lib/views/user/components/roleSelect.vue.d.ts +14 -0
- package/lib/views/user/enum.d.ts +13 -0
- package/lib/views/user/index.vue.d.ts +1586 -0
- package/lib/views/user/interface.d.ts +40 -0
- package/lib/views/watermark_setting/animationData.d.ts +3 -0
- package/lib/views/watermark_setting/index.vue.d.ts +31 -0
- package/lib/xitongpeizhifuwu-r-I2Ogxj.cjs +1 -0
- package/lib/zidianfuwu-VChcnkm9.cjs +1 -0
- package/lib/ziyuanjiekou-CvKeunY5.cjs +1 -0
- package/lib/zuzhijiaosebiaokongzhiqi-DYI3Zu-M.cjs +1 -0
- package/lib/zuzhijiekou-CFQtYuGW.cjs +1 -0
- package/package.json +5 -4
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export type Query = API.PubUserQueryDto;
|
|
2
|
+
export type Data = API.PubUserBo;
|
|
3
|
+
export type AddForm = API.PubUserAddDto & Record<string, unknown>;
|
|
4
|
+
export type EditForm = API.PubUserUpdateDto & Record<string, unknown>;
|
|
5
|
+
interface BaseSelect {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export type Form = Omit<API.PubUserBo, 'userOrgList'> & {
|
|
10
|
+
userOrgList: Array<Omit<API.PubUserOrgBo, 'roles' | 'posts'> & {
|
|
11
|
+
positionList: BaseSelect[];
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
export interface CurrentOrg {
|
|
15
|
+
orgId?: string;
|
|
16
|
+
orgName?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface AuthItem {
|
|
19
|
+
dataPermissionIds?: any[];
|
|
20
|
+
roleIds?: any[];
|
|
21
|
+
userId?: string;
|
|
22
|
+
orgId: string;
|
|
23
|
+
orgName: string;
|
|
24
|
+
main: boolean;
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}
|
|
27
|
+
export interface SelectItem {
|
|
28
|
+
label: string;
|
|
29
|
+
key: string;
|
|
30
|
+
}
|
|
31
|
+
export type OptionItem = string | SelectItem;
|
|
32
|
+
export interface ResultAuthItem {
|
|
33
|
+
dataPermissionIds: OptionItem[];
|
|
34
|
+
roleIds: OptionItem[];
|
|
35
|
+
userId: string;
|
|
36
|
+
orgId: string;
|
|
37
|
+
orgName: string;
|
|
38
|
+
main: boolean;
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').DefineComponent<{}, {}, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').ComponentOptionsMixin, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').ComponentProvideOptions, true, {
|
|
2
|
+
animateItem: import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
lightAnimationData: string;
|
|
4
|
+
darkAnimationData: string;
|
|
5
|
+
}> & Readonly<{}>, {
|
|
6
|
+
play: () => void;
|
|
7
|
+
stop: () => void;
|
|
8
|
+
}, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').ComponentOptionsMixin, {}, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').PublicProps, {
|
|
9
|
+
lightAnimationData: string;
|
|
10
|
+
darkAnimationData: string;
|
|
11
|
+
}, false, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').GlobalDirectives, string, {
|
|
12
|
+
AnimationRef: HTMLDivElement;
|
|
13
|
+
}, HTMLDivElement, import('../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.8.2/node_modules/vue').ComponentProvideOptions, {
|
|
14
|
+
P: {};
|
|
15
|
+
B: {};
|
|
16
|
+
D: {};
|
|
17
|
+
C: {};
|
|
18
|
+
M: {};
|
|
19
|
+
Defaults: {};
|
|
20
|
+
}, Readonly<{
|
|
21
|
+
lightAnimationData: string;
|
|
22
|
+
darkAnimationData: string;
|
|
23
|
+
}> & Readonly<{}>, {
|
|
24
|
+
play: () => void;
|
|
25
|
+
stop: () => void;
|
|
26
|
+
}, {}, {}, {}, {
|
|
27
|
+
lightAnimationData: string;
|
|
28
|
+
darkAnimationData: string;
|
|
29
|
+
}> | null;
|
|
30
|
+
}, HTMLDivElement>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { b as o } from "./request-DQLgc7lT.js";
|
|
2
|
+
function s(t, i) {
|
|
3
|
+
return o.Post("/sysconfig/addOrEidtSysThemeStyleConfig", t, {
|
|
4
|
+
headers: {
|
|
5
|
+
"Content-Type": "application/json"
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function e(t, i) {
|
|
10
|
+
return o.Post("/sysconfig/editSysSecurityConfig", t, {
|
|
11
|
+
headers: {
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function y(t) {
|
|
17
|
+
return o.Get("/sysconfig/getSysSecurityConfig", {});
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
s as a,
|
|
21
|
+
y as g,
|
|
22
|
+
e as p
|
|
23
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { b as e } from "./request-DQLgc7lT.js";
|
|
2
|
+
function s(t, i) {
|
|
3
|
+
const { id: n, ...o } = t;
|
|
4
|
+
return e.Delete(
|
|
5
|
+
`/dict/item/delete/${n}`,
|
|
6
|
+
{},
|
|
7
|
+
{
|
|
8
|
+
params: { ...o }
|
|
9
|
+
}
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
function p(t, i) {
|
|
13
|
+
return e.Get("/dict/item/list", {
|
|
14
|
+
params: {
|
|
15
|
+
...t
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function r(t, i) {
|
|
20
|
+
return e.Post("/dict/item/page", t, {
|
|
21
|
+
headers: {
|
|
22
|
+
"Content-Type": "application/json"
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function c(t, i) {
|
|
27
|
+
return e.Post("/dict/item/save", t, {
|
|
28
|
+
headers: {
|
|
29
|
+
"Content-Type": "application/json"
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function d(t, i) {
|
|
34
|
+
const { id: n, ...o } = t;
|
|
35
|
+
return e.Delete(
|
|
36
|
+
`/dict/type/delete/${n}`,
|
|
37
|
+
{},
|
|
38
|
+
{
|
|
39
|
+
params: { ...o }
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
function m(t, i) {
|
|
44
|
+
return e.Post("/dict/type/page", t, {
|
|
45
|
+
headers: {
|
|
46
|
+
"Content-Type": "application/json"
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function u(t, i) {
|
|
51
|
+
return e.Post("/dict/type/save", t, {
|
|
52
|
+
headers: {
|
|
53
|
+
"Content-Type": "application/json"
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
m as a,
|
|
59
|
+
c as b,
|
|
60
|
+
s as c,
|
|
61
|
+
d,
|
|
62
|
+
r as e,
|
|
63
|
+
p as g,
|
|
64
|
+
u as p
|
|
65
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { b as r } from "./request-DQLgc7lT.js";
|
|
2
|
+
function t(e, o) {
|
|
3
|
+
return r.Post("/rbac/resource/addResource", e, {
|
|
4
|
+
headers: {
|
|
5
|
+
"Content-Type": "application/json"
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function c(e) {
|
|
10
|
+
return r.Get("/rbac/resource/appList", {});
|
|
11
|
+
}
|
|
12
|
+
function a(e, o) {
|
|
13
|
+
return r.Get("/rbac/resource/getRoleListByResourceId", {
|
|
14
|
+
params: {
|
|
15
|
+
...e
|
|
16
|
+
},
|
|
17
|
+
...o || {}
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function u(e, o) {
|
|
21
|
+
return r.Get("/rbac/resource/groupResourceTree", {
|
|
22
|
+
params: {
|
|
23
|
+
...e
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function n(e, o) {
|
|
28
|
+
return r.Get("/rbac/resource/info", {
|
|
29
|
+
params: {
|
|
30
|
+
...e
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function p(e, o) {
|
|
35
|
+
return r.Get("/rbac/resource/resourceDelete", {
|
|
36
|
+
params: {
|
|
37
|
+
...e
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function R(e, o) {
|
|
42
|
+
return r.Get("/rbac/resource/resourceTree", {
|
|
43
|
+
params: {
|
|
44
|
+
...e
|
|
45
|
+
},
|
|
46
|
+
...o || {}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function i(e, o) {
|
|
50
|
+
return r.Post("/rbac/resource/resourceUpdate", e, {
|
|
51
|
+
headers: {
|
|
52
|
+
"Content-Type": "application/json"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function b(e) {
|
|
57
|
+
return r.Get("/rbac/resource/tenantAddResourceTree", {});
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
t as a,
|
|
61
|
+
a as b,
|
|
62
|
+
R as c,
|
|
63
|
+
p as d,
|
|
64
|
+
c as e,
|
|
65
|
+
u as f,
|
|
66
|
+
n as g,
|
|
67
|
+
b as h,
|
|
68
|
+
i as p
|
|
69
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { b as r } from "./request-DQLgc7lT.js";
|
|
2
|
+
function t(o, e) {
|
|
3
|
+
return r.Get("/rbac/orgRole/getByOrgId", {
|
|
4
|
+
params: {
|
|
5
|
+
...o
|
|
6
|
+
}
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function n(o, e) {
|
|
10
|
+
return r.Post("/rbac/orgRole/roleOrgPage", o, {
|
|
11
|
+
headers: {
|
|
12
|
+
"Content-Type": "application/json"
|
|
13
|
+
},
|
|
14
|
+
...e || {}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function g(o, e) {
|
|
18
|
+
return r.Post("/rbac/orgRole/saveOrgRole", o, {
|
|
19
|
+
headers: {
|
|
20
|
+
"Content-Type": "application/json"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
g as a,
|
|
26
|
+
t as g,
|
|
27
|
+
n as p
|
|
28
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { b as t } from "./request-DQLgc7lT.js";
|
|
2
|
+
function n(r, a) {
|
|
3
|
+
return t.Post("/rbac/org/addOrg", r, {
|
|
4
|
+
headers: {
|
|
5
|
+
"Content-Type": "application/json"
|
|
6
|
+
},
|
|
7
|
+
...a || {}
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function o(r, a) {
|
|
11
|
+
return t.Get("/rbac/org/deleteOrg", {
|
|
12
|
+
params: {
|
|
13
|
+
...r
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function s(r, a) {
|
|
18
|
+
return t.Get("/rbac/org/info", {
|
|
19
|
+
params: {
|
|
20
|
+
...r
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function c(r, a) {
|
|
25
|
+
return t.Get("/rbac/org/orgListByParentId", {
|
|
26
|
+
params: {
|
|
27
|
+
// parentId has a default value: 0
|
|
28
|
+
parentId: "0",
|
|
29
|
+
...r
|
|
30
|
+
},
|
|
31
|
+
...a || {}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function g(r, a) {
|
|
35
|
+
return t.Post("/rbac/org/search", r, {
|
|
36
|
+
headers: {
|
|
37
|
+
"Content-Type": "application/json"
|
|
38
|
+
},
|
|
39
|
+
...a || {}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function p(r, a) {
|
|
43
|
+
return t.Post("/rbac/org/searchOrgByIds", r, {
|
|
44
|
+
headers: {
|
|
45
|
+
"Content-Type": "application/json"
|
|
46
|
+
},
|
|
47
|
+
...a || {}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function i(r, a) {
|
|
51
|
+
return t.Get("/rbac/org/searchSubOrgById", {
|
|
52
|
+
params: {
|
|
53
|
+
...r
|
|
54
|
+
},
|
|
55
|
+
...a || {}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function b(r, a) {
|
|
59
|
+
return t.Get("/rbac/org/searchTreeById", {
|
|
60
|
+
params: {
|
|
61
|
+
// id has a default value: 0
|
|
62
|
+
id: "0",
|
|
63
|
+
...r
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function d(r, a) {
|
|
68
|
+
return t.Post("/rbac/org/updateOrg", r, {
|
|
69
|
+
headers: {
|
|
70
|
+
"Content-Type": "application/json"
|
|
71
|
+
},
|
|
72
|
+
...a || {}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
export {
|
|
76
|
+
n as a,
|
|
77
|
+
c as b,
|
|
78
|
+
b as c,
|
|
79
|
+
o as d,
|
|
80
|
+
g as e,
|
|
81
|
+
i as f,
|
|
82
|
+
s as g,
|
|
83
|
+
p as h,
|
|
84
|
+
d as p
|
|
85
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("vue"),w=require("@pubinfo/headlessui"),U=require("ant-design-vue"),m=require("./request-DML6P6cf.cjs"),P=require("./zuzhijiekou-CFQtYuGW.cjs");require("@pubinfo/headlessui/style.css");const F=require("./index-BOdrElTX.cjs");function B(e,n){return m.basic.Post("/rbac/user/grantUserRoleAndDatPermission",e,{headers:{"Content-Type":"application/json"}})}function V(e,n){return m.basic.Get("/rbac/user/info",{params:{...e}})}function q(e,n){return m.basic.Post("/rbac/user/pubUserAdd",e,{headers:{"Content-Type":"application/json"}})}function L(e,n){return m.basic.Put("/rbac/user/resetPassword",{},{params:{...e}})}function k(e,n){return m.basic.Post("/rbac/user/userAndOrgList",e,{headers:{"Content-Type":"application/json"},...n||{}})}function M(e,n){return m.basic.Get("/rbac/user/userDelete",{params:{...e}})}function A(e,n){return m.basic.Post("/rbac/user/userForMultiOrgPage",e,{headers:{"Content-Type":"application/json"},...n||{}})}function $(e,n){return m.basic.Post("/rbac/user/userPage",e,{headers:{"Content-Type":"application/json"}})}function z(e,n){return m.basic.Post("/rbac/user/userUpdate-v2",e,{headers:{"Content-Type":"application/json"}})}function O(e,n){return m.basic.Post("/rbac/collect/add",e,{headers:{"Content-Type":"application/json"},...n||{}})}function D(e,n){return m.basic.Post("/rbac/collect/findPage",e,{headers:{"Content-Type":"application/json"},...n||{}})}function T(e,n){return m.basic.Post("/rbac/collect/removeCollect",e,{headers:{"Content-Type":"application/json"},...n||{}})}function h(e,n){return m.basic.Post("/rbac/used/addBatch",e,{headers:{"Content-Type":"application/json"},...n||{}})}function G(e,n){return m.basic.Post("/rbac/used/findPage",e,{headers:{"Content-Type":"application/json"},...n||{}})}function x(e,n){const{id:a,...s}=e;return m.basic.Delete(`/group/delete/${a}`,{},{params:{...s}})}function R(e,n){const{id:a,...s}=e;return m.basic.Get(`/group/detail/${a}`,{params:{...s},...n||{}})}function C(e,n){return m.basic.Post("/group/findPage",e,{headers:{"Content-Type":"application/json"},...n||{}})}function E(e,n){return m.basic.Post("/group/list",e,{headers:{"Content-Type":"application/json"}})}function W(e,n){return m.basic.Post("/group/saveOrUpdate",e,{headers:{"Content-Type":"application/json"}})}const u={value:"orgId",label:"orgName",favorite:"collect",info:"fullName"},d={value:"orgUserId",label:"userName",favorite:"collect",info:"fullName"};function I(e="",n=""){return`${e}_${n}`}function N(e){const[n,a]=e==null?void 0:e.split("_");return{orgId:n,userId:a}}function f(e){return e?{headers:{"X-ResourceMark":e}}:{}}function S({auth:e,filter:n}){return{async getSelectedData(a){var r;const s=await P.postRbacOrgSearchOrgByIds(a.map(t=>t[u.value]),f(e));return((r=s==null?void 0:s.data)==null?void 0:r.map(t=>({...t,[u.value]:t.id,[u.label]:t.name,[u.info]:t.fullName})))??[]},async addRecentlyUsed(a){await h(a.map(s=>({type:"1",orgId:s[u.value],orgName:s[u.label]})),f(e))},async recentlyUsed({search:a,current:s}){var t,o;return{total:20,data:((o=(t=(await G({type:"1",orgName:a,currentPage:s,pageSize:20,showIsCollect:!0},f(e))).data)==null?void 0:t.records)==null?void 0:o.map(l=>({...l,[u.value]:l.orgId,[u.label]:l.orgName,[u.info]:l.fullOrgName})))??[]}},async favorites({search:a,current:s,pageSize:r}){var o,l,p;const t=await D({type:"1",orgName:a,currentPage:s,pageSize:r},f(e));return{total:((o=t.data)==null?void 0:o.total)??0,data:((p=(l=t.data)==null?void 0:l.records)==null?void 0:p.map(i=>({...i,[u.value]:i.orgId,[u.label]:i.orgName,[u.info]:i.fullOrgName})))??[]}},async favoriteToggle({favorite:a,record:s}){(await(a?O:T)({type:"1",orgId:s==null?void 0:s[u.value]},f(e))).success&&U.message.success(a?"收藏成功":"取消收藏成功")},async groups({search:a,current:s,pageSize:r}){var o,l,p;const t=await C({type:"1",name:a,currentPage:s,pageSize:r});return{total:((o=t.data)==null?void 0:o.total)??0,data:((p=(l=t.data)==null?void 0:l.records)==null?void 0:p.map(i=>({...i,[u.value]:i.id,[u.label]:i.name})))??[]}},async groupData({node:a}){var r,t;return((t=(r=(await R({id:a==null?void 0:a.id,showIsCollect:!0},f(e))).data)==null?void 0:r.pubGroupMemberList)==null?void 0:t.map(o=>({...o,[u.value]:o.orgId,[u.label]:o.orgName,[u.info]:o.fullOrgName,isLeaf:!0})).filter(n))??[]},async orgTree({node:a}){var r;return((r=(await P.getRbacOrgOrgListByParentId({parentId:a==null?void 0:a.orgId,enable:!0,showFullName:!0,showIsCollect:!0},f(e))).data)==null?void 0:r.map(t=>({...t,[u.value]:t.id,[u.label]:t.name,[u.info]:t.fullName,isLeaf:t.leaf})).filter(n))??[]},async orgChildren({node:a}){var r;return((r=(await P.getRbacOrgSearchSubOrgById({parentId:a==null?void 0:a.orgId},f(e))).data)==null?void 0:r.map(t=>({...t,[u.value]:t.id,[u.label]:t.name,[u.info]:t.fullName,isLeaf:t.leaf})).filter(n))??[]},async orgList({search:a,current:s,pageSize:r}){var o,l,p;const t=await P.postRbacOrgSearch({keyWord:a,currentPage:s,pageSize:r,showIsCollect:!0},f(e));return{total:((o=t.data)==null?void 0:o.total)??0,data:((p=(l=t.data)==null?void 0:l.records)==null?void 0:p.map(i=>({...i,[u.value]:i.id,[u.label]:i.simpleName,[u.info]:i.fullName})).filter(n))??[]}}}}function X({auth:e,filter:n}){return{async getSelectedData(a){var r;const s=await k(a.map(t=>({orgId:t.orgId,userId:t.userId})),f(e));return((r=s==null?void 0:s.data)==null?void 0:r.map(t=>({...t,[d.value]:I(t==null?void 0:t.orgId,t.id),[d.label]:t.realName,[d.info]:t.fullOrgName})))??[]},async addRecentlyUsed(a){await h(a.map(s=>{const r=N(s[d.value]);return{type:"2",orgId:r.orgId,userId:r.userId,userName:s[d.label]}}),f(e))},async recentlyUsed({search:a,current:s}){var t,o;return{total:20,data:((o=(t=(await G({type:"2",userName:a,currentPage:s,pageSize:20,showIsCollect:!0},f(e))).data)==null?void 0:t.records)==null?void 0:o.map(l=>({...l,[d.value]:I(l.orgId,l.userId),[d.label]:l.userName,[d.info]:l.fullOrgName})))??[]}},async favorites({search:a,current:s,pageSize:r}){var o,l,p;const t=await D({type:"2",userName:a,currentPage:s,pageSize:r},f(e));return{total:((o=t.data)==null?void 0:o.total)??0,data:((p=(l=t.data)==null?void 0:l.records)==null?void 0:p.map(i=>({...i,[d.value]:I(i.orgId,i.userId),[d.label]:i.userName,[d.info]:i.fullOrgName})))??[]}},async favoriteToggle({favorite:a,record:s}){const r=a?O:T,t=N(s==null?void 0:s[d.value]);(await r({type:"2",orgId:t.orgId,userId:t.userId},f(e))).success&&U.message.success(a?"收藏成功":"取消收藏成功")},async groups({search:a,current:s,pageSize:r}){var o,l,p;const t=await C({type:"2",name:a,currentPage:s,pageSize:r},f(e));return{total:((o=t.data)==null?void 0:o.total)??0,data:((p=(l=t.data)==null?void 0:l.records)==null?void 0:p.map(i=>({...i,[d.value]:i.id,[d.label]:i.name})))??[]}},async groupData({node:a}){var r,t;return((t=(r=(await R({id:a==null?void 0:a.id,showIsCollect:!0},f(e))).data)==null?void 0:r.pubGroupMemberList)==null?void 0:t.map(o=>({...o,[d.value]:I(o.orgId,o.userId),[d.label]:o.userName,[d.info]:o.fullOrgName,isLeaf:!0})).filter(n))??[]},async userList({orgId:a,search:s,current:r,pageSize:t}){var l,p,i;const o=await A({orgId:a,realName:s,currentPage:r,pageSize:t,enable:!0,showIsCollect:!0},f(e));return{total:((l=o.data)==null?void 0:l.total)??0,data:((i=(p=o.data)==null?void 0:p.records)==null?void 0:i.map(y=>({...y,[d.value]:I(y.orgId,y.userId),[d.label]:y.userName,[d.info]:y.fullOrgName})).filter(n))??[]}}}}const H=c.defineComponent({name:"OrgSelector",__name:"OrgSelector",props:c.mergeModels({title:{default:"选择组织"},multiple:{type:Boolean,default:!1},auth:{},apis:{default:()=>({})},tabs:{default:()=>[{value:"RecentlyUsed",label:"最近常用"},{value:"Favorites",label:"收藏"},{value:"OrgTree",label:"全部"},{value:"Groups",label:"群组"}]},disabledData:{type:Function,default:()=>!1},filter:{type:Function,default:()=>!0},onSubmit:{}},{open:{type:Boolean},openModifiers:{},modelValue:{default:[]},modelModifiers:{}}),emits:["update:open","update:modelValue"],setup(e,{expose:n}){const a=e,s=c.useAttrs(),r={...S({auth:a.auth,filter:a.filter}),...a.apis},t=c.useModel(e,"open"),o=c.useModel(e,"modelValue"),l=c.ref([]),p=F.useToggle(t),{onFieldChange:i}=U.Form.useInjectFormItemContext();function y(){p(!0)}c.watch(t,async b=>{var g;if(b){if(!o.value.length){l.value=[];return}try{l.value=await((g=r==null?void 0:r.getSelectedData)==null?void 0:g.call(r,o.value))??o.value}catch{l.value=o.value}}},{immediate:!0});function j(){var b,g;o.value=l.value,(b=a.onSubmit)==null||b.call(a,l.value),i(),p(!1),(g=r==null?void 0:r.addRecentlyUsed)==null||g.call(r,l.value)}return n({open:y}),(b,g)=>(c.openBlock(),c.createElementBlock("div",null,[b.$slots.trigger?(c.openBlock(),c.createElementBlock("span",{key:0,onClick:g[0]||(g[0]=v=>y())},[c.renderSlot(b.$slots,"trigger")])):c.createCommentVNode("v-if",!0),c.createVNode(c.unref(U.Modal),c.mergeProps(c.unref(s),{open:t.value,"onUpdate:open":g[2]||(g[2]=v=>t.value=v),title:b.title,width:760,"z-index":1001,"ok-text":"确认","cancel-text":"取消",onOk:g[3]||(g[3]=v=>j())}),{default:c.withCtx(()=>[c.createVNode(c.unref(w.OrgProvider),{apis:r,"field-names":c.unref(u)},{default:c.withCtx(()=>[c.createVNode(c.unref(w.ContentSelector),{modelValue:c.unref(l),"onUpdate:modelValue":g[1]||(g[1]=v=>c.isRef(l)?l.value=v:null),"default-tab":"OrgTree",tabs:b.tabs,multiple:b.multiple,"disabled-data":b.disabledData},null,8,["modelValue","tabs","multiple","disabled-data"])]),_:1},8,["field-names"])]),_:1},16,["open","title"])]))}});exports._sfc_main=H;exports.deleteGroupDeleteById=x;exports.getGroupDetailById=R;exports.getRbacUserInfo=V;exports.getRbacUserUserDelete=M;exports.orgFieldNames=u;exports.postGroupFindPage=C;exports.postGroupList=E;exports.postGroupSaveOrUpdate=W;exports.postRbacUserGrantUserRoleAndDatPermission=B;exports.postRbacUserPubUserAdd=q;exports.postRbacUserUserPage=$;exports.postRbacUserUserUpdateV2=z;exports.putRbacUserResetPassword=L;exports.resolveId=N;exports.useOrgAPIs=S;exports.useUserAPIs=X;exports.userFieldNames=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./index-D2gE9FFs.cjs");var T=t.getNative(t.root,"WeakMap");function q(e,r){for(var n=-1,o=e==null?0:e.length;++n<o&&r(e[n],n,e)!==!1;);return e}var Y=t.overArg(Object.keys,Object),H=Object.prototype,J=H.hasOwnProperty;function L(e){if(!t.isPrototype(e))return Y(e);var r=[];for(var n in Object(e))J.call(e,n)&&n!="constructor"&&r.push(n);return r}function S(e){return t.isArrayLike(e)?t.arrayLikeKeys(e):L(e)}function d(e,r){for(var n=-1,o=r.length,s=e.length;++n<o;)e[s+n]=r[n];return e}function Q(e,r){return e&&t.copyObject(r,S(r),e)}function X(e,r){return e&&t.copyObject(r,t.keysIn(r),e)}function Z(e,r){for(var n=-1,o=e==null?0:e.length,s=0,c=[];++n<o;){var i=e[n];r(i,n,e)&&(c[s++]=i)}return c}function D(){return[]}var z=Object.prototype,ee=z.propertyIsEnumerable,h=Object.getOwnPropertySymbols,w=h?function(e){return e==null?[]:(e=Object(e),Z(h(e),function(r){return ee.call(e,r)}))}:D;function te(e,r){return t.copyObject(e,w(e),r)}var re=Object.getOwnPropertySymbols,G=re?function(e){for(var r=[];e;)d(r,w(e)),e=t.getPrototype(e);return r}:D;function ne(e,r){return t.copyObject(e,G(e),r)}function N(e,r,n){var o=r(e);return t.isArray(e)?o:d(o,n(e))}function ae(e){return N(e,S,w)}function K(e){return N(e,t.keysIn,G)}var p=t.getNative(t.root,"DataView"),j=t.getNative(t.root,"Promise"),A=t.getNative(t.root,"Set"),I="[object Map]",oe="[object Object]",C="[object Promise]",M="[object Set]",P="[object WeakMap]",E="[object DataView]",ie=t.toSource(p),ce=t.toSource(t.Map),se=t.toSource(j),ge=t.toSource(A),ue=t.toSource(T);exports.getTag=t.baseGetTag;(p&&exports.getTag(new p(new ArrayBuffer(1)))!=E||t.Map&&exports.getTag(new t.Map)!=I||j&&exports.getTag(j.resolve())!=C||A&&exports.getTag(new A)!=M||T&&exports.getTag(new T)!=P)&&(exports.getTag=function(e){var r=t.baseGetTag(e),n=r==oe?e.constructor:void 0,o=n?t.toSource(n):"";if(o)switch(o){case ie:return E;case ce:return I;case se:return C;case ge:return M;case ue:return P}return r});var fe=Object.prototype,be=fe.hasOwnProperty;function ye(e){var r=e.length,n=new e.constructor(r);return r&&typeof e[0]=="string"&&be.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function le(e,r){var n=r?t.cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Te=/\w*$/;function pe(e){var r=new e.constructor(e.source,Te.exec(e));return r.lastIndex=e.lastIndex,r}var F=t.Symbol?t.Symbol.prototype:void 0,U=F?F.valueOf:void 0;function je(e){return U?Object(U.call(e)):{}}var Ae="[object Boolean]",Se="[object Date]",de="[object Map]",we="[object Number]",Oe="[object RegExp]",$e="[object Set]",me="[object String]",ve="[object Symbol]",he="[object ArrayBuffer]",Ie="[object DataView]",Ce="[object Float32Array]",Me="[object Float64Array]",Pe="[object Int8Array]",Ee="[object Int16Array]",Fe="[object Int32Array]",Ue="[object Uint8Array]",xe="[object Uint8ClampedArray]",Be="[object Uint16Array]",Le="[object Uint32Array]";function De(e,r,n){var o=e.constructor;switch(r){case he:return t.cloneArrayBuffer(e);case Ae:case Se:return new o(+e);case Ie:return le(e,n);case Ce:case Me:case Pe:case Ee:case Fe:case Ue:case xe:case Be:case Le:return t.cloneTypedArray(e,n);case de:return new o;case we:case me:return new o(e);case Oe:return pe(e);case $e:return new o;case ve:return je(e)}}var Ge="[object Map]";function Ne(e){return t.isObjectLike(e)&&exports.getTag(e)==Ge}var x=t.nodeUtil&&t.nodeUtil.isMap,Ke=x?t.baseUnary(x):Ne,_e="[object Set]";function Ve(e){return t.isObjectLike(e)&&exports.getTag(e)==_e}var B=t.nodeUtil&&t.nodeUtil.isSet,We=B?t.baseUnary(B):Ve,Re=1,ke=2,qe=4,_="[object Arguments]",Ye="[object Array]",He="[object Boolean]",Je="[object Date]",Qe="[object Error]",V="[object Function]",Xe="[object GeneratorFunction]",Ze="[object Map]",ze="[object Number]",W="[object Object]",et="[object RegExp]",tt="[object Set]",rt="[object String]",nt="[object Symbol]",at="[object WeakMap]",ot="[object ArrayBuffer]",it="[object DataView]",ct="[object Float32Array]",st="[object Float64Array]",gt="[object Int8Array]",ut="[object Int16Array]",ft="[object Int32Array]",bt="[object Uint8Array]",yt="[object Uint8ClampedArray]",lt="[object Uint16Array]",Tt="[object Uint32Array]",a={};a[_]=a[Ye]=a[ot]=a[it]=a[He]=a[Je]=a[ct]=a[st]=a[gt]=a[ut]=a[ft]=a[Ze]=a[ze]=a[W]=a[et]=a[tt]=a[rt]=a[nt]=a[bt]=a[yt]=a[lt]=a[Tt]=!0;a[Qe]=a[V]=a[at]=!1;function l(e,r,n,o,s,c){var i,b=r&Re,y=r&ke,R=r&qe;if(n&&(i=s?n(e,o,s,c):n(e)),i!==void 0)return i;if(!t.isObject(e))return e;var O=t.isArray(e);if(O){if(i=ye(e),!b)return t.copyArray(e,i)}else{var f=exports.getTag(e),$=f==V||f==Xe;if(t.isBuffer(e))return t.cloneBuffer(e,b);if(f==W||f==_||$&&!s){if(i=y||$?{}:t.initCloneObject(e),!b)return y?ne(e,X(i,e)):te(e,Q(i,e))}else{if(!a[f])return s?e:{};i=De(e,f,b)}}c||(c=new t.Stack);var m=c.get(e);if(m)return m;c.set(e,i),We(e)?e.forEach(function(g){i.add(l(g,r,n,g,e,c))}):Ke(e)&&e.forEach(function(g,u){i.set(u,l(g,r,n,u,e,c))});var k=R?y?K:ae:y?t.keysIn:S,v=O?void 0:k(e);return q(v||e,function(g,u){v&&(u=g,g=e[u]),t.assignValue(i,u,l(g,r,n,u,e,c))}),i}exports.arrayPush=d;exports.baseClone=l;exports.baseKeys=L;exports.getAllKeysIn=K;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=(t,o)=>{const c=t.__vccOpts||t;for(const[r,s]of o)c[r]=s;return c};exports._export_sfc=e;
|