import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import { MotionOptions } from "@primeuix/motion"; import * as i2 from "primeng/api"; import { ConfirmEventType, Confirmation, Footer } from "primeng/api"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { Dialog } from "primeng/dialog"; import { AppendTo, CSSProperties } from "primeng/types/shared"; import { Nullable } from "primeng/ts-helpers"; import { ConfirmDialogDefaultFocus, ConfirmDialogHeadlessTemplateContext, ConfirmDialogMessageTemplateContext, ConfirmDialogPassThrough } from "primeng/types/confirmdialog"; import { DialogPosition } from "primeng/types/dialog"; import { Subscription } from "rxjs"; import { BaseStyle } from "primeng/base"; export * from "primeng/types/confirmdialog"; export declare class ConfirmDialogStyle extends BaseStyle { name: string; style: string; classes: { root: string; icon: string; message: string; pcRejectButton: string; pcAcceptButton: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * ConfirmDialog uses a Dialog UI with confirmDialog method or tag. * * [Live Demo](https://www.primeng.org/confirmdialog) * * @module confirmdialogstyle * */ export declare enum ConfirmDialogClasses { /** * Class name of the root element */ root = "p-confirmdialog", /** * Class name of the icon element */ icon = "p-confirmdialog-icon", /** * Class name of the message element */ message = "p-confirmdialog-message", /** * Class name of the reject button element */ pcRejectButton = "p-confirmdialog-reject-button", /** * Class name of the accept button element */ pcAcceptButton = "p-confirmdialog-accept-button" } /** * ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API. * @group Components */ export declare class ConfirmDialog extends BaseComponent { componentName: string; $pcConfirmDialog: ConfirmDialog | undefined; bindDirectiveInstance: Bind; /** * Title text of the dialog. * @group Props */ header: import("@angular/core").InputSignal; /** * Icon to display next to message. * @group Props */ icon: import("@angular/core").InputSignal; /** * Message of the confirmation. * @group Props */ message: import("@angular/core").InputSignal; /** * Inline style of the element. * @group Props */ style: import("@angular/core").InputSignal; /** * Class of the element. * @group Props */ styleClass: import("@angular/core").InputSignal; /** * Specify the CSS class(es) for styling the mask element * @group Props */ maskStyleClass: import("@angular/core").InputSignal; /** * Icon of the accept button. * @group Props */ acceptIcon: import("@angular/core").InputSignal; /** * Label of the accept button. * @group Props */ acceptLabel: import("@angular/core").InputSignal; /** * Defines a string that labels the close button for accessibility. * @group Props */ closeAriaLabel: import("@angular/core").InputSignal; /** * Defines a string that labels the accept button for accessibility. * @group Props */ acceptAriaLabel: import("@angular/core").InputSignal; /** * Visibility of the accept button. * @group Props */ acceptVisible: import("@angular/core").InputSignalWithTransform; /** * Icon of the reject button. * @group Props */ rejectIcon: import("@angular/core").InputSignal; /** * Label of the reject button. * @group Props */ rejectLabel: import("@angular/core").InputSignal; /** * Defines a string that labels the reject button for accessibility. * @group Props */ rejectAriaLabel: import("@angular/core").InputSignal; /** * Visibility of the reject button. * @group Props */ rejectVisible: import("@angular/core").InputSignalWithTransform; /** * Style class of the accept button. * @group Props */ acceptButtonStyleClass: import("@angular/core").InputSignal; /** * Style class of the reject button. * @group Props */ rejectButtonStyleClass: import("@angular/core").InputSignal; /** * Specifies if pressing escape key should hide the dialog. * @group Props */ closeOnEscape: import("@angular/core").InputSignalWithTransform; /** * Specifies if clicking the modal background should hide the dialog. * @group Props */ dismissableMask: import("@angular/core").InputSignalWithTransform; /** * Determines whether scrolling behavior should be blocked within the component. * @group Props */ blockScroll: import("@angular/core").InputSignalWithTransform; /** * When enabled dialog is displayed in RTL direction. * @group Props */ rtl: import("@angular/core").InputSignalWithTransform; /** * Adds a close icon to the header to hide the dialog. * @group Props */ closable: import("@angular/core").InputSignalWithTransform; /** * 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; /** * Optional key to match the key of confirm object, necessary to use when component tree has multiple confirm dialogs. * @group Props */ key: import("@angular/core").InputSignal; /** * Whether to automatically manage layering. * @group Props */ autoZIndex: import("@angular/core").InputSignalWithTransform; /** * Base zIndex value to use in layering. * @group Props */ baseZIndex: import("@angular/core").InputSignalWithTransform; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; /** * The motion options for the mask. * @group Props */ maskMotionOptions: import("@angular/core").InputSignal; /** * When enabled, can only focus on elements inside the confirm dialog. * @group Props */ focusTrap: import("@angular/core").InputSignalWithTransform; /** * Element to receive the focus when the dialog gets visible. * @group Props */ defaultFocus: import("@angular/core").InputSignal; /** * Object literal to define widths per screen size. * @group Props */ breakpoints: import("@angular/core").InputSignal | undefined>; /** * Defines if background should be blocked when dialog is displayed. * @group Props */ modal: import("@angular/core").InputSignalWithTransform; /** * Current visible state as a boolean. * @group Props */ visible: import("@angular/core").ModelSignal; /** * Allows getting the position of the component. * @group Props */ position: import("@angular/core").InputSignal; /** * Enables dragging to change the position using header. * @group Props */ draggable: import("@angular/core").InputSignalWithTransform; /** * Callback to invoke when dialog is hidden. * @param {ConfirmEventType} enum - Custom confirm event. * @group Emits */ onHide: import("@angular/core").OutputEmitterRef; footer: import("@angular/core").Signal