1 | import { OnInit, ChangeDetectorRef, EventEmitter, TemplateRef, OnChanges, SimpleChanges } from '@angular/core';
|
---|
2 | import { SelectItem } from 'primeng/api';
|
---|
3 | import * as i0 from "@angular/core";
|
---|
4 | import * as i1 from "@angular/common";
|
---|
5 | import * as i2 from "primeng/dropdown";
|
---|
6 | import * as i3 from "primeng/inputnumber";
|
---|
7 | import * as i4 from "@angular/forms";
|
---|
8 | import * as i5 from "primeng/api";
|
---|
9 | import * as i6 from "primeng/ripple";
|
---|
10 | export declare class Paginator implements OnInit, OnChanges {
|
---|
11 | private cd;
|
---|
12 | pageLinkSize: number;
|
---|
13 | onPageChange: EventEmitter<any>;
|
---|
14 | style: any;
|
---|
15 | styleClass: string;
|
---|
16 | alwaysShow: boolean;
|
---|
17 | templateLeft: TemplateRef<any>;
|
---|
18 | templateRight: TemplateRef<any>;
|
---|
19 | dropdownAppendTo: any;
|
---|
20 | dropdownScrollHeight: string;
|
---|
21 | currentPageReportTemplate: string;
|
---|
22 | showCurrentPageReport: boolean;
|
---|
23 | showFirstLastIcon: boolean;
|
---|
24 | totalRecords: number;
|
---|
25 | rows: number;
|
---|
26 | rowsPerPageOptions: any[];
|
---|
27 | showJumpToPageDropdown: boolean;
|
---|
28 | showJumpToPageInput: boolean;
|
---|
29 | showPageLinks: boolean;
|
---|
30 | dropdownItemTemplate: TemplateRef<any>;
|
---|
31 | pageLinks: number[];
|
---|
32 | pageItems: SelectItem[];
|
---|
33 | rowsPerPageItems: SelectItem[];
|
---|
34 | paginatorState: any;
|
---|
35 | _first: number;
|
---|
36 | _page: number;
|
---|
37 | constructor(cd: ChangeDetectorRef);
|
---|
38 | ngOnInit(): void;
|
---|
39 | ngOnChanges(simpleChange: SimpleChanges): void;
|
---|
40 | get first(): number;
|
---|
41 | set first(val: number);
|
---|
42 | updateRowsPerPageOptions(): void;
|
---|
43 | isFirstPage(): boolean;
|
---|
44 | isLastPage(): boolean;
|
---|
45 | getPageCount(): number;
|
---|
46 | calculatePageLinkBoundaries(): number[];
|
---|
47 | updatePageLinks(): void;
|
---|
48 | changePage(p: number): void;
|
---|
49 | updateFirst(): void;
|
---|
50 | getPage(): number;
|
---|
51 | changePageToFirst(event: any): void;
|
---|
52 | changePageToPrev(event: any): void;
|
---|
53 | changePageToNext(event: any): void;
|
---|
54 | changePageToLast(event: any): void;
|
---|
55 | onPageLinkClick(event: any, page: any): void;
|
---|
56 | onRppChange(event: any): void;
|
---|
57 | onPageDropdownChange(event: any): void;
|
---|
58 | updatePaginatorState(): void;
|
---|
59 | empty(): boolean;
|
---|
60 | currentPage(): number;
|
---|
61 | get currentPageReport(): string;
|
---|
62 | static ɵfac: i0.ɵɵFactoryDeclaration<Paginator, never>;
|
---|
63 | static ɵcmp: i0.ɵɵComponentDeclaration<Paginator, "p-paginator", never, { "pageLinkSize": "pageLinkSize"; "style": "style"; "styleClass": "styleClass"; "alwaysShow": "alwaysShow"; "templateLeft": "templateLeft"; "templateRight": "templateRight"; "dropdownAppendTo": "dropdownAppendTo"; "dropdownScrollHeight": "dropdownScrollHeight"; "currentPageReportTemplate": "currentPageReportTemplate"; "showCurrentPageReport": "showCurrentPageReport"; "showFirstLastIcon": "showFirstLastIcon"; "totalRecords": "totalRecords"; "rows": "rows"; "rowsPerPageOptions": "rowsPerPageOptions"; "showJumpToPageDropdown": "showJumpToPageDropdown"; "showJumpToPageInput": "showJumpToPageInput"; "showPageLinks": "showPageLinks"; "dropdownItemTemplate": "dropdownItemTemplate"; "first": "first"; }, { "onPageChange": "onPageChange"; }, never, never>;
|
---|
64 | }
|
---|
65 | export declare class PaginatorModule {
|
---|
66 | static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorModule, never>;
|
---|
67 | static ɵmod: i0.ɵɵNgModuleDeclaration<PaginatorModule, [typeof Paginator], [typeof i1.CommonModule, typeof i2.DropdownModule, typeof i3.InputNumberModule, typeof i4.FormsModule, typeof i5.SharedModule, typeof i6.RippleModule], [typeof Paginator, typeof i2.DropdownModule, typeof i3.InputNumberModule, typeof i4.FormsModule, typeof i5.SharedModule]>;
|
---|
68 | static ɵinj: i0.ɵɵInjectorDeclaration<PaginatorModule>;
|
---|
69 | }
|
---|