@pubinfo-pr/module-rbac 0.187.1 → 0.189.1
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-CZCdwf92.js +3572 -0
- package/dist/ComponentSelect-oZAtd4wH.js +2 -0
- package/dist/DynamicRoutesForm-CYFZYd3h.js +4 -0
- package/dist/DynamicRoutesForm-DsjExKfm.js +168 -0
- package/dist/HCheckList-B6K018cG.js +2 -0
- package/dist/HCheckList-dHyYM7wQ.js +36 -0
- package/dist/HoverCard-CfI-SLTb.js +2 -0
- package/dist/HoverCard-DM23tFv4.js +43 -0
- package/dist/IconSelect-AR3QMGQ1.js +3 -0
- package/dist/IconSelect-BMDn5KYI.js +707 -0
- package/dist/IconSelect.css +1 -1
- package/dist/ImportExport-Ch2KgeOH.js +4 -0
- package/dist/ImportExport-yiI4wd1A.js +346 -0
- package/dist/LayoutForm-CYBKLlSy.js +129 -0
- package/dist/LayoutForm-Qwrxmybp.js +4 -0
- package/dist/MetaForm-BswxCCuV.js +4 -0
- package/dist/MetaForm-LDukYEwP.js +38925 -0
- package/dist/OrgAndPosition-CyoItQuu.js +2 -0
- package/dist/OrgAndPosition-Dp33AYU-.js +186 -0
- package/dist/ResourceEdit-C5Xqu79p.js +382 -0
- package/dist/ResourceEdit-DlnTxHoF.js +10 -0
- package/dist/ResourceRelation-DZrmMWPf.js +76 -0
- package/dist/ResourceRelation-DeoM1DDo.js +91 -0
- package/dist/ResourceRelation-l2XXebMl.js +2 -0
- package/dist/ResourceRelation.css +1 -1
- package/dist/ResourceRelation2.css +1 -1
- package/dist/RoleRelation-CyTcqRfZ.js +2 -0
- package/dist/RoleRelation-DzyVn5dk.js +78 -0
- package/dist/RoleSelector-ZmjR8m3i.js +276 -0
- package/dist/TenantEdit-BDTS1Fca.js +248 -0
- package/dist/TenantEdit-BOMpr4z8.js +2 -0
- package/dist/UserAuthorization-C1QIiu2F.js +235 -0
- package/dist/UserAuthorization-CotnhBvL.js +3 -0
- package/dist/UserEdit-C3mqGMtl.js +321 -0
- package/dist/UserEdit-CJYVcFZw.js +3 -0
- package/dist/add-child-CFHHkjfg.js +2 -0
- package/dist/animation_item-DRuXSAya.js +4485 -0
- package/dist/animation_item-DVbSAJ9x.js +2 -0
- package/dist/authority-L7SfiMdP.js +2 -0
- package/dist/authorize-qMpV_BXT.js +2 -0
- package/dist/blackWhiteList-Lyj2w8Xc.js +210 -0
- package/dist/blackWhiteList.css +1 -0
- package/dist/blacklist-disable-BT6Xx-JG.js +2 -0
- package/dist/blacklist-enable-CJ6DK_V2.js +2 -0
- package/dist/breadcrumb_setting-DmZAQdwS.js +108 -0
- package/dist/browser-chrome-DuAegVCe.js +2 -0
- package/dist/browser-edge-DzkWdXRd.js +2 -0
- package/dist/browser-ie-DZ9g_MXr.js +2 -0
- package/dist/browser-other-BmkifoYq.js +2 -0
- package/dist/browser-safari-CXrCuF2a.js +2 -0
- package/dist/browserType-BXTT4j6i.js +2 -0
- package/dist/browserType-Dn_hQtAN.js +25 -0
- package/dist/chunk-BgHNfURc.js +20 -0
- package/dist/cloneDeep-DDAtsK42.js +7 -0
- package/dist/createAndEditDataPermission-BwUEAkBP.js +437 -0
- package/dist/createAndEditDataPermission-ClTyi4Ri.js +5 -0
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/data-permission-DXJBqtlO.js +152 -0
- package/dist/dayjs.min-Bsh92e4H.js +297 -0
- package/dist/dictionary-W_1X6Rbi.js +179 -0
- package/dist/drawerBlackWhiteList-83S8Dj3z.js +2 -0
- package/dist/drawerBlackWhiteList-B1oIt5J_.js +121 -0
- package/dist/drawerDictionary-CQhYvl_i.js +2 -0
- package/dist/drawerDictionary-D3yiuJSQ.js +127 -0
- package/dist/drawerDictionaryItem-DPNqG0Ow.js +2 -0
- package/dist/drawerDictionaryItem-DgMdlr4F.js +139 -0
- package/dist/drawerGroup-AZQsI1zw.js +187 -0
- package/dist/drawerGroup-i0awz56c.js +3 -0
- package/dist/drawerOrganization-BLSFSwWp.js +2 -0
- package/dist/drawerOrganization-oZcaL3zo.js +248 -0
- package/dist/drawerPosition-BQDRnJxo.js +167 -0
- package/dist/drawerPosition-Dv6sl-Lf.js +2 -0
- package/dist/drawerRegion-5FtwY5Rd.js +2 -0
- package/dist/drawerRegion-DGs1NFgB.js +184 -0
- package/dist/drawerRole-B7LqcyGf.js +4 -0
- package/dist/drawerRole-BVGZbMiQ.js +211 -0
- package/dist/drawerRole-Bq08YzR7.js +3 -0
- package/dist/drawerRole-CI92ltBG.js +169 -0
- package/dist/drawerRole-D74a8YGf.js +156 -0
- package/dist/drawerRole-IoKzu2MV.js +3 -0
- package/dist/edit-fZ7h_z_Z.js +2 -0
- package/dist/enum-3E_sUqRF.js +50 -0
- package/dist/enum-3mYayxff.js +61 -0
- package/dist/enum-Cr7uWnB2.js +23 -0
- package/dist/enum-D2UEJsrC.js +4 -0
- package/dist/group-CFfGOevD.js +172 -0
- package/dist/group.css +1 -0
- package/dist/icard-H-d9Pip-.js +2 -0
- package/dist/icon_animation-BCdRKkE5.js +2 -0
- package/dist/icon_breadcrumb-BR6LK8hP.js +2 -0
- package/dist/icon_copyright-BfWn1s6t.js +2 -0
- package/dist/icon_jt-DOMTq9De.js +2 -0
- package/dist/icon_layout-DKqAThpM.js +2 -0
- package/dist/icon_mainpage-CXB9JMGv.js +2 -0
- package/dist/icon_menu-BYQtWV-Q.js +2 -0
- package/dist/icon_page_size-r-z4oHWp.js +2 -0
- package/dist/icon_position_type-JDFdklRh.js +2 -0
- package/dist/icon_safe_manage-BDTIOduB.js +2 -0
- package/dist/icon_screen_scale-vEaAdr9S.js +2 -0
- package/dist/icon_system_manage-CkhQtieE.js +2 -0
- package/dist/icon_tabbar-DZNj-h-p.js +2 -0
- package/dist/icon_toolbar-BBYhGmEf.js +2 -0
- package/dist/icon_topbar-Bc379eaS.js +2 -0
- package/dist/icon_watermark-CTP8r-e2.js +2 -0
- package/dist/index.css +1 -1
- package/dist/index.js +7487 -7471
- package/dist/isEmpty-BvRqbmpu.js +13 -0
- package/dist/itemlist-B6JOJttB.js +156 -0
- package/dist/layout_setting-B_bXRf0W.js +68 -0
- package/dist/layout_setting.css +1 -0
- package/dist/log-center-CGT-BGAN.js +2 -0
- package/dist/log-vjU7aBPR.js +14 -0
- package/dist/loginHistoryDetail-BvdsnTFV.js +3 -0
- package/dist/loginHistoryDetail-DRBKf4C8.js +77 -0
- package/dist/login_history-glJa2J1x.js +195 -0
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-CuMAvx0k.js +155 -0
- package/dist/not-data-Cx--tk_h.js +2 -0
- package/dist/not-data-tyTawN37.js +2 -0
- package/dist/operateHistoryDetail-B3es707H.js +89 -0
- package/dist/operateHistoryDetail-CxD6LUWE.js +3 -0
- package/dist/operate_history-YpetdRIT.js +190 -0
- package/dist/operate_history.css +1 -1
- package/dist/org-main-DnftBa38.js +2 -0
- package/dist/org-unmain-ByMarqFw.js +2 -0
- package/dist/organization-B0yFeY4J.js +15338 -0
- package/dist/organization.css +1 -0
- package/dist/other_setting-vOU1Lnfp.js +215 -0
- package/dist/other_setting.css +1 -0
- package/dist/page_animation_setting-DSAKNmb1.js +108 -0
- package/dist/page_animation_setting.css +1 -0
- package/dist/page_w_setting-CBvXCWRR.js +63 -0
- package/dist/page_w_setting.css +1 -0
- package/dist/position-Qh2Cl1Hq.js +166 -0
- package/dist/region-r_QWszyO.js +179 -0
- package/dist/remove-DfZZBE2T.js +2 -0
- package/dist/resource-DKpLkyJH.js +271 -0
- package/dist/resource-app-QSLZ7Hts.js +2 -0
- package/dist/resource-btn-BcB4xMgR.js +2 -0
- package/dist/resource-dynamic-D69oEbaO.js +2 -0
- package/dist/resource-index-BIHr3PZY.js +2 -0
- package/dist/resource-menu-0JSNn7S7.js +2 -0
- package/dist/resource-micro-CcX_pmaJ.js +2 -0
- package/dist/resource-nonmenu-DFItasMT.js +2 -0
- package/dist/role-Pm5bxxjk.js +192 -0
- package/dist/role_group-D86PNA85.js +171 -0
- package/dist/routeSystem-DXMoWhFo.js +2 -0
- package/dist/safe_setting-CWQngC4j.js +224 -0
- package/dist/setItem-BxDHeWlp.js +4 -0
- package/dist/setItem-C5euZYfz.js +76 -0
- package/dist/setItem.css +1 -1
- package/dist/setting-manage-C9whamLP.js +2 -0
- package/dist/stores-DPQF8JRt.js +2 -0
- package/dist/tabbar_setting-D7enWjw4.js +139 -0
- package/dist/tenant-DTjNtlwf.js +177 -0
- package/dist/theme-check-mark-DG4oWCQN.js +2 -0
- package/dist/theme-title-BCYnl2jK.js +2 -0
- package/dist/theme_setting-j1mXqCfa.js +111 -0
- package/dist/theme_setting.css +1 -0
- package/dist/{index-C2G4xRrJ.js → toolbar_setting-BbJEvTPu.js} +140 -144
- package/dist/useAppAndResource-CPL2VpOJ.js +52 -0
- package/dist/user-BFOmEjwR.js +339 -0
- package/dist/vanilla-picker-DcG96G63.js +724 -0
- package/dist/view-Bnu34EJT.js +2 -0
- package/dist/watermark_setting-B1FGbTop.js +194 -0
- package/dist/watermark_setting.css +1 -0
- package/dist/zddata-Ceyga3_2.js +2 -0
- package/dist/zy_checked-DvD7k9F8.js +2 -0
- package/dist/zy_default-DJ2tB3Fo.js +2 -0
- package/package.json +5 -3
- package/src/components/OrgUserSelector/provider.ts +45 -40
- package/dist/ComponentSelect-ZLey_5w7.js +0 -4
- package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +0 -3981
- package/dist/DynamicRoutesForm-BU4EAISs.js +0 -4
- package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js +0 -179
- package/dist/HCheckList-Dkxhu1br.js +0 -4
- package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +0 -41
- package/dist/HoverCard-7agF2aDO.js +0 -4
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js +0 -62
- package/dist/IconSelect-DtNpk3Rj.js +0 -4
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +0 -757
- package/dist/ImportExport-DAe_Sl13.js +0 -4
- package/dist/ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js +0 -456
- package/dist/LayoutForm-Pv6UyKl3.js +0 -173
- package/dist/MetaForm-BMPtZc0g.js +0 -42413
- package/dist/OrgAndPosition-R-YixdXG.js +0 -4
- package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js +0 -195
- package/dist/ResourceEdit-D59JUDvG.js +0 -4
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-IWn27Vz1.js +0 -429
- package/dist/ResourceRelation-CeM9Eq39.js +0 -90
- package/dist/ResourceRelation-qhIdXLAy.js +0 -111
- package/dist/RoleRelation-BuqK0cnl.js +0 -4
- package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +0 -93
- package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +0 -352
- package/dist/TenantEdit-C61O1pSu.js +0 -4
- package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js +0 -306
- package/dist/UserAuthorization-Ch_iKzms.js +0 -273
- package/dist/UserEdit-B1fnFcSC.js +0 -4
- package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +0 -315
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/add-child-B9gDBQjZ.js +0 -4
- package/dist/animation_item-BZ1HNA6o.js +0 -4
- package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +0 -4858
- package/dist/authority-B-0S66Fv.js +0 -4
- package/dist/authorize-DnyYvAo3.js +0 -4
- package/dist/blacklist-disable-DzVU8JLV.js +0 -4
- package/dist/blacklist-enable-BmWQR1i4.js +0 -4
- package/dist/browser-chrome-O9MASusF.js +0 -4
- package/dist/browser-edge-Dk6N_uRy.js +0 -4
- package/dist/browser-ie-Dtz7hQTC.js +0 -4
- package/dist/browser-other-Crzi8vov.js +0 -4
- package/dist/browser-safari-DF0pVlrn.js +0 -4
- package/dist/browserType-DQySszjD.js +0 -4
- package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +0 -32
- package/dist/cloneDeep-BOLZdR62.js +0 -8
- package/dist/createAndEditDataPermission-DPeFulie.js +0 -4
- package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js +0 -528
- package/dist/dayjs.min-B2Yn1Frg.js +0 -284
- package/dist/drawerBlackWhiteList-eWyKScZN.js +0 -4
- package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js +0 -173
- package/dist/drawerDictionary-BRGmcIFT.js +0 -4
- package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +0 -146
- package/dist/drawerDictionaryItem-CFBfyhEw.js +0 -4
- package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +0 -158
- package/dist/drawerGroup-Bs1Z8XPo.js +0 -4
- package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +0 -202
- package/dist/drawerOrganization-Bs0YtPuo.js +0 -4
- package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +0 -250
- package/dist/drawerPosition-BA_gLotd.js +0 -4
- package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js +0 -181
- package/dist/drawerRegion-CauOP4lh.js +0 -4
- package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js +0 -235
- package/dist/drawerRole-CXGVqxPX.js +0 -4
- package/dist/drawerRole-CfJjf3v_.js +0 -4
- package/dist/drawerRole-nmMTIQYS.js +0 -4
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js +0 -243
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js +0 -197
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +0 -191
- package/dist/edit-B69fMWPH.js +0 -4
- package/dist/enum-C9ihxJe7.js +0 -4
- package/dist/enum-D5iPiZiT.js +0 -17
- package/dist/enum-DDKThkSw.js +0 -24
- package/dist/enum-DkSNwGbC.js +0 -74
- package/dist/gangweijiekou-CUGlx4Ni.js +0 -48
- package/dist/icard-C4FaIC0V.js +0 -4
- package/dist/icon_animation-CfRxn8ne.js +0 -4
- package/dist/icon_breadcrumb-CAPCH16K.js +0 -4
- package/dist/icon_copyright-T9HuRtib.js +0 -4
- package/dist/icon_jt-BZgxEG_D.js +0 -4
- package/dist/icon_layout-BynQzkfn.js +0 -4
- package/dist/icon_mainpage-Bu_lyj_6.js +0 -4
- package/dist/icon_menu-D41hl_4p.js +0 -4
- package/dist/icon_page_size-Bioi61il.js +0 -4
- package/dist/icon_position_type-QpezzPDJ.js +0 -4
- package/dist/icon_safe_manage-ByWMOnwf.js +0 -4
- package/dist/icon_screen_scale-CuPyb7Ni.js +0 -4
- package/dist/icon_system_manage-BxRLv7Nw.js +0 -4
- package/dist/icon_tabbar-CetwmJHN.js +0 -4
- package/dist/icon_toolbar-DXt_LXp8.js +0 -4
- package/dist/icon_topbar-C186yIiC.js +0 -4
- package/dist/icon_watermark-DhaloO3m.js +0 -4
- package/dist/index-B0zXLUdu.js +0 -350
- package/dist/index-B5aP0re3.js +0 -170
- package/dist/index-BEB4liGe.js +0 -151
- package/dist/index-BNwGLzXe.js +0 -168
- package/dist/index-BXvJhqJD.js +0 -97
- package/dist/index-BhZNbJp6.js +0 -189
- package/dist/index-Bm3WQuJD.js +0 -226
- package/dist/index-C5WD-YUu.js +0 -246
- package/dist/index-CJQB8KAz.js +0 -186
- package/dist/index-CLnFLvHy.js +0 -193
- package/dist/index-CbVJdR5M.js +0 -194
- package/dist/index-ChWnVs6j.js +0 -196
- package/dist/index-CoZM8pyH.js +0 -197
- package/dist/index-Copy5kiW.js +0 -17701
- package/dist/index-D3Xw_aOi.js +0 -144
- package/dist/index-DHVEXch0.js +0 -253
- package/dist/index-DQhQqT_Z.js +0 -269
- package/dist/index-Dl0hWfIE.js +0 -118
- package/dist/index-En8oOf9e.js +0 -168
- package/dist/index-VZuizuKs.js +0 -257
- package/dist/index-XhYtVVT9.js +0 -88
- package/dist/index-iBmBJd50.js +0 -181
- package/dist/index10.css +0 -1
- package/dist/index13.css +0 -1
- package/dist/index16.css +0 -1
- package/dist/index17.css +0 -1
- package/dist/index4.css +0 -1
- package/dist/index5.css +0 -1
- package/dist/index7.css +0 -1
- package/dist/index8.css +0 -1
- package/dist/index9.css +0 -1
- package/dist/isEmpty-BgDIb4aS.js +0 -20
- package/dist/itemlist-zTYJtoSs.js +0 -172
- package/dist/jiaosejiekou-p42Hm9h3.js +0 -58
- package/dist/log-center-Bw9UlmOq.js +0 -4
- package/dist/loginHistoryDetail-BZVwG8m2.js +0 -105
- package/dist/login_history-CMZGS2PN.js +0 -221
- package/dist/not-data-BDuvYboz.js +0 -4
- package/dist/operateHistoryDetail-Badx3zl-.js +0 -123
- package/dist/operate_history-B42WNY1u.js +0 -217
- package/dist/org-main-DfWpX8Wv.js +0 -4
- package/dist/org-unmain-DrX63NH5.js +0 -4
- package/dist/remove-D2ES5tEr.js +0 -4
- package/dist/resource-app-1lqF6C6F.js +0 -4
- package/dist/resource-btn-Cfo6ddAY.js +0 -4
- package/dist/resource-dynamic-BAwkCWS4.js +0 -4
- package/dist/resource-index-BS4V5uy8.js +0 -4
- package/dist/resource-menu-CEWU8Iis.js +0 -4
- package/dist/resource-micro-9S0h5AlK.js +0 -4
- package/dist/resource-nonmenu-BZ9e4ynT.js +0 -4
- package/dist/setItem-Blb3dox4.js +0 -87
- package/dist/setting-manage-Xj_s0OoK.js +0 -4
- package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +0 -65
- package/dist/theme-check-mark-D58efagJ.js +0 -4
- package/dist/theme-title-CYUX2SBW.js +0 -4
- package/dist/useAppAndResource-DDywX2iz.js +0 -54
- package/dist/vanilla-picker-BAEwS4Fy.js +0 -536
- package/dist/view-BCWU0JWM.js +0 -4
- package/dist/xitongpeizhifuwu-BoCbGEk7.js +0 -23
- package/dist/zddata-DQP5Kx3c.js +0 -4
- package/dist/ziyuanjiekou-BC65-bFK.js +0 -69
- package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +0 -28
- package/dist/zy_checked-Bb6zRsYe.js +0 -4
- package/dist/zy_default-BGjhoury.js +0 -4
- /package/dist/{index2.css → breadcrumb_setting.css} +0 -0
- /package/dist/{index3.css → data-permission.css} +0 -0
- /package/dist/{index6.css → menu_setting.css} +0 -0
- /package/dist/{index11.css → safe_setting.css} +0 -0
- /package/dist/{index12.css → tabbar_setting.css} +0 -0
- /package/dist/{index14.css → toolbar_setting.css} +0 -0
- /package/dist/{index15.css → user.css} +0 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import "./MetaForm-LDukYEwP.js";
|
|
2
|
+
import { t as cloneDeep_default } from "./cloneDeep-DDAtsK42.js";
|
|
3
|
+
import "./ComponentSelect-CZCdwf92.js";
|
|
4
|
+
import { I as getRbacResourceResourceDelete, L as getRbacResourceResourceTree } from "./index.js";
|
|
5
|
+
import "./enum-3mYayxff.js";
|
|
6
|
+
import { i as resourceOptions, n as RESOURCE_COLOR, r as RESOURCE_TYPE, t as ACTION } from "./enum-3E_sUqRF.js";
|
|
7
|
+
import "./DynamicRoutesForm-DsjExKfm.js";
|
|
8
|
+
import "./HoverCard-DM23tFv4.js";
|
|
9
|
+
import "./IconSelect-BMDn5KYI.js";
|
|
10
|
+
import "./dayjs.min-Bsh92e4H.js";
|
|
11
|
+
import { t as ImportExport_default } from "./ImportExport-yiI4wd1A.js";
|
|
12
|
+
import "./LayoutForm-CYBKLlSy.js";
|
|
13
|
+
import { t as ResourceEdit_default } from "./ResourceEdit-C5Xqu79p.js";
|
|
14
|
+
import { t as RoleRelation_default } from "./RoleRelation-DzyVn5dk.js";
|
|
15
|
+
import { PubinfoIcon, useAuth } from "pubinfo-pr";
|
|
16
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
|
|
17
|
+
import { PlusCircleOutlined, SwapOutlined } from "@ant-design/icons-vue";
|
|
18
|
+
import { Badge, Modal, Tag, message } from "ant-design-vue";
|
|
19
|
+
import { Button, Space as Space$1 } from "ant-design-vue/es";
|
|
20
|
+
import { ProTable } from "@pubinfo/pro-components";
|
|
21
|
+
var _hoisted_1 = {
|
|
22
|
+
"w-full": "",
|
|
23
|
+
"h-full": "",
|
|
24
|
+
"py-10px": "",
|
|
25
|
+
"px-10px": ""
|
|
26
|
+
}, _hoisted_2 = ["onClick"], _hoisted_3 = ["onClick"], _hoisted_4 = ["onClick"], _hoisted_5 = ["onClick"], resource_default = /* @__PURE__ */ defineComponent({
|
|
27
|
+
name: "Resource",
|
|
28
|
+
__name: "index",
|
|
29
|
+
setup(B) {
|
|
30
|
+
let { auth: V } = useAuth(), H = [
|
|
31
|
+
{
|
|
32
|
+
valueType: "a-input",
|
|
33
|
+
width: 200,
|
|
34
|
+
title: "资源名称",
|
|
35
|
+
dataIndex: "name",
|
|
36
|
+
ellipsis: !0,
|
|
37
|
+
fieldProps: {
|
|
38
|
+
placeholder: "请输入资源名称",
|
|
39
|
+
allowClear: !0
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
valueType: "a-select",
|
|
44
|
+
title: "资源类型",
|
|
45
|
+
dataIndex: "type",
|
|
46
|
+
fieldProps: {
|
|
47
|
+
placeholder: "请选择资源类型",
|
|
48
|
+
allowClear: !0,
|
|
49
|
+
options: resourceOptions
|
|
50
|
+
},
|
|
51
|
+
customRender({ text: c }) {
|
|
52
|
+
return createVNode("div", { class: "flex items-center space-x-1" }, [createVNode(Tag, {
|
|
53
|
+
color: RESOURCE_COLOR[c],
|
|
54
|
+
bordered: !1
|
|
55
|
+
}, { default: () => [resourceOptions.find((P) => P.value === c)?.label] })]);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
valueType: "a-input",
|
|
60
|
+
title: "资源编码",
|
|
61
|
+
dataIndex: "code",
|
|
62
|
+
ellipsis: !0,
|
|
63
|
+
fieldProps: {
|
|
64
|
+
placeholder: "请输入资源编码",
|
|
65
|
+
allowClear: !0
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
title: "资源路径",
|
|
70
|
+
dataIndex: "meta",
|
|
71
|
+
ellipsis: !0,
|
|
72
|
+
hideInSearch: !0,
|
|
73
|
+
customRender({ text: c }) {
|
|
74
|
+
return c?.url || "-";
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
title: "接口权限",
|
|
79
|
+
dataIndex: "permissionCode",
|
|
80
|
+
ellipsis: !0,
|
|
81
|
+
hideInSearch: !0
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
valueType: "a-select",
|
|
85
|
+
title: "是否启用",
|
|
86
|
+
dataIndex: "enable",
|
|
87
|
+
width: 80,
|
|
88
|
+
align: "center",
|
|
89
|
+
fieldProps: {
|
|
90
|
+
placeholder: "请选择是否启用",
|
|
91
|
+
allowClear: !0,
|
|
92
|
+
options: [{
|
|
93
|
+
value: 1,
|
|
94
|
+
label: "是"
|
|
95
|
+
}, {
|
|
96
|
+
value: 0,
|
|
97
|
+
label: "否"
|
|
98
|
+
}]
|
|
99
|
+
},
|
|
100
|
+
customRender({ text: c }) {
|
|
101
|
+
return c ? createVNode(Badge, {
|
|
102
|
+
status: "success",
|
|
103
|
+
text: "是"
|
|
104
|
+
}, null) : createVNode(Badge, {
|
|
105
|
+
status: "error",
|
|
106
|
+
text: "否"
|
|
107
|
+
}, null);
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
title: "排序",
|
|
112
|
+
dataIndex: "sort",
|
|
113
|
+
width: 60,
|
|
114
|
+
align: "center",
|
|
115
|
+
hideInSearch: !0
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
title: "操作",
|
|
119
|
+
dataIndex: "action",
|
|
120
|
+
fixed: "right",
|
|
121
|
+
width: 300,
|
|
122
|
+
hideInSearch: !0,
|
|
123
|
+
hideInTable() {
|
|
124
|
+
return !V([
|
|
125
|
+
"resource_role_relation",
|
|
126
|
+
"resource_add_child",
|
|
127
|
+
"resource_edit",
|
|
128
|
+
"resource_remove"
|
|
129
|
+
]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
];
|
|
133
|
+
function U(c, P) {
|
|
134
|
+
return c?.map((c) => (c.children = c.children && U(c.children, P), P(c))) ?? [];
|
|
135
|
+
}
|
|
136
|
+
let W = ref(), G = computed(() => W.value?.dataSource ?? []);
|
|
137
|
+
function K() {
|
|
138
|
+
W.value.reload();
|
|
139
|
+
}
|
|
140
|
+
async function q(P) {
|
|
141
|
+
let { pageSize: I, current: L, ...R } = cloneDeep_default(P);
|
|
142
|
+
return {
|
|
143
|
+
success: !0,
|
|
144
|
+
data: await getRbacResourceResourceTree({ ...R }, { transform(c) {
|
|
145
|
+
return U(c?.data ?? [], (c) => c.leaf ? {
|
|
146
|
+
...c,
|
|
147
|
+
children: void 0
|
|
148
|
+
} : c);
|
|
149
|
+
} })
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
let J = ref(), Y = ref(), X = ref();
|
|
153
|
+
function Z(c, F) {
|
|
154
|
+
switch (c) {
|
|
155
|
+
case ACTION.ROLE_RELATION:
|
|
156
|
+
Y.value.open(F);
|
|
157
|
+
break;
|
|
158
|
+
case ACTION.ADD:
|
|
159
|
+
J.value.open(c);
|
|
160
|
+
break;
|
|
161
|
+
case ACTION.ADD_CHILD:
|
|
162
|
+
J.value.open(c, F);
|
|
163
|
+
break;
|
|
164
|
+
case ACTION.EDIT:
|
|
165
|
+
J.value.open(c, F);
|
|
166
|
+
break;
|
|
167
|
+
case ACTION.IMPORT_EXPORT:
|
|
168
|
+
X.value.open();
|
|
169
|
+
break;
|
|
170
|
+
case ACTION.REMOVE:
|
|
171
|
+
if (!F?.leaf) {
|
|
172
|
+
message.info("非叶子节点不能删除");
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
Modal.confirm({
|
|
176
|
+
title: "删除",
|
|
177
|
+
content: "确定要删除该资源吗?",
|
|
178
|
+
async onOk() {
|
|
179
|
+
(await getRbacResourceResourceDelete({ id: F?.id })).success && (message.success("删除成功"), K());
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
return (c, P) => {
|
|
186
|
+
let F = PlusCircleOutlined, I = Button, L = Space$1, z = resolveDirective("auth");
|
|
187
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
188
|
+
createVNode(unref(ProTable), {
|
|
189
|
+
ref_key: "tableRef",
|
|
190
|
+
ref: W,
|
|
191
|
+
"row-key": "id",
|
|
192
|
+
columns: H,
|
|
193
|
+
request: q,
|
|
194
|
+
pagination: !1,
|
|
195
|
+
scroll: { x: 1280 },
|
|
196
|
+
"auto-height": ""
|
|
197
|
+
}, {
|
|
198
|
+
toolbar: withCtx(() => [createVNode(L, null, {
|
|
199
|
+
default: withCtx(() => [withDirectives((openBlock(), createBlock(I, {
|
|
200
|
+
type: "primary",
|
|
201
|
+
onClick: P[0] ||= (c) => Z(unref(ACTION).ADD)
|
|
202
|
+
}, {
|
|
203
|
+
default: withCtx(() => [createVNode(F), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
|
|
204
|
+
_: 1
|
|
205
|
+
})), [[z, "resource_app_add"]]), createVNode(I, { onClick: P[1] ||= (c) => Z(unref(ACTION).IMPORT_EXPORT) }, {
|
|
206
|
+
default: withCtx(() => [createVNode(unref(SwapOutlined)), createTextVNode(" " + toDisplayString(unref(ACTION).IMPORT_EXPORT), 1)]),
|
|
207
|
+
_: 1
|
|
208
|
+
})]),
|
|
209
|
+
_: 1
|
|
210
|
+
})]),
|
|
211
|
+
bodyCell: withCtx(({ column: c, record: P }) => [c.dataIndex === "action" ? (openBlock(), createBlock(L, { key: 0 }, {
|
|
212
|
+
default: withCtx(() => [
|
|
213
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
214
|
+
class: "flex items-center",
|
|
215
|
+
onClick: (c) => Z(unref(ACTION).ROLE_RELATION, P)
|
|
216
|
+
}, [createVNode(unref(PubinfoIcon), {
|
|
217
|
+
name: "view",
|
|
218
|
+
class: "mr-1 text-base"
|
|
219
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).ROLE_RELATION), 1)], 8, _hoisted_2)), [[z, "resource_role_relation"]]),
|
|
220
|
+
[
|
|
221
|
+
unref(RESOURCE_TYPE).BUTTON,
|
|
222
|
+
unref(RESOURCE_TYPE).IFRAME,
|
|
223
|
+
unref(RESOURCE_TYPE).LINK
|
|
224
|
+
].includes(P.type) ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("a", {
|
|
225
|
+
key: 0,
|
|
226
|
+
class: "flex items-center",
|
|
227
|
+
onClick: (c) => Z(unref(ACTION).ADD_CHILD, P)
|
|
228
|
+
}, [createVNode(unref(PubinfoIcon), {
|
|
229
|
+
name: "add-child",
|
|
230
|
+
class: "mr-1 text-base"
|
|
231
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).ADD_CHILD), 1)], 8, _hoisted_3)), [[z, "resource_add_child"]]),
|
|
232
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
233
|
+
class: "flex items-center",
|
|
234
|
+
onClick: (c) => Z(unref(ACTION).EDIT, P)
|
|
235
|
+
}, [createVNode(unref(PubinfoIcon), {
|
|
236
|
+
name: "edit",
|
|
237
|
+
class: "mr-1 text-base"
|
|
238
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[z, "resource_edit"]]),
|
|
239
|
+
withDirectives((openBlock(), createElementBlock("span", {
|
|
240
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
241
|
+
onClick: (c) => Z(unref(ACTION).REMOVE, P)
|
|
242
|
+
}, [createVNode(unref(PubinfoIcon), {
|
|
243
|
+
name: "remove",
|
|
244
|
+
class: "mr-1 text-base"
|
|
245
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[z, "resource_remove"]])
|
|
246
|
+
]),
|
|
247
|
+
_: 2
|
|
248
|
+
}, 1024)) : createCommentVNode("", !0)]),
|
|
249
|
+
_: 1
|
|
250
|
+
}, 512),
|
|
251
|
+
createVNode(ResourceEdit_default, {
|
|
252
|
+
ref_key: "editRef",
|
|
253
|
+
ref: J,
|
|
254
|
+
"data-source": unref(G),
|
|
255
|
+
onSubmit: K
|
|
256
|
+
}, null, 8, ["data-source"]),
|
|
257
|
+
createVNode(RoleRelation_default, {
|
|
258
|
+
ref_key: "relationRef",
|
|
259
|
+
ref: Y
|
|
260
|
+
}, null, 512),
|
|
261
|
+
createVNode(ImportExport_default, {
|
|
262
|
+
ref_key: "importExportRef",
|
|
263
|
+
ref: X,
|
|
264
|
+
"data-source": unref(G),
|
|
265
|
+
onSubmit: K
|
|
266
|
+
}, null, 8, ["data-source"])
|
|
267
|
+
]);
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
});
|
|
271
|
+
export { resource_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_app_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20clip-path='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3cpath%20fill='url(%23c)'%20d='M17.358%2013.486V6.864c0-.572-.327-1.145-.818-1.39l-5.723-3.27a1.49%201.49%200%200%200-1.635%200L3.46%205.474c-.49.327-.817.818-.817%201.39v6.622c0%20.573.327%201.145.817%201.39l5.723%203.27c.49.328%201.145.328%201.635%200l5.723-3.27c.49-.245.818-.817.818-1.39'/%3e%3cpath%20fill='url(%23d)'%20d='M17.358%2013.486V6.864c0-.572-.327-1.145-.818-1.39l-5.723-3.27a1.49%201.49%200%200%200-1.635%200L3.46%205.474c-.49.327-.817.818-.817%201.39v6.622c0%20.573.327%201.145.817%201.39l5.723%203.27c.49.328%201.145.328%201.635%200l5.723-3.27c.49-.245.818-.817.818-1.39'/%3e%3cpath%20fill='url(%23e)'%20d='M17.358%2013.486V6.864c0-.572-.327-1.145-.818-1.39l-5.723-3.27a1.49%201.49%200%200%200-1.635%200L3.46%205.474c-.49.327-.817.818-.817%201.39v6.622c0%20.573.327%201.145.817%201.39l5.723%203.27c.49.328%201.145.328%201.635%200l5.723-3.27c.49-.245.818-.817.818-1.39'/%3e%3c/g%3e%3cpath%20fill='%23fff'%20d='M4.865%208.284a.5.5%200%200%200-.752.432v4.196a1%201%200%200%200%20.496.864l3.658%202.133a.5.5%200%200%200%20.752-.432v-4.196a1%201%200%200%200-.496-.864z'%20opacity='.3'/%3e%3cpath%20fill='%23fff'%20d='M13.985%206.884a.5.5%200%200%200%20.005-.867l-3.65-2.13a1%201%200%200%200-1.008%200l-3.65%202.13a.5.5%200%200%200%20.005.867l3.656%202.072a1%201%200%200%200%20.986%200z'%20opacity='.5'/%3e%3cpath%20fill='%23fff'%20d='M15.559%208.716a.5.5%200%200%200-.752-.432l-3.658%202.133a1%201%200%200%200-.496.864v4.196a.5.5%200%200%200%20.752.432l3.658-2.133a1%201%200%200%200%20.496-.864z'%20opacity='.3'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='10'%20x2='10'%20y1='1.959'%20y2='18.392'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='18.956'%20x2='10'%20y1='6.671'%20y2='18.392'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='.68'/%3e%3cstop%20offset='.397'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='16.278'%20x2='2.642'%20y1='6.968'%20y2='16.488'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.51'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='.978'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%20.175h20v20H0z'/%3e%3c/clipPath%3e%3cfilter%20id='b'%20width='18.716'%20height='20.433'%20x='.642'%20y='.959'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_32_8274'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_32_8274'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_app_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_btn_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20filter='url(%23a)'%3e%3crect%20width='14.716'%20height='11.192'%20x='2.642'%20y='4.579'%20fill='%23D9D9D9'%20rx='2'/%3e%3crect%20width='14.716'%20height='11.192'%20x='2.642'%20y='4.579'%20fill='url(%23b)'%20rx='2'/%3e%3crect%20width='14.716'%20height='11.192'%20x='2.642'%20y='4.579'%20fill='url(%23c)'%20rx='2'/%3e%3crect%20width='14.716'%20height='11.192'%20x='2.642'%20y='4.579'%20fill='url(%23d)'%20rx='2'/%3e%3c/g%3e%3cpath%20fill='%23fff'%20d='M5.49%208.033h1.96q.64%200%201.002.306.335.288.336.774-.002.36-.174.612c-.114.156-.276.27-.492.354q.422.081.636.342c.138.168.21.402.21.69q-.001.648-.444.954c-.252.168-.612.252-1.068.252H5.49zm.701.576v1.224h1.074c.3%200%20.51-.054.636-.15.12-.102.186-.264.186-.486%200-.204-.066-.354-.186-.444-.132-.096-.336-.144-.624-.144zm0%201.8v1.332h1.164q.397%200%20.624-.126c.192-.108.288-.276.288-.516q-.002-.367-.21-.528-.216-.162-.684-.162zm4.353-2.196v1.002h.69v.564h-.69v1.752c0%20.072.012.126.048.168.036.036.084.054.156.054h.408v.564h-.522q-.405%200-.594-.216c-.12-.132-.18-.318-.18-.57V9.78h-.558v-.564h.558v-.72zm2.804.918c.774%200%201.164.42%201.164%201.272v1.914h-.684v-1.854q0-.764-.702-.762a.63.63%200%200%200-.444.18q-.216.2-.252.57v1.866h-.684V9.215h.684v.36a1.2%201.2%200%200%201%20.408-.33q.232-.115.51-.114'%20opacity='.5'/%3e%3cdefs%3e%3clinearGradient%20id='b'%20x1='10'%20x2='10'%20y1='4.579'%20y2='15.771'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='18.955'%20x2='13.778'%20y1='7.789'%20y2='17.737'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='.68'/%3e%3cstop%20offset='.397'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='16.278'%20x2='6.387'%20y1='7.991'%20y2='18.129'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.51'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='.978'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cfilter%20id='a'%20width='18.716'%20height='15.192'%20x='.642'%20y='3.579'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_32_8298'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_32_8298'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_btn_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_dynamic_default = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20clip-path='url(%23clip0_1047_18776)'%3e%3cg%20filter='url(%23filter0_d_1047_18776)'%3e%3cpath%20d='M17.3578%2013.3111V6.68884C17.3578%206.11654%2017.0307%205.54425%2016.5402%205.29898L10.8173%202.02872C10.3267%201.70169%209.67266%201.70169%209.18212%202.02872L3.45917%205.29898C2.96863%205.626%202.6416%206.11654%202.6416%206.68884V13.3111C2.6416%2013.8834%202.96863%2014.4557%203.45917%2014.701L9.18212%2017.9712C9.67266%2018.2983%2010.3267%2018.2983%2010.8173%2017.9712L16.5402%2014.701C17.0307%2014.4557%2017.3578%2013.8834%2017.3578%2013.3111Z'%20fill='url(%23paint0_linear_1047_18776)'/%3e%3cpath%20d='M17.3578%2013.3111V6.68884C17.3578%206.11654%2017.0307%205.54425%2016.5402%205.29898L10.8173%202.02872C10.3267%201.70169%209.67266%201.70169%209.18212%202.02872L3.45917%205.29898C2.96863%205.626%202.6416%206.11654%202.6416%206.68884V13.3111C2.6416%2013.8834%202.96863%2014.4557%203.45917%2014.701L9.18212%2017.9712C9.67266%2018.2983%2010.3267%2018.2983%2010.8173%2017.9712L16.5402%2014.701C17.0307%2014.4557%2017.3578%2013.8834%2017.3578%2013.3111Z'%20fill='url(%23paint1_linear_1047_18776)'/%3e%3cpath%20d='M17.3578%2013.3111V6.68884C17.3578%206.11654%2017.0307%205.54425%2016.5402%205.29898L10.8173%202.02872C10.3267%201.70169%209.67266%201.70169%209.18212%202.02872L3.45917%205.29898C2.96863%205.626%202.6416%206.11654%202.6416%206.68884V13.3111C2.6416%2013.8834%202.96863%2014.4557%203.45917%2014.701L9.18212%2017.9712C9.67266%2018.2983%2010.3267%2018.2983%2010.8173%2017.9712L16.5402%2014.701C17.0307%2014.4557%2017.3578%2013.8834%2017.3578%2013.3111Z'%20fill='url(%23paint2_linear_1047_18776)'/%3e%3c/g%3e%3cpath%20opacity='0.2'%20d='M4.71383%2012.4012L9.49481%209.78656C9.59954%209.72926%209.71701%209.69922%209.8364%209.69922C9.9558%209.69922%2010.0733%209.72926%2010.178%209.78656L14.959%2012.4012C15.0151%2012.4318%2015.062%2012.477%2015.0946%2012.532C15.1273%2012.587%2015.1445%2012.6497%2015.1445%2012.7136C15.1445%2012.7776%2015.1273%2012.8403%2015.0946%2012.8953C15.062%2012.9503%2015.0151%2012.9955%2014.959%2013.0261L10.178%2015.6407C10.0733%2015.698%209.9558%2015.7281%209.8364%2015.7281C9.71701%2015.7281%209.59954%2015.698%209.49481%2015.6407L4.71383%2013.0261C4.65769%2012.9955%204.61084%2012.9503%204.57819%2012.8953C4.54555%2012.8403%204.52832%2012.7776%204.52832%2012.7136C4.52832%2012.6497%204.54555%2012.587%204.57819%2012.532C4.61084%2012.477%204.65769%2012.4318%204.71383%2012.4012Z'%20fill='white'/%3e%3cpath%20opacity='0.4'%20d='M4.71383%209.70079L9.49481%207.08612C9.59954%207.02882%209.71701%206.99878%209.8364%206.99878C9.9558%206.99878%2010.0733%207.02882%2010.178%207.08612L14.959%209.70079C15.0151%209.73139%2015.062%209.77656%2015.0946%209.83153C15.1273%209.88651%2015.1445%209.94927%2015.1445%2010.0132C15.1445%2010.0771%2015.1273%2010.1399%2015.0946%2010.1949C15.062%2010.2499%2015.0151%2010.295%2014.959%2010.3256L10.178%2012.9403C10.0733%2012.9976%209.9558%2013.0276%209.8364%2013.0276C9.71701%2013.0276%209.59954%2012.9976%209.49481%2012.9403L4.71383%2010.3256C4.65769%2010.295%204.61084%2010.2499%204.57819%2010.1949C4.54555%2010.1399%204.52832%2010.0771%204.52832%2010.0132C4.52832%209.94927%204.54555%209.88651%204.57819%209.83153C4.61084%209.77656%204.65769%209.73139%204.71383%209.70079Z'%20fill='white'/%3e%3cpath%20d='M4.71383%207.00059L9.49481%204.38593C9.59954%204.32862%209.71701%204.29858%209.8364%204.29858C9.9558%204.29858%2010.0733%204.32862%2010.178%204.38593L14.959%207.00059C15.0151%207.0312%2015.062%207.07636%2015.0946%207.13134C15.1273%207.18632%2015.1445%207.24907%2015.1445%207.31301C15.1445%207.37695%2015.1273%207.43971%2015.0946%207.49469C15.062%207.54966%2015.0151%207.59483%2014.959%207.62543L10.178%2010.2401C10.0733%2010.2974%209.9558%2010.3274%209.8364%2010.3274C9.71701%2010.3274%209.59954%2010.2974%209.49481%2010.2401L4.71383%207.62543C4.65769%207.59483%204.61084%207.54966%204.57819%207.49469C4.54555%207.43971%204.52832%207.37695%204.52832%207.31301C4.52832%207.24907%204.54555%207.18632%204.57819%207.13134C4.61084%207.07636%204.65769%207.0312%204.71383%207.00059Z'%20fill='%23DFEFFF'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1047_18776'%20x='0.641602'%20y='0.783447'%20width='18.7158'%20height='20.4331'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1047_18776'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1047_18776'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1047_18776'%20x1='9.99969'%20y1='1.78345'%20x2='9.99969'%20y2='18.2165'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_1047_18776'%20x1='18.9557'%20y1='6.49578'%20x2='9.99969'%20y2='18.2165'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='0.68'/%3e%3cstop%20offset='0.396549'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1047_18776'%20x1='16.2784'%20y1='6.79325'%20x2='2.6416'%20y2='16.3125'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.510458'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='0.977913'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1047_18776'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_dynamic_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_index_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20clip-path='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='%23D9D9D9'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='url(%23c)'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='url(%23d)'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='url(%23e)'%20rx='2'/%3e%3c/g%3e%3crect%20width='2'%20height='2'%20x='6.169'%20y='5.641'%20fill='%23fff'%20opacity='.5'%20rx='1'/%3e%3crect%20width='2'%20height='2'%20x='6.169'%20y='9.379'%20fill='%23fff'%20opacity='.5'%20rx='1'/%3e%3crect%20width='2'%20height='2'%20x='6.169'%20y='13.118'%20fill='%23fff'%20opacity='.5'%20rx='1'/%3e%3crect%20width='4.747'%20height='1.3'%20x='9.597'%20y='5.991'%20fill='%23fff'%20opacity='.5'%20rx='.65'/%3e%3crect%20width='4.747'%20height='1.3'%20x='9.597'%20y='9.729'%20fill='%23fff'%20opacity='.5'%20rx='.65'/%3e%3crect%20width='4.747'%20height='1.3'%20x='9.597'%20y='13.468'%20fill='%23fff'%20opacity='.5'%20rx='.65'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='10'%20x2='10'%20y1='2.747'%20y2='17.604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='18.955'%20x2='11.107'%20y1='7.007'%20y2='18.368'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='.68'/%3e%3cstop%20offset='.397'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='16.278'%20x2='3.572'%20y1='7.276'%20y2='17.087'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.51'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='.978'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%20.175h20v20H0z'/%3e%3c/clipPath%3e%3cfilter%20id='b'%20width='18.716'%20height='18.857'%20x='.642'%20y='1.747'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_32_8282'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_32_8282'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_index_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_menu_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20clip-path='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='%23D9D9D9'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='url(%23c)'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='url(%23d)'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.642'%20y='2.747'%20fill='url(%23e)'%20rx='2'/%3e%3c/g%3e%3crect%20width='4.69'%20height='4.69'%20x='4.827'%20y='4.944'%20fill='%23fff'%20opacity='.5'%20rx='1'/%3e%3crect%20width='4.69'%20height='4.69'%20x='10.482'%20y='4.944'%20fill='%23fff'%20opacity='.5'%20rx='2.345'/%3e%3crect%20width='4.69'%20height='4.69'%20x='4.827'%20y='10.716'%20fill='%23fff'%20opacity='.5'%20rx='1'/%3e%3crect%20width='4.69'%20height='4.69'%20x='10.482'%20y='10.716'%20fill='%23fff'%20opacity='.5'%20rx='1'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='10'%20x2='10'%20y1='2.747'%20y2='17.604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='18.955'%20x2='11.107'%20y1='7.007'%20y2='18.368'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='.68'/%3e%3cstop%20offset='.397'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='16.278'%20x2='3.572'%20y1='7.276'%20y2='17.087'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.51'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='.978'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%20.175h20v20H0z'/%3e%3c/clipPath%3e%3cfilter%20id='b'%20width='18.716'%20height='18.857'%20x='.642'%20y='1.747'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_32_8290'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_32_8290'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_menu_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_micro_default = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20clip-path='url(%23clip0_1047_18784)'%3e%3cg%20filter='url(%23filter0_d_1047_18784)'%3e%3cpath%20d='M17.3578%2013.3111V6.68884C17.3578%206.11654%2017.0307%205.54425%2016.5402%205.29898L10.8173%202.02872C10.3267%201.70169%209.67266%201.70169%209.18212%202.02872L3.45917%205.29898C2.96863%205.626%202.6416%206.11654%202.6416%206.68884V13.3111C2.6416%2013.8834%202.96863%2014.4557%203.45917%2014.701L9.18212%2017.9712C9.67266%2018.2983%2010.3267%2018.2983%2010.8173%2017.9712L16.5402%2014.701C17.0307%2014.4557%2017.3578%2013.8834%2017.3578%2013.3111Z'%20fill='url(%23paint0_linear_1047_18784)'/%3e%3cpath%20d='M17.3578%2013.3111V6.68884C17.3578%206.11654%2017.0307%205.54425%2016.5402%205.29898L10.8173%202.02872C10.3267%201.70169%209.67266%201.70169%209.18212%202.02872L3.45917%205.29898C2.96863%205.626%202.6416%206.11654%202.6416%206.68884V13.3111C2.6416%2013.8834%202.96863%2014.4557%203.45917%2014.701L9.18212%2017.9712C9.67266%2018.2983%2010.3267%2018.2983%2010.8173%2017.9712L16.5402%2014.701C17.0307%2014.4557%2017.3578%2013.8834%2017.3578%2013.3111Z'%20fill='url(%23paint1_linear_1047_18784)'/%3e%3cpath%20d='M17.3578%2013.3111V6.68884C17.3578%206.11654%2017.0307%205.54425%2016.5402%205.29898L10.8173%202.02872C10.3267%201.70169%209.67266%201.70169%209.18212%202.02872L3.45917%205.29898C2.96863%205.626%202.6416%206.11654%202.6416%206.68884V13.3111C2.6416%2013.8834%202.96863%2014.4557%203.45917%2014.701L9.18212%2017.9712C9.67266%2018.2983%2010.3267%2018.2983%2010.8173%2017.9712L16.5402%2014.701C17.0307%2014.4557%2017.3578%2013.8834%2017.3578%2013.3111Z'%20fill='url(%23paint2_linear_1047_18784)'/%3e%3c/g%3e%3cpath%20opacity='0.5'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.18525%2010.5802V14.6637C9.18525%2015.0229%209.47644%2015.3141%209.83564%2015.3141C10.1948%2015.3141%2010.486%2015.0229%2010.486%2014.6637V10.4977L14.1176%208.401C14.4287%208.2214%2014.5353%207.82363%2014.3557%207.51255C14.1761%207.20148%2013.7783%207.09489%2013.4672%207.27449L9.88458%209.34294L6.17341%207.2003C5.83354%207.00408%205.39896%207.12052%205.20274%207.46039C5.00652%207.80025%205.12297%208.23483%205.46283%208.43105L9.18525%2010.5802Z'%20fill='white'/%3e%3ccircle%20cx='6.18799'%20cy='8.12402'%20r='1.37842'%20fill='%23DFEFFF'/%3e%3ccircle%20cx='13.4849'%20cy='8.12402'%20r='1.37842'%20fill='%23DFEFFF'/%3e%3ccircle%20cx='9.83545'%20cy='14.5059'%20r='1.37842'%20fill='%23DFEFFF'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1047_18784'%20x='0.641602'%20y='0.783447'%20width='18.7158'%20height='20.4331'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1047_18784'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1047_18784'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1047_18784'%20x1='9.99969'%20y1='1.78345'%20x2='9.99969'%20y2='18.2165'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_1047_18784'%20x1='18.9557'%20y1='6.49578'%20x2='9.99969'%20y2='18.2165'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='0.68'/%3e%3cstop%20offset='0.396549'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1047_18784'%20x1='16.2784'%20y1='6.79325'%20x2='2.6416'%20y2='16.3125'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.510458'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='0.977913'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_1047_18784'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_micro_default as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var resource_nonmenu_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20clip-path='url(%23a)'%3e%3cg%20filter='url(%23b)'%3e%3crect%20width='14.716'%20height='14.857'%20x='2.643'%20y='2.747'%20fill='%23D9D9D9'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.643'%20y='2.747'%20fill='url(%23c)'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.643'%20y='2.747'%20fill='url(%23d)'%20rx='2'/%3e%3crect%20width='14.716'%20height='14.857'%20x='2.643'%20y='2.747'%20fill='url(%23e)'%20rx='2'/%3e%3c/g%3e%3cpath%20fill='%23fff'%20d='M3.963%205.304a1%201%200%200%201%201-1h10.075a1%201%200%200%201%201%201v3.344H3.963zm0%2010.013a1%201%200%200%200%201%201h2.082v-6.204H3.963zm4.633%201h6.442a1%201%200%200%200%201-1v-5.204H8.596z'%20opacity='.5'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='c'%20x1='10.001'%20x2='10.001'%20y1='2.747'%20y2='17.604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2354CCFF'/%3e%3cstop%20offset='1'%20stop-color='%231B69FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='d'%20x1='18.956'%20x2='11.108'%20y1='7.007'%20y2='18.368'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23AAFFB8'%20stop-opacity='.68'/%3e%3cstop%20offset='.397'%20stop-color='%2348FF65'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%20x1='16.279'%20x2='3.573'%20y1='7.276'%20y2='17.087'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='.51'%20stop-color='%23A244FF'%20stop-opacity='0'/%3e%3cstop%20offset='.978'%20stop-color='%23A244FF'/%3e%3c/linearGradient%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%20.175h20v20H0z'/%3e%3c/clipPath%3e%3cfilter%20id='b'%20width='18.716'%20height='18.857'%20x='.643'%20y='1.747'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.215686%200%200%200%200%200.6%200%200%200%200%201%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_32_8306'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_32_8306'%20result='shape'/%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
+
export { resource_nonmenu_default as default };
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { _t as postRbacRoleRolePage, mt as getRbacRoleRoleDelete } from "./index.js";
|
|
2
|
+
import "./useAppAndResource-CPL2VpOJ.js";
|
|
3
|
+
import { t as ResourceRelation_default } from "./ResourceRelation-DeoM1DDo.js";
|
|
4
|
+
import { n as ACTION, r as kjOptions, t as drawerRole_default } from "./drawerRole-BVGZbMiQ.js";
|
|
5
|
+
import { PubinfoIcon, useAuth } from "pubinfo-pr";
|
|
6
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
|
|
7
|
+
import { PlusCircleOutlined } from "@ant-design/icons-vue";
|
|
8
|
+
import { Badge, Modal, message } from "ant-design-vue";
|
|
9
|
+
import { Button, Space as Space$1 } from "ant-design-vue/es";
|
|
10
|
+
import { ProTable } from "@pubinfo/pro-components";
|
|
11
|
+
var _hoisted_1 = {
|
|
12
|
+
"py-10px": "",
|
|
13
|
+
"px-10px": "",
|
|
14
|
+
"w-full": "",
|
|
15
|
+
"h-full": ""
|
|
16
|
+
}, _hoisted_2 = ["onClick"], _hoisted_3 = ["onClick"], _hoisted_4 = { class: "ml-4px" }, _hoisted_5 = ["onClick"], _hoisted_6 = { class: "ml-4px" }, role_default = /* @__PURE__ */ defineComponent({
|
|
17
|
+
name: "Role",
|
|
18
|
+
__name: "index",
|
|
19
|
+
setup(M) {
|
|
20
|
+
let { auth: F } = useAuth(), I = ref(), L = ref();
|
|
21
|
+
function R() {
|
|
22
|
+
I.value.reload();
|
|
23
|
+
}
|
|
24
|
+
async function z(E) {
|
|
25
|
+
let { current: D, pageSize: O, ...k } = E, A = await postRbacRoleRolePage({
|
|
26
|
+
currentPage: D,
|
|
27
|
+
pageSize: O,
|
|
28
|
+
...k
|
|
29
|
+
});
|
|
30
|
+
return {
|
|
31
|
+
success: A.success,
|
|
32
|
+
data: A.data?.records ?? [],
|
|
33
|
+
total: A.data?.total ?? 0
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
let B = [
|
|
37
|
+
{
|
|
38
|
+
valueType: "a-input",
|
|
39
|
+
bind: "value",
|
|
40
|
+
minWidth: 200,
|
|
41
|
+
title: "角色名称",
|
|
42
|
+
dataIndex: "name",
|
|
43
|
+
ellipsis: !0,
|
|
44
|
+
fieldProps: {
|
|
45
|
+
placeholder: "请输入角色名称",
|
|
46
|
+
allowClear: !0
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
hideInSearch: !0,
|
|
51
|
+
minWidth: 80,
|
|
52
|
+
title: "可见范围",
|
|
53
|
+
dataIndex: "viewScope",
|
|
54
|
+
customRender: ({ text: i }) => kjOptions.find((E) => E.value === i)?.label
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
hideInSearch: !0,
|
|
58
|
+
minWidth: 80,
|
|
59
|
+
title: "创建人",
|
|
60
|
+
dataIndex: "createUserName"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
hideInSearch: !0,
|
|
64
|
+
minWidth: 100,
|
|
65
|
+
title: "创建部门",
|
|
66
|
+
dataIndex: "createOrgName"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
hideInSearch: !0,
|
|
70
|
+
minWidth: 100,
|
|
71
|
+
title: "创建时间",
|
|
72
|
+
dataIndex: "createTime"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
hideInSearch: !0,
|
|
76
|
+
minWidth: 100,
|
|
77
|
+
title: "修改时间",
|
|
78
|
+
dataIndex: "updateTime"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hideInSearch: !0,
|
|
82
|
+
minWidth: 80,
|
|
83
|
+
title: "角色状态",
|
|
84
|
+
dataIndex: "enable",
|
|
85
|
+
customRender: ({ text: i }) => i ? createVNode(Badge, {
|
|
86
|
+
status: "success",
|
|
87
|
+
text: "正常"
|
|
88
|
+
}, null) : createVNode(Badge, {
|
|
89
|
+
status: "error",
|
|
90
|
+
text: "关闭"
|
|
91
|
+
}, null)
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
hideInSearch: !0,
|
|
95
|
+
width: 240,
|
|
96
|
+
title: "操作",
|
|
97
|
+
dataIndex: "action",
|
|
98
|
+
fixed: "right",
|
|
99
|
+
hideInTable() {
|
|
100
|
+
return !F([
|
|
101
|
+
"role_resource_relation",
|
|
102
|
+
"role_edit",
|
|
103
|
+
"role_remove"
|
|
104
|
+
]);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
], V = ref();
|
|
108
|
+
function H(i, D) {
|
|
109
|
+
switch (i) {
|
|
110
|
+
case ACTION.RESOURCE_RELATION:
|
|
111
|
+
V.value.open(D);
|
|
112
|
+
break;
|
|
113
|
+
case ACTION.EDIT:
|
|
114
|
+
L.value.open(i, D);
|
|
115
|
+
break;
|
|
116
|
+
case ACTION.ADD:
|
|
117
|
+
L.value.open(i);
|
|
118
|
+
break;
|
|
119
|
+
case ACTION.REMOVE:
|
|
120
|
+
Modal.confirm({
|
|
121
|
+
title: "删除",
|
|
122
|
+
content: "确定要删除该角色吗?",
|
|
123
|
+
onOk() {
|
|
124
|
+
getRbacRoleRoleDelete({ id: D?.id }).then((i) => {
|
|
125
|
+
i.success && (message.success("删除成功"), R());
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return (i, E) => {
|
|
133
|
+
let k = PlusCircleOutlined, j = Button, M = PubinfoIcon, N = Space$1, P = resolveDirective("auth");
|
|
134
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
135
|
+
createVNode(unref(ProTable), {
|
|
136
|
+
ref_key: "tableRef",
|
|
137
|
+
ref: I,
|
|
138
|
+
"row-key": "id",
|
|
139
|
+
request: z,
|
|
140
|
+
columns: B,
|
|
141
|
+
"auto-height": "",
|
|
142
|
+
scroll: { x: 1100 }
|
|
143
|
+
}, {
|
|
144
|
+
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(j, {
|
|
145
|
+
type: "primary",
|
|
146
|
+
onClick: E[0] ||= (i) => H(unref(ACTION).ADD)
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [createVNode(k), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
|
|
149
|
+
_: 1
|
|
150
|
+
})), [[P, "role_add"]])]),
|
|
151
|
+
bodyCell: withCtx(({ column: i, record: E }) => [i.dataIndex === "action" ? (openBlock(), createBlock(N, { key: 0 }, {
|
|
152
|
+
default: withCtx(() => [
|
|
153
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
154
|
+
class: "flex items-center",
|
|
155
|
+
onClick: (i) => H(unref(ACTION).RESOURCE_RELATION, E)
|
|
156
|
+
}, [createVNode(M, {
|
|
157
|
+
name: "view",
|
|
158
|
+
class: "mr-1 text-base"
|
|
159
|
+
}), createElementVNode("span", null, toDisplayString(unref(ACTION).RESOURCE_RELATION), 1)], 8, _hoisted_2)), [[P, "resource_role_relation"]]),
|
|
160
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
161
|
+
class: "flex items-center",
|
|
162
|
+
onClick: (i) => H(unref(ACTION).EDIT, E)
|
|
163
|
+
}, [createVNode(M, {
|
|
164
|
+
name: "edit",
|
|
165
|
+
class: "text-base"
|
|
166
|
+
}), createElementVNode("span", _hoisted_4, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_3)), [[P, "role_edit"]]),
|
|
167
|
+
withDirectives((openBlock(), createElementBlock("span", {
|
|
168
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
169
|
+
onClick: (i) => H(unref(ACTION).REMOVE, E)
|
|
170
|
+
}, [createVNode(M, {
|
|
171
|
+
name: "remove",
|
|
172
|
+
class: "text-base"
|
|
173
|
+
}), createElementVNode("span", _hoisted_6, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[P, "role_remove"]])
|
|
174
|
+
]),
|
|
175
|
+
_: 2
|
|
176
|
+
}, 1024)) : createCommentVNode("", !0)]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 512),
|
|
179
|
+
createVNode(drawerRole_default, {
|
|
180
|
+
ref_key: "drawerRoleRef",
|
|
181
|
+
ref: L,
|
|
182
|
+
onSubmit: E[1] ||= (i) => R()
|
|
183
|
+
}, null, 512),
|
|
184
|
+
createVNode(ResourceRelation_default, {
|
|
185
|
+
ref_key: "relationRef",
|
|
186
|
+
ref: V
|
|
187
|
+
}, null, 512)
|
|
188
|
+
]);
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
export { role_default as default };
|