import { h } from "@stencil/core";
export class DgaDrawer {
    constructor() {
        this.background = 'brand';
        this.anchor = 'left';
        this.open = false;
    }
    // @Prop({mutable: true , reflect: true}) open?: boolean = true;
    render() {
        return (h("div", { key: 'e7b5ab712d68f95b87f74b4d841f583653448ccf', class: `sidepanel sidepanel--${this.anchor} ${this.background ? `sidepanel--bg-${this.background}` : ''}
          ${this.overlay ? 'sidepanel--overlay' : ''}
          ${this.border ? 'sidepanel--border' : ''}
          ${this.open ? 'active' : ''}
          ` }, this.headerLogo && h("div", { key: '813d45b274f0cb66486d687abb01eefe6877e202', class: "sidepanel__header" }, h("img", { key: '2231ab47a2c92a610e1fd57bf9b47acefd77a530', src: this.headerLogo, alt: 'logo' })), h("side-panel-menu", { key: 'c9cfd3a62503dbea4aed0fd827a45bd9c5df31c6', routes: this.routes })));
    }
    static get is() { return "dga-drawer"; }
    static get originalStyleUrls() {
        return {
            "$": ["dga-drawer.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["dga-drawer.css"]
        };
    }
    static get properties() {
        return {
            "background": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'gray' | 'brand'",
                    "resolved": "\"brand\" | \"gray\"",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "background",
                "reflect": false,
                "defaultValue": "'brand'"
            },
            "overlay": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "overlay",
                "reflect": false
            },
            "border": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "border",
                "reflect": false
            },
            "anchor": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'left'|'right'",
                    "resolved": "\"left\" | \"right\"",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "anchor",
                "reflect": false,
                "defaultValue": "'left'"
            },
            "open": {
                "type": "boolean",
                "mutable": true,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "open",
                "reflect": true,
                "defaultValue": "false"
            },
            "routes": {
                "type": "unknown",
                "mutable": false,
                "complexType": {
                    "original": "IRoute[]",
                    "resolved": "IRoute[]",
                    "references": {
                        "IRoute": {
                            "location": "local",
                            "path": "/home/mamoud/Documents/temp/components/platform-code-cross-platform-storybook/packages/core/src/components/dga-drawer/dga-drawer.tsx",
                            "id": "src/components/dga-drawer/dga-drawer.tsx::IRoute"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false
            },
            "headerLogo": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "header-logo",
                "reflect": false
            }
        };
    }
}
//# sourceMappingURL=dga-drawer.js.map
