import { Component, ContentChild, ChangeDetectorRef, Inject, Optional, ViewChild } from '@angular/core';
import { GLOBAL_CONFIG_TOKEN, I18nService } from '@eui/core';
import { EclLanguageService } from '../../../../services/ecl-language.service';
import { EclLanguageListComponent } from '../../../ecl-language-list';
import { EclSiteHeaderComponentBase } from '../../../ecl-site-header/deprecated/common/ecl-site-header.component';
import { EclSiteHeaderStandardisedComponent } from '../../../ecl-site-header/deprecated/ecl-site-header-standardised/ecl-site-header-standardised.component';
import { EclAppComponentBase } from '../common';
import * as i0 from "@angular/core";
import * as i1 from "../../../../services/ecl-language.service";
import * as i2 from "@eui/core";
import * as i3 from "@angular/common";
import * as i4 from "../../../ecl-language-list/ecl-language-list.component";
import * as i5 from "../../../ecl-language-list/ecl-language-list-item.component";
/**
 * @deprecated Please use EclAppComponent instead
 */
export class EclAppStandardisedComponent extends EclAppComponentBase {
    constructor(config, eclLanguageService, i18nService, cd) {
        super(eclLanguageService, eclLanguageService, i18nService, cd);
        this.config = config;
        this.eclLanguageService = eclLanguageService;
        this.i18nService = i18nService;
        this.cd = cd;
    }
}
/** @nocollapse */ EclAppStandardisedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: EclAppStandardisedComponent, deps: [{ token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i1.EclLanguageService }, { token: i2.I18nService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ EclAppStandardisedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.6", type: EclAppStandardisedComponent, selector: "ecl-app-standardised", queries: [{ propertyName: "eclSiteHeader", first: true, predicate: EclSiteHeaderStandardisedComponent, descendants: true }], viewQueries: [{ propertyName: "eclLanguageList", first: true, predicate: EclLanguageListComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n\n<ecl-language-list \n    [isHidden]=\"true\"\n    [isOverlay]=\"true\">\n    <ecl-language-list-item \n        *ngFor=\"let lang of languages\" \n        [languageCode]=\"lang.code\" \n        [languageLabel]=\"lang.label\">\n    </ecl-language-list-item>\n</ecl-language-list>", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.EclLanguageListComponent, selector: "ecl-language-list", inputs: ["isOverlay", "selectedLanguageCode", "isHidden"], outputs: ["languageSelected", "close"] }, { kind: "component", type: i5.EclLanguageListItemComponent, selector: "ecl-language-list-item", inputs: ["isActive", "languageCode", "languageLabel"], outputs: ["itemClick"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: EclAppStandardisedComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ecl-app-standardised', template: "<ng-content></ng-content>\n\n<ecl-language-list \n    [isHidden]=\"true\"\n    [isOverlay]=\"true\">\n    <ecl-language-list-item \n        *ngFor=\"let lang of languages\" \n        [languageCode]=\"lang.code\" \n        [languageLabel]=\"lang.label\">\n    </ecl-language-list-item>\n</ecl-language-list>" }]
        }], ctorParameters: function () { return [{ type: undefined, decorators: [{
                    type: Optional
                }, {
                    type: Inject,
                    args: [GLOBAL_CONFIG_TOKEN]
                }] }, { type: i1.EclLanguageService }, { type: i2.I18nService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { eclSiteHeader: [{
                type: ContentChild,
                args: [EclSiteHeaderStandardisedComponent]
            }], eclLanguageList: [{
                type: ViewChild,
                args: [EclLanguageListComponent]
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNsLWFwcC1zdGFuZGFyZGlzZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2VjbC1hcHAvZGVwcmVjYXRlZC9lY2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