import { h } from "@stencil/core";
export class EclDescriptionListTerm {
    constructor() {
        this.styleClass = '';
    }
    componentWillLoad() {
        var _a;
        this.theme = (_a = document.documentElement.getAttribute('data-ecl-theme')) !== null && _a !== void 0 ? _a : (this.theme || 'ec');
    }
    getClass() {
        return [
            `ecl-description-list__term`,
            `sc-ecl-description-list-${this.theme}`,
            this.styleClass
        ].join(' ');
    }
    render() {
        return (h("dt", { key: '2abafd163b06c0eca18f09c073aaec19ba1f798e', class: this.getClass() }, h("slot", { key: '4c37def608b096f564466aa846b270850f1249e5' })));
    }
    static get is() { return "ecl-description-list-term"; }
    static get properties() {
        return {
            "styleClass": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "style-class",
                "defaultValue": "''"
            },
            "theme": {
                "type": "string",
                "mutable": true,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "theme"
            }
        };
    }
}
