@pubinfo/module-rbac 2.0.0-rc.2 → 2.0.0-rc.4
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/dist/{ComponentSelect-Dyqb3Uh3.js → ComponentSelect-B1ZyenXP.js} +897 -945
- package/dist/ComponentSelect-DlVJI5an.js +2 -0
- package/dist/DynamicRoutesForm-Cu3WhRpA.js +4 -0
- package/dist/{DynamicRoutesForm-D3nGj7oA.js → DynamicRoutesForm-qjbrykW4.js} +95 -95
- package/dist/HCheckList-Cze_TkQp.js +2 -0
- package/dist/HoverCard-B79q5sly.js +43 -0
- package/dist/HoverCard-U5WTpvFy.js +2 -0
- package/dist/{ImportExport-Yt6dABIv.js → ImportExport-Clbc8xaw.js} +65 -65
- package/dist/ImportExport-CtEZTU87.js +4 -0
- package/dist/MetaForm-BWy4Lpr8.js +5 -0
- package/dist/MetaForm-DpH9an5A.js +300 -0
- package/dist/MetaForm.css +1 -0
- package/dist/OrgAndPosition-3lCm4Fyb.js +2 -0
- package/dist/ResourceEdit-0_cYB0iu.js +338 -0
- package/dist/ResourceEdit-CYPzEbqn.js +10 -0
- package/dist/{ResourceRelation-BihfkBCe.js → ResourceRelation-CZ8hGgOm.js} +6 -6
- package/dist/ResourceRelation-DMWa09ae.js +3 -0
- package/dist/{ResourceRelation-CBPrqf2V.js → ResourceRelation-DkKdZ3TD.js} +2 -2
- package/dist/ResourceRelation.css +1 -1
- package/dist/ResourceRelation2.css +1 -1
- package/dist/{ResourceSelector-CxZ1ae30.js → ResourceSelector-ConJ30Jd.js} +48 -48
- package/dist/ResourceSelector.css +1 -1
- package/dist/{RoleRelation-BlWDNAM1.js → RoleRelation-B1D1NM_L.js} +1 -1
- package/dist/RoleRelation-DySyilcs.js +2 -0
- package/dist/RoleSelector-DOt30OLy.js +279 -0
- package/dist/TenantEdit-D8-Pt7sf.js +6 -0
- package/dist/{TenantEdit-Bt31IV9W.js → TenantEdit-DNJzo8SS.js} +19 -19
- package/dist/{UserAuthorization-Dhp0ZamX.js → UserAuthorization-DPHUk69M.js} +6 -6
- package/dist/UserAuthorization-DuioGghR.js +4 -0
- package/dist/UserAuthorization.css +1 -1
- package/dist/UserEdit-6HYbgtOh.js +4 -0
- package/dist/{UserEdit-CqH6hxTZ.js → UserEdit-C6eNXSCu.js} +24 -24
- package/dist/animation_item-C3pkH-cB.js +2 -0
- package/dist/api/modules/assist/gonggaofuwu.d.ts +6 -6
- package/dist/api/modules/assist/qunzujiekou.d.ts +6 -6
- package/dist/api/modules/assist/quyujiekou.d.ts +5 -5
- package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +5 -5
- package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +14 -14
- package/dist/api/modules/configData/zidifuwu.d.ts +10 -10
- package/dist/api/modules/log/caozuorizhifuwu.d.ts +2 -2
- package/dist/api/modules/log/denglurizhifuwu.d.ts +2 -2
- package/dist/api/modules/rbac/gangweijiekou.d.ts +6 -6
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +7 -7
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -7
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +9 -9
- package/dist/api/modules/rbac/yonghujiekou.d.ts +15 -15
- package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +5 -5
- package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +4 -4
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +6 -6
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +13 -13
- package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +5 -5
- package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +4 -4
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +9 -9
- package/dist/{blackWhiteList-B7tUj2Rx.js → blackWhiteList-DQALdBZf.js} +10 -10
- package/dist/blackWhiteList.css +1 -1
- package/dist/{breadcrumb_setting-CIm-6QHw.js → breadcrumb_setting-D3UjJYhA.js} +32 -32
- package/dist/breadcrumb_setting.css +1 -1
- package/dist/browserType-BGl2j5RW.js +2 -0
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +1 -1
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +1 -1
- package/dist/components/ResourceSelector/index.vue.d.ts +1 -1
- package/dist/composables/useWebSocketManager.d.ts +8 -0
- package/dist/createAndEditDataPermission-CAaxueTy.js +8 -0
- package/dist/{createAndEditDataPermission-Bd3tlIEE.js → createAndEditDataPermission-DnAcKvaE.js} +55 -55
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-Db1Lu9KO.js → data-permission-CLnnLoPt.js} +8 -8
- package/dist/data-permission.css +1 -1
- package/dist/{dictionary-XMJprxvM.js → dictionary-BFM0Mx0P.js} +3 -3
- package/dist/{drawerBlackWhiteList-D-Sq4mul.js → drawerBlackWhiteList-BYACpO3D.js} +9 -9
- package/dist/drawerBlackWhiteList-C3xS7Kxx.js +3 -0
- package/dist/{drawerDictionary-Bw3w5PTm.js → drawerDictionary-BUBLrbTi.js} +13 -13
- package/dist/drawerDictionary-Bk0BgL7i.js +4 -0
- package/dist/{drawerDictionaryItem-4WIgL3No.js → drawerDictionaryItem-CfOPleN6.js} +14 -14
- package/dist/drawerDictionaryItem-Dy2T56AH.js +4 -0
- package/dist/{drawerGroup-932n7Ywc.js → drawerGroup-Bly3CWfM.js} +10 -10
- package/dist/drawerGroup-ZyzAWXOl.js +3 -0
- package/dist/{drawerOrganization-IwZZkHWM.js → drawerOrganization-BhO5-PP5.js} +27 -27
- package/dist/drawerOrganization-HSVB8JzO.js +3 -0
- package/dist/{drawerPosition-BiO92_At.js → drawerPosition-CM0NBfoR.js} +15 -15
- package/dist/drawerPosition-vsuG4JYe.js +3 -0
- package/dist/drawerRegion-BXZ751ge.js +3 -0
- package/dist/{drawerRegion-CNOK55im.js → drawerRegion-CGySAL6D.js} +17 -17
- package/dist/{drawerRole-IIsKhycU.js → drawerRole-BE0utb7R.js} +9 -9
- package/dist/drawerRole-BVeaz3Yb.js +5 -0
- package/dist/drawerRole-BdoMYLYW.js +215 -0
- package/dist/drawerRole-BeUNs7cF.js +6 -0
- package/dist/drawerRole-DNsK5a6O.js +3 -0
- package/dist/{drawerRole-PnDochPg.js → drawerRole-DS7fbx1h.js} +10 -10
- package/dist/{group-BzuuCGyR.js → group-B1gGoTD5.js} +10 -10
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2065 -1875
- package/dist/{itemlist-KOYuEUk4.js → itemlist-uCHnA_We.js} +3 -3
- package/dist/{layout_setting-DQgWzV7M.js → layout_setting-DMvxwL31.js} +20 -20
- package/dist/layout_setting.css +1 -1
- package/dist/{loginHistoryDetail-DgHx6n66.js → loginHistoryDetail-BAYuSqvw.js} +2 -2
- package/dist/loginHistoryDetail-DiuNa6Sv.js +4 -0
- package/dist/{login_history-Co6JLGsd.js → login_history-BexfCN-1.js} +7 -7
- package/dist/login_history.css +1 -1
- package/dist/{menu_setting-B0QIQ1um.js → menu_setting-BXR3EAXD.js} +43 -43
- package/dist/menu_setting.css +1 -1
- package/dist/not-data-OpiacaSk.js +2 -0
- package/dist/{operateHistoryDetail-BrdNmYD0.js → operateHistoryDetail-DiuqMTkN.js} +2 -2
- package/dist/operateHistoryDetail-r30ZBNqw.js +4 -0
- package/dist/{operate_history-CVeIorOr.js → operate_history-hXxS3atI.js} +7 -7
- package/dist/operate_history.css +1 -1
- package/dist/{organization-CXMk4mRo.js → organization-cvYm9P9w.js} +2647 -2647
- package/dist/organization.css +1 -1
- package/dist/{other_setting-DK9MHysY.js → other_setting-DjVQevBW.js} +69 -69
- package/dist/other_setting.css +1 -1
- package/dist/{page_animation_setting-tSYfjx-m.js → page_animation_setting-DgHHmFEc.js} +52 -52
- package/dist/page_animation_setting.css +1 -1
- package/dist/{page_w_setting-BDI5KsA-.js → page_w_setting-B_im6vBo.js} +20 -20
- package/dist/page_w_setting.css +1 -1
- package/dist/{position-BjUZQQUz.js → position-BkpbHXYP.js} +2 -2
- package/dist/{region-BsX0gK_y.js → region-DVkbjI9t.js} +6 -6
- package/dist/{resource-DKhlH74I.js → resource-CrhX7VRK.js} +13 -11
- package/dist/{role-ffXddsAo.js → role-PjmrOdFd.js} +6 -6
- package/dist/{role_group-BBH28A40.js → role_group-Dlx-6BZF.js} +2 -2
- package/dist/routeSystem-Dg0b6mAl.js +2 -0
- package/dist/{safe_setting-Dis73Gsw.js → safe_setting-DpWUCv2p.js} +1 -1
- package/dist/setItem-9ZBl0BlF.js +5 -0
- package/dist/setItem-BenNySNl.js +77 -0
- package/dist/setItem.css +1 -1
- package/dist/stores/view.d.ts +56 -0
- package/dist/{tabbar_setting-DGwk_Oec.js → tabbar_setting-9UKDc1Ev.js} +38 -38
- package/dist/tabbar_setting.css +1 -1
- package/dist/{tenant-BhA6R8aJ.js → tenant-BGtOP_wo.js} +5 -5
- package/dist/{theme_setting-Ca1YGTdZ.js → theme_setting-BBLaZ4NS.js} +8 -8
- package/dist/theme_setting.css +1 -1
- package/dist/{toolbar_setting-Cmrpyxgs.js → toolbar_setting-OemNp6pO.js} +37 -37
- package/dist/toolbar_setting.css +1 -1
- package/dist/{useAppAndResource-BgnrL15l.js → useAppAndResource-CeMCjg2v.js} +1 -1
- package/dist/{user-Bnb1cvVD.js → user-JCiGXodF.js} +11 -11
- package/dist/user.css +1 -1
- package/dist/utils/routeSystem.d.ts +55 -0
- package/dist/views/blackWhiteList/index.vue.d.ts +2 -2
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -5
- package/dist/views/data-permission/index.vue.d.ts +7 -7
- package/dist/views/dictionary/index.vue.d.ts +2 -2
- package/dist/views/dictionary/itemlist.vue.d.ts +2 -2
- package/dist/views/group/index.vue.d.ts +2 -2
- package/dist/views/log_center/login_history.vue.d.ts +2 -2
- package/dist/views/log_center/operate_history.vue.d.ts +2 -2
- package/dist/views/position/index.vue.d.ts +2 -2
- package/dist/views/region/index.vue.d.ts +2 -2
- package/dist/views/resource/components/HoverCard.vue.d.ts +21 -0
- package/dist/views/resource/index.vue.d.ts +2 -2
- package/dist/views/resource/model.d.ts +3 -1
- package/dist/views/role/components/ResourceRelation.vue.d.ts +2 -2
- package/dist/views/role/components/drawerRole.vue.d.ts +2 -2
- package/dist/views/role/index.vue.d.ts +6 -6
- package/dist/views/role_group/index.vue.d.ts +2 -2
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +2 -2
- package/dist/views/tenant/index.vue.d.ts +4 -4
- package/dist/views/user/index.vue.d.ts +2 -2
- package/dist/{watermark_setting-BnBt5gdM.js → watermark_setting-C1VFRfbW.js} +111 -111
- package/dist/watermark_setting.css +1 -1
- package/package.json +7 -7
- package/src/composables/useWebSocketManager.ts +104 -0
- package/src/index.ts +22 -0
- package/src/stores/view.ts +292 -0
- package/src/utils/routeSystem.ts +53 -0
- package/src/views/region/index.vue +1 -1
- package/src/views/resource/components/ComponentSelect.vue +12 -119
- package/src/views/resource/components/HoverCard.vue +62 -0
- package/src/views/resource/components/MetaForm.vue +129 -67
- package/src/views/resource/components/ResourceEdit.vue +33 -4
- package/src/views/resource/hooks/useMetaForm.ts +23 -0
- package/src/views/resource/model.ts +5 -1
- package/src/views/watermark_setting/index.vue +2 -2
- package/dist/ComponentSelect-Din5Vses.js +0 -2
- package/dist/DynamicRoutesForm-CkmCaHum.js +0 -4
- package/dist/HCheckList-Dd2Tx0jW.js +0 -2
- package/dist/ImportExport-BbZkZEW_.js +0 -4
- package/dist/MetaForm-CI-T2qEE.js +0 -284
- package/dist/MetaForm-CrsQmdOg.js +0 -4
- package/dist/OrgAndPosition-CDCim7yM.js +0 -2
- package/dist/ResourceEdit-BFXA953U.js +0 -309
- package/dist/ResourceEdit-V6gt22gW.js +0 -8
- package/dist/ResourceRelation-BnLQZey7.js +0 -3
- package/dist/RoleRelation-CAMzPMFz.js +0 -2
- package/dist/RoleSelector-DTnDRRTQ.js +0 -279
- package/dist/TenantEdit-DYHJehf0.js +0 -6
- package/dist/UserAuthorization-BdHxAQlK.js +0 -4
- package/dist/UserEdit-CqrRx717.js +0 -4
- package/dist/animation_item-COb6VI4T.js +0 -2
- package/dist/browserType-D2cPQa0k.js +0 -2
- package/dist/createAndEditDataPermission-6pvYsJo9.js +0 -8
- package/dist/drawerBlackWhiteList-DK4g_CpC.js +0 -3
- package/dist/drawerDictionary-DHIcxPrY.js +0 -4
- package/dist/drawerDictionaryItem-dg1sIDYE.js +0 -4
- package/dist/drawerGroup-CrF2c8UJ.js +0 -3
- package/dist/drawerOrganization-b39q3V33.js +0 -3
- package/dist/drawerPosition-BjoDy0cQ.js +0 -3
- package/dist/drawerRegion-omVT_dpq.js +0 -3
- package/dist/drawerRole-BaQBb2-J.js +0 -215
- package/dist/drawerRole-BqMh5l11.js +0 -5
- package/dist/drawerRole-D7VJRLmp.js +0 -6
- package/dist/drawerRole-dJ3m0_K2.js +0 -3
- package/dist/loginHistoryDetail-BNGtarOv.js +0 -4
- package/dist/not-data-uXybSS43.js +0 -2
- package/dist/operateHistoryDetail-DsM4L8Nz.js +0 -4
- package/dist/setItem-CjNn98dC.js +0 -77
- package/dist/setItem-H6NRNSt7.js +0 -5
- /package/dist/{HCheckList-3zLNVNr0.js → HCheckList-CmS0Zgjk.js} +0 -0
- /package/dist/{OrgAndPosition-BK5MTlOO.js → OrgAndPosition-DYxNkasL.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Bvl99pNT.js → _plugin-vue_export-helper-DziIhCOI.js} +0 -0
- /package/dist/{add-child-sIXCU5sL.js → add-child-BqjLtFNF.js} +0 -0
- /package/dist/{animation_item-D78koyTo.js → animation_item-Cg-CB3zX.js} +0 -0
- /package/dist/{authority-DQ4-SayE.js → authority-BCFCPQkb.js} +0 -0
- /package/dist/{authorize-CR54jxEa.js → authorize-BykMzt1r.js} +0 -0
- /package/dist/{blacklist-disable-ypFSVSX1.js → blacklist-disable-COoLZMSA.js} +0 -0
- /package/dist/{blacklist-enable-DlkD_15-.js → blacklist-enable-LZep1trj.js} +0 -0
- /package/dist/{browser-chrome-DNH4U6iO.js → browser-chrome-D0rex7Ir.js} +0 -0
- /package/dist/{browser-edge-4sSjlzO1.js → browser-edge-KCb_AIL5.js} +0 -0
- /package/dist/{browser-ie-yTwVV0GC.js → browser-ie-C1znjJM-.js} +0 -0
- /package/dist/{browser-other-Jax-vzDs.js → browser-other-C4er8PkV.js} +0 -0
- /package/dist/{browser-safari-B7PIezpj.js → browser-safari-BPRC1TV-.js} +0 -0
- /package/dist/{browserType-DZrDbVVY.js → browserType-E4RCiZfN.js} +0 -0
- /package/dist/{configData-CONUFxaH.js → configData-DQOHeFW2.js} +0 -0
- /package/dist/{dayjs.min-KffHrkDe.js → dayjs.min-DcxwBe2I.js} +0 -0
- /package/dist/{edit-CCL7qbDV.js → edit-C9HH0bNg.js} +0 -0
- /package/dist/{enum-DUjQrWbG.js → enum-B1DCzyaW.js} +0 -0
- /package/dist/{enum-CUMv4gQ2.js → enum-BWzxzuim.js} +0 -0
- /package/dist/{enum-B-lkiBy0.js → enum-CYW8g64p.js} +0 -0
- /package/dist/{enum-BMY6bmPA.js → enum-D0U38jb6.js} +0 -0
- /package/dist/{enum-Bg70i-vM.js → enum-VH4_jOj5.js} +0 -0
- /package/dist/{icard-BUuV9yW4.js → icard-FW0Ro50-.js} +0 -0
- /package/dist/{icon_animation-rPC0qi0K.js → icon_animation-DuNUKCIP.js} +0 -0
- /package/dist/{icon_breadcrumb-BOiEdwRY.js → icon_breadcrumb-DrPNYW5B.js} +0 -0
- /package/dist/{icon_copyright-zk1pF8Jj.js → icon_copyright-Di3Yr0PZ.js} +0 -0
- /package/dist/{icon_jt-BMoQoZvf.js → icon_jt-C4rQLl9Y.js} +0 -0
- /package/dist/{icon_layout-KBHA8xU_.js → icon_layout-5L9E7uN2.js} +0 -0
- /package/dist/{icon_mainpage-BTdCCyi2.js → icon_mainpage-DMKqRgmE.js} +0 -0
- /package/dist/{icon_menu-5k8XiWt5.js → icon_menu-Cp7-Zght.js} +0 -0
- /package/dist/{icon_page_size-DUMZ6xhJ.js → icon_page_size-Dc0zqT2W.js} +0 -0
- /package/dist/{icon_position_type-Cnkn2IzO.js → icon_position_type-DH2qxQQE.js} +0 -0
- /package/dist/{icon_safe_manage-B0PtL90p.js → icon_safe_manage-DXYWl1y-.js} +0 -0
- /package/dist/{icon_screen_scale-CwVhfflc.js → icon_screen_scale-DwC6qqx2.js} +0 -0
- /package/dist/{icon_system_manage-vM71UmjM.js → icon_system_manage-BYTldLly.js} +0 -0
- /package/dist/{icon_tabbar-CuMnIey0.js → icon_tabbar-CxffARwI.js} +0 -0
- /package/dist/{icon_toolbar-BoCbAU3P.js → icon_toolbar-CsxnTrNJ.js} +0 -0
- /package/dist/{icon_topbar-DGIDBcE6.js → icon_topbar-DS-oEZFA.js} +0 -0
- /package/dist/{icon_watermark-BBU-lOdN.js → icon_watermark-DDXsHlfQ.js} +0 -0
- /package/dist/{log-center-Z3WDfhg1.js → log-center-BFjZ4IE1.js} +0 -0
- /package/dist/{log-BgIwPjNu.js → log-hgUXTuhy.js} +0 -0
- /package/dist/{not-data-DejN9beo.js → not-data-Bw8FlpyB.js} +0 -0
- /package/dist/{org-main-C2g7AMMY.js → org-main-D5Isevbc.js} +0 -0
- /package/dist/{org-unmain-CjGtvuIa.js → org-unmain-BHBqSuCz.js} +0 -0
- /package/dist/{remove-BroXCqy9.js → remove-DKMMsJNq.js} +0 -0
- /package/dist/{resource-app-DV2RZiRk.js → resource-app-DZwdNG6F.js} +0 -0
- /package/dist/{resource-btn-Dw9-L0P5.js → resource-btn-DPX0oM2L.js} +0 -0
- /package/dist/{resource-dynamic-Cmk2ihZb.js → resource-dynamic-Cb_vjMjt.js} +0 -0
- /package/dist/{resource-index-D9J-wVCc.js → resource-index-ah4NpEob.js} +0 -0
- /package/dist/{resource-menu-XnlgciPe.js → resource-menu-CzWI03EU.js} +0 -0
- /package/dist/{resource-micro-DzYCcl5c.js → resource-micro-Ca0NS7j_.js} +0 -0
- /package/dist/{resource-nonmenu-8bXZBBWf.js → resource-nonmenu-Deitjo_5.js} +0 -0
- /package/dist/{setting-manage-BPwzU94V.js → setting-manage-B3vaM0w1.js} +0 -0
- /package/dist/{stores-Di6SQ3pp.js → stores-D6JJmBEU.js} +0 -0
- /package/dist/{theme-check-mark-Dz4lGIXE.js → theme-check-mark-BK7E8lqd.js} +0 -0
- /package/dist/{theme-title-CPXdAbpI.js → theme-title-aqbHq846.js} +0 -0
- /package/dist/{view-D4SR4EYn.js → view-C6Eo1zRL.js} +0 -0
- /package/dist/{zddata-Cdy8vScr.js → zddata-fjEtQ3lZ.js} +0 -0
- /package/dist/{zy_checked-xjGWlIXf.js → zy_checked-DTsDCC94.js} +0 -0
- /package/dist/{zy_default-kwFuicHB.js → zy_default-BaIuMKw-.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.bar-header[data-v-
|
|
1
|
+
.bar-header[data-v-d284d1a3]{background:var(--g-bg)}
|
|
@@ -50,8 +50,8 @@ declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5
|
|
|
50
50
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
51
51
|
}>, {
|
|
52
52
|
filter: (node: any) => boolean;
|
|
53
|
-
multiple: boolean;
|
|
54
53
|
title: string;
|
|
54
|
+
multiple: boolean;
|
|
55
55
|
apis: ReturnType<typeof useOrgAPIs>;
|
|
56
56
|
tabs: Array<{
|
|
57
57
|
value: string;
|
|
@@ -52,8 +52,8 @@ declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5
|
|
|
52
52
|
"onUpdate:modelValue"?: ((value: ModelValue[]) => any) | undefined;
|
|
53
53
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
multiple: boolean;
|
|
56
55
|
title: string;
|
|
56
|
+
multiple: boolean;
|
|
57
57
|
apis: ReturnType<typeof useUserAPIs> & Pick<ReturnType<typeof useOrgAPIs>, "orgTree" | "orgList">;
|
|
58
58
|
tabs: Array<{
|
|
59
59
|
value: string;
|
|
@@ -18,7 +18,7 @@ declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typ
|
|
|
18
18
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
mode: ResourceMode;
|
|
22
21
|
title: string;
|
|
22
|
+
mode: ResourceMode;
|
|
23
23
|
}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
2
|
+
import "./enum-BWzxzuim.js";
|
|
3
|
+
import { b as e } from "./createAndEditDataPermission-DnAcKvaE.js";
|
|
4
|
+
import "./enum-B1DCzyaW.js";
|
|
5
|
+
import "./useAppAndResource-CeMCjg2v.js";
|
|
6
|
+
import "./ResourceSelector-ConJ30Jd.js";
|
|
7
|
+
import "./enum-CYW8g64p.js";
|
|
8
|
+
export { e as default };
|
package/dist/{createAndEditDataPermission-Bd3tlIEE.js → createAndEditDataPermission-DnAcKvaE.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { O as e, OrgSelector as t, R as n, S as r, ai as i, am as a } from "./index.js";
|
|
2
|
-
import { b as o } from "./_plugin-vue_export-helper-
|
|
3
|
-
import { c as s } from "./enum-
|
|
4
|
-
import { b as c } from "./enum-
|
|
5
|
-
import { b as l } from "./useAppAndResource-
|
|
6
|
-
import { b as u } from "./ResourceSelector-
|
|
7
|
-
import { c as d, e as f } from "./enum-
|
|
2
|
+
import { b as o } from "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
3
|
+
import { c as s } from "./enum-BWzxzuim.js";
|
|
4
|
+
import { b as c } from "./enum-B1DCzyaW.js";
|
|
5
|
+
import { b as l } from "./useAppAndResource-CeMCjg2v.js";
|
|
6
|
+
import { b as u } from "./ResourceSelector-ConJ30Jd.js";
|
|
7
|
+
import { c as d, e as f } from "./enum-CYW8g64p.js";
|
|
8
8
|
import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, isRef as S, mergeModels as C, openBlock as w, ref as T, renderList as E, resolveComponent as D, toDisplayString as O, unref as k, useModel as ee, withCtx as A } from "vue";
|
|
9
9
|
import { message as j } from "ant-design-vue";
|
|
10
|
-
import { Button as te, CheckboxGroup as M, Drawer as N, Form as P, FormItem as F, Input as I, Modal as ne, Select as
|
|
10
|
+
import { Button as te, CheckboxGroup as M, Drawer as N, Form as P, FormItem as F, Input as I, Modal as ne, Select as re, Space as ie, TabPane as L, Tabs as ae, Tag as R, Tooltip as oe } from "ant-design-vue/es";
|
|
11
11
|
import './createAndEditDataPermission.css';const se = { class: "h-340px border-1px border-solid flex flex-row border_color" }, z = { class: "w-360px" }, B = { class: "flex-1 flex flex-col border-solid border-0px border-l-1px border_color" }, V = { class: "flex-1 p-10px overflow-auto" };
|
|
12
12
|
var H = /* @__PURE__ */ x({
|
|
13
13
|
name: "GroupSelector",
|
|
@@ -21,12 +21,12 @@ var H = /* @__PURE__ */ x({
|
|
|
21
21
|
let r = n, o = T("OrgGroup"), c = m(() => o.value === "OrgGroup"), l = T([]), u = T([]), d = T([]), f = T([]), g = m(() => {
|
|
22
22
|
let e = c.value ? l : u, t = c.value ? d : f;
|
|
23
23
|
return e.value.filter((e) => t.value.includes(e.value));
|
|
24
|
-
}), x = ee(e, "open"),
|
|
25
|
-
|
|
26
|
-
function
|
|
27
|
-
|
|
24
|
+
}), x = ee(e, "open"), S = a(x);
|
|
25
|
+
C();
|
|
26
|
+
function C() {
|
|
27
|
+
D(s.ORG), D(s.PER);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function D(e) {
|
|
30
30
|
i({ type: e }).then((t) => {
|
|
31
31
|
if (t && t.data && t.data.length) {
|
|
32
32
|
let n = t.data.map((e) => {
|
|
@@ -42,31 +42,31 @@ var H = /* @__PURE__ */ x({
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function j(e) {
|
|
46
46
|
if (e && e.length) {
|
|
47
47
|
let t = e.map((e) => e.value);
|
|
48
48
|
c.value ? d.value = t : f.value = t;
|
|
49
49
|
} else d.value = [], f.value = [];
|
|
50
|
-
|
|
50
|
+
S(!0);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
c.value ?
|
|
52
|
+
function N() {
|
|
53
|
+
c.value ? P() : F();
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function P() {
|
|
56
56
|
d.value = [];
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function F() {
|
|
59
59
|
f.value = [];
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function I(e) {
|
|
62
62
|
let t = c.value ? d : f, n = t.value.findIndex((t) => t === e);
|
|
63
63
|
n !== -1 && t.value.splice(n, 1);
|
|
64
64
|
}
|
|
65
65
|
function re() {
|
|
66
|
-
r("select", g.value),
|
|
66
|
+
r("select", g.value), S(!1);
|
|
67
67
|
}
|
|
68
|
-
return t({ open:
|
|
69
|
-
let n = M, r =
|
|
68
|
+
return t({ open: j }), (e, t) => {
|
|
69
|
+
let n = M, r = L, i = ae, a = R, s = oe, c = te, m = ne;
|
|
70
70
|
return w(), h(m, {
|
|
71
71
|
open: x.value,
|
|
72
72
|
"onUpdate:open": t[4] ||= (e) => x.value = e,
|
|
@@ -75,7 +75,7 @@ var H = /* @__PURE__ */ x({
|
|
|
75
75
|
"mask-closable": !1,
|
|
76
76
|
width: 750
|
|
77
77
|
}, {
|
|
78
|
-
footer: A(() => [b(c, { onClick: t[3] ||= (e) => k(
|
|
78
|
+
footer: A(() => [b(c, { onClick: t[3] ||= (e) => k(S)(!1) }, {
|
|
79
79
|
default: A(() => t[6] ||= [y(" 取消 ")]),
|
|
80
80
|
_: 1,
|
|
81
81
|
__: [6]
|
|
@@ -88,8 +88,8 @@ var H = /* @__PURE__ */ x({
|
|
|
88
88
|
__: [7]
|
|
89
89
|
})]),
|
|
90
90
|
default: A(() => [v("div", se, [v("div", z, [b(i, {
|
|
91
|
-
"active-key":
|
|
92
|
-
"onUpdate:activeKey": t[2] ||= (e) =>
|
|
91
|
+
"active-key": o.value,
|
|
92
|
+
"onUpdate:activeKey": t[2] ||= (e) => o.value = e,
|
|
93
93
|
class: "h-full overflow-hidden"
|
|
94
94
|
}, {
|
|
95
95
|
default: A(() => [b(r, {
|
|
@@ -97,9 +97,9 @@ var H = /* @__PURE__ */ x({
|
|
|
97
97
|
tab: "组织群组"
|
|
98
98
|
}, {
|
|
99
99
|
default: A(() => [b(n, {
|
|
100
|
-
value:
|
|
101
|
-
"onUpdate:value": t[0] ||= (e) =>
|
|
102
|
-
options:
|
|
100
|
+
value: d.value,
|
|
101
|
+
"onUpdate:value": t[0] ||= (e) => d.value = e,
|
|
102
|
+
options: l.value
|
|
103
103
|
}, null, 8, ["value", "options"])]),
|
|
104
104
|
_: 1
|
|
105
105
|
}), b(r, {
|
|
@@ -108,17 +108,17 @@ var H = /* @__PURE__ */ x({
|
|
|
108
108
|
"force-render": ""
|
|
109
109
|
}, {
|
|
110
110
|
default: A(() => [b(n, {
|
|
111
|
-
value:
|
|
112
|
-
"onUpdate:value": t[1] ||= (e) =>
|
|
113
|
-
options:
|
|
111
|
+
value: f.value,
|
|
112
|
+
"onUpdate:value": t[1] ||= (e) => f.value = e,
|
|
113
|
+
options: u.value
|
|
114
114
|
}, null, 8, ["value", "options"])]),
|
|
115
115
|
_: 1
|
|
116
116
|
})]),
|
|
117
117
|
_: 1
|
|
118
118
|
}, 8, ["active-key"])]), v("div", B, [v("div", { class: "w-full h-38px bg-[rgb(245,245,245)] flex px-15px items-center justify-between text-[#1D2129] dark:bg-[#000] dark:text-[#F2F3F5]" }, [t[5] ||= v("div", { class: "" }, " 已选群组 ", -1), v("div", {
|
|
119
119
|
class: "cursor-pointer text-[#165DFF]",
|
|
120
|
-
onClick:
|
|
121
|
-
}, " 清空 ")]), v("div", V, [(w(!0), _(p, null, E(
|
|
120
|
+
onClick: N
|
|
121
|
+
}, " 清空 ")]), v("div", V, [(w(!0), _(p, null, E(g.value, (e) => (w(), _("div", {
|
|
122
122
|
key: e.value,
|
|
123
123
|
class: "inline-block mb-6px max-w-300px"
|
|
124
124
|
}, [e.name && e.name.length > 20 ? (w(), h(s, {
|
|
@@ -128,7 +128,7 @@ var H = /* @__PURE__ */ x({
|
|
|
128
128
|
default: A(() => [b(a, {
|
|
129
129
|
class: "custom_tag bg-[#e8f3ff] dark:bg-[#141414]",
|
|
130
130
|
closable: "",
|
|
131
|
-
onClose: (t) =>
|
|
131
|
+
onClose: (t) => I(e.value)
|
|
132
132
|
}, {
|
|
133
133
|
default: A(() => [y(O(e.label), 1)]),
|
|
134
134
|
_: 2
|
|
@@ -138,7 +138,7 @@ var H = /* @__PURE__ */ x({
|
|
|
138
138
|
key: 1,
|
|
139
139
|
class: "custom_tag bg-[#e8f3ff] dark:bg-[#141414]",
|
|
140
140
|
closable: "",
|
|
141
|
-
onClose: (t) =>
|
|
141
|
+
onClose: (t) => I(e.value)
|
|
142
142
|
}, {
|
|
143
143
|
default: A(() => [y(O(e.label), 1)]),
|
|
144
144
|
_: 2
|
|
@@ -147,7 +147,7 @@ var H = /* @__PURE__ */ x({
|
|
|
147
147
|
}, 8, ["open"]);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
|
-
}), ce = /* @__PURE__ */ o(H, [["__scopeId", "data-v-
|
|
150
|
+
}), ce = /* @__PURE__ */ o(H, [["__scopeId", "data-v-042b0123"]]);
|
|
151
151
|
const le = { class: "pt-10px" }, ue = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, de = {
|
|
152
152
|
key: 1,
|
|
153
153
|
class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
|
|
@@ -163,7 +163,7 @@ var U = /* @__PURE__ */ x({
|
|
|
163
163
|
__name: "createAndEditDataPermission",
|
|
164
164
|
emits: ["submit"],
|
|
165
165
|
setup(i, { expose: o, emit: s }) {
|
|
166
|
-
let x = s, C = c.DATA_PERMISSION, { appList: D, resourceModelRef: ee, selectedResources: M, getAppList: ne, updateTreeDataAndResourceMap:
|
|
166
|
+
let x = s, C = c.DATA_PERMISSION, { appList: D, resourceModelRef: ee, selectedResources: M, getAppList: ne, updateTreeDataAndResourceMap: L, setSelectedResources: ae, updateSelectedResources: R, clearSelectedResources: se, openResourceModel: z } = l(C), B = T(""), V = {
|
|
167
167
|
name: "",
|
|
168
168
|
type: "",
|
|
169
169
|
appId: "",
|
|
@@ -227,13 +227,13 @@ var U = /* @__PURE__ */ x({
|
|
|
227
227
|
name: e.name,
|
|
228
228
|
value: e.id,
|
|
229
229
|
label: e.name && e.name.length > 20 ? e.name.slice(0, 20) : e.name
|
|
230
|
-
}))), await
|
|
230
|
+
}))), await L(W.value.appId), W.value.resourceIds && R(W.value.resourceIds);
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
Y(!0);
|
|
234
234
|
}
|
|
235
235
|
function ye(e) {
|
|
236
|
-
W.value.resourceIds = [], M.value = [], e &&
|
|
236
|
+
W.value.resourceIds = [], M.value = [], e && L(e);
|
|
237
237
|
}
|
|
238
238
|
function be() {
|
|
239
239
|
H.value?.validateFields(["appId"]).then(() => {
|
|
@@ -241,7 +241,7 @@ var U = /* @__PURE__ */ x({
|
|
|
241
241
|
}).catch(() => {});
|
|
242
242
|
}
|
|
243
243
|
function xe(e) {
|
|
244
|
-
|
|
244
|
+
ae(e), e && e.length ? (W.value.resourceIds = e.map((e) => e.id), H.value?.clearValidate(["resourceIds"])) : W.value.resourceIds = [];
|
|
245
245
|
}
|
|
246
246
|
function Se() {
|
|
247
247
|
X.value && X.value.open();
|
|
@@ -275,11 +275,11 @@ var U = /* @__PURE__ */ x({
|
|
|
275
275
|
Y(!1);
|
|
276
276
|
}
|
|
277
277
|
return o({ open: ve }), (e, n) => {
|
|
278
|
-
let r = I, i = F, a =
|
|
278
|
+
let r = I, i = F, a = re, o = te, s = oe, c = P, l = ie, d = N;
|
|
279
279
|
return w(), h(d, {
|
|
280
280
|
open: k(J),
|
|
281
281
|
"onUpdate:open": n[4] ||= (e) => S(J) ? J.value = e : null,
|
|
282
|
-
title: `${
|
|
282
|
+
title: `${B.value}数据权限`,
|
|
283
283
|
placement: "right",
|
|
284
284
|
width: 600,
|
|
285
285
|
"destroy-on-close": "",
|
|
@@ -306,7 +306,7 @@ var U = /* @__PURE__ */ x({
|
|
|
306
306
|
b(c, {
|
|
307
307
|
ref_key: "formRef",
|
|
308
308
|
ref: H,
|
|
309
|
-
model:
|
|
309
|
+
model: W.value,
|
|
310
310
|
rules: U,
|
|
311
311
|
"label-col": { span: 6 }
|
|
312
312
|
}, {
|
|
@@ -316,8 +316,8 @@ var U = /* @__PURE__ */ x({
|
|
|
316
316
|
name: "name"
|
|
317
317
|
}, {
|
|
318
318
|
default: A(() => [b(r, {
|
|
319
|
-
value:
|
|
320
|
-
"onUpdate:value": n[0] ||= (e) =>
|
|
319
|
+
value: W.value.name,
|
|
320
|
+
"onUpdate:value": n[0] ||= (e) => W.value.name = e,
|
|
321
321
|
maxlength: 20
|
|
322
322
|
}, null, 8, ["value"])]),
|
|
323
323
|
_: 1
|
|
@@ -327,8 +327,8 @@ var U = /* @__PURE__ */ x({
|
|
|
327
327
|
name: "type"
|
|
328
328
|
}, {
|
|
329
329
|
default: A(() => [b(a, {
|
|
330
|
-
value:
|
|
331
|
-
"onUpdate:value": n[1] ||= (e) =>
|
|
330
|
+
value: W.value.type,
|
|
331
|
+
"onUpdate:value": n[1] ||= (e) => W.value.type = e,
|
|
332
332
|
options: k(f),
|
|
333
333
|
placeholder: "请选择"
|
|
334
334
|
}, null, 8, ["value", "options"])]),
|
|
@@ -339,9 +339,9 @@ var U = /* @__PURE__ */ x({
|
|
|
339
339
|
name: "appId"
|
|
340
340
|
}, {
|
|
341
341
|
default: A(() => [b(a, {
|
|
342
|
-
value:
|
|
343
|
-
"onUpdate:value": n[2] ||= (e) =>
|
|
344
|
-
disabled:
|
|
342
|
+
value: W.value.appId,
|
|
343
|
+
"onUpdate:value": n[2] ||= (e) => W.value.appId = e,
|
|
344
|
+
disabled: q.value,
|
|
345
345
|
options: k(D),
|
|
346
346
|
onChange: ye
|
|
347
347
|
}, null, 8, [
|
|
@@ -371,7 +371,7 @@ var U = /* @__PURE__ */ x({
|
|
|
371
371
|
}, 1032, ["title"])) : (w(), _("span", de, O(e.name), 1))], 64))), 128))])]),
|
|
372
372
|
_: 1
|
|
373
373
|
}),
|
|
374
|
-
|
|
374
|
+
G.value ? (w(), h(i, {
|
|
375
375
|
key: 0,
|
|
376
376
|
label: "所属部门",
|
|
377
377
|
name: "orgIds"
|
|
@@ -383,7 +383,7 @@ var U = /* @__PURE__ */ x({
|
|
|
383
383
|
default: A(() => n[6] ||= [y(" 编辑部门 ")]),
|
|
384
384
|
_: 1,
|
|
385
385
|
__: [6]
|
|
386
|
-
}), v("div", fe, [(w(!0), _(p, null, E(
|
|
386
|
+
}), v("div", fe, [(w(!0), _(p, null, E(Z.value, (e) => (w(), _(p, { key: e }, [e.orgName && e.orgName.length > 20 ? (w(), h(s, {
|
|
387
387
|
key: 0,
|
|
388
388
|
title: e.orgName
|
|
389
389
|
}, {
|
|
@@ -392,7 +392,7 @@ var U = /* @__PURE__ */ x({
|
|
|
392
392
|
}, 1032, ["title"])) : (w(), _("span", me, O(e.orgName), 1))], 64))), 128))])]),
|
|
393
393
|
_: 1
|
|
394
394
|
})) : g("v-if", !0),
|
|
395
|
-
|
|
395
|
+
K.value ? (w(), h(i, {
|
|
396
396
|
key: 1,
|
|
397
397
|
label: "所属群组",
|
|
398
398
|
name: "groupIds"
|
|
@@ -404,7 +404,7 @@ var U = /* @__PURE__ */ x({
|
|
|
404
404
|
default: A(() => n[7] ||= [y(" 编辑群组 ")]),
|
|
405
405
|
_: 1,
|
|
406
406
|
__: [7]
|
|
407
|
-
}), v("div", he, [(w(!0), _(p, null, E(
|
|
407
|
+
}), v("div", he, [(w(!0), _(p, null, E($.value, (e) => (w(), _(p, { key: e }, [e.name && e.name.length > 20 ? (w(), h(s, {
|
|
408
408
|
key: 0,
|
|
409
409
|
title: e.name
|
|
410
410
|
}, {
|
|
@@ -419,7 +419,7 @@ var U = /* @__PURE__ */ x({
|
|
|
419
419
|
b(t, {
|
|
420
420
|
ref_key: "orgRef",
|
|
421
421
|
ref: X,
|
|
422
|
-
"model-value":
|
|
422
|
+
"model-value": Z.value,
|
|
423
423
|
multiple: "",
|
|
424
424
|
onSubmit: Ee
|
|
425
425
|
}, null, 8, ["model-value"]),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.group-modal .ant-tabs-content-holder{padding:0 1rem .5rem;overflow:auto}.group-modal .ant-tabs-nav:before{display:none}.group-modal .ant-tabs-nav-wrap{background:#f5f5f5;height:38px}.group-modal .ant-tabs-tab{margin:0;padding:0 .75rem}.group-modal .ant-tabs-tab+.ant-tabs-tab{margin-left:0!important}.group-modal .ant-tabs-tab-active{background:#fff}.group-modal .ant-checkbox-group{display:block}.group-modal .ant-checkbox-wrapper{margin-bottom:.5rem;display:flex}.group-modal .ant-tabs-ink-bar{display:none}.dark .group-modal .ant-tabs-nav-wrap{--un-text-opacity:1;color:rgb(242 243 245/var(--un-text-opacity));background:#000}.dark .group-modal .ant-tabs-tab-active{background:#141414}.group-modal[data-v-
|
|
1
|
+
.group-modal .ant-tabs-content-holder{padding:0 1rem .5rem;overflow:auto}.group-modal .ant-tabs-nav:before{display:none}.group-modal .ant-tabs-nav-wrap{background:#f5f5f5;height:38px}.group-modal .ant-tabs-tab{margin:0;padding:0 .75rem}.group-modal .ant-tabs-tab+.ant-tabs-tab{margin-left:0!important}.group-modal .ant-tabs-tab-active{background:#fff}.group-modal .ant-checkbox-group{display:block}.group-modal .ant-checkbox-wrapper{margin-bottom:.5rem;display:flex}.group-modal .ant-tabs-ink-bar{display:none}.dark .group-modal .ant-tabs-nav-wrap{--un-text-opacity:1;color:rgb(242 243 245/var(--un-text-opacity));background:#000}.dark .group-modal .ant-tabs-tab-active{background:#141414}.group-modal[data-v-042b0123] .ant-modal-content{border-radius:0;padding:0}.group-modal[data-v-042b0123] .ant-modal-header{--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-width:1px;border-bottom-color:rgb(229 230 235/var(--un-border-bottom-opacity));border-style:solid;margin-bottom:0;padding:.75rem 1rem}.group-modal[data-v-042b0123] .ant-modal-title{--un-text-opacity:1;color:rgb(29 33 41/var(--un-text-opacity));font-size:1rem;font-weight:500;line-height:1}.group-modal[data-v-042b0123] .ant-modal-body{padding:1rem}.group-modal[data-v-042b0123] .ant-modal-footer{--un-border-opacity:1;--un-border-top-opacity:var(--un-border-opacity);border-top-width:1px;border-top-color:rgb(229 230 235/var(--un-border-top-opacity));border-style:solid;padding:1rem}.group-modal[data-v-042b0123] .ant-modal-footer .ant-btn{border-radius:.125rem}[data-v-042b0123] .ant-tree-checkbox{margin-block-start:0;margin-inline-end:2px}[data-v-042b0123] .ant-tree-checkbox+span .ant-tree-iconEle{margin-right:.25rem}.custom_tag[data-v-042b0123]{border-width:0;border-radius:.125rem;padding:3px .5rem}.custom_tag[data-v-042b0123] .ant-tag-close-icon{--un-text-opacity:.6;color:rgb(22 93 255/var(--un-text-opacity))}.custom_tag[data-v-042b0123] .ant-tag-close-icon:hover{--un-text-opacity:1;color:rgb(22 93 255/var(--un-text-opacity))}.border_color[data-v-042b0123]{--un-border-opacity:1;border-color:rgb(229 230 235/var(--un-border-opacity))}[data-theme=dark] .border_color[data-v-042b0123]{--un-border-opacity:.12;border-color:rgb(253 253 253/var(--un-border-opacity))}.border_c[data-v-042b0123]{--un-border-opacity:1;border-width:1px;border-color:rgb(204 204 204/var(--un-border-opacity));border-style:dashed;border-radius:10px}[data-v-042b0123] .ant-dropdown-link{--un-scale-x:.7;--un-scale-y:.7;transform:translateX(var(--un-translate-x))translateY(var(--un-translate-y))translateZ(var(--un-translate-z))rotate(var(--un-rotate))rotateX(var(--un-rotate-x))rotateY(var(--un-rotate-y))rotateZ(var(--un-rotate-z))skewX(var(--un-skew-x))skewY(var(--un-skew-y))scaleX(var(--un-scale-x))scaleY(var(--un-scale-y))scaleZ(var(--un-scale-z));border-radius:.125rem;padding:.25rem .375rem;font-size:.75rem;line-height:1rem}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { M as e, Q as t, am as n } from "./index.js";
|
|
2
|
-
import { b as r } from "./_plugin-vue_export-helper-
|
|
3
|
-
import "./enum-
|
|
4
|
-
import { b as i } from "./createAndEditDataPermission-
|
|
5
|
-
import "./enum-
|
|
6
|
-
import "./useAppAndResource-
|
|
7
|
-
import "./ResourceSelector-
|
|
8
|
-
import { b as a, e as o, f as s } from "./enum-
|
|
2
|
+
import { b as r } from "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
3
|
+
import "./enum-BWzxzuim.js";
|
|
4
|
+
import { b as i } from "./createAndEditDataPermission-DnAcKvaE.js";
|
|
5
|
+
import "./enum-B1DCzyaW.js";
|
|
6
|
+
import "./useAppAndResource-CeMCjg2v.js";
|
|
7
|
+
import "./ResourceSelector-ConJ30Jd.js";
|
|
8
|
+
import { b as a, e as o, f as s } from "./enum-CYW8g64p.js";
|
|
9
9
|
import { PubinfoIcon as c } from "pubinfo";
|
|
10
10
|
import { createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, openBlock as g, ref as _, resolveDirective as v, toDisplayString as y, unref as b, withCtx as x, withDirectives as S } from "vue";
|
|
11
11
|
import { PlusCircleOutlined as C } from "@ant-design/icons-vue";
|
|
@@ -152,5 +152,5 @@ var F = /* @__PURE__ */ h({
|
|
|
152
152
|
}, null, 512)]);
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
}), I = /* @__PURE__ */ r(F, [["__scopeId", "data-v-
|
|
155
|
+
}), I = /* @__PURE__ */ r(F, [["__scopeId", "data-v-a4db1955"]]);
|
|
156
156
|
export { I as default };
|
package/dist/data-permission.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.page-data-permission[data-v-
|
|
1
|
+
.page-data-permission[data-v-a4db1955] .ant-card.pro-table{border-top-left-radius:0;border-top-right-radius:0}.page-data-permission[data-v-a4db1955] .ant-form-item-label{width:102px!important}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as e, g as t } from "./configData-
|
|
2
|
-
import { b as n } from "./enum-
|
|
3
|
-
import { b as r } from "./drawerDictionary-
|
|
1
|
+
import { c as e, g as t } from "./configData-DQOHeFW2.js";
|
|
2
|
+
import { b as n } from "./enum-VH4_jOj5.js";
|
|
3
|
+
import { b as r } from "./drawerDictionary-BUBLrbTi.js";
|
|
4
4
|
import { PubinfoIcon as i, useAuth as a } from "pubinfo";
|
|
5
5
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
6
6
|
import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { am as e } from "./index.js";
|
|
2
|
-
import { m as t, o as n } from "./configData-
|
|
2
|
+
import { m as t, o as n } from "./configData-DQOHeFW2.js";
|
|
3
3
|
import { createBlock as r, createTextVNode as i, createVNode as a, defineComponent as o, isRef as s, openBlock as c, ref as l, resolveComponent as u, unref as d, withCtx as f } from "vue";
|
|
4
4
|
import { message as p } from "ant-design-vue";
|
|
5
5
|
import { Button as m, Drawer as h, Form as g, FormItem as _, Input as v, Space as y, Switch as b, Textarea as x } from "ant-design-vue/es";
|
|
@@ -49,7 +49,7 @@ var S = /* @__PURE__ */ o({
|
|
|
49
49
|
return c(), r(w, {
|
|
50
50
|
open: d(D),
|
|
51
51
|
"onUpdate:open": t[4] ||= (e) => s(D) ? D.value = e : null,
|
|
52
|
-
title: `${
|
|
52
|
+
title: `${E.value}信息`,
|
|
53
53
|
placement: "right",
|
|
54
54
|
width: 600,
|
|
55
55
|
"destroy-on-close": "",
|
|
@@ -75,7 +75,7 @@ var S = /* @__PURE__ */ o({
|
|
|
75
75
|
default: f(() => [a(p, {
|
|
76
76
|
ref_key: "formRef",
|
|
77
77
|
ref: k,
|
|
78
|
-
model:
|
|
78
|
+
model: j.value,
|
|
79
79
|
rules: T,
|
|
80
80
|
"label-col": { span: 4 }
|
|
81
81
|
}, {
|
|
@@ -85,8 +85,8 @@ var S = /* @__PURE__ */ o({
|
|
|
85
85
|
name: "ip"
|
|
86
86
|
}, {
|
|
87
87
|
default: f(() => [a(n, {
|
|
88
|
-
value:
|
|
89
|
-
"onUpdate:value": t[0] ||= (e) =>
|
|
88
|
+
value: j.value.ip,
|
|
89
|
+
"onUpdate:value": t[0] ||= (e) => j.value.ip = e,
|
|
90
90
|
maxlength: 20
|
|
91
91
|
}, null, 8, ["value"])]),
|
|
92
92
|
_: 1
|
|
@@ -96,8 +96,8 @@ var S = /* @__PURE__ */ o({
|
|
|
96
96
|
name: "enable"
|
|
97
97
|
}, {
|
|
98
98
|
default: f(() => [a(l, {
|
|
99
|
-
checked:
|
|
100
|
-
"onUpdate:checked": t[1] ||= (e) =>
|
|
99
|
+
checked: j.value.enable,
|
|
100
|
+
"onUpdate:checked": t[1] ||= (e) => j.value.enable = e
|
|
101
101
|
}, null, 8, ["checked"])]),
|
|
102
102
|
_: 1
|
|
103
103
|
}),
|
|
@@ -106,8 +106,8 @@ var S = /* @__PURE__ */ o({
|
|
|
106
106
|
name: "description"
|
|
107
107
|
}, {
|
|
108
108
|
default: f(() => [a(u, {
|
|
109
|
-
value:
|
|
110
|
-
"onUpdate:value": t[2] ||= (e) =>
|
|
109
|
+
value: j.value.description,
|
|
110
|
+
"onUpdate:value": t[2] ||= (e) => j.value.description = e,
|
|
111
111
|
rows: 3,
|
|
112
112
|
"show-count": "",
|
|
113
113
|
maxlength: 200
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { am as e } from "./index.js";
|
|
2
|
-
import { h as t } from "./configData-
|
|
3
|
-
import { b as n } from "./enum-
|
|
2
|
+
import { h as t } from "./configData-DQOHeFW2.js";
|
|
3
|
+
import { b as n } from "./enum-VH4_jOj5.js";
|
|
4
4
|
import { createBlock as r, createTextVNode as i, createVNode as a, defineComponent as o, isRef as s, openBlock as c, reactive as l, ref as u, resolveComponent as d, unref as f, withCtx as p } from "vue";
|
|
5
5
|
import { message as m } from "ant-design-vue";
|
|
6
6
|
import { Button as h, Drawer as g, Form as _, FormItem as v, Input as y, InputNumber as b, Space as x, Textarea as S } from "ant-design-vue/es";
|
|
@@ -42,7 +42,7 @@ var C = /* @__PURE__ */ o({
|
|
|
42
42
|
return c(), r(O, {
|
|
43
43
|
open: f(D),
|
|
44
44
|
"onUpdate:open": t[5] ||= (e) => s(D) ? D.value = e : null,
|
|
45
|
-
title: `${
|
|
45
|
+
title: `${E.title}类型`,
|
|
46
46
|
placement: "right",
|
|
47
47
|
width: 520,
|
|
48
48
|
"destroy-on-close": "",
|
|
@@ -68,7 +68,7 @@ var C = /* @__PURE__ */ o({
|
|
|
68
68
|
default: p(() => [a(m, {
|
|
69
69
|
ref_key: "formRef",
|
|
70
70
|
ref: k,
|
|
71
|
-
model:
|
|
71
|
+
model: A.value,
|
|
72
72
|
rules: T,
|
|
73
73
|
"label-col": { span: 4 }
|
|
74
74
|
}, {
|
|
@@ -78,8 +78,8 @@ var C = /* @__PURE__ */ o({
|
|
|
78
78
|
name: "name"
|
|
79
79
|
}, {
|
|
80
80
|
default: p(() => [a(o, {
|
|
81
|
-
value:
|
|
82
|
-
"onUpdate:value": t[0] ||= (e) =>
|
|
81
|
+
value: A.value.name,
|
|
82
|
+
"onUpdate:value": t[0] ||= (e) => A.value.name = e,
|
|
83
83
|
maxlength: 30
|
|
84
84
|
}, null, 8, ["value"])]),
|
|
85
85
|
_: 1
|
|
@@ -89,10 +89,10 @@ var C = /* @__PURE__ */ o({
|
|
|
89
89
|
name: "code"
|
|
90
90
|
}, {
|
|
91
91
|
default: p(() => [a(o, {
|
|
92
|
-
value:
|
|
93
|
-
"onUpdate:value": t[1] ||= (e) =>
|
|
92
|
+
value: A.value.code,
|
|
93
|
+
"onUpdate:value": t[1] ||= (e) => A.value.code = e,
|
|
94
94
|
maxlength: 30,
|
|
95
|
-
disabled:
|
|
95
|
+
disabled: E.title === f(n).EDIT
|
|
96
96
|
}, null, 8, ["value", "disabled"])]),
|
|
97
97
|
_: 1
|
|
98
98
|
}),
|
|
@@ -101,8 +101,8 @@ var C = /* @__PURE__ */ o({
|
|
|
101
101
|
name: "description"
|
|
102
102
|
}, {
|
|
103
103
|
default: p(() => [a(u, {
|
|
104
|
-
value:
|
|
105
|
-
"onUpdate:value": t[2] ||= (e) =>
|
|
104
|
+
value: A.value.description,
|
|
105
|
+
"onUpdate:value": t[2] ||= (e) => A.value.description = e,
|
|
106
106
|
rows: 3,
|
|
107
107
|
"show-count": "",
|
|
108
108
|
maxlength: 200
|
|
@@ -114,8 +114,8 @@ var C = /* @__PURE__ */ o({
|
|
|
114
114
|
name: "sort"
|
|
115
115
|
}, {
|
|
116
116
|
default: p(() => [a(d, {
|
|
117
|
-
value:
|
|
118
|
-
"onUpdate:value": t[3] ||= (e) =>
|
|
117
|
+
value: A.value.sort,
|
|
118
|
+
"onUpdate:value": t[3] ||= (e) => A.value.sort = e
|
|
119
119
|
}, null, 8, ["value"])]),
|
|
120
120
|
_: 1
|
|
121
121
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { am as e } from "./index.js";
|
|
2
|
-
import { f as t } from "./configData-
|
|
3
|
-
import { b as n } from "./enum-
|
|
2
|
+
import { f as t } from "./configData-DQOHeFW2.js";
|
|
3
|
+
import { b as n } from "./enum-VH4_jOj5.js";
|
|
4
4
|
import { createBlock as r, createTextVNode as i, createVNode as a, defineComponent as o, isRef as s, openBlock as c, reactive as l, ref as u, resolveComponent as d, unref as f, withCtx as p } from "vue";
|
|
5
5
|
import { message as m } from "ant-design-vue";
|
|
6
6
|
import { Button as h, Drawer as g, Form as _, FormItem as v, Input as y, InputNumber as b, Space as x, Switch as S, Textarea as C } from "ant-design-vue/es";
|
|
@@ -45,7 +45,7 @@ var w = /* @__PURE__ */ o({
|
|
|
45
45
|
return c(), r(k, {
|
|
46
46
|
open: f(O),
|
|
47
47
|
"onUpdate:open": t[6] ||= (e) => s(O) ? O.value = e : null,
|
|
48
|
-
title: `${
|
|
48
|
+
title: `${D.title}字典数据`,
|
|
49
49
|
placement: "right",
|
|
50
50
|
width: 520,
|
|
51
51
|
"destroy-on-close": "",
|
|
@@ -71,7 +71,7 @@ var w = /* @__PURE__ */ o({
|
|
|
71
71
|
default: p(() => [a(m, {
|
|
72
72
|
ref_key: "formRef",
|
|
73
73
|
ref: A,
|
|
74
|
-
model:
|
|
74
|
+
model: j.value,
|
|
75
75
|
rules: E,
|
|
76
76
|
"label-col": { span: 5 }
|
|
77
77
|
}, {
|
|
@@ -81,8 +81,8 @@ var w = /* @__PURE__ */ o({
|
|
|
81
81
|
name: "dictLabel"
|
|
82
82
|
}, {
|
|
83
83
|
default: p(() => [a(n, {
|
|
84
|
-
value:
|
|
85
|
-
"onUpdate:value": t[0] ||= (e) =>
|
|
84
|
+
value: j.value.dictLabel,
|
|
85
|
+
"onUpdate:value": t[0] ||= (e) => j.value.dictLabel = e,
|
|
86
86
|
maxlength: 100
|
|
87
87
|
}, null, 8, ["value"])]),
|
|
88
88
|
_: 1
|
|
@@ -92,8 +92,8 @@ var w = /* @__PURE__ */ o({
|
|
|
92
92
|
name: "dictValue"
|
|
93
93
|
}, {
|
|
94
94
|
default: p(() => [a(n, {
|
|
95
|
-
value:
|
|
96
|
-
"onUpdate:value": t[1] ||= (e) =>
|
|
95
|
+
value: j.value.dictValue,
|
|
96
|
+
"onUpdate:value": t[1] ||= (e) => j.value.dictValue = e,
|
|
97
97
|
maxlength: 100
|
|
98
98
|
}, null, 8, ["value"])]),
|
|
99
99
|
_: 1
|
|
@@ -103,8 +103,8 @@ var w = /* @__PURE__ */ o({
|
|
|
103
103
|
name: "description"
|
|
104
104
|
}, {
|
|
105
105
|
default: p(() => [a(l, {
|
|
106
|
-
value:
|
|
107
|
-
"onUpdate:value": t[2] ||= (e) =>
|
|
106
|
+
value: j.value.description,
|
|
107
|
+
"onUpdate:value": t[2] ||= (e) => j.value.description = e,
|
|
108
108
|
rows: 3,
|
|
109
109
|
"show-count": "",
|
|
110
110
|
maxlength: 200
|
|
@@ -116,8 +116,8 @@ var w = /* @__PURE__ */ o({
|
|
|
116
116
|
name: "sort"
|
|
117
117
|
}, {
|
|
118
118
|
default: p(() => [a(u, {
|
|
119
|
-
value:
|
|
120
|
-
"onUpdate:value": t[3] ||= (e) =>
|
|
119
|
+
value: j.value.sort,
|
|
120
|
+
"onUpdate:value": t[3] ||= (e) => j.value.sort = e
|
|
121
121
|
}, null, 8, ["value"])]),
|
|
122
122
|
_: 1
|
|
123
123
|
}),
|
|
@@ -126,8 +126,8 @@ var w = /* @__PURE__ */ o({
|
|
|
126
126
|
name: "enable"
|
|
127
127
|
}, {
|
|
128
128
|
default: p(() => [a(d, {
|
|
129
|
-
checked:
|
|
130
|
-
"onUpdate:checked": t[4] ||= (e) =>
|
|
129
|
+
checked: j.value.enable,
|
|
130
|
+
"onUpdate:checked": t[4] ||= (e) => j.value.enable = e
|
|
131
131
|
}, null, 8, ["checked"])]),
|
|
132
132
|
_: 1
|
|
133
133
|
})
|