@pubinfo-pr/module-rbac 0.203.4 → 0.203.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 (306) hide show
  1. package/dist/{ComponentSelect-A7uGTuHW.js → ComponentSelect-CYmAgdm3.js} +998 -963
  2. package/dist/DynamicRoutesForm-CMF3oh8h.js +171 -0
  3. package/dist/HCheckList-CAhQwX7m.js +39 -0
  4. package/dist/HoverCard-B-uU48hF.js +46 -0
  5. package/dist/IconSelect-CvxGRN_O.js +719 -0
  6. package/dist/ImportExport-CzZssb7_.js +345 -0
  7. package/dist/ImportExport-b1SnWRLj.js +6 -0
  8. package/dist/LayoutForm-Bpdyi_2o.js +129 -0
  9. package/dist/MetaForm-ZLzLz68d.js +39037 -0
  10. package/dist/OrgAndPosition-B0RE1Vc_.js +187 -0
  11. package/dist/OrgSelector-C2rPIonI.js +4877 -0
  12. package/dist/OrgSelector.css +1 -0
  13. package/dist/ResourceEdit-9fvxbd0K.js +383 -0
  14. package/dist/ResourceEdit-BMqfJ3aQ.js +13 -0
  15. package/dist/ResourceRelation-BrluMHdX.js +81 -0
  16. package/dist/ResourceRelation-IJvXnlpo.js +95 -0
  17. package/dist/RoleRelation-DuRuQG08.js +82 -0
  18. package/dist/RoleSelector-BTNYbcC6.js +282 -0
  19. package/dist/TenantEdit-Df3gZKLA.js +249 -0
  20. package/dist/UserAuthorization-DX7jNDDe.js +237 -0
  21. package/dist/UserEdit-BLb0n7WM.js +322 -0
  22. package/dist/_baseClone-C7vkGgsW.js +138 -0
  23. package/dist/_initCloneObject-r-eWKqzl.js +531 -0
  24. package/dist/add-child-DPb_m2by.js +4 -0
  25. package/dist/{animation_item-DBOz2rcX.js → animation_item-Coe-B0jQ.js} +24 -19
  26. package/dist/assist-BRMYD-oT.js +89 -0
  27. package/dist/authority-B9wtmsQd.js +4 -0
  28. package/dist/authorize-DxrutyIG.js +4 -0
  29. package/dist/blackWhiteList-d6TVsK48.js +214 -0
  30. package/dist/blacklist-disable-BKSw91qq.js +4 -0
  31. package/dist/blacklist-enable-CIB1fOHT.js +4 -0
  32. package/dist/breadcrumb_setting-DMbvWP5t.js +111 -0
  33. package/dist/browser-chrome-CM60RcrG.js +4 -0
  34. package/dist/browser-edge-4LBRzooM.js +4 -0
  35. package/dist/browser-ie-BF-wqbf6.js +4 -0
  36. package/dist/browser-other-iXJH-9iL.js +4 -0
  37. package/dist/browser-safari-CIpt0yPc.js +4 -0
  38. package/dist/browserType-Bik20-72.js +28 -0
  39. package/dist/chunk-WQLz0Won.js +20 -0
  40. package/dist/cloneDeep-REaxTPsZ.js +8 -0
  41. package/dist/createAndEditDataPermission-OunqmBu_.js +438 -0
  42. package/dist/data-permission-2pzeFLxP.js +159 -0
  43. package/dist/{dayjs.min-Cb7gQFd4.js → dayjs.min-CJunOGCc.js} +5 -3
  44. package/dist/dictionary-DGqlAhRk.js +182 -0
  45. package/dist/dist-DxAYQq3U.js +21 -0
  46. package/dist/drawerBlackWhiteList-VxyjaBkA.js +123 -0
  47. package/dist/drawerDictionary-DhAB-LV9.js +129 -0
  48. package/dist/drawerDictionaryItem-DYsJzZ2f.js +141 -0
  49. package/dist/drawerGroup-CTO8Lmbb.js +189 -0
  50. package/dist/drawerOrganization-DWhTc1fB.js +253 -0
  51. package/dist/drawerPosition-BmM9mLlP.js +169 -0
  52. package/dist/drawerRegion-BD-xc1x2.js +189 -0
  53. package/dist/drawerRole-B348x40k.js +214 -0
  54. package/dist/drawerRole-CgAPM-0g.js +172 -0
  55. package/dist/drawerRole-Cjp9iDsa.js +157 -0
  56. package/dist/edit-Drp8yjRe.js +4 -0
  57. package/dist/enum-CG0P82pn.js +6 -0
  58. package/dist/{enum-3E_sUqRF.js → enum-CR5ztb5v2.js} +15 -14
  59. package/dist/enum-CYCebJeC.js +62 -0
  60. package/dist/enum-DS4SGhiF.js +6 -0
  61. package/dist/enum-zdKA3Jy-.js +23 -0
  62. package/dist/group-C6Rj3K5I.js +178 -0
  63. package/dist/icard-BULUUV5m.js +4 -0
  64. package/dist/icon_animation-DuEY1FMm.js +4 -0
  65. package/dist/icon_breadcrumb-Y788iP_T.js +4 -0
  66. package/dist/icon_copyright-C1BER6kq.js +4 -0
  67. package/dist/icon_jt-ICOdrIF6.js +4 -0
  68. package/dist/icon_layout-D_wV9rX3.js +4 -0
  69. package/dist/icon_mainpage-Cz6_cxpJ.js +4 -0
  70. package/dist/icon_menu-y7SblUoR.js +4 -0
  71. package/dist/icon_page_size-BjwT656E.js +4 -0
  72. package/dist/icon_position_type-CPxcDgmM.js +4 -0
  73. package/dist/icon_safe_manage-CoqVRBLl.js +4 -0
  74. package/dist/icon_screen_scale-DURlkq3C.js +4 -0
  75. package/dist/icon_system_manage-BLXs2CQg.js +4 -0
  76. package/dist/icon_tabbar-_0QWhSBV.js +4 -0
  77. package/dist/icon_toolbar-BXpfu0iq.js +4 -0
  78. package/dist/icon_topbar-DrwvB8Jw.js +4 -0
  79. package/dist/icon_watermark-DwNqjAiA.js +4 -0
  80. package/dist/index.css +1 -1
  81. package/dist/index.js +588 -6776
  82. package/dist/isEmpty-2rx9iUQv.js +14 -0
  83. package/dist/isEqual-CNeQLaCM.js +474 -0
  84. package/dist/itemlist-BGe-z1IR.js +159 -0
  85. package/dist/json-asset-03f0a035.json +1 -0
  86. package/dist/json-asset-0ee63e7f.json +1 -0
  87. package/dist/json-asset-10eef4fe.json +1 -0
  88. package/dist/json-asset-13f452f1.json +1 -0
  89. package/dist/json-asset-14b7b290.json +1 -0
  90. package/dist/json-asset-15b8cef1.json +1 -0
  91. package/dist/json-asset-15f77960.json +1 -0
  92. package/dist/json-asset-1ae9b726.json +1 -0
  93. package/dist/json-asset-1b02359f.json +1 -0
  94. package/dist/json-asset-1ef286cd.json +1 -0
  95. package/dist/json-asset-23cfd18c.json +1 -0
  96. package/dist/json-asset-265a0a5d.json +1 -0
  97. package/dist/json-asset-28d57c49.json +1 -0
  98. package/dist/json-asset-2b54ed10.json +1 -0
  99. package/dist/json-asset-2bb6f642.json +1 -0
  100. package/dist/json-asset-2cdc07bd.json +1 -0
  101. package/dist/json-asset-31c58607.json +1 -0
  102. package/dist/json-asset-32884f23.json +1 -0
  103. package/dist/json-asset-32fca43a.json +1 -0
  104. package/dist/json-asset-3a75445b.json +1 -0
  105. package/dist/json-asset-3f27d67c.json +1 -0
  106. package/dist/json-asset-4189453f.json +1 -0
  107. package/dist/json-asset-4702b37c.json +1 -0
  108. package/dist/json-asset-520a5c68.json +1 -0
  109. package/dist/json-asset-56bea508.json +1 -0
  110. package/dist/json-asset-57c732a3.json +1 -0
  111. package/dist/json-asset-5be4a28f.json +1 -0
  112. package/dist/json-asset-5e6d7cfa.json +1 -0
  113. package/dist/json-asset-64e176c9.json +1 -0
  114. package/dist/json-asset-6583dca6.json +1 -0
  115. package/dist/json-asset-66c640c6.json +1 -0
  116. package/dist/json-asset-68393156.json +1 -0
  117. package/dist/json-asset-688465aa.json +1 -0
  118. package/dist/json-asset-6bf334f4.json +1 -0
  119. package/dist/json-asset-7b4f72ce.json +1 -0
  120. package/dist/json-asset-837ec087.json +1 -0
  121. package/dist/json-asset-838ac1ba.json +1 -0
  122. package/dist/json-asset-8465c2cf.json +1 -0
  123. package/dist/json-asset-9e9f04a4.json +1 -0
  124. package/dist/json-asset-a13964cb.json +1 -0
  125. package/dist/json-asset-ab93a057.json +1 -0
  126. package/dist/json-asset-abe308fc.json +1 -0
  127. package/dist/json-asset-b24f2cd3.json +1 -0
  128. package/dist/json-asset-bf00eaed.json +1 -0
  129. package/dist/json-asset-cb22efd7.json +1 -0
  130. package/dist/json-asset-cb953f20.json +1 -0
  131. package/dist/json-asset-cc209e34.json +1 -0
  132. package/dist/json-asset-cfdffceb.json +1 -0
  133. package/dist/json-asset-d33c0299.json +1 -0
  134. package/dist/json-asset-d430c8ca.json +1 -0
  135. package/dist/json-asset-d8cfa560.json +1 -0
  136. package/dist/json-asset-da91beb6.json +1 -0
  137. package/dist/json-asset-e2bdf85c.json +1 -0
  138. package/dist/json-asset-e34ad826.json +1 -0
  139. package/dist/json-asset-e80720aa.json +1 -0
  140. package/dist/json-asset-e894bc92.json +1 -0
  141. package/dist/json-asset-f28020f2.json +1 -0
  142. package/dist/json-asset-f71ebbf4.json +1 -0
  143. package/dist/json-asset-fb1f4917.json +1 -0
  144. package/dist/json-asset-ff2e97c4.json +1 -0
  145. package/dist/layout_setting-Cds3TCHc.js +71 -0
  146. package/dist/log-DOMU9MyH.js +18 -0
  147. package/dist/log-center-BrGlNhMd.js +4 -0
  148. package/dist/loginHistoryDetail-Coba_ajy.js +80 -0
  149. package/dist/{login_history-BiwaLpxA.js → login_history-CrXkEsHb.js} +38 -35
  150. package/dist/menu_setting-Br5dOEUk.js +158 -0
  151. package/dist/not-data-C-MacYF3.js +5 -0
  152. package/dist/operateHistoryDetail-DfDQL5BF.js +92 -0
  153. package/dist/{operate_history-sPd9IHMV.js → operate_history-BtHgPhmF.js} +38 -35
  154. package/dist/org-main-BRMBumDm.js +4 -0
  155. package/dist/org-unmain-0BHnrNdD.js +4 -0
  156. package/dist/organization-BbFERZ1l.js +15411 -0
  157. package/dist/other_setting-D92SlFvl.js +216 -0
  158. package/dist/page_animation_setting-Cy2R0vZy.js +111 -0
  159. package/dist/page_w_setting-DryWrqcx.js +66 -0
  160. package/dist/position-B1bqGly6.js +169 -0
  161. package/dist/rbac-B59CVHDt.js +460 -0
  162. package/dist/region-B_n1KXMG.js +182 -0
  163. package/dist/remove-BTME2Fhs.js +4 -0
  164. package/dist/request-7X2hpUru.js +5 -0
  165. package/dist/resource-CPNNd1l0.js +275 -0
  166. package/dist/resource-app-D8to3Lkn.js +4 -0
  167. package/dist/resource-btn-Cz-A_EQF.js +4 -0
  168. package/dist/resource-dynamic-BUqWxUiU.js +4 -0
  169. package/dist/resource-index-D2roT002.js +4 -0
  170. package/dist/resource-menu-BRER68rK.js +4 -0
  171. package/dist/resource-micro-Hyucl9de.js +4 -0
  172. package/dist/resource-nonmenu-7FcPEpHv.js +4 -0
  173. package/dist/role-CMd7WDRC.js +195 -0
  174. package/dist/role_group-DHh2s911.js +174 -0
  175. package/dist/safe_setting-CuTBmUve.js +225 -0
  176. package/dist/setItem-BwXZ5Uqx.js +4 -0
  177. package/dist/setItem-DlhIkIgh.js +78 -0
  178. package/dist/setting-manage-UHelpLrr.js +4 -0
  179. package/dist/stores-C-zbXsms.js +2 -0
  180. package/dist/tabbar_setting-CjW9LGPp.js +142 -0
  181. package/dist/tenant-B_vgufMG.js +180 -0
  182. package/dist/theme-check-mark-DRzx4sTs.js +4 -0
  183. package/dist/theme-title-BRvQ_qPg.js +4 -0
  184. package/dist/theme_setting-DMP0_nZ1.js +114 -0
  185. package/dist/toolbar_setting-ClxxvA7R.js +143 -0
  186. package/dist/useAppAndResource-D6WnpUPR.js +55 -0
  187. package/dist/user-BhytPqnx.js +348 -0
  188. package/dist/{vanilla-picker-Byb6q187.js → vanilla-picker-2HFham9c.js} +61 -59
  189. package/dist/view-Cridj7u2.js +4 -0
  190. package/dist/view-lBxqXfPW.js +114 -0
  191. package/dist/watermark_setting-b3vBYWwY.js +194 -0
  192. package/dist/zddata-CnvPWtIW.js +4 -0
  193. package/dist/zy_checked-C25HQlnr.js +4 -0
  194. package/dist/zy_default-B7RKtyqy.js +4 -0
  195. package/package.json +3 -3
  196. package/dist/DynamicRoutesForm-DSzy_bh5.js +0 -169
  197. package/dist/HCheckList-ODQHidN8.js +0 -37
  198. package/dist/HoverCard-CmJCoa2b.js +0 -44
  199. package/dist/IconSelect-DouEg3xY.js +0 -717
  200. package/dist/ImportExport-DisdLoY8.js +0 -342
  201. package/dist/LayoutForm-Bdfs5WeK.js +0 -125
  202. package/dist/MetaForm-CcDwS8vh.js +0 -38902
  203. package/dist/OrgAndPosition-jDX7m0HD.js +0 -184
  204. package/dist/ResourceEdit-0BYZRye_.js +0 -381
  205. package/dist/ResourceRelation-CU-QpUhP.js +0 -76
  206. package/dist/ResourceRelation-roz0a8Td.js +0 -91
  207. package/dist/RoleRelation-BQQFaum0.js +0 -79
  208. package/dist/RoleSelector-gkar_UGG.js +0 -275
  209. package/dist/TenantEdit-BsahDUlf.js +0 -246
  210. package/dist/UserAuthorization-2Fl4IGw7.js +0 -233
  211. package/dist/UserEdit-CX3Qau8T.js +0 -320
  212. package/dist/add-child-CFHHkjfg.js +0 -2
  213. package/dist/authority-L7SfiMdP.js +0 -2
  214. package/dist/authorize-qMpV_BXT.js +0 -2
  215. package/dist/blackWhiteList-DbG7JH8n.js +0 -211
  216. package/dist/blacklist-disable-BT6Xx-JG.js +0 -2
  217. package/dist/blacklist-enable-CJ6DK_V2.js +0 -2
  218. package/dist/breadcrumb_setting-Dx2Li6xt.js +0 -108
  219. package/dist/browser-chrome-DuAegVCe.js +0 -2
  220. package/dist/browser-edge-DzkWdXRd.js +0 -2
  221. package/dist/browser-ie-DZ9g_MXr.js +0 -2
  222. package/dist/browser-other-BmkifoYq.js +0 -2
  223. package/dist/browser-safari-CXrCuF2a.js +0 -2
  224. package/dist/browserType-B8A1Osvk.js +0 -26
  225. package/dist/chunk-DiMWNkAf.js +0 -18
  226. package/dist/cloneDeep-CSOSavu3.js +0 -6
  227. package/dist/createAndEditDataPermission-8_KNLzJT.js +0 -431
  228. package/dist/data-permission-LpuDLDm0.js +0 -152
  229. package/dist/dictionary-CEaxjqZe.js +0 -179
  230. package/dist/drawerBlackWhiteList-DXLdWurZ.js +0 -120
  231. package/dist/drawerDictionary-DYJTAZr6.js +0 -126
  232. package/dist/drawerDictionaryItem-BChXD2-q.js +0 -138
  233. package/dist/drawerGroup-CdnZkZxi.js +0 -185
  234. package/dist/drawerOrganization-CwtSFUj0.js +0 -247
  235. package/dist/drawerPosition-CfyfeQCN.js +0 -166
  236. package/dist/drawerRegion-DAwY_29K.js +0 -183
  237. package/dist/drawerRole-B7uCfHk-.js +0 -154
  238. package/dist/drawerRole-DK6DrinO.js +0 -209
  239. package/dist/drawerRole-DrzMHL0O.js +0 -167
  240. package/dist/edit-fZ7h_z_Z.js +0 -2
  241. package/dist/enum-3mYayxff.js +0 -61
  242. package/dist/enum-Cr7uWnB2.js +0 -23
  243. package/dist/enum-D2UEJsrC.js +0 -4
  244. package/dist/group-CaOhkh72.js +0 -172
  245. package/dist/icard-H-d9Pip-.js +0 -2
  246. package/dist/icon_animation-BCdRKkE5.js +0 -2
  247. package/dist/icon_breadcrumb-BR6LK8hP.js +0 -2
  248. package/dist/icon_copyright-BfWn1s6t.js +0 -2
  249. package/dist/icon_jt-DOMTq9De.js +0 -2
  250. package/dist/icon_layout-DKqAThpM.js +0 -2
  251. package/dist/icon_mainpage-CXB9JMGv.js +0 -2
  252. package/dist/icon_menu-BYQtWV-Q.js +0 -2
  253. package/dist/icon_page_size-r-z4oHWp.js +0 -2
  254. package/dist/icon_position_type-JDFdklRh.js +0 -2
  255. package/dist/icon_safe_manage-BDTIOduB.js +0 -2
  256. package/dist/icon_screen_scale-vEaAdr9S.js +0 -2
  257. package/dist/icon_system_manage-CkhQtieE.js +0 -2
  258. package/dist/icon_tabbar-DZNj-h-p.js +0 -2
  259. package/dist/icon_toolbar-BBYhGmEf.js +0 -2
  260. package/dist/icon_topbar-Bc379eaS.js +0 -2
  261. package/dist/icon_watermark-CTP8r-e2.js +0 -2
  262. package/dist/isEmpty-BjEzPyCa.js +0 -12
  263. package/dist/itemlist-CFwRUV2Y.js +0 -156
  264. package/dist/layout_setting-79srmFgJ.js +0 -68
  265. package/dist/log-BYris9iT.js +0 -14
  266. package/dist/log-center-CGT-BGAN.js +0 -2
  267. package/dist/loginHistoryDetail-CZnfmbbM.js +0 -78
  268. package/dist/menu_setting-ChueWHs4.js +0 -155
  269. package/dist/not-data-Bml86wdH.js +0 -3
  270. package/dist/operateHistoryDetail-HId-EZzy.js +0 -90
  271. package/dist/org-main-DnftBa38.js +0 -2
  272. package/dist/org-unmain-ByMarqFw.js +0 -2
  273. package/dist/organization-Dv3FbKke.js +0 -15316
  274. package/dist/other_setting-BEV_UK0g.js +0 -213
  275. package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
  276. package/dist/page_w_setting-Q--ct16C.js +0 -63
  277. package/dist/position-CCZ2MSMP.js +0 -166
  278. package/dist/region-D3mjqB8H.js +0 -179
  279. package/dist/remove-DfZZBE2T.js +0 -2
  280. package/dist/resource-DaQ7CvM_.js +0 -271
  281. package/dist/resource-app-QSLZ7Hts.js +0 -2
  282. package/dist/resource-btn-BcB4xMgR.js +0 -2
  283. package/dist/resource-dynamic-D69oEbaO.js +0 -2
  284. package/dist/resource-index-BIHr3PZY.js +0 -2
  285. package/dist/resource-menu-0JSNn7S7.js +0 -2
  286. package/dist/resource-micro-CcX_pmaJ.js +0 -2
  287. package/dist/resource-nonmenu-DFItasMT.js +0 -2
  288. package/dist/role-4UgEw3nH.js +0 -192
  289. package/dist/role_group-hkRlCnyl.js +0 -171
  290. package/dist/safe_setting-4fv3qNRZ.js +0 -221
  291. package/dist/setItem-Vkcwkj-O.js +0 -77
  292. package/dist/setting-manage-C9whamLP.js +0 -2
  293. package/dist/stores-DPQF8JRt.js +0 -2
  294. package/dist/tabbar_setting-kbuTvrLB.js +0 -139
  295. package/dist/tenant-lWfGw2u1.js +0 -177
  296. package/dist/theme-check-mark-DG4oWCQN.js +0 -2
  297. package/dist/theme-title-BCYnl2jK.js +0 -2
  298. package/dist/theme_setting-CEb7UYQO.js +0 -111
  299. package/dist/toolbar_setting-BG-k2UFc.js +0 -140
  300. package/dist/useAppAndResource-B7FmNfKG.js +0 -52
  301. package/dist/user-BkUpcQC8.js +0 -339
  302. package/dist/view-Bnu34EJT.js +0 -2
  303. package/dist/watermark_setting-Cl2EtPAa.js +0 -191
  304. package/dist/zddata-Ceyga3_2.js +0 -2
  305. package/dist/zy_checked-DvD7k9F8.js +0 -2
  306. package/dist/zy_default-DJ2tB3Fo.js +0 -2
