@pubinfo-nightly/module-rbac 2025.12.8 → 2025.12.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentSelect-D0OCk6H1.js +3572 -0
- package/dist/ComponentSelect-WO-3S5rH.js +2 -0
- package/dist/DynamicRoutesForm-DP_sq_Uu.js +168 -0
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +4 -0
- package/dist/HCheckList-B5Qk_HBI.js +2 -0
- package/dist/HCheckList-DLBewmPw.js +36 -0
- package/dist/HoverCard-69ZIOivd.js +2 -0
- package/dist/HoverCard-BDFcxxvk.js +43 -0
- package/dist/IconSelect-1pVgA_5l.js +705 -0
- package/dist/IconSelect-C5KTdyzv.js +3 -0
- package/dist/IconSelect.css +1 -1
- package/dist/ImportExport-CL5uPlby.js +342 -0
- package/dist/ImportExport-CPy2rvv7.js +4 -0
- package/dist/LayoutForm-Cp4bBrYl.js +124 -0
- package/dist/LayoutForm-QFjwakyQ.js +4 -0
- package/dist/MetaForm-Bb-um1Zo.js +4 -0
- package/dist/MetaForm-CVSgktB_.js +38917 -0
- package/dist/OrgAndPosition-ClASobEv.js +183 -0
- package/dist/OrgAndPosition-DoiGY5xb.js +2 -0
- package/dist/ResourceEdit-BX6xdiXV.js +10 -0
- package/dist/ResourceEdit-Dwr5KLyS.js +380 -0
- package/dist/ResourceRelation-BIOzTOKA.js +2 -0
- package/dist/ResourceRelation-ChEwIbWM.js +76 -0
- package/dist/ResourceRelation-D_j898zp.js +90 -0
- package/dist/ResourceRelation.css +1 -1
- package/dist/ResourceRelation2.css +1 -1
- package/dist/RoleRelation-CyTcqRfZ.js +2 -0
- package/dist/RoleRelation-DzyVn5dk.js +78 -0
- package/dist/RoleSelector-Cd6_RUsc.js +275 -0
- package/dist/TenantEdit-BOvXk7BZ.js +245 -0
- package/dist/TenantEdit-BlMmL6q5.js +2 -0
- package/dist/UserAuthorization-DLeivbs7.js +232 -0
- package/dist/UserAuthorization-qGr1Sdat.js +3 -0
- package/dist/UserEdit-CwfyqNWf.js +3 -0
- package/dist/UserEdit-YKS1FVW_.js +319 -0
- package/dist/add-child-CFHHkjfg.js +2 -0
- package/dist/animation_item-BU-LInxP.js +4485 -0
- package/dist/animation_item-GzGItm3s.js +2 -0
- package/dist/api/modules/assist/gonggaofuwu.d.ts +7 -7
- package/dist/api/modules/assist/qunzujiekou.d.ts +7 -7
- package/dist/api/modules/assist/quyujiekou.d.ts +6 -6
- package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +6 -6
- package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +15 -15
- package/dist/api/modules/configData/zidifuwu.d.ts +11 -11
- package/dist/api/modules/log/caozuorizhifuwu.d.ts +3 -3
- package/dist/api/modules/log/denglurizhifuwu.d.ts +3 -3
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -7
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +8 -8
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +8 -8
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +10 -10
- package/dist/api/modules/rbac/yonghujiekou.d.ts +16 -16
- package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +6 -6
- package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +5 -5
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +7 -7
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +14 -14
- package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +6 -6
- package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +5 -5
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +10 -10
- package/dist/api/request.d.ts +1 -1
- package/dist/authority-L7SfiMdP.js +2 -0
- package/dist/authorize-qMpV_BXT.js +2 -0
- package/dist/blackWhiteList-FZezar30.js +210 -0
- package/dist/blackWhiteList.css +1 -0
- package/dist/blacklist-disable-BT6Xx-JG.js +2 -0
- package/dist/blacklist-enable-CJ6DK_V2.js +2 -0
- package/dist/breadcrumb_setting-Ds-XJRR1.js +108 -0
- package/dist/browser-chrome-DuAegVCe.js +2 -0
- package/dist/browser-edge-DzkWdXRd.js +2 -0
- package/dist/browser-ie-DZ9g_MXr.js +2 -0
- package/dist/browser-other-BmkifoYq.js +2 -0
- package/dist/browser-safari-CXrCuF2a.js +2 -0
- package/dist/browserType-BXTT4j6i.js +2 -0
- package/dist/browserType-Dn_hQtAN.js +25 -0
- package/dist/chunk-Cpsc_9al.js +18 -0
- package/dist/cloneDeep-DDAtsK42.js +7 -0
- package/dist/components/DirectoryIcones/ComponentsIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/FolderIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/ModuleIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/PackagesIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/SrcIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/ViewIcones.vue.d.ts +3 -2
- package/dist/components/DirectoryIcones/VueIcones.vue.d.ts +2 -1
- package/dist/components/GroupSelector/index.vue.d.ts +5 -10
- package/dist/components/JsonEditorModal/index.vue.d.ts +20 -0
- package/dist/components/OrgTree/index.vue.d.ts +6 -0
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +15 -18
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +15 -18
- package/dist/components/OrgUserSelector/index.d.ts +4 -2
- package/dist/components/OrgUserSelector/provider.d.ts +1 -1
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +4 -6
- package/dist/components/ResourceIcones/Select.vue.d.ts +14 -23
- package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +16 -7
- package/dist/components/ResourceSelector/index.vue.d.ts +10 -14
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +6 -12
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +8 -12
- package/dist/components/RoleSelector/TooltipLabel.vue.d.ts +3 -2
- package/dist/components/RoleSelector/useRole.d.ts +68 -4
- package/dist/composables/useLottie.d.ts +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/createAndEditDataPermission-CChlLDUm.js +5 -0
- package/dist/createAndEditDataPermission-CaOBJgoV.js +430 -0
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/data-permission-ZRQ-Aoib.js +152 -0
- package/dist/dayjs.min-sGDSMYRj.js +297 -0
- package/dist/dictionary-CtGgtPfc.js +179 -0
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +2 -0
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +119 -0
- package/dist/drawerDictionary-D911w7pC.js +2 -0
- package/dist/drawerDictionary-dMHs-6Cw.js +125 -0
- package/dist/drawerDictionaryItem-CbTa_qL-.js +137 -0
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +2 -0
- package/dist/drawerGroup-CEEDMBg9.js +3 -0
- package/dist/drawerGroup-DEuiiDPP.js +184 -0
- package/dist/drawerOrganization-CqEMD3gE.js +246 -0
- package/dist/drawerOrganization-mks5NMd9.js +2 -0
- package/dist/drawerPosition-Bd0s7qze.js +165 -0
- package/dist/drawerPosition-DwlTrlGA.js +2 -0
- package/dist/drawerRegion-DUbQAZuV.js +182 -0
- package/dist/drawerRegion-DwVzsZfT.js +2 -0
- package/dist/drawerRole-BNrbcSmr.js +3 -0
- package/dist/drawerRole-BxUIekjh.js +3 -0
- package/dist/drawerRole-CyA2oFht.js +4 -0
- package/dist/drawerRole-D5X7oHB_.js +153 -0
- package/dist/drawerRole-DNDyOvXw.js +166 -0
- package/dist/drawerRole-Dv61PBZR.js +208 -0
- package/dist/edit-fZ7h_z_Z.js +2 -0
- package/dist/enum-3E_sUqRF.js +50 -0
- package/dist/enum-3mYayxff.js +61 -0
- package/dist/enum-Cr7uWnB2.js +23 -0
- package/dist/enum-D2UEJsrC.js +4 -0
- package/dist/group-BbkZjv5e.js +172 -0
- package/dist/group.css +1 -0
- package/dist/icard-H-d9Pip-.js +2 -0
- package/dist/icon_animation-BCdRKkE5.js +2 -0
- package/dist/icon_breadcrumb-BR6LK8hP.js +2 -0
- package/dist/icon_copyright-BfWn1s6t.js +2 -0
- package/dist/icon_jt-DOMTq9De.js +2 -0
- package/dist/icon_layout-DKqAThpM.js +2 -0
- package/dist/icon_mainpage-CXB9JMGv.js +2 -0
- package/dist/icon_menu-BYQtWV-Q.js +2 -0
- package/dist/icon_page_size-r-z4oHWp.js +2 -0
- package/dist/icon_position_type-JDFdklRh.js +2 -0
- package/dist/icon_safe_manage-BDTIOduB.js +2 -0
- package/dist/icon_screen_scale-vEaAdr9S.js +2 -0
- package/dist/icon_system_manage-CkhQtieE.js +2 -0
- package/dist/icon_tabbar-DZNj-h-p.js +2 -0
- package/dist/icon_toolbar-BBYhGmEf.js +2 -0
- package/dist/icon_topbar-Bc379eaS.js +2 -0
- package/dist/icon_watermark-CTP8r-e2.js +2 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7503 -7465
- package/dist/interface.d.ts +2 -2
- package/dist/isEmpty-BvRqbmpu.js +13 -0
- package/dist/itemlist-By-FV6pN.js +156 -0
- package/dist/layout_setting-BUAgQ1Bk.js +68 -0
- package/dist/layout_setting.css +1 -0
- package/dist/log-center-CGT-BGAN.js +2 -0
- package/dist/log-vjU7aBPR.js +14 -0
- package/dist/loginHistoryDetail-C7GT2yME.js +77 -0
- package/dist/loginHistoryDetail-CkH5UUGU.js +3 -0
- package/dist/login_history-D08W00Qu.js +195 -0
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-5Jet091Q.js +155 -0
- package/dist/not-data-Cx--tk_h.js +2 -0
- package/dist/not-data-tyTawN37.js +2 -0
- package/dist/operateHistoryDetail-BaNJRfwy.js +89 -0
- package/dist/operateHistoryDetail-CeVPJzD6.js +3 -0
- package/dist/operate_history-kJwIuPg2.js +190 -0
- package/dist/operate_history.css +1 -1
- package/dist/org-main-DnftBa38.js +2 -0
- package/dist/org-unmain-ByMarqFw.js +2 -0
- package/dist/organization-Cmj3DUXl.js +15322 -0
- package/dist/organization.css +1 -0
- package/dist/other_setting-DQ70WnZK.js +213 -0
- package/dist/other_setting.css +1 -0
- package/dist/page_animation_setting-Lp6cMuFM.js +108 -0
- package/dist/page_animation_setting.css +1 -0
- package/dist/page_w_setting-CD_HtSUv.js +63 -0
- package/dist/page_w_setting.css +1 -0
- package/dist/position-CLpbgKGj.js +166 -0
- package/dist/region-Dd9pt_Si.js +179 -0
- package/dist/remove-DfZZBE2T.js +2 -0
- package/dist/resource-B-gkg5Ti.js +271 -0
- package/dist/resource-app-QSLZ7Hts.js +2 -0
- package/dist/resource-btn-BcB4xMgR.js +2 -0
- package/dist/resource-dynamic-D69oEbaO.js +2 -0
- package/dist/resource-index-BIHr3PZY.js +2 -0
- package/dist/resource-menu-0JSNn7S7.js +2 -0
- package/dist/resource-micro-CcX_pmaJ.js +2 -0
- package/dist/resource-nonmenu-DFItasMT.js +2 -0
- package/dist/role-JGtvRObt.js +192 -0
- package/dist/role_group-CKOb_m63.js +171 -0
- package/dist/routeSystem-DXMoWhFo.js +2 -0
- package/dist/routes/index.d.ts +2 -2
- package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
- package/dist/routes/modules/log.manage.menu.d.ts +1 -1
- package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
- package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
- package/dist/routes/modules/system.manage.menu.d.ts +1 -1
- package/dist/safe_setting-G_ZP-jWQ.js +221 -0
- package/dist/setItem-Qa7UapHO.js +4 -0
- package/dist/setItem-yKhjmUh0.js +76 -0
- package/dist/setItem.css +1 -1
- package/dist/setting-manage-C9whamLP.js +2 -0
- package/dist/stores/view.d.ts +127 -22
- package/dist/stores-DPQF8JRt.js +2 -0
- package/dist/tabbar_setting-B3kMhRNm.js +139 -0
- package/dist/tenant-BBiCJkU_.js +177 -0
- package/dist/theme-check-mark-DG4oWCQN.js +2 -0
- package/dist/theme-title-BCYnl2jK.js +2 -0
- package/dist/theme_setting-vhNDLlkc.js +111 -0
- package/dist/theme_setting.css +1 -0
- package/dist/{index-C2G4xRrJ.js → toolbar_setting-DNBdxeGP.js} +140 -144
- package/dist/useAppAndResource-CPL2VpOJ.js +52 -0
- package/dist/user-DvCyUhZW.js +339 -0
- package/dist/utils/routeSystem.d.ts +133 -28
- package/dist/vanilla-picker-DcG96G63.js +724 -0
- package/dist/view-Bnu34EJT.js +2 -0
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +3 -8
- package/dist/views/blackWhiteList/index.vue.d.ts +2 -1534
- package/dist/views/breadcrumb_setting/animationData.d.ts +6 -6
- package/dist/views/breadcrumb_setting/index.vue.d.ts +2 -1
- package/dist/views/components/HCheckList.vue.d.ts +4 -3
- package/dist/views/components/animation_item.vue.d.ts +4 -5
- package/dist/views/components/setItem.vue.d.ts +3 -35
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -169
- package/dist/views/data-permission/index.vue.d.ts +2 -1690
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +3 -8
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +3 -8
- package/dist/views/dictionary/index.vue.d.ts +2 -1531
- package/dist/views/dictionary/itemlist.vue.d.ts +2 -1531
- package/dist/views/group/components/drawerGroup.vue.d.ts +3 -8
- package/dist/views/group/index.vue.d.ts +2 -1531
- package/dist/views/layout_setting/index.vue.d.ts +2 -1
- package/dist/views/log_center/components/browserType.vue.d.ts +4 -3
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -10
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -10
- package/dist/views/log_center/login_history.vue.d.ts +2 -1510
- package/dist/views/log_center/operate_history.vue.d.ts +2 -1510
- package/dist/views/menu_setting/animationData.d.ts +12 -12
- package/dist/views/menu_setting/index.vue.d.ts +2 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +3 -8
- package/dist/views/organization/components/drawerRole.vue.d.ts +3 -41
- package/dist/views/organization/index.vue.d.ts +2 -80
- package/dist/views/other_setting/animationData.d.ts +6 -6
- package/dist/views/other_setting/index.vue.d.ts +2 -1
- package/dist/views/other_setting/interface.d.ts +1 -1
- package/dist/views/page_animation_setting/animationData.d.ts +10 -10
- package/dist/views/page_animation_setting/index.vue.d.ts +2 -1
- package/dist/views/page_w_setting/index.vue.d.ts +2 -1
- package/dist/views/position/components/drawerPosition.vue.d.ts +3 -8
- package/dist/views/position/index.vue.d.ts +2 -1531
- package/dist/views/region/components/drawerRegion.vue.d.ts +3 -8
- package/dist/views/region/index.vue.d.ts +2 -1532
- package/dist/views/resource/components/ComponentSelect.vue.d.ts +5 -6
- package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +8 -6
- package/dist/views/resource/components/HoverCard.vue.d.ts +9 -12
- package/dist/views/resource/components/IconSelect.vue.d.ts +6 -5
- package/dist/views/resource/components/ImportExport.vue.d.ts +4 -7
- package/dist/views/resource/components/LayoutForm.vue.d.ts +6 -5
- package/dist/views/resource/components/MetaForm.vue.d.ts +6 -5
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -9
- package/dist/views/resource/components/RoleRelation.vue.d.ts +4 -3
- package/dist/views/resource/hooks/useLayoutForm.d.ts +5 -4
- package/dist/views/resource/hooks/useMetaForm.d.ts +12 -3
- package/dist/views/resource/index.vue.d.ts +2 -1570
- package/dist/views/resource/interface.d.ts +1 -1
- package/dist/views/role/components/ResourceRelation.vue.d.ts +4 -1512
- package/dist/views/role/components/drawerRole.vue.d.ts +3 -45
- package/dist/views/role/index.vue.d.ts +2 -3089
- package/dist/views/role_group/components/drawerRole.vue.d.ts +3 -41
- package/dist/views/role_group/index.vue.d.ts +2 -1564
- package/dist/views/safe_setting/index.vue.d.ts +2 -3
- package/dist/views/tabbar_setting/animationData.d.ts +10 -10
- package/dist/views/tabbar_setting/index.vue.d.ts +2 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +4 -10
- package/dist/views/tenant/index.vue.d.ts +2 -1533
- package/dist/views/theme_setting/index.vue.d.ts +2 -1
- package/dist/views/toolbar_setting/animationData.d.ts +14 -14
- package/dist/views/toolbar_setting/index.vue.d.ts +2 -1
- package/dist/views/user/components/OrgAndPosition.vue.d.ts +8 -7
- package/dist/views/user/components/UserAuthorization.vue.d.ts +3 -41
- package/dist/views/user/components/UserEdit.vue.d.ts +4 -9
- package/dist/views/user/index.vue.d.ts +2 -1593
- package/dist/views/watermark_setting/animationData.d.ts +2 -2
- package/dist/views/watermark_setting/index.vue.d.ts +2 -30
- package/dist/watermark_setting-CXp4Og0Y.js +191 -0
- package/dist/watermark_setting.css +1 -0
- package/dist/zddata-Ceyga3_2.js +2 -0
- package/dist/zy_checked-DvD7k9F8.js +2 -0
- package/dist/zy_default-DJ2tB3Fo.js +2 -0
- package/package.json +7 -5
- package/dist/ComponentSelect-ZLey_5w7.js +0 -4
- package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +0 -3981
- package/dist/DynamicRoutesForm-BU4EAISs.js +0 -4
- package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js +0 -179
- package/dist/HCheckList-Dkxhu1br.js +0 -4
- package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +0 -41
- package/dist/HoverCard-7agF2aDO.js +0 -4
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js +0 -62
- package/dist/IconSelect-DtNpk3Rj.js +0 -4
- package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +0 -757
- package/dist/ImportExport-DAe_Sl13.js +0 -4
- package/dist/ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js +0 -456
- package/dist/LayoutForm-Pv6UyKl3.js +0 -173
- package/dist/MetaForm-BMPtZc0g.js +0 -42413
- package/dist/OrgAndPosition-R-YixdXG.js +0 -4
- package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js +0 -195
- package/dist/ResourceEdit-D59JUDvG.js +0 -4
- package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-IWn27Vz1.js +0 -429
- package/dist/ResourceRelation-CeM9Eq39.js +0 -90
- package/dist/ResourceRelation-qhIdXLAy.js +0 -111
- package/dist/RoleRelation-BuqK0cnl.js +0 -4
- package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +0 -93
- package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +0 -352
- package/dist/TenantEdit-C61O1pSu.js +0 -4
- package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js +0 -306
- package/dist/UserAuthorization-Ch_iKzms.js +0 -273
- package/dist/UserEdit-B1fnFcSC.js +0 -4
- package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +0 -315
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/add-child-B9gDBQjZ.js +0 -4
- package/dist/animation_item-BZ1HNA6o.js +0 -4
- package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +0 -4858
- package/dist/authority-B-0S66Fv.js +0 -4
- package/dist/authorize-DnyYvAo3.js +0 -4
- package/dist/blacklist-disable-DzVU8JLV.js +0 -4
- package/dist/blacklist-enable-BmWQR1i4.js +0 -4
- package/dist/browser-chrome-O9MASusF.js +0 -4
- package/dist/browser-edge-Dk6N_uRy.js +0 -4
- package/dist/browser-ie-Dtz7hQTC.js +0 -4
- package/dist/browser-other-Crzi8vov.js +0 -4
- package/dist/browser-safari-DF0pVlrn.js +0 -4
- package/dist/browserType-DQySszjD.js +0 -4
- package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +0 -32
- package/dist/cloneDeep-BOLZdR62.js +0 -8
- package/dist/createAndEditDataPermission-DPeFulie.js +0 -4
- package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js +0 -528
- package/dist/dayjs.min-B2Yn1Frg.js +0 -284
- package/dist/drawerBlackWhiteList-eWyKScZN.js +0 -4
- package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js +0 -173
- package/dist/drawerDictionary-BRGmcIFT.js +0 -4
- package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +0 -146
- package/dist/drawerDictionaryItem-CFBfyhEw.js +0 -4
- package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +0 -158
- package/dist/drawerGroup-Bs1Z8XPo.js +0 -4
- package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +0 -202
- package/dist/drawerOrganization-Bs0YtPuo.js +0 -4
- package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +0 -250
- package/dist/drawerPosition-BA_gLotd.js +0 -4
- package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js +0 -181
- package/dist/drawerRegion-CauOP4lh.js +0 -4
- package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js +0 -235
- package/dist/drawerRole-CXGVqxPX.js +0 -4
- package/dist/drawerRole-CfJjf3v_.js +0 -4
- package/dist/drawerRole-nmMTIQYS.js +0 -4
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js +0 -243
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js +0 -197
- package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +0 -191
- package/dist/edit-B69fMWPH.js +0 -4
- package/dist/enum-C9ihxJe7.js +0 -4
- package/dist/enum-D5iPiZiT.js +0 -17
- package/dist/enum-DDKThkSw.js +0 -24
- package/dist/enum-DkSNwGbC.js +0 -74
- package/dist/gangweijiekou-CUGlx4Ni.js +0 -48
- package/dist/icard-C4FaIC0V.js +0 -4
- package/dist/icon_animation-CfRxn8ne.js +0 -4
- package/dist/icon_breadcrumb-CAPCH16K.js +0 -4
- package/dist/icon_copyright-T9HuRtib.js +0 -4
- package/dist/icon_jt-BZgxEG_D.js +0 -4
- package/dist/icon_layout-BynQzkfn.js +0 -4
- package/dist/icon_mainpage-Bu_lyj_6.js +0 -4
- package/dist/icon_menu-D41hl_4p.js +0 -4
- package/dist/icon_page_size-Bioi61il.js +0 -4
- package/dist/icon_position_type-QpezzPDJ.js +0 -4
- package/dist/icon_safe_manage-ByWMOnwf.js +0 -4
- package/dist/icon_screen_scale-CuPyb7Ni.js +0 -4
- package/dist/icon_system_manage-BxRLv7Nw.js +0 -4
- package/dist/icon_tabbar-CetwmJHN.js +0 -4
- package/dist/icon_toolbar-DXt_LXp8.js +0 -4
- package/dist/icon_topbar-C186yIiC.js +0 -4
- package/dist/icon_watermark-DhaloO3m.js +0 -4
- package/dist/index-B0zXLUdu.js +0 -350
- package/dist/index-B5aP0re3.js +0 -170
- package/dist/index-BEB4liGe.js +0 -151
- package/dist/index-BNwGLzXe.js +0 -168
- package/dist/index-BXvJhqJD.js +0 -97
- package/dist/index-BhZNbJp6.js +0 -189
- package/dist/index-Bm3WQuJD.js +0 -226
- package/dist/index-C5WD-YUu.js +0 -246
- package/dist/index-CJQB8KAz.js +0 -186
- package/dist/index-CLnFLvHy.js +0 -193
- package/dist/index-CbVJdR5M.js +0 -194
- package/dist/index-ChWnVs6j.js +0 -196
- package/dist/index-CoZM8pyH.js +0 -197
- package/dist/index-Copy5kiW.js +0 -17701
- package/dist/index-D3Xw_aOi.js +0 -144
- package/dist/index-DHVEXch0.js +0 -253
- package/dist/index-DQhQqT_Z.js +0 -269
- package/dist/index-Dl0hWfIE.js +0 -118
- package/dist/index-En8oOf9e.js +0 -168
- package/dist/index-VZuizuKs.js +0 -257
- package/dist/index-XhYtVVT9.js +0 -88
- package/dist/index-iBmBJd50.js +0 -181
- package/dist/index10.css +0 -1
- package/dist/index13.css +0 -1
- package/dist/index16.css +0 -1
- package/dist/index17.css +0 -1
- package/dist/index4.css +0 -1
- package/dist/index5.css +0 -1
- package/dist/index7.css +0 -1
- package/dist/index8.css +0 -1
- package/dist/index9.css +0 -1
- package/dist/isEmpty-BgDIb4aS.js +0 -20
- package/dist/itemlist-zTYJtoSs.js +0 -172
- package/dist/jiaosejiekou-p42Hm9h3.js +0 -58
- package/dist/log-center-Bw9UlmOq.js +0 -4
- package/dist/loginHistoryDetail-BZVwG8m2.js +0 -105
- package/dist/login_history-CMZGS2PN.js +0 -221
- package/dist/not-data-BDuvYboz.js +0 -4
- package/dist/operateHistoryDetail-Badx3zl-.js +0 -123
- package/dist/operate_history-B42WNY1u.js +0 -217
- package/dist/org-main-DfWpX8Wv.js +0 -4
- package/dist/org-unmain-DrX63NH5.js +0 -4
- package/dist/remove-D2ES5tEr.js +0 -4
- package/dist/resource-app-1lqF6C6F.js +0 -4
- package/dist/resource-btn-Cfo6ddAY.js +0 -4
- package/dist/resource-dynamic-BAwkCWS4.js +0 -4
- package/dist/resource-index-BS4V5uy8.js +0 -4
- package/dist/resource-menu-CEWU8Iis.js +0 -4
- package/dist/resource-micro-9S0h5AlK.js +0 -4
- package/dist/resource-nonmenu-BZ9e4ynT.js +0 -4
- package/dist/setItem-Blb3dox4.js +0 -87
- package/dist/setting-manage-Xj_s0OoK.js +0 -4
- package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +0 -65
- package/dist/theme-check-mark-D58efagJ.js +0 -4
- package/dist/theme-title-CYUX2SBW.js +0 -4
- package/dist/useAppAndResource-DDywX2iz.js +0 -54
- package/dist/vanilla-picker-BAEwS4Fy.js +0 -536
- package/dist/view-BCWU0JWM.js +0 -4
- package/dist/xitongpeizhifuwu-BoCbGEk7.js +0 -23
- package/dist/zddata-DQP5Kx3c.js +0 -4
- package/dist/ziyuanjiekou-BC65-bFK.js +0 -69
- package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +0 -28
- package/dist/zy_checked-Bb6zRsYe.js +0 -4
- package/dist/zy_default-BGjhoury.js +0 -4
- /package/dist/{index2.css → breadcrumb_setting.css} +0 -0
- /package/dist/{index3.css → data-permission.css} +0 -0
- /package/dist/{index6.css → menu_setting.css} +0 -0
- /package/dist/{index11.css → safe_setting.css} +0 -0
- /package/dist/{index12.css → tabbar_setting.css} +0 -0
- /package/dist/{index14.css → toolbar_setting.css} +0 -0
- /package/dist/{index15.css → user.css} +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { Lt as useToggle, et as deleteRbacPubDataPermissionsDelete, h as _plugin_vue_export_helper_default, it as postRbacPubDataPermissionsPageQuery } from "./index.js";
|
|
2
|
+
import "./enum-Cr7uWnB2.js";
|
|
3
|
+
import { t as createAndEditDataPermission_default } from "./createAndEditDataPermission-CaOBJgoV.js";
|
|
4
|
+
import "./useAppAndResource-CPL2VpOJ.js";
|
|
5
|
+
import { a as dataPermissionTypeLabel, i as dataPermissionOptionsAll, t as ACTION } from "./enum-3mYayxff.js";
|
|
6
|
+
import { PubinfoIcon } from "pubinfo-nightly";
|
|
7
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
|
|
8
|
+
import { PlusCircleOutlined } from "@ant-design/icons-vue";
|
|
9
|
+
import { Modal, message } from "ant-design-vue";
|
|
10
|
+
import { Button, Space as Space$1 } from "ant-design-vue/es";
|
|
11
|
+
import { ProTable } from "@pubinfo/pro-components";
|
|
12
|
+
import './data-permission.css';var _hoisted_1 = {
|
|
13
|
+
"w-full": "",
|
|
14
|
+
"h-full": "",
|
|
15
|
+
"py-10px": "",
|
|
16
|
+
"px-10px": "",
|
|
17
|
+
flex: "",
|
|
18
|
+
"flex-col": "",
|
|
19
|
+
class: "page-data-permission"
|
|
20
|
+
}, _hoisted_2 = { key: 0 }, _hoisted_3 = ["onClick"], _hoisted_4 = { class: "ml-4px" }, _hoisted_5 = ["onClick"], _hoisted_6 = { class: "ml-4px" }, data_permission_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
21
|
+
name: "DataPermission",
|
|
22
|
+
__name: "index",
|
|
23
|
+
setup(D) {
|
|
24
|
+
let M = ref(), F = ref(), I = [
|
|
25
|
+
{
|
|
26
|
+
valueType: "a-input",
|
|
27
|
+
title: "数据权限名称",
|
|
28
|
+
dataIndex: "name",
|
|
29
|
+
fieldProps: {
|
|
30
|
+
placeholder: "请输入",
|
|
31
|
+
allowClear: !0
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
valueType: "a-select",
|
|
36
|
+
title: "数据权限规则",
|
|
37
|
+
dataIndex: "type",
|
|
38
|
+
fieldProps: {
|
|
39
|
+
placeholder: "请选择",
|
|
40
|
+
allowClear: !0,
|
|
41
|
+
options: dataPermissionOptionsAll
|
|
42
|
+
},
|
|
43
|
+
ellipsis: !0
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
hideInSearch: !0,
|
|
47
|
+
title: "创建时间",
|
|
48
|
+
dataIndex: "createTime",
|
|
49
|
+
ellipsis: !0
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
hideInSearch: !0,
|
|
53
|
+
title: "更新时间",
|
|
54
|
+
dataIndex: "updateTime",
|
|
55
|
+
ellipsis: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hideInSearch: !0,
|
|
59
|
+
title: "操作",
|
|
60
|
+
dataIndex: "action",
|
|
61
|
+
width: 200,
|
|
62
|
+
fixed: "right"
|
|
63
|
+
}
|
|
64
|
+
];
|
|
65
|
+
async function L(a) {
|
|
66
|
+
let { current: E, pageSize: D, type: k, name: A } = a, j = await postRbacPubDataPermissionsPageQuery({
|
|
67
|
+
pageSize: D,
|
|
68
|
+
currentPage: E,
|
|
69
|
+
doSearchTotal: !0,
|
|
70
|
+
type: k,
|
|
71
|
+
name: A
|
|
72
|
+
});
|
|
73
|
+
return {
|
|
74
|
+
success: j.success,
|
|
75
|
+
data: j.data?.records ?? [],
|
|
76
|
+
total: j.data?.total ?? 0
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function R() {
|
|
80
|
+
M.value.reload();
|
|
81
|
+
}
|
|
82
|
+
let [z, B] = useToggle(!1);
|
|
83
|
+
function V(a, D) {
|
|
84
|
+
if (!z.value) switch (a) {
|
|
85
|
+
case ACTION.ADD:
|
|
86
|
+
F.value.open(a);
|
|
87
|
+
break;
|
|
88
|
+
case ACTION.EDIT:
|
|
89
|
+
F.value.open(a, D);
|
|
90
|
+
break;
|
|
91
|
+
case ACTION.REMOVE:
|
|
92
|
+
Modal.confirm({
|
|
93
|
+
title: "删除",
|
|
94
|
+
content: "确定要删除该权限吗?",
|
|
95
|
+
async onOk() {
|
|
96
|
+
B(!0), deleteRbacPubDataPermissionsDelete({ id: D?.id }).then((a) => {
|
|
97
|
+
a.success && (message.success("删除成功"), R());
|
|
98
|
+
}).finally(() => B(!1));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return (a, E) => {
|
|
105
|
+
let D = PlusCircleOutlined, O = Button, j = PubinfoIcon, N = Space$1, P = resolveDirective("auth");
|
|
106
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
|
|
107
|
+
ref_key: "tableRef",
|
|
108
|
+
ref: M,
|
|
109
|
+
"row-key": "id",
|
|
110
|
+
request: L,
|
|
111
|
+
columns: I,
|
|
112
|
+
"auto-height": "",
|
|
113
|
+
scroll: { x: 1e3 }
|
|
114
|
+
}, {
|
|
115
|
+
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(O, {
|
|
116
|
+
type: "primary",
|
|
117
|
+
onClick: E[0] ||= (a) => V(unref(ACTION).ADD)
|
|
118
|
+
}, {
|
|
119
|
+
default: withCtx(() => [createVNode(D), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
|
|
120
|
+
_: 1
|
|
121
|
+
})), [[P, "data_permission_create"]])]),
|
|
122
|
+
bodyCell: withCtx(({ column: a, record: E }) => [a.dataIndex === "type" ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref(dataPermissionTypeLabel)[E.type]), 1)) : createCommentVNode("", !0), a.dataIndex === "action" ? (openBlock(), createBlock(N, { key: 1 }, {
|
|
123
|
+
default: withCtx(() => [withDirectives((openBlock(), createElementBlock("a", {
|
|
124
|
+
class: "flex items-center hover:opacity-80",
|
|
125
|
+
onClick: (a) => V(unref(ACTION).EDIT, E)
|
|
126
|
+
}, [createVNode(j, {
|
|
127
|
+
name: "edit",
|
|
128
|
+
class: "text-base"
|
|
129
|
+
}), createElementVNode("span", _hoisted_4, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_3)), [[P, "data_permission_edit"]]), withDirectives((openBlock(), createElementBlock("span", {
|
|
130
|
+
flex: "",
|
|
131
|
+
"items-center": "",
|
|
132
|
+
"text-red-500": "",
|
|
133
|
+
"hover:cursor-pointer": "",
|
|
134
|
+
"hover:text-red-500": "",
|
|
135
|
+
"hover:opacity-80": "",
|
|
136
|
+
onClick: (a) => V(unref(ACTION).REMOVE, E)
|
|
137
|
+
}, [createVNode(j, {
|
|
138
|
+
name: "remove",
|
|
139
|
+
class: "text-base"
|
|
140
|
+
}), createElementVNode("span", _hoisted_6, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[P, "data_permission_delete"]])]),
|
|
141
|
+
_: 2
|
|
142
|
+
}, 1024)) : createCommentVNode("", !0)]),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 512), createVNode(createAndEditDataPermission_default, {
|
|
145
|
+
ref_key: "drawerRef",
|
|
146
|
+
ref: F,
|
|
147
|
+
onSubmit: R
|
|
148
|
+
}, null, 512)]);
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
}), [["__scopeId", "data-v-b32ad41d"]]);
|
|
152
|
+
export { data_permission_default as default };
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { t as __commonJSMin } from "./chunk-Cpsc_9al.js";
|
|
2
|
+
var require_dayjs_min = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
3
|
+
(function(n, r) {
|
|
4
|
+
typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
|
|
5
|
+
})(e, (function() {
|
|
6
|
+
var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
|
|
7
|
+
name: "en",
|
|
8
|
+
weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
9
|
+
months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
|
10
|
+
ordinal: function(e) {
|
|
11
|
+
var t = [
|
|
12
|
+
"th",
|
|
13
|
+
"st",
|
|
14
|
+
"nd",
|
|
15
|
+
"rd"
|
|
16
|
+
], n = e % 100;
|
|
17
|
+
return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
|
|
18
|
+
}
|
|
19
|
+
}, _ = function(e, t, n) {
|
|
20
|
+
var r = String(e);
|
|
21
|
+
return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
|
|
22
|
+
}, v = {
|
|
23
|
+
s: _,
|
|
24
|
+
z: function(e) {
|
|
25
|
+
var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
|
|
26
|
+
return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
|
|
27
|
+
},
|
|
28
|
+
m: function e(t, n) {
|
|
29
|
+
if (t.date() < n.date()) return -e(n, t);
|
|
30
|
+
var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
|
|
31
|
+
return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
|
|
32
|
+
},
|
|
33
|
+
a: function(e) {
|
|
34
|
+
return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
|
|
35
|
+
},
|
|
36
|
+
p: function(e) {
|
|
37
|
+
return {
|
|
38
|
+
M: l,
|
|
39
|
+
y: d,
|
|
40
|
+
w: c,
|
|
41
|
+
d: s,
|
|
42
|
+
D: f,
|
|
43
|
+
h: o,
|
|
44
|
+
m: a,
|
|
45
|
+
s: i,
|
|
46
|
+
ms: r,
|
|
47
|
+
Q: u
|
|
48
|
+
}[e] || String(e || "").toLowerCase().replace(/s$/, "");
|
|
49
|
+
},
|
|
50
|
+
u: function(e) {
|
|
51
|
+
return e === void 0;
|
|
52
|
+
}
|
|
53
|
+
}, y = "en", b = {};
|
|
54
|
+
b[y] = g;
|
|
55
|
+
var x = "$isDayjsObject", S = function(e) {
|
|
56
|
+
return e instanceof E || !(!e || !e[x]);
|
|
57
|
+
}, C = function e(t, n, r) {
|
|
58
|
+
var i;
|
|
59
|
+
if (!t) return y;
|
|
60
|
+
if (typeof t == "string") {
|
|
61
|
+
var a = t.toLowerCase();
|
|
62
|
+
b[a] && (i = a), n && (b[a] = n, i = a);
|
|
63
|
+
var o = t.split("-");
|
|
64
|
+
if (!i && o.length > 1) return e(o[0]);
|
|
65
|
+
} else {
|
|
66
|
+
var s = t.name;
|
|
67
|
+
b[s] = t, i = s;
|
|
68
|
+
}
|
|
69
|
+
return !r && i && (y = i), i || !r && y;
|
|
70
|
+
}, w = function(e, t) {
|
|
71
|
+
if (S(e)) return e.clone();
|
|
72
|
+
var n = typeof t == "object" ? t : {};
|
|
73
|
+
return n.date = e, n.args = arguments, new E(n);
|
|
74
|
+
}, T = v;
|
|
75
|
+
T.l = C, T.i = S, T.w = function(e, t) {
|
|
76
|
+
return w(e, {
|
|
77
|
+
locale: t.$L,
|
|
78
|
+
utc: t.$u,
|
|
79
|
+
x: t.$x,
|
|
80
|
+
$offset: t.$offset
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
var E = function() {
|
|
84
|
+
function g(e) {
|
|
85
|
+
this.$L = C(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[x] = !0;
|
|
86
|
+
}
|
|
87
|
+
var _ = g.prototype;
|
|
88
|
+
return _.parse = function(e) {
|
|
89
|
+
this.$d = function(e) {
|
|
90
|
+
var t = e.date, n = e.utc;
|
|
91
|
+
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
92
|
+
if (T.u(t)) return /* @__PURE__ */ new Date();
|
|
93
|
+
if (t instanceof Date) return new Date(t);
|
|
94
|
+
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
95
|
+
var r = t.match(m);
|
|
96
|
+
if (r) {
|
|
97
|
+
var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
|
|
98
|
+
return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return new Date(t);
|
|
102
|
+
}(e), this.init();
|
|
103
|
+
}, _.init = function() {
|
|
104
|
+
var e = this.$d;
|
|
105
|
+
this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
|
|
106
|
+
}, _.$utils = function() {
|
|
107
|
+
return T;
|
|
108
|
+
}, _.isValid = function() {
|
|
109
|
+
return this.$d.toString() !== p;
|
|
110
|
+
}, _.isSame = function(e, t) {
|
|
111
|
+
var n = w(e);
|
|
112
|
+
return this.startOf(t) <= n && n <= this.endOf(t);
|
|
113
|
+
}, _.isAfter = function(e, t) {
|
|
114
|
+
return w(e) < this.startOf(t);
|
|
115
|
+
}, _.isBefore = function(e, t) {
|
|
116
|
+
return this.endOf(t) < w(e);
|
|
117
|
+
}, _.$g = function(e, t, n) {
|
|
118
|
+
return T.u(e) ? this[t] : this.set(n, e);
|
|
119
|
+
}, _.unix = function() {
|
|
120
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
121
|
+
}, _.valueOf = function() {
|
|
122
|
+
return this.$d.getTime();
|
|
123
|
+
}, _.startOf = function(e, t) {
|
|
124
|
+
var n = this, r = !!T.u(t) || t, u = T.p(e), p = function(e, t) {
|
|
125
|
+
var i = T.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
|
|
126
|
+
return r ? i : i.endOf(s);
|
|
127
|
+
}, m = function(e, t) {
|
|
128
|
+
return T.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
|
|
129
|
+
0,
|
|
130
|
+
0,
|
|
131
|
+
0,
|
|
132
|
+
0
|
|
133
|
+
] : [
|
|
134
|
+
23,
|
|
135
|
+
59,
|
|
136
|
+
59,
|
|
137
|
+
999
|
|
138
|
+
]).slice(t)), n);
|
|
139
|
+
}, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
|
|
140
|
+
switch (u) {
|
|
141
|
+
case d: return r ? p(1, 0) : p(31, 11);
|
|
142
|
+
case l: return r ? p(1, g) : p(0, g + 1);
|
|
143
|
+
case c:
|
|
144
|
+
var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
|
|
145
|
+
return p(r ? _ - b : _ + (6 - b), g);
|
|
146
|
+
case s:
|
|
147
|
+
case f: return m(v + "Hours", 0);
|
|
148
|
+
case o: return m(v + "Minutes", 1);
|
|
149
|
+
case a: return m(v + "Seconds", 2);
|
|
150
|
+
case i: return m(v + "Milliseconds", 3);
|
|
151
|
+
default: return this.clone();
|
|
152
|
+
}
|
|
153
|
+
}, _.endOf = function(e) {
|
|
154
|
+
return this.startOf(e, !1);
|
|
155
|
+
}, _.$set = function(e, t) {
|
|
156
|
+
var n, c = T.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
|
|
157
|
+
if (c === l || c === d) {
|
|
158
|
+
var h = this.clone().set(f, 1);
|
|
159
|
+
h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
|
|
160
|
+
} else p && this.$d[p](m);
|
|
161
|
+
return this.init(), this;
|
|
162
|
+
}, _.set = function(e, t) {
|
|
163
|
+
return this.clone().$set(e, t);
|
|
164
|
+
}, _.get = function(e) {
|
|
165
|
+
return this[T.p(e)]();
|
|
166
|
+
}, _.add = function(r, u) {
|
|
167
|
+
var f, p = this;
|
|
168
|
+
r = Number(r);
|
|
169
|
+
var m = T.p(u), h = function(e) {
|
|
170
|
+
var t = w(p);
|
|
171
|
+
return T.w(t.date(t.date() + Math.round(e * r)), p);
|
|
172
|
+
};
|
|
173
|
+
if (m === l) return this.set(l, this.$M + r);
|
|
174
|
+
if (m === d) return this.set(d, this.$y + r);
|
|
175
|
+
if (m === s) return h(1);
|
|
176
|
+
if (m === c) return h(7);
|
|
177
|
+
var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
|
|
178
|
+
return T.w(_, this);
|
|
179
|
+
}, _.subtract = function(e, t) {
|
|
180
|
+
return this.add(-1 * e, t);
|
|
181
|
+
}, _.format = function(e) {
|
|
182
|
+
var t = this, n = this.$locale();
|
|
183
|
+
if (!this.isValid()) return n.invalidDate || p;
|
|
184
|
+
var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = T.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
|
|
185
|
+
return e && (e[n] || e(t, r)) || i[n].slice(0, a);
|
|
186
|
+
}, f = function(e) {
|
|
187
|
+
return T.s(a % 12 || 12, e, "0");
|
|
188
|
+
}, m = u || function(e, t, n) {
|
|
189
|
+
var r = e < 12 ? "AM" : "PM";
|
|
190
|
+
return n ? r.toLowerCase() : r;
|
|
191
|
+
};
|
|
192
|
+
return r.replace(h, (function(e, r) {
|
|
193
|
+
return r || function(e) {
|
|
194
|
+
switch (e) {
|
|
195
|
+
case "YY": return String(t.$y).slice(-2);
|
|
196
|
+
case "YYYY": return T.s(t.$y, 4, "0");
|
|
197
|
+
case "M": return s + 1;
|
|
198
|
+
case "MM": return T.s(s + 1, 2, "0");
|
|
199
|
+
case "MMM": return d(n.monthsShort, s, l, 3);
|
|
200
|
+
case "MMMM": return d(l, s);
|
|
201
|
+
case "D": return t.$D;
|
|
202
|
+
case "DD": return T.s(t.$D, 2, "0");
|
|
203
|
+
case "d": return String(t.$W);
|
|
204
|
+
case "dd": return d(n.weekdaysMin, t.$W, c, 2);
|
|
205
|
+
case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
|
|
206
|
+
case "dddd": return c[t.$W];
|
|
207
|
+
case "H": return String(a);
|
|
208
|
+
case "HH": return T.s(a, 2, "0");
|
|
209
|
+
case "h": return f(1);
|
|
210
|
+
case "hh": return f(2);
|
|
211
|
+
case "a": return m(a, o, !0);
|
|
212
|
+
case "A": return m(a, o, !1);
|
|
213
|
+
case "m": return String(o);
|
|
214
|
+
case "mm": return T.s(o, 2, "0");
|
|
215
|
+
case "s": return String(t.$s);
|
|
216
|
+
case "ss": return T.s(t.$s, 2, "0");
|
|
217
|
+
case "SSS": return T.s(t.$ms, 3, "0");
|
|
218
|
+
case "Z": return i;
|
|
219
|
+
}
|
|
220
|
+
return null;
|
|
221
|
+
}(e) || i.replace(":", "");
|
|
222
|
+
}));
|
|
223
|
+
}, _.utcOffset = function() {
|
|
224
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
225
|
+
}, _.diff = function(r, f, p) {
|
|
226
|
+
var m, h = this, g = T.p(f), _ = w(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
|
|
227
|
+
return T.m(h, _);
|
|
228
|
+
};
|
|
229
|
+
switch (g) {
|
|
230
|
+
case d:
|
|
231
|
+
m = b() / 12;
|
|
232
|
+
break;
|
|
233
|
+
case l:
|
|
234
|
+
m = b();
|
|
235
|
+
break;
|
|
236
|
+
case u:
|
|
237
|
+
m = b() / 3;
|
|
238
|
+
break;
|
|
239
|
+
case c:
|
|
240
|
+
m = (y - v) / 6048e5;
|
|
241
|
+
break;
|
|
242
|
+
case s:
|
|
243
|
+
m = (y - v) / 864e5;
|
|
244
|
+
break;
|
|
245
|
+
case o:
|
|
246
|
+
m = y / n;
|
|
247
|
+
break;
|
|
248
|
+
case a:
|
|
249
|
+
m = y / t;
|
|
250
|
+
break;
|
|
251
|
+
case i:
|
|
252
|
+
m = y / e;
|
|
253
|
+
break;
|
|
254
|
+
default: m = y;
|
|
255
|
+
}
|
|
256
|
+
return p ? m : T.a(m);
|
|
257
|
+
}, _.daysInMonth = function() {
|
|
258
|
+
return this.endOf(l).$D;
|
|
259
|
+
}, _.$locale = function() {
|
|
260
|
+
return b[this.$L];
|
|
261
|
+
}, _.locale = function(e, t) {
|
|
262
|
+
if (!e) return this.$L;
|
|
263
|
+
var n = this.clone(), r = C(e, t, !0);
|
|
264
|
+
return r && (n.$L = r), n;
|
|
265
|
+
}, _.clone = function() {
|
|
266
|
+
return T.w(this.$d, this);
|
|
267
|
+
}, _.toDate = function() {
|
|
268
|
+
return new Date(this.valueOf());
|
|
269
|
+
}, _.toJSON = function() {
|
|
270
|
+
return this.isValid() ? this.toISOString() : null;
|
|
271
|
+
}, _.toISOString = function() {
|
|
272
|
+
return this.$d.toISOString();
|
|
273
|
+
}, _.toString = function() {
|
|
274
|
+
return this.$d.toUTCString();
|
|
275
|
+
}, g;
|
|
276
|
+
}(), D = E.prototype;
|
|
277
|
+
return w.prototype = D, [
|
|
278
|
+
["$ms", r],
|
|
279
|
+
["$s", i],
|
|
280
|
+
["$m", a],
|
|
281
|
+
["$H", o],
|
|
282
|
+
["$W", s],
|
|
283
|
+
["$M", l],
|
|
284
|
+
["$y", d],
|
|
285
|
+
["$D", f]
|
|
286
|
+
].forEach((function(e) {
|
|
287
|
+
D[e[1]] = function(t) {
|
|
288
|
+
return this.$g(t, e[0], e[1]);
|
|
289
|
+
};
|
|
290
|
+
})), w.extend = function(e, t) {
|
|
291
|
+
return e.$i ||= (e(t, E, w), !0), w;
|
|
292
|
+
}, w.locale = C, w.isDayjs = S, w.unix = function(e) {
|
|
293
|
+
return w(1e3 * e);
|
|
294
|
+
}, w.en = b[y], w.Ls = b, w.p = {}, w;
|
|
295
|
+
}));
|
|
296
|
+
}));
|
|
297
|
+
export { require_dayjs_min as t };
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { n as deleteDictTypeDeleteById, o as postDictTypePage } from "./index.js";
|
|
2
|
+
import { t as ACTION } from "./enum-D2UEJsrC.js";
|
|
3
|
+
import { t as drawerDictionary_default } from "./drawerDictionary-dMHs-6Cw.js";
|
|
4
|
+
import { PubinfoIcon, useAuth } from "pubinfo-nightly";
|
|
5
|
+
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
|
|
6
|
+
import { PlusCircleOutlined } from "@ant-design/icons-vue";
|
|
7
|
+
import { Modal, message } from "ant-design-vue";
|
|
8
|
+
import { Button, Space as Space$1 } from "ant-design-vue/es";
|
|
9
|
+
import { ProTable } from "@pubinfo/pro-components";
|
|
10
|
+
import { useRouter } from "vue-router";
|
|
11
|
+
var _hoisted_1 = {
|
|
12
|
+
"py-10px": "",
|
|
13
|
+
"px-10px": "",
|
|
14
|
+
"w-full": "",
|
|
15
|
+
"h-full": ""
|
|
16
|
+
}, _hoisted_2 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "flex items-center"
|
|
19
|
+
}, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], _hoisted_5 = { class: "ml-4px" }, _hoisted_6 = ["onClick"], _hoisted_7 = { class: "ml-4px" }, _hoisted_8 = ["onClick"], _hoisted_9 = { class: "ml-4px" }, dictionary_default = /* @__PURE__ */ defineComponent({
|
|
20
|
+
name: "Dictionary",
|
|
21
|
+
__name: "index",
|
|
22
|
+
setup(M) {
|
|
23
|
+
let { auth: I } = useAuth(), L = ref(), R = ref(), z = [
|
|
24
|
+
{
|
|
25
|
+
valueType: "a-input",
|
|
26
|
+
width: 50,
|
|
27
|
+
hideInTable: !0,
|
|
28
|
+
title: "名称或编码",
|
|
29
|
+
dataIndex: "searchName",
|
|
30
|
+
fieldProps: {
|
|
31
|
+
placeholder: "请输入名称或者编码",
|
|
32
|
+
allowClear: !0
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
hideInSearch: !0,
|
|
37
|
+
minWidth: 100,
|
|
38
|
+
title: "类型名称",
|
|
39
|
+
dataIndex: "name",
|
|
40
|
+
ellipsis: !0
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
hideInSearch: !0,
|
|
44
|
+
minWidth: 80,
|
|
45
|
+
title: "类型编码",
|
|
46
|
+
dataIndex: "code",
|
|
47
|
+
ellipsis: !0
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
hideInSearch: !0,
|
|
51
|
+
minWidth: 100,
|
|
52
|
+
title: "描述",
|
|
53
|
+
dataIndex: "description",
|
|
54
|
+
ellipsis: !0
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
hideInSearch: !0,
|
|
58
|
+
width: 80,
|
|
59
|
+
minWidth: 60,
|
|
60
|
+
title: "排序",
|
|
61
|
+
dataIndex: "sort"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
hideInSearch: !0,
|
|
65
|
+
title: "操作",
|
|
66
|
+
dataIndex: "action",
|
|
67
|
+
width: 240,
|
|
68
|
+
fixed: "right",
|
|
69
|
+
hideInTable() {
|
|
70
|
+
return !I([
|
|
71
|
+
"dictionary_data",
|
|
72
|
+
"dictionary_edit",
|
|
73
|
+
"dictionary_remove"
|
|
74
|
+
]);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
];
|
|
78
|
+
async function B(n) {
|
|
79
|
+
let { current: O, pageSize: k, searchName: A } = n, j = await postDictTypePage({
|
|
80
|
+
currentPage: O,
|
|
81
|
+
pageSize: k,
|
|
82
|
+
name: A,
|
|
83
|
+
doSearchTotal: !0
|
|
84
|
+
});
|
|
85
|
+
return {
|
|
86
|
+
success: j.success,
|
|
87
|
+
data: j.data?.records ?? [],
|
|
88
|
+
total: j.data?.total ?? 0
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
let V = useRouter();
|
|
92
|
+
function H(D, k) {
|
|
93
|
+
switch (D) {
|
|
94
|
+
case ACTION.ADD:
|
|
95
|
+
R.value.open(D);
|
|
96
|
+
break;
|
|
97
|
+
case ACTION.EDIT:
|
|
98
|
+
R.value.open(D, k);
|
|
99
|
+
break;
|
|
100
|
+
case ACTION.REMOVE:
|
|
101
|
+
Modal.confirm({
|
|
102
|
+
title: "删除",
|
|
103
|
+
content: "确定要删除该类型吗?",
|
|
104
|
+
onOk() {
|
|
105
|
+
deleteDictTypeDeleteById({ id: k?.id }).then((n) => {
|
|
106
|
+
n.success && (message.success("删除成功"), U());
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
break;
|
|
111
|
+
case ACTION.ADDNEXT:
|
|
112
|
+
V.push({
|
|
113
|
+
name: "DictionaryItem",
|
|
114
|
+
params: { id: `${k?.id}` },
|
|
115
|
+
query: { code: `${k?.code}` }
|
|
116
|
+
});
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function U() {
|
|
121
|
+
L.value.reload();
|
|
122
|
+
}
|
|
123
|
+
return (n, D) => {
|
|
124
|
+
let j = PlusCircleOutlined, M = Button, N = PubinfoIcon, P = Space$1, F = resolveDirective("auth");
|
|
125
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
|
|
126
|
+
ref_key: "tableRef",
|
|
127
|
+
ref: L,
|
|
128
|
+
"row-key": "id",
|
|
129
|
+
request: B,
|
|
130
|
+
columns: z,
|
|
131
|
+
"auto-height": "",
|
|
132
|
+
scroll: { x: 1040 }
|
|
133
|
+
}, {
|
|
134
|
+
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(M, {
|
|
135
|
+
type: "primary",
|
|
136
|
+
onClick: D[0] ||= (n) => H(unref(ACTION).ADD)
|
|
137
|
+
}, {
|
|
138
|
+
default: withCtx(() => [createVNode(j), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
|
|
139
|
+
_: 1
|
|
140
|
+
})), [[F, "dictionary_add"]])]),
|
|
141
|
+
bodyCell: withCtx(({ column: n, record: D }) => [n.dataIndex === "code" ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(N, {
|
|
142
|
+
name: "icard",
|
|
143
|
+
class: "text-20px"
|
|
144
|
+
}), createElementVNode("span", _hoisted_3, toDisplayString(D.code), 1)])) : createCommentVNode("", !0), n.dataIndex === "action" ? (openBlock(), createBlock(P, { key: 1 }, {
|
|
145
|
+
default: withCtx(() => [
|
|
146
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
147
|
+
class: "flex items-center",
|
|
148
|
+
onClick: (n) => H(unref(ACTION).ADDNEXT, D)
|
|
149
|
+
}, [createVNode(N, {
|
|
150
|
+
name: "zddata",
|
|
151
|
+
class: "text-20px"
|
|
152
|
+
}), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).ADDNEXT), 1)], 8, _hoisted_4)), [[F, "dictionary_data"]]),
|
|
153
|
+
withDirectives((openBlock(), createElementBlock("a", {
|
|
154
|
+
class: "flex items-center",
|
|
155
|
+
onClick: (n) => H(unref(ACTION).EDIT, D)
|
|
156
|
+
}, [createVNode(N, {
|
|
157
|
+
name: "edit",
|
|
158
|
+
class: "text-base"
|
|
159
|
+
}), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_6)), [[F, "dictionary_edit"]]),
|
|
160
|
+
withDirectives((openBlock(), createElementBlock("span", {
|
|
161
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
162
|
+
onClick: (n) => H(unref(ACTION).REMOVE, D)
|
|
163
|
+
}, [createVNode(N, {
|
|
164
|
+
name: "remove",
|
|
165
|
+
class: "text-base"
|
|
166
|
+
}), createElementVNode("span", _hoisted_9, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_8)), [[F, "dictionary_remove"]])
|
|
167
|
+
]),
|
|
168
|
+
_: 2
|
|
169
|
+
}, 1024)) : createCommentVNode("", !0)]),
|
|
170
|
+
_: 1
|
|
171
|
+
}, 512), createVNode(drawerDictionary_default, {
|
|
172
|
+
ref_key: "drawerDictionaryRef",
|
|
173
|
+
ref: R,
|
|
174
|
+
onSubmit: D[1] ||= (n) => U()
|
|
175
|
+
}, null, 512)]);
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
export { dictionary_default as default };
|