@burdenoff/microfe-movethewheels 2026.1109.1 → 2026.1109.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MoveTheWheelsRoot.js +62 -61
- package/dist/MoveTheWheelsRoutes.js +6 -7
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/AssignmentSuggestions.js +18 -19
- package/dist/components/CarbonFootprintPanel.js +17 -18
- package/dist/components/CarrierRecommendationDialog.js +1 -2
- package/dist/components/ContainerEvidencePicker.js +15 -16
- package/dist/components/CustomerDeliveryUpdatesFields.js +1 -2
- package/dist/components/CustomerNotificationSettingsCard.js +43 -44
- package/dist/components/CustomerPicker.js +24 -26
- package/dist/components/DataTable.js +169 -170
- package/dist/components/DispatchDecisionCard.js +24 -25
- package/dist/components/DocumentsCard.js +54 -55
- package/dist/components/EntityCombobox.js +21 -22
- package/dist/components/EpodCaptureForm.js +113 -117
- package/dist/components/ExportStatusBanner.js +6 -7
- package/dist/components/FleetAlertsPanel.js +28 -29
- package/dist/components/ForecastModelsPanel.js +2 -3
- package/dist/components/FormError.js +2 -3
- package/dist/components/FreeTimeAgreementForm.js +54 -55
- package/dist/components/GlassPanel.js +1 -2
- package/dist/components/InventoryCoverPanel.js +68 -69
- package/dist/components/MetricCard.js +1 -2
- package/dist/components/Notice.js +3 -4
- package/dist/components/OrderItemRow.js +21 -22
- package/dist/components/PageLayout.js +1 -2
- package/dist/components/ProofOfDeliveryCard.js +19 -20
- package/dist/components/ReturnInstructionForm.js +28 -29
- package/dist/components/ReuseControls.js +1 -2
- package/dist/components/ReusePermissionForm.js +23 -24
- package/dist/components/ReuseProposalForm.js +168 -169
- package/dist/components/ReuseSourceFields.js +1 -2
- package/dist/components/ScenarioPlanningPanel.js +80 -81
- package/dist/components/ShipmentDecisionPanel.js +59 -60
- package/dist/components/ShipmentRiskDialog.js +32 -33
- package/dist/components/ShippingQuoteResults.js +32 -33
- package/dist/components/SignaturePad.js +7 -8
- package/dist/components/StatusBadge.js +1 -2
- package/dist/components/StockActionDialogs.js +77 -78
- package/dist/components/TrackingAlertList.js +26 -27
- package/dist/components/UpcomingDemandPanel.js +24 -25
- package/dist/components/VehicleServiceCard.js +34 -39
- package/dist/components/charts/ChartShell.js +1 -2
- package/dist/components/charts/Sparkline.js +14 -15
- package/dist/components/charts/StatusDonut.js +12 -13
- package/dist/components/charts/TrendChart.js +29 -30
- package/dist/components/charts/VolumeBar.js +21 -22
- package/dist/components/charts/chartTokens.js +1 -2
- package/dist/components/charts/index.js +7 -6
- package/dist/components/consolidation/ConsolidationHistory.js +1 -2
- package/dist/components/consolidation/ConsolidationLotEditor.js +22 -23
- package/dist/components/consolidation/ConsolidationManifestWorkbench.js +30 -31
- package/dist/components/consolidation/ConsolidationPlanForm.js +44 -45
- package/dist/components/consolidation/ConsolidationPlanWorkbench.js +106 -105
- package/dist/components/consolidation/ConsolidationReportForm.js +17 -18
- package/dist/components/consolidation/ConsolidationReportsWorkbench.js +35 -36
- package/dist/components/consolidation/ConsolidationSummary.js +1 -2
- package/dist/components/consolidation/OriginalConsolidationHistory.js +15 -16
- package/dist/components/freight-cost/FreightCommercialEditor.js +39 -40
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +2 -3
- package/dist/components/freight-cost/FreightCommercialHistory.js +8 -9
- package/dist/components/freight-cost/FreightDraftForm.js +45 -47
- package/dist/components/freight-cost/FreightFields.js +1 -2
- package/dist/components/freight-cost/FreightFxEditor.js +1 -2
- package/dist/components/freight-cost/FreightHistory.js +32 -33
- package/dist/components/freight-cost/FreightLineEditor.js +1 -2
- package/dist/components/freight-cost/FreightScopeEditor.js +1 -2
- package/dist/components/freight-cost/FreightTotals.js +1 -2
- package/dist/components/freight-invoice/InvoiceForm.js +41 -42
- package/dist/components/freight-invoice/InvoiceResults.js +42 -43
- package/dist/components/freight-invoice/InvoiceReviewPanel.js +26 -28
- package/dist/components/freight-invoice/InvoiceReviewQueue.js +9 -10
- package/dist/components/index.js +22 -21
- package/dist/components/logistics-procedure/ProcedureDecisionForm.js +24 -25
- package/dist/components/logistics-procedure/ProcedureFields.js +1 -2
- package/dist/components/logistics-procedure/ProcedureHistory.js +29 -30
- package/dist/components/logistics-procedure/ProcedurePolicyForm.js +27 -28
- package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +23 -24
- package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +43 -44
- package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +30 -31
- package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +1 -2
- package/dist/components/maps/LogisticsMap.js +12 -13
- package/dist/components/maps/MapCanvas.js +31 -29
- package/dist/components/maps/RouteMap.js +6 -7
- package/dist/components/maps/TrackingMap.js +17 -18
- package/dist/components/maps/index.js +6 -5
- package/dist/components/maps/leaflet-setup.js +2 -3
- package/dist/components/marketplace/MarketplaceDialogs.js +26 -28
- package/dist/components/pallet-preview/PalletPreviewResults.js +2 -3
- package/dist/components/pending-pick/PendingPickDraft.js +1 -2
- package/dist/components/pending-pick/PendingPickHistory.js +32 -33
- package/dist/components/pending-pick/PickCapture.js +1 -2
- package/dist/components/pending-pick/PickLineSelection.js +1 -2
- package/dist/components/pending-pick/PickReviewPanel.js +53 -53
- package/dist/components/stock-binding/StockAssessmentDraft.js +5 -6
- package/dist/components/stock-binding/StockAssessmentHistory.js +18 -19
- package/dist/components/stock-binding/StockAssessmentSummary.js +1 -2
- package/dist/components/stock-binding/StockFactForm.js +5 -6
- package/dist/components/stock-observation/StockIssueForm.js +1 -2
- package/dist/components/stock-observation/StockIssueHistory.js +1 -2
- package/dist/components/stock-observation/StockIssueReadPanel.js +1 -2
- package/dist/components/trip-utilization/TripReportForm.js +6 -7
- package/dist/components/trip-utilization/TripReportHistory.js +15 -16
- package/dist/components/trip-utilization/TripReportSummary.js +1 -2
- package/dist/components/trip-utilization/TripSegmentFields.js +14 -15
- package/dist/components/ui.js +1 -2
- package/dist/constants/index.js +1 -2
- package/dist/hooks/index.js +12 -11
- package/dist/hooks/useAnalytics.js +3 -3
- package/dist/hooks/useCarrierIntegrations.js +1 -2
- package/dist/hooks/useConsolidationAction.js +12 -13
- package/dist/hooks/useConsumedFuelPreview.js +17 -18
- package/dist/hooks/useContainerCondition.js +4 -3
- package/dist/hooks/useContainerLifecycle.js +70 -80
- package/dist/hooks/useCustomers.js +17 -16
- package/dist/hooks/useDebouncedValue.js +1 -2
- package/dist/hooks/useDemandForecast.js +1 -2
- package/dist/hooks/useDispatchPlan.js +3 -3
- package/dist/hooks/useDocumentExtractions.js +12 -13
- package/dist/hooks/useDriverDay.js +3 -4
- package/dist/hooks/useEmptyReuseAction.js +1 -2
- package/dist/hooks/useEntityDocuments.js +25 -27
- package/dist/hooks/useEntityExport.js +7 -8
- package/dist/hooks/useEntityImport.js +1 -2
- package/dist/hooks/useEpod.js +79 -81
- package/dist/hooks/useFleet.js +70 -74
- package/dist/hooks/useFleetIntelligence.js +1 -2
- package/dist/hooks/useForecastModelChoices.js +1 -2
- package/dist/hooks/useFreightRecoveryAction.js +15 -16
- package/dist/hooks/useInventory.js +59 -60
- package/dist/hooks/useInventoryCoverPlan.js +2 -3
- package/dist/hooks/useInvoiceComparisonRecovery.js +52 -52
- package/dist/hooks/useInvoiceReviewPermissions.js +1 -2
- package/dist/hooks/useMarketplace.js +1 -2
- package/dist/hooks/useMultiModalShipments.js +1 -2
- package/dist/hooks/useOrderDispatch.js +6 -5
- package/dist/hooks/useOrders.js +44 -46
- package/dist/hooks/usePalletPreview.js +19 -20
- package/dist/hooks/useProcedureAction.js +24 -25
- package/dist/hooks/useProcedureSelection.js +6 -7
- package/dist/hooks/useRefetchOnLeaveEdit.js +1 -2
- package/dist/hooks/useReuseRecoveryAction.js +26 -27
- package/dist/hooks/useRoutes.js +12 -14
- package/dist/hooks/useScenarioPlanning.js +20 -21
- package/dist/hooks/useShipmentDecision.js +1 -2
- package/dist/hooks/useShipmentPermissions.js +1 -2
- package/dist/hooks/useShipmentRisk.js +12 -14
- package/dist/hooks/useShipmentStatusAuthority.js +7 -5
- package/dist/hooks/useShippingCarriers.js +1 -2
- package/dist/hooks/useTracking.js +53 -52
- package/dist/hooks/useTrackingEventQuality.js +26 -27
- package/dist/index.js +15 -15
- package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
- package/dist/node_modules/@react-leaflet/core/lib/attribution.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/component.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/context.js +0 -1
- package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/element.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/events.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/generic.js +9 -6
- package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/pane.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/path.js +6 -7
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
- package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/fast-equals/dist/es/index.js +89 -72
- package/dist/node_modules/leaflet/dist/leaflet-src.js +114 -167
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_Stack.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/maxBy.js +5 -6
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/minBy.js +4 -5
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -7
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -3
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell-ring.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/box.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/boxes.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calculator.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/car.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chart-column.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check-big.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/dollar-sign.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/fuel.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/git-compare.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/history.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/leaf.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/navigation.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plane.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/play.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/receipt.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/route.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/save.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/scale.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/ship.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/square-pen.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/star.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sticky-note.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/store.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/train-front.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/truck.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/type.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/warehouse.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wifi-off.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +1 -2
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +1 -2
- package/dist/node_modules/react-leaflet/lib/Marker.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Polyline.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Popup.js +7 -7
- package/dist/node_modules/react-leaflet/lib/TileLayer.js +12 -12
- package/dist/node_modules/react-leaflet/lib/hooks.js +1 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +31 -39
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/recharts/es6/cartesian/Area.js +95 -96
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +100 -101
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +58 -65
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +33 -34
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +17 -18
- package/dist/node_modules/recharts/es6/cartesian/Line.js +76 -77
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +22 -23
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -4
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cursor.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +27 -28
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +11 -12
- package/dist/node_modules/recharts/es6/component/Label.js +78 -79
- package/dist/node_modules/recharts/es6/component/LabelList.js +16 -17
- package/dist/node_modules/recharts/es6/component/Legend.js +25 -22
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +14 -15
- package/dist/node_modules/recharts/es6/component/Text.js +17 -20
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +1 -2
- package/dist/node_modules/recharts/es6/container/Layer.js +3 -4
- package/dist/node_modules/recharts/es6/container/Surface.js +3 -4
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +20 -20
- package/dist/node_modules/recharts/es6/polar/Pie.js +102 -106
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +28 -29
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +36 -39
- package/dist/node_modules/recharts/es6/shape/Cross.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Dot.js +2 -3
- package/dist/node_modules/recharts/es6/shape/Polygon.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +20 -21
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +32 -33
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +4 -5
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/types.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/node_modules/zustand/esm/middleware.js +209 -112
- package/dist/pages/AnalyticsPage.js +41 -42
- package/dist/pages/ConsolidationPage.js +8 -9
- package/dist/pages/ConsumedFuelPreviewPage.js +60 -61
- package/dist/pages/ContainerConditionPage.js +49 -50
- package/dist/pages/ContainersPage.js +53 -53
- package/dist/pages/CreateOrderPage.js +134 -144
- package/dist/pages/CustomerDetailsPage.js +342 -345
- package/dist/pages/CustomersPage.js +36 -37
- package/dist/pages/DashboardPage.js +92 -93
- package/dist/pages/DeliveryCapturePage.js +199 -200
- package/dist/pages/DispatchPlanPage.js +94 -95
- package/dist/pages/DriverDetailsPage.js +393 -399
- package/dist/pages/DriversPage.js +64 -65
- package/dist/pages/EmptyReusePage.js +320 -321
- package/dist/pages/FinancePage.js +72 -70
- package/dist/pages/FleetPage.js +88 -89
- package/dist/pages/FreeTimePage.js +92 -92
- package/dist/pages/FreightEstimatePage.js +92 -93
- package/dist/pages/FreightInvoicePage.js +123 -124
- package/dist/pages/ImportExportPage.js +173 -178
- package/dist/pages/IntegrationsPage.js +264 -267
- package/dist/pages/InventoryPage.js +233 -234
- package/dist/pages/LiveTrackingPage.js +120 -121
- package/dist/pages/LogisticsProceduresPage.js +10 -11
- package/dist/pages/MarketplacePage.js +170 -171
- package/dist/pages/MultiModalShipmentPage.js +172 -177
- package/dist/pages/OrderDetailsPage.js +317 -318
- package/dist/pages/OrdersListPage.js +163 -164
- package/dist/pages/PalletPreviewPage.js +113 -114
- package/dist/pages/PendingPickPage.js +32 -33
- package/dist/pages/ProductDetailsPage.js +164 -166
- package/dist/pages/ProductsPage.js +39 -40
- package/dist/pages/ReportsPage.js +315 -316
- package/dist/pages/RouteDetailsPage.js +302 -304
- package/dist/pages/RoutesPage.js +39 -40
- package/dist/pages/SettingsPage.js +87 -88
- package/dist/pages/ShipmentStatusAuthorityPage.js +67 -67
- package/dist/pages/ShippingRatesPage.js +31 -32
- package/dist/pages/StockBindingPage.js +39 -40
- package/dist/pages/StockObservationsPage.js +23 -24
- package/dist/pages/TrackingEventQualityPage.js +30 -31
- package/dist/pages/TrackingPage.js +88 -89
- package/dist/pages/TripUtilizationPage.js +24 -25
- package/dist/pages/VehicleDetailsPage.js +241 -243
- package/dist/pages/VehiclesPage.js +59 -60
- package/dist/pages/WarehouseDetailsPage.js +151 -156
- package/dist/pages/WarehousesPage.js +33 -34
- package/dist/providers/ModuleSettingsProvider.js +1 -2
- package/dist/providers/MoveTheWheelsProvider.js +2 -7
- package/dist/services/createSandboxAssistantTransport.js +1 -2
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/src/generated/consolidation-operations.js +1 -2
- package/dist/src/generated/consumed-fuel-preview-operations.js +1 -2
- package/dist/src/generated/container-condition-operations.js +1 -2
- package/dist/src/generated/container-operations.js +1 -2
- package/dist/src/generated/empty-reuse-operations.js +1 -2
- package/dist/src/generated/free-time-operations.js +1 -2
- package/dist/src/generated/freight-cost-operations.js +1 -2
- package/dist/src/generated/freight-invoice-operations.js +1 -2
- package/dist/src/generated/logistics-procedure-operations.js +1 -2
- package/dist/src/generated/pallet-preview-operations.js +1 -2
- package/dist/src/generated/pending-pick-operations.js +1 -2
- package/dist/src/generated/shipment-status-authority-operations.js +1 -2
- package/dist/src/generated/stock-binding-operations.js +1 -2
- package/dist/src/generated/stock-observation-operations.js +1 -2
- package/dist/src/generated/tracking-quality-operations.js +1 -2
- package/dist/src/generated/trip-utilization-operations.js +1 -2
- package/dist/src/generated/wspace-operations.js +1 -2
- package/dist/store/movethewheelsStore.js +1 -2
- package/dist/utils/carrierIntegrations.js +4 -5
- package/dist/utils/cn.js +2 -3
- package/dist/utils/consolidationHistoryTarget.js +1 -2
- package/dist/utils/consolidationInput.js +1 -2
- package/dist/utils/consolidationLot.js +1 -2
- package/dist/utils/consolidationPins.js +1 -2
- package/dist/utils/consolidationRecovery.js +1 -2
- package/dist/utils/consolidationReportHead.js +1 -2
- package/dist/utils/consumedFuelInput.js +2 -3
- package/dist/utils/consumedFuelResponse.js +2 -3
- package/dist/utils/customerNotifications.js +2 -3
- package/dist/utils/driverLicenseExpiry.js +1 -2
- package/dist/utils/driverNavigation.js +2 -3
- package/dist/utils/entityExport.js +3 -4
- package/dist/utils/entityImport.js +3 -4
- package/dist/utils/formatters.js +37 -37
- package/dist/utils/freeTimeDate.js +1 -2
- package/dist/utils/freightAcknowledgement.js +1 -2
- package/dist/utils/freightCommercial.js +2 -3
- package/dist/utils/freightDraft.js +1 -2
- package/dist/utils/freightRecovery.js +1 -2
- package/dist/utils/graphqlClient.js +1 -2
- package/dist/utils/invoiceComparison.js +5 -6
- package/dist/utils/invoiceReview.js +1 -2
- package/dist/utils/mapMarkers.js +2 -3
- package/dist/utils/moduleSettings.js +2 -3
- package/dist/utils/navigation.js +2 -3
- package/dist/utils/orderPricing.js +1 -2
- package/dist/utils/orderValidation.js +3 -4
- package/dist/utils/orderVehicleHold.js +2 -3
- package/dist/utils/palletPreviewInput.js +1 -2
- package/dist/utils/palletPreviewResponse.js +2 -3
- package/dist/utils/pendingPickDraft.js +1 -2
- package/dist/utils/pickReviewAcknowledgement.js +1 -2
- package/dist/utils/procedureInput.js +1 -2
- package/dist/utils/procedureRecovery.js +1 -2
- package/dist/utils/reports.js +1 -2
- package/dist/utils/reuseAttempt.js +1 -2
- package/dist/utils/reuseForm.js +1 -2
- package/dist/utils/reuseRecovery.js +2 -3
- package/dist/utils/shipmentStatusDraft.js +1 -2
- package/dist/utils/stockBindingForm.js +1 -2
- package/dist/utils/stockBindingLabels.js +1 -2
- package/dist/utils/stockObservationForm.js +2 -3
- package/dist/utils/trackingAlerts.js +1 -2
- package/dist/utils/tripDraftContext.js +1 -2
- package/dist/utils/tripUtilizationForm.js +2 -3
- package/package.json +136 -86
- package/src/movethewheels/utils/orderPricing.test.ts +1 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.js +0 -8
- package/dist/node_modules/d3-array/src/bisector.js +0 -41
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/max.js +0 -12
- package/dist/node_modules/d3-array/src/min.js +0 -12
- package/dist/node_modules/d3-array/src/number.js +0 -13
- package/dist/node_modules/d3-array/src/quantile.js +0 -23
- package/dist/node_modules/d3-array/src/quickselect.js +0 -24
- package/dist/node_modules/d3-array/src/range.js +0 -8
- package/dist/node_modules/d3-array/src/sort.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-color/src/color.js +0 -289
- package/dist/node_modules/d3-color/src/define.js +0 -11
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.js +0 -84
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
- package/dist/node_modules/d3-interpolate/src/color.js +0 -23
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js +0 -12
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.js +0 -26
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-scale/src/band.js +0 -50
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.js +0 -71
- package/dist/node_modules/d3-scale/src/diverging.js +0 -80
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.js +0 -27
- package/dist/node_modules/d3-scale/src/linear.js +0 -34
- package/dist/node_modules/d3-scale/src/log.js +0 -75
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
- package/dist/node_modules/d3-scale/src/pow.js +0 -35
- package/dist/node_modules/d3-scale/src/quantile.js +0 -35
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/radial.js +0 -37
- package/dist/node_modules/d3-scale/src/sequential.js +0 -65
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
- package/dist/node_modules/d3-scale/src/symlog.js +0 -28
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
- package/dist/node_modules/d3-scale/src/time.js +0 -45
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-shape/src/area.js +0 -53
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
- package/dist/node_modules/d3-shape/src/line.js +0 -28
- package/dist/node_modules/d3-shape/src/math.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js +0 -4
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
- package/dist/node_modules/d3-shape/src/order/none.js +0 -7
- package/dist/node_modules/d3-shape/src/path.js +0 -17
- package/dist/node_modules/d3-shape/src/point.js +0 -9
- package/dist/node_modules/d3-shape/src/stack.js +0 -32
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.js +0 -19
- package/dist/node_modules/d3-time/src/duration.js +0 -4
- package/dist/node_modules/d3-time/src/hour.js +0 -17
- package/dist/node_modules/d3-time/src/interval.js +0 -26
- package/dist/node_modules/d3-time/src/millisecond.js +0 -12
- package/dist/node_modules/d3-time/src/minute.js +0 -17
- package/dist/node_modules/d3-time/src/month.js +0 -16
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.js +0 -123
- package/dist/node_modules/d3-time/src/week.js +0 -23
- package/dist/node_modules/d3-time/src/year.js +0 -24
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
- package/dist/node_modules/internmap/src/index.js +0 -38
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/driverLicenseExpiry.ts
|
|
2
2
|
var e = (e) => e ? e.toISOString().slice(0, -1) : "", t = (e) => {
|
|
3
3
|
if (e === "") return null;
|
|
4
4
|
let t = /^(\d{4}-\d\d-\d\dT\d\d:\d\d)(?::(\d\d)(?:\.(\d{1,3}))?)?$/.exec(e);
|
|
@@ -10,5 +10,4 @@ var e = (e) => e ? e.toISOString().slice(0, -1) : "", t = (e) => {
|
|
|
10
10
|
let r = t(e);
|
|
11
11
|
return r === (n?.toISOString() ?? null) ? void 0 : r;
|
|
12
12
|
};
|
|
13
|
-
//#endregion
|
|
14
13
|
export { e as driverLicenseExpiryInput, n as driverLicenseExpiryUpdate, t as parseDriverLicenseExpiry };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { formatAddress as e } from "./formatters.js";
|
|
2
|
-
|
|
2
|
+
// src/movethewheels/utils/driverNavigation.ts
|
|
3
3
|
var t = "https://www.google.com/maps/dir/?api=1";
|
|
4
4
|
function n(t) {
|
|
5
5
|
if (!t) return null;
|
|
@@ -57,5 +57,4 @@ function u(e) {
|
|
|
57
57
|
timeZone: "UTC"
|
|
58
58
|
}).format(new Date(Date.UTC(t, n - 1, r)));
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
export { l as deviceTimeZone, u as formatLocalDay, o as localDateString, a as phoneHref, i as routeNavigationUrl, s as shiftLocalDate, r as stopNavigationUrl, c as timezoneOffsetFor };
|
|
60
|
+
export { l as deviceTimeZone, u as formatLocalDay, o as localDateString, n as navigationDestination, a as phoneHref, i as routeNavigationUrl, s as shiftLocalDate, r as stopNavigationUrl, c as timezoneOffsetFor };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/entityExport.ts
|
|
2
2
|
var e = {
|
|
3
3
|
customers: "movethewheels_customers",
|
|
4
4
|
drivers: "movethewheels_drivers",
|
|
5
5
|
orders: "movethewheels_delivery_jobs",
|
|
6
6
|
products: "movethewheels_cargo_items",
|
|
7
7
|
vehicles: "movethewheels_vehicles"
|
|
8
|
-
}, t = "\n mutation StartMovethewheelsEntityExport($input: ExportMtwEntitiesInput!) {\n exportMtwEntities(input: $input) {\n id\n status\n downloadUrl\n }\n }\n", n = "\n query GetMovethewheelsExportJob($id: ID!) {\n getExportJob(id: $id) {\n id\n status\n progress\n downloadUrl\n errorMessage\n }\n }\n", r = new Set([
|
|
8
|
+
}, t = "\n mutation StartMovethewheelsEntityExport($input: ExportMtwEntitiesInput!) {\n exportMtwEntities(input: $input) {\n id\n status\n downloadUrl\n }\n }\n", n = "\n query GetMovethewheelsExportJob($id: ID!) {\n getExportJob(id: $id) {\n id\n status\n progress\n downloadUrl\n errorMessage\n }\n }\n", r = /* @__PURE__ */ new Set([
|
|
9
9
|
"FAILED",
|
|
10
10
|
"CANCELLED",
|
|
11
11
|
"EXPIRED"
|
|
@@ -50,5 +50,4 @@ function s(e) {
|
|
|
50
50
|
let t = document.createElement("a");
|
|
51
51
|
t.href = e, t.rel = "noopener", document.body.appendChild(t), t.click(), t.remove();
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
export { n as GET_MTW_EXPORT_JOB_QUERY, e as MTW_EXPORT_ENTITY_TYPES, t as START_MTW_EXPORT_MUTATION, s as triggerUrlDownload, o as waitForExportJob };
|
|
53
|
+
export { n as GET_MTW_EXPORT_JOB_QUERY, e as MTW_EXPORT_ENTITY_TYPES, t as START_MTW_EXPORT_MUTATION, i as classifyExportJob, s as triggerUrlDownload, o as waitForExportJob };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/entityImport.ts
|
|
2
2
|
var e = [
|
|
3
3
|
{
|
|
4
4
|
entityType: "CUSTOMER",
|
|
@@ -30,7 +30,7 @@ var e = [
|
|
|
30
30
|
noun: "product",
|
|
31
31
|
field: "importMtwCargoItems"
|
|
32
32
|
}
|
|
33
|
-
], t =
|
|
33
|
+
], t = 2097152, n = 1e3;
|
|
34
34
|
function r(t) {
|
|
35
35
|
return e.some((e) => e.entityType === t);
|
|
36
36
|
}
|
|
@@ -69,5 +69,4 @@ function d(e, t) {
|
|
|
69
69
|
case "REJECTED": return `Nothing was imported: ${e.failedRows} of ${e.totalRows} rows have problems. Fix them, or allow a partial import.`;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
|
|
73
|
-
export { e as MTW_IMPORT_ENTITIES, t as MTW_IMPORT_MAX_BYTES, n as MTW_IMPORT_MAX_ROWS, s as MTW_IMPORT_SPEC_QUERY, u as buildCsvTemplate, c as detectImportFormat, i as importEntity, o as importMutation, r as isImportEntityType, d as summariseImport };
|
|
72
|
+
export { a as IMPORT_MUTATIONS, e as MTW_IMPORT_ENTITIES, t as MTW_IMPORT_MAX_BYTES, n as MTW_IMPORT_MAX_ROWS, s as MTW_IMPORT_SPEC_QUERY, u as buildCsvTemplate, c as detectImportFormat, i as importEntity, o as importMutation, r as isImportEntityType, d as summariseImport };
|
package/dist/utils/formatters.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
+
// src/movethewheels/utils/formatters.ts
|
|
1
2
|
var e = {
|
|
2
3
|
currency: "USD",
|
|
3
4
|
distanceUnit: "KM",
|
|
4
5
|
weightUnit: "KG",
|
|
5
6
|
timeZone: null
|
|
6
|
-
};
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
}, t = { ...e };
|
|
8
|
+
function n(e) {
|
|
9
|
+
t = { ...e };
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
-
return
|
|
11
|
+
function r() {
|
|
12
|
+
return t.timeZone ? { timeZone: t.timeZone } : {};
|
|
12
13
|
}
|
|
13
|
-
var
|
|
14
|
-
function
|
|
14
|
+
var i = 1.609344, a = .45359237;
|
|
15
|
+
function o(e) {
|
|
15
16
|
return [
|
|
16
17
|
e.street,
|
|
17
18
|
e.city,
|
|
@@ -20,22 +21,22 @@ function a(e) {
|
|
|
20
21
|
e.country
|
|
21
22
|
].filter(Boolean).join(", ");
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function s(e, n) {
|
|
24
25
|
return new Intl.NumberFormat("en-US", {
|
|
25
26
|
style: "currency",
|
|
26
|
-
currency: n ||
|
|
27
|
+
currency: n || t.currency,
|
|
27
28
|
minimumFractionDigits: 2,
|
|
28
29
|
maximumFractionDigits: 2
|
|
29
|
-
}).format(
|
|
30
|
+
}).format(e);
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
-
let
|
|
33
|
-
return t === "relative" ?
|
|
32
|
+
function c(e, t = "short") {
|
|
33
|
+
let n = typeof e == "string" ? new Date(e) : e;
|
|
34
|
+
return t === "relative" ? d(n) : t === "time" ? new Intl.DateTimeFormat("en-US", {
|
|
34
35
|
hour: "numeric",
|
|
35
36
|
minute: "2-digit",
|
|
36
37
|
hour12: !0,
|
|
37
|
-
...
|
|
38
|
-
}).format(
|
|
38
|
+
...r()
|
|
39
|
+
}).format(n) : t === "full" ? new Intl.DateTimeFormat("en-US", {
|
|
39
40
|
weekday: "long",
|
|
40
41
|
year: "numeric",
|
|
41
42
|
month: "long",
|
|
@@ -43,15 +44,15 @@ function s(e, t = "short") {
|
|
|
43
44
|
hour: "numeric",
|
|
44
45
|
minute: "2-digit",
|
|
45
46
|
hour12: !0,
|
|
46
|
-
...
|
|
47
|
-
}).format(
|
|
47
|
+
...r()
|
|
48
|
+
}).format(n) : new Intl.DateTimeFormat("en-US", {
|
|
48
49
|
year: "numeric",
|
|
49
50
|
month: "short",
|
|
50
51
|
day: "numeric",
|
|
51
|
-
...
|
|
52
|
-
}).format(
|
|
52
|
+
...r()
|
|
53
|
+
}).format(n);
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function l(e) {
|
|
55
56
|
let t = typeof e == "string" ? new Date(e) : e;
|
|
56
57
|
return new Intl.DateTimeFormat("en-US", {
|
|
57
58
|
year: "numeric",
|
|
@@ -60,19 +61,19 @@ function c(e) {
|
|
|
60
61
|
hour: "numeric",
|
|
61
62
|
minute: "2-digit",
|
|
62
63
|
hour12: !0,
|
|
63
|
-
...
|
|
64
|
+
...r()
|
|
64
65
|
}).format(t);
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function u(e) {
|
|
67
68
|
let t = typeof e == "string" ? new Date(e) : e;
|
|
68
69
|
return new Intl.DateTimeFormat("en-US", {
|
|
69
70
|
hour: "numeric",
|
|
70
71
|
minute: "2-digit",
|
|
71
72
|
hour12: !0,
|
|
72
|
-
...
|
|
73
|
+
...r()
|
|
73
74
|
}).format(t);
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function d(e) {
|
|
76
77
|
let t = typeof e == "string" ? new Date(e) : e, n = Math.floor(((/* @__PURE__ */ new Date()).getTime() - t.getTime()) / 1e3);
|
|
77
78
|
if (n < 60) return "Just now";
|
|
78
79
|
let r = Math.floor(n / 60);
|
|
@@ -80,26 +81,25 @@ function u(e) {
|
|
|
80
81
|
let i = Math.floor(r / 60);
|
|
81
82
|
if (i < 24) return `${i} ${i === 1 ? "hour" : "hours"} ago`;
|
|
82
83
|
let a = Math.floor(i / 24);
|
|
83
|
-
return a < 7 ? `${a} ${a === 1 ? "day" : "days"} ago` :
|
|
84
|
+
return a < 7 ? `${a} ${a === 1 ? "day" : "days"} ago` : c(t);
|
|
84
85
|
}
|
|
85
|
-
var
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
var f = new Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }), p = new Intl.NumberFormat("en-US", { maximumFractionDigits: 1 });
|
|
87
|
+
function m(e) {
|
|
88
|
+
return t.weightUnit === "LB" ? `${f.format(e / a)} lb` : Math.abs(e) >= 1e3 ? `${f.format(e / 1e3)} tonnes` : `${f.format(e)} kg`;
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
-
if (
|
|
91
|
-
let
|
|
92
|
-
return Math.abs(
|
|
90
|
+
function h(e) {
|
|
91
|
+
if (t.distanceUnit === "MI") {
|
|
92
|
+
let t = e / i;
|
|
93
|
+
return Math.abs(t) < .1 ? `${Math.round(t * 5280)} ft` : `${p.format(t)} mi`;
|
|
93
94
|
}
|
|
94
|
-
return Math.abs(
|
|
95
|
+
return Math.abs(e) < 1 ? `${Math.round(e * 1e3)} m` : `${p.format(e)} km`;
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function g(e) {
|
|
97
98
|
if (e < 60) return `${e} min`;
|
|
98
99
|
let t = Math.floor(e / 60), n = e % 60;
|
|
99
100
|
return n === 0 ? `${t} ${t === 1 ? "hour" : "hours"}` : `${t}h ${n}m`;
|
|
100
101
|
}
|
|
101
|
-
function
|
|
102
|
+
function _(e) {
|
|
102
103
|
return e.split(" ").map((e) => e[0]).join("").toUpperCase().slice(0, 2);
|
|
103
104
|
}
|
|
104
|
-
|
|
105
|
-
export { a as formatAddress, o as formatCurrency, s as formatDate, c as formatDateTime, m as formatDistance, h as formatDuration, l as formatTime, p as formatWeight, g as getInitials, t as setFormatPreferences };
|
|
105
|
+
export { e as DEFAULT_FORMAT_PREFERENCES, o as formatAddress, s as formatCurrency, c as formatDate, l as formatDateTime, h as formatDistance, g as formatDuration, d as formatRelativeTime, u as formatTime, m as formatWeight, _ as getInitials, n as setFormatPreferences };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/freeTimeDate.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.\d{1,3})?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/i.exec(e);
|
|
4
4
|
if (!t) throw Error("Use an ISO date and time with seconds and Z or an explicit timezone offset.");
|
|
@@ -22,5 +22,4 @@ function e(e) {
|
|
|
22
22
|
if (!Number.isFinite(o.getTime())) throw Error("Enter a valid time with an explicit timezone.");
|
|
23
23
|
return o.toISOString();
|
|
24
24
|
}
|
|
25
|
-
//#endregion
|
|
26
25
|
export { e as freeTimeIso };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { matchesCommercialCapture as e } from "./freightCommercial.js";
|
|
2
|
-
|
|
2
|
+
// src/movethewheels/utils/freightAcknowledgement.ts
|
|
3
3
|
function t(t, n) {
|
|
4
4
|
if (typeof t != "object" || !t || !("saveMtwFreightEstimate" in t) || typeof t.saveMtwFreightEstimate != "object" || t.saveMtwFreightEstimate === null) return !1;
|
|
5
5
|
let r = t.saveMtwFreightEstimate;
|
|
6
6
|
return "id" in r && typeof r.id == "string" && r.id.trim().length > 0 && "shipmentId" in r && r.shipmentId === n.shipmentId && "estimateReference" in r && r.estimateReference === n.estimateReference && "version" in r && Number.isInteger(n.expectedVersion) && typeof n.expectedVersion == "number" && n.expectedVersion >= 0 && r.version === n.expectedVersion + 1 && "previousVersionId" in r && r.previousVersionId === n.expectedPreviousVersionId && (n.commercialCapture == null || e(r, n));
|
|
7
7
|
}
|
|
8
|
-
//#endregion
|
|
9
8
|
export { t as matchesFreightAcknowledgement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/freightCommercial.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"origin",
|
|
4
4
|
"destination",
|
|
@@ -190,5 +190,4 @@ function d(e, t) {
|
|
|
190
190
|
"LCL"
|
|
191
191
|
].includes(t.containerType))));
|
|
192
192
|
}
|
|
193
|
-
|
|
194
|
-
export { u as commercialCanonical, l as commercialCaptureInput, e as commercialSlots, d as matchesCommercialCapture, n as newCommercialEditor, r as newCommercialFact };
|
|
193
|
+
export { u as commercialCanonical, l as commercialCaptureInput, e as commercialSlots, d as matchesCommercialCapture, i as newCommercialDraft, n as newCommercialEditor, r as newCommercialFact, t as unrecordedCommercialReason };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/freightDraft.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"BASE_FREIGHT",
|
|
4
4
|
"FUEL",
|
|
@@ -121,5 +121,4 @@ function f(e, t, n, r, i) {
|
|
|
121
121
|
evidence: structuredClone(i)
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
//#endregion
|
|
125
124
|
export { r as fixedFreightMinor, e as freightCategories, o as freightInstant, t as freightLabel, s as freightLocalTime, a as freightMoney, n as freightNullable, d as freightPinMatches, f as freightSaveInput, i as isFreightDecimalZero, l as newFreightFacts, u as newFreightFx, c as newFreightLine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SaveFreightCommercialCostsDocument as e, SaveFreightCostsDocument as t } from "../src/generated/freight-cost-operations.js";
|
|
2
2
|
import { print as n } from "graphql";
|
|
3
|
-
|
|
3
|
+
// src/movethewheels/utils/freightRecovery.ts
|
|
4
4
|
var r = "movethewheels.freight.unresolved.v1";
|
|
5
5
|
function i(r) {
|
|
6
6
|
if (!r || new TextEncoder().encode(r).byteLength > 2e5) return null;
|
|
@@ -32,5 +32,4 @@ function a(e) {
|
|
|
32
32
|
if (!i(t)) throw Error("Cannot safely retain this freight request. Nothing was sent.");
|
|
33
33
|
return t;
|
|
34
34
|
}
|
|
35
|
-
//#endregion
|
|
36
35
|
export { r as FREIGHT_RECOVERY_STORAGE, i as decodeFreightRecovery, a as encodeFreightRecovery };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { vehicleHoldRefusal as e } from "./orderVehicleHold.js";
|
|
2
2
|
import { prepareWorkspaceRequest as t } from "@burdenoff/fe-libs/shared/graphql";
|
|
3
|
-
|
|
3
|
+
// src/movethewheels/utils/graphqlClient.ts
|
|
4
4
|
function n(e) {
|
|
5
5
|
return e ? e.endsWith("/graphql") ? e : `${e}/workspaces/graphql` : "/workspaces/graphql";
|
|
6
6
|
}
|
|
@@ -114,5 +114,4 @@ async function _(t, n, r, l, u, d, f, p) {
|
|
|
114
114
|
}
|
|
115
115
|
throw m;
|
|
116
116
|
}
|
|
117
|
-
//#endregion
|
|
118
117
|
export { m as executeGraphQL, n as resolveGraphqlUrl };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { freightMoney as e } from "./freightDraft.js";
|
|
2
|
-
|
|
2
|
+
// src/movethewheels/utils/invoiceComparison.ts
|
|
3
3
|
var t = "movethewheels.freight-invoice.unresolved.v1";
|
|
4
4
|
function n(e) {
|
|
5
5
|
throw Error(e);
|
|
@@ -48,7 +48,7 @@ function l(e) {
|
|
|
48
48
|
let o = s(t.currency), l = a(t.invoiceDate, 10);
|
|
49
49
|
if (l !== null) {
|
|
50
50
|
let e = /* @__PURE__ */ new Date(l + "T00:00:00.000Z");
|
|
51
|
-
|
|
51
|
+
/^\d{4}-\d{2}-\d{2}$/.test(l) && !l.startsWith("0000") && Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === l || n("Invoice date must be an exact source date or left unknown.");
|
|
52
52
|
}
|
|
53
53
|
let u = t.rows.map((e) => {
|
|
54
54
|
let t = r(e, [
|
|
@@ -103,7 +103,7 @@ function u(e) {
|
|
|
103
103
|
"correctionReason",
|
|
104
104
|
"idempotencyKey"
|
|
105
105
|
]), s = l(t.facts);
|
|
106
|
-
|
|
106
|
+
s.supplierReference && s.invoiceReference || n("Source stable supplier and invoice references before recording."), (!Array.isArray(t.evidence) || t.evidence.length < 1 || t.evidence.length > 10) && n("Select 1–10 current exact evidence versions.");
|
|
107
107
|
let u = t.evidence.map((e) => {
|
|
108
108
|
let t = r(e, ["fileId", "versionId"]);
|
|
109
109
|
return {
|
|
@@ -198,7 +198,7 @@ function p(e) {
|
|
|
198
198
|
function m(e) {
|
|
199
199
|
return typeof e == "string" && Number.isFinite(new Date(e).getTime()) && new Date(e).toISOString() === e;
|
|
200
200
|
}
|
|
201
|
-
var h = new Set([
|
|
201
|
+
var h = /* @__PURE__ */ new Set([
|
|
202
202
|
"MATCHED",
|
|
203
203
|
"RATE_CHANGED",
|
|
204
204
|
"QUANTITY_CHANGED",
|
|
@@ -210,7 +210,7 @@ var h = new Set([
|
|
|
210
210
|
"DUPLICATE_MATCH",
|
|
211
211
|
"EXCLUDED_CHARGE_APPEARED",
|
|
212
212
|
"UNKNOWN_COMPARISON"
|
|
213
|
-
]), g = new Set([
|
|
213
|
+
]), g = /* @__PURE__ */ new Set([
|
|
214
214
|
"MISSING_AMOUNT",
|
|
215
215
|
"MISSING_PAYER",
|
|
216
216
|
"MISSING_UNIT",
|
|
@@ -268,5 +268,4 @@ function S(e, t) {
|
|
|
268
268
|
let n = e.facts.rows.find((e) => e.id === t), r = e.outcome.rows.find((e) => e.invoiceLineId === t), i = e.outcome.comparableSubtotals.find((e) => e.invoiceLineIds.includes(t));
|
|
269
269
|
return !n || !r || r.deltaMinor === null || !i || n.currency.code !== i.currency.code || n.currency.minorUnitDigits !== i.currency.minorUnitDigits || n.payerReference !== i.payerReference ? "Not comparable" : x(r.deltaMinor, n.currency);
|
|
270
270
|
}
|
|
271
|
-
//#endregion
|
|
272
271
|
export { t as INVOICE_RECOVERY_STORAGE, f as decodeInvoiceIntent, p as encodeInvoiceIntent, c as invoiceCanonical, l as invoiceFactsInput, x as invoiceMoney, u as invoiceRecordInput, S as invoiceRowDifference, b as matchesInvoicePreview, y as matchesInvoiceReceipt, d as sameInvoiceScope };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/invoiceReview.ts
|
|
2
2
|
var e = {
|
|
3
3
|
AWAITING_REVIEW: "Awaiting review",
|
|
4
4
|
ACCEPTED: "Accepted",
|
|
@@ -80,5 +80,4 @@ function f(e, t) {
|
|
|
80
80
|
function p(e) {
|
|
81
81
|
return typeof e == "string" && e in c;
|
|
82
82
|
}
|
|
83
|
-
//#endregion
|
|
84
83
|
export { c as DRAFT_PROBLEM_LABELS, t as REVIEW_EVENT_LABELS, n as REVIEW_QUEUE_STATUSES, e as REVIEW_STATUS_LABELS, a as authorNotice, i as availableReviewActions, l as decisionInput, f as handOffInput, p as isDraftProblem, d as resolutionInput, u as supplierResponseInput };
|
package/dist/utils/mapMarkers.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/mapMarkers.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
switch ((e ?? "").toLowerCase()) {
|
|
4
4
|
case "in_transit": return "in_transit";
|
|
@@ -18,12 +18,11 @@ function t(...e) {
|
|
|
18
18
|
for (let t of e) {
|
|
19
19
|
if (!t) continue;
|
|
20
20
|
let e = t.latitude, n = t.longitude;
|
|
21
|
-
if (typeof e == "number" && typeof n == "number" && Number.isFinite(e) && Number.isFinite(n) &&
|
|
21
|
+
if (typeof e == "number" && typeof n == "number" && Number.isFinite(e) && Number.isFinite(n) && (e !== 0 || n !== 0) && Math.abs(e) <= 90 && Math.abs(n) <= 180) return {
|
|
22
22
|
lat: e,
|
|
23
23
|
lng: n
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
return null;
|
|
27
27
|
}
|
|
28
|
-
//#endregion
|
|
29
28
|
export { e as deliveryMarkerStatus, t as firstRealLatLng };
|
|
@@ -92,7 +92,7 @@ function u(e) {
|
|
|
92
92
|
return typeof Intl.supportedValuesOf == "function" ? Intl.supportedValuesOf(e) : [];
|
|
93
93
|
}
|
|
94
94
|
function d(e) {
|
|
95
|
-
let t = new Set([...l, ...u("currency")]);
|
|
95
|
+
let t = /* @__PURE__ */ new Set([...l, ...u("currency")]);
|
|
96
96
|
e && t.add(e);
|
|
97
97
|
let n = [...t].filter((e) => !l.includes(e)).sort();
|
|
98
98
|
return [...l, ...n];
|
|
@@ -106,7 +106,7 @@ function f(e) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
function p(e) {
|
|
109
|
-
let t = new Set(["UTC", ...u("timeZone")]);
|
|
109
|
+
let t = /* @__PURE__ */ new Set(["UTC", ...u("timeZone")]);
|
|
110
110
|
return e && t.add(e), [...t].sort((e, t) => e === "UTC" ? -1 : t === "UTC" ? 1 : e.localeCompare(t));
|
|
111
111
|
}
|
|
112
112
|
function m() {
|
|
@@ -128,5 +128,4 @@ function _(e, t = /* @__PURE__ */ new Date()) {
|
|
|
128
128
|
let n = new Date(t.getTime() + e * 3600 * 1e3), r = (e) => String(e).padStart(2, "0");
|
|
129
129
|
return `${n.getFullYear()}-${r(n.getMonth() + 1)}-${r(n.getDate())}T${r(n.getHours())}:${r(n.getMinutes())}`;
|
|
130
130
|
}
|
|
131
|
-
//#endregion
|
|
132
131
|
export { a as DISTANCE_UNIT_OPTIONS, n as MTW_MODULE_SETTINGS_QUERY, s as ORDER_PRIORITY_OPTIONS, r as UPDATE_MTW_MODULE_SETTINGS_MUTATION, o as WEIGHT_UNIT_OPTIONS, m as browserTimeZone, g as changedSettings, f as currencyLabel, d as currencyOptions, h as deliveryWindowError, _ as deliveryWindowValue, c as orderFormPriority, e as platformDefaults, p as timeZoneOptions, i as toFormatPreferences };
|
package/dist/utils/navigation.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/navigation.ts
|
|
2
2
|
function e(e, t) {
|
|
3
3
|
return (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
4
4
|
}
|
|
@@ -23,5 +23,4 @@ function a(e) {
|
|
|
23
23
|
let n = r(e);
|
|
24
24
|
return n ? t("customers/new", { returnTo: n }) : "customers/new";
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
export { a as buildCustomerCreatePath, i as buildOrderCustomerPath, r as getSafeCustomerReturnPath, e as joinPath };
|
|
26
|
+
export { a as buildCustomerCreatePath, i as buildOrderCustomerPath, t as buildUrl, r as getSafeCustomerReturnPath, e as joinPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/orderPricing.ts
|
|
2
2
|
var e = (e) => Math.round(e * 100) / 100, t = (e) => typeof e == "number" && Number.isFinite(e) && e >= 0 ? e : 0;
|
|
3
3
|
function n(n, r) {
|
|
4
4
|
let i = e(n.reduce((e, n) => e + t(n.quantity) * t(n.value), 0)), a = t(r?.taxes), o = t(r?.fees?.delivery), s = t(r?.fees?.handling), c = t(r?.fees?.insurance);
|
|
@@ -16,5 +16,4 @@ function n(n, r) {
|
|
|
16
16
|
paymentStatus: r?.paymentStatus || "pending"
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { n as calculateOrderPricing };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/orderValidation.ts
|
|
2
2
|
var e = (e) => Number.isFinite(e) && e >= 0;
|
|
3
3
|
function t(t) {
|
|
4
4
|
let n = {}, r = t.productId.trim().length > 0, i = t.name.trim().length > 0;
|
|
@@ -8,11 +8,10 @@ function t(t) {
|
|
|
8
8
|
"length",
|
|
9
9
|
"width",
|
|
10
10
|
"height"
|
|
11
|
-
])
|
|
11
|
+
]) a && e(a[t]) || (n[t] = `${t[0].toUpperCase()}${t.slice(1)} must be a finite number of 0 or more.`);
|
|
12
12
|
return n;
|
|
13
13
|
}
|
|
14
14
|
function n(e) {
|
|
15
15
|
return Object.fromEntries(e.map((e) => [e.id, t(e)]).filter(([, e]) => Object.keys(e).length > 0));
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
export { n as validateOrderItems };
|
|
17
|
+
export { t as validateOrderItem, n as validateOrderItems };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/orderVehicleHold.ts
|
|
2
2
|
var e = class extends Error {
|
|
3
3
|
operation;
|
|
4
4
|
kind;
|
|
@@ -16,7 +16,7 @@ function n(n, r, i) {
|
|
|
16
16
|
let o = a.extensions.i18nKey, s = o === "route.errors.vehicleNotAssignable" ? "vehicle" : o === "route.errors.driverInactive" || o === "route.errors.driverLicenseUnknown" || o === "route.errors.driverLicenseExpired" ? "driver" : null;
|
|
17
17
|
return !s || n.data !== void 0 && n.data !== null && (!t(n.data) || Object.keys(n.data).length !== 1 || n.data[i] !== null) ? null : new e(i, s);
|
|
18
18
|
}
|
|
19
|
-
var r = new Set([
|
|
19
|
+
var r = /* @__PURE__ */ new Set([
|
|
20
20
|
"PENDING",
|
|
21
21
|
"CONFIRMED",
|
|
22
22
|
"ASSIGNED",
|
|
@@ -34,5 +34,4 @@ function i(e, n) {
|
|
|
34
34
|
function a(e) {
|
|
35
35
|
return e === "available" || e === "assigned";
|
|
36
36
|
}
|
|
37
|
-
//#endregion
|
|
38
37
|
export { e as VehicleHoldRefusal, i as assertOrderAcknowledgement, a as isVehicleAssignable, n as vehicleHoldRefusal };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/palletPreviewInput.ts
|
|
2
2
|
var e = () => ({
|
|
3
3
|
reference: "",
|
|
4
4
|
version: ""
|
|
@@ -134,5 +134,4 @@ function s(e) {
|
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
|
-
//#endregion
|
|
138
137
|
export { r as PalletInputError, t as newPalletPackage, n as newPalletPreviewDraft, s as palletPreviewInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/palletPreviewResponse.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"placedContainment",
|
|
4
4
|
"placedNonOverlap",
|
|
@@ -139,7 +139,7 @@ function m(r, p) {
|
|
|
139
139
|
"loadEnvelope",
|
|
140
140
|
"additionalPacking",
|
|
141
141
|
"clearance"
|
|
142
|
-
]),
|
|
142
|
+
]), Array.isArray(E.packages) && E.packages.length === p.packages.length || n();
|
|
143
143
|
let D = E.packages.map((e, t) => {
|
|
144
144
|
let r = i(e);
|
|
145
145
|
a(r, ["packageId", "source"]);
|
|
@@ -187,5 +187,4 @@ function m(r, p) {
|
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
//#endregion
|
|
191
190
|
export { e as PALLET_BOUND_KEYS, t as PALLET_UNKNOWN_KEYS, m as parsePalletPreview, p as validatePalletPreviewEnvelope };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/pendingPickDraft.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
return {
|
|
4
4
|
inventoryItemId: e.inventoryItemId,
|
|
@@ -42,5 +42,4 @@ function n(t, n, r) {
|
|
|
42
42
|
function r(e, n) {
|
|
43
43
|
return e === t(n);
|
|
44
44
|
}
|
|
45
|
-
//#endregion
|
|
46
45
|
export { t as pendingContextSignature, n as pendingPickInput, r as pendingPickMatches };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/pickReviewAcknowledgement.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
4
4
|
}
|
|
@@ -6,5 +6,4 @@ function t(t, n, r, i) {
|
|
|
6
6
|
let a = r === "APPROVE" ? "approveMtwPickTask" : r === "REJECT" ? "rejectMtwPickTask" : "revokeMtwPickTaskReview", o = e(t) ? t[a] : null;
|
|
7
7
|
if (!e(o) || typeof o.id != "string" || !/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/.test(o.id) || o.kind !== r || o.taskId !== n.taskId || o.intentHash !== n.intentHash || o.subjectActorId !== n.subjectActorId || o.idempotencyKey !== n.idempotencyKey || !i || o.reviewerActorId !== i || o.version !== n.expectedVersion + 1 || o.previousDecisionId !== (n.expectedPreviousDecisionId ?? null) || o.classification !== "REVIEW_ONLY_NO_STOCK_EFFECT" || o.note !== n.note || o.quantityCeiling !== (n.quantityCeiling ?? null) || o.validFrom !== (n.validFrom ?? null) || o.validUntil !== (n.validUntil ?? null) || !Array.isArray(o.actions) || o.actions.length !== n.actions.length || new Set(o.actions).size !== o.actions.length || !o.actions.every((e) => typeof e == "string" && n.actions.some((t) => t === e))) throw Error("The intended move-review receipt is not confirmed.");
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
9
|
export { t as confirmPickReviewAcknowledgement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/procedureInput.ts
|
|
2
2
|
var e = [
|
|
3
3
|
"RETURN_INSTRUCTION_REVIEW",
|
|
4
4
|
"CONDITION_HOLDS_REVIEW",
|
|
@@ -39,5 +39,4 @@ function a(e) {
|
|
|
39
39
|
function o(e, t) {
|
|
40
40
|
return e?.id === t?.id && e?.version === t?.version;
|
|
41
41
|
}
|
|
42
|
-
//#endregion
|
|
43
42
|
export { o as chainMatches, i as localProcedureInstant, n as object, r as procedureAcknowledgement, e as procedureSteps, a as scopeInput, t as stepLabel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublishProcedureDocument as e, RecordProcedureDeviationDocument as t, RecordProcedureStepDocument as n, RevokeProcedureDeviationDocument as r, StartProcedureDocument as i } from "../src/generated/logistics-procedure-operations.js";
|
|
2
2
|
import { print as a } from "graphql";
|
|
3
|
-
|
|
3
|
+
// src/movethewheels/utils/procedureRecovery.ts
|
|
4
4
|
var o = "movethewheels.procedure.unresolved.v1";
|
|
5
5
|
function s(o) {
|
|
6
6
|
if (!o || new TextEncoder().encode(o).byteLength > 2e5) return null;
|
|
@@ -38,5 +38,4 @@ function c(e) {
|
|
|
38
38
|
if (!s(t)) throw Error("Cannot safely retain this procedure request. Nothing was sent.");
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
|
-
//#endregion
|
|
42
41
|
export { o as PROCEDURE_RECOVERY_STORAGE, s as decodeProcedureRecovery, c as encodeProcedureRecovery };
|
package/dist/utils/reports.js
CHANGED
|
@@ -198,5 +198,4 @@ function w(e) {
|
|
|
198
198
|
function T(e, t, n) {
|
|
199
199
|
return e == null || e === "" ? "—" : t.kind === "BOOLEAN" || typeof e == "boolean" ? e ? "Yes" : "No" : t.kind === "DATE" && typeof e == "string" ? n(e) : typeof e == "number" ? e.toLocaleString() : String(e);
|
|
200
200
|
}
|
|
201
|
-
|
|
202
|
-
export { u as CREATE_MTW_REPORT_MUTATION, f as DELETE_MTW_REPORT_MUTATION, n as FREQUENCY_OPTIONS, p as GENERATE_MTW_REPORT_MUTATION, o as MTW_REPORTS_QUERY, s as MTW_REPORT_RUNS_QUERY, l as MTW_REPORT_RUN_EXPORT_QUERY, c as MTW_REPORT_RUN_QUERY, t as REPORT_TYPE_OPTIONS, d as UPDATE_MTW_REPORT_MUTATION, r as WEEKDAY_LABELS, T as formatCell, C as formatMetric, w as metricLabel, m as newReportInput, _ as reportInputError, h as reportToInput, y as reportTypeLabel, S as scheduleSummary, g as suggestedPeriodDays, v as toServiceInput };
|
|
201
|
+
export { u as CREATE_MTW_REPORT_MUTATION, f as DELETE_MTW_REPORT_MUTATION, e as DESCRIPTION_MAX, n as FREQUENCY_OPTIONS, p as GENERATE_MTW_REPORT_MUTATION, o as MTW_REPORTS_QUERY, s as MTW_REPORT_RUNS_QUERY, l as MTW_REPORT_RUN_EXPORT_QUERY, c as MTW_REPORT_RUN_QUERY, t as REPORT_TYPE_OPTIONS, d as UPDATE_MTW_REPORT_MUTATION, r as WEEKDAY_LABELS, T as formatCell, C as formatMetric, w as metricLabel, m as newReportInput, _ as reportInputError, h as reportToInput, y as reportTypeLabel, S as scheduleSummary, g as suggestedPeriodDays, v as toServiceInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/reuseAttempt.ts
|
|
2
2
|
function e(e, t, n, r) {
|
|
3
3
|
let i = Object.fromEntries(Object.entries(n).filter(([e]) => ![
|
|
4
4
|
"expectedVersion",
|
|
@@ -16,5 +16,4 @@ function e(e, t, n, r) {
|
|
|
16
16
|
key: r()
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { e as reuseAttempt };
|
package/dist/utils/reuseForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { freeTimeIso as e } from "./freeTimeDate.js";
|
|
2
|
-
|
|
2
|
+
// src/movethewheels/utils/reuseForm.ts
|
|
3
3
|
function t(e, t) {
|
|
4
4
|
return String(e.get(t) ?? "").trim();
|
|
5
5
|
}
|
|
@@ -21,5 +21,4 @@ function r(n, r, i) {
|
|
|
21
21
|
evidenceVersionIds: a
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { r as readReuseSource, n as reuseInteger, t as reuseText };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveGraphqlUrl as e } from "./graphqlClient.js";
|
|
2
2
|
import { Kind as t, parse as n, print as r } from "graphql";
|
|
3
|
-
|
|
4
|
-
var i = "movethewheels.empty-reuse.unresolved.v1", a = 2e5, o = new Set([
|
|
3
|
+
// src/movethewheels/utils/reuseRecovery.ts
|
|
4
|
+
var i = "movethewheels.empty-reuse.unresolved.v1", a = 2e5, o = /* @__PURE__ */ new Set([
|
|
5
5
|
"RecordReturnInstruction",
|
|
6
6
|
"RecordReuseProposal",
|
|
7
7
|
"RecordReuseApproval",
|
|
@@ -67,5 +67,4 @@ function f(e) {
|
|
|
67
67
|
if (new TextEncoder().encode(t).byteLength > a) throw Error("This request is too large to retain safely.");
|
|
68
68
|
return t;
|
|
69
69
|
}
|
|
70
|
-
//#endregion
|
|
71
70
|
export { i as REUSE_RECOVERY_STORAGE, d as decodeReuseRecovery, f as encodeReuseRecovery, l as reuseRecoveryContextKey, c as reuseRecoveryScope, u as sameReuseRecoveryScope };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/movethewheels/utils/shipmentStatusDraft.ts
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = e.trim();
|
|
4
4
|
if (!t || t.length > 1e3) throw Error("Enter a reason of 1–1000 characters.");
|
|
@@ -37,5 +37,4 @@ function r(e, t) {
|
|
|
37
37
|
function i(e, t) {
|
|
38
38
|
return !!e && e.id === t.id && e.statusRevision === t.revision + 1 && e.status === t.status && e.statusAuthority === "MANUAL_HOLD" && e.statusAuthorityEpoch === t.epoch + 1 && e.designatedIntegrationId === null && e.statusBasisEventId === null && e.statusBasisSourceTime === null && e.maxSourceAgeSeconds === null && e.maxFutureSkewSeconds === null;
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
40
|
export { i as manualStatusAcknowledged, n as shipmentSourceInput, r as sourceStatusAcknowledged, e as statusDecisionReason };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { freeTimeIso as e } from "./freeTimeDate.js";
|
|
2
|
-
|
|
2
|
+
// src/movethewheels/utils/stockBindingForm.ts
|
|
3
3
|
function t(e) {
|
|
4
4
|
return `${e.warehouse?.name ?? "Warehouse unavailable"} (${e.warehouse?.code ?? "unknown code"}) / ${e.cargoItem?.name ?? "Cargo unavailable"} (${e.cargoItem?.sku ?? "unknown SKU"}) / ${e.locationId === null ? "Unbinned" : e.location?.locationCode ?? "Bin unavailable"}`;
|
|
5
5
|
}
|
|
@@ -138,5 +138,4 @@ function c(t, n) {
|
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
//#endregion
|
|
142
141
|
export { i as inputForStockDraft, c as readStockFactDraft, t as stockContextLabel, r as stockContextMatches, n as stockDraftPin };
|