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