File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,14 @@ import {
99 PROP_TYPE_NUMBER_STRING ,
1010 PROP_TYPE_STRING
1111} from '../constants/props'
12- import { SLOT_NAME_ELLIPSIS_TEXT , SLOT_NAME_PAGE } from '../constants/slots'
12+ import {
13+ SLOT_NAME_ELLIPSIS_TEXT ,
14+ SLOT_NAME_PAGE ,
15+ SLOT_NAME_FIRST_TEXT ,
16+ SLOT_NAME_PREV_TEXT ,
17+ SLOT_NAME_NEXT_TEXT ,
18+ SLOT_NAME_LAST_TEXT
19+ } from '../constants/slots'
1320import { createArray } from '../utils/array'
1421import {
1522 attemptFocus ,
@@ -551,7 +558,7 @@ export const paginationMixin = Vue.extend({
551558 $firstPageBtn = makeEndBtn (
552559 1 ,
553560 this . labelFirstPage ,
554- 'first-text' ,
561+ SLOT_NAME_FIRST_TEXT ,
555562 this . firstText ,
556563 this . firstClass ,
557564 1 ,
@@ -565,7 +572,7 @@ export const paginationMixin = Vue.extend({
565572 makeEndBtn (
566573 currentPage - 1 ,
567574 this . labelPrevPage ,
568- 'prev-text' ,
575+ SLOT_NAME_PREV_TEXT ,
569576 this . prevText ,
570577 this . prevClass ,
571578 1 ,
@@ -600,7 +607,7 @@ export const paginationMixin = Vue.extend({
600607 makeEndBtn (
601608 currentPage + 1 ,
602609 this . labelNextPage ,
603- 'next-text' ,
610+ SLOT_NAME_NEXT_TEXT ,
604611 this . nextText ,
605612 this . nextClass ,
606613 numberOfPages ,
@@ -615,7 +622,7 @@ export const paginationMixin = Vue.extend({
615622 $lastPageBtn = makeEndBtn (
616623 numberOfPages ,
617624 this . labelLastPage ,
618- 'last-text' ,
625+ SLOT_NAME_LAST_TEXT ,
619626 this . lastText ,
620627 this . lastClass ,
621628 numberOfPages ,
You can’t perform that action at this time.
0 commit comments