/*! * @license * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { EventEmitter, OnInit } from '@angular/core'; import { PaginatedComponent } from './paginated-component.interface'; import { PaginationComponentInterface } from './pagination-component.interface'; import { PaginationModel } from '../models/pagination.model'; import * as i0 from "@angular/core"; export type PaginationAction = 'NEXT_PAGE' | 'PREV_PAGE' | 'CHANGE_PAGE_SIZE' | 'CHANGE_PAGE_NUMBER'; export declare const DEFAULT_PAGINATION: PaginationModel; export declare class PaginationComponent implements OnInit, PaginationComponentInterface { private readonly elementRef; private readonly renderer; private readonly cdr; private readonly userPreferencesService; private readonly translate; private _pagination; private _isEmpty; private _hasItems; /** Component that provides custom pagination support. */ target: PaginatedComponent; /** An array of page sizes. */ supportedPageSizes: number[]; get pagination(): PaginationModel; /** Pagination object. */ set pagination(value: PaginationModel); /** Emitted when pagination changes in any way. */ change: EventEmitter; /** Emitted when the page number changes. */ changePageNumber: EventEmitter; /** Emitted when the page size changes. */ changePageSize: EventEmitter; /** Emitted when the next page is requested. */ nextPage: EventEmitter; /** Emitted when the previous page is requested. */ prevPage: EventEmitter; private readonly destroyRef; ngOnInit(): void; get lastPage(): number; get current(): number; get isLastPage(): boolean; get isFirstPage(): boolean; get next(): number; get previous(): number; get hasItems(): boolean; get isEmpty(): boolean; get range(): number[]; get pages(): number[]; get limitedPages(): number[]; get itemRangeText(): string; goNext(): void; goPrevious(): void; onChangePageNumber(pageNumber: number): void; onChangePageSize(maxItems: number): void; handlePaginationEvent(action: PaginationAction): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }