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