import{e as r,aa as _,m as i,o as u,w as d,X as p,a6 as f,n as l,ac as b,ai as g,W as c,a3 as v,G as x,a0 as V,c as w,I as y,M as h}from"./BoB2h2qv.js";var k=r({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(t){const s=t;return _(),(a,o)=>(u(),i(l(b),f(s,{onMousedown:o[0]||(o[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:d(()=>[p(a.$slots,"default")]),_:3},16))}}),B=k;const M=r({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const s=t,a=g(s,"class");return(o,e)=>(u(),i(l(B),f(l(a),{class:l(c)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",s.class)}),{default:d(()=>[p(o.$slots,"default")]),_:3},16,["class"]))}}),P=r({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},emits:["update:modelValue"],setup(t,{emit:s}){const a=t,e=v(a,"modelValue",s,{passive:!0,defaultValue:a.defaultValue});return(C,n)=>x((u(),w("input",{"onUpdate:modelValue":n[0]||(n[0]=m=>h(e)?e.value=m:null),class:y(l(c)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-foreground file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",a.class))},null,2)),[[V,l(e)]])}});export{P as _,M as a};
