@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 @@
1
+ import {Color}from'@rc-component/color-picker';var l=(o,t)=>o?.replace(/[^\w/]/g,"").slice(0,t?8:6)||"",a=(o,t)=>o?l(o,t):"",i=class o{metaColor;colors;cleared=false;constructor(t){if(t instanceof o){this.metaColor=t.metaColor.clone(),this.colors=t.colors?.map(r=>({color:new o(r.color),percent:r.percent})),this.cleared=t.cleared;return}let e=Array.isArray(t);e&&t.length?(this.colors=t.map(({color:r,percent:n})=>({color:new o(r),percent:n})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(e?"":t),(!t||e&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return a(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:t}=this;return t?`linear-gradient(90deg, ${t.map(r=>`${r.color.toRgbString()} ${r.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(t){return !t||this.isGradient()!==t.isGradient()?false:this.isGradient()?this.colors.length===t.colors.length&&this.colors.every((e,r)=>{let n=t.colors[r];return e.percent===n.percent&&e.color.equals(n.color)}):this.toHexString()===t.toHexString()}};export{i as AggregationColor,a as getHex,l as toHexFormat};
@@ -0,0 +1,9 @@
1
+ import type { FC } from 'react';
2
+ import type { AggregationColor } from '../color';
3
+ interface ColorAlphaInputProps {
4
+ prefixCls: string;
5
+ value?: AggregationColor;
6
+ onChange?: (value: AggregationColor) => void;
7
+ }
8
+ declare const ColorAlphaInput: FC<ColorAlphaInputProps>;
9
+ export default ColorAlphaInput;
@@ -0,0 +1,70 @@
1
+ import*as u from'react';import u__default,{createContext,useContext,useState,useEffect}from'react';import {Color}from'@rc-component/color-picker';import ce from'classnames';import ci from'@ant-design/icons/DownOutlined';import pi from'@ant-design/icons/UpOutlined';import di from'rc-input-number';import'rc-field-form';import'rc-util/lib/omit';import'rc-util/lib/Children/toArray';import {createTheme,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import kn from'@ant-design/icons/lib/components/Context';import In from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Nt,{resetWarned}from'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import Vt from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import an from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Rn from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';var At=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",Ft=(e,o)=>e?At(e,o):"",fe=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=o.cleared;return}let r=Array.isArray(o);r&&o.length?(this.colors=o.map(({color:n,percent:t})=>({color:new e(n),percent:t})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(r?"":o),(!o||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return Ft(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((r,n)=>{let t=o.colors[n];return r.percent===t.percent&&r.color.equals(t.color)}):this.toHexString()===o.toHexString()}};var io=e=>e instanceof fe?e:new fe(e),Ht=e=>Math.round(Number(e||0)),jo=e=>Ht(e.toHsb().a*100);u.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});u.createContext(null);u.createContext({prefixCls:""});var Ce=u.createContext({});process.env.NODE_ENV!=="production"&&(Ce.displayName="FormItemInputContext");var Xo=({children:e,status:o,override:r})=>{let n=u.useContext(Ce),t=u.useMemo(()=>{let l={...n};return r&&delete l.isFormItemInput,o&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[o,r,n]);return u.createElement(Ce.Provider,{value:t},e)},_o=u.createContext(void 0);function Uo(){}var H=null;function Dt(){H=null,resetWarned();}var ao=Uo;process.env.NODE_ENV!=="production"&&(ao=(e,o,r)=>{Nt(e,`[swiftcrab: ${o}] ${r}`),process.env.NODE_ENV==="test"&&Dt();});var lo=u.createContext({}),k=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=u.useContext(lo),r=(n,t,l)=>{if(!n)if(o===false&&t==="deprecated"){let i=H;H||(H={}),H[e]=H[e]||[],H[e].includes(l||"")||H[e].push(l||""),i||console.warn("[swiftcrab] There exists deprecated usage in your code:",H);}else ao(n,e,l);};return r.deprecated=(n,t,l,i)=>{r(n,"deprecated",`\`${t}\` is deprecated. Please use \`${l}\` instead.${i?` ${i}`:""}`);},r}:()=>{let e=()=>{};return e.deprecated=Uo,e},ne=ao;var qo=createContext(void 0);({lang:{...Vt}});var T="${label} is not a valid ${type}",_t={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:T,method:T,array:T,object:T,number:T,date:T,boolean:T,integer:T,float:T,regexp:T,email:T,url:T,hex:T},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}"}}}},_=_t;({..._.Modal});var Ee=[],Qo=()=>Ee.reduce((e,o)=>({...e,...o}),_.Modal);function Yo(e){if(e){let o={...e};return Ee.push(o),Qo(),()=>{Ee=Ee.filter(r=>r!==o),Qo();}}({..._.Modal});}var qt=createContext(void 0),Se=qt;var co="internalMark",Zo=e=>{let{locale:o={},children:r,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&k("LocaleProvider")(n===co,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),u.useEffect(()=>Yo(o?.Modal),[o]);let t=u.useMemo(()=>({...o,exist:true}),[o]);return u.createElement(Se.Provider,{value:t},r)};process.env.NODE_ENV!=="production"&&(Zo.displayName="LocaleProvider");var er=Zo;var po={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"},Kt={...po,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},N=Kt;function go(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:l,colorInfo:i,colorPrimary:a,colorBgBase:c,colorTextBase:s}=e,p=o(a),d=o(n),g=o(t),S=o(l),x=o(i),h=r(c,s),z=e.colorLink||e.colorInfo,f=o(z),L=new TinyColor(S[1]).mix(new TinyColor(S[3]),50).toHexString();return {...h,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:S[1],colorErrorBgHover:S[2],colorErrorBgFilledHover:L,colorErrorBgActive:S[3],colorErrorBorder:S[3],colorErrorBorderHover:S[4],colorErrorHover:S[5],colorError:S[6],colorErrorActive:S[7],colorErrorTextHover:S[8],colorErrorText:S[9],colorErrorTextActive:S[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:x[1],colorInfoBgHover:x[2],colorInfoBorder:x[3],colorInfoBorderHover:x[4],colorInfoHover:x[4],colorInfo:x[6],colorInfoActive:x[7],colorInfoTextHover:x[8],colorInfoText:x[9],colorInfoTextActive:x[10],colorLinkHover:f[4],colorLink:f[6],colorLinkActive:f[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Qt=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},or=Qt;function uo(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...or(n)}}var Yt=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},rr=Yt;function tr(e){return (e+8)/e}function fo(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,l=e*Math.E**(t/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:tr(r)}))}var Jt=e=>{let o=fo(e),r=o.map(p=>p.size),n=o.map(p=>p.lineHeight),t=r[1],l=r[0],i=r[2],a=n[1],c=n[0],s=n[2];return {fontSizeSM:l,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:a,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(a*t),fontHeightLG:Math.round(s*i),fontHeightSM:Math.round(c*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},nr=Jt;function Co(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var P=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),ae=(e,o)=>new TinyColor(e).darken(o).toHexString();var ar=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]}},lr=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:P(n,.88),colorTextSecondary:P(n,.65),colorTextTertiary:P(n,.45),colorTextQuaternary:P(n,.25),colorFill:P(n,.15),colorFillSecondary:P(n,.06),colorFillTertiary:P(n,.04),colorFillQuaternary:P(n,.02),colorBgSolid:P(n,1),colorBgSolidHover:P(n,.75),colorBgSolidActive:P(n,.95),colorBgLayout:ae(r,4),colorBgContainer:ae(r,0),colorBgElevated:ae(r,0),colorBgSpotlight:P(n,.85),colorBgBlur:"transparent",colorBorder:ae(r,15),colorBorderSecondary:ae(r,6)}};function bo(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(po).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,l,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...go(e,{generateColorPalettes:ar,generateNeutralColorPalettes:lr}),...nr(e.fontSize),...Co(e),...rr(e),...uo(e)}}var ze=createTheme(bo),xe={token:N,override:{override:N},hashed:true},be=u__default.createContext(xe);var Le="ant",ye="anticon",yo=["outlined","borderless","filled"],tn=(e,o)=>o||(e?`${Le}-${e}`:Le),v=u.createContext({getPrefixCls:tn,iconPrefixCls:ye}),{Consumer:nn}=v;var sn=`-ant-${Date.now()}-${Math.random()}`;function cn(e,o){let r={},n=(i,a)=>{let c=i.clone();return c=a?.(c)||c,c.toRgbString()},t=(i,a)=>{let c=new TinyColor(i),s=generate(c.toRgbString());r[`${a}-color`]=n(c),r[`${a}-color-disabled`]=s[1],r[`${a}-color-hover`]=s[4],r[`${a}-color-active`]=s[6],r[`${a}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${a}-color-deprecated-bg`]=s[0],r[`${a}-color-deprecated-border`]=s[2];};if(o.primaryColor){t(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),a=generate(i.toRgbString());a.forEach((s,p)=>{r[`primary-${p+1}`]=s;}),r["primary-color-deprecated-l-35"]=n(i,s=>s.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,s=>s.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,s=>s.tint(20)),r["primary-color-deprecated-t-50"]=n(i,s=>s.tint(50)),r["primary-color-deprecated-f-12"]=n(i,s=>s.setAlpha(s.getAlpha()*.12));let c=new TinyColor(a[0]);r["primary-color-active-deprecated-f-30"]=n(c,s=>s.setAlpha(s.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,s=>s.darken(2));}return o.successColor&&t(o.successColor,"success"),o.warningColor&&t(o.warningColor,"warning"),o.errorColor&&t(o.errorColor,"error"),o.infoColor&&t(o.infoColor,"info"),`
4
+ :root {
5
+ ${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function pr(e,o){let r=cn(e,o);an()?updateCSS(r,`${sn}-dynamic-theme`):ne(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var To=u.createContext(false),dr=({children:e,disabled:o})=>{let r=u.useContext(To);return u.createElement(To.Provider,{value:o??r},e)},Be=To;var Po=u.createContext(void 0),mr=({children:e,size:o})=>{let r=u.useContext(Po);return u.createElement(Po.Provider,{value:o||r},e)},U=Po;function pn(){let e=useContext(Be),o=useContext(U);return {componentDisabled:e,componentSize:o}}var ur=pn;var Cr={version:"0.0.2"};var Sr=Cr.version;function vo(e){return e>=0&&e<=255}function mn(e,o){let{r,g:n,b:t,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:a,b:c}=new TinyColor(o).toRgb();for(let s=.01;s<=1;s+=.01){let p=Math.round((r-i*(1-s))/s),d=Math.round((n-a*(1-s))/s),g=Math.round((t-c*(1-s))/s);if(vo(p)&&vo(d)&&vo(g))return new TinyColor({r:p,g:d,b:g,a:Math.round(s*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var he=mn;function Fe(e){let{override:o,...r}=e,n={...o};Object.keys(N).forEach(g=>{delete n[g];});let t={...r,...n},l=480,i=576,a=768,c=992,s=1200,p=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:he(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:he(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:he(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:he(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.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:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:a-1,screenMD:a,screenMDMin:a,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 Io={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},fn={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},Cn={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},xr=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...l}=o,i={...n,override:t};return i=Fe(i),l&&Object.entries(l).forEach(([a,c])=>{let{theme:s,...p}=c,d=p;s&&(d=xr({...i,...p},{override:p},s)),i[a]=d;}),i};function M(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=u__default.useContext(be),l=`${Sr}-${o||""}`,i=r||ze,[a,c,s]=useCacheToken(i,[N,e],{salt:l,override:n,getComputedToken:xr,formatToken:Fe,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:Io,ignore:fn,preserve:Cn}});return [i,s,o?c:"",a,t]}var q=(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}),Ro=()=>({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"}}),br=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),yr=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"}}}),hr=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,l=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return n!==false&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...a,...i,[t]:i}}};var He=e=>({[`.${e}`]:{...Ro(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:K,genComponentStyleHook:xn,genSubStyleComponent:bn}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=M();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":yr(e)},He(o?.prefix.iconPrefixCls??ye)],getCommonStyle:hr,getCompUnitless:(()=>Io)});var hn=(e,o)=>{let[r,n]=M();return useStyleRegister({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[He(e)])},Ne=hn;var Pn={...u},{useId:Pr}=Pn,vn=()=>"",$n=typeof Pr>"u"?vn:Pr,vr=$n;function wo(e,o,r){let n=k("ConfigProvider"),t=e||{},l=t.inherit===false||!o?{...xe,hashed:o?.hashed??xe.hashed,cssVar:o?.cssVar}:o,i=vr();if(process.env.NODE_ENV!=="production"){let a=t.cssVar||l.cssVar,c=!!(typeof t.cssVar=="object"&&t.cssVar?.key||i);n(!a||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 In(()=>{if(!e)return o;let a={...l.components};Object.keys(e.components||{}).forEach(p=>{a[p]={...a[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,s=(t.cssVar??l.cssVar)&&{prefix:r?.prefixCls,...typeof l.cssVar=="object"?l.cssVar:{},...typeof t.cssVar=="object"?t.cssVar:{},key:typeof t.cssVar=="object"&&t.cssVar?.key||c};return {...l,...t,token:{...l.token,...t.token},components:a,cssVar:s}},[t,l],(a,c)=>a.some((s,p)=>{let d=c[p];return !Rn(s,d,true)}))}function ko(e){let{children:o}=e,[,r]=M(),{motion:n}=r,t=u.useRef(false);return t.current=t.current||n===false,t.current?u.createElement(Provider,{motion:n},o):o}var Ir=u.memo(({dropdownMatchSelectWidth:e})=>(k("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Ir.displayName="PropWarning");var Rr=process.env.NODE_ENV!=="production"?Ir:()=>null;var Mo=false;process.env.NODE_ENV!=="production"?e=>{ne(!Mo,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var zn=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],kr;function Fn(){return kr||Le}function Hn(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Nn=e=>{let{prefixCls:o,iconPrefixCls:r,theme:n,holderRender:t}=e;o!==void 0&&(kr=o),n&&(Hn(n)?(ne(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),pr(Fn(),n)):n);};var Wn=e=>{let{children:o,csp:r,autoInsertSpaceInButton:n,alert:t,anchor:l,form:i,locale:a,componentSize:c,direction:s,space:p,splitter:d,virtual:g,dropdownMatchSelectWidth:S,popupMatchSelectWidth:x,popupOverflow:h,legacyLocale:z,parentContext:f,iconPrefixCls:L,theme:B,componentDisabled:m,segmented:Y,statistic:pe,spin:A,calendar:J,carousel:de,cascader:V,collapse:j,typography:X,checkbox:D,descriptions:me,divider:qe,drawer:Ke,skeleton:Qe,steps:Pe,image:O,layout:Ye,list:Je,mentions:ve,modal:$e,progress:Ze,result:eo,slider:oo,breadcrumb:ro,menu:Z,pagination:et,input:ot,textArea:rt,empty:tt,badge:nt,radio:it,rate:at,switch:lt,transfer:st,avatar:ct,message:pt,tag:dt,table:mt,card:gt,tabs:ut,timeline:ft,timePicker:Ct,upload:St,notification:xt,tree:bt,colorPicker:yt,datePicker:ht,rangePicker:Tt,flex:Pt,wave:vt,dropdown:$t,warning:It,tour:Rt,variant:wt,inputNumber:kt,treeSelect:Mt}=e,Wo=u.useCallback((b,w)=>{let{prefixCls:re}=e;if(w)return w;let te=re||f.getPrefixCls("");return b?`${te}-${b}`:te},[f.getPrefixCls,e.prefixCls]),ge=L||f.iconPrefixCls||ye,ue=r||f.csp;Ne(ge,ue);let Ie=wo(B,f.theme,{prefixCls:Wo("")});process.env.NODE_ENV!=="production"&&(Mo=Mo||!!Ie);let to={csp:ue,autoInsertSpaceInButton:n,alert:t,anchor:l,locale:a||z,direction:s,space:p,splitter:d,virtual:g,popupMatchSelectWidth:x??S,popupOverflow:h,getPrefixCls:Wo,iconPrefixCls:ge,theme:Ie,segmented:Y,statistic:pe,spin:A,calendar:J,carousel:de,cascader:V,collapse:j,typography:X,checkbox:D,descriptions:me,divider:qe,drawer:Ke,skeleton:Qe,steps:Pe,image:O,input:ot,textArea:rt,layout:Ye,list:Je,mentions:ve,modal:$e,progress:Ze,result:eo,slider:oo,breadcrumb:ro,menu:Z,pagination:et,empty:tt,badge:nt,radio:it,rate:at,switch:lt,transfer:st,avatar:ct,message:pt,tag:dt,table:mt,card:gt,tabs:ut,timeline:ft,timePicker:Ct,upload:St,notification:xt,tree:bt,colorPicker:yt,datePicker:ht,rangePicker:Tt,flex:Pt,wave:vt,dropdown:$t,warning:It,tour:Rt,variant:wt,inputNumber:kt,treeSelect:Mt};process.env.NODE_ENV!=="production"&&k("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let ee={...f};Object.keys(to).forEach(b=>{to[b]!==void 0&&(ee[b]=to[b]);}),zn.forEach(b=>{let w=e[b];w&&(ee[b]=w);}),typeof n<"u"&&(ee.button={autoInsertSpace:n,...ee.button});let oe=In(()=>ee,ee,(b,w)=>{let re=Object.keys(b),te=Object.keys(w);return re.length!==te.length||re.some(Re=>b[Re]!==w[Re])}),Et=u.useMemo(()=>({prefixCls:ge,csp:ue}),[ge,ue]),y=u.createElement(u.Fragment,null,u.createElement(Rr,{dropdownMatchSelectWidth:S}),o),Do=u.useMemo(()=>merge(_.Form?.defaultValidateMessages||{},oe.locale?.Form?.defaultValidateMessages||{},oe.form?.validateMessages||{},i?.validateMessages||{}),[oe,i?.validateMessages]);Object.keys(Do).length>0&&(y=u.createElement(qo.Provider,{value:Do},y)),a&&(y=u.createElement(er,{locale:a,_ANT_MARK__:co},y)),(y=u.createElement(kn.Provider,{value:Et},y)),c&&(y=u.createElement(mr,{size:c},y)),y=u.createElement(ko,null,y);let zt=u.useMemo(()=>{let{algorithm:b,token:w,components:re,cssVar:te,...Re}=Ie||{},Oo=b&&(!Array.isArray(b)||b.length>0)?createTheme(b):ze,no={};Object.entries(re||{}).forEach(([Lt,Bt])=>{let F={...Bt};"algorithm"in F&&(F.algorithm===true?F.theme=Oo:(Array.isArray(F.algorithm)||typeof F.algorithm=="function")&&(F.theme=createTheme(F.algorithm)),delete F.algorithm),no[Lt]=F;});let Go={...N,...w};return {...Re,theme:Oo,token:Go,components:no,override:{override:Go,...no},cssVar:te}},[Ie]);return B&&(y=u.createElement(be.Provider,{value:zt},y)),oe.warning&&(y=u.createElement(lo.Provider,{value:oe.warning},y)),m!==void 0&&(y=u.createElement(dr,{disabled:m},y)),u.createElement(v.Provider,{value:oe},y)},Q=e=>{let o=u.useContext(v),r=u.useContext(Se);return u.createElement(Wn,{parentContext:o,legacyLocale:r,...e})};Q.ConfigContext=v;Q.SizeContext=U;Q.config=Nn;Q.useConfig=ur;Object.defineProperty(Q,"SizeContext",{get:()=>(ne(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),U)});process.env.NODE_ENV!=="production"&&(Q.displayName="ConfigProvider");var Mr=Q;var Dn=e=>{let o=u__default.useContext(U);return u__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},Eo=Dn;var On=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},zr=On;var Gn=e=>{let{componentCls:o,antCls:r}=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 > ${r}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Vn=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}}}};K("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Gn(o),Vn(o),zr(o)]},()=>({}),{resetStyle:false});var Lr=u.createContext(null),Br=(e,o)=>{let r=u.useContext(Lr),n=u.useMemo(()=>{if(!r)return "";let{compactDirection:t,isFirstItem:l,isLastItem:i}=r,a=t==="vertical"?"-vertical-":"-";return ce(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:l,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:o==="rtl"})},[e,o,r]);return {compactSize:r?.compactSize,compactDirection:r?.compactDirection,compactItemClassnames:n}},Ar=({children:e})=>u.createElement(Lr.Provider,{value:null},e);var _n=e=>{let{space:o,form:r,children:n}=e;if(n==null)return null;let t=n;return r&&(t=u__default.createElement(Xo,{override:true,status:true},t)),o&&(t=u__default.createElement(Ar,null,t)),t},zo=_n;function Lo(e,o,r){return ce({[`${e}-status-success`]:o==="success",[`${e}-status-warning`]:o==="warning",[`${e}-status-error`]:o==="error",[`${e}-status-validating`]:o==="validating",[`${e}-has-feedback`]:r})}var Hr=(e,o)=>o||e;var qn=e=>{let[,,,,o]=M();return o?`${e}-css-var`:""},Nr=qn;var Kn=(e,o,r=void 0)=>{let{variant:n,[e]:t}=u.useContext(v),l=u.useContext(_o),i=t?.variant,a;typeof o<"u"?a=o:r===false?a="borderless":a=l??i??n??"outlined";let c=yo.includes(a);return [a,c]},Wr=Kn;function Qn(e,o,r){let{focusElCls:n,focus:t,borderElCls:l}=r,i=l?"> *":"",a=["hover",t?"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":{[a]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function Yn(e,o,r){let{borderElCls:n}=r,t=n?`> ${n}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${t}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${t}, &${e}-sm ${t}, &${e}-lg ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${t}, &${e}-sm ${t}, &${e}-lg ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function De(e,o={focus:true}){let{componentCls:r}=e,n=`${r}-compact`;return {[n]:{...Qn(e,n,o),...Yn(r,n,o)}}}function Oe(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var Ge=e=>{let{controlHeight:o,fontSize:r,lineHeight:n,lineWidth:t,controlHeightSM:l,controlHeightLG:i,fontSizeLG:a,lineHeightLG:c,paddingSM:s,controlPaddingHorizontalSM:p,controlPaddingHorizontal:d,colorFillAlter:g,colorPrimaryHover:S,colorPrimary:x,controlOutlineWidth:h,controlOutline:z,colorErrorOutline:f,colorWarningOutline:L,colorBgContainer:B}=e;return {paddingBlock:Math.max(Math.round((o-r*n)/2*10)/10-t,0),paddingBlockSM:Math.max(Math.round((l-r*n)/2*10)/10-t,0),paddingBlockLG:Math.ceil((i-a*c)/2*10)/10-t,paddingInline:s-t,paddingInlineSM:p-t,paddingInlineLG:d-t,addonBg:g,activeBorderColor:x,hoverBorderColor:S,activeShadow:`0 0 0 ${h}px ${z}`,errorActiveShadow:`0 0 0 ${h}px ${f}`,warningActiveShadow:`0 0 0 ${h}px ${L}`,hoverBg:B,activeBg:B,inputFontSize:r,inputFontSizeLG:a,inputFontSizeSM:r}};var Jn=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Ao=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...Jn(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),jr=(e,o)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:o.borderColor,"&:hover":{borderColor:o.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0,backgroundColor:e.activeBg}}),Dr=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...jr(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),Ve=(e,o)=>({"&-outlined":{...jr(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Ao(e)},...Dr(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Dr(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),Or=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),je=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...Or(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...Or(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...Ao(e)}}}}),Xe=(e,o)=>{let{componentCls:r}=e;return {"&-borderless":{background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...o}}},Xr=(e,o)=>({background:o.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:o?.inputColor},"&:hover":{background:o.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:o.activeBorderColor,backgroundColor:e.activeBg}}),Gr=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...Xr(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),_e=(e,o)=>({"&-filled":{...Xr(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Ao(e)},...Gr(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...Gr(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...o}}),Vr=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),Ue=e=>({"&-filled":{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},...Vr(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...Vr(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}});var Fo=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var _r=e=>{let{paddingBlockLG:o,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:t}=e;return {padding:`${unit(o)} ${unit(t)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},Ur=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Te=e=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${unit(e.paddingBlock)} ${unit(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...Fo(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{..._r(e)},"&-sm":{...Ur(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Ho=e=>{let{componentCls:o,antCls:r}=e;return {position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:{..._r(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...Ur(e)},[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${unit(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${unit(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[o]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:{display:"block",...br(),[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
41
+ & > ${o}-affix-wrapper,
42
+ & > ${o}-number-affix-wrapper,
43
+ & > ${r}-picker-range
44
+ `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[o]:{float:"none"},[`& > ${r}-select > ${r}-select-selector,
45
+ & > ${r}-select-auto-complete ${o},
46
+ & > ${r}-cascader-picker ${o},
47
+ & > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child,
48
+ & > ${r}-select:first-child > ${r}-select-selector,
49
+ & > ${r}-select-auto-complete:first-child ${o},
50
+ & > ${r}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
51
+ & > ${r}-select:last-child > ${r}-select-selector,
52
+ & > ${r}-cascader-picker:last-child ${o},
53
+ & > ${r}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}}},Zn=e=>{let{componentCls:o,controlHeightSM:r,lineWidth:n,calc:t}=e,i=t(r).sub(t(n).mul(2)).sub(16).div(2).equal();return {[o]:{...q(e),...Te(e),...Ve(e),..._e(e),...Xe(e),'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:r,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}}},ei=e=>{let{componentCls:o}=e;return {[`${o}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${unit(e.inputAffixPadding)}`}}}},oi=e=>{let{componentCls:o,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:t,colorIcon:l,colorIconHover:i,iconCls:a}=e,c=`${o}-affix-wrapper`,s=`${o}-affix-wrapper-disabled`;return {[c]:{...Te(e),display:"inline-flex",[`&:not(${o}-disabled):hover`]:{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${o}`]:{padding:0},[`> input${o}, > textarea${o}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[o]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}},...ei(e),[`${a}${o}-password-icon`]:{color:l,cursor:"pointer",transition:`all ${t}`,"&:hover":{color:i}}},[s]:{[`${a}${o}-password-icon`]:{color:l,cursor:"not-allowed","&:hover":{color:l}}}}},ri=e=>{let{componentCls:o,borderRadiusLG:r,borderRadiusSM:n}=e;return {[`${o}-group`]:{...q(e),...Ho(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:n}},...je(e),...Ue(e),[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}}}}},ti=e=>{let{componentCls:o,antCls:r}=e,n=`${o}-search`;return {[n]:{[o]:{"&:hover, &:focus":{[`+ ${o}-group-addon ${n}-button:not(${r}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${o}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${o}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${o}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button,
54
+ > ${o},
55
+ ${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},ni=e=>{let{componentCls:o,paddingLG:r}=e,n=`${o}-textarea`;return {[n]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
56
+ &-allow-clear > ${o},
57
+ &-affix-wrapper${n}-has-feedback ${o}
58
+ `]:{paddingInlineEnd:r},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},ii=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}};K("Input",e=>{let o=mergeToken(e,Oe(e));return [Zn(o),ni(o),oi(o),ri(o),ti(o),ii(o),De(o)]},Ge,{resetFont:false});var qr=e=>{let o=e.handleVisible??"auto",r=e.controlHeightSM-e.lineWidth*2;return {...Ge(e),controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:o,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new TinyColor(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:o===true?1:0,handleVisibleWidth:o===true?r:0}};var Kr=({componentCls:e,borderRadiusSM:o,borderRadiusLG:r},n)=>{let t=n==="lg"?r:o;return {[`&-${n}`]:{[`${e}-handler-wrap`]:{borderStartEndRadius:t,borderEndEndRadius:t},[`${e}-handler-up`]:{borderStartEndRadius:t},[`${e}-handler-down`]:{borderEndEndRadius:t}}}},li=e=>{let{componentCls:o,lineWidth:r,lineType:n,borderRadius:t,inputFontSizeSM:l,inputFontSizeLG:i,controlHeightLG:a,controlHeightSM:c,colorError:s,paddingInlineSM:p,paddingBlockSM:d,paddingBlockLG:g,paddingInlineLG:S,colorTextDescription:x,motionDurationMid:h,handleHoverColor:z,handleOpacity:f,paddingInline:L,paddingBlock:B,handleBg:m,handleActiveBg:Y,colorTextDisabled:pe,borderRadiusSM:A,borderRadiusLG:J,controlWidth:de,handleBorderColor:V,filledHandleBg:j,lineHeightLG:X,calc:D}=e;return [{[o]:{...q(e),...Te(e),display:"inline-block",width:de,margin:0,padding:0,borderRadius:t,...Ve(e,{[`${o}-handler-wrap`]:{background:m,[`${o}-handler-down`]:{borderBlockStart:`${unit(r)} ${n} ${V}`}}}),..._e(e,{[`${o}-handler-wrap`]:{background:j,[`${o}-handler-down`]:{borderBlockStart:`${unit(r)} ${n} ${V}`}},"&:focus-within":{[`${o}-handler-wrap`]:{background:m}}}),...Xe(e),"&-rtl":{direction:"rtl",[`${o}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:X,borderRadius:J,[`input${o}-input`]:{height:D(a).sub(D(r).mul(2)).equal(),padding:`${unit(g)} ${unit(S)}`}},"&-sm":{padding:0,fontSize:l,borderRadius:A,[`input${o}-input`]:{height:D(c).sub(D(r).mul(2)).equal(),padding:`${unit(d)} ${unit(p)}`}},"&-out-of-range":{[`${o}-input-wrap`]:{input:{color:s}}},"&-group":{...q(e),...Ho(e),"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${o}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${o}-group-addon`]:{borderRadius:J,fontSize:e.fontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:A}},...je(e),...Ue(e),[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}},[`&-disabled ${o}-input`]:{cursor:"not-allowed"},[o]:{"&-input":{...q(e),width:"100%",padding:`${unit(B)} ${unit(L)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:t,outline:0,transition:`all ${h} linear`,appearance:"textfield",fontSize:"inherit",...Fo(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}}},[`&:hover ${o}-handler-wrap, &-focused ${o}-handler-wrap`]:{width:e.handleWidth,opacity:1}}},{[o]:{[`${o}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:f,height:"100%",borderStartStartRadius:0,borderStartEndRadius:t,borderEndEndRadius:t,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${h}`,overflow:"hidden",[`${o}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
59
+ ${o}-handler-up-inner,
60
+ ${o}-handler-down-inner
61
+ `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${o}-handler`]:{height:"50%",overflow:"hidden",color:x,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${unit(r)} ${n} ${V}`,transition:`all ${h} linear`,"&:active":{background:Y},"&:hover":{height:"60%",[`
62
+ ${o}-handler-up-inner,
63
+ ${o}-handler-down-inner
64
+ `]:{color:z}},"&-up-inner, &-down-inner":{...Ro(),color:x,transition:`all ${h} linear`,userSelect:"none"}},[`${o}-handler-up`]:{borderStartEndRadius:t},[`${o}-handler-down`]:{borderEndEndRadius:t},...Kr(e,"lg"),...Kr(e,"sm"),"&-disabled, &-readonly":{[`${o}-handler-wrap`]:{display:"none"},[`${o}-input`]:{color:"inherit"}},[`
65
+ ${o}-handler-up-disabled,
66
+ ${o}-handler-down-disabled
67
+ `]:{cursor:"not-allowed"},[`
68
+ ${o}-handler-up-disabled:hover &-handler-up-inner,
69
+ ${o}-handler-down-disabled:hover &-handler-down-inner
70
+ `]:{color:pe}}}]},si=e=>{let{componentCls:o,paddingBlock:r,paddingInline:n,inputAffixPadding:t,controlWidth:l,borderRadiusLG:i,borderRadiusSM:a,paddingInlineLG:c,paddingInlineSM:s,paddingBlockLG:p,paddingBlockSM:d,motionDurationMid:g}=e;return {[`${o}-affix-wrapper`]:{[`input${o}-input`]:{padding:`${unit(r)} 0`},...Te(e),position:"relative",display:"inline-flex",alignItems:"center",width:l,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:i,paddingInlineStart:c,[`input${o}-input`]:{padding:`${unit(p)} 0`}},"&-sm":{borderRadius:a,paddingInlineStart:s,[`input${o}-input`]:{padding:`${unit(d)} 0`}},[`&:not(${o}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${o}-disabled`]:{background:"transparent"},[`> div${o}`]:{width:"100%",border:"none",outline:"none",[`&${o}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${o}-handler-wrap`]:{zIndex:2},[o]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:t},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:n,marginInlineStart:t,transition:`margin ${g}`}},[`&:hover ${o}-handler-wrap, &-focused ${o}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${o}-affix-wrapper-without-controls):hover ${o}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(n).equal()}}}},Qr=K("InputNumber",e=>{let o=mergeToken(e,Oe(e));return [li(o),si(o),De(o)]},qr,{unitless:{handleOpacity:true}});var Yr=u.forwardRef((e,o)=>{if(process.env.NODE_ENV!=="production"){let Z=k("InputNumber");Z.deprecated(!("bordered"in e),"bordered","variant"),Z(!(e.type==="number"&&e.changeOnWheel),"usage","When `type=number` is used together with `changeOnWheel`, changeOnWheel may not work properly. Please delete `type=number` if it is not necessary.");}let{getPrefixCls:r,direction:n}=u.useContext(v),t=u.useRef(null);u.useImperativeHandle(o,()=>t.current);let{className:l,rootClassName:i,size:a,disabled:c,prefixCls:s,addonBefore:p,addonAfter:d,prefix:g,suffix:S,bordered:x,readOnly:h,status:z,controls:f,variant:L,...B}=e,m=r("input-number",s),Y=Nr(m),[pe,A,J]=Qr(m,Y),{compactSize:de,compactItemClassnames:V}=Br(m,n),j=u.createElement(pi,{className:`${m}-handler-up-inner`}),X=u.createElement(ci,{className:`${m}-handler-down-inner`}),D=typeof f=="boolean"?f:void 0;typeof f=="object"&&(j=typeof f.upIcon>"u"?j:u.createElement("span",{className:`${m}-handler-up-inner`},f.upIcon),X=typeof f.downIcon>"u"?X:u.createElement("span",{className:`${m}-handler-down-inner`},f.downIcon));let{hasFeedback:me,status:qe,isFormItemInput:Ke,feedbackIcon:Qe}=u.useContext(Ce),Pe=Hr(qe,z),O=Eo(Z=>a??de??Z),Ye=u.useContext(Be),Je=c??Ye,[ve,$e]=Wr("inputNumber",L,x),Ze=me&&u.createElement(u.Fragment,null,Qe),eo=ce({[`${m}-lg`]:O==="large",[`${m}-sm`]:O==="small",[`${m}-rtl`]:n==="rtl",[`${m}-in-form-item`]:Ke},A),oo=`${m}-group`,ro=u.createElement(di,{ref:t,disabled:Je,className:ce(J,Y,l,i,V),upHandler:j,downHandler:X,prefixCls:m,readOnly:h,controls:D,prefix:g,suffix:Ze||S,addonBefore:p&&u.createElement(zo,{form:true,space:true},p),addonAfter:d&&u.createElement(zo,{form:true,space:true},d),classNames:{input:eo,variant:ce({[`${m}-${ve}`]:$e},Lo(m,Pe,me)),affixWrapper:ce({[`${m}-affix-wrapper-sm`]:O==="small",[`${m}-affix-wrapper-lg`]:O==="large",[`${m}-affix-wrapper-rtl`]:n==="rtl",[`${m}-affix-wrapper-without-controls`]:f===false},A),wrapper:ce({[`${oo}-rtl`]:n==="rtl"},A),groupWrapper:ce({[`${m}-group-wrapper-sm`]:O==="small",[`${m}-group-wrapper-lg`]:O==="large",[`${m}-group-wrapper-rtl`]:n==="rtl",[`${m}-group-wrapper-${ve}`]:$e},Lo(`${m}-group-wrapper`,Pe,me),A)},...B});return pe(ro)}),No=Yr,mi=e=>u.createElement(Mr,{theme:{components:{InputNumber:{handleVisible:true}}}},u.createElement(Yr,{...e}));process.env.NODE_ENV!=="production"&&(No.displayName="InputNumber");No._InternalPanelDoNotUseOrYouWillBeFired=mi;var Jr=No;var Si=({prefixCls:e,min:o=0,max:r=100,value:n,onChange:t,className:l,formatter:i})=>{let a=`${e}-steppers`,[c,s]=useState(n);return useEffect(()=>{Number.isNaN(n)||s(n);},[n]),u__default.createElement(Jr,{className:ce(a,l),min:o,max:r,value:c,formatter:i,size:"small",onChange:p=>{n||s(p||0),t?.(p);}})},Zr=Si;var hi=({prefixCls:e,value:o,onChange:r})=>{let n=`${e}-alpha-input`,[t,l]=useState(io(o||"#000"));useEffect(()=>{o&&l(o);},[o]);let i=a=>{let c=t.toHsb();c.a=(a||0)/100;let s=io(c);o||l(s),r?.(s);};return u__default.createElement(Zr,{value:jo(t),prefixCls:e,formatter:a=>`${a}%`,className:n,onChange:i})},Kc=hi;export{Kc as default};
@@ -0,0 +1,9 @@
1
+ import type { FC } from 'react';
2
+ import type { AggregationColor } from '../color';
3
+ interface ColorClearProps {
4
+ prefixCls: string;
5
+ value?: AggregationColor;
6
+ onChange?: (value: AggregationColor) => void;
7
+ }
8
+ declare const ColorClear: FC<ColorClearProps>;
9
+ export default ColorClear;
@@ -0,0 +1 @@
1
+ import C from'react';import {Color}from'@rc-component/color-picker';var c=(r,o)=>r?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",g=(r,o)=>r?c(r,o):"",l=class r{metaColor;colors;cleared=false;constructor(o){if(o instanceof r){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(t=>({color:new r(t.color),percent:t.percent})),this.cleared=o.cleared;return}let e=Array.isArray(o);e&&o.length?(this.colors=o.map(({color:t,percent:n})=>({color:new r(t),percent:n})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(e?"":o),(!o||e&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return g(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(t=>`${t.color.toRgbString()} ${t.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((e,t)=>{let n=o.colors[t];return e.percent===n.percent&&e.color.equals(n.color)}):this.toHexString()===o.toHexString()}};var a=r=>r instanceof l?r:new l(r);var p=({prefixCls:r,value:o,onChange:e})=>{let t=()=>{if(e&&o&&!o.cleared){let n=o.toHsb();n.a=0;let i=a(n);i.cleared=true,e(i);}};return C.createElement("div",{className:`${r}-clear`,onClick:t})},H=p;export{H as default};
@@ -0,0 +1,9 @@
1
+ import type { FC } from 'react';
2
+ import type { AggregationColor } from '../color';
3
+ interface ColorHexInputProps {
4
+ prefixCls: string;
5
+ value?: AggregationColor;
6
+ onChange?: (value: AggregationColor) => void;
7
+ }
8
+ declare const ColorHexInput: FC<ColorHexInputProps>;
9
+ export default ColorHexInput;
@@ -0,0 +1,66 @@
1
+ import*as N from'react';import N__default,{createContext,useContext,forwardRef,useRef,useEffect,useState,useMemo,Children}from'react';import Je from'classnames';import Mi,{resetWarned}from'rc-util/lib/warning';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import ha from'@ant-design/icons/lib/components/Context';import Sa from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import Hi from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Yi from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import xa from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import As,{Provider}from'rc-motion';import'rc-field-form';import oi from'rc-util/lib/omit';import ds from'rc-input';import {triggerFocus}from'rc-input/lib/utils/commonUtils';import {composeRef,useComposeRef,supportRef,getNodeRef}from'rc-util/lib/ref';import Ql from'rc-util/lib/Children/toArray';import os from'@ant-design/icons/CloseCircleFilled';import vn from'rc-util/lib/hooks/useEvent';import ys from'rc-util/lib/pickAttrs';import Ln from'rc-util/lib/raf';import hs from'@ant-design/icons/EyeInvisibleOutlined';import Ts from'@ant-design/icons/EyeOutlined';import Pc from'@ant-design/icons/SearchOutlined';import Ks from'rc-util/lib/Dom/isVisible';import*as Ms from'react-dom';import {unmount,render}from'rc-util/lib/React/render';import rl from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import ql from'@ant-design/icons/RightOutlined';import dl from'rc-collapse';import wc from'rc-textarea';function pr(){}var Se=null;function Li(){Se=null,resetWarned();}var dt=pr;process.env.NODE_ENV!=="production"&&(dt=(e,o,t)=>{Mi(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&Li();});var mt=N.createContext({}),O=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=N.useContext(mt),t=(n,r,i)=>{if(!n)if(o===false&&r==="deprecated"){let a=Se;Se||(Se={}),Se[e]=Se[e]||[],Se[e].includes(i||"")||Se[e].push(i||""),a||console.warn("[swiftcrab] There exists deprecated usage in your code:",Se);}else dt(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=pr,e},Pe=dt;var dr=createContext(void 0);({lang:{...Hi}});var ee="${label} is not a valid ${type}",Ni={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:ee,method:ee,array:ee,object:ee,number:ee,date:ee,boolean:ee,integer:ee,float:ee,regexp:ee,email:ee,url:ee,hex:ee},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}"}}}},Oe=Ni;({...Oe.Modal});var Oo=[],ur=()=>Oo.reduce((e,o)=>({...e,...o}),Oe.Modal);function fr(e){if(e){let o={...e};return Oo.push(o),ur(),()=>{Oo=Oo.filter(t=>t!==o),ur();}}({...Oe.Modal});}var Di=createContext(void 0),lo=Di;var ft="internalMark",Cr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&O("LocaleProvider")(n===ft,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),N.useEffect(()=>fr(o?.Modal),[o]);let r=N.useMemo(()=>({...o,exist:true}),[o]);return N.createElement(lo.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(Cr.displayName="LocaleProvider");var yr=Cr;var gt={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"},Wi={...gt,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},xe=Wi;function yt(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:i,colorInfo:a,colorPrimary:s,colorBgBase:c,colorTextBase:l}=e,p=o(s),d=o(n),m=o(r),C=o(i),u=o(a),x=t(c,l),h=e.colorLink||e.colorInfo,y=o(h),$=new TinyColor(C[1]).mix(new TinyColor(C[3]),50).toHexString();return {...x,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:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:C[1],colorErrorBgHover:C[2],colorErrorBgFilledHover:$,colorErrorBgActive:C[3],colorErrorBorder:C[3],colorErrorBorderHover:C[4],colorErrorHover:C[5],colorError:C[6],colorErrorActive:C[7],colorErrorTextHover:C[8],colorErrorText:C[9],colorErrorTextActive:C[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[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:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Vi=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}},Sr=Vi;function St(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,...Sr(n)}}var ji=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},xr=ji;function je(e){return (e+8)/e}function xt(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:je(t)}))}var Ki=e=>{let o=xt(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],i=t[0],a=t[2],s=n[1],c=n[0],l=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:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*r),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},br=Ki;function bt(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 oe=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Ke=(e,o)=>new TinyColor(e).darken(o).toHexString();var Tr=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]}},vr=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:oe(n,.88),colorTextSecondary:oe(n,.65),colorTextTertiary:oe(n,.45),colorTextQuaternary:oe(n,.25),colorFill:oe(n,.15),colorFillSecondary:oe(n,.06),colorFillTertiary:oe(n,.04),colorFillQuaternary:oe(n,.02),colorBgSolid:oe(n,1),colorBgSolidHover:oe(n,.75),colorBgSolidActive:oe(n,.95),colorBgLayout:Ke(t,4),colorBgContainer:Ke(t,0),colorBgElevated:Ke(t,0),colorBgSpotlight:oe(n,.85),colorBgBlur:"transparent",colorBorder:Ke(t,15),colorBorderSecondary:Ke(t,6)}};function vt(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(gt).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,...yt(e,{generateColorPalettes:Tr,generateNeutralColorPalettes:vr}),...br(e.fontSize),...bt(e),...xr(e),...St(e)}}var Ho=createTheme(vt),co={token:xe,override:{override:xe},hashed:true},po=N__default.createContext(co);var Ie="ant",mo="anticon",Pt=["outlined","borderless","filled"],Zi=(e,o)=>o||(e?`${Ie}-${e}`:Ie),P=N.createContext({getPrefixCls:Zi,iconPrefixCls:mo}),{Consumer:Qi}=P;var ea=`-ant-${Date.now()}-${Math.random()}`;function oa(e,o){let t={},n=(a,s)=>{let c=a.clone();return c=s?.(c)||c,c.toRgbString()},r=(a,s)=>{let c=new TinyColor(a),l=generate(c.toRgbString());t[`${s}-color`]=n(c),t[`${s}-color-disabled`]=l[1],t[`${s}-color-hover`]=l[4],t[`${s}-color-active`]=l[6],t[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=l[0],t[`${s}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),s=generate(a.toRgbString());s.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(a,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(a,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(a,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,l=>l.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
4
+ :root {
5
+ ${Object.keys(t).map(a=>`--${e}-${a}: ${t[a]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function $r(e,o){let t=oa(e,o);Yi()?updateCSS(t,`${ea}-dynamic-theme`):Pe(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var $t=N.createContext(false),Rr=({children:e,disabled:o})=>{let t=N.useContext($t);return N.createElement($t.Provider,{value:o??t},e)},ue=$t;var Rt=N.createContext(void 0),wr=({children:e,size:o})=>{let t=N.useContext(Rt);return N.createElement(Rt.Provider,{value:o||t},e)},He=Rt;function ta(){let e=useContext(ue),o=useContext(He);return {componentDisabled:e,componentSize:o}}var Mr=ta;var Lr={version:"0.0.2"};var zr=Lr.version;function wt(e){return e>=0&&e<=255}function na(e,o){let{r:t,g:n,b:r,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:s,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-a*(1-l))/l),d=Math.round((n-s*(1-l))/l),m=Math.round((r-c*(1-l))/l);if(wt(p)&&wt(d)&&wt(m))return new TinyColor({r:p,g:d,b:m,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var uo=na;function ko(e){let{override:o,...t}=e,n={...o};Object.keys(xe).forEach(m=>{delete n[m];});let r={...t,...n},i=480,a=576,s=768,c=992,l=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:uo(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:uo(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:uo(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:uo(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:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
21
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
22
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
23
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
24
+ `,boxShadowDrawerRight:`
25
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
26
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
27
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
28
+ `,boxShadowDrawerLeft:`
29
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
30
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
31
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
32
+ `,boxShadowDrawerUp:`
33
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
34
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
35
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
36
+ `,boxShadowDrawerDown:`
37
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
38
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
39
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
40
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var Mt={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},sa={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},la={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Or=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...i}=o,a={...n,override:r};return a=ko(a),i&&Object.entries(i).forEach(([s,c])=>{let{theme:l,...p}=c,d=p;l&&(d=Or({...a,...p},{override:p},l)),a[s]=d;}),a};function Y(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=N__default.useContext(po),i=`${zr}-${o||""}`,a=t||Ho,[s,c,l]=useCacheToken(a,[xe,e],{salt:i,override:n,getComputedToken:Or,formatToken:ko,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Mt,ignore:sa,preserve:la}});return [a,l,o?c:"",s,r]}var fo=(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}),go=()=>({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"}}),Hr=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Ar=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"}}}),kr=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...s,...a,[r]:a}}},pa=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Nr=e=>({"&:focus-visible":{...pa(e)}}),No=e=>({[`.${e}`]:{...go(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:le,genComponentStyleHook:Bt,genSubStyleComponent:Lt}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(P);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=Y();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(P);return e??{}},getResetStyles:(e,o)=>[{"&":Ar(e)},No(o?.prefix.iconPrefixCls??mo)],getCommonStyle:kr,getCompUnitless:(()=>Mt)});var ua=(e,o)=>{let[t,n]=Y();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[No(e)])},Fo=ua;var ga={...N},{useId:Dr}=ga,Ca=()=>"",ya=typeof Dr>"u"?Ca:Dr,Gr=ya;function zt(e,o,t){let n=O("ConfigProvider"),r=e||{},i=r.inherit===false||!o?{...co,hashed:o?.hashed??co.hashed,cssVar:o?.cssVar}:o,a=Gr();if(process.env.NODE_ENV!=="production"){let s=r.cssVar||i.cssVar,c=!!(typeof r.cssVar=="object"&&r.cssVar?.key||a);n(!s||c,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return Sa(()=>{if(!e)return o;let s={...i.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let c=`css-var-${a.replace(/:/g,"")}`,l=(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||c};return {...i,...r,token:{...i.token,...r.token},components:s,cssVar:l}},[r,i],(s,c)=>s.some((l,p)=>{let d=c[p];return !xa(l,d,true)}))}function Ot(e){let{children:o}=e,[,t]=Y(),{motion:n}=t,r=N.useRef(false);return r.current=r.current||n===false,r.current?N.createElement(Provider,{motion:n},o):o}var Vr=N.memo(({dropdownMatchSelectWidth:e})=>(O("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Vr.displayName="PropWarning");var jr=process.env.NODE_ENV!=="production"?Vr:()=>null;var Ht=false;process.env.NODE_ENV!=="production"?e=>{Pe(!Ht,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var Pa=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Xr;function wa(){return Xr||Ie}function Ea(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Ma=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Xr=o),n&&(Ea(n)?(Pe(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),$r(wa(),n)):n);};var Ba=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:i,form:a,locale:s,componentSize:c,direction:l,space:p,splitter:d,virtual:m,dropdownMatchSelectWidth:C,popupMatchSelectWidth:u,popupOverflow:x,legacyLocale:h,parentContext:y,iconPrefixCls:$,theme:E,componentDisabled:M,segmented:D,statistic:I,spin:L,calendar:f,carousel:b,cascader:g,collapse:S,typography:z,checkbox:G,descriptions:H,divider:A,drawer:k,skeleton:Z,steps:R,image:de,layout:w,list:Be,mentions:ve,modal:Q,progress:T,result:B,slider:v,breadcrumb:J,menu:F,pagination:ge,input:Ce,textArea:Le,empty:ze,badge:U,radio:ho,rate:rt,switch:To,transfer:nt,avatar:vo,message:Po,tag:it,table:no,card:Io,tabs:$o,timeline:at,timePicker:st,upload:Ro,notification:wo,tree:io,colorPicker:W,datePicker:lt,rangePicker:yi,flex:Si,wave:xi,dropdown:bi,warning:hi,tour:Ti,variant:vi,inputNumber:Pi,treeSelect:Ii}=e,ar=N.useCallback((j,me)=>{let{prefixCls:Ge}=e;if(me)return me;let We=Ge||y.getPrefixCls("");return j?`${We}-${j}`:We},[y.getPrefixCls,e.prefixCls]),ao=$||y.iconPrefixCls||mo,so=t||y.csp;Fo(ao,so);let Eo=zt(E,y.theme,{prefixCls:ar("")});process.env.NODE_ENV!=="production"&&(Ht=Ht||!!Eo);let ct={csp:so,autoInsertSpaceInButton:n,alert:r,anchor:i,locale:s||h,direction:l,space:p,splitter:d,virtual:m,popupMatchSelectWidth:u??C,popupOverflow:x,getPrefixCls:ar,iconPrefixCls:ao,theme:Eo,segmented:D,statistic:I,spin:L,calendar:f,carousel:b,cascader:g,collapse:S,typography:z,checkbox:G,descriptions:H,divider:A,drawer:k,skeleton:Z,steps:R,image:de,input:Ce,textArea:Le,layout:w,list:Be,mentions:ve,modal:Q,progress:T,result:B,slider:v,breadcrumb:J,menu:F,pagination:ge,empty:ze,badge:U,radio:ho,rate:rt,switch:To,transfer:nt,avatar:vo,message:Po,tag:it,table:no,card:Io,tabs:$o,timeline:at,timePicker:st,upload:Ro,notification:wo,tree:io,colorPicker:W,datePicker:lt,rangePicker:yi,flex:Si,wave:xi,dropdown:bi,warning:hi,tour:Ti,variant:vi,inputNumber:Pi,treeSelect:Ii};process.env.NODE_ENV!=="production"&&O("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let Fe={...y};Object.keys(ct).forEach(j=>{ct[j]!==void 0&&(Fe[j]=ct[j]);}),Pa.forEach(j=>{let me=e[j];me&&(Fe[j]=me);}),typeof n<"u"&&(Fe.button={autoInsertSpace:n,...Fe.button});let De=Sa(()=>Fe,Fe,(j,me)=>{let Ge=Object.keys(j),We=Object.keys(me);return Ge.length!==We.length||Ge.some(Mo=>j[Mo]!==me[Mo])}),$i=N.useMemo(()=>({prefixCls:ao,csp:so}),[ao,so]),_=N.createElement(N.Fragment,null,N.createElement(jr,{dropdownMatchSelectWidth:C}),o),sr=N.useMemo(()=>merge(Oe.Form?.defaultValidateMessages||{},De.locale?.Form?.defaultValidateMessages||{},De.form?.validateMessages||{},a?.validateMessages||{}),[De,a?.validateMessages]);Object.keys(sr).length>0&&(_=N.createElement(dr.Provider,{value:sr},_)),s&&(_=N.createElement(yr,{locale:s,_ANT_MARK__:ft},_)),(_=N.createElement(ha.Provider,{value:$i},_)),c&&(_=N.createElement(wr,{size:c},_)),_=N.createElement(Ot,null,_);let Ri=N.useMemo(()=>{let{algorithm:j,token:me,components:Ge,cssVar:We,...Mo}=Eo||{},lr=j&&(!Array.isArray(j)||j.length>0)?createTheme(j):Ho,pt={};Object.entries(Ge||{}).forEach(([wi,Ei])=>{let ye={...Ei};"algorithm"in ye&&(ye.algorithm===true?ye.theme=lr:(Array.isArray(ye.algorithm)||typeof ye.algorithm=="function")&&(ye.theme=createTheme(ye.algorithm)),delete ye.algorithm),pt[wi]=ye;});let cr={...xe,...me};return {...Mo,theme:lr,token:cr,components:pt,override:{override:cr,...pt},cssVar:We}},[Eo]);return E&&(_=N.createElement(po.Provider,{value:Ri},_)),De.warning&&(_=N.createElement(mt.Provider,{value:De.warning},_)),M!==void 0&&(_=N.createElement(Rr,{disabled:M},_)),N.createElement(P.Provider,{value:De},_)},_e=e=>{let o=N.useContext(P),t=N.useContext(lo);return N.createElement(Ba,{parentContext:o,legacyLocale:t,...e})};_e.ConfigContext=P;_e.SizeContext=He;_e.config=Ma;_e.useConfig=Mr;Object.defineProperty(_e,"SizeContext",{get:()=>(Pe(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),He)});process.env.NODE_ENV!=="production"&&(_e.displayName="ConfigProvider");N.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});N.createContext(null);N.createContext({prefixCls:""});var te=N.createContext({});process.env.NODE_ENV!=="production"&&(te.displayName="FormItemInputContext");var Ur=({children:e,status:o,override:t})=>{let n=N.useContext(te),r=N.useMemo(()=>{let i={...n};return t&&delete i.isFormItemInput,o&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[o,t,n]);return N.createElement(te.Provider,{value:r},e)},_r=N.createContext(void 0);function La(e,o,t){let{focusElCls:n,focus:r,borderElCls:i}=t,a=i?"> *":"",s=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[s]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function za(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 Go(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...La(e,n,o),...za(t,n,o)}}}function Wo(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var Vo=e=>{let{controlHeight:o,fontSize:t,lineHeight:n,lineWidth:r,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:p,controlPaddingHorizontal:d,colorFillAlter:m,colorPrimaryHover:C,colorPrimary:u,controlOutlineWidth:x,controlOutline:h,colorErrorOutline:y,colorWarningOutline:$,colorBgContainer:E}=e;return {paddingBlock:Math.max(Math.round((o-t*n)/2*10)/10-r,0),paddingBlockSM:Math.max(Math.round((i-t*n)/2*10)/10-r,0),paddingBlockLG:Math.ceil((a-s*c)/2*10)/10-r,paddingInline:l-r,paddingInlineSM:p-r,paddingInlineLG:d-r,addonBg:m,activeBorderColor:u,hoverBorderColor:C,activeShadow:`0 0 0 ${x}px ${h}`,errorActiveShadow:`0 0 0 ${x}px ${y}`,warningActiveShadow:`0 0 0 ${x}px ${$}`,hoverBg:E,activeBg:E,inputFontSize:t,inputFontSizeLG:s,inputFontSizeSM:t}};var Oa=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),At=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...Oa(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),Jr=(e,o)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:o.borderColor,"&:hover":{borderColor:o.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0,backgroundColor:e.activeBg}}),qr=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...Jr(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),en=(e,o)=>({"&-outlined":{...Jr(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...At(e)},...qr(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...qr(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),Zr=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),on=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...Zr(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...Zr(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...At(e)}}}}),tn=(e,o)=>{let{componentCls:t}=e;return {"&-borderless":{background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${t}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${t}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${t}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...o}}},rn=(e,o)=>({background:o.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:o?.inputColor},"&:hover":{background:o.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:o.activeBorderColor,backgroundColor:e.activeBg}}),Qr=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...rn(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),nn=(e,o)=>({"&-filled":{...rn(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...At(e)},...Qr(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...Qr(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...o}}),Yr=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),an=e=>({"&-filled":{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},...Yr(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...Yr(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}});var Ha=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var sn=e=>{let{paddingBlockLG:o,lineHeightLG:t,borderRadiusLG:n,paddingInlineLG:r}=e;return {padding:`${unit(o)} ${unit(r)}`,fontSize:e.inputFontSizeLG,lineHeight:t,borderRadius:n}},ln=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),cn=e=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${unit(e.paddingBlock)} ${unit(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...Ha(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...sn(e)},"&-sm":{...ln(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Aa=e=>{let{componentCls:o,antCls:t}=e;return {position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:{...sn(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...ln(e)},[`&-lg ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${unit(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${t}-select`]:{margin:`${unit(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${t}-select-single:not(${t}-select-customize-input):not(${t}-pagination-size-changer)`]:{[`${t}-select-selector`]:{backgroundColor:"inherit",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${t}-cascader-picker`]:{margin:`-9px ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${t}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[o]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:{display:"block",...Hr(),[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
41
+ & > ${o}-affix-wrapper,
42
+ & > ${o}-number-affix-wrapper,
43
+ & > ${t}-picker-range
44
+ `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[o]:{float:"none"},[`& > ${t}-select > ${t}-select-selector,
45
+ & > ${t}-select-auto-complete ${o},
46
+ & > ${t}-cascader-picker ${o},
47
+ & > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${t}-select-focused`]:{zIndex:1},[`& > ${t}-select > ${t}-select-arrow`]:{zIndex:1},[`& > *:first-child,
48
+ & > ${t}-select:first-child > ${t}-select-selector,
49
+ & > ${t}-select-auto-complete:first-child ${o},
50
+ & > ${t}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
51
+ & > ${t}-select:last-child > ${t}-select-selector,
52
+ & > ${t}-cascader-picker:last-child ${o},
53
+ & > ${t}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${t}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}}},ka=e=>{let{componentCls:o,controlHeightSM:t,lineWidth:n,calc:r}=e,a=r(t).sub(r(n).mul(2)).sub(16).div(2).equal();return {[o]:{...fo(e),...cn(e),...en(e),...nn(e),...tn(e),'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:t,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}}},Na=e=>{let{componentCls:o}=e;return {[`${o}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${unit(e.inputAffixPadding)}`}}}},Fa=e=>{let{componentCls:o,inputAffixPadding:t,colorTextDescription:n,motionDurationSlow:r,colorIcon:i,colorIconHover:a,iconCls:s}=e,c=`${o}-affix-wrapper`,l=`${o}-affix-wrapper-disabled`;return {[c]:{...cn(e),display:"inline-flex",[`&:not(${o}-disabled):hover`]:{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${o}`]:{padding:0},[`> input${o}, > textarea${o}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[o]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:t},"&-suffix":{marginInlineStart:t}},...Na(e),[`${s}${o}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}},[l]:{[`${s}${o}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},Da=e=>{let{componentCls:o,borderRadiusLG:t,borderRadiusSM:n}=e;return {[`${o}-group`]:{...fo(e),...Aa(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:t,fontSize:e.inputFontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:n}},...on(e),...an(e),[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}}}}},Ga=e=>{let{componentCls:o,antCls:t}=e,n=`${o}-search`;return {[n]:{[o]:{"&:hover, &:focus":{[`+ ${o}-group-addon ${n}-button:not(${t}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${o}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${t}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${t}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${o}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${o}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button,
54
+ > ${o},
55
+ ${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},Wa=e=>{let{componentCls:o,paddingLG:t}=e,n=`${o}-textarea`;return {[n]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
56
+ &-allow-clear > ${o},
57
+ &-affix-wrapper${n}-has-feedback ${o}
58
+ `]:{paddingInlineEnd:t},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},Va=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}},qe=le("Input",e=>{let o=mergeToken(e,Wo(e));return [ka(o),Wa(o),Fa(o),Da(o),Ga(o),Va(o),Go(o)]},Vo,{resetFont:false});var Xa=e=>{let{getPrefixCls:o,direction:t}=useContext(P),{prefixCls:n,className:r}=e,i=o("input-group",n),a=o("input"),[s,c]=qe(a),l=Je(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:t==="rtl"},c,r),p=useContext(te),d=useMemo(()=>({...p,isFormItemInput:false}),[p]);return process.env.NODE_ENV!=="production"&&O("Input.Group").deprecated(false,"Input.Group","Space.Compact"),s(N.createElement("span",{className:l,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},N.createElement(te.Provider,{value:d},e.children)))},dn=Xa;var Ua=e=>{let o=N__default.useContext(He);return N__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},re=Ua;var _a=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},un=_a;var qa=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"}}}},Za=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}}}};le("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [qa(o),Za(o),un(o)]},()=>({}),{resetStyle:false});var fn=N.createContext(null),Ze=(e,o)=>{let t=N.useContext(fn),n=N.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:i,isLastItem:a}=t,s=r==="vertical"?"-vertical-":"-";return Je(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}},gn=({children:e})=>N.createElement(fn.Provider,{value:null},e);var Ja=e=>{let{space:o,form:t,children:n}=e;if(n==null)return null;let r=n;return t&&(r=N__default.createElement(Ur,{override:true,status:true},r)),o&&(r=N__default.createElement(gn,null,r)),r},Nt=Ja;var ts=e=>{let o;return typeof e=="object"&&e?.clearIcon?o=e:e&&(o={clearIcon:N__default.createElement(os,null)}),o},jo=ts;function Co(e,o,t){return Je({[`${e}-status-success`]:o==="success",[`${e}-status-warning`]:o==="warning",[`${e}-status-error`]:o==="error",[`${e}-status-validating`]:o==="validating",[`${e}-has-feedback`]:t})}var Qe=(e,o)=>o||e;var ns=e=>{let[,,,,o]=Y();return o?`${e}-css-var`:""},Ye=ns;var is=(e,o,t=void 0)=>{let{variant:n,[e]:r}=N.useContext(P),i=N.useContext(_r),a=r?.variant,s;typeof o<"u"?s=o:t===false?s="borderless":s=i??a??n??"outlined";let c=Pt.includes(s);return [s,c]},Ko=is;function yo(e,o){let t=useRef([]),n=()=>{t.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute("type")==="password"&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value");}));};return useEffect(()=>(o&&n(),()=>t.current.forEach(r=>{r&&clearTimeout(r);})),[]),n}function yn(e){return !!(e.prefix||e.suffix||e.allowClear||e.showCount)}var bn=forwardRef((e,o)=>{let{prefixCls:t,bordered:n=true,status:r,size:i,disabled:a,onBlur:s,onFocus:c,suffix:l,allowClear:p,addonAfter:d,addonBefore:m,className:C,style:u,styles:x,rootClassName:h,onChange:y,classNames:$,variant:E,...M}=e;if(process.env.NODE_ENV!=="production"){let{deprecated:U}=O("Input");U(!("bordered"in e),"bordered","variant");}let{getPrefixCls:D,direction:I,input:L}=N__default.useContext(P),f=D("input",t),b=useRef(null),g=Ye(f),[S,z,G]=qe(f,g),{compactSize:H,compactItemClassnames:A}=Ze(f,I),k=re(U=>i??H??U),Z=N__default.useContext(ue),R=a??Z,{status:de,hasFeedback:w,feedbackIcon:Be}=useContext(te),ve=Qe(de,r),Q=yn(e)||!!w,T=useRef(Q);if(process.env.NODE_ENV!=="production"){let U=O("Input");useEffect(()=>{Q&&!T.current&&U(document.activeElement===b.current?.input,"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),T.current=Q;},[Q]);}let B=yo(b,true),v=U=>{B(),s?.(U);},J=U=>{B(),c?.(U);},F=U=>{B(),y?.(U);},ge=(w||l)&&N__default.createElement(N__default.Fragment,null,l,w&&Be),Ce=jo(p??L?.allowClear),[Le,ze]=Ko("input",E,n);return S(N__default.createElement(ds,{ref:composeRef(o,b),prefixCls:f,autoComplete:L?.autoComplete,...M,disabled:R,onBlur:v,onFocus:J,style:{...L?.style,...u},styles:{...L?.styles,...x},suffix:ge,allowClear:Ce,className:Je(C,h,G,g,A,L?.className),onChange:F,addonBefore:m&&N__default.createElement(Nt,{form:true,space:true},m),addonAfter:d&&N__default.createElement(Nt,{form:true,space:true},d),classNames:{...$,...L?.classNames,input:Je({[`${f}-sm`]:k==="small",[`${f}-lg`]:k==="large",[`${f}-rtl`]:I==="rtl"},$?.input,L?.classNames?.input,z),variant:Je({[`${f}-${Le}`]:ze},Co(f,ve)),affixWrapper:Je({[`${f}-affix-wrapper-sm`]:k==="small",[`${f}-affix-wrapper-lg`]:k==="large",[`${f}-affix-wrapper-rtl`]:I==="rtl"},z),wrapper:Je({[`${f}-group-rtl`]:I==="rtl"},z),groupWrapper:Je({[`${f}-group-wrapper-sm`]:k==="small",[`${f}-group-wrapper-lg`]:k==="large",[`${f}-group-wrapper-rtl`]:I==="rtl",[`${f}-group-wrapper-${Le}`]:ze},Co(`${f}-group-wrapper`,ve,w),z)}}))});process.env.NODE_ENV!=="production"&&(bn.displayName="Input");var Re=bn;var us=e=>{let{componentCls:o,paddingXS:t}=e;return {[o]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:t,"&-rtl":{direction:"rtl"},[`${o}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${o}-sm ${o}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${o}-lg ${o}-input`]:{paddingInline:e.paddingXS}}}},hn=le(["Input","OTP"],e=>{let o=mergeToken(e,Wo(e));return [us(o)]},Vo);var gs=N.forwardRef((e,o)=>{let{value:t,onChange:n,onActiveChange:r,index:i,mask:a,...s}=e,c=t&&typeof a=="string"?a:t,l=u=>{n(i,u.target.value);},p=N.useRef(null);N.useImperativeHandle(o,()=>p.current);let d=()=>{Ln(()=>{let u=p.current?.input;document.activeElement===u&&u&&u.select();});};return N.createElement(Re,{type:a===true?"password":"text",...s,ref:p,value:c,onInput:l,onFocus:d,onKeyDown:u=>{let{key:x,ctrlKey:h,metaKey:y}=u;x==="ArrowLeft"?r(i-1):x==="ArrowRight"?r(i+1):x==="z"&&(h||y)&&u.preventDefault(),d();},onKeyUp:u=>{u.key==="Backspace"&&!t&&r(i-1),d();},onMouseDown:d,onMouseUp:d})}),Tn=gs;function Xo(e){return (e||"").split("")}var Ss=N.forwardRef((e,o)=>{let{prefixCls:t,length:n=6,size:r,defaultValue:i,value:a,onChange:s,formatter:c,variant:l,disabled:p,status:d,autoFocus:m,mask:C,type:u,onInput:x,inputMode:h,...y}=e;process.env.NODE_ENV!=="production"&&O("Input.OTP")(!(typeof C=="string"&&C.length>1),"usage","`mask` prop should be a single character.");let{getPrefixCls:$,direction:E}=N.useContext(P),M=$("otp",t),D=ys(y,{aria:true,data:true,attr:true}),I=Ye(M),[L,f,b]=hn(M,I),g=re(T=>r??T),S=N.useContext(te),z=Qe(S.status,d),G=N.useMemo(()=>({...S,status:z,hasFeedback:false,feedbackIcon:null}),[S,z]),H=N.useRef(null),A=N.useRef({});N.useImperativeHandle(o,()=>({focus:()=>{A.current[0]?.focus();},blur:()=>{for(let T=0;T<n;T+=1)A.current[T]?.blur();},nativeElement:H.current}));let k=T=>c?c(T):T,[Z,R]=N.useState(Xo(k(i||"")));N.useEffect(()=>{a!==void 0&&R(Xo(a));},[a]);let de=vn(T=>{R(T),x&&x(T),s&&T.length===n&&T.every(B=>B)&&T.some((B,v)=>Z[v]!==B)&&s(T.join(""));}),w=vn((T,B)=>{let v=[...Z];for(let F=0;F<T;F+=1)v[F]||(v[F]="");B.length<=1?v[T]=B:v=v.slice(0,T).concat(Xo(B)),v=v.slice(0,n);for(let F=v.length-1;F>=0&&!v[F];F-=1)v.pop();let J=k(v.map(F=>F||" ").join(""));return v=Xo(J).map((F,ge)=>F===" "&&!v[ge]?v[ge]:F),v}),Be=(T,B)=>{let v=w(T,B),J=Math.min(T+B.length,n-1);J!==T&&v[T]!==void 0&&A.current[J]?.focus(),de(v);},ve=T=>{A.current[T]?.focus();},Q={variant:l,disabled:p,status:z,mask:C,type:u,inputMode:h};return L(N.createElement("div",{...D,ref:H,className:Je(M,{[`${M}-sm`]:g==="small",[`${M}-lg`]:g==="large",[`${M}-rtl`]:E==="rtl"},b,f)},N.createElement(te.Provider,{value:G},Array.from({length:n}).map((T,B)=>{let v=`otp-${B}`,J=Z[B]||"";return N.createElement(Tn,{ref:F=>{A.current[B]=F;},key:v,index:B,size:g,htmlSize:1,className:`${M}-input`,onChange:Be,value:J,onActiveChange:ve,autoFocus:B===0&&m,...Q})}))))}),Pn=Ss;var $s=e=>e?N.createElement(Ts,null):N.createElement(hs,null),Rs={click:"onClick",hover:"onMouseOver"},In=N.forwardRef((e,o)=>{let{disabled:t,action:n="click",visibilityToggle:r=true,iconRender:i=$s}=e,a=N.useContext(ue),s=t??a,c=typeof r=="object"&&r.visible!==void 0,[l,p]=useState(()=>c?r.visible:false),d=useRef(null);N.useEffect(()=>{c&&p(r.visible);},[c,r]);let m=yo(d),C=()=>{if(s)return;l&&m();let g=!l;p(g),typeof r=="object"&&r.onVisibleChange?.(g);},u=g=>{let S=Rs[n]||"",z=i(l),G={[S]:C,className:`${g}-icon`,key:"passwordIcon",onMouseDown:H=>{H.preventDefault();},onMouseUp:H=>{H.preventDefault();}};return N.cloneElement(N.isValidElement(z)?z:N.createElement("span",null,z),G)},{className:x,prefixCls:h,inputPrefixCls:y,size:$,...E}=e,{getPrefixCls:M}=N.useContext(P),D=M("input",y),I=M("input-password",h),L=r&&u(I),f=Je(I,x,{[`${I}-${$}`]:!!$}),b={...oi(E,["suffix","iconRender","visibilityToggle"]),type:l?"text":"password",className:f,prefixCls:D,suffix:L};return $&&(b.size=$),N.createElement(Re,{ref:composeRef(o,d),...b})});process.env.NODE_ENV!=="production"&&(In.displayName="Input.Password");var $n=In;function Rn(e){return e&&N__default.isValidElement(e)&&e.type===N__default.Fragment}var ws=(e,o,t)=>N__default.isValidElement(e)?N__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function fe(e,o){return ws(e,e,o)}var Es=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(",")}}}}},wn=Bt("Wave",e=>[Es(e)]);var _o=`${Ie}-wave-target`;var zs=(e,o)=>{if(process.env.NODE_ENV!=="production"){let t=parseInt(N.version.split(".")[0],10),n=Object.keys(Ms);Pe(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)},Os=zs;function Mn(){return Os}function Dt(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 Bn(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return Dt(o)?o:Dt(t)?t:Dt(n)?n:null}function Gt(e){return Number.isNaN(e)?0:e}var Ns=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,i=N.useRef(null),a=N.useRef(null);N.useEffect(()=>{a.current=r();},[]);let[s,c]=N.useState(null),[l,p]=N.useState([]),[d,m]=N.useState(0),[C,u]=N.useState(0),[x,h]=N.useState(0),[y,$]=N.useState(0),[E,M]=N.useState(false),D={left:d,top:C,width:x,height:y,borderRadius:l.map(f=>`${f}px`).join(" ")};s&&(D["--wave-color"]=s);function I(){let f=getComputedStyle(t);c(Bn(t));let b=f.position==="static",{borderLeftWidth:g,borderTopWidth:S}=f;m(b?t.offsetLeft:Gt(-parseFloat(g))),u(b?t.offsetTop:Gt(-parseFloat(S))),h(t.offsetWidth),$(t.offsetHeight);let{borderTopLeftRadius:z,borderTopRightRadius:G,borderBottomLeftRadius:H,borderBottomRightRadius:A}=f;p([z,G,A,H].map(k=>Gt(parseFloat(k))));}if(N.useEffect(()=>{if(t){let f=Ln(()=>{I(),M(true);}),b;return typeof ResizeObserver<"u"&&(b=new ResizeObserver(I),b.observe(t)),()=>{Ln.cancel(f),b?.disconnect();}}},[]),!E)return null;let L=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(_o);return N.createElement(As,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(f,b)=>{if(b.deadline||b.propertyName==="opacity"){let g=i.current?.parentElement;a.current?.().then(()=>{g?.remove();});}return false}},({className:f},b)=>N.createElement("div",{ref:composeRef(i,b),className:Je(o,f,{"wave-quick":L}),style:D}))},Fs=(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=Mn(),i=null;function a(){return i}i=r(N.createElement(Ns,{...o,target:e,registerUnmount:a}),n);},zn=Fs;var Gs=(e,o,t)=>{let{wave:n}=N.useContext(P),[,r,i]=Y(),a=vn(l=>{let p=e.current;if(n?.disabled||!p)return;let d=p.querySelector(`.${_o}`)||p,{showEffect:m}=n||{};(m||zn)(d,{className:o,token:r,component:t,event:l,hashId:i});}),s=N.useRef(null);return l=>{Ln.cancel(s.current),s.current=Ln(()=>{a(l);});}},Hn=Gs;var kn=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(P),i=useRef(null),a=r("wave"),[,s]=wn(a),c=Hn(i,Je(a,s),n);if(N__default.useEffect(()=>{let p=i.current;if(!p||p.nodeType!==1||t)return;let d=m=>{!Ks(m.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||c(m);};return p.addEventListener("click",d,true),()=>{p.removeEventListener("click",d,true);}},[t]),!N__default.isValidElement(o))return o??null;let l=supportRef(o)?composeRef(getNodeRef(o),i):i;return fe(o,{ref:l})};process.env.NODE_ENV!=="production"&&(kn.displayName="Wave");var Nn=kn;var Wt=N.createContext(void 0),Zs=e=>{let{getPrefixCls:o,direction:t}=N.useContext(P),{prefixCls:n,size:r,className:i,...a}=e,s=o("btn-group",n),[,,c]=Y(),l="";switch(r){case "large":l="lg";break;case "small":l="sm";break;}process.env.NODE_ENV!=="production"&&O("Button.Group")(!r||["large","small","middle"].includes(r),"usage","Invalid prop `size`.");let p=Je(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:t==="rtl"},i,c);return N.createElement(Wt.Provider,{value:r},N.createElement("div",{...a,className:p}))},Fn=Zs;var Dn=/^[\u4E00-\u9FA5]{2}$/,Zo=Dn.test.bind(Dn);function Gn(e){return typeof e=="string"}function xo(e){return e==="text"||e==="link"}function Qs(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&Gn(e.type)&&Zo(e.props.children)?fe(e,{children:e.props.children.split("").join(t)}):Gn(e)?Zo(e)?N__default.createElement("span",null,e.split("").join(t)):N__default.createElement("span",null,e):Rn(e)?N__default.createElement("span",null,e):e}function Wn(e,o){let t=false,n=[];return N__default.Children.forEach(e,r=>{let i=typeof r,a=i==="string"||i==="number";if(t&&a){let s=n.length-1,c=n[s];n[s]=`${c}${r}`;}else n.push(r);t=a;}),N__default.Children.map(n,r=>Qs(r,o))}var ol=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:i}=e,a=Je(`${i}-icon`,t);return N__default.createElement("span",{ref:o,className:a,style:n},r)}),Qo=ol;var Vn=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:i}=e,a=Je(`${t}-loading-icon`,n);return N__default.createElement(Qo,{prefixCls:t,className:a,style:r,ref:o},N__default.createElement(rl,{className:i}))}),Vt=()=>({width:0,opacity:0,transform:"scale(0)"}),jt=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),il=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:i,mount:a}=e,s=!!t;return n?N__default.createElement(Vn,{prefixCls:o,className:r,style:i}):N__default.createElement(As,{visible:s,motionName:`${o}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:true,onAppearStart:Vt,onAppearActive:jt,onEnterStart:Vt,onEnterActive:jt,onLeaveStart:jt,onLeaveActive:Vt},({className:c,style:l},p)=>{let d={...i,...l};return N__default.createElement(Vn,{prefixCls:o,className:Je(r,c),style:d,ref:p})})},Kn=il;var Xn=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),al=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}},Xn(`${o}-primary`,r),Xn(`${o}-danger`,i)]}},Un=al;var eo=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",sl=(e,o)=>e?eo(e,o):"",Ne=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 sl(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 Kt=()=>({height:0,opacity:0}),qn=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},ll=e=>({height:e?e.offsetHeight:0}),Xt=(e,o)=>o?.deadline===true||o.propertyName==="height",cl=(e=Ie)=>({motionName:`${e}-motion-collapse`,onAppearStart:Kt,onEnterStart:Kt,onAppearActive:qn,onEnterActive:qn,onLeaveStart:ll,onLeaveActive:Kt,onAppearEnd:Xt,onEnterEnd:Xt,onLeaveEnd:Xt,motionDeadline:500});var Zn=cl;var ml=N.forwardRef((e,o)=>{process.env.NODE_ENV!=="production"&&O("Collapse.Panel").deprecated(!("disabled"in e),"disabled",'collapsible="disabled"');let{getPrefixCls:t}=N.useContext(P),{prefixCls:n,className:r,showArrow:i=true}=e,a=t("collapse",n),s=Je({[`${a}-no-arrow`]:!i},r);return N.createElement(dl.Panel,{ref:o,...e,prefixCls:a,className:s})}),Qn=ml;var ul=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
59
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
60
+ opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Ut=ul;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 jl=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:p,colorBorder:d,colorText:m,colorTextHeading:C,colorTextDisabled:u,fontSizeLG:x,lineHeight:h,lineHeightLG:y,marginSM:$,paddingSM:E,paddingLG:M,paddingXS:D,motionDurationSlow:I,fontSizeIcon:L,contentPadding:f,fontHeight:b,fontHeightLG:g}=e,S=`${unit(l)} ${p} ${d}`;return {[o]:{...fo(e),backgroundColor:r,border:S,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:S,"&:last-child":{[`
61
+ &,
62
+ & > ${o}-header`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:C,lineHeight:h,cursor:"pointer",transition:`all ${I}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:b,display:"flex",alignItems:"center",paddingInlineEnd:$},[`${o}-arrow`]:{...go(),fontSize:L,transition:`transform ${I}`,svg:{transition:`transform ${I}`}},[`${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:m,backgroundColor:t,borderTop:S,[`& > ${o}-content-box`]:{padding:f},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:a,paddingInlineStart:D,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(E).sub(D).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:E}}},"&-large":{[`> ${o}-item`]:{fontSize:x,lineHeight:y,[`> ${o}-header`]:{padding:s,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:g,marginInlineStart:e.calc(M).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:M}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:u,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:$}}}}}}},Kl=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Xl=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
63
+ > ${o}-item:last-child,
64
+ > ${o}-item:last-child ${o}-header
65
+ `]:{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}}}},Ul=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}}}}}},_l=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Jn=le("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [jl(o),Xl(o),Ul(o),Kl(o),Ut(o)]},_l);var ti=N.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=N.useContext(P),{prefixCls:i,className:a,rootClassName:s,style:c,bordered:l=true,ghost:p,size:d,expandIconPosition:m="start",children:C,expandIcon:u}=e,x=re(S=>d??S??"middle"),h=t("collapse",i),y=t(),[$,E,M]=Jn(h);process.env.NODE_ENV!=="production"&&O("Collapse")(m!=="left"&&m!=="right","deprecated","`expandIconPosition` with `left` or `right` is deprecated. Please use `start` or `end` instead.");let D=N.useMemo(()=>m==="left"?"start":m==="right"?"end":m,[m]),I=u??r?.expandIcon,L=N.useCallback((S={})=>{let z=typeof I=="function"?I(S):N.createElement(ql,{rotate:S.isActive?90:void 0,"aria-label":S.isActive?"expanded":"collapsed"});return fe(z,()=>({className:Je(z?.props?.className,`${h}-arrow`)}))},[I,h]),f=Je(`${h}-icon-position-${D}`,{[`${h}-borderless`]:!l,[`${h}-rtl`]:n==="rtl",[`${h}-ghost`]:!!p,[`${h}-${x}`]:x!=="middle"},r?.className,a,s,E,M),b={...Zn(y),motionAppear:false,leavedClassName:`${h}-content-hidden`},g=N.useMemo(()=>C?Ql(C).map((S,z)=>{let G=S.props;if(G?.disabled){let H=S.key??String(z),A={...oi(S.props,["disabled"]),key:H,collapsible:G.collapsible??"disabled"};return fe(S,A)}return S}):null,[C]);return $(N.createElement(dl,{ref:o,openMotion:b,...oi(e,["rootClassName"]),expandIcon:L,prefixCls:h,className:f,style:{...r?.style,...c}},g))});process.env.NODE_ENV!=="production"&&(ti.displayName="Collapse");Object.assign(ti,{Panel:Qn});var qt=e=>e instanceof Ne?e:new Ne(e);var ri=(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 Yo=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},Jo=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??je(o),i=e.contentLineHeightSM??je(t),a=e.contentLineHeightLG??je(n),s=ri(new Ne(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM: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 ec=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:i,motionEaseInOut:a,marginXS:s,calc:c}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:go(),"> a":{color:"currentColor"},"&:not(:disabled)":Nr(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(l=>`${l} ${i} ${a}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},ni=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),oc=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),tc=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),rc=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Qt=(e,o,t,n,r,i,a,s)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...ni(e,{background:o,...a},{background:o,...s}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}}}),nc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...rc(e)}}),ic=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),et=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?ic:nc)(e),...ni(e.componentCls,o,t)}),Yt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...et(e,n,r)}}),Jt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...et(e,n,r)}}),er=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),or=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...et(e,t,n)}}),to=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...et(e,n,r,t)}}),ac=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...Yt(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...er(e),...or(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...to(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...Qt(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),sc=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...Jt(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...er(e),...or(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...to(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...Qt(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),lc=e=>({color:e.colorError,boxShadow:e.dangerShadow,...Yt(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...Jt(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...er(e),...or(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...to(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...to(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...Qt(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),cc=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:ac(e),[`${o}-color-primary`]:sc(e),[`${o}-color-dangerous`]:lc(e)}},pc=e=>({...Jt(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...to(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...Yt(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...to(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),tr=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:i,buttonPaddingHorizontal:a,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(a)}`,borderRadius:i,[`&${t}-icon-only`]:{width:n,[s]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:oc(e)},{[`${t}${t}-round${o}`]:tc(e)}]},dc=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return tr(o,e.componentCls)},mc=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 tr(o,`${e.componentCls}-sm`)},uc=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return tr(o,`${e.componentCls}-lg`)},fc=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},ii=le("Button",e=>{let o=Yo(e);return [ec(o),dc(o),mc(o),uc(o),fc(o),cc(o),pc(o),Un(o)]},Jo,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function gc(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 Cc(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 ai(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...gc(e,o),...Cc(e.componentCls,o)}}}var yc=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,i=r(n).mul(-1).equal(),a=s=>({[`${o}-compact${s?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:s?i:0,insetInlineStart:s?0:i,backgroundColor:t,content:'""',width:s?"100%":n,height:s?n:"100%"}}});return {...a(),...a(true)}},si=Lt(["Button","compact"],e=>{let o=Yo(e);return [Go(o),ai(o),yc(o)]},Jo);function hc(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 Tc={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},vc=N__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:i,type:a,danger:s=false,shape:c="default",size:l,styles:p,disabled:d,className:m,rootClassName:C,children:u,icon:x,iconPosition:h="start",ghost:y=false,block:$=false,htmlType:E="button",classNames:M,style:D={},autoInsertSpace:I,autoFocus:L,...f}=e,b=a||"default",[g,S]=useMemo(()=>{if(r&&i)return [r,i];let W=Tc[b]||[];return s?["danger",W[1]]:W},[a,r,i,s]),G=g==="danger"?"dangerous":g,{getPrefixCls:H,direction:A,button:k}=useContext(P),Z=I??k?.autoInsertSpace??true,R=H("btn",n),[de,w,Be]=ii(R),ve=useContext(ue),Q=d??ve,T=useContext(Wt),B=useMemo(()=>hc(t),[t]),[v,J]=useState(B.loading),[F,ge]=useState(false),Ce=useRef(null),Le=useComposeRef(o,Ce),ze=Children.count(u)===1&&!x&&!xo(S),U=useRef(true);N__default.useEffect(()=>(U.current=false,()=>{U.current=true;}),[]),useEffect(()=>{let W=null;B.delay>0?W=setTimeout(()=>{W=null,J(true);},B.delay):J(B.loading);function lt(){W&&(clearTimeout(W),W=null);}return lt},[B]),useEffect(()=>{if(!Ce.current||!Z)return;let W=Ce.current.textContent||"";ze&&Zo(W)?F||ge(true):F&&ge(false);}),useEffect(()=>{L&&Ce.current&&Ce.current.focus();},[]);let ho=N__default.useCallback(W=>{if(v||Q){W.preventDefault();return}e.onClick?.(W);},[e.onClick,v,Q]);if(process.env.NODE_ENV!=="production"){let W=O("Button");W(!(typeof x=="string"&&x.length>2),"breaking",`\`icon\` is using ReactNode instead of string naming in v4. Please check \`${x}\` at https://ant.design/components/icon`),W(!(y&&xo(S)),"usage","`link` or `text` button can't be a `ghost` button.");}let{compactSize:rt,compactItemClassnames:To}=Ze(R,A),nt={large:"lg",small:"sm",middle:void 0},vo=re(W=>l??rt??T??W),Po=vo?nt[vo]??"":"",it=v?"loading":x,no=oi(f,["navigate"]),Io=Je(R,w,Be,{[`${R}-${c}`]:c!=="default"&&c,[`${R}-${b}`]:b,[`${R}-dangerous`]:s,[`${R}-color-${G}`]:G,[`${R}-variant-${S}`]:S,[`${R}-${Po}`]:Po,[`${R}-icon-only`]:!u&&u!==0&&!!it,[`${R}-background-ghost`]:y&&!xo(S),[`${R}-loading`]:v,[`${R}-two-chinese-chars`]:F&&Z&&!v,[`${R}-block`]:$,[`${R}-rtl`]:A==="rtl",[`${R}-icon-end`]:h==="end"},To,m,C,k?.className),$o={...k?.style,...D},at=Je(M?.icon,k?.classNames?.icon),st={...p?.icon||{},...k?.styles?.icon||{}},Ro=x&&!v?N__default.createElement(Qo,{prefixCls:R,className:at,style:st},x):N__default.createElement(Kn,{existIcon:!!x,prefixCls:R,loading:v,mount:U.current}),wo=u||u===0?Wn(u,ze&&Z):null;if(no.href!==void 0)return de(N__default.createElement("a",{...no,className:Je(Io,{[`${R}-disabled`]:Q}),href:Q?void 0:no.href,style:$o,onClick:ho,ref:Le,tabIndex:Q?-1:0},Ro,wo));let io=N__default.createElement("button",{...f,type:E,className:Io,style:$o,onClick:ho,disabled:Q,ref:Le},Ro,wo,To&&N__default.createElement(si,{prefixCls:R}));return xo(S)||(io=N__default.createElement(Nn,{component:"Button",disabled:v},io)),de(io)}),ot=vc;ot.Group=Fn;ot.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(ot.displayName="Button");var di=ot;var mi=di;var ui=N.forwardRef((e,o)=>{let{prefixCls:t,inputPrefixCls:n,className:r,size:i,suffix:a,enterButton:s=false,addonAfter:c,loading:l,disabled:p,onSearch:d,onChange:m,onCompositionStart:C,onCompositionEnd:u,...x}=e,{getPrefixCls:h,direction:y}=N.useContext(P),$=N.useRef(false),E=h("input-search",t),M=h("input",n),{compactSize:D}=Ze(E,y),I=re(w=>i??D??w),L=N.useRef(null),f=w=>{w?.target&&w.type==="click"&&d&&d(w.target.value,w,{source:"clear"}),m?.(w);},b=w=>{document.activeElement===L.current?.input&&w.preventDefault();},g=w=>{d&&d(L.current?.input?.value,w,{source:"input"});},S=w=>{$.current||l||g(w);},z=typeof s=="boolean"?N.createElement(Pc,null):null,G=`${E}-button`,H,A=s||{},k=A.type&&A.type.__ANT_BUTTON===true;k||A.type==="button"?H=fe(A,{onMouseDown:b,onClick:w=>{A?.props?.onClick?.(w),g(w);},key:"enterButton",...k?{className:G,size:I}:{}}):H=N.createElement(mi,{className:G,type:s?"primary":void 0,size:I,disabled:p,key:"enterButton",onMouseDown:b,onClick:g,loading:l,icon:z},s),c&&(H=[H,fe(c,{key:"addonAfter"})]);let Z=Je(E,{[`${E}-rtl`]:y==="rtl",[`${E}-${I}`]:!!I,[`${E}-with-button`]:!!s},r),R=w=>{$.current=true,C?.(w);},de=w=>{$.current=false,u?.(w);};return N.createElement(Re,{ref:composeRef(L,o),onPressEnter:S,...x,size:I,onCompositionStart:R,onCompositionEnd:de,prefixCls:M,addonAfter:H,suffix:a,onChange:f,className:Z,disabled:p})});process.env.NODE_ENV!=="production"&&(ui.displayName="Search");var fi=ui;var Ec=forwardRef((e,o)=>{let{prefixCls:t,bordered:n=true,size:r,disabled:i,status:a,allowClear:s,classNames:c,rootClassName:l,className:p,style:d,styles:m,variant:C,...u}=e;if(process.env.NODE_ENV!=="production"){let{deprecated:R}=O("TextArea");R(!("bordered"in e),"bordered","variant");}let{getPrefixCls:x,direction:h,textArea:y}=N.useContext(P),$=re(r),E=N.useContext(ue),M=i??E,{status:D,hasFeedback:I,feedbackIcon:L}=N.useContext(te),f=Qe(D,a),b=N.useRef(null);N.useImperativeHandle(o,()=>({resizableTextArea:b.current?.resizableTextArea,focus:R=>{triggerFocus(b.current?.resizableTextArea?.textArea,R);},blur:()=>b.current?.blur()}));let g=x("input",t),S=Ye(g),[z,G,H]=qe(g,S),[A,k]=Ko("textArea",C,n),Z=jo(s??y?.allowClear);return z(N.createElement(wc,{autoComplete:y?.autoComplete,...u,style:{...y?.style,...d},styles:{...y?.styles,...m},disabled:M,allowClear:Z,className:Je(H,S,p,l,y?.className),classNames:{...c,...y?.classNames,textarea:Je({[`${g}-sm`]:$==="small",[`${g}-lg`]:$==="large"},G,c?.textarea,y?.classNames?.textarea),variant:Je({[`${g}-${A}`]:k},Co(g,f)),affixWrapper:Je(`${g}-textarea-affix-wrapper`,{[`${g}-affix-wrapper-rtl`]:h==="rtl",[`${g}-affix-wrapper-sm`]:$==="small",[`${g}-affix-wrapper-lg`]:$==="large",[`${g}-textarea-show-count`]:e.showCount||e.count?.show},G)},prefixCls:g,suffix:I&&N.createElement("span",{className:`${g}-textarea-suffix`},L),ref:b}))}),gi=Ec;var ro=Re;ro.Group=dn;ro.Search=fi;ro.TextArea=gi;ro.Password=$n;ro.OTP=Pn;var Ci=ro;var zc=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,Oc=e=>zc.test(`#${e}`),Hc=({prefixCls:e,value:o,onChange:t})=>{let n=`${e}-hex-input`,[r,i]=useState(()=>o?eo(o.toHexString()):void 0);return useEffect(()=>{o&&i(eo(o.toHexString()));},[o]),N__default.createElement(Ci,{className:n,value:r,prefix:"#",onChange:s=>{let c=s.target.value;i(eo(c)),Oc(eo(c,true))&&t?.(qt(c));},size:"small"})},pS=Hc;
66
+ export{pS as default};
@@ -0,0 +1,9 @@
1
+ import type { FC } from 'react';
2
+ import type { AggregationColor } from '../color';
3
+ interface ColorHsbInputProps {
4
+ prefixCls: string;
5
+ value?: AggregationColor;
6
+ onChange?: (value: AggregationColor) => void;
7
+ }
8
+ declare const ColorHsbInput: FC<ColorHsbInputProps>;
9
+ export default ColorHsbInput;