vxe-table 4.22.3 → 4.22.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/dist/all.esm.js +80 -67
- package/dist/style.css +1 -1
- package/es/grid/src/grid.js +10 -5
- package/es/style.css +1 -1
- package/es/table/src/table.js +9 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +13 -5
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.common.js +2 -1
- package/lib/index.umd.js +1303 -1367
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +2 -2
- 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/lib/v-x-e-table/index.js +2 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/vxe-colgroup/index.js +2 -1
- package/lib/vxe-colgroup/index.min.js +1 -1
- package/lib/vxe-column/index.js +2 -1
- package/lib/vxe-column/index.min.js +1 -1
- package/lib/vxe-grid/index.js +2 -1
- package/lib/vxe-grid/index.min.js +1 -1
- package/lib/vxe-table/index.js +2 -1
- package/lib/vxe-table/index.min.js +1 -1
- package/lib/vxe-toolbar/index.js +2 -1
- package/lib/vxe-toolbar/index.min.js +1 -1
- package/lib/vxe-ui/index.js +2 -1
- package/lib/vxe-ui/index.min.js +1 -1
- package/lib/vxe-v-x-e-table/index.js +2 -1
- package/lib/vxe-v-x-e-table/index.min.js +1 -1
- package/package.json +2 -2
- package/packages/grid/src/grid.ts +11 -5
- package/packages/locale/lang/ar-EG.ts +903 -903
- package/packages/locale/lang/de-DE.ts +903 -903
- package/packages/locale/lang/en-US.ts +903 -903
- package/packages/locale/lang/es-ES.ts +903 -903
- package/packages/locale/lang/fr-FR.ts +903 -903
- package/packages/locale/lang/hu-HU.ts +903 -903
- package/packages/locale/lang/hy-AM.ts +903 -903
- package/packages/locale/lang/id-ID.ts +903 -903
- package/packages/locale/lang/it-IT.ts +903 -903
- package/packages/locale/lang/ja-JP.ts +903 -903
- package/packages/locale/lang/ko-KR.ts +903 -903
- package/packages/locale/lang/ms-MY.ts +903 -903
- package/packages/locale/lang/nb-NO.ts +903 -903
- package/packages/locale/lang/pt-BR.ts +903 -903
- package/packages/locale/lang/ru-RU.ts +903 -903
- package/packages/locale/lang/th-TH.ts +903 -903
- package/packages/locale/lang/ug-CN.ts +903 -903
- package/packages/locale/lang/uk-UA.ts +903 -903
- package/packages/locale/lang/uz-UZ.ts +903 -903
- package/packages/locale/lang/vi-VN.ts +903 -903
- package/packages/locale/lang/zh-CHT.ts +903 -903
- package/packages/table/src/table.ts +16 -2
- /package/es/{iconfont.1790757600308.ttf → iconfont.1792229488793.ttf} +0 -0
- /package/es/{iconfont.1790757600308.woff → iconfont.1792229488793.woff} +0 -0
- /package/es/{iconfont.1790757600308.woff2 → iconfont.1792229488793.woff2} +0 -0
- /package/lib/{iconfont.1790757600308.ttf → iconfont.1792229488793.ttf} +0 -0
- /package/lib/{iconfont.1790757600308.woff → iconfont.1792229488793.woff} +0 -0
- /package/lib/{iconfont.1790757600308.woff2 → iconfont.1792229488793.woff2} +0 -0
|
@@ -81,7 +81,11 @@ export default defineVxeComponent({
|
|
|
81
81
|
const internalData = createInternalData()
|
|
82
82
|
|
|
83
83
|
let tableMethods = {} as TableMethods
|
|
84
|
-
let tablePrivateMethods = {} as TablePrivateMethods
|
|
84
|
+
let tablePrivateMethods = {} as TablePrivateMethods & {
|
|
85
|
+
handleSyncScrollTop(params: {
|
|
86
|
+
scrollTop: number
|
|
87
|
+
}): void
|
|
88
|
+
}
|
|
85
89
|
|
|
86
90
|
const refElem = ref() as Ref<HTMLDivElement>
|
|
87
91
|
const refVarElem = ref() as Ref<HTMLDivElement>
|
|
@@ -13472,6 +13476,16 @@ export default defineVxeComponent({
|
|
|
13472
13476
|
$xeTable.updateScrollYSpace()
|
|
13473
13477
|
})
|
|
13474
13478
|
},
|
|
13479
|
+
handleSyncScrollTop (params: {
|
|
13480
|
+
scrollTop: number;
|
|
13481
|
+
}) {
|
|
13482
|
+
const { scrollTop } = params
|
|
13483
|
+
const { elemStore } = internalData
|
|
13484
|
+
const bodyScrollElem = getRefElem(elemStore['main-body-scroll'])
|
|
13485
|
+
if (bodyScrollElem) {
|
|
13486
|
+
bodyScrollElem.scrollTop = scrollTop
|
|
13487
|
+
}
|
|
13488
|
+
},
|
|
13475
13489
|
/**
|
|
13476
13490
|
* 处理固定列的显示状态
|
|
13477
13491
|
*/
|
|
@@ -14958,7 +14972,7 @@ export default defineVxeComponent({
|
|
|
14958
14972
|
const parentEl = $xeTable.getParentElem()
|
|
14959
14973
|
resizeObserver = globalResize.create(() => {
|
|
14960
14974
|
if (props.autoResize) {
|
|
14961
|
-
|
|
14975
|
+
layoutReFlag.value++
|
|
14962
14976
|
}
|
|
14963
14977
|
})
|
|
14964
14978
|
if (el) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|