@burdenoff/microfe-movethewheels 2026.930.4 → 2026.1010.1
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/useInventory.js +12 -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/InventoryPage.js +77 -73
- 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 +19 -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/useInventory.ts +2 -20
- 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/InventoryPage.tsx +16 -2
- 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
|
@@ -543,7 +543,7 @@ var st = function(e, t, n, r) {
|
|
|
543
543
|
offset: x,
|
|
544
544
|
stackGroups: v
|
|
545
545
|
}, C), y);
|
|
546
|
-
}, z =
|
|
546
|
+
}, z = /*#__PURE__*/ function(e) {
|
|
547
547
|
function r(e) {
|
|
548
548
|
var i;
|
|
549
549
|
return Le(this, r), i = Be(this, r, [e]), Q(i, "eventEmitterSymbol", Symbol("rechartsEventEmitter")), Q(i, "accessibilityManager", new be()), Q(i, "handleLegendBBoxUpdate", function(e) {
|
|
@@ -686,7 +686,7 @@ var st = function(e, t, n, r) {
|
|
|
686
686
|
} else i.setState(e);
|
|
687
687
|
}), Q(i, "renderCursor", function(e) {
|
|
688
688
|
var t = i.state, r = t.isTooltipActive, a = t.activeCoordinate, o = t.activePayload, s = t.offset, c = t.activeTooltipIndex, l = t.tooltipAxisBandSize, u = i.getTooltipEventType(), d = e.props.active ?? r, f = i.props.layout, p = e.key || "_recharts-cursor";
|
|
689
|
-
return
|
|
689
|
+
return /*#__PURE__*/ H.createElement(Se, {
|
|
690
690
|
key: p,
|
|
691
691
|
activeCoordinate: a,
|
|
692
692
|
activePayload: o,
|
|
@@ -701,14 +701,14 @@ var st = function(e, t, n, r) {
|
|
|
701
701
|
});
|
|
702
702
|
}), Q(i, "renderPolarAxis", function(e, n, r) {
|
|
703
703
|
var a = (0, K.default)(e, "type.axisType"), o = (0, K.default)(i.state, `${a}Map`), s = e.type.defaultProps, c = s === void 0 ? e.props : Z(Z({}, s), e.props), l = o && o[c[`${a}Id`]];
|
|
704
|
-
return
|
|
704
|
+
return /*#__PURE__*/ U(e, Z(Z({}, l), {}, {
|
|
705
705
|
className: t(a, l.className),
|
|
706
706
|
key: e.key || `${n}-${r}`,
|
|
707
707
|
ticks: R(l, !0)
|
|
708
708
|
}));
|
|
709
709
|
}), Q(i, "renderPolarGrid", function(e) {
|
|
710
710
|
var t = e.props, n = t.radialLines, r = t.polarAngles, a = t.polarRadius, s = i.state, c = s.radiusAxisMap, l = s.angleAxisMap, u = o(c), d = o(l), f = d.cx, p = d.cy, m = d.innerRadius, h = d.outerRadius;
|
|
711
|
-
return
|
|
711
|
+
return /*#__PURE__*/ U(e, {
|
|
712
712
|
polarAngles: Array.isArray(r) ? r : R(d, !0).map(function(e) {
|
|
713
713
|
return e.coordinate;
|
|
714
714
|
}),
|
|
@@ -731,7 +731,7 @@ var st = function(e, t, n, r) {
|
|
|
731
731
|
});
|
|
732
732
|
if (!s) return null;
|
|
733
733
|
var c = s.item;
|
|
734
|
-
return
|
|
734
|
+
return /*#__PURE__*/ U(c, Z(Z({}, Fe(s, ke)), {}, {
|
|
735
735
|
chartWidth: r,
|
|
736
736
|
chartHeight: a,
|
|
737
737
|
margin: o,
|
|
@@ -741,7 +741,7 @@ var st = function(e, t, n, r) {
|
|
|
741
741
|
var e = i.props, t = e.children, n = e.accessibilityLayer, r = m(t, T);
|
|
742
742
|
if (!r) return null;
|
|
743
743
|
var a = i.state, o = a.isTooltipActive, s = a.activeCoordinate, c = a.activePayload, l = a.activeLabel, u = a.offset, d = r.props.active ?? o;
|
|
744
|
-
return
|
|
744
|
+
return /*#__PURE__*/ U(r, {
|
|
745
745
|
viewBox: Z(Z({}, u), {}, {
|
|
746
746
|
x: u.left,
|
|
747
747
|
y: u.top
|
|
@@ -754,7 +754,7 @@ var st = function(e, t, n, r) {
|
|
|
754
754
|
});
|
|
755
755
|
}), Q(i, "renderBrush", function(e) {
|
|
756
756
|
var t = i.props, n = t.margin, r = t.data, a = i.state, o = a.offset, s = a.dataStartIndex, l = a.dataEndIndex, u = a.updateId;
|
|
757
|
-
return
|
|
757
|
+
return /*#__PURE__*/ U(e, {
|
|
758
758
|
key: e.key || "_recharts-brush",
|
|
759
759
|
onChange: M(i.handleBrushChange, e.props.onChange),
|
|
760
760
|
data: r,
|
|
@@ -768,7 +768,7 @@ var st = function(e, t, n, r) {
|
|
|
768
768
|
}), Q(i, "renderReferenceElement", function(e, t, n) {
|
|
769
769
|
if (!e) return null;
|
|
770
770
|
var r = i.clipPathId, a = i.state, o = a.xAxisMap, s = a.yAxisMap, c = a.offset, l = e.type.defaultProps || {}, u = e.props, d = u.xAxisId, f = d === void 0 ? l.xAxisId : d, p = u.yAxisId, m = p === void 0 ? l.yAxisId : p;
|
|
771
|
-
return
|
|
771
|
+
return /*#__PURE__*/ U(e, {
|
|
772
772
|
key: e.key || `${t}-${n}`,
|
|
773
773
|
xAxis: o[f],
|
|
774
774
|
yAxis: s[m],
|
|
@@ -805,7 +805,7 @@ var st = function(e, t, n, r) {
|
|
|
805
805
|
onMouseLeave: M(i.handleItemMouseLeave, e.props.onMouseLeave),
|
|
806
806
|
onMouseEnter: M(i.handleItemMouseEnter, e.props.onMouseEnter)
|
|
807
807
|
});
|
|
808
|
-
var D =
|
|
808
|
+
var D = /*#__PURE__*/ U(e, Z(Z({}, r.props), E));
|
|
809
809
|
function O(e) {
|
|
810
810
|
return typeof l.dataKey == "function" ? l.dataKey(e.payload) : null;
|
|
811
811
|
}
|
|
@@ -818,7 +818,7 @@ var st = function(e, t, n, r) {
|
|
|
818
818
|
if (C || S) {
|
|
819
819
|
var N = e.props.activeIndex === void 0 ? u : e.props.activeIndex;
|
|
820
820
|
return [
|
|
821
|
-
|
|
821
|
+
/*#__PURE__*/ U(e, Z(Z(Z({}, r.props), E), {}, { activeIndex: N })),
|
|
822
822
|
null,
|
|
823
823
|
null
|
|
824
824
|
];
|
|
@@ -833,7 +833,7 @@ var st = function(e, t, n, r) {
|
|
|
833
833
|
} else {
|
|
834
834
|
var ee = (i.getItemByXY(i.state.activeCoordinate) ?? { graphicalItem: D }).graphicalItem, te = ee.item, P = te === void 0 ? e : te, F = ee.childIndex;
|
|
835
835
|
return [
|
|
836
|
-
|
|
836
|
+
/*#__PURE__*/ U(P, Z(Z(Z({}, r.props), E), {}, { activeIndex: F })),
|
|
837
837
|
null,
|
|
838
838
|
null
|
|
839
839
|
];
|
|
@@ -844,7 +844,7 @@ var st = function(e, t, n, r) {
|
|
|
844
844
|
null
|
|
845
845
|
] : [D, null];
|
|
846
846
|
}), Q(i, "renderCustomized", function(e, t, n) {
|
|
847
|
-
return
|
|
847
|
+
return /*#__PURE__*/ U(e, Z(Z({ key: `recharts-customized-${n}` }, i.props), i.state));
|
|
848
848
|
}), Q(i, "renderMap", {
|
|
849
849
|
CartesianGrid: {
|
|
850
850
|
handler: $,
|
|
@@ -1041,7 +1041,7 @@ var st = function(e, t, n, r) {
|
|
|
1041
1041
|
key: "renderClipPath",
|
|
1042
1042
|
value: function() {
|
|
1043
1043
|
var e = this.clipPathId, t = this.state.offset, n = t.left, r = t.top, i = t.height, a = t.width;
|
|
1044
|
-
return
|
|
1044
|
+
return /*#__PURE__*/ H.createElement("defs", null, /*#__PURE__*/ H.createElement("clipPath", { id: e }, /*#__PURE__*/ H.createElement("rect", {
|
|
1045
1045
|
x: n,
|
|
1046
1046
|
y: r,
|
|
1047
1047
|
height: i,
|
|
@@ -1126,12 +1126,12 @@ var st = function(e, t, n, r) {
|
|
|
1126
1126
|
var e = this;
|
|
1127
1127
|
if (!b(this)) return null;
|
|
1128
1128
|
var n = this.props, r = n.children, i = n.className, a = n.width, o = n.height, s = n.style, c = n.compact, l = n.title, u = n.desc, d = f(Fe(n, Ae), !1);
|
|
1129
|
-
if (c) return
|
|
1129
|
+
if (c) return /*#__PURE__*/ H.createElement(ge, {
|
|
1130
1130
|
state: this.state,
|
|
1131
1131
|
width: this.props.width,
|
|
1132
1132
|
height: this.props.height,
|
|
1133
1133
|
clipPathId: this.clipPathId
|
|
1134
|
-
},
|
|
1134
|
+
}, /*#__PURE__*/ H.createElement(x, J({}, d, {
|
|
1135
1135
|
width: a,
|
|
1136
1136
|
height: o,
|
|
1137
1137
|
title: l,
|
|
@@ -1143,12 +1143,12 @@ var st = function(e, t, n, r) {
|
|
|
1143
1143
|
e.accessibilityManager.focus();
|
|
1144
1144
|
});
|
|
1145
1145
|
var p = this.parseEventsOfWrapper();
|
|
1146
|
-
return
|
|
1146
|
+
return /*#__PURE__*/ H.createElement(ge, {
|
|
1147
1147
|
state: this.state,
|
|
1148
1148
|
width: this.props.width,
|
|
1149
1149
|
height: this.props.height,
|
|
1150
1150
|
clipPathId: this.clipPathId
|
|
1151
|
-
},
|
|
1151
|
+
}, /*#__PURE__*/ H.createElement("div", J({
|
|
1152
1152
|
className: t("recharts-wrapper", i),
|
|
1153
1153
|
style: Z({
|
|
1154
1154
|
position: "relative",
|
|
@@ -1158,7 +1158,7 @@ var st = function(e, t, n, r) {
|
|
|
1158
1158
|
}, s)
|
|
1159
1159
|
}, p, { ref: function(t) {
|
|
1160
1160
|
e.container = t;
|
|
1161
|
-
} }),
|
|
1161
|
+
} }), /*#__PURE__*/ H.createElement(x, J({}, d, {
|
|
1162
1162
|
width: a,
|
|
1163
1163
|
height: o,
|
|
1164
1164
|
title: l,
|
|
@@ -1228,14 +1228,14 @@ var st = function(e, t, n, r) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
return null;
|
|
1230
1230
|
}), Q(z, "renderActiveDot", function(e, t, n) {
|
|
1231
|
-
var r =
|
|
1232
|
-
return
|
|
1231
|
+
var r = /*#__PURE__*/ Te(e) ? /*#__PURE__*/ U(e, t) : (0, G.default)(e) ? e(t) : /*#__PURE__*/ H.createElement(ue, t);
|
|
1232
|
+
return /*#__PURE__*/ H.createElement(S, {
|
|
1233
1233
|
className: "recharts-active-dot",
|
|
1234
1234
|
key: n
|
|
1235
1235
|
}, r);
|
|
1236
1236
|
});
|
|
1237
|
-
var B =
|
|
1238
|
-
return
|
|
1237
|
+
var B = /*#__PURE__*/ we(function(e, t) {
|
|
1238
|
+
return /*#__PURE__*/ H.createElement(z, J({}, e, { ref: t }));
|
|
1239
1239
|
});
|
|
1240
1240
|
return B.displayName = z.displayName, B;
|
|
1241
1241
|
};
|
|
@@ -85,7 +85,7 @@ function v(f) {
|
|
|
85
85
|
payloadIndex: b,
|
|
86
86
|
className: e("recharts-tooltip-cursor", w.className)
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return /*#__PURE__*/ d(w) ? /*#__PURE__*/ l(w, j) : /*#__PURE__*/ u(E, j);
|
|
89
89
|
}
|
|
90
90
|
//#endregion
|
|
91
91
|
export { v as Cursor };
|
|
@@ -118,7 +118,7 @@ function E(e, t) {
|
|
|
118
118
|
}
|
|
119
119
|
return (t === "string" ? String : Number)(e);
|
|
120
120
|
}
|
|
121
|
-
var D = 32, O =
|
|
121
|
+
var D = 32, O = /*#__PURE__*/ function(e) {
|
|
122
122
|
function n() {
|
|
123
123
|
return m(this, n), _(this, n, arguments);
|
|
124
124
|
}
|
|
@@ -127,7 +127,7 @@ var D = 32, O = /* @__PURE__ */ function(e) {
|
|
|
127
127
|
key: "renderIcon",
|
|
128
128
|
value: function(e) {
|
|
129
129
|
var t = this.props.inactiveColor, n = D / 2, r = D / 6, i = D / 3, a = e.inactive ? t : e.color;
|
|
130
|
-
if (e.type === "plainline") return
|
|
130
|
+
if (e.type === "plainline") return /*#__PURE__*/ s.createElement("line", {
|
|
131
131
|
strokeWidth: 4,
|
|
132
132
|
fill: "none",
|
|
133
133
|
stroke: a,
|
|
@@ -138,7 +138,7 @@ var D = 32, O = /* @__PURE__ */ function(e) {
|
|
|
138
138
|
y2: n,
|
|
139
139
|
className: "recharts-legend-icon"
|
|
140
140
|
});
|
|
141
|
-
if (e.type === "line") return
|
|
141
|
+
if (e.type === "line") return /*#__PURE__*/ s.createElement("path", {
|
|
142
142
|
strokeWidth: 4,
|
|
143
143
|
fill: "none",
|
|
144
144
|
stroke: a,
|
|
@@ -148,17 +148,17 @@ var D = 32, O = /* @__PURE__ */ function(e) {
|
|
|
148
148
|
A${r},${r},0,1,1,${i},${n}`,
|
|
149
149
|
className: "recharts-legend-icon"
|
|
150
150
|
});
|
|
151
|
-
if (e.type === "rect") return
|
|
151
|
+
if (e.type === "rect") return /*#__PURE__*/ s.createElement("path", {
|
|
152
152
|
stroke: "none",
|
|
153
153
|
fill: a,
|
|
154
154
|
d: `M0,${D / 8}h${D}v${D * 3 / 4}h${-D}z`,
|
|
155
155
|
className: "recharts-legend-icon"
|
|
156
156
|
});
|
|
157
|
-
if (
|
|
157
|
+
if (/*#__PURE__*/ s.isValidElement(e.legendIcon)) {
|
|
158
158
|
var c = p({}, e);
|
|
159
|
-
return delete c.legendIcon,
|
|
159
|
+
return delete c.legendIcon, /*#__PURE__*/ s.cloneElement(e.legendIcon, c);
|
|
160
160
|
}
|
|
161
|
-
return
|
|
161
|
+
return /*#__PURE__*/ s.createElement(o, {
|
|
162
162
|
fill: a,
|
|
163
163
|
cx: n,
|
|
164
164
|
cy: n,
|
|
@@ -190,16 +190,16 @@ var D = 32, O = /* @__PURE__ */ function(e) {
|
|
|
190
190
|
var v = (0, l.default)(n.value) ? null : n.value;
|
|
191
191
|
a(!(0, l.default)(n.value), "The name property is also required when using a function for the dataKey of a chart's cartesian components. Ex: <Bar name=\"Name of my Data\"/>");
|
|
192
192
|
var y = n.inactive ? p : n.color;
|
|
193
|
-
return
|
|
193
|
+
return /*#__PURE__*/ s.createElement("li", d({
|
|
194
194
|
className: _,
|
|
195
195
|
style: h,
|
|
196
196
|
key: `legend-item-${o}`
|
|
197
|
-
}, r(e.props, n, o)),
|
|
197
|
+
}, r(e.props, n, o)), /*#__PURE__*/ s.createElement(i, {
|
|
198
198
|
width: c,
|
|
199
199
|
height: c,
|
|
200
200
|
viewBox: m,
|
|
201
201
|
style: g
|
|
202
|
-
}, e.renderIcon(n)),
|
|
202
|
+
}, e.renderIcon(n)), /*#__PURE__*/ s.createElement("span", {
|
|
203
203
|
className: "recharts-legend-item-text",
|
|
204
204
|
style: { color: y }
|
|
205
205
|
}, u ? u(v, n, o) : v));
|
|
@@ -216,7 +216,7 @@ var D = 32, O = /* @__PURE__ */ function(e) {
|
|
|
216
216
|
margin: 0,
|
|
217
217
|
textAlign: n === "horizontal" ? r : "left"
|
|
218
218
|
};
|
|
219
|
-
return
|
|
219
|
+
return /*#__PURE__*/ s.createElement("ul", {
|
|
220
220
|
className: "recharts-default-legend",
|
|
221
221
|
style: i
|
|
222
222
|
}, this.renderItems());
|
|
@@ -133,13 +133,13 @@ var S = function(e) {
|
|
|
133
133
|
l = m[0], d = m[1];
|
|
134
134
|
} else l = f;
|
|
135
135
|
}
|
|
136
|
-
return
|
|
136
|
+
return /*#__PURE__*/ a.createElement("li", {
|
|
137
137
|
className: "recharts-tooltip-item",
|
|
138
138
|
key: `tooltip-item-${t}`,
|
|
139
139
|
style: n
|
|
140
|
-
}, r(d) ?
|
|
140
|
+
}, r(d) ? /*#__PURE__*/ a.createElement("span", { className: "recharts-tooltip-item-name" }, d) : null, r(d) ? /*#__PURE__*/ a.createElement("span", { className: "recharts-tooltip-item-separator" }, i) : null, /*#__PURE__*/ a.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ a.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
|
|
141
141
|
});
|
|
142
|
-
return
|
|
142
|
+
return /*#__PURE__*/ a.createElement("ul", {
|
|
143
143
|
className: "recharts-tooltip-item-list",
|
|
144
144
|
style: e
|
|
145
145
|
}, t);
|
|
@@ -157,13 +157,13 @@ var S = function(e) {
|
|
|
157
157
|
role: "status",
|
|
158
158
|
"aria-live": "assertive"
|
|
159
159
|
} : {};
|
|
160
|
-
return
|
|
160
|
+
return /*#__PURE__*/ a.createElement("div", l({
|
|
161
161
|
className: M,
|
|
162
162
|
style: O
|
|
163
|
-
}, P),
|
|
163
|
+
}, P), /*#__PURE__*/ a.createElement("p", {
|
|
164
164
|
className: N,
|
|
165
165
|
style: k
|
|
166
|
-
},
|
|
166
|
+
}, /*#__PURE__*/ a.isValidElement(j) ? j : `${j}`), D());
|
|
167
167
|
};
|
|
168
168
|
//#endregion
|
|
169
169
|
export { S as DefaultTooltipContent };
|
|
@@ -125,13 +125,13 @@ var R = function(e) {
|
|
|
125
125
|
var T = m(l, d, b, C), E = m(l, d, b, C + (w ? 1 : -1) * 359), D = `M${T.x},${T.y}
|
|
126
126
|
A${b},${b},0,1,${+!w},
|
|
127
127
|
${E.x},${E.y}`, O = (0, y.default)(e.id) ? u("recharts-radial-line-") : e.id;
|
|
128
|
-
return
|
|
128
|
+
return /*#__PURE__*/ h.createElement("text", L({}, r, {
|
|
129
129
|
dominantBaseline: "central",
|
|
130
130
|
className: t("recharts-radial-bar-label", s)
|
|
131
|
-
}),
|
|
131
|
+
}), /*#__PURE__*/ h.createElement("defs", null, /*#__PURE__*/ h.createElement("path", {
|
|
132
132
|
id: O,
|
|
133
133
|
d: D
|
|
134
|
-
})),
|
|
134
|
+
})), /*#__PURE__*/ h.createElement("textPath", { xlinkHref: `#${O}` }, n));
|
|
135
135
|
}, V = function(e) {
|
|
136
136
|
var t = e.viewBox, n = e.offset, r = e.position, i = t, a = i.cx, o = i.cy, s = i.innerRadius, c = i.outerRadius, l = (i.startAngle + i.endAngle) / 2;
|
|
137
137
|
if (r === "outside") {
|
|
@@ -272,16 +272,16 @@ var R = function(e) {
|
|
|
272
272
|
};
|
|
273
273
|
function W(e) {
|
|
274
274
|
var n = e.offset, r = n === void 0 ? 5 : n, i = A(e, C), a = N({ offset: r }, i), o = a.viewBox, s = a.position, c = a.value, l = a.children, u = a.content, f = a.className, m = f === void 0 ? "" : f, x = a.textBreakAll;
|
|
275
|
-
if (!o || (0, y.default)(c) && (0, y.default)(l) &&
|
|
276
|
-
if (
|
|
275
|
+
if (!o || (0, y.default)(c) && (0, y.default)(l) && !/*#__PURE__*/ v(u) && !(0, b.default)(u)) return null;
|
|
276
|
+
if (/*#__PURE__*/ v(u)) return /*#__PURE__*/ g(u, a);
|
|
277
277
|
var S;
|
|
278
278
|
if ((0, b.default)(u)) {
|
|
279
|
-
if (S =
|
|
279
|
+
if (S = /*#__PURE__*/ _(u, a), /*#__PURE__*/ v(S)) return S;
|
|
280
280
|
} else S = R(a);
|
|
281
281
|
var w = U(o), T = d(a, !0);
|
|
282
282
|
if (w && (s === "insideStart" || s === "insideEnd" || s === "end")) return B(a, S, T);
|
|
283
283
|
var E = w ? V(a) : H(a);
|
|
284
|
-
return
|
|
284
|
+
return /*#__PURE__*/ h.createElement(p, L({ className: t("recharts-label", m) }, T, E, { breakAll: x }), S);
|
|
285
285
|
}
|
|
286
286
|
W.displayName = "Label";
|
|
287
287
|
var G = function(e) {
|
|
@@ -316,31 +316,31 @@ var G = function(e) {
|
|
|
316
316
|
clockWise: _
|
|
317
317
|
} : e.viewBox ? e.viewBox : {};
|
|
318
318
|
}, K = function(e, t) {
|
|
319
|
-
return e ? e === !0 ?
|
|
319
|
+
return e ? e === !0 ? /*#__PURE__*/ h.createElement(W, {
|
|
320
320
|
key: "label-implicit",
|
|
321
321
|
viewBox: t
|
|
322
|
-
}) : o(e) ?
|
|
322
|
+
}) : o(e) ? /*#__PURE__*/ h.createElement(W, {
|
|
323
323
|
key: "label-implicit",
|
|
324
324
|
viewBox: t,
|
|
325
325
|
value: e
|
|
326
|
-
}) :
|
|
326
|
+
}) : /*#__PURE__*/ v(e) ? e.type === W ? /*#__PURE__*/ g(e, {
|
|
327
327
|
key: "label-implicit",
|
|
328
328
|
viewBox: t
|
|
329
|
-
}) :
|
|
329
|
+
}) : /*#__PURE__*/ h.createElement(W, {
|
|
330
330
|
key: "label-implicit",
|
|
331
331
|
content: e,
|
|
332
332
|
viewBox: t
|
|
333
|
-
}) : (0, b.default)(e) ?
|
|
333
|
+
}) : (0, b.default)(e) ? /*#__PURE__*/ h.createElement(W, {
|
|
334
334
|
key: "label-implicit",
|
|
335
335
|
content: e,
|
|
336
336
|
viewBox: t
|
|
337
|
-
}) : (0, x.default)(e) ?
|
|
337
|
+
}) : (0, x.default)(e) ? /*#__PURE__*/ h.createElement(W, L({ viewBox: t }, e, { key: "label-implicit" })) : null : null;
|
|
338
338
|
};
|
|
339
339
|
W.parseViewBox = G, W.renderCallByParent = function(e, t) {
|
|
340
340
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
341
341
|
if (!e || !e.children && n && !e.label) return null;
|
|
342
342
|
var r = e.children, i = G(e), a = f(r, W).map(function(e, n) {
|
|
343
|
-
return
|
|
343
|
+
return /*#__PURE__*/ g(e, {
|
|
344
344
|
viewBox: t || i,
|
|
345
345
|
key: `label-${n}`
|
|
346
346
|
});
|
|
@@ -125,9 +125,9 @@ var N = function(e) {
|
|
|
125
125
|
};
|
|
126
126
|
function P(e) {
|
|
127
127
|
var t = e.valueAccessor, n = t === void 0 ? N : t, r = j(e, _), a = r.data, l = r.dataKey, d = r.clockWise, p = r.id, m = r.textBreakAll, h = j(r, v);
|
|
128
|
-
return !a || !a.length ? null :
|
|
128
|
+
return !a || !a.length ? null : /*#__PURE__*/ u.createElement(o, { className: "recharts-label-list" }, a.map(function(e, t) {
|
|
129
129
|
var r = (0, f.default)(l) ? n(e, t) : s(e && e.payload, l), a = (0, f.default)(p) ? {} : { id: `${p}-${t}` };
|
|
130
|
-
return
|
|
130
|
+
return /*#__PURE__*/ u.createElement(c, T({}, i(e, !0), h, a, {
|
|
131
131
|
parentViewBox: e.parentViewBox,
|
|
132
132
|
value: r,
|
|
133
133
|
textBreakAll: m,
|
|
@@ -139,20 +139,20 @@ function P(e) {
|
|
|
139
139
|
}
|
|
140
140
|
P.displayName = "LabelList";
|
|
141
141
|
function F(e, t) {
|
|
142
|
-
return e ? e === !0 ?
|
|
142
|
+
return e ? e === !0 ? /*#__PURE__*/ u.createElement(P, {
|
|
143
143
|
key: "labelList-implicit",
|
|
144
144
|
data: t
|
|
145
|
-
}) :
|
|
145
|
+
}) : /*#__PURE__*/ u.isValidElement(e) || (0, m.default)(e) ? /*#__PURE__*/ u.createElement(P, {
|
|
146
146
|
key: "labelList-implicit",
|
|
147
147
|
data: t,
|
|
148
148
|
content: e
|
|
149
|
-
}) : (0, p.default)(e) ?
|
|
149
|
+
}) : (0, p.default)(e) ? /*#__PURE__*/ u.createElement(P, T({ data: t }, e, { key: "labelList-implicit" })) : null : null;
|
|
150
150
|
}
|
|
151
151
|
function I(e, t) {
|
|
152
152
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
153
153
|
if (!e || !e.children && n && !e.label) return null;
|
|
154
154
|
var r = e.children, i = a(r, P).map(function(e, n) {
|
|
155
|
-
return
|
|
155
|
+
return /*#__PURE__*/ d(e, {
|
|
156
156
|
data: t,
|
|
157
157
|
key: `labelList-${n}`
|
|
158
158
|
});
|
|
@@ -127,13 +127,13 @@ function w(e) {
|
|
|
127
127
|
return e.value;
|
|
128
128
|
}
|
|
129
129
|
function T(e, n) {
|
|
130
|
-
if (
|
|
131
|
-
if (typeof e == "function") return
|
|
130
|
+
if (/*#__PURE__*/ r.isValidElement(e)) return /*#__PURE__*/ r.cloneElement(e, n);
|
|
131
|
+
if (typeof e == "function") return /*#__PURE__*/ r.createElement(e, n);
|
|
132
132
|
n.ref;
|
|
133
133
|
var i = S(n, o);
|
|
134
|
-
return
|
|
134
|
+
return /*#__PURE__*/ r.createElement(t, i);
|
|
135
135
|
}
|
|
136
|
-
var E = 1, D =
|
|
136
|
+
var E = 1, D = /*#__PURE__*/ function(t) {
|
|
137
137
|
function i() {
|
|
138
138
|
var e;
|
|
139
139
|
l(this, i);
|
|
@@ -205,7 +205,7 @@ var E = 1, D = /* @__PURE__ */ function(t) {
|
|
|
205
205
|
width: a || "auto",
|
|
206
206
|
height: o || "auto"
|
|
207
207
|
}, this.getDefaultPosition(s)), s);
|
|
208
|
-
return
|
|
208
|
+
return /*#__PURE__*/ r.createElement("div", {
|
|
209
209
|
className: "recharts-legend-wrapper",
|
|
210
210
|
style: d,
|
|
211
211
|
ref: function(t) {
|
|
@@ -101,7 +101,7 @@ function E(e, t) {
|
|
|
101
101
|
function D(e) {
|
|
102
102
|
if (Array.isArray(e)) return e;
|
|
103
103
|
}
|
|
104
|
-
var O =
|
|
104
|
+
var O = /*#__PURE__*/ c(function(e, a) {
|
|
105
105
|
var c = e.aspect, g = e.initialDimension, _ = g === void 0 ? {
|
|
106
106
|
width: -1,
|
|
107
107
|
height: -1
|
|
@@ -148,7 +148,7 @@ var O = /* @__PURE__ */ c(function(e, a) {
|
|
|
148
148
|
c && c > 0 && (a ? l = a / c : l && (a = l * c), D && l > D && (l = D)), i(a > 0 || l > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", a, l, b, C, T, E, c);
|
|
149
149
|
var u = !Array.isArray(O) && r(O.type).endsWith("Chart");
|
|
150
150
|
return o.Children.map(O, function(e) {
|
|
151
|
-
return
|
|
151
|
+
return /*#__PURE__*/ o.isValidElement(e) ? /*#__PURE__*/ s(e, v({
|
|
152
152
|
width: a,
|
|
153
153
|
height: l
|
|
154
154
|
}, u ? { style: v({
|
|
@@ -168,7 +168,7 @@ var O = /* @__PURE__ */ c(function(e, a) {
|
|
|
168
168
|
z,
|
|
169
169
|
b
|
|
170
170
|
]);
|
|
171
|
-
return
|
|
171
|
+
return /*#__PURE__*/ o.createElement("div", {
|
|
172
172
|
id: j ? `${j}` : void 0,
|
|
173
173
|
className: t("recharts-responsive-container", M),
|
|
174
174
|
style: v(v({}, F), {}, {
|
|
@@ -204,7 +204,7 @@ var C = /[ \f\n\r\t\v\u2028\u2029]+/, w = function(e) {
|
|
|
204
204
|
var H = j[0].width, U = A.width;
|
|
205
205
|
V.push(`scale(${(i(U) ? U / H : 1) / H})`);
|
|
206
206
|
}
|
|
207
|
-
return P && V.push(`rotate(${P}, ${R}, ${z})`), V.length && (L.transform = V.join(" ")),
|
|
207
|
+
return P && V.push(`rotate(${P}, ${R}, ${z})`), V.length && (L.transform = V.join(" ")), /*#__PURE__*/ l.createElement("text", m({}, a(L, !0), {
|
|
208
208
|
x: R,
|
|
209
209
|
y: z,
|
|
210
210
|
className: t("recharts-text", F),
|
|
@@ -212,7 +212,7 @@ var C = /[ \f\n\r\t\v\u2028\u2029]+/, w = function(e) {
|
|
|
212
212
|
fill: k.includes("url") ? O : k
|
|
213
213
|
}), j.map(function(e, t) {
|
|
214
214
|
var n = e.words.join(I ? "" : " ");
|
|
215
|
-
return
|
|
215
|
+
return /*#__PURE__*/ l.createElement("tspan", {
|
|
216
216
|
x: R,
|
|
217
217
|
dy: t === 0 ? B : _,
|
|
218
218
|
key: `${n}-${t}`
|
|
@@ -109,9 +109,9 @@ function S(e) {
|
|
|
109
109
|
return e.dataKey;
|
|
110
110
|
}
|
|
111
111
|
function C(e, n) {
|
|
112
|
-
return
|
|
112
|
+
return /*#__PURE__*/ i.isValidElement(e) ? /*#__PURE__*/ i.cloneElement(e, n) : typeof e == "function" ? /*#__PURE__*/ i.createElement(e, n) : /*#__PURE__*/ i.createElement(t, n);
|
|
113
113
|
}
|
|
114
|
-
var w =
|
|
114
|
+
var w = /*#__PURE__*/ function(t) {
|
|
115
115
|
function r() {
|
|
116
116
|
return l(this, r), f(this, r, arguments);
|
|
117
117
|
}
|
|
@@ -123,7 +123,7 @@ var w = /* @__PURE__ */ function(t) {
|
|
|
123
123
|
return e.value != null && (e.hide !== !0 || t.props.includeHidden);
|
|
124
124
|
}), g, S));
|
|
125
125
|
var T = w.length > 0;
|
|
126
|
-
return
|
|
126
|
+
return /*#__PURE__*/ i.createElement(n, {
|
|
127
127
|
allowEscapeViewBox: o,
|
|
128
128
|
animationDuration: s,
|
|
129
129
|
animationEasing: l,
|
|
@@ -102,7 +102,7 @@ function v(e, t) {
|
|
|
102
102
|
}
|
|
103
103
|
return (t === "string" ? String : Number)(e);
|
|
104
104
|
}
|
|
105
|
-
var y = 1, b =
|
|
105
|
+
var y = 1, b = /*#__PURE__*/ function(n) {
|
|
106
106
|
function r() {
|
|
107
107
|
var e;
|
|
108
108
|
o(this, r);
|
|
@@ -180,7 +180,7 @@ var y = 1, b = /* @__PURE__ */ function(n) {
|
|
|
180
180
|
top: 0,
|
|
181
181
|
left: 0
|
|
182
182
|
}, v);
|
|
183
|
-
return
|
|
183
|
+
return /*#__PURE__*/ t.createElement("div", {
|
|
184
184
|
tabIndex: -1,
|
|
185
185
|
className: b,
|
|
186
186
|
style: S,
|
|
@@ -30,9 +30,9 @@ function o(e, t) {
|
|
|
30
30
|
}
|
|
31
31
|
return n;
|
|
32
32
|
}
|
|
33
|
-
var s =
|
|
33
|
+
var s = /*#__PURE__*/ n.forwardRef(function(o, s) {
|
|
34
34
|
var c = o.children, l = o.className, u = a(o, r), d = e("recharts-layer", l);
|
|
35
|
-
return
|
|
35
|
+
return /*#__PURE__*/ n.createElement("g", i({ className: d }, t(u, !0), { ref: s }), c);
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { s as Layer };
|
|
@@ -46,13 +46,13 @@ function s(o) {
|
|
|
46
46
|
x: 0,
|
|
47
47
|
y: 0
|
|
48
48
|
}, _ = e("recharts-surface", d);
|
|
49
|
-
return
|
|
49
|
+
return /*#__PURE__*/ n.createElement("svg", i({}, t(h, !0, "svg"), {
|
|
50
50
|
className: _,
|
|
51
51
|
width: c,
|
|
52
52
|
height: l,
|
|
53
53
|
style: f,
|
|
54
54
|
viewBox: `${g.x} ${g.y} ${g.width} ${g.height}`
|
|
55
|
-
}),
|
|
55
|
+
}), /*#__PURE__*/ n.createElement("title", null, p), /*#__PURE__*/ n.createElement("desc", null, m), s);
|
|
56
56
|
}
|
|
57
57
|
//#endregion
|
|
58
58
|
export { s as Surface };
|
|
@@ -15,9 +15,9 @@ function d(e) {
|
|
|
15
15
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
16
16
|
}, d(e);
|
|
17
17
|
}
|
|
18
|
-
var f =
|
|
18
|
+
var f = /*#__PURE__*/ s(void 0), p = /*#__PURE__*/ s(void 0), m = /*#__PURE__*/ s(void 0), h = /*#__PURE__*/ s({}), g = /*#__PURE__*/ s(void 0), _ = /*#__PURE__*/ s(0), v = /*#__PURE__*/ s(0), y = function(e) {
|
|
19
19
|
var t = e.state, n = t.xAxisMap, r = t.yAxisMap, i = t.offset, s = e.clipPathId, c = e.children, l = e.width, u = e.height, d = a(i);
|
|
20
|
-
return
|
|
20
|
+
return /*#__PURE__*/ o.createElement(f.Provider, { value: n }, /*#__PURE__*/ o.createElement(p.Provider, { value: r }, /*#__PURE__*/ o.createElement(h.Provider, { value: i }, /*#__PURE__*/ o.createElement(m.Provider, { value: d }, /*#__PURE__*/ o.createElement(g.Provider, { value: s }, /*#__PURE__*/ o.createElement(_.Provider, { value: u }, /*#__PURE__*/ o.createElement(v.Provider, { value: l }, c)))))));
|
|
21
21
|
}, b = function() {
|
|
22
22
|
return c(g);
|
|
23
23
|
};
|