@burdenoff/microfe-movethewheels 2026.704.1 → 2026.710.1

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 (692) hide show
  1. package/dist/MoveTheWheelsRoot.js +203 -0
  2. package/dist/MoveTheWheelsRoutes.js +197 -0
  3. package/dist/{chunk-BdsCSvBP.js → _virtual/_rolldown/runtime.js} +1 -1
  4. package/dist/{DataTable-CmdZd6iV.js → components/DataTable.js} +95 -122
  5. package/dist/components/DocumentsCard.js +89 -0
  6. package/dist/{FormError-D4T5FWZA.js → components/FormError.js} +2 -2
  7. package/dist/components/GlassPanel.js +40 -0
  8. package/dist/{MetricCard-CqU5WsyW.js → components/MetricCard.js} +3 -3
  9. package/dist/components/Notice.js +28 -0
  10. package/dist/components/PageLayout.js +157 -0
  11. package/dist/components/StatusBadge.js +105 -0
  12. package/dist/components/charts/ChartShell.js +45 -0
  13. package/dist/components/charts/Sparkline.js +95 -0
  14. package/dist/components/charts/StatusDonut.js +83 -0
  15. package/dist/components/charts/TrendChart.js +169 -0
  16. package/dist/components/charts/VolumeBar.js +99 -0
  17. package/dist/components/charts/chartTokens.js +30 -0
  18. package/dist/components/charts/index.js +6 -0
  19. package/dist/components/index.js +22 -0
  20. package/dist/components/maps/LogisticsMap.js +47 -0
  21. package/dist/components/maps/MapCanvas.js +80 -0
  22. package/dist/components/maps/RouteMap.js +41 -0
  23. package/dist/components/maps/TrackingMap.js +66 -0
  24. package/dist/components/maps/index.js +5 -0
  25. package/dist/components/maps/leaflet-setup.js +56 -0
  26. package/dist/components/ui.js +38 -0
  27. package/dist/constants/index.js +53 -0
  28. package/dist/dev/main.d.ts +1 -0
  29. package/dist/generated/global-operations.d.ts +1 -0
  30. package/dist/generated/global-types.d.ts +23526 -0
  31. package/dist/generated/wspace-operations.d.ts +3704 -0
  32. package/dist/generated/wspace-types.d.ts +57850 -0
  33. package/dist/hooks/index.js +12 -0
  34. package/dist/hooks/useAnalytics.js +352 -0
  35. package/dist/hooks/useAssistant.js +39 -0
  36. package/dist/{useCustomers-BQ4AIEAT.js → hooks/useCustomers.js} +27 -26
  37. package/dist/hooks/useEntityDocuments.js +73 -0
  38. package/dist/{useFleet-BfA_-VUW.js → hooks/useFleet.js} +70 -69
  39. package/dist/{useImportExport-7-O8noRJ.js → hooks/useImportExport.js} +10 -9
  40. package/dist/{useInventory-BO7TSgq_.js → hooks/useInventory.js} +59 -58
  41. package/dist/{useOrders-B5FV0kcz.js → hooks/useOrders.js} +46 -45
  42. package/dist/{useReports-hUXb8ryJ.js → hooks/useReports.js} +12 -11
  43. package/dist/{useRoutes-C_ZCYJ_h.js → hooks/useRoutes.js} +43 -42
  44. package/dist/hooks/useSettings.js +59 -0
  45. package/dist/{useTracking-7nd_XOSL.js → hooks/useTracking.js} +35 -34
  46. package/dist/index.d.ts +4 -0
  47. package/dist/index.js +39 -794
  48. package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
  49. package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
  50. package/dist/movethewheels/components/DataTable.d.ts +67 -0
  51. package/dist/movethewheels/components/DocumentsCard.d.ts +8 -0
  52. package/dist/movethewheels/components/FormError.d.ts +11 -0
  53. package/dist/movethewheels/components/GlassPanel.d.ts +25 -0
  54. package/dist/movethewheels/components/MetricCard.d.ts +68 -0
  55. package/dist/movethewheels/components/Notice.d.ts +24 -0
  56. package/dist/movethewheels/components/PageLayout.d.ts +86 -0
  57. package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
  58. package/dist/movethewheels/components/charts/ChartShell.d.ts +27 -0
  59. package/dist/movethewheels/components/charts/Sparkline.d.ts +22 -0
  60. package/dist/movethewheels/components/charts/StatusDonut.d.ts +23 -0
  61. package/dist/movethewheels/components/charts/TrendChart.d.ts +29 -0
  62. package/dist/movethewheels/components/charts/VolumeBar.d.ts +22 -0
  63. package/dist/movethewheels/components/charts/chartTokens.d.ts +29 -0
  64. package/dist/movethewheels/components/charts/index.d.ts +9 -0
  65. package/dist/movethewheels/components/index.d.ts +16 -0
  66. package/dist/movethewheels/components/maps/LogisticsMap.d.ts +30 -0
  67. package/dist/movethewheels/components/maps/MapCanvas.d.ts +32 -0
  68. package/dist/movethewheels/components/maps/RouteMap.d.ts +20 -0
  69. package/dist/movethewheels/components/maps/TrackingMap.d.ts +29 -0
  70. package/dist/movethewheels/components/maps/index.d.ts +10 -0
  71. package/dist/movethewheels/components/maps/leaflet-setup.d.ts +31 -0
  72. package/dist/movethewheels/components/ui.d.ts +22 -0
  73. package/dist/movethewheels/constants/index.d.ts +20 -0
  74. package/dist/movethewheels/hooks/index.d.ts +17 -0
  75. package/dist/movethewheels/hooks/useAnalytics.d.ts +136 -0
  76. package/dist/movethewheels/hooks/useAssistant.d.ts +17 -0
  77. package/dist/movethewheels/hooks/useCustomers.d.ts +39 -0
  78. package/dist/movethewheels/hooks/useEntityDocuments.d.ts +31 -0
  79. package/dist/movethewheels/hooks/useFleet.d.ts +100 -0
  80. package/dist/movethewheels/hooks/useImportExport.d.ts +13 -0
  81. package/dist/movethewheels/hooks/useInventory.d.ts +121 -0
  82. package/dist/movethewheels/hooks/useOrders.d.ts +53 -0
  83. package/dist/movethewheels/hooks/useReports.d.ts +39 -0
  84. package/dist/movethewheels/hooks/useRoutes.d.ts +46 -0
  85. package/dist/movethewheels/hooks/useSettings.d.ts +17 -0
  86. package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
  87. package/dist/movethewheels/index.d.ts +31 -0
  88. package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
  89. package/dist/movethewheels/pages/AnalyticsPage.d.ts +8 -0
  90. package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
  91. package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
  92. package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
  93. package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
  94. package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
  95. package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
  96. package/dist/movethewheels/pages/FinancePage.d.ts +10 -0
  97. package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
  98. package/dist/movethewheels/pages/ImportExportPage.d.ts +8 -0
  99. package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
  100. package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
  101. package/dist/movethewheels/pages/MarketplacePage.d.ts +9 -0
  102. package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
  103. package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
  104. package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
  105. package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
  106. package/dist/movethewheels/pages/ReportsPage.d.ts +8 -0
  107. package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
  108. package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
  109. package/dist/movethewheels/pages/SettingsPage.d.ts +8 -0
  110. package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
  111. package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
  112. package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
  113. package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
  114. package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
  115. package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
  116. package/dist/movethewheels/services/createSandboxAssistantTransport.d.ts +7 -0
  117. package/dist/movethewheels/store/movethewheelsStore.d.ts +73 -0
  118. package/dist/movethewheels/types/index.d.ts +667 -0
  119. package/dist/movethewheels/utils/cn.d.ts +6 -0
  120. package/dist/movethewheels/utils/download.d.ts +19 -0
  121. package/dist/movethewheels/utils/formatters.d.ts +60 -0
  122. package/dist/movethewheels/utils/graphqlClient.d.ts +11 -0
  123. package/dist/movethewheels/utils/index.d.ts +7 -0
  124. package/dist/movethewheels/utils/mapMarkers.d.ts +17 -0
  125. package/dist/movethewheels/utils/navigation.d.ts +23 -0
  126. package/dist/node_modules/@react-leaflet/core/lib/attribution.js +10 -0
  127. package/dist/node_modules/@react-leaflet/core/lib/component.js +37 -0
  128. package/dist/node_modules/@react-leaflet/core/lib/context.js +21 -0
  129. package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +13 -0
  130. package/dist/node_modules/@react-leaflet/core/lib/element.js +28 -0
  131. package/dist/node_modules/@react-leaflet/core/lib/events.js +12 -0
  132. package/dist/node_modules/@react-leaflet/core/lib/generic.js +20 -0
  133. package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +7 -0
  134. package/dist/node_modules/@react-leaflet/core/lib/layer.js +21 -0
  135. package/dist/node_modules/@react-leaflet/core/lib/pane.js +10 -0
  136. package/dist/node_modules/@react-leaflet/core/lib/path.js +23 -0
  137. package/dist/node_modules/clsx/dist/clsx.js +16 -0
  138. package/dist/node_modules/d3-array/src/ascending.js +6 -0
  139. package/dist/node_modules/d3-array/src/bisect.js +8 -0
  140. package/dist/node_modules/d3-array/src/bisector.js +41 -0
  141. package/dist/node_modules/d3-array/src/descending.js +6 -0
  142. package/dist/node_modules/d3-array/src/max.js +12 -0
  143. package/dist/node_modules/d3-array/src/min.js +12 -0
  144. package/dist/node_modules/d3-array/src/number.js +13 -0
  145. package/dist/node_modules/d3-array/src/quantile.js +23 -0
  146. package/dist/node_modules/d3-array/src/quickselect.js +24 -0
  147. package/dist/node_modules/d3-array/src/range.js +8 -0
  148. package/dist/node_modules/d3-array/src/sort.js +15 -0
  149. package/dist/node_modules/d3-array/src/ticks.js +32 -0
  150. package/dist/node_modules/d3-color/src/color.js +289 -0
  151. package/dist/node_modules/d3-color/src/define.js +11 -0
  152. package/dist/node_modules/d3-format/src/defaultLocale.js +13 -0
  153. package/dist/node_modules/d3-format/src/exponent.js +7 -0
  154. package/dist/node_modules/d3-format/src/formatDecimal.js +11 -0
  155. package/dist/node_modules/d3-format/src/formatGroup.js +9 -0
  156. package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
  157. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +11 -0
  158. package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
  159. package/dist/node_modules/d3-format/src/formatSpecifier.js +27 -0
  160. package/dist/node_modules/d3-format/src/formatTrim.js +18 -0
  161. package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
  162. package/dist/node_modules/d3-format/src/identity.js +6 -0
  163. package/dist/node_modules/d3-format/src/locale.js +84 -0
  164. package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
  165. package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
  166. package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
  167. package/dist/node_modules/d3-interpolate/src/array.js +13 -0
  168. package/dist/node_modules/d3-interpolate/src/basis.js +14 -0
  169. package/dist/node_modules/d3-interpolate/src/basisClosed.js +11 -0
  170. package/dist/node_modules/d3-interpolate/src/color.js +23 -0
  171. package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
  172. package/dist/node_modules/d3-interpolate/src/date.js +9 -0
  173. package/dist/node_modules/d3-interpolate/src/number.js +8 -0
  174. package/dist/node_modules/d3-interpolate/src/numberArray.js +14 -0
  175. package/dist/node_modules/d3-interpolate/src/object.js +12 -0
  176. package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
  177. package/dist/node_modules/d3-interpolate/src/rgb.js +17 -0
  178. package/dist/node_modules/d3-interpolate/src/round.js +8 -0
  179. package/dist/node_modules/d3-interpolate/src/string.js +26 -0
  180. package/dist/node_modules/d3-interpolate/src/value.js +16 -0
  181. package/dist/node_modules/d3-path/src/path.js +63 -0
  182. package/dist/node_modules/d3-scale/src/band.js +50 -0
  183. package/dist/node_modules/d3-scale/src/constant.js +8 -0
  184. package/dist/node_modules/d3-scale/src/continuous.js +71 -0
  185. package/dist/node_modules/d3-scale/src/diverging.js +80 -0
  186. package/dist/node_modules/d3-scale/src/identity.js +18 -0
  187. package/dist/node_modules/d3-scale/src/init.js +27 -0
  188. package/dist/node_modules/d3-scale/src/linear.js +34 -0
  189. package/dist/node_modules/d3-scale/src/log.js +75 -0
  190. package/dist/node_modules/d3-scale/src/nice.js +8 -0
  191. package/dist/node_modules/d3-scale/src/number.js +6 -0
  192. package/dist/node_modules/d3-scale/src/ordinal.js +29 -0
  193. package/dist/node_modules/d3-scale/src/pow.js +35 -0
  194. package/dist/node_modules/d3-scale/src/quantile.js +35 -0
  195. package/dist/node_modules/d3-scale/src/quantize.js +31 -0
  196. package/dist/node_modules/d3-scale/src/radial.js +37 -0
  197. package/dist/node_modules/d3-scale/src/sequential.js +65 -0
  198. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +28 -0
  199. package/dist/node_modules/d3-scale/src/symlog.js +28 -0
  200. package/dist/node_modules/d3-scale/src/threshold.js +23 -0
  201. package/dist/node_modules/d3-scale/src/tickFormat.js +29 -0
  202. package/dist/node_modules/d3-scale/src/time.js +45 -0
  203. package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
  204. package/dist/node_modules/d3-shape/src/area.js +53 -0
  205. package/dist/node_modules/d3-shape/src/array.js +6 -0
  206. package/dist/node_modules/d3-shape/src/constant.js +8 -0
  207. package/dist/node_modules/d3-shape/src/curve/basis.js +47 -0
  208. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +48 -0
  209. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +44 -0
  210. package/dist/node_modules/d3-shape/src/curve/bump.js +38 -0
  211. package/dist/node_modules/d3-shape/src/curve/linear.js +34 -0
  212. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
  213. package/dist/node_modules/d3-shape/src/curve/monotone.js +92 -0
  214. package/dist/node_modules/d3-shape/src/curve/natural.js +37 -0
  215. package/dist/node_modules/d3-shape/src/curve/step.js +45 -0
  216. package/dist/node_modules/d3-shape/src/line.js +28 -0
  217. package/dist/node_modules/d3-shape/src/math.js +6 -0
  218. package/dist/node_modules/d3-shape/src/noop.js +4 -0
  219. package/dist/node_modules/d3-shape/src/offset/expand.js +13 -0
  220. package/dist/node_modules/d3-shape/src/offset/none.js +6 -0
  221. package/dist/node_modules/d3-shape/src/offset/silhouette.js +13 -0
  222. package/dist/node_modules/d3-shape/src/offset/wiggle.js +19 -0
  223. package/dist/node_modules/d3-shape/src/order/none.js +7 -0
  224. package/dist/node_modules/d3-shape/src/path.js +17 -0
  225. package/dist/node_modules/d3-shape/src/point.js +9 -0
  226. package/dist/node_modules/d3-shape/src/stack.js +32 -0
  227. package/dist/node_modules/d3-shape/src/symbol/circle.js +8 -0
  228. package/dist/node_modules/d3-shape/src/symbol/cross.js +8 -0
  229. package/dist/node_modules/d3-shape/src/symbol/diamond.js +8 -0
  230. package/dist/node_modules/d3-shape/src/symbol/square.js +8 -0
  231. package/dist/node_modules/d3-shape/src/symbol/star.js +13 -0
  232. package/dist/node_modules/d3-shape/src/symbol/triangle.js +8 -0
  233. package/dist/node_modules/d3-shape/src/symbol/wye.js +8 -0
  234. package/dist/node_modules/d3-shape/src/symbol.js +21 -0
  235. package/dist/node_modules/d3-time/src/day.js +19 -0
  236. package/dist/node_modules/d3-time/src/duration.js +4 -0
  237. package/dist/node_modules/d3-time/src/hour.js +17 -0
  238. package/dist/node_modules/d3-time/src/interval.js +26 -0
  239. package/dist/node_modules/d3-time/src/millisecond.js +12 -0
  240. package/dist/node_modules/d3-time/src/minute.js +17 -0
  241. package/dist/node_modules/d3-time/src/month.js +16 -0
  242. package/dist/node_modules/d3-time/src/second.js +11 -0
  243. package/dist/node_modules/d3-time/src/ticks.js +123 -0
  244. package/dist/node_modules/d3-time/src/week.js +23 -0
  245. package/dist/node_modules/d3-time/src/year.js +24 -0
  246. package/dist/node_modules/d3-time-format/src/defaultLocale.js +60 -0
  247. package/dist/node_modules/d3-time-format/src/locale.js +488 -0
  248. package/dist/node_modules/decimal.js-light/decimal.js +376 -0
  249. package/dist/node_modules/eventemitter3/index.js +93 -0
  250. package/dist/node_modules/fast-equals/dist/es/index.js +265 -0
  251. package/dist/node_modules/internmap/src/index.js +38 -0
  252. package/dist/{maps-CtfuCAmh.js → node_modules/leaflet/dist/leaflet-src.js} +885 -1372
  253. package/dist/node_modules/lodash/_DataView.js +10 -0
  254. package/dist/node_modules/lodash/_Hash.js +21 -0
  255. package/dist/node_modules/lodash/_ListCache.js +21 -0
  256. package/dist/node_modules/lodash/_Map.js +10 -0
  257. package/dist/node_modules/lodash/_MapCache.js +21 -0
  258. package/dist/node_modules/lodash/_Promise.js +10 -0
  259. package/dist/node_modules/lodash/_Set.js +10 -0
  260. package/dist/node_modules/lodash/_SetCache.js +16 -0
  261. package/dist/node_modules/lodash/_Stack.js +18 -0
  262. package/dist/node_modules/lodash/_Symbol.js +9 -0
  263. package/dist/node_modules/lodash/_Uint8Array.js +9 -0
  264. package/dist/node_modules/lodash/_WeakMap.js +10 -0
  265. package/dist/node_modules/lodash/_apply.js +17 -0
  266. package/dist/node_modules/lodash/_arrayEvery.js +12 -0
  267. package/dist/node_modules/lodash/_arrayFilter.js +15 -0
  268. package/dist/node_modules/lodash/_arrayIncludes.js +13 -0
  269. package/dist/node_modules/lodash/_arrayIncludesWith.js +12 -0
  270. package/dist/node_modules/lodash/_arrayLikeKeys.js +20 -0
  271. package/dist/node_modules/lodash/_arrayMap.js +12 -0
  272. package/dist/node_modules/lodash/_arrayPush.js +12 -0
  273. package/dist/node_modules/lodash/_arraySome.js +12 -0
  274. package/dist/node_modules/lodash/_asciiToArray.js +11 -0
  275. package/dist/node_modules/lodash/_assocIndexOf.js +14 -0
  276. package/dist/node_modules/lodash/_baseAssignValue.js +18 -0
  277. package/dist/node_modules/lodash/_baseEach.js +11 -0
  278. package/dist/node_modules/lodash/_baseEvery.js +16 -0
  279. package/dist/node_modules/lodash/_baseExtremum.js +17 -0
  280. package/dist/node_modules/lodash/_baseFindIndex.js +12 -0
  281. package/dist/node_modules/lodash/_baseFlatten.js +19 -0
  282. package/dist/node_modules/lodash/_baseFor.js +9 -0
  283. package/dist/node_modules/lodash/_baseForOwn.js +14 -0
  284. package/dist/node_modules/lodash/_baseGet.js +16 -0
  285. package/dist/node_modules/lodash/_baseGetAllKeys.js +15 -0
  286. package/dist/node_modules/lodash/_baseGetTag.js +15 -0
  287. package/dist/node_modules/lodash/_baseGt.js +11 -0
  288. package/dist/node_modules/lodash/_baseHasIn.js +11 -0
  289. package/dist/node_modules/lodash/_baseIndexOf.js +15 -0
  290. package/dist/node_modules/lodash/_baseIsArguments.js +14 -0
  291. package/dist/node_modules/lodash/_baseIsEqual.js +14 -0
  292. package/dist/node_modules/lodash/_baseIsEqualDeep.js +35 -0
  293. package/dist/node_modules/lodash/_baseIsMatch.js +31 -0
  294. package/dist/node_modules/lodash/_baseIsNaN.js +11 -0
  295. package/dist/node_modules/lodash/_baseIsNative.js +16 -0
  296. package/dist/node_modules/lodash/_baseIsTypedArray.js +16 -0
  297. package/dist/node_modules/lodash/_baseIteratee.js +17 -0
  298. package/dist/node_modules/lodash/_baseKeys.js +17 -0
  299. package/dist/node_modules/lodash/_baseLt.js +11 -0
  300. package/dist/node_modules/lodash/_baseMap.js +17 -0
  301. package/dist/node_modules/lodash/_baseMatches.js +18 -0
  302. package/dist/node_modules/lodash/_baseMatchesProperty.js +22 -0
  303. package/dist/node_modules/lodash/_baseOrderBy.js +37 -0
  304. package/dist/node_modules/lodash/_baseProperty.js +13 -0
  305. package/dist/node_modules/lodash/_basePropertyDeep.js +15 -0
  306. package/dist/node_modules/lodash/_baseRange.js +13 -0
  307. package/dist/node_modules/lodash/_baseRest.js +15 -0
  308. package/dist/node_modules/lodash/_baseSetToString.js +19 -0
  309. package/dist/node_modules/lodash/_baseSlice.js +14 -0
  310. package/dist/node_modules/lodash/_baseSome.js +16 -0
  311. package/dist/node_modules/lodash/_baseSortBy.js +13 -0
  312. package/dist/node_modules/lodash/_baseTimes.js +12 -0
  313. package/dist/node_modules/lodash/_baseToString.js +20 -0
  314. package/dist/node_modules/lodash/_baseTrim.js +13 -0
  315. package/dist/node_modules/lodash/_baseUnary.js +13 -0
  316. package/dist/node_modules/lodash/_baseUniq.js +32 -0
  317. package/dist/node_modules/lodash/_cacheHas.js +11 -0
  318. package/dist/node_modules/lodash/_castPath.js +16 -0
  319. package/dist/node_modules/lodash/_castSlice.js +14 -0
  320. package/dist/node_modules/lodash/_compareAscending.js +18 -0
  321. package/dist/node_modules/lodash/_compareMultiple.js +17 -0
  322. package/dist/node_modules/lodash/_coreJsData.js +9 -0
  323. package/dist/node_modules/lodash/_createBaseEach.js +18 -0
  324. package/dist/node_modules/lodash/_createBaseFor.js +17 -0
  325. package/dist/node_modules/lodash/_createCaseFirst.js +20 -0
  326. package/dist/node_modules/lodash/_createFind.js +25 -0
  327. package/dist/node_modules/lodash/_createRange.js +17 -0
  328. package/dist/node_modules/lodash/_createSet.js +14 -0
  329. package/dist/node_modules/lodash/_defineProperty.js +15 -0
  330. package/dist/node_modules/lodash/_equalArrays.js +40 -0
  331. package/dist/node_modules/lodash/_equalByTag.js +40 -0
  332. package/dist/node_modules/lodash/_equalObjects.js +37 -0
  333. package/dist/node_modules/lodash/_freeGlobal.js +8 -0
  334. package/dist/node_modules/lodash/_getAllKeys.js +15 -0
  335. package/dist/node_modules/lodash/_getMapData.js +14 -0
  336. package/dist/node_modules/lodash/_getMatchData.js +22 -0
  337. package/dist/node_modules/lodash/_getNative.js +15 -0
  338. package/dist/node_modules/lodash/_getPrototype.js +9 -0
  339. package/dist/node_modules/lodash/_getRawTag.js +19 -0
  340. package/dist/node_modules/lodash/_getSymbols.js +15 -0
  341. package/dist/node_modules/lodash/_getTag.js +26 -0
  342. package/dist/node_modules/lodash/_getValue.js +11 -0
  343. package/dist/node_modules/lodash/_hasPath.js +24 -0
  344. package/dist/node_modules/lodash/_hasUnicode.js +12 -0
  345. package/dist/node_modules/lodash/_hashClear.js +13 -0
  346. package/dist/node_modules/lodash/_hashDelete.js +12 -0
  347. package/dist/node_modules/lodash/_hashGet.js +18 -0
  348. package/dist/node_modules/lodash/_hashHas.js +14 -0
  349. package/dist/node_modules/lodash/_hashSet.js +14 -0
  350. package/dist/node_modules/lodash/_isFlattenable.js +15 -0
  351. package/dist/node_modules/lodash/_isIndex.js +13 -0
  352. package/dist/node_modules/lodash/_isIterateeCall.js +18 -0
  353. package/dist/node_modules/lodash/_isKey.js +16 -0
  354. package/dist/node_modules/lodash/_isKeyable.js +12 -0
  355. package/dist/node_modules/lodash/_isMasked.js +16 -0
  356. package/dist/node_modules/lodash/_isPrototype.js +13 -0
  357. package/dist/node_modules/lodash/_isStrictComparable.js +13 -0
  358. package/dist/node_modules/lodash/_listCacheClear.js +11 -0
  359. package/dist/node_modules/lodash/_listCacheDelete.js +14 -0
  360. package/dist/node_modules/lodash/_listCacheGet.js +14 -0
  361. package/dist/node_modules/lodash/_listCacheHas.js +13 -0
  362. package/dist/node_modules/lodash/_listCacheSet.js +14 -0
  363. package/dist/node_modules/lodash/_mapCacheClear.js +19 -0
  364. package/dist/node_modules/lodash/_mapCacheDelete.js +14 -0
  365. package/dist/node_modules/lodash/_mapCacheGet.js +13 -0
  366. package/dist/node_modules/lodash/_mapCacheHas.js +13 -0
  367. package/dist/node_modules/lodash/_mapCacheSet.js +14 -0
  368. package/dist/node_modules/lodash/_mapToArray.js +14 -0
  369. package/dist/node_modules/lodash/_matchesStrictComparable.js +13 -0
  370. package/dist/node_modules/lodash/_memoizeCapped.js +16 -0
  371. package/dist/node_modules/lodash/_nativeCreate.js +9 -0
  372. package/dist/node_modules/lodash/_nativeKeys.js +9 -0
  373. package/dist/node_modules/lodash/_nodeUtil.js +14 -0
  374. package/dist/node_modules/lodash/_objectToString.js +12 -0
  375. package/dist/node_modules/lodash/_overArg.js +13 -0
  376. package/dist/node_modules/lodash/_overRest.js +18 -0
  377. package/dist/node_modules/lodash/_root.js +10 -0
  378. package/dist/node_modules/lodash/_setCacheAdd.js +12 -0
  379. package/dist/node_modules/lodash/_setCacheHas.js +11 -0
  380. package/dist/node_modules/lodash/_setToArray.js +14 -0
  381. package/dist/node_modules/lodash/_setToString.js +11 -0
  382. package/dist/node_modules/lodash/_shortOut.js +19 -0
  383. package/dist/node_modules/lodash/_stackClear.js +13 -0
  384. package/dist/node_modules/lodash/_stackDelete.js +12 -0
  385. package/dist/node_modules/lodash/_stackGet.js +11 -0
  386. package/dist/node_modules/lodash/_stackHas.js +11 -0
  387. package/dist/node_modules/lodash/_stackSet.js +21 -0
  388. package/dist/node_modules/lodash/_strictIndexOf.js +12 -0
  389. package/dist/node_modules/lodash/_stringToArray.js +15 -0
  390. package/dist/node_modules/lodash/_stringToPath.js +15 -0
  391. package/dist/node_modules/lodash/_toKey.js +15 -0
  392. package/dist/node_modules/lodash/_toSource.js +20 -0
  393. package/dist/node_modules/lodash/_trimmedEndIndex.js +13 -0
  394. package/dist/node_modules/lodash/_unicodeToArray.js +22 -0
  395. package/dist/node_modules/lodash/constant.js +13 -0
  396. package/dist/node_modules/lodash/debounce.js +55 -0
  397. package/dist/node_modules/lodash/eq.js +11 -0
  398. package/dist/node_modules/lodash/every.js +18 -0
  399. package/dist/node_modules/lodash/find.js +10 -0
  400. package/dist/node_modules/lodash/findIndex.js +18 -0
  401. package/dist/node_modules/lodash/flatMap.js +14 -0
  402. package/dist/node_modules/lodash/get.js +14 -0
  403. package/dist/node_modules/lodash/hasIn.js +14 -0
  404. package/dist/node_modules/lodash/identity.js +11 -0
  405. package/dist/node_modules/lodash/isArguments.js +15 -0
  406. package/dist/node_modules/lodash/isArray.js +8 -0
  407. package/dist/node_modules/lodash/isArrayLike.js +14 -0
  408. package/dist/node_modules/lodash/isBoolean.js +14 -0
  409. package/dist/node_modules/lodash/isBuffer.js +11 -0
  410. package/dist/node_modules/lodash/isEqual.js +13 -0
  411. package/dist/node_modules/lodash/isFunction.js +16 -0
  412. package/dist/node_modules/lodash/isLength.js +12 -0
  413. package/dist/node_modules/lodash/isNaN.js +13 -0
  414. package/dist/node_modules/lodash/isNil.js +11 -0
  415. package/dist/node_modules/lodash/isNumber.js +14 -0
  416. package/dist/node_modules/lodash/isObject.js +12 -0
  417. package/dist/node_modules/lodash/isObjectLike.js +11 -0
  418. package/dist/node_modules/lodash/isPlainObject.js +19 -0
  419. package/dist/node_modules/lodash/isString.js +15 -0
  420. package/dist/node_modules/lodash/isSymbol.js +14 -0
  421. package/dist/node_modules/lodash/isTypedArray.js +12 -0
  422. package/dist/node_modules/lodash/keys.js +15 -0
  423. package/dist/node_modules/lodash/last.js +12 -0
  424. package/dist/node_modules/lodash/map.js +16 -0
  425. package/dist/node_modules/lodash/mapValues.js +18 -0
  426. package/dist/node_modules/lodash/max.js +15 -0
  427. package/dist/node_modules/lodash/maxBy.js +15 -0
  428. package/dist/node_modules/lodash/memoize.js +20 -0
  429. package/dist/node_modules/lodash/min.js +15 -0
  430. package/dist/node_modules/lodash/minBy.js +15 -0
  431. package/dist/node_modules/lodash/noop.js +9 -0
  432. package/dist/node_modules/lodash/now.js +12 -0
  433. package/dist/node_modules/lodash/property.js +16 -0
  434. package/dist/node_modules/lodash/range.js +9 -0
  435. package/dist/node_modules/lodash/some.js +18 -0
  436. package/dist/node_modules/lodash/sortBy.js +17 -0
  437. package/dist/node_modules/lodash/stubArray.js +11 -0
  438. package/dist/node_modules/lodash/stubFalse.js +11 -0
  439. package/dist/node_modules/lodash/throttle.js +20 -0
  440. package/dist/node_modules/lodash/toFinite.js +13 -0
  441. package/dist/node_modules/lodash/toInteger.js +14 -0
  442. package/dist/node_modules/lodash/toNumber.js +24 -0
  443. package/dist/node_modules/lodash/toString.js +13 -0
  444. package/dist/node_modules/lodash/uniqBy.js +14 -0
  445. package/dist/node_modules/lodash/upperFirst.js +9 -0
  446. package/dist/node_modules/lucide-react/dist/esm/Icon.js +16 -0
  447. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +15 -0
  448. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +14 -0
  449. package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +8 -0
  450. package/dist/{arrow-up-VQuGMABN.js → node_modules/lucide-react/dist/esm/icons/arrow-down.js} +2 -8
  451. package/dist/{arrow-left-1dVWv2dg.js → node_modules/lucide-react/dist/esm/icons/arrow-left.js} +2 -2
  452. package/dist/{arrow-right-PUCNATnk.js → node_modules/lucide-react/dist/esm/icons/arrow-right.js} +2 -2
  453. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +22 -0
  454. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +11 -0
  455. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +11 -0
  456. package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +34 -0
  457. package/dist/{box-DW1KNP8j.js → node_modules/lucide-react/dist/esm/icons/box.js} +2 -2
  458. package/dist/{boxes-D6I00XqA.js → node_modules/lucide-react/dist/esm/icons/boxes.js} +2 -2
  459. package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +34 -0
  460. package/dist/node_modules/lucide-react/dist/esm/icons/building.js +55 -0
  461. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +26 -0
  462. package/dist/node_modules/lucide-react/dist/esm/icons/car.js +26 -0
  463. package/dist/{chart-column-BwQ5H9ol.js → node_modules/lucide-react/dist/esm/icons/chart-column.js} +2 -2
  464. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +8 -0
  465. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
  466. package/dist/{chevron-left-DzNxoaBG.js → node_modules/lucide-react/dist/esm/icons/chevron-left.js} +2 -2
  467. package/dist/{chevron-right-CKm3ZC1T.js → node_modules/lucide-react/dist/esm/icons/chevron-right.js} +2 -2
  468. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +8 -0
  469. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +11 -0
  470. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +11 -0
  471. package/dist/{circle-alert-CtBm6oIb.js → node_modules/lucide-react/dist/esm/icons/circle-alert.js} +2 -2
  472. package/dist/{circle-check-big-H5pLiMBW.js → node_modules/lucide-react/dist/esm/icons/circle-check-big.js} +2 -2
  473. package/dist/{circle-check-B_Y7FDyR.js → node_modules/lucide-react/dist/esm/icons/circle-check.js} +2 -2
  474. package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +20 -0
  475. package/dist/{clock-B4-qjGuB.js → node_modules/lucide-react/dist/esm/icons/clock.js} +2 -2
  476. package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +22 -0
  477. package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +18 -0
  478. package/dist/{dollar-sign-CYGHy2oS.js → node_modules/lucide-react/dist/esm/icons/dollar-sign.js} +2 -2
  479. package/dist/{download-BJonq2ty.js → node_modules/lucide-react/dist/esm/icons/download.js} +2 -2
  480. package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +18 -0
  481. package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +26 -0
  482. package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +30 -0
  483. package/dist/{file-text-C-cZx58r.js → node_modules/lucide-react/dist/esm/icons/file-text.js} +2 -2
  484. package/dist/{filter-B_S6WOqr.js → node_modules/lucide-react/dist/esm/icons/filter.js} +2 -2
  485. package/dist/{fuel-Cjt6IxKr.js → node_modules/lucide-react/dist/esm/icons/fuel.js} +2 -2
  486. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +11 -0
  487. package/dist/node_modules/lucide-react/dist/esm/icons/globe.js +20 -0
  488. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +20 -0
  489. package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +38 -0
  490. package/dist/node_modules/lucide-react/dist/esm/icons/lightbulb.js +18 -0
  491. package/dist/node_modules/lucide-react/dist/esm/icons/list.js +30 -0
  492. package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +15 -0
  493. package/dist/{map-pin-BISLzLwb.js → node_modules/lucide-react/dist/esm/icons/map-pin.js} +2 -2
  494. package/dist/{map-CO0aWUae.js → node_modules/lucide-react/dist/esm/icons/map.js} +2 -2
  495. package/dist/{navigation-BFki5UJz.js → node_modules/lucide-react/dist/esm/icons/navigation.js} +2 -2
  496. package/dist/{package-UyaWiALC.js → node_modules/lucide-react/dist/esm/icons/package.js} +2 -2
  497. package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +8 -0
  498. package/dist/{plus-Bk_G-lFC.js → node_modules/lucide-react/dist/esm/icons/plus.js} +2 -2
  499. package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +22 -0
  500. package/dist/{refresh-cw-C4-jecjy.js → node_modules/lucide-react/dist/esm/icons/refresh-cw.js} +2 -2
  501. package/dist/{route-WpCP6F1x.js → node_modules/lucide-react/dist/esm/icons/route.js} +2 -2
  502. package/dist/{save-CcfoIn2J.js → node_modules/lucide-react/dist/esm/icons/save.js} +2 -2
  503. package/dist/{search-C3YRxW9e.js → node_modules/lucide-react/dist/esm/icons/search.js} +2 -2
  504. package/dist/node_modules/lucide-react/dist/esm/icons/send.js +11 -0
  505. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +13 -0
  506. package/dist/node_modules/lucide-react/dist/esm/icons/shield.js +8 -0
  507. package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +26 -0
  508. package/dist/{square-pen-Dr1X-P2s.js → node_modules/lucide-react/dist/esm/icons/square-pen.js} +2 -2
  509. package/dist/{star-1Ixfuzai.js → node_modules/lucide-react/dist/esm/icons/star.js} +2 -2
  510. package/dist/{store-BwU935v5.js → node_modules/lucide-react/dist/esm/icons/store.js} +2 -2
  511. package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +14 -0
  512. package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +8 -0
  513. package/dist/{trash-2-CC4KugEJ.js → node_modules/lucide-react/dist/esm/icons/trash-2.js} +2 -2
  514. package/dist/{trending-up-1brglj1E.js → node_modules/lucide-react/dist/esm/icons/trending-up.js} +2 -2
  515. package/dist/{triangle-alert-Dh56Yu3-.js → node_modules/lucide-react/dist/esm/icons/triangle-alert.js} +2 -2
  516. package/dist/{truck-DxhtLfkG.js → node_modules/lucide-react/dist/esm/icons/truck.js} +2 -2
  517. package/dist/{upload-CLf0JLXW.js → node_modules/lucide-react/dist/esm/icons/upload.js} +2 -2
  518. package/dist/{user-check-Cx6fHHll.js → node_modules/lucide-react/dist/esm/icons/user-check.js} +2 -2
  519. package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +23 -0
  520. package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +30 -0
  521. package/dist/{user-B1IjWJtn.js → node_modules/lucide-react/dist/esm/icons/user.js} +2 -2
  522. package/dist/{users-BKmsb79k.js → node_modules/lucide-react/dist/esm/icons/users.js} +2 -2
  523. package/dist/{warehouse-DE1irFyJ.js → node_modules/lucide-react/dist/esm/icons/warehouse.js} +2 -2
  524. package/dist/node_modules/lucide-react/dist/esm/icons/webhook.js +18 -0
  525. package/dist/{wrench-DTJGFs17.js → node_modules/lucide-react/dist/esm/icons/wrench.js} +2 -2
  526. package/dist/{x-CvsUGJy1.js → node_modules/lucide-react/dist/esm/icons/x.js} +2 -2
  527. package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +8 -0
  528. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +4 -0
  529. package/dist/node_modules/object-assign/index.js +39 -0
  530. package/dist/node_modules/prop-types/checkPropTypes.js +44 -0
  531. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +47 -0
  532. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +270 -0
  533. package/dist/node_modules/prop-types/index.js +14 -0
  534. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +8 -0
  535. package/dist/node_modules/prop-types/lib/has.js +8 -0
  536. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +82 -0
  537. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +62 -0
  538. package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
  539. package/dist/node_modules/react-is/cjs/react-is.development.js +85 -0
  540. package/dist/node_modules/react-is/cjs/react-is.production.min.js +63 -0
  541. package/dist/node_modules/react-is/index.js +10 -0
  542. package/dist/node_modules/react-leaflet/lib/MapContainer.js +31 -0
  543. package/dist/node_modules/react-leaflet/lib/Marker.js +14 -0
  544. package/dist/node_modules/react-leaflet/lib/Polyline.js +14 -0
  545. package/dist/node_modules/react-leaflet/lib/Popup.js +35 -0
  546. package/dist/node_modules/react-leaflet/lib/TileLayer.js +16 -0
  547. package/dist/node_modules/react-leaflet/lib/hooks.js +8 -0
  548. package/dist/node_modules/react-smooth/es6/Animate.js +372 -0
  549. package/dist/node_modules/react-smooth/es6/AnimateManager.js +71 -0
  550. package/dist/node_modules/react-smooth/es6/configUpdate.js +171 -0
  551. package/dist/node_modules/react-smooth/es6/easing.js +150 -0
  552. package/dist/node_modules/react-smooth/es6/index.js +7 -0
  553. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +12 -0
  554. package/dist/node_modules/react-smooth/es6/util.js +90 -0
  555. package/dist/node_modules/recharts/es6/cartesian/Area.js +433 -0
  556. package/dist/node_modules/recharts/es6/cartesian/Bar.js +385 -0
  557. package/dist/node_modules/recharts/es6/cartesian/Brush.js +497 -0
  558. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +336 -0
  559. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +303 -0
  560. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +241 -0
  561. package/dist/node_modules/recharts/es6/cartesian/Line.js +471 -0
  562. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +171 -0
  563. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +176 -0
  564. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +252 -0
  565. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +142 -0
  566. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +141 -0
  567. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +16 -0
  568. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +119 -0
  569. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +99 -0
  570. package/dist/node_modules/recharts/es6/chart/AreaChart.js +20 -0
  571. package/dist/node_modules/recharts/es6/chart/BarChart.js +22 -0
  572. package/dist/node_modules/recharts/es6/chart/LineChart.js +20 -0
  573. package/dist/node_modules/recharts/es6/chart/PieChart.js +32 -0
  574. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1243 -0
  575. package/dist/node_modules/recharts/es6/component/Cell.js +7 -0
  576. package/dist/node_modules/recharts/es6/component/Cursor.js +91 -0
  577. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +235 -0
  578. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +169 -0
  579. package/dist/node_modules/recharts/es6/component/Label.js +351 -0
  580. package/dist/node_modules/recharts/es6/component/LabelList.js +164 -0
  581. package/dist/node_modules/recharts/es6/component/Legend.js +232 -0
  582. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +185 -0
  583. package/dist/node_modules/recharts/es6/component/Text.js +223 -0
  584. package/dist/node_modules/recharts/es6/component/Tooltip.js +180 -0
  585. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +196 -0
  586. package/dist/node_modules/recharts/es6/container/Layer.js +38 -0
  587. package/dist/node_modules/recharts/es6/container/Surface.js +58 -0
  588. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +55 -0
  589. package/dist/node_modules/recharts/es6/polar/Pie.js +433 -0
  590. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +213 -0
  591. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +266 -0
  592. package/dist/node_modules/recharts/es6/shape/Cross.js +110 -0
  593. package/dist/node_modules/recharts/es6/shape/Curve.js +134 -0
  594. package/dist/node_modules/recharts/es6/shape/Dot.js +25 -0
  595. package/dist/node_modules/recharts/es6/shape/Polygon.js +110 -0
  596. package/dist/node_modules/recharts/es6/shape/Rectangle.js +203 -0
  597. package/dist/node_modules/recharts/es6/shape/Sector.js +190 -0
  598. package/dist/node_modules/recharts/es6/shape/Symbols.js +141 -0
  599. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +173 -0
  600. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +179 -0
  601. package/dist/node_modules/recharts/es6/util/BarUtils.js +110 -0
  602. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +232 -0
  603. package/dist/node_modules/recharts/es6/util/ChartUtils.js +560 -0
  604. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +68 -0
  605. package/dist/node_modules/recharts/es6/util/DOMUtils.js +106 -0
  606. package/dist/node_modules/recharts/es6/util/DataUtils.js +55 -0
  607. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +56 -0
  608. package/dist/node_modules/recharts/es6/util/Events.js +5 -0
  609. package/dist/node_modules/recharts/es6/util/Global.js +19 -0
  610. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +7 -0
  611. package/dist/node_modules/recharts/es6/util/LogUtils.js +13 -0
  612. package/dist/node_modules/recharts/es6/util/PolarUtils.js +196 -0
  613. package/dist/node_modules/recharts/es6/util/ReactUtils.js +135 -0
  614. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +179 -0
  615. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +8 -0
  616. package/dist/node_modules/recharts/es6/util/TickUtils.js +29 -0
  617. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +23 -0
  618. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +21 -0
  619. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +14 -0
  620. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +15 -0
  621. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +10 -0
  622. package/dist/node_modules/recharts/es6/util/getLegendProps.js +86 -0
  623. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +11 -0
  624. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +10 -0
  625. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +85 -0
  626. package/dist/node_modules/recharts/es6/util/types.js +41 -0
  627. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +130 -0
  628. package/dist/node_modules/recharts-scale/es6/index.js +1 -0
  629. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +30 -0
  630. package/dist/node_modules/recharts-scale/es6/util/utils.js +77 -0
  631. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1714 -0
  632. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +11 -0
  633. package/dist/node_modules/victory-vendor/es/d3-scale.js +51 -0
  634. package/dist/node_modules/zustand/esm/middleware.js +240 -0
  635. package/dist/{AIAssistantPage-MWJLAMN_.js → pages/AIAssistantPage.js} +61 -99
  636. package/dist/{AnalyticsPage-900jpV2T.js → pages/AnalyticsPage.js} +39 -34
  637. package/dist/{CreateOrderPage-CXbhJLLz.js → pages/CreateOrderPage.js} +97 -94
  638. package/dist/pages/CustomerDetailsPage.js +567 -0
  639. package/dist/{CustomersPage-CwtVspuq.js → pages/CustomersPage.js} +39 -67
  640. package/dist/{DashboardPage-BoswH3ec.js → pages/DashboardPage.js} +166 -165
  641. package/dist/{DriverDetailsPage-CPO0G8Ki.js → pages/DriverDetailsPage.js} +148 -145
  642. package/dist/{DriversPage-6Z61dpDI.js → pages/DriversPage.js} +56 -89
  643. package/dist/{FinancePage-DYadOUzC.js → pages/FinancePage.js} +41 -51
  644. package/dist/{FleetPage-qWRj7WFO.js → pages/FleetPage.js} +88 -85
  645. package/dist/{ImportExportPage-BhWGfbH3.js → pages/ImportExportPage.js} +63 -88
  646. package/dist/{InventoryPage-DbR4Z--d.js → pages/InventoryPage.js} +56 -53
  647. package/dist/{LiveTrackingPage-5U68u3oA.js → pages/LiveTrackingPage.js} +66 -89
  648. package/dist/pages/MarketplacePage.js +425 -0
  649. package/dist/pages/OrderDetailsPage.js +562 -0
  650. package/dist/pages/OrdersListPage.js +364 -0
  651. package/dist/{ProductDetailsPage-CWgcRqGR.js → pages/ProductDetailsPage.js} +99 -107
  652. package/dist/{ProductsPage-CokwDOR2.js → pages/ProductsPage.js} +35 -37
  653. package/dist/pages/ReportsPage.js +317 -0
  654. package/dist/pages/RouteDetailsPage.js +646 -0
  655. package/dist/{RoutesPage-Dqd5Don6.js → pages/RoutesPage.js} +26 -22
  656. package/dist/{SettingsPage-_6SIlcBX.js → pages/SettingsPage.js} +90 -106
  657. package/dist/{TrackingPage-Cg0tYGJe.js → pages/TrackingPage.js} +69 -65
  658. package/dist/{VehicleDetailsPage-BbZlCFPo.js → pages/VehicleDetailsPage.js} +129 -126
  659. package/dist/{VehiclesPage-BfBEyXGs.js → pages/VehiclesPage.js} +38 -35
  660. package/dist/{WarehouseDetailsPage-DxNhiaoI.js → pages/WarehouseDetailsPage.js} +140 -137
  661. package/dist/{WarehousesPage-M3NaBT0z.js → pages/WarehousesPage.js} +35 -40
  662. package/dist/providers/MoveTheWheelsProvider.js +32 -0
  663. package/dist/services/createSandboxAssistantTransport.d.ts +1 -0
  664. package/dist/services/createSandboxAssistantTransport.js +31 -0
  665. package/dist/src/generated/wspace-operations.js +793 -0
  666. package/dist/store/movethewheelsStore.js +63 -0
  667. package/dist/utils/cn.js +8 -0
  668. package/dist/utils/download.js +22 -0
  669. package/dist/{formatters-FWJDwTFv.js → utils/formatters.js} +1 -1
  670. package/dist/utils/graphqlClient.js +84 -0
  671. package/dist/{mapMarkers-NCV9MRKR.js → utils/mapMarkers.js} +1 -1
  672. package/dist/utils/navigation.js +6 -0
  673. package/package.json +5 -1
  674. package/src/movethewheels/hooks/useRoutes.ts +17 -7
  675. package/src/movethewheels/index.ts +11 -0
  676. package/src/movethewheels/services/createSandboxAssistantTransport.ts +67 -0
  677. package/dist/CustomerDetailsPage-CHzg75Q5.js +0 -615
  678. package/dist/DocumentsCard-y2ybnAlu.js +0 -169
  679. package/dist/MarketplacePage-DMH0HNDH.js +0 -426
  680. package/dist/Notice-BrXJ85dA.js +0 -46
  681. package/dist/OrderDetailsPage-DRYifXm9.js +0 -588
  682. package/dist/OrdersListPage-DvICveRv.js +0 -388
  683. package/dist/PageLayout-j9Zw3wBN.js +0 -2070
  684. package/dist/ReportsPage-MU8F9DQC.js +0 -377
  685. package/dist/RouteDetailsPage-BHQbFgI9.js +0 -642
  686. package/dist/Sparkline-DTGdlxUH.js +0 -16729
  687. package/dist/StatusBadge-BfiF-nNI.js +0 -152
  688. package/dist/charts-Dv_zxP7L.js +0 -2018
  689. package/dist/phone-Bav_V7rR.js +0 -18
  690. package/dist/useAssistant-B9qBtRKm.js +0 -67
  691. package/dist/useSettings-BNNzQs_B.js +0 -81
  692. /package/dist/{index.css → microfe-movethewheels.css} +0 -0
