@burdenoff/microfe-movethewheels 2026.1109.1 → 2026.1109.2

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 (828) hide show
  1. package/dist/MoveTheWheelsRoot.js +62 -61
  2. package/dist/MoveTheWheelsRoutes.js +6 -7
  3. package/dist/_virtual/_rolldown/runtime.js +4 -5
  4. package/dist/components/AssignmentSuggestions.js +18 -19
  5. package/dist/components/CarbonFootprintPanel.js +17 -18
  6. package/dist/components/CarrierRecommendationDialog.js +1 -2
  7. package/dist/components/ContainerEvidencePicker.js +15 -16
  8. package/dist/components/CustomerDeliveryUpdatesFields.js +1 -2
  9. package/dist/components/CustomerNotificationSettingsCard.js +43 -44
  10. package/dist/components/CustomerPicker.js +24 -26
  11. package/dist/components/DataTable.js +169 -170
  12. package/dist/components/DispatchDecisionCard.js +24 -25
  13. package/dist/components/DocumentsCard.js +54 -55
  14. package/dist/components/EntityCombobox.js +21 -22
  15. package/dist/components/EpodCaptureForm.js +113 -117
  16. package/dist/components/ExportStatusBanner.js +6 -7
  17. package/dist/components/FleetAlertsPanel.js +28 -29
  18. package/dist/components/ForecastModelsPanel.js +2 -3
  19. package/dist/components/FormError.js +2 -3
  20. package/dist/components/FreeTimeAgreementForm.js +54 -55
  21. package/dist/components/GlassPanel.js +1 -2
  22. package/dist/components/InventoryCoverPanel.js +68 -69
  23. package/dist/components/MetricCard.js +1 -2
  24. package/dist/components/Notice.js +3 -4
  25. package/dist/components/OrderItemRow.js +21 -22
  26. package/dist/components/PageLayout.js +1 -2
  27. package/dist/components/ProofOfDeliveryCard.js +19 -20
  28. package/dist/components/ReturnInstructionForm.js +28 -29
  29. package/dist/components/ReuseControls.js +1 -2
  30. package/dist/components/ReusePermissionForm.js +23 -24
  31. package/dist/components/ReuseProposalForm.js +168 -169
  32. package/dist/components/ReuseSourceFields.js +1 -2
  33. package/dist/components/ScenarioPlanningPanel.js +80 -81
  34. package/dist/components/ShipmentDecisionPanel.js +59 -60
  35. package/dist/components/ShipmentRiskDialog.js +32 -33
  36. package/dist/components/ShippingQuoteResults.js +32 -33
  37. package/dist/components/SignaturePad.js +7 -8
  38. package/dist/components/StatusBadge.js +1 -2
  39. package/dist/components/StockActionDialogs.js +77 -78
  40. package/dist/components/TrackingAlertList.js +26 -27
  41. package/dist/components/UpcomingDemandPanel.js +24 -25
  42. package/dist/components/VehicleServiceCard.js +34 -39
  43. package/dist/components/charts/ChartShell.js +1 -2
  44. package/dist/components/charts/Sparkline.js +14 -15
  45. package/dist/components/charts/StatusDonut.js +12 -13
  46. package/dist/components/charts/TrendChart.js +29 -30
  47. package/dist/components/charts/VolumeBar.js +21 -22
  48. package/dist/components/charts/chartTokens.js +1 -2
  49. package/dist/components/charts/index.js +7 -6
  50. package/dist/components/consolidation/ConsolidationHistory.js +1 -2
  51. package/dist/components/consolidation/ConsolidationLotEditor.js +22 -23
  52. package/dist/components/consolidation/ConsolidationManifestWorkbench.js +30 -31
  53. package/dist/components/consolidation/ConsolidationPlanForm.js +44 -45
  54. package/dist/components/consolidation/ConsolidationPlanWorkbench.js +106 -105
  55. package/dist/components/consolidation/ConsolidationReportForm.js +17 -18
  56. package/dist/components/consolidation/ConsolidationReportsWorkbench.js +35 -36
  57. package/dist/components/consolidation/ConsolidationSummary.js +1 -2
  58. package/dist/components/consolidation/OriginalConsolidationHistory.js +15 -16
  59. package/dist/components/freight-cost/FreightCommercialEditor.js +39 -40
  60. package/dist/components/freight-cost/FreightCommercialFactEditor.js +2 -3
  61. package/dist/components/freight-cost/FreightCommercialHistory.js +8 -9
  62. package/dist/components/freight-cost/FreightDraftForm.js +45 -47
  63. package/dist/components/freight-cost/FreightFields.js +1 -2
  64. package/dist/components/freight-cost/FreightFxEditor.js +1 -2
  65. package/dist/components/freight-cost/FreightHistory.js +32 -33
  66. package/dist/components/freight-cost/FreightLineEditor.js +1 -2
  67. package/dist/components/freight-cost/FreightScopeEditor.js +1 -2
  68. package/dist/components/freight-cost/FreightTotals.js +1 -2
  69. package/dist/components/freight-invoice/InvoiceForm.js +41 -42
  70. package/dist/components/freight-invoice/InvoiceResults.js +42 -43
  71. package/dist/components/freight-invoice/InvoiceReviewPanel.js +26 -28
  72. package/dist/components/freight-invoice/InvoiceReviewQueue.js +9 -10
  73. package/dist/components/index.js +22 -21
  74. package/dist/components/logistics-procedure/ProcedureDecisionForm.js +24 -25
  75. package/dist/components/logistics-procedure/ProcedureFields.js +1 -2
  76. package/dist/components/logistics-procedure/ProcedureHistory.js +29 -30
  77. package/dist/components/logistics-procedure/ProcedurePolicyForm.js +27 -28
  78. package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +23 -24
  79. package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +43 -44
  80. package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +30 -31
  81. package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +1 -2
  82. package/dist/components/maps/LogisticsMap.js +12 -13
  83. package/dist/components/maps/MapCanvas.js +31 -29
  84. package/dist/components/maps/RouteMap.js +6 -7
  85. package/dist/components/maps/TrackingMap.js +17 -18
  86. package/dist/components/maps/index.js +6 -5
  87. package/dist/components/maps/leaflet-setup.js +2 -3
  88. package/dist/components/marketplace/MarketplaceDialogs.js +26 -28
  89. package/dist/components/pallet-preview/PalletPreviewResults.js +2 -3
  90. package/dist/components/pending-pick/PendingPickDraft.js +1 -2
  91. package/dist/components/pending-pick/PendingPickHistory.js +32 -33
  92. package/dist/components/pending-pick/PickCapture.js +1 -2
  93. package/dist/components/pending-pick/PickLineSelection.js +1 -2
  94. package/dist/components/pending-pick/PickReviewPanel.js +53 -53
  95. package/dist/components/stock-binding/StockAssessmentDraft.js +5 -6
  96. package/dist/components/stock-binding/StockAssessmentHistory.js +18 -19
  97. package/dist/components/stock-binding/StockAssessmentSummary.js +1 -2
  98. package/dist/components/stock-binding/StockFactForm.js +5 -6
  99. package/dist/components/stock-observation/StockIssueForm.js +1 -2
  100. package/dist/components/stock-observation/StockIssueHistory.js +1 -2
  101. package/dist/components/stock-observation/StockIssueReadPanel.js +1 -2
  102. package/dist/components/trip-utilization/TripReportForm.js +6 -7
  103. package/dist/components/trip-utilization/TripReportHistory.js +15 -16
  104. package/dist/components/trip-utilization/TripReportSummary.js +1 -2
  105. package/dist/components/trip-utilization/TripSegmentFields.js +14 -15
  106. package/dist/components/ui.js +1 -2
  107. package/dist/constants/index.js +1 -2
  108. package/dist/hooks/index.js +12 -11
  109. package/dist/hooks/useAnalytics.js +3 -3
  110. package/dist/hooks/useCarrierIntegrations.js +1 -2
  111. package/dist/hooks/useConsolidationAction.js +12 -13
  112. package/dist/hooks/useConsumedFuelPreview.js +17 -18
  113. package/dist/hooks/useContainerCondition.js +4 -3
  114. package/dist/hooks/useContainerLifecycle.js +70 -80
  115. package/dist/hooks/useCustomers.js +17 -16
  116. package/dist/hooks/useDebouncedValue.js +1 -2
  117. package/dist/hooks/useDemandForecast.js +1 -2
  118. package/dist/hooks/useDispatchPlan.js +3 -3
  119. package/dist/hooks/useDocumentExtractions.js +12 -13
  120. package/dist/hooks/useDriverDay.js +3 -4
  121. package/dist/hooks/useEmptyReuseAction.js +1 -2
  122. package/dist/hooks/useEntityDocuments.js +25 -27
  123. package/dist/hooks/useEntityExport.js +7 -8
  124. package/dist/hooks/useEntityImport.js +1 -2
  125. package/dist/hooks/useEpod.js +79 -81
  126. package/dist/hooks/useFleet.js +70 -74
  127. package/dist/hooks/useFleetIntelligence.js +1 -2
  128. package/dist/hooks/useForecastModelChoices.js +1 -2
  129. package/dist/hooks/useFreightRecoveryAction.js +15 -16
  130. package/dist/hooks/useInventory.js +59 -60
  131. package/dist/hooks/useInventoryCoverPlan.js +2 -3
  132. package/dist/hooks/useInvoiceComparisonRecovery.js +52 -52
  133. package/dist/hooks/useInvoiceReviewPermissions.js +1 -2
  134. package/dist/hooks/useMarketplace.js +1 -2
  135. package/dist/hooks/useMultiModalShipments.js +1 -2
  136. package/dist/hooks/useOrderDispatch.js +6 -5
  137. package/dist/hooks/useOrders.js +44 -46
  138. package/dist/hooks/usePalletPreview.js +19 -20
  139. package/dist/hooks/useProcedureAction.js +24 -25
  140. package/dist/hooks/useProcedureSelection.js +6 -7
  141. package/dist/hooks/useRefetchOnLeaveEdit.js +1 -2
  142. package/dist/hooks/useReuseRecoveryAction.js +26 -27
  143. package/dist/hooks/useRoutes.js +12 -14
  144. package/dist/hooks/useScenarioPlanning.js +20 -21
  145. package/dist/hooks/useShipmentDecision.js +1 -2
  146. package/dist/hooks/useShipmentPermissions.js +1 -2
  147. package/dist/hooks/useShipmentRisk.js +12 -14
  148. package/dist/hooks/useShipmentStatusAuthority.js +7 -5
  149. package/dist/hooks/useShippingCarriers.js +1 -2
  150. package/dist/hooks/useTracking.js +53 -52
  151. package/dist/hooks/useTrackingEventQuality.js +26 -27
  152. package/dist/index.js +15 -15
  153. package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
  154. package/dist/node_modules/@react-leaflet/core/lib/attribution.js +1 -2
  155. package/dist/node_modules/@react-leaflet/core/lib/component.js +1 -2
  156. package/dist/node_modules/@react-leaflet/core/lib/context.js +0 -1
  157. package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +1 -2
  158. package/dist/node_modules/@react-leaflet/core/lib/element.js +1 -2
  159. package/dist/node_modules/@react-leaflet/core/lib/events.js +1 -2
  160. package/dist/node_modules/@react-leaflet/core/lib/generic.js +9 -6
  161. package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +1 -2
  162. package/dist/node_modules/@react-leaflet/core/lib/layer.js +1 -2
  163. package/dist/node_modules/@react-leaflet/core/lib/pane.js +1 -2
  164. package/dist/node_modules/@react-leaflet/core/lib/path.js +6 -7
  165. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  166. package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
  167. package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
  168. package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
  169. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
  170. package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
  171. package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
  172. package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
  173. package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
  174. package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
  175. package/dist/node_modules/decimal.js-light/decimal.js +33 -30
  176. package/dist/node_modules/eventemitter3/index.js +2 -3
  177. package/dist/node_modules/fast-equals/dist/es/index.js +89 -72
  178. package/dist/node_modules/leaflet/dist/leaflet-src.js +114 -167
  179. package/dist/node_modules/lodash/_DataView.js +4 -5
  180. package/dist/node_modules/lodash/_Hash.js +1 -2
  181. package/dist/node_modules/lodash/_ListCache.js +1 -2
  182. package/dist/node_modules/lodash/_Map.js +4 -5
  183. package/dist/node_modules/lodash/_MapCache.js +1 -2
  184. package/dist/node_modules/lodash/_Promise.js +4 -5
  185. package/dist/node_modules/lodash/_Set.js +4 -5
  186. package/dist/node_modules/lodash/_SetCache.js +1 -2
  187. package/dist/node_modules/lodash/_Stack.js +1 -2
  188. package/dist/node_modules/lodash/_Symbol.js +1 -2
  189. package/dist/node_modules/lodash/_Uint8Array.js +1 -2
  190. package/dist/node_modules/lodash/_WeakMap.js +4 -5
  191. package/dist/node_modules/lodash/_apply.js +1 -2
  192. package/dist/node_modules/lodash/_arrayEvery.js +1 -2
  193. package/dist/node_modules/lodash/_arrayFilter.js +1 -2
  194. package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
  195. package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
  196. package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
  197. package/dist/node_modules/lodash/_arrayMap.js +1 -2
  198. package/dist/node_modules/lodash/_arrayPush.js +1 -2
  199. package/dist/node_modules/lodash/_arraySome.js +1 -2
  200. package/dist/node_modules/lodash/_asciiToArray.js +1 -2
  201. package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
  202. package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
  203. package/dist/node_modules/lodash/_baseEach.js +1 -2
  204. package/dist/node_modules/lodash/_baseEvery.js +1 -2
  205. package/dist/node_modules/lodash/_baseExtremum.js +1 -2
  206. package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
  207. package/dist/node_modules/lodash/_baseFlatten.js +1 -2
  208. package/dist/node_modules/lodash/_baseFor.js +1 -2
  209. package/dist/node_modules/lodash/_baseForOwn.js +4 -5
  210. package/dist/node_modules/lodash/_baseGet.js +1 -2
  211. package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
  212. package/dist/node_modules/lodash/_baseGetTag.js +1 -2
  213. package/dist/node_modules/lodash/_baseGt.js +1 -2
  214. package/dist/node_modules/lodash/_baseHasIn.js +1 -2
  215. package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
  216. package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
  217. package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
  218. package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
  219. package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
  220. package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
  221. package/dist/node_modules/lodash/_baseIsNative.js +5 -6
  222. package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
  223. package/dist/node_modules/lodash/_baseIteratee.js +6 -7
  224. package/dist/node_modules/lodash/_baseKeys.js +1 -2
  225. package/dist/node_modules/lodash/_baseLt.js +1 -2
  226. package/dist/node_modules/lodash/_baseMap.js +4 -5
  227. package/dist/node_modules/lodash/_baseMatches.js +1 -2
  228. package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
  229. package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
  230. package/dist/node_modules/lodash/_baseProperty.js +1 -2
  231. package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
  232. package/dist/node_modules/lodash/_baseRange.js +1 -2
  233. package/dist/node_modules/lodash/_baseRest.js +1 -2
  234. package/dist/node_modules/lodash/_baseSetToString.js +5 -6
  235. package/dist/node_modules/lodash/_baseSlice.js +1 -2
  236. package/dist/node_modules/lodash/_baseSome.js +1 -2
  237. package/dist/node_modules/lodash/_baseSortBy.js +1 -2
  238. package/dist/node_modules/lodash/_baseTimes.js +1 -2
  239. package/dist/node_modules/lodash/_baseToString.js +6 -7
  240. package/dist/node_modules/lodash/_baseTrim.js +1 -2
  241. package/dist/node_modules/lodash/_baseUnary.js +1 -2
  242. package/dist/node_modules/lodash/_baseUniq.js +7 -8
  243. package/dist/node_modules/lodash/_cacheHas.js +1 -2
  244. package/dist/node_modules/lodash/_castPath.js +1 -2
  245. package/dist/node_modules/lodash/_castSlice.js +1 -2
  246. package/dist/node_modules/lodash/_compareAscending.js +1 -2
  247. package/dist/node_modules/lodash/_compareMultiple.js +1 -2
  248. package/dist/node_modules/lodash/_coreJsData.js +1 -2
  249. package/dist/node_modules/lodash/_createBaseEach.js +1 -2
  250. package/dist/node_modules/lodash/_createBaseFor.js +1 -2
  251. package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
  252. package/dist/node_modules/lodash/_createFind.js +5 -6
  253. package/dist/node_modules/lodash/_createRange.js +4 -5
  254. package/dist/node_modules/lodash/_createSet.js +6 -7
  255. package/dist/node_modules/lodash/_defineProperty.js +1 -2
  256. package/dist/node_modules/lodash/_equalArrays.js +1 -2
  257. package/dist/node_modules/lodash/_equalByTag.js +5 -6
  258. package/dist/node_modules/lodash/_equalObjects.js +1 -2
  259. package/dist/node_modules/lodash/_freeGlobal.js +1 -2
  260. package/dist/node_modules/lodash/_getAllKeys.js +1 -2
  261. package/dist/node_modules/lodash/_getMapData.js +1 -2
  262. package/dist/node_modules/lodash/_getMatchData.js +4 -5
  263. package/dist/node_modules/lodash/_getNative.js +1 -2
  264. package/dist/node_modules/lodash/_getPrototype.js +1 -2
  265. package/dist/node_modules/lodash/_getRawTag.js +1 -2
  266. package/dist/node_modules/lodash/_getSymbols.js +1 -2
  267. package/dist/node_modules/lodash/_getTag.js +9 -10
  268. package/dist/node_modules/lodash/_getValue.js +1 -2
  269. package/dist/node_modules/lodash/_hasPath.js +8 -9
  270. package/dist/node_modules/lodash/_hasUnicode.js +1 -2
  271. package/dist/node_modules/lodash/_hashClear.js +1 -2
  272. package/dist/node_modules/lodash/_hashDelete.js +1 -2
  273. package/dist/node_modules/lodash/_hashGet.js +1 -2
  274. package/dist/node_modules/lodash/_hashHas.js +1 -2
  275. package/dist/node_modules/lodash/_hashSet.js +1 -2
  276. package/dist/node_modules/lodash/_isFlattenable.js +5 -6
  277. package/dist/node_modules/lodash/_isIndex.js +6 -7
  278. package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
  279. package/dist/node_modules/lodash/_isKey.js +1 -2
  280. package/dist/node_modules/lodash/_isKeyable.js +1 -2
  281. package/dist/node_modules/lodash/_isMasked.js +1 -2
  282. package/dist/node_modules/lodash/_isPrototype.js +1 -2
  283. package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
  284. package/dist/node_modules/lodash/_listCacheClear.js +1 -2
  285. package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
  286. package/dist/node_modules/lodash/_listCacheGet.js +1 -2
  287. package/dist/node_modules/lodash/_listCacheHas.js +1 -2
  288. package/dist/node_modules/lodash/_listCacheSet.js +1 -2
  289. package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
  290. package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
  291. package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
  292. package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
  293. package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
  294. package/dist/node_modules/lodash/_mapToArray.js +1 -2
  295. package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
  296. package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
  297. package/dist/node_modules/lodash/_nativeCreate.js +1 -2
  298. package/dist/node_modules/lodash/_nativeKeys.js +1 -2
  299. package/dist/node_modules/lodash/_nodeUtil.js +1 -2
  300. package/dist/node_modules/lodash/_objectToString.js +1 -2
  301. package/dist/node_modules/lodash/_overArg.js +1 -2
  302. package/dist/node_modules/lodash/_overRest.js +1 -2
  303. package/dist/node_modules/lodash/_root.js +1 -2
  304. package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
  305. package/dist/node_modules/lodash/_setCacheHas.js +1 -2
  306. package/dist/node_modules/lodash/_setToArray.js +1 -2
  307. package/dist/node_modules/lodash/_setToString.js +1 -2
  308. package/dist/node_modules/lodash/_shortOut.js +8 -9
  309. package/dist/node_modules/lodash/_stackClear.js +1 -2
  310. package/dist/node_modules/lodash/_stackDelete.js +1 -2
  311. package/dist/node_modules/lodash/_stackGet.js +1 -2
  312. package/dist/node_modules/lodash/_stackHas.js +1 -2
  313. package/dist/node_modules/lodash/_stackSet.js +1 -2
  314. package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
  315. package/dist/node_modules/lodash/_stringToArray.js +4 -5
  316. package/dist/node_modules/lodash/_stringToPath.js +1 -2
  317. package/dist/node_modules/lodash/_toKey.js +2 -3
  318. package/dist/node_modules/lodash/_toSource.js +1 -2
  319. package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
  320. package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
  321. package/dist/node_modules/lodash/constant.js +1 -2
  322. package/dist/node_modules/lodash/debounce.js +1 -2
  323. package/dist/node_modules/lodash/eq.js +1 -2
  324. package/dist/node_modules/lodash/every.js +7 -8
  325. package/dist/node_modules/lodash/find.js +1 -2
  326. package/dist/node_modules/lodash/findIndex.js +4 -5
  327. package/dist/node_modules/lodash/flatMap.js +1 -2
  328. package/dist/node_modules/lodash/get.js +1 -2
  329. package/dist/node_modules/lodash/hasIn.js +1 -2
  330. package/dist/node_modules/lodash/identity.js +1 -2
  331. package/dist/node_modules/lodash/isArguments.js +4 -5
  332. package/dist/node_modules/lodash/isArray.js +1 -2
  333. package/dist/node_modules/lodash/isArrayLike.js +1 -2
  334. package/dist/node_modules/lodash/isBoolean.js +1 -2
  335. package/dist/node_modules/lodash/isBuffer.js +1 -2
  336. package/dist/node_modules/lodash/isEqual.js +1 -2
  337. package/dist/node_modules/lodash/isFunction.js +1 -2
  338. package/dist/node_modules/lodash/isLength.js +4 -6
  339. package/dist/node_modules/lodash/isNaN.js +1 -2
  340. package/dist/node_modules/lodash/isNil.js +1 -2
  341. package/dist/node_modules/lodash/isNumber.js +1 -2
  342. package/dist/node_modules/lodash/isObject.js +1 -2
  343. package/dist/node_modules/lodash/isObjectLike.js +1 -2
  344. package/dist/node_modules/lodash/isPlainObject.js +4 -5
  345. package/dist/node_modules/lodash/isString.js +4 -5
  346. package/dist/node_modules/lodash/isSymbol.js +1 -2
  347. package/dist/node_modules/lodash/isTypedArray.js +1 -2
  348. package/dist/node_modules/lodash/keys.js +1 -2
  349. package/dist/node_modules/lodash/last.js +1 -2
  350. package/dist/node_modules/lodash/map.js +6 -7
  351. package/dist/node_modules/lodash/mapValues.js +4 -5
  352. package/dist/node_modules/lodash/max.js +5 -6
  353. package/dist/node_modules/lodash/maxBy.js +5 -6
  354. package/dist/node_modules/lodash/memoize.js +1 -2
  355. package/dist/node_modules/lodash/min.js +5 -6
  356. package/dist/node_modules/lodash/minBy.js +4 -5
  357. package/dist/node_modules/lodash/noop.js +1 -2
  358. package/dist/node_modules/lodash/now.js +1 -2
  359. package/dist/node_modules/lodash/property.js +6 -7
  360. package/dist/node_modules/lodash/range.js +1 -2
  361. package/dist/node_modules/lodash/some.js +7 -8
  362. package/dist/node_modules/lodash/sortBy.js +1 -2
  363. package/dist/node_modules/lodash/stubArray.js +1 -2
  364. package/dist/node_modules/lodash/stubFalse.js +1 -2
  365. package/dist/node_modules/lodash/throttle.js +4 -5
  366. package/dist/node_modules/lodash/toFinite.js +2 -3
  367. package/dist/node_modules/lodash/toInteger.js +1 -2
  368. package/dist/node_modules/lodash/toNumber.js +4 -5
  369. package/dist/node_modules/lodash/toString.js +1 -2
  370. package/dist/node_modules/lodash/uniqBy.js +1 -2
  371. package/dist/node_modules/lodash/upperFirst.js +1 -2
  372. package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -7
  373. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +3 -4
  374. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -3
  375. package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +3 -4
  376. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +3 -4
  377. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +3 -4
  378. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down.js +3 -4
  379. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +3 -4
  380. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +3 -4
  381. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +3 -4
  382. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +3 -4
  383. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +3 -4
  384. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +3 -4
  385. package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +3 -4
  386. package/dist/node_modules/lucide-react/dist/esm/icons/bell-ring.js +3 -4
  387. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +3 -4
  388. package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +3 -4
  389. package/dist/node_modules/lucide-react/dist/esm/icons/box.js +3 -4
  390. package/dist/node_modules/lucide-react/dist/esm/icons/boxes.js +3 -4
  391. package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +3 -4
  392. package/dist/node_modules/lucide-react/dist/esm/icons/building.js +3 -4
  393. package/dist/node_modules/lucide-react/dist/esm/icons/calculator.js +3 -4
  394. package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +3 -4
  395. package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +3 -4
  396. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +3 -4
  397. package/dist/node_modules/lucide-react/dist/esm/icons/car.js +3 -4
  398. package/dist/node_modules/lucide-react/dist/esm/icons/chart-column.js +3 -4
  399. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +3 -4
  400. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +3 -4
  401. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +3 -4
  402. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +3 -4
  403. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +3 -4
  404. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +3 -4
  405. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +3 -4
  406. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-up-down.js +3 -4
  407. package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +3 -4
  408. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check-big.js +3 -4
  409. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +3 -4
  410. package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +3 -4
  411. package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +3 -4
  412. package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +3 -4
  413. package/dist/node_modules/lucide-react/dist/esm/icons/cloud-download.js +3 -4
  414. package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +3 -4
  415. package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +3 -4
  416. package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +3 -4
  417. package/dist/node_modules/lucide-react/dist/esm/icons/dollar-sign.js +3 -4
  418. package/dist/node_modules/lucide-react/dist/esm/icons/download.js +3 -4
  419. package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +3 -4
  420. package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +3 -4
  421. package/dist/node_modules/lucide-react/dist/esm/icons/file-check.js +3 -4
  422. package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +3 -4
  423. package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +3 -4
  424. package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +3 -4
  425. package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +3 -4
  426. package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +3 -4
  427. package/dist/node_modules/lucide-react/dist/esm/icons/fuel.js +3 -4
  428. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +3 -4
  429. package/dist/node_modules/lucide-react/dist/esm/icons/git-compare.js +3 -4
  430. package/dist/node_modules/lucide-react/dist/esm/icons/history.js +3 -4
  431. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +3 -4
  432. package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +3 -4
  433. package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +3 -4
  434. package/dist/node_modules/lucide-react/dist/esm/icons/leaf.js +3 -4
  435. package/dist/node_modules/lucide-react/dist/esm/icons/list.js +3 -4
  436. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +3 -4
  437. package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +3 -4
  438. package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +3 -4
  439. package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +3 -4
  440. package/dist/node_modules/lucide-react/dist/esm/icons/map.js +3 -4
  441. package/dist/node_modules/lucide-react/dist/esm/icons/navigation.js +3 -4
  442. package/dist/node_modules/lucide-react/dist/esm/icons/package-plus.js +3 -4
  443. package/dist/node_modules/lucide-react/dist/esm/icons/package.js +3 -4
  444. package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +3 -4
  445. package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +3 -4
  446. package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +3 -4
  447. package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +3 -4
  448. package/dist/node_modules/lucide-react/dist/esm/icons/plane.js +3 -4
  449. package/dist/node_modules/lucide-react/dist/esm/icons/play.js +3 -4
  450. package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +3 -4
  451. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +3 -4
  452. package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +3 -4
  453. package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +3 -4
  454. package/dist/node_modules/lucide-react/dist/esm/icons/receipt.js +3 -4
  455. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +3 -4
  456. package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +3 -4
  457. package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +3 -4
  458. package/dist/node_modules/lucide-react/dist/esm/icons/route.js +3 -4
  459. package/dist/node_modules/lucide-react/dist/esm/icons/save.js +3 -4
  460. package/dist/node_modules/lucide-react/dist/esm/icons/scale.js +3 -4
  461. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +3 -4
  462. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +3 -4
  463. package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +3 -4
  464. package/dist/node_modules/lucide-react/dist/esm/icons/ship.js +3 -4
  465. package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +3 -4
  466. package/dist/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js +3 -4
  467. package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +3 -4
  468. package/dist/node_modules/lucide-react/dist/esm/icons/square-pen.js +3 -4
  469. package/dist/node_modules/lucide-react/dist/esm/icons/star.js +3 -4
  470. package/dist/node_modules/lucide-react/dist/esm/icons/sticky-note.js +3 -4
  471. package/dist/node_modules/lucide-react/dist/esm/icons/store.js +3 -4
  472. package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +3 -4
  473. package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +3 -4
  474. package/dist/node_modules/lucide-react/dist/esm/icons/train-front.js +3 -4
  475. package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +3 -4
  476. package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +3 -4
  477. package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +3 -4
  478. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +3 -4
  479. package/dist/node_modules/lucide-react/dist/esm/icons/truck.js +3 -4
  480. package/dist/node_modules/lucide-react/dist/esm/icons/type.js +3 -4
  481. package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +3 -4
  482. package/dist/node_modules/lucide-react/dist/esm/icons/user-check.js +3 -4
  483. package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +3 -4
  484. package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +3 -4
  485. package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +3 -4
  486. package/dist/node_modules/lucide-react/dist/esm/icons/user-x.js +3 -4
  487. package/dist/node_modules/lucide-react/dist/esm/icons/user.js +3 -4
  488. package/dist/node_modules/lucide-react/dist/esm/icons/users.js +3 -4
  489. package/dist/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js +3 -4
  490. package/dist/node_modules/lucide-react/dist/esm/icons/warehouse.js +3 -4
  491. package/dist/node_modules/lucide-react/dist/esm/icons/wifi-off.js +3 -4
  492. package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +3 -4
  493. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +3 -4
  494. package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +3 -4
  495. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +1 -2
  496. package/dist/node_modules/object-assign/index.js +1 -2
  497. package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
  498. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
  499. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  500. package/dist/node_modules/prop-types/index.js +1 -2
  501. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
  502. package/dist/node_modules/prop-types/lib/has.js +1 -2
  503. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
  504. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  505. package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
  506. package/dist/node_modules/react-leaflet/lib/MapContainer.js +1 -2
  507. package/dist/node_modules/react-leaflet/lib/Marker.js +7 -8
  508. package/dist/node_modules/react-leaflet/lib/Polyline.js +7 -8
  509. package/dist/node_modules/react-leaflet/lib/Popup.js +7 -7
  510. package/dist/node_modules/react-leaflet/lib/TileLayer.js +12 -12
  511. package/dist/node_modules/react-leaflet/lib/hooks.js +1 -2
  512. package/dist/node_modules/react-smooth/es6/Animate.js +31 -39
  513. package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
  514. package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
  515. package/dist/node_modules/react-smooth/es6/easing.js +1 -2
  516. package/dist/node_modules/react-smooth/es6/index.js +1 -2
  517. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
  518. package/dist/node_modules/react-smooth/es6/util.js +17 -16
  519. package/dist/node_modules/recharts/es6/cartesian/Area.js +95 -96
  520. package/dist/node_modules/recharts/es6/cartesian/Bar.js +100 -101
  521. package/dist/node_modules/recharts/es6/cartesian/Brush.js +23 -24
  522. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +58 -65
  523. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +33 -34
  524. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +17 -18
  525. package/dist/node_modules/recharts/es6/cartesian/Line.js +76 -77
  526. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +28 -29
  527. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +22 -23
  528. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +28 -29
  529. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +8 -9
  530. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +8 -9
  531. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
  532. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
  533. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -4
  534. package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
  535. package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
  536. package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
  537. package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
  538. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
  539. package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
  540. package/dist/node_modules/recharts/es6/component/Cursor.js +16 -17
  541. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +27 -28
  542. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +11 -12
  543. package/dist/node_modules/recharts/es6/component/Label.js +78 -79
  544. package/dist/node_modules/recharts/es6/component/LabelList.js +16 -17
  545. package/dist/node_modules/recharts/es6/component/Legend.js +25 -22
  546. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +14 -15
  547. package/dist/node_modules/recharts/es6/component/Text.js +17 -20
  548. package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
  549. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +1 -2
  550. package/dist/node_modules/recharts/es6/container/Layer.js +3 -4
  551. package/dist/node_modules/recharts/es6/container/Surface.js +3 -4
  552. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +20 -20
  553. package/dist/node_modules/recharts/es6/polar/Pie.js +102 -106
  554. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +28 -29
  555. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +36 -39
  556. package/dist/node_modules/recharts/es6/shape/Cross.js +3 -4
  557. package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
  558. package/dist/node_modules/recharts/es6/shape/Dot.js +2 -3
  559. package/dist/node_modules/recharts/es6/shape/Polygon.js +3 -4
  560. package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
  561. package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
  562. package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
  563. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
  564. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +20 -21
  565. package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
  566. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +32 -33
  567. package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
  568. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
  569. package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
  570. package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
  571. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
  572. package/dist/node_modules/recharts/es6/util/Events.js +0 -1
  573. package/dist/node_modules/recharts/es6/util/Global.js +0 -1
  574. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
  575. package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
  576. package/dist/node_modules/recharts/es6/util/PolarUtils.js +5 -6
  577. package/dist/node_modules/recharts/es6/util/ReactUtils.js +10 -11
  578. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +4 -5
  579. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
  580. package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
  581. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
  582. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
  583. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
  584. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
  585. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
  586. package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
  587. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
  588. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
  589. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
  590. package/dist/node_modules/recharts/es6/util/types.js +1 -2
  591. package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +31 -32
  592. package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  593. package/dist/node_modules/recharts/node_modules/react-is/index.js +2 -3
  594. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
  595. package/dist/node_modules/recharts-scale/es6/index.js +1 -1
  596. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
  597. package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
  598. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
  599. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
  600. package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
  601. package/dist/node_modules/zustand/esm/middleware.js +209 -112
  602. package/dist/pages/AnalyticsPage.js +41 -42
  603. package/dist/pages/ConsolidationPage.js +8 -9
  604. package/dist/pages/ConsumedFuelPreviewPage.js +60 -61
  605. package/dist/pages/ContainerConditionPage.js +49 -50
  606. package/dist/pages/ContainersPage.js +53 -53
  607. package/dist/pages/CreateOrderPage.js +134 -144
  608. package/dist/pages/CustomerDetailsPage.js +342 -345
  609. package/dist/pages/CustomersPage.js +36 -37
  610. package/dist/pages/DashboardPage.js +92 -93
  611. package/dist/pages/DeliveryCapturePage.js +199 -200
  612. package/dist/pages/DispatchPlanPage.js +94 -95
  613. package/dist/pages/DriverDetailsPage.js +393 -399
  614. package/dist/pages/DriversPage.js +64 -65
  615. package/dist/pages/EmptyReusePage.js +320 -321
  616. package/dist/pages/FinancePage.js +72 -70
  617. package/dist/pages/FleetPage.js +88 -89
  618. package/dist/pages/FreeTimePage.js +92 -92
  619. package/dist/pages/FreightEstimatePage.js +92 -93
  620. package/dist/pages/FreightInvoicePage.js +123 -124
  621. package/dist/pages/ImportExportPage.js +173 -178
  622. package/dist/pages/IntegrationsPage.js +264 -267
  623. package/dist/pages/InventoryPage.js +233 -234
  624. package/dist/pages/LiveTrackingPage.js +120 -121
  625. package/dist/pages/LogisticsProceduresPage.js +10 -11
  626. package/dist/pages/MarketplacePage.js +170 -171
  627. package/dist/pages/MultiModalShipmentPage.js +172 -177
  628. package/dist/pages/OrderDetailsPage.js +317 -318
  629. package/dist/pages/OrdersListPage.js +163 -164
  630. package/dist/pages/PalletPreviewPage.js +113 -114
  631. package/dist/pages/PendingPickPage.js +32 -33
  632. package/dist/pages/ProductDetailsPage.js +164 -166
  633. package/dist/pages/ProductsPage.js +39 -40
  634. package/dist/pages/ReportsPage.js +315 -316
  635. package/dist/pages/RouteDetailsPage.js +302 -304
  636. package/dist/pages/RoutesPage.js +39 -40
  637. package/dist/pages/SettingsPage.js +87 -88
  638. package/dist/pages/ShipmentStatusAuthorityPage.js +67 -67
  639. package/dist/pages/ShippingRatesPage.js +31 -32
  640. package/dist/pages/StockBindingPage.js +39 -40
  641. package/dist/pages/StockObservationsPage.js +23 -24
  642. package/dist/pages/TrackingEventQualityPage.js +30 -31
  643. package/dist/pages/TrackingPage.js +88 -89
  644. package/dist/pages/TripUtilizationPage.js +24 -25
  645. package/dist/pages/VehicleDetailsPage.js +241 -243
  646. package/dist/pages/VehiclesPage.js +59 -60
  647. package/dist/pages/WarehouseDetailsPage.js +151 -156
  648. package/dist/pages/WarehousesPage.js +33 -34
  649. package/dist/providers/ModuleSettingsProvider.js +1 -2
  650. package/dist/providers/MoveTheWheelsProvider.js +2 -7
  651. package/dist/services/createSandboxAssistantTransport.js +1 -2
  652. package/dist/shared/hooks/useTr.js +1 -2
  653. package/dist/src/generated/consolidation-operations.js +1 -2
  654. package/dist/src/generated/consumed-fuel-preview-operations.js +1 -2
  655. package/dist/src/generated/container-condition-operations.js +1 -2
  656. package/dist/src/generated/container-operations.js +1 -2
  657. package/dist/src/generated/empty-reuse-operations.js +1 -2
  658. package/dist/src/generated/free-time-operations.js +1 -2
  659. package/dist/src/generated/freight-cost-operations.js +1 -2
  660. package/dist/src/generated/freight-invoice-operations.js +1 -2
  661. package/dist/src/generated/logistics-procedure-operations.js +1 -2
  662. package/dist/src/generated/pallet-preview-operations.js +1 -2
  663. package/dist/src/generated/pending-pick-operations.js +1 -2
  664. package/dist/src/generated/shipment-status-authority-operations.js +1 -2
  665. package/dist/src/generated/stock-binding-operations.js +1 -2
  666. package/dist/src/generated/stock-observation-operations.js +1 -2
  667. package/dist/src/generated/tracking-quality-operations.js +1 -2
  668. package/dist/src/generated/trip-utilization-operations.js +1 -2
  669. package/dist/src/generated/wspace-operations.js +1 -2
  670. package/dist/store/movethewheelsStore.js +1 -2
  671. package/dist/utils/carrierIntegrations.js +4 -5
  672. package/dist/utils/cn.js +2 -3
  673. package/dist/utils/consolidationHistoryTarget.js +1 -2
  674. package/dist/utils/consolidationInput.js +1 -2
  675. package/dist/utils/consolidationLot.js +1 -2
  676. package/dist/utils/consolidationPins.js +1 -2
  677. package/dist/utils/consolidationRecovery.js +1 -2
  678. package/dist/utils/consolidationReportHead.js +1 -2
  679. package/dist/utils/consumedFuelInput.js +2 -3
  680. package/dist/utils/consumedFuelResponse.js +2 -3
  681. package/dist/utils/customerNotifications.js +2 -3
  682. package/dist/utils/driverLicenseExpiry.js +1 -2
  683. package/dist/utils/driverNavigation.js +2 -3
  684. package/dist/utils/entityExport.js +3 -4
  685. package/dist/utils/entityImport.js +3 -4
  686. package/dist/utils/formatters.js +37 -37
  687. package/dist/utils/freeTimeDate.js +1 -2
  688. package/dist/utils/freightAcknowledgement.js +1 -2
  689. package/dist/utils/freightCommercial.js +2 -3
  690. package/dist/utils/freightDraft.js +1 -2
  691. package/dist/utils/freightRecovery.js +1 -2
  692. package/dist/utils/graphqlClient.js +1 -2
  693. package/dist/utils/invoiceComparison.js +5 -6
  694. package/dist/utils/invoiceReview.js +1 -2
  695. package/dist/utils/mapMarkers.js +2 -3
  696. package/dist/utils/moduleSettings.js +2 -3
  697. package/dist/utils/navigation.js +2 -3
  698. package/dist/utils/orderPricing.js +1 -2
  699. package/dist/utils/orderValidation.js +3 -4
  700. package/dist/utils/orderVehicleHold.js +2 -3
  701. package/dist/utils/palletPreviewInput.js +1 -2
  702. package/dist/utils/palletPreviewResponse.js +2 -3
  703. package/dist/utils/pendingPickDraft.js +1 -2
  704. package/dist/utils/pickReviewAcknowledgement.js +1 -2
  705. package/dist/utils/procedureInput.js +1 -2
  706. package/dist/utils/procedureRecovery.js +1 -2
  707. package/dist/utils/reports.js +1 -2
  708. package/dist/utils/reuseAttempt.js +1 -2
  709. package/dist/utils/reuseForm.js +1 -2
  710. package/dist/utils/reuseRecovery.js +2 -3
  711. package/dist/utils/shipmentStatusDraft.js +1 -2
  712. package/dist/utils/stockBindingForm.js +1 -2
  713. package/dist/utils/stockBindingLabels.js +1 -2
  714. package/dist/utils/stockObservationForm.js +2 -3
  715. package/dist/utils/trackingAlerts.js +1 -2
  716. package/dist/utils/tripDraftContext.js +1 -2
  717. package/dist/utils/tripUtilizationForm.js +2 -3
  718. package/package.json +136 -86
  719. package/src/movethewheels/utils/orderPricing.test.ts +1 -1
  720. package/dist/node_modules/d3-array/src/ascending.js +0 -6
  721. package/dist/node_modules/d3-array/src/bisect.js +0 -8
  722. package/dist/node_modules/d3-array/src/bisector.js +0 -41
  723. package/dist/node_modules/d3-array/src/descending.js +0 -6
  724. package/dist/node_modules/d3-array/src/max.js +0 -12
  725. package/dist/node_modules/d3-array/src/min.js +0 -12
  726. package/dist/node_modules/d3-array/src/number.js +0 -13
  727. package/dist/node_modules/d3-array/src/quantile.js +0 -23
  728. package/dist/node_modules/d3-array/src/quickselect.js +0 -24
  729. package/dist/node_modules/d3-array/src/range.js +0 -8
  730. package/dist/node_modules/d3-array/src/sort.js +0 -15
  731. package/dist/node_modules/d3-array/src/ticks.js +0 -32
  732. package/dist/node_modules/d3-color/src/color.js +0 -289
  733. package/dist/node_modules/d3-color/src/define.js +0 -11
  734. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
  735. package/dist/node_modules/d3-format/src/exponent.js +0 -7
  736. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
  737. package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
  738. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
  739. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
  740. package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
  741. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
  742. package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
  743. package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
  744. package/dist/node_modules/d3-format/src/identity.js +0 -6
  745. package/dist/node_modules/d3-format/src/locale.js +0 -84
  746. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
  747. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
  748. package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
  749. package/dist/node_modules/d3-interpolate/src/array.js +0 -13
  750. package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
  751. package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
  752. package/dist/node_modules/d3-interpolate/src/color.js +0 -23
  753. package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
  754. package/dist/node_modules/d3-interpolate/src/date.js +0 -9
  755. package/dist/node_modules/d3-interpolate/src/number.js +0 -8
  756. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
  757. package/dist/node_modules/d3-interpolate/src/object.js +0 -12
  758. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
  759. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
  760. package/dist/node_modules/d3-interpolate/src/round.js +0 -8
  761. package/dist/node_modules/d3-interpolate/src/string.js +0 -26
  762. package/dist/node_modules/d3-interpolate/src/value.js +0 -16
  763. package/dist/node_modules/d3-scale/src/band.js +0 -50
  764. package/dist/node_modules/d3-scale/src/constant.js +0 -8
  765. package/dist/node_modules/d3-scale/src/continuous.js +0 -71
  766. package/dist/node_modules/d3-scale/src/diverging.js +0 -80
  767. package/dist/node_modules/d3-scale/src/identity.js +0 -18
  768. package/dist/node_modules/d3-scale/src/init.js +0 -27
  769. package/dist/node_modules/d3-scale/src/linear.js +0 -34
  770. package/dist/node_modules/d3-scale/src/log.js +0 -75
  771. package/dist/node_modules/d3-scale/src/nice.js +0 -8
  772. package/dist/node_modules/d3-scale/src/number.js +0 -6
  773. package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
  774. package/dist/node_modules/d3-scale/src/pow.js +0 -35
  775. package/dist/node_modules/d3-scale/src/quantile.js +0 -35
  776. package/dist/node_modules/d3-scale/src/quantize.js +0 -31
  777. package/dist/node_modules/d3-scale/src/radial.js +0 -37
  778. package/dist/node_modules/d3-scale/src/sequential.js +0 -65
  779. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
  780. package/dist/node_modules/d3-scale/src/symlog.js +0 -28
  781. package/dist/node_modules/d3-scale/src/threshold.js +0 -23
  782. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
  783. package/dist/node_modules/d3-scale/src/time.js +0 -45
  784. package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
  785. package/dist/node_modules/d3-shape/src/area.js +0 -53
  786. package/dist/node_modules/d3-shape/src/array.js +0 -6
  787. package/dist/node_modules/d3-shape/src/constant.js +0 -8
  788. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
  789. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
  790. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
  791. package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
  792. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
  793. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
  794. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
  795. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
  796. package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
  797. package/dist/node_modules/d3-shape/src/line.js +0 -28
  798. package/dist/node_modules/d3-shape/src/math.js +0 -6
  799. package/dist/node_modules/d3-shape/src/noop.js +0 -4
  800. package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
  801. package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
  802. package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
  803. package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
  804. package/dist/node_modules/d3-shape/src/order/none.js +0 -7
  805. package/dist/node_modules/d3-shape/src/path.js +0 -17
  806. package/dist/node_modules/d3-shape/src/point.js +0 -9
  807. package/dist/node_modules/d3-shape/src/stack.js +0 -32
  808. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
  809. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
  810. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
  811. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
  812. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
  813. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
  814. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
  815. package/dist/node_modules/d3-shape/src/symbol.js +0 -21
  816. package/dist/node_modules/d3-time/src/day.js +0 -19
  817. package/dist/node_modules/d3-time/src/duration.js +0 -4
  818. package/dist/node_modules/d3-time/src/hour.js +0 -17
  819. package/dist/node_modules/d3-time/src/interval.js +0 -26
  820. package/dist/node_modules/d3-time/src/millisecond.js +0 -12
  821. package/dist/node_modules/d3-time/src/minute.js +0 -17
  822. package/dist/node_modules/d3-time/src/month.js +0 -16
  823. package/dist/node_modules/d3-time/src/second.js +0 -11
  824. package/dist/node_modules/d3-time/src/ticks.js +0 -123
  825. package/dist/node_modules/d3-time/src/week.js +0 -23
  826. package/dist/node_modules/d3-time/src/year.js +0 -24
  827. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
  828. package/dist/node_modules/internmap/src/index.js +0 -38
