import{d as p,b as r,o as n,c as a,U as f,a6 as v,S as s,u as d}from"./@vue.108c970a.js";const y=p({__name:"index",props:{options:{default:()=>[]},value:null,config:{default:()=>({label:"name",value:"value"})}},setup(l){const e=l,o=r(()=>e.value!==null&&typeof e.value<"u"?Array.isArray(e.value)?e.value:String(e.value).split(","):[]),i=r(()=>e.options.filter(t=>o.value.includes(t[e.config.value])));return(t,m)=>(n(),a("div",null,[(n(!0),a(f,null,v(d(i),(c,u)=>(n(),a("span",{key:u},s(u!=0?"\u3001":"")+s(c[l.config.label]),1))),128))]))}});export{y as _};
