import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconEllipsis {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '4f453c5307b0a85840aa0f75a991b5b40064ae8b', class: "digi-icon-ellipsis", width: "48", height: "48", viewBox: "0 0 48 48", 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: '697bac46e379e72d9b52f53fbe0eb815603374c9', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'fba437ee91e80a00bbd71321e0e3b0fdb1cad433' }, this.afDesc), h("path", { key: '7e33dd48c75a289b5d833e8c29ea90d04acee7eb', class: "digi-icon-ellipsis__shape", d: "M28.9655172,23.9655172 C28.9655172,26.7068966 26.5560345,28.9310345 23.5862069,28.9310345 C20.6163793,28.9310345 18.2068966,26.7068966 18.2068966,23.9655172 C18.2068966,21.2241379 20.6163793,19 23.5862069,19 C26.5560345,19 28.9655172,21.2241379 28.9655172,23.9655172 Z M42.6206897,19 C39.6508621,19 37.2413793,21.2241379 37.2413793,23.9655172 C37.2413793,26.7068966 39.6508621,28.9310345 42.6206897,28.9310345 C45.5905172,28.9310345 48,26.7068966 48,23.9655172 C48,21.2241379 45.5905172,19 42.6206897,19 Z M5.37931034,19 C2.40948276,19 0,21.2241379 0,23.9655172 C0,26.7068966 2.40948276,28.9310345 5.37931034,28.9310345 C8.34913793,28.9310345 10.7586207,26.7068966 10.7586207,23.9655172 C10.7586207,21.2241379 8.34913793,19 5.37931034,19 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-ellipsis"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-ellipsis.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-ellipsis.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": {}
        };
    }
}
