@gobolt/genesis 0.1.5 → 0.2.0

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 (685) hide show
  1. package/README.md +6 -8
  2. package/dist/AntdIcon-DH0CLM1Y.cjs +58 -0
  3. package/dist/CSSMotionList-BkQaDrZL.cjs +54 -0
  4. package/dist/CSSMotionList-Bnxp3McO.js +3043 -0
  5. package/dist/CheckCircleFilled-CjHdYIbm.cjs +1 -0
  6. package/dist/CheckOutlined-zCdr5BJm.cjs +1 -0
  7. package/dist/ClockCircleOutlined-5UFb32Vd.cjs +1 -0
  8. package/dist/CloseCircleFilled-DTf4XAEx.cjs +1 -0
  9. package/dist/CloseOutlined-Bdhtz5G6.cjs +1 -0
  10. package/dist/{Compact-DFcWZrNo.js → Compact-DLyEiUiM.js} +4 -4
  11. package/dist/Compact-DbbroFuI.cjs +1 -0
  12. package/dist/Context-C1u4yclk.cjs +1 -0
  13. package/dist/ContextIsolator-CoEIkMNv.cjs +1 -0
  14. package/dist/{ContextIsolator-CUJnq-4F.js → ContextIsolator-DmNIEQ4a.js} +2 -2
  15. package/dist/{DownOutlined-Bv7ua5i8.js → DownOutlined-B6sv2Wz7.js} +5 -5
  16. package/dist/DownOutlined-BQeYXxEW.cjs +4 -0
  17. package/dist/EllipsisOutlined-41dQ6mc7.cjs +1 -0
  18. package/dist/{EllipsisOutlined-BodkguEc.js → EllipsisOutlined-p42n6YT6.js} +62 -61
  19. package/dist/ExclamationCircleFilled-CKIE3287.cjs +1 -0
  20. package/dist/{Input--qsU-6vp.js → Input-BQWrpo9X.js} +10 -10
  21. package/dist/Input-DR_AoU5d.cjs +1 -0
  22. package/dist/KeyCode-CIq7HTTY.cjs +1 -0
  23. package/dist/Keyframes-CLS7wZIp.cjs +1 -0
  24. package/dist/{Keyframes-CyO2Aeq-.js → Keyframes-DIF9LGg-.js} +1 -1
  25. package/dist/LoadingOutlined-ByLc1sSe.cjs +1 -0
  26. package/dist/MinusCircleOutlined-d1WYK6RE.cjs +1 -0
  27. package/dist/{Overflow-CVbsx7Gn.js → Overflow-BjFvsSs4.js} +60 -59
  28. package/dist/Overflow-Bthkof3a.cjs +4 -0
  29. package/dist/SearchOutlined-BzV3qXvi.cjs +1 -0
  30. package/dist/{Skeleton-CudViN0a.js → Skeleton-CUGMlCIU.js} +3 -3
  31. package/dist/Skeleton-DJMABrvW.cjs +8 -0
  32. package/dist/TextArea-B8UHj7uQ.cjs +15 -0
  33. package/dist/{TextArea-CHo3cxKw.js → TextArea-FhT_niDe.js} +11 -11
  34. package/dist/{Typography-B2J8CPnt.js → Typography-BKm8uXM1.js} +52 -50
  35. package/dist/Typography-DCxwDJFP.cjs +10 -0
  36. package/dist/_baseIsEqual-DnZ6AoVd.cjs +1 -0
  37. package/dist/_commonjsHelpers-BTDuMlIz.cjs +1 -0
  38. package/dist/asyncToGenerator-Dr7BhN2C.cjs +1 -0
  39. package/dist/{button-CYVlK7G0.js → button-CvcGKj7O.js} +31 -31
  40. package/dist/button-vyLzOdPi.cjs +1 -0
  41. package/dist/collapse-DNCMuTyD.cjs +3 -0
  42. package/dist/compact-item-B2FiQh6y.cjs +1 -0
  43. package/dist/components/Avatar/Avatar.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  44. package/dist/components/Avatar/__tests__/Avatar.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  45. package/dist/components/Avatar/index.cjs.js +1 -0
  46. package/dist/components/Avatar/index.es.js +4 -0
  47. package/dist/components/Avatar/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
  48. package/dist/components/Avatar/styles.d.ts +1 -12
  49. package/dist/components/Badge/Badge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  50. package/dist/components/Badge/Badge.d.ts +4 -1
  51. package/dist/components/Badge/__stories__/Badge.stories.d.ts +1 -0
  52. package/dist/components/Badge/__tests__/Badge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  53. package/dist/components/Badge/index.cjs.js +1 -0
  54. package/dist/components/Badge/index.es.js +4 -0
  55. package/dist/components/Badge/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +10 -14
  56. package/dist/components/Badge/styles.d.ts +1 -8
  57. package/dist/components/Breadcrumb/Breadcrumb.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  58. package/dist/components/Breadcrumb/Breadcrumb.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  59. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  60. package/dist/components/Breadcrumb/index.cjs.js +1 -0
  61. package/dist/components/Breadcrumb/index.es.js +4 -0
  62. package/dist/components/Breadcrumb/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +60 -0
  63. package/dist/components/Breadcrumb/styles.d.ts +2 -23
  64. package/dist/components/Button/Button.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  65. package/dist/components/Button/Button.d.ts +4 -3
  66. package/dist/components/Button/IconButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  67. package/dist/components/Button/IconButton.d.ts +8 -0
  68. package/dist/components/Button/UtilityButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  69. package/dist/components/Button/UtilityButton.d.ts +5 -0
  70. package/dist/components/Button/__stories__/Button.stories.d.ts +0 -4
  71. package/dist/components/Button/__stories__/IconButton.stories.d.ts +8 -0
  72. package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +8 -0
  73. package/dist/components/Button/__tests__/Button.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  74. package/dist/components/Button/icon-button-styles.[format === /"es/" ? /"js/" : /"cjs/"]" +61 -0
  75. package/dist/components/Button/icon-button-styles.d.ts +1 -0
  76. package/dist/components/Button/index.cjs.js +1 -0
  77. package/dist/components/Button/index.d.ts +4 -0
  78. package/dist/components/Button/index.es.js +8 -0
  79. package/dist/components/Button/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +66 -0
  80. package/dist/components/Button/styles.d.ts +1 -15
  81. package/dist/components/Card/Card.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  82. package/dist/components/Card/__tests__/Card.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  83. package/dist/components/Card/index.cjs.js +1 -0
  84. package/dist/components/Card/index.es.js +4 -0
  85. package/dist/components/Card/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  86. package/dist/components/Card/styles.d.ts +1 -10
  87. package/dist/components/Checkbox/Checkbox.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  88. package/dist/components/Checkbox/__tests__/Checkbox.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  89. package/dist/components/Checkbox/index.cjs.js +1 -0
  90. package/dist/components/Checkbox/index.es.js +4 -0
  91. package/dist/components/Checkbox/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +17 -23
  92. package/dist/components/Checkbox/styles.d.ts +2 -7
  93. package/dist/components/Dashboard/Dashboard.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  94. package/dist/components/Dashboard/__mocks__/dashboard-data.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  95. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  96. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  97. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  98. package/dist/components/Dashboard/__stories__/charts/LineChart.[format === /"es/" ? /"js/" : /"cjs/"]" +2 -0
  99. package/dist/components/Dashboard/__tests__/Dashboard.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  100. package/dist/components/Dashboard/index.cjs.js +1 -0
  101. package/dist/components/Dashboard/index.es.js +4 -0
  102. package/dist/components/Dashboard/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  103. package/dist/components/Dashboard/styles.d.ts +1 -8
  104. package/dist/components/DatePicker/DatePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  105. package/dist/components/DatePicker/__tests__/DatePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  106. package/dist/components/DatePicker/index.cjs.js +1 -0
  107. package/dist/components/DatePicker/index.es.js +4 -0
  108. package/dist/components/DateRangePicker/DateRangePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  109. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  110. package/dist/components/DateRangePicker/index.cjs.js +1 -0
  111. package/dist/components/DateRangePicker/index.es.js +4 -0
  112. package/dist/components/ErrorBoundary/ErrorBoundary.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  113. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  114. package/dist/components/ErrorBoundary/index.cjs.js +1 -0
  115. package/dist/components/ErrorBoundary/index.es.js +4 -0
  116. package/dist/components/ErrorBoundary/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  117. package/dist/components/ErrorBoundary/styles.d.ts +1 -8
  118. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  119. package/dist/components/ErrorBoundaryFallback/index.cjs.js +1 -0
  120. package/dist/components/ErrorBoundaryFallback/index.es.js +4 -0
  121. package/dist/components/ErrorBoundaryFallback/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
  122. package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
  123. package/dist/components/Form/Form.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  124. package/dist/components/Form/__stories__/FormStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  125. package/dist/components/Form/__tests__/form.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  126. package/dist/components/Form/index.cjs.js +1 -0
  127. package/dist/components/Form/index.es.js +4 -0
  128. package/dist/components/Form/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  129. package/dist/components/Glyph/Glyph.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  130. package/dist/components/Glyph/index.cjs.js +1 -0
  131. package/dist/components/Glyph/index.es.js +4 -0
  132. package/dist/components/Glyph/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  133. package/dist/components/Glyph/styles.d.ts +1 -8
  134. package/dist/components/Input/Input.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  135. package/dist/components/Input/Input.d.ts +3 -2
  136. package/dist/components/Input/__stories__/Input.stories.d.ts +1 -0
  137. package/dist/components/Input/__tests__/Input.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  138. package/dist/components/Input/index.cjs.js +1 -0
  139. package/dist/components/Input/index.es.js +4 -0
  140. package/dist/components/Input/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  141. package/dist/components/Input/styles.d.ts +1 -15
  142. package/dist/components/Layout/Content/Content.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  143. package/dist/components/Layout/Content/ResponsiveContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  144. package/dist/components/Layout/Content/index.cjs.js +1 -0
  145. package/dist/components/Layout/Content/index.es.js +4 -0
  146. package/dist/components/Layout/Content/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
  147. package/dist/components/Layout/Content/styles.d.ts +1 -7
  148. package/dist/components/Layout/Layout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  149. package/dist/components/Layout/MainLayout/MainLayout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  150. package/dist/components/Layout/MainLayout/index.cjs.js +1 -0
  151. package/dist/components/Layout/MainLayout/index.es.js +4 -0
  152. package/dist/components/Layout/MainLayout/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +62 -0
  153. package/dist/components/Layout/MainLayout/styles.d.ts +4 -4
  154. package/dist/components/Layout/__tests__/Layout.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  155. package/dist/components/Layout/index.cjs.js +1 -0
  156. package/dist/components/Layout/index.es.js +4 -0
  157. package/dist/components/Message/Message.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  158. package/dist/components/Message/__tests__/Message.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  159. package/dist/components/Message/index.cjs.js +1 -0
  160. package/dist/components/Message/index.es.js +4 -0
  161. package/dist/components/Message/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
  162. package/dist/components/Message/styles.d.ts +3 -9
  163. package/dist/components/Notification/Notification.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  164. package/dist/components/Notification/NotificationBadge/NotificationBadge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  165. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  166. package/dist/components/Notification/NotificationBadge/icons/ASN.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  167. package/dist/components/Notification/NotificationBadge/icons/Appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  168. package/dist/components/Notification/NotificationBadge/icons/Inventory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  169. package/dist/components/Notification/NotificationBadge/icons/Parcel.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  170. package/dist/components/Notification/NotificationBadge/icons/Product.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  171. package/dist/components/Notification/NotificationBadge/icons/Route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  172. package/dist/components/Notification/NotificationBadge/icons/Shipment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  173. package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  174. package/dist/components/Notification/NotificationBadge/icons/System.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  175. package/dist/components/Notification/NotificationBadge/index.cjs.js +1 -0
  176. package/dist/components/Notification/NotificationBadge/index.es.js +4 -0
  177. package/dist/components/Notification/NotificationBadge/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +28 -0
  178. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
  179. package/dist/components/Notification/NotificationRightChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  180. package/dist/components/Notification/__tests__/Notification.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  181. package/dist/components/Notification/index.cjs.js +1 -0
  182. package/dist/components/Notification/index.es.js +4 -0
  183. package/dist/components/Notification/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +56 -0
  184. package/dist/components/Notification/styles.d.ts +5 -16
  185. package/dist/components/Popover/Popover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  186. package/dist/components/Popover/__tests__/Popover.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  187. package/dist/components/Popover/index.cjs.js +1 -0
  188. package/dist/components/Popover/index.es.js +4 -0
  189. package/dist/components/Popover/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  190. package/dist/components/Popover/styles.d.ts +1 -13
  191. package/dist/components/Progress/Progress.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  192. package/dist/components/Progress/Progress.util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  193. package/dist/components/Progress/ProgressText.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  194. package/dist/components/Progress/__tests__/Progress.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  195. package/dist/components/Progress/index.cjs.js +1 -0
  196. package/dist/components/Progress/index.es.js +4 -0
  197. package/dist/components/Progress/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
  198. package/dist/components/Progress/styles.d.ts +1 -13
  199. package/dist/components/Radio/Radio.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  200. package/dist/components/Radio/Radio.d.ts +1 -4
  201. package/dist/components/Radio/RadioGroup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  202. package/dist/components/Radio/__tests__/RadioGroup.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  203. package/dist/components/Radio/index.cjs.js +1 -0
  204. package/dist/components/Radio/index.es.js +4 -0
  205. package/dist/components/Radio/states/RadioChecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  206. package/dist/components/Radio/states/RadioCheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  207. package/dist/components/Radio/states/RadioCheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  208. package/dist/components/Radio/states/RadioCheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  209. package/dist/components/Radio/states/RadioUnchecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  210. package/dist/components/Radio/states/RadioUncheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  211. package/dist/components/Radio/states/RadioUncheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  212. package/dist/components/Radio/states/RadioUncheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  213. package/dist/components/Row/Row.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  214. package/dist/components/Row/RowActions/RowActions.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  215. package/dist/components/Row/RowActions/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -9
  216. package/dist/components/Row/RowActions/styles.d.ts +2 -2
  217. package/dist/components/Row/RowLabelValue/RowLabelValue.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  218. package/dist/components/Row/RowLabelValue/RowSkeleton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  219. package/dist/components/Row/RowLabelValue/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +18 -0
  220. package/dist/components/Row/RowLabelValue/styles.d.ts +2 -12
  221. package/dist/components/Row/__tests__/Row.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  222. package/dist/components/Row/index.cjs.js +1 -0
  223. package/dist/components/Row/index.es.js +4 -0
  224. package/dist/components/Row/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +10 -0
  225. package/dist/components/Row/styles.d.ts +1 -9
  226. package/dist/components/SegmentedControls/SegmentedControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  227. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  228. package/dist/components/SegmentedControls/index.cjs.js +1 -0
  229. package/dist/components/SegmentedControls/index.es.js +4 -0
  230. package/dist/components/SegmentedControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +22 -0
  231. package/dist/components/SegmentedControls/styles.d.ts +1 -9
  232. package/dist/components/Select/DropdownChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  233. package/dist/components/Select/Select.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  234. package/dist/components/Select/Select.d.ts +5 -2
  235. package/dist/components/Select/__stories__/Select.stories.d.ts +1 -0
  236. package/dist/components/Select/__tests__/Select.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  237. package/dist/components/Select/index.cjs.js +1 -0
  238. package/dist/components/Select/index.es.js +4 -0
  239. package/dist/components/Select/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +129 -0
  240. package/dist/components/Select/styles.d.ts +5 -21
  241. package/dist/components/Shapes/Shapes.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  242. package/dist/components/Shapes/__tests__/Shapes.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  243. package/dist/components/Shapes/index.cjs.js +1 -0
  244. package/dist/components/Shapes/index.es.js +4 -0
  245. package/dist/components/Shapes/variants/Circle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  246. package/dist/components/Shapes/variants/Rectangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  247. package/dist/components/Shapes/variants/Triangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  248. package/dist/components/Switch/Switch.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  249. package/dist/components/Switch/__stories__/Switch.stories.d.ts +2 -1
  250. package/dist/components/Switch/__tests__/Switch.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  251. package/dist/components/Switch/index.cjs.js +1 -0
  252. package/dist/components/Switch/index.es.js +4 -0
  253. package/dist/components/Switch/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +58 -0
  254. package/dist/components/Switch/styles.d.ts +1 -7
  255. package/dist/components/Table/Table.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  256. package/dist/components/Table/Table.d.ts +40 -11
  257. package/dist/components/Table/TableControls/PrimaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  258. package/dist/components/Table/TableControls/PrimaryTableControls.d.ts +15 -0
  259. package/dist/components/Table/TableControls/SecondaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  260. package/dist/components/Table/TableControls/SecondaryTableControls.d.ts +10 -0
  261. package/dist/components/Table/TableControls/TableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  262. package/dist/components/Table/TableControls/TableControls.d.ts +8 -0
  263. package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +6 -0
  264. package/dist/components/Table/TableControls/__tests__/TableControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  265. package/dist/components/Table/TableControls/index.cjs.js +1 -0
  266. package/dist/components/Table/TableControls/index.d.ts +2 -0
  267. package/dist/components/Table/TableControls/index.es.js +4 -0
  268. package/dist/components/Table/TableControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  269. package/dist/components/Table/TableControls/styles.d.ts +6 -0
  270. package/dist/components/Table/TableWithControls/TableWithControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  271. package/dist/components/Table/TableWithControls/TableWithControls.d.ts +12 -0
  272. package/dist/components/Table/TableWithControls/__stories__/TableWithControls.stories.d.ts +6 -0
  273. package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  274. package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.d.ts +1 -0
  275. package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  276. package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.d.ts +1 -0
  277. package/dist/components/Table/TableWithControls/index.cjs.js +1 -0
  278. package/dist/components/Table/TableWithControls/index.d.ts +2 -0
  279. package/dist/components/Table/TableWithControls/index.es.js +4 -0
  280. package/dist/components/Table/__mocks__/table-mocks.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  281. package/dist/components/Table/__mocks__/table-mocks.d.ts +2 -1
  282. package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +3 -0
  283. package/dist/components/Table/__stories__/Table.stories.d.ts +3 -1
  284. package/dist/components/Table/__stories__/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  285. package/dist/components/Table/__stories__/use-table-hook.d.ts +9 -0
  286. package/dist/components/Table/__tests__/Table.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  287. package/dist/components/Table/index.cjs.js +1 -0
  288. package/dist/components/Table/index.es.js +4 -0
  289. package/dist/components/Table/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  290. package/dist/components/Table/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  291. package/dist/components/Table/use-table-hook.d.ts +23 -0
  292. package/dist/components/Tabs/Tabs.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  293. package/dist/components/Tabs/__tests__/Tabs.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  294. package/dist/components/Tabs/index.cjs.js +1 -0
  295. package/dist/components/Tabs/index.es.js +4 -0
  296. package/dist/components/Tabs/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -10
  297. package/dist/components/Tabs/styles.d.ts +1 -9
  298. package/dist/components/Tile/Tile.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  299. package/dist/components/Tile/__tests__/Tile.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  300. package/dist/components/Tile/index.cjs.js +1 -0
  301. package/dist/components/Tile/index.es.js +4 -0
  302. package/dist/components/Tile/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
  303. package/dist/components/Tile/styles.d.ts +1 -7
  304. package/dist/components/Toast/Toast.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  305. package/dist/components/Toast/__tests__/Toast.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  306. package/dist/components/Toast/index.cjs.js +1 -0
  307. package/dist/components/Toast/index.es.js +4 -0
  308. package/dist/components/Toast/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
  309. package/dist/components/Toast/styles.d.ts +3 -9
  310. package/dist/components/Tooltip/Tooltip.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  311. package/dist/components/Tooltip/__tests__/Tooltip.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  312. package/dist/components/Tooltip/index.cjs.js +1 -0
  313. package/dist/components/Tooltip/index.es.js +4 -0
  314. package/dist/components/Tooltip/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +5 -0
  315. package/dist/components/Tooltip/styles.d.ts +1 -14
  316. package/dist/components/Typography/Typography.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  317. package/dist/components/Typography/Typography.d.ts +1 -2
  318. package/dist/components/Typography/__tests__/Typography.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  319. package/dist/components/Typography/index.cjs.js +1 -0
  320. package/dist/components/Typography/index.es.js +4 -0
  321. package/dist/components/Typography/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +29 -0
  322. package/dist/components/Typography/styles.d.ts +3 -21
  323. package/dist/components/index.cjs.js +1 -0
  324. package/dist/components/index.d.cjs.js +1 -0
  325. package/dist/components/index.d.ts +4 -0
  326. package/dist/components/index.es.js +62 -0
  327. package/dist/constants/index.cjs.js +1 -0
  328. package/dist/constants/index.d.ts +2 -0
  329. package/dist/constants/{index.js → index.es.js} +14 -13
  330. package/dist/{context-CQfFkrkv.js → context-CTca8gjn.js} +3 -3
  331. package/dist/context-DdubDZbV.cjs +1 -0
  332. package/dist/declaration.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  333. package/dist/{dropdown-BlRB2LxQ.js → dropdown-CZHhUAdC.js} +13 -13
  334. package/dist/dropdown-DDY5X1Q0.cjs +27 -0
  335. package/dist/generateCategoricalChart-Dcyk3onh.cjs +90 -0
  336. package/dist/genesis/GenesisThemeBreakdown.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  337. package/dist/genesis/GenesisThemeDemo.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  338. package/dist/genesis/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +3 -10
  339. package/dist/genesis/styles.d.ts +2 -11
  340. package/dist/iconBase-C4boY5mo.cjs +1 -0
  341. package/dist/index-B2Z5NSa0.cjs +4 -0
  342. package/dist/{index-DRGbc-fW.js → index-B56O6LEG.js} +38 -37
  343. package/dist/index-B6nsE0F_.cjs +16 -0
  344. package/dist/index-BD5op9DA.cjs +6 -0
  345. package/dist/{index-BZ050Dyl.js → index-BJgt3NQN.js} +7 -7
  346. package/dist/index-Bj0GOR4e.cjs +1 -0
  347. package/dist/index-Bml8d_Df.cjs +15 -0
  348. package/dist/index-CNA8GQQR.cjs +1 -0
  349. package/dist/index-CSLsxIxR.cjs +1 -0
  350. package/dist/index-CUpwy6fl.cjs +24 -0
  351. package/dist/{index-CzMIlMTV.js → index-CXee0v2G.js} +2 -2
  352. package/dist/{index-C2K1BzmJ.js → index-CYbLY3uE.js} +22 -21
  353. package/dist/{index-DCopujxC.js → index-Ce7BgA_I.js} +32 -32
  354. package/dist/index-Cft4ZDoE.cjs +1 -0
  355. package/dist/{index-Br3D3cFM.js → index-CkrCy-wr.js} +49 -48
  356. package/dist/index-CmiuhnsO.js +11 -0
  357. package/dist/{index-RtWhGOwR.js → index-CsSLy_ri.js} +9 -9
  358. package/dist/{index-Bxbr727t.js → index-D0AjEeN2.js} +1 -1
  359. package/dist/{index-B7FXyiY_.js → index-D76Ewoqp.js} +4 -4
  360. package/dist/{index-BHCqeC4j.js → index-D9i74AKg.js} +11 -11
  361. package/dist/{index-DavB5GQ3.js → index-DAtTGIsZ.js} +19 -19
  362. package/dist/{index-Y0KgiFZb.js → index-DJcvYBdb.js} +9 -9
  363. package/dist/index-DLI4yl_y.cjs +22 -0
  364. package/dist/index-DPPQ1GIl.cjs +10 -0
  365. package/dist/index-DV4cHHkU.cjs +1 -0
  366. package/dist/index-DY6qmEFc.js +23 -0
  367. package/dist/index-DdF9CYRQ.cjs +1 -0
  368. package/dist/index-Dwe6wwhx.cjs +7 -0
  369. package/dist/{index-sX7KZ-nU.js → index-FDGutzXP.js} +42 -42
  370. package/dist/{index-RAH9f-qb.js → index-emugciTm.js} +6 -6
  371. package/dist/index-x6LPvHOw.cjs +17 -0
  372. package/dist/index-zDIwuuqH.cjs +3 -0
  373. package/dist/index.cjs.js +1 -0
  374. package/dist/index.es.js +69 -0
  375. package/dist/interface/address.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  376. package/dist/interface/appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  377. package/dist/interface/appointmentV2.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  378. package/dist/interface/appointmentsState.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  379. package/dist/interface/common.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  380. package/dist/interface/completionData.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  381. package/dist/interface/deliveryPartner.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  382. package/dist/interface/organization.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  383. package/dist/interface/pagination.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  384. package/dist/interface/roles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  385. package/dist/interface/route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  386. package/dist/interface/routeAnalysis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  387. package/dist/interface/routeAutomationJob.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  388. package/dist/interface/routeAutomationLog.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  389. package/dist/interface/routeEvent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  390. package/dist/interface/serviceArea.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  391. package/dist/interface/util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  392. package/dist/interface/vehicle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  393. package/dist/interface/workOrder.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  394. package/dist/isVisible-BNxwNfFH.cjs +1 -0
  395. package/dist/magic-string.es-BMxHbF2i.cjs +10 -0
  396. package/dist/motion-B_a-We1F.cjs +1 -0
  397. package/dist/{motion-C-XpKcZG.js → motion-Tyjtqn8t.js} +2 -2
  398. package/dist/omit-BrHx-Kj7.cjs +1 -0
  399. package/dist/pickAttrs-BUFdQiVt.cjs +18 -0
  400. package/dist/presetColors-DyrVjOJc.cjs +1 -0
  401. package/dist/presets-CCbttGCy.cjs +6 -0
  402. package/dist/providers/BreakpointProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  403. package/dist/providers/BreakpointProvider.d.ts +7 -0
  404. package/dist/providers/GenesisProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  405. package/dist/providers/ToastProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  406. package/dist/providers/index.cjs.js +1 -0
  407. package/dist/providers/index.es.js +6 -0
  408. package/dist/providers/useGenesis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  409. package/dist/providers/useGenesis.d.ts +2 -1
  410. package/dist/reactNode-DcoR9VZw.cjs +1 -0
  411. package/dist/{roundedArrow-BxPlu4Hq.js → roundedArrow-BtSC7b_q.js} +1 -1
  412. package/dist/roundedArrow-i9Dmpgeh.cjs +1 -0
  413. package/dist/{setup-aZdxWCJq.js → setup-D5hJ8cId.js} +6300 -5518
  414. package/dist/setup-Lma-RJTH.cjs +148 -0
  415. package/dist/setup.types-DNdmb6tK.cjs +46 -0
  416. package/dist/shadow-1q6dM13I.cjs +1 -0
  417. package/dist/statusUtils-DExYjn05.cjs +1 -0
  418. package/dist/styleChecker-Vc3-yig2.cjs +1 -0
  419. package/dist/styles/design-tokens/border-tokens/BorderTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  420. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  421. package/dist/styles/design-tokens/variables.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  422. package/dist/styles/design-tokens/variables.d.ts +2 -0
  423. package/dist/styles/{global-styles.js → global-styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +2 -6
  424. package/dist/styles/global-styles.d.ts +1 -1
  425. package/dist/styles/theme/genesis-theme.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  426. package/dist/styles/theme/genesis-theme.d.ts +2 -0
  427. package/dist/styles/theme/genesis-theme.test.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
  428. package/dist/styles/theme/genesis-theme.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  429. package/dist/styles/theme/genesis-theme.types.d.ts +7 -0
  430. package/dist/styles/theme/index.cjs.js +1 -0
  431. package/dist/styles/theme/{index.js → index.es.js} +1 -1
  432. package/dist/styles/theme/theme-tree/ThemeTree.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
  433. package/dist/styles-BEj8fZMe.cjs +3 -0
  434. package/dist/styles-BWTP_Zyu.cjs +103 -0
  435. package/dist/styles-BfoQ93tm.cjs +91 -0
  436. package/dist/{styles-Wpm1RiGr.js → styles-Bnh9HSiM.js} +46 -45
  437. package/dist/{styles-XuoEGUZZ.js → styles-CRSK7_lW.js} +135 -122
  438. package/dist/{styles-DNay6iFa.js → styles-CSzrJlJ9.js} +7 -7
  439. package/dist/{index-CupwdUIJ.js → styles-DXLK47iT.js} +167 -157
  440. package/dist/styles-j60Er7XY.cjs +16 -0
  441. package/dist/test/setup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  442. package/dist/test/setup.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  443. package/dist/{toArray-D5kvYi_U.js → toArray-BdEmgTlP.js} +1 -1
  444. package/dist/toArray-Cnq83wS3.cjs +1 -0
  445. package/dist/useBreakpoint-BkvhZP6y.cjs +1 -0
  446. package/dist/{useBreakpoint-ByLol0R9.js → useBreakpoint-C6P2JavP.js} +1 -1
  447. package/dist/{useCSSVarCls-YfJY1twF.js → useCSSVarCls-CwGsW74t.js} +1 -1
  448. package/dist/useCSSVarCls-Eahl89PI.cjs +1 -0
  449. package/dist/{useIcons-CoxuumP_.js → useIcons-BP_qFbBH.js} +3 -3
  450. package/dist/useIcons-elrpktrI.cjs +6 -0
  451. package/dist/useId-BDresUbx.cjs +1 -0
  452. package/dist/useLocale-Ccu6a0gD.cjs +1 -0
  453. package/dist/{useLocale-BQ3mKRyJ.js → useLocale-DkcoQ5u9.js} +1 -1
  454. package/dist/{useMergedState-D1-TbeEv.js → useMergedState-dLe_CnQY.js} +1 -1
  455. package/dist/useMergedState-g1JWsrDw.cjs +1 -0
  456. package/dist/{useSize-Ct1guc-z.js → useSize-D_iM0JXw.js} +1 -1
  457. package/dist/useSize-OiGNe58i.cjs +1 -0
  458. package/dist/{useVariants-C6UAAu9f.js → useVariants-BO1luVHT.js} +3 -3
  459. package/dist/useVariants-CAEx8XcP.cjs +1 -0
  460. package/dist/useZIndex-B720RqFH.cjs +1 -0
  461. package/dist/{useZIndex-tgX56o1r.js → useZIndex-DNLQPZBP.js} +2 -2
  462. package/dist/utils/icon-util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  463. package/dist/utils/icon-util.d.ts +1 -0
  464. package/dist/utils/styled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  465. package/dist/utils/styled.d.ts +7 -0
  466. package/dist/vi.B5EKKJdE-CoUxwxV9.cjs +434 -0
  467. package/dist/vite-env.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  468. package/package.json +26 -11
  469. package/dist/CSSMotionList-DB0khM6h.js +0 -22193
  470. package/dist/components/Avatar/Avatar.js +0 -62
  471. package/dist/components/Avatar/__tests__/Avatar.test.js +0 -17
  472. package/dist/components/Avatar/index.js +0 -4
  473. package/dist/components/Avatar/styles.js +0 -328
  474. package/dist/components/Badge/Badge.js +0 -71
  475. package/dist/components/Badge/__tests__/Badge.test.js +0 -17
  476. package/dist/components/Badge/index.js +0 -4
  477. package/dist/components/Breadcrumb/Breadcrumb.js +0 -11
  478. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +0 -23
  479. package/dist/components/Breadcrumb/index.js +0 -4
  480. package/dist/components/Breadcrumb/styles.js +0 -415
  481. package/dist/components/Button/Button.js +0 -26
  482. package/dist/components/Button/__tests__/Button.test.js +0 -17
  483. package/dist/components/Button/index.js +0 -4
  484. package/dist/components/Button/styles.js +0 -74
  485. package/dist/components/Card/Card.js +0 -16
  486. package/dist/components/Card/__tests__/Card.test.js +0 -16
  487. package/dist/components/Card/index.js +0 -4
  488. package/dist/components/Card/styles.js +0 -12
  489. package/dist/components/Checkbox/Checkbox.js +0 -52
  490. package/dist/components/Checkbox/__tests__/Checkbox.test.js +0 -19
  491. package/dist/components/Checkbox/index.js +0 -4
  492. package/dist/components/Dashboard/Dashboard.js +0 -5
  493. package/dist/components/Dashboard/__mocks__/dashboard-data.js +0 -186
  494. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +0 -947
  495. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +0 -86
  496. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +0 -23
  497. package/dist/components/Dashboard/__stories__/charts/LineChart.js +0 -534
  498. package/dist/components/Dashboard/__tests__/Dashboard.test.js +0 -16
  499. package/dist/components/Dashboard/index.js +0 -4
  500. package/dist/components/Dashboard/styles.js +0 -11
  501. package/dist/components/DatePicker/DatePicker.js +0 -5
  502. package/dist/components/DatePicker/__tests__/DatePicker.test.js +0 -19
  503. package/dist/components/DatePicker/index.js +0 -4
  504. package/dist/components/DateRangePicker/DateRangePicker.js +0 -5
  505. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +0 -23
  506. package/dist/components/DateRangePicker/index.js +0 -4
  507. package/dist/components/ErrorBoundary/ErrorBoundary.js +0 -73
  508. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +0 -30
  509. package/dist/components/ErrorBoundary/index.js +0 -4
  510. package/dist/components/ErrorBoundary/styles.js +0 -11
  511. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +0 -56
  512. package/dist/components/ErrorBoundaryFallback/index.js +0 -4
  513. package/dist/components/ErrorBoundaryFallback/styles.js +0 -933
  514. package/dist/components/Form/Form.js +0 -8
  515. package/dist/components/Form/__stories__/FormStory.js +0 -171
  516. package/dist/components/Form/__tests__/form.test.js +0 -19
  517. package/dist/components/Form/index.js +0 -4
  518. package/dist/components/Form/styles.js +0 -13
  519. package/dist/components/FormBrandon/Form.d.ts +0 -25
  520. package/dist/components/FormBrandon/Form.js +0 -18
  521. package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +0 -6
  522. package/dist/components/FormBrandon/__stories__/FormStory.d.ts +0 -1
  523. package/dist/components/FormBrandon/__stories__/FormStory.js +0 -172
  524. package/dist/components/FormBrandon/__tests__/form.test.js +0 -19
  525. package/dist/components/FormBrandon/index.d.ts +0 -2
  526. package/dist/components/FormBrandon/index.js +0 -4
  527. package/dist/components/FormBrandon/styles.d.ts +0 -2
  528. package/dist/components/FormBrandon/styles.js +0 -13
  529. package/dist/components/Glyph/Glyph.js +0 -9
  530. package/dist/components/Glyph/index.js +0 -4
  531. package/dist/components/Glyph/styles.js +0 -11
  532. package/dist/components/Input/Input.js +0 -22
  533. package/dist/components/Input/__tests__/Input.test.js +0 -25
  534. package/dist/components/Input/index.js +0 -4
  535. package/dist/components/Input/styles.js +0 -6
  536. package/dist/components/Layout/Content/Content.js +0 -32
  537. package/dist/components/Layout/Content/ResponsiveContent.js +0 -82
  538. package/dist/components/Layout/Content/index.js +0 -4
  539. package/dist/components/Layout/Content/styles.js +0 -16
  540. package/dist/components/Layout/Layout.js +0 -6
  541. package/dist/components/Layout/MainLayout/MainLayout.js +0 -28
  542. package/dist/components/Layout/MainLayout/index.js +0 -4
  543. package/dist/components/Layout/MainLayout/styles.js +0 -69
  544. package/dist/components/Layout/__tests__/Layout.test.js +0 -14
  545. package/dist/components/Layout/index.js +0 -4
  546. package/dist/components/Message/Message.js +0 -106
  547. package/dist/components/Message/__tests__/Message.test.js +0 -43
  548. package/dist/components/Message/index.js +0 -4
  549. package/dist/components/Message/styles.js +0 -45
  550. package/dist/components/Notification/Notification.js +0 -1462
  551. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +0 -49
  552. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +0 -18
  553. package/dist/components/Notification/NotificationBadge/icons/ASN.js +0 -23
  554. package/dist/components/Notification/NotificationBadge/icons/Appointment.js +0 -23
  555. package/dist/components/Notification/NotificationBadge/icons/Inventory.js +0 -23
  556. package/dist/components/Notification/NotificationBadge/icons/Parcel.js +0 -23
  557. package/dist/components/Notification/NotificationBadge/icons/Product.js +0 -23
  558. package/dist/components/Notification/NotificationBadge/icons/Route.js +0 -23
  559. package/dist/components/Notification/NotificationBadge/icons/Shipment.js +0 -23
  560. package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.js +0 -23
  561. package/dist/components/Notification/NotificationBadge/icons/System.js +0 -23
  562. package/dist/components/Notification/NotificationBadge/index.js +0 -4
  563. package/dist/components/Notification/NotificationBadge/styles.js +0 -34
  564. package/dist/components/Notification/NotificationRightChevron.js +0 -23
  565. package/dist/components/Notification/__tests__/Notification.test.js +0 -15
  566. package/dist/components/Notification/index.js +0 -4
  567. package/dist/components/Notification/styles.js +0 -65
  568. package/dist/components/Popover/Popover.js +0 -24
  569. package/dist/components/Popover/__tests__/Popover.test.js +0 -33
  570. package/dist/components/Popover/index.js +0 -4
  571. package/dist/components/Popover/styles.js +0 -6
  572. package/dist/components/Progress/Progress.js +0 -93
  573. package/dist/components/Progress/Progress.util.js +0 -63
  574. package/dist/components/Progress/ProgressText.js +0 -68
  575. package/dist/components/Progress/__tests__/Progress.test.js +0 -21
  576. package/dist/components/Progress/index.js +0 -4
  577. package/dist/components/Progress/styles.js +0 -796
  578. package/dist/components/Radio/Radio.js +0 -45
  579. package/dist/components/Radio/RadioGroup.js +0 -33
  580. package/dist/components/Radio/__tests__/RadioGroup.test.js +0 -31
  581. package/dist/components/Radio/index.js +0 -4
  582. package/dist/components/Radio/states/RadioChecked.js +0 -18
  583. package/dist/components/Radio/states/RadioCheckedDisabled.js +0 -18
  584. package/dist/components/Radio/states/RadioCheckedFocussed.js +0 -30
  585. package/dist/components/Radio/states/RadioCheckedHover.js +0 -18
  586. package/dist/components/Radio/states/RadioUnchecked.js +0 -15
  587. package/dist/components/Radio/states/RadioUncheckedDisabled.js +0 -15
  588. package/dist/components/Radio/states/RadioUncheckedFocussed.js +0 -29
  589. package/dist/components/Radio/states/RadioUncheckedHover.js +0 -18
  590. package/dist/components/Row/Row.js +0 -41
  591. package/dist/components/Row/RowActions/RowActions.js +0 -60
  592. package/dist/components/Row/RowLabelValue/RowLabelValue.js +0 -63
  593. package/dist/components/Row/RowLabelValue/RowSkeleton.js +0 -24
  594. package/dist/components/Row/RowLabelValue/styles.js +0 -25
  595. package/dist/components/Row/__tests__/Row.test.js +0 -16
  596. package/dist/components/Row/index.js +0 -4
  597. package/dist/components/Row/styles.js +0 -15
  598. package/dist/components/SegmentedControls/SegmentedControls.js +0 -26
  599. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +0 -24
  600. package/dist/components/SegmentedControls/index.js +0 -4
  601. package/dist/components/SegmentedControls/styles.js +0 -522
  602. package/dist/components/Select/DropdownChevron.js +0 -23
  603. package/dist/components/Select/Select.js +0 -36
  604. package/dist/components/Select/__tests__/Select.test.js +0 -55
  605. package/dist/components/Select/index.js +0 -4
  606. package/dist/components/Select/styles.js +0 -119
  607. package/dist/components/Shapes/Shapes.js +0 -8
  608. package/dist/components/Shapes/__tests__/Shapes.test.js +0 -16
  609. package/dist/components/Shapes/index.js +0 -4
  610. package/dist/components/Shapes/variants/Circle.js +0 -23
  611. package/dist/components/Shapes/variants/Rectangle.js +0 -23
  612. package/dist/components/Shapes/variants/Triangle.js +0 -23
  613. package/dist/components/Switch/Switch.js +0 -22
  614. package/dist/components/Switch/__tests__/Switch.test.js +0 -25
  615. package/dist/components/Switch/index.js +0 -4
  616. package/dist/components/Switch/styles.js +0 -456
  617. package/dist/components/Table/Table.js +0 -23
  618. package/dist/components/Table/__mocks__/table-mocks.js +0 -322
  619. package/dist/components/Table/__tests__/Table.test.js +0 -34
  620. package/dist/components/Table/index.js +0 -4
  621. package/dist/components/Table/styles.js +0 -6
  622. package/dist/components/Tabs/Tabs.js +0 -23
  623. package/dist/components/Tabs/__tests__/Tabs.test.js +0 -37
  624. package/dist/components/Tabs/index.js +0 -4
  625. package/dist/components/Tile/Tile.js +0 -21
  626. package/dist/components/Tile/__tests__/Tile.test.js +0 -21
  627. package/dist/components/Tile/index.js +0 -4
  628. package/dist/components/Tile/styles.js +0 -12
  629. package/dist/components/Toast/Toast.js +0 -37
  630. package/dist/components/Toast/__tests__/Toast.test.js +0 -19
  631. package/dist/components/Toast/index.js +0 -4
  632. package/dist/components/Toast/styles.js +0 -45
  633. package/dist/components/Tooltip/Tooltip.js +0 -51
  634. package/dist/components/Tooltip/__tests__/Tooltip.test.js +0 -25
  635. package/dist/components/Tooltip/index.js +0 -4
  636. package/dist/components/Tooltip/styles.js +0 -11
  637. package/dist/components/Typography/Typography.js +0 -8
  638. package/dist/components/Typography/__tests__/Typography.test.js +0 -24
  639. package/dist/components/Typography/index.js +0 -4
  640. package/dist/components/Typography/styles.js +0 -84
  641. package/dist/components/index.d.js +0 -1
  642. package/dist/components/index.js +0 -58
  643. package/dist/declaration.d.js +0 -1
  644. package/dist/genesis/GenesisThemeBreakdown.js +0 -145
  645. package/dist/genesis/GenesisThemeDemo.js +0 -7
  646. package/dist/index.js +0 -65
  647. package/dist/interface/address.js +0 -1
  648. package/dist/interface/appointment.js +0 -5
  649. package/dist/interface/appointmentV2.js +0 -1
  650. package/dist/interface/appointmentsState.js +0 -1
  651. package/dist/interface/common.js +0 -1
  652. package/dist/interface/completionData.js +0 -1
  653. package/dist/interface/deliveryPartner.js +0 -1
  654. package/dist/interface/organization.js +0 -1
  655. package/dist/interface/pagination.js +0 -1
  656. package/dist/interface/roles.js +0 -1
  657. package/dist/interface/route.js +0 -1
  658. package/dist/interface/routeAnalysis.js +0 -1
  659. package/dist/interface/routeAutomationJob.js +0 -10
  660. package/dist/interface/routeAutomationLog.js +0 -1
  661. package/dist/interface/routeEvent.js +0 -5
  662. package/dist/interface/serviceArea.js +0 -1
  663. package/dist/interface/util.js +0 -1
  664. package/dist/interface/vehicle.js +0 -1
  665. package/dist/interface/workOrder.js +0 -1
  666. package/dist/providers/BreakpointThemeProvider.d.ts +0 -8
  667. package/dist/providers/BreakpointThemeProvider.js +0 -21
  668. package/dist/providers/GenesisProvider.js +0 -11
  669. package/dist/providers/ToastProvider.js +0 -37
  670. package/dist/providers/index.js +0 -6
  671. package/dist/providers/useGenesis.js +0 -6
  672. package/dist/styled-components.browser.esm-C47QHsU4.js +0 -1211
  673. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +0 -60
  674. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +0 -64
  675. package/dist/styles/design-tokens/variables.js +0 -697
  676. package/dist/styles/theme/genesis-theme.js +0 -1095
  677. package/dist/styles/theme/genesis-theme.test.js +0 -69
  678. package/dist/styles/theme/genesis-theme.types.js +0 -4
  679. package/dist/styles/theme/theme-tree/ThemeTree.js +0 -1652
  680. package/dist/test/setup.js +0 -91
  681. package/dist/test/setup.types.js +0 -1
  682. package/dist/utils/icon-util.js +0 -93
  683. package/dist/vite-env.d.js +0 -1
  684. /package/dist/components/{FormBrandon/__tests__/form.test.d.ts → Table/TableControls/__tests__/TableControls.test.d.ts} +0 -0
  685. /package/dist/components/{Breadcrumb/Breadcrumb.types.js → index.d.es.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";const X=require("react"),h=require("./presets-CCbttGCy.cjs"),Y=require("./useMergedState-g1JWsrDw.cjs"),Z=require("./KeyCode-CIq7HTTY.cjs"),J=require("./motion-B_a-We1F.cjs"),Q=require("./reactNode-DcoR9VZw.cjs"),O=require("./index-B2Z5NSa0.cjs");require("./index-Bml8d_Df.cjs");require("./useId-BDresUbx.cjs");require("./index-BD5op9DA.cjs");const C=require("./CSSMotionList-BkQaDrZL.cjs"),ee=require("./roundedArrow-i9Dmpgeh.cjs"),te=require("./presetColors-DyrVjOJc.cjs");function oe(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const s=oe(X),x=e=>e?typeof e=="function"?e():e:null,ne=e=>{const{componentCls:o,popoverColor:n,titleMinWidth:t,fontWeightStrong:r,innerPadding:a,boxShadowSecondary:d,colorTextHeading:p,borderRadiusLG:u,zIndexPopup:g,titleMarginBottom:l,colorBgElevated:m,popoverBg:v,titleBorderBottom:f,innerContentPadding:b,titlePadding:i}=e;return[{[o]:Object.assign(Object.assign({},C.resetComponent(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:g,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":m,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:v,backgroundClip:"padding-box",borderRadius:u,boxShadow:d,padding:a},[`${o}-title`]:{minWidth:t,marginBottom:l,color:p,fontWeight:r,borderBottom:f,padding:i},[`${o}-inner-content`]:{color:n,padding:b}})},O.getArrowStyle(e,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${o}-content`]:{display:"inline-block"}}}]},re=e=>{const{componentCls:o}=e;return{[o]:te.PresetColors.map(n=>{const t=e[`${n}6`];return{[`&${o}-${n}`]:{"--antd-arrow-background-color":t,[`${o}-inner`]:{backgroundColor:t},[`${o}-arrow`]:{background:"transparent"}}}})}},ae=e=>{const{lineWidth:o,controlHeight:n,fontHeight:t,padding:r,wireframe:a,zIndexPopupBase:d,borderRadiusLG:p,marginXS:u,lineType:g,colorSplit:l,paddingSM:m}=e,v=n-t,f=v/2,b=v/2-o,i=r;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:d+30},ee.getArrowToken(e)),O.getArrowOffsetToken({contentRadius:p,limitVerticalRadius:!0})),{innerPadding:a?0:12,titleMarginBottom:a?0:u,titlePadding:a?`${f}px ${i}px ${b}px`:0,titleBorderBottom:a?`${o}px ${g} ${l}`:"none",innerContentPadding:a?`${m}px ${i}px`:0})},T=C.genStyleHooks("Popover",e=>{const{colorBgElevated:o,colorText:n}=e,t=C.merge(e,{popoverBg:o,popoverColor:n});return[ne(t),re(t),O.initZoomMotion(t,"zoom-big")]},ae,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var se=function(e,o){var n={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(e);r<t.length;r++)o.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(n[t[r]]=e[t[r]]);return n};const q=e=>{let{title:o,content:n,prefixCls:t}=e;return!o&&!n?null:s.createElement(s.Fragment,null,o&&s.createElement("div",{className:`${t}-title`},o),n&&s.createElement("div",{className:`${t}-inner-content`},n))},le=e=>{const{hashId:o,prefixCls:n,className:t,style:r,placement:a="top",title:d,content:p,children:u}=e,g=x(d),l=x(p),m=h.classNames(o,n,`${n}-pure`,`${n}-placement-${a}`,t);return s.createElement("div",{className:m,style:r},s.createElement("div",{className:`${n}-arrow`}),s.createElement(O.Popup,Object.assign({},e,{className:o,prefixCls:n}),u||s.createElement(q,{prefixCls:n,title:g,content:l})))},I=e=>{const{prefixCls:o,className:n}=e,t=se(e,["prefixCls","className"]),{getPrefixCls:r}=s.useContext(C.ConfigContext),a=r("popover",o),[d,p,u]=T(a);return d(s.createElement(le,Object.assign({},t,{prefixCls:a,hashId:p,className:h.classNames(n,u)})))};var ie=function(e,o){var n={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(n[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(e);r<t.length;r++)o.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(n[t[r]]=e[t[r]]);return n};const ce=s.forwardRef((e,o)=>{var n,t;const{prefixCls:r,title:a,content:d,overlayClassName:p,placement:u="top",trigger:g="hover",children:l,mouseEnterDelay:m=.1,mouseLeaveDelay:v=.1,onOpenChange:f,overlayStyle:b={},styles:i,classNames:y}=e,j=ie(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:$,className:W,style:z,classNames:E,styles:_}=C.useComponentConfig("popover"),N=$("popover",r),[M,R,V]=T(N),A=$(),L=h.classNames(p,R,V,W,E.root,y==null?void 0:y.root),H=h.classNames(E.body,y==null?void 0:y.body),[K,F]=Y.useMergedState(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(t=e.defaultOpen)!==null&&t!==void 0?t:e.defaultVisible}),B=(c,P)=>{F(c,!0),f==null||f(c,P)},G=c=>{c.keyCode===Z.KeyCode.ESC&&B(!1,c)},U=c=>{B(c)},k=x(a),D=x(d);return M(s.createElement(O.Tooltip,Object.assign({placement:u,trigger:g,mouseEnterDelay:m,mouseLeaveDelay:v},j,{prefixCls:N,classNames:{root:L,body:H},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},_.root),z),b),i==null?void 0:i.root),body:Object.assign(Object.assign({},_.body),i==null?void 0:i.body)},ref:o,open:K,onOpenChange:U,overlay:k||D?s.createElement(q,{prefixCls:N,title:k,content:D}):null,transitionName:J.getTransitionName(A,"zoom-big",j.transitionName),"data-popover-inject":!0}),Q.cloneElement(l,{onKeyDown:c=>{var P,w;s.isValidElement(l)&&((w=l==null?void 0:(P=l.props).onKeyDown)===null||w===void 0||w.call(P,c)),G(c)}})))}),S=ce;S._InternalPanelDoNotUseOrYouWillBeFired=I;process.env.NODE_ENV!=="production"&&(S.displayName="Popover");exports.Popover=S;exports.PurePanel=I;exports.getRenderPropValue=x;
@@ -0,0 +1 @@
1
+ "use strict";const b=require("./presets-CCbttGCy.cjs"),Q=require("react"),U=require("./toArray-Cnq83wS3.cjs"),d=require("./CSSMotionList-BkQaDrZL.cjs");function Z(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const a=Z(Q);var z=a.createContext(null);function ee(e){var t=e.children,r=e.onBatchResize,n=a.useRef(0),i=a.useRef([]),o=a.useContext(z),s=a.useCallback(function(c,u,f){n.current+=1;var v=n.current;i.current.push({size:c,element:u,data:f}),Promise.resolve().then(function(){v===n.current&&(r==null||r(i.current),i.current=[])}),o==null||o(c,u,f)},[r,o]);return a.createElement(z.Provider,{value:s},t)}var j=function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(i,o){return i[0]===r?(n=o,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(r,n){var i=e(this.__entries__,r);~i?this.__entries__[i][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,i=e(n,r);~i&&n.splice(i,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var i=0,o=this.__entries__;i<o.length;i++){var s=o[i];r.call(n,s[1],s[0])}},t}()}(),C=typeof window<"u"&&typeof document<"u"&&window.document===document,y=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),te=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(y):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),re=2;function ne(e,t){var r=!1,n=!1,i=0;function o(){r&&(r=!1,e()),n&&c()}function s(){te(o)}function c(){var u=Date.now();if(r){if(u-i<re)return;n=!0}else r=!0,n=!1,setTimeout(s,t);i=u}return c}var ie=20,oe=["top","right","bottom","left","width","height","size","weight"],se=typeof MutationObserver<"u",ae=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=ne(this.refresh.bind(this),ie)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!C||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),se?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!C||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,i=oe.some(function(o){return!!~n.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),L=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},_=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||y},I=O(0,0,0,0);function R(e){return parseFloat(e)||0}function H(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,i){var o=e["border-"+i+"-width"];return n+R(o)},0)}function ue(e){for(var t=["top","right","bottom","left"],r={},n=0,i=t;n<i.length;n++){var o=i[n],s=e["padding-"+o];r[o]=R(s)}return r}function ce(e){var t=e.getBBox();return O(0,0,t.width,t.height)}function fe(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return I;var n=_(e).getComputedStyle(e),i=ue(n),o=i.left+i.right,s=i.top+i.bottom,c=R(n.width),u=R(n.height);if(n.boxSizing==="border-box"&&(Math.round(c+o)!==t&&(c-=H(n,"left","right")+o),Math.round(u+s)!==r&&(u-=H(n,"top","bottom")+s)),!de(e)){var f=Math.round(c+o)-t,v=Math.round(u+s)-r;Math.abs(f)!==1&&(c-=f),Math.abs(v)!==1&&(u-=v)}return O(i.left,i.top,c,u)}var he=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof _(e).SVGGraphicsElement}:function(e){return e instanceof _(e).SVGElement&&typeof e.getBBox=="function"}}();function de(e){return e===_(e).document.documentElement}function le(e){return C?he(e)?ce(e):fe(e):I}function ve(e){var t=e.x,r=e.y,n=e.width,i=e.height,o=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(o.prototype);return L(s,{x:t,y:r,width:n,height:i,top:r,right:t+n,bottom:i+r,left:t}),s}function O(e,t,r,n){return{x:e,y:t,width:r,height:n}}var pe=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=O(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=le(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),be=function(){function e(t,r){var n=ve(r);L(this,{target:t,contentRect:n})}return e}(),_e=function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new j,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new pe(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof _(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new be(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),V=typeof WeakMap<"u"?new WeakMap:new j,q=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ae.getInstance(),n=new _e(t,r,this);V.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){q.prototype[e]=function(){var t;return(t=V.get(this))[e].apply(t,arguments)}});var me=function(){return typeof y.ResizeObserver<"u"?y.ResizeObserver:q}(),l=new Map;function B(e){e.forEach(function(t){var r,n=t.target;(r=l.get(n))===null||r===void 0||r.forEach(function(i){return i(n)})})}var F=new me(B);process.env.NODE_ENV;process.env.NODE_ENV;function ge(e,t){l.has(e)||(l.set(e,new Set),F.observe(e)),l.get(e).add(t)}function ye(e,t){l.has(e)&&(l.get(e).delete(t),l.get(e).size||(F.unobserve(e),l.delete(e)))}var Re=function(e){d._inherits(r,e);var t=d._createSuper(r);function r(){return d._classCallCheck(this,r),t.apply(this,arguments)}return d._createClass(r,[{key:"render",value:function(){return this.props.children}}]),r}(a.Component);function Oe(e,t){var r=e.children,n=e.disabled,i=a.useRef(null),o=a.useRef(null),s=a.useContext(z),c=typeof r=="function",u=c?r(i):r,f=a.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),v=!c&&a.isValidElement(u)&&d.supportRef(u),$=v?d.getNodeRef(u):null,K=d.useComposeRef($,i),x=function(){var p;return d.findDOMNode(i.current)||(i.current&&b._typeof(i.current)==="object"?d.findDOMNode((p=i.current)===null||p===void 0?void 0:p.nativeElement):null)||d.findDOMNode(o.current)};a.useImperativeHandle(t,function(){return x()});var D=a.useRef(e);D.current=e;var S=a.useCallback(function(h){var p=D.current,A=p.onResize,Y=p.data,N=h.getBoundingClientRect(),w=N.width,E=N.height,m=h.offsetWidth,g=h.offsetHeight,T=Math.floor(w),P=Math.floor(E);if(f.current.width!==T||f.current.height!==P||f.current.offsetWidth!==m||f.current.offsetHeight!==g){var W={width:T,height:P,offsetWidth:m,offsetHeight:g};f.current=W;var X=m===Math.round(w)?w:m,J=g===Math.round(E)?E:g,k=b._objectSpread2(b._objectSpread2({},W),{},{offsetWidth:X,offsetHeight:J});s==null||s(k,h,Y),A&&Promise.resolve().then(function(){A(k,h)})}},[]);return a.useEffect(function(){var h=x();return h&&!n&&ge(h,S),function(){return ye(h,S)}},[i.current,n]),a.createElement(Re,{ref:o},v?a.cloneElement(u,{ref:K}):u)}var G=a.forwardRef(Oe);process.env.NODE_ENV!=="production"&&(G.displayName="SingleObserver");var we="rc-observer-key";function Ee(e,t){var r=e.children,n=typeof r=="function"?[r]:U.toArray(r);return process.env.NODE_ENV!=="production"&&(n.length>1?b.warning(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&b.warning(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),n.map(function(i,o){var s=(i==null?void 0:i.key)||"".concat(we,"-").concat(o);return a.createElement(G,b._extends({},e,{key:s,ref:o===0?t:void 0}),i)})}var M=a.forwardRef(Ee);process.env.NODE_ENV!=="production"&&(M.displayName="ResizeObserver");M.Collection=ee;exports.RefResizeObserver=M;
@@ -0,0 +1,24 @@
1
+ "use strict";const K=require("react"),i=require("./presets-CCbttGCy.cjs"),w=require("./CSSMotionList-BkQaDrZL.cjs"),At=require("./useMergedState-g1JWsrDw.cjs"),yn=require("./index-Bml8d_Df.cjs"),W=require("./KeyCode-CIq7HTTY.cjs"),Rt=require("./pickAttrs-BUFdQiVt.cjs"),vt=require("./Overflow-Bthkof3a.cjs"),Ot=require("./index-BD5op9DA.cjs"),Cn=require("./omit-BrHx-Kj7.cjs"),wn=require("./index-CSLsxIxR.cjs"),tn=require("react-dom"),Bt=require("./toArray-Cnq83wS3.cjs"),Qn=require("./useZIndex-B720RqFH.cjs"),Zn=require("./motion-B_a-We1F.cjs"),Lt=require("./DownOutlined-BQeYXxEW.cjs"),nn=require("./statusUtils-DExYjn05.cjs"),Ft=require("./useLocale-Ccu6a0gD.cjs"),Jn=require("./useCSSVarCls-Eahl89PI.cjs"),kn=require("./useSize-OiGNe58i.cjs"),er=require("./context-DdubDZbV.cjs"),tr=require("./useVariants-CAEx8XcP.cjs"),nr=require("./Compact-DbbroFuI.cjs"),rr=require("./compact-item-B2FiQh6y.cjs"),En=require("./useIcons-elrpktrI.cjs");function or(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=or(K);var Mt=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,c=t.children,l=t.onMouseDown,u=t.onClick,m=typeof r=="function"?r(a):r;return o.createElement("span",{className:n,onMouseDown:function(v){v.preventDefault(),l==null||l(v)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:u,"aria-hidden":!0},m!==void 0?m:o.createElement("span",{className:i.classNames(n.split(/\s+/).map(function(d){return"".concat(d,"-icon")}))},c))},ar=function(t,n,r,a,c){var l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,u=arguments.length>6?arguments[6]:void 0,m=arguments.length>7?arguments[7]:void 0,d=K.useMemo(function(){if(i._typeof(a)==="object")return a.clearIcon;if(c)return c},[a,c]),v=K.useMemo(function(){return!!(!l&&a&&(r.length||u)&&!(m==="combobox"&&u===""))},[a,l,r.length,u,m]);return{allowClear:v,clearIcon:K.createElement(Mt,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:d},"×")}},xn=o.createContext(null);function ir(){return o.useContext(xn)}function lr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=o.useState(!1),n=i._slicedToArray(t,2),r=n[0],a=n[1],c=o.useRef(null),l=function(){window.clearTimeout(c.current)};o.useEffect(function(){return l},[]);var u=function(d,v){l(),c.current=window.setTimeout(function(){a(d),v&&v()},e)};return[r,u,l]}function In(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=o.useRef(null),n=o.useRef(null);o.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function cr(e,t,n,r){var a=o.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},o.useEffect(function(){function c(l){var u;if(!((u=a.current)!==null&&u!==void 0&&u.customizedTrigger)){var m=l.target;m.shadowRoot&&l.composed&&(m=l.composedPath()[0]||m),a.current.open&&e().filter(function(d){return d}).every(function(d){return!d.contains(m)&&d!==m})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",c),function(){return window.removeEventListener("mousedown",c)}},[])}function ur(e){return e&&![W.KeyCode.ESC,W.KeyCode.SHIFT,W.KeyCode.BACKSPACE,W.KeyCode.TAB,W.KeyCode.WIN_KEY,W.KeyCode.ALT,W.KeyCode.META,W.KeyCode.WIN_KEY_RIGHT,W.KeyCode.CTRL,W.KeyCode.SEMICOLON,W.KeyCode.EQUALS,W.KeyCode.CAPS_LOCK,W.KeyCode.CONTEXT_MENU,W.KeyCode.F1,W.KeyCode.F2,W.KeyCode.F3,W.KeyCode.F4,W.KeyCode.F5,W.KeyCode.F6,W.KeyCode.F7,W.KeyCode.F8,W.KeyCode.F9,W.KeyCode.F10,W.KeyCode.F11,W.KeyCode.F12].includes(e)}var sr=function(t,n){var r,a=t.prefixCls,c=t.id,l=t.inputElement,u=t.disabled,m=t.tabIndex,d=t.autoFocus,v=t.autoComplete,f=t.editable,h=t.activeDescendantId,s=t.value,g=t.maxLength,p=t.onKeyDown,b=t.onMouseDown,E=t.onChange,S=t.onPaste,R=t.onCompositionStart,C=t.onCompositionEnd,L=t.onBlur,x=t.open,_=t.attrs,V=l||o.createElement("input",null),j=V,Y=j.ref,z=j.props,U=z.onKeyDown,Q=z.onChange,oe=z.onMouseDown,ee=z.onCompositionStart,X=z.onCompositionEnd,ae=z.onBlur,te=z.style;return i.warning(!("maxLength"in V.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),V=o.cloneElement(V,i._objectSpread2(i._objectSpread2(i._objectSpread2({type:"search"},z),{},{id:c,ref:w.composeRef(n,Y),disabled:u,tabIndex:m,autoComplete:v||"off",autoFocus:d,className:i.classNames("".concat(a,"-selection-search-input"),(r=V)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(c,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(c,"_list"),"aria-activedescendant":x?h:void 0},_),{},{value:f?s:"",maxLength:g,readOnly:!f,unselectable:f?null:"on",style:i._objectSpread2(i._objectSpread2({},te),{},{opacity:f?null:0}),onKeyDown:function(I){p(I),U&&U(I)},onMouseDown:function(I){b(I),oe&&oe(I)},onChange:function(I){E(I),Q&&Q(I)},onCompositionStart:function(I){R(I),ee&&ee(I)},onCompositionEnd:function(I){C(I),X&&X(I)},onPaste:S,onBlur:function(I){L(I),ae&&ae(I)}})),V},Kt=o.forwardRef(sr);process.env.NODE_ENV!=="production"&&(Kt.displayName="Input");function Wt(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var dr=typeof window<"u"&&window.document&&window.document.documentElement,fr=process.env.NODE_ENV!=="test"&&dr;function vr(e){return e!=null}function mr(e){return!e&&e!==0}function rn(e){return["string","number"].includes(i._typeof(e))}function Rn(e){var t=void 0;return e&&(rn(e.title)?t=e.title.toString():rn(e.label)&&(t=e.label.toString())),t}function pr(e,t){fr?o.useLayoutEffect(e,t):o.useEffect(e,t)}function gr(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var on=function(t){t.preventDefault(),t.stopPropagation()},hr=function(t){var n=t.id,r=t.prefixCls,a=t.values,c=t.open,l=t.searchValue,u=t.autoClearSearchValue,m=t.inputRef,d=t.placeholder,v=t.disabled,f=t.mode,h=t.showSearch,s=t.autoFocus,g=t.autoComplete,p=t.activeDescendantId,b=t.tabIndex,E=t.removeIcon,S=t.maxTagCount,R=t.maxTagTextLength,C=t.maxTagPlaceholder,L=C===void 0?function(q){return"+ ".concat(q.length," ...")}:C,x=t.tagRender,_=t.onToggleOpen,V=t.onRemove,j=t.onInputChange,Y=t.onInputPaste,z=t.onInputKeyDown,U=t.onInputMouseDown,Q=t.onInputCompositionStart,oe=t.onInputCompositionEnd,ee=t.onInputBlur,X=o.useRef(null),ae=K.useState(0),te=i._slicedToArray(ae,2),Z=te[0],I=te[1],T=K.useState(!1),fe=i._slicedToArray(T,2),ie=fe[0],k=fe[1],se="".concat(r,"-selection"),ye=c||f==="multiple"&&u===!1||f==="tags"?l:"",pe=f==="tags"||f==="multiple"&&u===!1||h&&(c||ie);pr(function(){I(X.current.scrollWidth)},[ye]);var Re=function(O,F,le,ve,ne){return o.createElement("span",{title:Rn(O),className:i.classNames("".concat(se,"-item"),i._defineProperty({},"".concat(se,"-item-disabled"),le))},o.createElement("span",{className:"".concat(se,"-item-content")},F),ve&&o.createElement(Mt,{className:"".concat(se,"-item-remove"),onMouseDown:on,onClick:ne,customizeIcon:E},"×"))},ue=function(O,F,le,ve,ne,Se){var Ae=function($e){on($e),_(!c)};return o.createElement("span",{onMouseDown:Ae},x({label:F,value:O,disabled:le,closable:ve,onClose:ne,isMaxTag:!!Se}))},ge=function(O){var F=O.disabled,le=O.label,ve=O.value,ne=!v&&!F,Se=le;if(typeof R=="number"&&(typeof le=="string"||typeof le=="number")){var Ae=String(Se);Ae.length>R&&(Se="".concat(Ae.slice(0,R),"..."))}var xe=function(de){de&&de.stopPropagation(),V(O)};return typeof x=="function"?ue(ve,Se,F,ne,xe):Re(O,Se,F,ne,xe)},M=function(O){if(!a.length)return null;var F=typeof L=="function"?L(O):L;return typeof x=="function"?ue(void 0,F,!1,!1,void 0,!0):Re({title:F},F,!1)},y=o.createElement("div",{className:"".concat(se,"-search"),style:{width:Z},onFocus:function(){k(!0)},onBlur:function(){k(!1)}},o.createElement(Kt,{ref:m,open:c,prefixCls:r,id:n,inputElement:null,disabled:v,autoFocus:s,autoComplete:g,editable:pe,activeDescendantId:p,value:ye,onKeyDown:z,onMouseDown:U,onChange:j,onPaste:Y,onCompositionStart:Q,onCompositionEnd:oe,onBlur:ee,tabIndex:b,attrs:Rt.pickAttrs(t,!0)}),o.createElement("span",{ref:X,className:"".concat(se,"-search-mirror"),"aria-hidden":!0},ye," ")),D=o.createElement(vt.ForwardOverflow,{prefixCls:"".concat(se,"-overflow"),data:a,renderItem:ge,renderRest:M,suffix:y,itemKey:gr,maxCount:S});return o.createElement("span",{className:"".concat(se,"-wrap")},D,!a.length&&!ye&&o.createElement("span",{className:"".concat(se,"-placeholder")},d))},br=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,c=t.inputRef,l=t.disabled,u=t.autoFocus,m=t.autoComplete,d=t.activeDescendantId,v=t.mode,f=t.open,h=t.values,s=t.placeholder,g=t.tabIndex,p=t.showSearch,b=t.searchValue,E=t.activeValue,S=t.maxLength,R=t.onInputKeyDown,C=t.onInputMouseDown,L=t.onInputChange,x=t.onInputPaste,_=t.onInputCompositionStart,V=t.onInputCompositionEnd,j=t.onInputBlur,Y=t.title,z=o.useState(!1),U=i._slicedToArray(z,2),Q=U[0],oe=U[1],ee=v==="combobox",X=ee||p,ae=h[0],te=b||"";ee&&E&&!Q&&(te=E),o.useEffect(function(){ee&&oe(!1)},[ee,E]);var Z=v!=="combobox"&&!f&&!p?!1:!!te,I=Y===void 0?Rn(ae):Y,T=o.useMemo(function(){return ae?null:o.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:Z?{visibility:"hidden"}:void 0},s)},[ae,Z,s,r]);return o.createElement("span",{className:"".concat(r,"-selection-wrap")},o.createElement("span",{className:"".concat(r,"-selection-search")},o.createElement(Kt,{ref:c,prefixCls:r,id:a,open:f,inputElement:n,disabled:l,autoFocus:u,autoComplete:m,editable:X,activeDescendantId:d,value:te,onKeyDown:R,onMouseDown:C,onChange:function(ie){oe(!0),L(ie)},onPaste:x,onCompositionStart:_,onCompositionEnd:V,onBlur:j,tabIndex:g,attrs:Rt.pickAttrs(t,!0),maxLength:ee?S:void 0})),!ee&&ae?o.createElement("span",{className:"".concat(r,"-selection-item"),title:I,style:Z?{visibility:"hidden"}:void 0},ae.label):null,T)},Sr=function(t,n){var r=K.useRef(null),a=K.useRef(!1),c=t.prefixCls,l=t.open,u=t.mode,m=t.showSearch,d=t.tokenWithEnter,v=t.disabled,f=t.prefix,h=t.autoClearSearchValue,s=t.onSearch,g=t.onSearchSubmit,p=t.onToggleOpen,b=t.onInputKeyDown,E=t.onInputBlur,S=t.domRef;o.useImperativeHandle(n,function(){return{focus:function(I){r.current.focus(I)},blur:function(){r.current.blur()}}});var R=In(0),C=i._slicedToArray(R,2),L=C[0],x=C[1],_=function(I){var T=I.which,fe=r.current instanceof HTMLTextAreaElement;!fe&&l&&(T===W.KeyCode.UP||T===W.KeyCode.DOWN)&&I.preventDefault(),b&&b(I),T===W.KeyCode.ENTER&&u==="tags"&&!a.current&&!l&&(g==null||g(I.target.value)),!(fe&&!l&&~[W.KeyCode.UP,W.KeyCode.DOWN,W.KeyCode.LEFT,W.KeyCode.RIGHT].indexOf(T))&&ur(T)&&p(!0)},V=function(){x(!0)},j=K.useRef(null),Y=function(I){s(I,!0,a.current)!==!1&&p(!0)},z=function(){a.current=!0},U=function(I){a.current=!1,u!=="combobox"&&Y(I.target.value)},Q=function(I){var T=I.target.value;if(d&&j.current&&/[\r\n]/.test(j.current)){var fe=j.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");T=T.replace(fe,j.current)}j.current=null,Y(T)},oe=function(I){var T=I.clipboardData,fe=T==null?void 0:T.getData("text");j.current=fe||""},ee=function(I){var T=I.target;if(T!==r.current){var fe=document.body.style.msTouchAction!==void 0;fe?setTimeout(function(){r.current.focus()}):r.current.focus()}},X=function(I){var T=L();I.target!==r.current&&!T&&!(u==="combobox"&&v)&&I.preventDefault(),(u!=="combobox"&&(!m||!T)||!l)&&(l&&h!==!1&&s("",!0,!1),p())},ae={inputRef:r,onInputKeyDown:_,onInputMouseDown:V,onInputChange:Q,onInputPaste:oe,onInputCompositionStart:z,onInputCompositionEnd:U,onInputBlur:E},te=u==="multiple"||u==="tags"?o.createElement(hr,i._extends({},t,ae)):o.createElement(br,i._extends({},t,ae));return o.createElement("div",{ref:S,className:"".concat(c,"-selector"),onClick:ee,onMouseDown:X},f&&o.createElement("div",{className:"".concat(c,"-prefix")},f),te)},On=o.forwardRef(Sr);process.env.NODE_ENV!=="production"&&(On.displayName="Selector");var yr=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Cr=function(t){var n=t===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:n,adjustY:1},htmlRegion:"scroll"}}},wr=function(t,n){var r=t.prefixCls;t.disabled;var a=t.visible,c=t.children,l=t.popupElement,u=t.animation,m=t.transitionName,d=t.dropdownStyle,v=t.dropdownClassName,f=t.direction,h=f===void 0?"ltr":f,s=t.placement,g=t.builtinPlacements,p=t.dropdownMatchSelectWidth,b=t.dropdownRender,E=t.dropdownAlign,S=t.getPopupContainer,R=t.empty,C=t.getTriggerDOMNode,L=t.onPopupVisibleChange,x=t.onPopupMouseEnter,_=i._objectWithoutProperties(t,yr),V="".concat(r,"-dropdown"),j=l;b&&(j=b(l));var Y=o.useMemo(function(){return g||Cr(p)},[g,p]),z=u?"".concat(V,"-").concat(u):m,U=typeof p=="number",Q=o.useMemo(function(){return U?null:p===!1?"minWidth":"width"},[p,U]),oe=d;U&&(oe=i._objectSpread2(i._objectSpread2({},oe),{},{width:p}));var ee=o.useRef(null);return o.useImperativeHandle(n,function(){return{getPopupElement:function(){var ae;return(ae=ee.current)===null||ae===void 0?void 0:ae.popupElement}}}),o.createElement(yn.Trigger,i._extends({},_,{showAction:L?["click"]:[],hideAction:L?["click"]:[],popupPlacement:s||(h==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Y,prefixCls:V,popupTransitionName:z,popup:o.createElement("div",{onMouseEnter:x},j),ref:ee,stretch:Q,popupAlign:E,popupVisible:a,getPopupContainer:S,popupClassName:i.classNames(v,i._defineProperty({},"".concat(V,"-empty"),R)),popupStyle:oe,getTriggerDOMNode:C,onPopupVisibleChange:L}),c)},_n=o.forwardRef(wr);process.env.NODE_ENV!=="production"&&(_n.displayName="SelectTrigger");function an(e,t){var n=e.key,r;return"value"in e&&(r=e.value),n??(r!==void 0?r:"rc-index-key-".concat(t))}function Vt(e){return typeof e<"u"&&!Number.isNaN(e)}function Mn(e,t){var n=e||{},r=n.label,a=n.value,c=n.options,l=n.groupLabel,u=r||(t?"children":"label");return{label:u,value:a||"value",options:c||"options",groupLabel:l||u}}function Er(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],c=Mn(n,!1),l=c.label,u=c.value,m=c.options,d=c.groupLabel;function v(f,h){Array.isArray(f)&&f.forEach(function(s){if(h||!(m in s)){var g=s[u];a.push({key:an(s,a.length),groupOption:h,data:s,label:s[l],value:g})}else{var p=s[d];p===void 0&&r&&(p=s.label),a.push({key:an(s,a.length),group:!0,data:s,label:p}),v(s[m],!0)}})}return v(e,!1),a}function zt(e){var t=i._objectSpread2({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return i.warningOnce(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var xr=function(t,n,r){if(!n||!n.length)return null;var a=!1,c=function u(m,d){var v=Ot._toArray(d),f=v[0],h=v.slice(1);if(!f)return[m];var s=m.split(f);return a=a||s.length>1,s.reduce(function(g,p){return[].concat(w._toConsumableArray(g),w._toConsumableArray(u(p,h)))},[]).filter(Boolean)},l=c(t,n);return a?typeof r<"u"?l.slice(0,r):l:null},Ut=o.createContext(null);function Ir(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return o.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var c=a.label,l=a.value;return["number","string"].includes(i._typeof(c))?c:l}).join(", ")),n.length>r?", ...":null)}var Rr=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Or=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],_t=function(t){return t==="tags"||t==="multiple"},$n=o.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,c=e.className,l=e.showSearch,u=e.tagRender,m=e.direction,d=e.omitDomProps,v=e.displayValues,f=e.onDisplayValuesChange,h=e.emptyOptions,s=e.notFoundContent,g=s===void 0?"Not Found":s,p=e.onClear,b=e.mode,E=e.disabled,S=e.loading,R=e.getInputElement,C=e.getRawInputElement,L=e.open,x=e.defaultOpen,_=e.onDropdownVisibleChange,V=e.activeValue,j=e.onActiveValueChange,Y=e.activeDescendantId,z=e.searchValue,U=e.autoClearSearchValue,Q=e.onSearch,oe=e.onSearchSplit,ee=e.tokenSeparators,X=e.allowClear,ae=e.prefix,te=e.suffixIcon,Z=e.clearIcon,I=e.OptionList,T=e.animation,fe=e.transitionName,ie=e.dropdownStyle,k=e.dropdownClassName,se=e.dropdownMatchSelectWidth,ye=e.dropdownRender,pe=e.dropdownAlign,Re=e.placement,ue=e.builtinPlacements,ge=e.getPopupContainer,M=e.showAction,y=M===void 0?[]:M,D=e.onFocus,q=e.onBlur,O=e.onKeyUp,F=e.onKeyDown,le=e.onMouseDown,ve=i._objectWithoutProperties(e,Rr),ne=_t(b),Se=(l!==void 0?l:ne)||b==="combobox",Ae=i._objectSpread2({},ve);Or.forEach(function(ce){delete Ae[ce]}),d==null||d.forEach(function(ce){delete Ae[ce]});var xe=o.useState(!1),$e=i._slicedToArray(xe,2),de=$e[0],Ke=$e[1];o.useEffect(function(){Ke(yn.isMobile())},[]);var We=o.useRef(null),be=o.useRef(null),Oe=o.useRef(null),Ce=o.useRef(null),Ie=o.useRef(null),De=o.useRef(!1),Ye=lr(),ze=i._slicedToArray(Ye,3),Le=ze[0],we=ze[1],ut=ze[2];o.useImperativeHandle(t,function(){var ce,G;return{focus:(ce=Ce.current)===null||ce===void 0?void 0:ce.focus,blur:(G=Ce.current)===null||G===void 0?void 0:G.blur,scrollTo:function(Fe){var Te;return(Te=Ie.current)===null||Te===void 0?void 0:Te.scrollTo(Fe)},nativeElement:We.current||be.current}});var Ve=o.useMemo(function(){var ce;if(b!=="combobox")return z;var G=(ce=v[0])===null||ce===void 0?void 0:ce.value;return typeof G=="string"||typeof G=="number"?String(G):""},[z,b,v]),Pe=b==="combobox"&&typeof R=="function"&&R()||null,Me=typeof C=="function"&&C(),St=w.useComposeRef(be,Me==null||(n=Me.props)===null||n===void 0?void 0:n.ref),pt=o.useState(!1),at=i._slicedToArray(pt,2),st=at[0],gt=at[1];w.useLayoutEffect(function(){gt(!0)},[]);var tt=At.useMergedState(!1,{defaultValue:x,value:L}),Ue=i._slicedToArray(tt,2),it=Ue[0],lt=Ue[1],_e=st?it:!1,ct=!g&&h;(E||ct&&_e&&b==="combobox")&&(_e=!1);var ke=ct?!1:_e,P=o.useCallback(function(ce){var G=ce!==void 0?ce:!_e;E||(lt(G),_e!==G&&(_==null||_(G)))},[E,_e,lt,_]),H=o.useMemo(function(){return(ee||[]).some(function(ce){return[`
2
+ `,`\r
3
+ `].includes(ce)})},[ee]),A=o.useContext(Ut)||{},B=A.maxCount,re=A.rawValues,he=function(G,He,Fe){if(!(ne&&Vt(B)&&(re==null?void 0:re.size)>=B)){var Te=!0,Be=G;j==null||j(null);var rt=xr(G,ee,Vt(B)?B-re.size:void 0),et=Fe?null:rt;return b!=="combobox"&&et&&(Be="",oe==null||oe(et),P(!1),Te=!1),Q&&Ve!==Be&&Q(Be,{source:He?"typing":"effect"}),Te}},Xe=function(G){!G||!G.trim()||Q(G,{source:"submit"})};o.useEffect(function(){!_e&&!ne&&b!=="combobox"&&he("",!1,!1)},[_e]),o.useEffect(function(){it&&E&&lt(!1),E&&!De.current&&we(!1)},[E]);var je=In(),Qe=i._slicedToArray(je,2),Ee=Qe[0],Ze=Qe[1],qe=o.useRef(!1),yt=function(G){var He=Ee(),Fe=G.key,Te=Fe==="Enter";if(Te&&(b!=="combobox"&&G.preventDefault(),_e||P(!0)),Ze(!!Ve),Fe==="Backspace"&&!He&&ne&&!Ve&&v.length){for(var Be=w._toConsumableArray(v),rt=null,et=Be.length-1;et>=0;et-=1){var dt=Be[et];if(!dt.disabled){Be.splice(et,1),rt=dt;break}}rt&&f(Be,{type:"remove",values:[rt]})}for(var bt=arguments.length,ft=new Array(bt>1?bt-1:0),xt=1;xt<bt;xt++)ft[xt-1]=arguments[xt];if(_e&&(!Te||!qe.current)){var It;Te&&(qe.current=!0),(It=Ie.current)===null||It===void 0||It.onKeyDown.apply(It,[G].concat(ft))}F==null||F.apply(void 0,[G].concat(ft))},Et=function(G){for(var He=arguments.length,Fe=new Array(He>1?He-1:0),Te=1;Te<He;Te++)Fe[Te-1]=arguments[Te];if(_e){var Be;(Be=Ie.current)===null||Be===void 0||Be.onKeyUp.apply(Be,[G].concat(Fe))}G.key==="Enter"&&(qe.current=!1),O==null||O.apply(void 0,[G].concat(Fe))},Je=function(G){var He=v.filter(function(Fe){return Fe!==G});f(He,{type:"remove",values:[G]})},Ge=function(){qe.current=!1},N=o.useRef(!1),$=function(){we(!0),E||(D&&!N.current&&D.apply(void 0,arguments),y.includes("focus")&&P(!0)),N.current=!0},J=function(){De.current=!0,we(!1,function(){N.current=!1,De.current=!1,P(!1)}),!E&&(Ve&&(b==="tags"?Q(Ve,{source:"submit"}):b==="multiple"&&Q("",{source:"blur"})),q&&q.apply(void 0,arguments))},me=[];o.useEffect(function(){return function(){me.forEach(function(ce){return clearTimeout(ce)}),me.splice(0,me.length)}},[]);var Ne=function(G){var He,Fe=G.target,Te=(He=Oe.current)===null||He===void 0?void 0:He.getPopupElement();if(Te&&Te.contains(Fe)){var Be=setTimeout(function(){var bt=me.indexOf(Be);if(bt!==-1&&me.splice(bt,1),ut(),!de&&!Te.contains(document.activeElement)){var ft;(ft=Ce.current)===null||ft===void 0||ft.focus()}});me.push(Be)}for(var rt=arguments.length,et=new Array(rt>1?rt-1:0),dt=1;dt<rt;dt++)et[dt-1]=arguments[dt];le==null||le.apply(void 0,[G].concat(et))},ht=o.useState({}),nt=i._slicedToArray(ht,2),$t=nt[1];function Dt(){$t({})}var Ct;Me&&(Ct=function(G){P(G)}),cr(function(){var ce;return[We.current,(ce=Oe.current)===null||ce===void 0?void 0:ce.getPopupElement()]},ke,P,!!Me);var wt=o.useMemo(function(){return i._objectSpread2(i._objectSpread2({},e),{},{notFoundContent:g,open:_e,triggerOpen:ke,id:r,showSearch:Se,multiple:ne,toggleOpen:P})},[e,g,ke,_e,r,Se,ne,P]),Zt=!!te||S,Jt;Zt&&(Jt=o.createElement(Mt,{className:i.classNames("".concat(a,"-arrow"),i._defineProperty({},"".concat(a,"-arrow-loading"),S)),customizeIcon:te,customizeIconProps:{loading:S,searchValue:Ve,open:_e,focused:Le,showSearch:Se}}));var Un=function(){var G;p==null||p(),(G=Ce.current)===null||G===void 0||G.focus(),f([],{type:"clear",values:v}),he("",!1,!1)},kt=ar(a,Un,v,X,Z,E,Ve,b),Xn=kt.allowClear,qn=kt.clearIcon,Gn=o.createElement(I,{ref:Ie}),Yn=i.classNames(a,c,i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty({},"".concat(a,"-focused"),Le),"".concat(a,"-multiple"),ne),"".concat(a,"-single"),!ne),"".concat(a,"-allow-clear"),X),"".concat(a,"-show-arrow"),Zt),"".concat(a,"-disabled"),E),"".concat(a,"-loading"),S),"".concat(a,"-open"),_e),"".concat(a,"-customize-input"),Pe),"".concat(a,"-show-search"),Se)),en=o.createElement(_n,{ref:Oe,disabled:E,prefixCls:a,visible:ke,popupElement:Gn,animation:T,transitionName:fe,dropdownStyle:ie,dropdownClassName:k,direction:m,dropdownMatchSelectWidth:se,dropdownRender:ye,dropdownAlign:pe,placement:Re,builtinPlacements:ue,getPopupContainer:ge,empty:h,getTriggerDOMNode:function(G){return be.current||G},onPopupVisibleChange:Ct,onPopupMouseEnter:Dt},Me?o.cloneElement(Me,{ref:St}):o.createElement(On,i._extends({},e,{domRef:be,prefixCls:a,inputElement:Pe,ref:Ce,id:r,prefix:ae,showSearch:Se,autoClearSearchValue:U,mode:b,activeDescendantId:Y,tagRender:u,values:v,open:_e,onToggleOpen:P,activeValue:V,searchValue:Ve,onSearch:he,onSearchSubmit:Xe,onRemove:Je,tokenWithEnter:H,onInputBlur:Ge}))),Pt;return Me?Pt=en:Pt=o.createElement("div",i._extends({className:Yn},Ae,{ref:We,onMouseDown:Ne,onKeyDown:yt,onKeyUp:Et,onFocus:$,onBlur:J}),o.createElement(Ir,{visible:Le&&!_e,values:v}),en,Jt,Xn&&qn),o.createElement(xn.Provider,{value:wt},Pt)});process.env.NODE_ENV!=="production"&&($n.displayName="BaseSelect");var Xt=function(){return null};Xt.isSelectOptGroup=!0;var qt=function(){return null};qt.isSelectOption=!0;var Dn=o.forwardRef(function(e,t){var n=e.height,r=e.offsetY,a=e.offsetX,c=e.children,l=e.prefixCls,u=e.onInnerResize,m=e.innerProps,d=e.rtl,v=e.extra,f={},h={display:"flex",flexDirection:"column"};return r!==void 0&&(f={height:n,position:"relative",overflow:"hidden"},h=i._objectSpread2(i._objectSpread2({},h),{},i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty({transform:"translateY(".concat(r,"px)")},d?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),o.createElement("div",{style:f},o.createElement(wn.RefResizeObserver,{onResize:function(g){var p=g.offsetHeight;p&&u&&u()}},o.createElement("div",i._extends({style:h,className:i.classNames(i._defineProperty({},"".concat(l,"-holder-inner"),l)),ref:t},m),c,v)))});Dn.displayName="Filler";function _r(e){var t=e.children,n=e.setRef,r=o.useCallback(function(a){n(a)},[]);return o.cloneElement(t,{ref:r})}function Mr(e,t,n,r,a,c,l,u){var m=u.getKey;return e.slice(t,n+1).map(function(d,v){var f=t+v,h=l(d,f,{style:{width:r},offsetX:a}),s=m(d);return o.createElement(_r,{key:s,setRef:function(p){return c(d,p)}},h)})}function $r(e,t,n){var r=e.length,a=t.length,c,l;if(r===0&&a===0)return null;r<a?(c=e,l=t):(c=t,l=e);var u={__EMPTY_ITEM__:!0};function m(g){return g!==void 0?n(g):u}for(var d=null,v=Math.abs(r-a)!==1,f=0;f<l.length;f+=1){var h=m(c[f]),s=m(l[f]);if(h!==s){d=f,v=v||h!==m(l[f+1]);break}}return d===null?null:{index:d,multiple:v}}function Dr(e,t,n){var r=o.useState(e),a=i._slicedToArray(r,2),c=a[0],l=a[1],u=o.useState(null),m=i._slicedToArray(u,2),d=m[0],v=m[1];return o.useEffect(function(){var f=$r(c||[],e||[],t);(f==null?void 0:f.index)!==void 0&&v(e[f.index]),l(e)},[e]),[d]}var ln=(typeof navigator>"u"?"undefined":i._typeof(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const Pn=function(e,t,n,r){var a=K.useRef(!1),c=K.useRef(null);function l(){clearTimeout(c.current),a.current=!0,c.current=setTimeout(function(){a.current=!1},50)}var u=K.useRef({top:e,bottom:t,left:n,right:r});return u.current.top=e,u.current.bottom=t,u.current.left=n,u.current.right=r,function(m,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=m?d<0&&u.current.left||d>0&&u.current.right:d<0&&u.current.top||d>0&&u.current.bottom;return v&&f?(clearTimeout(c.current),a.current=!1):(!f||a.current)&&l(),!a.current&&f}};function Pr(e,t,n,r,a,c,l){var u=K.useRef(0),m=K.useRef(null),d=K.useRef(null),v=K.useRef(!1),f=Pn(t,n,r,a);function h(S,R){if(w.wrapperRaf.cancel(m.current),!f(!1,R)){var C=S;if(!C._virtualHandled)C._virtualHandled=!0;else return;u.current+=R,d.current=R,ln||C.preventDefault(),m.current=w.wrapperRaf(function(){var L=v.current?10:1;l(u.current*L,!1),u.current=0})}}function s(S,R){l(R,!0),ln||S.preventDefault()}var g=K.useRef(null),p=K.useRef(null);function b(S){if(e){w.wrapperRaf.cancel(p.current),p.current=w.wrapperRaf(function(){g.current=null},2);var R=S.deltaX,C=S.deltaY,L=S.shiftKey,x=R,_=C;(g.current==="sx"||!g.current&&L&&C&&!R)&&(x=C,_=0,g.current="sx");var V=Math.abs(x),j=Math.abs(_);g.current===null&&(g.current=c&&V>j?"x":"y"),g.current==="y"?h(S,_):s(S,x)}}function E(S){e&&(v.current=S.detail===d.current)}return[b,E]}function Nr(e,t,n,r){var a=o.useMemo(function(){return[new Map,[]]},[e,n.id,r]),c=i._slicedToArray(a,2),l=c[0],u=c[1],m=function(v){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v,h=l.get(v),s=l.get(f);if(h===void 0||s===void 0)for(var g=e.length,p=u.length;p<g;p+=1){var b,E=e[p],S=t(E);l.set(S,p);var R=(b=n.get(S))!==null&&b!==void 0?b:r;if(u[p]=(u[p-1]||0)+R,S===v&&(h=p),S===f&&(s=p),h!==void 0&&s!==void 0)break}return{top:u[h-1]||0,bottom:u[s]}};return m}var Tr=function(){function e(){w._classCallCheck(this,e),i._defineProperty(this,"maps",void 0),i._defineProperty(this,"id",0),i._defineProperty(this,"diffKeys",new Set),this.maps=Object.create(null)}return w._createClass(e,[{key:"set",value:function(n,r){this.maps[n]=r,this.id+=1,this.diffKeys.add(n)}},{key:"get",value:function(n){return this.maps[n]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),e}();function cn(e){var t=parseFloat(e);return isNaN(t)?0:t}function Ar(e,t,n){var r=o.useState(0),a=i._slicedToArray(r,2),c=a[0],l=a[1],u=K.useRef(new Map),m=K.useRef(new Tr),d=K.useRef(0);function v(){d.current+=1}function f(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;v();var g=function(){var E=!1;u.current.forEach(function(S,R){if(S&&S.offsetParent){var C=S.offsetHeight,L=getComputedStyle(S),x=L.marginTop,_=L.marginBottom,V=cn(x),j=cn(_),Y=C+V+j;m.current.get(R)!==Y&&(m.current.set(R,Y),E=!0)}}),E&&l(function(S){return S+1})};if(s)g();else{d.current+=1;var p=d.current;Promise.resolve().then(function(){p===d.current&&g()})}}function h(s,g){var p=e(s);u.current.get(p),g?(u.current.set(p,g),f()):u.current.delete(p)}return K.useEffect(function(){return v},[]),[h,f,m.current,c]}var un=14/15;function Br(e,t,n){var r=K.useRef(!1),a=K.useRef(0),c=K.useRef(0),l=K.useRef(null),u=K.useRef(null),m,d=function(s){if(r.current){var g=Math.ceil(s.touches[0].pageX),p=Math.ceil(s.touches[0].pageY),b=a.current-g,E=c.current-p,S=Math.abs(b)>Math.abs(E);S?a.current=g:c.current=p;var R=n(S,S?b:E,!1,s);R&&s.preventDefault(),clearInterval(u.current),R&&(u.current=setInterval(function(){S?b*=un:E*=un;var C=Math.floor(S?b:E);(!n(S,C,!0)||Math.abs(C)<=.1)&&clearInterval(u.current)},16))}},v=function(){r.current=!1,m()},f=function(s){m(),s.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(s.touches[0].pageX),c.current=Math.ceil(s.touches[0].pageY),l.current=s.target,l.current.addEventListener("touchmove",d,{passive:!1}),l.current.addEventListener("touchend",v,{passive:!0}))};m=function(){l.current&&(l.current.removeEventListener("touchmove",d),l.current.removeEventListener("touchend",v))},w.useLayoutEffect(function(){return e&&t.current.addEventListener("touchstart",f,{passive:!0}),function(){var h;(h=t.current)===null||h===void 0||h.removeEventListener("touchstart",f),m(),clearInterval(u.current)}},[e])}function sn(e){return Math.floor(Math.pow(e,.5))}function jt(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}function Lr(e,t,n){o.useEffect(function(){var r=t.current;if(e&&r){var a=!1,c,l,u=function(){w.wrapperRaf.cancel(c)},m=function h(){u(),c=w.wrapperRaf(function(){n(l),h()})},d=function(s){if(!s.target.draggable){var g=s;g._virtualHandled||(g._virtualHandled=!0,a=!0)}},v=function(){a=!1,u()},f=function(s){if(a){var g=jt(s,!1),p=r.getBoundingClientRect(),b=p.top,E=p.bottom;if(g<=b){var S=b-g;l=-sn(S),m()}else if(g>=E){var R=g-E;l=sn(R),m()}else u()}};return r.addEventListener("mousedown",d),r.ownerDocument.addEventListener("mouseup",v),r.ownerDocument.addEventListener("mousemove",f),function(){r.removeEventListener("mousedown",d),r.ownerDocument.removeEventListener("mouseup",v),r.ownerDocument.removeEventListener("mousemove",f),u()}}},[e])}var dn=10;function Vr(e,t,n,r,a,c,l,u){var m=o.useRef(),d=o.useState(null),v=i._slicedToArray(d,2),f=v[0],h=v[1];return w.useLayoutEffect(function(){if(f&&f.times<dn){if(!e.current){h(function(Z){return i._objectSpread2({},Z)});return}c();var s=f.targetAlign,g=f.originAlign,p=f.index,b=f.offset,E=e.current.clientHeight,S=!1,R=s,C=null;if(E){for(var L=s||g,x=0,_=0,V=0,j=Math.min(t.length-1,p),Y=0;Y<=j;Y+=1){var z=a(t[Y]);_=x;var U=n.get(z);V=_+(U===void 0?r:U),x=V}for(var Q=L==="top"?b:E-b,oe=j;oe>=0;oe-=1){var ee=a(t[oe]),X=n.get(ee);if(X===void 0){S=!0;break}if(Q-=X,Q<=0)break}switch(L){case"top":C=_-b;break;case"bottom":C=V-E+b;break;default:{var ae=e.current.scrollTop,te=ae+E;_<ae?R="top":V>te&&(R="bottom")}}C!==null&&l(C),C!==f.lastTop&&(S=!0)}S&&h(i._objectSpread2(i._objectSpread2({},f),{},{times:f.times+1,targetAlign:R,lastTop:C}))}else process.env.NODE_ENV!=="production"&&(f==null?void 0:f.times)===dn&&i.warningOnce(!1,"Seems `scrollTo` with `rc-virtual-list` reach the max limitation. Please fire issue for us. Thanks.")},[f,e.current]),function(s){if(s==null){u();return}if(w.wrapperRaf.cancel(m.current),typeof s=="number")l(s);else if(s&&i._typeof(s)==="object"){var g,p=s.align;"index"in s?g=s.index:g=t.findIndex(function(S){return a(S)===s.key});var b=s.offset,E=b===void 0?0:b;h({times:0,index:g,offset:E,originAlign:p})}}}var Ht=o.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,c=e.scrollRange,l=e.onStartMove,u=e.onStopMove,m=e.onScroll,d=e.horizontal,v=e.spinSize,f=e.containerSize,h=e.style,s=e.thumbStyle,g=e.showScrollBar,p=o.useState(!1),b=i._slicedToArray(p,2),E=b[0],S=b[1],R=o.useState(null),C=i._slicedToArray(R,2),L=C[0],x=C[1],_=o.useState(null),V=i._slicedToArray(_,2),j=V[0],Y=V[1],z=!r,U=o.useRef(),Q=o.useRef(),oe=o.useState(g),ee=i._slicedToArray(oe,2),X=ee[0],ae=ee[1],te=o.useRef(),Z=function(){g===!0||g===!1||(clearTimeout(te.current),ae(!0),te.current=setTimeout(function(){ae(!1)},3e3))},I=c-f||0,T=f-v||0,fe=o.useMemo(function(){if(a===0||I===0)return 0;var M=a/I;return M*T},[a,I,T]),ie=function(y){y.stopPropagation(),y.preventDefault()},k=o.useRef({top:fe,dragging:E,pageY:L,startTop:j});k.current={top:fe,dragging:E,pageY:L,startTop:j};var se=function(y){S(!0),x(jt(y,d)),Y(k.current.top),l(),y.stopPropagation(),y.preventDefault()};o.useEffect(function(){var M=function(O){O.preventDefault()},y=U.current,D=Q.current;return y.addEventListener("touchstart",M,{passive:!1}),D.addEventListener("touchstart",se,{passive:!1}),function(){y.removeEventListener("touchstart",M),D.removeEventListener("touchstart",se)}},[]);var ye=o.useRef();ye.current=I;var pe=o.useRef();pe.current=T,o.useEffect(function(){if(E){var M,y=function(O){var F=k.current,le=F.dragging,ve=F.pageY,ne=F.startTop;w.wrapperRaf.cancel(M);var Se=U.current.getBoundingClientRect(),Ae=f/(d?Se.width:Se.height);if(le){var xe=(jt(O,d)-ve)*Ae,$e=ne;!z&&d?$e-=xe:$e+=xe;var de=ye.current,Ke=pe.current,We=Ke?$e/Ke:0,be=Math.ceil(We*de);be=Math.max(be,0),be=Math.min(be,de),M=w.wrapperRaf(function(){m(be,d)})}},D=function(){S(!1),u()};return window.addEventListener("mousemove",y,{passive:!0}),window.addEventListener("touchmove",y,{passive:!0}),window.addEventListener("mouseup",D,{passive:!0}),window.addEventListener("touchend",D,{passive:!0}),function(){window.removeEventListener("mousemove",y),window.removeEventListener("touchmove",y),window.removeEventListener("mouseup",D),window.removeEventListener("touchend",D),w.wrapperRaf.cancel(M)}}},[E]),o.useEffect(function(){return Z(),function(){clearTimeout(te.current)}},[a]),o.useImperativeHandle(t,function(){return{delayHidden:Z}});var Re="".concat(n,"-scrollbar"),ue={position:"absolute",visibility:X?null:"hidden"},ge={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return d?(ue.height=8,ue.left=0,ue.right=0,ue.bottom=0,ge.height="100%",ge.width=v,z?ge.left=fe:ge.right=fe):(ue.width=8,ue.top=0,ue.bottom=0,z?ue.right=0:ue.left=0,ge.width="100%",ge.height=v,ge.top=fe),o.createElement("div",{ref:U,className:i.classNames(Re,i._defineProperty(i._defineProperty(i._defineProperty({},"".concat(Re,"-horizontal"),d),"".concat(Re,"-vertical"),!d),"".concat(Re,"-visible"),X)),style:i._objectSpread2(i._objectSpread2({},ue),h),onMouseDown:ie,onMouseMove:Z},o.createElement("div",{ref:Q,className:i.classNames("".concat(Re,"-thumb"),i._defineProperty({},"".concat(Re,"-thumb-moving"),E)),style:i._objectSpread2(i._objectSpread2({},ge),s),onMouseDown:se}))});process.env.NODE_ENV!=="production"&&(Ht.displayName="ScrollBar");var zr=20;function fn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,zr),Math.floor(n)}var jr=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Hr=[],Fr={overflowY:"auto",overflowAnchor:"none"};function Kr(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,c=e.height,l=e.itemHeight,u=e.fullHeight,m=u===void 0?!0:u,d=e.style,v=e.data,f=e.children,h=e.itemKey,s=e.virtual,g=e.direction,p=e.scrollWidth,b=e.component,E=b===void 0?"div":b,S=e.onScroll,R=e.onVirtualScroll,C=e.onVisibleChange,L=e.innerProps,x=e.extraRender,_=e.styles,V=e.showScrollBar,j=V===void 0?"optional":V,Y=i._objectWithoutProperties(e,jr),z=o.useCallback(function(N){return typeof h=="function"?h(N):N==null?void 0:N[h]},[h]),U=Ar(z),Q=i._slicedToArray(U,4),oe=Q[0],ee=Q[1],X=Q[2],ae=Q[3],te=!!(s!==!1&&c&&l),Z=o.useMemo(function(){return Object.values(X.maps).reduce(function(N,$){return N+$},0)},[X.id,X.maps]),I=te&&v&&(Math.max(l*v.length,Z)>c||!!p),T=g==="rtl",fe=i.classNames(r,i._defineProperty({},"".concat(r,"-rtl"),T),a),ie=v||Hr,k=K.useRef(),se=K.useRef(),ye=K.useRef(),pe=K.useState(0),Re=i._slicedToArray(pe,2),ue=Re[0],ge=Re[1],M=K.useState(0),y=i._slicedToArray(M,2),D=y[0],q=y[1],O=K.useState(!1),F=i._slicedToArray(O,2),le=F[0],ve=F[1],ne=function(){ve(!0)},Se=function(){ve(!1)},Ae={getKey:z};function xe(N){ge(function($){var J;typeof N=="function"?J=N($):J=N;var me=gt(J);return k.current.scrollTop=me,me})}var $e=K.useRef({start:0,end:ie.length}),de=K.useRef(),Ke=Dr(ie,z),We=i._slicedToArray(Ke,1),be=We[0];de.current=be;var Oe=o.useMemo(function(){if(!te)return{scrollHeight:void 0,start:0,end:ie.length-1,offset:void 0};if(!I){var N;return{scrollHeight:((N=se.current)===null||N===void 0?void 0:N.offsetHeight)||0,start:0,end:ie.length-1,offset:void 0}}for(var $=0,J,me,Ne,ht=ie.length,nt=0;nt<ht;nt+=1){var $t=ie[nt],Dt=z($t),Ct=X.get(Dt),wt=$+(Ct===void 0?l:Ct);wt>=ue&&J===void 0&&(J=nt,me=$),wt>ue+c&&Ne===void 0&&(Ne=nt),$=wt}return J===void 0&&(J=0,me=0,Ne=Math.ceil(c/l)),Ne===void 0&&(Ne=ie.length-1),Ne=Math.min(Ne+1,ie.length-1),{scrollHeight:$,start:J,end:Ne,offset:me}},[I,te,ue,ie,ae,c]),Ce=Oe.scrollHeight,Ie=Oe.start,De=Oe.end,Ye=Oe.offset;$e.current.start=Ie,$e.current.end=De,o.useLayoutEffect(function(){var N=X.getRecord();if(N.size===1){var $=Array.from(N)[0],J=ie[Ie];if(J){var me=z(J);if(me===$){var Ne=X.get($),ht=Ne-l;xe(function(nt){return nt+ht})}}}X.resetRecord()},[Ce]);var ze=o.useState({width:0,height:c}),Le=i._slicedToArray(ze,2),we=Le[0],ut=Le[1],Ve=function($){ut({width:$.offsetWidth,height:$.offsetHeight})},Pe=K.useRef(),Me=K.useRef(),St=o.useMemo(function(){return fn(we.width,p)},[we.width,p]),pt=o.useMemo(function(){return fn(we.height,Ce)},[we.height,Ce]),at=Ce-c,st=K.useRef(at);st.current=at;function gt(N){var $=N;return Number.isNaN(st.current)||($=Math.min($,st.current)),$=Math.max($,0),$}var tt=ue<=0,Ue=ue>=at,it=D<=0,lt=D>=p,_e=Pn(tt,Ue,it,lt),ct=function(){return{x:T?-D:D,y:ue}},ke=K.useRef(ct()),P=w.useEvent(function(N){if(R){var $=i._objectSpread2(i._objectSpread2({},ct()),N);(ke.current.x!==$.x||ke.current.y!==$.y)&&(R($),ke.current=$)}});function H(N,$){var J=N;$?(tn.flushSync(function(){q(J)}),P()):xe(J)}function A(N){var $=N.currentTarget.scrollTop;$!==ue&&xe($),S==null||S(N),P()}var B=function($){var J=$,me=p?p-we.width:0;return J=Math.max(J,0),J=Math.min(J,me),J},re=w.useEvent(function(N,$){$?(tn.flushSync(function(){q(function(J){var me=J+(T?-N:N);return B(me)})}),P()):xe(function(J){var me=J+N;return me})}),he=Pr(te,tt,Ue,it,lt,!!p,re),Xe=i._slicedToArray(he,2),je=Xe[0],Qe=Xe[1];Br(te,k,function(N,$,J,me){var Ne=me;return _e(N,$,J)?!1:!Ne||!Ne._virtualHandled?(Ne&&(Ne._virtualHandled=!0),je({preventDefault:function(){},deltaX:N?$:0,deltaY:N?0:$}),!0):!1}),Lr(I,k,function(N){xe(function($){return $+N})}),w.useLayoutEffect(function(){function N(J){var me=tt&&J.detail<0,Ne=Ue&&J.detail>0;te&&!me&&!Ne&&J.preventDefault()}var $=k.current;return $.addEventListener("wheel",je,{passive:!1}),$.addEventListener("DOMMouseScroll",Qe,{passive:!0}),$.addEventListener("MozMousePixelScroll",N,{passive:!1}),function(){$.removeEventListener("wheel",je),$.removeEventListener("DOMMouseScroll",Qe),$.removeEventListener("MozMousePixelScroll",N)}},[te,tt,Ue]),w.useLayoutEffect(function(){if(p){var N=B(D);q(N),P({x:N})}},[we.width,p]);var Ee=function(){var $,J;($=Pe.current)===null||$===void 0||$.delayHidden(),(J=Me.current)===null||J===void 0||J.delayHidden()},Ze=Vr(k,ie,X,l,z,function(){return ee(!0)},xe,Ee);o.useImperativeHandle(t,function(){return{nativeElement:ye.current,getScrollInfo:ct,scrollTo:function($){function J(me){return me&&i._typeof(me)==="object"&&("left"in me||"top"in me)}J($)?($.left!==void 0&&q(B($.left)),Ze($.top)):Ze($)}}}),w.useLayoutEffect(function(){if(C){var N=ie.slice(Ie,De+1);C(N,ie)}},[Ie,De,ie]);var qe=Nr(ie,z,X,l),yt=x==null?void 0:x({start:Ie,end:De,virtual:I,offsetX:D,offsetY:Ye,rtl:T,getSize:qe}),Et=Mr(ie,Ie,De,p,D,oe,f,Ae),Je=null;c&&(Je=i._objectSpread2(i._defineProperty({},m?"height":"maxHeight",c),Fr),te&&(Je.overflowY="hidden",p&&(Je.overflowX="hidden"),le&&(Je.pointerEvents="none")));var Ge={};return T&&(Ge.dir="rtl"),o.createElement("div",i._extends({ref:ye,style:i._objectSpread2(i._objectSpread2({},d),{},{position:"relative"}),className:fe},Ge,Y),o.createElement(wn.RefResizeObserver,{onResize:Ve},o.createElement(E,{className:"".concat(r,"-holder"),style:Je,ref:k,onScroll:A,onMouseEnter:Ee},o.createElement(Dn,{prefixCls:r,height:Ce,offsetX:D,offsetY:Ye,scrollWidth:p,onInnerResize:ee,ref:se,innerProps:L,rtl:T,extra:yt},Et))),I&&Ce>c&&o.createElement(Ht,{ref:Pe,prefixCls:r,scrollOffset:ue,scrollRange:Ce,rtl:T,onScroll:H,onStartMove:ne,onStopMove:Se,spinSize:pt,containerSize:we.height,style:_==null?void 0:_.verticalScrollBar,thumbStyle:_==null?void 0:_.verticalScrollBarThumb,showScrollBar:j}),I&&p>we.width&&o.createElement(Ht,{ref:Me,prefixCls:r,scrollOffset:D,scrollRange:p,rtl:T,onScroll:H,onStartMove:ne,onStopMove:Se,spinSize:St,containerSize:we.width,horizontal:!0,style:_==null?void 0:_.horizontalScrollBar,thumbStyle:_==null?void 0:_.horizontalScrollBarThumb,showScrollBar:j}))}var Gt=o.forwardRef(Kr);Gt.displayName="List";function Wr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ur=["disabled","title","children","style","className"];function vn(e){return typeof e=="string"||typeof e=="number"}var Xr=function(t,n){var r=ir(),a=r.prefixCls,c=r.id,l=r.open,u=r.multiple,m=r.mode,d=r.searchValue,v=r.toggleOpen,f=r.notFoundContent,h=r.onPopupScroll,s=o.useContext(Ut),g=s.maxCount,p=s.flattenOptions,b=s.onActiveValue,E=s.defaultActiveFirstOption,S=s.onSelect,R=s.menuItemSelectedIcon,C=s.rawValues,L=s.fieldNames,x=s.virtual,_=s.direction,V=s.listHeight,j=s.listItemHeight,Y=s.optionRender,z="".concat(a,"-item"),U=w.useMemo(function(){return p},[l,p],function(M,y){return y[0]&&M[1]!==y[1]}),Q=o.useRef(null),oe=o.useMemo(function(){return u&&Vt(g)&&(C==null?void 0:C.size)>=g},[u,g,C==null?void 0:C.size]),ee=function(y){y.preventDefault()},X=function(y){var D;(D=Q.current)===null||D===void 0||D.scrollTo(typeof y=="number"?{index:y}:y)},ae=o.useCallback(function(M){return m==="combobox"?!1:C.has(M)},[m,w._toConsumableArray(C).toString(),C.size]),te=function(y){for(var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,q=U.length,O=0;O<q;O+=1){var F=(y+O*D+q)%q,le=U[F]||{},ve=le.group,ne=le.data;if(!ve&&!(ne!=null&&ne.disabled)&&(ae(ne.value)||!oe))return F}return-1},Z=o.useState(function(){return te(0)}),I=i._slicedToArray(Z,2),T=I[0],fe=I[1],ie=function(y){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;fe(y);var q={source:D?"keyboard":"mouse"},O=U[y];if(!O){b(null,-1,q);return}b(O.value,y,q)};K.useEffect(function(){ie(E!==!1?te(0):-1)},[U.length,d]);var k=o.useCallback(function(M){return m==="combobox"?String(M).toLowerCase()===d.toLowerCase():C.has(M)},[m,d,w._toConsumableArray(C).toString(),C.size]);K.useEffect(function(){var M=setTimeout(function(){if(!u&&l&&C.size===1){var D=Array.from(C)[0],q=U.findIndex(function(O){var F=O.data;return F.value===D});q!==-1&&(ie(q),X(q))}});if(l){var y;(y=Q.current)===null||y===void 0||y.scrollTo(void 0)}return function(){return clearTimeout(M)}},[l,d]);var se=function(y){y!==void 0&&S(y,{selected:!C.has(y)}),u||v(!1)};if(o.useImperativeHandle(n,function(){return{onKeyDown:function(y){var D=y.which,q=y.ctrlKey;switch(D){case W.KeyCode.N:case W.KeyCode.P:case W.KeyCode.UP:case W.KeyCode.DOWN:{var O=0;if(D===W.KeyCode.UP?O=-1:D===W.KeyCode.DOWN?O=1:Wr()&&q&&(D===W.KeyCode.N?O=1:D===W.KeyCode.P&&(O=-1)),O!==0){var F=te(T+O,O);X(F),ie(F,!0)}break}case W.KeyCode.TAB:case W.KeyCode.ENTER:{var le,ve=U[T];ve&&!(ve!=null&&(le=ve.data)!==null&&le!==void 0&&le.disabled)&&!oe?se(ve.value):se(void 0),l&&y.preventDefault();break}case W.KeyCode.ESC:v(!1),l&&y.stopPropagation()}},onKeyUp:function(){},scrollTo:function(y){X(y)}}}),U.length===0)return o.createElement("div",{role:"listbox",id:"".concat(c,"_list"),className:"".concat(z,"-empty"),onMouseDown:ee},f);var ye=Object.keys(L).map(function(M){return L[M]}),pe=function(y){return y.label};function Re(M,y){var D=M.group;return{role:D?"presentation":"option",id:"".concat(c,"_list_").concat(y)}}var ue=function(y){var D=U[y];if(!D)return null;var q=D.data||{},O=q.value,F=D.group,le=Rt.pickAttrs(q,!0),ve=pe(D);return D?o.createElement("div",i._extends({"aria-label":typeof ve=="string"&&!F?ve:null},le,{key:y},Re(D,y),{"aria-selected":k(O)}),O):null},ge={role:"listbox",id:"".concat(c,"_list")};return o.createElement(o.Fragment,null,x&&o.createElement("div",i._extends({},ge,{style:{height:0,width:0,overflow:"hidden"}}),ue(T-1),ue(T),ue(T+1)),o.createElement(Gt,{itemKey:"key",ref:Q,data:U,height:V,itemHeight:j,fullHeight:!1,onMouseDown:ee,onScroll:h,virtual:x,direction:_,innerProps:x?null:ge},function(M,y){var D=M.group,q=M.groupOption,O=M.data,F=M.label,le=M.value,ve=O.key;if(D){var ne,Se=(ne=O.title)!==null&&ne!==void 0?ne:vn(F)?F.toString():void 0;return o.createElement("div",{className:i.classNames(z,"".concat(z,"-group"),O.className),title:Se},F!==void 0?F:ve)}var Ae=O.disabled,xe=O.title;O.children;var $e=O.style,de=O.className,Ke=i._objectWithoutProperties(O,Ur),We=Cn.omit(Ke,ye),be=ae(le),Oe=Ae||!be&&oe,Ce="".concat(z,"-option"),Ie=i.classNames(z,Ce,de,i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty({},"".concat(Ce,"-grouped"),q),"".concat(Ce,"-active"),T===y&&!Oe),"".concat(Ce,"-disabled"),Oe),"".concat(Ce,"-selected"),be)),De=pe(M),Ye=!R||typeof R=="function"||be,ze=typeof De=="number"?De:De||le,Le=vn(ze)?ze.toString():void 0;return xe!==void 0&&(Le=xe),o.createElement("div",i._extends({},Rt.pickAttrs(We),x?{}:Re(M,y),{"aria-selected":k(le),className:Ie,title:Le,onMouseMove:function(){T===y||Oe||ie(y)},onClick:function(){Oe||se(le)},style:$e}),o.createElement("div",{className:"".concat(Ce,"-content")},typeof Y=="function"?Y(M,{index:y}):ze),o.isValidElement(R)||be,Ye&&o.createElement(Mt,{className:"".concat(z,"-option-state"),customizeIcon:R,customizeIconProps:{value:le,disabled:Oe,isSelected:be}},be?"✓":null))}))},Nn=o.forwardRef(Xr);process.env.NODE_ENV!=="production"&&(Nn.displayName="OptionList");const qr=function(e,t){var n=o.useRef({values:new Map,options:new Map}),r=o.useMemo(function(){var c=n.current,l=c.values,u=c.options,m=e.map(function(f){if(f.label===void 0){var h;return i._objectSpread2(i._objectSpread2({},f),{},{label:(h=l.get(f.value))===null||h===void 0?void 0:h.label})}return f}),d=new Map,v=new Map;return m.forEach(function(f){d.set(f.value,f),v.set(f.value,t.get(f.value)||u.get(f.value))}),n.current.values=d,n.current.options=v,m},[e,t]),a=o.useCallback(function(c){return t.get(c)||n.current.options.get(c)},[t]);return[r,a]};function Nt(e,t){return Wt(e).join("").toUpperCase().includes(t)}const Gr=function(e,t,n,r,a){return o.useMemo(function(){if(!n||r===!1)return e;var c=t.options,l=t.label,u=t.value,m=[],d=typeof r=="function",v=n.toUpperCase(),f=d?r:function(s,g){return a?Nt(g[a],v):g[c]?Nt(g[l!=="children"?l:"label"],v):Nt(g[u],v)},h=d?function(s){return zt(s)}:function(s){return s};return e.forEach(function(s){if(s[c]){var g=f(n,h(s));if(g)m.push(s);else{var p=s[c].filter(function(b){return f(n,h(b))});p.length&&m.push(i._objectSpread2(i._objectSpread2({},s),{},i._defineProperty({},c,p)))}return}f(n,h(s))&&m.push(s)}),m},[e,r,a,n,t])};var mn=0,Yr=process.env.NODE_ENV!=="test"&&i.canUseDom();function Qr(){var e;return Yr?(e=mn,mn+=1):e="TEST_OR_SSR",e}function Zr(e){var t=o.useState(),n=i._slicedToArray(t,2),r=n[0],a=n[1];return o.useEffect(function(){a("rc_select_".concat(Qr()))},[]),e||r}var Jr=["children","value"],kr=["children"];function eo(e){var t=e,n=t.key,r=t.props,a=r.children,c=r.value,l=i._objectWithoutProperties(r,Jr);return i._objectSpread2({key:n,value:c!==void 0?c:n,children:a},l)}function Yt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Bt.toArray(e).map(function(n,r){if(!o.isValidElement(n)||!n.type)return null;var a=n,c=a.type.isSelectOptGroup,l=a.key,u=a.props,m=u.children,d=i._objectWithoutProperties(u,kr);return t||!c?eo(n):i._objectSpread2(i._objectSpread2({key:"__RC_SELECT_GRP__".concat(l===null?r:l,"__"),label:l},d),{},{options:Yt(m)})}).filter(function(n){return n})}var to=function(t,n,r,a,c){return o.useMemo(function(){var l=t,u=!t;u&&(l=Yt(n));var m=new Map,d=new Map,v=function(s,g,p){p&&typeof p=="string"&&s.set(g[p],g)},f=function h(s){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p=0;p<s.length;p+=1){var b=s[p];!b[r.options]||g?(m.set(b[r.value],b),v(d,b,r.label),v(d,b,a),v(d,b,c)):h(b[r.options],!0)}};return f(l),{options:l,valueOptions:m,labelOptions:d}},[t,n,r,a,c])};function pn(e){var t=o.useRef();t.current=e;var n=o.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function no(e){var t=e.mode,n=e.options,r=e.children,a=e.backfill,c=e.allowClear,l=e.placeholder,u=e.getInputElement,m=e.showSearch,d=e.onSearch,v=e.defaultOpen,f=e.autoFocus,h=e.labelInValue,s=e.value,g=e.inputValue,p=e.optionLabelProp,b=_t(t),E=m!==void 0?m:b||t==="combobox",S=n||Yt(r);if(i.warningOnce(t!=="tags"||S.every(function(x){return!x.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),t==="tags"||t==="combobox"){var R=S.some(function(x){return x.options?x.options.some(function(_){return typeof("value"in _?_.value:_.key)=="number"}):typeof("value"in x?x.value:x.key)=="number"});i.warningOnce(!R,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(i.warningOnce(t!=="combobox"||!p,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),i.warningOnce(t==="combobox"||!a,"`backfill` only works with `combobox` mode."),i.warningOnce(t==="combobox"||!u,"`getInputElement` only work with `combobox` mode."),i.noteOnce(t!=="combobox"||!u||!c||!l,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),d&&!E&&t!=="combobox"&&t!=="tags"&&i.warningOnce(!1,"`onSearch` should work with `showSearch` instead of use alone."),i.noteOnce(!v||f,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),s!=null){var C=Wt(s);i.warningOnce(!h||C.every(function(x){return i._typeof(x)==="object"&&("key"in x||"value"in x)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),i.warningOnce(!b||Array.isArray(s),"`value` should be array when `mode` is `multiple` or `tags`")}if(r){var L=null;Bt.toArray(r).some(function(x){if(!o.isValidElement(x)||!x.type)return!1;var _=x,V=_.type;if(V.isSelectOption)return!1;if(V.isSelectOptGroup){var j=Bt.toArray(x.props.children).every(function(Y){return!o.isValidElement(Y)||!x.type||Y.type.isSelectOption?!0:(L=Y.type,!1)});return!j}return L=V,!0}),L&&i.warningOnce(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(L.displayName||L.name||L,"`.")),i.warningOnce(g===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function ro(e,t){if(e){var n=function r(a){for(var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=0;l<a.length;l++){var u=a[l];if(u[t==null?void 0:t.value]===null)return i.warningOnce(!1,"`value` in Select options should not be `null`."),!0;if(!c&&Array.isArray(u[t==null?void 0:t.options])&&r(u[t==null?void 0:t.options],!0))break}};n(e)}}var oo=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],ao=["inputValue"];function io(e){return!e||i._typeof(e)!=="object"}var Tn=o.forwardRef(function(e,t){var n=e.id,r=e.mode,a=e.prefixCls,c=a===void 0?"rc-select":a,l=e.backfill,u=e.fieldNames,m=e.inputValue,d=e.searchValue,v=e.onSearch,f=e.autoClearSearchValue,h=f===void 0?!0:f,s=e.onSelect,g=e.onDeselect,p=e.dropdownMatchSelectWidth,b=p===void 0?!0:p,E=e.filterOption,S=e.filterSort,R=e.optionFilterProp,C=e.optionLabelProp,L=e.options,x=e.optionRender,_=e.children,V=e.defaultActiveFirstOption,j=e.menuItemSelectedIcon,Y=e.virtual,z=e.direction,U=e.listHeight,Q=U===void 0?200:U,oe=e.listItemHeight,ee=oe===void 0?20:oe,X=e.labelRender,ae=e.value,te=e.defaultValue,Z=e.labelInValue,I=e.onChange,T=e.maxCount,fe=i._objectWithoutProperties(e,oo),ie=Zr(n),k=_t(r),se=!!(!L&&_),ye=o.useMemo(function(){return E===void 0&&r==="combobox"?!1:E},[E,r]),pe=o.useMemo(function(){return Mn(u,se)},[JSON.stringify(u),se]),Re=At.useMergedState("",{value:d!==void 0?d:m,postState:function(H){return H||""}}),ue=i._slicedToArray(Re,2),ge=ue[0],M=ue[1],y=to(L,_,pe,R,C),D=y.valueOptions,q=y.labelOptions,O=y.options,F=o.useCallback(function(P){var H=Wt(P);return H.map(function(A){var B,re,he,Xe,je;if(io(A))B=A;else{var Qe;he=A.key,re=A.label,B=(Qe=A.value)!==null&&Qe!==void 0?Qe:he}var Ee=D.get(B);if(Ee){var Ze;if(re===void 0&&(re=Ee==null?void 0:Ee[C||pe.label]),he===void 0&&(he=(Ze=Ee==null?void 0:Ee.key)!==null&&Ze!==void 0?Ze:B),Xe=Ee==null?void 0:Ee.disabled,je=Ee==null?void 0:Ee.title,process.env.NODE_ENV!=="production"&&!C){var qe=Ee==null?void 0:Ee[pe.label];qe!==void 0&&!o.isValidElement(qe)&&!o.isValidElement(re)&&qe!==re&&i.warningOnce(!1,"`label` of `value` is not same as `label` in Select options.")}}return{label:re,value:B,key:he,disabled:Xe,title:je}})},[pe,C,D]),le=At.useMergedState(te,{value:ae}),ve=i._slicedToArray(le,2),ne=ve[0],Se=ve[1],Ae=o.useMemo(function(){var P,H=k&&ne===null?[]:ne,A=F(H);return r==="combobox"&&mr((P=A[0])===null||P===void 0?void 0:P.value)?[]:A},[ne,F,r,k]),xe=qr(Ae,D),$e=i._slicedToArray(xe,2),de=$e[0],Ke=$e[1],We=o.useMemo(function(){if(!r&&de.length===1){var P=de[0];if(P.value===null&&(P.label===null||P.label===void 0))return[]}return de.map(function(H){var A;return i._objectSpread2(i._objectSpread2({},H),{},{label:(A=typeof X=="function"?X(H):H.label)!==null&&A!==void 0?A:H.value})})},[r,de,X]),be=o.useMemo(function(){return new Set(de.map(function(P){return P.value}))},[de]);o.useEffect(function(){if(r==="combobox"){var P,H=(P=de[0])===null||P===void 0?void 0:P.value;M(vr(H)?String(H):"")}},[de]);var Oe=pn(function(P,H){var A=H??P;return i._defineProperty(i._defineProperty({},pe.value,P),pe.label,A)}),Ce=o.useMemo(function(){if(r!=="tags")return O;var P=w._toConsumableArray(O),H=function(B){return D.has(B)};return w._toConsumableArray(de).sort(function(A,B){return A.value<B.value?-1:1}).forEach(function(A){var B=A.value;H(B)||P.push(Oe(B,A.label))}),P},[Oe,O,D,de,r]),Ie=Gr(Ce,pe,ge,ye,R),De=o.useMemo(function(){return r!=="tags"||!ge||Ie.some(function(P){return P[R||"value"]===ge})||Ie.some(function(P){return P[pe.value]===ge})?Ie:[Oe(ge)].concat(w._toConsumableArray(Ie))},[Oe,R,r,Ie,ge,pe]),Ye=function P(H){var A=w._toConsumableArray(H).sort(function(B,re){return S(B,re,{searchValue:ge})});return A.map(function(B){return Array.isArray(B.options)?i._objectSpread2(i._objectSpread2({},B),{},{options:B.options.length>0?P(B.options):B.options}):B})},ze=o.useMemo(function(){return S?Ye(De):De},[De,S,ge]),Le=o.useMemo(function(){return Er(ze,{fieldNames:pe,childrenAsData:se})},[ze,pe,se]),we=function(H){var A=F(H);if(Se(A),I&&(A.length!==de.length||A.some(function(he,Xe){var je;return((je=de[Xe])===null||je===void 0?void 0:je.value)!==(he==null?void 0:he.value)}))){var B=Z?A:A.map(function(he){return he.value}),re=A.map(function(he){return zt(Ke(he.value))});I(k?B:B[0],k?re:re[0])}},ut=o.useState(null),Ve=i._slicedToArray(ut,2),Pe=Ve[0],Me=Ve[1],St=o.useState(0),pt=i._slicedToArray(St,2),at=pt[0],st=pt[1],gt=V!==void 0?V:r!=="combobox",tt=o.useCallback(function(P,H){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=A.source,re=B===void 0?"keyboard":B;st(H),l&&r==="combobox"&&P!==null&&re==="keyboard"&&Me(String(P))},[l,r]),Ue=function(H,A,B){var re=function(){var Je,Ge=Ke(H);return[Z?{label:Ge==null?void 0:Ge[pe.label],value:H,key:(Je=Ge==null?void 0:Ge.key)!==null&&Je!==void 0?Je:H}:H,zt(Ge)]};if(A&&s){var he=re(),Xe=i._slicedToArray(he,2),je=Xe[0],Qe=Xe[1];s(je,Qe)}else if(!A&&g&&B!=="clear"){var Ee=re(),Ze=i._slicedToArray(Ee,2),qe=Ze[0],yt=Ze[1];g(qe,yt)}},it=pn(function(P,H){var A,B=k?H.selected:!0;B?A=k?[].concat(w._toConsumableArray(de),[P]):[P]:A=de.filter(function(re){return re.value!==P}),we(A),Ue(P,B),r==="combobox"?Me(""):(!_t||h)&&(M(""),Me(""))}),lt=function(H,A){we(H);var B=A.type,re=A.values;(B==="remove"||B==="clear")&&re.forEach(function(he){Ue(he.value,!1,B)})},_e=function(H,A){if(M(H),Me(null),A.source==="submit"){var B=(H||"").trim();if(B){var re=Array.from(new Set([].concat(w._toConsumableArray(be),[B])));we(re),Ue(B,!0),M("")}return}A.source!=="blur"&&(r==="combobox"&&we(H),v==null||v(H))},ct=function(H){var A=H;r!=="tags"&&(A=H.map(function(re){var he=q.get(re);return he==null?void 0:he.value}).filter(function(re){return re!==void 0}));var B=Array.from(new Set([].concat(w._toConsumableArray(be),w._toConsumableArray(A))));we(B),B.forEach(function(re){Ue(re,!0)})},ke=o.useMemo(function(){var P=Y!==!1&&b!==!1;return i._objectSpread2(i._objectSpread2({},y),{},{flattenOptions:Le,onActiveValue:tt,defaultActiveFirstOption:gt,onSelect:it,menuItemSelectedIcon:j,rawValues:be,fieldNames:pe,virtual:P,direction:z,listHeight:Q,listItemHeight:ee,childrenAsData:se,maxCount:T,optionRender:x})},[T,y,Le,tt,gt,it,j,be,pe,Y,b,z,Q,ee,se,x]);return process.env.NODE_ENV!=="production"&&(no(e),ro(O,pe)),o.createElement(Ut.Provider,{value:ke},o.createElement($n,i._extends({},fe,{id:ie,prefixCls:c,ref:t,omitDomProps:ao,mode:r,displayValues:We,onDisplayValuesChange:lt,direction:z,searchValue:ge,onSearch:_e,autoClearSearchValue:h,onSearchSplit:ct,dropdownMatchSelectWidth:b,OptionList:Nn,emptyOptions:!Le.length,activeValue:Pe,activeDescendantId:"".concat(ie,"_list_").concat(at)})))});process.env.NODE_ENV!=="production"&&(Tn.displayName="Select");var Qt=Tn;Qt.Option=qt;Qt.OptGroup=Xt;const An=()=>{const[,e]=w.useToken(),[t]=Ft.useLocale("Empty"),r=new i.FastColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(t==null?void 0:t.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};process.env.NODE_ENV!=="production"&&(An.displayName="EmptyImage");const Bn=()=>{const[,e]=w.useToken(),[t]=Ft.useLocale("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:a,colorBgContainer:c}=e,{borderColor:l,shadowColor:u,contentColor:m}=K.useMemo(()=>({borderColor:new i.FastColor(n).onBackground(c).toHexString(),shadowColor:new i.FastColor(r).onBackground(c).toHexString(),contentColor:new i.FastColor(a).onBackground(c).toHexString()}),[n,r,a,c]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(t==null?void 0:t.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:u,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:l},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:m}))))};process.env.NODE_ENV!=="production"&&(Bn.displayName="SimpleImage");const lo=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:c,lineHeight:l}=e;return{[t]:{marginInline:r,fontSize:c,lineHeight:l,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},co=w.genStyleHooks("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=w.merge(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[lo(a)]});var uo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Ln=o.createElement(An,null),Vn=o.createElement(Bn,null),ot=e=>{const{className:t,rootClassName:n,prefixCls:r,image:a=Ln,description:c,children:l,imageStyle:u,style:m,classNames:d,styles:v}=e,f=uo(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:h,direction:s,className:g,style:p,classNames:b,styles:E}=w.useComponentConfig("empty"),S=h("empty",r),[R,C,L]=co(S),[x]=Ft.useLocale("Empty"),_=typeof c<"u"?c:x==null?void 0:x.description,V=typeof _=="string"?_:"empty";let j=null;if(typeof a=="string"?j=o.createElement("img",{alt:V,src:a}):j=a,process.env.NODE_ENV!=="production"){const Y=Ot.devUseWarning("Empty");[["imageStyle","styles: { image: {} }"]].forEach(z=>{let[U,Q]=z;Y.deprecated(!(U in e),U,Q)})}return R(o.createElement("div",Object.assign({className:i.classNames(C,L,S,g,{[`${S}-normal`]:a===Vn,[`${S}-rtl`]:s==="rtl"},t,n,b.root,d==null?void 0:d.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},E.root),p),v==null?void 0:v.root),m)},f),o.createElement("div",{className:i.classNames(`${S}-image`,b.image,d==null?void 0:d.image),style:Object.assign(Object.assign(Object.assign({},u),E.image),v==null?void 0:v.image)},j),_&&o.createElement("div",{className:i.classNames(`${S}-description`,b.description,d==null?void 0:d.description),style:Object.assign(Object.assign({},E.description),v==null?void 0:v.description)},_),l&&o.createElement("div",{className:i.classNames(`${S}-footer`,b.footer,d==null?void 0:d.footer),style:Object.assign(Object.assign({},E.footer),v==null?void 0:v.footer)},l)))};ot.PRESENTED_IMAGE_DEFAULT=Ln;ot.PRESENTED_IMAGE_SIMPLE=Vn;process.env.NODE_ENV!=="production"&&(ot.displayName="Empty");const zn=e=>{const{componentName:t}=e,{getPrefixCls:n}=K.useContext(w.ConfigContext),r=n("empty");switch(t){case"Table":case"List":return K.createElement(ot,{image:ot.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return K.createElement(ot,{image:ot.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return K.createElement(ot,null)}},so=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function fo(e,t){return e||so(t)}const gn=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},vo=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,c=`&${t}-slide-up-appear${t}-slide-up-appear-active`,l=`&${t}-slide-up-leave${t}-slide-up-leave-active`,u=`${n}-dropdown-placement-`,m=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},w.resetComponent(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
4
+ ${a}${u}bottomLeft,
5
+ ${c}${u}bottomLeft
6
+ `]:{animationName:vt.slideUpIn},[`
7
+ ${a}${u}topLeft,
8
+ ${c}${u}topLeft,
9
+ ${a}${u}topRight,
10
+ ${c}${u}topRight
11
+ `]:{animationName:vt.slideDownIn},[`${l}${u}bottomLeft`]:{animationName:vt.slideUpOut},[`
12
+ ${l}${u}topLeft,
13
+ ${l}${u}topRight
14
+ `]:{animationName:vt.slideDownOut},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},gn(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},w.textEllipsis),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},gn(e)),{color:e.colorTextDisabled})}),[`${m}:has(+ ${m})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${m}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},vt.initSlideMotion(e,"slide-up"),vt.initSlideMotion(e,"slide-down"),Lt.initMoveMotion(e,"move-up"),Lt.initMoveMotion(e,"move-down")]};function Tt(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,c=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),l=t?`${n}-${t}`:"";return{[`${n}-single${l}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},w.resetComponent(e,!0)),{display:"flex",borderRadius:a,flex:"1 1 auto",[`${n}-selection-wrap:after`]:{lineHeight:w.unit(c)},[`${n}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
15
+ ${n}-selection-item,
16
+ ${n}-selection-placeholder
17
+ `]:{display:"block",padding:0,lineHeight:w.unit(c),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
18
+ &${n}-show-arrow ${n}-selection-item,
19
+ &${n}-show-arrow ${n}-selection-search,
20
+ &${n}-show-arrow ${n}-selection-placeholder
21
+ `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${w.unit(r)}`,[`${n}-selection-search-input`]:{height:c,fontSize:e.fontSize},"&:after":{lineHeight:w.unit(c)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${w.unit(r)}`,"&:after":{display:"none"}}}}}}}function mo(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[Tt(e),Tt(w.merge(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${w.unit(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
22
+ &${t}-show-arrow ${t}-selection-item,
23
+ &${t}-show-arrow ${t}-selection-placeholder
24
+ `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},Tt(w.merge(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const po=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:c,controlHeightLG:l,paddingXXS:u,controlPaddingHorizontal:m,zIndexPopupBase:d,colorText:v,fontWeightStrong:f,controlItemBgActive:h,controlItemBgHover:s,colorBgContainer:g,colorFillSecondary:p,colorBgContainerDisabled:b,colorTextDisabled:E,colorPrimaryHover:S,colorPrimary:R,controlOutline:C}=e,L=u*2,x=r*2,_=Math.min(a-L,a-x),V=Math.min(c-L,c-x),j=Math.min(l-L,l-x);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(u/2),zIndexPopup:d+50,optionSelectedColor:v,optionSelectedFontWeight:f,optionSelectedBg:h,optionActiveBg:s,optionPadding:`${(a-t*n)/2}px ${m}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:g,clearBg:g,singleItemHeightLG:l,multipleItemBg:p,multipleItemBorderColor:"transparent",multipleItemHeight:_,multipleItemHeightSM:V,multipleItemHeightLG:j,multipleSelectorBgDisabled:b,multipleItemColorDisabled:E,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:S,activeBorderColor:R,activeOutlineColor:C,selectAffixPadding:u}},jn=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${w.unit(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${w.unit(a)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},hn=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},jn(e,t))}),go=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},jn(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),hn(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),hn(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${w.unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),Hn=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${w.unit(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},bn=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Hn(e,t))}),ho=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Hn(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),bn(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),bn(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${w.unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),bo=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${w.unit(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${w.unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),Fn=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{borderWidth:`0 0 ${w.unit(e.lineWidth)} 0`,borderStyle:`none none ${e.lineType} none`,borderColor:t.borderColor,background:e.selectorBg,borderRadius:0},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,outline:0},[`${n}-prefix`]:{color:t.color}}}},Sn=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},Fn(e,t))}),So=e=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Fn(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Sn(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Sn(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${w.unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),yo=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},go(e)),ho(e)),bo(e)),So(e))}),Co=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},wo=e=>{const{componentCls:t}=e;return{[`${t}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Eo=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},w.resetComponent(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Co(e)),wo(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},w.textEllipsis),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},w.textEllipsis),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},w.resetIcon()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},xo=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},Eo(e),mo(e),En.genMultipleStyle(e),vo(e),{[`${t}-rtl`]:{direction:"rtl"}},rr.genCompactItemStyle(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Io=w.genStyleHooks("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=w.merge(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[xo(r),yo(r)]},po,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});function Ro(e,t){return t!==void 0?t:e!==null}var Oo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Kn="SECRET_COMBOBOX_MODE_DO_NOT_USE",Wn=(e,t)=>{var n;const{prefixCls:r,bordered:a,className:c,rootClassName:l,getPopupContainer:u,popupClassName:m,dropdownClassName:d,listHeight:v=256,placement:f,listItemHeight:h,size:s,disabled:g,notFoundContent:p,status:b,builtinPlacements:E,dropdownMatchSelectWidth:S,popupMatchSelectWidth:R,direction:C,style:L,allowClear:x,variant:_,dropdownStyle:V,transitionName:j,tagRender:Y,maxCount:z,prefix:U}=e,Q=Oo(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:oe,getPrefixCls:ee,renderEmpty:X,direction:ae,virtual:te,popupMatchSelectWidth:Z,popupOverflow:I}=o.useContext(w.ConfigContext),T=w.useComponentConfig("select"),[,fe]=w.useToken(),ie=h??(fe==null?void 0:fe.controlHeight),k=ee("select",r),se=ee(),ye=C??ae,{compactSize:pe,compactItemClassnames:Re}=nr.useCompactItemContext(k,ye),[ue,ge]=tr.useVariant("select",_,a),M=Jn.useCSSVarCls(k),[y,D,q]=Io(k,M),O=o.useMemo(()=>{const{mode:Pe}=e;if(Pe!=="combobox")return Pe===Kn?"combobox":Pe},[e.mode]),F=O==="multiple"||O==="tags",le=Ro(e.suffixIcon,e.showArrow),ve=(n=R??S)!==null&&n!==void 0?n:Z,{status:ne,hasFeedback:Se,isFormItemInput:Ae,feedbackIcon:xe}=o.useContext(er.FormItemInputContext),$e=nn.getMergedStatus(ne,b);let de;p!==void 0?de=p:O==="combobox"?de=null:de=(X==null?void 0:X("Select"))||o.createElement(zn,{componentName:"Select"});const{suffixIcon:Ke,itemIcon:We,removeIcon:be,clearIcon:Oe}=En.useIcons(Object.assign(Object.assign({},Q),{multiple:F,hasFeedback:Se,feedbackIcon:xe,showSuffixIcon:le,prefixCls:k,componentName:"Select"})),Ce=x===!0?{clearIcon:Oe}:x,Ie=Cn.omit(Q,["suffixIcon","itemIcon"]),De=i.classNames(m||d,{[`${k}-dropdown-${ye}`]:ye==="rtl"},l,q,M,D),Ye=kn.useSize(Pe=>{var Me;return(Me=s??pe)!==null&&Me!==void 0?Me:Pe}),ze=o.useContext(Ot.DisabledContext),Le=g??ze,we=i.classNames({[`${k}-lg`]:Ye==="large",[`${k}-sm`]:Ye==="small",[`${k}-rtl`]:ye==="rtl",[`${k}-${ue}`]:ge,[`${k}-in-form-item`]:Ae},nn.getStatusClassNames(k,$e,Se),Re,T.className,c,l,q,M,D),ut=o.useMemo(()=>f!==void 0?f:ye==="rtl"?"bottomRight":"bottomLeft",[f,ye]);if(process.env.NODE_ENV!=="production"){const Pe=Ot.devUseWarning("Select");Pe.deprecated(!d,"dropdownClassName","popupClassName"),Pe.deprecated(S===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),process.env.NODE_ENV!=="production"&&Pe(!("showArrow"in e),"deprecated","`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null."),Pe.deprecated(!("bordered"in e),"bordered","variant"),process.env.NODE_ENV!=="production"&&Pe(!(typeof z<"u"&&!F),"usage","`maxCount` only works with mode `multiple` or `tags`")}const[Ve]=Qn.useZIndex("SelectLike",V==null?void 0:V.zIndex);return y(o.createElement(Qt,Object.assign({ref:t,virtual:te,showSearch:T.showSearch},Ie,{style:Object.assign(Object.assign({},T.style),L),dropdownMatchSelectWidth:ve,transitionName:Zn.getTransitionName(se,"slide-up",j),builtinPlacements:fo(E,I),listHeight:v,listItemHeight:ie,mode:O,prefixCls:k,placement:ut,direction:ye,prefix:U,suffixIcon:Ke,menuItemSelectedIcon:We,removeIcon:be,allowClear:Ce,notFoundContent:de,className:we,getPopupContainer:u||oe,dropdownClassName:De,disabled:Le,dropdownStyle:Object.assign(Object.assign({},V),{zIndex:Ve}),maxCount:F?z:void 0,tagRender:F?Y:void 0})))};process.env.NODE_ENV!=="production"&&(Wn.displayName="Select");const mt=o.forwardRef(Wn),_o=Lt.genPurePanel(mt,"dropdownAlign");mt.SECRET_COMBOBOX_MODE_DO_NOT_USE=Kn;mt.Option=qt;mt.OptGroup=Xt;mt._InternalPanelDoNotUseOrYouWillBeFired=_o;process.env.NODE_ENV!=="production"&&(mt.displayName="Select");exports.DefaultRenderEmpty=zn;exports.Empty=ot;exports.List=Gt;exports.Select=mt;
@@ -1,7 +1,7 @@
1
1
  import { _ as H, f as U, j as P, e as Z } from "./presets-CSXMiWyc.js";
2
2
  import * as a from "react";
3
- import { t as ee } from "./toArray-D5kvYi_U.js";
4
- import { v as te, x as re, e as ne, _ as ie, y as oe, z as se, A as ae, B as E } from "./CSSMotionList-DB0khM6h.js";
3
+ import { t as ee } from "./toArray-BdEmgTlP.js";
4
+ import { v as te, x as re, e as ne, _ as ie, y as oe, z as se, A as ae, B as E } from "./CSSMotionList-Bnxp3McO.js";
5
5
  var O = /* @__PURE__ */ a.createContext(null);
6
6
  function ue(e) {
7
7
  var t = e.children, r = e.onBatchResize, n = a.useRef(0), i = a.useRef([]), o = a.useContext(O), s = a.useCallback(function(c, u, f) {
@@ -1,28 +1,29 @@
1
1
  import * as o from "react";
2
2
  import Ot, { useState as _t, useRef as he, useEffect as Gt, useMemo as gr, useContext as pr } from "react";
3
3
  import { c as Le, f as pt, a as ee, j as hr, _ as Z, b as re, e as ot, g as yt, w as Xe, d as br, s as pn, F as Lt } from "./presets-CSXMiWyc.js";
4
- import { q as Sr, n as qe, A as Cr, h as Rt, w as lt, _ as yr, e as wr, a as hn, D as bn, L as Er, c as tn, g as Ln, m as zt, l as zn, C as Hn, j as nn, t as Yt, f as Ae, r as Ir } from "./CSSMotionList-DB0khM6h.js";
5
- import { u as qt } from "./useMergedState-D1-TbeEv.js";
6
- import { T as xr, a as Or } from "./index-DRGbc-fW.js";
4
+ import { q as Sr, n as qe, A as Cr, h as Rt, w as lt, _ as yr, e as wr, a as hn, K as Er, c as tn, g as Ln, m as zt, l as zn, C as Hn, j as nn, t as Yt, f as Ae, r as Ir } from "./CSSMotionList-Bnxp3McO.js";
5
+ import { u as qt } from "./useMergedState-dLe_CnQY.js";
6
+ import { T as xr, a as Or } from "./index-B56O6LEG.js";
7
7
  import { K as A } from "./KeyCode-B3vHb2gY.js";
8
8
  import { p as Ht } from "./pickAttrs-yFE4_vFd.js";
9
- import { F as Rr, i as Sn, s as Mr, a as $r, b as Dr, c as Nr } from "./Overflow-CVbsx7Gn.js";
10
- import { _ as Pr, d as Fn, D as _r } from "./index-DCopujxC.js";
9
+ import { F as Rr, i as bn, s as Mr, a as $r, b as Dr, c as Nr } from "./Overflow-BjFvsSs4.js";
10
+ import { _ as Pr, d as Fn, D as _r } from "./index-Ce7BgA_I.js";
11
11
  import { o as An } from "./omit-B_u6A-HL.js";
12
- import { R as jn } from "./index-CzMIlMTV.js";
13
- import { t as Qt } from "./toArray-D5kvYi_U.js";
14
- import { u as Tr } from "./useZIndex-tgX56o1r.js";
15
- import { g as Br } from "./motion-C-XpKcZG.js";
16
- import { i as Cn, g as Vr } from "./DownOutlined-Bv7ua5i8.js";
12
+ import { R as jn } from "./index-CXee0v2G.js";
13
+ import { flushSync as Sn } from "react-dom";
14
+ import { t as Qt } from "./toArray-BdEmgTlP.js";
15
+ import { u as Tr } from "./useZIndex-DNLQPZBP.js";
16
+ import { g as Br } from "./motion-Tyjtqn8t.js";
17
+ import { i as Cn, g as Vr } from "./DownOutlined-B6sv2Wz7.js";
17
18
  import { g as Lr, a as zr } from "./statusUtils-Kj9kMuVg.js";
18
- import { u as rn } from "./useLocale-BQ3mKRyJ.js";
19
- import { u as Hr } from "./useCSSVarCls-YfJY1twF.js";
20
- import { u as Fr } from "./useSize-Ct1guc-z.js";
21
- import { F as Ar } from "./context-CQfFkrkv.js";
22
- import { u as jr } from "./useVariants-C6UAAu9f.js";
23
- import { u as Wr } from "./Compact-DFcWZrNo.js";
19
+ import { u as rn } from "./useLocale-DkcoQ5u9.js";
20
+ import { u as Hr } from "./useCSSVarCls-CwGsW74t.js";
21
+ import { u as Fr } from "./useSize-D_iM0JXw.js";
22
+ import { F as Ar } from "./context-CTca8gjn.js";
23
+ import { u as jr } from "./useVariants-BO1luVHT.js";
24
+ import { u as Wr } from "./Compact-DLyEiUiM.js";
24
25
  import { g as Kr } from "./compact-item-DH13cl8A.js";
25
- import { g as Ur, u as Xr } from "./useIcons-CoxuumP_.js";
26
+ import { g as Ur, u as Xr } from "./useIcons-BP_qFbBH.js";
26
27
  var At = function(t) {
27
28
  var n = t.className, r = t.customizeIcon, a = t.customizeIconProps, l = t.children, i = t.onMouseDown, u = t.onClick, v = typeof r == "function" ? r(a) : r;
28
29
  return /* @__PURE__ */ o.createElement("span", {
@@ -1459,7 +1460,7 @@ function Po(e, t) {
1459
1460
  });
1460
1461
  function H(N, M) {
1461
1462
  var q = N;
1462
- M ? (bn.flushSync(function() {
1463
+ M ? (Sn(function() {
1463
1464
  K(q);
1464
1465
  }), D()) : xe(q);
1465
1466
  }
@@ -1471,7 +1472,7 @@ function Po(e, t) {
1471
1472
  var q = M, me = m ? m - Ee.width : 0;
1472
1473
  return q = Math.max(q, 0), q = Math.min(q, me), q;
1473
1474
  }, ne = hn(function(N, M) {
1474
- M ? (bn.flushSync(function() {
1475
+ M ? (Sn(function() {
1475
1476
  K(function(q) {
1476
1477
  var me = q + (P ? -N : N);
1477
1478
  return T(me);
@@ -2618,8 +2619,8 @@ const _n = (e) => {
2618
2619
  })
2619
2620
  },
2620
2621
  // Follow code may reuse in other components
2621
- Sn(e, "slide-up"),
2622
- Sn(e, "slide-down"),
2622
+ bn(e, "slide-up"),
2623
+ bn(e, "slide-down"),
2623
2624
  Cn(e, "move-up"),
2624
2625
  Cn(e, "move-down")
2625
2626
  ];
@@ -1,6 +1,6 @@
1
1
  import * as c from "react";
2
2
  import { createContext as ue, useContext as ne } from "react";
3
- import { H as Yt, n as fe, S as G, c as ge, I as Kt, J as zt, K as oe, L as me, M as Ut, C as H, N as pe, O as qt, P as Bt, Q as ae, T as Gt, U as Ht, W as Qt, d as Jt } from "./CSSMotionList-DB0khM6h.js";
3
+ import { G as Yt, n as fe, S as B, c as ge, H as Kt, I as zt, J as oe, K as me, M as Ut, C as H, L as pe, N as qt, O as Gt, P as ae, Q as Bt, R as Ht, T as Qt, d as Jt } from "./CSSMotionList-Bnxp3McO.js";
4
4
  import { w as ve, f as D, k as Xt, l as Zt, m as er, _ as z, n as tr, d as rr, u as nr, F as Y, h as se } from "./presets-CSXMiWyc.js";
5
5
  import { I as or } from "./Context-2_suFYDs.js";
6
6
  function ar(e, t) {
@@ -92,7 +92,7 @@ let w = he;
92
92
  process.env.NODE_ENV !== "production" && (w = (e, t, r) => {
93
93
  ve(e, `[antd: ${t}] ${r}`), process.env.NODE_ENV === "test" && dr();
94
94
  });
95
- const Ce = /* @__PURE__ */ c.createContext({}), R = process.env.NODE_ENV !== "production" ? (e) => {
95
+ const Ce = /* @__PURE__ */ c.createContext({}), I = process.env.NODE_ENV !== "production" ? (e) => {
96
96
  const {
97
97
  strict: t
98
98
  } = c.useContext(Ce), r = (n, i, l) => {
@@ -325,7 +325,7 @@ function pr(e) {
325
325
  }
326
326
  M = Object.assign({}, L.Modal);
327
327
  }
328
- function Rr() {
328
+ function Ir() {
329
329
  return M;
330
330
  }
331
331
  const Pe = /* @__PURE__ */ ue(void 0), xe = "internalMark", Oe = (e) => {
@@ -335,7 +335,7 @@ const Pe = /* @__PURE__ */ ue(void 0), xe = "internalMark", Oe = (e) => {
335
335
  _ANT_MARK__: n
336
336
  } = e;
337
337
  if (process.env.NODE_ENV !== "production") {
338
- const l = R("LocaleProvider");
338
+ const l = I("LocaleProvider");
339
339
  process.env.NODE_ENV !== "production" && l(n === xe, "deprecated", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale");
340
340
  }
341
341
  c.useEffect(() => pr(t == null ? void 0 : t.Modal), [t]);
@@ -387,7 +387,7 @@ const q = /* @__PURE__ */ c.createContext(!1), Cr = (e) => {
387
387
  }, t);
388
388
  };
389
389
  function yr() {
390
- const e = ne(q), t = ne(G);
390
+ const e = ne(q), t = ne(B);
391
391
  return {
392
392
  componentDisabled: e,
393
393
  componentSize: t
@@ -409,7 +409,7 @@ const Pr = (e, t) => {
409
409
  } = xr, Or = () => "", Er = typeof de > "u" ? Or : de;
410
410
  function Sr(e, t, r) {
411
411
  var n, i;
412
- const l = R("ConfigProvider"), o = e || {}, s = o.inherit === !1 || !t ? Object.assign(Object.assign({}, oe), {
412
+ const l = I("ConfigProvider"), o = e || {}, s = o.inherit === !1 || !t ? Object.assign(Object.assign({}, oe), {
413
413
  hashed: (n = t == null ? void 0 : t.hashed) !== null && n !== void 0 ? n : oe.hashed,
414
414
  cssVar: t == null ? void 0 : t.cssVar
415
415
  }) : t, d = Er();
@@ -454,7 +454,7 @@ const Ee = /* @__PURE__ */ c.memo((e) => {
454
454
  let {
455
455
  dropdownMatchSelectWidth: t
456
456
  } = e;
457
- return R("ConfigProvider").deprecated(t === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth"), null;
457
+ return I("ConfigProvider").deprecated(t === void 0, "dropdownMatchSelectWidth", "popupMatchSelectWidth"), null;
458
458
  });
459
459
  process.env.NODE_ENV !== "production" && (Ee.displayName = "PropWarning");
460
460
  const wr = process.env.NODE_ENV !== "production" ? Ee : () => null;
@@ -465,16 +465,16 @@ var jr = function(e, t) {
465
465
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
466
466
  return r;
467
467
  };
468
- let B = !1;
468
+ let G = !1;
469
469
  const Lr = process.env.NODE_ENV !== "production" ? (e) => {
470
- process.env.NODE_ENV !== "production" && w(!B, e, "Static function can not consume context like dynamic theme. Please use 'App' component instead.");
470
+ process.env.NODE_ENV !== "production" && w(!G, e, "Static function can not consume context like dynamic theme. Please use 'App' component instead.");
471
471
  } : (
472
472
  /* istanbul ignore next */
473
473
  null
474
474
  ), _r = ["getTargetContainer", "getPopupContainer", "renderEmpty", "input", "pagination", "form", "select", "button"];
475
- let I, Se, $e, we;
475
+ let R, Se, $e, we;
476
476
  function T() {
477
- return I || Jt;
477
+ return R || Jt;
478
478
  }
479
479
  function kr() {
480
480
  return Se || pe;
@@ -489,11 +489,11 @@ const Vr = (e) => {
489
489
  theme: n,
490
490
  holderRender: i
491
491
  } = e;
492
- t !== void 0 && (I = t), r !== void 0 && (Se = r), "holderRender" in e && (we = i), n && (Nr(n) ? (process.env.NODE_ENV !== "production" && w(!1, "ConfigProvider", "`config` of css variable theme is not work in v5. Please use new `theme` config instead."), hr(T(), n)) : $e = n);
492
+ t !== void 0 && (R = t), r !== void 0 && (Se = r), "holderRender" in e && (we = i), n && (Nr(n) ? (process.env.NODE_ENV !== "production" && w(!1, "ConfigProvider", "`config` of css variable theme is not work in v5. Please use new `theme` config instead."), hr(T(), n)) : $e = n);
493
493
  }, Wr = () => ({
494
494
  getPrefixCls: (e, t) => t || (e ? `${T()}-${e}` : T()),
495
495
  getIconPrefixCls: kr,
496
- getRootPrefixCls: () => I || T(),
496
+ getRootPrefixCls: () => R || T(),
497
497
  getTheme: () => $e,
498
498
  holderRender: we
499
499
  }), Mr = (e) => {
@@ -524,8 +524,8 @@ const Vr = (e) => {
524
524
  calendar: Ae,
525
525
  carousel: Te,
526
526
  cascader: De,
527
- collapse: Ie,
528
- typography: Re,
527
+ collapse: Re,
528
+ typography: Ie,
529
529
  checkbox: Le,
530
530
  descriptions: We,
531
531
  divider: Fe,
@@ -534,8 +534,8 @@ const Vr = (e) => {
534
534
  steps: ze,
535
535
  image: Ue,
536
536
  layout: qe,
537
- list: Be,
538
- mentions: Ge,
537
+ list: Ge,
538
+ mentions: Be,
539
539
  modal: He,
540
540
  progress: Qe,
541
541
  result: Je,
@@ -590,7 +590,7 @@ const Vr = (e) => {
590
590
  const N = Sr(Q, E.theme, {
591
591
  prefixCls: X("")
592
592
  });
593
- process.env.NODE_ENV !== "production" && (B = B || !!N);
593
+ process.env.NODE_ENV !== "production" && (G = G || !!N);
594
594
  const W = {
595
595
  csp: k,
596
596
  autoInsertSpaceInButton: n,
@@ -612,8 +612,8 @@ const Vr = (e) => {
612
612
  calendar: Ae,
613
613
  carousel: Te,
614
614
  cascader: De,
615
- collapse: Ie,
616
- typography: Re,
615
+ collapse: Re,
616
+ typography: Ie,
617
617
  checkbox: Le,
618
618
  descriptions: We,
619
619
  divider: Fe,
@@ -624,8 +624,8 @@ const Vr = (e) => {
624
624
  input: rt,
625
625
  textArea: nt,
626
626
  layout: qe,
627
- list: Be,
628
- mentions: Ge,
627
+ list: Ge,
628
+ mentions: Be,
629
629
  modal: He,
630
630
  progress: Qe,
631
631
  result: Je,
@@ -666,7 +666,7 @@ const Vr = (e) => {
666
666
  inputNumber: At,
667
667
  treeSelect: Tt
668
668
  };
669
- process.env.NODE_ENV !== "production" && R("ConfigProvider")(!("autoInsertSpaceInButton" in e), "deprecated", "`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");
669
+ process.env.NODE_ENV !== "production" && I("ConfigProvider")(!("autoInsertSpaceInButton" in e), "deprecated", "`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");
670
670
  const S = Object.assign({}, E);
671
671
  Object.keys(W).forEach((u) => {
672
672
  W[u] !== void 0 && (S[u] = W[u]);
@@ -700,23 +700,23 @@ const Vr = (e) => {
700
700
  _ANT_MARK__: xe
701
701
  }, g)), g = /* @__PURE__ */ c.createElement(or.Provider, {
702
702
  value: Dt
703
- }, g), d && (g = /* @__PURE__ */ c.createElement(Bt, {
703
+ }, g), d && (g = /* @__PURE__ */ c.createElement(Gt, {
704
704
  size: d
705
705
  }, g)), g = /* @__PURE__ */ c.createElement($r, null, g);
706
- const It = c.useMemo(() => {
706
+ const Rt = c.useMemo(() => {
707
707
  const u = N || {}, {
708
708
  algorithm: m,
709
709
  token: h,
710
710
  components: C,
711
711
  cssVar: V
712
- } = u, Rt = jr(u, ["algorithm", "token", "components", "cssVar"]), te = m && (!Array.isArray(m) || m.length > 0) ? ae(m) : Gt, F = {};
712
+ } = u, It = jr(u, ["algorithm", "token", "components", "cssVar"]), te = m && (!Array.isArray(m) || m.length > 0) ? ae(m) : Bt, F = {};
713
713
  Object.entries(C || {}).forEach((Lt) => {
714
714
  let [Wt, Ft] = Lt;
715
715
  const y = Object.assign({}, Ft);
716
716
  "algorithm" in y && (y.algorithm === !0 ? y.theme = te : (Array.isArray(y.algorithm) || typeof y.algorithm == "function") && (y.theme = ae(y.algorithm)), delete y.algorithm), F[Wt] = y;
717
717
  });
718
718
  const re = Object.assign(Object.assign({}, Ht), h);
719
- return Object.assign(Object.assign({}, Rt), {
719
+ return Object.assign(Object.assign({}, It), {
720
720
  theme: te,
721
721
  token: re,
722
722
  components: F,
@@ -727,7 +727,7 @@ const Vr = (e) => {
727
727
  });
728
728
  }, [N]);
729
729
  return Q && (g = /* @__PURE__ */ c.createElement(Qt.Provider, {
730
- value: It
730
+ value: Rt
731
731
  }, g)), $.warning && (g = /* @__PURE__ */ c.createElement(Ce.Provider, {
732
732
  value: $.warning
733
733
  }, g)), J !== void 0 && (g = /* @__PURE__ */ c.createElement(Cr, {
@@ -743,11 +743,11 @@ const Vr = (e) => {
743
743
  }, e));
744
744
  };
745
745
  j.ConfigContext = H;
746
- j.SizeContext = G;
746
+ j.SizeContext = B;
747
747
  j.config = Vr;
748
748
  j.useConfig = yr;
749
749
  Object.defineProperty(j, "SizeContext", {
750
- get: () => (process.env.NODE_ENV !== "production" && w(!1, "ConfigProvider", "ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."), G)
750
+ get: () => (process.env.NODE_ENV !== "production" && w(!1, "ConfigProvider", "ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."), B)
751
751
  });
752
752
  process.env.NODE_ENV !== "production" && (j.displayName = "ConfigProvider");
753
753
  export {
@@ -757,9 +757,9 @@ export {
757
757
  ur as V,
758
758
  sr as _,
759
759
  Cr as a,
760
- Rr as b,
760
+ Ir as b,
761
761
  Lr as c,
762
- R as d,
762
+ I as d,
763
763
  Wr as e,
764
764
  le as f,
765
765
  U as g,
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./iconBase-C4boY5mo.cjs");function n(t){return r.GenIcon({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"},child:[]},{tag:"path",attr:{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0"},child:[]},{tag:"path",attr:{d:"M4 2C2.8 3.7 2 5.7 2 8"},child:[]},{tag:"path",attr:{d:"M22 8c0-2.3-.8-4.3-2-6"},child:[]}]})(t)}function a(t){return r.GenIcon({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z"},child:[]},{tag:"circle",attr:{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor"},child:[]}]})(t)}exports.LuBellRing=n;exports.LuTag=a;