vxe-table 4.2.8 → 4.3.0-beta.2

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 (227) hide show
  1. package/es/button/src/button.js +14 -14
  2. package/es/button/style.css +1 -58
  3. package/es/checkbox/src/checkbox.js +7 -4
  4. package/es/checkbox/style.css +37 -58
  5. package/es/edit/src/hook.js +29 -13
  6. package/es/export/src/export-panel.js +10 -20
  7. package/es/export/src/hook.js +45 -45
  8. package/es/export/src/import-panel.js +2 -2
  9. package/es/export/src/util.js +7 -7
  10. package/es/export/style.css +27 -82
  11. package/es/filter/src/hook.js +5 -5
  12. package/es/filter/src/panel.js +9 -17
  13. package/es/filter/style.css +27 -79
  14. package/es/footer/src/footer.js +15 -15
  15. package/es/form/src/form-config-item.js +8 -7
  16. package/es/form/src/form-item.js +8 -7
  17. package/es/form/src/form.js +8 -6
  18. package/es/form/style.css +0 -3
  19. package/es/grid/src/grid.js +18 -13
  20. package/es/grid/style.css +1 -1
  21. package/es/header/src/header.js +18 -18
  22. package/es/header/style.css +0 -95
  23. package/es/icon/style.css +379 -0
  24. package/es/input/src/input.js +26 -26
  25. package/es/input/style.css +13 -4
  26. package/es/keyboard/src/hook.js +7 -7
  27. package/es/list/src/list.js +5 -5
  28. package/es/loading/src/loading.js +1 -1
  29. package/es/menu/src/hooks.js +9 -9
  30. package/es/menu/src/panel.js +2 -2
  31. package/es/modal/src/modal.js +52 -51
  32. package/es/modal/style.css +2 -3
  33. package/es/pager/src/pager.js +3 -3
  34. package/es/pager/style.css +4 -2
  35. package/es/pulldown/src/pulldown.js +7 -7
  36. package/es/radio/src/button.js +1 -1
  37. package/es/radio/src/radio.js +5 -4
  38. package/es/radio/style.css +32 -55
  39. package/es/select/src/select.js +13 -12
  40. package/es/select/style.css +1 -0
  41. package/es/style.css +1 -1
  42. package/es/style.min.css +1 -1
  43. package/es/switch/src/switch.js +1 -1
  44. package/es/table/src/body.js +38 -34
  45. package/es/table/src/cell.js +16 -28
  46. package/es/table/src/columnInfo.js +4 -4
  47. package/es/table/src/table.js +65 -60
  48. package/es/table/src/util.js +2 -2
  49. package/es/table/style.css +160 -139
  50. package/es/textarea/src/textarea.js +5 -5
  51. package/es/toolbar/src/toolbar.js +17 -24
  52. package/es/toolbar/style.css +28 -80
  53. package/es/tools/dom.js +2 -2
  54. package/es/tools/log.js +1 -1
  55. package/es/tools/vn.js +7 -0
  56. package/es/tooltip/src/tooltip.js +22 -10
  57. package/es/v-x-e-table/index.js +1 -1
  58. package/es/v-x-e-table/src/conf.js +43 -38
  59. package/es/v-x-e-table/src/interceptor.js +1 -1
  60. package/es/v-x-e-table/src/renderer.js +19 -15
  61. package/es/v-x-e-table/style.css +405 -2
  62. package/lib/button/src/button.js +10 -10
  63. package/lib/button/src/button.min.js +1 -1
  64. package/lib/button/style/style.css +1 -58
  65. package/lib/button/style/style.min.css +1 -1
  66. package/lib/checkbox/src/checkbox.js +5 -3
  67. package/lib/checkbox/src/checkbox.min.js +1 -1
  68. package/lib/checkbox/style/style.css +37 -58
  69. package/lib/checkbox/style/style.min.css +1 -1
  70. package/lib/edit/src/hook.js +14 -13
  71. package/lib/edit/src/hook.min.js +1 -1
  72. package/lib/export/src/export-panel.js +11 -17
  73. package/lib/export/src/export-panel.min.js +1 -1
  74. package/lib/export/src/hook.js +50 -50
  75. package/lib/export/src/hook.min.js +1 -1
  76. package/lib/export/src/import-panel.js +3 -3
  77. package/lib/export/src/import-panel.min.js +1 -1
  78. package/lib/export/src/util.js +4 -4
  79. package/lib/export/src/util.min.js +1 -1
  80. package/lib/export/style/style.css +27 -82
  81. package/lib/export/style/style.min.css +1 -1
  82. package/lib/filter/src/hook.js +5 -5
  83. package/lib/filter/src/hook.min.js +1 -1
  84. package/lib/filter/src/panel.js +11 -15
  85. package/lib/filter/src/panel.min.js +1 -1
  86. package/lib/filter/style/style.css +27 -79
  87. package/lib/filter/style/style.min.css +1 -1
  88. package/lib/footer/src/footer.js +14 -14
  89. package/lib/footer/src/footer.min.js +1 -1
  90. package/lib/form/src/form-config-item.js +9 -7
  91. package/lib/form/src/form-config-item.min.js +1 -1
  92. package/lib/form/src/form-item.js +9 -7
  93. package/lib/form/src/form-item.min.js +1 -1
  94. package/lib/form/src/form.js +9 -6
  95. package/lib/form/src/form.min.js +1 -1
  96. package/lib/form/style/style.css +0 -3
  97. package/lib/form/style/style.min.css +1 -1
  98. package/lib/grid/src/grid.js +17 -13
  99. package/lib/grid/src/grid.min.js +1 -1
  100. package/lib/grid/style/style.css +1 -1
  101. package/lib/grid/style/style.min.css +1 -1
  102. package/lib/header/src/header.js +17 -17
  103. package/lib/header/src/header.min.js +1 -1
  104. package/lib/header/style/style.css +0 -95
  105. package/lib/header/style/style.min.css +0 -1
  106. package/lib/icon/style/style.css +379 -0
  107. package/lib/icon/style/style.min.css +1 -1
  108. package/lib/index.umd.js +163 -159
  109. package/lib/index.umd.min.js +1 -1
  110. package/lib/input/src/input.js +23 -23
  111. package/lib/input/src/input.min.js +1 -1
  112. package/lib/input/style/style.css +13 -4
  113. package/lib/input/style/style.min.css +1 -1
  114. package/lib/keyboard/src/hook.js +7 -7
  115. package/lib/keyboard/src/hook.min.js +1 -1
  116. package/lib/list/src/list.js +5 -5
  117. package/lib/list/src/list.min.js +1 -1
  118. package/lib/loading/src/loading.js +1 -1
  119. package/lib/loading/src/loading.min.js +1 -1
  120. package/lib/menu/src/hooks.js +9 -9
  121. package/lib/menu/src/hooks.min.js +1 -1
  122. package/lib/menu/src/panel.js +2 -2
  123. package/lib/menu/src/panel.min.js +1 -1
  124. package/lib/modal/src/modal.js +55 -53
  125. package/lib/modal/src/modal.min.js +1 -1
  126. package/lib/modal/style/style.css +2 -3
  127. package/lib/modal/style/style.min.css +1 -1
  128. package/lib/pager/src/pager.js +2 -2
  129. package/lib/pager/src/pager.min.js +1 -1
  130. package/lib/pager/style/style.css +4 -2
  131. package/lib/pager/style/style.min.css +1 -1
  132. package/lib/pulldown/src/pulldown.js +7 -7
  133. package/lib/pulldown/src/pulldown.min.js +1 -1
  134. package/lib/radio/src/button.js +1 -1
  135. package/lib/radio/src/button.min.js +1 -1
  136. package/lib/radio/src/radio.js +4 -4
  137. package/lib/radio/src/radio.min.js +1 -1
  138. package/lib/radio/style/style.css +32 -55
  139. package/lib/radio/style/style.min.css +1 -1
  140. package/lib/select/src/select.js +14 -12
  141. package/lib/select/src/select.min.js +1 -1
  142. package/lib/select/style/style.css +1 -0
  143. package/lib/select/style/style.min.css +1 -1
  144. package/lib/style.css +1 -1
  145. package/lib/style.min.css +1 -1
  146. package/lib/switch/src/switch.js +1 -1
  147. package/lib/switch/src/switch.min.js +1 -1
  148. package/lib/table/src/body.js +36 -34
  149. package/lib/table/src/body.min.js +1 -1
  150. package/lib/table/src/cell.js +21 -29
  151. package/lib/table/src/cell.min.js +1 -1
  152. package/lib/table/src/columnInfo.js +4 -4
  153. package/lib/table/src/columnInfo.min.js +1 -1
  154. package/lib/table/src/table.js +65 -61
  155. package/lib/table/src/table.min.js +1 -1
  156. package/lib/table/src/util.js +2 -2
  157. package/lib/table/src/util.min.js +1 -1
  158. package/lib/table/style/style.css +160 -139
  159. package/lib/table/style/style.min.css +1 -1
  160. package/lib/textarea/src/textarea.js +6 -6
  161. package/lib/textarea/src/textarea.min.js +1 -1
  162. package/lib/toolbar/src/toolbar.js +20 -22
  163. package/lib/toolbar/src/toolbar.min.js +1 -1
  164. package/lib/toolbar/style/style.css +28 -80
  165. package/lib/toolbar/style/style.min.css +1 -1
  166. package/lib/tools/dom.js +2 -2
  167. package/lib/tools/dom.min.js +1 -1
  168. package/lib/tools/log.js +1 -1
  169. package/lib/tools/log.min.js +1 -1
  170. package/lib/tools/vn.js +13 -0
  171. package/lib/tools/vn.min.js +1 -1
  172. package/lib/tooltip/src/tooltip.js +22 -8
  173. package/lib/tooltip/src/tooltip.min.js +1 -1
  174. package/lib/v-x-e-table/index.js +1 -1
  175. package/lib/v-x-e-table/index.min.js +1 -1
  176. package/lib/v-x-e-table/src/conf.js +43 -38
  177. package/lib/v-x-e-table/src/conf.min.js +1 -1
  178. package/lib/v-x-e-table/src/interceptor.js +1 -1
  179. package/lib/v-x-e-table/src/interceptor.min.js +1 -1
  180. package/lib/v-x-e-table/src/renderer.js +18 -16
  181. package/lib/v-x-e-table/src/renderer.min.js +1 -1
  182. package/lib/v-x-e-table/style/style.css +405 -2
  183. package/lib/v-x-e-table/style/style.min.css +1 -1
  184. package/package.json +6 -6
  185. package/packages/checkbox/src/checkbox.ts +7 -4
  186. package/packages/edit/src/hook.ts +18 -6
  187. package/packages/export/src/export-panel.ts +9 -19
  188. package/packages/filter/src/panel.ts +8 -16
  189. package/packages/form/src/form-config-item.ts +4 -3
  190. package/packages/form/src/form-item.ts +4 -3
  191. package/packages/form/src/form.ts +6 -4
  192. package/packages/grid/src/grid.ts +2 -1
  193. package/packages/input/src/input.ts +3 -3
  194. package/packages/modal/src/modal.ts +5 -4
  195. package/packages/radio/src/radio.ts +4 -3
  196. package/packages/select/src/select.ts +2 -1
  197. package/packages/table/src/cell.ts +18 -35
  198. package/packages/table/src/table.ts +11 -10
  199. package/packages/toolbar/src/toolbar.ts +14 -21
  200. package/packages/tools/vn.ts +10 -0
  201. package/packages/tooltip/src/tooltip.ts +8 -4
  202. package/packages/v-x-e-table/src/conf.ts +43 -38
  203. package/styles/base/checked.scss +44 -148
  204. package/styles/button.scss +1 -43
  205. package/styles/checkbox.scss +6 -65
  206. package/styles/export.scss +2 -9
  207. package/styles/filter.scss +2 -6
  208. package/styles/form.scss +0 -3
  209. package/styles/header.scss +0 -134
  210. package/styles/icon.scss +509 -713
  211. package/styles/input.scss +8 -0
  212. package/styles/modal.scss +0 -1
  213. package/styles/old-icon.scss +713 -0
  214. package/styles/pager.scss +2 -0
  215. package/styles/radio.scss +9 -77
  216. package/styles/select.scss +1 -0
  217. package/styles/table.scss +144 -21
  218. package/styles/toolbar.scss +2 -6
  219. package/styles/variable.scss +5 -5
  220. package/types/all.d.ts +6 -0
  221. package/types/column.d.ts +11 -11
  222. package/types/component.d.ts +3 -1
  223. package/types/form-item.d.ts +1 -0
  224. package/types/form.d.ts +6 -2
  225. package/types/grid.d.ts +4 -4
  226. package/types/table.d.ts +2 -2
  227. package/types/v-x-e-table/renderer.d.ts +3 -2
