import { h } from "@stencil/core";
export class EclFooterItem {
    constructor() {
        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))));
    }
    static get is() { return "ecl-footer-item"; }
    static get properties() {
        return {
            "theme": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "theme",
                "reflect": false,
                "defaultValue": "'ec'"
            },
            "styleClass": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "style-class",
                "reflect": false
            },
            "link": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "link",
                "reflect": false
            },
            "ariaLabel": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "aria-label",
                "reflect": false
            }
        };
    }
}
//# sourceMappingURL=ecl-footer-item.js.map
