@burdenoff/microfe-movethewheels 2026.1016.1 → 2026.1016.3

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 (200) hide show
  1. package/dist/components/freight-cost/FreightCommercialEditor.js +217 -0
  2. package/dist/components/freight-cost/FreightCommercialFactEditor.js +217 -0
  3. package/dist/components/freight-cost/FreightCommercialHistory.js +115 -0
  4. package/dist/components/freight-cost/FreightDraftForm.js +106 -91
  5. package/dist/components/freight-cost/FreightHistory.js +42 -40
  6. package/dist/dev/main.d.ts +0 -1
  7. package/dist/generated/freight-cost-operations.d.ts +959 -0
  8. package/dist/hooks/useFreightRecoveryAction.js +20 -20
  9. package/dist/index.d.ts +2 -4
  10. package/dist/movethewheels/MoveTheWheelsRoot.d.ts +0 -1
  11. package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +1 -1
  12. package/dist/movethewheels/components/AssignmentSuggestions.d.ts +1 -2
  13. package/dist/movethewheels/components/CarbonFootprintPanel.d.ts +1 -1
  14. package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +1 -2
  15. package/dist/movethewheels/components/CustomerPicker.d.ts +1 -2
  16. package/dist/movethewheels/components/DataTable.d.ts +1 -2
  17. package/dist/movethewheels/components/DocumentsCard.d.ts +1 -2
  18. package/dist/movethewheels/components/EntityCombobox.d.ts +1 -1
  19. package/dist/movethewheels/components/FleetAlertsPanel.d.ts +1 -2
  20. package/dist/movethewheels/components/FormError.d.ts +1 -1
  21. package/dist/movethewheels/components/FreeTimeAgreementForm.d.ts +1 -2
  22. package/dist/movethewheels/components/GlassPanel.d.ts +1 -2
  23. package/dist/movethewheels/components/MetricCard.d.ts +3 -4
  24. package/dist/movethewheels/components/Notice.d.ts +1 -1
  25. package/dist/movethewheels/components/OrderItemRow.d.ts +1 -2
  26. package/dist/movethewheels/components/PageLayout.d.ts +5 -6
  27. package/dist/movethewheels/components/ProofOfDeliveryCard.d.ts +1 -1
  28. package/dist/movethewheels/components/ReturnInstructionForm.d.ts +1 -2
  29. package/dist/movethewheels/components/ReuseControls.d.ts +4 -5
  30. package/dist/movethewheels/components/ReusePermissionForm.d.ts +1 -2
  31. package/dist/movethewheels/components/ReuseProposalForm.d.ts +1 -2
  32. package/dist/movethewheels/components/ReuseSourceFields.d.ts +1 -2
  33. package/dist/movethewheels/components/ShippingQuoteResults.d.ts +1 -2
  34. package/dist/movethewheels/components/StatusBadge.d.ts +5 -6
  35. package/dist/movethewheels/components/StockActionDialogs.d.ts +3 -3
  36. package/dist/movethewheels/components/UpcomingDemandPanel.d.ts +1 -2
  37. package/dist/movethewheels/components/VehicleServiceCard.d.ts +1 -2
  38. package/dist/movethewheels/components/charts/ChartShell.d.ts +2 -3
  39. package/dist/movethewheels/components/charts/Sparkline.d.ts +1 -1
  40. package/dist/movethewheels/components/charts/StatusDonut.d.ts +1 -1
  41. package/dist/movethewheels/components/charts/TrendChart.d.ts +1 -1
  42. package/dist/movethewheels/components/charts/VolumeBar.d.ts +1 -1
  43. package/dist/movethewheels/components/consolidation/ConsolidationHistory.d.ts +3 -4
  44. package/dist/movethewheels/components/consolidation/ConsolidationLotEditor.d.ts +1 -2
  45. package/dist/movethewheels/components/consolidation/ConsolidationManifestWorkbench.d.ts +1 -2
  46. package/dist/movethewheels/components/consolidation/ConsolidationPlanForm.d.ts +1 -2
  47. package/dist/movethewheels/components/consolidation/ConsolidationPlanWorkbench.d.ts +1 -2
  48. package/dist/movethewheels/components/consolidation/ConsolidationReportForm.d.ts +1 -2
  49. package/dist/movethewheels/components/consolidation/ConsolidationReportsWorkbench.d.ts +1 -2
  50. package/dist/movethewheels/components/consolidation/ConsolidationSummary.d.ts +1 -2
  51. package/dist/movethewheels/components/consolidation/OriginalConsolidationHistory.d.ts +1 -2
  52. package/dist/movethewheels/components/freight-cost/FreightCommercialEditor.d.ts +8 -0
  53. package/dist/movethewheels/components/freight-cost/FreightCommercialFactEditor.d.ts +8 -0
  54. package/dist/movethewheels/components/freight-cost/FreightCommercialHistory.d.ts +4 -0
  55. package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +5 -4
  56. package/dist/movethewheels/components/freight-cost/FreightFields.d.ts +3 -4
  57. package/dist/movethewheels/components/freight-cost/FreightFxEditor.d.ts +1 -2
  58. package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +3 -4
  59. package/dist/movethewheels/components/freight-cost/FreightLineEditor.d.ts +1 -2
  60. package/dist/movethewheels/components/freight-cost/FreightScopeEditor.d.ts +1 -2
  61. package/dist/movethewheels/components/freight-cost/FreightTotals.d.ts +1 -2
  62. package/dist/movethewheels/components/logistics-procedure/ProcedureDecisionForm.d.ts +2 -3
  63. package/dist/movethewheels/components/logistics-procedure/ProcedureFields.d.ts +3 -4
  64. package/dist/movethewheels/components/logistics-procedure/ProcedureHistory.d.ts +1 -2
  65. package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyForm.d.ts +1 -2
  66. package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.d.ts +1 -2
  67. package/dist/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.d.ts +1 -2
  68. package/dist/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.d.ts +1 -2
  69. package/dist/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.d.ts +1 -2
  70. package/dist/movethewheels/components/maps/LogisticsMap.d.ts +1 -2
  71. package/dist/movethewheels/components/maps/MapCanvas.d.ts +1 -2
  72. package/dist/movethewheels/components/maps/RouteMap.d.ts +1 -1
  73. package/dist/movethewheels/components/maps/TrackingMap.d.ts +1 -1
  74. package/dist/movethewheels/components/maps/leaflet-setup.d.ts +0 -1
  75. package/dist/movethewheels/components/pending-pick/PendingPickDraft.d.ts +1 -2
  76. package/dist/movethewheels/components/pending-pick/PendingPickHistory.d.ts +1 -1
  77. package/dist/movethewheels/components/pending-pick/PickCapture.d.ts +1 -2
  78. package/dist/movethewheels/components/pending-pick/PickLineSelection.d.ts +1 -2
  79. package/dist/movethewheels/components/pending-pick/PickReviewPanel.d.ts +1 -2
  80. package/dist/movethewheels/components/stock-binding/StockAssessmentDraft.d.ts +1 -2
  81. package/dist/movethewheels/components/stock-binding/StockAssessmentHistory.d.ts +1 -2
  82. package/dist/movethewheels/components/stock-binding/StockAssessmentSummary.d.ts +1 -2
  83. package/dist/movethewheels/components/stock-binding/StockFactForm.d.ts +1 -2
  84. package/dist/movethewheels/components/stock-observation/StockIssueForm.d.ts +1 -2
  85. package/dist/movethewheels/components/stock-observation/StockIssueHistory.d.ts +1 -2
  86. package/dist/movethewheels/components/stock-observation/StockIssueReadPanel.d.ts +1 -1
  87. package/dist/movethewheels/components/trip-utilization/TripReportForm.d.ts +1 -2
  88. package/dist/movethewheels/components/trip-utilization/TripReportHistory.d.ts +1 -2
  89. package/dist/movethewheels/components/trip-utilization/TripReportSummary.d.ts +1 -2
  90. package/dist/movethewheels/components/trip-utilization/TripSegmentFields.d.ts +1 -2
  91. package/dist/movethewheels/hooks/useAnalytics.d.ts +0 -1
  92. package/dist/movethewheels/hooks/useConsolidationAction.d.ts +0 -1
  93. package/dist/movethewheels/hooks/useContainerCondition.d.ts +0 -1
  94. package/dist/movethewheels/hooks/useContainerLifecycle.d.ts +0 -1
  95. package/dist/movethewheels/hooks/useCustomers.d.ts +0 -1
  96. package/dist/movethewheels/hooks/useEmptyReuseAction.d.ts +0 -1
  97. package/dist/movethewheels/hooks/useEpod.d.ts +0 -1
  98. package/dist/movethewheels/hooks/useFleet.d.ts +0 -1
  99. package/dist/movethewheels/hooks/useFreightRecoveryAction.d.ts +0 -1
  100. package/dist/movethewheels/hooks/useInventory.d.ts +0 -1
  101. package/dist/movethewheels/hooks/useOrders.d.ts +0 -1
  102. package/dist/movethewheels/hooks/useProcedureAction.d.ts +0 -1
  103. package/dist/movethewheels/hooks/useProcedureSelection.d.ts +0 -1
  104. package/dist/movethewheels/hooks/useReuseRecoveryAction.d.ts +0 -1
  105. package/dist/movethewheels/hooks/useRoutes.d.ts +0 -1
  106. package/dist/movethewheels/hooks/useShipmentStatusAuthority.d.ts +0 -1
  107. package/dist/movethewheels/hooks/useTracking.d.ts +0 -1
  108. package/dist/movethewheels/hooks/useTrackingEventQuality.d.ts +0 -1
  109. package/dist/movethewheels/pages/AIAssistantPage.d.ts +1 -1
  110. package/dist/movethewheels/pages/AnalyticsPage.d.ts +1 -1
  111. package/dist/movethewheels/pages/ConsolidationPage.d.ts +1 -1
  112. package/dist/movethewheels/pages/ContainerConditionPage.d.ts +1 -1
  113. package/dist/movethewheels/pages/ContainersPage.d.ts +1 -1
  114. package/dist/movethewheels/pages/CreateOrderPage.d.ts +1 -1
  115. package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +1 -1
  116. package/dist/movethewheels/pages/CustomersPage.d.ts +1 -1
  117. package/dist/movethewheels/pages/DashboardPage.d.ts +1 -1
  118. package/dist/movethewheels/pages/DeliveryCapturePage.d.ts +1 -1
  119. package/dist/movethewheels/pages/DriverDetailsPage.d.ts +1 -1
  120. package/dist/movethewheels/pages/DriversPage.d.ts +1 -1
  121. package/dist/movethewheels/pages/EmptyReusePage.d.ts +1 -1
  122. package/dist/movethewheels/pages/FinancePage.d.ts +1 -1
  123. package/dist/movethewheels/pages/FleetPage.d.ts +1 -1
  124. package/dist/movethewheels/pages/FreeTimePage.d.ts +1 -1
  125. package/dist/movethewheels/pages/FreightEstimatePage.d.ts +1 -1
  126. package/dist/movethewheels/pages/ImportExportPage.d.ts +1 -1
  127. package/dist/movethewheels/pages/InventoryPage.d.ts +1 -1
  128. package/dist/movethewheels/pages/LiveTrackingPage.d.ts +1 -1
  129. package/dist/movethewheels/pages/LogisticsProceduresPage.d.ts +1 -1
  130. package/dist/movethewheels/pages/MarketplacePage.d.ts +1 -1
  131. package/dist/movethewheels/pages/MultiModalShipmentPage.d.ts +1 -1
  132. package/dist/movethewheels/pages/OrderDetailsPage.d.ts +1 -1
  133. package/dist/movethewheels/pages/OrdersListPage.d.ts +1 -1
  134. package/dist/movethewheels/pages/PendingPickPage.d.ts +1 -1
  135. package/dist/movethewheels/pages/ProductDetailsPage.d.ts +1 -1
  136. package/dist/movethewheels/pages/ProductsPage.d.ts +1 -1
  137. package/dist/movethewheels/pages/ReportsPage.d.ts +1 -1
  138. package/dist/movethewheels/pages/RouteDetailsPage.d.ts +1 -1
  139. package/dist/movethewheels/pages/RoutesPage.d.ts +1 -1
  140. package/dist/movethewheels/pages/SettingsPage.d.ts +1 -1
  141. package/dist/movethewheels/pages/ShipmentStatusAuthorityPage.d.ts +1 -1
  142. package/dist/movethewheels/pages/ShippingRatesPage.d.ts +1 -1
  143. package/dist/movethewheels/pages/StockBindingPage.d.ts +1 -1
  144. package/dist/movethewheels/pages/StockObservationsPage.d.ts +1 -1
  145. package/dist/movethewheels/pages/TrackingEventQualityPage.d.ts +1 -1
  146. package/dist/movethewheels/pages/TrackingPage.d.ts +1 -1
  147. package/dist/movethewheels/pages/TripUtilizationPage.d.ts +1 -1
  148. package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +1 -1
  149. package/dist/movethewheels/pages/VehiclesPage.d.ts +1 -1
  150. package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +1 -1
  151. package/dist/movethewheels/pages/WarehousesPage.d.ts +1 -1
  152. package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +0 -1
  153. package/dist/movethewheels/store/movethewheelsStore.d.ts +0 -1
  154. package/dist/movethewheels/types/index.d.ts +0 -1
  155. package/dist/movethewheels/utils/cn.d.ts +0 -1
  156. package/dist/movethewheels/utils/consolidationHistoryTarget.d.ts +0 -1
  157. package/dist/movethewheels/utils/consolidationInput.d.ts +0 -1
  158. package/dist/movethewheels/utils/consolidationLot.d.ts +0 -1
  159. package/dist/movethewheels/utils/consolidationPins.d.ts +0 -1
  160. package/dist/movethewheels/utils/consolidationRecovery.d.ts +0 -1
  161. package/dist/movethewheels/utils/consolidationReportHead.d.ts +0 -1
  162. package/dist/movethewheels/utils/formatters.d.ts +0 -1
  163. package/dist/movethewheels/utils/freightCommercial.d.ts +44 -0
  164. package/dist/movethewheels/utils/freightDraft.d.ts +0 -1
  165. package/dist/movethewheels/utils/freightRecovery.d.ts +0 -1
  166. package/dist/movethewheels/utils/mapMarkers.d.ts +0 -1
  167. package/dist/movethewheels/utils/orderValidation.d.ts +0 -1
  168. package/dist/movethewheels/utils/pendingPickDraft.d.ts +0 -1
  169. package/dist/movethewheels/utils/pickReviewAcknowledgement.d.ts +0 -1
  170. package/dist/movethewheels/utils/procedureInput.d.ts +0 -1
  171. package/dist/movethewheels/utils/procedureRecovery.d.ts +0 -1
  172. package/dist/movethewheels/utils/reuseForm.d.ts +0 -1
  173. package/dist/movethewheels/utils/reuseRecovery.d.ts +0 -1
  174. package/dist/movethewheels/utils/stockBindingForm.d.ts +0 -1
  175. package/dist/movethewheels/utils/stockObservationForm.d.ts +0 -1
  176. package/dist/movethewheels/utils/tripDraftContext.d.ts +0 -1
  177. package/dist/movethewheels/utils/tripUtilizationForm.d.ts +0 -1
  178. package/dist/pages/FreightEstimatePage.js +96 -92
  179. package/dist/services/createSandboxAssistantTransport.d.ts +2 -1
  180. package/dist/src/generated/freight-cost-operations.js +495 -6
  181. package/dist/stories/EntityCombobox.stories.d.ts +1 -2
  182. package/dist/stories/MetricCard.stories.d.ts +0 -1
  183. package/dist/stories/Notice.stories.d.ts +0 -1
  184. package/dist/stories/StatusBadge.stories.d.ts +0 -1
  185. package/dist/utils/freightAcknowledgement.js +6 -5
  186. package/dist/utils/freightCommercial.js +194 -0
  187. package/dist/utils/freightRecovery.js +22 -22
  188. package/package.json +6 -5
  189. package/src/generated/freight-cost-operations.ts +831 -1
  190. package/src/movethewheels/components/freight-cost/FreightCommercialEditor.tsx +236 -0
  191. package/src/movethewheels/components/freight-cost/FreightCommercialFactEditor.tsx +258 -0
  192. package/src/movethewheels/components/freight-cost/FreightCommercialHistory.tsx +90 -0
  193. package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +33 -4
  194. package/src/movethewheels/components/freight-cost/FreightHistory.tsx +4 -2
  195. package/src/movethewheels/hooks/useFreightRecoveryAction.ts +2 -1
  196. package/src/movethewheels/pages/FreightEstimatePage.tsx +14 -7
  197. package/src/movethewheels/utils/freightAcknowledgement.ts +3 -1
  198. package/src/movethewheels/utils/freightCommercial.ts +388 -0
  199. package/src/movethewheels/utils/freightRecovery.ts +6 -2
  200. package/src/operations/freight-cost/commercial.graphql +483 -0
