@burdenoff/microfe-movethewheels 2026.1108.5 → 2026.1109.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/MoveTheWheelsRoot.js +62 -61
- package/dist/MoveTheWheelsRoutes.js +6 -7
- package/dist/_virtual/_rolldown/runtime.js +4 -5
- package/dist/components/AssignmentSuggestions.js +18 -19
- package/dist/components/CarbonFootprintPanel.js +17 -18
- package/dist/components/CarrierRecommendationDialog.js +1 -2
- package/dist/components/ContainerEvidencePicker.js +15 -16
- package/dist/components/CustomerDeliveryUpdatesFields.js +1 -2
- package/dist/components/CustomerNotificationSettingsCard.js +43 -44
- package/dist/components/CustomerPicker.js +24 -26
- package/dist/components/DataTable.js +169 -170
- package/dist/components/DispatchDecisionCard.js +24 -25
- package/dist/components/DocumentsCard.js +54 -55
- package/dist/components/EntityCombobox.js +21 -22
- package/dist/components/EpodCaptureForm.js +113 -117
- package/dist/components/ExportStatusBanner.js +6 -7
- package/dist/components/FleetAlertsPanel.js +28 -29
- package/dist/components/ForecastModelsPanel.js +2 -3
- package/dist/components/FormError.js +2 -3
- package/dist/components/FreeTimeAgreementForm.js +54 -55
- package/dist/components/GlassPanel.js +1 -2
- package/dist/components/InventoryCoverPanel.js +68 -69
- package/dist/components/MetricCard.js +1 -2
- package/dist/components/Notice.js +3 -4
- package/dist/components/OrderItemRow.js +21 -22
- package/dist/components/PageLayout.js +1 -2
- package/dist/components/ProofOfDeliveryCard.js +19 -20
- package/dist/components/ReturnInstructionForm.js +28 -29
- package/dist/components/ReuseControls.js +1 -2
- package/dist/components/ReusePermissionForm.js +23 -24
- package/dist/components/ReuseProposalForm.js +168 -169
- package/dist/components/ReuseSourceFields.js +1 -2
- package/dist/components/ScenarioPlanningPanel.js +80 -81
- package/dist/components/ShipmentDecisionPanel.js +59 -60
- package/dist/components/ShipmentRiskDialog.js +32 -33
- package/dist/components/ShippingQuoteResults.js +32 -33
- package/dist/components/SignaturePad.js +7 -8
- package/dist/components/StatusBadge.js +1 -2
- package/dist/components/StockActionDialogs.js +77 -78
- package/dist/components/TrackingAlertList.js +26 -27
- package/dist/components/UpcomingDemandPanel.js +24 -25
- package/dist/components/VehicleServiceCard.js +34 -39
- package/dist/components/charts/ChartShell.js +1 -2
- package/dist/components/charts/Sparkline.js +14 -15
- package/dist/components/charts/StatusDonut.js +12 -13
- package/dist/components/charts/TrendChart.js +29 -30
- package/dist/components/charts/VolumeBar.js +21 -22
- package/dist/components/charts/chartTokens.js +1 -2
- package/dist/components/charts/index.js +7 -6
- package/dist/components/consolidation/ConsolidationHistory.js +1 -2
- package/dist/components/consolidation/ConsolidationLotEditor.js +22 -23
- package/dist/components/consolidation/ConsolidationManifestWorkbench.js +30 -31
- package/dist/components/consolidation/ConsolidationPlanForm.js +44 -45
- package/dist/components/consolidation/ConsolidationPlanWorkbench.js +106 -105
- package/dist/components/consolidation/ConsolidationReportForm.js +17 -18
- package/dist/components/consolidation/ConsolidationReportsWorkbench.js +35 -36
- package/dist/components/consolidation/ConsolidationSummary.js +1 -2
- package/dist/components/consolidation/OriginalConsolidationHistory.js +15 -16
- package/dist/components/freight-cost/FreightCommercialEditor.js +39 -40
- package/dist/components/freight-cost/FreightCommercialFactEditor.js +2 -3
- package/dist/components/freight-cost/FreightCommercialHistory.js +8 -9
- package/dist/components/freight-cost/FreightDraftForm.js +45 -47
- package/dist/components/freight-cost/FreightFields.js +1 -2
- package/dist/components/freight-cost/FreightFxEditor.js +1 -2
- package/dist/components/freight-cost/FreightHistory.js +32 -33
- package/dist/components/freight-cost/FreightLineEditor.js +1 -2
- package/dist/components/freight-cost/FreightScopeEditor.js +1 -2
- package/dist/components/freight-cost/FreightTotals.js +1 -2
- package/dist/components/freight-invoice/InvoiceForm.js +41 -42
- package/dist/components/freight-invoice/InvoiceResults.js +42 -43
- package/dist/components/freight-invoice/InvoiceReviewPanel.js +26 -28
- package/dist/components/freight-invoice/InvoiceReviewQueue.js +9 -10
- package/dist/components/index.js +22 -21
- package/dist/components/logistics-procedure/ProcedureDecisionForm.js +24 -25
- package/dist/components/logistics-procedure/ProcedureFields.js +1 -2
- package/dist/components/logistics-procedure/ProcedureHistory.js +29 -30
- package/dist/components/logistics-procedure/ProcedurePolicyForm.js +27 -28
- package/dist/components/logistics-procedure/ProcedurePolicyWorkbench.js +23 -24
- package/dist/components/logistics-procedure/ProcedureReviewWorkbench.js +43 -44
- package/dist/components/logistics-procedure/ProcedureRunWorkbench.js +30 -31
- package/dist/components/logistics-procedure/ProcedureSubjectPicker.js +1 -2
- package/dist/components/maps/LogisticsMap.js +12 -13
- package/dist/components/maps/MapCanvas.js +31 -29
- package/dist/components/maps/RouteMap.js +6 -7
- package/dist/components/maps/TrackingMap.js +17 -18
- package/dist/components/maps/index.js +6 -5
- package/dist/components/maps/leaflet-setup.js +2 -3
- package/dist/components/marketplace/MarketplaceDialogs.js +26 -28
- package/dist/components/pallet-preview/PalletPreviewResults.js +2 -3
- package/dist/components/pending-pick/PendingPickDraft.js +1 -2
- package/dist/components/pending-pick/PendingPickHistory.js +32 -33
- package/dist/components/pending-pick/PickCapture.js +1 -2
- package/dist/components/pending-pick/PickLineSelection.js +1 -2
- package/dist/components/pending-pick/PickReviewPanel.js +53 -53
- package/dist/components/stock-binding/StockAssessmentDraft.js +5 -6
- package/dist/components/stock-binding/StockAssessmentHistory.js +18 -19
- package/dist/components/stock-binding/StockAssessmentSummary.js +1 -2
- package/dist/components/stock-binding/StockFactForm.js +5 -6
- package/dist/components/stock-observation/StockIssueForm.js +1 -2
- package/dist/components/stock-observation/StockIssueHistory.js +1 -2
- package/dist/components/stock-observation/StockIssueReadPanel.js +1 -2
- package/dist/components/trip-utilization/TripReportForm.js +6 -7
- package/dist/components/trip-utilization/TripReportHistory.js +15 -16
- package/dist/components/trip-utilization/TripReportSummary.js +1 -2
- package/dist/components/trip-utilization/TripSegmentFields.js +14 -15
- package/dist/components/ui.js +1 -2
- package/dist/constants/index.js +1 -2
- package/dist/generated/wspace-operations.d.ts +91 -0
- package/dist/generated/wspace-types.d.ts +43259 -9124
- package/dist/hooks/index.js +12 -11
- package/dist/hooks/useAnalytics.js +3 -3
- package/dist/hooks/useCarrierIntegrations.js +1 -2
- package/dist/hooks/useConsolidationAction.js +12 -13
- package/dist/hooks/useConsumedFuelPreview.js +17 -18
- package/dist/hooks/useContainerCondition.js +4 -3
- package/dist/hooks/useContainerLifecycle.js +70 -80
- package/dist/hooks/useCustomers.js +17 -16
- package/dist/hooks/useDebouncedValue.js +1 -2
- package/dist/hooks/useDemandForecast.js +1 -2
- package/dist/hooks/useDispatchPlan.js +3 -3
- package/dist/hooks/useDocumentExtractions.js +12 -13
- package/dist/hooks/useDriverDay.js +3 -4
- package/dist/hooks/useEmptyReuseAction.js +1 -2
- package/dist/hooks/useEntityDocuments.js +25 -27
- package/dist/hooks/useEntityExport.js +7 -8
- package/dist/hooks/useEntityImport.js +1 -2
- package/dist/hooks/useEpod.js +79 -81
- package/dist/hooks/useFleet.js +70 -74
- package/dist/hooks/useFleetIntelligence.js +1 -2
- package/dist/hooks/useForecastModelChoices.js +1 -2
- package/dist/hooks/useFreightRecoveryAction.js +15 -16
- package/dist/hooks/useInventory.js +59 -60
- package/dist/hooks/useInventoryCoverPlan.js +2 -3
- package/dist/hooks/useInvoiceComparisonRecovery.js +52 -52
- package/dist/hooks/useInvoiceReviewPermissions.js +1 -2
- package/dist/hooks/useMarketplace.js +1 -2
- package/dist/hooks/useMultiModalShipments.js +1 -2
- package/dist/hooks/useOrderDispatch.js +6 -5
- package/dist/hooks/useOrders.js +44 -46
- package/dist/hooks/usePalletPreview.js +19 -20
- package/dist/hooks/useProcedureAction.js +24 -25
- package/dist/hooks/useProcedureSelection.js +6 -7
- package/dist/hooks/useRefetchOnLeaveEdit.js +1 -2
- package/dist/hooks/useReuseRecoveryAction.js +26 -27
- package/dist/hooks/useRoutes.js +100 -63
- package/dist/hooks/useScenarioPlanning.js +20 -21
- package/dist/hooks/useShipmentDecision.js +1 -2
- package/dist/hooks/useShipmentPermissions.js +1 -2
- package/dist/hooks/useShipmentRisk.js +12 -14
- package/dist/hooks/useShipmentStatusAuthority.js +7 -5
- package/dist/hooks/useShippingCarriers.js +1 -2
- package/dist/hooks/useTracking.js +53 -52
- package/dist/hooks/useTrackingEventQuality.js +26 -27
- package/dist/index.js +15 -15
- package/dist/movethewheels/hooks/useRoutes.d.ts +3 -2
- package/dist/movethewheels/store/movethewheelsStore.d.ts +1 -1
- package/dist/movethewheels/types/index.d.ts +21 -1
- package/dist/node_modules/@react-leaflet/core/lib/attribution.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/component.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/context.js +0 -1
- package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/element.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/events.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/generic.js +9 -6
- package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/layer.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/pane.js +1 -2
- package/dist/node_modules/@react-leaflet/core/lib/path.js +6 -7
- package/dist/node_modules/clsx/dist/clsx.js +8 -7
- package/dist/node_modules/d3-array/dist/d3-array.js +202 -0
- package/dist/node_modules/d3-color/dist/d3-color.js +386 -0
- package/dist/node_modules/d3-format/dist/d3-format.js +184 -0
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +183 -0
- package/dist/node_modules/d3-path/{src/path.js → dist/d3-path.js} +38 -13
- package/dist/node_modules/d3-scale/dist/d3-scale.js +620 -0
- package/dist/node_modules/d3-shape/dist/d3-shape.js +899 -0
- package/dist/node_modules/d3-time/dist/d3-time.js +239 -0
- package/dist/node_modules/d3-time-format/{src/locale.js → dist/d3-time-format.js} +228 -173
- package/dist/node_modules/decimal.js-light/decimal.js +33 -30
- package/dist/node_modules/eventemitter3/index.js +2 -3
- package/dist/node_modules/fast-equals/dist/es/index.js +89 -72
- package/dist/node_modules/leaflet/dist/leaflet-src.js +114 -167
- package/dist/node_modules/lodash/_DataView.js +4 -5
- package/dist/node_modules/lodash/_Hash.js +1 -2
- package/dist/node_modules/lodash/_ListCache.js +1 -2
- package/dist/node_modules/lodash/_Map.js +4 -5
- package/dist/node_modules/lodash/_MapCache.js +1 -2
- package/dist/node_modules/lodash/_Promise.js +4 -5
- package/dist/node_modules/lodash/_Set.js +4 -5
- package/dist/node_modules/lodash/_SetCache.js +1 -2
- package/dist/node_modules/lodash/_Stack.js +1 -2
- package/dist/node_modules/lodash/_Symbol.js +1 -2
- package/dist/node_modules/lodash/_Uint8Array.js +1 -2
- package/dist/node_modules/lodash/_WeakMap.js +4 -5
- package/dist/node_modules/lodash/_apply.js +1 -2
- package/dist/node_modules/lodash/_arrayEvery.js +1 -2
- package/dist/node_modules/lodash/_arrayFilter.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
- package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
- package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
- package/dist/node_modules/lodash/_arrayMap.js +1 -2
- package/dist/node_modules/lodash/_arrayPush.js +1 -2
- package/dist/node_modules/lodash/_arraySome.js +1 -2
- package/dist/node_modules/lodash/_asciiToArray.js +1 -2
- package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
- package/dist/node_modules/lodash/_baseEach.js +1 -2
- package/dist/node_modules/lodash/_baseEvery.js +1 -2
- package/dist/node_modules/lodash/_baseExtremum.js +1 -2
- package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
- package/dist/node_modules/lodash/_baseFlatten.js +1 -2
- package/dist/node_modules/lodash/_baseFor.js +1 -2
- package/dist/node_modules/lodash/_baseForOwn.js +4 -5
- package/dist/node_modules/lodash/_baseGet.js +1 -2
- package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
- package/dist/node_modules/lodash/_baseGetTag.js +1 -2
- package/dist/node_modules/lodash/_baseGt.js +1 -2
- package/dist/node_modules/lodash/_baseHasIn.js +1 -2
- package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
- package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
- package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
- package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
- package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
- package/dist/node_modules/lodash/_baseIsNative.js +5 -6
- package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
- package/dist/node_modules/lodash/_baseIteratee.js +6 -7
- package/dist/node_modules/lodash/_baseKeys.js +1 -2
- package/dist/node_modules/lodash/_baseLt.js +1 -2
- package/dist/node_modules/lodash/_baseMap.js +4 -5
- package/dist/node_modules/lodash/_baseMatches.js +1 -2
- package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
- package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
- package/dist/node_modules/lodash/_baseProperty.js +1 -2
- package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
- package/dist/node_modules/lodash/_baseRange.js +1 -2
- package/dist/node_modules/lodash/_baseRest.js +1 -2
- package/dist/node_modules/lodash/_baseSetToString.js +5 -6
- package/dist/node_modules/lodash/_baseSlice.js +1 -2
- package/dist/node_modules/lodash/_baseSome.js +1 -2
- package/dist/node_modules/lodash/_baseSortBy.js +1 -2
- package/dist/node_modules/lodash/_baseTimes.js +1 -2
- package/dist/node_modules/lodash/_baseToString.js +6 -7
- package/dist/node_modules/lodash/_baseTrim.js +1 -2
- package/dist/node_modules/lodash/_baseUnary.js +1 -2
- package/dist/node_modules/lodash/_baseUniq.js +7 -8
- package/dist/node_modules/lodash/_cacheHas.js +1 -2
- package/dist/node_modules/lodash/_castPath.js +1 -2
- package/dist/node_modules/lodash/_castSlice.js +1 -2
- package/dist/node_modules/lodash/_compareAscending.js +1 -2
- package/dist/node_modules/lodash/_compareMultiple.js +1 -2
- package/dist/node_modules/lodash/_coreJsData.js +1 -2
- package/dist/node_modules/lodash/_createBaseEach.js +1 -2
- package/dist/node_modules/lodash/_createBaseFor.js +1 -2
- package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
- package/dist/node_modules/lodash/_createFind.js +5 -6
- package/dist/node_modules/lodash/_createRange.js +4 -5
- package/dist/node_modules/lodash/_createSet.js +6 -7
- package/dist/node_modules/lodash/_defineProperty.js +1 -2
- package/dist/node_modules/lodash/_equalArrays.js +1 -2
- package/dist/node_modules/lodash/_equalByTag.js +5 -6
- package/dist/node_modules/lodash/_equalObjects.js +1 -2
- package/dist/node_modules/lodash/_freeGlobal.js +1 -2
- package/dist/node_modules/lodash/_getAllKeys.js +1 -2
- package/dist/node_modules/lodash/_getMapData.js +1 -2
- package/dist/node_modules/lodash/_getMatchData.js +4 -5
- package/dist/node_modules/lodash/_getNative.js +1 -2
- package/dist/node_modules/lodash/_getPrototype.js +1 -2
- package/dist/node_modules/lodash/_getRawTag.js +1 -2
- package/dist/node_modules/lodash/_getSymbols.js +1 -2
- package/dist/node_modules/lodash/_getTag.js +9 -10
- package/dist/node_modules/lodash/_getValue.js +1 -2
- package/dist/node_modules/lodash/_hasPath.js +8 -9
- package/dist/node_modules/lodash/_hasUnicode.js +1 -2
- package/dist/node_modules/lodash/_hashClear.js +1 -2
- package/dist/node_modules/lodash/_hashDelete.js +1 -2
- package/dist/node_modules/lodash/_hashGet.js +1 -2
- package/dist/node_modules/lodash/_hashHas.js +1 -2
- package/dist/node_modules/lodash/_hashSet.js +1 -2
- package/dist/node_modules/lodash/_isFlattenable.js +5 -6
- package/dist/node_modules/lodash/_isIndex.js +6 -7
- package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
- package/dist/node_modules/lodash/_isKey.js +1 -2
- package/dist/node_modules/lodash/_isKeyable.js +1 -2
- package/dist/node_modules/lodash/_isMasked.js +1 -2
- package/dist/node_modules/lodash/_isPrototype.js +1 -2
- package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
- package/dist/node_modules/lodash/_listCacheClear.js +1 -2
- package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_listCacheGet.js +1 -2
- package/dist/node_modules/lodash/_listCacheHas.js +1 -2
- package/dist/node_modules/lodash/_listCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
- package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
- package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
- package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
- package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
- package/dist/node_modules/lodash/_mapToArray.js +1 -2
- package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
- package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
- package/dist/node_modules/lodash/_nativeCreate.js +1 -2
- package/dist/node_modules/lodash/_nativeKeys.js +1 -2
- package/dist/node_modules/lodash/_nodeUtil.js +1 -2
- package/dist/node_modules/lodash/_objectToString.js +1 -2
- package/dist/node_modules/lodash/_overArg.js +1 -2
- package/dist/node_modules/lodash/_overRest.js +1 -2
- package/dist/node_modules/lodash/_root.js +1 -2
- package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
- package/dist/node_modules/lodash/_setCacheHas.js +1 -2
- package/dist/node_modules/lodash/_setToArray.js +1 -2
- package/dist/node_modules/lodash/_setToString.js +1 -2
- package/dist/node_modules/lodash/_shortOut.js +8 -9
- package/dist/node_modules/lodash/_stackClear.js +1 -2
- package/dist/node_modules/lodash/_stackDelete.js +1 -2
- package/dist/node_modules/lodash/_stackGet.js +1 -2
- package/dist/node_modules/lodash/_stackHas.js +1 -2
- package/dist/node_modules/lodash/_stackSet.js +1 -2
- package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
- package/dist/node_modules/lodash/_stringToArray.js +4 -5
- package/dist/node_modules/lodash/_stringToPath.js +1 -2
- package/dist/node_modules/lodash/_toKey.js +2 -3
- package/dist/node_modules/lodash/_toSource.js +1 -2
- package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
- package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
- package/dist/node_modules/lodash/constant.js +1 -2
- package/dist/node_modules/lodash/debounce.js +1 -2
- package/dist/node_modules/lodash/eq.js +1 -2
- package/dist/node_modules/lodash/every.js +7 -8
- package/dist/node_modules/lodash/find.js +1 -2
- package/dist/node_modules/lodash/findIndex.js +4 -5
- package/dist/node_modules/lodash/flatMap.js +1 -2
- package/dist/node_modules/lodash/get.js +1 -2
- package/dist/node_modules/lodash/hasIn.js +1 -2
- package/dist/node_modules/lodash/identity.js +1 -2
- package/dist/node_modules/lodash/isArguments.js +4 -5
- package/dist/node_modules/lodash/isArray.js +1 -2
- package/dist/node_modules/lodash/isArrayLike.js +1 -2
- package/dist/node_modules/lodash/isBoolean.js +1 -2
- package/dist/node_modules/lodash/isBuffer.js +1 -2
- package/dist/node_modules/lodash/isEqual.js +1 -2
- package/dist/node_modules/lodash/isFunction.js +1 -2
- package/dist/node_modules/lodash/isLength.js +4 -6
- package/dist/node_modules/lodash/isNaN.js +1 -2
- package/dist/node_modules/lodash/isNil.js +1 -2
- package/dist/node_modules/lodash/isNumber.js +1 -2
- package/dist/node_modules/lodash/isObject.js +1 -2
- package/dist/node_modules/lodash/isObjectLike.js +1 -2
- package/dist/node_modules/lodash/isPlainObject.js +4 -5
- package/dist/node_modules/lodash/isString.js +4 -5
- package/dist/node_modules/lodash/isSymbol.js +1 -2
- package/dist/node_modules/lodash/isTypedArray.js +1 -2
- package/dist/node_modules/lodash/keys.js +1 -2
- package/dist/node_modules/lodash/last.js +1 -2
- package/dist/node_modules/lodash/map.js +6 -7
- package/dist/node_modules/lodash/mapValues.js +4 -5
- package/dist/node_modules/lodash/max.js +5 -6
- package/dist/node_modules/lodash/maxBy.js +5 -6
- package/dist/node_modules/lodash/memoize.js +1 -2
- package/dist/node_modules/lodash/min.js +5 -6
- package/dist/node_modules/lodash/minBy.js +4 -5
- package/dist/node_modules/lodash/noop.js +1 -2
- package/dist/node_modules/lodash/now.js +1 -2
- package/dist/node_modules/lodash/property.js +6 -7
- package/dist/node_modules/lodash/range.js +1 -2
- package/dist/node_modules/lodash/some.js +7 -8
- package/dist/node_modules/lodash/sortBy.js +1 -2
- package/dist/node_modules/lodash/stubArray.js +1 -2
- package/dist/node_modules/lodash/stubFalse.js +1 -2
- package/dist/node_modules/lodash/throttle.js +4 -5
- package/dist/node_modules/lodash/toFinite.js +2 -3
- package/dist/node_modules/lodash/toInteger.js +1 -2
- package/dist/node_modules/lodash/toNumber.js +4 -5
- package/dist/node_modules/lodash/toString.js +1 -2
- package/dist/node_modules/lodash/uniqBy.js +1 -2
- package/dist/node_modules/lodash/upperFirst.js +1 -2
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +6 -7
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +2 -3
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/badge-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell-ring.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/box.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/boxes.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/building.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calculator.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar-days.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/car.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chart-column.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-up-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check-big.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/clock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/cloud-download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/dollar-sign.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/download.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-text.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/file-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/filter.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/fuel.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/git-compare.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/history.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/key-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/leaf.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/list.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/lock.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map-pin.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/map.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/navigation.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/package.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pause.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pen-line.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/pencil.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plane.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/play.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plug.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/radio-tower.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/receipt.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/refresh-cw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/repeat-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/rotate-ccw.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/route.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/save.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/scale.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/search.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/shield-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/ship.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sigma.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sliders-horizontal.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/square-pen.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/star.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/sticky-note.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/store.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/train-front.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-down.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/trending-up.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/truck.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/type.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/upload.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-check.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-round.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user-x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/user.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/users.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wand-sparkles.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/warehouse.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wifi-off.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/wrench.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/x.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +3 -4
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +1 -2
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
- package/dist/node_modules/prop-types/index.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/lib/has.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +1 -2
- package/dist/node_modules/react-leaflet/lib/Marker.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Polyline.js +7 -8
- package/dist/node_modules/react-leaflet/lib/Popup.js +7 -7
- package/dist/node_modules/react-leaflet/lib/TileLayer.js +12 -12
- package/dist/node_modules/react-leaflet/lib/hooks.js +1 -2
- package/dist/node_modules/react-smooth/es6/Animate.js +31 -39
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
- package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
- package/dist/node_modules/react-smooth/es6/easing.js +1 -2
- package/dist/node_modules/react-smooth/es6/index.js +1 -2
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
- package/dist/node_modules/react-smooth/es6/util.js +17 -16
- package/dist/node_modules/recharts/es6/cartesian/Area.js +95 -96
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +100 -101
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +23 -24
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +58 -65
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +33 -34
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +17 -18
- package/dist/node_modules/recharts/es6/cartesian/Line.js +76 -77
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +22 -23
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +28 -29
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +8 -9
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +1 -4
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
- package/dist/node_modules/recharts/es6/chart/LineChart.js +5 -6
- package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
- package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
- package/dist/node_modules/recharts/es6/component/Cursor.js +16 -17
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +27 -28
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +11 -12
- package/dist/node_modules/recharts/es6/component/Label.js +78 -79
- package/dist/node_modules/recharts/es6/component/LabelList.js +16 -17
- package/dist/node_modules/recharts/es6/component/Legend.js +25 -22
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +14 -15
- package/dist/node_modules/recharts/es6/component/Text.js +17 -20
- package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +1 -2
- package/dist/node_modules/recharts/es6/container/Layer.js +3 -4
- package/dist/node_modules/recharts/es6/container/Surface.js +3 -4
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +20 -20
- package/dist/node_modules/recharts/es6/polar/Pie.js +102 -106
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +28 -29
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +36 -39
- package/dist/node_modules/recharts/es6/shape/Cross.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Curve.js +38 -49
- package/dist/node_modules/recharts/es6/shape/Dot.js +2 -3
- package/dist/node_modules/recharts/es6/shape/Polygon.js +3 -4
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
- package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
- package/dist/node_modules/recharts/es6/shape/Symbols.js +26 -34
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +20 -21
- package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +32 -33
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +231 -236
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
- package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
- package/dist/node_modules/recharts/es6/util/Events.js +0 -1
- package/dist/node_modules/recharts/es6/util/Global.js +0 -1
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
- package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +5 -6
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +10 -11
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +4 -5
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
- package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
- package/dist/node_modules/recharts/es6/util/types.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.development.js +31 -32
- package/dist/node_modules/recharts/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/recharts/node_modules/react-is/index.js +2 -3
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
- package/dist/node_modules/recharts-scale/es6/index.js +1 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
- package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
- package/dist/node_modules/victory-vendor/es/d3-scale.js +28 -45
- package/dist/node_modules/zustand/esm/middleware.js +209 -112
- package/dist/pages/AnalyticsPage.js +41 -42
- package/dist/pages/ConsolidationPage.js +8 -9
- package/dist/pages/ConsumedFuelPreviewPage.js +60 -61
- package/dist/pages/ContainerConditionPage.js +49 -50
- package/dist/pages/ContainersPage.js +53 -53
- package/dist/pages/CreateOrderPage.js +134 -144
- package/dist/pages/CustomerDetailsPage.js +342 -345
- package/dist/pages/CustomersPage.js +36 -37
- package/dist/pages/DashboardPage.js +92 -93
- package/dist/pages/DeliveryCapturePage.js +199 -200
- package/dist/pages/DispatchPlanPage.js +94 -95
- package/dist/pages/DriverDetailsPage.js +393 -399
- package/dist/pages/DriversPage.js +64 -65
- package/dist/pages/EmptyReusePage.js +320 -321
- package/dist/pages/FinancePage.js +72 -70
- package/dist/pages/FleetPage.js +88 -89
- package/dist/pages/FreeTimePage.js +92 -92
- package/dist/pages/FreightEstimatePage.js +92 -93
- package/dist/pages/FreightInvoicePage.js +123 -124
- package/dist/pages/ImportExportPage.js +173 -178
- package/dist/pages/IntegrationsPage.js +264 -267
- package/dist/pages/InventoryPage.js +233 -234
- package/dist/pages/LiveTrackingPage.js +120 -121
- package/dist/pages/LogisticsProceduresPage.js +10 -11
- package/dist/pages/MarketplacePage.js +170 -171
- package/dist/pages/MultiModalShipmentPage.js +172 -177
- package/dist/pages/OrderDetailsPage.js +317 -318
- package/dist/pages/OrdersListPage.js +163 -164
- package/dist/pages/PalletPreviewPage.js +113 -114
- package/dist/pages/PendingPickPage.js +32 -33
- package/dist/pages/ProductDetailsPage.js +164 -166
- package/dist/pages/ProductsPage.js +39 -40
- package/dist/pages/ReportsPage.js +315 -316
- package/dist/pages/RouteDetailsPage.js +425 -357
- package/dist/pages/RoutesPage.js +39 -40
- package/dist/pages/SettingsPage.js +87 -88
- package/dist/pages/ShipmentStatusAuthorityPage.js +67 -67
- package/dist/pages/ShippingRatesPage.js +31 -32
- package/dist/pages/StockBindingPage.js +39 -40
- package/dist/pages/StockObservationsPage.js +23 -24
- package/dist/pages/TrackingEventQualityPage.js +30 -31
- package/dist/pages/TrackingPage.js +88 -89
- package/dist/pages/TripUtilizationPage.js +24 -25
- package/dist/pages/VehicleDetailsPage.js +241 -243
- package/dist/pages/VehiclesPage.js +59 -60
- package/dist/pages/WarehouseDetailsPage.js +151 -156
- package/dist/pages/WarehousesPage.js +33 -34
- package/dist/providers/ModuleSettingsProvider.js +1 -2
- package/dist/providers/MoveTheWheelsProvider.js +2 -7
- package/dist/services/createSandboxAssistantTransport.js +1 -2
- package/dist/shared/hooks/useTr.js +1 -2
- package/dist/src/generated/consolidation-operations.js +1 -2
- package/dist/src/generated/consumed-fuel-preview-operations.js +1 -2
- package/dist/src/generated/container-condition-operations.js +1 -2
- package/dist/src/generated/container-operations.js +1 -2
- package/dist/src/generated/empty-reuse-operations.js +1 -2
- package/dist/src/generated/free-time-operations.js +1 -2
- package/dist/src/generated/freight-cost-operations.js +1 -2
- package/dist/src/generated/freight-invoice-operations.js +1 -2
- package/dist/src/generated/logistics-procedure-operations.js +1 -2
- package/dist/src/generated/pallet-preview-operations.js +1 -2
- package/dist/src/generated/pending-pick-operations.js +1 -2
- package/dist/src/generated/shipment-status-authority-operations.js +1 -2
- package/dist/src/generated/stock-binding-operations.js +1 -2
- package/dist/src/generated/stock-observation-operations.js +1 -2
- package/dist/src/generated/tracking-quality-operations.js +1 -2
- package/dist/src/generated/trip-utilization-operations.js +1 -2
- package/dist/src/generated/wspace-operations.js +1 -2
- package/dist/store/movethewheelsStore.js +1 -2
- package/dist/utils/carrierIntegrations.js +4 -5
- package/dist/utils/cn.js +2 -3
- package/dist/utils/consolidationHistoryTarget.js +1 -2
- package/dist/utils/consolidationInput.js +1 -2
- package/dist/utils/consolidationLot.js +1 -2
- package/dist/utils/consolidationPins.js +1 -2
- package/dist/utils/consolidationRecovery.js +1 -2
- package/dist/utils/consolidationReportHead.js +1 -2
- package/dist/utils/consumedFuelInput.js +2 -3
- package/dist/utils/consumedFuelResponse.js +2 -3
- package/dist/utils/customerNotifications.js +2 -3
- package/dist/utils/driverLicenseExpiry.js +1 -2
- package/dist/utils/driverNavigation.js +2 -3
- package/dist/utils/entityExport.js +3 -4
- package/dist/utils/entityImport.js +3 -4
- package/dist/utils/formatters.js +41 -36
- package/dist/utils/freeTimeDate.js +1 -2
- package/dist/utils/freightAcknowledgement.js +1 -2
- package/dist/utils/freightCommercial.js +2 -3
- package/dist/utils/freightDraft.js +1 -2
- package/dist/utils/freightRecovery.js +1 -2
- package/dist/utils/graphqlClient.js +1 -2
- package/dist/utils/invoiceComparison.js +5 -6
- package/dist/utils/invoiceReview.js +1 -2
- package/dist/utils/mapMarkers.js +2 -3
- package/dist/utils/moduleSettings.js +2 -3
- package/dist/utils/navigation.js +2 -3
- package/dist/utils/orderPricing.js +1 -2
- package/dist/utils/orderValidation.js +3 -4
- package/dist/utils/orderVehicleHold.js +2 -3
- package/dist/utils/palletPreviewInput.js +1 -2
- package/dist/utils/palletPreviewResponse.js +2 -3
- package/dist/utils/pendingPickDraft.js +1 -2
- package/dist/utils/pickReviewAcknowledgement.js +1 -2
- package/dist/utils/procedureInput.js +1 -2
- package/dist/utils/procedureRecovery.js +1 -2
- package/dist/utils/reports.js +1 -2
- package/dist/utils/reuseAttempt.js +1 -2
- package/dist/utils/reuseForm.js +1 -2
- package/dist/utils/reuseRecovery.js +2 -3
- package/dist/utils/shipmentStatusDraft.js +1 -2
- package/dist/utils/stockBindingForm.js +1 -2
- package/dist/utils/stockBindingLabels.js +1 -2
- package/dist/utils/stockObservationForm.js +2 -3
- package/dist/utils/trackingAlerts.js +1 -2
- package/dist/utils/tripDraftContext.js +1 -2
- package/dist/utils/tripUtilizationForm.js +2 -3
- package/package.json +136 -86
- package/src/generated/wspace-operations.ts +13 -12
- package/src/generated/wspace-types.ts +43737 -9125
- package/src/movethewheels/hooks/useRoutes.ts +37 -10
- package/src/movethewheels/pages/RouteDetailsPage.tsx +107 -10
- package/src/movethewheels/types/index.ts +27 -1
- package/src/movethewheels/utils/orderPricing.test.ts +1 -1
- package/src/operations/wspace/movethewheels/fragments/core.graphql +15 -0
- package/src/operations/wspace/movethewheels/mutations/logistics.graphql +2 -2
- package/dist/node_modules/d3-array/src/ascending.js +0 -6
- package/dist/node_modules/d3-array/src/bisect.js +0 -8
- package/dist/node_modules/d3-array/src/bisector.js +0 -41
- package/dist/node_modules/d3-array/src/descending.js +0 -6
- package/dist/node_modules/d3-array/src/max.js +0 -12
- package/dist/node_modules/d3-array/src/min.js +0 -12
- package/dist/node_modules/d3-array/src/number.js +0 -13
- package/dist/node_modules/d3-array/src/quantile.js +0 -23
- package/dist/node_modules/d3-array/src/quickselect.js +0 -24
- package/dist/node_modules/d3-array/src/range.js +0 -8
- package/dist/node_modules/d3-array/src/sort.js +0 -15
- package/dist/node_modules/d3-array/src/ticks.js +0 -32
- package/dist/node_modules/d3-color/src/color.js +0 -289
- package/dist/node_modules/d3-color/src/define.js +0 -11
- package/dist/node_modules/d3-format/src/defaultLocale.js +0 -13
- package/dist/node_modules/d3-format/src/exponent.js +0 -7
- package/dist/node_modules/d3-format/src/formatDecimal.js +0 -11
- package/dist/node_modules/d3-format/src/formatGroup.js +0 -9
- package/dist/node_modules/d3-format/src/formatNumerals.js +0 -10
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +0 -11
- package/dist/node_modules/d3-format/src/formatRounded.js +0 -10
- package/dist/node_modules/d3-format/src/formatSpecifier.js +0 -27
- package/dist/node_modules/d3-format/src/formatTrim.js +0 -18
- package/dist/node_modules/d3-format/src/formatTypes.js +0 -21
- package/dist/node_modules/d3-format/src/identity.js +0 -6
- package/dist/node_modules/d3-format/src/locale.js +0 -84
- package/dist/node_modules/d3-format/src/precisionFixed.js +0 -7
- package/dist/node_modules/d3-format/src/precisionPrefix.js +0 -7
- package/dist/node_modules/d3-format/src/precisionRound.js +0 -7
- package/dist/node_modules/d3-interpolate/src/array.js +0 -13
- package/dist/node_modules/d3-interpolate/src/basis.js +0 -14
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +0 -11
- package/dist/node_modules/d3-interpolate/src/color.js +0 -23
- package/dist/node_modules/d3-interpolate/src/constant.js +0 -4
- package/dist/node_modules/d3-interpolate/src/date.js +0 -9
- package/dist/node_modules/d3-interpolate/src/number.js +0 -8
- package/dist/node_modules/d3-interpolate/src/numberArray.js +0 -14
- package/dist/node_modules/d3-interpolate/src/object.js +0 -12
- package/dist/node_modules/d3-interpolate/src/piecewise.js +0 -12
- package/dist/node_modules/d3-interpolate/src/rgb.js +0 -17
- package/dist/node_modules/d3-interpolate/src/round.js +0 -8
- package/dist/node_modules/d3-interpolate/src/string.js +0 -26
- package/dist/node_modules/d3-interpolate/src/value.js +0 -16
- package/dist/node_modules/d3-scale/src/band.js +0 -50
- package/dist/node_modules/d3-scale/src/constant.js +0 -8
- package/dist/node_modules/d3-scale/src/continuous.js +0 -71
- package/dist/node_modules/d3-scale/src/diverging.js +0 -80
- package/dist/node_modules/d3-scale/src/identity.js +0 -18
- package/dist/node_modules/d3-scale/src/init.js +0 -27
- package/dist/node_modules/d3-scale/src/linear.js +0 -34
- package/dist/node_modules/d3-scale/src/log.js +0 -75
- package/dist/node_modules/d3-scale/src/nice.js +0 -8
- package/dist/node_modules/d3-scale/src/number.js +0 -6
- package/dist/node_modules/d3-scale/src/ordinal.js +0 -29
- package/dist/node_modules/d3-scale/src/pow.js +0 -35
- package/dist/node_modules/d3-scale/src/quantile.js +0 -35
- package/dist/node_modules/d3-scale/src/quantize.js +0 -31
- package/dist/node_modules/d3-scale/src/radial.js +0 -37
- package/dist/node_modules/d3-scale/src/sequential.js +0 -65
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +0 -28
- package/dist/node_modules/d3-scale/src/symlog.js +0 -28
- package/dist/node_modules/d3-scale/src/threshold.js +0 -23
- package/dist/node_modules/d3-scale/src/tickFormat.js +0 -29
- package/dist/node_modules/d3-scale/src/time.js +0 -45
- package/dist/node_modules/d3-scale/src/utcTime.js +0 -17
- package/dist/node_modules/d3-shape/src/area.js +0 -53
- package/dist/node_modules/d3-shape/src/array.js +0 -6
- package/dist/node_modules/d3-shape/src/constant.js +0 -8
- package/dist/node_modules/d3-shape/src/curve/basis.js +0 -47
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +0 -48
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +0 -44
- package/dist/node_modules/d3-shape/src/curve/bump.js +0 -38
- package/dist/node_modules/d3-shape/src/curve/linear.js +0 -34
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +0 -23
- package/dist/node_modules/d3-shape/src/curve/monotone.js +0 -92
- package/dist/node_modules/d3-shape/src/curve/natural.js +0 -37
- package/dist/node_modules/d3-shape/src/curve/step.js +0 -45
- package/dist/node_modules/d3-shape/src/line.js +0 -28
- package/dist/node_modules/d3-shape/src/math.js +0 -6
- package/dist/node_modules/d3-shape/src/noop.js +0 -4
- package/dist/node_modules/d3-shape/src/offset/expand.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/none.js +0 -6
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +0 -13
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +0 -19
- package/dist/node_modules/d3-shape/src/order/none.js +0 -7
- package/dist/node_modules/d3-shape/src/path.js +0 -17
- package/dist/node_modules/d3-shape/src/point.js +0 -9
- package/dist/node_modules/d3-shape/src/stack.js +0 -32
- package/dist/node_modules/d3-shape/src/symbol/circle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/cross.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/square.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/star.js +0 -13
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol/wye.js +0 -8
- package/dist/node_modules/d3-shape/src/symbol.js +0 -21
- package/dist/node_modules/d3-time/src/day.js +0 -19
- package/dist/node_modules/d3-time/src/duration.js +0 -4
- package/dist/node_modules/d3-time/src/hour.js +0 -17
- package/dist/node_modules/d3-time/src/interval.js +0 -26
- package/dist/node_modules/d3-time/src/millisecond.js +0 -12
- package/dist/node_modules/d3-time/src/minute.js +0 -17
- package/dist/node_modules/d3-time/src/month.js +0 -16
- package/dist/node_modules/d3-time/src/second.js +0 -11
- package/dist/node_modules/d3-time/src/ticks.js +0 -123
- package/dist/node_modules/d3-time/src/week.js +0 -23
- package/dist/node_modules/d3-time/src/year.js +0 -24
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +0 -60
- package/dist/node_modules/internmap/src/index.js +0 -38
|
@@ -1,32 +1,26 @@
|
|
|
1
1
|
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import v from "../../../d3-
|
|
13
|
-
import y from "../../../
|
|
14
|
-
import b from "../../../
|
|
15
|
-
import x from "../../../
|
|
16
|
-
import { require_sortBy as S } from "../../../lodash/sortBy.js";
|
|
17
|
-
import C, { point as w } from "../../../d3-scale/src/band.js";
|
|
18
|
-
import T from "../../../d3-scale/src/linear.js";
|
|
19
|
-
import { d3_scale_exports as E } from "../../../victory-vendor/es/d3-scale.js";
|
|
20
|
-
import { require_max as D } from "../../../lodash/max.js";
|
|
21
|
-
import { require_min as O } from "../../../lodash/min.js";
|
|
22
|
-
import { require_flatMap as k } from "../../../lodash/flatMap.js";
|
|
23
|
-
import { require_isEqual as ee } from "../../../lodash/isEqual.js";
|
|
24
|
-
import { getNiceTickValues as te, getTickValuesFixedDomain as ne } from "../../../recharts-scale/es6/getNiceTickValues.js";
|
|
2
|
+
import { d3_scale_exports as t } from "../../../victory-vendor/es/d3-scale.js";
|
|
3
|
+
import { stack as n, stackOffsetExpand as r, stackOffsetNone as i, stackOffsetSilhouette as a, stackOffsetWiggle as o, stackOrderNone as s } from "../../../d3-shape/dist/d3-shape.js";
|
|
4
|
+
import { require_max as c } from "../../../lodash/max.js";
|
|
5
|
+
import { require_min as l } from "../../../lodash/min.js";
|
|
6
|
+
import { require_isNil as u } from "../../../lodash/isNil.js";
|
|
7
|
+
import { require_isFunction as d } from "../../../lodash/isFunction.js";
|
|
8
|
+
import { require_isString as f } from "../../../lodash/isString.js";
|
|
9
|
+
import { require_get as p } from "../../../lodash/get.js";
|
|
10
|
+
import { require_flatMap as m } from "../../../lodash/flatMap.js";
|
|
11
|
+
import { require_isNaN as h } from "../../../lodash/isNaN.js";
|
|
12
|
+
import { scaleBand as g, scaleLinear as _, scalePoint as v } from "../../../d3-scale/dist/d3-scale.js";
|
|
13
|
+
import { require_upperFirst as y } from "../../../lodash/upperFirst.js";
|
|
14
|
+
import { require_isEqual as b } from "../../../lodash/isEqual.js";
|
|
15
|
+
import { require_sortBy as x } from "../../../lodash/sortBy.js";
|
|
25
16
|
import "../../../recharts-scale/es6/index.js";
|
|
26
|
-
import { ErrorBar as
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
17
|
+
import { ErrorBar as S } from "../cartesian/ErrorBar.js";
|
|
18
|
+
import { getNiceTickValues as ee, getTickValuesFixedDomain as C } from "../../../recharts-scale/es6/getNiceTickValues.js";
|
|
19
|
+
import { findEntryInArray as te, getPercentValue as w, isNumOrStr as T, isNumber as E, mathSign as D, uniqueId as ne } from "./DataUtils.js";
|
|
20
|
+
import { filterProps as re, findAllByType as ie, getDisplayName as ae } from "./ReactUtils.js";
|
|
21
|
+
import { getLegendProps as O } from "./getLegendProps.js";
|
|
22
|
+
// node_modules/recharts/es6/util/ChartUtils.js
|
|
23
|
+
var k = /* @__PURE__ */ e(c()), A = /* @__PURE__ */ e(l()), j = /* @__PURE__ */ e(u()), M = /* @__PURE__ */ e(d()), oe = /* @__PURE__ */ e(f()), N = /* @__PURE__ */ e(p()), P = /* @__PURE__ */ e(m()), F = /* @__PURE__ */ e(h()), se = /* @__PURE__ */ e(y()), ce = /* @__PURE__ */ e(b()), le = /* @__PURE__ */ e(x());
|
|
30
24
|
function I(e) {
|
|
31
25
|
"@babel/helpers - typeof";
|
|
32
26
|
return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -36,31 +30,31 @@ function I(e) {
|
|
|
36
30
|
}, I(e);
|
|
37
31
|
}
|
|
38
32
|
function L(e) {
|
|
39
|
-
return
|
|
33
|
+
return pe(e) || fe(e) || de(e) || ue();
|
|
40
34
|
}
|
|
41
35
|
function ue() {
|
|
42
36
|
throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
43
37
|
}
|
|
44
|
-
function
|
|
38
|
+
function de(e, t) {
|
|
45
39
|
if (e) {
|
|
46
|
-
if (typeof e == "string") return
|
|
40
|
+
if (typeof e == "string") return R(e, t);
|
|
47
41
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
48
42
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
49
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
43
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return R(e, t);
|
|
50
44
|
}
|
|
51
45
|
}
|
|
52
|
-
function
|
|
46
|
+
function fe(e) {
|
|
53
47
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
54
48
|
}
|
|
55
|
-
function
|
|
56
|
-
if (Array.isArray(e)) return
|
|
49
|
+
function pe(e) {
|
|
50
|
+
if (Array.isArray(e)) return R(e);
|
|
57
51
|
}
|
|
58
|
-
function
|
|
52
|
+
function R(e, t) {
|
|
59
53
|
(t == null || t > e.length) && (t = e.length);
|
|
60
54
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
61
55
|
return r;
|
|
62
56
|
}
|
|
63
|
-
function
|
|
57
|
+
function z(e, t) {
|
|
64
58
|
var n = Object.keys(e);
|
|
65
59
|
if (Object.getOwnPropertySymbols) {
|
|
66
60
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -70,30 +64,30 @@ function H(e, t) {
|
|
|
70
64
|
}
|
|
71
65
|
return n;
|
|
72
66
|
}
|
|
73
|
-
function
|
|
67
|
+
function B(e) {
|
|
74
68
|
for (var t = 1; t < arguments.length; t++) {
|
|
75
69
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
76
|
-
t % 2 ?
|
|
77
|
-
|
|
78
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
70
|
+
t % 2 ? z(Object(n), !0).forEach(function(t) {
|
|
71
|
+
V(e, t, n[t]);
|
|
72
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z(Object(n)).forEach(function(t) {
|
|
79
73
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
80
74
|
});
|
|
81
75
|
}
|
|
82
76
|
return e;
|
|
83
77
|
}
|
|
84
|
-
function
|
|
85
|
-
return t =
|
|
78
|
+
function V(e, t, n) {
|
|
79
|
+
return t = me(t), t in e ? Object.defineProperty(e, t, {
|
|
86
80
|
value: n,
|
|
87
81
|
enumerable: !0,
|
|
88
82
|
configurable: !0,
|
|
89
83
|
writable: !0
|
|
90
84
|
}) : e[t] = n, e;
|
|
91
85
|
}
|
|
92
|
-
function
|
|
93
|
-
var t =
|
|
86
|
+
function me(e) {
|
|
87
|
+
var t = he(e, "string");
|
|
94
88
|
return I(t) == "symbol" ? t : t + "";
|
|
95
89
|
}
|
|
96
|
-
function
|
|
90
|
+
function he(e, t) {
|
|
97
91
|
if (I(e) != "object" || !e) return e;
|
|
98
92
|
var n = e[Symbol.toPrimitive];
|
|
99
93
|
if (n !== void 0) {
|
|
@@ -103,61 +97,61 @@ function fe(e, t) {
|
|
|
103
97
|
}
|
|
104
98
|
return (t === "string" ? String : Number)(e);
|
|
105
99
|
}
|
|
106
|
-
function
|
|
107
|
-
return (0,
|
|
100
|
+
function H(e, t, n) {
|
|
101
|
+
return (0, j.default)(e) || (0, j.default)(t) ? n : T(t) ? (0, N.default)(e, t, n) : (0, M.default)(t) ? t(e) : n;
|
|
108
102
|
}
|
|
109
|
-
function
|
|
110
|
-
var i = (0,
|
|
111
|
-
return
|
|
103
|
+
function U(e, t, n, r) {
|
|
104
|
+
var i = (0, P.default)(e, function(e) {
|
|
105
|
+
return H(e, t);
|
|
112
106
|
});
|
|
113
107
|
if (n === "number") {
|
|
114
108
|
var a = i.filter(function(e) {
|
|
115
|
-
return
|
|
109
|
+
return E(e) || parseFloat(e);
|
|
116
110
|
});
|
|
117
|
-
return a.length ? [(0,
|
|
111
|
+
return a.length ? [(0, A.default)(a), (0, k.default)(a)] : [Infinity, -Infinity];
|
|
118
112
|
}
|
|
119
113
|
return (r ? i.filter(function(e) {
|
|
120
|
-
return !(0,
|
|
114
|
+
return !(0, j.default)(e);
|
|
121
115
|
}) : i).map(function(e) {
|
|
122
|
-
return
|
|
116
|
+
return T(e) || e instanceof Date ? e : "";
|
|
123
117
|
});
|
|
124
118
|
}
|
|
125
|
-
var
|
|
119
|
+
var ge = function(e) {
|
|
126
120
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 ? arguments[2] : void 0, r = arguments.length > 3 ? arguments[3] : void 0, i = -1, a = t?.length ?? 0;
|
|
127
121
|
if (a <= 1) return 0;
|
|
128
122
|
if (r && r.axisType === "angleAxis" && Math.abs(Math.abs(r.range[1] - r.range[0]) - 360) <= 1e-6) for (var o = r.range, s = 0; s < a; s++) {
|
|
129
|
-
var c = s > 0 ? n[s - 1].coordinate : n[a - 1].coordinate, l = n[s].coordinate,
|
|
130
|
-
if (
|
|
131
|
-
var
|
|
132
|
-
if (u
|
|
133
|
-
|
|
134
|
-
var
|
|
135
|
-
|
|
123
|
+
var c = s > 0 ? n[s - 1].coordinate : n[a - 1].coordinate, l = n[s].coordinate, u = s >= a - 1 ? n[0].coordinate : n[s + 1].coordinate, d = void 0;
|
|
124
|
+
if (D(l - c) !== D(u - l)) {
|
|
125
|
+
var f = [];
|
|
126
|
+
if (D(u - l) === D(o[1] - o[0])) {
|
|
127
|
+
d = u;
|
|
128
|
+
var p = l + o[1] - o[0];
|
|
129
|
+
f[0] = Math.min(p, (p + c) / 2), f[1] = Math.max(p, (p + c) / 2);
|
|
136
130
|
} else {
|
|
137
|
-
|
|
138
|
-
var
|
|
139
|
-
|
|
131
|
+
d = c;
|
|
132
|
+
var m = u + o[1] - o[0];
|
|
133
|
+
f[0] = Math.min(l, (m + l) / 2), f[1] = Math.max(l, (m + l) / 2);
|
|
140
134
|
}
|
|
141
|
-
var
|
|
142
|
-
if (e >
|
|
135
|
+
var h = [Math.min(l, (d + l) / 2), Math.max(l, (d + l) / 2)];
|
|
136
|
+
if (e > h[0] && e <= h[1] || e >= f[0] && e <= f[1]) {
|
|
143
137
|
i = n[s].index;
|
|
144
138
|
break;
|
|
145
139
|
}
|
|
146
140
|
} else {
|
|
147
|
-
var
|
|
148
|
-
if (e > (
|
|
141
|
+
var g = Math.min(c, u), _ = Math.max(c, u);
|
|
142
|
+
if (e > (g + l) / 2 && e <= (_ + l) / 2) {
|
|
149
143
|
i = n[s].index;
|
|
150
144
|
break;
|
|
151
145
|
}
|
|
152
146
|
}
|
|
153
147
|
}
|
|
154
|
-
else for (var
|
|
155
|
-
i = t[
|
|
148
|
+
else for (var v = 0; v < a; v++) if (v === 0 && e <= (t[v].coordinate + t[v + 1].coordinate) / 2 || v > 0 && v < a - 1 && e > (t[v].coordinate + t[v - 1].coordinate) / 2 && e <= (t[v].coordinate + t[v + 1].coordinate) / 2 || v === a - 1 && e > (t[v].coordinate + t[v - 1].coordinate) / 2) {
|
|
149
|
+
i = t[v].index;
|
|
156
150
|
break;
|
|
157
151
|
}
|
|
158
152
|
return i;
|
|
159
|
-
},
|
|
160
|
-
var t, n = e.type.displayName, r = (t = e.type) != null && t.defaultProps ?
|
|
153
|
+
}, W = function(e) {
|
|
154
|
+
var t, n = e.type.displayName, r = (t = e.type) != null && t.defaultProps ? B(B({}, e.type.defaultProps), e.props) : e.props, i = r.stroke, a = r.fill, o;
|
|
161
155
|
switch (n) {
|
|
162
156
|
case "Line":
|
|
163
157
|
o = i;
|
|
@@ -166,70 +160,68 @@ var pe = function(e) {
|
|
|
166
160
|
case "Radar":
|
|
167
161
|
o = i && i !== "none" ? i : a;
|
|
168
162
|
break;
|
|
169
|
-
default:
|
|
170
|
-
o = a;
|
|
171
|
-
break;
|
|
163
|
+
default: o = a;
|
|
172
164
|
}
|
|
173
165
|
return o;
|
|
174
|
-
},
|
|
166
|
+
}, _e = function(e) {
|
|
175
167
|
var t = e.barSize, n = e.totalSize, r = e.stackGroups, i = r === void 0 ? {} : r;
|
|
176
168
|
if (!i) return {};
|
|
177
|
-
for (var a = {}, o = Object.keys(i),
|
|
178
|
-
var
|
|
179
|
-
return
|
|
169
|
+
for (var a = {}, o = Object.keys(i), s = 0, c = o.length; s < c; s++) for (var l = i[o[s]].stackGroups, u = Object.keys(l), d = 0, f = u.length; d < f; d++) {
|
|
170
|
+
var p = l[u[d]], m = p.items, h = p.cateAxisId, g = m.filter(function(e) {
|
|
171
|
+
return ae(e.type).indexOf("Bar") >= 0;
|
|
180
172
|
});
|
|
181
|
-
if (
|
|
182
|
-
var
|
|
183
|
-
a[
|
|
184
|
-
var
|
|
185
|
-
a[
|
|
186
|
-
item:
|
|
187
|
-
stackList:
|
|
188
|
-
barSize: (0,
|
|
173
|
+
if (g && g.length) {
|
|
174
|
+
var _ = g[0].type.defaultProps, v = _ === void 0 ? g[0].props : B(B({}, _), g[0].props), y = v.barSize, b = v[h];
|
|
175
|
+
a[b] || (a[b] = []);
|
|
176
|
+
var x = (0, j.default)(y) ? t : y;
|
|
177
|
+
a[b].push({
|
|
178
|
+
item: g[0],
|
|
179
|
+
stackList: g.slice(1),
|
|
180
|
+
barSize: (0, j.default)(x) ? void 0 : w(x, n, 0)
|
|
189
181
|
});
|
|
190
182
|
}
|
|
191
183
|
}
|
|
192
184
|
return a;
|
|
193
|
-
},
|
|
194
|
-
var t = e.barGap, n = e.barCategoryGap, r = e.bandSize, i = e.sizeList, a = i === void 0 ? [] : i, o = e.maxBarSize,
|
|
195
|
-
if (
|
|
196
|
-
var
|
|
185
|
+
}, ve = function(e) {
|
|
186
|
+
var t = e.barGap, n = e.barCategoryGap, r = e.bandSize, i = e.sizeList, a = i === void 0 ? [] : i, o = e.maxBarSize, s = a.length;
|
|
187
|
+
if (s < 1) return null;
|
|
188
|
+
var c = w(t, r, 0, !0), l, u = [];
|
|
197
189
|
if (a[0].barSize === +a[0].barSize) {
|
|
198
|
-
var
|
|
190
|
+
var d = !1, f = r / s, p = a.reduce(function(e, t) {
|
|
199
191
|
return e + t.barSize || 0;
|
|
200
192
|
}, 0);
|
|
201
|
-
|
|
202
|
-
var
|
|
203
|
-
offset: ((r -
|
|
193
|
+
p += (s - 1) * c, p >= r && (p -= (s - 1) * c, c = 0), p >= r && f > 0 && (d = !0, f *= .9, p = s * f);
|
|
194
|
+
var m = {
|
|
195
|
+
offset: ((r - p) / 2 | 0) - c,
|
|
204
196
|
size: 0
|
|
205
197
|
};
|
|
206
|
-
|
|
198
|
+
l = a.reduce(function(e, t) {
|
|
207
199
|
var n = {
|
|
208
200
|
item: t.item,
|
|
209
201
|
position: {
|
|
210
|
-
offset:
|
|
211
|
-
size:
|
|
202
|
+
offset: m.offset + m.size + c,
|
|
203
|
+
size: d ? f : t.barSize
|
|
212
204
|
}
|
|
213
205
|
}, r = [].concat(L(e), [n]);
|
|
214
|
-
return
|
|
206
|
+
return m = r[r.length - 1].position, t.stackList && t.stackList.length && t.stackList.forEach(function(e) {
|
|
215
207
|
r.push({
|
|
216
208
|
item: e,
|
|
217
|
-
position:
|
|
209
|
+
position: m
|
|
218
210
|
});
|
|
219
211
|
}), r;
|
|
220
|
-
},
|
|
212
|
+
}, u);
|
|
221
213
|
} else {
|
|
222
|
-
var
|
|
223
|
-
r - 2 *
|
|
224
|
-
var
|
|
225
|
-
|
|
226
|
-
var
|
|
227
|
-
|
|
214
|
+
var h = w(n, r, 0, !0);
|
|
215
|
+
r - 2 * h - (s - 1) * c <= 0 && (c = 0);
|
|
216
|
+
var g = (r - 2 * h - (s - 1) * c) / s;
|
|
217
|
+
g > 1 && (g >>= 0);
|
|
218
|
+
var _ = o === +o ? Math.min(g, o) : g;
|
|
219
|
+
l = a.reduce(function(e, t, n) {
|
|
228
220
|
var r = [].concat(L(e), [{
|
|
229
221
|
item: t.item,
|
|
230
222
|
position: {
|
|
231
|
-
offset:
|
|
232
|
-
size:
|
|
223
|
+
offset: h + (g + c) * n + (g - _) / 2,
|
|
224
|
+
size: _
|
|
233
225
|
}
|
|
234
226
|
}]);
|
|
235
227
|
return t.stackList && t.stackList.length && t.stackList.forEach(function(e) {
|
|
@@ -238,54 +230,54 @@ var pe = function(e) {
|
|
|
238
230
|
position: r[r.length - 1].position
|
|
239
231
|
});
|
|
240
232
|
}), r;
|
|
241
|
-
},
|
|
233
|
+
}, u);
|
|
242
234
|
}
|
|
243
|
-
return
|
|
244
|
-
},
|
|
245
|
-
var i = n.children, a = n.width, o = n.margin, s =
|
|
235
|
+
return l;
|
|
236
|
+
}, ye = function(e, t, n, r) {
|
|
237
|
+
var i = n.children, a = n.width, o = n.margin, s = a - (o.left || 0) - (o.right || 0), c = O({
|
|
246
238
|
children: i,
|
|
247
|
-
legendWidth:
|
|
239
|
+
legendWidth: s
|
|
248
240
|
});
|
|
249
|
-
if (
|
|
250
|
-
var
|
|
251
|
-
if ((m === "vertical" || m === "horizontal" && p === "middle") && f !== "center" &&
|
|
252
|
-
if ((m === "horizontal" || m === "vertical" && f === "center") && p !== "middle" &&
|
|
241
|
+
if (c) {
|
|
242
|
+
var l = r || {}, u = l.width, d = l.height, f = c.align, p = c.verticalAlign, m = c.layout;
|
|
243
|
+
if ((m === "vertical" || m === "horizontal" && p === "middle") && f !== "center" && E(e[f])) return B(B({}, e), {}, V({}, f, e[f] + (u || 0)));
|
|
244
|
+
if ((m === "horizontal" || m === "vertical" && f === "center") && p !== "middle" && E(e[p])) return B(B({}, e), {}, V({}, p, e[p] + (d || 0)));
|
|
253
245
|
}
|
|
254
246
|
return e;
|
|
255
|
-
},
|
|
256
|
-
return (0,
|
|
257
|
-
},
|
|
258
|
-
var a = t.props.children, o =
|
|
259
|
-
return
|
|
247
|
+
}, be = function(e, t, n) {
|
|
248
|
+
return (0, j.default)(t) ? !0 : e === "horizontal" ? t === "yAxis" : e === "vertical" || n === "x" ? t === "xAxis" : n !== "y" || t === "yAxis";
|
|
249
|
+
}, G = function(e, t, n, r, i) {
|
|
250
|
+
var a = t.props.children, o = ie(a, S).filter(function(e) {
|
|
251
|
+
return be(r, i, e.props.direction);
|
|
260
252
|
});
|
|
261
253
|
if (o && o.length) {
|
|
262
254
|
var s = o.map(function(e) {
|
|
263
255
|
return e.props.dataKey;
|
|
264
256
|
});
|
|
265
257
|
return e.reduce(function(e, t) {
|
|
266
|
-
var r =
|
|
267
|
-
if ((0,
|
|
268
|
-
var i = Array.isArray(r) ? [(0,
|
|
269
|
-
var r =
|
|
258
|
+
var r = H(t, n);
|
|
259
|
+
if ((0, j.default)(r)) return e;
|
|
260
|
+
var i = Array.isArray(r) ? [(0, A.default)(r), (0, k.default)(r)] : [r, r], a = s.reduce(function(e, n) {
|
|
261
|
+
var r = H(t, n, 0), a = i[0] - Math.abs(Array.isArray(r) ? r[0] : r), o = i[1] + Math.abs(Array.isArray(r) ? r[1] : r);
|
|
270
262
|
return [Math.min(a, e[0]), Math.max(o, e[1])];
|
|
271
263
|
}, [Infinity, -Infinity]);
|
|
272
264
|
return [Math.min(a[0], e[0]), Math.max(a[1], e[1])];
|
|
273
265
|
}, [Infinity, -Infinity]);
|
|
274
266
|
}
|
|
275
267
|
return null;
|
|
276
|
-
},
|
|
268
|
+
}, xe = function(e, t, n, r, i) {
|
|
277
269
|
var a = t.map(function(t) {
|
|
278
|
-
return
|
|
270
|
+
return G(e, t, n, i, r);
|
|
279
271
|
}).filter(function(e) {
|
|
280
|
-
return !(0,
|
|
272
|
+
return !(0, j.default)(e);
|
|
281
273
|
});
|
|
282
274
|
return a && a.length ? a.reduce(function(e, t) {
|
|
283
275
|
return [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
|
|
284
276
|
}, [Infinity, -Infinity]) : null;
|
|
285
|
-
},
|
|
277
|
+
}, K = function(e, t, n, r, i) {
|
|
286
278
|
var a = t.map(function(t) {
|
|
287
279
|
var a = t.props.dataKey;
|
|
288
|
-
return n === "number" && a &&
|
|
280
|
+
return n === "number" && a && G(e, t, a, r) || U(e, a, n, i);
|
|
289
281
|
});
|
|
290
282
|
if (n === "number") return a.reduce(function(e, t) {
|
|
291
283
|
return [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
|
|
@@ -295,9 +287,9 @@ var pe = function(e) {
|
|
|
295
287
|
for (var n = 0, r = t.length; n < r; n++) o[t[n]] || (o[t[n]] = !0, e.push(t[n]));
|
|
296
288
|
return e;
|
|
297
289
|
}, []);
|
|
298
|
-
},
|
|
290
|
+
}, Se = function(e, t) {
|
|
299
291
|
return e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis";
|
|
300
|
-
},
|
|
292
|
+
}, Ce = function(e, t, n, r) {
|
|
301
293
|
if (r) return e.map(function(e) {
|
|
302
294
|
return e.coordinate;
|
|
303
295
|
});
|
|
@@ -305,10 +297,10 @@ var pe = function(e) {
|
|
|
305
297
|
return e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate;
|
|
306
298
|
});
|
|
307
299
|
return i || o.push(t), a || o.push(n), o;
|
|
308
|
-
},
|
|
300
|
+
}, we = function(e, t, n) {
|
|
309
301
|
if (!e) return null;
|
|
310
302
|
var r = e.scale, i = e.duplicateDomain, a = e.type, o = e.range, s = e.realScaleType === "scaleBand" ? r.bandwidth() / 2 : 2, c = (t || n) && a === "category" && r.bandwidth ? r.bandwidth() / s : 0;
|
|
311
|
-
return c = e.axisType === "angleAxis" && o?.length >= 2 ?
|
|
303
|
+
return c = e.axisType === "angleAxis" && o?.length >= 2 ? D(o[0] - o[1]) * 2 * c : c, t && (e.ticks || e.niceTicks) ? (e.ticks || e.niceTicks).map(function(e) {
|
|
312
304
|
return {
|
|
313
305
|
coordinate: r(i ? i.indexOf(e) : e) + c,
|
|
314
306
|
value: e,
|
|
@@ -337,157 +329,161 @@ var pe = function(e) {
|
|
|
337
329
|
offset: c
|
|
338
330
|
};
|
|
339
331
|
});
|
|
340
|
-
},
|
|
332
|
+
}, q = /* @__PURE__ */ new WeakMap(), Te = function(e, t) {
|
|
341
333
|
if (typeof t != "function") return e;
|
|
342
|
-
|
|
343
|
-
var n =
|
|
334
|
+
q.has(e) || q.set(e, /* @__PURE__ */ new WeakMap());
|
|
335
|
+
var n = q.get(e);
|
|
344
336
|
if (n.has(t)) return n.get(t);
|
|
345
337
|
var r = function() {
|
|
346
338
|
e.apply(void 0, arguments), t.apply(void 0, arguments);
|
|
347
339
|
};
|
|
348
340
|
return n.set(t, r), r;
|
|
349
|
-
},
|
|
350
|
-
var
|
|
351
|
-
if (
|
|
352
|
-
scale:
|
|
341
|
+
}, Ee = function(e, n, r) {
|
|
342
|
+
var i = e.scale, a = e.type, o = e.layout, s = e.axisType;
|
|
343
|
+
if (i === "auto") return o === "radial" && s === "radiusAxis" ? {
|
|
344
|
+
scale: g(),
|
|
353
345
|
realScaleType: "band"
|
|
354
|
-
} :
|
|
355
|
-
scale:
|
|
346
|
+
} : o === "radial" && s === "angleAxis" ? {
|
|
347
|
+
scale: _(),
|
|
356
348
|
realScaleType: "linear"
|
|
357
|
-
} :
|
|
358
|
-
scale:
|
|
349
|
+
} : a === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !r) ? {
|
|
350
|
+
scale: v(),
|
|
359
351
|
realScaleType: "point"
|
|
360
|
-
} :
|
|
361
|
-
scale:
|
|
352
|
+
} : a === "category" ? {
|
|
353
|
+
scale: g(),
|
|
362
354
|
realScaleType: "band"
|
|
363
355
|
} : {
|
|
364
|
-
scale:
|
|
356
|
+
scale: _(),
|
|
365
357
|
realScaleType: "linear"
|
|
366
358
|
};
|
|
367
|
-
if ((0,
|
|
368
|
-
var
|
|
359
|
+
if ((0, oe.default)(i)) {
|
|
360
|
+
var c = `scale${(0, se.default)(i)}`;
|
|
369
361
|
return {
|
|
370
|
-
scale: (
|
|
371
|
-
realScaleType:
|
|
362
|
+
scale: (t[c] || v)(),
|
|
363
|
+
realScaleType: t[c] ? c : "point"
|
|
372
364
|
};
|
|
373
365
|
}
|
|
374
|
-
return (0,
|
|
375
|
-
scale:
|
|
366
|
+
return (0, M.default)(i) ? { scale: i } : {
|
|
367
|
+
scale: v(),
|
|
376
368
|
realScaleType: "point"
|
|
377
369
|
};
|
|
378
|
-
},
|
|
370
|
+
}, J = 1e-4, De = function(e) {
|
|
379
371
|
var t = e.domain();
|
|
380
372
|
if (!(!t || t.length <= 2)) {
|
|
381
|
-
var n = t.length, r = e.range(), i = Math.min(r[0], r[1]) -
|
|
373
|
+
var n = t.length, r = e.range(), i = Math.min(r[0], r[1]) - J, a = Math.max(r[0], r[1]) + J, o = e(t[0]), s = e(t[n - 1]);
|
|
382
374
|
(o < i || o > a || s < i || s > a) && e.domain([t[0], t[n - 1]]);
|
|
383
375
|
}
|
|
384
|
-
},
|
|
376
|
+
}, Oe = function(e, t) {
|
|
385
377
|
if (!e) return null;
|
|
386
378
|
for (var n = 0, r = e.length; n < r; n++) if (e[n].item === t) return e[n].position;
|
|
387
379
|
return null;
|
|
388
|
-
},
|
|
389
|
-
if (!t || t.length !== 2 || !
|
|
380
|
+
}, ke = function(e, t) {
|
|
381
|
+
if (!t || t.length !== 2 || !E(t[0]) || !E(t[1])) return e;
|
|
390
382
|
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
|
|
391
|
-
return (!
|
|
392
|
-
},
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
wiggle: x,
|
|
404
|
-
positive: function(e) {
|
|
405
|
-
var t = e.length;
|
|
406
|
-
if (!(t <= 0)) for (var n = 0, r = e[0].length; n < r; ++n) for (var i = 0, a = 0; a < t; ++a) {
|
|
407
|
-
var o = (0, F.default)(e[a][n][1]) ? e[a][n][0] : e[a][n][1];
|
|
408
|
-
o >= 0 ? (e[a][n][0] = i, e[a][n][1] = i + o, i = e[a][n][1]) : (e[a][n][0] = 0, e[a][n][1] = 0);
|
|
409
|
-
}
|
|
383
|
+
return (!E(e[0]) || e[0] < n) && (i[0] = n), (!E(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
|
|
384
|
+
}, Y = function(e) {
|
|
385
|
+
var t = e.length;
|
|
386
|
+
if (!(t <= 0)) for (var n = 0, r = e[0].length; n < r; ++n) for (var i = 0, a = 0, o = 0; o < t; ++o) {
|
|
387
|
+
var s = (0, F.default)(e[o][n][1]) ? e[o][n][0] : e[o][n][1];
|
|
388
|
+
s >= 0 ? (e[o][n][0] = i, e[o][n][1] = i + s, i = e[o][n][1]) : (e[o][n][0] = a, e[o][n][1] = a + s, a = e[o][n][1]);
|
|
389
|
+
}
|
|
390
|
+
}, X = function(e) {
|
|
391
|
+
var t = e.length;
|
|
392
|
+
if (!(t <= 0)) for (var n = 0, r = e[0].length; n < r; ++n) for (var i = 0, a = 0; a < t; ++a) {
|
|
393
|
+
var o = (0, F.default)(e[a][n][1]) ? e[a][n][0] : e[a][n][1];
|
|
394
|
+
o >= 0 ? (e[a][n][0] = i, e[a][n][1] = i + o, i = e[a][n][1]) : (e[a][n][0] = 0, e[a][n][1] = 0);
|
|
410
395
|
}
|
|
411
|
-
},
|
|
412
|
-
|
|
396
|
+
}, Ae = {
|
|
397
|
+
sign: Y,
|
|
398
|
+
expand: r,
|
|
399
|
+
none: i,
|
|
400
|
+
silhouette: a,
|
|
401
|
+
wiggle: o,
|
|
402
|
+
positive: X
|
|
403
|
+
}, Z = function(e, t, r) {
|
|
404
|
+
var i = t.map(function(e) {
|
|
413
405
|
return e.props.dataKey;
|
|
414
|
-
}),
|
|
415
|
-
return
|
|
416
|
-
return +
|
|
417
|
-
}).order(
|
|
418
|
-
},
|
|
406
|
+
}), a = Ae[r];
|
|
407
|
+
return n().keys(i).value(function(e, t) {
|
|
408
|
+
return +H(e, t, 0);
|
|
409
|
+
}).order(s).offset(a)(e);
|
|
410
|
+
}, je = function(e, t, n, r, i, a) {
|
|
419
411
|
if (!e) return null;
|
|
420
412
|
var o = (a ? t.reverse() : t).reduce(function(e, t) {
|
|
421
|
-
var i, a = (i = t.type) != null && i.defaultProps ?
|
|
413
|
+
var i, a = (i = t.type) != null && i.defaultProps ? B(B({}, t.type.defaultProps), t.props) : t.props, o = a.stackId;
|
|
422
414
|
if (a.hide) return e;
|
|
423
|
-
var s = a[n],
|
|
415
|
+
var s = a[n], c = e[s] || {
|
|
424
416
|
hasStack: !1,
|
|
425
417
|
stackGroups: {}
|
|
426
418
|
};
|
|
427
|
-
if (
|
|
428
|
-
var
|
|
419
|
+
if (T(o)) {
|
|
420
|
+
var l = c.stackGroups[o] || {
|
|
429
421
|
numericAxisId: n,
|
|
430
422
|
cateAxisId: r,
|
|
431
423
|
items: []
|
|
432
424
|
};
|
|
433
|
-
|
|
434
|
-
} else
|
|
425
|
+
l.items.push(t), c.hasStack = !0, c.stackGroups[o] = l;
|
|
426
|
+
} else c.stackGroups[ne("_stackId_")] = {
|
|
435
427
|
numericAxisId: n,
|
|
436
428
|
cateAxisId: r,
|
|
437
429
|
items: [t]
|
|
438
430
|
};
|
|
439
|
-
return
|
|
431
|
+
return B(B({}, e), {}, V({}, s, c));
|
|
440
432
|
}, {});
|
|
441
433
|
return Object.keys(o).reduce(function(t, a) {
|
|
442
434
|
var s = o[a];
|
|
443
435
|
return s.hasStack && (s.stackGroups = Object.keys(s.stackGroups).reduce(function(t, a) {
|
|
444
436
|
var o = s.stackGroups[a];
|
|
445
|
-
return
|
|
437
|
+
return B(B({}, t), {}, V({}, a, {
|
|
446
438
|
numericAxisId: n,
|
|
447
439
|
cateAxisId: r,
|
|
448
440
|
items: o.items,
|
|
449
|
-
stackedData:
|
|
441
|
+
stackedData: Z(e, o.items, i)
|
|
450
442
|
}));
|
|
451
|
-
}, {})),
|
|
443
|
+
}, {})), B(B({}, t), {}, V({}, a, s));
|
|
452
444
|
}, {});
|
|
453
|
-
},
|
|
445
|
+
}, Me = function(e, t) {
|
|
454
446
|
var n = t.realScaleType, r = t.type, i = t.tickCount, a = t.originalDomain, o = t.allowDecimals, s = n || t.scale;
|
|
455
447
|
if (s !== "auto" && s !== "linear") return null;
|
|
456
448
|
if (i && r === "number" && a && (a[0] === "auto" || a[1] === "auto")) {
|
|
457
449
|
var c = e.domain();
|
|
458
450
|
if (!c.length) return null;
|
|
459
|
-
var l =
|
|
460
|
-
return e.domain([(0,
|
|
451
|
+
var l = ee(c, i, o);
|
|
452
|
+
return e.domain([(0, A.default)(l), (0, k.default)(l)]), { niceTicks: l };
|
|
461
453
|
}
|
|
462
|
-
|
|
454
|
+
if (i && r === "number") {
|
|
455
|
+
var u = e.domain();
|
|
456
|
+
return { niceTicks: C(u, i, o) };
|
|
457
|
+
}
|
|
458
|
+
return null;
|
|
463
459
|
};
|
|
464
|
-
function
|
|
465
|
-
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index,
|
|
460
|
+
function Ne(e) {
|
|
461
|
+
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
|
|
466
462
|
if (t.type === "category") {
|
|
467
|
-
if (!t.allowDuplicatedCategory && t.dataKey && !(0,
|
|
468
|
-
var
|
|
469
|
-
if (
|
|
463
|
+
if (!t.allowDuplicatedCategory && t.dataKey && !(0, j.default)(i[t.dataKey])) {
|
|
464
|
+
var s = te(n, "value", i[t.dataKey]);
|
|
465
|
+
if (s) return s.coordinate + r / 2;
|
|
470
466
|
}
|
|
471
467
|
return n[a] ? n[a].coordinate + r / 2 : null;
|
|
472
468
|
}
|
|
473
|
-
var
|
|
474
|
-
return (0,
|
|
469
|
+
var c = H(i, (0, j.default)(o) ? t.dataKey : o);
|
|
470
|
+
return (0, j.default)(c) ? null : t.scale(c);
|
|
475
471
|
}
|
|
476
|
-
var
|
|
472
|
+
var Pe = function(e) {
|
|
477
473
|
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
|
|
478
474
|
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
|
|
479
|
-
var s =
|
|
480
|
-
return (0,
|
|
481
|
-
},
|
|
475
|
+
var s = H(a, t.dataKey, t.domain[o]);
|
|
476
|
+
return (0, j.default)(s) ? null : t.scale(s) - i / 2 + r;
|
|
477
|
+
}, Fe = function(e) {
|
|
482
478
|
var t = e.numericAxis, n = t.scale.domain();
|
|
483
479
|
if (t.type === "number") {
|
|
484
480
|
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
|
|
485
481
|
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
|
|
486
482
|
}
|
|
487
483
|
return n[0];
|
|
488
|
-
},
|
|
489
|
-
var n, r = ((n = e.type) != null && n.defaultProps ?
|
|
490
|
-
if (
|
|
484
|
+
}, Ie = function(e, t) {
|
|
485
|
+
var n, r = ((n = e.type) != null && n.defaultProps ? B(B({}, e.type.defaultProps), e.props) : e.props).stackId;
|
|
486
|
+
if (T(r)) {
|
|
491
487
|
var i = t[r];
|
|
492
488
|
if (i) {
|
|
493
489
|
var a = i.items.indexOf(e);
|
|
@@ -495,36 +491,36 @@ var Me = function(e) {
|
|
|
495
491
|
}
|
|
496
492
|
}
|
|
497
493
|
return null;
|
|
498
|
-
},
|
|
494
|
+
}, Le = function(e) {
|
|
499
495
|
return e.reduce(function(e, t) {
|
|
500
|
-
return [(0,
|
|
496
|
+
return [(0, A.default)(t.concat([e[0]]).filter(E)), (0, k.default)(t.concat([e[1]]).filter(E))];
|
|
501
497
|
}, [Infinity, -Infinity]);
|
|
502
|
-
},
|
|
498
|
+
}, Re = function(e, t, n) {
|
|
503
499
|
return Object.keys(e).reduce(function(r, i) {
|
|
504
500
|
var a = e[i].stackedData.reduce(function(e, r) {
|
|
505
|
-
var i =
|
|
501
|
+
var i = Le(r.slice(t, n + 1));
|
|
506
502
|
return [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
|
|
507
503
|
}, [Infinity, -Infinity]);
|
|
508
504
|
return [Math.min(a[0], r[0]), Math.max(a[1], r[1])];
|
|
509
505
|
}, [Infinity, -Infinity]).map(function(e) {
|
|
510
506
|
return e === Infinity || e === -Infinity ? 0 : e;
|
|
511
507
|
});
|
|
512
|
-
}, Q = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, $ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,
|
|
513
|
-
if ((0,
|
|
508
|
+
}, Q = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, $ = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, ze = function(e, t, n) {
|
|
509
|
+
if ((0, M.default)(e)) return e(t, n);
|
|
514
510
|
if (!Array.isArray(e)) return t;
|
|
515
511
|
var r = [];
|
|
516
|
-
if (
|
|
512
|
+
if (E(e[0])) r[0] = n ? e[0] : Math.min(e[0], t[0]);
|
|
517
513
|
else if (Q.test(e[0])) {
|
|
518
514
|
var i = +Q.exec(e[0])[1];
|
|
519
515
|
r[0] = t[0] - i;
|
|
520
|
-
} else (0,
|
|
521
|
-
if (
|
|
516
|
+
} else r[0] = (0, M.default)(e[0]) ? e[0](t[0]) : t[0];
|
|
517
|
+
if (E(e[1])) r[1] = n ? e[1] : Math.max(e[1], t[1]);
|
|
522
518
|
else if ($.test(e[1])) {
|
|
523
519
|
var a = +$.exec(e[1])[1];
|
|
524
520
|
r[1] = t[1] + a;
|
|
525
|
-
} else (0,
|
|
521
|
+
} else r[1] = (0, M.default)(e[1]) ? e[1](t[1]) : t[1];
|
|
526
522
|
return r;
|
|
527
|
-
},
|
|
523
|
+
}, Be = function(e, t, n) {
|
|
528
524
|
if (e && e.scale && e.scale.bandwidth) {
|
|
529
525
|
var r = e.scale.bandwidth();
|
|
530
526
|
if (!n || r > 0) return r;
|
|
@@ -539,22 +535,21 @@ var Me = function(e) {
|
|
|
539
535
|
return a === Infinity ? 0 : a;
|
|
540
536
|
}
|
|
541
537
|
return n ? void 0 : 0;
|
|
542
|
-
},
|
|
543
|
-
return !e || !e.length || (0, ce.default)(e, (0,
|
|
544
|
-
},
|
|
545
|
-
var n = e.type.defaultProps ?
|
|
546
|
-
return
|
|
538
|
+
}, Ve = function(e, t, n) {
|
|
539
|
+
return !e || !e.length || (0, ce.default)(e, (0, N.default)(n, "type.defaultProps.domain")) ? t : e;
|
|
540
|
+
}, He = function(e, t) {
|
|
541
|
+
var n = e.type.defaultProps ? B(B({}, e.type.defaultProps), e.props) : e.props, r = n.dataKey, i = n.name, a = n.unit, o = n.formatter, s = n.tooltipType, c = n.chartType, l = n.hide;
|
|
542
|
+
return B(B({}, re(e, !1)), {}, {
|
|
547
543
|
dataKey: r,
|
|
548
544
|
unit: a,
|
|
549
545
|
formatter: o,
|
|
550
546
|
name: i || r,
|
|
551
|
-
color:
|
|
552
|
-
value:
|
|
547
|
+
color: W(e),
|
|
548
|
+
value: H(t, r),
|
|
553
549
|
type: s,
|
|
554
550
|
payload: t,
|
|
555
551
|
chartType: c,
|
|
556
552
|
hide: l
|
|
557
553
|
});
|
|
558
554
|
};
|
|
559
|
-
|
|
560
|
-
export { ge as appendOffsetOfLegend, pe as calculateActiveTickIndex, Te as checkDomainOfScale, Ce as combineEventHandlers, Ee as findPositionOfBar, Re as getBandSizeOfAxis, he as getBarPosition, me as getBarSizeList, Ne as getBaseValueOfBar, Me as getCateCoordinateOfBar, je as getCateCoordinateOfLine, xe as getCoordinatesOfGrid, K as getDomainOfDataByKey, ye as getDomainOfItemsWithSameAxis, Ie as getDomainOfStackGroups, q as getMainColorOfGraphicItem, Z as getStackGroupsByAxisId, Pe as getStackedDataOfItem, Se as getTicksOfAxis, Ae as getTicksOfScale, Be as getTooltipItem, G as getValueByDataKey, be as isCategoricalAxis, ze as parseDomainOfCategoryAxis, ve as parseErrorBarsOfAxis, we as parseScale, Le as parseSpecifiedDomain, De as truncateByDomain };
|
|
555
|
+
export { $ as MAX_VALUE_REG, Q as MIN_VALUE_REG, ye as appendOffsetOfLegend, ge as calculateActiveTickIndex, De as checkDomainOfScale, Te as combineEventHandlers, Oe as findPositionOfBar, Be as getBandSizeOfAxis, ve as getBarPosition, _e as getBarSizeList, Fe as getBaseValueOfBar, Pe as getCateCoordinateOfBar, Ne as getCateCoordinateOfLine, Ce as getCoordinatesOfGrid, U as getDomainOfDataByKey, G as getDomainOfErrorBars, K as getDomainOfItemsWithSameAxis, Re as getDomainOfStackGroups, O as getLegendProps, W as getMainColorOfGraphicItem, je as getStackGroupsByAxisId, Z as getStackedData, Ie as getStackedDataOfItem, we as getTicksOfAxis, Me as getTicksOfScale, He as getTooltipItem, H as getValueByDataKey, Se as isCategoricalAxis, X as offsetPositive, Y as offsetSign, Ve as parseDomainOfCategoryAxis, xe as parseErrorBarsOfAxis, Ee as parseScale, ze as parseSpecifiedDomain, ke as truncateByDomain };
|