@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
@@ -1,13 +1,13 @@
1
1
  import { Drawer as Q, Form as ie, FormItem as ue, Input as ce, RadioGroup as de, InputNumber as pe, Switch as me, Textarea as fe, Select as _e, Space as W, Button as Z, Table as ve, Avatar as be } from "ant-design-vue/es";
2
2
  import { DatabaseOutlined as ge, PlusCircleOutlined as ye } from "@ant-design/icons-vue";
3
3
  import { defineComponent as G, ref as B, reactive as xe, computed as q, createBlock as N, openBlock as v, unref as e, isRef as Y, withCtx as s, createVNode as n, createCommentVNode as A, createTextVNode as E, toDisplayString as I, createElementBlock as O, createElementVNode as $, normalizeStyle as he, nextTick as J, resolveDirective as De, withDirectives as L } from "vue";
4
- import { u as z } from "./index-BmWUEWpu.js";
5
- import { g as Re, p as Ie, a as ke, b as Te, c as we, d as Ne } from "./ziyuanjiekou-CypA4O57.js";
4
+ import { u as z } from "./index-BOEO9CRp.js";
5
+ import { g as Re, p as Ie, a as ke, b as Te, c as we, d as Ne } from "./ziyuanjiekou-j9nd-oaF.js";
6
6
  import { ProTable as Pe } from "@pubinfo/pro-components";
7
7
  import { message as F, theme as Ce, Badge as K, Modal as Oe } from "ant-design-vue";
8
8
  import { useAuth as Ee, PubinfoIcon as M } from "pubinfo";
9
9
  import { D as Ae, d as Ue } from "./enum-BEHz_Q18.js";
10
- import { c as ee } from "./cloneDeep-DlhYgmRW.js";
10
+ import { c as ee } from "./cloneDeep-B4Rj61s4.js";
11
11
  import { useRequest as Se } from "alova/client";
12
12
  var d = /* @__PURE__ */ ((p) => (p.ROLE_RELATION = "分配查看", p.ADD = "新建", p.ADD_CHILD = "新建下级", p.EDIT = "修改", p.REMOVE = "删除", p))(d || {}), _ = /* @__PURE__ */ ((p) => (p.APP = "1", p.INDEX = "2", p.MENU = "3", p.BUTTON = "4", p.NON_MENU = "5", p))(_ || {});
13
13
  const H = [
@@ -127,8 +127,8 @@ const H = [
127
127
  default: s(() => t[13] || (t[13] = [
128
128
  E(" 取消 ")
129
129
  ])),
130
- _: 1
131
- /* STABLE */
130
+ _: 1,
131
+ __: [13]
132
132
  }),
133
133
  n(j, {
134
134
  type: "primary",
@@ -138,8 +138,8 @@ const H = [
138
138
  default: s(() => t[14] || (t[14] = [
139
139
  E(" 提交 ")
140
140
  ])),
141
- _: 1
142
- /* STABLE */
141
+ _: 1,
142
+ __: [14]
143
143
  }, 8, ["loading"])
144
144
  ]),
145
145
  _: 1
@@ -2,7 +2,7 @@ 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 { i as V, u as z } from "./index-BmWUEWpu.js";
5
+ import { i as V, u as z } from "./index-BOEO9CRp.js";
6
6
  import { ProTable as pe } from "@pubinfo/pro-components";
7
7
  import { message as G, Modal as de } from "ant-design-vue";
8
8
  import { useRoute as fe } from "vue-router";
@@ -93,8 +93,8 @@ const ve = /* @__PURE__ */ X({
93
93
  default: p(() => n[5] || (n[5] = [
94
94
  j(" 取消 ")
95
95
  ])),
96
- _: 1
97
- /* STABLE */
96
+ _: 1,
97
+ __: [5]
98
98
  }),
99
99
  i(f, {
100
100
  type: "primary",
@@ -104,8 +104,8 @@ const ve = /* @__PURE__ */ X({
104
104
  default: p(() => n[6] || (n[6] = [
105
105
  j(" 提交 ")
106
106
  ])),
107
- _: 1
108
- /* STABLE */
107
+ _: 1,
108
+ __: [6]
109
109
  }, 8, ["loading"])
110
110
  ]),
111
111
  _: 1
@@ -1,7 +1,7 @@
1
1
  import { Form as U, FormItem as V, Select as I, Switch as L, Input as q, Button as W } from "ant-design-vue/es";
