@gobolt/genesis 0.0.10 → 0.0.11

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 (415) hide show
  1. package/README.md +2 -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/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
  6. package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
  7. package/dist/{Compact-CGY560JF.js → Compact-DBh6nSYB.js} +42 -45
  8. package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-CwuJooYf.js} +2 -2
  9. package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-5-15jS0h.js} +42 -40
  10. package/dist/{index-C8haFnXI.js → EllipsisOutlined-CJ2pgE2d.js} +153 -150
  11. package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
  12. package/dist/Keyframes-sPZXYuXt.js +17 -0
  13. package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
  14. package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
  15. package/dist/{Overflow-PBZD-PFm.js → Overflow-DdNKJLQh.js} +67 -66
  16. package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
  17. package/dist/Skeleton-B3vg9CbL.js +560 -0
  18. package/dist/{TextArea-DKwCct3i.js → TextArea-CKWbFr0u.js} +26 -18
  19. package/dist/Typography-DqI7RslA.js +705 -0
  20. package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
  21. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  22. package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
  23. package/dist/{button-CDQgO1OK.js → button-B2Rgggx2.js} +127 -116
  24. package/dist/clsx-OuTLNxxd.js +16 -0
  25. package/dist/components/Avatar/Avatar.d.ts +12 -0
  26. package/dist/components/Avatar/Avatar.js +61 -0
  27. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
  28. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  29. package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
  30. package/dist/components/Avatar/index.d.ts +2 -0
  31. package/dist/components/Avatar/index.js +4 -0
  32. package/dist/components/Avatar/styles.d.ts +18 -0
  33. package/dist/components/Avatar/styles.js +326 -0
  34. package/dist/components/Badge/Badge.d.ts +5 -3
  35. package/dist/components/Badge/Badge.js +67 -100
  36. package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
  37. package/dist/components/Badge/__tests__/Badge.test.js +9 -10
  38. package/dist/components/Badge/styles.d.ts +12 -3
  39. package/dist/components/Badge/styles.js +30 -27
  40. package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
  41. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  42. package/dist/components/Breadcrumb/styles.js +239 -2260
  43. package/dist/components/Button/Button.d.ts +4 -3
  44. package/dist/components/Button/Button.js +10 -6
  45. package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
  46. package/dist/components/Button/__tests__/Button.test.js +1 -1
  47. package/dist/components/Button/styles.d.ts +2 -2
  48. package/dist/components/Button/styles.js +20 -17
  49. package/dist/components/Card/Card.d.ts +9 -0
  50. package/dist/components/Card/Card.js +16 -0
  51. package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
  52. package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
  53. package/dist/components/Card/__tests__/Card.test.js +16 -0
  54. package/dist/components/Card/index.d.ts +2 -0
  55. package/dist/components/Card/index.js +4 -0
  56. package/dist/components/Card/styles.d.ts +16 -0
  57. package/dist/components/Card/styles.js +12 -0
  58. package/dist/components/Checkbox/Checkbox.d.ts +1 -2
  59. package/dist/components/Checkbox/Checkbox.js +28 -16
  60. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  61. package/dist/components/Checkbox/styles.js +22 -457
  62. package/dist/components/Dashboard/Dashboard.d.ts +5 -0
  63. package/dist/components/Dashboard/Dashboard.js +5 -0
  64. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
  65. package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
  66. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
  67. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
  68. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
  69. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
  70. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
  71. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
  72. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
  73. package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
  74. package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
  75. package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
  76. package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
  77. package/dist/components/Dashboard/index.d.ts +2 -0
  78. package/dist/components/Dashboard/index.js +4 -0
  79. package/dist/components/Dashboard/styles.d.ts +14 -0
  80. package/dist/components/Dashboard/styles.js +11 -0
  81. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
  82. package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
  83. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
  84. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
  85. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
  86. package/dist/components/ErrorBoundary/index.d.ts +2 -0
  87. package/dist/components/ErrorBoundary/index.js +4 -0
  88. package/dist/components/ErrorBoundary/styles.d.ts +14 -0
  89. package/dist/components/ErrorBoundary/styles.js +11 -0
  90. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
  91. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
  92. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
  93. package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
  94. package/dist/components/Form/Form.js +3 -3
  95. package/dist/components/Form/__stories__/FormStory.js +127 -50
  96. package/dist/components/Form/__tests__/form.test.js +2 -2
  97. package/dist/components/Form/index.js +1 -1
  98. package/dist/components/Form/styles.js +1 -1
  99. package/dist/components/Glyph/Glyph.d.ts +4 -0
  100. package/dist/components/Glyph/Glyph.js +9 -0
  101. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
  102. package/dist/components/Glyph/index.d.ts +2 -0
  103. package/dist/components/Glyph/index.js +4 -0
  104. package/dist/components/Glyph/styles.d.ts +14 -0
  105. package/dist/components/Glyph/styles.js +11 -0
  106. package/dist/components/Input/Input.d.ts +1 -2
  107. package/dist/components/Input/Input.js +14 -10
  108. package/dist/components/Input/__tests__/Input.test.js +1 -1
  109. package/dist/components/Input/styles.js +58 -466
  110. package/dist/components/Layout/Content/Content.d.ts +11 -0
  111. package/dist/components/Layout/Content/Content.js +32 -0
  112. package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
  113. package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
  114. package/dist/components/Layout/Content/index.d.ts +2 -0
  115. package/dist/components/Layout/Content/index.js +4 -0
  116. package/dist/components/Layout/Content/styles.d.ts +11 -0
  117. package/dist/components/Layout/Content/styles.js +16 -0
  118. package/dist/components/Layout/Layout.d.ts +8 -0
  119. package/dist/components/Layout/Layout.js +6 -0
  120. package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
  121. package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
  122. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
  123. package/dist/components/Layout/MainLayout/index.d.ts +2 -0
  124. package/dist/components/Layout/MainLayout/index.js +4 -0
  125. package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
  126. package/dist/components/Layout/MainLayout/styles.js +69 -0
  127. package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
  128. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  129. package/dist/components/Layout/__tests__/Layout.test.js +14 -0
  130. package/dist/components/Layout/index.d.ts +2 -0
  131. package/dist/components/Layout/index.js +4 -0
  132. package/dist/components/Message/Message.d.ts +6 -4
  133. package/dist/components/Message/Message.js +70 -43
  134. package/dist/components/Message/__tests__/Message.test.js +1 -1
  135. package/dist/components/Message/styles.d.ts +1 -0
  136. package/dist/components/Message/styles.js +15 -11
  137. package/dist/components/Notification/Notification.js +145 -120
  138. package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
  139. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
  140. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
  141. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
  142. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
  143. package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
  144. package/dist/components/Notification/NotificationBadge/index.js +4 -0
  145. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
  146. package/dist/components/Notification/NotificationBadge/styles.js +34 -0
  147. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  148. package/dist/components/Notification/styles.d.ts +1 -1
  149. package/dist/components/Notification/styles.js +1 -1
  150. package/dist/components/Popover/Popover.d.ts +10 -0
  151. package/dist/components/Popover/Popover.js +21 -0
  152. package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
  153. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
  154. package/dist/components/Popover/__tests__/Popover.test.js +40 -0
  155. package/dist/components/Popover/index.d.ts +2 -0
  156. package/dist/components/Popover/index.js +4 -0
  157. package/dist/components/Popover/styles.d.ts +15 -0
  158. package/dist/components/Popover/styles.js +6 -0
  159. package/dist/components/Progress/Progress.d.ts +18 -0
  160. package/dist/components/Progress/Progress.js +91 -0
  161. package/dist/components/Progress/Progress.util.d.ts +4 -0
  162. package/dist/components/Progress/Progress.util.js +62 -0
  163. package/dist/components/Progress/ProgressText.d.ts +11 -0
  164. package/dist/components/Progress/ProgressText.js +67 -0
  165. package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
  166. package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
  167. package/dist/components/Progress/__tests__/Progress.test.js +21 -0
  168. package/dist/components/Progress/index.d.ts +2 -0
  169. package/dist/components/Progress/index.js +4 -0
  170. package/dist/components/Progress/styles.d.ts +17 -0
  171. package/dist/components/Progress/styles.js +793 -0
  172. package/dist/components/Radio/Radio.js +22 -6
  173. package/dist/components/Radio/RadioGroup.js +1 -1
  174. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  175. package/dist/components/Radio/index.d.ts +1 -0
  176. package/dist/components/Row/Row.d.ts +14 -0
  177. package/dist/components/Row/Row.js +38 -0
  178. package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
  179. package/dist/components/Row/RowActions/RowActions.js +59 -0
  180. package/dist/components/Row/RowActions/styles.d.ts +2 -0
  181. package/dist/components/Row/RowActions/styles.js +32 -0
  182. package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
  183. package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
  184. package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
  185. package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
  186. package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
  187. package/dist/components/Row/RowLabelValue/styles.js +25 -0
  188. package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
  189. package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
  190. package/dist/components/Row/__tests__/Row.test.js +16 -0
  191. package/dist/components/Row/index.d.ts +2 -0
  192. package/dist/components/Row/index.js +4 -0
  193. package/dist/components/Row/styles.d.ts +15 -0
  194. package/dist/components/Row/styles.js +15 -0
  195. package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
  196. package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
  197. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
  198. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
  199. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
  200. package/dist/components/SegmentedControls/index.d.ts +2 -0
  201. package/dist/components/SegmentedControls/index.js +4 -0
  202. package/dist/components/SegmentedControls/styles.d.ts +12 -0
  203. package/dist/components/SegmentedControls/styles.js +511 -0
  204. package/dist/components/Select/Select.d.ts +2 -4
  205. package/dist/components/Select/Select.js +12 -11
  206. package/dist/components/Select/__tests__/Select.test.js +1 -1
  207. package/dist/components/Select/styles.js +39 -3654
  208. package/dist/components/Shapes/Shapes.d.ts +6 -0
  209. package/dist/components/Shapes/Shapes.js +8 -0
  210. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
  211. package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
  212. package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
  213. package/dist/components/Shapes/index.d.ts +2 -0
  214. package/dist/components/Shapes/index.js +4 -0
  215. package/dist/components/Shapes/variants/Circle.d.ts +5 -0
  216. package/dist/components/Shapes/variants/Circle.js +23 -0
  217. package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
  218. package/dist/components/Shapes/variants/Rectangle.js +23 -0
  219. package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
  220. package/dist/components/Shapes/variants/Triangle.js +23 -0
  221. package/dist/components/Switch/Switch.d.ts +9 -0
  222. package/dist/components/Switch/Switch.js +22 -0
  223. package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
  224. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
  225. package/dist/components/Switch/__tests__/Switch.test.js +25 -0
  226. package/dist/components/Switch/index.d.ts +2 -0
  227. package/dist/components/Switch/index.js +4 -0
  228. package/dist/components/Switch/styles.d.ts +9 -0
  229. package/dist/components/Switch/styles.js +456 -0
  230. package/dist/components/Table/Table.d.ts +15 -0
  231. package/dist/components/Table/Table.js +23 -0
  232. package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
  233. package/dist/components/Table/__mocks__/table-mocks.js +321 -0
  234. package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
  235. package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
  236. package/dist/components/Table/__tests__/Table.test.js +34 -0
  237. package/dist/components/Table/index.d.ts +2 -0
  238. package/dist/components/Table/index.js +4 -0
  239. package/dist/components/Table/styles.d.ts +8 -0
  240. package/dist/components/Table/styles.js +6 -0
  241. package/dist/components/Tabs/Tabs.d.ts +10 -0
  242. package/dist/components/Tabs/Tabs.js +23 -0
  243. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
  244. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  245. package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
  246. package/dist/components/Tabs/index.d.ts +2 -0
  247. package/dist/components/Tabs/index.js +4 -0
  248. package/dist/components/Tabs/styles.d.ts +12 -0
  249. package/dist/components/Tabs/styles.js +102 -0
  250. package/dist/components/Tile/Tile.d.ts +10 -0
  251. package/dist/components/Tile/Tile.js +21 -0
  252. package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
  253. package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
  254. package/dist/components/Tile/__tests__/Tile.test.js +21 -0
  255. package/dist/components/Tile/index.d.ts +2 -0
  256. package/dist/components/Tile/index.js +4 -0
  257. package/dist/components/Tile/styles.d.ts +11 -0
  258. package/dist/components/Tile/styles.js +12 -0
  259. package/dist/components/Toast/Toast.js +23 -6
  260. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  261. package/dist/components/Toast/index.js +1 -1
  262. package/dist/components/Toast/styles.d.ts +0 -1
  263. package/dist/components/Toast/styles.js +14 -23
  264. package/dist/components/Tooltip/Tooltip.d.ts +7 -0
  265. package/dist/components/Tooltip/Tooltip.js +50 -0
  266. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
  267. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  268. package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
  269. package/dist/components/Tooltip/index.d.ts +2 -0
  270. package/dist/components/Tooltip/index.js +4 -0
  271. package/dist/components/Tooltip/styles.d.ts +20 -0
  272. package/dist/components/Tooltip/styles.js +11 -0
  273. package/dist/components/Typography/Typography.d.ts +5 -1
  274. package/dist/components/Typography/Typography.js +2 -2
  275. package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
  276. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  277. package/dist/components/Typography/index.js +1 -1
  278. package/dist/components/Typography/styles.d.ts +1 -0
  279. package/dist/components/Typography/styles.js +53 -17
  280. package/dist/components/index.d.ts +31 -1
  281. package/dist/components/index.js +54 -24
  282. package/dist/constants/index.d.ts +4 -0
  283. package/dist/constants/index.js +4 -2
  284. package/dist/{context-BMW3aJEf.js → context-Cx7GtZpz.js} +281 -284
  285. package/dist/dropdown-zGGFIyJ_.js +2044 -0
  286. package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
  287. package/dist/genesis/GenesisThemeBreakdown.js +38 -22
  288. package/dist/genesis/styles.js +7 -2923
  289. package/dist/iconBase-LROS5hdG.js +112 -0
  290. package/dist/index-BRUI9igj.js +11 -0
  291. package/dist/index-BTGF--50.js +1845 -0
  292. package/dist/index-BW_7pvTr.js +538 -0
  293. package/dist/{index-oK7z6jnz.js → index-ByspLxrB.js} +8640 -8798
  294. package/dist/{index-bKlRxQp4.js → index-CRotrkWm.js} +7 -7
  295. package/dist/{index-C0SmxWLS.js → index-CSPlXIlA.js} +136 -143
  296. package/dist/index-CdiHBmVe.js +445 -0
  297. package/dist/index-CodMmNWv.js +102 -0
  298. package/dist/{index-DPW8XdWj.js → index-CqqwGTME.js} +34 -30
  299. package/dist/index-D0P16DlX.js +286 -0
  300. package/dist/index-DLdU7Tpd.js +183 -0
  301. package/dist/index-DWUXwgXK.js +809 -0
  302. package/dist/index-DmZOkMjs.js +3628 -0
  303. package/dist/{index-1CBpubM3.js → index-Dyl-ddV6.js} +47 -44
  304. package/dist/index-hoPiccJv.js +415 -0
  305. package/dist/index.js +61 -31
  306. package/dist/interface/address.d.ts +10 -0
  307. package/dist/interface/address.js +1 -0
  308. package/dist/interface/appointment.d.ts +57 -0
  309. package/dist/interface/appointment.js +5 -0
  310. package/dist/interface/appointmentV2.d.ts +65 -0
  311. package/dist/interface/appointmentV2.js +1 -0
  312. package/dist/interface/appointmentsState.d.ts +21 -0
  313. package/dist/interface/appointmentsState.js +1 -0
  314. package/dist/interface/common.d.ts +2 -0
  315. package/dist/interface/common.js +1 -0
  316. package/dist/interface/completionData.d.ts +18 -0
  317. package/dist/interface/completionData.js +1 -0
  318. package/dist/interface/deliveryPartner.d.ts +25 -0
  319. package/dist/interface/deliveryPartner.js +1 -0
  320. package/dist/interface/organization.d.ts +9 -0
  321. package/dist/interface/organization.js +1 -0
  322. package/dist/interface/pagination.d.ts +8 -0
  323. package/dist/interface/pagination.js +1 -0
  324. package/dist/interface/roles.d.ts +9 -0
  325. package/dist/interface/roles.js +1 -0
  326. package/dist/interface/route.d.ts +73 -0
  327. package/dist/interface/route.js +1 -0
  328. package/dist/interface/routeAnalysis.d.ts +108 -0
  329. package/dist/interface/routeAnalysis.js +1 -0
  330. package/dist/interface/routeAutomationJob.d.ts +95 -0
  331. package/dist/interface/routeAutomationJob.js +10 -0
  332. package/dist/interface/routeAutomationLog.d.ts +10 -0
  333. package/dist/interface/routeAutomationLog.js +1 -0
  334. package/dist/interface/routeEvent.d.ts +55 -0
  335. package/dist/interface/routeEvent.js +5 -0
  336. package/dist/interface/serviceArea.d.ts +18 -0
  337. package/dist/interface/serviceArea.js +1 -0
  338. package/dist/interface/util.d.ts +3 -0
  339. package/dist/interface/util.js +1 -0
  340. package/dist/interface/vehicle.d.ts +120 -0
  341. package/dist/interface/vehicle.js +1 -0
  342. package/dist/interface/workOrder.d.ts +22 -0
  343. package/dist/interface/workOrder.js +1 -0
  344. package/dist/isVisible-D3-B85BJ.js +22 -0
  345. package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
  346. package/dist/omit-B_u6A-HL.js +9 -0
  347. package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
  348. package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
  349. package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
  350. package/dist/providers/BreakpointThemeProvider.js +21 -0
  351. package/dist/providers/GenesisProvider.js +3 -3
  352. package/dist/providers/ToastProvider.js +22 -6
  353. package/dist/providers/index.js +1 -1
  354. package/dist/providers/useGenesis.js +2 -2
  355. package/dist/responsiveObserver-O1kw80RG.js +73 -0
  356. package/dist/setup-CKu7-AfI.js +24706 -0
  357. package/dist/setup.types-dBtAXXGp.js +8824 -0
  358. package/dist/shadow-BoMGMNn3.js +13 -0
  359. package/dist/styleChecker-Cotu61d0.js +21 -0
  360. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +28 -12
  361. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
  362. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
  363. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
  364. package/dist/styles/theme/genesis-theme.js +468 -263
  365. package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
  366. package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
  367. package/dist/styles/theme/theme-tree/ThemeTree.js +1651 -0
  368. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
  369. package/dist/{styles-CT_fyXBd.js → styles-BDbHpHsc.js} +587 -643
  370. package/dist/styles-BSD221S5.js +289 -0
  371. package/dist/styles-D9iYILpv.js +9195 -0
  372. package/dist/test/setup.d.ts +2 -3
  373. package/dist/test/setup.js +87 -4
  374. package/dist/test/setup.types.d.ts +7 -0
  375. package/dist/test/setup.types.js +1 -0
  376. package/dist/toArray-DGvPoJP_.js +11 -0
  377. package/dist/useBreakpoint-CAMzKscx.js +22 -0
  378. package/dist/useCSSVarCls-C-MlZC6a.js +11 -0
  379. package/dist/useId-D2tzlufo.js +26 -0
  380. package/dist/useLocale-DWRfeMSS.js +16 -0
  381. package/dist/useMergedState-BoELfaU9.js +23 -0
  382. package/dist/useSize-CPo2bUE3.js +9 -0
  383. package/dist/{useVariants-DvhXfgJY.js → useVariants-Cin23jEC.js} +3 -3
  384. package/dist/useZIndex-D81lkWy4.js +44 -0
  385. package/dist/utils/icon-util.d.ts +2 -0
  386. package/dist/utils/icon-util.js +95 -0
  387. package/package.json +26 -15
  388. package/dist/AntdIcon-BoLh1dP8.js +0 -202
  389. package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
  390. package/dist/Typography-aGoDUl4R.js +0 -710
  391. package/dist/index-BZAhCB_K.js +0 -97
  392. package/dist/index-CfDY25LP.js +0 -873
  393. package/dist/isVisible-A-IfeFoT.js +0 -367
  394. package/dist/providers/ThemeProvider.d.ts +0 -9
  395. package/dist/providers/ThemeProvider.js +0 -21
  396. package/dist/setup-BvfREoHl.js +0 -33891
  397. package/dist/useLocale-DT-z_vQ6.js +0 -16
  398. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
  399. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
  400. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
  401. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
  402. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
  403. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
  404. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
  405. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
  406. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
  407. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
  408. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
  409. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
  410. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
  411. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
  412. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
  413. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
  414. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
  415. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
