import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core'; import { PoListBoxComponent } from '../po-listbox'; import { PoPopupAction } from './po-popup-action.interface'; import { PoPopupBaseComponent } from './po-popup-base.component'; /** * * @docsExtends PoPopupBaseComponent * * @example * * * * * * * * * * * * * * * * * * */ export declare class PoPopupComponent extends PoPopupBaseComponent implements AfterViewInit { id: string; private readonly renderer; private readonly router; private readonly poControlPosition; changeDetector: ChangeDetectorRef; popupRef: ElementRef; listbox: ElementRef; poListBoxRef: PoListBoxComponent; ngAfterViewInit(): void; /** * Fecha o componente *popup*. * * > Por padrão, este comportamento é acionado somente ao clicar fora do componente ou em determinada ação / url. */ close(): void; onActionClick(popupAction: PoPopupAction): void | Promise; /** * Abre o componente *popup*. * * > É possível informar um parâmetro que será utilizado na execução da ação do item e na função de desabilitar. */ open(param?: any): void; returnBooleanValue(popupAction: any, property: string): any; /** * Responsável por abrir e fechar o *popup*. * * Quando disparado abrirá o *popup* e caso o mesmo já estiver aberto e possuir o mesmo `target` irá fecha-lo. * * É possível informar um parâmetro que será utilizado na execução da ação do item e na função de desabilitar. */ toggle(param?: any): void; onClickItem(item: any): void; protected checkAllActionIsInvisible(): boolean; private clickedOutDisabledItem; private clickedOutHeaderTemplate; private clickedOutTarget; private closePopupOnClickout; private elementContains; private hasContentToShow; private initializeListeners; private readonly onScroll; private openUrl; private removeListeners; private setPosition; private validateInitialContent; }