mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #5681
This commit is contained in:
parent
3cc675e50f
commit
e1367fd494
89 changed files with 376 additions and 339 deletions
2
components/lib/dataview/DataView.d.ts
vendored
2
components/lib/dataview/DataView.d.ts
vendored
|
@ -99,7 +99,7 @@ export interface DataViewPassThroughOptions {
|
|||
* Used to pass attributes to the Paginator component.
|
||||
* @see {@link PaginatorPassThroughOptionType}
|
||||
*/
|
||||
paginator?: PaginatorPassThroughOptionType<DataViewSharedPassThroughMethodOptions>;
|
||||
pcPaginator?: PaginatorPassThroughOptionType<DataViewSharedPassThroughMethodOptions>;
|
||||
/**
|
||||
* Used to pass attributes to the content's DOM element.
|
||||
*/
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
:template="paginatorTemplate"
|
||||
:rowsPerPageOptions="rowsPerPageOptions"
|
||||
:currentPageReportTemplate="currentPageReportTemplate"
|
||||
:class="cx('paginator', { position: 'top' })"
|
||||
:class="cx('pcPaginator', { position: 'top' })"
|
||||
:alwaysShow="alwaysShowPaginator"
|
||||
@page="onPage($event)"
|
||||
:unstyled="unstyled"
|
||||
:pt="ptm('paginator')"
|
||||
:pt="ptm('pcPaginator')"
|
||||
>
|
||||
<template v-if="$slots.paginatorstart" #start>
|
||||
<slot name="paginatorstart"></slot>
|
||||
|
@ -45,11 +45,11 @@
|
|||
:template="paginatorTemplate"
|
||||
:rowsPerPageOptions="rowsPerPageOptions"
|
||||
:currentPageReportTemplate="currentPageReportTemplate"
|
||||
:class="cx('paginator', { position: 'bottom' })"
|
||||
:class="cx('pcPaginator', { position: 'bottom' })"
|
||||
:alwaysShow="alwaysShowPaginator"
|
||||
@page="onPage($event)"
|
||||
:unstyled="unstyled"
|
||||
:pt="ptm('paginator')"
|
||||
:pt="ptm('pcPaginator')"
|
||||
>
|
||||
<template v-if="$slots.paginatorstart" #start>
|
||||
<slot name="paginatorstart"></slot>
|
||||
|
|
|
@ -42,7 +42,7 @@ const classes = {
|
|||
}
|
||||
],
|
||||
header: 'p-dataview-header',
|
||||
paginator: ({ position }) => 'p-dataview-paginator-' + position,
|
||||
pcPaginator: ({ position }) => 'p-dataview-paginator-' + position,
|
||||
content: 'p-dataview-content',
|
||||
emptyMessage: 'p-dataview-empty-message', // TODO: remove?
|
||||
footer: 'p-dataview-footer'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue