@swiftcrab/crab 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1779) hide show
  1. package/README.md +143 -0
  2. package/es/_util/ActionButton.d.ts +19 -0
  3. package/es/_util/ActionButton.js +48 -0
  4. package/es/_util/ContextIsolator.d.ts +3 -0
  5. package/es/_util/ContextIsolator.js +40 -0
  6. package/es/_util/PurePanel.d.ts +9 -0
  7. package/es/_util/PurePanel.js +40 -0
  8. package/es/_util/aria-data-attrs.d.ts +4 -0
  9. package/es/_util/aria-data-attrs.js +0 -0
  10. package/es/_util/capitalize.d.ts +1 -0
  11. package/es/_util/capitalize.js +1 -0
  12. package/es/_util/colors.d.ts +13 -0
  13. package/es/_util/colors.js +1 -0
  14. package/es/_util/easings.d.ts +1 -0
  15. package/es/_util/easings.js +1 -0
  16. package/es/_util/extendsObject.d.ts +3 -0
  17. package/es/_util/extendsObject.js +1 -0
  18. package/es/_util/gapSize.d.ts +3 -0
  19. package/es/_util/gapSize.js +1 -0
  20. package/es/_util/getAllowClear.d.ts +4 -0
  21. package/es/_util/getAllowClear.js +1 -0
  22. package/es/_util/getRenderPropValue.d.ts +3 -0
  23. package/es/_util/getRenderPropValue.js +1 -0
  24. package/es/_util/getScroll.d.ts +3 -0
  25. package/es/_util/getScroll.js +1 -0
  26. package/es/_util/hooks/useClosable.d.ts +31 -0
  27. package/es/_util/hooks/useClosable.js +1 -0
  28. package/es/_util/hooks/useForceUpdate.d.ts +2 -0
  29. package/es/_util/hooks/useForceUpdate.js +1 -0
  30. package/es/_util/hooks/useMultipleSelect.d.ts +6 -0
  31. package/es/_util/hooks/useMultipleSelect.js +1 -0
  32. package/es/_util/hooks/usePatchElement.d.ts +5 -0
  33. package/es/_util/hooks/usePatchElement.js +1 -0
  34. package/es/_util/hooks/useProxyImperativeHandle.d.ts +4 -0
  35. package/es/_util/hooks/useProxyImperativeHandle.js +1 -0
  36. package/es/_util/hooks/useSyncState.d.ts +3 -0
  37. package/es/_util/hooks/useSyncState.js +1 -0
  38. package/es/_util/hooks/useUniqueMemo.d.ts +6 -0
  39. package/es/_util/hooks/useUniqueMemo.js +1 -0
  40. package/es/_util/hooks/useZIndex.d.ts +8 -0
  41. package/es/_util/hooks/useZIndex.js +35 -0
  42. package/es/_util/isNumeric.d.ts +2 -0
  43. package/es/_util/isNumeric.js +1 -0
  44. package/es/_util/isPrimitive.d.ts +2 -0
  45. package/es/_util/isPrimitive.js +1 -0
  46. package/es/_util/motion.d.ts +7 -0
  47. package/es/_util/motion.js +40 -0
  48. package/es/_util/placements.d.ts +21 -0
  49. package/es/_util/placements.js +1 -0
  50. package/es/_util/reactNode.d.ts +7 -0
  51. package/es/_util/reactNode.js +1 -0
  52. package/es/_util/responsiveObserver.d.ts +22 -0
  53. package/es/_util/responsiveObserver.js +35 -0
  54. package/es/_util/scrollTo.d.ts +10 -0
  55. package/es/_util/scrollTo.js +1 -0
  56. package/es/_util/statusUtils.d.ts +6 -0
  57. package/es/_util/statusUtils.js +1 -0
  58. package/es/_util/styleChecker.d.ts +3 -0
  59. package/es/_util/styleChecker.js +1 -0
  60. package/es/_util/throttleByAnimationFrame.d.ts +5 -0
  61. package/es/_util/throttleByAnimationFrame.js +1 -0
  62. package/es/_util/toList.d.ts +1 -0
  63. package/es/_util/toList.js +1 -0
  64. package/es/_util/transKeys.d.ts +3 -0
  65. package/es/_util/transKeys.js +1 -0
  66. package/es/_util/type.d.ts +54 -0
  67. package/es/_util/type.js +0 -0
  68. package/es/_util/warning.d.ts +31 -0
  69. package/es/_util/warning.js +1 -0
  70. package/es/_util/wave/WaveEffect.d.ts +10 -0
  71. package/es/_util/wave/WaveEffect.js +40 -0
  72. package/es/_util/wave/index.d.ts +9 -0
  73. package/es/_util/wave/index.js +41 -0
  74. package/es/_util/wave/interface.d.ts +11 -0
  75. package/es/_util/wave/interface.js +40 -0
  76. package/es/_util/wave/style.d.ts +7 -0
  77. package/es/_util/wave/style.js +35 -0
  78. package/es/_util/wave/useWave.d.ts +4 -0
  79. package/es/_util/wave/useWave.js +41 -0
  80. package/es/_util/wave/util.d.ts +2 -0
  81. package/es/_util/wave/util.js +1 -0
  82. package/es/_util/zindexContext.d.ts +3 -0
  83. package/es/_util/zindexContext.js +1 -0
  84. package/es/affix/index.d.ts +22 -0
  85. package/es/affix/index.js +40 -0
  86. package/es/affix/style/index.d.ts +11 -0
  87. package/es/affix/style/index.js +35 -0
  88. package/es/affix/utils.d.ts +4 -0
  89. package/es/affix/utils.js +1 -0
  90. package/es/alert/Alert.d.ts +42 -0
  91. package/es/alert/Alert.js +42 -0
  92. package/es/alert/ErrorBoundary.d.ts +24 -0
  93. package/es/alert/ErrorBoundary.js +42 -0
  94. package/es/alert/index.d.ts +8 -0
  95. package/es/alert/index.js +42 -0
  96. package/es/alert/style/index.d.ts +26 -0
  97. package/es/alert/style/index.js +37 -0
  98. package/es/anchor/Anchor.d.ts +59 -0
  99. package/es/anchor/Anchor.js +40 -0
  100. package/es/anchor/AnchorLink.d.ts +14 -0
  101. package/es/anchor/AnchorLink.js +40 -0
  102. package/es/anchor/context.d.ts +4 -0
  103. package/es/anchor/context.js +1 -0
  104. package/es/anchor/index.d.ts +10 -0
  105. package/es/anchor/index.js +40 -0
  106. package/es/anchor/style/index.d.ts +16 -0
  107. package/es/anchor/style/index.js +35 -0
  108. package/es/app/context.d.ts +16 -0
  109. package/es/app/context.js +1 -0
  110. package/es/app/index.d.ts +16 -0
  111. package/es/app/index.js +77 -0
  112. package/es/app/style/index.d.ts +6 -0
  113. package/es/app/style/index.js +35 -0
  114. package/es/auto-complete/index.d.ts +28 -0
  115. package/es/auto-complete/index.js +78 -0
  116. package/es/avatar/AvatarContext.d.ts +9 -0
  117. package/es/avatar/AvatarContext.js +1 -0
  118. package/es/avatar/avatar.d.ts +26 -0
  119. package/es/avatar/avatar.js +41 -0
  120. package/es/avatar/group.d.ts +27 -0
  121. package/es/avatar/group.js +50 -0
  122. package/es/avatar/index.d.ts +10 -0
  123. package/es/avatar/index.js +49 -0
  124. package/es/avatar/style/index.d.ts +51 -0
  125. package/es/avatar/style/index.js +35 -0
  126. package/es/badge/Ribbon.d.ts +16 -0
  127. package/es/badge/Ribbon.js +40 -0
  128. package/es/badge/ScrollNumber.d.ts +18 -0
  129. package/es/badge/ScrollNumber.js +40 -0
  130. package/es/badge/SingleNumber.d.ts +14 -0
  131. package/es/badge/SingleNumber.js +1 -0
  132. package/es/badge/index.d.ts +41 -0
  133. package/es/badge/index.js +40 -0
  134. package/es/badge/style/index.d.ts +104 -0
  135. package/es/badge/style/index.js +35 -0
  136. package/es/badge/style/ribbon.d.ts +2 -0
  137. package/es/badge/style/ribbon.js +35 -0
  138. package/es/breadcrumb/Breadcrumb.d.ts +58 -0
  139. package/es/breadcrumb/Breadcrumb.js +87 -0
  140. package/es/breadcrumb/BreadcrumbItem.d.ts +31 -0
  141. package/es/breadcrumb/BreadcrumbItem.js +83 -0
  142. package/es/breadcrumb/BreadcrumbSeparator.d.ts +4 -0
  143. package/es/breadcrumb/BreadcrumbSeparator.js +40 -0
  144. package/es/breadcrumb/index.d.ts +4 -0
  145. package/es/breadcrumb/index.js +87 -0
  146. package/es/breadcrumb/style/index.d.ts +41 -0
  147. package/es/breadcrumb/style/index.js +38 -0
  148. package/es/breadcrumb/useItemRender.d.ts +8 -0
  149. package/es/breadcrumb/useItemRender.js +1 -0
  150. package/es/breadcrumb/useItems.d.ts +6 -0
  151. package/es/breadcrumb/useItems.js +1 -0
  152. package/es/button/IconWrapper.d.ts +9 -0
  153. package/es/button/IconWrapper.js +1 -0
  154. package/es/button/LoadingIcon.d.ts +11 -0
  155. package/es/button/LoadingIcon.js +1 -0
  156. package/es/button/button-group.d.ts +12 -0
  157. package/es/button/button-group.js +40 -0
  158. package/es/button/button.d.ts +44 -0
  159. package/es/button/button.js +48 -0
  160. package/es/button/buttonHelpers.d.ts +18 -0
  161. package/es/button/buttonHelpers.js +1 -0
  162. package/es/button/index.d.ts +6 -0
  163. package/es/button/index.js +48 -0
  164. package/es/button/style/compact.d.ts +2 -0
  165. package/es/button/style/compact.js +47 -0
  166. package/es/button/style/group.d.ts +4 -0
  167. package/es/button/style/group.js +1 -0
  168. package/es/button/style/index.d.ts +4 -0
  169. package/es/button/style/index.js +47 -0
  170. package/es/button/style/token.d.ts +233 -0
  171. package/es/button/style/token.js +47 -0
  172. package/es/calendar/Header.d.ts +17 -0
  173. package/es/calendar/Header.js +79 -0
  174. package/es/calendar/generateCalendar.d.ts +44 -0
  175. package/es/calendar/generateCalendar.js +118 -0
  176. package/es/calendar/index.d.ts +10 -0
  177. package/es/calendar/index.js +118 -0
  178. package/es/calendar/locale/ar_EG.d.ts +2 -0
  179. package/es/calendar/locale/ar_EG.js +1 -0
  180. package/es/calendar/locale/az_AZ.d.ts +2 -0
  181. package/es/calendar/locale/az_AZ.js +1 -0
  182. package/es/calendar/locale/bg_BG.d.ts +2 -0
  183. package/es/calendar/locale/bg_BG.js +1 -0
  184. package/es/calendar/locale/bn_BD.d.ts +2 -0
  185. package/es/calendar/locale/bn_BD.js +1 -0
  186. package/es/calendar/locale/by_BY.d.ts +2 -0
  187. package/es/calendar/locale/by_BY.js +1 -0
  188. package/es/calendar/locale/ca_ES.d.ts +2 -0
  189. package/es/calendar/locale/ca_ES.js +1 -0
  190. package/es/calendar/locale/cs_CZ.d.ts +2 -0
  191. package/es/calendar/locale/cs_CZ.js +1 -0
  192. package/es/calendar/locale/da_DK.d.ts +2 -0
  193. package/es/calendar/locale/da_DK.js +1 -0
  194. package/es/calendar/locale/de_DE.d.ts +2 -0
  195. package/es/calendar/locale/de_DE.js +1 -0
  196. package/es/calendar/locale/el_GR.d.ts +2 -0
  197. package/es/calendar/locale/el_GR.js +1 -0
  198. package/es/calendar/locale/en_GB.d.ts +2 -0
  199. package/es/calendar/locale/en_GB.js +1 -0
  200. package/es/calendar/locale/en_US.d.ts +2 -0
  201. package/es/calendar/locale/en_US.js +1 -0
  202. package/es/calendar/locale/es_ES.d.ts +2 -0
  203. package/es/calendar/locale/es_ES.js +1 -0
  204. package/es/calendar/locale/et_EE.d.ts +2 -0
  205. package/es/calendar/locale/et_EE.js +1 -0
  206. package/es/calendar/locale/eu_ES.d.ts +2 -0
  207. package/es/calendar/locale/eu_ES.js +1 -0
  208. package/es/calendar/locale/fa_IR.d.ts +2 -0
  209. package/es/calendar/locale/fa_IR.js +1 -0
  210. package/es/calendar/locale/fi_FI.d.ts +2 -0
  211. package/es/calendar/locale/fi_FI.js +1 -0
  212. package/es/calendar/locale/fr_BE.d.ts +2 -0
  213. package/es/calendar/locale/fr_BE.js +1 -0
  214. package/es/calendar/locale/fr_CA.d.ts +2 -0
  215. package/es/calendar/locale/fr_CA.js +1 -0
  216. package/es/calendar/locale/fr_FR.d.ts +2 -0
  217. package/es/calendar/locale/fr_FR.js +1 -0
  218. package/es/calendar/locale/ga_IE.d.ts +2 -0
  219. package/es/calendar/locale/ga_IE.js +1 -0
  220. package/es/calendar/locale/gl_ES.d.ts +2 -0
  221. package/es/calendar/locale/gl_ES.js +1 -0
  222. package/es/calendar/locale/he_IL.d.ts +2 -0
  223. package/es/calendar/locale/he_IL.js +1 -0
  224. package/es/calendar/locale/hi_IN.d.ts +2 -0
  225. package/es/calendar/locale/hi_IN.js +1 -0
  226. package/es/calendar/locale/hr_HR.d.ts +2 -0
  227. package/es/calendar/locale/hr_HR.js +1 -0
  228. package/es/calendar/locale/hu_HU.d.ts +2 -0
  229. package/es/calendar/locale/hu_HU.js +1 -0
  230. package/es/calendar/locale/id_ID.d.ts +2 -0
  231. package/es/calendar/locale/id_ID.js +1 -0
  232. package/es/calendar/locale/is_IS.d.ts +2 -0
  233. package/es/calendar/locale/is_IS.js +1 -0
  234. package/es/calendar/locale/it_IT.d.ts +2 -0
  235. package/es/calendar/locale/it_IT.js +1 -0
  236. package/es/calendar/locale/ja_JP.d.ts +2 -0
  237. package/es/calendar/locale/ja_JP.js +1 -0
  238. package/es/calendar/locale/ka_GE.d.ts +2 -0
  239. package/es/calendar/locale/ka_GE.js +1 -0
  240. package/es/calendar/locale/kk_KZ.d.ts +2 -0
  241. package/es/calendar/locale/kk_KZ.js +1 -0
  242. package/es/calendar/locale/km_KH.d.ts +2 -0
  243. package/es/calendar/locale/km_KH.js +1 -0
  244. package/es/calendar/locale/kmr_IQ.d.ts +2 -0
  245. package/es/calendar/locale/kmr_IQ.js +1 -0
  246. package/es/calendar/locale/kn_IN.d.ts +2 -0
  247. package/es/calendar/locale/kn_IN.js +1 -0
  248. package/es/calendar/locale/ko_KR.d.ts +2 -0
  249. package/es/calendar/locale/ko_KR.js +1 -0
  250. package/es/calendar/locale/lt_LT.d.ts +2 -0
  251. package/es/calendar/locale/lt_LT.js +1 -0
  252. package/es/calendar/locale/lv_LV.d.ts +2 -0
  253. package/es/calendar/locale/lv_LV.js +1 -0
  254. package/es/calendar/locale/mk_MK.d.ts +2 -0
  255. package/es/calendar/locale/mk_MK.js +1 -0
  256. package/es/calendar/locale/ml_IN.d.ts +2 -0
  257. package/es/calendar/locale/ml_IN.js +1 -0
  258. package/es/calendar/locale/mn_MN.d.ts +2 -0
  259. package/es/calendar/locale/mn_MN.js +1 -0
  260. package/es/calendar/locale/ms_MY.d.ts +2 -0
  261. package/es/calendar/locale/ms_MY.js +1 -0
  262. package/es/calendar/locale/my_MM.d.ts +2 -0
  263. package/es/calendar/locale/my_MM.js +1 -0
  264. package/es/calendar/locale/nb_NO.d.ts +2 -0
  265. package/es/calendar/locale/nb_NO.js +1 -0
  266. package/es/calendar/locale/nl_BE.d.ts +2 -0
  267. package/es/calendar/locale/nl_BE.js +1 -0
  268. package/es/calendar/locale/nl_NL.d.ts +2 -0
  269. package/es/calendar/locale/nl_NL.js +1 -0
  270. package/es/calendar/locale/pl_PL.d.ts +2 -0
  271. package/es/calendar/locale/pl_PL.js +1 -0
  272. package/es/calendar/locale/pt_BR.d.ts +2 -0
  273. package/es/calendar/locale/pt_BR.js +1 -0
  274. package/es/calendar/locale/pt_PT.d.ts +2 -0
  275. package/es/calendar/locale/pt_PT.js +1 -0
  276. package/es/calendar/locale/ro_RO.d.ts +2 -0
  277. package/es/calendar/locale/ro_RO.js +1 -0
  278. package/es/calendar/locale/ru_RU.d.ts +2 -0
  279. package/es/calendar/locale/ru_RU.js +1 -0
  280. package/es/calendar/locale/si_LK.d.ts +2 -0
  281. package/es/calendar/locale/si_LK.js +1 -0
  282. package/es/calendar/locale/sk_SK.d.ts +2 -0
  283. package/es/calendar/locale/sk_SK.js +1 -0
  284. package/es/calendar/locale/sl_SI.d.ts +2 -0
  285. package/es/calendar/locale/sl_SI.js +1 -0
  286. package/es/calendar/locale/sr_RS.d.ts +2 -0
  287. package/es/calendar/locale/sr_RS.js +1 -0
  288. package/es/calendar/locale/sv_SE.d.ts +2 -0
  289. package/es/calendar/locale/sv_SE.js +1 -0
  290. package/es/calendar/locale/ta_IN.d.ts +2 -0
  291. package/es/calendar/locale/ta_IN.js +1 -0
  292. package/es/calendar/locale/th_TH.d.ts +2 -0
  293. package/es/calendar/locale/th_TH.js +1 -0
  294. package/es/calendar/locale/tk_TK.d.ts +2 -0
  295. package/es/calendar/locale/tk_TK.js +1 -0
  296. package/es/calendar/locale/tr_TR.d.ts +2 -0
  297. package/es/calendar/locale/tr_TR.js +1 -0
  298. package/es/calendar/locale/uk_UA.d.ts +2 -0
  299. package/es/calendar/locale/uk_UA.js +1 -0
  300. package/es/calendar/locale/ur_PK.d.ts +2 -0
  301. package/es/calendar/locale/ur_PK.js +1 -0
  302. package/es/calendar/locale/uz_UZ.d.ts +2 -0
  303. package/es/calendar/locale/uz_UZ.js +1 -0
  304. package/es/calendar/locale/vi_VN.d.ts +2 -0
  305. package/es/calendar/locale/vi_VN.js +1 -0
  306. package/es/calendar/locale/zh_CN.d.ts +2 -0
  307. package/es/calendar/locale/zh_CN.js +1 -0
  308. package/es/calendar/locale/zh_TW.d.ts +2 -0
  309. package/es/calendar/locale/zh_TW.js +1 -0
  310. package/es/calendar/style/index.d.ts +61 -0
  311. package/es/calendar/style/index.js +86 -0
  312. package/es/card/Card.d.ts +56 -0
  313. package/es/card/Card.js +67 -0
  314. package/es/card/Grid.d.ts +9 -0
  315. package/es/card/Grid.js +40 -0
  316. package/es/card/Meta.d.ts +11 -0
  317. package/es/card/Meta.js +40 -0
  318. package/es/card/index.d.ts +13 -0
  319. package/es/card/index.js +67 -0
  320. package/es/card/style/index.d.ts +51 -0
  321. package/es/card/style/index.js +44 -0
  322. package/es/carousel/index.d.ts +27 -0
  323. package/es/carousel/index.js +40 -0
  324. package/es/carousel/style/index.d.ts +43 -0
  325. package/es/carousel/style/index.js +35 -0
  326. package/es/cascader/Panel.d.ts +12 -0
  327. package/es/cascader/Panel.js +49 -0
  328. package/es/cascader/hooks/useBase.d.ts +8 -0
  329. package/es/cascader/hooks/useBase.js +40 -0
  330. package/es/cascader/hooks/useCheckable.d.ts +2 -0
  331. package/es/cascader/hooks/useCheckable.js +1 -0
  332. package/es/cascader/hooks/useColumnIcons.d.ts +3 -0
  333. package/es/cascader/hooks/useColumnIcons.js +1 -0
  334. package/es/cascader/index.d.ts +55 -0
  335. package/es/cascader/index.js +87 -0
  336. package/es/cascader/style/columns.d.ts +4 -0
  337. package/es/cascader/style/columns.js +44 -0
  338. package/es/cascader/style/index.d.ts +51 -0
  339. package/es/cascader/style/index.js +44 -0
  340. package/es/cascader/style/panel.d.ts +2 -0
  341. package/es/cascader/style/panel.js +44 -0
  342. package/es/checkbox/Checkbox.d.ts +43 -0
  343. package/es/checkbox/Checkbox.js +46 -0
  344. package/es/checkbox/Group.d.ts +32 -0
  345. package/es/checkbox/Group.js +46 -0
  346. package/es/checkbox/GroupContext.d.ts +12 -0
  347. package/es/checkbox/GroupContext.js +1 -0
  348. package/es/checkbox/index.d.ts +11 -0
  349. package/es/checkbox/index.js +46 -0
  350. package/es/checkbox/style/index.d.ts +23 -0
  351. package/es/checkbox/style/index.js +41 -0
  352. package/es/checkbox/useBubbleLock.d.ts +7 -0
  353. package/es/checkbox/useBubbleLock.js +1 -0
  354. package/es/col/index.d.ts +4 -0
  355. package/es/col/index.js +40 -0
  356. package/es/col/style/index.d.ts +2 -0
  357. package/es/col/style/index.js +1 -0
  358. package/es/collapse/Collapse.d.ts +45 -0
  359. package/es/collapse/Collapse.js +47 -0
  360. package/es/collapse/CollapsePanel.d.ts +19 -0
  361. package/es/collapse/CollapsePanel.js +40 -0
  362. package/es/collapse/index.d.ts +4 -0
  363. package/es/collapse/index.js +47 -0
  364. package/es/collapse/style/index.d.ts +46 -0
  365. package/es/collapse/style/index.js +42 -0
  366. package/es/color-picker/ColorPicker.d.ts +8 -0
  367. package/es/color-picker/ColorPicker.js +130 -0
  368. package/es/color-picker/ColorPickerPanel.d.ts +9 -0
  369. package/es/color-picker/ColorPickerPanel.js +130 -0
  370. package/es/color-picker/color.d.ts +34 -0
  371. package/es/color-picker/color.js +1 -0
  372. package/es/color-picker/components/ColorAlphaInput.d.ts +9 -0
  373. package/es/color-picker/components/ColorAlphaInput.js +70 -0
  374. package/es/color-picker/components/ColorClear.d.ts +9 -0
  375. package/es/color-picker/components/ColorClear.js +1 -0
  376. package/es/color-picker/components/ColorHexInput.d.ts +9 -0
  377. package/es/color-picker/components/ColorHexInput.js +66 -0
  378. package/es/color-picker/components/ColorHsbInput.d.ts +9 -0
  379. package/es/color-picker/components/ColorHsbInput.js +70 -0
  380. package/es/color-picker/components/ColorInput.d.ts +14 -0
  381. package/es/color-picker/components/ColorInput.js +116 -0
  382. package/es/color-picker/components/ColorPresets.d.ts +12 -0
  383. package/es/color-picker/components/ColorPresets.js +47 -0
  384. package/es/color-picker/components/ColorRgbInput.d.ts +9 -0
  385. package/es/color-picker/components/ColorRgbInput.js +70 -0
  386. package/es/color-picker/components/ColorSlider.d.ts +20 -0
  387. package/es/color-picker/components/ColorSlider.js +61 -0
  388. package/es/color-picker/components/ColorSteppers.d.ts +15 -0
  389. package/es/color-picker/components/ColorSteppers.js +70 -0
  390. package/es/color-picker/components/ColorTrigger.d.ts +20 -0
  391. package/es/color-picker/components/ColorTrigger.js +1 -0
  392. package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +8 -0
  393. package/es/color-picker/components/PanelPicker/GradientColorBar.js +61 -0
  394. package/es/color-picker/components/PanelPicker/index.d.ts +3 -0
  395. package/es/color-picker/components/PanelPicker/index.js +130 -0
  396. package/es/color-picker/components/PanelPresets.d.ts +3 -0
  397. package/es/color-picker/components/PanelPresets.js +47 -0
  398. package/es/color-picker/context.d.ts +38 -0
  399. package/es/color-picker/context.js +1 -0
  400. package/es/color-picker/hooks/useModeColor.d.ts +17 -0
  401. package/es/color-picker/hooks/useModeColor.js +1 -0
  402. package/es/color-picker/index.d.ts +4 -0
  403. package/es/color-picker/index.js +130 -0
  404. package/es/color-picker/interface.d.ts +73 -0
  405. package/es/color-picker/interface.js +1 -0
  406. package/es/color-picker/style/color-block.d.ts +8 -0
  407. package/es/color-picker/style/color-block.js +1 -0
  408. package/es/color-picker/style/index.d.ts +62 -0
  409. package/es/color-picker/style/index.js +35 -0
  410. package/es/color-picker/style/input.d.ts +5 -0
  411. package/es/color-picker/style/input.js +1 -0
  412. package/es/color-picker/style/picker.d.ts +5 -0
  413. package/es/color-picker/style/picker.js +1 -0
  414. package/es/color-picker/style/presets.d.ts +5 -0
  415. package/es/color-picker/style/presets.js +1 -0
  416. package/es/color-picker/style/slider.d.ts +5 -0
  417. package/es/color-picker/style/slider.js +1 -0
  418. package/es/color-picker/util.d.ts +15 -0
  419. package/es/color-picker/util.js +1 -0
  420. package/es/config-provider/DisabledContext.d.ts +8 -0
  421. package/es/config-provider/DisabledContext.js +1 -0
  422. package/es/config-provider/MotionWrapper.d.ts +5 -0
  423. package/es/config-provider/MotionWrapper.js +35 -0
  424. package/es/config-provider/PropWarning.d.ts +6 -0
  425. package/es/config-provider/PropWarning.js +1 -0
  426. package/es/config-provider/SizeContext.d.ts +9 -0
  427. package/es/config-provider/SizeContext.js +1 -0
  428. package/es/config-provider/UnstableContext.d.ts +10 -0
  429. package/es/config-provider/UnstableContext.js +2 -0
  430. package/es/config-provider/context.d.ts +248 -0
  431. package/es/config-provider/context.js +1 -0
  432. package/es/config-provider/cssVariables.d.ts +3 -0
  433. package/es/config-provider/cssVariables.js +6 -0
  434. package/es/config-provider/defaultRenderEmpty.d.ts +8 -0
  435. package/es/config-provider/defaultRenderEmpty.js +41 -0
  436. package/es/config-provider/hooks/useCSSVarCls.d.ts +7 -0
  437. package/es/config-provider/hooks/useCSSVarCls.js +35 -0
  438. package/es/config-provider/hooks/useConfig.d.ts +5 -0
  439. package/es/config-provider/hooks/useConfig.js +1 -0
  440. package/es/config-provider/hooks/useSize.d.ts +3 -0
  441. package/es/config-provider/hooks/useSize.js +1 -0
  442. package/es/config-provider/hooks/useTheme.d.ts +4 -0
  443. package/es/config-provider/hooks/useTheme.js +35 -0
  444. package/es/config-provider/hooks/useThemeKey.d.ts +3 -0
  445. package/es/config-provider/hooks/useThemeKey.js +1 -0
  446. package/es/config-provider/index.d.ts +139 -0
  447. package/es/config-provider/index.js +40 -0
  448. package/es/config-provider/style/index.d.ts +1 -0
  449. package/es/config-provider/style/index.js +35 -0
  450. package/es/copy/index.d.ts +13 -0
  451. package/es/copy/index.js +1 -0
  452. package/es/date-picker/PickerButton.d.ts +4 -0
  453. package/es/date-picker/PickerButton.js +48 -0
  454. package/es/date-picker/generatePicker/constant.d.ts +5 -0
  455. package/es/date-picker/generatePicker/constant.js +1 -0
  456. package/es/date-picker/generatePicker/generateRangePicker.d.ts +17 -0
  457. package/es/date-picker/generatePicker/generateRangePicker.js +99 -0
  458. package/es/date-picker/generatePicker/generateSinglePicker.d.ts +25 -0
  459. package/es/date-picker/generatePicker/generateSinglePicker.js +99 -0
  460. package/es/date-picker/generatePicker/index.d.ts +36 -0
  461. package/es/date-picker/generatePicker/index.js +99 -0
  462. package/es/date-picker/generatePicker/interface.d.ts +72 -0
  463. package/es/date-picker/generatePicker/interface.js +0 -0
  464. package/es/date-picker/generatePicker/useComponents.d.ts +13 -0
  465. package/es/date-picker/generatePicker/useComponents.js +48 -0
  466. package/es/date-picker/index.d.ts +48 -0
  467. package/es/date-picker/index.js +99 -0
  468. package/es/date-picker/locale/ar_EG.d.ts +3 -0
  469. package/es/date-picker/locale/ar_EG.js +1 -0
  470. package/es/date-picker/locale/az_AZ.d.ts +3 -0
  471. package/es/date-picker/locale/az_AZ.js +1 -0
  472. package/es/date-picker/locale/bg_BG.d.ts +3 -0
  473. package/es/date-picker/locale/bg_BG.js +1 -0
  474. package/es/date-picker/locale/bn_BD.d.ts +3 -0
  475. package/es/date-picker/locale/bn_BD.js +1 -0
  476. package/es/date-picker/locale/by_BY.d.ts +3 -0
  477. package/es/date-picker/locale/by_BY.js +1 -0
  478. package/es/date-picker/locale/ca_ES.d.ts +3 -0
  479. package/es/date-picker/locale/ca_ES.js +1 -0
  480. package/es/date-picker/locale/cs_CZ.d.ts +3 -0
  481. package/es/date-picker/locale/cs_CZ.js +1 -0
  482. package/es/date-picker/locale/da_DK.d.ts +3 -0
  483. package/es/date-picker/locale/da_DK.js +1 -0
  484. package/es/date-picker/locale/de_DE.d.ts +3 -0
  485. package/es/date-picker/locale/de_DE.js +1 -0
  486. package/es/date-picker/locale/el_GR.d.ts +3 -0
  487. package/es/date-picker/locale/el_GR.js +1 -0
  488. package/es/date-picker/locale/en_GB.d.ts +3 -0
  489. package/es/date-picker/locale/en_GB.js +1 -0
  490. package/es/date-picker/locale/en_US.d.ts +3 -0
  491. package/es/date-picker/locale/en_US.js +1 -0
  492. package/es/date-picker/locale/es_ES.d.ts +3 -0
  493. package/es/date-picker/locale/es_ES.js +1 -0
  494. package/es/date-picker/locale/et_EE.d.ts +3 -0
  495. package/es/date-picker/locale/et_EE.js +1 -0
  496. package/es/date-picker/locale/eu_ES.d.ts +3 -0
  497. package/es/date-picker/locale/eu_ES.js +1 -0
  498. package/es/date-picker/locale/fa_IR.d.ts +3 -0
  499. package/es/date-picker/locale/fa_IR.js +1 -0
  500. package/es/date-picker/locale/fi_FI.d.ts +3 -0
  501. package/es/date-picker/locale/fi_FI.js +1 -0
  502. package/es/date-picker/locale/fr_BE.d.ts +3 -0
  503. package/es/date-picker/locale/fr_BE.js +1 -0
  504. package/es/date-picker/locale/fr_CA.d.ts +3 -0
  505. package/es/date-picker/locale/fr_CA.js +1 -0
  506. package/es/date-picker/locale/fr_FR.d.ts +3 -0
  507. package/es/date-picker/locale/fr_FR.js +1 -0
  508. package/es/date-picker/locale/ga_IE.d.ts +3 -0
  509. package/es/date-picker/locale/ga_IE.js +1 -0
  510. package/es/date-picker/locale/gl_ES.d.ts +3 -0
  511. package/es/date-picker/locale/gl_ES.js +1 -0
  512. package/es/date-picker/locale/he_IL.d.ts +3 -0
  513. package/es/date-picker/locale/he_IL.js +1 -0
  514. package/es/date-picker/locale/hi_IN.d.ts +3 -0
  515. package/es/date-picker/locale/hi_IN.js +1 -0
  516. package/es/date-picker/locale/hr_HR.d.ts +3 -0
  517. package/es/date-picker/locale/hr_HR.js +1 -0
  518. package/es/date-picker/locale/hu_HU.d.ts +3 -0
  519. package/es/date-picker/locale/hu_HU.js +1 -0
  520. package/es/date-picker/locale/id_ID.d.ts +3 -0
  521. package/es/date-picker/locale/id_ID.js +1 -0
  522. package/es/date-picker/locale/is_IS.d.ts +3 -0
  523. package/es/date-picker/locale/is_IS.js +1 -0
  524. package/es/date-picker/locale/it_IT.d.ts +3 -0
  525. package/es/date-picker/locale/it_IT.js +1 -0
  526. package/es/date-picker/locale/ja_JP.d.ts +3 -0
  527. package/es/date-picker/locale/ja_JP.js +1 -0
  528. package/es/date-picker/locale/ka_GE.d.ts +3 -0
  529. package/es/date-picker/locale/ka_GE.js +1 -0
  530. package/es/date-picker/locale/kk_KZ.d.ts +3 -0
  531. package/es/date-picker/locale/kk_KZ.js +1 -0
  532. package/es/date-picker/locale/km_KH.d.ts +3 -0
  533. package/es/date-picker/locale/km_KH.js +1 -0
  534. package/es/date-picker/locale/kmr_IQ.d.ts +3 -0
  535. package/es/date-picker/locale/kmr_IQ.js +1 -0
  536. package/es/date-picker/locale/kn_IN.d.ts +3 -0
  537. package/es/date-picker/locale/kn_IN.js +1 -0
  538. package/es/date-picker/locale/ko_KR.d.ts +3 -0
  539. package/es/date-picker/locale/ko_KR.js +1 -0
  540. package/es/date-picker/locale/lt_LT.d.ts +3 -0
  541. package/es/date-picker/locale/lt_LT.js +1 -0
  542. package/es/date-picker/locale/lv_LV.d.ts +3 -0
  543. package/es/date-picker/locale/lv_LV.js +1 -0
  544. package/es/date-picker/locale/mk_MK.d.ts +3 -0
  545. package/es/date-picker/locale/mk_MK.js +1 -0
  546. package/es/date-picker/locale/ml_IN.d.ts +3 -0
  547. package/es/date-picker/locale/ml_IN.js +1 -0
  548. package/es/date-picker/locale/mn_MN.d.ts +3 -0
  549. package/es/date-picker/locale/mn_MN.js +1 -0
  550. package/es/date-picker/locale/ms_MY.d.ts +3 -0
  551. package/es/date-picker/locale/ms_MY.js +1 -0
  552. package/es/date-picker/locale/my_MM.d.ts +3 -0
  553. package/es/date-picker/locale/my_MM.js +1 -0
  554. package/es/date-picker/locale/nb_NO.d.ts +3 -0
  555. package/es/date-picker/locale/nb_NO.js +1 -0
  556. package/es/date-picker/locale/nl_BE.d.ts +3 -0
  557. package/es/date-picker/locale/nl_BE.js +1 -0
  558. package/es/date-picker/locale/nl_NL.d.ts +3 -0
  559. package/es/date-picker/locale/nl_NL.js +1 -0
  560. package/es/date-picker/locale/pl_PL.d.ts +3 -0
  561. package/es/date-picker/locale/pl_PL.js +1 -0
  562. package/es/date-picker/locale/pt_BR.d.ts +3 -0
  563. package/es/date-picker/locale/pt_BR.js +1 -0
  564. package/es/date-picker/locale/pt_PT.d.ts +3 -0
  565. package/es/date-picker/locale/pt_PT.js +1 -0
  566. package/es/date-picker/locale/ro_RO.d.ts +3 -0
  567. package/es/date-picker/locale/ro_RO.js +1 -0
  568. package/es/date-picker/locale/ru_RU.d.ts +4 -0
  569. package/es/date-picker/locale/ru_RU.js +1 -0
  570. package/es/date-picker/locale/si_LK.d.ts +3 -0
  571. package/es/date-picker/locale/si_LK.js +1 -0
  572. package/es/date-picker/locale/sk_SK.d.ts +3 -0
  573. package/es/date-picker/locale/sk_SK.js +1 -0
  574. package/es/date-picker/locale/sl_SI.d.ts +3 -0
  575. package/es/date-picker/locale/sl_SI.js +1 -0
  576. package/es/date-picker/locale/sr_RS.d.ts +3 -0
  577. package/es/date-picker/locale/sr_RS.js +1 -0
  578. package/es/date-picker/locale/sv_SE.d.ts +3 -0
  579. package/es/date-picker/locale/sv_SE.js +1 -0
  580. package/es/date-picker/locale/ta_IN.d.ts +3 -0
  581. package/es/date-picker/locale/ta_IN.js +1 -0
  582. package/es/date-picker/locale/th_TH.d.ts +3 -0
  583. package/es/date-picker/locale/th_TH.js +1 -0
  584. package/es/date-picker/locale/tk_TK.d.ts +3 -0
  585. package/es/date-picker/locale/tk_TK.js +1 -0
  586. package/es/date-picker/locale/tr_TR.d.ts +3 -0
  587. package/es/date-picker/locale/tr_TR.js +1 -0
  588. package/es/date-picker/locale/uk_UA.d.ts +3 -0
  589. package/es/date-picker/locale/uk_UA.js +1 -0
  590. package/es/date-picker/locale/ur_PK.d.ts +3 -0
  591. package/es/date-picker/locale/ur_PK.js +1 -0
  592. package/es/date-picker/locale/uz_UZ.d.ts +3 -0
  593. package/es/date-picker/locale/uz_UZ.js +1 -0
  594. package/es/date-picker/locale/vi_VN.d.ts +3 -0
  595. package/es/date-picker/locale/vi_VN.js +1 -0
  596. package/es/date-picker/locale/zh_CN.d.ts +3 -0
  597. package/es/date-picker/locale/zh_CN.js +1 -0
  598. package/es/date-picker/locale/zh_TW.d.ts +3 -0
  599. package/es/date-picker/locale/zh_TW.js +1 -0
  600. package/es/date-picker/style/index.d.ts +7 -0
  601. package/es/date-picker/style/index.js +86 -0
  602. package/es/date-picker/style/multiple.d.ts +4 -0
  603. package/es/date-picker/style/multiple.js +35 -0
  604. package/es/date-picker/style/panel.d.ts +6 -0
  605. package/es/date-picker/style/panel.js +12 -0
  606. package/es/date-picker/style/token.d.ts +103 -0
  607. package/es/date-picker/style/token.js +35 -0
  608. package/es/date-picker/style/variants.d.ts +4 -0
  609. package/es/date-picker/style/variants.js +35 -0
  610. package/es/date-picker/util.d.ts +8 -0
  611. package/es/date-picker/util.js +1 -0
  612. package/es/descriptions/Cell.d.ts +17 -0
  613. package/es/descriptions/Cell.js +1 -0
  614. package/es/descriptions/DescriptionsContext.d.ts +7 -0
  615. package/es/descriptions/DescriptionsContext.js +1 -0
  616. package/es/descriptions/Item.d.ts +13 -0
  617. package/es/descriptions/Item.js +1 -0
  618. package/es/descriptions/Row.d.ts +13 -0
  619. package/es/descriptions/Row.js +1 -0
  620. package/es/descriptions/constant.d.ts +3 -0
  621. package/es/descriptions/constant.js +1 -0
  622. package/es/descriptions/hooks/useItems.d.ts +4 -0
  623. package/es/descriptions/hooks/useItems.js +35 -0
  624. package/es/descriptions/hooks/useRow.d.ts +3 -0
  625. package/es/descriptions/hooks/useRow.js +1 -0
  626. package/es/descriptions/index.d.ts +42 -0
  627. package/es/descriptions/index.js +40 -0
  628. package/es/descriptions/style/index.d.ts +52 -0
  629. package/es/descriptions/style/index.js +35 -0
  630. package/es/divider/index.d.ts +20 -0
  631. package/es/divider/index.js +40 -0
  632. package/es/divider/style/index.d.ts +23 -0
  633. package/es/divider/style/index.js +35 -0
  634. package/es/drag/SortableBoard.d.ts +4 -0
  635. package/es/drag/SortableBoard.js +1 -0
  636. package/es/drag/SortableBoardProvider.d.ts +14 -0
  637. package/es/drag/SortableBoardProvider.js +1 -0
  638. package/es/drag/SortableList.d.ts +8 -0
  639. package/es/drag/SortableList.js +1 -0
  640. package/es/drag/SortableZone.d.ts +7 -0
  641. package/es/drag/SortableZone.js +1 -0
  642. package/es/drag/SortableZoneShared.d.ts +36 -0
  643. package/es/drag/SortableZoneShared.js +1 -0
  644. package/es/drag/index.d.ts +12 -0
  645. package/es/drag/index.js +1 -0
  646. package/es/drag/type.d.ts +362 -0
  647. package/es/drag/type.js +0 -0
  648. package/es/drawer/DrawerPanel.d.ts +49 -0
  649. package/es/drawer/DrawerPanel.js +55 -0
  650. package/es/drawer/index.d.ts +34 -0
  651. package/es/drawer/index.js +55 -0
  652. package/es/drawer/style/index.d.ts +23 -0
  653. package/es/drawer/style/index.js +35 -0
  654. package/es/drawer/style/motion.d.ts +4 -0
  655. package/es/drawer/style/motion.js +1 -0
  656. package/es/dropdown/dropdown-button.d.ts +21 -0
  657. package/es/dropdown/dropdown-button.js +88 -0
  658. package/es/dropdown/dropdown.d.ts +50 -0
  659. package/es/dropdown/dropdown.js +83 -0
  660. package/es/dropdown/index.d.ts +8 -0
  661. package/es/dropdown/index.js +89 -0
  662. package/es/dropdown/style/index.d.ts +40 -0
  663. package/es/dropdown/style/index.js +64 -0
  664. package/es/dropdown/style/status.d.ts +4 -0
  665. package/es/dropdown/style/status.js +1 -0
  666. package/es/empty/empty.d.ts +3 -0
  667. package/es/empty/empty.js +36 -0
  668. package/es/empty/index.d.ts +21 -0
  669. package/es/empty/index.js +41 -0
  670. package/es/empty/simple.d.ts +3 -0
  671. package/es/empty/simple.js +36 -0
  672. package/es/empty/style/index.d.ts +5 -0
  673. package/es/empty/style/index.js +35 -0
  674. package/es/flex/index.d.ts +4 -0
  675. package/es/flex/index.js +40 -0
  676. package/es/flex/interface.d.ts +15 -0
  677. package/es/flex/interface.js +0 -0
  678. package/es/flex/style/index.d.ts +30 -0
  679. package/es/flex/style/index.js +35 -0
  680. package/es/flex/utils.d.ts +6 -0
  681. package/es/flex/utils.js +1 -0
  682. package/es/form/ErrorList.d.ts +13 -0
  683. package/es/form/ErrorList.js +50 -0
  684. package/es/form/Form.d.ts +43 -0
  685. package/es/form/Form.js +50 -0
  686. package/es/form/FormItem/ItemHolder.d.ts +18 -0
  687. package/es/form/FormItem/ItemHolder.js +59 -0
  688. package/es/form/FormItem/StatusProvider.d.ts +16 -0
  689. package/es/form/FormItem/StatusProvider.js +1 -0
  690. package/es/form/FormItem/index.d.ts +46 -0
  691. package/es/form/FormItem/index.js +60 -0
  692. package/es/form/FormItemInput.d.ts +22 -0
  693. package/es/form/FormItemInput.js +50 -0
  694. package/es/form/FormItemLabel.d.ts +22 -0
  695. package/es/form/FormItemLabel.js +49 -0
  696. package/es/form/FormList.d.ts +25 -0
  697. package/es/form/FormList.js +40 -0
  698. package/es/form/context.d.ts +52 -0
  699. package/es/form/context.js +1 -0
  700. package/es/form/hooks/useChildren.d.ts +2 -0
  701. package/es/form/hooks/useChildren.js +1 -0
  702. package/es/form/hooks/useDebounce.d.ts +1 -0
  703. package/es/form/hooks/useDebounce.js +1 -0
  704. package/es/form/hooks/useForm.d.ts +8 -0
  705. package/es/form/hooks/useForm.js +1 -0
  706. package/es/form/hooks/useFormInstance.d.ts +2 -0
  707. package/es/form/hooks/useFormInstance.js +1 -0
  708. package/es/form/hooks/useFormItemStatus.d.ts +9 -0
  709. package/es/form/hooks/useFormItemStatus.js +2 -0
  710. package/es/form/hooks/useFormWarning.d.ts +2 -0
  711. package/es/form/hooks/useFormWarning.js +1 -0
  712. package/es/form/hooks/useFrameState.d.ts +3 -0
  713. package/es/form/hooks/useFrameState.js +1 -0
  714. package/es/form/hooks/useItemRef.d.ts +3 -0
  715. package/es/form/hooks/useItemRef.js +1 -0
  716. package/es/form/hooks/useVariants.d.ts +7 -0
  717. package/es/form/hooks/useVariants.js +40 -0
  718. package/es/form/index.d.ts +26 -0
  719. package/es/form/index.js +60 -0
  720. package/es/form/interface.d.ts +3 -0
  721. package/es/form/interface.js +0 -0
  722. package/es/form/style/explain.d.ts +4 -0
  723. package/es/form/style/explain.js +3 -0
  724. package/es/form/style/fallbackCmp.d.ts +6 -0
  725. package/es/form/style/fallbackCmp.js +45 -0
  726. package/es/form/style/index.d.ts +74 -0
  727. package/es/form/style/index.js +45 -0
  728. package/es/form/util.d.ts +9 -0
  729. package/es/form/util.js +1 -0
  730. package/es/form/validateMessagesContext.d.ts +3 -0
  731. package/es/form/validateMessagesContext.js +1 -0
  732. package/es/form-area/ValidateTooltip.d.ts +12 -0
  733. package/es/form-area/ValidateTooltip.js +353 -0
  734. package/es/form-area/index.d.ts +4 -0
  735. package/es/form-area/index.js +353 -0
  736. package/es/form-area/renderItemMap.d.ts +45 -0
  737. package/es/form-area/renderItemMap.js +353 -0
  738. package/es/form-area/type.d.ts +158 -0
  739. package/es/form-area/type.js +0 -0
  740. package/es/grid/RowContext.d.ts +6 -0
  741. package/es/grid/RowContext.js +1 -0
  742. package/es/grid/col.d.ts +29 -0
  743. package/es/grid/col.js +40 -0
  744. package/es/grid/hooks/useBreakpoint.d.ts +3 -0
  745. package/es/grid/hooks/useBreakpoint.js +35 -0
  746. package/es/grid/index.d.ts +10 -0
  747. package/es/grid/index.js +40 -0
  748. package/es/grid/row.d.ts +20 -0
  749. package/es/grid/row.js +40 -0
  750. package/es/grid/style/index.d.ts +7 -0
  751. package/es/grid/style/index.js +35 -0
  752. package/es/hooks/index.d.ts +5 -0
  753. package/es/hooks/index.js +353 -0
  754. package/es/hooks/useDrawer.d.ts +10 -0
  755. package/es/hooks/useDrawer.js +1 -0
  756. package/es/hooks/useForm.d.ts +33 -0
  757. package/es/hooks/useForm.js +353 -0
  758. package/es/hooks/useModal.d.ts +10 -0
  759. package/es/hooks/useModal.js +1 -0
  760. package/es/hooks/useParsedHash.d.ts +9 -0
  761. package/es/hooks/useParsedHash.js +1 -0
  762. package/es/hooks/useUrlState.d.ts +9 -0
  763. package/es/hooks/useUrlState.js +1 -0
  764. package/es/icon/index.d.ts +2 -0
  765. package/es/icon/index.js +1 -0
  766. package/es/image/PreviewGroup.d.ts +15 -0
  767. package/es/image/PreviewGroup.js +54 -0
  768. package/es/image/index.d.ts +9 -0
  769. package/es/image/index.js +54 -0
  770. package/es/image/style/index.d.ts +59 -0
  771. package/es/image/style/index.js +49 -0
  772. package/es/index.d.ts +150 -0
  773. package/es/index.js +353 -0
  774. package/es/input/Group.d.ts +15 -0
  775. package/es/input/Group.js +58 -0
  776. package/es/input/Input.d.ts +25 -0
  777. package/es/input/Input.js +59 -0
  778. package/es/input/OTP/OTPInput.d.ts +11 -0
  779. package/es/input/OTP/OTPInput.js +59 -0
  780. package/es/input/OTP/index.d.ts +29 -0
  781. package/es/input/OTP/index.js +59 -0
  782. package/es/input/Password.d.ts +14 -0
  783. package/es/input/Password.js +59 -0
  784. package/es/input/Search.d.ts +12 -0
  785. package/es/input/Search.js +66 -0
  786. package/es/input/TextArea.d.ts +25 -0
  787. package/es/input/TextArea.js +59 -0
  788. package/es/input/hooks/useRemovePasswordTimeout.d.ts +2 -0
  789. package/es/input/hooks/useRemovePasswordTimeout.js +1 -0
  790. package/es/input/index.d.ts +20 -0
  791. package/es/input/index.js +66 -0
  792. package/es/input/style/index.d.ts +17 -0
  793. package/es/input/style/index.js +53 -0
  794. package/es/input/style/otp.d.ts +2 -0
  795. package/es/input/style/otp.js +35 -0
  796. package/es/input/style/token.d.ts +97 -0
  797. package/es/input/style/token.js +35 -0
  798. package/es/input/style/variants.d.ts +15 -0
  799. package/es/input/style/variants.js +35 -0
  800. package/es/input/utils.d.ts +8 -0
  801. package/es/input/utils.js +1 -0
  802. package/es/input-number/index.d.ts +34 -0
  803. package/es/input-number/index.js +70 -0
  804. package/es/input-number/style/index.d.ts +18 -0
  805. package/es/input-number/style/index.js +65 -0
  806. package/es/input-number/style/token.d.ts +52 -0
  807. package/es/input-number/style/token.js +35 -0
  808. package/es/layout/Sider.d.ts +28 -0
  809. package/es/layout/Sider.js +40 -0
  810. package/es/layout/context.d.ts +8 -0
  811. package/es/layout/context.js +1 -0
  812. package/es/layout/hooks/useHasSider.d.ts +2 -0
  813. package/es/layout/hooks/useHasSider.js +40 -0
  814. package/es/layout/index.d.ts +15 -0
  815. package/es/layout/index.js +40 -0
  816. package/es/layout/layout.d.ts +18 -0
  817. package/es/layout/layout.js +40 -0
  818. package/es/layout/style/index.d.ts +96 -0
  819. package/es/layout/style/index.js +35 -0
  820. package/es/layout/style/sider.d.ts +2 -0
  821. package/es/layout/style/sider.js +35 -0
  822. package/es/list/Item.d.ts +35 -0
  823. package/es/list/Item.js +40 -0
  824. package/es/list/context.d.ts +8 -0
  825. package/es/list/context.js +1 -0
  826. package/es/list/index.d.ts +56 -0
  827. package/es/list/index.js +111 -0
  828. package/es/list/style/index.d.ts +62 -0
  829. package/es/list/style/index.js +35 -0
  830. package/es/locale/ar_EG.d.ts +3 -0
  831. package/es/locale/ar_EG.js +1 -0
  832. package/es/locale/az_AZ.d.ts +3 -0
  833. package/es/locale/az_AZ.js +1 -0
  834. package/es/locale/bg_BG.d.ts +3 -0
  835. package/es/locale/bg_BG.js +1 -0
  836. package/es/locale/bn_BD.d.ts +3 -0
  837. package/es/locale/bn_BD.js +1 -0
  838. package/es/locale/by_BY.d.ts +3 -0
  839. package/es/locale/by_BY.js +1 -0
  840. package/es/locale/ca_ES.d.ts +3 -0
  841. package/es/locale/ca_ES.js +1 -0
  842. package/es/locale/context.d.ts +6 -0
  843. package/es/locale/context.js +1 -0
  844. package/es/locale/cs_CZ.d.ts +3 -0
  845. package/es/locale/cs_CZ.js +1 -0
  846. package/es/locale/da_DK.d.ts +3 -0
  847. package/es/locale/da_DK.js +1 -0
  848. package/es/locale/de_DE.d.ts +3 -0
  849. package/es/locale/de_DE.js +1 -0
  850. package/es/locale/el_GR.d.ts +3 -0
  851. package/es/locale/el_GR.js +1 -0
  852. package/es/locale/en_GB.d.ts +3 -0
  853. package/es/locale/en_GB.js +1 -0
  854. package/es/locale/en_US.d.ts +3 -0
  855. package/es/locale/en_US.js +1 -0
  856. package/es/locale/es_ES.d.ts +3 -0
  857. package/es/locale/es_ES.js +1 -0
  858. package/es/locale/et_EE.d.ts +3 -0
  859. package/es/locale/et_EE.js +1 -0
  860. package/es/locale/eu_ES.d.ts +3 -0
  861. package/es/locale/eu_ES.js +1 -0
  862. package/es/locale/fa_IR.d.ts +3 -0
  863. package/es/locale/fa_IR.js +1 -0
  864. package/es/locale/fi_FI.d.ts +3 -0
  865. package/es/locale/fi_FI.js +1 -0
  866. package/es/locale/fr_BE.d.ts +3 -0
  867. package/es/locale/fr_BE.js +1 -0
  868. package/es/locale/fr_CA.d.ts +3 -0
  869. package/es/locale/fr_CA.js +1 -0
  870. package/es/locale/fr_FR.d.ts +3 -0
  871. package/es/locale/fr_FR.js +1 -0
  872. package/es/locale/ga_IE.d.ts +3 -0
  873. package/es/locale/ga_IE.js +1 -0
  874. package/es/locale/gl_ES.d.ts +3 -0
  875. package/es/locale/gl_ES.js +1 -0
  876. package/es/locale/he_IL.d.ts +3 -0
  877. package/es/locale/he_IL.js +1 -0
  878. package/es/locale/hi_IN.d.ts +3 -0
  879. package/es/locale/hi_IN.js +1 -0
  880. package/es/locale/hr_HR.d.ts +3 -0
  881. package/es/locale/hr_HR.js +1 -0
  882. package/es/locale/hu_HU.d.ts +3 -0
  883. package/es/locale/hu_HU.js +1 -0
  884. package/es/locale/hy_AM.d.ts +3 -0
  885. package/es/locale/hy_AM.js +2 -0
  886. package/es/locale/id_ID.d.ts +3 -0
  887. package/es/locale/id_ID.js +1 -0
  888. package/es/locale/index.d.ts +61 -0
  889. package/es/locale/index.js +2 -0
  890. package/es/locale/is_IS.d.ts +3 -0
  891. package/es/locale/is_IS.js +1 -0
  892. package/es/locale/it_IT.d.ts +3 -0
  893. package/es/locale/it_IT.js +1 -0
  894. package/es/locale/ja_JP.d.ts +3 -0
  895. package/es/locale/ja_JP.js +1 -0
  896. package/es/locale/ka_GE.d.ts +3 -0
  897. package/es/locale/ka_GE.js +1 -0
  898. package/es/locale/kk_KZ.d.ts +3 -0
  899. package/es/locale/kk_KZ.js +1 -0
  900. package/es/locale/km_KH.d.ts +3 -0
  901. package/es/locale/km_KH.js +1 -0
  902. package/es/locale/kmr_IQ.d.ts +3 -0
  903. package/es/locale/kmr_IQ.js +1 -0
  904. package/es/locale/kn_IN.d.ts +3 -0
  905. package/es/locale/kn_IN.js +1 -0
  906. package/es/locale/ko_KR.d.ts +3 -0
  907. package/es/locale/ko_KR.js +1 -0
  908. package/es/locale/ku_IQ.d.ts +3 -0
  909. package/es/locale/ku_IQ.js +1 -0
  910. package/es/locale/lt_LT.d.ts +3 -0
  911. package/es/locale/lt_LT.js +1 -0
  912. package/es/locale/lv_LV.d.ts +3 -0
  913. package/es/locale/lv_LV.js +1 -0
  914. package/es/locale/mk_MK.d.ts +3 -0
  915. package/es/locale/mk_MK.js +1 -0
  916. package/es/locale/ml_IN.d.ts +3 -0
  917. package/es/locale/ml_IN.js +1 -0
  918. package/es/locale/mn_MN.d.ts +3 -0
  919. package/es/locale/mn_MN.js +1 -0
  920. package/es/locale/ms_MY.d.ts +3 -0
  921. package/es/locale/ms_MY.js +1 -0
  922. package/es/locale/my_MM.d.ts +3 -0
  923. package/es/locale/my_MM.js +1 -0
  924. package/es/locale/nb_NO.d.ts +3 -0
  925. package/es/locale/nb_NO.js +1 -0
  926. package/es/locale/ne_NP.d.ts +3 -0
  927. package/es/locale/ne_NP.js +1 -0
  928. package/es/locale/nl_BE.d.ts +3 -0
  929. package/es/locale/nl_BE.js +1 -0
  930. package/es/locale/nl_NL.d.ts +3 -0
  931. package/es/locale/nl_NL.js +1 -0
  932. package/es/locale/pl_PL.d.ts +3 -0
  933. package/es/locale/pl_PL.js +1 -0
  934. package/es/locale/pt_BR.d.ts +3 -0
  935. package/es/locale/pt_BR.js +1 -0
  936. package/es/locale/pt_PT.d.ts +3 -0
  937. package/es/locale/pt_PT.js +1 -0
  938. package/es/locale/ro_RO.d.ts +3 -0
  939. package/es/locale/ro_RO.js +1 -0
  940. package/es/locale/ru_RU.d.ts +3 -0
  941. package/es/locale/ru_RU.js +1 -0
  942. package/es/locale/si_LK.d.ts +3 -0
  943. package/es/locale/si_LK.js +1 -0
  944. package/es/locale/sk_SK.d.ts +3 -0
  945. package/es/locale/sk_SK.js +1 -0
  946. package/es/locale/sl_SI.d.ts +3 -0
  947. package/es/locale/sl_SI.js +1 -0
  948. package/es/locale/sr_RS.d.ts +3 -0
  949. package/es/locale/sr_RS.js +1 -0
  950. package/es/locale/sv_SE.d.ts +3 -0
  951. package/es/locale/sv_SE.js +1 -0
  952. package/es/locale/ta_IN.d.ts +3 -0
  953. package/es/locale/ta_IN.js +1 -0
  954. package/es/locale/th_TH.d.ts +3 -0
  955. package/es/locale/th_TH.js +1 -0
  956. package/es/locale/tk_TK.d.ts +3 -0
  957. package/es/locale/tk_TK.js +1 -0
  958. package/es/locale/tr_TR.d.ts +3 -0
  959. package/es/locale/tr_TR.js +1 -0
  960. package/es/locale/uk_UA.d.ts +3 -0
  961. package/es/locale/uk_UA.js +1 -0
  962. package/es/locale/ur_PK.d.ts +3 -0
  963. package/es/locale/ur_PK.js +1 -0
  964. package/es/locale/useLocale.d.ts +4 -0
  965. package/es/locale/useLocale.js +1 -0
  966. package/es/locale/uz_UZ.d.ts +3 -0
  967. package/es/locale/uz_UZ.js +1 -0
  968. package/es/locale/vi_VN.d.ts +3 -0
  969. package/es/locale/vi_VN.js +1 -0
  970. package/es/locale/zh_CN.d.ts +3 -0
  971. package/es/locale/zh_CN.js +1 -0
  972. package/es/locale/zh_HK.d.ts +3 -0
  973. package/es/locale/zh_HK.js +1 -0
  974. package/es/locale/zh_TW.d.ts +3 -0
  975. package/es/locale/zh_TW.js +1 -0
  976. package/es/mentions/index.d.ts +45 -0
  977. package/es/mentions/index.js +58 -0
  978. package/es/mentions/style/index.d.ts +22 -0
  979. package/es/mentions/style/index.js +53 -0
  980. package/es/menu/MenuContext.d.ts +11 -0
  981. package/es/menu/MenuContext.js +1 -0
  982. package/es/menu/MenuDivider.d.ts +9 -0
  983. package/es/menu/MenuDivider.js +40 -0
  984. package/es/menu/MenuItem.d.ts +13 -0
  985. package/es/menu/MenuItem.js +49 -0
  986. package/es/menu/OverrideContext.d.ts +13 -0
  987. package/es/menu/OverrideContext.js +40 -0
  988. package/es/menu/SubMenu.d.ts +13 -0
  989. package/es/menu/SubMenu.js +35 -0
  990. package/es/menu/index.d.ts +32 -0
  991. package/es/menu/index.js +66 -0
  992. package/es/menu/interface.d.ts +20 -0
  993. package/es/menu/interface.js +0 -0
  994. package/es/menu/menu.d.ts +19 -0
  995. package/es/menu/menu.js +66 -0
  996. package/es/menu/style/horizontal.d.ts +4 -0
  997. package/es/menu/style/horizontal.js +3 -0
  998. package/es/menu/style/index.d.ts +354 -0
  999. package/es/menu/style/index.js +61 -0
  1000. package/es/menu/style/rtl.d.ts +5 -0
  1001. package/es/menu/style/rtl.js +2 -0
  1002. package/es/menu/style/theme.d.ts +4 -0
  1003. package/es/menu/style/theme.js +1 -0
  1004. package/es/menu/style/vertical.d.ts +4 -0
  1005. package/es/menu/style/vertical.js +9 -0
  1006. package/es/message/PurePanel.d.ts +23 -0
  1007. package/es/message/PurePanel.js +47 -0
  1008. package/es/message/index.d.ts +23 -0
  1009. package/es/message/index.js +47 -0
  1010. package/es/message/interface.d.ts +66 -0
  1011. package/es/message/interface.js +0 -0
  1012. package/es/message/style/index.d.ts +23 -0
  1013. package/es/message/style/index.js +42 -0
  1014. package/es/message/useMessage.d.ts +8 -0
  1015. package/es/message/useMessage.js +47 -0
  1016. package/es/message/util.d.ts +4 -0
  1017. package/es/message/util.js +1 -0
  1018. package/es/modal/ConfirmDialog.d.ts +32 -0
  1019. package/es/modal/ConfirmDialog.js +70 -0
  1020. package/es/modal/Modal.d.ts +4 -0
  1021. package/es/modal/Modal.js +68 -0
  1022. package/es/modal/PurePanel.d.ts +9 -0
  1023. package/es/modal/PurePanel.js +70 -0
  1024. package/es/modal/components/ConfirmCancelBtn.d.ts +10 -0
  1025. package/es/modal/components/ConfirmCancelBtn.js +48 -0
  1026. package/es/modal/components/ConfirmOkBtn.d.ts +9 -0
  1027. package/es/modal/components/ConfirmOkBtn.js +48 -0
  1028. package/es/modal/components/NormalCancelBtn.d.ts +8 -0
  1029. package/es/modal/components/NormalCancelBtn.js +48 -0
  1030. package/es/modal/components/NormalOkBtn.d.ts +8 -0
  1031. package/es/modal/components/NormalOkBtn.js +48 -0
  1032. package/es/modal/confirm.d.ts +20 -0
  1033. package/es/modal/confirm.js +70 -0
  1034. package/es/modal/context.d.ts +8 -0
  1035. package/es/modal/context.js +1 -0
  1036. package/es/modal/destroyFns.d.ts +2 -0
  1037. package/es/modal/destroyFns.js +1 -0
  1038. package/es/modal/index.d.ts +15 -0
  1039. package/es/modal/index.js +70 -0
  1040. package/es/modal/interface.d.ts +123 -0
  1041. package/es/modal/interface.js +0 -0
  1042. package/es/modal/locale.d.ts +7 -0
  1043. package/es/modal/locale.js +1 -0
  1044. package/es/modal/shared.d.ts +9 -0
  1045. package/es/modal/shared.js +48 -0
  1046. package/es/modal/style/confirm.d.ts +2 -0
  1047. package/es/modal/style/confirm.js +50 -0
  1048. package/es/modal/style/index.d.ts +110 -0
  1049. package/es/modal/style/index.js +49 -0
  1050. package/es/modal/useModal/HookModal.d.ts +17 -0
  1051. package/es/modal/useModal/HookModal.js +70 -0
  1052. package/es/modal/useModal/index.d.ts +8 -0
  1053. package/es/modal/useModal/index.js +70 -0
  1054. package/es/notification/PurePanel.d.ts +27 -0
  1055. package/es/notification/PurePanel.js +40 -0
  1056. package/es/notification/index.d.ts +22 -0
  1057. package/es/notification/index.js +41 -0
  1058. package/es/notification/interface.d.ts +68 -0
  1059. package/es/notification/interface.js +1 -0
  1060. package/es/notification/style/index.d.ts +89 -0
  1061. package/es/notification/style/index.js +35 -0
  1062. package/es/notification/style/placement.d.ts +5 -0
  1063. package/es/notification/style/placement.js +1 -0
  1064. package/es/notification/style/pure-panel.d.ts +2 -0
  1065. package/es/notification/style/pure-panel.js +35 -0
  1066. package/es/notification/style/stack.d.ts +4 -0
  1067. package/es/notification/style/stack.js +1 -0
  1068. package/es/notification/useNotification.d.ts +8 -0
  1069. package/es/notification/useNotification.js +40 -0
  1070. package/es/notification/util.d.ts +5 -0
  1071. package/es/notification/util.js +1 -0
  1072. package/es/pagination/Pagination.d.ts +25 -0
  1073. package/es/pagination/Pagination.js +111 -0
  1074. package/es/pagination/index.d.ts +3 -0
  1075. package/es/pagination/index.js +111 -0
  1076. package/es/pagination/style/bordered.d.ts +2 -0
  1077. package/es/pagination/style/bordered.js +68 -0
  1078. package/es/pagination/style/index.d.ts +99 -0
  1079. package/es/pagination/style/index.js +68 -0
  1080. package/es/pagination/useShowSizeChanger.d.ts +3 -0
  1081. package/es/pagination/useShowSizeChanger.js +1 -0
  1082. package/es/popconfirm/PurePanel.d.ts +20 -0
  1083. package/es/popconfirm/PurePanel.js +57 -0
  1084. package/es/popconfirm/index.d.ts +30 -0
  1085. package/es/popconfirm/index.js +57 -0
  1086. package/es/popconfirm/style/index.d.ts +17 -0
  1087. package/es/popconfirm/style/index.js +35 -0
  1088. package/es/popover/PurePanel.d.ts +17 -0
  1089. package/es/popover/PurePanel.js +49 -0
  1090. package/es/popover/index.d.ts +15 -0
  1091. package/es/popover/index.js +49 -0
  1092. package/es/popover/style/index.d.ts +46 -0
  1093. package/es/popover/style/index.js +44 -0
  1094. package/es/progress/Circle.d.ts +10 -0
  1095. package/es/progress/Circle.js +49 -0
  1096. package/es/progress/Line.d.ts +36 -0
  1097. package/es/progress/Line.js +35 -0
  1098. package/es/progress/Steps.d.ts +9 -0
  1099. package/es/progress/Steps.js +1 -0
  1100. package/es/progress/index.d.ts +3 -0
  1101. package/es/progress/index.js +49 -0
  1102. package/es/progress/progress.d.ts +58 -0
  1103. package/es/progress/progress.js +49 -0
  1104. package/es/progress/style/index.d.ts +38 -0
  1105. package/es/progress/style/index.js +35 -0
  1106. package/es/progress/utils.d.ts +10 -0
  1107. package/es/progress/utils.js +1 -0
  1108. package/es/qr-code/QrcodeStatus.d.ts +11 -0
  1109. package/es/qr-code/QrcodeStatus.js +48 -0
  1110. package/es/qr-code/index.d.ts +4 -0
  1111. package/es/qr-code/index.js +48 -0
  1112. package/es/qr-code/interface.d.ts +29 -0
  1113. package/es/qr-code/interface.js +0 -0
  1114. package/es/qr-code/style/index.d.ts +6 -0
  1115. package/es/qr-code/style/index.js +35 -0
  1116. package/es/qrcode/index.d.ts +2 -0
  1117. package/es/qrcode/index.js +48 -0
  1118. package/es/qrcode/interface.d.ts +1 -0
  1119. package/es/qrcode/interface.js +0 -0
  1120. package/es/qrcode/style/index.d.ts +1 -0
  1121. package/es/qrcode/style/index.js +35 -0
  1122. package/es/radio/context.d.ts +7 -0
  1123. package/es/radio/context.js +1 -0
  1124. package/es/radio/group.d.ts +4 -0
  1125. package/es/radio/group.js +41 -0
  1126. package/es/radio/index.d.ts +11 -0
  1127. package/es/radio/index.js +41 -0
  1128. package/es/radio/interface.d.ts +43 -0
  1129. package/es/radio/interface.js +0 -0
  1130. package/es/radio/radio.d.ts +4 -0
  1131. package/es/radio/radio.js +41 -0
  1132. package/es/radio/radioButton.d.ts +6 -0
  1133. package/es/radio/radioButton.js +41 -0
  1134. package/es/radio/style/index.d.ts +76 -0
  1135. package/es/radio/style/index.js +36 -0
  1136. package/es/rate/index.d.ts +8 -0
  1137. package/es/rate/index.js +49 -0
  1138. package/es/rate/style/index.d.ts +27 -0
  1139. package/es/rate/style/index.js +35 -0
  1140. package/es/result/index.d.ts +33 -0
  1141. package/es/result/index.js +41 -0
  1142. package/es/result/noFound.d.ts +3 -0
  1143. package/es/result/noFound.js +1 -0
  1144. package/es/result/serverError.d.ts +3 -0
  1145. package/es/result/serverError.js +1 -0
  1146. package/es/result/style/index.d.ts +27 -0
  1147. package/es/result/style/index.js +35 -0
  1148. package/es/result/unauthorized.d.ts +3 -0
  1149. package/es/result/unauthorized.js +1 -0
  1150. package/es/row/index.d.ts +4 -0
  1151. package/es/row/index.js +40 -0
  1152. package/es/row/style/index.d.ts +2 -0
  1153. package/es/row/style/index.js +1 -0
  1154. package/es/search-area/index.d.ts +5 -0
  1155. package/es/search-area/index.js +353 -0
  1156. package/es/search-area/style/index.d.ts +2 -0
  1157. package/es/search-area/style/index.js +1 -0
  1158. package/es/segmented/index.d.ts +26 -0
  1159. package/es/segmented/index.js +40 -0
  1160. package/es/segmented/style/index.d.ts +46 -0
  1161. package/es/segmented/style/index.js +35 -0
  1162. package/es/select/index.d.ts +57 -0
  1163. package/es/select/index.js +78 -0
  1164. package/es/select/mergedBuiltinPlacements.d.ts +4 -0
  1165. package/es/select/mergedBuiltinPlacements.js +1 -0
  1166. package/es/select/style/dropdown.d.ts +4 -0
  1167. package/es/select/style/dropdown.js +24 -0
  1168. package/es/select/style/index.d.ts +4 -0
  1169. package/es/select/style/index.js +73 -0
  1170. package/es/select/style/multiple.d.ts +32 -0
  1171. package/es/select/style/multiple.js +40 -0
  1172. package/es/select/style/single.d.ts +3 -0
  1173. package/es/select/style/single.js +45 -0
  1174. package/es/select/style/token.d.ts +138 -0
  1175. package/es/select/style/token.js +1 -0
  1176. package/es/select/style/variants.d.ts +4 -0
  1177. package/es/select/style/variants.js +1 -0
  1178. package/es/select/useIcons.d.ts +26 -0
  1179. package/es/select/useIcons.js +1 -0
  1180. package/es/select/useShowArrow.d.ts +8 -0
  1181. package/es/select/useShowArrow.js +1 -0
  1182. package/es/skeleton/Avatar.d.ts +7 -0
  1183. package/es/skeleton/Avatar.js +47 -0
  1184. package/es/skeleton/Button.d.ts +8 -0
  1185. package/es/skeleton/Button.js +47 -0
  1186. package/es/skeleton/Element.d.ts +12 -0
  1187. package/es/skeleton/Element.js +1 -0
  1188. package/es/skeleton/Image.d.ts +6 -0
  1189. package/es/skeleton/Image.js +48 -0
  1190. package/es/skeleton/Input.d.ts +8 -0
  1191. package/es/skeleton/Input.js +47 -0
  1192. package/es/skeleton/Node.d.ts +8 -0
  1193. package/es/skeleton/Node.js +47 -0
  1194. package/es/skeleton/Paragraph.d.ts +11 -0
  1195. package/es/skeleton/Paragraph.js +1 -0
  1196. package/es/skeleton/Skeleton.d.ts +32 -0
  1197. package/es/skeleton/Skeleton.js +48 -0
  1198. package/es/skeleton/Title.d.ts +9 -0
  1199. package/es/skeleton/Title.js +1 -0
  1200. package/es/skeleton/index.d.ts +3 -0
  1201. package/es/skeleton/index.js +48 -0
  1202. package/es/skeleton/style/index.d.ts +40 -0
  1203. package/es/skeleton/style/index.js +42 -0
  1204. package/es/slider/Context.d.ts +9 -0
  1205. package/es/slider/Context.js +1 -0
  1206. package/es/slider/SliderTooltip.d.ts +8 -0
  1207. package/es/slider/SliderTooltip.js +49 -0
  1208. package/es/slider/index.d.ts +97 -0
  1209. package/es/slider/index.js +61 -0
  1210. package/es/slider/style/index.d.ts +97 -0
  1211. package/es/slider/style/index.js +47 -0
  1212. package/es/slider/useRafLock.d.ts +1 -0
  1213. package/es/slider/useRafLock.js +1 -0
  1214. package/es/space/Compact.d.ts +25 -0
  1215. package/es/space/Compact.js +40 -0
  1216. package/es/space/Item.d.ts +10 -0
  1217. package/es/space/Item.js +1 -0
  1218. package/es/space/context.d.ts +6 -0
  1219. package/es/space/context.js +1 -0
  1220. package/es/space/index.d.ts +28 -0
  1221. package/es/space/index.js +40 -0
  1222. package/es/space/style/compact.d.ts +8 -0
  1223. package/es/space/style/compact.js +1 -0
  1224. package/es/space/style/index.d.ts +7 -0
  1225. package/es/space/style/index.js +35 -0
  1226. package/es/spin/Indicator/Looper.d.ts +6 -0
  1227. package/es/spin/Indicator/Looper.js +1 -0
  1228. package/es/spin/Indicator/Progress.d.ts +7 -0
  1229. package/es/spin/Indicator/Progress.js +1 -0
  1230. package/es/spin/Indicator/index.d.ts +7 -0
  1231. package/es/spin/Indicator/index.js +1 -0
  1232. package/es/spin/index.d.ts +36 -0
  1233. package/es/spin/index.js +40 -0
  1234. package/es/spin/style/index.d.ts +26 -0
  1235. package/es/spin/style/index.js +35 -0
  1236. package/es/spin/usePercent.d.ts +1 -0
  1237. package/es/spin/usePercent.js +1 -0
  1238. package/es/splitter/Panel.d.ts +7 -0
  1239. package/es/splitter/Panel.js +1 -0
  1240. package/es/splitter/SplitBar.d.ts +19 -0
  1241. package/es/splitter/SplitBar.js +1 -0
  1242. package/es/splitter/Splitter.d.ts +4 -0
  1243. package/es/splitter/Splitter.js +40 -0
  1244. package/es/splitter/hooks/useItems.d.ts +12 -0
  1245. package/es/splitter/hooks/useItems.js +1 -0
  1246. package/es/splitter/hooks/useResizable.d.ts +7 -0
  1247. package/es/splitter/hooks/useResizable.js +1 -0
  1248. package/es/splitter/hooks/useResize.d.ts +6 -0
  1249. package/es/splitter/hooks/useResize.js +1 -0
  1250. package/es/splitter/hooks/useSizes.d.ts +8 -0
  1251. package/es/splitter/hooks/useSizes.js +1 -0
  1252. package/es/splitter/index.d.ts +8 -0
  1253. package/es/splitter/index.js +40 -0
  1254. package/es/splitter/interface.d.ts +64 -0
  1255. package/es/splitter/interface.js +0 -0
  1256. package/es/splitter/style/index.d.ts +27 -0
  1257. package/es/splitter/style/index.js +35 -0
  1258. package/es/statistic/Countdown.d.ts +10 -0
  1259. package/es/statistic/Countdown.js +48 -0
  1260. package/es/statistic/Number.d.ts +8 -0
  1261. package/es/statistic/Number.js +1 -0
  1262. package/es/statistic/Statistic.d.ts +21 -0
  1263. package/es/statistic/Statistic.js +48 -0
  1264. package/es/statistic/index.d.ts +11 -0
  1265. package/es/statistic/index.js +48 -0
  1266. package/es/statistic/interface.d.ts +0 -0
  1267. package/es/statistic/interface.js +0 -0
  1268. package/es/statistic/style/index.d.ts +16 -0
  1269. package/es/statistic/style/index.js +35 -0
  1270. package/es/statistic/utils.d.ts +15 -0
  1271. package/es/statistic/utils.js +1 -0
  1272. package/es/steps/index.d.ts +39 -0
  1273. package/es/steps/index.js +49 -0
  1274. package/es/steps/style/custom-icon.d.ts +5 -0
  1275. package/es/steps/style/custom-icon.js +1 -0
  1276. package/es/steps/style/horizontal.d.ts +5 -0
  1277. package/es/steps/style/horizontal.js +1 -0
  1278. package/es/steps/style/index.d.ts +102 -0
  1279. package/es/steps/style/index.js +35 -0
  1280. package/es/steps/style/inline.d.ts +5 -0
  1281. package/es/steps/style/inline.js +1 -0
  1282. package/es/steps/style/label-placement.d.ts +5 -0
  1283. package/es/steps/style/label-placement.js +1 -0
  1284. package/es/steps/style/nav.d.ts +5 -0
  1285. package/es/steps/style/nav.js +1 -0
  1286. package/es/steps/style/progress-dot.d.ts +5 -0
  1287. package/es/steps/style/progress-dot.js +1 -0
  1288. package/es/steps/style/progress.d.ts +5 -0
  1289. package/es/steps/style/progress.js +1 -0
  1290. package/es/steps/style/rtl.d.ts +5 -0
  1291. package/es/steps/style/rtl.js +1 -0
  1292. package/es/steps/style/small.d.ts +5 -0
  1293. package/es/steps/style/small.js +1 -0
  1294. package/es/steps/style/vertical.d.ts +5 -0
  1295. package/es/steps/style/vertical.js +1 -0
  1296. package/es/steps/useLegacyItems.d.ts +3 -0
  1297. package/es/steps/useLegacyItems.js +1 -0
  1298. package/es/style/compact-item-vertical.d.ts +3 -0
  1299. package/es/style/compact-item-vertical.js +1 -0
  1300. package/es/style/compact-item.d.ts +17 -0
  1301. package/es/style/compact-item.js +1 -0
  1302. package/es/style/index.d.ts +12 -0
  1303. package/es/style/index.js +1 -0
  1304. package/es/style/motion/collapse.d.ts +3 -0
  1305. package/es/style/motion/collapse.js +3 -0
  1306. package/es/style/motion/fade.d.ts +6 -0
  1307. package/es/style/motion/fade.js +10 -0
  1308. package/es/style/motion/index.d.ts +6 -0
  1309. package/es/style/motion/index.js +21 -0
  1310. package/es/style/motion/motion.d.ts +2 -0
  1311. package/es/style/motion/motion.js +7 -0
  1312. package/es/style/motion/move.d.ts +14 -0
  1313. package/es/style/motion/move.js +10 -0
  1314. package/es/style/motion/slide.d.ts +14 -0
  1315. package/es/style/motion/slide.js +10 -0
  1316. package/es/style/motion/zoom.d.ts +18 -0
  1317. package/es/style/motion/zoom.js +10 -0
  1318. package/es/style/placementArrow.d.ts +19 -0
  1319. package/es/style/placementArrow.js +1 -0
  1320. package/es/style/roundedArrow.d.ts +7 -0
  1321. package/es/style/roundedArrow.js +1 -0
  1322. package/es/switch/index.d.ts +37 -0
  1323. package/es/switch/index.js +41 -0
  1324. package/es/switch/style/index.d.ts +71 -0
  1325. package/es/switch/style/index.js +35 -0
  1326. package/es/table/Column.d.ts +8 -0
  1327. package/es/table/Column.js +1 -0
  1328. package/es/table/ColumnGroup.d.ts +10 -0
  1329. package/es/table/ColumnGroup.js +1 -0
  1330. package/es/table/ExpandIcon.d.ts +12 -0
  1331. package/es/table/ExpandIcon.js +1 -0
  1332. package/es/table/InternalTable.d.ts +32 -0
  1333. package/es/table/InternalTable.js +216 -0
  1334. package/es/table/RcTable/VirtualTable.d.ts +5 -0
  1335. package/es/table/RcTable/VirtualTable.js +1 -0
  1336. package/es/table/RcTable/index.d.ts +5 -0
  1337. package/es/table/RcTable/index.js +1 -0
  1338. package/es/table/Table.d.ts +17 -0
  1339. package/es/table/Table.js +216 -0
  1340. package/es/table/hooks/useContainerWidth.d.ts +1 -0
  1341. package/es/table/hooks/useContainerWidth.js +1 -0
  1342. package/es/table/hooks/useFilter/FilterDropdown.d.ts +31 -0
  1343. package/es/table/hooks/useFilter/FilterDropdown.js +114 -0
  1344. package/es/table/hooks/useFilter/FilterSearch.d.ts +12 -0
  1345. package/es/table/hooks/useFilter/FilterSearch.js +66 -0
  1346. package/es/table/hooks/useFilter/FilterWrapper.d.ts +8 -0
  1347. package/es/table/hooks/useFilter/FilterWrapper.js +1 -0
  1348. package/es/table/hooks/useFilter/index.d.ts +22 -0
  1349. package/es/table/hooks/useFilter/index.js +114 -0
  1350. package/es/table/hooks/useLazyKVMap.d.ts +4 -0
  1351. package/es/table/hooks/useLazyKVMap.js +1 -0
  1352. package/es/table/hooks/usePagination.d.ts +5 -0
  1353. package/es/table/hooks/usePagination.js +1 -0
  1354. package/es/table/hooks/useSelection.d.ts +20 -0
  1355. package/es/table/hooks/useSelection.js +95 -0
  1356. package/es/table/hooks/useSorter.d.ts +19 -0
  1357. package/es/table/hooks/useSorter.js +49 -0
  1358. package/es/table/hooks/useTitleColumns.d.ts +4 -0
  1359. package/es/table/hooks/useTitleColumns.js +1 -0
  1360. package/es/table/index.d.ts +7 -0
  1361. package/es/table/index.js +216 -0
  1362. package/es/table/interface.d.ts +194 -0
  1363. package/es/table/interface.js +1 -0
  1364. package/es/table/style/bordered.d.ts +5 -0
  1365. package/es/table/style/bordered.js +10 -0
  1366. package/es/table/style/ellipsis.d.ts +5 -0
  1367. package/es/table/style/ellipsis.js +4 -0
  1368. package/es/table/style/empty.d.ts +5 -0
  1369. package/es/table/style/empty.js +1 -0
  1370. package/es/table/style/expand.d.ts +5 -0
  1371. package/es/table/style/expand.js +1 -0
  1372. package/es/table/style/filter.d.ts +4 -0
  1373. package/es/table/style/filter.js +1 -0
  1374. package/es/table/style/fixed.d.ts +5 -0
  1375. package/es/table/style/fixed.js +21 -0
  1376. package/es/table/style/index.d.ts +202 -0
  1377. package/es/table/style/index.js +97 -0
  1378. package/es/table/style/pagination.d.ts +5 -0
  1379. package/es/table/style/pagination.js +1 -0
  1380. package/es/table/style/radius.d.ts +5 -0
  1381. package/es/table/style/radius.js +1 -0
  1382. package/es/table/style/rtl.d.ts +5 -0
  1383. package/es/table/style/rtl.js +1 -0
  1384. package/es/table/style/selection.d.ts +5 -0
  1385. package/es/table/style/selection.js +5 -0
  1386. package/es/table/style/size.d.ts +5 -0
  1387. package/es/table/style/size.js +10 -0
  1388. package/es/table/style/sorter.d.ts +5 -0
  1389. package/es/table/style/sorter.js +4 -0
  1390. package/es/table/style/sticky.d.ts +5 -0
  1391. package/es/table/style/sticky.js +1 -0
  1392. package/es/table/style/summary.d.ts +5 -0
  1393. package/es/table/style/summary.js +1 -0
  1394. package/es/table/style/virtual.d.ts +5 -0
  1395. package/es/table/style/virtual.js +4 -0
  1396. package/es/table/util.d.ts +13 -0
  1397. package/es/table/util.js +1 -0
  1398. package/es/tabs/TabPane.d.ts +5 -0
  1399. package/es/tabs/TabPane.js +1 -0
  1400. package/es/tabs/hooks/useAnimateConfig.d.ts +3 -0
  1401. package/es/tabs/hooks/useAnimateConfig.js +40 -0
  1402. package/es/tabs/hooks/useLegacyItems.d.ts +4 -0
  1403. package/es/tabs/hooks/useLegacyItems.js +1 -0
  1404. package/es/tabs/index.d.ts +29 -0
  1405. package/es/tabs/index.js +51 -0
  1406. package/es/tabs/style/index.d.ts +136 -0
  1407. package/es/tabs/style/index.js +46 -0
  1408. package/es/tabs/style/motion.d.ts +4 -0
  1409. package/es/tabs/style/motion.js +10 -0
  1410. package/es/tag/CheckableTag.d.ts +17 -0
  1411. package/es/tag/CheckableTag.js +40 -0
  1412. package/es/tag/index.d.ts +27 -0
  1413. package/es/tag/index.js +41 -0
  1414. package/es/tag/style/index.d.ts +25 -0
  1415. package/es/tag/style/index.js +35 -0
  1416. package/es/tag/style/presetCmp.d.ts +2 -0
  1417. package/es/tag/style/presetCmp.js +35 -0
  1418. package/es/tag/style/statusCmp.d.ts +2 -0
  1419. package/es/tag/style/statusCmp.js +35 -0
  1420. package/es/theme/context.d.ts +31 -0
  1421. package/es/theme/context.js +3 -0
  1422. package/es/theme/getDesignToken.d.ts +4 -0
  1423. package/es/theme/getDesignToken.js +35 -0
  1424. package/es/theme/index.d.ts +35 -0
  1425. package/es/theme/index.js +35 -0
  1426. package/es/theme/interface/alias.d.ts +545 -0
  1427. package/es/theme/interface/alias.js +0 -0
  1428. package/es/theme/interface/components.d.ts +131 -0
  1429. package/es/theme/interface/components.js +0 -0
  1430. package/es/theme/interface/cssinjs-utils.d.ts +10 -0
  1431. package/es/theme/interface/cssinjs-utils.js +0 -0
  1432. package/es/theme/interface/index.d.ts +15 -0
  1433. package/es/theme/interface/index.js +1 -0
  1434. package/es/theme/interface/maps/colors.d.ts +530 -0
  1435. package/es/theme/interface/maps/colors.js +0 -0
  1436. package/es/theme/interface/maps/font.d.ts +117 -0
  1437. package/es/theme/interface/maps/font.js +0 -0
  1438. package/es/theme/interface/maps/index.d.ts +29 -0
  1439. package/es/theme/interface/maps/index.js +0 -0
  1440. package/es/theme/interface/maps/size.d.ts +69 -0
  1441. package/es/theme/interface/maps/size.js +0 -0
  1442. package/es/theme/interface/maps/style.d.ts +42 -0
  1443. package/es/theme/interface/maps/style.js +0 -0
  1444. package/es/theme/interface/presetColors.d.ts +11 -0
  1445. package/es/theme/interface/presetColors.js +1 -0
  1446. package/es/theme/interface/seeds.d.ts +225 -0
  1447. package/es/theme/interface/seeds.js +0 -0
  1448. package/es/theme/internal.d.ts +13 -0
  1449. package/es/theme/internal.js +35 -0
  1450. package/es/theme/themes/ColorMap.d.ts +15 -0
  1451. package/es/theme/themes/ColorMap.js +0 -0
  1452. package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
  1453. package/es/theme/themes/compact/genCompactSizeMapToken.js +1 -0
  1454. package/es/theme/themes/compact/index.d.ts +4 -0
  1455. package/es/theme/themes/compact/index.js +1 -0
  1456. package/es/theme/themes/dark/colorAlgorithm.d.ts +2 -0
  1457. package/es/theme/themes/dark/colorAlgorithm.js +1 -0
  1458. package/es/theme/themes/dark/colors.d.ts +3 -0
  1459. package/es/theme/themes/dark/colors.js +1 -0
  1460. package/es/theme/themes/dark/index.d.ts +4 -0
  1461. package/es/theme/themes/dark/index.js +1 -0
  1462. package/es/theme/themes/default/colorAlgorithm.d.ts +2 -0
  1463. package/es/theme/themes/default/colorAlgorithm.js +1 -0
  1464. package/es/theme/themes/default/colors.d.ts +3 -0
  1465. package/es/theme/themes/default/colors.js +1 -0
  1466. package/es/theme/themes/default/index.d.ts +2 -0
  1467. package/es/theme/themes/default/index.js +1 -0
  1468. package/es/theme/themes/seed.d.ts +4 -0
  1469. package/es/theme/themes/seed.js +3 -0
  1470. package/es/theme/themes/shared/genColorMapToken.d.ts +8 -0
  1471. package/es/theme/themes/shared/genColorMapToken.js +1 -0
  1472. package/es/theme/themes/shared/genCommonMapToken.d.ts +2 -0
  1473. package/es/theme/themes/shared/genCommonMapToken.js +1 -0
  1474. package/es/theme/themes/shared/genControlHeight.d.ts +3 -0
  1475. package/es/theme/themes/shared/genControlHeight.js +1 -0
  1476. package/es/theme/themes/shared/genFontMapToken.d.ts +3 -0
  1477. package/es/theme/themes/shared/genFontMapToken.js +1 -0
  1478. package/es/theme/themes/shared/genFontSizes.d.ts +5 -0
  1479. package/es/theme/themes/shared/genFontSizes.js +1 -0
  1480. package/es/theme/themes/shared/genRadius.d.ts +3 -0
  1481. package/es/theme/themes/shared/genRadius.js +1 -0
  1482. package/es/theme/themes/shared/genSizeMapToken.d.ts +2 -0
  1483. package/es/theme/themes/shared/genSizeMapToken.js +1 -0
  1484. package/es/theme/useToken.d.ts +19 -0
  1485. package/es/theme/useToken.js +35 -0
  1486. package/es/theme/util/alias.d.ts +12 -0
  1487. package/es/theme/util/alias.js +35 -0
  1488. package/es/theme/util/genPresetColor.d.ts +15 -0
  1489. package/es/theme/util/genPresetColor.js +1 -0
  1490. package/es/theme/util/genStyleUtils.d.ts +26 -0
  1491. package/es/theme/util/genStyleUtils.js +35 -0
  1492. package/es/theme/util/getAlphaColor.d.ts +2 -0
  1493. package/es/theme/util/getAlphaColor.js +1 -0
  1494. package/es/theme/util/useResetIconStyle.d.ts +3 -0
  1495. package/es/theme/util/useResetIconStyle.js +35 -0
  1496. package/es/time-picker/index.d.ts +30 -0
  1497. package/es/time-picker/index.js +99 -0
  1498. package/es/time-picker/locale/ar_EG.d.ts +3 -0
  1499. package/es/time-picker/locale/ar_EG.js +1 -0
  1500. package/es/time-picker/locale/az_AZ.d.ts +3 -0
  1501. package/es/time-picker/locale/az_AZ.js +1 -0
  1502. package/es/time-picker/locale/bg_BG.d.ts +3 -0
  1503. package/es/time-picker/locale/bg_BG.js +1 -0
  1504. package/es/time-picker/locale/bn_BD.d.ts +3 -0
  1505. package/es/time-picker/locale/bn_BD.js +1 -0
  1506. package/es/time-picker/locale/by_BY.d.ts +3 -0
  1507. package/es/time-picker/locale/by_BY.js +1 -0
  1508. package/es/time-picker/locale/ca_ES.d.ts +3 -0
  1509. package/es/time-picker/locale/ca_ES.js +1 -0
  1510. package/es/time-picker/locale/cs_CZ.d.ts +3 -0
  1511. package/es/time-picker/locale/cs_CZ.js +1 -0
  1512. package/es/time-picker/locale/da_DK.d.ts +3 -0
  1513. package/es/time-picker/locale/da_DK.js +1 -0
  1514. package/es/time-picker/locale/de_DE.d.ts +3 -0
  1515. package/es/time-picker/locale/de_DE.js +1 -0
  1516. package/es/time-picker/locale/el_GR.d.ts +3 -0
  1517. package/es/time-picker/locale/el_GR.js +1 -0
  1518. package/es/time-picker/locale/en_GB.d.ts +3 -0
  1519. package/es/time-picker/locale/en_GB.js +1 -0
  1520. package/es/time-picker/locale/en_US.d.ts +3 -0
  1521. package/es/time-picker/locale/en_US.js +1 -0
  1522. package/es/time-picker/locale/es_ES.d.ts +3 -0
  1523. package/es/time-picker/locale/es_ES.js +1 -0
  1524. package/es/time-picker/locale/et_EE.d.ts +3 -0
  1525. package/es/time-picker/locale/et_EE.js +1 -0
  1526. package/es/time-picker/locale/eu_ES.d.ts +3 -0
  1527. package/es/time-picker/locale/eu_ES.js +1 -0
  1528. package/es/time-picker/locale/fa_IR.d.ts +3 -0
  1529. package/es/time-picker/locale/fa_IR.js +1 -0
  1530. package/es/time-picker/locale/fi_FI.d.ts +3 -0
  1531. package/es/time-picker/locale/fi_FI.js +1 -0
  1532. package/es/time-picker/locale/fr_BE.d.ts +3 -0
  1533. package/es/time-picker/locale/fr_BE.js +1 -0
  1534. package/es/time-picker/locale/fr_CA.d.ts +3 -0
  1535. package/es/time-picker/locale/fr_CA.js +1 -0
  1536. package/es/time-picker/locale/fr_FR.d.ts +3 -0
  1537. package/es/time-picker/locale/fr_FR.js +1 -0
  1538. package/es/time-picker/locale/ga_IE.d.ts +3 -0
  1539. package/es/time-picker/locale/ga_IE.js +1 -0
  1540. package/es/time-picker/locale/gl_ES.d.ts +3 -0
  1541. package/es/time-picker/locale/gl_ES.js +1 -0
  1542. package/es/time-picker/locale/he_IL.d.ts +3 -0
  1543. package/es/time-picker/locale/he_IL.js +1 -0
  1544. package/es/time-picker/locale/hi_IN.d.ts +3 -0
  1545. package/es/time-picker/locale/hi_IN.js +1 -0
  1546. package/es/time-picker/locale/hr_HR.d.ts +3 -0
  1547. package/es/time-picker/locale/hr_HR.js +1 -0
  1548. package/es/time-picker/locale/hu_HU.d.ts +3 -0
  1549. package/es/time-picker/locale/hu_HU.js +1 -0
  1550. package/es/time-picker/locale/id_ID.d.ts +3 -0
  1551. package/es/time-picker/locale/id_ID.js +1 -0
  1552. package/es/time-picker/locale/is_IS.d.ts +3 -0
  1553. package/es/time-picker/locale/is_IS.js +1 -0
  1554. package/es/time-picker/locale/it_IT.d.ts +3 -0
  1555. package/es/time-picker/locale/it_IT.js +1 -0
  1556. package/es/time-picker/locale/ja_JP.d.ts +3 -0
  1557. package/es/time-picker/locale/ja_JP.js +1 -0
  1558. package/es/time-picker/locale/ka_GE.d.ts +3 -0
  1559. package/es/time-picker/locale/ka_GE.js +1 -0
  1560. package/es/time-picker/locale/kk_KZ.d.ts +3 -0
  1561. package/es/time-picker/locale/kk_KZ.js +1 -0
  1562. package/es/time-picker/locale/km_KH.d.ts +3 -0
  1563. package/es/time-picker/locale/km_KH.js +1 -0
  1564. package/es/time-picker/locale/kmr_IQ.d.ts +3 -0
  1565. package/es/time-picker/locale/kmr_IQ.js +1 -0
  1566. package/es/time-picker/locale/kn_IN.d.ts +3 -0
  1567. package/es/time-picker/locale/kn_IN.js +1 -0
  1568. package/es/time-picker/locale/ko_KR.d.ts +3 -0
  1569. package/es/time-picker/locale/ko_KR.js +1 -0
  1570. package/es/time-picker/locale/lt_LT.d.ts +3 -0
  1571. package/es/time-picker/locale/lt_LT.js +1 -0
  1572. package/es/time-picker/locale/lv_LV.d.ts +3 -0
  1573. package/es/time-picker/locale/lv_LV.js +1 -0
  1574. package/es/time-picker/locale/mk_MK.d.ts +3 -0
  1575. package/es/time-picker/locale/mk_MK.js +1 -0
  1576. package/es/time-picker/locale/ml_IN.d.ts +3 -0
  1577. package/es/time-picker/locale/ml_IN.js +1 -0
  1578. package/es/time-picker/locale/mn_MN.d.ts +3 -0
  1579. package/es/time-picker/locale/mn_MN.js +1 -0
  1580. package/es/time-picker/locale/ms_MY.d.ts +3 -0
  1581. package/es/time-picker/locale/ms_MY.js +1 -0
  1582. package/es/time-picker/locale/my_MM.d.ts +3 -0
  1583. package/es/time-picker/locale/my_MM.js +1 -0
  1584. package/es/time-picker/locale/nb_NO.d.ts +3 -0
  1585. package/es/time-picker/locale/nb_NO.js +1 -0
  1586. package/es/time-picker/locale/nl_BE.d.ts +3 -0
  1587. package/es/time-picker/locale/nl_BE.js +1 -0
  1588. package/es/time-picker/locale/nl_NL.d.ts +3 -0
  1589. package/es/time-picker/locale/nl_NL.js +1 -0
  1590. package/es/time-picker/locale/pl_PL.d.ts +3 -0
  1591. package/es/time-picker/locale/pl_PL.js +1 -0
  1592. package/es/time-picker/locale/pt_BR.d.ts +3 -0
  1593. package/es/time-picker/locale/pt_BR.js +1 -0
  1594. package/es/time-picker/locale/pt_PT.d.ts +3 -0
  1595. package/es/time-picker/locale/pt_PT.js +1 -0
  1596. package/es/time-picker/locale/ro_RO.d.ts +3 -0
  1597. package/es/time-picker/locale/ro_RO.js +1 -0
  1598. package/es/time-picker/locale/ru_RU.d.ts +4 -0
  1599. package/es/time-picker/locale/ru_RU.js +1 -0
  1600. package/es/time-picker/locale/si_LK.d.ts +3 -0
  1601. package/es/time-picker/locale/si_LK.js +1 -0
  1602. package/es/time-picker/locale/sk_SK.d.ts +3 -0
  1603. package/es/time-picker/locale/sk_SK.js +1 -0
  1604. package/es/time-picker/locale/sl_SI.d.ts +3 -0
  1605. package/es/time-picker/locale/sl_SI.js +1 -0
  1606. package/es/time-picker/locale/sr_RS.d.ts +3 -0
  1607. package/es/time-picker/locale/sr_RS.js +1 -0
  1608. package/es/time-picker/locale/sv_SE.d.ts +3 -0
  1609. package/es/time-picker/locale/sv_SE.js +1 -0
  1610. package/es/time-picker/locale/ta_IN.d.ts +3 -0
  1611. package/es/time-picker/locale/ta_IN.js +1 -0
  1612. package/es/time-picker/locale/th_TH.d.ts +3 -0
  1613. package/es/time-picker/locale/th_TH.js +1 -0
  1614. package/es/time-picker/locale/tk_TK.d.ts +3 -0
  1615. package/es/time-picker/locale/tk_TK.js +1 -0
  1616. package/es/time-picker/locale/tr_TR.d.ts +3 -0
  1617. package/es/time-picker/locale/tr_TR.js +1 -0
  1618. package/es/time-picker/locale/uk_UA.d.ts +3 -0
  1619. package/es/time-picker/locale/uk_UA.js +1 -0
  1620. package/es/time-picker/locale/ur_PK.d.ts +3 -0
  1621. package/es/time-picker/locale/ur_PK.js +1 -0
  1622. package/es/time-picker/locale/uz_UZ.d.ts +3 -0
  1623. package/es/time-picker/locale/uz_UZ.js +1 -0
  1624. package/es/time-picker/locale/vi_VN.d.ts +3 -0
  1625. package/es/time-picker/locale/vi_VN.js +1 -0
  1626. package/es/time-picker/locale/zh_CN.d.ts +3 -0
  1627. package/es/time-picker/locale/zh_CN.js +1 -0
  1628. package/es/time-picker/locale/zh_TW.d.ts +3 -0
  1629. package/es/time-picker/locale/zh_TW.js +1 -0
  1630. package/es/timeline/Timeline.d.ts +20 -0
  1631. package/es/timeline/Timeline.js +48 -0
  1632. package/es/timeline/TimelineItem.d.ts +20 -0
  1633. package/es/timeline/TimelineItem.js +40 -0
  1634. package/es/timeline/TimelineItemList.d.ts +7 -0
  1635. package/es/timeline/TimelineItemList.js +40 -0
  1636. package/es/timeline/index.d.ts +4 -0
  1637. package/es/timeline/index.js +48 -0
  1638. package/es/timeline/style/index.d.ts +31 -0
  1639. package/es/timeline/style/index.js +43 -0
  1640. package/es/timeline/useItems.d.ts +4 -0
  1641. package/es/timeline/useItems.js +1 -0
  1642. package/es/tooltip/PurePanel.d.ts +7 -0
  1643. package/es/tooltip/PurePanel.js +49 -0
  1644. package/es/tooltip/index.d.ts +80 -0
  1645. package/es/tooltip/index.js +49 -0
  1646. package/es/tooltip/style/index.d.ts +13 -0
  1647. package/es/tooltip/style/index.js +44 -0
  1648. package/es/tooltip/util.d.ts +6 -0
  1649. package/es/tooltip/util.js +1 -0
  1650. package/es/tour/PurePanel.d.ts +6 -0
  1651. package/es/tour/PurePanel.js +57 -0
  1652. package/es/tour/index.d.ts +7 -0
  1653. package/es/tour/index.js +57 -0
  1654. package/es/tour/interface.d.ts +31 -0
  1655. package/es/tour/interface.js +0 -0
  1656. package/es/tour/panelRender.d.ts +12 -0
  1657. package/es/tour/panelRender.js +48 -0
  1658. package/es/tour/style/index.d.ts +28 -0
  1659. package/es/tour/style/index.js +35 -0
  1660. package/es/transfer/ListBody.d.ts +17 -0
  1661. package/es/transfer/ListBody.js +117 -0
  1662. package/es/transfer/ListItem.d.ts +15 -0
  1663. package/es/transfer/ListItem.js +46 -0
  1664. package/es/transfer/hooks/useData.d.ts +5 -0
  1665. package/es/transfer/hooks/useData.js +1 -0
  1666. package/es/transfer/hooks/useSelection.d.ts +9 -0
  1667. package/es/transfer/hooks/useSelection.js +1 -0
  1668. package/es/transfer/index.d.ts +91 -0
  1669. package/es/transfer/index.js +154 -0
  1670. package/es/transfer/interface.d.ts +7 -0
  1671. package/es/transfer/interface.js +0 -0
  1672. package/es/transfer/list.d.ts +48 -0
  1673. package/es/transfer/list.js +154 -0
  1674. package/es/transfer/operation.d.ts +17 -0
  1675. package/es/transfer/operation.js +48 -0
  1676. package/es/transfer/search.d.ts +11 -0
  1677. package/es/transfer/search.js +66 -0
  1678. package/es/transfer/style/index.d.ts +36 -0
  1679. package/es/transfer/style/index.js +35 -0
  1680. package/es/tree/DirectoryTree.d.ts +16 -0
  1681. package/es/tree/DirectoryTree.js +48 -0
  1682. package/es/tree/Tree.d.ts +136 -0
  1683. package/es/tree/Tree.js +48 -0
  1684. package/es/tree/index.d.ts +16 -0
  1685. package/es/tree/index.js +48 -0
  1686. package/es/tree/style/directory.d.ts +3 -0
  1687. package/es/tree/style/directory.js +1 -0
  1688. package/es/tree/style/index.d.ts +57 -0
  1689. package/es/tree/style/index.js +43 -0
  1690. package/es/tree/utils/dictUtil.d.ts +13 -0
  1691. package/es/tree/utils/dictUtil.js +1 -0
  1692. package/es/tree/utils/dropIndicator.d.ts +11 -0
  1693. package/es/tree/utils/dropIndicator.js +1 -0
  1694. package/es/tree/utils/iconUtil.d.ts +13 -0
  1695. package/es/tree/utils/iconUtil.js +1 -0
  1696. package/es/tree-select/index.d.ts +61 -0
  1697. package/es/tree-select/index.js +86 -0
  1698. package/es/tree-select/style/index.d.ts +6 -0
  1699. package/es/tree-select/style/index.js +43 -0
  1700. package/es/type/index.d.ts +1 -0
  1701. package/es/type/index.js +353 -0
  1702. package/es/typography/Base/CopyBtn.d.ts +13 -0
  1703. package/es/typography/Base/CopyBtn.js +49 -0
  1704. package/es/typography/Base/Ellipsis.d.ts +18 -0
  1705. package/es/typography/Base/Ellipsis.js +1 -0
  1706. package/es/typography/Base/EllipsisTooltip.d.ts +10 -0
  1707. package/es/typography/Base/EllipsisTooltip.js +49 -0
  1708. package/es/typography/Base/index.d.ts +59 -0
  1709. package/es/typography/Base/index.js +83 -0
  1710. package/es/typography/Base/util.d.ts +10 -0
  1711. package/es/typography/Base/util.js +1 -0
  1712. package/es/typography/Editable.d.ts +20 -0
  1713. package/es/typography/Editable.js +74 -0
  1714. package/es/typography/Link.d.ts +7 -0
  1715. package/es/typography/Link.js +83 -0
  1716. package/es/typography/Paragraph.d.ts +6 -0
  1717. package/es/typography/Paragraph.js +83 -0
  1718. package/es/typography/Text.d.ts +7 -0
  1719. package/es/typography/Text.js +83 -0
  1720. package/es/typography/Title.d.ts +8 -0
  1721. package/es/typography/Title.js +83 -0
  1722. package/es/typography/Typography.d.ts +19 -0
  1723. package/es/typography/Typography.js +56 -0
  1724. package/es/typography/hooks/useCopyClick.d.ts +11 -0
  1725. package/es/typography/hooks/useCopyClick.js +1 -0
  1726. package/es/typography/hooks/useMergedConfig.d.ts +1 -0
  1727. package/es/typography/hooks/useMergedConfig.js +1 -0
  1728. package/es/typography/hooks/usePrevious.d.ts +2 -0
  1729. package/es/typography/hooks/usePrevious.js +1 -0
  1730. package/es/typography/hooks/useTooltipProps.d.ts +61 -0
  1731. package/es/typography/hooks/useTooltipProps.js +1 -0
  1732. package/es/typography/index.d.ts +13 -0
  1733. package/es/typography/index.js +83 -0
  1734. package/es/typography/style/index.d.ts +18 -0
  1735. package/es/typography/style/index.js +51 -0
  1736. package/es/typography/style/mixins.d.ts +9 -0
  1737. package/es/typography/style/mixins.js +6 -0
  1738. package/es/upload/Dragger.d.ts +10 -0
  1739. package/es/upload/Dragger.js +80 -0
  1740. package/es/upload/Upload.d.ts +23 -0
  1741. package/es/upload/Upload.js +80 -0
  1742. package/es/upload/UploadList/ListItem.d.ts +28 -0
  1743. package/es/upload/UploadList/ListItem.js +49 -0
  1744. package/es/upload/UploadList/index.d.ts +8 -0
  1745. package/es/upload/UploadList/index.js +57 -0
  1746. package/es/upload/index.d.ts +13 -0
  1747. package/es/upload/index.js +80 -0
  1748. package/es/upload/interface.d.ts +138 -0
  1749. package/es/upload/interface.js +0 -0
  1750. package/es/upload/style/dragger.d.ts +4 -0
  1751. package/es/upload/style/dragger.js +7 -0
  1752. package/es/upload/style/index.d.ts +16 -0
  1753. package/es/upload/style/index.js +66 -0
  1754. package/es/upload/style/list.d.ts +4 -0
  1755. package/es/upload/style/list.js +4 -0
  1756. package/es/upload/style/motion.d.ts +4 -0
  1757. package/es/upload/style/motion.js +10 -0
  1758. package/es/upload/style/picture.d.ts +5 -0
  1759. package/es/upload/style/picture.js +12 -0
  1760. package/es/upload/style/rtl.d.ts +4 -0
  1761. package/es/upload/style/rtl.js +1 -0
  1762. package/es/upload/utils.d.ts +8 -0
  1763. package/es/upload/utils.js +2 -0
  1764. package/es/version/index.d.ts +2 -0
  1765. package/es/version/index.js +1 -0
  1766. package/es/watermark/context.d.ts +8 -0
  1767. package/es/watermark/context.js +1 -0
  1768. package/es/watermark/index.d.ts +26 -0
  1769. package/es/watermark/index.js +35 -0
  1770. package/es/watermark/useClips.d.ts +7 -0
  1771. package/es/watermark/useClips.js +1 -0
  1772. package/es/watermark/useRafDebounce.d.ts +4 -0
  1773. package/es/watermark/useRafDebounce.js +1 -0
  1774. package/es/watermark/useWatermark.d.ts +13 -0
  1775. package/es/watermark/useWatermark.js +1 -0
  1776. package/es/watermark/utils.d.ts +7 -0
  1777. package/es/watermark/utils.js +1 -0
  1778. package/package.json +147 -0
  1779. package/umd/index.min.js +626 -0
