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

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 (349) hide show
  1. package/{es/_baseClone-GtUoMmZh.js → dist/_baseClone-BrGaYw3J.js} +1 -1
  2. package/{es/cloneDeep-DWP4OxCI.js → dist/cloneDeep-BNi8GGrL.js} +1 -1
  3. package/{es → dist}/components/GroupSelector/index.vue.d.ts +1 -6
  4. package/dist/components/GroupSelector/interface.d.ts +6 -0
  5. package/{es → dist}/components/ResourceSelector/index.vue.d.ts +1 -3
  6. package/{es/index-DcvR6q4y.js → dist/index-BqK3ECXI.js} +8 -8
  7. package/{es/index-C2dINi50.js → dist/index-BtRbu73h.js} +1 -1
  8. package/{es/index-Gw-_3-qN.js → dist/index-CM6TpnnE.js} +2 -2
  9. package/{es/index-gCLgMcJu.js → dist/index-CeKf-EeN.js} +1 -1
  10. package/{es/index-CDHVSKIo.js → dist/index-DFcCT28_.js} +2 -2
  11. package/{es/index-U-g1yyH-.js → dist/index-DLLsmZHE.js} +1 -1
  12. package/{es/index-D5T_4btx.js → dist/index-DOavAF_-.js} +2 -2
  13. package/{es/index-JFZ3GtN-.js → dist/index-Dm20ktmp.js} +3 -3
  14. package/{es/index-CYt7363u.js → dist/index-Kk8xDHkj.js} +216 -218
  15. package/{es/index-Bz9QeL8M.js → dist/index-TDxibTWO.js} +13 -13
  16. package/{es → dist}/index.js +1 -1
  17. package/{es → dist}/style.css +1 -1
  18. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +172 -0
  19. package/{lib/views/user → dist/views/data-permission}/index.vue.d.ts +143 -38
  20. package/{lib/views/role_group → dist/views/role}/components/drawerRole.vue.d.ts +17 -5
  21. package/dist/views/role/index.vue.d.ts +3090 -0
  22. package/{lib/views/organization/components/drawerRole.vue.d.ts → dist/views/tenant/components/TenantEdit.vue.d.ts} +20 -6
  23. package/{lib/views/dictionary → dist/views/tenant}/enum.d.ts +0 -1
  24. package/{lib/views/role_group → dist/views/tenant}/index.vue.d.ts +21 -8
  25. package/dist/views/user/components/OrgAndPosition.vue.d.ts +14 -0
  26. package/{es → dist}/views/user/interface.d.ts +1 -2
  27. package/package.json +10 -12
  28. package/src/components/GroupSelector/index.vue +1 -7
  29. package/src/components/GroupSelector/interface.ts +6 -0
  30. package/src/components/ResourceSelector/index.vue +1 -2
  31. package/src/index.ts +1 -1
  32. package/src/views/tenant/components/TenantEdit.vue +1 -8
  33. package/src/views/tenant/enum.ts +7 -0
  34. package/src/views/tenant/index.vue +1 -8
  35. package/src/views/user/interface.ts +1 -1
  36. package/lib/OrgSelector.vue_vue_type_script_setup_true_lang-BI6dIQO9.cjs +0 -1
  37. package/lib/_baseClone-bvg2h-nB.cjs +0 -1
  38. package/lib/_commonjsHelpers-DwGv2jUC.cjs +0 -1
  39. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +0 -1
  40. package/lib/animation_item.vue_vue_type_script_setup_true_lang-DJntALjR.cjs +0 -9
  41. package/lib/api/modules/assist/gonggaofuwu.d.ts +0 -43
  42. package/lib/api/modules/assist/index.d.ts +0 -3
  43. package/lib/api/modules/assist/qunzujiekou.d.ts +0 -36
  44. package/lib/api/modules/assist/quyujiekou.d.ts +0 -36
  45. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +0 -36
  46. package/lib/api/modules/configData/index.d.ts +0 -3
  47. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +0 -99
  48. package/lib/api/modules/configData/zidianfuwu.d.ts +0 -57
  49. package/lib/api/modules/log/caozuorizhifuwu.d.ts +0 -15
  50. package/lib/api/modules/log/denglurizhifuwu.d.ts +0 -15
  51. package/lib/api/modules/log/index.d.ts +0 -2
  52. package/lib/api/modules/rbac/gangweijiekou.d.ts +0 -36
  53. package/lib/api/modules/rbac/index.d.ts +0 -11
  54. package/lib/api/modules/rbac/jiaosejiekou.d.ts +0 -50
  55. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -43
  56. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -64
  57. package/lib/api/modules/rbac/yonghujiekou.d.ts +0 -85
  58. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -36
  59. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -29
  60. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +0 -85
  61. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -36
  62. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -29
  63. package/lib/api/modules/rbac/zuzhijiekou.d.ts +0 -64
  64. package/lib/api/request.d.ts +0 -1
  65. package/lib/browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs +0 -1
  66. package/lib/cloneDeep-DKvAzXJU.cjs +0 -1
  67. package/lib/components/GroupSelector/index.vue.d.ts +0 -20
  68. package/lib/components/OrgTree/index.vue.d.ts +0 -5
  69. package/lib/components/OrgUserSelector/OrgSelector.vue.d.ts +0 -68
  70. package/lib/components/OrgUserSelector/UserSelector.vue.d.ts +0 -72
  71. package/lib/components/OrgUserSelector/index.d.ts +0 -8
  72. package/lib/components/OrgUserSelector/provider.d.ts +0 -24
  73. package/lib/components/ResourceSelector/enum.d.ts +0 -5
  74. package/lib/components/ResourceSelector/hooks/useAppAndResource.d.ts +0 -29
  75. package/lib/components/ResourceSelector/index.vue.d.ts +0 -26
  76. package/lib/composables/useLottie.d.ts +0 -11
  77. package/lib/enum-B-paw5p0.cjs +0 -1
  78. package/lib/enum-BFYGJ2YJ.cjs +0 -1
  79. package/lib/enum-BHDP2ejy.cjs +0 -1
  80. package/lib/enum-OwSMnw51.cjs +0 -1
  81. package/lib/gangweijiekou-DYYmkjys.cjs +0 -1
  82. package/lib/index-Apq1nfrg.cjs +0 -1
  83. package/lib/index-BOdrElTX.cjs +0 -1
  84. package/lib/index-BdQKw1uE.cjs +0 -1
  85. package/lib/index-BwkSE-Zz.cjs +0 -1
  86. package/lib/index-Bx53OKE6.cjs +0 -1
  87. package/lib/index-C151ukdL.cjs +0 -1
  88. package/lib/index-C3m3S7_Q.cjs +0 -1
  89. package/lib/index-CMf8N2mC.cjs +0 -1
  90. package/lib/index-CNtyqLTX.cjs +0 -1
  91. package/lib/index-Cm5xLy57.cjs +0 -9
  92. package/lib/index-D1vGtVqY.cjs +0 -1
  93. package/lib/index-D2gE9FFs.cjs +0 -1
  94. package/lib/index-D34uPnyD.cjs +0 -1
  95. package/lib/index-D7Awj4JU.cjs +0 -1
  96. package/lib/index-D9QyS2NB.cjs +0 -1
  97. package/lib/index-D9dMBtdM.cjs +0 -1
  98. package/lib/index-DBzHTy7k.cjs +0 -1
  99. package/lib/index-DG9uEqRG.cjs +0 -1
  100. package/lib/index-DQ8p9Bwg.cjs +0 -1
  101. package/lib/index-DUagbQoK.cjs +0 -1
  102. package/lib/index-D_APeiaQ.cjs +0 -1
  103. package/lib/index-DoCoA6Nr.cjs +0 -1
  104. package/lib/index-Dv-KtCh8.cjs +0 -1
  105. package/lib/index-F735VVe_.cjs +0 -1
  106. package/lib/index-Jc3VoxhA.cjs +0 -1
  107. package/lib/index-n5tzubbZ.cjs +0 -1
  108. package/lib/index.cjs +0 -1
  109. package/lib/index.d.ts +0 -7
  110. package/lib/interface.d.ts +0 -47
  111. package/lib/itemlist-BEyAbkw5.cjs +0 -1
  112. package/lib/jiaosejiekou-BNn96VFQ.cjs +0 -1
  113. package/lib/login_history-C25qj8eL.cjs +0 -1
  114. package/lib/operate_history-Bmg66_WI.cjs +0 -1
  115. package/lib/pubJiaosezukongzhiqi-fVUoXj6y.cjs +0 -1
  116. package/lib/request-DML6P6cf.cjs +0 -1
  117. package/lib/routes/index.d.ts +0 -14
  118. package/lib/routes/modules/authority.manage.menu.d.ts +0 -3
  119. package/lib/routes/modules/log.manage.menu.d.ts +0 -3
  120. package/lib/routes/modules/safe.manage.menu.d.ts +0 -3
  121. package/lib/routes/modules/stylesetting.manage.menu.d.ts +0 -3
  122. package/lib/routes/modules/system.manage.menu.d.ts +0 -3
  123. package/lib/setItem-DIzkZHtI.cjs +0 -1
  124. package/lib/shujuquanxianzhubiaokongzhiqi-C6sd8pC3.cjs +0 -1
  125. package/lib/stores/index.d.ts +0 -1
  126. package/lib/style.css +0 -1
  127. package/lib/useAppAndResource-ChvKK2DZ.cjs +0 -1
  128. package/lib/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +0 -14
  129. package/lib/views/blackWhiteList/enum.d.ts +0 -7
  130. package/lib/views/blackWhiteList/index.vue.d.ts +0 -1535
  131. package/lib/views/blackWhiteList/types.d.ts +0 -4
  132. package/lib/views/breadcrumb_setting/animationData.d.ts +0 -7
  133. package/lib/views/breadcrumb_setting/index.vue.d.ts +0 -2
  134. package/lib/views/components/HCheckList.vue.d.ts +0 -20
  135. package/lib/views/components/animation_item.vue.d.ts +0 -14
  136. package/lib/views/components/setItem.vue.d.ts +0 -61
  137. package/lib/views/data-permission/enum.d.ts +0 -34
  138. package/lib/views/dictionary/components/drawerDictionary.vue.d.ts +0 -12
  139. package/lib/views/dictionary/components/drawerDictionaryItem.vue.d.ts +0 -12
  140. package/lib/views/dictionary/index.vue.d.ts +0 -1532
  141. package/lib/views/dictionary/itemlist.vue.d.ts +0 -1532
  142. package/lib/views/group/components/drawerGroup.vue.d.ts +0 -12
  143. package/lib/views/group/enum.d.ts +0 -21
  144. package/lib/views/group/index.vue.d.ts +0 -1532
  145. package/lib/views/layout_setting/index.vue.d.ts +0 -2
  146. package/lib/views/log_center/components/browserType.vue.d.ts +0 -12
  147. package/lib/views/log_center/components/loginHistoryDetail.vue.d.ts +0 -14
  148. package/lib/views/log_center/components/operateHistoryDetail.vue.d.ts +0 -14
  149. package/lib/views/log_center/login_history.vue.d.ts +0 -1511
  150. package/lib/views/log_center/operate_history.vue.d.ts +0 -1511
  151. package/lib/views/menu_setting/animationData.d.ts +0 -13
  152. package/lib/views/menu_setting/index.vue.d.ts +0 -2
  153. package/lib/views/organization/components/drawerOrganization.vue.d.ts +0 -12
  154. package/lib/views/organization/components/roleSelect.vue.d.ts +0 -14
  155. package/lib/views/organization/enum.d.ts +0 -25
  156. package/lib/views/organization/index.vue.d.ts +0 -73
  157. package/lib/views/other_setting/animationData.d.ts +0 -7
  158. package/lib/views/other_setting/index.vue.d.ts +0 -2
  159. package/lib/views/other_setting/interface.d.ts +0 -23
  160. package/lib/views/page_animation_setting/animationData.d.ts +0 -11
  161. package/lib/views/page_animation_setting/index.vue.d.ts +0 -2
  162. package/lib/views/page_w_setting/index.vue.d.ts +0 -2
  163. package/lib/views/position/components/drawerPosition.vue.d.ts +0 -12
  164. package/lib/views/position/enum.d.ts +0 -8
  165. package/lib/views/position/index.vue.d.ts +0 -1532
  166. package/lib/views/region/components/drawerRegion.vue.d.ts +0 -12
  167. package/lib/views/region/enum.d.ts +0 -22
  168. package/lib/views/region/index.vue.d.ts +0 -1533
  169. package/lib/views/resource/components/ResourceEdit.vue.d.ts +0 -16
  170. package/lib/views/resource/components/RoleRelation.vue.d.ts +0 -6
  171. package/lib/views/resource/enum.d.ts +0 -30
  172. package/lib/views/resource/index.vue.d.ts +0 -1549
  173. package/lib/views/resource/interface.d.ts +0 -6
  174. package/lib/views/role/components/ResourceRelation.vue.d.ts +0 -1515
  175. package/lib/views/role/enum.d.ts +0 -25
  176. package/lib/views/role/interface.d.ts +0 -6
  177. package/lib/views/role_group/components/roleSelect.vue.d.ts +0 -14
  178. package/lib/views/role_group/enum.d.ts +0 -21
  179. package/lib/views/role_group/interface.d.ts +0 -6
  180. package/lib/views/safe_setting/index.vue.d.ts +0 -4
  181. package/lib/views/tabbar_setting/animationData.d.ts +0 -11
  182. package/lib/views/tabbar_setting/index.vue.d.ts +0 -2
  183. package/lib/views/tenant/interface.d.ts +0 -6
  184. package/lib/views/theme_setting/index.vue.d.ts +0 -2
  185. package/lib/views/toolbar_setting/animationData.d.ts +0 -17
  186. package/lib/views/toolbar_setting/index.vue.d.ts +0 -2
  187. package/lib/views/user/components/UserAuthorization.vue.d.ts +0 -39
  188. package/lib/views/user/components/UserEdit.vue.d.ts +0 -16
  189. package/lib/views/user/components/roleSelect.vue.d.ts +0 -14
  190. package/lib/views/user/enum.d.ts +0 -13
  191. package/lib/views/user/interface.d.ts +0 -40
  192. package/lib/views/watermark_setting/animationData.d.ts +0 -3
  193. package/lib/views/watermark_setting/index.vue.d.ts +0 -31
  194. package/lib/xitongpeizhifuwu-r-I2Ogxj.cjs +0 -1
  195. package/lib/zidianfuwu-VChcnkm9.cjs +0 -1
  196. package/lib/ziyuanjiekou-CvKeunY5.cjs +0 -1
  197. package/lib/zuzhijiaosebiaokongzhiqi-DYI3Zu-M.cjs +0 -1
  198. package/lib/zuzhijiekou-CFQtYuGW.cjs +0 -1
  199. /package/{es → dist}/OrgSelector.vue_vue_type_script_setup_true_lang-DV8KkpJD.js +0 -0
  200. /package/{es → dist}/_commonjsHelpers-C6fGbg64.js +0 -0
  201. /package/{es → dist}/_plugin-vue_export-helper-CHgC5LLL.js +0 -0
  202. /package/{es → dist}/animation_item.vue_vue_type_script_setup_true_lang-CNTrygHf.js +0 -0
  203. /package/{es → dist}/api/modules/assist/gonggaofuwu.d.ts +0 -0
  204. /package/{es → dist}/api/modules/assist/index.d.ts +0 -0
  205. /package/{es → dist}/api/modules/assist/qunzujiekou.d.ts +0 -0
  206. /package/{es → dist}/api/modules/assist/quyujiekou.d.ts +0 -0
  207. /package/{es → dist}/api/modules/configData/heibaimingdanfuwu.d.ts +0 -0
  208. /package/{es → dist}/api/modules/configData/index.d.ts +0 -0
  209. /package/{es → dist}/api/modules/configData/xitongpeizhifuwu.d.ts +0 -0
  210. /package/{es → dist}/api/modules/configData/zidianfuwu.d.ts +0 -0
  211. /package/{es → dist}/api/modules/log/caozuorizhifuwu.d.ts +0 -0
  212. /package/{es → dist}/api/modules/log/denglurizhifuwu.d.ts +0 -0
  213. /package/{es → dist}/api/modules/log/index.d.ts +0 -0
  214. /package/{es → dist}/api/modules/rbac/gangweijiekou.d.ts +0 -0
  215. /package/{es → dist}/api/modules/rbac/index.d.ts +0 -0
  216. /package/{es → dist}/api/modules/rbac/jiaosejiekou.d.ts +0 -0
  217. /package/{es → dist}/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +0 -0
  218. /package/{es → dist}/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +0 -0
  219. /package/{es → dist}/api/modules/rbac/yonghujiekou.d.ts +0 -0
  220. /package/{es → dist}/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +0 -0
  221. /package/{es → dist}/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +0 -0
  222. /package/{es → dist}/api/modules/rbac/ziyuanjiekou.d.ts +0 -0
  223. /package/{es → dist}/api/modules/rbac/zuhuguanlijiekou.d.ts +0 -0
  224. /package/{es → dist}/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +0 -0
  225. /package/{es → dist}/api/modules/rbac/zuzhijiekou.d.ts +0 -0
  226. /package/{es → dist}/api/request.d.ts +0 -0
  227. /package/{es → dist}/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -0
  228. /package/{es → dist}/components/OrgTree/index.vue.d.ts +0 -0
  229. /package/{es → dist}/components/OrgUserSelector/OrgSelector.vue.d.ts +0 -0
  230. /package/{es → dist}/components/OrgUserSelector/UserSelector.vue.d.ts +0 -0
  231. /package/{es → dist}/components/OrgUserSelector/index.d.ts +0 -0
  232. /package/{es → dist}/components/OrgUserSelector/provider.d.ts +0 -0
  233. /package/{es → dist}/components/ResourceSelector/enum.d.ts +0 -0
  234. /package/{es → dist}/components/ResourceSelector/hooks/useAppAndResource.d.ts +0 -0
  235. /package/{es → dist}/composables/useLottie.d.ts +0 -0
  236. /package/{es → dist}/enum-BEHz_Q18.js +0 -0
  237. /package/{es → dist}/enum-C9ihxJe7.js +0 -0
  238. /package/{es → dist}/enum-CTUzwCYG.js +0 -0
  239. /package/{es → dist}/enum-DDKThkSw.js +0 -0
  240. /package/{es → dist}/gangweijiekou-BxJq_m0o.js +0 -0
  241. /package/{es → dist}/index-BDrI8Oyk.js +0 -0
  242. /package/{es → dist}/index-BIfx_Xrr.js +0 -0
  243. /package/{es → dist}/index-Bl4v-7On.js +0 -0
  244. /package/{es → dist}/index-BsoyF96V.js +0 -0
  245. /package/{es → dist}/index-C7QJHUwa.js +0 -0
  246. /package/{es → dist}/index-CBMCWEIQ.js +0 -0
  247. /package/{es → dist}/index-CFPhIFyG.js +0 -0
  248. /package/{es → dist}/index-CgiGLpzT.js +0 -0
  249. /package/{es → dist}/index-CsHj-xDw.js +0 -0
  250. /package/{es → dist}/index-DY1mOFzi.js +0 -0
  251. /package/{es → dist}/index-DuVeXn9R.js +0 -0
  252. /package/{es → dist}/index-Dvq9O5uC.js +0 -0
  253. /package/{es → dist}/index-F-kmM1iD.js +0 -0
  254. /package/{es → dist}/index-gHIfcbvd.js +0 -0
  255. /package/{es → dist}/index-kFyBHYs8.js +0 -0
  256. /package/{es → dist}/index-uSBZoA3n.js +0 -0
  257. /package/{es → dist}/index.d.ts +0 -0
  258. /package/{es → dist}/interface.d.ts +0 -0
  259. /package/{es → dist}/itemlist-BRhA5jzY.js +0 -0
  260. /package/{es → dist}/jiaosejiekou-BfY4h7uI.js +0 -0
  261. /package/{es → dist}/login_history-CuQv9Iw3.js +0 -0
  262. /package/{es → dist}/operate_history-CGP-1Xy2.js +0 -0
  263. /package/{es → dist}/pubJiaosezukongzhiqi-CvYfc8Uz.js +0 -0
  264. /package/{es → dist}/request-DQLgc7lT.js +0 -0
  265. /package/{es → dist}/routes/index.d.ts +0 -0
  266. /package/{es → dist}/routes/modules/authority.manage.menu.d.ts +0 -0
  267. /package/{es → dist}/routes/modules/log.manage.menu.d.ts +0 -0
  268. /package/{es → dist}/routes/modules/safe.manage.menu.d.ts +0 -0
  269. /package/{es → dist}/routes/modules/stylesetting.manage.menu.d.ts +0 -0
  270. /package/{es → dist}/routes/modules/system.manage.menu.d.ts +0 -0
  271. /package/{es → dist}/setItem-C1_olVDY.js +0 -0
  272. /package/{es → dist}/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +0 -0
  273. /package/{es → dist}/stores/index.d.ts +0 -0
  274. /package/{es → dist}/useAppAndResource-D_b19V4t.js +0 -0
  275. /package/{es → dist}/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +0 -0
  276. /package/{es → dist}/views/blackWhiteList/enum.d.ts +0 -0
  277. /package/{es → dist}/views/blackWhiteList/index.vue.d.ts +0 -0
  278. /package/{es → dist}/views/blackWhiteList/types.d.ts +0 -0
  279. /package/{es → dist}/views/breadcrumb_setting/animationData.d.ts +0 -0
  280. /package/{es → dist}/views/breadcrumb_setting/index.vue.d.ts +0 -0
  281. /package/{es → dist}/views/components/HCheckList.vue.d.ts +0 -0
  282. /package/{es → dist}/views/components/animation_item.vue.d.ts +0 -0
  283. /package/{es → dist}/views/components/setItem.vue.d.ts +0 -0
  284. /package/{es → dist}/views/data-permission/enum.d.ts +0 -0
  285. /package/{es → dist}/views/dictionary/components/drawerDictionary.vue.d.ts +0 -0
  286. /package/{es → dist}/views/dictionary/components/drawerDictionaryItem.vue.d.ts +0 -0
  287. /package/{es → dist}/views/dictionary/enum.d.ts +0 -0
  288. /package/{es → dist}/views/dictionary/index.vue.d.ts +0 -0
  289. /package/{es → dist}/views/dictionary/itemlist.vue.d.ts +0 -0
  290. /package/{es → dist}/views/group/components/drawerGroup.vue.d.ts +0 -0
  291. /package/{es → dist}/views/group/enum.d.ts +0 -0
  292. /package/{es → dist}/views/group/index.vue.d.ts +0 -0
  293. /package/{es → dist}/views/layout_setting/index.vue.d.ts +0 -0
  294. /package/{es → dist}/views/log_center/components/browserType.vue.d.ts +0 -0
  295. /package/{es → dist}/views/log_center/components/loginHistoryDetail.vue.d.ts +0 -0
  296. /package/{es → dist}/views/log_center/components/operateHistoryDetail.vue.d.ts +0 -0
  297. /package/{es → dist}/views/log_center/login_history.vue.d.ts +0 -0
  298. /package/{es → dist}/views/log_center/operate_history.vue.d.ts +0 -0
  299. /package/{es → dist}/views/menu_setting/animationData.d.ts +0 -0
  300. /package/{es → dist}/views/menu_setting/index.vue.d.ts +0 -0
  301. /package/{es → dist}/views/organization/components/drawerOrganization.vue.d.ts +0 -0
  302. /package/{es → dist}/views/organization/components/drawerRole.vue.d.ts +0 -0
  303. /package/{es → dist}/views/organization/components/roleSelect.vue.d.ts +0 -0
  304. /package/{es → dist}/views/organization/enum.d.ts +0 -0
  305. /package/{es → dist}/views/organization/index.vue.d.ts +0 -0
  306. /package/{es → dist}/views/other_setting/animationData.d.ts +0 -0
  307. /package/{es → dist}/views/other_setting/index.vue.d.ts +0 -0
  308. /package/{es → dist}/views/other_setting/interface.d.ts +0 -0
  309. /package/{es → dist}/views/page_animation_setting/animationData.d.ts +0 -0
  310. /package/{es → dist}/views/page_animation_setting/index.vue.d.ts +0 -0
  311. /package/{es → dist}/views/page_w_setting/index.vue.d.ts +0 -0
  312. /package/{es → dist}/views/position/components/drawerPosition.vue.d.ts +0 -0
  313. /package/{es → dist}/views/position/enum.d.ts +0 -0
  314. /package/{es → dist}/views/position/index.vue.d.ts +0 -0
  315. /package/{es → dist}/views/region/components/drawerRegion.vue.d.ts +0 -0
  316. /package/{es → dist}/views/region/enum.d.ts +0 -0
  317. /package/{es → dist}/views/region/index.vue.d.ts +0 -0
  318. /package/{es → dist}/views/resource/components/ResourceEdit.vue.d.ts +0 -0
  319. /package/{es → dist}/views/resource/components/RoleRelation.vue.d.ts +0 -0
  320. /package/{es → dist}/views/resource/enum.d.ts +0 -0
  321. /package/{es → dist}/views/resource/index.vue.d.ts +0 -0
  322. /package/{es → dist}/views/resource/interface.d.ts +0 -0
  323. /package/{es → dist}/views/role/components/ResourceRelation.vue.d.ts +0 -0
  324. /package/{es → dist}/views/role/enum.d.ts +0 -0
  325. /package/{es → dist}/views/role/interface.d.ts +0 -0
  326. /package/{es → dist}/views/role_group/components/drawerRole.vue.d.ts +0 -0
  327. /package/{es → dist}/views/role_group/components/roleSelect.vue.d.ts +0 -0
  328. /package/{es → dist}/views/role_group/enum.d.ts +0 -0
  329. /package/{es → dist}/views/role_group/index.vue.d.ts +0 -0
  330. /package/{es → dist}/views/role_group/interface.d.ts +0 -0
  331. /package/{es → dist}/views/safe_setting/index.vue.d.ts +0 -0
  332. /package/{es → dist}/views/tabbar_setting/animationData.d.ts +0 -0
  333. /package/{es → dist}/views/tabbar_setting/index.vue.d.ts +0 -0
  334. /package/{es → dist}/views/tenant/interface.d.ts +0 -0
  335. /package/{es → dist}/views/theme_setting/index.vue.d.ts +0 -0
  336. /package/{es → dist}/views/toolbar_setting/animationData.d.ts +0 -0
  337. /package/{es → dist}/views/toolbar_setting/index.vue.d.ts +0 -0
  338. /package/{es → dist}/views/user/components/UserAuthorization.vue.d.ts +0 -0
  339. /package/{es → dist}/views/user/components/UserEdit.vue.d.ts +0 -0
  340. /package/{es → dist}/views/user/components/roleSelect.vue.d.ts +0 -0
  341. /package/{es → dist}/views/user/enum.d.ts +0 -0
  342. /package/{es → dist}/views/user/index.vue.d.ts +0 -0
  343. /package/{es → dist}/views/watermark_setting/animationData.d.ts +0 -0
  344. /package/{es → dist}/views/watermark_setting/index.vue.d.ts +0 -0
  345. /package/{es → dist}/xitongpeizhifuwu-C1Vm-W1B.js +0 -0
  346. /package/{es → dist}/zidianfuwu-yCWHhOfO.js +0 -0
  347. /package/{es → dist}/ziyuanjiekou-DhrAbneq.js +0 -0
  348. /package/{es → dist}/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +0 -0
  349. /package/{es → dist}/zuzhijiekou-PeZuFtCO.js +0 -0
