import { Component, ContentChild, HostBinding } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';
import { EclSiteHeaderLoginComponent } from '../common/ecl-site-header-login.component';
import { EclSiteHeaderSearchComponent } from '../common/ecl-site-header-search.component';
import { EclSiteHeaderLanguageComponent } from '../common/ecl-site-header-language.component';
import { EclSiteHeaderComponent } from '../common/ecl-site-header.component';
import { EclLanguageService } from '../../../services/ecl-language.service';
import { EclSiteHeaderCoreLanguageComponent } from './language/ecl-site-header-core-language.component';
import { EclSiteHeaderCoreLoginComponent } from './login/ecl-site-header-core-login.component';
import { EclSiteHeaderCoreSearchComponent } from './search/ecl-site-header-core-search.component';
import * as i0 from "@angular/core";
import * as i1 from "../../../services/ecl-language.service";
import * as i2 from "@ngx-translate/core";
import * as i3 from "../../ecl-link/ecl-link.directive";
export class EclSiteHeaderCoreComponent extends EclSiteHeaderComponent {
    constructor(eclLanguageService, translateService) {
        super(eclLanguageService, translateService);
        this.eclLanguageService = eclLanguageService;
        this.translateService = translateService;
        this.className = 'ecl-site-header-core';
    }
}
/** @nocollapse */ /** @nocollapse */ EclSiteHeaderCoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: EclSiteHeaderCoreComponent, deps: [{ token: i1.EclLanguageService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ /** @nocollapse */ EclSiteHeaderCoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.6", type: EclSiteHeaderCoreComponent, selector: "ecl-site-header-core", host: { properties: { "class": "this.className" } }, queries: [{ propertyName: "eclLoginComponent", first: true, predicate: EclSiteHeaderCoreLoginComponent, descendants: true }, { propertyName: "eclSearchComponent", first: true, predicate: EclSiteHeaderCoreSearchComponent, descendants: true }, { propertyName: "eclLanguageComponent", first: true, predicate: EclSiteHeaderCoreLanguageComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-site-header-core__container ecl-container\">\n    <div class=\"ecl-site-header-core__top\">\n        <a eclLink \n            variant=\"standalone\" \n            class=\"ecl-site-header-core__logo-link\"\n            href=\"https://ec.europa.eu/info/index_{{ languageCode }}\"\n            (click)=\"onECLogoClick($event)\" \n            [attr.aria-label]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\">\n\n            <ng-content select=\"[eclSiteHeaderEnvironment]\"></ng-content>\n\n            <img alt=\"European Commission logo\" \n                [attr.title]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\" \n                class=\"ecl-site-header-core__logo-image\" \n                src=\"./assets/images/ecl/ec/logo/logo-ec--{{ languageCode }}.svg\"/>\n        </a>\n        <ng-content select=\"ecl-site-header-core-action\"></ng-content>\n    </div>\n</div>\n\n<ng-content select=\"ecl-menu\"></ng-content>\n<ng-content select=\"ecl-language-list\"></ng-content>", styles: [":host{display:block}\n"], directives: [{ type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["variant", "isNegative", "isNoVisited"] }], pipes: { "translate": i2.TranslatePipe } });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.6", ngImport: i0, type: EclSiteHeaderCoreComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ecl-site-header-core', styles: [`
        :host {
            display: block;
        }
    `], template: "<div class=\"ecl-site-header-core__container ecl-container\">\n    <div class=\"ecl-site-header-core__top\">\n        <a eclLink \n            variant=\"standalone\" \n            class=\"ecl-site-header-core__logo-link\"\n            href=\"https://ec.europa.eu/info/index_{{ languageCode }}\"\n            (click)=\"onECLogoClick($event)\" \n            [attr.aria-label]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\">\n\n            <ng-content select=\"[eclSiteHeaderEnvironment]\"></ng-content>\n\n            <img alt=\"European Commission logo\" \n                [attr.title]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\" \n                class=\"ecl-site-header-core__logo-image\" \n                src=\"./assets/images/ecl/ec/logo/logo-ec--{{ languageCode }}.svg\"/>\n        </a>\n        <ng-content select=\"ecl-site-header-core-action\"></ng-content>\n    </div>\n</div>\n\n<ng-content select=\"ecl-menu\"></ng-content>\n<ng-content select=\"ecl-language-list\"></ng-content>" }]
        }], ctorParameters: function () { return [{ type: i1.EclLanguageService }, { type: i2.TranslateService }]; }, propDecorators: { className: [{
                type: HostBinding,
                args: ['class']
            }], eclLoginComponent: [{
                type: ContentChild,
                args: [EclSiteHeaderCoreLoginComponent]
            }], eclSearchComponent: [{
                type: ContentChild,
                args: [EclSiteHeaderCoreSearchComponent]
            }], eclLanguageComponent: [{
                type: ContentChild,
                args: [EclSiteHeaderCoreLanguageComponent]
            }] } });
//# sourceMappingURL=data:application/json;base64, 