@douyinfe/semi-ui 2.25.3 → 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 (365) hide show
  1. package/dist/umd/semi-ui.js +1936 -1925
  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.d.ts +1 -1
  8. package/lib/cjs/anchor/index.js +9 -9
  9. package/lib/cjs/anchor/link.js +8 -8
  10. package/lib/cjs/autoComplete/index.d.ts +1 -1
  11. package/lib/cjs/autoComplete/index.js +8 -4
  12. package/lib/cjs/autoComplete/option.js +7 -7
  13. package/lib/cjs/avatar/avatarGroup.js +7 -7
  14. package/lib/cjs/avatar/index.js +12 -12
  15. package/lib/cjs/badge/index.js +8 -8
  16. package/lib/cjs/banner/index.js +12 -12
  17. package/lib/cjs/breadcrumb/index.js +12 -12
  18. package/lib/cjs/breadcrumb/item.js +8 -8
  19. package/lib/cjs/button/Button.d.ts +1 -1
  20. package/lib/cjs/button/Button.js +9 -9
  21. package/lib/cjs/button/buttonGroup.d.ts +1 -1
  22. package/lib/cjs/button/buttonGroup.js +5 -5
  23. package/lib/cjs/button/index.d.ts +1 -1
  24. package/lib/cjs/button/splitButtonGroup.js +1 -1
  25. package/lib/cjs/calendar/dayCalendar.js +13 -13
  26. package/lib/cjs/calendar/dayCol.js +17 -17
  27. package/lib/cjs/calendar/monthCalendar.js +38 -38
  28. package/lib/cjs/calendar/rangeCalendar.js +27 -27
  29. package/lib/cjs/calendar/timeCol.js +6 -6
  30. package/lib/cjs/calendar/weekCalendar.js +27 -27
  31. package/lib/cjs/card/cardGroup.js +2 -2
  32. package/lib/cjs/card/index.js +16 -16
  33. package/lib/cjs/card/meta.js +5 -5
  34. package/lib/cjs/carousel/CarouselArrow.js +6 -6
  35. package/lib/cjs/carousel/CarouselIndicator.js +6 -6
  36. package/lib/cjs/carousel/index.js +12 -12
  37. package/lib/cjs/cascader/index.js +36 -36
  38. package/lib/cjs/cascader/item.js +25 -25
  39. package/lib/cjs/checkbox/checkbox.js +14 -14
  40. package/lib/cjs/checkbox/checkboxGroup.js +4 -4
  41. package/lib/cjs/checkbox/checkboxInner.js +6 -6
  42. package/lib/cjs/collapse/item.js +9 -9
  43. package/lib/cjs/collapsible/index.js +3 -3
  44. package/lib/cjs/configProvider/index.js +1 -1
  45. package/lib/cjs/datePicker/dateInput.d.ts +1 -1
  46. package/lib/cjs/datePicker/dateInput.js +16 -16
  47. package/lib/cjs/datePicker/datePicker.d.ts +2 -2
  48. package/lib/cjs/datePicker/datePicker.js +9 -9
  49. package/lib/cjs/datePicker/footer.js +1 -1
  50. package/lib/cjs/datePicker/index.js +1 -1
  51. package/lib/cjs/datePicker/month.js +2 -2
  52. package/lib/cjs/datePicker/monthsGrid.d.ts +2 -2
  53. package/lib/cjs/datePicker/monthsGrid.js +27 -27
  54. package/lib/cjs/datePicker/navigation.js +1 -1
  55. package/lib/cjs/datePicker/quickControl.js +14 -14
  56. package/lib/cjs/datePicker/yearAndMonth.js +4 -4
  57. package/lib/cjs/descriptions/index.js +3 -3
  58. package/lib/cjs/descriptions/item.js +5 -5
  59. package/lib/cjs/divider/index.js +7 -7
  60. package/lib/cjs/dropdown/dropdownDivider.js +1 -1
  61. package/lib/cjs/dropdown/dropdownItem.js +6 -6
  62. package/lib/cjs/dropdown/dropdownMenu.js +1 -1
  63. package/lib/cjs/dropdown/dropdownTitle.js +2 -2
  64. package/lib/cjs/dropdown/index.js +3 -3
  65. package/lib/cjs/empty/index.js +7 -7
  66. package/lib/cjs/form/arrayField.js +1 -1
  67. package/lib/cjs/form/baseForm.d.ts +1 -1
  68. package/lib/cjs/form/baseForm.js +2 -2
  69. package/lib/cjs/form/errorMessage.js +1 -1
  70. package/lib/cjs/form/field.d.ts +1 -1
  71. package/lib/cjs/form/group.js +2 -2
  72. package/lib/cjs/form/hoc/withField.js +16 -16
  73. package/lib/cjs/form/label.js +9 -9
  74. package/lib/cjs/form/slot.js +5 -5
  75. package/lib/cjs/grid/col.js +11 -11
  76. package/lib/cjs/grid/row.js +4 -4
  77. package/lib/cjs/highlight/index.js +1 -1
  78. package/lib/cjs/iconButton/index.js +5 -5
  79. package/lib/cjs/image/image.js +10 -10
  80. package/lib/cjs/image/preview.js +3 -3
  81. package/lib/cjs/image/previewFooter.js +12 -12
  82. package/lib/cjs/image/previewHeader.js +3 -3
  83. package/lib/cjs/image/previewImage.js +7 -7
  84. package/lib/cjs/image/previewInner.js +7 -7
  85. package/lib/cjs/input/index.d.ts +1 -1
  86. package/lib/cjs/input/index.js +38 -38
  87. package/lib/cjs/input/inputGroup.d.ts +1 -1
  88. package/lib/cjs/input/inputGroup.js +7 -7
  89. package/lib/cjs/input/textarea.js +14 -14
  90. package/lib/cjs/inputNumber/index.js +11 -11
  91. package/lib/cjs/layout/Sider.js +3 -3
  92. package/lib/cjs/layout/index.js +2 -2
  93. package/lib/cjs/list/index.js +11 -11
  94. package/lib/cjs/list/item.js +6 -6
  95. package/lib/cjs/modal/ConfirmModal.js +7 -7
  96. package/lib/cjs/modal/Modal.js +4 -4
  97. package/lib/cjs/modal/ModalContent.js +24 -24
  98. package/lib/cjs/modal/useModal/index.js +1 -1
  99. package/lib/cjs/navigation/CollapseButton.js +1 -1
  100. package/lib/cjs/navigation/Footer.js +2 -2
  101. package/lib/cjs/navigation/Header.js +5 -5
  102. package/lib/cjs/navigation/Item.js +16 -16
  103. package/lib/cjs/navigation/SubNav.js +14 -14
  104. package/lib/cjs/navigation/index.js +8 -8
  105. package/lib/cjs/notification/index.js +3 -3
  106. package/lib/cjs/notification/notice.js +12 -12
  107. package/lib/cjs/overflowList/index.js +6 -6
  108. package/lib/cjs/pagination/index.js +26 -26
  109. package/lib/cjs/popconfirm/index.js +9 -9
  110. package/lib/cjs/popover/index.js +2 -2
  111. package/lib/cjs/progress/index.js +14 -14
  112. package/lib/cjs/radio/radio.js +22 -22
  113. package/lib/cjs/radio/radioGroup.js +5 -5
  114. package/lib/cjs/radio/radioInner.js +7 -7
  115. package/lib/cjs/rating/index.d.ts +1 -1
  116. package/lib/cjs/rating/index.js +5 -5
  117. package/lib/cjs/rating/item.d.ts +1 -1
  118. package/lib/cjs/rating/item.js +11 -11
  119. package/lib/cjs/scrollList/index.js +5 -5
  120. package/lib/cjs/scrollList/scrollItem.js +13 -13
  121. package/lib/cjs/select/index.js +53 -53
  122. package/lib/cjs/select/option.js +7 -7
  123. package/lib/cjs/sideSheet/SideSheetContent.js +10 -10
  124. package/lib/cjs/sideSheet/index.js +7 -7
  125. package/lib/cjs/skeleton/index.js +1 -1
  126. package/lib/cjs/skeleton/item.js +4 -4
  127. package/lib/cjs/slider/index.js +28 -28
  128. package/lib/cjs/space/index.js +12 -12
  129. package/lib/cjs/spin/icon.js +2 -2
  130. package/lib/cjs/spin/index.js +6 -6
  131. package/lib/cjs/steps/basicStep.js +14 -14
  132. package/lib/cjs/steps/basicSteps.js +6 -6
  133. package/lib/cjs/steps/fillStep.js +10 -10
  134. package/lib/cjs/steps/fillSteps.js +4 -4
  135. package/lib/cjs/steps/navStep.js +5 -5
  136. package/lib/cjs/steps/navSteps.js +2 -2
  137. package/lib/cjs/switch/index.d.ts +1 -1
  138. package/lib/cjs/table/Body/BaseRow.js +5 -5
  139. package/lib/cjs/table/Body/ExpandedRow.js +3 -3
  140. package/lib/cjs/table/Body/SectionRow.js +1 -1
  141. package/lib/cjs/table/Body/index.js +8 -8
  142. package/lib/cjs/table/ColGroup.js +2 -2
  143. package/lib/cjs/table/ColumnFilter.js +3 -3
  144. package/lib/cjs/table/ColumnSelection.js +2 -2
  145. package/lib/cjs/table/ColumnSorter.js +7 -7
  146. package/lib/cjs/table/CustomExpandIcon.js +2 -2
  147. package/lib/cjs/table/HeadTable.js +3 -3
  148. package/lib/cjs/table/Table.d.ts +3 -3
  149. package/lib/cjs/table/Table.js +20 -20
  150. package/lib/cjs/table/TableCell.js +8 -8
  151. package/lib/cjs/table/TableHeader.js +1 -1
  152. package/lib/cjs/table/TableHeaderRow.js +8 -8
  153. package/lib/cjs/table/TablePagination.js +3 -3
  154. package/lib/cjs/table/index.d.ts +1 -1
  155. package/lib/cjs/tabs/TabBar.js +18 -18
  156. package/lib/cjs/tabs/TabPane.js +3 -3
  157. package/lib/cjs/tabs/index.js +2 -2
  158. package/lib/cjs/tag/group.js +5 -5
  159. package/lib/cjs/tag/index.js +13 -13
  160. package/lib/cjs/tagInput/index.d.ts +1 -1
  161. package/lib/cjs/tagInput/index.js +33 -33
  162. package/lib/cjs/timePicker/Combobox.js +4 -4
  163. package/lib/cjs/timePicker/TimeInput.js +4 -4
  164. package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
  165. package/lib/cjs/timePicker/TimePicker.js +8 -8
  166. package/lib/cjs/timePicker/index.d.ts +1 -1
  167. package/lib/cjs/timeline/index.js +8 -8
  168. package/lib/cjs/timeline/item.js +7 -7
  169. package/lib/cjs/toast/index.js +5 -5
  170. package/lib/cjs/toast/toast.js +9 -9
  171. package/lib/cjs/tooltip/index.js +7 -7
  172. package/lib/cjs/transfer/index.js +31 -31
  173. package/lib/cjs/tree/autoSizer.js +1 -1
  174. package/lib/cjs/tree/index.js +6 -6
  175. package/lib/cjs/tree/nodeList.js +1 -1
  176. package/lib/cjs/tree/treeNode.js +26 -26
  177. package/lib/cjs/treeSelect/index.js +40 -40
  178. package/lib/cjs/typography/base.js +14 -14
  179. package/lib/cjs/typography/copyable.js +3 -3
  180. package/lib/cjs/typography/paragraph.js +1 -1
  181. package/lib/cjs/typography/title.js +1 -1
  182. package/lib/cjs/typography/util.js +1 -1
  183. package/lib/cjs/upload/fileCard.js +32 -32
  184. package/lib/cjs/upload/index.js +37 -37
  185. package/lib/es/_portal/index.js +2 -2
  186. package/lib/es/_utils/index.js +3 -1
  187. package/lib/es/anchor/index.d.ts +1 -1
  188. package/lib/es/anchor/index.js +9 -9
  189. package/lib/es/anchor/link.js +8 -8
  190. package/lib/es/autoComplete/index.d.ts +1 -1
  191. package/lib/es/autoComplete/index.js +8 -4
  192. package/lib/es/autoComplete/option.js +7 -7
  193. package/lib/es/avatar/avatarGroup.js +7 -7
  194. package/lib/es/avatar/index.js +12 -12
  195. package/lib/es/badge/index.js +8 -8
  196. package/lib/es/banner/index.js +12 -12
  197. package/lib/es/breadcrumb/index.js +12 -12
  198. package/lib/es/breadcrumb/item.js +8 -8
  199. package/lib/es/button/Button.d.ts +1 -1
  200. package/lib/es/button/Button.js +9 -9
  201. package/lib/es/button/buttonGroup.d.ts +1 -1
  202. package/lib/es/button/buttonGroup.js +5 -5
  203. package/lib/es/button/index.d.ts +1 -1
  204. package/lib/es/button/splitButtonGroup.js +1 -1
  205. package/lib/es/calendar/dayCalendar.js +13 -13
  206. package/lib/es/calendar/dayCol.js +17 -17
  207. package/lib/es/calendar/monthCalendar.js +38 -38
  208. package/lib/es/calendar/rangeCalendar.js +27 -27
  209. package/lib/es/calendar/timeCol.js +6 -6
  210. package/lib/es/calendar/weekCalendar.js +27 -27
  211. package/lib/es/card/cardGroup.js +2 -2
  212. package/lib/es/card/index.js +16 -16
  213. package/lib/es/card/meta.js +5 -5
  214. package/lib/es/carousel/CarouselArrow.js +6 -6
  215. package/lib/es/carousel/CarouselIndicator.js +6 -6
  216. package/lib/es/carousel/index.js +12 -12
  217. package/lib/es/cascader/index.js +36 -36
  218. package/lib/es/cascader/item.js +25 -25
  219. package/lib/es/checkbox/checkbox.js +14 -14
  220. package/lib/es/checkbox/checkboxGroup.js +4 -4
  221. package/lib/es/checkbox/checkboxInner.js +6 -6
  222. package/lib/es/collapse/item.js +9 -9
  223. package/lib/es/collapsible/index.js +3 -3
  224. package/lib/es/configProvider/index.js +1 -1
  225. package/lib/es/datePicker/dateInput.d.ts +1 -1
  226. package/lib/es/datePicker/dateInput.js +16 -16
  227. package/lib/es/datePicker/datePicker.d.ts +2 -2
  228. package/lib/es/datePicker/datePicker.js +9 -9
  229. package/lib/es/datePicker/footer.js +1 -1
  230. package/lib/es/datePicker/index.js +1 -1
  231. package/lib/es/datePicker/month.js +2 -2
  232. package/lib/es/datePicker/monthsGrid.d.ts +2 -2
  233. package/lib/es/datePicker/monthsGrid.js +27 -27
  234. package/lib/es/datePicker/navigation.js +1 -1
  235. package/lib/es/datePicker/quickControl.js +14 -14
  236. package/lib/es/datePicker/yearAndMonth.js +4 -4
  237. package/lib/es/descriptions/index.js +3 -3
  238. package/lib/es/descriptions/item.js +5 -5
  239. package/lib/es/divider/index.js +7 -7
  240. package/lib/es/dropdown/dropdownDivider.js +1 -1
  241. package/lib/es/dropdown/dropdownItem.js +6 -6
  242. package/lib/es/dropdown/dropdownMenu.js +1 -1
  243. package/lib/es/dropdown/dropdownTitle.js +2 -2
  244. package/lib/es/dropdown/index.js +3 -3
  245. package/lib/es/empty/index.js +7 -7
  246. package/lib/es/form/arrayField.js +1 -1
  247. package/lib/es/form/baseForm.d.ts +1 -1
  248. package/lib/es/form/baseForm.js +2 -2
  249. package/lib/es/form/errorMessage.js +1 -1
  250. package/lib/es/form/field.d.ts +1 -1
  251. package/lib/es/form/group.js +2 -2
  252. package/lib/es/form/hoc/withField.js +16 -16
  253. package/lib/es/form/label.js +9 -9
  254. package/lib/es/form/slot.js +5 -5
  255. package/lib/es/grid/col.js +11 -11
  256. package/lib/es/grid/row.js +4 -4
  257. package/lib/es/highlight/index.js +1 -1
  258. package/lib/es/iconButton/index.js +5 -5
  259. package/lib/es/image/image.js +10 -10
  260. package/lib/es/image/preview.js +3 -3
  261. package/lib/es/image/previewFooter.js +12 -12
  262. package/lib/es/image/previewHeader.js +3 -3
  263. package/lib/es/image/previewImage.js +7 -7
  264. package/lib/es/image/previewInner.js +7 -7
  265. package/lib/es/input/index.d.ts +1 -1
  266. package/lib/es/input/index.js +38 -38
  267. package/lib/es/input/inputGroup.d.ts +1 -1
  268. package/lib/es/input/inputGroup.js +7 -7
  269. package/lib/es/input/textarea.js +14 -14
  270. package/lib/es/inputNumber/index.js +11 -11
  271. package/lib/es/layout/Sider.js +3 -3
  272. package/lib/es/layout/index.js +2 -2
  273. package/lib/es/list/index.js +11 -11
  274. package/lib/es/list/item.js +6 -6
  275. package/lib/es/modal/ConfirmModal.js +7 -7
  276. package/lib/es/modal/Modal.js +4 -4
  277. package/lib/es/modal/ModalContent.js +24 -24
  278. package/lib/es/modal/useModal/index.js +1 -1
  279. package/lib/es/navigation/CollapseButton.js +1 -1
  280. package/lib/es/navigation/Footer.js +2 -2
  281. package/lib/es/navigation/Header.js +5 -5
  282. package/lib/es/navigation/Item.js +16 -16
  283. package/lib/es/navigation/SubNav.js +14 -14
  284. package/lib/es/navigation/index.js +8 -8
  285. package/lib/es/notification/index.js +3 -3
  286. package/lib/es/notification/notice.js +12 -12
  287. package/lib/es/overflowList/index.js +6 -6
  288. package/lib/es/pagination/index.js +26 -26
  289. package/lib/es/popconfirm/index.js +9 -9
  290. package/lib/es/popover/index.js +2 -2
  291. package/lib/es/progress/index.js +14 -14
  292. package/lib/es/radio/radio.js +22 -22
  293. package/lib/es/radio/radioGroup.js +5 -5
  294. package/lib/es/radio/radioInner.js +7 -7
  295. package/lib/es/rating/index.d.ts +1 -1
  296. package/lib/es/rating/index.js +5 -5
  297. package/lib/es/rating/item.d.ts +1 -1
  298. package/lib/es/rating/item.js +11 -11
  299. package/lib/es/scrollList/index.js +5 -5
  300. package/lib/es/scrollList/scrollItem.js +13 -13
  301. package/lib/es/select/index.js +53 -53
  302. package/lib/es/select/option.js +7 -7
  303. package/lib/es/sideSheet/SideSheetContent.js +10 -10
  304. package/lib/es/sideSheet/index.js +7 -7
  305. package/lib/es/skeleton/index.js +1 -1
  306. package/lib/es/skeleton/item.js +4 -4
  307. package/lib/es/slider/index.js +28 -28
  308. package/lib/es/space/index.js +12 -12
  309. package/lib/es/spin/icon.js +2 -2
  310. package/lib/es/spin/index.js +6 -6
  311. package/lib/es/steps/basicStep.js +14 -14
  312. package/lib/es/steps/basicSteps.js +6 -6
  313. package/lib/es/steps/fillStep.js +10 -10
  314. package/lib/es/steps/fillSteps.js +4 -4
  315. package/lib/es/steps/navStep.js +5 -5
  316. package/lib/es/steps/navSteps.js +2 -2
  317. package/lib/es/switch/index.d.ts +1 -1
  318. package/lib/es/table/Body/BaseRow.js +5 -5
  319. package/lib/es/table/Body/ExpandedRow.js +3 -3
  320. package/lib/es/table/Body/SectionRow.js +1 -1
  321. package/lib/es/table/Body/index.js +8 -8
  322. package/lib/es/table/ColGroup.js +2 -2
  323. package/lib/es/table/ColumnFilter.js +3 -3
  324. package/lib/es/table/ColumnSelection.js +2 -2
  325. package/lib/es/table/ColumnSorter.js +7 -7
  326. package/lib/es/table/CustomExpandIcon.js +2 -2
  327. package/lib/es/table/HeadTable.js +3 -3
  328. package/lib/es/table/Table.d.ts +3 -3
  329. package/lib/es/table/Table.js +20 -20
  330. package/lib/es/table/TableCell.js +8 -8
  331. package/lib/es/table/TableHeader.js +1 -1
  332. package/lib/es/table/TableHeaderRow.js +8 -8
  333. package/lib/es/table/TablePagination.js +3 -3
  334. package/lib/es/table/index.d.ts +1 -1
  335. package/lib/es/tabs/TabBar.js +18 -18
  336. package/lib/es/tabs/TabPane.js +3 -3
  337. package/lib/es/tabs/index.js +2 -2
  338. package/lib/es/tag/group.js +5 -5
  339. package/lib/es/tag/index.js +13 -13
  340. package/lib/es/tagInput/index.d.ts +1 -1
  341. package/lib/es/tagInput/index.js +33 -33
  342. package/lib/es/timePicker/Combobox.js +4 -4
  343. package/lib/es/timePicker/TimeInput.js +4 -4
  344. package/lib/es/timePicker/TimePicker.d.ts +1 -1
  345. package/lib/es/timePicker/TimePicker.js +8 -8
  346. package/lib/es/timePicker/index.d.ts +1 -1
  347. package/lib/es/timeline/index.js +8 -8
  348. package/lib/es/timeline/item.js +7 -7
  349. package/lib/es/toast/index.js +5 -5
  350. package/lib/es/toast/toast.js +9 -9
  351. package/lib/es/tooltip/index.js +7 -7
  352. package/lib/es/transfer/index.js +31 -31
  353. package/lib/es/tree/autoSizer.js +1 -1
  354. package/lib/es/tree/index.js +6 -6
  355. package/lib/es/tree/nodeList.js +1 -1
  356. package/lib/es/tree/treeNode.js +26 -26
  357. package/lib/es/treeSelect/index.js +40 -40
  358. package/lib/es/typography/base.js +14 -14
  359. package/lib/es/typography/copyable.js +3 -3
  360. package/lib/es/typography/paragraph.js +1 -1
  361. package/lib/es/typography/title.js +1 -1
  362. package/lib/es/typography/util.js +1 -1
  363. package/lib/es/upload/fileCard.js +32 -32
  364. package/lib/es/upload/index.js +37 -37
  365. package/package.json +8 -8
