@pubinfo/module-rbac 2.0.0-beta.27 → 2.0.0-beta.29

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 (111) hide show
  1. package/dist/{animation_item.vue_vue_type_script_setup_true_lang-CwdV9u0c.js → animation_item.vue_vue_type_script_setup_true_lang-efL_vjfY.js} +303 -303
  2. package/dist/{cloneDeep-DlhYgmRW.js → cloneDeep-B4Rj61s4.js} +1 -1
  3. package/dist/components/GroupSelector/index.vue.d.ts +4 -4
  4. package/dist/components/OrgTree/index.vue.d.ts +1 -1
  5. package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +4 -4
  6. package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +4 -4
  7. package/dist/components/ResourceSelector/index.vue.d.ts +4 -4
  8. package/dist/composables/useLottie.d.ts +1 -1
  9. package/dist/{gangweijiekou-CV3_VBHJ.js → gangweijiekou-CV7cIo_W.js} +1 -1
  10. package/dist/{index-sjcUdYzd.js → index-B6A3qFeU.js} +27 -27
  11. package/dist/{index-C18K1WpL.js → index-BChMrCkZ.js} +23 -23
  12. package/dist/{index-ClL_cMSm.js → index-BIUkDwk2.js} +26 -26
  13. package/dist/{index-BmWUEWpu.js → index-BOEO9CRp.js} +191 -196
  14. package/dist/{index-Y5TuBpcT.js → index-BgdW__IO.js} +2 -2
  15. package/dist/{index-mOx8bkh9.js → index-Bi0fucZj.js} +80 -80
  16. package/dist/{index-CW6W1HIo.js → index-Bj3Ee1l-.js} +3 -3
  17. package/dist/{index-ChpaG3ZQ.js → index-Bzjxdd-F.js} +7 -7
  18. package/dist/{index-l8BP3b8K.js → index-CF4XGkrK.js} +5 -5
  19. package/dist/{index-9u9IWKhc.js → index-CGAa6YPO.js} +16 -16
  20. package/dist/{index-BnxPrpkn.js → index-CK582XAz.js} +9 -9
  21. package/dist/{index-CLxuFFEj.js → index-Ce9x4LEV.js} +13 -13
  22. package/dist/{index-CzUo66L_.js → index-CkVgkVvC.js} +24 -24
  23. package/dist/{index-MFdCOOEW.js → index-D4uw6wJ9.js} +3 -3
  24. package/dist/{index-D1jFxfsG.js → index-DFrT08M4.js} +24 -24
  25. package/dist/{index-CrW31P7w.js → index-Dju21Cnm.js} +2 -2
  26. package/dist/{index-ATlaXzm9.js → index-Dmg39liA.js} +3 -3
  27. package/dist/{index-LnUQwTXy.js → index-DvE43Xkt.js} +26 -26
  28. package/dist/{index-D5LKfALd.js → index-Dx3ZDeWT.js} +42 -42
  29. package/dist/{index-DX9fHWEY.js → index-MmfEJgmm.js} +18 -18
  30. package/dist/{index-REH4HEOg.js → index-RBHLCaQ9.js} +28 -28
  31. package/dist/{index-BAQqP93G.js → index-Y2jyqjVz.js} +7 -7
  32. package/dist/{index-B8DDuLgv.js → index-b_92Syzh.js} +3 -3
  33. package/dist/{index-Dnp04_5x.js → index-g5Fyla0r.js} +3 -3
  34. package/dist/{index-YkF83QOR.js → index-qdAiA-PA.js} +2 -2
  35. package/dist/index.js +1 -1
  36. package/dist/interface.d.ts +3 -1
  37. package/dist/{itemlist-sHSMCsLr.js → itemlist-Og2t8W5R.js} +24 -24
  38. package/dist/{jiaosejiekou-DvfMUYAa.js → jiaosejiekou-0xZkLzL_.js} +1 -1
  39. package/dist/{login_history-P_GmktRF.js → login_history-BJWFChQ3.js} +1 -1
  40. package/dist/{operate_history-CqOswIe4.js → operate_history-C1NKnoB5.js} +1 -1
  41. package/dist/{pubJiaosezukongzhiqi-DHx7MsUe.js → pubJiaosezukongzhiqi-BlLcThHi.js} +1 -1
  42. package/dist/routes/index.d.ts +1 -1
  43. package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
  44. package/dist/routes/modules/log.manage.menu.d.ts +1 -1
  45. package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
  46. package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
  47. package/dist/routes/modules/system.manage.menu.d.ts +1 -1
  48. package/dist/{setItem-DkuSrCm8.js → setItem-BRseSui6.js} +1 -1
  49. package/dist/{shujuquanxianzhubiaokongzhiqi-fpMYehpC.js → shujuquanxianzhubiaokongzhiqi-3CpYi1Zo.js} +1 -1
  50. package/dist/{useAppAndResource-BH_Fl_gK.js → useAppAndResource-BF7jQTCi.js} +2 -2
  51. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +4 -4
  52. package/dist/views/blackWhiteList/index.vue.d.ts +319 -319
  53. package/dist/views/breadcrumb_setting/index.vue.d.ts +1 -1
  54. package/dist/views/components/HCheckList.vue.d.ts +3 -3
  55. package/dist/views/components/animation_item.vue.d.ts +3 -3
  56. package/dist/views/components/setItem.vue.d.ts +7 -7
  57. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +26 -26
  58. package/dist/views/data-permission/index.vue.d.ts +341 -341
  59. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +4 -4
  60. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +4 -4
  61. package/dist/views/dictionary/index.vue.d.ts +319 -319
  62. package/dist/views/dictionary/itemlist.vue.d.ts +319 -319
  63. package/dist/views/group/components/drawerGroup.vue.d.ts +4 -4
  64. package/dist/views/group/index.vue.d.ts +319 -319
  65. package/dist/views/layout_setting/index.vue.d.ts +1 -1
  66. package/dist/views/log_center/components/browserType.vue.d.ts +3 -3
  67. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -4
  68. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -4
  69. package/dist/views/log_center/login_history.vue.d.ts +315 -315
  70. package/dist/views/log_center/operate_history.vue.d.ts +315 -315
  71. package/dist/views/menu_setting/index.vue.d.ts +1 -1
  72. package/dist/views/organization/components/drawerOrganization.vue.d.ts +4 -4
  73. package/dist/views/organization/components/drawerRole.vue.d.ts +7 -7
  74. package/dist/views/organization/components/roleSelect.vue.d.ts +4 -4
  75. package/dist/views/organization/index.vue.d.ts +12 -12
  76. package/dist/views/other_setting/index.vue.d.ts +1 -1
  77. package/dist/views/page_animation_setting/index.vue.d.ts +1 -1
  78. package/dist/views/page_w_setting/index.vue.d.ts +1 -1
  79. package/dist/views/position/components/drawerPosition.vue.d.ts +4 -4
  80. package/dist/views/position/index.vue.d.ts +319 -319
  81. package/dist/views/region/components/drawerRegion.vue.d.ts +4 -4
  82. package/dist/views/region/index.vue.d.ts +319 -319
  83. package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -4
  84. package/dist/views/resource/components/RoleRelation.vue.d.ts +2 -2
  85. package/dist/views/resource/index.vue.d.ts +321 -321
  86. package/dist/views/role/components/ResourceRelation.vue.d.ts +316 -316
  87. package/dist/views/role/components/drawerRole.vue.d.ts +8 -8
  88. package/dist/views/role/index.vue.d.ts +640 -640
  89. package/dist/views/role_group/components/drawerRole.vue.d.ts +7 -7
  90. package/dist/views/role_group/components/roleSelect.vue.d.ts +4 -4
  91. package/dist/views/role_group/index.vue.d.ts +322 -322
  92. package/dist/views/safe_setting/index.vue.d.ts +1 -1
  93. package/dist/views/tabbar_setting/index.vue.d.ts +1 -1
  94. package/dist/views/tenant/components/TenantEdit.vue.d.ts +8 -8
  95. package/dist/views/tenant/index.vue.d.ts +323 -323
  96. package/dist/views/theme_setting/index.vue.d.ts +1 -1
  97. package/dist/views/toolbar_setting/index.vue.d.ts +1 -1
  98. package/dist/views/user/components/OrgAndPosition.vue.d.ts +3 -3
  99. package/dist/views/user/components/UserAuthorization.vue.d.ts +7 -7
  100. package/dist/views/user/components/UserEdit.vue.d.ts +4 -4
  101. package/dist/views/user/components/roleSelect.vue.d.ts +4 -4
  102. package/dist/views/user/index.vue.d.ts +326 -326
  103. package/dist/views/watermark_setting/index.vue.d.ts +5 -5
  104. package/dist/{xitongpeizhifuwu-B3Lw-Lq9.js → xitongpeizhifuwu-BIR2CVXp.js} +1 -1
  105. package/dist/{zidianfuwu-BbhoWOZI.js → zidianfuwu-B137v_q7.js} +1 -1
  106. package/dist/{ziyuanjiekou-CypA4O57.js → ziyuanjiekou-j9nd-oaF.js} +1 -1
  107. package/dist/{zuzhijiaosebiaokongzhiqi-DhdCTnmx.js → zuzhijiaosebiaokongzhiqi-DPbRg7Qd.js} +1 -1
  108. package/package.json +11 -11
  109. package/src/index.ts +6 -12
  110. package/src/interface.ts +3 -0
  111. package/src/routes/index.ts +1 -1
