@gobolt/genesis 0.0.10 → 0.1.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 (438) hide show
  1. package/README.md +8 -2
  2. package/dist/AntdIcon-nCNB0J1E.js +192 -0
  3. package/dist/CheckCircleFilled-BKgizvyl.js +13 -0
  4. package/dist/{CheckOutlined-CeTKr6II.js → CheckOutlined-cEBrx_Ag.js} +2 -2
  5. package/dist/ClockCircleOutlined-BaXQuLIn.js +13 -0
  6. package/dist/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
  7. package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
  8. package/dist/{Compact-CGY560JF.js → Compact-Du9689ax.js} +41 -44
  9. package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-BmfhJgG0.js} +2 -2
  10. package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-Dcq69ZKM.js} +42 -40
  11. package/dist/{index-C8haFnXI.js → EllipsisOutlined-DGMph0Bj.js} +138 -135
  12. package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
  13. package/dist/Keyframes-C9_aCDvn.js +17 -0
  14. package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
  15. package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
  16. package/dist/{Overflow-PBZD-PFm.js → Overflow-DWf4XIal.js} +62 -61
  17. package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
  18. package/dist/Skeleton-BVN4pcVe.js +560 -0
  19. package/dist/TextArea-Bkf9hh7l.js +708 -0
  20. package/dist/Typography-CoZ5qD-t.js +705 -0
  21. package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
  22. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  23. package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
  24. package/dist/{button-CDQgO1OK.js → button-BwqpCxVM.js} +127 -116
  25. package/dist/clsx-OuTLNxxd.js +16 -0
  26. package/dist/components/Avatar/Avatar.d.ts +12 -0
  27. package/dist/components/Avatar/Avatar.js +61 -0
  28. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
  29. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  30. package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
  31. package/dist/components/Avatar/index.d.ts +2 -0
  32. package/dist/components/Avatar/index.js +4 -0
  33. package/dist/components/Avatar/styles.d.ts +18 -0
  34. package/dist/components/Avatar/styles.js +326 -0
  35. package/dist/components/Badge/Badge.d.ts +5 -3
  36. package/dist/components/Badge/Badge.js +67 -100
  37. package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
  38. package/dist/components/Badge/__tests__/Badge.test.js +9 -10
  39. package/dist/components/Badge/styles.d.ts +12 -3
  40. package/dist/components/Badge/styles.js +30 -27
  41. package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
  42. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  43. package/dist/components/Breadcrumb/styles.js +239 -2260
  44. package/dist/components/Button/Button.d.ts +4 -3
  45. package/dist/components/Button/Button.js +10 -6
  46. package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
  47. package/dist/components/Button/__tests__/Button.test.js +1 -1
  48. package/dist/components/Button/styles.d.ts +2 -2
  49. package/dist/components/Button/styles.js +20 -17
  50. package/dist/components/Card/Card.d.ts +9 -0
  51. package/dist/components/Card/Card.js +16 -0
  52. package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
  53. package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
  54. package/dist/components/Card/__tests__/Card.test.js +16 -0
  55. package/dist/components/Card/index.d.ts +2 -0
  56. package/dist/components/Card/index.js +4 -0
  57. package/dist/components/Card/styles.d.ts +16 -0
  58. package/dist/components/Card/styles.js +12 -0
  59. package/dist/components/Checkbox/Checkbox.d.ts +1 -2
  60. package/dist/components/Checkbox/Checkbox.js +28 -16
  61. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  62. package/dist/components/Checkbox/styles.js +22 -457
  63. package/dist/components/Dashboard/Dashboard.d.ts +5 -0
  64. package/dist/components/Dashboard/Dashboard.js +5 -0
  65. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
  66. package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
  67. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
  68. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
  69. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
  70. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
  71. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
  72. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
  73. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
  74. package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
  75. package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
  76. package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
  77. package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
  78. package/dist/components/Dashboard/index.d.ts +2 -0
  79. package/dist/components/Dashboard/index.js +4 -0
  80. package/dist/components/Dashboard/styles.d.ts +14 -0
  81. package/dist/components/Dashboard/styles.js +11 -0
  82. package/dist/components/DatePicker/DatePicker.d.ts +6 -0
  83. package/dist/components/DatePicker/DatePicker.js +5 -0
  84. package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
  85. package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  86. package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
  87. package/dist/components/DatePicker/index.d.ts +2 -0
  88. package/dist/components/DatePicker/index.js +4 -0
  89. package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
  90. package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
  91. package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
  92. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
  93. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
  94. package/dist/components/DateRangePicker/index.d.ts +2 -0
  95. package/dist/components/DateRangePicker/index.js +4 -0
  96. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
  97. package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
  98. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
  99. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
  100. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
  101. package/dist/components/ErrorBoundary/index.d.ts +2 -0
  102. package/dist/components/ErrorBoundary/index.js +4 -0
  103. package/dist/components/ErrorBoundary/styles.d.ts +14 -0
  104. package/dist/components/ErrorBoundary/styles.js +11 -0
  105. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
  106. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
  107. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
  108. package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
  109. package/dist/components/Form/Form.js +3 -3
  110. package/dist/components/Form/__stories__/FormStory.js +127 -50
  111. package/dist/components/Form/__tests__/form.test.js +2 -2
  112. package/dist/components/Form/index.js +1 -1
  113. package/dist/components/Form/styles.js +1 -1
  114. package/dist/components/Glyph/Glyph.d.ts +4 -0
  115. package/dist/components/Glyph/Glyph.js +9 -0
  116. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
  117. package/dist/components/Glyph/index.d.ts +2 -0
  118. package/dist/components/Glyph/index.js +4 -0
  119. package/dist/components/Glyph/styles.d.ts +14 -0
  120. package/dist/components/Glyph/styles.js +11 -0
  121. package/dist/components/Input/Input.d.ts +1 -2
  122. package/dist/components/Input/Input.js +14 -10
  123. package/dist/components/Input/__tests__/Input.test.js +1 -1
  124. package/dist/components/Input/styles.js +58 -466
  125. package/dist/components/Layout/Content/Content.d.ts +11 -0
  126. package/dist/components/Layout/Content/Content.js +32 -0
  127. package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
  128. package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
  129. package/dist/components/Layout/Content/index.d.ts +2 -0
  130. package/dist/components/Layout/Content/index.js +4 -0
  131. package/dist/components/Layout/Content/styles.d.ts +11 -0
  132. package/dist/components/Layout/Content/styles.js +16 -0
  133. package/dist/components/Layout/Layout.d.ts +8 -0
  134. package/dist/components/Layout/Layout.js +6 -0
  135. package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
  136. package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
  137. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
  138. package/dist/components/Layout/MainLayout/index.d.ts +2 -0
  139. package/dist/components/Layout/MainLayout/index.js +4 -0
  140. package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
  141. package/dist/components/Layout/MainLayout/styles.js +69 -0
  142. package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
  143. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  144. package/dist/components/Layout/__tests__/Layout.test.js +14 -0
  145. package/dist/components/Layout/index.d.ts +2 -0
  146. package/dist/components/Layout/index.js +4 -0
  147. package/dist/components/Message/Message.d.ts +6 -4
  148. package/dist/components/Message/Message.js +70 -43
  149. package/dist/components/Message/__tests__/Message.test.js +1 -1
  150. package/dist/components/Message/styles.d.ts +1 -0
  151. package/dist/components/Message/styles.js +15 -11
  152. package/dist/components/Notification/Notification.js +145 -120
  153. package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
  154. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
  155. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
  156. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
  157. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
  158. package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
  159. package/dist/components/Notification/NotificationBadge/index.js +4 -0
  160. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
  161. package/dist/components/Notification/NotificationBadge/styles.js +34 -0
  162. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  163. package/dist/components/Notification/styles.d.ts +1 -1
  164. package/dist/components/Notification/styles.js +1 -1
  165. package/dist/components/Popover/Popover.d.ts +10 -0
  166. package/dist/components/Popover/Popover.js +21 -0
  167. package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
  168. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
  169. package/dist/components/Popover/__tests__/Popover.test.js +40 -0
  170. package/dist/components/Popover/index.d.ts +2 -0
  171. package/dist/components/Popover/index.js +4 -0
  172. package/dist/components/Popover/styles.d.ts +15 -0
  173. package/dist/components/Popover/styles.js +6 -0
  174. package/dist/components/Progress/Progress.d.ts +18 -0
  175. package/dist/components/Progress/Progress.js +91 -0
  176. package/dist/components/Progress/Progress.util.d.ts +4 -0
  177. package/dist/components/Progress/Progress.util.js +62 -0
  178. package/dist/components/Progress/ProgressText.d.ts +11 -0
  179. package/dist/components/Progress/ProgressText.js +67 -0
  180. package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
  181. package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
  182. package/dist/components/Progress/__tests__/Progress.test.js +21 -0
  183. package/dist/components/Progress/index.d.ts +2 -0
  184. package/dist/components/Progress/index.js +4 -0
  185. package/dist/components/Progress/styles.d.ts +17 -0
  186. package/dist/components/Progress/styles.js +793 -0
  187. package/dist/components/Radio/Radio.js +22 -6
  188. package/dist/components/Radio/RadioGroup.js +1 -1
  189. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  190. package/dist/components/Radio/index.d.ts +1 -0
  191. package/dist/components/Row/Row.d.ts +14 -0
  192. package/dist/components/Row/Row.js +38 -0
  193. package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
  194. package/dist/components/Row/RowActions/RowActions.js +59 -0
  195. package/dist/components/Row/RowActions/styles.d.ts +2 -0
  196. package/dist/components/Row/RowActions/styles.js +32 -0
  197. package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
  198. package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
  199. package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
  200. package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
  201. package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
  202. package/dist/components/Row/RowLabelValue/styles.js +25 -0
  203. package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
  204. package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
  205. package/dist/components/Row/__tests__/Row.test.js +16 -0
  206. package/dist/components/Row/index.d.ts +2 -0
  207. package/dist/components/Row/index.js +4 -0
  208. package/dist/components/Row/styles.d.ts +15 -0
  209. package/dist/components/Row/styles.js +15 -0
  210. package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
  211. package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
  212. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
  213. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
  214. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
  215. package/dist/components/SegmentedControls/index.d.ts +2 -0
  216. package/dist/components/SegmentedControls/index.js +4 -0
  217. package/dist/components/SegmentedControls/styles.d.ts +12 -0
  218. package/dist/components/SegmentedControls/styles.js +511 -0
  219. package/dist/components/Select/Select.d.ts +2 -4
  220. package/dist/components/Select/Select.js +12 -11
  221. package/dist/components/Select/__tests__/Select.test.js +1 -1
  222. package/dist/components/Select/styles.js +39 -3654
  223. package/dist/components/Shapes/Shapes.d.ts +6 -0
  224. package/dist/components/Shapes/Shapes.js +8 -0
  225. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
  226. package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
  227. package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
  228. package/dist/components/Shapes/index.d.ts +2 -0
  229. package/dist/components/Shapes/index.js +4 -0
  230. package/dist/components/Shapes/variants/Circle.d.ts +5 -0
  231. package/dist/components/Shapes/variants/Circle.js +23 -0
  232. package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
  233. package/dist/components/Shapes/variants/Rectangle.js +23 -0
  234. package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
  235. package/dist/components/Shapes/variants/Triangle.js +23 -0
  236. package/dist/components/Switch/Switch.d.ts +9 -0
  237. package/dist/components/Switch/Switch.js +22 -0
  238. package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
  239. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
  240. package/dist/components/Switch/__tests__/Switch.test.js +25 -0
  241. package/dist/components/Switch/index.d.ts +2 -0
  242. package/dist/components/Switch/index.js +4 -0
  243. package/dist/components/Switch/styles.d.ts +9 -0
  244. package/dist/components/Switch/styles.js +456 -0
  245. package/dist/components/Table/Table.d.ts +15 -0
  246. package/dist/components/Table/Table.js +23 -0
  247. package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
  248. package/dist/components/Table/__mocks__/table-mocks.js +321 -0
  249. package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
  250. package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
  251. package/dist/components/Table/__tests__/Table.test.js +34 -0
  252. package/dist/components/Table/index.d.ts +2 -0
  253. package/dist/components/Table/index.js +4 -0
  254. package/dist/components/Table/styles.d.ts +8 -0
  255. package/dist/components/Table/styles.js +6 -0
  256. package/dist/components/Tabs/Tabs.d.ts +10 -0
  257. package/dist/components/Tabs/Tabs.js +23 -0
  258. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
  259. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  260. package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
  261. package/dist/components/Tabs/index.d.ts +2 -0
  262. package/dist/components/Tabs/index.js +4 -0
  263. package/dist/components/Tabs/styles.d.ts +12 -0
  264. package/dist/components/Tabs/styles.js +102 -0
  265. package/dist/components/Tile/Tile.d.ts +10 -0
  266. package/dist/components/Tile/Tile.js +21 -0
  267. package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
  268. package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
  269. package/dist/components/Tile/__tests__/Tile.test.js +21 -0
  270. package/dist/components/Tile/index.d.ts +2 -0
  271. package/dist/components/Tile/index.js +4 -0
  272. package/dist/components/Tile/styles.d.ts +11 -0
  273. package/dist/components/Tile/styles.js +12 -0
  274. package/dist/components/Toast/Toast.js +23 -6
  275. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  276. package/dist/components/Toast/index.js +1 -1
  277. package/dist/components/Toast/styles.d.ts +0 -1
  278. package/dist/components/Toast/styles.js +14 -23
  279. package/dist/components/Tooltip/Tooltip.d.ts +7 -0
  280. package/dist/components/Tooltip/Tooltip.js +50 -0
  281. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
  282. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  283. package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
  284. package/dist/components/Tooltip/index.d.ts +2 -0
  285. package/dist/components/Tooltip/index.js +4 -0
  286. package/dist/components/Tooltip/styles.d.ts +20 -0
  287. package/dist/components/Tooltip/styles.js +11 -0
  288. package/dist/components/Typography/Typography.d.ts +5 -1
  289. package/dist/components/Typography/Typography.js +2 -2
  290. package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
  291. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  292. package/dist/components/Typography/index.js +1 -1
  293. package/dist/components/Typography/styles.d.ts +1 -0
  294. package/dist/components/Typography/styles.js +53 -17
  295. package/dist/components/index.d.ts +35 -1
  296. package/dist/components/index.js +58 -24
  297. package/dist/constants/index.d.ts +4 -0
  298. package/dist/constants/index.js +4 -2
  299. package/dist/{context-BMW3aJEf.js → context-DIFtNa4d.js} +230 -233
  300. package/dist/dropdown-Dp_PTQ2u.js +2045 -0
  301. package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
  302. package/dist/genesis/GenesisThemeBreakdown.js +101 -43
  303. package/dist/genesis/labs/Lab.stories.d.ts +6 -0
  304. package/dist/genesis/styles.js +7 -2923
  305. package/dist/iconBase-LROS5hdG.js +112 -0
  306. package/dist/index-BPVue1Yd.js +445 -0
  307. package/dist/{index-bKlRxQp4.js → index-BQM5OniU.js} +12 -12
  308. package/dist/index-BRUI9igj.js +11 -0
  309. package/dist/index-B_1Ge8na.js +1846 -0
  310. package/dist/{index-oK7z6jnz.js → index-BbTV2Cw5.js} +8641 -8798
  311. package/dist/index-BeGv28kJ.js +5173 -0
  312. package/dist/{index-1CBpubM3.js → index-BpZSuIUV.js} +45 -42
  313. package/dist/index-BvOLXELm.js +102 -0
  314. package/dist/index-CLSrpQRW.js +416 -0
  315. package/dist/index-CbVOl2U6.js +288 -0
  316. package/dist/index-D0U6r5O7.js +780 -0
  317. package/dist/index-DEu2PVzQ.js +538 -0
  318. package/dist/index-DLdU7Tpd.js +183 -0
  319. package/dist/index-DNQ-jnBx.js +3321 -0
  320. package/dist/index-DOsPeIWJ.js +1000 -0
  321. package/dist/{index-C0SmxWLS.js → index-DRGX1Wem.js} +136 -143
  322. package/dist/index-DWjq9XYj.js +899 -0
  323. package/dist/index.js +65 -31
  324. package/dist/interface/address.d.ts +10 -0
  325. package/dist/interface/address.js +1 -0
  326. package/dist/interface/appointment.d.ts +57 -0
  327. package/dist/interface/appointment.js +5 -0
  328. package/dist/interface/appointmentV2.d.ts +65 -0
  329. package/dist/interface/appointmentV2.js +1 -0
  330. package/dist/interface/appointmentsState.d.ts +21 -0
  331. package/dist/interface/appointmentsState.js +1 -0
  332. package/dist/interface/common.d.ts +2 -0
  333. package/dist/interface/common.js +1 -0
  334. package/dist/interface/completionData.d.ts +18 -0
  335. package/dist/interface/completionData.js +1 -0
  336. package/dist/interface/deliveryPartner.d.ts +25 -0
  337. package/dist/interface/deliveryPartner.js +1 -0
  338. package/dist/interface/organization.d.ts +9 -0
  339. package/dist/interface/organization.js +1 -0
  340. package/dist/interface/pagination.d.ts +8 -0
  341. package/dist/interface/pagination.js +1 -0
  342. package/dist/interface/roles.d.ts +9 -0
  343. package/dist/interface/roles.js +1 -0
  344. package/dist/interface/route.d.ts +73 -0
  345. package/dist/interface/route.js +1 -0
  346. package/dist/interface/routeAnalysis.d.ts +108 -0
  347. package/dist/interface/routeAnalysis.js +1 -0
  348. package/dist/interface/routeAutomationJob.d.ts +95 -0
  349. package/dist/interface/routeAutomationJob.js +10 -0
  350. package/dist/interface/routeAutomationLog.d.ts +10 -0
  351. package/dist/interface/routeAutomationLog.js +1 -0
  352. package/dist/interface/routeEvent.d.ts +55 -0
  353. package/dist/interface/routeEvent.js +5 -0
  354. package/dist/interface/serviceArea.d.ts +18 -0
  355. package/dist/interface/serviceArea.js +1 -0
  356. package/dist/interface/util.d.ts +3 -0
  357. package/dist/interface/util.js +1 -0
  358. package/dist/interface/vehicle.d.ts +120 -0
  359. package/dist/interface/vehicle.js +1 -0
  360. package/dist/interface/workOrder.d.ts +22 -0
  361. package/dist/interface/workOrder.js +1 -0
  362. package/dist/isVisible-D3-B85BJ.js +22 -0
  363. package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
  364. package/dist/motion-CUN72xsH.js +33 -0
  365. package/dist/omit-B_u6A-HL.js +9 -0
  366. package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
  367. package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
  368. package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
  369. package/dist/providers/BreakpointThemeProvider.js +21 -0
  370. package/dist/providers/GenesisProvider.js +3 -3
  371. package/dist/providers/ToastProvider.js +22 -6
  372. package/dist/providers/index.js +1 -1
  373. package/dist/providers/useGenesis.js +2 -2
  374. package/dist/responsiveObserver-dCkpy7Cb.js +73 -0
  375. package/dist/roundedArrow-DI_Q-xdU.js +65 -0
  376. package/dist/setup-CUbCc8fQ.js +24706 -0
  377. package/dist/setup.types-dBtAXXGp.js +8824 -0
  378. package/dist/shadow-BoMGMNn3.js +13 -0
  379. package/dist/styleChecker-Cotu61d0.js +21 -0
  380. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +29 -13
  381. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
  382. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
  383. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
  384. package/dist/styles/theme/genesis-theme.js +398 -331
  385. package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
  386. package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
  387. package/dist/styles/theme/theme-tree/ThemeTree.js +1652 -0
  388. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
  389. package/dist/styles-CWdUpZom.js +289 -0
  390. package/dist/{styles-CT_fyXBd.js → styles-D1vKDy9V.js} +587 -643
  391. package/dist/styles-qerRs7Rn.js +9196 -0
  392. package/dist/test/setup.d.ts +2 -3
  393. package/dist/test/setup.js +87 -4
  394. package/dist/test/setup.types.d.ts +7 -0
  395. package/dist/test/setup.types.js +1 -0
  396. package/dist/toArray-U3Az44CO.js +11 -0
  397. package/dist/useBreakpoint-TkMv121M.js +22 -0
  398. package/dist/useCSSVarCls-Dau77fzS.js +11 -0
  399. package/dist/useIcons-Ck4JP1m9.js +321 -0
  400. package/dist/useId-D2tzlufo.js +26 -0
  401. package/dist/useLocale-CTfNpakL.js +16 -0
  402. package/dist/useMergedState-D6toxSxh.js +23 -0
  403. package/dist/useSize-DSq4r6zy.js +9 -0
  404. package/dist/{useVariants-DvhXfgJY.js → useVariants-DrLzUVLU.js} +3 -3
  405. package/dist/useZIndex-DhyHuZTN.js +44 -0
  406. package/dist/utils/icon-util.d.ts +2 -0
  407. package/dist/utils/icon-util.js +89 -0
  408. package/package.json +27 -15
  409. package/dist/AntdIcon-BoLh1dP8.js +0 -202
  410. package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
  411. package/dist/TextArea-DKwCct3i.js +0 -1690
  412. package/dist/Typography-aGoDUl4R.js +0 -710
  413. package/dist/index-BZAhCB_K.js +0 -97
  414. package/dist/index-CfDY25LP.js +0 -873
  415. package/dist/index-DPW8XdWj.js +0 -952
  416. package/dist/isVisible-A-IfeFoT.js +0 -367
  417. package/dist/providers/ThemeProvider.d.ts +0 -9
  418. package/dist/providers/ThemeProvider.js +0 -21
  419. package/dist/setup-BvfREoHl.js +0 -33891
  420. package/dist/useLocale-DT-z_vQ6.js +0 -16
  421. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
  422. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
  423. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
  424. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
  425. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
  426. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
  427. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
  428. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
  429. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
  430. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
  431. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
  432. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
  433. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
  434. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
  435. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
  436. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
  437. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
  438. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