@@ -1,11 +1,14 @@
1
1
  import * as f from "react";
2
2
  import { forwardRef as De, useRef as ke, useImperativeHandle as Be } from "react";
3
- import { c as T, e as Me, _ as L, a as He } from "./warning-C63HNL9U.js";
4
- import { K as O, i as Xe, T as We, u as Ye, g as Ze, z as Ke } from "./index-CfDY25LP.js";
5
- import { u as qe } from "./isVisible-A-IfeFoT.js";
6
- import { C as Fe } from "./ContextIsolator-D5x2Ih51.js";
7
- import { q as D, g as Ue, m as de, o as Ge, x as ce, C as pe, E as Je, v as Qe } from "./index-oK7z6jnz.js";
3
+ import { e as T, g as Me, _ as L, d as He } from "./presets-Djh_L_6R.js";
4
+ import { i as Xe, T as We, g as Ye } from "./index-DWUXwgXK.js";
5
+ import { u as Ze } from "./useMergedState-BoELfaU9.js";
6
+ import { C as Ke } from "./ContextIsolator-CwuJooYf.js";
7
+ import { u as qe, z as Fe } from "./useZIndex-D81lkWy4.js";
8
+ import { j as D, g as Ue, m as de, r as Ge, h as ce, C as pe, c as Je, e as Qe } from "./index-ByspLxrB.js";
8
9
  import { i as et, c as tt } from "./reactNode-sKPeiqPL.js";
