@gobolt/genesis 0.2.13 → 0.2.15

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 (2211) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +5 -1
  2. package/dist/_virtual/_commonjsHelpers.js +3 -3
  3. package/dist/_virtual/advancedFormat.cjs +6 -1
  4. package/dist/_virtual/advancedFormat.js +5 -5
  5. package/dist/_virtual/advancedFormat2.cjs +3 -1
  6. package/dist/_virtual/advancedFormat2.js +2 -2
  7. package/dist/_virtual/customParseFormat.cjs +6 -1
  8. package/dist/_virtual/customParseFormat.js +5 -5
  9. package/dist/_virtual/customParseFormat2.cjs +3 -1
  10. package/dist/_virtual/customParseFormat2.js +2 -2
  11. package/dist/_virtual/dayjs.min.cjs +6 -1
  12. package/dist/_virtual/dayjs.min.js +5 -5
  13. package/dist/_virtual/dayjs.min2.cjs +3 -1
  14. package/dist/_virtual/dayjs.min2.js +2 -2
  15. package/dist/_virtual/index.cjs +6 -1
  16. package/dist/_virtual/index.js +5 -5
  17. package/dist/_virtual/index2.cjs +3 -1
  18. package/dist/_virtual/index2.js +2 -2
  19. package/dist/_virtual/index3.cjs +4 -1
  20. package/dist/_virtual/index3.js +3 -3
  21. package/dist/_virtual/index4.cjs +3 -1
  22. package/dist/_virtual/index4.js +2 -2
  23. package/dist/_virtual/index5.cjs +6 -1
  24. package/dist/_virtual/index5.js +5 -5
  25. package/dist/_virtual/index6.cjs +6 -1
  26. package/dist/_virtual/index6.js +5 -5
  27. package/dist/_virtual/index7.cjs +3 -1
  28. package/dist/_virtual/index7.js +2 -2
  29. package/dist/_virtual/localeData.cjs +6 -1
  30. package/dist/_virtual/localeData.js +5 -5
  31. package/dist/_virtual/localeData2.cjs +3 -1
  32. package/dist/_virtual/localeData2.js +2 -2
  33. package/dist/_virtual/react-is.development.cjs +3 -1
  34. package/dist/_virtual/react-is.development.js +2 -2
  35. package/dist/_virtual/react-is.production.min.cjs +3 -1
  36. package/dist/_virtual/react-is.production.min.js +2 -2
  37. package/dist/_virtual/weekOfYear.cjs +6 -1
  38. package/dist/_virtual/weekOfYear.js +5 -5
  39. package/dist/_virtual/weekOfYear2.cjs +3 -1
  40. package/dist/_virtual/weekOfYear2.js +2 -2
  41. package/dist/_virtual/weekYear.cjs +6 -1
  42. package/dist/_virtual/weekYear.js +5 -5
  43. package/dist/_virtual/weekYear2.cjs +3 -1
  44. package/dist/_virtual/weekYear2.js +2 -2
  45. package/dist/_virtual/weekday.cjs +6 -1
  46. package/dist/_virtual/weekday.js +5 -5
  47. package/dist/_virtual/weekday2.cjs +3 -1
  48. package/dist/_virtual/weekday2.js +2 -2
  49. package/dist/components/Avatar/Avatar.cjs +76 -1
  50. package/dist/components/Avatar/Avatar.js +59 -47
  51. package/dist/components/Avatar/styles.cjs +11 -3
  52. package/dist/components/Avatar/styles.js +9 -6
  53. package/dist/components/Badge/Badge.cjs +80 -1
  54. package/dist/components/Badge/Badge.js +68 -63
  55. package/dist/components/Badge/styles.cjs +29 -16
  56. package/dist/components/Badge/styles.js +26 -17
  57. package/dist/components/Breadcrumb/Breadcrumb.cjs +9 -1
  58. package/dist/components/Breadcrumb/Breadcrumb.js +7 -7
  59. package/dist/components/Breadcrumb/styles.cjs +21 -11
  60. package/dist/components/Breadcrumb/styles.js +18 -16
  61. package/dist/components/Button/Button.cjs +35 -1
  62. package/dist/components/Button/Button.js +29 -23
  63. package/dist/components/Button/IconButton.cjs +29 -1
  64. package/dist/components/Button/IconButton.js +23 -22
  65. package/dist/components/Button/UtilityButton.cjs +29 -1
  66. package/dist/components/Button/UtilityButton.js +23 -22
  67. package/dist/components/Button/icon-button-styles.cjs +44 -29
  68. package/dist/components/Button/icon-button-styles.js +42 -30
  69. package/dist/components/Button/styles.cjs +90 -31
  70. package/dist/components/Button/styles.js +88 -39
  71. package/dist/components/Card/Card.cjs +17 -1
  72. package/dist/components/Card/Card.js +16 -14
  73. package/dist/components/Card/styles.cjs +12 -4
  74. package/dist/components/Card/styles.js +10 -7
  75. package/dist/components/Checkbox/Checkbox.cjs +28 -1
  76. package/dist/components/Checkbox/Checkbox.js +23 -19
  77. package/dist/components/Checkbox/styles.cjs +27 -19
  78. package/dist/components/Checkbox/styles.js +25 -22
  79. package/dist/components/DatePicker/DatePicker.cjs +18 -1
  80. package/dist/components/DatePicker/DatePicker.js +10 -10
  81. package/dist/components/DateRangePicker/DateRangePicker.cjs +19 -1
  82. package/dist/components/DateRangePicker/DateRangePicker.js +11 -10
  83. package/dist/components/ErrorBoundary/ErrorBoundary.cjs +71 -1
  84. package/dist/components/ErrorBoundary/ErrorBoundary.js +36 -27
  85. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.cjs +29 -1
  86. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +16 -16
  87. package/dist/components/ErrorBoundaryFallback/styles.cjs +6 -2
  88. package/dist/components/ErrorBoundaryFallback/styles.js +4 -4
  89. package/dist/components/Form/Form.cjs +18 -1
  90. package/dist/components/Form/Form.js +12 -11
  91. package/dist/components/Form/styles.cjs +6 -2
  92. package/dist/components/Form/styles.js +4 -4
  93. package/dist/components/GoBolt/GoBolt.cjs +6 -0
  94. package/dist/components/GoBolt/GoBolt.d.ts +7 -0
  95. package/dist/components/GoBolt/GoBolt.js +7 -0
  96. package/dist/components/GoBolt/index.d.ts +2 -0
  97. package/dist/components/Input/Input.cjs +29 -1
  98. package/dist/components/Input/Input.js +23 -21
  99. package/dist/components/Input/styles.cjs +91 -28
  100. package/dist/components/Input/styles.js +84 -63
  101. package/dist/components/Layout/Content/Content.cjs +24 -1
  102. package/dist/components/Layout/Content/Content.js +22 -20
  103. package/dist/components/Layout/Content/styles.cjs +13 -6
  104. package/dist/components/Layout/Content/styles.js +11 -8
  105. package/dist/components/Layout/Layout.cjs +7 -1
  106. package/dist/components/Layout/Layout.js +6 -4
  107. package/dist/components/Message/Message.cjs +87 -1
  108. package/dist/components/Message/Message.js +68 -63
  109. package/dist/components/Message/styles.cjs +24 -16
  110. package/dist/components/Message/styles.js +22 -20
  111. package/dist/components/Notification/Notification.cjs +89 -1
  112. package/dist/components/Notification/Notification.js +67 -60
  113. package/dist/components/Notification/NotificationBadge/NotificationBadge.cjs +50 -1
  114. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +44 -42
  115. package/dist/components/Notification/NotificationBadge/icons/ASN.cjs +22 -1
  116. package/dist/components/Notification/NotificationBadge/icons/ASN.js +5 -5
  117. package/dist/components/Notification/NotificationBadge/icons/Appointment.cjs +22 -1
  118. package/dist/components/Notification/NotificationBadge/icons/Appointment.js +5 -5
  119. package/dist/components/Notification/NotificationBadge/icons/Inventory.cjs +22 -1
  120. package/dist/components/Notification/NotificationBadge/icons/Inventory.js +5 -5
  121. package/dist/components/Notification/NotificationBadge/icons/Parcel.cjs +22 -1
  122. package/dist/components/Notification/NotificationBadge/icons/Parcel.js +5 -5
  123. package/dist/components/Notification/NotificationBadge/icons/Product.cjs +22 -1
  124. package/dist/components/Notification/NotificationBadge/icons/Product.js +5 -5
  125. package/dist/components/Notification/NotificationBadge/icons/Route.cjs +22 -1
  126. package/dist/components/Notification/NotificationBadge/icons/Route.js +5 -5
  127. package/dist/components/Notification/NotificationBadge/icons/Shipment.cjs +22 -1
  128. package/dist/components/Notification/NotificationBadge/icons/Shipment.js +5 -5
  129. package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.cjs +22 -1
  130. package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.js +5 -5
  131. package/dist/components/Notification/NotificationBadge/icons/System.cjs +22 -1
  132. package/dist/components/Notification/NotificationBadge/icons/System.js +5 -5
  133. package/dist/components/Notification/NotificationBadge/styles.cjs +14 -7
  134. package/dist/components/Notification/NotificationBadge/styles.js +12 -10
  135. package/dist/components/Notification/NotificationRightChevron.cjs +22 -1
  136. package/dist/components/Notification/NotificationRightChevron.js +5 -5
  137. package/dist/components/Notification/styles.cjs +33 -19
  138. package/dist/components/Notification/styles.js +30 -25
  139. package/dist/components/Popover/Popover.cjs +25 -1
  140. package/dist/components/Popover/Popover.js +24 -22
  141. package/dist/components/Popover/styles.cjs +11 -3
  142. package/dist/components/Popover/styles.js +9 -6
  143. package/dist/components/Progress/Progress.cjs +64 -1
  144. package/dist/components/Progress/Progress.js +55 -47
  145. package/dist/components/Progress/Progress.util.cjs +42 -1
  146. package/dist/components/Progress/Progress.util.js +37 -29
  147. package/dist/components/Progress/ProgressText.cjs +41 -1
  148. package/dist/components/Progress/ProgressText.js +40 -38
  149. package/dist/components/Progress/styles.cjs +11 -3
  150. package/dist/components/Progress/styles.js +9 -6
  151. package/dist/components/Radio/Radio.cjs +115 -4
  152. package/dist/components/Radio/Radio.js +87 -48
  153. package/dist/components/Radio/RadioGroup.cjs +34 -1
  154. package/dist/components/Radio/RadioGroup.js +32 -30
  155. package/dist/components/Radio/states/RadioChecked.cjs +17 -1
  156. package/dist/components/Radio/states/RadioChecked.js +6 -6
  157. package/dist/components/Radio/states/RadioCheckedDisabled.cjs +17 -1
  158. package/dist/components/Radio/states/RadioCheckedDisabled.js +6 -6
  159. package/dist/components/Radio/states/RadioCheckedFocussed.cjs +29 -1
  160. package/dist/components/Radio/states/RadioCheckedFocussed.js +7 -7
  161. package/dist/components/Radio/states/RadioCheckedHover.cjs +17 -1
  162. package/dist/components/Radio/states/RadioCheckedHover.js +6 -6
  163. package/dist/components/Radio/states/RadioUnchecked.cjs +14 -1
  164. package/dist/components/Radio/states/RadioUnchecked.js +5 -5
  165. package/dist/components/Radio/states/RadioUncheckedDisabled.cjs +14 -1
  166. package/dist/components/Radio/states/RadioUncheckedDisabled.js +5 -5
  167. package/dist/components/Radio/states/RadioUncheckedFocussed.cjs +28 -1
  168. package/dist/components/Radio/states/RadioUncheckedFocussed.js +6 -6
  169. package/dist/components/Radio/states/RadioUncheckedHover.cjs +17 -1
  170. package/dist/components/Radio/states/RadioUncheckedHover.js +6 -6
  171. package/dist/components/Row/Row.cjs +39 -1
  172. package/dist/components/Row/Row.js +28 -28
  173. package/dist/components/Row/RowActions/RowActions.cjs +24 -1
  174. package/dist/components/Row/RowActions/RowActions.js +22 -14
  175. package/dist/components/Row/RowActions/styles.cjs +5 -2
  176. package/dist/components/Row/RowActions/styles.js +3 -3
  177. package/dist/components/Row/RowLabelValue/RowLabelValue.cjs +42 -1
  178. package/dist/components/Row/RowLabelValue/RowLabelValue.js +34 -28
  179. package/dist/components/Row/RowLabelValue/RowSkeleton.cjs +28 -1
  180. package/dist/components/Row/RowLabelValue/RowSkeleton.js +26 -21
  181. package/dist/components/Row/RowLabelValue/styles.cjs +22 -9
  182. package/dist/components/Row/RowLabelValue/styles.js +20 -13
  183. package/dist/components/Row/styles.cjs +17 -7
  184. package/dist/components/Row/styles.js +15 -9
  185. package/dist/components/SegmentedControls/SegmentedControls.cjs +25 -1
  186. package/dist/components/SegmentedControls/SegmentedControls.js +18 -18
  187. package/dist/components/SegmentedControls/styles.cjs +22 -14
  188. package/dist/components/SegmentedControls/styles.js +19 -18
  189. package/dist/components/Select/Select.cjs +45 -2
  190. package/dist/components/Select/Select.js +37 -31
  191. package/dist/components/Select/index.d.ts +0 -2
  192. package/dist/components/Select/styles.cjs +64 -39
  193. package/dist/components/Select/styles.js +61 -47
  194. package/dist/components/SelectCount/SelectCount.cjs +44 -0
  195. package/dist/components/SelectCount/SelectCount.d.ts +12 -0
  196. package/dist/components/SelectCount/SelectCount.js +45 -0
  197. package/dist/components/SelectCount/__stories__/SelectCount.stories.d.ts +7 -0
  198. package/dist/components/SelectCount/index.d.ts +2 -0
  199. package/dist/components/Shapes/Shapes.cjs +15 -1
  200. package/dist/components/Shapes/Shapes.js +14 -6
  201. package/dist/components/Shapes/variants/Circle.cjs +22 -1
  202. package/dist/components/Shapes/variants/Circle.js +6 -6
  203. package/dist/components/Shapes/variants/Rectangle.cjs +22 -1
  204. package/dist/components/Shapes/variants/Rectangle.js +6 -6
  205. package/dist/components/Shapes/variants/Triangle.cjs +22 -1
  206. package/dist/components/Shapes/variants/Triangle.js +6 -6
  207. package/dist/components/Switch/Switch.cjs +23 -1
  208. package/dist/components/Switch/Switch.js +22 -20
  209. package/dist/components/Switch/styles.cjs +24 -17
  210. package/dist/components/Switch/styles.js +21 -20
  211. package/dist/components/Table/Table.cjs +26 -1
  212. package/dist/components/Table/Table.js +18 -18
  213. package/dist/components/Table/TableControls/PrimaryTableControlsRow.cjs +124 -1
  214. package/dist/components/Table/TableControls/PrimaryTableControlsRow.js +71 -65
  215. package/dist/components/Table/TableControls/SecondaryTableControlsRow.cjs +78 -1
  216. package/dist/components/Table/TableControls/SecondaryTableControlsRow.js +71 -64
  217. package/dist/components/Table/TableControls/TableControls.cjs +36 -1
  218. package/dist/components/Table/TableControls/TableControls.js +25 -24
  219. package/dist/components/Table/TableWithControls/TableWithControls.cjs +42 -1
  220. package/dist/components/Table/TableWithControls/TableWithControls.js +32 -28
  221. package/dist/components/Table/TableWithControls/useTableWithControls.cjs +144 -1
  222. package/dist/components/Table/TableWithControls/useTableWithControls.js +100 -88
  223. package/dist/components/Table/__mocks__/table-mocks.cjs +70 -1
  224. package/dist/components/Table/__mocks__/table-mocks.js +33 -25
  225. package/dist/components/Table/styles.cjs +12 -4
  226. package/dist/components/Table/styles.js +10 -7
  227. package/dist/components/Table/useTable.cjs +80 -1
  228. package/dist/components/Table/useTable.js +56 -41
  229. package/dist/components/Tabs/Tabs.cjs +22 -1
  230. package/dist/components/Tabs/Tabs.js +13 -13
  231. package/dist/components/Tabs/styles.cjs +21 -13
  232. package/dist/components/Tabs/styles.js +19 -16
  233. package/dist/components/Tile/Tile.cjs +22 -1
  234. package/dist/components/Tile/Tile.js +21 -19
  235. package/dist/components/Tile/styles.cjs +13 -6
  236. package/dist/components/Tile/styles.js +11 -8
  237. package/dist/components/Toast/Toast.cjs +90 -1
  238. package/dist/components/Toast/Toast.js +69 -64
  239. package/dist/components/Toast/styles.cjs +23 -15
  240. package/dist/components/Toast/styles.js +21 -19
  241. package/dist/components/Tooltip/Tooltip.cjs +24 -1
  242. package/dist/components/Tooltip/Tooltip.js +23 -21
  243. package/dist/components/Tooltip/styles.cjs +12 -4
  244. package/dist/components/Tooltip/styles.js +10 -7
  245. package/dist/components/Typography/Typography.cjs +71 -1
  246. package/dist/components/Typography/Typography.js +61 -58
  247. package/dist/components/Typography/styles.cjs +95 -20
  248. package/dist/components/Typography/styles.js +90 -69
  249. package/dist/components/index.d.ts +4 -2
  250. package/dist/components/shared/DropdownChevron.cjs +26 -1
  251. package/dist/components/shared/DropdownChevron.js +9 -9
  252. package/dist/constants/index.cjs +99 -1
  253. package/dist/constants/index.js +30 -23
  254. package/dist/index.cjs +88 -1
  255. package/dist/index.js +87 -85
  256. package/dist/node_modules/@ant-design/colors/es/generate.cjs +120 -1
  257. package/dist/node_modules/@ant-design/colors/es/generate.js +80 -33
  258. package/dist/node_modules/@ant-design/colors/es/presets.cjs +72 -1
  259. package/dist/node_modules/@ant-design/colors/es/presets.js +70 -69
  260. package/dist/node_modules/@ant-design/cssinjs/es/Cache.cjs +49 -1
  261. package/dist/node_modules/@ant-design/cssinjs/es/Cache.js +31 -22
  262. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.cjs +23 -1
  263. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.js +18 -12
  264. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.cjs +65 -1
  265. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +36 -28
  266. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.cjs +11 -1
  267. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.js +6 -6
  268. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.cjs +67 -1
  269. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.js +59 -43
  270. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.cjs +124 -1
  271. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +105 -73
  272. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.cjs +38 -1
  273. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.js +18 -13
  274. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.cjs +57 -1
  275. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.js +32 -20
  276. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.cjs +90 -1
  277. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js +60 -35
  278. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.cjs +23 -1
  279. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.js +17 -15
  280. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.cjs +330 -3
  281. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +266 -171
  282. package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.cjs +12 -1
  283. package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.js +9 -6
  284. package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.cjs +10 -1
  285. package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.js +8 -4
  286. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.cjs +7 -1
  287. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.js +5 -5
  288. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.cjs +29 -1
  289. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.js +23 -13
  290. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.cjs +139 -1
  291. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.js +104 -69
  292. package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.cjs +12 -1
  293. package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.js +10 -7
  294. package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.cjs +14 -1
  295. package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.js +12 -3
  296. package/dist/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.cjs +60 -1
  297. package/dist/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.js +53 -34
  298. package/dist/node_modules/@ant-design/cssinjs/es/util/css-variables.cjs +37 -1
  299. package/dist/node_modules/@ant-design/cssinjs/es/util/css-variables.js +33 -23
  300. package/dist/node_modules/@ant-design/cssinjs/es/util/index.cjs +78 -1
  301. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +68 -41
  302. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.cjs +87 -1
  303. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.js +66 -41
  304. package/dist/node_modules/@ant-design/cssinjs-utils/es/hooks/useCSP.cjs +5 -1
  305. package/dist/node_modules/@ant-design/cssinjs-utils/es/hooks/useCSP.js +2 -2
  306. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.cjs +116 -1
  307. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.js +96 -38
  308. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.cjs +72 -1
  309. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.js +55 -26
  310. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/calculator.cjs +7 -1
  311. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/calculator.js +5 -5
  312. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/index.cjs +10 -1
  313. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/index.js +7 -7
  314. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/genStyleUtils.cjs +204 -1
  315. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/genStyleUtils.js +166 -123
  316. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.cjs +5 -1
  317. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.js +3 -3
  318. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.cjs +31 -1
  319. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.js +23 -17
  320. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getDefaultComponentToken.cjs +10 -1
  321. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getDefaultComponentToken.js +7 -7
  322. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/maxmin.cjs +40 -1
  323. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/maxmin.js +22 -17
  324. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/statistic.cjs +68 -1
  325. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/statistic.js +59 -46
  326. package/dist/node_modules/@ant-design/fast-color/es/FastColor.cjs +473 -1
  327. package/dist/node_modules/@ant-design/fast-color/es/FastColor.js +303 -155
  328. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.cjs +65 -1
  329. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.js +42 -36
  330. package/dist/node_modules/@ant-design/icons/es/components/Context.cjs +4 -1
  331. package/dist/node_modules/@ant-design/icons/es/components/Context.js +3 -3
  332. package/dist/node_modules/@ant-design/icons/es/components/IconBase.cjs +77 -1
  333. package/dist/node_modules/@ant-design/icons/es/components/IconBase.js +45 -31
  334. package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.cjs +20 -1
  335. package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js +16 -13
  336. package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.cjs +35 -1
  337. package/dist/node_modules/@ant-design/icons/es/icons/BarsOutlined.js +14 -11
  338. package/dist/node_modules/@ant-design/icons/es/icons/CalendarOutlined.cjs +35 -1
  339. package/dist/node_modules/@ant-design/icons/es/icons/CalendarOutlined.js +14 -11
  340. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.cjs +35 -1
  341. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.js +14 -11
  342. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.cjs +35 -1
  343. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js +14 -11
  344. package/dist/node_modules/@ant-design/icons/es/icons/CaretUpOutlined.cjs +35 -1
  345. package/dist/node_modules/@ant-design/icons/es/icons/CaretUpOutlined.js +14 -11
  346. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.cjs +35 -1
  347. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js +14 -11
  348. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.cjs +35 -1
  349. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.js +14 -11
  350. package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.cjs +35 -1
  351. package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.js +14 -11
  352. package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleFilled.cjs +35 -1
  353. package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleFilled.js +14 -11
  354. package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.cjs +35 -1
  355. package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.js +14 -11
  356. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.cjs +35 -1
  357. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js +14 -11
  358. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.cjs +35 -1
  359. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js +14 -11
  360. package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.cjs +35 -1
  361. package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.js +14 -11
  362. package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.cjs +35 -1
  363. package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.js +14 -11
  364. package/dist/node_modules/@ant-design/icons/es/icons/DoubleLeftOutlined.cjs +35 -1
  365. package/dist/node_modules/@ant-design/icons/es/icons/DoubleLeftOutlined.js +14 -11
  366. package/dist/node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.cjs +35 -1
  367. package/dist/node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js +14 -11
  368. package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.cjs +35 -1
  369. package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.js +14 -11
  370. package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.cjs +35 -1
  371. package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.js +14 -11
  372. package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.cjs +35 -1
  373. package/dist/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js +14 -11
  374. package/dist/node_modules/@ant-design/icons/es/icons/EnterOutlined.cjs +35 -1
  375. package/dist/node_modules/@ant-design/icons/es/icons/EnterOutlined.js +14 -11
  376. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.cjs +35 -1
  377. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js +14 -11
  378. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.cjs +35 -1
  379. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js +14 -11
  380. package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.cjs +35 -1
  381. package/dist/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js +14 -11
  382. package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.cjs +35 -1
  383. package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.js +14 -11
  384. package/dist/node_modules/@ant-design/icons/es/icons/FileOutlined.cjs +35 -1
  385. package/dist/node_modules/@ant-design/icons/es/icons/FileOutlined.js +14 -11
  386. package/dist/node_modules/@ant-design/icons/es/icons/FilterFilled.cjs +35 -1
  387. package/dist/node_modules/@ant-design/icons/es/icons/FilterFilled.js +14 -11
  388. package/dist/node_modules/@ant-design/icons/es/icons/FolderOpenOutlined.cjs +35 -1
  389. package/dist/node_modules/@ant-design/icons/es/icons/FolderOpenOutlined.js +14 -11
  390. package/dist/node_modules/@ant-design/icons/es/icons/FolderOutlined.cjs +35 -1
  391. package/dist/node_modules/@ant-design/icons/es/icons/FolderOutlined.js +14 -11
  392. package/dist/node_modules/@ant-design/icons/es/icons/HolderOutlined.cjs +35 -1
  393. package/dist/node_modules/@ant-design/icons/es/icons/HolderOutlined.js +14 -11
  394. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.cjs +35 -1
  395. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.js +14 -11
  396. package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.cjs +35 -1
  397. package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.js +14 -11
  398. package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.cjs +35 -1
  399. package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js +14 -11
  400. package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleFilled.cjs +35 -1
  401. package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleFilled.js +14 -11
  402. package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.cjs +35 -1
  403. package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.js +14 -11
  404. package/dist/node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.cjs +35 -1
  405. package/dist/node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.js +14 -11
  406. package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.cjs +35 -1
  407. package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.js +14 -11
  408. package/dist/node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.cjs +35 -1
  409. package/dist/node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js +14 -11
  410. package/dist/node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.cjs +35 -1
  411. package/dist/node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js +14 -11
  412. package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.cjs +35 -1
  413. package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.js +14 -11
  414. package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.cjs +35 -1
  415. package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.js +14 -11
  416. package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.cjs +35 -1
  417. package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.js +14 -11
  418. package/dist/node_modules/@ant-design/icons/es/icons/WarningFilled.cjs +35 -1
  419. package/dist/node_modules/@ant-design/icons/es/icons/WarningFilled.js +14 -11
  420. package/dist/node_modules/@ant-design/icons/es/utils.cjs +79 -49
  421. package/dist/node_modules/@ant-design/icons/es/utils.js +68 -108
  422. package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.cjs +3 -1
  423. package/dist/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +2 -2
  424. package/dist/node_modules/@ant-design/icons-svg/es/asn/CalendarOutlined.cjs +3 -1
  425. package/dist/node_modules/@ant-design/icons-svg/es/asn/CalendarOutlined.js +2 -2
  426. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.cjs +3 -1
  427. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.js +2 -2
  428. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.cjs +3 -1
  429. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.js +2 -2
  430. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretUpOutlined.cjs +3 -1
  431. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretUpOutlined.js +2 -2
  432. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.cjs +3 -1
  433. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +2 -2
  434. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.cjs +3 -1
  435. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.js +2 -2
  436. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.cjs +3 -1
  437. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +2 -2
  438. package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleFilled.cjs +3 -1
  439. package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleFilled.js +2 -2
  440. package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.cjs +3 -1
  441. package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.js +2 -2
  442. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.cjs +3 -1
  443. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +2 -2
  444. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.cjs +3 -1
  445. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js +2 -2
  446. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.cjs +3 -1
  447. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +2 -2
  448. package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.cjs +3 -1
  449. package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js +2 -2
  450. package/dist/node_modules/@ant-design/icons-svg/es/asn/DoubleLeftOutlined.cjs +3 -1
  451. package/dist/node_modules/@ant-design/icons-svg/es/asn/DoubleLeftOutlined.js +2 -2
  452. package/dist/node_modules/@ant-design/icons-svg/es/asn/DoubleRightOutlined.cjs +3 -1
  453. package/dist/node_modules/@ant-design/icons-svg/es/asn/DoubleRightOutlined.js +2 -2
  454. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.cjs +3 -1
  455. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +2 -2
  456. package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.cjs +3 -1
  457. package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.js +2 -2
  458. package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.cjs +3 -1
  459. package/dist/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +2 -2
  460. package/dist/node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.cjs +3 -1
  461. package/dist/node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.js +2 -2
  462. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.cjs +3 -1
  463. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +2 -2
  464. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.cjs +3 -1
  465. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +2 -2
  466. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.cjs +3 -1
  467. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +2 -2
  468. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.cjs +3 -1
  469. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +2 -2
  470. package/dist/node_modules/@ant-design/icons-svg/es/asn/FileOutlined.cjs +3 -1
  471. package/dist/node_modules/@ant-design/icons-svg/es/asn/FileOutlined.js +2 -2
  472. package/dist/node_modules/@ant-design/icons-svg/es/asn/FilterFilled.cjs +3 -1
  473. package/dist/node_modules/@ant-design/icons-svg/es/asn/FilterFilled.js +2 -2
  474. package/dist/node_modules/@ant-design/icons-svg/es/asn/FolderOpenOutlined.cjs +3 -1
  475. package/dist/node_modules/@ant-design/icons-svg/es/asn/FolderOpenOutlined.js +2 -2
  476. package/dist/node_modules/@ant-design/icons-svg/es/asn/FolderOutlined.cjs +3 -1
  477. package/dist/node_modules/@ant-design/icons-svg/es/asn/FolderOutlined.js +2 -2
  478. package/dist/node_modules/@ant-design/icons-svg/es/asn/HolderOutlined.cjs +3 -1
  479. package/dist/node_modules/@ant-design/icons-svg/es/asn/HolderOutlined.js +2 -2
  480. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.cjs +3 -1
  481. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.js +2 -2
  482. package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.cjs +3 -1
  483. package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +2 -2
  484. package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.cjs +3 -1
  485. package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +2 -2
  486. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleFilled.cjs +3 -1
  487. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleFilled.js +2 -2
  488. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.cjs +3 -1
  489. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.js +2 -2
  490. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusSquareOutlined.cjs +3 -1
  491. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusSquareOutlined.js +2 -2
  492. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.cjs +3 -1
  493. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js +2 -2
  494. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.cjs +3 -1
  495. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.js +2 -2
  496. package/dist/node_modules/@ant-design/icons-svg/es/asn/QuestionCircleOutlined.cjs +3 -1
  497. package/dist/node_modules/@ant-design/icons-svg/es/asn/QuestionCircleOutlined.js +2 -2
  498. package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.cjs +3 -1
  499. package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +2 -2
  500. package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.cjs +3 -1
  501. package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js +2 -2
  502. package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.cjs +3 -1
  503. package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.js +2 -2
  504. package/dist/node_modules/@ant-design/icons-svg/es/asn/WarningFilled.cjs +3 -1
  505. package/dist/node_modules/@ant-design/icons-svg/es/asn/WarningFilled.js +2 -2
  506. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.cjs +7 -1
  507. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +4 -4
  508. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.cjs +5 -1
  509. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +2 -2
  510. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.cjs +6 -1
  511. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +4 -4
  512. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.cjs +6 -1
  513. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +3 -3
  514. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.cjs +25 -1
  515. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +14 -14
  516. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.cjs +5 -1
  517. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +2 -2
  518. package/dist/node_modules/@babel/runtime/helpers/esm/construct.cjs +11 -1
  519. package/dist/node_modules/@babel/runtime/helpers/esm/construct.js +9 -9
  520. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.cjs +14 -1
  521. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +10 -10
  522. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.cjs +16 -1
  523. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +12 -12
  524. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.cjs +11 -1
  525. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +7 -7
  526. package/dist/node_modules/@babel/runtime/helpers/esm/extends.cjs +11 -1
  527. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +8 -8
  528. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.cjs +7 -1
  529. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +5 -5
  530. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.cjs +15 -1
  531. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +11 -11
  532. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.cjs +9 -1
  533. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +5 -5
  534. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +12 -1
  535. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +4 -4
  536. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.cjs +5 -1
  537. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +3 -3
  538. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.cjs +23 -1
  539. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +13 -13
  540. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.cjs +5 -2
  541. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +3 -4
  542. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.cjs +5 -2
  543. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +3 -4
  544. package/dist/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.cjs +5 -1
  545. package/dist/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +3 -3
  546. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.cjs +24 -1
  547. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +17 -17
  548. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.cjs +12 -1
  549. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +7 -7
  550. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.cjs +11 -1
  551. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +8 -8
  552. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.cjs +9 -1
  553. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +7 -7
  554. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.cjs +287 -1
  555. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +201 -201
  556. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.cjs +7 -1
  557. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +5 -5
  558. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.cjs +9 -1
  559. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +7 -7
  560. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.cjs +9 -1
  561. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.js +7 -7
  562. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.cjs +9 -1
  563. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +7 -7
  564. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +13 -1
  565. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +9 -9
  566. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +8 -1
  567. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +6 -6
  568. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.cjs +10 -1
  569. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +7 -7
  570. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.cjs +10 -1
  571. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +5 -5
  572. package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.cjs +28 -1
  573. package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +22 -22
  574. package/dist/node_modules/@emotion/hash/dist/hash.browser.esm.cjs +30 -1
  575. package/dist/node_modules/@emotion/hash/dist/hash.browser.esm.js +24 -15
  576. package/dist/node_modules/@emotion/unitless/dist/unitless.browser.esm.cjs +50 -1
  577. package/dist/node_modules/@emotion/unitless/dist/unitless.browser.esm.js +2 -2
  578. package/dist/node_modules/@rc-component/async-validator/es/index.cjs +276 -1
  579. package/dist/node_modules/@rc-component/async-validator/es/index.js +241 -123
  580. package/dist/node_modules/@rc-component/async-validator/es/messages.cjs +58 -1
  581. package/dist/node_modules/@rc-component/async-validator/es/messages.js +8 -7
  582. package/dist/node_modules/@rc-component/async-validator/es/rule/enum.cjs +10 -1
  583. package/dist/node_modules/@rc-component/async-validator/es/rule/enum.js +8 -4
  584. package/dist/node_modules/@rc-component/async-validator/es/rule/index.cjs +16 -1
  585. package/dist/node_modules/@rc-component/async-validator/es/rule/index.js +14 -14
  586. package/dist/node_modules/@rc-component/async-validator/es/rule/pattern.cjs +18 -1
  587. package/dist/node_modules/@rc-component/async-validator/es/rule/pattern.js +14 -9
  588. package/dist/node_modules/@rc-component/async-validator/es/rule/range.cjs +41 -1
  589. package/dist/node_modules/@rc-component/async-validator/es/rule/range.js +39 -7
  590. package/dist/node_modules/@rc-component/async-validator/es/rule/required.cjs +8 -1
  591. package/dist/node_modules/@rc-component/async-validator/es/rule/required.js +6 -4
  592. package/dist/node_modules/@rc-component/async-validator/es/rule/type.cjs +75 -1
  593. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +51 -38
  594. package/dist/node_modules/@rc-component/async-validator/es/rule/url.cjs +58 -1
  595. package/dist/node_modules/@rc-component/async-validator/es/rule/url.js +46 -24
  596. package/dist/node_modules/@rc-component/async-validator/es/rule/whitespace.cjs +8 -1
  597. package/dist/node_modules/@rc-component/async-validator/es/rule/whitespace.js +6 -4
  598. package/dist/node_modules/@rc-component/async-validator/es/util.cjs +244 -1
  599. package/dist/node_modules/@rc-component/async-validator/es/util.js +203 -123
  600. package/dist/node_modules/@rc-component/async-validator/es/validator/any.cjs +15 -1
  601. package/dist/node_modules/@rc-component/async-validator/es/validator/any.js +12 -10
  602. package/dist/node_modules/@rc-component/async-validator/es/validator/array.cjs +18 -1
  603. package/dist/node_modules/@rc-component/async-validator/es/validator/array.js +15 -9
  604. package/dist/node_modules/@rc-component/async-validator/es/validator/boolean.cjs +18 -1
  605. package/dist/node_modules/@rc-component/async-validator/es/validator/boolean.js +15 -10
  606. package/dist/node_modules/@rc-component/async-validator/es/validator/date.cjs +27 -1
  607. package/dist/node_modules/@rc-component/async-validator/es/validator/date.js +23 -12
  608. package/dist/node_modules/@rc-component/async-validator/es/validator/enum.cjs +19 -1
  609. package/dist/node_modules/@rc-component/async-validator/es/validator/enum.js +16 -10
  610. package/dist/node_modules/@rc-component/async-validator/es/validator/float.cjs +19 -1
  611. package/dist/node_modules/@rc-component/async-validator/es/validator/float.js +16 -10
  612. package/dist/node_modules/@rc-component/async-validator/es/validator/index.cjs +36 -1
  613. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +34 -34
  614. package/dist/node_modules/@rc-component/async-validator/es/validator/integer.cjs +19 -1
  615. package/dist/node_modules/@rc-component/async-validator/es/validator/integer.js +16 -10
  616. package/dist/node_modules/@rc-component/async-validator/es/validator/method.cjs +18 -1
  617. package/dist/node_modules/@rc-component/async-validator/es/validator/method.js +15 -10
  618. package/dist/node_modules/@rc-component/async-validator/es/validator/number.cjs +22 -1
  619. package/dist/node_modules/@rc-component/async-validator/es/validator/number.js +19 -10
  620. package/dist/node_modules/@rc-component/async-validator/es/validator/object.cjs +18 -1
  621. package/dist/node_modules/@rc-component/async-validator/es/validator/object.js +15 -10
  622. package/dist/node_modules/@rc-component/async-validator/es/validator/pattern.cjs +18 -1
  623. package/dist/node_modules/@rc-component/async-validator/es/validator/pattern.js +15 -10
  624. package/dist/node_modules/@rc-component/async-validator/es/validator/regexp.cjs +18 -1
  625. package/dist/node_modules/@rc-component/async-validator/es/validator/regexp.js +15 -10
  626. package/dist/node_modules/@rc-component/async-validator/es/validator/required.cjs +10 -1
  627. package/dist/node_modules/@rc-component/async-validator/es/validator/required.js +8 -6
  628. package/dist/node_modules/@rc-component/async-validator/es/validator/string.cjs +23 -1
  629. package/dist/node_modules/@rc-component/async-validator/es/validator/string.js +20 -10
  630. package/dist/node_modules/@rc-component/async-validator/es/validator/type.cjs +19 -1
  631. package/dist/node_modules/@rc-component/async-validator/es/validator/type.js +16 -10
  632. package/dist/node_modules/@rc-component/color-picker/es/ColorPicker.cjs +125 -1
  633. package/dist/node_modules/@rc-component/color-picker/es/ColorPicker.js +86 -63
  634. package/dist/node_modules/@rc-component/color-picker/es/color.cjs +61 -1
  635. package/dist/node_modules/@rc-component/color-picker/es/color.js +50 -35
  636. package/dist/node_modules/@rc-component/color-picker/es/components/ColorBlock.cjs +18 -1
  637. package/dist/node_modules/@rc-component/color-picker/es/components/ColorBlock.js +13 -12
  638. package/dist/node_modules/@rc-component/color-picker/es/components/Gradient.cjs +25 -1
  639. package/dist/node_modules/@rc-component/color-picker/es/components/Gradient.js +18 -14
  640. package/dist/node_modules/@rc-component/color-picker/es/components/Handler.cjs +14 -1
  641. package/dist/node_modules/@rc-component/color-picker/es/components/Handler.js +9 -9
  642. package/dist/node_modules/@rc-component/color-picker/es/components/Palette.cjs +13 -1
  643. package/dist/node_modules/@rc-component/color-picker/es/components/Palette.js +10 -10
  644. package/dist/node_modules/@rc-component/color-picker/es/components/Picker.cjs +63 -1
  645. package/dist/node_modules/@rc-component/color-picker/es/components/Picker.js +51 -45
  646. package/dist/node_modules/@rc-component/color-picker/es/components/Slider.cjs +86 -1
  647. package/dist/node_modules/@rc-component/color-picker/es/components/Slider.js +73 -62
  648. package/dist/node_modules/@rc-component/color-picker/es/components/Transform.cjs +16 -1
  649. package/dist/node_modules/@rc-component/color-picker/es/components/Transform.js +9 -9
  650. package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorDrag.cjs +81 -1
  651. package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorDrag.js +69 -28
  652. package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorState.cjs +17 -1
  653. package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorState.js +13 -12
  654. package/dist/node_modules/@rc-component/color-picker/es/hooks/useComponent.cjs +29 -1
  655. package/dist/node_modules/@rc-component/color-picker/es/hooks/useComponent.js +8 -8
  656. package/dist/node_modules/@rc-component/color-picker/es/util.cjs +67 -1
  657. package/dist/node_modules/@rc-component/color-picker/es/util.js +46 -29
  658. package/dist/node_modules/@rc-component/context/es/Immutable.cjs +77 -1
  659. package/dist/node_modules/@rc-component/context/es/Immutable.js +47 -28
  660. package/dist/node_modules/@rc-component/context/es/context.cjs +95 -1
  661. package/dist/node_modules/@rc-component/context/es/context.js +61 -47
  662. package/dist/node_modules/@rc-component/portal/es/Context.cjs +23 -1
  663. package/dist/node_modules/@rc-component/portal/es/Context.js +3 -3
  664. package/dist/node_modules/@rc-component/portal/es/Portal.cjs +91 -1
  665. package/dist/node_modules/@rc-component/portal/es/Portal.js +68 -40
  666. package/dist/node_modules/@rc-component/portal/es/index.cjs +4 -1
  667. package/dist/node_modules/@rc-component/portal/es/index.js +2 -2
  668. package/dist/node_modules/@rc-component/portal/es/mock.cjs +7 -1
  669. package/dist/node_modules/@rc-component/portal/es/mock.js +5 -5
  670. package/dist/node_modules/@rc-component/portal/es/useDom.cjs +81 -1
  671. package/dist/node_modules/@rc-component/portal/es/useDom.js +55 -29
  672. package/dist/node_modules/@rc-component/portal/es/useScrollLocker.cjs +48 -5
  673. package/dist/node_modules/@rc-component/portal/es/useScrollLocker.js +25 -24
  674. package/dist/node_modules/@rc-component/portal/es/util.cjs +5 -1
  675. package/dist/node_modules/@rc-component/portal/es/util.js +2 -2
  676. package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.cjs +62 -1
  677. package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.js +37 -15
  678. package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.cjs +45 -1
  679. package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.js +20 -17
  680. package/dist/node_modules/@rc-component/trigger/es/Popup/PopupContent.cjs +31 -1
  681. package/dist/node_modules/@rc-component/trigger/es/Popup/PopupContent.js +10 -8
  682. package/dist/node_modules/@rc-component/trigger/es/Popup/index.cjs +156 -1
  683. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +124 -79
  684. package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.cjs +37 -1
  685. package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.js +16 -11
  686. package/dist/node_modules/@rc-component/trigger/es/context.cjs +23 -1
  687. package/dist/node_modules/@rc-component/trigger/es/context.js +3 -3
  688. package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.cjs +44 -1
  689. package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.js +22 -9
  690. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.cjs +441 -1
  691. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +379 -143
  692. package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.cjs +36 -1
  693. package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.js +29 -19
  694. package/dist/node_modules/@rc-component/trigger/es/hooks/useWinClick.cjs +71 -1
  695. package/dist/node_modules/@rc-component/trigger/es/hooks/useWinClick.js +45 -27
  696. package/dist/node_modules/@rc-component/trigger/es/index.cjs +368 -1
  697. package/dist/node_modules/@rc-component/trigger/es/index.js +324 -189
  698. package/dist/node_modules/@rc-component/trigger/es/util.cjs +109 -1
  699. package/dist/node_modules/@rc-component/trigger/es/util.js +102 -53
  700. package/dist/node_modules/antd/es/_util/ActionButton.cjs +118 -1
  701. package/dist/node_modules/antd/es/_util/ActionButton.js +83 -55
  702. package/dist/node_modules/antd/es/_util/ContextIsolator.cjs +26 -1
  703. package/dist/node_modules/antd/es/_util/ContextIsolator.js +22 -15
  704. package/dist/node_modules/antd/es/_util/PurePanel.cjs +106 -1
  705. package/dist/node_modules/antd/es/_util/PurePanel.js +76 -57
  706. package/dist/node_modules/antd/es/_util/colors.cjs +12 -1
  707. package/dist/node_modules/antd/es/_util/colors.js +10 -6
  708. package/dist/node_modules/antd/es/_util/easings.cjs +10 -1
  709. package/dist/node_modules/antd/es/_util/easings.js +8 -4
  710. package/dist/node_modules/antd/es/_util/extendsObject.cjs +17 -1
  711. package/dist/node_modules/antd/es/_util/extendsObject.js +14 -10
  712. package/dist/node_modules/antd/es/_util/gapSize.cjs +12 -1
  713. package/dist/node_modules/antd/es/_util/gapSize.js +9 -6
  714. package/dist/node_modules/antd/es/_util/getAllowClear.cjs +15 -1
  715. package/dist/node_modules/antd/es/_util/getAllowClear.js +13 -8
  716. package/dist/node_modules/antd/es/_util/getRenderPropValue.cjs +8 -1
  717. package/dist/node_modules/antd/es/_util/getRenderPropValue.js +7 -2
  718. package/dist/node_modules/antd/es/_util/getScroll.cjs +27 -1
  719. package/dist/node_modules/antd/es/_util/getScroll.js +22 -9
  720. package/dist/node_modules/antd/es/_util/hooks/useForceUpdate.cjs +26 -1
  721. package/dist/node_modules/antd/es/_util/hooks/useForceUpdate.js +5 -5
  722. package/dist/node_modules/antd/es/_util/hooks/useMultipleSelect.cjs +31 -1
  723. package/dist/node_modules/antd/es/_util/hooks/useMultipleSelect.js +29 -12
  724. package/dist/node_modules/antd/es/_util/hooks/useProxyImperativeHandle.cjs +33 -1
  725. package/dist/node_modules/antd/es/_util/hooks/useProxyImperativeHandle.js +28 -18
  726. package/dist/node_modules/antd/es/_util/hooks/useSyncState.cjs +31 -1
  727. package/dist/node_modules/antd/es/_util/hooks/useSyncState.js +9 -7
  728. package/dist/node_modules/antd/es/_util/hooks/useZIndex.cjs +58 -1
  729. package/dist/node_modules/antd/es/_util/hooks/useZIndex.js +46 -32
  730. package/dist/node_modules/antd/es/_util/isPrimitive.cjs +3 -1
  731. package/dist/node_modules/antd/es/_util/isPrimitive.js +2 -2
  732. package/dist/node_modules/antd/es/_util/motion.cjs +45 -1
  733. package/dist/node_modules/antd/es/_util/motion.js +33 -22
  734. package/dist/node_modules/antd/es/_util/placements.cjs +176 -1
  735. package/dist/node_modules/antd/es/_util/placements.js +69 -43
  736. package/dist/node_modules/antd/es/_util/reactNode.cjs +17 -1
  737. package/dist/node_modules/antd/es/_util/reactNode.js +14 -9
  738. package/dist/node_modules/antd/es/_util/responsiveObserver.cjs +114 -1
  739. package/dist/node_modules/antd/es/_util/responsiveObserver.js +82 -53
  740. package/dist/node_modules/antd/es/_util/scrollTo.cjs +34 -1
  741. package/dist/node_modules/antd/es/_util/scrollTo.js +30 -13
  742. package/dist/node_modules/antd/es/_util/statusUtils.cjs +14 -1
  743. package/dist/node_modules/antd/es/_util/statusUtils.js +11 -11
  744. package/dist/node_modules/antd/es/_util/toList.cjs +7 -1
  745. package/dist/node_modules/antd/es/_util/toList.js +5 -3
  746. package/dist/node_modules/antd/es/_util/warning.cjs +77 -1
  747. package/dist/node_modules/antd/es/_util/warning.js +50 -29
  748. package/dist/node_modules/antd/es/_util/wave/WaveEffect.cjs +154 -1
  749. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +110 -82
  750. package/dist/node_modules/antd/es/_util/wave/index.cjs +52 -1
  751. package/dist/node_modules/antd/es/_util/wave/index.js +44 -30
  752. package/dist/node_modules/antd/es/_util/wave/interface.cjs +5 -1
  753. package/dist/node_modules/antd/es/_util/wave/interface.js +3 -3
  754. package/dist/node_modules/antd/es/_util/wave/style.cjs +47 -1
  755. package/dist/node_modules/antd/es/_util/wave/style.js +14 -13
  756. package/dist/node_modules/antd/es/_util/wave/useWave.cjs +60 -1
  757. package/dist/node_modules/antd/es/_util/wave/useWave.js +33 -26
  758. package/dist/node_modules/antd/es/_util/wave/util.cjs +24 -1
  759. package/dist/node_modules/antd/es/_util/wave/util.js +20 -11
  760. package/dist/node_modules/antd/es/_util/zindexContext.cjs +7 -1
  761. package/dist/node_modules/antd/es/_util/zindexContext.js +6 -4
  762. package/dist/node_modules/antd/es/avatar/Avatar.cjs +189 -1
  763. package/dist/node_modules/antd/es/avatar/Avatar.js +152 -112
  764. package/dist/node_modules/antd/es/avatar/AvatarContext.cjs +23 -1
  765. package/dist/node_modules/antd/es/avatar/AvatarContext.js +3 -3
  766. package/dist/node_modules/antd/es/avatar/AvatarGroup.cjs +123 -1
  767. package/dist/node_modules/antd/es/avatar/AvatarGroup.js +90 -74
  768. package/dist/node_modules/antd/es/avatar/index.cjs +6 -1
  769. package/dist/node_modules/antd/es/avatar/index.js +5 -5
  770. package/dist/node_modules/antd/es/avatar/style/index.cjs +146 -1
  771. package/dist/node_modules/antd/es/avatar/style/index.js +86 -81
  772. package/dist/node_modules/antd/es/breadcrumb/Breadcrumb.cjs +168 -1
  773. package/dist/node_modules/antd/es/breadcrumb/Breadcrumb.js +132 -104
  774. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbItem.cjs +112 -1
  775. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbItem.js +80 -64
  776. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.cjs +38 -1
  777. package/dist/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js +13 -12
  778. package/dist/node_modules/antd/es/breadcrumb/index.cjs +3 -1
  779. package/dist/node_modules/antd/es/breadcrumb/index.js +2 -2
  780. package/dist/node_modules/antd/es/breadcrumb/style/index.cjs +113 -4
  781. package/dist/node_modules/antd/es/breadcrumb/style/index.js +59 -57
  782. package/dist/node_modules/antd/es/breadcrumb/useItemRender.cjs +75 -1
  783. package/dist/node_modules/antd/es/breadcrumb/useItemRender.js +44 -35
  784. package/dist/node_modules/antd/es/breadcrumb/useItems.cjs +44 -1
  785. package/dist/node_modules/antd/es/breadcrumb/useItems.js +39 -26
  786. package/dist/node_modules/antd/es/button/DefaultLoadingIcon.cjs +80 -1
  787. package/dist/node_modules/antd/es/button/DefaultLoadingIcon.js +65 -57
  788. package/dist/node_modules/antd/es/button/IconWrapper.cjs +18 -1
  789. package/dist/node_modules/antd/es/button/IconWrapper.js +15 -14
  790. package/dist/node_modules/antd/es/button/button-group.cjs +89 -1
  791. package/dist/node_modules/antd/es/button/button-group.js +40 -33
  792. package/dist/node_modules/antd/es/button/button.cjs +251 -1
  793. package/dist/node_modules/antd/es/button/button.js +221 -154
  794. package/dist/node_modules/antd/es/button/buttonHelpers.cjs +64 -1
  795. package/dist/node_modules/antd/es/button/buttonHelpers.js +56 -38
  796. package/dist/node_modules/antd/es/button/index.cjs +4 -1
  797. package/dist/node_modules/antd/es/button/index.js +2 -2
  798. package/dist/node_modules/antd/es/button/style/compact.cjs +54 -1
  799. package/dist/node_modules/antd/es/button/style/compact.js +28 -25
  800. package/dist/node_modules/antd/es/button/style/group.cjs +70 -1
  801. package/dist/node_modules/antd/es/button/style/group.js +25 -24
  802. package/dist/node_modules/antd/es/button/style/index.cjs +491 -1
  803. package/dist/node_modules/antd/es/button/style/index.js +327 -295
  804. package/dist/node_modules/antd/es/button/style/token.cjs +93 -1
  805. package/dist/node_modules/antd/es/button/style/token.js +66 -57
  806. package/dist/node_modules/antd/es/calendar/locale/en_US.cjs +3 -1
  807. package/dist/node_modules/antd/es/calendar/locale/en_US.js +2 -2
  808. package/dist/node_modules/antd/es/card/Card.cjs +207 -1
  809. package/dist/node_modules/antd/es/card/Card.js +167 -138
  810. package/dist/node_modules/antd/es/card/Grid.cjs +50 -1
  811. package/dist/node_modules/antd/es/card/Grid.js +23 -20
  812. package/dist/node_modules/antd/es/card/Meta.cjs +62 -1
  813. package/dist/node_modules/antd/es/card/Meta.js +38 -30
  814. package/dist/node_modules/antd/es/card/index.cjs +11 -1
  815. package/dist/node_modules/antd/es/card/index.js +10 -8
  816. package/dist/node_modules/antd/es/card/style/index.cjs +361 -10
  817. package/dist/node_modules/antd/es/card/style/index.js +194 -185
  818. package/dist/node_modules/antd/es/checkbox/Checkbox.cjs +148 -1
  819. package/dist/node_modules/antd/es/checkbox/Checkbox.js +122 -85
  820. package/dist/node_modules/antd/es/checkbox/Group.cjs +134 -1
  821. package/dist/node_modules/antd/es/checkbox/Group.js +107 -75
  822. package/dist/node_modules/antd/es/checkbox/GroupContext.cjs +4 -1
  823. package/dist/node_modules/antd/es/checkbox/GroupContext.js +3 -3
  824. package/dist/node_modules/antd/es/checkbox/index.cjs +10 -1
  825. package/dist/node_modules/antd/es/checkbox/index.js +9 -7
  826. package/dist/node_modules/antd/es/checkbox/style/index.cjs +247 -7
  827. package/dist/node_modules/antd/es/checkbox/style/index.js +81 -80
  828. package/dist/node_modules/antd/es/checkbox/useBubbleLock.cjs +25 -1
  829. package/dist/node_modules/antd/es/checkbox/useBubbleLock.js +21 -12
  830. package/dist/node_modules/antd/es/color-picker/color.cjs +118 -1
  831. package/dist/node_modules/antd/es/color-picker/color.js +68 -45
  832. package/dist/node_modules/antd/es/color-picker/components/ColorPresets.cjs +20 -1
  833. package/dist/node_modules/antd/es/color-picker/components/ColorPresets.js +13 -9
  834. package/dist/node_modules/antd/es/config-provider/DisabledContext.cjs +35 -1
  835. package/dist/node_modules/antd/es/config-provider/DisabledContext.js +12 -11
  836. package/dist/node_modules/antd/es/config-provider/MotionWrapper.cjs +57 -1
  837. package/dist/node_modules/antd/es/config-provider/MotionWrapper.js +19 -12
  838. package/dist/node_modules/antd/es/config-provider/PropWarning.cjs +35 -1
  839. package/dist/node_modules/antd/es/config-provider/PropWarning.js +13 -9
  840. package/dist/node_modules/antd/es/config-provider/SizeContext.cjs +35 -1
  841. package/dist/node_modules/antd/es/config-provider/SizeContext.js +12 -11
  842. package/dist/node_modules/antd/es/config-provider/UnstableContext.cjs +41 -1
  843. package/dist/node_modules/antd/es/config-provider/UnstableContext.js +16 -12
  844. package/dist/node_modules/antd/es/config-provider/context.cjs +62 -1
  845. package/dist/node_modules/antd/es/config-provider/context.js +38 -25
  846. package/dist/node_modules/antd/es/config-provider/cssVariables.cjs +69 -4
  847. package/dist/node_modules/antd/es/config-provider/cssVariables.js +62 -29
  848. package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.cjs +40 -1
  849. package/dist/node_modules/antd/es/config-provider/defaultRenderEmpty.js +18 -16
  850. package/dist/node_modules/antd/es/config-provider/hooks/useCSSVarCls.cjs +22 -1
  851. package/dist/node_modules/antd/es/config-provider/hooks/useCSSVarCls.js +5 -5
  852. package/dist/node_modules/antd/es/config-provider/hooks/useConfig.cjs +13 -1
  853. package/dist/node_modules/antd/es/config-provider/hooks/useConfig.js +9 -8
  854. package/dist/node_modules/antd/es/config-provider/hooks/useSize.cjs +20 -1
  855. package/dist/node_modules/antd/es/config-provider/hooks/useSize.js +18 -6
  856. package/dist/node_modules/antd/es/config-provider/hooks/useTheme.cjs +46 -1
  857. package/dist/node_modules/antd/es/config-provider/hooks/useTheme.js +38 -32
  858. package/dist/node_modules/antd/es/config-provider/hooks/useThemeKey.cjs +28 -1
  859. package/dist/node_modules/antd/es/config-provider/hooks/useThemeKey.js +8 -5
  860. package/dist/node_modules/antd/es/config-provider/index.cjs +414 -1
  861. package/dist/node_modules/antd/es/config-provider/index.js +369 -296
  862. package/dist/node_modules/antd/es/date-picker/PickerButton.cjs +27 -1
  863. package/dist/node_modules/antd/es/date-picker/PickerButton.js +5 -5
  864. package/dist/node_modules/antd/es/date-picker/generatePicker/constant.cjs +16 -1
  865. package/dist/node_modules/antd/es/date-picker/generatePicker/constant.js +15 -11
  866. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.cjs +170 -1
  867. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +131 -109
  868. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.cjs +202 -1
  869. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +160 -121
  870. package/dist/node_modules/antd/es/date-picker/generatePicker/index.cjs +26 -1
  871. package/dist/node_modules/antd/es/date-picker/generatePicker/index.js +23 -12
  872. package/dist/node_modules/antd/es/date-picker/generatePicker/useComponents.cjs +9 -1
  873. package/dist/node_modules/antd/es/date-picker/generatePicker/useComponents.js +7 -7
  874. package/dist/node_modules/antd/es/date-picker/index.cjs +11 -1
  875. package/dist/node_modules/antd/es/date-picker/index.js +10 -9
  876. package/dist/node_modules/antd/es/date-picker/locale/en_US.cjs +19 -1
  877. package/dist/node_modules/antd/es/date-picker/locale/en_US.js +6 -6
  878. package/dist/node_modules/antd/es/date-picker/style/index.cjs +462 -11
  879. package/dist/node_modules/antd/es/date-picker/style/index.js +207 -202
  880. package/dist/node_modules/antd/es/date-picker/style/multiple.cjs +114 -1
  881. package/dist/node_modules/antd/es/date-picker/style/multiple.js +50 -45
  882. package/dist/node_modules/antd/es/date-picker/style/panel.cjs +618 -12
  883. package/dist/node_modules/antd/es/date-picker/style/panel.js +267 -249
  884. package/dist/node_modules/antd/es/date-picker/style/token.cjs +74 -1
  885. package/dist/node_modules/antd/es/date-picker/style/token.js +55 -46
  886. package/dist/node_modules/antd/es/date-picker/style/variants.cjs +52 -1
  887. package/dist/node_modules/antd/es/date-picker/style/variants.js +20 -20
  888. package/dist/node_modules/antd/es/date-picker/util.cjs +89 -1
  889. package/dist/node_modules/antd/es/date-picker/util.js +63 -19
  890. package/dist/node_modules/antd/es/dropdown/dropdown-button.cjs +132 -1
  891. package/dist/node_modules/antd/es/dropdown/dropdown-button.js +108 -89
  892. package/dist/node_modules/antd/es/dropdown/dropdown.cjs +235 -1
  893. package/dist/node_modules/antd/es/dropdown/dropdown.js +188 -130
  894. package/dist/node_modules/antd/es/dropdown/index.cjs +6 -1
  895. package/dist/node_modules/antd/es/dropdown/index.js +5 -5
  896. package/dist/node_modules/antd/es/dropdown/style/index.cjs +320 -15
  897. package/dist/node_modules/antd/es/dropdown/style/index.js +154 -147
  898. package/dist/node_modules/antd/es/dropdown/style/status.cjs +24 -1
  899. package/dist/node_modules/antd/es/dropdown/style/status.js +14 -13
  900. package/dist/node_modules/antd/es/empty/empty.cjs +95 -1
  901. package/dist/node_modules/antd/es/empty/empty.js +26 -21
  902. package/dist/node_modules/antd/es/empty/index.cjs +103 -1
  903. package/dist/node_modules/antd/es/empty/index.js +78 -62
  904. package/dist/node_modules/antd/es/empty/simple.cjs +85 -1
  905. package/dist/node_modules/antd/es/empty/simple.js +36 -31
  906. package/dist/node_modules/antd/es/empty/style/index.cjs +88 -1
  907. package/dist/node_modules/antd/es/empty/style/index.js +45 -43
  908. package/dist/node_modules/antd/es/form/ErrorList.cjs +117 -1
  909. package/dist/node_modules/antd/es/form/ErrorList.js +84 -66
  910. package/dist/node_modules/antd/es/form/Form.cjs +178 -1
  911. package/dist/node_modules/antd/es/form/Form.js +145 -109
  912. package/dist/node_modules/antd/es/form/FormItem/ItemHolder.cjs +174 -1
  913. package/dist/node_modules/antd/es/form/FormItem/ItemHolder.js +112 -95
  914. package/dist/node_modules/antd/es/form/FormItem/StatusProvider.cjs +92 -1
  915. package/dist/node_modules/antd/es/form/FormItem/StatusProvider.js +67 -55
  916. package/dist/node_modules/antd/es/form/FormItem/index.cjs +275 -1
  917. package/dist/node_modules/antd/es/form/FormItem/index.js +232 -148
  918. package/dist/node_modules/antd/es/form/FormItemInput.cjs +141 -1
  919. package/dist/node_modules/antd/es/form/FormItemInput.js +113 -83
  920. package/dist/node_modules/antd/es/form/FormItemLabel.cjs +124 -1
  921. package/dist/node_modules/antd/es/form/FormItemLabel.js +91 -70
  922. package/dist/node_modules/antd/es/form/FormList.cjs +62 -1
  923. package/dist/node_modules/antd/es/form/FormList.js +32 -29
  924. package/dist/node_modules/antd/es/form/context.cjs +73 -1
  925. package/dist/node_modules/antd/es/form/context.js +47 -31
  926. package/dist/node_modules/antd/es/form/hooks/useChildren.cjs +10 -1
  927. package/dist/node_modules/antd/es/form/hooks/useChildren.js +8 -7
  928. package/dist/node_modules/antd/es/form/hooks/useDebounce.cjs +34 -1
  929. package/dist/node_modules/antd/es/form/hooks/useDebounce.js +11 -10
  930. package/dist/node_modules/antd/es/form/hooks/useForm.cjs +96 -1
  931. package/dist/node_modules/antd/es/form/hooks/useForm.js +64 -43
  932. package/dist/node_modules/antd/es/form/hooks/useFormInstance.cjs +29 -1
  933. package/dist/node_modules/antd/es/form/hooks/useFormInstance.js +7 -7
  934. package/dist/node_modules/antd/es/form/hooks/useFormItemStatus.cjs +41 -1
  935. package/dist/node_modules/antd/es/form/hooks/useFormItemStatus.js +15 -15
  936. package/dist/node_modules/antd/es/form/hooks/useFormWarning.cjs +39 -1
  937. package/dist/node_modules/antd/es/form/hooks/useFormWarning.js +16 -13
  938. package/dist/node_modules/antd/es/form/hooks/useFrameState.cjs +57 -1
  939. package/dist/node_modules/antd/es/form/hooks/useFrameState.js +34 -17
  940. package/dist/node_modules/antd/es/form/hooks/useItemRef.cjs +41 -1
  941. package/dist/node_modules/antd/es/form/hooks/useItemRef.js +18 -11
  942. package/dist/node_modules/antd/es/form/hooks/useVariants.cjs +45 -1
  943. package/dist/node_modules/antd/es/form/hooks/useVariants.js +22 -14
  944. package/dist/node_modules/antd/es/form/index.cjs +23 -1
  945. package/dist/node_modules/antd/es/form/index.js +20 -20
  946. package/dist/node_modules/antd/es/form/style/explain.cjs +45 -3
  947. package/dist/node_modules/antd/es/form/style/explain.js +16 -14
  948. package/dist/node_modules/antd/es/form/style/fallbackCmp.cjs +39 -1
  949. package/dist/node_modules/antd/es/form/style/fallbackCmp.js +13 -12
  950. package/dist/node_modules/antd/es/form/style/index.cjs +521 -7
  951. package/dist/node_modules/antd/es/form/style/index.js +223 -206
  952. package/dist/node_modules/antd/es/form/util.cjs +36 -1
  953. package/dist/node_modules/antd/es/form/util.js +32 -14
  954. package/dist/node_modules/antd/es/form/validateMessagesContext.cjs +4 -1
  955. package/dist/node_modules/antd/es/form/validateMessagesContext.js +3 -3
  956. package/dist/node_modules/antd/es/grid/RowContext.cjs +4 -1
  957. package/dist/node_modules/antd/es/grid/RowContext.js +3 -3
  958. package/dist/node_modules/antd/es/grid/col.cjs +120 -1
  959. package/dist/node_modules/antd/es/grid/col.js +93 -60
  960. package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.cjs +23 -1
  961. package/dist/node_modules/antd/es/grid/hooks/useBreakpoint.js +20 -13
  962. package/dist/node_modules/antd/es/grid/hooks/useGutter.cjs +29 -1
  963. package/dist/node_modules/antd/es/grid/hooks/useGutter.js +23 -19
  964. package/dist/node_modules/antd/es/grid/row.cjs +114 -1
  965. package/dist/node_modules/antd/es/grid/row.js +87 -63
  966. package/dist/node_modules/antd/es/grid/style/index.cjs +180 -1
  967. package/dist/node_modules/antd/es/grid/style/index.js +107 -76
  968. package/dist/node_modules/antd/es/input/Group.cjs +65 -1
  969. package/dist/node_modules/antd/es/input/Group.js +43 -32
  970. package/dist/node_modules/antd/es/input/Input.cjs +166 -1
  971. package/dist/node_modules/antd/es/input/Input.js +153 -125
  972. package/dist/node_modules/antd/es/input/OTP/OTPInput.cjs +89 -1
  973. package/dist/node_modules/antd/es/input/OTP/OTPInput.js +62 -44
  974. package/dist/node_modules/antd/es/input/OTP/index.cjs +216 -1
  975. package/dist/node_modules/antd/es/input/OTP/index.js +175 -123
  976. package/dist/node_modules/antd/es/input/Password.cjs +124 -1
  977. package/dist/node_modules/antd/es/input/Password.js +93 -61
  978. package/dist/node_modules/antd/es/input/Search.cjs +169 -1
  979. package/dist/node_modules/antd/es/input/Search.js +142 -102
  980. package/dist/node_modules/antd/es/input/TextArea.cjs +148 -1
  981. package/dist/node_modules/antd/es/input/TextArea.js +110 -97
  982. package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.cjs +25 -1
  983. package/dist/node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +21 -10
  984. package/dist/node_modules/antd/es/input/index.cjs +14 -1
  985. package/dist/node_modules/antd/es/input/index.js +13 -13
  986. package/dist/node_modules/antd/es/input/style/index.cjs +698 -16
  987. package/dist/node_modules/antd/es/input/style/index.js +273 -256
  988. package/dist/node_modules/antd/es/input/style/otp.cjs +51 -1
  989. package/dist/node_modules/antd/es/input/style/otp.js +21 -20
  990. package/dist/node_modules/antd/es/input/style/textarea.cjs +104 -4
  991. package/dist/node_modules/antd/es/input/style/textarea.js +38 -36
  992. package/dist/node_modules/antd/es/input/style/token.cjs +74 -1
  993. package/dist/node_modules/antd/es/input/style/token.js +53 -47
  994. package/dist/node_modules/antd/es/input/style/variants.cjs +322 -1
  995. package/dist/node_modules/antd/es/input/style/variants.js +195 -180
  996. package/dist/node_modules/antd/es/input/utils.cjs +5 -1
  997. package/dist/node_modules/antd/es/input/utils.js +3 -3
  998. package/dist/node_modules/antd/es/layout/Sider.cjs +193 -1
  999. package/dist/node_modules/antd/es/layout/Sider.js +147 -108
  1000. package/dist/node_modules/antd/es/layout/context.cjs +28 -1
  1001. package/dist/node_modules/antd/es/layout/context.js +3 -3
  1002. package/dist/node_modules/antd/es/layout/style/index.cjs +130 -1
  1003. package/dist/node_modules/antd/es/layout/style/index.js +66 -63
  1004. package/dist/node_modules/antd/es/layout/style/sider.cjs +130 -1
  1005. package/dist/node_modules/antd/es/layout/style/sider.js +60 -59
  1006. package/dist/node_modules/antd/es/locale/context.cjs +4 -1
  1007. package/dist/node_modules/antd/es/locale/context.js +3 -3
  1008. package/dist/node_modules/antd/es/locale/en_US.cjs +146 -1
  1009. package/dist/node_modules/antd/es/locale/en_US.js +23 -22
  1010. package/dist/node_modules/antd/es/locale/index.cjs +52 -1
  1011. package/dist/node_modules/antd/es/locale/index.js +27 -21
  1012. package/dist/node_modules/antd/es/locale/useLocale.cjs +41 -1
  1013. package/dist/node_modules/antd/es/locale/useLocale.js +20 -14
  1014. package/dist/node_modules/antd/es/menu/MenuContext.cjs +8 -1
  1015. package/dist/node_modules/antd/es/menu/MenuContext.js +5 -5
  1016. package/dist/node_modules/antd/es/menu/MenuDivider.cjs +52 -1
  1017. package/dist/node_modules/antd/es/menu/MenuDivider.js +27 -23
  1018. package/dist/node_modules/antd/es/menu/MenuItem.cjs +100 -1
  1019. package/dist/node_modules/antd/es/menu/MenuItem.js +75 -56
  1020. package/dist/node_modules/antd/es/menu/OverrideContext.cjs +59 -1
  1021. package/dist/node_modules/antd/es/menu/OverrideContext.js +33 -27
  1022. package/dist/node_modules/antd/es/menu/SubMenu.cjs +74 -1
  1023. package/dist/node_modules/antd/es/menu/SubMenu.js +48 -44
  1024. package/dist/node_modules/antd/es/menu/index.cjs +50 -1
  1025. package/dist/node_modules/antd/es/menu/index.js +28 -24
  1026. package/dist/node_modules/antd/es/menu/menu.cjs +160 -1
  1027. package/dist/node_modules/antd/es/menu/menu.js +127 -105
  1028. package/dist/node_modules/antd/es/menu/style/horizontal.cjs +58 -3
  1029. package/dist/node_modules/antd/es/menu/style/horizontal.js +22 -22
  1030. package/dist/node_modules/antd/es/menu/style/index.cjs +579 -2
  1031. package/dist/node_modules/antd/es/menu/style/index.js +338 -301
  1032. package/dist/node_modules/antd/es/menu/style/rtl.cjs +41 -2
  1033. package/dist/node_modules/antd/es/menu/style/rtl.js +14 -14
  1034. package/dist/node_modules/antd/es/menu/style/theme.cjs +228 -1
  1035. package/dist/node_modules/antd/es/menu/style/theme.js +113 -112
  1036. package/dist/node_modules/antd/es/menu/style/vertical.cjs +200 -9
  1037. package/dist/node_modules/antd/es/menu/style/vertical.js +92 -89
  1038. package/dist/node_modules/antd/es/modal/locale.cjs +18 -1
  1039. package/dist/node_modules/antd/es/modal/locale.js +14 -11
  1040. package/dist/node_modules/antd/es/pagination/Pagination.cjs +206 -1
  1041. package/dist/node_modules/antd/es/pagination/Pagination.js +153 -122
  1042. package/dist/node_modules/antd/es/pagination/index.cjs +3 -1
  1043. package/dist/node_modules/antd/es/pagination/index.js +2 -2
  1044. package/dist/node_modules/antd/es/pagination/style/bordered.cjs +105 -1
  1045. package/dist/node_modules/antd/es/pagination/style/bordered.js +56 -55
  1046. package/dist/node_modules/antd/es/pagination/style/index.cjs +545 -16
  1047. package/dist/node_modules/antd/es/pagination/style/index.js +242 -233
  1048. package/dist/node_modules/antd/es/pagination/useShowSizeChanger.cjs +14 -1
  1049. package/dist/node_modules/antd/es/pagination/useShowSizeChanger.js +12 -4
  1050. package/dist/node_modules/antd/es/popconfirm/PurePanel.cjs +117 -1
  1051. package/dist/node_modules/antd/es/popconfirm/PurePanel.js +87 -78
  1052. package/dist/node_modules/antd/es/popconfirm/index.cjs +126 -1
  1053. package/dist/node_modules/antd/es/popconfirm/index.js +98 -77
  1054. package/dist/node_modules/antd/es/popconfirm/style/index.cjs +84 -1
  1055. package/dist/node_modules/antd/es/popconfirm/style/index.js +42 -40
  1056. package/dist/node_modules/antd/es/popover/PurePanel.cjs +100 -1
  1057. package/dist/node_modules/antd/es/popover/PurePanel.js +67 -55
  1058. package/dist/node_modules/antd/es/popover/index.cjs +127 -1
  1059. package/dist/node_modules/antd/es/popover/index.js +98 -76
  1060. package/dist/node_modules/antd/es/popover/style/index.cjs +179 -1
  1061. package/dist/node_modules/antd/es/popover/style/index.js +100 -92
  1062. package/dist/node_modules/antd/es/progress/Circle.cjs +98 -1
  1063. package/dist/node_modules/antd/es/progress/Circle.js +73 -53
  1064. package/dist/node_modules/antd/es/progress/Line.cjs +149 -1
  1065. package/dist/node_modules/antd/es/progress/Line.js +116 -93
  1066. package/dist/node_modules/antd/es/progress/Steps.cjs +65 -1
  1067. package/dist/node_modules/antd/es/progress/Steps.js +37 -31
  1068. package/dist/node_modules/antd/es/progress/index.cjs +3 -1
  1069. package/dist/node_modules/antd/es/progress/index.js +2 -2
  1070. package/dist/node_modules/antd/es/progress/progress.cjs +180 -1
  1071. package/dist/node_modules/antd/es/progress/progress.js +148 -103
  1072. package/dist/node_modules/antd/es/progress/style/index.cjs +322 -1
  1073. package/dist/node_modules/antd/es/progress/style/index.js +140 -131
  1074. package/dist/node_modules/antd/es/progress/utils.cjs +89 -1
  1075. package/dist/node_modules/antd/es/progress/utils.js +80 -40
  1076. package/dist/node_modules/antd/es/radio/context.cjs +30 -1
  1077. package/dist/node_modules/antd/es/radio/context.js +9 -6
  1078. package/dist/node_modules/antd/es/radio/group.cjs +134 -1
  1079. package/dist/node_modules/antd/es/radio/group.js +111 -87
  1080. package/dist/node_modules/antd/es/radio/index.cjs +12 -1
  1081. package/dist/node_modules/antd/es/radio/index.js +10 -10
  1082. package/dist/node_modules/antd/es/radio/radio.cjs +123 -1
  1083. package/dist/node_modules/antd/es/radio/radio.js +96 -71
  1084. package/dist/node_modules/antd/es/radio/radioButton.cjs +52 -1
  1085. package/dist/node_modules/antd/es/radio/radioButton.js +26 -22
  1086. package/dist/node_modules/antd/es/radio/style/index.cjs +477 -2
  1087. package/dist/node_modules/antd/es/radio/style/index.js +250 -235
  1088. package/dist/node_modules/antd/es/result/index.cjs +134 -1
  1089. package/dist/node_modules/antd/es/result/index.js +104 -87
  1090. package/dist/node_modules/antd/es/result/noFound.cjs +255 -1
  1091. package/dist/node_modules/antd/es/result/noFound.js +63 -63
  1092. package/dist/node_modules/antd/es/result/serverError.cjs +295 -1
  1093. package/dist/node_modules/antd/es/result/serverError.js +70 -70
  1094. package/dist/node_modules/antd/es/result/style/index.cjs +128 -1
  1095. package/dist/node_modules/antd/es/result/style/index.js +75 -66
  1096. package/dist/node_modules/antd/es/result/unauthorized.cjs +245 -1
  1097. package/dist/node_modules/antd/es/result/unauthorized.js +58 -58
  1098. package/dist/node_modules/antd/es/segmented/index.cjs +99 -1
  1099. package/dist/node_modules/antd/es/segmented/index.js +73 -61
  1100. package/dist/node_modules/antd/es/segmented/style/index.cjs +232 -1
  1101. package/dist/node_modules/antd/es/segmented/style/index.js +108 -101
  1102. package/dist/node_modules/antd/es/select/index.cjs +246 -1
  1103. package/dist/node_modules/antd/es/select/index.js +200 -148
  1104. package/dist/node_modules/antd/es/select/mergedBuiltinPlacements.cjs +35 -1
  1105. package/dist/node_modules/antd/es/select/mergedBuiltinPlacements.js +15 -14
  1106. package/dist/node_modules/antd/es/select/style/dropdown.cjs +148 -12
  1107. package/dist/node_modules/antd/es/select/style/dropdown.js +72 -65
  1108. package/dist/node_modules/antd/es/select/style/index.cjs +258 -1
  1109. package/dist/node_modules/antd/es/select/style/index.js +91 -87
  1110. package/dist/node_modules/antd/es/select/style/multiple.cjs +298 -6
  1111. package/dist/node_modules/antd/es/select/style/multiple.js +139 -120
  1112. package/dist/node_modules/antd/es/select/style/single.cjs +170 -11
  1113. package/dist/node_modules/antd/es/select/style/single.js +65 -62
  1114. package/dist/node_modules/antd/es/select/style/token.cjs +60 -1
  1115. package/dist/node_modules/antd/es/select/style/token.js +53 -47
  1116. package/dist/node_modules/antd/es/select/style/variants.cjs +229 -1
  1117. package/dist/node_modules/antd/es/select/style/variants.js +156 -146
  1118. package/dist/node_modules/antd/es/select/useIcons.cjs +100 -1
  1119. package/dist/node_modules/antd/es/select/useIcons.js +72 -49
  1120. package/dist/node_modules/antd/es/select/useShowArrow.cjs +5 -1
  1121. package/dist/node_modules/antd/es/select/useShowArrow.js +3 -3
  1122. package/dist/node_modules/antd/es/skeleton/Avatar.cjs +54 -1
  1123. package/dist/node_modules/antd/es/skeleton/Avatar.js +31 -26
  1124. package/dist/node_modules/antd/es/skeleton/Button.cjs +54 -1
  1125. package/dist/node_modules/antd/es/skeleton/Button.js +31 -26
  1126. package/dist/node_modules/antd/es/skeleton/Element.cjs +50 -1
  1127. package/dist/node_modules/antd/es/skeleton/Element.js +27 -24
  1128. package/dist/node_modules/antd/es/skeleton/Image.cjs +57 -1
  1129. package/dist/node_modules/antd/es/skeleton/Image.js +31 -26
  1130. package/dist/node_modules/antd/es/skeleton/Input.cjs +54 -1
  1131. package/dist/node_modules/antd/es/skeleton/Input.js +31 -26
  1132. package/dist/node_modules/antd/es/skeleton/Node.cjs +50 -1
  1133. package/dist/node_modules/antd/es/skeleton/Node.js +27 -23
  1134. package/dist/node_modules/antd/es/skeleton/Paragraph.cjs +59 -1
  1135. package/dist/node_modules/antd/es/skeleton/Paragraph.js +31 -26
  1136. package/dist/node_modules/antd/es/skeleton/Skeleton.cjs +152 -1
  1137. package/dist/node_modules/antd/es/skeleton/Skeleton.js +118 -91
  1138. package/dist/node_modules/antd/es/skeleton/Title.cjs +40 -1
  1139. package/dist/node_modules/antd/es/skeleton/Title.js +13 -13
  1140. package/dist/node_modules/antd/es/skeleton/index.cjs +3 -1
  1141. package/dist/node_modules/antd/es/skeleton/index.js +2 -2
  1142. package/dist/node_modules/antd/es/skeleton/style/index.cjs +328 -8
  1143. package/dist/node_modules/antd/es/skeleton/style/index.js +204 -187
  1144. package/dist/node_modules/antd/es/space/Compact.cjs +122 -1
  1145. package/dist/node_modules/antd/es/space/Compact.js +89 -70
  1146. package/dist/node_modules/antd/es/space/Item.cjs +44 -1
  1147. package/dist/node_modules/antd/es/space/Item.js +21 -18
  1148. package/dist/node_modules/antd/es/space/context.cjs +8 -1
  1149. package/dist/node_modules/antd/es/space/context.js +6 -5
  1150. package/dist/node_modules/antd/es/space/index.cjs +127 -1
  1151. package/dist/node_modules/antd/es/space/index.js +104 -75
  1152. package/dist/node_modules/antd/es/space/style/compact.cjs +18 -1
  1153. package/dist/node_modules/antd/es/space/style/compact.js +5 -5
  1154. package/dist/node_modules/antd/es/space/style/index.cjs +97 -1
  1155. package/dist/node_modules/antd/es/space/style/index.js +30 -28
  1156. package/dist/node_modules/antd/es/spin/Indicator/Looper.cjs +44 -1
  1157. package/dist/node_modules/antd/es/spin/Indicator/Looper.js +21 -18
  1158. package/dist/node_modules/antd/es/spin/Indicator/Progress.cjs +85 -1
  1159. package/dist/node_modules/antd/es/spin/Indicator/Progress.js +53 -41
  1160. package/dist/node_modules/antd/es/spin/Indicator/index.cjs +43 -1
  1161. package/dist/node_modules/antd/es/spin/Indicator/index.js +20 -16
  1162. package/dist/node_modules/antd/es/spin/index.cjs +136 -1
  1163. package/dist/node_modules/antd/es/spin/index.js +105 -86
  1164. package/dist/node_modules/antd/es/spin/style/index.cjs +299 -1
  1165. package/dist/node_modules/antd/es/spin/style/index.js +92 -88
  1166. package/dist/node_modules/antd/es/spin/usePercent.cjs +50 -1
  1167. package/dist/node_modules/antd/es/spin/usePercent.js +29 -18
  1168. package/dist/node_modules/antd/es/style/compact-item-vertical.cjs +43 -1
  1169. package/dist/node_modules/antd/es/style/compact-item-vertical.js +13 -13
  1170. package/dist/node_modules/antd/es/style/compact-item.cjs +64 -1
  1171. package/dist/node_modules/antd/es/style/compact-item.js +30 -26
  1172. package/dist/node_modules/antd/es/style/index.cjs +165 -1
  1173. package/dist/node_modules/antd/es/style/index.js +67 -53
  1174. package/dist/node_modules/antd/es/style/motion/collapse.cjs +19 -3
  1175. package/dist/node_modules/antd/es/style/motion/collapse.js +9 -9
  1176. package/dist/node_modules/antd/es/style/motion/motion.cjs +37 -7
  1177. package/dist/node_modules/antd/es/style/motion/motion.js +19 -16
  1178. package/dist/node_modules/antd/es/style/motion/move.cjs +159 -4
  1179. package/dist/node_modules/antd/es/style/motion/move.js +51 -40
  1180. package/dist/node_modules/antd/es/style/motion/slide.cjs +164 -4
  1181. package/dist/node_modules/antd/es/style/motion/slide.js +51 -40
  1182. package/dist/node_modules/antd/es/style/motion/zoom.cjs +209 -4
  1183. package/dist/node_modules/antd/es/style/motion/zoom.js +69 -54
  1184. package/dist/node_modules/antd/es/style/placementArrow.cjs +170 -1
  1185. package/dist/node_modules/antd/es/style/placementArrow.js +85 -79
  1186. package/dist/node_modules/antd/es/style/roundedArrow.cjs +90 -1
  1187. package/dist/node_modules/antd/es/style/roundedArrow.js +48 -31
  1188. package/dist/node_modules/antd/es/switch/index.cjs +102 -1
  1189. package/dist/node_modules/antd/es/switch/index.js +76 -60
  1190. package/dist/node_modules/antd/es/switch/style/index.cjs +336 -1
  1191. package/dist/node_modules/antd/es/switch/style/index.js +205 -187
  1192. package/dist/node_modules/antd/es/table/Column.cjs +3 -1
  1193. package/dist/node_modules/antd/es/table/Column.js +2 -2
  1194. package/dist/node_modules/antd/es/table/ColumnGroup.cjs +3 -1
  1195. package/dist/node_modules/antd/es/table/ColumnGroup.js +2 -2
  1196. package/dist/node_modules/antd/es/table/ExpandIcon.cjs +49 -1
  1197. package/dist/node_modules/antd/es/table/ExpandIcon.js +22 -20
  1198. package/dist/node_modules/antd/es/table/InternalTable.cjs +402 -1
  1199. package/dist/node_modules/antd/es/table/InternalTable.js +347 -224
  1200. package/dist/node_modules/antd/es/table/RcTable/VirtualTable.cjs +15 -1
  1201. package/dist/node_modules/antd/es/table/RcTable/VirtualTable.js +9 -8
  1202. package/dist/node_modules/antd/es/table/RcTable/index.cjs +15 -1
  1203. package/dist/node_modules/antd/es/table/RcTable/index.js +9 -8
  1204. package/dist/node_modules/antd/es/table/Table.cjs +51 -1
  1205. package/dist/node_modules/antd/es/table/Table.js +27 -23
  1206. package/dist/node_modules/antd/es/table/hooks/useContainerWidth.cjs +16 -1
  1207. package/dist/node_modules/antd/es/table/hooks/useContainerWidth.js +12 -9
  1208. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.cjs +486 -1
  1209. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +399 -288
  1210. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterSearch.cjs +47 -1
  1211. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterSearch.js +23 -20
  1212. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterWrapper.cjs +40 -1
  1213. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterWrapper.js +19 -14
  1214. package/dist/node_modules/antd/es/table/hooks/useFilter/index.cjs +223 -1
  1215. package/dist/node_modules/antd/es/table/hooks/useFilter/index.js +182 -130
  1216. package/dist/node_modules/antd/es/table/hooks/useLazyKVMap.cjs +49 -1
  1217. package/dist/node_modules/antd/es/table/hooks/useLazyKVMap.js +23 -19
  1218. package/dist/node_modules/antd/es/table/hooks/usePagination.cjs +67 -1
  1219. package/dist/node_modules/antd/es/table/hooks/usePagination.js +57 -39
  1220. package/dist/node_modules/antd/es/table/hooks/useSelection.cjs +533 -1
  1221. package/dist/node_modules/antd/es/table/hooks/useSelection.js +468 -299
  1222. package/dist/node_modules/antd/es/table/hooks/useSorter.cjs +392 -1
  1223. package/dist/node_modules/antd/es/table/hooks/useSorter.js +332 -203
  1224. package/dist/node_modules/antd/es/table/hooks/useTitleColumns.cjs +38 -1
  1225. package/dist/node_modules/antd/es/table/hooks/useTitleColumns.js +18 -7
  1226. package/dist/node_modules/antd/es/table/index.cjs +3 -1
  1227. package/dist/node_modules/antd/es/table/index.js +2 -2
  1228. package/dist/node_modules/antd/es/table/style/bordered.cjs +151 -10
  1229. package/dist/node_modules/antd/es/table/style/bordered.js +72 -53
  1230. package/dist/node_modules/antd/es/table/style/ellipsis.cjs +32 -4
  1231. package/dist/node_modules/antd/es/table/style/ellipsis.js +11 -11
  1232. package/dist/node_modules/antd/es/table/style/empty.cjs +21 -1
  1233. package/dist/node_modules/antd/es/table/style/empty.js +12 -9
  1234. package/dist/node_modules/antd/es/table/style/expand.cjs +134 -1
  1235. package/dist/node_modules/antd/es/table/style/expand.js +58 -56
  1236. package/dist/node_modules/antd/es/table/style/filter.cjs +167 -1
  1237. package/dist/node_modules/antd/es/table/style/filter.js +85 -81
  1238. package/dist/node_modules/antd/es/table/style/fixed.cjs +121 -21
  1239. package/dist/node_modules/antd/es/table/style/fixed.js +50 -49
  1240. package/dist/node_modules/antd/es/table/style/index.cjs +333 -10
  1241. package/dist/node_modules/antd/es/table/style/index.js +236 -221
  1242. package/dist/node_modules/antd/es/table/style/pagination.cjs +46 -1
  1243. package/dist/node_modules/antd/es/table/style/pagination.js +12 -12
  1244. package/dist/node_modules/antd/es/table/style/radius.cjs +58 -1
  1245. package/dist/node_modules/antd/es/table/style/radius.js +17 -17
  1246. package/dist/node_modules/antd/es/table/style/rtl.cjs +46 -1
  1247. package/dist/node_modules/antd/es/table/style/rtl.js +10 -10
  1248. package/dist/node_modules/antd/es/table/style/selection.cjs +107 -5
  1249. package/dist/node_modules/antd/es/table/style/selection.js +53 -53
  1250. package/dist/node_modules/antd/es/table/style/size.cjs +56 -8
  1251. package/dist/node_modules/antd/es/table/style/size.js +28 -27
  1252. package/dist/node_modules/antd/es/table/style/sorter.cjs +94 -4
  1253. package/dist/node_modules/antd/es/table/style/sorter.js +32 -32
  1254. package/dist/node_modules/antd/es/table/style/sticky.cjs +67 -1
  1255. package/dist/node_modules/antd/es/table/style/sticky.js +30 -29
  1256. package/dist/node_modules/antd/es/table/style/summary.cjs +40 -1
  1257. package/dist/node_modules/antd/es/table/style/summary.js +16 -15
  1258. package/dist/node_modules/antd/es/table/style/virtual.cjs +85 -4
  1259. package/dist/node_modules/antd/es/table/style/virtual.js +35 -33
  1260. package/dist/node_modules/antd/es/table/util.cjs +30 -1
  1261. package/dist/node_modules/antd/es/table/util.js +27 -10
  1262. package/dist/node_modules/antd/es/tabs/TabPane.cjs +6 -1
  1263. package/dist/node_modules/antd/es/tabs/TabPane.js +5 -3
  1264. package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.cjs +36 -1
  1265. package/dist/node_modules/antd/es/tabs/hooks/useAnimateConfig.js +33 -22
  1266. package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.cjs +63 -1
  1267. package/dist/node_modules/antd/es/tabs/hooks/useLegacyItems.js +35 -27
  1268. package/dist/node_modules/antd/es/tabs/index.cjs +134 -1
  1269. package/dist/node_modules/antd/es/tabs/index.js +105 -90
  1270. package/dist/node_modules/antd/es/tabs/style/index.cjs +851 -3
  1271. package/dist/node_modules/antd/es/tabs/style/index.js +384 -374
  1272. package/dist/node_modules/antd/es/tabs/style/motion.cjs +41 -1
  1273. package/dist/node_modules/antd/es/tabs/style/motion.js +11 -11
  1274. package/dist/node_modules/antd/es/theme/context.cjs +13 -1
  1275. package/dist/node_modules/antd/es/theme/context.js +10 -9
  1276. package/dist/node_modules/antd/es/theme/interface/presetColors.cjs +3 -1
  1277. package/dist/node_modules/antd/es/theme/interface/presetColors.js +2 -2
  1278. package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.cjs +9 -1
  1279. package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.js +8 -4
  1280. package/dist/node_modules/antd/es/theme/themes/default/colors.cjs +50 -1
  1281. package/dist/node_modules/antd/es/theme/themes/default/colors.js +39 -37
  1282. package/dist/node_modules/antd/es/theme/themes/default/index.cjs +32 -1
  1283. package/dist/node_modules/antd/es/theme/themes/default/index.js +28 -20
  1284. package/dist/node_modules/antd/es/theme/themes/default/theme.cjs +15 -1
  1285. package/dist/node_modules/antd/es/theme/themes/default/theme.js +4 -4
  1286. package/dist/node_modules/antd/es/theme/themes/seed.cjs +69 -2
  1287. package/dist/node_modules/antd/es/theme/themes/seed.js +8 -7
  1288. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.cjs +86 -1
  1289. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.js +80 -71
  1290. package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.cjs +19 -1
  1291. package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js +13 -13
  1292. package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.cjs +12 -1
  1293. package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.js +7 -7
  1294. package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.cjs +36 -1
  1295. package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.js +32 -24
  1296. package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.cjs +22 -1
  1297. package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.js +15 -12
  1298. package/dist/node_modules/antd/es/theme/themes/shared/genRadius.cjs +43 -1
  1299. package/dist/node_modules/antd/es/theme/themes/shared/genRadius.js +40 -9
  1300. package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.cjs +28 -1
  1301. package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js +14 -14
  1302. package/dist/node_modules/antd/es/theme/useToken.cjs +132 -1
  1303. package/dist/node_modules/antd/es/theme/useToken.js +112 -97
  1304. package/dist/node_modules/antd/es/theme/util/alias.cjs +149 -12
  1305. package/dist/node_modules/antd/es/theme/util/alias.js +108 -97
  1306. package/dist/node_modules/antd/es/theme/util/genPresetColor.cjs +17 -1
  1307. package/dist/node_modules/antd/es/theme/util/genPresetColor.js +13 -10
  1308. package/dist/node_modules/antd/es/theme/util/genStyleUtils.cjs +52 -1
  1309. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +35 -34
  1310. package/dist/node_modules/antd/es/theme/util/getAlphaColor.cjs +41 -1
  1311. package/dist/node_modules/antd/es/theme/util/getAlphaColor.js +32 -28
  1312. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.cjs +28 -1
  1313. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.js +11 -11
  1314. package/dist/node_modules/antd/es/time-picker/locale/en_US.cjs +6 -1
  1315. package/dist/node_modules/antd/es/time-picker/locale/en_US.js +2 -2
  1316. package/dist/node_modules/antd/es/tooltip/PurePanel.cjs +59 -1
  1317. package/dist/node_modules/antd/es/tooltip/PurePanel.js +34 -27
  1318. package/dist/node_modules/antd/es/tooltip/index.cjs +221 -1
  1319. package/dist/node_modules/antd/es/tooltip/index.js +172 -125
  1320. package/dist/node_modules/antd/es/tooltip/style/index.cjs +152 -1
  1321. package/dist/node_modules/antd/es/tooltip/style/index.js +83 -77
  1322. package/dist/node_modules/antd/es/tooltip/util.cjs +21 -1
  1323. package/dist/node_modules/antd/es/tooltip/util.js +18 -11
  1324. package/dist/node_modules/antd/es/tree/DirectoryTree.cjs +177 -1
  1325. package/dist/node_modules/antd/es/tree/DirectoryTree.js +147 -93
  1326. package/dist/node_modules/antd/es/tree/Tree.cjs +122 -1
  1327. package/dist/node_modules/antd/es/tree/Tree.js +94 -78
  1328. package/dist/node_modules/antd/es/tree/index.cjs +10 -1
  1329. package/dist/node_modules/antd/es/tree/index.js +7 -7
  1330. package/dist/node_modules/antd/es/tree/style/directory.cjs +55 -1
  1331. package/dist/node_modules/antd/es/tree/style/directory.js +22 -22
  1332. package/dist/node_modules/antd/es/tree/style/index.cjs +386 -1
  1333. package/dist/node_modules/antd/es/tree/style/index.js +155 -144
  1334. package/dist/node_modules/antd/es/tree/utils/dictUtil.cjs +73 -1
  1335. package/dist/node_modules/antd/es/tree/utils/dictUtil.js +64 -44
  1336. package/dist/node_modules/antd/es/tree/utils/dropIndicator.cjs +37 -1
  1337. package/dist/node_modules/antd/es/tree/utils/dropIndicator.js +24 -20
  1338. package/dist/node_modules/antd/es/tree/utils/iconUtil.cjs +95 -1
  1339. package/dist/node_modules/antd/es/tree/utils/iconUtil.js +67 -44
  1340. package/dist/node_modules/antd/es/typography/Base/CopyBtn.cjs +62 -1
  1341. package/dist/node_modules/antd/es/typography/Base/CopyBtn.js +38 -33
  1342. package/dist/node_modules/antd/es/typography/Base/Ellipsis.cjs +202 -1
  1343. package/dist/node_modules/antd/es/typography/Base/Ellipsis.js +144 -98
  1344. package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.cjs +40 -1
  1345. package/dist/node_modules/antd/es/typography/Base/EllipsisTooltip.js +18 -13
  1346. package/dist/node_modules/antd/es/typography/Base/index.cjs +354 -1
  1347. package/dist/node_modules/antd/es/typography/Base/index.js +306 -217
  1348. package/dist/node_modules/antd/es/typography/Base/util.cjs +33 -1
  1349. package/dist/node_modules/antd/es/typography/Base/util.js +29 -16
  1350. package/dist/node_modules/antd/es/typography/Editable.cjs +132 -1
  1351. package/dist/node_modules/antd/es/typography/Editable.js +101 -79
  1352. package/dist/node_modules/antd/es/typography/Link.cjs +51 -1
  1353. package/dist/node_modules/antd/es/typography/Link.js +23 -21
  1354. package/dist/node_modules/antd/es/typography/Paragraph.cjs +28 -1
  1355. package/dist/node_modules/antd/es/typography/Paragraph.js +6 -6
  1356. package/dist/node_modules/antd/es/typography/Text.cjs +55 -1
  1357. package/dist/node_modules/antd/es/typography/Text.js +29 -22
  1358. package/dist/node_modules/antd/es/typography/Title.cjs +48 -1
  1359. package/dist/node_modules/antd/es/typography/Title.js +22 -20
  1360. package/dist/node_modules/antd/es/typography/Typography.cjs +76 -1
  1361. package/dist/node_modules/antd/es/typography/Typography.js +51 -39
  1362. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.cjs +96 -1
  1363. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.js +58 -41
  1364. package/dist/node_modules/antd/es/typography/hooks/useMergedConfig.cjs +28 -1
  1365. package/dist/node_modules/antd/es/typography/hooks/useMergedConfig.js +7 -7
  1366. package/dist/node_modules/antd/es/typography/hooks/usePrevious.cjs +10 -1
  1367. package/dist/node_modules/antd/es/typography/hooks/usePrevious.js +8 -7
  1368. package/dist/node_modules/antd/es/typography/hooks/useTooltipProps.cjs +23 -1
  1369. package/dist/node_modules/antd/es/typography/hooks/useTooltipProps.js +22 -11
  1370. package/dist/node_modules/antd/es/typography/index.cjs +12 -1
  1371. package/dist/node_modules/antd/es/typography/index.js +11 -11
  1372. package/dist/node_modules/antd/es/typography/style/index.cjs +113 -12
  1373. package/dist/node_modules/antd/es/typography/style/index.js +65 -45
  1374. package/dist/node_modules/antd/es/typography/style/mixins.cjs +236 -6
  1375. package/dist/node_modules/antd/es/typography/style/mixins.js +74 -59
  1376. package/dist/node_modules/antd/es/version/index.cjs +3 -1
  1377. package/dist/node_modules/antd/es/version/index.js +2 -2
  1378. package/dist/node_modules/antd/es/version/version.cjs +3 -1
  1379. package/dist/node_modules/antd/es/version/version.js +2 -2
  1380. package/dist/node_modules/classnames/index.cjs +62 -2
  1381. package/dist/node_modules/classnames/index.js +51 -27
  1382. package/dist/node_modules/clsx/dist/clsx.m.cjs +15 -1
  1383. package/dist/node_modules/clsx/dist/clsx.m.js +11 -11
  1384. package/dist/node_modules/compute-scroll-into-view/dist/index.cjs +57 -1
  1385. package/dist/node_modules/compute-scroll-into-view/dist/index.js +45 -45
  1386. package/dist/node_modules/copy-to-clipboard/index.cjs +100 -1
  1387. package/dist/node_modules/copy-to-clipboard/index.js +88 -36
  1388. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +7 -1
  1389. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +5 -4
  1390. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
  1391. package/dist/node_modules/date-fns/_lib/defaultOptions.js +4 -4
  1392. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +652 -1
  1393. package/dist/node_modules/date-fns/_lib/format/formatters.js +263 -194
  1394. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +61 -1
  1395. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +33 -30
  1396. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +57 -1
  1397. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +33 -27
  1398. package/dist/node_modules/date-fns/_lib/getRoundingMethod.cjs +9 -1
  1399. package/dist/node_modules/date-fns/_lib/getRoundingMethod.js +6 -5
  1400. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +19 -1
  1401. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +14 -12
  1402. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +22 -1
  1403. package/dist/node_modules/date-fns/_lib/protectedTokens.js +17 -14
  1404. package/dist/node_modules/date-fns/compareAsc.cjs +17 -1
  1405. package/dist/node_modules/date-fns/compareAsc.js +14 -6
  1406. package/dist/node_modules/date-fns/constants.cjs +9 -1
  1407. package/dist/node_modules/date-fns/constants.js +8 -5
  1408. package/dist/node_modules/date-fns/constructFrom.cjs +11 -1
  1409. package/dist/node_modules/date-fns/constructFrom.js +8 -4
  1410. package/dist/node_modules/date-fns/constructNow.cjs +8 -1
  1411. package/dist/node_modules/date-fns/constructNow.js +5 -5
  1412. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +14 -1
  1413. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -8
  1414. package/dist/node_modules/date-fns/differenceInCalendarMonths.cjs +12 -1
  1415. package/dist/node_modules/date-fns/differenceInCalendarMonths.js +9 -6
  1416. package/dist/node_modules/date-fns/differenceInMilliseconds.cjs +8 -1
  1417. package/dist/node_modules/date-fns/differenceInMilliseconds.js +5 -5
  1418. package/dist/node_modules/date-fns/differenceInMonths.cjs +31 -1
  1419. package/dist/node_modules/date-fns/differenceInMonths.js +26 -17
  1420. package/dist/node_modules/date-fns/differenceInSeconds.cjs +10 -1
  1421. package/dist/node_modules/date-fns/differenceInSeconds.js +7 -7
  1422. package/dist/node_modules/date-fns/endOfDay.cjs +10 -1
  1423. package/dist/node_modules/date-fns/endOfDay.js +7 -6
  1424. package/dist/node_modules/date-fns/endOfMonth.cjs +12 -1
  1425. package/dist/node_modules/date-fns/endOfMonth.js +9 -6
  1426. package/dist/node_modules/date-fns/format.cjs +79 -1
  1427. package/dist/node_modules/date-fns/format.js +68 -48
  1428. package/dist/node_modules/date-fns/formatDistance.cjs +91 -1
  1429. package/dist/node_modules/date-fns/formatDistance.js +82 -41
  1430. package/dist/node_modules/date-fns/formatDistanceToNow.cjs +9 -1
  1431. package/dist/node_modules/date-fns/formatDistanceToNow.js +6 -6
  1432. package/dist/node_modules/date-fns/getDayOfYear.cjs +13 -1
  1433. package/dist/node_modules/date-fns/getDayOfYear.js +10 -8
  1434. package/dist/node_modules/date-fns/getISOWeek.cjs +13 -1
  1435. package/dist/node_modules/date-fns/getISOWeek.js +10 -9
  1436. package/dist/node_modules/date-fns/getISOWeekYear.cjs +26 -1
  1437. package/dist/node_modules/date-fns/getISOWeekYear.js +23 -12
  1438. package/dist/node_modules/date-fns/getWeek.cjs +13 -1
  1439. package/dist/node_modules/date-fns/getWeek.js +10 -9
  1440. package/dist/node_modules/date-fns/getWeekYear.cjs +30 -1
  1441. package/dist/node_modules/date-fns/getWeekYear.js +27 -14
  1442. package/dist/node_modules/date-fns/isDate.cjs +7 -1
  1443. package/dist/node_modules/date-fns/isDate.js +4 -4
  1444. package/dist/node_modules/date-fns/isLastDayOfMonth.cjs +11 -1
  1445. package/dist/node_modules/date-fns/isLastDayOfMonth.js +8 -8
  1446. package/dist/node_modules/date-fns/isValid.cjs +13 -1
  1447. package/dist/node_modules/date-fns/isValid.js +10 -9
  1448. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +9 -1
  1449. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +6 -5
  1450. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +19 -1
  1451. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +14 -12
  1452. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +42 -1
  1453. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +33 -21
  1454. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +15 -1
  1455. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +12 -11
  1456. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +84 -1
  1457. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +21 -6
  1458. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +35 -1
  1459. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +15 -12
  1460. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
  1461. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
  1462. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +163 -1
  1463. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +39 -30
  1464. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +121 -1
  1465. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +46 -34
  1466. package/dist/node_modules/date-fns/locale/en-US.cjs +21 -1
  1467. package/dist/node_modules/date-fns/locale/en-US.js +13 -13
  1468. package/dist/node_modules/date-fns/startOfDay.cjs +10 -1
  1469. package/dist/node_modules/date-fns/startOfDay.js +7 -6
  1470. package/dist/node_modules/date-fns/startOfISOWeek.cjs +8 -1
  1471. package/dist/node_modules/date-fns/startOfISOWeek.js +5 -5
  1472. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +14 -1
  1473. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -8
  1474. package/dist/node_modules/date-fns/startOfWeek.cjs +17 -1
  1475. package/dist/node_modules/date-fns/startOfWeek.js +14 -8
  1476. package/dist/node_modules/date-fns/startOfWeekYear.cjs +19 -1
  1477. package/dist/node_modules/date-fns/startOfWeekYear.js +16 -10
  1478. package/dist/node_modules/date-fns/startOfYear.cjs +13 -1
  1479. package/dist/node_modules/date-fns/startOfYear.js +10 -7
  1480. package/dist/node_modules/date-fns/toDate.cjs +14 -1
  1481. package/dist/node_modules/date-fns/toDate.js +11 -5
  1482. package/dist/node_modules/dayjs/dayjs.min.cjs +285 -1
  1483. package/dist/node_modules/dayjs/dayjs.min.js +223 -219
  1484. package/dist/node_modules/dayjs/plugin/advancedFormat.cjs +57 -1
  1485. package/dist/node_modules/dayjs/plugin/advancedFormat.js +34 -30
  1486. package/dist/node_modules/dayjs/plugin/customParseFormat.cjs +132 -1
  1487. package/dist/node_modules/dayjs/plugin/customParseFormat.js +110 -104
  1488. package/dist/node_modules/dayjs/plugin/localeData.cjs +85 -1
  1489. package/dist/node_modules/dayjs/plugin/localeData.js +68 -64
  1490. package/dist/node_modules/dayjs/plugin/weekOfYear.cjs +32 -1
  1491. package/dist/node_modules/dayjs/plugin/weekOfYear.js +26 -22
  1492. package/dist/node_modules/dayjs/plugin/weekYear.cjs +22 -1
  1493. package/dist/node_modules/dayjs/plugin/weekYear.js +17 -13
  1494. package/dist/node_modules/dayjs/plugin/weekday.cjs +22 -1
  1495. package/dist/node_modules/dayjs/plugin/weekday.js +17 -13
  1496. package/dist/node_modules/debounce/index.cjs +83 -1
  1497. package/dist/node_modules/debounce/index.js +73 -33
  1498. package/dist/node_modules/rc-checkbox/es/index.cjs +91 -1
  1499. package/dist/node_modules/rc-checkbox/es/index.js +60 -49
  1500. package/dist/node_modules/rc-dropdown/es/Dropdown.cjs +102 -1
  1501. package/dist/node_modules/rc-dropdown/es/Dropdown.js +96 -68
  1502. package/dist/node_modules/rc-dropdown/es/Overlay.cjs +22 -1
  1503. package/dist/node_modules/rc-dropdown/es/Overlay.js +19 -12
  1504. package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.cjs +79 -1
  1505. package/dist/node_modules/rc-dropdown/es/hooks/useAccessibility.js +51 -26
  1506. package/dist/node_modules/rc-dropdown/es/index.cjs +3 -1
  1507. package/dist/node_modules/rc-dropdown/es/index.js +2 -2
  1508. package/dist/node_modules/rc-dropdown/es/placements.cjs +45 -1
  1509. package/dist/node_modules/rc-dropdown/es/placements.js +17 -15
  1510. package/dist/node_modules/rc-field-form/es/Field.cjs +510 -1
  1511. package/dist/node_modules/rc-field-form/es/Field.js +406 -219
  1512. package/dist/node_modules/rc-field-form/es/FieldContext.cjs +63 -1
  1513. package/dist/node_modules/rc-field-form/es/FieldContext.js +39 -36
  1514. package/dist/node_modules/rc-field-form/es/Form.cjs +128 -1
  1515. package/dist/node_modules/rc-field-form/es/Form.js +91 -59
  1516. package/dist/node_modules/rc-field-form/es/FormContext.cjs +79 -1
  1517. package/dist/node_modules/rc-field-form/es/FormContext.js +45 -31
  1518. package/dist/node_modules/rc-field-form/es/List.cjs +148 -1
  1519. package/dist/node_modules/rc-field-form/es/List.js +113 -65
  1520. package/dist/node_modules/rc-field-form/es/ListContext.cjs +23 -1
  1521. package/dist/node_modules/rc-field-form/es/ListContext.js +3 -3
  1522. package/dist/node_modules/rc-field-form/es/index.cjs +42 -1
  1523. package/dist/node_modules/rc-field-form/es/index.js +20 -19
  1524. package/dist/node_modules/rc-field-form/es/useForm.cjs +795 -1
  1525. package/dist/node_modules/rc-field-form/es/useForm.js +677 -444
  1526. package/dist/node_modules/rc-field-form/es/useWatch.cjs +80 -1
  1527. package/dist/node_modules/rc-field-form/es/useWatch.js +66 -39
  1528. package/dist/node_modules/rc-field-form/es/utils/NameMap.cjs +75 -1
  1529. package/dist/node_modules/rc-field-form/es/utils/NameMap.js +50 -40
  1530. package/dist/node_modules/rc-field-form/es/utils/asyncUtil.cjs +28 -1
  1531. package/dist/node_modules/rc-field-form/es/utils/asyncUtil.js +24 -10
  1532. package/dist/node_modules/rc-field-form/es/utils/messages.cjs +50 -1
  1533. package/dist/node_modules/rc-field-form/es/utils/messages.js +16 -15
  1534. package/dist/node_modules/rc-field-form/es/utils/typeUtil.cjs +12 -1
  1535. package/dist/node_modules/rc-field-form/es/utils/typeUtil.js +9 -6
  1536. package/dist/node_modules/rc-field-form/es/utils/validateUtil.cjs +290 -1
  1537. package/dist/node_modules/rc-field-form/es/utils/validateUtil.js +212 -139
  1538. package/dist/node_modules/rc-field-form/es/utils/valueUtil.cjs +88 -1
  1539. package/dist/node_modules/rc-field-form/es/utils/valueUtil.js +77 -48
  1540. package/dist/node_modules/rc-input/es/BaseInput.cjs +94 -1
  1541. package/dist/node_modules/rc-input/es/BaseInput.js +82 -59
  1542. package/dist/node_modules/rc-input/es/Input.cjs +202 -1
  1543. package/dist/node_modules/rc-input/es/Input.js +164 -111
  1544. package/dist/node_modules/rc-input/es/hooks/useCount.cjs +43 -1
  1545. package/dist/node_modules/rc-input/es/hooks/useCount.js +20 -17
  1546. package/dist/node_modules/rc-input/es/index.cjs +6 -1
  1547. package/dist/node_modules/rc-input/es/index.js +2 -2
  1548. package/dist/node_modules/rc-input/es/utils/commonUtils.cjs +66 -1
  1549. package/dist/node_modules/rc-input/es/utils/commonUtils.js +52 -43
  1550. package/dist/node_modules/rc-menu/es/Divider.cjs +38 -1
  1551. package/dist/node_modules/rc-menu/es/Divider.js +15 -10
  1552. package/dist/node_modules/rc-menu/es/Icon.cjs +36 -1
  1553. package/dist/node_modules/rc-menu/es/Icon.js +15 -6
  1554. package/dist/node_modules/rc-menu/es/Menu.cjs +322 -1
  1555. package/dist/node_modules/rc-menu/es/Menu.js +263 -181
  1556. package/dist/node_modules/rc-menu/es/MenuItem.cjs +166 -1
  1557. package/dist/node_modules/rc-menu/es/MenuItem.js +130 -87
  1558. package/dist/node_modules/rc-menu/es/MenuItemGroup.cjs +68 -1
  1559. package/dist/node_modules/rc-menu/es/MenuItemGroup.js +43 -31
  1560. package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.cjs +75 -1
  1561. package/dist/node_modules/rc-menu/es/SubMenu/InlineSubMenuList.js +52 -37
  1562. package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.cjs +84 -1
  1563. package/dist/node_modules/rc-menu/es/SubMenu/PopupTrigger.js +56 -45
  1564. package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.cjs +40 -1
  1565. package/dist/node_modules/rc-menu/es/SubMenu/SubMenuList.js +19 -16
  1566. package/dist/node_modules/rc-menu/es/SubMenu/index.cjs +232 -1
  1567. package/dist/node_modules/rc-menu/es/SubMenu/index.js +198 -127
  1568. package/dist/node_modules/rc-menu/es/context/IdContext.cjs +35 -1
  1569. package/dist/node_modules/rc-menu/es/context/IdContext.js +13 -10
  1570. package/dist/node_modules/rc-menu/es/context/MenuContext.cjs +52 -1
  1571. package/dist/node_modules/rc-menu/es/context/MenuContext.js +28 -22
  1572. package/dist/node_modules/rc-menu/es/context/PathContext.cjs +40 -1
  1573. package/dist/node_modules/rc-menu/es/context/PathContext.js +18 -17
  1574. package/dist/node_modules/rc-menu/es/context/PrivateContext.cjs +23 -1
  1575. package/dist/node_modules/rc-menu/es/context/PrivateContext.js +3 -3
  1576. package/dist/node_modules/rc-menu/es/hooks/useAccessibility.cjs +230 -1
  1577. package/dist/node_modules/rc-menu/es/hooks/useAccessibility.js +167 -96
  1578. package/dist/node_modules/rc-menu/es/hooks/useActive.cjs +46 -1
  1579. package/dist/node_modules/rc-menu/es/hooks/useActive.js +24 -17
  1580. package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.cjs +35 -1
  1581. package/dist/node_modules/rc-menu/es/hooks/useDirectionStyle.js +11 -10
  1582. package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.cjs +121 -1
  1583. package/dist/node_modules/rc-menu/es/hooks/useKeyRecords.js +92 -55
  1584. package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.cjs +34 -1
  1585. package/dist/node_modules/rc-menu/es/hooks/useMemoCallback.js +12 -10
  1586. package/dist/node_modules/rc-menu/es/hooks/useUUID.cjs +37 -1
  1587. package/dist/node_modules/rc-menu/es/hooks/useUUID.js +16 -14
  1588. package/dist/node_modules/rc-menu/es/index.cjs +20 -1
  1589. package/dist/node_modules/rc-menu/es/index.js +17 -17
  1590. package/dist/node_modules/rc-menu/es/placements.cjs +77 -1
  1591. package/dist/node_modules/rc-menu/es/placements.js +24 -22
  1592. package/dist/node_modules/rc-menu/es/utils/commonUtil.cjs +46 -1
  1593. package/dist/node_modules/rc-menu/es/utils/commonUtil.js +22 -14
  1594. package/dist/node_modules/rc-menu/es/utils/motionUtil.cjs +11 -1
  1595. package/dist/node_modules/rc-menu/es/utils/motionUtil.js +9 -6
  1596. package/dist/node_modules/rc-menu/es/utils/nodeUtil.cjs +83 -1
  1597. package/dist/node_modules/rc-menu/es/utils/nodeUtil.js +58 -44
  1598. package/dist/node_modules/rc-menu/es/utils/timeUtil.cjs +5 -1
  1599. package/dist/node_modules/rc-menu/es/utils/timeUtil.js +3 -3
  1600. package/dist/node_modules/rc-menu/es/utils/warnUtil.cjs +15 -1
  1601. package/dist/node_modules/rc-menu/es/utils/warnUtil.js +12 -10
  1602. package/dist/node_modules/rc-motion/es/CSSMotion.cjs +120 -1
  1603. package/dist/node_modules/rc-motion/es/CSSMotion.js +90 -61
  1604. package/dist/node_modules/rc-motion/es/CSSMotionList.cjs +143 -1
  1605. package/dist/node_modules/rc-motion/es/CSSMotionList.js +99 -70
  1606. package/dist/node_modules/rc-motion/es/DomWrapper.cjs +41 -1
  1607. package/dist/node_modules/rc-motion/es/DomWrapper.js +17 -15
  1608. package/dist/node_modules/rc-motion/es/context.cjs +33 -1
  1609. package/dist/node_modules/rc-motion/es/context.js +11 -10
  1610. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.cjs +48 -1
  1611. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.js +24 -13
  1612. package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.cjs +5 -1
  1613. package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.js +4 -4
  1614. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.cjs +51 -1
  1615. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.js +25 -20
  1616. package/dist/node_modules/rc-motion/es/hooks/useStatus.cjs +182 -1
  1617. package/dist/node_modules/rc-motion/es/hooks/useStatus.js +150 -80
  1618. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.cjs +74 -1
  1619. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.js +47 -30
  1620. package/dist/node_modules/rc-motion/es/index.cjs +7 -1
  1621. package/dist/node_modules/rc-motion/es/index.js +4 -4
  1622. package/dist/node_modules/rc-motion/es/interface.cjs +21 -1
  1623. package/dist/node_modules/rc-motion/es/interface.js +20 -11
  1624. package/dist/node_modules/rc-motion/es/util/diff.cjs +94 -1
  1625. package/dist/node_modules/rc-motion/es/util/diff.js +82 -52
  1626. package/dist/node_modules/rc-motion/es/util/motion.cjs +73 -1
  1627. package/dist/node_modules/rc-motion/es/util/motion.js +62 -38
  1628. package/dist/node_modules/rc-overflow/es/Item.cjs +77 -1
  1629. package/dist/node_modules/rc-overflow/es/Item.js +52 -42
  1630. package/dist/node_modules/rc-overflow/es/Overflow.cjs +240 -1
  1631. package/dist/node_modules/rc-overflow/es/Overflow.js +200 -124
  1632. package/dist/node_modules/rc-overflow/es/RawItem.cjs +47 -1
  1633. package/dist/node_modules/rc-overflow/es/RawItem.js +24 -21
  1634. package/dist/node_modules/rc-overflow/es/context.cjs +4 -1
  1635. package/dist/node_modules/rc-overflow/es/context.js +3 -3
  1636. package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.cjs +14 -1
  1637. package/dist/node_modules/rc-overflow/es/hooks/channelUpdate.js +11 -10
  1638. package/dist/node_modules/rc-overflow/es/hooks/useEffectState.cjs +55 -1
  1639. package/dist/node_modules/rc-overflow/es/hooks/useEffectState.js +28 -21
  1640. package/dist/node_modules/rc-overflow/es/index.cjs +3 -1
  1641. package/dist/node_modules/rc-overflow/es/index.js +2 -2
  1642. package/dist/node_modules/rc-pagination/es/Options.cjs +105 -1
  1643. package/dist/node_modules/rc-pagination/es/Options.js +101 -61
  1644. package/dist/node_modules/rc-pagination/es/Pager.cjs +29 -1
  1645. package/dist/node_modules/rc-pagination/es/Pager.js +25 -18
  1646. package/dist/node_modules/rc-pagination/es/Pagination.cjs +384 -1
  1647. package/dist/node_modules/rc-pagination/es/Pagination.js +339 -235
  1648. package/dist/node_modules/rc-pagination/es/locale/en_US.cjs +17 -1
  1649. package/dist/node_modules/rc-pagination/es/locale/en_US.js +2 -2
  1650. package/dist/node_modules/rc-pagination/es/locale/zh_CN.cjs +17 -1
  1651. package/dist/node_modules/rc-pagination/es/locale/zh_CN.js +2 -2
  1652. package/dist/node_modules/rc-picker/es/PickerInput/Popup/Footer.cjs +68 -1
  1653. package/dist/node_modules/rc-picker/es/PickerInput/Popup/Footer.js +46 -32
  1654. package/dist/node_modules/rc-picker/es/PickerInput/Popup/PopupPanel.cjs +78 -1
  1655. package/dist/node_modules/rc-picker/es/PickerInput/Popup/PopupPanel.js +53 -36
  1656. package/dist/node_modules/rc-picker/es/PickerInput/Popup/PresetPanel.cjs +48 -1
  1657. package/dist/node_modules/rc-picker/es/PickerInput/Popup/PresetPanel.js +23 -20
  1658. package/dist/node_modules/rc-picker/es/PickerInput/Popup/index.cjs +154 -1
  1659. package/dist/node_modules/rc-picker/es/PickerInput/Popup/index.js +123 -80
  1660. package/dist/node_modules/rc-picker/es/PickerInput/RangePicker.cjs +399 -1
  1661. package/dist/node_modules/rc-picker/es/PickerInput/RangePicker.js +343 -227
  1662. package/dist/node_modules/rc-picker/es/PickerInput/Selector/Icon.cjs +49 -1
  1663. package/dist/node_modules/rc-picker/es/PickerInput/Selector/Icon.js +21 -19
  1664. package/dist/node_modules/rc-picker/es/PickerInput/Selector/Input.cjs +268 -1
  1665. package/dist/node_modules/rc-picker/es/PickerInput/Selector/Input.js +205 -123
  1666. package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.cjs +93 -1
  1667. package/dist/node_modules/rc-picker/es/PickerInput/Selector/MaskFormat.js +69 -46
  1668. package/dist/node_modules/rc-picker/es/PickerInput/Selector/RangeSelector.cjs +186 -1
  1669. package/dist/node_modules/rc-picker/es/PickerInput/Selector/RangeSelector.js +144 -108
  1670. package/dist/node_modules/rc-picker/es/PickerInput/Selector/SingleSelector/MultipleDates.cjs +70 -1
  1671. package/dist/node_modules/rc-picker/es/PickerInput/Selector/SingleSelector/MultipleDates.js +43 -38
  1672. package/dist/node_modules/rc-picker/es/PickerInput/Selector/SingleSelector/index.cjs +155 -1
  1673. package/dist/node_modules/rc-picker/es/PickerInput/Selector/SingleSelector/index.js +122 -97
  1674. package/dist/node_modules/rc-picker/es/PickerInput/Selector/hooks/useClearIcon.cjs +36 -1
  1675. package/dist/node_modules/rc-picker/es/PickerInput/Selector/hooks/useClearIcon.js +13 -9
  1676. package/dist/node_modules/rc-picker/es/PickerInput/Selector/hooks/useInputProps.cjs +149 -1
  1677. package/dist/node_modules/rc-picker/es/PickerInput/Selector/hooks/useInputProps.js +102 -81
  1678. package/dist/node_modules/rc-picker/es/PickerInput/Selector/hooks/useRootProps.cjs +29 -1
  1679. package/dist/node_modules/rc-picker/es/PickerInput/Selector/hooks/useRootProps.js +8 -8
  1680. package/dist/node_modules/rc-picker/es/PickerInput/Selector/util.cjs +14 -1
  1681. package/dist/node_modules/rc-picker/es/PickerInput/Selector/util.js +4 -4
  1682. package/dist/node_modules/rc-picker/es/PickerInput/SinglePicker.cjs +353 -1
  1683. package/dist/node_modules/rc-picker/es/PickerInput/SinglePicker.js +307 -215
  1684. package/dist/node_modules/rc-picker/es/PickerInput/context.cjs +23 -1
  1685. package/dist/node_modules/rc-picker/es/PickerInput/context.js +3 -3
  1686. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useCellRender.cjs +53 -1
  1687. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useCellRender.js +28 -15
  1688. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useDelayState.cjs +38 -1
  1689. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useDelayState.js +33 -18
  1690. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useDisabledBoundary.cjs +23 -1
  1691. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useDisabledBoundary.js +16 -7
  1692. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useFieldFormat.cjs +40 -1
  1693. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useFieldFormat.js +14 -11
  1694. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useFieldsInvalidate.cjs +54 -1
  1695. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useFieldsInvalidate.js +31 -18
  1696. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useFilledProps.cjs +100 -1
  1697. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useFilledProps.js +75 -51
  1698. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useInputReadOnly.cjs +8 -1
  1699. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useInputReadOnly.js +6 -3
  1700. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useInvalidate.cjs +52 -1
  1701. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useInvalidate.js +44 -20
  1702. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useLockEffect.cjs +41 -1
  1703. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useLockEffect.js +17 -15
  1704. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useOpen.cjs +19 -1
  1705. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useOpen.js +16 -11
  1706. package/dist/node_modules/rc-picker/es/PickerInput/hooks/usePickerRef.cjs +40 -1
  1707. package/dist/node_modules/rc-picker/es/PickerInput/hooks/usePickerRef.js +15 -14
  1708. package/dist/node_modules/rc-picker/es/PickerInput/hooks/usePresets.cjs +42 -1
  1709. package/dist/node_modules/rc-picker/es/PickerInput/hooks/usePresets.js +21 -14
  1710. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangeActive.cjs +71 -1
  1711. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangeActive.js +49 -23
  1712. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangeDisabledDate.cjs +27 -1
  1713. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangeDisabledDate.js +23 -15
  1714. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangePickerValue.cjs +155 -1
  1715. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangePickerValue.js +112 -61
  1716. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangeValue.cjs +195 -1
  1717. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useRangeValue.js +147 -97
  1718. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useShowNow.cjs +14 -1
  1719. package/dist/node_modules/rc-picker/es/PickerInput/hooks/useShowNow.js +12 -3
  1720. package/dist/node_modules/rc-picker/es/PickerPanel/DatePanel/index.cjs +165 -1
  1721. package/dist/node_modules/rc-picker/es/PickerPanel/DatePanel/index.js +123 -95
  1722. package/dist/node_modules/rc-picker/es/PickerPanel/DateTimePanel/index.cjs +52 -1
  1723. package/dist/node_modules/rc-picker/es/PickerPanel/DateTimePanel/index.js +30 -22
  1724. package/dist/node_modules/rc-picker/es/PickerPanel/DecadePanel/index.cjs +102 -1
  1725. package/dist/node_modules/rc-picker/es/PickerPanel/DecadePanel/index.js +75 -57
  1726. package/dist/node_modules/rc-picker/es/PickerPanel/MonthPanel/index.cjs +95 -1
  1727. package/dist/node_modules/rc-picker/es/PickerPanel/MonthPanel/index.js +63 -52
  1728. package/dist/node_modules/rc-picker/es/PickerPanel/PanelBody.cjs +121 -1
  1729. package/dist/node_modules/rc-picker/es/PickerPanel/PanelBody.js +92 -61
  1730. package/dist/node_modules/rc-picker/es/PickerPanel/PanelHeader.cjs +124 -1
  1731. package/dist/node_modules/rc-picker/es/PickerPanel/PanelHeader.js +87 -66
  1732. package/dist/node_modules/rc-picker/es/PickerPanel/QuarterPanel/index.cjs +86 -1
  1733. package/dist/node_modules/rc-picker/es/PickerPanel/QuarterPanel/index.js +53 -46
  1734. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/TimeColumn.cjs +124 -1
  1735. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/TimeColumn.js +94 -64
  1736. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/index.cjs +238 -1
  1737. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/index.js +200 -122
  1738. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/useScrollTo.cjs +85 -1
  1739. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/useScrollTo.js +53 -28
  1740. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/util.cjs +31 -1
  1741. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/TimePanelBody/util.js +26 -17
  1742. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/index.cjs +43 -1
  1743. package/dist/node_modules/rc-picker/es/PickerPanel/TimePanel/index.js +22 -19
  1744. package/dist/node_modules/rc-picker/es/PickerPanel/WeekPanel/index.cjs +60 -1
  1745. package/dist/node_modules/rc-picker/es/PickerPanel/WeekPanel/index.js +32 -22
  1746. package/dist/node_modules/rc-picker/es/PickerPanel/YearPanel/index.cjs +104 -1
  1747. package/dist/node_modules/rc-picker/es/PickerPanel/YearPanel/index.js +73 -58
  1748. package/dist/node_modules/rc-picker/es/PickerPanel/context.cjs +60 -1
  1749. package/dist/node_modules/rc-picker/es/PickerPanel/context.js +36 -32
  1750. package/dist/node_modules/rc-picker/es/PickerPanel/index.cjs +227 -1
  1751. package/dist/node_modules/rc-picker/es/PickerPanel/index.js +179 -120
  1752. package/dist/node_modules/rc-picker/es/PickerTrigger/index.cjs +87 -1
  1753. package/dist/node_modules/rc-picker/es/PickerTrigger/index.js +29 -24
  1754. package/dist/node_modules/rc-picker/es/PickerTrigger/util.cjs +6 -1
  1755. package/dist/node_modules/rc-picker/es/PickerTrigger/util.js +4 -4
  1756. package/dist/node_modules/rc-picker/es/generate/dayjs.cjs +218 -1
  1757. package/dist/node_modules/rc-picker/es/generate/dayjs.js +108 -95
  1758. package/dist/node_modules/rc-picker/es/hooks/useLocale.cjs +50 -1
  1759. package/dist/node_modules/rc-picker/es/hooks/useLocale.js +44 -26
  1760. package/dist/node_modules/rc-picker/es/hooks/useSyncState.cjs +35 -1
  1761. package/dist/node_modules/rc-picker/es/hooks/useSyncState.js +13 -9
  1762. package/dist/node_modules/rc-picker/es/hooks/useTimeConfig.cjs +147 -1
  1763. package/dist/node_modules/rc-picker/es/hooks/useTimeConfig.js +107 -60
  1764. package/dist/node_modules/rc-picker/es/hooks/useTimeInfo.cjs +124 -1
  1765. package/dist/node_modules/rc-picker/es/hooks/useTimeInfo.js +87 -57
  1766. package/dist/node_modules/rc-picker/es/hooks/useToggleDates.cjs +18 -1
  1767. package/dist/node_modules/rc-picker/es/hooks/useToggleDates.js +14 -12
  1768. package/dist/node_modules/rc-picker/es/index.cjs +9 -1
  1769. package/dist/node_modules/rc-picker/es/index.js +7 -7
  1770. package/dist/node_modules/rc-picker/es/locale/common.cjs +8 -1
  1771. package/dist/node_modules/rc-picker/es/locale/common.js +3 -3
  1772. package/dist/node_modules/rc-picker/es/locale/en_US.cjs +31 -1
  1773. package/dist/node_modules/rc-picker/es/locale/en_US.js +4 -4
  1774. package/dist/node_modules/rc-picker/es/utils/dateUtil.cjs +137 -1
  1775. package/dist/node_modules/rc-picker/es/utils/dateUtil.js +106 -76
  1776. package/dist/node_modules/rc-picker/es/utils/miscUtil.cjs +66 -1
  1777. package/dist/node_modules/rc-picker/es/utils/miscUtil.js +49 -36
  1778. package/dist/node_modules/rc-picker/es/utils/uiUtil.cjs +8 -1
  1779. package/dist/node_modules/rc-picker/es/utils/uiUtil.js +6 -3
  1780. package/dist/node_modules/rc-progress/es/Circle/PtgCircle.cjs +83 -1
  1781. package/dist/node_modules/rc-progress/es/Circle/PtgCircle.js +51 -38
  1782. package/dist/node_modules/rc-progress/es/Circle/index.cjs +127 -1
  1783. package/dist/node_modules/rc-progress/es/Circle/index.js +95 -69
  1784. package/dist/node_modules/rc-progress/es/Circle/util.cjs +31 -1
  1785. package/dist/node_modules/rc-progress/es/Circle/util.js +21 -12
  1786. package/dist/node_modules/rc-progress/es/Line.cjs +4 -1
  1787. package/dist/node_modules/rc-progress/es/Line.js +1 -1
  1788. package/dist/node_modules/rc-progress/es/common.cjs +37 -1
  1789. package/dist/node_modules/rc-progress/es/common.js +26 -15
  1790. package/dist/node_modules/rc-progress/es/hooks/useId.cjs +45 -1
  1791. package/dist/node_modules/rc-progress/es/hooks/useId.js +22 -14
  1792. package/dist/node_modules/rc-resize-observer/es/Collection.cjs +49 -1
  1793. package/dist/node_modules/rc-resize-observer/es/Collection.js +28 -19
  1794. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.cjs +41 -1
  1795. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +17 -15
  1796. package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.cjs +102 -1
  1797. package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.js +70 -45
  1798. package/dist/node_modules/rc-resize-observer/es/index.cjs +52 -1
  1799. package/dist/node_modules/rc-resize-observer/es/index.js +29 -19
  1800. package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.cjs +33 -1
  1801. package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.js +27 -16
  1802. package/dist/node_modules/rc-segmented/es/MotionThumb.cjs +171 -1
  1803. package/dist/node_modules/rc-segmented/es/MotionThumb.js +131 -84
  1804. package/dist/node_modules/rc-segmented/es/index.cjs +195 -1
  1805. package/dist/node_modules/rc-segmented/es/index.js +148 -115
  1806. package/dist/node_modules/rc-select/es/BaseSelect/Polite.cjs +43 -1
  1807. package/dist/node_modules/rc-select/es/BaseSelect/Polite.js +13 -12
  1808. package/dist/node_modules/rc-select/es/BaseSelect/index.cjs +442 -3
  1809. package/dist/node_modules/rc-select/es/BaseSelect/index.js +384 -241
  1810. package/dist/node_modules/rc-select/es/OptGroup.cjs +6 -1
  1811. package/dist/node_modules/rc-select/es/OptGroup.js +3 -3
  1812. package/dist/node_modules/rc-select/es/Option.cjs +6 -1
  1813. package/dist/node_modules/rc-select/es/Option.js +3 -3
  1814. package/dist/node_modules/rc-select/es/OptionList.cjs +321 -1
  1815. package/dist/node_modules/rc-select/es/OptionList.js +255 -169
  1816. package/dist/node_modules/rc-select/es/Select.cjs +387 -1
  1817. package/dist/node_modules/rc-select/es/Select.js +325 -215
  1818. package/dist/node_modules/rc-select/es/SelectContext.cjs +23 -1
  1819. package/dist/node_modules/rc-select/es/SelectContext.js +3 -3
  1820. package/dist/node_modules/rc-select/es/SelectTrigger.cjs +130 -1
  1821. package/dist/node_modules/rc-select/es/SelectTrigger.js +73 -54
  1822. package/dist/node_modules/rc-select/es/Selector/Input.cjs +103 -1
  1823. package/dist/node_modules/rc-select/es/Selector/Input.js +71 -44
  1824. package/dist/node_modules/rc-select/es/Selector/MultipleSelector.cjs +162 -1
  1825. package/dist/node_modules/rc-select/es/Selector/MultipleSelector.js +129 -105
  1826. package/dist/node_modules/rc-select/es/Selector/SingleSelector.cjs +91 -1
  1827. package/dist/node_modules/rc-select/es/Selector/SingleSelector.js +65 -49
  1828. package/dist/node_modules/rc-select/es/Selector/index.cjs +144 -1
  1829. package/dist/node_modules/rc-select/es/Selector/index.js +118 -67
  1830. package/dist/node_modules/rc-select/es/TransBtn.cjs +45 -1
  1831. package/dist/node_modules/rc-select/es/TransBtn.js +17 -15
  1832. package/dist/node_modules/rc-select/es/hooks/useAllowClear.cjs +32 -1
  1833. package/dist/node_modules/rc-select/es/hooks/useAllowClear.js +27 -18
  1834. package/dist/node_modules/rc-select/es/hooks/useBaseProps.cjs +28 -1
  1835. package/dist/node_modules/rc-select/es/hooks/useBaseProps.js +6 -6
  1836. package/dist/node_modules/rc-select/es/hooks/useCache.cjs +54 -1
  1837. package/dist/node_modules/rc-select/es/hooks/useCache.js +29 -20
  1838. package/dist/node_modules/rc-select/es/hooks/useDelayReset.cjs +44 -1
  1839. package/dist/node_modules/rc-select/es/hooks/useDelayReset.js +20 -13
  1840. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.cjs +74 -1
  1841. package/dist/node_modules/rc-select/es/hooks/useFilterOptions.js +47 -30
  1842. package/dist/node_modules/rc-select/es/hooks/useId.cjs +46 -1
  1843. package/dist/node_modules/rc-select/es/hooks/useId.js +23 -15
  1844. package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.cjs +30 -1
  1845. package/dist/node_modules/rc-select/es/hooks/useLayoutEffect.js +9 -5
  1846. package/dist/node_modules/rc-select/es/hooks/useLock.cjs +44 -1
  1847. package/dist/node_modules/rc-select/es/hooks/useLock.js +18 -12
  1848. package/dist/node_modules/rc-select/es/hooks/useOptions.cjs +59 -1
  1849. package/dist/node_modules/rc-select/es/hooks/useOptions.js +35 -18
  1850. package/dist/node_modules/rc-select/es/hooks/useRefFunc.cjs +30 -1
  1851. package/dist/node_modules/rc-select/es/hooks/useRefFunc.js +8 -8
  1852. package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.cjs +53 -1
  1853. package/dist/node_modules/rc-select/es/hooks/useSelectTriggerControl.js +28 -20
  1854. package/dist/node_modules/rc-select/es/index.cjs +11 -1
  1855. package/dist/node_modules/rc-select/es/index.js +8 -8
  1856. package/dist/node_modules/rc-select/es/utils/commonUtil.cjs +36 -1
  1857. package/dist/node_modules/rc-select/es/utils/commonUtil.js +30 -19
  1858. package/dist/node_modules/rc-select/es/utils/keyUtil.cjs +39 -1
  1859. package/dist/node_modules/rc-select/es/utils/keyUtil.js +30 -30
  1860. package/dist/node_modules/rc-select/es/utils/legacyUtil.cjs +54 -1
  1861. package/dist/node_modules/rc-select/es/utils/legacyUtil.js +29 -25
  1862. package/dist/node_modules/rc-select/es/utils/platformUtil.cjs +5 -1
  1863. package/dist/node_modules/rc-select/es/utils/platformUtil.js +2 -2
  1864. package/dist/node_modules/rc-select/es/utils/valueUtil.cjs +108 -1
  1865. package/dist/node_modules/rc-select/es/utils/valueUtil.js +92 -58
  1866. package/dist/node_modules/rc-select/es/utils/warningPropsUtil.cjs +114 -1
  1867. package/dist/node_modules/rc-select/es/utils/warningPropsUtil.js +81 -47
  1868. package/dist/node_modules/rc-switch/es/index.cjs +77 -1
  1869. package/dist/node_modules/rc-switch/es/index.js +51 -38
  1870. package/dist/node_modules/rc-table/es/Body/BodyRow.cjs +122 -1
  1871. package/dist/node_modules/rc-table/es/Body/BodyRow.js +96 -75
  1872. package/dist/node_modules/rc-table/es/Body/ExpandedRow.cjs +56 -1
  1873. package/dist/node_modules/rc-table/es/Body/ExpandedRow.js +32 -25
  1874. package/dist/node_modules/rc-table/es/Body/MeasureCell.cjs +47 -1
  1875. package/dist/node_modules/rc-table/es/Body/MeasureCell.js +16 -12
  1876. package/dist/node_modules/rc-table/es/Body/MeasureRow.cjs +48 -1
  1877. package/dist/node_modules/rc-table/es/Body/MeasureRow.js +18 -18
  1878. package/dist/node_modules/rc-table/es/Body/index.cjs +89 -1
  1879. package/dist/node_modules/rc-table/es/Body/index.js +66 -49
  1880. package/dist/node_modules/rc-table/es/Cell/index.cjs +124 -1
  1881. package/dist/node_modules/rc-table/es/Cell/index.js +97 -51
  1882. package/dist/node_modules/rc-table/es/Cell/useCellRender.cjs +81 -1
  1883. package/dist/node_modules/rc-table/es/Cell/useCellRender.js +53 -34
  1884. package/dist/node_modules/rc-table/es/Cell/useHoverState.cjs +16 -1
  1885. package/dist/node_modules/rc-table/es/Cell/useHoverState.js +10 -10
  1886. package/dist/node_modules/rc-table/es/ColGroup.cjs +62 -1
  1887. package/dist/node_modules/rc-table/es/ColGroup.js +36 -21
  1888. package/dist/node_modules/rc-table/es/FixedHolder/index.cjs +142 -1
  1889. package/dist/node_modules/rc-table/es/FixedHolder/index.js +103 -81
  1890. package/dist/node_modules/rc-table/es/Footer/Cell.cjs +51 -1
  1891. package/dist/node_modules/rc-table/es/Footer/Cell.js +25 -20
  1892. package/dist/node_modules/rc-table/es/Footer/Row.cjs +28 -1
  1893. package/dist/node_modules/rc-table/es/Footer/Row.js +7 -7
  1894. package/dist/node_modules/rc-table/es/Footer/Summary.cjs +10 -1
  1895. package/dist/node_modules/rc-table/es/Footer/Summary.js +8 -8
  1896. package/dist/node_modules/rc-table/es/Footer/SummaryContext.cjs +23 -1
  1897. package/dist/node_modules/rc-table/es/Footer/SummaryContext.js +3 -3
  1898. package/dist/node_modules/rc-table/es/Footer/index.cjs +53 -1
  1899. package/dist/node_modules/rc-table/es/Footer/index.js +28 -22
  1900. package/dist/node_modules/rc-table/es/Header/Header.cjs +106 -1
  1901. package/dist/node_modules/rc-table/es/Header/Header.js +78 -49
  1902. package/dist/node_modules/rc-table/es/Header/HeaderRow.cjs +64 -1
  1903. package/dist/node_modules/rc-table/es/Header/HeaderRow.js +38 -27
  1904. package/dist/node_modules/rc-table/es/Panel/index.cjs +28 -1
  1905. package/dist/node_modules/rc-table/es/Panel/index.js +7 -7
  1906. package/dist/node_modules/rc-table/es/Table.cjs +569 -1
  1907. package/dist/node_modules/rc-table/es/Table.js +501 -343
  1908. package/dist/node_modules/rc-table/es/VirtualTable/BodyGrid.cjs +230 -1
  1909. package/dist/node_modules/rc-table/es/VirtualTable/BodyGrid.js +179 -124
  1910. package/dist/node_modules/rc-table/es/VirtualTable/BodyLine.cjs +103 -1
  1911. package/dist/node_modules/rc-table/es/VirtualTable/BodyLine.js +78 -56
  1912. package/dist/node_modules/rc-table/es/VirtualTable/VirtualCell.cjs +92 -1
  1913. package/dist/node_modules/rc-table/es/VirtualTable/VirtualCell.js +65 -43
  1914. package/dist/node_modules/rc-table/es/VirtualTable/context.cjs +8 -1
  1915. package/dist/node_modules/rc-table/es/VirtualTable/context.js +5 -4
  1916. package/dist/node_modules/rc-table/es/VirtualTable/index.cjs +96 -1
  1917. package/dist/node_modules/rc-table/es/VirtualTable/index.js +64 -48
  1918. package/dist/node_modules/rc-table/es/constant.cjs +5 -1
  1919. package/dist/node_modules/rc-table/es/constant.js +4 -3
  1920. package/dist/node_modules/rc-table/es/context/PerfContext.cjs +25 -1
  1921. package/dist/node_modules/rc-table/es/context/PerfContext.js +4 -4
  1922. package/dist/node_modules/rc-table/es/context/TableContext.cjs +10 -1
  1923. package/dist/node_modules/rc-table/es/context/TableContext.js +8 -7
  1924. package/dist/node_modules/rc-table/es/hooks/useColumns/index.cjs +226 -1
  1925. package/dist/node_modules/rc-table/es/hooks/useColumns/index.js +181 -117
  1926. package/dist/node_modules/rc-table/es/hooks/useColumns/useWidthColumns.cjs +79 -1
  1927. package/dist/node_modules/rc-table/es/hooks/useColumns/useWidthColumns.js +51 -29
  1928. package/dist/node_modules/rc-table/es/hooks/useExpand.cjs +82 -1
  1929. package/dist/node_modules/rc-table/es/hooks/useExpand.js +61 -25
  1930. package/dist/node_modules/rc-table/es/hooks/useFixedInfo.cjs +15 -1
  1931. package/dist/node_modules/rc-table/es/hooks/useFixedInfo.js +11 -11
  1932. package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.cjs +56 -1
  1933. package/dist/node_modules/rc-table/es/hooks/useFlattenRecords.js +27 -23
  1934. package/dist/node_modules/rc-table/es/hooks/useFrame.cjs +58 -1
  1935. package/dist/node_modules/rc-table/es/hooks/useFrame.js +46 -30
  1936. package/dist/node_modules/rc-table/es/hooks/useHover.cjs +32 -1
  1937. package/dist/node_modules/rc-table/es/hooks/useHover.js +10 -7
  1938. package/dist/node_modules/rc-table/es/hooks/useRenderTimes.cjs +56 -1
  1939. package/dist/node_modules/rc-table/es/hooks/useRenderTimes.js +32 -18
  1940. package/dist/node_modules/rc-table/es/hooks/useRowInfo.cjs +54 -1
  1941. package/dist/node_modules/rc-table/es/hooks/useRowInfo.js +46 -28
  1942. package/dist/node_modules/rc-table/es/hooks/useSticky.cjs +42 -1
  1943. package/dist/node_modules/rc-table/es/hooks/useSticky.js +19 -17
  1944. package/dist/node_modules/rc-table/es/hooks/useStickyOffsets.cjs +29 -1
  1945. package/dist/node_modules/rc-table/es/hooks/useStickyOffsets.js +25 -16
  1946. package/dist/node_modules/rc-table/es/stickyScrollBar.cjs +191 -1
  1947. package/dist/node_modules/rc-table/es/stickyScrollBar.js +143 -85
  1948. package/dist/node_modules/rc-table/es/sugar/Column.cjs +5 -1
  1949. package/dist/node_modules/rc-table/es/sugar/Column.js +2 -2
  1950. package/dist/node_modules/rc-table/es/sugar/ColumnGroup.cjs +5 -1
  1951. package/dist/node_modules/rc-table/es/sugar/ColumnGroup.js +2 -2
  1952. package/dist/node_modules/rc-table/es/utils/expandUtil.cjs +63 -1
  1953. package/dist/node_modules/rc-table/es/utils/expandUtil.js +35 -24
  1954. package/dist/node_modules/rc-table/es/utils/fixUtil.cjs +46 -1
  1955. package/dist/node_modules/rc-table/es/utils/fixUtil.js +39 -26
  1956. package/dist/node_modules/rc-table/es/utils/legacyUtil.cjs +26 -1
  1957. package/dist/node_modules/rc-table/es/utils/legacyUtil.js +24 -11
  1958. package/dist/node_modules/rc-table/es/utils/offsetUtil.cjs +12 -1
  1959. package/dist/node_modules/rc-table/es/utils/offsetUtil.js +8 -6
  1960. package/dist/node_modules/rc-table/es/utils/valueUtil.cjs +31 -1
  1961. package/dist/node_modules/rc-table/es/utils/valueUtil.js +26 -17
  1962. package/dist/node_modules/rc-tabs/es/TabContext.cjs +4 -1
  1963. package/dist/node_modules/rc-tabs/es/TabContext.js +3 -3
  1964. package/dist/node_modules/rc-tabs/es/TabNavList/AddButton.cjs +40 -1
  1965. package/dist/node_modules/rc-tabs/es/TabNavList/AddButton.js +16 -13
  1966. package/dist/node_modules/rc-tabs/es/TabNavList/ExtraContent.cjs +49 -1
  1967. package/dist/node_modules/rc-tabs/es/TabNavList/ExtraContent.js +27 -12
  1968. package/dist/node_modules/rc-tabs/es/TabNavList/OperationNode.cjs +181 -1
  1969. package/dist/node_modules/rc-tabs/es/TabNavList/OperationNode.js +129 -98
  1970. package/dist/node_modules/rc-tabs/es/TabNavList/TabNode.cjs +100 -1
  1971. package/dist/node_modules/rc-tabs/es/TabNavList/TabNode.js +63 -51
  1972. package/dist/node_modules/rc-tabs/es/TabNavList/Wrapper.cjs +51 -1
  1973. package/dist/node_modules/rc-tabs/es/TabNavList/Wrapper.js +26 -22
  1974. package/dist/node_modules/rc-tabs/es/TabNavList/index.cjs +486 -1
  1975. package/dist/node_modules/rc-tabs/es/TabNavList/index.js +392 -218
  1976. package/dist/node_modules/rc-tabs/es/TabPanelList/TabPane.cjs +39 -1
  1977. package/dist/node_modules/rc-tabs/es/TabPanelList/TabPane.js +17 -15
  1978. package/dist/node_modules/rc-tabs/es/TabPanelList/index.cjs +65 -1
  1979. package/dist/node_modules/rc-tabs/es/TabPanelList/index.js +40 -35
  1980. package/dist/node_modules/rc-tabs/es/Tabs.cjs +134 -1
  1981. package/dist/node_modules/rc-tabs/es/Tabs.js +101 -84
  1982. package/dist/node_modules/rc-tabs/es/hooks/useAnimateConfig.cjs +37 -1
  1983. package/dist/node_modules/rc-tabs/es/hooks/useAnimateConfig.js +35 -18
  1984. package/dist/node_modules/rc-tabs/es/hooks/useIndicator.cjs +64 -1
  1985. package/dist/node_modules/rc-tabs/es/hooks/useIndicator.js +60 -24
  1986. package/dist/node_modules/rc-tabs/es/hooks/useOffsets.cjs +32 -1
  1987. package/dist/node_modules/rc-tabs/es/hooks/useOffsets.js +23 -17
  1988. package/dist/node_modules/rc-tabs/es/hooks/useSyncState.cjs +36 -1
  1989. package/dist/node_modules/rc-tabs/es/hooks/useSyncState.js +14 -9
  1990. package/dist/node_modules/rc-tabs/es/hooks/useTouchMove.cjs +139 -1
  1991. package/dist/node_modules/rc-tabs/es/hooks/useTouchMove.js +106 -67
  1992. package/dist/node_modules/rc-tabs/es/hooks/useUpdate.cjs +43 -1
  1993. package/dist/node_modules/rc-tabs/es/hooks/useUpdate.js +36 -21
  1994. package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.cjs +50 -1
  1995. package/dist/node_modules/rc-tabs/es/hooks/useVisibleRange.js +35 -19
  1996. package/dist/node_modules/rc-tabs/es/index.cjs +3 -1
  1997. package/dist/node_modules/rc-tabs/es/index.js +2 -2
  1998. package/dist/node_modules/rc-tabs/es/util.cjs +32 -1
  1999. package/dist/node_modules/rc-tabs/es/util.js +27 -18
  2000. package/dist/node_modules/rc-textarea/es/ResizableTextArea.cjs +133 -1
  2001. package/dist/node_modules/rc-textarea/es/ResizableTextArea.js +101 -63
  2002. package/dist/node_modules/rc-textarea/es/TextArea.cjs +177 -1
  2003. package/dist/node_modules/rc-textarea/es/TextArea.js +160 -106
  2004. package/dist/node_modules/rc-textarea/es/calculateNodeHeight.cjs +92 -12
  2005. package/dist/node_modules/rc-textarea/es/calculateNodeHeight.js +85 -41
  2006. package/dist/node_modules/rc-textarea/es/index.cjs +9 -1
  2007. package/dist/node_modules/rc-textarea/es/index.js +2 -2
  2008. package/dist/node_modules/rc-tooltip/es/Popup.cjs +35 -1
  2009. package/dist/node_modules/rc-tooltip/es/Popup.js +13 -13
  2010. package/dist/node_modules/rc-tooltip/es/Tooltip.cjs +85 -1
  2011. package/dist/node_modules/rc-tooltip/es/Tooltip.js +61 -53
  2012. package/dist/node_modules/rc-tooltip/es/index.cjs +6 -1
  2013. package/dist/node_modules/rc-tooltip/es/index.js +2 -2
  2014. package/dist/node_modules/rc-tooltip/es/placements.cjs +87 -1
  2015. package/dist/node_modules/rc-tooltip/es/placements.js +33 -30
  2016. package/dist/node_modules/rc-tree/es/DropIndicator.cjs +33 -1
  2017. package/dist/node_modules/rc-tree/es/DropIndicator.js +17 -11
  2018. package/dist/node_modules/rc-tree/es/Indent.cjs +40 -1
  2019. package/dist/node_modules/rc-tree/es/Indent.js +17 -13
  2020. package/dist/node_modules/rc-tree/es/MotionTreeNode.cjs +104 -1
  2021. package/dist/node_modules/rc-tree/es/MotionTreeNode.js +78 -56
  2022. package/dist/node_modules/rc-tree/es/NodeList.cjs +247 -1
  2023. package/dist/node_modules/rc-tree/es/NodeList.js +178 -130
  2024. package/dist/node_modules/rc-tree/es/Tree.cjs +966 -1
  2025. package/dist/node_modules/rc-tree/es/Tree.js +785 -509
  2026. package/dist/node_modules/rc-tree/es/TreeNode.cjs +273 -1
  2027. package/dist/node_modules/rc-tree/es/TreeNode.js +265 -153
  2028. package/dist/node_modules/rc-tree/es/contextTypes.cjs +25 -1
  2029. package/dist/node_modules/rc-tree/es/contextTypes.js +5 -4
  2030. package/dist/node_modules/rc-tree/es/index.cjs +7 -1
  2031. package/dist/node_modules/rc-tree/es/index.js +4 -4
  2032. package/dist/node_modules/rc-tree/es/useUnmount.cjs +41 -1
  2033. package/dist/node_modules/rc-tree/es/useUnmount.js +17 -13
  2034. package/dist/node_modules/rc-tree/es/util.cjs +213 -1
  2035. package/dist/node_modules/rc-tree/es/util.js +187 -115
  2036. package/dist/node_modules/rc-tree/es/utils/conductUtil.cjs +170 -1
  2037. package/dist/node_modules/rc-tree/es/utils/conductUtil.js +147 -81
  2038. package/dist/node_modules/rc-tree/es/utils/diffUtil.cjs +51 -1
  2039. package/dist/node_modules/rc-tree/es/utils/diffUtil.js +38 -29
  2040. package/dist/node_modules/rc-tree/es/utils/keyUtil.cjs +5 -1
  2041. package/dist/node_modules/rc-tree/es/utils/keyUtil.js +3 -3
  2042. package/dist/node_modules/rc-tree/es/utils/treeUtil.cjs +271 -1
  2043. package/dist/node_modules/rc-tree/es/utils/treeUtil.js +236 -158
  2044. package/dist/node_modules/rc-util/es/Children/toArray.cjs +21 -1
  2045. package/dist/node_modules/rc-util/es/Children/toArray.js +19 -8
  2046. package/dist/node_modules/rc-util/es/Dom/addEventListener.cjs +18 -1
  2047. package/dist/node_modules/rc-util/es/Dom/addEventListener.js +14 -9
  2048. package/dist/node_modules/rc-util/es/Dom/canUseDom.cjs +5 -1
  2049. package/dist/node_modules/rc-util/es/Dom/canUseDom.js +3 -3
  2050. package/dist/node_modules/rc-util/es/Dom/contains.cjs +18 -1
  2051. package/dist/node_modules/rc-util/es/Dom/contains.js +15 -11
  2052. package/dist/node_modules/rc-util/es/Dom/dynamicCSS.cjs +123 -1
  2053. package/dist/node_modules/rc-util/es/Dom/dynamicCSS.js +103 -66
  2054. package/dist/node_modules/rc-util/es/Dom/findDOMNode.cjs +31 -1
  2055. package/dist/node_modules/rc-util/es/Dom/findDOMNode.js +24 -17
  2056. package/dist/node_modules/rc-util/es/Dom/focus.cjs +39 -1
  2057. package/dist/node_modules/rc-util/es/Dom/focus.js +33 -17
  2058. package/dist/node_modules/rc-util/es/Dom/isVisible.cjs +25 -1
  2059. package/dist/node_modules/rc-util/es/Dom/isVisible.js +20 -16
  2060. package/dist/node_modules/rc-util/es/Dom/shadow.cjs +13 -1
  2061. package/dist/node_modules/rc-util/es/Dom/shadow.js +9 -9
  2062. package/dist/node_modules/rc-util/es/Dom/styleChecker.cjs +28 -1
  2063. package/dist/node_modules/rc-util/es/Dom/styleChecker.js +23 -15
  2064. package/dist/node_modules/rc-util/es/KeyCode.cjs +154 -1
  2065. package/dist/node_modules/rc-util/es/KeyCode.js +2 -2
  2066. package/dist/node_modules/rc-util/es/React/isFragment.cjs +14 -1
  2067. package/dist/node_modules/rc-util/es/React/isFragment.js +9 -7
  2068. package/dist/node_modules/rc-util/es/React/render.cjs +108 -1
  2069. package/dist/node_modules/rc-util/es/React/render.js +63 -52
  2070. package/dist/node_modules/rc-util/es/getScrollBarSize.cjs +64 -5
  2071. package/dist/node_modules/rc-util/es/getScrollBarSize.js +55 -34
  2072. package/dist/node_modules/rc-util/es/hooks/useEvent.cjs +34 -1
  2073. package/dist/node_modules/rc-util/es/hooks/useEvent.js +12 -10
  2074. package/dist/node_modules/rc-util/es/hooks/useId.cjs +60 -1
  2075. package/dist/node_modules/rc-util/es/hooks/useId.js +33 -18
  2076. package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.cjs +45 -1
  2077. package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.js +21 -16
  2078. package/dist/node_modules/rc-util/es/hooks/useMemo.cjs +30 -1
  2079. package/dist/node_modules/rc-util/es/hooks/useMemo.js +9 -5
  2080. package/dist/node_modules/rc-util/es/hooks/useMergedState.cjs +41 -1
  2081. package/dist/node_modules/rc-util/es/hooks/useMergedState.js +37 -20
  2082. package/dist/node_modules/rc-util/es/hooks/useState.cjs +40 -1
  2083. package/dist/node_modules/rc-util/es/hooks/useState.js +16 -11
  2084. package/dist/node_modules/rc-util/es/hooks/useSyncState.cjs +38 -1
  2085. package/dist/node_modules/rc-util/es/hooks/useSyncState.js +16 -12
  2086. package/dist/node_modules/rc-util/es/isEqual.cjs +46 -1
  2087. package/dist/node_modules/rc-util/es/isEqual.js +40 -28
  2088. package/dist/node_modules/rc-util/es/isMobile.cjs +9 -1
  2089. package/dist/node_modules/rc-util/es/isMobile.js +7 -6
  2090. package/dist/node_modules/rc-util/es/omit.cjs +11 -1
  2091. package/dist/node_modules/rc-util/es/omit.js +9 -6
  2092. package/dist/node_modules/rc-util/es/pickAttrs.cjs +40 -18
  2093. package/dist/node_modules/rc-util/es/pickAttrs.js +37 -38
  2094. package/dist/node_modules/rc-util/es/raf.cjs +49 -1
  2095. package/dist/node_modules/rc-util/es/raf.js +41 -31
  2096. package/dist/node_modules/rc-util/es/ref.cjs +76 -1
  2097. package/dist/node_modules/rc-util/es/ref.js +66 -44
  2098. package/dist/node_modules/rc-util/es/utils/get.cjs +12 -1
  2099. package/dist/node_modules/rc-util/es/utils/get.js +9 -7
  2100. package/dist/node_modules/rc-util/es/utils/set.cjs +74 -1
  2101. package/dist/node_modules/rc-util/es/utils/set.js +64 -37
  2102. package/dist/node_modules/rc-util/es/warning.cjs +53 -1
  2103. package/dist/node_modules/rc-util/es/warning.js +42 -33
  2104. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.cjs +185 -2
  2105. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +179 -89
  2106. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.cjs +101 -2
  2107. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +89 -61
  2108. package/dist/node_modules/rc-util/node_modules/react-is/index.cjs +16 -1
  2109. package/dist/node_modules/rc-util/node_modules/react-is/index.js +14 -7
  2110. package/dist/node_modules/rc-virtual-list/es/Filler.cjs +60 -1
  2111. package/dist/node_modules/rc-virtual-list/es/Filler.js +35 -27
  2112. package/dist/node_modules/rc-virtual-list/es/Item.cjs +31 -1
  2113. package/dist/node_modules/rc-virtual-list/es/Item.js +8 -7
  2114. package/dist/node_modules/rc-virtual-list/es/List.cjs +451 -1
  2115. package/dist/node_modules/rc-virtual-list/es/List.js +381 -234
  2116. package/dist/node_modules/rc-virtual-list/es/ScrollBar.cjs +216 -1
  2117. package/dist/node_modules/rc-virtual-list/es/ScrollBar.js +172 -88
  2118. package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.cjs +42 -1
  2119. package/dist/node_modules/rc-virtual-list/es/hooks/useChildren.js +17 -15
  2120. package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.cjs +36 -1
  2121. package/dist/node_modules/rc-virtual-list/es/hooks/useDiffItem.js +15 -10
  2122. package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.cjs +71 -1
  2123. package/dist/node_modules/rc-virtual-list/es/hooks/useFrameWheel.js +63 -33
  2124. package/dist/node_modules/rc-virtual-list/es/hooks/useGetSize.cjs +58 -1
  2125. package/dist/node_modules/rc-virtual-list/es/hooks/useGetSize.js +31 -16
  2126. package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.cjs +87 -1
  2127. package/dist/node_modules/rc-virtual-list/es/hooks/useHeights.js +57 -35
  2128. package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.cjs +83 -1
  2129. package/dist/node_modules/rc-virtual-list/es/hooks/useMobileTouchMove.js +78 -32
  2130. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.cjs +40 -1
  2131. package/dist/node_modules/rc-virtual-list/es/hooks/useOriginScroll.js +33 -19
  2132. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.cjs +92 -1
  2133. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollDrag.js +62 -38
  2134. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.cjs +136 -1
  2135. package/dist/node_modules/rc-virtual-list/es/hooks/useScrollTo.js +92 -56
  2136. package/dist/node_modules/rc-virtual-list/es/index.cjs +3 -1
  2137. package/dist/node_modules/rc-virtual-list/es/index.js +2 -2
  2138. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.cjs +42 -1
  2139. package/dist/node_modules/rc-virtual-list/es/utils/CacheMap.js +22 -15
  2140. package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.cjs +42 -1
  2141. package/dist/node_modules/rc-virtual-list/es/utils/algorithmUtil.js +33 -16
  2142. package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.cjs +4 -1
  2143. package/dist/node_modules/rc-virtual-list/es/utils/isFirefox.js +3 -3
  2144. package/dist/node_modules/rc-virtual-list/es/utils/scrollbarUtil.cjs +13 -1
  2145. package/dist/node_modules/rc-virtual-list/es/utils/scrollbarUtil.js +11 -5
  2146. package/dist/node_modules/react-icons/fa6/index.cjs +7 -1
  2147. package/dist/node_modules/react-icons/fa6/index.js +4 -4
  2148. package/dist/node_modules/react-icons/fi/index.cjs +7 -1
  2149. package/dist/node_modules/react-icons/fi/index.js +4 -4
  2150. package/dist/node_modules/react-icons/hi/index.cjs +27 -1
  2151. package/dist/node_modules/react-icons/hi/index.js +19 -19
  2152. package/dist/node_modules/react-icons/hi2/index.cjs +7 -1
  2153. package/dist/node_modules/react-icons/hi2/index.js +4 -4
  2154. package/dist/node_modules/react-icons/lib/iconBase.cjs +127 -1
  2155. package/dist/node_modules/react-icons/lib/iconBase.js +99 -79
  2156. package/dist/node_modules/react-icons/lib/iconContext.cjs +12 -1
  2157. package/dist/node_modules/react-icons/lib/iconContext.js +6 -5
  2158. package/dist/node_modules/react-icons/lu/index.cjs +7 -1
  2159. package/dist/node_modules/react-icons/lu/index.js +4 -4
  2160. package/dist/node_modules/react-icons/pi/index.cjs +11 -1
  2161. package/dist/node_modules/react-icons/pi/index.js +7 -7
  2162. package/dist/node_modules/react-icons/tb/index.cjs +7 -1
  2163. package/dist/node_modules/react-icons/tb/index.js +4 -4
  2164. package/dist/node_modules/react-toastify/dist/index.cjs +392 -2
  2165. package/dist/node_modules/react-toastify/dist/index.js +298 -291
  2166. package/dist/node_modules/react-toastify/node_modules/clsx/dist/clsx.cjs +17 -1
  2167. package/dist/node_modules/react-toastify/node_modules/clsx/dist/clsx.js +13 -13
  2168. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.cjs +494 -1
  2169. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +411 -206
  2170. package/dist/node_modules/scroll-into-view-if-needed/dist/index.cjs +24 -1
  2171. package/dist/node_modules/scroll-into-view-if-needed/dist/index.js +20 -20
  2172. package/dist/node_modules/stylis/src/Enum.cjs +15 -1
  2173. package/dist/node_modules/stylis/src/Enum.js +14 -8
  2174. package/dist/node_modules/stylis/src/Parser.cjs +163 -1
  2175. package/dist/node_modules/stylis/src/Parser.js +86 -58
  2176. package/dist/node_modules/stylis/src/Serializer.cjs +28 -1
  2177. package/dist/node_modules/stylis/src/Serializer.js +23 -22
  2178. package/dist/node_modules/stylis/src/Tokenizer.cjs +149 -1
  2179. package/dist/node_modules/stylis/src/Tokenizer.js +97 -78
  2180. package/dist/node_modules/stylis/src/Utility.cjs +37 -1
  2181. package/dist/node_modules/stylis/src/Utility.js +28 -27
  2182. package/dist/node_modules/throttle-debounce/esm/index.cjs +60 -1
  2183. package/dist/node_modules/throttle-debounce/esm/index.js +50 -24
  2184. package/dist/node_modules/toggle-selection/index.cjs +41 -1
  2185. package/dist/node_modules/toggle-selection/index.js +29 -16
  2186. package/dist/providers/BreakpointProvider.cjs +28 -1
  2187. package/dist/providers/BreakpointProvider.js +26 -14
  2188. package/dist/providers/GenesisProvider.cjs +16 -1
  2189. package/dist/providers/GenesisProvider.js +14 -11
  2190. package/dist/providers/ToastProvider.cjs +72 -1
  2191. package/dist/providers/ToastProvider.js +41 -33
  2192. package/dist/providers/useGenesis.cjs +15 -1
  2193. package/dist/providers/useGenesis.js +11 -9
  2194. package/dist/styles/design-tokens/variables.cjs +395 -1
  2195. package/dist/styles/design-tokens/variables.js +394 -198
  2196. package/dist/styles/global-styles.cjs +11 -2
  2197. package/dist/styles/global-styles.js +3 -3
  2198. package/dist/styles/theme/genesis-theme.cjs +1324 -1
  2199. package/dist/styles/theme/genesis-theme.js +545 -414
  2200. package/dist/utils/icon-util.cjs +93 -1
  2201. package/dist/utils/icon-util.js +73 -68
  2202. package/dist/utils/styled.cjs +10 -1
  2203. package/dist/utils/styled.js +9 -7
  2204. package/dist/utils/user-util.cjs +14 -1
  2205. package/dist/utils/user-util.js +11 -6
  2206. package/package.json +3 -1
  2207. package/dist/components/Select/CountMultiSelect/CountMultiSelect.cjs +0 -1
  2208. package/dist/components/Select/CountMultiSelect/CountMultiSelect.d.ts +0 -12
  2209. package/dist/components/Select/CountMultiSelect/CountMultiSelect.js +0 -40
  2210. package/dist/components/Select/CountMultiSelect/__stories__/CountMultiSelect.stories.d.ts +0 -7
  2211. package/dist/components/Select/CountMultiSelect/index.d.ts +0 -2