package/lib/index.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-D2gE9FFs.cjs");require("pubinfo");exports.default=e.rbac;exports.rbac=e.rbac;
package/lib/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { ModuleOptions } from 'pubinfo';
2
- import { RbacOptions } from './interface';
3
- import './assets/styles/vxe-table.css';
4
- import 'uno.css';
5
- export declare function rbac(options?: RbacOptions): ModuleOptions;
6
- export * from './interface';
7
- export default rbac;
@@ -1,47 +0,0 @@
1
- import { RouteRecordRaw } from '../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
2
- export interface RbacOptions {
3
- /** 替换或隐藏页面,为空时默认展示所有页面 */
4
- pages?: RbacPages;
5
- }
6
- export interface RbacPages {
7
- AuthorityManage?: {
8
- Resource?: PageOptions;
9
- Role?: PageOptions;
10
- RoleGroup?: PageOptions;
11
- DataPermission?: PageOptions;
12
- Organization?: PageOptions;
13
- User?: PageOptions;
14
- Tenant?: PageOptions;
15
- } | boolean;
16
- SystemManage?: {
17
- DictionaryPage: {
18
- Dictionary?: PageOptions;
19
- DictionaryItem?: PageOptions;
20
- };
21
- Position?: PageOptions;
22
- Region?: PageOptions;
23
- Group?: PageOptions;
24
- } | boolean;
25
- SettingManage?: {
26
- ThemeSetting?: PageOptions;
27
- LayoutSetting?: PageOptions;
28
- PageAnimationSetting?: PageOptions;
29
- PageSizeSetting?: PageOptions;
30
- MenuSetting?: PageOptions;
31
- TabbarSetting?: PageOptions;
32
- ToolbarSetting?: PageOptions;
33
- BreadcrumbSetting?: PageOptions;
34
- OtherSetting?: PageOptions;
35
- } | boolean;
36
- SafeManage?: {
37
- Blacklist?: PageOptions;
38
- Whitelist?: PageOptions;
39
- SafeSetting?: PageOptions;
40
- WatermarkSetting?: PageOptions;
41
- } | boolean;
42
- LogManage?: {
43
- LoginHistory?: PageOptions;
44
- OperateHistory?: PageOptions;
45
- } | boolean;
46
- }
47
- export type PageOptions = RouteRecordRaw | boolean;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("ant-design-vue/es"),D=require("pubinfo"),E=require("@ant-design/icons-vue"),e=require("vue");require("./request-DML6P6cf.cjs");const g=require("./zidianfuwu-VChcnkm9.cjs"),R=require("@pubinfo/pro-components"),b=require("ant-design-vue"),c=require("./enum-OwSMnw51.cjs"),y=require("./index-BOdrElTX.cjs"),S=require("vue-router"),P=e.defineComponent({name:"DrawerDictionaryItem",__name:"drawerDictionaryItem",emits:["submit"],setup(k,{expose:N,emit:C}){const v=C,w={dictLabel:[{required:!0,message:"请输入字典项名称",trigger:"blur"}],dictValue:[{required:!0,message:"请输入字典项值",trigger:"blur"}]},d=e.reactive({title:"",code:""}),[_,p]=y.useToggle(!1),h=e.ref(),n=e.ref({});async function l(r,t,s){p(!0),d.title=r,d.code=t,r===c.ACTION.EDIT?n.value=s??{}:(n.value={},n.value.enable=!0,n.value.code=t)}const[o,m]=y.useToggle(!1);function x(){var r;(r=h.value)==null||r.validate().then(()=>{m(!0);const t={...n.value};g.postDictItemSave(t).then(s=>{s.success&&(b.message.success(`${d.title}成功!`),p(!1),v("submit"))}).finally(()=>m(!1))})}function u(){p(!1)}return N({open:l}),(r,t)=>{const s=i.Input,f=i.FormItem,V=i.Textarea,T=i.InputNumber,O=i.Switch,q=i.Form,I=i.Button,B=i.Space,A=i.Drawer;return e.openBlock(),e.createBlock(A,{open:e.unref(_),"onUpdate:open":t[6]||(t[6]=a=>e.isRef(_)?_.value=a:null),title:`${e.unref(d).title}字典数据`,placement:"right",width:520,"destroy-on-close":"","footer-style":{textAlign:"right"},onClose:u},{footer:e.withCtx(()=>[e.createVNode(B,null,{default:e.withCtx(()=>[e.createVNode(I,{onClick:u},{default:e.withCtx(()=>t[7]||(t[7]=[e.createTextVNode(" 取消 ")])),_:1}),e.createVNode(I,{type:"primary",loading:e.unref(o),onClick:t[5]||(t[5]=a=>x())},{default:e.withCtx(()=>t[8]||(t[8]=[e.createTextVNode(" 提交 ")])),_:1},8,["loading"])]),_:1})]),default:e.withCtx(()=>[e.createVNode(q,{ref_key:"formRef",ref:h,model:e.unref(n),rules:w,"label-col":{span:5}},{default:e.withCtx(()=>[e.createVNode(f,{label:"字典项名称",name:"dictLabel"},{default:e.withCtx(()=>[e.createVNode(s,{value:e.unref(n).dictLabel,"onUpdate:value":t[0]||(t[0]=a=>e.unref(n).dictLabel=a),maxlength:100},null,8,["value"])]),_:1}),e.createVNode(f,{label:"字典项值",name:"dictValue"},{default:e.withCtx(()=>[e.createVNode(s,{value:e.unref(n).dictValue,"onUpdate:value":t[1]||(t[1]=a=>e.unref(n).dictValue=a),maxlength:100},null,8,["value"])]),_:1}),e.createVNode(f,{label:"描述",name:"description"},{default:e.withCtx(()=>[e.createVNode(V,{value:e.unref(n).description,"onUpdate:value":t[2]||(t[2]=a=>e.unref(n).description=a),rows:3,"show-count":"",maxlength:200},null,8,["value"])]),_:1}),e.createVNode(f,{label:"排序",name:"sort"},{default:e.withCtx(()=>[e.createVNode(T,{value:e.unref(n).sort,"onUpdate:value":t[3]||(t[3]=a=>e.unref(n).sort=a)},null,8,["value"])]),_:1}),e.createVNode(f,{label:"是否启动",name:"enable"},{default:e.withCtx(()=>[e.createVNode(O,{checked:e.unref(n).enable,"onUpdate:checked":t[4]||(t[4]=a=>e.unref(n).enable=a)},null,8,["checked"])]),_:1})]),_:1},8,["model"])]),_:1},8,["open","title"])}}}),$={"p-20px":"","w-full":"","h-full":""},L=["onClick"],M={class:"ml-4px"},U=["onClick"],W={class:"ml-4px"},F=e.defineComponent({name:"DictionaryItem",__name:"itemlist",setup(k){const{auth:N}=D.useAuth(),C=e.ref(),v=e.ref(),w=[{minWidth:100,title:"字典项标签名",dataIndex:"dictLabel",ellipsis:!0},{minWidth:100,title:"字典项值",dataIndex:"dictValue",ellipsis:!0},{minWidth:200,title:"描述",dataIndex:"description",ellipsis:!0},{width:80,minWidth:60,title:"排序",dataIndex:"sort"},{width:100,minWidth:80,title:"是否启用",dataIndex:"enable",customRender({text:l}){return l?e.createVNode(b.Badge,{status:"success",text:"启用"},null):e.createVNode(b.Badge,{status:"error",text:"禁用"},null)}},{title:"操作",dataIndex:"action",width:160,fixed:"right",hideInTable(){return!N(["dictionary_data_remove","dictionary_data_edit"])}}],d=e.reactive({code:"",name:""}),_=S.useRoute();e.onMounted(()=>{d.code=_.query.code});function p(l,o){switch(l){case c.ACTION.ADD:v.value.open(l,d.code);break;case c.ACTION.EDIT:v.value.open(l,d.code,o);break;case c.ACTION.REMOVE:b.Modal.confirm({title:"删除",content:"确定要删除该字典数据吗?",onOk(){g.deleteDictItemDeleteById({id:o==null?void 0:o.id}).then(m=>{m.success&&(b.message.success("删除成功"),n())})}});break}}async function h(l){var r,t;const{current:o,pageSize:m,...x}=l,u=await g.postDictItemPage({currentPage:o,pageSize:m,code:_.query.code,...x});return{success:u.success,data:((r=u.data)==null?void 0:r.records)??[],total:((t=u.data)==null?void 0:t.total)??0}}function n(){C.value.reload()}return(l,o)=>{const m=E.PlusCircleOutlined,x=i.Button,u=D.PubinfoIcon,r=i.Space,t=e.resolveDirective("auth");return e.openBlock(),e.createElementBlock("div",$,[e.createVNode(e.unref(R.ProTable),{ref_key:"tableRef",ref:C,"row-key":"id",request:h,search:!1,columns:w,"auto-height":"",scroll:{x:1040}},{toolbar:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(x,{type:"primary",onClick:o[0]||(o[0]=s=>p(e.unref(c.ACTION).ADD))},{default:e.withCtx(()=>[e.createVNode(m),e.createTextVNode(" "+e.toDisplayString(e.unref(c.ACTION).ADD),1)]),_:1})),[[t,"dictionary_data_add"]])]),bodyCell:e.withCtx(({column:s,record:f})=>[s.dataIndex==="action"?(e.openBlock(),e.createBlock(r,{key:0},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("a",{class:"flex items-center",onClick:V=>p(e.unref(c.ACTION).EDIT,f)},[e.createVNode(u,{name:"edit",class:"text-base"}),e.createElementVNode("span",M,e.toDisplayString(e.unref(c.ACTION).EDIT),1)],8,L)),[[t,"dictionary_data_edit"]]),e.withDirectives((e.openBlock(),e.createElementBlock("a",{class:"flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",onClick:V=>p(e.unref(c.ACTION).REMOVE,f)},[e.createVNode(u,{name:"remove",class:"text-base"}),e.createElementVNode("span",W,e.toDisplayString(e.unref(c.ACTION).REMOVE),1)],8,U)),[[t,"dictionary_data_remove"]])]),_:2},1024)):e.createCommentVNode("v-if",!0)]),_:1},512),e.createVNode(P,{ref_key:"DrawerDictionaryItemRef",ref:v,onSubmit:o[1]||(o[1]=s=>n())},null,512)])}}});exports.default=F;
@@ -1 +0,0 @@
1
- "use strict";const t=require("./request-DML6P6cf.cjs");function a(e,o){return t.basic.Post("/rbac/role/addRole",e,{headers:{"Content-Type":"application/json"},...o||{}})}function l(e,o){return t.basic.Get("/rbac/role/info",{params:{...e}})}function r(e,o){return t.basic.Get("/rbac/role/roleDelete",{params:{...e}})}function n(e){return t.basic.Get("/rbac/role/roleList",{})}function s(e,o){return t.basic.Post("/rbac/role/rolePage",e,{headers:{"Content-Type":"application/json"}})}function c(e,o){return t.basic.Post("/rbac/role/roleUpdate",e,{headers:{"Content-Type":"application/json"},...o||{}})}function R(e,o){return t.basic.Post("/rbac/role/roleUserPage",e,{headers:{"Content-Type":"application/json"},...o||{}})}exports.getRbacRoleInfo=l;exports.getRbacRoleRoleDelete=r;exports.getRbacRoleRoleList=n;exports.postRbacRoleAddRole=a;exports.postRbacRoleRolePage=s;exports.postRbacRoleRoleUpdate=c;exports.postRbacRoleRoleUserPage=R;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("ant-design-vue/es"),w=require("pubinfo"),e=require("vue"),V=require("./request-DML6P6cf.cjs"),C=require("@pubinfo/pro-components"),v=require("./browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function S(a,c){return V.basic.Post("/log/login/page",a,{headers:{"Content-Type":"application/json"}})}const D={class:"detail-info"},k=e.defineComponent({__name:"loginHistoryDetail",props:{visible:Boolean,data:Object},emits:["close"],setup(a,{emit:c}){const d=c;function s(){d("close")}return(m,_)=>{const i=p.DescriptionsItem,f=p.Descriptions,h=p.Drawer;return e.openBlock(),e.createBlock(h,{open:a.visible,title:"登录日志",placement:"right",width:900,"footer-style":{textAlign:"right"},onClose:s},{default:e.withCtx(()=>[e.createElementVNode("div",D,[e.createVNode(f,{column:2},{default:e.withCtx(()=>[e.createVNode(i,{label:"用户id"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.userId),1)]}),_:1}),e.createVNode(i,{label:"账号名"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.loginName),1)]}),_:1}),e.createVNode(i,{label:"用户姓名"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.realName),1)]}),_:1}),e.createVNode(i,{label:"登录组织名称"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.orgName),1)]}),_:1}),e.createVNode(i,{label:"登录IP"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.loginIp),1)]}),_:1}),e.createVNode(i,{label:"登录时间"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.loginTime),1)]}),_:1}),e.createVNode(i,{label:"登录类型"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.loginType),1)]}),_:1}),e.createVNode(i,{label:"操作设备/操作系统类型"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.deviceType),1)]}),_:1}),e.createVNode(i,{label:"登录浏览器"},{default:e.withCtx(()=>{var t;return[e.createVNode(v._sfc_main,{"browser-name":(t=a.data)==null?void 0:t.browserName},null,8,["browser-name"])]}),_:1}),e.createVNode(i,{label:"登录是否成功"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)!=null&&t.success?"是":"否"),1)]}),_:1})]),_:1})])]),_:1},8,["open"])}}}),P=T._export_sfc(k,[["__scopeId","data-v-8319a104"]]),Y={"w-full":"","h-full":"","py-10px":"","px-10px":"",flex:"","flex-col":""},q={key:0,class:"flex items-center"},H={class:"ml-4px"},B=["onClick"],j=e.defineComponent({name:"LoginHistory",__name:"login_history",setup(a){const{auth:c}=w.useAuth(),d=e.ref(),s=e.ref(!1),m=e.ref(),_=[{valueType:"a-input",hideInTable:!0,title:"人员账号",dataIndex:"loginName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-input",hideInTable:!0,title:"人员姓名",dataIndex:"realName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-input",hideInTable:!0,title:"部门",dataIndex:"orgName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-input",hideInTable:!0,title:"登录IP",dataIndex:"loginIp",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-range-picker",hideInTable:!0,title:"登录时间",dataIndex:"loginTime",fieldProps:{placeholder:["开始时间","结束时间"],showTime:!0,format:"YYYY-MM-DD HH:mm:ss",allowClear:!0}},{hideInSearch:!0,width:60,title:"序号",customRender:({index:t})=>t+1},{hideInSearch:!0,title:"人员账号",dataIndex:"loginName",ellipsis:!0},{hideInSearch:!0,title:"人员姓名",dataIndex:"realName",ellipsis:!0},{hideInSearch:!0,title:"登录方式",dataIndex:"loginType",ellipsis:!0},{hideInSearch:!0,title:"设备类型",dataIndex:"deviceType",ellipsis:!0},{hideInSearch:!0,title:"登录时间",dataIndex:"loginTime",ellipsis:!0},{hideInSearch:!0,title:"登录人部门",dataIndex:"orgName",ellipsis:!0},{hideInSearch:!0,title:"登录IP",dataIndex:"loginIp",ellipsis:!0},{hideInSearch:!0,title:"登录状态",dataIndex:"success",ellipsis:!0},{hideInSearch:!0,title:"操作",dataIndex:"action",width:100,fixed:"right",hideInTable(){return!c("login_history_view")}}];e.onMounted(f);async function i(t){var b,y;const{current:o,pageSize:g,loginName:u,loginTime:l,realName:n,orgName:I,loginIp:N}=t,r={pageSize:g,currentPage:o,doSearchTotal:!0};u&&Object.assign(r,{loginName:u}),n&&Object.assign(r,{realName:n}),I&&Object.assign(r,{orgName:I}),N&&Object.assign(r,{loginIp:N}),l&&l.length===2&&Object.assign(r,{loginStartTime:l[0].format("YYYY-MM-DD HH:mm:ss"),loginEndTime:l[1].format("YYYY-MM-DD HH:mm:ss")});const x=await S(r);return{success:x.success,data:((b=x.data)==null?void 0:b.records)??[],total:((y=x.data)==null?void 0:y.total)??0}}function f(){d.value.reload()}function h(t){s.value=!0,m.value=t}return(t,o)=>{const g=w.PubinfoIcon,u=p.Space;return e.openBlock(),e.createElementBlock("div",Y,[e.createVNode(e.unref(C.ProTable),{ref_key:"tableRef",ref:d,"row-key":"id",request:i,columns:_,"auto-height":"",scroll:{x:1e3}},{bodyCell:e.withCtx(({column:l,record:n})=>[l.dataIndex==="success"?(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("i",{class:e.normalizeClass(["status-mark",[{active:n.success}]])},null,2),e.createElementVNode("span",H,e.toDisplayString(n.success?"成功":"失败"),1)])):e.createCommentVNode("v-if",!0),l.dataIndex==="action"?(e.openBlock(),e.createBlock(u,{key:1},{default:e.withCtx(()=>[e.createElementVNode("a",{class:"flex items-center",onClick:()=>h(n)},[e.createVNode(g,{name:"view",class:"text-20px"}),o[1]||(o[1]=e.createElementVNode("span",{class:"ml-4px"},"查看",-1))],8,B)]),_:2},1024)):e.createCommentVNode("v-if",!0)]),_:1},512),e.createVNode(P,{visible:e.unref(s),data:e.unref(m),onClose:o[0]||(o[0]=l=>s.value=!1)},null,8,["visible","data"])])}}}),E=T._export_sfc(j,[["__scopeId","data-v-bc85e872"]]);exports.default=E;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("ant-design-vue/es"),V=require("pubinfo"),e=require("vue"),I=require("./request-DML6P6cf.cjs"),C=require("@pubinfo/pro-components"),v=require("./browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function D(a,d){return I.basic.Post("/log/operate/page",a,{headers:{"Content-Type":"application/json"}})}const S={class:"detail-info"},k=e.defineComponent({__name:"operateHistoryDetail",props:{visible:Boolean,data:Object},emits:["close"],setup(a,{emit:d}){const c=d;function s(){c("close")}return(f,b)=>{const r=m.DescriptionsItem,h=m.Descriptions,x=m.Drawer;return e.openBlock(),e.createBlock(x,{open:a.visible,title:"操作日志",placement:"right",width:900,"footer-style":{textAlign:"right"},onClose:s},{default:e.withCtx(()=>[e.createElementVNode("div",S,[e.createVNode(h,{column:2},{default:e.withCtx(()=>[e.createVNode(r,{label:"操作说明"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.title),1)]}),_:1}),e.createVNode(r,{label:"操作类型"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.operateType),1)]}),_:1}),e.createVNode(r,{label:"操作时间"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.operateTime),1)]}),_:1}),e.createVNode(r,{label:"操作模块"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.moduleName),1)]}),_:1}),e.createVNode(r,{label:"请求参数"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.requestParams),1)]}),_:1}),e.createVNode(r,{label:"请求方法"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.requestMethod),1)]}),_:1}),e.createVNode(r,{label:"请求地址"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.requestUri),1)]}),_:1}),e.createVNode(r,{label:"操作人IP"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.remoteAddr),1)]}),_:1}),e.createVNode(r,{label:"服务端IP"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.serverAddr),1)]}),_:1}),e.createVNode(r,{label:"是否异常"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)!=null&&t.success?"否":"是"),1)]}),_:1}),e.createVNode(r,{label:"执行时间"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.executeTime)+"ms ",1)]}),_:1}),e.createVNode(r,{label:"操作设备/操作系统类型"},{default:e.withCtx(()=>{var t;return[e.createTextVNode(e.toDisplayString((t=a.data)==null?void 0:t.deviceType),1)]}),_:1}),e.createVNode(r,{label:"浏览器名称"},{default:e.withCtx(()=>{var t;return[e.createVNode(v._sfc_main,{"browser-name":(t=a.data)==null?void 0:t.browserName},null,8,["browser-name"])]}),_:1})]),_:1})])]),_:1},8,["open"])}}}),P=T._export_sfc(k,[["__scopeId","data-v-9adf70de"]]),q={"w-full":"","h-full":"","py-10px":"","px-10px":"",flex:"","flex-col":""},Y={key:0,class:"flex items-center"},H={class:"ml-4px"},O=["onClick"],B=e.defineComponent({name:"OperateHistory",__name:"operate_history",setup(a){const{auth:d}=V.useAuth(),c=e.ref(),s=e.ref(!1),f=e.ref(),b=[{valueType:"a-input",hideInTable:!0,title:"模块标题",dataIndex:"moduleName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-input",hideInTable:!0,title:"操作人姓名 ",dataIndex:"realName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-input",hideInTable:!0,title:"操作人账号 ",dataIndex:"loginName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-input",hideInTable:!0,title:"部门",dataIndex:"orgName",fieldProps:{placeholder:"请输入",allowClear:!0}},{valueType:"a-range-picker",hideInTable:!0,title:"操作时间",dataIndex:"operateTime",fieldProps:{placeholder:["开始时间","结束时间"],showTime:!0,format:"YYYY-MM-DD HH:mm:ss",allowClear:!0}},{hideInSearch:!0,width:60,title:"序号",customRender:({index:t})=>t+1},{hideInSearch:!0,title:"模块标题",dataIndex:"moduleName",ellipsis:!0},{hideInSearch:!0,width:400,title:"来源渠道",dataIndex:"requestUri",ellipsis:!0},{hideInSearch:!0,title:"操作时间",dataIndex:"operateTime",ellipsis:!0},{hideInSearch:!0,title:"操作人姓名",dataIndex:"realName",ellipsis:!0},{hideInSearch:!0,title:"操作人账号",dataIndex:"loginName",ellipsis:!0},{hideInSearch:!0,title:"操作人部门",dataIndex:"orgName",ellipsis:!0},{hideInSearch:!0,title:"操作状态",dataIndex:"success",ellipsis:!0},{hideInSearch:!0,title:"操作",dataIndex:"action",width:100,fixed:"right",hideInTable(){return!d("operate_history_view")}}];e.onMounted(h);async function r(t){var w,y;const{current:l,pageSize:N,moduleName:u,realName:o,loginName:i,orgName:g,operateTime:p}=t,n={pageSize:N,currentPage:l,doSearchTotal:!0};u&&Object.assign(n,{moduleName:u}),o&&Object.assign(n,{realName:o}),g&&Object.assign(n,{orgName:g}),i&&Object.assign(n,{loginName:i}),p&&p.length===2&&Object.assign(n,{operateStartTime:p[0].format("YYYY-MM-DD HH:mm:ss"),operateEndTime:p[1].format("YYYY-MM-DD HH:mm:ss")});const _=await D(n);return{success:_.success,data:((w=_.data)==null?void 0:w.records)??[],total:((y=_.data)==null?void 0:y.total)??0}}function h(){c.value.reload()}function x(t){s.value=!0,f.value=t}return(t,l)=>{const N=V.PubinfoIcon,u=m.Space;return e.openBlock(),e.createElementBlock("div",q,[e.createVNode(e.unref(C.ProTable),{ref_key:"tableRef",ref:c,"row-key":"id",request:r,columns:b,"auto-height":"",scroll:{x:1e3}},{bodyCell:e.withCtx(({column:o,record:i})=>[o.dataIndex==="success"?(e.openBlock(),e.createElementBlock("div",Y,[e.createElementVNode("i",{class:e.normalizeClass(["status-mark",[{active:i.success}]])},null,2),e.createElementVNode("span",H,e.toDisplayString(i.success?"正常":"异常"),1)])):e.createCommentVNode("v-if",!0),o.dataIndex==="action"?(e.openBlock(),e.createBlock(u,{key:1},{default:e.withCtx(()=>[e.createElementVNode("a",{class:"flex items-center",onClick:()=>x(i)},[e.createVNode(N,{name:"view",class:"text-20px"}),l[1]||(l[1]=e.createElementVNode("span",{class:"ml-4px"},"查看",-1))],8,O)]),_:2},1024)):e.createCommentVNode("v-if",!0)]),_:1},512),e.createVNode(P,{visible:e.unref(s),data:e.unref(f),onClose:l[0]||(l[0]=o=>s.value=!1)},null,8,["visible","data"])])}}}),M=T._export_sfc(B,[["__scopeId","data-v-4495d4fd"]]);exports.default=M;
@@ -1 +0,0 @@
1
- "use strict";const t=require("./request-DML6P6cf.cjs");function u(e,o){return t.basic.Delete("/rbac/pubRoleGroup/delete",{},{params:{...e}})}function p(e,o){return t.basic.Get("/rbac/pubRoleGroup/getAll",{params:{...e}})}function r(e,o){return t.basic.Get("/rbac/pubRoleGroup/getById",{params:{...e}})}function a(e,o){return t.basic.Post("/rbac/pubRoleGroup/pageQuery",e,{headers:{"Content-Type":"application/json"}})}function b(e,o){return t.basic.Post("/rbac/pubRoleGroup/save",e,{headers:{"Content-Type":"application/json"},...o||{}})}function c(e,o){return t.basic.Post("/rbac/pubRoleGroup/update",e,{headers:{"Content-Type":"application/json"},...o||{}})}exports.deleteRbacPubRoleGroupDelete=u;exports.getRbacPubRoleGroupGetAll=p;exports.getRbacPubRoleGroupGetById=r;exports.postRbacPubRoleGroupPageQuery=a;exports.postRbacPubRoleGroupSave=b;exports.postRbacPubRoleGroupUpdate=c;
@@ -1 +0,0 @@
1
- "use strict";const s=require("pubinfo"),c=s.readProject().request.basic;exports.basic=c;
@@ -1,14 +0,0 @@
1
- import { RbacPages } from '../interface';
2
- import { RouteRecordRaw } from '../../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
3
- /**
4
- * 根据传入的 `pages` 过滤路由
5
- */
6
- export declare function filterPages(options: {
7
- pages?: RbacPages;
8
- }): {
9
- children: RouteRecordRaw[];
10
- meta: {
11
- title: string;
12
- icon: string;
13
- };
14
- }[];
@@ -1,3 +0,0 @@
1
- import { RouteRecordRaw } from '../../../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
2
- declare const routes: RouteRecordRaw;
3
- export default routes;
@@ -1,3 +0,0 @@
1
- import { RouteRecordRaw } from '../../../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
2
- declare const routes: RouteRecordRaw;
3
- export default routes;
@@ -1,3 +0,0 @@
1
- import { RouteRecordRaw } from '../../../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
2
- declare const routes: RouteRecordRaw;
3
- export default routes;
@@ -1,3 +0,0 @@
1
- import { RouteRecordRaw } from '../../../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
2
- declare const routes: RouteRecordRaw;
3
- export default routes;
@@ -1,3 +0,0 @@
1
- import { RouteRecordRaw } from '../../../../../node_modules/.pnpm/vue-router@4.5.0_vue@3.5.13_typescript@5.8.2_/node_modules/vue-router';
2
- declare const routes: RouteRecordRaw;
3
- export default routes;
@@ -1 +0,0 @@
1
- "use strict";const p=require("ant-design-vue/es"),f=require("pubinfo"),e=require("vue"),h=require("./animation_item.vue_vue_type_script_setup_true_lang-DJntALjR.cjs"),y=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),x={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark:bg-stone-7"},b=["disabled","onClick"],g=e.defineComponent({__name:"HCheckList",props:{modelValue:{},options:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(d,{emit:u}){const n=d,c=u;e.watch(()=>n.modelValue,t=>{c("change",t)});function i(t){c("update:modelValue",t)}return(t,s)=>{const m=f.PubinfoIcon;return e.openBlock(),e.createElementBlock("div",x,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,o=>(e.openBlock(),e.createElementBlock("button",{key:o.value,disabled:t.disabled||o.disabled,class:e.normalizeClass(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled:cursor-not-allowed disabled:opacity-50 hover:not-disabled:(bg-ui-primary text-ui-text)",{"text-ui-text bg-ui-primary":t.modelValue===o.value}]),onClick:a=>i(o.value)},[o.icon?(e.openBlock(),e.createBlock(m,{key:0,name:o.icon},null,8,["name"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.label),1)],64))],10,b))),128))])}}}),B={class:"flex flex-col"},V={class:"flex flex-row items-center justify-between h-24px"},C={class:"flex flex-row items-center"},w={class:"text-[#4E5969] text-[14px] dark:text-[#C9CDD4]"},E={class:"h-full w-[75%] rounded-[8px] jb flex justify-center"},I=e.defineComponent({name:"SetItem",__name:"setItem",props:{name:{default:""},descripe:{default:""},type:{default:""},open:{type:Boolean,default:!1},activeStyle:{default:""},styleOptions:{default:()=>[]},lightAnimationData:{default:""},darkAnimationData:{default:""}},emits:["change"],setup(d,{emit:u}){const n=d,c=u,i=e.ref(n.open),t=e.ref(n.activeStyle),s=e.ref();function m(){var a;s.value&&((a=s.value)==null||a.play())}function o(){var a;s.value&&((a=s.value)==null||a.stop())}return e.watch(()=>i.value,()=>{c("change",i.value)}),e.watch(()=>t.value,()=>{c("change",t.value)}),(a,l)=>{const _=f.PubinfoIcon,k=p.Tooltip,v=p.Switch;return e.openBlock(),e.createElementBlock("div",B,[e.createElementVNode("div",V,[e.createElementVNode("div",C,[e.createElementVNode("span",w,e.toDisplayString(n.name),1),n.descripe?(e.openBlock(),e.createBlock(k,{key:0,title:n.descripe},{default:e.withCtx(()=>[e.createVNode(_,{name:"i-ri-question-line",class:"text-[#4E5969] dark:text-[#C9CDD4]"})]),_:1},8,["title"])):e.createCommentVNode("v-if",!0)]),n.type==="switch"?(e.openBlock(),e.createBlock(v,{key:0,checked:e.unref(i),"onUpdate:checked":l[0]||(l[0]=r=>e.isRef(i)?i.value=r:null),"checked-children":"开启","un-checked-children":"关闭"},null,8,["checked"])):e.createCommentVNode("v-if",!0),n.type==="check"?(e.openBlock(),e.createBlock(g,{key:1,modelValue:e.unref(t),"onUpdate:modelValue":l[1]||(l[1]=r=>e.isRef(t)?t.value=r:null),class:"custom_style h-24px",options:a.styleOptions},null,8,["modelValue","options"])):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",{class:"mt-[16px] item_ani flex-1 dark:bg-[#3a3e43]! dark:border-transparent!",onMouseenter:l[2]||(l[2]=r=>m()),onMouseleave:l[3]||(l[3]=r=>o())},[e.createElementVNode("div",E,[e.createVNode(h._sfc_main,{ref_key:"animateItem",ref:s,"light-animation-data":n.lightAnimationData,"dark-animation-data":n.darkAnimationData},null,8,["light-animation-data","dark-animation-data"])])],32)])}}}),N=y._export_sfc(I,[["__scopeId","data-v-3e496aab"]]);exports.SetItem=N;
@@ -1 +0,0 @@
1
- "use strict";const t=require("./request-DML6P6cf.cjs");function e(s){return t.basic.Get("/rbac/pubDataPermissions/dataPermissionList",{})}function i(s,a){return t.basic.Delete("/rbac/pubDataPermissions/delete",{},{params:{...s}})}function r(s,a){return t.basic.Get("/rbac/pubDataPermissions/getById",{params:{...s}})}function n(s,a){return t.basic.Post("/rbac/pubDataPermissions/getUserOrgDataPermissionList",{},{params:{...s}})}function o(s,a){return t.basic.Post("/rbac/pubDataPermissions/pageQuery",s,{headers:{"Content-Type":"application/json"}})}function b(s,a){return t.basic.Post("/rbac/pubDataPermissions/save",s,{headers:{"Content-Type":"application/json"},...a||{}})}function P(s,a){return t.basic.Post("/rbac/pubDataPermissions/update",s,{headers:{"Content-Type":"application/json"},...a||{}})}exports.deleteRbacPubDataPermissionsDelete=i;exports.getRbacPubDataPermissionsDataPermissionList=e;exports.getRbacPubDataPermissionsGetById=r;exports.postRbacPubDataPermissionsGetUserOrgDataPermissionList=n;exports.postRbacPubDataPermissionsPageQuery=o;exports.postRbacPubDataPermissionsSave=b;exports.postRbacPubDataPermissionsUpdate=P;
@@ -1 +0,0 @@
1
- export { useSettingsStore } from 'pubinfo';