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