@@ -2,11 +2,11 @@ import { Drawer as H, Form as J, FormItem as K, Input as Q, Select as X, Textare
2
2
  import { useAuth as ee, PubinfoIcon as te } from "pubinfo";
3
3
  import { PlusCircleOutlined as ne } from "@ant-design/icons-vue";
4
4
  import { defineComponent as A, reactive as oe, ref as D, createBlock as T, openBlock as b, unref as t, isRef as ae, withCtx as a, createVNode as o, createTextVNode as V, resolveDirective as se, createElementBlock as P, createCommentVNode as $, createElementVNode as C, toDisplayString as E, withDirectives as S } from "vue";
5
- import { a as ie, p as le, b as re, d as ue } from "./gangweijiekou-CV3_VBHJ.js";
6
- import { u as B } from "./index-BmWUEWpu.js";
5
+ import { a as ie, p as le, b as re, d as ue } from "./gangweijiekou-CV7cIo_W.js";
6
+ import { u as B } from "./index-BOEO9CRp.js";
7
7
  import { ProTable as ce } from "@pubinfo/pro-components";
8
8
  import { message as W, Badge as M, Modal as de } from "ant-design-vue";
9
- import { g as pe } from "./zidianfuwu-BbhoWOZI.js";
9
+ import { g as pe } from "./zidianfuwu-B137v_q7.js";
10
10
  var u = /* @__PURE__ */ ((g) => (g.ADD = "新增", g.EDIT = "编辑", g.REMOVE = "删除", g))(u || {});
11
11
  const me = /* @__PURE__ */ A({
12
12
  name: "DrawerPosition",
@@ -26,7 +26,7 @@ const me = /* @__PURE__ */ A({
26
26
  }, x = oe({
27
27
  title: "",
28
28
  type: ""
29
- }), [y, f] = B(!1), s = D([]);
29
+ }), [y, _] = B(!1), s = D([]);
30
30
  pe({ dictCode: "positionType" }).then((l) => {
31
31
  var e;
32
32
  s.value = (e = l.data) == null ? void 0 : e.map((d) => ({
@@ -36,25 +36,25 @@ const me = /* @__PURE__ */ A({
36
36
  });
37
37
  const i = D(), n = D({ enable: !0 });
38
38
  async function p(l, e) {
39
- if (f(!0), x.title = l, l === u.EDIT) {
39
+ if (_(!0), x.title = l, l === u.EDIT) {
40
40
  const d = await ie({ id: e == null ? void 0 : e.id });
41
41
  d.success && (n.value = d.data ?? {});
42
42
  } else
43
43
  n.value = { enable: !0 };
44
44
  }
45
- const [c, _] = B(!1);
45
+ const [c, f] = B(!1);
46
46
  function m() {
47
47
  var l;
48
48
  (l = i.value) == null || l.validate().then(() => {
49
- _(!0);
49
+ f(!0);
50
50
  const e = { ...n.value };
51
51
  le(e).then((d) => {
52
- d.success && (W.success(`${x.title}成功!`), f(!1), h("submit"));
53
- }).finally(() => _(!1));
52
+ d.success && (W.success(`${x.title}成功!`), _(!1), h("submit"));
53
+ }).finally(() => f(!1));
54
54
  });
55
55
  }
56
56
  function v() {
57
- f(!1), n.value = { enable: !0 };
57
+ _(!1), n.value = { enable: !0 };
58
58
  }
59
59
  return R({
60
60
  open: p
@@ -77,8 +77,8 @@ const me = /* @__PURE__ */ A({
77
77
  default: a(() => e[7] || (e[7] = [
78
78
  V(" 取消 ")
79
79
  ])),
80
- _: 1
81
- /* STABLE */
80
+ _: 1,
81
+ __: [7]
82
82
  }),
83
83
  o(O, {
84
84
  type: "primary",
@@ -88,8 +88,8 @@ const me = /* @__PURE__ */ A({
88
88
  default: a(() => e[8] || (e[8] = [
89
89
  V(" 提交 ")
90
90
  ])),
91
- _: 1
92
- /* STABLE */
91
+ _: 1,
92
+ __: [8]
93
93
  }, 8, ["loading"])
94
94
  ]),
95
95
  _: 1
@@ -188,12 +188,12 @@ const me = /* @__PURE__ */ A({
188
188
  }, 8, ["open", "title"]);
189
189
  };
190
190
  }
191
- }), fe = {
191
+ }), _e = {
192
192
  "py-10px": "",
193
193
  "px-10px": "",
194
194
  "w-full": "",
195
195
  "h-full": ""
196
- }, _e = {
196
+ }, fe = {
197
197
  key: 0,
198
198
  class: "flex items-center"
199
199
  }, ve = {
@@ -214,7 +214,7 @@ const me = /* @__PURE__ */ A({
214
214
  (s = w.value) == null || s.reload();
215
215
  }
216
216
  async function x(s) {
217
- var _, m;
217
+ var f, m;
218
218
  const {
219
219
  current: i,
220
220
  pageSize: n,
@@ -226,7 +226,7 @@ const me = /* @__PURE__ */ A({
226
226
  });
227
227
  return {
228
228
  success: c.success,
229
- data: ((_ = c.data) == null ? void 0 : _.records) ?? [],
229
+ data: ((f = c.data) == null ? void 0 : f.records) ?? [],
230
230
  total: ((m = c.data) == null ? void 0 : m.total) ?? 0
231
231
  };
232
232
  }
@@ -283,7 +283,7 @@ const me = /* @__PURE__ */ A({
283
283
  return !R(["region_add_child", "region_edit", "region_remove"]);
284
284
  }
285
285
  }];
286
- function f(s, i) {
286
+ function _(s, i) {
287
287
  var n, p;
288
288
  switch (s) {
289
289
  case u.EDIT:
@@ -308,8 +308,8 @@ const me = /* @__PURE__ */ A({
308
308
  }
309
309
  }
310
310
  return (s, i) => {
311
- const n = ne, p = q, c = te, _ = U, m = se("auth");
312
- return b(), P("div", fe, [o(
311
+ const n = ne, p = q, c = te, f = U, m = se("auth");
312
+ return b(), P("div", _e, [o(
313
313
  t(ce),
314
314
  {
315
315
  ref_key: "tableRef",
@@ -325,7 +325,7 @@ const me = /* @__PURE__ */ A({
325
325
  {
326
326
  toolbar: a(() => [S((b(), T(p, {
327
327
  type: "primary",
328
- onClick: i[0] || (i[0] = (v) => f(t(u).ADD))
328
+ onClick: i[0] || (i[0] = (v) => _(t(u).ADD))
329
329
  }, {
330
330
  default: a(() => [o(n), V(
331
331
  " " + E(t(u).ADD),
@@ -338,7 +338,7 @@ const me = /* @__PURE__ */ A({
338
338
  bodyCell: a(({
339
339
  column: v,
340
340
  record: l
341
- }) => [v.dataIndex === "type" ? (b(), P("div", _e, [o(c, {
341
+ }) => [v.dataIndex === "type" ? (b(), P("div", fe, [o(c, {
342
342
  name: "icon_position_type",
343
343
  class: "text-20px"
344
344
  }), C(
@@ -348,14 +348,14 @@ const me = /* @__PURE__ */ A({
348
348
  1
349
349
  /* TEXT */
350
350
  )])) : $("v-if", !0), v.dataIndex === "action" ? (b(), T(
351
- _,
351
+ f,
352
352
  {
353
353
  key: 1
354
354
  },
355
355
  {
356
356
  default: a(() => [S((b(), P("a", {
357
357
  class: "flex items-center",
358
- onClick: (e) => f(t(u).EDIT, l)
358
+ onClick: (e) => _(t(u).EDIT, l)
359
359
  }, [o(c, {
360
360
  name: "edit",
361
361
  class: "text-base"
@@ -367,7 +367,7 @@ const me = /* @__PURE__ */ A({
367
367
  /* TEXT */
368
368
  )], 8, be)), [[m, "position_edit"]]), S((b(), P("span", {
369
369
  class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
370
- onClick: (e) => f(t(u).REMOVE, l)
370
+ onClick: (e) => _(t(u).REMOVE, l)
371
371
  }, [o(c, {
372
372
  name: "remove",
373
373
  class: "text-base"
@@ -1,12 +1,12 @@
1
1
  import { Modal as ne, Input as H, Spin as le, CheckboxGroup as ae, Checkbox as se, Tooltip as J, Tag as re, Button as L, Drawer as ue, Form as ie, FormItem as ce, Switch as de, Textarea as pe, Space as X } from "ant-design-vue/es";
2
- import { useAuth as fe, PubinfoIcon as me } from "pubinfo";
3
- import { SearchOutlined as _e, PlusCircleOutlined as ve } from "@ant-design/icons-vue";
2
+ import { useAuth as fe, PubinfoIcon as _e } from "pubinfo";
3
+ import { SearchOutlined as me, PlusCircleOutlined as ve } from "@ant-design/icons-vue";
4
4
  import { defineComponent as z, mergeModels as xe, ref as k, useModel as be, watch as ge, createBlock as E, openBlock as r, withCtx as l, createElementVNode as p, toDisplayString as h, unref as a, createVNode as n, isRef as q, createCommentVNode as Y, createElementBlock as y, Fragment as G, renderList as N, createTextVNode as $, reactive as he, resolveDirective as ke, withDirectives as W } from "vue";
5
- import { u as j } from "./index-BmWUEWpu.js";
6
- import { g as ye, p as we, a as Re, b as Ie, d as Ce } from "./pubJiaosezukongzhiqi-DHx7MsUe.js";
5
+ import { u as j } from "./index-BOEO9CRp.js";
6
+ import { g as ye, p as we, a as Re, b as Ie, d as Ce } from "./pubJiaosezukongzhiqi-BlLcThHi.js";
7
7
  import { ProTable as De } from "@pubinfo/pro-components";
8
8
  import { message as Z, Badge as Q, Modal as Ee } from "ant-design-vue";
9
- import { e as $e } from "./jiaosejiekou-DvfMUYAa.js";
9
+ import { e as $e } from "./jiaosejiekou-0xZkLzL_.js";
10
10
  import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  var x = /* @__PURE__ */ ((I) => (I.ADD = "新增", I.EDIT = "修改", I.REMOVE = "删除", I.RESOURCE_RELATION = "分配查看", I))(x || {});
12
12
  const Se = { class: "h-340px border-1px border-solid flex flex-row border_color" }, Pe = { class: "w-360px flex flex-col" }, Te = { class: "w-full h-34px bg-[#F2F3F5] flex px-15px items-center justify-between text-[#1D2129] dark:bg-[#1D2129] dark:text-[#F2F3F5]" }, Me = { class: "flex-1 overflow-hidden py-10px px-10px" }, Oe = { class: "overflow-y-auto overflow-x-hidden h-[calc(100%-30px)] mt-10px" }, Ue = { key: 1 }, Ve = { class: "flex-1 flex flex-col border-solid border-0px border-l-1px border_color" }, Be = { class: "flex-1 p-10px overflow-auto" }, Ge = /* @__PURE__ */ z({
@@ -18,8 +18,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
18
18
  },
19
19
  emits: /* @__PURE__ */ xe(["select"], ["update:open"]),
20
20
  setup(I, { expose: U, emit: O }) {
21
- const T = O, F = k(!1), m = k([]), w = k([]), v = k([]), c = k(""), u = be(I, "open"), s = j(u);
22
- ge(() => m.value, (f) => {
21
+ const T = O, F = k(!1), _ = k([]), w = k([]), v = k([]), c = k(""), u = be(I, "open"), s = j(u);
22
+ ge(() => _.value, (f) => {
23
23
  w.value = f.reduce((e, M) => {
24
24
  const V = v.value.find((d) => d.id === M) || {};
25
25
  return e.push(V), e;
@@ -28,14 +28,14 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
28
28
  async function b(f) {
29
29
  F.value = !0;
30
30
  const e = await $e();
31
- F.value = !1, v.value = e.data || [], m.value = [...f], s(!0);
31
+ F.value = !1, v.value = e.data || [], _.value = [...f], s(!0);
32
32
  }
33
33
  function R() {
34
- m.value = [];
34
+ _.value = [];
35
35
  }
36
36
  function C(f) {
37
- const e = m.value.findIndex((M) => M === f);
38
- e >= 0 && m.value.splice(e, 1);
37
+ const e = _.value.findIndex((M) => M === f);
38
+ e >= 0 && _.value.splice(e, 1);
39
39
  }
40
40
  function g() {
41
41
  T("select", w.value), s(!1);
@@ -49,7 +49,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
49
49
  return U({
50
50
  open: b
51
51
  }), (f, e) => {
52
- const M = H, V = le, d = J, t = se, P = ae, _ = re, B = L, A = ne;
52
+ const M = H, V = le, d = J, t = se, P = ae, m = re, B = L, A = ne;
53
53
  return r(), E(A, {
54
54
  open: u.value,
55
55
  "onUpdate:open": e[3] || (e[3] = (o) => u.value = o),
@@ -65,8 +65,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
65
65
  default: l(() => e[6] || (e[6] = [
66
66
  $(" 取消 ")
67
67
  ])),
68
- _: 1
69
- /* STABLE */
68
+ _: 1,
69
+ __: [6]
70
70
  }),
71
71
  n(B, {
72
72
  type: "primary",
@@ -75,8 +75,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
75
75
  default: l(() => e[7] || (e[7] = [
76
76
  $(" 确定 ")
77
77
  ])),
78
- _: 1
79
- /* STABLE */
78
+ _: 1,
79
+ __: [7]
80
80
  })
81
81
  ]),
82
82
  default: l(() => [
@@ -93,7 +93,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
93
93
  p(
94
94
  "div",
95
95
  null,
96
- h(a(m).length) + "/" + h(a(v).length),
96
+ h(a(_).length) + "/" + h(a(v).length),
97
97
  1
98
98
  /* TEXT */
99
99
  )
@@ -107,7 +107,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
107
107
  onChange: S
108
108
  }, {
109
109
  prefix: l(() => [
110
- n(a(_e))
110
+ n(a(me))
111
111
  ]),
112
112
  _: 1
113
113
  /* STABLE */
@@ -115,8 +115,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
115
115
  p("div", Oe, [
116
116
  a(F) ? (r(), E(V, { key: 0 })) : Y("v-if", !0),
117
117
  n(P, {
118
- value: a(m),
119
- "onUpdate:value": e[1] || (e[1] = (o) => q(m) ? m.value = o : null)
118
+ value: a(_),
119
+ "onUpdate:value": e[1] || (e[1] = (o) => q(_) ? _.value = o : null)
120
120
  }, {
121
121
  default: l(() => [
122
122
  (r(!0), y(
@@ -195,7 +195,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
195
195
  title: o.name
196
196
  }, {
197
197
  default: l(() => [
198
- n(_, {
198
+ n(m, {
199
199
  class: "custom_tag bg-[#e8f3ff] dark:bg-[#141414]",
200
200
  closable: "",
201
201
  onClose: (D) => C(o.id || "")
@@ -216,7 +216,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
216
216
  ]),
217
217
  _: 2
218
218
  /* DYNAMIC */
219
- }, 1032, ["title"])) : (r(), E(_, {
219
+ }, 1032, ["title"])) : (r(), E(m, {
220
220
  key: 1,
221
221
  class: "custom_tag bg-[#e8f3ff] dark:bg-[#141414]",
222
222
  closable: "",
@@ -258,9 +258,9 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
258
258
  { required: !0, message: "请输入名称", trigger: "blur" },
259
259
  { min: 2, max: 32, message: "角色组名称长度不能少于2位,不能超过32位", trigger: "change" }
260
260
  ],
261
- roleIds: [{ required: !0, validator: m, trigger: ["blur", "change"] }]
261
+ roleIds: [{ required: !0, validator: _, trigger: ["blur", "change"] }]
262
262
  };
263
- function m(d, t) {
263
+ function _(d, t) {
264
264
  return t && t.length > 0 ? Promise.resolve() : Promise.reject(new Error("请选择角色"));
265
265
  }
266
266
  const w = he({
@@ -269,8 +269,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
269
269
  async function R(d, t) {
270
270
  var P;
271
271
  if (w.title = d, d === x.EDIT) {
272
- const _ = await ye({ id: t == null ? void 0 : t.id });
273
- _.success && (s.value = _.data ?? {}, b.value = ((P = _.data) == null ? void 0 : P.roles) || []);
272
+ const m = await ye({ id: t == null ? void 0 : t.id });
273
+ m.success && (s.value = m.data ?? {}, b.value = ((P = m.data) == null ? void 0 : P.roles) || []);
274
274
  } else
275
275
  s.value = {
276
276
  enable: !0
@@ -284,8 +284,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
284
284
  (t = u.value) == null || t.validate().then(() => {
285
285
  g(!0);
286
286
  const P = { ...s.value };
287
- d(P).then((_) => {
288
- _.success && (Z.success(`${w.title}成功!`), c(!1), T("submit"));
287
+ d(P).then((m) => {
288
+ m.success && (Z.success(`${w.title}成功!`), c(!1), T("submit"));
289
289
  }).finally(() => g(!1));
290
290
  });
291
291
  }
@@ -304,7 +304,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
304
304
  return U({
305
305
  open: R
306
306
  }), (d, t) => {
307
- const P = H, _ = ce, B = de, A = pe, o = L, D = J, ee = ie, te = X, oe = ue;
307
+ const P = H, m = ce, B = de, A = pe, o = L, D = J, ee = ie, te = X, oe = ue;
308
308
  return r(), E(oe, {
309
309
  open: a(v),
310
310
  "onUpdate:open": t[4] || (t[4] = (i) => q(v) ? v.value = i : null),
@@ -322,8 +322,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
322
322
  default: l(() => t[6] || (t[6] = [
323
323
  $(" 取消 ")
324
324
  ])),
325
- _: 1
326
- /* STABLE */
325
+ _: 1,
326
+ __: [6]
327
327
  }),
328
328
  n(o, {
329
329
  type: "primary",
@@ -333,8 +333,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
333
333
  default: l(() => t[7] || (t[7] = [
334
334
  $(" 提交 ")
335
335
  ])),
336
- _: 1
337
- /* STABLE */
336
+ _: 1,
337
+ __: [7]
338
338
  }, 8, ["loading"])
339
339
  ]),
340
340
  _: 1
@@ -350,7 +350,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
350
350
  "label-col": { span: 4 }
351
351
  }, {
352
352
  default: l(() => [
353
- n(_, {
353
+ n(m, {
354
354
  label: "角色组名称",
355
355
  name: "name"
356
356
  }, {
@@ -364,7 +364,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
364
364
  _: 1
365
365
  /* STABLE */
366
366
  }),
367
- n(_, { label: "是否启用" }, {
367
+ n(m, { label: "是否启用" }, {
368
368
  default: l(() => [
369
369
  n(B, {
370
370
  checked: a(s).enable,
@@ -374,7 +374,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
374
374
  _: 1
375
375
  /* STABLE */
376
376
  }),
377
- n(_, { label: "角色组描述" }, {
377
+ n(m, { label: "角色组描述" }, {
378
378
  default: l(() => [
379
379
  n(A, {
380
380
  value: a(s).description,
@@ -386,7 +386,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
386
386
  _: 1
387
387
  /* STABLE */
388
388
  }),
389
- n(_, {
389
+ n(m, {
390
390
  label: "所属角色",
391
391
  name: "roleIds"
392
392
  }, {
@@ -398,8 +398,8 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
398
398
  default: l(() => t[5] || (t[5] = [
399
399
  $(" 编辑角色 ")
400
400
  ])),
401
- _: 1
402
- /* STABLE */
401
+ _: 1,
402
+ __: [5]
403
403
  }),
404
404
  p("div", We, [
405
405
  (r(!0), y(
@@ -486,7 +486,7 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
486
486
  function F() {
487
487
  O.value.reload();
488
488
  }
489
- async function m(c) {
489
+ async function _(c) {
490
490
  var C, g;
491
491
  const {
492
492
  current: u,
@@ -593,14 +593,14 @@ const Se = { class: "h-340px border-1px border-solid flex flex-row border_color"
593
593
  }
594
594
  }
595
595
  return (c, u) => {
596
- const s = ve, b = L, R = me, C = X, g = ke("auth");
596
+ const s = ve, b = L, R = _e, C = X, g = ke("auth");
597
597
  return r(), y("div", Le, [n(
598
598
  a(De),
599
599
  {
600
600
  ref_key: "tableRef",
601
601
  ref: O,
602
602
  "row-key": "id",
603
- request: m,
603
+ request: _,
604
604
  columns: w,
605
605
  "auto-height": "",
606
606
  scroll: {
@@ -2,15 +2,15 @@ import { Modal as De, Tabs as Ce, TabPane as Oe, CheckboxGroup as Pe, Tooltip as
2
2
  import { PubinfoIcon as Ae } from "pubinfo";
3
3
  import { PlusCircleOutlined as Me } from "@ant-design/icons-vue";
4
4
  import { defineComponent as de, mergeModels as Ue, ref as v, computed as te, useModel as Ne, createBlock as R, openBlock as r, withCtx as n, createElementVNode as g, createVNode as l, unref as a, isRef as Z, createElementBlock as _, Fragment as B, renderList as ee, createTextVNode as P, toDisplayString as I, createCommentVNode as ae, resolveDirective as Le, withDirectives as re } from "vue";
5
- import { u as oe, p as Ve, _ as qe } from "./index-BmWUEWpu.js";
6
- import { g as Be, p as Ke, a as Ye, b as je, d as ze } from "./shujuquanxianzhubiaokongzhiqi-fpMYehpC.js";
5
+ import { u as oe, p as Ve, _ as qe } from "./index-BOEO9CRp.js";
6
+ import { g as Be, p as Ke, a as Ye, b as je, d as ze } from "./shujuquanxianzhubiaokongzhiqi-3CpYi1Zo.js";
7
7
  import { ProTable as Qe } from "@pubinfo/pro-components";
8
8
  import { message as ve, Modal as He } from "ant-design-vue";
9
9
  import { G as ue } from "./enum-DDKThkSw.js";
10
10
  import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  import { R as We } from "./enum-CTUzwCYG.js";
12
- import { u as Xe } from "./useAppAndResource-BH_Fl_gK.js";
13
- import { _ as Ze } from "./index-C18K1WpL.js";
12
+ import { u as Xe } from "./useAppAndResource-BF7jQTCi.js";
13
+ import { _ as Ze } from "./index-BChMrCkZ.js";
14
14
  import { D as ie, a as ge, b as et, A as G } from "./enum-BEHz_Q18.js";
15
15
  const tt = { class: "h-340px border-1px border-solid flex flex-row border_color" }, at = { class: "w-360px" }, ot = { class: "flex-1 flex flex-col border-solid border-0px border-l-1px border_color" }, nt = { class: "flex-1 p-10px overflow-auto" }, st = /* @__PURE__ */ de({
16
16
  name: "GroupSelector",
@@ -88,8 +88,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
88
88
  default: n(() => o[6] || (o[6] = [
89
89
  P(" 取消 ")
90
90
  ])),
91
- _: 1
92
- /* STABLE */
91
+ _: 1,
92
+ __: [6]
93
93
  }),
94
94
  l(W, {
95
95
  type: "primary",
@@ -98,8 +98,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
98
98
  default: n(() => o[7] || (o[7] = [
99
99
  P(" 确定 ")
100
100
  ])),
101
- _: 1
102
- /* STABLE */
101
+ _: 1,
102
+ __: [7]
103
103
  })
104
104
  ]),
105
105
  default: n(() => [
@@ -370,8 +370,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
370
370
  default: n(() => t[8] || (t[8] = [
371
371
  P(" 取消 ")
372
372
  ])),
373
- _: 1
374
- /* STABLE */
373
+ _: 1,
374
+ __: [8]
375
375
  }),
376
376
  l(q, {
377
377
  type: "primary",
@@ -381,8 +381,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
381
381
  default: n(() => t[9] || (t[9] = [
382
382
  P(" 提交 ")
383
383
  ])),
384
- _: 1
385
- /* STABLE */
384
+ _: 1,
385
+ __: [9]
386
386
  }, 8, ["loading"])
387
387
  ]),
388
388
  _: 1
@@ -455,8 +455,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
455
455
  default: n(() => t[5] || (t[5] = [
456
456
  P(" 编辑资源 ")
457
457
  ])),
458
- _: 1
459
- /* STABLE */
458
+ _: 1,
459
+ __: [5]
460
460
  }),
461
461
  g("div", rt, [
462
462
  (r(!0), _(
@@ -513,8 +513,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
513
513
  default: n(() => t[6] || (t[6] = [
514
514
  P(" 编辑部门 ")
515
515
  ])),
516
- _: 1
517
- /* STABLE */
516
+ _: 1,
517
+ __: [6]
518
518
  }),
519
519
  g("div", pt, [
520
520
  (r(!0), _(
@@ -574,8 +574,8 @@ const tt = { class: "h-340px border-1px border-solid flex flex-row border_color"
574
574
  default: n(() => t[7] || (t[7] = [
575
575
  P(" 编辑群组 ")
576
576
  ])),
577
- _: 1
578
- /* STABLE */
577
+ _: 1,
578
+ __: [7]
579
579
  }),
580
580
  g("div", mt, [
581
581
  (r(!0), _(
@@ -2,16 +2,16 @@ import { Card as ue, Spin as ge, Empty as Re, Tree as Oe, Modal as Pe, Input as
2
2
  import { PubinfoIcon as fe, useAuth as Ae } from "pubinfo";
3
3
  import { SearchOutlined as Fe, PlusCircleOutlined as Ve } from "@ant-design/icons-vue";
4
4
  import { defineComponent as Q, ref as $, onMounted as ye, createBlock as R, openBlock as l, withCtx as n, createVNode as t, unref as a, mergeProps as ze, createElementVNode as w, toDisplayString as U, mergeModels as Me, useModel as ke, watch as se, isRef as ee, createElementBlock as S, createTextVNode as j, Fragment as Z, renderList as K, withDirectives as X, vShow as je, createCommentVNode as H, normalizeStyle as re, nextTick as Ne, reactive as Be, resolveDirective as Ge, isVNode as qe } from "vue";
5
- import { j as We, k as Ze, l as He, m as Ke, n as Xe, o as Je, q as Qe, r as Ye, u as J, c as et, s as tt, _ as at, t as nt, v as ot, w as lt, x as st, y as rt, z as it } from "./index-BmWUEWpu.js";
5
+ import { j as We, k as Ze, l as He, m as Ke, n as Xe, o as Je, q as Qe, r as Ye, u as J, c as et, s as tt, _ as at, t as nt, v as ot, w as lt, x as st, y as rt, z as it } from "./index-BOEO9CRp.js";
6
6
  import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import { ProTable as ut } from "@pubinfo/pro-components";
8
8
  import { theme as we, message as ne, Form as dt, Modal as ie, Popover as ct, Space as pt, Badge as oe } from "ant-design-vue";
9
- import { g as mt, c as Ie } from "./pubJiaosezukongzhiqi-DHx7MsUe.js";
10
- import { c as ft, e as _t } from "./shujuquanxianzhubiaokongzhiqi-fpMYehpC.js";
11
- import { e as gt } from "./jiaosejiekou-DvfMUYAa.js";
12
- import { g as vt } from "./gangweijiekou-CV3_VBHJ.js";
9
+ import { g as mt, c as Ie } from "./pubJiaosezukongzhiqi-BlLcThHi.js";
10
+ import { c as ft, e as _t } from "./shujuquanxianzhubiaokongzhiqi-3CpYi1Zo.js";
11
+ import { e as gt } from "./jiaosejiekou-0xZkLzL_.js";
12
+ import { g as vt } from "./gangweijiekou-CV7cIo_W.js";
13
13
  import { useRequest as bt } from "alova/client";
14
- import { c as xt } from "./cloneDeep-DlhYgmRW.js";
14
+ import { c as xt } from "./cloneDeep-B4Rj61s4.js";
15
15
  var ht = "[object Map]", yt = "[object Set]", kt = Object.prototype, wt = kt.hasOwnProperty;
16
16
  function le(p) {
17
17
  if (p == null)
@@ -171,8 +171,8 @@ const It = { class: "flex w-full items-center overflow-hidden" }, Rt = ["title"]
171
171
  default: n(() => e[7] || (e[7] = [
172
172
  j(" 取消 ")
173
173
  ])),
174
- _: 1
175
- /* STABLE */
174
+ _: 1,
175
+ __: [7]
176
176
  }),
177
177
  t(M, {
178
178
  type: "primary",
@@ -181,8 +181,8 @@ const It = { class: "flex w-full items-center overflow-hidden" }, Rt = ["title"]
181
181
  default: n(() => e[8] || (e[8] = [
182
182
  j(" 确定 ")
183
183
  ])),
184
- _: 1
185
- /* STABLE */
184
+ _: 1,
185
+ __: [8]
186
186
  })
187
187
  ]),
188
188
  default: n(() => [
@@ -206,8 +206,8 @@ const It = { class: "flex w-full items-center overflow-hidden" }, Rt = ["title"]
206
206
  default: n(() => e[5] || (e[5] = [
207
207
  j(" 全部 ")
208
208
  ])),
209
- _: 1
210
- /* STABLE */
209
+ _: 1,
210
+ __: [5]
211
211
  }),
212
212
  (l(!0), S(
213
213
  Z,
@@ -489,8 +489,8 @@ const It = { class: "flex w-full items-center overflow-hidden" }, Rt = ["title"]
489
489
  default: n(() => c[4] || (c[4] = [
490
490
  j(" 取消 ")
491
491
  ])),
492
- _: 1
493
- /* STABLE */
492
+ _: 1,
493
+ __: [4]
494
494
  }),
495
495
  t(C, {
496
496
  type: "primary",
@@ -500,8 +500,8 @@ const It = { class: "flex w-full items-center overflow-hidden" }, Rt = ["title"]
500
500
  default: n(() => c[5] || (c[5] = [
501
501
  j(" 提交 ")
502
502
  ])),
503
- _: 1
504
- /* STABLE */
503
+ _: 1,
504
+ __: [5]
505
505
  }, 8, ["loading"])
506
506
  ]),
507
507
  _: 1
@@ -622,8 +622,8 @@ const It = { class: "flex w-full items-center overflow-hidden" }, Rt = ["title"]
622
622
  default: n(() => c[3] || (c[3] = [
623
623
  j(" 编辑角色 ")
624
624
  ])),
625
- _: 2
626
- /* DYNAMIC */
625
+ _: 2,
626
+ __: [3]
627
627
  }, 1032, ["onClick"]),
628
628
  w("div", zt, [
629
629
  (l(!0), S(
@@ -870,8 +870,8 @@ const Zt = { class: "space-y-2" }, Ht = { class: "flex items-center space-x-1" }
870
870
  default: n(() => m[0] || (m[0] = [
871
871
  j(" 删除 ")
872
872
  ])),
873
- _: 2
874
- /* DYNAMIC */
873
+ _: 2,
874
+ __: [0]
875
875
  }, 1032, ["onClick"])) : H("v-if", !0)
876
876
  ];
877
877
  }),
@@ -917,8 +917,8 @@ const Zt = { class: "space-y-2" }, Ht = { class: "flex items-center space-x-1" }
917
917
  default: n(() => m[1] || (m[1] = [
918
918
  j(" 选择组织 ")
919
919
  ])),
920
- _: 1
921
- /* STABLE */
920
+ _: 1,
921
+ __: [1]
922
922
  })
923
923
  ])
924
924
  ]),
@@ -982,8 +982,8 @@ const Zt = { class: "space-y-2" }, Ht = { class: "flex items-center space-x-1" }
982
982
  default: n(() => m[2] || (m[2] = [
983
983
  j(" 添加组织 ")
984
984
  ])),
985
- _: 1
986
- /* STABLE */
985
+ _: 1,
986
+ __: [2]
987
987
  })
988
988
  ]);
989
989
  };
@@ -1113,8 +1113,8 @@ const Zt = { class: "space-y-2" }, Ht = { class: "flex items-center space-x-1" }
1113
1113
  default: n(() => e[13] || (e[13] = [
1114
1114
  j(" 取消 ")
1115
1115
  ])),
1116
- _: 1
1117
- /* STABLE */
1116
+ _: 1,
1117
+ __: [13]
1118
1118
  }),
1119
1119
  t(C, {
1120
1120
  type: "primary",
@@ -1124,8 +1124,8 @@ const Zt = { class: "space-y-2" }, Ht = { class: "flex items-center space-x-1" }
1124
1124
  default: n(() => e[14] || (e[14] = [
1125
1125
  j(" 提交 ")
1126
1126
  ])),
1127
- _: 1
1128
- /* STABLE */
1127
+ _: 1,
1128
+ __: [14]
1129
1129
  }, 8, ["loading"])
1130
1130
  ]),
1131
1131
  _: 1