@@ -1,15 +1,15 @@
1
- import { ClipboardList as e } from "../node_modules/lucide-react/dist/esm/icons/clipboard-list.js";
2
- import { useMoveTheWheels as t } from "../providers/MoveTheWheelsProvider.js";
3
- import { useShipmentStatusCommand as n, useShipmentStatusQuery as r } from "../hooks/useShipmentStatusAuthority.js";
4
- import { Button as i, Input as a, Label as o, Textarea as s } from "../components/ui.js";
5
- import { PageLayout as c } from "../components/PageLayout.js";
6
- import { ReuseState as l, reuseCard as u } from "../components/ReuseControls.js";
7
- import { StatusAuthorityConfigureDocument as d, StatusAuthorityDetailDocument as f, StatusAuthorityManualDocument as p, StatusAuthorityShipmentsDocument as m, StatusAuthoritySourcesDocument as h } from "../src/generated/shipment-status-authority-operations.js";
8
- import { manualStatusAcknowledged as ee, shipmentSourceInput as te, sourceStatusAcknowledged as ne, statusDecisionReason as re } from "../utils/shipmentStatusDraft.js";
1
+ import e from "../node_modules/lucide-react/dist/esm/icons/clipboard-list.js";
2
+ import { PageLayout as t } from "../components/PageLayout.js";
3
+ import { Button as n, Input as r, Label as i, Textarea as a } from "../components/ui.js";
4
+ import { ReuseState as o, reuseCard as s } from "../components/ReuseControls.js";
5
+ import { useMoveTheWheels as c } from "../providers/MoveTheWheelsProvider.js";
6
+ import { useShipmentStatusCommand as l, useShipmentStatusQuery as u } from "../hooks/useShipmentStatusAuthority.js";
7
+ import { manualStatusAcknowledged as d, shipmentSourceInput as f, sourceStatusAcknowledged as p, statusDecisionReason as m } from "../utils/shipmentStatusDraft.js";
8
+ import { StatusAuthorityConfigureDocument as ee, StatusAuthorityDetailDocument as te, StatusAuthorityManualDocument as ne, StatusAuthorityShipmentsDocument as h, StatusAuthoritySourcesDocument as re } from "../src/generated/shipment-status-authority-operations.js";
9
9
  import { useState as g } from "react";
