import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconComunicationCase {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '91ad4af65898dfa0d85746e429b7c42b78c3f913', class: "digi-icon-comunication-case", width: "48", height: "48", viewBox: "0 0 48 48", 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: '1ef2059701859d842d970b5299506b8e153e1496', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '7b92f0752d65b0f661e8eff45af34015761d21d5' }, this.afDesc), h("path", { key: 'f458ad80015536ed1d471a54a9c51504813dea18', class: "digi-icon-comunication-case__shape", d: "M24.28,0 C27.4561,0 30.04,2.6915625 30.04,6 L37.24,6 C39.6259,6 41.56,8.0146875 41.56,10.5 L41.56,43.5 C41.56,45.9853125 39.6259,48 37.24,48 L11.32,48 C8.9341,48 7,45.9853125 7,43.5 L7,10.5 C7,8.0146875 8.9341,6 11.32,6 L18.52,6 C18.52,2.6915625 21.1039,0 24.28,0 Z M35.08,11.52 L13.48,11.52 C13.082355,11.52 12.76,12.0035325 12.76,12.6 L12.76,16.2 C12.76,16.7964675 13.082355,17.28 13.48,17.28 L35.08,17.28 C35.477645,17.28 35.8,16.7964675 35.8,16.2 L35.8,12.6 C35.8,12.0035325 35.477645,11.52 35.08,11.52 Z M24.28,1.92 C22.1592,1.92 20.44,3.6392 20.44,5.76 C20.44,7.8808 22.1592,9.6 24.28,9.6 C26.4008,9.6 28.12,7.8808 28.12,5.76 C28.12,3.6392 26.4008,1.92 24.28,1.92 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-comunication-case"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-comunication-case.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-comunication-case.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": {}
        };
    }
}
