@burdenoff/microfe-movethewheels 2026.1108.5 → 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 (839) 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/generated/wspace-operations.d.ts +91 -0
  109. package/dist/generated/wspace-types.d.ts +43259 -9124
  110. package/dist/hooks/index.js +12 -11
  111. package/dist/hooks/useAnalytics.js +3 -3
  112. package/dist/hooks/useCarrierIntegrations.js +1 -2
  113. package/dist/hooks/useConsolidationAction.js +12 -13
  114. package/dist/hooks/useConsumedFuelPreview.js +17 -18
  115. package/dist/hooks/useContainerCondition.js +4 -3
  116. package/dist/hooks/useContainerLifecycle.js +70 -80
  117. package/dist/hooks/useCustomers.js +17 -16
  118. package/dist/hooks/useDebouncedValue.js +1 -2
  119. package/dist/hooks/useDemandForecast.js +1 -2
  120. package/dist/hooks/useDispatchPlan.js +3 -3
  121. package/dist/hooks/useDocumentExtractions.js +12 -13
  122. package/dist/hooks/useDriverDay.js +3 -4
  123. package/dist/hooks/useEmptyReuseAction.js +1 -2
  124. package/dist/hooks/useEntityDocuments.js +25 -27
  125. package/dist/hooks/useEntityExport.js +7 -8
  126. package/dist/hooks/useEntityImport.js +1 -2
  127. package/dist/hooks/useEpod.js +79 -81
  128. package/dist/hooks/useFleet.js +70 -74
  129. package/dist/hooks/useFleetIntelligence.js +1 -2
  130. package/dist/hooks/useForecastModelChoices.js +1 -2
  131. package/dist/hooks/useFreightRecoveryAction.js +15 -16
  132. package/dist/hooks/useInventory.js +59 -60
  133. package/dist/hooks/useInventoryCoverPlan.js +2 -3
  134. package/dist/hooks/useInvoiceComparisonRecovery.js +52 -52
  135. package/dist/hooks/useInvoiceReviewPermissions.js +1 -2
  136. package/dist/hooks/useMarketplace.js +1 -2
  137. package/dist/hooks/useMultiModalShipments.js +1 -2
  138. package/dist/hooks/useOrderDispatch.js +6 -5
  139. package/dist/hooks/useOrders.js +44 -46
  140. package/dist/hooks/usePalletPreview.js +19 -20
  141. package/dist/hooks/useProcedureAction.js +24 -25
  142. package/dist/hooks/useProcedureSelection.js +6 -7
  143. package/dist/hooks/useRefetchOnLeaveEdit.js +1 -2
  144. package/dist/hooks/useReuseRecoveryAction.js +26 -27
  145. package/dist/hooks/useRoutes.js +100 -63
  146. package/dist/hooks/useScenarioPlanning.js +20 -21
  147. package/dist/hooks/useShipmentDecision.js +1 -2
  148. package/dist/hooks/useShipmentPermissions.js +1 -2
  149. package/dist/hooks/useShipmentRisk.js +12 -14
  150. package/dist/hooks/useShipmentStatusAuthority.js +7 -5
  151. package/dist/hooks/useShippingCarriers.js +1 -2
  152. package/dist/hooks/useTracking.js +53 -52
  153. package/dist/hooks/useTrackingEventQuality.js +26 -27
  154. package/dist/index.js +15 -15
  155. package/dist/movethewheels/hooks/useRoutes.d.ts +3 -2
  156. package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
  157. package/dist/movethewheels/types/index.d.ts +21 -1
  158. package/dist/node_modules/@react-leaflet/core/lib/attribution.js +1 -2
  159. package/dist/node_modules/@react-leaflet/core/lib/component.js +1 -2
  160. package/dist/node_modules/@react-leaflet/core/lib/context.js +0 -1
  161. package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +1 -2
  162. package/dist/node_modules/@react-leaflet/core/lib/element.js +1 -2
  163. package/dist/node_modules/@react-leaflet/core/lib/events.js +1 -2
  164. package/dist/node_modules/@react-leaflet/core/lib/generic.js +9 -6
  165. package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +1 -2
  166. package/dist/node_modules/@react-leaflet/core/lib/layer.js +1 -2
  167. package/dist/node_modules/@react-leaflet/core/lib/pane.js +1 -2
  168. package/dist/node_modules/@react-leaflet/core/lib/path.js +6 -7
  169. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  170. package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
  171. package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
  172. package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
  173. package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
  174. package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
  175. package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
  176. package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
  177. package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
  178. package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
  179. package/dist/node_modules/decimal.js-light/decimal.js +33 -30
  180. package/dist/node_modules/eventemitter3/index.js +2 -3
  181. package/dist/node_modules/fast-equals/dist/es/index.js +89 -72
  182. package/dist/node_modules/leaflet/dist/leaflet-src.js +114 -167
  183. package/dist/node_modules/lodash/_DataView.js +4 -5
  184. package/dist/node_modules/lodash/_Hash.js +1 -2
  185. package/dist/node_modules/lodash/_ListCache.js +1 -2
  186. package/dist/node_modules/lodash/_Map.js +4 -5
  187. package/dist/node_modules/lodash/_MapCache.js +1 -2
  188. package/dist/node_modules/lodash/_Promise.js +4 -5
  189. package/dist/node_modules/lodash/_Set.js +4 -5
  190. package/dist/node_modules/lodash/_SetCache.js +1 -2
  191. package/dist/node_modules/lodash/_Stack.js +1 -2
  192. package/dist/node_modules/lodash/_Symbol.js +1 -2
  193. package/dist/node_modules/lodash/_Uint8Array.js +1 -2
  194. package/dist/node_modules/lodash/_WeakMap.js +4 -5
  195. package/dist/node_modules/lodash/_apply.js +1 -2
  196. package/dist/node_modules/lodash/_arrayEvery.js +1 -2
  197. package/dist/node_modules/lodash/_arrayFilter.js +1 -2
  198. package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
  199. package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
  200. package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
  201. package/dist/node_modules/lodash/_arrayMap.js +1 -2
  202. package/dist/node_modules/lodash/_arrayPush.js +1 -2
  203. package/dist/node_modules/lodash/_arraySome.js +1 -2
  204. package/dist/node_modules/lodash/_asciiToArray.js +1 -2
  205. package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
  206. package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
  207. package/dist/node_modules/lodash/_baseEach.js +1 -2
  208. package/dist/node_modules/lodash/_baseEvery.js +1 -2
  209. package/dist/node_modules/lodash/_baseExtremum.js +1 -2
  210. package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
  211. package/dist/node_modules/lodash/_baseFlatten.js +1 -2
  212. package/dist/node_modules/lodash/_baseFor.js +1 -2
  213. package/dist/node_modules/lodash/_baseForOwn.js +4 -5
  214. package/dist/node_modules/lodash/_baseGet.js +1 -2
  215. package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
  216. package/dist/node_modules/lodash/_baseGetTag.js +1 -2
  217. package/dist/node_modules/lodash/_baseGt.js +1 -2
  218. package/dist/node_modules/lodash/_baseHasIn.js +1 -2
  219. package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
  220. package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
  221. package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
  222. package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
  223. package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
  224. package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
  225. package/dist/node_modules/lodash/_baseIsNative.js +5 -6
  226. package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
  227. package/dist/node_modules/lodash/_baseIteratee.js +6 -7
  228. package/dist/node_modules/lodash/_baseKeys.js +1 -2
  229. package/dist/node_modules/lodash/_baseLt.js +1 -2
  230. package/dist/node_modules/lodash/_baseMap.js +4 -5
  231. package/dist/node_modules/lodash/_baseMatches.js +1 -2
  232. package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
  233. package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
  234. package/dist/node_modules/lodash/_baseProperty.js +1 -2
  235. package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
  236. package/dist/node_modules/lodash/_baseRange.js +1 -2
  237. package/dist/node_modules/lodash/_baseRest.js +1 -2
  238. package/dist/node_modules/lodash/_baseSetToString.js +5 -6
  239. package/dist/node_modules/lodash/_baseSlice.js +1 -2
  240. package/dist/node_modules/lodash/_baseSome.js +1 -2
  241. package/dist/node_modules/lodash/_baseSortBy.js +1 -2
  242. package/dist/node_modules/lodash/_baseTimes.js +1 -2
  243. package/dist/node_modules/lodash/_baseToString.js +6 -7
  244. package/dist/node_modules/lodash/_baseTrim.js +1 -2
  245. package/dist/node_modules/lodash/_baseUnary.js +1 -2
  246. package/dist/node_modules/lodash/_baseUniq.js +7 -8
  247. package/dist/node_modules/lodash/_cacheHas.js +1 -2
  248. package/dist/node_modules/lodash/_castPath.js +1 -2
  249. package/dist/node_modules/lodash/_castSlice.js +1 -2
  250. package/dist/node_modules/lodash/_compareAscending.js +1 -2
  251. package/dist/node_modules/lodash/_compareMultiple.js +1 -2
  252. package/dist/node_modules/lodash/_coreJsData.js +1 -2
  253. package/dist/node_modules/lodash/_createBaseEach.js +1 -2
  254. package/dist/node_modules/lodash/_createBaseFor.js +1 -2
  255. package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
  256. package/dist/node_modules/lodash/_createFind.js +5 -6
  257. package/dist/node_modules/lodash/_createRange.js +4 -5
  258. package/dist/node_modules/lodash/_createSet.js +6 -7
  259. package/dist/node_modules/lodash/_defineProperty.js +1 -2
  260. package/dist/node_modules/lodash/_equalArrays.js +1 -2
  261. package/dist/node_modules/lodash/_equalByTag.js +5 -6
  262. package/dist/node_modules/lodash/_equalObjects.js +1 -2
  263. package/dist/node_modules/lodash/_freeGlobal.js +1 -2
  264. package/dist/node_modules/lodash/_getAllKeys.js +1 -2
  265. package/dist/node_modules/lodash/_getMapData.js +1 -2
  266. package/dist/node_modules/lodash/_getMatchData.js +4 -5
  267. package/dist/node_modules/lodash/_getNative.js +1 -2
  268. package/dist/node_modules/lodash/_getPrototype.js +1 -2
  269. package/dist/node_modules/lodash/_getRawTag.js +1 -2
  270. package/dist/node_modules/lodash/_getSymbols.js +1 -2
  271. package/dist/node_modules/lodash/_getTag.js +9 -10
  272. package/dist/node_modules/lodash/_getValue.js +1 -2
  273. package/dist/node_modules/lodash/_hasPath.js +8 -9
  274. package/dist/node_modules/lodash/_hasUnicode.js +1 -2
  275. package/dist/node_modules/lodash/_hashClear.js +1 -2
  276. package/dist/node_modules/lodash/_hashDelete.js +1 -2
  277. package/dist/node_modules/lodash/_hashGet.js +1 -2
  278. package/dist/node_modules/lodash/_hashHas.js +1 -2
  279. package/dist/node_modules/lodash/_hashSet.js +1 -2
  280. package/dist/node_modules/lodash/_isFlattenable.js +5 -6
  281. package/dist/node_modules/lodash/_isIndex.js +6 -7
  282. package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
  283. package/dist/node_modules/lodash/_isKey.js +1 -2
  284. package/dist/node_modules/lodash/_isKeyable.js +1 -2
  285. package/dist/node_modules/lodash/_isMasked.js +1 -2
  286. package/dist/node_modules/lodash/_isPrototype.js +1 -2
  287. package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
  288. package/dist/node_modules/lodash/_listCacheClear.js +1 -2
  289. package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
  290. package/dist/node_modules/lodash/_listCacheGet.js +1 -2
  291. package/dist/node_modules/lodash/_listCacheHas.js +1 -2
  292. package/dist/node_modules/lodash/_listCacheSet.js +1 -2
  293. package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
  294. package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
  295. package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
  296. package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
  297. package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
  298. package/dist/node_modules/lodash/_mapToArray.js +1 -2
  299. package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
  300. package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
  301. package/dist/node_modules/lodash/_nativeCreate.js +1 -2
  302. package/dist/node_modules/lodash/_nativeKeys.js +1 -2
  303. package/dist/node_modules/lodash/_nodeUtil.js +1 -2
  304. package/dist/node_modules/lodash/_objectToString.js +1 -2
  305. package/dist/node_modules/lodash/_overArg.js +1 -2
  306. package/dist/node_modules/lodash/_overRest.js +1 -2
  307. package/dist/node_modules/lodash/_root.js +1 -2
  308. package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
  309. package/dist/node_modules/lodash/_setCacheHas.js +1 -2
  310. package/dist/node_modules/lodash/_setToArray.js +1 -2
  311. package/dist/node_modules/lodash/_setToString.js +1 -2
  312. package/dist/node_modules/lodash/_shortOut.js +8 -9
  313. package/dist/node_modules/lodash/_stackClear.js +1 -2
  314. package/dist/node_modules/lodash/_stackDelete.js +1 -2
  315. package/dist/node_modules/lodash/_stackGet.js +1 -2
  316. package/dist/node_modules/lodash/_stackHas.js +1 -2
  317. package/dist/node_modules/lodash/_stackSet.js +1 -2
  318. package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
  319. package/dist/node_modules/lodash/_stringToArray.js +4 -5
  320. package/dist/node_modules/lodash/_stringToPath.js +1 -2
  321. package/dist/node_modules/lodash/_toKey.js +2 -3
  322. package/dist/node_modules/lodash/_toSource.js +1 -2
  323. package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
  324. package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
  325. package/dist/node_modules/lodash/constant.js +1 -2
  326. package/dist/node_modules/lodash/debounce.js +1 -2
  327. package/dist/node_modules/lodash/eq.js +1 -2
  328. package/dist/node_modules/lodash/every.js +7 -8
  329. package/dist/node_modules/lodash/find.js +1 -2
  330. package/dist/node_modules/lodash/findIndex.js +4 -5
  331. package/dist/node_modules/lodash/flatMap.js +1 -2
  332. package/dist/node_modules/lodash/get.js +1 -2
  333. package/dist/node_modules/lodash/hasIn.js +1 -2
  334. package/dist/node_modules/lodash/identity.js +1 -2
  335. package/dist/node_modules/lodash/isArguments.js +4 -5
  336. package/dist/node_modules/lodash/isArray.js +1 -2
  337. package/dist/node_modules/lodash/isArrayLike.js +1 -2
  338. package/dist/node_modules/lodash/isBoolean.js +1 -2
  339. package/dist/node_modules/lodash/isBuffer.js +1 -2
  340. package/dist/node_modules/lodash/isEqual.js +1 -2
  341. package/dist/node_modules/lodash/isFunction.js +1 -2
  342. package/dist/node_modules/lodash/isLength.js +4 -6
  343. package/dist/node_modules/lodash/isNaN.js +1 -2
  344. package/dist/node_modules/lodash/isNil.js +1 -2
  345. package/dist/node_modules/lodash/isNumber.js +1 -2
  346. package/dist/node_modules/lodash/isObject.js +1 -2
  347. package/dist/node_modules/lodash/isObjectLike.js +1 -2
  348. package/dist/node_modules/lodash/isPlainObject.js +4 -5
  349. package/dist/node_modules/lodash/isString.js +4 -5
  350. package/dist/node_modules/lodash/isSymbol.js +1 -2
  351. package/dist/node_modules/lodash/isTypedArray.js +1 -2
  352. package/dist/node_modules/lodash/keys.js +1 -2
  353. package/dist/node_modules/lodash/last.js +1 -2
  354. package/dist/node_modules/lodash/map.js +6 -7
  355. package/dist/node_modules/lodash/mapValues.js +4 -5
  356. package/dist/node_modules/lodash/max.js +5 -6
  357. package/dist/node_modules/lodash/maxBy.js +5 -6
  358. package/dist/node_modules/lodash/memoize.js +1 -2
  359. package/dist/node_modules/lodash/min.js +5 -6
  360. package/dist/node_modules/lodash/minBy.js +4 -5
  361. package/dist/node_modules/lodash/noop.js +1 -2
  362. package/dist/node_modules/lodash/now.js +1 -2
  363. package/dist/node_modules/lodash/property.js +6 -7
  364. package/dist/node_modules/lodash/range.js +1 -2
  365. package/dist/node_modules/lodash/some.js +7 -8
  366. package/dist/node_modules/lodash/sortBy.js +1 -2
  367. package/dist/node_modules/lodash/stubArray.js +1 -2
  368. package/dist/node_modules/lodash/stubFalse.js +1 -2
  369. package/dist/node_modules/lodash/throttle.js +4 -5
  370. package/dist/node_modules/lodash/toFinite.js +2 -3
  371. package/dist/node_modules/lodash/toInteger.js +1 -2
  372. package/dist/node_modules/lodash/toNumber.js +4 -5
  373. package/dist/node_modules/lodash/toString.js +1 -2
  374. package/dist/node_modules/lodash/uniqBy.js +1 -2
  375. package/dist/node_modules/lodash/upperFirst.js +1 -2
  376. package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -7
  377. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +3 -4
  378. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -3
  379. package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +3 -4
  380. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +3 -4
  381. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +3 -4
  382. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down.js +3 -4
  383. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +3 -4
  384. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +3 -4
  385. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +3 -4
  386. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +3 -4
  387. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +3 -4
  388. package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +3 -4
  389. package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +3 -4
  390. package/dist/node_modules/lucide-react/dist/esm/icons/bell-ring.js +3 -4
  391. package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +3 -4
  392. package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +3 -4
  393. package/dist/node_modules/lucide-react/dist/esm/icons/box.js +3 -4
  394. package/dist/node_modules/lucide-react/dist/esm/icons/boxes.js +3 -4
  395. package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +3 -4
  396. package/dist/node_modules/lucide-react/dist/esm/icons/building.js +3 -4
  397. package/dist/node_modules/lucide-react/dist/esm/icons/calculator.js +3 -4
  398. package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +3 -4
  399. package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +3 -4
  400. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +3 -4
  401. package/dist/node_modules/lucide-react/dist/esm/icons/car.js +3 -4
  402. package/dist/node_modules/lucide-react/dist/esm/icons/chart-column.js +3 -4
  403. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +3 -4
  404. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +3 -4
  405. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +3 -4
  406. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +3 -4
  407. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +3 -4
  408. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +3 -4
  409. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +3 -4
  410. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-up-down.js +3 -4
  411. package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +3 -4
  412. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check-big.js +3 -4
  413. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +3 -4
  414. package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +3 -4
  415. package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +3 -4
  416. package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +3 -4
  417. package/dist/node_modules/lucide-react/dist/esm/icons/cloud-download.js +3 -4
  418. package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +3 -4
  419. package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +3 -4
  420. package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +3 -4
  421. package/dist/node_modules/lucide-react/dist/esm/icons/dollar-sign.js +3 -4
  422. package/dist/node_modules/lucide-react/dist/esm/icons/download.js +3 -4
  423. package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +3 -4
  424. package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +3 -4
  425. package/dist/node_modules/lucide-react/dist/esm/icons/file-check.js +3 -4
  426. package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +3 -4
  427. package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +3 -4
  428. package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +3 -4
  429. package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +3 -4
  430. package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +3 -4
  431. package/dist/node_modules/lucide-react/dist/esm/icons/fuel.js +3 -4
  432. package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +3 -4
  433. package/dist/node_modules/lucide-react/dist/esm/icons/git-compare.js +3 -4
  434. package/dist/node_modules/lucide-react/dist/esm/icons/history.js +3 -4
  435. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +3 -4
  436. package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +3 -4
  437. package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +3 -4
  438. package/dist/node_modules/lucide-react/dist/esm/icons/leaf.js +3 -4
  439. package/dist/node_modules/lucide-react/dist/esm/icons/list.js +3 -4
  440. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +3 -4
  441. package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +3 -4
  442. package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +3 -4
  443. package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +3 -4
  444. package/dist/node_modules/lucide-react/dist/esm/icons/map.js +3 -4
  445. package/dist/node_modules/lucide-react/dist/esm/icons/navigation.js +3 -4
  446. package/dist/node_modules/lucide-react/dist/esm/icons/package-plus.js +3 -4
  447. package/dist/node_modules/lucide-react/dist/esm/icons/package.js +3 -4
  448. package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +3 -4
  449. package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +3 -4
  450. package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +3 -4
  451. package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +3 -4
  452. package/dist/node_modules/lucide-react/dist/esm/icons/plane.js +3 -4
  453. package/dist/node_modules/lucide-react/dist/esm/icons/play.js +3 -4
  454. package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +3 -4
  455. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +3 -4
  456. package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +3 -4
  457. package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +3 -4
  458. package/dist/node_modules/lucide-react/dist/esm/icons/receipt.js +3 -4
  459. package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +3 -4
  460. package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +3 -4
  461. package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +3 -4
  462. package/dist/node_modules/lucide-react/dist/esm/icons/route.js +3 -4
  463. package/dist/node_modules/lucide-react/dist/esm/icons/save.js +3 -4
  464. package/dist/node_modules/lucide-react/dist/esm/icons/scale.js +3 -4
  465. package/dist/node_modules/lucide-react/dist/esm/icons/search.js +3 -4
  466. package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +3 -4
  467. package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +3 -4
  468. package/dist/node_modules/lucide-react/dist/esm/icons/ship.js +3 -4
  469. package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +3 -4
  470. package/dist/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js +3 -4
  471. package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +3 -4
  472. package/dist/node_modules/lucide-react/dist/esm/icons/square-pen.js +3 -4
  473. package/dist/node_modules/lucide-react/dist/esm/icons/star.js +3 -4
  474. package/dist/node_modules/lucide-react/dist/esm/icons/sticky-note.js +3 -4
  475. package/dist/node_modules/lucide-react/dist/esm/icons/store.js +3 -4
  476. package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +3 -4
  477. package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +3 -4
  478. package/dist/node_modules/lucide-react/dist/esm/icons/train-front.js +3 -4
  479. package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +3 -4
  480. package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +3 -4
  481. package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +3 -4
  482. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +3 -4
  483. package/dist/node_modules/lucide-react/dist/esm/icons/truck.js +3 -4
  484. package/dist/node_modules/lucide-react/dist/esm/icons/type.js +3 -4
  485. package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +3 -4
  486. package/dist/node_modules/lucide-react/dist/esm/icons/user-check.js +3 -4
  487. package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +3 -4
  488. package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +3 -4
  489. package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +3 -4
  490. package/dist/node_modules/lucide-react/dist/esm/icons/user-x.js +3 -4
  491. package/dist/node_modules/lucide-react/dist/esm/icons/user.js +3 -4
  492. package/dist/node_modules/lucide-react/dist/esm/icons/users.js +3 -4
  493. package/dist/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js +3 -4
  494. package/dist/node_modules/lucide-react/dist/esm/icons/warehouse.js +3 -4
  495. package/dist/node_modules/lucide-react/dist/esm/icons/wifi-off.js +3 -4
  496. package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +3 -4
  497. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +3 -4
  498. package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +3 -4
  499. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +1 -2
  500. package/dist/node_modules/object-assign/index.js +1 -2
  501. package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
  502. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
  503. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  504. package/dist/node_modules/prop-types/index.js +1 -2
  505. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
  506. package/dist/node_modules/prop-types/lib/has.js +1 -2
  507. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
  508. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  509. package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
  510. package/dist/node_modules/react-leaflet/lib/MapContainer.js +1 -2
  511. package/dist/node_modules/react-leaflet/lib/Marker.js +7 -8
  512. package/dist/node_modules/react-leaflet/lib/Polyline.js +7 -8
  513. package/dist/node_modules/react-leaflet/lib/Popup.js +7 -7
  514. package/dist/node_modules/react-leaflet/lib/TileLayer.js +12 -12
  515. package/dist/node_modules/react-leaflet/lib/hooks.js +1 -2
  516. package/dist/node_modules/react-smooth/es6/Animate.js +31 -39
  517. package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
  518. package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
  519. package/dist/node_modules/react-smooth/es6/easing.js +1 -2
  520. package/dist/node_modules/react-smooth/es6/index.js +1 -2
  521. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
  522. package/dist/node_modules/react-smooth/es6/util.js +17 -16
  523. package/dist/node_modules/recharts/es6/cartesian/Area.js +95 -96
  524. package/dist/node_modules/recharts/es6/cartesian/Bar.js +100 -101
  525. package/dist/node_modules/recharts/es6/cartesian/Brush.js +23 -24
  526. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +58 -65
  527. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +33 -34
  528. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +17 -18
  529. package/dist/node_modules/recharts/es6/cartesian/Line.js +76 -77
  530. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +28 -29
  531. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +22 -23
  532. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +28 -29
  533. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +8 -9
  534. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +8 -9
  535. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
  536. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
  537. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -4
  538. package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
  539. package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
  540. package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
  541. package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
  542. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
  543. package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
  544. package/dist/node_modules/recharts/es6/component/Cursor.js +16 -17
  545. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +27 -28
  546. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +11 -12
  547. package/dist/node_modules/recharts/es6/component/Label.js +78 -79
  548. package/dist/node_modules/recharts/es6/component/LabelList.js +16 -17
  549. package/dist/node_modules/recharts/es6/component/Legend.js +25 -22
  550. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +14 -15
  551. package/dist/node_modules/recharts/es6/component/Text.js +17 -20
  552. package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
  553. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +1 -2
  554. package/dist/node_modules/recharts/es6/container/Layer.js +3 -4
  555. package/dist/node_modules/recharts/es6/container/Surface.js +3 -4
  556. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +20 -20
  557. package/dist/node_modules/recharts/es6/polar/Pie.js +102 -106
  558. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +28 -29
  559. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +36 -39
  560. package/dist/node_modules/recharts/es6/shape/Cross.js +3 -4
  561. package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
  562. package/dist/node_modules/recharts/es6/shape/Dot.js +2 -3
  563. package/dist/node_modules/recharts/es6/shape/Polygon.js +3 -4
  564. package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
  565. package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
  566. package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
  567. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
  568. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +20 -21
  569. package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
  570. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +32 -33
  571. package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
  572. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
  573. package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
  574. package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
  575. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
  576. package/dist/node_modules/recharts/es6/util/Events.js +0 -1
  577. package/dist/node_modules/recharts/es6/util/Global.js +0 -1
  578. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
  579. package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
  580. package/dist/node_modules/recharts/es6/util/PolarUtils.js +5 -6
  581. package/dist/node_modules/recharts/es6/util/ReactUtils.js +10 -11
  582. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +4 -5
  583. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
  584. package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
  585. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
  586. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
  587. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
  588. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
  589. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
  590. package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
  591. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
  592. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
  593. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
  594. package/dist/node_modules/recharts/es6/util/types.js +1 -2
  595. package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +31 -32
  596. package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  597. package/dist/node_modules/recharts/node_modules/react-is/index.js +2 -3
  598. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
  599. package/dist/node_modules/recharts-scale/es6/index.js +1 -1
  600. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
  601. package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
  602. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
  603. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
  604. package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
  605. package/dist/node_modules/zustand/esm/middleware.js +209 -112
  606. package/dist/pages/AnalyticsPage.js +41 -42
  607. package/dist/pages/ConsolidationPage.js +8 -9
  608. package/dist/pages/ConsumedFuelPreviewPage.js +60 -61
  609. package/dist/pages/ContainerConditionPage.js +49 -50
  610. package/dist/pages/ContainersPage.js +53 -53
  611. package/dist/pages/CreateOrderPage.js +134 -144
  612. package/dist/pages/CustomerDetailsPage.js +342 -345
  613. package/dist/pages/CustomersPage.js +36 -37
  614. package/dist/pages/DashboardPage.js +92 -93
  615. package/dist/pages/DeliveryCapturePage.js +199 -200
  616. package/dist/pages/DispatchPlanPage.js +94 -95
  617. package/dist/pages/DriverDetailsPage.js +393 -399
  618. package/dist/pages/DriversPage.js +64 -65
  619. package/dist/pages/EmptyReusePage.js +320 -321
  620. package/dist/pages/FinancePage.js +72 -70
  621. package/dist/pages/FleetPage.js +88 -89
  622. package/dist/pages/FreeTimePage.js +92 -92
  623. package/dist/pages/FreightEstimatePage.js +92 -93
  624. package/dist/pages/FreightInvoicePage.js +123 -124
  625. package/dist/pages/ImportExportPage.js +173 -178
  626. package/dist/pages/IntegrationsPage.js +264 -267
  627. package/dist/pages/InventoryPage.js +233 -234
  628. package/dist/pages/LiveTrackingPage.js +120 -121
  629. package/dist/pages/LogisticsProceduresPage.js +10 -11
  630. package/dist/pages/MarketplacePage.js +170 -171
  631. package/dist/pages/MultiModalShipmentPage.js +172 -177
  632. package/dist/pages/OrderDetailsPage.js +317 -318
  633. package/dist/pages/OrdersListPage.js +163 -164
  634. package/dist/pages/PalletPreviewPage.js +113 -114
  635. package/dist/pages/PendingPickPage.js +32 -33
  636. package/dist/pages/ProductDetailsPage.js +164 -166
  637. package/dist/pages/ProductsPage.js +39 -40
  638. package/dist/pages/ReportsPage.js +315 -316
  639. package/dist/pages/RouteDetailsPage.js +425 -357
  640. package/dist/pages/RoutesPage.js +39 -40
  641. package/dist/pages/SettingsPage.js +87 -88
  642. package/dist/pages/ShipmentStatusAuthorityPage.js +67 -67
  643. package/dist/pages/ShippingRatesPage.js +31 -32
  644. package/dist/pages/StockBindingPage.js +39 -40
  645. package/dist/pages/StockObservationsPage.js +23 -24
  646. package/dist/pages/TrackingEventQualityPage.js +30 -31
  647. package/dist/pages/TrackingPage.js +88 -89
  648. package/dist/pages/TripUtilizationPage.js +24 -25
  649. package/dist/pages/VehicleDetailsPage.js +241 -243
  650. package/dist/pages/VehiclesPage.js +59 -60
  651. package/dist/pages/WarehouseDetailsPage.js +151 -156
  652. package/dist/pages/WarehousesPage.js +33 -34
  653. package/dist/providers/ModuleSettingsProvider.js +1 -2
  654. package/dist/providers/MoveTheWheelsProvider.js +2 -7
  655. package/dist/services/createSandboxAssistantTransport.js +1 -2
  656. package/dist/shared/hooks/useTr.js +1 -2
  657. package/dist/src/generated/consolidation-operations.js +1 -2
  658. package/dist/src/generated/consumed-fuel-preview-operations.js +1 -2
  659. package/dist/src/generated/container-condition-operations.js +1 -2
  660. package/dist/src/generated/container-operations.js +1 -2
  661. package/dist/src/generated/empty-reuse-operations.js +1 -2
  662. package/dist/src/generated/free-time-operations.js +1 -2
  663. package/dist/src/generated/freight-cost-operations.js +1 -2
  664. package/dist/src/generated/freight-invoice-operations.js +1 -2
  665. package/dist/src/generated/logistics-procedure-operations.js +1 -2
  666. package/dist/src/generated/pallet-preview-operations.js +1 -2
  667. package/dist/src/generated/pending-pick-operations.js +1 -2
  668. package/dist/src/generated/shipment-status-authority-operations.js +1 -2
  669. package/dist/src/generated/stock-binding-operations.js +1 -2
  670. package/dist/src/generated/stock-observation-operations.js +1 -2
  671. package/dist/src/generated/tracking-quality-operations.js +1 -2
  672. package/dist/src/generated/trip-utilization-operations.js +1 -2
  673. package/dist/src/generated/wspace-operations.js +1 -2
  674. package/dist/store/movethewheelsStore.js +1 -2
  675. package/dist/utils/carrierIntegrations.js +4 -5
  676. package/dist/utils/cn.js +2 -3
  677. package/dist/utils/consolidationHistoryTarget.js +1 -2
  678. package/dist/utils/consolidationInput.js +1 -2
  679. package/dist/utils/consolidationLot.js +1 -2
  680. package/dist/utils/consolidationPins.js +1 -2
  681. package/dist/utils/consolidationRecovery.js +1 -2
  682. package/dist/utils/consolidationReportHead.js +1 -2
  683. package/dist/utils/consumedFuelInput.js +2 -3
  684. package/dist/utils/consumedFuelResponse.js +2 -3
  685. package/dist/utils/customerNotifications.js +2 -3
  686. package/dist/utils/driverLicenseExpiry.js +1 -2
  687. package/dist/utils/driverNavigation.js +2 -3
  688. package/dist/utils/entityExport.js +3 -4
  689. package/dist/utils/entityImport.js +3 -4
  690. package/dist/utils/formatters.js +41 -36
  691. package/dist/utils/freeTimeDate.js +1 -2
  692. package/dist/utils/freightAcknowledgement.js +1 -2
  693. package/dist/utils/freightCommercial.js +2 -3
  694. package/dist/utils/freightDraft.js +1 -2
  695. package/dist/utils/freightRecovery.js +1 -2
  696. package/dist/utils/graphqlClient.js +1 -2
  697. package/dist/utils/invoiceComparison.js +5 -6
  698. package/dist/utils/invoiceReview.js +1 -2
  699. package/dist/utils/mapMarkers.js +2 -3
  700. package/dist/utils/moduleSettings.js +2 -3
  701. package/dist/utils/navigation.js +2 -3
  702. package/dist/utils/orderPricing.js +1 -2
  703. package/dist/utils/orderValidation.js +3 -4
  704. package/dist/utils/orderVehicleHold.js +2 -3
  705. package/dist/utils/palletPreviewInput.js +1 -2
  706. package/dist/utils/palletPreviewResponse.js +2 -3
  707. package/dist/utils/pendingPickDraft.js +1 -2
  708. package/dist/utils/pickReviewAcknowledgement.js +1 -2
  709. package/dist/utils/procedureInput.js +1 -2
  710. package/dist/utils/procedureRecovery.js +1 -2
  711. package/dist/utils/reports.js +1 -2
  712. package/dist/utils/reuseAttempt.js +1 -2
  713. package/dist/utils/reuseForm.js +1 -2
  714. package/dist/utils/reuseRecovery.js +2 -3
  715. package/dist/utils/shipmentStatusDraft.js +1 -2
  716. package/dist/utils/stockBindingForm.js +1 -2
  717. package/dist/utils/stockBindingLabels.js +1 -2
  718. package/dist/utils/stockObservationForm.js +2 -3
  719. package/dist/utils/trackingAlerts.js +1 -2
  720. package/dist/utils/tripDraftContext.js +1 -2
  721. package/dist/utils/tripUtilizationForm.js +2 -3
  722. package/package.json +136 -86
  723. package/src/generated/wspace-operations.ts +13 -12
  724. package/src/generated/wspace-types.ts +43737 -9125
  725. package/src/movethewheels/hooks/useRoutes.ts +37 -10
  726. package/src/movethewheels/pages/RouteDetailsPage.tsx +107 -10
  727. package/src/movethewheels/types/index.ts +27 -1
  728. package/src/movethewheels/utils/orderPricing.test.ts +1 -1
  729. package/src/operations/wspace/movethewheels/fragments/core.graphql +15 -0
  730. package/src/operations/wspace/movethewheels/mutations/logistics.graphql +2 -2
  731. package/dist/node_modules/d3-array/src/ascending.js +0 -6
  732. package/dist/node_modules/d3-array/src/bisect.js +0 -8
  733. package/dist/node_modules/d3-array/src/bisector.js +0 -41
  734. package/dist/node_modules/d3-array/src/descending.js +0 -6
  735. package/dist/node_modules/d3-array/src/max.js +0 -12
  736. package/dist/node_modules/d3-array/src/min.js +0 -12
  737. package/dist/node_modules/d3-array/src/number.js +0 -13
  738. package/dist/node_modules/d3-array/src/quantile.js +0 -23
  739. package/dist/node_modules/d3-array/src/quickselect.js +0 -24
  740. package/dist/node_modules/d3-array/src/range.js +0 -8
  741. package/dist/node_modules/d3-array/src/sort.js +0 -15
  742. package/dist/node_modules/d3-array/src/ticks.js +0 -32
  743. package/dist/node_modules/d3-color/src/color.js +0 -289
  744. package/dist/node_modules/d3-color/src/define.js +0 -11
  745. package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
  746. package/dist/node_modules/d3-format/src/exponent.js +0 -7
  747. package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
  748. package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
  749. package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
  750. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
  751. package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
  752. package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
  753. package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
  754. package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
  755. package/dist/node_modules/d3-format/src/identity.js +0 -6
  756. package/dist/node_modules/d3-format/src/locale.js +0 -84
  757. package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
  758. package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
  759. package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
  760. package/dist/node_modules/d3-interpolate/src/array.js +0 -13
  761. package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
  762. package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
  763. package/dist/node_modules/d3-interpolate/src/color.js +0 -23
  764. package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
  765. package/dist/node_modules/d3-interpolate/src/date.js +0 -9
  766. package/dist/node_modules/d3-interpolate/src/number.js +0 -8
  767. package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
  768. package/dist/node_modules/d3-interpolate/src/object.js +0 -12
  769. package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
  770. package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
  771. package/dist/node_modules/d3-interpolate/src/round.js +0 -8
  772. package/dist/node_modules/d3-interpolate/src/string.js +0 -26
  773. package/dist/node_modules/d3-interpolate/src/value.js +0 -16
  774. package/dist/node_modules/d3-scale/src/band.js +0 -50
  775. package/dist/node_modules/d3-scale/src/constant.js +0 -8
  776. package/dist/node_modules/d3-scale/src/continuous.js +0 -71
  777. package/dist/node_modules/d3-scale/src/diverging.js +0 -80
  778. package/dist/node_modules/d3-scale/src/identity.js +0 -18
  779. package/dist/node_modules/d3-scale/src/init.js +0 -27
  780. package/dist/node_modules/d3-scale/src/linear.js +0 -34
  781. package/dist/node_modules/d3-scale/src/log.js +0 -75
  782. package/dist/node_modules/d3-scale/src/nice.js +0 -8
  783. package/dist/node_modules/d3-scale/src/number.js +0 -6
  784. package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
  785. package/dist/node_modules/d3-scale/src/pow.js +0 -35
  786. package/dist/node_modules/d3-scale/src/quantile.js +0 -35
  787. package/dist/node_modules/d3-scale/src/quantize.js +0 -31
  788. package/dist/node_modules/d3-scale/src/radial.js +0 -37
  789. package/dist/node_modules/d3-scale/src/sequential.js +0 -65
  790. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
  791. package/dist/node_modules/d3-scale/src/symlog.js +0 -28
  792. package/dist/node_modules/d3-scale/src/threshold.js +0 -23
  793. package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
  794. package/dist/node_modules/d3-scale/src/time.js +0 -45
  795. package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
  796. package/dist/node_modules/d3-shape/src/area.js +0 -53
  797. package/dist/node_modules/d3-shape/src/array.js +0 -6
  798. package/dist/node_modules/d3-shape/src/constant.js +0 -8
  799. package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
  800. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
  801. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
  802. package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
  803. package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
  804. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
  805. package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
  806. package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
  807. package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
  808. package/dist/node_modules/d3-shape/src/line.js +0 -28
  809. package/dist/node_modules/d3-shape/src/math.js +0 -6
  810. package/dist/node_modules/d3-shape/src/noop.js +0 -4
  811. package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
  812. package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
  813. package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
  814. package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
  815. package/dist/node_modules/d3-shape/src/order/none.js +0 -7
  816. package/dist/node_modules/d3-shape/src/path.js +0 -17
  817. package/dist/node_modules/d3-shape/src/point.js +0 -9
  818. package/dist/node_modules/d3-shape/src/stack.js +0 -32
  819. package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
  820. package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
  821. package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
  822. package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
  823. package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
  824. package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
  825. package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
  826. package/dist/node_modules/d3-shape/src/symbol.js +0 -21
  827. package/dist/node_modules/d3-time/src/day.js +0 -19
  828. package/dist/node_modules/d3-time/src/duration.js +0 -4
  829. package/dist/node_modules/d3-time/src/hour.js +0 -17
  830. package/dist/node_modules/d3-time/src/interval.js +0 -26
  831. package/dist/node_modules/d3-time/src/millisecond.js +0 -12
  832. package/dist/node_modules/d3-time/src/minute.js +0 -17
  833. package/dist/node_modules/d3-time/src/month.js +0 -16
  834. package/dist/node_modules/d3-time/src/second.js +0 -11
  835. package/dist/node_modules/d3-time/src/ticks.js +0 -123
  836. package/dist/node_modules/d3-time/src/week.js +0 -23
  837. package/dist/node_modules/d3-time/src/year.js +0 -24
  838. package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
  839. package/dist/node_modules/internmap/src/index.js +0 -38
