@pubinfo/module-rbac 2.0.0-beta.9 → 2.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ComponentSelect-AWuDE4De.js +2 -0
- package/dist/ComponentSelect-CFoCrAFh.js +483 -0
- package/dist/DynamicRoutesForm-DmQMP8-p.js +376 -0
- package/dist/DynamicRoutesForm-xXTdh5EX.js +4 -0
- package/dist/HCheckList-DDP7S_nc.js +37 -0
- package/dist/HCheckList-u43x0KiD.js +2 -0
- package/dist/ImportExport-BbZkZEW_.js +4 -0
- package/dist/ImportExport-Yt6dABIv.js +354 -0
- package/dist/MetaForm-BB80P4w6.js +284 -0
- package/dist/MetaForm-D_na1CP8.js +4 -0
- package/dist/OrgAndPosition-BK5MTlOO.js +188 -0
- package/dist/OrgAndPosition-CDCim7yM.js +2 -0
- package/dist/ResourceEdit-CVwNJMVm.js +309 -0
- package/dist/ResourceEdit-D1e8tLAA.js +8 -0
- package/dist/ResourceRelation-DJDFQYFT.js +93 -0
- package/dist/ResourceRelation-DWhWzKQJ.js +3 -0
- package/dist/ResourceRelation-cfGS-erP.js +78 -0
- package/dist/ResourceSelector-B4AXXCxI.js +247 -0
- package/dist/RoleRelation-BlWDNAM1.js +79 -0
- package/dist/RoleRelation-CAMzPMFz.js +2 -0
- package/dist/RoleSelector-Bqv2p_7X.js +279 -0
- package/dist/TenantEdit-6rMUS9EP.js +253 -0
- package/dist/TenantEdit-BhpSW4w7.js +6 -0
- package/dist/UserAuthorization-Cx9oYms2.js +238 -0
- package/dist/UserAuthorization-D5rSSagE.js +4 -0
- package/dist/UserEdit-CqH6hxTZ.js +336 -0
- package/dist/UserEdit-CqrRx717.js +4 -0
- package/dist/_plugin-vue_export-helper-Cmy-mbsL.js +6 -0
- package/dist/add-child-CJM7MvB2.js +2 -0
- package/dist/animation_item-Bf_Y_nyf.js +4536 -0
- package/dist/animation_item-Wmcl4yBo.js +2 -0
- package/dist/api/modules/assist/qunzujiekou.d.ts +7 -0
- package/dist/api/modules/configData/index.d.ts +1 -1
- package/dist/api/modules/configData/{zidianfuwu.d.ts → zidifuwu.d.ts} +14 -0
- package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -0
- package/dist/api/modules/rbac/index.d.ts +1 -0
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -0
- package/dist/api/modules/rbac/yonghujiekou.d.ts +21 -0
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +43 -0
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +7 -0
- package/dist/api/request.d.ts +1 -1
- package/dist/authority-BofK2fFE.js +2 -0
- package/dist/authorize-Ck1i_5K5.js +2 -0
- package/dist/blackWhiteList-B-EAyXzG.js +213 -0
- package/dist/blacklist-disable-BgMERGDX.js +2 -0
- package/dist/blacklist-enable-D8ds6NgH.js +2 -0
- package/dist/breadcrumb_setting-Bv12pA15.js +111 -0
- package/dist/browser-chrome-BVvmyPYW.js +2 -0
- package/dist/browser-edge-Bc36eH7f.js +2 -0
- package/dist/browser-ie-BiDFft9C.js +2 -0
- package/dist/browser-other-BzyOvDmB.js +2 -0
- package/dist/browser-safari-CBxgFrI_.js +2 -0
- package/dist/browserType-BJeH2o0t.js +26 -0
- package/dist/browserType-pMY0VZ_3.js +2 -0
- package/dist/chunk-B3eAFu3c.js +11 -0
- package/dist/cloneDeep-BnvyNhik.js +7 -0
- package/dist/components/DirectoryIcones/ComponentsIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/FolderIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/ModuleIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/PackagesIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/SrcIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/ViewIcones.vue.d.ts +7 -0
- package/dist/components/DirectoryIcones/VueIcones.vue.d.ts +2 -0
- package/dist/components/GroupSelector/index.vue.d.ts +4 -4
- package/dist/components/OrgTree/index.vue.d.ts +1 -1
- package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +7 -7
- package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +7 -7
- package/dist/components/OrgUserSelector/index.d.ts +3 -2
- package/dist/components/ResourceIcones/Select.vue.d.ts +9 -0
- package/dist/components/ResourceSelector/index.vue.d.ts +5 -5
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +19 -0
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +20 -0
- package/dist/components/RoleSelector/TooltipLabel.vue.d.ts +8 -0
- package/dist/components/RoleSelector/index.d.ts +2 -0
- package/dist/components/RoleSelector/interface.d.ts +4 -0
- package/dist/components/RoleSelector/useRole.d.ts +13 -0
- package/dist/composables/useLottie.d.ts +1 -1
- package/dist/configData-BoeH9I4s.js +86 -0
- package/dist/context.d.ts +3 -0
- package/dist/createAndEditDataPermission-BFmD3zpY.js +443 -0
- package/dist/createAndEditDataPermission-Ll6GWW-p.js +8 -0
- package/dist/data-permission-Dz4eCdAg.js +156 -0
- package/dist/dayjs.min-KffHrkDe.js +297 -0
- package/dist/dictionary-C8UVX_8l.js +180 -0
- package/dist/drawerBlackWhiteList-opDsd2_O.js +125 -0
- package/dist/drawerBlackWhiteList-taaV8A5D.js +3 -0
- package/dist/drawerDictionary-CzT9KJGw.js +130 -0
- package/dist/drawerDictionary-D0Bi75vl.js +4 -0
- package/dist/drawerDictionaryItem-BqQojUNh.js +4 -0
- package/dist/drawerDictionaryItem-LBeuvrE8.js +142 -0
- package/dist/drawerGroup-BI0pYuIO.js +3 -0
- package/dist/drawerGroup-B_pYqrpy.js +188 -0
- package/dist/drawerOrganization-BeDsW0ah.js +251 -0
- package/dist/drawerOrganization-RbLK6k_c.js +3 -0
- package/dist/drawerPosition-CKZCt-Yc.js +3 -0
- package/dist/drawerPosition-DRacJCCQ.js +170 -0
- package/dist/drawerRegion-BM__zqtq.js +187 -0
- package/dist/drawerRegion-CaXvxWEn.js +3 -0
- package/dist/drawerRole-27ggtdnJ.js +6 -0
- package/dist/drawerRole-BOf6UXMc.js +172 -0
- package/dist/drawerRole-CQURGn5D.js +215 -0
- package/dist/drawerRole-D9Dt3l7O.js +5 -0
- package/dist/drawerRole-DPC9SVDe.js +3 -0
- package/dist/drawerRole-DhU_4L0Z.js +159 -0
- package/dist/edit-DF7Qsxtl.js +2 -0
- package/dist/enum-BMY6bmPA.js +54 -0
- package/dist/enum-BZtNAeJC.js +23 -0
- package/dist/enum-CtIne-Ul.js +61 -0
- package/dist/enum-DfCD4cL8.js +4 -0
- package/dist/enum-e5LlvaOv.js +4 -0
- package/dist/group-C0rajn0e.js +174 -0
- package/dist/icard-CtletXtq.js +2 -0
- package/dist/icon_animation-Do8Rw-K9.js +2 -0
- package/dist/icon_breadcrumb-CmZgmswj.js +2 -0
- package/dist/icon_copyright--7CIXSE1.js +2 -0
- package/dist/icon_jt--G-Amuu4.js +2 -0
- package/dist/icon_layout-BkQems5J.js +2 -0
- package/dist/icon_mainpage-98dHnXRL.js +2 -0
- package/dist/icon_menu-8foYPA9U.js +2 -0
- package/dist/icon_page_size-CPjiZpP2.js +2 -0
- package/dist/icon_position_type-Do71e9Ov.js +2 -0
- package/dist/icon_safe_manage-DiBn-uSS.js +2 -0
- package/dist/icon_screen_scale-Ct8iHVKy.js +2 -0
- package/dist/icon_system_manage-CzBNNisy.js +2 -0
- package/dist/icon_tabbar-BajHaWfA.js +2 -0
- package/dist/icon_toolbar-DHKFZD2w.js +2 -0
- package/dist/icon_topbar-C4mu7up7.js +2 -0
- package/dist/icon_watermark-2Wtjrft3.js +2 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6873 -5
- package/dist/interface.d.ts +27 -3
- package/dist/itemlist-CZBPz_rC.js +157 -0
- package/dist/layout_setting-oQd8BfKx.js +74 -0
- package/dist/log-CQfCPTsC.js +14 -0
- package/dist/log-center-qtOWNEaD.js +2 -0
- package/dist/loginHistoryDetail-Abn9eS5-.js +78 -0
- package/dist/loginHistoryDetail-DDEuFbYB.js +4 -0
- package/dist/login_history-Btv9KB0x.js +196 -0
- package/dist/menu_setting-Cju5OkSE.js +158 -0
- package/dist/not-data-BA50qHBT.js +2 -0
- package/dist/not-data-BzaRFolb.js +2 -0
- package/dist/operateHistoryDetail-Br_M3mhI.js +90 -0
- package/dist/operateHistoryDetail-CLsHDBp7.js +4 -0
- package/dist/operate_history-D7jq2IH-.js +191 -0
- package/dist/org-main-D0M4-Mu2.js +2 -0
- package/dist/org-unmain-Bh9hzLgK.js +2 -0
- package/dist/organization-CeOyltjo.js +15605 -0
- package/dist/other_setting-rbUoVood.js +220 -0
- package/dist/page_animation_setting-Diclx4mg.js +117 -0
- package/dist/page_w_setting-Dr2tu_oS.js +69 -0
- package/dist/position-Bodjtnh9.js +168 -0
- package/dist/region-B9xObK4Z.js +185 -0
- package/dist/remove-B3pgrGrf.js +2 -0
- package/dist/resource-DhkRTloI.js +270 -0
- package/dist/resource-app-BKgfDs09.js +2 -0
- package/dist/resource-btn-BXLyUStb.js +2 -0
- package/dist/resource-dynamic-Dx3RhbQk.js +2 -0
- package/dist/resource-index-C2COvmY-.js +2 -0
- package/dist/resource-menu-C_Q6AEFw.js +2 -0
- package/dist/resource-micro-D_OBvoET.js +2 -0
- package/dist/resource-nonmenu-CCpeV9Km.js +2 -0
- package/dist/role-DoBrQ1zG.js +196 -0
- package/dist/role_group-BMNZ1M1A.js +172 -0
- package/dist/routes/index.d.ts +3 -1
- 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-J6GWqrZx.js +232 -0
- package/dist/setItem-CcNK_f8V.js +77 -0
- package/dist/setItem-CqHPfTBZ.js +5 -0
- package/dist/setting-manage-Di7-Ks18.js +2 -0
- package/dist/stores-DXQ1Ibt6.js +2 -0
- package/dist/style.css +2 -1
- package/dist/tabbar_setting-Di3OcDig.js +142 -0
- package/dist/tenant-pPYq3xtM.js +183 -0
- package/dist/theme-check-mark-DhhsmM5v.js +2 -0
- package/dist/theme-title-DEVFVYNh.js +2 -0
- package/dist/theme_setting-DMyPJp3M.js +117 -0
- package/dist/{index-BleenJqT.js → toolbar_setting-ChcZxAJJ.js} +155 -167
- package/dist/useAppAndResource-DWQG9bqY.js +57 -0
- package/dist/user-BJL1Sw0q.js +345 -0
- package/dist/view-FR2dRATN.js +2 -0
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +4 -4
- package/dist/views/blackWhiteList/index.vue.d.ts +319 -319
- package/dist/views/breadcrumb_setting/index.vue.d.ts +1 -1
- package/dist/views/components/HCheckList.vue.d.ts +5 -5
- package/dist/views/components/animation_item.vue.d.ts +5 -5
- package/dist/views/components/setItem.vue.d.ts +18 -18
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +35 -35
- package/dist/views/data-permission/index.vue.d.ts +350 -350
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +4 -4
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +4 -4
- package/dist/views/dictionary/index.vue.d.ts +319 -319
- package/dist/views/dictionary/itemlist.vue.d.ts +319 -319
- package/dist/views/group/components/drawerGroup.vue.d.ts +4 -4
- package/dist/views/group/index.vue.d.ts +319 -319
- package/dist/views/layout_setting/index.vue.d.ts +1 -1
- package/dist/views/log_center/components/browserType.vue.d.ts +3 -3
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -4
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -4
- package/dist/views/log_center/login_history.vue.d.ts +315 -315
- package/dist/views/log_center/operate_history.vue.d.ts +315 -315
- package/dist/views/menu_setting/index.vue.d.ts +1 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +4 -4
- package/dist/views/organization/components/drawerRole.vue.d.ts +18 -10
- package/dist/views/organization/index.vue.d.ts +23 -15
- package/dist/views/other_setting/index.vue.d.ts +1 -1
- package/dist/views/page_animation_setting/index.vue.d.ts +1 -1
- package/dist/views/page_w_setting/index.vue.d.ts +1 -1
- package/dist/views/position/components/drawerPosition.vue.d.ts +4 -4
- package/dist/views/position/index.vue.d.ts +319 -319
- package/dist/views/region/components/drawerRegion.vue.d.ts +4 -4
- package/dist/views/region/index.vue.d.ts +319 -319
- package/dist/views/resource/components/ComponentSelect.vue.d.ts +12 -0
- package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +13 -0
- package/dist/views/resource/components/ImportExport.vue.d.ts +13 -0
- package/dist/views/resource/components/MetaForm.vue.d.ts +10 -0
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -4
- package/dist/views/resource/components/RoleRelation.vue.d.ts +2 -2
- package/dist/views/resource/enum.d.ts +6 -13
- package/dist/views/resource/hooks/useMetaForm.d.ts +6 -0
- package/dist/views/resource/index.vue.d.ts +343 -321
- package/dist/views/resource/interface.d.ts +4 -1
- package/dist/views/resource/model.d.ts +37 -0
- package/dist/views/role/components/ResourceRelation.vue.d.ts +316 -316
- package/dist/views/role/components/drawerRole.vue.d.ts +10 -10
- package/dist/views/role/index.vue.d.ts +642 -642
- package/dist/views/role_group/components/drawerRole.vue.d.ts +18 -10
- package/dist/views/role_group/index.vue.d.ts +333 -325
- package/dist/views/safe_setting/index.vue.d.ts +1 -1
- package/dist/views/tabbar_setting/index.vue.d.ts +1 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +10 -10
- package/dist/views/tenant/index.vue.d.ts +325 -325
- package/dist/views/theme_setting/index.vue.d.ts +1 -1
- package/dist/views/toolbar_setting/index.vue.d.ts +1 -1
- package/dist/views/user/components/OrgAndPosition.vue.d.ts +3 -3
- package/dist/views/user/components/UserAuthorization.vue.d.ts +18 -10
- package/dist/views/user/components/UserEdit.vue.d.ts +4 -4
- package/dist/views/user/index.vue.d.ts +337 -329
- package/dist/views/watermark_setting/index.vue.d.ts +9 -9
- package/dist/watermark_setting-tqYUcPzF.js +199 -0
- package/dist/zddata-D9x-CcqP.js +2 -0
- package/dist/zy_checked-B0r0BaR-.js +2 -0
- package/dist/zy_default-BHbIn4if.js +2 -0
- package/package.json +14 -14
- package/src/api/modules/assist/gonggaofuwu.ts +24 -9
- package/src/api/modules/assist/index.ts +0 -2
- package/src/api/modules/assist/qunzujiekou.ts +37 -7
- package/src/api/modules/assist/quyujiekou.ts +12 -3
- package/src/api/modules/assist/typings.d.ts +62 -58
- package/src/api/modules/configData/heibaimingdanfuwu.ts +12 -3
- package/src/api/modules/configData/index.ts +1 -3
- package/src/api/modules/configData/typings.d.ts +84 -74
- package/src/api/modules/configData/xitongpeizhifuwu.ts +39 -15
- package/src/api/modules/configData/{zidianfuwu.ts → zidifuwu.ts} +80 -8
- package/src/api/modules/log/caozuorizhifuwu.ts +8 -2
- package/src/api/modules/log/denglurizhifuwu.ts +8 -2
- package/src/api/modules/log/index.ts +0 -2
- package/src/api/modules/log/typings.d.ts +29 -25
- package/src/api/modules/rbac/gangweijiekou.ts +44 -8
- package/src/api/modules/rbac/index.ts +1 -2
- package/src/api/modules/rbac/jiaosejiekou.ts +24 -9
- package/src/api/modules/rbac/pubJiaosezukongzhiqi.ts +45 -6
- package/src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts +26 -12
- package/src/api/modules/rbac/typings.d.ts +419 -296
- package/src/api/modules/rbac/yonghujiekou.ts +115 -13
- package/src/api/modules/rbac/yonghushoucangbiaojiekou.ts +20 -5
- package/src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts +12 -3
- package/src/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts +158 -0
- package/src/api/modules/rbac/ziyuanjiekou.ts +43 -4
- package/src/api/modules/rbac/zuhuguanlijiekou.ts +20 -11
- package/src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts +12 -3
- package/src/api/modules/rbac/zuzhijiekou.ts +28 -10
- package/src/api/request.ts +3 -2
- package/src/assets/icons/resource-dynamic.svg +39 -0
- package/src/assets/icons/resource-micro.svg +40 -0
- package/src/components/DirectoryIcones/ComponentsIcones.vue +18 -0
- package/src/components/DirectoryIcones/FolderIcones.vue +18 -0
- package/src/components/DirectoryIcones/ModuleIcones.vue +18 -0
- package/src/components/DirectoryIcones/PackagesIcones.vue +18 -0
- package/src/components/DirectoryIcones/SrcIcones.vue +18 -0
- package/src/components/DirectoryIcones/ViewIcones.vue +18 -0
- package/src/components/DirectoryIcones/VueIcones.vue +9 -0
- package/src/components/GroupSelector/index.vue +64 -89
- package/src/components/OrgTree/index.vue +2 -2
- package/src/components/OrgUserSelector/index.ts +5 -0
- package/src/components/OrgUserSelector/provider.ts +1 -1
- package/src/components/ResourceIcones/Select.vue +240 -0
- package/src/components/ResourceSelector/index.vue +33 -50
- package/src/components/RoleSelector/RoleSearch.vue +60 -0
- package/src/components/RoleSelector/RoleSelector.vue +174 -0
- package/src/components/RoleSelector/TooltipLabel.vue +24 -0
- package/src/components/RoleSelector/index.ts +2 -0
- package/src/components/RoleSelector/interface.ts +4 -0
- package/src/components/RoleSelector/useRole.ts +56 -0
- package/src/context.ts +20 -0
- package/src/index.ts +21 -18
- package/src/interface.ts +31 -2
- package/src/routes/index.ts +9 -5
- package/src/routes/modules/authority.manage.menu.ts +0 -13
- package/src/routes/modules/log.manage.menu.ts +0 -8
- package/src/routes/modules/safe.manage.menu.ts +0 -12
- package/src/routes/modules/stylesetting.manage.menu.ts +0 -16
- package/src/routes/modules/system.manage.menu.ts +0 -10
- package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +1 -1
- package/src/views/blackWhiteList/index.vue +14 -26
- package/src/views/breadcrumb_setting/index.vue +3 -3
- package/src/views/components/animation_item.vue +2 -2
- package/src/views/components/setItem.vue +13 -20
- package/src/views/data-permission/components/createAndEditDataPermission.vue +4 -4
- package/src/views/data-permission/enum.ts +7 -7
- package/src/views/data-permission/index.vue +9 -12
- package/src/views/dictionary/components/drawerDictionary.vue +1 -1
- package/src/views/dictionary/components/drawerDictionaryItem.vue +1 -1
- package/src/views/dictionary/index.vue +3 -3
- package/src/views/dictionary/itemlist.vue +3 -3
- package/src/views/group/components/drawerGroup.vue +2 -2
- package/src/views/group/index.vue +13 -18
- package/src/views/layout_setting/index.vue +154 -164
- package/src/views/log_center/components/loginHistoryDetail.vue +6 -8
- package/src/views/log_center/components/operateHistoryDetail.vue +6 -8
- package/src/views/log_center/login_history.vue +6 -11
- package/src/views/log_center/operate_history.vue +6 -11
- package/src/views/menu_setting/index.vue +3 -3
- package/src/views/organization/components/drawerOrganization.vue +3 -3
- package/src/views/organization/components/drawerRole.vue +9 -7
- package/src/views/organization/index.vue +23 -49
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/page_animation_setting/index.vue +10 -18
- package/src/views/page_w_setting/index.vue +133 -116
- package/src/views/position/components/drawerPosition.vue +2 -2
- package/src/views/position/index.vue +1 -1
- package/src/views/region/components/drawerRegion.vue +2 -2
- package/src/views/region/index.vue +1 -1
- package/src/views/resource/components/ComponentSelect.vue +375 -0
- package/src/views/resource/components/DynamicRoutesForm.vue +92 -0
- package/src/views/resource/components/ImportExport.vue +313 -0
- package/src/views/resource/components/MetaForm.vue +119 -0
- package/src/views/resource/components/ResourceEdit.vue +144 -73
- package/src/views/resource/components/RoleRelation.vue +1 -1
- package/src/views/resource/enum.ts +12 -13
- package/src/views/resource/hooks/useMetaForm.ts +103 -0
- package/src/views/resource/index.vue +59 -32
- package/src/views/resource/interface.ts +5 -1
- package/src/views/resource/model.ts +53 -0
- package/src/views/role/components/ResourceRelation.vue +3 -4
- package/src/views/role/components/drawerRole.vue +3 -3
- package/src/views/role/index.vue +1 -1
- package/src/views/role_group/components/ResourceRelation.vue +3 -4
- package/src/views/role_group/components/drawerRole.vue +8 -7
- package/src/views/role_group/index.vue +1 -1
- package/src/views/safe_setting/index.vue +5 -7
- package/src/views/tabbar_setting/index.vue +2 -2
- package/src/views/tenant/components/TenantEdit.vue +1 -1
- package/src/views/tenant/index.vue +1 -1
- package/src/views/theme_setting/index.vue +202 -231
- package/src/views/toolbar_setting/index.vue +3 -3
- package/src/views/user/components/OrgAndPosition.vue +2 -2
- package/src/views/user/components/UserAuthorization.vue +13 -12
- package/src/views/user/components/UserEdit.vue +1 -1
- package/src/views/user/index.vue +1 -1
- package/src/views/watermark_setting/index.vue +8 -15
- package/dist/OrgSelector.vue_vue_type_script_setup_true_lang-BcL0IFuA.js +0 -567
- package/dist/_baseClone-CQ44TFeq.js +0 -191
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
- package/dist/animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js +0 -4864
- package/dist/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -38
- package/dist/cloneDeep-BI4WNBQ9.js +0 -8
- package/dist/enum-BEHz_Q18.js +0 -74
- package/dist/enum-C9ihxJe7.js +0 -4
- package/dist/enum-CTUzwCYG.js +0 -4
- package/dist/enum-DDKThkSw.js +0 -24
- package/dist/gangweijiekou-BxJq_m0o.js +0 -46
- package/dist/index-BS45K9vK.js +0 -685
- package/dist/index-Bbsiwecf.js +0 -1631
- package/dist/index-BhcAk-IH.js +0 -399
- package/dist/index-Bl4v-7On.js +0 -125
- package/dist/index-CFPhIFyG.js +0 -140
- package/dist/index-CLSeuhTv.js +0 -872
- package/dist/index-CLxqmFPw.js +0 -317
- package/dist/index-CTiFd9M0.js +0 -303
- package/dist/index-Cej8u1qo.js +0 -274
- package/dist/index-Cr17VOfm.js +0 -389
- package/dist/index-CsHj-xDw.js +0 -283
- package/dist/index-D0yB_8b0.js +0 -181
- package/dist/index-DFR8dd2B.js +0 -785
- package/dist/index-DNf0NPrD.js +0 -131
- package/dist/index-Dm4sOX43.js +0 -27
- package/dist/index-KboUdpTh.js +0 -18588
- package/dist/index-MtXfNGqS.js +0 -1246
- package/dist/index-U8kjKY6p.js +0 -462
- package/dist/index-UZeQsp70.js +0 -177
- package/dist/index-a0E9oj3q.js +0 -703
- package/dist/index-gmUZUdNl.js +0 -634
- package/dist/index-j_ln_NSt.js +0 -455
- package/dist/index-s32GbmsJ.js +0 -164
- package/dist/index-yEpViVkx.js +0 -409
- package/dist/index-zh8PZXw2.js +0 -862
- package/dist/itemlist-xAbIKRVj.js +0 -369
- package/dist/jiaosejiekou-BfY4h7uI.js +0 -58
- package/dist/login_history-CuQv9Iw3.js +0 -430
- package/dist/operate_history-CGP-1Xy2.js +0 -468
- package/dist/pubJiaosezukongzhiqi-CvYfc8Uz.js +0 -57
- package/dist/request-DQLgc7lT.js +0 -5
- package/dist/setItem-DkOvmWXP.js +0 -152
- package/dist/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +0 -65
- package/dist/useAppAndResource-D_b19V4t.js +0 -55
- package/dist/views/organization/components/roleSelect.vue.d.ts +0 -14
- package/dist/views/role_group/components/roleSelect.vue.d.ts +0 -14
- package/dist/views/user/components/roleSelect.vue.d.ts +0 -14
- package/dist/xitongpeizhifuwu-C1Vm-W1B.js +0 -23
- package/dist/zidianfuwu-yCWHhOfO.js +0 -65
- package/dist/ziyuanjiekou-DhrAbneq.js +0 -69
- package/dist/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +0 -28
- package/dist/zuzhijiekou-PeZuFtCO.js +0 -85
- package/src/assets/icons/403.svg +0 -1
- package/src/assets/icons/403_dark.svg +0 -1
- package/src/assets/icons/404.svg +0 -1
- package/src/assets/icons/404_dark.svg +0 -1
- package/src/assets/icons/browser-360.svg +0 -1
- package/src/assets/icons/browser-qq.svg +0 -1
- package/src/assets/icons/browser-uc.svg +0 -1
- package/src/assets/icons/change-org.svg +0 -1
- package/src/assets/icons/empty-data.svg +0 -1
- package/src/assets/icons/favorites.svg +0 -1
- package/src/assets/icons/image-load-fail.svg +0 -1
- package/src/assets/icons/logo-sig.svg +0 -1
- package/src/assets/icons/logo.svg +0 -1
- package/src/assets/icons/mima.svg +0 -1
- package/src/assets/icons/process-management.svg +0 -1
- package/src/assets/icons/project-management.svg +0 -1
- package/src/assets/icons/rbac.svg +0 -1
- package/src/assets/icons/test.svg +0 -1
- package/src/assets/icons/toolbar-collapse.svg +0 -1
- package/src/assets/icons/tree_icon.svg +0 -1
- package/src/assets/icons/tree_icon_checked.svg +0 -1
- package/src/assets/icons/workbench.svg +0 -1
- package/src/views/organization/components/roleSelect.vue +0 -258
- package/src/views/role_group/components/roleSelect.vue +0 -224
- package/src/views/user/components/roleSelect.vue +0 -258
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { b as e } from "./chunk-B3eAFu3c.js";
|
|
2
|
+
var t = /* @__PURE__ */ e(((exports, t) => {
|
|
3
|
+
(function(n, r) {
|
|
4
|
+
typeof exports == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
|
|
5
|
+
})(exports, (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), e.$i = !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 { t as b };
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { c as e, g as t } from "./configData-BoeH9I4s.js";
|
|
2
|
+
import { b as n } from "./enum-DfCD4cL8.js";
|
|
3
|
+
import { b as r } from "./drawerDictionary-CzT9KJGw.js";
|
|
4
|
+
import { PubinfoIcon as i, useAuth as a } from "pubinfo";
|
|
5
|
+
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
|
|
6
|
+
import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
|
|
7
|
+
import { Modal as x, message as S } from "ant-design-vue";
|
|
8
|
+
import { Button as C, Space as w } from "ant-design-vue/es";
|
|
9
|
+
import { ProTable as T } from "@pubinfo/pro-components";
|
|
10
|
+
import { useRouter as E } from "vue-router";
|
|
11
|
+
const D = {
|
|
12
|
+
"py-10px": "",
|
|
13
|
+
"px-10px": "",
|
|
14
|
+
"w-full": "",
|
|
15
|
+
"h-full": ""
|
|
16
|
+
}, O = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "flex items-center"
|
|
19
|
+
}, k = { class: "ml-4px" }, A = ["onClick"], j = { class: "ml-4px" }, M = ["onClick"], N = { class: "ml-4px" }, P = ["onClick"], F = { class: "ml-4px" };
|
|
20
|
+
var I = /* @__PURE__ */ f({
|
|
21
|
+
name: "Dictionary",
|
|
22
|
+
__name: "index",
|
|
23
|
+
setup(f) {
|
|
24
|
+
let { auth: I } = a(), L = m(), R = m(), z = [
|
|
25
|
+
{
|
|
26
|
+
valueType: "a-input",
|
|
27
|
+
width: 50,
|
|
28
|
+
hideInTable: !0,
|
|
29
|
+
title: "名称或编码",
|
|
30
|
+
dataIndex: "searchName",
|
|
31
|
+
fieldProps: {
|
|
32
|
+
placeholder: "请输入名称或者编码",
|
|
33
|
+
allowClear: !0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hideInSearch: !0,
|
|
38
|
+
minWidth: 100,
|
|
39
|
+
title: "类型名称",
|
|
40
|
+
dataIndex: "name",
|
|
41
|
+
ellipsis: !0
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
hideInSearch: !0,
|
|
45
|
+
minWidth: 80,
|
|
46
|
+
title: "类型编码",
|
|
47
|
+
dataIndex: "code",
|
|
48
|
+
ellipsis: !0
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
hideInSearch: !0,
|
|
52
|
+
minWidth: 100,
|
|
53
|
+
title: "描述",
|
|
54
|
+
dataIndex: "description",
|
|
55
|
+
ellipsis: !0
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
hideInSearch: !0,
|
|
59
|
+
width: 80,
|
|
60
|
+
minWidth: 60,
|
|
61
|
+
title: "排序",
|
|
62
|
+
dataIndex: "sort"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
hideInSearch: !0,
|
|
66
|
+
title: "操作",
|
|
67
|
+
dataIndex: "action",
|
|
68
|
+
width: 240,
|
|
69
|
+
fixed: "right",
|
|
70
|
+
hideInTable() {
|
|
71
|
+
return !I([
|
|
72
|
+
"dictionary_data",
|
|
73
|
+
"dictionary_edit",
|
|
74
|
+
"dictionary_remove"
|
|
75
|
+
]);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
];
|
|
79
|
+
async function B(e) {
|
|
80
|
+
let { current: n, pageSize: r, searchName: i } = e, a = await t({
|
|
81
|
+
currentPage: n,
|
|
82
|
+
pageSize: r,
|
|
83
|
+
name: i,
|
|
84
|
+
doSearchTotal: !0
|
|
85
|
+
});
|
|
86
|
+
return {
|
|
87
|
+
success: a.success,
|
|
88
|
+
data: a.data?.records ?? [],
|
|
89
|
+
total: a.data?.total ?? 0
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
let V = E();
|
|
93
|
+
function H(t, r) {
|
|
94
|
+
switch (t) {
|
|
95
|
+
case n.ADD:
|
|
96
|
+
R.value.open(t);
|
|
97
|
+
break;
|
|
98
|
+
case n.EDIT:
|
|
99
|
+
R.value.open(t, r);
|
|
100
|
+
break;
|
|
101
|
+
case n.REMOVE:
|
|
102
|
+
x.confirm({
|
|
103
|
+
title: "删除",
|
|
104
|
+
content: "确定要删除该类型吗?",
|
|
105
|
+
onOk() {
|
|
106
|
+
e({ id: r?.id }).then((e) => {
|
|
107
|
+
e.success && (S.success("删除成功"), U());
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
break;
|
|
112
|
+
case n.ADDNEXT:
|
|
113
|
+
V.push({
|
|
114
|
+
name: "DictionaryItem",
|
|
115
|
+
params: { id: `${r?.id}` },
|
|
116
|
+
query: { code: `${r?.code}` }
|
|
117
|
+
});
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function U() {
|
|
122
|
+
L.value.reload();
|
|
123
|
+
}
|
|
124
|
+
return (e, t) => {
|
|
125
|
+
let a = b, f = C, m = i, x = w, S = h("auth");
|
|
126
|
+
return p(), c("div", D, [d(_(T), {
|
|
127
|
+
ref_key: "tableRef",
|
|
128
|
+
ref: L,
|
|
129
|
+
"row-key": "id",
|
|
130
|
+
request: B,
|
|
131
|
+
columns: z,
|
|
132
|
+
"auto-height": "",
|
|
133
|
+
scroll: { x: 1040 }
|
|
134
|
+
}, {
|
|
135
|
+
toolbar: v(() => [y((p(), o(f, {
|
|
136
|
+
type: "primary",
|
|
137
|
+
onClick: t[0] ||= (e) => H(_(n).ADD)
|
|
138
|
+
}, {
|
|
139
|
+
default: v(() => [d(a), u(" " + g(_(n).ADD), 1)]),
|
|
140
|
+
_: 1
|
|
141
|
+
})), [[S, "dictionary_add"]])]),
|
|
142
|
+
bodyCell: v(({ column: e, record: t }) => [e.dataIndex === "code" ? (p(), c("div", O, [d(m, {
|
|
143
|
+
name: "icard",
|
|
144
|
+
class: "text-20px"
|
|
145
|
+
}), l("span", k, g(t.code), 1)])) : s("v-if", !0), e.dataIndex === "action" ? (p(), o(x, { key: 1 }, {
|
|
146
|
+
default: v(() => [
|
|
147
|
+
y((p(), c("a", {
|
|
148
|
+
class: "flex items-center",
|
|
149
|
+
onClick: (e) => H(_(n).ADDNEXT, t)
|
|
150
|
+
}, [d(m, {
|
|
151
|
+
name: "zddata",
|
|
152
|
+
class: "text-20px"
|
|
153
|
+
}), l("span", j, g(_(n).ADDNEXT), 1)], 8, A)), [[S, "dictionary_data"]]),
|
|
154
|
+
y((p(), c("a", {
|
|
155
|
+
class: "flex items-center",
|
|
156
|
+
onClick: (e) => H(_(n).EDIT, t)
|
|
157
|
+
}, [d(m, {
|
|
158
|
+
name: "edit",
|
|
159
|
+
class: "text-base"
|
|
160
|
+
}), l("span", N, g(_(n).EDIT), 1)], 8, M)), [[S, "dictionary_edit"]]),
|
|
161
|
+
y((p(), c("span", {
|
|
162
|
+
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
163
|
+
onClick: (e) => H(_(n).REMOVE, t)
|
|
164
|
+
}, [d(m, {
|
|
165
|
+
name: "remove",
|
|
166
|
+
class: "text-base"
|
|
167
|
+
}), l("span", F, g(_(n).REMOVE), 1)], 8, P)), [[S, "dictionary_remove"]])
|
|
168
|
+
]),
|
|
169
|
+
_: 2
|
|
170
|
+
}, 1024)) : s("v-if", !0)]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 512), d(r, {
|
|
173
|
+
ref_key: "drawerDictionaryRef",
|
|
174
|
+
ref: R,
|
|
175
|
+
onSubmit: t[1] ||= (e) => U()
|
|
176
|
+
}, null, 512)]);
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}), L = I;
|
|
180
|
+
export { L as default };
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { am as e } from "./index.js";
|
|
2
|
+
import { m as t, o as n } from "./configData-BoeH9I4s.js";
|
|
3
|
+
import { createBlock as r, createTextVNode as i, createVNode as a, defineComponent as o, isRef as s, openBlock as c, ref as l, resolveComponent as u, unref as d, withCtx as f } from "vue";
|
|
4
|
+
import { message as p } from "ant-design-vue";
|
|
5
|
+
import { Button as m, Drawer as h, Form as g, FormItem as _, Input as v, Space as y, Switch as b, Textarea as x } from "ant-design-vue/es";
|
|
6
|
+
var S = /* @__PURE__ */ o({
|
|
7
|
+
name: "DrawerBlackWhiteList",
|
|
8
|
+
__name: "drawerBlackWhiteList",
|
|
9
|
+
props: { type: {} },
|
|
10
|
+
emits: ["submit"],
|
|
11
|
+
setup(o, { expose: u, emit: S }) {
|
|
12
|
+
let C = o, w = S, T = {
|
|
13
|
+
ip: [{
|
|
14
|
+
required: !0,
|
|
15
|
+
validator: N,
|
|
16
|
+
trigger: ["blur", "change"]
|
|
17
|
+
}],
|
|
18
|
+
enable: [{
|
|
19
|
+
required: !0,
|
|
20
|
+
message: "请选择是否开启",
|
|
21
|
+
trigger: ["blur", "change"]
|
|
22
|
+
}]
|
|
23
|
+
}, E = l(""), [D, O] = e(!1), k = l(), A = { enable: !0 }, j = l({}), M = l(!1);
|
|
24
|
+
function N(e, t, n) {
|
|
25
|
+
let r = /^(25[0-5]|2[0-4]\d|[01]?\d{1,2})\.(25[0-5]|2[0-4]\d|[01]?\d{1,2})\.(25[0-5]|2[0-4]\d|[01]?\d{1,2})\.(25[0-5]|2[0-4]\d|[01]?\d{1,2})$/;
|
|
26
|
+
t ? r.test(t) ? n() : n(/* @__PURE__ */ Error("ip地址格式不正确")) : n(/* @__PURE__ */ Error("请输入ip地址"));
|
|
27
|
+
}
|
|
28
|
+
async function P(e, t, n) {
|
|
29
|
+
E.value = e, O(!0), t ? (M.value = !0, j.value = { ...n ?? {} }) : (M.value = !1, j.value = { ...A });
|
|
30
|
+
}
|
|
31
|
+
let [F, I] = e(!1);
|
|
32
|
+
function L() {
|
|
33
|
+
k.value?.validate().then(() => {
|
|
34
|
+
I(!0);
|
|
35
|
+
let e = M.value ? n : t, r = {
|
|
36
|
+
...j.value,
|
|
37
|
+
type: C.type
|
|
38
|
+
};
|
|
39
|
+
e(r).then((e) => {
|
|
40
|
+
e.success && (p.success(`${E.value}成功!`), O(!1), w("submit"));
|
|
41
|
+
}).finally(() => I(!1));
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function R() {
|
|
45
|
+
O(!1);
|
|
46
|
+
}
|
|
47
|
+
return u({ open: P }), (e, t) => {
|
|
48
|
+
let n = v, o = _, l = b, u = x, p = g, S = m, C = y, w = h;
|
|
49
|
+
return c(), r(w, {
|
|
50
|
+
open: d(D),
|
|
51
|
+
"onUpdate:open": t[4] ||= (e) => s(D) ? D.value = e : null,
|
|
52
|
+
title: `${d(E)}信息`,
|
|
53
|
+
placement: "right",
|
|
54
|
+
width: 600,
|
|
55
|
+
"destroy-on-close": "",
|
|
56
|
+
"footer-style": { textAlign: "right" },
|
|
57
|
+
onClose: R
|
|
58
|
+
}, {
|
|
59
|
+
footer: f(() => [a(C, null, {
|
|
60
|
+
default: f(() => [a(S, { onClick: R }, {
|
|
61
|
+
default: f(() => t[5] ||= [i(" 取消 ")]),
|
|
62
|
+
_: 1,
|
|
63
|
+
__: [5]
|
|
64
|
+
}), a(S, {
|
|
65
|
+
type: "primary",
|
|
66
|
+
loading: d(F),
|
|
67
|
+
onClick: t[3] ||= (e) => L()
|
|
68
|
+
}, {
|
|
69
|
+
default: f(() => t[6] ||= [i(" 提交 ")]),
|
|
70
|
+
_: 1,
|
|
71
|
+
__: [6]
|
|
72
|
+
}, 8, ["loading"])]),
|
|
73
|
+
_: 1
|
|
74
|
+
})]),
|
|
75
|
+
default: f(() => [a(p, {
|
|
76
|
+
ref_key: "formRef",
|
|
77
|
+
ref: k,
|
|
78
|
+
model: d(j),
|
|
79
|
+
rules: T,
|
|
80
|
+
"label-col": { span: 4 }
|
|
81
|
+
}, {
|
|
82
|
+
default: f(() => [
|
|
83
|
+
a(o, {
|
|
84
|
+
label: "来源ip地址",
|
|
85
|
+
name: "ip"
|
|
86
|
+
}, {
|
|
87
|
+
default: f(() => [a(n, {
|
|
88
|
+
value: d(j).ip,
|
|
89
|
+
"onUpdate:value": t[0] ||= (e) => d(j).ip = e,
|
|
90
|
+
maxlength: 20
|
|
91
|
+
}, null, 8, ["value"])]),
|
|
92
|
+
_: 1
|
|
93
|
+
}),
|
|
94
|
+
a(o, {
|
|
95
|
+
label: "状态",
|
|
96
|
+
name: "enable"
|
|
97
|
+
}, {
|
|
98
|
+
default: f(() => [a(l, {
|
|
99
|
+
checked: d(j).enable,
|
|
100
|
+
"onUpdate:checked": t[1] ||= (e) => d(j).enable = e
|
|
101
|
+
}, null, 8, ["checked"])]),
|
|
102
|
+
_: 1
|
|
103
|
+
}),
|
|
104
|
+
a(o, {
|
|
105
|
+
label: "描述",
|
|
106
|
+
name: "description"
|
|
107
|
+
}, {
|
|
108
|
+
default: f(() => [a(u, {
|
|
109
|
+
value: d(j).description,
|
|
110
|
+
"onUpdate:value": t[2] ||= (e) => d(j).description = e,
|
|
111
|
+
rows: 3,
|
|
112
|
+
"show-count": "",
|
|
113
|
+
maxlength: 200
|
|
114
|
+
}, null, 8, ["value"])]),
|
|
115
|
+
_: 1
|
|
116
|
+
})
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["model"])]),
|
|
120
|
+
_: 1
|
|
121
|
+
}, 8, ["open", "title"]);
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}), C = S;
|
|
125
|
+
export { C as b };
|