@@ -1,21 +1,17 @@
1
- import { a as L, e as te, f as $, c as de, h as w, _ as A, w as we, d as Gt } from "./warning-C63HNL9U.js";
1
+ import { g as te, a as $, e as de, d as L, b as w, _ as k, w as we, f as Gt } from "./presets-Djh_L_6R.js";
2
+ import { T as et } from "./index-D0U6r5O7.js";
3
+ import { F as xe, t as nt, A as tt, z as rt, Z as qt, $ as at, o as Me, B as Yt, x as Xt, y as Zt, e as Jt, _ as Qt, s as er, G as nr } from "./index-BbTV2Cw5.js";
2
4
  import * as t from "react";
3
- import J, { forwardRef as qt, useMemo as Yt, useRef as Xe, useCallback as Re, useImperativeHandle as Xt } from "react";
4
- import { I as Zt } from "./AntdIcon-BoLh1dP8.js";
5
- import { T as et } from "./index-CfDY25LP.js";
6
- import { w as xe, t as nt, h as tt, s as rt, Z as Jt, $ as at, x as Me, j as Qt, _ as er, d as nr, e as tr, f as rr, B as ar, r as ir } from "./index-oK7z6jnz.js";
5
+ import J, { forwardRef as tr, useMemo as rr, useRef as Xe, useCallback as Re, useImperativeHandle as ar } from "react";
7
6
  import { K as ie } from "./KeyCode-DM2sFh3-.js";
8
- import { F as Te } from "./Overflow-PBZD-PFm.js";
9
- import { i as or, u as Ze, o as Sn, t as lr } from "./isVisible-A-IfeFoT.js";
10
- var ur = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" }, sr = function(r, a) {
11
- return /* @__PURE__ */ t.createElement(Zt, L({}, r, {
12
- ref: a,
13
- icon: ur
14
- }));
15
- }, cr = /* @__PURE__ */ t.forwardRef(sr);
16
- process.env.NODE_ENV !== "production" && (cr.displayName = "EllipsisOutlined");
17
- var fr = ie.ESC, dr = ie.TAB;
18
- function vr(e) {
7
+ import { F as Te } from "./Overflow-DWf4XIal.js";
8
+ import { u as Ze } from "./useMergedState-D6toxSxh.js";
9
+ import { i as ir } from "./isVisible-D3-B85BJ.js";
10
+ import { o as Sn } from "./omit-B_u6A-HL.js";
11
+ import { t as or } from "./toArray-U3Az44CO.js";
12
+ import { I as lr } from "./AntdIcon-nCNB0J1E.js";
13
+ var ur = ie.ESC, sr = ie.TAB;
14
+ function cr(e) {
19
15
  var r = e.visible, a = e.triggerRef, n = e.onVisibleChange, i = e.autoFocus, o = e.overlayRef, l = t.useRef(!1), u = function() {
20
16
  if (r) {
21
17
  var c, f;
@@ -26,10 +22,10 @@ function vr(e) {
26
22
  return (c = o.current) !== null && c !== void 0 && c.focus ? (o.current.focus(), l.current = !0, !0) : !1;
27
23
  }, s = function(c) {
28
24
  switch (c.keyCode) {
29
- case fr:
25
+ case ur:
30
26
  u();
31
27
  break;
32
- case dr: {
28
+ case sr: {
33
29
  var f = !1;
34
30
  l.current || (f = d()), f ? c.preventDefault() : u();
35
31
  break;
@@ -44,8 +40,8 @@ function vr(e) {
44
40
  };
45
41
  }, [r]);
46
42
  }
47
- var mr = /* @__PURE__ */ qt(function(e, r) {
48
- var a = e.overlay, n = e.arrow, i = e.prefixCls, o = Yt(function() {
43
+ var fr = /* @__PURE__ */ tr(function(e, r) {
44
+ var a = e.overlay, n = e.arrow, i = e.prefixCls, o = rr(function() {
49
45
  var u;
50
46
  return typeof a == "function" ? u = a() : u = a, u;
51
47
  }, [a]), l = nt(r, tt(o));
@@ -57,7 +53,7 @@ var mr = /* @__PURE__ */ qt(function(e, r) {
57
53
  }), Se = {
58
54
  adjustX: 1,
59
55
  adjustY: 1
60
- }, Ee = [0, 0], pr = {
56
+ }, Ee = [0, 0], dr = {
61
57
  topLeft: {
62
58
  points: ["bl", "tl"],
63
59
  overflow: Se,
@@ -94,16 +90,16 @@ var mr = /* @__PURE__ */ qt(function(e, r) {
94
90
  offset: [0, 4],
95
91
  targetOffset: Ee
96
92
  }
97
- }, gr = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
98
- function hr(e, r) {
99
- var a, n = e.arrow, i = n === void 0 ? !1 : n, o = e.prefixCls, l = o === void 0 ? "rc-dropdown" : o, u = e.transitionName, d = e.animation, s = e.align, g = e.placement, c = g === void 0 ? "bottomLeft" : g, f = e.placements, b = f === void 0 ? pr : f, h = e.getPopupContainer, S = e.showAction, C = e.hideAction, I = e.overlayClassName, P = e.overlayStyle, v = e.visible, m = e.trigger, y = m === void 0 ? ["hover"] : m, p = e.autoFocus, R = e.overlay, _ = e.children, E = e.onVisibleChange, W = te(e, gr), O = J.useState(), K = $(O, 2), j = K[0], B = K[1], H = "visible" in e ? v : j, Y = J.useRef(null), T = J.useRef(null), q = J.useRef(null);
93
+ }, vr = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
94
+ function mr(e, r) {
95
+ var a, n = e.arrow, i = n === void 0 ? !1 : n, o = e.prefixCls, l = o === void 0 ? "rc-dropdown" : o, u = e.transitionName, d = e.animation, s = e.align, g = e.placement, c = g === void 0 ? "bottomLeft" : g, f = e.placements, b = f === void 0 ? dr : f, h = e.getPopupContainer, S = e.showAction, C = e.hideAction, I = e.overlayClassName, P = e.overlayStyle, v = e.visible, m = e.trigger, y = m === void 0 ? ["hover"] : m, p = e.autoFocus, R = e.overlay, _ = e.children, E = e.onVisibleChange, W = te(e, vr), O = J.useState(), K = $(O, 2), j = K[0], B = K[1], H = "visible" in e ? v : j, Y = J.useRef(null), T = J.useRef(null), q = J.useRef(null);
100
96
  J.useImperativeHandle(r, function() {
101
97
  return Y.current;
102
98
  });
103
99
  var V = function(D) {
104
100
  B(D), E == null || E(D);
105
101
  };
106
- vr({
102
+ cr({
107
103
  visible: H,
108
104
  triggerRef: q,
109
105
  onVisibleChange: V,
@@ -114,7 +110,7 @@ function hr(e, r) {
114
110
  var ne = e.onOverlayClick;
115
111
  B(!1), ne && ne(D);
116
112
  }, oe = function() {
117
- return /* @__PURE__ */ J.createElement(mr, {
113
+ return /* @__PURE__ */ J.createElement(fr, {
118
114
  ref: T,
119
115
  overlay: R,
120
116
  prefixCls: l,
@@ -154,7 +150,7 @@ function hr(e, r) {
154
150
  getPopupContainer: h
155
151
  }), F);
156
152
  }
157
- const la = /* @__PURE__ */ J.forwardRef(hr);
153
+ const ca = /* @__PURE__ */ J.forwardRef(mr);
158
154
  var it = /* @__PURE__ */ t.createContext(null);
159
155
  function ot(e, r) {
160
156
  return e === void 0 ? null : "".concat(e, "-").concat(r);
@@ -163,17 +159,17 @@ function lt(e) {
163
159
  var r = t.useContext(it);
164
160
  return ot(r, e);
165
161
  }
166
- var Cr = ["children", "locked"], ae = /* @__PURE__ */ t.createContext(null);
167
- function br(e, r) {
168
- var a = A({}, e);
162
+ var pr = ["children", "locked"], ae = /* @__PURE__ */ t.createContext(null);
163
+ function gr(e, r) {
164
+ var a = k({}, e);
169
165
  return Object.keys(r).forEach(function(n) {
170
166
  var i = r[n];
171
167
  i !== void 0 && (a[n] = i);
172
168
  }), a;
173
169
  }
174
170
  function Ve(e) {
175
- var r = e.children, a = e.locked, n = te(e, Cr), i = t.useContext(ae), o = Jt(function() {
176
- return br(i, n);
171
+ var r = e.children, a = e.locked, n = te(e, pr), i = t.useContext(ae), o = qt(function() {
172
+ return gr(i, n);
177
173
  }, [i, n], function(l, u) {
178
174
  return !a && (l[0] !== u[0] || !at(l[1], u[1], !0));
179
175
  });
@@ -181,11 +177,11 @@ function Ve(e) {
181
177
  value: o
182
178
  }, r);
183
179
  }
184
- var yr = [], ut = /* @__PURE__ */ t.createContext(null);
180
+ var hr = [], ut = /* @__PURE__ */ t.createContext(null);
185
181
  function nn() {
186
182
  return t.useContext(ut);
187
183
  }
188
- var st = /* @__PURE__ */ t.createContext(yr);
184
+ var st = /* @__PURE__ */ t.createContext(hr);
189
185
  function Fe(e) {
190
186
  var r = t.useContext(st);
191
187
  return t.useMemo(function() {
@@ -195,7 +191,7 @@ function Fe(e) {
195
191
  var ct = /* @__PURE__ */ t.createContext(null), En = /* @__PURE__ */ t.createContext({});
196
192
  function qn(e) {
197
193
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
198
- if (or(e)) {
194
+ if (ir(e)) {
199
195
  var a = e.nodeName.toLowerCase(), n = (
200
196
  // Focusable element
201
197
  ["input", "select", "textarea", "button"].includes(a) || // Editable element
@@ -206,14 +202,14 @@ function qn(e) {
206
202
  }
207
203
  return !1;
208
204
  }
209
- function Mr(e) {
205
+ function Cr(e) {
210
206
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = Me(e.querySelectorAll("*")).filter(function(n) {
211
207
  return qn(n, r);
212
208
  });
213
209
  return qn(e, r) && a.unshift(e), a;
214
210
  }
215
211
  var Cn = ie.LEFT, bn = ie.RIGHT, yn = ie.UP, Je = ie.DOWN, Qe = ie.ENTER, ft = ie.ESC, De = ie.HOME, $e = ie.END, Yn = [yn, Je, Cn, bn];
216
- function Ir(e, r, a, n) {
212
+ function br(e, r, a, n) {
217
213
  var i, o = "prev", l = "next", u = "children", d = "parent";
218
214
  if (e === "inline" && n === Qe)
219
215
  return {
@@ -252,7 +248,7 @@ function Ir(e, r, a, n) {
252
248
  return null;
253
249
  }
254
250
  }
255
- function Rr(e) {
251
+ function yr(e) {
256
252
  for (var r = e; r; ) {
257
253
  if (r.getAttribute("data-menu-list"))
258
254
  return r;
@@ -260,7 +256,7 @@ function Rr(e) {
260
256
  }
261
257
  return null;
262
258
  }
263
- function Sr(e, r) {
259
+ function Mr(e, r) {
264
260
  for (var a = e || document.activeElement; a; ) {
265
261
  if (r.has(a))
266
262
  return a;
@@ -269,7 +265,7 @@ function Sr(e, r) {
269
265
  return null;
270
266
  }
271
267
  function xn(e, r) {
272
- var a = Mr(e, !0);
268
+ var a = Cr(e, !0);
273
269
  return a.filter(function(n) {
274
270
  return r.has(n);
275
271
  });
@@ -294,7 +290,7 @@ var Mn = function(r, a) {
294
290
  element2key: o
295
291
  };
296
292
  };
297
- function Er(e, r, a, n, i, o, l, u, d, s) {
293
+ function Ir(e, r, a, n, i, o, l, u, d, s) {
298
294
  var g = t.useRef(), c = t.useRef();
299
295
  c.current = r;
300
296
  var f = function() {
@@ -307,7 +303,7 @@ function Er(e, r, a, n, i, o, l, u, d, s) {
307
303
  }, []), function(b) {
308
304
  var h = b.which;
309
305
  if ([].concat(Yn, [Qe, ft, De, $e]).includes(h)) {
310
- var S = o(), C = Mn(S, n), I = C, P = I.elements, v = I.key2element, m = I.element2key, y = v.get(r), p = Sr(y, P), R = m.get(p), _ = Ir(e, l(R, !0).length === 1, a, h);
306
+ var S = o(), C = Mn(S, n), I = C, P = I.elements, v = I.key2element, m = I.element2key, y = v.get(r), p = Mr(y, P), R = m.get(p), _ = br(e, l(R, !0).length === 1, a, h);
311
307
  if (!_ && h !== De && h !== $e)
312
308
  return;
313
309
  (Yn.includes(h) || [De, $e].includes(h)) && b.preventDefault();
@@ -323,7 +319,7 @@ function Er(e, r, a, n, i, o, l, u, d, s) {
323
319
  };
324
320
  if ([De, $e].includes(h) || _.sibling || !p) {
325
321
  var W;
326
- !p || e === "inline" ? W = i.current : W = Rr(p);
322
+ !p || e === "inline" ? W = i.current : W = yr(p);
327
323
  var O, K = xn(W, P);
328
324
  h === De ? O = K[0] : h === $e ? O = K[K.length - 1] : O = Xn(W, P, p, _.offset), E(O);
329
325
  } else if (_.inlineTrigger)
@@ -342,15 +338,15 @@ function Er(e, r, a, n, i, o, l, u, d, s) {
342
338
  s == null || s(b);
343
339
  };
344
340
  }
345
- function xr(e) {
341
+ function Rr(e) {
346
342
  Promise.resolve().then(e);
347
343
  }
348
344
  var wn = "__RC_UTIL_PATH_SPLIT__", Zn = function(r) {
349
345
  return r.join(wn);
350
- }, wr = function(r) {
346
+ }, Sr = function(r) {
351
347
  return r.split(wn);
352
348
  }, In = "rc-menu-more";
353
- function Pr() {
349
+ function Er() {
354
350
  var e = t.useState({}), r = $(e, 2), a = r[1], n = Xe(/* @__PURE__ */ new Map()), i = Xe(/* @__PURE__ */ new Map()), o = t.useState([]), l = $(o, 2), u = l[0], d = l[1], s = Xe(0), g = Xe(!1), c = function() {
355
351
  g.current || a({});
356
352
  }, f = Re(function(v, m) {
@@ -358,7 +354,7 @@ function Pr() {
358
354
  var y = Zn(m);
359
355
  i.current.set(y, v), n.current.set(v, y), s.current += 1;
360
356
  var p = s.current;
361
- xr(function() {
357
+ Rr(function() {
362
358
  p === s.current && c();
363
359
  });
364
360
  }, []), b = Re(function(v, m) {
@@ -367,7 +363,7 @@ function Pr() {
367
363
  }, []), h = Re(function(v) {
368
364
  d(v);
369
365
  }, []), S = Re(function(v, m) {
370
- var y = n.current.get(v) || "", p = wr(y);
366
+ var y = n.current.get(v) || "", p = Sr(y);
371
367
  return m && u.includes(p[0]) && p.unshift(In), p;
372
368
  }, [u]), C = Re(function(v, m) {
373
369
  return v.filter(function(y) {
@@ -411,14 +407,14 @@ function Le(e) {
411
407
  }, []);
412
408
  return e ? a : void 0;
413
409
  }
414
- var Nr = Math.random().toFixed(5).toString().slice(2), Jn = 0;
415
- function _r(e) {
410
+ var xr = Math.random().toFixed(5).toString().slice(2), Jn = 0;
411
+ function wr(e) {
416
412
  var r = Ze(e, {
417
413
  value: e
418
414
  }), a = $(r, 2), n = a[0], i = a[1];
419
415
  return t.useEffect(function() {
420
416
  Jn += 1;
421
- var o = process.env.NODE_ENV === "test" ? "test" : "".concat(Nr, "-").concat(Jn);
417
+ var o = process.env.NODE_ENV === "test" ? "test" : "".concat(xr, "-").concat(Jn);
422
418
  i("rc-menu-uuid-".concat(o));
423
419
  }, []), n;
424
420
  }
@@ -451,27 +447,27 @@ function vt(e) {
451
447
  }
452
448
  function mt(e) {
453
449
  var r = e.icon, a = e.props, n = e.children, i;
454
- return r === null || r === !1 ? null : (typeof r == "function" ? i = /* @__PURE__ */ t.createElement(r, A({}, a)) : typeof r != "boolean" && (i = r), i || n || null);
450
+ return r === null || r === !1 ? null : (typeof r == "function" ? i = /* @__PURE__ */ t.createElement(r, k({}, a)) : typeof r != "boolean" && (i = r), i || n || null);
455
451
  }
456
- var Kr = ["item"];
452
+ var Pr = ["item"];
457
453
  function en(e) {
458
- var r = e.item, a = te(e, Kr);
454
+ var r = e.item, a = te(e, Pr);
459
455
  return Object.defineProperty(a, "item", {
460
456
  get: function() {
461
457
  return we(!1, "`info.item` is deprecated since we will move to function component that not provides React Node instance in future."), r;
462
458
  }
463
459
  }), a;
464
460
  }
465
- var Or = ["title", "attribute", "elementRef"], kr = ["style", "className", "eventKey", "warnKey", "disabled", "itemIcon", "children", "role", "onMouseEnter", "onMouseLeave", "onClick", "onKeyDown", "onFocus"], Ar = ["active"], Dr = /* @__PURE__ */ function(e) {
466
- er(a, e);
467
- var r = nr(a);
461
+ var Nr = ["title", "attribute", "elementRef"], _r = ["style", "className", "eventKey", "warnKey", "disabled", "itemIcon", "children", "role", "onMouseEnter", "onMouseLeave", "onClick", "onKeyDown", "onFocus"], Kr = ["active"], Or = /* @__PURE__ */ function(e) {
462
+ Xt(a, e);
463
+ var r = Zt(a);
468
464
  function a() {
469
- return tr(this, a), r.apply(this, arguments);
465
+ return Jt(this, a), r.apply(this, arguments);
470
466
  }
471
- return rr(a, [{
467
+ return Qt(a, [{
472
468
  key: "render",
473
469
  value: function() {
474
- var i = this.props, o = i.title, l = i.attribute, u = i.elementRef, d = te(i, Or), s = Sn(d, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
470
+ var i = this.props, o = i.title, l = i.attribute, u = i.elementRef, d = te(i, Nr), s = Sn(d, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
475
471
  return we(!l, "`attribute` of Menu.Item is deprecated. Please pass attribute directly."), /* @__PURE__ */ t.createElement(Te.Item, L({}, l, {
476
472
  title: typeof o == "string" ? o : void 0
477
473
  }, s, {
@@ -479,8 +475,8 @@ var Or = ["title", "attribute", "elementRef"], kr = ["style", "className", "even
479
475
  }));
480
476
  }
481
477
  }]), a;
482
- }(t.Component), $r = /* @__PURE__ */ t.forwardRef(function(e, r) {
483
- var a = e.style, n = e.className, i = e.eventKey, o = e.warnKey, l = e.disabled, u = e.itemIcon, d = e.children, s = e.role, g = e.onMouseEnter, c = e.onMouseLeave, f = e.onClick, b = e.onKeyDown, h = e.onFocus, S = te(e, kr), C = lt(i), I = t.useContext(ae), P = I.prefixCls, v = I.onItemClick, m = I.disabled, y = I.overflowDisabled, p = I.itemIcon, R = I.selectedKeys, _ = I.onActive, E = t.useContext(En), W = E._internalRenderMenuItem, O = "".concat(P, "-item"), K = t.useRef(), j = t.useRef(), B = m || l, H = Qt(r, j), Y = Fe(i);
478
+ }(t.Component), Ar = /* @__PURE__ */ t.forwardRef(function(e, r) {
479
+ var a = e.style, n = e.className, i = e.eventKey, o = e.warnKey, l = e.disabled, u = e.itemIcon, d = e.children, s = e.role, g = e.onMouseEnter, c = e.onMouseLeave, f = e.onClick, b = e.onKeyDown, h = e.onFocus, S = te(e, _r), C = lt(i), I = t.useContext(ae), P = I.prefixCls, v = I.onItemClick, m = I.disabled, y = I.overflowDisabled, p = I.itemIcon, R = I.selectedKeys, _ = I.onActive, E = t.useContext(En), W = E._internalRenderMenuItem, O = "".concat(P, "-item"), K = t.useRef(), j = t.useRef(), B = m || l, H = Yt(r, j), Y = Fe(i);
484
480
  process.env.NODE_ENV !== "production" && o && we(!1, "MenuItem should not leave undefined `key`.");
485
481
  var T = function(G) {
486
482
  return {
@@ -490,7 +486,7 @@ var Or = ["title", "attribute", "elementRef"], kr = ["style", "className", "even
490
486
  item: K.current,
491
487
  domEvent: G
492
488
  };
493
- }, q = u || p, V = dt(i, B, g, c), Q = V.active, oe = te(V, Ar), le = R.includes(i), se = vt(Y.length), ce = function(G) {
489
+ }, q = u || p, V = dt(i, B, g, c), Q = V.active, oe = te(V, Kr), le = R.includes(i), se = vt(Y.length), ce = function(G) {
494
490
  if (!B) {
495
491
  var ue = T(G);
496
492
  f == null || f(en(ue)), v(ue);
@@ -504,7 +500,7 @@ var Or = ["title", "attribute", "elementRef"], kr = ["style", "className", "even
504
500
  _(i), h == null || h(G);
505
501
  }, ee = {};
506
502
  e.role === "option" && (ee["aria-selected"] = le);
507
- var D = /* @__PURE__ */ t.createElement(Dr, L({
503
+ var D = /* @__PURE__ */ t.createElement(Or, L({
508
504
  ref: K,
509
505
  elementRef: H,
510
506
  role: s === null ? "none" : s || "menuitem",
@@ -513,13 +509,13 @@ var Or = ["title", "attribute", "elementRef"], kr = ["style", "className", "even
513
509
  }, Sn(S, ["extra"]), oe, ee, {
514
510
  component: "li",
515
511
  "aria-disabled": l,
516
- style: A(A({}, se), a),
512
+ style: k(k({}, se), a),
517
513
  className: de(O, w(w(w({}, "".concat(O, "-active"), Q), "".concat(O, "-selected"), le), "".concat(O, "-disabled"), B), n),
518
514
  onClick: ce,
519
515
  onKeyDown: F,
520
516
  onFocus: z
521
517
  }), d, /* @__PURE__ */ t.createElement(mt, {
522
- props: A(A({}, e), {}, {
518
+ props: k(k({}, e), {}, {
523
519
  isSelected: le
524
520
  }),
525
521
  icon: q
@@ -528,20 +524,20 @@ var Or = ["title", "attribute", "elementRef"], kr = ["style", "className", "even
528
524
  selected: le
529
525
  })), D;
530
526
  });
531
- function Lr(e, r) {
527
+ function kr(e, r) {
532
528
  var a = e.eventKey, n = nn(), i = Fe(a);
533
529
  return t.useEffect(function() {
534
530
  if (n)
535
531
  return n.registerPath(a, i), function() {
536
532
  n.unregisterPath(a, i);
537
533
  };
538
- }, [i]), n ? null : /* @__PURE__ */ t.createElement($r, L({}, e, {
534
+ }, [i]), n ? null : /* @__PURE__ */ t.createElement(Ar, L({}, e, {
539
535
  ref: r
540
536
  }));
541
537
  }
542
- const Pn = /* @__PURE__ */ t.forwardRef(Lr);
543
- var Tr = ["className", "children"], Vr = function(r, a) {
544
- var n = r.className, i = r.children, o = te(r, Tr), l = t.useContext(ae), u = l.prefixCls, d = l.mode, s = l.rtl;
538
+ const Pn = /* @__PURE__ */ t.forwardRef(kr);
539
+ var Dr = ["className", "children"], $r = function(r, a) {
540
+ var n = r.className, i = r.children, o = te(r, Dr), l = t.useContext(ae), u = l.prefixCls, d = l.mode, s = l.rtl;
545
541
  return /* @__PURE__ */ t.createElement("ul", L({
546
542
  className: de(u, s && "".concat(u, "-rtl"), "".concat(u, "-sub"), "".concat(u, "-").concat(d === "inline" ? "inline" : "vertical"), n),
547
543
  role: "menu"
@@ -549,10 +545,10 @@ var Tr = ["className", "children"], Vr = function(r, a) {
549
545
  "data-menu-list": !0,
550
546
  ref: a
551
547
  }), i);
552
- }, Nn = /* @__PURE__ */ t.forwardRef(Vr);
548
+ }, Nn = /* @__PURE__ */ t.forwardRef($r);
553
549
  Nn.displayName = "SubMenuList";
554
550
  function _n(e, r) {
555
- return lr(e).map(function(a, n) {
551
+ return or(e).map(function(a, n) {
556
552
  if (/* @__PURE__ */ t.isValidElement(a)) {
557
553
  var i, o, l = a.key, u = (i = (o = a.props) === null || o === void 0 ? void 0 : o.eventKey) !== null && i !== void 0 ? i : l, d = u == null;
558
554
  d && (u = "tmp_key-".concat([].concat(Me(r), [n]).join("-")));
@@ -568,7 +564,7 @@ function _n(e, r) {
568
564
  var U = {
569
565
  adjustX: 1,
570
566
  adjustY: 1
571
- }, Fr = {
567
+ }, Lr = {
572
568
  topLeft: {
573
569
  points: ["bl", "tl"],
574
570
  overflow: U
@@ -601,7 +597,7 @@ var U = {
601
597
  points: ["bl", "br"],
602
598
  overflow: U
603
599
  }
604
- }, zr = {
600
+ }, Tr = {
605
601
  topLeft: {
606
602
  points: ["bl", "tl"],
607
603
  overflow: U
@@ -641,16 +637,16 @@ function pt(e, r, a) {
641
637
  if (a)
642
638
  return a[e] || a.other;
643
639
  }
644
- var Ur = {
640
+ var Vr = {
645
641
  horizontal: "bottomLeft",
646
642
  vertical: "rightTop",
647
643
  "vertical-left": "rightTop",
648
644
  "vertical-right": "leftTop"
649
645
  };
650
- function Wr(e) {
651
- var r = e.prefixCls, a = e.visible, n = e.children, i = e.popup, o = e.popupStyle, l = e.popupClassName, u = e.popupOffset, d = e.disabled, s = e.mode, g = e.onVisibleChange, c = t.useContext(ae), f = c.getPopupContainer, b = c.rtl, h = c.subMenuOpenDelay, S = c.subMenuCloseDelay, C = c.builtinPlacements, I = c.triggerSubMenuAction, P = c.forceSubMenuRender, v = c.rootClassName, m = c.motion, y = c.defaultMotions, p = t.useState(!1), R = $(p, 2), _ = R[0], E = R[1], W = b ? A(A({}, zr), C) : A(A({}, Fr), C), O = Ur[s], K = pt(s, m, y), j = t.useRef(K);
646
+ function Fr(e) {
647
+ var r = e.prefixCls, a = e.visible, n = e.children, i = e.popup, o = e.popupStyle, l = e.popupClassName, u = e.popupOffset, d = e.disabled, s = e.mode, g = e.onVisibleChange, c = t.useContext(ae), f = c.getPopupContainer, b = c.rtl, h = c.subMenuOpenDelay, S = c.subMenuCloseDelay, C = c.builtinPlacements, I = c.triggerSubMenuAction, P = c.forceSubMenuRender, v = c.rootClassName, m = c.motion, y = c.defaultMotions, p = t.useState(!1), R = $(p, 2), _ = R[0], E = R[1], W = b ? k(k({}, Tr), C) : k(k({}, Lr), C), O = Vr[s], K = pt(s, m, y), j = t.useRef(K);
652
648
  s !== "inline" && (j.current = K);
653
- var B = A(A({}, j.current), {}, {
649
+ var B = k(k({}, j.current), {}, {
654
650
  leavedClassName: "".concat(r, "-hidden"),
655
651
  removeOnLeave: !1,
656
652
  motionAppear: !0
@@ -683,14 +679,14 @@ function Wr(e) {
683
679
  fresh: !0
684
680
  }, n);
685
681
  }
686
- function jr(e) {
682
+ function zr(e) {
687
683
  var r = e.id, a = e.open, n = e.keyPath, i = e.children, o = "inline", l = t.useContext(ae), u = l.prefixCls, d = l.forceSubMenuRender, s = l.motion, g = l.defaultMotions, c = l.mode, f = t.useRef(!1);
688
684
  f.current = c === o;
689
685
  var b = t.useState(!f.current), h = $(b, 2), S = h[0], C = h[1], I = f.current ? a : !1;
690
686
  t.useEffect(function() {
691
687
  f.current && C(!1);
692
688
  }, [c]);
693
- var P = A({}, pt(o, s, g));
689
+ var P = k({}, pt(o, s, g));
694
690
  n.length > 1 && (P.motionAppear = !1);
695
691
  var v = P.onVisibleChanged;
696
692
  return P.onVisibleChanged = function(m) {
@@ -698,7 +694,7 @@ function jr(e) {
698
694
  }, S ? null : /* @__PURE__ */ t.createElement(Ve, {
699
695
  mode: o,
700
696
  locked: !f.current
701
- }, /* @__PURE__ */ t.createElement(ar, L({
697
+ }, /* @__PURE__ */ t.createElement(er, L({
702
698
  visible: I
703
699
  }, P, {
704
700
  forceRender: d,
@@ -713,32 +709,32 @@ function jr(e) {
713
709
  }, i);
714
710
  }));
715
711
  }
716
- var Br = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], Hr = ["active"], Gr = /* @__PURE__ */ t.forwardRef(function(e, r) {
717
- var a = e.style, n = e.className, i = e.title, o = e.eventKey, l = e.warnKey, u = e.disabled, d = e.internalPopupClose, s = e.children, g = e.itemIcon, c = e.expandIcon, f = e.popupClassName, b = e.popupOffset, h = e.popupStyle, S = e.onClick, C = e.onMouseEnter, I = e.onMouseLeave, P = e.onTitleClick, v = e.onTitleMouseEnter, m = e.onTitleMouseLeave, y = te(e, Br), p = lt(o), R = t.useContext(ae), _ = R.prefixCls, E = R.mode, W = R.openKeys, O = R.disabled, K = R.overflowDisabled, j = R.activeKey, B = R.selectedKeys, H = R.itemIcon, Y = R.expandIcon, T = R.onItemClick, q = R.onOpenChange, V = R.onActive, Q = t.useContext(En), oe = Q._internalRenderSubMenuItem, le = t.useContext(ct), se = le.isSubPathKey, ce = Fe(), F = "".concat(_, "-submenu"), z = O || u, ee = t.useRef(), D = t.useRef();
712
+ var Ur = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], Wr = ["active"], jr = /* @__PURE__ */ t.forwardRef(function(e, r) {
713
+ var a = e.style, n = e.className, i = e.title, o = e.eventKey, l = e.warnKey, u = e.disabled, d = e.internalPopupClose, s = e.children, g = e.itemIcon, c = e.expandIcon, f = e.popupClassName, b = e.popupOffset, h = e.popupStyle, S = e.onClick, C = e.onMouseEnter, I = e.onMouseLeave, P = e.onTitleClick, v = e.onTitleMouseEnter, m = e.onTitleMouseLeave, y = te(e, Ur), p = lt(o), R = t.useContext(ae), _ = R.prefixCls, E = R.mode, W = R.openKeys, O = R.disabled, K = R.overflowDisabled, j = R.activeKey, B = R.selectedKeys, H = R.itemIcon, Y = R.expandIcon, T = R.onItemClick, q = R.onOpenChange, V = R.onActive, Q = t.useContext(En), oe = Q._internalRenderSubMenuItem, le = t.useContext(ct), se = le.isSubPathKey, ce = Fe(), F = "".concat(_, "-submenu"), z = O || u, ee = t.useRef(), D = t.useRef();
718
714
  process.env.NODE_ENV !== "production" && l && we(!1, "SubMenu should not leave undefined `key`.");
719
- var ne = g ?? H, G = c ?? Y, ue = W.includes(o), ve = !K && ue, ze = se(B, o), Ie = dt(o, z, v, m), ge = Ie.active, an = te(Ie, Hr), on = t.useState(!1), Ue = $(on, 2), Pe = Ue[0], We = Ue[1], Ne = function(k) {
720
- z || We(k);
721
- }, ln = function(k) {
715
+ var ne = g ?? H, G = c ?? Y, ue = W.includes(o), ve = !K && ue, ze = se(B, o), Ie = dt(o, z, v, m), ge = Ie.active, an = te(Ie, Wr), on = t.useState(!1), Ue = $(on, 2), Pe = Ue[0], We = Ue[1], Ne = function(A) {
716
+ z || We(A);
717
+ }, ln = function(A) {
722
718
  Ne(!0), C == null || C({
723
719
  key: o,
724
- domEvent: k
720
+ domEvent: A
725
721
  });
726
- }, un = function(k) {
722
+ }, un = function(A) {
727
723
  Ne(!1), I == null || I({
728
724
  key: o,
729
- domEvent: k
725
+ domEvent: A
730
726
  });
731
727
  }, _e = t.useMemo(function() {
732
728
  return ge || (E !== "inline" ? Pe || se([j], o) : !1);
733
- }, [E, ge, j, Pe, o, se]), fe = vt(ce.length), sn = function(k) {
729
+ }, [E, ge, j, Pe, o, se]), fe = vt(ce.length), sn = function(A) {
734
730
  z || (P == null || P({
735
731
  key: o,
736
- domEvent: k
732
+ domEvent: A
737
733
  }), E === "inline" && q(o, !ue));
738
734
  }, cn = Le(function(re) {
739
735
  S == null || S(en(re)), T(re);
740
- }), je = function(k) {
741
- E !== "inline" && q(o, k);
736
+ }), je = function(A) {
737
+ E !== "inline" && q(o, A);
742
738
  }, Be = function() {
743
739
  V(o);
744
740
  }, Ke = p && "".concat(p, "-popup"), me = /* @__PURE__ */ t.createElement("div", L({
@@ -757,7 +753,7 @@ var Br = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
757
753
  onFocus: Be
758
754
  }, an), i, /* @__PURE__ */ t.createElement(mt, {
759
755
  icon: E !== "horizontal" ? G : void 0,
760
- props: A(A({}, e), {}, {
756
+ props: k(k({}, e), {}, {
761
757
  isOpen: ve,
762
758
  // [Legacy] Not sure why need this mark
763
759
  isSubMenu: !0
@@ -767,7 +763,7 @@ var Br = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
767
763
  }))), he = t.useRef(E);
768
764
  if (E !== "inline" && ce.length > 1 ? he.current = "vertical" : he.current = E, !K) {
769
765
  var Ce = he.current;
770
- me = /* @__PURE__ */ t.createElement(Wr, {
766
+ me = /* @__PURE__ */ t.createElement(Fr, {
771
767
  mode: Ce,
772
768
  prefixCls: F,
773
769
  visible: !d && ve && E !== "inline",
@@ -797,7 +793,7 @@ var Br = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
797
793
  className: de(F, "".concat(F, "-").concat(E), n, w(w(w(w({}, "".concat(F, "-open"), ve), "".concat(F, "-active"), _e), "".concat(F, "-selected"), ze), "".concat(F, "-disabled"), z)),
798
794
  onMouseEnter: ln,
799
795
  onMouseLeave: un
800
- }), me, !K && /* @__PURE__ */ t.createElement(jr, {
796
+ }), me, !K && /* @__PURE__ */ t.createElement(zr, {
801
797
  id: Ke,
802
798
  open: ve,
803
799
  keyPath: ce
@@ -822,7 +818,7 @@ var Br = ["style", "className", "title", "eventKey", "warnKey", "disabled", "int
822
818
  };
823
819
  }, [i]);
824
820
  var u;
825
- return l ? u = o : u = /* @__PURE__ */ t.createElement(Gr, L({
821
+ return l ? u = o : u = /* @__PURE__ */ t.createElement(jr, L({
826
822
  ref: r
827
823
  }, e), o), /* @__PURE__ */ t.createElement(st.Provider, {
828
824
  value: i
@@ -837,10 +833,10 @@ function gt(e) {
837
833
  style: a
838
834
  });
839
835
  }
840
- var qr = ["className", "title", "eventKey", "children"], Yr = /* @__PURE__ */ t.forwardRef(function(e, r) {
836
+ var Br = ["className", "title", "eventKey", "children"], Hr = /* @__PURE__ */ t.forwardRef(function(e, r) {
841
837
  var a = e.className, n = e.title;
842
838
  e.eventKey;
843
- var i = e.children, o = te(e, qr), l = t.useContext(ae), u = l.prefixCls, d = "".concat(u, "-item-group");
839
+ var i = e.children, o = te(e, Br), l = t.useContext(ae), u = l.prefixCls, d = "".concat(u, "-item-group");
844
840
  return /* @__PURE__ */ t.createElement("li", L({
845
841
  ref: r,
846
842
  role: "presentation"
@@ -859,17 +855,17 @@ var qr = ["className", "title", "eventKey", "children"], Yr = /* @__PURE__ */ t.
859
855
  }, i));
860
856
  }), Kn = /* @__PURE__ */ t.forwardRef(function(e, r) {
861
857
  var a = e.eventKey, n = e.children, i = Fe(a), o = _n(n, i), l = nn();
862
- return l ? o : /* @__PURE__ */ t.createElement(Yr, L({
858
+ return l ? o : /* @__PURE__ */ t.createElement(Hr, L({
863
859
  ref: r
864
860
  }, Sn(e, ["warnKey"])), o);
865
861
  });
866
862
  process.env.NODE_ENV !== "production" && (Kn.displayName = "MenuItemGroup");
867
- var Xr = ["label", "children", "key", "type", "extra"];
863
+ var Gr = ["label", "children", "key", "type", "extra"];
868
864
  function Rn(e, r, a) {
869
865
  var n = r.item, i = r.group, o = r.submenu, l = r.divider;
870
866
  return (e || []).map(function(u, d) {
871
867
  if (u && Gt(u) === "object") {
872
- var s = u, g = s.label, c = s.children, f = s.key, b = s.type, h = s.extra, S = te(s, Xr), C = f ?? "tmp-".concat(d);
868
+ var s = u, g = s.label, c = s.children, f = s.key, b = s.type, h = s.extra, S = te(s, Gr), C = f ?? "tmp-".concat(d);
873
869
  return c || b === "group" ? b === "group" ? /* @__PURE__ */ t.createElement(i, L({
874
870
  key: C
875
871
  }, S, {
@@ -894,7 +890,7 @@ function Rn(e, r, a) {
894
890
  });
895
891
  }
896
892
  function Qn(e, r, a, n, i) {
897
- var o = e, l = A({
893
+ var o = e, l = k({
898
894
  divider: gt,
899
895
  item: Pn,
900
896
  group: Kn,
@@ -902,37 +898,37 @@ function Qn(e, r, a, n, i) {
902
898
  }, n);
903
899
  return r && (o = Rn(r, l, i)), _n(o, a);
904
900
  }
905
- var Zr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], ye = [], Jr = /* @__PURE__ */ t.forwardRef(function(e, r) {
906
- var a, n = e, i = n.prefixCls, o = i === void 0 ? "rc-menu" : i, l = n.rootClassName, u = n.style, d = n.className, s = n.tabIndex, g = s === void 0 ? 0 : s, c = n.items, f = n.children, b = n.direction, h = n.id, S = n.mode, C = S === void 0 ? "vertical" : S, I = n.inlineCollapsed, P = n.disabled, v = n.disabledOverflow, m = n.subMenuOpenDelay, y = m === void 0 ? 0.1 : m, p = n.subMenuCloseDelay, R = p === void 0 ? 0.1 : p, _ = n.forceSubMenuRender, E = n.defaultOpenKeys, W = n.openKeys, O = n.activeKey, K = n.defaultActiveFirst, j = n.selectable, B = j === void 0 ? !0 : j, H = n.multiple, Y = H === void 0 ? !1 : H, T = n.defaultSelectedKeys, q = n.selectedKeys, V = n.onSelect, Q = n.onDeselect, oe = n.inlineIndent, le = oe === void 0 ? 24 : oe, se = n.motion, ce = n.defaultMotions, F = n.triggerSubMenuAction, z = F === void 0 ? "hover" : F, ee = n.builtinPlacements, D = n.itemIcon, ne = n.expandIcon, G = n.overflowedIndicator, ue = G === void 0 ? "..." : G, ve = n.overflowedIndicatorPopupClassName, ze = n.getPopupContainer, Ie = n.onClick, ge = n.onOpenChange, an = n.onKeyDown, on = n.openAnimation, Ue = n.openTransitionName, Pe = n._internalRenderMenuItem, We = n._internalRenderSubMenuItem, Ne = n._internalComponents, ln = te(n, Zr), un = t.useMemo(function() {
901
+ var qr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], ye = [], Yr = /* @__PURE__ */ t.forwardRef(function(e, r) {
902
+ var a, n = e, i = n.prefixCls, o = i === void 0 ? "rc-menu" : i, l = n.rootClassName, u = n.style, d = n.className, s = n.tabIndex, g = s === void 0 ? 0 : s, c = n.items, f = n.children, b = n.direction, h = n.id, S = n.mode, C = S === void 0 ? "vertical" : S, I = n.inlineCollapsed, P = n.disabled, v = n.disabledOverflow, m = n.subMenuOpenDelay, y = m === void 0 ? 0.1 : m, p = n.subMenuCloseDelay, R = p === void 0 ? 0.1 : p, _ = n.forceSubMenuRender, E = n.defaultOpenKeys, W = n.openKeys, O = n.activeKey, K = n.defaultActiveFirst, j = n.selectable, B = j === void 0 ? !0 : j, H = n.multiple, Y = H === void 0 ? !1 : H, T = n.defaultSelectedKeys, q = n.selectedKeys, V = n.onSelect, Q = n.onDeselect, oe = n.inlineIndent, le = oe === void 0 ? 24 : oe, se = n.motion, ce = n.defaultMotions, F = n.triggerSubMenuAction, z = F === void 0 ? "hover" : F, ee = n.builtinPlacements, D = n.itemIcon, ne = n.expandIcon, G = n.overflowedIndicator, ue = G === void 0 ? "..." : G, ve = n.overflowedIndicatorPopupClassName, ze = n.getPopupContainer, Ie = n.onClick, ge = n.onOpenChange, an = n.onKeyDown, on = n.openAnimation, Ue = n.openTransitionName, Pe = n._internalRenderMenuItem, We = n._internalRenderSubMenuItem, Ne = n._internalComponents, ln = te(n, qr), un = t.useMemo(function() {
907
903
  return [Qn(f, c, ye, Ne, o), Qn(f, c, ye, {}, o)];
908
- }, [f, c, Ne]), _e = $(un, 2), fe = _e[0], sn = _e[1], cn = t.useState(!1), je = $(cn, 2), Be = je[0], Ke = je[1], me = t.useRef(), he = _r(h), Ce = b === "rtl";
904
+ }, [f, c, Ne]), _e = $(un, 2), fe = _e[0], sn = _e[1], cn = t.useState(!1), je = $(cn, 2), Be = je[0], Ke = je[1], me = t.useRef(), he = wr(h), Ce = b === "rtl";
909
905
  process.env.NODE_ENV !== "production" && we(!on && !Ue, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
910
906
  var Oe = Ze(E, {
911
907
  value: W,
912
908
  postState: function(M) {
913
909
  return M || ye;
914
910
  }
915
- }), re = $(Oe, 2), k = re[0], On = re[1], fn = function(M) {
911
+ }), re = $(Oe, 2), A = re[0], On = re[1], fn = function(M) {
916
912
  var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
917
913
  function X() {
918
914
  On(M), ge == null || ge(M);
919
915
  }
920
- x ? ir.flushSync(X) : X();
921
- }, ht = t.useState(k), kn = $(ht, 2), Ct = kn[0], bt = kn[1], dn = t.useRef(!1), yt = t.useMemo(function() {
916
+ x ? nr.flushSync(X) : X();
917
+ }, ht = t.useState(A), An = $(ht, 2), Ct = An[0], bt = An[1], dn = t.useRef(!1), yt = t.useMemo(function() {
922
918
  return (C === "inline" || C === "vertical") && I ? ["vertical", I] : [C, !1];
923
- }, [C, I]), An = $(yt, 2), He = An[0], vn = An[1], Dn = He === "inline", Mt = t.useState(He), $n = $(Mt, 2), pe = $n[0], It = $n[1], Rt = t.useState(vn), Ln = $(Rt, 2), St = Ln[0], Et = Ln[1];
919
+ }, [C, I]), kn = $(yt, 2), He = kn[0], vn = kn[1], Dn = He === "inline", Mt = t.useState(He), $n = $(Mt, 2), pe = $n[0], It = $n[1], Rt = t.useState(vn), Ln = $(Rt, 2), St = Ln[0], Et = Ln[1];
924
920
  t.useEffect(function() {
925
921
  It(He), Et(vn), dn.current && (Dn ? On(Ct) : fn(ye));
926
922
  }, [He, vn]);
927
923
  var xt = t.useState(0), Tn = $(xt, 2), Ge = Tn[0], wt = Tn[1], mn = Ge >= fe.length - 1 || pe !== "horizontal" || v;
928
924
  t.useEffect(function() {
929
- Dn && bt(k);
930
- }, [k]), t.useEffect(function() {
925
+ Dn && bt(A);
926
+ }, [A]), t.useEffect(function() {
931
927
  return dn.current = !0, function() {
932
928
  dn.current = !1;
933
929
  };
934
930
  }, []);
935
- var be = Pr(), Vn = be.registerPath, Fn = be.unregisterPath, Pt = be.refreshOverflowKeys, zn = be.isSubPathKey, Nt = be.getKeyPath, Un = be.getKeys, _t = be.getSubPathKeys, Kt = t.useMemo(function() {
931
+ var be = Er(), Vn = be.registerPath, Fn = be.unregisterPath, Pt = be.refreshOverflowKeys, zn = be.isSubPathKey, Nt = be.getKeyPath, Un = be.getKeys, _t = be.getSubPathKeys, Kt = t.useMemo(function() {
936
932
  return {
937
933
  registerPath: Vn,
938
934
  unregisterPath: Fn
@@ -947,23 +943,23 @@ var Zr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
947
943
  return N.key;
948
944
  }));
949
945
  }, [Ge, mn]);
950
- var kt = Ze(O || K && ((a = fe[0]) === null || a === void 0 ? void 0 : a.key), {
946
+ var At = Ze(O || K && ((a = fe[0]) === null || a === void 0 ? void 0 : a.key), {
951
947
  value: O
952
- }), Wn = $(kt, 2), ke = Wn[0], pn = Wn[1], At = Le(function(N) {
948
+ }), Wn = $(At, 2), Ae = Wn[0], pn = Wn[1], kt = Le(function(N) {
953
949
  pn(N);
954
950
  }), Dt = Le(function() {
955
951
  pn(void 0);
956
952
  });
957
- Xt(r, function() {
953
+ ar(r, function() {
958
954
  return {
959
955
  list: me.current,
960
956
  focus: function(M) {
961
- var x, X = Un(), Z = Mn(X, he), Ye = Z.elements, gn = Z.key2element, Bt = Z.element2key, Hn = xn(me.current, Ye), Gn = ke ?? (Hn[0] ? Bt.get(Hn[0]) : (x = fe.find(function(Ht) {
957
+ var x, X = Un(), Z = Mn(X, he), Ye = Z.elements, gn = Z.key2element, Bt = Z.element2key, Hn = xn(me.current, Ye), Gn = Ae ?? (Hn[0] ? Bt.get(Hn[0]) : (x = fe.find(function(Ht) {
962
958
  return !Ht.props.disabled;
963
- })) === null || x === void 0 ? void 0 : x.key), Ae = gn.get(Gn);
964
- if (Gn && Ae) {
959
+ })) === null || x === void 0 ? void 0 : x.key), ke = gn.get(Gn);
960
+ if (Gn && ke) {
965
961
  var hn;
966
- Ae == null || (hn = Ae.focus) === null || hn === void 0 || hn.call(Ae, M);
962
+ ke == null || (hn = ke.focus) === null || hn === void 0 || hn.call(ke, M);
967
963
  }
968
964
  }
969
965
  };
@@ -980,16 +976,16 @@ var Zr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
980
976
  Y ? X ? Z = qe.filter(function(gn) {
981
977
  return gn !== x;
982
978
  }) : Z = [].concat(Me(qe), [x]) : Z = [x], Lt(Z);
983
- var Ye = A(A({}, M), {}, {
979
+ var Ye = k(k({}, M), {}, {
984
980
  selectedKeys: Z
985
981
  });
986
982
  X ? Q == null || Q(Ye) : V == null || V(Ye);
987
983
  }
988
- !Y && k.length && pe !== "inline" && fn(ye);
984
+ !Y && A.length && pe !== "inline" && fn(ye);
989
985
  }, Vt = Le(function(N) {
990
986
  Ie == null || Ie(en(N)), Tt(N);
991
987
  }), Bn = Le(function(N, M) {
992
- var x = k.filter(function(Z) {
988
+ var x = A.filter(function(Z) {
993
989
  return Z !== N;
994
990
  });
995
991
  if (M)
@@ -1000,11 +996,11 @@ var Zr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
1000
996
  return !X.has(Z);
1001
997
  });
1002
998
  }
1003
- at(k, x, !0) || fn(x, !0);
999
+ at(A, x, !0) || fn(x, !0);
1004
1000
  }), Ft = function(M, x) {
1005
- var X = x ?? !k.includes(M);
1001
+ var X = x ?? !A.includes(M);
1006
1002
  Bn(M, X);
1007
- }, zt = Er(pe, ke, Ce, he, me, Un, Nt, pn, Ft, an);
1003
+ }, zt = Ir(pe, Ae, Ce, he, me, Un, Nt, pn, Ft, an);
1008
1004
  t.useEffect(function() {
1009
1005
  Ke(!0);
1010
1006
  }, []);
@@ -1065,13 +1061,13 @@ var Zr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
1065
1061
  prefixCls: o,
1066
1062
  rootClassName: l,
1067
1063
  mode: pe,
1068
- openKeys: k,
1064
+ openKeys: A,
1069
1065
  rtl: Ce,
1070
1066
  disabled: P,
1071
1067
  motion: Be ? se : null,
1072
1068
  defaultMotions: Be ? ce : null,
1073
- activeKey: ke,
1074
- onActive: At,
1069
+ activeKey: Ae,
1070
+ onActive: kt,
1075
1071
  onInactive: Dt,
1076
1072
  selectedKeys: qe,
1077
1073
  inlineIndent: le,
@@ -1095,18 +1091,25 @@ var Zr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
1095
1091
  }, /* @__PURE__ */ t.createElement(ut.Provider, {
1096
1092
  value: Kt
1097
1093
  }, sn)))));
1098
- }), rn = Jr;
1094
+ }), rn = Yr;
1099
1095
  rn.Item = Pn;
1100
1096
  rn.SubMenu = tn;
1101
1097
  rn.ItemGroup = Kn;
1102
1098
  rn.Divider = gt;
1099
+ var Xr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" }, Zr = function(r, a) {
1100
+ return /* @__PURE__ */ t.createElement(lr, L({}, r, {
1101
+ ref: a,
1102
+ icon: Xr
1103
+ }));
1104
+ }, Jr = /* @__PURE__ */ t.forwardRef(Zr);
1105
+ process.env.NODE_ENV !== "production" && (Jr.displayName = "EllipsisOutlined");
1103
1106
  export {
1104
- gt as D,
1107
+ ca as D,
1105
1108
  rn as E,
1106
1109
  Pn as M,
1107
- cr as R,
1110
+ Jr as R,
1108
1111
  tn as S,
1109
- Kn as a,
1110
- la as b,
1112
+ gt as a,
1113
+ Kn as b,
1111
1114
  Fe as u
1112
1115
  };