vxe-table 4.16.19 → 4.16.21

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.
Files changed (42) hide show
  1. package/es/style.css +1 -1
  2. package/es/table/src/table.js +8 -1
  3. package/es/table/style.css +48 -18
  4. package/es/ui/index.js +1 -1
  5. package/es/ui/src/log.js +1 -1
  6. package/es/vxe-table/style.css +48 -18
  7. package/lib/index.common.js +1 -2
  8. package/lib/index.umd.js +1919 -1819
  9. package/lib/index.umd.min.js +1 -1
  10. package/lib/style.css +1 -1
  11. package/lib/table/src/table.js +3 -2
  12. package/lib/table/src/table.min.js +1 -1
  13. package/lib/table/style/style.css +48 -18
  14. package/lib/ui/index.js +1 -1
  15. package/lib/ui/index.min.js +1 -1
  16. package/lib/ui/src/log.js +1 -1
  17. package/lib/ui/src/log.min.js +1 -1
  18. package/lib/v-x-e-table/index.js +1 -2
  19. package/lib/v-x-e-table/index.min.js +1 -1
  20. package/lib/vxe-colgroup/index.js +1 -2
  21. package/lib/vxe-colgroup/index.min.js +1 -1
  22. package/lib/vxe-column/index.js +1 -2
  23. package/lib/vxe-column/index.min.js +1 -1
  24. package/lib/vxe-grid/index.js +1 -2
  25. package/lib/vxe-grid/index.min.js +1 -1
  26. package/lib/vxe-table/index.js +1 -2
  27. package/lib/vxe-table/index.min.js +1 -1
  28. package/lib/vxe-table/style/style.css +48 -18
  29. package/lib/vxe-toolbar/index.js +1 -2
  30. package/lib/vxe-toolbar/index.min.js +1 -1
  31. package/lib/vxe-ui/index.js +1 -2
  32. package/lib/vxe-ui/index.min.js +1 -1
  33. package/lib/vxe-v-x-e-table/index.js +1 -2
  34. package/lib/vxe-v-x-e-table/index.min.js +1 -1
  35. package/package.json +3 -2
  36. package/packages/table/src/table.ts +7 -1
  37. /package/es/{iconfont.1758609514163.ttf → iconfont.1760075743559.ttf} +0 -0
  38. /package/es/{iconfont.1758609514163.woff → iconfont.1760075743559.woff} +0 -0
  39. /package/es/{iconfont.1758609514163.woff2 → iconfont.1760075743559.woff2} +0 -0
  40. /package/lib/{iconfont.1758609514163.ttf → iconfont.1760075743559.ttf} +0 -0
  41. /package/lib/{iconfont.1758609514163.woff → iconfont.1760075743559.woff} +0 -0
  42. /package/lib/{iconfont.1758609514163.woff2 → iconfont.1760075743559.woff2} +0 -0
@@ -4415,7 +4415,9 @@ export default defineVxeComponent({
4415
4415
  let countTop = 0
4416
4416
  const step = (timestamp: number) => {
4417
4417
  let progress = (timestamp - startTime) / duration
4418
- if (progress > 1) {
4418
+ if (progress < 0) {
4419
+ progress = 0
4420
+ } else if (progress > 1) {
4419
4421
  progress = 1
4420
4422
  }
4421
4423
  const easedProgress = Math.pow(progress, 2)
@@ -11354,6 +11356,10 @@ export default defineVxeComponent({
11354
11356
  if (target && /^textarea$/i.test((target as HTMLElement).tagName)) {
11355
11357
  return
11356
11358
  }
11359
+ // 如果滚轮未移动或者触摸板未变化位置
11360
+ if (!deltaY && !deltaX) {
11361
+ return
11362
+ }
11357
11363
 
11358
11364
  const { highlightHoverRow } = tableProps
11359
11365
  const { scrollXLoad, scrollYLoad, expandColumn } = reactData