import { PopoverPassThrough, PopoverContentTemplateContext } from 'primeng/types/popover'; export * from 'primeng/types/popover'; import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import { MotionOptions, MotionEvent } from '@primeuix/motion'; import * as i2 from 'primeng/api'; import { OverlayService } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { CSSProperties, AppendTo } from 'primeng/types/shared'; import { Subscription } from 'rxjs'; import { BaseStyle } from 'primeng/base'; declare class PopoverStyle extends BaseStyle { name: string; style: string; classes: { root: string; content: string; }; inlineStyles: { root: ({ instance }: { instance: any; }) => any; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * Popover is a container component that can overlay other components on page. * @group Components */ declare class Popover extends BaseComponent { componentName: string; $pcPopover: Popover | undefined; bindDirectiveInstance: Bind; /** * Defines a string that labels the input for accessibility. * @group Props */ ariaLabel: _angular_core.InputSignal; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: _angular_core.InputSignal; /** * Enables to hide the overlay when outside is clicked. * @group Props */ dismissable: _angular_core.InputSignalWithTransform; /** * Inline style of the component. * @group Props */ style: _angular_core.InputSignal; /** * Style class of the component. * @group Props */ styleClass: _angular_core.InputSignal; /** * Target element to attach the overlay, valid values are "body" or a local ng-template variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). * @defaultValue 'body' * @group Props */ appendTo: _angular_core.InputSignal; /** * Whether to automatically manage layering. * @group Props */ autoZIndex: _angular_core.InputSignalWithTransform; /** * Aria label of the close icon. * @group Props */ ariaCloseLabel: _angular_core.InputSignal; /** * Base zIndex value to use in layering. * @group Props */ baseZIndex: _angular_core.InputSignalWithTransform; /** * When enabled, first button receives focus on show. * @group Props */ focusOnShow: _angular_core.InputSignalWithTransform; /** * The motion options. * @group Props */ motionOptions: _angular_core.InputSignal; computedMotionOptions: _angular_core.Signal; /** * Callback to invoke when an overlay becomes visible. * @group Emits */ onShow: _angular_core.OutputEmitterRef; /** * Callback to invoke when an overlay gets hidden. * @group Emits */ onHide: _angular_core.OutputEmitterRef; $appendTo: _angular_core.Signal; container: Nullable; overlayVisible: _angular_core.WritableSignal; render: _angular_core.WritableSignal; selfClick: boolean; documentClickListener: VoidListener; target: HTMLElement | null; willHide: Nullable; scrollHandler: Nullable; documentResizeListener: VoidListener; /** * Custom content template. * @param {PopoverContentTemplateContext} context - content context. * @see {@link PopoverContentTemplateContext} * @group Templates */ contentTemplate: _angular_core.Signal | undefined>; onCloseClickCallback: any; contentTemplateContext: _angular_core.Signal; destroyCallback: Nullable<() => void>; overlayEventListener: Nullable<(event?: any) => void>; overlaySubscription: Subscription | undefined; _componentStyle: PopoverStyle; overlayService: OverlayService; onAfterViewChecked(): void; bindDocumentClickListener(): void; unbindDocumentClickListener(): void; /** * Toggles the visibility of the panel. * @param {Event} event - Browser event * @param {Target} target - Target element. * @group Method */ toggle(event: any, target?: any): void; /** * Displays the panel. * @param {Event} event - Browser event * @param {Target} target - Target element. * @group Method */ show(event: any, target?: any): void; onOverlayClick(event: MouseEvent): void; onContentClick(event: MouseEvent): void; hasTargetChanged(event: any, target: any): boolean; appendOverlay(): void; restoreAppend(): void; setZIndex(): void; align(): void; onAnimationStart(event: MotionEvent): void; onAnimationEnd(): void; focus(): void; /** * Hides the panel. * @group Method */ hide(): void; onCloseClick(event: MouseEvent): void; onEscapeKeydown(_event: Event): void; onWindowResize(): void; bindDocumentResizeListener(): void; unbindDocumentResizeListener(): void; bindScrollListener(): void; unbindScrollListener(): void; onContainerDestroy(): void; onDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class PopoverModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { Popover, PopoverModule, PopoverStyle };