@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/index-BNwGLzXe.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import { Space as R, Button as O } from "ant-design-vue/es";
|
|
2
|
-
import { PubinfoIcon as S } from "pubinfo-nightly";
|
|
3
|
-
import { PlusCircleOutlined as A } from "@ant-design/icons-vue";
|
|
4
|
-
import { defineComponent as V, ref as I, resolveDirective as N, createElementBlock as l, openBlock as n, createVNode as r, unref as t, withCtx as d, createCommentVNode as P, createBlock as k, toDisplayString as p, withDirectives as x, createElementVNode as C, createTextVNode as B } from "vue";
|
|
5
|
-
import { ProTable as M } from "@pubinfo/pro-components";
|
|
6
|
-
import { Modal as $, message as L } from "ant-design-vue";
|
|
7
|
-
import { u as q, _ as z } from "./index.js";
|
|
8
|
-
import { p as Q, d as j } from "./shujuquanxianzhubiaokongzhiqi-SpN37fyO.js";
|
|
9
|
-
import { _ as F } from "./createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js";
|
|
10
|
-
import { d as G, a as H, A as e } from "./enum-DkSNwGbC.js";
|
|
11
|
-
import './index3.css';const J = {
|
|
12
|
-
"w-full": "",
|
|
13
|
-
"h-full": "",
|
|
14
|
-
"py-10px": "",
|
|
15
|
-
"px-10px": "",
|
|
16
|
-
flex: "",
|
|
17
|
-
"flex-col": "",
|
|
18
|
-
class: "page-data-permission"
|
|
19
|
-
}, K = {
|
|
20
|
-
key: 0
|
|
21
|
-
}, U = ["onClick"], W = {
|
|
22
|
-
class: "ml-4px"
|
|
23
|
-
}, X = ["onClick"], Y = {
|
|
24
|
-
class: "ml-4px"
|
|
25
|
-
}, Z = /* @__PURE__ */ V({
|
|
26
|
-
name: "DataPermission",
|
|
27
|
-
__name: "index",
|
|
28
|
-
setup(ee) {
|
|
29
|
-
const y = I(), u = I(), g = [{
|
|
30
|
-
valueType: "a-input",
|
|
31
|
-
title: "数据权限名称",
|
|
32
|
-
dataIndex: "name",
|
|
33
|
-
fieldProps: {
|
|
34
|
-
placeholder: "请输入",
|
|
35
|
-
allowClear: !0
|
|
36
|
-
}
|
|
37
|
-
}, {
|
|
38
|
-
valueType: "a-select",
|
|
39
|
-
title: "数据权限规则",
|
|
40
|
-
dataIndex: "type",
|
|
41
|
-
fieldProps: {
|
|
42
|
-
placeholder: "请选择",
|
|
43
|
-
allowClear: !0,
|
|
44
|
-
options: G
|
|
45
|
-
},
|
|
46
|
-
ellipsis: !0
|
|
47
|
-
}, {
|
|
48
|
-
hideInSearch: !0,
|
|
49
|
-
title: "创建时间",
|
|
50
|
-
dataIndex: "createTime",
|
|
51
|
-
ellipsis: !0
|
|
52
|
-
}, {
|
|
53
|
-
hideInSearch: !0,
|
|
54
|
-
title: "更新时间",
|
|
55
|
-
dataIndex: "updateTime",
|
|
56
|
-
ellipsis: !0
|
|
57
|
-
}, {
|
|
58
|
-
hideInSearch: !0,
|
|
59
|
-
title: "操作",
|
|
60
|
-
dataIndex: "action",
|
|
61
|
-
width: 200,
|
|
62
|
-
fixed: "right"
|
|
63
|
-
}];
|
|
64
|
-
async function T(s) {
|
|
65
|
-
const {
|
|
66
|
-
current: a,
|
|
67
|
-
pageSize: i,
|
|
68
|
-
type: _,
|
|
69
|
-
name: c
|
|
70
|
-
} = s, o = await Q({
|
|
71
|
-
pageSize: i,
|
|
72
|
-
currentPage: a,
|
|
73
|
-
doSearchTotal: !0,
|
|
74
|
-
type: _,
|
|
75
|
-
name: c
|
|
76
|
-
});
|
|
77
|
-
return {
|
|
78
|
-
success: o.success,
|
|
79
|
-
data: o.data?.records ?? [],
|
|
80
|
-
total: o.data?.total ?? 0
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function b() {
|
|
84
|
-
y.value.reload();
|
|
85
|
-
}
|
|
86
|
-
const [w, v] = q(!1);
|
|
87
|
-
function m(s, a) {
|
|
88
|
-
if (!w.value)
|
|
89
|
-
switch (s) {
|
|
90
|
-
case e.ADD:
|
|
91
|
-
u.value.open(s);
|
|
92
|
-
break;
|
|
93
|
-
case e.EDIT:
|
|
94
|
-
u.value.open(s, a);
|
|
95
|
-
break;
|
|
96
|
-
case e.REMOVE:
|
|
97
|
-
$.confirm({
|
|
98
|
-
title: "删除",
|
|
99
|
-
content: "确定要删除该权限吗?",
|
|
100
|
-
async onOk() {
|
|
101
|
-
v(!0), j({
|
|
102
|
-
id: a?.id
|
|
103
|
-
}).then((i) => {
|
|
104
|
-
i.success && (L.success("删除成功"), b());
|
|
105
|
-
}).finally(() => v(!1));
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
break;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return (s, a) => {
|
|
112
|
-
const i = A, _ = O, c = S, D = R, o = N("auth");
|
|
113
|
-
return n(), l("div", J, [r(t(M), {
|
|
114
|
-
ref_key: "tableRef",
|
|
115
|
-
ref: y,
|
|
116
|
-
"row-key": "id",
|
|
117
|
-
request: T,
|
|
118
|
-
columns: g,
|
|
119
|
-
"auto-height": "",
|
|
120
|
-
scroll: {
|
|
121
|
-
x: 1e3
|
|
122
|
-
}
|
|
123
|
-
}, {
|
|
124
|
-
toolbar: d(() => [x((n(), k(_, {
|
|
125
|
-
type: "primary",
|
|
126
|
-
onClick: a[0] || (a[0] = (f) => m(t(e).ADD))
|
|
127
|
-
}, {
|
|
128
|
-
default: d(() => [r(i), B(" " + p(t(e).ADD), 1)]),
|
|
129
|
-
_: 1
|
|
130
|
-
})), [[o, "data_permission_create"]])]),
|
|
131
|
-
bodyCell: d(({
|
|
132
|
-
column: f,
|
|
133
|
-
record: h
|
|
134
|
-
}) => [f.dataIndex === "type" ? (n(), l("span", K, p(t(H)[h.type]), 1)) : P("", !0), f.dataIndex === "action" ? (n(), k(D, {
|
|
135
|
-
key: 1
|
|
136
|
-
}, {
|
|
137
|
-
default: d(() => [x((n(), l("a", {
|
|
138
|
-
class: "flex items-center hover:opacity-80",
|
|
139
|
-
onClick: (E) => m(t(e).EDIT, h)
|
|
140
|
-
}, [r(c, {
|
|
141
|
-
name: "edit",
|
|
142
|
-
class: "text-base"
|
|
143
|
-
}), C("span", W, p(t(e).EDIT), 1)], 8, U)), [[o, "data_permission_edit"]]), x((n(), l("span", {
|
|
144
|
-
flex: "",
|
|
145
|
-
"items-center": "",
|
|
146
|
-
"text-red-500": "",
|
|
147
|
-
"hover:cursor-pointer": "",
|
|
148
|
-
"hover:text-red-500": "",
|
|
149
|
-
"hover:opacity-80": "",
|
|
150
|
-
onClick: (E) => m(t(e).REMOVE, h)
|
|
151
|
-
}, [r(c, {
|
|
152
|
-
name: "remove",
|
|
153
|
-
class: "text-base"
|
|
154
|
-
}), C("span", Y, p(t(e).REMOVE), 1)], 8, X)), [[o, "data_permission_delete"]])]),
|
|
155
|
-
_: 2
|
|
156
|
-
}, 1024)) : P("", !0)]),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 512), r(F, {
|
|
159
|
-
ref_key: "drawerRef",
|
|
160
|
-
ref: u,
|
|
161
|
-
onSubmit: b
|
|
162
|
-
}, null, 512)]);
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
}), pe = /* @__PURE__ */ z(Z, [["__scopeId", "data-v-b32ad41d"]]);
|
|
166
|
-
export {
|
|
167
|
-
pe as default
|
|
168
|
-
};
|
package/dist/index-BXvJhqJD.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { useSettingsStore as m, PubinfoIcon as f } from "pubinfo-nightly";
|
|
2
|
-
import { defineComponent as u, ref as v, reactive as b, createElementBlock as i, openBlock as l, createElementVNode as e, createVNode as g, Fragment as _, renderList as y, unref as r, normalizeClass as d, toDisplayString as S } from "vue";
|
|
3
|
-
import { message as k } from "ant-design-vue";
|
|
4
|
-
import { _ as C } from "./index.js";
|
|
5
|
-
import { p as h } from "./xitongpeizhifuwu-BoCbGEk7.js";
|
|
6
|
-
import './index5.css';const w = {
|
|
7
|
-
"w-full": "",
|
|
8
|
-
"h-full": "",
|
|
9
|
-
"p-10px": ""
|
|
10
|
-
}, D = { class: "w-full h-full bg-white overflow-y-auto p-10px flex flex-col box-border dark:bg-[#141414]" }, F = { class: "bg-[#F0F4FF] h-[38px] pl-[16px] flex flex-row items-center dark:bg-[#32353B]" }, E = { class: "mt-[15px] flex-1 flex flex-row" }, j = {
|
|
11
|
-
class: "flex-auto grid grid-cols-3 gap-[20px] px-30px w-full h-0 max-w-1500px",
|
|
12
|
-
aspect: "[3/2]"
|
|
13
|
-
}, B = ["onClick"], I = { class: "text-[#4E5969] text-[14px] dark:text-[#C9CDD4]" }, M = /* @__PURE__ */ u({
|
|
14
|
-
name: "LayoutSetting",
|
|
15
|
-
__name: "index",
|
|
16
|
-
setup(N) {
|
|
17
|
-
const c = m(), a = v(c.globalSettings.menu.menuMode), p = b([
|
|
18
|
-
{
|
|
19
|
-
describe: "顶部模式",
|
|
20
|
-
placement: "bottom",
|
|
21
|
-
active: "head"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
describe: "侧边栏模式 (含主导航)",
|
|
25
|
-
placement: "bottom",
|
|
26
|
-
active: "side"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
describe: "侧边栏模式 (不含主导航)",
|
|
30
|
-
placement: "bottom",
|
|
31
|
-
active: "single"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
describe: "侧边栏精简模式",
|
|
35
|
-
placement: "bottom",
|
|
36
|
-
active: "only-side"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
describe: "顶部精简模式",
|
|
40
|
-
placement: "bottom",
|
|
41
|
-
active: "only-head"
|
|
42
|
-
}
|
|
43
|
-
]);
|
|
44
|
-
function x(s) {
|
|
45
|
-
if (s) {
|
|
46
|
-
a.value = s, c.globalSettings.menu.menuMode = s;
|
|
47
|
-
const t = JSON.stringify({
|
|
48
|
-
menu: {
|
|
49
|
-
menuMode: s
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
h({ content: t }).then((n) => {
|
|
53
|
-
n.success && k.success("设置成功");
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return (s, t) => {
|
|
58
|
-
const n = f;
|
|
59
|
-
return l(), i("div", w, [
|
|
60
|
-
e("div", D, [
|
|
61
|
-
e("div", F, [
|
|
62
|
-
g(n, {
|
|
63
|
-
name: "icon_layout",
|
|
64
|
-
class: "text-base mr-[6px]",
|
|
65
|
-
size: 22
|
|
66
|
-
}),
|
|
67
|
-
t[0] || (t[0] = e("span", { class: "text-[16px] text-[#1d2129] dark:text-[#C9CDD4]" }, "布局模式", -1))
|
|
68
|
-
]),
|
|
69
|
-
e("div", E, [
|
|
70
|
-
t[3] || (t[3] = e("div", { class: "flex-none w-[110px] text-right font-400 text-[#4e5969] text-[14px] pt-10px dark:text-[#C9CDD4]" }, " 模式选择 ", -1)),
|
|
71
|
-
e("div", j, [
|
|
72
|
-
(l(!0), i(_, null, y(r(p), (o) => (l(), i("div", {
|
|
73
|
-
key: o.active,
|
|
74
|
-
class: d(["item", [r(a) === o.active ? "active" : "", `item-${o.active}`]]),
|
|
75
|
-
aspect: "[9/6]",
|
|
76
|
-
onClick: ($) => x(o.active)
|
|
77
|
-
}, [
|
|
78
|
-
e("div", I, S(o.describe), 1),
|
|
79
|
-
e("div", {
|
|
80
|
-
class: d(["my-[6px] mode", `mode-${o.active}`])
|
|
81
|
-
}, t[1] || (t[1] = [
|
|
82
|
-
e("div", { class: "mode-container" }, null, -1)
|
|
83
|
-
]), 2),
|
|
84
|
-
t[2] || (t[2] = e("div", { class: "flex-1 w-[75%] rounded-[8px] jb py-[10px] flex justify-center" }, [
|
|
85
|
-
e("div", { class: "layout-demo" })
|
|
86
|
-
], -1))
|
|
87
|
-
], 10, B))), 128))
|
|
88
|
-
])
|
|
89
|
-
])
|
|
90
|
-
])
|
|
91
|
-
]);
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
}), A = /* @__PURE__ */ C(M, [["__scopeId", "data-v-26087915"]]);
|
|
95
|
-
export {
|
|
96
|
-
A as default
|
|
97
|
-
};
|
package/dist/index-BhZNbJp6.js
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import { Space as P, Button as $ } from "ant-design-vue/es";
|
|
2
|
-
import { useAuth as M, PubinfoIcon as W } from "pubinfo-nightly";
|
|
3
|
-
import { PlusCircleOutlined as S } from "@ant-design/icons-vue";
|
|
4
|
-
import { defineComponent as q, ref as d, resolveDirective as L, createElementBlock as h, openBlock as r, createVNode as c, unref as a, withCtx as _, createBlock as w, createCommentVNode as X, withDirectives as v, createElementVNode as y, toDisplayString as x, createTextVNode as j } from "vue";
|
|
5
|
-
import { ProTable as G } from "@pubinfo/pro-components";
|
|
6
|
-
import { Modal as K, message as z } from "ant-design-vue";
|
|
7
|
-
import "./index.js";
|
|
8
|
-
import { A as o, _ as F, g as H, a as J } from "./drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js";
|
|
9
|
-
import { c as Q } from "./cloneDeep-BOLZdR62.js";
|
|
10
|
-
const U = {
|
|
11
|
-
"w-full": "",
|
|
12
|
-
"h-full": "",
|
|
13
|
-
"py-10px": "",
|
|
14
|
-
"px-10px": ""
|
|
15
|
-
}, Y = ["onClick"], Z = {
|
|
16
|
-
class: "ml-4px"
|
|
17
|
-
}, ee = ["onClick"], te = {
|
|
18
|
-
class: "ml-4px"
|
|
19
|
-
}, ne = ["onClick"], ae = {
|
|
20
|
-
class: "ml-4px"
|
|
21
|
-
}, me = /* @__PURE__ */ q({
|
|
22
|
-
name: "RegionManage",
|
|
23
|
-
__name: "index",
|
|
24
|
-
setup(oe) {
|
|
25
|
-
const {
|
|
26
|
-
auth: T
|
|
27
|
-
} = M(), s = d({
|
|
28
|
-
parentId: ""
|
|
29
|
-
}), l = d([]), i = d({}), g = d(), u = d(), I = d([]);
|
|
30
|
-
function A(t) {
|
|
31
|
-
I.value = t;
|
|
32
|
-
}
|
|
33
|
-
const N = [{
|
|
34
|
-
minWidth: 240,
|
|
35
|
-
title: "区域名称",
|
|
36
|
-
dataIndex: "name",
|
|
37
|
-
ellipsis: !0
|
|
38
|
-
}, {
|
|
39
|
-
minWidth: 100,
|
|
40
|
-
title: "区域范围",
|
|
41
|
-
dataIndex: "type"
|
|
42
|
-
}, {
|
|
43
|
-
minWidth: 140,
|
|
44
|
-
title: "行政区划编码",
|
|
45
|
-
dataIndex: "code",
|
|
46
|
-
ellipsis: !0
|
|
47
|
-
}, {
|
|
48
|
-
minWidth: 100,
|
|
49
|
-
title: "区域编码",
|
|
50
|
-
dataIndex: "regionCode"
|
|
51
|
-
}, {
|
|
52
|
-
minWidth: 100,
|
|
53
|
-
title: "显示顺序",
|
|
54
|
-
dataIndex: "sort"
|
|
55
|
-
}, {
|
|
56
|
-
hideInSearch: !0,
|
|
57
|
-
title: "操作",
|
|
58
|
-
dataIndex: "action",
|
|
59
|
-
width: 240,
|
|
60
|
-
fixed: "right",
|
|
61
|
-
hideInTable() {
|
|
62
|
-
return !T(["region_add_child", "region_edit", "region_remove"]);
|
|
63
|
-
}
|
|
64
|
-
}];
|
|
65
|
-
function p(t, e) {
|
|
66
|
-
switch (t) {
|
|
67
|
-
case o.ADDNEXT:
|
|
68
|
-
s.value.parentId = e.id, i.value = e, u.value?.open(t, e);
|
|
69
|
-
break;
|
|
70
|
-
case o.ADD:
|
|
71
|
-
s.value.parentId = "", i.value = {}, u.value?.open(t);
|
|
72
|
-
break;
|
|
73
|
-
case o.EDIT:
|
|
74
|
-
s.value.parentId = e.parentId, i.value = D(l.value, s.value.parentId), u.value?.open(t, e);
|
|
75
|
-
break;
|
|
76
|
-
case o.REMOVE:
|
|
77
|
-
s.value.parentId = e.parentId, i.value = D(l.value, s.value.parentId), K.confirm({
|
|
78
|
-
title: "删除",
|
|
79
|
-
content: "确定要删除该区域吗?",
|
|
80
|
-
onOk() {
|
|
81
|
-
H({
|
|
82
|
-
code: e.code
|
|
83
|
-
}).then((n) => {
|
|
84
|
-
n.success && (z.success("删除成功"), R());
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
async function O() {
|
|
92
|
-
const t = await J({
|
|
93
|
-
...s.value
|
|
94
|
-
});
|
|
95
|
-
return i.value && Object.keys(i.value).length > 0 ? t.data.length > 0 ? i.value.children = t.data?.map((n) => ({
|
|
96
|
-
...n,
|
|
97
|
-
children: n.isLeaf ? void 0 : []
|
|
98
|
-
})) : i.value.children = void 0 : (I.value = [], l.value = t.data?.map((e) => ({
|
|
99
|
-
...e,
|
|
100
|
-
children: e.isLeaf ? void 0 : []
|
|
101
|
-
}))), {
|
|
102
|
-
success: !0,
|
|
103
|
-
data: l.value
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function B(t, e) {
|
|
107
|
-
const n = Q(e);
|
|
108
|
-
t && n.children?.length === 0 && (s.value.parentId = e.id, i.value = e, g.value?.fetch());
|
|
109
|
-
}
|
|
110
|
-
function R() {
|
|
111
|
-
g.value?.reload();
|
|
112
|
-
}
|
|
113
|
-
function D(t, e) {
|
|
114
|
-
for (const n of t) {
|
|
115
|
-
if (n.id === e)
|
|
116
|
-
return n;
|
|
117
|
-
if (n.children) {
|
|
118
|
-
const f = D(n.children, e);
|
|
119
|
-
if (f)
|
|
120
|
-
return f;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
return (t, e) => {
|
|
125
|
-
const n = S, f = $, k = W, V = P, m = L("auth");
|
|
126
|
-
return r(), h("div", U, [c(a(G), {
|
|
127
|
-
ref_key: "tableRef",
|
|
128
|
-
ref: g,
|
|
129
|
-
"row-key": "id",
|
|
130
|
-
search: !1,
|
|
131
|
-
request: O,
|
|
132
|
-
columns: N,
|
|
133
|
-
"data-source": a(l),
|
|
134
|
-
pagination: !1,
|
|
135
|
-
"auto-height": "",
|
|
136
|
-
"expanded-row-keys": a(I),
|
|
137
|
-
scroll: {
|
|
138
|
-
x: 1100
|
|
139
|
-
},
|
|
140
|
-
onExpandedRowsChange: A,
|
|
141
|
-
onExpand: B
|
|
142
|
-
}, {
|
|
143
|
-
toolbar: _(() => [v((r(), w(f, {
|
|
144
|
-
type: "primary",
|
|
145
|
-
onClick: e[0] || (e[0] = (b) => p(a(o).ADD))
|
|
146
|
-
}, {
|
|
147
|
-
default: _(() => [c(n), j(" " + x(a(o).ADD), 1)]),
|
|
148
|
-
_: 1
|
|
149
|
-
})), [[m, "region_add"]])]),
|
|
150
|
-
bodyCell: _(({
|
|
151
|
-
column: b,
|
|
152
|
-
record: C
|
|
153
|
-
}) => [b.dataIndex === "action" ? (r(), w(V, {
|
|
154
|
-
key: 0
|
|
155
|
-
}, {
|
|
156
|
-
default: _(() => [v((r(), h("a", {
|
|
157
|
-
class: "flex items-center",
|
|
158
|
-
onClick: (E) => p(a(o).ADDNEXT, C)
|
|
159
|
-
}, [c(k, {
|
|
160
|
-
name: "add-child",
|
|
161
|
-
class: "text-base"
|
|
162
|
-
}), y("span", Z, x(a(o).ADDNEXT), 1)], 8, Y)), [[m, "region_add_child"]]), v((r(), h("a", {
|
|
163
|
-
class: "flex items-center",
|
|
164
|
-
onClick: (E) => p(a(o).EDIT, C)
|
|
165
|
-
}, [c(k, {
|
|
166
|
-
name: "edit",
|
|
167
|
-
class: "text-base"
|
|
168
|
-
}), y("span", te, x(a(o).EDIT), 1)], 8, ee)), [[m, "region_edit"]]), v((r(), h("span", {
|
|
169
|
-
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
170
|
-
onClick: (E) => p(a(o).REMOVE, C)
|
|
171
|
-
}, [c(k, {
|
|
172
|
-
name: "remove",
|
|
173
|
-
class: "text-base"
|
|
174
|
-
}), y("span", ae, x(a(o).REMOVE), 1)], 8, ne)), [[m, "region_remove"]])]),
|
|
175
|
-
_: 2
|
|
176
|
-
}, 1024)) : X("", !0)]),
|
|
177
|
-
_: 1
|
|
178
|
-
}, 8, ["data-source", "expanded-row-keys"]), c(F, {
|
|
179
|
-
ref_key: "drawerRegionRef",
|
|
180
|
-
ref: u,
|
|
181
|
-
"tree-data": a(l),
|
|
182
|
-
onSubmit: e[1] || (e[1] = (b) => R())
|
|
183
|
-
}, null, 8, ["tree-data"])]);
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
export {
|
|
188
|
-
me as default
|
|
189
|
-
};
|
package/dist/index-Bm3WQuJD.js
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { Space as U, Button as j } from "ant-design-vue/es";
|
|
2
|
-
import { useAuth as F, PubinfoIcon as H } from "pubinfo-nightly";
|
|
3
|
-
import { PlusCircleOutlined as J } from "@ant-design/icons-vue";
|
|
4
|
-
import { defineComponent as Q, ref as L, computed as u, resolveDirective as X, createElementBlock as p, openBlock as i, createVNode as d, unref as e, withCtx as E, createCommentVNode as T, createBlock as W, createElementVNode as f, normalizeClass as Y, toDisplayString as m, withDirectives as b, createTextVNode as Z } from "vue";
|
|
5
|
-
import { ProTable as ee } from "@pubinfo/pro-components";
|
|
6
|
-
import { message as V, Modal as te } from "ant-design-vue";
|
|
7
|
-
import { _ as se, p as ae, a as le, g as ne } from "./drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js";
|
|
8
|
-
import { u as ie, _ as oe } from "./index.js";
|
|
9
|
-
import { useRoute as ce } from "vue-router";
|
|
10
|
-
import './index.css';var t = /* @__PURE__ */ ((o) => (o.ADD = "新增", o.EDIT = "编辑", o.REMOVE = "删除", o.ENABLE = "启用", o.DISABLE = "停用", o))(t || {});
|
|
11
|
-
const re = {
|
|
12
|
-
"w-full": "",
|
|
13
|
-
"h-full": "",
|
|
14
|
-
"py-10px": "",
|
|
15
|
-
"px-10px": "",
|
|
16
|
-
flex: "",
|
|
17
|
-
"flex-col": "",
|
|
18
|
-
class: "page-black-white-list"
|
|
19
|
-
}, ue = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "flex items-center"
|
|
22
|
-
}, de = {
|
|
23
|
-
class: "ml-4px"
|
|
24
|
-
}, pe = ["onClick"], fe = {
|
|
25
|
-
class: "ml-4px"
|
|
26
|
-
}, me = ["onClick"], _e = {
|
|
27
|
-
class: "ml-4px"
|
|
28
|
-
}, he = ["onClick"], be = {
|
|
29
|
-
class: "ml-4px"
|
|
30
|
-
}, ve = ["onClick"], xe = {
|
|
31
|
-
class: "ml-4px"
|
|
32
|
-
}, ke = /* @__PURE__ */ Q({
|
|
33
|
-
name: "BlackWhiteList",
|
|
34
|
-
__name: "index",
|
|
35
|
-
setup(o) {
|
|
36
|
-
const M = ce(), y = L(M.path.includes("blacklist")), R = u(() => y.value ? 0 : 1), _ = u(() => y.value ? "blacklist" : "whitelist"), C = u(() => `${_.value}_add`), w = u(() => `${_.value}_edit`), $ = u(() => `${_.value}_delete`), S = u(() => `${_.value}_enable`), A = u(() => `${_.value}_disable`), {
|
|
37
|
-
auth: O
|
|
38
|
-
} = F(), P = L(), D = L(), N = [{
|
|
39
|
-
valueType: "a-input",
|
|
40
|
-
minWidth: 60,
|
|
41
|
-
hideInTable: !1,
|
|
42
|
-
title: "IP地址",
|
|
43
|
-
dataIndex: "ip",
|
|
44
|
-
fieldProps: {
|
|
45
|
-
placeholder: "请输入",
|
|
46
|
-
allowClear: !0
|
|
47
|
-
}
|
|
48
|
-
}, {
|
|
49
|
-
hideInSearch: !0,
|
|
50
|
-
minWidth: 200,
|
|
51
|
-
title: "描述",
|
|
52
|
-
dataIndex: "description",
|
|
53
|
-
ellipsis: !0
|
|
54
|
-
}, {
|
|
55
|
-
valueType: "a-select",
|
|
56
|
-
minWidth: 100,
|
|
57
|
-
title: "状态",
|
|
58
|
-
dataIndex: "enable",
|
|
59
|
-
fieldProps: {
|
|
60
|
-
placeholder: "请选择",
|
|
61
|
-
allowClear: !0,
|
|
62
|
-
options: [{
|
|
63
|
-
label: "启用",
|
|
64
|
-
value: 1
|
|
65
|
-
}, {
|
|
66
|
-
label: "停用",
|
|
67
|
-
value: 0
|
|
68
|
-
}]
|
|
69
|
-
},
|
|
70
|
-
ellipsis: !0
|
|
71
|
-
}, {
|
|
72
|
-
hideInSearch: !0,
|
|
73
|
-
title: "操作",
|
|
74
|
-
dataIndex: "action",
|
|
75
|
-
width: 200,
|
|
76
|
-
fixed: "right",
|
|
77
|
-
hideInTable() {
|
|
78
|
-
return !O([C.value, w.value, $.value, S.value, A.value]);
|
|
79
|
-
}
|
|
80
|
-
}];
|
|
81
|
-
async function q(l) {
|
|
82
|
-
const {
|
|
83
|
-
current: a,
|
|
84
|
-
pageSize: s,
|
|
85
|
-
ip: B,
|
|
86
|
-
enable: c
|
|
87
|
-
} = l, x = {
|
|
88
|
-
ip: B,
|
|
89
|
-
pageSize: s,
|
|
90
|
-
currentPage: a,
|
|
91
|
-
doSearchTotal: !0,
|
|
92
|
-
type: R.value
|
|
93
|
-
};
|
|
94
|
-
c !== void 0 && (x.enable = c);
|
|
95
|
-
const n = await ae(x);
|
|
96
|
-
return {
|
|
97
|
-
success: n.success,
|
|
98
|
-
data: n.data?.records ?? [],
|
|
99
|
-
total: n.data?.total ?? 0
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
function g() {
|
|
103
|
-
P.value.reload();
|
|
104
|
-
}
|
|
105
|
-
const [z, v] = ie(!1);
|
|
106
|
-
function G(l, a) {
|
|
107
|
-
te.confirm({
|
|
108
|
-
title: "删除",
|
|
109
|
-
content: `确定要删除该条${l}数据吗?`,
|
|
110
|
-
async onOk() {
|
|
111
|
-
v(!0), ne({
|
|
112
|
-
id: a?.id
|
|
113
|
-
}).then((s) => {
|
|
114
|
-
s.success && (V.success("删除成功"), g());
|
|
115
|
-
}).finally(() => v(!1));
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
function K(l) {
|
|
120
|
-
v(!0), le({
|
|
121
|
-
id: l?.id,
|
|
122
|
-
enable: !l?.enable
|
|
123
|
-
}).then((a) => {
|
|
124
|
-
if (a.success) {
|
|
125
|
-
let s = "";
|
|
126
|
-
l?.enable ? s = "停用成功!" : s = "启用成功!", V.success(s), g();
|
|
127
|
-
}
|
|
128
|
-
}).finally(() => v(!1));
|
|
129
|
-
}
|
|
130
|
-
function h(l, a) {
|
|
131
|
-
if (z.value)
|
|
132
|
-
return;
|
|
133
|
-
let s = "";
|
|
134
|
-
switch (y.value ? s = "黑名单" : s = "白名单", l) {
|
|
135
|
-
case t.ADD:
|
|
136
|
-
D.value.open(l + s, !1);
|
|
137
|
-
break;
|
|
138
|
-
case t.EDIT:
|
|
139
|
-
D.value.open(l + s, !0, a);
|
|
140
|
-
break;
|
|
141
|
-
case t.REMOVE:
|
|
142
|
-
G(s, a);
|
|
143
|
-
break;
|
|
144
|
-
case t.ENABLE:
|
|
145
|
-
case t.DISABLE:
|
|
146
|
-
K(a);
|
|
147
|
-
break;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
return (l, a) => {
|
|
151
|
-
const s = J, B = j, c = H, x = U, n = X("auth");
|
|
152
|
-
return i(), p("div", re, [d(e(ee), {
|
|
153
|
-
ref_key: "tableRef",
|
|
154
|
-
ref: P,
|
|
155
|
-
"row-key": "id",
|
|
156
|
-
request: q,
|
|
157
|
-
columns: N,
|
|
158
|
-
"auto-height": "",
|
|
159
|
-
scroll: {
|
|
160
|
-
x: 1e3
|
|
161
|
-
}
|
|
162
|
-
}, {
|
|
163
|
-
toolbar: E(() => [b((i(), W(B, {
|
|
164
|
-
type: "primary",
|
|
165
|
-
onClick: a[0] || (a[0] = (k) => h(e(t).ADD))
|
|
166
|
-
}, {
|
|
167
|
-
default: E(() => [d(s), Z(" " + m(e(t).ADD), 1)]),
|
|
168
|
-
_: 1
|
|
169
|
-
})), [[n, e(C)]])]),
|
|
170
|
-
bodyCell: E(({
|
|
171
|
-
column: k,
|
|
172
|
-
record: r
|
|
173
|
-
}) => [k.dataIndex === "enable" ? (i(), p("div", ue, [f("i", {
|
|
174
|
-
class: Y(["status-mark", [{
|
|
175
|
-
active: r.enable
|
|
176
|
-
}]])
|
|
177
|
-
}, null, 2), f("span", de, m(r.enable ? "启用" : "停用"), 1)])) : T("", !0), k.dataIndex === "action" ? (i(), W(x, {
|
|
178
|
-
key: 1
|
|
179
|
-
}, {
|
|
180
|
-
default: E(() => [b((i(), p("a", {
|
|
181
|
-
class: "flex items-center hover:opacity-80",
|
|
182
|
-
onClick: (I) => h(e(t).EDIT, r)
|
|
183
|
-
}, [d(c, {
|
|
184
|
-
name: "edit",
|
|
185
|
-
class: "text-base"
|
|
186
|
-
}), f("span", fe, m(e(t).EDIT), 1)], 8, pe)), [[n, e(w)]]), b((i(), p("span", {
|
|
187
|
-
flex: "",
|
|
188
|
-
"items-center": "",
|
|
189
|
-
"text-red-500": "",
|
|
190
|
-
"hover:cursor-pointer": "",
|
|
191
|
-
"hover:text-red-500": "",
|
|
192
|
-
"hover:opacity-80": "",
|
|
193
|
-
onClick: (I) => h(e(t).REMOVE, r)
|
|
194
|
-
}, [d(c, {
|
|
195
|
-
name: "remove",
|
|
196
|
-
class: "text-base"
|
|
197
|
-
}), f("span", _e, m(e(t).REMOVE), 1)], 8, me)), [[n, e($)]]), r.enable ? b((i(), p("a", {
|
|
198
|
-
key: 0,
|
|
199
|
-
class: "flex items-center",
|
|
200
|
-
onClick: (I) => h(e(t).DISABLE, r)
|
|
201
|
-
}, [d(c, {
|
|
202
|
-
name: "blacklist-disable",
|
|
203
|
-
class: "text-20px"
|
|
204
|
-
}), f("span", be, m(e(t).DISABLE), 1)], 8, he)), [[n, e(A)]]) : b((i(), p("a", {
|
|
205
|
-
key: 1,
|
|
206
|
-
class: "flex items-center",
|
|
207
|
-
onClick: (I) => h(e(t).ENABLE, r)
|
|
208
|
-
}, [d(c, {
|
|
209
|
-
name: "blacklist-enable",
|
|
210
|
-
class: "text-20px"
|
|
211
|
-
}), f("span", xe, m(e(t).ENABLE), 1)], 8, ve)), [[n, e(S)]])]),
|
|
212
|
-
_: 2
|
|
213
|
-
}, 1024)) : T("", !0)]),
|
|
214
|
-
_: 1
|
|
215
|
-
}, 512), d(se, {
|
|
216
|
-
ref_key: "drawerRef",
|
|
217
|
-
ref: D,
|
|
218
|
-
type: e(R),
|
|
219
|
-
onSubmit: a[1] || (a[1] = (k) => g())
|
|
220
|
-
}, null, 8, ["type"])]);
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
}), $e = /* @__PURE__ */ oe(ke, [["__scopeId", "data-v-f5caa334"]]);
|
|
224
|
-
export {
|
|
225
|
-
$e as default
|
|
226
|
-
};
|