@@ -88,19 +88,19 @@ function getFooterData(opts, footerTableData) {
88
88
  function getCsvCellTypeLabel(column, cellValue) {
89
89
  if (cellValue) {
90
90
  if (column.type === 'seq') {
91
- return "\t" + cellValue;
91
+ return "\t".concat(cellValue);
92
92
  }
93
93
  switch (column.cellType) {
94
94
  case 'string':
95
95
  if (!isNaN(cellValue)) {
96
- return "\t" + cellValue;
96
+ return "\t".concat(cellValue);
97
97
  }
98
98
  break;
99
99
  case 'number':
100
100
  break;
101
101
  default:
102
102
  if (cellValue.length >= 12 && !isNaN(cellValue)) {
103
- return "\t" + cellValue;
103
+ return "\t".concat(cellValue);
104
104
  }
105
105
  break;
106
106
  }
@@ -109,7 +109,7 @@ function getCsvCellTypeLabel(column, cellValue) {
109
109
  }
110
110
  function toTxtCellLabel(val) {
111
111
  if (/[",\s\n]/.test(val)) {
112
- return "\"" + val.replace(/"/g, '""') + "\"";
112
+ return "\"".concat(val.replace(/"/g, '""'), "\"");
113
113
  }
114
114
  return val;
115
115
  }
@@ -117,7 +117,7 @@ function getElementsByTagName(elem, qualifiedName) {
117
117
  return elem.getElementsByTagName(qualifiedName);
118
118
  }
119
119
  function getTxtCellKey(now) {
120
- return "#" + now + "@" + XEUtils.uniqueId();
120
+ return "#".concat(now, "@").concat(XEUtils.uniqueId());
121
121
  }
122
122
  function replaceTxtCell(cell, vMaps) {
123
123
  return cell.replace(/#\d+@\d+/g, function (key) { return XEUtils.hasOwnProp(vMaps, key) ? vMaps[key] : key; });
@@ -496,19 +496,19 @@ var tableExportHook = {
496
496
  var allCls = 'check-all';
497
497
  var clss = [
498
498
  'vxe-table',
499
- "border--" + toTableBorder(border),
499
+ "border--".concat(toTableBorder(border)),
500
500
  isPrint ? 'is--print' : '',
501
501
  isHeader ? 'is--header' : ''
502
502
  ].filter(function (cls) { return cls; });
503
503
  var tables = [
504
- "<table class=\"" + clss.join(' ') + "\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">",
505
- "<colgroup>" + columns.map(function (column) { return "<col style=\"width:" + column.renderWidth + "px\">"; }).join('') + "</colgroup>"
504
+ "<table class=\"".concat(clss.join(' '), "\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"),
505
+ "<colgroup>".concat(columns.map(function (column) { return "<col style=\"width:".concat(column.renderWidth, "px\">"); }).join(''), "</colgroup>")
506
506
  ];
507
507
  if (isHeader) {
508
508
  tables.push('<thead>');
509
509
  if (isColgroup && !original) {
510
510
  colgroups.forEach(function (cols) {
511
- tables.push("<tr>" + cols.map(function (column) {
511
+ tables.push("<tr>".concat(cols.map(function (column) {
512
512
  var headAlign = column.headerAlign || column.align || allHeaderAlign || allAlign;
513
513
  var classNames = hasEllipsis(column, 'showHeaderOverflow', allColumnHeaderOverflow) ? ['col--ellipsis'] : [];
514
514
  var cellTitle = getHeaderTitle(opts, column);
@@ -522,28 +522,28 @@ var tableExportHook = {
522
522
  }, { children: 'childNodes' });
523
523
  var cellWidth = childWidth - countChild;
524
524
  if (headAlign) {
525
- classNames.push("col--" + headAlign);
525
+ classNames.push("col--".concat(headAlign));
526
526
  }
527
527
  if (column.type === 'checkbox') {
528
- return "<th class=\"" + classNames.join(' ') + "\" colspan=\"" + column._colSpan + "\" rowspan=\"" + column._rowSpan + "\"><div " + (isPrint ? '' : "style=\"width: " + cellWidth + "px\"") + "><input type=\"checkbox\" class=\"" + allCls + "\" " + (isAllSelected ? 'checked' : '') + "><span>" + cellTitle + "</span></div></th>";
528
+ return "<th class=\"".concat(classNames.join(' '), "\" colspan=\"").concat(column._colSpan, "\" rowspan=\"").concat(column._rowSpan, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(cellWidth, "px\""), "><input type=\"checkbox\" class=\"").concat(allCls, "\" ").concat(isAllSelected ? 'checked' : '', "><span>").concat(cellTitle, "</span></div></th>");
529
529
  }
530
- return "<th class=\"" + classNames.join(' ') + "\" colspan=\"" + column._colSpan + "\" rowspan=\"" + column._rowSpan + "\" title=\"" + cellTitle + "\"><div " + (isPrint ? '' : "style=\"width: " + cellWidth + "px\"") + "><span>" + formatText(cellTitle, true) + "</span></div></th>";
531
- }).join('') + "</tr>");
530
+ return "<th class=\"".concat(classNames.join(' '), "\" colspan=\"").concat(column._colSpan, "\" rowspan=\"").concat(column._rowSpan, "\" title=\"").concat(cellTitle, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(cellWidth, "px\""), "><span>").concat(formatText(cellTitle, true), "</span></div></th>");
531
+ }).join(''), "</tr>"));
532
532
  });
533
533
  }
534
534
  else {
535
- tables.push("<tr>" + columns.map(function (column) {
535
+ tables.push("<tr>".concat(columns.map(function (column) {
536
536
  var headAlign = column.headerAlign || column.align || allHeaderAlign || allAlign;
537
537
  var classNames = hasEllipsis(column, 'showHeaderOverflow', allColumnHeaderOverflow) ? ['col--ellipsis'] : [];
538
538
  var cellTitle = getHeaderTitle(opts, column);
539
539
  if (headAlign) {
540
- classNames.push("col--" + headAlign);
540
+ classNames.push("col--".concat(headAlign));
541
541
  }
542
542
  if (column.type === 'checkbox') {
543
- return "<th class=\"" + classNames.join(' ') + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><input type=\"checkbox\" class=\"" + allCls + "\" " + (isAllSelected ? 'checked' : '') + "><span>" + cellTitle + "</span></div></th>";
543
+ return "<th class=\"".concat(classNames.join(' '), "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><input type=\"checkbox\" class=\"").concat(allCls, "\" ").concat(isAllSelected ? 'checked' : '', "><span>").concat(cellTitle, "</span></div></th>");
544
544
  }
545
- return "<th class=\"" + classNames.join(' ') + "\" title=\"" + cellTitle + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><span>" + formatText(cellTitle, true) + "</span></div></th>";
546
- }).join('') + "</tr>");
545
+ return "<th class=\"".concat(classNames.join(' '), "\" title=\"").concat(cellTitle, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><span>").concat(formatText(cellTitle, true), "</span></div></th>");
546
+ }).join(''), "</tr>"));
547
547
  }
548
548
  tables.push('</thead>');
549
549
  }
@@ -556,29 +556,29 @@ var tableExportHook = {
556
556
  var classNames = hasEllipsis(column, 'showOverflow', allColumnOverflow) ? ['col--ellipsis'] : [];
557
557
  var cellValue = item[column.id];
558
558
  if (cellAlign) {
559
- classNames.push("col--" + cellAlign);
559
+ classNames.push("col--".concat(cellAlign));
560
560
  }
561
561
  if (column.treeNode) {
562
562
  var treeIcon = '';
563
563
  if (item._hasChild) {
564
- treeIcon = "<i class=\"" + (item._expand ? 'vxe-table--tree-fold-icon' : 'vxe-table--tree-unfold-icon') + "\"></i>";
564
+ treeIcon = "<i class=\"".concat(item._expand ? 'vxe-table--tree-fold-icon' : 'vxe-table--tree-unfold-icon', "\"></i>");
565
565
  }
566
566
  classNames.push('vxe-table--tree-node');
567
567
  if (column.type === 'radio') {
568
- return "<td class=\"" + classNames.join(' ') + "\" title=\"" + cellValue + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><div class=\"vxe-table--tree-node-wrapper\" style=\"padding-left: " + item._level * treeOpts.indent + "px\"><div class=\"vxe-table--tree-icon-wrapper\">" + treeIcon + "</div><div class=\"vxe-table--tree-cell\"><input type=\"radio\" name=\"radio_" + id + "\" " + (item._radioDisabled ? 'disabled ' : '') + (getBooleanValue(cellValue) ? 'checked' : '') + "><span>" + item._radioLabel + "</span></div></div></div></td>";
568
+ return "<td class=\"".concat(classNames.join(' '), "\" title=\"").concat(cellValue, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><div class=\"vxe-table--tree-node-wrapper\" style=\"padding-left: ").concat(item._level * treeOpts.indent, "px\"><div class=\"vxe-table--tree-icon-wrapper\">").concat(treeIcon, "</div><div class=\"vxe-table--tree-cell\"><input type=\"radio\" name=\"radio_").concat(id, "\" ").concat(item._radioDisabled ? 'disabled ' : '').concat(getBooleanValue(cellValue) ? 'checked' : '', "><span>").concat(item._radioLabel, "</span></div></div></div></td>");
569
569
  }
570
570
  else if (column.type === 'checkbox') {
571
- return "<td class=\"" + classNames.join(' ') + "\" title=\"" + cellValue + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><div class=\"vxe-table--tree-node-wrapper\" style=\"padding-left: " + item._level * treeOpts.indent + "px\"><div class=\"vxe-table--tree-icon-wrapper\">" + treeIcon + "</div><div class=\"vxe-table--tree-cell\"><input type=\"checkbox\" " + (item._checkboxDisabled ? 'disabled ' : '') + (getBooleanValue(cellValue) ? 'checked' : '') + "><span>" + item._checkboxLabel + "</span></div></div></div></td>";
571
+ return "<td class=\"".concat(classNames.join(' '), "\" title=\"").concat(cellValue, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><div class=\"vxe-table--tree-node-wrapper\" style=\"padding-left: ").concat(item._level * treeOpts.indent, "px\"><div class=\"vxe-table--tree-icon-wrapper\">").concat(treeIcon, "</div><div class=\"vxe-table--tree-cell\"><input type=\"checkbox\" ").concat(item._checkboxDisabled ? 'disabled ' : '').concat(getBooleanValue(cellValue) ? 'checked' : '', "><span>").concat(item._checkboxLabel, "</span></div></div></div></td>");
572
572
  }
573
- return "<td class=\"" + classNames.join(' ') + "\" title=\"" + cellValue + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><div class=\"vxe-table--tree-node-wrapper\" style=\"padding-left: " + item._level * treeOpts.indent + "px\"><div class=\"vxe-table--tree-icon-wrapper\">" + treeIcon + "</div><div class=\"vxe-table--tree-cell\">" + cellValue + "</div></div></div></td>";
573
+ return "<td class=\"".concat(classNames.join(' '), "\" title=\"").concat(cellValue, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><div class=\"vxe-table--tree-node-wrapper\" style=\"padding-left: ").concat(item._level * treeOpts.indent, "px\"><div class=\"vxe-table--tree-icon-wrapper\">").concat(treeIcon, "</div><div class=\"vxe-table--tree-cell\">").concat(cellValue, "</div></div></div></td>");
574
574
  }
575
575
  if (column.type === 'radio') {
576
- return "<td class=\"" + classNames.join(' ') + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><input type=\"radio\" name=\"radio_" + id + "\" " + (item._radioDisabled ? 'disabled ' : '') + (getBooleanValue(cellValue) ? 'checked' : '') + "><span>" + item._radioLabel + "</span></div></td>";
576
+ return "<td class=\"".concat(classNames.join(' '), "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><input type=\"radio\" name=\"radio_").concat(id, "\" ").concat(item._radioDisabled ? 'disabled ' : '').concat(getBooleanValue(cellValue) ? 'checked' : '', "><span>").concat(item._radioLabel, "</span></div></td>");
577
577
  }
578
578
  else if (column.type === 'checkbox') {
579
- return "<td class=\"" + classNames.join(' ') + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><input type=\"checkbox\" " + (item._checkboxDisabled ? 'disabled ' : '') + (getBooleanValue(cellValue) ? 'checked' : '') + "><span>" + item._checkboxLabel + "</span></div></td>";
579
+ return "<td class=\"".concat(classNames.join(' '), "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><input type=\"checkbox\" ").concat(item._checkboxDisabled ? 'disabled ' : '').concat(getBooleanValue(cellValue) ? 'checked' : '', "><span>").concat(item._checkboxLabel, "</span></div></td>");
580
580
  }
581
- return "<td class=\"" + classNames.join(' ') + "\" title=\"" + cellValue + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + ">" + formatText(cellValue, true) + "</div></td>";
581
+ return "<td class=\"".concat(classNames.join(' '), "\" title=\"").concat(cellValue, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), ">").concat(formatText(cellValue, true), "</div></td>");
582
582
  }).join('') + '</tr>');
583
583
  });
584
584
  }
@@ -608,15 +608,15 @@ var tableExportHook = {
608
608
  }
609
609
  }
610
610
  if (cellAlign) {
611
- classNames.push("col--" + cellAlign);
611
+ classNames.push("col--".concat(cellAlign));
612
612
  }
613
613
  if (column.type === 'radio') {
614
- return "<td class=\"" + classNames.join(' ') + "\" rowspan=\"" + rowSpan + "\" colspan=\"" + colSpan + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><input type=\"radio\" name=\"radio_" + id + "\" " + (item._radioDisabled ? 'disabled ' : '') + (getBooleanValue(cellValue) ? 'checked' : '') + "><span>" + item._radioLabel + "</span></div></td>";
614
+ return "<td class=\"".concat(classNames.join(' '), "\" rowspan=\"").concat(rowSpan, "\" colspan=\"").concat(colSpan, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><input type=\"radio\" name=\"radio_").concat(id, "\" ").concat(item._radioDisabled ? 'disabled ' : '').concat(getBooleanValue(cellValue) ? 'checked' : '', "><span>").concat(item._radioLabel, "</span></div></td>");
615
615
  }
616
616
  else if (column.type === 'checkbox') {
617
- return "<td class=\"" + classNames.join(' ') + "\" rowspan=\"" + rowSpan + "\" colspan=\"" + colSpan + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + "><input type=\"checkbox\" " + (item._checkboxDisabled ? 'disabled ' : '') + (getBooleanValue(cellValue) ? 'checked' : '') + "><span>" + item._checkboxLabel + "</span></div></td>";
617
+ return "<td class=\"".concat(classNames.join(' '), "\" rowspan=\"").concat(rowSpan, "\" colspan=\"").concat(colSpan, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), "><input type=\"checkbox\" ").concat(item._checkboxDisabled ? 'disabled ' : '').concat(getBooleanValue(cellValue) ? 'checked' : '', "><span>").concat(item._checkboxLabel, "</span></div></td>");
618
618
  }
619
- return "<td class=\"" + classNames.join(' ') + "\" rowspan=\"" + rowSpan + "\" colspan=\"" + colSpan + "\" title=\"" + cellValue + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + ">" + formatText(cellValue, true) + "</div></td>";
619
+ return "<td class=\"".concat(classNames.join(' '), "\" rowspan=\"").concat(rowSpan, "\" colspan=\"").concat(colSpan, "\" title=\"").concat(cellValue, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), ">").concat(formatText(cellValue, true), "</div></td>");
620
620
  }).join('') + '</tr>');
