import { PopoverPassThrough, PopoverContentTemplateContext } from 'primeng/types/popover'; export * from 'primeng/types/popover'; import * as i0 from '@angular/core'; import { EventEmitter, TemplateRef, QueryList, NgZone } from '@angular/core'; import { MotionOptions, MotionEvent } from '@primeuix/motion'; import * as i2 from 'primeng/api'; import { PrimeTemplate, 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 { Subscription } from 'rxjs'; import * as _primeuix_styled from '@primeuix/styled'; import { BaseStyle } from 'primeng/base'; declare class PopoverStyle extends BaseStyle { name: string; style: _primeuix_styled.StyleType; classes: { root: string; content: string; }; inlineStyles: { root: () => { position: string; }; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Popover is a container component that can overlay other components on page. * @group Components */ declare class Popover extends BaseComponent { $pcPopover: Popover | undefined; bindDirectiveInstance: Bind; onAfterViewChecked(): void; /** * Defines a string that labels the input for accessibility. * @group Props */ ariaLabel: string | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: string | undefined; /** * Enables to hide the overlay when outside is clicked. * @group Props */ dismissable: boolean; /** * Inline style of the component. * @group Props */ style: { [klass: string]: any; } | null | undefined; /** * Style class of the component. * @group Props */ styleClass: string | undefined; /** * 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 'self' * @group Props */ appendTo: i0.InputSignal; /** * Whether to automatically manage layering. * @group Props */ autoZIndex: boolean; /** * Aria label of the close icon. * @group Props */ ariaCloseLabel: string | undefined; /** * Base zIndex value to use in layering. * @group Props */ baseZIndex: number; /** * When enabled, first button receives focus on show. * @group Props */ focusOnShow: boolean; /** * Transition options of the show animation. * @group Props * @deprecated since v21.0.0. Use `motionOptions` instead. */ showTransitionOptions: string; /** * Transition options of the hide animation. * @group Props * @deprecated since v21.0.0. Use `motionOptions` instead. */ hideTransitionOptions: string; /** * The motion options. * @group Props */ motionOptions: i0.InputSignal; computedMotionOptions: i0.Signal; /** * Callback to invoke when an overlay becomes visible. * @group Emits */ onShow: EventEmitter; /** * Callback to invoke when an overlay gets hidden. * @group Emits */ onHide: EventEmitter; $appendTo: i0.Signal; container: Nullable; overlayVisible: boolean; render: boolean; selfClick: boolean; documentClickListener: VoidListener; target: any; willHide: Nullable; scrollHandler: Nullable; documentResizeListener: VoidListener; /** * Custom content template. * @param {PopoverContentTemplateContext} context - content context. * @see {@link PopoverContentTemplateContext} * @group Templates */ contentTemplate: Nullable>; templates: QueryList; _contentTemplate: TemplateRef | undefined; destroyCallback: Nullable; overlayEventListener: Nullable<(event?: any) => void>; overlaySubscription: Subscription | undefined; _componentStyle: PopoverStyle; zone: NgZone; overlayService: OverlayService; onAfterContentInit(): 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: KeyboardEvent): void; onWindowResize(): void; bindDocumentResizeListener(): void; unbindDocumentResizeListener(): void; bindScrollListener(): void; unbindScrollListener(): void; onContainerDestroy(): void; onDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_dismissable: unknown; static ngAcceptInputType_autoZIndex: unknown; static ngAcceptInputType_baseZIndex: unknown; static ngAcceptInputType_focusOnShow: unknown; } declare class PopoverModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Popover, PopoverModule, PopoverStyle };