vxe-table 3.11.27-beta.0 → 3.11.27

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 (135) hide show
  1. package/es/index.css +1 -1
  2. package/es/index.min.css +1 -1
  3. package/es/locale/lang/ar-EG.js +1 -1
  4. package/es/locale/lang/de-DE.js +1 -1
  5. package/es/locale/lang/en-US.js +1 -1
  6. package/es/locale/lang/es-ES.js +1 -1
  7. package/es/locale/lang/fr-FR.js +1 -1
  8. package/es/locale/lang/hu-HU.js +1 -1
  9. package/es/locale/lang/hy-AM.js +1 -1
  10. package/es/locale/lang/ja-JP.js +1 -1
  11. package/es/locale/lang/ko-KR.js +1 -1
  12. package/es/locale/lang/nb-NO.js +1 -1
  13. package/es/locale/lang/pt-BR.js +1 -1
  14. package/es/locale/lang/ru-RU.js +1 -1
  15. package/es/locale/lang/ug-CN.js +1 -1
  16. package/es/locale/lang/uk-UA.js +1 -1
  17. package/es/locale/lang/vi-VN.js +1 -1
  18. package/es/locale/lang/zh-CHT.js +1 -1
  19. package/es/locale/lang/zh-CN.js +1 -1
  20. package/es/style.css +1 -1
  21. package/es/style.min.css +1 -1
  22. package/es/table/module/custom/mixin.js +2 -0
  23. package/es/table/module/custom/panel.js +436 -231
  24. package/es/table/src/body.js +1 -1
  25. package/es/table/src/methods.js +1 -4
  26. package/es/table/src/table.js +4 -1
  27. package/es/table/style.css +110 -40
  28. package/es/table/style.min.css +1 -1
  29. package/es/ui/index.js +1 -1
  30. package/es/ui/src/dom.js +1 -0
  31. package/es/ui/src/log.js +1 -1
  32. package/es/vxe-table/style.css +110 -40
  33. package/es/vxe-table/style.min.css +1 -1
  34. package/lib/index.css +1 -1
  35. package/lib/index.min.css +1 -1
  36. package/lib/index.umd.js +381 -165
  37. package/lib/index.umd.min.js +1 -1
  38. package/lib/locale/lang/ar-EG.js +1 -1
  39. package/lib/locale/lang/ar-EG.min.js +1 -1
  40. package/lib/locale/lang/de-DE.js +1 -1
  41. package/lib/locale/lang/de-DE.min.js +1 -1
  42. package/lib/locale/lang/en-US.js +1 -1
  43. package/lib/locale/lang/en-US.min.js +1 -1
  44. package/lib/locale/lang/en-US.umd.js +1 -1
  45. package/lib/locale/lang/es-ES.js +1 -1
  46. package/lib/locale/lang/es-ES.min.js +1 -1
  47. package/lib/locale/lang/es-ES.umd.js +1 -1
  48. package/lib/locale/lang/fr-FR.js +1 -1
  49. package/lib/locale/lang/fr-FR.min.js +1 -1
  50. package/lib/locale/lang/hu-HU.js +1 -1
  51. package/lib/locale/lang/hu-HU.min.js +1 -1
  52. package/lib/locale/lang/hu-HU.umd.js +1 -1
  53. package/lib/locale/lang/hy-AM.js +1 -1
  54. package/lib/locale/lang/hy-AM.min.js +1 -1
  55. package/lib/locale/lang/ja-JP.js +1 -1
  56. package/lib/locale/lang/ja-JP.min.js +1 -1
  57. package/lib/locale/lang/ja-JP.umd.js +1 -1
  58. package/lib/locale/lang/ko-KR.js +1 -1
  59. package/lib/locale/lang/ko-KR.min.js +1 -1
  60. package/lib/locale/lang/ko-KR.umd.js +1 -1
  61. package/lib/locale/lang/nb-NO.js +1 -1
  62. package/lib/locale/lang/nb-NO.min.js +1 -1
  63. package/lib/locale/lang/pt-BR.js +1 -1
  64. package/lib/locale/lang/pt-BR.min.js +1 -1
  65. package/lib/locale/lang/pt-BR.umd.js +1 -1
  66. package/lib/locale/lang/ru-RU.js +1 -1
  67. package/lib/locale/lang/ru-RU.min.js +1 -1
  68. package/lib/locale/lang/ru-RU.umd.js +1 -1
  69. package/lib/locale/lang/ug-CN.js +1 -1
  70. package/lib/locale/lang/ug-CN.min.js +1 -1
  71. package/lib/locale/lang/uk-UA.js +1 -1
  72. package/lib/locale/lang/uk-UA.min.js +1 -1
  73. package/lib/locale/lang/uk-UA.umd.js +1 -1
  74. package/lib/locale/lang/vi-VN.js +1 -1
  75. package/lib/locale/lang/vi-VN.min.js +1 -1
  76. package/lib/locale/lang/zh-CHT.js +1 -1
  77. package/lib/locale/lang/zh-CHT.min.js +1 -1
  78. package/lib/locale/lang/zh-CHT.umd.js +1 -1
  79. package/lib/locale/lang/zh-CN.js +1 -1
  80. package/lib/locale/lang/zh-CN.min.js +1 -1
  81. package/lib/locale/lang/zh-CN.umd.js +1 -1
  82. package/lib/style.css +1 -1
  83. package/lib/style.min.css +1 -1
  84. package/lib/table/module/custom/mixin.js +2 -0
  85. package/lib/table/module/custom/mixin.min.js +1 -1
  86. package/lib/table/module/custom/panel.js +369 -156
  87. package/lib/table/module/custom/panel.min.js +1 -1
  88. package/lib/table/src/body.js +1 -1
  89. package/lib/table/src/body.min.js +1 -1
  90. package/lib/table/src/methods.js +2 -5
  91. package/lib/table/src/methods.min.js +1 -1
  92. package/lib/table/src/table.js +4 -1
  93. package/lib/table/src/table.min.js +1 -1
  94. package/lib/table/style/style.css +110 -40
  95. package/lib/table/style/style.min.css +1 -1
  96. package/lib/ui/index.js +1 -1
  97. package/lib/ui/index.min.js +1 -1
  98. package/lib/ui/src/dom.js +2 -0
  99. package/lib/ui/src/dom.min.js +1 -1
  100. package/lib/ui/src/log.js +1 -1
  101. package/lib/ui/src/log.min.js +1 -1
  102. package/lib/vxe-table/style/style.css +110 -40
  103. package/lib/vxe-table/style/style.min.css +1 -1
  104. package/package.json +2 -2
  105. package/packages/locale/lang/ar-EG.ts +1 -1
  106. package/packages/locale/lang/de-DE.ts +1 -1
  107. package/packages/locale/lang/en-US.ts +1 -1
  108. package/packages/locale/lang/es-ES.ts +1 -1
  109. package/packages/locale/lang/fr-FR.ts +1 -1
  110. package/packages/locale/lang/hu-HU.ts +1 -1
  111. package/packages/locale/lang/hy-AM.ts +1 -1
  112. package/packages/locale/lang/ja-JP.ts +1 -1
  113. package/packages/locale/lang/ko-KR.ts +1 -1
  114. package/packages/locale/lang/nb-NO.ts +1 -1
  115. package/packages/locale/lang/pt-BR.ts +1 -1
  116. package/packages/locale/lang/ru-RU.ts +1 -1
  117. package/packages/locale/lang/ug-CN.ts +1 -1
  118. package/packages/locale/lang/uk-UA.ts +1 -1
  119. package/packages/locale/lang/vi-VN.ts +1 -1
  120. package/packages/locale/lang/zh-CHT.ts +1 -1
  121. package/packages/locale/lang/zh-CN.ts +1 -1
  122. package/packages/table/module/custom/mixin.ts +2 -0
  123. package/packages/table/module/custom/panel.ts +463 -234
  124. package/packages/table/src/body.ts +1 -1
  125. package/packages/table/src/methods.ts +1 -5
  126. package/packages/table/src/table.ts +4 -1
  127. package/packages/ui/src/dom.ts +2 -0
  128. package/styles/components/table-module/custom.scss +95 -13
  129. package/styles/components/table.scss +6 -2
  130. /package/es/{iconfont.1733931178504.ttf → iconfont.1734055169729.ttf} +0 -0
  131. /package/es/{iconfont.1733931178504.woff → iconfont.1734055169729.woff} +0 -0
  132. /package/es/{iconfont.1733931178504.woff2 → iconfont.1734055169729.woff2} +0 -0
  133. /package/lib/{iconfont.1733931178504.ttf → iconfont.1734055169729.ttf} +0 -0
  134. /package/lib/{iconfont.1733931178504.woff → iconfont.1734055169729.woff} +0 -0
  135. /package/lib/{iconfont.1733931178504.woff2 → iconfont.1734055169729.woff2} +0 -0
