import{r as o,w as s}from"./vendor-39c32a1b.js";import{n as u}from"./index-8fa791df.js";const i={__name:"LJLabelRadioGroup",props:{label:{type:String,default:"\u6807\u7B7E"},value:{type:[String,Number,Boolean],default:null},groups:{type:Array,default:()=>[]},size:{type:String,default:null}},emits:["input"],setup(n,{emit:e}){const a=n,r=o(a.value);return s(()=>a.value,()=>r.value=a.value),{__sfc:!0,emits:e,props:a,radio:r,handleChange:t=>e("input",t)}}};var _=function(){var e=this,a=e._self._c,r=e._self._setupProxy;return a("div",{staticClass:"lj-label-radio-group"},[a("div",{staticClass:"lj-label-radio-group-label"},[e._v(e._s(e.label))]),e.groups.length?a("el-radio-group",{attrs:{size:e.size},on:{input:r.handleChange},model:{value:r.radio,callback:function(l){r.radio=l},expression:"radio"}},e._l(e.groups,function(l,t){return a("el-radio-button",{key:t,attrs:{label:l}})}),1):a("div",[e._v("groups \u53C2\u6570\u7F3A\u5931")])],1)},p=[],d=u(i,_,p,!1,null,"2dda10bf",null,null);const v=d.exports;export{v as L};
