@pubinfo-nightly/module-rbac 2025.12.9 → 2025.12.26
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
package/dist/IconSelect.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-877afd5a] .ant-radio-group{display:inline-flex
|
|
1
|
+
[data-v-877afd5a] .ant-radio-group{align-items:center;display:inline-flex}[data-v-877afd5a] .ant-radio-button-wrapper{flex:none;justify-content:center;align-items:center;padding:4px 10px;display:inline-flex;height:auto!important;line-height:1!important}[data-v-877afd5a] .ant-radio-button-wrapper>span{justify-content:center;align-items:center;display:inline-flex}
|
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import { o as __toESM, t as __commonJSMin } from "./chunk-Cpsc_9al.js";
|
|
2
|
+
import { G as postRbacResourceBackupExportResourceData, H as getRbacResourceBackupDetail, K as postRbacResourceBackupImportResourceData, Lt as useToggle, U as getRbacResourceBackupList, V as deleteRbacResourceBackupDeleteResourceBackup, W as getRbacResourceBackupRestore } from "./index.js";
|
|
3
|
+
import { i as resourceOptions, n as RESOURCE_COLOR } from "./enum-3E_sUqRF.js";
|
|
4
|
+
import { t as require_dayjs_min } from "./dayjs.min-sGDSMYRj.js";
|
|
5
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, normalizeStyle, openBlock, reactive, ref, renderList, resolveComponent, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
|
|
6
|
+
import { ClockCircleOutlined, CloudDownloadOutlined, CloudUploadOutlined, DeleteOutlined, UndoOutlined } from "@ant-design/icons-vue";
|
|
7
|
+
import { Upload, message, theme } from "ant-design-vue";
|
|
8
|
+
import { Button, Card as Card$1, Col, Empty as Empty$1, Modal as Modal$1, Popconfirm, Row, Space as Space$1, Spin as Spin$1, Tag as Tag$1, Tree as Tree$1, Upload as Upload$1 } from "ant-design-vue/es";
|
|
9
|
+
var require_FileSaver_min = /* @__PURE__ */ __commonJSMin(((e, d) => {
|
|
10
|
+
(function(d, f) {
|
|
11
|
+
typeof define == "function" && define.amd ? define([], f) : e === void 0 ? (f(), d.FileSaver = { exports: {} }.exports) : f();
|
|
12
|
+
})(e, function() {
|
|
13
|
+
function e(e, d) {
|
|
14
|
+
return d === void 0 ? d = { autoBom: !1 } : typeof d != "object" && (console.warn("Deprecated: Expected third argument to be a object"), d = { autoBom: !d }), d.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["", e], { type: e.type }) : e;
|
|
15
|
+
}
|
|
16
|
+
function f(e, d, f) {
|
|
17
|
+
var p = new XMLHttpRequest();
|
|
18
|
+
p.open("GET", e), p.responseType = "blob", p.onload = function() {
|
|
19
|
+
_(p.response, d, f);
|
|
20
|
+
}, p.onerror = function() {
|
|
21
|
+
console.error("could not download file");
|
|
22
|
+
}, p.send();
|
|
23
|
+
}
|
|
24
|
+
function p(e) {
|
|
25
|
+
var d = new XMLHttpRequest();
|
|
26
|
+
d.open("HEAD", e, !1);
|
|
27
|
+
try {
|
|
28
|
+
d.send();
|
|
29
|
+
} catch {}
|
|
30
|
+
return 200 <= d.status && 299 >= d.status;
|
|
31
|
+
}
|
|
32
|
+
function m(e) {
|
|
33
|
+
try {
|
|
34
|
+
e.dispatchEvent(new MouseEvent("click"));
|
|
35
|
+
} catch {
|
|
36
|
+
var d = document.createEvent("MouseEvents");
|
|
37
|
+
d.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(d);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
var h = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : void 0, g = h.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), _ = h.saveAs || (typeof window != "object" || window !== h ? function() {} : "download" in HTMLAnchorElement.prototype && !g ? function(e, d, g) {
|
|
41
|
+
var _ = h.URL || h.webkitURL, v = document.createElement("a");
|
|
42
|
+
d = d || e.name || "download", v.download = d, v.rel = "noopener", typeof e == "string" ? (v.href = e, v.origin === location.origin ? m(v) : p(v.href) ? f(e, d, g) : m(v, v.target = "_blank")) : (v.href = _.createObjectURL(e), setTimeout(function() {
|
|
43
|
+
_.revokeObjectURL(v.href);
|
|
44
|
+
}, 4e4), setTimeout(function() {
|
|
45
|
+
m(v);
|
|
46
|
+
}, 0));
|
|
47
|
+
} : "msSaveOrOpenBlob" in navigator ? function(d, h, g) {
|
|
48
|
+
if (h = h || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(e(d, g), h);
|
|
49
|
+
else if (p(d)) f(d, h, g);
|
|
50
|
+
else {
|
|
51
|
+
var _ = document.createElement("a");
|
|
52
|
+
_.href = d, _.target = "_blank", setTimeout(function() {
|
|
53
|
+
m(_);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
} : function(e, d, p, m) {
|
|
57
|
+
if (m ||= open("", "_blank"), m && (m.document.title = m.document.body.innerText = "downloading..."), typeof e == "string") return f(e, d, p);
|
|
58
|
+
var _ = e.type === "application/octet-stream", v = /constructor/i.test(h.HTMLElement) || h.safari, y = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
59
|
+
if ((y || _ && v || g) && typeof FileReader < "u") {
|
|
60
|
+
var b = new FileReader();
|
|
61
|
+
b.onloadend = function() {
|
|
62
|
+
var e = b.result;
|
|
63
|
+
e = y ? e : e.replace(/^data:[^;]*;/, "data:attachment/file;"), m ? m.location.href = e : location = e, m = null;
|
|
64
|
+
}, b.readAsDataURL(e);
|
|
65
|
+
} else {
|
|
66
|
+
var x = h.URL || h.webkitURL, S = x.createObjectURL(e);
|
|
67
|
+
m ? m.location = S : location.href = S, m = null, setTimeout(function() {
|
|
68
|
+
x.revokeObjectURL(S);
|
|
69
|
+
}, 4e4);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
h.saveAs = _.saveAs = _, d !== void 0 && (d.exports = _);
|
|
73
|
+
});
|
|
74
|
+
})), import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1), import_FileSaver_min = require_FileSaver_min(), _hoisted_1 = { class: "h-[70vh]" }, _hoisted_2 = { class: "size-full" }, _hoisted_3 = {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "flex flex-col items-center justify-center size-full"
|
|
77
|
+
}, _hoisted_4 = {
|
|
78
|
+
key: 1,
|
|
79
|
+
class: "flex flex-col items-center justify-center size-full"
|
|
80
|
+
}, _hoisted_5 = ["onClick"], _hoisted_6 = { class: "space-x-1" }, _hoisted_7 = { class: "text-sm truncate" }, ImportExport_default = /* @__PURE__ */ defineComponent({
|
|
81
|
+
name: "ImportExport",
|
|
82
|
+
__name: "ImportExport",
|
|
83
|
+
props: { dataSource: {} },
|
|
84
|
+
emits: ["submit"],
|
|
85
|
+
setup(e, { expose: d, emit: x }) {
|
|
86
|
+
let w = e, D = x, { token: O } = theme.useToken(), [k, A] = useToggle(!1), [j, M] = useToggle(!1), N = reactive({
|
|
87
|
+
selectedId: "",
|
|
88
|
+
list: [],
|
|
89
|
+
treeData: []
|
|
90
|
+
}), P = computed(() => N.selectedId ? [{
|
|
91
|
+
key: "current",
|
|
92
|
+
tab: "当前资源"
|
|
93
|
+
}, {
|
|
94
|
+
key: "history",
|
|
95
|
+
tab: "历史记录"
|
|
96
|
+
}] : [{
|
|
97
|
+
key: "current",
|
|
98
|
+
tab: "当前资源"
|
|
99
|
+
}]), F = ref([]), I = computed(() => w.dataSource), L = reactive({
|
|
100
|
+
list: P,
|
|
101
|
+
key: "current",
|
|
102
|
+
onTabChange(e) {
|
|
103
|
+
L.key = e;
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
function R() {
|
|
107
|
+
A(!0), L.key = "current", F.value = [], N.selectedId = "", V();
|
|
108
|
+
}
|
|
109
|
+
let [z, B] = useToggle(!1);
|
|
110
|
+
async function V() {
|
|
111
|
+
try {
|
|
112
|
+
B(!0);
|
|
113
|
+
let e = await getRbacResourceBackupList({ type: "0" });
|
|
114
|
+
e.success && (N.list = e?.data ?? []);
|
|
115
|
+
} finally {
|
|
116
|
+
B(!1);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
let [H, U] = useToggle(!1);
|
|
120
|
+
async function W(e) {
|
|
121
|
+
if (N.selectedId === e) {
|
|
122
|
+
N.selectedId = "", L.key = "current";
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
N.selectedId = e, L.key = "history";
|
|
126
|
+
try {
|
|
127
|
+
U(!0);
|
|
128
|
+
let d = await getRbacResourceBackupDetail({ id: e });
|
|
129
|
+
d.success && (N.treeData = d.data?.content ?? []);
|
|
130
|
+
} finally {
|
|
131
|
+
U(!1);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
async function G() {
|
|
135
|
+
if (F.value.length === 0) {
|
|
136
|
+
message.info("请选中你要导出的资源节点。");
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
try {
|
|
140
|
+
M(!0);
|
|
141
|
+
let e = await postRbacResourceBackupExportResourceData(F.value);
|
|
142
|
+
e.success && (q(e.data), message.success("导出成功!"));
|
|
143
|
+
} finally {
|
|
144
|
+
M(!1);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
async function K(e) {
|
|
148
|
+
try {
|
|
149
|
+
return M(!0), (await postRbacResourceBackupImportResourceData({ parentId: F.value[0] ?? "0" }, {}, e)).success && (message.success("导入成功!"), V()), Upload.LIST_IGNORE;
|
|
150
|
+
} catch {
|
|
151
|
+
return Upload.LIST_IGNORE;
|
|
152
|
+
} finally {
|
|
153
|
+
M(!1), D("submit");
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
function q(e, d = `资源数据_${(0, import_dayjs_min.default)().format("YYYYMMDDHHmmss")}.json`) {
|
|
157
|
+
let f = JSON.stringify(e, null, 2);
|
|
158
|
+
(0, import_FileSaver_min.saveAs)(new Blob([f], { type: "application/json;charset=utf-8" }), d);
|
|
159
|
+
}
|
|
160
|
+
let [J, Y] = useToggle(!1);
|
|
161
|
+
async function X() {
|
|
162
|
+
try {
|
|
163
|
+
Y(!0), (await getRbacResourceBackupRestore({ id: N.selectedId })).success && (message.success("恢复备份成功!"), V(), D("submit"));
|
|
164
|
+
} finally {
|
|
165
|
+
Y(!1);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
let [Z, Q] = useToggle(!1);
|
|
169
|
+
async function $() {
|
|
170
|
+
try {
|
|
171
|
+
Q(!0), (await deleteRbacResourceBackupDeleteResourceBackup({ id: N.selectedId })).success && (message.success("删除备份成功!"), V(), L.key = "current", N.selectedId = "");
|
|
172
|
+
} finally {
|
|
173
|
+
Q(!1);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
return d({ open: R }), (e, d) => {
|
|
177
|
+
let f = Button, p = Upload$1, m = Space$1, h = Popconfirm, g = Tag$1, _ = Tree$1, v = Spin$1, x = Card$1, C = Col, w = Empty$1, T = Row, E = Modal$1;
|
|
178
|
+
return openBlock(), createBlock(E, {
|
|
179
|
+
open: unref(k),
|
|
180
|
+
"onUpdate:open": d[5] ||= (e) => isRef(k) ? k.value = e : null,
|
|
181
|
+
title: "导入 / 导出",
|
|
182
|
+
centered: "",
|
|
183
|
+
width: 1e3,
|
|
184
|
+
"destroy-on-close": "",
|
|
185
|
+
"mask-closable": !1,
|
|
186
|
+
footer: null
|
|
187
|
+
}, {
|
|
188
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(T, {
|
|
189
|
+
gutter: 8,
|
|
190
|
+
class: "h-full"
|
|
191
|
+
}, {
|
|
192
|
+
default: withCtx(() => [createVNode(C, {
|
|
193
|
+
span: "16",
|
|
194
|
+
class: "h-full"
|
|
195
|
+
}, {
|
|
196
|
+
default: withCtx(() => [createVNode(x, {
|
|
197
|
+
"head-style": {
|
|
198
|
+
marginBottom: 0,
|
|
199
|
+
padding: "0 12px"
|
|
200
|
+
},
|
|
201
|
+
"body-style": {
|
|
202
|
+
padding: "12px",
|
|
203
|
+
height: "calc(100% - 56px)",
|
|
204
|
+
overflow: "auto"
|
|
205
|
+
},
|
|
206
|
+
"tab-list": unref(L).list,
|
|
207
|
+
"active-tab-key": unref(L).key,
|
|
208
|
+
class: "h-full",
|
|
209
|
+
onTabChange: d[4] ||= (e) => unref(L).onTabChange(e)
|
|
210
|
+
}, {
|
|
211
|
+
tabBarExtraContent: withCtx(() => [unref(L).key === "current" ? (openBlock(), createBlock(m, { key: 0 }, {
|
|
212
|
+
default: withCtx(() => [createVNode(p, { "before-upload": K }, {
|
|
213
|
+
default: withCtx(() => [createVNode(f, {
|
|
214
|
+
type: "primary",
|
|
215
|
+
loading: unref(j)
|
|
216
|
+
}, {
|
|
217
|
+
default: withCtx(() => [createVNode(unref(CloudUploadOutlined)), d[6] ||= createTextVNode(" 导入 ", -1)]),
|
|
218
|
+
_: 1
|
|
219
|
+
}, 8, ["loading"])]),
|
|
220
|
+
_: 1
|
|
221
|
+
}), createVNode(f, {
|
|
222
|
+
disabled: unref(F).length === 0,
|
|
223
|
+
loading: unref(j),
|
|
224
|
+
onClick: d[0] ||= (e) => G()
|
|
225
|
+
}, {
|
|
226
|
+
default: withCtx(() => [createVNode(unref(CloudDownloadOutlined)), d[7] ||= createTextVNode(" 导出 ", -1)]),
|
|
227
|
+
_: 1
|
|
228
|
+
}, 8, ["disabled", "loading"])]),
|
|
229
|
+
_: 1
|
|
230
|
+
})) : createCommentVNode("", !0), unref(L).key === "history" ? (openBlock(), createBlock(m, { key: 1 }, {
|
|
231
|
+
default: withCtx(() => [createVNode(h, {
|
|
232
|
+
title: "是否使用该历史数据覆盖当前数据?",
|
|
233
|
+
onConfirm: d[1] ||= (e) => X()
|
|
234
|
+
}, {
|
|
235
|
+
default: withCtx(() => [createVNode(f, { loading: unref(J) }, {
|
|
236
|
+
default: withCtx(() => [createVNode(unref(UndoOutlined)), d[8] ||= createTextVNode(" 恢复备份 ", -1)]),
|
|
237
|
+
_: 1
|
|
238
|
+
}, 8, ["loading"])]),
|
|
239
|
+
_: 1
|
|
240
|
+
}), createVNode(h, {
|
|
241
|
+
title: "是否删除该历史数据备份?",
|
|
242
|
+
onConfirm: d[2] ||= (e) => $()
|
|
243
|
+
}, {
|
|
244
|
+
default: withCtx(() => [createVNode(f, {
|
|
245
|
+
loading: unref(Z),
|
|
246
|
+
danger: ""
|
|
247
|
+
}, {
|
|
248
|
+
default: withCtx(() => [createVNode(unref(DeleteOutlined)), d[9] ||= createTextVNode(" 删除备份 ", -1)]),
|
|
249
|
+
_: 1
|
|
250
|
+
}, 8, ["loading"])]),
|
|
251
|
+
_: 1
|
|
252
|
+
})]),
|
|
253
|
+
_: 1
|
|
254
|
+
})) : createCommentVNode("", !0)]),
|
|
255
|
+
default: withCtx(() => [withDirectives(createElementVNode("div", null, [createVNode(_, {
|
|
256
|
+
key: "current",
|
|
257
|
+
"selected-keys": unref(F),
|
|
258
|
+
"onUpdate:selectedKeys": d[3] ||= (e) => isRef(F) ? F.value = e : null,
|
|
259
|
+
"field-names": {
|
|
260
|
+
children: "children",
|
|
261
|
+
title: "name",
|
|
262
|
+
key: "id"
|
|
263
|
+
},
|
|
264
|
+
"tree-data": unref(I),
|
|
265
|
+
"block-node": ""
|
|
266
|
+
}, {
|
|
267
|
+
title: withCtx((e) => [createVNode(g, {
|
|
268
|
+
color: unref(RESOURCE_COLOR)[e.type],
|
|
269
|
+
bordered: !1
|
|
270
|
+
}, {
|
|
271
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(resourceOptions).find((d) => d.value === e.type)?.label), 1)]),
|
|
272
|
+
_: 2
|
|
273
|
+
}, 1032, ["color"]), createElementVNode("span", null, toDisplayString(e.name), 1)]),
|
|
274
|
+
_: 1
|
|
275
|
+
}, 8, ["selected-keys", "tree-data"])], 512), [[vShow, unref(L).key === "current"]]), withDirectives(createElementVNode("div", _hoisted_2, [createVNode(v, { spinning: unref(H) }, {
|
|
276
|
+
default: withCtx(() => [createVNode(_, {
|
|
277
|
+
key: "history",
|
|
278
|
+
"field-names": {
|
|
279
|
+
children: "children",
|
|
280
|
+
title: "name",
|
|
281
|
+
key: "id"
|
|
282
|
+
},
|
|
283
|
+
"tree-data": unref(N).treeData,
|
|
284
|
+
selectable: !1,
|
|
285
|
+
class: "size-full"
|
|
286
|
+
}, {
|
|
287
|
+
title: withCtx((e) => [createVNode(g, {
|
|
288
|
+
color: unref(RESOURCE_COLOR)[e.type],
|
|
289
|
+
bordered: !1
|
|
290
|
+
}, {
|
|
291
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(resourceOptions).find((d) => d.value === e.type)?.label), 1)]),
|
|
292
|
+
_: 2
|
|
293
|
+
}, 1032, ["color"]), createElementVNode("span", null, toDisplayString(e.name), 1)]),
|
|
294
|
+
_: 1
|
|
295
|
+
}, 8, ["tree-data"])]),
|
|
296
|
+
_: 1
|
|
297
|
+
}, 8, ["spinning"])], 512), [[vShow, unref(L).key === "history"]])]),
|
|
298
|
+
_: 1
|
|
299
|
+
}, 8, ["tab-list", "active-tab-key"])]),
|
|
300
|
+
_: 1
|
|
301
|
+
}), createVNode(C, {
|
|
302
|
+
span: "8",
|
|
303
|
+
class: "h-full"
|
|
304
|
+
}, {
|
|
305
|
+
default: withCtx(() => [createVNode(x, {
|
|
306
|
+
title: "历史记录",
|
|
307
|
+
"head-style": {
|
|
308
|
+
marginBottom: 0,
|
|
309
|
+
padding: "0 12px"
|
|
310
|
+
},
|
|
311
|
+
"body-style": {
|
|
312
|
+
padding: "8px",
|
|
313
|
+
height: "calc(100% - 56px)",
|
|
314
|
+
overflowY: "auto"
|
|
315
|
+
},
|
|
316
|
+
class: "h-full"
|
|
317
|
+
}, {
|
|
318
|
+
default: withCtx(() => [
|
|
319
|
+
unref(z) ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(v)])) : createCommentVNode("", !0),
|
|
320
|
+
unref(N).list.length === 0 && !unref(z) ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(w)])) : createCommentVNode("", !0),
|
|
321
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(N).list, (e) => (openBlock(), createElementBlock("div", {
|
|
322
|
+
key: e.id,
|
|
323
|
+
class: "flex justify-between items-center space-x-2 cursor-pointer hover:bg-gray-50 py-1 px-2 rounded",
|
|
324
|
+
style: normalizeStyle({ backgroundColor: unref(N).selectedId === e.id ? unref(O).colorPrimaryBg : "" }),
|
|
325
|
+
onClick: (d) => W(e.id)
|
|
326
|
+
}, [createElementVNode("div", _hoisted_6, [createVNode(unref(ClockCircleOutlined)), createElementVNode("span", _hoisted_7, toDisplayString(e.createTime), 1)]), createElementVNode("span", {
|
|
327
|
+
class: "text-xs shrink-0",
|
|
328
|
+
style: normalizeStyle({ color: unref(O).colorTextTertiary })
|
|
329
|
+
}, toDisplayString(e.createUserName), 5)], 12, _hoisted_5))), 128))
|
|
330
|
+
]),
|
|
331
|
+
_: 1
|
|
332
|
+
})]),
|
|
333
|
+
_: 1
|
|
334
|
+
})]),
|
|
335
|
+
_: 1
|
|
336
|
+
})])]),
|
|
337
|
+
_: 1
|
|
338
|
+
}, 8, ["open"]);
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
export { ImportExport_default as t };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
2
|
+
import { r as RESOURCE_TYPE } from "./enum-3E_sUqRF.js";
|
|
3
|
+
import { t as HoverCard_default } from "./HoverCard-BDFcxxvk.js";
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, unref, useModel, withCtx } from "vue";
|
|
5
|
+
import { Col, Divider, FormItem, Row, Switch } from "ant-design-vue/es";
|
|
6
|
+
import './LayoutForm.css';function useLayoutForm(e) {
|
|
7
|
+
return {
|
|
8
|
+
show: computed(() => {
|
|
9
|
+
let g = e.value.type;
|
|
10
|
+
return [RESOURCE_TYPE.APP, RESOURCE_TYPE.DYNAMIC_APP].includes(g);
|
|
11
|
+
}),
|
|
12
|
+
layoutForm: computed(() => {
|
|
13
|
+
if (!e.value.meta?.layout) return {
|
|
14
|
+
header: !0,
|
|
15
|
+
sidebar: !0,
|
|
16
|
+
tabs: !0,
|
|
17
|
+
toolbar: !0
|
|
18
|
+
};
|
|
19
|
+
let h = {
|
|
20
|
+
header: !0,
|
|
21
|
+
sidebar: !0,
|
|
22
|
+
tabs: !0,
|
|
23
|
+
toolbar: !0
|
|
24
|
+
};
|
|
25
|
+
return e.value.meta.layout = {
|
|
26
|
+
...h,
|
|
27
|
+
...e.value.meta.layout
|
|
28
|
+
}, e.value.meta.layout;
|
|
29
|
+
})
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
var _hoisted_1 = { key: 0 }, LayoutForm_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
33
|
+
name: "LayoutForm",
|
|
34
|
+
__name: "LayoutForm",
|
|
35
|
+
props: {
|
|
36
|
+
modelValue: { default: { meta: { layout: {
|
|
37
|
+
header: !0,
|
|
38
|
+
sidebar: !0,
|
|
39
|
+
tabs: !0,
|
|
40
|
+
toolbar: !0
|
|
41
|
+
} } } },
|
|
42
|
+
modelModifiers: {}
|
|
43
|
+
},
|
|
44
|
+
emits: ["update:modelValue"],
|
|
45
|
+
setup(e) {
|
|
46
|
+
let { layoutForm: h, show: _ } = useLayoutForm(useModel(e, "modelValue"));
|
|
47
|
+
return (e, v) => {
|
|
48
|
+
let y = Divider, b = Switch, x = FormItem, S = Col, C = Row;
|
|
49
|
+
return unref(_) ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(y, null, {
|
|
50
|
+
default: withCtx(() => [...v[4] ||= [createTextVNode("布局配置", -1)]]),
|
|
51
|
+
_: 1
|
|
52
|
+
}), createVNode(C, { gutter: [8, 8] }, {
|
|
53
|
+
default: withCtx(() => [
|
|
54
|
+
createVNode(S, { span: 12 }, {
|
|
55
|
+
default: withCtx(() => [createVNode(x, {
|
|
56
|
+
name: "enable",
|
|
57
|
+
"label-col": { span: 0 }
|
|
58
|
+
}, {
|
|
59
|
+
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
60
|
+
default: withCtx(() => [v[5] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Header ", -1), createVNode(b, {
|
|
61
|
+
checked: unref(h).header,
|
|
62
|
+
"onUpdate:checked": v[0] ||= (e) => unref(h).header = e
|
|
63
|
+
}, null, 8, ["checked"])]),
|
|
64
|
+
_: 1
|
|
65
|
+
})]),
|
|
66
|
+
_: 1
|
|
67
|
+
})]),
|
|
68
|
+
_: 1
|
|
69
|
+
}),
|
|
70
|
+
createVNode(S, { span: 12 }, {
|
|
71
|
+
default: withCtx(() => [createVNode(x, {
|
|
72
|
+
name: "enable",
|
|
73
|
+
"label-col": { span: 0 }
|
|
74
|
+
}, {
|
|
75
|
+
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
76
|
+
default: withCtx(() => [v[6] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Sidebar ", -1), createVNode(b, {
|
|
77
|
+
checked: unref(h).sidebar,
|
|
78
|
+
"onUpdate:checked": v[1] ||= (e) => unref(h).sidebar = e
|
|
79
|
+
}, null, 8, ["checked"])]),
|
|
80
|
+
_: 1
|
|
81
|
+
})]),
|
|
82
|
+
_: 1
|
|
83
|
+
})]),
|
|
84
|
+
_: 1
|
|
85
|
+
}),
|
|
86
|
+
createVNode(S, { span: 12 }, {
|
|
87
|
+
default: withCtx(() => [createVNode(x, {
|
|
88
|
+
name: "enable",
|
|
89
|
+
"label-col": { span: 0 }
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
92
|
+
default: withCtx(() => [v[7] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Tabs ", -1), createVNode(b, {
|
|
93
|
+
checked: unref(h).tabs,
|
|
94
|
+
"onUpdate:checked": v[2] ||= (e) => unref(h).tabs = e
|
|
95
|
+
}, null, 8, ["checked"])]),
|
|
96
|
+
_: 1
|
|
97
|
+
})]),
|
|
98
|
+
_: 1
|
|
99
|
+
})]),
|
|
100
|
+
_: 1
|
|
101
|
+
}),
|
|
102
|
+
createVNode(S, { span: 12 }, {
|
|
103
|
+
default: withCtx(() => [createVNode(x, {
|
|
104
|
+
name: "enable",
|
|
105
|
+
"label-col": { span: 0 }
|
|
106
|
+
}, {
|
|
107
|
+
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
108
|
+
default: withCtx(() => [v[8] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Toolbar ", -1), createVNode(b, {
|
|
109
|
+
checked: unref(h).toolbar,
|
|
110
|
+
"onUpdate:checked": v[3] ||= (e) => unref(h).toolbar = e
|
|
111
|
+
}, null, 8, ["checked"])]),
|
|
112
|
+
_: 1
|
|
113
|
+
})]),
|
|
114
|
+
_: 1
|
|
115
|
+
})]),
|
|
116
|
+
_: 1
|
|
117
|
+
})
|
|
118
|
+
]),
|
|
119
|
+
_: 1
|
|
120
|
+
})])) : createCommentVNode("", !0);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}), [["__scopeId", "data-v-8c0e12f9"]]);
|
|
124
|
+
export { LayoutForm_default as t };
|