@@ -751,7 +751,7 @@
751
751
  position: absolute;
752
752
  left: -1px;
753
753
  width: calc(100% + 1px);
754
- height: 3px;
754
+ height: 2px;
755
755
  background-color: var(--vxe-ui-font-primary-color);
756
756
  z-index: 12;
757
757
  }
@@ -801,6 +801,7 @@
801
801
  }
802
802
 
803
803
  .vxe-table-custom--body {
804
+ position: relative;
804
805
  display: block;
805
806
  flex-grow: 1;
806
807
  overflow-x: hidden;
@@ -814,50 +815,29 @@
814
815
  }
815
816
  .vxe-table-custom--panel-list > li {
816
817
  max-width: 26em;
817
- min-width: 17em;
818
+ min-width: 18em;
818
819
  padding: 0.2em 1em 0.2em 1em;
819
820
  }
820
821
  .vxe-table-custom--panel-list > li.level--2 {
821
- padding-left: 3.5em;
822
- }
823
- .vxe-table-custom--panel-list > li.level--2 .vxe-checkbox--icon {
824
- left: 1.8em;
822
+ padding-left: 2.7em;
825
823
  }
826
824
  .vxe-table-custom--panel-list > li.level--3 {
827
- padding-left: 4.5em;
828
- }
829
- .vxe-table-custom--panel-list > li.level--3 .vxe-checkbox--icon {
830
- left: 2.8em;
825
+ padding-left: 3.7em;
831
826
  }
