@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,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useConditionQuery as
|
|
3
|
-
import {
|
|
1
|
+
import { ContainerEvidenceFilesDocument as e, ContainerEvidenceVersionsDocument as t, InvoiceEvidenceVersionsDocument as n } from "../src/generated/wspace-operations.js";
|
|
2
|
+
import { useConditionQuery as r } from "../hooks/useContainerCondition.js";
|
|
3
|
+
import { Button as i } from "./ui.js";
|
|
4
4
|
import { useState as a } from "react";
|
|
5
5
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/movethewheels/components/ContainerEvidencePicker.tsx
|
|
7
7
|
function c({ value: c, onChange: l, currentOnly: u = !1, description: d = "Choose exact versions from shared Files. Evidence integrity does not confirm the issuer or certify the container." }) {
|
|
8
|
-
let [f, p] = a(""), [m, h] = a(0), [g, _] = a(0), v =
|
|
8
|
+
let [f, p] = a(""), [m, h] = a(0), [g, _] = a(0), v = r(e, { pagination: {
|
|
9
9
|
limit: 25,
|
|
10
10
|
offset: m
|
|
11
|
-
} }), y =
|
|
11
|
+
} }), y = r(u ? n : t, f ? {
|
|
12
12
|
fileId: f,
|
|
13
13
|
pagination: {
|
|
14
14
|
limit: 25,
|
|
@@ -54,7 +54,7 @@ function c({ value: c, onChange: l, currentOnly: u = !1, description: d = "Choos
|
|
|
54
54
|
}),
|
|
55
55
|
/* @__PURE__ */ s("div", {
|
|
56
56
|
className: "flex gap-2",
|
|
57
|
-
children: [/* @__PURE__ */ o(
|
|
57
|
+
children: [/* @__PURE__ */ o(i, {
|
|
58
58
|
type: "button",
|
|
59
59
|
variant: "outline",
|
|
60
60
|
disabled: m === 0 || v.loading,
|
|
@@ -62,7 +62,7 @@ function c({ value: c, onChange: l, currentOnly: u = !1, description: d = "Choos
|
|
|
62
62
|
h(Math.max(0, m - 25)), p("");
|
|
63
63
|
},
|
|
64
64
|
children: "Previous files"
|
|
65
|
-
}), /* @__PURE__ */ o(
|
|
65
|
+
}), /* @__PURE__ */ o(i, {
|
|
66
66
|
type: "button",
|
|
67
67
|
variant: "outline",
|
|
68
68
|
disabled: !v.data?.getFiles.hasMore || v.loading,
|
|
@@ -102,13 +102,13 @@ function c({ value: c, onChange: l, currentOnly: u = !1, description: d = "Choos
|
|
|
102
102
|
}),
|
|
103
103
|
f && /* @__PURE__ */ s("div", {
|
|
104
104
|
className: "flex gap-2",
|
|
105
|
-
children: [/* @__PURE__ */ o(
|
|
105
|
+
children: [/* @__PURE__ */ o(i, {
|
|
106
106
|
type: "button",
|
|
107
107
|
variant: "outline",
|
|
108
108
|
disabled: g === 0 || y.loading,
|
|
109
109
|
onClick: () => _(Math.max(0, g - 25)),
|
|
110
110
|
children: "Previous versions"
|
|
111
|
-
}), /* @__PURE__ */ o(
|
|
111
|
+
}), /* @__PURE__ */ o(i, {
|
|
112
112
|
type: "button",
|
|
113
113
|
variant: "outline",
|
|
114
114
|
disabled: !y.data?.getFileVersions.hasMore || y.loading,
|
|
@@ -124,20 +124,19 @@ function c({ value: c, onChange: l, currentOnly: u = !1, description: d = "Choos
|
|
|
124
124
|
" of 10 versions."
|
|
125
125
|
]
|
|
126
126
|
}),
|
|
127
|
-
c.map((
|
|
127
|
+
c.map((e) => /* @__PURE__ */ s("div", {
|
|
128
128
|
className: "flex items-center justify-between gap-2 text-sm",
|
|
129
129
|
children: [/* @__PURE__ */ o("span", {
|
|
130
130
|
className: "break-words",
|
|
131
|
-
children:
|
|
132
|
-
}), /* @__PURE__ */ o(
|
|
131
|
+
children: e.label
|
|
132
|
+
}), /* @__PURE__ */ o(i, {
|
|
133
133
|
type: "button",
|
|
134
134
|
variant: "outline",
|
|
135
|
-
onClick: () => l(c.filter((
|
|
135
|
+
onClick: () => l(c.filter((t) => t.versionId !== e.versionId)),
|
|
136
136
|
children: "Remove"
|
|
137
137
|
})]
|
|
138
|
-
},
|
|
138
|
+
}, e.versionId))
|
|
139
139
|
]
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
|
-
//#endregion
|
|
143
142
|
export { c as ContainerEvidencePicker };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Checkbox as e, Label as t } from "./ui.js";
|
|
2
2
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/movethewheels/components/CustomerDeliveryUpdatesFields.tsx
|
|
4
4
|
function i({ idPrefix: i, value: a, onChange: o, disabled: s }) {
|
|
5
5
|
return /* @__PURE__ */ r("fieldset", {
|
|
6
6
|
className: "space-y-3",
|
|
@@ -53,5 +53,4 @@ function i({ idPrefix: i, value: a, onChange: o, disabled: s }) {
|
|
|
53
53
|
function a(e) {
|
|
54
54
|
return e.notifyByEmail && e.notifyBySms ? "Email and SMS" : e.notifyByEmail ? "Email" : e.notifyBySms ? "SMS" : "Off";
|
|
55
55
|
}
|
|
56
|
-
//#endregion
|
|
57
56
|
export { i as CustomerDeliveryUpdatesFields, a as deliveryUpdatesSummary };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import e from "../node_modules/lucide-react/dist/esm/icons/bell-ring.js";
|
|
2
|
+
import t from "../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
|
|
3
|
+
import n from "../node_modules/lucide-react/dist/esm/icons/refresh-cw.js";
|
|
4
|
+
import ee from "../node_modules/lucide-react/dist/esm/icons/rotate-ccw.js";
|
|
5
|
+
import te from "../node_modules/lucide-react/dist/esm/icons/save.js";
|
|
6
6
|
import { useMoveTheWheels as ne } from "../providers/MoveTheWheelsProvider.js";
|
|
7
7
|
import { executeGraphQL as r } from "../utils/graphqlClient.js";
|
|
8
8
|
import { formatDateTime as i } from "../utils/formatters.js";
|
|
9
|
-
import {
|
|
10
|
-
import { FormError as
|
|
11
|
-
import { Notice as
|
|
12
|
-
import {
|
|
9
|
+
import { CUSTOMER_NOTIFICATION_EVENTS as a, MTW_CUSTOMER_NOTIFICATIONS_QUERY as re, MTW_CUSTOMER_NOTIFICATION_PREVIEWS_QUERY as ie, MTW_CUSTOMER_NOTIFICATION_SETTINGS_QUERY as ae, STATUS_LABELS as oe, UPDATE_MTW_CUSTOMER_NOTIFICATION_SETTINGS_MUTATION as se, changedNotificationSettings as ce, defaultNotificationSettings as le, eventLabel as ue, notificationDraftError as de, toggleEvent as fe } from "../utils/customerNotifications.js";
|
|
10
|
+
import { FormError as o } from "./FormError.js";
|
|
11
|
+
import { Notice as pe, useNotice as me } from "./Notice.js";
|
|
12
|
+
import { Badge as s, Button as c, Card as he, CardContent as ge, CardDescription as _e, CardHeader as ve, CardTitle as ye, Checkbox as l, Label as u, Skeleton as d, Switch as be } from "./ui.js";
|
|
13
13
|
import { useCallback as xe, useEffect as f, useMemo as p, useRef as Se, useState as m } from "react";
|
|
14
14
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
15
|
-
|
|
15
|
+
// src/movethewheels/components/CustomerNotificationSettingsCard.tsx
|
|
16
16
|
var Ce = 10, _ = (e) => ({
|
|
17
17
|
enabled: e.enabled,
|
|
18
18
|
emailEnabled: e.emailEnabled,
|
|
@@ -39,15 +39,15 @@ function v({ readOnly: v }) {
|
|
|
39
39
|
S,
|
|
40
40
|
C,
|
|
41
41
|
w?.id
|
|
42
|
-
]), [E, D] = m(() =>
|
|
42
|
+
]), [E, D] = m(() => le(S ?? "")), [O, k] = m(() => _(E)), [A, j] = m(!1), [M, N] = m(null), [P, F] = m(!1), [Te, I] = m(null), { message: Ee, notify: De } = me(), [L, Oe] = m([]), [R, ke] = m(0), [z, B] = m(null), [V, H] = m(!0), [U, Ae] = m([]), [W, je] = m("BOOKED"), [Me, Ne] = m(0), G = Se(0);
|
|
43
43
|
f(() => {
|
|
44
44
|
if (!T.workspaceId) return;
|
|
45
45
|
let e = !1;
|
|
46
|
-
return j(!1), r(T,
|
|
46
|
+
return j(!1), r(T, ae).then((t) => {
|
|
47
47
|
e || (D(t.mtwCustomerNotificationSettings), k(_(t.mtwCustomerNotificationSettings)), N(null), j(!0));
|
|
48
48
|
}).catch((t) => {
|
|
49
49
|
e || N(t instanceof Error ? t.message : "Could not load the settings");
|
|
50
|
-
}), r(T,
|
|
50
|
+
}), r(T, ie).then((t) => {
|
|
51
51
|
e || Ae(t.mtwCustomerNotificationPreviews);
|
|
52
52
|
}).catch(() => {}), () => {
|
|
53
53
|
e = !0;
|
|
@@ -61,7 +61,7 @@ function v({ readOnly: v }) {
|
|
|
61
61
|
let e = ++G.current;
|
|
62
62
|
H(!0);
|
|
63
63
|
try {
|
|
64
|
-
let t = await r(T,
|
|
64
|
+
let t = await r(T, re, { pagination: {
|
|
65
65
|
limit: Ce,
|
|
66
66
|
offset: 0
|
|
67
67
|
} });
|
|
@@ -77,7 +77,7 @@ function v({ readOnly: v }) {
|
|
|
77
77
|
f(() => (K(), () => {
|
|
78
78
|
G.current += 1;
|
|
79
79
|
}), [K]);
|
|
80
|
-
let q = p(() =>
|
|
80
|
+
let q = p(() => ce(E, O), [E, O]), J = de(O), Y = Object.keys(q).length > 0, X = A && !v && !P && Y && !J, Z = v || P || !A, Q = (e) => {
|
|
81
81
|
I(null), k((t) => ({
|
|
82
82
|
...t,
|
|
83
83
|
...e
|
|
@@ -86,7 +86,7 @@ function v({ readOnly: v }) {
|
|
|
86
86
|
if (e.preventDefault(), X) {
|
|
87
87
|
F(!0), I(null);
|
|
88
88
|
try {
|
|
89
|
-
let e = (await r(T,
|
|
89
|
+
let e = (await r(T, se, { input: q }, "SINGLE_ATTEMPT")).updateMtwCustomerNotificationSettings;
|
|
90
90
|
D(e), k(_(e)), De(e.enabled ? "Customer notifications are on. Customers hear about shipment changes from now on." : "Customer notifications are off.");
|
|
91
91
|
} catch (e) {
|
|
92
92
|
I(e instanceof Error ? e.message : "Could not save the settings");
|
|
@@ -95,23 +95,23 @@ function v({ readOnly: v }) {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
}, $ = U.find((e) => e.event === W);
|
|
98
|
-
return /* @__PURE__ */ g(
|
|
98
|
+
return /* @__PURE__ */ g(he, {
|
|
99
99
|
"data-testid": "mtw-customer-notifications",
|
|
100
|
-
children: [/* @__PURE__ */ g(
|
|
100
|
+
children: [/* @__PURE__ */ g(ve, { children: [/* @__PURE__ */ g("div", {
|
|
101
101
|
className: "flex flex-wrap items-center justify-between gap-3",
|
|
102
|
-
children: [/* @__PURE__ */ g(
|
|
102
|
+
children: [/* @__PURE__ */ g(ye, {
|
|
103
103
|
className: "flex items-center gap-2 text-base",
|
|
104
104
|
children: [/* @__PURE__ */ h(e, { size: 18 }), " Customer delivery notifications"]
|
|
105
|
-
}), A && /* @__PURE__ */ h(
|
|
105
|
+
}), A && /* @__PURE__ */ h(s, {
|
|
106
106
|
variant: E.enabled ? "default" : "outline",
|
|
107
107
|
children: E.enabled ? "On" : "Off"
|
|
108
108
|
})]
|
|
109
|
-
}), /* @__PURE__ */ h(
|
|
109
|
+
}), /* @__PURE__ */ h(_e, { children: "Email or text your customers when their shipment is booked, picked up, out for delivery, delivered, running late or could not be delivered. Each customer can opt out on their customer record; SMS goes only to customers who agreed to texts." })] }), /* @__PURE__ */ g(ge, {
|
|
110
110
|
className: "space-y-6",
|
|
111
111
|
children: [
|
|
112
112
|
M && /* @__PURE__ */ g("div", {
|
|
113
113
|
className: "space-y-3",
|
|
114
|
-
children: [/* @__PURE__ */ h(
|
|
114
|
+
children: [/* @__PURE__ */ h(o, { message: `Could not load the customer notification settings (${M}). They cannot be changed until they load.` }), /* @__PURE__ */ g(c, {
|
|
115
115
|
type: "button",
|
|
116
116
|
variant: "outline",
|
|
117
117
|
size: "sm",
|
|
@@ -124,7 +124,7 @@ function v({ readOnly: v }) {
|
|
|
124
124
|
}), " Try again"]
|
|
125
125
|
})]
|
|
126
126
|
}),
|
|
127
|
-
/* @__PURE__ */ h(
|
|
127
|
+
/* @__PURE__ */ h(pe, { message: Ee }),
|
|
128
128
|
A ? /* @__PURE__ */ g("form", {
|
|
129
129
|
className: "space-y-6",
|
|
130
130
|
onSubmit: (e) => void Pe(e),
|
|
@@ -138,7 +138,7 @@ function v({ readOnly: v }) {
|
|
|
138
138
|
className: "flex items-start justify-between gap-4 rounded-lg border border-border-default px-4 py-3",
|
|
139
139
|
children: [/* @__PURE__ */ g("div", {
|
|
140
140
|
className: "min-w-0",
|
|
141
|
-
children: [/* @__PURE__ */ h(
|
|
141
|
+
children: [/* @__PURE__ */ h(u, {
|
|
142
142
|
htmlFor: "mtw-customer-notify-enabled",
|
|
143
143
|
className: "text-sm font-medium",
|
|
144
144
|
children: "Notify customers about their shipments"
|
|
@@ -146,7 +146,7 @@ function v({ readOnly: v }) {
|
|
|
146
146
|
className: "text-xs text-text-secondary",
|
|
147
147
|
children: ["Only changes made after you switch this on notify; customers are never mailed about shipments that already happened.", E.enabledAt && E.enabled ? ` On since ${i(E.enabledAt)}.` : ""]
|
|
148
148
|
})]
|
|
149
|
-
}), /* @__PURE__ */ h(
|
|
149
|
+
}), /* @__PURE__ */ h(be, {
|
|
150
150
|
id: "mtw-customer-notify-enabled",
|
|
151
151
|
checked: O.enabled,
|
|
152
152
|
disabled: Z,
|
|
@@ -165,24 +165,24 @@ function v({ readOnly: v }) {
|
|
|
165
165
|
className: "flex flex-wrap gap-6",
|
|
166
166
|
children: [/* @__PURE__ */ g("div", {
|
|
167
167
|
className: "flex items-center gap-2",
|
|
168
|
-
children: [/* @__PURE__ */ h(
|
|
168
|
+
children: [/* @__PURE__ */ h(l, {
|
|
169
169
|
id: "mtw-customer-notify-email",
|
|
170
170
|
checked: O.emailEnabled,
|
|
171
171
|
disabled: Z,
|
|
172
172
|
onCheckedChange: (e) => Q({ emailEnabled: e === !0 })
|
|
173
|
-
}), /* @__PURE__ */ h(
|
|
173
|
+
}), /* @__PURE__ */ h(u, {
|
|
174
174
|
htmlFor: "mtw-customer-notify-email",
|
|
175
175
|
className: "text-sm font-normal",
|
|
176
176
|
children: "Email"
|
|
177
177
|
})]
|
|
178
178
|
}), /* @__PURE__ */ g("div", {
|
|
179
179
|
className: "flex items-center gap-2",
|
|
180
|
-
children: [/* @__PURE__ */ h(
|
|
180
|
+
children: [/* @__PURE__ */ h(l, {
|
|
181
181
|
id: "mtw-customer-notify-sms",
|
|
182
182
|
checked: O.smsEnabled,
|
|
183
183
|
disabled: Z,
|
|
184
184
|
onCheckedChange: (e) => Q({ smsEnabled: e === !0 })
|
|
185
|
-
}), /* @__PURE__ */ h(
|
|
185
|
+
}), /* @__PURE__ */ h(u, {
|
|
186
186
|
htmlFor: "mtw-customer-notify-sms",
|
|
187
187
|
className: "text-sm font-normal",
|
|
188
188
|
children: "SMS (phone numbers with a country code, e.g. +91…)"
|
|
@@ -203,16 +203,16 @@ function v({ readOnly: v }) {
|
|
|
203
203
|
children: "Events"
|
|
204
204
|
}), /* @__PURE__ */ h("div", {
|
|
205
205
|
className: "grid grid-cols-1 gap-3 md:grid-cols-2",
|
|
206
|
-
children:
|
|
206
|
+
children: a.map((e) => {
|
|
207
207
|
let t = `mtw-customer-notify-event-${e.value}`;
|
|
208
208
|
return /* @__PURE__ */ g("div", {
|
|
209
209
|
className: "flex items-start gap-2",
|
|
210
|
-
children: [/* @__PURE__ */ h(
|
|
210
|
+
children: [/* @__PURE__ */ h(l, {
|
|
211
211
|
id: t,
|
|
212
212
|
checked: O.events.includes(e.value),
|
|
213
213
|
disabled: Z,
|
|
214
|
-
onCheckedChange: (t) => Q({ events:
|
|
215
|
-
}), /* @__PURE__ */ g(
|
|
214
|
+
onCheckedChange: (t) => Q({ events: fe(O.events, e.value, t === !0) })
|
|
215
|
+
}), /* @__PURE__ */ g(u, {
|
|
216
216
|
htmlFor: t,
|
|
217
217
|
className: "text-sm font-normal leading-snug",
|
|
218
218
|
children: [/* @__PURE__ */ h("span", {
|
|
@@ -231,10 +231,10 @@ function v({ readOnly: v }) {
|
|
|
231
231
|
className: "text-xs text-status-error-text",
|
|
232
232
|
children: J
|
|
233
233
|
}),
|
|
234
|
-
/* @__PURE__ */ h(
|
|
234
|
+
/* @__PURE__ */ h(o, { message: Te }),
|
|
235
235
|
/* @__PURE__ */ g("div", {
|
|
236
236
|
className: "flex flex-wrap items-center justify-end gap-3",
|
|
237
|
-
children: [/* @__PURE__ */ g(
|
|
237
|
+
children: [/* @__PURE__ */ g(c, {
|
|
238
238
|
type: "button",
|
|
239
239
|
variant: "outline",
|
|
240
240
|
disabled: !Y || P,
|
|
@@ -245,7 +245,7 @@ function v({ readOnly: v }) {
|
|
|
245
245
|
size: 16,
|
|
246
246
|
className: "mr-2"
|
|
247
247
|
}), " Discard changes"]
|
|
248
|
-
}), /* @__PURE__ */ g(
|
|
248
|
+
}), /* @__PURE__ */ g(c, {
|
|
249
249
|
type: "submit",
|
|
250
250
|
disabled: !X,
|
|
251
251
|
children: [P ? /* @__PURE__ */ h(t, {
|
|
@@ -261,7 +261,7 @@ function v({ readOnly: v }) {
|
|
|
261
261
|
}) : M ? null : /* @__PURE__ */ g("div", {
|
|
262
262
|
className: "space-y-3",
|
|
263
263
|
"aria-busy": "true",
|
|
264
|
-
children: [/* @__PURE__ */ h(
|
|
264
|
+
children: [/* @__PURE__ */ h(d, { className: "h-8 w-full" }), /* @__PURE__ */ h(d, { className: "h-24 w-full" })]
|
|
265
265
|
}),
|
|
266
266
|
U.length > 0 && /* @__PURE__ */ g("div", {
|
|
267
267
|
className: "space-y-3 border-t border-border-default pt-4",
|
|
@@ -270,7 +270,7 @@ function v({ readOnly: v }) {
|
|
|
270
270
|
children: [/* @__PURE__ */ h("span", {
|
|
271
271
|
className: "text-sm font-semibold text-text-primary",
|
|
272
272
|
children: "Preview"
|
|
273
|
-
}),
|
|
273
|
+
}), a.map((e) => /* @__PURE__ */ h(c, {
|
|
274
274
|
type: "button",
|
|
275
275
|
size: "sm",
|
|
276
276
|
variant: W === e.value ? "default" : "outline",
|
|
@@ -304,7 +304,7 @@ function v({ readOnly: v }) {
|
|
|
304
304
|
children: [/* @__PURE__ */ g("span", {
|
|
305
305
|
className: "text-sm font-semibold text-text-primary",
|
|
306
306
|
children: ["Recent notifications", R > 0 ? ` (${R})` : ""]
|
|
307
|
-
}), /* @__PURE__ */ g(
|
|
307
|
+
}), /* @__PURE__ */ g(c, {
|
|
308
308
|
type: "button",
|
|
309
309
|
size: "sm",
|
|
310
310
|
variant: "outline",
|
|
@@ -316,7 +316,7 @@ function v({ readOnly: v }) {
|
|
|
316
316
|
}), " Refresh"]
|
|
317
317
|
})]
|
|
318
318
|
}),
|
|
319
|
-
z && /* @__PURE__ */ h(
|
|
319
|
+
z && /* @__PURE__ */ h(o, { message: z }),
|
|
320
320
|
!z && L.length === 0 && !V && /* @__PURE__ */ h("p", {
|
|
321
321
|
className: "text-sm text-text-secondary",
|
|
322
322
|
children: "No customer notifications yet. They appear here as shipments change."
|
|
@@ -332,7 +332,7 @@ function v({ readOnly: v }) {
|
|
|
332
332
|
/* @__PURE__ */ g("p", {
|
|
333
333
|
className: "text-sm font-medium text-text-primary",
|
|
334
334
|
children: [
|
|
335
|
-
|
|
335
|
+
ue(e.event),
|
|
336
336
|
" · ",
|
|
337
337
|
e.shipmentNumber ?? e.shipmentId
|
|
338
338
|
]
|
|
@@ -352,9 +352,9 @@ function v({ readOnly: v }) {
|
|
|
352
352
|
children: e.lastError
|
|
353
353
|
})
|
|
354
354
|
]
|
|
355
|
-
}), /* @__PURE__ */ h(
|
|
355
|
+
}), /* @__PURE__ */ h(s, {
|
|
356
356
|
variant: we[e.status],
|
|
357
|
-
children:
|
|
357
|
+
children: oe[e.status]
|
|
358
358
|
})]
|
|
359
359
|
}, e.id))
|
|
360
360
|
})
|
|
@@ -364,5 +364,4 @@ function v({ readOnly: v }) {
|
|
|
364
364
|
})]
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
-
//#endregion
|
|
368
367
|
export { v as CustomerNotificationSettingsCard };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import e from "../node_modules/lucide-react/dist/esm/icons/plus.js";
|
|
2
|
+
import t from "../node_modules/lucide-react/dist/esm/icons/refresh-cw.js";
|
|
3
|
+
import n from "../node_modules/lucide-react/dist/esm/icons/user-plus.js";
|
|
4
4
|
import { Button as r, Dialog as i, DialogContent as a, DialogDescription as o, DialogFooter as s, DialogHeader as c, DialogTitle as l, Input as u, Label as d, Select as f, SelectContent as p, SelectItem as m, SelectTrigger as h, SelectValue as g } from "./ui.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { EntityCombobox as _ } from "./EntityCombobox.js";
|
|
6
|
+
import { FormError as v } from "./FormError.js";
|
|
7
7
|
import { useState as y } from "react";
|
|
8
8
|
import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/movethewheels/components/CustomerPicker.tsx
|
|
10
10
|
var C = {
|
|
11
11
|
name: "",
|
|
12
12
|
type: "b2c",
|
|
@@ -42,7 +42,7 @@ function w({ customers: w, value: T, onValueChange: E, onCreated: D, createCusto
|
|
|
42
42
|
}),
|
|
43
43
|
/* @__PURE__ */ S("div", {
|
|
44
44
|
className: "flex flex-col gap-2 sm:flex-row sm:items-start",
|
|
45
|
-
children: [/* @__PURE__ */ x(
|
|
45
|
+
children: [/* @__PURE__ */ x(_, {
|
|
46
46
|
id: "customer",
|
|
47
47
|
value: T,
|
|
48
48
|
onChange: E,
|
|
@@ -125,28 +125,27 @@ function w({ customers: w, value: T, onValueChange: E, onCreated: D, createCusto
|
|
|
125
125
|
onSubmit: async (e) => {
|
|
126
126
|
e.preventDefault(), e.stopPropagation();
|
|
127
127
|
let t = H.name.trim();
|
|
128
|
-
if (!t)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
G(!1);
|
|
128
|
+
if (!t) q("Customer name is required.");
|
|
129
|
+
else {
|
|
130
|
+
G(!0), q(null);
|
|
131
|
+
try {
|
|
132
|
+
D(await O({
|
|
133
|
+
name: t,
|
|
134
|
+
type: H.type,
|
|
135
|
+
email: H.email.trim() || void 0,
|
|
136
|
+
phone: H.phone.trim() || void 0,
|
|
137
|
+
company: H.company.trim() || void 0
|
|
138
|
+
})), V(!1), U(C);
|
|
139
|
+
} catch (e) {
|
|
140
|
+
q(e instanceof Error ? e.message : "Could not create the customer. Please try again.");
|
|
141
|
+
} finally {
|
|
142
|
+
G(!1);
|
|
143
|
+
}
|
|
145
144
|
}
|
|
146
145
|
},
|
|
147
146
|
className: "space-y-4",
|
|
148
147
|
children: [
|
|
149
|
-
/* @__PURE__ */ x(
|
|
148
|
+
/* @__PURE__ */ x(v, { message: K }),
|
|
150
149
|
/* @__PURE__ */ S("div", {
|
|
151
150
|
className: "space-y-2",
|
|
152
151
|
children: [/* @__PURE__ */ x(d, {
|
|
@@ -264,5 +263,4 @@ function w({ customers: w, value: T, onValueChange: E, onCreated: D, createCusto
|
|
|
264
263
|
]
|
|
265
264
|
});
|
|
266
265
|
}
|
|
267
|
-
//#endregion
|
|
268
266
|
export { w as CustomerPicker };
|