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
@@ -245,7 +245,7 @@ export default defineComponent({
245
245
  var computeDateLabelFormat = computed(function () {
246
246
  var isDatePickerType = computeIsDatePickerType.value;
247
247
  if (isDatePickerType) {
248
- return props.labelFormat || GlobalConfig.i18n("vxe.input.date.labelFormat." + props.type);
248
+ return props.labelFormat || GlobalConfig.i18n("vxe.input.date.labelFormat.".concat(props.type));
249
249
  }
250
250
  return null;
251
251
  });
@@ -289,9 +289,9 @@ export default defineComponent({
289
289
  return GlobalConfig.i18n('vxe.input.date.monthLabel', [year]);
290
290
  }
291
291
  else if (datePanelType === 'year') {
292
- return yearList.length ? yearList[0].year + " - " + yearList[yearList.length - 1].year : '';
292
+ return yearList.length ? "".concat(yearList[0].year, " - ").concat(yearList[yearList.length - 1].year) : '';
293
293
  }
294
- return GlobalConfig.i18n('vxe.input.date.dayLabel', [year, month ? GlobalConfig.i18n("vxe.input.date.m" + month) : '-']);
294
+ return GlobalConfig.i18n('vxe.input.date.dayLabel', [year, month ? GlobalConfig.i18n("vxe.input.date.m".concat(month)) : '-']);
295
295
  }
296
296
  return '';
297
297
  });
