@burdenoff/microfe-movethewheels 2026.930.5 → 2026.1010.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.
- package/dist/MoveTheWheelsRoot.js +177 -102
- package/dist/MoveTheWheelsRoutes.js +55 -11
- package/dist/_virtual/_rolldown/runtime.js +1 -1
- package/dist/components/ContainerEvidencePicker.js +143 -0
- package/dist/components/FreeTimeAgreementForm.js +496 -0
- package/dist/components/ReturnInstructionForm.js +108 -0
- package/dist/components/ReuseControls.js +91 -0
- package/dist/components/ReusePermissionForm.js +114 -0
- package/dist/components/ReuseProposalForm.js +455 -0
- package/dist/components/ReuseSourceFields.js +78 -0
- package/dist/components/consolidation/ConsolidationHistory.js +244 -0
- package/dist/components/consolidation/ConsolidationLotEditor.js +133 -0
- package/dist/components/consolidation/ConsolidationManifestWorkbench.js +143 -0
- package/dist/components/consolidation/ConsolidationPlanForm.js +172 -0
- package/dist/components/consolidation/ConsolidationPlanWorkbench.js +321 -0
- package/dist/components/consolidation/ConsolidationReportForm.js +94 -0
- package/dist/components/consolidation/ConsolidationReportsWorkbench.js +195 -0
- package/dist/components/consolidation/ConsolidationSummary.js +76 -0
- package/dist/components/consolidation/OriginalConsolidationHistory.js +112 -0
- package/dist/components/freight-cost/FreightDraftForm.js +213 -0
- package/dist/components/freight-cost/FreightFields.js +70 -0
- package/dist/components/freight-cost/FreightFxEditor.js +90 -0
- package/dist/components/freight-cost/FreightHistory.js +164 -0
- package/dist/components/freight-cost/FreightLineEditor.js +191 -0
- package/dist/components/freight-cost/FreightScopeEditor.js +72 -0
- package/dist/components/freight-cost/FreightTotals.js +66 -0
- package/dist/components/logistics-procedure/ProcedureDecisionForm.js +197 -0
- package/dist/components/logistics-procedure/ProcedureFields.js +31 -0
- package/dist/components/logistics-procedure/ProcedureHistory.js +177 -0
- package/dist/components/logistics-procedure/ProcedurePolicyForm.js +227 -0
- package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +155 -0
- package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +221 -0
- package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +190 -0
- package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +130 -0
- package/dist/components/pending-pick/PendingPickDraft.js +84 -0
- package/dist/components/pending-pick/PendingPickHistory.js +113 -0
- package/dist/components/pending-pick/PickCapture.js +166 -0
- package/dist/components/pending-pick/PickLineSelection.js +111 -0
- package/dist/components/stock-binding/StockAssessmentDraft.js +48 -0
- package/dist/components/stock-binding/StockAssessmentHistory.js +61 -0
- package/dist/components/stock-binding/StockAssessmentSummary.js +199 -0
- package/dist/components/stock-binding/StockFactForm.js +232 -0
- package/dist/components/stock-observation/StockIssueForm.js +148 -0
- package/dist/components/stock-observation/StockIssueHistory.js +116 -0
- package/dist/components/stock-observation/StockIssueReadPanel.js +70 -0
- package/dist/components/trip-utilization/TripReportForm.js +118 -0
- package/dist/components/trip-utilization/TripReportHistory.js +54 -0
- package/dist/components/trip-utilization/TripReportSummary.js +216 -0
- package/dist/components/trip-utilization/TripSegmentFields.js +166 -0
- package/dist/generated/consolidation-operations.d.ts +1060 -0
- package/dist/generated/container-condition-operations.d.ts +868 -0
- package/dist/generated/container-operations.d.ts +356 -0
- package/dist/generated/empty-reuse-operations.d.ts +1578 -0
- package/dist/generated/free-time-operations.d.ts +938 -0
- package/dist/generated/freight-cost-operations.d.ts +716 -0
- package/dist/generated/logistics-procedure-operations.d.ts +938 -0
- package/dist/generated/pending-pick-operations.d.ts +1969 -0
- package/dist/generated/stock-binding-operations.d.ts +930 -0
- package/dist/generated/stock-observation-operations.d.ts +476 -0
- package/dist/generated/trip-utilization-operations.d.ts +651 -0
- package/dist/generated/wspace-operations.d.ts +143 -50
- package/dist/hooks/useConsolidationAction.js +119 -0
- package/dist/hooks/useContainerCondition.js +105 -0
- package/dist/hooks/useContainerLifecycle.js +192 -0
- package/dist/hooks/useEmptyReuseAction.js +45 -0
- package/dist/hooks/useFreightRecoveryAction.js +117 -0
- package/dist/hooks/useMultiModalShipments.js +1 -1
- package/dist/hooks/useProcedureAction.js +119 -0
- package/dist/hooks/useProcedureSelection.js +53 -0
- package/dist/hooks/useReuseRecoveryAction.js +116 -0
- package/dist/movethewheels/components/ContainerEvidencePicker.d.ts +10 -0
- package/dist/movethewheels/components/FreeTimeAgreementForm.d.ts +14 -0
- package/dist/movethewheels/components/ReturnInstructionForm.d.ts +8 -0
- package/dist/movethewheels/components/ReuseControls.d.ts +42 -0
- package/dist/movethewheels/components/ReusePermissionForm.d.ts +9 -0
- package/dist/movethewheels/components/ReuseProposalForm.d.ts +11 -0
- package/dist/movethewheels/components/ReuseSourceFields.d.ts +9 -0
- package/dist/movethewheels/components/consolidation/ConsolidationHistory.d.ts +13 -0
- package/dist/movethewheels/components/consolidation/ConsolidationLotEditor.d.ts +6 -0
- package/dist/movethewheels/components/consolidation/ConsolidationManifestWorkbench.d.ts +8 -0
- package/dist/movethewheels/components/consolidation/ConsolidationPlanForm.d.ts +8 -0
- package/dist/movethewheels/components/consolidation/ConsolidationPlanWorkbench.d.ts +5 -0
- package/dist/movethewheels/components/consolidation/ConsolidationReportForm.d.ts +9 -0
- package/dist/movethewheels/components/consolidation/ConsolidationReportsWorkbench.d.ts +7 -0
- package/dist/movethewheels/components/consolidation/ConsolidationSummary.d.ts +6 -0
- package/dist/movethewheels/components/consolidation/OriginalConsolidationHistory.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightDraftForm.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightFields.d.ts +23 -0
- package/dist/movethewheels/components/freight-cost/FreightFxEditor.d.ts +6 -0
- package/dist/movethewheels/components/freight-cost/FreightHistory.d.ts +5 -0
- package/dist/movethewheels/components/freight-cost/FreightLineEditor.d.ts +8 -0
- package/dist/movethewheels/components/freight-cost/FreightScopeEditor.d.ts +6 -0
- package/dist/movethewheels/components/freight-cost/FreightTotals.d.ts +6 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureDecisionForm.d.ts +20 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureFields.d.ts +17 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureHistory.d.ts +7 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyForm.d.ts +10 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.d.ts +5 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.d.ts +5 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.d.ts +6 -0
- package/dist/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.d.ts +7 -0
- package/dist/movethewheels/components/pending-pick/PendingPickDraft.d.ts +16 -0
- package/dist/movethewheels/components/pending-pick/PendingPickHistory.d.ts +5 -0
- package/dist/movethewheels/components/pending-pick/PickCapture.d.ts +6 -0
- package/dist/movethewheels/components/pending-pick/PickLineSelection.d.ts +17 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentDraft.d.ts +13 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentHistory.d.ts +18 -0
- package/dist/movethewheels/components/stock-binding/StockAssessmentSummary.d.ts +9 -0
- package/dist/movethewheels/components/stock-binding/StockFactForm.d.ts +6 -0
- package/dist/movethewheels/components/stock-observation/StockIssueForm.d.ts +7 -0
- package/dist/movethewheels/components/stock-observation/StockIssueHistory.d.ts +7 -0
- package/dist/movethewheels/components/stock-observation/StockIssueReadPanel.d.ts +5 -0
- package/dist/movethewheels/components/trip-utilization/TripReportForm.d.ts +6 -0
- package/dist/movethewheels/components/trip-utilization/TripReportHistory.d.ts +14 -0
- package/dist/movethewheels/components/trip-utilization/TripReportSummary.d.ts +5 -0
- package/dist/movethewheels/components/trip-utilization/TripSegmentFields.d.ts +9 -0
- package/dist/movethewheels/hooks/useConsolidationAction.d.ts +19 -0
- package/dist/movethewheels/hooks/useContainerCondition.d.ts +21 -0
- package/dist/movethewheels/hooks/useContainerLifecycle.d.ts +40 -0
- package/dist/movethewheels/hooks/useEmptyReuseAction.d.ts +14 -0
- package/dist/movethewheels/hooks/useFreightRecoveryAction.d.ts +23 -0
- package/dist/movethewheels/hooks/useProcedureAction.d.ts +18 -0
- package/dist/movethewheels/hooks/useProcedureSelection.d.ts +51 -0
- package/dist/movethewheels/hooks/useReuseRecoveryAction.d.ts +18 -0
- package/dist/movethewheels/pages/ConsolidationPage.d.ts +1 -0
- package/dist/movethewheels/pages/ContainerConditionPage.d.ts +1 -0
- package/dist/movethewheels/pages/ContainersPage.d.ts +2 -0
- package/dist/movethewheels/pages/EmptyReusePage.d.ts +1 -0
- package/dist/movethewheels/pages/FreeTimePage.d.ts +1 -0
- package/dist/movethewheels/pages/FreightEstimatePage.d.ts +1 -0
- package/dist/movethewheels/pages/LogisticsProceduresPage.d.ts +1 -0
- package/dist/movethewheels/pages/PendingPickPage.d.ts +1 -0
- package/dist/movethewheels/pages/StockBindingPage.d.ts +1 -0
- package/dist/movethewheels/pages/StockObservationsPage.d.ts +1 -0
- package/dist/movethewheels/pages/TripUtilizationPage.d.ts +1 -0
- package/dist/movethewheels/utils/consolidationHistoryTarget.d.ts +12 -0
- package/dist/movethewheels/utils/consolidationInput.d.ts +15 -0
- package/dist/movethewheels/utils/consolidationLot.d.ts +3 -0
- package/dist/movethewheels/utils/consolidationPins.d.ts +20 -0
- package/dist/movethewheels/utils/consolidationRecovery.d.ts +5 -0
- package/dist/movethewheels/utils/consolidationReportHead.d.ts +5 -0
- package/dist/movethewheels/utils/freeTimeDate.d.ts +1 -0
- package/dist/movethewheels/utils/freightAcknowledgement.d.ts +2 -0
- package/dist/movethewheels/utils/freightDraft.d.ts +36 -0
- package/dist/movethewheels/utils/freightRecovery.d.ts +5 -0
- package/dist/movethewheels/utils/graphqlClient.d.ts +2 -1
- package/dist/movethewheels/utils/pendingPickDraft.d.ts +8 -0
- package/dist/movethewheels/utils/procedureInput.d.ts +18 -0
- package/dist/movethewheels/utils/procedureRecovery.d.ts +5 -0
- package/dist/movethewheels/utils/reuseAttempt.d.ts +7 -0
- package/dist/movethewheels/utils/reuseForm.d.ts +6 -0
- package/dist/movethewheels/utils/reuseRecovery.d.ts +26 -0
- package/dist/movethewheels/utils/stockBindingForm.d.ts +23 -0
- package/dist/movethewheels/utils/stockBindingLabels.d.ts +10 -0
- package/dist/movethewheels/utils/stockObservationForm.d.ts +5 -0
- package/dist/movethewheels/utils/tripDraftContext.d.ts +25 -0
- package/dist/movethewheels/utils/tripUtilizationForm.d.ts +6 -0
- package/dist/node_modules/@react-leaflet/core/lib/component.js +5 -5
- package/dist/node_modules/fast-equals/dist/es/index.js +87 -74
- package/dist/node_modules/leaflet/dist/leaflet-src.js +8 -5
- package/dist/node_modules/lodash/_Stack.js +2 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +35 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +22 -0
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +3 -3
- package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
- package/dist/node_modules/recharts/es6/cartesian/Area.js +13 -13
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +9 -9
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +12 -12
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +7 -7
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +13 -13
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +4 -4
- package/dist/node_modules/recharts/es6/cartesian/Line.js +10 -10
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +3 -3
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +3 -3
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +4 -4
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +3 -3
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +3 -3
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -1
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +22 -22
- package/dist/node_modules/recharts/es6/component/Cursor.js +1 -1
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +11 -11
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +6 -6
- package/dist/node_modules/recharts/es6/component/Label.js +14 -14
- package/dist/node_modules/recharts/es6/component/LabelList.js +6 -6
- package/dist/node_modules/recharts/es6/component/Legend.js +5 -5
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +3 -3
- package/dist/node_modules/recharts/es6/component/Text.js +2 -2
- package/dist/node_modules/recharts/es6/component/Tooltip.js +3 -3
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +2 -2
- package/dist/node_modules/recharts/es6/container/Layer.js +2 -2
- package/dist/node_modules/recharts/es6/container/Surface.js +2 -2
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +2 -2
- package/dist/node_modules/recharts/es6/polar/Pie.js +13 -13
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +8 -8
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +6 -6
- package/dist/node_modules/recharts/es6/shape/Cross.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Curve.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Dot.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Polygon.js +4 -4
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +4 -4
- package/dist/node_modules/recharts/es6/shape/Sector.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Symbols.js +1 -1
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +4 -4
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +9 -9
- package/dist/node_modules/recharts/es6/util/BarUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +2 -2
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +1 -1
- package/dist/node_modules/recharts/es6/util/types.js +1 -1
- package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.development.js +2 -2
- package/dist/node_modules/{react-is → recharts/node_modules/react-is}/cjs/react-is.production.min.js +2 -2
- package/dist/node_modules/{react-is → recharts/node_modules/react-is}/index.js +2 -2
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +97 -18
- package/dist/node_modules/zustand/esm/middleware.js +2 -2
- package/dist/pages/ConsolidationPage.js +76 -0
- package/dist/pages/ContainerConditionPage.js +972 -0
- package/dist/pages/ContainersPage.js +522 -0
- package/dist/pages/EmptyReusePage.js +777 -0
- package/dist/pages/FreeTimePage.js +657 -0
- package/dist/pages/FreightEstimatePage.js +284 -0
- package/dist/pages/LogisticsProceduresPage.js +100 -0
- package/dist/pages/PendingPickPage.js +155 -0
- package/dist/pages/StockBindingPage.js +236 -0
- package/dist/pages/StockObservationsPage.js +168 -0
- package/dist/pages/TripUtilizationPage.js +227 -0
- package/dist/src/generated/consolidation-operations.js +505 -0
- package/dist/src/generated/container-condition-operations.js +208 -0
- package/dist/src/generated/container-operations.js +101 -0
- package/dist/src/generated/empty-reuse-operations.js +749 -0
- package/dist/src/generated/free-time-operations.js +235 -0
- package/dist/src/generated/freight-cost-operations.js +325 -0
- package/dist/src/generated/logistics-procedure-operations.js +362 -0
- package/dist/src/generated/pending-pick-operations.js +1128 -0
- package/dist/src/generated/stock-binding-operations.js +175 -0
- package/dist/src/generated/stock-observation-operations.js +93 -0
- package/dist/src/generated/trip-utilization-operations.js +140 -0
- package/dist/src/generated/wspace-operations.js +708 -0
- package/dist/utils/consolidationHistoryTarget.js +27 -0
- package/dist/utils/consolidationInput.js +21 -0
- package/dist/utils/consolidationLot.js +29 -0
- package/dist/utils/consolidationPins.js +13 -0
- package/dist/utils/consolidationRecovery.js +40 -0
- package/dist/utils/consolidationReportHead.js +18 -0
- package/dist/utils/freeTimeDate.js +26 -0
- package/dist/utils/freightAcknowledgement.js +8 -0
- package/dist/utils/freightDraft.js +125 -0
- package/dist/utils/freightRecovery.js +36 -0
- package/dist/utils/graphqlClient.js +28 -28
- package/dist/utils/pendingPickDraft.js +46 -0
- package/dist/utils/procedureInput.js +43 -0
- package/dist/utils/procedureRecovery.js +42 -0
- package/dist/utils/reuseAttempt.js +20 -0
- package/dist/utils/reuseForm.js +25 -0
- package/dist/utils/reuseRecovery.js +71 -0
- package/dist/utils/stockBindingForm.js +142 -0
- package/dist/utils/stockBindingLabels.js +23 -0
- package/dist/utils/stockObservationForm.js +55 -0
- package/dist/utils/tripDraftContext.js +19 -0
- package/dist/utils/tripUtilizationForm.js +60 -0
- package/package.json +20 -5
- package/src/generated/consolidation-operations.ts +1138 -0
- package/src/generated/container-condition-operations.ts +771 -0
- package/src/generated/container-operations.ts +376 -0
- package/src/generated/empty-reuse-operations.ts +1648 -0
- package/src/generated/free-time-operations.ts +814 -0
- package/src/generated/freight-cost-operations.ts +753 -0
- package/src/generated/logistics-procedure-operations.ts +1047 -0
- package/src/generated/pending-pick-operations.ts +1508 -0
- package/src/generated/stock-binding-operations.ts +631 -0
- package/src/generated/stock-observation-operations.ts +373 -0
- package/src/generated/trip-utilization-operations.ts +500 -0
- package/src/generated/wspace-operations.ts +116 -0
- package/src/movethewheels/MoveTheWheelsRoot.tsx +79 -0
- package/src/movethewheels/MoveTheWheelsRoutes.tsx +22 -0
- package/src/movethewheels/components/ContainerEvidencePicker.tsx +146 -0
- package/src/movethewheels/components/FreeTimeAgreementForm.tsx +483 -0
- package/src/movethewheels/components/ReturnInstructionForm.tsx +102 -0
- package/src/movethewheels/components/ReuseControls.tsx +138 -0
- package/src/movethewheels/components/ReusePermissionForm.tsx +123 -0
- package/src/movethewheels/components/ReuseProposalForm.tsx +484 -0
- package/src/movethewheels/components/ReuseSourceFields.tsx +80 -0
- package/src/movethewheels/components/consolidation/ConsolidationHistory.tsx +159 -0
- package/src/movethewheels/components/consolidation/ConsolidationLotEditor.tsx +144 -0
- package/src/movethewheels/components/consolidation/ConsolidationManifestWorkbench.tsx +168 -0
- package/src/movethewheels/components/consolidation/ConsolidationPlanForm.tsx +185 -0
- package/src/movethewheels/components/consolidation/ConsolidationPlanWorkbench.tsx +395 -0
- package/src/movethewheels/components/consolidation/ConsolidationReportForm.tsx +124 -0
- package/src/movethewheels/components/consolidation/ConsolidationReportsWorkbench.tsx +233 -0
- package/src/movethewheels/components/consolidation/ConsolidationSummary.tsx +84 -0
- package/src/movethewheels/components/consolidation/OriginalConsolidationHistory.tsx +133 -0
- package/src/movethewheels/components/freight-cost/FreightDraftForm.tsx +224 -0
- package/src/movethewheels/components/freight-cost/FreightFields.tsx +91 -0
- package/src/movethewheels/components/freight-cost/FreightFxEditor.tsx +98 -0
- package/src/movethewheels/components/freight-cost/FreightHistory.tsx +91 -0
- package/src/movethewheels/components/freight-cost/FreightLineEditor.tsx +192 -0
- package/src/movethewheels/components/freight-cost/FreightScopeEditor.tsx +64 -0
- package/src/movethewheels/components/freight-cost/FreightTotals.tsx +68 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureDecisionForm.tsx +204 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureFields.tsx +43 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureHistory.tsx +102 -0
- package/src/movethewheels/components/logistics-procedure/ProcedurePolicyForm.tsx +226 -0
- package/src/movethewheels/components/logistics-procedure/ProcedurePolicyWorkbench.tsx +174 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureReviewWorkbench.tsx +278 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.tsx +292 -0
- package/src/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.tsx +111 -0
- package/src/movethewheels/components/pending-pick/PendingPickDraft.tsx +82 -0
- package/src/movethewheels/components/pending-pick/PendingPickHistory.tsx +93 -0
- package/src/movethewheels/components/pending-pick/PickCapture.tsx +70 -0
- package/src/movethewheels/components/pending-pick/PickLineSelection.tsx +130 -0
- package/src/movethewheels/components/stock-binding/StockAssessmentDraft.tsx +52 -0
- package/src/movethewheels/components/stock-binding/StockAssessmentHistory.tsx +56 -0
- package/src/movethewheels/components/stock-binding/StockAssessmentSummary.tsx +108 -0
- package/src/movethewheels/components/stock-binding/StockFactForm.tsx +186 -0
- package/src/movethewheels/components/stock-observation/StockIssueForm.tsx +103 -0
- package/src/movethewheels/components/stock-observation/StockIssueHistory.tsx +96 -0
- package/src/movethewheels/components/stock-observation/StockIssueReadPanel.tsx +72 -0
- package/src/movethewheels/components/trip-utilization/TripReportForm.tsx +116 -0
- package/src/movethewheels/components/trip-utilization/TripReportHistory.tsx +51 -0
- package/src/movethewheels/components/trip-utilization/TripReportSummary.tsx +127 -0
- package/src/movethewheels/components/trip-utilization/TripSegmentFields.tsx +118 -0
- package/src/movethewheels/hooks/useConsolidationAction.ts +196 -0
- package/src/movethewheels/hooks/useContainerCondition.ts +129 -0
- package/src/movethewheels/hooks/useContainerLifecycle.ts +291 -0
- package/src/movethewheels/hooks/useEmptyReuseAction.ts +72 -0
- package/src/movethewheels/hooks/useFreightRecoveryAction.ts +201 -0
- package/src/movethewheels/hooks/useMultiModalShipments.ts +2 -1
- package/src/movethewheels/hooks/useProcedureAction.ts +196 -0
- package/src/movethewheels/hooks/useProcedureSelection.ts +75 -0
- package/src/movethewheels/hooks/useReuseRecoveryAction.ts +192 -0
- package/src/movethewheels/pages/ConsolidationPage.tsx +70 -0
- package/src/movethewheels/pages/ContainerConditionPage.tsx +959 -0
- package/src/movethewheels/pages/ContainersPage.tsx +490 -0
- package/src/movethewheels/pages/EmptyReusePage.tsx +823 -0
- package/src/movethewheels/pages/FreeTimePage.tsx +720 -0
- package/src/movethewheels/pages/FreightEstimatePage.tsx +353 -0
- package/src/movethewheels/pages/LogisticsProceduresPage.tsx +86 -0
- package/src/movethewheels/pages/PendingPickPage.tsx +226 -0
- package/src/movethewheels/pages/StockBindingPage.tsx +299 -0
- package/src/movethewheels/pages/StockObservationsPage.tsx +181 -0
- package/src/movethewheels/pages/TripUtilizationPage.tsx +315 -0
- package/src/movethewheels/utils/consolidationHistoryTarget.ts +39 -0
- package/src/movethewheels/utils/consolidationInput.ts +70 -0
- package/src/movethewheels/utils/consolidationLot.ts +24 -0
- package/src/movethewheels/utils/consolidationPins.ts +52 -0
- package/src/movethewheels/utils/consolidationRecovery.ts +88 -0
- package/src/movethewheels/utils/consolidationReportHead.ts +29 -0
- package/src/movethewheels/utils/freeTimeDate.ts +31 -0
- package/src/movethewheels/utils/freightAcknowledgement.ts +31 -0
- package/src/movethewheels/utils/freightDraft.ts +170 -0
- package/src/movethewheels/utils/freightRecovery.ts +79 -0
- package/src/movethewheels/utils/graphqlClient.ts +14 -5
- package/src/movethewheels/utils/pendingPickDraft.ts +61 -0
- package/src/movethewheels/utils/procedureInput.ts +98 -0
- package/src/movethewheels/utils/procedureRecovery.ts +92 -0
- package/src/movethewheels/utils/reuseAttempt.ts +29 -0
- package/src/movethewheels/utils/reuseForm.ts +30 -0
- package/src/movethewheels/utils/reuseRecovery.ts +151 -0
- package/src/movethewheels/utils/stockBindingForm.ts +209 -0
- package/src/movethewheels/utils/stockBindingLabels.ts +41 -0
- package/src/movethewheels/utils/stockObservationForm.ts +73 -0
- package/src/movethewheels/utils/tripDraftContext.ts +61 -0
- package/src/movethewheels/utils/tripUtilizationForm.ts +105 -0
- package/src/operations/condition/container-condition.graphql +41 -0
- package/src/operations/consolidation/consolidation.graphql +490 -0
- package/src/operations/container/container-lifecycle.graphql +80 -0
- package/src/operations/empty-reuse/empty-reuse.graphql +737 -0
- package/src/operations/free-time/free-time.graphql +47 -0
- package/src/operations/freight-cost/freight.graphql +6 -0
- package/src/operations/logistics-procedure/procedure.graphql +15 -0
- package/src/operations/pending-pick/pending-pick.graphql +1122 -0
- package/src/operations/stock-binding/stock-binding.graphql +160 -0
- package/src/operations/stock-observation/stock-observation.graphql +20 -0
- package/src/operations/trip-utilization/trip-utilization.graphql +126 -0
- package/src/operations/wspace/container-evidence.graphql +6 -0
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
Car,
|
|
22
22
|
UserCheck,
|
|
23
23
|
Boxes,
|
|
24
|
+
ClipboardList,
|
|
24
25
|
FileText,
|
|
25
26
|
DollarSign,
|
|
26
27
|
Globe,
|
|
@@ -92,6 +93,47 @@ const NavRegistrar: FC<Pick<MoveTheWheelsRootProps, 'registerNavItems' | 'basePa
|
|
|
92
93
|
icon: <Map size={16} />,
|
|
93
94
|
order: 3,
|
|
94
95
|
},
|
|
96
|
+
{
|
|
97
|
+
id: 'mtw-consolidation',
|
|
98
|
+
label: tr('movethewheels.root.nav.consolidation', 'Hub consolidation'),
|
|
99
|
+
path: joinPath(basePath, 'containers/consolidation'),
|
|
100
|
+
icon: <Boxes size={16} />,
|
|
101
|
+
order: 3.4,
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: 'mtw-procedures',
|
|
105
|
+
label: tr('movethewheels.root.nav.procedures', 'Logistics procedures'),
|
|
106
|
+
path: joinPath(basePath, 'containers/procedures'),
|
|
107
|
+
icon: <ClipboardList size={16} />,
|
|
108
|
+
order: 3.5,
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: 'mtw-containers',
|
|
112
|
+
label: tr('movethewheels.root.nav.containers', 'Containers'),
|
|
113
|
+
path: joinPath(basePath, 'containers'),
|
|
114
|
+
icon: <Boxes size={16} />,
|
|
115
|
+
order: 3.5,
|
|
116
|
+
children: [
|
|
117
|
+
{
|
|
118
|
+
id: 'mtw-empty-reuse',
|
|
119
|
+
label: tr('movethewheels.root.nav.emptyReuse', 'Empty return and reuse'),
|
|
120
|
+
path: joinPath(basePath, 'containers/empty-reuse'),
|
|
121
|
+
icon: <Boxes size={16} />,
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
id: 'mtw-free-time',
|
|
125
|
+
label: tr('movethewheels.root.nav.freeTime', 'Free time and extensions'),
|
|
126
|
+
path: joinPath(basePath, 'containers/free-time'),
|
|
127
|
+
icon: <Boxes size={16} />,
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
id: 'mtw-container-condition',
|
|
131
|
+
label: tr('movethewheels.root.nav.containerCondition', 'Container condition'),
|
|
132
|
+
path: joinPath(basePath, 'containers/condition'),
|
|
133
|
+
icon: <Boxes size={16} />,
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
},
|
|
95
137
|
{
|
|
96
138
|
id: 'mtw-fleet',
|
|
97
139
|
label: tr('movethewheels.root.nav.fleet', 'Fleet'),
|
|
@@ -143,6 +185,27 @@ const NavRegistrar: FC<Pick<MoveTheWheelsRootProps, 'registerNavItems' | 'basePa
|
|
|
143
185
|
icon: <Boxes size={14} />,
|
|
144
186
|
order: 2,
|
|
145
187
|
},
|
|
188
|
+
{
|
|
189
|
+
id: 'mtw-pending-picks',
|
|
190
|
+
label: 'Plan a pick',
|
|
191
|
+
path: joinPath(basePath, 'inventory/pending-picks'),
|
|
192
|
+
icon: <ClipboardList size={14} />,
|
|
193
|
+
order: 5,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
id: 'mtw-stock-observations',
|
|
197
|
+
label: 'Reported stock issues',
|
|
198
|
+
path: joinPath(basePath, 'inventory/reported-issues'),
|
|
199
|
+
icon: <ClipboardList size={14} />,
|
|
200
|
+
order: 4,
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
id: 'mtw-stock-binding',
|
|
204
|
+
label: 'Source assessments',
|
|
205
|
+
path: joinPath(basePath, 'inventory/source-assessments'),
|
|
206
|
+
icon: <ClipboardList size={14} />,
|
|
207
|
+
order: 3,
|
|
208
|
+
},
|
|
146
209
|
{
|
|
147
210
|
id: 'mtw-warehouses',
|
|
148
211
|
label: tr('movethewheels.root.nav.warehouses', 'Warehouses'),
|
|
@@ -165,6 +228,14 @@ const NavRegistrar: FC<Pick<MoveTheWheelsRootProps, 'registerNavItems' | 'basePa
|
|
|
165
228
|
path: joinPath(basePath, 'routes'),
|
|
166
229
|
icon: <Route size={16} />,
|
|
167
230
|
order: 7,
|
|
231
|
+
children: [
|
|
232
|
+
{
|
|
233
|
+
id: 'mtw-trip-utilization',
|
|
234
|
+
label: tr('movethewheels.root.nav.tripUtilization', 'Reported trip utilization'),
|
|
235
|
+
path: joinPath(basePath, 'routes/trip-utilization'),
|
|
236
|
+
icon: <Truck size={16} />,
|
|
237
|
+
},
|
|
238
|
+
],
|
|
168
239
|
},
|
|
169
240
|
{
|
|
170
241
|
id: 'mtw-analytics',
|
|
@@ -179,6 +250,14 @@ const NavRegistrar: FC<Pick<MoveTheWheelsRootProps, 'registerNavItems' | 'basePa
|
|
|
179
250
|
path: joinPath(basePath, 'finance'),
|
|
180
251
|
icon: <DollarSign size={16} />,
|
|
181
252
|
order: 9,
|
|
253
|
+
children: [
|
|
254
|
+
{
|
|
255
|
+
id: 'mtw-freight-estimates',
|
|
256
|
+
label: tr('movethewheels.root.nav.freightEstimates', 'Freight cost estimates'),
|
|
257
|
+
path: joinPath(basePath, 'finance/freight-estimates'),
|
|
258
|
+
icon: <DollarSign size={16} />,
|
|
259
|
+
},
|
|
260
|
+
],
|
|
182
261
|
},
|
|
183
262
|
// Hidden until a serviceProviders/serviceOfferings backend resolver
|
|
184
263
|
// ships — see the marketplaceEnabled flag check above.
|
|
@@ -72,6 +72,9 @@ const RoutesPage = lazy(() => import('./pages/RoutesPage'));
|
|
|
72
72
|
const RouteDetailsPage = lazy(() => import('./pages/RouteDetailsPage'));
|
|
73
73
|
const AnalyticsPage = lazy(() => import('./pages/AnalyticsPage'));
|
|
74
74
|
const FinancePage = lazy(() => import('./pages/FinancePage'));
|
|
75
|
+
const FreightEstimatePage = lazy(() => import('./pages/FreightEstimatePage'));
|
|
76
|
+
const ConsolidationPage = lazy(() => import('./pages/ConsolidationPage'));
|
|
77
|
+
const LogisticsProceduresPage = lazy(() => import('./pages/LogisticsProceduresPage'));
|
|
75
78
|
const MarketplacePage = lazy(() => import('./pages/MarketplacePage'));
|
|
76
79
|
const ImportExportPage = lazy(() => import('./pages/ImportExportPage'));
|
|
77
80
|
const ReportsPage = lazy(() => import('./pages/ReportsPage'));
|
|
@@ -80,6 +83,14 @@ const AIAssistantPage = lazy(() => import('./pages/AIAssistantPage'));
|
|
|
80
83
|
const DeliveryCapturePage = lazy(() => import('./pages/DeliveryCapturePage'));
|
|
81
84
|
const MultiModalShipmentPage = lazy(() => import('./pages/MultiModalShipmentPage'));
|
|
82
85
|
const ShippingRatesPage = lazy(() => import('./pages/ShippingRatesPage'));
|
|
86
|
+
const ContainersPage = lazy(() => import('./pages/ContainersPage'));
|
|
87
|
+
const ContainerConditionPage = lazy(() => import('./pages/ContainerConditionPage'));
|
|
88
|
+
const FreeTimePage = lazy(() => import('./pages/FreeTimePage'));
|
|
89
|
+
const PendingPickPage = lazy(() => import('./pages/PendingPickPage'));
|
|
90
|
+
const StockObservationsPage = lazy(() => import('./pages/StockObservationsPage'));
|
|
91
|
+
const StockBindingPage = lazy(() => import('./pages/StockBindingPage'));
|
|
92
|
+
const TripUtilizationPage = lazy(() => import('./pages/TripUtilizationPage'));
|
|
93
|
+
const EmptyReusePage = lazy(() => import('./pages/EmptyReusePage'));
|
|
83
94
|
|
|
84
95
|
export function MoveTheWheelsRoutes() {
|
|
85
96
|
return (
|
|
@@ -104,6 +115,12 @@ export function MoveTheWheelsRoutes() {
|
|
|
104
115
|
{/* Multi-modal freight execution (BOFF-4398) */}
|
|
105
116
|
<Route path="shipments/multi-modal" element={<MultiModalShipmentPage />} />
|
|
106
117
|
<Route path="shipments/rates" element={<ShippingRatesPage />} />
|
|
118
|
+
<Route path="containers" element={<ContainersPage />} />
|
|
119
|
+
<Route path="containers/condition" element={<ContainerConditionPage />} />
|
|
120
|
+
<Route path="containers/free-time" element={<FreeTimePage />} />
|
|
121
|
+
<Route path="containers/empty-reuse" element={<EmptyReusePage />} />
|
|
122
|
+
<Route path="containers/consolidation" element={<ConsolidationPage />} />
|
|
123
|
+
<Route path="containers/procedures" element={<LogisticsProceduresPage />} />
|
|
107
124
|
|
|
108
125
|
{/* Fleet */}
|
|
109
126
|
<Route path="fleet" element={<FleetPage />} />
|
|
@@ -118,6 +135,9 @@ export function MoveTheWheelsRoutes() {
|
|
|
118
135
|
|
|
119
136
|
{/* Inventory */}
|
|
120
137
|
<Route path="inventory" element={<InventoryPage />} />
|
|
138
|
+
<Route path="inventory/source-assessments" element={<StockBindingPage />} />
|
|
139
|
+
<Route path="inventory/reported-issues" element={<StockObservationsPage />} />
|
|
140
|
+
<Route path="inventory/pending-picks" element={<PendingPickPage />} />
|
|
121
141
|
<Route path="inventory/products" element={<ProductsPage />} />
|
|
122
142
|
<Route path="inventory/products/new" element={<ProductDetailsPage />} />
|
|
123
143
|
<Route path="inventory/products/:productId" element={<ProductDetailsPage />} />
|
|
@@ -134,6 +154,7 @@ export function MoveTheWheelsRoutes() {
|
|
|
134
154
|
|
|
135
155
|
{/* Routes */}
|
|
136
156
|
<Route path="routes" element={<RoutesPage />} />
|
|
157
|
+
<Route path="routes/trip-utilization" element={<TripUtilizationPage />} />
|
|
137
158
|
<Route path="routes/new" element={<RouteDetailsPage />} />
|
|
138
159
|
<Route path="routes/:routeId" element={<RouteDetailsPage />} />
|
|
139
160
|
<Route path="routes/:routeId/edit" element={<RouteDetailsPage />} />
|
|
@@ -143,6 +164,7 @@ export function MoveTheWheelsRoutes() {
|
|
|
143
164
|
|
|
144
165
|
{/* Finance */}
|
|
145
166
|
<Route path="finance" element={<FinancePage />} />
|
|
167
|
+
<Route path="finance/freight-estimates" element={<FreightEstimatePage />} />
|
|
146
168
|
|
|
147
169
|
{/* Marketplace */}
|
|
148
170
|
<Route path="marketplace" element={<MarketplacePage />} />
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import {
|
|
3
|
+
ContainerEvidenceFilesDocument,
|
|
4
|
+
ContainerEvidenceVersionsDocument,
|
|
5
|
+
type ContainerEvidenceFilesQuery,
|
|
6
|
+
type ContainerEvidenceVersionsQuery,
|
|
7
|
+
} from '../../generated/wspace-operations';
|
|
8
|
+
import type { MtwContainerEvidenceInput } from '../../generated/container-condition-operations';
|
|
9
|
+
import { useConditionQuery } from '../hooks/useContainerCondition';
|
|
10
|
+
import { Button } from './ui';
|
|
11
|
+
|
|
12
|
+
export interface SelectedEvidence extends MtwContainerEvidenceInput {
|
|
13
|
+
label: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function ContainerEvidencePicker({
|
|
17
|
+
value,
|
|
18
|
+
onChange,
|
|
19
|
+
description = 'Choose exact versions from shared Files. Evidence integrity does not confirm the issuer or certify the container.',
|
|
20
|
+
}: {
|
|
21
|
+
value: SelectedEvidence[];
|
|
22
|
+
onChange: (value: SelectedEvidence[]) => void;
|
|
23
|
+
description?: string;
|
|
24
|
+
}) {
|
|
25
|
+
const [fileId, setFileId] = useState('');
|
|
26
|
+
const [fileOffset, setFileOffset] = useState(0);
|
|
27
|
+
const [versionOffset, setVersionOffset] = useState(0);
|
|
28
|
+
const files = useConditionQuery<ContainerEvidenceFilesQuery>(ContainerEvidenceFilesDocument, {
|
|
29
|
+
pagination: { limit: 25, offset: fileOffset },
|
|
30
|
+
});
|
|
31
|
+
const versions = useConditionQuery<ContainerEvidenceVersionsQuery>(
|
|
32
|
+
ContainerEvidenceVersionsDocument,
|
|
33
|
+
fileId ? { fileId, pagination: { limit: 25, offset: versionOffset } } : null
|
|
34
|
+
);
|
|
35
|
+
return (
|
|
36
|
+
<fieldset className="space-y-3 rounded-lg border p-4">
|
|
37
|
+
<legend className="px-1 font-medium">Evidence for this record</legend>
|
|
38
|
+
<p className="text-sm">{description}</p>
|
|
39
|
+
{files.error && <p role="alert">Evidence files unavailable: {files.error}</p>}
|
|
40
|
+
<label className="block">
|
|
41
|
+
File
|
|
42
|
+
<select
|
|
43
|
+
aria-label="Evidence file"
|
|
44
|
+
className="mt-1 w-full rounded-md border p-2"
|
|
45
|
+
value={fileId}
|
|
46
|
+
onChange={(event) => {
|
|
47
|
+
setFileId(event.target.value);
|
|
48
|
+
setVersionOffset(0);
|
|
49
|
+
}}
|
|
50
|
+
>
|
|
51
|
+
<option value="">Choose a readable file</option>
|
|
52
|
+
{files.data?.getFiles.files
|
|
53
|
+
.filter((file) => file.canRead === true)
|
|
54
|
+
.map((file) => (
|
|
55
|
+
<option key={file.id} value={file.id}>
|
|
56
|
+
{file.name}
|
|
57
|
+
</option>
|
|
58
|
+
))}
|
|
59
|
+
</select>
|
|
60
|
+
</label>
|
|
61
|
+
{files.loading && <p role="status">Loading evidence files…</p>}
|
|
62
|
+
<div className="flex gap-2">
|
|
63
|
+
<Button
|
|
64
|
+
type="button"
|
|
65
|
+
variant="outline"
|
|
66
|
+
disabled={fileOffset === 0 || files.loading}
|
|
67
|
+
onClick={() => {
|
|
68
|
+
setFileOffset(Math.max(0, fileOffset - 25));
|
|
69
|
+
setFileId('');
|
|
70
|
+
}}
|
|
71
|
+
>
|
|
72
|
+
Previous files
|
|
73
|
+
</Button>
|
|
74
|
+
<Button
|
|
75
|
+
type="button"
|
|
76
|
+
variant="outline"
|
|
77
|
+
disabled={!files.data?.getFiles.hasMore || files.loading}
|
|
78
|
+
onClick={() => {
|
|
79
|
+
setFileOffset(fileOffset + 25);
|
|
80
|
+
setFileId('');
|
|
81
|
+
}}
|
|
82
|
+
>
|
|
83
|
+
Next files
|
|
84
|
+
</Button>
|
|
85
|
+
</div>
|
|
86
|
+
{versions.error && <p role="alert">File versions unavailable: {versions.error}</p>}
|
|
87
|
+
{versions.loading && <p role="status">Loading file versions…</p>}
|
|
88
|
+
{versions.data?.getFileVersions.versions.map((version) => {
|
|
89
|
+
const selected = value.some((item) => item.versionId === version.id);
|
|
90
|
+
const valid = /^[a-fA-F0-9]{64}$/.test(version.sha256Hash ?? '');
|
|
91
|
+
const label = `${version.name} — version ${version.versionLabel ?? version.versionNumber}`;
|
|
92
|
+
return (
|
|
93
|
+
<label key={version.id} className="flex gap-2 text-sm">
|
|
94
|
+
<input
|
|
95
|
+
type="checkbox"
|
|
96
|
+
checked={selected}
|
|
97
|
+
disabled={!valid || (!selected && value.length >= 10)}
|
|
98
|
+
onChange={() =>
|
|
99
|
+
onChange(
|
|
100
|
+
selected
|
|
101
|
+
? value.filter((item) => item.versionId !== version.id)
|
|
102
|
+
: [...value, { fileId: version.fileId, versionId: version.id, label }]
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
/>
|
|
106
|
+
{label}
|
|
107
|
+
{!valid && ' (integrity fingerprint unavailable)'}
|
|
108
|
+
</label>
|
|
109
|
+
);
|
|
110
|
+
})}
|
|
111
|
+
{fileId && (
|
|
112
|
+
<div className="flex gap-2">
|
|
113
|
+
<Button
|
|
114
|
+
type="button"
|
|
115
|
+
variant="outline"
|
|
116
|
+
disabled={versionOffset === 0 || versions.loading}
|
|
117
|
+
onClick={() => setVersionOffset(Math.max(0, versionOffset - 25))}
|
|
118
|
+
>
|
|
119
|
+
Previous versions
|
|
120
|
+
</Button>
|
|
121
|
+
<Button
|
|
122
|
+
type="button"
|
|
123
|
+
variant="outline"
|
|
124
|
+
disabled={!versions.data?.getFileVersions.hasMore || versions.loading}
|
|
125
|
+
onClick={() => setVersionOffset(versionOffset + 25)}
|
|
126
|
+
>
|
|
127
|
+
Next versions
|
|
128
|
+
</Button>
|
|
129
|
+
</div>
|
|
130
|
+
)}
|
|
131
|
+
<p className="text-sm">Selected {value.length} of 10 versions.</p>
|
|
132
|
+
{value.map((item) => (
|
|
133
|
+
<div key={item.versionId} className="flex items-center justify-between gap-2 text-sm">
|
|
134
|
+
<span className="break-words">{item.label}</span>
|
|
135
|
+
<Button
|
|
136
|
+
type="button"
|
|
137
|
+
variant="outline"
|
|
138
|
+
onClick={() => onChange(value.filter((row) => row.versionId !== item.versionId))}
|
|
139
|
+
>
|
|
140
|
+
Remove
|
|
141
|
+
</Button>
|
|
142
|
+
</div>
|
|
143
|
+
))}
|
|
144
|
+
</fieldset>
|
|
145
|
+
);
|
|
146
|
+
}
|