@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,29 +1,29 @@
1
- import { Repeat2 as e } from "../node_modules/lucide-react/dist/esm/icons/repeat-2.js";
2
- import { Button as t } from "../components/ui.js";
1
+ import { reuseText as e } from "../utils/reuseForm.js";
2
+ import t from "../node_modules/lucide-react/dist/esm/icons/repeat-2.js";
3
3
  import { PageLayout as n } from "../components/PageLayout.js";
4
- import { useConditionQuery as r } from "../hooks/useContainerCondition.js";
5
- import { PinnedSelect as i, ReuseField as ee, ReusePager as a, ReuseState as o, reuseCard as te } from "../components/ReuseControls.js";
6
- import { reuseText as ne } from "../utils/reuseForm.js";
7
- import { ReturnInstructionForm as re } from "../components/ReturnInstructionForm.js";
8
- import { AcceptReuseReservationDocument as ie, BoundReturnInstructionDocument as ae, RecordReturnInstructionDocument as oe, RecordReuseApprovalDocument as se, RecordReuseProposalDocument as ce, ReturnInstructionsDocument as le, ReuseApprovalsDocument as ue, ReuseContainersDocument as de, ReuseCyclesDocument as fe, ReuseEligibilityDocument as pe, ReuseProposalsDocument as me, ReuseReservationTransitionsDocument as he, ReuseReservationsDocument as s, TerminateReuseReservationDocument as ge } from "../src/generated/empty-reuse-operations.js";
9
- import { ReuseProposalForm as _e } from "../components/ReuseProposalForm.js";
10
- import { ReusePermissionForm as ve } from "../components/ReusePermissionForm.js";
11
- import { useReuseRecoveryAction as ye } from "../hooks/useReuseRecoveryAction.js";
12
- import { useState as c } from "react";
13
- import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
14
- //#region src/movethewheels/pages/EmptyReusePage.tsx
15
- var f = (e) => ({
4
+ import { Button as r } from "../components/ui.js";
5
+ import { PinnedSelect as i, ReuseField as a, ReusePager as o, ReuseState as s, reuseCard as ee } from "../components/ReuseControls.js";
6
+ import { ReturnInstructionForm as te } from "../components/ReturnInstructionForm.js";
7
+ import { ReuseProposalForm as ne } from "../components/ReuseProposalForm.js";
8
+ import { ReusePermissionForm as re } from "../components/ReusePermissionForm.js";
9
+ import { useConditionQuery as c } from "../hooks/useContainerCondition.js";
10
+ import { useReuseRecoveryAction as ie } from "../hooks/useReuseRecoveryAction.js";
11
+ import { AcceptReuseReservationDocument as ae, BoundReturnInstructionDocument as oe, RecordReturnInstructionDocument as se, RecordReuseApprovalDocument as ce, RecordReuseProposalDocument as le, ReturnInstructionsDocument as ue, ReuseApprovalsDocument as de, ReuseContainersDocument as fe, ReuseCyclesDocument as pe, ReuseEligibilityDocument as me, ReuseProposalsDocument as he, ReuseReservationTransitionsDocument as ge, ReuseReservationsDocument as _e, TerminateReuseReservationDocument as ve } from "../src/generated/empty-reuse-operations.js";
12
+ import { useState as l } from "react";
13
+ import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
14
+ // src/movethewheels/pages/EmptyReusePage.tsx
15
+ var p = (e) => ({
16
16
  limit: 25,
17
17
  offset: e
18
18
  });
19
- function p({ evidence: e }) {
20
- return /* @__PURE__ */ d("details", { children: [/* @__PURE__ */ d("summary", { children: [
19
+ function m({ evidence: e }) {
20
+ return /* @__PURE__ */ f("details", { children: [/* @__PURE__ */ f("summary", { children: [
21
21
  "Exact evidence versions (",
22
22
  e.length,
23
23
  ")"
24
- ] }), /* @__PURE__ */ u("ul", {
24
+ ] }), /* @__PURE__ */ d("ul", {
25
25
  className: "space-y-2 text-xs",
26
- children: e.map((e) => /* @__PURE__ */ d("li", {
26
+ children: e.map((e) => /* @__PURE__ */ f("li", {
27
27
  className: "break-all",
28
28
  children: [
29
29
  "File ",
@@ -39,12 +39,12 @@ function p({ evidence: e }) {
39
39
  }, e.versionId))
40
40
  })] });
41
41
  }
42
- function be({ row: e }) {
43
- return /* @__PURE__ */ d("details", {
42
+ function ye({ row: e }) {
43
+ return /* @__PURE__ */ f("details", {
44
44
  className: "space-y-2 text-sm",
45
45
  children: [
46
- /* @__PURE__ */ u("summary", { children: "Inspect immutable planning revision" }),
47
- /* @__PURE__ */ d("p", { children: [
46
+ /* @__PURE__ */ d("summary", { children: "Inspect immutable planning revision" }),
47
+ /* @__PURE__ */ f("p", { children: [
48
48
  "Actual event ",
49
49
  e.emptyEventId,
50
50
  "; condition ",
@@ -58,7 +58,7 @@ function be({ row: e }) {
58
58
  e.transportRouteUpdatedAt,
59
59
  "."
60
60
  ] }),
61
- /* @__PURE__ */ d("p", { children: [
61
+ /* @__PURE__ */ f("p", { children: [
62
62
  "Export booking ",
63
63
  e.exportBookingReference,
64
64
  "; recipient ",
@@ -77,10 +77,10 @@ function be({ row: e }) {
77
77
  e.cargoCategory,
78
78
  "."
79
79
  ] }),
80
- /* @__PURE__ */ d("p", { children: [
80
+ /* @__PURE__ */ f("p", { children: [
81
81
  "Proposal scope fingerprint:",
82
82
  " ",
83
- /* @__PURE__ */ u("span", {
83
+ /* @__PURE__ */ d("span", {
84
84
  className: "break-all",
85
85
  children: e.assessment.scopeFingerprint
86
86
  }),
@@ -92,10 +92,10 @@ function be({ row: e }) {
92
92
  e.assessment.conditionQualificationVersion ?? "UNKNOWN",
93
93
  "."
94
94
  ] }),
95
- Object.entries(e.assessment.sources).filter(([e]) => e !== "__typename").map(([e, t]) => /* @__PURE__ */ d("div", {
95
+ Object.entries(e.assessment.sources).filter(([e]) => e !== "__typename").map(([e, t]) => /* @__PURE__ */ f("div", {
96
96
  className: "rounded border p-3",
97
- children: [/* @__PURE__ */ u("strong", { children: e }), t && typeof t == "object" && "sourceReference" in t ? /* @__PURE__ */ d(l, { children: [
98
- /* @__PURE__ */ d("p", { children: [
97
+ children: [/* @__PURE__ */ d("strong", { children: e }), t && typeof t == "object" && "sourceReference" in t ? /* @__PURE__ */ f(u, { children: [
98
+ /* @__PURE__ */ f("p", { children: [
99
99
  t.purpose,
100
100
  ": ",
101
101
  t.sourceReference,
@@ -113,14 +113,14 @@ function be({ row: e }) {
113
113
  t.recordedByActorId,
114
114
  "."
115
115
  ] }),
116
- /* @__PURE__ */ d("p", {
116
+ /* @__PURE__ */ f("p", {
117
117
  className: "break-all",
118
118
  children: ["Purpose scope: ", t.scopeFingerprint]
119
119
  }),
120
- /* @__PURE__ */ u(p, { evidence: t.evidence })
121
- ] }) : /* @__PURE__ */ u("p", { children: "UNKNOWN: no purpose-specific source" })]
120
+ /* @__PURE__ */ d(m, { evidence: t.evidence })
121
+ ] }) : /* @__PURE__ */ d("p", { children: "UNKNOWN: no purpose-specific source" })]
122
122
  }, e)),
123
- /* @__PURE__ */ d("p", { children: [
123
+ /* @__PURE__ */ f("p", { children: [
124
124
  "Timing",
125
125
  " ",
126
126
  e.assessment.timing ? `departure ${e.assessment.timing.departureAt}, travel ≤${e.assessment.timing.maxTravelSeconds}s, wait ≤${e.assessment.timing.maxWaitSeconds}s, full leg ≤${e.assessment.timing.maxFullReuseAndReturnSeconds}s; return ${e.assessment.timing.plannedReturnFrom}–${e.assessment.timing.plannedReturnUntil}` : "UNKNOWN",
@@ -129,281 +129,281 @@ function be({ row: e }) {
129
129
  e.assessment.routeBinding ? `waypoints ${e.assessment.routeBinding.handoffWaypointIndex} → ${e.assessment.routeBinding.returnWaypointIndex}` : "UNKNOWN",
130
130
  "."
131
131
  ] }),
132
- /* @__PURE__ */ u(p, { evidence: e.evidence })
132
+ /* @__PURE__ */ d(m, { evidence: e.evidence })
133
133
  ]
134
134
  });
135
135
  }
136
- function m() {
137
- let t = ye();
138
- return /* @__PURE__ */ u(n, {
136
+ function h() {
137
+ let e = ie();
138
+ return /* @__PURE__ */ d(n, {
139
139
  title: "Empty return and reuse planning",
140
140
  subtitle: "Sourced obligations, planning revisions and separate dispatch-review reservations.",
141
- icon: /* @__PURE__ */ u(e, { "aria-hidden": "true" }),
142
- children: /* @__PURE__ */ u(h, { mutations: t }, t.contextKey)
141
+ icon: /* @__PURE__ */ d(t, { "aria-hidden": "true" }),
142
+ children: /* @__PURE__ */ d(g, { mutations: e }, e.contextKey)
143
143
  });
144
144
  }
145
- function h({ mutations: e }) {
146
- let [n, ye] = c(null), [m, h] = c(null), [g, xe] = c(0), [_, Se] = c(0), [v, Ce] = c(0), [we, Te] = c(0), [Ee, y] = c(0), [b, x] = c(0), [S, De] = c(null), [C, w] = c(null), [T, E] = c(null), [D, O] = c(null), [k, A] = c(0), [j, M] = c(0), [N, P] = c("instruction"), [Oe, F] = c(0), [ke, I] = c(null), L = m?.row.id ?? "", R = r(de, { pagination: f(g) }, e.revision), z = r(fe, n ? {
145
+ function g({ mutations: t }) {
146
+ let [n, ie] = l(null), [h, g] = l(null), [_, be] = l(0), [v, xe] = l(0), [y, Se] = l(0), [Ce, we] = l(0), [Te, b] = l(0), [x, S] = l(0), [C, Ee] = l(null), [w, De] = l(null), [T, E] = l(null), [D, O] = l(null), [k, A] = l(0), [Oe, j] = l(0), [M, N] = l("instruction"), [ke, P] = l(0), [Ae, F] = l(null), I = h?.row.id ?? "", L = c(fe, { pagination: p(_) }, t.revision), R = c(pe, n ? {
147
147
  containerId: n.id,
148
- pagination: f(_)
149
- } : null, e.revision), Ae = r(fe, n && m && m.offset !== _ ? {
148
+ pagination: p(v)
149
+ } : null, t.revision), je = c(pe, n && h && h.offset !== v ? {
150
150
  containerId: n.id,
151
- pagination: f(m.offset)
152
- } : null, e.revision), B = (m?.offset === _ ? z.data : Ae.data)?.mtwContainerCyclePage.items.find((e) => e.id === L), V = r(le, L ? {
153
- cycleId: L,
154
- pagination: f(v)
155
- } : null, e.revision), H = r(le, L && v !== 0 ? {
156
- cycleId: L,
151
+ pagination: p(h.offset)
152
+ } : null, t.revision), z = (h?.offset === v ? R.data : je.data)?.mtwContainerCyclePage.items.find((e) => e.id === I), B = c(ue, I ? {
153
+ cycleId: I,
154
+ pagination: p(y)
155
+ } : null, t.revision), V = c(ue, I && y !== 0 ? {
156
+ cycleId: I,
157
157
  pagination: {
158
158
  limit: 1,
159
159
  offset: 0
160
160
  }
161
- } : null, e.revision), U = (v === 0 ? V.data : H.data)?.mtwEmptyReturnInstructionPage.items[0], je = r(ae, C ? { id: C.instructionId } : null, e.revision), Me = je.data?.mtwEmptyReturnInstruction, W = r(me, L ? {
162
- cycleId: L,
163
- pagination: f(we)
164
- } : null, e.revision), G = r(ue, C ? {
165
- proposalId: C.id,
166
- pagination: f(Ee)
167
- } : null, e.revision), K = r(s, L ? {
168
- cycleId: L,
169
- pagination: f(b)
170
- } : null, e.revision), Ne = r(s, D && k !== b ? {
171
- cycleId: L,
172
- pagination: f(k)
173
- } : null, e.revision), q = (k === b ? K.data : Ne.data)?.mtwReuseReservationPage.items.find((e) => e.id === D?.id), J = r(he, D ? {
161
+ } : null, t.revision), H = (y === 0 ? B.data : V.data)?.mtwEmptyReturnInstructionPage.items[0], Me = c(oe, w ? { id: w.instructionId } : null, t.revision), Ne = Me.data?.mtwEmptyReturnInstruction, U = c(he, I ? {
162
+ cycleId: I,
163
+ pagination: p(Ce)
164
+ } : null, t.revision), W = c(de, w ? {
165
+ proposalId: w.id,
166
+ pagination: p(Te)
167
+ } : null, t.revision), G = c(_e, I ? {
168
+ cycleId: I,
169
+ pagination: p(x)
170
+ } : null, t.revision), Pe = c(_e, D && k !== x ? {
171
+ cycleId: I,
172
+ pagination: p(k)
173
+ } : null, t.revision), K = (k === x ? G.data : Pe.data)?.mtwReuseReservationPage.items.find((e) => e.id === D?.id), q = c(ge, D ? {
174
174
  reservationId: D.id,
175
- pagination: f(j)
176
- } : null, e.revision), Y = r(pe, C && Oe ? {
177
- proposalId: C.id,
175
+ pagination: p(Oe)
176
+ } : null, t.revision), J = c(me, w && ke ? {
177
+ proposalId: w.id,
178
178
  approvalId: T?.id
179
- } : null, e.revision + Oe), X = Y.data?.mtwReuseEligibility, Pe = () => {
180
- De(null), w(null), E(null), O(null), M(0), A(0), Ce(0), Te(0), y(0), x(0), F(0), I(null), P("instruction");
179
+ } : null, t.revision + ke), Y = J.data?.mtwReuseEligibility, X = () => {
180
+ Ee(null), De(null), E(null), O(null), j(0), A(0), Se(0), we(0), b(0), S(0), P(0), F(null), N("instruction");
181
181
  }, Fe = (e) => {
182
- w(e), E(null), y(0), F(0), P("revise"), I(null);
182
+ De(e), E(null), b(0), P(0), N("revise"), F(null);
183
183
  }, Z = () => {
184
- if (e.uncertain) throw Error("Resolve the original request before starting another.");
185
- if (!B || B.status !== "OPEN") throw Error("Refresh and select a current open usage cycle.");
186
- return B;
187
- }, Q = G.data?.mtwEquipmentReuseApprovalPage.items ?? [], $ = T && !Q.some((e) => e.id === T.id) ? [T, ...Q] : Q;
188
- return /* @__PURE__ */ d("div", {
184
+ if (t.uncertain) throw Error("Resolve the original request before starting another.");
185
+ if (!z || z.status !== "OPEN") throw Error("Refresh and select a current open usage cycle.");
186
+ return z;
187
+ }, Q = W.data?.mtwEquipmentReuseApprovalPage.items ?? [], $ = T && !Q.some((e) => e.id === T.id) ? [T, ...Q] : Q;
188
+ return /* @__PURE__ */ f("div", {
189
189
  className: "space-y-6",
190
190
  children: [
191
- /* @__PURE__ */ u("p", {
191
+ /* @__PURE__ */ d("p", {
192
192
  className: "rounded-lg border p-4 text-sm",
193
193
  children: "Planning only. A sourced grant does not reserve equipment. Readiness is a point-in-time server review of named constraints; a separate reservation rechecks current records. No street-turn execution, depot-return event, cargo completion or free-time clock stop is recorded here."
194
194
  }),
195
- /* @__PURE__ */ d("section", {
196
- className: te,
195
+ /* @__PURE__ */ f("section", {
196
+ className: ee,
197
197
  "aria-label": "Choose equipment and usage cycle",
198
198
  children: [
199
- /* @__PURE__ */ u(i, {
199
+ /* @__PURE__ */ d(i, {
200
200
  label: "Physical container",
201
201
  value: n?.id ?? "",
202
- disabled: e.busy,
202
+ disabled: t.busy,
203
203
  onChange: (e) => {
204
- ye(R.data?.mtwContainerPage.items.find((t) => t.id === e) ?? null), h(null), Se(0), Pe();
204
+ ie(L.data?.mtwContainerPage.items.find((t) => t.id === e) ?? null), g(null), xe(0), X();
205
205
  },
206
- options: R.data?.mtwContainerPage.items.map((e) => ({
206
+ options: L.data?.mtwContainerPage.items.map((e) => ({
207
207
  id: e.id,
208
208
  label: `${e.containerNumber} — ${e.equipmentType} — ${e.ownerName ?? "Owner unrecorded"}`
209
209
  })) ?? []
210
210
  }),
211
- /* @__PURE__ */ u(o, { ...R }),
212
- /* @__PURE__ */ u(a, {
213
- page: R.data?.mtwContainerPage,
214
- offset: g,
215
- onChange: xe,
216
- busy: R.loading || e.busy
211
+ /* @__PURE__ */ d(s, { ...L }),
212
+ /* @__PURE__ */ d(o, {
213
+ page: L.data?.mtwContainerPage,
214
+ offset: _,
215
+ onChange: be,
216
+ busy: L.loading || t.busy
217
217
  }),
218
- /* @__PURE__ */ u(i, {
218
+ /* @__PURE__ */ d(i, {
219
219
  label: "Usage cycle",
220
- value: L,
221
- disabled: !n || e.busy,
220
+ value: I,
221
+ disabled: !n || t.busy,
222
222
  onChange: (e) => {
223
- let t = z.data?.mtwContainerCyclePage.items.find((t) => t.id === e);
224
- h(t ? {
223
+ let t = R.data?.mtwContainerCyclePage.items.find((t) => t.id === e);
224
+ g(t ? {
225
225
  row: t,
226
- offset: _
227
- } : null), Pe();
226
+ offset: v
227
+ } : null), X();
228
228
  },
229
- options: z.data?.mtwContainerCyclePage.items.map((e) => ({
229
+ options: R.data?.mtwContainerCyclePage.items.map((e) => ({
230
230
  id: e.id,
231
231
  label: `${e.bookingReference ?? e.id} — ${e.status} — v${e.version}`
232
232
  })) ?? []
233
233
  }),
234
- /* @__PURE__ */ u(o, { ...z }),
235
- /* @__PURE__ */ u(o, { ...Ae }),
236
- /* @__PURE__ */ u(a, {
237
- page: z.data?.mtwContainerCyclePage,
238
- offset: _,
239
- onChange: Se,
240
- busy: z.loading || e.busy
234
+ /* @__PURE__ */ d(s, { ...R }),
235
+ /* @__PURE__ */ d(s, { ...je }),
236
+ /* @__PURE__ */ d(o, {
237
+ page: R.data?.mtwContainerCyclePage,
238
+ offset: v,
239
+ onChange: xe,
240
+ busy: R.loading || t.busy
241
241
  }),
242
- m && /* @__PURE__ */ d("p", { children: [
242
+ h && /* @__PURE__ */ f("p", { children: [
243
243
  "Selected cycle ",
244
- L,
244
+ I,
245
245
  ":",
246
246
  " ",
247
- B ? `${B.status}, current version ${B.version}` : "Current revision unavailable; writes blocked until refresh."
247
+ z ? `${z.status}, current version ${z.version}` : "Current revision unavailable; writes blocked until refresh."
248
248
  ] }),
249
- /* @__PURE__ */ u(t, {
249
+ /* @__PURE__ */ d(r, {
250
250
  type: "button",
251
251
  variant: "outline",
252
- disabled: e.busy || e.uncertain,
252
+ disabled: t.busy || t.uncertain,
253
253
  onClick: () => {
254
- e.refresh(), I(null);
254
+ t.refresh(), F(null);
255
255
  },
256
256
  children: "Refresh current records"
257
257
  })
258
258
  ]
259
259
  }),
260
- L && /* @__PURE__ */ d(l, { children: [
261
- /* @__PURE__ */ d("section", {
260
+ I && /* @__PURE__ */ f(u, { children: [
261
+ /* @__PURE__ */ f("section", {
262
262
  className: "space-y-4 rounded-xl border bg-bg-surface p-5",
263
263
  "aria-label": "Return instruction history",
264
264
  children: [
265
- /* @__PURE__ */ u("h2", {
265
+ /* @__PURE__ */ d("h2", {
266
266
  className: "text-lg font-semibold",
267
267
  children: "Sourced return instructions"
268
268
  }),
269
- /* @__PURE__ */ d("p", { children: [
269
+ /* @__PURE__ */ f("p", { children: [
270
270
  "Current instruction",
271
271
  " ",
272
- U ? `v${U.version}: ${U.locationReference}` : "not loaded / not recorded",
272
+ H ? `v${H.version}: ${H.locationReference}` : "not loaded / not recorded",
273
273
  ". Earlier versions remain immutable."
274
274
  ] }),
275
- /* @__PURE__ */ u(o, { ...V }),
276
- /* @__PURE__ */ u(o, { ...H }),
277
- V.data?.mtwEmptyReturnInstructionPage.items.map((n) => /* @__PURE__ */ d("article", {
275
+ /* @__PURE__ */ d(s, { ...B }),
276
+ /* @__PURE__ */ d(s, { ...V }),
277
+ B.data?.mtwEmptyReturnInstructionPage.items.map((e) => /* @__PURE__ */ f("article", {
278
278
  className: "space-y-2 rounded border p-3 text-sm",
279
279
  children: [
280
- /* @__PURE__ */ d("p", { children: [
280
+ /* @__PURE__ */ f("p", { children: [
281
281
  "v",
282
- n.version,
282
+ e.version,
283
283
  " — ",
284
- n.ownerReference,
284
+ e.ownerReference,
285
285
  " — booking ",
286
- n.bookingReference,
286
+ e.bookingReference,
287
287
  "; depot",
288
288
  " ",
289
- n.depotReference,
289
+ e.depotReference,
290
290
  ", location ",
291
- n.locationReference,
291
+ e.locationReference,
292
292
  "."
293
293
  ] }),
294
- /* @__PURE__ */ d("p", { children: [
295
- n.returnFrom,
294
+ /* @__PURE__ */ f("p", { children: [
295
+ e.returnFrom,
296
296
  "–",
297
- n.returnUntil,
297
+ e.returnUntil,
298
298
  "; effective ",
299
- n.effectiveAt,
299
+ e.effectiveAt,
300
300
  "; recorded",
301
301
  " ",
302
- n.recordedAt,
302
+ e.recordedAt,
303
303
  "."
304
304
  ] }),
305
- /* @__PURE__ */ d("p", { children: [
305
+ /* @__PURE__ */ f("p", { children: [
306
306
  "Instruction id ",
307
- n.id,
307
+ e.id,
308
308
  "; source ",
309
- n.sourceReference,
309
+ e.sourceReference,
310
310
  "; reason ",
311
- n.changeReason,
311
+ e.changeReason,
312
312
  "; supersedes ",
313
- n.supersedesInstructionId ?? "none",
313
+ e.supersedesInstructionId ?? "none",
314
314
  "."
315
315
  ] }),
316
- /* @__PURE__ */ u(p, { evidence: n.evidence }),
317
- /* @__PURE__ */ d(t, {
316
+ /* @__PURE__ */ d(m, { evidence: e.evidence }),
317
+ /* @__PURE__ */ f(r, {
318
318
  type: "button",
319
319
  variant: "outline",
320
- disabled: e.busy || e.uncertain,
321
- onClick: () => De(n),
322
- children: ["Inspect/select instruction v", n.version]
320
+ disabled: t.busy || t.uncertain,
321
+ onClick: () => Ee(e),
322
+ children: ["Inspect/select instruction v", e.version]
323
323
  })
324
324
  ]
325
- }, n.id)),
326
- /* @__PURE__ */ u(a, {
327
- page: V.data?.mtwEmptyReturnInstructionPage,
328
- offset: v,
329
- onChange: Ce,
330
- busy: V.loading || e.busy
325
+ }, e.id)),
326
+ /* @__PURE__ */ d(o, {
327
+ page: B.data?.mtwEmptyReturnInstructionPage,
328
+ offset: y,
329
+ onChange: Se,
330
+ busy: B.loading || t.busy
331
331
  }),
332
- S && /* @__PURE__ */ d("p", {
332
+ C && /* @__PURE__ */ f("p", {
333
333
  className: "break-words",
334
334
  children: [
335
335
  "Pinned history selection: v",
336
- S.version,
336
+ C.version,
337
337
  ", ",
338
- S.locationReference,
338
+ C.locationReference,
339
339
  "; id",
340
- S.id,
340
+ C.id,
341
341
  ". Drafts use the separately loaded current instruction."
342
342
  ]
343
343
  })
344
344
  ]
345
345
  }),
346
- /* @__PURE__ */ d("section", {
346
+ /* @__PURE__ */ f("section", {
347
347
  className: "space-y-4 rounded-xl border bg-bg-surface p-5",
348
348
  "aria-label": "Planning proposal history",
349
349
  children: [
350
- /* @__PURE__ */ u("h2", {
350
+ /* @__PURE__ */ d("h2", {
351
351
  className: "text-lg font-semibold",
352
352
  children: "Immutable planning revisions"
353
353
  }),
354
- /* @__PURE__ */ u(o, { ...W }),
355
- W.data?.mtwReuseProposalPage.items.map((n) => /* @__PURE__ */ d("article", {
354
+ /* @__PURE__ */ d(s, { ...U }),
355
+ U.data?.mtwReuseProposalPage.items.map((e) => /* @__PURE__ */ f("article", {
356
356
  className: "space-y-3 rounded border p-3",
357
357
  children: [
358
- /* @__PURE__ */ d("p", { children: [
359
- n.proposalReference,
358
+ /* @__PURE__ */ f("p", { children: [
359
+ e.proposalReference,
360
360
  " — revision",
361
- n.revision,
361
+ e.revision,
362
362
  ", recorded ",
363
- n.recordedAt
363
+ e.recordedAt
364
364
  ] }),
365
- /* @__PURE__ */ u(be, { row: n }),
366
- /* @__PURE__ */ d(t, {
365
+ /* @__PURE__ */ d(ye, { row: e }),
366
+ /* @__PURE__ */ f(r, {
367
367
  type: "button",
368
368
  variant: "outline",
369
- disabled: e.busy || e.uncertain,
370
- onClick: () => Fe(n),
371
- children: ["Select revision", n.revision]
369
+ disabled: t.busy || t.uncertain,
370
+ onClick: () => Fe(e),
371
+ children: ["Select revision", e.revision]
372
372
  })
373
373
  ]
374
- }, n.id)),
375
- /* @__PURE__ */ u(a, {
376
- page: W.data?.mtwReuseProposalPage,
377
- offset: we,
378
- onChange: Te,
379
- busy: W.loading || e.busy
374
+ }, e.id)),
375
+ /* @__PURE__ */ d(o, {
376
+ page: U.data?.mtwReuseProposalPage,
377
+ offset: Ce,
378
+ onChange: we,
379
+ busy: U.loading || t.busy
380
380
  }),
381
- C && /* @__PURE__ */ d("div", {
381
+ w && /* @__PURE__ */ f("div", {
382
382
  className: "rounded border p-3",
383
- children: [/* @__PURE__ */ d("p", { children: [
383
+ children: [/* @__PURE__ */ f("p", { children: [
384
384
  "Pinned selection ",
385
- C.proposalReference,
385
+ w.proposalReference,
386
386
  ", revision",
387
- C.revision,
387
+ w.revision,
388
388
  ", id",
389
- C.id,
389
+ w.id,
390
390
  "."
391
- ] }), /* @__PURE__ */ u(be, { row: C })]
391
+ ] }), /* @__PURE__ */ d(ye, { row: w })]
392
392
  })
393
393
  ]
394
394
  }),
395
- /* @__PURE__ */ d("section", {
395
+ /* @__PURE__ */ f("section", {
396
396
  className: "space-y-4 rounded-xl border bg-bg-surface p-5",
397
397
  "aria-label": "Record planning evidence",
398
398
  children: [
399
- /* @__PURE__ */ u("h2", {
399
+ /* @__PURE__ */ d("h2", {
400
400
  className: "text-lg font-semibold",
401
401
  children: "Record planning evidence"
402
402
  }),
403
- /* @__PURE__ */ u(i, {
403
+ /* @__PURE__ */ d(i, {
404
404
  label: "Planning action",
405
- value: N,
406
- disabled: e.busy || e.uncertain,
405
+ value: M,
406
+ disabled: t.busy || t.uncertain,
407
407
  onChange: (e) => {
408
408
  let t = [
409
409
  "instruction",
@@ -411,7 +411,7 @@ function h({ mutations: e }) {
411
411
  "revise",
412
412
  "permission"
413
413
  ].find((t) => t === e);
414
- t && (P(t), I(null));
414
+ t && (N(t), F(null));
415
415
  },
416
416
  options: [
417
417
  {
@@ -432,67 +432,67 @@ function h({ mutations: e }) {
432
432
  }
433
433
  ]
434
434
  }),
435
- N === "instruction" && /* @__PURE__ */ u(re, {
436
- current: U,
437
- busy: e.busy || e.uncertain || !B || V.loading || H.loading,
438
- onSubmit: async (t) => {
435
+ M === "instruction" && /* @__PURE__ */ d(te, {
436
+ current: H,
437
+ busy: t.busy || t.uncertain || !z || B.loading || V.loading,
438
+ onSubmit: async (e) => {
439
439
  let n = Z();
440
- await e.run(oe, {
441
- ...t,
442
- cycleId: L,
440
+ await t.run(se, {
441
+ ...e,
442
+ cycleId: I,
443
443
  expectedCycleVersion: n.version,
444
- currentInstructionId: U?.id
444
+ currentInstructionId: H?.id
445
445
  }, "Immutable sourced instruction recorded.");
446
446
  }
447
- }, `instruction:${L}:${U?.id}`),
448
- (N === "draft" || N === "revise") && (U && n && (N === "draft" || C) ? /* @__PURE__ */ u(_e, {
449
- cycleId: L,
447
+ }, `instruction:${I}:${H?.id}`),
448
+ (M === "draft" || M === "revise") && (H && n && (M === "draft" || w) ? /* @__PURE__ */ d(ne, {
449
+ cycleId: I,
450
450
  containerId: n.id,
451
- instruction: U,
452
- initial: N === "revise" ? C ?? void 0 : void 0,
453
- busy: e.busy || e.uncertain || !B,
454
- onSubmit: async (t) => {
455
- let n = Z(), r = await e.run(ce, {
456
- ...t,
457
- cycleId: L,
451
+ instruction: H,
452
+ initial: M === "revise" ? w ?? void 0 : void 0,
453
+ busy: t.busy || t.uncertain || !z,
454
+ onSubmit: async (e) => {
455
+ let n = Z(), r = await t.run(le, {
456
+ ...e,
457
+ cycleId: I,
458
458
  expectedCycleVersion: n.version
459
459
  }, "Immutable proposal revision recorded; permission and reservation remain separate.");
460
460
  r && Fe(r.recordMtwReuseProposal);
461
461
  }
462
- }, `${N}:${L}:${U.id}:${N === "revise" ? C?.id : "new"}`) : /* @__PURE__ */ u("p", { children: "Load current return instruction and, for revision, choose an immutable proposal." })),
463
- N === "permission" && /* @__PURE__ */ u(o, { ...je }),
464
- N === "permission" && (C && Me ? /* @__PURE__ */ u(ve, {
462
+ }, `${M}:${I}:${H.id}:${M === "revise" ? w?.id : "new"}`) : /* @__PURE__ */ d("p", { children: "Load current return instruction and, for revision, choose an immutable proposal." })),
463
+ M === "permission" && /* @__PURE__ */ d(s, { ...Me }),
464
+ M === "permission" && (w && Ne ? /* @__PURE__ */ d(re, {
465
465
  approvals: $,
466
- ownerReference: Me.ownerReference,
467
- busy: e.busy || e.uncertain || !B,
468
- onSubmit: async (t) => {
469
- let n = Z(), r = await e.run(se, {
470
- ...t,
471
- proposalId: C.id,
466
+ ownerReference: Ne.ownerReference,
467
+ busy: t.busy || t.uncertain || !z,
468
+ onSubmit: async (e) => {
469
+ let n = Z(), r = await t.run(ce, {
470
+ ...e,
471
+ proposalId: w.id,
472
472
  expectedCycleVersion: n.version
473
473
  }, "Sourced external decision recorded; no reservation created.");
474
- r && (E(r.recordMtwEquipmentReuseApproval.kind === "APPROVED" ? r.recordMtwEquipmentReuseApproval : null), F(0));
474
+ r && (E(r.recordMtwEquipmentReuseApproval.kind === "APPROVED" ? r.recordMtwEquipmentReuseApproval : null), P(0));
475
475
  }
476
- }, `permission:${C.id}`) : /* @__PURE__ */ d("p", { children: [
476
+ }, `permission:${w.id}`) : /* @__PURE__ */ f("p", { children: [
477
477
  "Select an exact proposal revision. Its immutable instruction must load successfully: ",
478
- C?.instructionId ?? "no proposal selected",
478
+ w?.instructionId ?? "no proposal selected",
479
479
  ". The bound owner must be read from that instruction, independently of the latest instruction."
480
480
  ] }))
481
481
  ]
482
482
  }),
483
- C && /* @__PURE__ */ d("section", {
483
+ w && /* @__PURE__ */ f("section", {
484
484
  className: "space-y-4 rounded-xl border bg-bg-surface p-5",
485
485
  "aria-label": "Permission history and server eligibility",
486
486
  children: [
487
- /* @__PURE__ */ u("h2", {
487
+ /* @__PURE__ */ d("h2", {
488
488
  className: "text-lg font-semibold",
489
489
  children: "External permission and server review"
490
490
  }),
491
- /* @__PURE__ */ u(o, { ...G }),
492
- Q.map((e) => /* @__PURE__ */ d("article", {
491
+ /* @__PURE__ */ d(s, { ...W }),
492
+ Q.map((e) => /* @__PURE__ */ f("article", {
493
493
  className: "space-y-2 rounded border p-3 text-sm",
494
494
  children: [
495
- /* @__PURE__ */ d("p", { children: [
495
+ /* @__PURE__ */ f("p", { children: [
496
496
  e.kind,
497
497
  " — ",
498
498
  e.counterpartyReference,
@@ -505,7 +505,7 @@ function h({ mutations: e }) {
505
505
  e.validUntil ?? "No validity end",
506
506
  "."
507
507
  ] }),
508
- /* @__PURE__ */ d("p", { children: [
508
+ /* @__PURE__ */ f("p", { children: [
509
509
  e.note,
510
510
  "; recorded ",
511
511
  e.recordedAt,
@@ -513,76 +513,76 @@ function h({ mutations: e }) {
513
513
  e.approvalId ?? "none",
514
514
  "."
515
515
  ] }),
516
- /* @__PURE__ */ u(p, { evidence: e.evidence })
516
+ /* @__PURE__ */ d(m, { evidence: e.evidence })
517
517
  ]
518
518
  }, e.id)),
519
- /* @__PURE__ */ u(a, {
520
- page: G.data?.mtwEquipmentReuseApprovalPage,
521
- offset: Ee,
522
- onChange: y,
523
- busy: G.loading || e.busy
519
+ /* @__PURE__ */ d(o, {
520
+ page: W.data?.mtwEquipmentReuseApprovalPage,
521
+ offset: Te,
522
+ onChange: b,
523
+ busy: W.loading || t.busy
524
524
  }),
525
- /* @__PURE__ */ u(i, {
525
+ /* @__PURE__ */ d(i, {
526
526
  label: "Exact grant for eligibility and reservation",
527
527
  required: !1,
528
528
  value: T?.id ?? "",
529
- disabled: e.busy || e.uncertain,
529
+ disabled: t.busy || t.uncertain,
530
530
  onChange: (e) => {
531
- E($.find((t) => t.id === e) ?? null), F(0);
531
+ E($.find((t) => t.id === e) ?? null), P(0);
532
532
  },
533
533
  options: $.filter((e) => e.kind === "APPROVED").map((e) => ({
534
534
  id: e.id,
535
535
  label: `${e.counterpartyReference} — ${e.sourceReference} — ${e.validUntil}`
536
536
  }))
537
537
  }),
538
- /* @__PURE__ */ u(t, {
538
+ /* @__PURE__ */ d(r, {
539
539
  type: "button",
540
540
  variant: "outline",
541
- disabled: e.busy || e.uncertain || Y.loading,
542
- onClick: () => F((e) => e + 1),
541
+ disabled: t.busy || t.uncertain || J.loading,
542
+ onClick: () => P((e) => e + 1),
543
543
  children: "Review server eligibility"
544
544
  }),
545
- /* @__PURE__ */ u(o, { ...Y }),
546
- X && /* @__PURE__ */ d(l, { children: [
547
- /* @__PURE__ */ d("p", { children: [
548
- X.status === "BLOCKED" ? "Blocked" : "Ready for separate dispatch review",
545
+ /* @__PURE__ */ d(s, { ...J }),
546
+ Y && /* @__PURE__ */ f(u, { children: [
547
+ /* @__PURE__ */ f("p", { children: [
548
+ Y.status === "BLOCKED" ? "Blocked" : "Ready for separate dispatch review",
549
549
  " ",
550
550
  "— evaluated ",
551
- X.evaluatedAt,
551
+ Y.evaluatedAt,
552
552
  "."
553
553
  ] }),
554
- /* @__PURE__ */ u("ul", {
554
+ /* @__PURE__ */ d("ul", {
555
555
  className: "space-y-2",
556
- children: X.blockers.map((e) => /* @__PURE__ */ d("li", {
556
+ children: Y.blockers.map((e) => /* @__PURE__ */ f("li", {
557
557
  className: "rounded border p-3",
558
- children: [/* @__PURE__ */ d("strong", { children: [
558
+ children: [/* @__PURE__ */ f("strong", { children: [
559
559
  e.certainty,
560
560
  ": ",
561
561
  e.code
562
- ] }), /* @__PURE__ */ u("p", { children: e.reason })]
562
+ ] }), /* @__PURE__ */ d("p", { children: e.reason })]
563
563
  }, e.code))
564
564
  }),
565
- /* @__PURE__ */ u("p", {
565
+ /* @__PURE__ */ d("p", {
566
566
  className: "text-sm",
567
567
  children: "This result is not allocation authority. Acceptance rechecks latest proposal revision, cycle, instruction, evidence and constraints under a container lock."
568
568
  }),
569
- /* @__PURE__ */ u(t, {
569
+ /* @__PURE__ */ d(r, {
570
570
  type: "button",
571
- disabled: e.busy || e.uncertain || Y.loading || X.status !== "READY_FOR_DISPATCH_REVIEW" || !T || !B,
571
+ disabled: t.busy || t.uncertain || J.loading || Y.status !== "READY_FOR_DISPATCH_REVIEW" || !T || !z,
572
572
  onClick: async () => {
573
- I(null);
573
+ F(null);
574
574
  try {
575
- let t = Z();
575
+ let e = Z();
576
576
  if (!T) throw Error("Select exact sourced grant.");
577
- let n = await e.run(ie, {
578
- proposalId: C.id,
577
+ let n = await t.run(ae, {
578
+ proposalId: w.id,
579
579
  approvalId: T.id,
580
- expectedCycleVersion: t.version,
581
- expectedProposalRevision: C.revision
580
+ expectedCycleVersion: e.version,
581
+ expectedProposalRevision: w.revision
582
582
  }, "Planning reservation accepted; equipment has not moved.");
583
- n && (O(n.acceptMtwReuseReservation), x(0), A(0), M(0));
583
+ n && (O(n.acceptMtwReuseReservation), S(0), A(0), j(0));
584
584
  } catch (e) {
585
- I(e instanceof Error ? e.message : "Unable to reserve.");
585
+ F(e instanceof Error ? e.message : "Unable to reserve.");
586
586
  }
587
587
  },
588
588
  children: "Accept separate planning reservation"
@@ -590,71 +590,71 @@ function h({ mutations: e }) {
590
590
  ] })
591
591
  ]
592
592
  }),
593
- /* @__PURE__ */ d("section", {
593
+ /* @__PURE__ */ f("section", {
594
594
  className: "space-y-4 rounded-xl border bg-bg-surface p-5",
595
595
  "aria-label": "Planning reservation history",
596
596
  children: [
597
- /* @__PURE__ */ u("h2", {
597
+ /* @__PURE__ */ d("h2", {
598
598
  className: "text-lg font-semibold",
599
599
  children: "Planning reservations"
600
600
  }),
601
- /* @__PURE__ */ u(o, { ...K }),
602
- K.data?.mtwReuseReservationPage.items.map((n) => /* @__PURE__ */ d("article", {
601
+ /* @__PURE__ */ d(s, { ...G }),
602
+ G.data?.mtwReuseReservationPage.items.map((e) => /* @__PURE__ */ f("article", {
603
603
  className: "space-y-2 rounded border p-3 text-sm",
604
604
  children: [
605
- /* @__PURE__ */ d("p", { children: [
606
- n.status,
605
+ /* @__PURE__ */ f("p", { children: [
606
+ e.status,
607
607
  " — v",
608
- n.version,
608
+ e.version,
609
609
  "; proposal ",
610
- n.proposalId,
610
+ e.proposalId,
611
611
  "; grant ",
612
- n.approvalId,
612
+ e.approvalId,
613
613
  "; handoff until ",
614
- n.handoffUntil,
614
+ e.handoffUntil,
615
615
  "."
616
616
  ] }),
617
- /* @__PURE__ */ d("p", { children: [
617
+ /* @__PURE__ */ f("p", { children: [
618
618
  "Created ",
619
- n.createdAt,
619
+ e.createdAt,
620
620
  "; updated ",
621
- n.updatedAt,
621
+ e.updatedAt,
622
622
  "."
623
623
  ] }),
624
- /* @__PURE__ */ u(t, {
624
+ /* @__PURE__ */ d(r, {
625
625
  type: "button",
626
626
  variant: "outline",
627
- disabled: e.busy || e.uncertain,
627
+ disabled: t.busy || t.uncertain,
628
628
  onClick: () => {
629
- O(n), A(b), M(0);
629
+ O(e), A(x), j(0);
630
630
  },
631
631
  children: "Inspect reservation"
632
632
  })
633
633
  ]
634
- }, n.id)),
635
- /* @__PURE__ */ u(a, {
636
- page: K.data?.mtwReuseReservationPage,
637
- offset: b,
638
- onChange: x,
639
- busy: K.loading || e.busy
634
+ }, e.id)),
635
+ /* @__PURE__ */ d(o, {
636
+ page: G.data?.mtwReuseReservationPage,
637
+ offset: x,
638
+ onChange: S,
639
+ busy: G.loading || t.busy
640
640
  }),
641
- /* @__PURE__ */ u(o, { ...Ne }),
642
- D && !q && /* @__PURE__ */ d("p", { children: [
641
+ /* @__PURE__ */ d(s, { ...Pe }),
642
+ D && !K && /* @__PURE__ */ f("p", { children: [
643
643
  "Selected reservation ",
644
644
  D.id,
645
645
  ". Current state unavailable; refresh its original history page before taking action."
646
646
  ] }),
647
- D && /* @__PURE__ */ d("div", {
647
+ D && /* @__PURE__ */ f("div", {
648
648
  className: "space-y-2",
649
649
  children: [
650
- /* @__PURE__ */ u("h3", {
650
+ /* @__PURE__ */ d("h3", {
651
651
  className: "font-semibold",
652
652
  children: "Recorded cancellation and expiry decisions"
653
653
  }),
654
- /* @__PURE__ */ u(o, { ...J }),
655
- J.data?.mtwReuseReservationTransitionPage.items.map((e) => /* @__PURE__ */ d("article", {
654
+ /* @__PURE__ */ d(s, { ...q }),
655
+ q.data?.mtwReuseReservationTransitionPage.items.map((e) => /* @__PURE__ */ f("article", {
656
656
  className: "rounded border p-3",
657
- children: [/* @__PURE__ */ d("p", { children: [
657
+ children: [/* @__PURE__ */ f("p", { children: [
658
658
  e.previousStatus,
659
659
  " → ",
660
660
  e.status,
@@ -664,68 +664,68 @@ function h({ mutations: e }) {
664
664
  " ",
665
665
  e.createdBy,
666
666
  "."
667
- ] }), /* @__PURE__ */ u("p", { children: e.reason })]
667
+ ] }), /* @__PURE__ */ d("p", { children: e.reason })]
668
668
  }, e.id)),
669
- /* @__PURE__ */ u(a, {
670
- page: J.data?.mtwReuseReservationTransitionPage,
671
- offset: j,
672
- onChange: M,
673
- busy: J.loading || e.busy
669
+ /* @__PURE__ */ d(o, {
670
+ page: q.data?.mtwReuseReservationTransitionPage,
671
+ offset: Oe,
672
+ onChange: j,
673
+ busy: q.loading || t.busy
674
674
  })
675
675
  ]
676
676
  }),
677
- q && /* @__PURE__ */ d("div", {
677
+ K && /* @__PURE__ */ f("div", {
678
678
  className: "space-y-3 rounded border p-4",
679
- children: [/* @__PURE__ */ d("p", { children: [
679
+ children: [/* @__PURE__ */ f("p", { children: [
680
680
  "Pinned reservation ",
681
- q.id,
681
+ K.id,
682
682
  ": ",
683
- q.status,
683
+ K.status,
684
684
  ", version",
685
- q.version,
685
+ K.version,
686
686
  ". A terminal reservation does not record return acceptance or execution completion."
687
- ] }), q.status === "ACTIVE" && /* @__PURE__ */ u("form", {
687
+ ] }), K.status === "ACTIVE" && /* @__PURE__ */ d("form", {
688
688
  className: "space-y-3",
689
- onSubmit: async (t) => {
690
- t.preventDefault(), I(null);
689
+ onSubmit: async (n) => {
690
+ n.preventDefault(), F(null);
691
691
  try {
692
- let n = new FormData(t.currentTarget), r = ne(n, "terminalStatus");
693
- if (r !== "CANCELLED" && r !== "EXPIRED") throw Error("Choose cancellation or expiry.");
694
- let i = await e.run(ge, {
695
- reservationId: q.id,
696
- expectedVersion: q.version,
697
- status: r,
698
- reason: ne(n, "reason")
692
+ let r = new FormData(n.currentTarget), i = e(r, "terminalStatus");
693
+ if (i !== "CANCELLED" && i !== "EXPIRED") throw Error("Choose cancellation or expiry.");
694
+ let a = await t.run(ve, {
695
+ reservationId: K.id,
696
+ expectedVersion: K.version,
697
+ status: i,
698
+ reason: e(r, "reason")
699
699
  }, "Terminal planning decision recorded; operational clocks unchanged.");
700
- i && O(i.terminateMtwReuseReservation);
700
+ a && O(a.terminateMtwReuseReservation);
701
701
  } catch (e) {
702
- I(e instanceof Error ? e.message : "Unable to terminate.");
702
+ F(e instanceof Error ? e.message : "Unable to terminate.");
703
703
  }
704
704
  },
705
- children: /* @__PURE__ */ d("fieldset", {
706
- disabled: e.busy || e.uncertain,
705
+ children: /* @__PURE__ */ f("fieldset", {
706
+ disabled: t.busy || t.uncertain,
707
707
  className: "space-y-3",
708
708
  children: [
709
- /* @__PURE__ */ d("label", {
709
+ /* @__PURE__ */ f("label", {
710
710
  className: "block",
711
- children: ["Terminal planning decision", /* @__PURE__ */ d("select", {
711
+ children: ["Terminal planning decision", /* @__PURE__ */ f("select", {
712
712
  name: "terminalStatus",
713
713
  className: "mt-1 w-full rounded border p-2",
714
- children: [/* @__PURE__ */ u("option", {
714
+ children: [/* @__PURE__ */ d("option", {
715
715
  value: "CANCELLED",
716
716
  children: "Cancel"
717
- }), /* @__PURE__ */ u("option", {
717
+ }), /* @__PURE__ */ d("option", {
718
718
  value: "EXPIRED",
719
719
  children: "Record expiry (server checks deadline elapsed)"
720
720
  })]
721
721
  })]
722
722
  }),
723
- /* @__PURE__ */ u(ee, {
723
+ /* @__PURE__ */ d(a, {
724
724
  label: "Cancellation or expiry reason",
725
725
  name: "reason",
726
726
  maxLength: 2e3
727
727
  }),
728
- /* @__PURE__ */ u(t, {
728
+ /* @__PURE__ */ d(r, {
729
729
  type: "submit",
730
730
  children: "Record terminal decision"
731
731
  })
@@ -736,36 +736,36 @@ function h({ mutations: e }) {
736
736
  ]
737
737
  })
738
738
  ] }),
739
- (ke || e.error) && /* @__PURE__ */ u("p", {
739
+ (Ae || t.error) && /* @__PURE__ */ d("p", {
740
740
  role: "alert",
741
- children: ke ?? e.error
741
+ children: Ae ?? t.error
742
742
  }),
743
- e.notice && /* @__PURE__ */ u("p", {
743
+ t.notice && /* @__PURE__ */ d("p", {
744
744
  role: "status",
745
- children: e.notice
745
+ children: t.notice
746
746
  }),
747
- e.uncertain && /* @__PURE__ */ d("div", {
747
+ t.uncertain && /* @__PURE__ */ f("div", {
748
748
  className: "space-y-3 rounded border p-4",
749
749
  children: [
750
- /* @__PURE__ */ d("p", { children: [e.recoveryInvalid && "The saved request cannot be read safely. Check history before abandoning it. ", "Result may be uncertain. Refresh history before retrying. “Retry original request” reuses its original body, expected revisions and idempotency key; it does not use edited form fields. The saved request stays available when context changes. Return to its original account, workspace and project to retry. Resolve or explicitly abandon it before starting another request."] }),
751
- /* @__PURE__ */ u(t, {
750
+ /* @__PURE__ */ f("p", { children: [t.recoveryInvalid && "The saved request cannot be read safely. Check history before abandoning it. ", "Result may be uncertain. Refresh history before retrying. “Retry original request” reuses its original body, expected revisions and idempotency key; it does not use edited form fields. The saved request stays available when context changes. Return to its original account, workspace and project to retry. Resolve or explicitly abandon it before starting another request."] }),
751
+ /* @__PURE__ */ d(r, {
752
752
  type: "button",
753
753
  variant: "outline",
754
- disabled: e.busy,
755
- onClick: e.refresh,
754
+ disabled: t.busy,
755
+ onClick: t.refresh,
756
756
  children: "Refresh history after uncertain result"
757
757
  }),
758
- /* @__PURE__ */ u(t, {
758
+ /* @__PURE__ */ d(r, {
759
759
  type: "button",
760
- disabled: e.busy || !e.canRetry,
761
- onClick: e.retryOriginal,
760
+ disabled: t.busy || !t.canRetry,
761
+ onClick: t.retryOriginal,
762
762
  children: "Retry original request"
763
763
  }),
764
- /* @__PURE__ */ u(t, {
764
+ /* @__PURE__ */ d(r, {
765
765
  type: "button",
766
766
  variant: "outline",
767
- disabled: e.busy,
768
- onClick: e.discardAttempt,
767
+ disabled: t.busy,
768
+ onClick: t.discardAttempt,
769
769
  children: "Abandon retry after checking history — the server may have saved it"
770
770
  })
771
771
  ]
@@ -773,5 +773,4 @@ function h({ mutations: e }) {
773
773
  ]
774
774
  });
775
775
  }
776
- //#endregion
777
- export { m as default };
776
+ export { h as default };