@douyinfe/semi-ui 2.25.2 → 2.25.4

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 (333) hide show
  1. package/dist/umd/semi-ui.js +1957 -1929
  2. package/dist/umd/semi-ui.js.map +1 -1
  3. package/dist/umd/semi-ui.min.js +1 -1
  4. package/dist/umd/semi-ui.min.js.map +1 -1
  5. package/lib/cjs/_portal/index.js +2 -2
  6. package/lib/cjs/_utils/index.js +3 -1
  7. package/lib/cjs/anchor/index.js +9 -9
  8. package/lib/cjs/anchor/link.js +8 -8
  9. package/lib/cjs/autoComplete/index.js +8 -4
  10. package/lib/cjs/autoComplete/option.js +7 -7
  11. package/lib/cjs/avatar/avatarGroup.js +7 -7
  12. package/lib/cjs/avatar/index.js +12 -12
  13. package/lib/cjs/badge/index.js +8 -8
  14. package/lib/cjs/banner/index.js +12 -12
  15. package/lib/cjs/breadcrumb/index.js +12 -12
  16. package/lib/cjs/breadcrumb/item.js +8 -8
  17. package/lib/cjs/button/Button.js +9 -9
  18. package/lib/cjs/button/buttonGroup.js +5 -5
  19. package/lib/cjs/button/splitButtonGroup.js +1 -1
  20. package/lib/cjs/calendar/dayCalendar.js +13 -13
  21. package/lib/cjs/calendar/dayCol.js +17 -17
  22. package/lib/cjs/calendar/monthCalendar.js +38 -38
  23. package/lib/cjs/calendar/rangeCalendar.js +27 -27
  24. package/lib/cjs/calendar/timeCol.js +6 -6
  25. package/lib/cjs/calendar/weekCalendar.js +27 -27
  26. package/lib/cjs/card/cardGroup.js +2 -2
  27. package/lib/cjs/card/index.js +16 -16
  28. package/lib/cjs/card/meta.js +5 -5
  29. package/lib/cjs/carousel/CarouselArrow.js +6 -6
  30. package/lib/cjs/carousel/CarouselIndicator.js +6 -6
  31. package/lib/cjs/carousel/index.js +12 -12
  32. package/lib/cjs/cascader/index.js +36 -36
  33. package/lib/cjs/cascader/item.js +25 -25
  34. package/lib/cjs/checkbox/checkbox.js +14 -14
  35. package/lib/cjs/checkbox/checkboxGroup.js +4 -4
  36. package/lib/cjs/checkbox/checkboxInner.js +6 -6
  37. package/lib/cjs/collapse/item.js +9 -9
  38. package/lib/cjs/collapsible/index.js +3 -3
  39. package/lib/cjs/configProvider/index.js +1 -1
  40. package/lib/cjs/datePicker/dateInput.js +16 -16
  41. package/lib/cjs/datePicker/datePicker.js +9 -9
  42. package/lib/cjs/datePicker/footer.js +1 -1
  43. package/lib/cjs/datePicker/index.js +1 -1
  44. package/lib/cjs/datePicker/month.js +2 -2
  45. package/lib/cjs/datePicker/monthsGrid.d.ts +2 -2
  46. package/lib/cjs/datePicker/monthsGrid.js +28 -28
  47. package/lib/cjs/datePicker/navigation.js +1 -1
  48. package/lib/cjs/datePicker/quickControl.js +14 -14
  49. package/lib/cjs/datePicker/yearAndMonth.js +4 -4
  50. package/lib/cjs/descriptions/index.js +3 -3
  51. package/lib/cjs/descriptions/item.js +5 -5
  52. package/lib/cjs/divider/index.js +7 -7
  53. package/lib/cjs/dropdown/dropdownDivider.js +1 -1
  54. package/lib/cjs/dropdown/dropdownItem.js +6 -6
  55. package/lib/cjs/dropdown/dropdownMenu.js +1 -1
  56. package/lib/cjs/dropdown/dropdownTitle.js +2 -2
  57. package/lib/cjs/dropdown/index.js +3 -3
  58. package/lib/cjs/empty/index.js +7 -7
  59. package/lib/cjs/form/arrayField.js +1 -1
  60. package/lib/cjs/form/baseForm.d.ts +1 -1
  61. package/lib/cjs/form/baseForm.js +2 -2
  62. package/lib/cjs/form/errorMessage.js +1 -1
  63. package/lib/cjs/form/field.d.ts +1 -1
  64. package/lib/cjs/form/group.js +2 -2
  65. package/lib/cjs/form/hoc/withField.js +16 -16
  66. package/lib/cjs/form/label.js +9 -9
  67. package/lib/cjs/form/slot.js +5 -5
  68. package/lib/cjs/grid/col.js +11 -11
  69. package/lib/cjs/grid/row.js +4 -4
  70. package/lib/cjs/highlight/index.js +1 -1
  71. package/lib/cjs/iconButton/index.js +5 -5
  72. package/lib/cjs/image/image.js +10 -10
  73. package/lib/cjs/image/preview.js +3 -3
  74. package/lib/cjs/image/previewFooter.js +12 -12
  75. package/lib/cjs/image/previewHeader.js +3 -3
  76. package/lib/cjs/image/previewImage.js +7 -7
  77. package/lib/cjs/image/previewInner.js +7 -7
  78. package/lib/cjs/input/index.js +38 -38
  79. package/lib/cjs/input/inputGroup.js +7 -7
  80. package/lib/cjs/input/textarea.js +14 -14
  81. package/lib/cjs/inputNumber/index.js +11 -11
  82. package/lib/cjs/layout/Sider.js +3 -3
  83. package/lib/cjs/layout/index.js +2 -2
  84. package/lib/cjs/list/index.js +11 -11
  85. package/lib/cjs/list/item.js +6 -6
  86. package/lib/cjs/modal/ConfirmModal.js +7 -7
  87. package/lib/cjs/modal/Modal.js +4 -4
  88. package/lib/cjs/modal/ModalContent.js +24 -24
  89. package/lib/cjs/modal/useModal/index.js +1 -1
  90. package/lib/cjs/navigation/CollapseButton.js +1 -1
  91. package/lib/cjs/navigation/Footer.js +2 -2
  92. package/lib/cjs/navigation/Header.js +5 -5
  93. package/lib/cjs/navigation/Item.js +16 -16
  94. package/lib/cjs/navigation/SubNav.js +14 -14
  95. package/lib/cjs/navigation/index.js +8 -8
  96. package/lib/cjs/notification/index.js +3 -3
  97. package/lib/cjs/notification/notice.js +12 -12
  98. package/lib/cjs/overflowList/index.js +6 -6
  99. package/lib/cjs/pagination/index.js +26 -26
  100. package/lib/cjs/popconfirm/index.js +9 -9
  101. package/lib/cjs/popover/index.js +2 -2
  102. package/lib/cjs/progress/index.js +14 -14
  103. package/lib/cjs/radio/radio.js +22 -22
  104. package/lib/cjs/radio/radioGroup.js +5 -5
  105. package/lib/cjs/radio/radioInner.js +7 -7
  106. package/lib/cjs/rating/index.js +5 -5
  107. package/lib/cjs/rating/item.js +11 -11
  108. package/lib/cjs/scrollList/index.js +5 -5
  109. package/lib/cjs/scrollList/scrollItem.js +13 -13
  110. package/lib/cjs/select/index.js +53 -53
  111. package/lib/cjs/select/option.js +7 -7
  112. package/lib/cjs/sideSheet/SideSheetContent.js +10 -10
  113. package/lib/cjs/sideSheet/index.js +7 -7
  114. package/lib/cjs/skeleton/index.js +1 -1
  115. package/lib/cjs/skeleton/item.js +4 -4
  116. package/lib/cjs/slider/index.js +28 -28
  117. package/lib/cjs/space/index.js +12 -12
  118. package/lib/cjs/spin/icon.js +2 -2
  119. package/lib/cjs/spin/index.js +6 -6
  120. package/lib/cjs/steps/basicStep.js +14 -14
  121. package/lib/cjs/steps/basicSteps.js +6 -6
  122. package/lib/cjs/steps/fillStep.js +10 -10
  123. package/lib/cjs/steps/fillSteps.js +4 -4
  124. package/lib/cjs/steps/navStep.js +5 -5
  125. package/lib/cjs/steps/navSteps.js +2 -2
  126. package/lib/cjs/table/Body/BaseRow.js +5 -5
  127. package/lib/cjs/table/Body/ExpandedRow.js +3 -3
  128. package/lib/cjs/table/Body/SectionRow.js +1 -1
  129. package/lib/cjs/table/Body/index.js +8 -8
  130. package/lib/cjs/table/ColGroup.js +2 -2
  131. package/lib/cjs/table/ColumnFilter.js +3 -3
  132. package/lib/cjs/table/ColumnSelection.js +2 -2
  133. package/lib/cjs/table/ColumnSorter.js +7 -7
  134. package/lib/cjs/table/CustomExpandIcon.js +2 -2
  135. package/lib/cjs/table/HeadTable.js +3 -3
  136. package/lib/cjs/table/Table.d.ts +1 -1
  137. package/lib/cjs/table/Table.js +20 -20
  138. package/lib/cjs/table/TableCell.js +8 -8
  139. package/lib/cjs/table/TableHeader.js +1 -1
  140. package/lib/cjs/table/TableHeaderRow.js +8 -8
  141. package/lib/cjs/table/TablePagination.js +3 -3
  142. package/lib/cjs/tabs/TabBar.js +18 -18
  143. package/lib/cjs/tabs/TabPane.js +3 -3
  144. package/lib/cjs/tabs/index.js +2 -2
  145. package/lib/cjs/tag/group.js +5 -5
  146. package/lib/cjs/tag/index.js +13 -13
  147. package/lib/cjs/tagInput/index.js +33 -33
  148. package/lib/cjs/timePicker/Combobox.js +4 -4
  149. package/lib/cjs/timePicker/TimeInput.js +4 -4
  150. package/lib/cjs/timePicker/TimePicker.js +8 -8
  151. package/lib/cjs/timeline/index.js +8 -8
  152. package/lib/cjs/timeline/item.js +7 -7
  153. package/lib/cjs/toast/index.js +5 -5
  154. package/lib/cjs/toast/toast.js +9 -9
  155. package/lib/cjs/tooltip/index.js +7 -7
  156. package/lib/cjs/transfer/index.js +31 -31
  157. package/lib/cjs/tree/autoSizer.js +1 -1
  158. package/lib/cjs/tree/index.js +6 -6
  159. package/lib/cjs/tree/nodeList.js +1 -1
  160. package/lib/cjs/tree/treeNode.js +26 -26
  161. package/lib/cjs/treeSelect/index.js +40 -40
  162. package/lib/cjs/typography/base.js +14 -14
  163. package/lib/cjs/typography/copyable.js +3 -3
  164. package/lib/cjs/typography/paragraph.js +1 -1
  165. package/lib/cjs/typography/title.js +1 -1
  166. package/lib/cjs/typography/util.js +1 -1
  167. package/lib/cjs/upload/fileCard.js +32 -32
  168. package/lib/cjs/upload/index.js +37 -37
  169. package/lib/es/_portal/index.js +2 -2
  170. package/lib/es/_utils/index.js +3 -1
  171. package/lib/es/anchor/index.js +9 -9
  172. package/lib/es/anchor/link.js +8 -8
  173. package/lib/es/autoComplete/index.js +8 -4
  174. package/lib/es/autoComplete/option.js +7 -7
  175. package/lib/es/avatar/avatarGroup.js +7 -7
  176. package/lib/es/avatar/index.js +12 -12
  177. package/lib/es/badge/index.js +8 -8
  178. package/lib/es/banner/index.js +12 -12
  179. package/lib/es/breadcrumb/index.js +12 -12
  180. package/lib/es/breadcrumb/item.js +8 -8
  181. package/lib/es/button/Button.js +9 -9
  182. package/lib/es/button/buttonGroup.js +5 -5
  183. package/lib/es/button/splitButtonGroup.js +1 -1
  184. package/lib/es/calendar/dayCalendar.js +13 -13
  185. package/lib/es/calendar/dayCol.js +17 -17
  186. package/lib/es/calendar/monthCalendar.js +38 -38
  187. package/lib/es/calendar/rangeCalendar.js +27 -27
  188. package/lib/es/calendar/timeCol.js +6 -6
  189. package/lib/es/calendar/weekCalendar.js +27 -27
  190. package/lib/es/card/cardGroup.js +2 -2
  191. package/lib/es/card/index.js +16 -16
  192. package/lib/es/card/meta.js +5 -5
  193. package/lib/es/carousel/CarouselArrow.js +6 -6
  194. package/lib/es/carousel/CarouselIndicator.js +6 -6
  195. package/lib/es/carousel/index.js +12 -12
  196. package/lib/es/cascader/index.js +36 -36
  197. package/lib/es/cascader/item.js +25 -25
  198. package/lib/es/checkbox/checkbox.js +14 -14
  199. package/lib/es/checkbox/checkboxGroup.js +4 -4
  200. package/lib/es/checkbox/checkboxInner.js +6 -6
  201. package/lib/es/collapse/item.js +9 -9
  202. package/lib/es/collapsible/index.js +3 -3
  203. package/lib/es/configProvider/index.js +1 -1
  204. package/lib/es/datePicker/dateInput.js +16 -16
  205. package/lib/es/datePicker/datePicker.js +9 -9
  206. package/lib/es/datePicker/footer.js +1 -1
  207. package/lib/es/datePicker/index.js +1 -1
  208. package/lib/es/datePicker/month.js +2 -2
  209. package/lib/es/datePicker/monthsGrid.d.ts +2 -2
  210. package/lib/es/datePicker/monthsGrid.js +28 -28
  211. package/lib/es/datePicker/navigation.js +1 -1
  212. package/lib/es/datePicker/quickControl.js +14 -14
  213. package/lib/es/datePicker/yearAndMonth.js +4 -4
  214. package/lib/es/descriptions/index.js +3 -3
  215. package/lib/es/descriptions/item.js +5 -5
  216. package/lib/es/divider/index.js +7 -7
  217. package/lib/es/dropdown/dropdownDivider.js +1 -1
  218. package/lib/es/dropdown/dropdownItem.js +6 -6
  219. package/lib/es/dropdown/dropdownMenu.js +1 -1
  220. package/lib/es/dropdown/dropdownTitle.js +2 -2
  221. package/lib/es/dropdown/index.js +3 -3
  222. package/lib/es/empty/index.js +7 -7
  223. package/lib/es/form/arrayField.js +1 -1
  224. package/lib/es/form/baseForm.d.ts +1 -1
  225. package/lib/es/form/baseForm.js +2 -2
  226. package/lib/es/form/errorMessage.js +1 -1
  227. package/lib/es/form/field.d.ts +1 -1
  228. package/lib/es/form/group.js +2 -2
  229. package/lib/es/form/hoc/withField.js +16 -16
  230. package/lib/es/form/label.js +9 -9
  231. package/lib/es/form/slot.js +5 -5
  232. package/lib/es/grid/col.js +11 -11
  233. package/lib/es/grid/row.js +4 -4
  234. package/lib/es/highlight/index.js +1 -1
  235. package/lib/es/iconButton/index.js +5 -5
  236. package/lib/es/image/image.js +10 -10
  237. package/lib/es/image/preview.js +3 -3
  238. package/lib/es/image/previewFooter.js +12 -12
  239. package/lib/es/image/previewHeader.js +3 -3
  240. package/lib/es/image/previewImage.js +7 -7
  241. package/lib/es/image/previewInner.js +7 -7
  242. package/lib/es/input/index.js +38 -38
  243. package/lib/es/input/inputGroup.js +7 -7
  244. package/lib/es/input/textarea.js +14 -14
  245. package/lib/es/inputNumber/index.js +11 -11
  246. package/lib/es/layout/Sider.js +3 -3
  247. package/lib/es/layout/index.js +2 -2
  248. package/lib/es/list/index.js +11 -11
  249. package/lib/es/list/item.js +6 -6
  250. package/lib/es/modal/ConfirmModal.js +7 -7
  251. package/lib/es/modal/Modal.js +4 -4
  252. package/lib/es/modal/ModalContent.js +24 -24
  253. package/lib/es/modal/useModal/index.js +1 -1
  254. package/lib/es/navigation/CollapseButton.js +1 -1
  255. package/lib/es/navigation/Footer.js +2 -2
  256. package/lib/es/navigation/Header.js +5 -5
  257. package/lib/es/navigation/Item.js +16 -16
  258. package/lib/es/navigation/SubNav.js +14 -14
  259. package/lib/es/navigation/index.js +8 -8
  260. package/lib/es/notification/index.js +3 -3
  261. package/lib/es/notification/notice.js +12 -12
  262. package/lib/es/overflowList/index.js +6 -6
  263. package/lib/es/pagination/index.js +26 -26
  264. package/lib/es/popconfirm/index.js +9 -9
  265. package/lib/es/popover/index.js +2 -2
  266. package/lib/es/progress/index.js +14 -14
  267. package/lib/es/radio/radio.js +22 -22
  268. package/lib/es/radio/radioGroup.js +5 -5
  269. package/lib/es/radio/radioInner.js +7 -7
  270. package/lib/es/rating/index.js +5 -5
  271. package/lib/es/rating/item.js +11 -11
  272. package/lib/es/scrollList/index.js +5 -5
  273. package/lib/es/scrollList/scrollItem.js +13 -13
  274. package/lib/es/select/index.js +53 -53
  275. package/lib/es/select/option.js +7 -7
  276. package/lib/es/sideSheet/SideSheetContent.js +10 -10
  277. package/lib/es/sideSheet/index.js +7 -7
  278. package/lib/es/skeleton/index.js +1 -1
  279. package/lib/es/skeleton/item.js +4 -4
  280. package/lib/es/slider/index.js +28 -28
  281. package/lib/es/space/index.js +12 -12
  282. package/lib/es/spin/icon.js +2 -2
  283. package/lib/es/spin/index.js +6 -6
  284. package/lib/es/steps/basicStep.js +14 -14
  285. package/lib/es/steps/basicSteps.js +6 -6
  286. package/lib/es/steps/fillStep.js +10 -10
  287. package/lib/es/steps/fillSteps.js +4 -4
  288. package/lib/es/steps/navStep.js +5 -5
  289. package/lib/es/steps/navSteps.js +2 -2
  290. package/lib/es/table/Body/BaseRow.js +5 -5
  291. package/lib/es/table/Body/ExpandedRow.js +3 -3
  292. package/lib/es/table/Body/SectionRow.js +1 -1
  293. package/lib/es/table/Body/index.js +8 -8
  294. package/lib/es/table/ColGroup.js +2 -2
  295. package/lib/es/table/ColumnFilter.js +3 -3
  296. package/lib/es/table/ColumnSelection.js +2 -2
  297. package/lib/es/table/ColumnSorter.js +7 -7
  298. package/lib/es/table/CustomExpandIcon.js +2 -2
  299. package/lib/es/table/HeadTable.js +3 -3
  300. package/lib/es/table/Table.d.ts +1 -1
  301. package/lib/es/table/Table.js +20 -20
  302. package/lib/es/table/TableCell.js +8 -8
  303. package/lib/es/table/TableHeader.js +1 -1
  304. package/lib/es/table/TableHeaderRow.js +8 -8
  305. package/lib/es/table/TablePagination.js +3 -3
  306. package/lib/es/tabs/TabBar.js +18 -18
  307. package/lib/es/tabs/TabPane.js +3 -3
  308. package/lib/es/tabs/index.js +2 -2
  309. package/lib/es/tag/group.js +5 -5
  310. package/lib/es/tag/index.js +13 -13
  311. package/lib/es/tagInput/index.js +33 -33
  312. package/lib/es/timePicker/Combobox.js +4 -4
  313. package/lib/es/timePicker/TimeInput.js +4 -4
  314. package/lib/es/timePicker/TimePicker.js +8 -8
  315. package/lib/es/timeline/index.js +8 -8
  316. package/lib/es/timeline/item.js +7 -7
  317. package/lib/es/toast/index.js +5 -5
  318. package/lib/es/toast/toast.js +9 -9
  319. package/lib/es/tooltip/index.js +7 -7
  320. package/lib/es/transfer/index.js +31 -31
  321. package/lib/es/tree/autoSizer.js +1 -1
  322. package/lib/es/tree/index.js +6 -6
  323. package/lib/es/tree/nodeList.js +1 -1
  324. package/lib/es/tree/treeNode.js +26 -26
  325. package/lib/es/treeSelect/index.js +40 -40
  326. package/lib/es/typography/base.js +14 -14
  327. package/lib/es/typography/copyable.js +3 -3
  328. package/lib/es/typography/paragraph.js +1 -1
  329. package/lib/es/typography/title.js +1 -1
  330. package/lib/es/typography/util.js +1 -1
  331. package/lib/es/upload/fileCard.js +32 -32
  332. package/lib/es/upload/index.js +37 -37
  333. package/package.json +8 -8
