import { h, Host } from "@stencil/core";
import { FooterCardVariation } from "./footer-card-variation.enum";
/**
 * @private internal use only
 *
 * @slot default - Kan innehålla vad som helst
 *
 * @enums myEnum - footer-card-myEnum.enum.ts
 *
 * @swedishName Sidfotkort
 */
export class FooterFooterCard {
    constructor() {
        this.afType = FooterCardVariation.NONE;
    }
    get cssModifiers() {
        return {
            'digi-footer-card--icon': this.afType == FooterCardVariation.ICON,
            'digi-footer-card--border': this.afType == FooterCardVariation.BORDER
        };
    }
    render() {
        return (h(Host, { key: 'a15273fc73e9e7e9fc9084dafb28c4bdd211a304' }, h("div", { key: '80d2759e16e78a4018a94b8a83cbabdb7d50ce96', class: Object.assign({ 'digi-footer-card': true }, this.cssModifiers) }, h("div", { key: 'f305ebb61e11f1e3b6862d02eb8be3dc6ca00e4c', class: "digi-footer-card__content" }, h("slot", { key: '4928d8f14f35856a3adee2d7d8d44f9dffaebd1b' })))));
    }
    static get is() { return "digi-footer-card"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["footer-card.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["footer-card.css"]
        };
    }
    static get properties() {
        return {
            "afType": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "FooterCardVariation",
                    "resolved": "FooterCardVariation.BORDER | FooterCardVariation.ICON | FooterCardVariation.NONE",
                    "references": {
                        "FooterCardVariation": {
                            "location": "import",
                            "path": "./footer-card-variation.enum",
                            "id": "src/components/_footer/footer-card/footer-card-variation.enum.ts::FooterCardVariation"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Sets content typ for the footercard, such as linklist with and without icon and if the card should have a border or not."
                        }],
                    "text": "S\u00E4tter inneh\u00E5llstyp f\u00F6r footerkortet, s\u00E5 som l\u00E4nklista med, utan ikon eller om kortet ska ha en kantlinje"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-type",
                "reflect": false,
                "defaultValue": "FooterCardVariation.NONE"
            }
        };
    }
    static get elementRef() { return "hostElement"; }
}