621
621
  });
622
622
  }
@@ -628,21 +628,21 @@ var tableExportHook = {
628
628
  if (footers.length) {
629
629
  tables.push('<tfoot>');
630
630
  footers.forEach(function (rows) {
631
- tables.push("<tr>" + columns.map(function (column) {
631
+ tables.push("<tr>".concat(columns.map(function (column) {
632
632
  var footAlign = column.footerAlign || column.align || allFooterAlign || allAlign;
633
633
  var classNames = hasEllipsis(column, 'showOverflow', allColumnOverflow) ? ['col--ellipsis'] : [];
634
634
  var cellValue = getFooterCellValue(opts, rows, column);
635
635
  if (footAlign) {
636
- classNames.push("col--" + footAlign);
636
+ classNames.push("col--".concat(footAlign));
637
637
  }
638
- return "<td class=\"" + classNames.join(' ') + "\" title=\"" + cellValue + "\"><div " + (isPrint ? '' : "style=\"width: " + column.renderWidth + "px\"") + ">" + formatText(cellValue, true) + "</div></td>";
639
- }).join('') + "</tr>");
638
+ return "<td class=\"".concat(classNames.join(' '), "\" title=\"").concat(cellValue, "\"><div ").concat(isPrint ? '' : "style=\"width: ".concat(column.renderWidth, "px\""), ">").concat(formatText(cellValue, true), "</div></td>");
639
+ }).join(''), "</tr>"));
640
640
  });
641
641
  tables.push('</tfoot>');
642
642
  }
643
643
  }
