import{_ as i}from"./_plugin-vue_export-helper.BN1snXvA.js";import{o as u,c as d,g as s,e as r,n as a,a as m,V as c,l as f,r as g}from"./runtime-dom.esm-bundler.B6m80oiY.js";const p={},h={viewBox:"0 0 14 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-checkmark"},b=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.8542 1.37147C11.44 0.785682 12.3897 0.785682 12.9755 1.37147C13.5613 1.95726 13.5613 2.907 12.9755 3.49279L6.04448 10.4238C5.74864 10.7196 5.35996 10.8661 4.97222 10.8631C4.58548 10.8653 4.19805 10.7189 3.90298 10.4238L1.0243 7.5451C0.438514 6.95931 0.438514 6.00956 1.0243 5.42378C1.61009 4.83799 2.55983 4.83799 3.14562 5.42378L4.97374 7.2519L10.8542 1.37147Z",fill:"currentColor"},null,-1),k=[b];function y(o,n){return u(),d("svg",h,k)}const C=i(p,[["render",y]]),x={components:{SvgCheckmark:C},props:{modelValue:Boolean,name:String,labelClass:{type:String,default(){return""}},inputClass:{type:String,default(){return""}},id:String,size:String,disabled:Boolean,round:Boolean,type:{type:String,default(){return"blue"}}},methods:{labelToggle(){this.$refs.input.click()}}},v={class:"form-checkbox-wrapper"},w={class:"form-checkbox"},B=["checked","name","id","disabled"];function S(o,n,e,L,V,l){const _=g("svg-checkmark");return u(),d("label",{class:a(["aioseo-checkbox",[e.labelClass,{[e.size]:e.size},{disabled:e.disabled},{round:e.round}]]),onKeydown:[n[1]||(n[1]=c((...t)=>l.labelToggle&&l.labelToggle(...t),["enter"])),n[2]||(n[2]=c((...t)=>l.labelToggle&&l.labelToggle(...t),["space"]))],onClick:f(()=>{},["stop"])},[r(o.$slots,"header"),s("span",v,[s("span",w,[s("input",{type:"checkbox",onInput:n[0]||(n[0]=t=>o.$emit("update:modelValue",t.target.checked)),checked:e.modelValue,name:e.name,id:e.id,class:a(e.inputClass),disabled:e.disabled,ref:"input"},null,42,B),s("span",{class:a(["fancy-checkbox",e.type])},[m(_)],2)])]),r(o.$slots,"default")],34)}const A=i(x,[["render",S]]);export{A as B,C as S};
