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