import{b as c,A as u,l as p,j as m,p as v,q as s,y as b,x as f,f as _}from"./vue-Cm77DuTi.js";import{_ as k}from"./app-QjDgb7aF.js";const h=["disabled","checked"],x={class:"label"},V=c({__name:"radio",props:{modelValue:{},value:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:l}){const e=t,i=l,o=_(()=>e.modelValue===e.value);function n(d){e.disabled||i("update:modelValue",e.value)}return(d,a)=>{const r=u("adaptive-border");return p((m(),v("label",{class:f(["novjtctn",{disabled:t.disabled,checked:o.value}])},[s("input",{type:"radio",disabled:t.disabled,checked:o.value,onChange:a[0]||(a[0]=B=>n())},null,40,h),a[1]||(a[1]=s("span",{class:"button"},[s("span")],-1)),s("span",x,[b(d.$slots,"default",{},void 0,!0)])],2)),[[r]])}}}),C=k(V,[["__scopeId","data-v-77c1208d"]]);export{C as M};
//# sourceMappingURL=radio-Co0R5AcD.js.map
