import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconWindow {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '558383e2698e43c1e67777afed760ee54581dcc4', class: "digi-icon-window", width: "68px", height: "68px", viewBox: "0 0 68 68", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg", fill: "currentColor" }, this.afTitle && h("title", { key: '86b649a6583f2be158fdce72b463cc16244d7d72', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '65f66b42f6007ee2c2d432156bdd7e81cbe24ad8' }, this.afDesc), h("g", { key: '186c3d890405f989c4f87318c03adde3730b575c', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, h("g", { key: '07ee25d6a45043ef67508a7306e575ba6e4609db', transform: "translate(-1216, -884)", fill: "currentColor" }, h("g", { key: 'ff1f84a4338941c5cec4b9d11fa3f2a3ad1f34dd', transform: "translate(1218.8333, 886.8333)" }, h("path", { key: '1b13f535480d3b6cd8eb06a2ce213f0b34d0a935', d: "M62.3333333,0 L29.0888889,4.80358639 L29.0888889,30.4740741 L62.3333333,30.4740741 L62.3333333,0 Z M0,9.09650148 L0,30.4740741 L24.9333333,30.4740741 L24.9333333,5.54074074 L0,9.09650148 Z M29.0888889,33.2444444 L29.0888889,57.7006941 L62.3333333,62.3333333 L62.3333333,33.2444444 L29.0888889,33.2444444 Z M0,33.2444444 L0,53.3919745 L24.9333333,56.7925926 L24.9333333,33.2444444 L0,33.2444444 Z" }))))));
    }
    static get is() { return "digi-icon-window"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-window.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-window.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": {}
        };
    }
}
