guachos-user-panel
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.9.
42 lines (41 loc) • 1.74 kB
TypeScript
import { OnInit, EventEmitter, AfterViewInit, ElementRef, ChangeDetectorRef } from '@angular/core';
import * as i0 from "@angular/core";
export interface UserPanelOptions {
showProfile?: boolean;
showSecondaryLogout?: boolean;
color?: string;
width?: string;
}
export declare class GuachosUserPanelComponent implements OnInit, AfterViewInit {
private cdRef;
primary: ElementRef;
onEditProfile: EventEmitter<any>;
onLogout: EventEmitter<any>;
onLogoutAlternative: EventEmitter<any>;
onCustomButtonClick: EventEmitter<any>;
_apiUrl: any;
_imagePath: any;
_loggedInUser: any;
_options: UserPanelOptions;
_customButtons: any;
primaryColor: any;
set customButtons(value: any);
get customButtons(): any;
set options(value: any);
get options(): any;
set loggedInUser(value: any);
get loggedInUser(): any;
set apiUrl(value: any);
get apiUrl(): any;
set imagePath(value: any);
get imagePath(): any;
constructor(cdRef: ChangeDetectorRef);
ngAfterViewInit(): void;
ngOnInit(): void;
editProfile(): void;
logout(): void;
logoutSecondarySession(): void;
clickCustomButton(button: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<GuachosUserPanelComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GuachosUserPanelComponent, "guachos-user-panel", never, { "customButtons": "customButtons"; "options": "options"; "loggedInUser": "loggedInUser"; "apiUrl": "apiUrl"; "imagePath": "imagePath"; }, { "onEditProfile": "onEditProfile"; "onLogout": "onLogout"; "onLogoutAlternative": "onLogoutAlternative"; "onCustomButtonClick": "onCustomButtonClick"; }, never, never>;
}