import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconExclamationTriangleFilled {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '632bb5183bcaf5f56084a9b1754aa2e7ede42f70', class: "digi-icon-exclamation-triangle-filled", width: "29", height: "26", viewBox: "0 0 29 26", 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: '05dbcf347a1c3939f4dd994bb6be69f99cc1222f', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'ead1877ec5d71a1ea809961b2ca9cc00c335c6af' }, this.afDesc), h("path", { key: 'cb20661f1fb3a30b79bd42c3ec695a4e66e653dd', class: "digi-icon-exclamation-triangle-filled__shape", d: "M28.674 22.344C29.603 23.97 28.436 26 26.58 26H2.42C.56 26-.602 23.966.325 22.344l12.08-21.126c.93-1.625 3.26-1.623 4.187 0l12.08 21.126zM14.5 17.977a2.326 2.326 0 00-2.316 2.335 2.326 2.326 0 002.316 2.336 2.326 2.326 0 002.316-2.335 2.326 2.326 0 00-2.316-2.336zM12.301 9.58l.374 6.906a.606.606 0 00.603.576h2.444c.32 0 .586-.252.603-.576L16.7 9.58a.607.607 0 00-.603-.643h-3.192a.607.607 0 00-.603.643z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-exclamation-triangle-filled"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-exclamation-triangle-filled.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-exclamation-triangle-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": {}
        };
    }
}
