// dga-header.tsx
import { h } from "@stencil/core";
import { DgaNavHeader } from "./dga-nav-header";
import { DgaNavHeaderMain } from "./dga-nav-header-main";
import { DgaNavHeaderLogos } from "./dga-nav-header-logos";
import { DgaNavHeaderMenu } from "./dga-nav-header-menu";
import { DgaNavHeaderLink } from "./dga-nav-header-link";
import { DgaNavHeaderSubMenuColumn } from "./dga-nav-header-sub-menu-column";
import { DgaNavHeaderSubMenuLink } from "./dga-nav-header-sub-menu-link";
import { DgaNavHeaderActions } from "./dga-nav-header-actions";
import { DgaHeaderActionBtn } from "./dga-header-action-btn";
export class DgaHeader {
    render() {
        return (h(DgaNavHeader, { key: 'bbf97905365baacf3b50d21931641d7eb532a403', fullWidth: this.config.fullWidth, divider: this.config.divider }, h(DgaNavHeaderMain, { key: 'bec4dda63f3b55b683137acf2a8b88c90f90f75d', collapsed: true }, h(DgaNavHeaderLogos, { key: '3c6eef3cb2a426a3ef893ee8162e7ea846ba9f70', logoSrc: this.config.logoSrc, govSrc: this.config.govSrc, logoLink: this.config.logoLink, govLink: this.config.govLink }), h(DgaNavHeaderMenu, { key: '72ba1dc72f246b2c1a87e77b03d6a51ed6414d75' }, this.config.headerLinks.map((link, index) => (h(DgaNavHeaderLink, { key: index, active: false, onClick: () => console.log('clicked'), label: link.label, icon: link.icon, subMenuBackground: this.config.subMenuBackground, subMenuFullWidth: this.config.subMenuFullWidth }, link.subMenu.map((subMenu, subMenuIndex) => (h(DgaNavHeaderSubMenuColumn, { key: subMenuIndex }, subMenu.columns.map((column, columnIndex) => (h(DgaNavHeaderSubMenuColumn, { key: columnIndex }, column.links.map((subMenuLink, linkIndex) => (h(DgaNavHeaderSubMenuLink, { key: linkIndex, background: this.config.subMenuBackground, label: subMenuLink.label, helperText: subMenuLink.helperText, icon: subMenuLink.icon, linkStyle: subMenuLink.linkStyle })))))))))))))), h(DgaNavHeaderActions, { key: '6f3887e5bb0108f5e78ed8502d436c41ff4df36e' }, this.config.actions.map((action, index) => (h(DgaHeaderActionBtn, { key: index, onClick: () => console.log('clicked'), label: action.label, icon: action.icon }))))));
    }
    static get is() { return "dga-header"; }
    static get properties() {
        return {
            "config": {
                "type": "unknown",
                "mutable": false,
                "complexType": {
                    "original": "IHeaderConfig",
                    "resolved": "IHeaderConfig",
                    "references": {
                        "IHeaderConfig": {
                            "location": "local",
                            "path": "/home/mamoud/Documents/temp/components/platform-code-cross-platform-storybook/packages/core/src/components/dga-header/dga-header.tsx",
                            "id": "src/components/dga-header/dga-header.tsx::IHeaderConfig"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false
            }
        };
    }
}
//# sourceMappingURL=dga-header.js.map
