vxe-table 4.19.11 → 4.19.13

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 (53) hide show
  1. package/dist/all.esm.js +227 -220
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/index.css +1 -1
  5. package/es/index.min.css +1 -1
  6. package/es/style.css +1 -1
  7. package/es/style.min.css +1 -1
  8. package/es/table/module/menu/panel.js +7 -7
  9. package/es/table/src/cell.js +16 -12
  10. package/es/table/src/columnInfo.js +77 -77
  11. package/es/table/src/table.js +7 -3
  12. package/es/table/style.css +29 -13
  13. package/es/table/style.min.css +1 -1
  14. package/es/ui/index.js +1 -1
  15. package/es/ui/src/log.js +1 -1
  16. package/es/vxe-table/style.css +29 -13
  17. package/es/vxe-table/style.min.css +1 -1
  18. package/lib/index.css +1 -1
  19. package/lib/index.min.css +1 -1
  20. package/lib/index.umd.js +259 -249
  21. package/lib/index.umd.min.js +1 -1
  22. package/lib/style.css +1 -1
  23. package/lib/style.min.css +1 -1
  24. package/lib/table/module/menu/panel.js +8 -8
  25. package/lib/table/module/menu/panel.min.js +1 -1
  26. package/lib/table/src/cell.js +6 -4
  27. package/lib/table/src/cell.min.js +1 -1
  28. package/lib/table/src/columnInfo.js +85 -77
  29. package/lib/table/src/columnInfo.min.js +1 -1
  30. package/lib/table/src/table.js +3 -3
  31. package/lib/table/src/table.min.js +1 -1
  32. package/lib/table/style/style.css +29 -13
  33. package/lib/table/style/style.min.css +1 -1
  34. package/lib/ui/index.js +1 -1
  35. package/lib/ui/index.min.js +1 -1
  36. package/lib/ui/src/log.js +1 -1
  37. package/lib/ui/src/log.min.js +1 -1
  38. package/lib/vxe-table/style/style.css +29 -13
  39. package/lib/vxe-table/style/style.min.css +1 -1
  40. package/package.json +2 -2
  41. package/packages/table/module/menu/panel.ts +7 -7
  42. package/packages/table/src/cell.ts +16 -12
  43. package/packages/table/src/columnInfo.ts +80 -80
  44. package/packages/table/src/table.ts +7 -3
  45. package/packages/table/src/util.ts +1 -1
  46. package/styles/components/table-module/menu.scss +5 -2
  47. package/styles/components/table.scss +24 -6
  48. /package/es/{iconfont.1781074420923.ttf → iconfont.1781229243647.ttf} +0 -0
  49. /package/es/{iconfont.1781074420923.woff → iconfont.1781229243647.woff} +0 -0
  50. /package/es/{iconfont.1781074420923.woff2 → iconfont.1781229243647.woff2} +0 -0
  51. /package/lib/{iconfont.1781074420923.ttf → iconfont.1781229243647.ttf} +0 -0
  52. /package/lib/{iconfont.1781074420923.woff → iconfont.1781229243647.woff} +0 -0
  53. /package/lib/{iconfont.1781074420923.woff2 → iconfont.1781229243647.woff2} +0 -0
@@ -1698,13 +1698,17 @@
1698
1698
  background-color: var(--vxe-ui-layout-background-color);
1699
1699
  }
1700
1700
 
1701
+ .vxe-context-menu--option {
1702
+ color: var(--vxe-ui-font-color);
1703
+ }
1704
+
1701
1705
  .vxe-context-menu--link {
1702
1706
  display: flex;
1703
1707
  flex-direction: row;
1704
1708
  width: var(--vxe-ui-table-menu-item-width);
1705
1709
  line-height: 26px;
1706
1710
  padding: 0 0.8em;
1707
- color: var(--vxe-ui-font-color);
1711
+ color: inherit;
1708
1712
  cursor: pointer;
1709
1713
  }
1710
1714
  .vxe-context-menu--link .vxe-context-menu--link-prefix,
@@ -1722,35 +1726,35 @@
1722
1726
  white-space: nowrap;
1723
1727
  }
1724
1728
 
1725
- .vxe-context-menu--option-wrapper,
1729
+ .vxe-table--context-menu-group-wrapper,
1726
1730
  .vxe-table--context-menu-clild-wrapper {
1727
1731
  margin: 0;
1728
1732
  padding: 0;
1729
1733
  list-style-type: none;
1730
1734
  border-bottom: 1px solid var(--vxe-ui-base-popup-border-color);
1731
1735
  }
