import{d as t,ek as o,el as i,Z as a,cA as d}from"./index-9PRMimni.js";const n=t({name:"RadioButton",props:i,setup:o,render(){const{mergedClsPrefix:e}=this;return a("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},a("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),a("div",{class:`${e}-radio-button__state-border`}),d(this.$slots.default,s=>!s&&!this.label?null:a("div",{ref:"labelRef",class:`${e}-radio__label`},s||this.label)))}});export{n as _};