832
827
  .vxe-table-custom--panel-list > li.level--4 {
833
- padding-left: 5.5em;
834
- }
835
- .vxe-table-custom--panel-list > li.level--4 .vxe-checkbox--icon {
836
- left: 3.8em;
828
+ padding-left: 4.7em;
837
829
  }
838
830
  .vxe-table-custom--panel-list > li.level--5 {
839
- padding-left: 6.5em;
840
- }
841
- .vxe-table-custom--panel-list > li.level--5 .vxe-checkbox--icon {
842
- left: 4.8em;
831
+ padding-left: 5.7em;
843
832
  }
844
833
  .vxe-table-custom--panel-list > li.level--6 {
845
- padding-left: 7.5em;
846
- }
847
- .vxe-table-custom--panel-list > li.level--6 .vxe-checkbox--icon {
848
- left: 5.8em;
834
+ padding-left: 6.7em;
849
835
  }
850
836
  .vxe-table-custom--panel-list > li.level--7 {
851
- padding-left: 8.5em;
852
- }
853
- .vxe-table-custom--panel-list > li.level--7 .vxe-checkbox--icon {
854
- left: 6.8em;
837
+ padding-left: 7.7em;
855
838
  }
856
839
  .vxe-table-custom--panel-list > li.level--8 {
857
- padding-left: 9.5em;
858
- }
859
- .vxe-table-custom--panel-list > li.level--8 .vxe-checkbox--icon {
860
- left: 7.8em;
840
+ padding-left: 8.7em;
861
841
  }
