@douyinfe/semi-ui 2.27.1-alpha.2 → 2.27.1-alpha.3

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 (389) hide show
  1. package/dist/css/semi.css +8 -7
  2. package/dist/css/semi.min.css +1 -1
  3. package/dist/umd/semi-ui.js +1738 -1745
  4. package/dist/umd/semi-ui.js.map +1 -1
  5. package/dist/umd/semi-ui.min.js +1 -1
  6. package/dist/umd/semi-ui.min.js.map +1 -1
  7. package/lib/cjs/_portal/index.js +2 -2
  8. package/lib/cjs/_utils/index.js +1 -3
  9. package/lib/cjs/anchor/index.d.ts +1 -1
  10. package/lib/cjs/anchor/index.js +9 -9
  11. package/lib/cjs/anchor/link.js +8 -8
  12. package/lib/cjs/autoComplete/index.d.ts +1 -1
  13. package/lib/cjs/autoComplete/index.js +4 -8
  14. package/lib/cjs/autoComplete/option.js +7 -7
  15. package/lib/cjs/avatar/avatarGroup.js +7 -7
  16. package/lib/cjs/avatar/index.js +12 -12
  17. package/lib/cjs/badge/index.js +8 -8
  18. package/lib/cjs/banner/index.js +12 -12
  19. package/lib/cjs/breadcrumb/index.js +12 -12
  20. package/lib/cjs/breadcrumb/item.js +8 -8
  21. package/lib/cjs/button/Button.d.ts +2 -2
  22. package/lib/cjs/button/Button.js +9 -9
  23. package/lib/cjs/button/buttonGroup.d.ts +1 -1
  24. package/lib/cjs/button/buttonGroup.js +5 -5
  25. package/lib/cjs/button/index.d.ts +2 -2
  26. package/lib/cjs/button/splitButtonGroup.js +1 -1
  27. package/lib/cjs/calendar/dayCalendar.js +13 -13
  28. package/lib/cjs/calendar/dayCol.js +17 -17
  29. package/lib/cjs/calendar/monthCalendar.js +38 -38
  30. package/lib/cjs/calendar/rangeCalendar.js +27 -27
  31. package/lib/cjs/calendar/timeCol.js +6 -6
  32. package/lib/cjs/calendar/weekCalendar.js +27 -27
  33. package/lib/cjs/card/cardGroup.js +2 -2
  34. package/lib/cjs/card/index.js +16 -16
  35. package/lib/cjs/card/meta.js +5 -5
  36. package/lib/cjs/carousel/CarouselArrow.js +6 -6
  37. package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
  38. package/lib/cjs/carousel/CarouselIndicator.js +6 -6
  39. package/lib/cjs/carousel/index.d.ts +1 -1
  40. package/lib/cjs/carousel/index.js +12 -12
  41. package/lib/cjs/cascader/index.d.ts +1 -1
  42. package/lib/cjs/cascader/index.js +36 -36
  43. package/lib/cjs/cascader/item.d.ts +1 -1
  44. package/lib/cjs/cascader/item.js +25 -25
  45. package/lib/cjs/checkbox/checkbox.js +14 -14
  46. package/lib/cjs/checkbox/checkboxGroup.js +4 -4
  47. package/lib/cjs/checkbox/checkboxInner.js +6 -6
  48. package/lib/cjs/collapse/item.js +9 -9
  49. package/lib/cjs/collapsible/index.js +3 -3
  50. package/lib/cjs/configProvider/index.js +1 -1
  51. package/lib/cjs/datePicker/dateInput.d.ts +1 -1
  52. package/lib/cjs/datePicker/dateInput.js +16 -16
  53. package/lib/cjs/datePicker/datePicker.d.ts +2 -2
  54. package/lib/cjs/datePicker/datePicker.js +9 -9
  55. package/lib/cjs/datePicker/footer.js +1 -1
  56. package/lib/cjs/datePicker/index.js +1 -1
  57. package/lib/cjs/datePicker/month.js +2 -2
  58. package/lib/cjs/datePicker/monthsGrid.d.ts +1 -1
  59. package/lib/cjs/datePicker/monthsGrid.js +27 -27
  60. package/lib/cjs/datePicker/navigation.js +1 -1
  61. package/lib/cjs/datePicker/quickControl.js +14 -14
  62. package/lib/cjs/datePicker/yearAndMonth.js +4 -4
  63. package/lib/cjs/descriptions/index.js +3 -3
  64. package/lib/cjs/descriptions/item.js +5 -5
  65. package/lib/cjs/divider/index.js +7 -7
  66. package/lib/cjs/dropdown/dropdownDivider.js +1 -1
  67. package/lib/cjs/dropdown/dropdownItem.js +7 -7
  68. package/lib/cjs/dropdown/dropdownMenu.js +1 -1
  69. package/lib/cjs/dropdown/dropdownTitle.js +2 -2
  70. package/lib/cjs/dropdown/index.js +3 -3
  71. package/lib/cjs/empty/index.js +7 -7
  72. package/lib/cjs/form/arrayField.js +1 -1
  73. package/lib/cjs/form/baseForm.d.ts +1 -1
  74. package/lib/cjs/form/baseForm.js +2 -2
  75. package/lib/cjs/form/errorMessage.js +1 -1
  76. package/lib/cjs/form/field.d.ts +1 -1
  77. package/lib/cjs/form/group.js +2 -2
  78. package/lib/cjs/form/hoc/withField.js +16 -16
  79. package/lib/cjs/form/label.js +9 -9
  80. package/lib/cjs/form/slot.js +5 -5
  81. package/lib/cjs/grid/col.js +11 -11
  82. package/lib/cjs/grid/row.js +4 -4
  83. package/lib/cjs/highlight/index.js +1 -1
  84. package/lib/cjs/iconButton/index.js +5 -5
  85. package/lib/cjs/image/image.js +10 -10
  86. package/lib/cjs/image/preview.js +3 -3
  87. package/lib/cjs/image/previewFooter.js +12 -12
  88. package/lib/cjs/image/previewHeader.js +3 -3
  89. package/lib/cjs/image/previewImage.js +7 -7
  90. package/lib/cjs/image/previewInner.js +7 -7
  91. package/lib/cjs/input/index.d.ts +1 -1
  92. package/lib/cjs/input/index.js +38 -38
  93. package/lib/cjs/input/inputGroup.d.ts +1 -1
  94. package/lib/cjs/input/inputGroup.js +7 -7
  95. package/lib/cjs/input/textarea.js +14 -14
  96. package/lib/cjs/inputNumber/index.js +11 -11
  97. package/lib/cjs/layout/Sider.js +3 -3
  98. package/lib/cjs/layout/index.js +2 -2
  99. package/lib/cjs/list/index.js +11 -11
  100. package/lib/cjs/list/item.js +6 -6
  101. package/lib/cjs/modal/ConfirmModal.js +7 -7
  102. package/lib/cjs/modal/Modal.js +4 -4
  103. package/lib/cjs/modal/ModalContent.js +24 -24
  104. package/lib/cjs/modal/useModal/index.js +1 -1
  105. package/lib/cjs/navigation/CollapseButton.js +1 -1
  106. package/lib/cjs/navigation/Footer.js +2 -2
  107. package/lib/cjs/navigation/Header.js +5 -5
  108. package/lib/cjs/navigation/Item.js +18 -18
  109. package/lib/cjs/navigation/SubNav.js +17 -17
  110. package/lib/cjs/navigation/index.js +8 -8
  111. package/lib/cjs/notification/index.js +3 -3
  112. package/lib/cjs/notification/notice.js +12 -12
  113. package/lib/cjs/overflowList/index.js +6 -6
  114. package/lib/cjs/pagination/index.js +26 -26
  115. package/lib/cjs/popconfirm/index.js +9 -9
  116. package/lib/cjs/popover/index.d.ts +1 -1
  117. package/lib/cjs/popover/index.js +2 -2
  118. package/lib/cjs/progress/index.js +14 -14
  119. package/lib/cjs/radio/radio.js +22 -22
  120. package/lib/cjs/radio/radioGroup.js +5 -5
  121. package/lib/cjs/radio/radioInner.js +7 -7
  122. package/lib/cjs/rating/index.d.ts +1 -1
  123. package/lib/cjs/rating/index.js +5 -5
  124. package/lib/cjs/rating/item.d.ts +1 -1
  125. package/lib/cjs/rating/item.js +11 -11
  126. package/lib/cjs/scrollList/index.js +5 -5
  127. package/lib/cjs/scrollList/scrollItem.js +13 -13
  128. package/lib/cjs/select/index.js +57 -57
  129. package/lib/cjs/select/option.js +7 -7
  130. package/lib/cjs/sideSheet/SideSheetContent.js +10 -10
  131. package/lib/cjs/sideSheet/index.js +7 -7
  132. package/lib/cjs/skeleton/index.js +1 -1
  133. package/lib/cjs/skeleton/item.js +4 -4
  134. package/lib/cjs/slider/index.js +28 -28
  135. package/lib/cjs/space/index.js +12 -12
  136. package/lib/cjs/spin/icon.js +2 -2
  137. package/lib/cjs/spin/index.js +6 -6
  138. package/lib/cjs/steps/basicStep.js +14 -14
  139. package/lib/cjs/steps/basicSteps.js +6 -6
  140. package/lib/cjs/steps/fillStep.js +10 -10
  141. package/lib/cjs/steps/fillSteps.js +4 -4
  142. package/lib/cjs/steps/navStep.js +5 -5
  143. package/lib/cjs/steps/navSteps.js +2 -2
  144. package/lib/cjs/switch/index.d.ts +1 -1
  145. package/lib/cjs/table/Body/BaseRow.js +5 -5
  146. package/lib/cjs/table/Body/ExpandedRow.js +3 -3
  147. package/lib/cjs/table/Body/SectionRow.js +1 -1
  148. package/lib/cjs/table/Body/index.js +8 -8
  149. package/lib/cjs/table/ColGroup.js +2 -2
  150. package/lib/cjs/table/ColumnFilter.js +3 -3
  151. package/lib/cjs/table/ColumnSelection.js +2 -2
  152. package/lib/cjs/table/ColumnSorter.js +7 -7
  153. package/lib/cjs/table/CustomExpandIcon.js +2 -2
  154. package/lib/cjs/table/HeadTable.js +3 -3
  155. package/lib/cjs/table/Table.d.ts +2 -2
  156. package/lib/cjs/table/Table.js +20 -20
  157. package/lib/cjs/table/TableCell.js +8 -8
  158. package/lib/cjs/table/TableHeader.js +1 -1
  159. package/lib/cjs/table/TableHeaderRow.js +8 -8
  160. package/lib/cjs/table/TablePagination.js +3 -3
  161. package/lib/cjs/table/index.d.ts +1 -1
  162. package/lib/cjs/tabs/TabBar.js +18 -18
  163. package/lib/cjs/tabs/TabPane.js +3 -3
  164. package/lib/cjs/tabs/index.js +2 -2
  165. package/lib/cjs/tag/group.js +5 -5
  166. package/lib/cjs/tag/index.js +13 -13
  167. package/lib/cjs/tagInput/index.d.ts +1 -1
  168. package/lib/cjs/tagInput/index.js +33 -33
  169. package/lib/cjs/timePicker/Combobox.js +4 -4
  170. package/lib/cjs/timePicker/TimeInput.js +4 -4
  171. package/lib/cjs/timePicker/TimePicker.d.ts +1 -1
  172. package/lib/cjs/timePicker/TimePicker.js +8 -8
  173. package/lib/cjs/timePicker/index.d.ts +1 -1
  174. package/lib/cjs/timeline/index.js +8 -8
  175. package/lib/cjs/timeline/item.js +7 -7
  176. package/lib/cjs/toast/index.js +5 -5
  177. package/lib/cjs/toast/toast.js +9 -9
  178. package/lib/cjs/tooltip/index.d.ts +1 -1
  179. package/lib/cjs/tooltip/index.js +7 -7
  180. package/lib/cjs/transfer/index.js +31 -31
  181. package/lib/cjs/tree/autoSizer.js +1 -1
  182. package/lib/cjs/tree/index.js +6 -6
  183. package/lib/cjs/tree/nodeList.js +1 -1
  184. package/lib/cjs/tree/treeNode.js +26 -26
  185. package/lib/cjs/treeSelect/index.js +41 -41
  186. package/lib/cjs/typography/base.d.ts +1 -1
  187. package/lib/cjs/typography/base.js +14 -14
  188. package/lib/cjs/typography/copyable.js +3 -3
  189. package/lib/cjs/typography/numeral.d.ts +1 -1
  190. package/lib/cjs/typography/paragraph.d.ts +1 -1
  191. package/lib/cjs/typography/paragraph.js +1 -1
  192. package/lib/cjs/typography/text.d.ts +1 -1
  193. package/lib/cjs/typography/title.d.ts +2 -2
  194. package/lib/cjs/typography/title.js +1 -1
  195. package/lib/cjs/typography/util.js +1 -1
  196. package/lib/cjs/upload/fileCard.js +32 -32
  197. package/lib/cjs/upload/index.js +37 -37
  198. package/lib/es/_portal/index.js +2 -2
  199. package/lib/es/_utils/index.js +1 -3
  200. package/lib/es/anchor/index.d.ts +1 -1
  201. package/lib/es/anchor/index.js +9 -9
  202. package/lib/es/anchor/link.js +8 -8
  203. package/lib/es/autoComplete/index.d.ts +1 -1
  204. package/lib/es/autoComplete/index.js +4 -8
  205. package/lib/es/autoComplete/option.js +7 -7
  206. package/lib/es/avatar/avatarGroup.js +7 -7
  207. package/lib/es/avatar/index.js +12 -12
  208. package/lib/es/badge/index.js +8 -8
  209. package/lib/es/banner/index.js +12 -12
  210. package/lib/es/breadcrumb/index.js +12 -12
  211. package/lib/es/breadcrumb/item.js +8 -8
  212. package/lib/es/button/Button.d.ts +2 -2
  213. package/lib/es/button/Button.js +9 -9
  214. package/lib/es/button/buttonGroup.d.ts +1 -1
  215. package/lib/es/button/buttonGroup.js +5 -5
  216. package/lib/es/button/index.d.ts +2 -2
  217. package/lib/es/button/splitButtonGroup.js +1 -1
  218. package/lib/es/calendar/dayCalendar.js +13 -13
  219. package/lib/es/calendar/dayCol.js +17 -17
  220. package/lib/es/calendar/monthCalendar.js +38 -38
  221. package/lib/es/calendar/rangeCalendar.js +27 -27
  222. package/lib/es/calendar/timeCol.js +6 -6
  223. package/lib/es/calendar/weekCalendar.js +27 -27
  224. package/lib/es/card/cardGroup.js +2 -2
  225. package/lib/es/card/index.js +16 -16
  226. package/lib/es/card/meta.js +5 -5
  227. package/lib/es/carousel/CarouselArrow.js +6 -6
  228. package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
  229. package/lib/es/carousel/CarouselIndicator.js +6 -6
  230. package/lib/es/carousel/index.d.ts +1 -1
  231. package/lib/es/carousel/index.js +12 -12
  232. package/lib/es/cascader/index.d.ts +1 -1
  233. package/lib/es/cascader/index.js +36 -36
  234. package/lib/es/cascader/item.d.ts +1 -1
  235. package/lib/es/cascader/item.js +25 -25
  236. package/lib/es/checkbox/checkbox.js +14 -14
  237. package/lib/es/checkbox/checkboxGroup.js +4 -4
  238. package/lib/es/checkbox/checkboxInner.js +6 -6
  239. package/lib/es/collapse/item.js +9 -9
  240. package/lib/es/collapsible/index.js +3 -3
  241. package/lib/es/configProvider/index.js +1 -1
  242. package/lib/es/datePicker/dateInput.d.ts +1 -1
  243. package/lib/es/datePicker/dateInput.js +16 -16
  244. package/lib/es/datePicker/datePicker.d.ts +2 -2
  245. package/lib/es/datePicker/datePicker.js +9 -9
  246. package/lib/es/datePicker/footer.js +1 -1
  247. package/lib/es/datePicker/index.js +1 -1
  248. package/lib/es/datePicker/month.js +2 -2
  249. package/lib/es/datePicker/monthsGrid.d.ts +1 -1
  250. package/lib/es/datePicker/monthsGrid.js +27 -27
  251. package/lib/es/datePicker/navigation.js +1 -1
  252. package/lib/es/datePicker/quickControl.js +14 -14
  253. package/lib/es/datePicker/yearAndMonth.js +4 -4
  254. package/lib/es/descriptions/index.js +3 -3
  255. package/lib/es/descriptions/item.js +5 -5
  256. package/lib/es/divider/index.js +7 -7
  257. package/lib/es/dropdown/dropdownDivider.js +1 -1
  258. package/lib/es/dropdown/dropdownItem.js +7 -7
  259. package/lib/es/dropdown/dropdownMenu.js +1 -1
  260. package/lib/es/dropdown/dropdownTitle.js +2 -2
  261. package/lib/es/dropdown/index.js +3 -3
  262. package/lib/es/empty/index.js +7 -7
  263. package/lib/es/form/arrayField.js +1 -1
  264. package/lib/es/form/baseForm.d.ts +1 -1
  265. package/lib/es/form/baseForm.js +2 -2
  266. package/lib/es/form/errorMessage.js +1 -1
  267. package/lib/es/form/field.d.ts +1 -1
  268. package/lib/es/form/group.js +2 -2
  269. package/lib/es/form/hoc/withField.js +16 -16
  270. package/lib/es/form/label.js +9 -9
  271. package/lib/es/form/slot.js +5 -5
  272. package/lib/es/grid/col.js +11 -11
  273. package/lib/es/grid/row.js +4 -4
  274. package/lib/es/highlight/index.js +1 -1
  275. package/lib/es/iconButton/index.js +5 -5
  276. package/lib/es/image/image.js +10 -10
  277. package/lib/es/image/preview.js +3 -3
  278. package/lib/es/image/previewFooter.js +12 -12
  279. package/lib/es/image/previewHeader.js +3 -3
  280. package/lib/es/image/previewImage.js +7 -7
  281. package/lib/es/image/previewInner.js +7 -7
  282. package/lib/es/input/index.d.ts +1 -1
  283. package/lib/es/input/index.js +38 -38
  284. package/lib/es/input/inputGroup.d.ts +1 -1
  285. package/lib/es/input/inputGroup.js +7 -7
  286. package/lib/es/input/textarea.js +14 -14
  287. package/lib/es/inputNumber/index.js +11 -11
  288. package/lib/es/layout/Sider.js +3 -3
  289. package/lib/es/layout/index.js +2 -2
  290. package/lib/es/list/index.js +11 -11
  291. package/lib/es/list/item.js +6 -6
  292. package/lib/es/modal/ConfirmModal.js +7 -7
  293. package/lib/es/modal/Modal.js +4 -4
  294. package/lib/es/modal/ModalContent.js +24 -24
  295. package/lib/es/modal/useModal/index.js +1 -1
  296. package/lib/es/navigation/CollapseButton.js +1 -1
  297. package/lib/es/navigation/Footer.js +2 -2
  298. package/lib/es/navigation/Header.js +5 -5
  299. package/lib/es/navigation/Item.js +18 -18
  300. package/lib/es/navigation/SubNav.js +17 -17
  301. package/lib/es/navigation/index.js +8 -8
  302. package/lib/es/notification/index.js +3 -3
  303. package/lib/es/notification/notice.js +12 -12
  304. package/lib/es/overflowList/index.js +6 -6
  305. package/lib/es/pagination/index.js +26 -26
  306. package/lib/es/popconfirm/index.js +9 -9
  307. package/lib/es/popover/index.d.ts +1 -1
  308. package/lib/es/popover/index.js +2 -2
  309. package/lib/es/progress/index.js +14 -14
  310. package/lib/es/radio/radio.js +22 -22
  311. package/lib/es/radio/radioGroup.js +5 -5
  312. package/lib/es/radio/radioInner.js +7 -7
  313. package/lib/es/rating/index.d.ts +1 -1
  314. package/lib/es/rating/index.js +5 -5
  315. package/lib/es/rating/item.d.ts +1 -1
  316. package/lib/es/rating/item.js +11 -11
  317. package/lib/es/scrollList/index.js +5 -5
  318. package/lib/es/scrollList/scrollItem.js +13 -13
  319. package/lib/es/select/index.js +57 -57
  320. package/lib/es/select/option.js +7 -7
  321. package/lib/es/sideSheet/SideSheetContent.js +10 -10
  322. package/lib/es/sideSheet/index.js +7 -7
  323. package/lib/es/skeleton/index.js +1 -1
  324. package/lib/es/skeleton/item.js +4 -4
  325. package/lib/es/slider/index.js +28 -28
  326. package/lib/es/space/index.js +12 -12
  327. package/lib/es/spin/icon.js +2 -2
  328. package/lib/es/spin/index.js +6 -6
  329. package/lib/es/steps/basicStep.js +14 -14
  330. package/lib/es/steps/basicSteps.js +6 -6
  331. package/lib/es/steps/fillStep.js +10 -10
  332. package/lib/es/steps/fillSteps.js +4 -4
  333. package/lib/es/steps/navStep.js +5 -5
  334. package/lib/es/steps/navSteps.js +2 -2
  335. package/lib/es/switch/index.d.ts +1 -1
  336. package/lib/es/table/Body/BaseRow.js +5 -5
  337. package/lib/es/table/Body/ExpandedRow.js +3 -3
  338. package/lib/es/table/Body/SectionRow.js +1 -1
  339. package/lib/es/table/Body/index.js +8 -8
  340. package/lib/es/table/ColGroup.js +2 -2
  341. package/lib/es/table/ColumnFilter.js +3 -3
  342. package/lib/es/table/ColumnSelection.js +2 -2
  343. package/lib/es/table/ColumnSorter.js +7 -7
  344. package/lib/es/table/CustomExpandIcon.js +2 -2
  345. package/lib/es/table/HeadTable.js +3 -3
  346. package/lib/es/table/Table.d.ts +2 -2
  347. package/lib/es/table/Table.js +20 -20
  348. package/lib/es/table/TableCell.js +8 -8
  349. package/lib/es/table/TableHeader.js +1 -1
  350. package/lib/es/table/TableHeaderRow.js +8 -8
  351. package/lib/es/table/TablePagination.js +3 -3
  352. package/lib/es/table/index.d.ts +1 -1
  353. package/lib/es/tabs/TabBar.js +18 -18
  354. package/lib/es/tabs/TabPane.js +3 -3
  355. package/lib/es/tabs/index.js +2 -2
  356. package/lib/es/tag/group.js +5 -5
  357. package/lib/es/tag/index.js +13 -13
  358. package/lib/es/tagInput/index.d.ts +1 -1
  359. package/lib/es/tagInput/index.js +33 -33
  360. package/lib/es/timePicker/Combobox.js +4 -4
  361. package/lib/es/timePicker/TimeInput.js +4 -4
  362. package/lib/es/timePicker/TimePicker.d.ts +1 -1
  363. package/lib/es/timePicker/TimePicker.js +8 -8
  364. package/lib/es/timePicker/index.d.ts +1 -1
  365. package/lib/es/timeline/index.js +8 -8
  366. package/lib/es/timeline/item.js +7 -7
  367. package/lib/es/toast/index.js +5 -5
  368. package/lib/es/toast/toast.js +9 -9
  369. package/lib/es/tooltip/index.d.ts +1 -1
  370. package/lib/es/tooltip/index.js +7 -7
  371. package/lib/es/transfer/index.js +31 -31
  372. package/lib/es/tree/autoSizer.js +1 -1
  373. package/lib/es/tree/index.js +6 -6
  374. package/lib/es/tree/nodeList.js +1 -1
  375. package/lib/es/tree/treeNode.js +26 -26
  376. package/lib/es/treeSelect/index.js +41 -41
  377. package/lib/es/typography/base.d.ts +1 -1
  378. package/lib/es/typography/base.js +14 -14
  379. package/lib/es/typography/copyable.js +3 -3
  380. package/lib/es/typography/numeral.d.ts +1 -1
  381. package/lib/es/typography/paragraph.d.ts +1 -1
  382. package/lib/es/typography/paragraph.js +1 -1
  383. package/lib/es/typography/text.d.ts +1 -1
  384. package/lib/es/typography/title.d.ts +2 -2
  385. package/lib/es/typography/title.js +1 -1
  386. package/lib/es/typography/util.js +1 -1
  387. package/lib/es/upload/fileCard.js +32 -32
  388. package/lib/es/upload/index.js +37 -37
  389. package/package.json +8 -8
