vxe-table 4.2.8 → 4.3.0-beta.0

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 (204) 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 +1 -1
  4. package/es/edit/src/hook.js +29 -13
  5. package/es/export/src/export-panel.js +1 -1
  6. package/es/export/src/hook.js +45 -45
  7. package/es/export/src/import-panel.js +2 -2
  8. package/es/export/src/util.js +7 -7
  9. package/es/filter/src/hook.js +5 -5
  10. package/es/filter/src/panel.js +1 -1
  11. package/es/footer/src/footer.js +15 -15
  12. package/es/form/src/form-config-item.js +8 -7
  13. package/es/form/src/form-item.js +8 -7
  14. package/es/form/src/form.js +8 -6
  15. package/es/form/style.css +0 -3
  16. package/es/grid/src/grid.js +18 -13
  17. package/es/grid/style.css +1 -1
  18. package/es/header/src/header.js +18 -18
  19. package/es/header/style.css +0 -95
  20. package/es/icon/style.css +371 -495
  21. package/es/input/src/input.js +26 -26
  22. package/es/input/style.css +13 -4
  23. package/es/keyboard/src/hook.js +7 -7
  24. package/es/list/src/list.js +5 -5
  25. package/es/loading/src/loading.js +1 -1
  26. package/es/menu/src/hooks.js +9 -9
  27. package/es/menu/src/panel.js +2 -2
  28. package/es/modal/src/modal.js +52 -51
  29. package/es/modal/style.css +2 -3
  30. package/es/pager/src/pager.js +3 -3
  31. package/es/pager/style.css +4 -2
  32. package/es/pulldown/src/pulldown.js +7 -7
  33. package/es/radio/src/button.js +1 -1
  34. package/es/radio/src/radio.js +1 -1
  35. package/es/select/src/select.js +13 -12
  36. package/es/select/style.css +1 -0
  37. package/es/style.css +1 -1
  38. package/es/style.min.css +1 -1
  39. package/es/switch/src/switch.js +1 -1
  40. package/es/table/src/body.js +38 -34
  41. package/es/table/src/cell.js +12 -8
  42. package/es/table/src/columnInfo.js +4 -4
  43. package/es/table/src/table.js +63 -58
  44. package/es/table/src/util.js +2 -2
  45. package/es/table/style.css +98 -0
  46. package/es/textarea/src/textarea.js +5 -5
  47. package/es/toolbar/src/toolbar.js +7 -6
  48. package/es/toolbar/style.css +1 -1
  49. package/es/tools/dom.js +2 -2
  50. package/es/tools/log.js +1 -1
  51. package/es/tools/vn.js +7 -0
  52. package/es/tooltip/src/tooltip.js +22 -10
  53. package/es/v-x-e-table/index.js +1 -1
  54. package/es/v-x-e-table/src/conf.js +38 -38
  55. package/es/v-x-e-table/src/interceptor.js +1 -1
  56. package/es/v-x-e-table/src/renderer.js +19 -15
  57. package/es/v-x-e-table/style.css +359 -459
  58. package/lib/button/src/button.js +10 -10
  59. package/lib/button/src/button.min.js +1 -1
  60. package/lib/button/style/style.css +1 -58
  61. package/lib/button/style/style.min.css +1 -1
  62. package/lib/checkbox/src/checkbox.js +1 -1
  63. package/lib/checkbox/src/checkbox.min.js +1 -1
  64. package/lib/edit/src/hook.js +14 -13
  65. package/lib/edit/src/hook.min.js +1 -1
  66. package/lib/export/src/export-panel.js +1 -1
  67. package/lib/export/src/export-panel.min.js +1 -1
  68. package/lib/export/src/hook.js +50 -50
  69. package/lib/export/src/hook.min.js +1 -1
  70. package/lib/export/src/import-panel.js +3 -3
  71. package/lib/export/src/import-panel.min.js +1 -1
  72. package/lib/export/src/util.js +4 -4
  73. package/lib/export/src/util.min.js +1 -1
  74. package/lib/filter/src/hook.js +5 -5
  75. package/lib/filter/src/hook.min.js +1 -1
  76. package/lib/filter/src/panel.js +1 -1
  77. package/lib/filter/src/panel.min.js +1 -1
  78. package/lib/footer/src/footer.js +14 -14
  79. package/lib/footer/src/footer.min.js +1 -1
  80. package/lib/form/src/form-config-item.js +9 -7
  81. package/lib/form/src/form-config-item.min.js +1 -1
  82. package/lib/form/src/form-item.js +9 -7
  83. package/lib/form/src/form-item.min.js +1 -1
  84. package/lib/form/src/form.js +9 -6
  85. package/lib/form/src/form.min.js +1 -1
  86. package/lib/form/style/style.css +0 -3
  87. package/lib/form/style/style.min.css +1 -1
  88. package/lib/grid/src/grid.js +17 -13
  89. package/lib/grid/src/grid.min.js +1 -1
  90. package/lib/grid/style/style.css +1 -1
  91. package/lib/grid/style/style.min.css +1 -1
  92. package/lib/header/src/header.js +17 -17
  93. package/lib/header/src/header.min.js +1 -1
  94. package/lib/header/style/style.css +0 -95
  95. package/lib/header/style/style.min.css +0 -1
  96. package/lib/icon/style/style.css +371 -495
  97. package/lib/icon/style/style.min.css +1 -1
  98. package/lib/index.umd.js +113 -88
  99. package/lib/index.umd.min.js +1 -1
  100. package/lib/input/src/input.js +23 -23
  101. package/lib/input/src/input.min.js +1 -1
  102. package/lib/input/style/style.css +13 -4
  103. package/lib/input/style/style.min.css +1 -1
  104. package/lib/keyboard/src/hook.js +7 -7
  105. package/lib/keyboard/src/hook.min.js +1 -1
  106. package/lib/list/src/list.js +5 -5
  107. package/lib/list/src/list.min.js +1 -1
  108. package/lib/loading/src/loading.js +1 -1
  109. package/lib/loading/src/loading.min.js +1 -1
  110. package/lib/menu/src/hooks.js +9 -9
  111. package/lib/menu/src/hooks.min.js +1 -1
  112. package/lib/menu/src/panel.js +2 -2
  113. package/lib/menu/src/panel.min.js +1 -1
  114. package/lib/modal/src/modal.js +55 -53
  115. package/lib/modal/src/modal.min.js +1 -1
  116. package/lib/modal/style/style.css +2 -3
  117. package/lib/modal/style/style.min.css +1 -1
  118. package/lib/pager/src/pager.js +2 -2
  119. package/lib/pager/src/pager.min.js +1 -1
  120. package/lib/pager/style/style.css +4 -2
  121. package/lib/pager/style/style.min.css +1 -1
  122. package/lib/pulldown/src/pulldown.js +7 -7
  123. package/lib/pulldown/src/pulldown.min.js +1 -1
  124. package/lib/radio/src/button.js +1 -1
  125. package/lib/radio/src/button.min.js +1 -1
  126. package/lib/radio/src/radio.js +1 -1
  127. package/lib/radio/src/radio.min.js +1 -1
  128. package/lib/select/src/select.js +14 -12
  129. package/lib/select/src/select.min.js +1 -1
  130. package/lib/select/style/style.css +1 -0
  131. package/lib/select/style/style.min.css +1 -1
  132. package/lib/style.css +1 -1
  133. package/lib/style.min.css +1 -1
  134. package/lib/switch/src/switch.js +1 -1
  135. package/lib/switch/src/switch.min.js +1 -1
  136. package/lib/table/src/body.js +36 -34
  137. package/lib/table/src/body.min.js +1 -1
  138. package/lib/table/src/cell.js +17 -11
  139. package/lib/table/src/cell.min.js +1 -1
  140. package/lib/table/src/columnInfo.js +4 -4
  141. package/lib/table/src/columnInfo.min.js +1 -1
  142. package/lib/table/src/table.js +63 -59
  143. package/lib/table/src/table.min.js +1 -1
  144. package/lib/table/src/util.js +2 -2
  145. package/lib/table/src/util.min.js +1 -1
  146. package/lib/table/style/style.css +98 -0
  147. package/lib/table/style/style.min.css +1 -1
  148. package/lib/textarea/src/textarea.js +6 -6
  149. package/lib/textarea/src/textarea.min.js +1 -1
  150. package/lib/toolbar/src/toolbar.js +10 -8
  151. package/lib/toolbar/src/toolbar.min.js +1 -1
  152. package/lib/toolbar/style/style.css +1 -1
  153. package/lib/toolbar/style/style.min.css +1 -1
  154. package/lib/tools/dom.js +2 -2
  155. package/lib/tools/dom.min.js +1 -1
  156. package/lib/tools/log.js +1 -1
  157. package/lib/tools/log.min.js +1 -1
  158. package/lib/tools/vn.js +13 -0
  159. package/lib/tools/vn.min.js +1 -1
  160. package/lib/tooltip/src/tooltip.js +22 -8
  161. package/lib/tooltip/src/tooltip.min.js +1 -1
  162. package/lib/v-x-e-table/index.js +1 -1
  163. package/lib/v-x-e-table/index.min.js +1 -1
  164. package/lib/v-x-e-table/src/conf.js +38 -38
  165. package/lib/v-x-e-table/src/conf.min.js +1 -1
  166. package/lib/v-x-e-table/src/interceptor.js +1 -1
  167. package/lib/v-x-e-table/src/interceptor.min.js +1 -1
  168. package/lib/v-x-e-table/src/renderer.js +18 -16
  169. package/lib/v-x-e-table/src/renderer.min.js +1 -1
  170. package/lib/v-x-e-table/style/style.css +359 -459
  171. package/lib/v-x-e-table/style/style.min.css +1 -1
  172. package/package.json +5 -5
  173. package/packages/edit/src/hook.ts +18 -6
  174. package/packages/form/src/form-config-item.ts +4 -3
  175. package/packages/form/src/form-item.ts +4 -3
  176. package/packages/form/src/form.ts +6 -4
  177. package/packages/grid/src/grid.ts +2 -1
  178. package/packages/input/src/input.ts +3 -3
  179. package/packages/modal/src/modal.ts +5 -4
  180. package/packages/select/src/select.ts +2 -1
  181. package/packages/table/src/cell.ts +14 -10
  182. package/packages/table/src/table.ts +9 -8
  183. package/packages/toolbar/src/toolbar.ts +4 -3
  184. package/packages/tools/vn.ts +10 -0
  185. package/packages/tooltip/src/tooltip.ts +8 -4
  186. package/packages/v-x-e-table/src/conf.ts +38 -38
  187. package/styles/button.scss +1 -43
  188. package/styles/form.scss +0 -3
  189. package/styles/header.scss +0 -134
  190. package/styles/icon.scss +507 -713
  191. package/styles/input.scss +8 -0
  192. package/styles/modal.scss +0 -1
  193. package/styles/pager.scss +2 -0
  194. package/styles/select.scss +1 -0
  195. package/styles/table.scss +136 -0
  196. package/styles/variable.scss +1 -1
  197. package/types/all.d.ts +6 -0
  198. package/types/column.d.ts +11 -11
  199. package/types/component.d.ts +3 -1
  200. package/types/form-item.d.ts +1 -0
  201. package/types/form.d.ts +6 -2
  202. package/types/grid.d.ts +4 -4
  203. package/types/table.d.ts +2 -2
  204. 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) {
@@ -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
  });
