import{d as y,j as o,o as t,f as a,b as r,a as l,c as n,F as b,C as w,l as x,N as h,b$ as v,A as i,t as B,_ as N}from"./index-ongssuUn.js";const z={class:"icon-selector-warp-row"},V=y({__name:"list",props:{list:{default:[]},empty:{default:B("无相关图标")},prefix:{default:""}},emits:["get-icon"],setup(e,{emit:m}){const _=e,d=m,p=c=>{d("get-icon",c)};return(c,$)=>{const f=o("el-col"),u=o("el-row"),C=o("el-empty"),k=o("el-scrollbar");return t(),a("div",z,[r(k,{ref:"selectorScrollbarRef"},{default:l(()=>[_.list.length>0?(t(),n(u,{key:0,gutter:5},{default:l(()=>[(t(!0),a(b,null,w(e.list,(s,g)=>(t(),n(f,{span:6,key:g,onClick:F=>p(s)},{default:l(()=>[x("div",{class:h(["icon-selector-warp-item",{"icon-selector-active":e.prefix===s}])},[r(v,{name:s,size:24},null,8,["name"])],2)]),_:2},1032,["onClick"]))),128))]),_:1})):i("",!0),e.list.length<=0?(t(),n(C,{key:1,"image-size":100,description:e.empty},null,8,["description"])):i("",!0)]),_:1},512)])}}}),A=N(V,[["__scopeId","data-v-3b49f39a"]]);export{A as default};
