@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { colorScheme, cssVarKey } from 'pubinfo/client';
|
|
3
|
-
import { postSysconfigAddOrEidtSysThemeStyleConfig } from '@/api/modules/configData';
|
|
4
|
-
import { useSettingsStore } from '@/stores';
|
|
5
3
|
import { message } from 'ant-design-vue';
|
|
6
4
|
import { useTheme } from 'pubinfo';
|
|
7
|
-
import {
|
|
5
|
+
import { getThemes } from 'pubinfo/client';
|
|
6
|
+
import { postSysconfigAddOrEidtSysThemeStyleConfig } from '@/api/modules/configData';
|
|
7
|
+
import { useSettingsStore } from '@/stores';
|
|
8
8
|
|
|
9
9
|
interface ThemeListCard {
|
|
10
10
|
label: string
|
|
@@ -38,6 +38,7 @@ const benchmark: cssVarKey[] = [
|
|
|
38
38
|
];
|
|
39
39
|
|
|
40
40
|
const themeList = computed<ThemeListCard[]>(() => {
|
|
41
|
+
const themes = getThemes();
|
|
41
42
|
const list = Object.keys(themes)
|
|
42
43
|
.map((key) => {
|
|
43
44
|
const value = themes[key];
|
|
@@ -220,246 +221,216 @@ async function updateConfig(options: object) {
|
|
|
220
221
|
</div>
|
|
221
222
|
</template>
|
|
222
223
|
|
|
223
|
-
<style
|
|
224
|
+
<style scoped>
|
|
224
225
|
.theme-item {
|
|
225
|
-
|
|
226
|
-
flex-direction: column;
|
|
227
|
-
padding: 12px 24px 0;
|
|
228
|
-
cursor: pointer;
|
|
226
|
+
--at-apply: flex flex-col cursor-pointer border border-[color:var(--border-2,#e5e6eb)] pt-3 pb-0 px-6 rounded-lg border-solid;
|
|
229
227
|
background: linear-gradient(180deg, #f4f7ff -22.05%, #fff 85.58%);
|
|
230
|
-
|
|
231
|
-
border-radius: 8px;
|
|
232
|
-
|
|
233
|
-
.item-title {
|
|
234
|
-
display: flex;
|
|
235
|
-
align-items: center;
|
|
236
|
-
justify-content: center;
|
|
237
|
-
padding: 0;
|
|
238
|
-
margin: 0;
|
|
239
|
-
font-size: 14px;
|
|
240
|
-
line-height: 22px;
|
|
241
|
-
text-align: center;
|
|
242
|
-
}
|
|
228
|
+
}
|
|
243
229
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
padding: calc(12 / 320 * 100%) calc(20 / 320 * 100%);
|
|
249
|
-
margin-top: calc(12 / 320 * 100%);
|
|
250
|
-
background: linear-gradient(180deg, #fff 0%, #fff0 100%);
|
|
251
|
-
border-radius: calc(8 / 320 * 100%);
|
|
252
|
-
|
|
253
|
-
.spots-wrap {
|
|
254
|
-
margin-left: calc(32 / 270 / 2 * 100%);
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.color-spot {
|
|
258
|
-
flex-shrink: 0;
|
|
259
|
-
width: calc(30 / 270 * 100%);
|
|
260
|
-
max-width: 30px;
|
|
261
|
-
aspect-ratio: 1;
|
|
262
|
-
background: #fff;
|
|
263
|
-
border: 2px solid #fff;
|
|
264
|
-
border-radius: 30px;
|
|
265
|
-
box-shadow: 0 0 4px 0 #00000026;
|
|
266
|
-
|
|
267
|
-
&:nth-child(1) {
|
|
268
|
-
transform: translateX(0);
|
|
269
|
-
}
|
|
230
|
+
.theme-item.active {
|
|
231
|
+
--at-apply: border-[rgb(var(--ui-primary))] shadow-[0_2.6px_13px_0_#59626940] border-[2.6px] border-solid;
|
|
232
|
+
background: linear-gradient(180deg, #f4f7ff -22.05%, #fff 85.58%);
|
|
233
|
+
}
|
|
270
234
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
235
|
+
.theme-item.dark {
|
|
236
|
+
--at-apply: border-transparent;
|
|
237
|
+
background: linear-gradient(0deg, #3a3e43 0%, #3a3e43 100%), linear-gradient(180deg, #f4f7ff -22.05%, #fff 85.58%);
|
|
238
|
+
}
|
|
274
239
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
240
|
+
.theme-item.dark.active {
|
|
241
|
+
border-color: rgb(var(--ui-primary));
|
|
242
|
+
}
|
|
278
243
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
244
|
+
.theme-item .item-title {
|
|
245
|
+
--at-apply: flex items-center justify-center text-sm leading-[22px] text-center m-0 p-0;
|
|
246
|
+
}
|
|
282
247
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
248
|
+
.theme-item .item-content {
|
|
249
|
+
--at-apply: flex flex-1 flex-col;
|
|
250
|
+
padding: calc(12 / 320 * 100%) calc(20 / 320 * 100%);
|
|
251
|
+
margin-top: calc(12 / 320 * 100%);
|
|
252
|
+
background: linear-gradient(180deg, #fff 0%, #fff0 100%);
|
|
253
|
+
border-radius: calc(8 / 320 * 100%);
|
|
254
|
+
}
|
|
286
255
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.skeleton {
|
|
293
|
-
display: flex;
|
|
294
|
-
flex: auto;
|
|
295
|
-
flex-direction: column;
|
|
296
|
-
height: 0;
|
|
297
|
-
margin-top: 22px;
|
|
298
|
-
background: #f5f8fe;
|
|
299
|
-
border-radius: 4px;
|
|
300
|
-
|
|
301
|
-
header {
|
|
302
|
-
display: flex;
|
|
303
|
-
align-items: center;
|
|
304
|
-
aspect-ratio: 10.45;
|
|
305
|
-
padding-left: 10px;
|
|
306
|
-
border-radius: 4px 4px 0 0;
|
|
307
|
-
|
|
308
|
-
.dot {
|
|
309
|
-
width: calc(8.5 / 230 * 100%);
|
|
310
|
-
aspect-ratio: 1;
|
|
311
|
-
margin-right: calc(5 / 230 * 100%);
|
|
312
|
-
background: rgb(255 255 255 / 50%);
|
|
313
|
-
border-radius: 50%;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
.bar {
|
|
317
|
-
width: calc(68 / 230 * 100%);
|
|
318
|
-
aspect-ratio: calc(68 / 7);
|
|
319
|
-
background: rgb(255 255 255 / 50%);
|
|
320
|
-
border-radius: 2px;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
256
|
+
.theme-item.dark .item-content {
|
|
257
|
+
background: linear-gradient(180deg, #ffffff1a 0%, #fff0 100%);
|
|
258
|
+
}
|
|
323
259
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
height: 0;
|
|
328
|
-
padding: calc(7 / 230 * 100%);
|
|
329
|
-
}
|
|
260
|
+
.theme-item .item-content .spots-wrap {
|
|
261
|
+
margin-left: calc(32 / 270 / 2 * 100%);
|
|
262
|
+
}
|
|
330
263
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
border-radius: 4px;
|
|
338
|
-
|
|
339
|
-
.side-line {
|
|
340
|
-
width: calc(24.1 / 36.6 * 100%);
|
|
341
|
-
aspect-ratio: calc(24.1 / 6.5);
|
|
342
|
-
margin: 0 auto calc(4 / 36.6 * 100%);
|
|
343
|
-
background: #eaeff7;
|
|
344
|
-
border-radius: 2px;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
264
|
+
.theme-item .item-content .color-spot {
|
|
265
|
+
--at-apply: shrink-0 max-w-[30px] aspect-[1] rounded-[30px] border-2 border-solid border-white;
|
|
266
|
+
background: #fff;
|
|
267
|
+
width: calc(30 / 270 * 100%);
|
|
268
|
+
box-shadow: 0 0 4px 0 #00000026;
|
|
269
|
+
}
|
|
347
270
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
justify-content: space-between;
|
|
352
|
-
height: 100%;
|
|
353
|
-
padding: 5.2% 5.6% 3%;
|
|
354
|
-
background: #fff;
|
|
355
|
-
border-radius: 2px;
|
|
356
|
-
|
|
357
|
-
.left {
|
|
358
|
-
flex: 1;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.right {
|
|
362
|
-
width: 30%;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.left-item {
|
|
366
|
-
display: flex;
|
|
367
|
-
margin-bottom: 6.5;
|
|
368
|
-
|
|
369
|
-
.dot {
|
|
370
|
-
width: calc(15 / 108) * 100%;
|
|
371
|
-
aspect-ratio: 1;
|
|
372
|
-
margin-right: calc(7.4 / 108) * 100%;
|
|
373
|
-
margin-bottom: calc(6.7 / 108) * 100%;
|
|
374
|
-
background: #eaeff7;
|
|
375
|
-
border-radius: 50%;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.lines-wrap {
|
|
379
|
-
flex: 1;
|
|
380
|
-
padding-top: calc(2 / 108) * 100%;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.line1 {
|
|
384
|
-
width: calc(53.4 / 82) * 100%;
|
|
385
|
-
aspect-ratio: calc(53.4 / 3.4);
|
|
386
|
-
background: #eaeff7;
|
|
387
|
-
border-radius: 1px;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.line2 {
|
|
391
|
-
width: calc(25.4 / 82) * 100%;
|
|
392
|
-
aspect-ratio: calc(25.4 / 3.4);
|
|
393
|
-
margin-top: 5px;
|
|
394
|
-
background: #eaeff7;
|
|
395
|
-
border-radius: 1px;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.right-item {
|
|
400
|
-
width: 100%;
|
|
401
|
-
aspect-ratio: calc(44 / 8.8);
|
|
402
|
-
margin-bottom: calc(10.14 / 44 * 100%);
|
|
403
|
-
background: #eaeff7;
|
|
404
|
-
border-radius: calc(1.1 / 44 * 100%);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
}
|
|
271
|
+
.theme-item .item-content .color-spot:nth-child(1) {
|
|
272
|
+
transform: translateX(0);
|
|
273
|
+
}
|
|
409
274
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
box-shadow: 0 2.6px 13px 0 #59626940;
|
|
414
|
-
}
|
|
275
|
+
.theme-item .item-content .color-spot:nth-child(2) {
|
|
276
|
+
transform: translateX(calc(-6 / 30 * 100%));
|
|
277
|
+
}
|
|
415
278
|
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
279
|
+
.theme-item .item-content .color-spot:nth-child(3) {
|
|
280
|
+
transform: translateX(calc(-12 / 30 * 100%));
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.theme-item .item-content .color-spot:nth-child(4) {
|
|
284
|
+
transform: translateX(calc(-18 / 30 * 100%));
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.theme-item .item-content .color-spot:nth-child(5) {
|
|
288
|
+
transform: translateX(calc(-24 / 30 * 100%));
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.theme-item .item-content .color-spot:nth-child(6) {
|
|
292
|
+
transform: translateX(calc(-30 / 30 * 100%));
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.theme-item .item-content .skeleton {
|
|
296
|
+
--at-apply: flex flex-[auto] flex-col h-0 rounded mt-[22px];
|
|
297
|
+
background: #f5f8fe;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.theme-item.dark .item-content .skeleton {
|
|
301
|
+
background: #111213;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.theme-item .item-content .skeleton header {
|
|
305
|
+
--at-apply: flex items-center aspect-[10.45] pl-2.5 rounded-[4px_4px_0_0];
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.theme-item.dark .item-content .skeleton header {
|
|
309
|
+
background: #26272a !important;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.theme-item .item-content .skeleton header .dot {
|
|
313
|
+
--at-apply: aspect-1 rounded-1/2;
|
|
314
|
+
width: calc(8.5 / 230 * 100%);
|
|
315
|
+
margin-right: calc(5 / 230 * 100%);
|
|
316
|
+
background: rgb(255 255 255 / 50%);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.theme-item.dark .item-content .skeleton header .dot {
|
|
320
|
+
background: rgb(255 255 255 / 20%);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.theme-item .item-content .skeleton header .bar {
|
|
324
|
+
--at-apply: rounded-sm;
|
|
325
|
+
width: calc(68 / 230 * 100%);
|
|
326
|
+
aspect-ratio: calc(68 / 7);
|
|
327
|
+
background: rgb(255 255 255 / 50%);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.theme-item.dark .item-content .skeleton header .bar {
|
|
331
|
+
background: rgb(255 255 255 / 20%);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.theme-item .item-content .skeleton .skeleton-body {
|
|
335
|
+
--at-apply: flex flex-1 h-0;
|
|
336
|
+
padding: calc(7 / 230 * 100%);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.theme-item .item-content .skeleton .skeleton-body .aside {
|
|
340
|
+
--at-apply: h-full rounded;
|
|
341
|
+
width: calc(36 / 230 * 100%);
|
|
342
|
+
padding-top: calc(12 / 230 * 100%);
|
|
343
|
+
margin-right: calc(7 / 230 * 100%);
|
|
344
|
+
background: #fff;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .aside {
|
|
348
|
+
background: #25282d;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.theme-item .item-content .skeleton .skeleton-body .aside .side-line {
|
|
352
|
+
--at-apply: rounded-sm;
|
|
353
|
+
width: calc(24.1 / 36.6 * 100%);
|
|
354
|
+
aspect-ratio: calc(24.1 / 6.5);
|
|
355
|
+
margin: 0 auto calc(4 / 36.6 * 100%);
|
|
356
|
+
background: #eaeff7;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .aside .side-line {
|
|
360
|
+
background: #32353b;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.theme-item .item-content .skeleton .skeleton-body .main {
|
|
364
|
+
--at-apply: flex flex-[auto] justify-between h-full pt-[5.2%] pb-[3%] px-[5.6%] rounded-sm;
|
|
365
|
+
background: #fff;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .main {
|
|
369
|
+
background: #25282d;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.theme-item .item-content .skeleton .skeleton-body .main .left {
|
|
373
|
+
--at-apply: flex-1;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.theme-item .item-content .skeleton .skeleton-body .main .right {
|
|
377
|
+
--at-apply: w-3/10;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.theme-item .item-content .skeleton .skeleton-body .main .left-item {
|
|
381
|
+
--at-apply: flex mb-[6.5];
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.theme-item .item-content .skeleton .skeleton-body .main .left-item .dot {
|
|
385
|
+
width: calc(calc(15 / 108) * 100%);
|
|
386
|
+
aspect-ratio: 1;
|
|
387
|
+
margin-right: calc(calc(7.4 / 108) * 100%);
|
|
388
|
+
margin-bottom: calc(calc(6.7 / 108) * 100%);
|
|
389
|
+
background: #eaeff7;
|
|
390
|
+
border-radius: 50%;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .main .left-item .dot {
|
|
394
|
+
background: #32353b;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.theme-item .item-content .skeleton .skeleton-body .main .left-item .lines-wrap {
|
|
398
|
+
flex: 1;
|
|
399
|
+
padding-top: calc(calc(2 / 108) * 100%);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.theme-item .item-content .skeleton .skeleton-body .main .left-item .line1 {
|
|
403
|
+
width: calc(calc(53.4 / 82) * 100%);
|
|
404
|
+
aspect-ratio: calc(53.4 / 3.4);
|
|
405
|
+
background: #eaeff7;
|
|
406
|
+
border-radius: 1px;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .main .left-item .line1 {
|
|
410
|
+
background: #32353b;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.theme-item .item-content .skeleton .skeleton-body .main .left-item .line2 {
|
|
414
|
+
width: calc(calc(25.4 / 82) * 100%);
|
|
415
|
+
aspect-ratio: calc(25.4 / 3.4);
|
|
416
|
+
margin-top: 5px;
|
|
417
|
+
background: #eaeff7;
|
|
418
|
+
border-radius: 1px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .main .left-item .line2 {
|
|
422
|
+
background: #32353b;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.theme-item .item-content .skeleton .skeleton-body .main .right-item {
|
|
426
|
+
width: 100%;
|
|
427
|
+
aspect-ratio: calc(44 / 8.8);
|
|
428
|
+
margin-bottom: calc(10.14 / 44 * 100%);
|
|
429
|
+
background: #eaeff7;
|
|
430
|
+
border-radius: calc(1.1 / 44 * 100%);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.theme-item.dark .item-content .skeleton .skeleton-body .main .right-item {
|
|
434
|
+
background: #32353b;
|
|
463
435
|
}
|
|
464
436
|
</style>
|
|
465
|
-
32
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { message } from 'ant-design-vue';
|
|
2
3
|
import { postSysconfigAddOrEidtSysThemeStyleConfig } from '@/api/modules/configData';
|
|
3
|
-
import { useSettingsStore } from '@/stores';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { useSettingsStore } from '@/stores';
|
|
6
6
|
import SetItem from '../components/setItem.vue';
|
|
7
7
|
import {
|
|
8
8
|
darkEnableColorSchemeData,
|
|
@@ -182,7 +182,7 @@ function setStyle(jsonStr: string) {
|
|
|
182
182
|
</div>
|
|
183
183
|
</template>
|
|
184
184
|
|
|
185
|
-
<style
|
|
185
|
+
<style scoped>
|
|
186
186
|
.bar-header {
|
|
187
187
|
background: var(--g-bg);
|
|
188
188
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { Form } from '../interface';
|
|
3
|
-
import { getRbacPostList } from '@/api/modules/rbac';
|
|
4
3
|
import { useRequest } from 'alova/client';
|
|
5
4
|
import { Form as AForm, Modal, theme } from 'ant-design-vue';
|
|
5
|
+
import { getRbacPostList } from '@/api/modules/rbac';
|
|
6
6
|
|
|
7
7
|
defineOptions({
|
|
8
8
|
name: 'OrgAndPosition',
|
|
@@ -101,7 +101,7 @@ function onRemove(index: number) {
|
|
|
101
101
|
>
|
|
102
102
|
<OrgSelector
|
|
103
103
|
:model-value="item.orgId ? [{ orgId: item.orgId, orgName: item.orgName }] : []"
|
|
104
|
-
@submit="(orgs) => {
|
|
104
|
+
@submit="(orgs: any[]) => {
|
|
105
105
|
const org = orgs?.[0];
|
|
106
106
|
item.orgId = org?.orgId;
|
|
107
107
|
item.orgName = org?.orgName;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import type { FormExpose } from 'ant-design-vue/es/form/Form';
|
|
3
3
|
import type { AuthItem } from '../interface';
|
|
4
|
-
import { getRbacPubDataPermissionsDataPermissionList, getRbacPubRoleGroupGetAll, postRbacPubDataPermissionsGetUserOrgDataPermissionList, postRbacUserGrantUserRoleAndDatPermission } from '@/api/modules/rbac';
|
|
5
4
|
import { useToggle } from '@vueuse/core';
|
|
6
5
|
import { message, theme } from 'ant-design-vue';
|
|
7
|
-
import
|
|
6
|
+
import { getRbacPubDataPermissionsDataPermissionList, getRbacPubRoleGroupGetAll, postRbacPubDataPermissionsGetUserOrgDataPermissionList, postRbacUserGrantUserRoleAndDatPermission } from '@/api/modules/rbac';
|
|
7
|
+
import { RoleSelector } from '@/components/RoleSelector';
|
|
8
8
|
|
|
9
9
|
defineOptions({
|
|
10
10
|
name: 'UserAuthorization',
|
|
@@ -137,10 +137,11 @@ const roleModelRef = ref();
|
|
|
137
137
|
const selectindex = ref<number>(0);
|
|
138
138
|
function chooseRole(index: number) {
|
|
139
139
|
selectindex.value = index;
|
|
140
|
-
|
|
140
|
+
const selectedValue = (form.value.authList[selectindex.value].roleList || []).map((item: API.PubRole) => ({ value: item.id, label: item.name }));
|
|
141
|
+
roleModelRef.value.open(selectedValue);
|
|
141
142
|
}
|
|
142
|
-
function onRoleSelected(data:
|
|
143
|
-
form.value.authList[selectindex.value].roleList = data;
|
|
143
|
+
function onRoleSelected(data: any[]) {
|
|
144
|
+
form.value.authList[selectindex.value].roleList = data.map(e => ({ id: e.value, name: e.label }));
|
|
144
145
|
}
|
|
145
146
|
defineExpose({
|
|
146
147
|
open: onOpen,
|
|
@@ -159,7 +160,7 @@ defineExpose({
|
|
|
159
160
|
<a-form
|
|
160
161
|
ref="formRef"
|
|
161
162
|
:model="form"
|
|
162
|
-
:label-col="{ span:
|
|
163
|
+
:label-col="{ span: 5 }"
|
|
163
164
|
>
|
|
164
165
|
<a-card
|
|
165
166
|
v-for="(item, index) in form.authList"
|
|
@@ -245,16 +246,16 @@ defineExpose({
|
|
|
245
246
|
</a-button>
|
|
246
247
|
</a-space>
|
|
247
248
|
</template>
|
|
248
|
-
<
|
|
249
|
+
<RoleSelector ref="roleModelRef" group @select="onRoleSelected" />
|
|
249
250
|
</a-drawer>
|
|
250
251
|
</template>
|
|
251
252
|
|
|
252
|
-
<style scoped
|
|
253
|
+
<style scoped>
|
|
253
254
|
.auth-card {
|
|
254
|
-
|
|
255
|
+
--at-apply: mt-3;
|
|
256
|
+
}
|
|
255
257
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}
|
|
258
|
+
.auth-card:first-of-type {
|
|
259
|
+
--at-apply: mt-3px;
|
|
259
260
|
}
|
|
260
261
|
</style>
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import type { Rule } from 'ant-design-vue/es/form';
|
|
3
3
|
import type { FormExpose } from 'ant-design-vue/es/form/Form';
|
|
4
4
|
import type { AddForm, CurrentOrg, Data, EditForm, Form } from '../interface';
|
|
5
|
-
import { getRbacUserInfo, postRbacUserPubUserAdd, postRbacUserUserUpdateV2 } from '@/api/modules/rbac';
|
|
6
5
|
import { useToggle } from '@vueuse/core';
|
|
7
6
|
import { message } from 'ant-design-vue';
|
|
8
7
|
import { cloneDeep, isEmpty } from 'lodash-es';
|
|
8
|
+
import { getRbacUserInfo, postRbacUserPubUserAdd, postRbacUserUserUpdateV2 } from '@/api/modules/rbac';
|
|
9
9
|
import { ACTION } from '../enum';
|
|
10
10
|
import OrgAndPosition from './OrgAndPosition.vue';
|
|
11
11
|
|
package/src/views/user/index.vue
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import type { ProColumns } from '@pubinfo/pro-components';
|
|
3
3
|
import type { EventDataNode } from 'ant-design-vue/es/tree';
|
|
4
4
|
import type { CurrentOrg, Data, Query } from './interface';
|
|
5
|
-
import { getRbacUserUserDelete, postRbacUserUserPage, putRbacUserResetPassword } from '@/api/modules/rbac';
|
|
6
5
|
import { ProTable } from '@pubinfo/pro-components';
|
|
7
6
|
import { Badge, message, Modal, Popover, Space } from 'ant-design-vue';
|
|
7
|
+
import { getRbacUserUserDelete, postRbacUserUserPage, putRbacUserResetPassword } from '@/api/modules/rbac';
|
|
8
8
|
import UserAuthorization from './components/UserAuthorization.vue';
|
|
9
9
|
import UserEdit from './components/UserEdit.vue';
|
|
10
10
|
import { ACTION } from './enum';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { postSysconfigAddOrEidtSysThemeStyleConfig } from '@/api/modules/configData';
|
|
3
|
-
import { useSettingsStore } from '@/stores';
|
|
4
2
|
import { message } from 'ant-design-vue';
|
|
5
3
|
import { eventBus } from 'pubinfo';
|
|
4
|
+
import { postSysconfigAddOrEidtSysThemeStyleConfig } from '@/api/modules/configData';
|
|
5
|
+
import { useSettingsStore } from '@/stores';
|
|
6
6
|
import AnimationItem from '../components/animation_item.vue';
|
|
7
7
|
import {
|
|
8
8
|
darkEnableData,
|
|
@@ -125,11 +125,7 @@ function onSubmit() {
|
|
|
125
125
|
</script>
|
|
126
126
|
|
|
127
127
|
<template>
|
|
128
|
-
<div
|
|
129
|
-
w-full
|
|
130
|
-
h-full
|
|
131
|
-
p-10px
|
|
132
|
-
>
|
|
128
|
+
<div class="w-full h-full p-10px">
|
|
133
129
|
<div class="w-full h-full bg-white overflow-y-auto p-10px box-border dark:bg-[#141414]">
|
|
134
130
|
<div class="h-[38px] pl-[16px] flex flex-row items-center bar-header">
|
|
135
131
|
<PubinfoIcon name="icon_watermark" class="text-base mr-[6px]" :size="22" />
|
|
@@ -215,19 +211,16 @@ function onSubmit() {
|
|
|
215
211
|
</div>
|
|
216
212
|
</template>
|
|
217
213
|
|
|
218
|
-
<style
|
|
214
|
+
<style scoped>
|
|
219
215
|
.item_ani {
|
|
220
|
-
|
|
221
|
-
flex-direction: column;
|
|
216
|
+
--at-apply: flex flex-col pt-[26px] rounded-lg;
|
|
222
217
|
place-items: center center;
|
|
223
|
-
padding-top: 26px;
|
|
224
218
|
background-color: var(--g-bg);
|
|
225
219
|
border: 1px solid var(--g-tabbar-tab-hover-bg);
|
|
226
|
-
|
|
220
|
+
}
|
|
227
221
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
222
|
+
.item_ani .jb {
|
|
223
|
+
background: linear-gradient(180deg, var(--g-container-bg) 0%, #fff0 100%);
|
|
231
224
|
}
|
|
232
225
|
|
|
233
226
|
.bar-header {
|