import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconNotificationInfo {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: 'f73360cf5bccc927fc67b8facad6e95fdc860e07', class: "digi-icon-notification-info", width: "42", height: "42", viewBox: "0 0 48 48", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && h("title", { key: '0fe43e3b8b25aa85e9488934168888d5a68cba08', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'bc7b40ce9893e6824313ca366ae80d8daa9da6c6' }, this.afDesc), h("g", { key: '6d9f12fd8a3fad41c867e9376cc754e68b1373df', class: "digi-icon-notification-info__shape", fill: "currentColor", "fill-rule": "nonzero" }, h("path", { key: '3f2033f2e1ad2ed038153f5ec7a13641cd217dd7', d: "m24 0c-13.254 0-24 10.75-24 24 0 13.258 10.746 24 24 24s24-10.742 24-24c0-13.25-10.746-24-24-24zm0 43.355c-10.697 0-19.355-8.6546-19.355-19.355 0-10.693 8.6586-19.355 19.355-19.355 10.693 0 19.355 8.6585 19.355 19.355 0 10.696-8.6546 19.355-19.355 19.355zm0-32.71c2.2448 0 4.0645 1.8197 4.0645 4.0645s-1.8197 4.0645-4.0645 4.0645-4.0645-1.8197-4.0645-4.0645 1.8197-4.0645 4.0645-4.0645zm5.4194 24.581c0 0.64132-0.51997 1.1613-1.1613 1.1613h-8.5161c-0.64132 0-1.1613-0.51997-1.1613-1.1613v-2.3226c0-0.64132 0.51997-1.1613 1.1613-1.1613h1.1613v-6.1935h-1.1613c-0.64132 0-1.1613-0.51997-1.1613-1.1613v-2.3226c0-0.64132 0.51997-1.1613 1.1613-1.1613h6.1935c0.64132 0 1.1613 0.51997 1.1613 1.1613v9.6774h1.1613c0.64132 0 1.1613 0.51997 1.1613 1.1613v2.3226z", fill: "currentColor", "fill-rule": "nonzero" }))));
    }
    static get is() { return "digi-icon-notification-info"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-notification-info.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-notification-info.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": {}
        };
    }
}
