@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
@@ -0,0 +1,634 @@
1
+ import { Drawer as G, Form as ie, FormItem as ue, Input as ce, Select as de, Switch as pe, Textarea as me, Button as H, Tooltip as _e, Space as J, Segmented as fe, Tag as ge } from "ant-design-vue/es";
2
+ import { useAuth as ve, PubinfoIcon as Re } from "pubinfo";
3
+ import { PlusCircleOutlined as xe } from "@ant-design/icons-vue";
4
+ import { defineComponent as L, reactive as be, ref as x, createBlock as T, openBlock as d, unref as o, isRef as M, withCtx as s, createVNode as n, createElementVNode as O, createTextVNode as A, createElementBlock as w, Fragment as z, renderList as he, toDisplayString as C, computed as Ie, createCommentVNode as N, resolveDirective as ke, withDirectives as q } from "vue";
5
+ import "./request-DQLgc7lT.js";
6
+ import { g as we, p as ye, a as Ee, b as Se, c as De, d as Ce } from "./jiaosejiekou-BfY4h7uI.js";
7
+ import { ProTable as K } from "@pubinfo/pro-components";
8
+ import { message as Q, Badge as j, Modal as Oe } from "ant-design-vue";
9
+ import { u as Te } from "./useAppAndResource-D_b19V4t.js";
10
+ import { _ as $e } from "./index-Bz9QeL8M.js";
11
+ import { u as V } from "./index-C7QJHUwa.js";
12
+ import { p as Ue } from "./zuzhijiaosebiaokongzhiqi-B1g74RqL.js";
13
+ import { _ as Ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ var i = /* @__PURE__ */ ((b) => (b.ADD = "新增", b.EDIT = "修改", b.REMOVE = "删除", b.RESOURCE_RELATION = "分配查看", b))(i || {});
15
+ const X = [
16
+ {
17
+ label: "仅自己",
18
+ value: "1"
19
+ /* OWNER */
20
+ },
21
+ {
22
+ label: "全部可见",
23
+ value: "2"
24
+ /* ALL */
25
+ }
26
+ ], Pe = { class: "pt-10px" }, qe = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, Fe = {
27
+ key: 1,
28
+ class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
29
+ }, Me = /* @__PURE__ */ L({
30
+ name: "DrawerRole",
31
+ __name: "drawerRole",
32
+ emits: ["submit"],
33
+ setup(b, { expose: $, emit: y }) {
34
+ const _ = y, {
35
+ resourceModelRef: h,
36
+ selectedResources: U,
37
+ updateTreeDataAndResourceMap: E,
38
+ setSelectedResources: S,
39
+ updateSelectedResources: I,
40
+ clearSelectedResources: c,
41
+ openResourceModel: l
42
+ } = Te(), f = {
43
+ name: [
44
+ { required: !0, message: "请输入名称", trigger: "change" },
45
+ { min: 2, max: 32, message: "角色名称长度不能少于2位,不能超过32位", trigger: "change" }
46
+ ],
47
+ code: [
48
+ { required: !0, message: "请输入编号", trigger: "change" },
49
+ { min: 2, max: 32, message: "角色编码长度不能少于2位,不能超过32位", trigger: "change" }
50
+ ],
51
+ viewScope: [{ required: !0, message: "请选择可见范围", trigger: "change" }],
52
+ resourceIds: [{ required: !0, validator: p, trigger: ["blur", "change"] }]
53
+ };
54
+ function p(R, t) {
55
+ return t && t.length > 0 ? Promise.resolve() : Promise.reject(new Error("请选择所属资源"));
56
+ }
57
+ const a = be({
58
+ title: "",
59
+ type: ""
60
+ }), [m, u] = V(!1), v = x(), e = x({ enable: !0 });
61
+ async function g(R, t) {
62
+ if (a.title = R, R === i.EDIT) {
63
+ const D = await we({ id: t == null ? void 0 : t.id });
64
+ D.success && (e.value = D.data ?? {}, await E(""), e.value.resourceIds && I(e.value.resourceIds));
65
+ } else
66
+ e.value = {
67
+ enable: !0
68
+ }, c(), await E("");
69
+ u(!0);
70
+ }
71
+ const [P, W] = V(!1);
72
+ function Y() {
73
+ var t;
74
+ const R = a.title === i.EDIT ? ye : Ee;
75
+ (t = v.value) == null || t.validate().then(() => {
76
+ W(!0);
77
+ const D = { ...e.value };
78
+ R(D).then((k) => {
79
+ k.success && (Q.success(`${a.title}成功!`), u(!1), _("submit"));
80
+ }).finally(() => W(!1));
81
+ });
82
+ }
83
+ function B() {
84
+ e.value = {
85
+ enable: !0
86
+ }, u(!1);
87
+ }
88
+ function Z() {
89
+ e.value.resourceIds ? l(e.value.resourceIds) : l([]);
90
+ }
91
+ function ee(R) {
92
+ e.value.resourceIds = R.map((t) => t.id), S(R);
93
+ }
94
+ return $({
95
+ open: g
96
+ }), (R, t) => {
97
+ const D = ce, k = ue, te = de, oe = pe, ne = me, F = H, ae = _e, se = ie, le = J, re = G;
98
+ return d(), T(re, {
99
+ open: o(m),
100
+ "onUpdate:open": t[6] || (t[6] = (r) => M(m) ? m.value = r : null),
101
+ title: `${o(a).title}角色`,
102
+ placement: "right",
103
+ width: 600,
104
+ "destroy-on-close": "",
105
+ "footer-style": { textAlign: "right" },
106
+ onClose: B
107
+ }, {
108
+ footer: s(() => [
109
+ n(le, null, {
110
+ default: s(() => [
111
+ n(F, { onClick: B }, {
112
+ default: s(() => t[8] || (t[8] = [
113
+ A(" 取消 ")
114
+ ])),
115
+ _: 1
116
+ /* STABLE */
117
+ }),
118
+ n(F, {
119
+ type: "primary",
120
+ loading: o(P),
121
+ onClick: t[5] || (t[5] = (r) => Y())
122
+ }, {
123
+ default: s(() => t[9] || (t[9] = [
124
+ A(" 提交 ")
125
+ ])),
126
+ _: 1
127
+ /* STABLE */
128
+ }, 8, ["loading"])
129
+ ]),
130
+ _: 1
131
+ /* STABLE */
132
+ })
133
+ ]),
134
+ default: s(() => [
135
+ n(se, {
136
+ ref_key: "formRef",
137
+ ref: v,
138
+ model: o(e),
139
+ rules: f,
140
+ "label-col": { span: 4 }
141
+ }, {
142
+ default: s(() => [
143
+ n(k, {
144
+ label: "角色名称",
145
+ name: "name"
146
+ }, {
147
+ default: s(() => [
148
+ n(D, {
149
+ value: o(e).name,
150
+ "onUpdate:value": t[0] || (t[0] = (r) => o(e).name = r),
151
+ maxlength: 32
152
+ }, null, 8, ["value"])
153
+ ]),
154
+ _: 1
155
+ /* STABLE */
156
+ }),
157
+ n(k, {
158
+ label: "角色编号",
159
+ name: "code"
160
+ }, {
161
+ default: s(() => [
162
+ n(D, {
163
+ value: o(e).code,
164
+ "onUpdate:value": t[1] || (t[1] = (r) => o(e).code = r),
165
+ disabled: o(a).title === o(i).EDIT,
166
+ maxlength: 32
167
+ }, null, 8, ["value", "disabled"])
168
+ ]),
169
+ _: 1
170
+ /* STABLE */
171
+ }),
172
+ n(k, {
173
+ label: "可见范围",
174
+ name: "viewScope"
175
+ }, {
176
+ default: s(() => [
177
+ n(te, {
178
+ value: o(e).viewScope,
179
+ "onUpdate:value": t[2] || (t[2] = (r) => o(e).viewScope = r),
180
+ options: o(X)
181
+ }, null, 8, ["value", "options"])
182
+ ]),
183
+ _: 1
184
+ /* STABLE */
185
+ }),
186
+ n(k, { label: "是否启用" }, {
187
+ default: s(() => [
188
+ n(oe, {
189
+ checked: o(e).enable,
190
+ "onUpdate:checked": t[3] || (t[3] = (r) => o(e).enable = r)
191
+ }, null, 8, ["checked"])
192
+ ]),
193
+ _: 1
194
+ /* STABLE */
195
+ }),
196
+ n(k, { label: "角色描述" }, {
197
+ default: s(() => [
198
+ n(ne, {
199
+ value: o(e).description,
200
+ "onUpdate:value": t[4] || (t[4] = (r) => o(e).description = r),
201
+ maxlength: 250,
202
+ "show-count": ""
203
+ }, null, 8, ["value"])
204
+ ]),
205
+ _: 1
206
+ /* STABLE */
207
+ }),
208
+ n(k, {
209
+ label: "所属资源",
210
+ name: "resourceIds"
211
+ }, {
212
+ default: s(() => [
213
+ n(F, {
214
+ type: "primary",
215
+ onClick: Z
216
+ }, {
217
+ default: s(() => t[7] || (t[7] = [
218
+ A(" 编辑资源 ")
219
+ ])),
220
+ _: 1
221
+ /* STABLE */
222
+ }),
223
+ O("div", Pe, [
224
+ (d(!0), w(
225
+ z,
226
+ null,
227
+ he(o(U), (r) => (d(), w(
228
+ z,
229
+ { key: r },
230
+ [
231
+ r.name.length > 20 ? (d(), T(ae, {
232
+ key: 0,
233
+ title: r.name
234
+ }, {
235
+ default: s(() => [
236
+ O(
237
+ "span",
238
+ qe,
239
+ C(`${r.name.slice(0, 20)}...`),
240
+ 1
241
+ /* TEXT */
242
+ )
243
+ ]),
244
+ _: 2
245
+ /* DYNAMIC */
246
+ }, 1032, ["title"])) : (d(), w(
247
+ "span",
248
+ Fe,
249
+ C(r.name),
250
+ 1
251
+ /* TEXT */
252
+ ))
253
+ ],
254
+ 64
255
+ /* STABLE_FRAGMENT */
256
+ ))),
257
+ 128
258
+ /* KEYED_FRAGMENT */
259
+ ))
260
+ ])
261
+ ]),
262
+ _: 1
263
+ /* STABLE */
264
+ })
265
+ ]),
266
+ _: 1
267
+ /* STABLE */
268
+ }, 8, ["model"]),
269
+ n(
270
+ $e,
271
+ {
272
+ ref_key: "resourceModelRef",
273
+ ref: h,
274
+ onSelect: ee
275
+ },
276
+ null,
277
+ 512
278
+ /* NEED_PATCH */
279
+ )
280
+ ]),
281
+ _: 1
282
+ /* STABLE */
283
+ }, 8, ["open", "title"]);
284
+ };
285
+ }
286
+ }), Ne = { class: "mb-20px p-x-15px" }, Ve = {
287
+ key: 0,
288
+ class: "flex items-center"
289
+ }, Le = { class: "mr-4px" }, We = /* @__PURE__ */ L({
290
+ name: "ResourceRelation",
291
+ __name: "ResourceRelation",
292
+ setup(b, { expose: $ }) {
293
+ const y = x(["用户自选角色", "组织基础角色"]), _ = x(y.value[0]), [h, U] = V(!1), E = x(""), S = x();
294
+ function I() {
295
+ S.value.fetch();
296
+ }
297
+ async function c(p) {
298
+ var g, P;
299
+ p.pageSize = 15, p.roleId = E.value;
300
+ const { current: a, pageSize: m, ...u } = p, e = await (_.value === "用户自选角色" ? Se : Ue)({
301
+ currentPage: a,
302
+ pageSize: m,
303
+ ...u
304
+ });
305
+ return {
306
+ success: e.success,
307
+ data: ((g = e.data) == null ? void 0 : g.records) ?? [],
308
+ total: ((P = e.data) == null ? void 0 : P.total) ?? 0
309
+ };
310
+ }
311
+ const l = Ie(() => _.value === "用户自选角色" ? [
312
+ {
313
+ title: "用户名称",
314
+ dataIndex: "realName",
315
+ ellipsis: !0
316
+ },
317
+ {
318
+ title: "组织名称",
319
+ dataIndex: "orgName",
320
+ ellipsis: !0
321
+ }
322
+ ] : [
323
+ {
324
+ title: "组织名称",
325
+ dataIndex: "name",
326
+ ellipsis: !0
327
+ }
328
+ ]);
329
+ function f(p) {
330
+ E.value = p.id || "", U(!0);
331
+ }
332
+ return $({
333
+ open: f
334
+ }), (p, a) => {
335
+ const m = fe, u = ge, v = G;
336
+ return d(), T(v, {
337
+ open: o(h),
338
+ "onUpdate:open": a[1] || (a[1] = (e) => M(h) ? h.value = e : null),
339
+ title: "分配查看",
340
+ placement: "right",
341
+ width: 720,
342
+ "destroy-on-close": "",
343
+ "footer-style": { textAlign: "right" },
344
+ "body-style": { paddingLeft: 0, paddingRight: 0 }
345
+ }, {
346
+ default: s(() => [
347
+ O("div", Ne, [
348
+ n(m, {
349
+ value: o(_),
350
+ "onUpdate:value": a[0] || (a[0] = (e) => M(_) ? _.value = e : null),
351
+ block: "",
352
+ options: o(y),
353
+ onChange: I
354
+ }, null, 8, ["value", "options"])
355
+ ]),
356
+ n(o(K), {
357
+ ref_key: "protable",
358
+ ref: S,
359
+ "row-key": "id",
360
+ request: c,
361
+ columns: o(l),
362
+ search: !1,
363
+ toolbar: !1,
364
+ "auto-height": { offset: 50 }
365
+ }, {
366
+ bodyCell: s(({ column: e, record: g }) => [
367
+ e.dataIndex === "name" ? (d(), w("div", Ve, [
368
+ O(
369
+ "span",
370
+ Le,
371
+ C(g.name),
372
+ 1
373
+ /* TEXT */
374
+ ),
375
+ g.isInherit === "1" ? (d(), T(u, {
376
+ key: 0,
377
+ color: "processing"
378
+ }, {
379
+ default: s(() => a[2] || (a[2] = [
380
+ A(" 及子组织 ")
381
+ ])),
382
+ _: 1
383
+ /* STABLE */
384
+ })) : N("v-if", !0)
385
+ ])) : N("v-if", !0)
386
+ ]),
387
+ _: 1
388
+ /* STABLE */
389
+ }, 8, ["columns"])
390
+ ]),
391
+ _: 1
392
+ /* STABLE */
393
+ }, 8, ["open"]);
394
+ };
395
+ }
396
+ }), Be = /* @__PURE__ */ Ae(We, [["__scopeId", "data-v-11cf8e60"]]), ze = {
397
+ "py-10px": "",
398
+ "px-10px": "",
399
+ "w-full": "",
400
+ "h-full": ""
401
+ }, je = ["onClick"], Ge = ["onClick"], He = {
402
+ class: "ml-4px"
403
+ }, Je = ["onClick"], Ke = {
404
+ class: "ml-4px"
405
+ }, ut = /* @__PURE__ */ L({
406
+ name: "Role",
407
+ __name: "index",
408
+ setup(b) {
409
+ const {
410
+ auth: $
411
+ } = ve(), y = x(), _ = x();
412
+ function h() {
413
+ y.value.reload();
414
+ }
415
+ async function U(c) {
416
+ var m, u;
417
+ const {
418
+ current: l,
419
+ pageSize: f,
420
+ ...p
421
+ } = c, a = await De({
422
+ currentPage: l,
423
+ pageSize: f,
424
+ ...p
425
+ });
426
+ return {
427
+ success: a.success,
428
+ data: ((m = a.data) == null ? void 0 : m.records) ?? [],
429
+ total: ((u = a.data) == null ? void 0 : u.total) ?? 0
430
+ };
431
+ }
432
+ const E = [{
433
+ valueType: "a-input",
434
+ bind: "value",
435
+ minWidth: 200,
436
+ title: "角色名称",
437
+ dataIndex: "name",
438
+ ellipsis: !0,
439
+ fieldProps: {
440
+ placeholder: "请输入角色名称",
441
+ allowClear: !0
442
+ }
443
+ }, {
444
+ hideInSearch: !0,
445
+ minWidth: 80,
446
+ title: "可见范围",
447
+ dataIndex: "viewScope",
448
+ customRender: ({
449
+ text: c
450
+ }) => {
451
+ var l;
452
+ return (l = X.find((f) => f.value === c)) == null ? void 0 : l.label;
453
+ }
454
+ }, {
455
+ hideInSearch: !0,
456
+ minWidth: 80,
457
+ title: "创建人",
458
+ dataIndex: "createUserName"
459
+ }, {
460
+ hideInSearch: !0,
461
+ minWidth: 100,
462
+ title: "创建部门",
463
+ dataIndex: "createOrgName"
464
+ }, {
465
+ hideInSearch: !0,
466
+ minWidth: 100,
467
+ title: "创建时间",
468
+ dataIndex: "createTime"
469
+ }, {
470
+ hideInSearch: !0,
471
+ minWidth: 100,
472
+ title: "修改时间",
473
+ dataIndex: "updateTime"
474
+ }, {
475
+ hideInSearch: !0,
476
+ minWidth: 80,
477
+ title: "角色状态",
478
+ dataIndex: "enable",
479
+ customRender: ({
480
+ text: c
481
+ }) => c ? n(j, {
482
+ status: "success",
483
+ text: "正常"
484
+ }, null) : n(j, {
485
+ status: "error",
486
+ text: "关闭"
487
+ }, null)
488
+ }, {
489
+ hideInSearch: !0,
490
+ width: 240,
491
+ title: "操作",
492
+ dataIndex: "action",
493
+ fixed: "right",
494
+ hideInTable() {
495
+ return !$(["role_resource_relation", "role_edit", "role_remove"]);
496
+ }
497
+ }], S = x();
498
+ function I(c, l) {
499
+ switch (c) {
500
+ case i.RESOURCE_RELATION:
501
+ S.value.open(l);
502
+ break;
503
+ case i.EDIT:
504
+ _.value.open(c, l);
505
+ break;
506
+ case i.ADD:
507
+ _.value.open(c);
508
+ break;
509
+ case i.REMOVE:
510
+ Oe.confirm({
511
+ title: "删除",
512
+ content: "确定要删除该角色吗?",
513
+ onOk() {
514
+ Ce({
515
+ id: l == null ? void 0 : l.id
516
+ }).then((f) => {
517
+ f.success && (Q.success("删除成功"), h());
518
+ });
519
+ }
520
+ });
521
+ break;
522
+ }
523
+ }
524
+ return (c, l) => {
525
+ const f = xe, p = H, a = Re, m = J, u = ke("auth");
526
+ return d(), w("div", ze, [n(
527
+ o(K),
528
+ {
529
+ ref_key: "tableRef",
530
+ ref: y,
531
+ "row-key": "id",
532
+ request: U,
533
+ columns: E,
534
+ "auto-height": "",
535
+ scroll: {
536
+ x: 1100
537
+ }
538
+ },
539
+ {
540
+ toolbar: s(() => [q((d(), T(p, {
541
+ type: "primary",
542
+ onClick: l[0] || (l[0] = (v) => I(o(i).ADD))
543
+ }, {
544
+ default: s(() => [n(f), A(
545
+ " " + C(o(i).ADD),
546
+ 1
547
+ /* TEXT */
548
+ )]),
549
+ _: 1
550
+ /* STABLE */
551
+ })), [[u, "role_add"]])]),
552
+ bodyCell: s(({
553
+ column: v,
554
+ record: e
555
+ }) => [v.dataIndex === "action" ? (d(), T(
556
+ m,
557
+ {
558
+ key: 0
559
+ },
560
+ {
561
+ default: s(() => [q((d(), w("a", {
562
+ class: "flex items-center",
563
+ onClick: (g) => I(o(i).RESOURCE_RELATION, e)
564
+ }, [n(a, {
565
+ name: "view",
566
+ class: "mr-1 text-base"
567
+ }), O(
568
+ "span",
569
+ null,
570
+ C(o(i).RESOURCE_RELATION),
571
+ 1
572
+ /* TEXT */
573
+ )], 8, je)), [[u, "resource_role_relation"]]), q((d(), w("a", {
574
+ class: "flex items-center",
575
+ onClick: (g) => I(o(i).EDIT, e)
576
+ }, [n(a, {
577
+ name: "edit",
578
+ class: "text-base"
579
+ }), O(
580
+ "span",
581
+ He,
582
+ C(o(i).EDIT),
583
+ 1
584
+ /* TEXT */
585
+ )], 8, Ge)), [[u, "role_edit"]]), q((d(), w("span", {
586
+ class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
587
+ onClick: (g) => I(o(i).REMOVE, e)
588
+ }, [n(a, {
589
+ name: "remove",
590
+ class: "text-base"
591
+ }), O(
592
+ "span",
593
+ Ke,
594
+ C(o(i).REMOVE),
595
+ 1
596
+ /* TEXT */
597
+ )], 8, Je)), [[u, "role_remove"]])]),
598
+ _: 2
599
+ /* DYNAMIC */
600
+ },
601
+ 1024
602
+ /* DYNAMIC_SLOTS */
603
+ )) : N("v-if", !0)]),
604
+ _: 1
605
+ /* STABLE */
606
+ },
607
+ 512
608
+ /* NEED_PATCH */
609
+ ), n(
610
+ Me,
611
+ {
612
+ ref_key: "drawerRoleRef",
613
+ ref: _,
614
+ onSubmit: l[1] || (l[1] = (v) => h())
615
+ },
616
+ null,
617
+ 512
618
+ /* NEED_PATCH */
619
+ ), n(
620
+ Be,
621
+ {
622
+ ref_key: "relationRef",
623
+ ref: S
624
+ },
625
+ null,
626
+ 512
627
+ /* NEED_PATCH */
628
+ )]);
629
+ };
630
+ }
631
+ });
632
+ export {
633
+ ut as default
634
+ };
@@ -0,0 +1,30 @@
1
+ import { isRef as c, ref as i, unref as g, onMounted as v, nextTick as y, getCurrentInstance as p } from "vue";
2
+ function a(e) {
3
+ return typeof e == "function" ? e() : g(e);
4
+ }
5
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
6
+ function d(e) {
7
+ return p();
8
+ }
9
+ function T(e, n = !0, u) {
10
+ d() ? v(e, u) : n ? e() : y(e);
11
+ }
12
+ function b(e = !1, n = {}) {
13
+ const {
14
+ truthyValue: u = !0,
15
+ falsyValue: o = !1
16
+ } = n, s = c(e), t = i(e);
17
+ function r(f) {
18
+ if (arguments.length)
19
+ return t.value = f, t.value;
20
+ {
21
+ const l = a(u);
22
+ return t.value = t.value === l ? a(o) : l, t.value;
23
+ }
24
+ }
25
+ return s ? r : [t, r];
26
+ }
27
+ export {
28
+ T as t,
29
+ b as u
30
+ };