vxe-table 3.15.21 → 3.15.23

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 (164) 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 +3 -0
  4. package/es/locale/lang/de-DE.js +3 -0
  5. package/es/locale/lang/en-US.js +3 -0
  6. package/es/locale/lang/es-ES.js +3 -0
  7. package/es/locale/lang/fr-FR.js +3 -0
  8. package/es/locale/lang/hu-HU.js +3 -0
  9. package/es/locale/lang/hy-AM.js +3 -0
  10. package/es/locale/lang/id-ID.js +3 -0
  11. package/es/locale/lang/it-IT.js +3 -0
  12. package/es/locale/lang/ja-JP.js +3 -0
  13. package/es/locale/lang/ko-KR.js +3 -0
  14. package/es/locale/lang/ms-MY.js +3 -0
  15. package/es/locale/lang/nb-NO.js +3 -0
  16. package/es/locale/lang/pt-BR.js +3 -0
  17. package/es/locale/lang/ru-RU.js +3 -0
  18. package/es/locale/lang/th-TH.js +3 -0
  19. package/es/locale/lang/ug-CN.js +3 -0
  20. package/es/locale/lang/uk-UA.js +3 -0
  21. package/es/locale/lang/uz-UZ.js +3 -0
  22. package/es/locale/lang/vi-VN.js +3 -0
  23. package/es/locale/lang/zh-CHT.js +3 -0
  24. package/es/locale/lang/zh-CN.js +3 -0
  25. package/es/style.css +1 -1
  26. package/es/style.min.css +1 -1
  27. package/es/table/render/index.js +74 -2
  28. package/es/table/src/cell.js +21 -7
  29. package/es/table/src/util.js +12 -15
  30. package/es/table/style.css +21 -8
  31. package/es/table/style.min.css +1 -1
  32. package/es/toolbar/src/toolbar.js +1 -1
  33. package/es/ui/index.js +1 -1
  34. package/es/ui/src/dom.js +6 -0
  35. package/es/ui/src/log.js +1 -1
  36. package/es/vxe-table/style.css +21 -8
  37. package/es/vxe-table/style.min.css +1 -1
  38. package/helper/vetur/attributes.json +1 -1
  39. package/helper/vetur/tags.json +1 -1
  40. package/lib/index.css +1 -1
  41. package/lib/index.min.css +1 -1
  42. package/lib/index.umd.js +121 -25
  43. package/lib/index.umd.min.js +1 -1
  44. package/lib/locale/lang/ar-EG.js +3 -0
  45. package/lib/locale/lang/ar-EG.min.js +1 -1
  46. package/lib/locale/lang/ar-EG.umd.js +3 -0
  47. package/lib/locale/lang/de-DE.js +3 -0
  48. package/lib/locale/lang/de-DE.min.js +1 -1
  49. package/lib/locale/lang/de-DE.umd.js +3 -0
  50. package/lib/locale/lang/en-US.js +3 -0
  51. package/lib/locale/lang/en-US.min.js +1 -1
  52. package/lib/locale/lang/en-US.umd.js +3 -0
  53. package/lib/locale/lang/es-ES.js +3 -0
  54. package/lib/locale/lang/es-ES.min.js +1 -1
  55. package/lib/locale/lang/es-ES.umd.js +3 -0
  56. package/lib/locale/lang/fr-FR.js +3 -0
  57. package/lib/locale/lang/fr-FR.min.js +1 -1
  58. package/lib/locale/lang/fr-FR.umd.js +3 -0
  59. package/lib/locale/lang/hu-HU.js +3 -0
  60. package/lib/locale/lang/hu-HU.min.js +1 -1
  61. package/lib/locale/lang/hu-HU.umd.js +3 -0
  62. package/lib/locale/lang/hy-AM.js +3 -0
  63. package/lib/locale/lang/hy-AM.min.js +1 -1
  64. package/lib/locale/lang/hy-AM.umd.js +3 -0
  65. package/lib/locale/lang/id-ID.js +3 -0
  66. package/lib/locale/lang/id-ID.min.js +1 -1
  67. package/lib/locale/lang/id-ID.umd.js +3 -0
  68. package/lib/locale/lang/it-IT.js +3 -0
  69. package/lib/locale/lang/it-IT.min.js +1 -1
  70. package/lib/locale/lang/it-IT.umd.js +3 -0
  71. package/lib/locale/lang/ja-JP.js +3 -0
  72. package/lib/locale/lang/ja-JP.min.js +1 -1
  73. package/lib/locale/lang/ja-JP.umd.js +3 -0
  74. package/lib/locale/lang/ko-KR.js +3 -0
  75. package/lib/locale/lang/ko-KR.min.js +1 -1
  76. package/lib/locale/lang/ko-KR.umd.js +3 -0
  77. package/lib/locale/lang/ms-MY.js +3 -0
  78. package/lib/locale/lang/ms-MY.min.js +1 -1
  79. package/lib/locale/lang/ms-MY.umd.js +3 -0
  80. package/lib/locale/lang/nb-NO.js +3 -0
  81. package/lib/locale/lang/nb-NO.min.js +1 -1
  82. package/lib/locale/lang/nb-NO.umd.js +3 -0
  83. package/lib/locale/lang/pt-BR.js +3 -0
  84. package/lib/locale/lang/pt-BR.min.js +1 -1
  85. package/lib/locale/lang/pt-BR.umd.js +3 -0
  86. package/lib/locale/lang/ru-RU.js +3 -0
  87. package/lib/locale/lang/ru-RU.min.js +1 -1
  88. package/lib/locale/lang/ru-RU.umd.js +3 -0
  89. package/lib/locale/lang/th-TH.js +3 -0
  90. package/lib/locale/lang/th-TH.min.js +1 -1
  91. package/lib/locale/lang/th-TH.umd.js +3 -0
  92. package/lib/locale/lang/ug-CN.js +3 -0
  93. package/lib/locale/lang/ug-CN.min.js +1 -1
  94. package/lib/locale/lang/ug-CN.umd.js +3 -0
  95. package/lib/locale/lang/uk-UA.js +3 -0
  96. package/lib/locale/lang/uk-UA.min.js +1 -1
  97. package/lib/locale/lang/uk-UA.umd.js +3 -0
  98. package/lib/locale/lang/uz-UZ.js +3 -0
  99. package/lib/locale/lang/uz-UZ.min.js +1 -1
  100. package/lib/locale/lang/uz-UZ.umd.js +3 -0
  101. package/lib/locale/lang/vi-VN.js +3 -0
  102. package/lib/locale/lang/vi-VN.min.js +1 -1
  103. package/lib/locale/lang/vi-VN.umd.js +3 -0
  104. package/lib/locale/lang/zh-CHT.js +3 -0
  105. package/lib/locale/lang/zh-CHT.min.js +1 -1
  106. package/lib/locale/lang/zh-CHT.umd.js +3 -0
  107. package/lib/locale/lang/zh-CN.js +3 -0
  108. package/lib/locale/lang/zh-CN.min.js +1 -1
  109. package/lib/locale/lang/zh-CN.umd.js +3 -0
  110. package/lib/style.css +1 -1
  111. package/lib/style.min.css +1 -1
  112. package/lib/table/render/index.js +85 -2
  113. package/lib/table/render/index.min.js +1 -1
  114. package/lib/table/src/cell.js +13 -7
  115. package/lib/table/src/cell.min.js +1 -1
  116. package/lib/table/src/util.js +11 -14
  117. package/lib/table/src/util.min.js +1 -1
  118. package/lib/table/style/style.css +21 -8
  119. package/lib/table/style/style.min.css +1 -1
  120. package/lib/toolbar/src/toolbar.js +1 -0
  121. package/lib/toolbar/src/toolbar.min.js +1 -1
  122. package/lib/ui/index.js +1 -1
  123. package/lib/ui/index.min.js +1 -1
  124. package/lib/ui/src/dom.js +7 -0
  125. package/lib/ui/src/dom.min.js +1 -1
  126. package/lib/ui/src/log.js +1 -1
  127. package/lib/ui/src/log.min.js +1 -1
  128. package/lib/vxe-table/style/style.css +21 -8
  129. package/lib/vxe-table/style/style.min.css +1 -1
  130. package/package.json +1 -1
  131. package/packages/locale/lang/ar-EG.ts +3 -0
  132. package/packages/locale/lang/de-DE.ts +3 -0
  133. package/packages/locale/lang/en-US.ts +3 -0
  134. package/packages/locale/lang/es-ES.ts +3 -0
  135. package/packages/locale/lang/fr-FR.ts +3 -0
  136. package/packages/locale/lang/hu-HU.ts +3 -0
  137. package/packages/locale/lang/hy-AM.ts +3 -0
  138. package/packages/locale/lang/id-ID.ts +3 -0
  139. package/packages/locale/lang/it-IT.ts +3 -0
  140. package/packages/locale/lang/ja-JP.ts +3 -0
  141. package/packages/locale/lang/ko-KR.ts +3 -0
  142. package/packages/locale/lang/ms-MY.ts +3 -0
  143. package/packages/locale/lang/nb-NO.ts +3 -0
  144. package/packages/locale/lang/pt-BR.ts +3 -0
  145. package/packages/locale/lang/ru-RU.ts +3 -0
  146. package/packages/locale/lang/th-TH.ts +3 -0
  147. package/packages/locale/lang/ug-CN.ts +3 -0
  148. package/packages/locale/lang/uk-UA.ts +3 -0
  149. package/packages/locale/lang/uz-UZ.ts +3 -0
  150. package/packages/locale/lang/vi-VN.ts +3 -0
  151. package/packages/locale/lang/zh-CHT.ts +3 -0
  152. package/packages/locale/lang/zh-CN.ts +3 -0
  153. package/packages/table/render/index.ts +72 -2
  154. package/packages/table/src/cell.ts +21 -7
  155. package/packages/table/src/util.ts +12 -16
  156. package/packages/toolbar/src/toolbar.ts +1 -1
  157. package/packages/ui/src/dom.ts +7 -0
  158. package/styles/components/table.scss +27 -15
  159. /package/es/{iconfont.1746783133677.ttf → iconfont.1746863438419.ttf} +0 -0
  160. /package/es/{iconfont.1746783133677.woff → iconfont.1746863438419.woff} +0 -0
  161. /package/es/{iconfont.1746783133677.woff2 → iconfont.1746863438419.woff2} +0 -0
  162. /package/lib/{iconfont.1746783133677.ttf → iconfont.1746863438419.ttf} +0 -0
  163. /package/lib/{iconfont.1746783133677.woff → iconfont.1746863438419.woff} +0 -0
  164. /package/lib/{iconfont.1746783133677.woff2 → iconfont.1746863438419.woff2} +0 -0
