From fbc87886452413ad15e26da19a36b1b0062c37fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 14 Apr 2023 18:01:22 +0300 Subject: [PATCH] Refactor #3832 Refactor #3833 - TreeTable paginator icon support --- api-generator/components/treetable.js | 16 ++++++++++++++++ components/lib/treetable/TreeTable.d.ts | 16 ++++++++++++++++ components/lib/treetable/TreeTable.vue | 24 ++++++++++++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/api-generator/components/treetable.js b/api-generator/components/treetable.js index 08a56d04d..6d4747b53 100644 --- a/api-generator/components/treetable.js +++ b/api-generator/components/treetable.js @@ -476,6 +476,22 @@ const TreeTableSlots = [ { name: 'sorticon', description: 'Custom sort icon template.' + }, + { + name: 'paginatorfirstpagelinkicon', + description: 'Custom paginator first page link icon template.' + }, + { + name: 'paginatorprevpagelinkicon', + description: 'Custom paginator prev page link icon template.' + }, + { + name: 'paginatornextpagelinkicon', + description: 'Custom paginator next page link icon template.' + }, + { + name: 'paginatorlastpagelinkicon', + description: 'Custom paginator last page link icon template.' } ]; diff --git a/components/lib/treetable/TreeTable.d.ts b/components/lib/treetable/TreeTable.d.ts index 7c4751ce7..a84041ede 100755 --- a/components/lib/treetable/TreeTable.d.ts +++ b/components/lib/treetable/TreeTable.d.ts @@ -406,6 +406,22 @@ export interface TreeTableSlots { */ sortOrder: boolean; }): VNode[]; + /** + * Custom paginator first page link icon template. + */ + paginatorfirstpagelinkicon(): VNode[]; + /** + * Custom paginator previous page link icon template. + */ + paginatorprevpagelinkicon(): VNode[]; + /** + * Custom paginator next page link icon template. + */ + paginatornextpagelinkicon(): VNode[]; + /** + * Custom paginator last page link icon template. + */ + paginatorlastpagelinkicon(): VNode[]; } /** diff --git a/components/lib/treetable/TreeTable.vue b/components/lib/treetable/TreeTable.vue index 7508cb58f..6f39ed22d 100755 --- a/components/lib/treetable/TreeTable.vue +++ b/components/lib/treetable/TreeTable.vue @@ -29,6 +29,18 @@ + + + +
@@ -111,6 +123,18 @@ + + + +