import{Q as l}from"./chunk-CusLMHK2.js";import{B as u}from"./app-CPb3bToC.js";import{u as r,a as i,b}from"./chunk-xxORVLuj.js";import{l as e,a as h}from"./chunk-DhYw-kuD.js";const k=()=>e("div",{key:"svg",class:"q-checkbox__bg absolute"},[e("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[e("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),e("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),f=u({name:"QCheckbox",props:r,emits:i,setup(c){const s=k();function t(n,a){const o=h(()=>(n.value===!0?c.checkedIcon:a.value===!0?c.indeterminateIcon:c.uncheckedIcon)||null);return()=>o.value!==null?[e("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[e(l,{class:"q-checkbox__icon",name:o.value})])]:[s]}return b("checkbox",t)}});export{f as Q};
