import{S as a}from"./Checkmark.f26f6201.js";import{n as r}from"./_plugin-vue2_normalizer.61652a7c.js";const s={components:{SvgCheckmark:a},props:{value: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()}}};var l=function(){var n=this,t=n._self._c;return t("label",{staticClass:"aioseo-checkbox",class:[n.labelClass,{[n.size]:n.size},{disabled:n.disabled},{round:n.round}],on:{keydown:[function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"enter",13,e.key,"Enter")?null:n.labelToggle.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&n._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:n.labelToggle.apply(null,arguments)}],click:function(e){return e.stopPropagation(),(()=>{}).apply(null,arguments)}}},[n._t("header"),t("span",{staticClass:"form-checkbox-wrapper"},[t("span",{staticClass:"form-checkbox"},[t("input",{ref:"input",class:n.inputClass,attrs:{type:"checkbox",name:n.name,id:n.id,disabled:n.disabled},domProps:{checked:n.value},on:{input:function(e){return n.$emit("input",e.target.checked)}}}),t("span",{staticClass:"fancy-checkbox",class:n.type},[t("svg-checkmark")],1)])]),n._t("default")],2)},o=[],u=r(s,l,o,!1,null,null,null,null);const _=u.exports;export{_ as B};