@@ -1,4 +1,5 @@
1
- import { at as e, st as t } from "./PageLayout-j9Zw3wBN.js";
1
+ import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
2
+ import { executeGraphQL as t } from "../utils/graphqlClient.js";
2
3
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
4
  //#region src/movethewheels/hooks/useFleet.ts
4
5
  var o = "\n query ListVehicles($filter: VehicleFilterInput, $pagination: PaginationInput) {\n vehicles(filter: $filter, pagination: $pagination) {\n id\n vehicleNumber\n type\n make\n model\n licensePlate\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", s = "\n query ListDrivers($filter: DriverFilterInput, $pagination: PaginationInput) {\n drivers(filter: $filter, pagination: $pagination) {\n id\n userId\n firstName\n lastName\n email\n phone\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", c = "\n query GetVehicle($id: ID!) {\n vehicle(id: $id) {\n id\n vehicleNumber\n type\n make\n model\n licensePlate\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", l = "\n query GetDriver($id: ID!) {\n driver(id: $id) {\n id\n userId\n firstName\n lastName\n email\n phone\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", u = "\n mutation UpdateVehicleStatus($id: ID!, $status: VehicleStatus!) {\n updateVehicleStatus(id: $id, status: $status) {\n id\n vehicleNumber\n type\n make\n model\n licensePlate\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", d = "\n mutation AssignDriverVehicle($id: ID!, $vehicleId: ID) {\n assignDriverVehicle(id: $id, vehicleId: $vehicleId) {\n id\n userId\n firstName\n lastName\n email\n phone\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", f = "\n mutation UpdateDriverStatus($id: ID!, $status: DriverStatus!) {\n updateDriverStatus(id: $id, status: $status) {\n id\n userId\n firstName\n lastName\n email\n phone\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", p = "\n mutation CreateVehicle($input: CreateVehicleInput!) {\n createVehicle(input: $input) {\n id\n vehicleNumber\n type\n make\n model\n licensePlate\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", m = "\n mutation CreateDriver($input: CreateDriverInput!) {\n createDriver(input: $input) {\n id\n userId\n firstName\n lastName\n email\n phone\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", h = "\n mutation UpdateVehicle($id: ID!, $input: UpdateVehicleInput!) {\n updateVehicle(id: $id, input: $input) {\n id\n vehicleNumber\n type\n make\n model\n licensePlate\n year\n capacity\n status\n currentLocation\n fuelLevel\n mileage\n createdAt\n updatedAt\n }\n }\n", g = "\n mutation UpdateDriver($id: ID!, $input: UpdateDriverInput!) {\n updateDriver(id: $id, input: $input) {\n id\n userId\n firstName\n lastName\n email\n phone\n employeeId\n licenseNumber\n licenseClass\n licenseExpiry\n status\n currentLocation\n rating\n vehicleId\n createdAt\n }\n }\n", _ = "\n query GetFleetStats {\n fleetStats {\n totalVehicles\n activeVehicles\n inTransitVehicles\n maintenanceVehicles\n totalDrivers\n availableDrivers\n onDeliveryDrivers\n avgDriverRating\n }\n }\n";
