@pubinfo/module-rbac 2.0.4 → 2.0.5

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 (131) hide show
  1. package/dist/ComponentSelect-HWE3OTC2.js +2 -0
  2. package/dist/{ComponentSelect-Bhl9ciUm.js → ComponentSelect-lvLZA7v3.js} +866 -866
  3. package/dist/DynamicRoutesForm--yCRC-TS.js +4 -0
  4. package/dist/{DynamicRoutesForm-CE2RPs7y.js → DynamicRoutesForm-CjrPnJvX.js} +28 -28
  5. package/dist/{IconSelect-BeZfjsl0.js → IconSelect-B0CeuV_a.js} +1 -1
  6. package/dist/{IconSelect-BMlRIxBx.js → IconSelect-BRVj6gBy.js} +18 -18
  7. package/dist/{ImportExport-D8uzaOMz.js → ImportExport-BNLVq0fU.js} +1 -1
  8. package/dist/{ImportExport-ByRTssxP.js → ImportExport-HsLm0AJH.js} +63 -63
  9. package/dist/{ResourceEdit-BSaHxlbT.js → ResourceEdit-DGiYedP0.js} +100 -100
  10. package/dist/{ResourceEdit-Beu0QLBf.js → ResourceEdit-DZP72kyb.js} +4 -4
  11. package/dist/{ResourceRelation-CKolCnHC.js → ResourceRelation-BxGFnyVc.js} +1 -1
  12. package/dist/{ResourceRelation-BRseTUw2.js → ResourceRelation-DCjMjLpg.js} +1 -1
  13. package/dist/{ResourceRelation-B_4woLmP.js → ResourceRelation-DhML3AFe.js} +5 -5
  14. package/dist/ResourceRelation.css +1 -1
  15. package/dist/ResourceRelation2.css +1 -1
  16. package/dist/{ResourceSelector-ConJ30Jd.js → ResourceSelector-BAZ-oIRV.js} +46 -46
  17. package/dist/ResourceSelector.css +1 -1
  18. package/dist/RoleRelation-Bxyd5aMn.js +2 -0
  19. package/dist/{RoleRelation-DXZxscPY.js → RoleRelation-CcgE6TEG.js} +1 -1
  20. package/dist/RoleSelector-QpcO4KoV.js +279 -0
  21. package/dist/{TenantEdit-B5_v0C8I.js → TenantEdit-CRhsWhhw.js} +19 -19
  22. package/dist/{TenantEdit-C28473_2.js → TenantEdit-egH6GbbS.js} +2 -2
  23. package/dist/UserAuthorization-B0lHeayD.js +4 -0
  24. package/dist/{UserAuthorization-DTgmWH5Q.js → UserAuthorization-D-LcHhsj.js} +5 -5
  25. package/dist/UserAuthorization.css +1 -1
  26. package/dist/{UserEdit-EOTBOUZu.js → UserEdit-6MPOr7VK.js} +23 -23
  27. package/dist/{UserEdit-CyCXz7g3.js → UserEdit-DGefh7mk.js} +1 -1
  28. package/dist/{blackWhiteList-DQALdBZf.js → blackWhiteList-CFnWvnIK.js} +8 -8
  29. package/dist/blackWhiteList.css +1 -1
  30. package/dist/{breadcrumb_setting-D3UjJYhA.js → breadcrumb_setting-BbdvbC4M.js} +27 -27
  31. package/dist/breadcrumb_setting.css +1 -1
  32. package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +6 -15
  33. package/dist/components/RoleSelector/useRole.d.ts +4 -68
  34. package/dist/{createAndEditDataPermission-DnAcKvaE.js → createAndEditDataPermission-39GKHtzB.js} +50 -50
  35. package/dist/{createAndEditDataPermission-CAaxueTy.js → createAndEditDataPermission-BBSBwjG4.js} +2 -2
  36. package/dist/createAndEditDataPermission.css +1 -1
  37. package/dist/{data-permission-CLnnLoPt.js → data-permission-35wTSMh2.js} +3 -3
  38. package/dist/data-permission.css +1 -1
  39. package/dist/{dictionary-BFM0Mx0P.js → dictionary-BOuYUlfU.js} +1 -1
  40. package/dist/{drawerBlackWhiteList-BYACpO3D.js → drawerBlackWhiteList-BZccd_CZ.js} +8 -8
  41. package/dist/drawerBlackWhiteList-Bz2trn-w.js +3 -0
  42. package/dist/{drawerDictionary-BUBLrbTi.js → drawerDictionary-C2tWu1lt.js} +11 -11
  43. package/dist/{drawerDictionary-Bk0BgL7i.js → drawerDictionary-Cx-QoHn4.js} +1 -1
  44. package/dist/{drawerDictionaryItem-CfOPleN6.js → drawerDictionaryItem-C4mPbQEA.js} +12 -12
  45. package/dist/{drawerDictionaryItem-Dy2T56AH.js → drawerDictionaryItem-DhwinX1a.js} +1 -1
  46. package/dist/{drawerGroup-ZyzAWXOl.js → drawerGroup-BUx0cx6i.js} +1 -1
  47. package/dist/{drawerGroup-Bly3CWfM.js → drawerGroup-DFeiJOBA.js} +9 -9
  48. package/dist/{drawerOrganization-BhO5-PP5.js → drawerOrganization-BEdhq7Z2.js} +26 -26
  49. package/dist/{drawerOrganization-HSVB8JzO.js → drawerOrganization-ijhmuc8a.js} +1 -1
  50. package/dist/{drawerPosition-vsuG4JYe.js → drawerPosition-shL7hfwJ.js} +1 -1
  51. package/dist/{drawerPosition-CM0NBfoR.js → drawerPosition-xI2PyE2x.js} +14 -14
  52. package/dist/{drawerRegion-CGySAL6D.js → drawerRegion-BwWGUHaY.js} +16 -16
  53. package/dist/{drawerRegion-BXZ751ge.js → drawerRegion-Dl1qXPXz.js} +1 -1
  54. package/dist/{drawerRole-BE0utb7R.js → drawerRole-C1I6-hhT.js} +8 -8
  55. package/dist/{drawerRole-CwilBmOE.js → drawerRole-CZpTYFS3.js} +10 -10
  56. package/dist/drawerRole-CgTIHRCA.js +3 -0
  57. package/dist/{drawerRole-BVeaz3Yb.js → drawerRole-Cmrob1UJ.js} +2 -2
  58. package/dist/drawerRole-D2UxgYXQ.js +215 -0
  59. package/dist/{drawerRole-tan379DU.js → drawerRole-DynkfVMp.js} +2 -2
  60. package/dist/{group-B1gGoTD5.js → group-DOmpCW1J.js} +8 -8
  61. package/dist/group.css +1 -1
  62. package/dist/index.css +1 -1
  63. package/dist/index.js +78 -78
  64. package/dist/{itemlist-uCHnA_We.js → itemlist-QBWRLjTd.js} +1 -1
  65. package/dist/{layout_setting-DMvxwL31.js → layout_setting-BZt_X9vU.js} +17 -17
  66. package/dist/layout_setting.css +1 -1
  67. package/dist/{login_history-BexfCN-1.js → login_history-NTSjr6e5.js} +3 -3
  68. package/dist/login_history.css +1 -1
  69. package/dist/{menu_setting-BXR3EAXD.js → menu_setting-CkoDAYJD.js} +38 -38
  70. package/dist/menu_setting.css +1 -1
  71. package/dist/{operate_history-hXxS3atI.js → operate_history-CXoZlYaT.js} +3 -3
  72. package/dist/operate_history.css +1 -1
  73. package/dist/{organization-cvYm9P9w.js → organization-DmGbwqHI.js} +2642 -2642
  74. package/dist/organization.css +1 -1
  75. package/dist/{other_setting-DjVQevBW.js → other_setting-BqWwlJ2u.js} +64 -64
  76. package/dist/other_setting.css +1 -1
  77. package/dist/{page_animation_setting-DgHHmFEc.js → page_animation_setting-g3bkn7vf.js} +48 -48
  78. package/dist/page_animation_setting.css +1 -1
  79. package/dist/{page_w_setting-B_im6vBo.js → page_w_setting-Db9pP86g.js} +17 -17
  80. package/dist/page_w_setting.css +1 -1
  81. package/dist/{position-BkpbHXYP.js → position-Bq4B3_PK.js} +1 -1
  82. package/dist/{region-DVkbjI9t.js → region-DfxAE8eK.js} +4 -4
  83. package/dist/{resource-UmUb9yZa.js → resource-rP8m6eP_.js} +8 -8
  84. package/dist/{role-B2tKqUvP.js → role-DfWw95NS.js} +3 -3
  85. package/dist/{role_group-DqzFHwKx.js → role_group-B4J4RWQt.js} +2 -2
  86. package/dist/{setItem-9ZBl0BlF.js → setItem-C_jx_5fd.js} +1 -1
  87. package/dist/{setItem-BenNySNl.js → setItem-DnJuD3C0.js} +32 -32
  88. package/dist/setItem.css +1 -1
  89. package/dist/stores/view.d.ts +21 -126
  90. package/dist/{tabbar_setting-HFHrLVgt.js → tabbar_setting-DBPggZ6Q.js} +33 -33
  91. package/dist/tabbar_setting.css +1 -1
  92. package/dist/{tenant-C8kVbfgt.js → tenant-Dbydqvrz.js} +2 -2
  93. package/dist/{theme_setting-QgpSGXxq.js → theme_setting-3l5L7tXt.js} +5 -5
  94. package/dist/theme_setting.css +1 -1
  95. package/dist/{toolbar_setting-Dc_h2Mfe.js → toolbar_setting-rv8EGChc.js} +30 -30
  96. package/dist/toolbar_setting.css +1 -1
  97. package/dist/{user-Dub4HhCZ.js → user-DQE6N5EP.js} +9 -9
  98. package/dist/user.css +1 -1
  99. package/dist/utils/routeSystem.d.ts +21 -126
  100. package/dist/views/blackWhiteList/index.vue.d.ts +40 -40
  101. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +4 -4
  102. package/dist/views/data-permission/index.vue.d.ts +44 -44
  103. package/dist/views/dictionary/index.vue.d.ts +40 -40
  104. package/dist/views/dictionary/itemlist.vue.d.ts +40 -40
  105. package/dist/views/group/index.vue.d.ts +40 -40
  106. package/dist/views/log_center/components/browserType.vue.d.ts +2 -2
  107. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +2 -2
  108. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +2 -2
  109. package/dist/views/log_center/login_history.vue.d.ts +40 -40
  110. package/dist/views/log_center/operate_history.vue.d.ts +40 -40
  111. package/dist/views/position/index.vue.d.ts +40 -40
  112. package/dist/views/region/index.vue.d.ts +40 -40
  113. package/dist/views/resource/hooks/useMetaForm.d.ts +1 -8
  114. package/dist/views/resource/index.vue.d.ts +40 -40
  115. package/dist/views/role/components/ResourceRelation.vue.d.ts +40 -40
  116. package/dist/views/role/index.vue.d.ts +80 -80
  117. package/dist/views/role_group/index.vue.d.ts +40 -40
  118. package/dist/views/tenant/index.vue.d.ts +40 -40
  119. package/dist/views/user/index.vue.d.ts +40 -40
  120. package/dist/{watermark_setting-BcWy6p2_.js → watermark_setting-B_jC4rjv.js} +106 -106
  121. package/dist/watermark_setting.css +1 -1
  122. package/package.json +3 -3
  123. package/src/assets/styles/vxe-table.css +4 -4
  124. package/dist/ComponentSelect-Bhwuc86o.js +0 -2
  125. package/dist/DynamicRoutesForm-D35jFnxF.js +0 -4
  126. package/dist/RoleRelation-YaSQQxQ2.js +0 -2
  127. package/dist/RoleSelector-DOt30OLy.js +0 -279
  128. package/dist/UserAuthorization-C4SLMNmh.js +0 -4
  129. package/dist/drawerBlackWhiteList-C3xS7Kxx.js +0 -3
  130. package/dist/drawerRole-CzTW_I2H.js +0 -3
  131. package/dist/drawerRole-E1jHM3v-.js +0 -215
