@pubinfo-nightly/module-rbac 2025.12.9 → 2025.12.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/dist/ComponentSelect-D0OCk6H1.js +3572 -0
  2. package/dist/ComponentSelect-WO-3S5rH.js +2 -0
  3. package/dist/DynamicRoutesForm-DP_sq_Uu.js +168 -0
  4. package/dist/DynamicRoutesForm-DjZ3eVLW.js +4 -0
  5. package/dist/HCheckList-B5Qk_HBI.js +2 -0
  6. package/dist/HCheckList-DLBewmPw.js +36 -0
  7. package/dist/HoverCard-69ZIOivd.js +2 -0
  8. package/dist/HoverCard-BDFcxxvk.js +43 -0
  9. package/dist/IconSelect-1pVgA_5l.js +705 -0
  10. package/dist/IconSelect-C5KTdyzv.js +3 -0
  11. package/dist/IconSelect.css +1 -1
  12. package/dist/ImportExport-CL5uPlby.js +342 -0
  13. package/dist/ImportExport-CPy2rvv7.js +4 -0
  14. package/dist/LayoutForm-Cp4bBrYl.js +124 -0
  15. package/dist/LayoutForm-QFjwakyQ.js +4 -0
  16. package/dist/MetaForm-Bb-um1Zo.js +4 -0
  17. package/dist/MetaForm-CVSgktB_.js +38917 -0
  18. package/dist/OrgAndPosition-ClASobEv.js +183 -0
  19. package/dist/OrgAndPosition-DoiGY5xb.js +2 -0
  20. package/dist/ResourceEdit-BX6xdiXV.js +10 -0
  21. package/dist/ResourceEdit-Dwr5KLyS.js +380 -0
  22. package/dist/ResourceRelation-BIOzTOKA.js +2 -0
  23. package/dist/ResourceRelation-ChEwIbWM.js +76 -0
  24. package/dist/ResourceRelation-D_j898zp.js +90 -0
  25. package/dist/ResourceRelation.css +1 -1
  26. package/dist/ResourceRelation2.css +1 -1
  27. package/dist/RoleRelation-CyTcqRfZ.js +2 -0
  28. package/dist/RoleRelation-DzyVn5dk.js +78 -0
  29. package/dist/RoleSelector-Cd6_RUsc.js +275 -0
  30. package/dist/TenantEdit-BOvXk7BZ.js +245 -0
  31. package/dist/TenantEdit-BlMmL6q5.js +2 -0
  32. package/dist/UserAuthorization-DLeivbs7.js +232 -0
  33. package/dist/UserAuthorization-qGr1Sdat.js +3 -0
  34. package/dist/UserEdit-CwfyqNWf.js +3 -0
  35. package/dist/UserEdit-YKS1FVW_.js +319 -0
  36. package/dist/add-child-CFHHkjfg.js +2 -0
  37. package/dist/animation_item-BU-LInxP.js +4485 -0
  38. package/dist/animation_item-GzGItm3s.js +2 -0
  39. package/dist/api/modules/assist/gonggaofuwu.d.ts +7 -7
  40. package/dist/api/modules/assist/qunzujiekou.d.ts +7 -7
  41. package/dist/api/modules/assist/quyujiekou.d.ts +6 -6
  42. package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +6 -6
  43. package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +15 -15
  44. package/dist/api/modules/configData/zidifuwu.d.ts +11 -11
  45. package/dist/api/modules/log/caozuorizhifuwu.d.ts +3 -3
  46. package/dist/api/modules/log/denglurizhifuwu.d.ts +3 -3
  47. package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -7
  48. package/dist/api/modules/rbac/jiaosejiekou.d.ts +8 -8
  49. package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +8 -8
  50. package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +10 -10
  51. package/dist/api/modules/rbac/yonghujiekou.d.ts +16 -16
  52. package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +6 -6
  53. package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +5 -5
  54. package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +7 -7
  55. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +14 -14
  56. package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +6 -6
  57. package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +5 -5
  58. package/dist/api/modules/rbac/zuzhijiekou.d.ts +10 -10
  59. package/dist/api/request.d.ts +1 -1
  60. package/dist/authority-L7SfiMdP.js +2 -0
  61. package/dist/authorize-qMpV_BXT.js +2 -0
  62. package/dist/blackWhiteList-FZezar30.js +210 -0
  63. package/dist/blackWhiteList.css +1 -0
  64. package/dist/blacklist-disable-BT6Xx-JG.js +2 -0
  65. package/dist/blacklist-enable-CJ6DK_V2.js +2 -0
  66. package/dist/breadcrumb_setting-Ds-XJRR1.js +108 -0
  67. package/dist/browser-chrome-DuAegVCe.js +2 -0
  68. package/dist/browser-edge-DzkWdXRd.js +2 -0
  69. package/dist/browser-ie-DZ9g_MXr.js +2 -0
  70. package/dist/browser-other-BmkifoYq.js +2 -0
  71. package/dist/browser-safari-CXrCuF2a.js +2 -0
  72. package/dist/browserType-BXTT4j6i.js +2 -0
  73. package/dist/browserType-Dn_hQtAN.js +25 -0
  74. package/dist/chunk-Cpsc_9al.js +18 -0
  75. package/dist/cloneDeep-DDAtsK42.js +7 -0
  76. package/dist/components/DirectoryIcones/ComponentsIcones.vue.d.ts +3 -2
  77. package/dist/components/DirectoryIcones/FolderIcones.vue.d.ts +3 -2
  78. package/dist/components/DirectoryIcones/ModuleIcones.vue.d.ts +3 -2
  79. package/dist/components/DirectoryIcones/PackagesIcones.vue.d.ts +3 -2
  80. package/dist/components/DirectoryIcones/SrcIcones.vue.d.ts +3 -2
  81. package/dist/components/DirectoryIcones/ViewIcones.vue.d.ts +3 -2
  82. package/dist/components/DirectoryIcones/VueIcones.vue.d.ts +2 -1
  83. package/dist/components/GroupSelector/index.vue.d.ts +5 -10
  84. package/dist/components/JsonEditorModal/index.vue.d.ts +20 -0
  85. package/dist/components/OrgTree/index.vue.d.ts +6 -0
  86. package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +15 -18
  87. package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +15 -18
  88. package/dist/components/OrgUserSelector/index.d.ts +4 -2
  89. package/dist/components/OrgUserSelector/provider.d.ts +1 -1
  90. package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +4 -6
  91. package/dist/components/ResourceIcones/Select.vue.d.ts +14 -23
  92. package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +16 -7
  93. package/dist/components/ResourceSelector/index.vue.d.ts +10 -14
  94. package/dist/components/RoleSelector/RoleSearch.vue.d.ts +6 -12
  95. package/dist/components/RoleSelector/RoleSelector.vue.d.ts +8 -12
  96. package/dist/components/RoleSelector/TooltipLabel.vue.d.ts +3 -2
  97. package/dist/components/RoleSelector/useRole.d.ts +68 -4
  98. package/dist/composables/useLottie.d.ts +1 -1
  99. package/dist/context.d.ts +2 -2
  100. package/dist/createAndEditDataPermission-CChlLDUm.js +5 -0
  101. package/dist/createAndEditDataPermission-CaOBJgoV.js +430 -0
  102. package/dist/createAndEditDataPermission.css +1 -1
  103. package/dist/data-permission-ZRQ-Aoib.js +152 -0
  104. package/dist/dayjs.min-sGDSMYRj.js +297 -0
  105. package/dist/dictionary-CtGgtPfc.js +179 -0
  106. package/dist/drawerBlackWhiteList-BqIDyn2Q.js +2 -0
  107. package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +119 -0
  108. package/dist/drawerDictionary-D911w7pC.js +2 -0
  109. package/dist/drawerDictionary-dMHs-6Cw.js +125 -0
  110. package/dist/drawerDictionaryItem-CbTa_qL-.js +137 -0
  111. package/dist/drawerDictionaryItem-DLUI5Yuc.js +2 -0
  112. package/dist/drawerGroup-CEEDMBg9.js +3 -0
  113. package/dist/drawerGroup-DEuiiDPP.js +184 -0
  114. package/dist/drawerOrganization-CqEMD3gE.js +246 -0
  115. package/dist/drawerOrganization-mks5NMd9.js +2 -0
  116. package/dist/drawerPosition-Bd0s7qze.js +165 -0
  117. package/dist/drawerPosition-DwlTrlGA.js +2 -0
  118. package/dist/drawerRegion-DUbQAZuV.js +182 -0
  119. package/dist/drawerRegion-DwVzsZfT.js +2 -0
  120. package/dist/drawerRole-BNrbcSmr.js +3 -0
  121. package/dist/drawerRole-BxUIekjh.js +3 -0
  122. package/dist/drawerRole-CyA2oFht.js +4 -0
  123. package/dist/drawerRole-D5X7oHB_.js +153 -0
  124. package/dist/drawerRole-DNDyOvXw.js +166 -0
  125. package/dist/drawerRole-Dv61PBZR.js +208 -0
  126. package/dist/edit-fZ7h_z_Z.js +2 -0
  127. package/dist/enum-3E_sUqRF.js +50 -0
  128. package/dist/enum-3mYayxff.js +61 -0
  129. package/dist/enum-Cr7uWnB2.js +23 -0
  130. package/dist/enum-D2UEJsrC.js +4 -0
  131. package/dist/group-BbkZjv5e.js +172 -0
  132. package/dist/group.css +1 -0
  133. package/dist/icard-H-d9Pip-.js +2 -0
  134. package/dist/icon_animation-BCdRKkE5.js +2 -0
  135. package/dist/icon_breadcrumb-BR6LK8hP.js +2 -0
  136. package/dist/icon_copyright-BfWn1s6t.js +2 -0
  137. package/dist/icon_jt-DOMTq9De.js +2 -0
  138. package/dist/icon_layout-DKqAThpM.js +2 -0
  139. package/dist/icon_mainpage-CXB9JMGv.js +2 -0
  140. package/dist/icon_menu-BYQtWV-Q.js +2 -0
  141. package/dist/icon_page_size-r-z4oHWp.js +2 -0
  142. package/dist/icon_position_type-JDFdklRh.js +2 -0
  143. package/dist/icon_safe_manage-BDTIOduB.js +2 -0
  144. package/dist/icon_screen_scale-vEaAdr9S.js +2 -0
  145. package/dist/icon_system_manage-CkhQtieE.js +2 -0
  146. package/dist/icon_tabbar-DZNj-h-p.js +2 -0
  147. package/dist/icon_toolbar-BBYhGmEf.js +2 -0
  148. package/dist/icon_topbar-Bc379eaS.js +2 -0
  149. package/dist/icon_watermark-CTP8r-e2.js +2 -0
  150. package/dist/index.css +1 -1
  151. package/dist/index.d.ts +2 -2
  152. package/dist/index.js +7503 -7465
  153. package/dist/interface.d.ts +2 -2
  154. package/dist/isEmpty-BvRqbmpu.js +13 -0
  155. package/dist/itemlist-By-FV6pN.js +156 -0
  156. package/dist/layout_setting-BUAgQ1Bk.js +68 -0
  157. package/dist/layout_setting.css +1 -0
  158. package/dist/log-center-CGT-BGAN.js +2 -0
  159. package/dist/log-vjU7aBPR.js +14 -0
  160. package/dist/loginHistoryDetail-C7GT2yME.js +77 -0
  161. package/dist/loginHistoryDetail-CkH5UUGU.js +3 -0
  162. package/dist/login_history-D08W00Qu.js +195 -0
  163. package/dist/login_history.css +1 -1
  164. package/dist/menu_setting-5Jet091Q.js +155 -0
  165. package/dist/not-data-Cx--tk_h.js +2 -0
  166. package/dist/not-data-tyTawN37.js +2 -0
  167. package/dist/operateHistoryDetail-BaNJRfwy.js +89 -0
  168. package/dist/operateHistoryDetail-CeVPJzD6.js +3 -0
  169. package/dist/operate_history-kJwIuPg2.js +190 -0
  170. package/dist/operate_history.css +1 -1
  171. package/dist/org-main-DnftBa38.js +2 -0
  172. package/dist/org-unmain-ByMarqFw.js +2 -0
  173. package/dist/organization-Cmj3DUXl.js +15322 -0
  174. package/dist/organization.css +1 -0
  175. package/dist/other_setting-DQ70WnZK.js +213 -0
  176. package/dist/other_setting.css +1 -0
  177. package/dist/page_animation_setting-Lp6cMuFM.js +108 -0
  178. package/dist/page_animation_setting.css +1 -0
  179. package/dist/page_w_setting-CD_HtSUv.js +63 -0
  180. package/dist/page_w_setting.css +1 -0
  181. package/dist/position-CLpbgKGj.js +166 -0
  182. package/dist/region-Dd9pt_Si.js +179 -0
  183. package/dist/remove-DfZZBE2T.js +2 -0
  184. package/dist/resource-B-gkg5Ti.js +271 -0
  185. package/dist/resource-app-QSLZ7Hts.js +2 -0
  186. package/dist/resource-btn-BcB4xMgR.js +2 -0
  187. package/dist/resource-dynamic-D69oEbaO.js +2 -0
  188. package/dist/resource-index-BIHr3PZY.js +2 -0
  189. package/dist/resource-menu-0JSNn7S7.js +2 -0
  190. package/dist/resource-micro-CcX_pmaJ.js +2 -0
  191. package/dist/resource-nonmenu-DFItasMT.js +2 -0
  192. package/dist/role-JGtvRObt.js +192 -0
  193. package/dist/role_group-CKOb_m63.js +171 -0
  194. package/dist/routeSystem-DXMoWhFo.js +2 -0
  195. package/dist/routes/index.d.ts +2 -2
  196. package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
  197. package/dist/routes/modules/log.manage.menu.d.ts +1 -1
  198. package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
  199. package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
  200. package/dist/routes/modules/system.manage.menu.d.ts +1 -1
  201. package/dist/safe_setting-G_ZP-jWQ.js +221 -0
  202. package/dist/setItem-Qa7UapHO.js +4 -0
  203. package/dist/setItem-yKhjmUh0.js +76 -0
  204. package/dist/setItem.css +1 -1
  205. package/dist/setting-manage-C9whamLP.js +2 -0
  206. package/dist/stores/view.d.ts +127 -22
  207. package/dist/stores-DPQF8JRt.js +2 -0
  208. package/dist/tabbar_setting-B3kMhRNm.js +139 -0
  209. package/dist/tenant-BBiCJkU_.js +177 -0
  210. package/dist/theme-check-mark-DG4oWCQN.js +2 -0
  211. package/dist/theme-title-BCYnl2jK.js +2 -0
  212. package/dist/theme_setting-vhNDLlkc.js +111 -0
  213. package/dist/theme_setting.css +1 -0
  214. package/dist/{index-C2G4xRrJ.js → toolbar_setting-DNBdxeGP.js} +140 -144
  215. package/dist/useAppAndResource-CPL2VpOJ.js +52 -0
  216. package/dist/user-DvCyUhZW.js +339 -0
  217. package/dist/utils/routeSystem.d.ts +133 -28
  218. package/dist/vanilla-picker-DcG96G63.js +724 -0
  219. package/dist/view-Bnu34EJT.js +2 -0
  220. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +3 -8
  221. package/dist/views/blackWhiteList/index.vue.d.ts +2 -1534
  222. package/dist/views/breadcrumb_setting/animationData.d.ts +6 -6
  223. package/dist/views/breadcrumb_setting/index.vue.d.ts +2 -1
  224. package/dist/views/components/HCheckList.vue.d.ts +4 -3
  225. package/dist/views/components/animation_item.vue.d.ts +4 -5
  226. package/dist/views/components/setItem.vue.d.ts +3 -35
  227. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -169
  228. package/dist/views/data-permission/index.vue.d.ts +2 -1690
  229. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +3 -8
  230. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +3 -8
  231. package/dist/views/dictionary/index.vue.d.ts +2 -1531
  232. package/dist/views/dictionary/itemlist.vue.d.ts +2 -1531
  233. package/dist/views/group/components/drawerGroup.vue.d.ts +3 -8
  234. package/dist/views/group/index.vue.d.ts +2 -1531
  235. package/dist/views/layout_setting/index.vue.d.ts +2 -1
  236. package/dist/views/log_center/components/browserType.vue.d.ts +4 -3
  237. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -10
  238. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -10
  239. package/dist/views/log_center/login_history.vue.d.ts +2 -1510
  240. package/dist/views/log_center/operate_history.vue.d.ts +2 -1510
  241. package/dist/views/menu_setting/animationData.d.ts +12 -12
  242. package/dist/views/menu_setting/index.vue.d.ts +2 -1
  243. package/dist/views/organization/components/drawerOrganization.vue.d.ts +3 -8
  244. package/dist/views/organization/components/drawerRole.vue.d.ts +3 -41
  245. package/dist/views/organization/index.vue.d.ts +2 -80
  246. package/dist/views/other_setting/animationData.d.ts +6 -6
  247. package/dist/views/other_setting/index.vue.d.ts +2 -1
  248. package/dist/views/other_setting/interface.d.ts +1 -1
  249. package/dist/views/page_animation_setting/animationData.d.ts +10 -10
  250. package/dist/views/page_animation_setting/index.vue.d.ts +2 -1
  251. package/dist/views/page_w_setting/index.vue.d.ts +2 -1
  252. package/dist/views/position/components/drawerPosition.vue.d.ts +3 -8
  253. package/dist/views/position/index.vue.d.ts +2 -1531
  254. package/dist/views/region/components/drawerRegion.vue.d.ts +3 -8
  255. package/dist/views/region/index.vue.d.ts +2 -1532
  256. package/dist/views/resource/components/ComponentSelect.vue.d.ts +5 -6
  257. package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +8 -6
  258. package/dist/views/resource/components/HoverCard.vue.d.ts +9 -12
  259. package/dist/views/resource/components/IconSelect.vue.d.ts +6 -5
  260. package/dist/views/resource/components/ImportExport.vue.d.ts +4 -7
  261. package/dist/views/resource/components/LayoutForm.vue.d.ts +6 -5
  262. package/dist/views/resource/components/MetaForm.vue.d.ts +6 -5
  263. package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -9
  264. package/dist/views/resource/components/RoleRelation.vue.d.ts +4 -3
  265. package/dist/views/resource/hooks/useLayoutForm.d.ts +5 -4
  266. package/dist/views/resource/hooks/useMetaForm.d.ts +12 -3
  267. package/dist/views/resource/index.vue.d.ts +2 -1570
  268. package/dist/views/resource/interface.d.ts +1 -1
  269. package/dist/views/role/components/ResourceRelation.vue.d.ts +4 -1512
  270. package/dist/views/role/components/drawerRole.vue.d.ts +3 -45
  271. package/dist/views/role/index.vue.d.ts +2 -3089
  272. package/dist/views/role_group/components/drawerRole.vue.d.ts +3 -41
  273. package/dist/views/role_group/index.vue.d.ts +2 -1564
  274. package/dist/views/safe_setting/index.vue.d.ts +2 -3
  275. package/dist/views/tabbar_setting/animationData.d.ts +10 -10
  276. package/dist/views/tabbar_setting/index.vue.d.ts +2 -1
  277. package/dist/views/tenant/components/TenantEdit.vue.d.ts +4 -10
  278. package/dist/views/tenant/index.vue.d.ts +2 -1533
  279. package/dist/views/theme_setting/index.vue.d.ts +2 -1
  280. package/dist/views/toolbar_setting/animationData.d.ts +14 -14
  281. package/dist/views/toolbar_setting/index.vue.d.ts +2 -1
  282. package/dist/views/user/components/OrgAndPosition.vue.d.ts +8 -7
  283. package/dist/views/user/components/UserAuthorization.vue.d.ts +3 -41
  284. package/dist/views/user/components/UserEdit.vue.d.ts +4 -9
  285. package/dist/views/user/index.vue.d.ts +2 -1593
  286. package/dist/views/watermark_setting/animationData.d.ts +2 -2
  287. package/dist/views/watermark_setting/index.vue.d.ts +2 -30
  288. package/dist/watermark_setting-CXp4Og0Y.js +191 -0
  289. package/dist/watermark_setting.css +1 -0
  290. package/dist/zddata-Ceyga3_2.js +2 -0
  291. package/dist/zy_checked-DvD7k9F8.js +2 -0
  292. package/dist/zy_default-DJ2tB3Fo.js +2 -0
  293. package/package.json +7 -5
  294. package/dist/ComponentSelect-ZLey_5w7.js +0 -4
  295. package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +0 -3981
  296. package/dist/DynamicRoutesForm-BU4EAISs.js +0 -4
  297. package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js +0 -179
  298. package/dist/HCheckList-Dkxhu1br.js +0 -4
  299. package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +0 -41
  300. package/dist/HoverCard-7agF2aDO.js +0 -4
  301. package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js +0 -62
  302. package/dist/IconSelect-DtNpk3Rj.js +0 -4
  303. package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +0 -757
  304. package/dist/ImportExport-DAe_Sl13.js +0 -4
  305. package/dist/ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js +0 -456
  306. package/dist/LayoutForm-Pv6UyKl3.js +0 -173
  307. package/dist/MetaForm-BMPtZc0g.js +0 -42413
  308. package/dist/OrgAndPosition-R-YixdXG.js +0 -4
  309. package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js +0 -195
  310. package/dist/ResourceEdit-D59JUDvG.js +0 -4
  311. package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-IWn27Vz1.js +0 -429
  312. package/dist/ResourceRelation-CeM9Eq39.js +0 -90
  313. package/dist/ResourceRelation-qhIdXLAy.js +0 -111
  314. package/dist/RoleRelation-BuqK0cnl.js +0 -4
  315. package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +0 -93
  316. package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +0 -352
  317. package/dist/TenantEdit-C61O1pSu.js +0 -4
  318. package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js +0 -306
  319. package/dist/UserAuthorization-Ch_iKzms.js +0 -273
  320. package/dist/UserEdit-B1fnFcSC.js +0 -4
  321. package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +0 -315
  322. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  323. package/dist/add-child-B9gDBQjZ.js +0 -4
  324. package/dist/animation_item-BZ1HNA6o.js +0 -4
  325. package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +0 -4858
  326. package/dist/authority-B-0S66Fv.js +0 -4
  327. package/dist/authorize-DnyYvAo3.js +0 -4
  328. package/dist/blacklist-disable-DzVU8JLV.js +0 -4
  329. package/dist/blacklist-enable-BmWQR1i4.js +0 -4
  330. package/dist/browser-chrome-O9MASusF.js +0 -4
  331. package/dist/browser-edge-Dk6N_uRy.js +0 -4
  332. package/dist/browser-ie-Dtz7hQTC.js +0 -4
  333. package/dist/browser-other-Crzi8vov.js +0 -4
  334. package/dist/browser-safari-DF0pVlrn.js +0 -4
  335. package/dist/browserType-DQySszjD.js +0 -4
  336. package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +0 -32
  337. package/dist/cloneDeep-BOLZdR62.js +0 -8
  338. package/dist/createAndEditDataPermission-DPeFulie.js +0 -4
  339. package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js +0 -528
  340. package/dist/dayjs.min-B2Yn1Frg.js +0 -284
  341. package/dist/drawerBlackWhiteList-eWyKScZN.js +0 -4
  342. package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js +0 -173
  343. package/dist/drawerDictionary-BRGmcIFT.js +0 -4
  344. package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +0 -146
  345. package/dist/drawerDictionaryItem-CFBfyhEw.js +0 -4
  346. package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +0 -158
  347. package/dist/drawerGroup-Bs1Z8XPo.js +0 -4
  348. package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +0 -202
  349. package/dist/drawerOrganization-Bs0YtPuo.js +0 -4
  350. package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +0 -250
  351. package/dist/drawerPosition-BA_gLotd.js +0 -4
  352. package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js +0 -181
  353. package/dist/drawerRegion-CauOP4lh.js +0 -4
  354. package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js +0 -235
  355. package/dist/drawerRole-CXGVqxPX.js +0 -4
  356. package/dist/drawerRole-CfJjf3v_.js +0 -4
  357. package/dist/drawerRole-nmMTIQYS.js +0 -4
  358. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js +0 -243
  359. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js +0 -197
  360. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +0 -191
  361. package/dist/edit-B69fMWPH.js +0 -4
  362. package/dist/enum-C9ihxJe7.js +0 -4
  363. package/dist/enum-D5iPiZiT.js +0 -17
  364. package/dist/enum-DDKThkSw.js +0 -24
  365. package/dist/enum-DkSNwGbC.js +0 -74
  366. package/dist/gangweijiekou-CUGlx4Ni.js +0 -48
  367. package/dist/icard-C4FaIC0V.js +0 -4
  368. package/dist/icon_animation-CfRxn8ne.js +0 -4
  369. package/dist/icon_breadcrumb-CAPCH16K.js +0 -4
  370. package/dist/icon_copyright-T9HuRtib.js +0 -4
  371. package/dist/icon_jt-BZgxEG_D.js +0 -4
  372. package/dist/icon_layout-BynQzkfn.js +0 -4
  373. package/dist/icon_mainpage-Bu_lyj_6.js +0 -4
  374. package/dist/icon_menu-D41hl_4p.js +0 -4
  375. package/dist/icon_page_size-Bioi61il.js +0 -4
  376. package/dist/icon_position_type-QpezzPDJ.js +0 -4
  377. package/dist/icon_safe_manage-ByWMOnwf.js +0 -4
  378. package/dist/icon_screen_scale-CuPyb7Ni.js +0 -4
  379. package/dist/icon_system_manage-BxRLv7Nw.js +0 -4
  380. package/dist/icon_tabbar-CetwmJHN.js +0 -4
  381. package/dist/icon_toolbar-DXt_LXp8.js +0 -4
  382. package/dist/icon_topbar-C186yIiC.js +0 -4
  383. package/dist/icon_watermark-DhaloO3m.js +0 -4
  384. package/dist/index-B0zXLUdu.js +0 -350
  385. package/dist/index-B5aP0re3.js +0 -170
  386. package/dist/index-BEB4liGe.js +0 -151
  387. package/dist/index-BNwGLzXe.js +0 -168
  388. package/dist/index-BXvJhqJD.js +0 -97
  389. package/dist/index-BhZNbJp6.js +0 -189
  390. package/dist/index-Bm3WQuJD.js +0 -226
  391. package/dist/index-C5WD-YUu.js +0 -246
  392. package/dist/index-CJQB8KAz.js +0 -186
  393. package/dist/index-CLnFLvHy.js +0 -193
  394. package/dist/index-CbVJdR5M.js +0 -194
  395. package/dist/index-ChWnVs6j.js +0 -196
  396. package/dist/index-CoZM8pyH.js +0 -197
  397. package/dist/index-Copy5kiW.js +0 -17701
  398. package/dist/index-D3Xw_aOi.js +0 -144
  399. package/dist/index-DHVEXch0.js +0 -253
  400. package/dist/index-DQhQqT_Z.js +0 -269
  401. package/dist/index-Dl0hWfIE.js +0 -118
  402. package/dist/index-En8oOf9e.js +0 -168
  403. package/dist/index-VZuizuKs.js +0 -257
  404. package/dist/index-XhYtVVT9.js +0 -88
  405. package/dist/index-iBmBJd50.js +0 -181
  406. package/dist/index10.css +0 -1
  407. package/dist/index13.css +0 -1
  408. package/dist/index16.css +0 -1
  409. package/dist/index17.css +0 -1
  410. package/dist/index4.css +0 -1
  411. package/dist/index5.css +0 -1
  412. package/dist/index7.css +0 -1
  413. package/dist/index8.css +0 -1
  414. package/dist/index9.css +0 -1
  415. package/dist/isEmpty-BgDIb4aS.js +0 -20
  416. package/dist/itemlist-zTYJtoSs.js +0 -172
  417. package/dist/jiaosejiekou-p42Hm9h3.js +0 -58
  418. package/dist/log-center-Bw9UlmOq.js +0 -4
  419. package/dist/loginHistoryDetail-BZVwG8m2.js +0 -105
  420. package/dist/login_history-CMZGS2PN.js +0 -221
  421. package/dist/not-data-BDuvYboz.js +0 -4
  422. package/dist/operateHistoryDetail-Badx3zl-.js +0 -123
  423. package/dist/operate_history-B42WNY1u.js +0 -217
  424. package/dist/org-main-DfWpX8Wv.js +0 -4
  425. package/dist/org-unmain-DrX63NH5.js +0 -4
  426. package/dist/remove-D2ES5tEr.js +0 -4
  427. package/dist/resource-app-1lqF6C6F.js +0 -4
  428. package/dist/resource-btn-Cfo6ddAY.js +0 -4
  429. package/dist/resource-dynamic-BAwkCWS4.js +0 -4
  430. package/dist/resource-index-BS4V5uy8.js +0 -4
  431. package/dist/resource-menu-CEWU8Iis.js +0 -4
  432. package/dist/resource-micro-9S0h5AlK.js +0 -4
  433. package/dist/resource-nonmenu-BZ9e4ynT.js +0 -4
  434. package/dist/setItem-Blb3dox4.js +0 -87
  435. package/dist/setting-manage-Xj_s0OoK.js +0 -4
  436. package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +0 -65
  437. package/dist/theme-check-mark-D58efagJ.js +0 -4
  438. package/dist/theme-title-CYUX2SBW.js +0 -4
  439. package/dist/useAppAndResource-DDywX2iz.js +0 -54
  440. package/dist/vanilla-picker-BAEwS4Fy.js +0 -536
  441. package/dist/view-BCWU0JWM.js +0 -4
  442. package/dist/xitongpeizhifuwu-BoCbGEk7.js +0 -23
  443. package/dist/zddata-DQP5Kx3c.js +0 -4
  444. package/dist/ziyuanjiekou-BC65-bFK.js +0 -69
  445. package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +0 -28
  446. package/dist/zy_checked-Bb6zRsYe.js +0 -4
  447. package/dist/zy_default-BGjhoury.js +0 -4
  448. /package/dist/{index2.css → breadcrumb_setting.css} +0 -0
  449. /package/dist/{index3.css → data-permission.css} +0 -0
  450. /package/dist/{index6.css → menu_setting.css} +0 -0
  451. /package/dist/{index11.css → safe_setting.css} +0 -0
  452. /package/dist/{index12.css → tabbar_setting.css} +0 -0
  453. /package/dist/{index14.css → toolbar_setting.css} +0 -0
  454. /package/dist/{index15.css → user.css} +0 -0
