import { Host, h } from "@stencil/core";
export class DgaSecondNavHeaderItem {
    connectedCallback() {
        this.el.childNodes.forEach((item) => {
            const el = item;
            if (el.tagName === 'DGA-ICON'.toLocaleUpperCase() && el.attributes.getNamedItem('slot') === null) {
                el.setAttribute('slot', 'icon');
            }
        });
    }
    render() {
        return (h(Host, { key: '4d2ca1cf5c638f5647d9f80f47aa505455434576' }, h("slot", { key: '9aaf12cbe019b34b41e8cbed03b508b1c0d01a28', name: 'icon' }), h("slot", { key: 'adccc572b834f22150efdae46405800b5f5b588a', name: 'label' }, this.label)));
    }
    static get is() { return "dga-second-nav-header-item"; }
    static get properties() {
        return {
            "label": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": true,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false,
                "attribute": "label",
                "reflect": false
            }
        };
    }
    static get elementRef() { return "el"; }
}
//# sourceMappingURL=dga-second-nav-header-item.js.map
