import{d as f,g as a,o as g,c as p,a0 as b,a4 as y,k as r,n as o,t as v,r as k}from"./framework.3f630664.js";import{t as C}from"./FwbRange.vue_vue_type_style_index_0_scoped_fadec9c5_lang.66ff4c69.js";const V={class:"flex w-[100%] items-center"},w=["disabled","name","value"],x="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600",B="m-2 mr-0 text-sm font-medium text-gray-900 dark:text-gray-300",D=f({__name:"FwbRadio",props:{modelValue:{default:""},name:{default:""},value:{default:""},label:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(d,{emit:n}){const s=d,u=n,t=a({get(){return s.modelValue},set(e){u("update:modelValue",e)}}),i=a(()=>x),m=a(()=>C(B,s.disabled&&"text-gray-400 dark:text-gray-500"));return(e,l)=>(g(),p("label",V,[b(r("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>t.value=c),type:"radio",disabled:e.disabled,name:e.name,value:e.value,class:o(i.value)},null,10,w),[[y,t.value]]),r("span",{class:o(m.value)},v(e.label),3),k(e.$slots,"default")]))}});export{D as _};