@@ -1,181 +0,0 @@
1
- import { Drawer as L, Form as $, FormItem as h, Input as F, Select as O, Textarea as A, Switch as M, Space as j, Button as z } from "ant-design-vue/es";
2
- import { defineComponent as G, reactive as H, ref as c, createBlock as J, openBlock as K, unref as t, isRef as N, withCtx as l, createVNode as o, createTextVNode as x } from "vue";
3
- import { message as Q } from "ant-design-vue";
4
- import { u as w, q as W } from "./index.js";
5
- import { g as X, a as Y } from "./gangweijiekou-CUGlx4Ni.js";
6
- var f = /* @__PURE__ */ ((r) => (r.ADD = "新增", r.EDIT = "编辑", r.REMOVE = "删除", r))(f || {});
7
- const ae = /* @__PURE__ */ G({
8
- name: "DrawerPosition",
9
- __name: "drawerPosition",
10
- emits: ["submit"],
11
- setup(r, { expose: D, emit: k }) {
12
- const R = k, U = {
13
- name: [
14
- { required: !0, message: "请输入岗位名称", trigger: "blur" },
15
- { max: 64, message: "长度不能超过64位", trigger: "change" }
16
- ],
17
- code: [
18
- { required: !0, message: "请输入岗位编码", trigger: "blur" },
19
- { max: 32, message: "长度不能超过32位", trigger: "change" }
20
- ],
21
- type: [{ required: !0, message: "请选择岗位类别", trigger: ["blur", "change"] }]
22
- }, m = H({
23
- title: "",
24
- type: ""
25
- }), [p, d] = w(!1), g = c([]);
26
- W({ dictCode: "positionType" }).then((s) => {
27
- g.value = s.data?.map((e) => ({
28
- label: e.dictLabel,
29
- value: e.dictValue
30
- }));
31
- });
32
- const _ = c(), n = c({ enable: !0 });
33
- async function E(s, e) {
34
- if (d(!0), m.title = s, s === f.EDIT) {
35
- const i = await X({ id: e?.id });
36
- i.success && (n.value = i.data ?? {});
37
- } else
38
- n.value = { enable: !0 };
39
- }
40
- const [I, b] = w(!1);
41
- function S() {
42
- _.value?.validate().then(() => {
43
- b(!0);
44
- const s = { ...n.value };
45
- Y(s).then((e) => {
46
- e.success && (Q.success(`${m.title}成功!`), d(!1), R("submit"));
47
- }).finally(() => b(!1));
48
- });
49
- }
50
- function v() {
51
- d(!1), n.value = { enable: !0 };
52
- }
53
- return D({
54
- open: E
55
- }), (s, e) => {
56
- const i = F, u = h, T = O, q = A, B = M, C = $, y = z, P = j, V = L;
57
- return K(), J(V, {
58
- open: t(p),
59
- "onUpdate:open": e[6] || (e[6] = (a) => N(p) ? p.value = a : null),
60
- title: `${t(m).title}岗位`,
61
- placement: "right",
62
- width: 600,
63
- "destroy-on-close": "",
64
- "footer-style": { textAlign: "right" },
65
- onClose: v
66
- }, {
67
- footer: l(() => [
68
- o(P, null, {
69
- default: l(() => [
70
- o(y, { onClick: v }, {
71
- default: l(() => e[7] || (e[7] = [
72
- x(" 取消 ")
73
- ])),
74
- _: 1,
75
- __: [7]
76
- }),
77
- o(y, {
78
- type: "primary",
79
- loading: t(I),
80
- onClick: e[5] || (e[5] = (a) => S())
81
- }, {
82
- default: l(() => e[8] || (e[8] = [
83
- x(" 提交 ")
84
- ])),
85
- _: 1,
86
- __: [8]
87
- }, 8, ["loading"])
88
- ]),
89
- _: 1
90
- })
91
- ]),
92
- default: l(() => [
93
- o(C, {
94
- ref_key: "formRef",
95
- ref: _,
96
- model: t(n),
97
- rules: U,
98
- "label-col": { span: 4 },
99
- "label-wrap": !0
100
- }, {
101
- default: l(() => [
102
- o(u, {
103
- label: "岗位名称",
104
- name: "name"
105
- }, {
106
- default: l(() => [
107
- o(i, {
108
- value: t(n).name,
109
- "onUpdate:value": e[0] || (e[0] = (a) => t(n).name = a),
110
- maxlength: 64
111
- }, null, 8, ["value"])
112
- ]),
113
- _: 1
114
- }),
115
- o(u, {
116
- label: "岗位编码",
117
- name: "code"
118
- }, {
119
- default: l(() => [
120
- o(i, {
121
- value: t(n).code,
122
- "onUpdate:value": e[1] || (e[1] = (a) => t(n).code = a),
123
- disabled: t(m).title === t(f).EDIT,
124
- maxlength: 32
125
- }, null, 8, ["value", "disabled"])
126
- ]),
127
- _: 1
128
- }),
129
- o(u, {
130
- label: "岗位类别",
131
- name: "type"
132
- }, {
133
- default: l(() => [
134
- o(T, {
135
- value: t(n).type,
136
- "onUpdate:value": e[2] || (e[2] = (a) => t(n).type = a),
137
- options: t(g)
138
- }, null, 8, ["value", "options"])
139
- ]),
140
- _: 1
141
- }),
142
- o(u, {
143
- label: "描述",
144
- name: "description"
145
- }, {
146
- default: l(() => [
147
- o(q, {
148
- value: t(n).description,
149
- "onUpdate:value": e[3] || (e[3] = (a) => t(n).description = a),
150
- rows: 3,
151
- "show-count": "",
152
- maxlength: 120
153
- }, null, 8, ["value"])
154
- ]),
155
- _: 1
156
- }),
157
- o(u, {
158
- label: "是否启动",
159
- name: "enable"
160
- }, {
161
- default: l(() => [
162
- o(B, {
163
- checked: t(n).enable,
164
- "onUpdate:checked": e[4] || (e[4] = (a) => t(n).enable = a)
165
- }, null, 8, ["checked"])
166
- ]),
167
- _: 1
168
- })
169
- ]),
170
- _: 1
171
- }, 8, ["model"])
172
- ]),
173
- _: 1
174
- }, 8, ["open", "title"]);
175
- };
176
- }
177
- });
178
- export {
179
- f as A,
180
- ae as _
181
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js";
2
- export {
3
- f as default
4
- };
@@ -1,235 +0,0 @@
1
- import { Drawer as k, Form as S, FormItem as A, Input as j, Select as F, InputNumber as X, Space as M, Button as O } from "ant-design-vue/es";
2
- import { defineComponent as h, reactive as z, ref as b, createBlock as q, openBlock as w, unref as t, isRef as H, withCtx as l, createVNode as o, createCommentVNode as J, createTextVNode as y, toDisplayString as K } from "vue";
3
- import { message as Q } from "ant-design-vue";
4
- import { b as f, u as E, q as W } from "./index.js";
5
- function Y(a, i) {
6
- return f.Post("/region/addRegion", a, {
7
- headers: {
8
- "Content-Type": "application/json"
9
- },
10
- ...i || {}
11
- });
12
- }
13
- function re(a, i) {
14
- const { code: p, ...m } = a;
15
- return f.Get(`/region/deleteRegion/${p}`, {
16
- params: { ...m },
17
- meta: { pathParams: [p] }
18
- });
19
- }
20
- function le(a, i) {
21
- return f.Get("/region/getListByParentId", {
22
- params: {
23
- // parentId has a default value: 0
24
- parentId: "0",
25
- ...a
26
- }
27
- });
28
- }
29
- function Z(a, i) {
30
- const { code: p, ...m } = a;
31
- return f.Get(`/region/getRegionDetail/${p}`, {
32
- params: { ...m },
33
- meta: { pathParams: [p] }
34
- });
35
- }
36
- function ee(a, i) {
37
- return f.Post("/region/updateRegion", a, {
38
- headers: {
39
- "Content-Type": "application/json"
40
- },
41
- ...i || {}
42
- });
43
- }
44
- var g = /* @__PURE__ */ ((a) => (a.ADD = "新增", a.EDIT = "编辑", a.REMOVE = "删除", a.ADDNEXT = "新建下级", a))(g || {});
45
- const se = /* @__PURE__ */ h({
46
- name: "DrawerRegion",
47
- __name: "drawerRegion",
48
- emits: ["submit"],
49
- setup(a, { expose: i, emit: p }) {
50
- const m = p, P = {
51
- name: [
52
- { required: !0, message: "请输入区域名称", trigger: "blur" },
53
- { max: 128, message: "长度不能超过128位", trigger: "change" }
54
- ],
55
- type: [{ required: !0, message: "请选择区域范围", trigger: "blur" }],
56
- regionCode: [
57
- { required: !0, message: "请输入区域编码", trigger: "blur" },
58
- { max: 16, message: "长度不能超过16位", trigger: "change" }
59
- ],
60
- code: [
61
- { required: !0, message: "请输入行政区划编码", trigger: "blur" },
62
- { max: 16, message: "长度不能超过16位", trigger: "change" }
63
- ]
64
- }, d = z({
65
- title: "",
66
- type: ""
67
- }), [c, _] = E(!1), R = b(), n = b({ parentId: "" }), D = b([]);
68
- W({ dictCode: "regionType" }).then((u) => {
69
- D.value = u.data?.map((e) => ({
70
- label: e.dictLabel,
71
- value: e.dictValue
72
- }));
73
- });
74
- async function T(u, e) {
75
- if (_(!0), d.title = u, u === g.EDIT) {
76
- const s = await Z({ code: e?.code });
77
- s.success && (n.value = s.data ?? {});
78
- } else u === g.ADDNEXT ? n.value = {
79
- parentName: e?.name,
80
- parentId: e?.id
81
- } : n.value = {
82
- parentId: ""
83
- };
84
- }
85
- const [B, I] = E(!1);
86
- function U() {
87
- const u = d.title === g.EDIT ? ee : Y;
88
- R.value?.validate().then(() => {
89
- I(!0);
90
- const e = { ...n.value };
91
- u(e).then((s) => {
92
- s.success && (Q.success(`${d.title}成功!`), _(!1), m("submit"));
93
- }).finally(() => I(!1));
94
- });
95
- }
96
- function x() {
97
- n.value = {
98
- parentId: ""
99
- }, _(!1);
100
- }
101
- return i({
102
- open: T
103
- }), (u, e) => {
104
- const s = A, v = j, G = F, L = X, N = S, C = O, V = M, $ = k;
105
- return w(), q($, {
106
- open: t(c),
107
- "onUpdate:open": e[6] || (e[6] = (r) => H(c) ? c.value = r : null),
108
- title: `${t(d).title}区域`,
109
- placement: "right",
110
- width: 600,
111
- "destroy-on-close": "",
112
- "footer-style": { textAlign: "right" },
113
- onClose: x
114
- }, {
115
- footer: l(() => [
116
- o(V, null, {
117
- default: l(() => [
118
- o(C, { onClick: x }, {
119
- default: l(() => e[7] || (e[7] = [
120
- y(" 取消 ")
121
- ])),
122
- _: 1,
123
- __: [7]
124
- }),
125
- o(C, {
126
- type: "primary",
127
- loading: t(B),
128
- onClick: e[5] || (e[5] = (r) => U())
129
- }, {
130
- default: l(() => e[8] || (e[8] = [
131
- y(" 提交 ")
132
- ])),
133
- _: 1,
134
- __: [8]
135
- }, 8, ["loading"])
136
- ]),
137
- _: 1
138
- })
139
- ]),
140
- default: l(() => [
141
- o(N, {
142
- ref_key: "formRef",
143
- ref: R,
144
- model: t(n),
145
- rules: P,
146
- "label-col": { span: 5 },
147
- "label-wrap": !0
148
- }, {
149
- default: l(() => [
150
- t(n).parentId !== "" && t(n).parentId !== "0" ? (w(), q(s, {
151
- key: 0,
152
- label: "上级区域"
153
- }, {
154
- default: l(() => [
155
- y(K(t(n).parentName), 1)
156
- ]),
157
- _: 1
158
- })) : J("", !0),
159
- o(s, {
160
- label: "区域名称",
161
- name: "name"
162
- }, {
163
- default: l(() => [
164
- o(v, {
165
- value: t(n).name,
166
- "onUpdate:value": e[0] || (e[0] = (r) => t(n).name = r),
167
- maxlength: 128
168
- }, null, 8, ["value"])
169
- ]),
170
- _: 1
171
- }),
172
- o(s, {
173
- label: "区域范围",
174
- name: "type"
175
- }, {
176
- default: l(() => [
177
- o(G, {
178
- value: t(n).type,
179
- "onUpdate:value": e[1] || (e[1] = (r) => t(n).type = r),
180
- options: t(D)
181
- }, null, 8, ["value", "options"])
182
- ]),
183
- _: 1
184
- }),
185
- o(s, {
186
- label: "区域编码",
187
- name: "regionCode"
188
- }, {
189
- default: l(() => [
190
- o(v, {
191
- value: t(n).regionCode,
192
- "onUpdate:value": e[2] || (e[2] = (r) => t(n).regionCode = r),
193
- maxlength: 16
194
- }, null, 8, ["value"])
195
- ]),
196
- _: 1
197
- }),
198
- o(s, {
199
- label: "行政区划编码",
200
- name: "code"
201
- }, {
202
- default: l(() => [
203
- o(v, {
204
- value: t(n).code,
205
- "onUpdate:value": e[3] || (e[3] = (r) => t(n).code = r),
206
- disabled: t(d).title === t(g).EDIT,
207
- maxlength: 16
208
- }, null, 8, ["value", "disabled"])
209
- ]),
210
- _: 1
211
- }),
212
- o(s, { label: "排序" }, {
213
- default: l(() => [
214
- o(L, {
215
- value: t(n).sort,
216
- "onUpdate:value": e[4] || (e[4] = (r) => t(n).sort = r)
217
- }, null, 8, ["value"])
218
- ]),
219
- _: 1
220
- })
221
- ]),
222
- _: 1
223
- }, 8, ["model"])
224
- ]),
225
- _: 1
226
- }, 8, ["open", "title"]);
227
- };
228
- }
229
- });
230
- export {
231
- g as A,
232
- se as _,
233
- le as a,
234
- re as g
235
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js";
2
- export {
3
- f as default
4
- };
@@ -1,243 +0,0 @@
1
- import { Drawer as X, Form as Y, FormItem as Z, Input as ee, Select as te, Switch as oe, Textarea as ne, Button as le, Tooltip as ae, Space as re } from "ant-design-vue/es";
2
- import { defineComponent as se, reactive as ue, ref as y, createBlock as S, openBlock as p, unref as n, isRef as ie, withCtx as a, createVNode as l, createElementVNode as E, createTextVNode as g, createElementBlock as v, Fragment as I, renderList as ce, toDisplayString as h } from "vue";
3
- import { message as pe } from "ant-design-vue";
4
- import { u as D, ResourceSelector as de } from "./index.js";
5
- import { b as me, c as fe, d as _e } from "./jiaosejiekou-p42Hm9h3.js";
6
- import { u as ge } from "./useAppAndResource-DDywX2iz.js";
7
- var d = /* @__PURE__ */ ((u) => (u.ADD = "新增", u.EDIT = "修改", u.REMOVE = "删除", u.RESOURCE_RELATION = "分配查看", u))(d || {});
8
- const ve = [
9
- {
10
- label: "仅自己",
11
- value: "1"
12
- /* OWNER */
13
- },
14
- {
15
- label: "全部可见",
16
- value: "2"
17
- /* ALL */
18
- }
19
- ], be = { class: "pt-10px" }, Re = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, xe = {
20
- key: 1,
21
- class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
22
- }, he = /* @__PURE__ */ se({
23
- name: "DrawerRole",
24
- __name: "drawerRole",
25
- emits: ["submit"],
26
- setup(u, { expose: F, emit: U }) {
27
- const T = U, {
28
- resourceModelRef: q,
29
- selectedResources: A,
30
- updateTreeDataAndResourceMap: b,
31
- setSelectedResources: M,
32
- updateSelectedResources: V,
33
- clearSelectedResources: B,
34
- openResourceModel: R
35
- } = ge(), C = {
36
- name: [
37
- { required: !0, message: "请输入名称", trigger: "change" },
38
- { min: 2, max: 32, message: "角色名称长度不能少于2位,不能超过32位", trigger: "change" }
39
- ],
40
- code: [
41
- { required: !0, message: "请输入编号", trigger: "change" },
42
- { min: 2, max: 32, message: "角色编码长度不能少于2位,不能超过32位", trigger: "change" }
43
- ],
44
- viewScope: [{ required: !0, message: "请选择可见范围", trigger: "change" }],
45
- resourceIds: [{ required: !0, validator: $, trigger: ["blur", "change"] }]
46
- };
47
- function $(r, e) {
48
- return e && e.length > 0 ? Promise.resolve() : Promise.reject(new Error("请选择所属资源"));
49
- }
50
- const c = ue({
51
- title: "",
52
- type: ""
53
- }), [m, f] = D(!1), x = y(), t = y({ enable: !0 });
54
- async function L(r, e) {
55
- if (c.title = r, r === d.EDIT) {
56
- const s = await me({ id: e?.id });
57
- s.success && (t.value = s.data ?? {}, await b(""), t.value.resourceIds && V(t.value.resourceIds));
58
- } else
59
- t.value = {
60
- enable: !0
61
- }, B(), await b("");
62
- f(!0);
63
- }
64
- const [O, w] = D(!1);
65
- function j() {
66
- const r = c.title === d.EDIT ? fe : _e;
67
- x.value?.validate().then(() => {
68
- w(!0);
69
- const e = { ...t.value };
70
- r(e).then((s) => {
71
- s.success && (pe.success(`${c.title}成功!`), f(!1), T("submit"));
72
- }).finally(() => w(!1));
73
- });
74
- }
75
- function k() {
76
- t.value = {
77
- enable: !0
78
- }, f(!1);
79
- }
80
- function P() {
81
- t.value.resourceIds ? R(t.value.resourceIds) : R([]);
82
- }
83
- function N(r) {
84
- t.value.resourceIds = r.map((e) => e.id), M(r);
85
- }
86
- return F({
87
- open: L
88
- }), (r, e) => {
89
- const s = ee, i = Z, z = te, G = oe, H = ne, _ = le, J = ae, K = Y, Q = re, W = X;
90
- return p(), S(W, {
91
- open: n(m),
92
- "onUpdate:open": e[6] || (e[6] = (o) => ie(m) ? m.value = o : null),
93
- title: `${n(c).title}角色`,
94
- placement: "right",
95
- width: 600,
96
- "destroy-on-close": "",
97
- "footer-style": { textAlign: "right" },
98
- onClose: k
99
- }, {
100
- footer: a(() => [
101
- l(Q, null, {
102
- default: a(() => [
103
- l(_, { onClick: k }, {
104
- default: a(() => e[8] || (e[8] = [
105
- g(" 取消 ")
106
- ])),
107
- _: 1,
108
- __: [8]
109
- }),
110
- l(_, {
111
- type: "primary",
112
- loading: n(O),
113
- onClick: e[5] || (e[5] = (o) => j())
114
- }, {
115
- default: a(() => e[9] || (e[9] = [
116
- g(" 提交 ")
117
- ])),
118
- _: 1,
119
- __: [9]
120
- }, 8, ["loading"])
121
- ]),
122
- _: 1
123
- })
124
- ]),
125
- default: a(() => [
126
- l(K, {
127
- ref_key: "formRef",
128
- ref: x,
129
- model: n(t),
130
- rules: C,
131
- "label-col": { span: 4 }
132
- }, {
133
- default: a(() => [
134
- l(i, {
135
- label: "角色名称",
136
- name: "name"
137
- }, {
138
- default: a(() => [
139
- l(s, {
140
- value: n(t).name,
141
- "onUpdate:value": e[0] || (e[0] = (o) => n(t).name = o),
142
- maxlength: 32
143
- }, null, 8, ["value"])
144
- ]),
145
- _: 1
146
- }),
147
- l(i, {
148
- label: "角色编号",
149
- name: "code"
150
- }, {
151
- default: a(() => [
152
- l(s, {
153
- value: n(t).code,
154
- "onUpdate:value": e[1] || (e[1] = (o) => n(t).code = o),
155
- disabled: n(c).title === n(d).EDIT,
156
- maxlength: 32
157
- }, null, 8, ["value", "disabled"])
158
- ]),
159
- _: 1
160
- }),
161
- l(i, {
162
- label: "可见范围",
163
- name: "viewScope"
164
- }, {
165
- default: a(() => [
166
- l(z, {
167
- value: n(t).viewScope,
168
- "onUpdate:value": e[2] || (e[2] = (o) => n(t).viewScope = o),
169
- options: n(ve)
170
- }, null, 8, ["value", "options"])
171
- ]),
172
- _: 1
173
- }),
174
- l(i, { label: "是否启用" }, {
175
- default: a(() => [
176
- l(G, {
177
- checked: n(t).enable,
178
- "onUpdate:checked": e[3] || (e[3] = (o) => n(t).enable = o)
179
- }, null, 8, ["checked"])
180
- ]),
181
- _: 1
182
- }),
183
- l(i, { label: "角色描述" }, {
184
- default: a(() => [
185
- l(H, {
186
- value: n(t).description,
187
- "onUpdate:value": e[4] || (e[4] = (o) => n(t).description = o),
188
- maxlength: 250,
189
- "show-count": ""
190
- }, null, 8, ["value"])
191
- ]),
192
- _: 1
193
- }),
194
- l(i, {
195
- label: "所属资源",
196
- name: "resourceIds"
197
- }, {
198
- default: a(() => [
199
- l(_, {
200
- type: "primary",
201
- onClick: P
202
- }, {
203
- default: a(() => e[7] || (e[7] = [
204
- g(" 编辑资源 ")
205
- ])),
206
- _: 1,
207
- __: [7]
208
- }),
209
- E("div", be, [
210
- (p(!0), v(I, null, ce(n(A), (o) => (p(), v(I, { key: o }, [
211
- o.name.length > 20 ? (p(), S(J, {
212
- key: 0,
213
- title: o.name
214
- }, {
215
- default: a(() => [
216
- E("span", Re, h(`${o.name.slice(0, 20)}...`), 1)
217
- ]),
218
- _: 2
219
- }, 1032, ["title"])) : (p(), v("span", xe, h(o.name), 1))
220
- ], 64))), 128))
221
- ])
222
- ]),
223
- _: 1
224
- })
225
- ]),
226
- _: 1
227
- }, 8, ["model"]),
228
- l(de, {
229
- ref_key: "resourceModelRef",
230
- ref: q,
231
- onSelect: N
232
- }, null, 512)
233
- ]),
234
- _: 1
235
- }, 8, ["open", "title"]);
236
- };
237
- }
238
- });
239
- export {
240
- d as A,
241
- he as _,
242
- ve as k
243
- };