import Component from '@glimmer/component'; import { type PaginationNumericSignature } from '../../../../interfaces/components/models-table/themes/default/pagination-numeric-signature.interface'; import { type PaginationNumericOption } from '../../../../interfaces/pagination-numeric-option.interface'; /** * Numeric navigation used within {@link DefaultTheme.TableFooter | TableFooter}. * * Usage example: * * ```html * * * * {{! ... }} * * {{! .... }} * * ``` * * Block usage example: * * ```html * * * * {{#each PN.visiblePageNumbers as |page|}} * {{#if page.isLink}} * * {{else}} * * {{/if}} * {{/each}} * * * * * ``` * ModelsTablePaginationNumeric yields references to the following contextual components: * * * {@link DefaultTheme.Select | PageNumberSelect} - selectbox with list of available pages * * References to the following properties are yielded: * * * {@link visiblePageNumbers} */ export default class PaginationNumeric extends Component { protected elementId: string; /** * List of links to the page. * * Used if {@link Core.ModelsTable.useNumericPagination | ModelsTable.useNumericPagination} is `true`. * * @default [] */ protected get visiblePageNumbers(): PaginationNumericOption[]; protected get inputId(): string; /** * @event goToPage */ protected goToPage(pageNumber: string): void; } //# sourceMappingURL=pagination-numeric.d.ts.map