@@ -143,7 +143,7 @@ const blurEvent = 'blur';
143
143
  * @param modelFunc
144
144
  * @param changeFunc
145
145
  */
146
- function getComponentOns(renderOpts, params, eFns) {
146
+ function getComponentOns(renderOpts, params, eFns, eventOns) {
147
147
  const { events } = renderOpts;
148
148
  const modelEvent = getModelEvent(renderOpts);
149
149
  const changeEvent = getChangeEvent(renderOpts);
@@ -181,7 +181,7 @@ function getComponentOns(renderOpts, params, eFns) {
181
181
  }
182
182
  };
183
183
  }
184
- return ons;
184
+ return eventOns ? Object.assign(ons, eventOns) : ons;
185
185
  }
186
186
  function getEditOns(renderOpts, params) {
187
187
  const { $table, row, column } = params;
@@ -770,6 +770,78 @@ renderer.mixin({
770
770
  renderTableFilter: defaultFilterRender,
771
771
  tableFilterDefaultMethod: handleFilterMethod
772
772
  },
773
+ VxeDateRangePicker: {
774
+ tableAutoFocus: 'input',
775
+ renderTableEdit(h, renderOpts, params) {
776
+ const { startField, endField } = renderOpts;
777
+ const { $table, row, column } = params;
778
+ const { model } = column;
779
+ const cellValue = getCellValue(row, column);
780
+ const seProps = {};
781
+ const seOs = {};
782
+ if (startField && endField) {
783
+ seProps.startValue = XEUtils.get(row, startField);
784
+ seProps.endValue = XEUtils.get(row, endField);
785
+ seOs['update:startValue'] = (value) => {
786
+ if (startField) {
787
+ XEUtils.set(row, startField, value);
788
+ }
789
+ };
790
+ seOs['update:endValue'] = (value) => {
791
+ if (endField) {
792
+ XEUtils.set(row, endField, value);
793
+ }
794
+ };
795
+ }
796
+ return [
797
+ h(getDefaultComponent(renderOpts), {
798
+ props: getCellEditProps(renderOpts, params, cellValue, seProps),
799
+ on: getComponentOns(renderOpts, params, {
800
+ model(cellValue) {
801
+ model.update = true;
802
+ model.value = cellValue;
803
+ setCellValue(row, column, cellValue);
804
+ },
805
+ change() {
806
+ $table.updateStatus(params);
807
+ },
808
+ blur() {
809
+ $table.handleCellRuleUpdateStatus('blur', params);
810
+ }
811
+ }, seOs)
812
+ })
813
+ ];
814
+ },
815
+ renderTableCell(h, renderOpts, params) {
816
+ const { startField, endField } = renderOpts;
817
+ const { row, column } = params;
818
+ let startValue = '';
819
+ let endValue = '';
820
+ if (startField && endField) {
821
+ startValue = XEUtils.get(row, startField);
822
+ endValue = XEUtils.get(row, endField);
823
+ }
824
+ else {
825
+ const cellValue = XEUtils.get(row, column.field);
826
+ if (cellValue) {
827
+ if (XEUtils.isArray(cellValue)) {
828
+ startValue = cellValue[0];
829
+ endValue = cellValue[1];
830
+ }
831
+ else {
832
+ const strs = `${cellValue}`.split(',');
833
+ startValue = strs[0];
834
+ endValue = strs[1];
835
+ }
836
+ }
837
+ }
838
+ let cellLabel = '';
839
+ if (startValue && endValue) {
840
+ cellLabel = `${startValue} ~ ${endValue}`;
841
+ }
842
+ return getCellLabelVNs(h, renderOpts, params, cellLabel);
843
+ }
844
+ },
773
845
  VxeTextarea: {
774
846
  tableAutoFocus: 'textarea',
775
847
  renderTableEdit: defaultEditRender
@@ -10,7 +10,7 @@ function renderTitlePrefixIcon(h, params) {
10
10
  const titlePrefix = column.titlePrefix || column.titleHelp;
11
11
  if (titlePrefix) {
12
12
  return h('i', {
13
- class: ['vxe-cell-title-prefix-icon', titlePrefix.iconStatus ? `theme--${titlePrefix.iconStatus}` : '', titlePrefix.icon || getIcon().TABLE_TITLE_PREFIX],
13
+ class: ['vxe-cell-title-prefix-icon', titlePrefix.iconStatus ? `theme--${titlePrefix.iconStatus}` : ''],
14
14
  on: {
15
15
  mouseenter(evnt) {
16
16
  $table.triggerHeaderTitleEvent(evnt, titlePrefix, params);
@@ -19,7 +19,11 @@ function renderTitlePrefixIcon(h, params) {
19
19
  $table.handleTargetLeaveEvent(evnt);
20
20
  }
21
21
  }
22
- });
22
+ }, [
23
+ h('i', {
24
+ class: titlePrefix.icon || getIcon().TABLE_TITLE_PREFIX
25
+ })
26
+ ]);
23
27
  }
24
28
  return renderEmptyElement($table);
25
29
  }
@@ -28,7 +32,7 @@ function renderTitleSuffixIcon(h, params) {
28
32
  const titleSuffix = column.titleSuffix;
29
33
  if (titleSuffix) {
30
34
  return h('i', {
31
- class: ['vxe-cell-title-suffix-icon', titleSuffix.iconStatus ? `theme--${titleSuffix.iconStatus}` : '', titleSuffix.icon || getIcon().TABLE_TITLE_SUFFIX],
35
+ class: ['vxe-cell-title-suffix-icon', titleSuffix.iconStatus ? `theme--${titleSuffix.iconStatus}` : ''],
32
36
  on: {
33
37
  mouseenter(evnt) {
34
38
  $table.triggerHeaderTitleEvent(evnt, titleSuffix, params);
@@ -37,7 +41,11 @@ function renderTitleSuffixIcon(h, params) {
37
41
  $table.handleTargetLeaveEvent(evnt);
38
42
  }
39
43
  }
40
- });
44
+ }, [
45
+ h('i', {
46
+ class: titleSuffix.icon || getIcon().TABLE_TITLE_SUFFIX
47
+ })
48
+ ]);
41
49
  }
42
50
  return renderEmptyElement($table);
43
51
  }
@@ -1019,12 +1027,18 @@ export const Cell = {
1019
1027
  isRequired && editOpts.showAsterisk
1020
1028
  ? h('i', {
1021
1029
  class: 'vxe-cell--required-icon'
1022
- })
1030
+ }, [
1031
+ h('i', {
1032
+ class: 'vxe-cell--required-icon'
1033
+ })
1034
+ ])
1023
1035
  : renderEmptyElement($table),
