@pubinfo/module-rbac 2.1.6 → 2.1.7

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.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js";
1
+ import { _ as f } from "./createAndEditDataPermission.vue_vue_type_script_setup_true_lang-CShgNR8R.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Modal as ye, Tabs as ke, TabPane as Ie, CheckboxGroup as Re, Tooltip as pe, Tag as Se, Button as de, Drawer as he, Form as Fe, FormItem as Oe, Input as we, Select as Ge, Space as Ce } from "ant-design-vue/es";
2
2
  import { defineComponent as ie, mergeModels as De, ref as c, computed as z, useModel as Ee, createBlock as y, openBlock as u, withCtx as l, createElementVNode as m, createVNode as s, unref as n, isRef as Y, createElementBlock as g, Fragment as C, renderList as j, createTextVNode as k, toDisplayString as h, createCommentVNode as ue } from "vue";
3
3
  import { message as Pe } from "ant-design-vue";
4
- import { p as Ue, u as le, _ as Te, R as Me, OrgSelector as Ne, ResourceSelector as $e } from "./index.js";
4
+ import { g as Ue, u as le, _ as Te, R as Me, OrgSelector as Ne, ResourceSelector as $e } from "./index.js";
5
5
  import { g as Ae, a as Le, b as Be } from "./shujuquanxianzhubiaokongzhiqi-SpN37fyO.js";
6
6
  import { G as te } from "./enum-DDKThkSw.js";
7
7
  import { u as Ve } from "./useAppAndResource-DDywX2iz.js";
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js";
1
+ import { _ as f } from "./drawerDictionary.vue_vue_type_script_setup_true_lang-xr5bBdt5.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Drawer as R, Form as S, FormItem as $, Input as q, Textarea as E, InputNumber as F, Space as V, Button as L } from "ant-design-vue/es";
2
- import { defineComponent as j, reactive as z, ref as v, createBlock as G, openBlock as H, unref as t, isRef as J, withCtx as a, createVNode as n, createTextVNode as g } from "vue";
2
+ import { defineComponent as j, reactive as z, ref as v, createBlock as G, openBlock as H, unref as t, isRef as J, withCtx as l, createVNode as n, createTextVNode as g } from "vue";
3
3
  import { message as K } from "ant-design-vue";
4
- import { u as b, c as M } from "./index.js";
4
+ import { u as b, a as M } from "./index.js";
5
5
  import { A as x } from "./enum-C9ihxJe7.js";
