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:[String,Boolean],name:String,labelClass:{type:String,default(){return""}},inputClass:{type:String,default(){return""}},id:String,size:String,disabled:Boolean,type:{type:Number,default(){return 1}}},computed:{typeClass(){return`type-${this.type}`}},methods:{labelToggle(){this.$refs.input.click()}}};var l=function(){var n=this,t=n._self._c;return t("label",{staticClass:"aioseo-radio",class:[n.labelClass,{[n.size]:n.size},n.typeClass,{disabled:n.disabled}],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-radio-wrapper"},[t("span",{staticClass:"form-radio"},[t("input",{ref:"input",class:n.inputClass,attrs:{type:"radio",disabled:n.disabled,name:n.name,id:n.id},domProps:{checked:n.value},on:{input:function(e){return n.$emit("input",e.target.checked)}}}),t("span",{staticClass:"fancy-radio"},[n.type===1?t("svg-checkmark"):n._e()],1)])]),n._t("default")],2)},o=[],i=r(s,l,o,!1,null,null,null,null);const d=i.exports;export{d as B};
