@pubinfo/module-rbac 2.0.0-beta.10 → 2.0.0-beta.12

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 (54) hide show
  1. package/dist/{animation_item.vue_vue_type_script_setup_true_lang-BQvmwheq.js → animation_item.vue_vue_type_script_setup_true_lang-B6l7UFLh.js} +281 -281
  2. package/dist/cloneDeep-8vjgfynq.js +8 -0
  3. package/dist/components/OrgUserSelector/index.d.ts +3 -2
  4. package/dist/{gangweijiekou-BxJq_m0o.js → gangweijiekou-DoXatrli.js} +1 -1
  5. package/dist/{index-a0E9oj3q.js → index--VjqUCuf.js} +12 -13
  6. package/dist/{index-U8kjKY6p.js → index-437l5ijj.js} +5 -6
  7. package/dist/{index-Cr17VOfm.js → index-B7KC3boK.js} +4 -5
  8. package/dist/{index-Cej8u1qo.js → index-BGQ99J2l.js} +10 -11
  9. package/dist/{index-KboUdpTh.js → index-BTXg6pUc.js} +12 -15
  10. package/dist/{index-yEpViVkx.js → index-BWc4onKs.js} +10 -11
  11. package/dist/{index-MtXfNGqS.js → index-BX1CIagK.js} +6486 -562
  12. package/dist/{index-j_ln_NSt.js → index-BXq997wj.js} +10 -11
  13. package/dist/{index-s32GbmsJ.js → index-BamJFV9x.js} +3 -3
  14. package/dist/{index-D0yB_8b0.js → index-BpZlEjLH.js} +3 -3
  15. package/dist/{index-CTiFd9M0.js → index-BuIXR9Hh.js} +3 -3
  16. package/dist/{index-CsHj-xDw.js → index-Bugwk8cz.js} +2 -2
  17. package/dist/index-C-Pw2BFu.js +465 -0
  18. package/dist/{index-CLSeuhTv.js → index-C0HpWF9q.js} +13 -14
  19. package/dist/{index-CFPhIFyG.js → index-CEdx5DQj.js} +2 -2
  20. package/dist/{index-BhcAk-IH.js → index-CIAVtlta.js} +1 -1
  21. package/dist/{index-zh8PZXw2.js → index-CLKpGgxo.js} +16 -18
  22. package/dist/{index-Bl4v-7On.js → index-CLmuHwlB.js} +2 -2
  23. package/dist/{index-BleenJqT.js → index-D8wjctLy.js} +3 -3
  24. package/dist/{index-CLxqmFPw.js → index-DX_JxMJ5.js} +3 -3
  25. package/dist/{index-DNf0NPrD.js → index-McuDTIU1.js} +3 -3
  26. package/dist/{index-Bbsiwecf.js → index-QwehJ7aS.js} +33 -38
  27. package/dist/{index-BS45K9vK.js → index-ZlLpG1f9.js} +5 -6
  28. package/dist/{index-UZeQsp70.js → index-dJJh8i9i.js} +3 -3
  29. package/dist/{index-gmUZUdNl.js → index-uJt-0g6U.js} +7 -8
  30. package/dist/index.d.ts +1 -0
  31. package/dist/index.js +7 -3
  32. package/dist/{itemlist-xAbIKRVj.js → itemlist-D7MJp8Qk.js} +9 -10
  33. package/dist/{jiaosejiekou-BfY4h7uI.js → jiaosejiekou-BCXAevvU.js} +1 -1
  34. package/dist/{login_history-CuQv9Iw3.js → login_history-DmfGnXsn.js} +1 -1
  35. package/dist/{operate_history-CGP-1Xy2.js → operate_history-BzX4YfHD.js} +10 -10
  36. package/dist/{pubJiaosezukongzhiqi-CvYfc8Uz.js → pubJiaosezukongzhiqi-DjhWqIMC.js} +1 -1
  37. package/dist/{setItem-DkOvmWXP.js → setItem-A0ExOAEh.js} +1 -1
  38. package/dist/{shujuquanxianzhubiaokongzhiqi-DyNgf1y6.js → shujuquanxianzhubiaokongzhiqi-CmBc9yvH.js} +5 -5
  39. package/dist/style.css +1 -1
  40. package/dist/{useAppAndResource-D_b19V4t.js → useAppAndResource-BQ6GznA5.js} +2 -2
  41. package/dist/{xitongpeizhifuwu-C1Vm-W1B.js → xitongpeizhifuwu-DtEPa1iK.js} +1 -1
  42. package/dist/{zidianfuwu-yCWHhOfO.js → zidianfuwu-BUtPqzzu.js} +1 -1
  43. package/dist/{ziyuanjiekou-DhrAbneq.js → ziyuanjiekou-DMJynAKN.js} +1 -1
  44. package/dist/{zuzhijiaosebiaokongzhiqi-B1g74RqL.js → zuzhijiaosebiaokongzhiqi-Bf05-XJX.js} +1 -1
  45. package/package.json +4 -5
  46. package/src/components/OrgUserSelector/index.ts +5 -0
  47. package/src/index.ts +1 -0
  48. package/dist/OrgSelector.vue_vue_type_script_setup_true_lang-BcL0IFuA.js +0 -567
  49. package/dist/_baseClone-CQ44TFeq.js +0 -191
  50. package/dist/cloneDeep-BI4WNBQ9.js +0 -8
  51. package/dist/index-DFR8dd2B.js +0 -785
  52. package/dist/index-Dm4sOX43.js +0 -27
  53. package/dist/request-DQLgc7lT.js +0 -5
  54. package/dist/zuzhijiekou-PeZuFtCO.js +0 -85
