@gobolt/genesis 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (685) hide show
  1. package/README.md +6 -8
  2. package/dist/AntdIcon-DH0CLM1Y.cjs +58 -0
  3. package/dist/CSSMotionList-BkQaDrZL.cjs +54 -0
  4. package/dist/CSSMotionList-Bnxp3McO.js +3043 -0
  5. package/dist/CheckCircleFilled-CjHdYIbm.cjs +1 -0
  6. package/dist/CheckOutlined-zCdr5BJm.cjs +1 -0
  7. package/dist/ClockCircleOutlined-5UFb32Vd.cjs +1 -0
  8. package/dist/CloseCircleFilled-DTf4XAEx.cjs +1 -0
  9. package/dist/CloseOutlined-Bdhtz5G6.cjs +1 -0
  10. package/dist/{Compact-DFcWZrNo.js → Compact-DLyEiUiM.js} +4 -4
  11. package/dist/Compact-DbbroFuI.cjs +1 -0
  12. package/dist/Context-C1u4yclk.cjs +1 -0
  13. package/dist/ContextIsolator-CoEIkMNv.cjs +1 -0
  14. package/dist/{ContextIsolator-CUJnq-4F.js → ContextIsolator-DmNIEQ4a.js} +2 -2
  15. package/dist/{DownOutlined-Bv7ua5i8.js → DownOutlined-B6sv2Wz7.js} +5 -5
  16. package/dist/DownOutlined-BQeYXxEW.cjs +4 -0
  17. package/dist/EllipsisOutlined-41dQ6mc7.cjs +1 -0
  18. package/dist/{EllipsisOutlined-BodkguEc.js → EllipsisOutlined-p42n6YT6.js} +62 -61
  19. package/dist/ExclamationCircleFilled-CKIE3287.cjs +1 -0
  20. package/dist/{Input--qsU-6vp.js → Input-BQWrpo9X.js} +10 -10
  21. package/dist/Input-DR_AoU5d.cjs +1 -0
  22. package/dist/KeyCode-CIq7HTTY.cjs +1 -0
  23. package/dist/Keyframes-CLS7wZIp.cjs +1 -0
  24. package/dist/{Keyframes-CyO2Aeq-.js → Keyframes-DIF9LGg-.js} +1 -1
  25. package/dist/LoadingOutlined-ByLc1sSe.cjs +1 -0
  26. package/dist/MinusCircleOutlined-d1WYK6RE.cjs +1 -0
  27. package/dist/{Overflow-CVbsx7Gn.js → Overflow-BjFvsSs4.js} +60 -59
  28. package/dist/Overflow-Bthkof3a.cjs +4 -0
  29. package/dist/SearchOutlined-BzV3qXvi.cjs +1 -0
  30. package/dist/{Skeleton-CudViN0a.js → Skeleton-CUGMlCIU.js} +3 -3
  31. package/dist/Skeleton-DJMABrvW.cjs +8 -0
  32. package/dist/TextArea-B8UHj7uQ.cjs +15 -0
  33. package/dist/{TextArea-CHo3cxKw.js → TextArea-FhT_niDe.js} +11 -11
  34. package/dist/{Typography-B2J8CPnt.js → Typography-BKm8uXM1.js} +52 -50
  35. package/dist/Typography-DCxwDJFP.cjs +10 -0
  36. package/dist/_baseIsEqual-DnZ6AoVd.cjs +1 -0
  37. package/dist/_commonjsHelpers-BTDuMlIz.cjs +1 -0
  38. package/dist/asyncToGenerator-Dr7BhN2C.cjs +1 -0
  39. package/dist/{button-CYVlK7G0.js → button-CvcGKj7O.js} +31 -31
  40. package/dist/button-vyLzOdPi.cjs +1 -0
  41. package/dist/collapse-DNCMuTyD.cjs +3 -0
  42. package/dist/compact-item-B2FiQh6y.cjs +1 -0
  43. package/dist/components/Avatar/Avatar.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  44. package/dist/components/Avatar/__tests__/Avatar.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  45. package/dist/components/Avatar/index.cjs.js +1 -0
  46. package/dist/components/Avatar/index.es.js +4 -0
  47. package/dist/components/Avatar/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
  48. package/dist/components/Avatar/styles.d.ts +1 -12
  49. package/dist/components/Badge/Badge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  50. package/dist/components/Badge/Badge.d.ts +4 -1
  51. package/dist/components/Badge/__stories__/Badge.stories.d.ts +1 -0
  52. package/dist/components/Badge/__tests__/Badge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  53. package/dist/components/Badge/index.cjs.js +1 -0
  54. package/dist/components/Badge/index.es.js +4 -0
  55. package/dist/components/Badge/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +10 -14
  56. package/dist/components/Badge/styles.d.ts +1 -8
  57. package/dist/components/Breadcrumb/Breadcrumb.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  58. package/dist/components/Breadcrumb/Breadcrumb.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  59. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  60. package/dist/components/Breadcrumb/index.cjs.js +1 -0
  61. package/dist/components/Breadcrumb/index.es.js +4 -0
  62. package/dist/components/Breadcrumb/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +60 -0
  63. package/dist/components/Breadcrumb/styles.d.ts +2 -23
  64. package/dist/components/Button/Button.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  65. package/dist/components/Button/Button.d.ts +4 -3
  66. package/dist/components/Button/IconButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  67. package/dist/components/Button/IconButton.d.ts +8 -0
  68. package/dist/components/Button/UtilityButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  69. package/dist/components/Button/UtilityButton.d.ts +5 -0
  70. package/dist/components/Button/__stories__/Button.stories.d.ts +0 -4
  71. package/dist/components/Button/__stories__/IconButton.stories.d.ts +8 -0
  72. package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +8 -0
  73. package/dist/components/Button/__tests__/Button.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  74. package/dist/components/Button/icon-button-styles.[format === /"es/" ? /"js/" : /"cjs/"]" +61 -0
  75. package/dist/components/Button/icon-button-styles.d.ts +1 -0
  76. package/dist/components/Button/index.cjs.js +1 -0
  77. package/dist/components/Button/index.d.ts +4 -0
  78. package/dist/components/Button/index.es.js +8 -0
  79. package/dist/components/Button/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +66 -0
  80. package/dist/components/Button/styles.d.ts +1 -15
  81. package/dist/components/Card/Card.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  82. package/dist/components/Card/__tests__/Card.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  83. package/dist/components/Card/index.cjs.js +1 -0
  84. package/dist/components/Card/index.es.js +4 -0
  85. package/dist/components/Card/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  86. package/dist/components/Card/styles.d.ts +1 -10
  87. package/dist/components/Checkbox/Checkbox.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  88. package/dist/components/Checkbox/__tests__/Checkbox.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  89. package/dist/components/Checkbox/index.cjs.js +1 -0
  90. package/dist/components/Checkbox/index.es.js +4 -0
  91. package/dist/components/Checkbox/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +17 -23
  92. package/dist/components/Checkbox/styles.d.ts +2 -7
  93. package/dist/components/Dashboard/Dashboard.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  94. package/dist/components/Dashboard/__mocks__/dashboard-data.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  95. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  96. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  97. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  98. package/dist/components/Dashboard/__stories__/charts/LineChart.[format === /"es/" ? /"js/" : /"cjs/"]" +2 -0
  99. package/dist/components/Dashboard/__tests__/Dashboard.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  100. package/dist/components/Dashboard/index.cjs.js +1 -0
  101. package/dist/components/Dashboard/index.es.js +4 -0
  102. package/dist/components/Dashboard/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  103. package/dist/components/Dashboard/styles.d.ts +1 -8
  104. package/dist/components/DatePicker/DatePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  105. package/dist/components/DatePicker/__tests__/DatePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  106. package/dist/components/DatePicker/index.cjs.js +1 -0
  107. package/dist/components/DatePicker/index.es.js +4 -0
  108. package/dist/components/DateRangePicker/DateRangePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  109. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  110. package/dist/components/DateRangePicker/index.cjs.js +1 -0
  111. package/dist/components/DateRangePicker/index.es.js +4 -0
  112. package/dist/components/ErrorBoundary/ErrorBoundary.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  113. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  114. package/dist/components/ErrorBoundary/index.cjs.js +1 -0
  115. package/dist/components/ErrorBoundary/index.es.js +4 -0
  116. package/dist/components/ErrorBoundary/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  117. package/dist/components/ErrorBoundary/styles.d.ts +1 -8
  118. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  119. package/dist/components/ErrorBoundaryFallback/index.cjs.js +1 -0
  120. package/dist/components/ErrorBoundaryFallback/index.es.js +4 -0
  121. package/dist/components/ErrorBoundaryFallback/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
  122. package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
  123. package/dist/components/Form/Form.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  124. package/dist/components/Form/__stories__/FormStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  125. package/dist/components/Form/__tests__/form.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  126. package/dist/components/Form/index.cjs.js +1 -0
  127. package/dist/components/Form/index.es.js +4 -0
  128. package/dist/components/Form/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  129. package/dist/components/Glyph/Glyph.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  130. package/dist/components/Glyph/index.cjs.js +1 -0
  131. package/dist/components/Glyph/index.es.js +4 -0
  132. package/dist/components/Glyph/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  133. package/dist/components/Glyph/styles.d.ts +1 -8
  134. package/dist/components/Input/Input.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  135. package/dist/components/Input/Input.d.ts +3 -2
  136. package/dist/components/Input/__stories__/Input.stories.d.ts +1 -0
  137. package/dist/components/Input/__tests__/Input.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  138. package/dist/components/Input/index.cjs.js +1 -0
  139. package/dist/components/Input/index.es.js +4 -0
  140. package/dist/components/Input/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  141. package/dist/components/Input/styles.d.ts +1 -15
  142. package/dist/components/Layout/Content/Content.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  143. package/dist/components/Layout/Content/ResponsiveContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  144. package/dist/components/Layout/Content/index.cjs.js +1 -0
  145. package/dist/components/Layout/Content/index.es.js +4 -0
  146. package/dist/components/Layout/Content/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
  147. package/dist/components/Layout/Content/styles.d.ts +1 -7
  148. package/dist/components/Layout/Layout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  149. package/dist/components/Layout/MainLayout/MainLayout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  150. package/dist/components/Layout/MainLayout/index.cjs.js +1 -0
  151. package/dist/components/Layout/MainLayout/index.es.js +4 -0
  152. package/dist/components/Layout/MainLayout/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +62 -0
  153. package/dist/components/Layout/MainLayout/styles.d.ts +4 -4
  154. package/dist/components/Layout/__tests__/Layout.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  155. package/dist/components/Layout/index.cjs.js +1 -0
  156. package/dist/components/Layout/index.es.js +4 -0
  157. package/dist/components/Message/Message.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  158. package/dist/components/Message/__tests__/Message.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  159. package/dist/components/Message/index.cjs.js +1 -0
  160. package/dist/components/Message/index.es.js +4 -0
  161. package/dist/components/Message/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
  162. package/dist/components/Message/styles.d.ts +3 -9
  163. package/dist/components/Notification/Notification.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  164. package/dist/components/Notification/NotificationBadge/NotificationBadge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  165. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  166. package/dist/components/Notification/NotificationBadge/icons/ASN.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  167. package/dist/components/Notification/NotificationBadge/icons/Appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  168. package/dist/components/Notification/NotificationBadge/icons/Inventory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  169. package/dist/components/Notification/NotificationBadge/icons/Parcel.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  170. package/dist/components/Notification/NotificationBadge/icons/Product.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  171. package/dist/components/Notification/NotificationBadge/icons/Route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  172. package/dist/components/Notification/NotificationBadge/icons/Shipment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  173. package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  174. package/dist/components/Notification/NotificationBadge/icons/System.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  175. package/dist/components/Notification/NotificationBadge/index.cjs.js +1 -0
  176. package/dist/components/Notification/NotificationBadge/index.es.js +4 -0
  177. package/dist/components/Notification/NotificationBadge/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +28 -0
  178. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
  179. package/dist/components/Notification/NotificationRightChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  180. package/dist/components/Notification/__tests__/Notification.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  181. package/dist/components/Notification/index.cjs.js +1 -0
  182. package/dist/components/Notification/index.es.js +4 -0
  183. package/dist/components/Notification/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +56 -0
  184. package/dist/components/Notification/styles.d.ts +5 -16
  185. package/dist/components/Popover/Popover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  186. package/dist/components/Popover/__tests__/Popover.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  187. package/dist/components/Popover/index.cjs.js +1 -0
  188. package/dist/components/Popover/index.es.js +4 -0
  189. package/dist/components/Popover/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  190. package/dist/components/Popover/styles.d.ts +1 -13
  191. package/dist/components/Progress/Progress.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  192. package/dist/components/Progress/Progress.util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  193. package/dist/components/Progress/ProgressText.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  194. package/dist/components/Progress/__tests__/Progress.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  195. package/dist/components/Progress/index.cjs.js +1 -0
  196. package/dist/components/Progress/index.es.js +4 -0
  197. package/dist/components/Progress/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
  198. package/dist/components/Progress/styles.d.ts +1 -13
  199. package/dist/components/Radio/Radio.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  200. package/dist/components/Radio/Radio.d.ts +1 -4
  201. package/dist/components/Radio/RadioGroup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  202. package/dist/components/Radio/__tests__/RadioGroup.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  203. package/dist/components/Radio/index.cjs.js +1 -0
  204. package/dist/components/Radio/index.es.js +4 -0
  205. package/dist/components/Radio/states/RadioChecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  206. package/dist/components/Radio/states/RadioCheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  207. package/dist/components/Radio/states/RadioCheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  208. package/dist/components/Radio/states/RadioCheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  209. package/dist/components/Radio/states/RadioUnchecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  210. package/dist/components/Radio/states/RadioUncheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  211. package/dist/components/Radio/states/RadioUncheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  212. package/dist/components/Radio/states/RadioUncheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  213. package/dist/components/Row/Row.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  214. package/dist/components/Row/RowActions/RowActions.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  215. package/dist/components/Row/RowActions/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -9
  216. package/dist/components/Row/RowActions/styles.d.ts +2 -2
  217. package/dist/components/Row/RowLabelValue/RowLabelValue.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  218. package/dist/components/Row/RowLabelValue/RowSkeleton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  219. package/dist/components/Row/RowLabelValue/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +18 -0
  220. package/dist/components/Row/RowLabelValue/styles.d.ts +2 -12
  221. package/dist/components/Row/__tests__/Row.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  222. package/dist/components/Row/index.cjs.js +1 -0
  223. package/dist/components/Row/index.es.js +4 -0
  224. package/dist/components/Row/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +10 -0
  225. package/dist/components/Row/styles.d.ts +1 -9
  226. package/dist/components/SegmentedControls/SegmentedControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  227. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  228. package/dist/components/SegmentedControls/index.cjs.js +1 -0
  229. package/dist/components/SegmentedControls/index.es.js +4 -0
  230. package/dist/components/SegmentedControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +22 -0
  231. package/dist/components/SegmentedControls/styles.d.ts +1 -9
  232. package/dist/components/Select/DropdownChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  233. package/dist/components/Select/Select.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  234. package/dist/components/Select/Select.d.ts +5 -2
  235. package/dist/components/Select/__stories__/Select.stories.d.ts +1 -0
  236. package/dist/components/Select/__tests__/Select.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  237. package/dist/components/Select/index.cjs.js +1 -0
  238. package/dist/components/Select/index.es.js +4 -0
  239. package/dist/components/Select/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +129 -0
  240. package/dist/components/Select/styles.d.ts +5 -21
  241. package/dist/components/Shapes/Shapes.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  242. package/dist/components/Shapes/__tests__/Shapes.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  243. package/dist/components/Shapes/index.cjs.js +1 -0
  244. package/dist/components/Shapes/index.es.js +4 -0
  245. package/dist/components/Shapes/variants/Circle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  246. package/dist/components/Shapes/variants/Rectangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  247. package/dist/components/Shapes/variants/Triangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  248. package/dist/components/Switch/Switch.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  249. package/dist/components/Switch/__stories__/Switch.stories.d.ts +2 -1
  250. package/dist/components/Switch/__tests__/Switch.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  251. package/dist/components/Switch/index.cjs.js +1 -0
  252. package/dist/components/Switch/index.es.js +4 -0
  253. package/dist/components/Switch/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +58 -0
  254. package/dist/components/Switch/styles.d.ts +1 -7
  255. package/dist/components/Table/Table.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  256. package/dist/components/Table/Table.d.ts +40 -11
  257. package/dist/components/Table/TableControls/PrimaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  258. package/dist/components/Table/TableControls/PrimaryTableControls.d.ts +15 -0
  259. package/dist/components/Table/TableControls/SecondaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  260. package/dist/components/Table/TableControls/SecondaryTableControls.d.ts +10 -0
  261. package/dist/components/Table/TableControls/TableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  262. package/dist/components/Table/TableControls/TableControls.d.ts +8 -0
  263. package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +6 -0
  264. package/dist/components/Table/TableControls/__tests__/TableControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  265. package/dist/components/Table/TableControls/index.cjs.js +1 -0
  266. package/dist/components/Table/TableControls/index.d.ts +2 -0
  267. package/dist/components/Table/TableControls/index.es.js +4 -0
  268. package/dist/components/Table/TableControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
  269. package/dist/components/Table/TableControls/styles.d.ts +6 -0
  270. package/dist/components/Table/TableWithControls/TableWithControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  271. package/dist/components/Table/TableWithControls/TableWithControls.d.ts +12 -0
  272. package/dist/components/Table/TableWithControls/__stories__/TableWithControls.stories.d.ts +6 -0
  273. package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  274. package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.d.ts +1 -0
  275. package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  276. package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.d.ts +1 -0
  277. package/dist/components/Table/TableWithControls/index.cjs.js +1 -0
  278. package/dist/components/Table/TableWithControls/index.d.ts +2 -0
  279. package/dist/components/Table/TableWithControls/index.es.js +4 -0
  280. package/dist/components/Table/__mocks__/table-mocks.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  281. package/dist/components/Table/__mocks__/table-mocks.d.ts +2 -1
  282. package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +3 -0
  283. package/dist/components/Table/__stories__/Table.stories.d.ts +3 -1
  284. package/dist/components/Table/__stories__/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  285. package/dist/components/Table/__stories__/use-table-hook.d.ts +9 -0
  286. package/dist/components/Table/__tests__/Table.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  287. package/dist/components/Table/index.cjs.js +1 -0
  288. package/dist/components/Table/index.es.js +4 -0
  289. package/dist/components/Table/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  290. package/dist/components/Table/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  291. package/dist/components/Table/use-table-hook.d.ts +23 -0
  292. package/dist/components/Tabs/Tabs.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  293. package/dist/components/Tabs/__tests__/Tabs.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  294. package/dist/components/Tabs/index.cjs.js +1 -0
  295. package/dist/components/Tabs/index.es.js +4 -0
  296. package/dist/components/Tabs/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -10
  297. package/dist/components/Tabs/styles.d.ts +1 -9
  298. package/dist/components/Tile/Tile.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  299. package/dist/components/Tile/__tests__/Tile.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  300. package/dist/components/Tile/index.cjs.js +1 -0
  301. package/dist/components/Tile/index.es.js +4 -0
  302. package/dist/components/Tile/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
  303. package/dist/components/Tile/styles.d.ts +1 -7
  304. package/dist/components/Toast/Toast.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  305. package/dist/components/Toast/__tests__/Toast.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  306. package/dist/components/Toast/index.cjs.js +1 -0
  307. package/dist/components/Toast/index.es.js +4 -0
  308. package/dist/components/Toast/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
  309. package/dist/components/Toast/styles.d.ts +3 -9
  310. package/dist/components/Tooltip/Tooltip.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  311. package/dist/components/Tooltip/__tests__/Tooltip.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  312. package/dist/components/Tooltip/index.cjs.js +1 -0
  313. package/dist/components/Tooltip/index.es.js +4 -0
  314. package/dist/components/Tooltip/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +5 -0
  315. package/dist/components/Tooltip/styles.d.ts +1 -14
  316. package/dist/components/Typography/Typography.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  317. package/dist/components/Typography/Typography.d.ts +1 -2
  318. package/dist/components/Typography/__tests__/Typography.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  319. package/dist/components/Typography/index.cjs.js +1 -0
  320. package/dist/components/Typography/index.es.js +4 -0
  321. package/dist/components/Typography/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +29 -0
  322. package/dist/components/Typography/styles.d.ts +3 -21
  323. package/dist/components/index.cjs.js +1 -0
  324. package/dist/components/index.d.cjs.js +1 -0
  325. package/dist/components/index.d.ts +4 -0
  326. package/dist/components/index.es.js +62 -0
  327. package/dist/constants/index.cjs.js +1 -0
  328. package/dist/constants/index.d.ts +2 -0
  329. package/dist/constants/{index.js → index.es.js} +14 -13
  330. package/dist/{context-CQfFkrkv.js → context-CTca8gjn.js} +3 -3
  331. package/dist/context-DdubDZbV.cjs +1 -0
  332. package/dist/declaration.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  333. package/dist/{dropdown-BlRB2LxQ.js → dropdown-CZHhUAdC.js} +13 -13
  334. package/dist/dropdown-DDY5X1Q0.cjs +27 -0
  335. package/dist/generateCategoricalChart-Dcyk3onh.cjs +90 -0
  336. package/dist/genesis/GenesisThemeBreakdown.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  337. package/dist/genesis/GenesisThemeDemo.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  338. package/dist/genesis/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +3 -10
  339. package/dist/genesis/styles.d.ts +2 -11
  340. package/dist/iconBase-C4boY5mo.cjs +1 -0
  341. package/dist/index-B2Z5NSa0.cjs +4 -0
  342. package/dist/{index-DRGbc-fW.js → index-B56O6LEG.js} +38 -37
  343. package/dist/index-B6nsE0F_.cjs +16 -0
  344. package/dist/index-BD5op9DA.cjs +6 -0
  345. package/dist/{index-BZ050Dyl.js → index-BJgt3NQN.js} +7 -7
  346. package/dist/index-Bj0GOR4e.cjs +1 -0
  347. package/dist/index-Bml8d_Df.cjs +15 -0
  348. package/dist/index-CNA8GQQR.cjs +1 -0
  349. package/dist/index-CSLsxIxR.cjs +1 -0
  350. package/dist/index-CUpwy6fl.cjs +24 -0
  351. package/dist/{index-CzMIlMTV.js → index-CXee0v2G.js} +2 -2
  352. package/dist/{index-C2K1BzmJ.js → index-CYbLY3uE.js} +22 -21
  353. package/dist/{index-DCopujxC.js → index-Ce7BgA_I.js} +32 -32
  354. package/dist/index-Cft4ZDoE.cjs +1 -0
  355. package/dist/{index-Br3D3cFM.js → index-CkrCy-wr.js} +49 -48
  356. package/dist/index-CmiuhnsO.js +11 -0
  357. package/dist/{index-RtWhGOwR.js → index-CsSLy_ri.js} +9 -9
  358. package/dist/{index-Bxbr727t.js → index-D0AjEeN2.js} +1 -1
  359. package/dist/{index-B7FXyiY_.js → index-D76Ewoqp.js} +4 -4
  360. package/dist/{index-BHCqeC4j.js → index-D9i74AKg.js} +11 -11
  361. package/dist/{index-DavB5GQ3.js → index-DAtTGIsZ.js} +19 -19
  362. package/dist/{index-Y0KgiFZb.js → index-DJcvYBdb.js} +9 -9
  363. package/dist/index-DLI4yl_y.cjs +22 -0
  364. package/dist/index-DPPQ1GIl.cjs +10 -0
  365. package/dist/index-DV4cHHkU.cjs +1 -0
  366. package/dist/index-DY6qmEFc.js +23 -0
  367. package/dist/index-DdF9CYRQ.cjs +1 -0
  368. package/dist/index-Dwe6wwhx.cjs +7 -0
  369. package/dist/{index-sX7KZ-nU.js → index-FDGutzXP.js} +42 -42
  370. package/dist/{index-RAH9f-qb.js → index-emugciTm.js} +6 -6
  371. package/dist/index-x6LPvHOw.cjs +17 -0
  372. package/dist/index-zDIwuuqH.cjs +3 -0
  373. package/dist/index.cjs.js +1 -0
  374. package/dist/index.es.js +69 -0
  375. package/dist/interface/address.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  376. package/dist/interface/appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  377. package/dist/interface/appointmentV2.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  378. package/dist/interface/appointmentsState.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  379. package/dist/interface/common.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  380. package/dist/interface/completionData.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  381. package/dist/interface/deliveryPartner.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  382. package/dist/interface/organization.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  383. package/dist/interface/pagination.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  384. package/dist/interface/roles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  385. package/dist/interface/route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  386. package/dist/interface/routeAnalysis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  387. package/dist/interface/routeAutomationJob.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  388. package/dist/interface/routeAutomationLog.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  389. package/dist/interface/routeEvent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  390. package/dist/interface/serviceArea.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  391. package/dist/interface/util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  392. package/dist/interface/vehicle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  393. package/dist/interface/workOrder.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  394. package/dist/isVisible-BNxwNfFH.cjs +1 -0
  395. package/dist/magic-string.es-BMxHbF2i.cjs +10 -0
  396. package/dist/motion-B_a-We1F.cjs +1 -0
  397. package/dist/{motion-C-XpKcZG.js → motion-Tyjtqn8t.js} +2 -2
  398. package/dist/omit-BrHx-Kj7.cjs +1 -0
  399. package/dist/pickAttrs-BUFdQiVt.cjs +18 -0
  400. package/dist/presetColors-DyrVjOJc.cjs +1 -0
  401. package/dist/presets-CCbttGCy.cjs +6 -0
  402. package/dist/providers/BreakpointProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  403. package/dist/providers/BreakpointProvider.d.ts +7 -0
  404. package/dist/providers/GenesisProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  405. package/dist/providers/ToastProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  406. package/dist/providers/index.cjs.js +1 -0
  407. package/dist/providers/index.es.js +6 -0
  408. package/dist/providers/useGenesis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  409. package/dist/providers/useGenesis.d.ts +2 -1
  410. package/dist/reactNode-DcoR9VZw.cjs +1 -0
  411. package/dist/{roundedArrow-BxPlu4Hq.js → roundedArrow-BtSC7b_q.js} +1 -1
  412. package/dist/roundedArrow-i9Dmpgeh.cjs +1 -0
  413. package/dist/{setup-aZdxWCJq.js → setup-D5hJ8cId.js} +6300 -5518
  414. package/dist/setup-Lma-RJTH.cjs +148 -0
  415. package/dist/setup.types-DNdmb6tK.cjs +46 -0
  416. package/dist/shadow-1q6dM13I.cjs +1 -0
  417. package/dist/statusUtils-DExYjn05.cjs +1 -0
  418. package/dist/styleChecker-Vc3-yig2.cjs +1 -0
  419. package/dist/styles/design-tokens/border-tokens/BorderTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  420. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  421. package/dist/styles/design-tokens/variables.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  422. package/dist/styles/design-tokens/variables.d.ts +2 -0
  423. package/dist/styles/{global-styles.js → global-styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +2 -6
  424. package/dist/styles/global-styles.d.ts +1 -1
  425. package/dist/styles/theme/genesis-theme.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  426. package/dist/styles/theme/genesis-theme.d.ts +2 -0
  427. package/dist/styles/theme/genesis-theme.test.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
  428. package/dist/styles/theme/genesis-theme.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  429. package/dist/styles/theme/genesis-theme.types.d.ts +7 -0
  430. package/dist/styles/theme/index.cjs.js +1 -0
  431. package/dist/styles/theme/{index.js → index.es.js} +1 -1
  432. package/dist/styles/theme/theme-tree/ThemeTree.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
  433. package/dist/styles-BEj8fZMe.cjs +3 -0
  434. package/dist/styles-BWTP_Zyu.cjs +103 -0
  435. package/dist/styles-BfoQ93tm.cjs +91 -0
  436. package/dist/{styles-Wpm1RiGr.js → styles-Bnh9HSiM.js} +46 -45
  437. package/dist/{styles-XuoEGUZZ.js → styles-CRSK7_lW.js} +135 -122
  438. package/dist/{styles-DNay6iFa.js → styles-CSzrJlJ9.js} +7 -7
  439. package/dist/{index-CupwdUIJ.js → styles-DXLK47iT.js} +167 -157
  440. package/dist/styles-j60Er7XY.cjs +16 -0
  441. package/dist/test/setup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  442. package/dist/test/setup.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  443. package/dist/{toArray-D5kvYi_U.js → toArray-BdEmgTlP.js} +1 -1
  444. package/dist/toArray-Cnq83wS3.cjs +1 -0
  445. package/dist/useBreakpoint-BkvhZP6y.cjs +1 -0
  446. package/dist/{useBreakpoint-ByLol0R9.js → useBreakpoint-C6P2JavP.js} +1 -1
  447. package/dist/{useCSSVarCls-YfJY1twF.js → useCSSVarCls-CwGsW74t.js} +1 -1
  448. package/dist/useCSSVarCls-Eahl89PI.cjs +1 -0
  449. package/dist/{useIcons-CoxuumP_.js → useIcons-BP_qFbBH.js} +3 -3
  450. package/dist/useIcons-elrpktrI.cjs +6 -0
  451. package/dist/useId-BDresUbx.cjs +1 -0
  452. package/dist/useLocale-Ccu6a0gD.cjs +1 -0
  453. package/dist/{useLocale-BQ3mKRyJ.js → useLocale-DkcoQ5u9.js} +1 -1
  454. package/dist/{useMergedState-D1-TbeEv.js → useMergedState-dLe_CnQY.js} +1 -1
  455. package/dist/useMergedState-g1JWsrDw.cjs +1 -0
  456. package/dist/{useSize-Ct1guc-z.js → useSize-D_iM0JXw.js} +1 -1
  457. package/dist/useSize-OiGNe58i.cjs +1 -0
  458. package/dist/{useVariants-C6UAAu9f.js → useVariants-BO1luVHT.js} +3 -3
  459. package/dist/useVariants-CAEx8XcP.cjs +1 -0
  460. package/dist/useZIndex-B720RqFH.cjs +1 -0
  461. package/dist/{useZIndex-tgX56o1r.js → useZIndex-DNLQPZBP.js} +2 -2
  462. package/dist/utils/icon-util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  463. package/dist/utils/icon-util.d.ts +1 -0
  464. package/dist/utils/styled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  465. package/dist/utils/styled.d.ts +7 -0
  466. package/dist/vi.B5EKKJdE-CoUxwxV9.cjs +434 -0
  467. package/dist/vite-env.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
  468. package/package.json +26 -11
  469. package/dist/CSSMotionList-DB0khM6h.js +0 -22193
  470. package/dist/components/Avatar/Avatar.js +0 -62
  471. package/dist/components/Avatar/__tests__/Avatar.test.js +0 -17
  472. package/dist/components/Avatar/index.js +0 -4
  473. package/dist/components/Avatar/styles.js +0 -328
  474. package/dist/components/Badge/Badge.js +0 -71
  475. package/dist/components/Badge/__tests__/Badge.test.js +0 -17
  476. package/dist/components/Badge/index.js +0 -4
  477. package/dist/components/Breadcrumb/Breadcrumb.js +0 -11
  478. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +0 -23
  479. package/dist/components/Breadcrumb/index.js +0 -4
  480. package/dist/components/Breadcrumb/styles.js +0 -415
  481. package/dist/components/Button/Button.js +0 -26
  482. package/dist/components/Button/__tests__/Button.test.js +0 -17
  483. package/dist/components/Button/index.js +0 -4
  484. package/dist/components/Button/styles.js +0 -74
  485. package/dist/components/Card/Card.js +0 -16
  486. package/dist/components/Card/__tests__/Card.test.js +0 -16
  487. package/dist/components/Card/index.js +0 -4
  488. package/dist/components/Card/styles.js +0 -12
  489. package/dist/components/Checkbox/Checkbox.js +0 -52
  490. package/dist/components/Checkbox/__tests__/Checkbox.test.js +0 -19
  491. package/dist/components/Checkbox/index.js +0 -4
  492. package/dist/components/Dashboard/Dashboard.js +0 -5
  493. package/dist/components/Dashboard/__mocks__/dashboard-data.js +0 -186
  494. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +0 -947
  495. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +0 -86
  496. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +0 -23
  497. package/dist/components/Dashboard/__stories__/charts/LineChart.js +0 -534
  498. package/dist/components/Dashboard/__tests__/Dashboard.test.js +0 -16
  499. package/dist/components/Dashboard/index.js +0 -4
  500. package/dist/components/Dashboard/styles.js +0 -11
  501. package/dist/components/DatePicker/DatePicker.js +0 -5
  502. package/dist/components/DatePicker/__tests__/DatePicker.test.js +0 -19
  503. package/dist/components/DatePicker/index.js +0 -4
  504. package/dist/components/DateRangePicker/DateRangePicker.js +0 -5
  505. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +0 -23
  506. package/dist/components/DateRangePicker/index.js +0 -4
  507. package/dist/components/ErrorBoundary/ErrorBoundary.js +0 -73
  508. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +0 -30
  509. package/dist/components/ErrorBoundary/index.js +0 -4
  510. package/dist/components/ErrorBoundary/styles.js +0 -11
  511. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +0 -56
  512. package/dist/components/ErrorBoundaryFallback/index.js +0 -4
  513. package/dist/components/ErrorBoundaryFallback/styles.js +0 -933
  514. package/dist/components/Form/Form.js +0 -8
  515. package/dist/components/Form/__stories__/FormStory.js +0 -171
  516. package/dist/components/Form/__tests__/form.test.js +0 -19
  517. package/dist/components/Form/index.js +0 -4
  518. package/dist/components/Form/styles.js +0 -13
  519. package/dist/components/FormBrandon/Form.d.ts +0 -25
  520. package/dist/components/FormBrandon/Form.js +0 -18
  521. package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +0 -6
  522. package/dist/components/FormBrandon/__stories__/FormStory.d.ts +0 -1
  523. package/dist/components/FormBrandon/__stories__/FormStory.js +0 -172
  524. package/dist/components/FormBrandon/__tests__/form.test.js +0 -19
  525. package/dist/components/FormBrandon/index.d.ts +0 -2
  526. package/dist/components/FormBrandon/index.js +0 -4
  527. package/dist/components/FormBrandon/styles.d.ts +0 -2
  528. package/dist/components/FormBrandon/styles.js +0 -13
  529. package/dist/components/Glyph/Glyph.js +0 -9
  530. package/dist/components/Glyph/index.js +0 -4
  531. package/dist/components/Glyph/styles.js +0 -11
  532. package/dist/components/Input/Input.js +0 -22
  533. package/dist/components/Input/__tests__/Input.test.js +0 -25
  534. package/dist/components/Input/index.js +0 -4
  535. package/dist/components/Input/styles.js +0 -6
  536. package/dist/components/Layout/Content/Content.js +0 -32
  537. package/dist/components/Layout/Content/ResponsiveContent.js +0 -82
  538. package/dist/components/Layout/Content/index.js +0 -4
  539. package/dist/components/Layout/Content/styles.js +0 -16
  540. package/dist/components/Layout/Layout.js +0 -6
  541. package/dist/components/Layout/MainLayout/MainLayout.js +0 -28
  542. package/dist/components/Layout/MainLayout/index.js +0 -4
  543. package/dist/components/Layout/MainLayout/styles.js +0 -69
  544. package/dist/components/Layout/__tests__/Layout.test.js +0 -14
  545. package/dist/components/Layout/index.js +0 -4
  546. package/dist/components/Message/Message.js +0 -106
  547. package/dist/components/Message/__tests__/Message.test.js +0 -43
  548. package/dist/components/Message/index.js +0 -4
  549. package/dist/components/Message/styles.js +0 -45
  550. package/dist/components/Notification/Notification.js +0 -1462
  551. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +0 -49
  552. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +0 -18
  553. package/dist/components/Notification/NotificationBadge/icons/ASN.js +0 -23
  554. package/dist/components/Notification/NotificationBadge/icons/Appointment.js +0 -23
  555. package/dist/components/Notification/NotificationBadge/icons/Inventory.js +0 -23
  556. package/dist/components/Notification/NotificationBadge/icons/Parcel.js +0 -23
  557. package/dist/components/Notification/NotificationBadge/icons/Product.js +0 -23
  558. package/dist/components/Notification/NotificationBadge/icons/Route.js +0 -23
  559. package/dist/components/Notification/NotificationBadge/icons/Shipment.js +0 -23
  560. package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.js +0 -23
  561. package/dist/components/Notification/NotificationBadge/icons/System.js +0 -23
  562. package/dist/components/Notification/NotificationBadge/index.js +0 -4
  563. package/dist/components/Notification/NotificationBadge/styles.js +0 -34
  564. package/dist/components/Notification/NotificationRightChevron.js +0 -23
  565. package/dist/components/Notification/__tests__/Notification.test.js +0 -15
  566. package/dist/components/Notification/index.js +0 -4
  567. package/dist/components/Notification/styles.js +0 -65
  568. package/dist/components/Popover/Popover.js +0 -24
  569. package/dist/components/Popover/__tests__/Popover.test.js +0 -33
  570. package/dist/components/Popover/index.js +0 -4
  571. package/dist/components/Popover/styles.js +0 -6
  572. package/dist/components/Progress/Progress.js +0 -93
  573. package/dist/components/Progress/Progress.util.js +0 -63
  574. package/dist/components/Progress/ProgressText.js +0 -68
  575. package/dist/components/Progress/__tests__/Progress.test.js +0 -21
  576. package/dist/components/Progress/index.js +0 -4
  577. package/dist/components/Progress/styles.js +0 -796
  578. package/dist/components/Radio/Radio.js +0 -45
  579. package/dist/components/Radio/RadioGroup.js +0 -33
  580. package/dist/components/Radio/__tests__/RadioGroup.test.js +0 -31
  581. package/dist/components/Radio/index.js +0 -4
  582. package/dist/components/Radio/states/RadioChecked.js +0 -18
  583. package/dist/components/Radio/states/RadioCheckedDisabled.js +0 -18
  584. package/dist/components/Radio/states/RadioCheckedFocussed.js +0 -30
  585. package/dist/components/Radio/states/RadioCheckedHover.js +0 -18
  586. package/dist/components/Radio/states/RadioUnchecked.js +0 -15
  587. package/dist/components/Radio/states/RadioUncheckedDisabled.js +0 -15
  588. package/dist/components/Radio/states/RadioUncheckedFocussed.js +0 -29
  589. package/dist/components/Radio/states/RadioUncheckedHover.js +0 -18
  590. package/dist/components/Row/Row.js +0 -41
  591. package/dist/components/Row/RowActions/RowActions.js +0 -60
  592. package/dist/components/Row/RowLabelValue/RowLabelValue.js +0 -63
  593. package/dist/components/Row/RowLabelValue/RowSkeleton.js +0 -24
  594. package/dist/components/Row/RowLabelValue/styles.js +0 -25
  595. package/dist/components/Row/__tests__/Row.test.js +0 -16
  596. package/dist/components/Row/index.js +0 -4
  597. package/dist/components/Row/styles.js +0 -15
  598. package/dist/components/SegmentedControls/SegmentedControls.js +0 -26
  599. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +0 -24
  600. package/dist/components/SegmentedControls/index.js +0 -4
  601. package/dist/components/SegmentedControls/styles.js +0 -522
  602. package/dist/components/Select/DropdownChevron.js +0 -23
  603. package/dist/components/Select/Select.js +0 -36
  604. package/dist/components/Select/__tests__/Select.test.js +0 -55
  605. package/dist/components/Select/index.js +0 -4
  606. package/dist/components/Select/styles.js +0 -119
  607. package/dist/components/Shapes/Shapes.js +0 -8
  608. package/dist/components/Shapes/__tests__/Shapes.test.js +0 -16
  609. package/dist/components/Shapes/index.js +0 -4
  610. package/dist/components/Shapes/variants/Circle.js +0 -23
  611. package/dist/components/Shapes/variants/Rectangle.js +0 -23
  612. package/dist/components/Shapes/variants/Triangle.js +0 -23
  613. package/dist/components/Switch/Switch.js +0 -22
  614. package/dist/components/Switch/__tests__/Switch.test.js +0 -25
  615. package/dist/components/Switch/index.js +0 -4
  616. package/dist/components/Switch/styles.js +0 -456
  617. package/dist/components/Table/Table.js +0 -23
  618. package/dist/components/Table/__mocks__/table-mocks.js +0 -322
  619. package/dist/components/Table/__tests__/Table.test.js +0 -34
  620. package/dist/components/Table/index.js +0 -4
  621. package/dist/components/Table/styles.js +0 -6
  622. package/dist/components/Tabs/Tabs.js +0 -23
  623. package/dist/components/Tabs/__tests__/Tabs.test.js +0 -37
  624. package/dist/components/Tabs/index.js +0 -4
  625. package/dist/components/Tile/Tile.js +0 -21
  626. package/dist/components/Tile/__tests__/Tile.test.js +0 -21
  627. package/dist/components/Tile/index.js +0 -4
  628. package/dist/components/Tile/styles.js +0 -12
  629. package/dist/components/Toast/Toast.js +0 -37
  630. package/dist/components/Toast/__tests__/Toast.test.js +0 -19
  631. package/dist/components/Toast/index.js +0 -4
  632. package/dist/components/Toast/styles.js +0 -45
  633. package/dist/components/Tooltip/Tooltip.js +0 -51
  634. package/dist/components/Tooltip/__tests__/Tooltip.test.js +0 -25
  635. package/dist/components/Tooltip/index.js +0 -4
  636. package/dist/components/Tooltip/styles.js +0 -11
  637. package/dist/components/Typography/Typography.js +0 -8
  638. package/dist/components/Typography/__tests__/Typography.test.js +0 -24
  639. package/dist/components/Typography/index.js +0 -4
  640. package/dist/components/Typography/styles.js +0 -84
  641. package/dist/components/index.d.js +0 -1
  642. package/dist/components/index.js +0 -58
  643. package/dist/declaration.d.js +0 -1
  644. package/dist/genesis/GenesisThemeBreakdown.js +0 -145
  645. package/dist/genesis/GenesisThemeDemo.js +0 -7
  646. package/dist/index.js +0 -65
  647. package/dist/interface/address.js +0 -1
  648. package/dist/interface/appointment.js +0 -5
  649. package/dist/interface/appointmentV2.js +0 -1
  650. package/dist/interface/appointmentsState.js +0 -1
  651. package/dist/interface/common.js +0 -1
  652. package/dist/interface/completionData.js +0 -1
  653. package/dist/interface/deliveryPartner.js +0 -1
  654. package/dist/interface/organization.js +0 -1
  655. package/dist/interface/pagination.js +0 -1
  656. package/dist/interface/roles.js +0 -1
  657. package/dist/interface/route.js +0 -1
  658. package/dist/interface/routeAnalysis.js +0 -1
  659. package/dist/interface/routeAutomationJob.js +0 -10
  660. package/dist/interface/routeAutomationLog.js +0 -1
  661. package/dist/interface/routeEvent.js +0 -5
  662. package/dist/interface/serviceArea.js +0 -1
  663. package/dist/interface/util.js +0 -1
  664. package/dist/interface/vehicle.js +0 -1
  665. package/dist/interface/workOrder.js +0 -1
  666. package/dist/providers/BreakpointThemeProvider.d.ts +0 -8
  667. package/dist/providers/BreakpointThemeProvider.js +0 -21
  668. package/dist/providers/GenesisProvider.js +0 -11
  669. package/dist/providers/ToastProvider.js +0 -37
  670. package/dist/providers/index.js +0 -6
  671. package/dist/providers/useGenesis.js +0 -6
  672. package/dist/styled-components.browser.esm-C47QHsU4.js +0 -1211
  673. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +0 -60
  674. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +0 -64
  675. package/dist/styles/design-tokens/variables.js +0 -697
  676. package/dist/styles/theme/genesis-theme.js +0 -1095
  677. package/dist/styles/theme/genesis-theme.test.js +0 -69
  678. package/dist/styles/theme/genesis-theme.types.js +0 -4
  679. package/dist/styles/theme/theme-tree/ThemeTree.js +0 -1652
  680. package/dist/test/setup.js +0 -91
  681. package/dist/test/setup.types.js +0 -1
  682. package/dist/utils/icon-util.js +0 -93
  683. package/dist/vite-env.d.js +0 -1
  684. /package/dist/components/{FormBrandon/__tests__/form.test.d.ts → Table/TableControls/__tests__/TableControls.test.d.ts} +0 -0
  685. /package/dist/components/{Breadcrumb/Breadcrumb.types.js → index.d.es.js} +0 -0
@@ -1,947 +0,0 @@
1
- import { jsxs as C, jsx as f } from "react/jsx-runtime";
2
- import * as x from "react";
3
- import m, { PureComponent as Ce, useState as De } from "react";
4
- import "../../Avatar/styles.js";
5
- import "../../Badge/styles.js";
6
- import "../../../providers/BreakpointThemeProvider.js";
7
- import { u as Pe, a as I } from "../../../Typography-B2J8CPnt.js";
8
- import { BREAKPOINTS as Ne } from "../../../constants/index.js";
9
- import "../../Breadcrumb/styles.js";
10
- import "../../Button/styles.js";
11
- import H from "../../Card/Card.js";
12
- import "../../Checkbox/styles.js";
13
- import "../../DateRangePicker/DateRangePicker.js";
14
- import "../../ErrorBoundaryFallback/styles.js";
15
- import "../../../styles-XuoEGUZZ.js";
16
- import "../../Layout/Content/styles.js";
17
- import "../../Message/styles.js";
18
- import "../../Notification/NotificationBadge/styles.js";
19
- import "../../Notification/styles.js";
20
- import "../../../styles-DNay6iFa.js";
21
- import "../../Progress/styles.js";
22
- import je from "../../Radio/RadioGroup.js";
23
- import "../../Row/styles.js";
24
- import "../../../styles/global-styles.js";
25
- import "../../Row/RowLabelValue/styles.js";
26
- import "../../Row/RowActions/styles.js";
27
- import "../../SegmentedControls/styles.js";
28
- import "../../Select/styles.js";
29
- import "../../Switch/styles.js";
30
- import { S as ie, F as Te } from "../../../styles-Wpm1RiGr.js";
31
- import "../../Tabs/styles.js";
32
- import "../../Tile/styles.js";
33
- import "../../Toast/styles.js";
34
- import "../../Tooltip/styles.js";
35
- import { deliveryData as J, columns as ke } from "../__mocks__/dashboard-data.js";
36
- import { L as _e } from "../../../index-B7FXyiY_.js";
37
- import { R as Ie, C as Q } from "../../../index-CupwdUIJ.js";
38
- import { a as Le } from "../../../useBreakpoint-ByLol0R9.js";
39
- import { c as Re } from "../../../reactNode-sKPeiqPL.js";
40
- import { e as ve, c as $e } from "../../../presets-CSXMiWyc.js";
41
- import { p as Ve } from "../../../pickAttrs-yFE4_vFd.js";
42
- import { g as Me, m as Be, j as ze, l as Fe } from "../../../CSSMotionList-DB0khM6h.js";
43
- import { S as Ke } from "../../../Skeleton-CudViN0a.js";
44
- import { I as he } from "../../../AntdIcon-DP6hPDqu.js";
45
- import { a as M, L as K, p as X, q as z, C as Z, A as We, b as B, e as oe, r as Ge, d as se, c as ye, h as He, g as Xe, u as Ue, i as ee, G as Ye, j as le, k as ce, D as qe, l as ge, B as te, X as U, Y, m as be, n as ue, T as pe, o as de } from "../../../generateCategoricalChart-CqByWmje.js";
46
- var Je = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, name: "arrow-down", theme: "outlined" }, Qe = function(r, n) {
47
- return /* @__PURE__ */ x.createElement(he, ve({}, r, {
48
- ref: n,
49
- icon: Je
50
- }));
51
- }, xe = /* @__PURE__ */ x.forwardRef(Qe);
52
- process.env.NODE_ENV !== "production" && (xe.displayName = "ArrowDownOutlined");
53
- var Ze = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" } }] }, name: "arrow-up", theme: "outlined" }, et = function(r, n) {
54
- return /* @__PURE__ */ x.createElement(he, ve({}, r, {
55
- ref: n,
56
- icon: Ze
57
- }));
58
- }, Ae = /* @__PURE__ */ x.forwardRef(et);
59
- process.env.NODE_ENV !== "production" && (Ae.displayName = "ArrowUpOutlined");
60
- const tt = (e) => {
61
- const {
62
- value: r,
63
- formatter: n,
64
- precision: t,
65
- decimalSeparator: a,
66
- groupSeparator: o = "",
67
- prefixCls: s
68
- } = e;
69
- let i;
70
- if (typeof n == "function")
71
- i = n(r);
72
- else {
73
- const l = String(r), u = l.match(/^(-?)(\d*)(\.(\d+))?$/);
74
- if (!u || l === "-")
75
- i = l;
76
- else {
77
- const c = u[1];
78
- let p = u[2] || "0", d = u[4] || "";
79
- p = p.replace(/\B(?=(\d{3})+(?!\d))/g, o), typeof t == "number" && (d = d.padEnd(t, "0").slice(0, t > 0 ? t : 0)), d && (d = `${a}${d}`), i = [/* @__PURE__ */ x.createElement("span", {
80
- key: "int",
81
- className: `${s}-content-value-int`
82
- }, c, p), d && /* @__PURE__ */ x.createElement("span", {
83
- key: "decimal",
84
- className: `${s}-content-value-decimal`
85
- }, d)];
86
- }
87
- }
88
- return /* @__PURE__ */ x.createElement("span", {
89
- className: `${s}-content-value`
90
- }, i);
91
- }, rt = (e) => {
92
- const {
93
- componentCls: r,
94
- marginXXS: n,
95
- padding: t,
96
- colorTextDescription: a,
97
- titleFontSize: o,
98
- colorTextHeading: s,
99
- contentFontSize: i,
100
- fontFamily: l
101
- } = e;
102
- return {
103
- [r]: Object.assign(Object.assign({}, ze(e)), {
104
- [`${r}-title`]: {
105
- marginBottom: n,
106
- color: a,
107
- fontSize: o
108
- },
109
- [`${r}-skeleton`]: {
110
- paddingTop: t
111
- },
112
- [`${r}-content`]: {
113
- color: s,
114
- fontSize: i,
115
- fontFamily: l,
116
- [`${r}-content-value`]: {
117
- display: "inline-block",
118
- direction: "ltr"
119
- },
120
- [`${r}-content-prefix, ${r}-content-suffix`]: {
121
- display: "inline-block"
122
- },
123
- [`${r}-content-prefix`]: {
124
- marginInlineEnd: n
125
- },
126
- [`${r}-content-suffix`]: {
127
- marginInlineStart: n
128
- }
129
- }
130
- })
131
- };
132
- }, nt = (e) => {
133
- const {
134
- fontSizeHeading3: r,
135
- fontSize: n
136
- } = e;
137
- return {
138
- titleFontSize: n,
139
- contentFontSize: r
140
- };
141
- }, at = Me("Statistic", (e) => {
142
- const r = Be(e, {});
143
- return [rt(r)];
144
- }, nt);
145
- var it = function(e, r) {
146
- var n = {};
147
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && r.indexOf(t) < 0 && (n[t] = e[t]);
148
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, t = Object.getOwnPropertySymbols(e); a < t.length; a++)
149
- r.indexOf(t[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[a]) && (n[t[a]] = e[t[a]]);
150
- return n;
151
- };
152
- const W = (e) => {
153
- const {
154
- prefixCls: r,
155
- className: n,
156
- rootClassName: t,
157
- style: a,
158
- valueStyle: o,
159
- value: s = 0,
160
- title: i,
161
- valueRender: l,
162
- prefix: u,
163
- suffix: c,
164
- loading: p = !1,
165
- /* --- FormatConfig starts --- */
166
- formatter: d,
167
- precision: y,
168
- decimalSeparator: A = ".",
169
- groupSeparator: w = ",",
170
- /* --- FormatConfig starts --- */
171
- onMouseEnter: b,
172
- onMouseLeave: D
173
- } = e, E = it(e, ["prefixCls", "className", "rootClassName", "style", "valueStyle", "value", "title", "valueRender", "prefix", "suffix", "loading", "formatter", "precision", "decimalSeparator", "groupSeparator", "onMouseEnter", "onMouseLeave"]), {
174
- getPrefixCls: N,
175
- direction: v,
176
- className: h,
177
- style: O
178
- } = Fe("statistic"), g = N("statistic", r), [S, _, T] = at(g), P = /* @__PURE__ */ x.createElement(tt, {
179
- decimalSeparator: A,
180
- groupSeparator: w,
181
- prefixCls: g,
182
- formatter: d,
183
- precision: y,
184
- value: s
185
- }), R = $e(g, {
186
- [`${g}-rtl`]: v === "rtl"
187
- }, h, n, t, _, T), $ = Ve(E, {
188
- aria: !0,
189
- data: !0
190
- });
191
- return S(/* @__PURE__ */ x.createElement("div", Object.assign({}, $, {
192
- className: R,
193
- style: Object.assign(Object.assign({}, O), a),
194
- onMouseEnter: b,
195
- onMouseLeave: D
196
- }), i && /* @__PURE__ */ x.createElement("div", {
197
- className: `${g}-title`
198
- }, i), /* @__PURE__ */ x.createElement(Ke, {
199
- paragraph: !1,
200
- loading: p,
201
- className: `${g}-skeleton`
202
- }, /* @__PURE__ */ x.createElement("div", {
203
- style: o,
204
- className: `${g}-content`
205
- }, u && /* @__PURE__ */ x.createElement("span", {
206
- className: `${g}-content-prefix`
207
- }, u), l ? l(P) : P, c && /* @__PURE__ */ x.createElement("span", {
208
- className: `${g}-content-suffix`
209
- }, c)))));
210
- };
211
- process.env.NODE_ENV !== "production" && (W.displayName = "Statistic");
212
- const ot = [
213
- ["Y", 1e3 * 60 * 60 * 24 * 365],
214
- // years
215
- ["M", 1e3 * 60 * 60 * 24 * 30],
216
- // months
217
- ["D", 1e3 * 60 * 60 * 24],
218
- // days
219
- ["H", 1e3 * 60 * 60],
220
- // hours
221
- ["m", 1e3 * 60],
222
- // minutes
223
- ["s", 1e3],
224
- // seconds
225
- ["S", 1]
226
- // million seconds
227
- ];
228
- function st(e, r) {
229
- let n = e;
230
- const t = /\[[^\]]*]/g, a = (r.match(t) || []).map((l) => l.slice(1, -1)), o = r.replace(t, "[]"), s = ot.reduce((l, u) => {
231
- let [c, p] = u;
232
- if (l.includes(c)) {
233
- const d = Math.floor(n / p);
234
- return n -= d * p, l.replace(new RegExp(`${c}+`, "g"), (y) => {
235
- const A = y.length;
236
- return d.toString().padStart(A, "0");
237
- });
238
- }
239
- return l;
240
- }, o);
241
- let i = 0;
242
- return s.replace(t, () => {
243
- const l = a[i];
244
- return i += 1, l;
245
- });
246
- }
247
- function lt(e, r) {
248
- const {
249
- format: n = ""
250
- } = r, t = new Date(e).getTime(), a = Date.now(), o = Math.max(t - a, 0);
251
- return st(o, n);
252
- }
253
- var ct = function(e, r) {
254
- var n = {};
255
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && r.indexOf(t) < 0 && (n[t] = e[t]);
256
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, t = Object.getOwnPropertySymbols(e); a < t.length; a++)
257
- r.indexOf(t[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[a]) && (n[t[a]] = e[t[a]]);
258
- return n;
259
- };
260
- const ut = 1e3 / 30;
261
- function pt(e) {
262
- return new Date(e).getTime();
263
- }
264
- const dt = (e) => {
265
- const {
266
- value: r,
267
- format: n = "HH:mm:ss",
268
- onChange: t,
269
- onFinish: a
270
- } = e, o = ct(e, ["value", "format", "onChange", "onFinish"]), s = Le(), i = x.useRef(null), l = () => {
271
- a == null || a(), i.current && (clearInterval(i.current), i.current = null);
272
- }, u = () => {
273
- const d = pt(r);
274
- d >= Date.now() && (i.current = setInterval(() => {
275
- s(), t == null || t(d - Date.now()), d < Date.now() && l();
276
- }, ut));
277
- };
278
- x.useEffect(() => (u(), () => {
279
- i.current && (clearInterval(i.current), i.current = null);
280
- }), [r]);
281
- const c = (d, y) => lt(d, Object.assign(Object.assign({}, y), {
282
- format: n
283
- })), p = (d) => Re(d, {
284
- title: void 0
285
- });
286
- return /* @__PURE__ */ x.createElement(W, Object.assign({}, o, {
287
- value: r,
288
- valueRender: p,
289
- formatter: c
290
- }));
291
- }, ft = /* @__PURE__ */ x.memo(dt);
292
- W.Countdown = ft;
293
- var mt = ["layout", "type", "stroke", "connectNulls", "isRange", "ref"], vt = ["key"], Ee;
294
- function F(e) {
295
- "@babel/helpers - typeof";
296
- return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
297
- return typeof r;
298
- } : function(r) {
299
- return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
300
- }, F(e);
301
- }
302
- function Oe(e, r) {
303
- if (e == null) return {};
304
- var n = ht(e, r), t, a;
305
- if (Object.getOwnPropertySymbols) {
306
- var o = Object.getOwnPropertySymbols(e);
307
- for (a = 0; a < o.length; a++)
308
- t = o[a], !(r.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
309
- }
310
- return n;
311
- }
312
- function ht(e, r) {
313
- if (e == null) return {};
314
- var n = {};
315
- for (var t in e)
316
- if (Object.prototype.hasOwnProperty.call(e, t)) {
317
- if (r.indexOf(t) >= 0) continue;
318
- n[t] = e[t];
319
- }
320
- return n;
321
- }
322
- function V() {
323
- return V = Object.assign ? Object.assign.bind() : function(e) {
324
- for (var r = 1; r < arguments.length; r++) {
325
- var n = arguments[r];
326
- for (var t in n)
327
- Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
328
- }
329
- return e;
330
- }, V.apply(this, arguments);
331
- }
332
- function fe(e, r) {
333
- var n = Object.keys(e);
334
- if (Object.getOwnPropertySymbols) {
335
- var t = Object.getOwnPropertySymbols(e);
336
- r && (t = t.filter(function(a) {
337
- return Object.getOwnPropertyDescriptor(e, a).enumerable;
338
- })), n.push.apply(n, t);
339
- }
340
- return n;
341
- }
342
- function L(e) {
343
- for (var r = 1; r < arguments.length; r++) {
344
- var n = arguments[r] != null ? arguments[r] : {};
345
- r % 2 ? fe(Object(n), !0).forEach(function(t) {
346
- j(e, t, n[t]);
347
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fe(Object(n)).forEach(function(t) {
348
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
349
- });
350
- }
351
- return e;
352
- }
353
- function yt(e, r) {
354
- if (!(e instanceof r))
355
- throw new TypeError("Cannot call a class as a function");
356
- }
357
- function me(e, r) {
358
- for (var n = 0; n < r.length; n++) {
359
- var t = r[n];
360
- t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(e, Se(t.key), t);
361
- }
362
- }
363
- function gt(e, r, n) {
364
- return r && me(e.prototype, r), n && me(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
365
- }
366
- function bt(e, r, n) {
367
- return r = q(r), xt(e, we() ? Reflect.construct(r, n || [], q(e).constructor) : r.apply(e, n));
368
- }
369
- function xt(e, r) {
370
- if (r && (F(r) === "object" || typeof r == "function"))
371
- return r;
372
- if (r !== void 0)
373
- throw new TypeError("Derived constructors may only return object or undefined");
374
- return At(e);
375
- }
376
- function At(e) {
377
- if (e === void 0)
378
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
379
- return e;
380
- }
381
- function we() {
382
- try {
383
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
384
- }));
385
- } catch {
386
- }
387
- return (we = function() {
388
- return !!e;
389
- })();
390
- }
391
- function q(e) {
392
- return q = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
393
- return n.__proto__ || Object.getPrototypeOf(n);
394
- }, q(e);
395
- }
396
- function Et(e, r) {
397
- if (typeof r != "function" && r !== null)
398
- throw new TypeError("Super expression must either be null or a function");
399
- e.prototype = Object.create(r && r.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), r && re(e, r);
400
- }
401
- function re(e, r) {
402
- return re = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, a) {
403
- return t.__proto__ = a, t;
404
- }, re(e, r);
405
- }
406
- function j(e, r, n) {
407
- return r = Se(r), r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
408
- }
409
- function Se(e) {
410
- var r = Ot(e, "string");
411
- return F(r) == "symbol" ? r : r + "";
412
- }
413
- function Ot(e, r) {
414
- if (F(e) != "object" || !e) return e;
415
- var n = e[Symbol.toPrimitive];
416
- if (n !== void 0) {
417
- var t = n.call(e, r);
418
- if (F(t) != "object") return t;
419
- throw new TypeError("@@toPrimitive must return a primitive value.");
420
- }
421
- return String(e);
422
- }
423
- var k = /* @__PURE__ */ function(e) {
424
- function r() {
425
- var n;
426
- yt(this, r);
427
- for (var t = arguments.length, a = new Array(t), o = 0; o < t; o++)
428
- a[o] = arguments[o];
429
- return n = bt(this, r, [].concat(a)), j(n, "state", {
430
- isAnimationFinished: !0
431
- }), j(n, "id", Ue("recharts-area-")), j(n, "handleAnimationEnd", function() {
432
- var s = n.props.onAnimationEnd;
433
- n.setState({
434
- isAnimationFinished: !0
435
- }), ee(s) && s();
436
- }), j(n, "handleAnimationStart", function() {
437
- var s = n.props.onAnimationStart;
438
- n.setState({
439
- isAnimationFinished: !1
440
- }), ee(s) && s();
441
- }), n;
442
- }
443
- return Et(r, e), gt(r, [{
444
- key: "renderDots",
445
- value: function(t, a, o) {
446
- var s = this.props.isAnimationActive, i = this.state.isAnimationFinished;
447
- if (s && !i)
448
- return null;
449
- var l = this.props, u = l.dot, c = l.points, p = l.dataKey, d = M(this.props, !1), y = M(u, !0), A = c.map(function(b, D) {
450
- var E = L(L(L({
451
- key: "dot-".concat(D),
452
- r: 3
453
- }, d), y), {}, {
454
- index: D,
455
- cx: b.x,
456
- cy: b.y,
457
- dataKey: p,
458
- value: b.value,
459
- payload: b.payload,
460
- points: c
461
- });
462
- return r.renderDotItem(u, E);
463
- }), w = {
464
- clipPath: t ? "url(#clipPath-".concat(a ? "" : "dots-").concat(o, ")") : null
465
- };
466
- return /* @__PURE__ */ m.createElement(K, V({
467
- className: "recharts-area-dots"
468
- }, w), A);
469
- }
470
- }, {
471
- key: "renderHorizontalRect",
472
- value: function(t) {
473
- var a = this.props, o = a.baseLine, s = a.points, i = a.strokeWidth, l = s[0].x, u = s[s.length - 1].x, c = t * Math.abs(l - u), p = X(s.map(function(d) {
474
- return d.y || 0;
475
- }));
476
- return z(o) && typeof o == "number" ? p = Math.max(o, p) : o && Array.isArray(o) && o.length && (p = Math.max(X(o.map(function(d) {
477
- return d.y || 0;
478
- })), p)), z(p) ? /* @__PURE__ */ m.createElement("rect", {
479
- x: l < u ? l : l - c,
480
- y: 0,
481
- width: c,
482
- height: Math.floor(p + (i ? parseInt("".concat(i), 10) : 1))
483
- }) : null;
484
- }
485
- }, {
486
- key: "renderVerticalRect",
487
- value: function(t) {
488
- var a = this.props, o = a.baseLine, s = a.points, i = a.strokeWidth, l = s[0].y, u = s[s.length - 1].y, c = t * Math.abs(l - u), p = X(s.map(function(d) {
489
- return d.x || 0;
490
- }));
491
- return z(o) && typeof o == "number" ? p = Math.max(o, p) : o && Array.isArray(o) && o.length && (p = Math.max(X(o.map(function(d) {
492
- return d.x || 0;
493
- })), p)), z(p) ? /* @__PURE__ */ m.createElement("rect", {
494
- x: 0,
495
- y: l < u ? l : l - c,
496
- width: p + (i ? parseInt("".concat(i), 10) : 1),
497
- height: Math.floor(c)
498
- }) : null;
499
- }
500
- }, {
501
- key: "renderClipRect",
502
- value: function(t) {
503
- var a = this.props.layout;
504
- return a === "vertical" ? this.renderVerticalRect(t) : this.renderHorizontalRect(t);
505
- }
506
- }, {
507
- key: "renderAreaStatically",
508
- value: function(t, a, o, s) {
509
- var i = this.props, l = i.layout, u = i.type, c = i.stroke, p = i.connectNulls, d = i.isRange;
510
- i.ref;
511
- var y = Oe(i, mt);
512
- return /* @__PURE__ */ m.createElement(K, {
513
- clipPath: o ? "url(#clipPath-".concat(s, ")") : null
514
- }, /* @__PURE__ */ m.createElement(Z, V({}, M(y, !0), {
515
- points: t,
516
- connectNulls: p,
517
- type: u,
518
- baseLine: a,
519
- layout: l,
520
- stroke: "none",
521
- className: "recharts-area-area"
522
- })), c !== "none" && /* @__PURE__ */ m.createElement(Z, V({}, M(this.props, !1), {
523
- className: "recharts-area-curve",
524
- layout: l,
525
- type: u,
526
- connectNulls: p,
527
- fill: "none",
528
- points: t
529
- })), c !== "none" && d && /* @__PURE__ */ m.createElement(Z, V({}, M(this.props, !1), {
530
- className: "recharts-area-curve",
531
- layout: l,
532
- type: u,
533
- connectNulls: p,
534
- fill: "none",
535
- points: a
536
- })));
537
- }
538
- }, {
539
- key: "renderAreaWithAnimation",
540
- value: function(t, a) {
541
- var o = this, s = this.props, i = s.points, l = s.baseLine, u = s.isAnimationActive, c = s.animationBegin, p = s.animationDuration, d = s.animationEasing, y = s.animationId, A = this.state, w = A.prevPoints, b = A.prevBaseLine;
542
- return /* @__PURE__ */ m.createElement(We, {
543
- begin: c,
544
- duration: p,
545
- isActive: u,
546
- easing: d,
547
- from: {
548
- t: 0
549
- },
550
- to: {
551
- t: 1
552
- },
553
- key: "area-".concat(y),
554
- onAnimationEnd: this.handleAnimationEnd,
555
- onAnimationStart: this.handleAnimationStart
556
- }, function(D) {
557
- var E = D.t;
558
- if (w) {
559
- var N = w.length / i.length, v = i.map(function(S, _) {
560
- var T = Math.floor(_ * N);
561
- if (w[T]) {
562
- var P = w[T], R = B(P.x, S.x), $ = B(P.y, S.y);
563
- return L(L({}, S), {}, {
564
- x: R(E),
565
- y: $(E)
566
- });
567
- }
568
- return S;
569
- }), h;
570
- if (z(l) && typeof l == "number") {
571
- var O = B(b, l);
572
- h = O(E);
573
- } else if (oe(l) || Ge(l)) {
574
- var g = B(b, 0);
575
- h = g(E);
576
- } else
577
- h = l.map(function(S, _) {
578
- var T = Math.floor(_ * N);
579
- if (b[T]) {
580
- var P = b[T], R = B(P.x, S.x), $ = B(P.y, S.y);
581
- return L(L({}, S), {}, {
582
- x: R(E),
583
- y: $(E)
584
- });
585
- }
586
- return S;
587
- });
588
- return o.renderAreaStatically(v, h, t, a);
589
- }
590
- return /* @__PURE__ */ m.createElement(K, null, /* @__PURE__ */ m.createElement("defs", null, /* @__PURE__ */ m.createElement("clipPath", {
591
- id: "animationClipPath-".concat(a)
592
- }, o.renderClipRect(E))), /* @__PURE__ */ m.createElement(K, {
593
- clipPath: "url(#animationClipPath-".concat(a, ")")
594
- }, o.renderAreaStatically(i, l, t, a)));
595
- });
596
- }
597
- }, {
598
- key: "renderArea",
599
- value: function(t, a) {
600
- var o = this.props, s = o.points, i = o.baseLine, l = o.isAnimationActive, u = this.state, c = u.prevPoints, p = u.prevBaseLine, d = u.totalLength;
601
- return l && s && s.length && (!c && d > 0 || !se(c, s) || !se(p, i)) ? this.renderAreaWithAnimation(t, a) : this.renderAreaStatically(s, i, t, a);
602
- }
603
- }, {
604
- key: "render",
605
- value: function() {
606
- var t, a = this.props, o = a.hide, s = a.dot, i = a.points, l = a.className, u = a.top, c = a.left, p = a.xAxis, d = a.yAxis, y = a.width, A = a.height, w = a.isAnimationActive, b = a.id;
607
- if (o || !i || !i.length)
608
- return null;
609
- var D = this.state.isAnimationFinished, E = i.length === 1, N = ye("recharts-area", l), v = p && p.allowDataOverflow, h = d && d.allowDataOverflow, O = v || h, g = oe(b) ? this.id : b, S = (t = M(s, !1)) !== null && t !== void 0 ? t : {
610
- r: 3,
611
- strokeWidth: 2
612
- }, _ = S.r, T = _ === void 0 ? 3 : _, P = S.strokeWidth, R = P === void 0 ? 2 : P, $ = He(s) ? s : {}, ne = $.clipDot, ae = ne === void 0 ? !0 : ne, G = T * 2 + R;
613
- return /* @__PURE__ */ m.createElement(K, {
614
- className: N
615
- }, v || h ? /* @__PURE__ */ m.createElement("defs", null, /* @__PURE__ */ m.createElement("clipPath", {
616
- id: "clipPath-".concat(g)
617
- }, /* @__PURE__ */ m.createElement("rect", {
618
- x: v ? c : c - y / 2,
619
- y: h ? u : u - A / 2,
620
- width: v ? y : y * 2,
621
- height: h ? A : A * 2
622
- })), !ae && /* @__PURE__ */ m.createElement("clipPath", {
623
- id: "clipPath-dots-".concat(g)
624
- }, /* @__PURE__ */ m.createElement("rect", {
625
- x: c - G / 2,
626
- y: u - G / 2,
627
- width: y + G,
628
- height: A + G
629
- }))) : null, E ? null : this.renderArea(O, g), (s || E) && this.renderDots(O, ae, g), (!w || D) && Xe.renderCallByParent(this.props, i));
630
- }
631
- }], [{
632
- key: "getDerivedStateFromProps",
633
- value: function(t, a) {
634
- return t.animationId !== a.prevAnimationId ? {
635
- prevAnimationId: t.animationId,
636
- curPoints: t.points,
637
- curBaseLine: t.baseLine,
638
- prevPoints: a.curPoints,
639
- prevBaseLine: a.curBaseLine
640
- } : t.points !== a.curPoints || t.baseLine !== a.curBaseLine ? {
641
- curPoints: t.points,
642
- curBaseLine: t.baseLine
643
- } : null;
644
- }
645
- }]);
646
- }(Ce);
647
- Ee = k;
648
- j(k, "displayName", "Area");
649
- j(k, "defaultProps", {
650
- stroke: "#3182bd",
651
- fill: "#3182bd",
652
- fillOpacity: 0.6,
653
- xAxisId: 0,
654
- yAxisId: 0,
655
- legendType: "line",
656
- connectNulls: !1,
657
- // points of area
658
- points: [],
659
- dot: !1,
660
- activeDot: !0,
661
- hide: !1,
662
- isAnimationActive: !Ye.isSsr,
663
- animationBegin: 0,
664
- animationDuration: 1500,
665
- animationEasing: "ease"
666
- });
667
- j(k, "getBaseValue", function(e, r, n, t) {
668
- var a = e.layout, o = e.baseValue, s = r.props.baseValue, i = s ?? o;
669
- if (z(i) && typeof i == "number")
670
- return i;
671
- var l = a === "horizontal" ? t : n, u = l.scale.domain();
672
- if (l.type === "number") {
673
- var c = Math.max(u[0], u[1]), p = Math.min(u[0], u[1]);
674
- return i === "dataMin" ? p : i === "dataMax" || c < 0 ? c : Math.max(Math.min(u[0], u[1]), 0);
675
- }
676
- return i === "dataMin" ? u[0] : i === "dataMax" ? u[1] : u[0];
677
- });
678
- j(k, "getComposedData", function(e) {
679
- var r = e.props, n = e.item, t = e.xAxis, a = e.yAxis, o = e.xAxisTicks, s = e.yAxisTicks, i = e.bandSize, l = e.dataKey, u = e.stackedData, c = e.dataStartIndex, p = e.displayedData, d = e.offset, y = r.layout, A = u && u.length, w = Ee.getBaseValue(r, n, t, a), b = y === "horizontal", D = !1, E = p.map(function(v, h) {
680
- var O;
681
- A ? O = u[c + h] : (O = le(v, l), Array.isArray(O) ? D = !0 : O = [w, O]);
682
- var g = O[1] == null || A && le(v, l) == null;
683
- return b ? {
684
- x: ce({
685
- axis: t,
686
- ticks: o,
687
- bandSize: i,
688
- entry: v,
689
- index: h
690
- }),
691
- y: g ? null : a.scale(O[1]),
692
- value: O,
693
- payload: v
694
- } : {
695
- x: g ? null : t.scale(O[1]),
696
- y: ce({
697
- axis: a,
698
- ticks: s,
699
- bandSize: i,
700
- entry: v,
701
- index: h
702
- }),
703
- value: O,
704
- payload: v
705
- };
706
- }), N;
707
- return A || D ? N = E.map(function(v) {
708
- var h = Array.isArray(v.value) ? v.value[0] : null;
709
- return b ? {
710
- x: v.x,
711
- y: h != null && v.y != null ? a.scale(h) : null
712
- } : {
713
- x: h != null ? t.scale(h) : null,
714
- y: v.y
715
- };
716
- }) : N = b ? a.scale(w) : t.scale(w), L({
717
- points: E,
718
- baseLine: N,
719
- layout: y,
720
- isRange: D
721
- }, d);
722
- });
723
- j(k, "renderDotItem", function(e, r) {
724
- var n;
725
- if (/* @__PURE__ */ m.isValidElement(e))
726
- n = /* @__PURE__ */ m.cloneElement(e, r);
727
- else if (ee(e))
728
- n = e(r);
729
- else {
730
- var t = ye("recharts-area-dot", typeof e != "boolean" ? e.className : ""), a = r.key, o = Oe(r, vt);
731
- n = /* @__PURE__ */ m.createElement(qe, V({}, o, {
732
- key: a,
733
- className: t
734
- }));
735
- }
736
- return n;
737
- });
738
- var wt = ge({
739
- chartName: "BarChart",
740
- GraphicalChild: te,
741
- defaultTooltipEventType: "axis",
742
- validateTooltipEventTypes: ["axis", "item"],
743
- axisComponents: [{
744
- axisType: "xAxis",
745
- AxisComp: U
746
- }, {
747
- axisType: "yAxis",
748
- AxisComp: Y
749
- }],
750
- formatAxisMap: be
751
- }), St = ge({
752
- chartName: "AreaChart",
753
- GraphicalChild: k,
754
- axisComponents: [{
755
- axisType: "xAxis",
756
- AxisComp: U
757
- }, {
758
- axisType: "yAxis",
759
- AxisComp: Y
760
- }],
761
- formatAxisMap: be
762
- });
763
- const { Content: Ct } = _e, yr = () => {
764
- const [e, r] = m.useState("line"), { breakpoint: n } = Pe(), t = n === Ne.narrow, [a, o] = De("1"), s = (c) => {
765
- o(c.id), r(c.id === "1" ? "line" : "bar");
766
- }, i = {
767
- totalDeliveries: 107,
768
- evDeliveries: 89,
769
- iceDeliveries: 68
770
- };
771
- return /* @__PURE__ */ C(Ct, { style: { margin: "24px 16px", padding: 24, background: "#fff" }, children: [
772
- /* @__PURE__ */ C(
773
- ie,
774
- {
775
- direction: t ? "vertical" : "horizontal",
776
- size: "large",
777
- style: t ? {
778
- display: "flex",
779
- flexDirection: "column",
780
- gap: 8,
781
- marginBottom: 26,
782
- justifyContent: "flex-start",
783
- width: "100%"
784
- } : {
785
- marginBottom: 26,
786
- justifyContent: "space-between",
787
- width: "100%"
788
- },
789
- children: [
790
- /* @__PURE__ */ C(
791
- Ie,
792
- {
793
- style: {
794
- width: "100%"
795
- },
796
- children: [
797
- /* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */ C(H, { children: [
798
- /* @__PURE__ */ f(
799
- I,
800
- {
801
- variant: "heading3",
802
- level: 4,
803
- style: {
804
- whiteSpace: "nowrap"
805
- },
806
- children: "Total Deliveries"
807
- }
808
- ),
809
- /* @__PURE__ */ f(I, { variant: "digits2", level: 2, children: i.totalDeliveries })
810
- ] }) }),
811
- /* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */ C(H, { children: [
812
- /* @__PURE__ */ f(I, { variant: "heading3", level: 4, children: "EV Deliveries" }),
813
- /* @__PURE__ */ f(I, { variant: "digits2", level: 2, children: i.evDeliveries })
814
- ] }) }),
815
- /* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */ C(H, { children: [
816
- /* @__PURE__ */ f(I, { variant: "heading3", level: 4, children: "ICE Deliveries" }),
817
- /* @__PURE__ */ f(I, { variant: "digits2", level: 2, children: i.iceDeliveries })
818
- ] }) })
819
- ]
820
- }
821
- ),
822
- /* @__PURE__ */ f(
823
- W,
824
- {
825
- title: "EV (Goal Increase 10%)",
826
- value: 52.28,
827
- precision: 2,
828
- valueStyle: { color: "#3f8600" },
829
- prefix: /* @__PURE__ */ f(Ae, {}),
830
- suffix: "%"
831
- }
832
- ),
833
- /* @__PURE__ */ f(
834
- W,
835
- {
836
- title: "ICE (Goal Reduce 10%)",
837
- value: 25.28,
838
- precision: 2,
839
- valueStyle: { color: "#3f8600" },
840
- prefix: /* @__PURE__ */ f(xe, {}),
841
- suffix: "%"
842
- }
843
- )
844
- ]
845
- }
846
- ),
847
- /* @__PURE__ */ f(
848
- Te,
849
- {
850
- columns: ke,
851
- dataSource: J,
852
- rowKey: "id",
853
- pagination: { pageSize: 5 },
854
- scroll: { x: "max-content" }
855
- }
856
- ),
857
- /* @__PURE__ */ C(H, { style: { marginTop: 24 }, children: [
858
- /* @__PURE__ */ f("div", { style: { marginBottom: 24 }, children: /* @__PURE__ */ f(I, { variant: "heading3", level: 4, children: "Delivery Trends" }) }),
859
- e === "line" ? /* @__PURE__ */ C(
860
- St,
861
- {
862
- width: t ? window.innerWidth - 50 : 800,
863
- height: 300,
864
- data: J.map((c) => ({
865
- deliveryTime: c.deliveryTime,
866
- EV: c.vehicleType === "EV" ? c.parcelsDelivered : 0,
867
- ICE: c.vehicleType === "ICE" ? c.parcelsDelivered : 0
868
- })),
869
- children: [
870
- /* @__PURE__ */ f(ue, { strokeDasharray: "3 3" }),
871
- /* @__PURE__ */ f(U, { dataKey: "deliveryTime" }),
872
- /* @__PURE__ */ f(Y, {}),
873
- /* @__PURE__ */ f(pe, {}),
874
- /* @__PURE__ */ f(de, {}),
875
- /* @__PURE__ */ C("defs", { children: [
876
- /* @__PURE__ */ C("linearGradient", { id: "colorEV", x1: "0", y1: "0", x2: "0", y2: "1", children: [
877
- /* @__PURE__ */ f("stop", { offset: "5%", stopColor: "#8884d8", stopOpacity: 0.8 }),
878
- /* @__PURE__ */ f("stop", { offset: "95%", stopColor: "#8884d8", stopOpacity: 0.1 })
879
- ] }),
880
- /* @__PURE__ */ C("linearGradient", { id: "colorICE", x1: "0", y1: "0", x2: "0", y2: "1", children: [
881
- /* @__PURE__ */ f("stop", { offset: "5%", stopColor: "#82ca9d", stopOpacity: 0.8 }),
882
- /* @__PURE__ */ f("stop", { offset: "95%", stopColor: "#82ca9d", stopOpacity: 0.1 })
883
- ] })
884
- ] }),
885
- /* @__PURE__ */ f(
886
- k,
887
- {
888
- type: "monotone",
889
- dataKey: "EV",
890
- stroke: "#8884d8",
891
- fill: "url(#colorEV)",
892
- name: "EV Deliveries"
893
- }
894
- ),
895
- /* @__PURE__ */ f(
896
- k,
897
- {
898
- type: "monotone",
899
- dataKey: "ICE",
900
- stroke: "#82ca9d",
901
- fill: "url(#colorICE)",
902
- name: "ICE Deliveries"
903
- }
904
- )
905
- ]
906
- }
907
- ) : /* @__PURE__ */ C(
908
- wt,
909
- {
910
- width: t ? window.innerWidth - 50 : 800,
911
- height: 300,
912
- data: J.map((c) => ({
913
- deliveryTime: c.deliveryTime,
914
- EV: c.vehicleType === "EV" ? c.parcelsDelivered : 0,
915
- ICE: c.vehicleType === "ICE" ? c.parcelsDelivered : 0
916
- })),
917
- children: [
918
- /* @__PURE__ */ f(ue, { strokeDasharray: "3 3" }),
919
- /* @__PURE__ */ f(U, { dataKey: "deliveryTime" }),
920
- /* @__PURE__ */ f(Y, {}),
921
- /* @__PURE__ */ f(pe, {}),
922
- /* @__PURE__ */ f(de, {}),
923
- /* @__PURE__ */ f(te, { dataKey: "EV", fill: "#8884d8", name: "EV Deliveries" }),
924
- /* @__PURE__ */ f(te, { dataKey: "ICE", fill: "#82ca9d", name: "ICE Deliveries" })
925
- ]
926
- }
927
- ),
928
- /* @__PURE__ */ f("div", { style: { marginBottom: 16 }, children: /* @__PURE__ */ C(ie, { direction: "vertical", size: "small", children: [
929
- /* @__PURE__ */ f(I, { variant: "body2", children: "Chart Type:" }),
930
- /* @__PURE__ */ f(
931
- je,
932
- {
933
- selectedId: a,
934
- options: [
935
- { id: "1", label: "Line Chart" },
936
- { id: "2", label: "Bar Chart" }
937
- ],
938
- onChange: s
939
- }
940
- )
941
- ] }) })
942
- ] })
943
- ] });
944
- };
945
- export {
946
- yr as default
947
- };