vxe-table 4.16.0-beta.5 → 4.16.0-beta.7
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/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/custom/panel.js +119 -125
- package/es/table/src/anime.js +4 -4
- package/es/table/src/cell.js +29 -6
- package/es/table/src/table.js +145 -70
- package/es/table/style.css +178 -163
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +178 -163
- package/es/vxe-table/style.min.css +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +70 -39
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/custom/panel.js +2 -8
- package/lib/table/module/custom/panel.min.js +1 -1
- package/lib/table/src/anime.js +4 -4
- package/lib/table/src/anime.min.js +1 -1
- package/lib/table/src/cell.js +39 -3
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/table.js +22 -22
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +178 -163
- package/lib/table/style/style.min.css +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/vxe-table/style/style.css +178 -163
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +3 -2
- package/packages/table/module/custom/panel.ts +128 -134
- package/packages/table/src/anime.ts +4 -4
- package/packages/table/src/cell.ts +30 -6
- package/packages/table/src/table.ts +149 -71
- package/styles/components/table.scss +166 -165
- /package/es/{iconfont.1755588973979.ttf → iconfont.1755651021240.ttf} +0 -0
- /package/es/{iconfont.1755588973979.woff → iconfont.1755651021240.woff} +0 -0
- /package/es/{iconfont.1755588973979.woff2 → iconfont.1755651021240.woff2} +0 -0
- /package/lib/{iconfont.1755588973979.ttf → iconfont.1755651021240.ttf} +0 -0
- /package/lib/{iconfont.1755588973979.woff → iconfont.1755651021240.woff} +0 -0
- /package/lib/{iconfont.1755588973979.woff2 → iconfont.1755651021240.woff2} +0 -0
|
@@ -924,6 +924,171 @@ $btnThemeList: (
|
|
|
924
924
|
}
|
|
925
925
|
|
|
926
926
|
|
|
927
|
+
/*拖拽线*/
|
|
928
|
+
.vxe-table--resizable-row-bar,
|
|
929
|
+
.vxe-table--resizable-col-bar {
|
|
930
|
+
display: none;
|
|
931
|
+
position: absolute;
|
|
932
|
+
top: 0;
|
|
933
|
+
left: 0;
|
|
934
|
+
z-index: 13;
|
|
935
|
+
pointer-events: none;
|
|
936
|
+
user-select: none;
|
|
937
|
+
&:before {
|
|
938
|
+
content: "";
|
|
939
|
+
display: block;
|
|
940
|
+
background-color: var(--vxe-ui-table-resizable-drag-line-color);
|
|
941
|
+
}
|
|
942
|
+
.vxe-table--resizable-number-tip {
|
|
943
|
+
position: absolute;
|
|
944
|
+
padding: 0.25em 0.25em;
|
|
945
|
+
font-size: 12px;
|
|
946
|
+
border-radius: var(--vxe-ui-border-radius);
|
|
947
|
+
white-space: nowrap;
|
|
948
|
+
color: #ffffff;
|
|
949
|
+
background-color: var(--vxe-ui-table-resizable-drag-line-color);
|
|
950
|
+
user-select: none;
|
|
951
|
+
pointer-events: none;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
/*列宽线*/
|
|
955
|
+
.vxe-table--resizable-col-bar {
|
|
956
|
+
width: 1px;
|
|
957
|
+
height: 100%;
|
|
958
|
+
cursor: col-resize;
|
|
959
|
+
&:before {
|
|
960
|
+
width: 1px;
|
|
961
|
+
height: 100%;
|
|
962
|
+
}
|
|
963
|
+
.vxe-table--resizable-number-tip {
|
|
964
|
+
left: 0;
|
|
965
|
+
top: 1em;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
// 行高线
|
|
969
|
+
.vxe-table--resizable-row-bar {
|
|
970
|
+
height: 1px;
|
|
971
|
+
width: 100%;
|
|
972
|
+
cursor: row-resize;
|
|
973
|
+
&:before {
|
|
974
|
+
height: 1px;
|
|
975
|
+
width: 100%;
|
|
976
|
+
}
|
|
977
|
+
.vxe-table--resizable-number-tip {
|
|
978
|
+
top: 0;
|
|
979
|
+
left: 0;
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/*拖拽行与列*/
|
|
984
|
+
.vxe-table--drag-col-line,
|
|
985
|
+
.vxe-table--drag-row-line {
|
|
986
|
+
display: none;
|
|
987
|
+
position: absolute;
|
|
988
|
+
top: 0;
|
|
989
|
+
left: 0;
|
|
990
|
+
z-index: 11;
|
|
991
|
+
pointer-events: none;
|
|
992
|
+
}
|
|
993
|
+
.vxe-table--drag-row-line {
|
|
994
|
+
width: 100%;
|
|
995
|
+
height: 1px;
|
|
996
|
+
border: 2px solid transparent;
|
|
997
|
+
&[drag-pos="top"] {
|
|
998
|
+
border-top-color: var(--vxe-ui-font-primary-color);
|
|
999
|
+
}
|
|
1000
|
+
&[drag-pos="bottom"] {
|
|
1001
|
+
border-bottom-color: var(--vxe-ui-font-primary-color);
|
|
1002
|
+
}
|
|
1003
|
+
&[drag-to-child="y"] {
|
|
1004
|
+
border-top-color: transparent;
|
|
1005
|
+
border-bottom-color: transparent;
|
|
1006
|
+
border-left-color: var(--vxe-ui-status-success-color);
|
|
1007
|
+
}
|
|
1008
|
+
&.is--guides {
|
|
1009
|
+
background-color: var( --vxe-ui-table-drag-over-background-color);
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
.vxe-table--drag-col-line {
|
|
1013
|
+
height: 100%;
|
|
1014
|
+
width: 1px;
|
|
1015
|
+
border: 2px solid transparent;
|
|
1016
|
+
&[drag-pos="left"] {
|
|
1017
|
+
border-left-color: var(--vxe-ui-font-primary-color);
|
|
1018
|
+
}
|
|
1019
|
+
&[drag-pos="right"] {
|
|
1020
|
+
border-right-color: var(--vxe-ui-font-primary-color);
|
|
1021
|
+
}
|
|
1022
|
+
&[drag-to-child="y"] {
|
|
1023
|
+
border-left-color: transparent;
|
|
1024
|
+
border-right-color: transparent;
|
|
1025
|
+
border-bottom-color: var(--vxe-ui-status-success-color);
|
|
1026
|
+
}
|
|
1027
|
+
&.is--guides {
|
|
1028
|
+
background-color: var( --vxe-ui-table-drag-over-background-color);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
.vxe-body--row-list-move {
|
|
1032
|
+
transition-property: transform;
|
|
1033
|
+
transition-duration: 0.35s;
|
|
1034
|
+
}
|
|
1035
|
+
.vxe-table--drag-sort-tip {
|
|
1036
|
+
display: none;
|
|
1037
|
+
position: absolute;
|
|
1038
|
+
top: 0;
|
|
1039
|
+
left: 0;
|
|
1040
|
+
padding: 0.6em 1.4em;
|
|
1041
|
+
max-width: 50%;
|
|
1042
|
+
min-width: 100px;
|
|
1043
|
+
border-radius: var(--vxe-ui-border-radius);
|
|
1044
|
+
overflow: hidden;
|
|
1045
|
+
text-overflow: ellipsis;
|
|
1046
|
+
white-space: nowrap;
|
|
1047
|
+
user-select: none;
|
|
1048
|
+
pointer-events: none;
|
|
1049
|
+
background-color: var(--vxe-ui-layout-background-color);
|
|
1050
|
+
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
1051
|
+
z-index: 33;
|
|
1052
|
+
&[drag-status="normal"] {
|
|
1053
|
+
.vxe-table--drag-sort-tip-normal-status {
|
|
1054
|
+
display: block;
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
&[drag-status="sub"] {
|
|
1058
|
+
.vxe-table--drag-sort-tip-sub-status {
|
|
1059
|
+
display: block;
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
&[drag-status="disabled"] {
|
|
1063
|
+
.vxe-table--drag-sort-tip-disabled-status {
|
|
1064
|
+
display: block;
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
.vxe-table--drag-sort-tip-wrapper {
|
|
1069
|
+
display: flex;
|
|
1070
|
+
flex-direction: row;
|
|
1071
|
+
align-items: center;
|
|
1072
|
+
}
|
|
1073
|
+
.vxe-table--drag-sort-tip-status {
|
|
1074
|
+
padding-right: 0.4em;
|
|
1075
|
+
}
|
|
1076
|
+
.vxe-table--drag-sort-tip-disabled-status {
|
|
1077
|
+
display: none;
|
|
1078
|
+
flex-shrink: 0;
|
|
1079
|
+
color: var(--vxe-ui-status-error-color)
|
|
1080
|
+
}
|
|
1081
|
+
.vxe-table--drag-sort-tip-normal-status,
|
|
1082
|
+
.vxe-table--drag-sort-tip-sub-status {
|
|
1083
|
+
display: none;
|
|
1084
|
+
}
|
|
1085
|
+
.vxe-table--drag-sort-tip-content {
|
|
1086
|
+
flex-grow: 1;
|
|
1087
|
+
overflow: hidden;
|
|
1088
|
+
text-overflow: ellipsis;
|
|
1089
|
+
white-space: nowrap;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
927
1092
|
/*table*/
|
|
928
1093
|
.vxe-table--render-default {
|
|
929
1094
|
position: relative;
|
|
@@ -1622,63 +1787,6 @@ $btnThemeList: (
|
|
|
1622
1787
|
float: left;
|
|
1623
1788
|
}
|
|
1624
1789
|
|
|
1625
|
-
.vxe-table--resizable-row-bar,
|
|
1626
|
-
.vxe-table--resizable-col-bar {
|
|
1627
|
-
display: none;
|
|
1628
|
-
position: absolute;
|
|
1629
|
-
top: 0;
|
|
1630
|
-
left: 0;
|
|
1631
|
-
z-index: 9;
|
|
1632
|
-
pointer-events: none;
|
|
1633
|
-
user-select: none;
|
|
1634
|
-
&:before {
|
|
1635
|
-
content: "";
|
|
1636
|
-
display: block;
|
|
1637
|
-
background-color: var(--vxe-ui-table-resizable-drag-line-color);
|
|
1638
|
-
}
|
|
1639
|
-
.vxe-table--resizable-number-tip {
|
|
1640
|
-
position: absolute;
|
|
1641
|
-
padding: 0.25em 0.25em;
|
|
1642
|
-
font-size: 12px;
|
|
1643
|
-
border-radius: var(--vxe-ui-border-radius);
|
|
1644
|
-
white-space: nowrap;
|
|
1645
|
-
color: #ffffff;
|
|
1646
|
-
background-color: var(--vxe-ui-table-resizable-drag-line-color);
|
|
1647
|
-
user-select: none;
|
|
1648
|
-
pointer-events: none;
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
/*列宽线*/
|
|
1653
|
-
.vxe-table--resizable-col-bar {
|
|
1654
|
-
width: 1px;
|
|
1655
|
-
height: 100%;
|
|
1656
|
-
cursor: col-resize;
|
|
1657
|
-
&:before {
|
|
1658
|
-
width: 1px;
|
|
1659
|
-
height: 100%;
|
|
1660
|
-
}
|
|
1661
|
-
.vxe-table--resizable-number-tip {
|
|
1662
|
-
left: 0;
|
|
1663
|
-
top: 1em;
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
|
-
// 行高线
|
|
1668
|
-
.vxe-table--resizable-row-bar {
|
|
1669
|
-
height: 1px;
|
|
1670
|
-
width: 100%;
|
|
1671
|
-
cursor: row-resize;
|
|
1672
|
-
&:before {
|
|
1673
|
-
height: 1px;
|
|
1674
|
-
width: 100%;
|
|
1675
|
-
}
|
|
1676
|
-
.vxe-table--resizable-number-tip {
|
|
1677
|
-
top: 0;
|
|
1678
|
-
left: 0;
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
1790
|
/*边框线*/
|
|
1683
1791
|
.vxe-table--border-line {
|
|
1684
1792
|
position: absolute;
|
|
@@ -1915,25 +2023,6 @@ $btnThemeList: (
|
|
|
1915
2023
|
}
|
|
1916
2024
|
|
|
1917
2025
|
/*拖拽列*/
|
|
1918
|
-
.vxe-table--drag-col-line {
|
|
1919
|
-
height: 100%;
|
|
1920
|
-
width: 1px;
|
|
1921
|
-
border: 2px solid transparent;
|
|
1922
|
-
&[drag-pos="left"] {
|
|
1923
|
-
border-left-color: var(--vxe-ui-font-primary-color);
|
|
1924
|
-
}
|
|
1925
|
-
&[drag-pos="right"] {
|
|
1926
|
-
border-right-color: var(--vxe-ui-font-primary-color);
|
|
1927
|
-
}
|
|
1928
|
-
&[drag-to-child="y"] {
|
|
1929
|
-
border-left-color: transparent;
|
|
1930
|
-
border-right-color: transparent;
|
|
1931
|
-
border-bottom-color: var(--vxe-ui-status-success-color);
|
|
1932
|
-
}
|
|
1933
|
-
&.is--guides {
|
|
1934
|
-
background-color: var( --vxe-ui-table-drag-over-background-color);
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
2026
|
.vxe-table--column {
|
|
1938
2027
|
&.col--drag-move {
|
|
1939
2028
|
transition: transform 0.5s ease;
|
|
@@ -1945,15 +2034,7 @@ $btnThemeList: (
|
|
|
1945
2034
|
}
|
|
1946
2035
|
}
|
|
1947
2036
|
|
|
1948
|
-
|
|
1949
|
-
.vxe-table--drag-row-line {
|
|
1950
|
-
display: none;
|
|
1951
|
-
position: absolute;
|
|
1952
|
-
top: 0;
|
|
1953
|
-
left: 0;
|
|
1954
|
-
z-index: 11;
|
|
1955
|
-
pointer-events: none;
|
|
1956
|
-
}
|
|
2037
|
+
/*拖拽行把柄*/
|
|
1957
2038
|
.vxe-cell--drag-handle {
|
|
1958
2039
|
user-select: none;
|
|
1959
2040
|
& + span {
|
|
@@ -1974,26 +2055,6 @@ $btnThemeList: (
|
|
|
1974
2055
|
}
|
|
1975
2056
|
}
|
|
1976
2057
|
|
|
1977
|
-
/*拖拽行*/
|
|
1978
|
-
.vxe-table--drag-row-line {
|
|
1979
|
-
width: 100%;
|
|
1980
|
-
height: 1px;
|
|
1981
|
-
border: 2px solid transparent;
|
|
1982
|
-
&[drag-pos="top"] {
|
|
1983
|
-
border-top-color: var(--vxe-ui-font-primary-color);
|
|
1984
|
-
}
|
|
1985
|
-
&[drag-pos="bottom"] {
|
|
1986
|
-
border-bottom-color: var(--vxe-ui-font-primary-color);
|
|
1987
|
-
}
|
|
1988
|
-
&[drag-to-child="y"] {
|
|
1989
|
-
border-top-color: transparent;
|
|
1990
|
-
border-bottom-color: transparent;
|
|
1991
|
-
border-left-color: var(--vxe-ui-status-success-color);
|
|
1992
|
-
}
|
|
1993
|
-
&.is--guides {
|
|
1994
|
-
background-color: var( --vxe-ui-table-drag-over-background-color);
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
2058
|
.vxe-body--row {
|
|
1998
2059
|
&.row--drag-move {
|
|
1999
2060
|
transition: transform 0.5s ease;
|
|
@@ -2024,66 +2085,6 @@ $btnThemeList: (
|
|
|
2024
2085
|
}
|
|
2025
2086
|
}
|
|
2026
2087
|
}
|
|
2027
|
-
.vxe-body--row-list-move {
|
|
2028
|
-
transition-property: transform;
|
|
2029
|
-
transition-duration: 0.35s;
|
|
2030
|
-
}
|
|
2031
|
-
.vxe-table--drag-sort-tip {
|
|
2032
|
-
display: none;
|
|
2033
|
-
position: absolute;
|
|
2034
|
-
top: 0;
|
|
2035
|
-
left: 0;
|
|
2036
|
-
padding: 0.6em 1.4em;
|
|
2037
|
-
max-width: 50%;
|
|
2038
|
-
min-width: 100px;
|
|
2039
|
-
border-radius: var(--vxe-ui-border-radius);
|
|
2040
|
-
overflow: hidden;
|
|
2041
|
-
text-overflow: ellipsis;
|
|
2042
|
-
white-space: nowrap;
|
|
2043
|
-
user-select: none;
|
|
2044
|
-
pointer-events: none;
|
|
2045
|
-
background-color: var(--vxe-ui-layout-background-color);
|
|
2046
|
-
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
2047
|
-
z-index: 33;
|
|
2048
|
-
&[drag-status="normal"] {
|
|
2049
|
-
.vxe-table--drag-sort-tip-normal-status {
|
|
2050
|
-
display: block;
|
|
2051
|
-
}
|
|
2052
|
-
}
|
|
2053
|
-
&[drag-status="sub"] {
|
|
2054
|
-
.vxe-table--drag-sort-tip-sub-status {
|
|
2055
|
-
display: block;
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
&[drag-status="disabled"] {
|
|
2059
|
-
.vxe-table--drag-sort-tip-disabled-status {
|
|
2060
|
-
display: block;
|
|
2061
|
-
}
|
|
2062
|
-
}
|
|
2063
|
-
}
|
|
2064
|
-
.vxe-table--drag-sort-tip-wrapper {
|
|
2065
|
-
display: flex;
|
|
2066
|
-
flex-direction: row;
|
|
2067
|
-
align-items: center;
|
|
2068
|
-
}
|
|
2069
|
-
.vxe-table--drag-sort-tip-status {
|
|
2070
|
-
padding-right: 0.4em;
|
|
2071
|
-
}
|
|
2072
|
-
.vxe-table--drag-sort-tip-disabled-status {
|
|
2073
|
-
display: none;
|
|
2074
|
-
flex-shrink: 0;
|
|
2075
|
-
color: var(--vxe-ui-status-error-color)
|
|
2076
|
-
}
|
|
2077
|
-
.vxe-table--drag-sort-tip-normal-status,
|
|
2078
|
-
.vxe-table--drag-sort-tip-sub-status {
|
|
2079
|
-
display: none;
|
|
2080
|
-
}
|
|
2081
|
-
.vxe-table--drag-sort-tip-content {
|
|
2082
|
-
flex-grow: 1;
|
|
2083
|
-
overflow: hidden;
|
|
2084
|
-
text-overflow: ellipsis;
|
|
2085
|
-
white-space: nowrap;
|
|
2086
|
-
}
|
|
2087
2088
|
|
|
2088
2089
|
&.size--medium {
|
|
2089
2090
|
.vxe-cell--checkbox {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|