@@ -365,13 +365,13 @@ class Select extends BaseComponent {
365
365
  },
366
366
  updateScrollTop: index => {
367
367
  // eslint-disable-next-line max-len
368
- let optionClassName = `.${prefixcls}-option-selected`;
368
+ let optionClassName = ".".concat(prefixcls, "-option-selected");
369
369
 
370
370
  if (index !== undefined) {
371
- optionClassName = `.${prefixcls}-option:nth-child(${index})`;
371
+ optionClassName = ".".concat(prefixcls, "-option:nth-child(").concat(index, ")");
372
372
  }
373
373
 
374
- let destNode = document.querySelector(`#${prefixcls}-${this.selectOptionListID} ${optionClassName}`);
374
+ let destNode = document.querySelector("#".concat(prefixcls, "-").concat(this.selectOptionListID, " ").concat(optionClassName));
375
375
 
376
376
  if (Array.isArray(destNode)) {
377
377
  // eslint-disable-next-line prefer-destructuring
@@ -431,9 +431,9 @@ class Select extends BaseComponent {
431
431
 
432
432
  const inputPropsCls = _get(inputProps, 'className');
433
433
 
434
- const inputcls = cls(`${prefixcls}-input`, {
435
- [`${prefixcls}-input-single`]: !multiple,
436
- [`${prefixcls}-input-multiple`]: multiple
434
+ const inputcls = cls("".concat(prefixcls, "-input"), {
435
+ ["".concat(prefixcls, "-input-single")]: !multiple,
436
+ ["".concat(prefixcls, "-input-multiple")]: multiple
437
437
  }, inputPropsCls);
438
438
  const {
439
439
  inputValue,
@@ -449,7 +449,7 @@ class Select extends BaseComponent {
449
449
 
450
450
  if (multiple) {
451
451
  style = {
452
- width: inputValue ? `${inputValue.length * 16}px` : '2px'
452
+ width: inputValue ? "".concat(inputValue.length * 16, "px") : '2px'
453
453
  };
454
454
  selectInputProps.style = style;
455
455
  }
@@ -457,7 +457,7 @@ class Select extends BaseComponent {
457
457
  return /*#__PURE__*/React.createElement(Input, Object.assign({
458
458
  ref: this.inputRef,
459
459
  size: size,
460
- "aria-activedescendant": focusIndex !== -1 ? `${this.selectID}-option-${focusIndex}` : '',
460
+ "aria-activedescendant": focusIndex !== -1 ? "".concat(this.selectID, "-option-").concat(focusIndex) : '',
461
461
  onFocus: e => {
462
462
  // if multiple and filter, when use tab key to let select get focus
463
463
  // need to manual update state isFocus to let the focus style take effect
@@ -515,7 +515,7 @@ class Select extends BaseComponent {
515
515
  }
516
516
 
517
517
  renderLoading() {
518
- const loadingWrapperCls = `${prefixcls}-loading-wrapper`;
518
+ const loadingWrapperCls = "".concat(prefixcls, "-loading-wrapper");
519
519
  return /*#__PURE__*/React.createElement("div", {
520
520
  className: loadingWrapperCls
521
521
  }, /*#__PURE__*/React.createElement(Spin, null));
@@ -556,7 +556,7 @@ class Select extends BaseComponent {
556
556
  key: option.key || option.label + option.value + optionIndex,
557
557
  renderOptionItem: renderOptionItem,
558
558
  inputValue: inputValue,
559
- id: `${this.selectID}-option-${optionIndex}`
559
+ id: "".concat(this.selectID, "-option-").concat(optionIndex)
560
560
  }), option.label);
561
561
  }
562
562
 
@@ -580,7 +580,7 @@ class Select extends BaseComponent {
580
580
  }), /*#__PURE__*/React.createElement(LocaleConsumer, {
581
581
  componentName: "Select"
582
582
  }, locale => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
583
- className: `${prefixcls}-create-tips`
583
+ className: "".concat(prefixcls, "-create-tips")
584
584
  }, locale.createText), option.value)));
585
585
  return defaultCreateItem;
586
586
  }
@@ -682,42 +682,42 @@ class Select extends BaseComponent {
682
682
  minWidth: dropdownMinWidth
683
683
  }, dropdownStyle);
684
684
  const optionListCls = cls({
685
- [`${prefixcls}-option-list`]: true,
686
- [`${prefixcls}-option-list-chosen`]: selections.size
685
+ ["".concat(prefixcls, "-option-list")]: true,
686
+ ["".concat(prefixcls, "-option-list-chosen")]: selections.size
687
687
  });
688
688
  const isEmpty = !options.length || !options.some(item => item._show);
689
689
  return (
690
690
  /*#__PURE__*/
691
691
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
692
692
  React.createElement("div", {
693
- id: `${prefixcls}-${this.selectOptionListID}`,
693
+ id: "".concat(prefixcls, "-").concat(this.selectOptionListID),
694
694
  className: cls({
695
695
  // When emptyContent is null and the option is empty, there is no need for the drop-down option for the user,
696
696
  // so there is no need to set padding through this className
697
- [`${prefixcls}-option-list-wrapper`]: !(isEmpty && emptyContent === null)
697
+ ["".concat(prefixcls, "-option-list-wrapper")]: !(isEmpty && emptyContent === null)
698
698
  }, dropdownClassName),
699
699
  style: style,
700
700
  ref: this.setOptionContainerEl,
701
701
  onKeyDown: e => this.foundation.handleContainerKeyDown(e)
702
702
  }, outerTopSlot ? /*#__PURE__*/React.createElement("div", {
703
- className: `${prefixcls}-option-list-outer-top-slot`,
703
+ className: "".concat(prefixcls, "-option-list-outer-top-slot"),
704
704
  onMouseEnter: () => this.foundation.handleSlotMouseEnter()
705
705
  }, outerTopSlot) : null, /*#__PURE__*/React.createElement("div", {
706
706
  style: {
707
- maxHeight: `${maxHeight}px`
707
+ maxHeight: "".concat(maxHeight, "px")
708
708
  },
709
709
  className: optionListCls,
710
710
  role: "listbox",
711
711
  "aria-multiselectable": multiple,
712
712
  onScroll: e => this.foundation.handleListScroll(e)
713
713
  }, innerTopSlot ? /*#__PURE__*/React.createElement("div", {
714
- className: `${prefixcls}-option-list-inner-top-slot`,
714
+ className: "".concat(prefixcls, "-option-list-inner-top-slot"),
715
715
  onMouseEnter: () => this.foundation.handleSlotMouseEnter()
716
716
  }, innerTopSlot) : null, loading ? this.renderLoading() : isEmpty ? this.renderEmpty() : listContent, innerBottomSlot ? /*#__PURE__*/React.createElement("div", {
717
- className: `${prefixcls}-option-list-inner-bottom-slot`,
717
+ className: "".concat(prefixcls, "-option-list-inner-bottom-slot"),
718
718
  onMouseEnter: () => this.foundation.handleSlotMouseEnter()
719
719
  }, innerBottomSlot) : null), outerBottomSlot ? /*#__PURE__*/React.createElement("div", {
720
- className: `${prefixcls}-option-list-outer-bottom-slot`,
720
+ className: "".concat(prefixcls, "-option-list-outer-bottom-slot"),
721
721
  onMouseEnter: () => this.foundation.handleSlotMouseEnter()
722
722
  }, outerBottomSlot) : null)
723
723
  );
@@ -747,13 +747,13 @@ class Select extends BaseComponent {
747
747
  }
748
748
 
749
749
  const spanCls = cls({
750
- [`${prefixcls}-selection-text`]: true,
751
- [`${prefixcls}-selection-placeholder`]: !renderText && renderText !== 0,
752
- [`${prefixcls}-selection-text-hide`]: inputValue && showInput,
753
- [`${prefixcls}-selection-text-inactive`]: !inputValue && showInput // Stack Input & RenderText(opacity 0.4)
750
+ ["".concat(prefixcls, "-selection-text")]: true,
751
+ ["".concat(prefixcls, "-selection-placeholder")]: !renderText && renderText !== 0,
752
+ ["".concat(prefixcls, "-selection-text-hide")]: inputValue && showInput,
753
+ ["".concat(prefixcls, "-selection-text-inactive")]: !inputValue && showInput // Stack Input & RenderText(opacity 0.4)
754
754
 
755
755
  });
756
- const contentWrapperCls = `${prefixcls}-content-wrapper`;
756
+ const contentWrapperCls = "".concat(prefixcls, "-content-wrapper");
757
757
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
758
758
  className: contentWrapperCls
759
759
  }, /*#__PURE__*/React.createElement("span", {
@@ -838,14 +838,14 @@ class Select extends BaseComponent {
838
838
  }
839
839
 
840
840
  const contentWrapperCls = cls({
841
- [`${prefixcls}-content-wrapper`]: true,
842
- [`${prefixcls}-content-wrapper-one-line`]: maxTagCount,
843
- [`${prefixcls}-content-wrapper-empty`]: !tags.length
841
+ ["".concat(prefixcls, "-content-wrapper")]: true,
842
+ ["".concat(prefixcls, "-content-wrapper-one-line")]: maxTagCount,
843
+ ["".concat(prefixcls, "-content-wrapper-empty")]: !tags.length
844
844
  });
845
845
  const spanCls = cls({
846
- [`${prefixcls}-selection-text`]: true,
847
- [`${prefixcls}-selection-placeholder`]: !tags.length,
848
- [`${prefixcls}-selection-text-hide`]: tags && tags.length // [prefixcls + '-selection-text-inactive']: !inputValue && !tags.length,
846
+ ["".concat(prefixcls, "-selection-text")]: true,
847
+ ["".concat(prefixcls, "-selection-placeholder")]: !tags.length,
848
+ ["".concat(prefixcls, "-selection-text-hide")]: tags && tags.length // [prefixcls + '-selection-text-inactive']: !inputValue && !tags.length,
849
849
 
850
850
  });
851
851
  const placeholderText = placeholder && !inputValue ? /*#__PURE__*/React.createElement("span", {
@@ -909,9 +909,9 @@ class Select extends BaseComponent {
909
909
  suffix
910
910
  } = this.props;
911
911
  const suffixWrapperCls = cls({
912
- [`${prefixcls}-suffix`]: true,
913
- [`${prefixcls}-suffix-text`]: suffix && _isString(suffix),
914
- [`${prefixcls}-suffix-icon`]: isSemiIcon(suffix)
912
+ ["".concat(prefixcls, "-suffix")]: true,
913
+ ["".concat(prefixcls, "-suffix-text")]: suffix && _isString(suffix),
914
+ ["".concat(prefixcls, "-suffix-icon")]: isSemiIcon(suffix)
915
915
  });
916
916
  return /*#__PURE__*/React.createElement("div", {
917
917
  className: suffixWrapperCls,
@@ -927,10 +927,10 @@ class Select extends BaseComponent {
927
927
  } = this.props;
928
928
  const labelNode = prefix || insetLabel;
929
929
  const prefixWrapperCls = cls({
930
- [`${prefixcls}-prefix`]: true,
931
- [`${prefixcls}-inset-label`]: insetLabel,
932
- [`${prefixcls}-prefix-text`]: labelNode && _isString(labelNode),
933
- [`${prefixcls}-prefix-icon`]: isSemiIcon(labelNode)
930
+ ["".concat(prefixcls, "-prefix")]: true,
931
+ ["".concat(prefixcls, "-inset-label")]: insetLabel,
932
+ ["".concat(prefixcls, "-prefix-text")]: labelNode && _isString(labelNode),
933
+ ["".concat(prefixcls, "-prefix-icon")]: isSemiIcon(labelNode)
934
934
  });
935
935
  return /*#__PURE__*/React.createElement("div", {
936
936
  className: prefixWrapperCls,
@@ -972,26 +972,26 @@ class Select extends BaseComponent {
972
972
  const filterable = Boolean(filter); // filter(boolean || function)
973
973
 
974
974
  const selectionCls = useCustomTrigger ? cls(className) : cls(prefixcls, className, {
975
- [`${prefixcls}-open`]: isOpen,
976
- [`${prefixcls}-focus`]: isFocus,
977
- [`${prefixcls}-disabled`]: disabled,
978
- [`${prefixcls}-single`]: !multiple,
979
- [`${prefixcls}-multiple`]: multiple,
980
- [`${prefixcls}-filterable`]: filterable,
981
- [`${prefixcls}-small`]: size === 'small',
982
- [`${prefixcls}-large`]: size === 'large',
983
- [`${prefixcls}-error`]: validateStatus === 'error',
984
- [`${prefixcls}-warning`]: validateStatus === 'warning',
985
- [`${prefixcls}-no-arrow`]: !showArrow,
986
- [`${prefixcls}-with-prefix`]: prefix || insetLabel,
987
- [`${prefixcls}-with-suffix`]: suffix
975
+ ["".concat(prefixcls, "-open")]: isOpen,
976
+ ["".concat(prefixcls, "-focus")]: isFocus,
977
+ ["".concat(prefixcls, "-disabled")]: disabled,
978
+ ["".concat(prefixcls, "-single")]: !multiple,
979
+ ["".concat(prefixcls, "-multiple")]: multiple,
980
+ ["".concat(prefixcls, "-filterable")]: filterable,
981
+ ["".concat(prefixcls, "-small")]: size === 'small',
982
+ ["".concat(prefixcls, "-large")]: size === 'large',
983
+ ["".concat(prefixcls, "-error")]: validateStatus === 'error',
984
+ ["".concat(prefixcls, "-warning")]: validateStatus === 'warning',
985
+ ["".concat(prefixcls, "-no-arrow")]: !showArrow,
986
+ ["".concat(prefixcls, "-with-prefix")]: prefix || insetLabel,
987
+ ["".concat(prefixcls, "-with-suffix")]: suffix
988
988
  });
989
989
  const showClear = this.props.showClear && (selections.size || inputValue) && !disabled && (isHovering || isOpen);
990
990
  const arrowContent = showArrow ? /*#__PURE__*/React.createElement("div", {
991
- className: `${prefixcls}-arrow`,
991
+ className: "".concat(prefixcls, "-arrow"),
992
992
  "x-semi-prop": "arrowIcon"
993
993
  }, arrowIcon) : /*#__PURE__*/React.createElement("div", {
994
- className: `${prefixcls}-arrow-empty`
994
+ className: "".concat(prefixcls, "-arrow-empty")
995
995
  });
996
996
  const clear = clearIcon ? clearIcon : /*#__PURE__*/React.createElement(IconClear, null);
997
997
  const inner = useCustomTrigger ? /*#__PURE__*/React.createElement(Trigger, {
@@ -1009,11 +1009,11 @@ class Select extends BaseComponent {
1009
1009
  }, prefix || insetLabel ? this.renderPrefix() : null), /*#__PURE__*/React.createElement(Fragment, {
1010
1010
  key: "selection"
1011
1011
  }, /*#__PURE__*/React.createElement("div", {
1012
- className: cls(`${prefixcls}-selection`)
1012
+ className: cls("".concat(prefixcls, "-selection"))
1013
1013
  }, multiple ? this.renderMultipleSelection(selections, filterable) : this.renderSingleSelection(selections, filterable))), /*#__PURE__*/React.createElement(Fragment, {
1014
1014
  key: "clearicon"
1015
1015
  }, showClear ? /*#__PURE__*/React.createElement("div", {
1016
- className: cls(`${prefixcls}-clear`),
1016
+ className: cls("".concat(prefixcls, "-clear")),
1017
1017
  onClick: this.onClear
1018
1018
  }, clear) : arrowContent), /*#__PURE__*/React.createElement(Fragment, {
1019
1019
  key: "suffix"
@@ -1036,7 +1036,7 @@ class Select extends BaseComponent {
1036
1036
  role: "combobox",
1037
1037
  "aria-disabled": disabled,
1038
1038
  "aria-expanded": isOpen,
1039
- "aria-controls": `${prefixcls}-${this.selectOptionListID}`,
1039
+ "aria-controls": "".concat(prefixcls, "-").concat(this.selectOptionListID),
1040
1040
  "aria-haspopup": "listbox",
1041
1041
  "aria-label": selections.size ? 'selected' : '',
1042
1042
  "aria-invalid": this.props['aria-invalid'],
@@ -1050,7 +1050,7 @@ class Select extends BaseComponent {
1050
1050
  style: style,
1051
1051
  id: this.selectID,
1052
1052
  tabIndex: tabIndex,
1053
- "aria-activedescendant": focusIndex !== -1 ? `${this.selectID}-option-${focusIndex}` : '',
1053
+ "aria-activedescendant": focusIndex !== -1 ? "".concat(this.selectID, "-option-").concat(focusIndex) : '',
1054
1054
  onMouseEnter: this.onMouseEnter,
1055
1055
  onMouseLeave: this.onMouseLeave,
1056
1056
  onFocus: e => this.foundation.handleTriggerFocus(e),
@@ -82,13 +82,13 @@ class Option extends PureComponent {
82
82
  rest = __rest(_a, ["children", "disabled", "value", "selected", "label", "empty", "emptyContent", "onSelect", "focused", "showTick", "className", "style", "onMouseEnter", "prefixCls", "renderOptionItem", "inputValue", "id"]);
83
83
 
84
84
  const optionClassName = classNames(prefixCls, {
85
- [`${prefixCls}-disabled`]: disabled,
86
- [`${prefixCls}-selected`]: selected,
87
- [`${prefixCls}-focused`]: focused,
88
- [`${prefixCls}-empty`]: empty,
85
+ ["".concat(prefixCls, "-disabled")]: disabled,
86
+ ["".concat(prefixCls, "-selected")]: selected,
87
+ ["".concat(prefixCls, "-focused")]: focused,
88
+ ["".concat(prefixCls, "-empty")]: empty,
89
89
  [className]: className
90
90
  });
91
- const selectedIconClassName = classNames([`${prefixCls}-icon`]);
91
+ const selectedIconClassName = classNames(["".concat(prefixCls, "-icon")]);
92
92
 
93
93
  if (empty) {
94
94
  if (emptyContent === null) {
@@ -126,7 +126,7 @@ class Option extends PureComponent {
126
126
  searchWords: inputValue,
127
127
  sourceString: children,
128
128
  option: {
129
- highlightClassName: `${prefixCls}-keyword`
129
+ highlightClassName: "".concat(prefixCls, "-keyword")
130
130
  }
131
131
  };
132
132
  return (
@@ -150,7 +150,7 @@ class Option extends PureComponent {
150
150
  }, showTick ? /*#__PURE__*/React.createElement("div", {
151
151
  className: selectedIconClassName
152
152
  }, /*#__PURE__*/React.createElement(IconTick, null)) : null, _isString(children) ? /*#__PURE__*/React.createElement("div", {
153
- className: `${prefixCls}-text`
153
+ className: "".concat(prefixCls, "-text")
154
154
  }, this.renderOptionContent({
155
155
  children,
156
156
  config,
@@ -38,7 +38,7 @@ export default class SideSheetContent extends React.PureComponent {
38
38
  }
39
39
 
40
40
  componentDidMount() {
41
- this.sideSheetId = `sidesheet-${uuid++}`;
41
+ this.sideSheetId = "sidesheet-".concat(uuid++);
42
42
  }
43
43
 
44
44
  componentWillUnmount() {
@@ -58,7 +58,7 @@ export default class SideSheetContent extends React.PureComponent {
58
58
  return /*#__PURE__*/React.createElement("div", Object.assign({
59
59
  "aria-hidden": true,
60
60
  key: "mask",
61
- className: cls(`${prefixCls}-mask`, (_a = this.props.maskClassName) !== null && _a !== void 0 ? _a : ""),
61
+ className: cls("".concat(prefixCls, "-mask"), (_a = this.props.maskClassName) !== null && _a !== void 0 ? _a : ""),
62
62
  style: maskStyle,
63
63
  onClick: maskClosable ? this.onMaskClick : null
64
64
  }, this.props.maskExtraProps));
@@ -77,14 +77,14 @@ export default class SideSheetContent extends React.PureComponent {
77
77
 
78
78
  if (title) {
79
79
  header = /*#__PURE__*/React.createElement("div", {
80
- className: `${prefixCls}-title`,
80
+ className: "".concat(prefixCls, "-title"),
81
81
  "x-semi-prop": "title"
82
82
  }, this.props.title);
83
83
  }
84
84
 
85
85
  if (closable) {
86
86
  closer = /*#__PURE__*/React.createElement(Button, {
87
- className: `${prefixCls}-close`,
87
+ className: "".concat(prefixCls, "-close"),
88
88
  key: "close-btn",
89
89
  onClick: this.close,
90
90
  type: "tertiary",
@@ -95,7 +95,7 @@ export default class SideSheetContent extends React.PureComponent {
95
95
  }
96
96
 
97
97
  return /*#__PURE__*/React.createElement("div", {
98
- className: `${prefixCls}-header`,
98
+ className: "".concat(prefixCls, "-header"),
99
99
  role: 'heading',
100
100
  "aria-level": 1,
101
101
  style: Object.assign({}, headerStyle)
@@ -126,17 +126,17 @@ export default class SideSheetContent extends React.PureComponent {
126
126
  key: "dialog-element",
127
127
  role: "dialog",
128
128
  tabIndex: -1,
129
- className: cls(`${prefixCls}-inner`, `${prefixCls}-inner-wrap`, (_a = this.props.dialogClassName) !== null && _a !== void 0 ? _a : ""),
129
+ className: cls("".concat(prefixCls, "-inner"), "".concat(prefixCls, "-inner-wrap"), (_a = this.props.dialogClassName) !== null && _a !== void 0 ? _a : ""),
130
130
  // onMouseDown={this.onDialogMouseDown}
131
131
  style: Object.assign(Object.assign({}, props.style), style)
132
132
  }, this.props.wrapperExtraProps), /*#__PURE__*/React.createElement("div", {
133
- className: `${prefixCls}-content`
133
+ className: "".concat(prefixCls, "-content")
134
134
  }, header, /*#__PURE__*/React.createElement("div", {
135
- className: `${prefixCls}-body`,
135
+ className: "".concat(prefixCls, "-body"),
136
136
  style: props.bodyStyle,
137
137
  "x-semi-prop": "children"
138
138
  }, props.children), props.footer ? /*#__PURE__*/React.createElement("div", {
139
- className: `${prefixCls}-footer`,
139
+ className: "".concat(prefixCls, "-footer"),
140
140
  "x-semi-prop": "footer"
141
141
  }, props.footer) : null));
142
142
  return dialogElement;
@@ -149,7 +149,7 @@ export default class SideSheetContent extends React.PureComponent {
149
149
  width
150
150
  } = this.props;
151
151
  const wrapperCls = cls(className, {
152
- [`${prefixCls}-fixed`]: !mask
152
+ ["".concat(prefixCls, "-fixed")]: !mask
153
153
  });
154
154
  const wrapperStyle = {};
155
155
 
@@ -164,11 +164,11 @@ export default class SideSheet extends BaseComponent {
164
164
  const sheetWidth = isVertical ? width ? width : defaultWidthList[size] : '100%';
165
165
  const sheetHeight = isHorizontal ? height ? height : defaultHeight : '100%';
166
166
  const classList = cls(prefixCls, className, {
167
- [`${prefixCls}-${placement}`]: placement,
168
- [`${prefixCls}-popup`]: getPopupContainer,
169
- [`${prefixCls}-horizontal`]: isHorizontal,
170
- [`${prefixCls}-rtl`]: direction === 'rtl',
171
- [`${prefixCls}-hidden`]: keepDOM && this.state.displayNone
167
+ ["".concat(prefixCls, "-").concat(placement)]: placement,
168
+ ["".concat(prefixCls, "-popup")]: getPopupContainer,
169
+ ["".concat(prefixCls, "-horizontal")]: isHorizontal,
170
+ ["".concat(prefixCls, "-rtl")]: direction === 'rtl',
171
+ ["".concat(prefixCls, "-hidden")]: keepDOM && this.state.displayNone
172
172
  });
173
173
  const contentProps = Object.assign(Object.assign({}, props), {
174
174
  visible,
@@ -185,7 +185,7 @@ export default class SideSheet extends BaseComponent {
185
185
  return /*#__PURE__*/React.createElement(CSSAnimation, {
186
186
  motion: this.props.motion,
187
187
  animationState: visible ? 'enter' : 'leave',
188
- startClassName: visible ? `${prefixCls}-animation-mask_show` : `${prefixCls}-animation-mask_hide`,
188
+ startClassName: visible ? "".concat(prefixCls, "-animation-mask_show") : "".concat(prefixCls, "-animation-mask_hide"),
189
189
  onAnimationEnd: this.updateState
190
190
  }, _ref => {
191
191
  let {
@@ -195,7 +195,7 @@ export default class SideSheet extends BaseComponent {
195
195
  return /*#__PURE__*/React.createElement(CSSAnimation, {
196
196
  motion: this.props.motion,
197
197
  animationState: visible ? 'enter' : 'leave',
198
- startClassName: visible ? `${prefixCls}-animation-content_show_${this.props.placement}` : `${prefixCls}-animation-content_hide_${this.props.placement}`,
198
+ startClassName: visible ? "".concat(prefixCls, "-animation-content_show_").concat(this.props.placement) : "".concat(prefixCls, "-animation-content_hide_").concat(this.props.placement),
199
199
  onAnimationEnd: this.updateState
200
200
  /* for no mask case*/
201
201
 
@@ -31,7 +31,7 @@ class Skeleton extends PureComponent {
31
31
  others = __rest(_a, ["placeholder", "active", "children", "className", "loading", "style"]);
32
32
 
33
33
  const skCls = cls(prefixCls, {
34
- [`${prefixCls}-active`]: Boolean(active)
34
+ ["".concat(prefixCls, "-active")]: Boolean(active)
35
35
  }, className);
36
36
  let content;
37
37
 
@@ -34,10 +34,10 @@ class Generic extends PureComponent {
34
34
  } = _a,
35
35
  others = __rest(_a, ["prefixCls", "className", "type", "size", "shape"]);
36
36
 
37
- const classString = cls(className, `${prefixCls}-${type}`, {
38
- [`${prefixCls}-${type}-${size}`]: type.toUpperCase() === 'AVATAR'
37
+ const classString = cls(className, "".concat(prefixCls, "-").concat(type), {
38
+ ["".concat(prefixCls, "-").concat(type, "-").concat(size)]: type.toUpperCase() === 'AVATAR'
39
39
  }, {
40
- [`${prefixCls}-${type}-${shape}`]: type.toUpperCase() === 'AVATAR'
40
+ ["".concat(prefixCls, "-").concat(type, "-").concat(shape)]: type.toUpperCase() === 'AVATAR'
41
41
  });
42
42
  return /*#__PURE__*/React.createElement('div', Object.assign({
43
43
  className: classString
@@ -71,7 +71,7 @@ export class Paragraph extends PureComponent {
71
71
  style,
72
72
  rows
73
73
  } = this.props;
74
- const classString = cls(className, `${prefixCls}-paragraph`);
74
+ const classString = cls(className, "".concat(prefixCls, "-paragraph"));
75
75
  return /*#__PURE__*/React.createElement("ul", {
76
76
  className: classString,
77
77
  style: style
@@ -59,10 +59,10 @@ export default class Slider extends BaseComponent {
59
59
  left: 'translateX(-50%)'
60
60
  };
61
61
  const minClass = cls(cssClasses.HANDLE, {
62
- [`${cssClasses.HANDLE}-clicked`]: chooseMovePos === 'min' && isDrag
62
+ ["".concat(cssClasses.HANDLE, "-clicked")]: chooseMovePos === 'min' && isDrag
63
63
  });
64
64
  const maxClass = cls(cssClasses.HANDLE, {
65
- [`${cssClasses.HANDLE}-clicked`]: chooseMovePos === 'max' && isDrag
65
+ ["".concat(cssClasses.HANDLE, "-clicked")]: chooseMovePos === 'max' && isDrag
66
66
  });
67
67
  const {
68
68
  min,
@@ -83,13 +83,13 @@ export default class Slider extends BaseComponent {
83
83
  trigger: "custom",
84
84
  rePosKey: minPercent,
85
85
  visible: isInRenderTree && (tipVisible.min || firstDotFocusVisible),
86
- className: `${cssClasses.HANDLE}-tooltip`
86
+ className: "".concat(cssClasses.HANDLE, "-tooltip")
87
87
  }, /*#__PURE__*/React.createElement("span", Object.assign({
88
88
  onMouseOver: this.foundation.checkAndUpdateIsInRenderTreeState,
89
89
  ref: this.minHanleEl,
90
90
  className: minClass,
91
91
  style: {
92
- [stylePos]: `${minPercent * 100}%`,
92
+ [stylePos]: "".concat(minPercent * 100, "%"),
93
93
  zIndex: chooseMovePos === 'min' && isDrag ? 2 : 1,
94
94
  transform: transform[stylePos]
95
95
  },
@@ -136,12 +136,12 @@ export default class Slider extends BaseComponent {
136
136
  trigger: "custom",
137
137
  rePosKey: minPercent,
138
138
  visible: isInRenderTree && (tipVisible.min || firstDotFocusVisible),
139
- className: `${cssClasses.HANDLE}-tooltip`
139
+ className: "".concat(cssClasses.HANDLE, "-tooltip")
140
140
  }, /*#__PURE__*/React.createElement("span", Object.assign({
141
141
  ref: this.minHanleEl,
142
142
  className: minClass,
143
143
  style: {
144
- [stylePos]: `${minPercent * 100}%`,
144
+ [stylePos]: "".concat(minPercent * 100, "%"),
145
145
  zIndex: chooseMovePos === 'min' ? 2 : 1,
146
146
  transform: transform[stylePos]
147
147
  },
@@ -188,12 +188,12 @@ export default class Slider extends BaseComponent {
188
188
  trigger: "custom",
189
189
  rePosKey: maxPercent,
190
190
  visible: isInRenderTree && (tipVisible.max || secondDotFocusVisible),
191
- className: `${cssClasses.HANDLE}-tooltip`
191
+ className: "".concat(cssClasses.HANDLE, "-tooltip")
192
192
  }, /*#__PURE__*/React.createElement("span", Object.assign({
193
193
  ref: this.maxHanleEl,
194
194
  className: maxClass,
195
195
  style: {
196
- [stylePos]: `${maxPercent * 100}%`,
196
+ [stylePos]: "".concat(maxPercent * 100, "%"),
197
197
  zIndex: chooseMovePos === 'max' ? 2 : 1,
198
198
  transform: transform[stylePos]
199
199
  },
@@ -248,11 +248,11 @@ export default class Slider extends BaseComponent {
248
248
  const minPercent = percentInfo.min;
249
249
  const maxPercent = percentInfo.max;
250
250
  let trackStyle = !vertical ? {
251
- width: range ? `${(maxPercent - minPercent) * 100}%` : `${minPercent * 100}%`,
252
- left: range ? `${minPercent * 100}%` : 0
251
+ width: range ? "".concat((maxPercent - minPercent) * 100, "%") : "".concat(minPercent * 100, "%"),
252
+ left: range ? "".concat(minPercent * 100, "%") : 0
253
253
  } : {
254
- height: range ? `${(maxPercent - minPercent) * 100}%` : `${minPercent * 100}%`,
255
- top: range ? `${minPercent * 100}%` : 0
254
+ height: range ? "".concat((maxPercent - minPercent) * 100, "%") : "".concat(minPercent * 100, "%"),
255
+ top: range ? "".concat(minPercent * 100, "%") : 0
256
256
  };
257
257
  trackStyle = included ? trackStyle : {};
258
258
  return (
@@ -278,8 +278,8 @@ export default class Slider extends BaseComponent {
278
278
  className: cssClasses.DOTS
279
279
  }, Object.keys(marks).map(mark => {
280
280
  const activeResult = this.foundation.isMarkActive(Number(mark));
281
- const markClass = cls(`${prefixCls}-dot`, {
282
- [`${prefixCls}-dot-active`]: this.foundation.isMarkActive(Number(mark)) === 'active'
281
+ const markClass = cls("".concat(prefixCls, "-dot"), {
282
+ ["".concat(prefixCls, "-dot-active")]: this.foundation.isMarkActive(Number(mark)) === 'active'
283
283
  });
284
284
  const markPercent = (Number(mark) - min) / (max - min);
285
285
  return activeResult ?
@@ -290,7 +290,7 @@ export default class Slider extends BaseComponent {
290
290
  onClick: this.foundation.handleWrapClick,
291
291
  className: markClass,
292
292
  style: {
293
- [stylePos]: `calc(${markPercent * 100}% - 2px)`
293
+ [stylePos]: "calc(".concat(markPercent * 100, "% - 2px)")
294
294
  }
295
295
  }) : null;
296
296
  })) : null;
@@ -316,9 +316,9 @@ export default class Slider extends BaseComponent {
316
316
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
317
317
  React.createElement("span", {
318
318
  key: mark,
319
- className: cls(`${prefixCls}-mark${vertical && verticalReverse ? '-reverse' : ''}`),
319
+ className: cls("".concat(prefixCls, "-mark").concat(vertical && verticalReverse ? '-reverse' : '')),
320
320
  style: {
321
- [stylePos]: `${markPercent * 100}%`
321
+ [stylePos]: "".concat(markPercent * 100, "%")
322
322
  },
323
323
  onClick: this.foundation.handleWrapClick
324
324
  }, marks[mark]) : null;
@@ -595,19 +595,19 @@ export default class Slider extends BaseComponent {
595
595
  range,
596
596
  className
597
597
  } = this.props;
598
- const wrapperClass = cls(`${prefixCls}-wrapper`, {
599
- [`${prefixCls}-disabled`]: disabled,
600
- [`${cssClasses.VERTICAL}-wrapper`]: vertical,
601
- [`${prefixCls}-reverse`]: vertical && verticalReverse
598
+ const wrapperClass = cls("".concat(prefixCls, "-wrapper"), {
599
+ ["".concat(prefixCls, "-disabled")]: disabled,
600
+ ["".concat(cssClasses.VERTICAL, "-wrapper")]: vertical,
601
+ ["".concat(prefixCls, "-reverse")]: vertical && verticalReverse
602
602
  }, className);
603
- const boundaryClass = cls(`${prefixCls}-boundary`, {
604
- [`${prefixCls}-boundary-show`]: this.props.showBoundary && this.state.showBoundary
603
+ const boundaryClass = cls("".concat(prefixCls, "-boundary"), {
604
+ ["".concat(prefixCls, "-boundary-show")]: this.props.showBoundary && this.state.showBoundary
605
605
  });
606
606
  const sliderCls = cls({
607
- [`${prefixCls}`]: !vertical,
607
+ ["".concat(prefixCls)]: !vertical,
608
608
  [cssClasses.VERTICAL]: vertical
609
609
  });
610
- const ariaLabel = range ? `Range: ${this._getAriaValueText(currentValue[0], 0)} to ${this._getAriaValueText(currentValue[1], 1)}` : undefined;
610
+ const ariaLabel = range ? "Range: ".concat(this._getAriaValueText(currentValue[0], 0), " to ").concat(this._getAriaValueText(currentValue[1], 1)) : undefined;
611
611
  const slider = /*#__PURE__*/React.createElement("div", {
612
612
  className: wrapperClass,
613
613
  style: style,
@@ -616,15 +616,15 @@ export default class Slider extends BaseComponent {
616
616
  onMouseEnter: () => this.foundation.handleWrapperEnter(),
617
617
  onMouseLeave: () => this.foundation.handleWrapperLeave()
618
618
  }, /*#__PURE__*/React.createElement("div", {
619
- className: `${prefixCls}-rail`,
619
+ className: "".concat(prefixCls, "-rail"),
620
620
  onClick: this.foundation.handleWrapClick,
621
621
  style: railStyle
622
622
  }), this.renderTrack(), this.renderStepDot(), /*#__PURE__*/React.createElement("div", null, this.renderHandle()), this.renderLabel(), /*#__PURE__*/React.createElement("div", {
623
623
  className: boundaryClass
624
624
  }, /*#__PURE__*/React.createElement("span", {
625
- className: `${prefixCls}-boundary-min`
625
+ className: "".concat(prefixCls, "-boundary-min")
626
626
  }, min), /*#__PURE__*/React.createElement("span", {
627
- className: `${prefixCls}-boundary-max`
627
+ className: "".concat(prefixCls, "-boundary-max")
628
628
  }, max)));
629
629
 
630
630
  if (!vertical) {