import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconLightbulb {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: 'c250d3741ce5769875d4332dd7a93766341c76ec', class: "digi-icon-lightbulb", width: "18", height: "26", viewBox: "0 0 18 26", "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: '64c98b3de882c88266e0a11d63489949362f4eb0', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '12d1874c5eb0f3f872dec02de479356ac43b5f34' }, this.afDesc), h("path", { key: 'fb8ac923dacfded3bd9d45b6a135c52d6e91ad14', class: "digi-icon-lightbulb__shape", d: "M13.09 21.734v1.422c0 .53-.34.982-.817 1.15v.475c0 .673-.55 1.219-1.228 1.219h-4.09a1.223 1.223 0 01-1.228-1.219v-.476a1.22 1.22 0 01-.818-1.149v-1.422c0-.336.275-.609.614-.609h6.954c.34 0 .614.273.614.61zM5.774 19.5c-.507 0-.963-.309-1.144-.778C2.644 13.586 0 14.104 0 8.937 0 4.003 4.03 0 9 0s9 4.002 9 8.938c0 5.166-2.644 4.648-4.629 9.784-.181.47-.637.778-1.144.778H5.773zM4.909 8.937c0-2.24 1.835-4.062 4.091-4.062a.815.815 0 00.818-.813A.815.815 0 009 3.25c-3.158 0-5.727 2.551-5.727 5.688 0 .448.366.812.818.812a.815.815 0 00.818-.813z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-lightbulb"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-lightbulb.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-lightbulb.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": {}
        };
    }
}
