import { PaginatorDropdownItemTemplateContext, PaginatorPassThrough, PaginatorState, PaginatorTemplateContext } from "primeng/types/paginator"; import * as i0 from "@angular/core"; import { TemplateRef } from "@angular/core"; import { SelectItem } from "primeng/api"; import { BaseComponent } from "primeng/basecomponent"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { SelectChangeEvent } from "primeng/select"; import { AppendTo } from "primeng/types/shared"; import { BaseStyle } from "primeng/base"; export * from "primeng/types/paginator"; export declare class PaginatorStyle extends BaseStyle { name: string; style: string; classes: { paginator: () => string[]; content: string; contentStart: string; contentEnd: string; first: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; firstIcon: string; prev: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; prevIcon: string; next: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; nextIcon: string; last: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; lastIcon: string; pages: string; page: ({ instance, pageLink }: { instance: any; pageLink: any; }) => (string | { 'p-paginator-page-selected': boolean; })[]; current: string; pcRowPerPageDropdown: string; pcJumpToPageDropdown: string; pcJumpToPageInput: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Paginator is a generic component to display content in paged format. * * [Live Demo](https://www.primeng.org/paginator) * * @module paginatorstyle * */ export declare enum PaginatorClasses { /** * Class name of the paginator element */ paginator = "p-paginator", /** * Class name of the content start element */ contentStart = "p-paginator-content-start", /** * Class name of the content end element */ contentEnd = "p-paginator-content-end", /** * Class name of the first element */ first = "p-paginator-first", /** * Class name of the first icon element */ firstIcon = "p-paginator-first-icon", /** * Class name of the prev element */ prev = "p-paginator-prev", /** * Class name of the prev icon element */ prevIcon = "p-paginator-prev-icon", /** * Class name of the next element */ next = "p-paginator-next", /** * Class name of the next icon element */ nextIcon = "p-paginator-next-icon", /** * Class name of the last element */ last = "p-paginator-last", /** * Class name of the last icon element */ lastIcon = "p-paginator-last-icon", /** * Class name of the pages element */ pages = "p-paginator-pages", /** * Class name of the page element */ page = "p-paginator-page", /** * Class name of the current element */ current = "p-paginator-current", /** * Class name of the row per page dropdown element */ pcRowPerPageDropdown = "p-paginator-rpp-dropdown", /** * Class name of the jump to page dropdown element */ pcJumpToPageDropdown = "p-paginator-jtp-dropdown", /** * Class name of the jump to page input element */ pcJumpToPageInput = "p-paginator-jtp-input" } /** * Paginator is a generic component to display content in paged format. * @group Components */ export declare class Paginator extends BaseComponent { componentName: string; bindDirectiveInstance: Bind; $pcPaginator: Paginator | undefined; /** * Number of page links to display. * @group Props */ pageLinkSize: import("@angular/core").InputSignalWithTransform; /** * Whether to show it even there is only one page. * @group Props */ alwaysShow: import("@angular/core").InputSignalWithTransform; /** * Template instance to inject into the left side of the paginator. * @param {PaginatorTemplateContext} context - Paginator template context. * @see {@link PaginatorTemplateContext} * @group Props */ templateLeft: import("@angular/core").InputSignal | undefined>; /** * Template instance to inject into the right side of the paginator. * @param {PaginatorTemplateContext} context - Paginator template context. * @see {@link PaginatorTemplateContext} * @group Props */ templateRight: import("@angular/core").InputSignal | undefined>; /** * Dropdown height of the viewport in pixels, a scrollbar is defined if height of list exceeds this value. * @group Props */ dropdownScrollHeight: import("@angular/core").InputSignal; /** * Template of the current page report element. Available placeholders are {currentPage},{totalPages},{rows},{first},{last} and {totalRecords} * @group Props */ currentPageReportTemplate: import("@angular/core").InputSignal; /** * Whether to display current page report. * @group Props */ showCurrentPageReport: import("@angular/core").InputSignalWithTransform; /** * When enabled, icons are displayed on paginator to go first and last page. * @group Props */ showFirstLastIcon: import("@angular/core").InputSignalWithTransform; /** * Number of total records. * @group Props */ totalRecords: import("@angular/core").InputSignalWithTransform; /** * Data count to display per page. * @group Props */ rows: import("@angular/core").ModelSignal; /** * Zero-relative number of the first row to be displayed. * @group Props */ first: import("@angular/core").ModelSignal; /** * Array of integer/object values to display inside rows per page dropdown. A object that have 'showAll' key can be added to it to show all data. Exp; [10,20,30,{showAll:'All'}] * @group Props */ rowsPerPageOptions: import("@angular/core").InputSignal; /** * Whether to display a dropdown to navigate to any page. * @group Props */ showJumpToPageDropdown: import("@angular/core").InputSignalWithTransform; /** * Whether to display a input to navigate to any page. * @group Props */ showJumpToPageInput: import("@angular/core").InputSignalWithTransform; /** * Template instance to inject into the jump to page dropdown item inside in the paginator. * @param {PaginatorDropdownItemTemplateContext} context - dropdown item context. * @see {@link PaginatorDropdownItemTemplateContext} * @group Props */ jumpToPageItemTemplate: import("@angular/core").InputSignal | undefined>; /** * Whether to show page links. * @group Props */ showPageLinks: import("@angular/core").InputSignalWithTransform; /** * Locale to be used in formatting. * @group Props */ locale: import("@angular/core").InputSignal; /** * Template instance to inject into the rows per page dropdown item inside in the paginator. * @param {PaginatorDropdownItemTemplateContext} context - dropdown item context. * @see {@link PaginatorDropdownItemTemplateContext} * @group Props */ dropdownItemTemplate: import("@angular/core").InputSignal | 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: import("@angular/core").InputSignal; /** * Callback to invoke when page changes, the event object contains information about the new state. * @param {PaginatorState} event - Paginator state. * @group Emits */ onPageChange: import("@angular/core").OutputEmitterRef; /** * Template for the dropdown icon. * @group Templates */ dropdownIconTemplate: import("@angular/core").Signal | undefined>; /** * Template for the first page link icon. * @group Templates */ firstPageLinkIconTemplate: import("@angular/core").Signal | undefined>; /** * Template for the previous page link icon. * @group Templates */ previousPageLinkIconTemplate: import("@angular/core").Signal | undefined>; /** * Template for the last page link icon. * @group Templates */ lastPageLinkIconTemplate: import("@angular/core").Signal | undefined>; /** * Template for the next page link icon. * @group Templates */ nextPageLinkIconTemplate: import("@angular/core").Signal | undefined>; _componentStyle: PaginatorStyle; $appendTo: import("@angular/core").Signal; pageLinks: import("@angular/core").Signal; pageItems: import("@angular/core").Signal[]>; rowsPerPageItems: import("@angular/core").Signal[]>; paginatorState: import("@angular/core").Signal<{ page: number; pageCount: number; rows: number; first: number; totalRecords: number; }>; hostDisplay: import("@angular/core").Signal<"none" | null>; constructor(); onAfterViewChecked(): void; getAriaLabel(labelType: string): string | undefined; getPageAriaLabel(value: number): string | undefined; getLocalization(digit: number): string; isFirstPage(): boolean; isLastPage(): boolean; getPageCount(): number; getPage(): number; currentPage(): number; get currentPageReport(): string; changePage(p: number): void; changePageToFirst(event: Event): void; changePageToPrev(event: Event): void; changePageToNext(event: Event): void; changePageToLast(event: Event): void; onPageLinkClick(event: Event, page: number): void; onRppChange(_event: SelectChangeEvent): void; onPageDropdownChange(event: SelectChangeEvent): void; empty(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class PaginatorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }