import{d,J as o,bF as n,o as c,c as u,s as t,b as _,aJ as f,B as b,q as v,a8 as $,a as h,w as k,p as C,a9 as i,aa as p,t as S}from"./index-2e57ee69.js";import{V}from"./VSelect-a9073548.js";const g=d({name:"AppSelect",inheritAttrs:!1}),x=d({...g,setup(B){const a=o(()=>{const e=n(),s=e.id||e.label;return s?`app-select-${s}-${Math.random().toString(36).slice(2,7)}`:void 0}),l=o(()=>n().label);return(e,s)=>(c(),u("div",{class:S(["app-select flex-grow-1",e.$attrs.class])},[t(l)?(c(),_(f,{key:0,for:t(a),class:"mb-1 text-body-2 text-high-emphasis",text:t(l)},null,8,["for","text"])):b("",!0),v(V,i(p({...e.$attrs,class:null,label:void 0,variant:e.$attrs.variant||"outlined",id:t(a),menuProps:{contentClass:["app-inner-list","app-select__content","v-select__content",e.$attrs.multiple!==void 0?"v-list-select-multiple":""]}})),$({_:2},[h(e.$slots,(w,r)=>({name:r,fn:k(m=>[C(e.$slots,r,i(p(m||{})))])}))]),1040)],2))}});export{x as _};
