import{r as s,h as e}from"./p-5bf73c0f.js";const i=class{constructor(e){s(this,e);this.theme="ec";this.styleClass=undefined;this.path=undefined;this.icon=undefined;this.iconSprite="";this.iconSize="fluid"}getClass(){const s=[`ecl-popover__item`,this.styleClass,`sc-ecl-popover-${this.theme}`];return s.join(" ")}getLinkClass(){const s=["ecl-popover__link",`sc-ecl-popover-${this.theme}`];if(this.icon){s.push("ecl-link--icon")}return s.join(" ")}render(){return e("li",{class:this.getClass()},e("ecl-link",{"style-class":`sc-ecl-popover-${this.theme} ecl-popover__link`,variant:"standalone",path:this.path},this.icon?e("ecl-icon",{"style-class":`sc-ecl-popover-${this.theme} ecl-link__icon`,icon:this.icon,slot:"icon-before",sprite:this.iconSprite||"",size:this.iconSize}):"",e("slot",null)))}};export{i as ecl_popover_item};
//# sourceMappingURL=p-0508e217.entry.js.map