@@ -1,8 +1,7 @@
1
1
  import { ConsolidationPlanQuery } from '../../../generated/consolidation-operations';
2
2
  import { useConsolidationAction } from '../../hooks/useConsolidationAction';
3
-
4
3
  export declare function ConsolidationManifestWorkbench({ plan, actions, labels, }: {
5
4
  plan: ConsolidationPlanQuery['mtwConsolidationPlan'];
6
5
  actions: ReturnType<typeof useConsolidationAction>;
7
6
  labels: Record<string, string>;
8
- }): import("react").JSX.Element;
7
+ }): import('react').JSX.Element;
@@ -1,8 +1,7 @@
1
1
  import { SaveMtwConsolidationPlanInput } from '../../../generated/consolidation-operations';
2
-
3
2
  export type ConsolidationPlanPin = Omit<SaveMtwConsolidationPlanInput, 'facts' | 'evidence' | 'idempotencyKey'>;
4
3
  export declare function ConsolidationPlanForm({ pin, busy, onSave, }: {
5
4
  pin: ConsolidationPlanPin;
6
5
  busy: boolean;
7
6
  onSave: (input: Omit<SaveMtwConsolidationPlanInput, 'idempotencyKey'>) => Promise<void>;
8
- }): import("react").JSX.Element;
7
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { useConsolidationAction } from '../../hooks/useConsolidationAction';
2
-
3
2
  export declare function ConsolidationPlanWorkbench({ actions, }: {
4
3
  actions: ReturnType<typeof useConsolidationAction>;
5
- }): import("react").JSX.Element;
4
+ }): import('react').JSX.Element;
@@ -1,9 +1,8 @@
1
1
  import { ConsolidationPlanQuery, RecordMtwConsolidationObservationInput } from '../../../generated/consolidation-operations';
