import { Component, ChangeDetectionStrategy, HostBinding, ViewEncapsulation, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "../../eui-user-profile/user-profile.component";
const _c0 = [[["eui-user-profile-menu"]]];
const _c1 = ["eui-user-profile-menu"];
export class EuiHeaderUserProfileComponent {
    constructor() {
        this.class = 'eui-header-user-profile';
        this.hasWelcomeLabel = false;
        this.welcomeLabel = 'Welcome';
        this.impersonateLabel = 'impersonating';
    }
}
/** @nocollapse */ EuiHeaderUserProfileComponent.ɵfac = function EuiHeaderUserProfileComponent_Factory(t) { return new (t || EuiHeaderUserProfileComponent)(); };
/** @nocollapse */ EuiHeaderUserProfileComponent.ɵcmp = i0.ɵɵdefineComponent({ type: EuiHeaderUserProfileComponent, selectors: [["eui-header-user-profile"]], hostVars: 2, hostBindings: function EuiHeaderUserProfileComponent_HostBindings(rf, ctx) { if (rf & 2) {
        i0.ɵɵclassMap(ctx.class);
    } }, inputs: { hasWelcomeLabel: "hasWelcomeLabel", avatarUrl: "avatarUrl", welcomeLabel: "welcomeLabel", impersonateLabel: "impersonateLabel" }, ngContentSelectors: _c1, decls: 2, vars: 4, consts: [[3, "hasWelcomeLabel", "welcomeLabel", "impersonateLabel", "avatarUrl"]], template: function EuiHeaderUserProfileComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵprojectionDef(_c0);
        i0.ɵɵelementStart(0, "eui-user-profile", 0);
        i0.ɵɵprojection(1);
        i0.ɵɵelementEnd();
    } if (rf & 2) {
        i0.ɵɵproperty("hasWelcomeLabel", ctx.hasWelcomeLabel)("welcomeLabel", ctx.welcomeLabel)("impersonateLabel", ctx.impersonateLabel)("avatarUrl", ctx.avatarUrl);
    } }, directives: [i1.EuiUserProfileComponent], encapsulation: 2 });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(EuiHeaderUserProfileComponent, [{
        type: Component,
        args: [{
                selector: 'eui-header-user-profile',
                templateUrl: './header-user-profile.component.html',
                changeDetection: ChangeDetectionStrategy.Default,
                encapsulation: ViewEncapsulation.None,
            }]
    }], null, { class: [{
            type: HostBinding
        }], hasWelcomeLabel: [{
            type: Input
        }], avatarUrl: [{
            type: Input
        }], welcomeLabel: [{
            type: Input
        }], impersonateLabel: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLXVzZXItcHJvZmlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiL2J1aWxkcy9ldWkvY2MtY3Nkci1yb290L3BhY2thZ2VzL2V1aS9wYWNrYWdlcy9jb21wb25lbnRzLW5leHQvc3JjLyIsInNvdXJjZXMiOlsibGliL2xheW91dC9ldWktaGVhZGVyL2hlYWRlci11c2VyLXByb2ZpbGUvaGVhZGVyLXVzZXItcHJvZmlsZS5jb21wb25lbnQudHMiLCJsaWIvbGF5b3V0L2V1aS1oZWFkZXIvaGVhZGVyLXVzZXItcHJvZmlsZS9oZWFkZXItdXNlci1wcm9maWxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsdUJBQXVCLEVBQUUsV0FBVyxFQUFFLGlCQUFpQixFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFRMUcsTUFBTSxPQUFPLDZCQUE2QjtJQU4xQztRQVFtQixVQUFLLEdBQUcseUJBQXlCLENBQUM7UUFDeEMsb0JBQWUsR0FBRyxLQUFLLENBQUM7UUFFeEIsaUJBQVksR0FBRyxTQUFTLENBQUM7UUFDekIscUJBQWdCLEdBQUcsZUFBZSxDQUFDO0tBQy9DOzs2SEFQWSw2QkFBNkI7cUZBQTdCLDZCQUE2Qjs7OztRQ1IxQywyQ0FHSTtRQUFBLGtCQUEyQztRQUMvQyxpQkFBbUI7O1FBSkQscURBQW1DLGtDQUFBLDBDQUFBLDRCQUFBOztrRERReEMsNkJBQTZCO2NBTnpDLFNB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