1732
- .vxe-context-menu--option-wrapper li,
1736
+ .vxe-table--context-menu-group-wrapper li,
1733
1737
  .vxe-table--context-menu-clild-wrapper li {
1734
1738
  position: relative;
1735
1739
  margin: 1px 0;
1736
1740
  border: 1px solid transparent;
1737
1741
  }
1738
- .vxe-context-menu--option-wrapper li:last-child,
1742
+ .vxe-table--context-menu-group-wrapper li:last-child,
1739
1743
  .vxe-table--context-menu-clild-wrapper li:last-child {
1740
1744
  border: 0;
1741
1745
  }
1742
- .vxe-context-menu--option-wrapper li.link--active,
1746
+ .vxe-table--context-menu-group-wrapper li.link--active,
1743
1747
  .vxe-table--context-menu-clild-wrapper li.link--active {
1744
1748
  background-color: var(--vxe-ui-base-hover-background-color);
1745
1749
  border-color: var(--vxe-ui-base-hover-background-color);
1746
1750
  }
1747
- .vxe-context-menu--option-wrapper li.link--loading > .vxe-context-menu--link, .vxe-context-menu--option-wrapper li.link--disabled > .vxe-context-menu--link,
1751
+ .vxe-table--context-menu-group-wrapper li.link--loading > .vxe-context-menu--link, .vxe-table--context-menu-group-wrapper li.link--disabled > .vxe-context-menu--link,
1748
1752
  .vxe-table--context-menu-clild-wrapper li.link--loading > .vxe-context-menu--link,
1749
1753
  .vxe-table--context-menu-clild-wrapper li.link--disabled > .vxe-context-menu--link {
1750
1754
  color: var(--vxe-ui-font-disabled-color);
1751
1755
  cursor: no-drop;
1752
1756
  }
1753
- .vxe-context-menu--option-wrapper li.link--loading.link--active:hover, .vxe-context-menu--option-wrapper li.link--disabled.link--active:hover,
1757
+ .vxe-table--context-menu-group-wrapper li.link--loading.link--active:hover, .vxe-table--context-menu-group-wrapper li.link--disabled.link--active:hover,
1754
1758
  .vxe-table--context-menu-clild-wrapper li.link--loading.link--active:hover,
1755
1759
  .vxe-table--context-menu-clild-wrapper li.link--disabled.link--active:hover {
1756
1760
  background-color: inherit;
@@ -3563,6 +3567,10 @@
3563
3567
  .vxe-table--render-default {
3564
3568
  /*展开行*/
3565
3569
  }
3570
+ .vxe-table--render-default .vxe-body--column.col--expand > .vxe-cell .vxe-cell--wrapper {
3571
+ display: flex;
3572
+ flex-direction: row;
3573
+ }
3566
3574
  .vxe-table--render-default .vxe-table--row-expanded-wrapper {
3567
3575
  position: absolute;
3568
3576
  top: 0;
@@ -3594,23 +3602,31 @@
3594
3602
  border-right: var(--vxe-ui-table-border-width) solid var(--vxe-ui-table-border-color);
3595
3603
  }
3596
3604
  .vxe-table--render-default .vxe-table--expanded {
3597
- cursor: pointer;
3605
+ display: flex;
3606
+ flex-direction: row;
3607
+ align-items: center;
3608
+ justify-content: center;
3609
+ flex-shrink: 0;
3598
3610
  }
3599
3611
  .vxe-table--render-default .vxe-table--expanded .vxe-table--expand-btn {
3600
- display: inline-block;
3601
- width: 1em;
3602
- height: 1em;
3603
- text-align: center;
3612
+ cursor: pointer;
3604
3613
  -webkit-user-select: none;
3605
3614
  -moz-user-select: none;
3606
3615
  user-select: none;
3607
3616
  color: var(--vxe-ui-font-lighten-color);
3608
- transition: transform 0.1s ease-in-out;
3609
3617
  }
3610
3618
  .vxe-table--render-default .vxe-table--expanded .vxe-table--expand-btn:hover {
3611
3619
  color: var(--vxe-ui-font-color);
3612
3620
  }
3621
+ .vxe-table--render-default .vxe-table--expanded .vxe-table--expand-btn i {
3622
+ display: inline-block;
3623
+ width: 1em;
3624
+ height: 1em;
3625
+ line-height: 1em;
3626
+ transition: transform 0.1s ease-in-out;
3627
+ }
3613
3628
  .vxe-table--render-default .vxe-table--expanded + .vxe-table--expand-label {
3629
+ flex-grow: 1;
3614
3630
  padding-left: 0.5em;
3615
3631
  }
3616
3632
  .vxe-table--render-default .vxe-body--expanded-row.is--padding > .vxe-body--expanded-column > .vxe-body--expanded-cell {