2
- import { defineComponent as O, ref as y, reactive as B, onMounted as R, resolveDirective as J, createElementBlock as w, openBlock as k, createElementVNode as c, createVNode as r, withCtx as n, createCommentVNode as f, withDirectives as T, Fragment as A, createTextVNode as m, unref as G } from "vue";
3
- import { u as z } from "./index-BmWUEWpu.js";
4
- import { g as H, p as K } from "./xitongpeizhifuwu-B3Lw-Lq9.js";
2
+ import { defineComponent as O, ref as x, reactive as B, onMounted as R, resolveDirective as J, createElementBlock as w, openBlock as k, createElementVNode as c, createVNode as r, withCtx as n, createCommentVNode as f, withDirectives as T, Fragment as A, createTextVNode as m, unref as G } from "vue";
3
+ import { u as z } from "./index-BOEO9CRp.js";
4
+ import { g as H, p as K } from "./xitongpeizhifuwu-BIR2CVXp.js";
5
5
  import { message as Q } from "ant-design-vue";
6
6
  import { PassStrengthValidator as X } from "pubinfo";
7
7
  const Y = {
@@ -16,7 +16,7 @@ const Y = {
16
16
  }, $ = { class: "pt-20px flex flex-col box-border bg-white dark:bg-[#141414] text-[#4e5969] dark:text-[#C9CDD4]" }, ee = { class: "p-16px text-right b-t-1 b-t-style-solid b-t-color-[#e5e6eb] dark:b-t-color-[#424242]" }, te = { class: "mt-10px bg-white dark:bg-[#141414] text-[#4e5969] dark:text-[#C9CDD4]" }, ue = /* @__PURE__ */ O({
17
17
  __name: "index",
18
18
  setup(oe) {
19
- const P = {
19
+ const y = {
20
20
  blackWhiteListMode: [
21
21
  { required: !0, message: "请选择黑白名单模式", trigger: "change" }
22
22
  ],
@@ -30,7 +30,7 @@ const Y = {
30
30
  forceChangeInitPwd: [
31
31
  { required: !0, message: "请选择是否开启强制修改初始化密码", trigger: "change" }
32
32
  ]
33
- }, x = y(), _ = { style: { width: "240px" } }, C = { span: 9 }, E = [
33
+ }, _ = x(), P = { style: { width: "240px" } }, C = { span: 9 }, E = [
34
34
  {
35
35
  label: "无模式",
36
36
  value: "0"
@@ -58,7 +58,7 @@ const Y = {
58
58
  expireDays: 30,
59
59
  // 是否强制初始化密码,即登录后必须修改默认密码. 1开 0关,
60
60
  forceChangeInitPwd: !0
61
- }), p = y(!1);
61
+ }), p = x(!1);
62
62
  R(D);
63
63
  async function h(a, e) {
64
64
  return t.lockEnable && !e ? Promise.reject(new Error("请输入锁定分钟数")) : Number.isNaN(+e) || +e < 1 || +e > 360 ? Promise.reject(new Error("锁定分钟数应为[1~360]之间的正整数")) : Promise.resolve();
@@ -83,7 +83,7 @@ const Y = {
83
83
  if (!F.value) {
84
84
  g(!0);
85
85
  try {
86
- await ((a = x.value) == null ? void 0 : a.validate());
86
+ await ((a = _.value) == null ? void 0 : a.validate());
87
87
  const {
88
88
  blackWhiteListMode: e,
89
89
  lockEnable: s,
@@ -115,10 +115,10 @@ const Y = {
115
115
  c("div", $, [
116
116
  r(v, {
117
117
  ref_key: "formRef",
118
- ref: x,
118
+ ref: _,
119
119
  model: t,
120
- rules: P,
121
- "label-col": _,
120
+ rules: y,
121
+ "label-col": P,
122
122
  "wrapper-col": C,
123
123
  class: "safe-rule-form"
124
124
  }, {
@@ -169,8 +169,8 @@ const Y = {
169
169
  }, null, 8, ["value"]),
170
170
  e[9] || (e[9] = m("次 "))
171
171
  ]),
172
- _: 1
173
- /* STABLE */
172
+ _: 1,
173
+ __: [9]
174
174
  }),
175
175
  f(' v-if="formState.lockEnable" key="lockMinutes" 或 v-show '),
176
176
  r(l, {
@@ -219,8 +219,8 @@ const Y = {
219
219
  }, null, 8, ["value"]),
220
220
  e[11] || (e[11] = m("天 "))
221
221
  ]),
222
- _: 1
223
- /* STABLE */
222
+ _: 1,
223
+ __: [11]
224
224
  }),
225
225
  r(l, {
226
226
  label: "是否开启强制修改初始化密码",
@@ -243,8 +243,8 @@ const Y = {
243
243
  default: n(() => e[12] || (e[12] = [
244
244
  m(" 更改配置 ")
245
245
  ])),
246
- _: 1
247
- /* STABLE */
246
+ _: 1,
247
+ __: [12]
248
248
  })
249
249
  ])), [
250
250
  [d, "change_safe_setting"]