import { h } from "@stencil/core";
export class EclFactFiguresItem {
    constructor() {
        this.theme = 'ec';
        this.styleClass = undefined;
        this.icon = undefined;
        this.value = undefined;
        this.itemTitle = undefined;
        this.iconTransform = undefined;
    }
    getClass() {
        return [
            `ecl-fact-figures__item`,
            `sc-ecl-fact-figures-${this.theme}`,
            this.styleClass
        ].join(' ');
    }
    render() {
        return (h("div", { class: this.getClass() }, h("ecl-icon", { icon: this.icon, size: "m", transform: this.iconTransform, "style-class": `ecl-fact-figures__icon sc-ecl-fact-figures-item-${this.theme}` }), h("div", { class: "ecl-fact-figures__value" }, this.value), h("div", { class: "ecl-fact-figures__title" }, this.itemTitle), h("div", { class: "ecl-fact-figures__description" }, h("slot", null))));
    }
    static get is() { return "ecl-fact-figures-item"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "ec": ["./build/styles/ecl-fact-figures-item-ec.css"],
            "eu": ["./build/styles/ecl-fact-figures-item-eu.css"]
        };
    }
    static get styleUrls() {
        return {
            "ec": ["build/styles/ecl-fact-figures-item-ec.css"],
            "eu": ["build/styles/ecl-fact-figures-item-eu.css"]
        };
    }
    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
            },
            "icon": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "icon",
                "reflect": false
            },
            "value": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "value",
                "reflect": false
            },
            "itemTitle": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "item-title",
                "reflect": false
            },
            "iconTransform": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "icon-transform",
                "reflect": false
            }
        };
    }
}
//# sourceMappingURL=ecl-fact-figures-item.js.map
