@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,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { chainMatches as
|
|
5
|
-
import { ReusePager as
|
|
6
|
-
import {
|
|
1
|
+
import { ProcedureDeviationsDocument as e, ProcedureRunDocument as t, ProcedureStepsDocument as n, RecordProcedureDeviationDocument as r, RecordProcedureStepDocument as i, RevokeProcedureDeviationDocument as a } from "../../src/generated/logistics-procedure-operations.js";
|
|
2
|
+
import { useConditionApi as o, useConditionQuery as s } from "../../hooks/useContainerCondition.js";
|
|
3
|
+
import { useMoveTheWheels as c } from "../../providers/MoveTheWheelsProvider.js";
|
|
4
|
+
import { chainMatches as l, procedureSteps as u, stepLabel as d } from "../../utils/procedureInput.js";
|
|
5
|
+
import { ReusePager as f, ReuseState as p, reuseCard as m } from "../ReuseControls.js";
|
|
6
|
+
import { Button as h } from "../ui.js";
|
|
7
7
|
import { ProcedureHistory as g } from "./ProcedureHistory.js";
|
|
8
8
|
import { ProcedureDeviationForm as _, ProcedureStepForm as v } from "./ProcedureDecisionForm.js";
|
|
9
9
|
import { useEffect as y, useRef as b, useState as x } from "react";
|
|
10
10
|
import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// src/movethewheels/components/logistics-procedure/ProcedureRunWorkbench.tsx
|
|
12
12
|
function T({ id: T, actions: E }) {
|
|
13
|
-
let D =
|
|
13
|
+
let D = o(), { currentUser: O } = c(), [k, ee] = x(0), [A, j] = x(0), [M, N] = x(null), [P, F] = x(null), [I, L] = x(!1), [R, te] = x("RETURN_INSTRUCTION_REVIEW"), [z, ne] = x(""), B = b(!0);
|
|
14
14
|
y(() => (B.current = !0, () => {
|
|
15
15
|
B.current = !1;
|
|
16
16
|
}), []);
|
|
17
|
-
let V =
|
|
17
|
+
let V = s(t, { id: T }, E.revision), H = s(n, {
|
|
18
18
|
executionId: T,
|
|
19
19
|
pagination: {
|
|
20
20
|
limit: 100,
|
|
21
21
|
offset: k
|
|
22
22
|
}
|
|
23
|
-
}, E.revision), U =
|
|
23
|
+
}, E.revision), U = s(e, {
|
|
24
24
|
executionId: T,
|
|
25
25
|
pagination: {
|
|
26
26
|
limit: 100,
|
|
27
27
|
offset: A
|
|
28
28
|
}
|
|
29
|
-
}, E.revision), W = H.data?.mtwProcedureStepPage.items ?? [], G = U.data?.mtwProcedureDeviationPage.items ?? [], K = E.busy || E.uncertain || I, q = !!H.data && !H.data.mtwProcedureStepPage.hasMore && k === 0, J = !!U.data && !U.data.mtwProcedureDeviationPage.hasMore && A === 0, Y = (e) => W.find((t) => t.step === e) ?? null, X = (e) => G.find((t) => t.stepDecisionId === e) ?? null, Z = !!M && q && !
|
|
29
|
+
}, E.revision), W = H.data?.mtwProcedureStepPage.items ?? [], G = U.data?.mtwProcedureDeviationPage.items ?? [], K = E.busy || E.uncertain || I, q = !!H.data && !H.data.mtwProcedureStepPage.hasMore && k === 0, J = !!U.data && !U.data.mtwProcedureDeviationPage.hasMore && A === 0, Y = (e) => W.find((t) => t.step === e) ?? null, X = (e) => G.find((t) => t.stepDecisionId === e) ?? null, Z = !!M && q && !l(M.previous, Y(M.step)), Q = !!P && J && !l(P.previous, X(P.issue.id)), re = async (e) => {
|
|
30
30
|
if (!M || K) throw Error("Review the current step predecessor first.");
|
|
31
31
|
L(!0);
|
|
32
32
|
try {
|
|
33
|
-
let t = await D(
|
|
33
|
+
let t = await D(n, {
|
|
34
34
|
executionId: T,
|
|
35
35
|
pagination: {
|
|
36
36
|
limit: 100,
|
|
@@ -38,16 +38,16 @@ function T({ id: T, actions: E }) {
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
if (!B.current) throw Error("Context changed. Nothing was sent.");
|
|
41
|
-
if (t.mtwProcedureStepPage.hasMore || !
|
|
42
|
-
await E.run(
|
|
41
|
+
if (t.mtwProcedureStepPage.hasMore || !l(M.previous, t.mtwProcedureStepPage.items.find((e) => e.step === M.step) ?? null)) throw Error("Step history changed or exceeds this bounded review. Refresh and review again.");
|
|
42
|
+
await E.run(i, e, "Checklist decision recorded.") && B.current && N(null);
|
|
43
43
|
} finally {
|
|
44
44
|
B.current && L(!1);
|
|
45
45
|
}
|
|
46
|
-
}, $ = async (
|
|
46
|
+
}, $ = async (t, n) => {
|
|
47
47
|
if (!P || K) throw Error("Review the exact issue and deviation predecessor first.");
|
|
48
48
|
L(!0);
|
|
49
49
|
try {
|
|
50
|
-
let
|
|
50
|
+
let i = await D(e, {
|
|
51
51
|
executionId: T,
|
|
52
52
|
pagination: {
|
|
53
53
|
limit: 100,
|
|
@@ -55,24 +55,24 @@ function T({ id: T, actions: E }) {
|
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
if (!B.current) throw Error("Context changed. Nothing was sent.");
|
|
58
|
-
if (
|
|
59
|
-
await E.run(
|
|
58
|
+
if (i.mtwProcedureDeviationPage.hasMore || !l(P.previous, i.mtwProcedureDeviationPage.items.find((e) => e.stepDecisionId === P.issue.id) ?? null)) throw Error("Deviation history changed or exceeds this bounded review.");
|
|
59
|
+
await E.run(n ? a : r, t, "Internal deviation review recorded.") && B.current && F(null);
|
|
60
60
|
} finally {
|
|
61
61
|
B.current && L(!1);
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
return /* @__PURE__ */ w("section", {
|
|
65
|
-
className:
|
|
65
|
+
className: m,
|
|
66
66
|
children: [
|
|
67
|
-
/* @__PURE__ */ C(
|
|
67
|
+
/* @__PURE__ */ C(p, {
|
|
68
68
|
loading: V.loading,
|
|
69
69
|
error: V.error
|
|
70
70
|
}),
|
|
71
|
-
/* @__PURE__ */ C(
|
|
71
|
+
/* @__PURE__ */ C(p, {
|
|
72
72
|
loading: H.loading,
|
|
73
73
|
error: H.error
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ C(
|
|
75
|
+
/* @__PURE__ */ C(p, {
|
|
76
76
|
loading: U.loading,
|
|
77
77
|
error: U.error
|
|
78
78
|
}),
|
|
@@ -82,13 +82,13 @@ function T({ id: T, actions: E }) {
|
|
|
82
82
|
steps: W,
|
|
83
83
|
deviations: G
|
|
84
84
|
}),
|
|
85
|
-
/* @__PURE__ */ C(
|
|
85
|
+
/* @__PURE__ */ C(f, {
|
|
86
86
|
offset: k,
|
|
87
87
|
page: H.data?.mtwProcedureStepPage,
|
|
88
88
|
onChange: ee,
|
|
89
89
|
busy: K || H.loading
|
|
90
90
|
}),
|
|
91
|
-
/* @__PURE__ */ C(
|
|
91
|
+
/* @__PURE__ */ C(f, {
|
|
92
92
|
offset: A,
|
|
93
93
|
page: U.data?.mtwProcedureDeviationPage,
|
|
94
94
|
onChange: j,
|
|
@@ -102,15 +102,15 @@ function T({ id: T, actions: E }) {
|
|
|
102
102
|
disabled: K,
|
|
103
103
|
value: R,
|
|
104
104
|
onChange: (e) => {
|
|
105
|
-
let t =
|
|
105
|
+
let t = u.find((t) => t === e.target.value);
|
|
106
106
|
t && (te(t), N(null));
|
|
107
107
|
},
|
|
108
|
-
children:
|
|
108
|
+
children: u.map((e) => /* @__PURE__ */ C("option", {
|
|
109
109
|
value: e,
|
|
110
|
-
children:
|
|
110
|
+
children: d[e]
|
|
111
111
|
}, e))
|
|
112
112
|
})]
|
|
113
|
-
}), /* @__PURE__ */ C(
|
|
113
|
+
}), /* @__PURE__ */ C(h, {
|
|
114
114
|
type: "button",
|
|
115
115
|
disabled: K || !q || H.loading,
|
|
116
116
|
onClick: () => N({
|
|
@@ -149,7 +149,7 @@ function T({ id: T, actions: E }) {
|
|
|
149
149
|
}), W.filter((e) => e.kind === "ISSUE").map((e) => /* @__PURE__ */ w("option", {
|
|
150
150
|
value: e.id,
|
|
151
151
|
children: [
|
|
152
|
-
|
|
152
|
+
d[e.step],
|
|
153
153
|
" · version ",
|
|
154
154
|
e.version,
|
|
155
155
|
" · ",
|
|
@@ -158,7 +158,7 @@ function T({ id: T, actions: E }) {
|
|
|
158
158
|
}, e.id))]
|
|
159
159
|
})]
|
|
160
160
|
}),
|
|
161
|
-
/* @__PURE__ */ C(
|
|
161
|
+
/* @__PURE__ */ C(h, {
|
|
162
162
|
type: "button",
|
|
163
163
|
disabled: K || !z || !q || !J || H.loading || U.loading || O?.id === V.data.mtwProcedureExecution.executorActorId,
|
|
164
164
|
onClick: () => {
|
|
@@ -186,5 +186,4 @@ function T({ id: T, actions: E }) {
|
|
|
186
186
|
]
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
-
//#endregion
|
|
190
189
|
export { T as ProcedureRunWorkbench };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReusePager as e, ReuseState as t, reuseSelect as n } from "../ReuseControls.js";
|
|
2
2
|
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/movethewheels/components/logistics-procedure/ProcedureSubjectPicker.tsx
|
|
4
4
|
function o({ selection: o, busy: s, onChange: c }) {
|
|
5
5
|
return /* @__PURE__ */ a("fieldset", {
|
|
6
6
|
disabled: s,
|
|
@@ -126,5 +126,4 @@ function o({ selection: o, busy: s, onChange: c }) {
|
|
|
126
126
|
]
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
//#endregion
|
|
130
129
|
export { o as ProcedureSubjectPicker };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Marker as e } from "../../node_modules/react-leaflet/lib/Marker.js";
|
|
2
2
|
import { Polyline as t } from "../../node_modules/react-leaflet/lib/Polyline.js";
|
|
3
3
|
import { Popup as n } from "../../node_modules/react-leaflet/lib/Popup.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { MapCanvas as r } from "./MapCanvas.js";
|
|
5
|
+
import { createPinIcon as i, isRealCoord as a } from "./leaflet-setup.js";
|
|
6
6
|
import { useMemo as o } from "react";
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/movethewheels/components/maps/LogisticsMap.tsx
|
|
9
9
|
function l({ markers: l, routes: u = [], height: d = 420, className: f, fitToMarkers: p = !0, emptyMessage: m = "No live locations yet" }) {
|
|
10
|
-
let h = o(() => l.filter((e) =>
|
|
10
|
+
let h = o(() => l.filter((e) => a(e.lat, e.lng)), [l]), g = o(() => u.map((e) => ({
|
|
11
11
|
...e,
|
|
12
|
-
points: e.points.filter(([e, t]) =>
|
|
13
|
-
})).filter((e) => e.points.length >= 2), [u])
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
points: e.points.filter(([e, t]) => a(e, t))
|
|
13
|
+
})).filter((e) => e.points.length >= 2), [u]), _ = o(() => {
|
|
14
|
+
let e = h.map((e) => [e.lat, e.lng]);
|
|
15
|
+
return g.forEach((t) => e.push(...t.points)), e;
|
|
16
|
+
}, [h, g]);
|
|
17
|
+
return /* @__PURE__ */ c(r, {
|
|
18
|
+
points: _,
|
|
19
19
|
height: d,
|
|
20
20
|
className: f,
|
|
21
21
|
fitToMarkers: p,
|
|
@@ -32,7 +32,7 @@ function l({ markers: l, routes: u = [], height: d = 420, className: f, fitToMar
|
|
|
32
32
|
}
|
|
33
33
|
}, n)), h.map((t) => /* @__PURE__ */ s(e, {
|
|
34
34
|
position: [t.lat, t.lng],
|
|
35
|
-
icon:
|
|
35
|
+
icon: i(t.status ?? "default"),
|
|
36
36
|
children: /* @__PURE__ */ c(n, { children: [/* @__PURE__ */ s("span", {
|
|
37
37
|
className: "font-semibold",
|
|
38
38
|
children: t.label
|
|
@@ -43,5 +43,4 @@ function l({ markers: l, routes: u = [], height: d = 420, className: f, fitToMar
|
|
|
43
43
|
}, t.id))]
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
|
-
//#endregion
|
|
47
46
|
export { l as LogisticsMap };
|
|
@@ -1,58 +1,66 @@
|
|
|
1
1
|
import { __toESM as e } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { require_leaflet_src as t } from "../../node_modules/leaflet/dist/leaflet-src.js";
|
|
3
|
+
import { MapContainer as n } from "../../node_modules/react-leaflet/lib/MapContainer.js";
|
|
4
|
+
import { TileLayer as r } from "../../node_modules/react-leaflet/lib/TileLayer.js";
|
|
5
|
+
import { useMap as i } from "../../node_modules/react-leaflet/lib/hooks.js";
|
|
6
|
+
import { cn as a } from "../../utils/cn.js";
|
|
7
7
|
import { OSM_ATTRIBUTION as o, OSM_TILE_URL as s } from "./leaflet-setup.js";
|
|
8
8
|
import { useEffect as c, useState as l } from "react";
|
|
9
9
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
|
-
|
|
11
|
-
var f = /* @__PURE__ */ e(
|
|
10
|
+
// src/movethewheels/components/maps/MapCanvas.tsx
|
|
11
|
+
var f = /* @__PURE__ */ e(t(), 1);
|
|
12
12
|
function p() {
|
|
13
13
|
let [e, t] = l(!1);
|
|
14
14
|
return c(() => t(!0), []), e;
|
|
15
15
|
}
|
|
16
16
|
function m({ points: e, padding: t = 48, maxZoom: n = 13 }) {
|
|
17
|
-
let
|
|
17
|
+
let r = i();
|
|
18
18
|
return c(() => {
|
|
19
|
-
let e = setTimeout(() =>
|
|
19
|
+
let e = setTimeout(() => r.invalidateSize(), 0);
|
|
20
20
|
return () => clearTimeout(e);
|
|
21
|
-
}, [
|
|
21
|
+
}, [r]), c(() => {
|
|
22
22
|
if (e.length === 0) return;
|
|
23
23
|
if (e.length === 1) {
|
|
24
|
-
|
|
24
|
+
r.setView(e[0], Math.min(n, 12));
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
|
-
let
|
|
28
|
-
|
|
27
|
+
let i = f.default.latLngBounds(e);
|
|
28
|
+
r.fitBounds(i, {
|
|
29
29
|
padding: [t, t],
|
|
30
30
|
maxZoom: n
|
|
31
31
|
});
|
|
32
32
|
}, [
|
|
33
|
-
|
|
33
|
+
r,
|
|
34
34
|
e,
|
|
35
35
|
t,
|
|
36
36
|
n
|
|
37
37
|
]), null;
|
|
38
38
|
}
|
|
39
|
-
function h({ points: e, height:
|
|
40
|
-
let _ = p(), v =
|
|
41
|
-
height:
|
|
39
|
+
function h({ points: e, height: t = 420, className: i, fitToMarkers: c = !0, center: l, zoom: f = 5, children: h, emptyState: g }) {
|
|
40
|
+
let _ = p(), v = a("relative overflow-hidden rounded-2xl border border-border-seam bg-bg-sunken", i), y = {
|
|
41
|
+
height: t,
|
|
42
42
|
width: "100%"
|
|
43
43
|
};
|
|
44
|
-
|
|
44
|
+
if (e.length === 0 && g) return /* @__PURE__ */ u("div", {
|
|
45
45
|
className: v,
|
|
46
46
|
style: y,
|
|
47
47
|
children: /* @__PURE__ */ u("div", {
|
|
48
48
|
className: "flex h-full w-full items-center justify-center p-6 text-center",
|
|
49
49
|
children: g
|
|
50
50
|
})
|
|
51
|
-
})
|
|
51
|
+
});
|
|
52
|
+
if (!_) return /* @__PURE__ */ u("div", {
|
|
53
|
+
className: v,
|
|
54
|
+
style: y,
|
|
55
|
+
"aria-busy": "true",
|
|
56
|
+
children: /* @__PURE__ */ u("div", { className: "h-full w-full motion-safe:animate-vc-shimmer bg-bg-sunken" })
|
|
57
|
+
});
|
|
58
|
+
let b = l ?? e[0] ?? [20, 0];
|
|
59
|
+
return /* @__PURE__ */ u("div", {
|
|
52
60
|
className: v,
|
|
53
61
|
style: y,
|
|
54
|
-
children: /* @__PURE__ */ d(
|
|
55
|
-
center:
|
|
62
|
+
children: /* @__PURE__ */ d(n, {
|
|
63
|
+
center: b,
|
|
56
64
|
zoom: e.length > 0 ? f : 2,
|
|
57
65
|
scrollWheelZoom: !1,
|
|
58
66
|
style: {
|
|
@@ -61,7 +69,7 @@ function h({ points: e, height: n = 420, className: r, fitToMarkers: c = !0, cen
|
|
|
61
69
|
},
|
|
62
70
|
className: "z-0",
|
|
63
71
|
children: [
|
|
64
|
-
/* @__PURE__ */ u(
|
|
72
|
+
/* @__PURE__ */ u(r, {
|
|
65
73
|
url: s,
|
|
66
74
|
attribution: o
|
|
67
75
|
}),
|
|
@@ -69,12 +77,6 @@ function h({ points: e, height: n = 420, className: r, fitToMarkers: c = !0, cen
|
|
|
69
77
|
h
|
|
70
78
|
]
|
|
71
79
|
})
|
|
72
|
-
}) : /* @__PURE__ */ u("div", {
|
|
73
|
-
className: v,
|
|
74
|
-
style: y,
|
|
75
|
-
"aria-busy": "true",
|
|
76
|
-
children: /* @__PURE__ */ u("div", { className: "h-full w-full motion-safe:animate-vc-shimmer bg-bg-sunken" })
|
|
77
80
|
});
|
|
78
81
|
}
|
|
79
|
-
|
|
80
|
-
export { h as MapCanvas };
|
|
82
|
+
export { m as FitBounds, h as MapCanvas, p as useIsMounted };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Marker as e } from "../../node_modules/react-leaflet/lib/Marker.js";
|
|
2
2
|
import { Polyline as t } from "../../node_modules/react-leaflet/lib/Polyline.js";
|
|
3
3
|
import { Popup as n } from "../../node_modules/react-leaflet/lib/Popup.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { MapCanvas as r } from "./MapCanvas.js";
|
|
5
|
+
import { createStopIcon as i, isRealCoord as a } from "./leaflet-setup.js";
|
|
6
6
|
import { useMemo as o } from "react";
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/movethewheels/components/maps/RouteMap.tsx
|
|
9
9
|
function l({ stops: l, height: u = 420, className: d, routeColor: f = "var(--color-chart-1)", emptyMessage: p = "No stops with coordinates yet" }) {
|
|
10
|
-
let m = o(() => [...l].filter((e) =>
|
|
11
|
-
return /* @__PURE__ */ c(
|
|
10
|
+
let m = o(() => [...l].filter((e) => a(e.lat, e.lng)).sort((e, t) => e.sequence - t.sequence), [l]), h = o(() => m.map((e) => [e.lat, e.lng]), [m]);
|
|
11
|
+
return /* @__PURE__ */ c(r, {
|
|
12
12
|
points: h,
|
|
13
13
|
height: u,
|
|
14
14
|
className: d,
|
|
@@ -25,7 +25,7 @@ function l({ stops: l, height: u = 420, className: d, routeColor: f = "var(--col
|
|
|
25
25
|
}
|
|
26
26
|
}), m.map((t) => /* @__PURE__ */ s(e, {
|
|
27
27
|
position: [t.lat, t.lng],
|
|
28
|
-
icon:
|
|
28
|
+
icon: i(t.sequence),
|
|
29
29
|
children: /* @__PURE__ */ s(n, { children: /* @__PURE__ */ c("span", {
|
|
30
30
|
className: "font-semibold",
|
|
31
31
|
children: [
|
|
@@ -37,5 +37,4 @@ function l({ stops: l, height: u = 420, className: d, routeColor: f = "var(--col
|
|
|
37
37
|
}, `${t.sequence}-${t.lat}-${t.lng}`))]
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
40
|
export { l as RouteMap };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { Marker as e } from "../../node_modules/react-leaflet/lib/Marker.js";
|
|
2
2
|
import { Polyline as t } from "../../node_modules/react-leaflet/lib/Polyline.js";
|
|
3
3
|
import { Popup as n } from "../../node_modules/react-leaflet/lib/Popup.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { MapCanvas as r } from "./MapCanvas.js";
|
|
5
|
+
import { createCurrentIcon as i, createPinIcon as a, isRealCoord as o } from "./leaflet-setup.js";
|
|
6
6
|
import { useMemo as s } from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/movethewheels/components/maps/TrackingMap.tsx
|
|
9
9
|
function u({ origin: u, destination: d, trail: f, current: p, height: m = 360, className: h, trailColor: g = "var(--color-chart-1)", emptyMessage: _ = "No tracking positions yet" }) {
|
|
10
|
-
let v = s(() => f.filter((e) =>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
let v = s(() => f.filter((e) => o(e.lat, e.lng)).map((e) => [e.lat, e.lng]), [f]), y = u && o(u.lat, u.lng) ? u : null, b = d && o(d.lat, d.lng) ? d : null, x = p && o(p.lat, p.lng) ? p : null, S = s(() => {
|
|
11
|
+
let e = [...v];
|
|
12
|
+
return y && e.push([y.lat, y.lng]), b && e.push([b.lat, b.lng]), x && e.push([x.lat, x.lng]), e;
|
|
13
|
+
}, [
|
|
14
|
+
v,
|
|
15
|
+
y,
|
|
16
|
+
b,
|
|
17
|
+
x
|
|
18
|
+
]);
|
|
19
|
+
return /* @__PURE__ */ l(r, {
|
|
20
|
+
points: S,
|
|
21
21
|
height: m,
|
|
22
22
|
className: h,
|
|
23
23
|
emptyState: /* @__PURE__ */ c("p", {
|
|
@@ -37,7 +37,7 @@ function u({ origin: u, destination: d, trail: f, current: p, height: m = 360, c
|
|
|
37
37
|
}),
|
|
38
38
|
y && /* @__PURE__ */ c(e, {
|
|
39
39
|
position: [y.lat, y.lng],
|
|
40
|
-
icon:
|
|
40
|
+
icon: a("origin", { glyph: !1 }),
|
|
41
41
|
children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c("span", {
|
|
42
42
|
className: "font-semibold",
|
|
43
43
|
children: y.label ?? "Origin"
|
|
@@ -45,7 +45,7 @@ function u({ origin: u, destination: d, trail: f, current: p, height: m = 360, c
|
|
|
45
45
|
}),
|
|
46
46
|
b && /* @__PURE__ */ c(e, {
|
|
47
47
|
position: [b.lat, b.lng],
|
|
48
|
-
icon:
|
|
48
|
+
icon: a("destination", { glyph: !1 }),
|
|
49
49
|
children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c("span", {
|
|
50
50
|
className: "font-semibold",
|
|
51
51
|
children: b.label ?? "Destination"
|
|
@@ -53,7 +53,7 @@ function u({ origin: u, destination: d, trail: f, current: p, height: m = 360, c
|
|
|
53
53
|
}),
|
|
54
54
|
x && /* @__PURE__ */ c(e, {
|
|
55
55
|
position: [x.lat, x.lng],
|
|
56
|
-
icon:
|
|
56
|
+
icon: i(),
|
|
57
57
|
children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c("span", {
|
|
58
58
|
className: "font-semibold",
|
|
59
59
|
children: x.label ?? "Current position"
|
|
@@ -62,5 +62,4 @@ function u({ origin: u, destination: d, trail: f, current: p, height: m = 360, c
|
|
|
62
62
|
]
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
//#endregion
|
|
66
65
|
export { u as TrackingMap };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
1
|
+
import { LogisticsMap as e } from "./LogisticsMap.js";
|
|
2
|
+
import { RouteMap as t } from "./RouteMap.js";
|
|
3
|
+
import { TrackingMap as n } from "./TrackingMap.js";
|
|
4
|
+
import { MapCanvas as r } from "./MapCanvas.js";
|
|
5
|
+
import { createCurrentIcon as i, createPinIcon as a, createStopIcon as o, isRealCoord as s } from "./leaflet-setup.js";
|
|
6
|
+
export { e as LogisticsMap, r as MapCanvas, t as RouteMap, n as TrackingMap, i as createCurrentIcon, a as createPinIcon, o as createStopIcon, s as isRealCoord };
|
|
@@ -2,10 +2,10 @@ import { __toESM as e } from "../../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { require_leaflet_src as t } from "../../node_modules/leaflet/dist/leaflet-src.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
|
-
|
|
5
|
+
// src/movethewheels/components/maps/leaflet-setup.ts
|
|
6
6
|
var n = /* @__PURE__ */ e(t(), 1), r = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", i = "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors";
|
|
7
7
|
function a(e, t) {
|
|
8
|
-
return typeof e == "number" && typeof t == "number" && Number.isFinite(e) && Number.isFinite(t) &&
|
|
8
|
+
return typeof e == "number" && typeof t == "number" && Number.isFinite(e) && Number.isFinite(t) && (e !== 0 || t !== 0) && Math.abs(e) <= 90 && Math.abs(t) <= 180;
|
|
9
9
|
}
|
|
10
10
|
function o(e) {
|
|
11
11
|
switch (e) {
|
|
@@ -52,5 +52,4 @@ function u(e = "var(--color-brand-primary)") {
|
|
|
52
52
|
iconAnchor: [10, 10]
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
//#endregion
|
|
56
55
|
export { i as OSM_ATTRIBUTION, r as OSM_TILE_URL, u as createCurrentIcon, c as createPinIcon, l as createStopIcon, a as isRealCoord };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Button as e, Input as t, Label as n, Select as r, SelectContent as i, SelectItem as a, SelectTrigger as o, SelectValue as s, Switch as c, Textarea as l } from "../ui.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { EntityCombobox as u } from "../EntityCombobox.js";
|
|
3
|
+
import { FormError as d } from "../FormError.js";
|
|
4
4
|
import { AVAILABILITIES as f, OFFERING_CATEGORIES as p, PROVIDER_TYPES as m, humanizeEnum as h, useMarketplaceActions as ee, useShipmentOptions as g } from "../../hooks/useMarketplace.js";
|
|
5
5
|
import { useEffect as _, useState as v } from "react";
|
|
6
6
|
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
7
7
|
import { ResponsiveDialog as S, ResponsiveDialogContent as C, ResponsiveDialogDescription as w, ResponsiveDialogFooter as T, ResponsiveDialogHeader as E, ResponsiveDialogTitle as D } from "@burdenoff/fe-libs/ui";
|
|
8
|
-
|
|
8
|
+
// src/movethewheels/components/marketplace/MarketplaceDialogs.tsx
|
|
9
9
|
function te(e, t) {
|
|
10
10
|
return e instanceof Error && e.message ? e.message : t;
|
|
11
11
|
}
|
|
@@ -21,11 +21,11 @@ function k(e) {
|
|
|
21
21
|
function A(e) {
|
|
22
22
|
return e.trim() || null;
|
|
23
23
|
}
|
|
24
|
-
function j({ open:
|
|
24
|
+
function j({ open: u, onOpenChange: f, onDone: p, provider: g }) {
|
|
25
25
|
let y = ee(), [j, M] = v(""), [N, P] = v("CARRIER"), [F, I] = v(""), [L, R] = v(""), [z, B] = v(""), [V, H] = v(""), [U, W] = v(""), [G, K] = v(""), [q, J] = v(""), [Y, X] = v(""), [Z, ne] = v(!1), [Q, re] = v(!0), [ie, ae] = v(!1), [oe, $] = v(null);
|
|
26
26
|
_(() => {
|
|
27
|
-
|
|
28
|
-
}, [
|
|
27
|
+
u && (M(g?.name ?? ""), P(g?.type ?? "CARRIER"), I(g?.description ?? ""), R(g?.rating == null ? "" : String(g.rating)), B(g?.contact.contactName ?? ""), H(g?.contact.email ?? ""), W(g?.contact.phone ?? ""), K(g?.contact.website ?? ""), J(g?.services.join(", ") ?? ""), X(g?.serviceAreas.join(", ") ?? ""), ne(g?.isVerified ?? !1), re(g?.isActive ?? !0), $(null));
|
|
28
|
+
}, [u, g]);
|
|
29
29
|
let se = async () => {
|
|
30
30
|
if (!j.trim()) {
|
|
31
31
|
$("Enter the provider name.");
|
|
@@ -62,7 +62,7 @@ function j({ open: d, onOpenChange: f, onDone: p, provider: g }) {
|
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
return /* @__PURE__ */ b(S, {
|
|
65
|
-
open:
|
|
65
|
+
open: u,
|
|
66
66
|
onOpenChange: f,
|
|
67
67
|
children: /* @__PURE__ */ x(C, {
|
|
68
68
|
className: "sm:max-w-xl",
|
|
@@ -72,7 +72,7 @@ function j({ open: d, onOpenChange: f, onDone: p, provider: g }) {
|
|
|
72
72
|
e.preventDefault(), se();
|
|
73
73
|
},
|
|
74
74
|
children: [
|
|
75
|
-
/* @__PURE__ */ b(
|
|
75
|
+
/* @__PURE__ */ b(d, { message: oe }),
|
|
76
76
|
/* @__PURE__ */ x("div", {
|
|
77
77
|
className: "grid gap-4 sm:grid-cols-2",
|
|
78
78
|
children: [/* @__PURE__ */ x("div", {
|
|
@@ -239,11 +239,11 @@ function j({ open: d, onOpenChange: f, onDone: p, provider: g }) {
|
|
|
239
239
|
})
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
|
-
function M({ open:
|
|
242
|
+
function M({ open: u, onOpenChange: m, onDone: g, provider: y, offering: O }) {
|
|
243
243
|
let j = ee(), [M, N] = v(""), [P, F] = v("FULL_TRUCKLOAD"), [I, L] = v(""), [R, z] = v(""), [B, V] = v("USD"), [H, U] = v(""), [W, G] = v(""), [K, q] = v("AVAILABLE"), [J, Y] = v(!0), [X, Z] = v(!1), [ne, Q] = v(null);
|
|
244
244
|
_(() => {
|
|
245
|
-
|
|
246
|
-
}, [
|
|
245
|
+
u && (N(O?.name ?? ""), F(O?.category ?? "FULL_TRUCKLOAD"), L(O?.description ?? ""), z(O?.price == null ? "" : String(O.price)), V(O?.currency ?? "USD"), U(O?.pricingUnit ?? ""), G(O?.transitDays == null ? "" : String(O.transitDays)), q(O?.availability ?? "AVAILABLE"), Y(O?.isActive ?? !0), Q(null));
|
|
246
|
+
}, [u, O]);
|
|
247
247
|
let re = async () => {
|
|
248
248
|
if (!y) return;
|
|
249
249
|
if (!M.trim()) {
|
|
@@ -285,7 +285,7 @@ function M({ open: d, onOpenChange: m, onDone: g, provider: y, offering: O }) {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
return /* @__PURE__ */ b(S, {
|
|
288
|
-
open:
|
|
288
|
+
open: u,
|
|
289
289
|
onOpenChange: m,
|
|
290
290
|
children: /* @__PURE__ */ x(C, {
|
|
291
291
|
className: "sm:max-w-lg",
|
|
@@ -295,7 +295,7 @@ function M({ open: d, onOpenChange: m, onDone: g, provider: y, offering: O }) {
|
|
|
295
295
|
e.preventDefault(), re();
|
|
296
296
|
},
|
|
297
297
|
children: [
|
|
298
|
-
/* @__PURE__ */ b(
|
|
298
|
+
/* @__PURE__ */ b(d, { message: ne }),
|
|
299
299
|
/* @__PURE__ */ x("div", {
|
|
300
300
|
className: "grid gap-1.5",
|
|
301
301
|
children: [/* @__PURE__ */ b(n, {
|
|
@@ -444,18 +444,17 @@ function N({ open: t, onOpenChange: r, onDone: i, provider: a }) {
|
|
|
444
444
|
}, [t]);
|
|
445
445
|
let N = A.find((e) => e.id === l) ?? null, P = async () => {
|
|
446
446
|
if (a) {
|
|
447
|
-
if (!l)
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
m(!1);
|
|
447
|
+
if (!l) k("Choose the shipment this provider will carry.");
|
|
448
|
+
else {
|
|
449
|
+
m(!0), k(null);
|
|
450
|
+
try {
|
|
451
|
+
let e = await o.assignShipment(l, a.id);
|
|
452
|
+
i(`${a.name} is now the carrier for shipment ${e.shipmentNumber}.`), r(!1);
|
|
453
|
+
} catch (e) {
|
|
454
|
+
k(te(e, "Could not assign the provider."));
|
|
455
|
+
} finally {
|
|
456
|
+
m(!1);
|
|
457
|
+
}
|
|
459
458
|
}
|
|
460
459
|
}
|
|
461
460
|
};
|
|
@@ -470,13 +469,13 @@ function N({ open: t, onOpenChange: r, onDone: i, provider: a }) {
|
|
|
470
469
|
e.preventDefault(), P();
|
|
471
470
|
},
|
|
472
471
|
children: [
|
|
473
|
-
/* @__PURE__ */ b(
|
|
472
|
+
/* @__PURE__ */ b(d, { message: O }),
|
|
474
473
|
/* @__PURE__ */ x("div", {
|
|
475
474
|
className: "grid gap-1.5",
|
|
476
475
|
children: [/* @__PURE__ */ b(n, {
|
|
477
476
|
htmlFor: "mtw-assign-shipment",
|
|
478
477
|
children: "Shipment"
|
|
479
|
-
}), /* @__PURE__ */ b(
|
|
478
|
+
}), /* @__PURE__ */ b(u, {
|
|
480
479
|
id: "mtw-assign-shipment",
|
|
481
480
|
value: l,
|
|
482
481
|
onChange: f,
|
|
@@ -520,5 +519,4 @@ function N({ open: t, onOpenChange: r, onDone: i, provider: a }) {
|
|
|
520
519
|
})
|
|
521
520
|
});
|
|
522
521
|
}
|
|
523
|
-
//#endregion
|
|
524
522
|
export { N as AssignShipmentDialog, M as OfferingDialog, j as ProviderDialog };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useTr as e } from "../../shared/hooks/useTr.js";
|
|
2
|
-
import "../../hooks/index.js";
|
|
3
2
|
import { Badge as t } from "../ui.js";
|
|
3
|
+
import "../../hooks/index.js";
|
|
4
4
|
import { PALLET_BOUND_KEYS as n, PALLET_UNKNOWN_KEYS as r } from "../../utils/palletPreviewResponse.js";
|
|
5
5
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
6
|
import { FormSection as o } from "@burdenoff/fe-libs/form";
|
|
7
|
-
|
|
7
|
+
// src/movethewheels/components/pallet-preview/PalletPreviewResults.tsx
|
|
8
8
|
var s = {
|
|
9
9
|
placedContainment: "Placed subset containment",
|
|
10
10
|
placedNonOverlap: "Placed subset non-overlap",
|
|
@@ -185,5 +185,4 @@ function l({ result: l, input: u }) {
|
|
|
185
185
|
]
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
|
-
//#endregion
|
|
189
188
|
export { l as PalletPreviewResults };
|
|
@@ -2,7 +2,7 @@ import { Button as e, Input as t } from "../ui.js";
|
|
|
2
2
|
import { reuseCard as n } from "../ReuseControls.js";
|
|
3
3
|
import { PickCapture as r } from "./PickCapture.js";
|
|
4
4
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/movethewheels/components/pending-pick/PendingPickDraft.tsx
|
|
6
6
|
function s({ context: s, locked: c, loading: l, count: u, reason: d, draft: f, stale: p, onCount: m, onReason: h, onReview: g, onSave: _ }) {
|
|
7
7
|
return s ? /* @__PURE__ */ o(i, { children: [
|
|
8
8
|
/* @__PURE__ */ o("p", {
|
|
@@ -80,5 +80,4 @@ function s({ context: s, locked: c, loading: l, count: u, reason: d, draft: f, s
|
|
|
80
80
|
})
|
|
81
81
|
] }) : null;
|
|
82
82
|
}
|
|
83
|
-
//#endregion
|
|
84
83
|
export { s as PendingPickDraft };
|