diff --git a/components/lib/paginator/Paginator.d.ts b/components/lib/paginator/Paginator.d.ts index 644276fa91..0c8e88bc9e 100755 --- a/components/lib/paginator/Paginator.d.ts +++ b/components/lib/paginator/Paginator.d.ts @@ -309,21 +309,89 @@ export interface PaginatorSlots { state: PageState; }): VNode[]; /** + * @deprecated since v4.0. Use 'firsticon' slot instead. * Custom first page link icon template. + * @param {Object} scope - firstpagelinkicon's params. */ - firstpagelinkicon(): VNode[]; + firstpagelinkicon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; + /** + * Custom first page link icon template. + * @param {Object} scope - firsticon's params. + */ + firsticon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; /** + * @deprecated since v4.0. Use 'previcon' slot instead. * Custom previous page link icon template. + * @param {Object} scope - prevpagelinkicon's params. + */ + prevpagelinkicon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; + /** + * Custom previous page link icon template. + * @param {Object} scope - previcon's params. + */ + previcon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; + /** + * @deprecated since v4.0. Use 'nexticon' slot instead. + * Custom finextrst page link icon template. + * @param {Object} scope - nextpagelinkicon's params. */ - prevpagelinkicon(): VNode[]; + nextpagelinkicon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; /** * Custom finextrst page link icon template. + * @param {Object} scope - nexticon's params. + */ + nexticon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; + /** + * @deprecated since v4.0. Use 'lasticon' slot instead. + * Custom last page link icon template. + * @param {Object} scope - lastpagelinkicon's params. */ - nextpagelinkicon(): VNode[]; + lastpagelinkicon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; /** * Custom last page link icon template. + * @param {Object} scope - lasticon's params. */ - lastpagelinkicon(): VNode[]; + lasticon(scope: { + /** + * Style class of the jumptopagedropdown icon. + */ + class: string; + }): VNode[]; /** * Custom rowsperpagedropdownicon template. * @param {Object} scope - rowsperpagedropdownicon's params. diff --git a/components/lib/paginator/Paginator.vue b/components/lib/paginator/Paginator.vue index e343fb26e0..b9e44ff6af 100755 --- a/components/lib/paginator/Paginator.vue +++ b/components/lib/paginator/Paginator.vue @@ -5,10 +5,42 @@