@pubinfo/module-rbac 2.0.0-beta.6 → 2.0.0-beta.8

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 (350) hide show
  1. package/{es/OrgSelector.vue_vue_type_script_setup_true_lang-DV8KkpJD.js → dist/OrgSelector.vue_vue_type_script_setup_true_lang-BcL0IFuA.js} +1 -1
  2. package/{es/_baseClone-GtUoMmZh.js → dist/_baseClone-CQ44TFeq.js} +1 -1
  3. package/{es/animation_item.vue_vue_type_script_setup_true_lang-CNTrygHf.js → dist/animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js} +1 -1
  4. package/{es/cloneDeep-DWP4OxCI.js → dist/cloneDeep-BI4WNBQ9.js} +1 -1
  5. package/{es → dist}/components/GroupSelector/index.vue.d.ts +1 -6
  6. package/dist/components/GroupSelector/interface.d.ts +6 -0
  7. package/{es → dist}/components/ResourceSelector/index.vue.d.ts +1 -3
  8. package/{es/index-BDrI8Oyk.js → dist/index-BS45K9vK.js} +1 -1
  9. package/{es/index-JFZ3GtN-.js → dist/index-Bbsiwecf.js} +5 -5
  10. package/{es/index-Bz9QeL8M.js → dist/index-BhcAk-IH.js} +14 -14
  11. package/{es/index-gHIfcbvd.js → dist/index-BleenJqT.js} +1 -1
  12. package/{es/index-CYt7363u.js → dist/index-CLSeuhTv.js} +217 -219
  13. package/{es/index-CgiGLpzT.js → dist/index-CLxqmFPw.js} +1 -1
  14. package/{es/index-BIfx_Xrr.js → dist/index-CTiFd9M0.js} +1 -1
  15. package/{es/index-CBMCWEIQ.js → dist/index-Cej8u1qo.js} +1 -1
  16. package/{es/index-kFyBHYs8.js → dist/index-Cr17VOfm.js} +1 -1
  17. package/{es/index-F-kmM1iD.js → dist/index-D0yB_8b0.js} +1 -1
  18. package/{es/index-Gw-_3-qN.js → dist/index-DFR8dd2B.js} +4 -4
  19. package/{es/index-BsoyF96V.js → dist/index-DNf0NPrD.js} +1 -1
  20. package/dist/index-Dm4sOX43.js +27 -0
  21. package/{es/index-CDHVSKIo.js → dist/index-KboUdpTh.js} +3 -3
  22. package/{es/index-DcvR6q4y.js → dist/index-MtXfNGqS.js} +22 -22
  23. package/{es/index-gCLgMcJu.js → dist/index-U8kjKY6p.js} +2 -2
  24. package/{es/index-uSBZoA3n.js → dist/index-UZeQsp70.js} +1 -1
  25. package/{es/index-U-g1yyH-.js → dist/index-a0E9oj3q.js} +2 -2
  26. package/{es/index-C2dINi50.js → dist/index-gmUZUdNl.js} +2 -2
  27. package/{es/index-DY1mOFzi.js → dist/index-j_ln_NSt.js} +1 -1
  28. package/{es/index-Dvq9O5uC.js → dist/index-s32GbmsJ.js} +1 -1
  29. package/{es/index-DuVeXn9R.js → dist/index-yEpViVkx.js} +1 -1
  30. package/{es/index-D5T_4btx.js → dist/index-zh8PZXw2.js} +4 -4
  31. package/{es → dist}/index.js +1 -1
  32. package/{es/itemlist-BRhA5jzY.js → dist/itemlist-xAbIKRVj.js} +1 -1
  33. package/{es/setItem-C1_olVDY.js → dist/setItem-DkOvmWXP.js} +1 -1
  34. package/{es → dist}/style.css +1 -1
  35. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +172 -0
  36. package/{es/views/user → dist/views/data-permission}/index.vue.d.ts +161 -56
  37. package/{lib/views/role_group → dist/views/role}/components/drawerRole.vue.d.ts +17 -5
  38. package/dist/views/role/index.vue.d.ts +3090 -0
  39. package/{lib/views/organization/components/drawerRole.vue.d.ts → dist/views/tenant/components/TenantEdit.vue.d.ts} +20 -6
  40. package/{lib/views/dictionary → dist/views/tenant}/enum.d.ts +0 -1
  41. package/{lib/views/role_group → dist/views/tenant}/index.vue.d.ts +39 -26
  42. package/dist/views/user/components/OrgAndPosition.vue.d.ts +14 -0
  43. package/{es → dist}/views/user/interface.d.ts +1 -2
  44. package/package.json +13 -15
  45. package/src/components/GroupSelector/index.vue +1 -7
  46. package/src/components/GroupSelector/interface.ts +6 -0
  47. package/src/components/ResourceSelector/index.vue +1 -2
  48. package/src/index.ts +1 -1
  49. package/src/views/tenant/components/TenantEdit.vue +1 -8
  50. package/src/views/tenant/enum.ts +7 -0
  51. package/src/views/tenant/index.vue +1 -8
  52. package/src/views/user/interface.ts +1 -1
  53. package/es/index-C7QJHUwa.js +0 -30
  54. package/es/views/dictionary/itemlist.vue.d.ts +0 -1532
  55. package/es/views/group/index.vue.d.ts +0 -1532
  56. package/es/views/log_center/operate_history.vue.d.ts +0 -1511
  57. package/es/views/region/index.vue.d.ts +0 -1533
  58. package/es/views/role/components/ResourceRelation.vue.d.ts +0 -1515
  59. package/lib/OrgSelector.vue_vue_type_script_setup_true_lang-BI6dIQO9.cjs +0 -1
  60. package/lib/_baseClone-bvg2h-nB.cjs +0 -1
  61. package/lib/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  62. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  63. package/lib/animation_item.vue_vue_type_script_setup_true_lang-DJntALjR.cjs +0 -9
  64. package/lib/api/modules/assist/gonggaofuwu.d.ts +0 -43
  65. package/lib/api/modules/assist/index.d.ts +0 -3
  66. package/lib/api/modules/assist/qunzujiekou.d.ts +0 -36
  67. package/lib/api/modules/assist/quyujiekou.d.ts +0 -36
  68. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  69. package/lib/api/modules/configData/index.d.ts +0 -3
  70. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  71. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -57
  72. package/lib/api/modules/log/caozuorizhifuwu.d.ts +0 -15
  73. package/lib/api/modules/log/denglurizhifuwu.d.ts +0 -15
  74. package/lib/api/modules/log/index.d.ts +0 -2
  75. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -36
  76. package/lib/api/modules/rbac/index.d.ts +0 -11
  77. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  78. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  79. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  80. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -85
  81. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  82. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  83. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  84. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  85. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  86. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  87. package/lib/api/request.d.ts +0 -1
  88. package/lib/browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs +0 -1
  89. package/lib/cloneDeep-DKvAzXJU.cjs +0 -1
  90. package/lib/components/GroupSelector/index.vue.d.ts +0 -20
  91. package/lib/components/OrgTree/index.vue.d.ts +0 -5
  92. package/lib/components/OrgUserSelector/OrgSelector.vue.d.ts +0 -68
  93. package/lib/components/OrgUserSelector/UserSelector.vue.d.ts +0 -72
  94. package/lib/components/OrgUserSelector/index.d.ts +0 -8
  95. package/lib/components/OrgUserSelector/provider.d.ts +0 -24
  96. package/lib/components/ResourceSelector/enum.d.ts +0 -5
  97. package/lib/components/ResourceSelector/hooks/useAppAndResource.d.ts +0 -29
  98. package/lib/components/ResourceSelector/index.vue.d.ts +0 -26
  99. package/lib/composables/useLottie.d.ts +0 -11
  100. package/lib/enum-B-paw5p0.cjs +0 -1
  101. package/lib/enum-BFYGJ2YJ.cjs +0 -1
  102. package/lib/enum-BHDP2ejy.cjs +0 -1
  103. package/lib/enum-OwSMnw51.cjs +0 -1
  104. package/lib/gangweijiekou-DYYmkjys.cjs +0 -1
  105. package/lib/index-Apq1nfrg.cjs +0 -1
  106. package/lib/index-BOdrElTX.cjs +0 -1
  107. package/lib/index-BdQKw1uE.cjs +0 -1
  108. package/lib/index-BwkSE-Zz.cjs +0 -1
  109. package/lib/index-Bx53OKE6.cjs +0 -1
  110. package/lib/index-C151ukdL.cjs +0 -1
  111. package/lib/index-C3m3S7_Q.cjs +0 -1
  112. package/lib/index-CMf8N2mC.cjs +0 -1
  113. package/lib/index-CNtyqLTX.cjs +0 -1
  114. package/lib/index-Cm5xLy57.cjs +0 -9
  115. package/lib/index-D1vGtVqY.cjs +0 -1
  116. package/lib/index-D2gE9FFs.cjs +0 -1
  117. package/lib/index-D34uPnyD.cjs +0 -1
  118. package/lib/index-D7Awj4JU.cjs +0 -1
  119. package/lib/index-D9QyS2NB.cjs +0 -1
  120. package/lib/index-D9dMBtdM.cjs +0 -1
  121. package/lib/index-DBzHTy7k.cjs +0 -1
  122. package/lib/index-DG9uEqRG.cjs +0 -1
  123. package/lib/index-DQ8p9Bwg.cjs +0 -1
  124. package/lib/index-DUagbQoK.cjs +0 -1
  125. package/lib/index-D_APeiaQ.cjs +0 -1
  126. package/lib/index-DoCoA6Nr.cjs +0 -1
  127. package/lib/index-Dv-KtCh8.cjs +0 -1
  128. package/lib/index-F735VVe_.cjs +0 -1
  129. package/lib/index-Jc3VoxhA.cjs +0 -1
  130. package/lib/index-n5tzubbZ.cjs +0 -1
  131. package/lib/index.cjs +0 -1
  132. package/lib/index.d.ts +0 -7
  133. package/lib/interface.d.ts +0 -47
  134. package/lib/itemlist-BEyAbkw5.cjs +0 -1
  135. package/lib/jiaosejiekou-BNn96VFQ.cjs +0 -1
  136. package/lib/login_history-C25qj8eL.cjs +0 -1
  137. package/lib/operate_history-Bmg66_WI.cjs +0 -1
  138. package/lib/pubJiaosezukongzhiqi-fVUoXj6y.cjs +0 -1
  139. package/lib/request-DML6P6cf.cjs +0 -1
  140. package/lib/routes/index.d.ts +0 -14
  141. package/lib/routes/modules/authority.manage.menu.d.ts +0 -3
  142. package/lib/routes/modules/log.manage.menu.d.ts +0 -3
  143. package/lib/routes/modules/safe.manage.menu.d.ts +0 -3
  144. package/lib/routes/modules/stylesetting.manage.menu.d.ts +0 -3
  145. package/lib/routes/modules/system.manage.menu.d.ts +0 -3
  146. package/lib/setItem-DIzkZHtI.cjs +0 -1
  147. package/lib/shujuquanxianzhubiaokongzhiqi-C6sd8pC3.cjs +0 -1
  148. package/lib/stores/index.d.ts +0 -1
  149. package/lib/style.css +0 -1
  150. package/lib/useAppAndResource-ChvKK2DZ.cjs +0 -1
  151. package/lib/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +0 -14
  152. package/lib/views/blackWhiteList/enum.d.ts +0 -7
  153. package/lib/views/blackWhiteList/index.vue.d.ts +0 -1535
  154. package/lib/views/blackWhiteList/types.d.ts +0 -4
  155. package/lib/views/breadcrumb_setting/animationData.d.ts +0 -7
  156. package/lib/views/breadcrumb_setting/index.vue.d.ts +0 -2
  157. package/lib/views/components/HCheckList.vue.d.ts +0 -20
  158. package/lib/views/components/animation_item.vue.d.ts +0 -14
  159. package/lib/views/components/setItem.vue.d.ts +0 -61
  160. package/lib/views/data-permission/enum.d.ts +0 -34
  161. package/lib/views/dictionary/components/drawerDictionary.vue.d.ts +0 -12
  162. package/lib/views/dictionary/components/drawerDictionaryItem.vue.d.ts +0 -12
  163. package/lib/views/dictionary/index.vue.d.ts +0 -1532
  164. package/lib/views/group/components/drawerGroup.vue.d.ts +0 -12
  165. package/lib/views/group/enum.d.ts +0 -21
  166. package/lib/views/layout_setting/index.vue.d.ts +0 -2
  167. package/lib/views/log_center/components/browserType.vue.d.ts +0 -12
  168. package/lib/views/log_center/components/loginHistoryDetail.vue.d.ts +0 -14
  169. package/lib/views/log_center/components/operateHistoryDetail.vue.d.ts +0 -14
  170. package/lib/views/log_center/login_history.vue.d.ts +0 -1511
  171. package/lib/views/menu_setting/animationData.d.ts +0 -13
  172. package/lib/views/menu_setting/index.vue.d.ts +0 -2
  173. package/lib/views/organization/components/drawerOrganization.vue.d.ts +0 -12
  174. package/lib/views/organization/components/roleSelect.vue.d.ts +0 -14
  175. package/lib/views/organization/enum.d.ts +0 -25
  176. package/lib/views/organization/index.vue.d.ts +0 -73
  177. package/lib/views/other_setting/animationData.d.ts +0 -7
  178. package/lib/views/other_setting/index.vue.d.ts +0 -2
  179. package/lib/views/other_setting/interface.d.ts +0 -23
  180. package/lib/views/page_animation_setting/animationData.d.ts +0 -11
  181. package/lib/views/page_animation_setting/index.vue.d.ts +0 -2
  182. package/lib/views/page_w_setting/index.vue.d.ts +0 -2
  183. package/lib/views/position/components/drawerPosition.vue.d.ts +0 -12
  184. package/lib/views/position/enum.d.ts +0 -8
  185. package/lib/views/position/index.vue.d.ts +0 -1532
  186. package/lib/views/region/components/drawerRegion.vue.d.ts +0 -12
  187. package/lib/views/region/enum.d.ts +0 -22
  188. package/lib/views/resource/components/ResourceEdit.vue.d.ts +0 -16
  189. package/lib/views/resource/components/RoleRelation.vue.d.ts +0 -6
  190. package/lib/views/resource/enum.d.ts +0 -30
  191. package/lib/views/resource/index.vue.d.ts +0 -1549
  192. package/lib/views/resource/interface.d.ts +0 -6
  193. package/lib/views/role/enum.d.ts +0 -25
  194. package/lib/views/role/interface.d.ts +0 -6
  195. package/lib/views/role_group/components/roleSelect.vue.d.ts +0 -14
  196. package/lib/views/role_group/enum.d.ts +0 -21
  197. package/lib/views/role_group/interface.d.ts +0 -6
  198. package/lib/views/safe_setting/index.vue.d.ts +0 -4
  199. package/lib/views/tabbar_setting/animationData.d.ts +0 -11
  200. package/lib/views/tabbar_setting/index.vue.d.ts +0 -2
  201. package/lib/views/tenant/interface.d.ts +0 -6
  202. package/lib/views/theme_setting/index.vue.d.ts +0 -2
  203. package/lib/views/toolbar_setting/animationData.d.ts +0 -17
  204. package/lib/views/toolbar_setting/index.vue.d.ts +0 -2
  205. package/lib/views/user/components/UserAuthorization.vue.d.ts +0 -39
  206. package/lib/views/user/components/UserEdit.vue.d.ts +0 -16
  207. package/lib/views/user/components/roleSelect.vue.d.ts +0 -14
  208. package/lib/views/user/enum.d.ts +0 -13
  209. package/lib/views/user/interface.d.ts +0 -40
  210. package/lib/views/watermark_setting/animationData.d.ts +0 -3
  211. package/lib/views/watermark_setting/index.vue.d.ts +0 -31
  212. package/lib/xitongpeizhifuwu-r-I2Ogxj.cjs +0 -1
  213. package/lib/zidianfuwu-VChcnkm9.cjs +0 -1
  214. package/lib/ziyuanjiekou-CvKeunY5.cjs +0 -1
  215. package/lib/zuzhijiaosebiaokongzhiqi-DYI3Zu-M.cjs +0 -1
  216. package/lib/zuzhijiekou-CFQtYuGW.cjs +0 -1
  217. package/{es → dist}/_commonjsHelpers-C6fGbg64.js +0 -0
  218. package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  219. package/{es → dist}/api/modules/assist/gonggaofuwu.d.ts +0 -0
  220. package/{es → dist}/api/modules/assist/index.d.ts +0 -0
  221. package/{es → dist}/api/modules/assist/qunzujiekou.d.ts +0 -0
  222. package/{es → dist}/api/modules/assist/quyujiekou.d.ts +0 -0
  223. package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  224. package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  225. package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  226. package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  227. package/{es → dist}/api/modules/log/caozuorizhifuwu.d.ts +0 -0
  228. package/{es → dist}/api/modules/log/denglurizhifuwu.d.ts +0 -0
  229. package/{es → dist}/api/modules/log/index.d.ts +0 -0
  230. package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  231. package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  232. package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  233. package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  234. package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  235. package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  236. package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  237. package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  238. package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  239. package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  240. package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  241. package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  242. package/{es → dist}/api/request.d.ts +0 -0
  243. package/{es → dist}/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -0
  244. package/{es → dist}/components/OrgTree/index.vue.d.ts +0 -0
  245. package/{es → dist}/components/OrgUserSelector/OrgSelector.vue.d.ts +0 -0
  246. package/{es → dist}/components/OrgUserSelector/UserSelector.vue.d.ts +0 -0
  247. package/{es → dist}/components/OrgUserSelector/index.d.ts +0 -0
  248. package/{es → dist}/components/OrgUserSelector/provider.d.ts +0 -0
  249. package/{es → dist}/components/ResourceSelector/enum.d.ts +0 -0
  250. package/{es → dist}/components/ResourceSelector/hooks/useAppAndResource.d.ts +0 -0
  251. package/{es → dist}/composables/useLottie.d.ts +0 -0
  252. package/{es → dist}/enum-BEHz_Q18.js +0 -0
  253. package/{es → dist}/enum-C9ihxJe7.js +0 -0
  254. package/{es → dist}/enum-CTUzwCYG.js +0 -0
  255. package/{es → dist}/enum-DDKThkSw.js +0 -0
  256. package/{es → dist}/gangweijiekou-BxJq_m0o.js +0 -0
  257. package/{es → dist}/index-Bl4v-7On.js +0 -0
  258. package/{es → dist}/index-CFPhIFyG.js +0 -0
  259. package/{es → dist}/index-CsHj-xDw.js +0 -0
  260. package/{es → dist}/index.d.ts +0 -0
  261. package/{es → dist}/interface.d.ts +0 -0
  262. package/{es → dist}/jiaosejiekou-BfY4h7uI.js +0 -0
  263. package/{es → dist}/login_history-CuQv9Iw3.js +0 -0
  264. package/{es → dist}/operate_history-CGP-1Xy2.js +0 -0
  265. package/{es → dist}/pubJiaosezukongzhiqi-CvYfc8Uz.js +0 -0
  266. package/{es → dist}/request-DQLgc7lT.js +0 -0
  267. package/{es → dist}/routes/index.d.ts +0 -0
  268. package/{es → dist}/routes/modules/authority.manage.menu.d.ts +0 -0
  269. package/{es → dist}/routes/modules/log.manage.menu.d.ts +0 -0
  270. package/{es → dist}/routes/modules/safe.manage.menu.d.ts +0 -0
  271. package/{es → dist}/routes/modules/stylesetting.manage.menu.d.ts +0 -0
  272. package/{es → dist}/routes/modules/system.manage.menu.d.ts +0 -0
  273. package/{es → dist}/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +0 -0
  274. package/{es → dist}/stores/index.d.ts +0 -0
  275. package/{es → dist}/useAppAndResource-D_b19V4t.js +0 -0
  276. package/{es → dist}/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +0 -0
  277. package/{es → dist}/views/blackWhiteList/enum.d.ts +0 -0
  278. package/{es → dist}/views/blackWhiteList/index.vue.d.ts +18 -18
  279. package/{es → dist}/views/blackWhiteList/types.d.ts +0 -0
  280. package/{es → dist}/views/breadcrumb_setting/animationData.d.ts +0 -0
  281. package/{es → dist}/views/breadcrumb_setting/index.vue.d.ts +0 -0
  282. package/{es → dist}/views/components/HCheckList.vue.d.ts +0 -0
  283. package/{es → dist}/views/components/animation_item.vue.d.ts +0 -0
  284. package/{es → dist}/views/components/setItem.vue.d.ts +0 -0
  285. package/{es → dist}/views/data-permission/enum.d.ts +0 -0
  286. package/{es → dist}/views/dictionary/components/drawerDictionary.vue.d.ts +0 -0
  287. package/{es → dist}/views/dictionary/components/drawerDictionaryItem.vue.d.ts +0 -0
  288. package/{es → dist}/views/dictionary/enum.d.ts +0 -0
  289. package/{es → dist}/views/dictionary/index.vue.d.ts +18 -18
  290. package/{lib → dist}/views/dictionary/itemlist.vue.d.ts +18 -18
  291. package/{es → dist}/views/group/components/drawerGroup.vue.d.ts +0 -0
  292. package/{es → dist}/views/group/enum.d.ts +0 -0
  293. package/{lib → dist}/views/group/index.vue.d.ts +18 -18
  294. package/{es → dist}/views/layout_setting/index.vue.d.ts +0 -0
  295. package/{es → dist}/views/log_center/components/browserType.vue.d.ts +0 -0
  296. package/{es → dist}/views/log_center/components/loginHistoryDetail.vue.d.ts +0 -0
  297. package/{es → dist}/views/log_center/components/operateHistoryDetail.vue.d.ts +0 -0
  298. package/{es → dist}/views/log_center/login_history.vue.d.ts +18 -18
  299. package/{lib → dist}/views/log_center/operate_history.vue.d.ts +18 -18
  300. package/{es → dist}/views/menu_setting/animationData.d.ts +0 -0
  301. package/{es → dist}/views/menu_setting/index.vue.d.ts +0 -0
  302. package/{es → dist}/views/organization/components/drawerOrganization.vue.d.ts +0 -0
  303. package/{es → dist}/views/organization/components/drawerRole.vue.d.ts +0 -0
  304. package/{es → dist}/views/organization/components/roleSelect.vue.d.ts +0 -0
  305. package/{es → dist}/views/organization/enum.d.ts +0 -0
  306. package/{es → dist}/views/organization/index.vue.d.ts +0 -0
  307. package/{es → dist}/views/other_setting/animationData.d.ts +0 -0
  308. package/{es → dist}/views/other_setting/index.vue.d.ts +0 -0
  309. package/{es → dist}/views/other_setting/interface.d.ts +0 -0
  310. package/{es → dist}/views/page_animation_setting/animationData.d.ts +0 -0
  311. package/{es → dist}/views/page_animation_setting/index.vue.d.ts +0 -0
  312. package/{es → dist}/views/page_w_setting/index.vue.d.ts +0 -0
  313. package/{es → dist}/views/position/components/drawerPosition.vue.d.ts +0 -0
  314. package/{es → dist}/views/position/enum.d.ts +0 -0
  315. package/{es → dist}/views/position/index.vue.d.ts +18 -18
  316. package/{es → dist}/views/region/components/drawerRegion.vue.d.ts +0 -0
  317. package/{es → dist}/views/region/enum.d.ts +0 -0
  318. package/{lib → dist}/views/region/index.vue.d.ts +18 -18
  319. package/{es → dist}/views/resource/components/ResourceEdit.vue.d.ts +0 -0
  320. package/{es → dist}/views/resource/components/RoleRelation.vue.d.ts +0 -0
  321. package/{es → dist}/views/resource/enum.d.ts +0 -0
  322. package/{es → dist}/views/resource/index.vue.d.ts +18 -18
  323. package/{es → dist}/views/resource/interface.d.ts +0 -0
  324. package/{lib → dist}/views/role/components/ResourceRelation.vue.d.ts +18 -18
  325. package/{es → dist}/views/role/enum.d.ts +0 -0
  326. package/{es → dist}/views/role/interface.d.ts +0 -0
  327. package/{es → dist}/views/role_group/components/drawerRole.vue.d.ts +0 -0
  328. package/{es → dist}/views/role_group/components/roleSelect.vue.d.ts +0 -0
  329. package/{es → dist}/views/role_group/enum.d.ts +0 -0
  330. package/{es → dist}/views/role_group/index.vue.d.ts +18 -18
  331. package/{es → dist}/views/role_group/interface.d.ts +0 -0
  332. package/{es → dist}/views/safe_setting/index.vue.d.ts +0 -0
  333. package/{es → dist}/views/tabbar_setting/animationData.d.ts +0 -0
  334. package/{es → dist}/views/tabbar_setting/index.vue.d.ts +0 -0
  335. package/{es → dist}/views/tenant/interface.d.ts +0 -0
  336. package/{es → dist}/views/theme_setting/index.vue.d.ts +0 -0
  337. package/{es → dist}/views/toolbar_setting/animationData.d.ts +0 -0
  338. package/{es → dist}/views/toolbar_setting/index.vue.d.ts +0 -0
  339. package/{es → dist}/views/user/components/UserAuthorization.vue.d.ts +0 -0
  340. package/{es → dist}/views/user/components/UserEdit.vue.d.ts +0 -0
  341. package/{es → dist}/views/user/components/roleSelect.vue.d.ts +0 -0
  342. package/{es → dist}/views/user/enum.d.ts +0 -0
  343. package/{lib → dist}/views/user/index.vue.d.ts +18 -18
  344. /package/{es → dist}/views/watermark_setting/animationData.d.ts +0 -0
  345. /package/{es → dist}/views/watermark_setting/index.vue.d.ts +0 -0
  346. /package/{es → dist}/xitongpeizhifuwu-C1Vm-W1B.js +0 -0
  347. /package/{es → dist}/zidianfuwu-yCWHhOfO.js +0 -0
  348. /package/{es → dist}/ziyuanjiekou-DhrAbneq.js +0 -0
  349. /package/{es → dist}/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +0 -0
  350. /package/{es → dist}/zuzhijiekou-PeZuFtCO.js +0 -0
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("ant-design-vue/es"),U=require("@ant-design/icons-vue"),e=require("vue");require("./request-DML6P6cf.cjs");const T=require("./ziyuanjiekou-CvKeunY5.cjs"),X=require("@pubinfo/pro-components"),w=require("ant-design-vue"),R=require("pubinfo"),q=require("./enum-B-paw5p0.cjs"),S=require("./index-BOdrElTX.cjs"),L=require("./cloneDeep-DKvAzXJU.cjs"),J=require("alova/client");var i=(c=>(c.ROLE_RELATION="分配查看",c.ADD="新建",c.ADD_CHILD="新建下级",c.EDIT="修改",c.REMOVE="删除",c))(i||{}),m=(c=>(c.APP="1",c.INDEX="2",c.MENU="3",c.BUTTON="4",c.NON_MENU="5",c))(m||{});const P=[{label:"应用",value:"1"},{label:"目录",value:"2"},{label:"菜单",value:"3"},{label:"按钮",value:"4"},{label:"非菜单页",value:"5"}],K=e.defineComponent({name:"ResourceEdit",__name:"ResourceEdit",props:{dataSource:{}},emits:["submit"],setup(c,{expose:I,emit:B}){const N=c,y=B,[D,h]=S.useToggle(!1),V=e.ref(),n=e.ref({}),v=e.reactive({title:"",record:{},initData:{type:m.APP,sort:0,enable:!0,enableDataPermission:!1,dataPermissionType:q.DATA_PERMISSION_TYPE.ALL}}),b={name:[{required:!0,message:"请输入资源名称",trigger:"blur"}],type:[{required:!0,message:"请选择资源类型",trigger:"change"}],code:[{required:!0,message:"请输入资源编码",trigger:"blur"}],sort:[{type:"number",required:!0,message:"请输入排序",trigger:"blur"}],enable:[{type:"boolean",required:!0,message:"请选择是否启用",trigger:"change"}]},a=e.computed(()=>r(N.dataSource,o=>o.id===n.value.parentId));function r(o,t){const x=[...o];for(const u of x){if(t(u))return u;u.children&&x.push(...u.children)}return null}const l=e.computed(()=>{var o;switch((o=a.value)==null?void 0:o.type){case m.APP:case m.INDEX:return P.filter(t=>t.value!==m.APP);case m.MENU:case m.NON_MENU:return P.filter(t=>t.value===m.BUTTON||t.value===m.NON_MENU);case m.BUTTON:return[];default:return P.filter(t=>t.value===m.APP)}}),d=e.computed(()=>n.value.type===m.BUTTON||n.value.type===m.MENU||n.value.type===m.NON_MENU);async function k(o,t){if(v.title=o,n.value=L.cloneDeep(v.initData),h(!0),o===i.ADD_CHILD&&(n.value.parentId=t==null?void 0:t.id,n.value.type=l.value[0].value),o===i.EDIT){const x=await T.getRbacResourceInfo({id:t==null?void 0:t.id});x.success&&(n.value=x.data??{})}}const[_,g]=S.useToggle(!1);function f(){var o;(o=V.value)==null||o.validate().then(()=>{const t={...n.value};d.value||(t.enableDataPermission=!1);const x=v.title===i.EDIT?T.postRbacResourceResourceUpdate(t):T.postRbacResourceAddResource({parentId:"",...t});g(!0),x.then(u=>{u!=null&&u.success&&(w.message.success(`${v.title}成功!`),h(!1),y("submit"))}).finally(()=>g(!1))})}return I({open:k}),(o,t)=>{const x=U.DatabaseOutlined,u=p.FormItem,E=p.Input,M=p.RadioGroup,$=p.InputNumber,O=p.Switch,H=p.Textarea,z=p.Select,F=p.Form,A=p.Button,j=p.Space,G=p.Drawer;return e.openBlock(),e.createBlock(G,{open:e.unref(D),"onUpdate:open":t[11]||(t[11]=C=>e.isRef(D)?D.value=C:null),title:e.unref(v).title,placement:"right",width:520,"destroy-on-close":"","footer-style":{textAlign:"right"}},{footer:e.withCtx(()=>[e.createVNode(j,null,{default:e.withCtx(()=>[e.createVNode(A,{onClick:t[9]||(t[9]=C=>e.unref(h)(!1))},{default:e.withCtx(()=>t[13]||(t[13]=[e.createTextVNode(" 取消 ")])),_:1}),e.createVNode(A,{type:"primary",loading:e.unref(_),onClick:t[10]||(t[10]=C=>f())},{default:e.withCtx(()=>t[14]||(t[14]=[e.createTextVNode(" 提交 ")])),_:1},8,["loading"])]),_:1})]),default:e.withCtx(()=>[e.createVNode(F,{ref_key:"formRef",ref:V,model:e.unref(n),rules:b,"label-col":{span:6}},{default:e.withCtx(()=>{var C;return[(C=e.unref(a))!=null&&C.name?(e.openBlock(),e.createBlock(u,{key:0,name:"parentId"},{label:e.withCtx(()=>[e.createVNode(x,{class:"mr-1"}),t[12]||(t[12]=e.createTextVNode(" 父资源 "))]),default:e.withCtx(()=>{var s;return[e.createTextVNode(" "+e.toDisplayString((s=e.unref(a))==null?void 0:s.name),1)]}),_:1})):e.createCommentVNode("v-if",!0),e.createVNode(u,{label:"资源名称",name:"name"},{default:e.withCtx(()=>[e.createVNode(E,{value:e.unref(n).name,"onUpdate:value":t[0]||(t[0]=s=>e.unref(n).name=s),placeholder:"请输入资源名称",maxlength:128},null,8,["value"])]),_:1}),e.createVNode(u,{label:"资源类型",name:"type"},{default:e.withCtx(()=>[e.createVNode(M,{value:e.unref(n).type,"onUpdate:value":t[1]||(t[1]=s=>e.unref(n).type=s),options:e.unref(l),"option-type":"button","button-style":"solid"},null,8,["value","options"])]),_:1}),e.createVNode(u,{label:"资源编码",name:"code"},{default:e.withCtx(()=>[e.createVNode(E,{value:e.unref(n).code,"onUpdate:value":t[2]||(t[2]=s=>e.unref(n).code=s),placeholder:"请输入资源编码",maxlength:50},null,8,["value"])]),_:1}),e.createVNode(u,{label:"显示顺序",name:"sort"},{default:e.withCtx(()=>[e.createVNode($,{value:e.unref(n).sort,"onUpdate:value":t[3]||(t[3]=s=>e.unref(n).sort=s),max:999},null,8,["value"])]),_:1}),e.createVNode(u,{label:"是否启用",name:"enable"},{default:e.withCtx(()=>[e.createVNode(O,{checked:e.unref(n).enable,"onUpdate:checked":t[4]||(t[4]=s=>e.unref(n).enable=s)},null,8,["checked"])]),_:1}),e.createVNode(u,{label:"权限标识",name:"permissionCode"},{default:e.withCtx(()=>[e.createVNode(E,{value:e.unref(n).permissionCode,"onUpdate:value":t[5]||(t[5]=s=>e.unref(n).permissionCode=s),placeholder:"请输入权限标识",maxlength:128},null,8,["value"])]),_:1}),e.createVNode(u,{label:"描述",name:"description"},{default:e.withCtx(()=>[e.createVNode(H,{value:e.unref(n).description,"onUpdate:value":t[6]||(t[6]=s=>e.unref(n).description=s),placeholder:"请输入描述",maxlength:255,"auto-size":{minRows:2},"show-count":""},null,8,["value"])]),_:1}),e.unref(d)?(e.openBlock(),e.createBlock(u,{key:1,label:"启用数据权限",name:"enableDataPermission"},{default:e.withCtx(()=>[e.createVNode(O,{checked:e.unref(n).enableDataPermission,"onUpdate:checked":t[7]||(t[7]=s=>e.unref(n).enableDataPermission=s)},null,8,["checked"])]),_:1})):e.createCommentVNode("v-if",!0),e.unref(d)&&e.unref(n).enableDataPermission?(e.openBlock(),e.createBlock(u,{key:2,label:"数据权限规则",name:"dataPermissionType"},{default:e.withCtx(()=>[e.createVNode(z,{value:e.unref(n).dataPermissionType,"onUpdate:value":t[8]||(t[8]=s=>e.unref(n).dataPermissionType=s),options:e.unref(q.dataPermissionOptions)},null,8,["value","options"])]),_:1})):e.createCommentVNode("v-if",!0)]}),_:1},8,["model"])]),_:1},8,["open","title"])}}}),Q={key:0,class:"w-full truncate space-x-2"},W=e.defineComponent({name:"RoleRelation",__name:"RoleRelation",setup(c,{expose:I}){const{token:B}=w.theme.useToken(),[N,y]=S.useToggle(!1),{loading:D,data:h,send:V}=J.useRequest(l=>T.getRbacResourceGetRoleListByResourceId(l,{transform(d){return d.data??[]}}),{immediate:!1}),n=[{title:"角色名称",dataIndex:"name",ellipsis:!0},{title:"创建人",dataIndex:"createUserName",width:180,ellipsis:!0}];function v(l){y(!0),V({id:l.id}),r()}const b=e.computed(()=>window.innerHeight-57-48-55-64);function a(){e.nextTick(()=>{var d;const l=(d=document.querySelector(".role-relation"))==null?void 0:d.querySelector(".ant-table-body");l&&(l.style.height=`${b.value}px`)})}function r(){e.nextTick(a)}return I({open:v}),(l,d)=>{const k=p.Avatar,_=p.Table,g=p.Drawer;return e.openBlock(),e.createBlock(g,{open:e.unref(N),"onUpdate:open":d[0]||(d[0]=f=>e.isRef(N)?N.value=f:null),title:"分配查看",placement:"right",width:520,"footer-style":{textAlign:"right"}},{default:e.withCtx(()=>[e.createVNode(_,{"row-key":"id",loading:e.unref(D),columns:n,"data-source":e.unref(h),scroll:{y:`${e.unref(b)}px`},pagination:{defaultPageSize:20,showSizeChanger:!0},class:"role-relation"},{bodyCell:e.withCtx(({column:f,text:o})=>[f.dataIndex==="name"?(e.openBlock(),e.createElementBlock("div",Q,[e.createVNode(k,{size:"small",style:e.normalizeStyle({backgroundColor:e.unref(B).colorPrimary})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o[0]),1)]),_:2},1032,["style"]),e.createElementVNode("span",null,e.toDisplayString(o),1)])):e.createCommentVNode("v-if",!0)]),_:1},8,["loading","data-source","scroll"])]),_:1},8,["open"])}}}),Z={"w-full":"","h-full":"","py-10px":"","px-10px":""},Y=["onClick"],ee=["onClick"],te=["onClick"],ne=["onClick"],ae=e.defineComponent({name:"Resource",__name:"index",setup(c){const{auth:I}=R.useAuth(),B=[{valueType:"a-input",width:200,title:"资源名称",dataIndex:"name",ellipsis:!0,fieldProps:{placeholder:"请输入资源名称",allowClear:!0}},{valueType:"a-input",title:"资源编码",dataIndex:"code",ellipsis:!0,fieldProps:{placeholder:"请输入资源编码",allowClear:!0}},{valueType:"a-select",title:"资源类型",dataIndex:"type",fieldProps:{placeholder:"请选择资源类型",allowClear:!0,options:P},customRender({text:a}){var l;const r=["","app","index","menu","btn","nonmenu"];return e.createVNode("div",{class:"flex items-center space-x-1"},[e.createVNode(R.PubinfoIcon,{name:`resource-${r[a]}`,class:"text-xl"},null),e.createVNode("span",null,[(l=P.find(d=>d.value===a))==null?void 0:l.label])])}},{valueType:"a-select",title:"是否启用",dataIndex:"enable",width:100,fieldProps:{placeholder:"请选择是否启用",allowClear:!0,options:[{value:1,label:"是"},{value:0,label:"否"}]},customRender({text:a}){return a?e.createVNode(w.Badge,{status:"success",text:"是"},null):e.createVNode(w.Badge,{status:"error",text:"否"},null)}},{title:"权限标识",dataIndex:"permissionCode",ellipsis:!0,hideInSearch:!0},{title:"排序",dataIndex:"sort",hideInSearch:!0},{title:"操作",dataIndex:"action",fixed:"right",width:320,hideInSearch:!0,hideInTable(){return!I(["resource_role_relation","resource_add_child","resource_edit","resource_remove"])}}];function N(a,r){return(a==null?void 0:a.map(l=>(l.children=l.children&&N(l.children,r),r(l))))??[]}const y=e.ref(),D=e.computed(()=>{var a;return((a=y.value)==null?void 0:a.dataSource)??[]});function h(){y.value.reload()}async function V(a){const{pageSize:r,current:l,enabled:d,...k}=L.cloneDeep(a),_={...k,enabled:!!d};return{success:!0,data:await T.getRbacResourceResourceTree(_,{transform(f){return N((f==null?void 0:f.data)??[],o=>o.leaf?{...o,children:void 0}:o)}})}}const n=e.ref(),v=e.ref();function b(a,r){switch(a){case i.ROLE_RELATION:v.value.open(r);break;case i.ADD:n.value.open(a);break;case i.ADD_CHILD:n.value.open(a,r);break;case i.EDIT:n.value.open(a,r);break;case i.REMOVE:if(!(r!=null&&r.leaf)){w.message.info("非叶子节点不能删除");return}w.Modal.confirm({title:"删除",content:"确定要删除该资源吗?",async onOk(){(await T.getRbacResourceResourceDelete({id:r==null?void 0:r.id})).success&&(w.message.success("删除成功"),h())}});break}}return(a,r)=>{const l=U.PlusCircleOutlined,d=p.Button,k=p.Space,_=e.resolveDirective("auth");return e.openBlock(),e.createElementBlock("div",Z,[e.createVNode(e.unref(X.ProTable),{ref_key:"tableRef",ref:y,"row-key":"id",columns:B,request:V,pagination:!1,scroll:{x:1024},"auto-height":""},{toolbar:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(d,{type:"primary",onClick:r[0]||(r[0]=g=>b(e.unref(i).ADD))},{default:e.withCtx(()=>[e.createVNode(l),e.createTextVNode(" "+e.toDisplayString(e.unref(i).ADD),1)]),_:1})),[[_,"resource_app_add"]])]),bodyCell:e.withCtx(({column:g,record:f})=>[g.dataIndex==="action"?(e.openBlock(),e.createBlock(k,{key:0},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",{class:"flex items-center",onClick:o=>b(e.unref(i).ROLE_RELATION,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"view",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).ROLE_RELATION),1)],8,Y)),[[_,"resource_role_relation"]]),f.type!==e.unref(m).BUTTON?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,class:"flex items-center",onClick:o=>b(e.unref(i).ADD_CHILD,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"add-child",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).ADD_CHILD),1)],8,ee)),[[_,"resource_add_child"]]):e.createCommentVNode("v-if",!0),e.withDirectives((e.openBlock(),e.createElementBlock("a",{class:"flex items-center",onClick:o=>b(e.unref(i).EDIT,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"edit",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).EDIT),1)],8,te)),[[_,"resource_edit"]]),e.withDirectives((e.openBlock(),e.createElementBlock("span",{class:"flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",onClick:o=>b(e.unref(i).REMOVE,f)},[e.createVNode(e.unref(R.PubinfoIcon),{name:"remove",class:"mr-1 text-base"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(i).REMOVE),1)],8,ne)),[[_,"resource_remove"]])]),_:2},1024)):e.createCommentVNode("v-if",!0)]),_:1},512),e.createVNode(K,{ref_key:"editRef",ref:n,"data-source":e.unref(D),onSubmit:h},null,8,["data-source"]),e.createVNode(W,{ref_key:"relationRef",ref:v},null,512)])}}});exports.default=ae;