644
644
  // 是否半选状态
645
- var script = !isAllSelected && isIndeterminate ? "<script>(function(){var a=document.querySelector(\"." + allCls + "\");if(a){a.indeterminate=true}})()</script>" : '';
645
+ var script = !isAllSelected && isIndeterminate ? "<script>(function(){var a=document.querySelector(\".".concat(allCls, "\");if(a){a.indeterminate=true}})()</script>") : '';
646
646
  tables.push('</table>', script);
647
647
  return isPrint ? tables.join('') : createHtmlPage(opts, tables.join(''));
648
648
  };
@@ -662,24 +662,24 @@ var tableExportHook = {
662
662
  '<ProtectStructure>False</ProtectStructure>',
663
663
  '<ProtectWindows>False</ProtectWindows>',
664
664
  '</ExcelWorkbook>',
665
- "<Worksheet ss:Name=\"" + opts.sheetName + "\">",
665
+ "<Worksheet ss:Name=\"".concat(opts.sheetName, "\">"),
666
666
  '<Table>',
667
- columns.map(function (column) { return "<Column ss:Width=\"" + column.renderWidth + "\"/>"; }).join('')
667
+ columns.map(function (column) { return "<Column ss:Width=\"".concat(column.renderWidth, "\"/>"); }).join('')
668
668
  ].join('');
