@pubinfo-pr/module-rbac 0.204.4 → 0.220.1

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 (159) 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-Ds-XJRR1.js → breadcrumb_setting-Dx2Li6xt.js} +19 -19
  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/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
  52. package/dist/layout_setting.css +1 -1
  53. package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
  54. package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
  55. package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
  56. package/dist/login_history.css +1 -1
  57. package/dist/{menu_setting-5Jet091Q.js → menu_setting-ChueWHs4.js} +42 -42
  58. package/dist/not-data-Bml86wdH.js +3 -0
  59. package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
  60. package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
  61. package/dist/operate_history.css +1 -1
  62. package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
  63. package/dist/organization.css +1 -1
  64. package/dist/{other_setting-DQ70WnZK.js → other_setting-BEV_UK0g.js} +86 -86
  65. package/dist/other_setting.css +1 -1
  66. package/dist/{page_animation_setting-Lp6cMuFM.js → page_animation_setting-Cp5OnFpd.js} +33 -33
  67. package/dist/page_animation_setting.css +1 -1
  68. package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
  69. package/dist/page_w_setting.css +1 -1
  70. package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
  71. package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
  72. package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
  73. package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
  74. package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
  75. package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
  76. package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
  77. package/dist/setItem.css +1 -1
  78. package/dist/{tabbar_setting-B3kMhRNm.js → tabbar_setting-kbuTvrLB.js} +36 -36
  79. package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
  80. package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
  81. package/dist/theme_setting.css +1 -1
  82. package/dist/{toolbar_setting-DNBdxeGP.js → toolbar_setting-BG-k2UFc.js} +32 -32
  83. package/dist/useAppAndResource-B7FmNfKG.js +52 -0
  84. package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
  85. package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
  86. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
  87. package/dist/views/components/setItem.vue.d.ts +5 -1
  88. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
  89. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
  90. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
  91. package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
  92. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
  93. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
  94. package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
  95. package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
  96. package/dist/views/other_setting/interface.d.ts +1 -2
  97. package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
  98. package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
  99. package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
  100. package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
  101. package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
  102. package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
  103. package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
  104. package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
  105. package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
  106. package/dist/{watermark_setting-CXp4Og0Y.js → watermark_setting-Cl2EtPAa.js} +98 -98
  107. package/dist/watermark_setting.css +1 -1
  108. package/package.json +13 -13
  109. package/src/views/other_setting/index.vue +2 -2
  110. package/src/views/other_setting/interface.ts +1 -1
  111. package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
  112. package/dist/ComponentSelect-WO-3S5rH.js +0 -2
  113. package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
  114. package/dist/HCheckList-B5Qk_HBI.js +0 -2
  115. package/dist/HCheckList-DLBewmPw.js +0 -36
  116. package/dist/HoverCard-69ZIOivd.js +0 -2
  117. package/dist/HoverCard-BDFcxxvk.js +0 -43
  118. package/dist/IconSelect-C_Gj5G4I.js +0 -3
  119. package/dist/ImportExport-CL5uPlby.js +0 -342
  120. package/dist/ImportExport-CPy2rvv7.js +0 -4
  121. package/dist/LayoutForm-QFjwakyQ.js +0 -4
  122. package/dist/MetaForm-Bb-um1Zo.js +0 -4
  123. package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
  124. package/dist/ResourceEdit-BTaNdwC_.js +0 -10
  125. package/dist/ResourceRelation-BIOzTOKA.js +0 -2
  126. package/dist/RoleRelation-CyTcqRfZ.js +0 -2
  127. package/dist/TenantEdit-BlMmL6q5.js +0 -2
  128. package/dist/UserAuthorization-qGr1Sdat.js +0 -3
  129. package/dist/UserEdit-CwfyqNWf.js +0 -3
  130. package/dist/animation_item-GzGItm3s.js +0 -2
  131. package/dist/browserType-BXTT4j6i.js +0 -2
  132. package/dist/chunk-Cpsc_9al.js +0 -18
  133. package/dist/cloneDeep-DDAtsK42.js +0 -7
  134. package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
  135. package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
  136. package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
  137. package/dist/drawerDictionary-D911w7pC.js +0 -2
  138. package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
  139. package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
  140. package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
  141. package/dist/drawerGroup-CEEDMBg9.js +0 -3
  142. package/dist/drawerOrganization-CqEMD3gE.js +0 -246
  143. package/dist/drawerOrganization-mks5NMd9.js +0 -2
  144. package/dist/drawerPosition-Bd0s7qze.js +0 -165
  145. package/dist/drawerPosition-DwlTrlGA.js +0 -2
  146. package/dist/drawerRegion-DUbQAZuV.js +0 -182
  147. package/dist/drawerRegion-DwVzsZfT.js +0 -2
  148. package/dist/drawerRole-BNrbcSmr.js +0 -3
  149. package/dist/drawerRole-BxUIekjh.js +0 -3
  150. package/dist/drawerRole-CyA2oFht.js +0 -4
  151. package/dist/drawerRole-D5X7oHB_.js +0 -153
  152. package/dist/isEmpty-BvRqbmpu.js +0 -13
  153. package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
  154. package/dist/not-data-Cx--tk_h.js +0 -2
  155. package/dist/not-data-tyTawN37.js +0 -2
  156. package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
  157. package/dist/routeSystem-DXMoWhFo.js +0 -2
  158. package/dist/setItem-Qa7UapHO.js +0 -4
  159. package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
