import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
import { d as defineCustomElement$3 } from './ecl-icon2.js';
import { d as defineCustomElement$2 } from './ecl-link2.js';

const EclFooterItem$1 = /*@__PURE__*/ proxyCustomElement(class EclFooterItem extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
        this.theme = 'ec';
        this.styleClass = undefined;
        this.link = undefined;
        this.ariaLabel = undefined;
    }
    getClass() {
        const styleClasses = [
            `ecl-site-footer__list-item`,
            `sc-ecl-footer-${this.theme}`,
            this.styleClass
        ];
        return styleClasses.join(' ');
    }
    render() {
        return (h("li", { class: this.getClass() }, h("slot", { name: "ecl-footer-item-desc" }), h("ecl-link", { path: this.link, variant: "standalone", styleClass: `ecl-site-footer__link sc-ecl-footer-${this.theme}`, theme: this.theme, ariaLabel: this.ariaLabel }, h("slot", { name: "icon-before" }), h("slot", null))));
    }
}, [4, "ecl-footer-item", {
        "theme": [1],
        "styleClass": [1, "style-class"],
        "link": [1],
        "ariaLabel": [1, "aria-label"]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["ecl-footer-item", "ecl-icon", "ecl-link"];
    components.forEach(tagName => { switch (tagName) {
        case "ecl-footer-item":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, EclFooterItem$1);
            }
            break;
        case "ecl-icon":
            if (!customElements.get(tagName)) {
                defineCustomElement$3();
            }
            break;
        case "ecl-link":
            if (!customElements.get(tagName)) {
                defineCustomElement$2();
            }
            break;
    } });
}

const EclFooterItem = EclFooterItem$1;
const defineCustomElement = defineCustomElement$1;

export { EclFooterItem, defineCustomElement };

//# sourceMappingURL=ecl-footer-item.js.map