10
+ import "./index-DLdU7Tpd.js";
11
+ import { K as O } from "./Keyframes-sPZXYuXt.js";
9
12
  import { P as Z } from "./presetColors-Cl8UP3Nw.js";
10
13
  function ot(t, o) {
11
14
  return Z.reduce((r, e) => {
@@ -279,7 +282,7 @@ var E = {
279
282
  }, bt = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"], ht = function(o, r) {
280
283
  var e = o.overlayClassName, n = o.trigger, s = n === void 0 ? ["hover"] : n, a = o.mouseEnterDelay, i = a === void 0 ? 0 : a, l = o.mouseLeaveDelay, m = l === void 0 ? 0.1 : l, h = o.overlayStyle, c = o.prefixCls, u = c === void 0 ? "rc-tooltip" : c, y = o.children, C = o.onVisibleChange, _ = o.afterVisibleChange, x = o.transitionName, b = o.animation, g = o.motion, N = o.placement, I = N === void 0 ? "right" : N, A = o.align, K = A === void 0 ? {} : A, q = o.destroyTooltipOnHide, F = q === void 0 ? !1 : q, U = o.defaultVisible, G = o.getTooltipContainer, J = o.overlayInnerStyle;
281
284
  o.arrowContent;
282
- var Q = o.overlay, ee = o.id, k = o.showArrow, S = k === void 0 ? !0 : k, w = o.classNames, P = o.styles, B = Me(o, bt), z = ke(null);
285
+ var Q = o.overlay, ee = o.id, k = o.showArrow, j = k === void 0 ? !0 : k, w = o.classNames, P = o.styles, B = Me(o, bt), z = ke(null);
283
286
  Be(r, function() {
284
287
  return z.current;
285
288
  });
@@ -314,7 +317,7 @@ var E = {
314
317
  mouseLeaveDelay: m,
315
318
  popupStyle: L(L({}, h), P == null ? void 0 : P.root),
316
319
  mouseEnterDelay: i,
317
- arrow: S
320
+ arrow: j
318
321
  }, M), y);
319
322
  };
