import * as _angular_core from '@angular/core'; import { Signal, InjectionToken } from '@angular/core'; import * as _lucca_front_ng_user_popover from '@lucca-front/ng/user-popover'; import { ILuUser } from '@lucca-front/ng/user'; import { Observable } from 'rxjs'; import { LuTranslation } from '@lucca-front/ng/core'; import { PopoverDirective } from '@lucca-front/ng/popover2'; interface LuUserPopoverDepartment { id: number; name: string; } interface LuEmployeeCardArea { id: number; name: string; } interface LuUserPopoverWorkLocation { id: number; name: string; color?: string; area: LuEmployeeCardArea; } interface LuUserPopoverLinks { schedule?: EntityLinks; hrCard?: EntityLinks; } interface EntityLinks { href: string; } interface LuUserPopover { id: number; firstName: string; lastName: string; userDepartment?: LuUserPopoverDepartment; jobTitle?: string; pictureHref?: string; isWorkingNow?: boolean; leaveEndsOn?: Date; leaveEndIsFirstHalfDay: boolean; currentWorkLocation?: LuUserPopoverWorkLocation; dtContractStart?: Date; dtContractEnd?: Date; _links?: LuUserPopoverLinks; } declare class LuUserPopoverComponent { #private; luUser: Signal; intl: _angular_core.InputSignalWithTransform<_lucca_front_ng_user_popover.LuPopupEmployeeTranslations, Partial<_lucca_front_ng_user_popover.LuPopupEmployeeTranslations>>; skeletonWidths: string[]; employee$: Observable; userPictureDisplay$: Observable<"img" | "initials">; userPictureHref$: Observable; userInitials$: Observable<{ initials: string; color: number; }>; pictureError(): void; getRandomPercent(min?: number, max?: number): string; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare const LU_POPUP_EMPLOYEE_TRANSLATIONS: InjectionToken>; interface LuPopupEmployeeTranslations { EMPLOYEE_CARD_PANEL_COMING_ON_LABEL: string; EMPLOYEE_CARD_PANEL_ABSENCE_LABEL: string; EMPLOYEE_CARD_PANEL_MORNING_LABEL: string; EMPLOYEE_CARD_PANEL_PRESENT_LABEL: string; EMPLOYEE_CARD_PANEL_EMPLOYEE_HAS_LEAVED_LABEL: string; EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL: string; EMPLOYEE_CARD_PANEL_UNTIL_TODAY_LABEL_MORNING: string; EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_LABEL: string; EMPLOYEE_CARD_PANEL_UNTIL_TOMORROW_MORNING_LABEL: string; EMPLOYEE_CARD_PANEL_UNTIL_DATE_LABEL: string; EMPLOYEE_CARD_PANEL_UNTIL_MORNING_DATE_LABEL: string; EMPLOYEE_CARD_PANEL_WORKING_LOCATION: string; EMPLOYEE_CARD_PANEL_PLANNING: string; } declare const luPopupEmployeeTranslations: LuTranslation; declare const LU_USER_POPOVER_USER: InjectionToken>; /** * @deprecated no longer needed as popover is always activated */ declare const USER_POPOVER_IS_ACTIVATED: InjectionToken>; /** * @deprecated no longer needed as user popover uses `luPopover2` */ declare function provideLuUserPopover(): _angular_core.EnvironmentProviders; declare class LuUserPopoverDirective extends PopoverDirective { luUserPopover: _angular_core.InputSignal; set luUserPopoverDisabled(disabled: boolean); additionalProviders: { provide: _angular_core.InjectionToken<_angular_core.Signal>; useValue: _angular_core.InputSignal; }[]; constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } export { LU_POPUP_EMPLOYEE_TRANSLATIONS, LU_USER_POPOVER_USER, LuUserPopoverComponent, LuUserPopoverDirective, USER_POPOVER_IS_ACTIVATED, luPopupEmployeeTranslations, provideLuUserPopover }; export type { LuPopupEmployeeTranslations };