@@ -0,0 +1,460 @@
1
+ import { t as e } from "./request-7X2hpUru.js";
2
+ //#region src/api/modules/rbac/gangweijiekou.ts
3
+ function t(t, n) {
4
+ let { id: r, ...i } = t;
5
+ return e.Delete(`/rbac/post/delete/${r}`, {}, {
6
+ params: { ...i },
7
+ ...n || {},
8
+ meta: {
9
+ ...n?.meta ?? {},
10
+ pathParams: [r]
11
+ }
12
+ });
13
+ }
14
+ function n(t, n) {
15
+ let { id: r, ...i } = t;
16
+ return e.Get(`/rbac/post/detail/${r}`, {
17
+ params: { ...i },
18
+ ...n || {},
19
+ meta: {
20
+ ...n?.meta ?? {},
21
+ pathParams: [r]
22
+ }
23
+ });
24
+ }
25
+ function r(t, n) {
26
+ return e.Post("/rbac/post/findPage", t, {
27
+ headers: { "Content-Type": "application/json" },
28
+ ...n || {}
29
+ });
30
+ }
31
+ function i(t, n) {
32
+ return e.Get("/rbac/post/list", {
33
+ params: { ...t },
34
+ ...n || {}
35
+ });
36
+ }
37
+ function a(t, n) {
38
+ return e.Post("/rbac/post/save", t, {
39
+ headers: { "Content-Type": "application/json" },
40
+ ...n || {}
41
+ });
42
+ }
43
+ //#endregion
44
+ //#region src/api/modules/rbac/jiaosejiekou.ts
45
+ function ee(t, n) {
46
+ return e.Post("/rbac/role/addRole", t, {
47
+ headers: { "Content-Type": "application/json" },
48
+ ...n || {}
49
+ });
50
+ }
51
+ function o(t, n) {
52
+ return e.Get("/rbac/role/info", {
53
+ params: { ...t },
54
+ ...n || {}
55
+ });
56
+ }
57
+ function s(t, n) {
58
+ return e.Get("/rbac/role/roleDelete", {
59
+ params: { ...t },
60
+ ...n || {}
61
+ });
62
+ }
63
+ function c(t) {
64
+ return e.Get("/rbac/role/roleList", { ...t || {} });
65
+ }
66
+ function l(t, n) {
67
+ return e.Post("/rbac/role/rolePage", t, {
68
+ headers: { "Content-Type": "application/json" },
69
+ ...n || {}
70
+ });
71
+ }
72
+ function u(t, n) {
73
+ return e.Post("/rbac/role/roleUpdate", t, {
74
+ headers: { "Content-Type": "application/json" },
75
+ ...n || {}
76
+ });
77
+ }
78
+ function d(t, n) {
79
+ return e.Post("/rbac/role/roleUserPage", t, {
80
+ headers: { "Content-Type": "application/json" },
81
+ ...n || {}
82
+ });
83
+ }
84
+ //#endregion
85
+ //#region src/api/modules/rbac/pubJiaosezukongzhiqi.ts
86
+ function f(t, n) {
87
+ return e.Delete("/rbac/pubRoleGroup/delete", {}, {
88
+ params: { ...t },
89
+ ...n || {}
90
+ });
91
+ }
92
+ function p(t, n) {
93
+ return e.Get("/rbac/pubRoleGroup/getAll", {
94
+ params: { ...t },
95
+ ...n || {}
96
+ });
97
+ }
98
+ function m(t, n) {
99
+ return e.Get("/rbac/pubRoleGroup/getById", {
100
+ params: { ...t },
101
+ ...n || {}
102
+ });
103
+ }
104
+ function h(t, n) {
105
+ return e.Post("/rbac/pubRoleGroup/pageQuery", t, {
106
+ headers: { "Content-Type": "application/json" },
107
+ ...n || {}
108
+ });
109
+ }
110
+ function g(t, n) {
111
+ return e.Post("/rbac/pubRoleGroup/save", t, {
112
+ headers: { "Content-Type": "application/json" },
113
+ ...n || {}
114
+ });
115
+ }
116
+ function _(t, n) {
117
+ return e.Post("/rbac/pubRoleGroup/update", t, {
118
+ headers: { "Content-Type": "application/json" },
119
+ ...n || {}
120
+ });
121
+ }
122
+ //#endregion
123
+ //#region src/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.ts
124
+ function v(t) {
125
+ return e.Get("/rbac/pubDataPermissions/dataPermissionList", { ...t || {} });
126
+ }
127
+ function y(t, n) {
128
+ return e.Delete("/rbac/pubDataPermissions/delete", {}, {
129
+ params: { ...t },
130
+ ...n || {}
131
+ });
132
+ }
133
+ function b(t, n) {
134
+ return e.Get("/rbac/pubDataPermissions/getById", {
135
+ params: { ...t },
136
+ ...n || {}
137
+ });
138
+ }
139
+ function x(t, n) {
140
+ return e.Post("/rbac/pubDataPermissions/getUserOrgDataPermissionList", {}, {
141
+ params: { ...t },
142
+ ...n || {}
143
+ });
144
+ }
145
+ function S(t, n) {
146
+ return e.Post("/rbac/pubDataPermissions/pageQuery", t, {
147
+ headers: { "Content-Type": "application/json" },
148
+ ...n || {}
149
+ });
150
+ }
151
+ function C(t, n) {
152
+ return e.Post("/rbac/pubDataPermissions/save", t, {
153
+ headers: { "Content-Type": "application/json" },
154
+ ...n || {}
155
+ });
156
+ }
157
+ function w(t, n) {
158
+ return e.Post("/rbac/pubDataPermissions/update", t, {
159
+ headers: { "Content-Type": "application/json" },
160
+ ...n || {}
161
+ });
162
+ }
163
+ //#endregion
164
+ //#region src/api/modules/rbac/yonghujiekou.ts
165
+ function T(t, n) {
166
+ return e.Post("/rbac/user/grantUserRoleAndDatPermission", t, {
167
+ headers: { "Content-Type": "application/json" },
168
+ ...n || {}
169
+ });
170
+ }
171
+ function E(t, n) {
172
+ return e.Get("/rbac/user/info", {
173
+ params: { ...t },
174
+ ...n || {}
175
+ });
176
+ }
177
+ function D(t, n) {
178
+ return e.Post("/rbac/user/pubUserAdd", t, {
179
+ headers: { "Content-Type": "application/json" },
180
+ ...n || {}
181
+ });
182
+ }
183
+ function O(t, n) {
184
+ return e.Put("/rbac/user/resetPassword", {}, {
185
+ params: { ...t },
186
+ ...n || {}
187
+ });
188
+ }
189
+ function k(t, n) {
190
+ return e.Post("/rbac/user/userAndOrgList", t, {
191
+ headers: { "Content-Type": "application/json" },
192
+ ...n || {}
193
+ });
194
+ }
195
+ function A(t, n) {
196
+ return e.Get("/rbac/user/userDelete", {
197
+ params: { ...t },
198
+ ...n || {}
199
+ });
200
+ }
201
+ function j(t, n) {
202
+ return e.Post("/rbac/user/userForMultiOrgPage", t, {
203
+ headers: { "Content-Type": "application/json" },
204
+ ...n || {}
205
+ });
206
+ }
207
+ function M(t, n) {
208
+ return e.Post("/rbac/user/userPage", t, {
209
+ headers: { "Content-Type": "application/json" },
210
+ ...n || {}
211
+ });
212
+ }
213
+ function N(t, n) {
214
+ return e.Post("/rbac/user/userUpdate-v2", t, {
215
+ headers: { "Content-Type": "application/json" },
216
+ ...n || {}
217
+ });
218
+ }
219
+ //#endregion
220
+ //#region src/api/modules/rbac/yonghushoucangbiaojiekou.ts
221
+ function P(t, n) {
222
+ return e.Post("/rbac/collect/add", t, {
223
+ headers: { "Content-Type": "application/json" },
224
+ ...n || {}
225
+ });
226
+ }
227
+ function F(t, n) {
228
+ return e.Post("/rbac/collect/findPage", t, {
229
+ headers: { "Content-Type": "application/json" },
230
+ ...n || {}
231
+ });
232
+ }
233
+ function I(t, n) {
234
+ return e.Post("/rbac/collect/removeCollect", t, {
235
+ headers: { "Content-Type": "application/json" },
236
+ ...n || {}
237
+ });
238
+ }
239
+ //#endregion
240
+ //#region src/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.ts
241
+ function L(t, n) {
242
+ return e.Post("/rbac/used/addBatch", t, {
243
+ headers: { "Content-Type": "application/json" },
244
+ ...n || {}
245
+ });
246
+ }
247
+ function R(t, n) {
248
+ return e.Post("/rbac/used/findPage", t, {
249
+ headers: { "Content-Type": "application/json" },
250
+ ...n || {}
251
+ });
252
+ }
253
+ //#endregion
254
+ //#region src/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.ts
255
+ function z(t, n) {
256
+ return e.Delete("/rbac/resource-backup/deleteResourceBackup", {}, {
257
+ params: { ...t },
258
+ ...n || {}
259
+ });
260
+ }
261
+ function B(t, n) {
262
+ return e.Get("/rbac/resource-backup/detail", {
263
+ params: { ...t },
264
+ ...n || {}
265
+ });
266
+ }
267
+ function V(t, n) {
268
+ return e.Post("/rbac/resource-backup/exportResourceData", t, {
269
+ headers: { "Content-Type": "application/json" },
270
+ ...n || {}
271
+ });
272
+ }
273
+ function te(t, n, r, i) {
274
+ let a = new FormData();
275
+ return r && a.append("file", r), Object.keys(n).forEach((e) => {
276
+ let t = n[e];
277
+ t != null && (typeof t == "object" && !(t instanceof File) ? Array.isArray(t) ? t.forEach((t) => a.append(e, t || "")) : a.append(e, JSON.stringify(t)) : a.append(e, t));
278
+ }), e.Post("/rbac/resource-backup/importResourceData", a, {
279
+ params: { ...t },
280
+ ...i || {}
281
+ });
282
+ }
283
+ function H(t, n) {
284
+ return e.Get("/rbac/resource-backup/list", {
285
+ params: { ...t },
286
+ ...n || {}
287
+ });
288
+ }
289
+ function U(t, n) {
290
+ return e.Get("/rbac/resource-backup/restore", {
291
+ params: { ...t },
292
+ ...n || {}
293
+ });
294
+ }
295
+ //#endregion
296
+ //#region src/api/modules/rbac/ziyuanjiekou.ts
297
+ function W(t, n) {
298
+ return e.Post("/rbac/resource/addResource", t, {
299
+ headers: { "Content-Type": "application/json" },
300
+ ...n || {}
301
+ });
302
+ }
303
+ function G(t) {
304
+ return e.Get("/rbac/resource/appList", { ...t || {} });
305
+ }
306
+ function K(t, n) {
307
+ return e.Get("/rbac/resource/getRoleListByResourceId", {
308
+ params: { ...t },
309
+ ...n || {}
310
+ });
311
+ }
312
+ function q(t, n) {
313
+ return e.Get("/rbac/resource/groupResourceTree", {
314
+ params: { ...t },
315
+ ...n || {}
316
+ });
317
+ }
318
+ function J(t, n) {
319
+ return e.Get("/rbac/resource/info", {
320
+ params: { ...t },
321
+ ...n || {}
322
+ });
323
+ }
324
+ function Y(t, n) {
325
+ return e.Get("/rbac/resource/resourceDelete", {
326
+ params: { ...t },
327
+ ...n || {}
328
+ });
329
+ }
330
+ function X(t, n) {
331
+ return e.Get("/rbac/resource/resourceTree", {
332
+ params: { ...t },
333
+ ...n || {}
334
+ });
335
+ }
336
+ function Z(t, n) {
337
+ return e.Post("/rbac/resource/resourceUpdate", t, {
338
+ headers: { "Content-Type": "application/json" },
339
+ ...n || {}
340
+ });
341
+ }
342
+ function Q(t) {
343
+ return e.Get("/rbac/resource/tenantAddResourceTree", { ...t || {} });
344
+ }
345
+ //#endregion
346
+ //#region src/api/modules/rbac/zuhuguanlijiekou.ts
347
+ function ne(t, n) {
348
+ return e.Post("/rbac/tenant/pubTenantAdd", t, {
349
+ headers: { "Content-Type": "application/json" },
350
+ ...n || {}
351
+ });
352
+ }
353
+ function re(t, n) {
354
+ return e.Get("/rbac/tenant/pubTenantDelete", {
355
+ params: { ...t },
356
+ ...n || {}
357
+ });
358
+ }
359
+ function ie(t, n) {
360
+ return e.Get("/rbac/tenant/pubTenantInfo", {
361
+ params: { ...t },
362
+ ...n || {}
363
+ });
364
+ }
365
+ function ae(t, n) {
366
+ return e.Post("/rbac/tenant/pubTenantPage", t, {
367
+ headers: { "Content-Type": "application/json" },
368
+ ...n || {}
369
+ });
370
+ }
371
+ function oe(t, n) {
372
+ return e.Post("/rbac/tenant/pubTenantUpdate", t, {
373
+ headers: { "Content-Type": "application/json" },
374
+ ...n || {}
375
+ });
376
+ }
377
+ //#endregion
378
+ //#region src/api/modules/rbac/zuzhijiaosebiaokongzhiqi.ts
379
+ function se(t, n) {
380
+ return e.Get("/rbac/orgRole/getByOrgId", {
381
+ params: { ...t },
382
+ ...n || {}
383
+ });
384
+ }
385
+ function ce(t, n) {
386
+ return e.Post("/rbac/orgRole/roleOrgPage", t, {
387
+ headers: { "Content-Type": "application/json" },
388
+ ...n || {}
389
+ });
390
+ }
391
+ function le(t, n) {
392
+ return e.Post("/rbac/orgRole/saveOrgRole", t, {
393
+ headers: { "Content-Type": "application/json" },
394
+ ...n || {}
395
+ });
396
+ }
397
+ //#endregion
398
+ //#region src/api/modules/rbac/zuzhijiekou.ts
399
+ function ue(t, n) {
400
+ return e.Post("/rbac/org/addOrg", t, {
401
+ headers: { "Content-Type": "application/json" },
402
+ ...n || {}
403
+ });
404
+ }
405
+ function de(t, n) {
406
+ return e.Get("/rbac/org/deleteOrg", {
407
+ params: { ...t },
408
+ ...n || {}
409
+ });
410
+ }
411
+ function fe(t, n) {
412
+ return e.Get("/rbac/org/info", {
413
+ params: { ...t },
414
+ ...n || {}
415
+ });
416
+ }
417
+ function pe(t, n) {
418
+ return e.Get("/rbac/org/orgListByParentId", {
419
+ params: {
420
+ parentId: "0",
421
+ ...t
422
+ },
423
+ ...n || {}
424
+ });
425
+ }
426
+ function $(t, n) {
427
+ return e.Post("/rbac/org/search", t, {
428
+ headers: { "Content-Type": "application/json" },
429
+ ...n || {}
430
+ });
431
+ }
432
+ function me(t, n) {
433
+ return e.Post("/rbac/org/searchOrgByIds", t, {
434
+ headers: { "Content-Type": "application/json" },
435
+ ...n || {}
436
+ });
437
+ }
438
+ function he(t, n) {
439
+ return e.Get("/rbac/org/searchSubOrgById", {
440
+ params: { ...t },
441
+ ...n || {}
442
+ });
443
+ }
444
+ function ge(t, n) {
445
+ return e.Get("/rbac/org/searchTreeById", {
446
+ params: {
447
+ id: "0",
448
+ ...t
449
+ },
450
+ ...n || {}
451
+ });
452
+ }
453
+ function _e(t, n) {
454
+ return e.Post("/rbac/org/updateOrg", t, {
455
+ headers: { "Content-Type": "application/json" },
456
+ ...n || {}
457
+ });
458
+ }
459
+ //#endregion
460
+ export { w as $, U as A, T as B, X as C, z as D, Z as E, P as F, N as G, k as H, F as I, v as J, O as K, I as L, te as M, L as N, B as O, R as P, C as Q, E as R, Y as S, W as T, j as U, D as V, M as W, x as X, b as Y, S as Z, oe as _, a as _t, ge as a, _ as at, q as b, me as c, c as ct, ce as d, u as dt, f as et, le as f, d as ft, ae as g, r as gt, ne as h, i as ht, he as i, g as it, V as j, H as k, _e as l, ee as lt, ie as m, n as mt, fe as n, m as nt, ue as o, o as ot, re as p, t as pt, y as q, pe as r, h as rt, $ as s, s as st, de as t, p as tt, se as u, l as ut, G as v, Q as w, J as x, K as y, A as z };
@@ -0,0 +1,182 @@
1
+ import "./request-7X2hpUru.js";
2
+ import { t as e } from "./cloneDeep-REaxTPsZ.js";
3
+ import { n as t, t as n } from "./assist-BRMYD-oT.js";
4
+ import { r, t as i } from "./drawerRegion-BD-xc1x2.js";
5
+ import { PubinfoIcon as a, useAuth as o } from "pubinfo-pr";
6
+ import { createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, openBlock as m, ref as h, resolveDirective as g, toDisplayString as _, unref as v, withCtx as y, withDirectives as b } from "vue";
7
+ import { PlusCircleOutlined as x } from "@ant-design/icons-vue";
8
+ import { Modal as S, message as C } from "ant-design-vue";
9
+ import { Button as w, Space as T } from "ant-design-vue/es";
10
+ import { ProTable as E } from "@pubinfo/pro-components";
11
+ //#region src/views/region/index.vue?vue&type=script&setup=true&lang.tsx
12
+ var D = {
13
+ "w-full": "",
14
+ "h-full": "",
15
+ "py-10px": "",
16
+ "px-10px": ""
17
+ }, O = ["onClick"], k = { class: "ml-4px" }, A = ["onClick"], j = { class: "ml-4px" }, M = ["onClick"], N = { class: "ml-4px" }, P = /* @__PURE__ */ p({
18
+ name: "RegionManage",
19
+ __name: "index",
20
+ setup(p) {
21
+ let { auth: P } = o(), F = h({ parentId: "" }), I = h([]), L = h({}), R = h(), z = h(), B = h([]);
22
+ function V(e) {
23
+ B.value = e;
24
+ }
25
+ let H = [
26
+ {
27
+ minWidth: 240,
28
+ title: "区域名称",
29
+ dataIndex: "name",
30
+ ellipsis: !0
31
+ },
32
+ {
33
+ minWidth: 100,
34
+ title: "区域范围",
35
+ dataIndex: "type"
36
+ },
37
+ {
38
+ minWidth: 140,
39
+ title: "行政区划编码",
40
+ dataIndex: "code",
41
+ ellipsis: !0
42
+ },
43
+ {
44
+ minWidth: 100,
45
+ title: "区域编码",
46
+ dataIndex: "regionCode"
47
+ },
48
+ {
49
+ minWidth: 100,
50
+ title: "显示顺序",
51
+ dataIndex: "sort"
52
+ },
53
+ {
54
+ hideInSearch: !0,
55
+ title: "操作",
56
+ dataIndex: "action",
57
+ width: 240,
58
+ fixed: "right",
59
+ hideInTable() {
60
+ return !P([
61
+ "region_add_child",
62
+ "region_edit",
63
+ "region_remove"
64
+ ]);
65
+ }
66
+ }
67
+ ];
68
+ function U(e, t) {
69
+ switch (e) {
70
+ case r.ADDNEXT:
71
+ F.value.parentId = t.id, L.value = t, z.value?.open(e, t);
72
+ break;
73
+ case r.ADD:
74
+ F.value.parentId = "", L.value = {}, z.value?.open(e);
75
+ break;
76
+ case r.EDIT:
77
+ F.value.parentId = t.parentId, L.value = q(I.value, F.value.parentId), z.value?.open(e, t);
78
+ break;
79
+ case r.REMOVE:
80
+ F.value.parentId = t.parentId, L.value = q(I.value, F.value.parentId), S.confirm({
81
+ title: "删除",
82
+ content: "确定要删除该区域吗?",
83
+ onOk() {
84
+ n({ code: t.code }).then((e) => {
85
+ e.success && (C.success("删除成功"), K());
86
+ });
87
+ }
88
+ });
89
+ break;
90
+ }
91
+ }
92
+ async function W() {
93
+ let e = await t({ ...F.value });
94
+ return L.value && Object.keys(L.value).length > 0 ? e.data.length > 0 ? L.value.children = e.data?.map((e) => ({
95
+ ...e,
96
+ children: e.isLeaf ? void 0 : []
97
+ })) : L.value.children = void 0 : (B.value = [], I.value = e.data?.map((e) => ({
98
+ ...e,
99
+ children: e.isLeaf ? void 0 : []
100
+ }))), {
101
+ success: !0,
102
+ data: I.value
103
+ };
104
+ }
105
+ function G(t, n) {
106
+ let r = e(n);
107
+ t && r.children?.length === 0 && (F.value.parentId = n.id, L.value = n, R.value?.fetch());
108
+ }
109
+ function K() {
110
+ R.value?.reload();
111
+ }
112
+ function q(e, t) {
113
+ for (let n of e) {
114
+ if (n.id === t) return n;
115
+ if (n.children) {
116
+ let e = q(n.children, t);
117
+ if (e) return e;
118
+ }
119
+ }
120
+ }
121
+ return (e, t) => {
122
+ let n = x, o = w, p = a, h = T, S = g("auth");
123
+ return m(), l("div", D, [f(v(E), {
124
+ ref_key: "tableRef",
125
+ ref: R,
126
+ "row-key": "id",
127
+ search: !1,
128
+ request: W,
129
+ columns: H,
130
+ "data-source": v(I),
131
+ pagination: !1,
132
+ "auto-height": "",
133
+ "expanded-row-keys": v(B),
134
+ scroll: { x: 1100 },
135
+ onExpandedRowsChange: V,
136
+ onExpand: G
137
+ }, {
138
+ toolbar: y(() => [b((m(), s(o, {
139
+ type: "primary",
140
+ onClick: t[0] ||= (e) => U(v(r).ADD)
141
+ }, {
142
+ default: y(() => [f(n), d(" " + _(v(r).ADD), 1)]),
143
+ _: 1
144
+ })), [[S, "region_add"]])]),
145
+ bodyCell: y(({ column: e, record: t }) => [e.dataIndex === "action" ? (m(), s(h, { key: 0 }, {
146
+ default: y(() => [
147
+ b((m(), l("a", {
148
+ class: "flex items-center",
149
+ onClick: (e) => U(v(r).ADDNEXT, t)
150
+ }, [f(p, {
151
+ name: "add-child",
152
+ class: "text-base"
153
+ }), u("span", k, _(v(r).ADDNEXT), 1)], 8, O)), [[S, "region_add_child"]]),
154
+ b((m(), l("a", {
155
+ class: "flex items-center",
156
+ onClick: (e) => U(v(r).EDIT, t)
157
+ }, [f(p, {
158
+ name: "edit",
159
+ class: "text-base"
160
+ }), u("span", j, _(v(r).EDIT), 1)], 8, A)), [[S, "region_edit"]]),
161
+ b((m(), l("span", {
162
+ class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
163
+ onClick: (e) => U(v(r).REMOVE, t)
164
+ }, [f(p, {
165
+ name: "remove",
166
+ class: "text-base"
167
+ }), u("span", N, _(v(r).REMOVE), 1)], 8, M)), [[S, "region_remove"]])
168
+ ]),
169
+ _: 2
170
+ }, 1024)) : c("", !0)]),
171
+ _: 1
172
+ }, 8, ["data-source", "expanded-row-keys"]), f(i, {
173
+ ref_key: "drawerRegionRef",
174
+ ref: z,
175
+ "tree-data": v(I),
176
+ onSubmit: t[1] ||= (e) => K()
177
+ }, null, 8, ["tree-data"])]);
178
+ };
179
+ }
180
+ });
181
+ //#endregion
182
+ export { P as default };
@@ -0,0 +1,4 @@
1
+ //#region src/assets/icons/remove.svg
2
+ var e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20class='design-iconfont'%20viewBox='0%200%2016%2017'%20width='24'%20height='24'%20preserveAspectRatio='xMidYMid%20meet'%3e%3crect%20width='7'%20height='1'%20x='4.5'%20y='1.175'%20fill='%23F53F3F'%20rx='.5'/%3e%3crect%20width='4.608'%20height='1'%20x='6.185'%20y='11.27'%20fill='%23F53F3F'%20rx='.5'%20transform='rotate(-90%206.185%2011.27)'/%3e%3crect%20width='4.608'%20height='1'%20x='8.815'%20y='11.27'%20fill='%23F53F3F'%20rx='.5'%20transform='rotate(-90%208.815%2011.27)'/%3e%3cpath%20stroke='%23F53F3F'%20d='M3.074%205.654A1.5%201.5%200%200%201%204.57%204.026h6.862a1.5%201.5%200%200%201%201.495%201.628l-.657%207.65a1.5%201.5%200%200%201-1.494%201.371h-5.55a1.5%201.5%200%200%201-1.494-1.372z'/%3e%3c/svg%3e";
3
+ //#endregion
4
+ export { e as default };
@@ -0,0 +1,5 @@
1
+ import { createContext as e, wrapProxy as t } from "pubinfo-pr";
2
+ //#region src/context.ts
3
+ var n = e("rbac"), r = t(n.use, "request");
4
+ //#endregion
5
+ export { n, r as t };