import{c as g,h as A,u as B,d as t,i as l}from"./VTextField-b712f4db.js";import{a5 as F,aB as I,a6 as U,a8 as N,ah as R,G as $,a9 as D,ai as G,a as u,N as c}from"./index-207e8178.js";const M=F({...g(),...I(A(),["inline"])},"VCheckbox"),w=U()({name:"VCheckbox",inheritAttrs:!1,props:M(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,r){let{attrs:d,slots:o}=r;const s=N(e,"modelValue"),{isFocused:n,focus:i,blur:m}=B(e),V=R(),b=$(()=>e.id||`checkbox-${V}`);return D(()=>{const[p,h]=G(d),k=t.filterProps(e),v=l.filterProps(e);return u(t,c({class:["v-checkbox",e.class]},p,k,{modelValue:s.value,"onUpdate:modelValue":a=>s.value=a,id:b.value,focused:n.value,style:e.style}),{...o,default:a=>{let{id:x,messagesId:f,isDisabled:P,isReadonly:C}=a;return u(l,c(v,{id:x.value,"aria-describedby":f.value,disabled:P.value,readonly:C.value},h,{modelValue:s.value,"onUpdate:modelValue":y=>s.value=y,onFocus:i,onBlur:m}),o)}})}),{}}});export{w as V};