@burdenoff/microfe-movethewheels 2026.1109.1 → 2026.1109.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MoveTheWheelsRoot.js +62 -61
- package/dist/MoveTheWheelsRoutes.js +6 -7
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/AssignmentSuggestions.js +18 -19
- package/dist/components/CarbonFootprintPanel.js +17 -18
- package/dist/components/CarrierRecommendationDialog.js +1 -2
- package/dist/components/ContainerEvidencePicker.js +15 -16
- package/dist/components/CustomerDeliveryUpdatesFields.js +1 -2
- package/dist/components/CustomerNotificationSettingsCard.js +43 -44
- package/dist/components/CustomerPicker.js +24 -26
- package/dist/components/DataTable.js +169 -170
- package/dist/components/DispatchDecisionCard.js +24 -25
- package/dist/components/DocumentsCard.js +54 -55
- package/dist/components/EntityCombobox.js +21 -22
- package/dist/components/EpodCaptureForm.js +113 -117
- package/dist/components/ExportStatusBanner.js +6 -7
- package/dist/components/FleetAlertsPanel.js +28 -29
- package/dist/components/ForecastModelsPanel.js +2 -3
- package/dist/components/FormError.js +2 -3
- package/dist/components/FreeTimeAgreementForm.js +54 -55
- package/dist/components/GlassPanel.js +1 -2
- package/dist/components/InventoryCoverPanel.js +68 -69
- package/dist/components/MetricCard.js +1 -2
- package/dist/components/Notice.js +3 -4
- package/dist/components/OrderItemRow.js +21 -22
- package/dist/components/PageLayout.js +1 -2
- package/dist/components/ProofOfDeliveryCard.js +19 -20
- package/dist/components/ReturnInstructionForm.js +28 -29
- package/dist/components/ReuseControls.js +1 -2
- package/dist/components/ReusePermissionForm.js +23 -24
- package/dist/components/ReuseProposalForm.js +168 -169
- package/dist/components/ReuseSourceFields.js +1 -2
- package/dist/components/ScenarioPlanningPanel.js +80 -81
- package/dist/components/ShipmentDecisionPanel.js +59 -60
- package/dist/components/ShipmentRiskDialog.js +32 -33
- package/dist/components/ShippingQuoteResults.js +32 -33
- package/dist/components/SignaturePad.js +7 -8
- package/dist/components/StatusBadge.js +1 -2
- package/dist/components/StockActionDialogs.js +77 -78
- package/dist/components/TrackingAlertList.js +26 -27
- package/dist/components/UpcomingDemandPanel.js +24 -25
- package/dist/components/VehicleServiceCard.js +34 -39
- package/dist/components/charts/ChartShell.js +1 -2
- package/dist/components/charts/Sparkline.js +14 -15
- package/dist/components/charts/StatusDonut.js +12 -13
- package/dist/components/charts/TrendChart.js +29 -30
- package/dist/components/charts/VolumeBar.js +21 -22
- package/dist/components/charts/chartTokens.js +1 -2
- package/dist/components/charts/index.js +7 -6
- package/dist/components/consolidation/ConsolidationHistory.js +1 -2
- package/dist/components/consolidation/ConsolidationLotEditor.js +22 -23
- package/dist/components/consolidation/ConsolidationManifestWorkbench.js +30 -31
- package/dist/components/consolidation/ConsolidationPlanForm.js +44 -45
- package/dist/components/consolidation/ConsolidationPlanWorkbench.js +106 -105
- package/dist/components/consolidation/ConsolidationReportForm.js +17 -18
- package/dist/components/consolidation/ConsolidationReportsWorkbench.js +35 -36
- package/dist/components/consolidation/ConsolidationSummary.js +1 -2
- package/dist/components/consolidation/OriginalConsolidationHistory.js +15 -16
- package/dist/components/freight-cost/FreightCommercialEditor.js +39 -40
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +2 -3
- package/dist/components/freight-cost/FreightCommercialHistory.js +8 -9
- package/dist/components/freight-cost/FreightDraftForm.js +45 -47
- package/dist/components/freight-cost/FreightFields.js +1 -2
- package/dist/components/freight-cost/FreightFxEditor.js +1 -2
- package/dist/components/freight-cost/FreightHistory.js +32 -33
- package/dist/components/freight-cost/FreightLineEditor.js +1 -2
- package/dist/components/freight-cost/FreightScopeEditor.js +1 -2
- package/dist/components/freight-cost/FreightTotals.js +1 -2
- package/dist/components/freight-invoice/InvoiceForm.js +41 -42
- package/dist/components/freight-invoice/InvoiceResults.js +42 -43
- package/dist/components/freight-invoice/InvoiceReviewPanel.js +26 -28
- package/dist/components/freight-invoice/InvoiceReviewQueue.js +9 -10
- package/dist/components/index.js +22 -21
- package/dist/components/logistics-procedure/ProcedureDecisionForm.js +24 -25
- package/dist/components/logistics-procedure/ProcedureFields.js +1 -2
- package/dist/components/logistics-procedure/ProcedureHistory.js +29 -30
- package/dist/components/logistics-procedure/ProcedurePolicyForm.js +27 -28
- package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +23 -24
- package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +43 -44
- package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +30 -31
- package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +1 -2
- package/dist/components/maps/LogisticsMap.js +12 -13
- package/dist/components/maps/MapCanvas.js +31 -29
- package/dist/components/maps/RouteMap.js +6 -7
- package/dist/components/maps/TrackingMap.js +17 -18
- package/dist/components/maps/index.js +6 -5
- package/dist/components/maps/leaflet-setup.js +2 -3
- package/dist/components/marketplace/MarketplaceDialogs.js +26 -28
- package/dist/components/pallet-preview/PalletPreviewResults.js +2 -3
- package/dist/components/pending-pick/PendingPickDraft.js +1 -2
- package/dist/components/pending-pick/PendingPickHistory.js +32 -33
- package/dist/components/pending-pick/PickCapture.js +1 -2
- package/dist/components/pending-pick/PickLineSelection.js +1 -2
- package/dist/components/pending-pick/PickReviewPanel.js +53 -53
- package/dist/components/stock-binding/StockAssessmentDraft.js +5 -6
- package/dist/components/stock-binding/StockAssessmentHistory.js +18 -19
- package/dist/components/stock-binding/StockAssessmentSummary.js +1 -2
- package/dist/components/stock-binding/StockFactForm.js +5 -6
- package/dist/components/stock-observation/StockIssueForm.js +1 -2
- package/dist/components/stock-observation/StockIssueHistory.js +1 -2
- package/dist/components/stock-observation/StockIssueReadPanel.js +1 -2
- package/dist/components/trip-utilization/TripReportForm.js +6 -7
- package/dist/components/trip-utilization/TripReportHistory.js +15 -16
- package/dist/components/trip-utilization/TripReportSummary.js +1 -2
- package/dist/components/trip-utilization/TripSegmentFields.js +14 -15
- package/dist/components/ui.js +1 -2
- package/dist/constants/index.js +1 -2
- package/dist/hooks/index.js +12 -11
- package/dist/hooks/useAnalytics.js +3 -3
- package/dist/hooks/useCarrierIntegrations.js +1 -2
- package/dist/hooks/useConsolidationAction.js +12 -13
- package/dist/hooks/useConsumedFuelPreview.js +17 -18
- package/dist/hooks/useContainerCondition.js +4 -3
- package/dist/hooks/useContainerLifecycle.js +70 -80
- package/dist/hooks/useCustomers.js +17 -16
- package/dist/hooks/useDebouncedValue.js +1 -2
- package/dist/hooks/useDemandForecast.js +1 -2
- package/dist/hooks/useDispatchPlan.js +3 -3
- package/dist/hooks/useDocumentExtractions.js +12 -13
- package/dist/hooks/useDriverDay.js +3 -4
- package/dist/hooks/useEmptyReuseAction.js +1 -2
- package/dist/hooks/useEntityDocuments.js +25 -27
- package/dist/hooks/useEntityExport.js +7 -8
- package/dist/hooks/useEntityImport.js +1 -2
- package/dist/hooks/useEpod.js +79 -81
- package/dist/hooks/useFleet.js +70 -74
- package/dist/hooks/useFleetIntelligence.js +1 -2
- package/dist/hooks/useForecastModelChoices.js +1 -2
- package/dist/hooks/useFreightRecoveryAction.js +15 -16
- package/dist/hooks/useInventory.js +59 -60
- package/dist/hooks/useInventoryCoverPlan.js +2 -3
- package/dist/hooks/useInvoiceComparisonRecovery.js +52 -52
- package/dist/hooks/useInvoiceReviewPermissions.js +1 -2
- package/dist/hooks/useMarketplace.js +1 -2
- package/dist/hooks/useMultiModalShipments.js +1 -2
- package/dist/hooks/useOrderDispatch.js +6 -5
- package/dist/hooks/useOrders.js +44 -46
- package/dist/hooks/usePalletPreview.js +19 -20
- package/dist/hooks/useProcedureAction.js +24 -25
- package/dist/hooks/useProcedureSelection.js +6 -7
- package/dist/hooks/useRefetchOnLeaveEdit.js +1 -2
- package/dist/hooks/useReuseRecoveryAction.js +26 -27
- package/dist/hooks/useRoutes.js +12 -14
- package/dist/hooks/useScenarioPlanning.js +20 -21
- package/dist/hooks/useShipmentDecision.js +1 -2
- package/dist/hooks/useShipmentPermissions.js +1 -2
- package/dist/hooks/useShipmentRisk.js +12 -14
- package/dist/hooks/useShipmentStatusAuthority.js +7 -5
- package/dist/hooks/useShippingCarriers.js +1 -2
- package/dist/hooks/useTracking.js +53 -52
- package/dist/hooks/useTrackingEventQuality.js +26 -27
- package/dist/index.js +15 -15
- package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
- package/dist/node_modules/@react-leaflet/core/lib/attribution.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/component.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/context.js +0 -1
- package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/element.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/events.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/generic.js +9 -6
- package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/pane.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/path.js +6 -7
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
- package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/fast-equals/dist/es/index.js +89 -72
- package/dist/node_modules/leaflet/dist/leaflet-src.js +114 -167
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_Stack.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/maxBy.js +5 -6
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/minBy.js +4 -5
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -7
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -3
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell-ring.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/box.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/boxes.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calculator.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/car.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chart-column.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check-big.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/dollar-sign.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/fuel.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/git-compare.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/history.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/leaf.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/navigation.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plane.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/play.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/receipt.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/route.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/save.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/scale.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/ship.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/square-pen.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/star.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sticky-note.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/store.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/train-front.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/truck.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/type.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/warehouse.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wifi-off.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +1 -2
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +1 -2
- package/dist/node_modules/react-leaflet/lib/Marker.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Polyline.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Popup.js +7 -7
- package/dist/node_modules/react-leaflet/lib/TileLayer.js +12 -12
- package/dist/node_modules/react-leaflet/lib/hooks.js +1 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +31 -39
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/recharts/es6/cartesian/Area.js +95 -96
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +100 -101
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +58 -65
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +33 -34
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +17 -18
- package/dist/node_modules/recharts/es6/cartesian/Line.js +76 -77
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +22 -23
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -4
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cursor.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +27 -28
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +11 -12
- package/dist/node_modules/recharts/es6/component/Label.js +78 -79
- package/dist/node_modules/recharts/es6/component/LabelList.js +16 -17
- package/dist/node_modules/recharts/es6/component/Legend.js +25 -22
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +14 -15
- package/dist/node_modules/recharts/es6/component/Text.js +17 -20
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +1 -2
- package/dist/node_modules/recharts/es6/container/Layer.js +3 -4
- package/dist/node_modules/recharts/es6/container/Surface.js +3 -4
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +20 -20
- package/dist/node_modules/recharts/es6/polar/Pie.js +102 -106
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +28 -29
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +36 -39
- package/dist/node_modules/recharts/es6/shape/Cross.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Dot.js +2 -3
- package/dist/node_modules/recharts/es6/shape/Polygon.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +20 -21
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +32 -33
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +4 -5
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/types.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/node_modules/zustand/esm/middleware.js +209 -112
- package/dist/pages/AnalyticsPage.js +41 -42
- package/dist/pages/ConsolidationPage.js +8 -9
- package/dist/pages/ConsumedFuelPreviewPage.js +60 -61
- package/dist/pages/ContainerConditionPage.js +49 -50
- package/dist/pages/ContainersPage.js +53 -53
- package/dist/pages/CreateOrderPage.js +134 -144
- package/dist/pages/CustomerDetailsPage.js +342 -345
- package/dist/pages/CustomersPage.js +36 -37
- package/dist/pages/DashboardPage.js +92 -93
- package/dist/pages/DeliveryCapturePage.js +199 -200
- package/dist/pages/DispatchPlanPage.js +94 -95
- package/dist/pages/DriverDetailsPage.js +393 -399
- package/dist/pages/DriversPage.js +64 -65
- package/dist/pages/EmptyReusePage.js +320 -321
- package/dist/pages/FinancePage.js +72 -70
- package/dist/pages/FleetPage.js +88 -89
- package/dist/pages/FreeTimePage.js +92 -92
- package/dist/pages/FreightEstimatePage.js +92 -93
- package/dist/pages/FreightInvoicePage.js +123 -124
- package/dist/pages/ImportExportPage.js +173 -178
- package/dist/pages/IntegrationsPage.js +264 -267
- package/dist/pages/InventoryPage.js +233 -234
- package/dist/pages/LiveTrackingPage.js +120 -121
- package/dist/pages/LogisticsProceduresPage.js +10 -11
- package/dist/pages/MarketplacePage.js +170 -171
- package/dist/pages/MultiModalShipmentPage.js +172 -177
- package/dist/pages/OrderDetailsPage.js +317 -318
- package/dist/pages/OrdersListPage.js +163 -164
- package/dist/pages/PalletPreviewPage.js +113 -114
- package/dist/pages/PendingPickPage.js +32 -33
- package/dist/pages/ProductDetailsPage.js +164 -166
- package/dist/pages/ProductsPage.js +39 -40
- package/dist/pages/ReportsPage.js +315 -316
- package/dist/pages/RouteDetailsPage.js +302 -304
- package/dist/pages/RoutesPage.js +39 -40
- package/dist/pages/SettingsPage.js +87 -88
- package/dist/pages/ShipmentStatusAuthorityPage.js +67 -67
- package/dist/pages/ShippingRatesPage.js +31 -32
- package/dist/pages/StockBindingPage.js +39 -40
- package/dist/pages/StockObservationsPage.js +23 -24
- package/dist/pages/TrackingEventQualityPage.js +30 -31
- package/dist/pages/TrackingPage.js +88 -89
- package/dist/pages/TripUtilizationPage.js +24 -25
- package/dist/pages/VehicleDetailsPage.js +241 -243
- package/dist/pages/VehiclesPage.js +59 -60
- package/dist/pages/WarehouseDetailsPage.js +151 -156
- package/dist/pages/WarehousesPage.js +33 -34
- package/dist/providers/ModuleSettingsProvider.js +1 -2
- package/dist/providers/MoveTheWheelsProvider.js +2 -7
- package/dist/services/createSandboxAssistantTransport.js +1 -2
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/src/generated/consolidation-operations.js +1 -2
- package/dist/src/generated/consumed-fuel-preview-operations.js +1 -2
- package/dist/src/generated/container-condition-operations.js +1 -2
- package/dist/src/generated/container-operations.js +1 -2
- package/dist/src/generated/empty-reuse-operations.js +1 -2
- package/dist/src/generated/free-time-operations.js +1 -2
- package/dist/src/generated/freight-cost-operations.js +1 -2
- package/dist/src/generated/freight-invoice-operations.js +1 -2
- package/dist/src/generated/logistics-procedure-operations.js +1 -2
- package/dist/src/generated/pallet-preview-operations.js +1 -2
- package/dist/src/generated/pending-pick-operations.js +1 -2
- package/dist/src/generated/shipment-status-authority-operations.js +1 -2
- package/dist/src/generated/stock-binding-operations.js +1 -2
- package/dist/src/generated/stock-observation-operations.js +1 -2
- package/dist/src/generated/tracking-quality-operations.js +1 -2
- package/dist/src/generated/trip-utilization-operations.js +1 -2
- package/dist/src/generated/wspace-operations.js +1 -2
- package/dist/store/movethewheelsStore.js +1 -2
- package/dist/utils/carrierIntegrations.js +4 -5
- package/dist/utils/cn.js +2 -3
- package/dist/utils/consolidationHistoryTarget.js +1 -2
- package/dist/utils/consolidationInput.js +1 -2
- package/dist/utils/consolidationLot.js +1 -2
- package/dist/utils/consolidationPins.js +1 -2
- package/dist/utils/consolidationRecovery.js +1 -2
- package/dist/utils/consolidationReportHead.js +1 -2
- package/dist/utils/consumedFuelInput.js +2 -3
- package/dist/utils/consumedFuelResponse.js +2 -3
- package/dist/utils/customerNotifications.js +2 -3
- package/dist/utils/driverLicenseExpiry.js +1 -2
- package/dist/utils/driverNavigation.js +2 -3
- package/dist/utils/entityExport.js +3 -4
- package/dist/utils/entityImport.js +3 -4
- package/dist/utils/formatters.js +37 -37
- package/dist/utils/freeTimeDate.js +1 -2
- package/dist/utils/freightAcknowledgement.js +1 -2
- package/dist/utils/freightCommercial.js +2 -3
- package/dist/utils/freightDraft.js +1 -2
- package/dist/utils/freightRecovery.js +1 -2
- package/dist/utils/graphqlClient.js +1 -2
- package/dist/utils/invoiceComparison.js +5 -6
- package/dist/utils/invoiceReview.js +1 -2
- package/dist/utils/mapMarkers.js +2 -3
- package/dist/utils/moduleSettings.js +2 -3
- package/dist/utils/navigation.js +2 -3
- package/dist/utils/orderPricing.js +1 -2
- package/dist/utils/orderValidation.js +3 -4
- package/dist/utils/orderVehicleHold.js +2 -3
- package/dist/utils/palletPreviewInput.js +1 -2
- package/dist/utils/palletPreviewResponse.js +2 -3
- package/dist/utils/pendingPickDraft.js +1 -2
- package/dist/utils/pickReviewAcknowledgement.js +1 -2
- package/dist/utils/procedureInput.js +1 -2
- package/dist/utils/procedureRecovery.js +1 -2
- package/dist/utils/reports.js +1 -2
- package/dist/utils/reuseAttempt.js +1 -2
- package/dist/utils/reuseForm.js +1 -2
- package/dist/utils/reuseRecovery.js +2 -3
- package/dist/utils/shipmentStatusDraft.js +1 -2
- package/dist/utils/stockBindingForm.js +1 -2
- package/dist/utils/stockBindingLabels.js +1 -2
- package/dist/utils/stockObservationForm.js +2 -3
- package/dist/utils/trackingAlerts.js +1 -2
- package/dist/utils/tripDraftContext.js +1 -2
- package/dist/utils/tripUtilizationForm.js +2 -3
- package/package.json +136 -86
- package/src/movethewheels/utils/orderPricing.test.ts +1 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.js +0 -8
- package/dist/node_modules/d3-array/src/bisector.js +0 -41
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/max.js +0 -12
- package/dist/node_modules/d3-array/src/min.js +0 -12
- package/dist/node_modules/d3-array/src/number.js +0 -13
- package/dist/node_modules/d3-array/src/quantile.js +0 -23
- package/dist/node_modules/d3-array/src/quickselect.js +0 -24
- package/dist/node_modules/d3-array/src/range.js +0 -8
- package/dist/node_modules/d3-array/src/sort.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-color/src/color.js +0 -289
- package/dist/node_modules/d3-color/src/define.js +0 -11
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.js +0 -84
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
- package/dist/node_modules/d3-interpolate/src/color.js +0 -23
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js +0 -12
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.js +0 -26
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-scale/src/band.js +0 -50
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.js +0 -71
- package/dist/node_modules/d3-scale/src/diverging.js +0 -80
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.js +0 -27
- package/dist/node_modules/d3-scale/src/linear.js +0 -34
- package/dist/node_modules/d3-scale/src/log.js +0 -75
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
- package/dist/node_modules/d3-scale/src/pow.js +0 -35
- package/dist/node_modules/d3-scale/src/quantile.js +0 -35
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/radial.js +0 -37
- package/dist/node_modules/d3-scale/src/sequential.js +0 -65
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
- package/dist/node_modules/d3-scale/src/symlog.js +0 -28
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
- package/dist/node_modules/d3-scale/src/time.js +0 -45
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-shape/src/area.js +0 -53
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
- package/dist/node_modules/d3-shape/src/line.js +0 -28
- package/dist/node_modules/d3-shape/src/math.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js +0 -4
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
- package/dist/node_modules/d3-shape/src/order/none.js +0 -7
- package/dist/node_modules/d3-shape/src/path.js +0 -17
- package/dist/node_modules/d3-shape/src/point.js +0 -9
- package/dist/node_modules/d3-shape/src/stack.js +0 -32
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.js +0 -19
- package/dist/node_modules/d3-time/src/duration.js +0 -4
- package/dist/node_modules/d3-time/src/hour.js +0 -17
- package/dist/node_modules/d3-time/src/interval.js +0 -26
- package/dist/node_modules/d3-time/src/millisecond.js +0 -12
- package/dist/node_modules/d3-time/src/minute.js +0 -17
- package/dist/node_modules/d3-time/src/month.js +0 -16
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.js +0 -123
- package/dist/node_modules/d3-time/src/week.js +0 -23
- package/dist/node_modules/d3-time/src/year.js +0 -24
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
- package/dist/node_modules/internmap/src/index.js +0 -38
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { commercialCanonical as e, commercialCaptureInput as t } from "../../utils/freightCommercial.js";
|
|
2
|
+
import { FreightCommercialEditor as n } from "./FreightCommercialEditor.js";
|
|
3
|
+
import { ContainerEvidencePicker as r } from "../ContainerEvidencePicker.js";
|
|
4
|
+
import { Button as i } from "../ui.js";
|
|
5
|
+
import { FreightCurrency as a, FreightSelect as o, FreightText as s } from "./FreightFields.js";
|
|
6
|
+
import { FreightLineEditor as c } from "./FreightLineEditor.js";
|
|
7
|
+
import { FreightScopeEditor as l } from "./FreightScopeEditor.js";
|
|
8
|
+
import { FreightFxEditor as u } from "./FreightFxEditor.js";
|
|
9
|
+
import { FreightTotals as d } from "./FreightTotals.js";
|
|
10
|
+
import { freightInstant as f, freightLocalTime as p, newFreightFacts as m, newFreightLine as h } from "../../utils/freightDraft.js";
|
|
11
11
|
import { useRef as g, useState as _ } from "react";
|
|
12
12
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
13
|
-
|
|
13
|
+
// src/movethewheels/components/freight-cost/FreightDraftForm.tsx
|
|
14
14
|
function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
15
|
-
let [w, T] = _(null), [E, D] = _(
|
|
15
|
+
let [w, T] = _(null), [E, D] = _(m), [O, k] = _([]), [A, j] = _(null), [M, N] = _(null), [P, F] = _(!1), I = g(!1), L = JSON.stringify(E), R = A?.body === L ? A.value : null, z = (e) => D({
|
|
16
16
|
...E,
|
|
17
17
|
...e
|
|
18
18
|
}), B = async () => {
|
|
@@ -33,18 +33,17 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
33
33
|
};
|
|
34
34
|
return /* @__PURE__ */ y("form", {
|
|
35
35
|
className: "space-y-6",
|
|
36
|
-
onSubmit: (
|
|
37
|
-
if (
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
N(e instanceof Error ? e.message : "Review commercial facts before saving.");
|
|
36
|
+
onSubmit: (n) => {
|
|
37
|
+
if (n.preventDefault(), !R) B();
|
|
38
|
+
else {
|
|
39
|
+
N(null);
|
|
40
|
+
try {
|
|
41
|
+
if (w && w.reviewed !== e(w.selectedLegs)) throw Error("Explicitly review the commercial leg selection before saving.");
|
|
42
|
+
let n = w ? t(w.facts, w.selectedLegs, O) : void 0;
|
|
43
|
+
C(structuredClone(E), structuredClone(O), n).catch((e) => N(e instanceof Error ? e.message : "Unable to save this cost record."));
|
|
44
|
+
} catch (e) {
|
|
45
|
+
N(e instanceof Error ? e.message : "Review commercial facts before saving.");
|
|
46
|
+
}
|
|
48
47
|
}
|
|
49
48
|
},
|
|
50
49
|
children: [
|
|
@@ -59,13 +58,13 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
59
58
|
/* @__PURE__ */ y("div", {
|
|
60
59
|
className: "grid gap-3 md:grid-cols-2",
|
|
61
60
|
children: [
|
|
62
|
-
/* @__PURE__ */ v(
|
|
61
|
+
/* @__PURE__ */ v(s, {
|
|
63
62
|
label: "Estimate title",
|
|
64
63
|
value: E.title,
|
|
65
64
|
required: !0,
|
|
66
65
|
onChange: (e) => z({ title: e })
|
|
67
66
|
}),
|
|
68
|
-
/* @__PURE__ */ y(
|
|
67
|
+
/* @__PURE__ */ y(o, {
|
|
69
68
|
label: "Record type",
|
|
70
69
|
value: E.kind,
|
|
71
70
|
onChange: (e) => {
|
|
@@ -79,13 +78,13 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
79
78
|
children: "Reported quote"
|
|
80
79
|
})]
|
|
81
80
|
}),
|
|
82
|
-
/* @__PURE__ */ v(
|
|
81
|
+
/* @__PURE__ */ v(s, {
|
|
83
82
|
label: "Commercial source",
|
|
84
83
|
value: E.sourceReference,
|
|
85
84
|
required: !0,
|
|
86
85
|
onChange: (e) => z({ sourceReference: e })
|
|
87
86
|
}),
|
|
88
|
-
/* @__PURE__ */ v(
|
|
87
|
+
/* @__PURE__ */ v(s, {
|
|
89
88
|
label: "Source version",
|
|
90
89
|
value: E.sourceRevision,
|
|
91
90
|
required: !0,
|
|
@@ -93,7 +92,7 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
93
92
|
})
|
|
94
93
|
]
|
|
95
94
|
}),
|
|
96
|
-
/* @__PURE__ */ v(
|
|
95
|
+
/* @__PURE__ */ v(s, {
|
|
97
96
|
label: "Shipment and services covered by this source",
|
|
98
97
|
value: E.commercialScope,
|
|
99
98
|
required: !0,
|
|
@@ -107,13 +106,13 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
107
106
|
". They are recorded as exact UTC instants."
|
|
108
107
|
]
|
|
109
108
|
}),
|
|
110
|
-
/* @__PURE__ */ v(
|
|
109
|
+
/* @__PURE__ */ v(s, {
|
|
111
110
|
label: "Price applies at",
|
|
112
111
|
type: "datetime-local",
|
|
113
|
-
value:
|
|
112
|
+
value: p(E.pricingAt),
|
|
114
113
|
required: !0,
|
|
115
114
|
onChange: (e) => {
|
|
116
|
-
e && z({ pricingAt:
|
|
115
|
+
e && z({ pricingAt: f(e) });
|
|
117
116
|
}
|
|
118
117
|
}),
|
|
119
118
|
/* @__PURE__ */ y("section", {
|
|
@@ -127,17 +126,17 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
127
126
|
className: "text-sm",
|
|
128
127
|
children: "Blank amounts are unknown. Currency codes and decimal places are recorded conventions."
|
|
129
128
|
}),
|
|
130
|
-
E.lines.map((e) => /* @__PURE__ */ v(
|
|
129
|
+
E.lines.map((e) => /* @__PURE__ */ v(c, {
|
|
131
130
|
line: e,
|
|
132
131
|
others: E.lines,
|
|
133
132
|
onChange: (t) => z({ lines: E.lines.map((n) => n.id === e.id ? t : n) }),
|
|
134
133
|
onRemove: () => z({ lines: E.lines.filter((t) => t.id !== e.id) })
|
|
135
134
|
}, e.id)),
|
|
136
|
-
/* @__PURE__ */ v(
|
|
135
|
+
/* @__PURE__ */ v(i, {
|
|
137
136
|
type: "button",
|
|
138
137
|
variant: "outline",
|
|
139
138
|
disabled: E.lines.length >= 100,
|
|
140
|
-
onClick: () => z({ lines: [...E.lines,
|
|
139
|
+
onClick: () => z({ lines: [...E.lines, h()] }),
|
|
141
140
|
children: "Add cost item"
|
|
142
141
|
})
|
|
143
142
|
]
|
|
@@ -149,7 +148,7 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
149
148
|
className: "min-h-11 cursor-pointer font-medium",
|
|
150
149
|
children: "Review cost scope, dates and conversion"
|
|
151
150
|
}),
|
|
152
|
-
/* @__PURE__ */ v(
|
|
151
|
+
/* @__PURE__ */ v(l, {
|
|
153
152
|
value: E.requirements,
|
|
154
153
|
onChange: (e) => z({ requirements: e })
|
|
155
154
|
}),
|
|
@@ -162,14 +161,14 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
162
161
|
"quotedAt",
|
|
163
162
|
"validFrom",
|
|
164
163
|
"validUntil"
|
|
165
|
-
].map((e) => /* @__PURE__ */ v(
|
|
164
|
+
].map((e) => /* @__PURE__ */ v(s, {
|
|
166
165
|
label: e === "quotedAt" ? "Quote received at" : e === "validFrom" ? "Quote valid from" : "Quote valid until",
|
|
167
166
|
type: "datetime-local",
|
|
168
|
-
value: E[e] ?
|
|
169
|
-
onChange: (t) => z({ [e]: t ?
|
|
167
|
+
value: E[e] ? p(E[e]) : "",
|
|
168
|
+
onChange: (t) => z({ [e]: t ? f(t) : null })
|
|
170
169
|
}, e))]
|
|
171
170
|
}),
|
|
172
|
-
/* @__PURE__ */ y(
|
|
171
|
+
/* @__PURE__ */ y(o, {
|
|
173
172
|
label: "Reporting total",
|
|
174
173
|
value: E.reportingCurrency ? "RECORDED" : "UNKNOWN",
|
|
175
174
|
onChange: (e) => z({ reportingCurrency: e === "RECORDED" ? {
|
|
@@ -184,24 +183,24 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
184
183
|
children: "Use a recorded currency convention"
|
|
185
184
|
})]
|
|
186
185
|
}),
|
|
187
|
-
E.reportingCurrency && /* @__PURE__ */ v(
|
|
186
|
+
E.reportingCurrency && /* @__PURE__ */ v(a, {
|
|
188
187
|
label: "Reporting currency convention",
|
|
189
188
|
value: E.reportingCurrency,
|
|
190
189
|
onChange: (e) => z({ reportingCurrency: e })
|
|
191
190
|
}),
|
|
192
|
-
/* @__PURE__ */ v(
|
|
191
|
+
/* @__PURE__ */ v(u, {
|
|
193
192
|
value: E.fx,
|
|
194
193
|
onChange: (e) => z({ fx: e })
|
|
195
194
|
})
|
|
196
195
|
]
|
|
197
196
|
}),
|
|
198
|
-
/* @__PURE__ */ v(
|
|
197
|
+
/* @__PURE__ */ v(n, {
|
|
199
198
|
value: w,
|
|
200
199
|
onChange: T,
|
|
201
200
|
shipmentId: x,
|
|
202
201
|
evidence: O
|
|
203
202
|
}),
|
|
204
|
-
/* @__PURE__ */ v(
|
|
203
|
+
/* @__PURE__ */ v(r, {
|
|
205
204
|
value: O,
|
|
206
205
|
onChange: k,
|
|
207
206
|
description: "Choose the exact source document versions. A readable document supports this reported record; it does not accept a quote or confirm capacity."
|
|
@@ -212,11 +211,11 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
212
211
|
role: "alert",
|
|
213
212
|
children: M
|
|
214
213
|
}),
|
|
215
|
-
R && /* @__PURE__ */ v(
|
|
214
|
+
R && /* @__PURE__ */ v(d, {
|
|
216
215
|
value: R,
|
|
217
216
|
currency: E.reportingCurrency
|
|
218
217
|
}),
|
|
219
|
-
/* @__PURE__ */ v(
|
|
218
|
+
/* @__PURE__ */ v(i, {
|
|
220
219
|
type: "submit",
|
|
221
220
|
disabled: b || P || E.lines.length === 0 || !!R && O.length === 0,
|
|
222
221
|
children: P ? "Previewing…" : R ? "Save immutable cost version" : "Preview costs and missing facts"
|
|
@@ -224,5 +223,4 @@ function b({ disabled: b, shipmentId: x, onPreview: S, onSave: C }) {
|
|
|
224
223
|
]
|
|
225
224
|
});
|
|
226
225
|
}
|
|
227
|
-
//#endregion
|
|
228
226
|
export { b as FreightDraftForm };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
// src/movethewheels/components/freight-cost/FreightFields.tsx
|
|
3
3
|
var n = "mt-1 min-h-11 w-full rounded border p-2";
|
|
4
4
|
function r({ label: r, value: i, onChange: a, required: o = !1, type: s = "text", disabled: c = !1 }) {
|
|
5
5
|
return /* @__PURE__ */ t("label", {
|
|
@@ -66,5 +66,4 @@ function a({ label: n, value: a, onChange: o }) {
|
|
|
66
66
|
]
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
//#endregion
|
|
70
69
|
export { a as FreightCurrency, i as FreightSelect, r as FreightText, n as freightInput };
|
|
@@ -3,7 +3,7 @@ import { FreightCurrency as t, FreightText as n } from "./FreightFields.js";
|
|
|
3
3
|
import { freightInstant as r, freightLocalTime as i, newFreightFx as a } from "../../utils/freightDraft.js";
|
|
4
4
|
import { useState as o } from "react";
|
|
5
5
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/movethewheels/components/freight-cost/FreightFxEditor.tsx
|
|
7
7
|
function l({ value: l, onChange: u }) {
|
|
8
8
|
let [d, f] = o(() => l.map(() => crypto.randomUUID())), p = (e, t) => u(l.map((n, r) => r === e ? {
|
|
9
9
|
...n,
|
|
@@ -86,5 +86,4 @@ function l({ value: l, onChange: u }) {
|
|
|
86
86
|
]
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
|
-
//#endregion
|
|
90
89
|
export { l as FreightFxEditor };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FreightTotals as
|
|
3
|
-
import {
|
|
1
|
+
import { FreightCommercialHistory as e } from "./FreightCommercialHistory.js";
|
|
2
|
+
import { FreightTotals as t } from "./FreightTotals.js";
|
|
3
|
+
import { freightLabel as n, freightMoney as r } from "../../utils/freightDraft.js";
|
|
4
4
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/movethewheels/components/freight-cost/FreightHistory.tsx
|
|
6
6
|
function o({ record: o }) {
|
|
7
7
|
return /* @__PURE__ */ a("article", {
|
|
8
8
|
className: "min-w-0 space-y-4 break-words rounded border p-4",
|
|
@@ -25,7 +25,7 @@ function o({ record: o }) {
|
|
|
25
25
|
o.facts.kind === "QUOTE" ? "Reported quote" : "Estimate",
|
|
26
26
|
";",
|
|
27
27
|
" ",
|
|
28
|
-
|
|
28
|
+
n(o.validityAtRead),
|
|
29
29
|
". This record does not accept a quote or confirm capacity."
|
|
30
30
|
] }),
|
|
31
31
|
/* @__PURE__ */ i("p", { children: o.facts.commercialScope }),
|
|
@@ -43,11 +43,11 @@ function o({ record: o }) {
|
|
|
43
43
|
" by ",
|
|
44
44
|
o.createdBy,
|
|
45
45
|
" (",
|
|
46
|
-
|
|
46
|
+
n(o.actorProvenance),
|
|
47
47
|
")."
|
|
48
48
|
] }),
|
|
49
|
-
/* @__PURE__ */ i(
|
|
50
|
-
/* @__PURE__ */ i(
|
|
49
|
+
/* @__PURE__ */ i(e, { capture: o.commercialCapture }),
|
|
50
|
+
/* @__PURE__ */ i(t, {
|
|
51
51
|
value: o.totals,
|
|
52
52
|
currency: o.facts.reportingCurrency
|
|
53
53
|
}),
|
|
@@ -57,67 +57,67 @@ function o({ record: o }) {
|
|
|
57
57
|
}), /* @__PURE__ */ a("div", {
|
|
58
58
|
className: "space-y-3",
|
|
59
59
|
children: [
|
|
60
|
-
o.facts.lines.map((
|
|
60
|
+
o.facts.lines.map((e) => /* @__PURE__ */ a("div", {
|
|
61
61
|
className: "rounded border p-3",
|
|
62
62
|
children: [
|
|
63
63
|
/* @__PURE__ */ a("h3", {
|
|
64
64
|
className: "font-medium",
|
|
65
65
|
children: [
|
|
66
|
-
|
|
66
|
+
e.description,
|
|
67
67
|
" / ",
|
|
68
|
-
e
|
|
68
|
+
n(e.category)
|
|
69
69
|
]
|
|
70
70
|
}),
|
|
71
71
|
/* @__PURE__ */ a("p", { children: [
|
|
72
|
-
e
|
|
72
|
+
n(e.disposition),
|
|
73
73
|
"; payer ",
|
|
74
|
-
|
|
74
|
+
e.payerLabel ?? "Unknown",
|
|
75
75
|
" (",
|
|
76
|
-
|
|
76
|
+
e.payerReference ?? "Unknown reference",
|
|
77
77
|
")."
|
|
78
78
|
] }),
|
|
79
79
|
/* @__PURE__ */ a("p", { children: [
|
|
80
80
|
"Reported amount: ",
|
|
81
|
-
|
|
81
|
+
r(e.amountMinor, e.currency.minorUnitDigits),
|
|
82
82
|
" ",
|
|
83
|
-
|
|
83
|
+
e.currency.code,
|
|
84
84
|
"; ",
|
|
85
|
-
e
|
|
85
|
+
n(e.amountBasis),
|
|
86
86
|
". Quantity",
|
|
87
87
|
" ",
|
|
88
|
-
|
|
88
|
+
e.quantity ?? "Unknown",
|
|
89
89
|
" ",
|
|
90
|
-
|
|
90
|
+
e.unit ?? "unknown unit",
|
|
91
91
|
" × rate",
|
|
92
92
|
" ",
|
|
93
|
-
|
|
93
|
+
e.unitRateMajor ?? "Unknown",
|
|
94
94
|
"."
|
|
95
95
|
] }),
|
|
96
96
|
/* @__PURE__ */ a("p", { children: [
|
|
97
97
|
"Source ",
|
|
98
|
-
|
|
98
|
+
e.sourceReference ?? "Unknown",
|
|
99
99
|
" /",
|
|
100
100
|
" ",
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
e.sourceRevision ?? "Unknown version",
|
|
102
|
+
e.inclusionParentLineId ? `; included in recorded line ${e.inclusionParentLineId}` : "",
|
|
103
103
|
"."
|
|
104
104
|
] }),
|
|
105
|
-
|
|
105
|
+
e.zeroReason && /* @__PURE__ */ a("p", { children: ["Zero reason: ", e.zeroReason] })
|
|
106
106
|
]
|
|
107
|
-
},
|
|
108
|
-
o.facts.requirements.map((
|
|
109
|
-
e
|
|
107
|
+
}, e.id)),
|
|
108
|
+
o.facts.requirements.map((e) => /* @__PURE__ */ a("p", { children: [
|
|
109
|
+
n(e.category),
|
|
110
110
|
": ",
|
|
111
|
-
e
|
|
111
|
+
n(e.status),
|
|
112
112
|
" —",
|
|
113
113
|
" ",
|
|
114
|
-
|
|
114
|
+
e.reason ?? "No explanation recorded",
|
|
115
115
|
"; source ",
|
|
116
|
-
|
|
116
|
+
e.sourceReference ?? "Unknown",
|
|
117
117
|
" /",
|
|
118
118
|
" ",
|
|
119
|
-
|
|
120
|
-
] },
|
|
119
|
+
e.sourceRevision ?? "Unknown"
|
|
120
|
+
] }, e.category)),
|
|
121
121
|
/* @__PURE__ */ a("p", { children: [
|
|
122
122
|
"Quote occurred ",
|
|
123
123
|
o.facts.quotedAt ?? "Unknown",
|
|
@@ -162,5 +162,4 @@ function o({ record: o }) {
|
|
|
162
162
|
]
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
-
//#endregion
|
|
166
165
|
export { o as FreightHistory };
|
|
@@ -2,7 +2,7 @@ import { Button as e } from "../ui.js";
|
|
|
2
2
|
import { FreightCurrency as t, FreightSelect as n, FreightText as r } from "./FreightFields.js";
|
|
3
3
|
import { fixedFreightMinor as i, freightCategories as a, freightLabel as o, freightMoney as s, freightNullable as c, isFreightDecimalZero as l } from "../../utils/freightDraft.js";
|
|
4
4
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/movethewheels/components/freight-cost/FreightLineEditor.tsx
|
|
6
6
|
function f({ line: f, others: p, onChange: m, onRemove: h }) {
|
|
7
7
|
let g = (e) => m({
|
|
8
8
|
...f,
|
|
@@ -187,5 +187,4 @@ function f({ line: f, others: p, onChange: m, onRemove: h }) {
|
|
|
187
187
|
]
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
|
-
//#endregion
|
|
191
190
|
export { f as FreightLineEditor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FreightSelect as e, FreightText as t } from "./FreightFields.js";
|
|
2
2
|
import { freightLabel as n, freightNullable as r } from "../../utils/freightDraft.js";
|
|
3
3
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/movethewheels/components/freight-cost/FreightScopeEditor.tsx
|
|
5
5
|
function o({ value: o, onChange: s }) {
|
|
6
6
|
let c = (e, t) => s(o.map((n) => n.category === e ? {
|
|
7
7
|
...n,
|
|
@@ -68,5 +68,4 @@ function o({ value: o, onChange: s }) {
|
|
|
68
68
|
]
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
//#endregion
|
|
72
71
|
export { o as FreightScopeEditor };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { freightMoney as e } from "../../utils/freightDraft.js";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/movethewheels/components/freight-cost/FreightTotals.tsx
|
|
4
4
|
function r({ value: r, currency: i }) {
|
|
5
5
|
return /* @__PURE__ */ n("section", {
|
|
6
6
|
className: "space-y-3 rounded border p-4",
|
|
@@ -62,5 +62,4 @@ function r({ value: r, currency: i }) {
|
|
|
62
62
|
]
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
//#endregion
|
|
66
65
|
export { r as FreightTotals };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContainerEvidencePicker as e } from "../ContainerEvidencePicker.js";
|
|
2
|
+
import { Button as t } from "../ui.js";
|
|
3
3
|
import { FreightCurrency as n, FreightSelect as r, FreightText as i } from "../freight-cost/FreightFields.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { invoiceCanonical as a, invoiceFactsInput as o, matchesInvoicePreview as s } from "../../utils/invoiceComparison.js";
|
|
5
|
+
import { fixedFreightMinor as c, freightMoney as l } from "../../utils/freightDraft.js";
|
|
6
6
|
import { InvoiceResults as u } from "./InvoiceResults.js";
|
|
7
7
|
import { useEffect as d, useRef as f, useState as p } from "react";
|
|
8
8
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/movethewheels/components/freight-invoice/InvoiceForm.tsx
|
|
10
10
|
function g() {
|
|
11
11
|
return {
|
|
12
12
|
schemaVersion: 1,
|
|
@@ -57,7 +57,7 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
57
57
|
d(() => (L.current = !0, () => {
|
|
58
58
|
L.current = !1;
|
|
59
59
|
}), []);
|
|
60
|
-
let z =
|
|
60
|
+
let z = a({
|
|
61
61
|
facts: w,
|
|
62
62
|
evidence: E.map(({ fileId: e, versionId: t }) => ({
|
|
63
63
|
fileId: e,
|
|
@@ -75,7 +75,7 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
75
75
|
R.current = !0, F(!0), N(null);
|
|
76
76
|
let e = z;
|
|
77
77
|
try {
|
|
78
|
-
let t =
|
|
78
|
+
let t = o(w), n = await S({
|
|
79
79
|
shipmentId: v.shipmentId,
|
|
80
80
|
estimateVersionId: v.id,
|
|
81
81
|
facts: t,
|
|
@@ -84,7 +84,7 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
84
84
|
versionId: t
|
|
85
85
|
}))
|
|
86
86
|
});
|
|
87
|
-
if (!
|
|
87
|
+
if (!s(n, t, _(v))) throw Error("The preview did not match these reported facts and exact estimate. Nothing was sent.");
|
|
88
88
|
L.current && j({
|
|
89
89
|
body: e,
|
|
90
90
|
value: n
|
|
@@ -100,10 +100,10 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
100
100
|
className: "min-w-0 space-y-5",
|
|
101
101
|
"aria-label": "Manual invoice comparison",
|
|
102
102
|
onSubmit: (e) => {
|
|
103
|
-
if (e.preventDefault(),
|
|
103
|
+
if (e.preventDefault(), B && B.recordable === !0 && !b && x && !R.current) {
|
|
104
104
|
N(null);
|
|
105
105
|
try {
|
|
106
|
-
let e =
|
|
106
|
+
let e = o(w);
|
|
107
107
|
C({
|
|
108
108
|
shipmentId: v.shipmentId,
|
|
109
109
|
estimateVersionId: v.id,
|
|
@@ -198,7 +198,7 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
198
198
|
}))
|
|
199
199
|
})
|
|
200
200
|
}),
|
|
201
|
-
w.rows.map((
|
|
201
|
+
w.rows.map((e, n) => /* @__PURE__ */ h("fieldset", {
|
|
202
202
|
className: "min-w-0 space-y-3 rounded border p-3",
|
|
203
203
|
children: [
|
|
204
204
|
/* @__PURE__ */ h("legend", {
|
|
@@ -207,14 +207,14 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
207
207
|
}),
|
|
208
208
|
/* @__PURE__ */ m(i, {
|
|
209
209
|
label: `Row ${n + 1} description`,
|
|
210
|
-
value:
|
|
210
|
+
value: e.description,
|
|
211
211
|
required: !0,
|
|
212
|
-
onChange: (
|
|
212
|
+
onChange: (t) => H(e.id, { description: t })
|
|
213
213
|
}),
|
|
214
214
|
/* @__PURE__ */ h(r, {
|
|
215
215
|
label: `Row ${n + 1} exact estimate mapping`,
|
|
216
|
-
value:
|
|
217
|
-
onChange: (
|
|
216
|
+
value: e.estimateLineId ?? "",
|
|
217
|
+
onChange: (t) => H(e.id, { estimateLineId: t || null }),
|
|
218
218
|
children: [/* @__PURE__ */ m("option", {
|
|
219
219
|
value: "",
|
|
220
220
|
children: "Unmatched invoice row"
|
|
@@ -234,13 +234,13 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
234
234
|
children: [
|
|
235
235
|
/* @__PURE__ */ m(i, {
|
|
236
236
|
label: `Row ${n + 1} payer source reference`,
|
|
237
|
-
value:
|
|
238
|
-
onChange: (
|
|
237
|
+
value: e.payerReference ?? "",
|
|
238
|
+
onChange: (t) => H(e.id, { payerReference: t })
|
|
239
239
|
}),
|
|
240
240
|
/* @__PURE__ */ m(i, {
|
|
241
241
|
label: `Row ${n + 1} payer label`,
|
|
242
|
-
value:
|
|
243
|
-
onChange: (
|
|
242
|
+
value: e.payerLabel ?? "",
|
|
243
|
+
onChange: (t) => H(e.id, { payerLabel: t })
|
|
244
244
|
}),
|
|
245
245
|
/* @__PURE__ */ h("label", {
|
|
246
246
|
className: "block text-sm",
|
|
@@ -248,42 +248,42 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
248
248
|
"Row ",
|
|
249
249
|
n + 1,
|
|
250
250
|
" supplied amount (",
|
|
251
|
-
|
|
251
|
+
e.currency.code || "declare currency",
|
|
252
252
|
")",
|
|
253
253
|
/* @__PURE__ */ m("input", {
|
|
254
254
|
className: "mt-1 min-h-11 w-full rounded border p-2",
|
|
255
255
|
"aria-label": `Row ${n + 1} supplied amount`,
|
|
256
256
|
inputMode: "decimal",
|
|
257
|
-
defaultValue:
|
|
258
|
-
onChange: (
|
|
257
|
+
defaultValue: e.amountMinor == null ? "" : l(e.amountMinor, e.currency.minorUnitDigits),
|
|
258
|
+
onChange: (t) => {
|
|
259
259
|
try {
|
|
260
|
-
H(
|
|
260
|
+
H(e.id, { amountMinor: c(t.target.value, e.currency.minorUnitDigits) }), t.target.setCustomValidity("");
|
|
261
261
|
} catch (n) {
|
|
262
|
-
H(
|
|
262
|
+
H(e.id, { amountMinor: null }), t.target.setCustomValidity(n instanceof Error ? n.message : "Invalid sourced amount.");
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
}, `${
|
|
265
|
+
}, `${e.currency.code}:${e.currency.minorUnitDigits}`)
|
|
266
266
|
]
|
|
267
267
|
}),
|
|
268
268
|
/* @__PURE__ */ m(i, {
|
|
269
269
|
label: `Row ${n + 1} zero source reason`,
|
|
270
|
-
value:
|
|
271
|
-
onChange: (
|
|
270
|
+
value: e.zeroReason ?? "",
|
|
271
|
+
onChange: (t) => H(e.id, { zeroReason: t })
|
|
272
272
|
}),
|
|
273
273
|
/* @__PURE__ */ m(i, {
|
|
274
274
|
label: `Row ${n + 1} supplied quantity`,
|
|
275
|
-
value:
|
|
276
|
-
onChange: (
|
|
275
|
+
value: e.quantity ?? "",
|
|
276
|
+
onChange: (t) => H(e.id, { quantity: t })
|
|
277
277
|
}),
|
|
278
278
|
/* @__PURE__ */ m(i, {
|
|
279
279
|
label: `Row ${n + 1} explicit unit`,
|
|
280
|
-
value:
|
|
281
|
-
onChange: (
|
|
280
|
+
value: e.unit ?? "",
|
|
281
|
+
onChange: (t) => H(e.id, { unit: t })
|
|
282
282
|
}),
|
|
283
283
|
/* @__PURE__ */ m(i, {
|
|
284
284
|
label: `Row ${n + 1} supplied unit rate`,
|
|
285
|
-
value:
|
|
286
|
-
onChange: (
|
|
285
|
+
value: e.unitRateMajor ?? "",
|
|
286
|
+
onChange: (t) => H(e.id, { unitRateMajor: t })
|
|
287
287
|
})
|
|
288
288
|
]
|
|
289
289
|
}),
|
|
@@ -294,16 +294,16 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
294
294
|
w.currency.minorUnitDigits,
|
|
295
295
|
". Amount stays as supplied, not quantity × rate."
|
|
296
296
|
] }),
|
|
297
|
-
/* @__PURE__ */ h(
|
|
297
|
+
/* @__PURE__ */ h(t, {
|
|
298
298
|
type: "button",
|
|
299
299
|
variant: "outline",
|
|
300
300
|
disabled: w.rows.length === 1,
|
|
301
|
-
onClick: () => V({ rows: w.rows.filter((
|
|
301
|
+
onClick: () => V({ rows: w.rows.filter((t) => t.id !== e.id) }),
|
|
302
302
|
children: ["Remove row ", n + 1]
|
|
303
303
|
})
|
|
304
304
|
]
|
|
305
|
-
},
|
|
306
|
-
/* @__PURE__ */ m(
|
|
305
|
+
}, e.id)),
|
|
306
|
+
/* @__PURE__ */ m(t, {
|
|
307
307
|
type: "button",
|
|
308
308
|
variant: "outline",
|
|
309
309
|
disabled: w.rows.length >= 100,
|
|
@@ -322,7 +322,7 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
322
322
|
}] }),
|
|
323
323
|
children: "Add reported row"
|
|
324
324
|
}),
|
|
325
|
-
/* @__PURE__ */ m(
|
|
325
|
+
/* @__PURE__ */ m(e, {
|
|
326
326
|
currentOnly: !0,
|
|
327
327
|
value: E,
|
|
328
328
|
onChange: D,
|
|
@@ -336,12 +336,12 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
336
336
|
}),
|
|
337
337
|
/* @__PURE__ */ h("div", {
|
|
338
338
|
className: "flex flex-wrap gap-3",
|
|
339
|
-
children: [/* @__PURE__ */ m(
|
|
339
|
+
children: [/* @__PURE__ */ m(t, {
|
|
340
340
|
type: "button",
|
|
341
341
|
variant: "outline",
|
|
342
342
|
onClick: () => void U(),
|
|
343
343
|
children: "Preview reported comparison"
|
|
344
|
-
}), /* @__PURE__ */ m(
|
|
344
|
+
}), /* @__PURE__ */ m(t, {
|
|
345
345
|
type: "submit",
|
|
346
346
|
disabled: !x || B?.recordable !== !0 || !E.length || !!y && !O.trim(),
|
|
347
347
|
children: "Record immutable comparison"
|
|
@@ -362,5 +362,4 @@ function v({ estimate: v, previous: y, disabled: b, canRecord: x, onPreview: S,
|
|
|
362
362
|
]
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
|
-
|
|
366
|
-
export { v as InvoiceForm };
|
|
365
|
+
export { v as InvoiceForm, _ as invoiceEstimatePin };
|