@@ -132,16 +133,16 @@ function C(e) {
132
133
  };
133
134
  }
134
135
  function w() {
135
- let { apiGatewayUrl: e, authToken: n, workspaceToken: r, workspaceId: a, tenantId: o, currentUser: s } = t();
136
+ let { apiGatewayUrl: t, authToken: n, workspaceToken: r, workspaceId: a, tenantId: o, currentUser: s } = e();
136
137
  return i(() => ({
137
- apiGatewayUrl: e,
138
+ apiGatewayUrl: t,
138
139
  authToken: n,
139
140
  workspaceToken: r,
140
141
  workspaceId: a,
141
142
  tenantId: o,
142
143
  actorId: s?.id
143
144
  }), [
144
- e,
145
+ t,
145
146
  n,
146
147
  r,
147
148
  a,
@@ -149,15 +150,15 @@ function w() {
149
150
  s?.id
150
151
  ]);
151
152
  }
152
- function T(t = {}) {
153
- let { filters: c } = t, l = i(() => c, [
153
+ function T(e = {}) {
154
+ let { filters: c } = e, l = i(() => c, [
154
155
  c?.driverId,
155
156
  c?.status,
156
157
  c?.vehicleType
157
158
  ]), u = w(), [d, f] = a([]), [_, v] = a([]), [b, x] = a(!1), [T, E] = a(null), D = n(async () => {
158
159
  x(!0), E(null);
159
160
  try {
160
- let [t, n] = await Promise.all([e(u, o, {
161
+ let [e, n] = await Promise.all([t(u, o, {
161
162
  filter: {
162
163
  type: l?.vehicleType?.toUpperCase(),
163
164
  status: l?.status ? y(l.status) : void 0
@@ -166,14 +167,14 @@ function T(t = {}) {
166
167
  limit: 200,
167
168
  offset: 0
168
169
  }
169
- }), e(u, s, {
170
+ }), t(u, s, {
170
171
  filter: { vehicleId: l?.driverId },
171
172
  pagination: {
172
173
  limit: 200,
173
174
  offset: 0
174
175
  }
175
176
  })]);
176
- f(t.vehicles.map(S)), v(n.drivers.map(C));
177
+ f(e.vehicles.map(S)), v(n.drivers.map(C));
177
178
  } catch (e) {
178
179
  E(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load fleet data"));
179
180
  } finally {
@@ -185,28 +186,28 @@ function T(t = {}) {
185
186
  }, [D]);
186
187
  let O = n(() => {
187
188
  D();
188
- }, [D]), k = n(async (t) => {
189
- let n = S((await e(u, p, { input: {
190
- vehicleNumber: t.vehicleNumber,
191
- type: t.type,
192
- make: t.make,
193
- model: t.model,
194
- licensePlate: t.licensePlate
189
+ }, [D]), k = n(async (e) => {
190
+ let n = S((await t(u, p, { input: {
191
+ vehicleNumber: e.vehicleNumber,
192
+ type: e.type,
193
+ make: e.make,
194
+ model: e.model,
195
+ licensePlate: e.licensePlate
195
196
  } })).createVehicle);
196
197
  return f((e) => [n, ...e]), n;
197
- }, [u]), A = n(async (t) => {
198
- let n = C((await e(u, m, { input: {
199
- employeeId: t.employeeId,
200
- firstName: t.firstName,
201
- lastName: t.lastName,
202
- email: t.email,
203
- phone: t.phone,
204
- licenseNumber: t.licenseNumber
198
+ }, [u]), A = n(async (e) => {
199
+ let n = C((await t(u, m, { input: {
200
+ employeeId: e.employeeId,
201
+ firstName: e.firstName,
202
+ lastName: e.lastName,
203
+ email: e.email,
204
+ phone: e.phone,
205
+ licenseNumber: e.licenseNumber
205
206
  } })).createDriver);
206
207
  return v((e) => [n, ...e]), n;
207
- }, [u]), j = n(async (t, n) => {
208
- let r = S((await e(u, h, {
209
- id: t,
208
+ }, [u]), j = n(async (e, n) => {
209
+ let r = S((await t(u, h, {
210
+ id: e,
210
211
  input: {
211
212
  vehicleNumber: n.vehicleNumber,
212
213
  type: n.type,
@@ -215,10 +216,10 @@ function T(t = {}) {
215
216
  licensePlate: n.licensePlate
216
217
  }
217
218
  })).updateVehicle);
218
- return f((e) => e.map((e) => e.id === t ? r : e)), r;
219
- }, [u]), M = n(async (t, n) => {
220
- let r = C((await e(u, g, {
221
- id: t,
219
+ return f((t) => t.map((t) => t.id === e ? r : t)), r;
220
+ }, [u]), M = n(async (e, n) => {
221
+ let r = C((await t(u, g, {
222
+ id: e,
222
223
  input: {
223
224
  firstName: n.firstName,
224
225
  lastName: n.lastName,
@@ -227,7 +228,7 @@ function T(t = {}) {
227
228
  licenseNumber: n.licenseNumber
228
229
  }
229
230
  })).updateDriver);
230
- return v((e) => e.map((e) => e.id === t ? r : e)), r;
231
+ return v((t) => t.map((t) => t.id === e ? r : t)), r;
231
232
  }, [u]);
232
233
  return {
233
234
  vehicles: d,
@@ -243,15 +244,15 @@ function T(t = {}) {
243
244
  updateDriver: M
244
245
  };
245
246
  }
246
- function E(t = {}) {
247
- let { limit: i = 200, offset: s = 0 } = t, c = w(), [l, f] = a([]), [p, m] = a(!1), [h, g] = a(!1), [_, v] = a(null), b = n(async () => {
247
+ function E(e = {}) {
248
+ let { limit: i = 200, offset: s = 0 } = e, c = w(), [l, f] = a([]), [p, m] = a(!1), [h, g] = a(!1), [_, v] = a(null), b = n(async () => {
248
249
  g(!0), v(null);
249
250
  try {
250
- let t = await e(c, o, { pagination: {
251
+ let e = await t(c, o, { pagination: {
251
252
  limit: i,
252
253
  offset: s
253
254
  } });
254
- m(t.vehicles.length === i), f(t.vehicles.map(S));
255
+ m(e.vehicles.length === i), f(e.vehicles.map(S));
255
256
  } catch (e) {
256
257
  v(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load vehicles"));
257
258
  } finally {
@@ -267,25 +268,25 @@ function E(t = {}) {
267
268
  }, [b]);
268
269
  let x = n(() => {
269
270
  b();
270
- }, [b]), C = n(async (t, n) => {
271
- let r = S((await e(c, u, {
272
- id: t,
271
+ }, [b]), C = n(async (e, n) => {
272
+ let r = S((await t(c, u, {
273
+ id: e,
273
274
  status: y(n)
274
275
  })).updateVehicleStatus);
275
- return f((e) => e.map((e) => e.id === t ? r : e)), r;
276
- }, [c]), T = n(async (t, n) => {
277
- await e(c, d, {
276
+ return f((t) => t.map((t) => t.id === e ? r : t)), r;
277
+ }, [c]), T = n(async (e, n) => {
278
+ await t(c, d, {
278
279
  id: n,
279
- vehicleId: t
280
+ vehicleId: e
280
281
  });
281
- let r = l.find((e) => e.id === t);
282
+ let r = l.find((t) => t.id === e);
282
283
  if (!r) throw Error("Vehicle not found");
283
284
  let i = {
284
285
  ...r,
285
286
  driverId: n,
286
287
  status: "assigned"
287
288
  };
288
- return f((e) => e.map((e) => e.id === t ? i : e)), i;
289
+ return f((t) => t.map((t) => t.id === e ? i : t)), i;
289
290
  }, [c, l]);
290
291
  return {
291
292
  vehicles: l,
@@ -298,22 +299,22 @@ function E(t = {}) {
298
299
  assignDriver: T
299
300
  };
300
301
  }
301
- function D(t) {
302
+ function D(e) {
302
303
  let i = w(), [o, s] = a(null), [l, u] = a(!1), [d, f] = a(null), p = n(async () => {
303
- if (!t) {
304
+ if (!e) {
304
305
  s(null);
305
306
  return;
306
307
  }
307
308
  u(!0), f(null);
308
309
  try {
309
- let n = await e(i, c, { id: t });
310
+ let n = await t(i, c, { id: e });
310
311
  s(n.vehicle ? S(n.vehicle) : null);
311
312
  } catch (e) {
312
313
  f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load vehicle"));
313
314
  } finally {
314
315
  u(!1);
315
316
  }
316
- }, [i, t]);
317
+ }, [i, e]);
317
318
  return r(() => {
318
319
  p();
319
320
  }, [p]), {
@@ -325,15 +326,15 @@ function D(t) {
325
326
  }, [p])
326
327
  };
327
328
  }
328
- function O(t = {}) {
329
- let { limit: i = 200, offset: o = 0 } = t, c = w(), [l, u] = a([]), [p, m] = a(!1), [h, g] = a(!1), [_, v] = a(null), y = n(async () => {
329
+ function O(e = {}) {
330
+ let { limit: i = 200, offset: o = 0 } = e, c = w(), [l, u] = a([]), [p, m] = a(!1), [h, g] = a(!1), [_, v] = a(null), y = n(async () => {
330
331
  g(!0), v(null);
331
332
  try {
332
- let t = await e(c, s, { pagination: {
333
+ let e = await t(c, s, { pagination: {
333
334
  limit: i,
334
335
  offset: o
335
336
  } });
336
- m(t.drivers.length === i), u(t.drivers.map(C));
337
+ m(e.drivers.length === i), u(e.drivers.map(C));
337
338
  } catch (e) {
338
339
  v(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load drivers"));
339
340
  } finally {
@@ -349,18 +350,18 @@ function O(t = {}) {
349
350
  }, [y]);
350
351
  let b = n(() => {
351
352
  y();
352
- }, [y]), S = n(async (t, n) => {
353
- let r = C((await e(c, f, {
354
- id: t,
353
+ }, [y]), S = n(async (e, n) => {
354
+ let r = C((await t(c, f, {
355
+ id: e,
355
356
  status: x(n)
356
357
  })).updateDriverStatus);
357
- return u((e) => e.map((e) => e.id === t ? r : e)), r;
358
- }, [c]), T = n(async (t, n) => {
359
- let r = C((await e(c, d, {
360
- id: t,
358
+ return u((t) => t.map((t) => t.id === e ? r : t)), r;
359
+ }, [c]), T = n(async (e, n) => {
360
+ let r = C((await t(c, d, {
361
+ id: e,
361
362
  vehicleId: n
362
363
  })).assignDriverVehicle);
363
- return u((e) => e.map((e) => e.id === t ? r : e)), r;
364
+ return u((t) => t.map((t) => t.id === e ? r : t)), r;
364
365
  }, [c]);
365
366
  return {
366
367
  drivers: l,
@@ -373,22 +374,22 @@ function O(t = {}) {
373
374
  assignVehicle: T
374
375
  };
375
376
  }
376
- function k(t) {
377
+ function k(e) {
377
378
  let i = w(), [o, s] = a(null), [c, u] = a(!1), [d, f] = a(null), p = n(async () => {
378
- if (!t) {
379
+ if (!e) {
379
380
  s(null);
380
381
  return;
381
382
  }
382
383
  u(!0), f(null);
383
384
  try {
384
- let n = await e(i, l, { id: t });
385
+ let n = await t(i, l, { id: e });
385
386
  s(n.driver ? C(n.driver) : null);
386
387
  } catch (e) {
387
388
  f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load driver"));
388
389
  } finally {
389
390
  u(!1);
390
391
  }
391
- }, [t, i]);
392
+ }, [e, i]);
392
393
  return r(() => {
393
394
  p();
394
395
  }, [p]), {
@@ -401,7 +402,7 @@ function k(t) {
401
402
  };
402
403
  }
403
404
  function A() {
404
- let t = w(), [i, o] = a({
405
+ let e = w(), [i, o] = a({
405
406
  totalVehicles: 0,
406
407
  totalDrivers: 0,
407
408
  vehiclesByStatus: {
@@ -422,7 +423,7 @@ function A() {
422
423
  }), [s, c] = a(!1), [l, u] = a(null), d = n(async () => {
423
424
  c(!0), u(null);
424
425
  try {
425
- let n = await e(t, _);
426
+ let n = await t(e, _);
426
427
  o({
427
428
  totalVehicles: n.fleetStats.totalVehicles,
428
429
  totalDrivers: n.fleetStats.totalDrivers,
@@ -447,7 +448,7 @@ function A() {
447
448
  } finally {
448
449
  c(!1);
449
450
  }
450
- }, [t]);
451
+ }, [e]);
451
452
  return r(() => {
452
453
  d();
453
454
  }, [d]), {
@@ -460,4 +461,4 @@ function A() {
460
461
  };
461
462
  }
462
463
  //#endregion
463
- export { D as a, A as i, O as n, E as o, T as r, k as t };
464
+ export { k as useDriver, O as useDrivers, T as useFleet, A as useFleetStats, D as useVehicle, E as useVehicles };
@@ -1,9 +1,10 @@
1
- import { at as e, st as t } from "./PageLayout-j9Zw3wBN.js";
1
+ import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
2
+ import { executeGraphQL as t } from "../utils/graphqlClient.js";
2
3
  import { useCallback as n, useMemo as r, useState as i } from "react";
3
4
  //#region src/movethewheels/hooks/useImportExport.ts
4
5
  var a = "\n mutation MovethewheelsExportData($input: MovethewheelsExportDataInput!) {\n exportData(input: $input) {\n success\n message\n payload\n }\n }\n", o = "\n mutation MovethewheelsImportData($input: MovethewheelsImportDataInput!) {\n importData(input: $input) {\n success\n message\n payload\n }\n }\n";
5
6
  function s() {
6
- let { apiGatewayUrl: s, authToken: c, workspaceToken: l, workspaceId: u, tenantId: d, currentUser: f } = t(), [p, m] = i(!1), [h, g] = i(null), _ = r(() => ({
7
+ let { apiGatewayUrl: s, authToken: c, workspaceToken: l, workspaceId: u, tenantId: d, currentUser: f } = e(), [p, m] = i(!1), [h, g] = i(null), _ = r(() => ({
7
8
  apiGatewayUrl: s,
8
9
  authToken: c,
9
10
  workspaceToken: l,
@@ -19,11 +20,11 @@ function s() {
19
20
  f?.id
20
21
  ]);
21
22
  return {
22
- exportData: n(async (t, n) => {
23
+ exportData: n(async (e, n) => {
23
24
  m(!0), g(null);
24
25
  try {
25
- return (await e(_, a, { input: {
26
- resource: t,
26
+ return (await t(_, a, { input: {
27
+ resource: e,
27
28
  format: n
28
29
  } })).exportData;
29
30
  } catch (e) {
@@ -33,11 +34,11 @@ function s() {
33
34
  m(!1);
34
35
  }
35
36
  }, [_]),
36
- importData: n(async (t, n) => {
37
+ importData: n(async (e, n) => {
37
38
  m(!0), g(null);
38
39
  try {
39
- return (await e(_, o, { input: {
40
- resource: t,
40
+ return (await t(_, o, { input: {
41
+ resource: e,
41
42
  payload: n
42
43
  } })).importData;
43
44
  } catch (e) {
@@ -52,4 +53,4 @@ function s() {
52
53
  };
53
54
  }
54
55
  //#endregion
55
- export { s as t };
56
+ export { s as useImportExport };
@@ -1,4 +1,5 @@
1
- import { at as e, st as t } from "./PageLayout-j9Zw3wBN.js";
1
+ import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
2
+ import { executeGraphQL as t } from "../utils/graphqlClient.js";
2
3
  import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
3
4
  //#region src/movethewheels/hooks/useInventory.ts
4
5
  var o = "\n query ListInventoryItems($filter: InventoryFilterInput, $pagination: PaginationInput) {\n inventoryItems(filter: $filter, pagination: $pagination) {\n id\n productId\n warehouseId\n onHand\n available\n allocated\n damaged\n reorderPoint\n createdAt\n updatedAt\n }\n }\n", s = "\n query ListProducts($filter: ProductFilterInput, $pagination: PaginationInput) {\n products(filter: $filter, pagination: $pagination) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", c = "\n query ListWarehouses($filter: WarehouseFilterInput, $pagination: PaginationInput) {\n warehouses(filter: $filter, pagination: $pagination) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", l = "\n query GetProduct($id: ID!) {\n product(id: $id) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", u = "\n query GetWarehouse($id: ID!) {\n warehouse(id: $id) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", d = "\n query GetInventoryStats {\n inventoryStats {\n totalOnHand\n totalAvailable\n totalAllocated\n totalDamaged\n lowStockCount\n }\n }\n", f = "\n mutation CreateProduct($input: CreateProductInput!) {\n createProduct(input: $input) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", p = "\n mutation UpdateProduct($id: ID!, $input: UpdateProductInput!) {\n updateProduct(id: $id, input: $input) {\n id\n sku\n name\n description\n category\n brand\n dimensions\n weight\n value\n hazardous\n fragile\n temperatureControlled\n createdAt\n updatedAt\n }\n }\n", m = "\n mutation CreateWarehouse($input: CreateWarehouseInput!) {\n createWarehouse(input: $input) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", h = "\n mutation UpdateWarehouse($id: ID!, $input: UpdateWarehouseInput!) {\n updateWarehouse(id: $id, input: $input) {\n id\n name\n code\n type\n address\n totalCapacity\n usedCapacity\n createdAt\n }\n }\n", g = "\n mutation AdjustInventoryStock($input: AdjustInventoryStockInput!) {\n adjustInventoryStock(input: $input) {\n id\n productId\n warehouseId\n onHand\n available\n allocated\n damaged\n reorderPoint\n createdAt\n updatedAt\n }\n }\n";
@@ -93,16 +94,16 @@ function y(e) {
93
94
  };
94
95
  }
95
96
  function b() {
96
- let { apiGatewayUrl: e, authToken: n, workspaceToken: r, workspaceId: a, tenantId: o, currentUser: s } = t();
97
+ let { apiGatewayUrl: t, authToken: n, workspaceToken: r, workspaceId: a, tenantId: o, currentUser: s } = e();
97
98
  return i(() => ({
98
- apiGatewayUrl: e,
99
+ apiGatewayUrl: t,
99
100
  authToken: n,
100
101
  workspaceToken: r,
101
102
  workspaceId: a,
102
103
  tenantId: o,
103
104
  actorId: s?.id
104
105
  }), [
105
- e,
106
+ t,
106
107
  n,
107
108
  r,
108
109
  a,
@@ -110,16 +111,16 @@ function b() {
110
111
  s?.id
111
112
  ]);
112
113
  }
113
- function x(t = {}) {
114
- let { filters: l } = t, u = i(() => l, [
114
+ function x(e = {}) {
115
+ let { filters: l } = e, u = i(() => l, [
115
116
  l?.lowStock,
116
117
  l?.productId,
117
118
  l?.warehouseId
118
119
  ]), d = b(), [x, S] = a([]), [C, w] = a([]), [T, E] = a([]), [D, O] = a(!1), [k, A] = a(null), j = n(async () => {
119
120
  O(!0), A(null);
120
121
  try {
121
- let [t, n, r] = await Promise.all([
122
- e(d, o, {
122
+ let [e, n, r] = await Promise.all([
123
+ t(d, o, {
123
124
  filter: {
124
125
  warehouseId: u?.warehouseId,
125
126
  productId: u?.productId
@@ -129,15 +130,15 @@ function x(t = {}) {
129
130
  offset: 0
130
131
  }
131
132
  }),
132
- e(d, s, { pagination: {
133
+ t(d, s, { pagination: {
133
134
  limit: 500,
134
135
  offset: 0
135
136
  } }),
136
- e(d, c, { pagination: {
137
+ t(d, c, { pagination: {
137
138
  limit: 500,
138
139
  offset: 0
139
140
  } })
140
- ]), i = t.inventoryItems.map(y);
141
+ ]), i = e.inventoryItems.map(y);
141
142
  u?.lowStock && (i = i.filter((e) => e.availableQuantity <= e.reorderLevel)), S(i), w(n.products.map(_)), E(r.warehouses.map(v));
142
143
  } catch (e) {
143
144
  A(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load inventory data"));
@@ -150,44 +151,44 @@ function x(t = {}) {
150
151
  }, [j]);
151
152
  let M = n(() => {
152
153
  j();
153
- }, [j]), N = n(async (t, n, r) => {
154
- let i = x.find((e) => e.id === t);
154
+ }, [j]), N = n(async (e, n, r) => {
155
+ let i = x.find((t) => t.id === e);
155
156
  if (!i) throw Error("Inventory item not found");
156
- let a = y((await e(d, g, { input: {
157
- id: t,
157
+ let a = y((await t(d, g, { input: {
158
+ id: e,
158
159
  onHand: i.quantity + n,
159
160
  available: i.availableQuantity + n,
160
161
  allocated: i.reservedQuantity,
161
162
  damaged: 0
162
163
  } })).adjustInventoryStock);
163
- return S((e) => e.map((e) => e.id === t ? a : e)), a;
164
+ return S((t) => t.map((t) => t.id === e ? a : t)), a;
164
165
  }, [d, x]), P = n(async (e, t, n, r) => {
165
166
  let i = x.find((t) => t.warehouseId === e && t.productId === n);
166
167
  if (!i) throw Error("Source inventory not found");
167
168
  await N(i.id, -Math.abs(r), "transfer out");
168
169
  let a = x.find((e) => e.warehouseId === t && e.productId === n);
169
170
  a && await N(a.id, Math.abs(r), "transfer in");
170
- }, [x, N]), F = n(async (t) => {
171
- let n = _((await e(d, f, { input: {
172
- name: t.name,
173
- sku: t.sku,
174
- category: t.category,
175
- brand: t.brand,
176
- weight: t.weight
171
+ }, [x, N]), F = n(async (e) => {
172
+ let n = _((await t(d, f, { input: {
173
+ name: e.name,
174
+ sku: e.sku,
175
+ category: e.category,
176
+ brand: e.brand,
177
+ weight: e.weight
177
178
  } })).createProduct);
178
179
  return w((e) => [n, ...e]), n;
179
- }, [d]), I = n(async (t) => {
180
- let n = v((await e(d, m, { input: {
181
- code: t.code,
182
- name: t.name,
183
- type: t.type,
184
- address: t.address,
185
- totalCapacity: t.totalCapacity
180
+ }, [d]), I = n(async (e) => {
181
+ let n = v((await t(d, m, { input: {
182
+ code: e.code,
183
+ name: e.name,
184
+ type: e.type,
185
+ address: e.address,
186
+ totalCapacity: e.totalCapacity
186
187
  } })).createWarehouse);
187
188
  return E((e) => [n, ...e]), n;
188
- }, [d]), L = n(async (t, n) => {
189
- let r = _((await e(d, p, {
190
- id: t,
189
+ }, [d]), L = n(async (e, n) => {
190
+ let r = _((await t(d, p, {
191
+ id: e,
191
192
  input: {
192
193
  name: n.name,
193
194
  sku: n.sku,
@@ -196,10 +197,10 @@ function x(t = {}) {
196
197
  weight: n.weight
197
198
  }
198
199
  })).updateProduct);
199
- return w((e) => e.map((e) => e.id === t ? r : e)), r;
200
- }, [d]), R = n(async (t, n) => {
201
- let r = v((await e(d, h, {
202
- id: t,
200
+ return w((t) => t.map((t) => t.id === e ? r : t)), r;
201
+ }, [d]), R = n(async (e, n) => {
202
+ let r = v((await t(d, h, {
203
+ id: e,
203
204
  input: {
204
205
  code: n.code,
205
206
  name: n.name,
@@ -208,7 +209,7 @@ function x(t = {}) {
208
209
  totalCapacity: n.totalCapacity
209
210
  }
210
211
  })).updateWarehouse);
211
- return E((e) => e.map((e) => e.id === t ? r : e)), r;
212
+ return E((t) => t.map((t) => t.id === e ? r : t)), r;
212
213
  }, [d]);
213
214
  return {
214
215
  inventory: x,
@@ -226,15 +227,15 @@ function x(t = {}) {
226
227
  updateWarehouse: R
227
228
  };
228
229
  }
229
- function S(t = {}) {
230
- let { limit: i = 500, offset: o = 0 } = t, c = b(), [l, u] = a([]), [d, f] = a(!1), [p, m] = a(!1), [h, g] = a(null), v = n(async () => {
230
+ function S(e = {}) {
231
+ let { limit: i = 500, offset: o = 0 } = e, c = b(), [l, u] = a([]), [d, f] = a(!1), [p, m] = a(!1), [h, g] = a(null), v = n(async () => {
231
232
  m(!0), g(null);
232
233
  try {
233
- let t = await e(c, s, { pagination: {
234
+ let e = await t(c, s, { pagination: {
234
235
  limit: i,
235
236
  offset: o
236
237
  } });
237
- f(t.products.length === i), u(t.products.map(_));
238
+ f(e.products.length === i), u(e.products.map(_));
238
239
  } catch (e) {
239
240
  g(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load products"));
240
241
  } finally {
@@ -271,22 +272,22 @@ function C(e = 500) {
271
272
  error: r
272
273
  };
273
274
  }
274
- function w(t) {
275
+ function w(e) {
275
276
  let i = b(), [o, s] = a(null), [c, u] = a(!1), [d, f] = a(null), p = n(async () => {
276
- if (!t) {
277
+ if (!e) {
277
278
  s(null);
278
279
  return;
279
280
  }
280
281
  u(!0), f(null);
281
282
  try {
282
- let n = await e(i, l, { id: t });
283
+ let n = await t(i, l, { id: e });
283
284
  s(n.product ? _(n.product) : null);
284
285
  } catch (e) {
285
286
  f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load product"));
286
287
  } finally {
287
288
  u(!1);
288
289
  }
289
- }, [i, t]);
290
+ }, [i, e]);
290
291
  return r(() => {
291
292
  p();
292
293
  }, [p]), {
@@ -296,15 +297,15 @@ function w(t) {
296
297
  refetch: () => void p()
297
298
  };
298
299
  }
299
- function T(t = {}) {
300
- let { limit: i = 500, offset: o = 0 } = t, s = b(), [l, u] = a([]), [d, f] = a(!1), [p, m] = a(!1), [h, g] = a(null), _ = n(async () => {
300
+ function T(e = {}) {
301
+ let { limit: i = 500, offset: o = 0 } = e, s = b(), [l, u] = a([]), [d, f] = a(!1), [p, m] = a(!1), [h, g] = a(null), _ = n(async () => {
301
302
  m(!0), g(null);
302
303
  try {
303
- let t = await e(s, c, { pagination: {
304
+ let e = await t(s, c, { pagination: {
304
305
  limit: i,
305
306
  offset: o
306
307
  } });
307
- f(t.warehouses.length === i), u(t.warehouses.map(v));
308
+ f(e.warehouses.length === i), u(e.warehouses.map(v));
308
309
  } catch (e) {
309
310
  g(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load warehouses"));
310
311
  } finally {
@@ -344,22 +345,22 @@ function E(e = 500) {
344
345
  error: r
345
346
  };
346
347
  }
347
- function D(t) {
348
+ function D(e) {
348
349
  let i = b(), [o, s] = a(null), [c, l] = a(!1), [d, f] = a(null), p = n(async () => {
349
- if (!t) {
350
+ if (!e) {
350
351
  s(null);
351
352
  return;
352
353
  }
353
354
  l(!0), f(null);
354
355
  try {
355
- let n = await e(i, u, { id: t });
356
+ let n = await t(i, u, { id: e });
356
357
  s(n.warehouse ? v(n.warehouse) : null);
357
358
  } catch (e) {
358
359
  f(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load warehouse"));
359
360
  } finally {
360
361
  l(!1);
361
362
  }
362
- }, [i, t]);
363
+ }, [i, e]);
363
364
  return r(() => {
364
365
  p();
365
366
  }, [p]), {
@@ -370,7 +371,7 @@ function D(t) {
370
371
  };
371
372
  }
372
373
  function O() {
373
- let t = b(), [n, i] = a({
374
+ let e = b(), [n, i] = a({
374
375
  totalItems: 0,
375
376
  lowStockItems: 0,
376
377
  totalValue: 0,
@@ -382,7 +383,7 @@ function O() {
382
383
  (async () => {
383
384
  s(!0), u(null);
384
385
  try {
385
- let [n, r] = await Promise.all([e(t, d), e(t, c, { pagination: {
386
+ let [n, r] = await Promise.all([t(e, d), t(e, c, { pagination: {
386
387
  limit: 500,
387
388
  offset: 0
388
389
  } })]);
@@ -404,11 +405,11 @@ function O() {
404
405
  s(!1);
405
406
  }
406
407
  })();
407
- }, [t]), {
408
+ }, [e]), {
408
409
  stats: n,
409
410
  isLoading: o,
410
411
  error: l
411
412
  };
412
413
  }
413
414
  //#endregion
414
- export { S as a, T as c, C as i, O as n, D as o, w as r, E as s, x as t };
415
+ export { x as useInventory, O as useInventoryStats, w as useProduct, C as useProductStats, S as useProducts, D as useWarehouse, E as useWarehouseStats, T as useWarehouses };