@pubinfo-pr/module-rbac 0.188.1 → 0.189.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.
Files changed (332) hide show
  1. package/dist/ComponentSelect-CZCdwf92.js +3572 -0
  2. package/dist/ComponentSelect-oZAtd4wH.js +2 -0
  3. package/dist/DynamicRoutesForm-CYFZYd3h.js +4 -0
  4. package/dist/DynamicRoutesForm-DsjExKfm.js +168 -0
  5. package/dist/HCheckList-B6K018cG.js +2 -0
  6. package/dist/HCheckList-dHyYM7wQ.js +36 -0
  7. package/dist/HoverCard-CfI-SLTb.js +2 -0
  8. package/dist/HoverCard-DM23tFv4.js +43 -0
  9. package/dist/IconSelect-AR3QMGQ1.js +3 -0
  10. package/dist/IconSelect-BMDn5KYI.js +707 -0
  11. package/dist/IconSelect.css +1 -1
  12. package/dist/ImportExport-Ch2KgeOH.js +4 -0
  13. package/dist/ImportExport-yiI4wd1A.js +346 -0
  14. package/dist/LayoutForm-CYBKLlSy.js +129 -0
  15. package/dist/LayoutForm-Qwrxmybp.js +4 -0
  16. package/dist/MetaForm-BswxCCuV.js +4 -0
  17. package/dist/MetaForm-LDukYEwP.js +38925 -0
  18. package/dist/OrgAndPosition-CyoItQuu.js +2 -0
  19. package/dist/OrgAndPosition-Dp33AYU-.js +186 -0
  20. package/dist/ResourceEdit-C5Xqu79p.js +382 -0
  21. package/dist/ResourceEdit-DlnTxHoF.js +10 -0
  22. package/dist/ResourceRelation-DZrmMWPf.js +76 -0
  23. package/dist/ResourceRelation-DeoM1DDo.js +91 -0
  24. package/dist/ResourceRelation-l2XXebMl.js +2 -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-ZmjR8m3i.js +276 -0
  30. package/dist/TenantEdit-BDTS1Fca.js +248 -0
  31. package/dist/TenantEdit-BOMpr4z8.js +2 -0
  32. package/dist/UserAuthorization-C1QIiu2F.js +235 -0
  33. package/dist/UserAuthorization-CotnhBvL.js +3 -0
  34. package/dist/UserEdit-C3mqGMtl.js +321 -0
  35. package/dist/UserEdit-CJYVcFZw.js +3 -0
  36. package/dist/add-child-CFHHkjfg.js +2 -0
  37. package/dist/animation_item-DRuXSAya.js +4485 -0
  38. package/dist/animation_item-DVbSAJ9x.js +2 -0
  39. package/dist/authority-L7SfiMdP.js +2 -0
  40. package/dist/authorize-qMpV_BXT.js +2 -0
  41. package/dist/blackWhiteList-Lyj2w8Xc.js +210 -0
  42. package/dist/blackWhiteList.css +1 -0
  43. package/dist/blacklist-disable-BT6Xx-JG.js +2 -0
  44. package/dist/blacklist-enable-CJ6DK_V2.js +2 -0
  45. package/dist/breadcrumb_setting-DmZAQdwS.js +108 -0
  46. package/dist/browser-chrome-DuAegVCe.js +2 -0
  47. package/dist/browser-edge-DzkWdXRd.js +2 -0
  48. package/dist/browser-ie-DZ9g_MXr.js +2 -0
  49. package/dist/browser-other-BmkifoYq.js +2 -0
  50. package/dist/browser-safari-CXrCuF2a.js +2 -0
  51. package/dist/browserType-BXTT4j6i.js +2 -0
  52. package/dist/browserType-Dn_hQtAN.js +25 -0
  53. package/dist/chunk-BgHNfURc.js +20 -0
  54. package/dist/cloneDeep-DDAtsK42.js +7 -0
  55. package/dist/createAndEditDataPermission-BwUEAkBP.js +437 -0
  56. package/dist/createAndEditDataPermission-ClTyi4Ri.js +5 -0
  57. package/dist/createAndEditDataPermission.css +1 -1
  58. package/dist/data-permission-DXJBqtlO.js +152 -0
  59. package/dist/dayjs.min-Bsh92e4H.js +297 -0
  60. package/dist/dictionary-W_1X6Rbi.js +179 -0
  61. package/dist/drawerBlackWhiteList-83S8Dj3z.js +2 -0
  62. package/dist/drawerBlackWhiteList-B1oIt5J_.js +121 -0
  63. package/dist/drawerDictionary-CQhYvl_i.js +2 -0
  64. package/dist/drawerDictionary-D3yiuJSQ.js +127 -0
  65. package/dist/drawerDictionaryItem-DPNqG0Ow.js +2 -0
  66. package/dist/drawerDictionaryItem-DgMdlr4F.js +139 -0
  67. package/dist/drawerGroup-AZQsI1zw.js +187 -0
  68. package/dist/drawerGroup-i0awz56c.js +3 -0
  69. package/dist/drawerOrganization-BLSFSwWp.js +2 -0
  70. package/dist/drawerOrganization-oZcaL3zo.js +248 -0
  71. package/dist/drawerPosition-BQDRnJxo.js +167 -0
  72. package/dist/drawerPosition-Dv6sl-Lf.js +2 -0
  73. package/dist/drawerRegion-5FtwY5Rd.js +2 -0
  74. package/dist/drawerRegion-DGs1NFgB.js +184 -0
  75. package/dist/drawerRole-B7LqcyGf.js +4 -0
  76. package/dist/drawerRole-BVGZbMiQ.js +211 -0
  77. package/dist/drawerRole-Bq08YzR7.js +3 -0
  78. package/dist/drawerRole-CI92ltBG.js +169 -0
  79. package/dist/drawerRole-D74a8YGf.js +156 -0
  80. package/dist/drawerRole-IoKzu2MV.js +3 -0
  81. package/dist/edit-fZ7h_z_Z.js +2 -0
  82. package/dist/enum-3E_sUqRF.js +50 -0
  83. package/dist/enum-3mYayxff.js +61 -0
  84. package/dist/enum-Cr7uWnB2.js +23 -0
  85. package/dist/enum-D2UEJsrC.js +4 -0
  86. package/dist/group-CFfGOevD.js +172 -0
  87. package/dist/group.css +1 -0
  88. package/dist/icard-H-d9Pip-.js +2 -0
  89. package/dist/icon_animation-BCdRKkE5.js +2 -0
  90. package/dist/icon_breadcrumb-BR6LK8hP.js +2 -0
  91. package/dist/icon_copyright-BfWn1s6t.js +2 -0
  92. package/dist/icon_jt-DOMTq9De.js +2 -0
  93. package/dist/icon_layout-DKqAThpM.js +2 -0
  94. package/dist/icon_mainpage-CXB9JMGv.js +2 -0
  95. package/dist/icon_menu-BYQtWV-Q.js +2 -0
  96. package/dist/icon_page_size-r-z4oHWp.js +2 -0
  97. package/dist/icon_position_type-JDFdklRh.js +2 -0
  98. package/dist/icon_safe_manage-BDTIOduB.js +2 -0
  99. package/dist/icon_screen_scale-vEaAdr9S.js +2 -0
  100. package/dist/icon_system_manage-CkhQtieE.js +2 -0
  101. package/dist/icon_tabbar-DZNj-h-p.js +2 -0
  102. package/dist/icon_toolbar-BBYhGmEf.js +2 -0
  103. package/dist/icon_topbar-Bc379eaS.js +2 -0
  104. package/dist/icon_watermark-CTP8r-e2.js +2 -0
  105. package/dist/index.css +1 -1
  106. package/dist/index.js +7487 -7471
  107. package/dist/isEmpty-BvRqbmpu.js +13 -0
  108. package/dist/itemlist-B6JOJttB.js +156 -0
  109. package/dist/layout_setting-B_bXRf0W.js +68 -0
  110. package/dist/layout_setting.css +1 -0
  111. package/dist/log-center-CGT-BGAN.js +2 -0
  112. package/dist/log-vjU7aBPR.js +14 -0
  113. package/dist/loginHistoryDetail-BvdsnTFV.js +3 -0
  114. package/dist/loginHistoryDetail-DRBKf4C8.js +77 -0
  115. package/dist/login_history-glJa2J1x.js +195 -0
  116. package/dist/login_history.css +1 -1
  117. package/dist/menu_setting-CuMAvx0k.js +155 -0
  118. package/dist/not-data-Cx--tk_h.js +2 -0
  119. package/dist/not-data-tyTawN37.js +2 -0
  120. package/dist/operateHistoryDetail-B3es707H.js +89 -0
  121. package/dist/operateHistoryDetail-CxD6LUWE.js +3 -0
  122. package/dist/operate_history-YpetdRIT.js +190 -0
  123. package/dist/operate_history.css +1 -1
  124. package/dist/org-main-DnftBa38.js +2 -0
  125. package/dist/org-unmain-ByMarqFw.js +2 -0
  126. package/dist/organization-B0yFeY4J.js +15338 -0
  127. package/dist/organization.css +1 -0
  128. package/dist/other_setting-vOU1Lnfp.js +215 -0
  129. package/dist/other_setting.css +1 -0
  130. package/dist/page_animation_setting-DSAKNmb1.js +108 -0
  131. package/dist/page_animation_setting.css +1 -0
  132. package/dist/page_w_setting-CBvXCWRR.js +63 -0
  133. package/dist/page_w_setting.css +1 -0
  134. package/dist/position-Qh2Cl1Hq.js +166 -0
  135. package/dist/region-r_QWszyO.js +179 -0
  136. package/dist/remove-DfZZBE2T.js +2 -0
  137. package/dist/resource-DKpLkyJH.js +271 -0
  138. package/dist/resource-app-QSLZ7Hts.js +2 -0
  139. package/dist/resource-btn-BcB4xMgR.js +2 -0
  140. package/dist/resource-dynamic-D69oEbaO.js +2 -0
  141. package/dist/resource-index-BIHr3PZY.js +2 -0
  142. package/dist/resource-menu-0JSNn7S7.js +2 -0
  143. package/dist/resource-micro-CcX_pmaJ.js +2 -0
  144. package/dist/resource-nonmenu-DFItasMT.js +2 -0
  145. package/dist/role-Pm5bxxjk.js +192 -0
  146. package/dist/role_group-D86PNA85.js +171 -0
  147. package/dist/routeSystem-DXMoWhFo.js +2 -0
  148. package/dist/safe_setting-CWQngC4j.js +224 -0
  149. package/dist/setItem-BxDHeWlp.js +4 -0
  150. package/dist/setItem-C5euZYfz.js +76 -0
  151. package/dist/setItem.css +1 -1
  152. package/dist/setting-manage-C9whamLP.js +2 -0
  153. package/dist/stores-DPQF8JRt.js +2 -0
  154. package/dist/tabbar_setting-D7enWjw4.js +139 -0
  155. package/dist/tenant-DTjNtlwf.js +177 -0
  156. package/dist/theme-check-mark-DG4oWCQN.js +2 -0
  157. package/dist/theme-title-BCYnl2jK.js +2 -0
  158. package/dist/theme_setting-j1mXqCfa.js +111 -0
  159. package/dist/theme_setting.css +1 -0
  160. package/dist/{index-C2G4xRrJ.js → toolbar_setting-BbJEvTPu.js} +140 -144
  161. package/dist/useAppAndResource-CPL2VpOJ.js +52 -0
  162. package/dist/user-BFOmEjwR.js +339 -0
  163. package/dist/vanilla-picker-DcG96G63.js +724 -0
  164. package/dist/view-Bnu34EJT.js +2 -0
  165. package/dist/watermark_setting-B1FGbTop.js +194 -0
  166. package/dist/watermark_setting.css +1 -0
  167. package/dist/zddata-Ceyga3_2.js +2 -0
  168. package/dist/zy_checked-DvD7k9F8.js +2 -0
  169. package/dist/zy_default-DJ2tB3Fo.js +2 -0
  170. package/package.json +5 -3
  171. package/src/components/OrgUserSelector/provider.ts +45 -40
  172. package/dist/ComponentSelect-ZLey_5w7.js +0 -4
  173. package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +0 -3981
  174. package/dist/DynamicRoutesForm-BU4EAISs.js +0 -4
  175. package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js +0 -179
  176. package/dist/HCheckList-Dkxhu1br.js +0 -4
  177. package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +0 -41
  178. package/dist/HoverCard-7agF2aDO.js +0 -4
  179. package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js +0 -62
  180. package/dist/IconSelect-DtNpk3Rj.js +0 -4
  181. package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +0 -757
  182. package/dist/ImportExport-DAe_Sl13.js +0 -4
  183. package/dist/ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js +0 -456
  184. package/dist/LayoutForm-Pv6UyKl3.js +0 -173
  185. package/dist/MetaForm-BMPtZc0g.js +0 -42413
  186. package/dist/OrgAndPosition-R-YixdXG.js +0 -4
  187. package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js +0 -195
  188. package/dist/ResourceEdit-D59JUDvG.js +0 -4
  189. package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-IWn27Vz1.js +0 -429
  190. package/dist/ResourceRelation-CeM9Eq39.js +0 -90
  191. package/dist/ResourceRelation-qhIdXLAy.js +0 -111
  192. package/dist/RoleRelation-BuqK0cnl.js +0 -4
  193. package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +0 -93
  194. package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +0 -352
  195. package/dist/TenantEdit-C61O1pSu.js +0 -4
  196. package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js +0 -306
  197. package/dist/UserAuthorization-Ch_iKzms.js +0 -273
  198. package/dist/UserEdit-B1fnFcSC.js +0 -4
  199. package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +0 -315
  200. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  201. package/dist/add-child-B9gDBQjZ.js +0 -4
  202. package/dist/animation_item-BZ1HNA6o.js +0 -4
  203. package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +0 -4858
  204. package/dist/authority-B-0S66Fv.js +0 -4
  205. package/dist/authorize-DnyYvAo3.js +0 -4
  206. package/dist/blacklist-disable-DzVU8JLV.js +0 -4
  207. package/dist/blacklist-enable-BmWQR1i4.js +0 -4
  208. package/dist/browser-chrome-O9MASusF.js +0 -4
  209. package/dist/browser-edge-Dk6N_uRy.js +0 -4
  210. package/dist/browser-ie-Dtz7hQTC.js +0 -4
  211. package/dist/browser-other-Crzi8vov.js +0 -4
  212. package/dist/browser-safari-DF0pVlrn.js +0 -4
  213. package/dist/browserType-DQySszjD.js +0 -4
  214. package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +0 -32
  215. package/dist/cloneDeep-BOLZdR62.js +0 -8
  216. package/dist/createAndEditDataPermission-DPeFulie.js +0 -4
  217. package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js +0 -528
  218. package/dist/dayjs.min-B2Yn1Frg.js +0 -284
  219. package/dist/drawerBlackWhiteList-eWyKScZN.js +0 -4
  220. package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js +0 -173
  221. package/dist/drawerDictionary-BRGmcIFT.js +0 -4
  222. package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +0 -146
  223. package/dist/drawerDictionaryItem-CFBfyhEw.js +0 -4
  224. package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +0 -158
  225. package/dist/drawerGroup-Bs1Z8XPo.js +0 -4
  226. package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +0 -202
  227. package/dist/drawerOrganization-Bs0YtPuo.js +0 -4
  228. package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +0 -250
  229. package/dist/drawerPosition-BA_gLotd.js +0 -4
  230. package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js +0 -181
  231. package/dist/drawerRegion-CauOP4lh.js +0 -4
  232. package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js +0 -235
  233. package/dist/drawerRole-CXGVqxPX.js +0 -4
  234. package/dist/drawerRole-CfJjf3v_.js +0 -4
  235. package/dist/drawerRole-nmMTIQYS.js +0 -4
  236. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js +0 -243
  237. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js +0 -197
  238. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +0 -191
  239. package/dist/edit-B69fMWPH.js +0 -4
  240. package/dist/enum-C9ihxJe7.js +0 -4
  241. package/dist/enum-D5iPiZiT.js +0 -17
  242. package/dist/enum-DDKThkSw.js +0 -24
  243. package/dist/enum-DkSNwGbC.js +0 -74
  244. package/dist/gangweijiekou-CUGlx4Ni.js +0 -48
  245. package/dist/icard-C4FaIC0V.js +0 -4
  246. package/dist/icon_animation-CfRxn8ne.js +0 -4
  247. package/dist/icon_breadcrumb-CAPCH16K.js +0 -4
  248. package/dist/icon_copyright-T9HuRtib.js +0 -4
  249. package/dist/icon_jt-BZgxEG_D.js +0 -4
  250. package/dist/icon_layout-BynQzkfn.js +0 -4
  251. package/dist/icon_mainpage-Bu_lyj_6.js +0 -4
  252. package/dist/icon_menu-D41hl_4p.js +0 -4
  253. package/dist/icon_page_size-Bioi61il.js +0 -4
  254. package/dist/icon_position_type-QpezzPDJ.js +0 -4
  255. package/dist/icon_safe_manage-ByWMOnwf.js +0 -4
  256. package/dist/icon_screen_scale-CuPyb7Ni.js +0 -4
  257. package/dist/icon_system_manage-BxRLv7Nw.js +0 -4
  258. package/dist/icon_tabbar-CetwmJHN.js +0 -4
  259. package/dist/icon_toolbar-DXt_LXp8.js +0 -4
  260. package/dist/icon_topbar-C186yIiC.js +0 -4
  261. package/dist/icon_watermark-DhaloO3m.js +0 -4
  262. package/dist/index-B0zXLUdu.js +0 -350
  263. package/dist/index-B5aP0re3.js +0 -170
  264. package/dist/index-BEB4liGe.js +0 -151
  265. package/dist/index-BNwGLzXe.js +0 -168
  266. package/dist/index-BXvJhqJD.js +0 -97
  267. package/dist/index-BhZNbJp6.js +0 -189
  268. package/dist/index-Bm3WQuJD.js +0 -226
  269. package/dist/index-C5WD-YUu.js +0 -246
  270. package/dist/index-CJQB8KAz.js +0 -186
  271. package/dist/index-CLnFLvHy.js +0 -193
  272. package/dist/index-CbVJdR5M.js +0 -194
  273. package/dist/index-ChWnVs6j.js +0 -196
  274. package/dist/index-CoZM8pyH.js +0 -197
  275. package/dist/index-Copy5kiW.js +0 -17701
  276. package/dist/index-D3Xw_aOi.js +0 -144
  277. package/dist/index-DHVEXch0.js +0 -253
  278. package/dist/index-DQhQqT_Z.js +0 -269
  279. package/dist/index-Dl0hWfIE.js +0 -118
  280. package/dist/index-En8oOf9e.js +0 -168
  281. package/dist/index-VZuizuKs.js +0 -257
  282. package/dist/index-XhYtVVT9.js +0 -88
  283. package/dist/index-iBmBJd50.js +0 -181
  284. package/dist/index10.css +0 -1
  285. package/dist/index13.css +0 -1
  286. package/dist/index16.css +0 -1
  287. package/dist/index17.css +0 -1
  288. package/dist/index4.css +0 -1
  289. package/dist/index5.css +0 -1
  290. package/dist/index7.css +0 -1
  291. package/dist/index8.css +0 -1
  292. package/dist/index9.css +0 -1
  293. package/dist/isEmpty-BgDIb4aS.js +0 -20
  294. package/dist/itemlist-zTYJtoSs.js +0 -172
  295. package/dist/jiaosejiekou-p42Hm9h3.js +0 -58
  296. package/dist/log-center-Bw9UlmOq.js +0 -4
  297. package/dist/loginHistoryDetail-BZVwG8m2.js +0 -105
  298. package/dist/login_history-CMZGS2PN.js +0 -221
  299. package/dist/not-data-BDuvYboz.js +0 -4
  300. package/dist/operateHistoryDetail-Badx3zl-.js +0 -123
  301. package/dist/operate_history-B42WNY1u.js +0 -217
  302. package/dist/org-main-DfWpX8Wv.js +0 -4
  303. package/dist/org-unmain-DrX63NH5.js +0 -4
  304. package/dist/remove-D2ES5tEr.js +0 -4
  305. package/dist/resource-app-1lqF6C6F.js +0 -4
  306. package/dist/resource-btn-Cfo6ddAY.js +0 -4
  307. package/dist/resource-dynamic-BAwkCWS4.js +0 -4
  308. package/dist/resource-index-BS4V5uy8.js +0 -4
  309. package/dist/resource-menu-CEWU8Iis.js +0 -4
  310. package/dist/resource-micro-9S0h5AlK.js +0 -4
  311. package/dist/resource-nonmenu-BZ9e4ynT.js +0 -4
  312. package/dist/setItem-Blb3dox4.js +0 -87
  313. package/dist/setting-manage-Xj_s0OoK.js +0 -4
  314. package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +0 -65
  315. package/dist/theme-check-mark-D58efagJ.js +0 -4
  316. package/dist/theme-title-CYUX2SBW.js +0 -4
  317. package/dist/useAppAndResource-DDywX2iz.js +0 -54
  318. package/dist/vanilla-picker-BAEwS4Fy.js +0 -536
  319. package/dist/view-BCWU0JWM.js +0 -4
  320. package/dist/xitongpeizhifuwu-BoCbGEk7.js +0 -23
  321. package/dist/zddata-DQP5Kx3c.js +0 -4
  322. package/dist/ziyuanjiekou-BC65-bFK.js +0 -69
  323. package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +0 -28
  324. package/dist/zy_checked-Bb6zRsYe.js +0 -4
  325. package/dist/zy_default-BGjhoury.js +0 -4
  326. /package/dist/{index2.css → breadcrumb_setting.css} +0 -0
  327. /package/dist/{index3.css → data-permission.css} +0 -0
  328. /package/dist/{index6.css → menu_setting.css} +0 -0
  329. /package/dist/{index11.css → safe_setting.css} +0 -0
  330. /package/dist/{index12.css → tabbar_setting.css} +0 -0
  331. /package/dist/{index14.css → toolbar_setting.css} +0 -0
  332. /package/dist/{index15.css → user.css} +0 -0
