@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,70 @@
1
+ import*as $ from'react';import $__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import St from'classnames';import {Panel}from'rc-dialog';import'rc-util/lib/hooks/useMergedState';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import al from'@ant-design/icons/lib/components/Context';import rl from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import ua,{resetWarned}from'rc-util/lib/warning';import Pa from'rc-pagination/lib/locale/en_US';import ba from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Ha from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import nl from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import Nl,{Provider}from'rc-motion';import $p from'@ant-design/icons/CheckCircleFilled';import kp from'@ant-design/icons/CloseCircleFilled';import Mp from'@ant-design/icons/ExclamationCircleFilled';import Ip from'@ant-design/icons/InfoCircleFilled';import Sc from'rc-util/lib/hooks/useState';import Si from'rc-util/lib/omit';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import jl from'rc-util/lib/Dom/isVisible';import Al from'rc-util/lib/hooks/useEvent';import Nn from'rc-util/lib/raf';import*as Ml from'react-dom';import {unmount,render}from'rc-util/lib/React/render';import js from'rc-util/lib/Children/toArray';import ls from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import Gs from'@ant-design/icons/RightOutlined';import gs from'rc-collapse';import Mc from'@ant-design/icons/CloseOutlined';import'rc-field-form';import'rc-util/lib/pickAttrs';import'rc-util/lib/Dom/styleChecker';function Gr(){}var re=null;function ya(){re=null,resetWarned();}var kt=Gr;process.env.NODE_ENV!=="production"&&(kt=(e,o,t)=>{ua(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&ya();});var Mt=$.createContext({}),B=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=$.useContext(Mt),t=(n,r,i)=>{if(!n)if(o===false&&r==="deprecated"){let a=re;re||(re={}),re[e]=re[e]||[],re[e].includes(i||"")||re[e].push(i||""),a||console.warn("[swiftcrab] There exists deprecated usage in your code:",re);}else kt(n,e,i);};return t.deprecated=(n,r,i,a)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${i}\` instead.${a?` ${a}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=Gr,e},ge=kt;var Wr=createContext(void 0);var xa={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Ao=xa;var ha={lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],...ba},timePickerLocale:{...Ao}},Fo=ha;var jr=Fo;var j="${label} is not a valid ${type}",Ta={locale:"en",Pagination:Pa,DatePicker:Fo,TimePicker:Ao,Calendar:jr,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",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:j,method:j,array:j,object:j,number:j,date:j,boolean:j,integer:j,float:j,regexp:j,email:j,url:j,hex:j},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}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},ne=Ta;var Do={...ne.Modal},Go=[],Vr=()=>Go.reduce((e,o)=>({...e,...o}),ne.Modal);function Ur(e){if(e){let o={...e};return Go.push(o),Do=Vr(),()=>{Go=Go.filter(t=>t!==o),Do=Vr();}}Do={...ne.Modal};}function Xr(){return Do}var Ra=createContext(void 0),Oe=Ra;var $a=(e,o)=>{let t=$.useContext(Oe),n=$.useMemo(()=>{let i=o||ne[e],a=t?.[e]??{};return {...typeof i=="function"?i():i,...a||{}}},[e,o,t]),r=$.useMemo(()=>{let i=t?.locale;return t?.exist&&!i?ne.locale:i},[t]);return [n,r]},He=$a;var It="internalMark",Kr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&B("LocaleProvider")(n===It,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),$.useEffect(()=>Ur(o?.Modal),[o]);let r=$.useMemo(()=>({...o,exist:true}),[o]);return $.createElement(Oe.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(Kr.displayName="LocaleProvider");var _r=Kr;var Bt={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"},ka={...Bt,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},ie=ka;function Lt(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:i,colorInfo:a,colorPrimary:l,colorBgBase:s,colorTextBase:p}=e,c=o(l),m=o(n),d=o(r),g=o(i),u=o(a),f=t(s,p),x=e.colorLink||e.colorInfo,b=o(x),C=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...f,colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[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:C,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:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Ma=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}},qr=Ma;function Et(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,...qr(n)}}var Ia=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Zr=Ia;function Fe(e){return (e+8)/e}function Nt(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,i=e*Math.E**(r/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:Fe(t)}))}var Ba=e=>{let o=Nt(e),t=o.map(c=>c.size),n=o.map(c=>c.lineHeight),r=t[1],i=t[0],a=t[2],l=n[1],s=n[0],p=n[2];return {fontSizeSM:i,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:l,lineHeightLG:p,lineHeightSM:s,fontHeight:Math.round(l*r),fontHeightLG:Math.round(p*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Qr=Ba;function zt(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 V=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),De=(e,o)=>new TinyColor(e).darken(o).toHexString();var Jr=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]}},en=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:V(n,.88),colorTextSecondary:V(n,.65),colorTextTertiary:V(n,.45),colorTextQuaternary:V(n,.25),colorFill:V(n,.15),colorFillSecondary:V(n,.06),colorFillTertiary:V(n,.04),colorFillQuaternary:V(n,.02),colorBgSolid:V(n,1),colorBgSolidHover:V(n,.75),colorBgSolidActive:V(n,.95),colorBgLayout:De(t,4),colorBgContainer:De(t,0),colorBgElevated:De(t,0),colorBgSpotlight:V(n,.85),colorBgBlur:"transparent",colorBorder:De(t,15),colorBorderSecondary:De(t,6)}};function At(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Bt).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Lt(e,{generateColorPalettes:Jr,generateNeutralColorPalettes:en}),...Qr(e.fontSize),...zt(e),...Zr(e),...Et(e)}}var Wo=createTheme(At),lo={token:ie,override:{override:ie},hashed:true},so=$__default.createContext(lo);var ue="ant",co="anticon";var za=(e,o)=>o||(e?`${ue}-${e}`:ue),y=$.createContext({getPrefixCls:za,iconPrefixCls:co}),{Consumer:Oa}=y;var Fa=`-ant-${Date.now()}-${Math.random()}`;function Da(e,o){let t={},n=(a,l)=>{let s=a.clone();return s=l?.(s)||s,s.toRgbString()},r=(a,l)=>{let s=new TinyColor(a),p=generate(s.toRgbString());t[`${l}-color`]=n(s),t[`${l}-color-disabled`]=p[1],t[`${l}-color-hover`]=p[4],t[`${l}-color-active`]=p[6],t[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),t[`${l}-color-deprecated-bg`]=p[0],t[`${l}-color-deprecated-border`]=p[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),l=generate(a.toRgbString());l.forEach((p,c)=>{t[`primary-${c+1}`]=p;}),t["primary-color-deprecated-l-35"]=n(a,p=>p.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,p=>p.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,p=>p.tint(20)),t["primary-color-deprecated-t-50"]=n(a,p=>p.tint(50)),t["primary-color-deprecated-f-12"]=n(a,p=>p.setAlpha(p.getAlpha()*.12));let s=new TinyColor(l[0]);t["primary-color-active-deprecated-f-30"]=n(s,p=>p.setAlpha(p.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(s,p=>p.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(a=>`--${e}-${a}: ${t[a]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function rn(e,o){let t=Da(e,o);Ha()?updateCSS(t,`${Fa}-dynamic-theme`):ge(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Dt=$.createContext(false),jo=({children:e,disabled:o})=>{let t=$.useContext(Dt);return $.createElement(Dt.Provider,{value:o??t},e)},Vo=Dt;var Gt=$.createContext(void 0),nn=({children:e,size:o})=>{let t=$.useContext(Gt);return $.createElement(Gt.Provider,{value:o||t},e)},ve=Gt;function Ga(){let e=useContext(Vo),o=useContext(ve);return {componentDisabled:e,componentSize:o}}var ln=Ga;var cn={version:"0.0.2"};var pn=cn.version;function Wt(e){return e>=0&&e<=255}function ja(e,o){let{r:t,g:n,b:r,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:l,b:s}=new TinyColor(o).toRgb();for(let p=.01;p<=1;p+=.01){let c=Math.round((t-a*(1-p))/p),m=Math.round((n-l*(1-p))/p),d=Math.round((r-s*(1-p))/p);if(Wt(c)&&Wt(m)&&Wt(d))return new TinyColor({r:c,g:m,b:d,a:Math.round(p*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var po=ja;function Xo(e){let{override:o,...t}=e,n={...o};Object.keys(ie).forEach(d=>{delete n[d];});let r={...t,...n},i=480,a=576,l=768,s=992,p=1200,c=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:po(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:po(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:po(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:po(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:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:p-1,screenXL:p,screenXLMin:p,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,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 Vt={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},Xa={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},Ka={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},mn=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...i}=o,a={...n,override:r};return a=Xo(a),i&&Object.entries(i).forEach(([l,s])=>{let{theme:p,...c}=s,m=c;p&&(m=mn({...a,...c},{override:c},p)),a[l]=m;}),a};function N(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=$__default.useContext(so),i=`${pn}-${o||""}`,a=t||Wo,[l,s,p]=useCacheToken(a,[ie,e],{salt:i,override:n,getComputedToken:mn,formatToken:Xo,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Vt,ignore:Xa,preserve:Ka}});return [a,p,o?s:"",l,r]}var Ko=(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}),mo=()=>({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"}}),dn=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),fn=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"}}}),gn=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return n!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...l,...a,[r]:a}}},qa=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),_o=e=>({"&:focus-visible":{...qa(e)}}),qo=e=>({[`.${e}`]:{...mo(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Y,genComponentStyleHook:Ut,genSubStyleComponent:fo}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(y);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=N();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(y);return e??{}},getResetStyles:(e,o)=>[{"&":fn(e)},qo(o?.prefix.iconPrefixCls??co)],getCommonStyle:gn,getCompUnitless:(()=>Vt)});var Ya=(e,o)=>{let[t,n]=N();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[qo(e)])},Zo=Ya;var el={...$},{useId:Cn}=el,ol=()=>"",tl=typeof Cn>"u"?ol:Cn,yn=tl;function Xt(e,o,t){let n=B("ConfigProvider"),r=e||{},i=r.inherit===false||!o?{...lo,hashed:o?.hashed??lo.hashed,cssVar:o?.cssVar}:o,a=yn();if(process.env.NODE_ENV!=="production"){let l=r.cssVar||i.cssVar,s=!!(typeof r.cssVar=="object"&&r.cssVar?.key||a);n(!l||s,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return rl(()=>{if(!e)return o;let l={...i.components};Object.keys(e.components||{}).forEach(c=>{l[c]={...l[c],...e.components[c]};});let s=`css-var-${a.replace(/:/g,"")}`,p=(r.cssVar??i.cssVar)&&{prefix:t?.prefixCls,...typeof i.cssVar=="object"?i.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||s};return {...i,...r,token:{...i.token,...r.token},components:l,cssVar:p}},[r,i],(l,s)=>l.some((p,c)=>{let m=s[c];return !nl(p,m,true)}))}function Kt(e){let{children:o}=e,[,t]=N(),{motion:n}=t,r=$.useRef(false);return r.current=r.current||n===false,r.current?$.createElement(Provider,{motion:n},o):o}var xn=$.memo(({dropdownMatchSelectWidth:e})=>(B("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(xn.displayName="PropWarning");var bn=process.env.NODE_ENV!=="production"?xn:()=>null;var _t=false;process.env.NODE_ENV!=="production"?e=>{ge(!_t,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var cl=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Pn;function fl(){return Pn||ue}function gl(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var ul=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Pn=o),n&&(gl(n)?(ge(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),rn(fl(),n)):n);};var Cl=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:i,form:a,locale:l,componentSize:s,direction:p,space:c,splitter:m,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:u,popupOverflow:f,legacyLocale:x,parentContext:b,iconPrefixCls:C,theme:S,componentDisabled:v,segmented:I,statistic:R,spin:E,calendar:P,carousel:T,cascader:w,collapse:h,typography:D,checkbox:G,descriptions:Z,divider:J,drawer:U,skeleton:fe,steps:k,image:we,layout:Qe,list:Ye,mentions:Q,modal:F,progress:Je,result:Pe,slider:ee,breadcrumb:To,menu:eo,pagination:vo,input:Te,textArea:Ro,empty:$o,badge:oo,radio:ko,rate:xt,switch:Mo,transfer:bt,avatar:Io,message:Bo,tag:ht,table:to,card:wo,tabs:Lo,timeline:Pt,timePicker:Tt,upload:Eo,notification:No,tree:ro,colorPicker:L,datePicker:vt,rangePicker:ta,flex:ra,wave:na,dropdown:ia,warning:aa,tour:la,variant:sa,inputNumber:ca,treeSelect:pa}=e,Hr=$.useCallback((O,oe)=>{let{prefixCls:Ne}=e;if(oe)return oe;let ze=Ne||b.getPrefixCls("");return O?`${ze}-${O}`:ze},[b.getPrefixCls,e.prefixCls]),no=C||b.iconPrefixCls||co,io=t||b.csp;Zo(no,io);let zo=Xt(S,b.theme,{prefixCls:Hr("")});process.env.NODE_ENV!=="production"&&(_t=_t||!!zo);let Rt={csp:io,autoInsertSpaceInButton:n,alert:r,anchor:i,locale:l||x,direction:p,space:c,splitter:m,virtual:d,popupMatchSelectWidth:u??g,popupOverflow:f,getPrefixCls:Hr,iconPrefixCls:no,theme:zo,segmented:I,statistic:R,spin:E,calendar:P,carousel:T,cascader:w,collapse:h,typography:D,checkbox:G,descriptions:Z,divider:J,drawer:U,skeleton:fe,steps:k,image:we,input:Te,textArea:Ro,layout:Qe,list:Ye,mentions:Q,modal:F,progress:Je,result:Pe,slider:ee,breadcrumb:To,menu:eo,pagination:vo,empty:$o,badge:oo,radio:ko,rate:xt,switch:Mo,transfer:bt,avatar:Io,message:Bo,tag:ht,table:to,card:wo,tabs:Lo,timeline:Pt,timePicker:Tt,upload:Eo,notification:No,tree:ro,colorPicker:L,datePicker:vt,rangePicker:ta,flex:ra,wave:na,dropdown:ia,warning:aa,tour:la,variant:sa,inputNumber:ca,treeSelect:pa};process.env.NODE_ENV!=="production"&&B("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let Le={...b};Object.keys(Rt).forEach(O=>{Rt[O]!==void 0&&(Le[O]=Rt[O]);}),cl.forEach(O=>{let oe=e[O];oe&&(Le[O]=oe);}),typeof n<"u"&&(Le.button={autoInsertSpace:n,...Le.button});let Ee=rl(()=>Le,Le,(O,oe)=>{let Ne=Object.keys(O),ze=Object.keys(oe);return Ne.length!==ze.length||Ne.some(Oo=>O[Oo]!==oe[Oo])}),ma=$.useMemo(()=>({prefixCls:no,csp:io}),[no,io]),A=$.createElement($.Fragment,null,$.createElement(bn,{dropdownMatchSelectWidth:g}),o),Ar=$.useMemo(()=>merge(ne.Form?.defaultValidateMessages||{},Ee.locale?.Form?.defaultValidateMessages||{},Ee.form?.validateMessages||{},a?.validateMessages||{}),[Ee,a?.validateMessages]);Object.keys(Ar).length>0&&(A=$.createElement(Wr.Provider,{value:Ar},A)),l&&(A=$.createElement(_r,{locale:l,_ANT_MARK__:It},A)),(A=$.createElement(al.Provider,{value:ma},A)),s&&(A=$.createElement(nn,{size:s},A)),A=$.createElement(Kt,null,A);let da=$.useMemo(()=>{let{algorithm:O,token:oe,components:Ne,cssVar:ze,...Oo}=zo||{},Fr=O&&(!Array.isArray(O)||O.length>0)?createTheme(O):Wo,$t={};Object.entries(Ne||{}).forEach(([fa,ga])=>{let te={...ga};"algorithm"in te&&(te.algorithm===true?te.theme=Fr:(Array.isArray(te.algorithm)||typeof te.algorithm=="function")&&(te.theme=createTheme(te.algorithm)),delete te.algorithm),$t[fa]=te;});let Dr={...ie,...oe};return {...Oo,theme:Fr,token:Dr,components:$t,override:{override:Dr,...$t},cssVar:ze}},[zo]);return S&&(A=$.createElement(so.Provider,{value:da},A)),Ee.warning&&(A=$.createElement(Mt.Provider,{value:Ee.warning},A)),v!==void 0&&(A=$.createElement(jo,{disabled:v},A)),$.createElement(y.Provider,{value:Ee},A)},Re=e=>{let o=$.useContext(y),t=$.useContext(Oe);return $.createElement(Cl,{parentContext:o,legacyLocale:t,...e})};Re.ConfigContext=y;Re.SizeContext=ve;Re.config=ul;Re.useConfig=ln;Object.defineProperty(Re,"SizeContext",{get:()=>(ge(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),ve)});process.env.NODE_ENV!=="production"&&(Re.displayName="ConfigProvider");var Yo=Re;function Tn(e){return o=>$.createElement(Yo,{theme:{token:{motion:false,zIndexPopupBase:0}}},$.createElement(e,{...o}))}var yl=e=>{let[,,,,o]=N();return o?`${e}-css-var`:""},Jo=yl;var vn=$__default.createContext(void 0);process.env.NODE_ENV!=="production"&&(vn.displayName="zIndexContext");var Zt=()=>({height:0,opacity:0}),kn=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},vl=e=>({height:e?e.offsetHeight:0}),Qt=(e,o)=>o?.deadline===true||o.propertyName==="height",Rl=(e=ue)=>({motionName:`${e}-motion-collapse`,onAppearStart:Zt,onEnterStart:Zt,onAppearActive:kn,onEnterActive:kn,onLeaveStart:vl,onLeaveActive:Zt,onAppearEnd:Qt,onEnterEnd:Qt,onLeaveEnd:Qt,motionDeadline:500});var Mn=Rl;function In(e){return e&&$__default.isValidElement(e)&&e.type===$__default.Fragment}var $l=(e,o,t)=>$__default.isValidElement(e)?$__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function ke(e,o){return $l(e,e,o)}var kl=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(",")}}}}},Bn=Ut("Wave",e=>[kl(e)]);var tt=`${ue}-wave-target`;var wl=(e,o)=>{if(process.env.NODE_ENV!=="production"){let t=parseInt($.version.split(".")[0],10),n=Object.keys(Ml);ge(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)},Ll=wl;function Ln(){return Ll}function Yt(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 En(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return Yt(o)?o:Yt(t)?t:Yt(n)?n:null}function Jt(e){return Number.isNaN(e)?0:e}var Ol=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,i=$.useRef(null),a=$.useRef(null);$.useEffect(()=>{a.current=r();},[]);let[l,s]=$.useState(null),[p,c]=$.useState([]),[m,d]=$.useState(0),[g,u]=$.useState(0),[f,x]=$.useState(0),[b,C]=$.useState(0),[S,v]=$.useState(false),I={left:m,top:g,width:f,height:b,borderRadius:p.map(P=>`${P}px`).join(" ")};l&&(I["--wave-color"]=l);function R(){let P=getComputedStyle(t);s(En(t));let T=P.position==="static",{borderLeftWidth:w,borderTopWidth:h}=P;d(T?t.offsetLeft:Jt(-parseFloat(w))),u(T?t.offsetTop:Jt(-parseFloat(h))),x(t.offsetWidth),C(t.offsetHeight);let{borderTopLeftRadius:D,borderTopRightRadius:G,borderBottomLeftRadius:Z,borderBottomRightRadius:J}=P;c([D,G,J,Z].map(U=>Jt(parseFloat(U))));}if($.useEffect(()=>{if(t){let P=Nn(()=>{R(),v(true);}),T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(R),T.observe(t)),()=>{Nn.cancel(P),T?.disconnect();}}},[]),!S)return null;let E=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(tt);return $.createElement(Nl,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(P,T)=>{if(T.deadline||T.propertyName==="opacity"){let w=i.current?.parentElement;a.current?.().then(()=>{w?.remove();});}return false}},({className:P},T)=>$.createElement("div",{ref:composeRef(i,T),className:St(o,P,{"wave-quick":E}),style:I}))},Hl=(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=Ln(),i=null;function a(){return i}i=r($.createElement(Ol,{...o,target:e,registerUnmount:a}),n);},zn=Hl;var Fl=(e,o,t)=>{let{wave:n}=$.useContext(y),[,r,i]=N(),a=Al(p=>{let c=e.current;if(n?.disabled||!c)return;let m=c.querySelector(`.${tt}`)||c,{showEffect:d}=n||{};(d||zn)(m,{className:o,token:r,component:t,event:p,hashId:i});}),l=$.useRef(null);return p=>{Nn.cancel(l.current),l.current=Nn(()=>{a(p);});}},Hn=Fl;var Fn=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(y),i=useRef(null),a=r("wave"),[,l]=Bn(a),s=Hn(i,St(a,l),n);if($__default.useEffect(()=>{let c=i.current;if(!c||c.nodeType!==1||t)return;let m=d=>{!jl(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s(d);};return c.addEventListener("click",m,true),()=>{c.removeEventListener("click",m,true);}},[t]),!$__default.isValidElement(o))return o??null;let p=supportRef(o)?composeRef(getNodeRef(o),i):i;return ke(o,{ref:p})};process.env.NODE_ENV!=="production"&&(Fn.displayName="Wave");var Dn=Fn;var Kl=e=>{let o=$__default.useContext(ve);return $__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},go=Kl;var _l=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Wn=_l;var ql=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"}}}},Zl=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}}}};Y("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [ql(o),Zl(o),Wn(o)]},()=>({}),{resetStyle:false});var jn=$.createContext(null),Vn=(e,o)=>{let t=$.useContext(jn),n=$.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:i,isLastItem:a}=t,l=r==="vertical"?"-vertical-":"-";return St(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}};var er=$.createContext(void 0),es=e=>{let{getPrefixCls:o,direction:t}=$.useContext(y),{prefixCls:n,size:r,className:i,...a}=e,l=o("btn-group",n),[,,s]=N(),p="";switch(r){case "large":p="lg";break;case "small":p="sm";break;}process.env.NODE_ENV!=="production"&&B("Button.Group")(!r||["large","small","middle"].includes(r),"usage","Invalid prop `size`.");let c=St(l,{[`${l}-${p}`]:p,[`${l}-rtl`]:t==="rtl"},i,s);return $.createElement(er.Provider,{value:r},$.createElement("div",{...a,className:c}))},Xn=es;var Kn=/^[\u4E00-\u9FA5]{2}$/,nt=Kn.test.bind(Kn);function it(e){return e==="danger"?{danger:true}:{type:e}}function _n(e){return typeof e=="string"}function Co(e){return e==="text"||e==="link"}function os(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&_n(e.type)&&nt(e.props.children)?ke(e,{children:e.props.children.split("").join(t)}):_n(e)?nt(e)?$__default.createElement("span",null,e.split("").join(t)):$__default.createElement("span",null,e):In(e)?$__default.createElement("span",null,e):e}function qn(e,o){let t=false,n=[];return $__default.Children.forEach(e,r=>{let i=typeof r,a=i==="string"||i==="number";if(t&&a){let l=n.length-1,s=n[l];n[l]=`${s}${r}`;}else n.push(r);t=a;}),$__default.Children.map(n,r=>os(r,o))}var is=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:i}=e,a=St(`${i}-icon`,t);return $__default.createElement("span",{ref:o,className:a,style:n},r)}),at=is;var Zn=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:i}=e,a=St(`${t}-loading-icon`,n);return $__default.createElement(at,{prefixCls:t,className:a,style:r,ref:o},$__default.createElement(ls,{className:i}))}),or=()=>({width:0,opacity:0,transform:"scale(0)"}),tr=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),cs=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:i,mount:a}=e,l=!!t;return n?$__default.createElement(Zn,{prefixCls:o,className:r,style:i}):$__default.createElement(Nl,{visible:l,motionName:`${o}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:true,onAppearStart:or,onAppearActive:tr,onEnterStart:or,onEnterActive:tr,onLeaveStart:tr,onLeaveActive:or},({className:s,style:p},c)=>{let m={...i,...p};return $__default.createElement(Zn,{prefixCls:o,className:St(r,s),style:m,ref:c})})},Yn=cs;var Jn=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),ps=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,colorErrorHover:i}=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}},Jn(`${o}-primary`,r),Jn(`${o}-danger`,i)]}},ei=ps;var ms=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",ds=(e,o)=>e?ms(e,o):"",So=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 ds(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 us=$.forwardRef((e,o)=>{process.env.NODE_ENV!=="production"&&B("Collapse.Panel").deprecated(!("disabled"in e),"disabled",'collapsible="disabled"');let{getPrefixCls:t}=$.useContext(y),{prefixCls:n,className:r,showArrow:i=true}=e,a=t("collapse",n),l=St({[`${a}-no-arrow`]:!i},r);return $.createElement(gs.Panel,{ref:o,...e,prefixCls:a,className:l})}),ti=us;var Cs=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`}}}),rr=Cs;var ys=e=>({animationDuration:e,animationFillMode:"both"}),Ss=e=>({animationDuration:e,animationFillMode:"both"}),Ue=(e,o,t,n,r=false)=>{let i=r?"&":"";return {[`
43
+ ${i}${e}-enter,
44
+ ${i}${e}-appear
45
+ `]:{...ys(n),animationPlayState:"paused"},[`${i}${e}-leave`]:{...Ss(n),animationPlayState:"paused"},[`
46
+ ${i}${e}-enter${e}-enter-active,
47
+ ${i}${e}-appear${e}-appear-active
48
+ `]:{animationName:o,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:t,animationPlayState:"running",pointerEvents:"none"}}};var ni=new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),ii=new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),nr=(e,o=false)=>{let{antCls:t}=e,n=`${t}-fade`,r=o?"&":"";return [Ue(n,ni,ii,e.motionDurationMid,o),{[`
49
+ ${r}${n}-enter,
50
+ ${r}${n}-appear
51
+ `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${n}-leave`]:{animationTimingFunction:"linear"}}]};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}});var ai=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),li=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ir=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),ar=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),si=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),ci=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),pi=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),mi=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),di=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),fi=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),gi=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ui=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),zs={zoom:{inKeyframes:ai,outKeyframes:li},"zoom-big":{inKeyframes:ir,outKeyframes:ar},"zoom-big-fast":{inKeyframes:ir,outKeyframes:ar},"zoom-left":{inKeyframes:pi,outKeyframes:mi},"zoom-right":{inKeyframes:di,outKeyframes:fi},"zoom-up":{inKeyframes:si,outKeyframes:ci},"zoom-down":{inKeyframes:gi,outKeyframes:ui}},lr=(e,o)=>{let{antCls:t}=e,n=`${t}-${o}`,{inKeyframes:r,outKeyframes:i}=zs[o];return [Ue(n,r,i,e.motionDurationMid),{[`
52
+ ${n}-enter,
53
+ ${n}-appear
54
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var Os=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:p,lineType:c,colorBorder:m,colorText:d,colorTextHeading:g,colorTextDisabled:u,fontSizeLG:f,lineHeight:x,lineHeightLG:b,marginSM:C,paddingSM:S,paddingLG:v,paddingXS:I,motionDurationSlow:R,fontSizeIcon:E,contentPadding:P,fontHeight:T,fontHeightLG:w}=e,h=`${unit(p)} ${c} ${m}`;return {[o]:{...Ko(e),backgroundColor:r,border:h,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:h,"&:last-child":{[`
55
+ &,
56
+ & > ${o}-header`]:{borderRadius:`0 0 ${unit(s)} ${unit(s)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:g,lineHeight:x,cursor:"pointer",transition:`all ${R}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:C},[`${o}-arrow`]:{...mo(),fontSize:E,transition:`transform ${R}`,svg:{transition:`transform ${R}`}},[`${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:h,[`& > ${o}-content-box`]:{padding:P},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:a,paddingInlineStart:I,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(S).sub(I).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:S}}},"&-large":{[`> ${o}-item`]:{fontSize:f,lineHeight:b,[`> ${o}-header`]:{padding:l,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:w,marginInlineStart:e.calc(v).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:v}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(s)} ${unit(s)}`}},[`& ${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:C}}}}}}},Hs=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},As=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
57
+ > ${o}-item:last-child,
58
+ > ${o}-item:last-child ${o}-header
59
+ `]:{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}}}},Fs=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}}}}}},Ds=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Ci=Y("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [Os(o),As(o),Fs(o),Hs(o),rr(o)]},Ds);var xi=$.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=$.useContext(y),{prefixCls:i,className:a,rootClassName:l,style:s,bordered:p=true,ghost:c,size:m,expandIconPosition:d="start",children:g,expandIcon:u}=e,f=go(h=>m??h??"middle"),x=t("collapse",i),b=t(),[C,S,v]=Ci(x);process.env.NODE_ENV!=="production"&&B("Collapse")(d!=="left"&&d!=="right","deprecated","`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.");let I=$.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),R=u??r?.expandIcon,E=$.useCallback((h={})=>{let D=typeof R=="function"?R(h):$.createElement(Gs,{rotate:h.isActive?90:void 0,"aria-label":h.isActive?"expanded":"collapsed"});return ke(D,()=>({className:St(D?.props?.className,`${x}-arrow`)}))},[R,x]),P=St(`${x}-icon-position-${I}`,{[`${x}-borderless`]:!p,[`${x}-rtl`]:n==="rtl",[`${x}-ghost`]:!!c,[`${x}-${f}`]:f!=="middle"},r?.className,a,l,S,v),T={...Mn(b),motionAppear:false,leavedClassName:`${x}-content-hidden`},w=$.useMemo(()=>g?js(g).map((h,D)=>{let G=h.props;if(G?.disabled){let Z=h.key??String(D),J={...Si(h.props,["disabled"]),key:Z,collapsible:G.collapsible??"disabled"};return ke(h,J)}return h}):null,[g]);return C($.createElement(gs,{ref:o,openMotion:T,...Si(e,["rootClassName"]),expandIcon:E,prefixCls:x,className:P,style:{...r?.style,...s}},w))});process.env.NODE_ENV!=="production"&&(xi.displayName="Collapse");Object.assign(xi,{Panel:ti});var bi=(e,o)=>{let{r:t,g:n,b:r,a:i}=e.toRgb(),a=new Color(e.toRgbString()).onBackground(o).toHsv();return i<=.5?a.v>.5:t*.299+n*.587+r*.114>192};var lt=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},st=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??Fe(o),i=e.contentLineHeightSM??Fe(t),a=e.contentLineHeightLG??Fe(n),l=bi(new So(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:l,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:i,contentLineHeightLG:a,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*i)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*a)/2-e.lineWidth,0)}};var Xs=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:i,motionEaseInOut:a,marginXS:l,calc:s}=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`]:mo(),"> a":{color:"currentColor"},"&:not(:disabled)":_o(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(p=>`${p} ${i} ${a}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(l).mul(-1).equal()}}}}}},hi=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),Ks=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),_s=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),qs=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),cr=(e,o,t,n,r,i,a,l)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...hi(e,{background:o,...a},{background:o,...l}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}}}),Zs=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...qs(e)}}),Qs=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),ct=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?Qs:Zs)(e),...hi(e.componentCls,o,t)}),pr=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...ct(e,n,r)}}),mr=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...ct(e,n,r)}}),dr=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),fr=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...ct(e,t,n)}}),Xe=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...ct(e,n,r,t)}}),Ys=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...pr(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...dr(e),...fr(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...Xe(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...cr(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),Js=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...mr(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...dr(e),...fr(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...Xe(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...cr(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),ec=e=>({color:e.colorError,boxShadow:e.dangerShadow,...pr(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...mr(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...dr(e),...fr(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...Xe(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...Xe(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...cr(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),oc=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:Ys(e),[`${o}-color-primary`]:Js(e),[`${o}-color-dangerous`]:ec(e)}},tc=e=>({...mr(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...Xe(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...pr(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...Xe(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),gr=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:i,buttonPaddingHorizontal:a,iconCls:l,buttonPaddingVertical:s,buttonIconOnlyFontSize:p}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(s)} ${unit(a)}`,borderRadius:i,[`&${t}-icon-only`]:{width:n,[l]:{fontSize:p,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:Ks(e)},{[`${t}${t}-round${o}`]:_s(e)}]},rc=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return gr(o,e.componentCls)},nc=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 gr(o,`${e.componentCls}-sm`)},ic=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return gr(o,`${e.componentCls}-lg`)},ac=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},Pi=Y("Button",e=>{let o=lt(e);return [Xs(o),rc(o),nc(o),ic(o),ac(o),oc(o),tc(o),ei(o)]},st,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function lc(e,o,t){let{focusElCls:n,focus:r,borderElCls:i}=t,a=i?"> *":"",l=["hover",r?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[l]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function sc(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 Ti(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...lc(e,n,o),...sc(t,n,o)}}}function cc(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 pc(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 vi(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...cc(e,o),...pc(e.componentCls,o)}}}var mc=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,i=r(n).mul(-1).equal(),a=l=>({[`${o}-compact${l?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:l?i:0,insetInlineStart:l?0:i,backgroundColor:t,content:'""',width:l?"100%":n,height:l?n:"100%"}}});return {...a(),...a(true)}},Ri=fo(["Button","compact"],e=>{let o=lt(e);return [Ti(o),vi(o),mc(o)]},st);function uc(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 Cc={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},yc=$__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:i,type:a,danger:l=false,shape:s="default",size:p,styles:c,disabled:m,className:d,rootClassName:g,children:u,icon:f,iconPosition:x="start",ghost:b=false,block:C=false,htmlType:S="button",classNames:v,style:I={},autoInsertSpace:R,autoFocus:E,...P}=e,T=a||"default",[w,h]=useMemo(()=>{if(r&&i)return [r,i];let L=Cc[T]||[];return l?["danger",L[1]]:L},[a,r,i,l]),G=w==="danger"?"dangerous":w,{getPrefixCls:Z,direction:J,button:U}=useContext(y),fe=R??U?.autoInsertSpace??true,k=Z("btn",n),[we,Qe,Ye]=Pi(k),Q=useContext(Vo),F=m??Q,Je=useContext(er),Pe=useMemo(()=>uc(t),[t]),[ee,To]=useState(Pe.loading),[eo,vo]=useState(false),Te=useRef(null),Ro=useComposeRef(o,Te),$o=Children.count(u)===1&&!f&&!Co(h),oo=useRef(true);$__default.useEffect(()=>(oo.current=false,()=>{oo.current=true;}),[]),useEffect(()=>{let L=null;Pe.delay>0?L=setTimeout(()=>{L=null,To(true);},Pe.delay):To(Pe.loading);function vt(){L&&(clearTimeout(L),L=null);}return vt},[Pe]),useEffect(()=>{if(!Te.current||!fe)return;let L=Te.current.textContent||"";$o&&nt(L)?eo||vo(true):eo&&vo(false);}),useEffect(()=>{E&&Te.current&&Te.current.focus();},[]);let ko=$__default.useCallback(L=>{if(ee||F){L.preventDefault();return}e.onClick?.(L);},[e.onClick,ee,F]);if(process.env.NODE_ENV!=="production"){let L=B("Button");L(!(typeof f=="string"&&f.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${f}\` at https://ant.design/components/icon`),L(!(b&&Co(h)),"usage","`link` or `text` button can't be a `ghost` button.");}let{compactSize:xt,compactItemClassnames:Mo}=Vn(k,J),bt={large:"lg",small:"sm",middle:void 0},Io=go(L=>p??xt??Je??L),Bo=Io?bt[Io]??"":"",ht=ee?"loading":f,to=Si(P,["navigate"]),wo=St(k,Qe,Ye,{[`${k}-${s}`]:s!=="default"&&s,[`${k}-${T}`]:T,[`${k}-dangerous`]:l,[`${k}-color-${G}`]:G,[`${k}-variant-${h}`]:h,[`${k}-${Bo}`]:Bo,[`${k}-icon-only`]:!u&&u!==0&&!!ht,[`${k}-background-ghost`]:b&&!Co(h),[`${k}-loading`]:ee,[`${k}-two-chinese-chars`]:eo&&fe&&!ee,[`${k}-block`]:C,[`${k}-rtl`]:J==="rtl",[`${k}-icon-end`]:x==="end"},Mo,d,g,U?.className),Lo={...U?.style,...I},Pt=St(v?.icon,U?.classNames?.icon),Tt={...c?.icon||{},...U?.styles?.icon||{}},Eo=f&&!ee?$__default.createElement(at,{prefixCls:k,className:Pt,style:Tt},f):$__default.createElement(Yn,{existIcon:!!f,prefixCls:k,loading:ee,mount:oo.current}),No=u||u===0?qn(u,$o&&fe):null;if(to.href!==void 0)return we($__default.createElement("a",{...to,className:St(wo,{[`${k}-disabled`]:F}),href:F?void 0:to.href,style:Lo,onClick:ko,ref:Ro,tabIndex:F?-1:0},Eo,No));let ro=$__default.createElement("button",{...P,type:S,className:wo,style:Lo,onClick:ko,disabled:F,ref:Ro},Eo,No,Mo&&$__default.createElement(Ri,{prefixCls:k}));return Co(h)||(ro=$__default.createElement(Dn,{component:"Button",disabled:ee},ro)),we(ro)}),pt=yc;pt.Group=Xn;pt.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(pt.displayName="Button");var Ii=pt;var Ke=Ii;function Sr(e){return !!e?.then}var xc=e=>{let{type:o,children:t,prefixCls:n,buttonProps:r,close:i,autoFocus:a,emitEvent:l,isSilent:s,quitOnNullishReturnValue:p,actionFn:c}=e,m=$.useRef(false),d=$.useRef(null),[g,u]=Sc(false),f=(...C)=>{i?.(...C);};$.useEffect(()=>{let C=null;return a&&(C=setTimeout(()=>{d.current?.focus({preventScroll:true});})),()=>{C&&clearTimeout(C);}},[]);let x=C=>{Sr(C)&&(u(true),C.then((...S)=>{u(false,true),f(...S),m.current=false;},S=>{if(u(false,true),m.current=false,!s?.())return Promise.reject(S)}));},b=C=>{if(m.current)return;if(m.current=true,!c){f();return}let S;if(l){if(S=c(C),p&&!Sr(S)){m.current=false,f(C);return}}else if(c.length)S=c(i),m.current=false;else if(S=c(),!Sr(S)){f();return}x(S);};return $.createElement(Ke,{...it(o),onClick:b,loading:g,prefixCls:n,...r,ref:d},t)},mt=xc;var ce=$__default.createContext({}),{Provider:dt}=ce;var Tc=()=>{let{autoFocusButton:e,cancelButtonProps:o,cancelTextLocale:t,isSilent:n,mergedOkCancel:r,rootPrefixCls:i,close:a,onCancel:l,onConfirm:s}=useContext(ce);return r?$__default.createElement(mt,{isSilent:n,actionFn:l,close:(...p)=>{a?.(...p),s?.(false);},autoFocus:e==="cancel",buttonProps:o,prefixCls:`${i}-btn`},t):null},xr=Tc;var $c=()=>{let{autoFocusButton:e,close:o,isSilent:t,okButtonProps:n,rootPrefixCls:r,okTextLocale:i,okType:a,onConfirm:l,onOk:s}=useContext(ce);return $__default.createElement(mt,{isSilent:t,type:a||"primary",actionFn:s,close:(...p)=>{o?.(...p),l?.(true);},autoFocus:e==="ok",buttonProps:n,prefixCls:`${r}-btn`},i)},br=$c;$.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});$.createContext(null);$.createContext({prefixCls:""});var hr=$.createContext({});process.env.NODE_ENV!=="production"&&(hr.displayName="FormItemInputContext");$.createContext(void 0);var zi=()=>window.document.documentElement;var Nc=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),gt=e=>({height:e,lineHeight:unit(e)}),_e=e=>({width:e,...gt(e)}),zc=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Nc,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Rr=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...gt(e)}),Oc=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:i}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,..._e(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{..._e(r)},[`${o}${o}-sm`]:{..._e(i)}}},Hc=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...Rr(o,l)},[`${n}-lg`]:{...Rr(r,l)},[`${n}-sm`]:{...Rr(i,l)}}},Oi=e=>({width:e,...gt(e)}),Ac=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:i}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,...Oi(i(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Oi(t),maxWidth:i(t).mul(4).equal(),maxHeight:i(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},$r=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},kr=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...gt(e)}),Fc=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:l(n).mul(2).equal(),minWidth:l(n).mul(2).equal(),...kr(n,l)},...$r(e,n,t),[`${t}-lg`]:{...kr(r,l)},...$r(e,r,`${t}-lg`),[`${t}-sm`]:{...kr(i,l)},...$r(e,i,`${t}-sm`)}},Dc=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:p,controlHeightSM:c,gradientFromColor:m,padding:d,marginSM:g,borderRadius:u,titleHeight:f,blockRadius:x,paragraphLiHeight:b,controlHeightXS:C,paragraphMarginTop:S}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,..._e(s)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{..._e(p)},[`${t}-sm`]:{..._e(c)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:f,background:m,borderRadius:x,[`+ ${r}`]:{marginBlockStart:c}},[r]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:m,borderRadius:x,"+ li":{marginBlockStart:C}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:u}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:g,[`+ ${r}`]:{marginBlockStart:S}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...Fc(e),...Oc(e),...Hc(e),...Ac(e)},[`${o}${o}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
60
+ ${n},
61
+ ${r} > li,
62
+ ${t},
63
+ ${i},
64
+ ${a},
65
+ ${l}
66
+ `]:{...zc(e)}}}},Gc=e=>{let{colorFillContent:o,colorFill:t}=e,n=o,r=t;return {color:n,colorGradientEnd:r,gradientFromColor:n,gradientToColor:r,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}};Y("Skeleton",e=>{let{componentCls:o,calc:t}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:t(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [Dc(n)]},Gc,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});process.env.NODE_ENV!=="production"&&("Skeleton");function qi(){}$.createContext({add:qi,remove:qi});var fp=()=>{let{cancelButtonProps:e,cancelTextLocale:o,onCancel:t}=useContext(ce);return $__default.createElement(Ke,{onClick:t,...e},o)},Br=fp;var Cp=()=>{let{confirmLoading:e,okButtonProps:o,okType:t,okTextLocale:n,onOk:r}=useContext(ce);return $__default.createElement(Ke,{...it(t),loading:e,onClick:r,...o},n)},wr=Cp;function ut(e,o){return $__default.createElement("span",{className:`${e}-close-x`},o||$__default.createElement(Mc,{className:`${e}-close-icon`}))}var Ct=e=>{let{okText:o,okType:t="primary",cancelText:n,confirmLoading:r,onOk:i,onCancel:a,okButtonProps:l,cancelButtonProps:s,footer:p}=e,[c]=He("Modal",Xr()),m=o||c?.okText,d=n||c?.cancelText,g={confirmLoading:r,okButtonProps:l,cancelButtonProps:s,okTextLocale:m,cancelTextLocale:d,okType:t,onOk:i,onCancel:a},u=$__default.useMemo(()=>g,[...Object.values(g)]),f;return typeof p=="function"||typeof p>"u"?(f=$__default.createElement($__default.Fragment,null,$__default.createElement(wr,null),$__default.createElement(Br,null)),typeof p=="function"&&(f=p(f,{OkBtn:wr,CancelBtn:Br})),f=$__default.createElement(dt,{value:u},f)):f=p,$__default.createElement(jo,{disabled:false},f)};function Qi(e){return {position:e,inset:0}}var Sp=e=>{let{componentCls:o,antCls:t}=e;return [{[`${o}-root`]:{[`${o}${t}-zoom-enter, ${o}${t}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${o}${t}-zoom-leave ${o}-content`]:{pointerEvents:"none"},[`${o}-mask`]:{...Qi("fixed"),zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${o}-hidden`]:{display:"none"}},[`${o}-wrap`]:{...Qi("fixed"),zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"}}},{[`${o}-root`]:nr(e)}]},xp=e=>{let{componentCls:o}=e;return [{[`${o}-root`]:{[`${o}-wrap-rtl`]:{direction:"rtl"},[`${o}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[o]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[o]:{maxWidth:"calc(100vw - 16px)",margin:`${unit(e.marginXS)} auto`},[`${o}-centered`]:{[o]:{flex:1}}}}},{[o]:{...Ko(e),pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${unit(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${o}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${o}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${o}-close`]:{position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:unit(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive},..._o(e)},[`${o}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${o}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${o}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${unit(e.margin)} auto`}},[`${o}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${o}-open`]:{overflow:"hidden"}}},{[`${o}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${o}-content,
67
+ ${o}-body,
68
+ ${o}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${o}-confirm-body`]:{marginBottom:"auto"}}}]},bp=e=>{let{componentCls:o}=e;return {[`${o}-root`]:{[`${o}-wrap-rtl`]:{direction:"rtl",[`${o}-confirm-body`]:{direction:"rtl"}}}}},Lr=e=>{let o=e.padding,t=e.fontSizeHeading5,n=e.lineHeightHeading5;return mergeToken(e,{modalHeaderHeight:e.calc(e.calc(n).mul(t).equal()).add(e.calc(o).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},Er=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${unit(e.paddingMD)} ${unit(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${unit(e.padding)} ${unit(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${unit(e.paddingXS)} ${unit(e.padding)}`:0,footerBorderTop:e.wireframe?`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${unit(e.padding*2)} ${unit(e.padding*2)} ${unit(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),yt=Y("Modal",e=>{let o=Lr(e);return [xp(o),bp(o),Sp(o),lr(o,"zoom")]},Er,{unitless:{titleLineHeight:true}});var Tp=e=>{({x:e.pageX,y:e.pageY}),setTimeout(()=>{},100);};zi()&&document.documentElement.addEventListener("click",Tp,true);var Rp=e=>{let{componentCls:o,titleFontSize:t,titleLineHeight:n,modalConfirmIconSize:r,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:p}=e,c=`${o}-confirm`;return {[c]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:{...dn()},[`&${o} ${o}-body`]:{padding:p},[`${c}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:r,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(r).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(r).equal()).div(2).equal()}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${unit(e.marginSM)})`},[`${e.iconCls} + ${c}-paragraph`]:{maxWidth:`calc(100% - ${unit(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${c}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:t,lineHeight:n},[`${c}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${c}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${c}-error ${c}-body > ${e.iconCls}`]:{color:e.colorError},[`${c}-warning ${c}-body > ${e.iconCls},
69
+ ${c}-confirm ${c}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${c}-info ${c}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${c}-success ${c}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},ea=fo(["Modal","confirm"],e=>{let o=Lr(e);return [Rp(o)]},Er,{order:-1e3});function Or(e){let{prefixCls:o,icon:t,okText:n,cancelText:r,confirmPrefixCls:i,type:a,okCancel:l,footer:s,locale:p,...c}=e;process.env.NODE_ENV!=="production"&&B("Modal")(!(typeof t=="string"&&t.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${t}\` at https://ant.design/components/icon`);let m=t;if(!t&&t!==null)switch(a){case "info":m=$.createElement(Ip,null);break;case "success":m=$.createElement($p,null);break;case "error":m=$.createElement(kp,null);break;default:m=$.createElement(Mp,null);}let d=l??a==="confirm",g=e.autoFocusButton===null?false:e.autoFocusButton||"ok",[u]=He("Modal"),f=p||u,x=n||(d?f?.okText:f?.justOkText),b=r||f?.cancelText,C={autoFocusButton:g,cancelTextLocale:b,okTextLocale:x,mergedOkCancel:d,...c},S=$.useMemo(()=>C,[...Object.values(C)]),v=$.createElement($.Fragment,null,$.createElement(xr,null),$.createElement(br,null)),I=e.title!==void 0&&e.title!==null,R=`${i}-body`;return $.createElement("div",{className:`${i}-body-wrapper`},$.createElement("div",{className:St(R,{[`${R}-has-title`]:I})},m,$.createElement("div",{className:`${i}-paragraph`},I&&$.createElement("span",{className:`${i}-title`},e.title),$.createElement("div",{className:`${i}-content`},e.content))),s===void 0||typeof s=="function"?$.createElement(dt,{value:S},$.createElement("div",{className:`${i}-btns`},typeof s=="function"?s(v,{OkBtn:br,CancelBtn:xr}):v)):s,$.createElement(ea,{prefixCls:o}))}process.env.NODE_ENV!=="production"&&("ConfirmDialogWrapper");var Ep=e=>{let{prefixCls:o,className:t,closeIcon:n,closable:r,type:i,title:a,children:l,footer:s,...p}=e,{getPrefixCls:c}=$.useContext(y),m=c(),d=o||c("modal"),g=Jo(m),[u,f,x]=yt(d,g),b=`${d}-confirm`,C={};return i?C={closable:r??false,title:"",footer:"",children:$.createElement(Or,{...e,prefixCls:d,confirmPrefixCls:b,rootPrefixCls:m,content:l})}:C={closable:r??true,title:a,footer:s!==null&&$.createElement(Ct,{...e}),children:l},u($.createElement(Panel,{prefixCls:d,className:St(f,`${d}-pure-panel`,i&&b,i&&`${b}-${i}`,t,x,g),...p,closeIcon:ut(d,n),closable:r,...C}))},Xx=Tn(Ep);
70
+ export{Xx as default};
@@ -0,0 +1,10 @@
1
+ import type { FC } from 'react';
2
+ import React from 'react';
3
+ import type { ConfirmDialogProps } from '../ConfirmDialog';
4
+ export interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonProps' | 'isSilent' | 'rootPrefixCls' | 'close' | 'onConfirm' | 'onCancel'> {
5
+ autoFocusButton?: false | 'ok' | 'cancel' | null;
6
+ cancelTextLocale?: React.ReactNode;
7
+ mergedOkCancel?: boolean;
8
+ }
9
+ declare const ConfirmCancelBtn: FC;
10
+ export default ConfirmCancelBtn;
@@ -0,0 +1,48 @@
1
+ import*as S from'react';import S__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import Il 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 ol 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 zt=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}"}}}},le=In;({...le.Modal});var so=[],Ht=()=>so.reduce((e,o)=>({...e,...o}),le.Modal);function At(e){if(e){let o={...e};return so.push(o),Ht(),()=>{so=so.filter(t=>t!==o),Ht();}}({...le.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"},zn={...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=zn;function Vo(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:a,colorInfo:i,colorPrimary:l,colorBgBase:c,colorTextBase:s}=e,p=o(l),m=o(n),d=o(r),g=o(a),f=o(i),C=t(c,s),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 On=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=On;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],l=n[1],c=n[0],s=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:l,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(l*r),fontHeightLG:Math.round(s*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),ze={token:q,override:{override:q},hashed:true},Oe=S__default.createContext(ze);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,l)=>{let c=i.clone();return c=l?.(c)||c,c.toRgbString()},r=(i,l)=>{let c=new TinyColor(i),s=generate(c.toRgbString());t[`${l}-color`]=n(c),t[`${l}-color-disabled`]=s[1],t[`${l}-color-hover`]=s[4],t[`${l}-color-active`]=s[6],t[`${l}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${l}-color-deprecated-bg`]=s[0],t[`${l}-color-deprecated-border`]=s[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),l=generate(i.toRgbString());l.forEach((s,p)=>{t[`primary-${p+1}`]=s;}),t["primary-color-deprecated-l-35"]=n(i,s=>s.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,s=>s.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,s=>s.tint(20)),t["primary-color-deprecated-t-50"]=n(i,s=>s.tint(50)),t["primary-color-deprecated-f-12"]=n(i,s=>s.setAlpha(s.getAlpha()*.12));let c=new TinyColor(l[0]);t["primary-color-active-deprecated-f-30"]=n(c,s=>s.setAlpha(s.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,s=>s.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)},se=Jo;function _n(){let e=useContext(po),o=useContext(se);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:l,b:c}=new TinyColor(o).toRgb();for(let s=.01;s<=1;s+=.01){let p=Math.round((t-i*(1-s))/s),m=Math.round((n-l*(1-s))/s),d=Math.round((r-c*(1-s))/s);if(et(p)&&et(m)&&et(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(s*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,l=768,c=992,s=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:l-1,screenMD:l,screenMDMin:l,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:s-1,screenXL:s,screenXLMin:s,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(([l,c])=>{let{theme:s,...p}=c,m=p;s&&(m=rr({...i,...p},{override:p},s)),i[l]=m;}),i};function z(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=S__default.useContext(Oe),a=`${tr}-${o||""}`,i=t||co,[l,c,s]=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,s,o?c:"",l,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"}},l={};return n!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...l,...i,[r]:i}}},ti=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),lr=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]=z();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]=z();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[go(e)])},uo=ii;var li={...S},{useId:cr}=li,si=()=>"",ci=typeof cr>"u"?si:cr,pr=ci;function it(e,o,t){let n=I("ConfigProvider"),r=e||{},a=r.inherit===false||!o?{...ze,hashed:o?.hashed??ze.hashed,cssVar:o?.cssVar}:o,i=pr();if(process.env.NODE_ENV!=="production"){let l=r.cssVar||a.cssVar,c=!!(typeof r.cssVar=="object"&&r.cssVar?.key||i);n(!l||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 l={...a.components};Object.keys(e.components||{}).forEach(p=>{l[p]={...l[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,s=(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:l,cssVar:s}},[r,a],(l,c)=>l.some((s,p)=>{let m=c[p];return !mi(s,m,true)}))}function at(e){let{children:o}=e,[,t]=z(),{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 lt=false;process.env.NODE_ENV!=="production"?e=>{ee(!lt,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:l,componentSize:c,direction:s,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:O,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:zo,upload:oo,notification:to,tree:Ie,colorPicker:R,datePicker:Oo,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"&&(lt=lt||!!ro);let Ho={csp:we,autoInsertSpaceInButton:n,alert:r,anchor:a,locale:l||x,direction:s,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:O,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:zo,upload:oo,notification:to,tree:Ie,colorPicker:R,datePicker:Oo,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(le.Form?.defaultValidateMessages||{},ue.locale?.Form?.defaultValidateMessages||{},ue.form?.validateMessages||{},i?.validateMessages||{}),[ue,i?.validateMessages]);Object.keys(It).length>0&&(B=S.createElement(zt.Provider,{value:It},B)),l&&(B=S.createElement(Gt,{locale:l,_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(Oe.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=se;Pe.config=hi;Pe.useConfig=Jt;Object.defineProperty(Pe,"SizeContext",{get:()=>(ee(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),se)});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 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 br(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return st(o)?o:st(t)?t:st(n)?n:null}function ct(e){return Number.isNaN(e)?0:e}var zi=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[l,c]=S.useState(null),[s,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:s.map(M=>`${M}px`).join(" ")};l&&(D["--wave-color"]=l);function L(){let M=getComputedStyle(t);c(br(t));let P=M.position==="static",{borderLeftWidth:O,borderTopWidth:u}=M;d(P?t.offsetLeft:ct(-parseFloat(O))),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 O=a.current?.parentElement;i.current?.().then(()=>{O?.remove();});}return false}},({className:M},P)=>S.createElement("div",{ref:composeRef(a,P),className:Mt(o,M,{"wave-quick":j}),style:D}))},Oi=(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(zi,{...o,target:e,registerUnmount:i}),n);},hr=Oi;var Ai=(e,o,t)=>{let{wave:n}=S.useContext(v),[,r,a]=z(),i=Hi(s=>{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:s,hashId:a});}),l=S.useRef(null);return s=>{Tr.cancel(l.current),l.current=Tr(()=>{i(s);});}},vr=Ai;var Mr=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(v),a=useRef(null),i=r("wave"),[,l]=yr(i),c=vr(a,Mt(i,l),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 s=supportRef(o)?composeRef(getNodeRef(o),a):a;return pe(o,{ref:s})};process.env.NODE_ENV!=="production"&&(Mr.displayName="Wave");var kr=Mr;var Ki=e=>{let o=S__default.useContext(se);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,l=r==="vertical"?"-vertical-":"-";return Mt(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:a,[`${e}-compact${l}last-item`]:i,[`${e}-compact${l}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,l=o("btn-group",n),[,,c]=z(),s="";switch(r){case "large":s="lg";break;case "small":s="sm";break;}process.env.NODE_ENV!=="production"&&I("Button.Group")(!r||["large","small","middle"].includes(r),"usage","Invalid prop `size`.");let p=Mt(l,{[`${l}-${s}`]:s,[`${l}-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 zr(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 Or(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 l=n.length-1,c=n[l];n[l]=`${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)"}),sa=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:a,mount:i}=e,l=!!t;return n?S__default.createElement(Hr,{prefixCls:o,className:r,style:a}):S__default.createElement(wi,{visible:l,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:s},p)=>{let m={...a,...s};return S__default.createElement(Hr,{prefixCls:o,className:Mt(r,c),style:m,ref:p})})},Nr=sa;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),l=Mt({[`${i}-no-arrow`]:!a},r);return S.createElement(ua.Panel,{ref:o,...e,prefixCls:i,className:l})}),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:l,collapsePanelBorderRadius:c,lineWidth:s,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:O}=e,u=`${unit(s)} ${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:l,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:O,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:l,style:c,bordered:s=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`]:!s,[`${x}-rtl`]:n==="rtl",[`${x}-ghost`]:!!p,[`${x}-${C}`]:C!=="middle"},r?.className,i,l,b,N),P={...jr(h),motionAppear:false,leavedClassName:`${x}-content-hidden`},O=S.useMemo(()=>g?ol(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}},O))});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),l=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:l,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 nl=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:a,motionEaseInOut:i,marginXS:l,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)":lr(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(s=>`${s} ${a} ${i}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(l).mul(-1).equal()}}}}}},Qr=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),il=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),al=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),ll=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),St=(e,o,t,n,r,a,i,l)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...Qr(e,{background:o,...i},{background:o,...l}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:a||void 0}}}),sl=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...ll(e)}}),cl=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),vo=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?cl:sl)(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)}}),pl=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)}),ml=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})}),dl=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})}),fl=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:pl(e),[`${o}-color-primary`]:ml(e),[`${o}-color-dangerous`]:dl(e)}},gl=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:l,buttonPaddingVertical:c,buttonIconOnlyFontSize:s}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(i)}`,borderRadius:a,[`&${t}-icon-only`]:{width:n,[l]:{fontSize:s,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:il(e)},{[`${t}${t}-round${o}`]:al(e)}]},ul=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return Pt(o,e.componentCls)},Cl=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`)},yl=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`)},Sl=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},Yr=ce("Button",e=>{let o=ho(e);return [nl(o),ul(o),Cl(o),yl(o),Sl(o),fl(o),gl(o),Gr(o)]},Po,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function xl(e,o,t){let{focusElCls:n,focus:r,borderElCls:a}=t,i=a?"> *":"",l=["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":{[l]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function bl(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]:{...xl(e,n,o),...bl(t,n,o)}}}function Tl(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 hl(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]:{...Tl(e,o),...hl(e.componentCls,o)}}}var Pl=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,a=r(n).mul(-1).equal(),i=l=>({[`${o}-compact${l?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:l?a:0,insetInlineStart:l?0:a,backgroundColor:t,content:'""',width:l?"100%":n,height:l?n:"100%"}}});return {...i(),...i(true)}},on=nt(["Button","compact"],e=>{let o=ho(e);return [Jr(o),en(o),Pl(o)]},Po);function kl(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 $l={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},Bl=S__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:a,type:i,danger:l=false,shape:c="default",size:s,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",[O,u]=useMemo(()=>{if(r&&a)return [r,a];let R=$l[P]||[];return l?["danger",R[1]]:R},[i,r,a,l]),K=O==="danger"?"dangerous":O,{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(()=>kl(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 Oo(){R&&(clearTimeout(R),R=null);}return Oo},[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=>s??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`]:l,[`${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),zo={...p?.icon||{},...U?.styles?.icon||{}},oo=C&&!G?S__default.createElement(To,{prefixCls:T,className:Eo,style:zo},C):S__default.createElement(Nr,{existIcon:!!C,prefixCls:T,loading:G,mount:$e.current}),to=f||f===0?Or(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=Bl;Ro.Group=Lr;Ro.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(Ro.displayName="Button");var an=Ro;var ln=an;function kt(e){return !!e?.then}var Ll=e=>{let{type:o,children:t,prefixCls:n,buttonProps:r,close:a,autoFocus:i,emitEvent:l,isSilent:c,quitOnNullishReturnValue:s,actionFn:p}=e,m=S.useRef(false),d=S.useRef(null),[g,f]=Il(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(l){if(b=p(y),s&&!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(ln,{...zr(o),onClick:h,loading:g,prefixCls:n,...r,ref:d},t)},sn=Ll;var $t=S__default.createContext({}),{Provider:qf}=$t;var Ol=()=>{let{autoFocusButton:e,cancelButtonProps:o,cancelTextLocale:t,isSilent:n,mergedOkCancel:r,rootPrefixCls:a,close:i,onCancel:l,onConfirm:c}=useContext($t);return r?S__default.createElement(sn,{isSilent:n,actionFn:l,close:(...s)=>{i?.(...s),c?.(false);},autoFocus:e==="cancel",buttonProps:o,prefixCls:`${a}-btn`},t):null},eg=Ol;
48
+ export{eg as default};
@@ -0,0 +1,9 @@
1
+ import type { FC } from 'react';
2
+ import React from 'react';
3
+ import type { ConfirmDialogProps } from '../ConfirmDialog';
4
+ export interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent' | 'okType' | 'okButtonProps' | 'rootPrefixCls' | 'onConfirm' | 'onOk'> {
5
+ autoFocusButton?: false | 'ok' | 'cancel' | null;
6
+ okTextLocale?: React.ReactNode;
7
+ }
8
+ declare const ConfirmOkBtn: FC;
9
+ export default ConfirmOkBtn;