@pubinfo/module-rbac 2.0.0-beta.5 → 2.0.0-beta.7
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/_baseClone-GtUoMmZh.js → dist/_baseClone-BrGaYw3J.js} +1 -1
- package/{es/cloneDeep-DWP4OxCI.js → dist/cloneDeep-BNi8GGrL.js} +1 -1
- package/{es → dist}/components/GroupSelector/index.vue.d.ts +1 -6
- package/dist/components/GroupSelector/interface.d.ts +6 -0
- package/{es → dist}/components/ResourceSelector/index.vue.d.ts +1 -3
- package/{es/index-DcvR6q4y.js → dist/index-BqK3ECXI.js} +8 -8
- package/{es/index-C2dINi50.js → dist/index-BtRbu73h.js} +1 -1
- package/{es/index-Gw-_3-qN.js → dist/index-CM6TpnnE.js} +2 -2
- package/{es/index-gCLgMcJu.js → dist/index-CeKf-EeN.js} +1 -1
- package/{es/index-CDHVSKIo.js → dist/index-DFcCT28_.js} +2 -2
- package/{es/index-U-g1yyH-.js → dist/index-DLLsmZHE.js} +1 -1
- package/{es/index-D5T_4btx.js → dist/index-DOavAF_-.js} +2 -2
- package/{es/index-JFZ3GtN-.js → dist/index-Dm20ktmp.js} +3 -3
- package/{es/index-CYt7363u.js → dist/index-Kk8xDHkj.js} +216 -218
- package/{es/index-Bz9QeL8M.js → dist/index-TDxibTWO.js} +13 -13
- package/{es → dist}/index.js +1 -1
- package/{es → dist}/style.css +1 -1
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +172 -0
- package/{lib/views/user → dist/views/data-permission}/index.vue.d.ts +143 -38
- package/{lib/views/role_group → dist/views/role}/components/drawerRole.vue.d.ts +17 -5
- package/dist/views/role/index.vue.d.ts +3090 -0
- package/{lib/views/organization/components/drawerRole.vue.d.ts → dist/views/tenant/components/TenantEdit.vue.d.ts} +20 -6
- package/{lib/views/dictionary → dist/views/tenant}/enum.d.ts +0 -1
- package/{lib/views/role_group → dist/views/tenant}/index.vue.d.ts +21 -8
- package/dist/views/user/components/OrgAndPosition.vue.d.ts +14 -0
- package/{es → dist}/views/user/interface.d.ts +1 -2
- package/package.json +10 -12
- package/src/components/GroupSelector/index.vue +1 -7
- package/src/components/GroupSelector/interface.ts +6 -0
- package/src/components/ResourceSelector/index.vue +1 -2
- package/src/index.ts +1 -1
- package/src/views/tenant/components/TenantEdit.vue +1 -8
- package/src/views/tenant/enum.ts +7 -0
- package/src/views/tenant/index.vue +1 -8
- package/src/views/user/interface.ts +1 -1
- package/lib/OrgSelector.vue_vue_type_script_setup_true_lang-BI6dIQO9.cjs +0 -1
- package/lib/_baseClone-bvg2h-nB.cjs +0 -1
- package/lib/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
- package/lib/animation_item.vue_vue_type_script_setup_true_lang-DJntALjR.cjs +0 -9
- package/lib/api/modules/assist/gonggaofuwu.d.ts +0 -43
- package/lib/api/modules/assist/index.d.ts +0 -3
- package/lib/api/modules/assist/qunzujiekou.d.ts +0 -36
- package/lib/api/modules/assist/quyujiekou.d.ts +0 -36
- 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 -57
- package/lib/api/modules/log/caozuorizhifuwu.d.ts +0 -15
- package/lib/api/modules/log/denglurizhifuwu.d.ts +0 -15
- package/lib/api/modules/log/index.d.ts +0 -2
- package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -36
- 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 -85
- 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 -1
- package/lib/browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs +0 -1
- package/lib/cloneDeep-DKvAzXJU.cjs +0 -1
- package/lib/components/GroupSelector/index.vue.d.ts +0 -20
- package/lib/components/OrgTree/index.vue.d.ts +0 -5
- package/lib/components/OrgUserSelector/OrgSelector.vue.d.ts +0 -68
- package/lib/components/OrgUserSelector/UserSelector.vue.d.ts +0 -72
- package/lib/components/OrgUserSelector/index.d.ts +0 -8
- package/lib/components/OrgUserSelector/provider.d.ts +0 -24
- package/lib/components/ResourceSelector/enum.d.ts +0 -5
- package/lib/components/ResourceSelector/hooks/useAppAndResource.d.ts +0 -29
- package/lib/components/ResourceSelector/index.vue.d.ts +0 -26
- package/lib/composables/useLottie.d.ts +0 -11
- package/lib/enum-B-paw5p0.cjs +0 -1
- package/lib/enum-BFYGJ2YJ.cjs +0 -1
- package/lib/enum-BHDP2ejy.cjs +0 -1
- package/lib/enum-OwSMnw51.cjs +0 -1
- package/lib/gangweijiekou-DYYmkjys.cjs +0 -1
- package/lib/index-Apq1nfrg.cjs +0 -1
- package/lib/index-BOdrElTX.cjs +0 -1
- package/lib/index-BdQKw1uE.cjs +0 -1
- package/lib/index-BwkSE-Zz.cjs +0 -1
- package/lib/index-Bx53OKE6.cjs +0 -1
- package/lib/index-C151ukdL.cjs +0 -1
- package/lib/index-C3m3S7_Q.cjs +0 -1
- package/lib/index-CMf8N2mC.cjs +0 -1
- package/lib/index-CNtyqLTX.cjs +0 -1
- package/lib/index-Cm5xLy57.cjs +0 -9
- package/lib/index-D1vGtVqY.cjs +0 -1
- package/lib/index-D2gE9FFs.cjs +0 -1
- package/lib/index-D34uPnyD.cjs +0 -1
- package/lib/index-D7Awj4JU.cjs +0 -1
- package/lib/index-D9QyS2NB.cjs +0 -1
- package/lib/index-D9dMBtdM.cjs +0 -1
- package/lib/index-DBzHTy7k.cjs +0 -1
- package/lib/index-DG9uEqRG.cjs +0 -1
- package/lib/index-DQ8p9Bwg.cjs +0 -1
- package/lib/index-DUagbQoK.cjs +0 -1
- package/lib/index-D_APeiaQ.cjs +0 -1
- package/lib/index-DoCoA6Nr.cjs +0 -1
- package/lib/index-Dv-KtCh8.cjs +0 -1
- package/lib/index-F735VVe_.cjs +0 -1
- package/lib/index-Jc3VoxhA.cjs +0 -1
- package/lib/index-n5tzubbZ.cjs +0 -1
- package/lib/index.cjs +0 -1
- package/lib/index.d.ts +0 -7
- package/lib/interface.d.ts +0 -47
- package/lib/itemlist-BEyAbkw5.cjs +0 -1
- package/lib/jiaosejiekou-BNn96VFQ.cjs +0 -1
- package/lib/login_history-C25qj8eL.cjs +0 -1
- package/lib/operate_history-Bmg66_WI.cjs +0 -1
- package/lib/pubJiaosezukongzhiqi-fVUoXj6y.cjs +0 -1
- package/lib/request-DML6P6cf.cjs +0 -1
- package/lib/routes/index.d.ts +0 -14
- package/lib/routes/modules/authority.manage.menu.d.ts +0 -3
- package/lib/routes/modules/log.manage.menu.d.ts +0 -3
- package/lib/routes/modules/safe.manage.menu.d.ts +0 -3
- package/lib/routes/modules/stylesetting.manage.menu.d.ts +0 -3
- package/lib/routes/modules/system.manage.menu.d.ts +0 -3
- package/lib/setItem-DIzkZHtI.cjs +0 -1
- package/lib/shujuquanxianzhubiaokongzhiqi-C6sd8pC3.cjs +0 -1
- package/lib/stores/index.d.ts +0 -1
- package/lib/style.css +0 -1
- package/lib/useAppAndResource-ChvKK2DZ.cjs +0 -1
- package/lib/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +0 -14
- package/lib/views/blackWhiteList/enum.d.ts +0 -7
- package/lib/views/blackWhiteList/index.vue.d.ts +0 -1535
- package/lib/views/blackWhiteList/types.d.ts +0 -4
- package/lib/views/breadcrumb_setting/animationData.d.ts +0 -7
- package/lib/views/breadcrumb_setting/index.vue.d.ts +0 -2
- package/lib/views/components/HCheckList.vue.d.ts +0 -20
- package/lib/views/components/animation_item.vue.d.ts +0 -14
- package/lib/views/components/setItem.vue.d.ts +0 -61
- package/lib/views/data-permission/enum.d.ts +0 -34
- package/lib/views/dictionary/components/drawerDictionary.vue.d.ts +0 -12
- package/lib/views/dictionary/components/drawerDictionaryItem.vue.d.ts +0 -12
- package/lib/views/dictionary/index.vue.d.ts +0 -1532
- package/lib/views/dictionary/itemlist.vue.d.ts +0 -1532
- package/lib/views/group/components/drawerGroup.vue.d.ts +0 -12
- package/lib/views/group/enum.d.ts +0 -21
- package/lib/views/group/index.vue.d.ts +0 -1532
- package/lib/views/layout_setting/index.vue.d.ts +0 -2
- package/lib/views/log_center/components/browserType.vue.d.ts +0 -12
- package/lib/views/log_center/components/loginHistoryDetail.vue.d.ts +0 -14
- package/lib/views/log_center/components/operateHistoryDetail.vue.d.ts +0 -14
- package/lib/views/log_center/login_history.vue.d.ts +0 -1511
- package/lib/views/log_center/operate_history.vue.d.ts +0 -1511
- package/lib/views/menu_setting/animationData.d.ts +0 -13
- package/lib/views/menu_setting/index.vue.d.ts +0 -2
- package/lib/views/organization/components/drawerOrganization.vue.d.ts +0 -12
- package/lib/views/organization/components/roleSelect.vue.d.ts +0 -14
- package/lib/views/organization/enum.d.ts +0 -25
- package/lib/views/organization/index.vue.d.ts +0 -73
- package/lib/views/other_setting/animationData.d.ts +0 -7
- package/lib/views/other_setting/index.vue.d.ts +0 -2
- package/lib/views/other_setting/interface.d.ts +0 -23
- package/lib/views/page_animation_setting/animationData.d.ts +0 -11
- package/lib/views/page_animation_setting/index.vue.d.ts +0 -2
- package/lib/views/page_w_setting/index.vue.d.ts +0 -2
- package/lib/views/position/components/drawerPosition.vue.d.ts +0 -12
- package/lib/views/position/enum.d.ts +0 -8
- package/lib/views/position/index.vue.d.ts +0 -1532
- package/lib/views/region/components/drawerRegion.vue.d.ts +0 -12
- package/lib/views/region/enum.d.ts +0 -22
- package/lib/views/region/index.vue.d.ts +0 -1533
- package/lib/views/resource/components/ResourceEdit.vue.d.ts +0 -16
- package/lib/views/resource/components/RoleRelation.vue.d.ts +0 -6
- package/lib/views/resource/enum.d.ts +0 -30
- package/lib/views/resource/index.vue.d.ts +0 -1549
- package/lib/views/resource/interface.d.ts +0 -6
- package/lib/views/role/components/ResourceRelation.vue.d.ts +0 -1515
- package/lib/views/role/enum.d.ts +0 -25
- package/lib/views/role/interface.d.ts +0 -6
- package/lib/views/role_group/components/roleSelect.vue.d.ts +0 -14
- package/lib/views/role_group/enum.d.ts +0 -21
- package/lib/views/role_group/interface.d.ts +0 -6
- package/lib/views/safe_setting/index.vue.d.ts +0 -4
- package/lib/views/tabbar_setting/animationData.d.ts +0 -11
- package/lib/views/tabbar_setting/index.vue.d.ts +0 -2
- package/lib/views/tenant/interface.d.ts +0 -6
- package/lib/views/theme_setting/index.vue.d.ts +0 -2
- package/lib/views/toolbar_setting/animationData.d.ts +0 -17
- package/lib/views/toolbar_setting/index.vue.d.ts +0 -2
- package/lib/views/user/components/UserAuthorization.vue.d.ts +0 -39
- package/lib/views/user/components/UserEdit.vue.d.ts +0 -16
- package/lib/views/user/components/roleSelect.vue.d.ts +0 -14
- package/lib/views/user/enum.d.ts +0 -13
- package/lib/views/user/interface.d.ts +0 -40
- package/lib/views/watermark_setting/animationData.d.ts +0 -3
- package/lib/views/watermark_setting/index.vue.d.ts +0 -31
- package/lib/xitongpeizhifuwu-r-I2Ogxj.cjs +0 -1
- package/lib/zidianfuwu-VChcnkm9.cjs +0 -1
- package/lib/ziyuanjiekou-CvKeunY5.cjs +0 -1
- package/lib/zuzhijiaosebiaokongzhiqi-DYI3Zu-M.cjs +0 -1
- package/lib/zuzhijiekou-CFQtYuGW.cjs +0 -1
- /package/{es → dist}/OrgSelector.vue_vue_type_script_setup_true_lang-DV8KkpJD.js +0 -0
- /package/{es → dist}/_commonjsHelpers-C6fGbg64.js +0 -0
- /package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
- /package/{es → dist}/animation_item.vue_vue_type_script_setup_true_lang-CNTrygHf.js +0 -0
- /package/{es → dist}/api/modules/assist/gonggaofuwu.d.ts +0 -0
- /package/{es → dist}/api/modules/assist/index.d.ts +0 -0
- /package/{es → dist}/api/modules/assist/qunzujiekou.d.ts +0 -0
- /package/{es → dist}/api/modules/assist/quyujiekou.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/log/caozuorizhifuwu.d.ts +0 -0
- /package/{es → dist}/api/modules/log/denglurizhifuwu.d.ts +0 -0
- /package/{es → dist}/api/modules/log/index.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}/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -0
- /package/{es → dist}/components/OrgTree/index.vue.d.ts +0 -0
- /package/{es → dist}/components/OrgUserSelector/OrgSelector.vue.d.ts +0 -0
- /package/{es → dist}/components/OrgUserSelector/UserSelector.vue.d.ts +0 -0
- /package/{es → dist}/components/OrgUserSelector/index.d.ts +0 -0
- /package/{es → dist}/components/OrgUserSelector/provider.d.ts +0 -0
- /package/{es → dist}/components/ResourceSelector/enum.d.ts +0 -0
- /package/{es → dist}/components/ResourceSelector/hooks/useAppAndResource.d.ts +0 -0
- /package/{es → dist}/composables/useLottie.d.ts +0 -0
- /package/{es → dist}/enum-BEHz_Q18.js +0 -0
- /package/{es → dist}/enum-C9ihxJe7.js +0 -0
- /package/{es → dist}/enum-CTUzwCYG.js +0 -0
- /package/{es → dist}/enum-DDKThkSw.js +0 -0
- /package/{es → dist}/gangweijiekou-BxJq_m0o.js +0 -0
- /package/{es → dist}/index-BDrI8Oyk.js +0 -0
- /package/{es → dist}/index-BIfx_Xrr.js +0 -0
- /package/{es → dist}/index-Bl4v-7On.js +0 -0
- /package/{es → dist}/index-BsoyF96V.js +0 -0
- /package/{es → dist}/index-C7QJHUwa.js +0 -0
- /package/{es → dist}/index-CBMCWEIQ.js +0 -0
- /package/{es → dist}/index-CFPhIFyG.js +0 -0
- /package/{es → dist}/index-CgiGLpzT.js +0 -0
- /package/{es → dist}/index-CsHj-xDw.js +0 -0
- /package/{es → dist}/index-DY1mOFzi.js +0 -0
- /package/{es → dist}/index-DuVeXn9R.js +0 -0
- /package/{es → dist}/index-Dvq9O5uC.js +0 -0
- /package/{es → dist}/index-F-kmM1iD.js +0 -0
- /package/{es → dist}/index-gHIfcbvd.js +0 -0
- /package/{es → dist}/index-kFyBHYs8.js +0 -0
- /package/{es → dist}/index-uSBZoA3n.js +0 -0
- /package/{es → dist}/index.d.ts +0 -0
- /package/{es → dist}/interface.d.ts +0 -0
- /package/{es → dist}/itemlist-BRhA5jzY.js +0 -0
- /package/{es → dist}/jiaosejiekou-BfY4h7uI.js +0 -0
- /package/{es → dist}/login_history-CuQv9Iw3.js +0 -0
- /package/{es → dist}/operate_history-CGP-1Xy2.js +0 -0
- /package/{es → dist}/pubJiaosezukongzhiqi-CvYfc8Uz.js +0 -0
- /package/{es → dist}/request-DQLgc7lT.js +0 -0
- /package/{es → dist}/routes/index.d.ts +0 -0
- /package/{es → dist}/routes/modules/authority.manage.menu.d.ts +0 -0
- /package/{es → dist}/routes/modules/log.manage.menu.d.ts +0 -0
- /package/{es → dist}/routes/modules/safe.manage.menu.d.ts +0 -0
- /package/{es → dist}/routes/modules/stylesetting.manage.menu.d.ts +0 -0
- /package/{es → dist}/routes/modules/system.manage.menu.d.ts +0 -0
- /package/{es → dist}/setItem-C1_olVDY.js +0 -0
- /package/{es → dist}/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +0 -0
- /package/{es → dist}/stores/index.d.ts +0 -0
- /package/{es → dist}/useAppAndResource-D_b19V4t.js +0 -0
- /package/{es → dist}/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +0 -0
- /package/{es → dist}/views/blackWhiteList/enum.d.ts +0 -0
- /package/{es → dist}/views/blackWhiteList/index.vue.d.ts +0 -0
- /package/{es → dist}/views/blackWhiteList/types.d.ts +0 -0
- /package/{es → dist}/views/breadcrumb_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/breadcrumb_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/components/HCheckList.vue.d.ts +0 -0
- /package/{es → dist}/views/components/animation_item.vue.d.ts +0 -0
- /package/{es → dist}/views/components/setItem.vue.d.ts +0 -0
- /package/{es → dist}/views/data-permission/enum.d.ts +0 -0
- /package/{es → dist}/views/dictionary/components/drawerDictionary.vue.d.ts +0 -0
- /package/{es → dist}/views/dictionary/components/drawerDictionaryItem.vue.d.ts +0 -0
- /package/{es → dist}/views/dictionary/enum.d.ts +0 -0
- /package/{es → dist}/views/dictionary/index.vue.d.ts +0 -0
- /package/{es → dist}/views/dictionary/itemlist.vue.d.ts +0 -0
- /package/{es → dist}/views/group/components/drawerGroup.vue.d.ts +0 -0
- /package/{es → dist}/views/group/enum.d.ts +0 -0
- /package/{es → dist}/views/group/index.vue.d.ts +0 -0
- /package/{es → dist}/views/layout_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/log_center/components/browserType.vue.d.ts +0 -0
- /package/{es → dist}/views/log_center/components/loginHistoryDetail.vue.d.ts +0 -0
- /package/{es → dist}/views/log_center/components/operateHistoryDetail.vue.d.ts +0 -0
- /package/{es → dist}/views/log_center/login_history.vue.d.ts +0 -0
- /package/{es → dist}/views/log_center/operate_history.vue.d.ts +0 -0
- /package/{es → dist}/views/menu_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/menu_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/organization/components/drawerOrganization.vue.d.ts +0 -0
- /package/{es → dist}/views/organization/components/drawerRole.vue.d.ts +0 -0
- /package/{es → dist}/views/organization/components/roleSelect.vue.d.ts +0 -0
- /package/{es → dist}/views/organization/enum.d.ts +0 -0
- /package/{es → dist}/views/organization/index.vue.d.ts +0 -0
- /package/{es → dist}/views/other_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/other_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/other_setting/interface.d.ts +0 -0
- /package/{es → dist}/views/page_animation_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/page_animation_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/page_w_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/position/components/drawerPosition.vue.d.ts +0 -0
- /package/{es → dist}/views/position/enum.d.ts +0 -0
- /package/{es → dist}/views/position/index.vue.d.ts +0 -0
- /package/{es → dist}/views/region/components/drawerRegion.vue.d.ts +0 -0
- /package/{es → dist}/views/region/enum.d.ts +0 -0
- /package/{es → dist}/views/region/index.vue.d.ts +0 -0
- /package/{es → dist}/views/resource/components/ResourceEdit.vue.d.ts +0 -0
- /package/{es → dist}/views/resource/components/RoleRelation.vue.d.ts +0 -0
- /package/{es → dist}/views/resource/enum.d.ts +0 -0
- /package/{es → dist}/views/resource/index.vue.d.ts +0 -0
- /package/{es → dist}/views/resource/interface.d.ts +0 -0
- /package/{es → dist}/views/role/components/ResourceRelation.vue.d.ts +0 -0
- /package/{es → dist}/views/role/enum.d.ts +0 -0
- /package/{es → dist}/views/role/interface.d.ts +0 -0
- /package/{es → dist}/views/role_group/components/drawerRole.vue.d.ts +0 -0
- /package/{es → dist}/views/role_group/components/roleSelect.vue.d.ts +0 -0
- /package/{es → dist}/views/role_group/enum.d.ts +0 -0
- /package/{es → dist}/views/role_group/index.vue.d.ts +0 -0
- /package/{es → dist}/views/role_group/interface.d.ts +0 -0
- /package/{es → dist}/views/safe_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/tabbar_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/tabbar_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/tenant/interface.d.ts +0 -0
- /package/{es → dist}/views/theme_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/toolbar_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/toolbar_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/views/user/components/UserAuthorization.vue.d.ts +0 -0
- /package/{es → dist}/views/user/components/UserEdit.vue.d.ts +0 -0
- /package/{es → dist}/views/user/components/roleSelect.vue.d.ts +0 -0
- /package/{es → dist}/views/user/enum.d.ts +0 -0
- /package/{es → dist}/views/user/index.vue.d.ts +0 -0
- /package/{es → dist}/views/watermark_setting/animationData.d.ts +0 -0
- /package/{es → dist}/views/watermark_setting/index.vue.d.ts +0 -0
- /package/{es → dist}/xitongpeizhifuwu-C1Vm-W1B.js +0 -0
- /package/{es → dist}/zidianfuwu-yCWHhOfO.js +0 -0
- /package/{es → dist}/ziyuanjiekou-DhrAbneq.js +0 -0
- /package/{es → dist}/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +0 -0
- /package/{es → dist}/zuzhijiekou-PeZuFtCO.js +0 -0
package/lib/index-Dv-KtCh8.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("ant-design-vue/es"),U=require("@ant-design/icons-vue"),e=require("vue");require("./request-DML6P6cf.cjs");const T=require("./ziyuanjiekou-CvKeunY5.cjs"),X=require("@pubinfo/pro-components"),w=require("ant-design-vue"),R=require("pubinfo"),q=require("./enum-B-paw5p0.cjs"),S=require("./index-BOdrElTX.cjs"),L=require("./cloneDeep-DKvAzXJU.cjs"),J=require("alova/client");var i=(c=>(c.ROLE_RELATION="分配查看",c.ADD="新建",c.ADD_CHILD="新建下级",c.EDIT="修改",c.REMOVE="删除",c))(i||{}),m=(c=>(c.APP="1",c.INDEX="2",c.MENU="3",c.BUTTON="4",c.NON_MENU="5",c))(m||{});const P=[{label:"应用",value:"1"},{label:"目录",value:"2"},{label:"菜单",value:"3"},{label:"按钮",value:"4"},{label:"非菜单页",value:"5"}],K=e.defineComponent({name:"ResourceEdit",__name:"ResourceEdit",props:{dataSource:{}},emits:["submit"],setup(c,{expose:I,emit:B}){const N=c,y=B,[D,h]=S.useToggle(!1),V=e.ref(),n=e.ref({}),v=e.reactive({title:"",record:{},initData:{type:m.APP,sort:0,enable:!0,enableDataPermission:!1,dataPermissionType:q.DATA_PERMISSION_TYPE.ALL}}),b={name:[{required:!0,message:"请输入资源名称",trigger:"blur"}],type:[{required:!0,message:"请选择资源类型",trigger:"change"}],code:[{required:!0,message:"请输入资源编码",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}],enable:[{type:"boolean",required:!0,message:"请选择是否启用",trigger:"change"}]},a=e.computed(()=>r(N.dataSource,o=>o.id===n.value.parentId));function r(o,t){const x=[...o];for(const u of x){if(t(u))return u;u.children&&x.push(...u.children)}return null}const l=e.computed(()=>{var o;switch((o=a.value)==null?void 0:o.type){case m.APP:case m.INDEX:return P.filter(t=>t.value!==m.APP);case m.MENU:case m.NON_MENU:return P.filter(t=>t.value===m.BUTTON||t.value===m.NON_MENU);case m.BUTTON:return[];default:return P.filter(t=>t.value===m.APP)}}),d=e.computed(()=>n.value.type===m.BUTTON||n.value.type===m.MENU||n.value.type===m.NON_MENU);async function k(o,t){if(v.title=o,n.value=L.cloneDeep(v.initData),h(!0),o===i.ADD_CHILD&&(n.value.parentId=t==null?void 0:t.id,n.value.type=l.value[0].value),o===i.EDIT){const x=await T.getRbacResourceInfo({id:t==null?void 0:t.id});x.success&&(n.value=x.data??{})}}const[_,g]=S.useToggle(!1);function f(){var o;(o=V.value)==null||o.validate().then(()=>{const t={...n.value};d.value||(t.enableDataPermission=!1);const x=v.title===i.EDIT?T.postRbacResourceResourceUpdate(t):T.postRbacResourceAddResource({parentId:"",...t});g(!0),x.then(u=>{u!=null&&u.success&&(w.message.success(`${v.title}成功!`),h(!1),y("submit"))}).finally(()=>g(!1))})}return I({open:k}),(o,t)=>{const x=U.DatabaseOutlined,u=p.FormItem,E=p.Input,M=p.RadioGroup,$=p.InputNumber,O=p.Switch,H=p.Textarea,z=p.Select,F=p.Form,A=p.Button,j=p.Space,G=p.Drawer;return e.openBlock(),e.createBlock(G,{open:e.unref(D),"onUpdate:open":t[11]||(t[11]=C=>e.isRef(D)?D.value=C:null),title:e.unref(v).title,placement:"right",width:520,"destroy-on-close":"","footer-style":{textAlign:"right"}},{footer:e.withCtx(()=>[e.createVNode(j,null,{default:e.withCtx(()=>[e.createVNode(A,{onClick:t[9]||(t[9]=C=>e.unref(h)(!1))},{default:e.withCtx(()=>t[13]||(t[13]=[e.createTextVNode(" 取消 ")])),_:1}),e.createVNode(A,{type:"primary",loading:e.unref(_),onClick:t[10]||(t[10]=C=>f())},{default:e.withCtx(()=>t[14]||(t[14]=[e.createTextVNode(" 提交 ")])),_:1},8,["loading"])]),_:1})]),default:e.withCtx(()=>[e.createVNode(F,{ref_key:"formRef",ref:V,model:e.unref(n),rules:b,"label-col":{span:6}},{default:e.withCtx(()=>{var C;return[(C=e.unref(a))!=null&&C.name?(e.openBlock(),e.createBlock(u,{key:0,name:"parentId"},{label:e.withCtx(()=>[e.createVNode(x,{class:"mr-1"}),t[12]||(t[12]=e.createTextVNode(" 父资源 "))]),default:e.withCtx(()=>{var s;return[e.createTextVNode(" "+e.toDisplayString((s=e.unref(a))==null?void 0:s.name),1)]}),_:1})):e.createCommentVNode("v-if",!0),e.createVNode(u,{label:"资源名称",name:"name"},{default:e.withCtx(()=>[e.createVNode(E,{value:e.unref(n).name,"onUpdate:value":t[0]||(t[0]=s=>e.unref(n).name=s),placeholder:"请输入资源名称",maxlength:128},null,8,["value"])]),_:1}),e.createVNode(u,{label:"资源类型",name:"type"},{default:e.withCtx(()=>[e.createVNode(M,{value:e.unref(n).type,"onUpdate:value":t[1]||(t[1]=s=>e.unref(n).type=s),options:e.unref(l),"option-type":"button","button-style":"solid"},null,8,["value","options"])]),_:1}),e.createVNode(u,{label:"资源编码",name:"code"},{default:e.withCtx(()=>[e.createVNode(E,{value:e.unref(n).code,"onUpdate:value":t[2]||(t[2]=s=>e.unref(n).code=s),placeholder:"请输入资源编码",maxlength:50},null,8,["value"])]),_:1}),e.createVNode(u,{label:"显示顺序",name:"sort"},{default:e.withCtx(()=>[e.createVNode($,{value:e.unref(n).sort,"onUpdate:value":t[3]||(t[3]=s=>e.unref(n).sort=s),max:999},null,8,["value"])]),_:1}),e.createVNode(u,{label:"是否启用",name:"enable"},{default:e.withCtx(()=>[e.createVNode(O,{checked:e.unref(n).enable,"onUpdate:checked":t[4]||(t[4]=s=>e.unref(n).enable=s)},null,8,["checked"])]),_:1}),e.createVNode(u,{label:"权限标识",name:"permissionCode"},{default:e.withCtx(()=>[e.createVNode(E,{value:e.unref(n).permissionCode,"onUpdate:value":t[5]||(t[5]=s=>e.unref(n).permissionCode=s),placeholder:"请输入权限标识",maxlength:128},null,8,["value"])]),_:1}),e.createVNode(u,{label:"描述",name:"description"},{default:e.withCtx(()=>[e.createVNode(H,{value:e.unref(n).description,"onUpdate:value":t[6]||(t[6]=s=>e.unref(n).description=s),placeholder:"请输入描述",maxlength:255,"auto-size":{minRows:2},"show-count":""},null,8,["value"])]),_:1}),e.unref(d)?(e.openBlock(),e.createBlock(u,{key:1,label:"启用数据权限",name:"enableDataPermission"},{default:e.withCtx(()=>[e.createVNode(O,{checked:e.unref(n).enableDataPermission,"onUpdate:checked":t[7]||(t[7]=s=>e.unref(n).enableDataPermission=s)},null,8,["checked"])]),_:1})):e.createCommentVNode("v-if",!0),e.unref(d)&&e.unref(n).enableDataPermission?(e.openBlock(),e.createBlock(u,{key:2,label:"数据权限规则",name:"dataPermissionType"},{default:e.withCtx(()=>[e.createVNode(z,{value:e.unref(n).dataPermissionType,"onUpdate:value":t[8]||(t[8]=s=>e.unref(n).dataPermissionType=s),options:e.unref(q.dataPermissionOptions)},null,8,["value","options"])]),_:1})):e.createCommentVNode("v-if",!0)]}),_:1},8,["model"])]),_:1},8,["open","title"])}}}),Q={key:0,class:"w-full truncate space-x-2"},W=e.defineComponent({name:"RoleRelation",__name:"RoleRelation",setup(c,{expose:I}){const{token:B}=w.theme.useToken(),[N,y]=S.useToggle(!1),{loading:D,data:h,send:V}=J.useRequest(l=>T.getRbacResourceGetRoleListByResourceId(l,{transform(d){return d.data??[]}}),{immediate:!1}),n=[{title:"角色名称",dataIndex:"name",ellipsis:!0},{title:"创建人",dataIndex:"createUserName",width:180,ellipsis:!0}];function v(l){y(!0),V({id:l.id}),r()}const b=e.computed(()=>window.innerHeight-57-48-55-64);function a(){e.nextTick(()=>{var d;const l=(d=document.querySelector(".role-relation"))==null?void 0:d.querySelector(".ant-table-body");l&&(l.style.height=`${b.value}px`)})}function r(){e.nextTick(a)}return I({open:v}),(l,d)=>{const k=p.Avatar,_=p.Table,g=p.Drawer;return e.openBlock(),e.createBlock(g,{open:e.unref(N),"onUpdate:open":d[0]||(d[0]=f=>e.isRef(N)?N.value=f:null),title:"分配查看",placement:"right",width:520,"footer-style":{textAlign:"right"}},{default:e.withCtx(()=>[e.createVNode(_,{"row-key":"id",loading:e.unref(D),columns:n,"data-source":e.unref(h),scroll:{y:`${e.unref(b)}px`},pagination:{defaultPageSize:20,showSizeChanger:!0},class:"role-relation"},{bodyCell:e.withCtx(({column:f,text:o})=>[f.dataIndex==="name"?(e.openBlock(),e.createElementBlock("div",Q,[e.createVNode(k,{size:"small",style:e.normalizeStyle({backgroundColor:e.unref(B).colorPrimary})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o[0]),1)]),_:2},1032,["style"]),e.createElementVNode("span",null,e.toDisplayString(o),1)])):e.createCommentVNode("v-if",!0)]),_:1},8,["loading","data-source","scroll"])]),_:1},8,["open"])}}}),Z={"w-full":"","h-full":"","py-10px":"","px-10px":""},Y=["onClick"],ee=["onClick"],te=["onClick"],ne=["onClick"],ae=e.defineComponent({name:"Resource",__name:"index",setup(c){const{auth:I}=R.useAuth(),B=[{valueType:"a-input",width:200,title:"资源名称",dataIndex:"name",ellipsis:!0,fieldProps:{placeholder:"请输入资源名称",allowClear:!0}},{valueType:"a-input",title:"资源编码",dataIndex:"code",ellipsis:!0,fieldProps:{placeholder:"请输入资源编码",allowClear:!0}},{valueType:"a-select",title:"资源类型",dataIndex:"type",fieldProps:{placeholder:"请选择资源类型",allowClear:!0,options:P},customRender({text:a}){var l;const r=["","app","index","menu","btn","nonmenu"];return e.createVNode("div",{class:"flex items-center space-x-1"},[e.createVNode(R.PubinfoIcon,{name:`resource-${r[a]}`,class:"text-xl"},null),e.createVNode("span",null,[(l=P.find(d=>d.value===a))==null?void 0:l.label])])}},{valueType:"a-select",title:"是否启用",dataIndex:"enable",width:100,fieldProps:{placeholder:"请选择是否启用",allowClear:!0,options:[{value:1,label:"是"},{value:0,label:"否"}]},customRender({text:a}){return a?e.createVNode(w.Badge,{status:"success",text:"是"},null):e.createVNode(w.Badge,{status:"error",text:"否"},null)}},{title:"权限标识",dataIndex:"permissionCode",ellipsis:!0,hideInSearch:!0},{title:"排序",dataIndex:"sort",hideInSearch:!0},{title:"操作",dataIndex:"action",fixed:"right",width:320,hideInSearch:!0,hideInTable(){return!I(["resource_role_relation","resource_add_child","resource_edit","resource_remove"])}}];function N(a,r){return(a==null?void 0:a.map(l=>(l.children=l.children&&N(l.children,r),r(l))))??[]}const y=e.ref(),D=e.computed(()=>{var a;return((a=y.value)==null?void 0:a.dataSource)??[]});function h(){y.value.reload()}async function V(a){const{pageSize:r,current:l,enabled:d,...k}=L.cloneDeep(a),_={...k,enabled:!!d};return{success:!0,data:await T.getRbacResourceResourceTree(_,{transform(f){return N((f==null?void 0:f.data)??[],o=>o.leaf?{...o,children:void 0}:o)}})}}const n=e.ref(),v=e.ref();function b(a,r){switch(a){case i.ROLE_RELATION:v.value.open(r);break;case i.ADD:n.value.open(a);break;case i.ADD_CHILD:n.value.open(a,r);break;case i.EDIT:n.value.open(a,r);break;case i.REMOVE:if(!(r!=null&&r.leaf)){w.message.info("非叶子节点不能删除");return}w.Modal.confirm({title:"删除",content:"确定要删除该资源吗?",async onOk(){(await T.getRbacResourceResourceDelete({id:r==null?void 0:r.id})).success&&(w.message.success("删除成功"),h())}});break}}return(a,r)=>{const l=U.PlusCircleOutlined,d=p.Button,k=p.Space,_=e.resolveDirective("auth");return e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(e.unref(X.ProTable),{ref_key:"tableRef",ref:y,"row-key":"id",columns:B,request:V,pagination:!1,scroll:{x:1024},"auto-height":""},{toolbar:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(d,{type:"primary",onClick:r[0]||(r[0]=g=>b(e.unref(i).ADD))},{default:e.withCtx(()=>[e.createVNode(l),e.createTextVNode(" "+e.toDisplayString(e.unref(i).ADD),1)]),_:1})),[[_,"resource_app_add"]])]),bodyCell:e.withCtx(({column:g,record:f})=>[g.dataIndex==="action"?(e.openBlock(),e.createBlock(k,{key:0},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",{class:"flex items-center",onClick:o=>b(e.unref(i).ROLE_RELATION,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"view",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).ROLE_RELATION),1)],8,Y)),[[_,"resource_role_relation"]]),f.type!==e.unref(m).BUTTON?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,class:"flex items-center",onClick:o=>b(e.unref(i).ADD_CHILD,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"add-child",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).ADD_CHILD),1)],8,ee)),[[_,"resource_add_child"]]):e.createCommentVNode("v-if",!0),e.withDirectives((e.openBlock(),e.createElementBlock("a",{class:"flex items-center",onClick:o=>b(e.unref(i).EDIT,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"edit",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).EDIT),1)],8,te)),[[_,"resource_edit"]]),e.withDirectives((e.openBlock(),e.createElementBlock("span",{class:"flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",onClick:o=>b(e.unref(i).REMOVE,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"remove",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).REMOVE),1)],8,ne)),[[_,"resource_remove"]])]),_:2},1024)):e.createCommentVNode("v-if",!0)]),_:1},512),e.createVNode(K,{ref_key:"editRef",ref:n,"data-source":e.unref(D),onSubmit:h},null,8,["data-source"]),e.createVNode(W,{ref_key:"relationRef",ref:v},null,512)])}}});exports.default=ae;
|