320
323
  const yt = /* @__PURE__ */ De(ht);
@@ -785,12 +788,12 @@ const Pt = (t) => {
785
788
  // Popover use Tooltip as internal component. We do not need to handle this.
786
789
  injectStyle: o
787
790
  })(t);
788
- }, St = Z.map((t) => `${t}-inverse`);
789
- function jt(t) {
790
- return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0) ? [].concat(ce(St), ce(Z)).includes(t) : Z.includes(t);
791
+ }, jt = Z.map((t) => `${t}-inverse`);
792
+ function St(t) {
793
+ return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0) ? [].concat(ce(jt), ce(Z)).includes(t) : Z.includes(t);
791
794
  }
792
795
  function we(t, o) {
793
- const r = jt(o), e = T({
796
+ const r = St(o), e = T({
794
797
  [`${t}-${o}`]: o && r
795
798
  }), n = {}, s = {};
796
799
  return o && !r && (n.background = o, s["--antd-arrow-background-color"] = o), {
@@ -854,7 +857,7 @@ const It = /* @__PURE__ */ f.forwardRef((t, o) => {
854
857
  overlayStyle: Q,
855
858
  rootClassName: ee,
856
859
  overlayClassName: k,
857
- styles: S,
860
+ styles: j,
858
861
  classNames: w
859
862
  } = t, P = zt(t, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]), B = !!b, [, z] = Je(), {
860
863
  getPopupContainer: M,
@@ -875,34 +878,34 @@ const It = /* @__PURE__ */ f.forwardRef((t, o) => {
875
878
  nativeElement: (p = te.current) === null || p === void 0 ? void 0 : p.nativeElement
876
879
  };
877
880
  }), process.env.NODE_ENV !== "production" && ([["visible", "open"], ["defaultVisible", "defaultOpen"], ["onVisibleChange", "onOpenChange"], ["afterVisibleChange", "afterOpenChange"], ["arrowPointAtCenter", "arrow={{ pointAtCenter: true }}"], ["overlayStyle", "styles={{ root: {} }}"], ["overlayInnerStyle", "styles={{ body: {} }}"], ["overlayClassName", "classNames={{ root: {} }}"]].forEach((p) => {
878
- let [$, j] = p;
879
- X.deprecated(!($ in t), $, j);
881
+ let [$, S] = p;
882
+ X.deprecated(!($ in t), $, S);
880
883
  }), process.env.NODE_ENV !== "production" && X(!x || typeof x == "boolean", "usage", "`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."), process.env.NODE_ENV !== "production" && X(!b || typeof b == "boolean" || !("arrowPointAtCenter" in b), "deprecated", "`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));
881
- const [Oe, Ce] = qe(!1, {
884
+ const [Oe, Ce] = Ze(!1, {
882
885
  value: (r = t.open) !== null && r !== void 0 ? r : t.visible,
883
886
  defaultValue: (e = t.defaultOpen) !== null && e !== void 0 ? e : t.defaultVisible
884
887
  }), oe = !g && !N && g !== 0, $e = (p) => {
885
- var $, j;
886
- Ce(oe ? !1 : p), oe || (($ = t.onOpenChange) === null || $ === void 0 || $.call(t, p), (j = t.onVisibleChange) === null || j === void 0 || j.call(t, p));
888
+ var $, S;
889
+ Ce(oe ? !1 : p), oe || (($ = t.onOpenChange) === null || $ === void 0 || $.call(t, p), (S = t.onVisibleChange) === null || S === void 0 || S.call(t, p));
887
890
  }, _e = f.useMemo(() => {
888
891
  var p, $;
889
- let j = A;
890
- return typeof b == "object" && (j = ($ = (p = b.pointAtCenter) !== null && p !== void 0 ? p : b.arrowPointAtCenter) !== null && $ !== void 0 ? $ : A), I || xt({
891
- arrowPointAtCenter: j,
892
+ let S = A;
893
+ return typeof b == "object" && (S = ($ = (p = b.pointAtCenter) !== null && p !== void 0 ? p : b.arrowPointAtCenter) !== null && $ !== void 0 ? $ : A), I || xt({
894
+ arrowPointAtCenter: S,
892
895
  autoAdjustOverflow: K,
893
896
  arrowWidth: B ? z.sizePopupArrow : 0,
894
897
  borderRadius: z.borderRadius,
895
898
  offset: z.marginXXS,
896
899
  visibleFirst: !0
897
900
  });
898
- }, [A, b, I, z]), ne = f.useMemo(() => g === 0 ? g : N || g || "", [N, g]), xe = /* @__PURE__ */ f.createElement(Fe, {
901
+ }, [A, b, I, z]), ne = f.useMemo(() => g === 0 ? g : N || g || "", [N, g]), xe = /* @__PURE__ */ f.createElement(Ke, {
899
902
  space: !0
900
903
  }, typeof ne == "function" ? ne() : ne), R = H("tooltip", l), Pe = H(), Ne = t["data-popover-inject"];
901
904
  let re = Oe;
902
905
  !("open" in t) && !("visible" in t) && oe && (re = !1);
903
- const ae = /* @__PURE__ */ f.isValidElement(y) && !et(y) ? y : /* @__PURE__ */ f.createElement("span", null, y), W = ae.props, Se = !W.className || typeof W.className == "string" ? T(W.className, m || `${R}-open`) : W.className, [je, Te, ze] = ye(R, !Ne), se = we(R, c), Ie = se.arrowStyle, Ae = T(k, {
906
+ const ae = /* @__PURE__ */ f.isValidElement(y) && !et(y) ? y : /* @__PURE__ */ f.createElement("span", null, y), W = ae.props, je = !W.className || typeof W.className == "string" ? T(W.className, m || `${R}-open`) : W.className, [Se, Te, ze] = ye(R, !Ne), se = we(R, c), Ie = se.arrowStyle, Ae = T(k, {
904
907
  [`${R}-rtl`]: ie === "rtl"
905
- }, se.className, ee, Te, ze, d == null ? void 0 : d.className, (n = d == null ? void 0 : d.classNames) === null || n === void 0 ? void 0 : n.root, w == null ? void 0 : w.root), Re = T((s = d == null ? void 0 : d.classNames) === null || s === void 0 ? void 0 : s.body, w == null ? void 0 : w.body), [Ee, Ve] = Ye("Tooltip", P.zIndex), Le = /* @__PURE__ */ f.createElement(yt, Object.assign({}, P, {
908
+ }, se.className, ee, Te, ze, d == null ? void 0 : d.className, (n = d == null ? void 0 : d.classNames) === null || n === void 0 ? void 0 : n.root, w == null ? void 0 : w.root), Re = T((s = d == null ? void 0 : d.classNames) === null || s === void 0 ? void 0 : s.body, w == null ? void 0 : w.body), [Ee, Ve] = qe("Tooltip", P.zIndex), Le = /* @__PURE__ */ f.createElement(yt, Object.assign({}, P, {
906
909
  zIndex: Ee,
907
910
  showArrow: B,
908
911
  placement: U,
@@ -914,8 +917,8 @@ const It = /* @__PURE__ */ f.forwardRef((t, o) => {
914
917
  body: Re
915
918
  },
916
919
  styles: {
917
- root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Ie), (a = d == null ? void 0 : d.styles) === null || a === void 0 ? void 0 : a.root), d == null ? void 0 : d.style), Q), S == null ? void 0 : S.root),
918
- body: Object.assign(Object.assign(Object.assign(Object.assign({}, (i = d == null ? void 0 : d.styles) === null || i === void 0 ? void 0 : i.body), u), S == null ? void 0 : S.body), se.overlayStyle)
920
+ root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Ie), (a = d == null ? void 0 : d.styles) === null || a === void 0 ? void 0 : a.root), d == null ? void 0 : d.style), Q), j == null ? void 0 : j.root),
921
+ body: Object.assign(Object.assign(Object.assign(Object.assign({}, (i = d == null ? void 0 : d.styles) === null || i === void 0 ? void 0 : i.body), u), j == null ? void 0 : j.body), se.overlayStyle)
919
922
  },
920
923
  getTooltipContainer: F || h || M,
921
924
  ref: te,
@@ -928,23 +931,24 @@ const It = /* @__PURE__ */ f.forwardRef((t, o) => {
928
931
  className: `${R}-arrow-content`
929
932
  }),
930
933
  motion: {
931
- motionName: Ze(Pe, "zoom-big-fast", t.transitionName),
934
+ motionName: Ye(Pe, "zoom-big-fast", t.transitionName),
932
935
  motionDeadline: 1e3
933
936
  },
934
937
  destroyTooltipOnHide: !!x
935
938
  }), re ? tt(ae, {
936
- className: Se
939
+ className: je
937
940
  }) : ae);
938
- return je(/* @__PURE__ */ f.createElement(Ke.Provider, {
941
+ return Se(/* @__PURE__ */ f.createElement(Fe.Provider, {
939
942
  value: Ve
940
943
  }, Le));
941
944
  }), ve = It;
942
945
  process.env.NODE_ENV !== "production" && (ve.displayName = "Tooltip");
943
946
  ve._InternalPanelDoNotUseOrYouWillBeFired = Tt;
944
947
  export {
948
+ ge as P,
945
949
  ve as T,
946
- he as a,
947
- wt as b,
950
+ wt as a,
951
+ he as b,
948
952
  xt as c,
949
953
  Ot as g,
950
954
  pt as i,
@@ -0,0 +1,286 @@
1
+ import * as i from "react";
2
+ import { e as O } from "./presets-Djh_L_6R.js";
3
+ import { u as X } from "./useMergedState-BoELfaU9.js";
4
+ import { K as Y } from "./KeyCode-DM2sFh3-.js";
5
+ import { g as Z } from "./index-DWUXwgXK.js";
6
+ import { c as q } from "./reactNode-sKPeiqPL.js";
7
+ import { g as J, m as Q, r as ee, C as k } from "./index-ByspLxrB.js";
8
+ import { i as ne, g as te, a as oe, b as re, P as ae, T as le } from "./index-CqqwGTME.js";
9
+ import "./index-DLdU7Tpd.js";
10
+ import { P as ie } from "./presetColors-Cl8UP3Nw.js";
11
+ const P = (e) => e ? typeof e == "function" ? e() : e : null, se = (e) => {
12
+ const {
13
+ componentCls: t,
14
+ popoverColor: o,
15
+ titleMinWidth: n,
16
+ fontWeightStrong: r,
17
+ innerPadding: a,
18
+ boxShadowSecondary: s,
19
+ colorTextHeading: d,
20
+ borderRadiusLG: u,
21
+ zIndexPopup: f,
22
+ titleMarginBottom: m,
23
+ colorBgElevated: g,
24
+ popoverBg: y,
25
+ titleBorderBottom: x,
26
+ innerContentPadding: p,
27
+ titlePadding: b
28
+ } = e;
29
+ return [
30
+ {
31
+ [t]: Object.assign(Object.assign({}, ee(e)), {
32
+ position: "absolute",
33
+ top: 0,
34
+ // use `left` to fix https://github.com/ant-design/ant-design/issues/39195
35
+ left: {
36
+ _skip_check_: !0,
37
+ value: 0
38
+ },
39
+ zIndex: f,
40
+ fontWeight: "normal",
41
+ whiteSpace: "normal",
42
+ textAlign: "start",
43
+ cursor: "auto",
44
+ userSelect: "text",
45
+ // When use `autoArrow`, origin will follow the arrow position
46
+ "--valid-offset-x": "var(--arrow-offset-horizontal, var(--arrow-x))",
47
+ transformOrigin: ["var(--valid-offset-x, 50%)", "var(--arrow-y, 50%)"].join(" "),
48
+ "--antd-arrow-background-color": g,
49
+ width: "max-content",
50
+ maxWidth: "100vw",
51
+ "&-rtl": {
52
+ direction: "rtl"
53
+ },
54
+ "&-hidden": {
55
+ display: "none"
56
+ },
57
+ [`${t}-content`]: {
58
+ position: "relative"
59
+ },
60
+ [`${t}-inner`]: {
61
+ backgroundColor: y,
62
+ backgroundClip: "padding-box",
63
+ borderRadius: u,
64
+ boxShadow: s,
65
+ padding: a
66
+ },
67
+ [`${t}-title`]: {
68
+ minWidth: n,
69
+ marginBottom: m,
70
+ color: d,
71
+ fontWeight: r,
72
+ borderBottom: x,
73
+ padding: b
74
+ },
75
+ [`${t}-inner-content`]: {
76
+ color: o,
77
+ padding: p
78
+ }
79
+ })
80
+ },
81
+ // Arrow Style
82
+ te(e, "var(--antd-arrow-background-color)"),
83
+ // Pure Render
84
+ {
85
+ [`${t}-pure`]: {
86
+ position: "relative",
87
+ maxWidth: "none",
88
+ margin: e.sizePopupArrow,
89
+ display: "inline-block",
90
+ [`${t}-content`]: {
91
+ display: "inline-block"
92
+ }
93
+ }
94
+ }
95
+ ];
96
+ }, de = (e) => {
97
+ const {
98
+ componentCls: t
99
+ } = e;
100
+ return {
101
+ [t]: ie.map((o) => {
102
+ const n = e[`${o}6`];
103
+ return {
104
+ [`&${t}-${o}`]: {
105
+ "--antd-arrow-background-color": n,
106
+ [`${t}-inner`]: {
107
+ backgroundColor: n
108
+ },
109
+ [`${t}-arrow`]: {
110
+ background: "transparent"
111
+ }
112
+ }
113
+ };
114
+ })
115
+ };
116
+ }, ce = (e) => {
117
+ const {
118
+ lineWidth: t,
119
+ controlHeight: o,
120
+ fontHeight: n,
121
+ padding: r,
122
+ wireframe: a,
123
+ zIndexPopupBase: s,
124
+ borderRadiusLG: d,
125
+ marginXS: u,
126
+ lineType: f,
127
+ colorSplit: m,
128
+ paddingSM: g
129
+ } = e, y = o - n, x = y / 2, p = y / 2 - t, b = r;
130
+ return Object.assign(Object.assign(Object.assign({
131
+ titleMinWidth: 177,
132
+ zIndexPopup: s + 30
133
+ }, oe(e)), re({
134
+ contentRadius: d,
135
+ limitVerticalRadius: !0
136
+ })), {
137
+ // internal
138
+ innerPadding: a ? 0 : 12,
139
+ titleMarginBottom: a ? 0 : u,
140
+ titlePadding: a ? `${x}px ${b}px ${p}px` : 0,
141
+ titleBorderBottom: a ? `${t}px ${f} ${m}` : "none",
142
+ innerContentPadding: a ? `${g}px ${b}px` : 0
143
+ });
144
+ }, T = J("Popover", (e) => {
145
+ const {
146
+ colorBgElevated: t,
147
+ colorText: o
148
+ } = e, n = Q(e, {
149
+ popoverBg: t,
150
+ popoverColor: o
151
+ });
152
+ return [se(n), de(n), ne(n, "zoom-big")];
153
+ }, ce, {
154
+ resetStyle: !1,
155
+ deprecatedTokens: [["width", "titleMinWidth"], ["minWidth", "titleMinWidth"]]
156
+ });
157
+ var ue = function(e, t) {
158
+ var o = {};
159
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (o[n] = e[n]);
160
+ if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
161
+ t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (o[n[r]] = e[n[r]]);
162
+ return o;
163
+ };
164
+ const I = (e) => {
165
+ let {
166
+ title: t,
167
+ content: o,
168
+ prefixCls: n
169
+ } = e;
170
+ return !t && !o ? null : /* @__PURE__ */ i.createElement(i.Fragment, null, t && /* @__PURE__ */ i.createElement("div", {
171
+ className: `${n}-title`
172
+ }, t), o && /* @__PURE__ */ i.createElement("div", {
173
+ className: `${n}-inner-content`
174
+ }, o));
175
+ }, pe = (e) => {
176
+ const {
177
+ hashId: t,
178
+ prefixCls: o,
179
+ className: n,
180
+ style: r,
181
+ placement: a = "top",
182
+ title: s,
183
+ content: d,
184
+ children: u
185
+ } = e, f = P(s), m = P(d), g = O(t, o, `${o}-pure`, `${o}-placement-${a}`, n);
186
+ return /* @__PURE__ */ i.createElement("div", {
187
+ className: g,
188
+ style: r
189
+ }, /* @__PURE__ */ i.createElement("div", {
190
+ className: `${o}-arrow`
191
+ }), /* @__PURE__ */ i.createElement(ae, Object.assign({}, e, {
192
+ className: t,
193
+ prefixCls: o
194
+ }), u || /* @__PURE__ */ i.createElement(I, {
195
+ prefixCls: o,
196
+ title: f,
197
+ content: m
198
+ })));
199
+ }, fe = (e) => {
200
+ const {
201
+ prefixCls: t,
202
+ className: o
203
+ } = e, n = ue(e, ["prefixCls", "className"]), {
204
+ getPrefixCls: r
205
+ } = i.useContext(k), a = r("popover", t), [s, d, u] = T(a);
206
+ return s(/* @__PURE__ */ i.createElement(pe, Object.assign({}, n, {
207
+ prefixCls: a,
208
+ hashId: d,
209
+ className: O(o, u)
210
+ })));
211
+ };
212
+ var me = function(e, t) {
213
+ var o = {};
214
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (o[n] = e[n]);
215
+ if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
216
+ t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (o[n[r]] = e[n[r]]);
217
+ return o;
218
+ };
219
+ const ge = /* @__PURE__ */ i.forwardRef((e, t) => {
220
+ var o, n, r, a, s, d;
221
+ const {
222
+ prefixCls: u,
223
+ title: f,
224
+ content: m,
225
+ overlayClassName: g,
226
+ placement: y = "top",
227
+ trigger: x = "hover",
228
+ children: p,
229
+ mouseEnterDelay: b = 0.1,
230
+ mouseLeaveDelay: D = 0.1,
231
+ onOpenChange: w,
232
+ overlayStyle: z = {},
233
+ styles: v,
234
+ classNames: C
235
+ } = e, $ = me(e, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "children", "mouseEnterDelay", "mouseLeaveDelay", "onOpenChange", "overlayStyle", "styles", "classNames"]), {
236
+ popover: l,
237
+ getPrefixCls: j
238
+ } = i.useContext(k), N = j("popover", u), [M, R, V] = T(N), A = j(), H = O(g, R, V, (o = l == null ? void 0 : l.classNames) === null || o === void 0 ? void 0 : o.root, C == null ? void 0 : C.root), L = O((n = l == null ? void 0 : l.classNames) === null || n === void 0 ? void 0 : n.body, C == null ? void 0 : C.body), [K, F] = X(!1, {
239
+ value: (r = e.open) !== null && r !== void 0 ? r : e.visible,
240
+ defaultValue: (a = e.defaultOpen) !== null && a !== void 0 ? a : e.defaultVisible
241
+ }), E = (c, h) => {
242
+ F(c, !0), w == null || w(c, h);
243
+ }, G = (c) => {
244
+ c.keyCode === Y.ESC && E(!1, c);
245
+ }, U = (c) => {
246
+ E(c);
247
+ }, _ = P(f), B = P(m);
248
+ return M(/* @__PURE__ */ i.createElement(le, Object.assign({
249
+ placement: y,
250
+ trigger: x,
251
+ mouseEnterDelay: b,
252
+ mouseLeaveDelay: D
253
+ }, $, {
254
+ prefixCls: N,
255
+ classNames: {
256
+ root: H,
257
+ body: L
258
+ },
259
+ styles: {
260
+ root: Object.assign(Object.assign(Object.assign(Object.assign({}, (s = l == null ? void 0 : l.styles) === null || s === void 0 ? void 0 : s.root), l == null ? void 0 : l.style), z), v == null ? void 0 : v.root),
261
+ body: Object.assign(Object.assign({}, (d = l == null ? void 0 : l.styles) === null || d === void 0 ? void 0 : d.body), v == null ? void 0 : v.body)
262
+ },
263
+ ref: t,
264
+ open: K,
265
+ onOpenChange: U,
266
+ overlay: _ || B ? /* @__PURE__ */ i.createElement(I, {
267
+ prefixCls: N,
268
+ title: _,
269
+ content: B
270
+ }) : null,
271
+ transitionName: Z(A, "zoom-big", $.transitionName),
272
+ "data-popover-inject": !0
273
+ }), q(p, {
274
+ onKeyDown: (c) => {
275
+ var h, S;
276
+ /* @__PURE__ */ i.isValidElement(p) && ((S = p == null ? void 0 : (h = p.props).onKeyDown) === null || S === void 0 || S.call(h, c)), G(c);
277
+ }
278
+ })));
279
+ }), W = ge;
280
+ W._InternalPanelDoNotUseOrYouWillBeFired = fe;
281
+ process.env.NODE_ENV !== "production" && (W.displayName = "Popover");
282
+ export {
283
+ fe as P,
284
+ W as a,
285
+ P as g
286
+ };
@@ -0,0 +1,183 @@
1
+ var P = { exports: {} }, t = {};
2
+ /**
3
+ * @license React
4
+ * react-is.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ var F;
12
+ function se() {
13
+ if (F) return t;
14
+ F = 1;
15
+ var S = Symbol.for("react.element"), p = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), R = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), _;
16
+ _ = Symbol.for("react.module.reference");
17
+ function o(e) {
18
+ if (typeof e == "object" && e !== null) {
19
+ var y = e.$$typeof;
20
+ switch (y) {
21
+ case S:
22
+ switch (e = e.type, e) {
23
+ case a:
24
+ case c:
25
+ case i:
26
+ case m:
27
+ case d:
28
+ return e;
29
+ default:
30
+ switch (e = e && e.$$typeof, e) {
31
+ case R:
32
+ case u:
33
+ case l:
34
+ case v:
35
+ case E:
36
+ case f:
37
+ return e;
38
+ default:
39
+ return y;
40
+ }
41
+ }
42
+ case p:
43
+ return y;
44
+ }
45
+ }
46
+ }
47
+ return t.ContextConsumer = u, t.ContextProvider = f, t.Element = S, t.ForwardRef = l, t.Fragment = a, t.Lazy = v, t.Memo = E, t.Portal = p, t.Profiler = c, t.StrictMode = i, t.Suspense = m, t.SuspenseList = d, t.isAsyncMode = function() {
48
+ return !1;
49
+ }, t.isConcurrentMode = function() {
50
+ return !1;
51
+ }, t.isContextConsumer = function(e) {
52
+ return o(e) === u;
53
+ }, t.isContextProvider = function(e) {
54
+ return o(e) === f;
55
+ }, t.isElement = function(e) {
56
+ return typeof e == "object" && e !== null && e.$$typeof === S;
57
+ }, t.isForwardRef = function(e) {
58
+ return o(e) === l;
59
+ }, t.isFragment = function(e) {
60
+ return o(e) === a;
61
+ }, t.isLazy = function(e) {
62
+ return o(e) === v;
63
+ }, t.isMemo = function(e) {
64
+ return o(e) === E;
65
+ }, t.isPortal = function(e) {
66
+ return o(e) === p;
67
+ }, t.isProfiler = function(e) {
68
+ return o(e) === c;
69
+ }, t.isStrictMode = function(e) {
70
+ return o(e) === i;
71
+ }, t.isSuspense = function(e) {
72
+ return o(e) === m;
73
+ }, t.isSuspenseList = function(e) {
74
+ return o(e) === d;
75
+ }, t.isValidElementType = function(e) {
76
+ return typeof e == "string" || typeof e == "function" || e === a || e === c || e === i || e === m || e === d || e === T || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === E || e.$$typeof === f || e.$$typeof === u || e.$$typeof === l || e.$$typeof === _ || e.getModuleId !== void 0);
77
+ }, t.typeOf = o, t;
78
+ }
79
+ var n = {};
80
+ /**
81
+ * @license React
82
+ * react-is.development.js
83
+ *
84
+ * Copyright (c) Facebook, Inc. and its affiliates.
85
+ *
86
+ * This source code is licensed under the MIT license found in the
87
+ * LICENSE file in the root directory of this source tree.
88
+ */
89
+ var I;
90
+ function ae() {
91
+ return I || (I = 1, process.env.NODE_ENV !== "production" && function() {
92
+ var S = Symbol.for("react.element"), p = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), R = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), _ = !1, o = !1, e = !1, y = !1, L = !1, M;
93
+ M = Symbol.for("react.module.reference");
94
+ function w(r) {
95
+ return !!(typeof r == "string" || typeof r == "function" || r === a || r === c || L || r === i || r === m || r === d || y || r === T || _ || o || e || typeof r == "object" && r !== null && (r.$$typeof === v || r.$$typeof === E || r.$$typeof === f || r.$$typeof === u || r.$$typeof === l || // This needs to include all possible module reference object
96
+ // types supported by any Flight configuration anywhere since
97
+ // we don't know which Flight build this will end up being used
98
+ // with.
99
+ r.$$typeof === M || r.getModuleId !== void 0));
100
+ }
101
+ function s(r) {
102
+ if (typeof r == "object" && r !== null) {
103
+ var C = r.$$typeof;
104
+ switch (C) {
105
+ case S:
106
+ var b = r.type;
107
+ switch (b) {
108
+ case a:
109
+ case c:
110
+ case i:
111
+ case m:
112
+ case d:
113
+ return b;
114
+ default:
115
+ var x = b && b.$$typeof;
116
+ switch (x) {
117
+ case R:
118
+ case u:
119
+ case l:
120
+ case v:
121
+ case E:
122
+ case f:
123
+ return x;
124
+ default:
125
+ return C;
126
+ }
127
+ }
128
+ case p:
129
+ return C;
130
+ }
131
+ }
132
+ }
133
+ var g = u, h = f, O = S, Y = l, N = a, D = v, z = E, V = p, q = c, j = i, U = m, W = d, $ = !1, A = !1;
134
+ function X(r) {
135
+ return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
136
+ }
137
+ function k(r) {
138
+ return A || (A = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
139
+ }
140
+ function G(r) {
141
+ return s(r) === u;
142
+ }
143
+ function H(r) {
144
+ return s(r) === f;
145
+ }
146
+ function Z(r) {
147
+ return typeof r == "object" && r !== null && r.$$typeof === S;
148
+ }
149
+ function B(r) {
150
+ return s(r) === l;
151
+ }
152
+ function J(r) {
153
+ return s(r) === a;
154
+ }
155
+ function K(r) {
156
+ return s(r) === v;
157
+ }
158
+ function Q(r) {
159
+ return s(r) === E;
160
+ }
161
+ function ee(r) {
162
+ return s(r) === p;
163
+ }
164
+ function re(r) {
165
+ return s(r) === c;
166
+ }
167
+ function te(r) {
168
+ return s(r) === i;
169
+ }
170
+ function ne(r) {
171
+ return s(r) === m;
172
+ }
173
+ function oe(r) {
174
+ return s(r) === d;
175
+ }
176
+ n.ContextConsumer = g, n.ContextProvider = h, n.Element = O, n.ForwardRef = Y, n.Fragment = N, n.Lazy = D, n.Memo = z, n.Portal = V, n.Profiler = q, n.StrictMode = j, n.Suspense = U, n.SuspenseList = W, n.isAsyncMode = X, n.isConcurrentMode = k, n.isContextConsumer = G, n.isContextProvider = H, n.isElement = Z, n.isForwardRef = B, n.isFragment = J, n.isLazy = K, n.isMemo = Q, n.isPortal = ee, n.isProfiler = re, n.isStrictMode = te, n.isSuspense = ne, n.isSuspenseList = oe, n.isValidElementType = w, n.typeOf = s;
177
+ }()), n;
178
+ }
179
+ process.env.NODE_ENV === "production" ? P.exports = se() : P.exports = ae();
180
+ var ie = P.exports;
181
+ export {
182
+ ie as r
183
+ };