@@ -2,10 +2,9 @@ import { Drawer as Z, Form as ee, FormItem as te, Input as ne, Switch as ae, Tex
2
2
  import { useAuth as le, PubinfoIcon as ie } from "pubinfo";
3
3
  import { PlusCircleOutlined as oe } from "@ant-design/icons-vue";
4
4
  import { defineComponent as X, ref as L, createBlock as N, openBlock as h, unref as e, isRef as ce, withCtx as p, createVNode as i, createTextVNode as j, computed as y, resolveDirective as ue, createElementBlock as R, createCommentVNode as H, createElementVNode as W, normalizeClass as re, toDisplayString as $, withDirectives as S } from "vue";
5
- import { b as V } from "./request-DQLgc7lT.js";
5
+ import { i as V, u as z } from "./index-BX1CIagK.js";
6
6
  import { ProTable as pe } from "@pubinfo/pro-components";
7
- import { message as z, Modal as de } from "ant-design-vue";
8
- import { u as G } from "./index-Dm4sOX43.js";
7
+ import { message as G, Modal as de } from "ant-design-vue";
9
8
  import { useRoute as fe } from "vue-router";
10
9
  function me(s, _) {
11
10
  return V.Post("/blackWhiteList/addBlackWhiteList", s, {
@@ -47,7 +46,7 @@ const ve = /* @__PURE__ */ X({
47
46
  const E = s, k = b, A = {
48
47
  ip: [{ required: !0, validator: K, trigger: ["blur", "change"] }],
49
48
  enable: [{ required: !0, message: "请选择是否开启", trigger: ["blur", "change"] }]
50
- }, B = L(""), [D, w] = G(!1), P = L(), O = {
49
+ }, B = L(""), [D, w] = z(!1), P = L(), O = {
51
50
  enable: !0
52
51
  }, r = L({}), x = L(!1);
53
52
  function K(v, n, u) {
@@ -56,7 +55,7 @@ const ve = /* @__PURE__ */ X({
56
55
  async function M(v, n, u) {
57
56
  B.value = v, w(!0), n ? (x.value = !0, r.value = { ...u ?? {} }) : (x.value = !1, r.value = { ...O });
58
57
  }
59
- const [q, I] = G(!1);
58
+ const [q, I] = z(!1);
60
59
  function U() {
61
60
  var v;
62
61
  (v = P.value) == null || v.validate().then(() => {
@@ -66,7 +65,7 @@ const ve = /* @__PURE__ */ X({
66
65
  type: E.type
67
66
  };
68
67
  n(u).then((t) => {
69
- t.success && (z.success(`${B.value}成功!`), w(!1), k("submit"));
68
+ t.success && (G.success(`${B.value}成功!`), w(!1), k("submit"));
70
69
  }).finally(() => I(!1));
71
70
  });
72
71
  }
@@ -198,7 +197,7 @@ const be = {
198
197
  class: "ml-4px"
199
198
  }, we = ["onClick"], Ie = {
200
199
  class: "ml-4px"
201
- }, Oe = /* @__PURE__ */ X({
200
+ }, Ve = /* @__PURE__ */ X({
202
201
  name: "BlackWhiteList",
203
202
  __name: "index",
204
203
  setup(s) {
@@ -272,7 +271,7 @@ const be = {
272
271
  function I() {
273
272
  r.value.reload();
274
273
  }
275
- const [U, g] = G(!1);
274
+ const [U, g] = z(!1);
276
275
  function v(t, a) {
277
276
  de.confirm({
278
277
  title: "删除",
@@ -281,7 +280,7 @@ const be = {
281
280
  g(!0), _e({
282
281
  id: a == null ? void 0 : a.id
283
282
  }).then((l) => {
284
- l.success && (z.success("删除成功"), I());
283
+ l.success && (G.success("删除成功"), I());
285
284
  }).finally(() => g(!1));
286
285
  }
287
286
  });
@@ -293,7 +292,7 @@ const be = {
293
292
  }).then((a) => {
294
293
  if (a.success) {
295
294
  let l = "";
296
- t != null && t.enable ? l = "停用成功!" : l = "启用成功!", z.success(l), I();
295
+ t != null && t.enable ? l = "停用成功!" : l = "启用成功!", G.success(l), I();
297
296
  }
298
297
  }).finally(() => g(!1));
299
298
  }
@@ -451,5 +450,5 @@ const be = {
451
450
  }
452
451
  });
453
452
  export {
454
- Oe as default
453
+ Ve as default
455
454
  };