862
842
 
863
843
  .vxe-table-custom--header {
@@ -870,9 +850,6 @@
870
850
  user-select: none;
871
851
  }
872
852
 
873
- .vxe-table-custom--panel-list {
874
- padding: 0.2em 0;
875
- }
876
853
  .vxe-table-custom--panel-list .vxe-table-custom--checkbox-option:hover {
877
854
  background-color: var(--vxe-ui-table-row-hover-background-color);
878
855
  }
@@ -961,6 +938,13 @@
961
938
  cursor: not-allowed;
962
939
  }
963
940
 
941
+ .vxe-table-custom--name-option {
942
+ flex-grow: 1;
943
+ display: flex;
944
+ flex-direction: row;
945
+ overflow: hidden;
946
+ }
947
+
964
948
  .vxe-table-custom--checkbox-label {
965
949
  flex-grow: 1;
966
950
  overflow: hidden;
@@ -980,6 +964,7 @@
980
964
  }
981
965
 
982
966
  .vxe-table-custom-popup--body {
967
+ position: relative;
983
968
  overflow: auto;
984
969
  height: 100%;
985
970
  outline: 0;
@@ -1026,13 +1011,44 @@
1026
1011
  border-right: 1px solid var(--vxe-ui-table-border-color);
1027
1012
  }
1028
1013
 
