import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconCompressAlt {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '8bfafd0610fcc51ea0524d72811a3509d5bb60de', class: "digi-icon-compress-alt", width: "22", height: "22", viewBox: "0 0 22 22", 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: 'c8e532f31bfe7d90cbe54326e724626685890bc2', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '7d4ff9556e8d05a2e4cabc126c2f12d8bbb5eeda' }, this.afDesc), h("path", { key: '5dd11d85923f083017131533ae28fc0840849faa', class: "digi-icon-compress-alt__shape", d: "M.23 19.413l4.877-4.877-1.617-1.524C2.748 12.269 3.274 11 4.324 11h5.5c.65 0 1.176.528 1.176 1.179v5.5c0 1.05-1.267 1.575-2.01.833l-1.526-1.62-4.877 4.878a.786.786 0 01-1.11 0L.23 20.524a.786.786 0 010-1.111zM21.77 2.587l-4.877 4.877 1.617 1.524c.742.743.216 2.012-.834 2.012h-5.5C11.526 11 11 10.472 11 9.821v-5.5c0-1.05 1.267-1.575 2.01-.833l1.526 1.62L19.413.23a.786.786 0 011.11 0l1.247 1.246a.786.786 0 010 1.111z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-compress-alt"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-compress-alt.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-compress-alt.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": {}
        };
    }
}
