import{r as t,c as e,h as s}from"./p-DBTJNfo7.js";const i=class{constructor(s){t(this,s),this.change=e(this,"change"),this.disabled=!1,this.maxLinesSecondaryText=3,this.handleChange=t=>{t.stopPropagation(),this.disabled||this.change.emit(t.detail)}}render(){return s("limel-list",{key:"0a68f90122f1e246d966e3b747f0e13bed2c901b",items:this.createItems(),type:"radio",badgeIcons:this.badgeIcons,maxLinesSecondaryText:this.maxLinesSecondaryText,onChange:this.handleChange})}createItems(){return this.items.map((t=>{var e;return"separator"in t?t:Object.assign(Object.assign({},t),{selected:t.value===(null===(e=this.selectedItem)||void 0===e?void 0:e.value),disabled:this.disabled||t.disabled})}))}};export{i as limel_radio_button_group}