import { Host, h } from "@stencil/core";
import { ElementActivationController } from "../../utils/element-activation-controller";
import { ReactiveControllerHost } from "../../utils/reactive-controller-host";
import { AriaValidationController } from "../../utils/validation/aria-validation-controller";
export class LmvzMenuItem extends ReactiveControllerHost {
    el;
    get role() {
        return 'menuitem';
    }
    get ti() {
        return 0;
    }
    lmvzActivation;
    constructor() {
        super();
        this.addController(new AriaValidationController(this));
        this.addController(new ElementActivationController(this));
    }
    render() {
        return (h(Host, { key: '44399be11122af25d05e5b3b5f05dd90a89fddc4' }, h("slot", { key: '2809f9e89a0c38af4d3f1f17ad78397487370134' })));
    }
    static get is() { return "lmvz-menuitem"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["./lmvz-menuitem.css"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["lmvz-menuitem.css"]
        };
    }
    static get properties() {
        return {
            "role": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": true,
                "setter": false,
                "reflect": true,
                "attribute": "role",
                "defaultValue": "'menuitem'"
            },
            "ti": {
                "type": "number",
                "mutable": false,
                "complexType": {
                    "original": "number",
                    "resolved": "number",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": true,
                "setter": false,
                "reflect": true,
                "attribute": "tabindex",
                "defaultValue": "0"
            }
        };
    }
    static get events() {
        return [{
                "method": "lmvzActivation",
                "name": "lmvzActivation",
                "bubbles": true,
                "cancelable": true,
                "composed": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "complexType": {
                    "original": "void",
                    "resolved": "void",
                    "references": {}
                }
            }];
    }
    static get elementRef() { return "el"; }
}