@@ -1,35 +1,41 @@
1
- import ge from "../../@babel/runtime/helpers/esm/extends.js";
2
- import he from "../../@babel/runtime/helpers/esm/typeof.js";
3
- import S from "../../@babel/runtime/helpers/esm/objectSpread2.js";
4
- import G from "../../@babel/runtime/helpers/esm/toConsumableArray.js";
5
- import Ke from "../../@babel/runtime/helpers/esm/classCallCheck.js";
6
- import Ne from "../../@babel/runtime/helpers/esm/createClass.js";
7
- import p from "../../@babel/runtime/helpers/esm/assertThisInitialized.js";
8
- import me from "../../@babel/runtime/helpers/esm/inherits.js";
9
- import ke from "../../@babel/runtime/helpers/esm/createSuper.js";
10
- import c from "../../@babel/runtime/helpers/esm/defineProperty.js";
11
- import De from "../../../_virtual/index.js";
12
- import $ from "../../rc-util/es/KeyCode.js";
13
- import Ee from "../../rc-util/es/pickAttrs.js";
14
- import { warningOnce as W } from "../../rc-util/es/warning.js";
15
- import * as _ from "react";
16
- import { TreeContext as Ce } from "./contextTypes.js";
17
- import xe from "./DropIndicator.js";
18
- import Pe, { MotionEntity as Se, MOTION_KEY as V } from "./NodeList.js";
19
- import Te from "./TreeNode.js";
20
- import { arrDel as O, getDragChildrenKeys as be, calcDropPosition as X, arrAdd as L, posToArr as we, conductExpandParent as z, calcSelectedKeys as J, parseCheckedKeys as F } from "./util.js";
21
- import { conductCheck as j } from "./utils/conductUtil.js";
22
- import M from "./utils/keyUtil.js";
23
- import { fillFieldNames as Q, convertNodePropsToEventData as T, getTreeNodeProps as B, flattenTreeData as q, convertTreeToData as Oe, convertDataToEntities as Le, warningWithoutKey as Ae } from "./utils/treeUtil.js";
24
- var $e = 10, Z = /* @__PURE__ */ function(H) {
25
- me(R, H);
26
- var Y = ke(R);
27
- function R() {
28
- var e;
29
- Ke(this, R);
30
- for (var s = arguments.length, D = new Array(s), E = 0; E < s; E++)
31
- D[E] = arguments[E];
32
- return e = Y.call.apply(Y, [this].concat(D)), c(p(e), "destroyed", !1), c(p(e), "delayedDragEnterLogic", void 0), c(p(e), "loadingRetryTimes", {}), c(p(e), "state", {
1
+ import _extends from "../../@babel/runtime/helpers/esm/extends.js";
2
+ import _typeof from "../../@babel/runtime/helpers/esm/typeof.js";
3
+ import _objectSpread2 from "../../@babel/runtime/helpers/esm/objectSpread2.js";
4
+ import _toConsumableArray from "../../@babel/runtime/helpers/esm/toConsumableArray.js";
5
+ import _classCallCheck from "../../@babel/runtime/helpers/esm/classCallCheck.js";
6
+ import _createClass from "../../@babel/runtime/helpers/esm/createClass.js";
7
+ import _assertThisInitialized from "../../@babel/runtime/helpers/esm/assertThisInitialized.js";
8
+ import _inherits from "../../@babel/runtime/helpers/esm/inherits.js";
9
+ import _createSuper from "../../@babel/runtime/helpers/esm/createSuper.js";
10
+ import _defineProperty from "../../@babel/runtime/helpers/esm/defineProperty.js";
11
+ import classNames from "../../../_virtual/index.js";
12
+ import KeyCode from "../../rc-util/es/KeyCode.js";
13
+ import pickAttrs from "../../rc-util/es/pickAttrs.js";
14
+ import { warningOnce } from "../../rc-util/es/warning.js";
15
+ import * as React from "react";
16
+ import { TreeContext } from "./contextTypes.js";
17
+ import DropIndicator from "./DropIndicator.js";
18
+ import NodeList, { MotionEntity, MOTION_KEY } from "./NodeList.js";
19
+ import TreeNode from "./TreeNode.js";
20
+ import { arrDel, getDragChildrenKeys, calcDropPosition, arrAdd, posToArr, conductExpandParent, calcSelectedKeys, parseCheckedKeys } from "./util.js";
21
+ import { conductCheck } from "./utils/conductUtil.js";
22
+ import getEntity from "./utils/keyUtil.js";
23
+ import { fillFieldNames, convertNodePropsToEventData, getTreeNodeProps, flattenTreeData, convertTreeToData, convertDataToEntities, warningWithoutKey } from "./utils/treeUtil.js";
24
+ var MAX_RETRY_TIMES = 10;
25
+ var Tree = /* @__PURE__ */ function(_React$Component) {
26
+ _inherits(Tree2, _React$Component);
27
+ var _super = _createSuper(Tree2);
28
+ function Tree2() {
29
+ var _this;
30
+ _classCallCheck(this, Tree2);
31
+ for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {
32
+ _args[_key] = arguments[_key];
33
+ }
34
+ _this = _super.call.apply(_super, [this].concat(_args));
35
+ _defineProperty(_assertThisInitialized(_this), "destroyed", false);
36
+ _defineProperty(_assertThisInitialized(_this), "delayedDragEnterLogic", void 0);
37
+ _defineProperty(_assertThisInitialized(_this), "loadingRetryTimes", {});
38
+ _defineProperty(_assertThisInitialized(_this), "state", {
33
39
  keyEntities: {},
34
40
  indent: null,
35
41
  selectedKeys: [],
@@ -52,7 +58,7 @@ var $e = 10, Z = /* @__PURE__ */ function(H) {
52
58
  // the drop level offset of abstract-drag-over-node
53
59
  dropTargetPos: null,
54
60
  // the pos of abstract-drop-node
55
- dropAllowed: !0,
61
+ dropAllowed: true,
56
62
  // if drop to abstract-drop-node is allowed
57
63
  // the abstract-drag-over-node
58
64
  // if mouse is on the bottom of top dom node or no the top of the bottom dom node
@@ -60,447 +66,663 @@ var $e = 10, Z = /* @__PURE__ */ function(H) {
60
66
  dragOverNodeKey: null,
61
67
  treeData: [],
62
68
  flattenNodes: [],
63
- focused: !1,
69
+ focused: false,
64
70
  activeKey: null,
65
- listChanging: !1,
71
+ listChanging: false,
66
72
  prevProps: null,
67
- fieldNames: Q()
68
- }), c(p(e), "dragStartMousePosition", null), c(p(e), "dragNodeProps", null), c(p(e), "currentMouseOverDroppableNodeKey", null), c(p(e), "listRef", /* @__PURE__ */ _.createRef()), c(p(e), "onNodeDragStart", function(t, n) {
69
- var o = e.state, a = o.expandedKeys, d = o.keyEntities, f = e.props.onDragStart, l = n.eventKey;
70
- e.dragNodeProps = n, e.dragStartMousePosition = {
71
- x: t.clientX,
72
- y: t.clientY
73
+ fieldNames: fillFieldNames()
74
+ });
75
+ _defineProperty(_assertThisInitialized(_this), "dragStartMousePosition", null);
76
+ _defineProperty(_assertThisInitialized(_this), "dragNodeProps", null);
77
+ _defineProperty(_assertThisInitialized(_this), "currentMouseOverDroppableNodeKey", null);
78
+ _defineProperty(_assertThisInitialized(_this), "listRef", /* @__PURE__ */ React.createRef());
79
+ _defineProperty(_assertThisInitialized(_this), "onNodeDragStart", function(event, nodeProps) {
80
+ var _this$state = _this.state, expandedKeys = _this$state.expandedKeys, keyEntities = _this$state.keyEntities;
81
+ var onDragStart = _this.props.onDragStart;
82
+ var eventKey = nodeProps.eventKey;
83
+ _this.dragNodeProps = nodeProps;
84
+ _this.dragStartMousePosition = {
85
+ x: event.clientX,
86
+ y: event.clientY
73
87
  };
74
- var u = O(a, l);
75
- e.setState({
76
- draggingNodeKey: l,
77
- dragChildrenKeys: be(l, d),
78
- indent: e.listRef.current.getIndentWidth()
79
- }), e.setExpandedKeys(u), window.addEventListener("dragend", e.onWindowDragEnd), f == null || f({
80
- event: t,
81
- node: T(n)
88
+ var newExpandedKeys = arrDel(expandedKeys, eventKey);
89
+ _this.setState({
90
+ draggingNodeKey: eventKey,
91
+ dragChildrenKeys: getDragChildrenKeys(eventKey, keyEntities),
92
+ indent: _this.listRef.current.getIndentWidth()
93
+ });
94
+ _this.setExpandedKeys(newExpandedKeys);
95
+ window.addEventListener("dragend", _this.onWindowDragEnd);
96
+ onDragStart === null || onDragStart === void 0 || onDragStart({
97
+ event,
98
+ node: convertNodePropsToEventData(nodeProps)
82
99
  });
83
- }), c(p(e), "onNodeDragEnter", function(t, n) {
84
- var o = e.state, a = o.expandedKeys, d = o.keyEntities, f = o.dragChildrenKeys, l = o.flattenNodes, u = o.indent, g = e.props, r = g.onDragEnter, i = g.onExpand, K = g.allowDrop, y = g.direction, v = n.pos, N = n.eventKey;
85
- if (e.currentMouseOverDroppableNodeKey !== N && (e.currentMouseOverDroppableNodeKey = N), !e.dragNodeProps) {
86
- e.resetDragState();
100
+ });
101
+ _defineProperty(_assertThisInitialized(_this), "onNodeDragEnter", function(event, nodeProps) {
102
+ var _this$state2 = _this.state, expandedKeys = _this$state2.expandedKeys, keyEntities = _this$state2.keyEntities, dragChildrenKeys = _this$state2.dragChildrenKeys, flattenNodes = _this$state2.flattenNodes, indent = _this$state2.indent;
103
+ var _this$props = _this.props, onDragEnter = _this$props.onDragEnter, onExpand = _this$props.onExpand, allowDrop2 = _this$props.allowDrop, direction = _this$props.direction;
104
+ var pos = nodeProps.pos, eventKey = nodeProps.eventKey;
105
+ if (_this.currentMouseOverDroppableNodeKey !== eventKey) {
106
+ _this.currentMouseOverDroppableNodeKey = eventKey;
107
+ }
108
+ if (!_this.dragNodeProps) {
109
+ _this.resetDragState();
87
110
  return;
88
111
  }
89
- var h = X(t, e.dragNodeProps, n, u, e.dragStartMousePosition, K, l, d, a, y), k = h.dropPosition, m = h.dropLevelOffset, C = h.dropTargetKey, x = h.dropContainerKey, b = h.dropTargetPos, P = h.dropAllowed, A = h.dragOverNodeKey;
112
+ var _calcDropPosition = calcDropPosition(event, _this.dragNodeProps, nodeProps, indent, _this.dragStartMousePosition, allowDrop2, flattenNodes, keyEntities, expandedKeys, direction), dropPosition = _calcDropPosition.dropPosition, dropLevelOffset = _calcDropPosition.dropLevelOffset, dropTargetKey = _calcDropPosition.dropTargetKey, dropContainerKey = _calcDropPosition.dropContainerKey, dropTargetPos = _calcDropPosition.dropTargetPos, dropAllowed = _calcDropPosition.dropAllowed, dragOverNodeKey = _calcDropPosition.dragOverNodeKey;
90
113
  if (
91
114
  // don't allow drop inside its children
92
- f.includes(C) || // don't allow drop when drop is not allowed caculated by calcDropPosition
93
- !P
115
+ dragChildrenKeys.includes(dropTargetKey) || // don't allow drop when drop is not allowed caculated by calcDropPosition
116
+ !dropAllowed
94
117
  ) {
95
- e.resetDragState();
118
+ _this.resetDragState();
96
119
  return;
97
120
  }
98
- if (e.delayedDragEnterLogic || (e.delayedDragEnterLogic = {}), Object.keys(e.delayedDragEnterLogic).forEach(function(w) {
99
- clearTimeout(e.delayedDragEnterLogic[w]);
100
- }), e.dragNodeProps.eventKey !== n.eventKey && (t.persist(), e.delayedDragEnterLogic[v] = window.setTimeout(function() {
101
- if (e.state.draggingNodeKey !== null) {
102
- var w = G(a), I = M(d, n.eventKey);
103
- I && (I.children || []).length && (w = L(a, n.eventKey)), e.props.hasOwnProperty("expandedKeys") || e.setExpandedKeys(w), i == null || i(w, {
104
- node: T(n),
105
- expanded: !0,
106
- nativeEvent: t.nativeEvent
121
+ if (!_this.delayedDragEnterLogic) {
122
+ _this.delayedDragEnterLogic = {};
123
+ }
124
+ Object.keys(_this.delayedDragEnterLogic).forEach(function(key) {
125
+ clearTimeout(_this.delayedDragEnterLogic[key]);
126
+ });
127
+ if (_this.dragNodeProps.eventKey !== nodeProps.eventKey) {
128
+ event.persist();
129
+ _this.delayedDragEnterLogic[pos] = window.setTimeout(function() {
130
+ if (_this.state.draggingNodeKey === null) {
131
+ return;
132
+ }
133
+ var newExpandedKeys = _toConsumableArray(expandedKeys);
134
+ var entity = getEntity(keyEntities, nodeProps.eventKey);
135
+ if (entity && (entity.children || []).length) {
136
+ newExpandedKeys = arrAdd(expandedKeys, nodeProps.eventKey);
137
+ }
138
+ if (!_this.props.hasOwnProperty("expandedKeys")) {
139
+ _this.setExpandedKeys(newExpandedKeys);
140
+ }
141
+ onExpand === null || onExpand === void 0 || onExpand(newExpandedKeys, {
142
+ node: convertNodePropsToEventData(nodeProps),
143
+ expanded: true,
144
+ nativeEvent: event.nativeEvent
107
145
  });
108
- }
109
- }, 800)), e.dragNodeProps.eventKey === C && m === 0) {
110
- e.resetDragState();
146
+ }, 800);
147
+ }
148
+ if (_this.dragNodeProps.eventKey === dropTargetKey && dropLevelOffset === 0) {
149
+ _this.resetDragState();
111
150
  return;
112
151
  }
113
- e.setState({
114
- dragOverNodeKey: A,
115
- dropPosition: k,
116
- dropLevelOffset: m,
117
- dropTargetKey: C,
118
- dropContainerKey: x,
119
- dropTargetPos: b,
120
- dropAllowed: P
121
- }), r == null || r({
122
- event: t,
123
- node: T(n),
124
- expandedKeys: a
152
+ _this.setState({
153
+ dragOverNodeKey,
154
+ dropPosition,
155
+ dropLevelOffset,
156
+ dropTargetKey,
157
+ dropContainerKey,
158
+ dropTargetPos,
159
+ dropAllowed
125
160
  });
126
- }), c(p(e), "onNodeDragOver", function(t, n) {
127
- var o = e.state, a = o.dragChildrenKeys, d = o.flattenNodes, f = o.keyEntities, l = o.expandedKeys, u = o.indent, g = e.props, r = g.onDragOver, i = g.allowDrop, K = g.direction;
128
- if (e.dragNodeProps) {
129
- var y = X(t, e.dragNodeProps, n, u, e.dragStartMousePosition, i, d, f, l, K), v = y.dropPosition, N = y.dropLevelOffset, h = y.dropTargetKey, k = y.dropContainerKey, m = y.dropTargetPos, C = y.dropAllowed, x = y.dragOverNodeKey;
130
- a.includes(h) || !C || (e.dragNodeProps.eventKey === h && N === 0 ? e.state.dropPosition === null && e.state.dropLevelOffset === null && e.state.dropTargetKey === null && e.state.dropContainerKey === null && e.state.dropTargetPos === null && e.state.dropAllowed === !1 && e.state.dragOverNodeKey === null || e.resetDragState() : v === e.state.dropPosition && N === e.state.dropLevelOffset && h === e.state.dropTargetKey && k === e.state.dropContainerKey && m === e.state.dropTargetPos && C === e.state.dropAllowed && x === e.state.dragOverNodeKey || e.setState({
131
- dropPosition: v,
132
- dropLevelOffset: N,
133
- dropTargetKey: h,
134
- dropContainerKey: k,
135
- dropTargetPos: m,
136
- dropAllowed: C,
137
- dragOverNodeKey: x
138
- }), r == null || r({
139
- event: t,
140
- node: T(n)
141
- }));
161
+ onDragEnter === null || onDragEnter === void 0 || onDragEnter({
162
+ event,
163
+ node: convertNodePropsToEventData(nodeProps),
164
+ expandedKeys
165
+ });
166
+ });
167
+ _defineProperty(_assertThisInitialized(_this), "onNodeDragOver", function(event, nodeProps) {
168
+ var _this$state3 = _this.state, dragChildrenKeys = _this$state3.dragChildrenKeys, flattenNodes = _this$state3.flattenNodes, keyEntities = _this$state3.keyEntities, expandedKeys = _this$state3.expandedKeys, indent = _this$state3.indent;
169
+ var _this$props2 = _this.props, onDragOver = _this$props2.onDragOver, allowDrop2 = _this$props2.allowDrop, direction = _this$props2.direction;
170
+ if (!_this.dragNodeProps) {
171
+ return;
142
172
  }
143
- }), c(p(e), "onNodeDragLeave", function(t, n) {
144
- e.currentMouseOverDroppableNodeKey === n.eventKey && !t.currentTarget.contains(t.relatedTarget) && (e.resetDragState(), e.currentMouseOverDroppableNodeKey = null);
145
- var o = e.props.onDragLeave;
146
- o == null || o({
147
- event: t,
148
- node: T(n)
173
+ var _calcDropPosition2 = calcDropPosition(event, _this.dragNodeProps, nodeProps, indent, _this.dragStartMousePosition, allowDrop2, flattenNodes, keyEntities, expandedKeys, direction), dropPosition = _calcDropPosition2.dropPosition, dropLevelOffset = _calcDropPosition2.dropLevelOffset, dropTargetKey = _calcDropPosition2.dropTargetKey, dropContainerKey = _calcDropPosition2.dropContainerKey, dropTargetPos = _calcDropPosition2.dropTargetPos, dropAllowed = _calcDropPosition2.dropAllowed, dragOverNodeKey = _calcDropPosition2.dragOverNodeKey;
174
+ if (dragChildrenKeys.includes(dropTargetKey) || !dropAllowed) {
175
+ return;
176
+ }
177
+ if (_this.dragNodeProps.eventKey === dropTargetKey && dropLevelOffset === 0) {
178
+ if (!(_this.state.dropPosition === null && _this.state.dropLevelOffset === null && _this.state.dropTargetKey === null && _this.state.dropContainerKey === null && _this.state.dropTargetPos === null && _this.state.dropAllowed === false && _this.state.dragOverNodeKey === null)) {
179
+ _this.resetDragState();
180
+ }
181
+ } else if (!(dropPosition === _this.state.dropPosition && dropLevelOffset === _this.state.dropLevelOffset && dropTargetKey === _this.state.dropTargetKey && dropContainerKey === _this.state.dropContainerKey && dropTargetPos === _this.state.dropTargetPos && dropAllowed === _this.state.dropAllowed && dragOverNodeKey === _this.state.dragOverNodeKey)) {
182
+ _this.setState({
183
+ dropPosition,
184
+ dropLevelOffset,
185
+ dropTargetKey,
186
+ dropContainerKey,
187
+ dropTargetPos,
188
+ dropAllowed,
189
+ dragOverNodeKey
190
+ });
191
+ }
192
+ onDragOver === null || onDragOver === void 0 || onDragOver({
193
+ event,
194
+ node: convertNodePropsToEventData(nodeProps)
195
+ });
196
+ });
197
+ _defineProperty(_assertThisInitialized(_this), "onNodeDragLeave", function(event, nodeProps) {
198
+ if (_this.currentMouseOverDroppableNodeKey === nodeProps.eventKey && !event.currentTarget.contains(event.relatedTarget)) {
199
+ _this.resetDragState();
200
+ _this.currentMouseOverDroppableNodeKey = null;
201
+ }
202
+ var onDragLeave = _this.props.onDragLeave;
203
+ onDragLeave === null || onDragLeave === void 0 || onDragLeave({
204
+ event,
205
+ node: convertNodePropsToEventData(nodeProps)
149
206
  });
150
- }), c(p(e), "onWindowDragEnd", function(t) {
151
- e.onNodeDragEnd(t, null, !0), window.removeEventListener("dragend", e.onWindowDragEnd);
152
- }), c(p(e), "onNodeDragEnd", function(t, n) {
153
- var o = e.props.onDragEnd;
154
- e.setState({
207
+ });
208
+ _defineProperty(_assertThisInitialized(_this), "onWindowDragEnd", function(event) {
209
+ _this.onNodeDragEnd(event, null, true);
210
+ window.removeEventListener("dragend", _this.onWindowDragEnd);
211
+ });
212
+ _defineProperty(_assertThisInitialized(_this), "onNodeDragEnd", function(event, nodeProps) {
213
+ var onDragEnd = _this.props.onDragEnd;
214
+ _this.setState({
155
215
  dragOverNodeKey: null
156
- }), e.cleanDragState(), o == null || o({
157
- event: t,
158
- node: T(n)
159
- }), e.dragNodeProps = null, window.removeEventListener("dragend", e.onWindowDragEnd);
160
- }), c(p(e), "onNodeDrop", function(t, n) {
161
- var o, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, d = e.state, f = d.dragChildrenKeys, l = d.dropPosition, u = d.dropTargetKey, g = d.dropTargetPos, r = d.dropAllowed;
162
- if (r) {
163
- var i = e.props.onDrop;
164
- if (e.setState({
165
- dragOverNodeKey: null
166
- }), e.cleanDragState(), u !== null) {
167
- var K = S(S({}, B(u, e.getTreeNodeRequiredProps())), {}, {
168
- active: ((o = e.getActiveItem()) === null || o === void 0 ? void 0 : o.key) === u,
169
- data: M(e.state.keyEntities, u).node
170
- }), y = f.includes(u);
171
- W(!y, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
172
- var v = we(g), N = {
173
- event: t,
174
- node: T(K),
175
- dragNode: e.dragNodeProps ? T(e.dragNodeProps) : null,
176
- dragNodesKeys: [e.dragNodeProps.eventKey].concat(f),
177
- dropToGap: l !== 0,
178
- dropPosition: l + Number(v[v.length - 1])
179
- };
180
- a || i == null || i(N), e.dragNodeProps = null;
181
- }
216
+ });
217
+ _this.cleanDragState();
218
+ onDragEnd === null || onDragEnd === void 0 || onDragEnd({
219
+ event,
220
+ node: convertNodePropsToEventData(nodeProps)
221
+ });
222
+ _this.dragNodeProps = null;
223
+ window.removeEventListener("dragend", _this.onWindowDragEnd);
224
+ });
225
+ _defineProperty(_assertThisInitialized(_this), "onNodeDrop", function(event, _) {
226
+ var _this$getActiveItem;
227
+ var outsideTree = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
228
+ var _this$state4 = _this.state, dragChildrenKeys = _this$state4.dragChildrenKeys, dropPosition = _this$state4.dropPosition, dropTargetKey = _this$state4.dropTargetKey, dropTargetPos = _this$state4.dropTargetPos, dropAllowed = _this$state4.dropAllowed;
229
+ if (!dropAllowed) {
230
+ return;
182
231
  }
183
- }), c(p(e), "cleanDragState", function() {
184
- var t = e.state.draggingNodeKey;
185
- t !== null && e.setState({
186
- draggingNodeKey: null,
187
- dropPosition: null,
188
- dropContainerKey: null,
189
- dropTargetKey: null,
190
- dropLevelOffset: null,
191
- dropAllowed: !0,
232
+ var onDrop = _this.props.onDrop;
233
+ _this.setState({
192
234
  dragOverNodeKey: null
193
- }), e.dragStartMousePosition = null, e.currentMouseOverDroppableNodeKey = null;
194
- }), c(p(e), "triggerExpandActionExpand", function(t, n) {
195
- var o = e.state, a = o.expandedKeys, d = o.flattenNodes, f = n.expanded, l = n.key, u = n.isLeaf;
196
- if (!(u || t.shiftKey || t.metaKey || t.ctrlKey)) {
197
- var g = d.filter(function(i) {
198
- return i.key === l;
199
- })[0], r = T(S(S({}, B(l, e.getTreeNodeRequiredProps())), {}, {
200
- data: g.data
201
- }));
202
- e.setExpandedKeys(f ? O(a, l) : L(a, l)), e.onNodeExpand(t, r);
203
- }
204
- }), c(p(e), "onNodeClick", function(t, n) {
205
- var o = e.props, a = o.onClick, d = o.expandAction;
206
- d === "click" && e.triggerExpandActionExpand(t, n), a == null || a(t, n);
207
- }), c(p(e), "onNodeDoubleClick", function(t, n) {
208
- var o = e.props, a = o.onDoubleClick, d = o.expandAction;
209
- d === "doubleClick" && e.triggerExpandActionExpand(t, n), a == null || a(t, n);
210
- }), c(p(e), "onNodeSelect", function(t, n) {
211
- var o = e.state.selectedKeys, a = e.state, d = a.keyEntities, f = a.fieldNames, l = e.props, u = l.onSelect, g = l.multiple, r = n.selected, i = n[f.key], K = !r;
212
- K ? g ? o = L(o, i) : o = [i] : o = O(o, i);
213
- var y = o.map(function(v) {
214
- var N = M(d, v);
215
- return N ? N.node : null;
235
+ });
236
+ _this.cleanDragState();
237
+ if (dropTargetKey === null) return;
238
+ var abstractDropNodeProps = _objectSpread2(_objectSpread2({}, getTreeNodeProps(dropTargetKey, _this.getTreeNodeRequiredProps())), {}, {
239
+ active: ((_this$getActiveItem = _this.getActiveItem()) === null || _this$getActiveItem === void 0 ? void 0 : _this$getActiveItem.key) === dropTargetKey,
240
+ data: getEntity(_this.state.keyEntities, dropTargetKey).node
241
+ });
242
+ var dropToChild = dragChildrenKeys.includes(dropTargetKey);
243
+ warningOnce(!dropToChild, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
244
+ var posArr = posToArr(dropTargetPos);
245
+ var dropResult = {
246
+ event,
247
+ node: convertNodePropsToEventData(abstractDropNodeProps),
248
+ dragNode: _this.dragNodeProps ? convertNodePropsToEventData(_this.dragNodeProps) : null,
249
+ dragNodesKeys: [_this.dragNodeProps.eventKey].concat(dragChildrenKeys),
250
+ dropToGap: dropPosition !== 0,
251
+ dropPosition: dropPosition + Number(posArr[posArr.length - 1])
252
+ };
253
+ if (!outsideTree) {
254
+ onDrop === null || onDrop === void 0 || onDrop(dropResult);
255
+ }
256
+ _this.dragNodeProps = null;
257
+ });
258
+ _defineProperty(_assertThisInitialized(_this), "cleanDragState", function() {
259
+ var draggingNodeKey = _this.state.draggingNodeKey;
260
+ if (draggingNodeKey !== null) {
261
+ _this.setState({
262
+ draggingNodeKey: null,
263
+ dropPosition: null,
264
+ dropContainerKey: null,
265
+ dropTargetKey: null,
266
+ dropLevelOffset: null,
267
+ dropAllowed: true,
268
+ dragOverNodeKey: null
269
+ });
270
+ }
271
+ _this.dragStartMousePosition = null;
272
+ _this.currentMouseOverDroppableNodeKey = null;
273
+ });
274
+ _defineProperty(_assertThisInitialized(_this), "triggerExpandActionExpand", function(e, treeNode) {
275
+ var _this$state5 = _this.state, expandedKeys = _this$state5.expandedKeys, flattenNodes = _this$state5.flattenNodes;
276
+ var expanded = treeNode.expanded, key = treeNode.key, isLeaf = treeNode.isLeaf;
277
+ if (isLeaf || e.shiftKey || e.metaKey || e.ctrlKey) {
278
+ return;
279
+ }
280
+ var node = flattenNodes.filter(function(nodeItem) {
281
+ return nodeItem.key === key;
282
+ })[0];
283
+ var eventNode = convertNodePropsToEventData(_objectSpread2(_objectSpread2({}, getTreeNodeProps(key, _this.getTreeNodeRequiredProps())), {}, {
284
+ data: node.data
285
+ }));
286
+ _this.setExpandedKeys(expanded ? arrDel(expandedKeys, key) : arrAdd(expandedKeys, key));
287
+ _this.onNodeExpand(e, eventNode);
288
+ });
289
+ _defineProperty(_assertThisInitialized(_this), "onNodeClick", function(e, treeNode) {
290
+ var _this$props3 = _this.props, onClick = _this$props3.onClick, expandAction = _this$props3.expandAction;
291
+ if (expandAction === "click") {
292
+ _this.triggerExpandActionExpand(e, treeNode);
293
+ }
294
+ onClick === null || onClick === void 0 || onClick(e, treeNode);
295
+ });
296
+ _defineProperty(_assertThisInitialized(_this), "onNodeDoubleClick", function(e, treeNode) {
297
+ var _this$props4 = _this.props, onDoubleClick = _this$props4.onDoubleClick, expandAction = _this$props4.expandAction;
298
+ if (expandAction === "doubleClick") {
299
+ _this.triggerExpandActionExpand(e, treeNode);
300
+ }
301
+ onDoubleClick === null || onDoubleClick === void 0 || onDoubleClick(e, treeNode);
302
+ });
303
+ _defineProperty(_assertThisInitialized(_this), "onNodeSelect", function(e, treeNode) {
304
+ var selectedKeys = _this.state.selectedKeys;
305
+ var _this$state6 = _this.state, keyEntities = _this$state6.keyEntities, fieldNames = _this$state6.fieldNames;
306
+ var _this$props5 = _this.props, onSelect = _this$props5.onSelect, multiple = _this$props5.multiple;
307
+ var selected = treeNode.selected;
308
+ var key = treeNode[fieldNames.key];
309
+ var targetSelected = !selected;
310
+ if (!targetSelected) {
311
+ selectedKeys = arrDel(selectedKeys, key);
312
+ } else if (!multiple) {
313
+ selectedKeys = [key];
314
+ } else {
315
+ selectedKeys = arrAdd(selectedKeys, key);
316
+ }
317
+ var selectedNodes = selectedKeys.map(function(selectedKey) {
318
+ var entity = getEntity(keyEntities, selectedKey);
319
+ return entity ? entity.node : null;
216
320
  }).filter(Boolean);
217
- e.setUncontrolledState({
218
- selectedKeys: o
219
- }), u == null || u(o, {
321
+ _this.setUncontrolledState({
322
+ selectedKeys
323
+ });
324
+ onSelect === null || onSelect === void 0 || onSelect(selectedKeys, {
220
325
  event: "select",
221
- selected: K,
222
- node: n,
223
- selectedNodes: y,
224
- nativeEvent: t.nativeEvent
326
+ selected: targetSelected,
327
+ node: treeNode,
328
+ selectedNodes,
329
+ nativeEvent: e.nativeEvent
225
330
  });
226
- }), c(p(e), "onNodeCheck", function(t, n, o) {
227
- var a = e.state, d = a.keyEntities, f = a.checkedKeys, l = a.halfCheckedKeys, u = e.props, g = u.checkStrictly, r = u.onCheck, i = n.key, K, y = {
331
+ });
332
+ _defineProperty(_assertThisInitialized(_this), "onNodeCheck", function(e, treeNode, checked) {
333
+ var _this$state7 = _this.state, keyEntities = _this$state7.keyEntities, oriCheckedKeys = _this$state7.checkedKeys, oriHalfCheckedKeys = _this$state7.halfCheckedKeys;
334
+ var _this$props6 = _this.props, checkStrictly = _this$props6.checkStrictly, onCheck = _this$props6.onCheck;
335
+ var key = treeNode.key;
336
+ var checkedObj;
337
+ var eventObj = {
228
338
  event: "check",
229
- node: n,
230
- checked: o,
231
- nativeEvent: t.nativeEvent
339
+ node: treeNode,
340
+ checked,
341
+ nativeEvent: e.nativeEvent
232
342
  };
233
- if (g) {
234
- var v = o ? L(f, i) : O(f, i), N = O(l, i);
235
- K = {
236
- checked: v,
237
- halfChecked: N
238
- }, y.checkedNodes = v.map(function(b) {
239
- return M(d, b);
240
- }).filter(Boolean).map(function(b) {
241
- return b.node;
242
- }), e.setUncontrolledState({
243
- checkedKeys: v
343
+ if (checkStrictly) {
344
+ var checkedKeys = checked ? arrAdd(oriCheckedKeys, key) : arrDel(oriCheckedKeys, key);
345
+ var halfCheckedKeys = arrDel(oriHalfCheckedKeys, key);
346
+ checkedObj = {
347
+ checked: checkedKeys,
348
+ halfChecked: halfCheckedKeys
349
+ };
350
+ eventObj.checkedNodes = checkedKeys.map(function(checkedKey) {
351
+ return getEntity(keyEntities, checkedKey);
352
+ }).filter(Boolean).map(function(entity) {
353
+ return entity.node;
354
+ });
355
+ _this.setUncontrolledState({
356
+ checkedKeys
244
357
  });
245
358
  } else {
246
- var h = j([].concat(G(f), [i]), !0, d), k = h.checkedKeys, m = h.halfCheckedKeys;
247
- if (!o) {
248
- var C = new Set(k);
249
- C.delete(i);
250
- var x = j(Array.from(C), {
251
- halfCheckedKeys: m
252
- }, d);
253
- k = x.checkedKeys, m = x.halfCheckedKeys;
359
+ var _conductCheck = conductCheck([].concat(_toConsumableArray(oriCheckedKeys), [key]), true, keyEntities), _checkedKeys = _conductCheck.checkedKeys, _halfCheckedKeys = _conductCheck.halfCheckedKeys;
360
+ if (!checked) {
361
+ var keySet = new Set(_checkedKeys);
362
+ keySet.delete(key);
363
+ var _conductCheck2 = conductCheck(Array.from(keySet), {
364
+ halfCheckedKeys: _halfCheckedKeys
365
+ }, keyEntities);
366
+ _checkedKeys = _conductCheck2.checkedKeys;
367
+ _halfCheckedKeys = _conductCheck2.halfCheckedKeys;
254
368
  }
255
- K = k, y.checkedNodes = [], y.checkedNodesPositions = [], y.halfCheckedKeys = m, k.forEach(function(b) {
256
- var P = M(d, b);
257
- if (P) {
258
- var A = P.node, w = P.pos;
259
- y.checkedNodes.push(A), y.checkedNodesPositions.push({
260
- node: A,
261
- pos: w
262
- });
263
- }
264
- }), e.setUncontrolledState({
265
- checkedKeys: k
266
- }, !1, {
267
- halfCheckedKeys: m
369
+ checkedObj = _checkedKeys;
370
+ eventObj.checkedNodes = [];
371
+ eventObj.checkedNodesPositions = [];
372
+ eventObj.halfCheckedKeys = _halfCheckedKeys;
373
+ _checkedKeys.forEach(function(checkedKey) {
374
+ var entity = getEntity(keyEntities, checkedKey);
375
+ if (!entity) return;
376
+ var node = entity.node, pos = entity.pos;
377
+ eventObj.checkedNodes.push(node);
378
+ eventObj.checkedNodesPositions.push({
379
+ node,
380
+ pos
381
+ });
268
382
  });
383
+ _this.setUncontrolledState({
384
+ checkedKeys: _checkedKeys
385
+ }, false, {
386
+ halfCheckedKeys: _halfCheckedKeys
387
+ });
388
+ }
389
+ onCheck === null || onCheck === void 0 || onCheck(checkedObj, eventObj);
390
+ });
391
+ _defineProperty(_assertThisInitialized(_this), "onNodeLoad", function(treeNode) {
392
+ var _entity$children;
393
+ var key = treeNode.key;
394
+ var keyEntities = _this.state.keyEntities;
395
+ var entity = getEntity(keyEntities, key);
396
+ if (entity !== null && entity !== void 0 && (_entity$children = entity.children) !== null && _entity$children !== void 0 && _entity$children.length) {
397
+ return;
269
398
  }
270
- r == null || r(K, y);
271
- }), c(p(e), "onNodeLoad", function(t) {
272
- var n, o = t.key, a = e.state.keyEntities, d = M(a, o);
273
- if (!(d != null && (n = d.children) !== null && n !== void 0 && n.length)) {
274
- var f = new Promise(function(l, u) {
275
- e.setState(function(g) {
276
- var r = g.loadedKeys, i = r === void 0 ? [] : r, K = g.loadingKeys, y = K === void 0 ? [] : K, v = e.props, N = v.loadData, h = v.onLoad;
277
- if (!N || i.includes(o) || y.includes(o))
278
- return null;
279
- var k = N(t);
280
- return k.then(function() {
281
- var m = e.state.loadedKeys, C = L(m, o);
282
- h == null || h(C, {
283
- event: "load",
284
- node: t
285
- }), e.setUncontrolledState({
286
- loadedKeys: C
287
- }), e.setState(function(x) {
288
- return {
289
- loadingKeys: O(x.loadingKeys, o)
290
- };
291
- }), l();
292
- }).catch(function(m) {
293
- if (e.setState(function(x) {
294
- return {
295
- loadingKeys: O(x.loadingKeys, o)
296
- };
297
- }), e.loadingRetryTimes[o] = (e.loadingRetryTimes[o] || 0) + 1, e.loadingRetryTimes[o] >= $e) {
298
- var C = e.state.loadedKeys;
299
- W(!1, "Retry for `loadData` many times but still failed. No more retry."), e.setUncontrolledState({
300
- loadedKeys: L(C, o)
301
- }), l();
302
- }
303
- u(m);
304
- }), {
305
- loadingKeys: L(y, o)
306
- };
399
+ var loadPromise = new Promise(function(resolve, reject) {
400
+ _this.setState(function(_ref) {
401
+ var _ref$loadedKeys = _ref.loadedKeys, loadedKeys = _ref$loadedKeys === void 0 ? [] : _ref$loadedKeys, _ref$loadingKeys = _ref.loadingKeys, loadingKeys = _ref$loadingKeys === void 0 ? [] : _ref$loadingKeys;
402
+ var _this$props7 = _this.props, loadData = _this$props7.loadData, onLoad = _this$props7.onLoad;
403
+ if (!loadData || loadedKeys.includes(key) || loadingKeys.includes(key)) {
404
+ return null;
405
+ }
406
+ var promise = loadData(treeNode);
407
+ promise.then(function() {
408
+ var currentLoadedKeys = _this.state.loadedKeys;
409
+ var newLoadedKeys = arrAdd(currentLoadedKeys, key);
410
+ onLoad === null || onLoad === void 0 || onLoad(newLoadedKeys, {
411
+ event: "load",
412
+ node: treeNode
413
+ });
414
+ _this.setUncontrolledState({
415
+ loadedKeys: newLoadedKeys
416
+ });
417
+ _this.setState(function(prevState) {
418
+ return {
419
+ loadingKeys: arrDel(prevState.loadingKeys, key)
420
+ };
421
+ });
422
+ resolve();
423
+ }).catch(function(e) {
424
+ _this.setState(function(prevState) {
425
+ return {
426
+ loadingKeys: arrDel(prevState.loadingKeys, key)
427
+ };
428
+ });
429
+ _this.loadingRetryTimes[key] = (_this.loadingRetryTimes[key] || 0) + 1;
430
+ if (_this.loadingRetryTimes[key] >= MAX_RETRY_TIMES) {
431
+ var currentLoadedKeys = _this.state.loadedKeys;
432
+ warningOnce(false, "Retry for `loadData` many times but still failed. No more retry.");
433
+ _this.setUncontrolledState({
434
+ loadedKeys: arrAdd(currentLoadedKeys, key)
435
+ });
436
+ resolve();
437
+ }
438
+ reject(e);
307
439
  });
440
+ return {
441
+ loadingKeys: arrAdd(loadingKeys, key)
442
+ };
308
443
  });
309
- return f.catch(function() {
310
- }), f;
311
- }
312
- }), c(p(e), "onNodeMouseEnter", function(t, n) {
313
- var o = e.props.onMouseEnter;
314
- o == null || o({
315
- event: t,
316
- node: n
317
444
  });
318
- }), c(p(e), "onNodeMouseLeave", function(t, n) {
319
- var o = e.props.onMouseLeave;
320
- o == null || o({
321
- event: t,
322
- node: n
445
+ loadPromise.catch(function() {
323
446
  });
324
- }), c(p(e), "onNodeContextMenu", function(t, n) {
325
- var o = e.props.onRightClick;
326
- o && (t.preventDefault(), o({
327
- event: t,
328
- node: n
329
- }));
330
- }), c(p(e), "onFocus", function() {
331
- var t = e.props.onFocus;
332
- e.setState({
333
- focused: !0
447
+ return loadPromise;
448
+ });
449
+ _defineProperty(_assertThisInitialized(_this), "onNodeMouseEnter", function(event, node) {
450
+ var onMouseEnter = _this.props.onMouseEnter;
451
+ onMouseEnter === null || onMouseEnter === void 0 || onMouseEnter({
452
+ event,
453
+ node
334
454
  });
335
- for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++)
336
- o[a] = arguments[a];
337
- t == null || t.apply(void 0, o);
338
- }), c(p(e), "onBlur", function() {
339
- var t = e.props.onBlur;
340
- e.setState({
341
- focused: !1
342
- }), e.onActiveChange(null);
343
- for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++)
344
- o[a] = arguments[a];
345
- t == null || t.apply(void 0, o);
346
- }), c(p(e), "getTreeNodeRequiredProps", function() {
347
- var t = e.state, n = t.expandedKeys, o = t.selectedKeys, a = t.loadedKeys, d = t.loadingKeys, f = t.checkedKeys, l = t.halfCheckedKeys, u = t.dragOverNodeKey, g = t.dropPosition, r = t.keyEntities;
455
+ });
456
+ _defineProperty(_assertThisInitialized(_this), "onNodeMouseLeave", function(event, node) {
457
+ var onMouseLeave = _this.props.onMouseLeave;
458
+ onMouseLeave === null || onMouseLeave === void 0 || onMouseLeave({
459
+ event,
460
+ node
461
+ });
462
+ });
463
+ _defineProperty(_assertThisInitialized(_this), "onNodeContextMenu", function(event, node) {
464
+ var onRightClick = _this.props.onRightClick;
465
+ if (onRightClick) {
466
+ event.preventDefault();
467
+ onRightClick({
468
+ event,
469
+ node
470
+ });
471
+ }
472
+ });
473
+ _defineProperty(_assertThisInitialized(_this), "onFocus", function() {
474
+ var onFocus = _this.props.onFocus;
475
+ _this.setState({
476
+ focused: true
477
+ });
478
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
479
+ args[_key2] = arguments[_key2];
480
+ }
481
+ onFocus === null || onFocus === void 0 || onFocus.apply(void 0, args);
482
+ });
483
+ _defineProperty(_assertThisInitialized(_this), "onBlur", function() {
484
+ var onBlur = _this.props.onBlur;
485
+ _this.setState({
486
+ focused: false
487
+ });
488
+ _this.onActiveChange(null);
489
+ for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
490
+ args[_key3] = arguments[_key3];
491
+ }
492
+ onBlur === null || onBlur === void 0 || onBlur.apply(void 0, args);
493
+ });
494
+ _defineProperty(_assertThisInitialized(_this), "getTreeNodeRequiredProps", function() {
495
+ var _this$state8 = _this.state, expandedKeys = _this$state8.expandedKeys, selectedKeys = _this$state8.selectedKeys, loadedKeys = _this$state8.loadedKeys, loadingKeys = _this$state8.loadingKeys, checkedKeys = _this$state8.checkedKeys, halfCheckedKeys = _this$state8.halfCheckedKeys, dragOverNodeKey = _this$state8.dragOverNodeKey, dropPosition = _this$state8.dropPosition, keyEntities = _this$state8.keyEntities;
348
496
  return {
349
- expandedKeys: n || [],
350
- selectedKeys: o || [],
351
- loadedKeys: a || [],
352
- loadingKeys: d || [],
353
- checkedKeys: f || [],
354
- halfCheckedKeys: l || [],
355
- dragOverNodeKey: u,
356
- dropPosition: g,
357
- keyEntities: r
497
+ expandedKeys: expandedKeys || [],
498
+ selectedKeys: selectedKeys || [],
499
+ loadedKeys: loadedKeys || [],
500
+ loadingKeys: loadingKeys || [],
501
+ checkedKeys: checkedKeys || [],
502
+ halfCheckedKeys: halfCheckedKeys || [],
503
+ dragOverNodeKey,
504
+ dropPosition,
505
+ keyEntities
358
506
  };
359
- }), c(p(e), "setExpandedKeys", function(t) {
360
- var n = e.state, o = n.treeData, a = n.fieldNames, d = q(o, t, a);
361
- e.setUncontrolledState({
362
- expandedKeys: t,
363
- flattenNodes: d
364
- }, !0);
365
- }), c(p(e), "onNodeExpand", function(t, n) {
366
- var o = e.state.expandedKeys, a = e.state, d = a.listChanging, f = a.fieldNames, l = e.props, u = l.onExpand, g = l.loadData, r = n.expanded, i = n[f.key];
367
- if (!d) {
368
- var K = o.includes(i), y = !r;
369
- if (W(r && K || !r && !K, "Expand state not sync with index check"), o = y ? L(o, i) : O(o, i), e.setExpandedKeys(o), u == null || u(o, {
370
- node: n,
371
- expanded: y,
372
- nativeEvent: t.nativeEvent
373
- }), y && g) {
374
- var v = e.onNodeLoad(n);
375
- v && v.then(function() {
376
- var N = q(e.state.treeData, o, f);
377
- e.setUncontrolledState({
378
- flattenNodes: N
507
+ });
508
+ _defineProperty(_assertThisInitialized(_this), "setExpandedKeys", function(expandedKeys) {
509
+ var _this$state9 = _this.state, treeData = _this$state9.treeData, fieldNames = _this$state9.fieldNames;
510
+ var flattenNodes = flattenTreeData(treeData, expandedKeys, fieldNames);
511
+ _this.setUncontrolledState({
512
+ expandedKeys,
513
+ flattenNodes
514
+ }, true);
515
+ });
516
+ _defineProperty(_assertThisInitialized(_this), "onNodeExpand", function(e, treeNode) {
517
+ var expandedKeys = _this.state.expandedKeys;
518
+ var _this$state10 = _this.state, listChanging = _this$state10.listChanging, fieldNames = _this$state10.fieldNames;
519
+ var _this$props8 = _this.props, onExpand = _this$props8.onExpand, loadData = _this$props8.loadData;
520
+ var expanded = treeNode.expanded;
521
+ var key = treeNode[fieldNames.key];
522
+ if (listChanging) {
523
+ return;
524
+ }
525
+ var certain = expandedKeys.includes(key);
526
+ var targetExpanded = !expanded;
527
+ warningOnce(expanded && certain || !expanded && !certain, "Expand state not sync with index check");
528
+ expandedKeys = targetExpanded ? arrAdd(expandedKeys, key) : arrDel(expandedKeys, key);
529
+ _this.setExpandedKeys(expandedKeys);
530
+ onExpand === null || onExpand === void 0 || onExpand(expandedKeys, {
531
+ node: treeNode,
532
+ expanded: targetExpanded,
533
+ nativeEvent: e.nativeEvent
534
+ });
535
+ if (targetExpanded && loadData) {
536
+ var loadPromise = _this.onNodeLoad(treeNode);
537
+ if (loadPromise) {
538
+ loadPromise.then(function() {
539
+ var newFlattenTreeData = flattenTreeData(_this.state.treeData, expandedKeys, fieldNames);
540
+ _this.setUncontrolledState({
541
+ flattenNodes: newFlattenTreeData
379
542
  });
380
543
  }).catch(function() {
381
- var N = e.state.expandedKeys, h = O(N, i);
382
- e.setExpandedKeys(h);
544
+ var currentExpandedKeys = _this.state.expandedKeys;
545
+ var expandedKeysToRestore = arrDel(currentExpandedKeys, key);
546
+ _this.setExpandedKeys(expandedKeysToRestore);
383
547
  });
384
548
  }
385
549
  }
386
- }), c(p(e), "onListChangeStart", function() {
387
- e.setUncontrolledState({
388
- listChanging: !0
550
+ });
551
+ _defineProperty(_assertThisInitialized(_this), "onListChangeStart", function() {
552
+ _this.setUncontrolledState({
553
+ listChanging: true
389
554
  });
390
- }), c(p(e), "onListChangeEnd", function() {
555
+ });
556
+ _defineProperty(_assertThisInitialized(_this), "onListChangeEnd", function() {
391
557
  setTimeout(function() {
392
- e.setUncontrolledState({
393
- listChanging: !1
558
+ _this.setUncontrolledState({
559
+ listChanging: false
394
560
  });
395
561
  });
396
- }), c(p(e), "onActiveChange", function(t) {
397
- var n = e.state.activeKey, o = e.props, a = o.onActiveChange, d = o.itemScrollOffset, f = d === void 0 ? 0 : d;
398
- n !== t && (e.setState({
399
- activeKey: t
400
- }), t !== null && e.scrollTo({
401
- key: t,
402
- offset: f
403
- }), a == null || a(t));
404
- }), c(p(e), "getActiveItem", function() {
405
- var t = e.state, n = t.activeKey, o = t.flattenNodes;
406
- return n === null ? null : o.find(function(a) {
407
- var d = a.key;
408
- return d === n;
562
+ });
563
+ _defineProperty(_assertThisInitialized(_this), "onActiveChange", function(newActiveKey) {
564
+ var activeKey = _this.state.activeKey;
565
+ var _this$props9 = _this.props, onActiveChange = _this$props9.onActiveChange, _this$props9$itemScro = _this$props9.itemScrollOffset, itemScrollOffset = _this$props9$itemScro === void 0 ? 0 : _this$props9$itemScro;
566
+ if (activeKey === newActiveKey) {
567
+ return;
568
+ }
569
+ _this.setState({
570
+ activeKey: newActiveKey
571
+ });
572
+ if (newActiveKey !== null) {
573
+ _this.scrollTo({
574
+ key: newActiveKey,
575
+ offset: itemScrollOffset
576
+ });
577
+ }
578
+ onActiveChange === null || onActiveChange === void 0 || onActiveChange(newActiveKey);
579
+ });
580
+ _defineProperty(_assertThisInitialized(_this), "getActiveItem", function() {
581
+ var _this$state11 = _this.state, activeKey = _this$state11.activeKey, flattenNodes = _this$state11.flattenNodes;
582
+ if (activeKey === null) {
583
+ return null;
584
+ }
585
+ return flattenNodes.find(function(_ref2) {
586
+ var key = _ref2.key;
587
+ return key === activeKey;
409
588
  }) || null;
410
- }), c(p(e), "offsetActiveKey", function(t) {
411
- var n = e.state, o = n.flattenNodes, a = n.activeKey, d = o.findIndex(function(u) {
412
- var g = u.key;
413
- return g === a;
589
+ });
590
+ _defineProperty(_assertThisInitialized(_this), "offsetActiveKey", function(offset) {
591
+ var _this$state12 = _this.state, flattenNodes = _this$state12.flattenNodes, activeKey = _this$state12.activeKey;
592
+ var index = flattenNodes.findIndex(function(_ref3) {
593
+ var key = _ref3.key;
594
+ return key === activeKey;
414
595
  });
415
- d === -1 && t < 0 && (d = o.length), d = (d + t + o.length) % o.length;
416
- var f = o[d];
417
- if (f) {
418
- var l = f.key;
419
- e.onActiveChange(l);
420
- } else
421
- e.onActiveChange(null);
422
- }), c(p(e), "onKeyDown", function(t) {
423
- var n = e.state, o = n.activeKey, a = n.expandedKeys, d = n.checkedKeys, f = n.fieldNames, l = e.props, u = l.onKeyDown, g = l.checkable, r = l.selectable;
424
- switch (t.which) {
425
- case $.UP: {
426
- e.offsetActiveKey(-1), t.preventDefault();
596
+ if (index === -1 && offset < 0) {
597
+ index = flattenNodes.length;
598
+ }
599
+ index = (index + offset + flattenNodes.length) % flattenNodes.length;
600
+ var item = flattenNodes[index];
601
+ if (item) {
602
+ var _key4 = item.key;
603
+ _this.onActiveChange(_key4);
604
+ } else {
605
+ _this.onActiveChange(null);
606
+ }
607
+ });
608
+ _defineProperty(_assertThisInitialized(_this), "onKeyDown", function(event) {
609
+ var _this$state13 = _this.state, activeKey = _this$state13.activeKey, expandedKeys = _this$state13.expandedKeys, checkedKeys = _this$state13.checkedKeys, fieldNames = _this$state13.fieldNames;
610
+ var _this$props10 = _this.props, onKeyDown = _this$props10.onKeyDown, checkable = _this$props10.checkable, selectable = _this$props10.selectable;
611
+ switch (event.which) {
612
+ case KeyCode.UP: {
613
+ _this.offsetActiveKey(-1);
614
+ event.preventDefault();
427
615
  break;
428
616
  }
429
- case $.DOWN: {
430
- e.offsetActiveKey(1), t.preventDefault();
617
+ case KeyCode.DOWN: {
618
+ _this.offsetActiveKey(1);
619
+ event.preventDefault();
431
620
  break;
432
621
  }
433
622
  }
434
- var i = e.getActiveItem();
435
- if (i && i.data) {
436
- var K = e.getTreeNodeRequiredProps(), y = i.data.isLeaf === !1 || !!(i.data[f.children] || []).length, v = T(S(S({}, B(o, K)), {}, {
437
- data: i.data,
438
- active: !0
623
+ var activeItem = _this.getActiveItem();
624
+ if (activeItem && activeItem.data) {
625
+ var treeNodeRequiredProps = _this.getTreeNodeRequiredProps();
626
+ var expandable = activeItem.data.isLeaf === false || !!(activeItem.data[fieldNames.children] || []).length;
627
+ var eventNode = convertNodePropsToEventData(_objectSpread2(_objectSpread2({}, getTreeNodeProps(activeKey, treeNodeRequiredProps)), {}, {
628
+ data: activeItem.data,
629
+ active: true
439
630
  }));
440
- switch (t.which) {
631
+ switch (event.which) {
441
632
  // >>> Expand
442
- case $.LEFT: {
443
- y && a.includes(o) ? e.onNodeExpand({}, v) : i.parent && e.onActiveChange(i.parent.key), t.preventDefault();
633
+ case KeyCode.LEFT: {
634
+ if (expandable && expandedKeys.includes(activeKey)) {
635
+ _this.onNodeExpand({}, eventNode);
636
+ } else if (activeItem.parent) {
637
+ _this.onActiveChange(activeItem.parent.key);
638
+ }
639
+ event.preventDefault();
444
640
  break;
445
641
  }
446
- case $.RIGHT: {
447
- y && !a.includes(o) ? e.onNodeExpand({}, v) : i.children && i.children.length && e.onActiveChange(i.children[0].key), t.preventDefault();
642
+ case KeyCode.RIGHT: {
643
+ if (expandable && !expandedKeys.includes(activeKey)) {
644
+ _this.onNodeExpand({}, eventNode);
645
+ } else if (activeItem.children && activeItem.children.length) {
646
+ _this.onActiveChange(activeItem.children[0].key);
647
+ }
648
+ event.preventDefault();
448
649
  break;
449
650
  }
450
651
  // Selection
451
- case $.ENTER:
452
- case $.SPACE: {
453
- g && !v.disabled && v.checkable !== !1 && !v.disableCheckbox ? e.onNodeCheck({}, v, !d.includes(o)) : !g && r && !v.disabled && v.selectable !== !1 && e.onNodeSelect({}, v);
652
+ case KeyCode.ENTER:
653
+ case KeyCode.SPACE: {
654
+ if (checkable && !eventNode.disabled && eventNode.checkable !== false && !eventNode.disableCheckbox) {
655
+ _this.onNodeCheck({}, eventNode, !checkedKeys.includes(activeKey));
656
+ } else if (!checkable && selectable && !eventNode.disabled && eventNode.selectable !== false) {
657
+ _this.onNodeSelect({}, eventNode);
658
+ }
454
659
  break;
455
660
  }
456
661
  }
457
662
  }
458
- u == null || u(t);
459
- }), c(p(e), "setUncontrolledState", function(t) {
460
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
461
- if (!e.destroyed) {
462
- var a = !1, d = !0, f = {};
463
- Object.keys(t).forEach(function(l) {
464
- if (e.props.hasOwnProperty(l)) {
465
- d = !1;
663
+ onKeyDown === null || onKeyDown === void 0 || onKeyDown(event);
664
+ });
665
+ _defineProperty(_assertThisInitialized(_this), "setUncontrolledState", function(state) {
666
+ var atomic = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
667
+ var forceState = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
668
+ if (!_this.destroyed) {
669
+ var needSync = false;
670
+ var allPassed = true;
671
+ var newState = {};
672
+ Object.keys(state).forEach(function(name) {
673
+ if (_this.props.hasOwnProperty(name)) {
674
+ allPassed = false;
466
675
  return;
467
676
  }
468
- a = !0, f[l] = t[l];
469
- }), a && (!n || d) && e.setState(S(S({}, f), o));
677
+ needSync = true;
678
+ newState[name] = state[name];
679
+ });
680
+ if (needSync && (!atomic || allPassed)) {
681
+ _this.setState(_objectSpread2(_objectSpread2({}, newState), forceState));
682
+ }
470
683
  }
471
- }), c(p(e), "scrollTo", function(t) {
472
- e.listRef.current.scrollTo(t);
473
- }), e;
684
+ });
685
+ _defineProperty(_assertThisInitialized(_this), "scrollTo", function(scroll) {
686
+ _this.listRef.current.scrollTo(scroll);
687
+ });
688
+ return _this;
474
689
  }
475
- return Ne(R, [{
690
+ _createClass(Tree2, [{
476
691
  key: "componentDidMount",
477
- value: function() {
478
- this.destroyed = !1, this.onUpdated();
692
+ value: function componentDidMount() {
693
+ this.destroyed = false;
694
+ this.onUpdated();
479
695
  }
480
696
  }, {
481
697
  key: "componentDidUpdate",
482
- value: function() {
698
+ value: function componentDidUpdate() {
483
699
  this.onUpdated();
484
700
  }
485
701
  }, {
486
702
  key: "onUpdated",
487
- value: function() {
488
- var s = this.props, D = s.activeKey, E = s.itemScrollOffset, t = E === void 0 ? 0 : E;
489
- D !== void 0 && D !== this.state.activeKey && (this.setState({
490
- activeKey: D
491
- }), D !== null && this.scrollTo({
492
- key: D,
493
- offset: t
494
- }));
703
+ value: function onUpdated() {
704
+ var _this$props11 = this.props, activeKey = _this$props11.activeKey, _this$props11$itemScr = _this$props11.itemScrollOffset, itemScrollOffset = _this$props11$itemScr === void 0 ? 0 : _this$props11$itemScr;
705
+ if (activeKey !== void 0 && activeKey !== this.state.activeKey) {
706
+ this.setState({
707
+ activeKey
708
+ });
709
+ if (activeKey !== null) {
710
+ this.scrollTo({
711
+ key: activeKey,
712
+ offset: itemScrollOffset
713
+ });
714
+ }
715
+ }
495
716
  }
496
717
  }, {
497
718
  key: "componentWillUnmount",
498
- value: function() {
499
- window.removeEventListener("dragend", this.onWindowDragEnd), this.destroyed = !0;
719
+ value: function componentWillUnmount() {
720
+ window.removeEventListener("dragend", this.onWindowDragEnd);
721
+ this.destroyed = true;
500
722
  }
501
723
  }, {
502
724
  key: "resetDragState",
503
- value: function() {
725
+ value: function resetDragState() {
504
726
  this.setState({
505
727
  dragOverNodeKey: null,
506
728
  dropPosition: null,
@@ -508,42 +730,53 @@ var $e = 10, Z = /* @__PURE__ */ function(H) {
508
730
  dropTargetKey: null,
509
731
  dropContainerKey: null,
510
732
  dropTargetPos: null,
511
- dropAllowed: !1
733
+ dropAllowed: false
512
734
  });
513
735
  }
514
736
  }, {
515
737
  key: "render",
516
- value: function() {
517
- var s = this.state, D = s.focused, E = s.flattenNodes, t = s.keyEntities, n = s.draggingNodeKey, o = s.activeKey, a = s.dropLevelOffset, d = s.dropContainerKey, f = s.dropTargetKey, l = s.dropPosition, u = s.dragOverNodeKey, g = s.indent, r = this.props, i = r.prefixCls, K = r.className, y = r.style, v = r.showLine, N = r.focusable, h = r.tabIndex, k = h === void 0 ? 0 : h, m = r.selectable, C = r.showIcon, x = r.icon, b = r.switcherIcon, P = r.draggable, A = r.checkable, w = r.checkStrictly, I = r.disabled, ee = r.motion, te = r.loadData, oe = r.filterTreeNode, ne = r.height, ae = r.itemHeight, re = r.scrollWidth, de = r.virtual, ie = r.titleRender, se = r.dropIndicatorRender, le = r.onContextMenu, ce = r.onScroll, fe = r.direction, ue = r.rootClassName, pe = r.rootStyle, ye = Ee(this.props, {
518
- aria: !0,
519
- data: !0
520
- }), U;
521
- P && (he(P) === "object" ? U = P : typeof P == "function" ? U = {
522
- nodeDraggable: P
523
- } : U = {});
524
- var ve = {
525
- prefixCls: i,
526
- selectable: m,
527
- showIcon: C,
528
- icon: x,
529
- switcherIcon: b,
530
- draggable: U,
531
- draggingNodeKey: n,
532
- checkable: A,
533
- checkStrictly: w,
534
- disabled: I,
535
- keyEntities: t,
536
- dropLevelOffset: a,
537
- dropContainerKey: d,
538
- dropTargetKey: f,
539
- dropPosition: l,
540
- dragOverNodeKey: u,
541
- indent: g,
542
- direction: fe,
543
- dropIndicatorRender: se,
544
- loadData: te,
545
- filterTreeNode: oe,
546
- titleRender: ie,
738
+ value: function render() {
739
+ var _this$state14 = this.state, focused = _this$state14.focused, flattenNodes = _this$state14.flattenNodes, keyEntities = _this$state14.keyEntities, draggingNodeKey = _this$state14.draggingNodeKey, activeKey = _this$state14.activeKey, dropLevelOffset = _this$state14.dropLevelOffset, dropContainerKey = _this$state14.dropContainerKey, dropTargetKey = _this$state14.dropTargetKey, dropPosition = _this$state14.dropPosition, dragOverNodeKey = _this$state14.dragOverNodeKey, indent = _this$state14.indent;
740
+ var _this$props12 = this.props, prefixCls = _this$props12.prefixCls, className = _this$props12.className, style = _this$props12.style, showLine = _this$props12.showLine, focusable = _this$props12.focusable, _this$props12$tabInde = _this$props12.tabIndex, tabIndex = _this$props12$tabInde === void 0 ? 0 : _this$props12$tabInde, selectable = _this$props12.selectable, showIcon = _this$props12.showIcon, icon = _this$props12.icon, switcherIcon = _this$props12.switcherIcon, draggable = _this$props12.draggable, checkable = _this$props12.checkable, checkStrictly = _this$props12.checkStrictly, disabled = _this$props12.disabled, motion = _this$props12.motion, loadData = _this$props12.loadData, filterTreeNode = _this$props12.filterTreeNode, height = _this$props12.height, itemHeight = _this$props12.itemHeight, scrollWidth = _this$props12.scrollWidth, virtual = _this$props12.virtual, titleRender = _this$props12.titleRender, dropIndicatorRender = _this$props12.dropIndicatorRender, onContextMenu = _this$props12.onContextMenu, onScroll = _this$props12.onScroll, direction = _this$props12.direction, rootClassName = _this$props12.rootClassName, rootStyle = _this$props12.rootStyle;
741
+ var domProps = pickAttrs(this.props, {
742
+ aria: true,
743
+ data: true
744
+ });
745
+ var draggableConfig;
746
+ if (draggable) {
747
+ if (_typeof(draggable) === "object") {
748
+ draggableConfig = draggable;
749
+ } else if (typeof draggable === "function") {
750
+ draggableConfig = {
751
+ nodeDraggable: draggable
752
+ };
753
+ } else {
754
+ draggableConfig = {};
755
+ }
756
+ }
757
+ var contextValue = {
758
+ prefixCls,
759
+ selectable,
760
+ showIcon,
761
+ icon,
762
+ switcherIcon,
763
+ draggable: draggableConfig,
764
+ draggingNodeKey,
765
+ checkable,
766
+ checkStrictly,
767
+ disabled,
768
+ keyEntities,
769
+ dropLevelOffset,
770
+ dropContainerKey,
771
+ dropTargetKey,
772
+ dropPosition,
773
+ dragOverNodeKey,
774
+ indent,
775
+ direction,
776
+ dropIndicatorRender,
777
+ loadData,
778
+ filterTreeNode,
779
+ titleRender,
547
780
  onNodeClick: this.onNodeClick,
548
781
  onNodeDoubleClick: this.onNodeDoubleClick,
549
782
  onNodeExpand: this.onNodeExpand,
@@ -560,27 +793,27 @@ var $e = 10, Z = /* @__PURE__ */ function(H) {
560
793
  onNodeDragEnd: this.onNodeDragEnd,
561
794
  onNodeDrop: this.onNodeDrop
562
795
  };
563
- return /* @__PURE__ */ _.createElement(Ce.Provider, {
564
- value: ve
565
- }, /* @__PURE__ */ _.createElement("div", {
566
- className: De(i, K, ue, c(c(c({}, "".concat(i, "-show-line"), v), "".concat(i, "-focused"), D), "".concat(i, "-active-focused"), o !== null)),
567
- style: pe
568
- }, /* @__PURE__ */ _.createElement(Pe, ge({
796
+ return /* @__PURE__ */ React.createElement(TreeContext.Provider, {
797
+ value: contextValue
798
+ }, /* @__PURE__ */ React.createElement("div", {
799
+ className: classNames(prefixCls, className, rootClassName, _defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-show-line"), showLine), "".concat(prefixCls, "-focused"), focused), "".concat(prefixCls, "-active-focused"), activeKey !== null)),
800
+ style: rootStyle
801
+ }, /* @__PURE__ */ React.createElement(NodeList, _extends({
569
802
  ref: this.listRef,
570
- prefixCls: i,
571
- style: y,
572
- data: E,
573
- disabled: I,
574
- selectable: m,
575
- checkable: !!A,
576
- motion: ee,
577
- dragging: n !== null,
578
- height: ne,
579
- itemHeight: ae,
580
- virtual: de,
581
- focusable: N,
582
- focused: D,
583
- tabIndex: k,
803
+ prefixCls,
804
+ style,
805
+ data: flattenNodes,
806
+ disabled,
807
+ selectable,
808
+ checkable: !!checkable,
809
+ motion,
810
+ dragging: draggingNodeKey !== null,
811
+ height,
812
+ itemHeight,
813
+ virtual,
814
+ focusable,
815
+ focused,
816
+ tabIndex,
584
817
  activeItem: this.getActiveItem(),
585
818
  onFocus: this.onFocus,
586
819
  onBlur: this.onBlur,
@@ -588,85 +821,128 @@ var $e = 10, Z = /* @__PURE__ */ function(H) {
588
821
  onActiveChange: this.onActiveChange,
589
822
  onListChangeStart: this.onListChangeStart,
590
823
  onListChangeEnd: this.onListChangeEnd,
591
- onContextMenu: le,
592
- onScroll: ce,
593
- scrollWidth: re
594
- }, this.getTreeNodeRequiredProps(), ye))));
824
+ onContextMenu,
825
+ onScroll,
826
+ scrollWidth
827
+ }, this.getTreeNodeRequiredProps(), domProps))));
595
828
  }
596
829
  }], [{
597
830
  key: "getDerivedStateFromProps",
598
- value: function(s, D) {
599
- var E = D.prevProps, t = {
600
- prevProps: s
831
+ value: function getDerivedStateFromProps(props, prevState) {
832
+ var prevProps = prevState.prevProps;
833
+ var newState = {
834
+ prevProps: props
601
835
  };
602
- function n(k) {
603
- return !E && s.hasOwnProperty(k) || E && E[k] !== s[k];
604
- }
605
- var o, a = D.fieldNames;
606
- if (n("fieldNames") && (a = Q(s.fieldNames), t.fieldNames = a), n("treeData") ? o = s.treeData : n("children") && (W(!1, "`children` of Tree is deprecated. Please use `treeData` instead."), o = Oe(s.children)), o) {
607
- t.treeData = o;
608
- var d = Le(o, {
609
- fieldNames: a
836
+ function needSync(name) {
837
+ return !prevProps && props.hasOwnProperty(name) || prevProps && prevProps[name] !== props[name];
838
+ }
839
+ var treeData;
840
+ var fieldNames = prevState.fieldNames;
841
+ if (needSync("fieldNames")) {
842
+ fieldNames = fillFieldNames(props.fieldNames);
843
+ newState.fieldNames = fieldNames;
844
+ }
845
+ if (needSync("treeData")) {
846
+ treeData = props.treeData;
847
+ } else if (needSync("children")) {
848
+ warningOnce(false, "`children` of Tree is deprecated. Please use `treeData` instead.");
849
+ treeData = convertTreeToData(props.children);
850
+ }
851
+ if (treeData) {
852
+ newState.treeData = treeData;
853
+ var entitiesMap = convertDataToEntities(treeData, {
854
+ fieldNames
610
855
  });
611
- t.keyEntities = S(c({}, V, Se), d.keyEntities), process.env.NODE_ENV !== "production" && Ae(o, a);
612
- }
613
- var f = t.keyEntities || D.keyEntities;
614
- if (n("expandedKeys") || E && n("autoExpandParent"))
615
- t.expandedKeys = s.autoExpandParent || !E && s.defaultExpandParent ? z(s.expandedKeys, f) : s.expandedKeys;
616
- else if (!E && s.defaultExpandAll) {
617
- var l = S({}, f);
618
- delete l[V];
619
- var u = [];
620
- Object.keys(l).forEach(function(k) {
621
- var m = l[k];
622
- m.children && m.children.length && u.push(m.key);
623
- }), t.expandedKeys = u;
624
- } else !E && s.defaultExpandedKeys && (t.expandedKeys = s.autoExpandParent || s.defaultExpandParent ? z(s.defaultExpandedKeys, f) : s.defaultExpandedKeys);
625
- if (t.expandedKeys || delete t.expandedKeys, o || t.expandedKeys) {
626
- var g = q(o || D.treeData, t.expandedKeys || D.expandedKeys, a);
627
- t.flattenNodes = g;
628
- }
629
- if (s.selectable && (n("selectedKeys") ? t.selectedKeys = J(s.selectedKeys, s) : !E && s.defaultSelectedKeys && (t.selectedKeys = J(s.defaultSelectedKeys, s))), s.checkable) {
630
- var r;
631
- if (n("checkedKeys") ? r = F(s.checkedKeys) || {} : !E && s.defaultCheckedKeys ? r = F(s.defaultCheckedKeys) || {} : o && (r = F(s.checkedKeys) || {
632
- checkedKeys: D.checkedKeys,
633
- halfCheckedKeys: D.halfCheckedKeys
634
- }), r) {
635
- var i = r, K = i.checkedKeys, y = K === void 0 ? [] : K, v = i.halfCheckedKeys, N = v === void 0 ? [] : v;
636
- if (!s.checkStrictly) {
637
- var h = j(y, !0, f);
638
- y = h.checkedKeys, N = h.halfCheckedKeys;
856
+ newState.keyEntities = _objectSpread2(_defineProperty({}, MOTION_KEY, MotionEntity), entitiesMap.keyEntities);
857
+ if (process.env.NODE_ENV !== "production") {
858
+ warningWithoutKey(treeData, fieldNames);
859
+ }
860
+ }
861
+ var keyEntities = newState.keyEntities || prevState.keyEntities;
862
+ if (needSync("expandedKeys") || prevProps && needSync("autoExpandParent")) {
863
+ newState.expandedKeys = props.autoExpandParent || !prevProps && props.defaultExpandParent ? conductExpandParent(props.expandedKeys, keyEntities) : props.expandedKeys;
864
+ } else if (!prevProps && props.defaultExpandAll) {
865
+ var cloneKeyEntities = _objectSpread2({}, keyEntities);
866
+ delete cloneKeyEntities[MOTION_KEY];
867
+ var nextExpandedKeys = [];
868
+ Object.keys(cloneKeyEntities).forEach(function(key) {
869
+ var entity = cloneKeyEntities[key];
870
+ if (entity.children && entity.children.length) {
871
+ nextExpandedKeys.push(entity.key);
639
872
  }
640
- t.checkedKeys = y, t.halfCheckedKeys = N;
873
+ });
874
+ newState.expandedKeys = nextExpandedKeys;
875
+ } else if (!prevProps && props.defaultExpandedKeys) {
876
+ newState.expandedKeys = props.autoExpandParent || props.defaultExpandParent ? conductExpandParent(props.defaultExpandedKeys, keyEntities) : props.defaultExpandedKeys;
877
+ }
878
+ if (!newState.expandedKeys) {
879
+ delete newState.expandedKeys;
880
+ }
881
+ if (treeData || newState.expandedKeys) {
882
+ var flattenNodes = flattenTreeData(treeData || prevState.treeData, newState.expandedKeys || prevState.expandedKeys, fieldNames);
883
+ newState.flattenNodes = flattenNodes;
884
+ }
885
+ if (props.selectable) {
886
+ if (needSync("selectedKeys")) {
887
+ newState.selectedKeys = calcSelectedKeys(props.selectedKeys, props);
888
+ } else if (!prevProps && props.defaultSelectedKeys) {
889
+ newState.selectedKeys = calcSelectedKeys(props.defaultSelectedKeys, props);
641
890
  }
642
891
  }
643
- return n("loadedKeys") && (t.loadedKeys = s.loadedKeys), t;
892
+ if (props.checkable) {
893
+ var checkedKeyEntity;
894
+ if (needSync("checkedKeys")) {
895
+ checkedKeyEntity = parseCheckedKeys(props.checkedKeys) || {};
896
+ } else if (!prevProps && props.defaultCheckedKeys) {
897
+ checkedKeyEntity = parseCheckedKeys(props.defaultCheckedKeys) || {};
898
+ } else if (treeData) {
899
+ checkedKeyEntity = parseCheckedKeys(props.checkedKeys) || {
900
+ checkedKeys: prevState.checkedKeys,
901
+ halfCheckedKeys: prevState.halfCheckedKeys
902
+ };
903
+ }
904
+ if (checkedKeyEntity) {
905
+ var _checkedKeyEntity = checkedKeyEntity, _checkedKeyEntity$che = _checkedKeyEntity.checkedKeys, checkedKeys = _checkedKeyEntity$che === void 0 ? [] : _checkedKeyEntity$che, _checkedKeyEntity$hal = _checkedKeyEntity.halfCheckedKeys, halfCheckedKeys = _checkedKeyEntity$hal === void 0 ? [] : _checkedKeyEntity$hal;
906
+ if (!props.checkStrictly) {
907
+ var conductKeys = conductCheck(checkedKeys, true, keyEntities);
908
+ checkedKeys = conductKeys.checkedKeys;
909
+ halfCheckedKeys = conductKeys.halfCheckedKeys;
910
+ }
911
+ newState.checkedKeys = checkedKeys;
912
+ newState.halfCheckedKeys = halfCheckedKeys;
913
+ }
914
+ }
915
+ if (needSync("loadedKeys")) {
916
+ newState.loadedKeys = props.loadedKeys;
917
+ }
918
+ return newState;
644
919
  }
645
- }]), R;
646
- }(_.Component);
647
- c(Z, "defaultProps", {
920
+ }]);
921
+ return Tree2;
922
+ }(React.Component);
923
+ _defineProperty(Tree, "defaultProps", {
648
924
  prefixCls: "rc-tree",
649
- showLine: !1,
650
- showIcon: !0,
651
- selectable: !0,
652
- multiple: !1,
653
- checkable: !1,
654
- disabled: !1,
655
- checkStrictly: !1,
656
- draggable: !1,
657
- defaultExpandParent: !0,
658
- autoExpandParent: !1,
659
- defaultExpandAll: !1,
925
+ showLine: false,
926
+ showIcon: true,
927
+ selectable: true,
928
+ multiple: false,
929
+ checkable: false,
930
+ disabled: false,
931
+ checkStrictly: false,
932
+ draggable: false,
933
+ defaultExpandParent: true,
934
+ autoExpandParent: false,
935
+ defaultExpandAll: false,
660
936
  defaultExpandedKeys: [],
661
937
  defaultCheckedKeys: [],
662
938
  defaultSelectedKeys: [],
663
- dropIndicatorRender: xe,
664
- allowDrop: function() {
665
- return !0;
939
+ dropIndicatorRender: DropIndicator,
940
+ allowDrop: function allowDrop() {
941
+ return true;
666
942
  },
667
- expandAction: !1
943
+ expandAction: false
668
944
  });
669
- c(Z, "TreeNode", Te);
945
+ _defineProperty(Tree, "TreeNode", TreeNode);
670
946
  export {
671
- Z as default
947
+ Tree as default
672
948
  };