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