@alfresco/adf-core
Version:
31 lines (30 loc) • 1.85 kB
TypeScript
import { MatMenuTrigger, MenuPositionX, MenuPositionY } from '@angular/material/menu';
import { IdentityUserModel } from '../auth/models/identity-user.model';
import * as i0 from "@angular/core";
export declare class IdentityUserInfoComponent {
trigger: MatMenuTrigger;
/** Is the user logged in */
isLoggedIn: boolean;
/** User */
identityUser: IdentityUserModel;
/** Custom path for the background banner image for APS users. */
bpmBackgroundImage: string;
/** Custom choice for opening the menu at the bottom. Can be `before` or `after`. */
menuPositionX: MenuPositionX;
/** Custom choice for opening the menu at the bottom. Can be `above` or `below`. */
menuPositionY: MenuPositionY;
/** Shows/hides the username next to the user info button. */
showName: boolean;
/**
* When the username is shown, this defines its position relative to the user info button.
* Can be `right` or `left`.
*/
namePosition: 'right' | 'left';
onKeyPress(event: KeyboardEvent): void;
private closeUserModal;
stopClosing(event: Event): void;
get showOnRight(): boolean;
get canShow(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<IdentityUserInfoComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IdentityUserInfoComponent, "adf-identity-user-info", never, { "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; "identityUser": { "alias": "identityUser"; "required": false; }; "bpmBackgroundImage": { "alias": "bpmBackgroundImage"; "required": false; }; "menuPositionX": { "alias": "menuPositionX"; "required": false; }; "menuPositionY": { "alias": "menuPositionY"; "required": false; }; "showName": { "alias": "showName"; "required": false; }; "namePosition": { "alias": "namePosition"; "required": false; }; }, {}, never, never, true, never>;
}