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: '53f8d5774dce0d2b9c41000a68e76c44957a43f2' }, h("div", { key: '00af88b7956647374a763dc3af89f444e748ecd1', class: Object.assign({ 'digi-footer-card': true }, this.cssModifiers) }, h("div", { key: '28eac7401a11f8526fb997950c4a393471d1c4d9', class: "digi-footer-card__content" }, h("slot", { key: '39f48ef9ffc87f4cac7149d10d7a6e1736532b75' })))));
    }
    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"; }
}
