import { DrawerPassThrough, DrawerPosition } from "primeng/types/drawer"; import * as i0 from "@angular/core"; import { ElementRef, TemplateRef } from "@angular/core"; import { MotionEvent, MotionOptions } from "@primeuix/motion"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { Nullable, VoidListener } from "primeng/ts-helpers"; import { ButtonDirectiveOptions } from "primeng/types/button"; import { AppendTo, CSSProperties } from "primeng/types/shared"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/drawer"; export declare class DrawerStyle extends BaseStyle { name: string; style: string; classes: { mask: ({ instance }: { instance: any; }) => (string | { "p-overlay-mask p-overlay-mask-enter-active": any; 'p-drawer-full'?: undefined; } | { 'p-drawer-full': any; "p-overlay-mask p-overlay-mask-enter-active"?: undefined; })[]; root: ({ instance }: { instance: any; }) => (string | { 'p-drawer-full': any; 'p-drawer-open': any; })[]; header: string; title: string; pcCloseButton: string; content: string; footer: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Drawer is a panel component displayed as an overlay at the edges of the screen. * * [Live Demo](https://www.primeng.org/drawer) * * @module drawerstyle * */ export declare enum DrawerClasses { /** * Class name of the mask element */ mask = "p-drawer-mask", /** * Class name of the root element */ root = "p-drawer", /** * Class name of the header element */ header = "p-drawer-header", /** * Class name of the title element */ title = "p-drawer-title", /** * Class name of the close button element */ pcCloseButton = "p-drawer-close-button", /** * Class name of the content element */ content = "p-drawer-content" } /** * Sidebar is a panel component displayed as an overlay at the edges of the screen. * @group Components */ export declare class Drawer extends BaseComponent { componentName: string; $pcDrawer: Drawer | undefined; bindDirectiveInstance: Bind; /** * 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: import("@angular/core").InputSignal; /** * The motion options. * @group Props */ motionOptions: import("@angular/core").InputSignal; computedMotionOptions: import("@angular/core").Signal; /** * Whether to block scrolling of the document when drawer is active. * @group Props */ blockScroll: import("@angular/core").InputSignalWithTransform; /** * Inline style of the component. * @group Props */ style: import("@angular/core").InputSignal<{ [klass: string]: any; } | null | undefined>; /** * Style class of the component. * @group Props */ styleClass: import("@angular/core").InputSignal; /** * Aria label of the close icon. * @group Props */ ariaCloseLabel: 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; /** * Whether an overlay mask is displayed behind the drawer. * @group Props */ modal: import("@angular/core").InputSignalWithTransform; /** * Configuration object forwarded to the close button. * @group Props */ closeButtonProps: import("@angular/core").InputSignal; /** * Whether to dismiss drawer on click of the mask. * @group Props */ dismissible: import("@angular/core").InputSignalWithTransform; /** * Whether to display the close icon. * @group Props * @deprecated use 'closable' instead. */ showCloseIcon: import("@angular/core").InputSignalWithTransform; /** * Specifies if pressing escape key should hide the drawer. * @group Props */ closeOnEscape: import("@angular/core").InputSignalWithTransform; /** * The visible property is an input that determines the visibility of the component. * @defaultValue false * @group Props */ visible: import("@angular/core").ModelSignal; /** * Specifies the position of the drawer, valid values are "left", "right", "bottom" and "top". * @defaultValue 'left' * @group Props */ position: import("@angular/core").InputSignal; /** * Adds a close icon to the header to hide the dialog. * @defaultValue false * @group Props */ fullScreen: import("@angular/core").InputSignal; $enterAnimation: import("@angular/core").Signal; $leaveAnimation: import("@angular/core").Signal; /** * Title content of the dialog. * @group Props */ header: import("@angular/core").InputSignal; /** * Style of the mask. * @group Props */ maskStyle: import("@angular/core").InputSignal; /** * Whether to display close button. * @group Props * @defaultValue true */ closable: import("@angular/core").InputSignalWithTransform; /** * Callback to invoke when dialog is shown. * @group Emits */ onShow: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when dialog is hidden. * @group Emits */ onHide: import("@angular/core").OutputEmitterRef; containerViewChild: import("@angular/core").Signal | undefined>; closeButtonViewChild: import("@angular/core").Signal | undefined>; initialized: boolean | undefined; modalVisible: import("@angular/core").WritableSignal; container: Nullable; mask: Nullable; maskClickListener: VoidListener; documentEscapeListener: VoidListener; animationEndListener: VoidListener; _componentStyle: DrawerStyle; /** * Custom header template. * @group Templates */ headerTemplate: import("@angular/core").Signal | undefined>; /** * Custom footer template. * @group Templates */ footerTemplate: import("@angular/core").Signal | undefined>; /** * Custom content template. * @group Templates */ contentTemplate: import("@angular/core").Signal | undefined>; /** * Custom close icon template. * @group Templates */ closeIconTemplate: import("@angular/core").Signal | undefined>; /** * Custom headless template to replace the entire drawer content. * @group Templates */ headlessTemplate: import("@angular/core").Signal | undefined>; showCloseButton: import("@angular/core").Signal; $appendTo: import("@angular/core").Signal; constructor(); onAfterViewChecked(): void; onAfterViewInit(): void; onKeyDown(event: KeyboardEvent): void; show(): void; hide(emit?: boolean): void; close(event: Event): void; enableModality(): void; getMaskStyle(): string; disableModality(): void; destroyModal(): void; onBeforeEnter(event: MotionEvent): void; onAfterLeave(): void; appendContainer(): void; bindDocumentEscapeListener(): void; unbindDocumentEscapeListener(): void; unbindMaskClickListener(): void; unbindGlobalListeners(): void; unbindAnimationEndListener(): void; onDestroy(): void; get dataP(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class DrawerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }