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