@@ -0,0 +1,215 @@
1
+ import { Z as e, a1 as t, a3 as n, am as r } from "./index.js";
2
+ import { b as i } from "./useAppAndResource-CeMCjg2v.js";
3
+ import { b as ee } from "./ResourceSelector-BAZ-oIRV.js";
4
+ import { Fragment as a, createBlock as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, isRef as te, openBlock as f, reactive as p, ref as m, renderList as ne, resolveComponent as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
5
+ import { message as y } from "ant-design-vue";
6
+ import { Button as b, Drawer as x, Form as S, FormItem as C, Input as w, Select as T, Space as E, Switch as D, Textarea as O, Tooltip as k } from "ant-design-vue/es";
7
+ let A = /* @__PURE__ */ function(e) {
8
+ return e.ADD = "新增", e.EDIT = "修改", e.REMOVE = "删除", e.RESOURCE_RELATION = "分配查看", e;
9
+ }({}), j = /* @__PURE__ */ function(e) {
10
+ return e.OWNER = "1", e.ALL = "2", e;
11
+ }({}), M = /* @__PURE__ */ function(e) {
12
+ return e[e.ON = 1] = "ON", e[e.OFF = 0] = "OFF", e;
13
+ }({});
14
+ const N = [{
15
+ label: "仅自己",
16
+ value: j.OWNER
17
+ }, {
18
+ label: "全部可见",
19
+ value: j.ALL
20
+ }];
21
+ M.ON, M.OFF;
22
+ const P = { class: "pt-10px" }, F = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, I = {
23
+ key: 1,
24
+ class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
25
+ };
26
+ var L = /* @__PURE__ */ d({
27
+ name: "DrawerRole",
28
+ __name: "drawerRole",
29
+ emits: ["submit"],
30
+ setup(d, { expose: h, emit: j }) {
31
+ let M = j, { resourceModelRef: L, selectedResources: R, updateTreeDataAndResourceMap: z, setSelectedResources: B, updateSelectedResources: V, clearSelectedResources: H, openResourceModel: U } = i(), W = {
32
+ name: [{
33
+ required: !0,
34
+ message: "请输入名称",
35
+ trigger: "change"
36
+ }, {
37
+ min: 2,
38
+ max: 32,
39
+ message: "角色名称长度不能少于2位,不能超过32位",
40
+ trigger: "change"
41
+ }],
42
+ code: [{
43
+ required: !0,
44
+ message: "请输入编号",
45
+ trigger: "change"
46
+ }, {
47
+ min: 2,
48
+ max: 32,
49
+ message: "角色编码长度不能少于2位,不能超过32位",
50
+ trigger: "change"
51
+ }],
52
+ viewScope: [{
53
+ required: !0,
54
+ message: "请选择可见范围",
55
+ trigger: "change"
56
+ }],
57
+ resourceIds: [{
58
+ required: !0,
59
+ validator: G,
60
+ trigger: ["blur", "change"]
61
+ }]
62
+ };
63
+ function G(e, t) {
64
+ return t && t.length > 0 ? Promise.resolve() : Promise.reject(/* @__PURE__ */ Error("请选择所属资源"));
65
+ }
66
+ let K = p({
67
+ title: "",
68
+ type: ""
69
+ }), [q, J] = r(!1), Y = m(), X = m({ enable: !0 });
70
+ async function Z(t, n) {
71
+ if (K.title = t, t === A.EDIT) {
72
+ let t = await e({ id: n?.id });
73
+ t.success && (X.value = t.data ?? {}, await z(""), X.value.resourceIds && V(X.value.resourceIds));
74
+ } else X.value = { enable: !0 }, H(), await z("");
75
+ J(!0);
76
+ }
77
+ let [re, Q] = r(!1);
78
+ function ie() {
79
+ let e = K.title === A.EDIT ? n : t;
80
+ Y.value?.validate().then(() => {
81
+ Q(!0);
82
+ let t = { ...X.value };
83
+ e(t).then((e) => {
84
+ e.success && (y.success(`${K.title}成功!`), J(!1), M("submit"));
85
+ }).finally(() => Q(!1));
86
+ });
87
+ }
88
+ function $() {
89
+ X.value = { enable: !0 }, J(!1);
90
+ }
91
+ function ae() {
92
+ X.value.resourceIds ? U(X.value.resourceIds) : U([]);
93
+ }
94
+ function oe(e) {
95
+ X.value.resourceIds = e.map((e) => e.id), B(e);
96
+ }
97
+ return h({ open: Z }), (e, t) => {
98
+ let n = w, r = C, i = T, d = D, p = O, m = b, h = k, y = S, j = E, M = x;
99
+ return f(), o(M, {
100
+ open: _(q),
101
+ "onUpdate:open": t[6] ||= (e) => te(q) ? q.value = e : null,
102
+ title: `${_(K).title}角色`,
103
+ placement: "right",
104
+ width: 600,
105
+ "destroy-on-close": "",
106
+ "footer-style": { textAlign: "right" },
107
+ onClose: $
108
+ }, {
109
+ footer: v(() => [u(j, null, {
110
+ default: v(() => [u(m, { onClick: $ }, {
111
+ default: v(() => t[8] ||= [l(" 取消 ")]),
112
+ _: 1,
113
+ __: [8]
114
+ }), u(m, {
115
+ type: "primary",
116
+ loading: _(re),
117
+ onClick: t[5] ||= (e) => ie()
118
+ }, {
119
+ default: v(() => t[9] ||= [l(" 提交 ")]),
120
+ _: 1,
121
+ __: [9]
122
+ }, 8, ["loading"])]),
123
+ _: 1
124
+ })]),
125
+ default: v(() => [u(y, {
126
+ ref_key: "formRef",
127
+ ref: Y,
128
+ model: _(X),
129
+ rules: W,
130
+ "label-col": { span: 4 }
131
+ }, {
132
+ default: v(() => [
133
+ u(r, {
134
+ label: "角色名称",
135
+ name: "name"
136
+ }, {
137
+ default: v(() => [u(n, {
138
+ value: _(X).name,
139
+ "onUpdate:value": t[0] ||= (e) => _(X).name = e,
140
+ maxlength: 32
141
+ }, null, 8, ["value"])]),
142
+ _: 1
143
+ }),
144
+ u(r, {
145
+ label: "角色编号",
146
+ name: "code"
147
+ }, {
148
+ default: v(() => [u(n, {
149
+ value: _(X).code,
150
+ "onUpdate:value": t[1] ||= (e) => _(X).code = e,
151
+ disabled: _(K).title === _(A).EDIT,
152
+ maxlength: 32
153
+ }, null, 8, ["value", "disabled"])]),
154
+ _: 1
155
+ }),
156
+ u(r, {
157
+ label: "可见范围",
158
+ name: "viewScope"
159
+ }, {
160
+ default: v(() => [u(i, {
161
+ value: _(X).viewScope,
162
+ "onUpdate:value": t[2] ||= (e) => _(X).viewScope = e,
163
+ options: _(N)
164
+ }, null, 8, ["value", "options"])]),
165
+ _: 1
166
+ }),
167
+ u(r, { label: "是否启用" }, {
168
+ default: v(() => [u(d, {
169
+ checked: _(X).enable,
170
+ "onUpdate:checked": t[3] ||= (e) => _(X).enable = e
171
+ }, null, 8, ["checked"])]),
172
+ _: 1
173
+ }),
174
+ u(r, { label: "角色描述" }, {
175
+ default: v(() => [u(p, {
176
+ value: _(X).description,
177
+ "onUpdate:value": t[4] ||= (e) => _(X).description = e,
178
+ maxlength: 250,
179
+ "show-count": ""
180
+ }, null, 8, ["value"])]),
181
+ _: 1
182
+ }),
183
+ u(r, {
184
+ label: "所属资源",
185
+ name: "resourceIds"
186
+ }, {
187
+ default: v(() => [u(m, {
188
+ type: "primary",
189
+ onClick: ae
190
+ }, {
191
+ default: v(() => t[7] ||= [l(" 编辑资源 ")]),
192
+ _: 1,
193
+ __: [7]
194
+ }), c("div", P, [(f(!0), s(a, null, ne(_(R), (e) => (f(), s(a, { key: e }, [e.name.length > 20 ? (f(), o(h, {
195
+ key: 0,
196
+ title: e.name
197
+ }, {
198
+ default: v(() => [c("span", F, g(`${e.name.slice(0, 20)}...`), 1)]),
199
+ _: 2
200
+ }, 1032, ["title"])) : (f(), s("span", I, g(e.name), 1))], 64))), 128))])]),
201
+ _: 1
202
+ })
203
+ ]),
204
+ _: 1
205
+ }, 8, ["model"]), u(ee, {
206
+ ref_key: "resourceModelRef",
207
+ ref: L,
208
+ onSelect: oe
209
+ }, null, 512)]),
210
+ _: 1
211
+ }, 8, ["open", "title"]);
212
+ };
213
+ }
214
+ }), R = L;
215
+ export { R as b, A as c, N as d };
@@ -1,6 +1,6 @@
1
1
  import "./_plugin-vue_export-helper-DziIhCOI.js";
2
2
  import "./enum-B1DCzyaW.js";
3
3
  import "./useAppAndResource-CeMCjg2v.js";
4
- import "./ResourceSelector-ConJ30Jd.js";
5
- import { b as e } from "./drawerRole-E1jHM3v-.js";
4
+ import "./ResourceSelector-BAZ-oIRV.js";
5
+ import { b as e } from "./drawerRole-D2UxgYXQ.js";
6
6
  export { e as default };
@@ -1,7 +1,7 @@
1
1
  import { af as e, ah as t } from "./index.js";
2
2
  import { b as n } from "./_plugin-vue_export-helper-DziIhCOI.js";
3
3
  import { b as r } from "./enum-BWzxzuim.js";
4
- import { b as i } from "./drawerGroup-Bly3CWfM.js";
4
+ import { b as i } from "./drawerGroup-DFeiJOBA.js";
5
5
  import { PubinfoIcon as a } from "pubinfo";
6
6
  import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
7
7
  import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
@@ -116,8 +116,8 @@ var F = /* @__PURE__ */ f({
116
116
  return (e, t) => {
117
117
  let n = T, m = E, x = b, S = C, U = a, W = w, G = h("auth");
118
118
  return p(), c("div", O, [l("div", k, [d(m, {
119
- "active-key": f.value.type,
120
- "onUpdate:activeKey": t[0] ||= (e) => f.value.type = e,
119
+ "active-key": _(f).type,
120
+ "onUpdate:activeKey": t[0] ||= (e) => _(f).type = e,
121
121
  class: "tabs_custom",
122
122
  onChange: V
123
123
  }, {
@@ -135,13 +135,13 @@ var F = /* @__PURE__ */ f({
135
135
  "row-key": "id",
136
136
  request: z,
137
137
  columns: B,
138
- "data-source": F.value,
138
+ "data-source": _(F),
139
139
  "auto-height": "",
140
140
  scroll: { x: 1100 }
141
141
  }, {
142
142
  toolbar: v(() => [y((p(), o(S, {
143
143
  type: "primary",
144
- onClick: t[1] ||= (e) => H(_(r).ADD, f.value.type)
144
+ onClick: t[1] ||= (e) => H(_(r).ADD, _(f).type)
145
145
  }, {
146
146
  default: v(() => [d(x), u(" " + g(_(r).ADD), 1)]),
147
147
  _: 1
@@ -149,13 +149,13 @@ var F = /* @__PURE__ */ f({
149
149
  bodyCell: v(({ column: e, record: t }) => [e.dataIndex === "action" ? (p(), o(W, { key: 0 }, {
150
150
  default: v(() => [y((p(), c("a", {
151
151
  class: "flex items-center",
152
- onClick: (e) => H(_(r).EDIT, f.value.type, t)
152
+ onClick: (e) => H(_(r).EDIT, _(f).type, t)
153
153
  }, [d(U, {
154
154
  name: "edit",
155
155
  class: "text-base"
156
156
  }), l("span", M, g(_(r).EDIT), 1)], 8, j)), [[G, "group_edit"]]), y((p(), c("span", {
157
157
  class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
158
- onClick: (e) => H(_(r).REMOVE, f.value.type, t)
158
+ onClick: (e) => H(_(r).REMOVE, _(f).type, t)
159
159
  }, [d(U, {
160
160
  name: "remove",
161
161
  class: "text-base"
@@ -170,5 +170,5 @@ var F = /* @__PURE__ */ f({
170
170
  }, null, 512)]);
171
171
  };
172
172
  }
173
- }), I = /* @__PURE__ */ n(F, [["__scopeId", "data-v-26bcb8d4"]]);
173
+ }), I = /* @__PURE__ */ n(F, [["__scopeId", "data-v-fb537441"]]);
174
174
  export { I as default };
package/dist/group.css CHANGED
@@ -1 +1 @@
1
- .box_sh[data-v-26bcb8d4]{--un-shadow:0 1px 2px 0 #00000008,0 1px 6px -1px #00000005,0 2px 4px 0 #00000005;box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.tabs_custom[data-v-26bcb8d4]{height:46px}.tabs_custom[data-v-26bcb8d4] .ant-tabs-nav{margin:0}.tabs_custom[data-v-26bcb8d4] .ant-tabs-nav .ant-tabs-nav-list{padding-left:1rem}
1
+ .box_sh[data-v-fb537441]{--un-shadow:0 1px 2px 0 #00000008,0 1px 6px -1px #00000005,0 2px 4px 0 #00000005;box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.tabs_custom[data-v-fb537441]{height:46px}.tabs_custom[data-v-fb537441] .ant-tabs-nav{margin:0}.tabs_custom[data-v-fb537441] .ant-tabs-nav .ant-tabs-nav-list{padding-left:1rem}