mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5592 - For OrgChart, Paginator, Picklist, Timeline
This commit is contained in:
parent
abef162a11
commit
3596026387
17 changed files with 105 additions and 97 deletions
|
@ -83,38 +83,38 @@ const classes = {
|
|||
[`p-paginator-${key}`]: instance.hasBreakpoints()
|
||||
}
|
||||
],
|
||||
start: 'p-paginator-content-start',
|
||||
end: 'p-paginator-content-end',
|
||||
firstPageButton: ({ instance }) => [
|
||||
contentStart: 'p-paginator-content-start',
|
||||
contentEnd: 'p-paginator-content-end',
|
||||
first: ({ instance }) => [
|
||||
'p-paginator-first',
|
||||
{
|
||||
'p-disabled': instance.$attrs.disabled
|
||||
}
|
||||
],
|
||||
firstPageIcon: 'p-paginator-first-icon',
|
||||
previousPageButton: ({ instance }) => [
|
||||
firstIcon: 'p-paginator-first-icon',
|
||||
prev: ({ instance }) => [
|
||||
'p-paginator-prev',
|
||||
{
|
||||
'p-disabled': instance.$attrs.disabled
|
||||
}
|
||||
],
|
||||
previousPageIcon: 'p-paginator-prev-icon',
|
||||
nextPageButton: ({ instance }) => [
|
||||
prevIcon: 'p-paginator-prev-icon',
|
||||
next: ({ instance }) => [
|
||||
'p-paginator-next',
|
||||
{
|
||||
'p-disabled': instance.$attrs.disabled
|
||||
}
|
||||
],
|
||||
nextPageIcon: 'p-paginator-next-icon',
|
||||
lastPageButton: ({ instance }) => [
|
||||
nextIcon: 'p-paginator-next-icon',
|
||||
last: ({ instance }) => [
|
||||
'p-paginator-last',
|
||||
{
|
||||
'p-disabled': instance.$attrs.disabled
|
||||
}
|
||||
],
|
||||
lastPageIcon: 'p-paginator-last-icon',
|
||||
lastIcon: 'p-paginator-last-icon',
|
||||
pages: 'p-paginator-pages',
|
||||
pageButton: ({ props, pageLink }) => [
|
||||
page: ({ props, pageLink }) => [
|
||||
'p-paginator-page',
|
||||
{
|
||||
'p-paginator-page-active': pageLink - 1 === props.page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue