vxe-table 3.25.0-beta.4 → 3.25.0-beta.5
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/style.css +1 -1
- package/es/table/src/methods.js +18 -192
- package/es/table/src/table.js +2 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +7 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +4 -10
- package/lib/table/src/methods.min.js +1 -1
- package/lib/table/src/table.js +1 -1
- package/lib/table/src/table.min.js +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/package.json +2 -2
- package/packages/table/src/methods.ts +20 -208
- package/packages/table/src/table.ts +17 -15
- /package/es/{iconfont.1792139868734.ttf → iconfont.1792220310836.ttf} +0 -0
- /package/es/{iconfont.1792139868734.woff → iconfont.1792220310836.woff} +0 -0
- /package/es/{iconfont.1792139868734.woff2 → iconfont.1792220310836.woff2} +0 -0
- /package/lib/{iconfont.1792139868734.ttf → iconfont.1792220310836.ttf} +0 -0
- /package/lib/{iconfont.1792139868734.woff → iconfont.1792220310836.woff} +0 -0
- /package/lib/{iconfont.1792139868734.woff2 → iconfont.1792220310836.woff2} +0 -0
|
@@ -26,7 +26,7 @@ import keyboardMixin from '../module/keyboard/mixin'
|
|
|
26
26
|
import validatorMixin from '../module/validator/mixin'
|
|
27
27
|
import customMixin from '../module/custom/mixin'
|
|
28
28
|
|
|
29
|
-
import type { VxeTabsConstructor, VxeTabsPrivateMethods, VxeComponentStyleType, VxeModalConstructor, VxeModalMethods } from 'vxe-pc-ui'
|
|
29
|
+
import type { VxeTabsConstructor, VxeTabsPrivateMethods, VxeComponentStyleType, VxeModalConstructor, VxeModalMethods, VxeUseSizeComputed, VxeUseVScrollbarComputed, VxeUseInitVScrollbarComputed } from 'vxe-pc-ui'
|
|
30
30
|
import type { VxeTableConstructor, VxeTablePrivateMethods, VxeTablePropTypes, TableInternalData, TableReactData, VxeTableDefines } from '../../../types'
|
|
31
31
|
|
|
32
32
|
const { warnLog, errLog } = createComponentLog('table')
|
|
@@ -624,18 +624,18 @@ function renderVirtualBody (h: CreateElement, $xeTable: VxeTableConstructor & Vx
|
|
|
624
624
|
ref: 'refTrackXElem',
|
|
625
625
|
class: 'vxe-scrollbar--track-x',
|
|
626
626
|
on: {
|
|
627
|
-
click:
|
|
627
|
+
click: $xeTable.clickTrackXEvent
|
|
628
628
|
}
|
|
629
629
|
}, [
|
|
630
630
|
h('div', {
|
|
631
631
|
ref: 'refThumbXElem',
|
|
632
632
|
class: 'vxe-scrollbar--thumb-x',
|
|
633
633
|
on: {
|
|
634
|
-
pointerdown:
|
|
635
|
-
pointermove:
|
|
636
|
-
pointerup:
|
|
637
|
-
pointercancel:
|
|
638
|
-
lostpointercapture:
|
|
634
|
+
pointerdown: $xeTable.pointerdownThumbXEvent,
|
|
635
|
+
pointermove: $xeTable.pointermoveThumbXEvent,
|
|
636
|
+
pointerup: $xeTable.cleatPointerThumbEvent,
|
|
637
|
+
pointercancel: $xeTable.cleatPointerThumbEvent,
|
|
638
|
+
lostpointercapture: $xeTable.cleatPointerThumbEvent
|
|
639
639
|
}
|
|
640
640
|
})
|
|
641
641
|
]),
|
|
@@ -645,18 +645,18 @@ function renderVirtualBody (h: CreateElement, $xeTable: VxeTableConstructor & Vx
|
|
|
645
645
|
ref: 'refTrackYElem',
|
|
646
646
|
class: 'vxe-scrollbar--track-y',
|
|
647
647
|
on: {
|
|
648
|
-
click:
|
|
648
|
+
click: $xeTable.clickTrackYEvent
|
|
649
649
|
}
|
|
650
650
|
}, [
|
|
651
651
|
h('div', {
|
|
652
652
|
ref: 'refThumbYElem',
|
|
653
653
|
class: 'vxe-scrollbar--thumb-y',
|
|
654
654
|
on: {
|
|
655
|
-
pointerdown:
|
|
656
|
-
pointermove:
|
|
657
|
-
pointerup:
|
|
658
|
-
pointercancel:
|
|
659
|
-
lostpointercapture:
|
|
655
|
+
pointerdown: $xeTable.pointerdownThumbYEvent,
|
|
656
|
+
pointermove: $xeTable.pointermoveThumbYEvent,
|
|
657
|
+
pointerup: $xeTable.cleatPointerThumbEvent,
|
|
658
|
+
pointercancel: $xeTable.cleatPointerThumbEvent,
|
|
659
|
+
lostpointercapture: $xeTable.cleatPointerThumbEvent
|
|
660
660
|
}
|
|
661
661
|
})
|
|
662
662
|
])
|
|
@@ -668,6 +668,8 @@ export default {
|
|
|
668
668
|
name: 'VxeTable',
|
|
669
669
|
mixins: [
|
|
670
670
|
globalMixins.sizeMixin,
|
|
671
|
+
globalMixins.vScrollbarMixin,
|
|
672
|
+
globalMixins.initVScrollbarMixin,
|
|
671
673
|
filterMixin,
|
|
672
674
|
menuMixin,
|
|
673
675
|
editMixin,
|
|
@@ -723,7 +725,7 @@ export default {
|
|
|
723
725
|
}
|
|
724
726
|
},
|
|
725
727
|
computed: {
|
|
726
|
-
...({} as {
|
|
728
|
+
...({} as VxeUseSizeComputed & VxeUseVScrollbarComputed & VxeUseInitVScrollbarComputed & {
|
|
727
729
|
$xeModal(): (VxeModalConstructor & VxeModalMethods)| null
|
|
728
730
|
$xeTabs(): (VxeTabsConstructor & VxeTabsPrivateMethods) | null
|
|
729
731
|
}),
|
|
@@ -2532,7 +2534,7 @@ export default {
|
|
|
2532
2534
|
footer: slots.footerTooltip || slots['footer-tooltip']
|
|
2533
2535
|
}
|
|
2534
2536
|
const currTooltipSlot = tooltipStore.visible && tooltipStore.type ? tipSlots[tooltipStore.type] : null
|
|
2535
|
-
const tableStyle =
|
|
2537
|
+
const tableStyle = $xeTable.computeTableStyle
|
|
2536
2538
|
const rowDragOpts = $xeTable.computeRowDragOpts
|
|
2537
2539
|
const tableTipConfig = $xeTable.computeTableTipConfig
|
|
2538
2540
|
const validTipConfig = $xeTable.computeValidTipConfig
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|