import { p as proxyCustomElement, H, h } from './p-604af0ee.js';
import { D as DgaNavHeader } from './p-181224e6.js';
import { D as DgaNavHeaderMain } from './p-d45eca6c.js';
import { D as DgaNavHeaderLogos } from './p-4219a2d2.js';
import { D as DgaNavHeaderMenu } from './p-94f7324b.js';
import { D as DgaNavHeaderLink } from './p-5c46b3a5.js';
import { D as DgaNavHeaderSubMenuColumn } from './p-029704a6.js';
import { D as DgaNavHeaderSubMenuLink } from './p-95ec9284.js';
import { D as DgaNavHeaderActions } from './p-7b409fb5.js';
import { D as DgaHeaderActionBtn } from './p-c32440a4.js';

const DgaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DgaHeader extends H {
    constructor() {
        super();
        this.__registerHost();
    }
    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 }))))));
    }
}, [0, "dga-header", {
        "config": [16]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["dga-header"];
    components.forEach(tagName => { switch (tagName) {
        case "dga-header":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, DgaHeader$1);
            }
            break;
    } });
}

const DgaHeader = DgaHeader$1;
const defineCustomElement = defineCustomElement$1;

export { DgaHeader, defineCustomElement };

//# sourceMappingURL=dga-header.js.map