const e=window.EdelElements.h;class t{constructor(){this.icon=null,this.removeButton=!1,this.renderLink=!1}render(){return e("li",{class:"itemlist-item"},this.icon?e("span",{class:"itemlist-icon"},e("edel-icon",{name:this.icon})):null,this.renderLink?e("a",{class:"itemlist-label",href:"javascript:void(0)",onClick:()=>this.itemClick.emit()},this.label):e("span",{class:"itemlist-label"},this.label),e("edel-button",this.removeButton?{plain:!0,slim:!0,disabled:!0,"no-pointer-events":!0}:{plain:!0,slim:!0,icon:"times"}))}static get is(){return"edel-itemlist-item"}static get properties(){return{icon:{type:String,attr:"icon"},label:{type:String,attr:"label"},removeButton:{type:Boolean,attr:"remove-button"},renderLink:{type:Boolean,attr:"render-link"}}}static get events(){return[{name:"itemClick",method:"itemClick",bubbles:!0,cancelable:!0,composed:!0}]}}export{t as EdelItemlistItem};