@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,66 @@
1
+ import*as N from'react';import N__default,{createContext,useContext,forwardRef,useRef,useEffect,useState,useMemo,Children}from'react';import Ye from'classnames';import Ri,{resetWarned}from'rc-util/lib/warning';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import Sa from'@ant-design/icons/lib/components/Context';import ga from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import Li from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import qi from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Ca from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import zs,{Provider}from'rc-motion';import'rc-field-form';import Jn from'rc-util/lib/omit';import ls 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 Ya from'@ant-design/icons/CloseCircleFilled';import hn from'rc-util/lib/hooks/useEvent';import fs from'rc-util/lib/pickAttrs';import En from'rc-util/lib/raf';import Ss from'@ant-design/icons/EyeInvisibleOutlined';import xs from'@ant-design/icons/EyeOutlined';import Tc from'@ant-design/icons/SearchOutlined';import Ws from'rc-util/lib/Dom/isVisible';import*as Rs from'react-dom';import {unmount,render}from'rc-util/lib/React/render';import el from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import Ul from'@ant-design/icons/RightOutlined';import cl from'rc-collapse';import $c from'rc-textarea';function lr(){}var Se=null;function Mi(){Se=null,resetWarned();}var pt=lr;process.env.NODE_ENV!=="production"&&(pt=(e,o,t)=>{Ri(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&Mi();});var dt=N.createContext({}),O=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=N.useContext(dt),t=(n,r,a)=>{if(!n)if(o===false&&r==="deprecated"){let i=Se;Se||(Se={}),Se[e]=Se[e]||[],Se[e].includes(a||"")||Se[e].push(a||""),i||console.warn("[swiftcrab] There exists deprecated usage in your code:",Se);}else pt(n,e,a);};return t.deprecated=(n,r,a,i)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${a}\` instead.${i?` ${i}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=lr,e},Pe=pt;var cr=createContext(void 0);({lang:{...Li}});var ee="${label} is not a valid ${type}",Hi={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=Hi;({...Oe.Modal});var zo=[],dr=()=>zo.reduce((e,o)=>({...e,...o}),Oe.Modal);function mr(e){if(e){let o={...e};return zo.push(o),dr(),()=>{zo=zo.filter(t=>t!==o),dr();}}({...Oe.Modal});}var ki=createContext(void 0),ao=ki;var ut="internalMark",fr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&O("LocaleProvider")(n===ut,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),N.useEffect(()=>mr(o?.Modal),[o]);let r=N.useMemo(()=>({...o,exist:true}),[o]);return N.createElement(ao.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(fr.displayName="LocaleProvider");var gr=fr;var ft={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"},Fi={...ft,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=Fi;function Ct(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:a,colorInfo:i,colorPrimary:s,colorBgBase:c,colorTextBase:l}=e,p=o(s),d=o(n),m=o(r),C=o(a),u=o(i),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 Di=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}},Cr=Di;function yt(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,...Cr(n)}}var Gi=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},yr=Gi;function Ve(e){return (e+8)/e}function St(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,a=e*Math.E**(r/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:Ve(t)}))}var Wi=e=>{let o=St(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],a=t[0],i=t[2],s=n[1],c=n[0],l=n[2];return {fontSizeSM:a,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*r),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(c*a),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Sr=Wi;function xt(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(),je=(e,o)=>new TinyColor(e).darken(o).toHexString();var br=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]}},hr=(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:je(t,4),colorBgContainer:je(t,0),colorBgElevated:je(t,0),colorBgSpotlight:oe(n,.85),colorBgBlur:"transparent",colorBorder:je(t,15),colorBorderSecondary:je(t,6)}};function Tt(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(ft).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,a,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Ct(e,{generateColorPalettes:br,generateNeutralColorPalettes:hr}),...Sr(e.fontSize),...xt(e),...yr(e),...yt(e)}}var Oo=createTheme(Tt),so={token:xe,override:{override:xe},hashed:true},lo=N__default.createContext(so);var Ie="ant",co="anticon",vt=["outlined","borderless","filled"],Ui=(e,o)=>o||(e?`${Ie}-${e}`:Ie),P=N.createContext({getPrefixCls:Ui,iconPrefixCls:co}),{Consumer:_i}=P;var Qi=`-ant-${Date.now()}-${Math.random()}`;function Yi(e,o){let t={},n=(i,s)=>{let c=i.clone();return c=s?.(c)||c,c.toRgbString()},r=(i,s)=>{let c=new TinyColor(i),l=generate(c.toRgbString());t[`${s}-color`]=n(c),t[`${s}-color-disabled`]=l[1],t[`${s}-color-hover`]=l[4],t[`${s}-color-active`]=l[6],t[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=l[0],t[`${s}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),s=generate(i.toRgbString());s.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,l=>l.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
4
+ :root {
5
+ ${Object.keys(t).map(i=>`--${e}-${i}: ${t[i]};`).join(`
6
+ `)}
7
+ }
8
+ `.trim()}function Pr(e,o){let t=Yi(e,o);qi()?updateCSS(t,`${Qi}-dynamic-theme`):Pe(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var It=N.createContext(false),Ir=({children:e,disabled:o})=>{let t=N.useContext(It);return N.createElement(It.Provider,{value:o??t},e)},ue=It;var $t=N.createContext(void 0),$r=({children:e,size:o})=>{let t=N.useContext($t);return N.createElement($t.Provider,{value:o||t},e)},He=$t;function Ji(){let e=useContext(ue),o=useContext(He);return {componentDisabled:e,componentSize:o}}var wr=Ji;var Er={version:"0.0.2"};var Br=Er.version;function Rt(e){return e>=0&&e<=255}function oa(e,o){let{r:t,g:n,b:r,a}=new TinyColor(e).toRgb();if(a<1)return e;let{r:i,g:s,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-i*(1-l))/l),d=Math.round((n-s*(1-l))/l),m=Math.round((r-c*(1-l))/l);if(Rt(p)&&Rt(d)&&Rt(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 po=oa;function Ao(e){let{override:o,...t}=e,n={...o};Object.keys(xe).forEach(m=>{delete n[m];});let r={...t,...n},a=480,i=576,s=768,c=992,l=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:po(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:po(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:po(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:po(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
9
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
10
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
11
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
12
+ `,boxShadowSecondary:`
13
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
14
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
15
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
16
+ `,boxShadowTertiary:`
17
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
18
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
19
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
20
+ `,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
21
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
22
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
23
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
24
+ `,boxShadowDrawerRight:`
25
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
26
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
27
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
28
+ `,boxShadowDrawerLeft:`
29
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
30
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
31
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
32
+ `,boxShadowDrawerUp:`
33
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
34
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
35
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
36
+ `,boxShadowDrawerDown:`
37
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
38
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
39
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
40
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var 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},na={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},ia={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},Lr=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...a}=o,i={...n,override:r};return i=Ao(i),a&&Object.entries(a).forEach(([s,c])=>{let{theme:l,...p}=c,d=p;l&&(d=Lr({...i,...p},{override:p},l)),i[s]=d;}),i};function Y(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=N__default.useContext(lo),a=`${Br}-${o||""}`,i=t||Oo,[s,c,l]=useCacheToken(i,[xe,e],{salt:a,override:n,getComputedToken:Lr,formatToken:Ao,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Mt,ignore:na,preserve:ia}});return [i,l,o?c:"",s,r]}var mo=(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}),uo=()=>({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"}}),zr=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Or=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,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,a=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...s,...i,[r]:i}}},sa=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ar=e=>({"&:focus-visible":{...sa(e)}}),ko=e=>({[`.${e}`]:{...uo(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:le,genComponentStyleHook:Et,genSubStyleComponent:Bt}=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)=>[{"&":Or(e)},ko(o?.prefix.iconPrefixCls??co)],getCommonStyle:Hr,getCompUnitless:(()=>Mt)});var pa=(e,o)=>{let[t,n]=Y();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[ko(e)])},No=pa;var ma={...N},{useId:Nr}=ma,ua=()=>"",fa=typeof Nr>"u"?ua:Nr,Fr=fa;function Lt(e,o,t){let n=O("ConfigProvider"),r=e||{},a=r.inherit===false||!o?{...so,hashed:o?.hashed??so.hashed,cssVar:o?.cssVar}:o,i=Fr();if(process.env.NODE_ENV!=="production"){let s=r.cssVar||a.cssVar,c=!!(typeof r.cssVar=="object"&&r.cssVar?.key||i);n(!s||c,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return ga(()=>{if(!e)return o;let s={...a.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,l=(r.cssVar??a.cssVar)&&{prefix:t?.prefixCls,...typeof a.cssVar=="object"?a.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||c};return {...a,...r,token:{...a.token,...r.token},components:s,cssVar:l}},[r,a],(s,c)=>s.some((l,p)=>{let d=c[p];return !Ca(l,d,true)}))}function zt(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 Gr=N.memo(({dropdownMatchSelectWidth:e})=>(O("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Gr.displayName="PropWarning");var Wr=process.env.NODE_ENV!=="production"?Gr:()=>null;var Ot=false;process.env.NODE_ENV!=="production"?e=>{Pe(!Ot,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var ha=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],jr;function Ia(){return jr||Ie}function $a(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Ra=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(jr=o),n&&($a(n)?(Pe(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Pr(Ia(),n)):n);};var wa=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:a,form:i,locale:s,componentSize:c,direction:l,space:p,splitter:d,virtual:m,dropdownMatchSelectWidth:C,popupMatchSelectWidth:u,popupOverflow:x,legacyLocale:h,parentContext:y,iconPrefixCls:$,theme:M,componentDisabled:E,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:bo,rate:tt,switch:ho,transfer:rt,avatar:To,message:vo,tag:nt,table:to,card:Po,tabs:Io,timeline:it,timePicker:at,upload:$o,notification:Ro,tree:ro,colorPicker:W,datePicker:st,rangePicker:fi,flex:gi,wave:Ci,dropdown:yi,warning:Si,tour:xi,variant:bi,inputNumber:hi,treeSelect:Ti}=e,nr=N.useCallback((j,me)=>{let{prefixCls:De}=e;if(me)return me;let Ge=De||y.getPrefixCls("");return j?`${Ge}-${j}`:Ge},[y.getPrefixCls,e.prefixCls]),no=$||y.iconPrefixCls||co,io=t||y.csp;No(no,io);let wo=Lt(M,y.theme,{prefixCls:nr("")});process.env.NODE_ENV!=="production"&&(Ot=Ot||!!wo);let lt={csp:io,autoInsertSpaceInButton:n,alert:r,anchor:a,locale:s||h,direction:l,space:p,splitter:d,virtual:m,popupMatchSelectWidth:u??C,popupOverflow:x,getPrefixCls:nr,iconPrefixCls:no,theme:wo,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:bo,rate:tt,switch:ho,transfer:rt,avatar:To,message:vo,tag:nt,table:to,card:Po,tabs:Io,timeline:it,timePicker:at,upload:$o,notification:Ro,tree:ro,colorPicker:W,datePicker:st,rangePicker:fi,flex:gi,wave:Ci,dropdown:yi,warning:Si,tour:xi,variant:bi,inputNumber:hi,treeSelect:Ti};process.env.NODE_ENV!=="production"&&O("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let Ne={...y};Object.keys(lt).forEach(j=>{lt[j]!==void 0&&(Ne[j]=lt[j]);}),ha.forEach(j=>{let me=e[j];me&&(Ne[j]=me);}),typeof n<"u"&&(Ne.button={autoInsertSpace:n,...Ne.button});let Fe=ga(()=>Ne,Ne,(j,me)=>{let De=Object.keys(j),Ge=Object.keys(me);return De.length!==Ge.length||De.some(Mo=>j[Mo]!==me[Mo])}),vi=N.useMemo(()=>({prefixCls:no,csp:io}),[no,io]),_=N.createElement(N.Fragment,null,N.createElement(Wr,{dropdownMatchSelectWidth:C}),o),ir=N.useMemo(()=>merge(Oe.Form?.defaultValidateMessages||{},Fe.locale?.Form?.defaultValidateMessages||{},Fe.form?.validateMessages||{},i?.validateMessages||{}),[Fe,i?.validateMessages]);Object.keys(ir).length>0&&(_=N.createElement(cr.Provider,{value:ir},_)),s&&(_=N.createElement(gr,{locale:s,_ANT_MARK__:ut},_)),(_=N.createElement(Sa.Provider,{value:vi},_)),c&&(_=N.createElement($r,{size:c},_)),_=N.createElement(zt,null,_);let Pi=N.useMemo(()=>{let{algorithm:j,token:me,components:De,cssVar:Ge,...Mo}=wo||{},ar=j&&(!Array.isArray(j)||j.length>0)?createTheme(j):Oo,ct={};Object.entries(De||{}).forEach(([Ii,$i])=>{let ye={...$i};"algorithm"in ye&&(ye.algorithm===true?ye.theme=ar:(Array.isArray(ye.algorithm)||typeof ye.algorithm=="function")&&(ye.theme=createTheme(ye.algorithm)),delete ye.algorithm),ct[Ii]=ye;});let sr={...xe,...me};return {...Mo,theme:ar,token:sr,components:ct,override:{override:sr,...ct},cssVar:Ge}},[wo]);return M&&(_=N.createElement(lo.Provider,{value:Pi},_)),Fe.warning&&(_=N.createElement(dt.Provider,{value:Fe.warning},_)),E!==void 0&&(_=N.createElement(Ir,{disabled:E},_)),N.createElement(P.Provider,{value:Fe},_)},Ue=e=>{let o=N.useContext(P),t=N.useContext(ao);return N.createElement(wa,{parentContext:o,legacyLocale:t,...e})};Ue.ConfigContext=P;Ue.SizeContext=He;Ue.config=Ra;Ue.useConfig=wr;Object.defineProperty(Ue,"SizeContext",{get:()=>(Pe(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),He)});process.env.NODE_ENV!=="production"&&(Ue.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 Kr=({children:e,status:o,override:t})=>{let n=N.useContext(te),r=N.useMemo(()=>{let a={...n};return t&&delete a.isFormItemInput,o&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[o,t,n]);return N.createElement(te.Provider,{value:r},e)},Xr=N.createContext(void 0);function Ma(e,o,t){let{focusElCls:n,focus:r,borderElCls:a}=t,i=a?"> *":"",s=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[s]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function Ea(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 Do(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...Ma(e,n,o),...Ea(t,n,o)}}}function Go(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var Wo=e=>{let{controlHeight:o,fontSize:t,lineHeight:n,lineWidth:r,controlHeightSM:a,controlHeightLG:i,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:p,controlPaddingHorizontal:d,colorFillAlter:m,colorPrimaryHover:C,colorPrimary:u,controlOutlineWidth:x,controlOutline:h,colorErrorOutline:y,colorWarningOutline:$,colorBgContainer:M}=e;return {paddingBlock:Math.max(Math.round((o-t*n)/2*10)/10-r,0),paddingBlockSM:Math.max(Math.round((a-t*n)/2*10)/10-r,0),paddingBlockLG:Math.ceil((i-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:M,activeBg:M,inputFontSize:t,inputFontSizeLG:s,inputFontSizeSM:t}};var Ba=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Ht=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])":{...Ba(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),Qr=(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}}),Ur=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...Qr(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),Yr=(e,o)=>({"&-outlined":{...Qr(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Ht(e)},...Ur(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Ur(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),_r=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),Jr=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}},..._r(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),..._r(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...Ht(e)}}}}),en=(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}}},on=(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)`]:{...on(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),tn=(e,o)=>({"&-filled":{...on(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Ht(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}}),Zr=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),rn=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}`}}},...Zr(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...Zr(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 La=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var nn=e=>{let{paddingBlockLG:o,lineHeightLG:t,borderRadiusLG:n,paddingInlineLG:r}=e;return {padding:`${unit(o)} ${unit(r)}`,fontSize:e.inputFontSizeLG,lineHeight:t,borderRadius:n}},an=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),sn=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}`,...La(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...nn(e)},"&-sm":{...an(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),za=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`]:{...nn(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...an(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",...zr(),[`${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}}}}}},Oa=e=>{let{componentCls:o,controlHeightSM:t,lineWidth:n,calc:r}=e,i=r(t).sub(r(n).mul(2)).sub(16).div(2).equal();return {[o]:{...mo(e),...sn(e),...Yr(e),...tn(e),...en(e),'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:t,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}}},Ha=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)}`}}}},Aa=e=>{let{componentCls:o,inputAffixPadding:t,colorTextDescription:n,motionDurationSlow:r,colorIcon:a,colorIconHover:i,iconCls:s}=e,c=`${o}-affix-wrapper`,l=`${o}-affix-wrapper-disabled`;return {[c]:{...sn(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}},...Ha(e),[`${s}${o}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:i}}},[l]:{[`${s}${o}-password-icon`]:{color:a,cursor:"not-allowed","&:hover":{color:a}}}}},ka=e=>{let{componentCls:o,borderRadiusLG:t,borderRadiusSM:n}=e;return {[`${o}-group`]:{...mo(e),...za(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}},...Jr(e),...rn(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}}}}}},Na=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}}}}},Fa=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}}}}}},Da=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}},_e=le("Input",e=>{let o=mergeToken(e,Go(e));return [Oa(o),Fa(o),Aa(o),ka(o),Na(o),Da(o),Do(o)]},Wo,{resetFont:false});var Va=e=>{let{getPrefixCls:o,direction:t}=useContext(P),{prefixCls:n,className:r}=e,a=o("input-group",n),i=o("input"),[s,c]=_e(i),l=Ye(a,{[`${a}-lg`]:e.size==="large",[`${a}-sm`]:e.size==="small",[`${a}-compact`]:e.compact,[`${a}-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)))},cn=Va;var ja=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=ja;var Ka=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},dn=Ka;var Xa=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"}}}},Ua=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 [Xa(o),Ua(o),dn(o)]},()=>({}),{resetStyle:false});var mn=N.createContext(null),qe=(e,o)=>{let t=N.useContext(mn),n=N.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:a,isLastItem:i}=t,s=r==="vertical"?"-vertical-":"-";return Ye(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:a,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}},un=({children:e})=>N.createElement(mn.Provider,{value:null},e);var Za=e=>{let{space:o,form:t,children:n}=e;if(n==null)return null;let r=n;return t&&(r=N__default.createElement(Kr,{override:true,status:true},r)),o&&(r=N__default.createElement(un,null,r)),r},kt=Za;var Ja=e=>{let o;return typeof e=="object"&&e?.clearIcon?o=e:e&&(o={clearIcon:N__default.createElement(Ya,null)}),o},Vo=Ja;function fo(e,o,t){return Ye({[`${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 Ze=(e,o)=>o||e;var os=e=>{let[,,,,o]=Y();return o?`${e}-css-var`:""},Qe=os;var ts=(e,o,t=void 0)=>{let{variant:n,[e]:r}=N.useContext(P),a=N.useContext(Xr),i=r?.variant,s;typeof o<"u"?s=o:t===false?s="borderless":s=a??i??n??"outlined";let c=vt.includes(s);return [s,c]},jo=ts;function go(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 gn(e){return !!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Sn=forwardRef((e,o)=>{let{prefixCls:t,bordered:n=true,status:r,size:a,disabled:i,onBlur:s,onFocus:c,suffix:l,allowClear:p,addonAfter:d,addonBefore:m,className:C,style:u,styles:x,rootClassName:h,onChange:y,classNames:$,variant:M,...E}=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=Qe(f),[S,z,G]=_e(f,g),{compactSize:H,compactItemClassnames:A}=qe(f,I),k=re(U=>a??H??U),Z=N__default.useContext(ue),R=i??Z,{status:de,hasFeedback:w,feedbackIcon:Be}=useContext(te),ve=Ze(de,r),Q=gn(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=go(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=Vo(p??L?.allowClear),[Le,ze]=jo("input",M,n);return S(N__default.createElement(ls,{ref:composeRef(o,b),prefixCls:f,autoComplete:L?.autoComplete,...E,disabled:R,onBlur:v,onFocus:J,style:{...L?.style,...u},styles:{...L?.styles,...x},suffix:ge,allowClear:Ce,className:Ye(C,h,G,g,A,L?.className),onChange:F,addonBefore:m&&N__default.createElement(kt,{form:true,space:true},m),addonAfter:d&&N__default.createElement(kt,{form:true,space:true},d),classNames:{...$,...L?.classNames,input:Ye({[`${f}-sm`]:k==="small",[`${f}-lg`]:k==="large",[`${f}-rtl`]:I==="rtl"},$?.input,L?.classNames?.input,z),variant:Ye({[`${f}-${Le}`]:ze},fo(f,ve)),affixWrapper:Ye({[`${f}-affix-wrapper-sm`]:k==="small",[`${f}-affix-wrapper-lg`]:k==="large",[`${f}-affix-wrapper-rtl`]:I==="rtl"},z),wrapper:Ye({[`${f}-group-rtl`]:I==="rtl"},z),groupWrapper:Ye({[`${f}-group-wrapper-sm`]:k==="small",[`${f}-group-wrapper-lg`]:k==="large",[`${f}-group-wrapper-rtl`]:I==="rtl",[`${f}-group-wrapper-${Le}`]:ze},fo(`${f}-group-wrapper`,ve,w),z)}}))});process.env.NODE_ENV!=="production"&&(Sn.displayName="Input");var Re=Sn;var ps=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}}}},xn=le(["Input","OTP"],e=>{let o=mergeToken(e,Go(e));return [ps(o)]},Wo);var ms=N.forwardRef((e,o)=>{let{value:t,onChange:n,onActiveChange:r,index:a,mask:i,...s}=e,c=t&&typeof i=="string"?i:t,l=u=>{n(a,u.target.value);},p=N.useRef(null);N.useImperativeHandle(o,()=>p.current);let d=()=>{En(()=>{let u=p.current?.input;document.activeElement===u&&u&&u.select();});};return N.createElement(Re,{type:i===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(a-1):x==="ArrowRight"?r(a+1):x==="z"&&(h||y)&&u.preventDefault(),d();},onKeyUp:u=>{u.key==="Backspace"&&!t&&r(a-1),d();},onMouseDown:d,onMouseUp:d})}),bn=ms;function Ko(e){return (e||"").split("")}var gs=N.forwardRef((e,o)=>{let{prefixCls:t,length:n=6,size:r,defaultValue:a,value:i,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:M}=N.useContext(P),E=$("otp",t),D=fs(y,{aria:true,data:true,attr:true}),I=Qe(E),[L,f,b]=xn(E,I),g=re(T=>r??T),S=N.useContext(te),z=Ze(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(Ko(k(a||"")));N.useEffect(()=>{i!==void 0&&R(Ko(i));},[i]);let de=hn(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=hn((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(Ko(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=Ko(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:Ye(E,{[`${E}-sm`]:g==="small",[`${E}-lg`]:g==="large",[`${E}-rtl`]:M==="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(bn,{ref:F=>{A.current[B]=F;},key:v,index:B,size:g,htmlSize:1,className:`${E}-input`,onChange:Be,value:J,onActiveChange:ve,autoFocus:B===0&&m,...Q})}))))}),Tn=gs;var vs=e=>e?N.createElement(xs,null):N.createElement(Ss,null),Ps={click:"onClick",hover:"onMouseOver"},vn=N.forwardRef((e,o)=>{let{disabled:t,action:n="click",visibilityToggle:r=true,iconRender:a=vs}=e,i=N.useContext(ue),s=t??i,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=go(d),C=()=>{if(s)return;l&&m();let g=!l;p(g),typeof r=="object"&&r.onVisibleChange?.(g);},u=g=>{let S=Ps[n]||"",z=a(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:$,...M}=e,{getPrefixCls:E}=N.useContext(P),D=E("input",y),I=E("input-password",h),L=r&&u(I),f=Ye(I,x,{[`${I}-${$}`]:!!$}),b={...Jn(M,["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"&&(vn.displayName="Input.Password");var Pn=vn;function In(e){return e&&N__default.isValidElement(e)&&e.type===N__default.Fragment}var Is=(e,o,t)=>N__default.isValidElement(e)?N__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function fe(e,o){return Is(e,e,o)}var $s=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(",")}}}}},$n=Et("Wave",e=>[$s(e)]);var Uo=`${Ie}-wave-target`;var Es=(e,o)=>{if(process.env.NODE_ENV!=="production"){let t=parseInt(N.version.split(".")[0],10),n=Object.keys(Rs);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)},Bs=Es;function wn(){return Bs}function Ft(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 Mn(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return Ft(o)?o:Ft(t)?t:Ft(n)?n:null}function Dt(e){return Number.isNaN(e)?0:e}var Hs=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,a=N.useRef(null),i=N.useRef(null);N.useEffect(()=>{i.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),[M,E]=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(Mn(t));let b=f.position==="static",{borderLeftWidth:g,borderTopWidth:S}=f;m(b?t.offsetLeft:Dt(-parseFloat(g))),u(b?t.offsetTop:Dt(-parseFloat(S))),h(t.offsetWidth),$(t.offsetHeight);let{borderTopLeftRadius:z,borderTopRightRadius:G,borderBottomLeftRadius:H,borderBottomRightRadius:A}=f;p([z,G,A,H].map(k=>Dt(parseFloat(k))));}if(N.useEffect(()=>{if(t){let f=En(()=>{I(),E(true);}),b;return typeof ResizeObserver<"u"&&(b=new ResizeObserver(I),b.observe(t)),()=>{En.cancel(f),b?.disconnect();}}},[]),!M)return null;let L=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(Uo);return N.createElement(zs,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(f,b)=>{if(b.deadline||b.propertyName==="opacity"){let g=a.current?.parentElement;i.current?.().then(()=>{g?.remove();});}return false}},({className:f},b)=>N.createElement("div",{ref:composeRef(a,b),className:Ye(o,f,{"wave-quick":L}),style:D}))},As=(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=wn(),a=null;function i(){return a}a=r(N.createElement(Hs,{...o,target:e,registerUnmount:i}),n);},Bn=As;var Ns=(e,o,t)=>{let{wave:n}=N.useContext(P),[,r,a]=Y(),i=hn(l=>{let p=e.current;if(n?.disabled||!p)return;let d=p.querySelector(`.${Uo}`)||p,{showEffect:m}=n||{};(m||Bn)(d,{className:o,token:r,component:t,event:l,hashId:a});}),s=N.useRef(null);return l=>{En.cancel(s.current),s.current=En(()=>{i(l);});}},zn=Ns;var Hn=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(P),a=useRef(null),i=r("wave"),[,s]=$n(i),c=zn(a,Ye(i,s),n);if(N__default.useEffect(()=>{let p=a.current;if(!p||p.nodeType!==1||t)return;let d=m=>{!Ws(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),a):a;return fe(o,{ref:l})};process.env.NODE_ENV!=="production"&&(Hn.displayName="Wave");var An=Hn;var Gt=N.createContext(void 0),Us=e=>{let{getPrefixCls:o,direction:t}=N.useContext(P),{prefixCls:n,size:r,className:a,...i}=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=Ye(s,{[`${s}-${l}`]:l,[`${s}-rtl`]:t==="rtl"},a,c);return N.createElement(Gt.Provider,{value:r},N.createElement("div",{...i,className:p}))},kn=Us;var Nn=/^[\u4E00-\u9FA5]{2}$/,qo=Nn.test.bind(Nn);function Fn(e){return typeof e=="string"}function yo(e){return e==="text"||e==="link"}function _s(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&Fn(e.type)&&qo(e.props.children)?fe(e,{children:e.props.children.split("").join(t)}):Fn(e)?qo(e)?N__default.createElement("span",null,e.split("").join(t)):N__default.createElement("span",null,e):In(e)?N__default.createElement("span",null,e):e}function Dn(e,o){let t=false,n=[];return N__default.Children.forEach(e,r=>{let a=typeof r,i=a==="string"||a==="number";if(t&&i){let s=n.length-1,c=n[s];n[s]=`${c}${r}`;}else n.push(r);t=i;}),N__default.Children.map(n,r=>_s(r,o))}var Ys=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:a}=e,i=Ye(`${a}-icon`,t);return N__default.createElement("span",{ref:o,className:i,style:n},r)}),Zo=Ys;var Gn=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:a}=e,i=Ye(`${t}-loading-icon`,n);return N__default.createElement(Zo,{prefixCls:t,className:i,style:r,ref:o},N__default.createElement(el,{className:a}))}),Wt=()=>({width:0,opacity:0,transform:"scale(0)"}),Vt=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),tl=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:a,mount:i}=e,s=!!t;return n?N__default.createElement(Gn,{prefixCls:o,className:r,style:a}):N__default.createElement(zs,{visible:s,motionName:`${o}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:true,onAppearStart:Wt,onAppearActive:Vt,onEnterStart:Wt,onEnterActive:Vt,onLeaveStart:Vt,onLeaveActive:Wt},({className:c,style:l},p)=>{let d={...a,...l};return N__default.createElement(Gn,{prefixCls:o,className:Ye(r,c),style:d,ref:p})})},Vn=tl;var jn=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),rl=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,colorErrorHover:a}=e;return {[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(n).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},jn(`${o}-primary`,r),jn(`${o}-danger`,a)]}},Kn=rl;var nl=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",il=(e,o)=>e?nl(e,o):"",xo=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 il(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 jt=()=>({height:0,opacity:0}),Un=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},al=e=>({height:e?e.offsetHeight:0}),Kt=(e,o)=>o?.deadline===true||o.propertyName==="height",sl=(e=Ie)=>({motionName:`${e}-motion-collapse`,onAppearStart:jt,onEnterStart:jt,onAppearActive:Un,onEnterActive:Un,onLeaveStart:al,onLeaveActive:jt,onAppearEnd:Kt,onEnterEnd:Kt,onLeaveEnd:Kt,motionDeadline:500});var _n=sl;var pl=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:a=true}=e,i=t("collapse",n),s=Ye({[`${i}-no-arrow`]:!a},r);return N.createElement(cl.Panel,{ref:o,...e,prefixCls:i,className:s})}),qn=pl;var dl=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`}}}),Xt=dl;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 Wl=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:a,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:l,lineType:p,colorBorder:d,colorText:m,colorTextHeading:C,colorTextDisabled:u,fontSizeLG:x,lineHeight:h,lineHeightLG:y,marginSM:$,paddingSM:M,paddingLG:E,paddingXS:D,motionDurationSlow:I,fontSizeIcon:L,contentPadding:f,fontHeight:b,fontHeightLG:g}=e,S=`${unit(l)} ${p} ${d}`;return {[o]:{...mo(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:a,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`]:{...uo(),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:i,paddingInlineStart:D,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(M).sub(D).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:M}}},"&-large":{[`> ${o}-item`]:{fontSize:x,lineHeight:y,[`> ${o}-header`]:{padding:s,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:g,marginInlineStart:e.calc(E).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:E}}},[`${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:$}}}}}}},Vl=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},jl=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}}}},Kl=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}}}}}},Xl=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Qn=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 [Wl(o),jl(o),Kl(o),Vl(o),Xt(o)]},Xl);var ei=N.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=N.useContext(P),{prefixCls:a,className:i,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",a),y=t(),[$,M,E]=Qn(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(Ul,{rotate:S.isActive?90:void 0,"aria-label":S.isActive?"expanded":"collapsed"});return fe(z,()=>({className:Ye(z?.props?.className,`${h}-arrow`)}))},[I,h]),f=Ye(`${h}-icon-position-${D}`,{[`${h}-borderless`]:!l,[`${h}-rtl`]:n==="rtl",[`${h}-ghost`]:!!p,[`${h}-${x}`]:x!=="middle"},r?.className,i,s,M,E),b={..._n(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={...Jn(S.props,["disabled"]),key:H,collapsible:G.collapsible??"disabled"};return fe(S,A)}return S}):null,[C]);return $(N.createElement(cl,{ref:o,openMotion:b,...Jn(e,["rootClassName"]),expandIcon:L,prefixCls:h,className:f,style:{...r?.style,...c}},g))});process.env.NODE_ENV!=="production"&&(ei.displayName="Collapse");Object.assign(ei,{Panel:qn});var oi=(e,o)=>{let{r:t,g:n,b:r,a}=e.toRgb(),i=new Color(e.toRgbString()).onBackground(o).toHsv();return a<=.5?i.v>.5:t*.299+n*.587+r*.114>192};var Qo=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},Yo=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??Ve(o),a=e.contentLineHeightSM??Ve(t),i=e.contentLineHeightLG??Ve(n),s=oi(new xo(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:a,contentLineHeightLG:i,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*a)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*i)/2-e.lineWidth,0)}};var Yl=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:a,motionEaseInOut:i,marginXS:s,calc:c}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:uo(),"> a":{color:"currentColor"},"&:not(:disabled)":Ar(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(l=>`${l} ${a} ${i}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(s).mul(-1).equal()}}}}}},ti=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),Jl=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ec=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),oc=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),qt=(e,o,t,n,r,a,i,s)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...ti(e,{background:o,...i},{background:o,...s}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:a||void 0}}}),tc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...oc(e)}}),rc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),Jo=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?rc:tc)(e),...ti(e.componentCls,o,t)}),Zt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...Jo(e,n,r)}}),Qt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...Jo(e,n,r)}}),Yt=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),Jt=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...Jo(e,t,n)}}),eo=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...Jo(e,n,r,t)}}),nc=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...Zt(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...Yt(e),...Jt(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...eo(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)}),ic=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...Qt(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...Yt(e),...Jt(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...eo(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})}),ac=e=>({color:e.colorError,boxShadow:e.dangerShadow,...Zt(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...Qt(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...Yt(e),...Jt(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...eo(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...eo(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})}),sc=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:nc(e),[`${o}-color-primary`]:ic(e),[`${o}-color-dangerous`]:ac(e)}},lc=e=>({...Qt(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...eo(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...Zt(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...eo(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),er=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:a,buttonPaddingHorizontal:i,iconCls:s,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(i)}`,borderRadius:a,[`&${t}-icon-only`]:{width:n,[s]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:Jl(e)},{[`${t}${t}-round${o}`]:ec(e)}]},cc=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return er(o,e.componentCls)},pc=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 er(o,`${e.componentCls}-sm`)},dc=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return er(o,`${e.componentCls}-lg`)},mc=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},ri=le("Button",e=>{let o=Qo(e);return [Yl(o),cc(o),pc(o),dc(o),mc(o),sc(o),lc(o),Kn(o)]},Yo,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function uc(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 fc(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 ni(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...uc(e,o),...fc(e.componentCls,o)}}}var gc=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,a=r(n).mul(-1).equal(),i=s=>({[`${o}-compact${s?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:s?a:0,insetInlineStart:s?0:a,backgroundColor:t,content:'""',width:s?"100%":n,height:s?n:"100%"}}});return {...i(),...i(true)}},ii=Bt(["Button","compact"],e=>{let o=Qo(e);return [Do(o),ni(o),gc(o)]},Yo);function xc(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 bc={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},hc=N__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:a,type:i,danger:s=false,shape:c="default",size:l,styles:p,disabled:d,className:m,rootClassName:C,children:u,icon:x,iconPosition:h="start",ghost:y=false,block:$=false,htmlType:M="button",classNames:E,style:D={},autoInsertSpace:I,autoFocus:L,...f}=e,b=i||"default",[g,S]=useMemo(()=>{if(r&&a)return [r,a];let W=bc[b]||[];return s?["danger",W[1]]:W},[i,r,a,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]=ri(R),ve=useContext(ue),Q=d??ve,T=useContext(Gt),B=useMemo(()=>xc(t),[t]),[v,J]=useState(B.loading),[F,ge]=useState(false),Ce=useRef(null),Le=useComposeRef(o,Ce),ze=Children.count(u)===1&&!x&&!yo(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 st(){W&&(clearTimeout(W),W=null);}return st},[B]),useEffect(()=>{if(!Ce.current||!Z)return;let W=Ce.current.textContent||"";ze&&qo(W)?F||ge(true):F&&ge(false);}),useEffect(()=>{L&&Ce.current&&Ce.current.focus();},[]);let bo=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&&yo(S)),"usage","`link` or `text` button can't be a `ghost` button.");}let{compactSize:tt,compactItemClassnames:ho}=qe(R,A),rt={large:"lg",small:"sm",middle:void 0},To=re(W=>l??tt??T??W),vo=To?rt[To]??"":"",nt=v?"loading":x,to=Jn(f,["navigate"]),Po=Ye(R,w,Be,{[`${R}-${c}`]:c!=="default"&&c,[`${R}-${b}`]:b,[`${R}-dangerous`]:s,[`${R}-color-${G}`]:G,[`${R}-variant-${S}`]:S,[`${R}-${vo}`]:vo,[`${R}-icon-only`]:!u&&u!==0&&!!nt,[`${R}-background-ghost`]:y&&!yo(S),[`${R}-loading`]:v,[`${R}-two-chinese-chars`]:F&&Z&&!v,[`${R}-block`]:$,[`${R}-rtl`]:A==="rtl",[`${R}-icon-end`]:h==="end"},ho,m,C,k?.className),Io={...k?.style,...D},it=Ye(E?.icon,k?.classNames?.icon),at={...p?.icon||{},...k?.styles?.icon||{}},$o=x&&!v?N__default.createElement(Zo,{prefixCls:R,className:it,style:at},x):N__default.createElement(Vn,{existIcon:!!x,prefixCls:R,loading:v,mount:U.current}),Ro=u||u===0?Dn(u,ze&&Z):null;if(to.href!==void 0)return de(N__default.createElement("a",{...to,className:Ye(Po,{[`${R}-disabled`]:Q}),href:Q?void 0:to.href,style:Io,onClick:bo,ref:Le,tabIndex:Q?-1:0},$o,Ro));let ro=N__default.createElement("button",{...f,type:M,className:Po,style:Io,onClick:bo,disabled:Q,ref:Le},$o,Ro,ho&&N__default.createElement(ii,{prefixCls:R}));return yo(S)||(ro=N__default.createElement(An,{component:"Button",disabled:v},ro)),de(ro)}),et=hc;et.Group=kn;et.__ANT_BUTTON=true;process.env.NODE_ENV!=="production"&&(et.displayName="Button");var ci=et;var pi=ci;var di=N.forwardRef((e,o)=>{let{prefixCls:t,inputPrefixCls:n,className:r,size:a,suffix:i,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),M=h("input-search",t),E=h("input",n),{compactSize:D}=qe(M,y),I=re(w=>a??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(Tc,null):null,G=`${M}-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(pi,{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=Ye(M,{[`${M}-rtl`]:y==="rtl",[`${M}-${I}`]:!!I,[`${M}-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:E,addonAfter:H,suffix:i,onChange:f,className:Z,disabled:p})});process.env.NODE_ENV!=="production"&&(di.displayName="Search");var mi=di;var Rc=forwardRef((e,o)=>{let{prefixCls:t,bordered:n=true,size:r,disabled:a,status:i,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),M=N.useContext(ue),E=a??M,{status:D,hasFeedback:I,feedbackIcon:L}=N.useContext(te),f=Ze(D,i),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=Qe(g),[z,G,H]=_e(g,S),[A,k]=jo("textArea",C,n),Z=Vo(s??y?.allowClear);return z(N.createElement($c,{autoComplete:y?.autoComplete,...u,style:{...y?.style,...d},styles:{...y?.styles,...m},disabled:E,allowClear:Z,className:Ye(H,S,p,l,y?.className),classNames:{...c,...y?.classNames,textarea:Ye({[`${g}-sm`]:$==="small",[`${g}-lg`]:$==="large"},G,c?.textarea,y?.classNames?.textarea),variant:Ye({[`${g}-${A}`]:k},fo(g,f)),affixWrapper:Ye(`${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}))}),ui=Rc;var oo=Re;oo.Group=cn;oo.Search=mi;oo.TextArea=ui;oo.Password=Pn;oo.OTP=Tn;var Yy=oo;
66
+ export{Yy as default};
@@ -0,0 +1,17 @@
1
+ import type { CSSObject } from '@ant-design/cssinjs';
2
+ import type { ComponentToken, InputToken } from './token';
3
+ import { initComponentToken, initInputToken } from './token';
4
+ export type { ComponentToken };
5
+ export { initComponentToken, initInputToken };
6
+ export declare const genPlaceholderStyle: (color: string) => CSSObject;
7
+ export declare const genActiveStyle: (token: InputToken) => {
8
+ borderColor: string;
9
+ boxShadow: string;
10
+ outline: number;
11
+ backgroundColor: string;
12
+ };
13
+ export declare const genInputSmallStyle: (token: InputToken) => CSSObject;
14
+ export declare const genBasicInputStyle: (token: InputToken) => CSSObject;
15
+ export declare const genInputGroupStyle: (token: InputToken) => CSSObject;
16
+ declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
17
+ export default _default;
@@ -0,0 +1,53 @@
1
+ import {createTheme,useCacheToken,unit}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as We from'react';import We__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';var B=(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}),He=()=>({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"}}),Q=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),K=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"}}}),J=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,l=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return n!==false&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...c,...i,[t]:i}}};var H=e=>({[`.${e}`]:{...He(),[`.${e} .${e}-icon`]:{display:"block"}}});function ze(e,o,r){let{focusElCls:n,focus:t,borderElCls:l}=r,i=l?"> *":"",c=["hover",t?"focus":null,"active"].filter(Boolean).map(p=>`&:${p} ${i}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[c]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function Re(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 Y(e,o={focus:true}){let{componentCls:r}=e,n=`${r}-compact`;return {[n]:{...ze(e,n,o),...Re(r,n,o)}}}function ee(e){return (e+8)/e}function z(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:ee(r)}))}var oe={version:"0.0.2"};var re=oe.version;var R={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"},Ae={...R,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},b=Ae;function A(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:l,colorInfo:i,colorPrimary:c,colorBgBase:p,colorTextBase:a}=e,s=o(c),d=o(n),g=o(t),m=o(l),f=o(i),h=r(p,a),w=e.colorLink||e.colorInfo,T=o(w),M=new TinyColor(m[1]).mix(new TinyColor(m[3]),50).toHexString();return {...h,colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[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:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:M,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[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:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:T[4],colorLink:T[6],colorLinkActive:T[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Oe=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}},te=Oe;function O(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,...te(n)}}var Le=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},ne=Le;var Fe=e=>{let o=z(e),r=o.map(s=>s.size),n=o.map(s=>s.lineHeight),t=r[1],l=r[0],i=r[2],c=n[1],p=n[0],a=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:c,lineHeightLG:a,lineHeightSM:p,fontHeight:Math.round(c*t),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(p*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ie=Fe;function L(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 u=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),x=(e,o)=>new TinyColor(e).darken(o).toHexString();var ae=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]}},se=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:u(n,.88),colorTextSecondary:u(n,.65),colorTextTertiary:u(n,.45),colorTextQuaternary:u(n,.25),colorFill:u(n,.15),colorFillSecondary:u(n,.06),colorFillTertiary:u(n,.04),colorFillQuaternary:u(n,.02),colorBgSolid:u(n,1),colorBgSolidHover:u(n,.75),colorBgSolidActive:u(n,.95),colorBgLayout:x(r,4),colorBgContainer:x(r,0),colorBgElevated:x(r,0),colorBgSpotlight:u(n,.85),colorBgBlur:"transparent",colorBorder:x(r,15),colorBorderSecondary:x(r,6)}};function G(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(R).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,...A(e,{generateColorPalettes:ae,generateNeutralColorPalettes:se}),...ie(e.fontSize),...L(e),...ne(e),...O(e)}}var ce=createTheme(G),pe={token:b,override:{override:b},hashed:true},W=We__default.createContext(pe);function j(e){return e>=0&&e<=255}function Xe(e,o){let{r,g:n,b:t,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:c,b:p}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let s=Math.round((r-i*(1-a))/a),d=Math.round((n-c*(1-a))/a),g=Math.round((t-p*(1-a))/a);if(j(s)&&j(d)&&j(g))return new TinyColor({r:s,g:d,b:g,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var $=Xe;function I(e){let{override:o,...r}=e,n={...o};Object.keys(b).forEach(g=>{delete n[g];});let t={...r,...n},l=480,i=576,c=768,p=992,a=1200,s=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:$(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:$(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:$(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:$(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:`
4
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
5
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
6
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
7
+ `,boxShadowSecondary:`
8
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
9
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
10
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
11
+ `,boxShadowTertiary:`
12
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
13
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
14
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
15
+ `,screenXS:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:p-1,screenLG:p,screenLGMin:p,screenLGMax:a-1,screenXL:a,screenXLMin:a,screenXLMax:s-1,screenXXL:s,screenXXLMin:s,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
16
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
17
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
18
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
19
+ `,boxShadowDrawerRight:`
20
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
21
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
22
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
23
+ `,boxShadowDrawerLeft:`
24
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
25
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
26
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
27
+ `,boxShadowDrawerUp:`
28
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
29
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
30
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
31
+ `,boxShadowDrawerDown:`
32
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
33
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
34
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
35
+ `,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 N={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},qe={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},Ve={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},de=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...l}=o,i={...n,override:t};return i=I(i),l&&Object.entries(l).forEach(([c,p])=>{let{theme:a,...s}=p,d=s;a&&(d=de({...i,...s},{override:s},a)),i[c]=d;}),i};function v(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=We__default.useContext(W),l=`${re}-${o||""}`,i=r||ce,[c,p,a]=useCacheToken(i,[b,e],{salt:l,override:n,getComputedToken:de,formatToken:I,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:N,ignore:qe,preserve:Ve}});return [i,a,o?p:"",c,t]}var ge="ant",U="anticon";var _e=(e,o)=>o||(e?`${ge}-${e}`:ge),k=We.createContext({getPrefixCls:_e,iconPrefixCls:U}),{Consumer:sr}=k;var{genStyleHooks:q,genComponentStyleHook:Ke,genSubStyleComponent:Je}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(k);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=v();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(k);return e??{}},getResetStyles:(e,o)=>[{"&":K(e)},H(o?.prefix.iconPrefixCls??U)],getCommonStyle:J,getCompUnitless:(()=>N)});function fe(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var Se=e=>{let{controlHeight:o,fontSize:r,lineHeight:n,lineWidth:t,controlHeightSM:l,controlHeightLG:i,fontSizeLG:c,lineHeightLG:p,paddingSM:a,controlPaddingHorizontalSM:s,controlPaddingHorizontal:d,colorFillAlter:g,colorPrimaryHover:m,colorPrimary:f,controlOutlineWidth:h,controlOutline:w,colorErrorOutline:T,colorWarningOutline:M,colorBgContainer:_}=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-c*p)/2*10)/10-t,paddingInline:a-t,paddingInlineSM:s-t,paddingInlineLG:d-t,addonBg:g,activeBorderColor:f,hoverBorderColor:m,activeShadow:`0 0 0 ${h}px ${w}`,errorActiveShadow:`0 0 0 ${h}px ${T}`,warningActiveShadow:`0 0 0 ${h}px ${M}`,hoverBg:_,activeBg:_,inputFontSize:r,inputFontSizeLG:c,inputFontSizeSM:r}};var Ye=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),V=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])":{...Ye(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),he=(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}}),Ce=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...he(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),Te=(e,o)=>({"&-outlined":{...he(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...V(e)},...Ce(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Ce(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),be=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),$e=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}},...be(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...be(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...V(e)}}}}),ve=(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}}},Pe=(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}}),xe=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...Pe(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),Ie=(e,o)=>({"&-filled":{...Pe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...V(e)},...xe(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...xe(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...o}}),ye=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),ke=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}`}}},...ye(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...ye(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 Ze=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Kr=e=>({borderColor:e.activeBorderColor,boxShadow:e.activeShadow,outline:0,backgroundColor:e.activeBg}),we=e=>{let{paddingBlockLG:o,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:t}=e;return {padding:`${unit(o)} ${unit(t)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},Me=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Be=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}`,...Ze(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...we(e)},"&-sm":{...Me(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),eo=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`]:{...we(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...Me(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",...Q(),[`${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},[`
36
+ & > ${o}-affix-wrapper,
37
+ & > ${o}-number-affix-wrapper,
38
+ & > ${r}-picker-range
39
+ `]:{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,
40
+ & > ${r}-select-auto-complete ${o},
41
+ & > ${r}-cascader-picker ${o},
42
+ & > ${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,
43
+ & > ${r}-select:first-child > ${r}-select-selector,
44
+ & > ${r}-select-auto-complete:first-child ${o},
45
+ & > ${r}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
46
+ & > ${r}-select:last-child > ${r}-select-selector,
47
+ & > ${r}-cascader-picker:last-child ${o},
48
+ & > ${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}}}}}},oo=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]:{...B(e),...Be(e),...Te(e),...Ie(e),...ve(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"}}}},ro=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)}`}}}},to=e=>{let{componentCls:o,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:t,colorIcon:l,colorIconHover:i,iconCls:c}=e,p=`${o}-affix-wrapper`,a=`${o}-affix-wrapper-disabled`;return {[p]:{...Be(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}},...ro(e),[`${c}${o}-password-icon`]:{color:l,cursor:"pointer",transition:`all ${t}`,"&:hover":{color:i}}},[a]:{[`${c}${o}-password-icon`]:{color:l,cursor:"not-allowed","&:hover":{color:l}}}}},no=e=>{let{componentCls:o,borderRadiusLG:r,borderRadiusSM:n}=e;return {[`${o}-group`]:{...B(e),...eo(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}},...$e(e),...ke(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}}}}}},io=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,
49
+ > ${o},
50
+ ${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},lo=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"}},[`
51
+ &-allow-clear > ${o},
52
+ &-affix-wrapper${n}-has-feedback ${o}
53
+ `]:{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}}}}}},ao=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}},Jr=q("Input",e=>{let o=mergeToken(e,fe(e));return [oo(o),lo(o),to(o),no(o),io(o),ao(o),Y(o)]},Se,{resetFont:false});export{Jr as default,Kr as genActiveStyle,Be as genBasicInputStyle,eo as genInputGroupStyle,Me as genInputSmallStyle,Ze as genPlaceholderStyle,Se as initComponentToken,fe as initInputToken};
@@ -0,0 +1,2 @@
1
+ declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
2
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import {createTheme,useCacheToken}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as ye from'react';import ye__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';function V(e){return (e+8)/e}function z(e){let t=new Array(10).fill(null).map((r,n)=>{let o=n-1,s=e*Math.E**(o/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>({size:r,lineHeight:V(r)}))}var Q={version:"0.0.2"};var _=Q.version;var I={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"},me={...I,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},u=me;function w(e,{generateColorPalettes:t,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:o,colorError:s,colorInfo:i,colorPrimary:c,colorBgBase:m,colorTextBase:l}=e,a=t(c),p=t(n),g=t(o),d=t(s),C=t(i),y=r(m,l),M=e.colorLink||e.colorInfo,x=t(M),H=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...y,colorPrimaryBg:a[1],colorPrimaryBgHover:a[2],colorPrimaryBorder:a[3],colorPrimaryBorderHover:a[4],colorPrimaryHover:a[5],colorPrimary:a[6],colorPrimaryActive:a[7],colorPrimaryTextHover:a[8],colorPrimaryText:a[9],colorPrimaryTextActive:a[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:H,colorErrorBgActive:d[3],colorErrorBorder:d[3],colorErrorBorderHover:d[4],colorErrorHover:d[5],colorError:d[6],colorErrorActive:d[7],colorErrorTextHover:d[8],colorErrorText:d[9],colorErrorTextActive:d[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:C[1],colorInfoBgHover:C[2],colorInfoBorder:C[3],colorInfoBorderHover:C[4],colorInfoHover:C[4],colorInfo:C[6],colorInfoActive:C[7],colorInfoTextHover:C[8],colorInfoText:C[9],colorInfoTextActive:C[10],colorLinkHover:x[4],colorLink:x[6],colorLinkActive:x[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var de=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=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?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},q=de;function L(e){let{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return {motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1,...q(n)}}var fe=e=>{let{controlHeight:t}=e;return {controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},K=fe;var Ce=e=>{let t=z(e),r=t.map(a=>a.size),n=t.map(a=>a.lineHeight),o=r[1],s=r[0],i=r[2],c=n[1],m=n[0],l=n[2];return {fontSizeSM:s,fontSize:o,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:c,lineHeightLG:l,lineHeightSM:m,fontHeight:Math.round(c*o),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(m*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},J=Ce;function B(e){let{sizeUnit:t,sizeStep:r}=e;return {sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}var f=(e,t)=>new TinyColor(e).setAlpha(t).toRgbString(),S=(e,t)=>new TinyColor(e).darken(t).toHexString();var Z=e=>{let t=generate(e);return {1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},ee=(e,t)=>{let r=e||"#fff",n=t||"#000";return {colorBgBase:r,colorTextBase:n,colorText:f(n,.88),colorTextSecondary:f(n,.65),colorTextTertiary:f(n,.45),colorTextQuaternary:f(n,.25),colorFill:f(n,.15),colorFillSecondary:f(n,.06),colorFillTertiary:f(n,.04),colorFillQuaternary:f(n,.02),colorBgSolid:f(n,1),colorBgSolidHover:f(n,.75),colorBgSolidActive:f(n,.95),colorBgLayout:S(r,4),colorBgContainer:S(r,0),colorBgElevated:S(r,0),colorBgSpotlight:f(n,.85),colorBgBlur:"transparent",colorBorder:S(r,15),colorBorderSecondary:S(r,6)}};function G(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let t=Object.keys(I).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((o,s,i)=>(o[`${r}-${i+1}`]=n[i],o[`${r}${i+1}`]=n[i],o),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...t,...w(e,{generateColorPalettes:Z,generateNeutralColorPalettes:ee}),...J(e.fontSize),...B(e),...K(e),...L(e)}}var oe=createTheme(G),te={token:u,override:{override:u},hashed:true},R=ye__default.createContext(te);function X(e){return e>=0&&e<=255}function Te(e,t){let{r,g:n,b:o,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:c,b:m}=new TinyColor(t).toRgb();for(let l=.01;l<=1;l+=.01){let a=Math.round((r-i*(1-l))/l),p=Math.round((n-c*(1-l))/l),g=Math.round((o-m*(1-l))/l);if(X(a)&&X(p)&&X(g))return new TinyColor({r:a,g:p,b:g,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:o,a:1}).toRgbString()}var T=Te;function h(e){let{override:t,...r}=e,n={...t};Object.keys(u).forEach(g=>{delete n[g];});let o={...r,...n},s=480,i=576,c=768,m=992,l=1200,a=1600;return o.motion===false&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),{...o,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:T(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:T(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:T(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:T(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
4
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
5
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
6
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
7
+ `,boxShadowSecondary:`
8
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
9
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
10
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
11
+ `,boxShadowTertiary:`
12
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
13
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
14
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
15
+ `,screenXS:s,screenXSMin:s,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:m-1,screenLG:m,screenLGMin:m,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:a-1,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
16
+ 0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
17
+ 0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
18
+ 0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
19
+ `,boxShadowDrawerRight:`
20
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
21
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
22
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
23
+ `,boxShadowDrawerLeft:`
24
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
25
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
26
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
27
+ `,boxShadowDrawerUp:`
28
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
29
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
30
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
31
+ `,boxShadowDrawerDown:`
32
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
33
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
34
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
35
+ `,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 E={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},he={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},Pe={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},re=(e,t,r)=>{let n=r.getDerivativeToken(e),{override:o,...s}=t,i={...n,override:o};return i=h(i),s&&Object.entries(s).forEach(([c,m])=>{let{theme:l,...a}=m,p=a;l&&(p=re({...i,...a},{override:a},l)),i[c]=p;}),i};function k(){let{token:e,hashed:t,theme:r,override:n,cssVar:o}=ye__default.useContext(R),s=`${_}-${t||""}`,i=r||oe,[c,m,l]=useCacheToken(i,[u,e],{salt:s,override:n,getComputedToken:re,formatToken:h,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:E,ignore:he,preserve:Pe}});return [i,l,t?m:"",c,o]}var ne="ant",j="anticon";var ve=(e,t)=>t||(e?`${ne}-${e}`:ne),P=ye.createContext({getPrefixCls:ve,iconPrefixCls:j}),{Consumer:Ho}=P;var Me=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var ae=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"}}}),le=(e,t,r,n)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,s=r?`.${r}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return n!==false&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[s]:{...c,...i,[o]:i}}};var W=e=>({[`.${e}`]:{...Me(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:$,genComponentStyleHook:ze,genSubStyleComponent:Ie}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=useContext(P);return {rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,r,n,o]=k();return {theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{let{csp:e}=useContext(P);return e??{}},getResetStyles:(e,t)=>[{"&":ae(e)},W(t?.prefix.iconPrefixCls??j)],getCommonStyle:le,getCompUnitless:(()=>E)});function ce(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var pe=e=>{let{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:s,controlHeightLG:i,fontSizeLG:c,lineHeightLG:m,paddingSM:l,controlPaddingHorizontalSM:a,controlPaddingHorizontal:p,colorFillAlter:g,colorPrimaryHover:d,colorPrimary:C,controlOutlineWidth:y,controlOutline:M,colorErrorOutline:x,colorWarningOutline:H,colorBgContainer:N}=e;return {paddingBlock:Math.max(Math.round((t-r*n)/2*10)/10-o,0),paddingBlockSM:Math.max(Math.round((s-r*n)/2*10)/10-o,0),paddingBlockLG:Math.ceil((i-c*m)/2*10)/10-o,paddingInline:l-o,paddingInlineSM:a-o,paddingInlineLG:p-o,addonBg:g,activeBorderColor:C,hoverBorderColor:d,activeShadow:`0 0 0 ${y}px ${M}`,errorActiveShadow:`0 0 0 ${y}px ${x}`,warningActiveShadow:`0 0 0 ${y}px ${H}`,hoverBg:N,activeBg:N,inputFontSize:r,inputFontSizeLG:c,inputFontSizeSM:r}};var Ae=e=>{let{componentCls:t,paddingXS:r}=e;return {[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:r,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},gt=$(["Input","OTP"],e=>{let t=mergeToken(e,ce(e));return [Ae(t)]},pe);export{gt as default};
@@ -0,0 +1,97 @@
1
+ import type { AliasToken, FullToken } from '../../theme/internal';
2
+ export interface SharedComponentToken {
3
+ /**
4
+ * @desc 输入框横向内边距
5
+ * @descEN Horizontal padding of input
6
+ */
7
+ paddingInline: number;
8
+ /**
9
+ * @desc 小号输入框横向内边距
10
+ * @descEN Horizontal padding of small input
11
+ */
12
+ paddingInlineSM: number;
13
+ /**
14
+ * @desc 大号输入框横向内边距
15
+ * @descEN Horizontal padding of large input
16
+ */
17
+ paddingInlineLG: number;
18
+ /**
19
+ * @desc 输入框纵向内边距
20
+ * @descEN Vertical padding of input
21
+ */
22
+ paddingBlock: number;
23
+ /**
24
+ * @desc 小号输入框纵向内边距
25
+ * @descEN Vertical padding of small input
26
+ */
27
+ paddingBlockSM: number;
28
+ /**
29
+ * @desc 大号输入框纵向内边距
30
+ * @descEN Vertical padding of large input
31
+ */
32
+ paddingBlockLG: number;
33
+ /**
34
+ * @desc 前/后置标签背景色
35
+ * @descEN Background color of addon
36
+ */
37
+ addonBg: string;
38
+ /**
39
+ * @desc 悬浮态边框色
40
+ * @descEN Hover border color
41
+ */
42
+ hoverBorderColor: string;
43
+ /**
44
+ * @desc 激活态边框色
45
+ * @descEN Active border color
46
+ */
47
+ activeBorderColor: string;
48
+ /**
49
+ * @desc 激活态阴影
50
+ * @descEN Box-shadow when active
51
+ */
52
+ activeShadow: string;
53
+ /**
54
+ * @desc 错误状态时激活态阴影
55
+ * @descEN Box-shadow when active in error status
56
+ */
57
+ errorActiveShadow: string;
58
+ /**
59
+ * @desc 警告状态时激活态阴影
60
+ * @descEN Box-shadow when active in warning status
61
+ */
62
+ warningActiveShadow: string;
63
+ /**
64
+ * @desc 输入框hover状态时背景颜色
65
+ * @descEN Background color when the input box hovers
66
+ */
67
+ hoverBg: string;
68
+ /**
69
+ * @desc 输入框激活状态时背景颜色
70
+ * @descEN Background color when the input box is activated
71
+ */
72
+ activeBg: string;
73
+ /**
74
+ * @desc 字体大小
75
+ * @descEN Font size
76
+ */
77
+ inputFontSize: number;
78
+ /**
79
+ * @desc 大号字体大小
80
+ * @descEN Font size of large
81
+ */
82
+ inputFontSizeLG: number;
83
+ /**
84
+ * @desc 小号字体大小
85
+ * @descEN Font size of small
86
+ */
87
+ inputFontSizeSM: number;
88
+ }
89
+ export interface ComponentToken extends SharedComponentToken {
90
+ }
91
+ export interface SharedInputToken {
92
+ inputAffixPadding: number;
93
+ }
94
+ export interface InputToken extends FullToken<'Input'>, SharedInputToken {
95
+ }
96
+ export declare function initInputToken(token: AliasToken): SharedInputToken;
97
+ export declare const initComponentToken: (token: AliasToken) => SharedComponentToken;