@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,3 +1,4 @@
|
|
|
1
|
+
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
1
2
|
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
2
3
|
import { r as RESOURCE_TYPE } from "./enum-3E_sUqRF.js";
|
|
3
4
|
import { PubinfoIcon, getAllIconModules } from "pubinfo";
|
|
@@ -72,25 +73,25 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
72
73
|
function l(e) {
|
|
73
74
|
return Math.min(100, Math.max(0, e));
|
|
74
75
|
}
|
|
75
|
-
let
|
|
76
|
+
let u = a(n.background), p = ref(u.from), h = ref(u.to), g = ref(i(n.angle)), _ = ref(o(n.radius)), v = ref(s(n.iconSize)), y = ref(null), b = ref(null);
|
|
76
77
|
function x() {
|
|
77
78
|
if (n.disabled) return;
|
|
78
79
|
let e = y.value;
|
|
79
80
|
e && (e.style.width = "16px", e.style.height = "16px", e.click());
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function C() {
|
|
82
83
|
if (n.disabled) return;
|
|
83
84
|
let e = b.value;
|
|
84
85
|
e && (e.style.width = "16px", e.style.height = "16px", e.click());
|
|
85
86
|
}
|
|
86
87
|
return watch([
|
|
87
|
-
|
|
88
|
+
p,
|
|
88
89
|
h,
|
|
89
90
|
g,
|
|
90
91
|
_
|
|
91
92
|
], () => {
|
|
92
93
|
r("update:background", {
|
|
93
|
-
from:
|
|
94
|
+
from: p.value,
|
|
94
95
|
to: h.value
|
|
95
96
|
}), r("update:angle", g.value), r("update:radius", `${_.value}%`);
|
|
96
97
|
}, { immediate: !0 }), watch(v, () => {
|
|
@@ -98,7 +99,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
98
99
|
}, { immediate: !0 }), watch(() => n.background, (e) => {
|
|
99
100
|
if (e == null) return;
|
|
100
101
|
let t = a(e);
|
|
101
|
-
|
|
102
|
+
p.value = t.from, h.value = t.to;
|
|
102
103
|
}), watch(() => n.angle, (e) => {
|
|
103
104
|
e != null && (g.value = i(e));
|
|
104
105
|
}), watch(() => n.radius, (e) => {
|
|
@@ -109,8 +110,8 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
109
110
|
let r = Input$1, i = InputNumber;
|
|
110
111
|
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
111
112
|
createElementVNode("div", _hoisted_2$2, [t[7] ||= createElementVNode("label", { class: "text-12px opacity-70 w-14 shrink-0" }, "起始色", -1), createVNode(r, {
|
|
112
|
-
value:
|
|
113
|
-
"onUpdate:value": t[1] ||= (e) =>
|
|
113
|
+
value: p.value,
|
|
114
|
+
"onUpdate:value": t[1] ||= (e) => p.value = e,
|
|
114
115
|
disabled: n.disabled,
|
|
115
116
|
placeholder: "#65E54A",
|
|
116
117
|
size: "small",
|
|
@@ -120,20 +121,20 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
120
121
|
type: "button",
|
|
121
122
|
disabled: n.disabled,
|
|
122
123
|
class: normalizeClass(["w-4 h-4 rounded border border-gray-300 dark:border-gray-700", n.disabled ? "opacity-50 cursor-not-allowed" : ""]),
|
|
123
|
-
style: normalizeStyle({ background:
|
|
124
|
+
style: normalizeStyle({ background: p.value }),
|
|
124
125
|
onClick: x
|
|
125
126
|
}, null, 14, _hoisted_4$1), createElementVNode("input", {
|
|
126
127
|
ref_key: "fromColorPickerRef",
|
|
127
128
|
ref: y,
|
|
128
129
|
type: "color",
|
|
129
|
-
value:
|
|
130
|
+
value: p.value,
|
|
130
131
|
disabled: n.disabled,
|
|
131
132
|
class: "absolute left-0 top-0 opacity-0 pointer-events-none",
|
|
132
133
|
style: {
|
|
133
134
|
width: "16px",
|
|
134
135
|
height: "16px"
|
|
135
136
|
},
|
|
136
|
-
onInput: t[0] ||= (e) =>
|
|
137
|
+
onInput: t[0] ||= (e) => p.value = e.target.value
|
|
137
138
|
}, null, 40, _hoisted_5$1)])]),
|
|
138
139
|
_: 1
|
|
139
140
|
}, 8, ["value", "disabled"])]),
|
|
@@ -150,7 +151,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
150
151
|
disabled: n.disabled,
|
|
151
152
|
class: normalizeClass(["w-4 h-4 rounded border border-gray-300 dark:border-gray-700", n.disabled ? "opacity-50 cursor-not-allowed" : ""]),
|
|
152
153
|
style: normalizeStyle({ background: h.value }),
|
|
153
|
-
onClick:
|
|
154
|
+
onClick: C
|
|
154
155
|
}, null, 14, _hoisted_8$1), createElementVNode("input", {
|
|
155
156
|
ref_key: "toColorPickerRef",
|
|
156
157
|
ref: b,
|
|
@@ -255,24 +256,24 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
255
256
|
"update:iconSize"
|
|
256
257
|
],
|
|
257
258
|
setup(e) {
|
|
258
|
-
let t = shallowRef([]),
|
|
259
|
-
async function
|
|
260
|
-
if (!(t.value.length > 0 ||
|
|
261
|
-
|
|
259
|
+
let t = shallowRef([]), n = ref(!1);
|
|
260
|
+
async function u() {
|
|
261
|
+
if (!(t.value.length > 0 || n.value)) {
|
|
262
|
+
n.value = !0;
|
|
262
263
|
try {
|
|
263
264
|
let e = await import("@ant-design/icons-vue");
|
|
264
265
|
t.value = Object.keys(e).filter((e) => /(?:Outlined|Filled|TwoTone)$/.test(e)).map((e) => `antd:${e}`).sort();
|
|
265
266
|
} finally {
|
|
266
|
-
|
|
267
|
+
n.value = !1;
|
|
267
268
|
}
|
|
268
269
|
}
|
|
269
270
|
}
|
|
270
|
-
let
|
|
271
|
+
let p = useModel(e, "modelValue"), _ = useModel(e, "boxType"), w = useModel(e, "angle"), T = useModel(e, "background"), E = useModel(e, "radius"), D = useModel(e, "iconColor"), O = useModel(e, "iconSize"), k = ref(p.value), A = ref(_.value || "null"), j = ref(w.value ?? 65), M = ref(T.value ?? {
|
|
271
272
|
from: "#65E54A",
|
|
272
273
|
to: "#35C724"
|
|
273
274
|
}), N = ref(E.value ?? "50%"), P = ref(O.value ?? "50%"), F = ref(D.value ?? ""), I = ref(null), L = ref(!1);
|
|
274
275
|
function R() {
|
|
275
|
-
|
|
276
|
+
u(), k.value = p.value, A.value = _.value || "null", j.value = w.value ?? 65;
|
|
276
277
|
let e = T.value;
|
|
277
278
|
M.value = typeof e == "string" ? e : e ? { ...e } : {
|
|
278
279
|
from: "#65E54A",
|
|
@@ -283,7 +284,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
283
284
|
L.value = !1;
|
|
284
285
|
}
|
|
285
286
|
function B() {
|
|
286
|
-
|
|
287
|
+
p.value = k.value, _.value = A.value, w.value = j.value;
|
|
287
288
|
let e = M.value;
|
|
288
289
|
T.value = typeof e == "string" ? e : e && { ...e }, E.value = N.value, O.value = P.value, D.value = F.value, L.value = !1;
|
|
289
290
|
}
|
|
@@ -336,26 +337,26 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
336
337
|
let e = K.value.trim().toLowerCase();
|
|
337
338
|
return e ? J.value.filter((t) => t.name.toLowerCase().includes(e)) : J.value;
|
|
338
339
|
});
|
|
339
|
-
function
|
|
340
|
+
function X(e) {
|
|
340
341
|
return e === "all" ? q.value.length : e === "antd" ? q.value.filter((e) => e.module === "antd").length : q.value.filter((t) => t.module === e).length;
|
|
341
342
|
}
|
|
342
|
-
let
|
|
343
|
-
let e = (
|
|
343
|
+
let Z = ref(1), Q = computed(() => Math.max(1, Math.ceil(Y.value.length / pageSize))), ee = computed(() => {
|
|
344
|
+
let e = (Z.value - 1) * pageSize;
|
|
344
345
|
return Y.value.slice(e, e + pageSize);
|
|
345
346
|
});
|
|
346
347
|
watch([K, G], () => {
|
|
347
|
-
|
|
348
|
+
Z.value = 1;
|
|
348
349
|
}), watch(Y, () => {
|
|
349
|
-
|
|
350
|
+
Z.value > Q.value && (Z.value = Q.value);
|
|
350
351
|
});
|
|
351
|
-
function
|
|
352
|
-
|
|
352
|
+
function te(e) {
|
|
353
|
+
Z.value = e;
|
|
353
354
|
}
|
|
354
|
-
function
|
|
355
|
+
function ne(e) {
|
|
355
356
|
k.value = e.name;
|
|
356
357
|
}
|
|
357
|
-
let
|
|
358
|
-
function
|
|
358
|
+
let re = Empty.PRESENTED_IMAGE_SIMPLE;
|
|
359
|
+
function ie() {
|
|
359
360
|
if (!(k.value || "").startsWith("antd:")) return;
|
|
360
361
|
let e = I.value;
|
|
361
362
|
e && (e.style.width = "16px", e.style.height = "16px", e.click());
|
|
@@ -364,28 +365,28 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
364
365
|
return watch(A, (e, t) => {
|
|
365
366
|
t === "null" && e !== "null" && !F.value && (F.value = "#ffffff");
|
|
366
367
|
}), (e, t) => {
|
|
367
|
-
let
|
|
368
|
-
return openBlock(), createElementBlock(Fragment, null, [renderSlot(e.$slots, "default", { open: R }, () => [createVNode(
|
|
369
|
-
value:
|
|
368
|
+
let n = Tooltip$1, i = Input$1, o = Pagination$1, u = Empty$1, m = RadioButton, _ = RadioGroup, v = Button, x = Modal$1, S = FormItemRest;
|
|
369
|
+
return openBlock(), createElementBlock(Fragment, null, [renderSlot(e.$slots, "default", { open: R }, () => [createVNode(i, {
|
|
370
|
+
value: p.value,
|
|
370
371
|
readonly: "",
|
|
371
372
|
onClick: R
|
|
372
373
|
}, {
|
|
373
|
-
addonAfter: withCtx(() => [createVNode(
|
|
374
|
+
addonAfter: withCtx(() => [createVNode(n, null, {
|
|
374
375
|
title: withCtx(() => [createVNode(unref(PubinfoIcon), {
|
|
375
|
-
name:
|
|
376
|
+
name: p.value || "",
|
|
376
377
|
size: "40px",
|
|
377
378
|
class: "cursor-default"
|
|
378
379
|
}, null, 8, ["name"])]),
|
|
379
380
|
default: withCtx(() => [createVNode(unref(PubinfoIcon), {
|
|
380
|
-
name:
|
|
381
|
+
name: p.value || "",
|
|
381
382
|
size: "20px",
|
|
382
383
|
class: "cursor-default"
|
|
383
384
|
}, null, 8, ["name"])]),
|
|
384
385
|
_: 1
|
|
385
386
|
})]),
|
|
386
387
|
_: 1
|
|
387
|
-
}, 8, ["value"])], !0), createVNode(
|
|
388
|
-
default: withCtx(() => [createVNode(
|
|
388
|
+
}, 8, ["value"])], !0), createVNode(S, null, {
|
|
389
|
+
default: withCtx(() => [createVNode(x, {
|
|
389
390
|
open: L.value,
|
|
390
391
|
"onUpdate:open": t[8] ||= (e) => L.value = e,
|
|
391
392
|
title: "选择图标",
|
|
@@ -395,7 +396,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
395
396
|
onCancel: z
|
|
396
397
|
}, {
|
|
397
398
|
default: withCtx(() => [createElementVNode("div", _hoisted_1$1, [
|
|
398
|
-
createElementVNode("div", _hoisted_2$1, [createElementVNode("div", _hoisted_3$1, [createVNode(
|
|
399
|
+
createElementVNode("div", _hoisted_2$1, [createElementVNode("div", _hoisted_3$1, [createVNode(i, {
|
|
399
400
|
value: K.value,
|
|
400
401
|
"onUpdate:value": t[0] ||= (e) => K.value = e,
|
|
401
402
|
"allow-clear": "",
|
|
@@ -413,29 +414,29 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
413
414
|
key: e.value,
|
|
414
415
|
class: normalizeClass(["flex items-center justify-between px-3 py-2 rounded-md cursor-pointer text-13px border border-transparent hover:bg-[#f3f6fa] dark:hover:bg-[#262c33] transition", G.value === e.value ? "bg-[#eef5ff] dark:bg-[#1e2a33] border-[#1677ff] text-[#1677ff] font-medium" : "text-[#4b5563]"]),
|
|
415
416
|
onClick: (t) => G.value = e.value
|
|
416
|
-
}, [createElementVNode("span", _hoisted_6, toDisplayString(e.label), 1), createElementVNode("span", _hoisted_7, toDisplayString(
|
|
417
|
-
createElementVNode("div", _hoisted_8, [Y.value.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", _hoisted_9, [(openBlock(!0), createElementBlock(Fragment, null, renderList(
|
|
417
|
+
}, [createElementVNode("span", _hoisted_6, toDisplayString(e.label), 1), createElementVNode("span", _hoisted_7, toDisplayString(X(e.value)), 1)], 10, _hoisted_5))), 128))])]),
|
|
418
|
+
createElementVNode("div", _hoisted_8, [Y.value.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createElementVNode("div", _hoisted_9, [(openBlock(!0), createElementBlock(Fragment, null, renderList(ee.value, (e) => (openBlock(), createBlock(n, {
|
|
418
419
|
key: `${e.module || ""}:${e.name}`,
|
|
419
420
|
"mouse-enter-delay": .35
|
|
420
421
|
}, {
|
|
421
422
|
title: withCtx(() => [createElementVNode("div", _hoisted_10, [createElementVNode("div", _hoisted_11, toDisplayString(e.name), 1), e.module ? (openBlock(), createElementBlock("div", _hoisted_12, " 模块: " + toDisplayString(e.module), 1)) : createCommentVNode("", !0)])]),
|
|
422
423
|
default: withCtx(() => [createElementVNode("div", {
|
|
423
424
|
class: normalizeClass(["group relative flex flex-col items-center justify-center cursor-pointer rounded-md border", k.value === e.name ? "border-solid border-[#1677ff]" : "border-dashed border-[#e5e7eb] dark:border-[#30363d]"]),
|
|
424
|
-
onClick: (t) =>
|
|
425
|
+
onClick: (t) => ne(e)
|
|
425
426
|
}, [createVNode(unref(PubinfoIcon), {
|
|
426
427
|
name: e.name,
|
|
427
428
|
size: "30px"
|
|
428
429
|
}, null, 8, ["name"])], 10, _hoisted_13)]),
|
|
429
430
|
_: 2
|
|
430
|
-
}, 1024))), 128))]), createElementVNode("div", _hoisted_14, [createVNode(
|
|
431
|
-
current:
|
|
431
|
+
}, 1024))), 128))]), createElementVNode("div", _hoisted_14, [createVNode(o, {
|
|
432
|
+
current: Z.value,
|
|
432
433
|
"page-size": pageSize,
|
|
433
434
|
total: Y.value.length,
|
|
434
435
|
"show-size-changer": !1,
|
|
435
436
|
"show-quick-jumper": "",
|
|
436
|
-
onChange:
|
|
437
|
-
}, null, 8, ["current", "total"])])], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, [createVNode(
|
|
438
|
-
image: unref(
|
|
437
|
+
onChange: te
|
|
438
|
+
}, null, 8, ["current", "total"])])], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, [createVNode(u, {
|
|
439
|
+
image: unref(re),
|
|
439
440
|
description: "没有匹配的图标"
|
|
440
441
|
}, null, 8, ["image"])]))]),
|
|
441
442
|
k.value ? (openBlock(), createElementBlock("div", _hoisted_16, [createElementVNode("div", _hoisted_17, [
|
|
@@ -445,14 +446,14 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
445
446
|
class: "flex justify-center items-center"
|
|
446
447
|
}, {
|
|
447
448
|
default: withCtx(() => [
|
|
448
|
-
createVNode(
|
|
449
|
+
createVNode(m, { value: "null" }, {
|
|
449
450
|
default: withCtx(() => [createElementVNode("div", _hoisted_19, [createVNode(unref(PubinfoIcon), {
|
|
450
451
|
name: k.value,
|
|
451
452
|
size: previewBoxOuter - previewBoxPadding * 2
|
|
452
453
|
}, null, 8, ["name", "size"])])]),
|
|
453
454
|
_: 1
|
|
454
455
|
}),
|
|
455
|
-
createVNode(
|
|
456
|
+
createVNode(m, { value: "square" }, {
|
|
456
457
|
default: withCtx(() => [createElementVNode("div", _hoisted_20, [createVNode(unref(PubinfoIcon), {
|
|
457
458
|
name: k.value,
|
|
458
459
|
box: "square",
|
|
@@ -462,7 +463,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
462
463
|
}, null, 8, ["name"])])]),
|
|
463
464
|
_: 1
|
|
464
465
|
}),
|
|
465
|
-
createVNode(
|
|
466
|
+
createVNode(m, { value: "prism" }, {
|
|
466
467
|
default: withCtx(() => [createElementVNode("div", _hoisted_21, [createVNode(unref(PubinfoIcon), {
|
|
467
468
|
name: k.value,
|
|
468
469
|
box: "prism",
|
|
@@ -493,7 +494,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
493
494
|
"icon-size",
|
|
494
495
|
"disabled"
|
|
495
496
|
])]),
|
|
496
|
-
createElementVNode("div", _hoisted_24, [createElementVNode("div", _hoisted_25, [createElementVNode("label", _hoisted_26, [t[11] ||= createTextVNode(" 图标色 ", -1), createVNode(
|
|
497
|
+
createElementVNode("div", _hoisted_24, [createElementVNode("div", _hoisted_25, [createElementVNode("label", _hoisted_26, [t[11] ||= createTextVNode(" 图标色 ", -1), createVNode(n, null, {
|
|
497
498
|
title: withCtx(() => [...t[10] ||= [createTextVNode(" 仅 Ant Design 图标有效 ", -1)]]),
|
|
498
499
|
default: withCtx(() => [createVNode(unref(PubinfoIcon), {
|
|
499
500
|
name: "i-carbon-information",
|
|
@@ -501,7 +502,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
501
502
|
class: "ml-1 cursor-help"
|
|
502
503
|
})]),
|
|
503
504
|
_: 1
|
|
504
|
-
})]), createElementVNode("div", _hoisted_27, [createVNode(
|
|
505
|
+
})]), createElementVNode("div", _hoisted_27, [createVNode(i, {
|
|
505
506
|
value: F.value,
|
|
506
507
|
"onUpdate:value": t[7] ||= (e) => F.value = e,
|
|
507
508
|
"allow-clear": "",
|
|
@@ -515,7 +516,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
515
516
|
disabled: !$.value,
|
|
516
517
|
class: normalizeClass(["w-4 h-4 rounded border border-gray-300 dark:border-gray-700", $.value ? "" : "opacity-50 cursor-not-allowed"]),
|
|
517
518
|
style: normalizeStyle({ background: F.value || "#ffffff" }),
|
|
518
|
-
onClick:
|
|
519
|
+
onClick: ie
|
|
519
520
|
}, null, 14, _hoisted_29), createElementVNode("input", {
|
|
520
521
|
ref_key: "iconColorPickerRef",
|
|
521
522
|
ref: I,
|
|
@@ -560,10 +561,10 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
560
561
|
"color"
|
|
561
562
|
]))])) : createCommentVNode("", !0)])])
|
|
562
563
|
]),
|
|
563
|
-
createElementVNode("div", _hoisted_34, [createVNode(
|
|
564
|
+
createElementVNode("div", _hoisted_34, [createVNode(v, { onClick: z }, {
|
|
564
565
|
default: withCtx(() => [...t[12] ||= [createTextVNode(" 取消 ", -1)]]),
|
|
565
566
|
_: 1
|
|
566
|
-
}), createVNode(
|
|
567
|
+
}), createVNode(v, {
|
|
567
568
|
type: "primary",
|
|
568
569
|
onClick: B
|
|
569
570
|
}, {
|
|
@@ -578,7 +579,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
578
579
|
})], 64);
|
|
579
580
|
};
|
|
580
581
|
}
|
|
581
|
-
}), [["__scopeId", "data-v-21a5fc0d"]]), _hoisted_1 = ["onClick"], _hoisted_2 = ["onClick"], _hoisted_3 = { class: "flex flex-col items-center justify-center" },
|
|
582
|
+
}), [["__scopeId", "data-v-21a5fc0d"]]), _hoisted_1 = ["onClick"], _hoisted_2 = ["onClick"], _hoisted_3 = { class: "flex flex-col items-center justify-center" }, IconSelect_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
582
583
|
name: "ResourceIconSelect",
|
|
583
584
|
__name: "IconSelect",
|
|
584
585
|
props: {
|
|
@@ -590,7 +591,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
590
591
|
},
|
|
591
592
|
emits: ["update:modelValue"],
|
|
592
593
|
setup(e) {
|
|
593
|
-
let
|
|
594
|
+
let t = useModel(e, "modelValue");
|
|
594
595
|
function i() {
|
|
595
596
|
return {
|
|
596
597
|
boxType: "null",
|
|
@@ -604,27 +605,27 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
604
605
|
iconSize: "50%"
|
|
605
606
|
};
|
|
606
607
|
}
|
|
607
|
-
let
|
|
608
|
-
watch(() =>
|
|
608
|
+
let a = computed(() => t.value.meta || (t.value.meta = {})), l = reactive(i());
|
|
609
|
+
watch(() => a.value.iconOptions, (e) => {
|
|
609
610
|
e ? Object.assign(l, i(), e) : Object.assign(l, i());
|
|
610
611
|
}, { immediate: !0 }), watch(l, (e) => {
|
|
611
|
-
if (!
|
|
612
|
-
|
|
612
|
+
if (!t.value.icon) {
|
|
613
|
+
a.value.iconOptions && Reflect.deleteProperty(a.value, "iconOptions");
|
|
613
614
|
return;
|
|
614
615
|
}
|
|
615
|
-
let
|
|
616
|
-
if (!
|
|
616
|
+
let n = a.value.iconOptions, r = !1;
|
|
617
|
+
if (!n) r = !0;
|
|
617
618
|
else {
|
|
618
|
-
let
|
|
619
|
-
for (let i of
|
|
620
|
-
|
|
619
|
+
let t = new Set([...Object.keys(n), ...Object.keys(e)]);
|
|
620
|
+
for (let i of t) if (n[i] !== e[i]) {
|
|
621
|
+
r = !0;
|
|
621
622
|
break;
|
|
622
623
|
}
|
|
623
624
|
}
|
|
624
|
-
|
|
625
|
+
r && (a.value.iconOptions = { ...e });
|
|
625
626
|
}, { deep: !0 });
|
|
626
627
|
let u = computed(() => {
|
|
627
|
-
let e =
|
|
628
|
+
let e = t.value.type;
|
|
628
629
|
return { icon: [
|
|
629
630
|
RESOURCE_TYPE.DYNAMIC_APP,
|
|
630
631
|
RESOURCE_TYPE.INDEX,
|
|
@@ -633,45 +634,45 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
633
634
|
RESOURCE_TYPE.LINK
|
|
634
635
|
].includes(e) };
|
|
635
636
|
}), d = computed(() => !0);
|
|
636
|
-
function
|
|
637
|
-
e.stopPropagation(),
|
|
637
|
+
function f(e) {
|
|
638
|
+
e.stopPropagation(), t.value.icon && (t.value.icon = void 0, Reflect.deleteProperty(a.value, "iconOptions"));
|
|
638
639
|
}
|
|
639
|
-
return (e,
|
|
640
|
+
return (e, n) => {
|
|
640
641
|
let i = FormItem;
|
|
641
642
|
return unref(d) && unref(u).icon ? (openBlock(), createBlock(i, {
|
|
642
643
|
key: 0,
|
|
643
644
|
label: "资源图标"
|
|
644
645
|
}, {
|
|
645
646
|
default: withCtx(() => [createVNode(Select_default, {
|
|
646
|
-
modelValue:
|
|
647
|
-
"onUpdate:modelValue":
|
|
647
|
+
modelValue: t.value.icon,
|
|
648
|
+
"onUpdate:modelValue": n[0] ||= (e) => t.value.icon = e,
|
|
648
649
|
"box-type": unref(l).boxType,
|
|
649
|
-
"onUpdate:boxType":
|
|
650
|
+
"onUpdate:boxType": n[1] ||= (e) => unref(l).boxType = e,
|
|
650
651
|
angle: unref(l).angle,
|
|
651
|
-
"onUpdate:angle":
|
|
652
|
+
"onUpdate:angle": n[2] ||= (e) => unref(l).angle = e,
|
|
652
653
|
background: unref(l).background,
|
|
653
|
-
"onUpdate:background":
|
|
654
|
+
"onUpdate:background": n[3] ||= (e) => unref(l).background = e,
|
|
654
655
|
radius: unref(l).radius,
|
|
655
|
-
"onUpdate:radius":
|
|
656
|
+
"onUpdate:radius": n[4] ||= (e) => unref(l).radius = e,
|
|
656
657
|
"icon-color": unref(l).iconColor,
|
|
657
|
-
"onUpdate:iconColor":
|
|
658
|
+
"onUpdate:iconColor": n[5] ||= (e) => unref(l).iconColor = e,
|
|
658
659
|
"icon-size": unref(l).iconSize,
|
|
659
|
-
"onUpdate:iconSize":
|
|
660
|
+
"onUpdate:iconSize": n[6] ||= (e) => unref(l).iconSize = e
|
|
660
661
|
}, {
|
|
661
|
-
default: withCtx(({ open: e }) => [
|
|
662
|
+
default: withCtx(({ open: e }) => [t.value.icon ? (openBlock(), createElementBlock("div", {
|
|
662
663
|
key: 0,
|
|
663
664
|
class: "size-64px flex justify-center items-center cursor-pointer rounded-md border-px border-dashed relative group border-[#d9d9d9] dark:border-[#424242] hover:border-[#5794f7] dark:hover:border-[#5187e1] p-8px",
|
|
664
665
|
onClick: e
|
|
665
666
|
}, [unref(l).boxType && unref(l).boxType !== "null" ? (openBlock(), createBlock(unref(PubinfoIcon), {
|
|
666
667
|
key: 0,
|
|
667
|
-
name:
|
|
668
|
+
name: t.value.icon,
|
|
668
669
|
box: unref(l).boxType,
|
|
669
670
|
size: "48px",
|
|
670
671
|
radius: unref(l).radius,
|
|
671
672
|
background: unref(l).background,
|
|
672
673
|
angle: unref(l).angle,
|
|
673
674
|
"icon-size": unref(l).iconSize,
|
|
674
|
-
color: (
|
|
675
|
+
color: (t.value.icon || "").startsWith("antd:") ? unref(l).iconColor || "#ffffff" : void 0
|
|
675
676
|
}, null, 8, [
|
|
676
677
|
"name",
|
|
677
678
|
"box",
|
|
@@ -682,14 +683,14 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
682
683
|
"color"
|
|
683
684
|
])) : (openBlock(), createBlock(unref(PubinfoIcon), {
|
|
684
685
|
key: 1,
|
|
685
|
-
name:
|
|
686
|
+
name: t.value.icon,
|
|
686
687
|
size: "48px",
|
|
687
|
-
color: (
|
|
688
|
-
}, null, 8, ["name", "color"])),
|
|
688
|
+
color: (t.value.icon || "").startsWith("antd:") && unref(l).iconColor || void 0
|
|
689
|
+
}, null, 8, ["name", "color"])), t.value.icon ? (openBlock(), createElementBlock("button", {
|
|
689
690
|
key: 2,
|
|
690
691
|
class: "absolute -top-1.5 -right-1.5 size-5 flex items-center justify-center rounded-full cursor-pointer border-none op-65 dark:op-55 hover:op-100",
|
|
691
692
|
type: "button",
|
|
692
|
-
onClick:
|
|
693
|
+
onClick: f
|
|
693
694
|
}, [createVNode(unref(PubinfoIcon), {
|
|
694
695
|
name: "antd:CloseOutlined",
|
|
695
696
|
size: "10px"
|
|
@@ -697,7 +698,7 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
697
698
|
key: 1,
|
|
698
699
|
class: "size-64px flex justify-center items-center rounded-md border-px border-dashed cursor-pointer border-[#d9d9d9] dark:border-[#424242] hover:border-[#5794f7] dark:hover:border-[#5187e1] text-[#d9d9d9] dark:text-[#424242] hover:text-[#5794f7] dark:hover:text-[#5187e1] transition",
|
|
699
700
|
onClick: e
|
|
700
|
-
}, [createElementVNode("div", _hoisted_3, [createVNode(unref(PubinfoIcon), { name: "antd:PlusOutlined" }),
|
|
701
|
+
}, [createElementVNode("div", _hoisted_3, [createVNode(unref(PubinfoIcon), { name: "antd:PlusOutlined" }), n[7] ||= createElementVNode("span", { class: "text-10px mt-1" }, "选择图标", -1)])], 8, _hoisted_2))]),
|
|
701
702
|
_: 1
|
|
702
703
|
}, 8, [
|
|
703
704
|
"modelValue",
|
|
@@ -712,5 +713,5 @@ import './IconSelect.css';var _hoisted_1$2 = { class: "flex flex-col gap-3 w-ful
|
|
|
712
713
|
})) : createCommentVNode("", !0);
|
|
713
714
|
};
|
|
714
715
|
}
|
|
715
|
-
});
|
|
716
|
-
export { IconSelect_default as t };
|
|
716
|
+
}), IconSelect_exports = /* @__PURE__ */ __exportAll({ default: () => IconSelect_default }), IconSelect_default = IconSelect_vue_vue_type_script_setup_true_lang_default;
|
|
717
|
+
export { IconSelect_exports as n, IconSelect_default as t };
|