@fle-ui/next 3.0.0-beta.1 → 3.0.0-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (655) hide show
  1. package/dist/components.min.js +1 -1
  2. package/es/auto-complete/index.d.ts +1 -3
  3. package/es/auto-complete/index.js +1 -1
  4. package/es/cascader/index.d.ts +1 -3
  5. package/es/cascader/index.js +2 -3
  6. package/es/form/Form.d.ts +3 -5
  7. package/es/form/Form.js +4 -4
  8. package/es/index.d.ts +1 -1
  9. package/es/input-number/index.d.ts +2 -4
  10. package/es/input-number/index.js +2 -2
  11. package/es/layout/Sider.js +1 -1
  12. package/es/mentions/style/index.js +1 -1
  13. package/es/modal/ConfirmDialog.js +2 -2
  14. package/es/modal/style/index.js +1 -2
  15. package/es/result/index.d.ts +4 -4
  16. package/es/select/index.d.ts +1 -3
  17. package/es/select/index.js +9 -6
  18. package/es/select/mergedBuiltinPlacements.d.ts +4 -0
  19. package/es/select/{useBuiltinPlacements.js → mergedBuiltinPlacements.js} +3 -2
  20. package/es/select/style/dropdown.js +10 -4
  21. package/es/style/placementArrow.js +16 -16
  22. package/es/table/interface.d.ts +2 -6
  23. package/es/table/style/fixed.js +5 -10
  24. package/es/theme/interface/index.d.ts +2 -1
  25. package/es/theme/themes/compact/index.d.ts +1 -1
  26. package/es/theme/themes/compact/index.js +4 -14
  27. package/es/theme/themes/dark/colors.js +2 -2
  28. package/es/theme/themes/dark/index.js +1 -0
  29. package/es/theme/themes/default/colors.js +2 -2
  30. package/es/theme/themes/default/index.js +5 -3
  31. package/es/theme/themes/seed.d.ts +1 -1
  32. package/es/theme/themes/seed.js +8 -8
  33. package/es/theme/themes/shared/genColorMapToken.js +7 -0
  34. package/es/theme/themes/shared/genCommonMapToken.js +0 -12
  35. package/es/theme/themes/shared/genFontMapToken.d.ts +3 -0
  36. package/es/theme/themes/shared/genFontMapToken.js +40 -0
  37. package/es/theme/themes/shared/genRadius.js +1 -1
  38. package/es/theme/util/statistic.d.ts +4 -2
  39. package/es/theme/util/statistic.js +3 -2
  40. package/es/transfer/hooks/useData.d.ts +2 -1
  41. package/es/transfer/hooks/useData.js +2 -2
  42. package/es/tree/DirectoryTree.d.ts +1 -3
  43. package/es/tree/Tree.js +7 -1
  44. package/es/tree/index.d.ts +1 -3
  45. package/es/tree/style/index.js +3 -1
  46. package/es/tree-select/index.d.ts +1 -3
  47. package/es/tree-select/index.js +5 -6
  48. package/es/typography/Base/index.d.ts +1 -1
  49. package/es/typography/Base/index.js +4 -4
  50. package/es/upload/Dragger.js +5 -2
  51. package/es/upload/Upload.js +4 -1
  52. package/es/upload/interface.d.ts +1 -1
  53. package/es/upload/style/dragger.js +7 -4
  54. package/es/version/token-meta.json +1 -1
  55. package/es/version/token.json +1 -1
  56. package/es/version/version.d.ts +1 -1
  57. package/es/version/version.js +1 -1
  58. package/es/watermark/useWatermark.js +2 -2
  59. package/es/watermark/utils.d.ts +1 -1
  60. package/lib/_util/ActionButton.js +27 -2
  61. package/lib/_util/PurePanel.js +27 -2
  62. package/lib/_util/colors.js +1 -1
  63. package/lib/_util/hooks/useClosable.js +1 -1
  64. package/lib/_util/hooks/useForceUpdate.js +26 -1
  65. package/lib/_util/hooks/usePatchElement.js +27 -2
  66. package/lib/_util/hooks/useSyncState.js +27 -2
  67. package/lib/_util/hooks/useZIndex.js +1 -1
  68. package/lib/_util/reactNode.js +26 -1
  69. package/lib/_util/responsiveObserver.js +1 -1
  70. package/lib/_util/scrollTo.js +27 -2
  71. package/lib/_util/statusUtils.js +1 -1
  72. package/lib/_util/styleChecker.js +1 -1
  73. package/lib/_util/throttleByAnimationFrame.js +1 -1
  74. package/lib/_util/transButton.js +27 -2
  75. package/lib/_util/warning.js +26 -1
  76. package/lib/_util/wave/WaveEffect.js +27 -2
  77. package/lib/_util/wave/index.js +27 -2
  78. package/lib/_util/wave/useWave.js +27 -2
  79. package/lib/_util/zindexContext.js +1 -1
  80. package/lib/affix/index.js +1 -1
  81. package/lib/alert/Alert.js +27 -3
  82. package/lib/alert/ErrorBoundary.js +27 -2
  83. package/lib/alert/index.js +1 -1
  84. package/lib/anchor/Anchor.js +27 -3
  85. package/lib/anchor/AnchorLink.js +27 -3
  86. package/lib/anchor/context.js +26 -1
  87. package/lib/anchor/index.js +1 -1
  88. package/lib/app/context.js +1 -1
  89. package/lib/app/index.js +27 -2
  90. package/lib/auto-complete/index.d.ts +1 -3
  91. package/lib/auto-complete/index.js +28 -4
  92. package/lib/avatar/AvatarContext.js +26 -1
  93. package/lib/avatar/avatar.js +27 -3
  94. package/lib/avatar/group.js +27 -3
  95. package/lib/avatar/index.js +1 -1
  96. package/lib/back-top/index.js +27 -3
  97. package/lib/badge/Ribbon.js +27 -3
  98. package/lib/badge/ScrollNumber.js +27 -2
  99. package/lib/badge/SingleNumber.js +27 -2
  100. package/lib/badge/index.js +27 -3
  101. package/lib/breadcrumb/Breadcrumb.js +27 -3
  102. package/lib/breadcrumb/BreadcrumbItem.js +27 -2
  103. package/lib/breadcrumb/BreadcrumbSeparator.js +26 -1
  104. package/lib/breadcrumb/index.js +1 -1
  105. package/lib/breadcrumb/useItemRender.js +26 -2
  106. package/lib/button/IconWrapper.js +27 -2
  107. package/lib/button/LoadingIcon.js +27 -2
  108. package/lib/button/button-group.js +27 -3
  109. package/lib/button/button.js +26 -2
  110. package/lib/button/buttonHelpers.js +1 -1
  111. package/lib/button/index.js +1 -1
  112. package/lib/button/style/index.js +1 -1
  113. package/lib/calendar/Header.js +27 -2
  114. package/lib/calendar/generateCalendar.js +27 -3
  115. package/lib/calendar/index.js +1 -1
  116. package/lib/calendar/locale/ar_EG.js +1 -1
  117. package/lib/calendar/locale/az_AZ.js +1 -1
  118. package/lib/calendar/locale/bg_BG.js +1 -1
  119. package/lib/calendar/locale/bn_BD.js +1 -1
  120. package/lib/calendar/locale/by_BY.js +1 -1
  121. package/lib/calendar/locale/ca_ES.js +1 -1
  122. package/lib/calendar/locale/cs_CZ.js +1 -1
  123. package/lib/calendar/locale/da_DK.js +1 -1
  124. package/lib/calendar/locale/de_DE.js +1 -1
  125. package/lib/calendar/locale/el_GR.js +1 -1
  126. package/lib/calendar/locale/en_GB.js +1 -1
  127. package/lib/calendar/locale/en_US.js +1 -1
  128. package/lib/calendar/locale/es_ES.js +1 -1
  129. package/lib/calendar/locale/et_EE.js +1 -1
  130. package/lib/calendar/locale/eu_ES.js +1 -1
  131. package/lib/calendar/locale/fa_IR.js +1 -1
  132. package/lib/calendar/locale/fi_FI.js +1 -1
  133. package/lib/calendar/locale/fr_BE.js +1 -1
  134. package/lib/calendar/locale/fr_CA.js +1 -1
  135. package/lib/calendar/locale/fr_FR.js +1 -1
  136. package/lib/calendar/locale/ga_IE.js +1 -1
  137. package/lib/calendar/locale/gl_ES.js +1 -1
  138. package/lib/calendar/locale/he_IL.js +1 -1
  139. package/lib/calendar/locale/hi_IN.js +1 -1
  140. package/lib/calendar/locale/hr_HR.js +1 -1
  141. package/lib/calendar/locale/hu_HU.js +1 -1
  142. package/lib/calendar/locale/id_ID.js +1 -1
  143. package/lib/calendar/locale/is_IS.js +1 -1
  144. package/lib/calendar/locale/it_IT.js +1 -1
  145. package/lib/calendar/locale/ja_JP.js +1 -1
  146. package/lib/calendar/locale/ka_GE.js +1 -1
  147. package/lib/calendar/locale/kk_KZ.js +1 -1
  148. package/lib/calendar/locale/km_KH.js +1 -1
  149. package/lib/calendar/locale/kmr_IQ.js +1 -1
  150. package/lib/calendar/locale/kn_IN.js +1 -1
  151. package/lib/calendar/locale/ko_KR.js +1 -1
  152. package/lib/calendar/locale/lt_LT.js +1 -1
  153. package/lib/calendar/locale/lv_LV.js +1 -1
  154. package/lib/calendar/locale/mk_MK.js +1 -1
  155. package/lib/calendar/locale/ml_IN.js +1 -1
  156. package/lib/calendar/locale/mn_MN.js +1 -1
  157. package/lib/calendar/locale/ms_MY.js +1 -1
  158. package/lib/calendar/locale/my_MM.js +1 -1
  159. package/lib/calendar/locale/nb_NO.js +1 -1
  160. package/lib/calendar/locale/nl_BE.js +1 -1
  161. package/lib/calendar/locale/nl_NL.js +1 -1
  162. package/lib/calendar/locale/pl_PL.js +1 -1
  163. package/lib/calendar/locale/pt_BR.js +1 -1
  164. package/lib/calendar/locale/pt_PT.js +1 -1
  165. package/lib/calendar/locale/ro_RO.js +1 -1
  166. package/lib/calendar/locale/ru_RU.js +1 -1
  167. package/lib/calendar/locale/si_LK.js +1 -1
  168. package/lib/calendar/locale/sk_SK.js +1 -1
  169. package/lib/calendar/locale/sl_SI.js +1 -1
  170. package/lib/calendar/locale/sr_RS.js +1 -1
  171. package/lib/calendar/locale/sv_SE.js +1 -1
  172. package/lib/calendar/locale/ta_IN.js +1 -1
  173. package/lib/calendar/locale/th_TH.js +1 -1
  174. package/lib/calendar/locale/tk_TK.js +1 -1
  175. package/lib/calendar/locale/tr_TR.js +1 -1
  176. package/lib/calendar/locale/uk_UA.js +1 -1
  177. package/lib/calendar/locale/ur_PK.js +1 -1
  178. package/lib/calendar/locale/vi_VN.js +1 -1
  179. package/lib/calendar/locale/zh_CN.js +1 -1
  180. package/lib/calendar/locale/zh_TW.js +1 -1
  181. package/lib/card/Card.js +27 -3
  182. package/lib/card/Grid.js +27 -3
  183. package/lib/card/Meta.js +27 -2
  184. package/lib/card/index.js +1 -1
  185. package/lib/carousel/index.js +27 -3
  186. package/lib/cascader/Panel.js +27 -2
  187. package/lib/cascader/hooks/useBase.js +26 -1
  188. package/lib/cascader/hooks/useCheckable.js +26 -1
  189. package/lib/cascader/hooks/useColumnIcons.js +27 -2
  190. package/lib/cascader/index.d.ts +1 -3
  191. package/lib/cascader/index.js +28 -5
  192. package/lib/cascader/style/index.js +1 -1
  193. package/lib/cascader/style/panel.js +1 -1
  194. package/lib/checkbox/Checkbox.js +27 -3
  195. package/lib/checkbox/Group.js +27 -3
  196. package/lib/checkbox/GroupContext.js +1 -1
  197. package/lib/checkbox/index.js +1 -1
  198. package/lib/collapse/Collapse.js +27 -3
  199. package/lib/collapse/CollapsePanel.js +27 -3
  200. package/lib/collapse/index.js +1 -1
  201. package/lib/color-picker/ColorPicker.js +27 -3
  202. package/lib/color-picker/ColorPickerPanel.js +1 -1
  203. package/lib/color-picker/color.js +1 -1
  204. package/lib/color-picker/components/ColorAlphaInput.js +27 -2
  205. package/lib/color-picker/components/ColorClear.js +1 -1
  206. package/lib/color-picker/components/ColorHexInput.js +27 -2
  207. package/lib/color-picker/components/ColorHsbInput.js +27 -2
  208. package/lib/color-picker/components/ColorInput.js +27 -2
  209. package/lib/color-picker/components/ColorPresets.js +27 -3
  210. package/lib/color-picker/components/ColorRgbInput.js +27 -2
  211. package/lib/color-picker/components/ColorSteppers.js +27 -2
  212. package/lib/color-picker/components/ColorTrigger.js +27 -3
  213. package/lib/color-picker/components/PanelPicker.js +27 -2
  214. package/lib/color-picker/components/PanelPresets.js +27 -2
  215. package/lib/color-picker/context.js +1 -1
  216. package/lib/color-picker/index.js +1 -1
  217. package/lib/color-picker/style/index.js +1 -1
  218. package/lib/config-provider/DisabledContext.js +26 -1
  219. package/lib/config-provider/MotionWrapper.js +26 -1
  220. package/lib/config-provider/PropWarning.js +26 -1
  221. package/lib/config-provider/SizeContext.js +26 -1
  222. package/lib/config-provider/context.js +26 -1
  223. package/lib/config-provider/cssVariables.js +1 -1
  224. package/lib/config-provider/defaultRenderEmpty.js +27 -2
  225. package/lib/config-provider/hooks/useConfig.js +1 -1
  226. package/lib/config-provider/hooks/useSize.js +1 -1
  227. package/lib/config-provider/hooks/useTheme.js +1 -1
  228. package/lib/config-provider/hooks/useThemeKey.js +26 -1
  229. package/lib/config-provider/index.js +27 -2
  230. package/lib/date-picker/PickerButton.js +27 -2
  231. package/lib/date-picker/generatePicker/Components.js +1 -1
  232. package/lib/date-picker/generatePicker/generateRangePicker.js +27 -3
  233. package/lib/date-picker/generatePicker/generateSinglePicker.js +27 -3
  234. package/lib/date-picker/generatePicker/index.js +1 -1
  235. package/lib/date-picker/index.js +1 -1
  236. package/lib/date-picker/locale/ar_EG.js +1 -1
  237. package/lib/date-picker/locale/az_AZ.js +1 -1
  238. package/lib/date-picker/locale/bg_BG.js +1 -1
  239. package/lib/date-picker/locale/bn_BD.js +1 -1
  240. package/lib/date-picker/locale/by_BY.js +1 -1
  241. package/lib/date-picker/locale/ca_ES.js +1 -1
  242. package/lib/date-picker/locale/cs_CZ.js +1 -1
  243. package/lib/date-picker/locale/da_DK.js +1 -1
  244. package/lib/date-picker/locale/de_DE.js +1 -1
  245. package/lib/date-picker/locale/el_GR.js +1 -1
  246. package/lib/date-picker/locale/en_GB.js +1 -1
  247. package/lib/date-picker/locale/en_US.js +1 -1
  248. package/lib/date-picker/locale/es_ES.js +1 -1
  249. package/lib/date-picker/locale/et_EE.js +1 -1
  250. package/lib/date-picker/locale/eu_ES.js +1 -1
  251. package/lib/date-picker/locale/fa_IR.js +1 -1
  252. package/lib/date-picker/locale/fi_FI.js +1 -1
  253. package/lib/date-picker/locale/fr_BE.js +1 -1
  254. package/lib/date-picker/locale/fr_CA.js +1 -1
  255. package/lib/date-picker/locale/fr_FR.js +1 -1
  256. package/lib/date-picker/locale/ga_IE.js +1 -1
  257. package/lib/date-picker/locale/gl_ES.js +1 -1
  258. package/lib/date-picker/locale/he_IL.js +1 -1
  259. package/lib/date-picker/locale/hi_IN.js +1 -1
  260. package/lib/date-picker/locale/hr_HR.js +1 -1
  261. package/lib/date-picker/locale/hu_HU.js +1 -1
  262. package/lib/date-picker/locale/id_ID.js +1 -1
  263. package/lib/date-picker/locale/is_IS.js +1 -1
  264. package/lib/date-picker/locale/it_IT.js +1 -1
  265. package/lib/date-picker/locale/ja_JP.js +1 -1
  266. package/lib/date-picker/locale/ka_GE.js +1 -1
  267. package/lib/date-picker/locale/kk_KZ.js +1 -1
  268. package/lib/date-picker/locale/km_KH.js +1 -1
  269. package/lib/date-picker/locale/kmr_IQ.js +1 -1
  270. package/lib/date-picker/locale/kn_IN.js +1 -1
  271. package/lib/date-picker/locale/ko_KR.js +1 -1
  272. package/lib/date-picker/locale/lt_LT.js +1 -1
  273. package/lib/date-picker/locale/lv_LV.js +1 -1
  274. package/lib/date-picker/locale/mk_MK.js +1 -1
  275. package/lib/date-picker/locale/ml_IN.js +1 -1
  276. package/lib/date-picker/locale/mn_MN.js +1 -1
  277. package/lib/date-picker/locale/ms_MY.js +1 -1
  278. package/lib/date-picker/locale/my_MM.js +1 -1
  279. package/lib/date-picker/locale/nb_NO.js +1 -1
  280. package/lib/date-picker/locale/nl_BE.js +1 -1
  281. package/lib/date-picker/locale/nl_NL.js +1 -1
  282. package/lib/date-picker/locale/pl_PL.js +1 -1
  283. package/lib/date-picker/locale/pt_BR.js +1 -1
  284. package/lib/date-picker/locale/pt_PT.js +1 -1
  285. package/lib/date-picker/locale/ro_RO.js +1 -1
  286. package/lib/date-picker/locale/ru_RU.js +1 -1
  287. package/lib/date-picker/locale/si_LK.js +1 -1
  288. package/lib/date-picker/locale/sk_SK.js +1 -1
  289. package/lib/date-picker/locale/sl_SI.js +1 -1
  290. package/lib/date-picker/locale/sr_RS.js +1 -1
  291. package/lib/date-picker/locale/sv_SE.js +1 -1
  292. package/lib/date-picker/locale/ta_IN.js +1 -1
  293. package/lib/date-picker/locale/th_TH.js +1 -1
  294. package/lib/date-picker/locale/tk_TK.js +1 -1
  295. package/lib/date-picker/locale/tr_TR.js +1 -1
  296. package/lib/date-picker/locale/uk_UA.js +1 -1
  297. package/lib/date-picker/locale/ur_PK.js +1 -1
  298. package/lib/date-picker/locale/vi_VN.js +1 -1
  299. package/lib/date-picker/locale/zh_CN.js +1 -1
  300. package/lib/date-picker/locale/zh_TW.js +1 -1
  301. package/lib/descriptions/Cell.js +27 -3
  302. package/lib/descriptions/DescriptionsContext.js +1 -1
  303. package/lib/descriptions/Row.js +27 -2
  304. package/lib/descriptions/hooks/useItems.js +27 -2
  305. package/lib/descriptions/index.js +27 -3
  306. package/lib/divider/index.js +27 -3
  307. package/lib/drawer/DrawerPanel.js +27 -3
  308. package/lib/drawer/index.js +27 -3
  309. package/lib/drawer/style/index.js +1 -1
  310. package/lib/dropdown/dropdown-button.js +27 -2
  311. package/lib/dropdown/dropdown.js +27 -3
  312. package/lib/dropdown/index.js +1 -1
  313. package/lib/dropdown/style/index.js +27 -3
  314. package/lib/empty/empty.js +26 -1
  315. package/lib/empty/index.js +27 -3
  316. package/lib/empty/simple.js +26 -1
  317. package/lib/flex/index.js +1 -1
  318. package/lib/flex/utils.js +1 -1
  319. package/lib/float-button/BackTop.js +27 -2
  320. package/lib/float-button/FloatButton.js +27 -3
  321. package/lib/float-button/FloatButtonContent.js +27 -2
  322. package/lib/float-button/FloatButtonGroup.js +27 -3
  323. package/lib/float-button/PurePanel.js +27 -2
  324. package/lib/float-button/context.js +1 -1
  325. package/lib/float-button/index.js +1 -1
  326. package/lib/float-button/style/index.js +1 -1
  327. package/lib/form/ErrorList.js +27 -3
  328. package/lib/form/Form.d.ts +3 -5
  329. package/lib/form/Form.js +31 -7
  330. package/lib/form/FormItem/ItemHolder.js +27 -3
  331. package/lib/form/FormItem/StatusProvider.js +27 -2
  332. package/lib/form/FormItem/index.js +27 -3
  333. package/lib/form/FormItemInput.js +27 -2
  334. package/lib/form/FormItemLabel.js +26 -2
  335. package/lib/form/FormList.js +26 -1
  336. package/lib/form/context.js +27 -2
  337. package/lib/form/hooks/useChildren.js +1 -1
  338. package/lib/form/hooks/useDebounce.js +26 -1
  339. package/lib/form/hooks/useForm.js +27 -2
  340. package/lib/form/hooks/useFrameState.js +27 -2
  341. package/lib/form/hooks/useItemRef.js +25 -1
  342. package/lib/form/index.js +27 -2
  343. package/lib/form/style/index.js +1 -1
  344. package/lib/grid/col.js +27 -3
  345. package/lib/grid/hooks/useBreakpoint.js +1 -1
  346. package/lib/grid/index.js +1 -1
  347. package/lib/grid/row.js +27 -3
  348. package/lib/image/PreviewGroup.js +27 -3
  349. package/lib/image/index.js +27 -3
  350. package/lib/index.d.ts +1 -1
  351. package/lib/index.js +1 -1
  352. package/lib/input/Group.js +27 -3
  353. package/lib/input/Input.js +27 -3
  354. package/lib/input/Password.js +26 -2
  355. package/lib/input/Search.js +27 -3
  356. package/lib/input/TextArea.js +26 -2
  357. package/lib/input/index.js +1 -1
  358. package/lib/input-number/index.d.ts +2 -4
  359. package/lib/input-number/index.js +29 -5
  360. package/lib/layout/Sider.js +28 -4
  361. package/lib/layout/context.js +26 -1
  362. package/lib/layout/hooks/useHasSider.js +1 -1
  363. package/lib/layout/index.js +26 -1
  364. package/lib/layout/layout.js +27 -3
  365. package/lib/layout/style/index.js +1 -1
  366. package/lib/list/Item.js +27 -3
  367. package/lib/list/context.js +1 -1
  368. package/lib/list/index.js +26 -2
  369. package/lib/locale/ar_EG.js +1 -1
  370. package/lib/locale/az_AZ.js +1 -1
  371. package/lib/locale/bg_BG.js +1 -1
  372. package/lib/locale/bn_BD.js +1 -1
  373. package/lib/locale/by_BY.js +1 -1
  374. package/lib/locale/ca_ES.js +1 -1
  375. package/lib/locale/cs_CZ.js +1 -1
  376. package/lib/locale/da_DK.js +1 -1
  377. package/lib/locale/de_DE.js +1 -1
  378. package/lib/locale/el_GR.js +1 -1
  379. package/lib/locale/en_GB.js +1 -1
  380. package/lib/locale/en_US.js +1 -1
  381. package/lib/locale/es_ES.js +1 -1
  382. package/lib/locale/et_EE.js +1 -1
  383. package/lib/locale/eu_ES.js +1 -1
  384. package/lib/locale/fa_IR.js +1 -1
  385. package/lib/locale/fi_FI.js +1 -1
  386. package/lib/locale/fr_BE.js +1 -1
  387. package/lib/locale/fr_CA.js +1 -1
  388. package/lib/locale/fr_FR.js +1 -1
  389. package/lib/locale/ga_IE.js +1 -1
  390. package/lib/locale/gl_ES.js +1 -1
  391. package/lib/locale/he_IL.js +1 -1
  392. package/lib/locale/hi_IN.js +1 -1
  393. package/lib/locale/hr_HR.js +1 -1
  394. package/lib/locale/hu_HU.js +1 -1
  395. package/lib/locale/id_ID.js +1 -1
  396. package/lib/locale/index.js +27 -2
  397. package/lib/locale/is_IS.js +1 -1
  398. package/lib/locale/it_IT.js +1 -1
  399. package/lib/locale/ja_JP.js +1 -1
  400. package/lib/locale/ka_GE.js +1 -1
  401. package/lib/locale/kk_KZ.js +1 -1
  402. package/lib/locale/km_KH.js +1 -1
  403. package/lib/locale/kmr_IQ.js +1 -1
  404. package/lib/locale/kn_IN.js +1 -1
  405. package/lib/locale/ko_KR.js +1 -1
  406. package/lib/locale/ku_IQ.js +1 -1
  407. package/lib/locale/lt_LT.js +1 -1
  408. package/lib/locale/lv_LV.js +1 -1
  409. package/lib/locale/mk_MK.js +1 -1
  410. package/lib/locale/ml_IN.js +1 -1
  411. package/lib/locale/mn_MN.js +1 -1
  412. package/lib/locale/ms_MY.js +1 -1
  413. package/lib/locale/my_MM.js +1 -1
  414. package/lib/locale/nb_NO.js +1 -1
  415. package/lib/locale/ne_NP.js +1 -1
  416. package/lib/locale/nl_BE.js +1 -1
  417. package/lib/locale/nl_NL.js +1 -1
  418. package/lib/locale/pl_PL.js +1 -1
  419. package/lib/locale/pt_BR.js +1 -1
  420. package/lib/locale/pt_PT.js +1 -1
  421. package/lib/locale/ro_RO.js +1 -1
  422. package/lib/locale/ru_RU.js +1 -1
  423. package/lib/locale/si_LK.js +1 -1
  424. package/lib/locale/sk_SK.js +1 -1
  425. package/lib/locale/sl_SI.js +1 -1
  426. package/lib/locale/sr_RS.js +1 -1
  427. package/lib/locale/sv_SE.js +1 -1
  428. package/lib/locale/ta_IN.js +1 -1
  429. package/lib/locale/th_TH.js +1 -1
  430. package/lib/locale/tk_TK.js +1 -1
  431. package/lib/locale/tr_TR.js +1 -1
  432. package/lib/locale/uk_UA.js +1 -1
  433. package/lib/locale/ur_PK.js +1 -1
  434. package/lib/locale/useLocale.js +27 -2
  435. package/lib/locale/vi_VN.js +1 -1
  436. package/lib/locale/zh_CN.js +1 -1
  437. package/lib/locale/zh_HK.js +1 -1
  438. package/lib/locale/zh_TW.js +1 -1
  439. package/lib/mentions/index.js +27 -3
  440. package/lib/mentions/style/index.js +1 -1
  441. package/lib/menu/MenuDivider.js +27 -3
  442. package/lib/menu/MenuItem.js +27 -3
  443. package/lib/menu/OverrideContext.js +26 -1
  444. package/lib/menu/SubMenu.js +27 -2
  445. package/lib/menu/hooks/useItems.js +26 -2
  446. package/lib/menu/index.js +27 -2
  447. package/lib/menu/menu.js +27 -2
  448. package/lib/menu/style/index.js +1 -1
  449. package/lib/message/PurePanel.js +27 -2
  450. package/lib/message/index.js +27 -2
  451. package/lib/message/useMessage.js +27 -3
  452. package/lib/modal/ConfirmDialog.js +29 -5
  453. package/lib/modal/Modal.js +27 -3
  454. package/lib/modal/PurePanel.js +27 -2
  455. package/lib/modal/components/ConfirmCancelBtn.js +27 -2
  456. package/lib/modal/components/ConfirmOkBtn.js +27 -2
  457. package/lib/modal/components/NormalCancelBtn.js +27 -2
  458. package/lib/modal/components/NormalOkBtn.js +27 -2
  459. package/lib/modal/confirm.js +27 -2
  460. package/lib/modal/context.js +1 -1
  461. package/lib/modal/index.js +27 -2
  462. package/lib/modal/locale.js +1 -1
  463. package/lib/modal/shared.js +1 -1
  464. package/lib/modal/style/index.js +1 -2
  465. package/lib/modal/useModal/HookModal.js +27 -2
  466. package/lib/modal/useModal/index.js +27 -2
  467. package/lib/notification/PurePanel.js +27 -3
  468. package/lib/notification/index.js +27 -2
  469. package/lib/notification/style/index.js +1 -1
  470. package/lib/notification/useNotification.js +27 -3
  471. package/lib/pagination/Pagination.js +27 -3
  472. package/lib/pagination/Select.js +27 -2
  473. package/lib/pagination/index.js +1 -1
  474. package/lib/popconfirm/PurePanel.js +27 -2
  475. package/lib/popconfirm/index.js +27 -2
  476. package/lib/popover/PurePanel.js +27 -2
  477. package/lib/popover/index.js +27 -2
  478. package/lib/popover/style/index.js +26 -2
  479. package/lib/progress/Circle.js +27 -3
  480. package/lib/progress/Line.js +26 -1
  481. package/lib/progress/Steps.js +27 -3
  482. package/lib/progress/index.js +1 -1
  483. package/lib/progress/progress.js +27 -3
  484. package/lib/qr-code/index.js +27 -3
  485. package/lib/qrcode/index.js +1 -1
  486. package/lib/radio/context.js +26 -1
  487. package/lib/radio/group.js +27 -3
  488. package/lib/radio/index.js +1 -1
  489. package/lib/radio/radio.js +27 -3
  490. package/lib/radio/radioButton.js +27 -2
  491. package/lib/rate/index.js +27 -2
  492. package/lib/result/index.d.ts +4 -4
  493. package/lib/result/index.js +27 -3
  494. package/lib/result/noFound.js +26 -1
  495. package/lib/result/serverError.js +26 -1
  496. package/lib/result/unauthorized.js +26 -1
  497. package/lib/segmented/index.js +26 -2
  498. package/lib/select/index.d.ts +1 -3
  499. package/lib/select/index.js +54 -27
  500. package/lib/select/mergedBuiltinPlacements.d.ts +4 -0
  501. package/lib/select/{useBuiltinPlacements.js → mergedBuiltinPlacements.js} +4 -3
  502. package/lib/select/style/dropdown.js +10 -4
  503. package/lib/select/style/index.js +1 -1
  504. package/lib/select/useIcons.js +27 -2
  505. package/lib/skeleton/Avatar.js +27 -3
  506. package/lib/skeleton/Button.js +27 -3
  507. package/lib/skeleton/Element.js +27 -3
  508. package/lib/skeleton/Image.js +27 -3
  509. package/lib/skeleton/Input.js +27 -3
  510. package/lib/skeleton/Node.js +27 -3
  511. package/lib/skeleton/Paragraph.js +27 -2
  512. package/lib/skeleton/Skeleton.js +26 -2
  513. package/lib/skeleton/Title.js +27 -2
  514. package/lib/skeleton/index.js +1 -1
  515. package/lib/slider/SliderTooltip.js +27 -2
  516. package/lib/slider/index.js +1 -1
  517. package/lib/space/Compact.js +27 -3
  518. package/lib/space/Item.js +26 -1
  519. package/lib/space/context.js +1 -1
  520. package/lib/space/index.js +27 -3
  521. package/lib/space/style/index.js +1 -1
  522. package/lib/spin/index.js +27 -3
  523. package/lib/statistic/Countdown.js +27 -2
  524. package/lib/statistic/Number.js +26 -1
  525. package/lib/statistic/Statistic.js +27 -3
  526. package/lib/statistic/index.js +1 -1
  527. package/lib/steps/index.js +27 -3
  528. package/lib/steps/style/index.js +1 -1
  529. package/lib/steps/useLegacyItems.js +27 -2
  530. package/lib/style/motion/index.js +1 -1
  531. package/lib/style/placementArrow.js +16 -16
  532. package/lib/switch/index.js +27 -3
  533. package/lib/table/ExpandIcon.js +27 -3
  534. package/lib/table/InternalTable.js +27 -3
  535. package/lib/table/Table.js +27 -2
  536. package/lib/table/hooks/useFilter/FilterDropdown.js +27 -3
  537. package/lib/table/hooks/useFilter/FilterSearch.js +27 -2
  538. package/lib/table/hooks/useFilter/FilterWrapper.js +27 -2
  539. package/lib/table/hooks/useFilter/index.js +27 -2
  540. package/lib/table/hooks/useLazyKVMap.js +25 -1
  541. package/lib/table/hooks/usePagination.js +1 -1
  542. package/lib/table/hooks/useSelection.js +26 -2
  543. package/lib/table/hooks/useSorter.js +26 -2
  544. package/lib/table/hooks/useTitleColumns.js +26 -1
  545. package/lib/table/index.js +1 -1
  546. package/lib/table/interface.d.ts +2 -6
  547. package/lib/table/style/fixed.js +5 -10
  548. package/lib/table/style/index.js +1 -1
  549. package/lib/tabs/hooks/useLegacyItems.js +27 -2
  550. package/lib/tabs/index.js +27 -3
  551. package/lib/tabs/style/index.js +1 -1
  552. package/lib/tag/CheckableTag.js +27 -3
  553. package/lib/tag/index.js +27 -3
  554. package/lib/tag/style/statusCmp.js +1 -1
  555. package/lib/theme/context.js +1 -1
  556. package/lib/theme/getDesignToken.js +1 -1
  557. package/lib/theme/index.js +1 -1
  558. package/lib/theme/interface/index.d.ts +2 -1
  559. package/lib/theme/internal.js +28 -3
  560. package/lib/theme/themes/compact/index.d.ts +1 -1
  561. package/lib/theme/themes/compact/index.js +4 -14
  562. package/lib/theme/themes/dark/colors.js +2 -2
  563. package/lib/theme/themes/dark/index.js +1 -0
  564. package/lib/theme/themes/default/colors.js +2 -2
  565. package/lib/theme/themes/default/index.js +5 -3
  566. package/lib/theme/themes/seed.d.ts +1 -1
  567. package/lib/theme/themes/seed.js +8 -8
  568. package/lib/theme/themes/shared/genColorMapToken.js +7 -0
  569. package/lib/theme/themes/shared/genCommonMapToken.js +0 -12
  570. package/lib/theme/themes/shared/genFontMapToken.d.ts +3 -0
  571. package/lib/theme/themes/shared/genFontMapToken.js +40 -0
  572. package/lib/theme/themes/shared/genRadius.js +1 -1
  573. package/lib/theme/useToken.js +1 -1
  574. package/lib/theme/util/alias.js +1 -1
  575. package/lib/theme/util/calc/CSSCalculator.js +1 -1
  576. package/lib/theme/util/calc/NumCalculator.js +1 -1
  577. package/lib/theme/util/calc/calculator.js +1 -1
  578. package/lib/theme/util/calc/index.js +1 -1
  579. package/lib/theme/util/genComponentStyleHook.js +27 -3
  580. package/lib/theme/util/statistic.d.ts +4 -2
  581. package/lib/theme/util/statistic.js +4 -4
  582. package/lib/theme/util/useResetIconStyle.js +1 -1
  583. package/lib/time-picker/index.js +27 -2
  584. package/lib/timeline/Timeline.js +27 -2
  585. package/lib/timeline/TimelineItem.js +27 -3
  586. package/lib/timeline/TimelineItemList.js +27 -3
  587. package/lib/timeline/index.js +1 -1
  588. package/lib/timeline/useItems.js +1 -1
  589. package/lib/tooltip/PurePanel.js +27 -2
  590. package/lib/tooltip/index.js +27 -3
  591. package/lib/tooltip/style/index.js +26 -2
  592. package/lib/tooltip/util.js +1 -1
  593. package/lib/tour/PurePanel.js +27 -2
  594. package/lib/tour/index.js +27 -3
  595. package/lib/tour/panelRender.js +1 -1
  596. package/lib/tour/style/index.js +26 -2
  597. package/lib/transfer/ListBody.js +27 -3
  598. package/lib/transfer/ListItem.js +27 -3
  599. package/lib/transfer/hooks/useData.d.ts +2 -1
  600. package/lib/transfer/hooks/useData.js +28 -3
  601. package/lib/transfer/hooks/useSelection.js +26 -1
  602. package/lib/transfer/index.js +27 -3
  603. package/lib/transfer/list.js +27 -3
  604. package/lib/transfer/operation.js +27 -2
  605. package/lib/transfer/search.js +27 -2
  606. package/lib/tree/DirectoryTree.d.ts +1 -3
  607. package/lib/tree/DirectoryTree.js +27 -3
  608. package/lib/tree/Tree.js +10 -4
  609. package/lib/tree/index.d.ts +1 -3
  610. package/lib/tree/index.js +1 -1
  611. package/lib/tree/style/index.js +3 -1
  612. package/lib/tree/utils/dictUtil.js +1 -1
  613. package/lib/tree/utils/dropIndicator.js +1 -1
  614. package/lib/tree/utils/iconUtil.js +26 -2
  615. package/lib/tree-select/index.d.ts +1 -3
  616. package/lib/tree-select/index.js +32 -9
  617. package/lib/typography/Base/Ellipsis.js +26 -2
  618. package/lib/typography/Base/EllipsisTooltip.js +27 -2
  619. package/lib/typography/Base/index.d.ts +1 -1
  620. package/lib/typography/Base/index.js +31 -7
  621. package/lib/typography/Editable.js +27 -3
  622. package/lib/typography/Link.js +26 -2
  623. package/lib/typography/Paragraph.js +27 -2
  624. package/lib/typography/Text.js +26 -2
  625. package/lib/typography/Title.js +27 -2
  626. package/lib/typography/Typography.js +27 -3
  627. package/lib/typography/hooks/useMergedConfig.js +25 -1
  628. package/lib/typography/hooks/useUpdatedEffect.js +26 -1
  629. package/lib/typography/index.js +1 -1
  630. package/lib/upload/Dragger.js +32 -4
  631. package/lib/upload/Upload.js +31 -4
  632. package/lib/upload/UploadList/ListItem.js +27 -3
  633. package/lib/upload/UploadList/index.js +27 -2
  634. package/lib/upload/index.js +27 -2
  635. package/lib/upload/interface.d.ts +1 -1
  636. package/lib/upload/style/dragger.js +7 -4
  637. package/lib/upload/style/index.js +1 -1
  638. package/lib/upload/utils.js +1 -1
  639. package/lib/version/index.js +1 -1
  640. package/lib/version/token-meta.json +1 -1
  641. package/lib/version/token.json +1 -1
  642. package/lib/version/version.d.ts +1 -1
  643. package/lib/version/version.js +1 -1
  644. package/lib/watermark/context.js +26 -1
  645. package/lib/watermark/index.js +27 -2
  646. package/lib/watermark/useRafDebounce.js +1 -1
  647. package/lib/watermark/useWatermark.js +28 -3
  648. package/lib/watermark/utils.d.ts +1 -1
  649. package/package.json +71 -71
  650. package/es/select/useBuiltinPlacements.d.ts +0 -3
  651. package/lib/select/useBuiltinPlacements.d.ts +0 -3
  652. /package/es/modal/style/{confirmCmp.d.ts → confirm.d.ts} +0 -0
  653. /package/es/modal/style/{confirmCmp.js → confirm.js} +0 -0
  654. /package/lib/modal/style/{confirmCmp.d.ts → confirm.d.ts} +0 -0
  655. /package/lib/modal/style/{confirmCmp.js → confirm.js} +0 -0
