From e09e9ea38fa5b0df9cb766a06fb51f594456ea5a Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 30 Oct 2024 15:10:26 +0300 Subject: [PATCH] Refactor #6683 - For TreeTable --- .../primevue/src/treetable/TreeTable.d.ts | 20 +++++++----- packages/primevue/src/treetable/TreeTable.vue | 32 +++++++++++++++++++ 2 files changed, 44 insertions(+), 8 deletions(-) diff --git a/packages/primevue/src/treetable/TreeTable.d.ts b/packages/primevue/src/treetable/TreeTable.d.ts index 40d3f9fdf..f1d59027b 100755 --- a/packages/primevue/src/treetable/TreeTable.d.ts +++ b/packages/primevue/src/treetable/TreeTable.d.ts @@ -658,14 +658,6 @@ export interface TreeTableSlots { * Custom footer template. */ footer(): VNode[]; - /** - * Custom paginator start template. - */ - paginatorstart(): VNode[]; - /** - * Custom paginator end template. - */ - paginatorend(): VNode[]; /** * Custom empty template. */ @@ -678,6 +670,18 @@ export interface TreeTableSlots { * Custom checkbox icon template. */ checkboxicon(): VNode[]; + /** + * Custom paginator container template. + */ + paginatorcontainer(): VNode[]; + /** + * Custom paginator start template. + */ + paginatorstart(): VNode[]; + /** + * Custom paginator end template. + */ + paginatorend(): VNode[]; /** * Custom paginator first page link icon template. */ diff --git a/packages/primevue/src/treetable/TreeTable.vue b/packages/primevue/src/treetable/TreeTable.vue index 8ed027331..40e4dec57 100755 --- a/packages/primevue/src/treetable/TreeTable.vue +++ b/packages/primevue/src/treetable/TreeTable.vue @@ -26,6 +26,22 @@ :unstyled="unstyled" :pt="ptm('pcPaginator')" > + @@ -138,6 +154,22 @@ :unstyled="unstyled" :pt="ptm('pcPaginator')" > +