669
669
  if (opts.isHeader) {
670
- xml += "<Row>" + columns.map(function (column) { return "<Cell><Data ss:Type=\"String\">" + getHeaderTitle(opts, column) + "</Data></Cell>"; }).join('') + "</Row>";
670
+ xml += "<Row>".concat(columns.map(function (column) { return "<Cell><Data ss:Type=\"String\">".concat(getHeaderTitle(opts, column), "</Data></Cell>"); }).join(''), "</Row>");
671
671
  }
672
672
  datas.forEach(function (row) {
673
- xml += '<Row>' + columns.map(function (column) { return "<Cell><Data ss:Type=\"String\">" + row[column.id] + "</Data></Cell>"; }).join('') + '</Row>';
673
+ xml += '<Row>' + columns.map(function (column) { return "<Cell><Data ss:Type=\"String\">".concat(row[column.id], "</Data></Cell>"); }).join('') + '</Row>';
674
674
  });
675
675
  if (opts.isFooter) {
676
676
  var footerTableData = reactData.footerTableData;
677
677
  var footers = getFooterData(opts, footerTableData);
678
678
  footers.forEach(function (rows) {
679
- xml += "<Row>" + columns.map(function (column) { return "<Cell><Data ss:Type=\"String\">" + getFooterCellValue(opts, rows, column) + "</Data></Cell>"; }).join('') + "</Row>";
679
+ xml += "<Row>".concat(columns.map(function (column) { return "<Cell><Data ss:Type=\"String\">".concat(getFooterCellValue(opts, rows, column), "</Data></Cell>"); }).join(''), "</Row>");
680
680
  });
681
681
  }
