vxe-table 4.14.0-beta.1 → 4.14.0-beta.3

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 (77) hide show
  1. package/README.en.md +2 -1
  2. package/README.ja-JP.md +2 -1
  3. package/README.md +4 -2
  4. package/README.zh-TW.md +2 -1
  5. package/es/grid/src/grid.js +28 -19
  6. package/es/index.css +1 -1
  7. package/es/index.min.css +1 -1
  8. package/es/style.css +1 -1
  9. package/es/style.min.css +1 -1
  10. package/es/table/module/custom/hook.js +0 -4
  11. package/es/table/module/custom/panel.js +0 -1
  12. package/es/table/src/anime.js +46 -0
  13. package/es/table/src/body.js +9 -24
  14. package/es/table/src/columnInfo.js +5 -0
  15. package/es/table/src/footer.js +5 -22
  16. package/es/table/src/header.js +4 -21
  17. package/es/table/src/table.js +565 -357
  18. package/es/table/src/util.js +1 -1
  19. package/es/table/style.css +8 -8
  20. package/es/table/style.min.css +1 -1
  21. package/es/ui/index.js +2 -1
  22. package/es/ui/src/log.js +1 -1
  23. package/es/vxe-table/style.css +8 -8
  24. package/es/vxe-table/style.min.css +1 -1
  25. package/lib/grid/src/grid.js +33 -21
  26. package/lib/grid/src/grid.min.js +1 -1
  27. package/lib/index.css +1 -1
  28. package/lib/index.min.css +1 -1
  29. package/lib/index.umd.js +141 -127
  30. package/lib/index.umd.min.js +1 -1
  31. package/lib/style.css +1 -1
  32. package/lib/style.min.css +1 -1
  33. package/lib/table/module/custom/hook.js +0 -4
  34. package/lib/table/module/custom/hook.min.js +1 -1
  35. package/lib/table/module/custom/panel.js +0 -1
  36. package/lib/table/module/custom/panel.min.js +1 -1
  37. package/lib/table/src/anime.js +56 -0
  38. package/lib/table/src/anime.min.js +1 -0
  39. package/lib/table/src/body.js +3 -26
  40. package/lib/table/src/body.min.js +1 -1
  41. package/lib/table/src/columnInfo.js +5 -0
  42. package/lib/table/src/columnInfo.min.js +1 -1
  43. package/lib/table/src/footer.js +2 -20
  44. package/lib/table/src/footer.min.js +1 -1
  45. package/lib/table/src/header.js +2 -19
  46. package/lib/table/src/header.min.js +1 -1
  47. package/lib/table/src/table.js +46 -33
  48. package/lib/table/src/table.min.js +1 -1
  49. package/lib/table/src/util.js +2 -2
  50. package/lib/table/src/util.min.js +1 -1
  51. package/lib/table/style/style.css +8 -8
  52. package/lib/table/style/style.min.css +1 -1
  53. package/lib/ui/index.js +2 -1
  54. package/lib/ui/index.min.js +1 -1
  55. package/lib/ui/src/log.js +1 -1
  56. package/lib/ui/src/log.min.js +1 -1
  57. package/lib/vxe-table/style/style.css +8 -8
  58. package/lib/vxe-table/style/style.min.css +1 -1
  59. package/package.json +1 -1
  60. package/packages/grid/src/grid.ts +30 -20
  61. package/packages/table/module/custom/hook.ts +0 -4
  62. package/packages/table/module/custom/panel.ts +0 -1
  63. package/packages/table/src/anime.ts +52 -0
  64. package/packages/table/src/body.ts +15 -38
  65. package/packages/table/src/columnInfo.ts +5 -0
  66. package/packages/table/src/footer.ts +5 -22
  67. package/packages/table/src/header.ts +4 -21
  68. package/packages/table/src/table.ts +573 -360
  69. package/packages/table/src/util.ts +1 -1
  70. package/packages/ui/index.ts +1 -0
  71. package/styles/components/table.scss +9 -9
  72. /package/es/{iconfont.1750910518778.ttf → iconfont.1751247415649.ttf} +0 -0
  73. /package/es/{iconfont.1750910518778.woff → iconfont.1751247415649.woff} +0 -0
  74. /package/es/{iconfont.1750910518778.woff2 → iconfont.1751247415649.woff2} +0 -0
  75. /package/lib/{iconfont.1750910518778.ttf → iconfont.1751247415649.ttf} +0 -0
  76. /package/lib/{iconfont.1750910518778.woff → iconfont.1751247415649.woff} +0 -0
  77. /package/lib/{iconfont.1750910518778.woff2 → iconfont.1751247415649.woff2} +0 -0
@@ -239,7 +239,7 @@ export function getRefElem (refEl: any) {
239
239
  return null
240
240
  }
241
241
 
242
- export function getCellHeight (height: number | 'unset' | undefined | null) {
242
+ export function getCalcHeight (height: number | 'unset' | undefined | null) {
243
243
  if (height === 'unset') {
244
244
  return 0
245
245
  }
@@ -257,6 +257,7 @@ VxeUI.setConfig({
257
257
  proxyConfig: {
258
258
  enabled: true,
259
259
  autoLoad: true,
260
+ showLoading: true,
260
261
  showResponseMsg: true,
261
262
  showActiveMsg: true,
262
263
  response: {
@@ -1920,19 +1920,16 @@ $btnThemeList: (
1920
1920
  background-color: var( --vxe-ui-table-drag-over-background-color);
1921
1921
  }
1922
1922
  }
1923
- .vxe-header--column,
1924
- .vxe-body--column,
1925
- .vxe-footer--column {
1923
+ .vxe-table--column {
1924
+ &.col--drag-move {
1925
+ transition: transform 0.5s ease;
1926
+ }
1926
1927
  &.col--drag-origin {
1927
1928
  & > .vxe-cell {
1928
- opacity: 0.5;
1929
+ opacity: 0.3;
1929
1930
  }
1930
1931
  }
1931
1932
  }
1932
- .vxe-header--col-list-move {
1933
- transition-property: transform;
1934
- transition-duration: 0.35s;
1935
- }
1936
1933
 
1937
1934
  .vxe-table--drag-col-line,
1938
1935
  .vxe-table--drag-row-line {
@@ -1984,10 +1981,13 @@ $btnThemeList: (
1984
1981
  }
1985
1982
  }
1986
1983
  .vxe-body--row {
1984
+ &.row--drag-move {
1985
+ transition: transform 0.5s ease;
1986
+ }
1987
1987
  &.row--drag-origin {
1988
1988
  & > .vxe-body--column {
1989
1989
  & > .vxe-cell {
1990
- opacity: 0.5;
1990
+ opacity: 0.3;
1991
1991
  }
1992
1992
  }
1993
1993
  }