@@ -69,7 +69,7 @@ function renderDropdown() {
69
69
  const {
70
70
  value
71
71
  } = filter;
72
- const key = "".concat(level, "_").concat(index);
72
+ const key = `${level}_${index}`;
73
73
  const dropdownItem = typeof renderFilterDropdownItem === 'function' ? renderFilterDropdownItem({
74
74
  onChange: changeFn,
75
75
  filterMultiple,
@@ -109,7 +109,7 @@ function renderDropdown() {
109
109
  }
110
110
 
111
111
  return /*#__PURE__*/React.createElement(Dropdown, Object.assign({}, dropdownProps, {
112
- key: "Dropdown_level_".concat(level)
112
+ key: `Dropdown_level_${level}`
113
113
  }), nestedElem);
114
114
  }
115
115
 
@@ -125,7 +125,7 @@ export default function ColumnFilter() {
125
125
  let {
126
126
  filterDropdown = null
127
127
  } = props;
128
- const finalCls = cls("".concat(prefixCls, "-column-filter"), {
128
+ const finalCls = cls(`${prefixCls}-column-filter`, {
129
129
  on: Array.isArray(filteredValue) && filteredValue.length
130
130
  });
131
131
  let iconElem;
@@ -52,8 +52,8 @@ export default class TableSelectionCell extends BaseComponent {
52
52
  checkboxProps = Object.assign(Object.assign({}, checkboxProps), getCheckboxProps());
53
53
  }
54
54
 
55
- const wrapCls = classnames("".concat(prefixCls, "-selection-wrap"), {
56
- ["".concat(prefixCls, "-selection-disabled")]: disabled
55
+ const wrapCls = classnames(`${prefixCls}-selection-wrap`, {
56
+ [`${prefixCls}-selection-disabled`]: disabled
57
57
  }, className);
58
58
  return /*#__PURE__*/React.createElement("span", {
59
59
  className: wrapCls
@@ -15,10 +15,10 @@ export default class ColumnSorter extends PureComponent {
15
15
  title
16
16
  } = this.props;
17
17
  const iconBtnSize = 'default';
18
- const upCls = cls("".concat(prefixCls, "-column-sorter-up"), {
18
+ const upCls = cls(`${prefixCls}-column-sorter-up`, {
19
19
  on: sortOrder === strings.SORT_DIRECTIONS[0]
20
20
  });
21
- const downCls = cls("".concat(prefixCls, "-column-sorter-down"), {
21
+ const downCls = cls(`${prefixCls}-column-sorter-down`, {
22
22
  on: sortOrder === strings.SORT_DIRECTIONS[1]
23
23
  });
24
24
  const ariaProps = {
@@ -26,25 +26,25 @@ export default class ColumnSorter extends PureComponent {
26
26
  * Set 'aria-sort' to aria-columnheader is difficult, so set 'aria-label' about sort info to sorter
27
27
  * reference: https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaSort
28
28
  */
29
- 'aria-label': "Current sort order is ".concat(sortOrder ? "".concat(sortOrder, "ing") : 'none'),
29
+ 'aria-label': `Current sort order is ${sortOrder ? `${sortOrder}ing` : 'none'}`,
30
30
  'aria-roledescription': 'Sort data with this column'
31
31
  };
32
32
  return /*#__PURE__*/React.createElement("div", Object.assign({
33
33
  role: 'button'
34
34
  }, ariaProps, {
35
35
  tabIndex: -1,
36
- className: "".concat(prefixCls, "-column-sorter-wrapper"),
36
+ className: `${prefixCls}-column-sorter-wrapper`,
37
37
  onClick: onClick,
38
38
  onKeyPress: e => isEnterPress(e) && onClick(e)
39
39
  }), title, /*#__PURE__*/React.createElement("div", {
40
40
  style: style,
41
- className: "".concat(prefixCls, "-column-sorter")
41
+ className: `${prefixCls}-column-sorter`
42
42
  }, /*#__PURE__*/React.createElement("span", {
43
- className: "".concat(upCls)
43
+ className: `${upCls}`
44
44
  }, /*#__PURE__*/React.createElement(IconCaretup, {
45
45
  size: iconBtnSize
46
46
  })), /*#__PURE__*/React.createElement("span", {
47
- className: "".concat(downCls)
47
+ className: `${downCls}`
48
48
  }, /*#__PURE__*/React.createElement(IconCaretdown, {
49
49
  size: iconBtnSize
50
50
  }))));
@@ -48,7 +48,7 @@ export default function CustomExpandIcon(props) {
48
48
  const originIcon = icon;
49
49
  icon = /*#__PURE__*/React.createElement(CSSAnimation, {
50
50
  animationState: expanded ? "enter" : "leave",
51
- startClassName: "".concat(cssClasses.PREFIX, "-expandedIcon-").concat(expanded ? 'show' : "hide")
51
+ startClassName: `${cssClasses.PREFIX}-expandedIcon-${expanded ? 'show' : "hide"}`
52
52
  }, _ref => {
53
53
  let {
54
54
  animationClassName
@@ -66,7 +66,7 @@ export default function CustomExpandIcon(props) {
66
66
  onClick: handleClick,
67
67
  onMouseEnter: onMouseEnter,
68
68
  onMouseLeave: onMouseLeave,
69
- className: "".concat(prefixCls, "-expand-icon"),
69
+ className: `${prefixCls}-expand-icon`,
70
70
  onKeyPress: e => isEnterPress(e) && handleClick(e)
71
71
  }, icon);
72
72
  }
@@ -63,8 +63,8 @@ class HeadTable extends React.PureComponent {
63
63
  components: components,
64
64
  onDidUpdate: onDidUpdate
65
65
  }));
66
- const headTableCls = classnames("".concat(prefixCls, "-header"), {
67
- ["".concat(prefixCls, "-header-sticky")]: sticky
66
+ const headTableCls = classnames(`${prefixCls}-header`, {
67
+ [`${prefixCls}-header-sticky`]: sticky
68
68
  });
69
69
 
70
70
  const stickyTop = _get(sticky, 'top', 0);
@@ -82,7 +82,7 @@ class HeadTable extends React.PureComponent {
82
82
  }, /*#__PURE__*/React.createElement(Table, {
83
83
  style: tableStyle,
84
84
  className: classnames(prefixCls, {
85
- ["".concat(prefixCls, "-fixed")]: anyColumnFixed
85
+ [`${prefixCls}-fixed`]: anyColumnFixed
86
86
  })
87
87
  }, colgroup, tableHeader));
88
88
  }
@@ -52,7 +52,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
52
52
  components: PropTypes.Requireable<any>;
53
53
  bordered: PropTypes.Requireable<boolean>;
54
54
  loading: PropTypes.Requireable<boolean>;
55
- size: PropTypes.Requireable<"small" | "default" | "middle">;
55
+ size: PropTypes.Requireable<"default" | "small" | "middle">;
56
56
  tableLayout: PropTypes.Requireable<"" | "fixed" | "auto">;
57
57
  columns: PropTypes.Requireable<PropTypes.InferProps<{
58
58
  align: PropTypes.Requireable<"left" | "right" | "center">;
@@ -280,7 +280,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
280
280
  * Combine pagination and table paging processing functions
281
281
  */
282
282
  mergePagination: (pagination: TablePaginationProps) => {
283
- position?: "both" | "top" | "bottom";
283
+ position?: "top" | "bottom" | "both";
284
284
  formatPageText?: import("./interface").FormatPageText;
285
285
  style?: React.CSSProperties;
286
286
  className?: string;
@@ -289,7 +289,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
289
289
  showTotal?: boolean;
290
290
  pageSize?: number;
291
291
  pageSizeOpts?: number[];
292
- size?: "small" | "default";
292
+ size?: "default" | "small";
293
293
  currentPage?: number;
294
294
  defaultCurrentPage?: number;
295
295
  onPageChange?: (currentPage: number) => void;
@@ -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)));
@@ -15,7 +15,7 @@ declare class Table<RecordType extends Record<string, any> = Data> extends React
15
15
  components: PropTypes.Requireable<any>;
16
16
  bordered: PropTypes.Requireable<boolean>;
17
17
  loading: PropTypes.Requireable<boolean>;
18
- size: PropTypes.Requireable<"small" | "default" | "middle">;
18
+ size: PropTypes.Requireable<"default" | "small" | "middle">;
19
19
  tableLayout: PropTypes.Requireable<"" | "fixed" | "auto">;
20
20
  columns: PropTypes.Requireable<PropTypes.InferProps<{
21
21
  align: PropTypes.Requireable<"left" | "right" | "center">;
@@ -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
 
@@ -91,7 +91,7 @@ declare class TagInput extends BaseComponent<TagInputProps, TagInputState> {
91
91
  onAdd: PropTypes.Requireable<(...args: any[]) => any>;
92
92
  onRemove: PropTypes.Requireable<(...args: any[]) => any>;
93
93
  onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
94
- size: PropTypes.Requireable<"small" | "default" | "large">;
94
+ size: PropTypes.Requireable<"default" | "small" | "large">;
95
95
  validateStatus: PropTypes.Requireable<"default" | "error" | "warning" | "success">;
96
96
  prefix: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
97
97
  suffix: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;