vxe-pc-ui 4.3.96 → 4.3.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/icon/style.css +1 -1
- package/es/pager/src/pager.js +134 -101
- package/es/pager/style.css +40 -2
- package/es/pager/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-pager/style.css +40 -2
- package/es/vxe-pager/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +99 -50
- package/lib/index.umd.min.js +1 -1
- package/lib/pager/src/pager.js +97 -48
- package/lib/pager/src/pager.min.js +1 -1
- package/lib/pager/style/style.css +40 -2
- package/lib/pager/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-pager/style/style.css +40 -2
- package/lib/vxe-pager/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/pager/src/pager.ts +136 -104
- package/styles/components/pager.scss +16 -0
- package/types/components/pager.d.ts +14 -16
- /package/es/icon/{iconfont.1740550757682.ttf → iconfont.1740558176929.ttf} +0 -0
- /package/es/icon/{iconfont.1740550757682.woff → iconfont.1740558176929.woff} +0 -0
- /package/es/icon/{iconfont.1740550757682.woff2 → iconfont.1740558176929.woff2} +0 -0
- /package/es/{iconfont.1740550757682.ttf → iconfont.1740558176929.ttf} +0 -0
- /package/es/{iconfont.1740550757682.woff → iconfont.1740558176929.woff} +0 -0
- /package/es/{iconfont.1740550757682.woff2 → iconfont.1740558176929.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1740550757682.ttf → iconfont.1740558176929.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1740550757682.woff → iconfont.1740558176929.woff} +0 -0
- /package/lib/icon/style/{iconfont.1740550757682.woff2 → iconfont.1740558176929.woff2} +0 -0
- /package/lib/{iconfont.1740550757682.ttf → iconfont.1740558176929.ttf} +0 -0
- /package/lib/{iconfont.1740550757682.woff → iconfont.1740558176929.woff} +0 -0
- /package/lib/{iconfont.1740550757682.woff2 → iconfont.1740558176929.woff2} +0 -0
|
@@ -253,27 +253,35 @@ export default defineComponent({
|
|
|
253
253
|
// 第一页
|
|
254
254
|
const renderHomePage = () => {
|
|
255
255
|
const { currentPage } = props
|
|
256
|
-
const
|
|
256
|
+
const homeSlot = slots.home
|
|
257
|
+
if (homeSlot) {
|
|
258
|
+
return h('span', {
|
|
259
|
+
class: 'vxe-pager--custom-home-btn'
|
|
260
|
+
}, homeSlot({ currentPage }))
|
|
261
|
+
}
|
|
257
262
|
return h('button', {
|
|
258
|
-
class: ['vxe-pager--
|
|
263
|
+
class: ['vxe-pager--home-btn', {
|
|
259
264
|
'is--disabled': currentPage <= 1
|
|
260
265
|
}],
|
|
261
266
|
type: 'button',
|
|
262
267
|
title: getI18n('vxe.pager.homePageTitle'),
|
|
263
268
|
onClick: handleHomePage
|
|
264
|
-
},
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
})
|
|
270
|
-
])
|
|
269
|
+
}, [
|
|
270
|
+
h('i', {
|
|
271
|
+
class: ['vxe-pager--btn-icon', props.iconHomePage || getIcon().PAGER_HOME]
|
|
272
|
+
})
|
|
273
|
+
])
|
|
271
274
|
}
|
|
272
275
|
|
|
273
276
|
// 上一页
|
|
274
277
|
const renderPrevPage = () => {
|
|
275
278
|
const { currentPage } = props
|
|
276
279
|
const prevPageSlot = slots.prevPage || slots['prev-page']
|
|
280
|
+
if (prevPageSlot) {
|
|
281
|
+
return h('span', {
|
|
282
|
+
class: 'vxe-pager--custom-prev-btn'
|
|
283
|
+
}, prevPageSlot({ currentPage }))
|
|
284
|
+
}
|
|
277
285
|
return h('button', {
|
|
278
286
|
class: ['vxe-pager--prev-btn', {
|
|
279
287
|
'is--disabled': currentPage <= 1
|
|
@@ -281,19 +289,22 @@ export default defineComponent({
|
|
|
281
289
|
type: 'button',
|
|
282
290
|
title: getI18n('vxe.pager.prevPageTitle'),
|
|
283
291
|
onClick: handlePrevPage
|
|
284
|
-
},
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
})
|
|
290
|
-
])
|
|
292
|
+
}, [
|
|
293
|
+
h('i', {
|
|
294
|
+
class: ['vxe-pager--btn-icon', props.iconPrevPage || getIcon().PAGER_PREV_PAGE]
|
|
295
|
+
})
|
|
296
|
+
])
|
|
291
297
|
}
|
|
292
298
|
|
|
293
299
|
// 向上翻页
|
|
294
300
|
const renderPrevJump = (tagName?: string) => {
|
|
295
301
|
const { currentPage } = props
|
|
296
|
-
const
|
|
302
|
+
const prevJumpSlot = slots.prevJump || slots['prev-jump']
|
|
303
|
+
if (prevJumpSlot) {
|
|
304
|
+
return h('span', {
|
|
305
|
+
class: 'vxe-pager--custom-jump-prev'
|
|
306
|
+
}, prevJumpSlot({ currentPage }))
|
|
307
|
+
}
|
|
297
308
|
return h(tagName || 'button', {
|
|
298
309
|
class: ['vxe-pager--jump-prev', {
|
|
299
310
|
'is--fixed': !tagName,
|
|
@@ -302,25 +313,28 @@ export default defineComponent({
|
|
|
302
313
|
type: 'button',
|
|
303
314
|
title: getI18n('vxe.pager.prevJumpTitle'),
|
|
304
315
|
onClick: handlePrevJump
|
|
305
|
-
},
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
})
|
|
316
|
-
])
|
|
316
|
+
}, [
|
|
317
|
+
tagName
|
|
318
|
+
? h('i', {
|
|
319
|
+
class: ['vxe-pager--jump-more-icon', props.iconJumpMore || getIcon().PAGER_JUMP_MORE]
|
|
320
|
+
})
|
|
321
|
+
: null,
|
|
322
|
+
h('i', {
|
|
323
|
+
class: ['vxe-pager--jump-icon', props.iconJumpPrev || getIcon().PAGER_JUMP_PREV]
|
|
324
|
+
})
|
|
325
|
+
])
|
|
317
326
|
}
|
|
318
327
|
|
|
319
328
|
// 向下翻页
|
|
320
329
|
const renderNextJump = (tagName?: string) => {
|
|
321
330
|
const { currentPage } = props
|
|
322
|
-
const
|
|
331
|
+
const nextJumpSlot = slots.nextJump || slots['next-jump']
|
|
323
332
|
const pageCount = computePageCount.value
|
|
333
|
+
if (nextJumpSlot) {
|
|
334
|
+
return h('span', {
|
|
335
|
+
class: 'vxe-pager--custom-jump-next'
|
|
336
|
+
}, nextJumpSlot({ currentPage }))
|
|
337
|
+
}
|
|
324
338
|
return h(tagName || 'button', {
|
|
325
339
|
class: ['vxe-pager--jump-next', {
|
|
326
340
|
'is--fixed': !tagName,
|
|
@@ -329,18 +343,16 @@ export default defineComponent({
|
|
|
329
343
|
type: 'button',
|
|
330
344
|
title: getI18n('vxe.pager.nextJumpTitle'),
|
|
331
345
|
onClick: handleNextJump
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
})
|
|
343
|
-
])
|
|
346
|
+
}, [
|
|
347
|
+
tagName
|
|
348
|
+
? h('i', {
|
|
349
|
+
class: ['vxe-pager--jump-more-icon', props.iconJumpMore || getIcon().PAGER_JUMP_MORE]
|
|
350
|
+
})
|
|
351
|
+
: null,
|
|
352
|
+
h('i', {
|
|
353
|
+
class: ['vxe-pager--jump-icon', props.iconJumpNext || getIcon().PAGER_JUMP_NEXT]
|
|
354
|
+
})
|
|
355
|
+
])
|
|
344
356
|
}
|
|
345
357
|
|
|
346
358
|
// 下一页
|
|
@@ -348,6 +360,11 @@ export default defineComponent({
|
|
|
348
360
|
const { currentPage } = props
|
|
349
361
|
const nextPageSlot = slots.nextPage || slots['next-page']
|
|
350
362
|
const pageCount = computePageCount.value
|
|
363
|
+
if (nextPageSlot) {
|
|
364
|
+
return h('span', {
|
|
365
|
+
class: 'vxe-pager--custom-next-btn'
|
|
366
|
+
}, nextPageSlot({ currentPage }))
|
|
367
|
+
}
|
|
351
368
|
return h('button', {
|
|
352
369
|
class: ['vxe-pager--next-btn', {
|
|
353
370
|
'is--disabled': currentPage >= pageCount
|
|
@@ -355,40 +372,41 @@ export default defineComponent({
|
|
|
355
372
|
type: 'button',
|
|
356
373
|
title: getI18n('vxe.pager.nextPageTitle'),
|
|
357
374
|
onClick: handleNextPage
|
|
358
|
-
},
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
})
|
|
364
|
-
])
|
|
375
|
+
}, [
|
|
376
|
+
h('i', {
|
|
377
|
+
class: ['vxe-pager--btn-icon', props.iconNextPage || getIcon().PAGER_NEXT_PAGE]
|
|
378
|
+
})
|
|
379
|
+
])
|
|
365
380
|
}
|
|
366
381
|
|
|
367
382
|
// 最后一页
|
|
368
383
|
const renderEndPage = () => {
|
|
369
384
|
const { currentPage } = props
|
|
370
|
-
const
|
|
385
|
+
const endSlot = slots.end
|
|
371
386
|
const pageCount = computePageCount.value
|
|
387
|
+
if (endSlot) {
|
|
388
|
+
return h('span', {
|
|
389
|
+
class: 'vxe-pager--custom-end-btn'
|
|
390
|
+
}, endSlot({ currentPage, pageCount }))
|
|
391
|
+
}
|
|
372
392
|
return h('button', {
|
|
373
|
-
class: ['vxe-pager--
|
|
393
|
+
class: ['vxe-pager--end-btn', {
|
|
374
394
|
'is--disabled': currentPage >= pageCount
|
|
375
395
|
}],
|
|
376
396
|
type: 'button',
|
|
377
397
|
title: getI18n('vxe.pager.endPageTitle'),
|
|
378
398
|
onClick: handleEndPage
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
})
|
|
385
|
-
])
|
|
399
|
+
}, [
|
|
400
|
+
h('i', {
|
|
401
|
+
class: ['vxe-pager--btn-icon', props.iconEndPage || getIcon().PAGER_END]
|
|
402
|
+
})
|
|
403
|
+
])
|
|
386
404
|
}
|
|
387
405
|
|
|
388
406
|
// 页数
|
|
389
407
|
const renderNumber = (showJump?: boolean) => {
|
|
390
408
|
const { currentPage, pagerCount } = props
|
|
391
|
-
const numberSlot = showJump ? (slots.
|
|
409
|
+
const numberSlot = showJump ? (slots.numberJump || slots['number-jump']) : slots.number
|
|
392
410
|
const nums = []
|
|
393
411
|
const pageCount = computePageCount.value
|
|
394
412
|
const numList = computeNumList.value
|
|
@@ -396,6 +414,7 @@ export default defineComponent({
|
|
|
396
414
|
const isOv = pageCount > pagerCount
|
|
397
415
|
const isLt = isOv && currentPage > offsetNumber + 1
|
|
398
416
|
const isGt = isOv && currentPage < pageCount - offsetNumber
|
|
417
|
+
const restList: number[] = []
|
|
399
418
|
let startNumber = 1
|
|
400
419
|
|
|
401
420
|
if (isOv) {
|
|
@@ -406,13 +425,8 @@ export default defineComponent({
|
|
|
406
425
|
}
|
|
407
426
|
}
|
|
408
427
|
|
|
409
|
-
if (numberSlot) {
|
|
410
|
-
return h('span', {
|
|
411
|
-
class: 'vxe-pager--btn-wrapper'
|
|
412
|
-
}, numberSlot({ numList, currentPage, pageCount, startNumber }))
|
|
413
|
-
}
|
|
414
|
-
|
|
415
428
|
if (showJump && isLt) {
|
|
429
|
+
restList.push(1)
|
|
416
430
|
nums.push(
|
|
417
431
|
h('button', {
|
|
418
432
|
class: 'vxe-pager--num-btn',
|
|
@@ -425,6 +439,7 @@ export default defineComponent({
|
|
|
425
439
|
numList.forEach((item, index) => {
|
|
426
440
|
const number = startNumber + index
|
|
427
441
|
if (number <= pageCount) {
|
|
442
|
+
restList.push(number)
|
|
428
443
|
nums.push(
|
|
429
444
|
h('button', {
|
|
430
445
|
key: number,
|
|
@@ -438,6 +453,7 @@ export default defineComponent({
|
|
|
438
453
|
}
|
|
439
454
|
})
|
|
440
455
|
if (showJump && isGt) {
|
|
456
|
+
restList.push(pageCount)
|
|
441
457
|
nums.push(
|
|
442
458
|
renderNextJump('button'),
|
|
443
459
|
h('button', {
|
|
@@ -447,6 +463,11 @@ export default defineComponent({
|
|
|
447
463
|
}, pageCount)
|
|
448
464
|
)
|
|
449
465
|
}
|
|
466
|
+
if (numberSlot) {
|
|
467
|
+
return h('span', {
|
|
468
|
+
class: 'vxe-pager--custom-btn-wrapper'
|
|
469
|
+
}, numberSlot({ numList: restList, currentPage, pageCount }))
|
|
470
|
+
}
|
|
450
471
|
return h('span', {
|
|
451
472
|
class: 'vxe-pager--btn-wrapper'
|
|
452
473
|
}, nums)
|
|
@@ -464,7 +485,7 @@ export default defineComponent({
|
|
|
464
485
|
const sizeList = computeSizeList.value
|
|
465
486
|
if (sizesSlot) {
|
|
466
487
|
return h('span', {
|
|
467
|
-
class: 'vxe-pager--sizes'
|
|
488
|
+
class: 'vxe-pager--custom-sizes'
|
|
468
489
|
}, sizesSlot({ pageSize, options: sizeList }))
|
|
469
490
|
}
|
|
470
491
|
return h(VxeSelectComponent, {
|
|
@@ -482,37 +503,40 @@ export default defineComponent({
|
|
|
482
503
|
const { inpCurrPage } = reactData
|
|
483
504
|
const jumpSlot = isFull ? (slots.fullJump || slots['full-jump']) : slots.jump
|
|
484
505
|
const pageCount = computePageCount.value
|
|
506
|
+
if (jumpSlot) {
|
|
507
|
+
return h('span', {
|
|
508
|
+
class: 'vxe-pager--custom-jump'
|
|
509
|
+
}, jumpSlot({ currentPage: inpCurrPage, pageCount }))
|
|
510
|
+
}
|
|
485
511
|
return h('span', {
|
|
486
512
|
class: 'vxe-pager--jump'
|
|
487
|
-
},
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
: null
|
|
515
|
-
])
|
|
513
|
+
}, [
|
|
514
|
+
isFull
|
|
515
|
+
? h('span', {
|
|
516
|
+
class: 'vxe-pager--goto-text'
|
|
517
|
+
}, getI18n('vxe.pager.goto'))
|
|
518
|
+
: null,
|
|
519
|
+
h(VxeInputComponent, {
|
|
520
|
+
class: 'vxe-pager--goto',
|
|
521
|
+
modelValue: reactData.inpCurrPage,
|
|
522
|
+
placeholder: getI18n('vxe.pager.gotoTitle'),
|
|
523
|
+
align: 'center',
|
|
524
|
+
type: 'integer',
|
|
525
|
+
max: pageCount,
|
|
526
|
+
min: 1,
|
|
527
|
+
controls: false,
|
|
528
|
+
onKeydown: jumpKeydownEvent,
|
|
529
|
+
onBlur: triggerJumpEvent,
|
|
530
|
+
'onUpdate:modelValue' (val) {
|
|
531
|
+
reactData.inpCurrPage = val
|
|
532
|
+
}
|
|
533
|
+
}),
|
|
534
|
+
isFull
|
|
535
|
+
? h('span', {
|
|
536
|
+
class: 'vxe-pager--classifier-text'
|
|
537
|
+
}, getI18n('vxe.pager.pageClassifier'))
|
|
538
|
+
: null
|
|
539
|
+
])
|
|
516
540
|
}
|
|
517
541
|
|
|
518
542
|
// FullJump
|
|
@@ -525,25 +549,33 @@ export default defineComponent({
|
|
|
525
549
|
const { currentPage } = props
|
|
526
550
|
const pageCountSlot = slots.pageCount || slots['page-count']
|
|
527
551
|
const pageCount = computePageCount.value
|
|
552
|
+
if (pageCountSlot) {
|
|
553
|
+
return h('span', {
|
|
554
|
+
class: 'vxe-pager--custom-count'
|
|
555
|
+
}, pageCountSlot({ currentPage, pageCount }))
|
|
556
|
+
}
|
|
528
557
|
return h('span', {
|
|
529
558
|
class: 'vxe-pager--count'
|
|
530
|
-
},
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
h('span', pageCount)
|
|
537
|
-
])
|
|
559
|
+
}, [
|
|
560
|
+
h('span', {
|
|
561
|
+
class: 'vxe-pager--separator'
|
|
562
|
+
}),
|
|
563
|
+
h('span', pageCount)
|
|
564
|
+
])
|
|
538
565
|
}
|
|
539
566
|
|
|
540
567
|
// total
|
|
541
568
|
const renderTotal = () => {
|
|
542
569
|
const { currentPage, total } = props
|
|
543
570
|
const totalSlot = slots.total
|
|
571
|
+
if (totalSlot) {
|
|
572
|
+
return h('span', {
|
|
573
|
+
class: 'vxe-pager--custom-total'
|
|
574
|
+
}, totalSlot({ total, currentPage }))
|
|
575
|
+
}
|
|
544
576
|
return h('span', {
|
|
545
577
|
class: 'vxe-pager--total'
|
|
546
|
-
},
|
|
578
|
+
}, getI18n('vxe.pager.total', [total]))
|
|
547
579
|
}
|
|
548
580
|
|
|
549
581
|
const dispatchEvent = (type: ValueOf<VxePagerEmits>, params: Record<string, any>, evnt: Event | null) => {
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
background-color: var(--vxe-ui-loading-background-color);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
.vxe-pager--home-btn,
|
|
33
|
+
.vxe-pager--end-btn,
|
|
32
34
|
.vxe-pager--prev-btn,
|
|
33
35
|
.vxe-pager--next-btn,
|
|
34
36
|
.vxe-pager--num-btn,
|
|
@@ -54,6 +56,8 @@
|
|
|
54
56
|
&.is--border,
|
|
55
57
|
&.is--perfect {
|
|
56
58
|
&:not(.is--background) {
|
|
59
|
+
.vxe-pager--home-btn,
|
|
60
|
+
.vxe-pager--end-btn,
|
|
57
61
|
.vxe-pager--prev-btn,
|
|
58
62
|
.vxe-pager--next-btn,
|
|
59
63
|
.vxe-pager--num-btn,
|
|
@@ -65,6 +69,8 @@
|
|
|
65
69
|
}
|
|
66
70
|
&.is--background,
|
|
67
71
|
&.is--perfect {
|
|
72
|
+
.vxe-pager--home-btn,
|
|
73
|
+
.vxe-pager--end-btn,
|
|
68
74
|
.vxe-pager--prev-btn,
|
|
69
75
|
.vxe-pager--next-btn,
|
|
70
76
|
.vxe-pager--jump-prev,
|
|
@@ -118,6 +124,8 @@
|
|
|
118
124
|
.vxe-pager--left-wrapper,
|
|
119
125
|
.vxe-pager--right-wrapper,
|
|
120
126
|
.vxe-pager--total,
|
|
127
|
+
.vxe-pager--home-btn,
|
|
128
|
+
.vxe-pager--end-btn,
|
|
121
129
|
.vxe-pager--prev-btn,
|
|
122
130
|
.vxe-pager--next-btn,
|
|
123
131
|
.vxe-pager--jump,
|
|
@@ -129,6 +137,8 @@
|
|
|
129
137
|
vertical-align: middle;
|
|
130
138
|
display: inline-block;
|
|
131
139
|
}
|
|
140
|
+
.vxe-pager--home-btn,
|
|
141
|
+
.vxe-pager--end-btn,
|
|
132
142
|
.vxe-pager--prev-btn,
|
|
133
143
|
.vxe-pager--jump-prev,
|
|
134
144
|
.vxe-pager--num-btn,
|
|
@@ -140,6 +150,8 @@
|
|
|
140
150
|
.vxe-pager--left-wrapper,
|
|
141
151
|
.vxe-pager--right-wrapper,
|
|
142
152
|
.vxe-pager--count,
|
|
153
|
+
.vxe-pager--home-btn,
|
|
154
|
+
.vxe-pager--end-btn,
|
|
143
155
|
.vxe-pager--prev-btn,
|
|
144
156
|
.vxe-pager--next-btn,
|
|
145
157
|
.vxe-pager--jump-prev,
|
|
@@ -153,6 +165,8 @@
|
|
|
153
165
|
text-align: center;
|
|
154
166
|
}
|
|
155
167
|
.vxe-pager--jump-prev,
|
|
168
|
+
.vxe-pager--home-btn,
|
|
169
|
+
.vxe-pager--end-btn,
|
|
156
170
|
.vxe-pager--prev-btn,
|
|
157
171
|
.vxe-pager--next-btn,
|
|
158
172
|
.vxe-pager--jump-next,
|
|
@@ -181,6 +195,8 @@
|
|
|
181
195
|
}
|
|
182
196
|
}
|
|
183
197
|
.vxe-pager--jump-prev,
|
|
198
|
+
.vxe-pager--home-btn,
|
|
199
|
+
.vxe-pager--end-btn,
|
|
184
200
|
.vxe-pager--prev-btn,
|
|
185
201
|
.vxe-pager--next-btn,
|
|
186
202
|
.vxe-pager--jump-next,
|
|
@@ -201,25 +201,25 @@ export namespace VxePagerSlotTypes {
|
|
|
201
201
|
export interface DefaultSlotParams {
|
|
202
202
|
[key: string]: any
|
|
203
203
|
}
|
|
204
|
-
export interface
|
|
204
|
+
export interface HomeSlotParams {
|
|
205
205
|
currentPage: number
|
|
206
206
|
}
|
|
207
207
|
export interface PrevPageSlotParams {
|
|
208
208
|
currentPage: number
|
|
209
209
|
}
|
|
210
|
-
export interface
|
|
210
|
+
export interface PrevJumpSlotParams {
|
|
211
211
|
currentPage: number
|
|
212
212
|
}
|
|
213
|
-
export interface
|
|
213
|
+
export interface NextJumpSlotParams {
|
|
214
214
|
currentPage: number
|
|
215
215
|
}
|
|
216
216
|
export interface NextPageSlotParams {
|
|
217
217
|
currentPage: number
|
|
218
218
|
}
|
|
219
|
-
export interface
|
|
219
|
+
export interface EndSlotParams {
|
|
220
220
|
currentPage: number
|
|
221
221
|
}
|
|
222
|
-
export interface
|
|
222
|
+
export interface NumberJumpSlotParams {
|
|
223
223
|
numList: number[]
|
|
224
224
|
currentPage: number
|
|
225
225
|
pageCount: number
|
|
@@ -250,27 +250,25 @@ export interface VxePagerSlots {
|
|
|
250
250
|
|
|
251
251
|
right?: (params: VxePagerSlotTypes.DefaultSlotParams) => any
|
|
252
252
|
|
|
253
|
-
|
|
254
|
-
'home-page'?: (params: VxePagerSlotTypes.HomePageSlotParams) => any
|
|
253
|
+
home?: (params: VxePagerSlotTypes.HomeSlotParams) => any
|
|
255
254
|
|
|
256
255
|
prevPage?: (params: VxePagerSlotTypes.PrevPageSlotParams) => any
|
|
257
256
|
'prev-page'?: (params: VxePagerSlotTypes.PrevPageSlotParams) => any
|
|
258
257
|
|
|
259
|
-
|
|
260
|
-
'jump
|
|
258
|
+
prevJump?: (params: VxePagerSlotTypes.PrevJumpSlotParams) => any
|
|
259
|
+
'prev-jump'?: (params: VxePagerSlotTypes.PrevJumpSlotParams) => any
|
|
261
260
|
|
|
262
|
-
|
|
263
|
-
'jump
|
|
261
|
+
nextJump?: (params: VxePagerSlotTypes.NextJumpSlotParams) => any
|
|
262
|
+
'next-jump'?: (params: VxePagerSlotTypes.NextJumpSlotParams) => any
|
|
264
263
|
|
|
265
264
|
nextPage?: (params: VxePagerSlotTypes.NextPageSlotParams) => any
|
|
266
265
|
'next-page'?: (params: VxePagerSlotTypes.NextPageSlotParams) => any
|
|
267
266
|
|
|
268
|
-
|
|
269
|
-
'end-page'?: (params: VxePagerSlotTypes.EndPageSlotParams) => any
|
|
267
|
+
end?: (params: VxePagerSlotTypes.EndSlotParams) => any
|
|
270
268
|
|
|
271
|
-
number?: (params: VxePagerSlotTypes.
|
|
272
|
-
|
|
273
|
-
'jump
|
|
269
|
+
number?: (params: VxePagerSlotTypes.NumberJumpSlotParams) => any
|
|
270
|
+
numberJump?: (params: VxePagerSlotTypes.NumberJumpSlotParams) => any
|
|
271
|
+
'number-jump'?: (params: VxePagerSlotTypes.NumberJumpSlotParams) => any
|
|
274
272
|
|
|
275
273
|
sizes?: (params: VxePagerSlotTypes.SizesSlotParams) => any
|
|
276
274
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|