@@ -0,0 +1,48 @@
1
+ import*as S from'react';import S__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import Is from'rc-util/lib/hooks/useState';import Mt from'classnames';import _r from'rc-util/lib/omit';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import hn,{resetWarned}from'rc-util/lib/warning';import Fi from'rc-util/lib/Dom/isVisible';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import fi from'@ant-design/icons/lib/components/Context';import pi from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import kn from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Vn from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import mi from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import wi,{Provider}from'rc-motion';import Hi from'rc-util/lib/hooks/useEvent';import Tr from'rc-util/lib/raf';import*as Mi from'react-dom';import {unmount,render}from'rc-util/lib/React/render';import os from'rc-util/lib/Children/toArray';import aa from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import Ja from'@ant-design/icons/RightOutlined';import ua from'rc-collapse';function Et(){}var _=null;function vn(){_=null,resetWarned();}var No=Et;process.env.NODE_ENV!=="production"&&(No=(e,o,t)=>{hn(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&vn();});var Do=S.createContext({}),I=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=S.useContext(Do),t=(n,r,a)=>{if(!n)if(o===false&&r==="deprecated"){let i=_;_||(_={}),_[e]=_[e]||[],_[e].includes(a||"")||_[e].push(a||""),i||console.warn("[swiftcrab] There exists deprecated usage in your code:",_);}else No(n,e,a);};return t.deprecated=(n,r,a,i)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=Et,e},ee=No;var Ot=createContext(void 0);({lang:{...kn}});var w="${label} is not a valid ${type}",In={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:w,method:w,array:w,object:w,number:w,date:w,boolean:w,integer:w,float:w,regexp:w,email:w,url:w,hex:w},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}},se=In;({...se.Modal});var lo=[],Ht=()=>lo.reduce((e,o)=>({...e,...o}),se.Modal);function At(e){if(e){let o={...e};return lo.push(o),Ht(),()=>{lo=lo.filter(t=>t!==o),Ht();}}({...se.Modal});}var wn=createContext(void 0),Ee=wn;var Fo="internalMark",Dt=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&I("LocaleProvider")(n===Fo,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),S.useEffect(()=>At(o?.Modal),[o]);let r=S.useMemo(()=>({...o,exist:true}),[o]);return S.createElement(Ee.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(Dt.displayName="LocaleProvider");var Gt=Dt;var Wo={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},On={...Wo,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
2
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
3
+ 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},q=On;function Vo(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:a,colorInfo:i,colorPrimary:s,colorBgBase:c,colorTextBase:l}=e,p=o(s),m=o(n),d=o(r),g=o(a),f=o(i),C=t(c,l),x=e.colorLink||e.colorInfo,h=o(x),y=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...C,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:y,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:h[4],colorLink:h[6],colorLinkActive:h[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var zn=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},Ft=zn;function Ko(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...Ft(n)}}var Hn=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Wt=Hn;function xe(e){return (e+8)/e}function Uo(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,a=e*Math.E**(r/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:xe(t)}))}var An=e=>{let o=Uo(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],a=t[0],i=t[2],s=n[1],c=n[0],l=n[2];return {fontSizeSM:a,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*r),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(c*a),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},jt=An;function Xo(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var E=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),be=(e,o)=>new TinyColor(e).darken(o).toHexString();var Kt=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},Ut=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:E(n,.88),colorTextSecondary:E(n,.65),colorTextTertiary:E(n,.45),colorTextQuaternary:E(n,.25),colorFill:E(n,.15),colorFillSecondary:E(n,.06),colorFillTertiary:E(n,.04),colorFillQuaternary:E(n,.02),colorBgSolid:E(n,1),colorBgSolidHover:E(n,.75),colorBgSolidActive:E(n,.95),colorBgLayout:be(t,4),colorBgContainer:be(t,0),colorBgElevated:be(t,0),colorBgSpotlight:E(n,.85),colorBgBlur:"transparent",colorBorder:be(t,15),colorBorderSecondary:be(t,6)}};function Zo(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Wo).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,a,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Vo(e,{generateColorPalettes:Kt,generateNeutralColorPalettes:Ut}),...jt(e.fontSize),...Xo(e),...Wt(e),...Ko(e)}}var co=createTheme(Zo),Oe={token:q,override:{override:q},hashed:true},ze=S__default.createContext(Oe);var oe="ant",He="anticon";var Wn=(e,o)=>o||(e?`${oe}-${e}`:oe),v=S.createContext({getPrefixCls:Wn,iconPrefixCls:He}),{Consumer:jn}=v;var Un=`-ant-${Date.now()}-${Math.random()}`;function Xn(e,o){let t={},n=(i,s)=>{let c=i.clone();return c=s?.(c)||c,c.toRgbString()},r=(i,s)=>{let c=new TinyColor(i),l=generate(c.toRgbString());t[`${s}-color`]=n(c),t[`${s}-color-disabled`]=l[1],t[`${s}-color-hover`]=l[4],t[`${s}-color-active`]=l[6],t[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=l[0],t[`${s}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),s=generate(i.toRgbString());s.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,l=>l.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
4
+ :root {
5
+ ${Object.keys(t).map(i=>`--${e}-${i}: ${t[i]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function qt(e,o){let t=Xn(e,o);Vn()?updateCSS(t,`${Un}-dynamic-theme`):ee(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Yo=S.createContext(false),Zt=({children:e,disabled:o})=>{let t=S.useContext(Yo);return S.createElement(Yo.Provider,{value:o??t},e)},po=Yo;var Jo=S.createContext(void 0),Qt=({children:e,size:o})=>{let t=S.useContext(Jo);return S.createElement(Jo.Provider,{value:o||t},e)},le=Jo;function _n(){let e=useContext(po),o=useContext(le);return {componentDisabled:e,componentSize:o}}var Jt=_n;var or={version:"0.0.2"};var tr=or.version;function et(e){return e>=0&&e<=255}function Zn(e,o){let{r:t,g:n,b:r,a}=new TinyColor(e).toRgb();if(a<1)return e;let{r:i,g:s,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-i*(1-l))/l),m=Math.round((n-s*(1-l))/l),d=Math.round((r-c*(1-l))/l);if(et(p)&&et(m)&&et(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var Ae=Zn;function fo(e){let{override:o,...t}=e,n={...o};Object.keys(q).forEach(d=>{delete n[d];});let r={...t,...n},a=480,i=576,s=768,c=992,l=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:Ae(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:Ae(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:Ae(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:Ae(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
9
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
10
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
11
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
12
+ `,boxShadowSecondary:`
13
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
14
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
15
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
16
+ `,boxShadowTertiary:`
17
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
18
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
19
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
20
+ `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
21
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
22
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
23
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
24
+ `,boxShadowDrawerRight:`
25
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
26
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
27
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
28
+ `,boxShadowDrawerLeft:`
29
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
30
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
31
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
32
+ `,boxShadowDrawerUp:`
33
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
34
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
35
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
36
+ `,boxShadowDrawerDown:`
37
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
38
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
39
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
40
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var tt={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},Jn={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},ei={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},rr=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...a}=o,i={...n,override:r};return i=fo(i),a&&Object.entries(a).forEach(([s,c])=>{let{theme:l,...p}=c,m=p;l&&(m=rr({...i,...p},{override:p},l)),i[s]=m;}),i};function O(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=S__default.useContext(ze),a=`${tr}-${o||""}`,i=t||co,[s,c,l]=useCacheToken(i,[q,e],{salt:a,override:n,getComputedToken:rr,formatToken:fo,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:tt,ignore:Jn,preserve:ei}});return [i,l,o?c:"",s,r]}var nr=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),Ne=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var ir=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),ar=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,a=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...s,...i,[r]:i}}},ti=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),sr=e=>({"&:focus-visible":{...ti(e)}}),go=e=>({[`.${e}`]:{...Ne(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:ce,genComponentStyleHook:rt,genSubStyleComponent:nt}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=O();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":ir(e)},go(o?.prefix.iconPrefixCls??He)],getCommonStyle:ar,getCompUnitless:(()=>tt)});var ii=(e,o)=>{let[t,n]=O();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[go(e)])},uo=ii;var si={...S},{useId:cr}=si,li=()=>"",ci=typeof cr>"u"?li:cr,pr=ci;function it(e,o,t){let n=I("ConfigProvider"),r=e||{},a=r.inherit===false||!o?{...Oe,hashed:o?.hashed??Oe.hashed,cssVar:o?.cssVar}:o,i=pr();if(process.env.NODE_ENV!=="production"){let s=r.cssVar||a.cssVar,c=!!(typeof r.cssVar=="object"&&r.cssVar?.key||i);n(!s||c,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return pi(()=>{if(!e)return o;let s={...a.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,l=(r.cssVar??a.cssVar)&&{prefix:t?.prefixCls,...typeof a.cssVar=="object"?a.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||c};return {...a,...r,token:{...a.token,...r.token},components:s,cssVar:l}},[r,a],(s,c)=>s.some((l,p)=>{let m=c[p];return !mi(l,m,true)}))}function at(e){let{children:o}=e,[,t]=O(),{motion:n}=t,r=S.useRef(false);return r.current=r.current||n===false,r.current?S.createElement(Provider,{motion:n},o):o}var dr=S.memo(({dropdownMatchSelectWidth:e})=>(I("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(dr.displayName="PropWarning");var fr=process.env.NODE_ENV!=="production"?dr:()=>null;var st=false;process.env.NODE_ENV!=="production"?e=>{ee(!st,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var Ci=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],ur;function bi(){return ur||oe}function Ti(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var hi=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(ur=o),n&&(Ti(n)?(ee(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),qt(bi(),n)):n);};var Pi=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:a,form:i,locale:s,componentSize:c,direction:l,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:f,popupOverflow:C,legacyLocale:x,parentContext:h,iconPrefixCls:y,theme:b,componentDisabled:N,segmented:D,statistic:L,spin:j,calendar:M,carousel:P,cascader:z,collapse:u,typography:V,checkbox:K,descriptions:ne,divider:Y,drawer:U,skeleton:Me,steps:T,image:Ve,layout:Mo,list:ko,mentions:$o,modal:J,progress:Bo,result:ie,slider:G,breadcrumb:Ke,menu:ke,pagination:Ue,input:ae,textArea:Xe,empty:_e,badge:$e,radio:qe,rate:Io,switch:Ze,transfer:Lo,avatar:Qe,message:Ye,tag:wo,table:Be,card:Je,tabs:eo,timeline:Eo,timePicker:Oo,upload:oo,notification:to,tree:Ie,colorPicker:R,datePicker:zo,rangePicker:cn,flex:pn,wave:mn,dropdown:dn,warning:fn,tour:gn,variant:un,inputNumber:Cn,treeSelect:yn}=e,Bt=S.useCallback((k,F)=>{let{prefixCls:Ce}=e;if(F)return F;let ye=Ce||h.getPrefixCls("");return k?`${ye}-${k}`:ye},[h.getPrefixCls,e.prefixCls]),Le=y||h.iconPrefixCls||He,we=t||h.csp;uo(Le,we);let ro=it(b,h.theme,{prefixCls:Bt("")});process.env.NODE_ENV!=="production"&&(st=st||!!ro);let Ho={csp:we,autoInsertSpaceInButton:n,alert:r,anchor:a,locale:s||x,direction:l,space:p,splitter:m,virtual:d,popupMatchSelectWidth:f??g,popupOverflow:C,getPrefixCls:Bt,iconPrefixCls:Le,theme:ro,segmented:D,statistic:L,spin:j,calendar:M,carousel:P,cascader:z,collapse:u,typography:V,checkbox:K,descriptions:ne,divider:Y,drawer:U,skeleton:Me,steps:T,image:Ve,input:ae,textArea:Xe,layout:Mo,list:ko,mentions:$o,modal:J,progress:Bo,result:ie,slider:G,breadcrumb:Ke,menu:ke,pagination:Ue,empty:_e,badge:$e,radio:qe,rate:Io,switch:Ze,transfer:Lo,avatar:Qe,message:Ye,tag:wo,table:Be,card:Je,tabs:eo,timeline:Eo,timePicker:Oo,upload:oo,notification:to,tree:Ie,colorPicker:R,datePicker:zo,rangePicker:cn,flex:pn,wave:mn,dropdown:dn,warning:fn,tour:gn,variant:un,inputNumber:Cn,treeSelect:yn};process.env.NODE_ENV!=="production"&&I("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let ge={...h};Object.keys(Ho).forEach(k=>{Ho[k]!==void 0&&(ge[k]=Ho[k]);}),Ci.forEach(k=>{let F=e[k];F&&(ge[k]=F);}),typeof n<"u"&&(ge.button={autoInsertSpace:n,...ge.button});let ue=pi(()=>ge,ge,(k,F)=>{let Ce=Object.keys(k),ye=Object.keys(F);return Ce.length!==ye.length||Ce.some(no=>k[no]!==F[no])}),Sn=S.useMemo(()=>({prefixCls:Le,csp:we}),[Le,we]),B=S.createElement(S.Fragment,null,S.createElement(fr,{dropdownMatchSelectWidth:g}),o),It=S.useMemo(()=>merge(se.Form?.defaultValidateMessages||{},ue.locale?.Form?.defaultValidateMessages||{},ue.form?.validateMessages||{},i?.validateMessages||{}),[ue,i?.validateMessages]);Object.keys(It).length>0&&(B=S.createElement(Ot.Provider,{value:It},B)),s&&(B=S.createElement(Gt,{locale:s,_ANT_MARK__:Fo},B)),(B=S.createElement(fi.Provider,{value:Sn},B)),c&&(B=S.createElement(Qt,{size:c},B)),B=S.createElement(at,null,B);let xn=S.useMemo(()=>{let{algorithm:k,token:F,components:Ce,cssVar:ye,...no}=ro||{},Lt=k&&(!Array.isArray(k)||k.length>0)?createTheme(k):co,Ao={};Object.entries(Ce||{}).forEach(([bn,Tn])=>{let X={...Tn};"algorithm"in X&&(X.algorithm===true?X.theme=Lt:(Array.isArray(X.algorithm)||typeof X.algorithm=="function")&&(X.theme=createTheme(X.algorithm)),delete X.algorithm),Ao[bn]=X;});let wt={...q,...F};return {...no,theme:Lt,token:wt,components:Ao,override:{override:wt,...Ao},cssVar:ye}},[ro]);return b&&(B=S.createElement(ze.Provider,{value:xn},B)),ue.warning&&(B=S.createElement(Do.Provider,{value:ue.warning},B)),N!==void 0&&(B=S.createElement(Zt,{disabled:N},B)),S.createElement(v.Provider,{value:ue},B)},Pe=e=>{let o=S.useContext(v),t=S.useContext(Ee);return S.createElement(Pi,{parentContext:o,legacyLocale:t,...e})};Pe.ConfigContext=v;Pe.SizeContext=le;Pe.config=hi;Pe.useConfig=Jt;Object.defineProperty(Pe,"SizeContext",{get:()=>(ee(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),le)});process.env.NODE_ENV!=="production"&&(Pe.displayName="ConfigProvider");function Cr(e){return e&&S__default.isValidElement(e)&&e.type===S__default.Fragment}var vi=(e,o,t)=>S__default.isValidElement(e)?S__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function pe(e,o){return vi(e,e,o)}var Ri=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},yr=rt("Wave",e=>[Ri(e)]);var So=`${oe}-wave-target`;var Bi=(e,o)=>{if(process.env.NODE_ENV!=="production"){let t=parseInt(S.version.split(".")[0],10),n=Object.keys(Mi);ee(t<19||n.includes("createRoot"),"compatible","swiftcrab v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.");}return render(e,o),()=>unmount(o)},Ii=Bi;function xr(){return Ii}function lt(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function br(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return lt(o)?o:lt(t)?t:lt(n)?n:null}function ct(e){return Number.isNaN(e)?0:e}var Oi=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,a=S.useRef(null),i=S.useRef(null);S.useEffect(()=>{i.current=r();},[]);let[s,c]=S.useState(null),[l,p]=S.useState([]),[m,d]=S.useState(0),[g,f]=S.useState(0),[C,x]=S.useState(0),[h,y]=S.useState(0),[b,N]=S.useState(false),D={left:m,top:g,width:C,height:h,borderRadius:l.map(M=>`${M}px`).join(" ")};s&&(D["--wave-color"]=s);function L(){let M=getComputedStyle(t);c(br(t));let P=M.position==="static",{borderLeftWidth:z,borderTopWidth:u}=M;d(P?t.offsetLeft:ct(-parseFloat(z))),f(P?t.offsetTop:ct(-parseFloat(u))),x(t.offsetWidth),y(t.offsetHeight);let{borderTopLeftRadius:V,borderTopRightRadius:K,borderBottomLeftRadius:ne,borderBottomRightRadius:Y}=M;p([V,K,Y,ne].map(U=>ct(parseFloat(U))));}if(S.useEffect(()=>{if(t){let M=Tr(()=>{L(),N(true);}),P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(L),P.observe(t)),()=>{Tr.cancel(M),P?.disconnect();}}},[]),!b)return null;let j=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(So);return S.createElement(wi,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(M,P)=>{if(P.deadline||P.propertyName==="opacity"){let z=a.current?.parentElement;i.current?.().then(()=>{z?.remove();});}return false}},({className:M},P)=>S.createElement("div",{ref:composeRef(a,P),className:Mt(o,M,{"wave-quick":j}),style:D}))},zi=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=xr(),a=null;function i(){return a}a=r(S.createElement(Oi,{...o,target:e,registerUnmount:i}),n);},hr=zi;var Ai=(e,o,t)=>{let{wave:n}=S.useContext(v),[,r,a]=O(),i=Hi(l=>{let p=e.current;if(n?.disabled||!p)return;let m=p.querySelector(`.${So}`)||p,{showEffect:d}=n||{};(d||hr)(m,{className:o,token:r,component:t,event:l,hashId:a});}),s=S.useRef(null);return l=>{Tr.cancel(s.current),s.current=Tr(()=>{i(l);});}},vr=Ai;var Mr=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(v),a=useRef(null),i=r("wave"),[,s]=yr(i),c=vr(a,Mt(i,s),n);if(S__default.useEffect(()=>{let p=a.current;if(!p||p.nodeType!==1||t)return;let m=d=>{!Fi(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||c(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[t]),!S__default.isValidElement(o))return o??null;let l=supportRef(o)?composeRef(getNodeRef(o),a):a;return pe(o,{ref:l})};process.env.NODE_ENV!=="production"&&(Mr.displayName="Wave");var kr=Mr;var Ki=e=>{let o=S__default.useContext(le);return S__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},De=Ki;var Ui=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Br=Ui;var Xi=e=>{let{componentCls:o,antCls:t}=e;return {[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},_i=e=>{let{componentCls:o}=e;return {[o]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};ce("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Xi(o),_i(o),Br(o)]},()=>({}),{resetStyle:false});var Qi=S.createContext(null),Ir=(e,o)=>{let t=S.useContext(Qi),n=S.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:a,isLastItem:i}=t,s=r==="vertical"?"-vertical-":"-";return Mt(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}};var pt=S.createContext(void 0),Ji=e=>{let{getPrefixCls:o,direction:t}=S.useContext(v),{prefixCls:n,size:r,className:a,...i}=e,s=o("btn-group",n),[,,c]=O(),l="";switch(r){case "large":l="lg";break;case "small":l="sm";break;}process.env.NODE_ENV!=="production"&&I("Button.Group")(!r||["large","small","middle"].includes(r),"usage","Invalid prop `size`.");let p=Mt(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:t==="rtl"},a,c);return S.createElement(pt.Provider,{value:r},S.createElement("div",{...i,className:p}))},Lr=Ji;var wr=/^[\u4E00-\u9FA5]{2}$/,bo=wr.test.bind(wr);function Or(e){return e==="danger"?{danger:true}:{type:e}}function Er(e){return typeof e=="string"}function Fe(e){return e==="text"||e==="link"}function ea(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&Er(e.type)&&bo(e.props.children)?pe(e,{children:e.props.children.split("").join(t)}):Er(e)?bo(e)?S__default.createElement("span",null,e.split("").join(t)):S__default.createElement("span",null,e):Cr(e)?S__default.createElement("span",null,e):e}function zr(e,o){let t=false,n=[];return S__default.Children.forEach(e,r=>{let a=typeof r,i=a==="string"||a==="number";if(t&&i){let s=n.length-1,c=n[s];n[s]=`${c}${r}`;}else n.push(r);t=i;}),S__default.Children.map(n,r=>ea(r,o))}var na=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:a}=e,i=Mt(`${a}-icon`,t);return S__default.createElement("span",{ref:o,className:i,style:n},r)}),To=na;var Hr=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:a}=e,i=Mt(`${t}-loading-icon`,n);return S__default.createElement(To,{prefixCls:t,className:i,style:r,ref:o},S__default.createElement(aa,{className:a}))}),mt=()=>({width:0,opacity:0,transform:"scale(0)"}),dt=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),la=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:a,mount:i}=e,s=!!t;return n?S__default.createElement(Hr,{prefixCls:o,className:r,style:a}):S__default.createElement(wi,{visible:s,motionName:`${o}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:true,onAppearStart:mt,onAppearActive:dt,onEnterStart:mt,onEnterActive:dt,onLeaveStart:dt,onLeaveActive:mt},({className:c,style:l},p)=>{let m={...a,...l};return S__default.createElement(Hr,{prefixCls:o,className:Mt(r,c),style:m,ref:p})})},Nr=la;var Dr=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),ca=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,colorErrorHover:a}=e;return {[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(n).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},Dr(`${o}-primary`,r),Dr(`${o}-danger`,a)]}},Gr=ca;var pa=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",ma=(e,o)=>e?pa(e,o):"",je=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=o.cleared;return}let t=Array.isArray(o);t&&o.length?(this.colors=o.map(({color:n,percent:r})=>({color:new e(n),percent:r})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(t?"":o),(!o||t&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return ma(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(n=>`${n.color.toRgbString()} ${n.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(o){return !o||this.isGradient()!==o.isGradient()?false:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((t,n)=>{let r=o.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===o.toHexString()}};var ft=()=>({height:0,opacity:0}),Wr=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},da=e=>({height:e?e.offsetHeight:0}),gt=(e,o)=>o?.deadline===true||o.propertyName==="height",fa=(e=oe)=>({motionName:`${e}-motion-collapse`,onAppearStart:ft,onEnterStart:ft,onAppearActive:Wr,onEnterActive:Wr,onLeaveStart:da,onLeaveActive:ft,onAppearEnd:gt,onEnterEnd:gt,onLeaveEnd:gt,motionDeadline:500});var jr=fa;var Ca=S.forwardRef((e,o)=>{process.env.NODE_ENV!=="production"&&I("Collapse.Panel").deprecated(!("disabled"in e),"disabled",'collapsible="disabled"');let{getPrefixCls:t}=S.useContext(v),{prefixCls:n,className:r,showArrow:a=true}=e,i=t("collapse",n),s=Mt({[`${i}-no-arrow`]:!a},r);return S.createElement(ua.Panel,{ref:o,...e,prefixCls:i,className:s})}),Vr=Ca;var ya=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
41
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
42
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),ut=ya;new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});var _a=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:p,colorBorder:m,colorText:d,colorTextHeading:g,colorTextDisabled:f,fontSizeLG:C,lineHeight:x,lineHeightLG:h,marginSM:y,paddingSM:b,paddingLG:N,paddingXS:D,motionDurationSlow:L,fontSizeIcon:j,contentPadding:M,fontHeight:P,fontHeightLG:z}=e,u=`${unit(l)} ${p} ${m}`;return {[o]:{...nr(e),backgroundColor:r,border:u,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:u,"&:last-child":{[`
43
+ &,
44
+ & > ${o}-header`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:g,lineHeight:x,cursor:"pointer",transition:`all ${L}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:P,display:"flex",alignItems:"center",paddingInlineEnd:y},[`${o}-arrow`]:{...Ne(),fontSize:j,transition:`transform ${L}`,svg:{transition:`transform ${L}`}},[`${o}-header-text`]:{marginInlineEnd:"auto"}},[`${o}-collapsible-header`]:{cursor:"default",[`${o}-header-text`]:{flex:"none",cursor:"pointer"}},[`${o}-collapsible-icon`]:{cursor:"unset",[`${o}-expand-icon`]:{cursor:"pointer"}}},[`${o}-content`]:{color:d,backgroundColor:t,borderTop:u,[`& > ${o}-content-box`]:{padding:M},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:i,paddingInlineStart:D,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(b).sub(D).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:b}}},"&-large":{[`> ${o}-item`]:{fontSize:C,lineHeight:h,[`> ${o}-header`]:{padding:s,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:z,marginInlineStart:e.calc(N).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:N}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:f,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:y}}}}}}},qa=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Za=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
45
+ > ${o}-item:last-child,
46
+ > ${o}-item:last-child ${o}-header
47
+ `]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:n}}}},Qa=e=>{let{componentCls:o,paddingSM:t}=e;return {[`${o}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${o}-item`]:{borderBottom:0,[`> ${o}-content`]:{backgroundColor:"transparent",border:0,[`> ${o}-content-box`]:{paddingBlock:t}}}}}},Ya=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Ur=ce("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [_a(o),Za(o),Qa(o),qa(o),ut(o)]},Ya);var qr=S.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=S.useContext(v),{prefixCls:a,className:i,rootClassName:s,style:c,bordered:l=true,ghost:p,size:m,expandIconPosition:d="start",children:g,expandIcon:f}=e,C=De(u=>m??u??"middle"),x=t("collapse",a),h=t(),[y,b,N]=Ur(x);process.env.NODE_ENV!=="production"&&I("Collapse")(d!=="left"&&d!=="right","deprecated","`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.");let D=S.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),L=f??r?.expandIcon,j=S.useCallback((u={})=>{let V=typeof L=="function"?L(u):S.createElement(Ja,{rotate:u.isActive?90:void 0,"aria-label":u.isActive?"expanded":"collapsed"});return pe(V,()=>({className:Mt(V?.props?.className,`${x}-arrow`)}))},[L,x]),M=Mt(`${x}-icon-position-${D}`,{[`${x}-borderless`]:!l,[`${x}-rtl`]:n==="rtl",[`${x}-ghost`]:!!p,[`${x}-${C}`]:C!=="middle"},r?.className,i,s,b,N),P={...jr(h),motionAppear:false,leavedClassName:`${x}-content-hidden`},z=S.useMemo(()=>g?os(g).map((u,V)=>{let K=u.props;if(K?.disabled){let ne=u.key??String(V),Y={..._r(u.props,["disabled"]),key:ne,collapsible:K.collapsible??"disabled"};return pe(u,Y)}return u}):null,[g]);return y(S.createElement(ua,{ref:o,openMotion:P,..._r(e,["rootClassName"]),expandIcon:j,prefixCls:x,className:M,style:{...r?.style,...c}},z))});process.env.NODE_ENV!=="production"&&(qr.displayName="Collapse");Object.assign(qr,{Panel:Vr});var Zr=(e,o)=>{let{r:t,g:n,b:r,a}=e.toRgb(),i=new Color(e.toRgbString()).onBackground(o).toHsv();return a<=.5?i.v>.5:t*.299+n*.587+r*.114>192};var ho=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},Po=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??xe(o),a=e.contentLineHeightSM??xe(t),i=e.contentLineHeightLG??xe(n),s=Zr(new je(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:a,contentLineHeightLG:i,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*i)/2-e.lineWidth,0)}};var ns=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:a,motionEaseInOut:i,marginXS:s,calc:c}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:Ne(),"> a":{color:"currentColor"},"&:not(:disabled)":sr(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(l=>`${l} ${a} ${i}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},Qr=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),is=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),as=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),ss=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),St=(e,o,t,n,r,a,i,s)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...Qr(e,{background:o,...i},{background:o,...s}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:a||void 0}}}),ls=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...ss(e)}}),cs=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),vo=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?cs:ls)(e),...Qr(e.componentCls,o,t)}),xt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...vo(e,n,r)}}),bt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...vo(e,n,r)}}),Tt=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),ht=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...vo(e,t,n)}}),Re=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...vo(e,n,r,t)}}),ps=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...xt(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...Tt(e),...ht(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...Re(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...St(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),ms=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...bt(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...Tt(e),...ht(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...Re(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...St(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),ds=e=>({color:e.colorError,boxShadow:e.dangerShadow,...xt(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...bt(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...Tt(e),...ht(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...Re(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...Re(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...St(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),fs=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:ps(e),[`${o}-color-primary`]:ms(e),[`${o}-color-dangerous`]:ds(e)}},gs=e=>({...bt(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...Re(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...xt(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...Re(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),Pt=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:a,buttonPaddingHorizontal:i,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(i)}`,borderRadius:a,[`&${t}-icon-only`]:{width:n,[s]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:is(e)},{[`${t}${t}-round${o}`]:as(e)}]},us=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return Pt(o,e.componentCls)},Cs=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Pt(o,`${e.componentCls}-sm`)},ys=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Pt(o,`${e.componentCls}-lg`)},Ss=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},Yr=ce("Button",e=>{let o=ho(e);return [ns(o),us(o),Cs(o),ys(o),Ss(o),fs(o),gs(o),Gr(o)]},Po,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function xs(e,o,t){let{focusElCls:n,focus:r,borderElCls:a}=t,i=a?"> *":"",s=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[s]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function bs(e,o,t){let{borderElCls:n}=t,r=n?`> ${n}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Jr(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...xs(e,n,o),...bs(t,n,o)}}}function Ts(e,o){return {[`&-item:not(${o}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function hs(e,o){return {[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function en(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...Ts(e,o),...hs(e.componentCls,o)}}}var Ps=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,a=r(n).mul(-1).equal(),i=s=>({[`${o}-compact${s?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:t,content:'""',width:s?"100%":n,height:s?n:"100%"}}});return {...i(),...i(true)}},on=nt(["Button","compact"],e=>{let o=ho(e);return [Jr(o),en(o),Ps(o)]},Po);function ks(e){if(typeof e=="object"&&e){let o=e?.delay;return o=!Number.isNaN(o)&&typeof o=="number"?o:0,{loading:o<=0,delay:o}}return {loading:!!e,delay:0}}var $s={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},Bs=S__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:a,type:i,danger:s=false,shape:c="default",size:l,styles:p,disabled:m,className:d,rootClassName:g,children:f,icon:C,iconPosition:x="start",ghost:h=false,block:y=false,htmlType:b="button",classNames:N,style:D={},autoInsertSpace:L,autoFocus:j,...M}=e,P=i||"default",[z,u]=useMemo(()=>{if(r&&a)return [r,a];let R=$s[P]||[];return s?["danger",R[1]]:R},[i,r,a,s]),K=z==="danger"?"dangerous":z,{getPrefixCls:ne,direction:Y,button:U}=useContext(v),Me=L??U?.autoInsertSpace??true,T=ne("btn",n),[Ve,Mo,ko]=Yr(T),$o=useContext(po),J=m??$o,Bo=useContext(pt),ie=useMemo(()=>ks(t),[t]),[G,Ke]=useState(ie.loading),[ke,Ue]=useState(false),ae=useRef(null),Xe=useComposeRef(o,ae),_e=Children.count(f)===1&&!C&&!Fe(u),$e=useRef(true);S__default.useEffect(()=>($e.current=false,()=>{$e.current=true;}),[]),useEffect(()=>{let R=null;ie.delay>0?R=setTimeout(()=>{R=null,Ke(true);},ie.delay):Ke(ie.loading);function zo(){R&&(clearTimeout(R),R=null);}return zo},[ie]),useEffect(()=>{if(!ae.current||!Me)return;let R=ae.current.textContent||"";_e&&bo(R)?ke||Ue(true):ke&&Ue(false);}),useEffect(()=>{j&&ae.current&&ae.current.focus();},[]);let qe=S__default.useCallback(R=>{if(G||J){R.preventDefault();return}e.onClick?.(R);},[e.onClick,G,J]);if(process.env.NODE_ENV!=="production"){let R=I("Button");R(!(typeof C=="string"&&C.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${C}\` at https://ant.design/components/icon`),R(!(h&&Fe(u)),"usage","`link` or `text` button can't be a `ghost` button.");}let{compactSize:Io,compactItemClassnames:Ze}=Ir(T,Y),Lo={large:"lg",small:"sm",middle:void 0},Qe=De(R=>l??Io??Bo??R),Ye=Qe?Lo[Qe]??"":"",wo=G?"loading":C,Be=_r(M,["navigate"]),Je=Mt(T,Mo,ko,{[`${T}-${c}`]:c!=="default"&&c,[`${T}-${P}`]:P,[`${T}-dangerous`]:s,[`${T}-color-${K}`]:K,[`${T}-variant-${u}`]:u,[`${T}-${Ye}`]:Ye,[`${T}-icon-only`]:!f&&f!==0&&!!wo,[`${T}-background-ghost`]:h&&!Fe(u),[`${T}-loading`]:G,[`${T}-two-chinese-chars`]:ke&&Me&&!G,[`${T}-block`]:y,[`${T}-rtl`]:Y==="rtl",[`${T}-icon-end`]:x==="end"},Ze,d,g,U?.className),eo={...U?.style,...D},Eo=Mt(N?.icon,U?.classNames?.icon),Oo={...p?.icon||{},...U?.styles?.icon||{}},oo=C&&!G?S__default.createElement(To,{prefixCls:T,className:Eo,style:Oo},C):S__default.createElement(Nr,{existIcon:!!C,prefixCls:T,loading:G,mount:$e.current}),to=f||f===0?zr(f,_e&&Me):null;if(Be.href!==void 0)return Ve(S__default.createElement("a",{...Be,className:Mt(Je,{[`${T}-disabled`]:J}),href:J?void 0:Be.href,style:eo,onClick:qe,ref:Xe,tabIndex:J?-1:0},oo,to));let Ie=S__default.createElement("button",{...M,type:b,className:Je,style:eo,onClick:qe,disabled:J,ref:Xe},oo,to,Ze&&S__default.createElement(on,{prefixCls:T}));return Fe(u)||(Ie=S__default.createElement(kr,{component:"Button",disabled:G},Ie)),Ve(Ie)}),Ro=Bs;Ro.Group=Lr;Ro.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(Ro.displayName="Button");var an=Ro;var sn=an;function kt(e){return !!e?.then}var Ls=e=>{let{type:o,children:t,prefixCls:n,buttonProps:r,close:a,autoFocus:i,emitEvent:s,isSilent:c,quitOnNullishReturnValue:l,actionFn:p}=e,m=S.useRef(false),d=S.useRef(null),[g,f]=Is(false),C=(...y)=>{a?.(...y);};S.useEffect(()=>{let y=null;return i&&(y=setTimeout(()=>{d.current?.focus({preventScroll:true});})),()=>{y&&clearTimeout(y);}},[]);let x=y=>{kt(y)&&(f(true),y.then((...b)=>{f(false,true),C(...b),m.current=false;},b=>{if(f(false,true),m.current=false,!c?.())return Promise.reject(b)}));},h=y=>{if(m.current)return;if(m.current=true,!p){C();return}let b;if(s){if(b=p(y),l&&!kt(b)){m.current=false,C(y);return}}else if(p.length)b=p(a),m.current=false;else if(b=p(),!kt(b)){C();return}x(b);};return S.createElement(sn,{...Or(o),onClick:h,loading:g,prefixCls:n,...r,ref:d},t)},ln=Ls;var $t=S__default.createContext({}),{Provider:qf}=$t;var zs=()=>{let{autoFocusButton:e,close:o,isSilent:t,okButtonProps:n,rootPrefixCls:r,okTextLocale:a,okType:i,onConfirm:s,onOk:c}=useContext($t);return S__default.createElement(ln,{isSilent:t,type:i||"primary",actionFn:c,close:(...l)=>{o?.(...l),s?.(true);},autoFocus:e==="ok",buttonProps:n,prefixCls:`${r}-btn`},a)},eg=zs;
48
+ export{eg as default};
@@ -0,0 +1,8 @@
1
+ import type { FC } from 'react';
2
+ import React from 'react';
3
+ import type { ModalProps } from '../interface';
4
+ export interface NormalCancelBtnProps extends Pick<ModalProps, 'cancelButtonProps' | 'onCancel'> {
5
+ cancelTextLocale?: React.ReactNode;
6
+ }
7
+ declare const NormalCancelBtn: FC;
8
+ export default NormalCancelBtn;
@@ -0,0 +1,48 @@
1
+ import*as C from'react';import C__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import Rt from'classnames';import Kr from'rc-util/lib/omit';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import Sn,{resetWarned}from'rc-util/lib/warning';import Ai from'rc-util/lib/Dom/isVisible';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import ci from'@ant-design/icons/lib/components/Context';import ai from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import Pn from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Gn from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import si from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import ki,{Provider}from'rc-motion';import wi from'rc-util/lib/hooks/useEvent';import xr from'rc-util/lib/raf';import*as hi from'react-dom';import {unmount,render}from'rc-util/lib/React/render';import Qa from'rc-util/lib/Children/toArray';import ta from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import qa from'@ant-design/icons/RightOutlined';import ma from'rc-collapse';function Lt(){}var _=null;function bn(){_=null,resetWarned();}var Ao=Lt;process.env.NODE_ENV!=="production"&&(Ao=(e,o,t)=>{Sn(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&bn();});var No=C.createContext({}),k=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=C.useContext(No),t=(n,r,a)=>{if(!n)if(o===false&&r==="deprecated"){let i=_;_||(_={}),_[e]=_[e]||[],_[e].includes(a||"")||_[e].push(a||""),i||console.warn("[swiftcrab] There exists deprecated usage in your code:",_);}else Ao(n,e,a);};return t.deprecated=(n,r,a,i)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=Lt,e},ee=Ao;var wt=createContext(void 0);({lang:{...Pn}});var I="${label} is not a valid ${type}",Mn={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:I,method:I,array:I,object:I,number:I,date:I,boolean:I,integer:I,float:I,regexp:I,email:I,url:I,hex:I},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}},se=Mn;({...se.Modal});var so=[],zt=()=>so.reduce((e,o)=>({...e,...o}),se.Modal);function Ot(e){if(e){let o={...e};return so.push(o),zt(),()=>{so=so.filter(t=>t!==o),zt();}}({...se.Modal});}var kn=createContext(void 0),we=kn;var Go="internalMark",At=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&k("LocaleProvider")(n===Go,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),C.useEffect(()=>Ot(o?.Modal),[o]);let r=C.useMemo(()=>({...o,exist:true}),[o]);return C.createElement(we.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(At.displayName="LocaleProvider");var Nt=At;var Wo={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},In={...Wo,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
2
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
3
+ 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},q=In;function jo(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:a,colorInfo:i,colorPrimary:s,colorBgBase:c,colorTextBase:l}=e,p=o(s),m=o(n),d=o(r),g=o(a),u=o(i),h=t(c,l),b=e.colorLink||e.colorInfo,P=o(b),E=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...h,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:E,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:P[4],colorLink:P[6],colorLinkActive:P[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Ln=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},Dt=Ln;function Vo(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...Dt(n)}}var wn=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Gt=wn;function Se(e){return (e+8)/e}function Ko(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,a=e*Math.E**(r/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:Se(t)}))}var En=e=>{let o=Ko(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],a=t[0],i=t[2],s=n[1],c=n[0],l=n[2];return {fontSizeSM:a,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*r),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(c*a),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Wt=En;function Uo(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var L=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),xe=(e,o)=>new TinyColor(e).darken(o).toHexString();var jt=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},Vt=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:L(n,.88),colorTextSecondary:L(n,.65),colorTextTertiary:L(n,.45),colorTextQuaternary:L(n,.25),colorFill:L(n,.15),colorFillSecondary:L(n,.06),colorFillTertiary:L(n,.04),colorFillQuaternary:L(n,.02),colorBgSolid:L(n,1),colorBgSolidHover:L(n,.75),colorBgSolidActive:L(n,.95),colorBgLayout:xe(t,4),colorBgContainer:xe(t,0),colorBgElevated:xe(t,0),colorBgSpotlight:L(n,.85),colorBgBlur:"transparent",colorBorder:xe(t,15),colorBorderSecondary:xe(t,6)}};function qo(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Wo).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,a,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...jo(e,{generateColorPalettes:jt,generateNeutralColorPalettes:Vt}),...Wt(e.fontSize),...Uo(e),...Gt(e),...Vo(e)}}var lo=createTheme(qo),Ee={token:q,override:{override:q},hashed:true},ze=C__default.createContext(Ee);var oe="ant",Oe="anticon";var Nn=(e,o)=>o||(e?`${oe}-${e}`:oe),x=C.createContext({getPrefixCls:Nn,iconPrefixCls:Oe}),{Consumer:Dn}=x;var Fn=`-ant-${Date.now()}-${Math.random()}`;function jn(e,o){let t={},n=(i,s)=>{let c=i.clone();return c=s?.(c)||c,c.toRgbString()},r=(i,s)=>{let c=new TinyColor(i),l=generate(c.toRgbString());t[`${s}-color`]=n(c),t[`${s}-color-disabled`]=l[1],t[`${s}-color-hover`]=l[4],t[`${s}-color-active`]=l[6],t[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=l[0],t[`${s}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),s=generate(i.toRgbString());s.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,l=>l.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
4
+ :root {
5
+ ${Object.keys(t).map(i=>`--${e}-${i}: ${t[i]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function Xt(e,o){let t=jn(e,o);Gn()?updateCSS(t,`${Fn}-dynamic-theme`):ee(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Qo=C.createContext(false),_t=({children:e,disabled:o})=>{let t=C.useContext(Qo);return C.createElement(Qo.Provider,{value:o??t},e)},co=Qo;var Yo=C.createContext(void 0),qt=({children:e,size:o})=>{let t=C.useContext(Yo);return C.createElement(Yo.Provider,{value:o||t},e)},le=Yo;function Vn(){let e=useContext(co),o=useContext(le);return {componentDisabled:e,componentSize:o}}var Qt=Vn;var Jt={version:"0.0.2"};var er=Jt.version;function Jo(e){return e>=0&&e<=255}function Un(e,o){let{r:t,g:n,b:r,a}=new TinyColor(e).toRgb();if(a<1)return e;let{r:i,g:s,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-i*(1-l))/l),m=Math.round((n-s*(1-l))/l),d=Math.round((r-c*(1-l))/l);if(Jo(p)&&Jo(m)&&Jo(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var He=Un;function mo(e){let{override:o,...t}=e,n={...o};Object.keys(q).forEach(d=>{delete n[d];});let r={...t,...n},a=480,i=576,s=768,c=992,l=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:He(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:He(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:He(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:He(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
9
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
10
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
11
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
12
+ `,boxShadowSecondary:`
13
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
14
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
15
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
16
+ `,boxShadowTertiary:`
17
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
18
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
19
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
20
+ `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
21
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
22
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
23
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
24
+ `,boxShadowDrawerRight:`
25
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
26
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
27
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
28
+ `,boxShadowDrawerLeft:`
29
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
30
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
31
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
32
+ `,boxShadowDrawerUp:`
33
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
34
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
35
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
36
+ `,boxShadowDrawerDown:`
37
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
38
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
39
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
40
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var ot={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},qn={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Zn={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},or=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...a}=o,i={...n,override:r};return i=mo(i),a&&Object.entries(a).forEach(([s,c])=>{let{theme:l,...p}=c,m=p;l&&(m=or({...i,...p},{override:p},l)),i[s]=m;}),i};function w(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=C__default.useContext(ze),a=`${er}-${o||""}`,i=t||lo,[s,c,l]=useCacheToken(i,[q,e],{salt:a,override:n,getComputedToken:or,formatToken:mo,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:ot,ignore:qn,preserve:Zn}});return [i,l,o?c:"",s,r]}var tr=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),Ae=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var rr=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),nr=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,a=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...s,...i,[r]:i}}},Yn=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ir=e=>({"&:focus-visible":{...Yn(e)}}),fo=e=>({[`.${e}`]:{...Ae(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:ce,genComponentStyleHook:tt,genSubStyleComponent:rt}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(x);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=w();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(x);return e??{}},getResetStyles:(e,o)=>[{"&":rr(e)},fo(o?.prefix.iconPrefixCls??Oe)],getCommonStyle:nr,getCompUnitless:(()=>ot)});var oi=(e,o)=>{let[t,n]=w();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[fo(e)])},go=oi;var ri={...C},{useId:sr}=ri,ni=()=>"",ii=typeof sr>"u"?ni:sr,lr=ii;function nt(e,o,t){let n=k("ConfigProvider"),r=e||{},a=r.inherit===false||!o?{...Ee,hashed:o?.hashed??Ee.hashed,cssVar:o?.cssVar}:o,i=lr();if(process.env.NODE_ENV!=="production"){let s=r.cssVar||a.cssVar,c=!!(typeof r.cssVar=="object"&&r.cssVar?.key||i);n(!s||c,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return ai(()=>{if(!e)return o;let s={...a.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,l=(r.cssVar??a.cssVar)&&{prefix:t?.prefixCls,...typeof a.cssVar=="object"?a.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||c};return {...a,...r,token:{...a.token,...r.token},components:s,cssVar:l}},[r,a],(s,c)=>s.some((l,p)=>{let m=c[p];return !si(l,m,true)}))}function it(e){let{children:o}=e,[,t]=w(),{motion:n}=t,r=C.useRef(false);return r.current=r.current||n===false,r.current?C.createElement(Provider,{motion:n},o):o}var pr=C.memo(({dropdownMatchSelectWidth:e})=>(k("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(pr.displayName="PropWarning");var mr=process.env.NODE_ENV!=="production"?pr:()=>null;var at=false;process.env.NODE_ENV!=="production"?e=>{ee(!at,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var di=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],fr;function Ci(){return fr||oe}function yi(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Si=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(fr=o),n&&(yi(n)?(ee(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Xt(Ci(),n)):n);};var xi=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:a,form:i,locale:s,componentSize:c,direction:l,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:u,popupOverflow:h,legacyLocale:b,parentContext:P,iconPrefixCls:E,theme:A,componentDisabled:N,segmented:D,statistic:B,spin:j,calendar:v,carousel:S,cascader:z,collapse:f,typography:V,checkbox:K,descriptions:ne,divider:Y,drawer:U,skeleton:Re,steps:y,image:je,layout:Ro,list:Mo,mentions:$o,modal:J,progress:ko,result:ie,slider:G,breadcrumb:Ve,menu:Me,pagination:Ke,input:ae,textArea:Ue,empty:Xe,badge:$e,radio:_e,rate:Bo,switch:qe,transfer:Io,avatar:Ze,message:Qe,tag:Lo,table:ke,card:Ye,tabs:Je,timeline:wo,timePicker:Eo,upload:eo,notification:oo,tree:Be,colorPicker:T,datePicker:zo,rangePicker:nn,flex:an,wave:sn,dropdown:ln,warning:cn,tour:pn,variant:mn,inputNumber:dn,treeSelect:fn}=e,$t=C.useCallback((R,W)=>{let{prefixCls:ue}=e;if(W)return W;let Ce=ue||P.getPrefixCls("");return R?`${Ce}-${R}`:Ce},[P.getPrefixCls,e.prefixCls]),Ie=E||P.iconPrefixCls||Oe,Le=t||P.csp;go(Ie,Le);let to=nt(A,P.theme,{prefixCls:$t("")});process.env.NODE_ENV!=="production"&&(at=at||!!to);let Oo={csp:Le,autoInsertSpaceInButton:n,alert:r,anchor:a,locale:s||b,direction:l,space:p,splitter:m,virtual:d,popupMatchSelectWidth:u??g,popupOverflow:h,getPrefixCls:$t,iconPrefixCls:Ie,theme:to,segmented:D,statistic:B,spin:j,calendar:v,carousel:S,cascader:z,collapse:f,typography:V,checkbox:K,descriptions:ne,divider:Y,drawer:U,skeleton:Re,steps:y,image:je,input:ae,textArea:Ue,layout:Ro,list:Mo,mentions:$o,modal:J,progress:ko,result:ie,slider:G,breadcrumb:Ve,menu:Me,pagination:Ke,empty:Xe,badge:$e,radio:_e,rate:Bo,switch:qe,transfer:Io,avatar:Ze,message:Qe,tag:Lo,table:ke,card:Ye,tabs:Je,timeline:wo,timePicker:Eo,upload:eo,notification:oo,tree:Be,colorPicker:T,datePicker:zo,rangePicker:nn,flex:an,wave:sn,dropdown:ln,warning:cn,tour:pn,variant:mn,inputNumber:dn,treeSelect:fn};process.env.NODE_ENV!=="production"&&k("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let fe={...P};Object.keys(Oo).forEach(R=>{Oo[R]!==void 0&&(fe[R]=Oo[R]);}),di.forEach(R=>{let W=e[R];W&&(fe[R]=W);}),typeof n<"u"&&(fe.button={autoInsertSpace:n,...fe.button});let ge=ai(()=>fe,fe,(R,W)=>{let ue=Object.keys(R),Ce=Object.keys(W);return ue.length!==Ce.length||ue.some(ro=>R[ro]!==W[ro])}),gn=C.useMemo(()=>({prefixCls:Ie,csp:Le}),[Ie,Le]),$=C.createElement(C.Fragment,null,C.createElement(mr,{dropdownMatchSelectWidth:g}),o),kt=C.useMemo(()=>merge(se.Form?.defaultValidateMessages||{},ge.locale?.Form?.defaultValidateMessages||{},ge.form?.validateMessages||{},i?.validateMessages||{}),[ge,i?.validateMessages]);Object.keys(kt).length>0&&($=C.createElement(wt.Provider,{value:kt},$)),s&&($=C.createElement(Nt,{locale:s,_ANT_MARK__:Go},$)),($=C.createElement(ci.Provider,{value:gn},$)),c&&($=C.createElement(qt,{size:c},$)),$=C.createElement(it,null,$);let un=C.useMemo(()=>{let{algorithm:R,token:W,components:ue,cssVar:Ce,...ro}=to||{},Bt=R&&(!Array.isArray(R)||R.length>0)?createTheme(R):lo,Ho={};Object.entries(ue||{}).forEach(([Cn,yn])=>{let X={...yn};"algorithm"in X&&(X.algorithm===true?X.theme=Bt:(Array.isArray(X.algorithm)||typeof X.algorithm=="function")&&(X.theme=createTheme(X.algorithm)),delete X.algorithm),Ho[Cn]=X;});let It={...q,...W};return {...ro,theme:Bt,token:It,components:Ho,override:{override:It,...Ho},cssVar:Ce}},[to]);return A&&($=C.createElement(ze.Provider,{value:un},$)),ge.warning&&($=C.createElement(No.Provider,{value:ge.warning},$)),N!==void 0&&($=C.createElement(_t,{disabled:N},$)),C.createElement(x.Provider,{value:ge},$)},he=e=>{let o=C.useContext(x),t=C.useContext(we);return C.createElement(xi,{parentContext:o,legacyLocale:t,...e})};he.ConfigContext=x;he.SizeContext=le;he.config=Si;he.useConfig=Qt;Object.defineProperty(he,"SizeContext",{get:()=>(ee(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),le)});process.env.NODE_ENV!=="production"&&(he.displayName="ConfigProvider");function gr(e){return e&&C__default.isValidElement(e)&&e.type===C__default.Fragment}var bi=(e,o,t)=>C__default.isValidElement(e)?C__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function pe(e,o){return bi(e,e,o)}var Ti=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},ur=tt("Wave",e=>[Ti(e)]);var yo=`${oe}-wave-target`;var Ri=(e,o)=>{if(process.env.NODE_ENV!=="production"){let t=parseInt(C.version.split(".")[0],10),n=Object.keys(hi);ee(t<19||n.includes("createRoot"),"compatible","swiftcrab v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.");}return render(e,o),()=>unmount(o)},Mi=Ri;function yr(){return Mi}function st(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Sr(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return st(o)?o:st(t)?t:st(n)?n:null}function lt(e){return Number.isNaN(e)?0:e}var Ii=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,a=C.useRef(null),i=C.useRef(null);C.useEffect(()=>{i.current=r();},[]);let[s,c]=C.useState(null),[l,p]=C.useState([]),[m,d]=C.useState(0),[g,u]=C.useState(0),[h,b]=C.useState(0),[P,E]=C.useState(0),[A,N]=C.useState(false),D={left:m,top:g,width:h,height:P,borderRadius:l.map(v=>`${v}px`).join(" ")};s&&(D["--wave-color"]=s);function B(){let v=getComputedStyle(t);c(Sr(t));let S=v.position==="static",{borderLeftWidth:z,borderTopWidth:f}=v;d(S?t.offsetLeft:lt(-parseFloat(z))),u(S?t.offsetTop:lt(-parseFloat(f))),b(t.offsetWidth),E(t.offsetHeight);let{borderTopLeftRadius:V,borderTopRightRadius:K,borderBottomLeftRadius:ne,borderBottomRightRadius:Y}=v;p([V,K,Y,ne].map(U=>lt(parseFloat(U))));}if(C.useEffect(()=>{if(t){let v=xr(()=>{B(),N(true);}),S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(B),S.observe(t)),()=>{xr.cancel(v),S?.disconnect();}}},[]),!A)return null;let j=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(yo);return C.createElement(ki,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(v,S)=>{if(S.deadline||S.propertyName==="opacity"){let z=a.current?.parentElement;i.current?.().then(()=>{z?.remove();});}return false}},({className:v},S)=>C.createElement("div",{ref:composeRef(a,S),className:Rt(o,v,{"wave-quick":j}),style:D}))},Li=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=yr(),a=null;function i(){return a}a=r(C.createElement(Ii,{...o,target:e,registerUnmount:i}),n);},br=Li;var Ei=(e,o,t)=>{let{wave:n}=C.useContext(x),[,r,a]=w(),i=wi(l=>{let p=e.current;if(n?.disabled||!p)return;let m=p.querySelector(`.${yo}`)||p,{showEffect:d}=n||{};(d||br)(m,{className:o,token:r,component:t,event:l,hashId:a});}),s=C.useRef(null);return l=>{xr.cancel(s.current),s.current=xr(()=>{i(l);});}},hr=Ei;var vr=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(x),a=useRef(null),i=r("wave"),[,s]=ur(i),c=hr(a,Rt(i,s),n);if(C__default.useEffect(()=>{let p=a.current;if(!p||p.nodeType!==1||t)return;let m=d=>{!Ai(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||c(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[t]),!C__default.isValidElement(o))return o??null;let l=supportRef(o)?composeRef(getNodeRef(o),a):a;return pe(o,{ref:l})};process.env.NODE_ENV!=="production"&&(vr.displayName="Wave");var Rr=vr;var Wi=e=>{let o=C__default.useContext(le);return C__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},Ne=Wi;var Fi=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},$r=Fi;var ji=e=>{let{componentCls:o,antCls:t}=e;return {[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Vi=e=>{let{componentCls:o}=e;return {[o]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};ce("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [ji(o),Vi(o),$r(o)]},()=>({}),{resetStyle:false});var Xi=C.createContext(null),kr=(e,o)=>{let t=C.useContext(Xi),n=C.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:a,isLastItem:i}=t,s=r==="vertical"?"-vertical-":"-";return Rt(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}};var ct=C.createContext(void 0),qi=e=>{let{getPrefixCls:o,direction:t}=C.useContext(x),{prefixCls:n,size:r,className:a,...i}=e,s=o("btn-group",n),[,,c]=w(),l="";switch(r){case "large":l="lg";break;case "small":l="sm";break;}process.env.NODE_ENV!=="production"&&k("Button.Group")(!r||["large","small","middle"].includes(r),"usage","Invalid prop `size`.");let p=Rt(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:t==="rtl"},a,c);return C.createElement(ct.Provider,{value:r},C.createElement("div",{...i,className:p}))},Br=qi;var Ir=/^[\u4E00-\u9FA5]{2}$/,xo=Ir.test.bind(Ir);function Lr(e){return typeof e=="string"}function Ge(e){return e==="text"||e==="link"}function Zi(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&Lr(e.type)&&xo(e.props.children)?pe(e,{children:e.props.children.split("").join(t)}):Lr(e)?xo(e)?C__default.createElement("span",null,e.split("").join(t)):C__default.createElement("span",null,e):gr(e)?C__default.createElement("span",null,e):e}function wr(e,o){let t=false,n=[];return C__default.Children.forEach(e,r=>{let a=typeof r,i=a==="string"||a==="number";if(t&&i){let s=n.length-1,c=n[s];n[s]=`${c}${r}`;}else n.push(r);t=i;}),C__default.Children.map(n,r=>Zi(r,o))}var ea=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:a}=e,i=Rt(`${a}-icon`,t);return C__default.createElement("span",{ref:o,className:i,style:n},r)}),bo=ea;var Er=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:a}=e,i=Rt(`${t}-loading-icon`,n);return C__default.createElement(bo,{prefixCls:t,className:i,style:r,ref:o},C__default.createElement(ta,{className:a}))}),pt=()=>({width:0,opacity:0,transform:"scale(0)"}),mt=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),na=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:a,mount:i}=e,s=!!t;return n?C__default.createElement(Er,{prefixCls:o,className:r,style:a}):C__default.createElement(ki,{visible:s,motionName:`${o}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:true,onAppearStart:pt,onAppearActive:mt,onEnterStart:pt,onEnterActive:mt,onLeaveStart:mt,onLeaveActive:pt},({className:c,style:l},p)=>{let m={...a,...l};return C__default.createElement(Er,{prefixCls:o,className:Rt(r,c),style:m,ref:p})})},Or=na;var Hr=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),ia=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,colorErrorHover:a}=e;return {[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(n).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},Hr(`${o}-primary`,r),Hr(`${o}-danger`,a)]}},Ar=ia;var aa=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",sa=(e,o)=>e?aa(e,o):"",Fe=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=o.cleared;return}let t=Array.isArray(o);t&&o.length?(this.colors=o.map(({color:n,percent:r})=>({color:new e(n),percent:r})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(t?"":o),(!o||t&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return sa(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(n=>`${n.color.toRgbString()} ${n.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(o){return !o||this.isGradient()!==o.isGradient()?false:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((t,n)=>{let r=o.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===o.toHexString()}};var dt=()=>({height:0,opacity:0}),Dr=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},la=e=>({height:e?e.offsetHeight:0}),ft=(e,o)=>o?.deadline===true||o.propertyName==="height",ca=(e=oe)=>({motionName:`${e}-motion-collapse`,onAppearStart:dt,onEnterStart:dt,onAppearActive:Dr,onEnterActive:Dr,onLeaveStart:la,onLeaveActive:dt,onAppearEnd:ft,onEnterEnd:ft,onLeaveEnd:ft,motionDeadline:500});var Gr=ca;var da=C.forwardRef((e,o)=>{process.env.NODE_ENV!=="production"&&k("Collapse.Panel").deprecated(!("disabled"in e),"disabled",'collapsible="disabled"');let{getPrefixCls:t}=C.useContext(x),{prefixCls:n,className:r,showArrow:a=true}=e,i=t("collapse",n),s=Rt({[`${i}-no-arrow`]:!a},r);return C.createElement(ma.Panel,{ref:o,...e,prefixCls:i,className:s})}),Wr=da;var fa=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
41
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
42
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),gt=fa;new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});var Va=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:p,colorBorder:m,colorText:d,colorTextHeading:g,colorTextDisabled:u,fontSizeLG:h,lineHeight:b,lineHeightLG:P,marginSM:E,paddingSM:A,paddingLG:N,paddingXS:D,motionDurationSlow:B,fontSizeIcon:j,contentPadding:v,fontHeight:S,fontHeightLG:z}=e,f=`${unit(l)} ${p} ${m}`;return {[o]:{...tr(e),backgroundColor:r,border:f,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:f,"&:last-child":{[`
43
+ &,
44
+ & > ${o}-header`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,color:g,lineHeight:b,cursor:"pointer",transition:`all ${B}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:S,display:"flex",alignItems:"center",paddingInlineEnd:E},[`${o}-arrow`]:{...Ae(),fontSize:j,transition:`transform ${B}`,svg:{transition:`transform ${B}`}},[`${o}-header-text`]:{marginInlineEnd:"auto"}},[`${o}-collapsible-header`]:{cursor:"default",[`${o}-header-text`]:{flex:"none",cursor:"pointer"}},[`${o}-collapsible-icon`]:{cursor:"unset",[`${o}-expand-icon`]:{cursor:"pointer"}}},[`${o}-content`]:{color:d,backgroundColor:t,borderTop:f,[`& > ${o}-content-box`]:{padding:v},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:i,paddingInlineStart:D,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(A).sub(D).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:A}}},"&-large":{[`> ${o}-item`]:{fontSize:h,lineHeight:P,[`> ${o}-header`]:{padding:s,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:z,marginInlineStart:e.calc(N).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:N}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:u,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:E}}}}}}},Ka=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Ua=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
45
+ > ${o}-item:last-child,
46
+ > ${o}-item:last-child ${o}-header
47
+ `]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:n}}}},Xa=e=>{let{componentCls:o,paddingSM:t}=e;return {[`${o}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${o}-item`]:{borderBottom:0,[`> ${o}-content`]:{backgroundColor:"transparent",border:0,[`> ${o}-content-box`]:{paddingBlock:t}}}}}},_a=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),jr=ce("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [Va(o),Ua(o),Xa(o),Ka(o),gt(o)]},_a);var Ur=C.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=C.useContext(x),{prefixCls:a,className:i,rootClassName:s,style:c,bordered:l=true,ghost:p,size:m,expandIconPosition:d="start",children:g,expandIcon:u}=e,h=Ne(f=>m??f??"middle"),b=t("collapse",a),P=t(),[E,A,N]=jr(b);process.env.NODE_ENV!=="production"&&k("Collapse")(d!=="left"&&d!=="right","deprecated","`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.");let D=C.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),B=u??r?.expandIcon,j=C.useCallback((f={})=>{let V=typeof B=="function"?B(f):C.createElement(qa,{rotate:f.isActive?90:void 0,"aria-label":f.isActive?"expanded":"collapsed"});return pe(V,()=>({className:Rt(V?.props?.className,`${b}-arrow`)}))},[B,b]),v=Rt(`${b}-icon-position-${D}`,{[`${b}-borderless`]:!l,[`${b}-rtl`]:n==="rtl",[`${b}-ghost`]:!!p,[`${b}-${h}`]:h!=="middle"},r?.className,i,s,A,N),S={...Gr(P),motionAppear:false,leavedClassName:`${b}-content-hidden`},z=C.useMemo(()=>g?Qa(g).map((f,V)=>{let K=f.props;if(K?.disabled){let ne=f.key??String(V),Y={...Kr(f.props,["disabled"]),key:ne,collapsible:K.collapsible??"disabled"};return pe(f,Y)}return f}):null,[g]);return E(C.createElement(ma,{ref:o,openMotion:S,...Kr(e,["rootClassName"]),expandIcon:j,prefixCls:b,className:v,style:{...r?.style,...c}},z))});process.env.NODE_ENV!=="production"&&(Ur.displayName="Collapse");Object.assign(Ur,{Panel:Wr});var Xr=(e,o)=>{let{r:t,g:n,b:r,a}=e.toRgb(),i=new Color(e.toRgbString()).onBackground(o).toHsv();return a<=.5?i.v>.5:t*.299+n*.587+r*.114>192};var To=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},ho=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??Se(o),a=e.contentLineHeightSM??Se(t),i=e.contentLineHeightLG??Se(n),s=Xr(new Fe(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:a,contentLineHeightLG:i,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*i)/2-e.lineWidth,0)}};var es=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:a,motionEaseInOut:i,marginXS:s,calc:c}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:Ae(),"> a":{color:"currentColor"},"&:not(:disabled)":ir(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(l=>`${l} ${a} ${i}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},_r=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),os=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ts=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),rs=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),yt=(e,o,t,n,r,a,i,s)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",..._r(e,{background:o,...i},{background:o,...s}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:a||void 0}}}),ns=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...rs(e)}}),is=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),Po=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?is:ns)(e),..._r(e.componentCls,o,t)}),St=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...Po(e,n,r)}}),xt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...Po(e,n,r)}}),bt=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),Tt=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...Po(e,t,n)}}),ve=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...Po(e,n,r,t)}}),as=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...St(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...bt(e),...Tt(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...ve(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...yt(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),ss=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...xt(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...bt(e),...Tt(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...ve(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...yt(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),ls=e=>({color:e.colorError,boxShadow:e.dangerShadow,...St(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...xt(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...bt(e),...Tt(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...ve(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...ve(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...yt(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),cs=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:as(e),[`${o}-color-primary`]:ss(e),[`${o}-color-dangerous`]:ls(e)}},ps=e=>({...xt(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...ve(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...St(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...ve(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),ht=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:a,buttonPaddingHorizontal:i,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(i)}`,borderRadius:a,[`&${t}-icon-only`]:{width:n,[s]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:os(e)},{[`${t}${t}-round${o}`]:ts(e)}]},ms=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return ht(o,e.componentCls)},ds=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return ht(o,`${e.componentCls}-sm`)},fs=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return ht(o,`${e.componentCls}-lg`)},gs=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},qr=ce("Button",e=>{let o=To(e);return [es(o),ms(o),ds(o),fs(o),gs(o),cs(o),ps(o),Ar(o)]},ho,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function us(e,o,t){let{focusElCls:n,focus:r,borderElCls:a}=t,i=a?"> *":"",s=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[s]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function Cs(e,o,t){let{borderElCls:n}=t,r=n?`> ${n}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Zr(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...us(e,n,o),...Cs(t,n,o)}}}function ys(e,o){return {[`&-item:not(${o}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ss(e,o){return {[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Qr(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...ys(e,o),...Ss(e.componentCls,o)}}}var xs=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,a=r(n).mul(-1).equal(),i=s=>({[`${o}-compact${s?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:t,content:'""',width:s?"100%":n,height:s?n:"100%"}}});return {...i(),...i(true)}},Yr=rt(["Button","compact"],e=>{let o=To(e);return [Zr(o),Qr(o),xs(o)]},ho);function Ps(e){if(typeof e=="object"&&e){let o=e?.delay;return o=!Number.isNaN(o)&&typeof o=="number"?o:0,{loading:o<=0,delay:o}}return {loading:!!e,delay:0}}var vs={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},Rs=C__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:a,type:i,danger:s=false,shape:c="default",size:l,styles:p,disabled:m,className:d,rootClassName:g,children:u,icon:h,iconPosition:b="start",ghost:P=false,block:E=false,htmlType:A="button",classNames:N,style:D={},autoInsertSpace:B,autoFocus:j,...v}=e,S=i||"default",[z,f]=useMemo(()=>{if(r&&a)return [r,a];let T=vs[S]||[];return s?["danger",T[1]]:T},[i,r,a,s]),K=z==="danger"?"dangerous":z,{getPrefixCls:ne,direction:Y,button:U}=useContext(x),Re=B??U?.autoInsertSpace??true,y=ne("btn",n),[je,Ro,Mo]=qr(y),$o=useContext(co),J=m??$o,ko=useContext(ct),ie=useMemo(()=>Ps(t),[t]),[G,Ve]=useState(ie.loading),[Me,Ke]=useState(false),ae=useRef(null),Ue=useComposeRef(o,ae),Xe=Children.count(u)===1&&!h&&!Ge(f),$e=useRef(true);C__default.useEffect(()=>($e.current=false,()=>{$e.current=true;}),[]),useEffect(()=>{let T=null;ie.delay>0?T=setTimeout(()=>{T=null,Ve(true);},ie.delay):Ve(ie.loading);function zo(){T&&(clearTimeout(T),T=null);}return zo},[ie]),useEffect(()=>{if(!ae.current||!Re)return;let T=ae.current.textContent||"";Xe&&xo(T)?Me||Ke(true):Me&&Ke(false);}),useEffect(()=>{j&&ae.current&&ae.current.focus();},[]);let _e=C__default.useCallback(T=>{if(G||J){T.preventDefault();return}e.onClick?.(T);},[e.onClick,G,J]);if(process.env.NODE_ENV!=="production"){let T=k("Button");T(!(typeof h=="string"&&h.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${h}\` at https://ant.design/components/icon`),T(!(P&&Ge(f)),"usage","`link` or `text` button can't be a `ghost` button.");}let{compactSize:Bo,compactItemClassnames:qe}=kr(y,Y),Io={large:"lg",small:"sm",middle:void 0},Ze=Ne(T=>l??Bo??ko??T),Qe=Ze?Io[Ze]??"":"",Lo=G?"loading":h,ke=Kr(v,["navigate"]),Ye=Rt(y,Ro,Mo,{[`${y}-${c}`]:c!=="default"&&c,[`${y}-${S}`]:S,[`${y}-dangerous`]:s,[`${y}-color-${K}`]:K,[`${y}-variant-${f}`]:f,[`${y}-${Qe}`]:Qe,[`${y}-icon-only`]:!u&&u!==0&&!!Lo,[`${y}-background-ghost`]:P&&!Ge(f),[`${y}-loading`]:G,[`${y}-two-chinese-chars`]:Me&&Re&&!G,[`${y}-block`]:E,[`${y}-rtl`]:Y==="rtl",[`${y}-icon-end`]:b==="end"},qe,d,g,U?.className),Je={...U?.style,...D},wo=Rt(N?.icon,U?.classNames?.icon),Eo={...p?.icon||{},...U?.styles?.icon||{}},eo=h&&!G?C__default.createElement(bo,{prefixCls:y,className:wo,style:Eo},h):C__default.createElement(Or,{existIcon:!!h,prefixCls:y,loading:G,mount:$e.current}),oo=u||u===0?wr(u,Xe&&Re):null;if(ke.href!==void 0)return je(C__default.createElement("a",{...ke,className:Rt(Ye,{[`${y}-disabled`]:J}),href:J?void 0:ke.href,style:Je,onClick:_e,ref:Ue,tabIndex:J?-1:0},eo,oo));let Be=C__default.createElement("button",{...v,type:A,className:Ye,style:Je,onClick:_e,disabled:J,ref:Ue},eo,oo,qe&&C__default.createElement(Yr,{prefixCls:y}));return Ge(f)||(Be=C__default.createElement(Rr,{component:"Button",disabled:G},Be)),je(Be)}),vo=Rs;vo.Group=Br;vo.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(vo.displayName="Button");var tn=vo;var rn=tn;var Mt=C__default.createContext({}),{Provider:Df}=Mt;var Bs=()=>{let{cancelButtonProps:e,cancelTextLocale:o,onCancel:t}=useContext(Mt);return C__default.createElement(rn,{onClick:t,...e},o)},Vf=Bs;
48
+ export{Vf as default};
@@ -0,0 +1,8 @@
1
+ import type { FC } from 'react';
2
+ import React from 'react';
3
+ import type { ModalProps } from '../interface';
4
+ export interface NormalOkBtnProps extends Pick<ModalProps, 'confirmLoading' | 'okType' | 'okButtonProps' | 'onOk'> {
5
+ okTextLocale?: React.ReactNode;
6
+ }
7
+ declare const NormalOkBtn: FC;
8
+ export default NormalOkBtn;