2
-
3
2
  export type ConsolidationReportPin = Omit<RecordMtwConsolidationObservationInput, 'reportedQuantity' | 'reportedObservedAt' | 'reason' | 'source' | 'evidence' | 'idempotencyKey'>;
4
3
  export declare function ConsolidationReportForm({ pin, lot, busy, onSave, }: {
5
4
  pin: ConsolidationReportPin;
6
5
  lot: ConsolidationPlanQuery['mtwConsolidationPlan']['facts']['lots'][number];
7
6
  busy: boolean;
8
7
  onSave: (input: Omit<RecordMtwConsolidationObservationInput, 'idempotencyKey'>) => Promise<void>;
9
- }): import("react").JSX.Element;
8
+ }): import('react').JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { ConsolidationPlanQuery } from '../../../generated/consolidation-operations';
2
2
  import { useConsolidationAction } from '../../hooks/useConsolidationAction';
3
-
4
3
  export declare function ConsolidationReportsWorkbench({ plan, actions, }: {
5
4
  plan: ConsolidationPlanQuery['mtwConsolidationPlan'];
6
5
  actions: ReturnType<typeof useConsolidationAction>;
7
- }): import("react").JSX.Element;
6
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ConsolidationPreviewQuery } from '../../../generated/consolidation-operations';
2
-
3
2
  export declare function ConsolidationSummary({ snapshot, labels, }: {
4
3
  snapshot: ConsolidationPreviewQuery['previewMtwConsolidationManifest'];
5
4
  labels: Record<string, string>;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,8 +1,7 @@
1
1
  import { OriginalConsolidationHistoryTarget } from '../../utils/consolidationHistoryTarget';
2
-
3
2
  /** Read the retained request's history without changing its input, key or draft selections. */
4
3
  export declare function OriginalConsolidationHistory({ target, revision, refresh, }: {
5
4
  target: OriginalConsolidationHistoryTarget;
6
5
  revision: number;
7
6
  refresh: () => void;
8
- }): import("react").JSX.Element;
7
+ }): import('react').JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { CommercialEditorState } from '../../utils/freightCommercial';
2
+ import { SelectedEvidence } from '../ContainerEvidencePicker';
3
+ export declare function FreightCommercialEditor({ value, onChange, shipmentId, evidence, }: {
4
+ value: CommercialEditorState | null;
5
+ onChange: (value: CommercialEditorState | null) => void;
6
+ shipmentId: string;
7
+ evidence: SelectedEvidence[];
8
+ }): import('react').JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { CommercialSlot, CommercialFactDraft } from '../../utils/freightCommercial';
2
+ import { SelectedEvidence } from '../ContainerEvidencePicker';
3
+ export declare function FreightCommercialFactEditor({ slot, value, onChange, evidence, }: {
4
+ slot: CommercialSlot;
5
+ value: CommercialFactDraft;
6
+ onChange: (value: CommercialFactDraft) => void;
7
+ evidence: SelectedEvidence[];
8
+ }): import('react').JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { FreightCommercialVersionQuery } from '../../../generated/freight-cost-operations';
2
+ export declare function FreightCommercialHistory({ capture, }: {
3
+ capture: FreightCommercialVersionQuery['mtwFreightEstimateVersion']['commercialCapture'];
4
+ }): import('react').JSX.Element;
@@ -1,8 +1,9 @@
1
+ import { CommercialCapture } from '../../utils/freightCommercial';
1
2
  import { MtwFreightFactsInput, PreviewFreightCostsQuery } from '../../../generated/freight-cost-operations';
