@burdenoff/microfe-movethewheels 2026.1109.1 → 2026.1109.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MoveTheWheelsRoot.js +62 -61
- package/dist/MoveTheWheelsRoutes.js +6 -7
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/AssignmentSuggestions.js +18 -19
- package/dist/components/CarbonFootprintPanel.js +17 -18
- package/dist/components/CarrierRecommendationDialog.js +1 -2
- package/dist/components/ContainerEvidencePicker.js +15 -16
- package/dist/components/CustomerDeliveryUpdatesFields.js +1 -2
- package/dist/components/CustomerNotificationSettingsCard.js +43 -44
- package/dist/components/CustomerPicker.js +24 -26
- package/dist/components/DataTable.js +169 -170
- package/dist/components/DispatchDecisionCard.js +24 -25
- package/dist/components/DocumentsCard.js +54 -55
- package/dist/components/EntityCombobox.js +21 -22
- package/dist/components/EpodCaptureForm.js +113 -117
- package/dist/components/ExportStatusBanner.js +6 -7
- package/dist/components/FleetAlertsPanel.js +28 -29
- package/dist/components/ForecastModelsPanel.js +2 -3
- package/dist/components/FormError.js +2 -3
- package/dist/components/FreeTimeAgreementForm.js +54 -55
- package/dist/components/GlassPanel.js +1 -2
- package/dist/components/InventoryCoverPanel.js +68 -69
- package/dist/components/MetricCard.js +1 -2
- package/dist/components/Notice.js +3 -4
- package/dist/components/OrderItemRow.js +21 -22
- package/dist/components/PageLayout.js +1 -2
- package/dist/components/ProofOfDeliveryCard.js +19 -20
- package/dist/components/ReturnInstructionForm.js +28 -29
- package/dist/components/ReuseControls.js +1 -2
- package/dist/components/ReusePermissionForm.js +23 -24
- package/dist/components/ReuseProposalForm.js +168 -169
- package/dist/components/ReuseSourceFields.js +1 -2
- package/dist/components/ScenarioPlanningPanel.js +80 -81
- package/dist/components/ShipmentDecisionPanel.js +59 -60
- package/dist/components/ShipmentRiskDialog.js +32 -33
- package/dist/components/ShippingQuoteResults.js +32 -33
- package/dist/components/SignaturePad.js +7 -8
- package/dist/components/StatusBadge.js +1 -2
- package/dist/components/StockActionDialogs.js +77 -78
- package/dist/components/TrackingAlertList.js +26 -27
- package/dist/components/UpcomingDemandPanel.js +24 -25
- package/dist/components/VehicleServiceCard.js +34 -39
- package/dist/components/charts/ChartShell.js +1 -2
- package/dist/components/charts/Sparkline.js +14 -15
- package/dist/components/charts/StatusDonut.js +12 -13
- package/dist/components/charts/TrendChart.js +29 -30
- package/dist/components/charts/VolumeBar.js +21 -22
- package/dist/components/charts/chartTokens.js +1 -2
- package/dist/components/charts/index.js +7 -6
- package/dist/components/consolidation/ConsolidationHistory.js +1 -2
- package/dist/components/consolidation/ConsolidationLotEditor.js +22 -23
- package/dist/components/consolidation/ConsolidationManifestWorkbench.js +30 -31
- package/dist/components/consolidation/ConsolidationPlanForm.js +44 -45
- package/dist/components/consolidation/ConsolidationPlanWorkbench.js +106 -105
- package/dist/components/consolidation/ConsolidationReportForm.js +17 -18
- package/dist/components/consolidation/ConsolidationReportsWorkbench.js +35 -36
- package/dist/components/consolidation/ConsolidationSummary.js +1 -2
- package/dist/components/consolidation/OriginalConsolidationHistory.js +15 -16
- package/dist/components/freight-cost/FreightCommercialEditor.js +39 -40
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +2 -3
- package/dist/components/freight-cost/FreightCommercialHistory.js +8 -9
- package/dist/components/freight-cost/FreightDraftForm.js +45 -47
- package/dist/components/freight-cost/FreightFields.js +1 -2
- package/dist/components/freight-cost/FreightFxEditor.js +1 -2
- package/dist/components/freight-cost/FreightHistory.js +32 -33
- package/dist/components/freight-cost/FreightLineEditor.js +1 -2
- package/dist/components/freight-cost/FreightScopeEditor.js +1 -2
- package/dist/components/freight-cost/FreightTotals.js +1 -2
- package/dist/components/freight-invoice/InvoiceForm.js +41 -42
- package/dist/components/freight-invoice/InvoiceResults.js +42 -43
- package/dist/components/freight-invoice/InvoiceReviewPanel.js +26 -28
- package/dist/components/freight-invoice/InvoiceReviewQueue.js +9 -10
- package/dist/components/index.js +22 -21
- package/dist/components/logistics-procedure/ProcedureDecisionForm.js +24 -25
- package/dist/components/logistics-procedure/ProcedureFields.js +1 -2
- package/dist/components/logistics-procedure/ProcedureHistory.js +29 -30
- package/dist/components/logistics-procedure/ProcedurePolicyForm.js +27 -28
- package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +23 -24
- package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +43 -44
- package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +30 -31
- package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +1 -2
- package/dist/components/maps/LogisticsMap.js +12 -13
- package/dist/components/maps/MapCanvas.js +31 -29
- package/dist/components/maps/RouteMap.js +6 -7
- package/dist/components/maps/TrackingMap.js +17 -18
- package/dist/components/maps/index.js +6 -5
- package/dist/components/maps/leaflet-setup.js +2 -3
- package/dist/components/marketplace/MarketplaceDialogs.js +26 -28
- package/dist/components/pallet-preview/PalletPreviewResults.js +2 -3
- package/dist/components/pending-pick/PendingPickDraft.js +1 -2
- package/dist/components/pending-pick/PendingPickHistory.js +32 -33
- package/dist/components/pending-pick/PickCapture.js +1 -2
- package/dist/components/pending-pick/PickLineSelection.js +1 -2
- package/dist/components/pending-pick/PickReviewPanel.js +53 -53
- package/dist/components/stock-binding/StockAssessmentDraft.js +5 -6
- package/dist/components/stock-binding/StockAssessmentHistory.js +18 -19
- package/dist/components/stock-binding/StockAssessmentSummary.js +1 -2
- package/dist/components/stock-binding/StockFactForm.js +5 -6
- package/dist/components/stock-observation/StockIssueForm.js +1 -2
- package/dist/components/stock-observation/StockIssueHistory.js +1 -2
- package/dist/components/stock-observation/StockIssueReadPanel.js +1 -2
- package/dist/components/trip-utilization/TripReportForm.js +6 -7
- package/dist/components/trip-utilization/TripReportHistory.js +15 -16
- package/dist/components/trip-utilization/TripReportSummary.js +1 -2
- package/dist/components/trip-utilization/TripSegmentFields.js +14 -15
- package/dist/components/ui.js +1 -2
- package/dist/constants/index.js +1 -2
- package/dist/hooks/index.js +12 -11
- package/dist/hooks/useAnalytics.js +3 -3
- package/dist/hooks/useCarrierIntegrations.js +1 -2
- package/dist/hooks/useConsolidationAction.js +12 -13
- package/dist/hooks/useConsumedFuelPreview.js +17 -18
- package/dist/hooks/useContainerCondition.js +4 -3
- package/dist/hooks/useContainerLifecycle.js +70 -80
- package/dist/hooks/useCustomers.js +17 -16
- package/dist/hooks/useDebouncedValue.js +1 -2
- package/dist/hooks/useDemandForecast.js +1 -2
- package/dist/hooks/useDispatchPlan.js +3 -3
- package/dist/hooks/useDocumentExtractions.js +12 -13
- package/dist/hooks/useDriverDay.js +3 -4
- package/dist/hooks/useEmptyReuseAction.js +1 -2
- package/dist/hooks/useEntityDocuments.js +25 -27
- package/dist/hooks/useEntityExport.js +7 -8
- package/dist/hooks/useEntityImport.js +1 -2
- package/dist/hooks/useEpod.js +79 -81
- package/dist/hooks/useFleet.js +70 -74
- package/dist/hooks/useFleetIntelligence.js +1 -2
- package/dist/hooks/useForecastModelChoices.js +1 -2
- package/dist/hooks/useFreightRecoveryAction.js +15 -16
- package/dist/hooks/useInventory.js +59 -60
- package/dist/hooks/useInventoryCoverPlan.js +2 -3
- package/dist/hooks/useInvoiceComparisonRecovery.js +52 -52
- package/dist/hooks/useInvoiceReviewPermissions.js +1 -2
- package/dist/hooks/useMarketplace.js +1 -2
- package/dist/hooks/useMultiModalShipments.js +1 -2
- package/dist/hooks/useOrderDispatch.js +6 -5
- package/dist/hooks/useOrders.js +44 -46
- package/dist/hooks/usePalletPreview.js +19 -20
- package/dist/hooks/useProcedureAction.js +24 -25
- package/dist/hooks/useProcedureSelection.js +6 -7
- package/dist/hooks/useRefetchOnLeaveEdit.js +1 -2
- package/dist/hooks/useReuseRecoveryAction.js +26 -27
- package/dist/hooks/useRoutes.js +12 -14
- package/dist/hooks/useScenarioPlanning.js +20 -21
- package/dist/hooks/useShipmentDecision.js +1 -2
- package/dist/hooks/useShipmentPermissions.js +1 -2
- package/dist/hooks/useShipmentRisk.js +12 -14
- package/dist/hooks/useShipmentStatusAuthority.js +7 -5
- package/dist/hooks/useShippingCarriers.js +1 -2
- package/dist/hooks/useTracking.js +53 -52
- package/dist/hooks/useTrackingEventQuality.js +26 -27
- package/dist/index.js +15 -15
- package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
- package/dist/node_modules/@react-leaflet/core/lib/attribution.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/component.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/context.js +0 -1
- package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/element.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/events.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/generic.js +9 -6
- package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/pane.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/path.js +6 -7
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
- package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/fast-equals/dist/es/index.js +89 -72
- package/dist/node_modules/leaflet/dist/leaflet-src.js +114 -167
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_Stack.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/maxBy.js +5 -6
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/minBy.js +4 -5
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -7
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -3
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell-ring.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/box.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/boxes.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calculator.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/car.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chart-column.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check-big.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/dollar-sign.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/fuel.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/git-compare.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/history.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/leaf.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/navigation.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plane.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/play.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/receipt.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/route.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/save.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/scale.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/ship.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/square-pen.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/star.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sticky-note.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/store.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/train-front.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/truck.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/type.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/warehouse.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wifi-off.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +1 -2
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +1 -2
- package/dist/node_modules/react-leaflet/lib/Marker.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Polyline.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Popup.js +7 -7
- package/dist/node_modules/react-leaflet/lib/TileLayer.js +12 -12
- package/dist/node_modules/react-leaflet/lib/hooks.js +1 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +31 -39
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/recharts/es6/cartesian/Area.js +95 -96
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +100 -101
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +58 -65
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +33 -34
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +17 -18
- package/dist/node_modules/recharts/es6/cartesian/Line.js +76 -77
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +22 -23
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -4
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cursor.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +27 -28
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +11 -12
- package/dist/node_modules/recharts/es6/component/Label.js +78 -79
- package/dist/node_modules/recharts/es6/component/LabelList.js +16 -17
- package/dist/node_modules/recharts/es6/component/Legend.js +25 -22
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +14 -15
- package/dist/node_modules/recharts/es6/component/Text.js +17 -20
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +1 -2
- package/dist/node_modules/recharts/es6/container/Layer.js +3 -4
- package/dist/node_modules/recharts/es6/container/Surface.js +3 -4
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +20 -20
- package/dist/node_modules/recharts/es6/polar/Pie.js +102 -106
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +28 -29
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +36 -39
- package/dist/node_modules/recharts/es6/shape/Cross.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Dot.js +2 -3
- package/dist/node_modules/recharts/es6/shape/Polygon.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +20 -21
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +32 -33
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +4 -5
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/types.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/node_modules/zustand/esm/middleware.js +209 -112
- package/dist/pages/AnalyticsPage.js +41 -42
- package/dist/pages/ConsolidationPage.js +8 -9
- package/dist/pages/ConsumedFuelPreviewPage.js +60 -61
- package/dist/pages/ContainerConditionPage.js +49 -50
- package/dist/pages/ContainersPage.js +53 -53
- package/dist/pages/CreateOrderPage.js +134 -144
- package/dist/pages/CustomerDetailsPage.js +342 -345
- package/dist/pages/CustomersPage.js +36 -37
- package/dist/pages/DashboardPage.js +92 -93
- package/dist/pages/DeliveryCapturePage.js +199 -200
- package/dist/pages/DispatchPlanPage.js +94 -95
- package/dist/pages/DriverDetailsPage.js +393 -399
- package/dist/pages/DriversPage.js +64 -65
- package/dist/pages/EmptyReusePage.js +320 -321
- package/dist/pages/FinancePage.js +72 -70
- package/dist/pages/FleetPage.js +88 -89
- package/dist/pages/FreeTimePage.js +92 -92
- package/dist/pages/FreightEstimatePage.js +92 -93
- package/dist/pages/FreightInvoicePage.js +123 -124
- package/dist/pages/ImportExportPage.js +173 -178
- package/dist/pages/IntegrationsPage.js +264 -267
- package/dist/pages/InventoryPage.js +233 -234
- package/dist/pages/LiveTrackingPage.js +120 -121
- package/dist/pages/LogisticsProceduresPage.js +10 -11
- package/dist/pages/MarketplacePage.js +170 -171
- package/dist/pages/MultiModalShipmentPage.js +172 -177
- package/dist/pages/OrderDetailsPage.js +317 -318
- package/dist/pages/OrdersListPage.js +163 -164
- package/dist/pages/PalletPreviewPage.js +113 -114
- package/dist/pages/PendingPickPage.js +32 -33
- package/dist/pages/ProductDetailsPage.js +164 -166
- package/dist/pages/ProductsPage.js +39 -40
- package/dist/pages/ReportsPage.js +315 -316
- package/dist/pages/RouteDetailsPage.js +302 -304
- package/dist/pages/RoutesPage.js +39 -40
- package/dist/pages/SettingsPage.js +87 -88
- package/dist/pages/ShipmentStatusAuthorityPage.js +67 -67
- package/dist/pages/ShippingRatesPage.js +31 -32
- package/dist/pages/StockBindingPage.js +39 -40
- package/dist/pages/StockObservationsPage.js +23 -24
- package/dist/pages/TrackingEventQualityPage.js +30 -31
- package/dist/pages/TrackingPage.js +88 -89
- package/dist/pages/TripUtilizationPage.js +24 -25
- package/dist/pages/VehicleDetailsPage.js +241 -243
- package/dist/pages/VehiclesPage.js +59 -60
- package/dist/pages/WarehouseDetailsPage.js +151 -156
- package/dist/pages/WarehousesPage.js +33 -34
- package/dist/providers/ModuleSettingsProvider.js +1 -2
- package/dist/providers/MoveTheWheelsProvider.js +2 -7
- package/dist/services/createSandboxAssistantTransport.js +1 -2
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/src/generated/consolidation-operations.js +1 -2
- package/dist/src/generated/consumed-fuel-preview-operations.js +1 -2
- package/dist/src/generated/container-condition-operations.js +1 -2
- package/dist/src/generated/container-operations.js +1 -2
- package/dist/src/generated/empty-reuse-operations.js +1 -2
- package/dist/src/generated/free-time-operations.js +1 -2
- package/dist/src/generated/freight-cost-operations.js +1 -2
- package/dist/src/generated/freight-invoice-operations.js +1 -2
- package/dist/src/generated/logistics-procedure-operations.js +1 -2
- package/dist/src/generated/pallet-preview-operations.js +1 -2
- package/dist/src/generated/pending-pick-operations.js +1 -2
- package/dist/src/generated/shipment-status-authority-operations.js +1 -2
- package/dist/src/generated/stock-binding-operations.js +1 -2
- package/dist/src/generated/stock-observation-operations.js +1 -2
- package/dist/src/generated/tracking-quality-operations.js +1 -2
- package/dist/src/generated/trip-utilization-operations.js +1 -2
- package/dist/src/generated/wspace-operations.js +1 -2
- package/dist/store/movethewheelsStore.js +1 -2
- package/dist/utils/carrierIntegrations.js +4 -5
- package/dist/utils/cn.js +2 -3
- package/dist/utils/consolidationHistoryTarget.js +1 -2
- package/dist/utils/consolidationInput.js +1 -2
- package/dist/utils/consolidationLot.js +1 -2
- package/dist/utils/consolidationPins.js +1 -2
- package/dist/utils/consolidationRecovery.js +1 -2
- package/dist/utils/consolidationReportHead.js +1 -2
- package/dist/utils/consumedFuelInput.js +2 -3
- package/dist/utils/consumedFuelResponse.js +2 -3
- package/dist/utils/customerNotifications.js +2 -3
- package/dist/utils/driverLicenseExpiry.js +1 -2
- package/dist/utils/driverNavigation.js +2 -3
- package/dist/utils/entityExport.js +3 -4
- package/dist/utils/entityImport.js +3 -4
- package/dist/utils/formatters.js +37 -37
- package/dist/utils/freeTimeDate.js +1 -2
- package/dist/utils/freightAcknowledgement.js +1 -2
- package/dist/utils/freightCommercial.js +2 -3
- package/dist/utils/freightDraft.js +1 -2
- package/dist/utils/freightRecovery.js +1 -2
- package/dist/utils/graphqlClient.js +1 -2
- package/dist/utils/invoiceComparison.js +5 -6
- package/dist/utils/invoiceReview.js +1 -2
- package/dist/utils/mapMarkers.js +2 -3
- package/dist/utils/moduleSettings.js +2 -3
- package/dist/utils/navigation.js +2 -3
- package/dist/utils/orderPricing.js +1 -2
- package/dist/utils/orderValidation.js +3 -4
- package/dist/utils/orderVehicleHold.js +2 -3
- package/dist/utils/palletPreviewInput.js +1 -2
- package/dist/utils/palletPreviewResponse.js +2 -3
- package/dist/utils/pendingPickDraft.js +1 -2
- package/dist/utils/pickReviewAcknowledgement.js +1 -2
- package/dist/utils/procedureInput.js +1 -2
- package/dist/utils/procedureRecovery.js +1 -2
- package/dist/utils/reports.js +1 -2
- package/dist/utils/reuseAttempt.js +1 -2
- package/dist/utils/reuseForm.js +1 -2
- package/dist/utils/reuseRecovery.js +2 -3
- package/dist/utils/shipmentStatusDraft.js +1 -2
- package/dist/utils/stockBindingForm.js +1 -2
- package/dist/utils/stockBindingLabels.js +1 -2
- package/dist/utils/stockObservationForm.js +2 -3
- package/dist/utils/trackingAlerts.js +1 -2
- package/dist/utils/tripDraftContext.js +1 -2
- package/dist/utils/tripUtilizationForm.js +2 -3
- package/package.json +136 -86
- package/src/movethewheels/utils/orderPricing.test.ts +1 -1
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.js +0 -8
- package/dist/node_modules/d3-array/src/bisector.js +0 -41
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/max.js +0 -12
- package/dist/node_modules/d3-array/src/min.js +0 -12
- package/dist/node_modules/d3-array/src/number.js +0 -13
- package/dist/node_modules/d3-array/src/quantile.js +0 -23
- package/dist/node_modules/d3-array/src/quickselect.js +0 -24
- package/dist/node_modules/d3-array/src/range.js +0 -8
- package/dist/node_modules/d3-array/src/sort.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-color/src/color.js +0 -289
- package/dist/node_modules/d3-color/src/define.js +0 -11
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.js +0 -84
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
- package/dist/node_modules/d3-interpolate/src/color.js +0 -23
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js +0 -12
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.js +0 -26
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-scale/src/band.js +0 -50
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.js +0 -71
- package/dist/node_modules/d3-scale/src/diverging.js +0 -80
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.js +0 -27
- package/dist/node_modules/d3-scale/src/linear.js +0 -34
- package/dist/node_modules/d3-scale/src/log.js +0 -75
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
- package/dist/node_modules/d3-scale/src/pow.js +0 -35
- package/dist/node_modules/d3-scale/src/quantile.js +0 -35
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/radial.js +0 -37
- package/dist/node_modules/d3-scale/src/sequential.js +0 -65
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
- package/dist/node_modules/d3-scale/src/symlog.js +0 -28
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
- package/dist/node_modules/d3-scale/src/time.js +0 -45
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-shape/src/area.js +0 -53
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
- package/dist/node_modules/d3-shape/src/line.js +0 -28
- package/dist/node_modules/d3-shape/src/math.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js +0 -4
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
- package/dist/node_modules/d3-shape/src/order/none.js +0 -7
- package/dist/node_modules/d3-shape/src/path.js +0 -17
- package/dist/node_modules/d3-shape/src/point.js +0 -9
- package/dist/node_modules/d3-shape/src/stack.js +0 -32
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.js +0 -19
- package/dist/node_modules/d3-time/src/duration.js +0 -4
- package/dist/node_modules/d3-time/src/hour.js +0 -17
- package/dist/node_modules/d3-time/src/interval.js +0 -26
- package/dist/node_modules/d3-time/src/millisecond.js +0 -12
- package/dist/node_modules/d3-time/src/minute.js +0 -17
- package/dist/node_modules/d3-time/src/month.js +0 -16
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.js +0 -123
- package/dist/node_modules/d3-time/src/week.js +0 -23
- package/dist/node_modules/d3-time/src/year.js +0 -24
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
- package/dist/node_modules/internmap/src/index.js +0 -38
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { useDebouncedValue as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { useMemo as
|
|
29
|
-
import { jsx as
|
|
30
|
-
import { useI18n as
|
|
31
|
-
import { CTAOverflowMenu as
|
|
32
|
-
|
|
33
|
-
var
|
|
1
|
+
import e from "../node_modules/lucide-react/dist/esm/icons/package.js";
|
|
2
|
+
import t from "../node_modules/lucide-react/dist/esm/icons/warehouse.js";
|
|
3
|
+
import n from "../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
|
|
4
|
+
import r from "../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
5
|
+
import ee from "../node_modules/lucide-react/dist/esm/icons/plus.js";
|
|
6
|
+
import i from "../node_modules/lucide-react/dist/esm/icons/boxes.js";
|
|
7
|
+
import a from "../node_modules/lucide-react/dist/esm/icons/circle-check.js";
|
|
8
|
+
import te from "../node_modules/lucide-react/dist/esm/icons/lock.js";
|
|
9
|
+
import ne from "../node_modules/lucide-react/dist/esm/icons/history.js";
|
|
10
|
+
import re from "../node_modules/lucide-react/dist/esm/icons/arrow-down-right.js";
|
|
11
|
+
import ie from "../node_modules/lucide-react/dist/esm/icons/arrow-up-right.js";
|
|
12
|
+
import o from "../node_modules/lucide-react/dist/esm/icons/arrow-left-right.js";
|
|
13
|
+
import ae from "../node_modules/lucide-react/dist/esm/icons/package-plus.js";
|
|
14
|
+
import oe from "../node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js";
|
|
15
|
+
import { PageLayout as se, PageSection as s } from "../components/PageLayout.js";
|
|
16
|
+
import { MetricCard as c, MetricCardSkeleton as l, MetricGrid as u } from "../components/MetricCard.js";
|
|
17
|
+
import { DataTable as ce } from "../components/DataTable.js";
|
|
18
|
+
import { StatusBadge as le } from "../components/StatusBadge.js";
|
|
19
|
+
import { Notice as ue, useNotice as de } from "../components/Notice.js";
|
|
20
|
+
import { InventoryCoverPanel as fe } from "../components/InventoryCoverPanel.js";
|
|
21
|
+
import { AdjustStockDialog as pe, ReceiveStockDialog as me, TransferStockDialog as he } from "../components/StockActionDialogs.js";
|
|
22
|
+
import { Badge as d, Button as f, Card as p, CardContent as m, CardHeader as ge, CardTitle as _e, Progress as ve } from "../components/ui.js";
|
|
23
|
+
import { useInventory as ye, useInventoryStats as be, useInventoryTransactions as xe } from "../hooks/useInventory.js";
|
|
24
|
+
import { useMoveTheWheels as Se } from "../providers/MoveTheWheelsProvider.js";
|
|
25
|
+
import { useDebouncedValue as Ce } from "../hooks/useDebouncedValue.js";
|
|
26
|
+
import { formatCurrency as we, formatDate as Te } from "../utils/formatters.js";
|
|
27
|
+
import { joinPath as Ee } from "../utils/navigation.js";
|
|
28
|
+
import { useMemo as h, useState as g } from "react";
|
|
29
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
30
|
+
import { useI18n as y } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
31
|
+
import { CTAOverflowMenu as b, EmphasisPanel as x, PagePurpose as S } from "@burdenoff/fe-libs/ui";
|
|
32
|
+
// src/movethewheels/pages/InventoryPage.tsx
|
|
33
|
+
var C = {
|
|
34
34
|
out_of_stock: {
|
|
35
35
|
bg: "bg-status-error-bg-subtle",
|
|
36
36
|
text: "text-status-error-text"
|
|
@@ -43,35 +43,35 @@ var S = {
|
|
|
43
43
|
bg: "bg-status-success-bg-subtle",
|
|
44
44
|
text: "text-status-success-text"
|
|
45
45
|
}
|
|
46
|
-
},
|
|
46
|
+
}, w = {
|
|
47
47
|
RECEIPT: "in",
|
|
48
48
|
RETURN: "in",
|
|
49
49
|
ISSUE: "out",
|
|
50
50
|
TRANSFER: "neutral",
|
|
51
51
|
ADJUSTMENT: "neutral"
|
|
52
|
-
},
|
|
52
|
+
}, T = {
|
|
53
53
|
RECEIPT: "Inbound",
|
|
54
54
|
RETURN: "Return",
|
|
55
55
|
ISSUE: "Outbound",
|
|
56
56
|
TRANSFER: "Transfer",
|
|
57
57
|
ADJUSTMENT: "Adjustment"
|
|
58
58
|
};
|
|
59
|
-
function
|
|
59
|
+
function E(e, t) {
|
|
60
60
|
let n = Math.abs(t).toLocaleString();
|
|
61
61
|
return e === "in" ? `+${n}` : e === "out" ? `−${n}` : t > 0 ? `+${n}` : t < 0 ? `−${n}` : n;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
let { t:
|
|
65
|
-
let n =
|
|
63
|
+
function D() {
|
|
64
|
+
let { t: D } = y(), O = (e, t) => {
|
|
65
|
+
let n = D(e);
|
|
66
66
|
return n === e ? t : n;
|
|
67
|
-
}, { basePath:
|
|
68
|
-
search:
|
|
69
|
-
limit:
|
|
70
|
-
offset:
|
|
71
|
-
}), Pe =
|
|
67
|
+
}, { basePath: De, navigate: Oe } = Se(), [k, ke] = g(""), [A, j] = g(0), [M, Ae] = g(10), je = Ce(k), { inventory: N, lowStockItems: P, products: F, warehouses: I, totalItems: Me, hasMore: Ne, isLoading: L, error: R, refetch: z } = ye({
|
|
68
|
+
search: je,
|
|
69
|
+
limit: M,
|
|
70
|
+
offset: A * M
|
|
71
|
+
}), Pe = h(() => I.map((e) => ({
|
|
72
72
|
id: e.id,
|
|
73
73
|
name: e.name
|
|
74
|
-
})), [
|
|
74
|
+
})), [I]), { stats: B, refetch: Fe } = be(), { transactions: V, isLoading: Ie, error: H, refetch: Le } = xe({ limit: 8 }), { message: U, notify: Re } = de(6e3), [ze, W] = g(!1), [G, K] = g(null), [q, J] = g(null), Y = (e) => ({
|
|
75
75
|
id: e.id,
|
|
76
76
|
productName: e.productName,
|
|
77
77
|
sku: e.sku,
|
|
@@ -80,10 +80,10 @@ function E() {
|
|
|
80
80
|
onHand: e.onHand,
|
|
81
81
|
available: e.available
|
|
82
82
|
}), X = (e) => {
|
|
83
|
-
|
|
84
|
-
}, Z = (e) =>
|
|
83
|
+
Re(e), z(), Fe(), Le();
|
|
84
|
+
}, Z = (e) => Oe?.(Ee(De, e)), Q = (e, t) => {
|
|
85
85
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
|
|
86
|
-
}, $ =
|
|
86
|
+
}, $ = O("movethewheels.inventory.lowStock.unknownProduct", "Unknown Product"), Be = h(() => N.map((e) => ({
|
|
87
87
|
id: e.id,
|
|
88
88
|
productId: e.productId,
|
|
89
89
|
productName: e.productName ?? $,
|
|
@@ -95,253 +95,253 @@ function E() {
|
|
|
95
95
|
available: e.availableQuantity,
|
|
96
96
|
reorderLevel: e.reorderLevel,
|
|
97
97
|
stockState: e.quantity === 0 ? "out_of_stock" : e.reorderLevel !== void 0 && e.availableQuantity <= e.reorderLevel ? "low" : "in_stock"
|
|
98
|
-
})), [
|
|
98
|
+
})), [N, $]), Ve = [
|
|
99
99
|
{
|
|
100
100
|
id: "product",
|
|
101
|
-
header:
|
|
101
|
+
header: O("movethewheels.inventory.stock.product", "Product"),
|
|
102
102
|
accessorKey: "productName",
|
|
103
103
|
sortable: !0,
|
|
104
|
-
cell: (e) => /* @__PURE__ */
|
|
104
|
+
cell: (e) => /* @__PURE__ */ _("span", {
|
|
105
105
|
className: "font-medium",
|
|
106
106
|
children: e.productName
|
|
107
107
|
})
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
id: "sku",
|
|
111
|
-
header:
|
|
111
|
+
header: O("movethewheels.inventory.stock.sku", "SKU"),
|
|
112
112
|
accessorKey: "sku",
|
|
113
113
|
sortable: !0,
|
|
114
|
-
cell: (e) => /* @__PURE__ */
|
|
114
|
+
cell: (e) => /* @__PURE__ */ _("span", {
|
|
115
115
|
className: "text-sm text-text-secondary",
|
|
116
116
|
children: e.sku
|
|
117
117
|
})
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
id: "warehouse",
|
|
121
|
-
header:
|
|
121
|
+
header: O("movethewheels.inventory.stock.warehouse", "Warehouse"),
|
|
122
122
|
accessorKey: "warehouseName",
|
|
123
123
|
sortable: !0
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
id: "onHand",
|
|
127
|
-
header:
|
|
127
|
+
header: O("movethewheels.inventory.stock.onHand", "On hand"),
|
|
128
128
|
accessorKey: "onHand",
|
|
129
129
|
sortable: !0,
|
|
130
|
-
cell: (e) => /* @__PURE__ */
|
|
130
|
+
cell: (e) => /* @__PURE__ */ _("span", {
|
|
131
131
|
className: "font-medium",
|
|
132
132
|
children: e.onHand.toLocaleString()
|
|
133
133
|
})
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
id: "allocated",
|
|
137
|
-
header:
|
|
137
|
+
header: O("movethewheels.inventory.stock.allocated", "Allocated"),
|
|
138
138
|
accessorKey: "allocated",
|
|
139
139
|
sortable: !0,
|
|
140
140
|
cell: (e) => e.allocated.toLocaleString()
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
id: "available",
|
|
144
|
-
header:
|
|
144
|
+
header: O("movethewheels.inventory.stock.available", "Available"),
|
|
145
145
|
accessorKey: "available",
|
|
146
146
|
sortable: !0,
|
|
147
|
-
cell: (e) => /* @__PURE__ */
|
|
147
|
+
cell: (e) => /* @__PURE__ */ _("span", {
|
|
148
148
|
className: "font-medium",
|
|
149
149
|
children: e.available.toLocaleString()
|
|
150
150
|
})
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
id: "reorderPoint",
|
|
154
|
-
header:
|
|
154
|
+
header: O("movethewheels.inventory.stock.reorderPoint", "Reorder point"),
|
|
155
155
|
accessorKey: "reorderLevel",
|
|
156
156
|
sortable: !0,
|
|
157
157
|
cell: (e) => e.reorderLevel === void 0 ? "—" : e.reorderLevel.toLocaleString()
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
id: "state",
|
|
161
|
-
header:
|
|
162
|
-
cell: (e) => /* @__PURE__ */
|
|
163
|
-
status: e.stockState === "out_of_stock" ?
|
|
164
|
-
customColors:
|
|
161
|
+
header: O("movethewheels.inventory.stock.status", "Status"),
|
|
162
|
+
cell: (e) => /* @__PURE__ */ _(le, {
|
|
163
|
+
status: e.stockState === "out_of_stock" ? O("movethewheels.inventory.stock.outOfStock", "Out of stock") : e.stockState === "low" ? O("movethewheels.inventory.stock.low", "Low") : O("movethewheels.inventory.stock.inStock", "In stock"),
|
|
164
|
+
customColors: C[e.stockState],
|
|
165
165
|
size: "sm"
|
|
166
166
|
})
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
id: "actions",
|
|
170
|
-
header:
|
|
171
|
-
cell: (e) => /* @__PURE__ */
|
|
170
|
+
header: O("movethewheels.inventory.stock.actions", "Actions"),
|
|
171
|
+
cell: (e) => /* @__PURE__ */ v("div", {
|
|
172
172
|
className: "flex flex-wrap gap-2",
|
|
173
173
|
onClick: (e) => e.stopPropagation(),
|
|
174
174
|
onKeyDown: (e) => e.stopPropagation(),
|
|
175
|
-
children: [/* @__PURE__ */
|
|
175
|
+
children: [/* @__PURE__ */ v(f, {
|
|
176
176
|
type: "button",
|
|
177
177
|
variant: "outline",
|
|
178
178
|
size: "sm",
|
|
179
179
|
onClick: () => K(Y(e)),
|
|
180
180
|
children: [
|
|
181
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ _(oe, { size: 14 }),
|
|
182
182
|
" ",
|
|
183
|
-
|
|
183
|
+
O("movethewheels.inventory.stock.adjust", "Adjust")
|
|
184
184
|
]
|
|
185
|
-
}), /* @__PURE__ */
|
|
185
|
+
}), /* @__PURE__ */ v(f, {
|
|
186
186
|
type: "button",
|
|
187
187
|
variant: "outline",
|
|
188
188
|
size: "sm",
|
|
189
189
|
onClick: () => J(Y(e)),
|
|
190
190
|
disabled: e.available <= 0,
|
|
191
191
|
children: [
|
|
192
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ _(o, { size: 14 }),
|
|
193
193
|
" ",
|
|
194
|
-
|
|
194
|
+
O("movethewheels.inventory.stock.transfer", "Transfer")
|
|
195
195
|
]
|
|
196
196
|
})]
|
|
197
197
|
})
|
|
198
198
|
}
|
|
199
199
|
];
|
|
200
|
-
return /* @__PURE__ */
|
|
201
|
-
title:
|
|
202
|
-
subtitle:
|
|
203
|
-
icon: /* @__PURE__ */
|
|
204
|
-
headerActions: /* @__PURE__ */
|
|
200
|
+
return /* @__PURE__ */ v(se, {
|
|
201
|
+
title: O("movethewheels.inventory.title", "Inventory"),
|
|
202
|
+
subtitle: O("movethewheels.inventory.subtitle", "Manage your products and warehouses"),
|
|
203
|
+
icon: /* @__PURE__ */ _(e, { size: 24 }),
|
|
204
|
+
headerActions: /* @__PURE__ */ _(b, {
|
|
205
205
|
primary: {
|
|
206
|
-
label:
|
|
207
|
-
icon: /* @__PURE__ */
|
|
206
|
+
label: O("movethewheels.inventory.actions.addProduct", "Add Product"),
|
|
207
|
+
icon: /* @__PURE__ */ _(ee, { size: 16 }),
|
|
208
208
|
onSelect: () => Z("inventory/products/new")
|
|
209
209
|
},
|
|
210
210
|
actions: [
|
|
211
211
|
{
|
|
212
|
-
label:
|
|
213
|
-
icon: /* @__PURE__ */
|
|
212
|
+
label: O("movethewheels.inventory.actions.receiveStock", "Receive stock"),
|
|
213
|
+
icon: /* @__PURE__ */ _(ae, { size: 16 }),
|
|
214
214
|
onSelect: () => W(!0)
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
|
-
label:
|
|
217
|
+
label: O("movethewheels.inventory.actions.products", "Products"),
|
|
218
218
|
onSelect: () => Z("inventory/products")
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
label:
|
|
221
|
+
label: O("movethewheels.inventory.actions.warehouses", "Warehouses"),
|
|
222
222
|
onSelect: () => Z("inventory/warehouses")
|
|
223
223
|
}
|
|
224
224
|
]
|
|
225
225
|
}),
|
|
226
226
|
children: [
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
icon: /* @__PURE__ */
|
|
229
|
-
children:
|
|
227
|
+
/* @__PURE__ */ _(S, {
|
|
228
|
+
icon: /* @__PURE__ */ _(e, { size: 18 }),
|
|
229
|
+
children: O("movethewheels.inventory.purpose", "A real-time view of what you have and where. Track on-hand, allocated and free-to-promise quantities across warehouses, follow every stock movement, catch low-stock items before they run out, and drill into products or warehouses to manage what you can promise on an order.")
|
|
230
230
|
}),
|
|
231
|
-
|
|
231
|
+
U && /* @__PURE__ */ _("div", {
|
|
232
232
|
className: "mb-2",
|
|
233
|
-
children: /* @__PURE__ */
|
|
233
|
+
children: /* @__PURE__ */ _(ue, { message: U })
|
|
234
234
|
}),
|
|
235
|
-
|
|
235
|
+
R && !L ? /* @__PURE__ */ _(p, {
|
|
236
236
|
className: "border-status-error-border",
|
|
237
|
-
children: /* @__PURE__ */
|
|
237
|
+
children: /* @__PURE__ */ v(m, {
|
|
238
238
|
className: "p-6 text-center space-y-3",
|
|
239
239
|
children: [
|
|
240
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ _("p", {
|
|
241
241
|
className: "text-status-error-text font-medium",
|
|
242
|
-
children:
|
|
242
|
+
children: O("movethewheels.inventory.error.title", "Couldn't load inventory")
|
|
243
243
|
}),
|
|
244
|
-
/* @__PURE__ */
|
|
244
|
+
/* @__PURE__ */ _("p", {
|
|
245
245
|
className: "text-sm text-text-secondary",
|
|
246
|
-
children:
|
|
246
|
+
children: R.message
|
|
247
247
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
248
|
+
/* @__PURE__ */ _(f, {
|
|
249
249
|
variant: "outline",
|
|
250
|
-
onClick:
|
|
251
|
-
children:
|
|
250
|
+
onClick: z,
|
|
251
|
+
children: O("movethewheels.inventory.error.retry", "Retry")
|
|
252
252
|
})
|
|
253
253
|
]
|
|
254
254
|
})
|
|
255
|
-
}) :
|
|
255
|
+
}) : L ? /* @__PURE__ */ _(u, {
|
|
256
256
|
columns: 6,
|
|
257
|
-
children: Array.from({ length: 6 }).map((e, t) => /* @__PURE__ */
|
|
258
|
-
}) : /* @__PURE__ */
|
|
257
|
+
children: Array.from({ length: 6 }).map((e, t) => /* @__PURE__ */ _(l, {}, t))
|
|
258
|
+
}) : /* @__PURE__ */ v(u, {
|
|
259
259
|
columns: 6,
|
|
260
260
|
children: [
|
|
261
|
-
/* @__PURE__ */
|
|
262
|
-
label:
|
|
263
|
-
value:
|
|
264
|
-
icon: /* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ _(c, {
|
|
262
|
+
label: O("movethewheels.inventory.metrics.totalOnHand", "Total on-hand"),
|
|
263
|
+
value: B.totalOnHand.toLocaleString(),
|
|
264
|
+
icon: /* @__PURE__ */ _(i, { size: 20 }),
|
|
265
265
|
accent: "brand",
|
|
266
|
-
subtitle:
|
|
266
|
+
subtitle: O("movethewheels.inventory.metrics.onHandHint", "Units in the network")
|
|
267
267
|
}),
|
|
268
|
-
/* @__PURE__ */
|
|
269
|
-
label:
|
|
270
|
-
value:
|
|
271
|
-
icon: /* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ _(c, {
|
|
269
|
+
label: O("movethewheels.inventory.metrics.available", "Available"),
|
|
270
|
+
value: B.totalAvailable.toLocaleString(),
|
|
271
|
+
icon: /* @__PURE__ */ _(a, { size: 20 }),
|
|
272
272
|
accent: "success",
|
|
273
|
-
subtitle:
|
|
273
|
+
subtitle: O("movethewheels.inventory.metrics.availableHint", "Free to promise")
|
|
274
274
|
}),
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
label:
|
|
277
|
-
value:
|
|
278
|
-
icon: /* @__PURE__ */
|
|
275
|
+
/* @__PURE__ */ _(c, {
|
|
276
|
+
label: O("movethewheels.inventory.metrics.allocated", "Allocated"),
|
|
277
|
+
value: B.totalAllocated.toLocaleString(),
|
|
278
|
+
icon: /* @__PURE__ */ _(te, { size: 20 }),
|
|
279
279
|
accent: "blue",
|
|
280
|
-
subtitle:
|
|
280
|
+
subtitle: O("movethewheels.inventory.metrics.allocatedHint", "Committed to orders")
|
|
281
281
|
}),
|
|
282
|
-
/* @__PURE__ */
|
|
283
|
-
label:
|
|
284
|
-
value:
|
|
285
|
-
icon: /* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ _(c, {
|
|
283
|
+
label: O("movethewheels.inventory.metrics.lowStock", "Low-stock items"),
|
|
284
|
+
value: B.lowStockCount.toLocaleString(),
|
|
285
|
+
icon: /* @__PURE__ */ _(n, { size: 20 }),
|
|
286
286
|
accent: "warning",
|
|
287
|
-
subtitle:
|
|
287
|
+
subtitle: O("movethewheels.inventory.metrics.lowStockHint", "At or under reorder point")
|
|
288
288
|
}),
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
label:
|
|
291
|
-
value:
|
|
292
|
-
icon: /* @__PURE__ */
|
|
289
|
+
/* @__PURE__ */ _(c, {
|
|
290
|
+
label: O("movethewheels.inventory.metrics.totalProducts", "Catalog items"),
|
|
291
|
+
value: B.totalProducts.toLocaleString(),
|
|
292
|
+
icon: /* @__PURE__ */ _(e, { size: 20 }),
|
|
293
293
|
accent: "neutral",
|
|
294
294
|
onClick: () => Z("inventory/products")
|
|
295
295
|
}),
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
label:
|
|
298
|
-
value:
|
|
299
|
-
icon: /* @__PURE__ */
|
|
296
|
+
/* @__PURE__ */ _(c, {
|
|
297
|
+
label: O("movethewheels.inventory.metrics.warehouses", "Warehouses"),
|
|
298
|
+
value: B.totalWarehouses.toLocaleString(),
|
|
299
|
+
icon: /* @__PURE__ */ _(t, { size: 20 }),
|
|
300
300
|
accent: "neutral",
|
|
301
301
|
onClick: () => Z("inventory/warehouses")
|
|
302
302
|
})
|
|
303
303
|
]
|
|
304
304
|
}),
|
|
305
|
-
|
|
305
|
+
P.length > 0 && /* @__PURE__ */ v(x, {
|
|
306
306
|
className: "space-y-4",
|
|
307
|
-
children: [/* @__PURE__ */
|
|
307
|
+
children: [/* @__PURE__ */ v("h2", {
|
|
308
308
|
className: "flex items-center gap-2 text-base font-semibold text-status-warning-text",
|
|
309
309
|
children: [
|
|
310
|
-
/* @__PURE__ */
|
|
311
|
-
|
|
310
|
+
/* @__PURE__ */ _(n, { size: 18 }),
|
|
311
|
+
O("movethewheels.inventory.lowStock.title", "Low Stock Alert"),
|
|
312
312
|
" (",
|
|
313
|
-
|
|
313
|
+
B.lowStockCount,
|
|
314
314
|
" ",
|
|
315
|
-
|
|
315
|
+
O("movethewheels.inventory.lowStock.items", "items"),
|
|
316
316
|
")"
|
|
317
317
|
]
|
|
318
|
-
}), /* @__PURE__ */
|
|
318
|
+
}), /* @__PURE__ */ _("div", { children: /* @__PURE__ */ _("div", {
|
|
319
319
|
className: "space-y-3",
|
|
320
|
-
children:
|
|
320
|
+
children: P.map((e) => /* @__PURE__ */ v("div", {
|
|
321
321
|
className: "flex items-center justify-between p-3 bg-status-warning-bg/10 rounded-lg",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
323
323
|
className: "font-medium",
|
|
324
|
-
children: e.productName ??
|
|
325
|
-
}), /* @__PURE__ */
|
|
324
|
+
children: e.productName ?? O("movethewheels.inventory.lowStock.unknownProduct", "Unknown Product")
|
|
325
|
+
}), /* @__PURE__ */ v("p", {
|
|
326
326
|
className: "text-sm text-text-secondary",
|
|
327
327
|
children: [
|
|
328
|
-
|
|
328
|
+
O("movethewheels.inventory.lowStock.sku", "SKU:"),
|
|
329
329
|
" ",
|
|
330
330
|
e.productSku ?? "—"
|
|
331
331
|
]
|
|
332
|
-
})] }), /* @__PURE__ */
|
|
332
|
+
})] }), /* @__PURE__ */ v("div", {
|
|
333
333
|
className: "text-right",
|
|
334
|
-
children: [/* @__PURE__ */
|
|
334
|
+
children: [/* @__PURE__ */ v("p", {
|
|
335
335
|
className: "font-medium text-status-warning-text",
|
|
336
336
|
children: [
|
|
337
337
|
e.availableQuantity,
|
|
338
338
|
" ",
|
|
339
|
-
|
|
339
|
+
O("movethewheels.inventory.lowStock.left", "left")
|
|
340
340
|
]
|
|
341
|
-
}), /* @__PURE__ */
|
|
341
|
+
}), /* @__PURE__ */ v("p", {
|
|
342
342
|
className: "text-sm text-text-secondary",
|
|
343
343
|
children: [
|
|
344
|
-
|
|
344
|
+
O("movethewheels.inventory.lowStock.reorderAt", "Reorder at:"),
|
|
345
345
|
" ",
|
|
346
346
|
e.reorderLevel
|
|
347
347
|
]
|
|
@@ -350,149 +350,149 @@ function E() {
|
|
|
350
350
|
}, e.id))
|
|
351
351
|
}) })]
|
|
352
352
|
}),
|
|
353
|
-
/* @__PURE__ */
|
|
354
|
-
/* @__PURE__ */
|
|
353
|
+
/* @__PURE__ */ _(fe, { warehouses: Pe }),
|
|
354
|
+
/* @__PURE__ */ v("div", {
|
|
355
355
|
className: "grid grid-cols-1 xl:grid-cols-3 gap-6",
|
|
356
|
-
children: [/* @__PURE__ */
|
|
356
|
+
children: [/* @__PURE__ */ _("div", {
|
|
357
357
|
className: "xl:col-span-2",
|
|
358
|
-
children: /* @__PURE__ */
|
|
359
|
-
title:
|
|
360
|
-
children: /* @__PURE__ */
|
|
361
|
-
columns:
|
|
362
|
-
data:
|
|
363
|
-
isLoading:
|
|
364
|
-
error:
|
|
365
|
-
onRetry:
|
|
358
|
+
children: /* @__PURE__ */ _(s, {
|
|
359
|
+
title: O("movethewheels.inventory.stock.title", "Stock position"),
|
|
360
|
+
children: /* @__PURE__ */ _(ce, {
|
|
361
|
+
columns: Ve,
|
|
362
|
+
data: Be,
|
|
363
|
+
isLoading: L,
|
|
364
|
+
error: R,
|
|
365
|
+
onRetry: z,
|
|
366
366
|
searchable: !0,
|
|
367
|
-
searchPlaceholder:
|
|
367
|
+
searchPlaceholder: O("movethewheels.inventory.stock.search", "Search product, SKU or warehouse..."),
|
|
368
368
|
searchFields: [
|
|
369
369
|
"productName",
|
|
370
370
|
"sku",
|
|
371
371
|
"warehouseName"
|
|
372
372
|
],
|
|
373
|
-
searchQuery:
|
|
373
|
+
searchQuery: k,
|
|
374
374
|
onSearchQueryChange: (e) => {
|
|
375
|
-
|
|
375
|
+
ke(e), j(0);
|
|
376
376
|
},
|
|
377
|
-
pageIndex:
|
|
378
|
-
pageSize:
|
|
379
|
-
onPageChange:
|
|
377
|
+
pageIndex: A,
|
|
378
|
+
pageSize: M,
|
|
379
|
+
onPageChange: j,
|
|
380
380
|
onPageSizeChange: (e) => {
|
|
381
|
-
|
|
381
|
+
Ae(e), j(0);
|
|
382
382
|
},
|
|
383
383
|
totalItems: Me,
|
|
384
384
|
hasNextPage: Ne,
|
|
385
385
|
onRowClick: (e) => Z(`inventory/products/${e.productId}`),
|
|
386
386
|
getRowId: (e) => e.id,
|
|
387
387
|
emptyIllustration: "empty-data",
|
|
388
|
-
emptyTitle:
|
|
389
|
-
emptyDescription:
|
|
388
|
+
emptyTitle: O("movethewheels.inventory.stock.emptyTitle", "No stock recorded yet"),
|
|
389
|
+
emptyDescription: O("movethewheels.inventory.stock.emptyDescription", "Stock lines appear here once a product is received into a warehouse.")
|
|
390
390
|
})
|
|
391
391
|
})
|
|
392
|
-
}), /* @__PURE__ */
|
|
392
|
+
}), /* @__PURE__ */ v(p, {
|
|
393
393
|
className: "h-fit",
|
|
394
|
-
children: [/* @__PURE__ */
|
|
394
|
+
children: [/* @__PURE__ */ _(ge, { children: /* @__PURE__ */ v(_e, {
|
|
395
395
|
className: "flex items-center gap-2",
|
|
396
|
-
children: [/* @__PURE__ */
|
|
397
|
-
}) }), /* @__PURE__ */
|
|
396
|
+
children: [/* @__PURE__ */ _(ne, { size: 18 }), O("movethewheels.inventory.transactions.title", "Recent transactions")]
|
|
397
|
+
}) }), /* @__PURE__ */ _(m, {
|
|
398
398
|
className: "p-0",
|
|
399
|
-
children:
|
|
399
|
+
children: H ? /* @__PURE__ */ _("p", {
|
|
400
400
|
className: "p-6 text-sm text-status-error-text",
|
|
401
|
-
children:
|
|
402
|
-
}) : Ie ? /* @__PURE__ */
|
|
401
|
+
children: H.message
|
|
402
|
+
}) : Ie ? /* @__PURE__ */ _("p", {
|
|
403
403
|
className: "p-6 text-sm text-text-secondary",
|
|
404
|
-
children:
|
|
405
|
-
}) :
|
|
404
|
+
children: O("movethewheels.inventory.transactions.loading", "Loading movements…")
|
|
405
|
+
}) : V.length === 0 ? /* @__PURE__ */ _("p", {
|
|
406
406
|
className: "p-6 text-sm text-text-secondary",
|
|
407
|
-
children:
|
|
408
|
-
}) : /* @__PURE__ */
|
|
407
|
+
children: O("movethewheels.inventory.transactions.empty", "No stock movements recorded yet. Receipts, issues and adjustments show up here as they happen.")
|
|
408
|
+
}) : /* @__PURE__ */ _("ul", {
|
|
409
409
|
className: "divide-y",
|
|
410
|
-
children:
|
|
411
|
-
let
|
|
412
|
-
return /* @__PURE__ */
|
|
410
|
+
children: V.map((e) => {
|
|
411
|
+
let t = w[e.type], n = F.find((t) => t.id === e.productId)?.name ?? e.transactionNumber;
|
|
412
|
+
return /* @__PURE__ */ v("li", {
|
|
413
413
|
className: "flex items-start justify-between gap-3 p-4",
|
|
414
|
-
children: [/* @__PURE__ */
|
|
414
|
+
children: [/* @__PURE__ */ v("div", {
|
|
415
415
|
className: "min-w-0",
|
|
416
416
|
children: [
|
|
417
|
-
/* @__PURE__ */
|
|
417
|
+
/* @__PURE__ */ v("p", {
|
|
418
418
|
className: "flex items-center gap-1.5 font-medium",
|
|
419
|
-
children: [
|
|
419
|
+
children: [t === "in" ? /* @__PURE__ */ _(re, {
|
|
420
420
|
size: 14,
|
|
421
421
|
className: "text-status-success-text"
|
|
422
|
-
}) :
|
|
422
|
+
}) : t === "out" ? /* @__PURE__ */ _(ie, {
|
|
423
423
|
size: 14,
|
|
424
424
|
className: "text-status-warning-text"
|
|
425
|
-
}) : /* @__PURE__ */
|
|
425
|
+
}) : /* @__PURE__ */ _(o, {
|
|
426
426
|
size: 14,
|
|
427
427
|
className: "text-text-secondary"
|
|
428
|
-
}),
|
|
428
|
+
}), T[e.type]]
|
|
429
429
|
}),
|
|
430
|
-
/* @__PURE__ */
|
|
430
|
+
/* @__PURE__ */ _("p", {
|
|
431
431
|
className: "truncate text-sm text-text-secondary",
|
|
432
|
-
children:
|
|
432
|
+
children: n
|
|
433
433
|
}),
|
|
434
|
-
/* @__PURE__ */
|
|
434
|
+
/* @__PURE__ */ _("p", {
|
|
435
435
|
className: "text-xs text-text-secondary",
|
|
436
|
-
children:
|
|
436
|
+
children: Te(e.createdAt, "short")
|
|
437
437
|
})
|
|
438
438
|
]
|
|
439
|
-
}), /* @__PURE__ */
|
|
440
|
-
className:
|
|
441
|
-
children:
|
|
439
|
+
}), /* @__PURE__ */ _("span", {
|
|
440
|
+
className: t === "in" ? "font-medium text-status-success-text" : t === "out" ? "font-medium text-status-warning-text" : "font-medium text-text-primary",
|
|
441
|
+
children: E(t, e.quantity)
|
|
442
442
|
})]
|
|
443
|
-
},
|
|
443
|
+
}, e.id);
|
|
444
444
|
})
|
|
445
445
|
})
|
|
446
446
|
})]
|
|
447
447
|
})]
|
|
448
448
|
}),
|
|
449
|
-
/* @__PURE__ */
|
|
449
|
+
/* @__PURE__ */ v("div", {
|
|
450
450
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
451
|
-
children: [/* @__PURE__ */
|
|
452
|
-
title:
|
|
453
|
-
actions: /* @__PURE__ */
|
|
451
|
+
children: [/* @__PURE__ */ _(s, {
|
|
452
|
+
title: O("movethewheels.inventory.warehouses.title", "Warehouses"),
|
|
453
|
+
actions: /* @__PURE__ */ v(f, {
|
|
454
454
|
variant: "ghost",
|
|
455
455
|
size: "sm",
|
|
456
456
|
onClick: () => Z("inventory/warehouses"),
|
|
457
457
|
children: [
|
|
458
|
-
|
|
458
|
+
O("movethewheels.inventory.common.viewAll", "View all"),
|
|
459
459
|
" ",
|
|
460
|
-
/* @__PURE__ */
|
|
460
|
+
/* @__PURE__ */ _(r, { size: 16 })
|
|
461
461
|
]
|
|
462
462
|
}),
|
|
463
|
-
children: /* @__PURE__ */
|
|
463
|
+
children: /* @__PURE__ */ _(p, { children: /* @__PURE__ */ _(m, {
|
|
464
464
|
className: "p-0",
|
|
465
|
-
children: /* @__PURE__ */
|
|
465
|
+
children: /* @__PURE__ */ _("div", {
|
|
466
466
|
className: "divide-y",
|
|
467
|
-
children:
|
|
467
|
+
children: I.map((e) => /* @__PURE__ */ _("div", {
|
|
468
468
|
role: "button",
|
|
469
469
|
tabIndex: 0,
|
|
470
470
|
"aria-label": `View warehouse ${e.name}`,
|
|
471
471
|
className: "p-4 hover:bg-bg-sunken/50 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-bg",
|
|
472
472
|
onClick: () => Z(`inventory/warehouses/${e.id}`),
|
|
473
473
|
onKeyDown: (t) => Q(t, () => Z(`inventory/warehouses/${e.id}`)),
|
|
474
|
-
children: /* @__PURE__ */
|
|
474
|
+
children: /* @__PURE__ */ v("div", {
|
|
475
475
|
className: "flex items-center justify-between",
|
|
476
|
-
children: [/* @__PURE__ */
|
|
476
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
477
477
|
className: "font-medium",
|
|
478
478
|
children: e.name
|
|
479
|
-
}), /* @__PURE__ */
|
|
479
|
+
}), /* @__PURE__ */ _("p", {
|
|
480
480
|
className: "text-sm text-text-secondary",
|
|
481
481
|
children: [e.address.city, e.address.state].filter(Boolean).join(", ") || "Not provided"
|
|
482
|
-
})] }), /* @__PURE__ */
|
|
482
|
+
})] }), /* @__PURE__ */ v("div", {
|
|
483
483
|
className: "text-right",
|
|
484
|
-
children: [/* @__PURE__ */
|
|
484
|
+
children: [/* @__PURE__ */ _(d, {
|
|
485
485
|
variant: e.status?.toUpperCase() === "ACTIVE" ? "default" : "secondary",
|
|
486
|
-
children: e.status ? e.status.toUpperCase() === "ACTIVE" ?
|
|
487
|
-
}), /* @__PURE__ */
|
|
486
|
+
children: e.status ? e.status.toUpperCase() === "ACTIVE" ? O("movethewheels.inventory.warehouses.active", "Active") : O("movethewheels.inventory.warehouses.inactive", "Inactive") : "Not provided"
|
|
487
|
+
}), /* @__PURE__ */ v("div", {
|
|
488
488
|
className: "mt-2",
|
|
489
|
-
children: [/* @__PURE__ */
|
|
489
|
+
children: [/* @__PURE__ */ _("p", {
|
|
490
490
|
className: "text-xs text-text-secondary",
|
|
491
|
-
children:
|
|
492
|
-
}), e.utilization === void 0 ? /* @__PURE__ */
|
|
491
|
+
children: O("movethewheels.inventory.warehouses.utilization", "Utilization")
|
|
492
|
+
}), e.utilization === void 0 ? /* @__PURE__ */ _("p", {
|
|
493
493
|
className: "text-xs text-text-tertiary",
|
|
494
494
|
children: "Not provided"
|
|
495
|
-
}) : /* @__PURE__ */
|
|
495
|
+
}) : /* @__PURE__ */ _(ve, {
|
|
496
496
|
value: e.utilization,
|
|
497
497
|
className: "w-24 h-2"
|
|
498
498
|
})]
|
|
@@ -502,43 +502,43 @@ function E() {
|
|
|
502
502
|
}, e.id))
|
|
503
503
|
})
|
|
504
504
|
}) })
|
|
505
|
-
}), /* @__PURE__ */
|
|
506
|
-
title:
|
|
507
|
-
actions: /* @__PURE__ */
|
|
505
|
+
}), /* @__PURE__ */ _(s, {
|
|
506
|
+
title: O("movethewheels.inventory.products.title", "Recent Products"),
|
|
507
|
+
actions: /* @__PURE__ */ v(f, {
|
|
508
508
|
variant: "ghost",
|
|
509
509
|
size: "sm",
|
|
510
510
|
onClick: () => Z("inventory/products"),
|
|
511
511
|
children: [
|
|
512
|
-
|
|
512
|
+
O("movethewheels.inventory.common.viewAll", "View all"),
|
|
513
513
|
" ",
|
|
514
|
-
/* @__PURE__ */
|
|
514
|
+
/* @__PURE__ */ _(r, { size: 16 })
|
|
515
515
|
]
|
|
516
516
|
}),
|
|
517
|
-
children: /* @__PURE__ */
|
|
517
|
+
children: /* @__PURE__ */ _(p, { children: /* @__PURE__ */ _(m, {
|
|
518
518
|
className: "p-0",
|
|
519
|
-
children: /* @__PURE__ */
|
|
519
|
+
children: /* @__PURE__ */ _("div", {
|
|
520
520
|
className: "divide-y",
|
|
521
|
-
children:
|
|
521
|
+
children: F.slice(0, 5).map((e) => /* @__PURE__ */ _("div", {
|
|
522
522
|
role: "button",
|
|
523
523
|
tabIndex: 0,
|
|
524
524
|
"aria-label": `View product ${e.name}`,
|
|
525
525
|
className: "p-4 hover:bg-bg-sunken/50 cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-action-primary-bg",
|
|
526
526
|
onClick: () => Z(`inventory/products/${e.id}`),
|
|
527
527
|
onKeyDown: (t) => Q(t, () => Z(`inventory/products/${e.id}`)),
|
|
528
|
-
children: /* @__PURE__ */
|
|
528
|
+
children: /* @__PURE__ */ v("div", {
|
|
529
529
|
className: "flex items-center justify-between",
|
|
530
|
-
children: [/* @__PURE__ */
|
|
530
|
+
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
531
531
|
className: "font-medium",
|
|
532
532
|
children: e.name
|
|
533
|
-
}), /* @__PURE__ */
|
|
533
|
+
}), /* @__PURE__ */ _("p", {
|
|
534
534
|
className: "text-sm text-text-secondary",
|
|
535
535
|
children: e.sku
|
|
536
|
-
})] }), /* @__PURE__ */
|
|
536
|
+
})] }), /* @__PURE__ */ v("div", {
|
|
537
537
|
className: "text-right",
|
|
538
|
-
children: [/* @__PURE__ */
|
|
538
|
+
children: [/* @__PURE__ */ _("p", {
|
|
539
539
|
className: "font-medium",
|
|
540
|
-
children: e.value === void 0 ? "Not provided" :
|
|
541
|
-
}), /* @__PURE__ */
|
|
540
|
+
children: e.value === void 0 ? "Not provided" : we(e.value)
|
|
541
|
+
}), /* @__PURE__ */ _(d, {
|
|
542
542
|
variant: "outline",
|
|
543
543
|
children: e.category ?? "Not provided"
|
|
544
544
|
})]
|
|
@@ -549,12 +549,12 @@ function E() {
|
|
|
549
549
|
}) })
|
|
550
550
|
})]
|
|
551
551
|
}),
|
|
552
|
-
/* @__PURE__ */
|
|
553
|
-
open:
|
|
552
|
+
/* @__PURE__ */ _(me, {
|
|
553
|
+
open: ze,
|
|
554
554
|
onOpenChange: W,
|
|
555
555
|
onDone: X
|
|
556
556
|
}),
|
|
557
|
-
/* @__PURE__ */
|
|
557
|
+
/* @__PURE__ */ _(pe, {
|
|
558
558
|
line: G,
|
|
559
559
|
open: G !== null,
|
|
560
560
|
onOpenChange: (e) => {
|
|
@@ -562,7 +562,7 @@ function E() {
|
|
|
562
562
|
},
|
|
563
563
|
onDone: X
|
|
564
564
|
}),
|
|
565
|
-
/* @__PURE__ */
|
|
565
|
+
/* @__PURE__ */ _(he, {
|
|
566
566
|
line: q,
|
|
567
567
|
open: q !== null,
|
|
568
568
|
onOpenChange: (e) => {
|
|
@@ -573,5 +573,4 @@ function E() {
|
|
|
573
573
|
]
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
|
-
|
|
577
|
-
export { E as default };
|
|
576
|
+
export { D as default };
|