UNPKG

@anglr/grid

Version:
54 lines 2.06 kB
import { Signal } from '@angular/core'; import { Paginator, RecursivePartial } from '@jscrpt/common'; import { PagingAbstractComponent } from '../pagingAbstract.component'; import { PreviousNextPaging, PreviousNextPagingOptions, CssClassesPreviousNextPaging } from './previousNextPaging.interface'; import { ItemsPerPageItem } from '../basic/basicPaging.interface'; import * as i0 from "@angular/core"; /** * Component used for rendering paging with next and previous buttons */ export declare class PreviousNextPagingComponent extends PagingAbstractComponent<CssClassesPreviousNextPaging, PreviousNextPagingOptions> implements PreviousNextPaging<PreviousNextPagingOptions> { /** * Paginator used for getting page numbers */ protected paginator: Paginator; /** * Array of items per page that are rendered */ protected itemsPerPageItems: Signal<ItemsPerPageItem[]>; /** * Indication that currently displayed page is first */ protected isFirst: Signal<boolean>; /** * Indication that currently displayed page is last */ protected isLast: Signal<boolean>; /** * @inheritdoc */ get firstItemIndex(): number; /** * @inheritdoc */ get options(): PreviousNextPagingOptions; set options(options: RecursivePartial<PreviousNextPagingOptions>); constructor(); /** * @inheritdoc */ initialize(force: boolean): Promise<void>; /** * Sets page for current paging * @param page - Page index to be set */ protected setPageValue(page: number): void; /** * Sets items per page for current paging * @param itemsPerPage - Number of items per page */ protected setItemsPerPageValue(itemsPerPage: ItemsPerPageItem): void; static ɵfac: i0.ɵɵFactoryDeclaration<PreviousNextPagingComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PreviousNextPagingComponent, "next-previous-paging", never, {}, {}, never, never, true, never>; } //# sourceMappingURL=previousNextPaging.component.d.ts.map