@@ -143,7 +143,7 @@ export default defineComponent({
143
143
  h('ul', {
144
144
  class: 'vxe-table--filter-body',
145
145
  style: maxHeight ? {
146
- maxHeight: maxHeight + "px"
146
+ maxHeight: "".concat(maxHeight, "px")
147
147
  } : {}
148
148
  }, filterStore.options.map(function (item) {
149
149
  return h('li', {
@@ -81,23 +81,23 @@ export default defineComponent({
81
81
  nextTick(function () {
82
82
  var fixedType = props.fixedType;
83
83
  var elemStore = tableInternalData.elemStore;
84
- var prefix = (fixedType || 'main') + "-footer-";
85
- elemStore[prefix + "wrapper"] = refElem;
86
- elemStore[prefix + "table"] = refFooterTable;
87
- elemStore[prefix + "colgroup"] = refFooterColgroup;
88
- elemStore[prefix + "list"] = refFooterTFoot;
89
- elemStore[prefix + "xSpace"] = refFooterXSpace;
84
+ var prefix = "".concat(fixedType || 'main', "-footer-");
85
+ elemStore["".concat(prefix, "wrapper")] = refElem;
86
+ elemStore["".concat(prefix, "table")] = refFooterTable;
87
+ elemStore["".concat(prefix, "colgroup")] = refFooterColgroup;
88
+ elemStore["".concat(prefix, "list")] = refFooterTFoot;
89
+ elemStore["".concat(prefix, "xSpace")] = refFooterXSpace;
90
90
  });
91
91
  });
92
92
  onUnmounted(function () {
93
93
  var fixedType = props.fixedType;
94
94
  var elemStore = tableInternalData.elemStore;
95
- var prefix = (fixedType || 'main') + "-footer-";
96
- elemStore[prefix + "wrapper"] = null;
97
- elemStore[prefix + "table"] = null;
98
- elemStore[prefix + "colgroup"] = null;
99
- elemStore[prefix + "list"] = null;
100
- elemStore[prefix + "xSpace"] = null;
95
+ var prefix = "".concat(fixedType || 'main', "-footer-");
96
+ elemStore["".concat(prefix, "wrapper")] = null;
97
+ elemStore["".concat(prefix, "table")] = null;
98
+ elemStore["".concat(prefix, "colgroup")] = null;
99
+ elemStore["".concat(prefix, "list")] = null;
100
+ elemStore["".concat(prefix, "xSpace")] = null;
101
101
  });
102
102
  var renderVN = function () {
103
103
  var fixedType = props.fixedType, fixedColumn = props.fixedColumn, tableColumn = props.tableColumn, footerTableData = props.footerTableData;
@@ -122,7 +122,7 @@ export default defineComponent({
122
122
  }
123
123
  return h('div', {
124
124
  ref: refElem,
125
- class: ['vxe-table--footer-wrapper', fixedType ? "fixed-" + fixedType + "--wrapper" : 'body--wrapper'],
125
+ class: ['vxe-table--footer-wrapper', fixedType ? "fixed-".concat(fixedType, "--wrapper") : 'body--wrapper'],
126
126
  xid: xID,
127
127
  onScroll: scrollEvent
128
128
  }, [
@@ -238,8 +238,8 @@ export default defineComponent({
238
238
  }
239
239
  }
240
240
  return h('td', __assign(__assign(__assign(__assign({ class: ['vxe-footer--column', column.id, (_a = {},
241
- _a["col--" + footAlign] = footAlign,
242
- _a["col--" + type] = type,
241
+ _a["col--".concat(footAlign)] = footAlign,
242
+ _a["col--".concat(type)] = type,
243
243
  _a['col--last'] = $columnIndex === tableColumn.length - 1,
244
244
  _a['fixed--hidden'] = fixedHiddenColumn,
245
245
  _a['col--ellipsis'] = hasEllipsis,
@@ -14,6 +14,7 @@ import XEUtils from 'xe-utils';
14
14
  import GlobalConfig from '../../v-x-e-table/src/conf';
15
15
  import { VXETable } from '../../v-x-e-table';
16
16
  import { getFuncText, isEnableConf } from '../../tools/utils';
17
+ import { getSlotVNs } from '../../tools/vn';
17
18
  import { renderTitle } from './render';
18
19
  import { isActivetem } from './util';
19
20
  var VxeFormConfigItem = defineComponent({
@@ -71,7 +72,7 @@ var VxeFormConfigItem = defineComponent({
71
72
  });
72
73
  });
73
74
  return childVNs.length ? h('div', {
74
- class: ['vxe-form--gather vxe-row', item.id, span ? "vxe-col--" + span + " is--span" : '', className ? (XEUtils.isFunction(className) ? className(params) : className) : '']
75
+ class: ['vxe-form--gather vxe-row', item.id, span ? "vxe-col--".concat(span, " is--span") : '', className ? (XEUtils.isFunction(className) ? className(params) : className) : '']
75
76
  }, childVNs) : createCommentVNode();
76
77
  }
77
78
  var contentVNs = [];
@@ -79,7 +80,7 @@ var VxeFormConfigItem = defineComponent({
79
80
  contentVNs = $xeform.callSlot(defaultSlot, params);
80
81
  }
81
82
  else if (compConf && compConf.renderItemContent) {
82
- contentVNs = compConf.renderItemContent(itemRender, params);
83
+ contentVNs = getSlotVNs(compConf.renderItemContent(itemRender, params));
83
84
  }
84
85
  else if (field) {
85
86
  contentVNs = [XEUtils.toValueString(XEUtils.get(data, field))];
@@ -101,7 +102,7 @@ var VxeFormConfigItem = defineComponent({
101
102
  contentVNs.push(h('div', {
102
103
  class: 'vxe-form--item-valid',
103
104
  style: errRule.maxWidth ? {
104
- width: errRule.maxWidth + "px"
105
+ width: "".concat(errRule.maxWidth, "px")
105
106
  } : null
106
107
  }, errRule.content));
107
108
  }
@@ -115,7 +116,7 @@ var VxeFormConfigItem = defineComponent({
115
116
  class: [
116
117
  'vxe-form--item',
117
118
  item.id,
118
- span ? "vxe-col--" + span + " is--span" : '',
119
+ span ? "vxe-col--".concat(span, " is--span") : '',
119
120
  className ? (XEUtils.isFunction(className) ? className(params) : className) : '',
120
121
  itemClassName ? (XEUtils.isFunction(itemClassName) ? itemClassName(params) : itemClassName) : '',
121
122
  {
@@ -134,13 +135,13 @@ var VxeFormConfigItem = defineComponent({
134
135
  h('div', {
135
136
  class: 'vxe-form--item-inner'
136
137
  }, [
137
- title || titleSlot ? h('div', __assign({ class: ['vxe-form--item-title', titleAlign ? "align--" + titleAlign : null, {
138
+ title || titleSlot ? h('div', __assign({ class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : null, {
138
139
  'is--ellipsis': hasEllipsis
139
140
  }], style: titleWidth ? {
140
- width: isNaN(titleWidth) ? titleWidth : titleWidth + "px"
141
+ width: isNaN(titleWidth) ? titleWidth : "".concat(titleWidth, "px")
141
142
  } : null, title: showTitle ? getFuncText(title) : null }, ons), renderTitle($xeform, item)) : null,
142
143
  h('div', {
143
- class: ['vxe-form--item-content', align ? "align--" + align : null]
144
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
144
145
  }, contentVNs)
145
146
  ])
146
147
  ]);
@@ -14,6 +14,7 @@ import XEUtils from 'xe-utils';
14
14
  import GlobalConfig from '../../v-x-e-table/src/conf';
15
15
  import { VXETable } from '../../v-x-e-table';
16
16
  import { getFuncText, isEnableConf } from '../../tools/utils';
17
+ import { getSlotVNs } from '../../tools/vn';
17
18
  import { createItem, watchItem, destroyItem, assemItem, isActivetem } from './util';
18
19
  import { renderTitle } from './render';
19
20
  export var formItemProps = {
@@ -100,10 +101,10 @@ export default defineComponent({
100
101
  contentVNs = $xeform.callSlot(defaultSlot, params);
101
102
  }
102
103
  else if (compConf && compConf.renderItemContent) {
103
- contentVNs = compConf.renderItemContent(itemRender, params);
104
+ contentVNs = getSlotVNs(compConf.renderItemContent(itemRender, params));
104
105
  }
105
106
  else if (field) {
106
- contentVNs = ["" + XEUtils.get(data, field)];
107
+ contentVNs = ["".concat(XEUtils.get(data, field))];
107
108
  }
108
109
  if (collapseNode) {
109
110
  contentVNs.push(h('div', {
@@ -122,7 +123,7 @@ export default defineComponent({
122
123
  contentVNs.push(h('div', {
123
124
  class: 'vxe-form--item-valid',
124
125
  style: errRule.maxWidth ? {
125
- width: errRule.maxWidth + "px"
126
+ width: "".concat(errRule.maxWidth, "px")
126
127
  } : null
127
128
  }, errRule.message));
128
129
  }
@@ -137,7 +138,7 @@ export default defineComponent({
137
138
  class: [
138
139
  'vxe-form--item',
139
140
  item.id,
140
- span ? "vxe-col--" + span + " is--span" : '',
141
+ span ? "vxe-col--".concat(span, " is--span") : '',
141
142
  className ? (XEUtils.isFunction(className) ? className(params) : className) : '',
142
143
  itemClassName ? (XEUtils.isFunction(itemClassName) ? itemClassName(params) : itemClassName) : '',
143
144
  {
@@ -152,13 +153,13 @@ export default defineComponent({
152
153
  h('div', {
153
154
  class: 'vxe-form--item-inner'
154
155
  }, [
155
- title || titleSlot ? h('div', __assign({ class: ['vxe-form--item-title', titleAlign ? "align--" + titleAlign : null, {
156
+ title || titleSlot ? h('div', __assign({ class: ['vxe-form--item-title', titleAlign ? "align--".concat(titleAlign) : null, {
156
157
  'is--ellipsis': hasEllipsis
157
158
  }], style: titleWidth ? {
158
- width: isNaN(titleWidth) ? titleWidth : titleWidth + "px"
159
+ width: isNaN(titleWidth) ? titleWidth : "".concat(titleWidth, "px")
159
160
  } : null, title: showTitle ? getFuncText(title) : null }, ons), renderTitle($xeform, item)) : null,
160
161
  h('div', {
161
- class: ['vxe-form--item-content', align ? "align--" + align : null]
162
+ class: ['vxe-form--item-content', align ? "align--".concat(align) : null]
162
163
  }, contentVNs)
163
164
  ])
164
165
  ]);