import{d as m,a8 as v,i as s,q as _,s as d,o as h,a as f,P as g}from"./index.29cf2edd.js";/* empty css              */const C=m({__name:"InsuranceSelection",props:{value:{type:String}},emits:["change"],setup(l,{emit:t}){const c=l,r=v(),n=s([]),e=s();_(()=>{n.value=r.insurances});const u=()=>{t("change",e.value)};return d(()=>c.value,a=>{a||(e.value=null)}),(a,o)=>{const i=g;return h(),f(i,{value:e.value,"onUpdate:value":o[0]||(o[0]=p=>e.value=p),"show-search":"",placeholder:"Choose a insurance",options:n.value,onChange:u,"field-names":{label:"name",value:"id"},"clear-icon":"","allow-clear":""},null,8,["value","options"])}}});export{C as _};