682
- return xml + "</Table></Worksheet></Workbook>";
682
+ return "".concat(xml, "</Table></Worksheet></Workbook>");
683
683
  };
684
684
  var getContent = function (opts, columns, datas) {
685
685
  if (columns.length) {
@@ -901,13 +901,13 @@ var tableExportHook = {
901
901
  var typeList = types.map(function (value) {
902
902
  return {
903
903
  value: value,
904
- label: "vxe.export.types." + value
904
+ label: "vxe.export.types.".concat(value)
905
905
  };
906
906
  });
907
907
  var modeList = modes.map(function (value) {
908
908
  return {
909
909
  value: value,
910
- label: "vxe.export.modes." + value
910
+ label: "vxe.export.modes.".concat(value)
911
911
  };
912
912
  });
913
913
  // 默认选中
@@ -1226,13 +1226,13 @@ var tableExportHook = {
1226
1226
  var typeList = types.map(function (value) {
1227
1227
  return {
1228
1228
  value: value,
1229
- label: "vxe.export.types." + value
1229
+ label: "vxe.export.types.".concat(value)
1230
1230
  };
1231
1231
  });
1232
1232
  var modeList = defOpts.modes.map(function (value) {
1233
1233
  return {
1234
1234
  value: value,
1235
- label: "vxe.import.modes." + value
1235
+ label: "vxe.import.modes.".concat(value)
1236
1236
  };
1237
1237
  });
1238
1238
  Object.assign(importStore, {
@@ -21,7 +21,7 @@ export default defineComponent({
21
21
  var refFileBtn = ref();
22
22
  var computeSelectName = computed(function () {
23
23
  var storeData = props.storeData;
24
- return storeData.filename + "." + storeData.type;
24
+ return "".concat(storeData.filename, ".").concat(storeData.type);
25
25
  });
26
26
  var computeHasFile = computed(function () {
27
27
  var storeData = props.storeData;
@@ -34,7 +34,7 @@ export default defineComponent({
34
34
  var selectItem = XEUtils.find(typeList, function (item) { return type === item.value; });
35
35
  return selectItem ? GlobalConfig.i18n(selectItem.label) : '*.*';
36
36
  }
37
- return "*." + typeList.map(function (item) { return item.value; }).join(', *.');
37
+ return "*.".concat(typeList.map(function (item) { return item.value; }).join(', *.'));
38
38
  });
39
39
  var clearFileEvent = function () {
40
40
  var storeData = props.storeData;
@@ -17,7 +17,7 @@ export function createFrame() {
17
17
  return frame;
18
18
  }
19
19
  export function getExportBlobByContent(content, options) {
20
- return new Blob([content], { type: "text/" + options.type + ";charset=utf-8;" });
20
+ return new Blob([content], { type: "text/".concat(options.type, ";charset=utf-8;") });
21
21
  }
22
22
  export function createHtmlPage(opts, content) {
23
23
  var style = opts.style;
@@ -25,11 +25,11 @@ export function createHtmlPage(opts, content) {
25
25
  '<!DOCTYPE html><html>',
26
26
  '<head>',
27
27
  '<meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui">',
28
- "<title>" + opts.sheetName + "</title>",
29
- "<style>" + defaultHtmlStyle + "</style>",
30
- style ? "<style>" + style + "</style>" : '',
28
+ "<title>".concat(opts.sheetName, "</title>"),
29
+ "<style>".concat(defaultHtmlStyle, "</style>"),
30
+ style ? "<style>".concat(style, "</style>") : '',
31
31
  '</head>',
32
- "<body>" + content + "</body>",
32
+ "<body>".concat(content, "</body>"),
33
33
  '</html>'
34
34
  ].join('');
35
35
  }
@@ -52,7 +52,7 @@ export var readLocalFile = function (options) {
52
52
  var types = opts.types || [];
53
53
  var isAllType = !types.length || types.some(function (type) { return type === '*'; });
54
54
  fileInput.multiple = !!opts.multiple;
55
- fileInput.accept = isAllType ? '' : "." + types.join(', .');
55
+ fileInput.accept = isAllType ? '' : ".".concat(types.join(', .'));
56
56
  fileInput.onchange = function (evnt) {
57
57
  var files = evnt.target.files;
58
58
  var file = files[0];
@@ -143,7 +143,7 @@ export function handlePrint($xetable, opts, content) {
143
143
  */
144
144
  export var saveLocalFile = function (options) {
145
145
  var filename = options.filename, type = options.type, content = options.content;
146
- var name = filename + "." + type;
146
+ var name = "".concat(filename, ".").concat(type);
147
147
  if (window.Blob) {
148
148
  var blob = content instanceof Blob ? content : getExportBlobByContent(XEUtils.toValueString(content), options);
149
149
  if (navigator.msSaveBlob) {
@@ -23,85 +23,37 @@
23
23
  /*select*/
24
24
  /*switch*/
25
25
  /*pulldown*/
26
- .vxe-export--panel-column-option {
27
- position: relative;
28
- -webkit-user-select: none;
29
- -moz-user-select: none;
30
- -ms-user-select: none;
31
- user-select: none;
32
- cursor: pointer; }
33
-
34
26
  .vxe-export--panel-column-option .vxe-checkbox--icon {
35
- display: none;
36
- position: absolute;
37
- height: 1em;
38
- width: 1em; }
27
+ font-size: 1.16em; }
39
28
 
40
29
  .vxe-export--panel-column-option .vxe-checkbox--icon {
41
- font-size: 16px; }
42
- .vxe-export--panel-column-option .vxe-checkbox--icon:before {
43
- content: "";
44
- position: absolute;
45
- height: 1em;
46
- width: 1em;
47
- top: 0;
48
- left: 0;
49
- background-color: #fff;
50
- border-radius: 2px;
51
- border: 2px solid #dcdfe6; }
52
-
53
- .vxe-export--panel-column-option .vxe-checkbox--unchecked-icon {
54
- display: inline-block; }
55
-
56
- .vxe-export--panel-column-option .vxe-checkbox--checked-icon:after {
57
- content: "";
58
- position: absolute;
59
- height: 0.64em;
60
- width: 0.32em;
61
- top: 50%;
62
- left: 50%;
63
- border: 2px solid #fff;
64
- border-left: 0;
65
- border-top: 0;
66
- transform: translate(-50%, -50%) rotate(45deg); }
67
-
68
- .vxe-export--panel-column-option .vxe-checkbox--indeterminate-icon:after {
69
- content: "";
70
- position: absolute;
71
- top: 50%;
72
- left: 50%;
73
- height: 2px;
74
- width: 0.6em;
75
- background-color: #fff;
76
- transform: translate(-50%, -50%); }
30
+ color: #dcdfe6;
31
+ vertical-align: middle;
32
+ font-weight: 700;
33
+ -webkit-user-select: none;
34
+ -moz-user-select: none;
35
+ -ms-user-select: none;
36
+ user-select: none; }
77
37
 
78
38
  .is--checked.vxe-export--panel-column-option, .is--indeterminate.vxe-export--panel-column-option {
79
39
  color: #409eff; }
80
- .is--checked.vxe-export--panel-column-option .vxe-checkbox--unchecked-icon, .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--unchecked-icon {
81
- display: none; }
82
- .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon:before, .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon:before {
83
- border-color: #409eff;
84
- background-color: #409eff; }
85
-
86
- .is--checked.vxe-export--panel-column-option .vxe-checkbox--checked-icon {
87
- display: inline-block; }
88
-
89
- .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--indeterminate-icon {
90
- display: inline-block; }
40
+ .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon, .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon {
41
+ color: #409eff; }
91
42
 
92
- .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon:before {
93
- border-color: #409eff; }
43
+ .vxe-export--panel-column-option:not(.is--disabled) {
44
+ cursor: pointer; }
45
+ .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon {
46
+ color: #409eff; }
94
47
 
95
48
  .is--disabled.vxe-export--panel-column-option {
96
- cursor: not-allowed;
97
- color: #BFBFBF; }
98
- .is--disabled.vxe-export--panel-column-option .vxe-checkbox--icon:before {
99
- border-color: #dcdfe6;
100
- background-color: #f3f3f3; }
101
- .is--disabled.vxe-export--panel-column-option .vxe-checkbox--icon:after {
102
- border-color: #c0c4cc; }
103
- .is--disabled.vxe-export--panel-column-option .vxe-checkbox--indeterminate-icon:after {
104
- background-color: #c0c4cc; }
49
+ color: #BFBFBF;
50
+ cursor: not-allowed; }
51
+ .is--disabled.vxe-export--panel-column-option .vxe-checkbox--icon {
52
+ color: #dcdfe6; }
53
+
54
+ .vxe-export--panel-column-option .vxe-checkbox--label {
55
+ padding-left: 0.5em;
56
+ vertical-align: middle; }
105
57
 
106
58
  .vxe-export--panel-column > ul {
107
59
  list-style-type: none;
@@ -147,7 +99,7 @@
147
99
  -ms-user-select: none;
148
100
  user-select: none; }
149
101
  .vxe-export--panel .vxe-export--panel-column > ul > li {
150
- padding: 0.2em 1em 0.2em 2.3em; }
102
+ padding: 0.2em 1em 0.2em 1em; }
151
103
  .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 {
152
104
  padding-left: 3.5em; }
153
105
  .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 .vxe-checkbox--icon {
@@ -231,21 +183,14 @@
231
183
  text-align: right;
232
184
  padding: 0.25em; }
233
185
 
234
- .vxe-export--panel-column-option .vxe-checkbox--icon {
235
- left: 0.6em;
236
- top: 0.38em; }
237
-
238
- .vxe-export--panel-column-option:hover {
239
- background-color: #f5f7fa; }
240
-
241
186
  .vxe-modal--wrapper .vxe-export--panel-column-option > .vxe-checkbox--icon {
242
- font-size: 16px; }
187
+ font-size: 15px; }
243
188
 
244
189
  .vxe-modal--wrapper.size--medium .vxe-export--panel-column-option > .vxe-checkbox--icon {
245
- font-size: 15px; }
190
+ font-size: 14px; }
246
191
 
247
192
  .vxe-modal--wrapper.size--small .vxe-export--panel-column-option > .vxe-checkbox--icon {
248
- font-size: 14px; }
193
+ font-size: 13px; }
249
194
 
250
195
  .vxe-modal--wrapper.size--mini .vxe-export--panel-column-option > .vxe-checkbox--icon {
251
- font-size: 14px; }
196
+ font-size: 12px; }
@@ -86,7 +86,7 @@ var tableFilterHook = {
86
86
  var maxLeft = bodyElem.clientWidth - filterWidth - minMargin;
87
87
  var left, right;
88
88
  var style = {
89
- top: targetElem_1.offsetTop + targetElem_1.offsetParent.offsetTop + targetElem_1.offsetHeight + 8 + "px"
89
+ top: "".concat(targetElem_1.offsetTop + targetElem_1.offsetParent.offsetTop + targetElem_1.offsetHeight + 8, "px")
90
90
  };
91
91
  // 判断面板不能大于表格高度
92
92
  var maxHeight = null;
@@ -107,14 +107,14 @@ var tableFilterHook = {
107
107
  if (overflowWidth > 0) {
108
108
  left -= overflowWidth;
109
109
  }
110
- style.left = Math.min(maxLeft, Math.max(minMargin, left)) + "px";
110
+ style.left = "".concat(Math.min(maxLeft, Math.max(minMargin, left)), "px");
111
111
  }
112
112
  else if (right) {
113
113
  var overflowWidth = (pageX_1 + filterWidth - centerWidth + minMargin) - visibleWidth_1;
114
114
  if (overflowWidth > 0) {
115
115
  right += overflowWidth;
116
116
  }
117
- style.right = Math.max(minMargin, right) + "px";
117
+ style.right = "".concat(Math.max(minMargin, right), "px");
118
118
  }
119
119
  filterStore.style = style;
120
120
  filterStore.maxHeight = maxHeight;
@@ -198,10 +198,10 @@ var tableFilterHook = {
198
198
  var elemStore_1 = internalData.elemStore;
199
199
  var fixed_1 = column.fixed;
200
200
  return $xetable.scrollToColumn(column).then(function () {
201
- var headerWrapperRef = elemStore_1[(fixed_1 || 'main') + "-header-wrapper"] || elemStore_1['main-header-wrapper'];
201
+ var headerWrapperRef = elemStore_1["".concat(fixed_1 || 'main', "-header-wrapper")] || elemStore_1['main-header-wrapper'];
202
202
  var headerWrapperElem = headerWrapperRef ? headerWrapperRef.value : null;
203
203
  if (headerWrapperElem) {
204
- var filterBtnElem = headerWrapperElem.querySelector(".vxe-header--column." + column.id + " .vxe-filter--btn");
204
+ var filterBtnElem = headerWrapperElem.querySelector(".vxe-header--column.".concat(column.id, " .vxe-filter--btn"));
205
205
  triggerEvent(filterBtnElem, 'click');
206
206
  }
207
207
  });
@@ -111,14 +111,16 @@ export default defineComponent({
111
111
  }, compConf.renderFilter(filterRender, params))
112
112
  ];
113
113
  }
114
+ var isAllChecked = multiple ? filterStore.isAllSelected : !filterStore.options.some(function (item) { return item._checked; });
115
+ var isAllIndeterminate = multiple && filterStore.isIndeterminate;
114
116
  return [
115
117
  h('ul', {
116
118
  class: 'vxe-table--filter-header'
117
119
  }, [
118
120
  h('li', {
119
121
  class: ['vxe-table--filter-option', {
120
- 'is--checked': multiple ? filterStore.isAllSelected : !filterStore.options.some(function (item) { return item._checked; }),
121
- 'is--indeterminate': multiple && filterStore.isIndeterminate
122
+ 'is--checked': isAllChecked,
123
+ 'is--indeterminate': isAllIndeterminate
122
124
  }],
123
125
  title: GlobalConfig.i18n(multiple ? 'vxe.table.allTitle' : 'vxe.table.allFilter'),
124
126
  onClick: function (evnt) {
@@ -126,13 +128,7 @@ export default defineComponent({
126
128
  }
127
129
  }, (multiple ? [
128
130
  h('span', {
129
- class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
130
- }),
131
- h('span', {
132
- class: 'vxe-checkbox--icon vxe-checkbox--unchecked-icon'
133
- }),
134
- h('span', {
135
- class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
131
+ class: ['vxe-checkbox--icon', isAllIndeterminate ? GlobalConfig.icon.TABLE_CHECKBOX_INDETERMINATE : (isAllChecked ? GlobalConfig.icon.TABLE_CHECKBOX_CHECKED : GlobalConfig.icon.TABLE_CHECKBOX_UNCHECKED)]
136
132
  })
137
133
  ] : []).concat([
138
134
  h('span', {
@@ -143,9 +139,11 @@ export default defineComponent({
143
139
  h('ul', {
144
140
  class: 'vxe-table--filter-body',
145
141
  style: maxHeight ? {
146
- maxHeight: maxHeight + "px"
142
+ maxHeight: "".concat(maxHeight, "px")
147
143
  } : {}
148
144
  }, filterStore.options.map(function (item) {
145
+ var isChecked = item._checked;
146
+ var isIndeterminate = false;
149
147
  return h('li', {
150
148
  class: ['vxe-table--filter-option', {
151
149
  'is--checked': item._checked
@@ -156,13 +154,7 @@ export default defineComponent({
156
154
  }
157
155
  }, (multiple ? [
158
156
  h('span', {
159
- class: 'vxe-checkbox--icon vxe-checkbox--checked-icon'
160
- }),
161
- h('span', {
162
- class: 'vxe-checkbox--icon vxe-checkbox--unchecked-icon'
163
- }),
164
- h('span', {
165
- class: 'vxe-checkbox--icon vxe-checkbox--indeterminate-icon'
157
+ class: ['vxe-checkbox--icon', isIndeterminate ? GlobalConfig.icon.TABLE_CHECKBOX_INDETERMINATE : (isChecked ? GlobalConfig.icon.TABLE_CHECKBOX_CHECKED : GlobalConfig.icon.TABLE_CHECKBOX_UNCHECKED)]
166
158
  })
167
159
  ] : []).concat([
168
160
  h('span', {