@pubinfo/module-rbac 2.1.10-beta.2 → 2.1.11
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.
- package/dist/ComponentSelect-A7uGTuHW.js +3498 -0
- package/dist/{DynamicRoutesForm-DP_sq_Uu.js → DynamicRoutesForm-DSzy_bh5.js} +43 -42
- package/dist/HCheckList-ODQHidN8.js +37 -0
- package/dist/HoverCard-CmJCoa2b.js +44 -0
- package/dist/{IconSelect-CiLpc63Z.js → IconSelect-DouEg3xY.js} +89 -88
- package/dist/ImportExport-DisdLoY8.js +342 -0
- package/dist/{LayoutForm-Cp4bBrYl.js → LayoutForm-Bdfs5WeK.js} +35 -34
- package/dist/{MetaForm-CVSgktB_.js → MetaForm-CcDwS8vh.js} +6128 -6143
- package/dist/{OrgAndPosition-ClASobEv.js → OrgAndPosition-jDX7m0HD.js} +61 -60
- package/dist/{ResourceEdit-w8qh1MFO.js → ResourceEdit-0BYZRye_.js} +128 -127
- package/dist/{ResourceRelation-ChEwIbWM.js → ResourceRelation-CU-QpUhP.js} +25 -25
- package/dist/{ResourceRelation-D_j898zp.js → ResourceRelation-roz0a8Td.js} +35 -34
- package/dist/{RoleRelation-DzyVn5dk.js → RoleRelation-BQQFaum0.js} +28 -27
- package/dist/{RoleSelector-Cd6_RUsc.js → RoleSelector-gkar_UGG.js} +89 -89
- package/dist/{TenantEdit-BOvXk7BZ.js → TenantEdit-BsahDUlf.js} +94 -93
- package/dist/{UserAuthorization-DLeivbs7.js → UserAuthorization-2Fl4IGw7.js} +81 -80
- package/dist/{UserEdit-YKS1FVW_.js → UserEdit-CX3Qau8T.js} +102 -101
- package/dist/{animation_item-BU-LInxP.js → animation_item-DBOz2rcX.js} +20 -22
- package/dist/{blackWhiteList-CNQltBqC.js → blackWhiteList-DbG7JH8n.js} +69 -69
- package/dist/blackWhiteList.css +1 -1
- package/dist/breadcrumb_setting-DTR6CPZQ.js +108 -0
- package/dist/{browserType-Dn_hQtAN.js → browserType-B8A1Osvk.js} +11 -10
- package/dist/chunk-DiMWNkAf.js +18 -0
- package/dist/cloneDeep-CSOSavu3.js +6 -0
- package/dist/components/GroupSelector/index.vue.d.ts +7 -1
- package/dist/components/ResourceIcones/Select.vue.d.ts +2 -1
- package/dist/components/ResourceSelector/index.vue.d.ts +7 -1
- package/dist/components/RoleSelector/RoleSearch.vue.d.ts +9 -1
- package/dist/components/RoleSelector/RoleSelector.vue.d.ts +7 -1
- package/dist/{createAndEditDataPermission-CaOBJgoV.js → createAndEditDataPermission-8_KNLzJT.js} +49 -48
- package/dist/createAndEditDataPermission.css +1 -1
- package/dist/{data-permission-ZRQ-Aoib.js → data-permission-LpuDLDm0.js} +41 -41
- package/dist/{dayjs.min-sGDSMYRj.js → dayjs.min-Cb7gQFd4.js} +1 -1
- package/dist/{dictionary-CtGgtPfc.js → dictionary-CEaxjqZe.js} +46 -46
- package/dist/drawerBlackWhiteList-DXLdWurZ.js +120 -0
- package/dist/drawerDictionary-DYJTAZr6.js +126 -0
- package/dist/drawerDictionaryItem-BChXD2-q.js +138 -0
- package/dist/{drawerGroup-DEuiiDPP.js → drawerGroup-CdnZkZxi.js} +67 -66
- package/dist/drawerOrganization-CwtSFUj0.js +247 -0
- package/dist/drawerPosition-CfyfeQCN.js +166 -0
- package/dist/drawerRegion-DAwY_29K.js +183 -0
- package/dist/drawerRole-B7uCfHk-.js +154 -0
- package/dist/{drawerRole-Dv61PBZR.js → drawerRole-DK6DrinO.js} +77 -76
- package/dist/{drawerRole-DNDyOvXw.js → drawerRole-DrzMHL0O.js} +69 -68
- package/dist/{group-BbkZjv5e.js → group-CaOhkh72.js} +48 -48
- package/dist/group.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +613 -689
- package/dist/isEmpty-BjEzPyCa.js +12 -0
- package/dist/{itemlist-By-FV6pN.js → itemlist-CFwRUV2Y.js} +44 -44
- package/dist/json-asset-03f0a035.json +1 -0
- package/dist/json-asset-0ee63e7f.json +1 -0
- package/dist/json-asset-10eef4fe.json +1 -0
- package/dist/json-asset-13f452f1.json +1 -0
- package/dist/json-asset-14b7b290.json +1 -0
- package/dist/json-asset-15b8cef1.json +1 -0
- package/dist/json-asset-15f77960.json +1 -0
- package/dist/json-asset-1ae9b726.json +1 -0
- package/dist/json-asset-1b02359f.json +1 -0
- package/dist/json-asset-1ef286cd.json +1 -0
- package/dist/json-asset-23cfd18c.json +1 -0
- package/dist/json-asset-265a0a5d.json +1 -0
- package/dist/json-asset-28d57c49.json +1 -0
- package/dist/json-asset-2b54ed10.json +1 -0
- package/dist/json-asset-2bb6f642.json +1 -0
- package/dist/json-asset-2cdc07bd.json +1 -0
- package/dist/json-asset-31c58607.json +1 -0
- package/dist/json-asset-32884f23.json +1 -0
- package/dist/json-asset-32fca43a.json +1 -0
- package/dist/json-asset-3a75445b.json +1 -0
- package/dist/json-asset-3f27d67c.json +1 -0
- package/dist/json-asset-4189453f.json +1 -0
- package/dist/json-asset-4702b37c.json +1 -0
- package/dist/json-asset-520a5c68.json +1 -0
- package/dist/json-asset-56bea508.json +1 -0
- package/dist/json-asset-57c732a3.json +1 -0
- package/dist/json-asset-5be4a28f.json +1 -0
- package/dist/json-asset-5e6d7cfa.json +1 -0
- package/dist/json-asset-64e176c9.json +1 -0
- package/dist/json-asset-6583dca6.json +1 -0
- package/dist/json-asset-66c640c6.json +1 -0
- package/dist/json-asset-68393156.json +1 -0
- package/dist/json-asset-688465aa.json +1 -0
- package/dist/json-asset-6bf334f4.json +1 -0
- package/dist/json-asset-7b4f72ce.json +1 -0
- package/dist/json-asset-837ec087.json +1 -0
- package/dist/json-asset-838ac1ba.json +1 -0
- package/dist/json-asset-8465c2cf.json +1 -0
- package/dist/json-asset-9e9f04a4.json +1 -0
- package/dist/json-asset-a13964cb.json +1 -0
- package/dist/json-asset-ab93a057.json +1 -0
- package/dist/json-asset-abe308fc.json +1 -0
- package/dist/json-asset-b24f2cd3.json +1 -0
- package/dist/json-asset-bf00eaed.json +1 -0
- package/dist/json-asset-cb22efd7.json +1 -0
- package/dist/json-asset-cb953f20.json +1 -0
- package/dist/json-asset-cc209e34.json +1 -0
- package/dist/json-asset-cfdffceb.json +1 -0
- package/dist/json-asset-d33c0299.json +1 -0
- package/dist/json-asset-d430c8ca.json +1 -0
- package/dist/json-asset-d8cfa560.json +1 -0
- package/dist/json-asset-da91beb6.json +1 -0
- package/dist/json-asset-e2bdf85c.json +1 -0
- package/dist/json-asset-e34ad826.json +1 -0
- package/dist/json-asset-e80720aa.json +1 -0
- package/dist/json-asset-e894bc92.json +1 -0
- package/dist/json-asset-f28020f2.json +1 -0
- package/dist/json-asset-f71ebbf4.json +1 -0
- package/dist/json-asset-fb1f4917.json +1 -0
- package/dist/json-asset-ff2e97c4.json +1 -0
- package/dist/{layout_setting-BUAgQ1Bk.js → layout_setting-79srmFgJ.js} +11 -11
- package/dist/layout_setting.css +1 -1
- package/dist/{log-vjU7aBPR.js → log-BYris9iT.js} +6 -6
- package/dist/{loginHistoryDetail-C7GT2yME.js → loginHistoryDetail-CZnfmbbM.js} +24 -23
- package/dist/{login_history-D08W00Qu.js → login_history-BiwaLpxA.js} +33 -33
- package/dist/login_history.css +1 -1
- package/dist/menu_setting-C2GciMXz.js +155 -0
- package/dist/not-data-Bml86wdH.js +3 -0
- package/dist/{operateHistoryDetail-BaNJRfwy.js → operateHistoryDetail-HId-EZzy.js} +27 -26
- package/dist/{operate_history-kJwIuPg2.js → operate_history-sPd9IHMV.js} +33 -33
- package/dist/operate_history.css +1 -1
- package/dist/{organization-Cmj3DUXl.js → organization-Dv3FbKke.js} +1438 -1444
- package/dist/organization.css +1 -1
- package/dist/other_setting-oVuhA70c.js +213 -0
- package/dist/other_setting.css +1 -1
- package/dist/page_animation_setting-D0CtzyOZ.js +108 -0
- package/dist/page_animation_setting.css +1 -1
- package/dist/{page_w_setting-CD_HtSUv.js → page_w_setting-Q--ct16C.js} +11 -11
- package/dist/page_w_setting.css +1 -1
- package/dist/{position-CLpbgKGj.js → position-CCZ2MSMP.js} +41 -41
- package/dist/{region-Dd9pt_Si.js → region-D3mjqB8H.js} +62 -62
- package/dist/{resource-C7dXB0EE.js → resource-DaQ7CvM_.js} +69 -69
- package/dist/{role-JGtvRObt.js → role-4UgEw3nH.js} +49 -49
- package/dist/{role_group-CKOb_m63.js → role_group-hkRlCnyl.js} +41 -41
- package/dist/{safe_setting-G_ZP-jWQ.js → safe_setting-4fv3qNRZ.js} +85 -85
- package/dist/{setItem-yKhjmUh0.js → setItem-Vkcwkj-O.js} +33 -32
- package/dist/setItem.css +1 -1
- package/dist/tabbar_setting-DhrW4Jj5.js +139 -0
- package/dist/{tenant-BBiCJkU_.js → tenant-lWfGw2u1.js} +48 -48
- package/dist/{theme_setting-vhNDLlkc.js → theme_setting-CEb7UYQO.js} +47 -47
- package/dist/theme_setting.css +1 -1
- package/dist/toolbar_setting-znESrYgi.js +140 -0
- package/dist/useAppAndResource-B7FmNfKG.js +52 -0
- package/dist/{user-DvCyUhZW.js → user-BkUpcQC8.js} +96 -96
- package/dist/{vanilla-picker-DcG96G63.js → vanilla-picker-Byb6q187.js} +239 -239
- package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +5 -1
- package/dist/views/components/setItem.vue.d.ts +5 -1
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +5 -1
- package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +5 -1
- package/dist/views/group/components/drawerGroup.vue.d.ts +5 -1
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +8 -1
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +8 -1
- package/dist/views/organization/components/drawerOrganization.vue.d.ts +5 -1
- package/dist/views/organization/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/other_setting/interface.d.ts +1 -2
- package/dist/views/position/components/drawerPosition.vue.d.ts +5 -1
- package/dist/views/region/components/drawerRegion.vue.d.ts +5 -1
- package/dist/views/resource/components/ImportExport.vue.d.ts +5 -1
- package/dist/views/resource/components/ResourceEdit.vue.d.ts +5 -1
- package/dist/views/role/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/role_group/components/drawerRole.vue.d.ts +5 -1
- package/dist/views/tenant/components/TenantEdit.vue.d.ts +5 -1
- package/dist/views/user/components/UserAuthorization.vue.d.ts +5 -1
- package/dist/views/user/components/UserEdit.vue.d.ts +5 -1
- package/dist/watermark_setting-DYirSIAn.js +191 -0
- package/dist/watermark_setting.css +1 -1
- package/package.json +13 -13
- package/src/views/other_setting/index.vue +2 -2
- package/src/views/other_setting/interface.ts +1 -1
- package/dist/ComponentSelect-D0OCk6H1.js +0 -3572
- package/dist/ComponentSelect-WO-3S5rH.js +0 -2
- package/dist/DynamicRoutesForm-DjZ3eVLW.js +0 -4
- package/dist/HCheckList-B5Qk_HBI.js +0 -2
- package/dist/HCheckList-DLBewmPw.js +0 -36
- package/dist/HoverCard-69ZIOivd.js +0 -2
- package/dist/HoverCard-BDFcxxvk.js +0 -43
- package/dist/IconSelect-C_Gj5G4I.js +0 -3
- package/dist/ImportExport-CL5uPlby.js +0 -342
- package/dist/ImportExport-CPy2rvv7.js +0 -4
- package/dist/LayoutForm-QFjwakyQ.js +0 -4
- package/dist/MetaForm-Bb-um1Zo.js +0 -4
- package/dist/OrgAndPosition-DoiGY5xb.js +0 -2
- package/dist/ResourceEdit-BTaNdwC_.js +0 -10
- package/dist/ResourceRelation-BIOzTOKA.js +0 -2
- package/dist/RoleRelation-CyTcqRfZ.js +0 -2
- package/dist/TenantEdit-BlMmL6q5.js +0 -2
- package/dist/UserAuthorization-qGr1Sdat.js +0 -3
- package/dist/UserEdit-CwfyqNWf.js +0 -3
- package/dist/animation_item-GzGItm3s.js +0 -2
- package/dist/breadcrumb_setting-Ds-XJRR1.js +0 -108
- package/dist/browserType-BXTT4j6i.js +0 -2
- package/dist/chunk-Cpsc_9al.js +0 -18
- package/dist/cloneDeep-DDAtsK42.js +0 -7
- package/dist/createAndEditDataPermission-CChlLDUm.js +0 -5
- package/dist/drawerBlackWhiteList-BqIDyn2Q.js +0 -2
- package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +0 -119
- package/dist/drawerDictionary-D911w7pC.js +0 -2
- package/dist/drawerDictionary-dMHs-6Cw.js +0 -125
- package/dist/drawerDictionaryItem-CbTa_qL-.js +0 -137
- package/dist/drawerDictionaryItem-DLUI5Yuc.js +0 -2
- package/dist/drawerGroup-CEEDMBg9.js +0 -3
- package/dist/drawerOrganization-CqEMD3gE.js +0 -246
- package/dist/drawerOrganization-mks5NMd9.js +0 -2
- package/dist/drawerPosition-Bd0s7qze.js +0 -165
- package/dist/drawerPosition-DwlTrlGA.js +0 -2
- package/dist/drawerRegion-DUbQAZuV.js +0 -182
- package/dist/drawerRegion-DwVzsZfT.js +0 -2
- package/dist/drawerRole-BNrbcSmr.js +0 -3
- package/dist/drawerRole-BxUIekjh.js +0 -3
- package/dist/drawerRole-CyA2oFht.js +0 -4
- package/dist/drawerRole-D5X7oHB_.js +0 -153
- package/dist/isEmpty-BvRqbmpu.js +0 -13
- package/dist/loginHistoryDetail-CkH5UUGU.js +0 -3
- package/dist/menu_setting-5Jet091Q.js +0 -155
- package/dist/not-data-Cx--tk_h.js +0 -2
- package/dist/not-data-tyTawN37.js +0 -2
- package/dist/operateHistoryDetail-CeVPJzD6.js +0 -3
- package/dist/other_setting-DQ70WnZK.js +0 -213
- package/dist/page_animation_setting-Lp6cMuFM.js +0 -108
- package/dist/routeSystem-DXMoWhFo.js +0 -2
- package/dist/setItem-Qa7UapHO.js +0 -4
- package/dist/tabbar_setting-B3kMhRNm.js +0 -139
- package/dist/toolbar_setting-DNBdxeGP.js +0 -140
- package/dist/useAppAndResource-CPL2VpOJ.js +0 -52
- package/dist/watermark_setting-CXp4Og0Y.js +0 -191
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { At as deleteGroupDeleteById, Mt as postGroupFindPage, h as _plugin_vue_export_helper_default } from "./index.js";
|
|
2
2
|
import { t as ACTION } from "./enum-Cr7uWnB2.js";
|
|
3
|
-
import { t as drawerGroup_default } from "./drawerGroup-
|
|
3
|
+
import { t as drawerGroup_default } from "./drawerGroup-CdnZkZxi.js";
|
|
4
4
|
import { PubinfoIcon } from "pubinfo";
|
|
5
5
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, ref, resolveDirective, toDisplayString, unref, withCtx, withDirectives } from "vue";
|
|
6
6
|
import { PlusCircleOutlined } from "@ant-design/icons-vue";
|
|
@@ -21,25 +21,25 @@ import './group.css';var _hoisted_1 = {
|
|
|
21
21
|
}, _hoisted_3 = { style: { height: "calc(100% - 48px)" } }, _hoisted_4 = ["onClick"], _hoisted_5 = { class: "ml-4px" }, _hoisted_6 = ["onClick"], _hoisted_7 = { class: "ml-4px" }, group_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
22
22
|
name: "GroupManage",
|
|
23
23
|
__name: "index",
|
|
24
|
-
setup(
|
|
25
|
-
let
|
|
26
|
-
function
|
|
27
|
-
|
|
24
|
+
setup(n) {
|
|
25
|
+
let o = ref({ type: "1" }), u = ref([]), d = ref(), f = ref();
|
|
26
|
+
function p() {
|
|
27
|
+
d.value?.reload();
|
|
28
28
|
}
|
|
29
|
-
async function
|
|
30
|
-
let { current:
|
|
31
|
-
currentPage:
|
|
32
|
-
pageSize:
|
|
33
|
-
...
|
|
34
|
-
type:
|
|
29
|
+
async function m(e) {
|
|
30
|
+
let { current: n, pageSize: r, ...i } = e, a = await postGroupFindPage({
|
|
31
|
+
currentPage: n,
|
|
32
|
+
pageSize: r,
|
|
33
|
+
...i,
|
|
34
|
+
type: o.value.type
|
|
35
35
|
});
|
|
36
36
|
return {
|
|
37
37
|
success: !0,
|
|
38
|
-
data:
|
|
39
|
-
total:
|
|
38
|
+
data: a.data?.records ?? [],
|
|
39
|
+
total: a.data?.total
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
let
|
|
42
|
+
let h = [
|
|
43
43
|
{
|
|
44
44
|
valueType: "a-input",
|
|
45
45
|
bind: "value",
|
|
@@ -64,7 +64,7 @@ import './group.css';var _hoisted_1 = {
|
|
|
64
64
|
minWidth: 100,
|
|
65
65
|
title: "群组使用范围",
|
|
66
66
|
dataIndex: "viewScope",
|
|
67
|
-
customRender: ({ text:
|
|
67
|
+
customRender: ({ text: e }) => e === "1" ? "本部门" : e === "2" ? "本部门及子部门" : "全部"
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
hideInSearch: !0,
|
|
@@ -87,84 +87,84 @@ import './group.css';var _hoisted_1 = {
|
|
|
87
87
|
fixed: "right"
|
|
88
88
|
}
|
|
89
89
|
];
|
|
90
|
-
function
|
|
91
|
-
|
|
90
|
+
function g() {
|
|
91
|
+
d.value?.reload();
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
switch (
|
|
93
|
+
function _(t, n, i) {
|
|
94
|
+
switch (t) {
|
|
95
95
|
case ACTION.EDIT:
|
|
96
|
-
|
|
96
|
+
f.value?.open(t, n, i);
|
|
97
97
|
break;
|
|
98
98
|
case ACTION.ADD:
|
|
99
|
-
|
|
99
|
+
f.value?.open(t, n);
|
|
100
100
|
break;
|
|
101
101
|
case ACTION.REMOVE:
|
|
102
102
|
Modal.confirm({
|
|
103
103
|
title: "删除",
|
|
104
104
|
content: "确定要删除该群组吗?",
|
|
105
105
|
onOk() {
|
|
106
|
-
deleteGroupDeleteById({ id:
|
|
107
|
-
|
|
106
|
+
deleteGroupDeleteById({ id: i?.id }).then(({ success: e }) => {
|
|
107
|
+
e && (message.success("删除成功"), p());
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
111
|
break;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
return (
|
|
115
|
-
let
|
|
116
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(
|
|
117
|
-
"active-key": unref(
|
|
118
|
-
"onUpdate:activeKey":
|
|
114
|
+
return (e, t) => {
|
|
115
|
+
let n = TabPane, s = Tabs, c = PlusCircleOutlined, l = Button, v = PubinfoIcon, y = Space$1, b = resolveDirective("auth");
|
|
116
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [createVNode(s, {
|
|
117
|
+
"active-key": unref(o).type,
|
|
118
|
+
"onUpdate:activeKey": t[0] ||= (e) => unref(o).type = e,
|
|
119
119
|
class: "tabs_custom",
|
|
120
|
-
onChange:
|
|
120
|
+
onChange: g
|
|
121
121
|
}, {
|
|
122
|
-
default: withCtx(() => [createVNode(
|
|
122
|
+
default: withCtx(() => [createVNode(n, {
|
|
123
123
|
key: "1",
|
|
124
124
|
tab: "组织群组"
|
|
125
|
-
}), createVNode(
|
|
125
|
+
}), createVNode(n, {
|
|
126
126
|
key: "2",
|
|
127
127
|
tab: "人员群组"
|
|
128
128
|
})]),
|
|
129
129
|
_: 1
|
|
130
130
|
}, 8, ["active-key"]), createElementVNode("div", _hoisted_3, [createVNode(unref(ProTable), {
|
|
131
131
|
ref_key: "tableRef",
|
|
132
|
-
ref:
|
|
132
|
+
ref: d,
|
|
133
133
|
"row-key": "id",
|
|
134
|
-
request:
|
|
135
|
-
columns:
|
|
136
|
-
"data-source": unref(
|
|
134
|
+
request: m,
|
|
135
|
+
columns: h,
|
|
136
|
+
"data-source": unref(u),
|
|
137
137
|
"auto-height": "",
|
|
138
138
|
scroll: { x: 1100 }
|
|
139
139
|
}, {
|
|
140
|
-
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(
|
|
140
|
+
toolbar: withCtx(() => [withDirectives((openBlock(), createBlock(l, {
|
|
141
141
|
type: "primary",
|
|
142
|
-
onClick:
|
|
142
|
+
onClick: t[1] ||= (e) => _(unref(ACTION).ADD, unref(o).type)
|
|
143
143
|
}, {
|
|
144
|
-
default: withCtx(() => [createVNode(
|
|
144
|
+
default: withCtx(() => [createVNode(c), createTextVNode(" " + toDisplayString(unref(ACTION).ADD), 1)]),
|
|
145
145
|
_: 1
|
|
146
|
-
})), [[
|
|
147
|
-
bodyCell: withCtx(({ column:
|
|
146
|
+
})), [[b, "group_save"]])]),
|
|
147
|
+
bodyCell: withCtx(({ column: e, record: t }) => [e.dataIndex === "action" ? (openBlock(), createBlock(y, { key: 0 }, {
|
|
148
148
|
default: withCtx(() => [withDirectives((openBlock(), createElementBlock("a", {
|
|
149
149
|
class: "flex items-center",
|
|
150
|
-
onClick: (
|
|
151
|
-
}, [createVNode(
|
|
150
|
+
onClick: (e) => _(unref(ACTION).EDIT, unref(o).type, t)
|
|
151
|
+
}, [createVNode(v, {
|
|
152
152
|
name: "edit",
|
|
153
153
|
class: "text-base"
|
|
154
|
-
}), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[
|
|
154
|
+
}), createElementVNode("span", _hoisted_5, toDisplayString(unref(ACTION).EDIT), 1)], 8, _hoisted_4)), [[b, "group_edit"]]), withDirectives((openBlock(), createElementBlock("span", {
|
|
155
155
|
class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
|
|
156
|
-
onClick: (
|
|
157
|
-
}, [createVNode(
|
|
156
|
+
onClick: (e) => _(unref(ACTION).REMOVE, unref(o).type, t)
|
|
157
|
+
}, [createVNode(v, {
|
|
158
158
|
name: "remove",
|
|
159
159
|
class: "text-base"
|
|
160
|
-
}), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_6)), [[
|
|
160
|
+
}), createElementVNode("span", _hoisted_7, toDisplayString(unref(ACTION).REMOVE), 1)], 8, _hoisted_6)), [[b, "group_delete"]])]),
|
|
161
161
|
_: 2
|
|
162
162
|
}, 1024)) : createCommentVNode("", !0)]),
|
|
163
163
|
_: 1
|
|
164
164
|
}, 8, ["data-source"])])]), createVNode(drawerGroup_default, {
|
|
165
165
|
ref_key: "drawerGroupRef",
|
|
166
|
-
ref:
|
|
167
|
-
onSubmit:
|
|
166
|
+
ref: f,
|
|
167
|
+
onSubmit: t[2] ||= (e) => p()
|
|
168
168
|
}, null, 512)]);
|
|
169
169
|
};
|
|
170
170
|
}
|
package/dist/group.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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}
|
|
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}
|