import{Qn as e,Qt as t,Yt as n,br as r,cn as i,in as a,jn as o,o as s,p as c,pr as l,rr as u,s as d,v as f,yn as p}from"./index-BaWK9ZU-.js";import{a as m,i as h}from"./VSelect-DIcHJ_sj.js";var g=i({...o(d(),[`direction`]),...o(m(),[`inline`])},`VCheckbox`),_=a()({name:`VCheckbox`,inheritAttrs:!1,props:g(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(i,{attrs:a,slots:o}){let d=n(i,`modelValue`),{isFocused:m,focus:g,blur:_}=c(i),v=r(),y=l();return t(()=>{let[t,n]=p(a),r=s.filterProps(i),c=h.filterProps(i);return e(s,u({ref:v,class:[`v-checkbox`,i.class]},t,r,{modelValue:d.value,"onUpdate:modelValue":e=>d.value=e,id:i.id||`checkbox-${y}`,focused:m.value,style:i.style}),{...o,default:({id:t,messagesId:r,isDisabled:i,isReadonly:a,isValid:s})=>e(h,u(c,{id:t.value,"aria-describedby":r.value,disabled:i.value,readonly:a.value},n,{error:s.value===!1,modelValue:d.value,"onUpdate:modelValue":e=>d.value=e,onFocus:g,onBlur:_}),o)})}),f({},v)}});export{_ as t};