import{M as o}from"./radio-Co0R5AcD.js";import{b as d,O as l}from"./vue-Cm77DuTi.js";const p=d({components:{MkRadio:o},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=>l(o,{key:s.key,value:s.props?.value,disabled:s.props?.disabled,modelValue:this.value,"onUpdate:modelValue":i=>this.value=i},s.children))),...t?[l("div",{class:"caption"},[t])]:[]])}});export{p as _};
//# sourceMappingURL=radios.vue_vue_type_style_index_0_lang-DGNN0Cq9.js.map