@@ -21,6 +21,10 @@ export default function genColorMapToken(seed, _ref) {
21
21
  var errorColors = generateColorPalettes(colorErrorBase);
22
22
  var infoColors = generateColorPalettes(colorInfoBase);
23
23
  var neutralColors = generateNeutralColorPalettes(colorBgBase, colorTextBase);
24
+
25
+ // Color Link
26
+ var colorLink = seed.colorLink || seed.colorInfo;
27
+ var linkColors = generateColorPalettes(colorLink);
24
28
  return _objectSpread(_objectSpread({}, neutralColors), {}, {
25
29
  colorPrimaryBg: primaryColors[1],
26
30
  colorPrimaryBgHover: primaryColors[2],
@@ -72,6 +76,9 @@ export default function genColorMapToken(seed, _ref) {
72
76
  colorInfoTextHover: infoColors[8],
73
77
  colorInfoText: infoColors[9],
74
78
  colorInfoTextActive: infoColors[10],
79
+ colorLinkHover: linkColors[4],
80
+ colorLink: linkColors[6],
81
+ colorLinkActive: linkColors[7],
75
82
  colorBgMask: new TinyColor('#000').setAlpha(0.45).toRgbString(),
76
83
  colorWhite: '#fff'
77
84
  });
@@ -4,29 +4,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
- import genFontSizes from "./genFontSizes";
8
7
  import genRadius from "./genRadius";
9
8
  export default function genCommonMapToken(token) {
10
- // @ts-ignore
11
9
  var motionUnit = token.motionUnit,
12
10
  motionBase = token.motionBase,
13
- fontSize = token.fontSize,
14
11
  borderRadius = token.borderRadius,
15
12
  lineWidth = token.lineWidth;
16
- var fontSizes = genFontSizes(fontSize);
17
13
  return _objectSpread({
18
14
  // motion
19
15
  motionDurationFast: "".concat((motionBase + motionUnit).toFixed(1), "s"),
20
16
  motionDurationMid: "".concat((motionBase + motionUnit * 2).toFixed(1), "s"),
21
17
  motionDurationSlow: "".concat((motionBase + motionUnit * 3).toFixed(1), "s"),
22
- // font
23
- // @ts-ignore
24
- fontSizes: fontSizes.map(function (fs) {
25
- return fs.size;
26
- }),
27
- lineHeights: fontSizes.map(function (fs) {
28
- return fs.lineHeight;
29
- }),
30
18
  // line
31
19
  lineWidthBold: lineWidth + 1
32
20
  }, genRadius(borderRadius));
@@ -0,0 +1,3 @@
1
+ import type { FontMapToken } from 'antd/es/theme/interface';
2
+ declare const genFontMapToken: (fontSize: number) => FontMapToken;
3
+ export default genFontMapToken;
@@ -0,0 +1,40 @@
1
+ import genFontSizes from "./genFontSizes";
2
+ var genFontMapToken = function genFontMapToken(fontSize) {
3
+ var fontSizePairs = genFontSizes(fontSize);
4
+ var fontSizes = fontSizePairs.map(function (pair) {
5
+ return pair.size;
6
+ });
7
+ var lineHeights = fontSizePairs.map(function (pair) {
8
+ return pair.lineHeight;
9
+ });
10
+ var fontSizeMD = fontSizes[1];
11
+ var fontSizeSM = fontSizes[0];
12
+ var fontSizeLG = fontSizes[2];
13
+ var lineHeight = lineHeights[1];
14
+ var lineHeightSM = lineHeights[0];
15
+ var lineHeightLG = lineHeights[2];
16
+ return {
17
+ fontSizeSM: fontSizeSM,
18
+ fontSize: fontSizeMD,
19
+ fontSizeLG: fontSizeLG,
20
+ fontSizeXL: fontSizes[3],
21
+ fontSizeHeading1: fontSizes[6],
22
+ fontSizeHeading2: fontSizes[5],
23
+ fontSizeHeading3: fontSizes[4],
24
+ fontSizeHeading4: fontSizes[3],
25
+ fontSizeHeading5: fontSizes[2],
26
+ lineHeight: lineHeight,
27
+ lineHeightLG: lineHeightLG,
28
+ lineHeightSM: lineHeightSM,
29
+ // @ts-ignore
30
+ fontHeight: Math.round(lineHeight * fontSizeMD),
31
+ fontHeightLG: Math.round(lineHeightLG * fontSizeLG),
32
+ fontHeightSM: Math.round(lineHeightSM * fontSizeSM),
33
+ lineHeightHeading1: lineHeights[6],
34
+ lineHeightHeading2: lineHeights[5],
35
+ lineHeightHeading3: lineHeights[4],
36
+ lineHeightHeading4: lineHeights[3],
37
+ lineHeightHeading5: lineHeights[2]
38
+ };
39
+ };
40
+ export default genFontMapToken;
@@ -40,7 +40,7 @@ var genRadius = function genRadius(radiusBase) {
40
40
  radiusOuter = 6;
41
41
  }
42
42
  return {
43
- borderRadius: radiusBase > 16 ? 16 : radiusBase,
43
+ borderRadius: radiusBase,
44
44
  borderRadiusXS: radiusXS,
45
45
  borderRadiusSM: radiusSM,
46
46
  borderRadiusLG: radiusLG,
@@ -6,7 +6,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
6
6
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
7
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
9
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
10
10
  Object.defineProperty(exports, "__esModule", {
11
11
  value: true
12
12
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  "use client";
3
3
 
4
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -11,8 +10,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
11
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
15
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
13
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
14
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
16
15
  Object.defineProperty(exports, "__esModule", {
17
16
  value: true
18
17
  });
@@ -28,6 +27,31 @@ var _calc = _interopRequireDefault(require("./calc"));
28
27
  var _maxmin = _interopRequireDefault(require("./maxmin"));
29
28
  var _statistic = _interopRequireWildcard(require("./statistic"));
30
29
  var _useResetIconStyle = _interopRequireDefault(require("./useResetIconStyle"));
30
+ function _getRequireWildcardCache(e) {
31
+ if ("function" != typeof WeakMap) return null;
32
+ var r = new WeakMap(),
33
+ t = new WeakMap();
34
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
35
+ return e ? t : r;
36
+ })(e);
37
+ }
38
+ function _interopRequireWildcard(e, r) {
39
+ if (!r && e && e.__esModule) return e;
40
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
41
+ default: e
42
+ };
43
+ var t = _getRequireWildcardCache(r);
44
+ if (t && t.has(e)) return t.get(e);
45
+ var n = {
46
+ __proto__: null
47
+ },
48
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
49
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
50
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
51
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
52
+ }
53
+ return n.default = e, t && t.set(e, n), n;
54
+ }
31
55
  var getDefaultComponentToken = function getDefaultComponentToken(component, token, getDefaultToken) {
32
56
  var _a;
33
57
  if (typeof getDefaultToken === 'function') {
@@ -1,11 +1,13 @@
1
+ import type { AnyObject } from '../../_util/type';
1
2
  /**
2
3
  * This function will do as `Object.assign` in production. But will use Object.defineProperty:get to
3
4
  * pass all value access in development. To support statistic field usage with alias token.
4
5
  */
5
- export declare function merge<T extends object>(...objs: Partial<T>[]): T;
6
+ export declare function merge<T extends AnyObject>(...objs: Partial<T>[]): T;
6
7
  /** Statistic token usage case. Should use `merge` function if you do not want spread record. */
7
- export default function statisticToken<T extends object>(token: T): {
8
+ declare const statisticToken: <T extends AnyObject>(token: T) => {
8
9
  token: T;
9
10
  keys: Set<string> | undefined;
10
11
  flush: (componentName: string, componentToken: Record<string, string | number>) => void;
11
12
  };
13
+ export default statisticToken;
@@ -3,8 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports._statistic_build_ = void 0;
7
- exports.default = statisticToken;
6
+ exports.default = exports._statistic_build_ = void 0;
8
7
  exports.merge = merge;
9
8
  exports.statistic = void 0;
10
9
  var enableStatistic = process.env.NODE_ENV !== 'production' || typeof CSSINJS_STATISTIC !== 'undefined';
@@ -46,7 +45,7 @@ var _statistic_build_ = exports._statistic_build_ = {};
46
45
  /* istanbul ignore next */
47
46
  function noop() {}
48
47
  /** Statistic token usage case. Should use `merge` function if you do not want spread record. */
49
- function statisticToken(token) {
48
+ var statisticToken = function statisticToken(token) {
50
49
  var tokenKeys;
51
50
  var proxy = token;
52
51
  var flush = noop;
@@ -73,4 +72,5 @@ function statisticToken(token) {
73
72
  keys: tokenKeys,
74
73
  flush: flush
75
74
  };
76
- }
75
+ };
76
+ var _default = exports.default = statisticToken;
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
10
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
13
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
14
  Object.defineProperty(exports, "__esModule", {
15
15
  value: true
16
16
  });
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  "use client";
3
3
 
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
6
6
  Object.defineProperty(exports, "__esModule", {
7
7
  value: true
8
8
  });
@@ -11,6 +11,31 @@ var React = _interopRequireWildcard(require("react"));
11
11
  var _PurePanel = _interopRequireDefault(require("../_util/PurePanel"));
12
12
  var _warning = require("../_util/warning");
13
13
  var _datePicker = _interopRequireDefault(require("../date-picker"));
14
+ function _getRequireWildcardCache(e) {
15
+ if ("function" != typeof WeakMap) return null;
16
+ var r = new WeakMap(),
17
+ t = new WeakMap();
18
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
19
+ return e ? t : r;
20
+ })(e);
21
+ }
22
+ function _interopRequireWildcard(e, r) {
23
+ if (!r && e && e.__esModule) return e;
24
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
25
+ default: e
26
+ };
27
+ var t = _getRequireWildcardCache(r);
28
+ if (t && t.has(e)) return t.get(e);
29
+ var n = {
30
+ __proto__: null
31
+ },
32
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
33
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
34
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
35
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
36
+ }
37
+ return n.default = e, t && t.set(e, n), n;
38
+ }
14
39
  var __rest = void 0 && (void 0).__rest || function (s, e) {
15
40
  var t = {};
16
41
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
7
7
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
8
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
11
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
12
12
  Object.defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
@@ -22,6 +22,31 @@ var _useCSSVarCls = _interopRequireDefault(require("../config-provider/hooks/use
22
22
  var _TimelineItem = _interopRequireDefault(require("./TimelineItem"));
23
23
  var _TimelineItemList = _interopRequireDefault(require("./TimelineItemList"));
24
24
  var _useItems = _interopRequireDefault(require("./useItems"));
25
+ function _getRequireWildcardCache(e) {
26
+ if ("function" != typeof WeakMap) return null;
27
+ var r = new WeakMap(),
28
+ t = new WeakMap();
29
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
30
+ return e ? t : r;
31
+ })(e);
32
+ }
33
+ function _interopRequireWildcard(e, r) {
34
+ if (!r && e && e.__esModule) return e;
35
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
36
+ default: e
37
+ };
38
+ var t = _getRequireWildcardCache(r);
39
+ if (t && t.has(e)) return t.get(e);
40
+ var n = {
41
+ __proto__: null
42
+ },
43
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
44
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
45
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
46
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
47
+ }
48
+ return n.default = e, t && t.set(e, n), n;
49
+ }
25
50
  var __rest = void 0 && (void 0).__rest || function (s, e) {
26
51
  var t = {};
27
52
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
  "use client";
3
3
 
4
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
9
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
7
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
8
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
10
9
  Object.defineProperty(exports, "__esModule", {
11
10
  value: true
12
11
  });
@@ -14,6 +13,31 @@ exports.default = void 0;
14
13
  var _classnames = _interopRequireDefault(require("classnames"));
15
14
  var React = _interopRequireWildcard(require("react"));
16
15
  var _configProvider = require("../config-provider");
16
+ function _getRequireWildcardCache(e) {
17
+ if ("function" != typeof WeakMap) return null;
18
+ var r = new WeakMap(),
19
+ t = new WeakMap();
20
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
21
+ return e ? t : r;
22
+ })(e);
23
+ }
24
+ function _interopRequireWildcard(e, r) {
25
+ if (!r && e && e.__esModule) return e;
26
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
27
+ default: e
28
+ };
29
+ var t = _getRequireWildcardCache(r);
30
+ if (t && t.has(e)) return t.get(e);
31
+ var n = {
32
+ __proto__: null
33
+ },
34
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
35
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
36
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
37
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
38
+ }
39
+ return n.default = e, t && t.set(e, n), n;
40
+ }
17
41
  var __rest = void 0 && (void 0).__rest || function (s, e) {
18
42
  var t = {};
19
43
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
  "use client";
3
3
 
4
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
5
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
8
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
9
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
7
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
8
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
10
9
  Object.defineProperty(exports, "__esModule", {
11
10
  value: true
12
11
  });
@@ -16,6 +15,31 @@ var _classnames = _interopRequireDefault(require("classnames"));
16
15
  var React = _interopRequireWildcard(require("react"));
17
16
  var _LoadingOutlined = _interopRequireDefault(require("@ant-design/icons/LoadingOutlined"));
18
17
  var _TimelineItem = _interopRequireDefault(require("./TimelineItem"));
18
+ function _getRequireWildcardCache(e) {
19
+ if ("function" != typeof WeakMap) return null;
20
+ var r = new WeakMap(),
21
+ t = new WeakMap();
22
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
23
+ return e ? t : r;
24
+ })(e);
25
+ }
26
+ function _interopRequireWildcard(e, r) {
27
+ if (!r && e && e.__esModule) return e;
28
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
29
+ default: e
30
+ };
31
+ var t = _getRequireWildcardCache(r);
32
+ if (t && t.has(e)) return t.get(e);
33
+ var n = {
34
+ __proto__: null
35
+ },
36
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
37
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
38
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
39
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
40
+ }
41
+ return n.default = e, t && t.set(e, n), n;
42
+ }
19
43
  var __rest = void 0 && (void 0).__rest || function (s, e) {
20
44
  var t = {};
21
45
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  "use client";
3
3
 
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  "use client";
3
3
 
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
@@ -7,8 +7,8 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
7
7
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
8
8
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
9
9
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
11
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
10
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
12
12
  Object.defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
@@ -19,6 +19,31 @@ var React = _interopRequireWildcard(require("react"));
19
19
  var _configProvider = require("../config-provider");
20
20
  var _style = _interopRequireDefault(require("./style"));
21
21
  var _util = require("./util");
22
+ function _getRequireWildcardCache(e) {
23
+ if ("function" != typeof WeakMap) return null;
24
+ var r = new WeakMap(),
25
+ t = new WeakMap();
26
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
27
+ return e ? t : r;
28
+ })(e);
29
+ }
30
+ function _interopRequireWildcard(e, r) {
31
+ if (!r && e && e.__esModule) return e;
32
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
33
+ default: e
34
+ };
35
+ var t = _getRequireWildcardCache(r);
36
+ if (t && t.has(e)) return t.get(e);
37
+ var n = {
38
+ __proto__: null
39
+ },
40
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
41
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
42
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
43
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
44
+ }
45
+ return n.default = e, t && t.set(e, n), n;
46
+ }
22
47
  /** @private Internal Component. Do not use in your production. */
