import{t as d,E as m,O as p,d as r,C as V,Z as g,b5 as h,c as s,x as u,G as f,am as v,v as k}from"./index.28bb778f.js";import{c as b,s as C}from"./Checker.3f2ba89f.js";const[c,P]=d("radio-group"),_={disabled:Boolean,iconSize:m,direction:String,modelValue:p,checkedColor:String},i=Symbol(c);var R=r({name:c,props:_,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:o}=V(i),l=a=>t("update:modelValue",a);return g(()=>e.modelValue,a=>t("change",a)),o({props:e,updateValue:l}),h(()=>e.modelValue),()=>{var a;return s("div",{class:P([e.direction]),role:"radiogroup"},[(a=n.default)==null?void 0:a.call(n)])}}});const I=u(R);const[S,$]=d("radio");var w=r({name:S,props:b,emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{parent:o}=f(i),l=()=>(o?o.props.modelValue:e.modelValue)===e.name,a=()=>{o?o.updateValue(e.name):t("update:modelValue",e.name)};return()=>s(C,k({bem:$,role:"radio",parent:o,checked:l(),onToggle:a},e),v(n,["default","icon"]))}});const N=u(w);export{I as R,N as a};
