@pubinfo/module-rbac 2.0.0-beta.6 → 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
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import { Drawer as _e, Form as be, FormItem as
|
|
1
|
+
import { Drawer as _e, Form as be, FormItem as De, Input as ye, RangePicker as xe, Switch as Me, Button as he, Tooltip as Te, Space as ge } from "ant-design-vue/es";
|
|
2
2
|
import { useAuth as we, PubinfoIcon as Se } from "pubinfo";
|
|
3
3
|
import { PlusCircleOutlined as ke } from "@ant-design/icons-vue";
|
|
4
|
-
import { defineComponent as ve, reactive as Ie, ref as J, computed as Ce, onMounted as Oe, createBlock as oe, openBlock as
|
|
4
|
+
import { defineComponent as ve, reactive as Ie, ref as J, computed as Ce, onMounted as Oe, createBlock as oe, openBlock as W, unref as d, isRef as Ee, withCtx as b, createVNode as p, createTextVNode as te, createElementVNode as ue, toDisplayString as Z, createElementBlock as G, Fragment as ce, renderList as Re, resolveDirective as Ye, createCommentVNode as Pe, withDirectives as le } from "vue";
|
|
5
5
|
import { b as ne } from "./request-DQLgc7lT.js";
|
|
6
6
|
import { ProTable as Ae } from "@pubinfo/pro-components";
|
|
7
7
|
import { message as $e, Badge as de, Modal as Ue } from "ant-design-vue";
|
|
8
8
|
import { g as je } from "./_commonjsHelpers-C6fGbg64.js";
|
|
9
|
-
import { _ as
|
|
10
|
-
import { h as
|
|
11
|
-
import { c as fe } from "./cloneDeep-
|
|
9
|
+
import { _ as We } from "./index-TDxibTWO.js";
|
|
10
|
+
import { h as Fe } from "./ziyuanjiekou-DhrAbneq.js";
|
|
11
|
+
import { c as fe } from "./cloneDeep-BNi8GGrL.js";
|
|
12
12
|
import { u as pe } from "./index-C7QJHUwa.js";
|
|
13
|
-
function Le(
|
|
14
|
-
return ne.Post("/rbac/tenant/pubTenantAdd",
|
|
13
|
+
function Le(D, A) {
|
|
14
|
+
return ne.Post("/rbac/tenant/pubTenantAdd", D, {
|
|
15
15
|
headers: {
|
|
16
16
|
"Content-Type": "application/json"
|
|
17
17
|
},
|
|
18
|
-
...
|
|
18
|
+
...A || {}
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
|
-
function He(
|
|
21
|
+
function He(D, A) {
|
|
22
22
|
return ne.Get("/rbac/tenant/pubTenantDelete", {
|
|
23
23
|
params: {
|
|
24
|
-
...
|
|
24
|
+
...D
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
function Ve(
|
|
28
|
+
function Ve(D, A) {
|
|
29
29
|
return ne.Get("/rbac/tenant/pubTenantInfo", {
|
|
30
30
|
params: {
|
|
31
|
-
...
|
|
31
|
+
...D
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
function qe(
|
|
36
|
-
return ne.Post("/rbac/tenant/pubTenantPage",
|
|
35
|
+
function qe(D, A) {
|
|
36
|
+
return ne.Post("/rbac/tenant/pubTenantPage", D, {
|
|
37
37
|
headers: {
|
|
38
38
|
"Content-Type": "application/json"
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function Be(
|
|
43
|
-
return ne.Post("/rbac/tenant/pubTenantUpdate",
|
|
42
|
+
function Be(D, A) {
|
|
43
|
+
return ne.Post("/rbac/tenant/pubTenantUpdate", D, {
|
|
44
44
|
headers: {
|
|
45
45
|
"Content-Type": "application/json"
|
|
46
46
|
},
|
|
47
|
-
...
|
|
47
|
+
...A || {}
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
var ie = { exports: {} }, Ne = ie.exports, me;
|
|
51
51
|
function ze() {
|
|
52
|
-
return me || (me = 1, function(
|
|
53
|
-
(function(L,
|
|
54
|
-
|
|
52
|
+
return me || (me = 1, function(D, A) {
|
|
53
|
+
(function(L, U) {
|
|
54
|
+
D.exports = U();
|
|
55
55
|
})(Ne, function() {
|
|
56
|
-
var L = 1e3,
|
|
56
|
+
var L = 1e3, U = 6e4, V = 36e5, M = "millisecond", R = "second", Y = "minute", C = "hour", u = "day", y = "week", _ = "month", w = "quarter", v = "year", O = "date", S = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Q = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
|
|
57
57
|
var r = ["th", "st", "nd", "rd"], e = s % 100;
|
|
58
58
|
return "[" + s + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
|
59
59
|
} }, K = function(s, r, e) {
|
|
@@ -69,37 +69,37 @@ function ze() {
|
|
|
69
69
|
}, a: function(s) {
|
|
70
70
|
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
71
71
|
}, p: function(s) {
|
|
72
|
-
return { M: _, y: v, w:
|
|
72
|
+
return { M: _, y: v, w: y, d: u, D: O, h: C, m: Y, s: R, ms: M, Q: w }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
73
73
|
}, u: function(s) {
|
|
74
74
|
return s === void 0;
|
|
75
|
-
} },
|
|
76
|
-
a[
|
|
75
|
+
} }, h = "en", a = {};
|
|
76
|
+
a[h] = Q;
|
|
77
77
|
var c = "$isDayjsObject", $ = function(s) {
|
|
78
78
|
return s instanceof N || !(!s || !s[c]);
|
|
79
|
-
},
|
|
79
|
+
}, E = function s(r, e, n) {
|
|
80
80
|
var t;
|
|
81
|
-
if (!r) return
|
|
81
|
+
if (!r) return h;
|
|
82
82
|
if (typeof r == "string") {
|
|
83
83
|
var i = r.toLowerCase();
|
|
84
84
|
a[i] && (t = i), e && (a[i] = e, t = i);
|
|
85
85
|
var o = r.split("-");
|
|
86
86
|
if (!t && o.length > 1) return s(o[0]);
|
|
87
87
|
} else {
|
|
88
|
-
var
|
|
89
|
-
a[
|
|
88
|
+
var f = r.name;
|
|
89
|
+
a[f] = r, t = f;
|
|
90
90
|
}
|
|
91
|
-
return !n && t && (
|
|
92
|
-
},
|
|
91
|
+
return !n && t && (h = t), t || !n && h;
|
|
92
|
+
}, m = function(s, r) {
|
|
93
93
|
if ($(s)) return s.clone();
|
|
94
94
|
var e = typeof r == "object" ? r : {};
|
|
95
95
|
return e.date = s, e.args = arguments, new N(e);
|
|
96
96
|
}, l = re;
|
|
97
|
-
l.l =
|
|
98
|
-
return
|
|
97
|
+
l.l = E, l.i = $, l.w = function(s, r) {
|
|
98
|
+
return m(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
99
99
|
};
|
|
100
100
|
var N = function() {
|
|
101
101
|
function s(e) {
|
|
102
|
-
this.$L =
|
|
102
|
+
this.$L = E(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[c] = !0;
|
|
103
103
|
}
|
|
104
104
|
var r = s.prototype;
|
|
105
105
|
return r.parse = function(e) {
|
|
@@ -109,10 +109,10 @@ function ze() {
|
|
|
109
109
|
if (l.u(t)) return /* @__PURE__ */ new Date();
|
|
110
110
|
if (t instanceof Date) return new Date(t);
|
|
111
111
|
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
112
|
-
var o = t.match(
|
|
112
|
+
var o = t.match(j);
|
|
113
113
|
if (o) {
|
|
114
|
-
var
|
|
115
|
-
return i ? new Date(Date.UTC(o[1],
|
|
114
|
+
var f = o[2] - 1 || 0, g = (o[7] || "0").substring(0, 3);
|
|
115
|
+
return i ? new Date(Date.UTC(o[1], f, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, g)) : new Date(o[1], f, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, g);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
return new Date(t);
|
|
@@ -125,12 +125,12 @@ function ze() {
|
|
|
125
125
|
}, r.isValid = function() {
|
|
126
126
|
return this.$d.toString() !== S;
|
|
127
127
|
}, r.isSame = function(e, n) {
|
|
128
|
-
var t =
|
|
128
|
+
var t = m(e);
|
|
129
129
|
return this.startOf(n) <= t && t <= this.endOf(n);
|
|
130
130
|
}, r.isAfter = function(e, n) {
|
|
131
|
-
return
|
|
131
|
+
return m(e) < this.startOf(n);
|
|
132
132
|
}, r.isBefore = function(e, n) {
|
|
133
|
-
return this.endOf(n) <
|
|
133
|
+
return this.endOf(n) < m(e);
|
|
134
134
|
}, r.$g = function(e, n, t) {
|
|
135
135
|
return l.u(e) ? this[n] : this.set(t, e);
|
|
136
136
|
}, r.unix = function() {
|
|
@@ -138,28 +138,28 @@ function ze() {
|
|
|
138
138
|
}, r.valueOf = function() {
|
|
139
139
|
return this.$d.getTime();
|
|
140
140
|
}, r.startOf = function(e, n) {
|
|
141
|
-
var t = this, i = !!l.u(n) || n, o = l.p(e),
|
|
141
|
+
var t = this, i = !!l.u(n) || n, o = l.p(e), f = function(B, k) {
|
|
142
142
|
var H = l.w(t.$u ? Date.UTC(t.$y, k, B) : new Date(t.$y, k, B), t);
|
|
143
143
|
return i ? H : H.endOf(u);
|
|
144
144
|
}, g = function(B, k) {
|
|
145
145
|
return l.w(t.toDate()[B].apply(t.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(k)), t);
|
|
146
|
-
}, x = this.$W, T = this.$M,
|
|
146
|
+
}, x = this.$W, T = this.$M, P = this.$D, z = "set" + (this.$u ? "UTC" : "");
|
|
147
147
|
switch (o) {
|
|
148
148
|
case v:
|
|
149
|
-
return i ?
|
|
149
|
+
return i ? f(1, 0) : f(31, 11);
|
|
150
150
|
case _:
|
|
151
|
-
return i ?
|
|
152
|
-
case
|
|
151
|
+
return i ? f(1, T) : f(0, T + 1);
|
|
152
|
+
case y:
|
|
153
153
|
var q = this.$locale().weekStart || 0, X = (x < q ? x + 7 : x) - q;
|
|
154
|
-
return
|
|
154
|
+
return f(i ? P - X : P + (6 - X), T);
|
|
155
155
|
case u:
|
|
156
|
-
case
|
|
156
|
+
case O:
|
|
157
157
|
return g(z + "Hours", 0);
|
|
158
|
-
case
|
|
158
|
+
case C:
|
|
159
159
|
return g(z + "Minutes", 1);
|
|
160
|
-
case
|
|
160
|
+
case Y:
|
|
161
161
|
return g(z + "Seconds", 2);
|
|
162
|
-
case
|
|
162
|
+
case R:
|
|
163
163
|
return g(z + "Milliseconds", 3);
|
|
164
164
|
default:
|
|
165
165
|
return this.clone();
|
|
@@ -167,11 +167,11 @@ function ze() {
|
|
|
167
167
|
}, r.endOf = function(e) {
|
|
168
168
|
return this.startOf(e, !1);
|
|
169
169
|
}, r.$set = function(e, n) {
|
|
170
|
-
var t, i = l.p(e), o = "set" + (this.$u ? "UTC" : ""),
|
|
170
|
+
var t, i = l.p(e), o = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[u] = o + "Date", t[O] = o + "Date", t[_] = o + "Month", t[v] = o + "FullYear", t[C] = o + "Hours", t[Y] = o + "Minutes", t[R] = o + "Seconds", t[M] = o + "Milliseconds", t)[i], g = i === u ? this.$D + (n - this.$W) : n;
|
|
171
171
|
if (i === _ || i === v) {
|
|
172
|
-
var x = this.clone().set(
|
|
173
|
-
x.$d[
|
|
174
|
-
} else
|
|
172
|
+
var x = this.clone().set(O, 1);
|
|
173
|
+
x.$d[f](g), x.init(), this.$d = x.set(O, Math.min(this.$D, x.daysInMonth())).$d;
|
|
174
|
+
} else f && this.$d[f](g);
|
|
175
175
|
return this.init(), this;
|
|
176
176
|
}, r.set = function(e, n) {
|
|
177
177
|
return this.clone().$set(e, n);
|
|
@@ -180,30 +180,30 @@ function ze() {
|
|
|
180
180
|
}, r.add = function(e, n) {
|
|
181
181
|
var t, i = this;
|
|
182
182
|
e = Number(e);
|
|
183
|
-
var o = l.p(n),
|
|
184
|
-
var
|
|
185
|
-
return l.w(
|
|
183
|
+
var o = l.p(n), f = function(T) {
|
|
184
|
+
var P = m(i);
|
|
185
|
+
return l.w(P.date(P.date() + Math.round(T * e)), i);
|
|
186
186
|
};
|
|
187
187
|
if (o === _) return this.set(_, this.$M + e);
|
|
188
188
|
if (o === v) return this.set(v, this.$y + e);
|
|
189
|
-
if (o === u) return
|
|
190
|
-
if (o ===
|
|
191
|
-
var g = (t = {}, t[
|
|
189
|
+
if (o === u) return f(1);
|
|
190
|
+
if (o === y) return f(7);
|
|
191
|
+
var g = (t = {}, t[Y] = U, t[C] = V, t[R] = L, t)[o] || 1, x = this.$d.getTime() + e * g;
|
|
192
192
|
return l.w(x, this);
|
|
193
193
|
}, r.subtract = function(e, n) {
|
|
194
194
|
return this.add(-1 * e, n);
|
|
195
195
|
}, r.format = function(e) {
|
|
196
196
|
var n = this, t = this.$locale();
|
|
197
197
|
if (!this.isValid()) return t.invalidDate || S;
|
|
198
|
-
var i = e || "YYYY-MM-DDTHH:mm:ssZ", o = l.z(this),
|
|
198
|
+
var i = e || "YYYY-MM-DDTHH:mm:ssZ", o = l.z(this), f = this.$H, g = this.$m, x = this.$M, T = t.weekdays, P = t.months, z = t.meridiem, q = function(k, H, ee, se) {
|
|
199
199
|
return k && (k[H] || k(n, i)) || ee[H].slice(0, se);
|
|
200
200
|
}, X = function(k) {
|
|
201
|
-
return l.s(
|
|
201
|
+
return l.s(f % 12 || 12, k, "0");
|
|
202
202
|
}, B = z || function(k, H, ee) {
|
|
203
203
|
var se = k < 12 ? "AM" : "PM";
|
|
204
204
|
return ee ? se.toLowerCase() : se;
|
|
205
205
|
};
|
|
206
|
-
return i.replace(
|
|
206
|
+
return i.replace(F, function(k, H) {
|
|
207
207
|
return H || function(ee) {
|
|
208
208
|
switch (ee) {
|
|
209
209
|
case "YY":
|
|
@@ -215,9 +215,9 @@ function ze() {
|
|
|
215
215
|
case "MM":
|
|
216
216
|
return l.s(x + 1, 2, "0");
|
|
217
217
|
case "MMM":
|
|
218
|
-
return q(t.monthsShort, x,
|
|
218
|
+
return q(t.monthsShort, x, P, 3);
|
|
219
219
|
case "MMMM":
|
|
220
|
-
return q(
|
|
220
|
+
return q(P, x);
|
|
221
221
|
case "D":
|
|
222
222
|
return n.$D;
|
|
223
223
|
case "DD":
|
|
@@ -231,17 +231,17 @@ function ze() {
|
|
|
231
231
|
case "dddd":
|
|
232
232
|
return T[n.$W];
|
|
233
233
|
case "H":
|
|
234
|
-
return String(
|
|
234
|
+
return String(f);
|
|
235
235
|
case "HH":
|
|
236
|
-
return l.s(
|
|
236
|
+
return l.s(f, 2, "0");
|
|
237
237
|
case "h":
|
|
238
238
|
return X(1);
|
|
239
239
|
case "hh":
|
|
240
240
|
return X(2);
|
|
241
241
|
case "a":
|
|
242
|
-
return B(
|
|
242
|
+
return B(f, g, !0);
|
|
243
243
|
case "A":
|
|
244
|
-
return B(
|
|
244
|
+
return B(f, g, !1);
|
|
245
245
|
case "m":
|
|
246
246
|
return String(g);
|
|
247
247
|
case "mm":
|
|
@@ -261,32 +261,32 @@ function ze() {
|
|
|
261
261
|
}, r.utcOffset = function() {
|
|
262
262
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
263
263
|
}, r.diff = function(e, n, t) {
|
|
264
|
-
var i, o = this,
|
|
264
|
+
var i, o = this, f = l.p(n), g = m(e), x = (g.utcOffset() - this.utcOffset()) * U, T = this - g, P = function() {
|
|
265
265
|
return l.m(o, g);
|
|
266
266
|
};
|
|
267
|
-
switch (
|
|
267
|
+
switch (f) {
|
|
268
268
|
case v:
|
|
269
|
-
i =
|
|
269
|
+
i = P() / 12;
|
|
270
270
|
break;
|
|
271
271
|
case _:
|
|
272
|
-
i =
|
|
272
|
+
i = P();
|
|
273
273
|
break;
|
|
274
274
|
case w:
|
|
275
|
-
i =
|
|
275
|
+
i = P() / 3;
|
|
276
276
|
break;
|
|
277
|
-
case
|
|
277
|
+
case y:
|
|
278
278
|
i = (T - x) / 6048e5;
|
|
279
279
|
break;
|
|
280
280
|
case u:
|
|
281
281
|
i = (T - x) / 864e5;
|
|
282
282
|
break;
|
|
283
|
-
case
|
|
283
|
+
case C:
|
|
284
284
|
i = T / V;
|
|
285
285
|
break;
|
|
286
|
-
case
|
|
287
|
-
i = T /
|
|
286
|
+
case Y:
|
|
287
|
+
i = T / U;
|
|
288
288
|
break;
|
|
289
|
-
case
|
|
289
|
+
case R:
|
|
290
290
|
i = T / L;
|
|
291
291
|
break;
|
|
292
292
|
default:
|
|
@@ -299,7 +299,7 @@ function ze() {
|
|
|
299
299
|
return a[this.$L];
|
|
300
300
|
}, r.locale = function(e, n) {
|
|
301
301
|
if (!e) return this.$L;
|
|
302
|
-
var t = this.clone(), i =
|
|
302
|
+
var t = this.clone(), i = E(e, n, !0);
|
|
303
303
|
return i && (t.$L = i), t;
|
|
304
304
|
}, r.clone = function() {
|
|
305
305
|
return l.w(this.$d, this);
|
|
@@ -313,28 +313,30 @@ function ze() {
|
|
|
313
313
|
return this.$d.toUTCString();
|
|
314
314
|
}, s;
|
|
315
315
|
}(), ae = N.prototype;
|
|
316
|
-
return
|
|
316
|
+
return m.prototype = ae, [["$ms", M], ["$s", R], ["$m", Y], ["$H", C], ["$W", u], ["$M", _], ["$y", v], ["$D", O]].forEach(function(s) {
|
|
317
317
|
ae[s[1]] = function(r) {
|
|
318
318
|
return this.$g(r, s[0], s[1]);
|
|
319
319
|
};
|
|
320
|
-
}),
|
|
321
|
-
return s.$i || (s(r, N,
|
|
322
|
-
},
|
|
323
|
-
return
|
|
324
|
-
},
|
|
320
|
+
}), m.extend = function(s, r) {
|
|
321
|
+
return s.$i || (s(r, N, m), s.$i = !0), m;
|
|
322
|
+
}, m.locale = E, m.isDayjs = $, m.unix = function(s) {
|
|
323
|
+
return m(1e3 * s);
|
|
324
|
+
}, m.en = a[h], m.Ls = a, m.p = {}, m;
|
|
325
325
|
});
|
|
326
326
|
}(ie)), ie.exports;
|
|
327
327
|
}
|
|
328
328
|
var Je = ze();
|
|
329
|
-
const Ze = /* @__PURE__ */ je(Je)
|
|
329
|
+
const Ze = /* @__PURE__ */ je(Je);
|
|
330
|
+
var I = /* @__PURE__ */ ((D) => (D.ADD = "新增", D.EDIT = "修改", D.REMOVE = "删除", D))(I || {});
|
|
331
|
+
const Ge = { class: "pt-10px" }, Qe = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, Ke = {
|
|
330
332
|
key: 1,
|
|
331
333
|
class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
|
|
332
334
|
}, Xe = /* @__PURE__ */ ve({
|
|
333
335
|
name: "TenantEdit",
|
|
334
336
|
__name: "TenantEdit",
|
|
335
337
|
emits: ["submit"],
|
|
336
|
-
setup(
|
|
337
|
-
const
|
|
338
|
+
setup(D, { expose: A, emit: L }) {
|
|
339
|
+
const U = L, V = {
|
|
338
340
|
name: [
|
|
339
341
|
{ required: !0, message: "请输入名称", trigger: "blur" },
|
|
340
342
|
{ min: 2, max: 32, message: "租户名称长度不能少于2位,不能超过32位", trigger: "change" }
|
|
@@ -356,81 +358,81 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
356
358
|
initData: {
|
|
357
359
|
enable: !0
|
|
358
360
|
}
|
|
359
|
-
}), [
|
|
360
|
-
async function
|
|
361
|
-
if (M.title =
|
|
361
|
+
}), [R, Y] = pe(!1), C = J(), u = J({ enable: !0 });
|
|
362
|
+
async function y(h, a) {
|
|
363
|
+
if (M.title = h, u.value = fe(M.initData), h === I.EDIT) {
|
|
362
364
|
const c = await Ve({ id: a.id });
|
|
363
365
|
if (c.success) {
|
|
364
|
-
const { tenantStartTime: $, tenantEndTime:
|
|
366
|
+
const { tenantStartTime: $, tenantEndTime: E, ...m } = (c == null ? void 0 : c.data) ?? {};
|
|
365
367
|
u.value = {
|
|
366
|
-
...
|
|
367
|
-
tenantTime: [$,
|
|
368
|
+
...m,
|
|
369
|
+
tenantTime: [$, E]
|
|
368
370
|
};
|
|
369
371
|
}
|
|
370
372
|
}
|
|
371
|
-
|
|
373
|
+
Y(!0);
|
|
372
374
|
}
|
|
373
375
|
const [_, w] = pe(!1);
|
|
374
376
|
function v() {
|
|
375
377
|
var a;
|
|
376
|
-
const
|
|
377
|
-
(a =
|
|
378
|
-
const { tenantTime: c, resourceIds: $ = [], ...
|
|
379
|
-
...
|
|
378
|
+
const h = M.title === I.EDIT ? Be : Le;
|
|
379
|
+
(a = C.value) == null || a.validate().then(() => {
|
|
380
|
+
const { tenantTime: c, resourceIds: $ = [], ...E } = u.value, m = {
|
|
381
|
+
...E,
|
|
380
382
|
tenantStartTime: c == null ? void 0 : c[0],
|
|
381
383
|
tenantEndTime: c == null ? void 0 : c[1],
|
|
382
384
|
pubTenantResourcelist: $.map((l) => ({ resourceId: l }))
|
|
383
385
|
};
|
|
384
|
-
w(!0), m
|
|
385
|
-
l.success && ($e.success(`${M.title}成功!`),
|
|
386
|
+
w(!0), h(m).then((l) => {
|
|
387
|
+
l.success && ($e.success(`${M.title}成功!`), Y(!1), U("submit"));
|
|
386
388
|
}).finally(() => w(!1));
|
|
387
389
|
});
|
|
388
390
|
}
|
|
389
|
-
const
|
|
390
|
-
var
|
|
391
|
-
return ((
|
|
391
|
+
const O = J(), S = J([]), j = Ce(() => {
|
|
392
|
+
var h;
|
|
393
|
+
return ((h = u.value.resourceIds) == null ? void 0 : h.map((a) => {
|
|
392
394
|
const c = re(S.value).find(($) => $.id === a);
|
|
393
395
|
return { name: (c == null ? void 0 : c.name) ?? "" };
|
|
394
396
|
})) ?? [];
|
|
395
397
|
});
|
|
396
|
-
function
|
|
397
|
-
const
|
|
398
|
-
|
|
398
|
+
function F() {
|
|
399
|
+
const h = u.value.resourceIds ?? [], a = S.value, c = re(a).reduce(($, E) => ($[E.id] = E.name, $), {});
|
|
400
|
+
O.value.open(h, a, c);
|
|
399
401
|
}
|
|
400
|
-
function Q(
|
|
401
|
-
u.value.resourceIds =
|
|
402
|
+
function Q(h = []) {
|
|
403
|
+
u.value.resourceIds = h.map((a) => a.id);
|
|
402
404
|
}
|
|
403
405
|
function K() {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
+
Fe().then((h) => {
|
|
407
|
+
h.success && (S.value = h.data ?? []);
|
|
406
408
|
});
|
|
407
409
|
}
|
|
408
|
-
function re(
|
|
409
|
-
const a = fe(
|
|
410
|
+
function re(h) {
|
|
411
|
+
const a = fe(h);
|
|
410
412
|
for (let c = 0; c < a.length; c++)
|
|
411
413
|
a[c].children && (a.splice(c + 1, 0, ...a[c].children), a[c].children = void 0);
|
|
412
414
|
return a;
|
|
413
415
|
}
|
|
414
416
|
return Oe(() => {
|
|
415
417
|
K();
|
|
416
|
-
}),
|
|
417
|
-
open:
|
|
418
|
-
}), (
|
|
419
|
-
const c =
|
|
420
|
-
return
|
|
421
|
-
open:
|
|
422
|
-
"onUpdate:open": a[9] || (a[9] = (n) => Ee(
|
|
423
|
-
title: `${
|
|
418
|
+
}), A({
|
|
419
|
+
open: y
|
|
420
|
+
}), (h, a) => {
|
|
421
|
+
const c = ye, $ = De, E = xe, m = Me, l = he, N = We, ae = Te, s = be, r = ge, e = _e;
|
|
422
|
+
return W(), oe(e, {
|
|
423
|
+
open: d(R),
|
|
424
|
+
"onUpdate:open": a[9] || (a[9] = (n) => Ee(R) ? R.value = n : null),
|
|
425
|
+
title: `${d(M).title}租户`,
|
|
424
426
|
placement: "right",
|
|
425
427
|
width: 600,
|
|
426
428
|
"destroy-on-close": "",
|
|
427
429
|
"footer-style": { textAlign: "right" }
|
|
428
430
|
}, {
|
|
429
431
|
footer: b(() => [
|
|
430
|
-
|
|
432
|
+
p(r, null, {
|
|
431
433
|
default: b(() => [
|
|
432
|
-
|
|
433
|
-
onClick: a[7] || (a[7] = (n) =>
|
|
434
|
+
p(l, {
|
|
435
|
+
onClick: a[7] || (a[7] = (n) => d(Y)(!1))
|
|
434
436
|
}, {
|
|
435
437
|
default: b(() => a[11] || (a[11] = [
|
|
436
438
|
te(" 取消 ")
|
|
@@ -438,9 +440,9 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
438
440
|
_: 1
|
|
439
441
|
/* STABLE */
|
|
440
442
|
}),
|
|
441
|
-
|
|
443
|
+
p(l, {
|
|
442
444
|
type: "primary",
|
|
443
|
-
loading:
|
|
445
|
+
loading: d(_),
|
|
444
446
|
onClick: a[8] || (a[8] = (n) => v())
|
|
445
447
|
}, {
|
|
446
448
|
default: b(() => a[12] || (a[12] = [
|
|
@@ -455,22 +457,22 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
455
457
|
})
|
|
456
458
|
]),
|
|
457
459
|
default: b(() => [
|
|
458
|
-
|
|
460
|
+
p(s, {
|
|
459
461
|
ref_key: "formRef",
|
|
460
|
-
ref:
|
|
461
|
-
model:
|
|
462
|
+
ref: C,
|
|
463
|
+
model: d(u),
|
|
462
464
|
rules: V,
|
|
463
465
|
"label-col": { span: 6 }
|
|
464
466
|
}, {
|
|
465
467
|
default: b(() => [
|
|
466
|
-
|
|
468
|
+
p($, {
|
|
467
469
|
label: "租户名称",
|
|
468
470
|
name: "name"
|
|
469
471
|
}, {
|
|
470
472
|
default: b(() => [
|
|
471
|
-
|
|
472
|
-
value:
|
|
473
|
-
"onUpdate:value": a[0] || (a[0] = (n) =>
|
|
473
|
+
p(c, {
|
|
474
|
+
value: d(u).name,
|
|
475
|
+
"onUpdate:value": a[0] || (a[0] = (n) => d(u).name = n),
|
|
474
476
|
maxlength: 32,
|
|
475
477
|
placeholder: "请输入租户名称"
|
|
476
478
|
}, null, 8, ["value"])
|
|
@@ -478,15 +480,15 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
478
480
|
_: 1
|
|
479
481
|
/* STABLE */
|
|
480
482
|
}),
|
|
481
|
-
|
|
483
|
+
p($, {
|
|
482
484
|
label: "租户编码",
|
|
483
485
|
name: "tenantCode"
|
|
484
486
|
}, {
|
|
485
487
|
default: b(() => [
|
|
486
|
-
|
|
487
|
-
value:
|
|
488
|
-
"onUpdate:value": a[1] || (a[1] = (n) =>
|
|
489
|
-
disabled:
|
|
488
|
+
p(c, {
|
|
489
|
+
value: d(u).tenantCode,
|
|
490
|
+
"onUpdate:value": a[1] || (a[1] = (n) => d(u).tenantCode = n),
|
|
491
|
+
disabled: d(M).title === d(I).EDIT,
|
|
490
492
|
maxlength: 64,
|
|
491
493
|
placeholder: "请输入租户编码"
|
|
492
494
|
}, null, 8, ["value", "disabled"])
|
|
@@ -494,14 +496,14 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
494
496
|
_: 1
|
|
495
497
|
/* STABLE */
|
|
496
498
|
}),
|
|
497
|
-
|
|
499
|
+
p($, {
|
|
498
500
|
label: "开始至到期时间",
|
|
499
501
|
name: "tenantTime"
|
|
500
502
|
}, {
|
|
501
503
|
default: b(() => [
|
|
502
|
-
|
|
503
|
-
value:
|
|
504
|
-
"onUpdate:value": a[2] || (a[2] = (n) =>
|
|
504
|
+
p(E, {
|
|
505
|
+
value: d(u).tenantTime,
|
|
506
|
+
"onUpdate:value": a[2] || (a[2] = (n) => d(u).tenantTime = n),
|
|
505
507
|
format: "YYYY-MM-DD",
|
|
506
508
|
"value-format": "YYYY-MM-DD"
|
|
507
509
|
}, null, 8, ["value"])
|
|
@@ -509,14 +511,14 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
509
511
|
_: 1
|
|
510
512
|
/* STABLE */
|
|
511
513
|
}),
|
|
512
|
-
|
|
514
|
+
p($, {
|
|
513
515
|
label: "二级域名",
|
|
514
516
|
name: "subDomain"
|
|
515
517
|
}, {
|
|
516
518
|
default: b(() => [
|
|
517
|
-
|
|
518
|
-
value:
|
|
519
|
-
"onUpdate:value": a[3] || (a[3] = (n) =>
|
|
519
|
+
p(c, {
|
|
520
|
+
value: d(u).subDomain,
|
|
521
|
+
"onUpdate:value": a[3] || (a[3] = (n) => d(u).subDomain = n),
|
|
520
522
|
maxlength: 64,
|
|
521
523
|
placeholder: "请输入二级域名"
|
|
522
524
|
}, null, 8, ["value"])
|
|
@@ -524,15 +526,15 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
524
526
|
_: 1
|
|
525
527
|
/* STABLE */
|
|
526
528
|
}),
|
|
527
|
-
|
|
529
|
+
p($, {
|
|
528
530
|
label: "租户管理员",
|
|
529
531
|
name: "pubUserAdmin"
|
|
530
532
|
}, {
|
|
531
533
|
default: b(() => [
|
|
532
|
-
|
|
533
|
-
value:
|
|
534
|
-
"onUpdate:value": a[4] || (a[4] = (n) =>
|
|
535
|
-
disabled:
|
|
534
|
+
p(c, {
|
|
535
|
+
value: d(u).pubUserAdmin,
|
|
536
|
+
"onUpdate:value": a[4] || (a[4] = (n) => d(u).pubUserAdmin = n),
|
|
537
|
+
disabled: d(M).title === d(I).EDIT,
|
|
536
538
|
maxlength: 32,
|
|
537
539
|
placeholder: "请输入租户管理员"
|
|
538
540
|
}, null, 8, ["value", "disabled"])
|
|
@@ -540,26 +542,26 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
540
542
|
_: 1
|
|
541
543
|
/* STABLE */
|
|
542
544
|
}),
|
|
543
|
-
|
|
545
|
+
p($, { label: "是否启用" }, {
|
|
544
546
|
default: b(() => [
|
|
545
|
-
|
|
546
|
-
checked:
|
|
547
|
-
"onUpdate:checked": a[5] || (a[5] = (n) =>
|
|
547
|
+
p(m, {
|
|
548
|
+
checked: d(u).enable,
|
|
549
|
+
"onUpdate:checked": a[5] || (a[5] = (n) => d(u).enable = n)
|
|
548
550
|
}, null, 8, ["checked"])
|
|
549
551
|
]),
|
|
550
552
|
_: 1
|
|
551
553
|
/* STABLE */
|
|
552
554
|
}),
|
|
553
|
-
|
|
555
|
+
p($, {
|
|
554
556
|
label: "所属资源",
|
|
555
557
|
name: "resourceIds"
|
|
556
558
|
}, {
|
|
557
559
|
default: b(() => {
|
|
558
560
|
var n;
|
|
559
561
|
return [
|
|
560
|
-
|
|
562
|
+
p(l, {
|
|
561
563
|
type: "primary",
|
|
562
|
-
onClick: a[6] || (a[6] = (t) =>
|
|
564
|
+
onClick: a[6] || (a[6] = (t) => F())
|
|
563
565
|
}, {
|
|
564
566
|
default: b(() => a[10] || (a[10] = [
|
|
565
567
|
te(" 选择资源 ")
|
|
@@ -568,15 +570,15 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
568
570
|
/* STABLE */
|
|
569
571
|
}),
|
|
570
572
|
te(
|
|
571
|
-
" (已选" + Z(((n =
|
|
573
|
+
" (已选" + Z(((n = d(u).resourceIds) == null ? void 0 : n.length) ?? 0) + "条数据) ",
|
|
572
574
|
1
|
|
573
575
|
/* TEXT */
|
|
574
576
|
),
|
|
575
|
-
|
|
577
|
+
p(
|
|
576
578
|
N,
|
|
577
579
|
{
|
|
578
580
|
ref_key: "resourceRef",
|
|
579
|
-
ref:
|
|
581
|
+
ref: O,
|
|
580
582
|
onSelect: Q
|
|
581
583
|
},
|
|
582
584
|
null,
|
|
@@ -584,16 +586,16 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
584
586
|
/* NEED_PATCH */
|
|
585
587
|
),
|
|
586
588
|
ue("div", Ge, [
|
|
587
|
-
(
|
|
589
|
+
(W(!0), G(
|
|
588
590
|
ce,
|
|
589
591
|
null,
|
|
590
|
-
Re(
|
|
592
|
+
Re(d(j), (t) => {
|
|
591
593
|
var i;
|
|
592
|
-
return
|
|
594
|
+
return W(), G(
|
|
593
595
|
ce,
|
|
594
596
|
{ key: t },
|
|
595
597
|
[
|
|
596
|
-
((i = t.name) == null ? void 0 : i.length) > 20 ? (
|
|
598
|
+
((i = t.name) == null ? void 0 : i.length) > 20 ? (W(), oe(ae, {
|
|
597
599
|
key: 0,
|
|
598
600
|
title: t.name
|
|
599
601
|
}, {
|
|
@@ -611,7 +613,7 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
611
613
|
}),
|
|
612
614
|
_: 2
|
|
613
615
|
/* DYNAMIC */
|
|
614
|
-
}, 1032, ["title"])) : (
|
|
616
|
+
}, 1032, ["title"])) : (W(), G(
|
|
615
617
|
"span",
|
|
616
618
|
Ke,
|
|
617
619
|
Z(t.name),
|
|
@@ -651,47 +653,43 @@ const Ze = /* @__PURE__ */ je(Je), Ge = { class: "pt-10px" }, Qe = { class: "inl
|
|
|
651
653
|
class: "ml-4px"
|
|
652
654
|
}, rt = ["onClick"], at = {
|
|
653
655
|
class: "ml-4px"
|
|
654
|
-
}
|
|
655
|
-
var j = /* @__PURE__ */ function(y) {
|
|
656
|
-
return y.ADD = "新增", y.EDIT = "修改", y.REMOVE = "删除", y;
|
|
657
|
-
}(j || {});
|
|
658
|
-
const vt = /* @__PURE__ */ ve({
|
|
656
|
+
}, vt = /* @__PURE__ */ ve({
|
|
659
657
|
name: "Tenant",
|
|
660
658
|
__name: "index",
|
|
661
|
-
setup(
|
|
659
|
+
setup(D) {
|
|
662
660
|
const {
|
|
663
|
-
auth:
|
|
664
|
-
} = we(), L = J(),
|
|
661
|
+
auth: A
|
|
662
|
+
} = we(), L = J(), U = J();
|
|
665
663
|
function V() {
|
|
666
664
|
L.value.reload();
|
|
667
665
|
}
|
|
668
666
|
function M(u) {
|
|
669
667
|
return u ? Ze(u).format("YYYY-MM-DD") : null;
|
|
670
668
|
}
|
|
671
|
-
async function
|
|
672
|
-
var
|
|
669
|
+
async function R(u) {
|
|
670
|
+
var j, F;
|
|
673
671
|
const {
|
|
674
|
-
current:
|
|
672
|
+
current: y,
|
|
675
673
|
pageSize: _,
|
|
676
674
|
tenantStartTime: w,
|
|
677
675
|
tenantEndTime: v,
|
|
678
|
-
...
|
|
676
|
+
...O
|
|
679
677
|
} = u, S = await qe({
|
|
680
|
-
currentPage:
|
|
678
|
+
currentPage: y,
|
|
681
679
|
pageSize: _,
|
|
682
680
|
tenantStartTime: M(w == null ? void 0 : w[0]),
|
|
683
681
|
tenantStartTimeEnd: M(w == null ? void 0 : w[1]),
|
|
684
682
|
tenantEndTimeStart: M(v == null ? void 0 : v[0]),
|
|
685
683
|
tenantEndTimeEnd: M(v == null ? void 0 : v[1]),
|
|
686
|
-
...
|
|
684
|
+
...O
|
|
687
685
|
});
|
|
688
686
|
return {
|
|
689
687
|
success: S.success,
|
|
690
|
-
data: ((
|
|
691
|
-
total: ((
|
|
688
|
+
data: ((j = S.data) == null ? void 0 : j.records) ?? [],
|
|
689
|
+
total: ((F = S.data) == null ? void 0 : F.total) ?? 0
|
|
692
690
|
};
|
|
693
691
|
}
|
|
694
|
-
const
|
|
692
|
+
const Y = [{
|
|
695
693
|
valueType: "a-input",
|
|
696
694
|
minWidth: 200,
|
|
697
695
|
title: "租户名称",
|
|
@@ -742,10 +740,10 @@ const vt = /* @__PURE__ */ ve({
|
|
|
742
740
|
dataIndex: "enable",
|
|
743
741
|
customRender: ({
|
|
744
742
|
text: u
|
|
745
|
-
}) => u ?
|
|
743
|
+
}) => u ? p(de, {
|
|
746
744
|
status: "success",
|
|
747
745
|
text: "正常"
|
|
748
|
-
}, null) :
|
|
746
|
+
}, null) : p(de, {
|
|
749
747
|
status: "error",
|
|
750
748
|
text: "关闭"
|
|
751
749
|
}, null)
|
|
@@ -756,24 +754,24 @@ const vt = /* @__PURE__ */ ve({
|
|
|
756
754
|
dataIndex: "action",
|
|
757
755
|
fixed: "right",
|
|
758
756
|
hideInTable() {
|
|
759
|
-
return !
|
|
757
|
+
return !A(["tenant_edit", "tenant_remove"]);
|
|
760
758
|
}
|
|
761
759
|
}];
|
|
762
|
-
function
|
|
760
|
+
function C(u, y) {
|
|
763
761
|
switch (u) {
|
|
764
|
-
case
|
|
765
|
-
|
|
762
|
+
case I.EDIT:
|
|
763
|
+
U.value.open(u, y);
|
|
766
764
|
break;
|
|
767
|
-
case
|
|
768
|
-
|
|
765
|
+
case I.ADD:
|
|
766
|
+
U.value.open(u);
|
|
769
767
|
break;
|
|
770
|
-
case
|
|
768
|
+
case I.REMOVE:
|
|
771
769
|
Ue.confirm({
|
|
772
770
|
title: "删除",
|
|
773
771
|
content: "确定要删除该租户吗?",
|
|
774
772
|
onOk() {
|
|
775
773
|
He({
|
|
776
|
-
id:
|
|
774
|
+
id: y == null ? void 0 : y.id
|
|
777
775
|
}).then((_) => {
|
|
778
776
|
_.success && ($e.success("删除成功"), V());
|
|
779
777
|
});
|
|
@@ -782,28 +780,28 @@ const vt = /* @__PURE__ */ ve({
|
|
|
782
780
|
break;
|
|
783
781
|
}
|
|
784
782
|
}
|
|
785
|
-
return (u,
|
|
786
|
-
const _ = ke, w = he, v = Se,
|
|
787
|
-
return
|
|
788
|
-
|
|
783
|
+
return (u, y) => {
|
|
784
|
+
const _ = ke, w = he, v = Se, O = ge, S = Ye("auth");
|
|
785
|
+
return W(), G("div", et, [p(
|
|
786
|
+
d(Ae),
|
|
789
787
|
{
|
|
790
788
|
ref_key: "tableRef",
|
|
791
789
|
ref: L,
|
|
792
790
|
"row-key": "id",
|
|
793
|
-
request:
|
|
794
|
-
columns:
|
|
791
|
+
request: R,
|
|
792
|
+
columns: Y,
|
|
795
793
|
"auto-height": "",
|
|
796
794
|
scroll: {
|
|
797
795
|
x: 1100
|
|
798
796
|
}
|
|
799
797
|
},
|
|
800
798
|
{
|
|
801
|
-
toolbar: b(() => [le((
|
|
799
|
+
toolbar: b(() => [le((W(), oe(w, {
|
|
802
800
|
type: "primary",
|
|
803
|
-
onClick:
|
|
801
|
+
onClick: y[0] || (y[0] = (j) => C(d(I).ADD))
|
|
804
802
|
}, {
|
|
805
|
-
default: b(() => [
|
|
806
|
-
" " + Z(
|
|
803
|
+
default: b(() => [p(_), te(
|
|
804
|
+
" " + Z(d(I).ADD),
|
|
807
805
|
1
|
|
808
806
|
/* TEXT */
|
|
809
807
|
)]),
|
|
@@ -811,36 +809,36 @@ const vt = /* @__PURE__ */ ve({
|
|
|
811
809
|
/* STABLE */
|
|
812
810
|
})), [[S, "tenant_add"]])]),
|
|
813
811
|
bodyCell: b(({
|
|
814
|
-
column:
|
|
815
|
-
record:
|
|
816
|
-
}) => [
|
|
817
|
-
|
|
812
|
+
column: j,
|
|
813
|
+
record: F
|
|
814
|
+
}) => [j.dataIndex === "action" ? (W(), oe(
|
|
815
|
+
O,
|
|
818
816
|
{
|
|
819
817
|
key: 0
|
|
820
818
|
},
|
|
821
819
|
{
|
|
822
|
-
default: b(() => [le((
|
|
820
|
+
default: b(() => [le((W(), G("a", {
|
|
823
821
|
class: "flex items-center",
|
|
824
|
-
onClick: (Q) => I
|
|
825
|
-
}, [
|
|
822
|
+
onClick: (Q) => C(d(I).EDIT, F)
|
|
823
|
+
}, [p(v, {
|
|
826
824
|
name: "edit",
|
|
827
825
|
class: "text-base"
|
|
828
826
|
}), ue(
|
|
829
827
|
"span",
|
|
830
828
|
nt,
|
|
831
|
-
Z(
|
|
829
|
+
Z(d(I).EDIT),
|
|
832
830
|
1
|
|
833
831
|
/* TEXT */
|
|
834
|
-
)], 8, tt)), [[S, "tenant_edit"]]), le((
|
|
832
|
+
)], 8, tt)), [[S, "tenant_edit"]]), le((W(), G("span", {
|
|
835
833
|
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
836
|
-
onClick: (Q) => I
|
|
837
|
-
}, [
|
|
834
|
+
onClick: (Q) => C(d(I).REMOVE, F)
|
|
835
|
+
}, [p(v, {
|
|
838
836
|
name: "remove",
|
|
839
837
|
class: "text-base"
|
|
840
838
|
}), ue(
|
|
841
839
|
"span",
|
|
842
840
|
at,
|
|
843
|
-
Z(
|
|
841
|
+
Z(d(I).REMOVE),
|
|
844
842
|
1
|
|
845
843
|
/* TEXT */
|
|
846
844
|
)], 8, rt)), [[S, "tenant_remove"]])]),
|
|
@@ -855,12 +853,12 @@ const vt = /* @__PURE__ */ ve({
|
|
|
855
853
|
},
|
|
856
854
|
512
|
|
857
855
|
/* NEED_PATCH */
|
|
858
|
-
),
|
|
856
|
+
), p(
|
|
859
857
|
Xe,
|
|
860
858
|
{
|
|
861
859
|
ref_key: "drawerRef",
|
|
862
|
-
ref:
|
|
863
|
-
onSubmit:
|
|
860
|
+
ref: U,
|
|
861
|
+
onSubmit: y[1] || (y[1] = (j) => V())
|
|
864
862
|
},
|
|
865
863
|
null,
|
|
866
864
|
512
|