import{r as t,c as e,a as s,h as i}from"./p-wX3eJOEL.js";const a=class{constructor(s){t(this,s),this.ifxListEntryChange=e(this,"ifxListEntryChange",7)}get host(){return s(this)}value;label;type;ifxListEntryChange;valueChanged(t){t?this.host.setAttribute("value","true"):this.host.removeAttribute("value")}handleFilterEntryChange(t){this.value=t.detail,this.ifxListEntryChange.emit({label:this.label,value:this.value,type:this.type})}render(){return i("div",{key:"133498b2e99748068c3edd310dc1dc572f8eec99",class:"wrapper"},i("div",{class:"list-entry"},i("checkbox"===this.type?"ifx-checkbox":"ifx-radio-button",{size:"s",checked:this.value},this.label)))}static get watchers(){return{value:[{valueChanged:0}]}}};a.style=".list-entry{display:flex;align-items:center;margin-top:8px;align-self:stretch}";export{a as ifx_list_entry}