@pubinfo-nightly/module-rbac 2025.12.9 → 2025.12.25
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-D0OCk6H1.js +3572 -0
- package/dist/ComponentSelect-WO-3S5rH.js +2 -0
- package/dist/DynamicRoutesForm-DP_sq_Uu.js +168 -0
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +4 -0
- package/dist/HCheckList-B5Qk_HBI.js +2 -0
- package/dist/HCheckList-DLBewmPw.js +36 -0
- package/dist/HoverCard-69ZIOivd.js +2 -0
- package/dist/HoverCard-BDFcxxvk.js +43 -0
- package/dist/IconSelect-1pVgA_5l.js +705 -0
- package/dist/IconSelect-C5KTdyzv.js +3 -0
- package/dist/IconSelect.css +1 -1
- package/dist/ImportExport-CL5uPlby.js +342 -0
- package/dist/ImportExport-CPy2rvv7.js +4 -0
- package/dist/LayoutForm-Cp4bBrYl.js +124 -0
- package/dist/LayoutForm-QFjwakyQ.js +4 -0
- package/dist/MetaForm-Bb-um1Zo.js +4 -0
- package/dist/MetaForm-CVSgktB_.js +38917 -0
- package/dist/OrgAndPosition-ClASobEv.js +183 -0
- package/dist/OrgAndPosition-DoiGY5xb.js +2 -0
- package/dist/ResourceEdit-BX6xdiXV.js +10 -0
- package/dist/ResourceEdit-Dwr5KLyS.js +380 -0
- package/dist/ResourceRelation-BIOzTOKA.js +2 -0
- package/dist/ResourceRelation-ChEwIbWM.js +76 -0
- package/dist/ResourceRelation-D_j898zp.js +90 -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-Cd6_RUsc.js +275 -0
- package/dist/TenantEdit-BOvXk7BZ.js +245 -0
- package/dist/TenantEdit-BlMmL6q5.js +2 -0
- package/dist/UserAuthorization-DLeivbs7.js +232 -0
- package/dist/UserAuthorization-qGr1Sdat.js +3 -0
- package/dist/UserEdit-CwfyqNWf.js +3 -0
- package/dist/UserEdit-YKS1FVW_.js +319 -0
- package/dist/add-child-CFHHkjfg.js +2 -0
- package/dist/animation_item-BU-LInxP.js +4485 -0
- package/dist/animation_item-GzGItm3s.js +2 -0
- package/dist/api/modules/assist/gonggaofuwu.d.ts +7 -7
- package/dist/api/modules/assist/qunzujiekou.d.ts +7 -7
- package/dist/api/modules/assist/quyujiekou.d.ts +6 -6
- package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +6 -6
- package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +15 -15
- package/dist/api/modules/configData/zidifuwu.d.ts +11 -11
- package/dist/api/modules/log/caozuorizhifuwu.d.ts +3 -3
- package/dist/api/modules/log/denglurizhifuwu.d.ts +3 -3
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -7
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +8 -8
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +8 -8
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +10 -10
- package/dist/api/modules/rbac/yonghujiekou.d.ts +16 -16
- package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +6 -6
- package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +5 -5
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +7 -7
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +14 -14
- package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +6 -6
- package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +5 -5
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +10 -10
- package/dist/api/request.d.ts +1 -1
- package/dist/authority-L7SfiMdP.js +2 -0
- package/dist/authorize-qMpV_BXT.js +2 -0
- package/dist/blackWhiteList-FZezar30.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-Ds-XJRR1.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-Cpsc_9al.js +18 -0
- package/dist/cloneDeep-DDAtsK42.js +7 -0
- package/dist/components/DirectoryIcones/ComponentsIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/FolderIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/ModuleIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/PackagesIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/SrcIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/ViewIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/VueIcones.vue.d.ts +2 -1
- package/dist/components/GroupSelector/index.vue.d.ts +5 -10
- package/dist/components/JsonEditorModal/index.vue.d.ts +20 -0
- package/dist/components/OrgTree/index.vue.d.ts +6 -0
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +15 -18
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +15 -18
- package/dist/components/OrgUserSelector/index.d.ts +4 -2
- package/dist/components/OrgUserSelector/provider.d.ts +1 -1
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +4 -6
- package/dist/components/ResourceIcones/Select.vue.d.ts +14 -23
- package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +16 -7
- package/dist/components/ResourceSelector/index.vue.d.ts +10 -14
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +6 -12
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +8 -12
- package/dist/components/RoleSelector/TooltipLabel.vue.d.ts +3 -2
- package/dist/components/RoleSelector/useRole.d.ts +68 -4
- package/dist/composables/useLottie.d.ts +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/createAndEditDataPermission-CChlLDUm.js +5 -0
- package/dist/createAndEditDataPermission-CaOBJgoV.js +430 -0
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/data-permission-ZRQ-Aoib.js +152 -0
- package/dist/dayjs.min-sGDSMYRj.js +297 -0
- package/dist/dictionary-CtGgtPfc.js +179 -0
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +2 -0
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +119 -0
- package/dist/drawerDictionary-D911w7pC.js +2 -0
- package/dist/drawerDictionary-dMHs-6Cw.js +125 -0
- package/dist/drawerDictionaryItem-CbTa_qL-.js +137 -0
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +2 -0
- package/dist/drawerGroup-CEEDMBg9.js +3 -0
- package/dist/drawerGroup-DEuiiDPP.js +184 -0
- package/dist/drawerOrganization-CqEMD3gE.js +246 -0
- package/dist/drawerOrganization-mks5NMd9.js +2 -0
- package/dist/drawerPosition-Bd0s7qze.js +165 -0
- package/dist/drawerPosition-DwlTrlGA.js +2 -0
- package/dist/drawerRegion-DUbQAZuV.js +182 -0
- package/dist/drawerRegion-DwVzsZfT.js +2 -0
- package/dist/drawerRole-BNrbcSmr.js +3 -0
- package/dist/drawerRole-BxUIekjh.js +3 -0
- package/dist/drawerRole-CyA2oFht.js +4 -0
- package/dist/drawerRole-D5X7oHB_.js +153 -0
- package/dist/drawerRole-DNDyOvXw.js +166 -0
- package/dist/drawerRole-Dv61PBZR.js +208 -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-BbkZjv5e.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.d.ts +2 -2
- package/dist/index.js +7503 -7465
- package/dist/interface.d.ts +2 -2
- package/dist/isEmpty-BvRqbmpu.js +13 -0
- package/dist/itemlist-By-FV6pN.js +156 -0
- package/dist/layout_setting-BUAgQ1Bk.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-C7GT2yME.js +77 -0
- package/dist/loginHistoryDetail-CkH5UUGU.js +3 -0
- package/dist/login_history-D08W00Qu.js +195 -0
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-5Jet091Q.js +155 -0
- package/dist/not-data-Cx--tk_h.js +2 -0
- package/dist/not-data-tyTawN37.js +2 -0
- package/dist/operateHistoryDetail-BaNJRfwy.js +89 -0
- package/dist/operateHistoryDetail-CeVPJzD6.js +3 -0
- package/dist/operate_history-kJwIuPg2.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-Cmj3DUXl.js +15322 -0
- package/dist/organization.css +1 -0
- package/dist/other_setting-DQ70WnZK.js +213 -0
- package/dist/other_setting.css +1 -0
- package/dist/page_animation_setting-Lp6cMuFM.js +108 -0
- package/dist/page_animation_setting.css +1 -0
- package/dist/page_w_setting-CD_HtSUv.js +63 -0
- package/dist/page_w_setting.css +1 -0
- package/dist/position-CLpbgKGj.js +166 -0
- package/dist/region-Dd9pt_Si.js +179 -0
- package/dist/remove-DfZZBE2T.js +2 -0
- package/dist/resource-B-gkg5Ti.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-JGtvRObt.js +192 -0
- package/dist/role_group-CKOb_m63.js +171 -0
- package/dist/routeSystem-DXMoWhFo.js +2 -0
- package/dist/routes/index.d.ts +2 -2
- package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
- package/dist/routes/modules/log.manage.menu.d.ts +1 -1
- package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
- package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
- package/dist/routes/modules/system.manage.menu.d.ts +1 -1
- package/dist/safe_setting-G_ZP-jWQ.js +221 -0
- package/dist/setItem-Qa7UapHO.js +4 -0
- package/dist/setItem-yKhjmUh0.js +76 -0
- package/dist/setItem.css +1 -1
- package/dist/setting-manage-C9whamLP.js +2 -0
- package/dist/stores/view.d.ts +127 -22
- package/dist/stores-DPQF8JRt.js +2 -0
- package/dist/tabbar_setting-B3kMhRNm.js +139 -0
- package/dist/tenant-BBiCJkU_.js +177 -0
- package/dist/theme-check-mark-DG4oWCQN.js +2 -0
- package/dist/theme-title-BCYnl2jK.js +2 -0
- package/dist/theme_setting-vhNDLlkc.js +111 -0
- package/dist/theme_setting.css +1 -0
- package/dist/{index-C2G4xRrJ.js → toolbar_setting-DNBdxeGP.js} +140 -144
- package/dist/useAppAndResource-CPL2VpOJ.js +52 -0
- package/dist/user-DvCyUhZW.js +339 -0
- package/dist/utils/routeSystem.d.ts +133 -28
- package/dist/vanilla-picker-DcG96G63.js +724 -0
- package/dist/view-Bnu34EJT.js +2 -0
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +3 -8
- package/dist/views/blackWhiteList/index.vue.d.ts +2 -1534
- package/dist/views/breadcrumb_setting/animationData.d.ts +6 -6
- package/dist/views/breadcrumb_setting/index.vue.d.ts +2 -1
- package/dist/views/components/HCheckList.vue.d.ts +4 -3
- package/dist/views/components/animation_item.vue.d.ts +4 -5
- package/dist/views/components/setItem.vue.d.ts +3 -35
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -169
- package/dist/views/data-permission/index.vue.d.ts +2 -1690
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +3 -8
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +3 -8
- package/dist/views/dictionary/index.vue.d.ts +2 -1531
- package/dist/views/dictionary/itemlist.vue.d.ts +2 -1531
- package/dist/views/group/components/drawerGroup.vue.d.ts +3 -8
- package/dist/views/group/index.vue.d.ts +2 -1531
- package/dist/views/layout_setting/index.vue.d.ts +2 -1
- package/dist/views/log_center/components/browserType.vue.d.ts +4 -3
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -10
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -10
- package/dist/views/log_center/login_history.vue.d.ts +2 -1510
- package/dist/views/log_center/operate_history.vue.d.ts +2 -1510
- package/dist/views/menu_setting/animationData.d.ts +12 -12
- package/dist/views/menu_setting/index.vue.d.ts +2 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +3 -8
- package/dist/views/organization/components/drawerRole.vue.d.ts +3 -41
- package/dist/views/organization/index.vue.d.ts +2 -80
- package/dist/views/other_setting/animationData.d.ts +6 -6
- package/dist/views/other_setting/index.vue.d.ts +2 -1
- package/dist/views/other_setting/interface.d.ts +1 -1
- package/dist/views/page_animation_setting/animationData.d.ts +10 -10
- package/dist/views/page_animation_setting/index.vue.d.ts +2 -1
- package/dist/views/page_w_setting/index.vue.d.ts +2 -1
- package/dist/views/position/components/drawerPosition.vue.d.ts +3 -8
- package/dist/views/position/index.vue.d.ts +2 -1531
- package/dist/views/region/components/drawerRegion.vue.d.ts +3 -8
- package/dist/views/region/index.vue.d.ts +2 -1532
- package/dist/views/resource/components/ComponentSelect.vue.d.ts +5 -6
- package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +8 -6
- package/dist/views/resource/components/HoverCard.vue.d.ts +9 -12
- package/dist/views/resource/components/IconSelect.vue.d.ts +6 -5
- package/dist/views/resource/components/ImportExport.vue.d.ts +4 -7
- package/dist/views/resource/components/LayoutForm.vue.d.ts +6 -5
- package/dist/views/resource/components/MetaForm.vue.d.ts +6 -5
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -9
- package/dist/views/resource/components/RoleRelation.vue.d.ts +4 -3
- package/dist/views/resource/hooks/useLayoutForm.d.ts +5 -4
- package/dist/views/resource/hooks/useMetaForm.d.ts +12 -3
- package/dist/views/resource/index.vue.d.ts +2 -1570
- package/dist/views/resource/interface.d.ts +1 -1
- package/dist/views/role/components/ResourceRelation.vue.d.ts +4 -1512
- package/dist/views/role/components/drawerRole.vue.d.ts +3 -45
- package/dist/views/role/index.vue.d.ts +2 -3089
- package/dist/views/role_group/components/drawerRole.vue.d.ts +3 -41
- package/dist/views/role_group/index.vue.d.ts +2 -1564
- package/dist/views/safe_setting/index.vue.d.ts +2 -3
- package/dist/views/tabbar_setting/animationData.d.ts +10 -10
- package/dist/views/tabbar_setting/index.vue.d.ts +2 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +4 -10
- package/dist/views/tenant/index.vue.d.ts +2 -1533
- package/dist/views/theme_setting/index.vue.d.ts +2 -1
- package/dist/views/toolbar_setting/animationData.d.ts +14 -14
- package/dist/views/toolbar_setting/index.vue.d.ts +2 -1
- package/dist/views/user/components/OrgAndPosition.vue.d.ts +8 -7
- package/dist/views/user/components/UserAuthorization.vue.d.ts +3 -41
- package/dist/views/user/components/UserEdit.vue.d.ts +4 -9
- package/dist/views/user/index.vue.d.ts +2 -1593
- package/dist/views/watermark_setting/animationData.d.ts +2 -2
- package/dist/views/watermark_setting/index.vue.d.ts +2 -30
- package/dist/watermark_setting-CXp4Og0Y.js +191 -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 +7 -5
- 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-CVSgktB_.js";
|
|
2
|
+
import { t as cloneDeep_default } from "./cloneDeep-DDAtsK42.js";
|
|
3
|
+
import "./ComponentSelect-D0OCk6H1.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-DP_sq_Uu.js";
|
|
8
|
+
import "./HoverCard-BDFcxxvk.js";
|
|
9
|
+
import "./IconSelect-1pVgA_5l.js";
|
|
10
|
+
import "./dayjs.min-sGDSMYRj.js";
|
|
11
|
+
import { t as ImportExport_default } from "./ImportExport-CL5uPlby.js";
|
|
12
|
+
import "./LayoutForm-Cp4bBrYl.js";
|
|
13
|
+
import { t as ResourceEdit_default } from "./ResourceEdit-Dwr5KLyS.js";
|
|
14
|
+
import { t as RoleRelation_default } from "./RoleRelation-DzyVn5dk.js";
|
|
15
|
+
import { PubinfoIcon, useAuth } from "pubinfo-nightly";
|
|
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-D_j898zp.js";
|
|
4
|
+
import { n as ACTION, r as kjOptions, t as drawerRole_default } from "./drawerRole-Dv61PBZR.js";
|
|
5
|
+
import { PubinfoIcon, useAuth } from "pubinfo-nightly";
|
|
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 };
|