@pubinfo/module-rbac 2.0.8-beta.3 → 2.0.9

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 (339) hide show
  1. package/dist/ComponentSelect-ZLey_5w7.js +4 -0
  2. package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +3981 -0
  3. package/dist/DynamicRoutesForm-DzOGoyf3.js +4 -0
  4. package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-lpCaLpPL.js +179 -0
  5. package/dist/HCheckList-Dkxhu1br.js +4 -0
  6. package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +41 -0
  7. package/dist/HoverCard-DASfDgI1.js +4 -0
  8. package/dist/HoverCard.vue_vue_type_script_setup_true_lang-BqEarhzP.js +62 -0
  9. package/dist/IconSelect-CkqLR5Dg.js +4 -0
  10. package/dist/IconSelect.css +1 -1
  11. package/dist/IconSelect.vue_vue_type_script_setup_true_lang-BoGxAoNd.js +703 -0
  12. package/dist/ImportExport-BD8o7IvB.js +4 -0
  13. package/dist/ImportExport.vue_vue_type_script_setup_true_lang-BzdP0ADd.js +456 -0
  14. package/dist/MetaForm-DtlyvzoM.js +364 -0
  15. package/dist/OrgAndPosition-DjF_gcp6.js +4 -0
  16. package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-CFSDHn40.js +195 -0
  17. package/dist/ResourceEdit-WpEdbzaw.js +4 -0
  18. package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-id6jZAko.js +392 -0
  19. package/dist/ResourceRelation-26FnHEfU.js +112 -0
  20. package/dist/ResourceRelation-DGiGYy6V.js +91 -0
  21. package/dist/ResourceRelation.css +1 -1
  22. package/dist/ResourceRelation2.css +1 -1
  23. package/dist/RoleRelation-BuqK0cnl.js +4 -0
  24. package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +93 -0
  25. package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +352 -0
  26. package/dist/TenantEdit-B24X5nND.js +4 -0
  27. package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-Bu5HcJJv.js +307 -0
  28. package/dist/UserAuthorization-Co6JV0py.js +274 -0
  29. package/dist/UserEdit-DkNVPVA4.js +4 -0
  30. package/dist/UserEdit.vue_vue_type_script_setup_true_lang-CFs0SxVJ.js +330 -0
  31. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  32. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  33. package/dist/add-child-B9gDBQjZ.js +4 -0
  34. package/dist/animation_item-BZ1HNA6o.js +4 -0
  35. package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +4858 -0
  36. package/dist/authority-B-0S66Fv.js +4 -0
  37. package/dist/authorize-DnyYvAo3.js +4 -0
  38. package/dist/blacklist-disable-DzVU8JLV.js +4 -0
  39. package/dist/blacklist-enable-BmWQR1i4.js +4 -0
  40. package/dist/browser-chrome-O9MASusF.js +4 -0
  41. package/dist/browser-edge-Dk6N_uRy.js +4 -0
  42. package/dist/browser-ie-Dtz7hQTC.js +4 -0
  43. package/dist/browser-other-Crzi8vov.js +4 -0
  44. package/dist/browser-safari-DF0pVlrn.js +4 -0
  45. package/dist/browserType-DQySszjD.js +4 -0
  46. package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +32 -0
  47. package/dist/cloneDeep-BOLZdR62.js +8 -0
  48. package/dist/createAndEditDataPermission-BhOLGGna.js +4 -0
  49. package/dist/createAndEditDataPermission.css +1 -1
  50. package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-D5wInKwO.js +531 -0
  51. package/dist/dayjs.min-B2Yn1Frg.js +284 -0
  52. package/dist/drawerBlackWhiteList-Cr16yNs8.js +4 -0
  53. package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-BR6Yeiie.js +172 -0
  54. package/dist/drawerDictionary-BRGmcIFT.js +4 -0
  55. package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +146 -0
  56. package/dist/drawerDictionaryItem-CFBfyhEw.js +4 -0
  57. package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +158 -0
  58. package/dist/drawerGroup-Bs1Z8XPo.js +4 -0
  59. package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +202 -0
  60. package/dist/drawerOrganization-Bs0YtPuo.js +4 -0
  61. package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +250 -0
  62. package/dist/drawerPosition-BYypSGoF.js +4 -0
  63. package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-DcZ48XJV.js +181 -0
  64. package/dist/drawerRegion-BiIlYQ0Z.js +4 -0
  65. package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-BwAj_RKw.js +233 -0
  66. package/dist/drawerRole-DHLv47_z.js +4 -0
  67. package/dist/drawerRole-DUWRM43j.js +4 -0
  68. package/dist/drawerRole-nmMTIQYS.js +4 -0
  69. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-BET5ukoo.js +244 -0
  70. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-BK3zjhop.js +197 -0
  71. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +191 -0
  72. package/dist/edit-B69fMWPH.js +4 -0
  73. package/dist/enum-C9ihxJe7.js +4 -0
  74. package/dist/enum-CTUzwCYG.js +4 -0
  75. package/dist/enum-CjyX3J0o.js +18 -0
  76. package/dist/enum-DDKThkSw.js +24 -0
  77. package/dist/enum-DkSNwGbC.js +74 -0
  78. package/dist/gangweijiekou-Cs016LjQ.js +46 -0
  79. package/dist/icard-C4FaIC0V.js +4 -0
  80. package/dist/icon_animation-CfRxn8ne.js +4 -0
  81. package/dist/icon_breadcrumb-CAPCH16K.js +4 -0
  82. package/dist/icon_copyright-T9HuRtib.js +4 -0
  83. package/dist/icon_jt-BZgxEG_D.js +4 -0
  84. package/dist/icon_layout-BynQzkfn.js +4 -0
  85. package/dist/icon_mainpage-Bu_lyj_6.js +4 -0
  86. package/dist/icon_menu-D41hl_4p.js +4 -0
  87. package/dist/icon_page_size-Bioi61il.js +4 -0
  88. package/dist/icon_position_type-QpezzPDJ.js +4 -0
  89. package/dist/icon_safe_manage-ByWMOnwf.js +4 -0
  90. package/dist/icon_screen_scale-CuPyb7Ni.js +4 -0
  91. package/dist/icon_system_manage-BxRLv7Nw.js +4 -0
  92. package/dist/icon_tabbar-CetwmJHN.js +4 -0
  93. package/dist/icon_toolbar-DXt_LXp8.js +4 -0
  94. package/dist/icon_topbar-C186yIiC.js +4 -0
  95. package/dist/icon_watermark-DhaloO3m.js +4 -0
  96. package/dist/index-53oBz1jp.js +299 -0
  97. package/dist/index-B2tTTlBE.js +17698 -0
  98. package/dist/{toolbar_setting-rv8EGChc.js → index-BFx8F5lO.js} +144 -144
  99. package/dist/index-BIpmC999.js +169 -0
  100. package/dist/index-BUmMaC21.js +227 -0
  101. package/dist/index-BwWrE3dY.js +89 -0
  102. package/dist/index-C9hHp4Iw.js +197 -0
  103. package/dist/{watermark_setting-B_jC4rjv.js → index-CCw3ZJgQ.js} +254 -199
  104. package/dist/index-CJQB8KAz.js +186 -0
  105. package/dist/index-CLnFLvHy.js +193 -0
  106. package/dist/index-COWUocfL.js +119 -0
  107. package/dist/index-Cqkr8Rvk.js +189 -0
  108. package/dist/index-Csfu3kAr.js +171 -0
  109. package/dist/index-DECno0gv.js +196 -0
  110. package/dist/index-DVt5k9xh.js +145 -0
  111. package/dist/index-DdoOaWs-.js +269 -0
  112. package/dist/index-DfuGXjYh.js +169 -0
  113. package/dist/index-DoFuRlsc.js +181 -0
  114. package/dist/index-DwpOyfRe.js +152 -0
  115. package/dist/index-ZQuRR9fG.js +257 -0
  116. package/dist/index-ioZh8Qom.js +98 -0
  117. package/dist/index-rNYtJ7Om.js +195 -0
  118. package/dist/index-x9Iim2eD.js +247 -0
  119. package/dist/index-y9CQTo95.js +351 -0
  120. package/dist/index.css +1 -1
  121. package/dist/index.d.ts +1 -0
  122. package/dist/index.js +7193 -7042
  123. package/dist/index10.css +1 -0
  124. package/dist/index11.css +1 -0
  125. package/dist/index14.css +1 -0
  126. package/dist/index17.css +1 -0
  127. package/dist/index18.css +1 -0
  128. package/dist/index4.css +1 -0
  129. package/dist/index5.css +1 -0
  130. package/dist/index6.css +1 -0
  131. package/dist/index8.css +1 -0
  132. package/dist/index9.css +1 -0
  133. package/dist/itemlist-zTYJtoSs.js +172 -0
  134. package/dist/jiaosejiekou-p42Hm9h3.js +58 -0
  135. package/dist/log-center-Bw9UlmOq.js +4 -0
  136. package/dist/loginHistoryDetail-B6eI-TmJ.js +105 -0
  137. package/dist/login_history-B4Q1NCJn.js +222 -0
  138. package/dist/login_history.css +1 -1
  139. package/dist/not-data-BDuvYboz.js +4 -0
  140. package/dist/operateHistoryDetail-CLZ9lyua.js +123 -0
  141. package/dist/operate_history-KASZ7_JO.js +218 -0
  142. package/dist/operate_history.css +1 -1
  143. package/dist/org-main-DfWpX8Wv.js +4 -0
  144. package/dist/org-unmain-DrX63NH5.js +4 -0
  145. package/dist/remove-D2ES5tEr.js +4 -0
  146. package/dist/resource-app-1lqF6C6F.js +4 -0
  147. package/dist/resource-btn-Cfo6ddAY.js +4 -0
  148. package/dist/resource-dynamic-BAwkCWS4.js +4 -0
  149. package/dist/resource-index-BS4V5uy8.js +4 -0
  150. package/dist/resource-menu-CEWU8Iis.js +4 -0
  151. package/dist/resource-micro-9S0h5AlK.js +4 -0
  152. package/dist/resource-nonmenu-BZ9e4ynT.js +4 -0
  153. package/dist/setItem-BwMHXOUm.js +87 -0
  154. package/dist/setItem.css +1 -1
  155. package/dist/setting-manage-Xj_s0OoK.js +4 -0
  156. package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +65 -0
  157. package/dist/theme-check-mark-D58efagJ.js +4 -0
  158. package/dist/theme-title-CYUX2SBW.js +4 -0
  159. package/dist/useAppAndResource-38HCqYKa.js +55 -0
  160. package/dist/utils/dict.d.ts +6 -0
  161. package/dist/view-BCWU0JWM.js +4 -0
  162. package/dist/views/tenant/components/TenantEdit.vue.d.ts +1 -37
  163. package/dist/views/tenant/index.vue.d.ts +1 -37
  164. package/dist/xitongpeizhifuwu-BoCbGEk7.js +23 -0
  165. package/dist/zddata-DQP5Kx3c.js +4 -0
  166. package/dist/ziyuanjiekou-BC65-bFK.js +69 -0
  167. package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +28 -0
  168. package/dist/zy_checked-Bb6zRsYe.js +4 -0
  169. package/dist/zy_default-BGjhoury.js +4 -0
  170. package/package.json +3 -3
  171. package/src/index.ts +1 -0
  172. package/src/utils/dict.ts +21 -0
  173. package/dist/ComponentSelect-HWE3OTC2.js +0 -2
  174. package/dist/ComponentSelect-lvLZA7v3.js +0 -3686
  175. package/dist/DynamicRoutesForm--yCRC-TS.js +0 -4
  176. package/dist/DynamicRoutesForm-CjrPnJvX.js +0 -169
  177. package/dist/HCheckList-CmS0Zgjk.js +0 -37
  178. package/dist/HCheckList-Cze_TkQp.js +0 -2
  179. package/dist/HoverCard-B79q5sly.js +0 -43
  180. package/dist/HoverCard-U5WTpvFy.js +0 -2
  181. package/dist/IconSelect-B0CeuV_a.js +0 -4
  182. package/dist/IconSelect-BRVj6gBy.js +0 -681
  183. package/dist/ImportExport-BNLVq0fU.js +0 -4
  184. package/dist/ImportExport-HsLm0AJH.js +0 -354
  185. package/dist/MetaForm-BSGuZXgj.js +0 -5
  186. package/dist/MetaForm-DErrpELP.js +0 -300
  187. package/dist/OrgAndPosition-CF7ZJtNB.js +0 -2
  188. package/dist/OrgAndPosition-vnBrq-fn.js +0 -188
  189. package/dist/ResourceEdit-DGiYedP0.js +0 -349
  190. package/dist/ResourceEdit-DZP72kyb.js +0 -11
  191. package/dist/ResourceRelation-BxGFnyVc.js +0 -78
  192. package/dist/ResourceRelation-DCjMjLpg.js +0 -3
  193. package/dist/ResourceRelation-DhML3AFe.js +0 -93
  194. package/dist/ResourceSelector-BAZ-oIRV.js +0 -247
  195. package/dist/ResourceSelector.css +0 -1
  196. package/dist/RoleRelation-Bxyd5aMn.js +0 -2
  197. package/dist/RoleRelation-CcgE6TEG.js +0 -79
  198. package/dist/RoleSelector-QpcO4KoV.js +0 -279
  199. package/dist/TenantEdit-CRhsWhhw.js +0 -253
  200. package/dist/TenantEdit-egH6GbbS.js +0 -6
  201. package/dist/UserAuthorization-B0lHeayD.js +0 -4
  202. package/dist/UserAuthorization-D-LcHhsj.js +0 -238
  203. package/dist/UserEdit-6MPOr7VK.js +0 -336
  204. package/dist/UserEdit-DGefh7mk.js +0 -4
  205. package/dist/_plugin-vue_export-helper-DziIhCOI.js +0 -6
  206. package/dist/add-child-BqjLtFNF.js +0 -2
  207. package/dist/animation_item-C3pkH-cB.js +0 -2
  208. package/dist/animation_item-Cg-CB3zX.js +0 -4536
  209. package/dist/authority-BCFCPQkb.js +0 -2
  210. package/dist/authorize-BykMzt1r.js +0 -2
  211. package/dist/blackWhiteList-CFnWvnIK.js +0 -213
  212. package/dist/blackWhiteList.css +0 -1
  213. package/dist/blacklist-disable-COoLZMSA.js +0 -2
  214. package/dist/blacklist-enable-LZep1trj.js +0 -2
  215. package/dist/breadcrumb_setting-BbdvbC4M.js +0 -111
  216. package/dist/browser-chrome-D0rex7Ir.js +0 -2
  217. package/dist/browser-edge-KCb_AIL5.js +0 -2
  218. package/dist/browser-ie-C1znjJM-.js +0 -2
  219. package/dist/browser-other-C4er8PkV.js +0 -2
  220. package/dist/browser-safari-BPRC1TV-.js +0 -2
  221. package/dist/browserType-BGl2j5RW.js +0 -2
  222. package/dist/browserType-E4RCiZfN.js +0 -26
  223. package/dist/chunk-B3eAFu3c.js +0 -11
  224. package/dist/cloneDeep-BnvyNhik.js +0 -7
  225. package/dist/components/OrgTree/index.vue.d.ts +0 -5
  226. package/dist/configData-DQOHeFW2.js +0 -86
  227. package/dist/createAndEditDataPermission-39GKHtzB.js +0 -443
  228. package/dist/createAndEditDataPermission-BBSBwjG4.js +0 -8
  229. package/dist/data-permission-35wTSMh2.js +0 -156
  230. package/dist/dayjs.min-CdDcH50N.js +0 -297
  231. package/dist/dictionary-BOuYUlfU.js +0 -180
  232. package/dist/drawerBlackWhiteList-BZccd_CZ.js +0 -125
  233. package/dist/drawerBlackWhiteList-Bz2trn-w.js +0 -3
  234. package/dist/drawerDictionary-C2tWu1lt.js +0 -130
  235. package/dist/drawerDictionary-Cx-QoHn4.js +0 -4
  236. package/dist/drawerDictionaryItem-C4mPbQEA.js +0 -142
  237. package/dist/drawerDictionaryItem-DhwinX1a.js +0 -4
  238. package/dist/drawerGroup-BUx0cx6i.js +0 -3
  239. package/dist/drawerGroup-DFeiJOBA.js +0 -188
  240. package/dist/drawerOrganization-BEdhq7Z2.js +0 -251
  241. package/dist/drawerOrganization-ijhmuc8a.js +0 -3
  242. package/dist/drawerPosition-shL7hfwJ.js +0 -3
  243. package/dist/drawerPosition-xI2PyE2x.js +0 -170
  244. package/dist/drawerRegion-BwWGUHaY.js +0 -187
  245. package/dist/drawerRegion-Dl1qXPXz.js +0 -3
  246. package/dist/drawerRole-C1I6-hhT.js +0 -159
  247. package/dist/drawerRole-CZpTYFS3.js +0 -172
  248. package/dist/drawerRole-CgTIHRCA.js +0 -3
  249. package/dist/drawerRole-Cmrob1UJ.js +0 -5
  250. package/dist/drawerRole-D2UxgYXQ.js +0 -215
  251. package/dist/drawerRole-DynkfVMp.js +0 -6
  252. package/dist/edit-C9HH0bNg.js +0 -2
  253. package/dist/enum-B1DCzyaW.js +0 -4
  254. package/dist/enum-BMY6bmPA.js +0 -54
  255. package/dist/enum-BWzxzuim.js +0 -23
  256. package/dist/enum-CYW8g64p.js +0 -61
  257. package/dist/enum-VH4_jOj5.js +0 -4
  258. package/dist/group-DOmpCW1J.js +0 -174
  259. package/dist/group.css +0 -1
  260. package/dist/icard-FW0Ro50-.js +0 -2
  261. package/dist/icon_animation-DuNUKCIP.js +0 -2
  262. package/dist/icon_breadcrumb-DrPNYW5B.js +0 -2
  263. package/dist/icon_copyright-Di3Yr0PZ.js +0 -2
  264. package/dist/icon_jt-C4rQLl9Y.js +0 -2
  265. package/dist/icon_layout-5L9E7uN2.js +0 -2
  266. package/dist/icon_mainpage-DMKqRgmE.js +0 -2
  267. package/dist/icon_menu-Cp7-Zght.js +0 -2
  268. package/dist/icon_page_size-Dc0zqT2W.js +0 -2
  269. package/dist/icon_position_type-DH2qxQQE.js +0 -2
  270. package/dist/icon_safe_manage-DXYWl1y-.js +0 -2
  271. package/dist/icon_screen_scale-DwC6qqx2.js +0 -2
  272. package/dist/icon_system_manage-BYTldLly.js +0 -2
  273. package/dist/icon_tabbar-CxffARwI.js +0 -2
  274. package/dist/icon_toolbar-CsxnTrNJ.js +0 -2
  275. package/dist/icon_topbar-DS-oEZFA.js +0 -2
  276. package/dist/icon_watermark-DDXsHlfQ.js +0 -2
  277. package/dist/itemlist-QBWRLjTd.js +0 -157
  278. package/dist/layout_setting-BZt_X9vU.js +0 -74
  279. package/dist/layout_setting.css +0 -1
  280. package/dist/log-center-BFjZ4IE1.js +0 -2
  281. package/dist/log-hgUXTuhy.js +0 -14
  282. package/dist/loginHistoryDetail-BAYuSqvw.js +0 -78
  283. package/dist/loginHistoryDetail-DiuNa6Sv.js +0 -4
  284. package/dist/login_history-NTSjr6e5.js +0 -196
  285. package/dist/menu_setting-CkoDAYJD.js +0 -158
  286. package/dist/not-data-Bw8FlpyB.js +0 -2
  287. package/dist/not-data-OpiacaSk.js +0 -2
  288. package/dist/operateHistoryDetail-DiuqMTkN.js +0 -90
  289. package/dist/operateHistoryDetail-r30ZBNqw.js +0 -4
  290. package/dist/operate_history-CXoZlYaT.js +0 -191
  291. package/dist/org-main-D5Isevbc.js +0 -2
  292. package/dist/org-unmain-BHBqSuCz.js +0 -2
  293. package/dist/organization-DmGbwqHI.js +0 -15605
  294. package/dist/organization.css +0 -1
  295. package/dist/other_setting-BqWwlJ2u.js +0 -220
  296. package/dist/other_setting.css +0 -1
  297. package/dist/page_animation_setting-g3bkn7vf.js +0 -117
  298. package/dist/page_animation_setting.css +0 -1
  299. package/dist/page_w_setting-Db9pP86g.js +0 -69
  300. package/dist/page_w_setting.css +0 -1
  301. package/dist/position-Bq4B3_PK.js +0 -168
  302. package/dist/region-DfxAE8eK.js +0 -185
  303. package/dist/remove-DKMMsJNq.js +0 -2
  304. package/dist/resource-app-DZwdNG6F.js +0 -2
  305. package/dist/resource-btn-DPX0oM2L.js +0 -2
  306. package/dist/resource-dynamic-Cb_vjMjt.js +0 -2
  307. package/dist/resource-index-ah4NpEob.js +0 -2
  308. package/dist/resource-menu-CzWI03EU.js +0 -2
  309. package/dist/resource-micro-Ca0NS7j_.js +0 -2
  310. package/dist/resource-nonmenu-Deitjo_5.js +0 -2
  311. package/dist/resource-rP8m6eP_.js +0 -273
  312. package/dist/role-DfWw95NS.js +0 -196
  313. package/dist/role_group-B4J4RWQt.js +0 -172
  314. package/dist/routeSystem-Dg0b6mAl.js +0 -2
  315. package/dist/safe_setting-uj9p_wW0.js +0 -232
  316. package/dist/setItem-C_jx_5fd.js +0 -5
  317. package/dist/setItem-DnJuD3C0.js +0 -77
  318. package/dist/setting-manage-B3vaM0w1.js +0 -2
  319. package/dist/stores-D6JJmBEU.js +0 -2
  320. package/dist/tabbar_setting-DBPggZ6Q.js +0 -142
  321. package/dist/tenant-Dbydqvrz.js +0 -183
  322. package/dist/theme-check-mark-BK7E8lqd.js +0 -2
  323. package/dist/theme-title-aqbHq846.js +0 -2
  324. package/dist/theme_setting-3l5L7tXt.js +0 -117
  325. package/dist/theme_setting.css +0 -1
  326. package/dist/useAppAndResource-CeMCjg2v.js +0 -57
  327. package/dist/user-DQE6N5EP.js +0 -345
  328. package/dist/view-C6Eo1zRL.js +0 -2
  329. package/dist/watermark_setting.css +0 -1
  330. package/dist/zddata-fjEtQ3lZ.js +0 -2
  331. package/dist/zy_checked-DTsDCC94.js +0 -2
  332. package/dist/zy_default-BaIuMKw-.js +0 -2
  333. /package/dist/{safe_setting.css → index12.css} +0 -0
  334. /package/dist/{tabbar_setting.css → index13.css} +0 -0
  335. /package/dist/{toolbar_setting.css → index15.css} +0 -0
  336. /package/dist/{user.css → index16.css} +0 -0
  337. /package/dist/{breadcrumb_setting.css → index2.css} +0 -0
  338. /package/dist/{data-permission.css → index3.css} +0 -0
  339. /package/dist/{menu_setting.css → index7.css} +0 -0
