diff --git a/api-generator/components/paginator.js b/api-generator/components/paginator.js index 29f0246d1..75967020d 100644 --- a/api-generator/components/paginator.js +++ b/api-generator/components/paginator.js @@ -46,6 +46,12 @@ const PaginatorProps = [ type: 'boolean', default: 'true', description: 'Whether to show the paginator even there is only one page.' + }, + { + name: 'pt', + type: 'any', + default: 'null', + description: 'Uses to pass attributes to DOM elements inside the component.' } ]; diff --git a/components/lib/config/PrimeVue.d.ts b/components/lib/config/PrimeVue.d.ts index eb0c67a52..af86e280b 100644 --- a/components/lib/config/PrimeVue.d.ts +++ b/components/lib/config/PrimeVue.d.ts @@ -43,6 +43,7 @@ import { MenubarPassThroughOptions } from '../menubar'; import { MessagePassThroughOptions } from '../message'; import { MultiSelectPassThroughOptions } from '../multiselect'; import { OverlayPanelPassThroughOptions } from '../overlaypanel'; +import { PaginatorPassThroughOptions } from '../paginator'; import { PanelPassThroughOptions } from '../panel'; import { PanelMenuPassThroughOptions } from '../panelmenu'; import { PasswordPassThroughOptions } from '../password'; @@ -132,6 +133,7 @@ interface PrimeVuePTOptions { message?: MessagePassThroughOptions; multiselect?: MultiSelectPassThroughOptions; overlaypanel?: OverlayPanelPassThroughOptions; + paginator?: PaginatorPassThroughOptions; panel?: PanelPassThroughOptions; panelmenu?: PanelMenuPassThroughOptions; password?: PasswordPassThroughOptions; diff --git a/components/lib/paginator/CurrentPageReport.vue b/components/lib/paginator/CurrentPageReport.vue index 0210b76b0..ed4da044e 100755 --- a/components/lib/paginator/CurrentPageReport.vue +++ b/components/lib/paginator/CurrentPageReport.vue @@ -1,9 +1,13 @@ +