From 753e55c473edff77e25df517f8ca756539e61e2b 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: Mon, 22 Nov 2021 15:05:16 +0300 Subject: [PATCH] Fixed #1808, Fixed #1809 --- api-generator/components/datatable.js | 4 ++-- api-generator/components/dataview.js | 4 ++-- api-generator/components/paginator.js | 4 ++-- api-generator/components/toolbar.js | 4 ++-- api-generator/components/treetable.js | 4 ++-- src/components/datatable/DataTable.d.ts | 4 ++-- src/components/datatable/DataTable.vue | 16 ++++++++-------- src/components/dataview/DataView.d.ts | 4 ++-- src/components/dataview/DataView.vue | 16 ++++++++-------- src/components/paginator/Paginator.d.ts | 4 ++-- src/components/paginator/Paginator.vue | 8 ++++---- src/components/toolbar/Toolbar.d.ts | 2 +- src/components/toolbar/Toolbar.vue | 4 ++-- src/components/treetable/TreeTable.d.ts | 4 ++-- src/components/treetable/TreeTable.vue | 16 ++++++++-------- src/views/datatable/DataTableCrudDemo.vue | 8 ++++---- src/views/datatable/DataTableDoc.vue | 10 +++++----- src/views/datatable/DataTablePaginatorDemo.vue | 8 ++++---- src/views/dataview/DataViewDoc.vue | 10 +++++----- src/views/paginator/PaginatorDemo.vue | 4 ++-- src/views/paginator/PaginatorDoc.vue | 8 ++++---- src/views/toolbar/ToolbarDemo.vue | 4 ++-- src/views/toolbar/ToolbarDoc.vue | 14 +++++++------- src/views/treetable/TreeTableDoc.vue | 10 +++++----- 24 files changed, 87 insertions(+), 87 deletions(-) diff --git a/api-generator/components/datatable.js b/api-generator/components/datatable.js index fc5688facf..ebe61b4ebf 100644 --- a/api-generator/components/datatable.js +++ b/api-generator/components/datatable.js @@ -1063,11 +1063,11 @@ const DataTableSlots = [ description: "Custom content for the component's header" }, { - name: "paginatorLeft", + name: "paginatorstart", description: "Custom content for the component paginator's left side" }, { - name: "paginatorRight", + name: "paginatorend", description: "Custom content for the component paginator's right side" }, { diff --git a/api-generator/components/dataview.js b/api-generator/components/dataview.js index ad1996a609..c11fa356aa 100644 --- a/api-generator/components/dataview.js +++ b/api-generator/components/dataview.js @@ -126,11 +126,11 @@ const DataViewSlots = [ description: "Custom content for the component's header" }, { - name: "paginatorLeft", + name: "paginatorstart", description: "Custom content for the component paginator's left side" }, { - name: "paginatorRight", + name: "paginatorend", description: "Custom content for the component paginator's right side" }, { diff --git a/api-generator/components/paginator.js b/api-generator/components/paginator.js index 9598b60c65..a1717a1960 100644 --- a/api-generator/components/paginator.js +++ b/api-generator/components/paginator.js @@ -80,11 +80,11 @@ const PaginatorEvents = [ const PaginatorSlots = [ { - name: "left", + name: "start", description: "Custom content for the component's left side" }, { - name: "right", + name: "end", description: "Custom content for the component's right side" } ]; diff --git a/api-generator/components/toolbar.js b/api-generator/components/toolbar.js index 3a10deb5ba..96851ae87c 100644 --- a/api-generator/components/toolbar.js +++ b/api-generator/components/toolbar.js @@ -1,10 +1,10 @@ const ToolbarSlots = [ { - name: "left", + name: "start", description: "Custom content for the component's left side" }, { - name: "right", + name: "end", description: "Custom content for the component's right side" } ]; diff --git a/api-generator/components/treetable.js b/api-generator/components/treetable.js index 87f9a0c18f..0fbef718be 100644 --- a/api-generator/components/treetable.js +++ b/api-generator/components/treetable.js @@ -415,11 +415,11 @@ const TreeTableSlots = [ description: "Custom content for the component's header" }, { - name: "paginatorLeft", + name: "paginatorstart", description: "Custom content for the component paginator's left side" }, { - name: "paginatorRight", + name: "paginatorend", description: "Custom content for the component paginator's right side" }, { diff --git a/src/components/datatable/DataTable.d.ts b/src/components/datatable/DataTable.d.ts index 3acf67cf6d..eb79c3d8a9 100755 --- a/src/components/datatable/DataTable.d.ts +++ b/src/components/datatable/DataTable.d.ts @@ -81,8 +81,8 @@ declare class DataTable extends Vue { $emit(eventName: 'row-edit-cancel', event: Event): this; $slots: { header: VNode[]; - paginatorLeft: VNode[]; - paginatorRight: VNode[]; + paginatorstart: VNode[]; + paginatorend: VNode[]; empty: VNode[]; footer: VNode[]; } diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index cba86bc7bd..676f22af44 100755 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -9,11 +9,11 @@ -