@@ -324,7 +324,7 @@ export default defineComponent({
324
324
  return weekDatas.map(function (day) {
325
325
  return {
326
326
  value: day,
327
- label: GlobalConfig.i18n("vxe.input.date.weeks.w" + day)
327
+ label: GlobalConfig.i18n("vxe.input.date.weeks.w".concat(day))
328
328
  };
329
329
  });
330
330
  }
@@ -661,7 +661,7 @@ export default defineComponent({
661
661
  if (yyIndex > -1) {
662
662
  var yyNum = Number(dLabel.substring(yyIndex, yyIndex + 4));
663
663
  if (yyNum && !isNaN(yyNum)) {
664
- dLabel = dLabel.replace("" + yyNum, "" + (yyNum - 1));
664
+ dLabel = dLabel.replace("".concat(yyNum), "".concat(yyNum - 1));
665
665
  }
666
666
  }
667
667
  }
@@ -1387,15 +1387,15 @@ export default defineComponent({
1387
1387
  left = marginSize;
1388
1388
  }
1389
1389
  Object.assign(panelStyle, {
1390
- left: left + "px",
1391
- top: top_1 + "px",
1392
- minWidth: targetWidth + "px"
1390
+ left: "".concat(left, "px"),
1391
+ top: "".concat(top_1, "px"),
1392
+ minWidth: "".concat(targetWidth, "px")
1393
1393
  });
1394
1394
  }
1395
1395
  else {
1396
1396
  if (placement === 'top') {
1397
1397
  panelPlacement = 'top';
1398
- panelStyle.bottom = targetHeight + "px";
1398
+ panelStyle.bottom = "".concat(targetHeight, "px");
1399
1399
  }
1400
1400
  else if (!placement) {
1401
1401
  // 如果下面不够放,则向上
@@ -1403,7 +1403,7 @@ export default defineComponent({
1403
1403
  // 如果上面不够放,则向下(优先)
1404
1404
  if (boundingTop - targetHeight - panelHeight > marginSize) {
1405
1405
  panelPlacement = 'top';
1406
- panelStyle.bottom = targetHeight + "px";
1406
+ panelStyle.bottom = "".concat(targetHeight, "px");
1407
1407
  }
1408
1408
  }
1409
1409
  }
@@ -1599,7 +1599,7 @@ export default defineComponent({
1599
1599
  style: festivalItem.style
1600
1600
  }, [
1601
1601
  festivalLabels.length > 1 ? h('span', {
1602
- class: ['vxe-input--date-festival--overlap', "overlap--" + festivalLabels.length]
1602
+ class: ['vxe-input--date-festival--overlap', "overlap--".concat(festivalLabels.length)]
1603
1603
  }, festivalLabels.map(function (label) { return h('span', label.substring(0, 3)); })) : h('span', {
1604
1604
  class: 'vxe-input--date-festival--label'
1605
1605
  }, festivalLabels[0].substring(0, 3))
@@ -1619,7 +1619,7 @@ export default defineComponent({
1619
1619
  var matchFormat = 'yyyyMMdd';
1620
1620
  return [
1621
1621
  h('table', {
1622
- class: "vxe-input--date-" + datePanelType + "-view",
1622
+ class: "vxe-input--date-".concat(datePanelType, "-view"),
1623
1623
  cellspacing: 0,
1624
1624
  cellpadding: 0,
1625
1625
  border: 0
@@ -1659,7 +1659,7 @@ export default defineComponent({
1659
1659
  var matchFormat = 'yyyyMMdd';
1660
1660
  return [
1661
1661
  h('table', {
1662
- class: "vxe-input--date-" + datePanelType + "-view",
1662
+ class: "vxe-input--date-".concat(datePanelType, "-view"),
1663
1663
  cellspacing: 0,
1664
1664
  cellpadding: 0,
1665
1665
  border: 0
@@ -1701,7 +1701,7 @@ export default defineComponent({
1701
1701
  var matchFormat = 'yyyyMM';
1702
1702
  return [
1703
1703
  h('table', {
1704
- class: "vxe-input--date-" + datePanelType + "-view",
1704
+ class: "vxe-input--date-".concat(datePanelType, "-view"),
1705
1705
  cellspacing: 0,
1706
1706
  cellpadding: 0,
1707
1707
  border: 0
@@ -1720,7 +1720,7 @@ export default defineComponent({
1720
1720
  },
1721
1721
  onClick: function () { return dateSelectEvent(item); },
1722
1722
  onMouseenter: function () { return dateMouseenterEvent(item); }
1723
- }, renderDateLabel(item, GlobalConfig.i18n("vxe.input.date.months.m" + item.month)));
1723
+ }, renderDateLabel(item, GlobalConfig.i18n("vxe.input.date.months.m".concat(item.month))));
1724
1724
  }));
1725
1725
  }))
1726
1726
  ])
@@ -1735,7 +1735,7 @@ export default defineComponent({
1735
1735
  var matchFormat = 'yyyyq';
1736
1736
  return [
1737
1737
  h('table', {
1738
- class: "vxe-input--date-" + datePanelType + "-view",
1738
+ class: "vxe-input--date-".concat(datePanelType, "-view"),
1739
1739
  cellspacing: 0,
1740
1740
  cellpadding: 0,
1741
1741
  border: 0
@@ -1754,7 +1754,7 @@ export default defineComponent({
1754
1754
  },
1755
1755
  onClick: function () { return dateSelectEvent(item); },
1756
1756
  onMouseenter: function () { return dateMouseenterEvent(item); }
1757
- }, renderDateLabel(item, GlobalConfig.i18n("vxe.input.date.quarters.q" + item.quarter)));
1757
+ }, renderDateLabel(item, GlobalConfig.i18n("vxe.input.date.quarters.q".concat(item.quarter))));
1758
1758
  }));
1759
1759
  }))
1760
1760
  ])
@@ -1769,7 +1769,7 @@ export default defineComponent({
1769
1769
  var matchFormat = 'yyyy';
1770
1770
  return [
1771
1771
  h('table', {
1772
- class: "vxe-input--date-" + datePanelType + "-view",
1772
+ class: "vxe-input--date-".concat(datePanelType, "-view"),
1773
1773
  cellspacing: 0,
1774
1774
  cellpadding: 0,
1775
1775
  border: 0
@@ -1838,7 +1838,7 @@ export default defineComponent({
1838
1838
  onClick: datePrevEvent
1839
1839
  }, [
1840
1840
  h('i', {
1841
- class: 'vxe-icon--caret-left'
1841
+ class: 'vxe-icon-caret-left'
1842
1842
  })
1843
1843
  ]),
1844
1844
  h('span', {
@@ -1846,7 +1846,7 @@ export default defineComponent({
1846
1846
  onClick: dateTodayMonthEvent
1847
1847
  }, [
1848
1848
  h('i', {
1849
- class: 'vxe-icon--dot'
1849
+ class: 'vxe-icon-dot'
1850
1850
  })
1851
1851
  ]),
1852
1852
  h('span', {
@@ -1856,7 +1856,7 @@ export default defineComponent({
1856
1856
  onClick: dateNextEvent
1857
1857
  }, [
1858
1858
  h('i', {
1859
- class: 'vxe-icon--caret-right'
1859
+ class: 'vxe-icon-caret-right'
1860
1860
  })
1861
1861
  ]),
1862
1862
  multiple && computeSupportMultiples.value ? h('span', {
@@ -1970,8 +1970,8 @@ export default defineComponent({
1970
1970
  }, [
1971
1971
  h('div', {
1972
1972
  ref: refInputPanel,
1973
- class: ['vxe-table--ignore-clear vxe-input--panel', "type--" + type, (_a = {},
1974
- _a["size--" + vSize] = vSize,
1973
+ class: ['vxe-table--ignore-clear vxe-input--panel', "type--".concat(type), (_a = {},
1974
+ _a["size--".concat(vSize)] = vSize,
1975
1975
  _a['is--transfer'] = transfer,
1976
1976
  _a['animat--leave'] = animatVisible,
1977
1977
  _a['animat--enter'] = visiblePanel,
@@ -2227,9 +2227,9 @@ export default defineComponent({
2227
2227
  }
2228
2228
  return h('div', {
2229
2229
  ref: refElem,
2230
- class: ['vxe-input', "type--" + type, className, (_a = {},
2231
- _a["size--" + vSize] = vSize,
2232
- _a["is--" + align] = align,
2230
+ class: ['vxe-input', "type--".concat(type), className, (_a = {},
2231
+ _a["size--".concat(vSize)] = vSize,
2232
+ _a["is--".concat(align)] = align,
2233
2233
  _a['is--controls'] = controls,
2234
2234
  _a['is--prefix'] = !!prefix,
2235
2235
  _a['is--suffix'] = !!suffix,
@@ -172,6 +172,10 @@
172
172
  left: 50%;
173
173
  top: 50%;
174
174
  transform: translate(-50%, -50%); }
175
+ .vxe-input .vxe-input--date-picker-icon[class*="vxe-icon-"],
176
+ .vxe-input .vxe-input--search-icon[class*="vxe-icon-"],
177
+ .vxe-input .vxe-input--password-icon[class*="vxe-icon-"] {
178
+ font-size: 1.5em; }
175
179
 
176
180
  .vxe-input .vxe-input--date-picker-suffix {
177
181
  display: flex;
@@ -190,6 +194,7 @@
190
194
 
191
195
  .vxe-input .vxe-input--number-prev-icon,
192
196
  .vxe-input .vxe-input--number-next-icon {
197
+ line-height: 0.8em;
193
198
  position: absolute;
194
199
  left: 50%;
195
200
  transform: translateX(-50%); }
@@ -521,24 +526,28 @@
521
526
 
522
527
  .vxe-input {
523
528
  font-size: 14px;
524
- height: 34px; }
529
+ height: 34px;
530
+ line-height: 34px; }
525
531
  .vxe-input .vxe-input--inner[type="date"]::-webkit-inner-spin-button, .vxe-input .vxe-input--inner[type="month"]::-webkit-inner-spin-button, .vxe-input .vxe-input--inner[type="week"]::-webkit-inner-spin-button {
526
532
  margin-top: 6px; }
527
533
  .vxe-input .vxe-input--inner[type="date"]::-webkit-inner-spin-button, .vxe-input .vxe-input--inner[type="month"]::-webkit-inner-spin-button, .vxe-input .vxe-input--inner[type="week"]::-webkit-inner-spin-button, .vxe-input .vxe-input--inner[type="number"]::-webkit-inner-spin-button {
528
534
  height: 24px; }
529
535
  .vxe-input.size--medium {
530
536
  font-size: 14px;
531
- height: 32px; }
537
+ height: 32px;
538
+ line-height: 32px; }
532
539
  .vxe-input.size--medium .vxe-input--inner[type="date"]::-webkit-inner-spin-button, .vxe-input.size--medium .vxe-input--inner[type="month"]::-webkit-inner-spin-button, .vxe-input.size--medium .vxe-input--inner[type="week"]::-webkit-inner-spin-button {
533
540
  margin-top: 4px; }
534
541
  .vxe-input.size--small {
535
542
  font-size: 13px;
536
- height: 30px; }
543
+ height: 30px;
544
+ line-height: 30px; }
537
545
  .vxe-input.size--small .vxe-input--inner[type="date"]::-webkit-inner-spin-button, .vxe-input.size--small .vxe-input--inner[type="month"]::-webkit-inner-spin-button, .vxe-input.size--small .vxe-input--inner[type="week"]::-webkit-inner-spin-button {
538
546
  margin-top: 2px; }
539
547
  .vxe-input.size--mini {
540
548
  font-size: 12px;
541
- height: 28px; }
549
+ height: 28px;
550
+ line-height: 28px; }
542
551
  .vxe-input.size--mini .vxe-input--inner[type="date"]::-webkit-inner-spin-button, .vxe-input.size--mini .vxe-input--inner[type="month"]::-webkit-inner-spin-button, .vxe-input.size--mini .vxe-input--inner[type="week"]::-webkit-inner-spin-button {
543
552
  margin-top: 0; }
544
553
 
@@ -49,7 +49,7 @@ var tableKeyboardHook = {
49
49
  if (rowNodeRest) {
50
50
  rangeRows.push(rowNodeRest.item);
51
51
  countHeight += targetTrElem.offsetHeight;
52
- targetTrElem = targetTrElem[siblingProp + "ElementSibling"];
52
+ targetTrElem = targetTrElem["".concat(siblingProp, "ElementSibling")];
53
53
  }
54
54
  }
55
55
  }
@@ -62,7 +62,7 @@ var tableKeyboardHook = {
62
62
  var elemStore = internalData.elemStore;
63
63
  var disX_1 = evnt.clientX;
64
64
  var disY_1 = evnt.clientY;
65
- var bodyWrapperRef = elemStore[(column.fixed || 'main') + "-body-wrapper"] || elemStore['main-body-wrapper'];
65
+ var bodyWrapperRef = elemStore["".concat(column.fixed || 'main', "-body-wrapper")] || elemStore['main-body-wrapper'];
66
66
  var bodyWrapperElem_1 = bodyWrapperRef ? bodyWrapperRef.value : null;
67
67
  if (!bodyWrapperElem_1) {
68
68
  return;
@@ -83,7 +83,7 @@ var tableKeyboardHook = {
83
83
  var isMouseScrollDown_1 = false;
84
84
  var mouseScrollSpaceSize_1 = 1;
85
85
  var triggerEvent_1 = function (type, evnt) {
86
- $xetable.dispatchEvent("checkbox-range-" + type, { records: $xetable.getCheckboxRecords(), reserves: $xetable.getCheckboxReserveRecords() }, evnt);
86
+ $xetable.dispatchEvent("checkbox-range-".concat(type), { records: $xetable.getCheckboxRecords(), reserves: $xetable.getCheckboxReserveRecords() }, evnt);
87
87
  };
88
88
  var handleChecked_1 = function (evnt) {
89
89
  var clientX = evnt.clientX, clientY = evnt.clientY;
@@ -117,10 +117,10 @@ var tableKeyboardHook = {
117
117
  // 向右
118
118
  rangeWidth = Math.min(rangeWidth, bodyWrapperElem_1.clientWidth - startLeft_1 - marginSize_1);
119
119
  }
120
- checkboxRangeElem_1.style.height = rangeHeight + "px";
121
- checkboxRangeElem_1.style.width = rangeWidth + "px";
122
- checkboxRangeElem_1.style.left = rangeLeft + "px";
123
- checkboxRangeElem_1.style.top = rangeTop + "px";
120
+ checkboxRangeElem_1.style.height = "".concat(rangeHeight, "px");
121
+ checkboxRangeElem_1.style.width = "".concat(rangeWidth, "px");
122
+ checkboxRangeElem_1.style.left = "".concat(rangeLeft, "px");
123
+ checkboxRangeElem_1.style.top = "".concat(rangeTop, "px");
124
124
  checkboxRangeElem_1.style.display = 'block';
125
125
  var rangeRows = getCheckboxRangeRows(params, trElem_1, offsetTop < marginSize_1 ? -rangeHeight : rangeHeight);
126
126
  // 至少滑动 10px 才能有效匹配
@@ -67,11 +67,11 @@ export default defineComponent({
67
67
  var height = props.height, maxHeight = props.maxHeight;
68
68
  var style = {};
69
69
  if (height) {
70
- style.height = "" + (isNaN(height) ? height : height + "px");
70
+ style.height = "".concat(isNaN(height) ? height : "".concat(height, "px"));
71
71
  }
72
72
  else if (maxHeight) {
73
73
  style.height = 'auto';
74
- style.maxHeight = "" + (isNaN(maxHeight) ? maxHeight : maxHeight + "px");
74
+ style.maxHeight = "".concat(isNaN(maxHeight) ? maxHeight : "".concat(maxHeight, "px"));
75
75
  }
76
76
  return style;
77
77
  });
@@ -282,7 +282,7 @@ export default defineComponent({
282
282
  return h('div', {
283
283
  ref: refElem,
284
284
  class: ['vxe-list', className ? (XEUtils.isFunction(className) ? className({ $list: $xelist }) : className) : '', (_a = {},
285
- _a["size--" + vSize] = vSize,
285
+ _a["size--".concat(vSize)] = vSize,
286
286
  _a['is--loading'] = loading,
287
287
  _a)]
288
288
  }, [
@@ -295,14 +295,14 @@ export default defineComponent({
295
295
  h('div', {
296
296
  class: 'vxe-list--y-space',
297
297
  style: {
298
- height: bodyHeight ? bodyHeight + "px" : ''
298
+ height: bodyHeight ? "".concat(bodyHeight, "px") : ''
299
299
  }
300
300
  }),
301
301
  h('div', {
302
302
  ref: refVirtualBody,
303
303
  class: 'vxe-list--body',
304
304
  style: {
305
- marginTop: topSpaceHeight ? topSpaceHeight + "px" : ''
305
+ marginTop: topSpaceHeight ? "".concat(topSpaceHeight, "px") : ''
306
306
  }
307
307
  }, slots.default ? slots.default({ items: items, $list: $xelist }) : [])
308
308
  ]),
@@ -24,7 +24,7 @@ export default defineComponent({
24
24
  }),
25
25
  text ? h('div', {
26
26
  class: 'vxe-loading--text'
27
- }, "" + text) : null
27
+ }, "".concat(text)) : null
28
28
  ])
29
29
  ]);
30
30
  }
@@ -56,8 +56,8 @@ var tableMenuHook = {
56
56
  showChild: false,
57
57
  style: {
58
58
  zIndex: internalData.tZindex,
59
- top: top_1 + "px",
60
- left: left_1 + "px"
59
+ top: "".concat(top_1, "px"),
60
+ left: "".concat(left_1, "px")
61
61
  }
62
62
  });
63
63
  nextTick(function () {
@@ -69,10 +69,10 @@ var tableMenuHook = {
69
69
  var offsetTop = boundingTop + clientHeight - visibleHeight_1;
70
70
  var offsetLeft = boundingLeft + clientWidth - visibleWidth_1;
71
71
  if (offsetTop > -10) {
72
- ctxMenuStore.style.top = Math.max(scrollTop_1 + 2, top_1 - clientHeight - 2) + "px";
72
+ ctxMenuStore.style.top = "".concat(Math.max(scrollTop_1 + 2, top_1 - clientHeight - 2), "px");
73
73
  }
74
74
  if (offsetLeft > -10) {
75
- ctxMenuStore.style.left = Math.max(scrollLeft_1 + 2, left_1 - clientWidth - 2) + "px";
75
+ ctxMenuStore.style.left = "".concat(Math.max(scrollLeft_1 + 2, left_1 - clientWidth - 2), "px");
76
76
  }
77
77
  });
78
78
  };
@@ -197,7 +197,7 @@ var tableMenuHook = {
197
197
  // 分别匹配表尾、内容、表尾的快捷菜单
198
198
  for (var index = 0; index < layoutList.length; index++) {
199
199
  var layout = layoutList[index];
200
- var columnTargetNode = getEventTargetNode(evnt, el, "vxe-" + layout + "--column", function (target) {
200
+ var columnTargetNode = getEventTargetNode(evnt, el, "vxe-".concat(layout, "--column"), function (target) {
201
201
  // target=td|th,直接向上找 table 去匹配即可
202
202
  return target.parentNode.parentNode.parentNode.getAttribute('xid') === xID;
203
203
  });
@@ -206,7 +206,7 @@ var tableMenuHook = {
206
206
  var cell = columnTargetNode.targetElem;
207
207
  var columnNodeRest = $xetable.getColumnNode(cell);
208
208
  var column = columnNodeRest ? columnNodeRest.item : null;
209
- var typePrefix = layout + "-";
209
+ var typePrefix = "".concat(layout, "-");
210
210
  if (column) {
211
211
  Object.assign(params, { column: column, columnIndex: $xetable.getColumnIndex(column), cell: cell });
212
212
  }
@@ -219,12 +219,12 @@ var tableMenuHook = {
219
219
  params.rowIndex = $xetable.getRowIndex(row);
220
220
  }
221
221
  }
222
- var eventType = typePrefix + "cell-menu";
222
+ var eventType = "".concat(typePrefix, "cell-menu");
223
223
  openContextMenu(evnt, layout, params);
224
224
  $xetable.dispatchEvent(eventType, params, evnt);
225
225
  return;
226
226
  }
227
- else if (getEventTargetNode(evnt, el, "vxe-table--" + layout + "-wrapper", function (target) { return target.getAttribute('xid') === xID; }).flag) {
227
+ else if (getEventTargetNode(evnt, el, "vxe-table--".concat(layout, "-wrapper"), function (target) { return target.getAttribute('xid') === xID; }).flag) {
228
228
  if (menuOpts.trigger === 'cell') {
229
229
  evnt.preventDefault();
230
230
  }
@@ -261,7 +261,7 @@ var tableMenuHook = {
261
261
  // 是否超出右侧
262
262
  if (posLeft + childWrapperElem.offsetWidth > visibleWidth - 10) {
263
263
  left = 'auto';
264
- right = menuElem.offsetWidth + "px";
264
+ right = "".concat(menuElem.offsetWidth, "px");
265
265
  }
266
266
  // 是否超出底部
267
267
  var top_2 = '';
@@ -42,7 +42,7 @@ export default defineComponent({
42
42
  'link--disabled': item.disabled,
43
43
  'link--active': item === ctxMenuStore.selected
44
44
  }],
45
- key: gIndex + "_" + index
45
+ key: "".concat(gIndex, "_").concat(index)
46
46
  }, [
47
47
  h('a', {
48
48
  class: 'vxe-context-menu--link',
@@ -76,7 +76,7 @@ export default defineComponent({
76
76
  'link--disabled': child.disabled,
77
77
  'link--active': child === ctxMenuStore.selectChild
78
78
  }],
79
- key: gIndex + "_" + index + "_" + cIndex
79
+ key: "".concat(gIndex, "_").concat(index, "_").concat(cIndex)
80
80
  }, [
81
81
  h('a', {
82
82
  class: 'vxe-context-menu--link',