@@ -0,0 +1,91 @@
1
+ import { Lt as useToggle, T as postRbacOrgRoleRoleOrgPage, h as __plugin_vue_export_helper_default, yt as postRbacRoleRoleUserPage } from "./index.js";
2
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, ref, resolveComponent, toDisplayString, unref, withCtx } from "vue";
3
+ import { Drawer, Segmented, Tag } from "ant-design-vue/es";
4
+ import { ProTable } from "@pubinfo/pro-components";
5
+ import './ResourceRelation2.css';var _hoisted_1 = { class: "mb-20px p-x-15px" }, _hoisted_2 = {
6
+ key: 0,
7
+ class: "flex items-center"
8
+ }, _hoisted_3 = { class: "mr-4px" }, ResourceRelation_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
9
+ name: "ResourceRelation",
10
+ __name: "ResourceRelation",
11
+ setup(y, { expose: w }) {
12
+ let T = ref(["用户自选角色", "组织基础角色"]), E = ref(T.value[0]), [D, O] = useToggle(!1), k = ref(""), A = ref();
13
+ function j() {
14
+ A.value.fetch();
15
+ }
16
+ async function M(e) {
17
+ e.pageSize = 15, e.roleId = k.value;
18
+ let { current: y, pageSize: x, ...S } = e, C = await (E.value === "用户自选角色" ? postRbacRoleRoleUserPage : postRbacOrgRoleRoleOrgPage)({
19
+ currentPage: y,
20
+ pageSize: x,
21
+ ...S
22
+ });
23
+ return {
24
+ success: C.success,
25
+ data: C.data?.records ?? [],
26
+ total: C.data?.total ?? 0
27
+ };
28
+ }
29
+ let N = computed(() => E.value === "用户自选角色" ? [{
30
+ title: "用户名称",
31
+ dataIndex: "realName",
32
+ ellipsis: !0
33
+ }, {
34
+ title: "组织名称",
35
+ dataIndex: "orgName",
36
+ ellipsis: !0
37
+ }] : [{
38
+ title: "组织名称",
39
+ dataIndex: "name",
40
+ ellipsis: !0
41
+ }]);
42
+ function P(e) {
43
+ k.value = e.id || "", O(!0);
44
+ }
45
+ return w({ open: P }), (e, v) => {
46
+ let y = Segmented, b = Tag, x = Drawer;
47
+ return openBlock(), createBlock(x, {
48
+ open: unref(D),
49
+ "onUpdate:open": v[1] ||= (e) => isRef(D) ? D.value = e : null,
50
+ title: "分配查看",
51
+ placement: "right",
52
+ width: 720,
53
+ "destroy-on-close": "",
54
+ "footer-style": { textAlign: "right" },
55
+ "body-style": {
56
+ paddingLeft: 0,
57
+ paddingRight: 0
58
+ }
59
+ }, {
60
+ default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(y, {
61
+ value: unref(E),
62
+ "onUpdate:value": v[0] ||= (e) => isRef(E) ? E.value = e : null,
63
+ block: "",
64
+ options: unref(T),
65
+ onChange: j
66
+ }, null, 8, ["value", "options"])]), createVNode(unref(ProTable), {
67
+ ref_key: "protable",
68
+ ref: A,
69
+ "row-key": "id",
70
+ request: M,
71
+ columns: unref(N),
72
+ search: !1,
73
+ toolbar: !1,
74
+ "auto-height": { offset: 50 }
75
+ }, {
76
+ bodyCell: withCtx(({ column: e, record: y }) => [e.dataIndex === "name" ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("span", _hoisted_3, toDisplayString(y.name), 1), y.isInherit === "1" ? (openBlock(), createBlock(b, {
77
+ key: 0,
78
+ color: "processing"
79
+ }, {
80
+ default: withCtx(() => v[2] ||= [createTextVNode(" 及子组织 ")]),
81
+ _: 1,
82
+ __: [2]
83
+ })) : createCommentVNode("", !0)])) : createCommentVNode("", !0)]),
84
+ _: 1
85
+ }, 8, ["columns"])]),
86
+ _: 1
87
+ }, 8, ["open"]);
88
+ };
89
+ }
90
+ }), [["__scopeId", "data-v-1167727f"]]);
91
+ export { ResourceRelation_default as t };
@@ -0,0 +1,2 @@
1
+ import { t as ResourceRelation_default } from "./ResourceRelation-DeoM1DDo.js";
2
+ export { ResourceRelation_default as default };
@@ -1 +1 @@
1
- [data-v-1167727f] .ant-drawer-body{padding-left:0;padding-right:0}
1
+ [data-v-f5867bc7] .ant-drawer-body{padding-left:0;padding-right:0}
@@ -1 +1 @@
1
- [data-v-f5867bc7] .ant-drawer-body{padding-left:0;padding-right:0}
1
+ [data-v-1167727f] .ant-drawer-body{padding-left:0;padding-right:0}
@@ -0,0 +1,2 @@
1
+ import { t as RoleRelation_default } from "./RoleRelation-DzyVn5dk.js";
2
+ export { RoleRelation_default as default };
@@ -0,0 +1,78 @@
1
+ import { Lt as useToggle, N as getRbacResourceGetRoleListByResourceId } from "./index.js";
2
+ import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, nextTick, normalizeStyle, openBlock, resolveComponent, toDisplayString, unref, withCtx } from "vue";
3
+ import { theme } from "ant-design-vue";
4
+ import { Avatar, Drawer, Table } from "ant-design-vue/es";
5
+ import { useRequest } from "alova/client";
6
+ var _hoisted_1 = {
7
+ key: 0,
8
+ class: "w-full truncate space-x-2"
9
+ }, RoleRelation_default = /* @__PURE__ */ defineComponent({
10
+ name: "RoleRelation",
11
+ __name: "RoleRelation",
12
+ setup(x, { expose: C }) {
13
+ let { token: w } = theme.useToken(), [T, E] = useToggle(!1), { loading: D, data: O, send: k } = useRequest((e) => getRbacResourceGetRoleListByResourceId(e, { transform(e) {
14
+ return e.data ?? [];
15
+ } }), { immediate: !1 }), A = [{
16
+ title: "角色名称",
17
+ dataIndex: "name",
18
+ ellipsis: !0
19
+ }, {
20
+ title: "创建人",
21
+ dataIndex: "createUserName",
22
+ width: 180,
23
+ ellipsis: !0
24
+ }];
25
+ function j(e) {
26
+ E(!0), k({ id: e.id }), P();
27
+ }
28
+ let M = computed(() => window.innerHeight - 57 - 48 - 55 - 64);
29
+ function N() {
30
+ nextTick(() => {
31
+ let e = document.querySelector(".role-relation")?.querySelector(".ant-table-body");
32
+ e && (e.style.height = `${M.value}px`);
33
+ });
34
+ }
35
+ function P() {
36
+ nextTick(N);
37
+ }
38
+ return C({ open: j }), (e, y) => {
39
+ let b = Avatar, x = Table, S = Drawer;
40
+ return openBlock(), createBlock(S, {
41
+ open: unref(T),
42
+ "onUpdate:open": y[0] ||= (e) => isRef(T) ? T.value = e : null,
43
+ title: "分配查看",
44
+ placement: "right",
45
+ width: 520,
46
+ "footer-style": { textAlign: "right" }
47
+ }, {
48
+ default: withCtx(() => [createVNode(x, {
49
+ "row-key": "id",
50
+ loading: unref(D),
51
+ columns: A,
52
+ "data-source": unref(O),
53
+ scroll: { y: `${unref(M)}px` },
54
+ pagination: {
55
+ defaultPageSize: 20,
56
+ showSizeChanger: !0
57
+ },
58
+ class: "role-relation"
59
+ }, {
60
+ bodyCell: withCtx(({ column: e, text: y }) => [e.dataIndex === "name" ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(b, {
61
+ size: "small",
62
+ style: normalizeStyle({ backgroundColor: unref(w).colorPrimary })
63
+ }, {
64
+ default: withCtx(() => [createTextVNode(toDisplayString(y[0]), 1)]),
65
+ _: 2
66
+ }, 1032, ["style"]), createElementVNode("span", null, toDisplayString(y), 1)])) : createCommentVNode("", !0)]),
67
+ _: 1
68
+ }, 8, [
69
+ "loading",
70
+ "data-source",
71
+ "scroll"
72
+ ])]),
73
+ _: 1
74
+ }, 8, ["open"]);
75
+ };
76
+ }
77
+ });
78
+ export { RoleRelation_default as t };
@@ -0,0 +1,276 @@
1
+ import { Lt as useToggle, ct as getRbacPubRoleGroupGetAll, ht as getRbacRoleRoleList, lt as getRbacPubRoleGroupGetById } from "./index.js";
2
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, isRef, mergeModels, mergeProps, normalizeProps, normalizeStyle, onMounted, openBlock, reactive, ref, renderList, resolveComponent, toDisplayString, unref, useModel, vShow, withCtx, withDirectives } from "vue";
3
+ import { CloseOutlined, SearchOutlined } from "@ant-design/icons-vue";
4
+ import { Card, Checkbox, CheckboxGroup, Modal, Spin, Tooltip, theme } from "ant-design-vue";
5
+ import { Input as Input$1, Select, SelectOption, Tooltip as Tooltip$1 } from "ant-design-vue/es";
6
+ var _hoisted_1$1 = { key: 1 }, RoleSearch_default = /* @__PURE__ */ defineComponent({
7
+ name: "RoleSearch",
8
+ __name: "RoleSearch",
9
+ props: /* @__PURE__ */ mergeModels({ group: {
10
+ type: Boolean,
11
+ default: !1
12
+ } }, {
13
+ modelValue: {},
14
+ modelModifiers: {},
15
+ groupId: {},
16
+ groupIdModifiers: {}
17
+ }),
18
+ emits: /* @__PURE__ */ mergeModels(["select"], ["update:modelValue", "update:groupId"]),
19
+ setup(e, { emit: A }) {
20
+ let j = e, N = A, P = useModel(e, "modelValue"), F = useModel(e, "groupId"), L = ref([]);
21
+ async function R() {
22
+ let e = await getRbacPubRoleGroupGetAll({ name: "" });
23
+ e.success && (L.value = e.data ?? []);
24
+ }
25
+ return onMounted(() => {
26
+ j.group && R();
27
+ }), (e, k) => {
28
+ let A = SelectOption, j = Tooltip$1, R = Select, z = Input$1;
29
+ return openBlock(), createBlock(z, {
30
+ value: P.value,
31
+ "onUpdate:value": k[2] ||= (e) => P.value = e,
32
+ placeholder: "请输入",
33
+ "allow-clear": ""
34
+ }, {
35
+ addonBefore: withCtx(() => [e.group ? (openBlock(), createBlock(R, {
36
+ key: 0,
37
+ value: F.value,
38
+ "onUpdate:value": k[0] ||= (e) => F.value = e,
39
+ style: { width: "90px" },
40
+ onChange: k[1] ||= (e) => N("select", e)
41
+ }, {
42
+ default: withCtx(() => [createVNode(A, { value: "" }, {
43
+ default: withCtx(() => k[3] ||= [createTextVNode(" 全部 ")]),
44
+ _: 1,
45
+ __: [3]
46
+ }), (openBlock(!0), createElementBlock(Fragment, null, renderList(unref(L), (e) => (openBlock(), createBlock(A, {
47
+ key: e.id,
48
+ value: e.id
49
+ }, {
50
+ default: withCtx(() => [createVNode(j, { title: e.name }, {
51
+ default: withCtx(() => [createTextVNode(toDisplayString(e.name), 1)]),
52
+ _: 2
53
+ }, 1032, ["title"])]),
54
+ _: 2
55
+ }, 1032, ["value"]))), 128))]),
56
+ _: 1
57
+ }, 8, ["value"])) : (openBlock(), createElementBlock("div", _hoisted_1$1, " 全部 "))]),
58
+ suffix: withCtx(() => [createVNode(unref(SearchOutlined))]),
59
+ _: 1
60
+ }, 8, ["value"]);
61
+ };
62
+ }
63
+ }), TooltipLabel_default = /* @__PURE__ */ defineComponent({
64
+ name: "TooltipLabel",
65
+ inheritAttrs: !1,
66
+ __name: "TooltipLabel",
67
+ props: {
68
+ name: {},
69
+ size: { default: 21 }
70
+ },
71
+ setup(e) {
72
+ return (e, k) => (e.name || "").length > e.size ? (openBlock(), createBlock(unref(Tooltip), {
73
+ key: 0,
74
+ title: e.name
75
+ }, {
76
+ default: withCtx(() => [createElementVNode("span", normalizeProps(guardReactiveProps(e.$attrs)), toDisplayString(`${e.name?.slice(0, e.size)}...`), 17)]),
77
+ _: 1
78
+ }, 8, ["title"])) : (openBlock(), createElementBlock("span", normalizeProps(mergeProps({ key: 1 }, e.$attrs)), toDisplayString(e.name), 17));
79
+ }
80
+ });
81
+ function useRole() {
82
+ let [k, j] = useToggle(!1), M = ref([]);
83
+ async function N() {
84
+ try {
85
+ j(!0);
86
+ let e = await getRbacRoleRoleList();
87
+ e.success && (M.value = e.data ?? []);
88
+ } finally {
89
+ j(!1);
90
+ }
91
+ }
92
+ return {
93
+ loading: k,
94
+ setLoading: j,
95
+ roles: M,
96
+ getData: N
97
+ };
98
+ }
99
+ function useRoleGroup() {
100
+ let [k, A] = useToggle(!1), M = ref([]);
101
+ async function N(e) {
102
+ try {
103
+ A(!0);
104
+ let k = await getRbacPubRoleGroupGetById({ id: e });
105
+ k.success && (M.value = k.data?.roles ?? []);
106
+ } finally {
107
+ A(!1);
108
+ }
109
+ }
110
+ return {
111
+ loading: k,
112
+ setLoading: A,
113
+ roles: M,
114
+ getData: N
115
+ };
116
+ }
117
+ var _hoisted_1 = { class: "h-full flex" }, _hoisted_2 = { class: "p-2 flex flex-col h-full gap-2" }, _hoisted_3 = { class: "flex-1 overflow-y-auto overflow-x-hidden" }, _hoisted_4 = {
118
+ key: 0,
119
+ class: "flex items-center justify-center size-full"
120
+ }, _hoisted_5 = { class: "gap-1 p-2 h-full overflow-y-auto" }, RoleSelector_default = /* @__PURE__ */ defineComponent({
121
+ name: "RoleSelector",
122
+ __name: "RoleSelector",
123
+ props: /* @__PURE__ */ mergeModels({ group: {
124
+ type: Boolean,
125
+ default: !1
126
+ } }, {
127
+ open: { type: Boolean },
128
+ openModifiers: {}
129
+ }),
130
+ emits: /* @__PURE__ */ mergeModels(["select"], ["update:open"]),
131
+ setup(k, { expose: A, emit: j }) {
132
+ let I = j, { token: L } = theme.useToken(), R = useModel(k, "open"), B = useToggle(R), V = ref([]), H = reactive(useRole()), U = reactive(useRoleGroup()), W = ref(""), G = ref("");
133
+ async function K(e) {
134
+ await U.getData(e);
135
+ }
136
+ async function q(e = []) {
137
+ V.value = e, W.value = "", G.value = "", await H.getData(), B(!0);
138
+ }
139
+ let J = computed(() => G.value === "" ? H.roles : U.roles);
140
+ function Y(e) {
141
+ return J.value.findIndex((k) => k.id === e.id) > -1 && e.name?.includes(W.value);
142
+ }
143
+ function X(e, k) {
144
+ e.target.checked ? V.value.push({
145
+ value: k.id,
146
+ label: k.name
147
+ }) : V.value = V.value.filter((e) => e.value !== k.id);
148
+ }
149
+ function Z(e) {
150
+ V.value = V.value.filter((k) => k.value !== e);
151
+ }
152
+ function Q() {
153
+ I("select", V.value), B(!1);
154
+ }
155
+ function $() {
156
+ V.value = V.value.filter((e) => !H.roles.some((k) => k.id === e.value));
157
+ }
158
+ return A({ open: q }), (e, k) => (openBlock(), createBlock(unref(Modal), {
159
+ open: R.value,
160
+ "onUpdate:open": k[3] ||= (e) => R.value = e,
161
+ title: "角色选择",
162
+ "mask-closable": !1,
163
+ width: 750,
164
+ "z-index": 1001,
165
+ "ok-text": "确认",
166
+ "cancel-text": "取消",
167
+ "destroy-on-close": "",
168
+ onOk: k[4] ||= (e) => Q()
169
+ }, {
170
+ default: withCtx(() => [createElementVNode("div", {
171
+ class: "border border-solid h-[400px]",
172
+ style: normalizeStyle({ borderColor: unref(L).colorBorder })
173
+ }, [createElementVNode("div", _hoisted_1, [
174
+ createVNode(unref(Card), {
175
+ bordered: !1,
176
+ size: "small",
177
+ "head-style": {
178
+ backgroundColor: unref(L).colorBgLayout,
179
+ borderRadius: 0,
180
+ borderWidth: 0,
181
+ borderBottomWidth: "1px",
182
+ padding: 0
183
+ },
184
+ "body-style": {
185
+ flex: 1,
186
+ padding: 0,
187
+ height: "calc(100% - 38px)"
188
+ },
189
+ style: normalizeStyle({
190
+ boxShadow: "none",
191
+ borderRadius: 0,
192
+ borderColor: unref(L).colorBorder
193
+ }),
194
+ class: "flex h-full flex-col w-1/2"
195
+ }, {
196
+ default: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(RoleSearch_default, {
197
+ modelValue: unref(W),
198
+ "onUpdate:modelValue": k[0] ||= (e) => isRef(W) ? W.value = e : null,
199
+ "group-id": unref(G),
200
+ "onUpdate:groupId": k[1] ||= (e) => isRef(G) ? G.value = e : null,
201
+ group: e.group,
202
+ onSelect: K
203
+ }, null, 8, [
204
+ "modelValue",
205
+ "group-id",
206
+ "group"
207
+ ]), createElementVNode("div", _hoisted_3, [unref(H).loading || unref(U).loading ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(unref(Spin))])) : (openBlock(), createBlock(unref(CheckboxGroup), {
208
+ key: 1,
209
+ value: unref(V).map((e) => e.value),
210
+ class: "w-full overflow-x-hidden"
211
+ }, {
212
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(J), (e) => withDirectives((openBlock(), createElementBlock("div", {
213
+ key: e.id,
214
+ class: "w-full py-2 border-0 border-b border-solid truncate",
215
+ style: normalizeStyle({ borderColor: unref(L).colorBorder })
216
+ }, [createVNode(unref(Checkbox), {
217
+ value: e.id,
218
+ onChange: (k) => X(k, e)
219
+ }, {
220
+ default: withCtx(() => [createVNode(TooltipLabel_default, { name: e.name }, null, 8, ["name"])]),
221
+ _: 2
222
+ }, 1032, ["value", "onChange"])], 4)), [[vShow, Y(e)]])), 128))]),
223
+ _: 1
224
+ }, 8, ["value"]))])])]),
225
+ _: 1
226
+ }, 8, ["head-style", "style"]),
227
+ createElementVNode("div", {
228
+ style: normalizeStyle({ borderColor: unref(L).colorBorder }),
229
+ class: "h-full border-0 border-r border-solid"
230
+ }, null, 4),
231
+ createVNode(unref(Card), {
232
+ bordered: !1,
233
+ size: "small",
234
+ "head-style": {
235
+ backgroundColor: unref(L).colorBgLayout,
236
+ borderRadius: 0,
237
+ borderWidth: 0,
238
+ borderBottomWidth: "1px"
239
+ },
240
+ "body-style": {
241
+ flex: 1,
242
+ padding: 0,
243
+ overflow: "hidden"
244
+ },
245
+ style: {
246
+ boxShadow: "none",
247
+ borderRadius: 0
248
+ },
249
+ class: "flex h-full flex-col flex-1"
250
+ }, {
251
+ title: withCtx(() => k[5] ||= [createElementVNode("span", { class: "font-normal" }, " 已选角色 ", -1)]),
252
+ extra: withCtx(() => [createElementVNode("a", {
253
+ style: normalizeStyle({ color: unref(L).colorPrimary }),
254
+ onClick: k[2] ||= (e) => $()
255
+ }, " 清空 ", 4)]),
256
+ default: withCtx(() => [createElementVNode("div", _hoisted_5, [(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(V), (e) => (openBlock(), createElementBlock("div", {
257
+ key: e.value,
258
+ class: "inline-block mb-1 py-1 px-2 mx-0.5 max-w-full rounded",
259
+ style: normalizeStyle({ backgroundColor: unref(L).colorPrimaryBg })
260
+ }, [createVNode(TooltipLabel_default, {
261
+ name: e.label,
262
+ size: 20
263
+ }, null, 8, ["name"]), unref(H).roles.some((k) => k.id === e.value) ? (openBlock(), createBlock(unref(CloseOutlined), {
264
+ key: 0,
265
+ class: "ml-1 cursor-pointer text-xs",
266
+ style: normalizeStyle({ color: unref(L).colorPrimary }),
267
+ onClick: (k) => Z(e.value)
268
+ }, null, 8, ["style", "onClick"])) : createCommentVNode("", !0)], 4))), 128))])]),
269
+ _: 1
270
+ }, 8, ["head-style"])
271
+ ])], 4)]),
272
+ _: 1
273
+ }, 8, ["open"]));
274
+ }
275
+ });
276
+ export { RoleSelector_default as t };