@@ -1,8 +1,8 @@
1
1
  import { $ as putRbacUserResetPassword, J as getRbacUserUserDelete, Lt as useToggle, Z as postRbacUserUserPage, h as _plugin_vue_export_helper_default, y as getRbacOrgOrgListByParentId } from "./index.js";
2
- import "./RoleSelector-Cd6_RUsc.js";
3
- import "./OrgAndPosition-ClASobEv.js";
4
- import { t as UserAuthorization_default } from "./UserAuthorization-DLeivbs7.js";
5
- import { n as ACTION, t as UserEdit_default } from "./UserEdit-YKS1FVW_.js";
2
+ import "./RoleSelector-gkar_UGG.js";
3
+ import "./OrgAndPosition-jDX7m0HD.js";
4
+ import { t as UserAuthorization_default } from "./UserAuthorization-2Fl4IGw7.js";
5
+ import { r as ACTION, t as UserEdit_default } from "./UserEdit-CX3Qau8T.js";
6
6
  import { PubinfoIcon, useAuth } from "pubinfo-pr";
7
7
  import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isVNode, mergeProps, onMounted, openBlock, ref, resolveComponent, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
8
8
  import { PlusCircleOutlined } from "@ant-design/icons-vue";
@@ -14,26 +14,26 @@ import './user.css';var _hoisted_1$1 = { class: "flex w-full items-center overfl
14
14
  __name: "index",
15
15
  props: { auth: {} },
16
16
  setup(e) {
17
- let A = e, M = ref([]), [N, F] = useToggle(!1);
18
- function I(e) {
19
- return new Promise((j, N) => {
17
+ let t = e, r = ref([]), [i, o] = useToggle(!1);
18
+ function s(e) {
19
+ return new Promise((n, i) => {
20
20
  if (e?.dataRef?.children) {
21
- j();
21
+ n();
22
22
  return;
23
23
  }
24
- F(!0), getRbacOrgOrgListByParentId({
24
+ o(!0), getRbacOrgOrgListByParentId({
25
25
  parentId: e?.dataRef?.id,
26
26
  enable: !0
27
- }, { headers: { "X-ResourceMark": A.auth } }).then((A) => {
28
- if (A.success) {
29
- let j = A?.data?.map(L) ?? [];
30
- e?.dataRef ? e.dataRef.children = j : M.value = j;
27
+ }, { headers: { "X-ResourceMark": t.auth } }).then((t) => {
28
+ if (t.success) {
29
+ let n = t?.data?.map(c) ?? [];
30
+ e?.dataRef ? e.dataRef.children = n : r.value = n;
31
31
  }
32
- M.value = [...M.value], j();
33
- }).catch(N).finally(() => F(!1));
32
+ r.value = [...r.value], n();
33
+ }).catch(i).finally(() => o(!1));
34
34
  });
35
35
  }
36
- function L(e) {
36
+ function c(e) {
37
37
  return {
38
38
  key: e.id,
39
39
  isLeaf: e.leaf,
@@ -41,18 +41,18 @@ import './user.css';var _hoisted_1$1 = { class: "flex w-full items-center overfl
41
41
  };
42
42
  }
43
43
  return onMounted(() => {
44
- I();
45
- }), (e, A) => {
46
- let j = Empty$1, P = Tree$1, F = Spin$1, L = Card$1;
47
- return openBlock(), createBlock(L, {
44
+ s();
45
+ }), (e, t) => {
46
+ let n = Empty$1, a = Tree$1, o = Spin$1, c = Card$1;
47
+ return openBlock(), createBlock(c, {
48
48
  "body-style": { padding: "16px" },
49
49
  class: "w-full h-full overflow-y-auto overflow-x-hidden"
50
50
  }, {
51
- default: withCtx(() => [createVNode(F, { spinning: unref(N) }, {
52
- default: withCtx(() => [unref(M).length === 0 ? (openBlock(), createBlock(j, { key: 0 })) : (openBlock(), createBlock(P, mergeProps({ key: 1 }, e.$attrs, {
51
+ default: withCtx(() => [createVNode(o, { spinning: unref(i) }, {
52
+ default: withCtx(() => [unref(r).length === 0 ? (openBlock(), createBlock(n, { key: 0 })) : (openBlock(), createBlock(a, mergeProps({ key: 1 }, e.$attrs, {
53
53
  "block-node": "",
54
- "load-data": I,
55
- "tree-data": unref(M),
54
+ "load-data": s,
55
+ "tree-data": unref(r),
56
56
  "field-names": {
57
57
  children: "children",
58
58
  title: "name",
@@ -84,8 +84,8 @@ function _isSlot(e) {
84
84
  var user_default = /* @__PURE__ */ defineComponent({
85
85
  name: "User",
86
86
  __name: "index",
87
- setup(j) {
88
- let { auth: N } = useAuth(), P = [
87
+ setup(n) {
88
+ let { auth: i } = useAuth(), a = [
89
89
  {
90
90
  valueType: "a-input",
91
91
  bind: "value",
@@ -126,11 +126,11 @@ var user_default = /* @__PURE__ */ defineComponent({
126
126
  }, {
127
127
  default: () => e?.map((e) => e.orgName).join(","),
128
128
  content: () => {
129
- let A;
130
- return createVNode(Space, { direction: "vertical" }, _isSlot(A = e.map((e) => createVNode(Badge, {
129
+ let t;
130
+ return createVNode(Space, { direction: "vertical" }, _isSlot(t = e.map((e) => createVNode(Badge, {
131
131
  status: e.main ? "processing" : "success",
132
132
  text: e.orgName
133
- }, null))) ? A : { default: () => [A] });
133
+ }, null))) ? t : { default: () => [t] });
134
134
  }
135
135
  });
136
136
  }
@@ -163,7 +163,7 @@ var user_default = /* @__PURE__ */ defineComponent({
163
163
  width: 280,
164
164
  hideInSearch: !0,
165
165
  hideInTable() {
166
- return !N([
166
+ return !i([
167
167
  "user_authorize",
168
168
  "user_reset_password",
169
169
  "user_edit",
@@ -171,147 +171,147 @@ var user_default = /* @__PURE__ */ defineComponent({
171
171
  ]);
172
172
  }
173
173
  }
174
- ], z = ref({}), B = ref({}), V = ref({}), H = ref();
175
- async function W(e) {
176
- let { current: A, pageSize: j, ...N } = e, P = await postRbacUserUserPage({
177
- currentPage: A,
178
- pageSize: j,
179
- orgId: z.value?.orgId,
180
- ...V.value,
181
- ...N
174
+ ], u = ref({}), d = ref({}), f = ref({}), p = ref();
175
+ async function h(e) {
176
+ let { current: t, pageSize: n, ...i } = e, a = await postRbacUserUserPage({
177
+ currentPage: t,
178
+ pageSize: n,
179
+ orgId: u.value?.orgId,
180
+ ...f.value,
181
+ ...i
182
182
  });
183
183
  return {
184
- success: P.success,
185
- data: P.data?.records ?? [],
186
- total: P.data?.total ?? 0
184
+ success: a.success,
185
+ data: a.data?.records ?? [],
186
+ total: a.data?.total ?? 0
187
187
  };
188
188
  }
189
- function J() {
190
- H.value.reload();
189
+ function y() {
190
+ p.value.reload();
191
191
  }
192
- function Y(e, { node: A }) {
193
- A.selected ? z.value = {} : z.value = {
194
- orgId: A.id,
195
- orgName: A.name
196
- }, J();
192
+ function b(e, { node: t }) {
193
+ t.selected ? u.value = {} : u.value = {
194
+ orgId: t.id,
195
+ orgName: t.name
196
+ }, y();
197
197
  }
198
- let X = ref(), Z = ref();
199
- function Q(j, M) {
200
- switch (j) {
198
+ let x = ref(), S = ref();
199
+ function C(n, r) {
200
+ switch (n) {
201
201
  case ACTION.ADD:
202
- X.value.open(j);
202
+ x.value.open(n);
203
203
  break;
204
204
  case ACTION.AUTHORIZE:
205
- M && (B.value = M), Z.value && Z.value.open && Z.value.open();
205
+ r && (d.value = r), S.value && S.value.open && S.value.open();
206
206
  break;
207
207
  case ACTION.EDIT:
208
- X.value.open(j, M);
208
+ x.value.open(n, r);
209
209
  break;
210
210
  case ACTION.RESET_PASSWORD:
211
211
  Modal.confirm({
212
212
  title: "重置密码",
213
213
  content: "确定要重置该用户密码吗?",
214
214
  async onOk() {
215
- (await putRbacUserResetPassword({ userId: M?.id })).success && message.success("重置密码成功");
215
+ (await putRbacUserResetPassword({ userId: r?.id })).success && message.success("重置密码成功");
216
216
  }
217
217
  });
218
218
  break;
219
219
  case ACTION.REMOVE: {
220
- let e = M?.userOrgList && M.userOrgList?.length > 1;
220
+ let e = r?.userOrgList && r.userOrgList?.length > 1;
221
221
  Modal.confirm({
222
222
  title: "删除",
223
223
  content: `确定要删除该用户吗?${e ? "该用户存在多个组织下,若只需移除组织,请在编辑中操作。" : ""}`,
224
224
  async onOk() {
225
- (await getRbacUserUserDelete({ userId: M?.id })).success && (message.success("删除成功"), J());
225
+ (await getRbacUserUserDelete({ userId: r?.id })).success && (message.success("删除成功"), y());
226
226
  }
227
227
  });
228
228
  break;
229
229
  }
230
230
  }
231
231
  }
232
- function $(e, A) {
233
- return A.userType === "2" ? [ACTION.RESET_PASSWORD].includes(e) : [
232
+ function w(e, t) {
233
+ return t.userType === "2" ? [ACTION.RESET_PASSWORD].includes(e) : [
234
234
  ACTION.AUTHORIZE,
235
235
  ACTION.RESET_PASSWORD,
236
236
  ACTION.EDIT,
237
237
  ACTION.REMOVE
238
238
  ].includes(e);
239
239
  }
240
- return (e, A) => {
241
- let j = OrgTree_default, M = Col, N = PlusCircleOutlined, R = Button, U = PubinfoIcon, G = Space$1, K = Row, q = resolveDirective("auth");
240
+ return (e, t) => {
241
+ let n = OrgTree_default, r = Col, i = PlusCircleOutlined, l = Button, m = PubinfoIcon, g = Space$1, _ = Row, v = resolveDirective("auth");
242
242
  return openBlock(), createElementBlock("div", _hoisted_1, [
243
- createVNode(K, {
243
+ createVNode(_, {
244
244
  gutter: [8, 8],
245
245
  wrap: !1,
246
246
  class: "h-full"
247
247
  }, {
248
- default: withCtx(() => [createVNode(M, {
248
+ default: withCtx(() => [createVNode(r, {
249
249
  flex: "320px",
250
250
  class: "h-full overflow-hidden"
251
251
  }, {
252
- default: withCtx(() => [createVNode(j, {
253
- "select-keys": [unref(V).orgId],
252
+ default: withCtx(() => [createVNode(n, {
253
+ "select-keys": [unref(f).orgId],
254
254
  bordered: !1,
255
255
  auth: "organization",
256
- onSelect: Y
256
+ onSelect: b
257
257
  }, null, 8, ["select-keys"])]),
258
258
  _: 1
259
- }), createVNode(M, {
259
+ }), createVNode(r, {
260
260
  flex: "auto",
261
261
  class: "h-full"
262
262
  }, {
263
263
  default: withCtx(() => [createVNode(unref(ProTable), {
264
264
  ref_key: "tableRef",
265
- ref: H,
265
+ ref: p,
266
266
  "row-key": (e) => `${e.id}-${e.orgId}`,
267
- request: W,
268
- columns: P,
267
+ request: h,
268
+ columns: a,
269
269
  scroll: { x: 800 },
270
270
  "auto-height": ""
271
271
  }, {
272
- toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(R, {
272
+ toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(l, {
273
273
  type: "primary",
274
- onClick: A[0] ||= (e) => Q(unref(ACTION).ADD)
274
+ onClick: t[0] ||= (e) => C(unref(ACTION).ADD)
275
275
  }, {
276
- default: withCtx(() => [createVNode(N), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
276
+ default: withCtx(() => [createVNode(i), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
277
277
  _: 1
278
- })), [[q, "user_add"]])]),
279
- bodyCell: withCtx(({ column: e, record: A }) => [e.dataIndex === "action" ? (openBlock(), createBlock(G, { key: 0 }, {
278
+ })), [[v, "user_add"]])]),
279
+ bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(g, { key: 0 }, {
280
280
  default: withCtx(() => [
281
- $(unref(ACTION).AUTHORIZE, A) ? withDirectives((openBlock(), createElementBlock("a", {
281
+ w(unref(ACTION).AUTHORIZE, t) ? withDirectives((openBlock(), createElementBlock("a", {
282
282
  key: 0,
283
283
  class: "flex items-center",
284
- onClick: (e) => Q(unref(ACTION).AUTHORIZE, A)
285
- }, [createVNode(U, {
284
+ onClick: (e) => C(unref(ACTION).AUTHORIZE, t)
285
+ }, [createVNode(m, {
286
286
  name: "authorize",
287
287
  "mr-1": "",
288
288
  "text-base": ""
289
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).AUTHORIZE), 1)], 8, _hoisted_2)), [[q, "user_authorize"]]) : createCommentVNode("", !0),
290
- $(unref(ACTION).RESET_PASSWORD, A) ? withDirectives((openBlock(), createElementBlock("a", {
289
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).AUTHORIZE), 1)], 8, _hoisted_2)), [[v, "user_authorize"]]) : createCommentVNode("", !0),
290
+ w(unref(ACTION).RESET_PASSWORD, t) ? withDirectives((openBlock(), createElementBlock("a", {
291
291
  key: 1,
292
292
  class: "flex items-center",
293
- onClick: (e) => Q(unref(ACTION).RESET_PASSWORD, A)
294
- }, [createVNode(U, {
293
+ onClick: (e) => C(unref(ACTION).RESET_PASSWORD, t)
294
+ }, [createVNode(m, {
295
295
  name: "i-ci-arrows-reload-01",
296
296
  "mr-1": "",
297
297
  "text-base": ""
298
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).RESET_PASSWORD), 1)], 8, _hoisted_3)), [[q, "user_reset_password"]]) : createCommentVNode("", !0),
299
- $(unref(ACTION).EDIT, A) ? withDirectives((openBlock(), createElementBlock("a", {
298
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).RESET_PASSWORD), 1)], 8, _hoisted_3)), [[v, "user_reset_password"]]) : createCommentVNode("", !0),
299
+ w(unref(ACTION).EDIT, t) ? withDirectives((openBlock(), createElementBlock("a", {
300
300
  key: 2,
301
301
  class: "flex items-center",
302
- onClick: (e) => Q(unref(ACTION).EDIT, A)
303
- }, [createVNode(U, {
302
+ onClick: (e) => C(unref(ACTION).EDIT, t)
303
+ }, [createVNode(m, {
304
304
  name: "edit",
305
305
  class: "mr-1 text-base"
306
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[q, "user_edit"]]) : createCommentVNode("", !0),
307
- $(unref(ACTION).REMOVE, A) ? withDirectives((openBlock(), createElementBlock("span", {
306
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[v, "user_edit"]]) : createCommentVNode("", !0),
307
+ w(unref(ACTION).REMOVE, t) ? withDirectives((openBlock(), createElementBlock("span", {
308
308
  key: 3,
309
309
  class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
310
- onClick: (e) => Q(unref(ACTION).REMOVE, A)
311
- }, [createVNode(U, {
310
+ onClick: (e) => C(unref(ACTION).REMOVE, t)
311
+ }, [createVNode(m, {
312
312
  name: "remove",
313
313
  class: "mr-1 text-base"
314
- }), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[q, "user_remove"]]) : createCommentVNode("", !0)
314
+ }), createElementVNode("span", null, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_5)), [[v, "user_remove"]]) : createCommentVNode("", !0)
315
315
  ]),
316
316
  _: 2
317
317
  }, 1024)) : createCommentVNode("", !0)]),
@@ -323,14 +323,14 @@ var user_default = /* @__PURE__ */ defineComponent({
323
323
  }),
324
324
  createVNode(UserEdit_default, {
325
325
  ref_key: "editRef",
326
- ref: X,
327
- "current-org": unref(z),
328
- onSubmit: J
326
+ ref: x,
327
+ "current-org": unref(u),
328
+ onSubmit: y
329
329
  }, null, 8, ["current-org"]),
330
330
  createVNode(UserAuthorization_default, {
331
331
  ref_key: "authorizationRef",
332
- ref: Z,
333
- "user-id": unref(B).id || ""
332
+ ref: S,
333
+ "user-id": unref(d).id || ""
334
334
  }, null, 8, ["user-id"])
335
335
  ]);
336
336
  };