@@ -248,17 +248,17 @@ class Table extends BaseComponent {
248
248
  const {
249
249
  prefixCls
250
250
  } = this.props;
251
- const positionAll = ["".concat(prefixCls, "-scroll-position-both"), "".concat(prefixCls, "-scroll-position-middle"), "".concat(prefixCls, "-scroll-position-left"), "".concat(prefixCls, "-scroll-position-right")];
251
+ const positionAll = [`${prefixCls}-scroll-position-both`, `${prefixCls}-scroll-position-middle`, `${prefixCls}-scroll-position-left`, `${prefixCls}-scroll-position-right`];
252
252
  this.scrollPosition = position;
253
253
  const tableNode = this.wrapRef.current;
254
254
 
255
255
  if (tableNode && tableNode.nodeType) {
256
256
  if (position === 'both') {
257
- const acceptPosition = ["".concat(prefixCls, "-scroll-position-left"), "".concat(prefixCls, "-scroll-position-right")];
257
+ const acceptPosition = [`${prefixCls}-scroll-position-left`, `${prefixCls}-scroll-position-right`];
258
258
  tableNode.classList.remove(..._difference(positionAll, acceptPosition));
259
259
  tableNode.classList.add(...acceptPosition);
260
260
  } else {
261
- const acceptPosition = ["".concat(prefixCls, "-scroll-position-").concat(position)];
261
+ const acceptPosition = [`${prefixCls}-scroll-position-${position}`];
262
262
  tableNode.classList.remove(..._difference(positionAll, acceptPosition));
263
263
  tableNode.classList.add(...acceptPosition);
264
264
  }
@@ -319,7 +319,7 @@ class Table extends BaseComponent {
319
319
  const hasRowSelected = _this.foundation.hasRowSelected(selectedRowKeys, allRowKeysSet);
320
320
 
321
321
  return /*#__PURE__*/React.createElement(ColumnSelection, {
322
- "aria-label": "".concat(allIsSelected ? 'Deselect' : 'Select', " all rows"),
322
+ "aria-label": `${allIsSelected ? 'Deselect' : 'Select'} all rows`,
323
323
  disabled: disabled,
324
324
  key: columnKey,
325
325
  selected: allIsSelected,
@@ -336,7 +336,7 @@ class Table extends BaseComponent {
336
336
  const checkboxPropsFn = () => typeof getCheckboxProps === 'function' ? getCheckboxProps(record) : {};
337
337
 
338
338
  return /*#__PURE__*/React.createElement(ColumnSelection, {
339
- "aria-label": "".concat(selected ? 'Deselect' : 'Select', " this row"),
339
+ "aria-label": `${selected ? 'Deselect' : 'Select'} this row`,
340
340
  getCheckboxProps: checkboxPropsFn,
341
341
  selected: selected,
342
342
  onChange: (status, e) => _this.toggleSelectRow(status, key, e)
@@ -372,7 +372,7 @@ class Table extends BaseComponent {
372
372
  column = Object.assign(Object.assign({}, column), _omit(rowSelection, needOmitSelectionKey));
373
373
  }
374
374
 
375
- column.className = classnames(column.className, "".concat(prefixCls, "-column-selection"));
375
+ column.className = classnames(column.className, `${prefixCls}-column-selection`);
376
376
  column.title = _this.renderTitleSelectionCallback;
377
377
  column.render = _this.renderRowSelectionCallback;
378
378
  }
@@ -438,7 +438,7 @@ class Table extends BaseComponent {
438
438
  fixed: expandCellFixed,
439
439
  key: strings.DEFAULT_KEY_COLUMN_EXPAND
440
440
  };
441
- column.className = classnames(column.className, "".concat(prefixCls, "-column-expand"));
441
+ column.className = classnames(column.className, `${prefixCls}-column-expand`);
442
442
  column.render = expandIcon !== false ? function () {
443
443
  let text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
444
444
  let record = arguments.length > 1 ? arguments[1] : undefined;
@@ -572,7 +572,7 @@ class Table extends BaseComponent {
572
572
  }
573
573
 
574
574
  return /*#__PURE__*/isValidElement(title) || typeof title === 'string' ? /*#__PURE__*/React.createElement("div", {
575
- className: "".concat(prefixCls, "-title"),
575
+ className: `${prefixCls}-title`,
576
576
  "x-semi-prop": "title"
577
577
  }, title) : null;
578
578
  };
@@ -584,7 +584,7 @@ class Table extends BaseComponent {
584
584
  empty,
585
585
  dataSource
586
586
  } = props;
587
- const wrapCls = "".concat(prefixCls, "-placeholder");
587
+ const wrapCls = `${prefixCls}-placeholder`;
588
588
 
589
589
  const isEmpty = _this.foundation.isEmpty(dataSource);
590
590
 
@@ -598,7 +598,7 @@ class Table extends BaseComponent {
598
598
  }, (locale, localeCode) => /*#__PURE__*/React.createElement("div", {
599
599
  className: wrapCls
600
600
  }, /*#__PURE__*/React.createElement("div", {
601
- className: "".concat(prefixCls, "-empty"),
601
+ className: `${prefixCls}-empty`,
602
602
  "x-semi-prop": "empty"
603
603
  }, empty || locale.emptyText)));
604
604
  };
@@ -618,7 +618,7 @@ class Table extends BaseComponent {
618
618
  }
619
619
 
620
620
  return /*#__PURE__*/isValidElement(footer) || typeof footer === 'string' ? /*#__PURE__*/React.createElement("div", {
621
- className: "".concat(prefixCls, "-footer"),
621
+ className: `${prefixCls}-footer`,
622
622
  key: "footer",
623
623
  "x-semi-prop": "footer"
624
624
  }, footer) : null;
@@ -1430,13 +1430,13 @@ class Table extends BaseComponent {
1430
1430
  }
1431
1431
 
1432
1432
  const wrapCls = classnames({
1433
- ["".concat(prefixCls, "-").concat(strings.SIZE_SMALL)]: size === strings.SIZE_SMALL,
1434
- ["".concat(prefixCls, "-").concat(strings.SIZE_MIDDLE)]: size === strings.SIZE_MIDDLE,
1435
- ["".concat(prefixCls, "-virtualized")]: Boolean(virtualized),
1436
- ["".concat(prefixCls, "-bordered")]: bordered,
1437
- ["".concat(prefixCls, "-fixed-header")]: Boolean(y),
1438
- ["".concat(prefixCls, "-scroll-position-left")]: ['both', 'left'].includes(this.position),
1439
- ["".concat(prefixCls, "-scroll-position-right")]: ['both', 'right'].includes(this.position)
1433
+ [`${prefixCls}-${strings.SIZE_SMALL}`]: size === strings.SIZE_SMALL,
1434
+ [`${prefixCls}-${strings.SIZE_MIDDLE}`]: size === strings.SIZE_MIDDLE,
1435
+ [`${prefixCls}-virtualized`]: Boolean(virtualized),
1436
+ [`${prefixCls}-bordered`]: bordered,
1437
+ [`${prefixCls}-fixed-header`]: Boolean(y),
1438
+ [`${prefixCls}-scroll-position-left`]: ['both', 'left'].includes(this.position),
1439
+ [`${prefixCls}-scroll-position-right`]: ['both', 'right'].includes(this.position)
1440
1440
  }); // pagination
1441
1441
 
1442
1442
  const tablePagination = pagination && propPagination ? this.renderPagination(pagination, propRenderPagination) : null;
@@ -1459,7 +1459,7 @@ class Table extends BaseComponent {
1459
1459
  });
1460
1460
  return /*#__PURE__*/React.createElement("div", {
1461
1461
  ref: this.rootWrapRef,
1462
- className: classnames(className, "".concat(prefixCls, "-wrapper")),
1462
+ className: classnames(className, `${prefixCls}-wrapper`),
1463
1463
  "data-column-fixed": anyColumnFixed,
1464
1464
  style: wrapStyle,
1465
1465
  id: id
@@ -1476,7 +1476,7 @@ class Table extends BaseComponent {
1476
1476
  dataSource: props.dataSource,
1477
1477
  prefixCls: props.prefixCls
1478
1478
  }), /*#__PURE__*/React.createElement("div", {
1479
- className: "".concat(prefixCls, "-container")
1479
+ className: `${prefixCls}-container`
1480
1480
  }, this.renderMainTable(Object.assign({}, props))), /*#__PURE__*/React.createElement(React.Fragment, {
1481
1481
  key: 'pagination-bottom'
1482
1482
  }, ['bottom', 'both'].includes(paginationPosition) ? tablePagination : null)))));
@@ -191,9 +191,9 @@ export default class TableCell extends BaseComponent {
191
191
 
192
192
  const indentText = indent && indentSize ? /*#__PURE__*/React.createElement("span", {
193
193
  style: {
194
- paddingLeft: "".concat(indentSize * indent, "px")
194
+ paddingLeft: `${indentSize * indent}px`
195
195
  },
196
- className: "".concat(prefixCls, "-row-indent indent-level-").concat(indent)
196
+ className: `${prefixCls}-row-indent indent-level-${indent}`
197
197
  }) : null; // column.render
198
198
 
199
199
  const realExpandIcon = typeof renderExpandIcon === 'function' ? renderExpandIcon(record) : expandIcon;
@@ -265,7 +265,7 @@ export default class TableCell extends BaseComponent {
265
265
 
266
266
  if (isSection) {
267
267
  inner = /*#__PURE__*/React.createElement("div", {
268
- className: classnames("".concat(prefixCls, "-section-inner")),
268
+ className: classnames(`${prefixCls}-section-inner`),
269
269
  style: {
270
270
  width: anyColumnFixed ? amendTableWidth(tableWidth) : undefined
271
271
  }
@@ -316,11 +316,11 @@ export default class TableCell extends BaseComponent {
316
316
  }
317
317
 
318
318
  const inner = this.renderInner(text, indentText, realExpandIcon);
319
- const columnCls = classnames(className, "".concat(prefixCls, "-row-cell"), _get(customCellProps, 'className'), {
320
- ["".concat(prefixCls, "-cell-fixed-left")]: fixedLeftFlag,
321
- ["".concat(prefixCls, "-cell-fixed-left-last")]: lastFixedLeft,
322
- ["".concat(prefixCls, "-cell-fixed-right")]: fixedRightFlag,
323
- ["".concat(prefixCls, "-cell-fixed-right-first")]: firstFixedRight
319
+ const columnCls = classnames(className, `${prefixCls}-row-cell`, _get(customCellProps, 'className'), {
320
+ [`${prefixCls}-cell-fixed-left`]: fixedLeftFlag,
321
+ [`${prefixCls}-cell-fixed-left-last`]: lastFixedLeft,
322
+ [`${prefixCls}-cell-fixed-right`]: fixedRightFlag,
323
+ [`${prefixCls}-cell-fixed-right-first`]: firstFixedRight
324
324
  });
325
325
  return /*#__PURE__*/React.createElement(BodyCell, Object.assign({
326
326
  role: "gridcell",
@@ -113,7 +113,7 @@ class TableHeader extends BaseComponent {
113
113
  const rows = parseHeaderRows(columns);
114
114
  const HeaderWrapper = components.header.wrapper;
115
115
  return /*#__PURE__*/React.createElement(HeaderWrapper, {
116
- className: "".concat(prefixCls, "-thead"),
116
+ className: `${prefixCls}-thead`,
117
117
  ref: forwardedRef
118
118
  }, rows.map((row, idx) => /*#__PURE__*/React.createElement(TableHeaderRow, {
119
119
  prefixCls: prefixCls,
@@ -38,7 +38,7 @@ export default class TableHeaderRow extends BaseComponent {
38
38
  row,
39
39
  index
40
40
  } = this.props;
41
- const cellSelector = ".".concat(prefixCls, "-row-head");
41
+ const cellSelector = `.${prefixCls}-row-head`;
42
42
  const heads = node && node.querySelectorAll && node.querySelectorAll(cellSelector);
43
43
  this.context.setHeadWidths(_map(heads, (head, headIndex) => {
44
44
  let configWidth = _get(row, [headIndex, 'column', 'width']);
@@ -92,7 +92,7 @@ export default class TableHeaderRow extends BaseComponent {
92
92
 
93
93
  const rowProps = onHeaderRow(columns, index) || {};
94
94
 
95
- _set(rowProps, 'className', classnames(_get(rowProps, 'className'), "".concat(prefixCls, "-row")));
95
+ _set(rowProps, 'className', classnames(_get(rowProps, 'className'), `${prefixCls}-row`));
96
96
 
97
97
  const cells = _map(row, (cell, cellIndex) => {
98
98
  const {
@@ -108,16 +108,16 @@ export default class TableHeaderRow extends BaseComponent {
108
108
  textAlign: column.align
109
109
  });
110
110
  customProps.className = classnames(customProps.className, column.className, {
111
- ["".concat(prefixCls, "-align-").concat(column.align)]: Boolean(column.align)
111
+ [`${prefixCls}-align-${column.align}`]: Boolean(column.align)
112
112
  });
113
113
  }
114
114
 
115
- customProps.className = classnames("".concat(prefixCls, "-row-head"), column.className, customProps.className, // `${prefixCls}-fixed-columns`,
115
+ customProps.className = classnames(`${prefixCls}-row-head`, column.className, customProps.className, // `${prefixCls}-fixed-columns`,
116
116
  {
117
- ["".concat(prefixCls, "-cell-fixed-left")]: isFixedLeft(column),
118
- ["".concat(prefixCls, "-cell-fixed-left-last")]: isLastLeftFixed(slicedColumns, column),
119
- ["".concat(prefixCls, "-cell-fixed-right")]: isFixedRight(column),
120
- ["".concat(prefixCls, "-cell-fixed-right-first")]: isFirstFixedRight(slicedColumns, column)
117
+ [`${prefixCls}-cell-fixed-left`]: isFixedLeft(column),
118
+ [`${prefixCls}-cell-fixed-left-last`]: isLastLeftFixed(slicedColumns, column),
119
+ [`${prefixCls}-cell-fixed-right`]: isFixedRight(column),
120
+ [`${prefixCls}-cell-fixed-right-first`]: isFirstFixedRight(slicedColumns, column)
121
121
  });
122
122
 
123
123
  if (headWidths.length && slicedColumns.length) {
@@ -19,11 +19,11 @@ export default class TablePagination extends PureComponent {
19
19
 
20
20
  const customPagination = renderPagination && _isFunction(renderPagination) ? renderPagination(pagination) : null;
21
21
  return /*#__PURE__*/React.createElement("div", {
22
- className: "".concat(prefixCls, "-pagination-outer")
22
+ className: `${prefixCls}-pagination-outer`
23
23
  }, /*#__PURE__*/isValidElement(customPagination) ? customPagination : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
24
- className: "".concat(prefixCls, "-pagination-info")
24
+ className: `${prefixCls}-pagination-info`
25
25
  }, info), /*#__PURE__*/React.createElement("span", {
26
- className: "".concat(prefixCls, "-pagination-wrapper")
26
+ className: `${prefixCls}-pagination-wrapper`
27
27
  }, total > 0 ? /*#__PURE__*/React.createElement(Pagination, Object.assign({}, pagination, {
28
28
  key: _get(pagination, 'pageSize', 'pagination')
29
29
  })) : null)));
@@ -33,7 +33,7 @@ class TabBar extends React.Component {
33
33
  const key = this._getItemKey(itemKey); // eslint-disable-next-line max-len
34
34
 
35
35
 
36
- const tabItem = document.querySelector("[data-uuid=\"".concat(this.uuid, "\"] .").concat(cssClasses.TABS_TAB, "[data-scrollkey=\"").concat(key, "\"]"));
36
+ const tabItem = document.querySelector(`[data-uuid="${this.uuid}"] .${cssClasses.TABS_TAB}[data-scrollkey="${key}"]`);
37
37
  tabItem.scrollIntoView({
38
38
  behavior: 'smooth',
39
39
  block: 'nearest',
@@ -56,7 +56,7 @@ class TabBar extends React.Component {
56
56
  const closableIcon = type === 'card' && panel.closable ? /*#__PURE__*/React.createElement(IconClose, {
57
57
  "aria-label": "Close",
58
58
  role: "button",
59
- className: "".concat(cssClasses.TABS_TAB, "-icon-close"),
59
+ className: `${cssClasses.TABS_TAB}-icon-close`,
60
60
  onClick: e => deleteTabItem(panel.itemKey, e)
61
61
  }) : null;
62
62
  let events = {};
@@ -73,14 +73,14 @@ class TabBar extends React.Component {
73
73
  const className = cls(cssClasses.TABS_TAB, {
74
74
  [cssClasses.TABS_TAB_ACTIVE]: isSelected,
75
75
  [cssClasses.TABS_TAB_DISABLED]: panel.disabled,
76
- ["".concat(cssClasses.TABS_TAB, "-small")]: size === 'small',
77
- ["".concat(cssClasses.TABS_TAB, "-medium")]: size === 'medium'
76
+ [`${cssClasses.TABS_TAB}-small`]: size === 'small',
77
+ [`${cssClasses.TABS_TAB}-medium`]: size === 'medium'
78
78
  });
79
79
  return /*#__PURE__*/React.createElement("div", Object.assign({
80
80
  role: "tab",
81
- id: "semiTab".concat(key),
82
- "data-tabkey": "semiTab".concat(key),
83
- "aria-controls": "semiTabPanel".concat(key),
81
+ id: `semiTab${key}`,
82
+ "data-tabkey": `semiTab${key}`,
83
+ "aria-controls": `semiTabPanel${key}`,
84
84
  "aria-disabled": panel.disabled ? 'true' : 'false',
85
85
  "aria-selected": isSelected ? 'true' : 'false',
86
86
  tabIndex: isSelected ? 0 : -1,
@@ -103,7 +103,7 @@ class TabBar extends React.Component {
103
103
  const key = this._getItemKey(lastItem.itemKey); // eslint-disable-next-line max-len
104
104
 
105
105
 
106
- const tabItem = document.querySelector("[data-uuid=\"".concat(this.uuid, "\"] .").concat(cssClasses.TABS_TAB, "[data-scrollkey=\"").concat(key, "\"]"));
106
+ const tabItem = document.querySelector(`[data-uuid="${this.uuid}"] .${cssClasses.TABS_TAB}[data-scrollkey="${key}"]`);
107
107
  tabItem.scrollIntoView({
108
108
  behavior: 'smooth',
109
109
  block: 'nearest',
@@ -142,17 +142,17 @@ class TabBar extends React.Component {
142
142
  }, panelIcon, tab);
143
143
  }));
144
144
  const arrowCls = cls({
145
- ["".concat(cssClasses.TABS_BAR, "-arrow-").concat(pos)]: pos,
146
- ["".concat(cssClasses.TABS_BAR, "-arrow")]: true
145
+ [`${cssClasses.TABS_BAR}-arrow-${pos}`]: pos,
146
+ [`${cssClasses.TABS_BAR}-arrow`]: true
147
147
  });
148
148
  const dropdownCls = cls(dropdownClassName, {
149
- ["".concat(cssClasses.TABS_BAR, "-dropdown")]: true
149
+ [`${cssClasses.TABS_BAR}-dropdown`]: true
150
150
  });
151
151
  return /*#__PURE__*/React.createElement(Dropdown, {
152
152
  className: dropdownCls,
153
153
  clickToHide: true,
154
154
  clickTriggerToHide: true,
155
- key: "".concat(rePosKey, "-").concat(pos),
155
+ key: `${rePosKey}-${pos}`,
156
156
  position: pos === 'start' ? 'bottomLeft' : 'bottomRight',
157
157
  render: disabled ? null : menu,
158
158
  showTick: true,
@@ -193,14 +193,14 @@ class TabBar extends React.Component {
193
193
  items: renderedList,
194
194
  overflowRenderer: this.renderOverflow,
195
195
  renderMode: "scroll",
196
- className: "".concat(cssClasses.TABS_BAR, "-overflow-list"),
196
+ className: `${cssClasses.TABS_BAR}-overflow-list`,
197
197
  visibleItemRenderer: this.renderTabItem
198
198
  });
199
199
  };
200
200
 
201
201
  this._isActive = key => key === this.props.activeKey;
202
202
 
203
- this._getItemKey = key => "".concat(key, "-bar");
203
+ this._getItemKey = key => `${key}-bar`;
204
204
 
205
205
  this.state = {
206
206
  endInd: props.list.length,
@@ -225,8 +225,8 @@ class TabBar extends React.Component {
225
225
  };
226
226
  const tabBarExtraContentStyle = tabBarExtraContent && tabBarExtraContent.props ? tabBarExtraContent.props.style : {};
227
227
  const extraCls = cls(cssClasses.TABS_BAR_EXTRA, {
228
- ["".concat(cssClasses.TABS_BAR, "-").concat(type, "-extra")]: type,
229
- ["".concat(cssClasses.TABS_BAR, "-").concat(type, "-extra-").concat(size)]: size
228
+ [`${cssClasses.TABS_BAR}-${type}-extra`]: type,
229
+ [`${cssClasses.TABS_BAR}-${type}-extra-${size}`]: size
230
230
  });
231
231
 
232
232
  if (tabBarExtraContent) {
@@ -258,8 +258,8 @@ class TabBar extends React.Component {
258
258
  [cssClasses.TABS_BAR_LINE]: type === 'line',
259
259
  [cssClasses.TABS_BAR_CARD]: type === 'card',
260
260
  [cssClasses.TABS_BAR_BUTTON]: type === 'button',
261
- ["".concat(cssClasses.TABS_BAR, "-").concat(tabPosition)]: tabPosition,
262
- ["".concat(cssClasses.TABS_BAR, "-collapse")]: collapsible
261
+ [`${cssClasses.TABS_BAR}-${tabPosition}`]: tabPosition,
262
+ [`${cssClasses.TABS_BAR}-collapse`]: collapsible
263
263
  });
264
264
  const extra = this.renderExtra();
265
265
  const contents = collapsible ? this.renderCollapsedTab() : this.renderTabComponents(list);
@@ -100,8 +100,8 @@ class TabPane extends PureComponent {
100
100
  return /*#__PURE__*/React.createElement("div", Object.assign({
101
101
  ref: this.ref,
102
102
  role: "tabpanel",
103
- id: "semiTabPanel".concat(itemKey),
104
- "aria-labelledby": "semiTab".concat(itemKey),
103
+ id: `semiTabPanel${itemKey}`,
104
+ "aria-labelledby": `semiTab${itemKey}`,
105
105
  className: classNames,
106
106
  style: style,
107
107
  "aria-hidden": active ? 'false' : 'true',
@@ -118,7 +118,7 @@ class TabPane extends PureComponent {
118
118
  animationEventsNeedBind
119
119
  } = _ref;
120
120
  return /*#__PURE__*/React.createElement("div", Object.assign({
121
- className: "".concat(cssClasses.TABS_PANE_MOTION_OVERLAY, " ").concat(animationClassName),
121
+ className: `${cssClasses.TABS_PANE_MOTION_OVERLAY} ${animationClassName}`,
122
122
  "x-semi-prop": "children"
123
123
  }, animationEventsNeedBind), shouldRender ? children : null);
124
124
  }));
@@ -290,11 +290,11 @@ class Tabs extends BaseComponent {
290
290
  } = this.state;
291
291
  const tabWrapperCls = cls(className, {
292
292
  [cssClasses.TABS]: true,
293
- ["".concat(cssClasses.TABS, "-").concat(tabPosition)]: tabPosition
293
+ [`${cssClasses.TABS}-${tabPosition}`]: tabPosition
294
294
  });
295
295
  const tabContentCls = cls({
296
296
  [cssClasses.TABS_CONTENT]: true,
297
- ["".concat(cssClasses.TABS_CONTENT, "-").concat(tabPosition)]: tabPosition
297
+ [`${cssClasses.TABS_CONTENT}-${tabPosition}`]: tabPosition
298
298
  });
299
299
  const tabBarProps = {
300
300
  activeKey,
@@ -33,7 +33,7 @@ export default class TagGroup extends PureComponent {
33
33
  trigger: "hover",
34
34
  position: "top",
35
35
  autoAdjustOverflow: true,
36
- className: "".concat(prefixCls, "-rest-group-popover")
36
+ className: `${prefixCls}-rest-group-popover`
37
37
  }, popoverProps, {
38
38
  key: "_+n_Popover"
39
39
  }), nTag);
@@ -116,10 +116,10 @@ export default class TagGroup extends PureComponent {
116
116
  size
117
117
  } = this.props;
118
118
  const groupCls = classNames({
119
- ["".concat(prefixCls, "-group")]: true,
120
- ["".concat(prefixCls, "-group-max")]: maxTagCount,
121
- ["".concat(prefixCls, "-group-small")]: size === 'small',
122
- ["".concat(prefixCls, "-group-large")]: size === 'large'
119
+ [`${prefixCls}-group`]: true,
120
+ [`${prefixCls}-group-max`]: maxTagCount,
121
+ [`${prefixCls}-group-small`]: size === 'small',
122
+ [`${prefixCls}-group-large`]: size === 'large'
123
123
  }, className);
124
124
  const tags = this.renderAllTags();
125
125
  const tagContents = typeof maxTagCount === 'undefined' ? tags : this.renderMergeTags(tags);
@@ -146,16 +146,16 @@ export default class Tag extends Component {
146
146
  const baseProps = Object.assign(Object.assign({}, attr), {
147
147
  onClick,
148
148
  className: classNames(prefixCls, {
149
- ["".concat(prefixCls, "-default")]: size === 'default',
150
- ["".concat(prefixCls, "-small")]: size === 'small',
151
- ["".concat(prefixCls, "-large")]: size === 'large',
152
- ["".concat(prefixCls, "-square")]: shape === 'square',
153
- ["".concat(prefixCls, "-circle")]: shape === 'circle',
154
- ["".concat(prefixCls, "-").concat(type)]: type,
155
- ["".concat(prefixCls, "-").concat(color, "-").concat(type)]: color && type,
156
- ["".concat(prefixCls, "-closable")]: closable,
157
- ["".concat(prefixCls, "-invisible")]: !isVisible,
158
- ["".concat(prefixCls, "-avatar-").concat(avatarShape)]: avatarSrc
149
+ [`${prefixCls}-default`]: size === 'default',
150
+ [`${prefixCls}-small`]: size === 'small',
151
+ [`${prefixCls}-large`]: size === 'large',
152
+ [`${prefixCls}-square`]: shape === 'square',
153
+ [`${prefixCls}-circle`]: shape === 'circle',
154
+ [`${prefixCls}-${type}`]: type,
155
+ [`${prefixCls}-${color}-${type}`]: color && type,
156
+ [`${prefixCls}-closable`]: closable,
157
+ [`${prefixCls}-invisible`]: !isVisible,
158
+ [`${prefixCls}-avatar-${avatarShape}`]: avatarSrc
159
159
  }, className)
160
160
  });
161
161
  const wrapProps = clickable ? Object.assign(Object.assign({}, baseProps), a11yProps) : baseProps;
@@ -163,15 +163,15 @@ export default class Tag extends Component {
163
163
  /*#__PURE__*/
164
164
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
165
165
  React.createElement("div", {
166
- className: "".concat(prefixCls, "-close"),
166
+ className: `${prefixCls}-close`,
167
167
  onClick: e => this.close(e, children, tagKey)
168
168
  }, /*#__PURE__*/React.createElement(IconClose, {
169
169
  size: "small"
170
170
  })) : null;
171
171
  return /*#__PURE__*/React.createElement("div", Object.assign({
172
- "aria-label": this.props['aria-label'] || _isString(children) ? "".concat(closable ? 'Closable ' : '', "Tag: ").concat(children) : ''
172
+ "aria-label": this.props['aria-label'] || _isString(children) ? `${closable ? 'Closable ' : ''}Tag: ${children}` : ''
173
173
  }, wrapProps), avatarSrc ? this.renderAvatar() : null, /*#__PURE__*/React.createElement("div", {
174
- className: "".concat(prefixCls, "-content")
174
+ className: `${prefixCls}-content`
175
175
  }, children), closeIcon);
176
176
  }
177
177
 
@@ -25,7 +25,7 @@ const SortableList = SortableContainer(_ref => {
25
25
  items
26
26
  } = _ref;
27
27
  return /*#__PURE__*/React.createElement("div", {
28
- className: "".concat(prefixCls, "-sortable-list")
28
+ className: `${prefixCls}-sortable-list`
29
29
  }, items.map((item, index) =>
30
30
  /*#__PURE__*/
31
31
  // @ts-ignore skip SortableItem type check
@@ -103,22 +103,22 @@ class TagInput extends BaseComponent {
103
103
  active
104
104
  } = this.state;
105
105
  const showIconHandler = active && draggable;
106
- const tagCls = cls("".concat(prefixCls, "-wrapper-tag"), {
107
- ["".concat(prefixCls, "-wrapper-tag-size-").concat(size)]: size,
108
- ["".concat(prefixCls, "-wrapper-tag-icon")]: showIconHandler
106
+ const tagCls = cls(`${prefixCls}-wrapper-tag`, {
107
+ [`${prefixCls}-wrapper-tag-size-${size}`]: size,
108
+ [`${prefixCls}-wrapper-tag-icon`]: showIconHandler
109
109
  });
110
- const typoCls = cls("".concat(prefixCls, "-wrapper-typo"), {
111
- ["".concat(prefixCls, "-wrapper-typo-disabled")]: disabled
110
+ const typoCls = cls(`${prefixCls}-wrapper-typo`, {
111
+ [`${prefixCls}-wrapper-typo-disabled`]: disabled
112
112
  });
113
113
  const itemWrapperCls = cls({
114
- ["".concat(prefixCls, "-drag-item")]: showIconHandler,
115
- ["".concat(prefixCls, "-wrapper-tag-icon")]: showIconHandler
114
+ [`${prefixCls}-drag-item`]: showIconHandler,
115
+ [`${prefixCls}-wrapper-tag-icon`]: showIconHandler
116
116
  });
117
117
  const DragHandle = SortableHandle(() => /*#__PURE__*/React.createElement(IconHandle, {
118
- className: "".concat(prefixCls, "-drag-handler")
118
+ className: `${prefixCls}-drag-handler`
119
119
  }));
120
120
  return tagsArray.map((value, index) => {
121
- const elementKey = showIconHandler ? value : "".concat(index).concat(value);
121
+ const elementKey = showIconHandler ? value : `${index}${value}`;
122
122
 
123
123
  const onClose = () => {
124
124
  !disabled && this.handleTagClose(index);
@@ -139,9 +139,9 @@ class TagInput extends BaseComponent {
139
139
  closable: !disabled,
140
140
  key: elementKey,
141
141
  visible: true,
142
- "aria-label": "".concat(!disabled ? 'Closable ' : '', "Tag: ").concat(value)
142
+ "aria-label": `${!disabled ? 'Closable ' : ''}Tag: ${value}`
143
143
  }, /*#__PURE__*/React.createElement("div", {
144
- className: "".concat(prefixCls, "-tag-content-wrapper")
144
+ className: `${prefixCls}-tag-content-wrapper`
145
145
  }, showIconHandler && /*#__PURE__*/React.createElement(DragHandle, null), /*#__PURE__*/React.createElement(Paragraph, {
146
146
  className: typoCls,
147
147
  ellipsis: {
@@ -311,8 +311,8 @@ class TagInput extends BaseComponent {
311
311
  disabled,
312
312
  clearIcon
313
313
  } = this.props;
314
- const clearCls = cls("".concat(prefixCls, "-clearBtn"), {
315
- ["".concat(prefixCls, "-clearBtn-invisible")]: !hovering || inputValue === '' && tagsArray.length === 0 || disabled
314
+ const clearCls = cls(`${prefixCls}-clearBtn`, {
315
+ [`${prefixCls}-clearBtn-invisible`]: !hovering || inputValue === '' && tagsArray.length === 0 || disabled
316
316
  });
317
317
 
318
318
  if (showClear) {
@@ -341,11 +341,11 @@ class TagInput extends BaseComponent {
341
341
  return null;
342
342
  }
343
343
 
344
- const prefixWrapperCls = cls("".concat(prefixCls, "-prefix"), {
345
- ["".concat(prefixCls, "-inset-label")]: insetLabel,
346
- ["".concat(prefixCls, "-prefix-text")]: labelNode && _isString(labelNode),
344
+ const prefixWrapperCls = cls(`${prefixCls}-prefix`, {
345
+ [`${prefixCls}-inset-label`]: insetLabel,
346
+ [`${prefixCls}-prefix-text`]: labelNode && _isString(labelNode),
347
347
  // eslint-disable-next-line max-len
348
- ["".concat(prefixCls, "-prefix-icon")]: isSemiIcon(labelNode)
348
+ [`${prefixCls}-prefix-icon`]: isSemiIcon(labelNode)
349
349
  });
350
350
  return (
351
351
  /*#__PURE__*/
@@ -369,10 +369,10 @@ class TagInput extends BaseComponent {
369
369
  return null;
370
370
  }
371
371
 
372
- const suffixWrapperCls = cls("".concat(prefixCls, "-suffix"), {
373
- ["".concat(prefixCls, "-suffix-text")]: suffix && _isString(suffix),
372
+ const suffixWrapperCls = cls(`${prefixCls}-suffix`, {
373
+ [`${prefixCls}-suffix-text`]: suffix && _isString(suffix),
374
374
  // eslint-disable-next-line max-len
375
- ["".concat(prefixCls, "-suffix-icon")]: isSemiIcon(suffix)
375
+ [`${prefixCls}-suffix-icon`]: isSemiIcon(suffix)
376
376
  });
377
377
  return (
378
378
  /*#__PURE__*/
@@ -399,8 +399,8 @@ class TagInput extends BaseComponent {
399
399
  tagsArray,
400
400
  active
401
401
  } = this.state;
402
- const restTagsCls = cls("".concat(prefixCls, "-wrapper-n"), {
403
- ["".concat(prefixCls, "-wrapper-n-disabled")]: disabled
402
+ const restTagsCls = cls(`${prefixCls}-wrapper-n`, {
403
+ [`${prefixCls}-wrapper-n-disabled`]: disabled
404
404
  });
405
405
  const allTags = this.getAllTags();
406
406
  let restTags = [];
@@ -424,7 +424,7 @@ class TagInput extends BaseComponent {
424
424
  // @ts-ignore skip SortableItem type check
425
425
  return /*#__PURE__*/React.createElement(SortableList, {
426
426
  useDragHandle: true,
427
- helperClass: "".concat(prefixCls, "-drag-item-move"),
427
+ helperClass: `${prefixCls}-drag-item-move`,
428
428
  items: sortableListItems,
429
429
  onSortEnd: this.onSortEnd,
430
430
  axis: "xy"
@@ -478,16 +478,16 @@ class TagInput extends BaseComponent {
478
478
  active
479
479
  } = this.state;
480
480
  const tagInputCls = cls(prefixCls, className, {
481
- ["".concat(prefixCls, "-focus")]: focusing || active,
482
- ["".concat(prefixCls, "-disabled")]: disabled,
483
- ["".concat(prefixCls, "-hover")]: hovering && !disabled,
484
- ["".concat(prefixCls, "-error")]: validateStatus === 'error',
485
- ["".concat(prefixCls, "-warning")]: validateStatus === 'warning',
486
- ["".concat(prefixCls, "-small")]: size === 'small',
487
- ["".concat(prefixCls, "-large")]: size === 'large'
481
+ [`${prefixCls}-focus`]: focusing || active,
482
+ [`${prefixCls}-disabled`]: disabled,
483
+ [`${prefixCls}-hover`]: hovering && !disabled,
484
+ [`${prefixCls}-error`]: validateStatus === 'error',
485
+ [`${prefixCls}-warning`]: validateStatus === 'warning',
486
+ [`${prefixCls}-small`]: size === 'small',
487
+ [`${prefixCls}-large`]: size === 'large'
488
488
  });
489
- const inputCls = cls("".concat(prefixCls, "-wrapper-input"), "".concat(prefixCls, "-wrapper-input-").concat(size));
490
- const wrapperCls = cls("".concat(prefixCls, "-wrapper"));
489
+ const inputCls = cls(`${prefixCls}-wrapper-input`, `${prefixCls}-wrapper-input-${size}`);
490
+ const wrapperCls = cls(`${prefixCls}-wrapper`);
491
491
  return (
492
492
  /*#__PURE__*/
493
493
  // eslint-disable-next-line
@@ -141,7 +141,7 @@ class Combobox extends BaseComponent {
141
141
 
142
142
  const transformHour = value => value + locale.hour;
143
143
 
144
- const className = "".concat(prefixCls, "-list-hour");
144
+ const className = `${prefixCls}-list-hour`;
145
145
  return /*#__PURE__*/React.createElement(ScrollItem, Object.assign({
146
146
  ref: current => this.cacheRefCurrent('hour', current),
147
147
  mode: 'normal',
@@ -172,7 +172,7 @@ class Combobox extends BaseComponent {
172
172
 
173
173
  const value = new Date(timeStampValue);
174
174
  const disabledOptions = disabledMinutes && disabledMinutes(value.getHours());
175
- const className = "".concat(prefixCls, "-list-minute");
175
+ const className = `${prefixCls}-list-minute`;
176
176
 
177
177
  const transformMinute = min => min + locale.minute;
178
178
 
@@ -206,7 +206,7 @@ class Combobox extends BaseComponent {
206
206
 
207
207
  const value = new Date(timeStampValue);
208
208
  const disabledOptions = disabledSeconds && disabledSeconds(value.getHours(), value.getMinutes());
209
- const className = "".concat(prefixCls, "-list-second");
209
+ const className = `${prefixCls}-list-second`;
210
210
 
211
211
  const transformSecond = sec => String(sec) + locale.second;
212
212
 
@@ -242,7 +242,7 @@ class Combobox extends BaseComponent {
242
242
  text: locale.PM || '下午'
243
243
  }];
244
244
  const selected = isAM ? 0 : 1;
245
- const className = "".concat(prefixCls, "-list-ampm");
245
+ const className = `${prefixCls}-list-ampm`;
246
246
  return /*#__PURE__*/React.createElement(ScrollItem, Object.assign({
247
247
  ref: current => this.cacheRefCurrent('ampm', current),
248
248
  mode: 'normal',