import{d as _,a8 as t,o,c as a,M as r,G as c,E as l,F as v,$ as w,a as S,z as h,J as i}from"./vue.95e072e2.js";import{_ as B}from"./_plugin-vue_export-helper.c27b6911.js";const b={class:"icon-selector-warp-row"},z=_({name:"iconSelectorList"}),I=_({...z,props:{list:{type:Array,default:()=>[]},empty:{type:String,default:()=>"无相关图标"},prefix:{type:String,default:()=>""}},emits:["get-icon"],setup(e,{emit:m}){const p=e,d=m,u=s=>{d("get-icon",s)};return(s,N)=>{const f=t("SvgIcon"),g=t("el-col"),y=t("el-row"),k=t("el-empty"),x=t("el-scrollbar");return o(),a("div",b,[r(x,{ref:"selectorScrollbarRef"},{default:c(()=>[p.list.length>0?(o(),l(y,{key:0,gutter:10},{default:c(()=>[(o(!0),a(v,null,w(e.list,(n,C)=>(o(),l(g,{xs:6,sm:4,md:4,lg:4,xl:4,key:C,onClick:V=>u(n)},{default:c(()=>[S("div",{class:h(["icon-selector-warp-item",{"icon-selector-active":e.prefix===n}])},[r(f,{name:n},null,8,["name"])],2)]),_:2},1032,["onClick"]))),128))]),_:1})):i("",!0),e.list.length<=0?(o(),l(k,{key:1,"image-size":100,description:e.empty},null,8,["description"])):i("",!0)]),_:1},512)])}}});const L=B(I,[["__scopeId","data-v-80a22ee8"]]);export{L as default};