@@ -1,12 +1,12 @@
1
- import { reuseCard as e } from "../ReuseControls.js";
2
- import { freightLabel as t } from "../../utils/freightDraft.js";
3
- import { invoiceMoney as n, invoiceRowDifference as r } from "../../utils/invoiceComparison.js";
1
+ import { freightLabel as e } from "../../utils/freightDraft.js";
2
+ import { invoiceMoney as t, invoiceRowDifference as n } from "../../utils/invoiceComparison.js";
3
+ import { reuseCard as r } from "../ReuseControls.js";
4
4
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
- //#region src/movethewheels/components/freight-invoice/InvoiceResults.tsx
5
+ // src/movethewheels/components/freight-invoice/InvoiceResults.tsx
6
6
  function o({ value: o }) {
7
7
  let { estimate: s, outcome: c } = o;
8
8
  return /* @__PURE__ */ a("section", {
9
- className: e,
9
+ className: r,
10
10
  "aria-label": "Invoice comparison results",
11
11
  children: [
12
12
  /* @__PURE__ */ i("h2", {
@@ -41,7 +41,7 @@ function o({ value: o }) {
41
41
  children: [
42
42
  "Structural preview only.",
43
43
  " ",
44
- o.recordable ? "Source structure is recordable; current permission and Files eligibility are checked when recording." : `Not recordable: ${o.blockers.map(t).join(", ")}.`
44
+ o.recordable ? "Source structure is recordable; current permission and Files eligibility are checked when recording." : `Not recordable: ${o.blockers.map(e).join(", ")}.`
45
45
  ]
46
46
  }),
47
47
  /* @__PURE__ */ i("p", {
@@ -49,25 +49,25 @@ function o({ value: o }) {
49
49
  children: c.allLinesMatched ? "All explicitly compared rows and expected coverage agree under this method." : "Differences or unknown coverage remain."
50
50
  }),
51
51
  /* @__PURE__ */ i("p", { children: "This is not an all-in cost, contracted-rate audit, liability finding, invoice approval or payment." }),
52
- c.rows.map((e, n) => /* @__PURE__ */ a("article", {
52
+ c.rows.map((t, r) => /* @__PURE__ */ a("article", {
53
53
  className: "min-w-0 space-y-2 rounded border p-3",
54
54
  children: [
55
55
  /* @__PURE__ */ a("h3", {
56
56
  className: "font-medium",
57
57
  children: [
58
58
  "Row ",
59
- n + 1,
59
+ r + 1,
60
60
  ":",
61
61
  " ",
62
- o.facts.rows.find((t) => t.id === e.invoiceLineId)?.description ?? "Reported charge"
62
+ o.facts.rows.find((e) => e.id === t.invoiceLineId)?.description ?? "Reported charge"
63
63
  ]
64
64
  }),
65
- /* @__PURE__ */ i("p", { children: e.estimateLineId ? "Mapped to the selected estimate row." : "No estimate row mapped." }),
66
- /* @__PURE__ */ i("p", { children: e.flags.map(t).join(" · ") }),
67
- e.reasons.length > 0 && /* @__PURE__ */ a("p", { children: ["Unknown reasons: ", e.reasons.map(t).join(", ")] }),
68
- /* @__PURE__ */ a("p", { children: ["Comparable amount difference: ", r(o, e.invoiceLineId)] })
65
+ /* @__PURE__ */ i("p", { children: t.estimateLineId ? "Mapped to the selected estimate row." : "No estimate row mapped." }),
66
+ /* @__PURE__ */ i("p", { children: t.flags.map(e).join(" · ") }),
67
+ t.reasons.length > 0 && /* @__PURE__ */ a("p", { children: ["Unknown reasons: ", t.reasons.map(e).join(", ")] }),
68
+ /* @__PURE__ */ a("p", { children: ["Comparable amount difference: ", n(o, t.invoiceLineId)] })
69
69
  ]
70
- }, e.invoiceLineId)),
70
+ }, t.invoiceLineId)),
71
71
  c.missingExpectedLineIds.map((e) => /* @__PURE__ */ a("p", { children: [
72
72
  "Missing expected line: ",
73
73
  e,
@@ -91,13 +91,13 @@ function o({ value: o }) {
91
91
  " ",
92
92
  o.facts.rows.find((t) => t.payerReference === e.payerReference)?.payerLabel ?? e.payerReference,
93
93
  ": estimate ",
94
- n(e.estimateMinor, e.currency),
94
+ t(e.estimateMinor, e.currency),
95
95
  ", invoice",
96
96
  " ",
97
- n(e.invoiceMinor, e.currency),
97
+ t(e.invoiceMinor, e.currency),
98
98
  ", difference",
99
99
  " ",
100
- n(e.deltaMinor, e.currency),
100
+ t(e.deltaMinor, e.currency),
101
101
  ". Included rows",
102
102
  " ",
103
103
  e.invoiceLineIds.map((e) => o.facts.rows.find((t) => t.id === e)?.description ?? "Reported charge").join(", "),
@@ -105,12 +105,12 @@ function o({ value: o }) {
105
105
  ] }, JSON.stringify([e.currency, e.payerReference])))
106
106
  ]
107
107
  }),
108
- [["Declared estimate subtotals", o.estimateDeclaredSubtotals], ["Declared invoice subtotals", o.invoiceDeclaredSubtotals]].map(([e, t]) => /* @__PURE__ */ a("section", {
108
+ [["Declared estimate subtotals", o.estimateDeclaredSubtotals], ["Declared invoice subtotals", o.invoiceDeclaredSubtotals]].map(([e, n]) => /* @__PURE__ */ a("section", {
109
109
  className: "space-y-2",
110
110
  children: [/* @__PURE__ */ i("h3", {
111
111
  className: "font-semibold",
112
112
  children: e
113
- }), t.map((e, t) => /* @__PURE__ */ a("p", { children: [
113
+ }), n.map((e, n) => /* @__PURE__ */ a("p", { children: [
114
114
  "Payer ",
115
115
  e.payerLabel ?? "Unknown",
116
116
  " (",
@@ -118,64 +118,64 @@ function o({ value: o }) {
118
118
  ");",
119
119
  " ",
120
120
  "known ",
121
- n(e.knownAmountMinor, e.currency),
121
+ t(e.knownAmountMinor, e.currency),
122
122
  "; total",
123
123
  " ",
124
- n(e.totalAmountMinor, e.currency),
124
+ t(e.totalAmountMinor, e.currency),
125
125
  "."
126
126
  ] }, JSON.stringify([
127
127
  e.currency,
128
128
  e.payerReference,
129
- t
129
+ n
130
130
  ])))]
131
131
  }, e))
132
132
  ]
133
133
  });
134
134
  }
135
- function s({ record: e }) {
135
+ function s({ record: n }) {
136
136
  return /* @__PURE__ */ a("section", {
137
137
  className: "min-w-0 space-y-4 break-words",
138
138
  children: [
139
139
  /* @__PURE__ */ a("h2", {
140
140
  className: "text-lg font-semibold",
141
- children: ["Immutable comparison revision ", e.revision]
141
+ children: ["Immutable comparison revision ", n.revision]
142
142
  }),
143
143
  /* @__PURE__ */ a("p", { children: [
144
144
  "Invoice ",
145
- e.facts.invoiceReference,
145
+ n.facts.invoiceReference,
146
146
  "; supplier",
147
147
  " ",
148
- e.facts.supplierLabel ?? "Unknown label",
148
+ n.facts.supplierLabel ?? "Unknown label",
149
149
  " (",
150
- e.facts.supplierReference,
150
+ n.facts.supplierReference,
151
151
  "). Source",
152
152
  " ",
153
- e.facts.sourceReference,
153
+ n.facts.sourceReference,
154
154
  " / ",
155
- e.facts.sourceRevision,
155
+ n.facts.sourceRevision,
156
156
  "; invoice date",
157
157
  " ",
158
- e.facts.invoiceDate ?? "Unknown",
158
+ n.facts.invoiceDate ?? "Unknown",
159
159
  "."
160
160
  ] }),
161
161
  /* @__PURE__ */ a("p", { children: [
162
162
  "Recorded ",
163
- e.recordedAt,
163
+ n.recordedAt,
164
164
  " by ",
165
- e.createdBy,
165
+ n.createdBy,
166
166
  ", ",
167
- t(e.actorProvenance),
167
+ e(n.actorProvenance),
168
168
  "; on behalf of ",
169
- e.onBehalfOf ?? "Not declared",
169
+ n.onBehalfOf ?? "Not declared",
170
170
  ". Method ",
171
- e.methodVersion,
171
+ n.methodVersion,
172
172
  "."
173
173
  ] }),
174
- e.correctionReason && /* @__PURE__ */ a("p", { children: [
174
+ n.correctionReason && /* @__PURE__ */ a("p", { children: [
175
175
  "Correction reason: ",
176
- e.correctionReason,
176
+ n.correctionReason,
177
177
  "; predecessor ",
178
- e.previousComparisonId,
178
+ n.previousComparisonId,
179
179
  "."
180
180
  ] }),
181
181
  /* @__PURE__ */ a("details", { children: [/* @__PURE__ */ i("summary", {
@@ -183,7 +183,7 @@ function s({ record: e }) {
183
183
  children: "Original reported rows and exact evidence"
184
184
  }), /* @__PURE__ */ a("div", {
185
185
  className: "space-y-3",
186
- children: [e.facts.rows.map((e) => /* @__PURE__ */ a("article", {
186
+ children: [n.facts.rows.map((e) => /* @__PURE__ */ a("article", {
187
187
  className: "rounded border p-3",
188
188
  children: [
189
189
  /* @__PURE__ */ a("h3", { children: [
@@ -197,7 +197,7 @@ function s({ record: e }) {
197
197
  e.estimateLineId ?? "Unmatched",
198
198
  "; amount",
199
199
  " ",
200
- n(e.amountMinor, e.currency),
200
+ t(e.amountMinor, e.currency),
201
201
  "; payer ",
202
202
  e.payerLabel ?? "Unknown",
203
203
  " (",
@@ -216,7 +216,7 @@ function s({ record: e }) {
216
216
  ] }),
217
217
  e.zeroReason && /* @__PURE__ */ a("p", { children: ["Zero reason: ", e.zeroReason] })
218
218
  ]
219
- }, e.id)), e.evidence.map((e) => /* @__PURE__ */ a("p", {
219
+ }, e.id)), n.evidence.map((e) => /* @__PURE__ */ a("p", {
220
220
  className: "break-all",
221
221
  children: [
222
222
  "File ",
@@ -232,9 +232,8 @@ function s({ record: e }) {
232
232
  ]
233
233
  }, e.versionId))]
234
234
  })] }),
235
- /* @__PURE__ */ i(o, { value: e })
235
+ /* @__PURE__ */ i(o, { value: n })
236
236
  ]
237
237
  });
238
238
  }
239
- //#endregion
240
239
  export { s as InvoiceHistoryRecord, o as InvoiceResults };
@@ -1,21 +1,21 @@
1
1
  import { Button as e } from "../ui.js";
2
- import { useConditionApi as t, useConditionQuery as n } from "../../hooks/useContainerCondition.js";
3
- import { ReuseState as r, reuseCard as i } from "../ReuseControls.js";
4
- import { FreightSelect as a } from "../freight-cost/FreightFields.js";
2
+ import { FreightSelect as t } from "../freight-cost/FreightFields.js";
3
+ import { ReuseState as n, reuseCard as r } from "../ReuseControls.js";
4
+ import { useConditionApi as i, useConditionQuery as a } from "../../hooks/useContainerCondition.js";
5
5
  import { DecideInvoiceReviewDocument as o, HandOffInvoiceSettlementDocument as s, InvoiceReviewExactDocument as c, RecordInvoiceSupplierResponseDocument as l, ResolveInvoiceDisputeDocument as u } from "../../src/generated/freight-invoice-operations.js";
6
6
  import { invoiceMoney as d } from "../../utils/invoiceComparison.js";
7
7
  import { DRAFT_PROBLEM_LABELS as f, REVIEW_EVENT_LABELS as p, REVIEW_STATUS_LABELS as m, authorNotice as h, availableReviewActions as g, decisionInput as _, handOffInput as v, isDraftProblem as y, resolutionInput as b, supplierResponseInput as x } from "../../utils/invoiceReview.js";
8
8
  import { useState as S } from "react";
9
9
  import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
10
- //#region src/movethewheels/components/freight-invoice/InvoiceReviewPanel.tsx
10
+ // src/movethewheels/components/freight-invoice/InvoiceReviewPanel.tsx
11
11
  var E = "mt-1 min-h-24 w-full rounded border p-2";
12
- function D({ record: e, permissions: t, onChanged: a }) {
13
- let [o, s] = S(0), l = n(c, t.canRead ? {
12
+ function D({ record: e, permissions: t, onChanged: i }) {
13
+ let [o, s] = S(0), l = a(c, t.canRead ? {
14
14
  shipmentId: e.shipmentId,
15
15
  comparisonId: e.id
16
16
  } : null, o);
17
17
  if (!t.canRead) return /* @__PURE__ */ T("section", {
18
- className: i,
18
+ className: r,
19
19
  "aria-label": "Invoice review",
20
20
  children: [/* @__PURE__ */ w("h2", {
21
21
  className: "text-lg font-semibold",
@@ -24,14 +24,14 @@ function D({ record: e, permissions: t, onChanged: a }) {
24
24
  });
25
25
  let u = l.data?.mtwFreightInvoiceReview;
26
26
  return /* @__PURE__ */ T("section", {
27
- className: i,
27
+ className: r,
28
28
  "aria-label": "Invoice review",
29
29
  children: [
30
30
  /* @__PURE__ */ w("h2", {
31
31
  className: "text-lg font-semibold",
32
32
  children: "Invoice review"
33
33
  }),
34
- /* @__PURE__ */ w(r, {
34
+ /* @__PURE__ */ w(n, {
35
35
  loading: l.loading,
36
36
  error: l.error
37
37
  }),
@@ -40,7 +40,7 @@ function D({ record: e, permissions: t, onChanged: a }) {
40
40
  lines: e.facts.rows,
41
41
  permissions: t,
42
42
  onRecorded: () => {
43
- s((e) => e + 1), a?.();
43
+ s((e) => e + 1), i?.();
44
44
  }
45
45
  }, `${u.comparisonId}:${u.sequence}`)
46
46
  ]
@@ -123,8 +123,8 @@ var k = {
123
123
  RESOLVE_DISPUTE: "Resolve dispute",
124
124
  HAND_OFF_SETTLEMENT: "Hand off to Billing"
125
125
  };
126
- function A({ review: n, actions: r, lines: i, onRecorded: c }) {
127
- let p = t(), [m, h] = S(r[0]), [g, D] = S("ACCEPTED"), [O, A] = S("ACCEPTED"), [j, M] = S(""), [N, P] = S([]), [F, I] = S(() => crypto.randomUUID()), [L, R] = S(!1), [z, B] = S(null), V = (e) => (t) => {
126
+ function A({ review: n, actions: r, lines: a, onRecorded: c }) {
127
+ let p = i(), [m, h] = S(r[0]), [g, D] = S("ACCEPTED"), [O, A] = S("ACCEPTED"), [j, M] = S(""), [N, P] = S([]), [F, I] = S(() => crypto.randomUUID()), [L, R] = S(!1), [z, B] = S(null), V = (e) => (t) => {
128
128
  e(t), I(crypto.randomUUID()), B(null);
129
129
  }, H = {
130
130
  review: n,
@@ -143,17 +143,16 @@ function A({ review: n, actions: r, lines: i, onRecorded: c }) {
143
143
  document: s,
144
144
  input: v(H, j)
145
145
  };
146
- if (y(e.input)) {
147
- B(f[e.input]);
148
- return;
149
- }
150
- R(!0), B(null);
151
- try {
152
- await p(e.document, { input: e.input }), c();
153
- } catch (e) {
154
- B(e instanceof Error ? e.message : "The review step was not recorded.");
155
- } finally {
156
- R(!1);
146
+ if (y(e.input)) B(f[e.input]);
147
+ else {
148
+ R(!0), B(null);
149
+ try {
150
+ await p(e.document, { input: e.input }), c();
151
+ } catch (e) {
152
+ B(e instanceof Error ? e.message : "The review step was not recorded.");
153
+ } finally {
154
+ R(!1);
155
+ }
157
156
  }
158
157
  };
159
158
  return /* @__PURE__ */ T("form", {
@@ -163,7 +162,7 @@ function A({ review: n, actions: r, lines: i, onRecorded: c }) {
163
162
  e.preventDefault(), U();
164
163
  },
165
164
  children: [
166
- r.length > 1 && /* @__PURE__ */ w(a, {
165
+ r.length > 1 && /* @__PURE__ */ w(t, {
167
166
  label: "Review step",
168
167
  value: m,
169
168
  onChange: (e) => V(h)(e),
@@ -172,7 +171,7 @@ function A({ review: n, actions: r, lines: i, onRecorded: c }) {
172
171
  children: k[e]
173
172
  }, e))
174
173
  }),
175
- m === "DECIDE" && /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ T(a, {
174
+ m === "DECIDE" && /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ T(t, {
176
175
  label: "Decision",
177
176
  value: g,
178
177
  onChange: (e) => V(D)(e),
@@ -195,7 +194,7 @@ function A({ review: n, actions: r, lines: i, onRecorded: c }) {
195
194
  children: [/* @__PURE__ */ w("legend", {
196
195
  className: "text-sm font-medium",
197
196
  children: "Disputed invoice lines"
198
- }), i.map((e) => /* @__PURE__ */ T("label", {
197
+ }), a.map((e) => /* @__PURE__ */ T("label", {
199
198
  className: "flex min-h-11 items-center gap-2 text-sm",
200
199
  children: [
201
200
  /* @__PURE__ */ w("input", {
@@ -210,7 +209,7 @@ function A({ review: n, actions: r, lines: i, onRecorded: c }) {
210
209
  ]
211
210
  }, e.id))]
212
211
  })] }),
213
- m === "RESOLVE_DISPUTE" && /* @__PURE__ */ T(a, {
212
+ m === "RESOLVE_DISPUTE" && /* @__PURE__ */ T(t, {
214
213
  label: "Resolution",
215
214
  value: O,
216
215
  onChange: (e) => V(A)(e),
@@ -251,5 +250,4 @@ function A({ review: n, actions: r, lines: i, onRecorded: c }) {
251
250
  ]
252
251
  });
253
252
  }
254
- //#endregion
255
253
  export { D as InvoiceReviewPanel };
@@ -1,16 +1,16 @@
1
1
  import { Button as e } from "../ui.js";
2
- import { useConditionQuery as t } from "../../hooks/useContainerCondition.js";
2
+ import { FreightSelect as t } from "../freight-cost/FreightFields.js";
3
3
  import { ReusePager as n, ReuseState as r, reuseCard as i } from "../ReuseControls.js";
4
- import { FreightSelect as a } from "../freight-cost/FreightFields.js";
4
+ import { useConditionQuery as a } from "../../hooks/useContainerCondition.js";
5
5
  import { InvoiceReviewQueueDocument as o, InvoiceReviewSummaryDocument as s } from "../../src/generated/freight-invoice-operations.js";
6
6
  import { invoiceMoney as c } from "../../utils/invoiceComparison.js";
7
7
  import { REVIEW_QUEUE_STATUSES as l, REVIEW_STATUS_LABELS as u } from "../../utils/invoiceReview.js";
8
8
  import { useState as d } from "react";
9
9
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
10
- //#region src/movethewheels/components/freight-invoice/InvoiceReviewQueue.tsx
10
+ // src/movethewheels/components/freight-invoice/InvoiceReviewQueue.tsx
11
11
  var m = 10;
12
12
  function h({ revision: s, onOpen: h, locked: g = !1 }) {
13
- let [_, v] = d("AWAITING_REVIEW"), [y, b] = d(0), x = t(o, {
13
+ let [_, v] = d("AWAITING_REVIEW"), [y, b] = d(0), x = a(o, {
14
14
  status: _ || null,
15
15
  pagination: {
16
16
  limit: m,
@@ -30,7 +30,7 @@ function h({ revision: s, onOpen: h, locked: g = !1 }) {
30
30
  role: "status",
31
31
  children: "Finish or cancel the invoice draft below before opening a review."
32
32
  }),
33
- /* @__PURE__ */ p(a, {
33
+ /* @__PURE__ */ p(t, {
34
34
  label: "Review status",
35
35
  value: _,
36
36
  onChange: (e) => {
@@ -82,12 +82,11 @@ function h({ revision: s, onOpen: h, locked: g = !1 }) {
82
82
  });
83
83
  }
84
84
  function g(e) {
85
- let n = t(s, e ? {} : null);
85
+ let t = a(s, e ? {} : null);
86
86
  return {
87
- summary: n.data?.mtwFreightInvoiceReviewSummary ?? null,
88
- loading: n.loading,
89
- error: n.error
87
+ summary: t.data?.mtwFreightInvoiceReviewSummary ?? null,
88
+ loading: t.loading,
89
+ error: t.error
90
90
  };
91
91
  }
92
- //#endregion
93
92
  export { h as InvoiceReviewQueue, g as useInvoiceReviewSummary };
@@ -1,23 +1,24 @@
1
- import "./ui.js";
2
- import "./PageLayout.js";
3
- import "./charts/chartTokens.js";
4
- import "./charts/Sparkline.js";
5
- import "./MetricCard.js";
6
- import "./GlassPanel.js";
7
- import "./charts/ChartShell.js";
8
- import "./charts/TrendChart.js";
9
- import "./charts/VolumeBar.js";
10
- import "./charts/StatusDonut.js";
1
+ import { Avatar as e, AvatarFallback as t, AvatarImage as n, Badge as r, Button as i, Card as a, CardContent as o, CardDescription as s, CardFooter as c, CardHeader as l, CardTitle as u, Checkbox as d, Command as f, CommandEmpty as p, CommandGroup as m, CommandInput as h, CommandItem as g, CommandList as _, Dialog as v, DialogContent as y, DialogDescription as b, DialogFooter as x, DialogHeader as S, DialogTitle as C, DialogTrigger as w, DropdownMenu as T, DropdownMenuContent as E, DropdownMenuItem as D, DropdownMenuSeparator as O, DropdownMenuTrigger as k, Input as A, Label as j, Popover as M, PopoverContent as N, PopoverTrigger as P, Progress as F, ScrollArea as I, Select as L, SelectContent as R, SelectItem as z, SelectTrigger as B, SelectValue as V, Separator as H, Skeleton as U, Switch as W, Table as G, TableBody as K, TableCell as q, TableHead as J, TableHeader as Y, TableRow as X, Tabs as Z, TabsContent as Q, TabsList as $, TabsTrigger as ee, Textarea as te, Tooltip as ne, TooltipContent as re, TooltipProvider as ie, TooltipTrigger as ae } from "./ui.js";
2
+ import { EmptyState as oe, ErrorState as se, LoadingState as ce, PageLayout as le, PageSection as ue } from "./PageLayout.js";
3
+ import { chartTokens as de, seriesColor as fe } from "./charts/chartTokens.js";
4
+ import { Sparkline as pe } from "./charts/Sparkline.js";
5
+ import { MetricCard as me, MetricCardSkeleton as he, MetricGrid as ge } from "./MetricCard.js";
6
+ import { GlassPanel as _e } from "./GlassPanel.js";
7
+ import { ChartEmpty as ve, ChartTooltip as ye } from "./charts/ChartShell.js";
8
+ import { TrendChart as be } from "./charts/TrendChart.js";
9
+ import { VolumeBar as xe } from "./charts/VolumeBar.js";
10
+ import { StatusDonut as Se } from "./charts/StatusDonut.js";
11
11
  import "./charts/index.js";
12
- import "./maps/leaflet-setup.js";
13
- import "./maps/MapCanvas.js";
14
- import "./maps/LogisticsMap.js";
15
- import "./maps/RouteMap.js";
16
- import "./maps/TrackingMap.js";
12
+ import { createCurrentIcon as Ce, createPinIcon as we, createStopIcon as Te, isRealCoord as Ee } from "./maps/leaflet-setup.js";
13
+ import { MapCanvas as De } from "./maps/MapCanvas.js";
14
+ import { LogisticsMap as Oe } from "./maps/LogisticsMap.js";
15
+ import { RouteMap as ke } from "./maps/RouteMap.js";
16
+ import { TrackingMap as Ae } from "./maps/TrackingMap.js";
17
17
  import "./maps/index.js";
18
- import "./StatusBadge.js";
19
- import "./DataTable.js";
20
- import "./FormError.js";
21
- import "./Notice.js";
22
- import "./DocumentsCard.js";
23
- import "./CarbonFootprintPanel.js";
18
+ import { PaymentStatusBadge as je, PriorityBadge as Me, StatusBadge as Ne, TypeBadge as Pe, VehicleTypeBadge as Fe } from "./StatusBadge.js";
19
+ import { DataTable as Ie } from "./DataTable.js";
20
+ import { FormError as Le } from "./FormError.js";
21
+ import { Notice as Re, useNotice as ze } from "./Notice.js";
22
+ import { DocumentsCard as Be } from "./DocumentsCard.js";
23
+ import { CarbonFootprintPanel as Ve } from "./CarbonFootprintPanel.js";
24
+ export { e as Avatar, t as AvatarFallback, n as AvatarImage, r as Badge, i as Button, Ve as CarbonFootprintPanel, a as Card, o as CardContent, s as CardDescription, c as CardFooter, l as CardHeader, u as CardTitle, ve as ChartEmpty, ye as ChartTooltip, d as Checkbox, f as Command, p as CommandEmpty, m as CommandGroup, h as CommandInput, g as CommandItem, _ as CommandList, Ie as DataTable, v as Dialog, y as DialogContent, b as DialogDescription, x as DialogFooter, S as DialogHeader, C as DialogTitle, w as DialogTrigger, Be as DocumentsCard, T as DropdownMenu, E as DropdownMenuContent, D as DropdownMenuItem, O as DropdownMenuSeparator, k as DropdownMenuTrigger, oe as EmptyState, se as ErrorState, Le as FormError, _e as GlassPanel, A as Input, j as Label, ce as LoadingState, Oe as LogisticsMap, De as MapCanvas, me as MetricCard, he as MetricCardSkeleton, ge as MetricGrid, Re as Notice, le as PageLayout, ue as PageSection, je as PaymentStatusBadge, M as Popover, N as PopoverContent, P as PopoverTrigger, Me as PriorityBadge, F as Progress, ke as RouteMap, I as ScrollArea, L as Select, R as SelectContent, z as SelectItem, B as SelectTrigger, V as SelectValue, H as Separator, U as Skeleton, pe as Sparkline, Ne as StatusBadge, Se as StatusDonut, W as Switch, G as Table, K as TableBody, q as TableCell, J as TableHead, Y as TableHeader, X as TableRow, Z as Tabs, Q as TabsContent, $ as TabsList, ee as TabsTrigger, te as Textarea, ne as Tooltip, re as TooltipContent, ie as TooltipProvider, ae as TooltipTrigger, Ae as TrackingMap, be as TrendChart, Pe as TypeBadge, Fe as VehicleTypeBadge, xe as VolumeBar, de as chartTokens, Ce as createCurrentIcon, we as createPinIcon, Te as createStopIcon, Ee as isRealCoord, fe as seriesColor, ze as useNotice };
@@ -1,18 +1,18 @@
1
- import { Button as e } from "../ui.js";
2
- import { localProcedureInstant as t, stepLabel as n } from "../../utils/procedureInput.js";
3
- import { reuseSelect as r } from "../ReuseControls.js";
4
- import { ProcedureField as i } from "./ProcedureFields.js";
5
- import { ContainerEvidencePicker as a } from "../ContainerEvidencePicker.js";
1
+ import { ContainerEvidencePicker as e } from "../ContainerEvidencePicker.js";
2
+ import { Button as t } from "../ui.js";
3
+ import { reuseSelect as n } from "../ReuseControls.js";
4
+ import { ProcedureField as r } from "./ProcedureFields.js";
5
+ import { localProcedureInstant as i, stepLabel as a } from "../../utils/procedureInput.js";
6
6
  import { useState as o } from "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
8
- //#region src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx
9
- function u({ executionId: t, step: s, previous: u, busy: d, onSave: f }) {
8
+ // src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx
9
+ function u({ executionId: i, step: s, previous: u, busy: d, onSave: f }) {
10
10
  let [p, m] = o("ISSUE"), [h, g] = o(""), [_, v] = o([]), [y, b] = o(null);
11
11
  return /* @__PURE__ */ l("form", {
12
12
  className: "space-y-3",
13
13
  onSubmit: (e) => {
14
14
  e.preventDefault(), b(null), f({
15
- executionId: t,
15
+ executionId: i,
16
16
  step: s,
17
17
  expectedVersion: u?.version ?? 0,
18
18
  expectedPreviousId: u?.id ?? null,
@@ -30,7 +30,7 @@ function u({ executionId: t, step: s, previous: u, busy: d, onSave: f }) {
30
30
  children: [
31
31
  /* @__PURE__ */ c("h3", {
32
32
  className: "font-medium",
33
- children: n[s]
33
+ children: a[s]
34
34
  }),
35
35
  /* @__PURE__ */ l("p", { children: [
36
36
  "Reviewed predecessor:",
@@ -41,7 +41,7 @@ function u({ executionId: t, step: s, previous: u, busy: d, onSave: f }) {
41
41
  /* @__PURE__ */ l("label", {
42
42
  className: "block",
43
43
  children: ["Reported result", /* @__PURE__ */ l("select", {
44
- className: r,
44
+ className: n,
45
45
  value: p,
46
46
  onChange: (e) => m(e.target.value === "DONE" ? "DONE" : "ISSUE"),
47
47
  children: [/* @__PURE__ */ c("option", {
@@ -53,13 +53,13 @@ function u({ executionId: t, step: s, previous: u, busy: d, onSave: f }) {
53
53
  })]
54
54
  })]
55
55
  }),
56
- /* @__PURE__ */ c(i, {
56
+ /* @__PURE__ */ c(r, {
57
57
  label: "Review note",
58
58
  value: h,
59
59
  onChange: g,
60
60
  maxLength: 2e3
61
61
  }),
62
- p === "DONE" ? /* @__PURE__ */ c(a, {
62
+ p === "DONE" ? /* @__PURE__ */ c(e, {
63
63
  value: _,
64
64
  onChange: v,
65
65
  description: "Exact source versions for this reported check; integrity alone does not certify condition or legal compliance."
@@ -67,7 +67,7 @@ function u({ executionId: t, step: s, previous: u, busy: d, onSave: f }) {
67
67
  className: "text-sm",
68
68
  children: "An issue can be reported without Files. It does not satisfy a required check."
69
69
  }),
70
- /* @__PURE__ */ c(e, {
70
+ /* @__PURE__ */ c(t, {
71
71
  type: "submit",
72
72
  disabled: p === "DONE" && !_.length,
73
73
  children: "Record check"
@@ -79,9 +79,9 @@ function u({ executionId: t, step: s, previous: u, busy: d, onSave: f }) {
79
79
  })]
80
80
  });
81
81
  }
82
- function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke: m }) {
82
+ function d({ executionId: a, issue: u, previous: d, busy: f, onSave: p, onRevoke: m }) {
83
83
  let [h, g] = o("REJECTED"), [_, v] = o(""), [y, b] = o(""), [x, S] = o(""), [C, w] = o([]), [T, E] = o(null), D = {
84
- executionId: n,
84
+ executionId: a,
85
85
  stepDecisionId: u.id,
86
86
  expectedVersion: d?.version ?? 0,
87
87
  expectedPreviousId: d?.id ?? null
@@ -94,8 +94,8 @@ function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke
94
94
  }) : await p({
95
95
  ...D,
96
96
  kind: h,
97
- validFrom: h === "APPROVED" ? t(_) : null,
98
- validUntil: h === "APPROVED" ? t(y) : null,
97
+ validFrom: h === "APPROVED" ? i(_) : null,
98
+ validUntil: h === "APPROVED" ? i(y) : null,
99
99
  reason: x,
100
100
  evidence: h === "APPROVED" ? C.map(({ fileId: e, versionId: t }) => ({
101
101
  fileId: e,
@@ -130,7 +130,7 @@ function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke
130
130
  /* @__PURE__ */ l("label", {
131
131
  className: "block",
132
132
  children: ["Review result", /* @__PURE__ */ l("select", {
133
- className: r,
133
+ className: n,
134
134
  value: h,
135
135
  onChange: (e) => g(e.target.value === "APPROVED" ? "APPROVED" : "REJECTED"),
136
136
  children: [/* @__PURE__ */ c("option", {
@@ -142,7 +142,7 @@ function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke
142
142
  })]
143
143
  })]
144
144
  }),
145
- /* @__PURE__ */ c(i, {
145
+ /* @__PURE__ */ c(r, {
146
146
  label: "Reason",
147
147
  value: x,
148
148
  onChange: S,
@@ -154,19 +154,19 @@ function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke
154
154
  Intl.DateTimeFormat().resolvedOptions().timeZone,
155
155
  "; exclusive deadline."
156
156
  ] }),
157
- /* @__PURE__ */ c(i, {
157
+ /* @__PURE__ */ c(r, {
158
158
  label: "Valid from",
159
159
  type: "datetime-local",
160
160
  value: _,
161
161
  onChange: v
162
162
  }),
163
- /* @__PURE__ */ c(i, {
163
+ /* @__PURE__ */ c(r, {
164
164
  label: "Valid until",
165
165
  type: "datetime-local",
166
166
  value: y,
167
167
  onChange: b
168
168
  }),
169
- /* @__PURE__ */ c(a, {
169
+ /* @__PURE__ */ c(e, {
170
170
  value: C,
171
171
  onChange: w,
172
172
  description: "Exact evidence for this internal review note; no physical or regulatory waiver."
@@ -174,11 +174,11 @@ function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke
174
174
  ] }),
175
175
  /* @__PURE__ */ l("div", {
176
176
  className: "flex flex-wrap gap-2",
177
- children: [/* @__PURE__ */ c(e, {
177
+ children: [/* @__PURE__ */ c(t, {
178
178
  type: "submit",
179
179
  disabled: h === "APPROVED" && !C.length,
180
180
  children: "Record independent review"
181
- }), d?.kind === "APPROVED" && /* @__PURE__ */ c(e, {
181
+ }), d?.kind === "APPROVED" && /* @__PURE__ */ c(t, {
182
182
  type: "button",
183
183
  variant: "outline",
184
184
  disabled: !x.trim(),
@@ -193,5 +193,4 @@ function d({ executionId: n, issue: u, previous: d, busy: f, onSave: p, onRevoke
193
193
  })]
194
194
  });
195
195
  }
196
- //#endregion
197
196
  export { d as ProcedureDeviationForm, u as ProcedureStepForm };
@@ -1,6 +1,6 @@
1
1
  import { reuseSelect as e } from "../ReuseControls.js";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
- //#region src/movethewheels/components/logistics-procedure/ProcedureFields.tsx
3
+ // src/movethewheels/components/logistics-procedure/ProcedureFields.tsx
4
4
  function r({ label: r, value: i, onChange: a, type: o = "text", maxLength: s = 255, required: c = !0 }) {
5
5
  return /* @__PURE__ */ n("label", {
6
6
  className: "block text-sm",
@@ -27,5 +27,4 @@ function i({ title: e, children: r }) {
27
27
  function a({ value: e }) {
28
28
  return /* @__PURE__ */ t("span", { children: e ? new Date(e).toLocaleString() : "Unknown / not supplied" });
29
29
  }
30
- //#endregion
31
30
  export { r as ProcedureField, i as ProcedureGroup, a as ProcedureTime };