@@ -0,0 +1,65 @@
1
+ import { b as t } from "./index.js";
2
+ function i(s) {
3
+ return t.Get("/rbac/pubDataPermissions/dataPermissionList", {});
4
+ }
5
+ function n(s, a) {
6
+ return t.Delete(
7
+ "/rbac/pubDataPermissions/delete",
8
+ {},
9
+ {
10
+ params: {
11
+ ...s
12
+ }
13
+ }
14
+ );
15
+ }
16
+ function o(s, a) {
17
+ return t.Get("/rbac/pubDataPermissions/getById", {
18
+ params: {
19
+ ...s
20
+ }
21
+ });
22
+ }
23
+ function r(s, a) {
24
+ return t.Post(
25
+ "/rbac/pubDataPermissions/getUserOrgDataPermissionList",
26
+ {},
27
+ {
28
+ params: {
29
+ ...s
30
+ }
31
+ }
32
+ );
33
+ }
34
+ function p(s, a) {
35
+ return t.Post("/rbac/pubDataPermissions/pageQuery", s, {
36
+ headers: {
37
+ "Content-Type": "application/json"
38
+ }
39
+ });
40
+ }
41
+ function b(s, a) {
42
+ return t.Post("/rbac/pubDataPermissions/save", s, {
43
+ headers: {
44
+ "Content-Type": "application/json"
45
+ },
46
+ ...a || {}
47
+ });
48
+ }
49
+ function u(s, a) {
50
+ return t.Post("/rbac/pubDataPermissions/update", s, {
51
+ headers: {
52
+ "Content-Type": "application/json"
53
+ },
54
+ ...a || {}
55
+ });
56
+ }
57
+ export {
58
+ u as a,
59
+ b,
60
+ i as c,
61
+ n as d,
62
+ r as e,
63
+ o as g,
64
+ p
65
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2020%2021'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='%234080FF'%20d='M10%203.401a7.209%207.209%200%201%200%200%2014.418%207.209%207.209%200%201%200%200-14.418'/%3e%3cpath%20stroke='%23fff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1.5'%20d='m7.364%2010.205%202.028%202.028%203.244-3.244'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2023%2024'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cg%20filter='url(%23a)'%3e%3cpath%20fill='url(%23b)'%20d='M11.473%203.504C7.353%203.504%204%206.869%204%2011.004c0%204.132%203.352%207.493%207.473%207.493.986%200%201.791-.803%201.791-1.79%200-.453-.166-.892-.436-1.162-.119-.145-.141-.224-.141-.322%200-.27.22-.49.49-.49h1.368c2.453%200%204.448-2.013%204.448-4.491-.057-3.715-3.432-6.738-7.52-6.738'%20shape-rendering='crispEdges'/%3e%3c/g%3e%3cpath%20fill='%23000'%20d='M14.543%2013.956h-1.368c-.698%200-1.266.569-1.266%201.267%200%20.297.098.55.324.821l.033.037c.137.137.222.378.222.626%200%20.559-.455%201.014-1.016%201.014-3.693%200-6.699-3.013-6.699-6.717%200-3.708%203.005-6.725%206.7-6.725%203.668%200%206.694%202.68%206.744%205.97%200%202.043-1.647%203.707-3.674%203.707'/%3e%3cpath%20fill='url(%23c)'%20d='M14.543%2013.956h-1.368c-.698%200-1.266.569-1.266%201.267%200%20.297.098.55.324.821l.033.037c.137.137.222.378.222.626%200%20.559-.455%201.014-1.016%201.014-3.693%200-6.699-3.013-6.699-6.717%200-3.708%203.005-6.725%206.7-6.725%203.668%200%206.694%202.68%206.744%205.97%200%202.043-1.647%203.707-3.674%203.707'/%3e%3cg%20filter='url(%23d)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%208.654%209.006)'/%3e%3c/g%3e%3cg%20filter='url(%23e)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%2016.654%209.006)'/%3e%3c/g%3e%3cg%20filter='url(%23f)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%2014.654%206.006)'/%3e%3c/g%3e%3cg%20filter='url(%23g)'%3e%3crect%20width='2.307'%20height='2.307'%20fill='%23fff'%20rx='1.153'%20transform='matrix(-1%200%200%201%2010.654%206.006)'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='a'%20width='22.993'%20height='22.993'%20x='0'%20y='.504'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='2'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.2%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='d'%20width='6.307'%20height='6.307'%20x='4.348'%20y='8.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='e'%20width='6.307'%20height='6.307'%20x='12.348'%20y='8.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='f'%20width='6.307'%20height='6.307'%20x='10.348'%20y='5.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='g'%20width='6.307'%20height='6.307'%20x='6.348'%20y='5.006'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20result='hardAlpha'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='1'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20values='0%200%200%200%200.0885876%200%200%200%200%200.240744%200%200%200%200%200.626988%200%200%200%200.4%200'/%3e%3cfeBlend%20in2='BackgroundImageFix'%20result='effect1_dropShadow_188_20759'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_dropShadow_188_20759'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='b'%20x1='11.497'%20x2='11.497'%20y1='3.504'%20y2='18.497'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.38'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20x1='11.495'%20x2='11.495'%20y1='4.279'%20y2='17.721'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2389AAFC'/%3e%3cstop%20offset='1'%20stop-color='%23DFEAFF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,55 @@
1
+ import "./index.js";
2
+ import { g as M, a as b } from "./ziyuanjiekou-BC65-bFK.js";
3
+ import { R as g } from "./enum-CTUzwCYG.js";
4
+ import { ref as s, computed as D } from "vue";
5
+ function P(p) {
6
+ const u = s(), r = s([]), c = s([]), t = s({}), n = s([]), o = D(() => p === g.DATA_PERMISSION);
7
+ function f() {
8
+ M().then((a) => {
9
+ if (a?.success) {
10
+ const A = (a.data ?? []).map((i) => ({ label: i.name, value: i.id }));
11
+ r.value = A;
12
+ }
13
+ });
14
+ }
15
+ async function d(a) {
16
+ const e = await b({ appId: a });
17
+ c.value = e?.data ?? [], l(c.value);
18
+ }
19
+ function l(a) {
20
+ a.forEach((e) => {
21
+ e.id && (t.value[e.id] = e.name), o.value && e.enableDataPermission === !1 && (e.disabled = !0), e.children && e.children.length && l(e.children);
22
+ });
23
+ }
24
+ function R(a) {
25
+ n.value = a;
26
+ }
27
+ function m(a) {
28
+ if (!a.length || !Object.keys(t.value).length)
29
+ return [];
30
+ n.value = a.map((e) => ({ id: e, name: t.value[e] })).filter((e) => e.name);
31
+ }
32
+ function v() {
33
+ n.value = [];
34
+ }
35
+ function h(a) {
36
+ u.value && u.value.open && u.value.open(a, c.value, t.value);
37
+ }
38
+ return {
39
+ appList: r,
40
+ resourceModelRef: u,
41
+ treeData: c,
42
+ resourceMap: t,
43
+ selectedResources: n,
44
+ isDataPermissionMode: o,
45
+ getAppList: f,
46
+ updateTreeDataAndResourceMap: d,
47
+ setSelectedResources: R,
48
+ updateSelectedResources: m,
49
+ clearSelectedResources: v,
50
+ openResourceModel: h
51
+ };
52
+ }
53
+ export {
54
+ P as u
55
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 获取字典数据
3
+ */
4
+ export declare function getDictItem(params: {
5
+ dictCode: string | string[];
6
+ }): Promise<API.DictItemVo[] | API.DictItemBatchVo[] | undefined>;
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2016%2017'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3crect%20width='3.773'%20height='1.5'%20x='13.66'%20y='14.82'%20fill='%23165DFF'%20rx='.75'%20transform='rotate(-135%2013.66%2014.82)'/%3e%3crect%20width='10.102'%20height='10.102'%20x='2.178'%20y='2.353'%20stroke='%23165DFF'%20rx='5.051'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -9,42 +9,6 @@ declare const _default: import('../../../../../../node_modules/.pnpm/vue@3.5.17_
9
9
  onSubmit?: ((...args: any[]) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, true, {
11
11
  formRef: unknown;
12
- resourceRef: import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').CreateComponentPublicInstanceWithMixins<Readonly<{
13
- open?: boolean;
14
- } & {
15
- title?: string;
16
- mode?: import('../../../components/ResourceSelector/enum').ResourceMode;
17
- }> & Readonly<{
18
- onSelect?: ((...args: any[]) => any) | undefined;
19
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
20
- }>, {
21
- open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
22
- }, {}, {}, {}, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
23
- select: (...args: any[]) => void;
24
- "update:open": (value: boolean) => void;
25
- }, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {
26
- title: string;
27
- mode: import('../../../components/ResourceSelector/enum').ResourceMode;
28
- }, false, {}, {}, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {}, any, import('../../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
29
- P: {};
30
- B: {};
31
- D: {};
32
- C: {};
33
- M: {};
34
- Defaults: {};
35
- }, Readonly<{
36
- open?: boolean;
37
- } & {
38
- title?: string;
39
- mode?: import('../../../components/ResourceSelector/enum').ResourceMode;
40
- }> & Readonly<{
41
- onSelect?: ((...args: any[]) => any) | undefined;
42
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
43
- }>, {
44
- open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
45
- }, {}, {}, {}, {
46
- title: string;
47
- mode: import('../../../components/ResourceSelector/enum').ResourceMode;
48
- }> | null;
12
+ resourceRef: unknown;
49
13
  }, any>;
50
14
  export default _default;
@@ -1517,43 +1517,7 @@ declare const _default: import('../../../../../node_modules/.pnpm/vue@3.5.17_typ
1517
1517
  submit: (...args: any[]) => void;
1518
1518
  }, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {}, true, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {
1519
1519
  formRef: unknown;
1520
- resourceRef: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').CreateComponentPublicInstanceWithMixins<Readonly<{
1521
- open?: boolean;
1522
- } & {
1523
- title?: string;
1524
- mode?: import('../../components/ResourceSelector/enum').ResourceMode;
1525
- }> & Readonly<{
1526
- onSelect?: ((...args: any[]) => any) | undefined;
1527
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
1528
- }>, {
1529
- open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
1530
- }, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
1531
- select: (...args: any[]) => void;
1532
- "update:open": (value: boolean) => void;
1533
- }, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, {
1534
- title: string;
1535
- mode: import('../../components/ResourceSelector/enum').ResourceMode;
1536
- }, false, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalComponents, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').GlobalDirectives, string, {}, any, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
1537
- P: {};
1538
- B: {};
1539
- D: {};
1540
- C: {};
1541
- M: {};
1542
- Defaults: {};
1543
- }, Readonly<{
1544
- open?: boolean;
1545
- } & {
1546
- title?: string;
1547
- mode?: import('../../components/ResourceSelector/enum').ResourceMode;
1548
- }> & Readonly<{
1549
- onSelect?: ((...args: any[]) => any) | undefined;
1550
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
1551
- }>, {
1552
- open: (ids: import('ant-design-vue/es/vc-tree/interface').Key[], tree: any[], resMap: import('../../components/ResourceSelector/hooks/useAppAndResource').StringMap<string>) => void;
1553
- }, {}, {}, {}, {
1554
- title: string;
1555
- mode: import('../../components/ResourceSelector/enum').ResourceMode;
1556
- }> | null;
1520
+ resourceRef: unknown;
1557
1521
  }, any, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, {
1558
1522
  P: {};
1559
1523
  B: {};
@@ -0,0 +1,23 @@
1
+ import { b as o } from "./index.js";
2
+ function s(t, i) {
3
+ return o.Post("/sysconfig/addOrEidtSysThemeStyleConfig", t, {
4
+ headers: {
5
+ "Content-Type": "application/json"
6
+ }
7
+ });
8
+ }
9
+ function e(t, i) {
10
+ return o.Post("/sysconfig/editSysSecurityConfig", t, {
11
+ headers: {
12
+ "Content-Type": "application/json"
13
+ }
14
+ });
15
+ }
16
+ function y(t) {
17
+ return o.Get("/sysconfig/getSysSecurityConfig", {});
18
+ }
19
+ export {
20
+ e as a,
21
+ y as g,
22
+ s as p
23
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2016%2016'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20stroke='%23165DFF'%20d='M2.839%203H13.16v3H2.84zm0%205H13.16v3H2.84z'/%3e%3cpath%20stroke='%23165DFF'%20stroke-width='.5'%20d='M2.589%2012.75H13.41v.5H2.59z'/%3e%3cpath%20stroke='%23165DFF'%20d='M2.839%203h3v3h-3zm0%205h3v3h-3z'/%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,69 @@
1
+ import { b as r } from "./index.js";
2
+ function t(e, o) {
3
+ return r.Post("/rbac/resource/addResource", e, {
4
+ headers: {
5
+ "Content-Type": "application/json"
6
+ }
7
+ });
8
+ }
9
+ function c(e) {
10
+ return r.Get("/rbac/resource/appList", {});
11
+ }
12
+ function a(e, o) {
13
+ return r.Get("/rbac/resource/getRoleListByResourceId", {
14
+ params: {
15
+ ...e
16
+ },
17
+ ...o || {}
18
+ });
19
+ }
20
+ function u(e, o) {
21
+ return r.Get("/rbac/resource/groupResourceTree", {
22
+ params: {
23
+ ...e
24
+ }
25
+ });
26
+ }
27
+ function n(e, o) {
28
+ return r.Get("/rbac/resource/info", {
29
+ params: {
30
+ ...e
31
+ }
32
+ });
33
+ }
34
+ function p(e, o) {
35
+ return r.Get("/rbac/resource/resourceDelete", {
36
+ params: {
37
+ ...e
38
+ }
39
+ });
40
+ }
41
+ function R(e, o) {
42
+ return r.Get("/rbac/resource/resourceTree", {
43
+ params: {
44
+ ...e
45
+ },
46
+ ...o || {}
47
+ });
48
+ }
49
+ function i(e, o) {
50
+ return r.Post("/rbac/resource/resourceUpdate", e, {
51
+ headers: {
52
+ "Content-Type": "application/json"
53
+ }
54
+ });
55
+ }
56
+ function b(e) {
57
+ return r.Get("/rbac/resource/tenantAddResourceTree", {});
58
+ }
59
+ export {
60
+ u as a,
61
+ R as b,
62
+ p as c,
63
+ n as d,
64
+ t as e,
65
+ a as f,
66
+ c as g,
67
+ b as h,
68
+ i as p
69
+ };
@@ -0,0 +1,28 @@
1
+ import { b as r } from "./index.js";
2
+ function t(o, e) {
3
+ return r.Get("/rbac/orgRole/getByOrgId", {
4
+ params: {
5
+ ...o
6
+ }
7
+ });
8
+ }
9
+ function n(o, e) {
10
+ return r.Post("/rbac/orgRole/roleOrgPage", o, {
11
+ headers: {
12
+ "Content-Type": "application/json"
13
+ },
14
+ ...e || {}
15
+ });
16
+ }
17
+ function g(o, e) {
18
+ return r.Post("/rbac/orgRole/saveOrgRole", o, {
19
+ headers: {
20
+ "Content-Type": "application/json"
21
+ }
22
+ });
23
+ }
24
+ export {
25
+ n as a,
26
+ t as g,
27
+ g as p
28
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2025%2024'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='%23165DFF'%20d='M12.66%202a10%2010%200%201%200%200%2020%2010%2010%200%201%200%200-20'/%3e%3cpath%20fill='url(%23a)'%20d='M17.398%208a.527.527%200%200%201%20.061%201.049l-.061.004v5.79a1.053%201.053%200%200%201-1.053%201.052h-2.413l1.206%201.207a.527.527%200%200%201-.694.788l-.05-.044-1.733-1.733-1.733%201.733a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.044-.05%201.206-1.206H8.977a1.05%201.05%200%200%201-.676-.246l-.068-.063a1.05%201.05%200%200%201-.309-.744v-5.79a.526.526%200%200%201-.061-1.048L7.924%208zm-1.053%201.053H8.976v5.79h7.37zm-.68%201.206a.53.53%200%200%201%20.043.695l-.043.05-2.105%202.105a.53.53%200%200%201-.695.044l-.05-.044-1.207-1.207-1.206%201.207a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.043-.05%201.58-1.578a.53.53%200%200%201%20.694-.044l.05.044%201.206%201.206%201.734-1.733a.526.526%200%200%201%20.744%200'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='12.661'%20x2='12.661'%20y1='8'%20y2='18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.75'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
@@ -0,0 +1,4 @@
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2025%2024'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3cpath%20fill='%2386909C'%20d='M12.66%202a10%2010%200%201%200%200%2020%2010%2010%200%201%200%200-20'/%3e%3cpath%20fill='url(%23a)'%20d='M17.398%208a.527.527%200%200%201%20.061%201.049l-.061.004v5.79a1.053%201.053%200%200%201-1.053%201.052h-2.413l1.206%201.207a.527.527%200%200%201-.694.788l-.05-.044-1.733-1.733-1.733%201.733a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.044-.05%201.206-1.206H8.977a1.05%201.05%200%200%201-.676-.246l-.068-.063a1.05%201.05%200%200%201-.309-.744v-5.79a.526.526%200%200%201-.061-1.048L7.924%208zm-1.053%201.053H8.976v5.79h7.37zm-.68%201.206a.53.53%200%200%201%20.043.695l-.043.05-2.105%202.105a.53.53%200%200%201-.695.044l-.05-.044-1.207-1.207-1.206%201.207a.53.53%200%200%201-.695.044l-.05-.044a.526.526%200%200%201-.043-.695l.043-.05%201.58-1.578a.53.53%200%200%201%20.694-.044l.05.044%201.206%201.206%201.734-1.733a.526.526%200%200%201%20.744%200'/%3e%3cdefs%3e%3clinearGradient%20id='a'%20x1='12.661'%20x2='12.661'%20y1='8'%20y2='18'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='.75'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ e as default
4
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/module-rbac",
3
3
  "type": "module",
4
- "version": "2.0.8-beta.3",
4
+ "version": "2.0.9",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "@pubinfo/pro-components": "^1.7.3",
25
25
  "alova": "^3.3.4",
26
26
  "ant-design-vue": "^4.2.6",
27
- "pubinfo": "2.0.8-beta.3"
27
+ "pubinfo": "2.0.9"
28
28
  },
29
29
  "dependencies": {
30
30
  "@destyler/color-picker": "^0.1.0",
@@ -48,7 +48,7 @@
48
48
  "alova": "^3.3.4",
49
49
  "ant-design-vue": "^4.2.6",
50
50
  "type-fest": "^4.41.0",
51
- "pubinfo": "2.0.8-beta.3"
51
+ "pubinfo": "2.0.9"
52
52
  },
53
53
  "scripts": {
54
54
  "dev": "pubinfo build -w --sourcemap",
package/src/index.ts CHANGED
@@ -46,4 +46,5 @@ export * from './components/OrgUserSelector';
46
46
  export * from './composables/useWebSocketManager';
47
47
  export * from './interface';
48
48
  export * from './stores/view';
49
+ export * from './utils/dict';
49
50
  export * from './utils/routeSystem';
@@ -0,0 +1,21 @@
1
+ import { getDictItemListBatch } from '@/api/modules/configData';
2
+
3
+ function arraify<T>(data: T | T[]) {
4
+ return Array.isArray(data) ? data : [data];
5
+ }
6
+
7
+ /**
8
+ * 获取字典数据
9
+ */
10
+ export async function getDictItem(params: { dictCode: string | string[] }) {
11
+ const dictCodes = arraify(params.dictCode);
12
+ const res = await getDictItemListBatch({ dictCode: dictCodes.join(',') });
13
+
14
+ if (res.success) {
15
+ if (dictCodes.length === 1) {
16
+ return res.data?.[0]?.dictItemList;
17
+ }
18
+
19
+ return res.data;
20
+ }
21
+ }
@@ -1,2 +0,0 @@
1
- import { b as e } from "./ComponentSelect-lvLZA7v3.js";
2
- export { e as default };