@burdenoff/microfe-movethewheels 2026.1108.5 → 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/generated/wspace-operations.d.ts +91 -0
- package/dist/generated/wspace-types.d.ts +43259 -9124
- 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 +100 -63
- 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/hooks/useRoutes.d.ts +3 -2
- package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
- package/dist/movethewheels/types/index.d.ts +21 -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 +425 -357
- 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 +41 -36
- 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/generated/wspace-operations.ts +13 -12
- package/src/generated/wspace-types.ts +43737 -9125
- package/src/movethewheels/hooks/useRoutes.ts +37 -10
- package/src/movethewheels/pages/RouteDetailsPage.tsx +107 -10
- package/src/movethewheels/types/index.ts +27 -1
- package/src/movethewheels/utils/orderPricing.test.ts +1 -1
- package/src/operations/wspace/movethewheels/fragments/core.graphql +15 -0
- package/src/operations/wspace/movethewheels/mutations/logistics.graphql +2 -2
- 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,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
1
|
+
import e from "./node_modules/lucide-react/dist/esm/icons/truck.js";
|
|
2
|
+
import t from "./node_modules/lucide-react/dist/esm/icons/package.js";
|
|
3
|
+
import n from "./node_modules/lucide-react/dist/esm/icons/users.js";
|
|
4
|
+
import r from "./node_modules/lucide-react/dist/esm/icons/layout-dashboard.js";
|
|
5
|
+
import i from "./node_modules/lucide-react/dist/esm/icons/map.js";
|
|
6
|
+
import a from "./node_modules/lucide-react/dist/esm/icons/warehouse.js";
|
|
7
|
+
import o from "./node_modules/lucide-react/dist/esm/icons/route.js";
|
|
8
|
+
import s from "./node_modules/lucide-react/dist/esm/icons/chart-column.js";
|
|
9
|
+
import c from "./node_modules/lucide-react/dist/esm/icons/car.js";
|
|
10
|
+
import l from "./node_modules/lucide-react/dist/esm/icons/user-check.js";
|
|
11
|
+
import u from "./node_modules/lucide-react/dist/esm/icons/boxes.js";
|
|
12
|
+
import d from "./node_modules/lucide-react/dist/esm/icons/clipboard-list.js";
|
|
13
|
+
import f from "./node_modules/lucide-react/dist/esm/icons/dollar-sign.js";
|
|
14
|
+
import p from "./node_modules/lucide-react/dist/esm/icons/bot.js";
|
|
15
|
+
import m from "./node_modules/lucide-react/dist/esm/icons/store.js";
|
|
16
|
+
import h from "./node_modules/lucide-react/dist/esm/icons/arrow-down-up.js";
|
|
17
|
+
import g from "./node_modules/lucide-react/dist/esm/icons/settings.js";
|
|
18
|
+
import _ from "./node_modules/lucide-react/dist/esm/icons/plug.js";
|
|
19
|
+
import v from "./node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js";
|
|
20
20
|
import { MoveTheWheelsProvider as y } from "./providers/MoveTheWheelsProvider.js";
|
|
21
21
|
import { ModuleSettingsProvider as b } from "./providers/ModuleSettingsProvider.js";
|
|
22
22
|
import { useTr as x } from "./shared/hooks/useTr.js";
|
|
23
|
-
import "./hooks/index.js";
|
|
24
23
|
import { MoveTheWheelsRoutes as S } from "./MoveTheWheelsRoutes.js";
|
|
24
|
+
import "./hooks/index.js";
|
|
25
25
|
import { useEffect as C } from "react";
|
|
26
26
|
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
27
27
|
import { FeatureFlagProvider as E } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
28
|
-
|
|
28
|
+
// src/movethewheels/MoveTheWheelsRoot.tsx
|
|
29
29
|
var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
30
30
|
let S = x(), T = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
31
31
|
return C(() => {
|
|
@@ -33,7 +33,7 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
33
33
|
id: "movethewheels",
|
|
34
34
|
label: S("movethewheels.page.title", "MoveTheWheels"),
|
|
35
35
|
path: b,
|
|
36
|
-
icon: /* @__PURE__ */ w(
|
|
36
|
+
icon: /* @__PURE__ */ w(e, { size: 20 }),
|
|
37
37
|
order: 25,
|
|
38
38
|
group: "workspace",
|
|
39
39
|
children: [
|
|
@@ -41,72 +41,72 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
41
41
|
id: "mtw-dashboard",
|
|
42
42
|
label: S("movethewheels.root.nav.dashboard", "Dashboard"),
|
|
43
43
|
path: b,
|
|
44
|
-
icon: /* @__PURE__ */ w(
|
|
44
|
+
icon: /* @__PURE__ */ w(r, { size: 16 }),
|
|
45
45
|
order: 1
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
id: "mtw-orders",
|
|
49
49
|
label: S("movethewheels.root.nav.orders", "Orders"),
|
|
50
50
|
path: T(b, "orders"),
|
|
51
|
-
icon: /* @__PURE__ */ w(
|
|
51
|
+
icon: /* @__PURE__ */ w(t, { size: 16 }),
|
|
52
52
|
order: 2
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
id: "mtw-tracking",
|
|
56
56
|
label: S("movethewheels.root.nav.tracking", "Tracking"),
|
|
57
57
|
path: T(b, "tracking"),
|
|
58
|
-
icon: /* @__PURE__ */ w(
|
|
58
|
+
icon: /* @__PURE__ */ w(i, { size: 16 }),
|
|
59
59
|
order: 3,
|
|
60
60
|
children: [{
|
|
61
61
|
id: "mtw-tracking-quality",
|
|
62
62
|
label: S("movethewheels.root.nav.trackingQuality", "Tracking event quality"),
|
|
63
63
|
path: T(b, "tracking/event-quality"),
|
|
64
|
-
icon: /* @__PURE__ */ w(
|
|
64
|
+
icon: /* @__PURE__ */ w(i, { size: 16 })
|
|
65
65
|
}, {
|
|
66
66
|
id: "mtw-status-authority",
|
|
67
67
|
label: S("movethewheels.root.nav.statusAuthority", "Shipment status authority"),
|
|
68
68
|
path: T(b, "shipments/status-authority"),
|
|
69
|
-
icon: /* @__PURE__ */ w(
|
|
69
|
+
icon: /* @__PURE__ */ w(d, { size: 16 })
|
|
70
70
|
}]
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
id: "mtw-consolidation",
|
|
74
74
|
label: S("movethewheels.root.nav.consolidation", "Hub consolidation"),
|
|
75
75
|
path: T(b, "containers/consolidation"),
|
|
76
|
-
icon: /* @__PURE__ */ w(
|
|
76
|
+
icon: /* @__PURE__ */ w(u, { size: 16 }),
|
|
77
77
|
order: 3.4
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
id: "mtw-procedures",
|
|
81
81
|
label: S("movethewheels.root.nav.procedures", "Logistics procedures"),
|
|
82
82
|
path: T(b, "containers/procedures"),
|
|
83
|
-
icon: /* @__PURE__ */ w(
|
|
83
|
+
icon: /* @__PURE__ */ w(d, { size: 16 }),
|
|
84
84
|
order: 3.5
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
id: "mtw-containers",
|
|
88
88
|
label: S("movethewheels.root.nav.containers", "Containers"),
|
|
89
89
|
path: T(b, "containers"),
|
|
90
|
-
icon: /* @__PURE__ */ w(
|
|
90
|
+
icon: /* @__PURE__ */ w(u, { size: 16 }),
|
|
91
91
|
order: 3.5,
|
|
92
92
|
children: [
|
|
93
93
|
{
|
|
94
94
|
id: "mtw-empty-reuse",
|
|
95
95
|
label: S("movethewheels.root.nav.emptyReuse", "Empty return and reuse"),
|
|
96
96
|
path: T(b, "containers/empty-reuse"),
|
|
97
|
-
icon: /* @__PURE__ */ w(
|
|
97
|
+
icon: /* @__PURE__ */ w(u, { size: 16 })
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
id: "mtw-free-time",
|
|
101
101
|
label: S("movethewheels.root.nav.freeTime", "Free time and extensions"),
|
|
102
102
|
path: T(b, "containers/free-time"),
|
|
103
|
-
icon: /* @__PURE__ */ w(
|
|
103
|
+
icon: /* @__PURE__ */ w(u, { size: 16 })
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
id: "mtw-container-condition",
|
|
107
107
|
label: S("movethewheels.root.nav.containerCondition", "Container condition"),
|
|
108
108
|
path: T(b, "containers/condition"),
|
|
109
|
-
icon: /* @__PURE__ */ w(
|
|
109
|
+
icon: /* @__PURE__ */ w(u, { size: 16 })
|
|
110
110
|
}
|
|
111
111
|
]
|
|
112
112
|
},
|
|
@@ -114,28 +114,28 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
114
114
|
id: "mtw-fleet",
|
|
115
115
|
label: S("movethewheels.root.nav.fleet", "Fleet"),
|
|
116
116
|
path: T(b, "fleet"),
|
|
117
|
-
icon: /* @__PURE__ */ w(
|
|
117
|
+
icon: /* @__PURE__ */ w(e, { size: 16 }),
|
|
118
118
|
order: 4,
|
|
119
119
|
children: [
|
|
120
120
|
{
|
|
121
121
|
id: "mtw-fleet-overview",
|
|
122
122
|
label: S("movethewheels.root.nav.overview", "Overview"),
|
|
123
123
|
path: T(b, "fleet"),
|
|
124
|
-
icon: /* @__PURE__ */ w(
|
|
124
|
+
icon: /* @__PURE__ */ w(r, { size: 14 }),
|
|
125
125
|
order: 1
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
id: "mtw-vehicles",
|
|
129
129
|
label: S("movethewheels.root.nav.vehicles", "Vehicles"),
|
|
130
130
|
path: T(b, "fleet/vehicles"),
|
|
131
|
-
icon: /* @__PURE__ */ w(
|
|
131
|
+
icon: /* @__PURE__ */ w(c, { size: 14 }),
|
|
132
132
|
order: 2
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
id: "mtw-drivers",
|
|
136
136
|
label: S("movethewheels.root.nav.drivers", "Drivers"),
|
|
137
137
|
path: T(b, "fleet/drivers"),
|
|
138
|
-
icon: /* @__PURE__ */ w(
|
|
138
|
+
icon: /* @__PURE__ */ w(l, { size: 14 }),
|
|
139
139
|
order: 3
|
|
140
140
|
}
|
|
141
141
|
]
|
|
@@ -144,56 +144,56 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
144
144
|
id: "mtw-inventory",
|
|
145
145
|
label: S("movethewheels.root.nav.inventory", "Inventory"),
|
|
146
146
|
path: T(b, "inventory"),
|
|
147
|
-
icon: /* @__PURE__ */ w(
|
|
147
|
+
icon: /* @__PURE__ */ w(a, { size: 16 }),
|
|
148
148
|
order: 5,
|
|
149
149
|
children: [
|
|
150
150
|
{
|
|
151
151
|
id: "mtw-inventory-overview",
|
|
152
152
|
label: S("movethewheels.root.nav.overview", "Overview"),
|
|
153
153
|
path: T(b, "inventory"),
|
|
154
|
-
icon: /* @__PURE__ */ w(
|
|
154
|
+
icon: /* @__PURE__ */ w(r, { size: 14 }),
|
|
155
155
|
order: 1
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
id: "mtw-products",
|
|
159
159
|
label: S("movethewheels.root.nav.products", "Products"),
|
|
160
160
|
path: T(b, "inventory/products"),
|
|
161
|
-
icon: /* @__PURE__ */ w(
|
|
161
|
+
icon: /* @__PURE__ */ w(u, { size: 14 }),
|
|
162
162
|
order: 2
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
id: "mtw-pending-picks",
|
|
166
166
|
label: "Plan a pick",
|
|
167
167
|
path: T(b, "inventory/pending-picks"),
|
|
168
|
-
icon: /* @__PURE__ */ w(
|
|
168
|
+
icon: /* @__PURE__ */ w(d, { size: 14 }),
|
|
169
169
|
order: 5
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
id: "mtw-stock-observations",
|
|
173
173
|
label: "Reported stock issues",
|
|
174
174
|
path: T(b, "inventory/reported-issues"),
|
|
175
|
-
icon: /* @__PURE__ */ w(
|
|
175
|
+
icon: /* @__PURE__ */ w(d, { size: 14 }),
|
|
176
176
|
order: 4
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
id: "mtw-stock-binding",
|
|
180
180
|
label: "Source assessments",
|
|
181
181
|
path: T(b, "inventory/source-assessments"),
|
|
182
|
-
icon: /* @__PURE__ */ w(
|
|
182
|
+
icon: /* @__PURE__ */ w(d, { size: 14 }),
|
|
183
183
|
order: 3
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
id: "mtw-pallet-preview",
|
|
187
187
|
label: S("movethewheels.root.nav.palletPreview", "Pallet preview"),
|
|
188
188
|
path: T(b, "inventory/warehouses/pallet-preview"),
|
|
189
|
-
icon: /* @__PURE__ */ w(
|
|
189
|
+
icon: /* @__PURE__ */ w(u, { size: 14 }),
|
|
190
190
|
order: 6
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
193
|
id: "mtw-warehouses",
|
|
194
194
|
label: S("movethewheels.root.nav.warehouses", "Warehouses"),
|
|
195
195
|
path: T(b, "inventory/warehouses"),
|
|
196
|
-
icon: /* @__PURE__ */ w(
|
|
196
|
+
icon: /* @__PURE__ */ w(a, { size: 14 }),
|
|
197
197
|
order: 3
|
|
198
198
|
}
|
|
199
199
|
]
|
|
@@ -202,7 +202,7 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
202
202
|
id: "mtw-customers",
|
|
203
203
|
label: S("movethewheels.root.nav.customers", "Customers"),
|
|
204
204
|
path: T(b, "customers"),
|
|
205
|
-
icon: /* @__PURE__ */ w(
|
|
205
|
+
icon: /* @__PURE__ */ w(n, { size: 16 }),
|
|
206
206
|
order: 6
|
|
207
207
|
},
|
|
208
208
|
{
|
|
@@ -216,78 +216,78 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
216
216
|
id: "mtw-import-export",
|
|
217
217
|
label: S("movethewheels.root.nav.importExport", "Import / Export"),
|
|
218
218
|
path: T(b, "import-export"),
|
|
219
|
-
icon: /* @__PURE__ */ w(
|
|
219
|
+
icon: /* @__PURE__ */ w(h, { size: 16 }),
|
|
220
220
|
order: 6
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
id: "mtw-routes",
|
|
224
224
|
label: S("movethewheels.root.nav.routes", "Routes"),
|
|
225
225
|
path: T(b, "routes"),
|
|
226
|
-
icon: /* @__PURE__ */ w(
|
|
226
|
+
icon: /* @__PURE__ */ w(o, { size: 16 }),
|
|
227
227
|
order: 7,
|
|
228
228
|
children: [{
|
|
229
229
|
id: "mtw-trip-utilization",
|
|
230
230
|
label: S("movethewheels.root.nav.tripUtilization", "Reported trip utilization"),
|
|
231
231
|
path: T(b, "routes/trip-utilization"),
|
|
232
|
-
icon: /* @__PURE__ */ w(
|
|
232
|
+
icon: /* @__PURE__ */ w(e, { size: 16 })
|
|
233
233
|
}, {
|
|
234
234
|
id: "mtw-fuel-preview",
|
|
235
235
|
label: S("movethewheels.root.nav.fuelPreview", "Consumed fuel preview"),
|
|
236
236
|
path: T(b, "fuel-preview"),
|
|
237
|
-
icon: /* @__PURE__ */ w(
|
|
237
|
+
icon: /* @__PURE__ */ w(e, { size: 16 })
|
|
238
238
|
}]
|
|
239
239
|
},
|
|
240
240
|
{
|
|
241
241
|
id: "mtw-analytics",
|
|
242
242
|
label: S("movethewheels.root.nav.analytics", "Analytics"),
|
|
243
243
|
path: T(b, "analytics"),
|
|
244
|
-
icon: /* @__PURE__ */ w(
|
|
244
|
+
icon: /* @__PURE__ */ w(s, { size: 16 }),
|
|
245
245
|
order: 8
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
248
|
id: "mtw-finance",
|
|
249
249
|
label: S("movethewheels.root.nav.finance", "Finance"),
|
|
250
250
|
path: T(b, "finance"),
|
|
251
|
-
icon: /* @__PURE__ */ w(
|
|
251
|
+
icon: /* @__PURE__ */ w(f, { size: 16 }),
|
|
252
252
|
order: 9,
|
|
253
253
|
children: [{
|
|
254
254
|
id: "mtw-freight-invoice-comparisons",
|
|
255
255
|
label: S("movethewheels.root.nav.freightInvoices", "Freight invoice comparisons"),
|
|
256
256
|
path: T(b, "finance/freight-invoice-comparisons"),
|
|
257
|
-
icon: /* @__PURE__ */ w(
|
|
257
|
+
icon: /* @__PURE__ */ w(f, { size: 16 })
|
|
258
258
|
}, {
|
|
259
259
|
id: "mtw-freight-estimates",
|
|
260
260
|
label: S("movethewheels.root.nav.freightEstimates", "Freight cost estimates"),
|
|
261
261
|
path: T(b, "finance/freight-estimates"),
|
|
262
|
-
icon: /* @__PURE__ */ w(
|
|
262
|
+
icon: /* @__PURE__ */ w(f, { size: 16 })
|
|
263
263
|
}]
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
id: "mtw-reports",
|
|
267
267
|
label: S("movethewheels.root.nav.reports", "Reports"),
|
|
268
268
|
path: T(b, "reports"),
|
|
269
|
-
icon: /* @__PURE__ */ w(
|
|
269
|
+
icon: /* @__PURE__ */ w(v, { size: 16 }),
|
|
270
270
|
order: 10
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
273
|
id: "mtw-ai-assistant",
|
|
274
274
|
label: S("movethewheels.root.nav.aiOperations", "AI Operations"),
|
|
275
275
|
path: "/ai",
|
|
276
|
-
icon: /* @__PURE__ */ w(
|
|
276
|
+
icon: /* @__PURE__ */ w(p, { size: 16 }),
|
|
277
277
|
order: 13
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
id: "mtw-integrations",
|
|
281
281
|
label: S("movethewheels.root.nav.integrations", "Integrations"),
|
|
282
282
|
path: T(b, "integrations"),
|
|
283
|
-
icon: /* @__PURE__ */ w(
|
|
283
|
+
icon: /* @__PURE__ */ w(_, { size: 16 }),
|
|
284
284
|
order: 98
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
287
|
id: "mtw-settings",
|
|
288
288
|
label: S("movethewheels.root.nav.settings", "Settings"),
|
|
289
289
|
path: T(b, "settings"),
|
|
290
|
-
icon: /* @__PURE__ */ w(
|
|
290
|
+
icon: /* @__PURE__ */ w(g, { size: 16 }),
|
|
291
291
|
order: 99
|
|
292
292
|
}
|
|
293
293
|
]
|
|
@@ -300,13 +300,15 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
300
300
|
}, O = (e) => {
|
|
301
301
|
let { registerNavItems: t, registerFooterItems: n, basePath: r = "/" } = e, i = x();
|
|
302
302
|
return C(() => {
|
|
303
|
-
if (n) return
|
|
303
|
+
if (!n) return;
|
|
304
|
+
let e = [{
|
|
304
305
|
id: "mtw-status",
|
|
305
306
|
label: i("movethewheels.root.footer.status", "Logistics Ready"),
|
|
306
307
|
type: "status",
|
|
307
308
|
order: 20,
|
|
308
309
|
section: "left"
|
|
309
|
-
}]
|
|
310
|
+
}];
|
|
311
|
+
return n(e);
|
|
310
312
|
}, [n, i]), /* @__PURE__ */ T(E, {
|
|
311
313
|
workspaceId: null,
|
|
312
314
|
gateway: "global",
|
|
@@ -323,5 +325,4 @@ var D = ({ registerNavItems: y, basePath: b = "/" }) => {
|
|
|
323
325
|
})]
|
|
324
326
|
});
|
|
325
327
|
};
|
|
326
|
-
//#endregion
|
|
327
328
|
export { O as MoveTheWheelsRoot };
|
|
@@ -6,11 +6,11 @@ import { Suspense as r, lazy as i } from "react";
|
|
|
6
6
|
import { Navigate as a, Route as o, Routes as s, useNavigate as c } from "react-router";
|
|
7
7
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
8
|
import { NotFoundPage as d } from "@burdenoff/fe-libs/shared/pages";
|
|
9
|
-
|
|
9
|
+
// src/movethewheels/MoveTheWheelsRoutes.tsx
|
|
10
10
|
function f() {
|
|
11
|
-
let { navigate: t, basePath: r } = e(), i = c();
|
|
11
|
+
let { navigate: t, basePath: r } = e(), i = c(), a = n();
|
|
12
12
|
return /* @__PURE__ */ l(d, {
|
|
13
|
-
homeLabel:
|
|
13
|
+
homeLabel: a("movethewheels.root.notFound.homeLabel", "Back to MoveTheWheels"),
|
|
14
14
|
onGoHome: () => {
|
|
15
15
|
t ? t(r || "/") : i("/");
|
|
16
16
|
}
|
|
@@ -29,7 +29,7 @@ function p() {
|
|
|
29
29
|
})
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
var m = i(() => import("./pages/DashboardPage.js")), h = i(() => import("./pages/OrdersListPage.js")), g = i(() => import("./pages/OrderDetailsPage.js")), _ = i(() => import("./pages/CreateOrderPage.js")), v = i(() => import("./pages/TrackingPage.js")), y = i(() => import("./pages/TrackingEventQualityPage.js")), b = i(() => import("./pages/ShipmentStatusAuthorityPage.js")), x = i(() => import("./pages/LiveTrackingPage.js")), S = i(() => import("./pages/FleetPage.js")), C = i(() => import("./pages/VehiclesPage.js")), w = i(() => import("./pages/VehicleDetailsPage.js")), T = i(() => import("./pages/DriversPage.js")), E = i(() => import("./pages/DriverDetailsPage.js")), D = i(() => import("./pages/InventoryPage.js")), O = i(() => import("./pages/ProductsPage.js")), k = i(() => import("./pages/ProductDetailsPage.js")), A = i(() => import("./pages/PalletPreviewPage.js")), j = i(() => import("./pages/WarehousesPage.js")), M = i(() => import("./pages/WarehouseDetailsPage.js")), N = i(() => import("./pages/CustomersPage.js")), P = i(() => import("./pages/CustomerDetailsPage.js")), F = i(() => import("./pages/MarketplacePage.js")),
|
|
32
|
+
var m = i(() => import("./pages/DashboardPage.js")), h = i(() => import("./pages/OrdersListPage.js")), g = i(() => import("./pages/OrderDetailsPage.js")), _ = i(() => import("./pages/CreateOrderPage.js")), v = i(() => import("./pages/TrackingPage.js")), y = i(() => import("./pages/TrackingEventQualityPage.js")), b = i(() => import("./pages/ShipmentStatusAuthorityPage.js")), x = i(() => import("./pages/LiveTrackingPage.js")), S = i(() => import("./pages/FleetPage.js")), C = i(() => import("./pages/VehiclesPage.js")), w = i(() => import("./pages/VehicleDetailsPage.js")), T = i(() => import("./pages/DriversPage.js")), E = i(() => import("./pages/DriverDetailsPage.js")), D = i(() => import("./pages/InventoryPage.js")), O = i(() => import("./pages/ProductsPage.js")), k = i(() => import("./pages/ProductDetailsPage.js")), A = i(() => import("./pages/PalletPreviewPage.js")), j = i(() => import("./pages/WarehousesPage.js")), M = i(() => import("./pages/WarehouseDetailsPage.js")), N = i(() => import("./pages/CustomersPage.js")), P = i(() => import("./pages/CustomerDetailsPage.js")), F = i(() => import("./pages/MarketplacePage.js")), I = i(() => import("./pages/ImportExportPage.js")), ee = i(() => import("./pages/SettingsPage.js")), L = i(() => import("./pages/IntegrationsPage.js")), R = i(() => import("./pages/ReportsPage.js")), z = i(() => import("./pages/RoutesPage.js")), B = i(() => import("./pages/RouteDetailsPage.js")), V = i(() => import("./pages/AnalyticsPage.js")), H = i(() => import("./pages/FinancePage.js")), U = i(() => import("./pages/FreightEstimatePage.js")), W = i(() => import("./pages/FreightInvoicePage.js")), G = i(() => import("./pages/ConsolidationPage.js")), K = i(() => import("./pages/LogisticsProceduresPage.js")), q = i(() => import("./pages/DeliveryCapturePage.js")), J = i(() => import("./pages/MultiModalShipmentPage.js")), Y = i(() => import("./pages/ShippingRatesPage.js")), X = i(() => import("./pages/ContainersPage.js")), Z = i(() => import("./pages/ContainerConditionPage.js")), Q = i(() => import("./pages/FreeTimePage.js")), $ = i(() => import("./pages/PendingPickPage.js")), te = i(() => import("./pages/StockObservationsPage.js")), ne = i(() => import("./pages/StockBindingPage.js")), re = i(() => import("./pages/TripUtilizationPage.js")), ie = i(() => import("./pages/DispatchPlanPage.js")), ae = i(() => import("./pages/ConsumedFuelPreviewPage.js")), oe = i(() => import("./pages/EmptyReusePage.js"));
|
|
33
33
|
function se() {
|
|
34
34
|
return t(), /* @__PURE__ */ l(r, {
|
|
35
35
|
fallback: /* @__PURE__ */ l(p, {}),
|
|
@@ -212,7 +212,7 @@ function se() {
|
|
|
212
212
|
}),
|
|
213
213
|
/* @__PURE__ */ l(o, {
|
|
214
214
|
path: "import-export",
|
|
215
|
-
element: /* @__PURE__ */ l(
|
|
215
|
+
element: /* @__PURE__ */ l(I, {})
|
|
216
216
|
}),
|
|
217
217
|
/* @__PURE__ */ l(o, {
|
|
218
218
|
path: "reports",
|
|
@@ -220,7 +220,7 @@ function se() {
|
|
|
220
220
|
}),
|
|
221
221
|
/* @__PURE__ */ l(o, {
|
|
222
222
|
path: "settings",
|
|
223
|
-
element: /* @__PURE__ */ l(
|
|
223
|
+
element: /* @__PURE__ */ l(ee, {})
|
|
224
224
|
}),
|
|
225
225
|
/* @__PURE__ */ l(o, {
|
|
226
226
|
path: "integrations",
|
|
@@ -284,5 +284,4 @@ function se() {
|
|
|
284
284
|
] })
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
//#endregion
|
|
288
287
|
export { se as MoveTheWheelsRoutes };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {
|
|
3
3
|
let r = {};
|
|
4
4
|
for (var i in e) t(r, i, {
|
|
5
5
|
get: e[i],
|
|
@@ -12,9 +12,8 @@ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescr
|
|
|
12
12
|
enumerable: !(s = n(i, d)) || s.enumerable
|
|
13
13
|
});
|
|
14
14
|
return e;
|
|
15
|
-
}, l = (n, r,
|
|
15
|
+
}, l = (n, r, o) => (o = n == null ? {} : e(i(n)), c(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
16
16
|
value: n,
|
|
17
17
|
enumerable: !0
|
|
18
|
-
}) :
|
|
19
|
-
//#endregion
|
|
18
|
+
}) : o, n));
|
|
20
19
|
export { o as __commonJSMin, s as __exportAll, l as __toESM };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import e from "../node_modules/lucide-react/dist/esm/icons/sparkles.js";
|
|
2
|
+
import { FormError as t } from "./FormError.js";
|
|
3
|
+
import { Badge as n, Button as r, Card as i, CardContent as a, CardHeader as o, CardTitle as s, Skeleton as c } from "./ui.js";
|
|
4
4
|
import { useState as l } from "react";
|
|
5
5
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
|
-
|
|
7
|
-
function p({ id: e, label:
|
|
6
|
+
// src/movethewheels/components/AssignmentSuggestions.tsx
|
|
7
|
+
function p({ id: e, label: t, reasons: i, isBest: a, isAssigned: o, isPending: s, disabled: c, onAssign: l, t: u }) {
|
|
8
8
|
return /* @__PURE__ */ f("li", {
|
|
9
9
|
className: "flex items-start justify-between gap-3 py-3",
|
|
10
10
|
"data-suggestion-id": e,
|
|
@@ -14,8 +14,8 @@ function p({ id: e, label: r, reasons: i, isBest: a, isAssigned: o, isPending: s
|
|
|
14
14
|
className: "flex flex-wrap items-center gap-x-2 gap-y-1",
|
|
15
15
|
children: [/* @__PURE__ */ d("span", {
|
|
16
16
|
className: "text-sm font-medium break-words",
|
|
17
|
-
children:
|
|
18
|
-
}), a && /* @__PURE__ */ d(
|
|
17
|
+
children: t
|
|
18
|
+
}), a && /* @__PURE__ */ d(n, {
|
|
19
19
|
variant: "secondary",
|
|
20
20
|
children: u("movethewheels.routes.suggest.best", "Best match")
|
|
21
21
|
})]
|
|
@@ -26,7 +26,7 @@ function p({ id: e, label: r, reasons: i, isBest: a, isAssigned: o, isPending: s
|
|
|
26
26
|
children: e
|
|
27
27
|
}, e))
|
|
28
28
|
})]
|
|
29
|
-
}), /* @__PURE__ */ d(
|
|
29
|
+
}), /* @__PURE__ */ d(r, {
|
|
30
30
|
size: "sm",
|
|
31
31
|
className: "shrink-0",
|
|
32
32
|
variant: o ? "ghost" : "outline",
|
|
@@ -36,7 +36,7 @@ function p({ id: e, label: r, reasons: i, isBest: a, isAssigned: o, isPending: s
|
|
|
36
36
|
})]
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
function m({ suggestions:
|
|
39
|
+
function m({ suggestions: n, isLoading: m, error: h, onRetry: g, assignedVehicleId: _, assignedDriverId: v, onAssign: y, t: b }) {
|
|
40
40
|
let [x, S] = l(null), [C, w] = l(null), T = b("movethewheels.routes.suggest.title", "Suggested assignment"), E = async (e, t) => {
|
|
41
41
|
S(e), w(null);
|
|
42
42
|
try {
|
|
@@ -47,9 +47,9 @@ function m({ suggestions: t, isLoading: m, error: h, onRetry: g, assignedVehicle
|
|
|
47
47
|
S(null);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
if (h && !m) return /* @__PURE__ */ d(
|
|
50
|
+
if (h && !m) return /* @__PURE__ */ d(i, {
|
|
51
51
|
className: "border-status-error-border",
|
|
52
|
-
children: /* @__PURE__ */ f(
|
|
52
|
+
children: /* @__PURE__ */ f(a, {
|
|
53
53
|
className: "p-6 text-center space-y-3",
|
|
54
54
|
children: [
|
|
55
55
|
/* @__PURE__ */ d("p", {
|
|
@@ -60,7 +60,7 @@ function m({ suggestions: t, isLoading: m, error: h, onRetry: g, assignedVehicle
|
|
|
60
60
|
className: "text-sm text-text-secondary",
|
|
61
61
|
children: h.message
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */ d(
|
|
63
|
+
/* @__PURE__ */ d(r, {
|
|
64
64
|
variant: "outline",
|
|
65
65
|
onClick: g,
|
|
66
66
|
children: b("movethewheels.fleet.error.retry", "Retry")
|
|
@@ -68,20 +68,20 @@ function m({ suggestions: t, isLoading: m, error: h, onRetry: g, assignedVehicle
|
|
|
68
68
|
]
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
|
-
if (m) return /* @__PURE__ */ f(
|
|
71
|
+
if (m) return /* @__PURE__ */ f(i, { children: [/* @__PURE__ */ d(o, { children: /* @__PURE__ */ d(s, { children: T }) }), /* @__PURE__ */ f(a, {
|
|
72
72
|
className: "space-y-3",
|
|
73
|
-
children: [/* @__PURE__ */ d(
|
|
73
|
+
children: [/* @__PURE__ */ d(c, { className: "h-14 w-full" }), /* @__PURE__ */ d(c, { className: "h-14 w-full" })]
|
|
74
74
|
})] });
|
|
75
|
-
let { vehicles: D, drivers: O } =
|
|
76
|
-
return /* @__PURE__ */ f(
|
|
75
|
+
let { vehicles: D, drivers: O } = n, k = D.length === 0 && O.length === 0;
|
|
76
|
+
return /* @__PURE__ */ f(i, { children: [/* @__PURE__ */ d(o, { children: /* @__PURE__ */ f(s, {
|
|
77
77
|
className: "flex items-center gap-2",
|
|
78
78
|
children: [/* @__PURE__ */ d(e, {
|
|
79
79
|
size: 18,
|
|
80
80
|
"aria-hidden": "true"
|
|
81
81
|
}), T]
|
|
82
|
-
}) }), /* @__PURE__ */ f(
|
|
82
|
+
}) }), /* @__PURE__ */ f(a, {
|
|
83
83
|
className: "space-y-4",
|
|
84
|
-
children: [/* @__PURE__ */ d(
|
|
84
|
+
children: [/* @__PURE__ */ d(t, { message: C }), k ? /* @__PURE__ */ d("p", {
|
|
85
85
|
className: "text-sm text-text-secondary",
|
|
86
86
|
children: b("movethewheels.routes.suggest.none", "No vehicle or driver is free right now. Vehicles must be in service and drivers must hold a valid licence and not be on another live route.")
|
|
87
87
|
}) : /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ f("section", {
|
|
@@ -131,5 +131,4 @@ function m({ suggestions: t, isLoading: m, error: h, onRetry: g, assignedVehicle
|
|
|
131
131
|
})] })]
|
|
132
132
|
})] });
|
|
133
133
|
}
|
|
134
|
-
//#endregion
|
|
135
134
|
export { m as AssignmentSuggestions };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import e from "../node_modules/lucide-react/dist/esm/icons/leaf.js";
|
|
2
|
+
import t from "../node_modules/lucide-react/dist/esm/icons/truck.js";
|
|
3
|
+
import { Card as n, CardContent as r, CardHeader as i, CardTitle as a } from "./ui.js";
|
|
4
|
+
import { MetricCard as o, MetricGrid as s } from "./MetricCard.js";
|
|
5
|
+
import { useEmissionsSummary as c } from "../hooks/useAnalytics.js";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/movethewheels/components/CarbonFootprintPanel.tsx
|
|
8
8
|
function d(e) {
|
|
9
9
|
return e >= 1e3 ? `${(e / 1e3).toFixed(2)} t` : `${e.toFixed(1)} kg`;
|
|
10
10
|
}
|
|
@@ -12,10 +12,10 @@ function f(e) {
|
|
|
12
12
|
return e >= 1e3 ? `${(e / 1e3).toFixed(1)}k km` : `${e.toFixed(1)} km`;
|
|
13
13
|
}
|
|
14
14
|
function p() {
|
|
15
|
-
let { summary: p, isLoading: m, error: h } =
|
|
16
|
-
if (h) return /* @__PURE__ */ l(
|
|
15
|
+
let { summary: p, isLoading: m, error: h } = c();
|
|
16
|
+
if (h) return /* @__PURE__ */ l(n, {
|
|
17
17
|
className: "border-status-error-border",
|
|
18
|
-
children: /* @__PURE__ */ l(
|
|
18
|
+
children: /* @__PURE__ */ l(r, {
|
|
19
19
|
className: "p-6 text-center",
|
|
20
20
|
children: /* @__PURE__ */ l("p", {
|
|
21
21
|
className: "text-sm text-status-error-text",
|
|
@@ -23,42 +23,42 @@ function p() {
|
|
|
23
23
|
})
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
if (m) return /* @__PURE__ */ u(
|
|
26
|
+
if (m) return /* @__PURE__ */ u(n, { children: [/* @__PURE__ */ l(i, { children: /* @__PURE__ */ u(a, {
|
|
27
27
|
className: "flex items-center gap-2",
|
|
28
28
|
children: [/* @__PURE__ */ l(e, {
|
|
29
29
|
size: 18,
|
|
30
30
|
className: "text-status-success-text"
|
|
31
31
|
}), "Carbon footprint"]
|
|
32
|
-
}) }), /* @__PURE__ */ l(
|
|
32
|
+
}) }), /* @__PURE__ */ l(r, { children: /* @__PURE__ */ l(s, {
|
|
33
33
|
columns: 3,
|
|
34
34
|
children: Array.from({ length: 3 }).map((e, t) => /* @__PURE__ */ l("div", { className: "h-24 rounded-xl bg-bg-sunken motion-safe:animate-pulse" }, t))
|
|
35
35
|
}) })] });
|
|
36
36
|
let g = p.totalDistanceKm > 0;
|
|
37
|
-
return /* @__PURE__ */ u(
|
|
37
|
+
return /* @__PURE__ */ u(n, { children: [/* @__PURE__ */ l(i, { children: /* @__PURE__ */ u(a, {
|
|
38
38
|
className: "flex items-center gap-2",
|
|
39
39
|
children: [/* @__PURE__ */ l(e, {
|
|
40
40
|
size: 18,
|
|
41
41
|
className: "text-status-success-text"
|
|
42
42
|
}), "Carbon footprint"]
|
|
43
|
-
}) }), /* @__PURE__ */ u(
|
|
43
|
+
}) }), /* @__PURE__ */ u(r, {
|
|
44
44
|
className: "space-y-6",
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */ u(
|
|
46
|
+
/* @__PURE__ */ u(s, {
|
|
47
47
|
columns: 3,
|
|
48
48
|
children: [
|
|
49
|
-
/* @__PURE__ */ l(
|
|
49
|
+
/* @__PURE__ */ l(o, {
|
|
50
50
|
label: "Total CO2e",
|
|
51
51
|
value: d(p.totalCo2eKg),
|
|
52
52
|
icon: /* @__PURE__ */ l(e, { size: 20 }),
|
|
53
53
|
accent: "success"
|
|
54
54
|
}),
|
|
55
|
-
/* @__PURE__ */ l(
|
|
55
|
+
/* @__PURE__ */ l(o, {
|
|
56
56
|
label: "Total distance",
|
|
57
57
|
value: f(p.totalDistanceKm),
|
|
58
58
|
icon: /* @__PURE__ */ l(t, { size: 20 }),
|
|
59
59
|
accent: "blue"
|
|
60
60
|
}),
|
|
61
|
-
/* @__PURE__ */ l(
|
|
61
|
+
/* @__PURE__ */ l(o, {
|
|
62
62
|
label: "Avg intensity",
|
|
63
63
|
value: `${(p.averageCo2eKgPerKm * 1e3).toFixed(1)} g/km`,
|
|
64
64
|
icon: /* @__PURE__ */ l(e, { size: 20 }),
|
|
@@ -104,5 +104,4 @@ function p() {
|
|
|
104
104
|
]
|
|
105
105
|
})] });
|
|
106
106
|
}
|
|
107
|
-
//#endregion
|
|
108
107
|
export { p as CarbonFootprintPanel };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Dialog as e, DialogContent as t, DialogDescription as n, DialogHeader as r, DialogTitle as i } from "./ui.js";
|
|
2
2
|
import { ShipmentDecisionPanel as a } from "./ShipmentDecisionPanel.js";
|
|
3
3
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/movethewheels/components/CarrierRecommendationDialog.tsx
|
|
5
5
|
function c({ shipment: c, onOpenChange: l, onApplied: u, t: d }) {
|
|
6
6
|
return /* @__PURE__ */ o(e, {
|
|
7
7
|
open: c !== null,
|
|
@@ -17,5 +17,4 @@ function c({ shipment: c, onOpenChange: l, onApplied: u, t: d }) {
|
|
|
17
17
|
})
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
|
-
//#endregion
|
|
21
20
|
export { c as CarrierRecommendationDialog };
|