import { p as proxyCustomElement, H, h } from './p-BhqVmlhr.js';
import { D as DgaNavHeader } from './p-DXKT25WK.js';
import { D as DgaNavHeaderMain } from './p-D3dLYGkN.js';
import { D as DgaNavHeaderLogos } from './p-hAJIuLq_.js';
import { D as DgaNavHeaderMenu } from './p-rgcxXsU5.js';
import { D as DgaNavHeaderLink } from './p-r1rezMav.js';
import { D as DgaNavHeaderSubMenuColumn } from './p-By3ydSQh.js';
import { D as DgaNavHeaderSubMenuLink } from './p-BQHQHOdt.js';
import { D as DgaNavHeaderActions } from './p-yrE_Kzfz.js';
import { D as DgaHeaderActionBtn } from './p-BrQUh9Zi.js';

const DgaHeader$1 = /*@__PURE__*/ proxyCustomElement(class DgaHeader extends H {
    constructor() {
        super();
        this.__registerHost();
    }
    render() {
        return (h(DgaNavHeader, { key: '9e62c062fc50847c73f1b6c17c63c66866f92a55', fullWidth: this.config.fullWidth, divider: this.config.divider }, h(DgaNavHeaderMain, { key: 'e70330eaaefa47ce0a069d4ae6ecd606eba4db6c', collapsed: true }, h(DgaNavHeaderLogos, { key: '4e9a2128fac2b4abdc945578291e9328d980ffa6', logoSrc: this.config.logoSrc, govSrc: this.config.govSrc, logoLink: this.config.logoLink, govLink: this.config.govLink }), h(DgaNavHeaderMenu, { key: '00c775f0573b14e9f64fdc43dcddf82bd83b6cc1' }, 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: '26c1affa0e5e5cbc6fcd3b3eaee0abf85e47f428' }, 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 };
