import{_ as i,c as t,F as u,i as c,n as s,o as l,f as r,x as d,e as _,t as m}from"./_plugin-vue_export-helper.2d9794a3.js";const f={props:{options:{type:Array,required:!0},name:{type:String,required:!0},modelValue:[String,Boolean],disabled:{type:Boolean,default(){return!1}},inline:Boolean,circle:Boolean}},y=["id","name","onInput","checked","disabled"],g=["for"];function p(o,v,e,B,b,V){return l(),t("div",{class:s(["aioseo-radio-toggle",{inline:e.inline,circle:e.circle}])},[(l(!0),t(u,null,c(e.options,(n,a)=>(l(),t("div",{key:a},[r("input",{id:`id_${e.name}_${a}`,name:e.name,type:"radio",onInput:h=>o.$emit("update:modelValue",n.value),checked:n.value===e.modelValue,disabled:e.disabled},null,40,y),r("label",{for:`id_${e.name}_${a}`,class:s([{[n.activeClass||"default"]:n.value===e.modelValue},{disabled:e.disabled}])},[d(o.$slots,n.slot,{},()=>[_(m(n.label),1)])],10,g)]))),128))],2)}const x=i(f,[["render",p]]);export{x as B};