6
6
  const h = /* @__PURE__ */ j({
7
7
  name: "DrawerDictionary",
@@ -36,7 +36,7 @@ const h = /* @__PURE__ */ j({
36
36
  const _ = q, u = $, k = E, N = F, A = S, c = L, B = V, O = R;
37
37
  return H(), G(O, {
38
38
  open: t(i),
39
- "onUpdate:open": e[5] || (e[5] = (l) => J(i) ? i.value = l : null),
39
+ "onUpdate:open": e[5] || (e[5] = (a) => J(i) ? i.value = a : null),
40
40
  title: `${t(s).title}类型`,
41
41
  placement: "right",
42
42
  width: 520,
@@ -44,11 +44,11 @@ const h = /* @__PURE__ */ j({
44
44
  "footer-style": { textAlign: "right" },
45
45
  onClose: f
46
46
  }, {
47
- footer: a(() => [
47
+ footer: l(() => [
48
48
  n(B, null, {
49
- default: a(() => [
49
+ default: l(() => [
50
50
  n(c, { onClick: f }, {
51
- default: a(() => e[6] || (e[6] = [
51
+ default: l(() => e[6] || (e[6] = [
52
52
  g(" 取消 ")
53
53
  ])),
54
54
  _: 1,
@@ -57,9 +57,9 @@ const h = /* @__PURE__ */ j({
57
57
  n(c, {
58
58
  type: "primary",
59
59
  loading: t(I),
60
- onClick: e[4] || (e[4] = (l) => U())
60
+ onClick: e[4] || (e[4] = (a) => U())
61
61
  }, {
62
- default: a(() => e[7] || (e[7] = [
62
+ default: l(() => e[7] || (e[7] = [
63
63
  g(" 提交 ")
64
64
  ])),
65
65
  _: 1,
@@ -69,7 +69,7 @@ const h = /* @__PURE__ */ j({
69
69
  _: 1
70
70
  })
71
71
  ]),
72
- default: a(() => [
72
+ default: l(() => [
73
73
  n(A, {
74
74
  ref_key: "formRef",
75
75
  ref: p,
@@ -77,15 +77,15 @@ const h = /* @__PURE__ */ j({
77
77
  rules: T,
78
78
  "label-col": { span: 4 }
79
79
  }, {
80
- default: a(() => [
80
+ default: l(() => [
81
81
  n(u, {
82
82
  label: "类型名称",
83
83
  name: "name"
84
84
  }, {
85
- default: a(() => [
85
+ default: l(() => [
86
86
  n(_, {
87
87
  value: t(o).name,
88
- "onUpdate:value": e[0] || (e[0] = (l) => t(o).name = l),
88
+ "onUpdate:value": e[0] || (e[0] = (a) => t(o).name = a),
89
89
  maxlength: 30
90
90
  }, null, 8, ["value"])
91
91
  ]),
@@ -95,10 +95,10 @@ const h = /* @__PURE__ */ j({
95
95
  label: "类型编码",
96
96
  name: "code"
97
97
  }, {
98
- default: a(() => [
98
+ default: l(() => [
99
99
  n(_, {
100
100
  value: t(o).code,
101
- "onUpdate:value": e[1] || (e[1] = (l) => t(o).code = l),
101
+ "onUpdate:value": e[1] || (e[1] = (a) => t(o).code = a),
102
102
  maxlength: 30,
103
103
  disabled: t(s).title === t(x).EDIT
104
104
  }, null, 8, ["value", "disabled"])
@@ -109,10 +109,10 @@ const h = /* @__PURE__ */ j({
109
109
  label: "描述",
110
110
  name: "description"
111
111
  }, {
112
- default: a(() => [
112
+ default: l(() => [
113
113
  n(k, {
114
114
  value: t(o).description,
115
- "onUpdate:value": e[2] || (e[2] = (l) => t(o).description = l),
115
+ "onUpdate:value": e[2] || (e[2] = (a) => t(o).description = a),
116
116
  rows: 3,
117
117
  "show-count": "",
118
118
  maxlength: 200
@@ -124,10 +124,10 @@ const h = /* @__PURE__ */ j({
124
124
  label: "排序",
125
125
  name: "sort"
126
126
  }, {
127
- default: a(() => [
127
+ default: l(() => [
128
128
  n(N, {
129
129
  value: t(o).sort,
130
- "onUpdate:value": e[3] || (e[3] = (l) => t(o).sort = l)
130
+ "onUpdate:value": e[3] || (e[3] = (a) => t(o).sort = a)
131
131
  }, null, 8, ["value"])
132
132
  ]),
133
133
  _: 1
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js";
1
+ import { _ as f } from "./drawerDictionaryItem.vue_vue_type_script_setup_true_lang-BEA0Y-EY.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Drawer as A, Form as B, FormItem as O, Input as R, Textarea as $, InputNumber as q, Switch as F, Space as E, Button as j } from "ant-design-vue/es";
2
2
  import { defineComponent as z, reactive as G, ref as v, createBlock as H, openBlock as J, unref as n, isRef as K, withCtx as a, createVNode as o, createTextVNode as b } from "vue";
3
3
  import { message as M } from "ant-design-vue";
4
- import { u as g, g as P } from "./index.js";
4
+ import { u as g, f as P } from "./index.js";
5
5
  import { A as Q } from "./enum-C9ihxJe7.js";
6
6
  const te = /* @__PURE__ */ z({
7
7
  name: "DrawerDictionaryItem",
@@ -18,17 +18,17 @@ const te = /* @__PURE__ */ z({
18
18
  async function k(r, e, i) {
19
19
  p(!0), s.title = r, s.code = e, r === Q.EDIT ? t.value = i ?? {} : (t.value = {}, t.value.enable = !0, t.value.code = e);
20
20
  }
21
- const [C, c] = g(!1);
21
+ const [C, f] = g(!1);
22
22
  function D() {
23
23
  d.value?.validate().then(() => {
24
- c(!0);
24
+ f(!0);
25
25
  const r = { ...t.value };
26
26
  P(r).then((e) => {
27
27
  e.success && (M.success(`${s.title}成功!`), p(!1), y("submit"));
28
- }).finally(() => c(!1));
28
+ }).finally(() => f(!1));
29
29
  });
30
30
  }
31
- function f() {
31
+ function c() {
32
32
  p(!1);
33
33
  }
34
34
  return x({
@@ -43,12 +43,12 @@ const te = /* @__PURE__ */ z({
43
43
  width: 520,
44
44
  "destroy-on-close": "",
45
45
  "footer-style": { textAlign: "right" },
46
- onClose: f
46
+ onClose: c
47
47
  }, {
48
48
  footer: a(() => [
49
49
  o(N, null, {
50
50
  default: a(() => [
51
- o(_, { onClick: f }, {
51
+ o(_, { onClick: c }, {
52
52
  default: a(() => e[7] || (e[7] = [
53
53
  b(" 取消 ")
54
54
  ])),