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