1024
1036
  isEnableConf(editRender) && editOpts.showIcon
1025
1037
  ? h('i', {
1026
- class: ['vxe-cell--edit-icon', editOpts.icon || getIcon().TABLE_EDIT]
1027
- })
1038
+ class: 'vxe-cell--edit-icon'
1039
+ }, [
1040
+ h('i')
1041
+ ])
1028
1042
  : renderEmptyElement($table)
1029
1043
  ];
1030
1044
  }
@@ -1,6 +1,6 @@
1
1
  import XEUtils from 'xe-utils';
2
2
  import { ColumnInfo } from './columnInfo';
3
- import { isScale, isPx } from '../../ui/src/dom';
3
+ import { isScale, isPx, queryElement } from '../../ui/src/dom';
4
4
  import { warnLog, errLog } from '../../ui/src/log';
5
5
  import { eqEmptyValue } from '../../ui/src/utils';
6
6
  const getAllConvertColumns = (columns, parentColumn) => {
@@ -154,7 +154,7 @@ function getPaddingLeftRightSize(elem) {
154
154
  }
155
155
  return 0;
156
156
  }
157
- function getElementMarginWidth(elem) {
157
+ function getElementMarginAndWidth(elem) {
158
158
  if (elem) {
159
159
  const computedStyle = getComputedStyle(elem);
160
160
  const marginLeft = XEUtils.toNumber(computedStyle.marginLeft);
@@ -232,9 +232,6 @@ export function getRootColumn($xeTable, column) {
232
232
  }
233
233
  return column;
234
234
  }
235
- function queryCellElement(cell, selector) {
236
- return cell.querySelector('.vxe-cell' + selector);
237
- }
238
235
  export function toFilters(filters) {
239
236
  if (filters && XEUtils.isArray(filters)) {
240
237
  return filters.map(({ label, value, data, resetValue, checked }) => {
@@ -262,19 +259,19 @@ export function getColReMinWidth(params) {
262
259
  const showTitle = headOverflow === 'title';
263
260
  const showTooltip = headOverflow === true || headOverflow === 'tooltip';
264
261
  const hasEllipsis = showTitle || showTooltip || showEllipsis;
265
- const minTitleWidth = XEUtils.floor((XEUtils.toNumber(getComputedStyle(cell).fontSize) || 14) * 1.6);
266
- const paddingLeftRight = getPaddingLeftRightSize(cell) + getPaddingLeftRightSize(queryCellElement(cell, ''));
262
+ const minTitleWidth = XEUtils.floor((XEUtils.toNumber(getComputedStyle(cell).fontSize) || 14) * 1.8);
263
+ const paddingLeftRight = getPaddingLeftRightSize(cell) + getPaddingLeftRightSize(queryElement(cell, ''));
267
264
  let mWidth = minTitleWidth + paddingLeftRight;
268
265
  // 默认最小宽处理
269
266
  if (hasEllipsis) {
270
- const dragIconWidth = getPaddingLeftRightSize(queryCellElement(cell, '>.vxe-cell--drag-handle'));
271
- const checkboxIconWidth = getPaddingLeftRightSize(queryCellElement(cell, '>.vxe-cell--checkbox'));
272
- const requiredIconWidth = getElementMarginWidth(queryCellElement(cell, '>.vxe-cell--required-icon'));
273
- const editIconWidth = getElementMarginWidth(queryCellElement(cell, '>.vxe-cell--edit-icon'));
274
- const prefixIconWidth = getElementMarginWidth(queryCellElement(cell, '>.vxe-cell-title-prefix-icon'));
275
- const suffixIconWidth = getElementMarginWidth(queryCellElement(cell, '>.vxe-cell-title-suffix-icon'));
276
- const sortIconWidth = getElementMarginWidth(queryCellElement(cell, '>.vxe-cell--sort'));
277
- const filterIconWidth = getElementMarginWidth(queryCellElement(cell, '>.vxe-cell--filter'));
267
+ const dragIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--drag-handle'));
268
+ const checkboxIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--checkbox'));
269
+ const requiredIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--required-icon'));
270
+ const editIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--edit-icon'));
271
+ const prefixIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell-title-prefix-icon'));
272
+ const suffixIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell-title-suffix-icon'));
273
+ const sortIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--sort'));
274
+ const filterIconWidth = getElementMarginAndWidth(queryElement(cell, '.vxe-cell--filter'));
278
275
  mWidth += dragIconWidth + checkboxIconWidth + requiredIconWidth + editIconWidth + prefixIconWidth + suffixIconWidth + filterIconWidth + sortIconWidth;
279
276
  }
280
277
  // 如果设置最小宽
@@ -1806,6 +1806,7 @@
1806
1806
  .vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-select,
1807
1807
  .vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-tree-select,
1808
1808
  .vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-picker,
1809
+ .vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-range-picker,
1809
1810
  .vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-number-input,
1810
1811
  .vxe-header--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-ico-picker,
1811
1812
  .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-input,
@@ -1813,6 +1814,7 @@
1813
1814
  .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-select,
1814
1815
  .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-tree-select,
1815
1816
  .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-picker,
1817
+ .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-date-range-picker,
1816
1818
  .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-number-input,
1817
1819
  .vxe-footer--column.fixed--width > .vxe-cell > .vxe-cell--wrapper .vxe-ico-picker {
1818
1820
  width: 100%;
@@ -1821,7 +1823,7 @@
1821
1823
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-default-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-default-textarea, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-default-select {
1822
1824
  width: 100%;
1823
1825
  }
1824
- .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-textarea, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-tree-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-date-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-number-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-ico-picker {
1826
+ .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-textarea, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-tree-select, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-date-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-date-range-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-number-input, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-ico-picker {
1825
1827
  width: 100%;
1826
1828
  }
1827
1829
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-default-input,
@@ -1832,6 +1834,7 @@
1832
1834
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-select,
1833
1835
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-tree-select,
1834
1836
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-date-picker,
1837
+ .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-date-range-picker,
1835
1838
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-number-input,
1836
1839
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-row-group--tree-node .vxe-ico-picker, .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-default-input,
1837
1840
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-default-textarea,
@@ -1841,6 +1844,7 @@
1841
1844
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-select,
1842
1845
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-tree-select,
1843
1846
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-date-picker,
1847
+ .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-date-range-picker,
1844
1848
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-number-input,
1845
1849
  .vxe-body--column.fixed--width > .vxe-cell > .vxe-cell--wrapper > .vxe-cell--tree-node .vxe-ico-picker {
1846
1850
  width: 100%;
@@ -1849,7 +1853,7 @@
1849
1853
  .vxe-table--filter-template > .vxe-default-input, .vxe-table--filter-template > .vxe-default-textarea, .vxe-table--filter-template > .vxe-default-select {
1850
1854
  width: 100%;
1851
1855
  }
1852
- .vxe-table--filter-template > .vxe-input, .vxe-table--filter-template > .vxe-textarea, .vxe-table--filter-template > .vxe-select, .vxe-table--filter-template > .vxe-tree-select, .vxe-table--filter-template > .vxe-date-picker, .vxe-table--filter-template > .vxe-number-input, .vxe-table--filter-template > .vxe-ico-picker {
1856
+ .vxe-table--filter-template > .vxe-input, .vxe-table--filter-template > .vxe-textarea, .vxe-table--filter-template > .vxe-select, .vxe-table--filter-template > .vxe-tree-select, .vxe-table--filter-template > .vxe-date-picker, .vxe-table--filter-template > .vxe-date-range-picker, .vxe-table--filter-template > .vxe-number-input, .vxe-table--filter-template > .vxe-ico-picker {
1853
1857
  width: 100%;
1854
1858
  }
1855
1859
 
@@ -2287,29 +2291,38 @@
2287
2291
  position: relative;
2288
2292
  font-weight: var(--vxe-ui-table-header-font-weight);
2289
2293
  }
2290
- .vxe-header--column.col--ellipsis > .vxe-cell {
2294
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper {
2291
2295
  display: flex;
2292
2296
  align-items: center;
2293
2297
  }
2298
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--drag-handle,
2299
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--sort,
2300
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--filter,
2301
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell-title-prefix-icon,
2302
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell-title-suffix-icon,
2303
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--checkbox,
2304
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell-title-suffix-icon,
2305
+ .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--wrapper .vxe-cell--required-icon {
2306
+ flex-shrink: 0;
2307
+ }
2294
2308
  .vxe-header--column.col--ellipsis > .vxe-cell .vxe-cell--title {
2295
2309
  overflow: hidden;
2296
2310
  text-overflow: ellipsis;
2297
2311
  white-space: nowrap;
2298
2312
  }
2299
- .vxe-header--column.col--ellipsis > .vxe-cell > i:not(.vxe-cell--title), .vxe-header--column.col--ellipsis > .vxe-cell > span:not(.vxe-cell--title) {
2300
- flex-shrink: 0;
2301
- }
2302
2313
  .vxe-header--column .vxe-cell--required-icon {
2303
2314
  display: inline-block;
2304
2315
  color: var(--vxe-ui-table-validate-error-color);
2305
2316
  width: 0.8em;
2306
2317
  height: 1em;
2307
2318
  line-height: 1em;
2319
+ position: relative;
2320
+ }
2321
+ .vxe-header--column .vxe-cell--required-icon > i {
2308
2322
  font-family: Verdana, Arial, Tahoma;
2309
2323
  font-weight: normal;
2310
- position: relative;
2311
2324
  }
2312
- .vxe-header--column .vxe-cell--required-icon:before {
2325
+ .vxe-header--column .vxe-cell--required-icon > i:before {
2313
2326
  content: "*";
2314
2327
  position: absolute;
2315
2328
  left: 0;