import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconEnvelopeFilled {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '0ca35d1e050cc4a17a673a159ce68548718ce1da', class: "digi-icon-envelope-filled", width: "25", height: "19", viewBox: "0 0 25 19", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined }, this.afTitle && h("title", { key: '497e2df2650ebdafd6a3c65491b79437878a02d0', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '84b91e4b2d807787a15dee33c90289ad0ba40e13' }, this.afDesc), h("path", { key: 'c4fd3147adac3d3ec33f5d2920a944d85ba1d0eb', class: "digi-icon-envelope-filled__shape", fill: "currentColor", d: "M25 16.63V6.51a.28.28 0 00-.06-.18.29.29 0 00-.41 0c-1.1.86-2.54 2-7.52 5.62-1 .74-2.78 2.35-4.51 2.36S9 12.67 8 11.9C3 8.28 1.57 7.14.47 6.28a.26.26 0 00-.19-.06.28.28 0 00-.28.3v10.11A2.36 2.36 0 002.35 19h20.28A2.36 2.36 0 0025 16.63z" }), h("path", { key: '0f9a0a8a024e5c3f70400c2a7d5cf34ed3fc8f4f', class: "digi-icon-envelope-filled__shape", fill: "currentColor", d: "M2.35 0A2.37 2.37 0 000 2.38v.94a1.2 1.2 0 00.45.93c1.49 1.19 2 1.61 8.47 6.37.82.61 2.45 2.07 3.58 2.05s2.77-1.44 3.59-2.05c6.47-4.76 7-5.18 8.46-6.37a1.14 1.14 0 00.45-.93v-.94A2.36 2.36 0 0022.66 0H2.35z" })));
    }
    static get is() { return "digi-icon-envelope-filled"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-envelope-filled.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-envelope-filled.css"]
        };
    }
    static get properties() {
        return {
            "afTitle": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a title element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett titleelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-title",
                "reflect": false
            },
            "afDesc": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a desc element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett descelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-desc",
                "reflect": false
            },
            "afSvgAriaHidden": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Hides the icon for screen readers. Default is set to true."
                        }],
                    "text": "F\u00F6r att d\u00F6lja ikonen f\u00F6r sk\u00E4rml\u00E4sare. Default \u00E4r satt till true."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-hidden",
                "reflect": false,
                "defaultValue": "true"
            },
            "afSvgAriaLabelledby": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Reference other elements on the page to define an accessible name."
                        }],
                    "text": "Referera till andra element p\u00E5 sidan f\u00F6r att definiera ett tillg\u00E4ngligt namn."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-labelledby",
                "reflect": false
            }
        };
    }
    static get states() {
        return {
            "titleId": {}
        };
    }
}