1029
- .vxe-table-custom-popup--drag-hint {
1014
+ /*拖拽列*/
1015
+ .vxe-table-custom-popup--drag-line {
1016
+ display: none;
1017
+ position: absolute;
1018
+ top: 0;
1019
+ left: 0;
1020
+ z-index: 11;
1021
+ pointer-events: none;
1022
+ }
1023
+
1024
+ .vxe-table-custom-popup--drag-line {
1025
+ width: 100%;
1026
+ height: 1px;
1027
+ border: 2px solid transparent;
1028
+ }
1029
+ .vxe-table-custom-popup--drag-line[drag-pos=top] {
1030
+ border-top-color: var(--vxe-ui-font-primary-color);
1031
+ }
1032
+ .vxe-table-custom-popup--drag-line[drag-pos=bottom] {
1033
+ border-bottom-color: var(--vxe-ui-font-primary-color);
1034
+ }
1035
+ .vxe-table-custom-popup--drag-line[drag-to-child=y] {
1036
+ border-top-color: transparent;
1037
+ border-bottom-color: transparent;
1038
+ border-left-color: var(--vxe-ui-status-success-color);
1039
+ }
1040
+ .vxe-table-custom-popup--drag-line.is--guides {
1041
+ background-color: var(--vxe-ui-table-drag-over-background-color);
1042
+ }
1043
+
1044
+ .vxe-table-custom-popup--drag-tip {
1030
1045
  display: none;
1031
1046
  position: absolute;
1032
1047
  top: 0;
1033
1048
  left: 0;
1034
- padding: 0.6em 1em 0.6em 1.6em;
1035
- max-width: 300px;
1049
+ padding: 0.6em 1.4em;
1050
+ max-width: 50%;
1051
+ min-width: 100px;
1036
1052
  border-radius: var(--vxe-ui-border-radius);
1037
1053
  overflow: hidden;
1038
1054
  text-overflow: ellipsis;
@@ -1045,8 +1061,52 @@
1045
1061
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
1046
1062
  z-index: 33;
1047
1063
  }
1064
+ .vxe-table-custom-popup--drag-tip[drag-status=normal] .vxe-table-custom-popup--drag-tip-normal-status {
1065
+ display: block;
1066
+ }
1067
+ .vxe-table-custom-popup--drag-tip[drag-status=sub] .vxe-table-custom-popup--drag-tip-sub-status {
1068
+ display: block;
1069
+ }
1070
+ .vxe-table-custom-popup--drag-tip[drag-status=disabled] .vxe-table-custom-popup--drag-tip-disabled-status {
1071
+ display: block;
1072
+ }
1073
+
1074
+ .vxe-table-custom-popup--drag-tip-wrapper {
1075
+ display: flex;
1076
+ flex-direction: row;
1077
+ align-items: center;
1078
+ }
1079
+
1080
+ .vxe-table-custom-popup--drag-tip-status {
1081
+ padding-right: 0.4em;
1082
+ }
1083
+
1084
+ .vxe-table-custom-popup--drag-tip-disabled-status {
1085
+ display: none;
1086
+ flex-shrink: 0;
1087
+ color: var(--vxe-ui-status-error-color);
1088
+ }
1089
+
1090
+ .vxe-table-custom-popup--drag-tip-normal-status,
1091
+ .vxe-table-custom-popup--drag-tip-sub-status {
1092
+ display: none;
1093
+ }
1094
+
1095
+ .vxe-table-custom-popup--drag-tip-content {
1096
+ flex-grow: 1;
1097
+ overflow: hidden;
1098
+ text-overflow: ellipsis;
1099
+ white-space: nowrap;
1100
+ }
1048
1101
 
1049
1102
  .vxe-table-custom-popup--name {
1103
+ display: flex;
1104
+ flex-direction: row;
1105
+ align-items: center;
1106
+ }
1107
+
1108
+ .vxe-table-custom-popup--title {
1109
+ flex-grow: 1;
1050
1110
  overflow: hidden;
1051
1111
  text-overflow: ellipsis;
1052
1112
  white-space: nowrap;
@@ -1087,7 +1147,7 @@
1087
1147
  .vxe-table-custom-popup--column-item {
1088
1148
  position: relative;
1089
1149
  }
1090
- .vxe-table-custom-popup--column-item.col--sort, .vxe-table-custom-popup--column-item.col--visible, .vxe-table-custom-popup--column-item.col--resizable, .vxe-table-custom-popup--column-item.col--fixed {
1150
+ .vxe-table-custom-popup--column-item.col--visible, .vxe-table-custom-popup--column-item.col--resizable, .vxe-table-custom-popup--column-item.col--fixed {
1091
1151
  text-align: center;
1092
1152
  }
1093
1153
  .vxe-table-custom-popup--column-item.col--resizable > .vxe-input, .vxe-table-custom-popup--column-item.col--resizable > .vxe-number-input {
@@ -1127,7 +1187,13 @@
1127
1187
  }
1128
1188
 
1129
1189
  .vxe-table-custom--list-move {
1130
- transition: transform 0.35s;
1190
+ transition-property: transform;
1191
+ transition-duration: 0.35s;
1192
+ transition-delay: 0.05s;
1193
+ }
1194
+
1195
+ .vxe-table-custom-popup--column-sort-placeholder {
1196
+ padding: 0.2em 0.5em;
1131
1197
  }
1132
1198
 
1133
1199
  .vxe-table-custom-popup--column-sort-btn {
@@ -2689,7 +2755,9 @@
2689
2755
  opacity: 0.5;
2690
2756
  }
2691
2757
  .vxe-table--render-default .vxe-header--col-list-move {
2692
- transition: transform 0.35s;
2758
+ transition-property: transform;
2759
+ transition-duration: 0.35s;
2760
+ transition-delay: var(--vxe-ui-table-drag-column-move-delay, 0.3s);
2693
2761
  }
2694
2762
  .vxe-table--render-default .vxe-table--drag-col-line,
2695
2763
  .vxe-table--render-default .vxe-table--drag-row-line {
@@ -2744,7 +2812,9 @@
2744
2812
  opacity: 0.5;
2745
2813
  }
2746
2814
  .vxe-table--render-default .vxe-body--row-list-move {
2747
- transition: transform 0.35s;
2815
+ transition-property: transform;
2816
+ transition-duration: 0.35s;
2817
+ transition-delay: 0.05s;
2748
2818
  }
2749
2819
  .vxe-table--render-default .vxe-table--drag-sort-tip {
2750
2820
  display: none;