import { GalleryActiveIndexChangeEvent, GalleryBackdropPassThrough, GalleryContentPassThrough, GalleryDownloadPassThrough, GalleryFlipXPassThrough, GalleryFlipYPassThrough, GalleryFooterPassThrough, GalleryFullScreenPassThrough, GalleryHeaderPassThrough, GalleryItemPassThrough, GalleryNextPassThrough, GalleryPassThrough, GalleryPendingAction, GalleryPrevPassThrough, GalleryRotateLeftPassThrough, GalleryRotateRightPassThrough, GalleryThumbnailContentPassThrough, GalleryThumbnailPassThrough, GalleryToolbarItemPassThrough, GalleryToolbarPassThrough, GalleryZoomInPassThrough, GalleryZoomOutPassThrough, GalleryZoomTogglePassThrough } from "primeng/types/gallery"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { BaseStyle } from "primeng/base"; import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import * as i23 from "primeng/api"; export * from "primeng/types/gallery"; export declare class GalleryStyle extends BaseStyle { name: string; style: string; classes: { root: string; backdrop: string; header: string; footer: string; content: string; item: string; next: string; prev: string; toolbar: string; toolbarItem: string; zoomIn: string; zoomOut: string; zoomToggle: string; rotateLeft: string; rotateRight: string; flipX: string; flipY: string; download: string; fullScreen: string; thumbnail: string; thumbnailContent: string; thumbnailItem: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Gallery groups a collection of contents in items. * * [Live Demo](https://www.primeng.org/gallery/) * * @module gallerystyle * */ export declare enum GalleryClasses { /** * Class name of the root element */ root = "p-gallery", /** * Class name of the backdrop element */ backdrop = "p-gallery-backdrop", /** * Class name of the header element */ header = "p-gallery-header", /** * Class name of the footer element */ footer = "p-gallery-footer", /** * Class name of the content element */ content = "p-gallery-content", /** * Class name of the item element */ item = "p-gallery-item", /** * Class name of the next button element */ next = "p-gallery-next", /** * Class name of the prev button element */ prev = "p-gallery-prev", /** * Class name of the toolbar element */ toolbar = "p-gallery-toolbar", /** * Class name of the toolbar item element */ toolbarItem = "p-gallery-toolbar-item", /** * Class name of the action element */ action = "p-gallery-action", /** * Class name of the thumbnail element */ thumbnail = "p-gallery-thumbnail", /** * Class name of the thumbnail content element */ thumbnailContent = "p-gallery-thumbnail-content", /** * Class name of the thumbnail item element */ thumbnailItem = "p-gallery-thumbnail-item" } export interface GalleryStyleType extends BaseStyle {} /** * GalleryItem represents an individual item in the gallery. * @group Components */ export declare class GalleryItem extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; /** * The normal scale of the gallery item. * @group Props * @defaultValue 1 */ normalScale: import("@angular/core").InputSignalWithTransform; /** * The zoomed scale of the gallery item. * @group Props * @defaultValue 3 */ zoomedScale: import("@angular/core").InputSignalWithTransform; gallery: Gallery; private _destroyRef; index: import("@angular/core").WritableSignal; isActive: import("@angular/core").Signal; dataActive: import("@angular/core").Signal<"true" | "false">; stylePositionX: import("@angular/core").Signal; stylePositionY: import("@angular/core").Signal; styleRotation: import("@angular/core").Signal; styleFlipX: import("@angular/core").Signal; styleFlipY: import("@angular/core").Signal; position: import("@angular/core").WritableSignal<{ x: number; y: number; }>; scale: import("@angular/core").WritableSignal; rotation: import("@angular/core").WritableSignal; isRotating: import("@angular/core").WritableSignal; flip: import("@angular/core").WritableSignal<{ x: number; y: number; }>; private registeredIndex; private pointerData; private pointerStart; private initialPinchDistance; private initialPinchScale; private liveScale; private livePosition; private isDragging; private dragStart; private hasDragged; private wheelSyncTimer; private wheelListener; private resizeListener; private imageLoadListener; constructor(); private rotateTimer; private markRotating; onAfterViewChecked(): void; private setupImageLoadListener; private setupWheelListener; private setupResizeListener; calculateItemSize(): void; calculateConstraints(targetScale?: number): { minX: number; maxX: number; minY: number; maxY: number; }; zoomIn(): void; zoomOut(): void; rotateLeft(): void; rotateRight(): void; flipX(): void; flipY(): void; download(): void; handleClick(e: MouseEvent): void; handleDragStart(e: DragEvent): void; handlePointerDown(e: PointerEvent): void; handlePointerMove(e: PointerEvent): void; handlePointerUp(e: PointerEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryHeader represents the header section of the gallery. * @group Components */ export declare class GalleryHeader extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryContent represents the main content area of the gallery. * @group Components */ export declare class GalleryContent extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; onAfterViewChecked(): void; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryFooter represents the footer section of the gallery. * @group Components */ export declare class GalleryFooter extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryBackdrop represents the backdrop element for fullscreen mode. * @group Components */ export declare class GalleryBackdrop extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryToolbar represents the toolbar container. * @group Components */ export declare class GalleryToolbar extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryToolbarItem represents an individual toolbar item. * @group Components */ export declare class GalleryToolbarItem extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; /** * The action to dispatch when the toolbar item is clicked. * @group Props */ action: import("@angular/core").InputSignal; gallery: Gallery; onAfterViewChecked(): void; onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryPrev represents the previous navigation button. * @group Components */ export declare class GalleryPrev extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryNext represents the next navigation button. * @group Components */ export declare class GalleryNext extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryZoomIn represents the zoom in action button. * @group Components */ export declare class GalleryZoomIn extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; disabledState: import("@angular/core").Signal; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryZoomOut represents the zoom out action button. * @group Components */ export declare class GalleryZoomOut extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; disabledState: import("@angular/core").Signal; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryZoomToggle represents the zoom toggle action button. * @group Components */ export declare class GalleryZoomToggle extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onToggle(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryRotateLeft represents the rotate left action button. * @group Components */ export declare class GalleryRotateLeft extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryRotateRight represents the rotate right action button. * @group Components */ export declare class GalleryRotateRight extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryFlipX represents the horizontal flip action button. * @group Components */ export declare class GalleryFlipX extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryFlipY represents the vertical flip action button. * @group Components */ export declare class GalleryFlipY extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryFullScreen represents the fullscreen toggle button. * @group Components */ export declare class GalleryFullScreen extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; dataFullscreen: import("@angular/core").Signal<"" | null>; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryDownload represents the download action button. * @group Components */ export declare class GalleryDownload extends BaseComponent { componentName: string; gallery: Gallery; bindDirectiveInstance: Bind; _componentStyle: GalleryStyle; onClick(): void; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * GalleryThumbnailItem represents an individual thumbnail item. * Exposes its content as a TemplateRef so GalleryThumbnail can render it inside a carousel item. * @group Components */ export declare class GalleryThumbnailItem { /** * The index of the thumbnail item. * @group Props */ index: import("@angular/core").InputSignal; gallery: Gallery; templateRef: import("@angular/core").Signal | undefined>; isActive: import("@angular/core").Signal; hostClass: import("@angular/core").Signal; dataActive: import("@angular/core").Signal<"" | null>; onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryThumbnail represents the thumbnail carousel wrapper. * @group Components */ export declare class GalleryThumbnail extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; /** * Whether the carousel should auto size items. * @group Props * @defaultValue true */ autoSize: import("@angular/core").InputSignalWithTransform; /** * Whether the carousel should loop. * @group Props * @defaultValue true */ loop: import("@angular/core").InputSignalWithTransform; /** * Alignment of the carousel items. * @group Props * @defaultValue 'center' */ align: import("@angular/core").InputSignal<"start" | "center" | "end">; /** * Spacing between carousel items in pixels. * @group Props * @defaultValue 8 */ spacing: import("@angular/core").InputSignalWithTransform; /** * Orientation of the carousel. * @group Props * @defaultValue 'horizontal' */ orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">; /** * Scroll snap type applied to the track. * @group Props * @defaultValue 'mandatory' */ snapType: import("@angular/core").InputSignal<"mandatory" | "proximity">; /** * How many slides are visible per page. * @group Props * @defaultValue 1 */ slidesPerPage: import("@angular/core").InputSignalWithTransform; thumbnailItems: import("@angular/core").Signal; slide: import("@angular/core").Signal; onAfterViewChecked(): void; onItemKeydown(event: KeyboardEvent, index: number): void; private focusItem; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * GalleryThumbnailContent represents the thumbnail carousel content area. * @group Components */ export declare class GalleryThumbnailContent extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; gallery: Gallery; onAfterViewChecked(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Gallery is the main container component for the Gallery. * @group Components */ export declare class Gallery extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; /** * The index of the active item. * @group Props * @defaultValue 0 */ activeIndex: import("@angular/core").ModelSignal; /** * When defined, puts the fullscreen state in controlled mode; the value drives whether the gallery is fullscreen and changes are reported via onFullscreenChange instead of being handled internally. * @group Props */ fullscreen: import("@angular/core").InputSignalWithTransform; /** * Whether pressing the Escape key exits fullscreen mode. * @defaultValue true * @group Props */ closeOnEscape: import("@angular/core").InputSignalWithTransform; /** * Callback fired when the gallery's active index changes. * @param {GalleryActiveIndexChangeEvent} event - Custom active index change event. * @group Emits */ onActiveIndexChange: import("@angular/core").OutputEmitterRef; /** * Callback fired when the fullscreen state should change (controlled mode). * @param {boolean} value - The next fullscreen state. * @group Emits */ onFullscreenChange: import("@angular/core").OutputEmitterRef; /** * Callback fired when the active item's zoom scale changes. * @param {number} scale - The current zoom scale. * @group Emits */ onZoomChange: import("@angular/core").OutputEmitterRef; /** * Callback fired when the active item's rotation changes. * @param {number} rotation - The current rotation in degrees. * @group Emits */ onRotateChange: import("@angular/core").OutputEmitterRef; /** * Callback fired when the active item's flip state changes. * @param {{ x: number; y: number }} flip - The current flip state. * @group Emits */ onFlipChange: import("@angular/core").OutputEmitterRef<{ x: number; y: number; }>; _componentStyle: GalleryStyle; private isFullscreenInternal; private fullscreenResizeTimer; private destroyed; isFullscreen: import("@angular/core").Signal; activeItemTransform: import("@angular/core").WritableSignal<{ zoomed: boolean; rotated: boolean; flipped: boolean; }>; pendingAction: import("@angular/core").WritableSignal; itemCounter: number; contentEl: import("@angular/core").WritableSignal; dataFullscreen: import("@angular/core").Signal<"" | null>; dataZoomed: import("@angular/core").Signal<"" | null>; dataRotated: import("@angular/core").Signal<"" | null>; dataFlipped: import("@angular/core").Signal<"" | null>; private onNativeFullscreenChange; private prevReported; onAfterViewChecked(): void; registerItem(existingIndex: number | null): number; handleNext(): void; handlePrev(): void; selectItem(index: number): void; dispatchAction(type: GalleryPendingAction['type']): void; clearPendingAction(): void; constructor(); onInit(): void; onDestroy(): void; handleKeyDown(event: KeyboardEvent): void; toggleFullScreen(): void; reportItemState(itemState: { zoomed: boolean; rotated: boolean; flipped: boolean; scale: number; rotation: number; flip: { x: number; y: number; }; }): void; handleClickAction(action?: string): void; setContentEl(el: HTMLElement): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class GalleryModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }