import{G as l,H as m,J as p,d as r,ak as V,a4 as g,bh as h,j as s,P as u,au as f,aC as v,a9 as k}from"./ResizeObserver.es.62ab429c.js";import{c as P,s as b}from"./index.9a52dc9a.js";const[i,C]=l("radio-group"),_={disabled:Boolean,iconSize:m,direction:String,modelValue:p,checkedColor:String},c=Symbol(i);var $=r({name:i,props:_,emits:["change","update:modelValue"],setup(e,{emit:n,slots:t}){const{linkChildren:o}=V(c),d=a=>n("update:modelValue",a);return g(()=>e.modelValue,a=>n("change",a)),o({props:e,updateValue:d}),h(()=>e.modelValue),()=>{var a;return s("div",{class:C([e.direction]),role:"radiogroup"},[(a=t.default)==null?void 0:a.call(t)])}}});const N=u($),[R,S]=l("radio");var w=r({name:R,props:P,emits:["update:modelValue"],setup(e,{emit:n,slots:t}){const{parent:o}=f(c),d=()=>(o?o.props.modelValue:e.modelValue)===e.name,a=()=>{o?o.updateValue(e.name):n("update:modelValue",e.name)};return()=>s(b,k({bem:S,role:"radio",parent:o,checked:d(),onToggle:a},e),v(t,["default","icon"]))}});const j=u(w);export{N as R,j as a};
