vxe-table 4.22.4 → 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 +10 -2
- package/dist/style.css +1 -1
- package/es/style.css +1 -1
- package/es/table/src/table.js +8 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.common.js +2 -1
- package/lib/index.umd.js +1163 -1235
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +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/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 +1 -1
- 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 +15 -1
- /package/es/{iconfont.1791617063720.ttf → iconfont.1792229488793.ttf} +0 -0
- /package/es/{iconfont.1791617063720.woff → iconfont.1792229488793.woff} +0 -0
- /package/es/{iconfont.1791617063720.woff2 → iconfont.1792229488793.woff2} +0 -0
- /package/lib/{iconfont.1791617063720.ttf → iconfont.1792229488793.ttf} +0 -0
- /package/lib/{iconfont.1791617063720.woff → iconfont.1792229488793.woff} +0 -0
- /package/lib/{iconfont.1791617063720.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
|
*/
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|