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