vxe-table 3.12.1-beta.1 → 3.12.1-beta.2
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 +15 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +17 -2
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/table/src/methods.js +15 -0
- 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 +21 -4
- /package/es/{iconfont.1735808839640.ttf → iconfont.1735881990049.ttf} +0 -0
- /package/es/{iconfont.1735808839640.woff → iconfont.1735881990049.woff} +0 -0
- /package/es/{iconfont.1735808839640.woff2 → iconfont.1735881990049.woff2} +0 -0
- /package/lib/{iconfont.1735808839640.ttf → iconfont.1735881990049.ttf} +0 -0
- /package/lib/{iconfont.1735808839640.woff → iconfont.1735881990049.woff} +0 -0
- /package/lib/{iconfont.1735808839640.woff2 → iconfont.1735881990049.woff2} +0 -0
|
@@ -7,7 +7,7 @@ import { getRowUniqueId, clearTableAllStatus, getRowkey, getRowid, rowToVisible,
|
|
|
7
7
|
import { getSlotVNs } from '../../ui/src/vn'
|
|
8
8
|
import { warnLog, errLog } from '../../ui/src/log'
|
|
9
9
|
|
|
10
|
-
import type { VxeTableDefines, VxeColumnPropTypes, VxeTableEmits, ValueOf, TableReactData } from '../../../types'
|
|
10
|
+
import type { VxeTableDefines, VxeColumnPropTypes, VxeTableEmits, ValueOf, TableReactData, VxeTableConstructor, TableInternalData } from '../../../types'
|
|
11
11
|
|
|
12
12
|
const { getConfig, getI18n, renderer, formats, interceptor, createEvent } = VxeUI
|
|
13
13
|
|
|
@@ -289,10 +289,26 @@ function calcTableHeight (_vm: any, key: 'height' | 'minHeight' | 'maxHeight') {
|
|
|
289
289
|
return num
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
const
|
|
292
|
+
// const updateCellOffset = ($xeTable: VxeTableConstructor) => {
|
|
293
|
+
// const internalData = $xeTable as unknown as TableInternalData
|
|
294
|
+
|
|
295
|
+
// const { chTimeout, chRunTime } = internalData
|
|
296
|
+
// if (chTimeout) {
|
|
297
|
+
// clearTimeout(chTimeout)
|
|
298
|
+
// }
|
|
299
|
+
// if (!chRunTime || chRunTime + 10 < Date.now()) {
|
|
300
|
+
// internalData.chRunTime = Date.now()
|
|
301
|
+
// }
|
|
302
|
+
// internalData.chTimeout = setTimeout(() => {
|
|
303
|
+
// internalData.chRunTime = undefined
|
|
304
|
+
// internalData.chTimeout = undefined
|
|
305
|
+
// }, 80)
|
|
306
|
+
// }
|
|
307
|
+
|
|
308
|
+
const calcCellHeight = ($xeTable: VxeTableConstructor) => {
|
|
293
309
|
const props = $xeTable
|
|
294
|
-
const reactData = $xeTable
|
|
295
|
-
const internalData = $xeTable
|
|
310
|
+
const reactData = $xeTable as unknown as TableReactData
|
|
311
|
+
const internalData = $xeTable as unknown as TableInternalData
|
|
296
312
|
|
|
297
313
|
const { showOverflow } = props
|
|
298
314
|
const { tableData, scrollXLoad } = reactData
|
|
@@ -329,6 +345,7 @@ const calcCellHeight = ($xeTable: any) => {
|
|
|
329
345
|
}
|
|
330
346
|
})
|
|
331
347
|
}
|
|
348
|
+
// updateCellOffset($xeTable)
|
|
332
349
|
}
|
|
333
350
|
|
|
334
351
|
function getOrderField (_vm: any, column: any) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|