import { Host, h } from "@stencil/core";
export class SpwSidebarNavigationDropdown {
    constructor() {
        /** A appliquer sur spw-sidebar-navigation-dropdown, si true alors le dropdown est ouvert */
        this.open = false;
    }
    get classes() {
        return {
            'spw-sidebar-navigation-dropdown': true,
            'spw-sidebar-navigation-dropdown--open': this.open,
        };
    }
    render() {
        return (h(Host, { key: '968a8719643921e9d8453b0d2fcdd87ea2c1e933', class: this.classes }, h("div", { key: '2ac5caa680ebd83fdc07f653d7fceb8b2a4a0d27', class: "spw-sidebar-navigation-dropdown__content", style: { display: this.open ? 'block' : 'none' } }, h("slot", { key: 'ee24630234c1e6af964b327951108bd2528e9033' }))));
    }
    static get is() { return "spw-sidebar-navigation-dropdown"; }
    static get originalStyleUrls() {
        return {
            "$": ["spw-sidebar-navigation-dropdown.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["spw-sidebar-navigation-dropdown.css"]
        };
    }
    static get properties() {
        return {
            "open": {
                "type": "boolean",
                "mutable": true,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "A appliquer sur spw-sidebar-navigation-dropdown, si true alors le dropdown est ouvert"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "open",
                "defaultValue": "false"
            }
        };
    }
}