2
3
  import { SelectedEvidence } from '../ContainerEvidencePicker';
3
-
4
- export declare function FreightDraftForm({ disabled, onPreview, onSave, }: {
4
+ export declare function FreightDraftForm({ disabled, shipmentId, onPreview, onSave, }: {
5
5
  disabled: boolean;
6
+ shipmentId: string;
6
7
  onPreview: (facts: MtwFreightFactsInput) => Promise<PreviewFreightCostsQuery['previewMtwFreightTotal']>;
7
- onSave: (facts: MtwFreightFactsInput, evidence: SelectedEvidence[]) => Promise<void>;
8
- }): import("react").JSX.Element;
8
+ onSave: (facts: MtwFreightFactsInput, evidence: SelectedEvidence[], commercialCapture?: CommercialCapture) => Promise<void>;
9
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { MtwFreightCurrencyInput } from '../../../generated/freight-cost-operations';
3
-
4
3
  export declare const freightInput = "mt-1 min-h-11 w-full rounded border p-2";
5
4
  export declare function FreightText({ label, value, onChange, required, type, disabled, }: {
6
5
  label: string;
@@ -9,15 +8,15 @@ export declare function FreightText({ label, value, onChange, required, type, di
9
8
  required?: boolean;
10
9
  type?: string;
11
10
  disabled?: boolean;
12
- }): import("react").JSX.Element;
11
+ }): import('react').JSX.Element;
13
12
  export declare function FreightSelect({ label, value, onChange, children, }: {
14
13
  label: string;
15
14
  value: string;
16
15
  onChange: (value: string) => void;
17
16
  children: ReactNode;
18
- }): import("react").JSX.Element;
17
+ }): import('react').JSX.Element;
19
18
  export declare function FreightCurrency({ label, value, onChange, }: {
20
19
  label: string;
21
20
  value: MtwFreightCurrencyInput;
22
21
  onChange: (value: MtwFreightCurrencyInput) => void;
23
- }): import("react").JSX.Element;
22
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { MtwFreightFactsInput } from '../../../generated/freight-cost-operations';
2
-
3
2
  export declare function FreightFxEditor({ value, onChange, }: {
4
3
  value: MtwFreightFactsInput['fx'];
5
4
  onChange: (value: MtwFreightFactsInput['fx']) => void;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
- import { FreightVersionQuery } from '../../../generated/freight-cost-operations';
2
-
1
+ import { FreightCommercialVersionQuery } from '../../../generated/freight-cost-operations';
3
2
  export declare function FreightHistory({ record, }: {
4
- record: FreightVersionQuery['mtwFreightEstimateVersion'];
5
- }): import("react").JSX.Element;
3
+ record: FreightCommercialVersionQuery['mtwFreightEstimateVersion'];
4
+ }): import('react').JSX.Element;
@@ -1,8 +1,7 @@
1
1
  import { MtwFreightLineInput } from '../../../generated/freight-cost-operations';