10
10
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
11
11
  import { PermissionProvider as y, usePermissions as b } from "@burdenoff/fe-libs/shared/providers/shell";
12
- //#region src/movethewheels/pages/ShipmentStatusAuthorityPage.tsx
12
+ // src/movethewheels/pages/ShipmentStatusAuthorityPage.tsx
13
13
  var x = 20, S = [
14
14
  "PLANNED",
15
15
  "PICKED_UP",
@@ -32,29 +32,29 @@ function T(e) {
32
32
  let t = new Date(e);
33
33
  return Number.isFinite(t.getTime()) ? t.toLocaleString() : "Unverified time";
34
34
  }
35
- function E({ offset: e, length: t, busy: n, change: r }) {
35
+ function E({ offset: e, length: t, busy: r, change: i }) {
36
36
  return /* @__PURE__ */ v("div", {
37
37
  className: "flex flex-wrap items-center gap-3",
38
38
  children: [
39
- /* @__PURE__ */ _(i, {
39
+ /* @__PURE__ */ _(n, {
40
40
  variant: "outline",
41
- disabled: n || e === 0,
42
- onClick: () => r(Math.max(0, e - x)),
41
+ disabled: r || e === 0,
42
+ onClick: () => i(Math.max(0, e - x)),
43
43
  children: "Previous page"
44
44
  }),
45
45
  /* @__PURE__ */ _("span", { children: t === void 0 ? "Page unavailable" : `${t} records on this page` }),
46
- /* @__PURE__ */ _(i, {
46
+ /* @__PURE__ */ _(n, {
47
47
  variant: "outline",
48
- disabled: n || t !== x || e >= 9980,
49
- onClick: () => r(e + x),
48
+ disabled: r || t !== x || e >= 9980,
49
+ onClick: () => i(e + x),
50
50
  children: "Next page"
51
51
  })
52
52
  ]
53
53
  });
54
54
  }
55
55
  function D() {
56
- let { workspaceId: n, tenantId: r, currentUser: i, apiGatewayUrl: a } = t();
57
- return /* @__PURE__ */ _(c, {
56
+ let { workspaceId: n, tenantId: r, currentUser: i, apiGatewayUrl: a } = c();
57
+ return /* @__PURE__ */ _(t, {
58
58
  title: "Shipment status authority",
59
59
  subtitle: "Keep recorded status separate from incoming tracking evidence.",
60
60
  icon: /* @__PURE__ */ _(e, { "aria-hidden": "true" }),
@@ -66,7 +66,7 @@ function D() {
66
66
  });
67
67
  }
68
68
  function O() {
69
- let e = b(), [t, n] = g(0), [s, c] = g(""), [u, d] = g(""), [f, p] = g(""), h = r(m, e.hasPermission("shipment:read") ? {
69
+ let e = b(), [t, a] = g(0), [s, c] = g(""), [l, d] = g(""), [f, p] = g(""), m = u(h, e.hasPermission("shipment:read") ? {
70
70
  filter: { search: f || void 0 },
71
71
  pagination: {
72
72
  limit: x,
@@ -77,7 +77,7 @@ function O() {
77
77
  className: "space-y-6",
78
78
  children: [
79
79
  /* @__PURE__ */ _("p", { children: "Incoming evidence can be accepted while its status change is held. A recorded software status is not physical proof of delivery." }),
80
- /* @__PURE__ */ _(l, {
80
+ /* @__PURE__ */ _(o, {
81
81
  loading: e.isLoading,
82
82
  error: e.error?.message ?? null
83
83
  }),
@@ -92,40 +92,40 @@ function O() {
92
92
  /* @__PURE__ */ v("form", {
93
93
  className: "flex flex-wrap gap-3",
94
94
  onSubmit: (e) => {
95
- e.preventDefault(), p(u.trim()), n(0), c("");
95
+ e.preventDefault(), p(l.trim()), a(0), c("");
96
96
  },
97
97
  children: [
98
- /* @__PURE__ */ _(o, {
98
+ /* @__PURE__ */ _(i, {
99
99
  htmlFor: "status-search",
100
100
  children: "Shipment search"
101
101
  }),
102
- /* @__PURE__ */ _(a, {
102
+ /* @__PURE__ */ _(r, {
103
103
  id: "status-search",
104
- value: u,
104
+ value: l,
105
105
  onChange: (e) => d(e.target.value),
106
106
  maxLength: 200
107
107
  }),
108
- /* @__PURE__ */ _(i, {
108
+ /* @__PURE__ */ _(n, {
109
109
  type: "submit",
110
110
  children: "Search shipments"
111
111
  })
112
112
  ]
113
113
  }),
114
- /* @__PURE__ */ _(l, {
115
- loading: h.loading,
116
- error: h.error
114
+ /* @__PURE__ */ _(o, {
115
+ loading: m.loading,
116
+ error: m.error
117
117
  }),
118
118
  /* @__PURE__ */ v("label", {
119
119
  className: "block",
120
120
  children: ["Shipment", /* @__PURE__ */ v("select", {
121
121
  className: "mt-1 w-full rounded-md border bg-bg-surface p-2 text-sm",
122
122
  value: s,
123
- disabled: h.loading || !h.data,
123
+ disabled: m.loading || !m.data,
124
124
  onChange: (e) => c(e.target.value),
125
125
  children: [/* @__PURE__ */ _("option", {
126
126
  value: "",
127
127
  children: "Choose a shipment"
128
- }), h.data?.shipments.map((e) => /* @__PURE__ */ v("option", {
128
+ }), m.data?.shipments.map((e) => /* @__PURE__ */ v("option", {
129
129
  value: e.id,
130
130
  children: [
131
131
  e.shipmentNumber,
@@ -135,13 +135,13 @@ function O() {
135
135
  }, e.id))]
136
136
  })]
137
137
  }),
138
- h.data?.shipments.length === 0 && /* @__PURE__ */ _("p", { children: "No shipments on this page." }),
138
+ m.data?.shipments.length === 0 && /* @__PURE__ */ _("p", { children: "No shipments on this page." }),
139
139
  /* @__PURE__ */ _(E, {
140
140
  offset: t,
141
- length: h.data?.shipments.length,
142
- busy: h.loading,
141
+ length: m.data?.shipments.length,
142
+ busy: m.loading,
143
143
  change: (e) => {
144
- n(e), c("");
144
+ a(e), c("");
145
145
  }
146
146
  })
147
147
  ]
@@ -155,7 +155,7 @@ function O() {
155
155
  });
156
156
  }
157
157
  function k({ id: e, canUpdate: t, canReadSources: c }) {
158
- let [m, y] = g(0), [b, D] = g(0), [O, k] = g(0), [A, ie] = g(0), j = n(), M = r(f, {
158
+ let [h, y] = g(0), [b, D] = g(0), [O, k] = g(0), [A, ie] = g(0), j = l(), M = u(te, {
159
159
  id: e,
160
160
  pagination: {
161
161
  limit: x,
@@ -165,10 +165,10 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
165
165
  limit: x,
166
166
  offset: A
167
167
  }
168
- }, m + j.revision), N = r(h, t && c ? { pagination: {
168
+ }, h + j.revision), N = u(re, t && c ? { pagination: {
169
169
  limit: x,
170
170
  offset: O
171
- } } : null), P = M.data?.shipment, [F, I] = g(C), [L, R] = g(""), [z, B] = g(""), [V, H] = g(null), [U, W] = g(null), [G, K] = g(!1), [ae, q] = g(0), J = m >= ae && !!P && !M.loading && !M.error, Y = V !== null && P != null && V !== P.statusRevision, X = j.feedback?.kind === "UNKNOWN", Z = j.busy || M.loading || !P || V === null || Y || X || !J, Q = P?.trackingEvents.filter((e) => e.sourceIntegrationId === F.integrationId && e.sourceTimestampProvenance === "PROVIDER_TIME_VALIDATED" && e.providerEventTime && e.eventType !== "CREATED") ?? [], $ = (e, t) => I((n) => ({
171
+ } } : null), P = M.data?.shipment, [F, I] = g(C), [L, R] = g(""), [z, B] = g(""), [V, H] = g(null), [U, W] = g(null), [G, K] = g(!1), [ae, q] = g(0), J = h >= ae && !!P && !M.loading && !M.error, Y = V !== null && P != null && V !== P.statusRevision, X = j.feedback?.kind === "UNKNOWN", Z = j.busy || M.loading || !P || V === null || Y || X || !J, Q = P?.trackingEvents.filter((e) => e.sourceIntegrationId === F.integrationId && e.sourceTimestampProvenance === "PROVIDER_TIME_VALIDATED" && e.providerEventTime && e.eventType !== "CREATED") ?? [], $ = (e, t) => I((n) => ({
172
172
  ...n,
173
173
  [e]: t
174
174
  }));
@@ -176,7 +176,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
176
176
  className: "space-y-6",
177
177
  children: [
178
178
  /* @__PURE__ */ v("section", {
179
- className: u,
179
+ className: s,
180
180
  "aria-label": "Recorded shipment status",
181
181
  children: [
182
182
  /* @__PURE__ */ v("div", {
@@ -184,7 +184,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
184
184
  children: [/* @__PURE__ */ _("h2", {
185
185
  className: "font-semibold",
186
186
  children: "Recorded status"
187
- }), /* @__PURE__ */ _(i, {
187
+ }), /* @__PURE__ */ _(n, {
188
188
  variant: "outline",
189
189
  disabled: M.loading || j.busy,
190
190
  onClick: () => {
@@ -193,7 +193,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
193
193
  children: "Refresh recorded status"
194
194
  })]
195
195
  }),
196
- /* @__PURE__ */ _(l, {
196
+ /* @__PURE__ */ _(o, {
197
197
  loading: M.loading,
198
198
  error: M.error
199
199
  }),
@@ -237,7 +237,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
237
237
  role: "alert",
238
238
  children: "Status changed since this form opened. Your input is preserved. Review the current recorded status before applying."
239
239
  }),
240
- !X && /* @__PURE__ */ v(i, {
240
+ !X && /* @__PURE__ */ v(n, {
241
241
  variant: "outline",
242
242
  disabled: !J || j.busy,
243
243
  onClick: () => {
@@ -255,7 +255,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
255
255
  checked: G,
256
256
  onChange: (e) => K(e.target.checked)
257
257
  }), "I reviewed the refreshed recorded status and decision history."]
258
- }), /* @__PURE__ */ _(i, {
258
+ }), /* @__PURE__ */ _(n, {
259
259
  variant: "outline",
260
260
  disabled: !G || !J || j.busy,
261
261
  onClick: () => {
@@ -267,17 +267,17 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
267
267
  /* @__PURE__ */ _("form", {
268
268
  className: "space-y-3",
269
269
  onSubmit: async (t) => {
270
- if (t.preventDefault(), W(null), !(Z || V === null || !P)) try {
271
- let t = te(F, V);
272
- await j.run(d, {
270
+ if (t.preventDefault(), W(null), !Z && V !== null && P) try {
271
+ let t = f(F, V);
272
+ await j.run(ee, {
273
273
  id: e,
274
274
  input: t
275
- }, (n) => ne(n.configureShipmentStatusSource, {
275
+ }, (n) => p(n.configureShipmentStatusSource, {
276
276
  id: e,
277
277
  epoch: P.statusAuthorityEpoch,
278
278
  input: t,
279
279
  basis: Q.find((e) => e.id === t.basisTrackingEventId)
280
- })) ? H(null) : (K(!1), q(m + 1));
280
+ })) ? H(null) : (K(!1), q(h + 1));
281
281
  } catch (e) {
282
282
  W(e instanceof Error ? e.message : "Review the source policy.");
283
283
  }
@@ -291,7 +291,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
291
291
  children: "Choose a status source"
292
292
  }),
293
293
  !c && /* @__PURE__ */ _("p", { children: "Integration read permission is required for source selection." }),
294
- /* @__PURE__ */ _(l, {
294
+ /* @__PURE__ */ _(o, {
295
295
  loading: N.loading,
296
296
  error: N.error
297
297
  }),
@@ -338,37 +338,37 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
338
338
  })]
339
339
  }),
340
340
  /* @__PURE__ */ _("p", { children: "This page lists evidence from the selected source with validated provider time. The server checks its recorded receipt, source and clock window before applying." }),
341
- /* @__PURE__ */ _(o, {
341
+ /* @__PURE__ */ _(i, {
342
342
  htmlFor: "status-source-age",
343
343
  children: "Maximum source age (seconds)"
344
344
  }),
345
- /* @__PURE__ */ _(a, {
345
+ /* @__PURE__ */ _(r, {
346
346
  id: "status-source-age",
347
347
  inputMode: "numeric",
348
348
  value: F.maxSourceAgeSeconds,
349
349
  onChange: (e) => $("maxSourceAgeSeconds", e.target.value)
350
350
  }),
351
- /* @__PURE__ */ _(o, {
351
+ /* @__PURE__ */ _(i, {
352
352
  htmlFor: "status-source-skew",
353
353
  children: "Allowed future skew (seconds)"
354
354
  }),
355
- /* @__PURE__ */ _(a, {
355
+ /* @__PURE__ */ _(r, {
356
356
  id: "status-source-skew",
357
357
  inputMode: "numeric",
358
358
  value: F.maxFutureSkewSeconds,
359
359
  onChange: (e) => $("maxFutureSkewSeconds", e.target.value)
360
360
  }),
361
- /* @__PURE__ */ _(o, {
361
+ /* @__PURE__ */ _(i, {
362
362
  htmlFor: "status-source-reason",
363
363
  children: "Source choice reason"
364
364
  }),
365
- /* @__PURE__ */ _(s, {
365
+ /* @__PURE__ */ _(a, {
366
366
  id: "status-source-reason",
367
367
  maxLength: 1e3,
368
368
  value: F.reason,
369
369
  onChange: (e) => $("reason", e.target.value)
370
370
  }),
371
- /* @__PURE__ */ _(i, {
371
+ /* @__PURE__ */ _(n, {
372
372
  type: "submit",
373
373
  children: "Apply source choice"
374
374
  })
@@ -386,21 +386,21 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
386
386
  /* @__PURE__ */ _("form", {
387
387
  className: "space-y-3",
388
388
  onSubmit: async (t) => {
389
- if (t.preventDefault(), W(null), !(Z || V === null || !P)) try {
389
+ if (t.preventDefault(), W(null), !Z && V !== null && P) try {
390
390
  if (!L) throw Error("Choose a recorded status for this correction.");
391
- await j.run(p, {
391
+ await j.run(ne, {
392
392
  id: e,
393
393
  input: {
394
394
  status: L,
395
395
  expectedStatusRevision: V,
396
- statusReason: re(z)
396
+ statusReason: m(z)
397
397
  }
398
- }, (t) => ee(t.updateShipment, {
398
+ }, (t) => d(t.updateShipment, {
399
399
  id: e,
400
400
  revision: V,
401
401
  epoch: P.statusAuthorityEpoch,
402
402
  status: L
403
- })) ? H(null) : (K(!1), q(m + 1));
403
+ })) ? H(null) : (K(!1), q(h + 1));
404
404
  } catch (e) {
405
405
  W(e instanceof Error ? e.message : "Review the correction.");
406
406
  }
@@ -420,7 +420,8 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
420
420
  className: "mt-1 w-full rounded-md border bg-bg-surface p-2 text-sm",
421
421
  value: L,
422
422
  onChange: (e) => {
423
- R(S.find((t) => t === e.target.value) ?? "");
423
+ let t = S.find((t) => t === e.target.value);
424
+ R(t ?? "");
424
425
  },
425
426
  children: [/* @__PURE__ */ _("option", {
426
427
  value: "",
@@ -431,17 +432,17 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
431
432
  }, e))]
432
433
  })]
433
434
  }),
434
- /* @__PURE__ */ _(o, {
435
+ /* @__PURE__ */ _(i, {
435
436
  htmlFor: "status-manual-reason",
436
437
  children: "Correction reason"
437
438
  }),
438
- /* @__PURE__ */ _(s, {
439
+ /* @__PURE__ */ _(a, {
439
440
  id: "status-manual-reason",
440
441
  value: z,
441
442
  maxLength: 1e3,
442
443
  onChange: (e) => B(e.target.value)
443
444
  }),
444
- /* @__PURE__ */ _(i, {
445
+ /* @__PURE__ */ _(n, {
445
446
  type: "submit",
446
447
  children: "Record correction and hold"
447
448
  })
@@ -451,7 +452,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
451
452
  ]
452
453
  }),
453
454
  /* @__PURE__ */ v("section", {
454
- className: u,
455
+ className: s,
455
456
  "aria-label": "Shipment status decision history",
456
457
  children: [
457
458
  /* @__PURE__ */ _("h2", {
@@ -520,7 +521,7 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
520
521
  ]
521
522
  }),
522
523
  /* @__PURE__ */ v("section", {
523
- className: u,
524
+ className: s,
524
525
  "aria-label": "Recorded tracking evidence",
525
526
  children: [
526
527
  /* @__PURE__ */ _("h2", {
@@ -559,5 +560,4 @@ function k({ id: e, canUpdate: t, canReadSources: c }) {
559
560
  ]
560
561
  });
561
562
  }
562
- //#endregion
563
563
  export { D as default };
@@ -1,14 +1,14 @@
1
- import { Scale as e } from "../node_modules/lucide-react/dist/esm/icons/scale.js";
1
+ import e from "../node_modules/lucide-react/dist/esm/icons/scale.js";
2
2
  import { useTr as t } from "../shared/hooks/useTr.js";
3
+ import { FormError as n } from "../components/FormError.js";
4
+ import { PageLayout as r } from "../components/PageLayout.js";
5
+ import { ShippingQuoteResults as i } from "../components/ShippingQuoteResults.js";
6
+ import { Button as a, Card as o, CardContent as s, CardHeader as c, CardTitle as l, Input as u, Label as d, Switch as f } from "../components/ui.js";
3
7
  import "../hooks/index.js";
4
- import { Button as n, Card as r, CardContent as i, CardHeader as a, CardTitle as o, Input as s, Label as c, Switch as l } from "../components/ui.js";
5
- import { PageLayout as u } from "../components/PageLayout.js";
6
- import { FormError as d } from "../components/FormError.js";
7
- import { ShippingQuoteResults as f } from "../components/ShippingQuoteResults.js";
8
8
  import { useShippingQuotes as p } from "../hooks/useShippingCarriers.js";
9
9
  import { useState as m } from "react";
10
10
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
11
- //#region src/movethewheels/pages/ShippingRatesPage.tsx
11
+ // src/movethewheels/pages/ShippingRatesPage.tsx
12
12
  var _ = /^[1-9]\d{5}$/, v = (e) => {
13
13
  let t = Number(e);
14
14
  return e.trim() !== "" && Number.isFinite(t) ? t : void 0;
@@ -68,13 +68,13 @@ function y() {
68
68
  H(!1);
69
69
  }
70
70
  };
71
- return /* @__PURE__ */ h(u, {
71
+ return /* @__PURE__ */ h(r, {
72
72
  title: y("movethewheels.shipping.title", "Compare Rates"),
73
73
  subtitle: y("movethewheels.shipping.subtitle", "Enter a pickup and a delivery pincode to see every courier available for that route, with price and delivery time."),
74
74
  icon: /* @__PURE__ */ h(e, { size: 24 }),
75
75
  children: /* @__PURE__ */ g("div", {
76
76
  className: "space-y-6",
77
- children: [/* @__PURE__ */ g(r, { children: [/* @__PURE__ */ h(a, { children: /* @__PURE__ */ h(o, { children: y("movethewheels.shipping.form.title", "Shipment details") }) }), /* @__PURE__ */ h(i, { children: /* @__PURE__ */ g("form", {
77
+ children: [/* @__PURE__ */ g(o, { children: [/* @__PURE__ */ h(c, { children: /* @__PURE__ */ h(l, { children: y("movethewheels.shipping.form.title", "Shipment details") }) }), /* @__PURE__ */ h(s, { children: /* @__PURE__ */ g("form", {
78
78
  onSubmit: (e) => void q(e),
79
79
  className: "space-y-4",
80
80
  children: [
@@ -83,10 +83,10 @@ function y() {
83
83
  children: [
84
84
  /* @__PURE__ */ g("div", {
85
85
  className: "space-y-1",
86
- children: [/* @__PURE__ */ h(c, {
86
+ children: [/* @__PURE__ */ h(d, {
87
87
  htmlFor: "rate-pickup",
88
88
  children: y("movethewheels.shipping.form.pickup", "Pickup postcode")
89
- }), /* @__PURE__ */ h(s, {
89
+ }), /* @__PURE__ */ h(u, {
90
90
  id: "rate-pickup",
91
91
  inputMode: "numeric",
92
92
  maxLength: 6,
@@ -96,10 +96,10 @@ function y() {
96
96
  }),
97
97
  /* @__PURE__ */ g("div", {
98
98
  className: "space-y-1",
99
- children: [/* @__PURE__ */ h(c, {
99
+ children: [/* @__PURE__ */ h(d, {
100
100
  htmlFor: "rate-delivery",
101
101
  children: y("movethewheels.shipping.form.delivery", "Delivery postcode")
102
- }), /* @__PURE__ */ h(s, {
102
+ }), /* @__PURE__ */ h(u, {
103
103
  id: "rate-delivery",
104
104
  inputMode: "numeric",
105
105
  maxLength: 6,
@@ -109,10 +109,10 @@ function y() {
109
109
  }),
110
110
  /* @__PURE__ */ g("div", {
111
111
  className: "space-y-1",
112
- children: [/* @__PURE__ */ h(c, {
112
+ children: [/* @__PURE__ */ h(d, {
113
113
  htmlFor: "rate-weight",
114
114
  children: y("movethewheels.shipping.form.weight", "Weight (kg)")
115
- }), /* @__PURE__ */ h(s, {
115
+ }), /* @__PURE__ */ h(u, {
116
116
  id: "rate-weight",
117
117
  inputMode: "decimal",
118
118
  value: T,
@@ -126,10 +126,10 @@ function y() {
126
126
  children: [
127
127
  /* @__PURE__ */ g("div", {
128
128
  className: "space-y-1",
129
- children: [/* @__PURE__ */ h(c, {
129
+ children: [/* @__PURE__ */ h(d, {
130
130
  htmlFor: "rate-length",
131
131
  children: y("movethewheels.shipping.form.length", "Length (cm, optional)")
132
- }), /* @__PURE__ */ h(s, {
132
+ }), /* @__PURE__ */ h(u, {
133
133
  id: "rate-length",
134
134
  inputMode: "decimal",
135
135
  value: D,
@@ -138,10 +138,10 @@ function y() {
138
138
  }),
139
139
  /* @__PURE__ */ g("div", {
140
140
  className: "space-y-1",
141
- children: [/* @__PURE__ */ h(c, {
141
+ children: [/* @__PURE__ */ h(d, {
142
142
  htmlFor: "rate-width",
143
143
  children: y("movethewheels.shipping.form.width", "Width (cm, optional)")
144
- }), /* @__PURE__ */ h(s, {
144
+ }), /* @__PURE__ */ h(u, {
145
145
  id: "rate-width",
146
146
  inputMode: "decimal",
147
147
  value: k,
@@ -150,10 +150,10 @@ function y() {
150
150
  }),
151
151
  /* @__PURE__ */ g("div", {
152
152
  className: "space-y-1",
153
- children: [/* @__PURE__ */ h(c, {
153
+ children: [/* @__PURE__ */ h(d, {
154
154
  htmlFor: "rate-height",
155
155
  children: y("movethewheels.shipping.form.height", "Height (cm, optional)")
156
- }), /* @__PURE__ */ h(s, {
156
+ }), /* @__PURE__ */ h(u, {
157
157
  id: "rate-height",
158
158
  inputMode: "decimal",
159
159
  value: j,
@@ -178,10 +178,10 @@ function y() {
178
178
  children: [
179
179
  /* @__PURE__ */ g("div", {
180
180
  className: "space-y-1",
181
- children: [/* @__PURE__ */ h(c, {
181
+ children: [/* @__PURE__ */ h(d, {
182
182
  htmlFor: "rate-distance",
183
183
  children: y("movethewheels.shipping.form.distance", "Distance (km)")
184
- }), /* @__PURE__ */ h(s, {
184
+ }), /* @__PURE__ */ h(u, {
185
185
  id: "rate-distance",
186
186
  inputMode: "decimal",
187
187
  value: F,
@@ -190,10 +190,10 @@ function y() {
190
190
  }),
191
191
  /* @__PURE__ */ g("div", {
192
192
  className: "space-y-1",
193
- children: [/* @__PURE__ */ h(c, {
193
+ children: [/* @__PURE__ */ h(d, {
194
194
  htmlFor: "rate-cost-per-km",
195
195
  children: y("movethewheels.shipping.form.costPerKm", "Your cost per km (₹)")
196
- }), /* @__PURE__ */ h(s, {
196
+ }), /* @__PURE__ */ h(u, {
197
197
  id: "rate-cost-per-km",
198
198
  inputMode: "decimal",
199
199
  value: L,
@@ -202,10 +202,10 @@ function y() {
202
202
  }),
203
203
  /* @__PURE__ */ g("div", {
204
204
  className: "space-y-1",
205
- children: [/* @__PURE__ */ h(c, {
205
+ children: [/* @__PURE__ */ h(d, {
206
206
  htmlFor: "rate-fixed-cost",
207
207
  children: y("movethewheels.shipping.form.fixedCost", "Fixed cost per trip (₹, optional)")
208
- }), /* @__PURE__ */ h(s, {
208
+ }), /* @__PURE__ */ h(u, {
209
209
  id: "rate-fixed-cost",
210
210
  inputMode: "decimal",
211
211
  value: z,
@@ -218,28 +218,27 @@ function y() {
218
218
  }),
219
219
  /* @__PURE__ */ g("div", {
220
220
  className: "flex items-center gap-2",
221
- children: [/* @__PURE__ */ h(l, {
221
+ children: [/* @__PURE__ */ h(f, {
222
222
  id: "rate-cod",
223
223
  checked: N,
224
224
  onCheckedChange: P
225
- }), /* @__PURE__ */ h(c, {
225
+ }), /* @__PURE__ */ h(d, {
226
226
  htmlFor: "rate-cod",
227
227
  children: y("movethewheels.shipping.form.cod", "Cash on delivery")
228
228
  })]
229
229
  }),
230
- /* @__PURE__ */ h(d, { message: U }),
231
- /* @__PURE__ */ h(n, {
230
+ /* @__PURE__ */ h(n, { message: U }),
231
+ /* @__PURE__ */ h(a, {
232
232
  type: "submit",
233
233
  disabled: V,
234
234
  children: V ? y("movethewheels.shipping.form.comparing", "Comparing…") : y("movethewheels.shipping.form.compare", "Compare rates")
235
235
  })
236
236
  ]
237
- }) })] }), G && /* @__PURE__ */ h(f, {
237
+ }) })] }), G && /* @__PURE__ */ h(i, {
238
238
  result: G,
239
239
  t: y
240
240
  })]
241
241
  })
242
242
  });
243
243
  }
244
- //#endregion
245
244
  export { y as default };