import { PopoverContentTemplateContext, PopoverPassThrough } from "primeng/types/popover"; import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import { MotionEvent, MotionOptions } 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 { AppendTo, CSSProperties } from "primeng/types/shared"; import { Subscription } from "rxjs"; import { BaseStyle } from "primeng/base"; export * from "primeng/types/popover"; export declare class PopoverStyle extends BaseStyle { name: string; style: string; classes: { root: string; content: string; }; inlineStyles: { root: ({ instance }: { instance: any; }) => any; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Popover is a container component that can overlay other components on page. * @group Components */ export declare class Popover extends BaseComponent { componentName: string; $pcPopover: Popover | undefined; bindDirectiveInstance: Bind; /** * Defines a string that labels the input for accessibility. * @group Props */ ariaLabel: import("@angular/core").InputSignal; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: import("@angular/core").InputSignal; /** * Enables to hide the overlay when outside is clicked. * @group Props */ dismissable: import("@angular/core").InputSignalWithTransform; /** * Inline style of the component. * @group Props */ style: import("@angular/core").InputSignal; /** * Style class of the component. * @group Props */ styleClass: import("@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: import("@angular/core").InputSignal; /** * Whether to automatically manage layering. * @group Props */ autoZIndex: import("@angular/core").InputSignalWithTransform; /** * Aria label of the close icon. * @group Props */ ariaCloseLabel: import("@angular/core").InputSignal; /** * Base zIndex value to use in layering. * @group Props */ baseZIndex: import("@angular/core").InputSignalWithTransform; /** * When enabled, first button receives focus on show. * @group Props */ focusOnShow: import("@angular/core").InputSignalWithTransform; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; computedMotionOptions: import("@angular/core").Signal; /** * Callback to invoke when an overlay becomes visible. * @group Emits */ onShow: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when an overlay gets hidden. * @group Emits */ onHide: import("@angular/core").OutputEmitterRef; $appendTo: import("@angular/core").Signal; container: Nullable; overlayVisible: import("@angular/core").WritableSignal; render: import("@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: import("@angular/core").Signal | undefined>; onCloseClickCallback: any; contentTemplateContext: import("@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: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class PopoverModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }