@pubinfo/module-rbac 2.0.0-beta.3 → 2.0.0-beta.5

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 (337) hide show
  1. package/es/OrgSelector.vue_vue_type_script_setup_true_lang-DV8KkpJD.js +567 -0
  2. package/es/_baseClone-GtUoMmZh.js +191 -0
  3. package/es/_commonjsHelpers-C6fGbg64.js +6 -0
  4. package/es/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  5. package/es/animation_item.vue_vue_type_script_setup_true_lang-CNTrygHf.js +4864 -0
  6. package/es/api/modules/assist/gonggaofuwu.d.ts +43 -0
  7. package/es/api/modules/assist/index.d.ts +3 -0
  8. package/es/api/modules/assist/qunzujiekou.d.ts +36 -0
  9. package/es/api/modules/assist/quyujiekou.d.ts +36 -0
  10. package/es/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
  11. package/es/api/modules/configData/index.d.ts +3 -0
  12. package/es/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
  13. package/es/api/modules/configData/zidianfuwu.d.ts +57 -0
  14. package/es/api/modules/log/caozuorizhifuwu.d.ts +15 -0
  15. package/es/api/modules/log/denglurizhifuwu.d.ts +15 -0
  16. package/es/api/modules/log/index.d.ts +2 -0
  17. package/es/api/modules/rbac/gangweijiekou.d.ts +36 -0
  18. package/es/api/modules/rbac/index.d.ts +11 -0
  19. package/es/api/modules/rbac/jiaosejiekou.d.ts +50 -0
  20. package/es/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
  21. package/es/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
  22. package/es/api/modules/rbac/yonghujiekou.d.ts +85 -0
  23. package/es/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
  24. package/es/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
  25. package/es/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
  26. package/es/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
  27. package/es/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
  28. package/es/api/modules/rbac/zuzhijiekou.d.ts +64 -0
  29. package/es/api/request.d.ts +1 -0
  30. package/es/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +38 -0
  31. package/es/cloneDeep-DWP4OxCI.js +8 -0
  32. package/es/components/GroupSelector/index.vue.d.ts +20 -0
  33. package/es/components/OrgTree/index.vue.d.ts +5 -0
  34. package/es/components/OrgUserSelector/OrgSelector.vue.d.ts +68 -0
  35. package/es/components/OrgUserSelector/UserSelector.vue.d.ts +72 -0
  36. package/es/components/OrgUserSelector/index.d.ts +8 -0
  37. package/es/components/OrgUserSelector/provider.d.ts +24 -0
  38. package/es/components/ResourceSelector/enum.d.ts +5 -0
  39. package/es/components/ResourceSelector/hooks/useAppAndResource.d.ts +29 -0
  40. package/es/components/ResourceSelector/index.vue.d.ts +26 -0
  41. package/es/composables/useLottie.d.ts +11 -0
  42. package/es/enum-BEHz_Q18.js +74 -0
  43. package/es/enum-C9ihxJe7.js +4 -0
  44. package/es/enum-CTUzwCYG.js +4 -0
  45. package/es/enum-DDKThkSw.js +24 -0
  46. package/es/gangweijiekou-BxJq_m0o.js +46 -0
  47. package/es/index-BDrI8Oyk.js +685 -0
  48. package/es/index-BIfx_Xrr.js +303 -0
  49. package/es/index-Bl4v-7On.js +125 -0
  50. package/es/index-BsoyF96V.js +131 -0
  51. package/es/index-Bz9QeL8M.js +399 -0
  52. package/es/index-C2dINi50.js +634 -0
  53. package/es/index-C7QJHUwa.js +30 -0
  54. package/es/index-CBMCWEIQ.js +274 -0
  55. package/es/index-CDHVSKIo.js +18588 -0
  56. package/es/index-CFPhIFyG.js +140 -0
  57. package/es/index-CYt7363u.js +874 -0
  58. package/es/index-CgiGLpzT.js +317 -0
  59. package/es/index-CsHj-xDw.js +283 -0
  60. package/es/index-D5T_4btx.js +862 -0
  61. package/es/index-DY1mOFzi.js +455 -0
  62. package/es/index-DcvR6q4y.js +1246 -0
  63. package/es/index-DuVeXn9R.js +409 -0
  64. package/es/index-Dvq9O5uC.js +164 -0
  65. package/es/index-F-kmM1iD.js +181 -0
  66. package/es/index-Gw-_3-qN.js +785 -0
  67. package/es/index-JFZ3GtN-.js +1631 -0
  68. package/es/index-U-g1yyH-.js +703 -0
  69. package/es/index-gCLgMcJu.js +462 -0
  70. package/es/index-gHIfcbvd.js +168 -0
  71. package/es/index-kFyBHYs8.js +389 -0
  72. package/es/index-uSBZoA3n.js +177 -0
  73. package/es/index.d.ts +7 -0
  74. package/es/index.js +6 -0
  75. package/es/interface.d.ts +47 -0
  76. package/es/itemlist-BRhA5jzY.js +369 -0
  77. package/es/jiaosejiekou-BfY4h7uI.js +58 -0
  78. package/es/login_history-CuQv9Iw3.js +430 -0
  79. package/es/operate_history-CGP-1Xy2.js +468 -0
  80. package/es/pubJiaosezukongzhiqi-CvYfc8Uz.js +57 -0
  81. package/es/request-DQLgc7lT.js +5 -0
  82. package/es/routes/index.d.ts +14 -0
  83. package/es/routes/modules/authority.manage.menu.d.ts +3 -0
  84. package/es/routes/modules/log.manage.menu.d.ts +3 -0
  85. package/es/routes/modules/safe.manage.menu.d.ts +3 -0
  86. package/es/routes/modules/stylesetting.manage.menu.d.ts +3 -0
  87. package/es/routes/modules/system.manage.menu.d.ts +3 -0
  88. package/es/setItem-C1_olVDY.js +152 -0
  89. package/es/shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js +65 -0
  90. package/es/stores/index.d.ts +1 -0
  91. package/es/style.css +1 -0
  92. package/es/useAppAndResource-D_b19V4t.js +55 -0
  93. package/es/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +14 -0
  94. package/es/views/blackWhiteList/enum.d.ts +7 -0
  95. package/es/views/blackWhiteList/index.vue.d.ts +1535 -0
  96. package/es/views/blackWhiteList/types.d.ts +4 -0
  97. package/es/views/breadcrumb_setting/animationData.d.ts +7 -0
  98. package/es/views/breadcrumb_setting/index.vue.d.ts +2 -0
  99. package/es/views/components/HCheckList.vue.d.ts +20 -0
  100. package/es/views/components/animation_item.vue.d.ts +14 -0
  101. package/es/views/components/setItem.vue.d.ts +61 -0
  102. package/es/views/data-permission/enum.d.ts +34 -0
  103. package/es/views/dictionary/components/drawerDictionary.vue.d.ts +12 -0
  104. package/es/views/dictionary/components/drawerDictionaryItem.vue.d.ts +12 -0
  105. package/es/views/dictionary/enum.d.ts +8 -0
  106. package/es/views/dictionary/index.vue.d.ts +1532 -0
  107. package/es/views/dictionary/itemlist.vue.d.ts +1532 -0
  108. package/es/views/group/components/drawerGroup.vue.d.ts +12 -0
  109. package/es/views/group/enum.d.ts +21 -0
  110. package/es/views/group/index.vue.d.ts +1532 -0
  111. package/es/views/layout_setting/index.vue.d.ts +2 -0
  112. package/es/views/log_center/components/browserType.vue.d.ts +12 -0
  113. package/es/views/log_center/components/loginHistoryDetail.vue.d.ts +14 -0
  114. package/es/views/log_center/components/operateHistoryDetail.vue.d.ts +14 -0
  115. package/es/views/log_center/login_history.vue.d.ts +1511 -0
  116. package/es/views/log_center/operate_history.vue.d.ts +1511 -0
  117. package/es/views/menu_setting/animationData.d.ts +13 -0
  118. package/es/views/menu_setting/index.vue.d.ts +2 -0
  119. package/es/views/organization/components/drawerOrganization.vue.d.ts +12 -0
  120. package/es/views/organization/components/drawerRole.vue.d.ts +36 -0
  121. package/es/views/organization/components/roleSelect.vue.d.ts +14 -0
  122. package/es/views/organization/enum.d.ts +25 -0
  123. package/es/views/organization/index.vue.d.ts +73 -0
  124. package/es/views/other_setting/animationData.d.ts +7 -0
  125. package/es/views/other_setting/index.vue.d.ts +2 -0
  126. package/es/views/other_setting/interface.d.ts +23 -0
  127. package/es/views/page_animation_setting/animationData.d.ts +11 -0
  128. package/es/views/page_animation_setting/index.vue.d.ts +2 -0
  129. package/es/views/page_w_setting/index.vue.d.ts +2 -0
  130. package/es/views/position/components/drawerPosition.vue.d.ts +12 -0
  131. package/es/views/position/enum.d.ts +8 -0
  132. package/es/views/position/index.vue.d.ts +1532 -0
  133. package/es/views/region/components/drawerRegion.vue.d.ts +12 -0
  134. package/es/views/region/enum.d.ts +22 -0
  135. package/es/views/region/index.vue.d.ts +1533 -0
  136. package/es/views/resource/components/ResourceEdit.vue.d.ts +16 -0
  137. package/es/views/resource/components/RoleRelation.vue.d.ts +6 -0
  138. package/es/views/resource/enum.d.ts +30 -0
  139. package/es/views/resource/index.vue.d.ts +1549 -0
  140. package/es/views/resource/interface.d.ts +6 -0
  141. package/es/views/role/components/ResourceRelation.vue.d.ts +1515 -0
  142. package/es/views/role/enum.d.ts +25 -0
  143. package/es/views/role/interface.d.ts +6 -0
  144. package/es/views/role_group/components/drawerRole.vue.d.ts +37 -0
  145. package/es/views/role_group/components/roleSelect.vue.d.ts +14 -0
  146. package/es/views/role_group/enum.d.ts +21 -0
  147. package/es/views/role_group/index.vue.d.ts +1557 -0
  148. package/es/views/role_group/interface.d.ts +6 -0
  149. package/es/views/safe_setting/index.vue.d.ts +4 -0
  150. package/es/views/tabbar_setting/animationData.d.ts +11 -0
  151. package/es/views/tabbar_setting/index.vue.d.ts +2 -0
  152. package/es/views/tenant/interface.d.ts +6 -0
  153. package/es/views/theme_setting/index.vue.d.ts +2 -0
  154. package/es/views/toolbar_setting/animationData.d.ts +17 -0
  155. package/es/views/toolbar_setting/index.vue.d.ts +2 -0
  156. package/es/views/user/components/UserAuthorization.vue.d.ts +39 -0
  157. package/es/views/user/components/UserEdit.vue.d.ts +16 -0
  158. package/es/views/user/components/roleSelect.vue.d.ts +14 -0
  159. package/es/views/user/enum.d.ts +13 -0
  160. package/es/views/user/index.vue.d.ts +1586 -0
  161. package/es/views/user/interface.d.ts +40 -0
  162. package/es/views/watermark_setting/animationData.d.ts +3 -0
  163. package/es/views/watermark_setting/index.vue.d.ts +31 -0
  164. package/es/xitongpeizhifuwu-C1Vm-W1B.js +23 -0
  165. package/es/zidianfuwu-yCWHhOfO.js +65 -0
  166. package/es/ziyuanjiekou-DhrAbneq.js +69 -0
  167. package/es/zuzhijiaosebiaokongzhiqi-B1g74RqL.js +28 -0
  168. package/es/zuzhijiekou-PeZuFtCO.js +85 -0
  169. package/lib/OrgSelector.vue_vue_type_script_setup_true_lang-BI6dIQO9.cjs +1 -0
  170. package/lib/_baseClone-bvg2h-nB.cjs +1 -0
  171. package/lib/_commonjsHelpers-DwGv2jUC.cjs +1 -0
  172. package/lib/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
  173. package/lib/animation_item.vue_vue_type_script_setup_true_lang-DJntALjR.cjs +9 -0
  174. package/lib/api/modules/assist/gonggaofuwu.d.ts +43 -0
  175. package/lib/api/modules/assist/index.d.ts +3 -0
  176. package/lib/api/modules/assist/qunzujiekou.d.ts +36 -0
  177. package/lib/api/modules/assist/quyujiekou.d.ts +36 -0
  178. package/lib/api/modules/configData/heibaimingdanfuwu.d.ts +36 -0
  179. package/lib/api/modules/configData/index.d.ts +3 -0
  180. package/lib/api/modules/configData/xitongpeizhifuwu.d.ts +99 -0
  181. package/lib/api/modules/configData/zidianfuwu.d.ts +57 -0
  182. package/lib/api/modules/log/caozuorizhifuwu.d.ts +15 -0
  183. package/lib/api/modules/log/denglurizhifuwu.d.ts +15 -0
  184. package/lib/api/modules/log/index.d.ts +2 -0
  185. package/lib/api/modules/rbac/gangweijiekou.d.ts +36 -0
  186. package/lib/api/modules/rbac/index.d.ts +11 -0
  187. package/lib/api/modules/rbac/jiaosejiekou.d.ts +50 -0
  188. package/lib/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +43 -0
  189. package/lib/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +64 -0
  190. package/lib/api/modules/rbac/yonghujiekou.d.ts +85 -0
  191. package/lib/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +36 -0
  192. package/lib/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +29 -0
  193. package/lib/api/modules/rbac/ziyuanjiekou.d.ts +85 -0
  194. package/lib/api/modules/rbac/zuhuguanlijiekou.d.ts +36 -0
  195. package/lib/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +29 -0
  196. package/lib/api/modules/rbac/zuzhijiekou.d.ts +64 -0
  197. package/lib/api/request.d.ts +1 -0
  198. package/lib/browserType.vue_vue_type_script_setup_true_lang-BuTZw501.cjs +1 -0
  199. package/lib/cloneDeep-DKvAzXJU.cjs +1 -0
  200. package/lib/components/GroupSelector/index.vue.d.ts +20 -0
  201. package/lib/components/OrgTree/index.vue.d.ts +5 -0
  202. package/lib/components/OrgUserSelector/OrgSelector.vue.d.ts +68 -0
  203. package/lib/components/OrgUserSelector/UserSelector.vue.d.ts +72 -0
  204. package/lib/components/OrgUserSelector/index.d.ts +8 -0
  205. package/lib/components/OrgUserSelector/provider.d.ts +24 -0
  206. package/lib/components/ResourceSelector/enum.d.ts +5 -0
  207. package/lib/components/ResourceSelector/hooks/useAppAndResource.d.ts +29 -0
  208. package/lib/components/ResourceSelector/index.vue.d.ts +26 -0
  209. package/lib/composables/useLottie.d.ts +11 -0
  210. package/lib/enum-B-paw5p0.cjs +1 -0
  211. package/lib/enum-BFYGJ2YJ.cjs +1 -0
  212. package/lib/enum-BHDP2ejy.cjs +1 -0
  213. package/lib/enum-OwSMnw51.cjs +1 -0
  214. package/lib/gangweijiekou-DYYmkjys.cjs +1 -0
  215. package/lib/index-Apq1nfrg.cjs +1 -0
  216. package/lib/index-BOdrElTX.cjs +1 -0
  217. package/lib/index-BdQKw1uE.cjs +1 -0
  218. package/lib/index-BwkSE-Zz.cjs +1 -0
  219. package/lib/index-Bx53OKE6.cjs +1 -0
  220. package/lib/index-C151ukdL.cjs +1 -0
  221. package/lib/index-C3m3S7_Q.cjs +1 -0
  222. package/lib/index-CMf8N2mC.cjs +1 -0
  223. package/lib/index-CNtyqLTX.cjs +1 -0
  224. package/lib/index-Cm5xLy57.cjs +9 -0
  225. package/lib/index-D1vGtVqY.cjs +1 -0
  226. package/lib/index-D2gE9FFs.cjs +1 -0
  227. package/lib/index-D34uPnyD.cjs +1 -0
  228. package/lib/index-D7Awj4JU.cjs +1 -0
  229. package/lib/index-D9QyS2NB.cjs +1 -0
  230. package/lib/index-D9dMBtdM.cjs +1 -0
  231. package/lib/index-DBzHTy7k.cjs +1 -0
  232. package/lib/index-DG9uEqRG.cjs +1 -0
  233. package/lib/index-DQ8p9Bwg.cjs +1 -0
  234. package/lib/index-DUagbQoK.cjs +1 -0
  235. package/lib/index-D_APeiaQ.cjs +1 -0
  236. package/lib/index-DoCoA6Nr.cjs +1 -0
  237. package/lib/index-Dv-KtCh8.cjs +1 -0
  238. package/lib/index-F735VVe_.cjs +1 -0
  239. package/lib/index-Jc3VoxhA.cjs +1 -0
  240. package/lib/index-n5tzubbZ.cjs +1 -0
  241. package/lib/index.cjs +1 -0
  242. package/lib/index.d.ts +7 -0
  243. package/lib/interface.d.ts +47 -0
  244. package/lib/itemlist-BEyAbkw5.cjs +1 -0
  245. package/lib/jiaosejiekou-BNn96VFQ.cjs +1 -0
  246. package/lib/login_history-C25qj8eL.cjs +1 -0
  247. package/lib/operate_history-Bmg66_WI.cjs +1 -0
  248. package/lib/pubJiaosezukongzhiqi-fVUoXj6y.cjs +1 -0
  249. package/lib/request-DML6P6cf.cjs +1 -0
  250. package/lib/routes/index.d.ts +14 -0
  251. package/lib/routes/modules/authority.manage.menu.d.ts +3 -0
  252. package/lib/routes/modules/log.manage.menu.d.ts +3 -0
  253. package/lib/routes/modules/safe.manage.menu.d.ts +3 -0
  254. package/lib/routes/modules/stylesetting.manage.menu.d.ts +3 -0
  255. package/lib/routes/modules/system.manage.menu.d.ts +3 -0
  256. package/lib/setItem-DIzkZHtI.cjs +1 -0
  257. package/lib/shujuquanxianzhubiaokongzhiqi-C6sd8pC3.cjs +1 -0
  258. package/lib/stores/index.d.ts +1 -0
  259. package/lib/style.css +1 -0
  260. package/lib/useAppAndResource-ChvKK2DZ.cjs +1 -0
  261. package/lib/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +14 -0
  262. package/lib/views/blackWhiteList/enum.d.ts +7 -0
  263. package/lib/views/blackWhiteList/index.vue.d.ts +1535 -0
  264. package/lib/views/blackWhiteList/types.d.ts +4 -0
  265. package/lib/views/breadcrumb_setting/animationData.d.ts +7 -0
  266. package/lib/views/breadcrumb_setting/index.vue.d.ts +2 -0
  267. package/lib/views/components/HCheckList.vue.d.ts +20 -0
  268. package/lib/views/components/animation_item.vue.d.ts +14 -0
  269. package/lib/views/components/setItem.vue.d.ts +61 -0
  270. package/lib/views/data-permission/enum.d.ts +34 -0
  271. package/lib/views/dictionary/components/drawerDictionary.vue.d.ts +12 -0
  272. package/lib/views/dictionary/components/drawerDictionaryItem.vue.d.ts +12 -0
  273. package/lib/views/dictionary/enum.d.ts +8 -0
  274. package/lib/views/dictionary/index.vue.d.ts +1532 -0
  275. package/lib/views/dictionary/itemlist.vue.d.ts +1532 -0
  276. package/lib/views/group/components/drawerGroup.vue.d.ts +12 -0
  277. package/lib/views/group/enum.d.ts +21 -0
  278. package/lib/views/group/index.vue.d.ts +1532 -0
  279. package/lib/views/layout_setting/index.vue.d.ts +2 -0
  280. package/lib/views/log_center/components/browserType.vue.d.ts +12 -0
  281. package/lib/views/log_center/components/loginHistoryDetail.vue.d.ts +14 -0
  282. package/lib/views/log_center/components/operateHistoryDetail.vue.d.ts +14 -0
  283. package/lib/views/log_center/login_history.vue.d.ts +1511 -0
  284. package/lib/views/log_center/operate_history.vue.d.ts +1511 -0
  285. package/lib/views/menu_setting/animationData.d.ts +13 -0
  286. package/lib/views/menu_setting/index.vue.d.ts +2 -0
  287. package/lib/views/organization/components/drawerOrganization.vue.d.ts +12 -0
  288. package/lib/views/organization/components/drawerRole.vue.d.ts +36 -0
  289. package/lib/views/organization/components/roleSelect.vue.d.ts +14 -0
  290. package/lib/views/organization/enum.d.ts +25 -0
  291. package/lib/views/organization/index.vue.d.ts +73 -0
  292. package/lib/views/other_setting/animationData.d.ts +7 -0
  293. package/lib/views/other_setting/index.vue.d.ts +2 -0
  294. package/lib/views/other_setting/interface.d.ts +23 -0
  295. package/lib/views/page_animation_setting/animationData.d.ts +11 -0
  296. package/lib/views/page_animation_setting/index.vue.d.ts +2 -0
  297. package/lib/views/page_w_setting/index.vue.d.ts +2 -0
  298. package/lib/views/position/components/drawerPosition.vue.d.ts +12 -0
  299. package/lib/views/position/enum.d.ts +8 -0
  300. package/lib/views/position/index.vue.d.ts +1532 -0
  301. package/lib/views/region/components/drawerRegion.vue.d.ts +12 -0
  302. package/lib/views/region/enum.d.ts +22 -0
  303. package/lib/views/region/index.vue.d.ts +1533 -0
  304. package/lib/views/resource/components/ResourceEdit.vue.d.ts +16 -0
  305. package/lib/views/resource/components/RoleRelation.vue.d.ts +6 -0
  306. package/lib/views/resource/enum.d.ts +30 -0
  307. package/lib/views/resource/index.vue.d.ts +1549 -0
  308. package/lib/views/resource/interface.d.ts +6 -0
  309. package/lib/views/role/components/ResourceRelation.vue.d.ts +1515 -0
  310. package/lib/views/role/enum.d.ts +25 -0
  311. package/lib/views/role/interface.d.ts +6 -0
  312. package/lib/views/role_group/components/drawerRole.vue.d.ts +37 -0
  313. package/lib/views/role_group/components/roleSelect.vue.d.ts +14 -0
  314. package/lib/views/role_group/enum.d.ts +21 -0
  315. package/lib/views/role_group/index.vue.d.ts +1557 -0
  316. package/lib/views/role_group/interface.d.ts +6 -0
  317. package/lib/views/safe_setting/index.vue.d.ts +4 -0
  318. package/lib/views/tabbar_setting/animationData.d.ts +11 -0
  319. package/lib/views/tabbar_setting/index.vue.d.ts +2 -0
  320. package/lib/views/tenant/interface.d.ts +6 -0
  321. package/lib/views/theme_setting/index.vue.d.ts +2 -0
  322. package/lib/views/toolbar_setting/animationData.d.ts +17 -0
  323. package/lib/views/toolbar_setting/index.vue.d.ts +2 -0
  324. package/lib/views/user/components/UserAuthorization.vue.d.ts +39 -0
  325. package/lib/views/user/components/UserEdit.vue.d.ts +16 -0
  326. package/lib/views/user/components/roleSelect.vue.d.ts +14 -0
  327. package/lib/views/user/enum.d.ts +13 -0
  328. package/lib/views/user/index.vue.d.ts +1586 -0
  329. package/lib/views/user/interface.d.ts +40 -0
  330. package/lib/views/watermark_setting/animationData.d.ts +3 -0
  331. package/lib/views/watermark_setting/index.vue.d.ts +31 -0
  332. package/lib/xitongpeizhifuwu-r-I2Ogxj.cjs +1 -0
  333. package/lib/zidianfuwu-VChcnkm9.cjs +1 -0
  334. package/lib/ziyuanjiekou-CvKeunY5.cjs +1 -0
  335. package/lib/zuzhijiaosebiaokongzhiqi-DYI3Zu-M.cjs +1 -0
  336. package/lib/zuzhijiekou-CFQtYuGW.cjs +1 -0
  337. package/package.json +5 -4
package/lib/index.cjs ADDED
@@ -0,0 +1 @@
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 ADDED
@@ -0,0 +1,7 @@
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;
@@ -0,0 +1,47 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
1
+ "use strict";const s=require("pubinfo"),c=s.readProject().request.basic;exports.basic=c;
@@ -0,0 +1,14 @@
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
+ }[];
@@ -0,0 +1,3 @@
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;
@@ -0,0 +1,3 @@
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;
@@ -0,0 +1,3 @@
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;
@@ -0,0 +1,3 @@
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;
@@ -0,0 +1,3 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
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;
@@ -0,0 +1 @@
1
+ export { useSettingsStore } from 'pubinfo';