2024-05-08 11:40:44 +00:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* Paginator is a generic component to display content in paged format.
|
|
|
|
*
|
|
|
|
* [Live Demo](https://primevue.org/paginator)
|
|
|
|
*
|
|
|
|
* @module paginatorstyle
|
|
|
|
*
|
|
|
|
*/
|
2023-10-02 13:15:41 +00:00
|
|
|
import { BaseStyle } from '../../base/style';
|
|
|
|
|
2024-05-08 11:40:44 +00:00
|
|
|
export enum PaginatorClasses {
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the paginator element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
paginator = 'p-paginator',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content start element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
contentStart = 'p-paginator-content-start',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the content end element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
contentEnd = 'p-paginator-content-end',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the first element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
first = 'p-paginator-first',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the first icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
firstIcon = 'p-paginator-first-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the prev element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
prev = 'p-paginator-prev',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the prev icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
prevIcon = 'p-paginator-prev-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the next element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
next = 'p-paginator-next',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the next icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
nextIcon = 'p-paginator-next-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the last element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
last = 'p-paginator-last',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the last icon element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
lastIcon = 'p-paginator-last-icon',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the pages element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pages = 'p-paginator-pages',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the page element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
page = 'p-paginator-page',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the current element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
current = 'p-paginator-current',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the row per page dropdown element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcRowPerPageDropdown = 'p-paginator-rpp-dropdown',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the jump to page dropdown element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcJumpToPageDropdown = 'p-paginator-jtp-dropdown',
|
2024-05-22 13:52:02 +00:00
|
|
|
/**
|
|
|
|
* Class name of the jump to page input element
|
|
|
|
*/
|
2024-05-08 11:40:44 +00:00
|
|
|
pcJumpToPageInput = 'p-paginator-jtp-input'
|
|
|
|
}
|
|
|
|
|
2023-10-02 13:15:41 +00:00
|
|
|
export interface PaginatorStyle extends BaseStyle {}
|