2
-
3
2
  export declare function FreightLineEditor({ line, others, onChange, onRemove, }: {
4
3
  line: MtwFreightLineInput;
5
4
  others: MtwFreightLineInput[];
6
5
  onChange: (line: MtwFreightLineInput) => void;
7
6
  onRemove: () => void;
8
- }): import("react").JSX.Element;
7
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { MtwFreightFactsInput } from '../../../generated/freight-cost-operations';
2
-
3
2
  export declare function FreightScopeEditor({ value, onChange, }: {
4
3
  value: MtwFreightFactsInput['requirements'];
5
4
  onChange: (value: MtwFreightFactsInput['requirements']) => void;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { PreviewFreightCostsQuery, MtwFreightCurrencyInput } from '../../../generated/freight-cost-operations';
2
-
3
2
  export declare function FreightTotals({ value, currency, }: {
4
3
  value: PreviewFreightCostsQuery['previewMtwFreightTotal'];
5
4
  currency: MtwFreightCurrencyInput | null | undefined;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { MtwProcedureStep, ProcedureStepsQuery, ProcedureDeviationsQuery } from '../../../generated/logistics-procedure-operations';
2
-
3
2
  type Decision = ProcedureStepsQuery['mtwProcedureStepPage']['items'][number];
4
3
  type Deviation = ProcedureDeviationsQuery['mtwProcedureDeviationPage']['items'][number];
5
4
  export declare function ProcedureStepForm({ executionId, step, previous, busy, onSave, }: {
@@ -8,7 +7,7 @@ export declare function ProcedureStepForm({ executionId, step, previous, busy, o
8
7
  previous: Decision | null;
9
8
  busy: boolean;
10
9
  onSave: (input: Record<string, unknown>) => Promise<void>;
11
- }): import("react").JSX.Element;
10
+ }): import('react').JSX.Element;
12
11
  export declare function ProcedureDeviationForm({ executionId, issue, previous, busy, onSave, onRevoke, }: {
13
12
  executionId: string;
14
13
  issue: Decision;
@@ -16,5 +15,5 @@ export declare function ProcedureDeviationForm({ executionId, issue, previous, b
16
15
  busy: boolean;
17
16
  onSave: (input: Record<string, unknown>) => Promise<void>;
18
17
  onRevoke: (input: Record<string, unknown>) => Promise<void>;
19
- }): import("react").JSX.Element;
18
+ }): import('react').JSX.Element;
20
19
  export {};
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export declare function ProcedureField({ label, value, onChange, type, maxLength, required, }: {
4
3
  label: string;
5
4
  value: string;
@@ -7,11 +6,11 @@ export declare function ProcedureField({ label, value, onChange, type, maxLength
7
6
  type?: string;
8
7
  maxLength?: number;
9
8
  required?: boolean;
10
- }): import("react").JSX.Element;
9
+ }): import('react').JSX.Element;
11
10
  export declare function ProcedureGroup({ title, children }: {
12
11
  title: string;
13
12
  children: ReactNode;
14
- }): import("react").JSX.Element;
13
+ }): import('react').JSX.Element;
15
14
  export declare function ProcedureTime({ value }: {
16
15
  value: string | null | undefined;
17
- }): import("react").JSX.Element;
16
+ }): import('react').JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { ProcedureRunQuery, ProcedureStepsQuery, ProcedureDeviationsQuery } from '../../../generated/logistics-procedure-operations';
2
-
3
2
  export declare function ProcedureHistory({ run, steps, deviations, }: {
4
3
  run: ProcedureRunQuery['mtwProcedureExecution'];
5
4
  steps: ProcedureStepsQuery['mtwProcedureStepPage']['items'];
6
5
  deviations: ProcedureDeviationsQuery['mtwProcedureDeviationPage']['items'];
7
- }): import("react").JSX.Element;
6
+ }): import('react').JSX.Element;
@@ -1,10 +1,9 @@
1
1
  import { ProcedurePolicyQuery } from '../../../generated/logistics-procedure-operations';
