import{p as e,H as t,c as s,h as i,t as a}from"./p-CHfEnK-2.js";import{d as n}from"./p-DxZayX2R.js";import{d as r}from"./p-B5hDbbCP.js";import{d as c}from"./p-DIcOg0Ci.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ifxListEntryChange=s(this,"ifxListEntryChange",7)}get host(){return this}value;label;type;ifxListEntryChange;valueChanged(e){e?this.host.setAttribute("value","true"):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:"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}]}}static get style(){return".list-entry{display:flex;align-items:center;margin-top:8px;align-self:stretch}"}},[513,"ifx-list-entry",{value:[1028],label:[1],type:[1]},[[0,"ifxChange","handleFilterEntryChange"]],{value:[{valueChanged:0}]}]),h=l,o=function(){"undefined"!=typeof customElements&&["ifx-list-entry","ifx-checkbox","ifx-icon","ifx-radio-button"].forEach((e=>{switch(e){case"ifx-list-entry":customElements.get(a(e))||customElements.define(a(e),l);break;case"ifx-checkbox":customElements.get(a(e))||n();break;case"ifx-icon":customElements.get(a(e))||r();break;case"ifx-radio-button":customElements.get(a(e))||c()}}))};export{h as IfxListEntry,o as defineCustomElement}