import{M as d}from"./radio-F8oq6XnD.js";import{b as r,Q as l}from"./vue-y3KLWBaS.js";const c=r({components:{MkRadio:d},props:{modelValue:{required:!1}},data(){return{value:this.modelValue}},watch:{value(){this.$emit("update:modelValue",this.value)}},render(){let e=this.$slots.default();const a=this.$slots.label&&this.$slots.label(),t=this.$slots.caption&&this.$slots.caption();return e.length===1&&e[0].props==null&&(e=e[0].children),l("fieldset",{class:"novjtcto"},[...a?[l("legend",{class:"label"},[a])]:[],l("div",{class:"body"},e.map(s=>{var o,i;return l(d,{key:s.key,value:(o=s.props)==null?void 0:o.value,disabled:(i=s.props)==null?void 0:i.disabled,modelValue:this.value,"onUpdate:modelValue":n=>this.value=n},s.children)})),...t?[l("div",{class:"caption"},[t])]:[]])}});export{c as _};
