@pubinfo/module-rbac 2.1.10-beta.2 → 2.1.11

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 (226) hide show
  1. package/dist/ComponentSelect-A7uGTuHW.js +3498 -0
  2. package/dist/{DynamicRoutesForm-DP_sq_Uu.js → DynamicRoutesForm-DSzy_bh5.js} +43 -42
  3. package/dist/HCheckList-ODQHidN8.js +37 -0
  4. package/dist/HoverCard-CmJCoa2b.js +44 -0
  5. package/dist/{IconSelect-CiLpc63Z.js → IconSelect-DouEg3xY.js} +89 -88
  6. package/dist/ImportExport-DisdLoY8.js +342 -0
  7. package/dist/{LayoutForm-Cp4bBrYl.js → LayoutForm-Bdfs5WeK.js} +35 -34
  8. package/dist/{MetaForm-CVSgktB_.js → MetaForm-CcDwS8vh.js} +6128 -6143
  9. package/dist/{OrgAndPosition-ClASobEv.js → OrgAndPosition-jDX7m0HD.js} +61 -60
  10. package/dist/{ResourceEdit-w8qh1MFO.js → ResourceEdit-0BYZRye_.js} +128 -127
  11. package/dist/{ResourceRelation-ChEwIbWM.js → ResourceRelation-CU-QpUhP.js} +25 -25
  12. package/dist/{ResourceRelation-D_j898zp.js → ResourceRelation-roz0a8Td.js} +35 -34
  13. package/dist/{RoleRelation-DzyVn5dk.js → RoleRelation-BQQFaum0.js} +28 -27
  14. package/dist/{RoleSelector-Cd6_RUsc.js → RoleSelector-gkar_UGG.js} +89 -89
  15. package/dist/{TenantEdit-BOvXk7BZ.js → TenantEdit-BsahDUlf.js} +94 -93
  16. package/dist/{UserAuthorization-DLeivbs7.js → UserAuthorization-2Fl4IGw7.js} +81 -80
  17. package/dist/{UserEdit-YKS1FVW_.js → UserEdit-CX3Qau8T.js} +102 -101
  18. package/dist/{animation_item-BU-LInxP.js → animation_item-DBOz2rcX.js} +20 -22
  19. package/dist/{blackWhiteList-CNQltBqC.js → blackWhiteList-DbG7JH8n.js} +69 -69
  20. package/dist/blackWhiteList.css +1 -1
  21. package/dist/breadcrumb_setting-DTR6CPZQ.js +108 -0
  22. package/dist/{browserType-Dn_hQtAN.js → browserType-B8A1Osvk.js} +11 -10
  23. package/dist/chunk-DiMWNkAf.js +18 -0
  24. package/dist/cloneDeep-CSOSavu3.js +6 -0
  25. package/dist/components/GroupSelector/index.vue.d.ts +7 -1
  26. package/dist/components/ResourceIcones/Select.vue.d.ts +2 -1
  27. package/dist/components/ResourceSelector/index.vue.d.ts +7 -1
  28. package/dist/components/RoleSelector/RoleSearch.vue.d.ts +9 -1
  29. package/dist/components/RoleSelector/RoleSelector.vue.d.ts +7 -1
  30. package/dist/{createAndEditDataPermission-CaOBJgoV.js → createAndEditDataPermission-8_KNLzJT.js} +49 -48
  31. package/dist/createAndEditDataPermission.css +1 -1
  32. package/dist/{data-permission-ZRQ-Aoib.js → data-permission-LpuDLDm0.js} +41 -41
  33. package/dist/{dayjs.min-sGDSMYRj.js → dayjs.min-Cb7gQFd4.js} +1 -1
  34. package/dist/{dictionary-CtGgtPfc.js → dictionary-CEaxjqZe.js} +46 -46
  35. package/dist/drawerBlackWhiteList-DXLdWurZ.js +120 -0
  36. package/dist/drawerDictionary-DYJTAZr6.js +126 -0
  37. package/dist/drawerDictionaryItem-BChXD2-q.js +138 -0
  38. package/dist/{drawerGroup-DEuiiDPP.js → drawerGroup-CdnZkZxi.js} +67 -66
  39. package/dist/drawerOrganization-CwtSFUj0.js +247 -0
  40. package/dist/drawerPosition-CfyfeQCN.js +166 -0
  41. package/dist/drawerRegion-DAwY_29K.js +183 -0
  42. package/dist/drawerRole-B7uCfHk-.js +154 -0
  43. package/dist/{drawerRole-Dv61PBZR.js → drawerRole-DK6DrinO.js} +77 -76
  44. package/dist/{drawerRole-DNDyOvXw.js → drawerRole-DrzMHL0O.js} +69 -68
  45. package/dist/{group-BbkZjv5e.js → group-CaOhkh72.js} +48 -48
  46. package/dist/group.css +1 -1
  47. package/dist/index.css +1 -1
  48. package/dist/index.js +613 -689
  49. package/dist/isEmpty-BjEzPyCa.js +12 -0
  50. package/dist/{itemlist-By-FV6pN.js → itemlist-CFwRUV2Y.js} +44 -44
  51. package/dist/json-asset-03f0a035.json +1 -0
  52. package/dist/json-asset-0ee63e7f.json +1 -0
  53. package/dist/json-asset-10eef4fe.json +1 -0
  54. package/dist/json-asset-13f452f1.json +1 -0
  55. package/dist/json-asset-14b7b290.json +1 -0
  56. package/dist/json-asset-15b8cef1.json +1 -0
  57. package/dist/json-asset-15f77960.json +1 -0
  58. package/dist/json-asset-1ae9b726.json +1 -0
  59. package/dist/json-asset-1b02359f.json +1 -0
  60. package/dist/json-asset-1ef286cd.json +1 -0
  61. package/dist/json-asset-23cfd18c.json +1 -0
  62. package/dist/json-asset-265a0a5d.json +1 -0
  63. package/dist/json-asset-28d57c49.json +1 -0
  64. package/dist/json-asset-2b54ed10.json +1 -0
  65. package/dist/json-asset-2bb6f642.json +1 -0
  66. package/dist/json-asset-2cdc07bd.json +1 -0
  67. package/dist/json-asset-31c58607.json +1 -0
  68. package/dist/json-asset-32884f23.json +1 -0
  69. package/dist/json-asset-32fca43a.json +1 -0
  70. package/dist/json-asset-3a75445b.json +1 -0
  71. package/dist/json-asset-3f27d67c.json +1 -0
  72. package/dist/json-asset-4189453f.json +1 -0
  73. package/dist/json-asset-4702b37c.json +1 -0
  74. package/dist/json-asset-520a5c68.json +1 -0
  75. package/dist/json-asset-56bea508.json +1 -0
  76. package/dist/json-asset-57c732a3.json +1 -0
  77. package/dist/json-asset-5be4a28f.json +1 -0
  78. package/dist/json-asset-5e6d7cfa.json +1 -0
  79. package/dist/json-asset-64e176c9.json +1 -0
  80. package/dist/json-asset-6583dca6.json +1 -0
  81. package/dist/json-asset-66c640c6.json +1 -0
  82. package/dist/json-asset-68393156.json +1 -0
  83. package/dist/json-asset-688465aa.json +1 -0
  84. package/dist/json-asset-6bf334f4.json +1 -0
  85. package/dist/json-asset-7b4f72ce.json +1 -0
  86. package/dist/json-asset-837ec087.json +1 -0
  87. package/dist/json-asset-838ac1ba.json +1 -0
  88. package/dist/json-asset-8465c2cf.json +1 -0
  89. package/dist/json-asset-9e9f04a4.json +1 -0
  90. package/dist/json-asset-a13964cb.json +1 -0
  91. package/dist/json-asset-ab93a057.json +1 -0
  92. package/dist/json-asset-abe308fc.json +1 -0
  93. package/dist/json-asset-b24f2cd3.json +1 -0
  94. package/dist/json-asset-bf00eaed.json +1 -0
  95. package/dist/json-asset-cb22efd7.json +1 -0
  96. package/dist/json-asset-cb953f20.json +1 -0
  97. package/dist/json-asset-cc209e34.json +1 -0
  98. package/dist/json-asset-cfdffceb.json +1 -0
  99. package/dist/json-asset-d33c0299.json +1 -0
  100. package/dist/json-asset-d430c8ca.json +1 -0
  101. package/dist/json-asset-d8cfa560.json +1 -0
  102. package/dist/json-asset-da91beb6.json +1 -0
  103. package/dist/json-asset-e2bdf85c.json +1 -0
  104. package/dist/json-asset-e34ad826.json +1 -0
  105. package/dist/json-asset-e80720aa.json +1 -0
  106. package/dist/json-asset-e894bc92.json +1 -0
  107. package/dist/json-asset-f28020f2.json +1 -0
  108. package/dist/json-asset-f71ebbf4.json +1 -0
  109. package/dist/json-asset-fb1f4917.json +1 -0
  110. package/dist/json-asset-ff2e97c4.json +1 -0
  111. package/dist/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
  112. package/dist/layout_setting.css +1 -1
  113. package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
  114. package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
  115. package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
  116. package/dist/login_history.css +1 -1
  117. package/dist/menu_setting-C2GciMXz.js +155 -0
  118. package/dist/not-data-Bml86wdH.js +3 -0
  119. package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
  120. package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
  121. package/dist/operate_history.css +1 -1
  122. package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
  123. package/dist/organization.css +1 -1
  124. package/dist/other_setting-oVuhA70c.js +213 -0
  125. package/dist/other_setting.css +1 -1
  126. package/dist/page_animation_setting-D0CtzyOZ.js +108 -0
  127. package/dist/page_animation_setting.css +1 -1
  128. package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
  129. package/dist/page_w_setting.css +1 -1
  130. package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
  131. package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
  132. package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
  133. package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
  134. package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
  135. package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
  136. package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
  137. package/dist/setItem.css +1 -1
  138. package/dist/tabbar_setting-DhrW4Jj5.js +139 -0
  139. package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
  140. package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
  141. package/dist/theme_setting.css +1 -1
  142. package/dist/toolbar_setting-znESrYgi.js +140 -0
  143. package/dist/useAppAndResource-B7FmNfKG.js +52 -0
  144. package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
  145. package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
  146. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
  147. package/dist/views/components/setItem.vue.d.ts +5 -1
  148. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
  149. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
  150. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
  151. package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
  152. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
  153. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
  154. package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
  155. package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
  156. package/dist/views/other_setting/interface.d.ts +1 -2
  157. package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
  158. package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
  159. package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
  160. package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
  161. package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
  162. package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
  163. package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
  164. package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
  165. package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
  166. package/dist/watermark_setting-DYirSIAn.js +191 -0
  167. package/dist/watermark_setting.css +1 -1
  168. package/package.json +13 -13
  169. package/src/views/other_setting/index.vue +2 -2
  170. package/src/views/other_setting/interface.ts +1 -1
  171. package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
  172. package/dist/ComponentSelect-WO-3S5rH.js +0 -2
  173. package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
  174. package/dist/HCheckList-B5Qk_HBI.js +0 -2
  175. package/dist/HCheckList-DLBewmPw.js +0 -36
  176. package/dist/HoverCard-69ZIOivd.js +0 -2
  177. package/dist/HoverCard-BDFcxxvk.js +0 -43
  178. package/dist/IconSelect-C_Gj5G4I.js +0 -3
  179. package/dist/ImportExport-CL5uPlby.js +0 -342
  180. package/dist/ImportExport-CPy2rvv7.js +0 -4
  181. package/dist/LayoutForm-QFjwakyQ.js +0 -4
  182. package/dist/MetaForm-Bb-um1Zo.js +0 -4
  183. package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
  184. package/dist/ResourceEdit-BTaNdwC_.js +0 -10
  185. package/dist/ResourceRelation-BIOzTOKA.js +0 -2
  186. package/dist/RoleRelation-CyTcqRfZ.js +0 -2
  187. package/dist/TenantEdit-BlMmL6q5.js +0 -2
  188. package/dist/UserAuthorization-qGr1Sdat.js +0 -3
  189. package/dist/UserEdit-CwfyqNWf.js +0 -3
  190. package/dist/animation_item-GzGItm3s.js +0 -2
  191. package/dist/breadcrumb_setting-Ds-XJRR1.js +0 -108
  192. package/dist/browserType-BXTT4j6i.js +0 -2
  193. package/dist/chunk-Cpsc_9al.js +0 -18
  194. package/dist/cloneDeep-DDAtsK42.js +0 -7
  195. package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
  196. package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
  197. package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
  198. package/dist/drawerDictionary-D911w7pC.js +0 -2
  199. package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
  200. package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
  201. package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
  202. package/dist/drawerGroup-CEEDMBg9.js +0 -3
  203. package/dist/drawerOrganization-CqEMD3gE.js +0 -246
  204. package/dist/drawerOrganization-mks5NMd9.js +0 -2
  205. package/dist/drawerPosition-Bd0s7qze.js +0 -165
  206. package/dist/drawerPosition-DwlTrlGA.js +0 -2
  207. package/dist/drawerRegion-DUbQAZuV.js +0 -182
  208. package/dist/drawerRegion-DwVzsZfT.js +0 -2
  209. package/dist/drawerRole-BNrbcSmr.js +0 -3
  210. package/dist/drawerRole-BxUIekjh.js +0 -3
  211. package/dist/drawerRole-CyA2oFht.js +0 -4
  212. package/dist/drawerRole-D5X7oHB_.js +0 -153
  213. package/dist/isEmpty-BvRqbmpu.js +0 -13
  214. package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
  215. package/dist/menu_setting-5Jet091Q.js +0 -155
  216. package/dist/not-data-Cx--tk_h.js +0 -2
  217. package/dist/not-data-tyTawN37.js +0 -2
  218. package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
  219. package/dist/other_setting-DQ70WnZK.js +0 -213
  220. package/dist/page_animation_setting-Lp6cMuFM.js +0 -108
  221. package/dist/routeSystem-DXMoWhFo.js +0 -2
  222. package/dist/setItem-Qa7UapHO.js +0 -4
  223. package/dist/tabbar_setting-B3kMhRNm.js +0 -139
  224. package/dist/toolbar_setting-DNBdxeGP.js +0 -140
  225. package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
  226. package/dist/watermark_setting-CXp4Og0Y.js +0 -191