2
-
3
2
  type Policy = ProcedurePolicyQuery['mtwProcedureVersion'];
4
3
  export declare function ProcedurePolicyForm({ reference, previous, busy, onSave, }: {
5
4
  reference: string;
6
5
  previous: Policy | null;
7
6
  busy: boolean;
8
7
  onSave: (input: Record<string, unknown>) => Promise<void>;
9
- }): import("react").JSX.Element;
8
+ }): import('react').JSX.Element;
10
9
  export {};
@@ -1,5 +1,4 @@
1
1
  import { useProcedureAction } from '../../hooks/useProcedureAction';
2
-
3
2
  export declare function ProcedurePolicyWorkbench({ actions, }: {
4
3
  actions: ReturnType<typeof useProcedureAction>;
5
- }): import("react").JSX.Element;
4
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { useProcedureAction } from '../../hooks/useProcedureAction';
2
-
3
2
  export declare function ProcedureReviewWorkbench({ actions, }: {
4
3
  actions: ReturnType<typeof useProcedureAction>;
5
- }): import("react").JSX.Element;
4
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { useProcedureAction } from '../../hooks/useProcedureAction';
2
-
3
2
  export declare function ProcedureRunWorkbench({ id, actions, }: {
4
3
  id: string;
5
4
  actions: ReturnType<typeof useProcedureAction>;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { useProcedureSelection } from '../../hooks/useProcedureSelection';
2
-
3
2
  export declare function ProcedureSubjectPicker({ selection: s, busy, onChange, }: {
4
3
  selection: ReturnType<typeof useProcedureSelection>;
5
4
  busy: boolean;
6
5
  onChange: () => void;
7
- }): import("react").JSX.Element;
6
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { MapMarkerStatus } from './leaflet-setup';
2
-
3
2
  export interface LogisticsMarker {
4
3
  id: string;
5
4
  lat: number;
@@ -26,5 +25,5 @@ interface LogisticsMapProps {
26
25
  * (0,0) or non-finite values are treated as "no location" and filtered out, so
27
26
  * the map is never dumped in the ocean. Empty markers → honest empty state.
28
27
  */
29
- export declare function LogisticsMap({ markers, routes, height, className, fitToMarkers, emptyMessage, }: LogisticsMapProps): import("react").JSX.Element;
28
+ export declare function LogisticsMap({ markers, routes, height, className, fitToMarkers, emptyMessage, }: LogisticsMapProps): import('react').JSX.Element;
30
29
  export {};
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  /** SSR/lazy safety: only mount Leaflet (which touches the DOM) after mount. */
4
3
  export declare function useIsMounted(): boolean;
5
4
  /**
@@ -28,5 +27,5 @@ interface MapCanvasProps {
28
27
  * mount-safety, container sizing, rounded/overflow styling, tile layer, and
29
28
  * auto-fit. Renders `emptyState` when there is nothing to plot.
30
29
  */
31
- export declare function MapCanvas({ points, height, className, fitToMarkers, center, zoom, children, emptyState, }: MapCanvasProps): import("react").JSX.Element;
30
+ export declare function MapCanvas({ points, height, className, fitToMarkers, center, zoom, children, emptyState, }: MapCanvasProps): import('react').JSX.Element;
32
31
  export {};
@@ -16,5 +16,5 @@ interface RouteMapProps {
16
16
  * RouteMap — numbered stop markers in sequence connected by a polyline. Filters
17
17
  * out stops without a real coordinate and orders the line by `sequence`.
18
18
  */
19
- export declare function RouteMap({ stops, height, className, routeColor, emptyMessage, }: RouteMapProps): import("react").JSX.Element;
19
+ export declare function RouteMap({ stops, height, className, routeColor, emptyMessage, }: RouteMapProps): import('react').JSX.Element;
20
20
  export {};
@@ -25,5 +25,5 @@ interface TrackingMapProps {
25
25
  * pins and a live "current position" dot. Everything is filtered for real
26
26
  * coordinates so a missing GPS fix never plots at null-island.
27
27
  */
28
- export declare function TrackingMap({ origin, destination, trail, current, height, className, trailColor, emptyMessage, }: TrackingMapProps): import("react").JSX.Element;
28
+ export declare function TrackingMap({ origin, destination, trail, current, height, className, trailColor, emptyMessage, }: TrackingMapProps): import('react').JSX.Element;
29
29
  export {};
@@ -1,5 +1,4 @@
1
1
  import { default as L } from 'leaflet';
2
-
3
2
  /**
4
3
  * OpenStreetMap raster tiles. There is no CSP blocking external tiles in the
5
4
  * app-shell, so we use the standard OSM tile server.
@@ -1,6 +1,5 @@
1
1
  import { PickPreparationQuery } from '../../../generated/pending-pick-operations';
2
2
  import { PendingPickInput } from '../../utils/pendingPickDraft';
3
-
4
3
  export declare function PendingPickDraft({ context, locked, loading, count, reason, draft, stale, onCount, onReason, onReview, onSave, }: {
5
4
  context: PickPreparationQuery['mtwPickPreparation'] | undefined;
6
5
  locked: boolean;
@@ -13,4 +12,4 @@ export declare function PendingPickDraft({ context, locked, loading, count, reas
13
12
  onReason: (value: string) => void;
14
13
  onReview: () => void;
15
14
  onSave: () => void;
16
- }): import("react").JSX.Element | null;
15
+ }): import('react').JSX.Element | null;
@@ -2,4 +2,4 @@ export declare function PendingPickHistory({ revision, sourceId, destinationId,
2
2
  revision: number;
3
3
  sourceId: string;
4
4
  destinationId: string;
5
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { PickLineFragment } from '../../../generated/pending-pick-operations';
2
-
3
2
  export declare function PickCapture({ line, title }: {
4
3
  line: PickLineFragment;
5
4
  title: string;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { PickInventoryQuery } from '../../../generated/pending-pick-operations';
2
-
3
2
  export declare function PickLineSelection({ inventory, sourceId, destinationId, locked, offset, onOffset, onSelect, onRefresh, refreshBusy, }: {
4
3
  inventory: {
5
4
  data: PickInventoryQuery | null;
@@ -14,4 +13,4 @@ export declare function PickLineSelection({ inventory, sourceId, destinationId,
14
13
  onSelect: (side: 'source' | 'destination', id: string) => void;
15
14
  onRefresh: () => void;
16
15
  refreshBusy: boolean;
17
- }): import("react").JSX.Element;
16
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { PendingPickTaskFragment } from '../../../generated/pending-pick-operations';
2
-
3
2
  export declare function PickReviewPanel({ task }: {
4
3
  task: PendingPickTaskFragment;
5
- }): import("react").JSX.Element;
4
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { StockDraftPin, StockFactDraft } from '../../utils/stockBindingForm';
2
-
3
2
  export declare function StockAssessmentDraft({ pin, mismatch, uncertain, startDisabled, formDisabled, onStart, onSubmit, }: {
4
3
  pin: (StockDraftPin & {
5
4
  generation: string;
@@ -10,4 +9,4 @@ export declare function StockAssessmentDraft({ pin, mismatch, uncertain, startDi
10
9
  formDisabled: boolean;
11
10
  onStart: () => void;
12
11
  onSubmit: (draft: StockFactDraft) => Promise<void>;
13
- }): import("react").JSX.Element;
12
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { StockAssessmentFragment, StockBindingHistoryQuery } from '../../../generated/stock-binding-operations';
2
-
3
2
  export declare function StockAssessmentHistory({ query, current, selected, onSelect, offset, onPage, busy, }: {
4
3
  query: {
5
4
  data: StockBindingHistoryQuery | null;
@@ -15,4 +14,4 @@ export declare function StockAssessmentHistory({ query, current, selected, onSel
15
14
  offset: number;
16
15
  onPage: (offset: number) => void;
17
16
  busy: boolean;
18
- }): import("react").JSX.Element;
17
+ }): import('react').JSX.Element;
@@ -1,9 +1,8 @@
1
1
  import { StockAssessmentFragment } from '../../../generated/stock-binding-operations';
2
-
3
2
  export declare function StockAssessmentSummary({ assessment, current, }: {
4
3
  assessment: StockAssessmentFragment;
5
4
  current?: {
6
5
  id: string;
7
6
  compositionEpoch: number;
8
7
  } | null;
9
- }): import("react").JSX.Element;
8
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { StockFactDraft } from '../../utils/stockBindingForm';
2
-
3
2
  export declare function StockFactForm({ busy, onSubmit, }: {
4
3
  busy: boolean;
5
4
  onSubmit: (draft: StockFactDraft) => Promise<void>;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { RecordMtwStockObservationInput } from '../../../generated/stock-observation-operations';
2
-
3
2
  export declare function StockIssueForm({ inventoryItemId, disabled, onSubmit, }: {
4
3
  inventoryItemId: string;
5
4
  disabled: boolean;
6
5
  onSubmit: (input: Omit<RecordMtwStockObservationInput, 'idempotencyKey'>) => Promise<void>;
7
- }): import("react").JSX.Element;
6
+ }): import('react').JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import { ReportedStockIssueFragment } from '../../../generated/stock-observation-operations';
2
-
3
2
  export declare function StockIssueHistory({ items, onSelect, disabled, }: {
4
3
  items: ReportedStockIssueFragment[];
5
4
  onSelect: (id: string) => void;
6
5
  disabled: boolean;
7
- }): import("react").JSX.Element;
6
+ }): import('react').JSX.Element;
@@ -2,4 +2,4 @@ export declare function StockIssueReadPanel({ inventoryItemId, revision, busy, }
2
2
  inventoryItemId: string;
3
3
  revision: number;
4
4
  busy: boolean;
5
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { TripReportDraft } from '../../utils/tripUtilizationForm';
2
-
3
2
  export declare function TripReportForm({ busy, onSubmit, }: {
4
3
  busy: boolean;
5
4
  onSubmit: (draft: TripReportDraft) => Promise<void>;
6
- }): import("react").JSX.Element;
5
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { UtilizationReportFragment, UtilizationReportsQuery } from '../../../generated/trip-utilization-operations';
2
-
3
2
  export declare function TripReportHistory({ query, offset, onPage, selected, onSelect, busy, }: {
4
3
  query: {
5
4
  data: UtilizationReportsQuery | null;
@@ -11,4 +10,4 @@ export declare function TripReportHistory({ query, offset, onPage, selected, onS
11
10
  selected: UtilizationReportFragment | null;
12
11
  onSelect: (report: UtilizationReportFragment) => void;
13
12
  busy: boolean;
14
- }): import("react").JSX.Element;
13
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { UtilizationReportFragment } from '../../../generated/trip-utilization-operations';
2
-
3
2
  export declare function TripReportSummary({ report }: {
4
3
  report: UtilizationReportFragment;
5
- }): import("react").JSX.Element;
4
+ }): import('react').JSX.Element;
@@ -1,9 +1,8 @@
1
1
  import { MtwTripUtilizationBasis } from '../../../generated/trip-utilization-operations';
2
-
3
2
  export declare function TripSegmentFields({ id, sequence, basis, onRemove, removable, }: {
4
3
  id: string;
5
4
  sequence: number;
6
5
  basis: MtwTripUtilizationBasis;
7
6
  onRemove: () => void;
8
7
  removable: boolean;
9
- }): import("react").JSX.Element;
8
+ }): import('react').JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Analytics } from '../types';
2
-
3
2
  interface UseAnalyticsOptions {
4
3
  dateRange?: {
5
4
  from: Date;
@@ -1,5 +1,4 @@
1
1
  import { DocumentNode } from 'graphql';
2
-
3
2
  /** F08 retains one unresolved request across entity/context remounts; it never sends automatically. */
4
3
  export declare function useConsolidationAction(): {
5
4
  run: (document: DocumentNode, input: Record<string, unknown>, success: string) => Promise<Record<string, unknown> | null>;
@@ -1,6 +1,5 @@
1
1
  import { DocumentNode } from 'graphql';
2
2
  import { GraphQLAttemptPolicy } from '../utils/graphqlClient';
3
-
4
3
  export declare function useConditionApi(attemptPolicy?: GraphQLAttemptPolicy): <T>(document: DocumentNode, variables: Record<string, unknown>) => Promise<T>;
5
4
  /** Bounded pages, cancellation of stale responses, and explicit access failures. */
6
5
  export declare function useConditionQuery<T>(document: DocumentNode, variables: Record<string, unknown> | null, revision?: number): {
@@ -1,5 +1,4 @@
1
1
  import { ContainerEquipmentFieldsFragment, ContainerCycleFieldsFragment, ContainerEventFieldsFragment, RegisterMtwContainerInput, OpenMtwContainerCycleInput, RecordMtwContainerEventInput } from '../../generated/container-operations';
2
-
3
2
  export declare const EQUIPMENT_TYPES: readonly ["DRY_20", "DRY_40", "HIGH_CUBE_40", "REEFER_20", "REEFER_40", "OPEN_TOP", "FLAT_RACK", "TANK", "OTHER"];
4
3
  export declare const CONTAINER_EVENT_TYPES: readonly ["GATE_OUT", "LOADED", "DISCHARGED", "AVAILABLE_FOR_PICKUP", "GATE_IN", "DELIVERED", "EMPTY_READY", "RETURN_REQUESTED", "EMPTY_RETURNED", "RETURN_ACCEPTED", "POSITION_UPDATE"];
5
4
  export type EquipmentType = (typeof EQUIPMENT_TYPES)[number];
@@ -1,5 +1,4 @@
1
1
  import { Customer, CustomerFilter } from '../types';
2
-
3
2
  interface UseCustomersOptions {
4
3
  filters?: CustomerFilter;
5
4
  limit?: number;
@@ -1,5 +1,4 @@
1
1
  import { DocumentNode } from 'graphql';
2
-
3
2
  /** An uncertain retry keeps its original body and key, even after a read refresh. */
4
3
  export declare function useEmptyReuseAction(): {
5
4
  run: <T>(document: DocumentNode, input: Record<string, unknown>, success: string) => Promise<T | null>;
@@ -1,5 +1,4 @@
1
1
  import { Order, ProofOfDelivery, SignatureType } from '../types';
2
-
3
2
  export interface ApiProofOfDelivery {
4
3
  id: string;
5
4
  deliveryJobId: string;
@@ -1,5 +1,4 @@
1
1
  import { Driver, DriverStatus, FleetFilter, Vehicle, VehicleFuelType, VehicleStatus } from '../types';
2
-
3
2
  interface UseFleetOptions {
4
3
  filters?: FleetFilter;
5
4
  limit?: number;
@@ -1,6 +1,5 @@
1
1
  import { DocumentNode } from 'graphql';
2
2
  import { SaveFreightCostsMutation } from '../../generated/freight-cost-operations';
3
-
4
3
  /** F06 retains one unresolved request across entity/context remounts; it never sends automatically. */
5
4
  export declare function useFreightRecoveryAction(): {
6
5
  run: (document: DocumentNode, input: Record<string, unknown>, success: string) => Promise<SaveFreightCostsMutation | null>;
@@ -1,5 +1,4 @@
1
1
  import { Inventory, InventoryFilter, Product, ProductDimensions, Warehouse } from '../types';
2
-
3
2
  interface UseInventoryOptions {
4
3
  filters?: InventoryFilter;
5
4
  search?: string;
@@ -1,5 +1,4 @@
1
1
  import { Order, OrderFilter, OrderStatus } from '../types';
2
-
3
2
  interface UseOrdersOptions {
4
3
  filters?: OrderFilter;
5
4
  limit?: number;
@@ -1,5 +1,4 @@
1
1
  import { DocumentNode } from 'graphql';
2
-
3
2
  /** F05 retains one unresolved request across entity/context remounts; it never sends automatically. */
4
3
  export declare function useProcedureAction(): {
5
4
  run: (document: DocumentNode, input: Record<string, unknown>, success: string) => Promise<Record<string, unknown> | null>;
@@ -1,5 +1,4 @@
1
1
  import { ProcedureContainersQuery, ProcedureCyclesQuery, ProcedureProposalsQuery } from '../../generated/logistics-procedure-operations';
2
-
3
2
  export declare function useProcedureSelection(revision: number): {
4
3
  containerId: string;
5
4
  cycleId: string;