23
48
  var PurePanel = function PurePanel(props) {
24
49
  var customizePrefixCls = props.prefixCls,
@@ -4,15 +4,14 @@
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
8
7
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
10
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
15
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
13
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
14
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
16
15
  Object.defineProperty(exports, "__esModule", {
17
16
  value: true
18
17
  });
@@ -33,6 +32,31 @@ var _internal = require("../theme/internal");
33
32
  var _PurePanel = _interopRequireDefault(require("./PurePanel"));
34
33
  var _style = _interopRequireDefault(require("./style"));
35
34
  var _util = require("./util");
35
+ function _getRequireWildcardCache(e) {
36
+ if ("function" != typeof WeakMap) return null;
37
+ var r = new WeakMap(),
38
+ t = new WeakMap();
39
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
40
+ return e ? t : r;
41
+ })(e);
42
+ }
43
+ function _interopRequireWildcard(e, r) {
44
+ if (!r && e && e.__esModule) return e;
45
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
46
+ default: e
47
+ };
48
+ var t = _getRequireWildcardCache(r);
49
+ if (t && t.has(e)) return t.get(e);
50
+ var n = {
51
+ __proto__: null
52
+ },
53
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
54
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
55
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
56
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
57
+ }
58
+ return n.default = e, t && t.set(e, n), n;
59
+ }
36
60
  var __rest = void 0 && (void 0).__rest || function (s, e) {
37
61
  var t = {};
38
62
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
3
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
4
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
5
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
8
7
  Object.defineProperty(exports, "__esModule", {
9
8
  value: true
10
9
  });
@@ -15,6 +14,31 @@ var _placementArrow = _interopRequireWildcard(require("../../style/placementArro
15
14
  var _internal = require("../../theme/internal");
16
15
  var _cssinjs = require("@ant-design/cssinjs");
17
16
  var _roundedArrow = require("../../style/roundedArrow");
17
+ function _getRequireWildcardCache(e) {
18
+ if ("function" != typeof WeakMap) return null;
19
+ var r = new WeakMap(),
20
+ t = new WeakMap();
21
+ return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
22
+ return e ? t : r;
23
+ })(e);
24
+ }
25
+ function _interopRequireWildcard(e, r) {
26
+ if (!r && e && e.__esModule) return e;
27
+ if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
28
+ default: e
29
+ };
30
+ var t = _getRequireWildcardCache(r);
31
+ if (t && t.has(e)) return t.get(e);
32
+ var n = {
33
+ __proto__: null
34
+ },
35
+ a = Object.defineProperty && Object.getOwnPropertyDescriptor;
36
+ for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
37
+ var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
38
+ i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
39
+ }
40
+ return n.default = e, t && t.set(e, n), n;
41
+ }
18
42
  var genTooltipStyle = function genTooltipStyle(token) {
19
43
  var _Object$assign;
20
44
  var componentCls = token.componentCls,
@@ -4,7 +4,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
7
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
8
8
  Object.defineProperty(exports, "__esModule", {
9
9
  value: true
10
10
  });