@pubinfo/module-rbac 2.0.0-beta.8 → 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,376 @@
|
|
|
1
|
+
import { b as e } from "./ComponentSelect-CFoCrAFh.js";
|
|
2
|
+
import { d as t } from "./enum-BMY6bmPA.js";
|
|
3
|
+
import { PubinfoIcon as n, getAllIconModules as r } from "pubinfo";
|
|
4
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, isRef as f, mergeModels as p, normalizeClass as m, openBlock as h, ref as g, renderList as _, resolveComponent as v, toDisplayString as y, unref as b, useModel as x, watch as S, withCtx as C } from "vue";
|
|
5
|
+
import * as w from "@ant-design/icons-vue";
|
|
6
|
+
import { Empty as T } from "ant-design-vue";
|
|
7
|
+
import { Col as E, Empty as D, FormItem as O, FormItemRest as k, Input as A, Modal as j, Pagination as M, Tooltip as N } from "ant-design-vue/es";
|
|
8
|
+
const P = { class: "flex gap-4 min-h-[600px]" }, ee = { class: "w-58 flex flex-col border-r border-[#e5e7eb] dark:border-[#30363d] pr-3" }, te = { class: "mb-3" }, ne = { class: "flex-1 overflow-auto space-y-1 pr-1" }, re = ["onClick"], ie = { class: "truncate max-w-[120px]" }, F = { class: "ml-2 inline-block min-w-6 text-center text-11px rounded bg-[#eef1f5] dark:bg-[#2d3339] px-1 text-[#5d6671] dark:text-[#9aa3ad]" }, I = { class: "flex-1 flex flex-col min-w-0" }, L = { class: "grid grid-cols-6 gap-3 auto-rows-[96px] overflow-auto flex-1 p-1" }, R = { class: "text-12px leading-tight space-y-1" }, z = { class: "font-medium" }, B = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "opacity-70"
|
|
11
|
+
}, V = ["onClick"], H = { class: "mt-4 flex justify-center select-none" }, U = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "flex-1 flex items-center justify-center"
|
|
14
|
+
};
|
|
15
|
+
var W = /* @__PURE__ */ d({
|
|
16
|
+
name: "ResourceIconesSelect",
|
|
17
|
+
__name: "Select",
|
|
18
|
+
props: {
|
|
19
|
+
modelValue: {},
|
|
20
|
+
modelModifiers: {}
|
|
21
|
+
},
|
|
22
|
+
emits: ["update:modelValue"],
|
|
23
|
+
setup(e) {
|
|
24
|
+
let t = x(e, "modelValue"), d = g(!1);
|
|
25
|
+
function p() {
|
|
26
|
+
d.value = !0;
|
|
27
|
+
}
|
|
28
|
+
function v() {
|
|
29
|
+
d.value = !1;
|
|
30
|
+
}
|
|
31
|
+
function E(e) {
|
|
32
|
+
let t = e.split(/[\\/]/).pop() || e;
|
|
33
|
+
return t.replace(/\.(svg|png|jpe?g)$/i, "");
|
|
34
|
+
}
|
|
35
|
+
let O = a(() => {
|
|
36
|
+
let e = /* @__PURE__ */ new Map(), t = r();
|
|
37
|
+
for (let [n, r] of t.entries()) {
|
|
38
|
+
let t = Object.keys(r).map(E).sort();
|
|
39
|
+
e.set(n, t);
|
|
40
|
+
}
|
|
41
|
+
return e;
|
|
42
|
+
}), W = a(() => Object.keys(w).filter((e) => /(?:Outlined|Filled|TwoTone)$/.test(e)).map((e) => `antd:${e}`).sort()), G = a(() => {
|
|
43
|
+
let e = Array.from(O.value.keys()), t = e.includes("local"), n = e.filter((e) => e !== "local").sort();
|
|
44
|
+
return [
|
|
45
|
+
{
|
|
46
|
+
label: "全部",
|
|
47
|
+
value: "all"
|
|
48
|
+
},
|
|
49
|
+
...t ? [{
|
|
50
|
+
label: "本地",
|
|
51
|
+
value: "local"
|
|
52
|
+
}] : [],
|
|
53
|
+
...n.map((e) => ({
|
|
54
|
+
label: e,
|
|
55
|
+
value: e
|
|
56
|
+
})),
|
|
57
|
+
{
|
|
58
|
+
label: "Ant Design",
|
|
59
|
+
value: "antd"
|
|
60
|
+
}
|
|
61
|
+
];
|
|
62
|
+
}), K = g("all"), q = g(""), J = a(() => {
|
|
63
|
+
let e = [];
|
|
64
|
+
for (let [t, n] of O.value.entries()) n.forEach((n) => {
|
|
65
|
+
t === "local" ? e.push({
|
|
66
|
+
name: n,
|
|
67
|
+
module: t
|
|
68
|
+
}) : e.push({
|
|
69
|
+
name: `${t}-[${n}]`,
|
|
70
|
+
module: t
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
return W.value.forEach((t) => e.push({
|
|
74
|
+
name: t,
|
|
75
|
+
module: "antd"
|
|
76
|
+
})), e;
|
|
77
|
+
}), Y = a(() => K.value === "all" ? J.value : K.value === "antd" ? J.value.filter((e) => e.module === "antd") : J.value.filter((e) => e.module === K.value)), X = a(() => {
|
|
78
|
+
let e = q.value.trim().toLowerCase();
|
|
79
|
+
return e ? Y.value.filter((t) => t.name.toLowerCase().includes(e)) : Y.value;
|
|
80
|
+
});
|
|
81
|
+
function Z(e) {
|
|
82
|
+
return e === "all" ? J.value.length : e === "antd" ? J.value.filter((e) => e.module === "antd").length : J.value.filter((t) => t.module === e).length;
|
|
83
|
+
}
|
|
84
|
+
let Q = g(1), $ = a(() => Math.max(1, Math.ceil(X.value.length / 30))), ae = a(() => {
|
|
85
|
+
let e = (Q.value - 1) * 30;
|
|
86
|
+
return X.value.slice(e, e + 30);
|
|
87
|
+
});
|
|
88
|
+
S([q, K], () => {
|
|
89
|
+
Q.value = 1;
|
|
90
|
+
}), S(X, () => {
|
|
91
|
+
Q.value > $.value && (Q.value = $.value);
|
|
92
|
+
});
|
|
93
|
+
function oe(e) {
|
|
94
|
+
Q.value = e;
|
|
95
|
+
}
|
|
96
|
+
function se(e) {
|
|
97
|
+
t.value = e.name, v();
|
|
98
|
+
}
|
|
99
|
+
let ce = T.PRESENTED_IMAGE_SIMPLE;
|
|
100
|
+
return (e, r) => {
|
|
101
|
+
let a = N, g = A, x = M, S = D, w = j, T = k;
|
|
102
|
+
return h(), c(i, null, [u(g, {
|
|
103
|
+
value: t.value,
|
|
104
|
+
"onUpdate:value": r[0] ||= (e) => t.value = e,
|
|
105
|
+
onClick: p
|
|
106
|
+
}, {
|
|
107
|
+
addonAfter: C(() => [u(a, null, {
|
|
108
|
+
title: C(() => [u(b(n), {
|
|
109
|
+
name: t.value || "",
|
|
110
|
+
size: "40px",
|
|
111
|
+
class: "cursor-default"
|
|
112
|
+
}, null, 8, ["name"])]),
|
|
113
|
+
default: C(() => [u(b(n), {
|
|
114
|
+
name: t.value || "",
|
|
115
|
+
size: "20px",
|
|
116
|
+
class: "cursor-default"
|
|
117
|
+
}, null, 8, ["name"])]),
|
|
118
|
+
_: 1
|
|
119
|
+
})]),
|
|
120
|
+
_: 1
|
|
121
|
+
}, 8, ["value"]), u(T, null, {
|
|
122
|
+
default: C(() => [u(w, {
|
|
123
|
+
open: b(d),
|
|
124
|
+
"onUpdate:open": r[2] ||= (e) => f(d) ? d.value = e : null,
|
|
125
|
+
title: "选择图标",
|
|
126
|
+
width: "1200px",
|
|
127
|
+
footer: null,
|
|
128
|
+
"destroy-on-close": "",
|
|
129
|
+
onCancel: v
|
|
130
|
+
}, {
|
|
131
|
+
default: C(() => [l("div", P, [
|
|
132
|
+
s(" 左侧模块列表 "),
|
|
133
|
+
l("div", ee, [l("div", te, [u(g, {
|
|
134
|
+
value: b(q),
|
|
135
|
+
"onUpdate:value": r[1] ||= (e) => f(q) ? q.value = e : null,
|
|
136
|
+
"allow-clear": "",
|
|
137
|
+
bordered: !0,
|
|
138
|
+
placeholder: "搜索图标",
|
|
139
|
+
class: "h-9 text-13px"
|
|
140
|
+
}, {
|
|
141
|
+
prefix: C(() => [u(b(n), {
|
|
142
|
+
name: "i-carbon-search",
|
|
143
|
+
size: "16",
|
|
144
|
+
class: "text-[#7a869a]"
|
|
145
|
+
})]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 8, ["value"])]), l("div", ne, [(h(!0), c(i, null, _(b(G), (e) => (h(), c("div", {
|
|
148
|
+
key: e.value,
|
|
149
|
+
class: m(["flex items-center justify-between px-3 py-2 rounded-md cursor-pointer text-13px border border-transparent hover:bg-[#f3f6fa] dark:hover:bg-[#262c33] transition", b(K) === e.value ? "bg-[#eef5ff] dark:bg-[#1e2a33] border-[#1677ff] text-[#1677ff] font-medium" : "text-[#4b5563]"]),
|
|
150
|
+
onClick: (t) => K.value = e.value
|
|
151
|
+
}, [l("span", ie, y(e.label), 1), l("span", F, y(Z(e.value)), 1)], 10, re))), 128))])]),
|
|
152
|
+
s(" 主体 "),
|
|
153
|
+
l("div", I, [b(X).length ? (h(), c(i, { key: 0 }, [
|
|
154
|
+
l("div", L, [(h(!0), c(i, null, _(b(ae), (e) => (h(), o(a, {
|
|
155
|
+
key: `${e.module || ""}:${e.name}`,
|
|
156
|
+
"mouse-enter-delay": .35
|
|
157
|
+
}, {
|
|
158
|
+
title: C(() => [l("div", R, [l("div", z, y(e.name), 1), e.module ? (h(), c("div", B, " 模块: " + y(e.module), 1)) : s("v-if", !0)])]),
|
|
159
|
+
default: C(() => [l("div", {
|
|
160
|
+
class: m(["group relative flex flex-col items-center justify-center cursor-pointer rounded-md", t.value === e.name ? "border-[#1677ff] ring-2 ring-[#1677ff80]" : ""]),
|
|
161
|
+
onClick: (t) => se(e)
|
|
162
|
+
}, [u(b(n), {
|
|
163
|
+
name: e.name,
|
|
164
|
+
size: "30px"
|
|
165
|
+
}, null, 8, ["name"])], 10, V)]),
|
|
166
|
+
_: 2
|
|
167
|
+
}, 1024))), 128))]),
|
|
168
|
+
s(" 分页 "),
|
|
169
|
+
l("div", H, [u(x, {
|
|
170
|
+
current: b(Q),
|
|
171
|
+
"page-size": 30,
|
|
172
|
+
total: b(X).length,
|
|
173
|
+
"show-size-changer": !1,
|
|
174
|
+
"show-quick-jumper": "",
|
|
175
|
+
onChange: oe
|
|
176
|
+
}, null, 8, ["current", "total"])])
|
|
177
|
+
], 64)) : (h(), c("div", U, [u(S, {
|
|
178
|
+
image: b(ce),
|
|
179
|
+
description: "没有匹配的图标"
|
|
180
|
+
}, null, 8, ["image"])]))])
|
|
181
|
+
])]),
|
|
182
|
+
_: 1
|
|
183
|
+
}, 8, ["open"])]),
|
|
184
|
+
_: 1
|
|
185
|
+
})], 64);
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
}), G = W, K = /* @__PURE__ */ d({
|
|
189
|
+
name: "DynamicRoutesForm",
|
|
190
|
+
__name: "DynamicRoutesForm",
|
|
191
|
+
props: /* @__PURE__ */ p({ parent: {} }, {
|
|
192
|
+
modelValue: { default: { meta: {
|
|
193
|
+
url: "",
|
|
194
|
+
component: ""
|
|
195
|
+
} } },
|
|
196
|
+
modelModifiers: {}
|
|
197
|
+
}),
|
|
198
|
+
emits: ["update:modelValue"],
|
|
199
|
+
setup(n) {
|
|
200
|
+
let r = x(n, "modelValue"), l = a(() => {
|
|
201
|
+
let e = r.value.type;
|
|
202
|
+
return {
|
|
203
|
+
path: [
|
|
204
|
+
t.INDEX,
|
|
205
|
+
t.MENU,
|
|
206
|
+
t.MICRO_APP,
|
|
207
|
+
t.NON_MENU,
|
|
208
|
+
t.IFRAME,
|
|
209
|
+
t.LINK
|
|
210
|
+
].includes(e),
|
|
211
|
+
component: [t.MENU, t.NON_MENU].includes(e),
|
|
212
|
+
iframe: [t.IFRAME].includes(e),
|
|
213
|
+
link: [t.LINK].includes(e),
|
|
214
|
+
icon: [
|
|
215
|
+
t.DYNAMIC_APP,
|
|
216
|
+
t.MICRO_APP,
|
|
217
|
+
t.INDEX,
|
|
218
|
+
t.MENU,
|
|
219
|
+
t.IFRAME,
|
|
220
|
+
t.LINK
|
|
221
|
+
].includes(e),
|
|
222
|
+
routeName: [
|
|
223
|
+
t.MENU,
|
|
224
|
+
t.NON_MENU,
|
|
225
|
+
t.IFRAME,
|
|
226
|
+
t.LINK
|
|
227
|
+
].includes(e),
|
|
228
|
+
activeMenu: [
|
|
229
|
+
t.MENU,
|
|
230
|
+
t.NON_MENU,
|
|
231
|
+
t.IFRAME,
|
|
232
|
+
t.LINK
|
|
233
|
+
].includes(e)
|
|
234
|
+
};
|
|
235
|
+
}), d = a(() => !0);
|
|
236
|
+
return (t, n) => {
|
|
237
|
+
let a = A, f = O, p = E;
|
|
238
|
+
return h(), c(i, null, [s(" eslint-disable-next-line "), b(d) ? (h(), c(i, { key: 0 }, [
|
|
239
|
+
b(l).path ? (h(), o(p, {
|
|
240
|
+
key: 0,
|
|
241
|
+
span: 12
|
|
242
|
+
}, {
|
|
243
|
+
default: C(() => [u(f, {
|
|
244
|
+
label: "资源路径",
|
|
245
|
+
name: ["meta", "url"],
|
|
246
|
+
rules: [{
|
|
247
|
+
required: !0,
|
|
248
|
+
message: "请输入资源路径"
|
|
249
|
+
}]
|
|
250
|
+
}, {
|
|
251
|
+
default: C(() => [u(a, {
|
|
252
|
+
value: r.value.meta.url,
|
|
253
|
+
"onUpdate:value": n[0] ||= (e) => r.value.meta.url = e,
|
|
254
|
+
placeholder: "请输入资源路径",
|
|
255
|
+
maxlength: 256
|
|
256
|
+
}, null, 8, ["value"])]),
|
|
257
|
+
_: 1
|
|
258
|
+
})]),
|
|
259
|
+
_: 1
|
|
260
|
+
})) : s("v-if", !0),
|
|
261
|
+
b(l).component ? (h(), o(p, {
|
|
262
|
+
key: 1,
|
|
263
|
+
span: 24
|
|
264
|
+
}, {
|
|
265
|
+
default: C(() => [u(f, {
|
|
266
|
+
label: "组件路径",
|
|
267
|
+
name: ["meta", "component"],
|
|
268
|
+
rules: [{
|
|
269
|
+
required: !0,
|
|
270
|
+
message: "请输入组件路径"
|
|
271
|
+
}]
|
|
272
|
+
}, {
|
|
273
|
+
default: C(() => [u(e, {
|
|
274
|
+
modelValue: r.value.meta.component,
|
|
275
|
+
"onUpdate:modelValue": n[1] ||= (e) => r.value.meta.component = e,
|
|
276
|
+
scope: r.value.meta.scope,
|
|
277
|
+
"onUpdate:scope": n[2] ||= (e) => r.value.meta.scope = e
|
|
278
|
+
}, null, 8, ["modelValue", "scope"])]),
|
|
279
|
+
_: 1
|
|
280
|
+
})]),
|
|
281
|
+
_: 1
|
|
282
|
+
})) : s("v-if", !0),
|
|
283
|
+
b(l).link ? (h(), o(p, {
|
|
284
|
+
key: 2,
|
|
285
|
+
span: 24
|
|
286
|
+
}, {
|
|
287
|
+
default: C(() => [u(f, {
|
|
288
|
+
label: "外链地址",
|
|
289
|
+
name: ["meta", "link"]
|
|
290
|
+
}, {
|
|
291
|
+
default: C(() => [u(a, {
|
|
292
|
+
value: r.value.meta.link,
|
|
293
|
+
"onUpdate:value": n[3] ||= (e) => r.value.meta.link = e,
|
|
294
|
+
placeholder: "请输入外链地址",
|
|
295
|
+
maxlength: 256
|
|
296
|
+
}, null, 8, ["value"])]),
|
|
297
|
+
_: 1
|
|
298
|
+
})]),
|
|
299
|
+
_: 1
|
|
300
|
+
})) : s("v-if", !0),
|
|
301
|
+
b(l).iframe ? (h(), o(p, {
|
|
302
|
+
key: 3,
|
|
303
|
+
span: 24
|
|
304
|
+
}, {
|
|
305
|
+
default: C(() => [u(f, {
|
|
306
|
+
label: "内嵌地址",
|
|
307
|
+
name: ["meta", "iframe"]
|
|
308
|
+
}, {
|
|
309
|
+
default: C(() => [u(a, {
|
|
310
|
+
value: r.value.meta.iframe,
|
|
311
|
+
"onUpdate:value": n[4] ||= (e) => r.value.meta.iframe = e,
|
|
312
|
+
placeholder: "请输入内嵌地址",
|
|
313
|
+
maxlength: 256
|
|
314
|
+
}, null, 8, ["value"])]),
|
|
315
|
+
_: 1
|
|
316
|
+
})]),
|
|
317
|
+
_: 1
|
|
318
|
+
})) : s("v-if", !0),
|
|
319
|
+
b(l).icon ? (h(), o(p, {
|
|
320
|
+
key: 4,
|
|
321
|
+
span: 12
|
|
322
|
+
}, {
|
|
323
|
+
default: C(() => [u(f, {
|
|
324
|
+
label: "资源图标",
|
|
325
|
+
name: "icon"
|
|
326
|
+
}, {
|
|
327
|
+
default: C(() => [u(G, {
|
|
328
|
+
modelValue: r.value.icon,
|
|
329
|
+
"onUpdate:modelValue": n[5] ||= (e) => r.value.icon = e
|
|
330
|
+
}, null, 8, ["modelValue"])]),
|
|
331
|
+
_: 1
|
|
332
|
+
})]),
|
|
333
|
+
_: 1
|
|
334
|
+
})) : s("v-if", !0),
|
|
335
|
+
b(l).routeName ? (h(), o(p, {
|
|
336
|
+
key: 5,
|
|
337
|
+
span: 12
|
|
338
|
+
}, {
|
|
339
|
+
default: C(() => [u(f, {
|
|
340
|
+
label: "路由名称",
|
|
341
|
+
name: ["meta", "routeName"]
|
|
342
|
+
}, {
|
|
343
|
+
default: C(() => [u(a, {
|
|
344
|
+
value: r.value.meta.routeName,
|
|
345
|
+
"onUpdate:value": n[6] ||= (e) => r.value.meta.routeName = e,
|
|
346
|
+
placeholder: "请输入路由名称(name)",
|
|
347
|
+
maxlength: 256
|
|
348
|
+
}, null, 8, ["value"])]),
|
|
349
|
+
_: 1
|
|
350
|
+
})]),
|
|
351
|
+
_: 1
|
|
352
|
+
})) : s("v-if", !0),
|
|
353
|
+
b(l).activeMenu ? (h(), o(p, {
|
|
354
|
+
key: 6,
|
|
355
|
+
span: 12
|
|
356
|
+
}, {
|
|
357
|
+
default: C(() => [u(f, {
|
|
358
|
+
label: "激活路径",
|
|
359
|
+
name: ["meta", "activeMenu"],
|
|
360
|
+
tooltip: "跳转到当前路由时,需要激活的菜单路径。 当不在导航菜单中显示时,需要指定激活路径"
|
|
361
|
+
}, {
|
|
362
|
+
default: C(() => [u(a, {
|
|
363
|
+
value: r.value.meta.activeMenu,
|
|
364
|
+
"onUpdate:value": n[7] ||= (e) => r.value.meta.activeMenu = e,
|
|
365
|
+
placeholder: "请输入激活路径",
|
|
366
|
+
maxlength: 256
|
|
367
|
+
}, null, 8, ["value"])]),
|
|
368
|
+
_: 1
|
|
369
|
+
})]),
|
|
370
|
+
_: 1
|
|
371
|
+
})) : s("v-if", !0)
|
|
372
|
+
], 64)) : s("v-if", !0)], 2112);
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
}), q = K;
|
|
376
|
+
export { q as b };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PubinfoIcon as e } from "pubinfo";
|
|
2
|
+
import { Fragment as t, createBlock as n, createElementBlock as r, createTextVNode as i, defineComponent as a, normalizeClass as o, openBlock as s, renderList as c, resolveComponent as l, toDisplayString as u, watch as d } from "vue";
|
|
3
|
+
const f = { class: "inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7" }, p = ["disabled", "onClick"];
|
|
4
|
+
var m = /* @__PURE__ */ a({
|
|
5
|
+
__name: "HCheckList",
|
|
6
|
+
props: {
|
|
7
|
+
modelValue: {},
|
|
8
|
+
options: {},
|
|
9
|
+
disabled: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["update:modelValue", "change"],
|
|
15
|
+
setup(a, { emit: l }) {
|
|
16
|
+
let m = a, h = l;
|
|
17
|
+
d(() => m.modelValue, (e) => {
|
|
18
|
+
h("change", e);
|
|
19
|
+
});
|
|
20
|
+
function g(e) {
|
|
21
|
+
h("update:modelValue", e);
|
|
22
|
+
}
|
|
23
|
+
return (a, l) => {
|
|
24
|
+
let d = e;
|
|
25
|
+
return s(), r("div", f, [(s(!0), r(t, null, c(a.options, (e) => (s(), r("button", {
|
|
26
|
+
key: e.value,
|
|
27
|
+
disabled: a.disabled || e.disabled,
|
|
28
|
+
class: o(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:(bg-ui-primary text-ui-text)", { "text-ui-text bg-ui-primary": a.modelValue === e.value }]),
|
|
29
|
+
onClick: (t) => g(e.value)
|
|
30
|
+
}, [e.icon ? (s(), n(d, {
|
|
31
|
+
key: 0,
|
|
32
|
+
name: e.icon
|
|
33
|
+
}, null, 8, ["name"])) : (s(), r(t, { key: 1 }, [i(u(e.label), 1)], 64))], 10, p))), 128))]);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}), h = m;
|
|
37
|
+
export { h as b };
|