@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,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import e from "../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
|
|
2
|
+
import t from "../node_modules/lucide-react/dist/esm/icons/truck.js";
|
|
3
|
+
import { StatusBadge as n } from "./StatusBadge.js";
|
|
4
4
|
import { Card as r, CardContent as i, CardHeader as a, CardTitle as o, Table as s, TableBody as c, TableCell as l, TableHead as u, TableHeader as d, TableRow as f } from "./ui.js";
|
|
5
|
-
import {
|
|
5
|
+
import { formatCurrency as p } from "../utils/formatters.js";
|
|
6
6
|
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/movethewheels/components/ShippingQuoteResults.tsx
|
|
8
8
|
var _ = {
|
|
9
9
|
bg: "bg-status-success-bg-subtle",
|
|
10
10
|
text: "text-status-success-text"
|
|
@@ -22,19 +22,19 @@ function b(e, t) {
|
|
|
22
22
|
}
|
|
23
23
|
function x({ quote: e, t }) {
|
|
24
24
|
return /* @__PURE__ */ g(m, { children: [
|
|
25
|
-
e.isCheapest && /* @__PURE__ */ h(
|
|
25
|
+
e.isCheapest && /* @__PURE__ */ h(n, {
|
|
26
26
|
status: t("movethewheels.shipping.results.cheapest", "Cheapest"),
|
|
27
27
|
customColors: _,
|
|
28
28
|
size: "sm",
|
|
29
29
|
showDot: !1
|
|
30
30
|
}),
|
|
31
|
-
e.isFastest && /* @__PURE__ */ h(
|
|
31
|
+
e.isFastest && /* @__PURE__ */ h(n, {
|
|
32
32
|
status: t("movethewheels.shipping.results.fastest", "Fastest"),
|
|
33
33
|
customColors: v,
|
|
34
34
|
size: "sm",
|
|
35
35
|
showDot: !1
|
|
36
36
|
}),
|
|
37
|
-
e.isRecommended && /* @__PURE__ */ h(
|
|
37
|
+
e.isRecommended && /* @__PURE__ */ h(n, {
|
|
38
38
|
status: t("movethewheels.shipping.results.recommended", "Recommended"),
|
|
39
39
|
customColors: v,
|
|
40
40
|
size: "sm",
|
|
@@ -52,7 +52,7 @@ function S({ estimate: e, t: s }) {
|
|
|
52
52
|
"aria-hidden": "true"
|
|
53
53
|
}),
|
|
54
54
|
s("movethewheels.shipping.ownFleet.title", "Your own vehicle"),
|
|
55
|
-
/* @__PURE__ */ h(
|
|
55
|
+
/* @__PURE__ */ h(n, {
|
|
56
56
|
status: s("movethewheels.shipping.ownFleet.estimate", "Your estimate"),
|
|
57
57
|
customColors: v,
|
|
58
58
|
size: "sm",
|
|
@@ -64,21 +64,21 @@ function S({ estimate: e, t: s }) {
|
|
|
64
64
|
children: [
|
|
65
65
|
/* @__PURE__ */ h("p", {
|
|
66
66
|
className: "text-2xl font-semibold",
|
|
67
|
-
children:
|
|
67
|
+
children: p(e.cost, e.currency)
|
|
68
68
|
}),
|
|
69
69
|
/* @__PURE__ */ g("p", {
|
|
70
70
|
className: "text-sm text-text-secondary",
|
|
71
71
|
children: [
|
|
72
72
|
e.distanceKm,
|
|
73
73
|
" km × ",
|
|
74
|
-
|
|
74
|
+
p(e.costPerKm, e.currency),
|
|
75
75
|
"/km",
|
|
76
|
-
e.fixedCost > 0 && ` + ${
|
|
76
|
+
e.fixedCost > 0 && ` + ${p(e.fixedCost, e.currency)}`
|
|
77
77
|
]
|
|
78
78
|
}),
|
|
79
79
|
c !== null && /* @__PURE__ */ h("p", {
|
|
80
80
|
className: `text-sm font-medium ${e.isCheaperThanCouriers ? "text-status-success-text" : "text-status-warning-text"}`,
|
|
81
|
-
children: e.isCheaperThanCouriers ? `${s("movethewheels.shipping.ownFleet.cheaper", "Your own vehicle is cheaper than the cheapest courier by")} ${
|
|
81
|
+
children: e.isCheaperThanCouriers ? `${s("movethewheels.shipping.ownFleet.cheaper", "Your own vehicle is cheaper than the cheapest courier by")} ${p(c, e.currency)}` : c === 0 ? s("movethewheels.shipping.ownFleet.same", "Same cost as the cheapest courier") : `${s("movethewheels.shipping.ownFleet.dearer", "The cheapest courier is cheaper by")} ${p(-c, e.currency)}`
|
|
82
82
|
}),
|
|
83
83
|
/* @__PURE__ */ h("p", {
|
|
84
84
|
className: "text-xs text-text-secondary",
|
|
@@ -87,7 +87,7 @@ function S({ estimate: e, t: s }) {
|
|
|
87
87
|
]
|
|
88
88
|
})] });
|
|
89
89
|
}
|
|
90
|
-
function C({ result: t, t:
|
|
90
|
+
function C({ result: t, t: n }) {
|
|
91
91
|
let _ = t.providers.filter((e) => !e.ok);
|
|
92
92
|
return /* @__PURE__ */ g("div", {
|
|
93
93
|
className: "space-y-4",
|
|
@@ -103,17 +103,17 @@ function C({ result: t, t: p }) {
|
|
|
103
103
|
}, t.provider)),
|
|
104
104
|
t.ownFleet && /* @__PURE__ */ h(S, {
|
|
105
105
|
estimate: t.ownFleet,
|
|
106
|
-
t:
|
|
106
|
+
t: n
|
|
107
107
|
}),
|
|
108
108
|
/* @__PURE__ */ g(r, { children: [/* @__PURE__ */ g(a, { children: [/* @__PURE__ */ g(o, { children: [
|
|
109
|
-
|
|
109
|
+
n("movethewheels.shipping.results.title", "Courier options"),
|
|
110
110
|
" (",
|
|
111
111
|
t.quotes.length,
|
|
112
112
|
")"
|
|
113
113
|
] }), /* @__PURE__ */ g("p", {
|
|
114
114
|
className: "text-sm text-text-secondary",
|
|
115
115
|
children: [
|
|
116
|
-
|
|
116
|
+
n("movethewheels.shipping.results.chargeableWeight", "Charged on"),
|
|
117
117
|
" ",
|
|
118
118
|
t.chargeableWeightKg,
|
|
119
119
|
" kg"
|
|
@@ -122,10 +122,10 @@ function C({ result: t, t: p }) {
|
|
|
122
122
|
className: "p-0",
|
|
123
123
|
children: t.quotes.length === 0 ? /* @__PURE__ */ h("p", {
|
|
124
124
|
className: "px-6 pb-6 text-sm text-text-secondary",
|
|
125
|
-
children: _.length > 0 ?
|
|
125
|
+
children: _.length > 0 ? n("movethewheels.shipping.results.allFailed", "No rates could be fetched — see the message above.") : n("movethewheels.shipping.results.noServiceable", "No courier serves this pincode pair.")
|
|
126
126
|
}) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("ul", {
|
|
127
127
|
className: "divide-y md:hidden",
|
|
128
|
-
"aria-label":
|
|
128
|
+
"aria-label": n("movethewheels.shipping.results.title", "Courier options"),
|
|
129
129
|
children: t.quotes.map((e) => /* @__PURE__ */ g("li", {
|
|
130
130
|
className: "space-y-2 px-4 py-4",
|
|
131
131
|
children: [
|
|
@@ -136,21 +136,21 @@ function C({ result: t, t: p }) {
|
|
|
136
136
|
children: e.courierName
|
|
137
137
|
}), /* @__PURE__ */ h("span", {
|
|
138
138
|
className: "shrink-0 text-lg font-semibold",
|
|
139
|
-
children:
|
|
139
|
+
children: p(e.price, e.currency)
|
|
140
140
|
})]
|
|
141
141
|
}),
|
|
142
142
|
/* @__PURE__ */ h("div", {
|
|
143
143
|
className: "flex flex-wrap items-center gap-2",
|
|
144
144
|
children: /* @__PURE__ */ h(x, {
|
|
145
145
|
quote: e,
|
|
146
|
-
t:
|
|
146
|
+
t: n
|
|
147
147
|
})
|
|
148
148
|
}),
|
|
149
149
|
/* @__PURE__ */ h("p", {
|
|
150
150
|
className: "text-sm text-text-secondary",
|
|
151
151
|
children: [
|
|
152
|
-
b(e,
|
|
153
|
-
y(e,
|
|
152
|
+
b(e, n),
|
|
153
|
+
y(e, n),
|
|
154
154
|
e.rating === null ? null : `${e.rating.toFixed(1)} ★`
|
|
155
155
|
].filter((e) => e !== "—" && e !== null).join(" · ")
|
|
156
156
|
})
|
|
@@ -159,13 +159,13 @@ function C({ result: t, t: p }) {
|
|
|
159
159
|
}), /* @__PURE__ */ h("div", {
|
|
160
160
|
className: "hidden md:block",
|
|
161
161
|
children: /* @__PURE__ */ g(s, { children: [/* @__PURE__ */ h(d, { children: /* @__PURE__ */ g(f, { children: [
|
|
162
|
-
/* @__PURE__ */ h(u, { children:
|
|
163
|
-
/* @__PURE__ */ h(u, { children:
|
|
164
|
-
/* @__PURE__ */ h(u, { children:
|
|
165
|
-
/* @__PURE__ */ h(u, { children:
|
|
162
|
+
/* @__PURE__ */ h(u, { children: n("movethewheels.shipping.results.courier", "Courier") }),
|
|
163
|
+
/* @__PURE__ */ h(u, { children: n("movethewheels.shipping.results.mode", "Mode") }),
|
|
164
|
+
/* @__PURE__ */ h(u, { children: n("movethewheels.shipping.results.transit", "Estimated delivery") }),
|
|
165
|
+
/* @__PURE__ */ h(u, { children: n("movethewheels.shipping.results.rating", "Rating") }),
|
|
166
166
|
/* @__PURE__ */ h(u, {
|
|
167
167
|
className: "text-right",
|
|
168
|
-
children:
|
|
168
|
+
children: n("movethewheels.shipping.results.price", "Price")
|
|
169
169
|
})
|
|
170
170
|
] }) }), /* @__PURE__ */ h(c, { children: t.quotes.map((e) => /* @__PURE__ */ g(f, { children: [
|
|
171
171
|
/* @__PURE__ */ h(l, { children: /* @__PURE__ */ g("div", {
|
|
@@ -175,15 +175,15 @@ function C({ result: t, t: p }) {
|
|
|
175
175
|
children: e.courierName
|
|
176
176
|
}), /* @__PURE__ */ h(x, {
|
|
177
177
|
quote: e,
|
|
178
|
-
t:
|
|
178
|
+
t: n
|
|
179
179
|
})]
|
|
180
180
|
}) }),
|
|
181
|
-
/* @__PURE__ */ h(l, { children: b(e,
|
|
182
|
-
/* @__PURE__ */ h(l, { children: y(e,
|
|
181
|
+
/* @__PURE__ */ h(l, { children: b(e, n) }),
|
|
182
|
+
/* @__PURE__ */ h(l, { children: y(e, n) }),
|
|
183
183
|
/* @__PURE__ */ h(l, { children: e.rating === null ? "—" : e.rating.toFixed(1) }),
|
|
184
184
|
/* @__PURE__ */ h(l, {
|
|
185
185
|
className: "text-right font-medium",
|
|
186
|
-
children:
|
|
186
|
+
children: p(e.price, e.currency)
|
|
187
187
|
})
|
|
188
188
|
] }, `${e.provider}:${e.courierId}`)) })] })
|
|
189
189
|
})] })
|
|
@@ -191,5 +191,4 @@ function C({ result: t, t: p }) {
|
|
|
191
191
|
]
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
//#endregion
|
|
195
194
|
export { C as ShippingQuoteResults };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Button as e } from "./ui.js";
|
|
2
|
+
import { cn as t } from "../utils/cn.js";
|
|
3
3
|
import { forwardRef as n, useCallback as r, useEffect as i, useImperativeHandle as a, useRef as o, useState as s } from "react";
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/movethewheels/components/SignaturePad.tsx
|
|
6
6
|
var u = n(({ className: n, onChange: u }, d) => {
|
|
7
7
|
let f = o(null), p = o(!1), m = o(!1), h = o(null), [g, _] = s(!1), v = r(() => {
|
|
8
8
|
let e = f.current;
|
|
@@ -27,7 +27,7 @@ var u = n(({ className: n, onChange: u }, d) => {
|
|
|
27
27
|
};
|
|
28
28
|
}, []), b = r((e) => {
|
|
29
29
|
let t = f.current, n = v();
|
|
30
|
-
|
|
30
|
+
t && n && (t.setPointerCapture(e.pointerId), p.current = !0, h.current = y(e));
|
|
31
31
|
}, [v, y]), x = r((e) => {
|
|
32
32
|
if (!p.current) return;
|
|
33
33
|
let t = v(), n = h.current;
|
|
@@ -44,14 +44,14 @@ var u = n(({ className: n, onChange: u }, d) => {
|
|
|
44
44
|
t?.hasPointerCapture(e.pointerId) && t.releasePointerCapture(e.pointerId);
|
|
45
45
|
}, []), C = r(() => {
|
|
46
46
|
let e = f.current, t = v();
|
|
47
|
-
|
|
47
|
+
e && t && (t.clearRect(0, 0, e.width, e.height), m.current = !1, _(!1), u?.(!1));
|
|
48
48
|
}, [v, u]), w = r(() => m.current ? f.current?.toDataURL("image/png") ?? null : null, []);
|
|
49
49
|
return a(d, () => ({
|
|
50
50
|
clear: C,
|
|
51
51
|
isEmpty: () => !m.current,
|
|
52
52
|
toDataUrl: w
|
|
53
53
|
}), [C, w]), /* @__PURE__ */ l("div", {
|
|
54
|
-
className:
|
|
54
|
+
className: t("space-y-2", n),
|
|
55
55
|
children: [/* @__PURE__ */ c("canvas", {
|
|
56
56
|
ref: f,
|
|
57
57
|
className: "w-full h-40 rounded-lg border-2 border-dashed border-border bg-bg-surface text-text-primary touch-none cursor-crosshair",
|
|
@@ -66,7 +66,7 @@ var u = n(({ className: n, onChange: u }, d) => {
|
|
|
66
66
|
children: [/* @__PURE__ */ c("p", {
|
|
67
67
|
className: "text-xs text-text-secondary",
|
|
68
68
|
children: g ? "Signature captured" : "Sign above with your finger or mouse"
|
|
69
|
-
}), /* @__PURE__ */ c(
|
|
69
|
+
}), /* @__PURE__ */ c(e, {
|
|
70
70
|
type: "button",
|
|
71
71
|
variant: "ghost",
|
|
72
72
|
size: "sm",
|
|
@@ -78,5 +78,4 @@ var u = n(({ className: n, onChange: u }, d) => {
|
|
|
78
78
|
});
|
|
79
79
|
});
|
|
80
80
|
u.displayName = "SignaturePad";
|
|
81
|
-
//#endregion
|
|
82
81
|
export { u as SignaturePad };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../utils/cn.js";
|
|
|
2
2
|
import { Badge as t } from "./ui.js";
|
|
3
3
|
import { DRIVER_STATUS_COLORS as n, DRIVER_STATUS_LABELS as r, ORDER_STATUS_COLORS as i, PRIORITY_COLORS as a, VEHICLE_STATUS_COLORS as o, VEHICLE_STATUS_LABELS as s } from "../constants/index.js";
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/movethewheels/components/StatusBadge.tsx
|
|
6
6
|
var u = {
|
|
7
7
|
sm: "text-xs px-2 py-0.5",
|
|
8
8
|
md: "text-sm px-2.5 py-1",
|
|
@@ -104,5 +104,4 @@ function h({ type: n, size: r = "md", className: i }) {
|
|
|
104
104
|
}), n]
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
//#endregion
|
|
108
107
|
export { m as PaymentStatusBadge, f as PriorityBadge, d as StatusBadge, p as TypeBadge, h as VehicleTypeBadge };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { FormError as
|
|
4
|
-
import {
|
|
1
|
+
import { Button as e, Input as t, Label as n } from "./ui.js";
|
|
2
|
+
import { EntityCombobox as r } from "./EntityCombobox.js";
|
|
3
|
+
import { FormError as i } from "./FormError.js";
|
|
4
|
+
import { useProduct as a, useProducts as o, useStockActions as s, useWarehouse as c, useWarehouses as l } from "../hooks/useInventory.js";
|
|
5
5
|
import { useEffect as u, useState as d } from "react";
|
|
6
6
|
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
7
|
import { ResponsiveDialog as h, ResponsiveDialogContent as g, ResponsiveDialogDescription as _, ResponsiveDialogFooter as v, ResponsiveDialogHeader as y, ResponsiveDialogTitle as b } from "@burdenoff/fe-libs/ui";
|
|
8
|
-
|
|
8
|
+
// src/movethewheels/components/StockActionDialogs.tsx
|
|
9
9
|
function x(e) {
|
|
10
10
|
let t = e.trim();
|
|
11
11
|
if (!/^[+-]?\d+$/.test(t)) return null;
|
|
@@ -15,16 +15,16 @@ function x(e) {
|
|
|
15
15
|
function S(e, t) {
|
|
16
16
|
return e instanceof Error && e.message ? e.message : t;
|
|
17
17
|
}
|
|
18
|
-
function C({ id:
|
|
19
|
-
let [
|
|
20
|
-
search:
|
|
18
|
+
function C({ id: e, value: t, onChange: n, error: i }) {
|
|
19
|
+
let [s, c] = d(""), { products: l, totalProducts: u, hasMore: h, isLoading: g, isLoadingMore: _, loadMore: v } = o({
|
|
20
|
+
search: s,
|
|
21
21
|
limit: 20
|
|
22
|
-
}), { product: y, isLoading: b } =
|
|
23
|
-
return /* @__PURE__ */ p(
|
|
24
|
-
id:
|
|
25
|
-
value:
|
|
26
|
-
onChange:
|
|
27
|
-
options:
|
|
22
|
+
}), { product: y, isLoading: b } = a(t || void 0);
|
|
23
|
+
return /* @__PURE__ */ p(r, {
|
|
24
|
+
id: e,
|
|
25
|
+
value: t,
|
|
26
|
+
onChange: n,
|
|
27
|
+
options: l,
|
|
28
28
|
loading: g,
|
|
29
29
|
required: !0,
|
|
30
30
|
getId: (e) => e.id,
|
|
@@ -46,24 +46,24 @@ function C({ id: n, value: r, onChange: i, error: a }) {
|
|
|
46
46
|
placeholder: "Search your product catalog",
|
|
47
47
|
searchPlaceholder: "Search by name or SKU…",
|
|
48
48
|
emptyText: "No products found.",
|
|
49
|
-
onSearchChange:
|
|
49
|
+
onSearchChange: c,
|
|
50
50
|
hasMore: h,
|
|
51
51
|
totalCount: u,
|
|
52
52
|
onLoadMore: v,
|
|
53
53
|
loadingMore: _,
|
|
54
|
-
error:
|
|
54
|
+
error: i
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function w({ id: e, value: t, onChange: n, excludeId:
|
|
58
|
-
let [
|
|
59
|
-
search:
|
|
57
|
+
function w({ id: e, value: t, onChange: n, excludeId: i, error: a }) {
|
|
58
|
+
let [o, s] = d(""), { warehouses: u, totalWarehouses: h, hasMore: g, isLoading: _, isLoadingMore: v, loadMore: y } = l({
|
|
59
|
+
search: o,
|
|
60
60
|
limit: 20
|
|
61
|
-
}), { warehouse: b, isLoading: x } =
|
|
62
|
-
return /* @__PURE__ */ p(
|
|
61
|
+
}), { warehouse: b, isLoading: x } = c(t || void 0), S = i ? u.filter((e) => e.id !== i) : u;
|
|
62
|
+
return /* @__PURE__ */ p(r, {
|
|
63
63
|
id: e,
|
|
64
64
|
value: t,
|
|
65
65
|
onChange: n,
|
|
66
|
-
options:
|
|
66
|
+
options: S,
|
|
67
67
|
loading: _,
|
|
68
68
|
required: !0,
|
|
69
69
|
getId: (e) => e.id,
|
|
@@ -85,33 +85,33 @@ function w({ id: e, value: t, onChange: n, excludeId: a, error: o }) {
|
|
|
85
85
|
placeholder: "Search warehouses",
|
|
86
86
|
searchPlaceholder: "Search by name or code…",
|
|
87
87
|
emptyText: "No warehouses found.",
|
|
88
|
-
onSearchChange:
|
|
88
|
+
onSearchChange: s,
|
|
89
89
|
hasMore: g,
|
|
90
90
|
totalCount: h,
|
|
91
91
|
onLoadMore: y,
|
|
92
92
|
loadingMore: v,
|
|
93
|
-
error:
|
|
93
|
+
error: a
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
-
function T({ submitting:
|
|
97
|
-
return /* @__PURE__ */ m(v, { children: [/* @__PURE__ */ p(
|
|
96
|
+
function T({ submitting: t, submitLabel: n, submittingLabel: r, onCancel: i, onSubmit: a }) {
|
|
97
|
+
return /* @__PURE__ */ m(v, { children: [/* @__PURE__ */ p(e, {
|
|
98
98
|
variant: "outline",
|
|
99
|
-
onClick: r,
|
|
100
|
-
disabled: e,
|
|
101
|
-
children: "Cancel"
|
|
102
|
-
}), /* @__PURE__ */ p(a, {
|
|
103
99
|
onClick: i,
|
|
104
|
-
disabled:
|
|
105
|
-
children:
|
|
100
|
+
disabled: t,
|
|
101
|
+
children: "Cancel"
|
|
102
|
+
}), /* @__PURE__ */ p(e, {
|
|
103
|
+
onClick: a,
|
|
104
|
+
disabled: t,
|
|
105
|
+
children: t ? r : n
|
|
106
106
|
})] });
|
|
107
107
|
}
|
|
108
|
-
function E({ open: e, onOpenChange:
|
|
109
|
-
let { receiveStock:
|
|
108
|
+
function E({ open: e, onOpenChange: r, onDone: a }) {
|
|
109
|
+
let { receiveStock: o } = s(), [c, l] = d(""), [f, v] = d(""), [E, D] = d(""), [O, k] = d(""), [A, j] = d(null), [M, N] = d(!1);
|
|
110
110
|
return u(() => {
|
|
111
111
|
e && (l(""), v(""), D(""), k(""), j(null), N(!1));
|
|
112
112
|
}, [e]), /* @__PURE__ */ p(h, {
|
|
113
113
|
open: e,
|
|
114
|
-
onOpenChange:
|
|
114
|
+
onOpenChange: r,
|
|
115
115
|
children: /* @__PURE__ */ m(g, { children: [
|
|
116
116
|
/* @__PURE__ */ m(y, { children: [/* @__PURE__ */ p(b, { children: "Receive stock" }), /* @__PURE__ */ p(_, { children: "Add units of a product to a warehouse. If the warehouse already stocks it, the units are added to that line; otherwise a new stock line is created." })] }),
|
|
117
117
|
/* @__PURE__ */ m("div", {
|
|
@@ -119,18 +119,18 @@ function E({ open: e, onOpenChange: t, onDone: r }) {
|
|
|
119
119
|
children: [
|
|
120
120
|
/* @__PURE__ */ m("div", {
|
|
121
121
|
className: "space-y-2",
|
|
122
|
-
children: [/* @__PURE__ */ p(
|
|
122
|
+
children: [/* @__PURE__ */ p(n, {
|
|
123
123
|
htmlFor: "receive-product",
|
|
124
124
|
children: "Product *"
|
|
125
125
|
}), /* @__PURE__ */ p(C, {
|
|
126
126
|
id: "receive-product",
|
|
127
|
-
value:
|
|
127
|
+
value: c,
|
|
128
128
|
onChange: l
|
|
129
129
|
})]
|
|
130
130
|
}),
|
|
131
131
|
/* @__PURE__ */ m("div", {
|
|
132
132
|
className: "space-y-2",
|
|
133
|
-
children: [/* @__PURE__ */ p(
|
|
133
|
+
children: [/* @__PURE__ */ p(n, {
|
|
134
134
|
htmlFor: "receive-warehouse",
|
|
135
135
|
children: "Warehouse *"
|
|
136
136
|
}), /* @__PURE__ */ p(w, {
|
|
@@ -143,10 +143,10 @@ function E({ open: e, onOpenChange: t, onDone: r }) {
|
|
|
143
143
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
|
|
144
144
|
children: [/* @__PURE__ */ m("div", {
|
|
145
145
|
className: "space-y-2",
|
|
146
|
-
children: [/* @__PURE__ */ p(
|
|
146
|
+
children: [/* @__PURE__ */ p(n, {
|
|
147
147
|
htmlFor: "receive-quantity",
|
|
148
148
|
children: "Quantity received *"
|
|
149
|
-
}), /* @__PURE__ */ p(
|
|
149
|
+
}), /* @__PURE__ */ p(t, {
|
|
150
150
|
id: "receive-quantity",
|
|
151
151
|
type: "number",
|
|
152
152
|
inputMode: "numeric",
|
|
@@ -159,11 +159,11 @@ function E({ open: e, onOpenChange: t, onDone: r }) {
|
|
|
159
159
|
}), /* @__PURE__ */ m("div", {
|
|
160
160
|
className: "space-y-2",
|
|
161
161
|
children: [
|
|
162
|
-
/* @__PURE__ */ p(
|
|
162
|
+
/* @__PURE__ */ p(n, {
|
|
163
163
|
htmlFor: "receive-reorder",
|
|
164
164
|
children: "Reorder point (optional)"
|
|
165
165
|
}),
|
|
166
|
-
/* @__PURE__ */ p(
|
|
166
|
+
/* @__PURE__ */ p(t, {
|
|
167
167
|
id: "receive-reorder",
|
|
168
168
|
type: "number",
|
|
169
169
|
inputMode: "numeric",
|
|
@@ -180,30 +180,30 @@ function E({ open: e, onOpenChange: t, onDone: r }) {
|
|
|
180
180
|
]
|
|
181
181
|
})]
|
|
182
182
|
}),
|
|
183
|
-
/* @__PURE__ */ p(
|
|
183
|
+
/* @__PURE__ */ p(i, { message: A })
|
|
184
184
|
]
|
|
185
185
|
}),
|
|
186
186
|
/* @__PURE__ */ p(T, {
|
|
187
187
|
submitting: M,
|
|
188
188
|
submitLabel: "Receive stock",
|
|
189
189
|
submittingLabel: "Receiving…",
|
|
190
|
-
onCancel: () =>
|
|
190
|
+
onCancel: () => r(!1),
|
|
191
191
|
onSubmit: async () => {
|
|
192
|
-
let e = x(E),
|
|
193
|
-
if (!
|
|
192
|
+
let e = x(E), t = O.trim() === "" ? null : x(O);
|
|
193
|
+
if (!c) return j("Choose the product you received.");
|
|
194
194
|
if (!f) return j("Choose the warehouse it was received into.");
|
|
195
195
|
if (e === null || e <= 0) return j("Quantity must be a whole number above zero.");
|
|
196
|
-
if (
|
|
197
|
-
if (O.trim() !== "" &&
|
|
196
|
+
if (t !== null && t < 0) return j("Reorder point must be zero or more.");
|
|
197
|
+
if (O.trim() !== "" && t === null) return j("Reorder point must be a whole number.");
|
|
198
198
|
N(!0), j(null);
|
|
199
199
|
try {
|
|
200
|
-
let
|
|
201
|
-
productId:
|
|
200
|
+
let n = await o({
|
|
201
|
+
productId: c,
|
|
202
202
|
warehouseId: f,
|
|
203
203
|
quantity: e,
|
|
204
|
-
reorderPoint:
|
|
204
|
+
reorderPoint: t
|
|
205
205
|
});
|
|
206
|
-
|
|
206
|
+
r(!1), a(`Received ${e.toLocaleString()} unit(s) — ${n.productName ?? "product"} now has ${n.quantity.toLocaleString()} on hand at ${n.warehouseName ?? "the warehouse"}.`);
|
|
207
207
|
} catch (e) {
|
|
208
208
|
j(S(e, "Failed to receive stock."));
|
|
209
209
|
} finally {
|
|
@@ -214,18 +214,18 @@ function E({ open: e, onOpenChange: t, onDone: r }) {
|
|
|
214
214
|
] })
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
function D({ line: e, open:
|
|
218
|
-
let { adjustStock:
|
|
217
|
+
function D({ line: e, open: r, onOpenChange: a, onDone: o }) {
|
|
218
|
+
let { adjustStock: c } = s(), [l, f] = d(""), [v, C] = d(null), [w, E] = d(!1);
|
|
219
219
|
u(() => {
|
|
220
|
-
|
|
221
|
-
}, [
|
|
220
|
+
r && (f(""), C(null), E(!1));
|
|
221
|
+
}, [r, e?.id]);
|
|
222
222
|
let D = x(l), O = e && D !== null && D !== 0 ? {
|
|
223
223
|
onHand: e.onHand + D,
|
|
224
224
|
available: e.available + D
|
|
225
225
|
} : null, k = O !== null && (O.onHand < 0 || O.available < 0);
|
|
226
226
|
return /* @__PURE__ */ p(h, {
|
|
227
|
-
open:
|
|
228
|
-
onOpenChange:
|
|
227
|
+
open: r,
|
|
228
|
+
onOpenChange: a,
|
|
229
229
|
children: /* @__PURE__ */ m(g, { children: [
|
|
230
230
|
/* @__PURE__ */ m(y, { children: [/* @__PURE__ */ p(b, { children: "Adjust stock" }), /* @__PURE__ */ p(_, { children: e ? `${e.productName} (${e.sku}) at ${e.warehouseName}. Use a positive number to add units and a negative one to remove them, e.g. after a count or write-off.` : "Choose a stock line to adjust." })] }),
|
|
231
231
|
e && /* @__PURE__ */ m("div", {
|
|
@@ -250,11 +250,11 @@ function D({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
250
250
|
/* @__PURE__ */ m("div", {
|
|
251
251
|
className: "space-y-2",
|
|
252
252
|
children: [
|
|
253
|
-
/* @__PURE__ */ p(
|
|
253
|
+
/* @__PURE__ */ p(n, {
|
|
254
254
|
htmlFor: "adjust-change",
|
|
255
255
|
children: "Change (units) *"
|
|
256
256
|
}),
|
|
257
|
-
/* @__PURE__ */ p(
|
|
257
|
+
/* @__PURE__ */ p(t, {
|
|
258
258
|
id: "adjust-change",
|
|
259
259
|
type: "number",
|
|
260
260
|
inputMode: "numeric",
|
|
@@ -269,22 +269,22 @@ function D({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
269
269
|
})
|
|
270
270
|
]
|
|
271
271
|
}),
|
|
272
|
-
/* @__PURE__ */ p(
|
|
272
|
+
/* @__PURE__ */ p(i, { message: v })
|
|
273
273
|
]
|
|
274
274
|
}),
|
|
275
275
|
/* @__PURE__ */ p(T, {
|
|
276
276
|
submitting: w,
|
|
277
277
|
submitLabel: "Apply adjustment",
|
|
278
278
|
submittingLabel: "Applying…",
|
|
279
|
-
onCancel: () =>
|
|
279
|
+
onCancel: () => a(!1),
|
|
280
280
|
onSubmit: async () => {
|
|
281
281
|
if (e) {
|
|
282
282
|
if (D === null || D === 0) return C("Enter a whole-number change other than zero, e.g. 10 or -3.");
|
|
283
283
|
if (k) return C(`Only ${e.available.toLocaleString()} unit(s) are available to remove.`);
|
|
284
284
|
E(!0), C(null);
|
|
285
285
|
try {
|
|
286
|
-
let t = await
|
|
287
|
-
|
|
286
|
+
let t = await c(e.id, D);
|
|
287
|
+
a(!1), o(`Adjusted ${e.productName} at ${e.warehouseName} by ${D > 0 ? "+" : ""}${D.toLocaleString()} — now ${t.quantity.toLocaleString()} on hand.`);
|
|
288
288
|
} catch (e) {
|
|
289
289
|
C(S(e, "Failed to adjust stock."));
|
|
290
290
|
} finally {
|
|
@@ -296,13 +296,13 @@ function D({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
296
296
|
] })
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
function O({ line: e, open:
|
|
300
|
-
let { transferStock:
|
|
299
|
+
function O({ line: e, open: r, onOpenChange: a, onDone: o }) {
|
|
300
|
+
let { transferStock: c } = s(), [l, f] = d(""), [v, C] = d(""), [E, D] = d(null), [O, k] = d(!1);
|
|
301
301
|
return u(() => {
|
|
302
|
-
|
|
303
|
-
}, [
|
|
304
|
-
open:
|
|
305
|
-
onOpenChange:
|
|
302
|
+
r && (f(""), C(""), D(null), k(!1));
|
|
303
|
+
}, [r, e?.id]), /* @__PURE__ */ p(h, {
|
|
304
|
+
open: r,
|
|
305
|
+
onOpenChange: a,
|
|
306
306
|
children: /* @__PURE__ */ m(g, { children: [
|
|
307
307
|
/* @__PURE__ */ m(y, { children: [/* @__PURE__ */ p(b, { children: "Transfer stock" }), /* @__PURE__ */ p(_, { children: e ? `Move available ${e.productName} (${e.sku}) out of ${e.warehouseName}. Both warehouses are updated together.` : "Choose a stock line to transfer." })] }),
|
|
308
308
|
e && /* @__PURE__ */ m("div", {
|
|
@@ -321,7 +321,7 @@ function O({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
321
321
|
}),
|
|
322
322
|
/* @__PURE__ */ m("div", {
|
|
323
323
|
className: "space-y-2",
|
|
324
|
-
children: [/* @__PURE__ */ p(
|
|
324
|
+
children: [/* @__PURE__ */ p(n, {
|
|
325
325
|
htmlFor: "transfer-destination",
|
|
326
326
|
children: "Destination warehouse *"
|
|
327
327
|
}), /* @__PURE__ */ p(w, {
|
|
@@ -333,10 +333,10 @@ function O({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
333
333
|
}),
|
|
334
334
|
/* @__PURE__ */ m("div", {
|
|
335
335
|
className: "space-y-2",
|
|
336
|
-
children: [/* @__PURE__ */ p(
|
|
336
|
+
children: [/* @__PURE__ */ p(n, {
|
|
337
337
|
htmlFor: "transfer-quantity",
|
|
338
338
|
children: "Quantity *"
|
|
339
|
-
}), /* @__PURE__ */ p(
|
|
339
|
+
}), /* @__PURE__ */ p(t, {
|
|
340
340
|
id: "transfer-quantity",
|
|
341
341
|
type: "number",
|
|
342
342
|
inputMode: "numeric",
|
|
@@ -348,14 +348,14 @@ function O({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
348
348
|
placeholder: "Units to move"
|
|
349
349
|
})]
|
|
350
350
|
}),
|
|
351
|
-
/* @__PURE__ */ p(
|
|
351
|
+
/* @__PURE__ */ p(i, { message: E })
|
|
352
352
|
]
|
|
353
353
|
}),
|
|
354
354
|
/* @__PURE__ */ p(T, {
|
|
355
355
|
submitting: O,
|
|
356
356
|
submitLabel: "Transfer stock",
|
|
357
357
|
submittingLabel: "Transferring…",
|
|
358
|
-
onCancel: () =>
|
|
358
|
+
onCancel: () => a(!1),
|
|
359
359
|
onSubmit: async () => {
|
|
360
360
|
if (!e) return;
|
|
361
361
|
let t = x(v);
|
|
@@ -365,12 +365,12 @@ function O({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
365
365
|
if (t > e.available) return D(`Only ${e.available.toLocaleString()} unit(s) are available to transfer.`);
|
|
366
366
|
k(!0), D(null);
|
|
367
367
|
try {
|
|
368
|
-
let n = await
|
|
368
|
+
let n = await c({
|
|
369
369
|
sourceInventoryId: e.id,
|
|
370
370
|
destinationWarehouseId: l,
|
|
371
371
|
quantity: t
|
|
372
372
|
});
|
|
373
|
-
|
|
373
|
+
a(!1), o(`Transferred ${t.toLocaleString()} unit(s) of ${e.productName} from ${e.warehouseName} to ${n.destination.warehouseName ?? "the destination"}.`);
|
|
374
374
|
} catch (e) {
|
|
375
375
|
D(S(e, "Failed to transfer stock."));
|
|
376
376
|
} finally {
|
|
@@ -381,5 +381,4 @@ function O({ line: e, open: t, onOpenChange: r, onDone: i }) {
|
|
|
381
381
|
] })
|
|
382
382
|
});
|
|
383
383
|
}
|
|
384
|
-
//#endregion
|
|
385
384
|
export { D as AdjustStockDialog, E as ReceiveStockDialog, O as TransferStockDialog };
|