import { ScrollPanelPassThrough } from 'primeng/types/scrollpanel'; export * from 'primeng/types/scrollpanel'; import * as i0 from '@angular/core'; import { ElementRef, TemplateRef, QueryList, NgZone } from '@angular/core'; import * as i2 from 'primeng/api'; import { PrimeTemplate } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { Nullable } from 'primeng/ts-helpers'; import { BaseStyle } from 'primeng/base'; /** * * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar. * * [Live Demo](https://www.primeng.org/scrollpanel/) * * @module scrollpanelstyle * */ declare enum ScrollPanelClasses { /** * Class name of the root element */ root = "p-scrollpanel", /** * Class name of the content container element */ contentContainer = "p-scrollpanel-content-container", /** * Class name of the content element */ content = "p-scrollpanel-content", /** * Class name of the bar x element */ barX = "p-scrollpanel-bar-x", /** * Class name of the bar y element */ barY = "p-scrollpanel-bar-y" } declare class ScrollPanelStyle extends BaseStyle { name: string; style: string; classes: { root: string; contentContainer: string; content: string; barX: string; barY: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface ScrollPanelStyle extends BaseStyle { } /** * ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar. * @group Components */ declare class ScrollPanel extends BaseComponent { $pcScrollPanel: ScrollPanel | undefined; bindDirectiveInstance: Bind; onAfterViewChecked(): void; /** * Style class of the component. * @deprecated since v20.0.0, use `class` instead. * @group Props */ styleClass: string | undefined; /** * Step factor to scroll the content while pressing the arrow keys. * @group Props */ step: number; contentViewChild: ElementRef | undefined; xBarViewChild: ElementRef | undefined; yBarViewChild: ElementRef | undefined; /** * Custom content template. * @group Templates */ contentTemplate: TemplateRef | undefined; templates: QueryList | undefined; _contentTemplate: TemplateRef | undefined; scrollYRatio: number | undefined; scrollXRatio: number | undefined; timeoutFrame: any; initialized: boolean; lastPageY: number | undefined; lastPageX: number | undefined; isXBarClicked: boolean; isYBarClicked: boolean; lastScrollLeft: number; lastScrollTop: number; orientation: string; timer: any; contentId: string | undefined; windowResizeListener: VoidFunction | null | undefined; contentScrollListener: VoidFunction | null | undefined; mouseEnterListener: VoidFunction | null | undefined; xBarMouseDownListener: VoidFunction | null | undefined; yBarMouseDownListener: VoidFunction | null | undefined; documentMouseMoveListener: Nullable<(event?: any) => void>; documentMouseUpListener: Nullable<(event?: any) => void>; _componentStyle: ScrollPanelStyle; zone: NgZone; onInit(): void; onAfterViewInit(): void; onAfterContentInit(): void; calculateContainerHeight(): void; moveBar(): void; onScroll(event: any): void; onKeyDown(event: any): void; onKeyUp(): void; repeat(bar: any, step: any): void; setTimer(bar: any, step: any): void; clearTimer(): void; bindDocumentMouseListeners(): void; unbindDocumentMouseListeners(): void; onYBarMouseDown(e: MouseEvent): void; onXBarMouseDown(e: MouseEvent): void; onDocumentMouseMove(e: MouseEvent): void; onMouseMoveForXBar(e: MouseEvent): void; onMouseMoveForYBar(e: MouseEvent): void; /** * Scrolls the top location to the given value. * @param scrollTop * @group Method */ scrollTop(scrollTop: number): void; onFocus(event: any): void; onBlur(): void; onDocumentMouseUp(e: Event): void; requestAnimationFrame(f: VoidFunction): void; unbindListeners(): void; onDestroy(): void; /** * Refreshes the position and size of the scrollbar. * @group Method */ refresh(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_step: unknown; } declare class ScrollPanelModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ScrollPanel, ScrollPanelClasses, ScrollPanelModule, ScrollPanelStyle };