@@ -1,5 +1,5 @@
1
1
  import { Ct as postRbacPostFindPage, bt as deleteRbacPostDeleteById } from "./index.js";
2
- import { n as ACTION, t as drawerPosition_default } from "./drawerPosition-Bd0s7qze.js";
2
+ import { r as ACTION, t as drawerPosition_default } from "./drawerPosition-CfyfeQCN.js";
3
3
  import { PubinfoIcon, useAuth } from "pubinfo";
4
4
  import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
5
5
  import { PlusCircleOutlined } from "@ant-design/icons-vue";
@@ -17,24 +17,24 @@ var _hoisted_1 = {
17
17
  }, _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], _hoisted_5 = { class: "ml-4px" }, _hoisted_6 = ["onClick"], _hoisted_7 = { class: "ml-4px" }, position_default = /* @__PURE__ */ defineComponent({
18
18
  name: "PositionManage",
19
19
  __name: "index",
20
- setup(A) {
21
- let { auth: P } = useAuth(), F = ref(), I = ref();
22
- function L() {
23
- F.value?.reload();
20
+ setup(o) {
21
+ let { auth: u } = useAuth(), d = ref(), f = ref();
22
+ function p() {
23
+ d.value?.reload();
24
24
  }
25
- async function R(T) {
26
- let { current: E, pageSize: D, ...O } = T, k = await postRbacPostFindPage({
27
- currentPage: E,
28
- pageSize: D,
29
- ...O
25
+ async function m(t) {
26
+ let { current: n, pageSize: r, ...i } = t, a = await postRbacPostFindPage({
27
+ currentPage: n,
28
+ pageSize: r,
29
+ ...i
30
30
  });
31
31
  return {
32
- success: k.success,
33
- data: k.data?.records ?? [],
34
- total: k.data?.total ?? 0
32
+ success: a.success,
33
+ data: a.data?.records ?? [],
34
+ total: a.data?.total ?? 0
35
35
  };
36
36
  }
37
- let z = [
37
+ let h = [
38
38
  {
39
39
  valueType: "a-input",
40
40
  bind: "value",
@@ -66,7 +66,7 @@ var _hoisted_1 = {
66
66
  minWidth: 100,
67
67
  title: "是否启用",
68
68
  dataIndex: "enable",
69
- customRender: ({ text: a }) => a ? createVNode(Badge, {
69
+ customRender: ({ text: e }) => e ? createVNode(Badge, {
70
70
  status: "success",
71
71
  text: "启用"
72
72
  }, null) : createVNode(Badge, {
@@ -88,7 +88,7 @@ var _hoisted_1 = {
88
88
  dataIndex: "action",
89
89
  fixed: "right",
90
90
  hideInTable() {
91
- return !P([
91
+ return !u([
92
92
  "region_add_child",
93
93
  "region_edit",
94
94
  "region_remove"
@@ -96,69 +96,69 @@ var _hoisted_1 = {
96
96
  }
97
97
  }
98
98
  ];
99
- function B(a, D) {
100
- switch (a) {
99
+ function g(e, r) {
100
+ switch (e) {
101
101
  case ACTION.EDIT:
102
- I.value?.open(a, D);
102
+ f.value?.open(e, r);
103
103
  break;
104
104
  case ACTION.ADD:
105
- I.value?.open(a);
105
+ f.value?.open(e);
106
106
  break;
107
107
  case ACTION.REMOVE:
108
108
  Modal.confirm({
109
109
  title: "删除",
110
110
  content: "确定要删除该岗位吗?",
111
111
  onOk() {
112
- deleteRbacPostDeleteById({ id: D?.id }).then((a) => {
113
- a.success && (message.success("删除成功"), L());
112
+ deleteRbacPostDeleteById({ id: r?.id }).then((e) => {
113
+ e.success && (message.success("删除成功"), p());
114
114
  });
115
115
  }
116
116
  });
117
117
  break;
118
118
  }
119
119
  }
120
- return (a, T) => {
121
- let k = PlusCircleOutlined, A = Button, j = PubinfoIcon, M = Space$1, N = resolveDirective("auth");
120
+ return (e, t) => {
121
+ let a = PlusCircleOutlined, o = Button, s = PubinfoIcon, c = Space$1, l = resolveDirective("auth");
122
122
  return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
123
123
  ref_key: "tableRef",
124
- ref: F,
124
+ ref: d,
125
125
  "row-key": "id",
126
- request: R,
127
- columns: z,
126
+ request: m,
127
+ columns: h,
128
128
  "auto-height": "",
129
129
  scroll: { x: 1100 }
130
130
  }, {
131
- toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(A, {
131
+ toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(o, {
132
132
  type: "primary",
133
- onClick: T[0] ||= (a) => B(unref(ACTION).ADD)
133
+ onClick: t[0] ||= (e) => g(unref(ACTION).ADD)
134
134
  }, {
135
- default: withCtx(() => [createVNode(k), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
135
+ default: withCtx(() => [createVNode(a), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
136
136
  _: 1
137
- })), [[N, "position_add"]])]),
138
- bodyCell: withCtx(({ column: a, record: T }) => [a.dataIndex === "type" ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(j, {
137
+ })), [[l, "position_add"]])]),
138
+ bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "type" ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(s, {
139
139
  name: "icon_position_type",
140
140
  class: "text-20px"
141
- }), createElementVNode("span", _hoisted_3, toDisplayString(T.type), 1)])) : createCommentVNode("", !0), a.dataIndex === "action" ? (openBlock(), createBlock(M, { key: 1 }, {
141
+ }), createElementVNode("span", _hoisted_3, toDisplayString(t.type), 1)])) : createCommentVNode("", !0), e.dataIndex === "action" ? (openBlock(), createBlock(c, { key: 1 }, {
142
142
  default: withCtx(() => [withDirectives((openBlock(), createElementBlock("a", {
143
143
  class: "flex items-center",
144
- onClick: (a) => B(unref(ACTION).EDIT, T)
145
- }, [createVNode(j, {
144
+ onClick: (e) => g(unref(ACTION).EDIT, t)
145
+ }, [createVNode(s, {
146
146
  name: "edit",
147
147
  class: "text-base"
148
- }), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[N, "position_edit"]]), withDirectives((openBlock(), createElementBlock("span", {
148
+ }), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[l, "position_edit"]]), withDirectives((openBlock(), createElementBlock("span", {
149
149
  class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
150
- onClick: (a) => B(unref(ACTION).REMOVE, T)
151
- }, [createVNode(j, {
150
+ onClick: (e) => g(unref(ACTION).REMOVE, t)
151
+ }, [createVNode(s, {
152
152
  name: "remove",
153
153
  class: "text-base"
154
- }), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_6)), [[N, "position_remove"]])]),
154
+ }), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_6)), [[l, "position_remove"]])]),
155
155
  _: 2
156
156
  }, 1024)) : createCommentVNode("", !0)]),
157
157
  _: 1
158
158
  }, 512), createVNode(drawerPosition_default, {
159
159
  ref_key: "drawerPositionRef",
160
- ref: I,
161
- onSubmit: T[1] ||= (a) => L()
160
+ ref: f,
161
+ onSubmit: t[1] ||= (e) => p()
162
162
  }, null, 512)]);
163
163
  };
164
164
  }
@@ -1,6 +1,6 @@
1
- import { t as cloneDeep_default } from "./cloneDeep-DDAtsK42.js";
1
+ import { t as cloneDeep } from "./cloneDeep-CSOSavu3.js";
2
2
  import { Et as getRegionGetListByParentId, Tt as getRegionDeleteRegionByCode } from "./index.js";
3
- import { n as ACTION, t as drawerRegion_default } from "./drawerRegion-DUbQAZuV.js";
3
+ import { r as ACTION, t as drawerRegion_default } from "./drawerRegion-DAwY_29K.js";
4
4
  import { PubinfoIcon, useAuth } from "pubinfo";
5
5
  import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
6
6
  import { PlusCircleOutlined } from "@ant-design/icons-vue";
@@ -15,12 +15,12 @@ var _hoisted_1 = {
15
15
  }, _hoisted_2 = ["onClick"], _hoisted_3 = { class: "ml-4px" }, _hoisted_4 = ["onClick"], _hoisted_5 = { class: "ml-4px" }, _hoisted_6 = ["onClick"], _hoisted_7 = { class: "ml-4px" }, region_default = /* @__PURE__ */ defineComponent({
16
16
  name: "RegionManage",
17
17
  __name: "index",
18
- setup(j) {
19
- let { auth: P } = useAuth(), F = ref({ parentId: "" }), I = ref([]), L = ref({}), R = ref(), z = ref(), B = ref([]);
20
- function V(i) {
21
- B.value = i;
18
+ setup(a) {
19
+ let { auth: c } = useAuth(), l = ref({ parentId: "" }), u = ref([]), d = ref({}), f = ref(), p = ref(), m = ref([]);
20
+ function h(e) {
21
+ m.value = e;
22
22
  }
23
- let H = [
23
+ let g = [
24
24
  {
25
25
  minWidth: 240,
26
26
  title: "区域名称",
@@ -55,7 +55,7 @@ var _hoisted_1 = {
55
55
  width: 240,
56
56
  fixed: "right",
57
57
  hideInTable() {
58
- return !P([
58
+ return !c([
59
59
  "region_add_child",
60
60
  "region_edit",
61
61
  "region_remove"
@@ -63,115 +63,115 @@ var _hoisted_1 = {
63
63
  }
64
64
  }
65
65
  ];
66
- function U(i, D) {
67
- switch (i) {
66
+ function _(e, t) {
67
+ switch (e) {
68
68
  case ACTION.ADDNEXT:
69
- F.value.parentId = D.id, L.value = D, z.value?.open(i, D);
69
+ l.value.parentId = t.id, d.value = t, p.value?.open(e, t);
70
70
  break;
71
71
  case ACTION.ADD:
72
- F.value.parentId = "", L.value = {}, z.value?.open(i);
72
+ l.value.parentId = "", d.value = {}, p.value?.open(e);
73
73
  break;
74
74
  case ACTION.EDIT:
75
- F.value.parentId = D.parentId, L.value = q(I.value, F.value.parentId), z.value?.open(i, D);
75
+ l.value.parentId = t.parentId, d.value = x(u.value, l.value.parentId), p.value?.open(e, t);
76
76
  break;
77
77
  case ACTION.REMOVE:
78
- F.value.parentId = D.parentId, L.value = q(I.value, F.value.parentId), Modal.confirm({
78
+ l.value.parentId = t.parentId, d.value = x(u.value, l.value.parentId), Modal.confirm({
79
79
  title: "删除",
80
80
  content: "确定要删除该区域吗?",
81
81
  onOk() {
82
- getRegionDeleteRegionByCode({ code: D.code }).then((i) => {
83
- i.success && (message.success("删除成功"), K());
82
+ getRegionDeleteRegionByCode({ code: t.code }).then((e) => {
83
+ e.success && (message.success("删除成功"), b());
84
84
  });
85
85
  }
86
86
  });
87
87
  break;
88
88
  }
89
89
  }
90
- async function W() {
91
- let i = await getRegionGetListByParentId({ ...F.value });
92
- return L.value && Object.keys(L.value).length > 0 ? i.data.length > 0 ? L.value.children = i.data?.map((i) => ({
93
- ...i,
94
- children: i.isLeaf ? void 0 : []
95
- })) : L.value.children = void 0 : (B.value = [], I.value = i.data?.map((i) => ({
96
- ...i,
97
- children: i.isLeaf ? void 0 : []
90
+ async function v() {
91
+ let e = await getRegionGetListByParentId({ ...l.value });
92
+ return d.value && Object.keys(d.value).length > 0 ? e.data.length > 0 ? d.value.children = e.data?.map((e) => ({
93
+ ...e,
94
+ children: e.isLeaf ? void 0 : []
95
+ })) : d.value.children = void 0 : (m.value = [], u.value = e.data?.map((e) => ({
96
+ ...e,
97
+ children: e.isLeaf ? void 0 : []
98
98
  }))), {
99
99
  success: !0,
100
- data: I.value
100
+ data: u.value
101
101
  };
102
102
  }
103
- function G(D, O) {
104
- let k = cloneDeep_default(O);
105
- D && k.children?.length === 0 && (F.value.parentId = O.id, L.value = O, R.value?.fetch());
103
+ function y(t, n) {
104
+ let r = cloneDeep(n);
105
+ t && r.children?.length === 0 && (l.value.parentId = n.id, d.value = n, f.value?.fetch());
106
106
  }
107
- function K() {
108
- R.value?.reload();
107
+ function b() {
108
+ f.value?.reload();
109
109
  }
110
- function q(i, D) {
111
- for (let O of i) {
112
- if (O.id === D) return O;
113
- if (O.children) {
114
- let i = q(O.children, D);
115
- if (i) return i;
110
+ function x(e, t) {
111
+ for (let n of e) {
112
+ if (n.id === t) return n;
113
+ if (n.children) {
114
+ let e = x(n.children, t);
115
+ if (e) return e;
116
116
  }
117
117
  }
118
118
  }
119
- return (i, D) => {
120
- let O = PlusCircleOutlined, A = Button, j = PubinfoIcon, M = Space$1, N = resolveDirective("auth");
119
+ return (e, t) => {
120
+ let n = PlusCircleOutlined, i = Button, a = PubinfoIcon, o = Space$1, s = resolveDirective("auth");
121
121
  return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(ProTable), {
122
122
  ref_key: "tableRef",
123
- ref: R,
123
+ ref: f,
124
124
  "row-key": "id",
125
125
  search: !1,
126
- request: W,
127
- columns: H,
128
- "data-source": unref(I),
126
+ request: v,
127
+ columns: g,
128
+ "data-source": unref(u),
129
129
  pagination: !1,
130
130
  "auto-height": "",
131
- "expanded-row-keys": unref(B),
131
+ "expanded-row-keys": unref(m),
132
132
  scroll: { x: 1100 },
133
- onExpandedRowsChange: V,
134
- onExpand: G
133
+ onExpandedRowsChange: h,
134
+ onExpand: y
135
135
  }, {
136
- toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(A, {
136
+ toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(i, {
137
137
  type: "primary",
138
- onClick: D[0] ||= (i) => U(unref(ACTION).ADD)
138
+ onClick: t[0] ||= (e) => _(unref(ACTION).ADD)
139
139
  }, {
140
- default: withCtx(() => [createVNode(O), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
140
+ default: withCtx(() => [createVNode(n), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
141
141
  _: 1
142
- })), [[N, "region_add"]])]),
143
- bodyCell: withCtx(({ column: i, record: D }) => [i.dataIndex === "action" ? (openBlock(), createBlock(M, { key: 0 }, {
142
+ })), [[s, "region_add"]])]),
143
+ bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(o, { key: 0 }, {
144
144
  default: withCtx(() => [
145
145
  withDirectives((openBlock(), createElementBlock("a", {
146
146
  class: "flex items-center",
147
- onClick: (i) => U(unref(ACTION).ADDNEXT, D)
148
- }, [createVNode(j, {
147
+ onClick: (e) => _(unref(ACTION).ADDNEXT, t)
148
+ }, [createVNode(a, {
149
149
  name: "add-child",
150
150
  class: "text-base"
151
- }), createElementVNode("span", _hoisted_3, toDisplayString(unref(ACTION).ADDNEXT), 1)], 8, _hoisted_2)), [[N, "region_add_child"]]),
151
+ }), createElementVNode("span", _hoisted_3, toDisplayString(unref(ACTION).ADDNEXT), 1)], 8, _hoisted_2)), [[s, "region_add_child"]]),
152
152
  withDirectives((openBlock(), createElementBlock("a", {
153
153
  class: "flex items-center",
154
- onClick: (i) => U(unref(ACTION).EDIT, D)
155
- }, [createVNode(j, {
154
+ onClick: (e) => _(unref(ACTION).EDIT, t)
155
+ }, [createVNode(a, {
156
156
  name: "edit",
157
157
  class: "text-base"
158
- }), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[N, "region_edit"]]),
158
+ }), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[s, "region_edit"]]),
159
159
  withDirectives((openBlock(), createElementBlock("span", {
160
160
  class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
161
- onClick: (i) => U(unref(ACTION).REMOVE, D)
162
- }, [createVNode(j, {
161
+ onClick: (e) => _(unref(ACTION).REMOVE, t)
162
+ }, [createVNode(a, {
163
163
  name: "remove",
164
164
  class: "text-base"
165
- }), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_6)), [[N, "region_remove"]])
165
+ }), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_6)), [[s, "region_remove"]])
166
166
  ]),
167
167
  _: 2
168
168
  }, 1024)) : createCommentVNode("", !0)]),
169
169
  _: 1
170
170
  }, 8, ["data-source", "expanded-row-keys"]), createVNode(drawerRegion_default, {
171
171
  ref_key: "drawerRegionRef",
172
- ref: z,
173
- "tree-data": unref(I),
174
- onSubmit: D[1] ||= (i) => K()
172
+ ref: p,
173
+ "tree-data": unref(u),
174
+ onSubmit: t[1] ||= (e) => b()
175
175
  }, null, 8, ["tree-data"])]);
176
176
  };
177
177
  }
@@ -1,17 +1,17 @@
1
- import "./MetaForm-CVSgktB_.js";
2
- import { t as cloneDeep_default } from "./cloneDeep-DDAtsK42.js";
3
- import "./ComponentSelect-D0OCk6H1.js";
1
+ import "./MetaForm-CcDwS8vh.js";
2
+ import { t as cloneDeep } from "./cloneDeep-CSOSavu3.js";
3
+ import "./ComponentSelect-A7uGTuHW.js";
4
4
  import { I as getRbacResourceResourceDelete, L as getRbacResourceResourceTree } from "./index.js";
5
5
  import "./enum-3mYayxff.js";
6
6
  import { i as resourceOptions, n as RESOURCE_COLOR, r as RESOURCE_TYPE, t as ACTION } from "./enum-3E_sUqRF.js";
7
- import "./DynamicRoutesForm-DP_sq_Uu.js";
8
- import "./HoverCard-BDFcxxvk.js";
9
- import "./IconSelect-CiLpc63Z.js";
10
- import "./dayjs.min-sGDSMYRj.js";
11
- import { t as ImportExport_default } from "./ImportExport-CL5uPlby.js";
12
- import "./LayoutForm-Cp4bBrYl.js";
13
- import { t as ResourceEdit_default } from "./ResourceEdit-w8qh1MFO.js";
14
- import { t as RoleRelation_default } from "./RoleRelation-DzyVn5dk.js";
7
+ import "./DynamicRoutesForm-DSzy_bh5.js";
8
+ import "./HoverCard-CmJCoa2b.js";
9
+ import "./IconSelect-DouEg3xY.js";
10
+ import "./dayjs.min-Cb7gQFd4.js";
11
+ import { t as ImportExport_default } from "./ImportExport-DisdLoY8.js";
12
+ import "./LayoutForm-Bdfs5WeK.js";
13
+ import { t as ResourceEdit_default } from "./ResourceEdit-0BYZRye_.js";
14
+ import { t as RoleRelation_default } from "./RoleRelation-BQQFaum0.js";
15
15
  import { PubinfoIcon, useAuth } from "pubinfo";
16
16
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
17
17
  import { PlusCircleOutlined, SwapOutlined } from "@ant-design/icons-vue";
@@ -26,8 +26,8 @@ var _hoisted_1 = {
26
26
  }, _hoisted_2 = ["onClick"], _hoisted_3 = ["onClick"], _hoisted_4 = ["onClick"], _hoisted_5 = ["onClick"], resource_default = /* @__PURE__ */ defineComponent({
27
27
  name: "Resource",
28
28
  __name: "index",
29
- setup(B) {
30
- let { auth: V } = useAuth(), H = [
29
+ setup(s) {
30
+ let { auth: c } = useAuth(), l = [
31
31
  {
32
32
  valueType: "a-input",
33
33
  width: 200,
@@ -48,11 +48,11 @@ var _hoisted_1 = {
48
48
  allowClear: !0,
49
49
  options: resourceOptions
50
50
  },
51
- customRender({ text: c }) {
51
+ customRender({ text: e }) {
52
52
  return createVNode("div", { class: "flex items-center space-x-1" }, [createVNode(Tag, {
53
- color: RESOURCE_COLOR[c],
53
+ color: RESOURCE_COLOR[e],
54
54
  bordered: !1
55
- }, { default: () => [resourceOptions.find((P) => P.value === c)?.label] })]);
55
+ }, { default: () => [resourceOptions.find((t) => t.value === e)?.label] })]);
56
56
  }
57
57
  },
58
58
  {
@@ -70,8 +70,8 @@ var _hoisted_1 = {
70
70
  dataIndex: "meta",
71
71
  ellipsis: !0,
72
72
  hideInSearch: !0,
73
- customRender({ text: c }) {
74
- return c?.url || "-";
73
+ customRender({ text: e }) {
74
+ return e?.url || "-";
75
75
  }
76
76
  },
77
77
  {
@@ -97,8 +97,8 @@ var _hoisted_1 = {
97
97
  label: "否"
98
98
  }]
99
99
  },
100
- customRender({ text: c }) {
101
- return c ? createVNode(Badge, {
100
+ customRender({ text: e }) {
101
+ return e ? createVNode(Badge, {
102
102
  status: "success",
103
103
  text: "是"
104
104
  }, null) : createVNode(Badge, {
@@ -121,7 +121,7 @@ var _hoisted_1 = {
121
121
  width: 300,
122
122
  hideInSearch: !0,
123
123
  hideInTable() {
124
- return !V([
124
+ return !c([
125
125
  "resource_role_relation",
126
126
  "resource_add_child",
127
127
  "resource_edit",
@@ -130,45 +130,45 @@ var _hoisted_1 = {
130
130
  }
131
131
  }
132
132
  ];
133
- function U(c, P) {
134
- return c?.map((c) => (c.children = c.children && U(c.children, P), P(c))) ?? [];
133
+ function u(e, t) {
134
+ return e?.map((e) => (e.children = e.children && u(e.children, t), t(e))) ?? [];
135
135
  }
136
- let W = ref(), G = computed(() => W.value?.dataSource ?? []);
137
- function K() {
138
- W.value.reload();
136
+ let d = ref(), f = computed(() => d.value?.dataSource ?? []);
137
+ function p() {
138
+ d.value.reload();
139
139
  }
140
- async function q(P) {
141
- let { pageSize: I, current: L, ...R } = cloneDeep_default(P);
140
+ async function m(t) {
141
+ let { pageSize: r, current: i, ...a } = cloneDeep(t);
142
142
  return {
143
143
  success: !0,
144
- data: await getRbacResourceResourceTree({ ...R }, { transform(c) {
145
- return U(c?.data ?? [], (c) => c.leaf ? {
146
- ...c,
144
+ data: await getRbacResourceResourceTree({ ...a }, { transform(e) {
145
+ return u(e?.data ?? [], (e) => e.leaf ? {
146
+ ...e,
147
147
  children: void 0
148
- } : c);
148
+ } : e);
149
149
  } })
150
150
  };
151
151
  }
152
- let J = ref(), Y = ref(), X = ref();
153
- function Z(c, F) {
154
- switch (c) {
152
+ let h = ref(), g = ref(), _ = ref();
153
+ function v(e, n) {
154
+ switch (e) {
155
155
  case ACTION.ROLE_RELATION:
156
- Y.value.open(F);
156
+ g.value.open(n);
157
157
  break;
158
158
  case ACTION.ADD:
159
- J.value.open(c);
159
+ h.value.open(e);
160
160
  break;
161
161
  case ACTION.ADD_CHILD:
162
- J.value.open(c, F);
162
+ h.value.open(e, n);
163
163
  break;
164
164
  case ACTION.EDIT:
165
- J.value.open(c, F);
165
+ h.value.open(e, n);
166
166
  break;
167
167
  case ACTION.IMPORT_EXPORT:
168
- X.value.open();
168
+ _.value.open();
169
169
  break;
170
170
  case ACTION.REMOVE:
171
- if (!F?.leaf) {
171
+ if (!n?.leaf) {
172
172
  message.info("非叶子节点不能删除");
173
173
  return;
174
174
  }
@@ -176,73 +176,73 @@ var _hoisted_1 = {
176
176
  title: "删除",
177
177
  content: "确定要删除该资源吗?",
178
178
  async onOk() {
179
- (await getRbacResourceResourceDelete({ id: F?.id })).success && (message.success("删除成功"), K());
179
+ (await getRbacResourceResourceDelete({ id: n?.id })).success && (message.success("删除成功"), p());
180
180
  }
181
181
  });
182
182
  break;
183
183
  }
184
184
  }
185
- return (c, P) => {
186
- let F = PlusCircleOutlined, I = Button, L = Space$1, z = resolveDirective("auth");
185
+ return (e, t) => {
186
+ let n = PlusCircleOutlined, r = Button, i = Space$1, o = resolveDirective("auth");
187
187
  return openBlock(), createElementBlock("div", _hoisted_1, [
188
188
  createVNode(unref(ProTable), {
189
189
  ref_key: "tableRef",
190
- ref: W,
190
+ ref: d,
191
191
  "row-key": "id",
192
- columns: H,
193
- request: q,
192
+ columns: l,
193
+ request: m,
194
194
  pagination: !1,
195
195
  scroll: { x: 1280 },
196
196
  "auto-height": ""
197
197
  }, {
198
- toolbar: withCtx(() => [createVNode(L, null, {
199
- default: withCtx(() => [withDirectives((openBlock(), createBlock(I, {
198
+ toolbar: withCtx(() => [createVNode(i, null, {
199
+ default: withCtx(() => [withDirectives((openBlock(), createBlock(r, {
200
200
  type: "primary",
201
- onClick: P[0] ||= (c) => Z(unref(ACTION).ADD)
201
+ onClick: t[0] ||= (e) => v(unref(ACTION).ADD)
202
202
  }, {
203
- default: withCtx(() => [createVNode(F), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
203
+ default: withCtx(() => [createVNode(n), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
204
204
  _: 1
205
- })), [[z, "resource_app_add"]]), createVNode(I, { onClick: P[1] ||= (c) => Z(unref(ACTION).IMPORT_EXPORT) }, {
205
+ })), [[o, "resource_app_add"]]), createVNode(r, { onClick: t[1] ||= (e) => v(unref(ACTION).IMPORT_EXPORT) }, {
206
206
  default: withCtx(() => [createVNode(unref(SwapOutlined)), createTextVNode(" " + toDisplayString(unref(ACTION).IMPORT_EXPORT), 1)]),
207
207
  _: 1
208
208
  })]),
209
209
  _: 1
210
210
  })]),
211
- bodyCell: withCtx(({ column: c, record: P }) => [c.dataIndex === "action" ? (openBlock(), createBlock(L, { key: 0 }, {
211
+ bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(i, { key: 0 }, {
212
212
  default: withCtx(() => [
213
213
  withDirectives((openBlock(), createElementBlock("a", {
214
214
  class: "flex items-center",
215
- onClick: (c) => Z(unref(ACTION).ROLE_RELATION, P)
215
+ onClick: (e) => v(unref(ACTION).ROLE_RELATION, t)
216
216
  }, [createVNode(unref(PubinfoIcon), {
217
217
  name: "view",
218
218
  class: "mr-1 text-base"
219
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).ROLE_RELATION), 1)], 8, _hoisted_2)), [[z, "resource_role_relation"]]),
219
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).ROLE_RELATION), 1)], 8, _hoisted_2)), [[o, "resource_role_relation"]]),
220
220
  [
221
221
  unref(RESOURCE_TYPE).BUTTON,
222
222
  unref(RESOURCE_TYPE).IFRAME,
223
223
  unref(RESOURCE_TYPE).LINK
224
- ].includes(P.type) ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("a", {
224
+ ].includes(t.type) ? createCommentVNode("", !0) : withDirectives((openBlock(), createElementBlock("a", {
225
225
  key: 0,
226
226
  class: "flex items-center",
227
- onClick: (c) => Z(unref(ACTION).ADD_CHILD, P)
227
+ onClick: (e) => v(unref(ACTION).ADD_CHILD, t)
228
228
  }, [createVNode(unref(PubinfoIcon), {
229
229
  name: "add-child",
230
230
  class: "mr-1 text-base"
231
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).ADD_CHILD), 1)], 8, _hoisted_3)), [[z, "resource_add_child"]]),
231
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).ADD_CHILD), 1)], 8, _hoisted_3)), [[o, "resource_add_child"]]),
232
232
  withDirectives((openBlock(), createElementBlock("a", {
233
233
  class: "flex items-center",
234
- onClick: (c) => Z(unref(ACTION).EDIT, P)
234
+ onClick: (e) => v(unref(ACTION).EDIT, t)
235
235
  }, [createVNode(unref(PubinfoIcon), {
236
236
  name: "edit",
237
237
  class: "mr-1 text-base"
238
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[z, "resource_edit"]]),
238
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[o, "resource_edit"]]),
239
239
  withDirectives((openBlock(), createElementBlock("span", {
240
240
  class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
241
- onClick: (c) => Z(unref(ACTION).REMOVE, P)
241
+ onClick: (e) => v(unref(ACTION).REMOVE, t)
242
242
  }, [createVNode(unref(PubinfoIcon), {
243
243
  name: "remove",
244
244
  class: "mr-1 text-base"
245
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[z, "resource_remove"]])
245
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[o, "resource_remove"]])
246
246
  ]),
247
247
  _: 2
248
248
  }, 1024)) : createCommentVNode("", !0)]),
@@ -250,19 +250,19 @@ var _hoisted_1 = {
250
250
  }, 512),
251
251
  createVNode(ResourceEdit_default, {
252
252
  ref_key: "editRef",
253
- ref: J,
254
- "data-source": unref(G),
255
- onSubmit: K
253
+ ref: h,
254
+ "data-source": unref(f),
255
+ onSubmit: p
256
256
  }, null, 8, ["data-source"]),
257
257
  createVNode(RoleRelation_default, {
258
258
  ref_key: "relationRef",
259
- ref: Y
259
+ ref: g
260
260
  }, null, 512),
261
261
  createVNode(ImportExport_default, {
262
262
  ref_key: "importExportRef",
263
- ref: X,
264
- "data-source": unref(G),
265
- onSubmit: K
263
+ ref: _,
264
+ "data-source": unref(f),
265
+ onSubmit: p
266
266
  }, null, 8, ["data-source"])
267
267
  ]);
268
268
  };