@burdenoff/microfe-movethewheels 2026.704.2 → 2026.713.1
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 +203 -0
- package/dist/MoveTheWheelsRoutes.js +197 -0
- package/dist/{chunk-BdsCSvBP.js → _virtual/_rolldown/runtime.js} +1 -1
- package/dist/{DataTable-CmdZd6iV.js → components/DataTable.js} +95 -122
- package/dist/components/DocumentsCard.js +89 -0
- package/dist/{FormError-D4T5FWZA.js → components/FormError.js} +2 -2
- package/dist/components/GlassPanel.js +40 -0
- package/dist/{MetricCard-CqU5WsyW.js → components/MetricCard.js} +3 -3
- package/dist/components/Notice.js +28 -0
- package/dist/components/PageLayout.js +157 -0
- package/dist/components/StatusBadge.js +105 -0
- package/dist/components/charts/ChartShell.js +45 -0
- package/dist/components/charts/Sparkline.js +95 -0
- package/dist/components/charts/StatusDonut.js +83 -0
- package/dist/components/charts/TrendChart.js +169 -0
- package/dist/components/charts/VolumeBar.js +99 -0
- package/dist/components/charts/chartTokens.js +30 -0
- package/dist/components/charts/index.js +6 -0
- package/dist/components/index.js +22 -0
- package/dist/components/maps/LogisticsMap.js +47 -0
- package/dist/components/maps/MapCanvas.js +80 -0
- package/dist/components/maps/RouteMap.js +41 -0
- package/dist/components/maps/TrackingMap.js +66 -0
- package/dist/components/maps/index.js +5 -0
- package/dist/components/maps/leaflet-setup.js +56 -0
- package/dist/components/ui.js +38 -0
- package/dist/constants/index.js +53 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/generated/global-operations.d.ts +1 -0
- package/dist/generated/global-types.d.ts +23526 -0
- package/dist/generated/wspace-operations.d.ts +3704 -0
- package/dist/generated/wspace-types.d.ts +57850 -0
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/useAnalytics.js +352 -0
- package/dist/hooks/useAssistant.js +39 -0
- package/dist/{useCustomers-BQ4AIEAT.js → hooks/useCustomers.js} +27 -26
- package/dist/hooks/useEntityDocuments.js +73 -0
- package/dist/{useFleet-BfA_-VUW.js → hooks/useFleet.js} +70 -69
- package/dist/{useImportExport-7-O8noRJ.js → hooks/useImportExport.js} +10 -9
- package/dist/{useInventory-BO7TSgq_.js → hooks/useInventory.js} +59 -58
- package/dist/{useOrders-B5FV0kcz.js → hooks/useOrders.js} +46 -45
- package/dist/{useReports-hUXb8ryJ.js → hooks/useReports.js} +12 -11
- package/dist/{useRoutes-DAdy2BGv.js → hooks/useRoutes.js} +35 -34
- package/dist/hooks/useSettings.js +59 -0
- package/dist/{useTracking-7nd_XOSL.js → hooks/useTracking.js} +35 -34
- package/dist/index.d.ts +4 -0
- package/dist/index.js +39 -794
- package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
- package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
- package/dist/movethewheels/components/DataTable.d.ts +67 -0
- package/dist/movethewheels/components/DocumentsCard.d.ts +8 -0
- package/dist/movethewheels/components/FormError.d.ts +11 -0
- package/dist/movethewheels/components/GlassPanel.d.ts +25 -0
- package/dist/movethewheels/components/MetricCard.d.ts +68 -0
- package/dist/movethewheels/components/Notice.d.ts +24 -0
- package/dist/movethewheels/components/PageLayout.d.ts +86 -0
- package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
- package/dist/movethewheels/components/charts/ChartShell.d.ts +27 -0
- package/dist/movethewheels/components/charts/Sparkline.d.ts +22 -0
- package/dist/movethewheels/components/charts/StatusDonut.d.ts +23 -0
- package/dist/movethewheels/components/charts/TrendChart.d.ts +29 -0
- package/dist/movethewheels/components/charts/VolumeBar.d.ts +22 -0
- package/dist/movethewheels/components/charts/chartTokens.d.ts +29 -0
- package/dist/movethewheels/components/charts/index.d.ts +9 -0
- package/dist/movethewheels/components/index.d.ts +16 -0
- package/dist/movethewheels/components/maps/LogisticsMap.d.ts +30 -0
- package/dist/movethewheels/components/maps/MapCanvas.d.ts +32 -0
- package/dist/movethewheels/components/maps/RouteMap.d.ts +20 -0
- package/dist/movethewheels/components/maps/TrackingMap.d.ts +29 -0
- package/dist/movethewheels/components/maps/index.d.ts +10 -0
- package/dist/movethewheels/components/maps/leaflet-setup.d.ts +31 -0
- package/dist/movethewheels/components/ui.d.ts +22 -0
- package/dist/movethewheels/constants/index.d.ts +20 -0
- package/dist/movethewheels/hooks/index.d.ts +17 -0
- package/dist/movethewheels/hooks/useAnalytics.d.ts +136 -0
- package/dist/movethewheels/hooks/useAssistant.d.ts +17 -0
- package/dist/movethewheels/hooks/useCustomers.d.ts +39 -0
- package/dist/movethewheels/hooks/useEntityDocuments.d.ts +31 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +100 -0
- package/dist/movethewheels/hooks/useImportExport.d.ts +13 -0
- package/dist/movethewheels/hooks/useInventory.d.ts +121 -0
- package/dist/movethewheels/hooks/useOrders.d.ts +53 -0
- package/dist/movethewheels/hooks/useReports.d.ts +39 -0
- package/dist/movethewheels/hooks/useRoutes.d.ts +46 -0
- package/dist/movethewheels/hooks/useSettings.d.ts +17 -0
- package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
- package/dist/movethewheels/index.d.ts +31 -0
- package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
- package/dist/movethewheels/pages/AnalyticsPage.d.ts +8 -0
- package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
- package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
- package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
- package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
- package/dist/movethewheels/pages/FinancePage.d.ts +10 -0
- package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
- package/dist/movethewheels/pages/ImportExportPage.d.ts +8 -0
- package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
- package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/MarketplacePage.d.ts +9 -0
- package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
- package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
- package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ReportsPage.d.ts +8 -0
- package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
- package/dist/movethewheels/pages/SettingsPage.d.ts +8 -0
- package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
- package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
- package/dist/movethewheels/services/createSandboxAssistantTransport.d.ts +23 -0
- package/dist/movethewheels/store/movethewheelsStore.d.ts +73 -0
- package/dist/movethewheels/types/index.d.ts +667 -0
- package/dist/movethewheels/utils/cn.d.ts +6 -0
- package/dist/movethewheels/utils/download.d.ts +19 -0
- package/dist/movethewheels/utils/formatters.d.ts +60 -0
- package/dist/movethewheels/utils/graphqlClient.d.ts +11 -0
- package/dist/movethewheels/utils/index.d.ts +7 -0
- package/dist/movethewheels/utils/mapMarkers.d.ts +17 -0
- package/dist/movethewheels/utils/navigation.d.ts +23 -0
- package/dist/node_modules/@react-leaflet/core/lib/attribution.js +10 -0
- package/dist/node_modules/@react-leaflet/core/lib/component.js +37 -0
- package/dist/node_modules/@react-leaflet/core/lib/context.js +21 -0
- package/dist/node_modules/@react-leaflet/core/lib/div-overlay.js +13 -0
- package/dist/node_modules/@react-leaflet/core/lib/element.js +28 -0
- package/dist/node_modules/@react-leaflet/core/lib/events.js +12 -0
- package/dist/node_modules/@react-leaflet/core/lib/generic.js +20 -0
- package/dist/node_modules/@react-leaflet/core/lib/grid-layer.js +7 -0
- package/dist/node_modules/@react-leaflet/core/lib/layer.js +21 -0
- package/dist/node_modules/@react-leaflet/core/lib/pane.js +10 -0
- package/dist/node_modules/@react-leaflet/core/lib/path.js +23 -0
- package/dist/node_modules/clsx/dist/clsx.js +16 -0
- package/dist/node_modules/d3-array/src/ascending.js +6 -0
- package/dist/node_modules/d3-array/src/bisect.js +8 -0
- package/dist/node_modules/d3-array/src/bisector.js +41 -0
- package/dist/node_modules/d3-array/src/descending.js +6 -0
- package/dist/node_modules/d3-array/src/max.js +12 -0
- package/dist/node_modules/d3-array/src/min.js +12 -0
- package/dist/node_modules/d3-array/src/number.js +13 -0
- package/dist/node_modules/d3-array/src/quantile.js +23 -0
- package/dist/node_modules/d3-array/src/quickselect.js +24 -0
- package/dist/node_modules/d3-array/src/range.js +8 -0
- package/dist/node_modules/d3-array/src/sort.js +15 -0
- package/dist/node_modules/d3-array/src/ticks.js +32 -0
- package/dist/node_modules/d3-color/src/color.js +289 -0
- package/dist/node_modules/d3-color/src/define.js +11 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +13 -0
- package/dist/node_modules/d3-format/src/exponent.js +7 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +9 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +10 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +11 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +10 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +27 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +18 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +21 -0
- package/dist/node_modules/d3-format/src/identity.js +6 -0
- package/dist/node_modules/d3-format/src/locale.js +84 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +7 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +7 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +7 -0
- package/dist/node_modules/d3-interpolate/src/array.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +14 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +11 -0
- package/dist/node_modules/d3-interpolate/src/color.js +23 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +4 -0
- package/dist/node_modules/d3-interpolate/src/date.js +9 -0
- package/dist/node_modules/d3-interpolate/src/number.js +8 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js +12 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +12 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +17 -0
- package/dist/node_modules/d3-interpolate/src/round.js +8 -0
- package/dist/node_modules/d3-interpolate/src/string.js +26 -0
- package/dist/node_modules/d3-interpolate/src/value.js +16 -0
- package/dist/node_modules/d3-path/src/path.js +63 -0
- package/dist/node_modules/d3-scale/src/band.js +50 -0
- package/dist/node_modules/d3-scale/src/constant.js +8 -0
- package/dist/node_modules/d3-scale/src/continuous.js +71 -0
- package/dist/node_modules/d3-scale/src/diverging.js +80 -0
- package/dist/node_modules/d3-scale/src/identity.js +18 -0
- package/dist/node_modules/d3-scale/src/init.js +27 -0
- package/dist/node_modules/d3-scale/src/linear.js +34 -0
- package/dist/node_modules/d3-scale/src/log.js +75 -0
- package/dist/node_modules/d3-scale/src/nice.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js +6 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +29 -0
- package/dist/node_modules/d3-scale/src/pow.js +35 -0
- package/dist/node_modules/d3-scale/src/quantile.js +35 -0
- package/dist/node_modules/d3-scale/src/quantize.js +31 -0
- package/dist/node_modules/d3-scale/src/radial.js +37 -0
- package/dist/node_modules/d3-scale/src/sequential.js +65 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +28 -0
- package/dist/node_modules/d3-scale/src/symlog.js +28 -0
- package/dist/node_modules/d3-scale/src/threshold.js +23 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +29 -0
- package/dist/node_modules/d3-scale/src/time.js +45 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +17 -0
- package/dist/node_modules/d3-shape/src/area.js +53 -0
- package/dist/node_modules/d3-shape/src/array.js +6 -0
- package/dist/node_modules/d3-shape/src/constant.js +8 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +48 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +44 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +38 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +34 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +23 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +92 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +37 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +45 -0
- package/dist/node_modules/d3-shape/src/line.js +28 -0
- package/dist/node_modules/d3-shape/src/math.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js +4 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +13 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +6 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +13 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +19 -0
- package/dist/node_modules/d3-shape/src/order/none.js +7 -0
- package/dist/node_modules/d3-shape/src/path.js +17 -0
- package/dist/node_modules/d3-shape/src/point.js +9 -0
- package/dist/node_modules/d3-shape/src/stack.js +32 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +8 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +8 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +8 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +8 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +13 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +8 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +8 -0
- package/dist/node_modules/d3-shape/src/symbol.js +21 -0
- package/dist/node_modules/d3-time/src/day.js +19 -0
- package/dist/node_modules/d3-time/src/duration.js +4 -0
- package/dist/node_modules/d3-time/src/hour.js +17 -0
- package/dist/node_modules/d3-time/src/interval.js +26 -0
- package/dist/node_modules/d3-time/src/millisecond.js +12 -0
- package/dist/node_modules/d3-time/src/minute.js +17 -0
- package/dist/node_modules/d3-time/src/month.js +16 -0
- package/dist/node_modules/d3-time/src/second.js +11 -0
- package/dist/node_modules/d3-time/src/ticks.js +123 -0
- package/dist/node_modules/d3-time/src/week.js +23 -0
- package/dist/node_modules/d3-time/src/year.js +24 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +60 -0
- package/dist/node_modules/d3-time-format/src/locale.js +488 -0
- package/dist/node_modules/decimal.js-light/decimal.js +376 -0
- package/dist/node_modules/eventemitter3/index.js +93 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +265 -0
- package/dist/node_modules/internmap/src/index.js +38 -0
- package/dist/{maps-CtfuCAmh.js → node_modules/leaflet/dist/leaflet-src.js} +885 -1372
- package/dist/node_modules/lodash/_DataView.js +10 -0
- package/dist/node_modules/lodash/_Hash.js +21 -0
- package/dist/node_modules/lodash/_ListCache.js +21 -0
- package/dist/node_modules/lodash/_Map.js +10 -0
- package/dist/node_modules/lodash/_MapCache.js +21 -0
- package/dist/node_modules/lodash/_Promise.js +10 -0
- package/dist/node_modules/lodash/_Set.js +10 -0
- package/dist/node_modules/lodash/_SetCache.js +16 -0
- package/dist/node_modules/lodash/_Stack.js +18 -0
- package/dist/node_modules/lodash/_Symbol.js +9 -0
- package/dist/node_modules/lodash/_Uint8Array.js +9 -0
- package/dist/node_modules/lodash/_WeakMap.js +10 -0
- package/dist/node_modules/lodash/_apply.js +17 -0
- package/dist/node_modules/lodash/_arrayEvery.js +12 -0
- package/dist/node_modules/lodash/_arrayFilter.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +13 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +12 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +20 -0
- package/dist/node_modules/lodash/_arrayMap.js +12 -0
- package/dist/node_modules/lodash/_arrayPush.js +12 -0
- package/dist/node_modules/lodash/_arraySome.js +12 -0
- package/dist/node_modules/lodash/_asciiToArray.js +11 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +14 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +18 -0
- package/dist/node_modules/lodash/_baseEach.js +11 -0
- package/dist/node_modules/lodash/_baseEvery.js +16 -0
- package/dist/node_modules/lodash/_baseExtremum.js +17 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +12 -0
- package/dist/node_modules/lodash/_baseFlatten.js +19 -0
- package/dist/node_modules/lodash/_baseFor.js +9 -0
- package/dist/node_modules/lodash/_baseForOwn.js +14 -0
- package/dist/node_modules/lodash/_baseGet.js +16 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +15 -0
- package/dist/node_modules/lodash/_baseGetTag.js +15 -0
- package/dist/node_modules/lodash/_baseGt.js +11 -0
- package/dist/node_modules/lodash/_baseHasIn.js +11 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +15 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +14 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +14 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +35 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +31 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +11 -0
- package/dist/node_modules/lodash/_baseIsNative.js +16 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +16 -0
- package/dist/node_modules/lodash/_baseIteratee.js +17 -0
- package/dist/node_modules/lodash/_baseKeys.js +17 -0
- package/dist/node_modules/lodash/_baseLt.js +11 -0
- package/dist/node_modules/lodash/_baseMap.js +17 -0
- package/dist/node_modules/lodash/_baseMatches.js +18 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +22 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +37 -0
- package/dist/node_modules/lodash/_baseProperty.js +13 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js +13 -0
- package/dist/node_modules/lodash/_baseRest.js +15 -0
- package/dist/node_modules/lodash/_baseSetToString.js +19 -0
- package/dist/node_modules/lodash/_baseSlice.js +14 -0
- package/dist/node_modules/lodash/_baseSome.js +16 -0
- package/dist/node_modules/lodash/_baseSortBy.js +13 -0
- package/dist/node_modules/lodash/_baseTimes.js +12 -0
- package/dist/node_modules/lodash/_baseToString.js +20 -0
- package/dist/node_modules/lodash/_baseTrim.js +13 -0
- package/dist/node_modules/lodash/_baseUnary.js +13 -0
- package/dist/node_modules/lodash/_baseUniq.js +32 -0
- package/dist/node_modules/lodash/_cacheHas.js +11 -0
- package/dist/node_modules/lodash/_castPath.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js +14 -0
- package/dist/node_modules/lodash/_compareAscending.js +18 -0
- package/dist/node_modules/lodash/_compareMultiple.js +17 -0
- package/dist/node_modules/lodash/_coreJsData.js +9 -0
- package/dist/node_modules/lodash/_createBaseEach.js +18 -0
- package/dist/node_modules/lodash/_createBaseFor.js +17 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +20 -0
- package/dist/node_modules/lodash/_createFind.js +25 -0
- package/dist/node_modules/lodash/_createRange.js +17 -0
- package/dist/node_modules/lodash/_createSet.js +14 -0
- package/dist/node_modules/lodash/_defineProperty.js +15 -0
- package/dist/node_modules/lodash/_equalArrays.js +40 -0
- package/dist/node_modules/lodash/_equalByTag.js +40 -0
- package/dist/node_modules/lodash/_equalObjects.js +37 -0
- package/dist/node_modules/lodash/_freeGlobal.js +8 -0
- package/dist/node_modules/lodash/_getAllKeys.js +15 -0
- package/dist/node_modules/lodash/_getMapData.js +14 -0
- package/dist/node_modules/lodash/_getMatchData.js +22 -0
- package/dist/node_modules/lodash/_getNative.js +15 -0
- package/dist/node_modules/lodash/_getPrototype.js +9 -0
- package/dist/node_modules/lodash/_getRawTag.js +19 -0
- package/dist/node_modules/lodash/_getSymbols.js +15 -0
- package/dist/node_modules/lodash/_getTag.js +26 -0
- package/dist/node_modules/lodash/_getValue.js +11 -0
- package/dist/node_modules/lodash/_hasPath.js +24 -0
- package/dist/node_modules/lodash/_hasUnicode.js +12 -0
- package/dist/node_modules/lodash/_hashClear.js +13 -0
- package/dist/node_modules/lodash/_hashDelete.js +12 -0
- package/dist/node_modules/lodash/_hashGet.js +18 -0
- package/dist/node_modules/lodash/_hashHas.js +14 -0
- package/dist/node_modules/lodash/_hashSet.js +14 -0
- package/dist/node_modules/lodash/_isFlattenable.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js +13 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +18 -0
- package/dist/node_modules/lodash/_isKey.js +16 -0
- package/dist/node_modules/lodash/_isKeyable.js +12 -0
- package/dist/node_modules/lodash/_isMasked.js +16 -0
- package/dist/node_modules/lodash/_isPrototype.js +13 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js +11 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +14 -0
- package/dist/node_modules/lodash/_listCacheGet.js +14 -0
- package/dist/node_modules/lodash/_listCacheHas.js +13 -0
- package/dist/node_modules/lodash/_listCacheSet.js +14 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +19 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +14 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +13 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +13 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +14 -0
- package/dist/node_modules/lodash/_mapToArray.js +14 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +13 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +16 -0
- package/dist/node_modules/lodash/_nativeCreate.js +9 -0
- package/dist/node_modules/lodash/_nativeKeys.js +9 -0
- package/dist/node_modules/lodash/_nodeUtil.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js +12 -0
- package/dist/node_modules/lodash/_overArg.js +13 -0
- package/dist/node_modules/lodash/_overRest.js +18 -0
- package/dist/node_modules/lodash/_root.js +10 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +12 -0
- package/dist/node_modules/lodash/_setCacheHas.js +11 -0
- package/dist/node_modules/lodash/_setToArray.js +14 -0
- package/dist/node_modules/lodash/_setToString.js +11 -0
- package/dist/node_modules/lodash/_shortOut.js +19 -0
- package/dist/node_modules/lodash/_stackClear.js +13 -0
- package/dist/node_modules/lodash/_stackDelete.js +12 -0
- package/dist/node_modules/lodash/_stackGet.js +11 -0
- package/dist/node_modules/lodash/_stackHas.js +11 -0
- package/dist/node_modules/lodash/_stackSet.js +21 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +12 -0
- package/dist/node_modules/lodash/_stringToArray.js +15 -0
- package/dist/node_modules/lodash/_stringToPath.js +15 -0
- package/dist/node_modules/lodash/_toKey.js +15 -0
- package/dist/node_modules/lodash/_toSource.js +20 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +13 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +22 -0
- package/dist/node_modules/lodash/constant.js +13 -0
- package/dist/node_modules/lodash/debounce.js +55 -0
- package/dist/node_modules/lodash/eq.js +11 -0
- package/dist/node_modules/lodash/every.js +18 -0
- package/dist/node_modules/lodash/find.js +10 -0
- package/dist/node_modules/lodash/findIndex.js +18 -0
- package/dist/node_modules/lodash/flatMap.js +14 -0
- package/dist/node_modules/lodash/get.js +14 -0
- package/dist/node_modules/lodash/hasIn.js +14 -0
- package/dist/node_modules/lodash/identity.js +11 -0
- package/dist/node_modules/lodash/isArguments.js +15 -0
- package/dist/node_modules/lodash/isArray.js +8 -0
- package/dist/node_modules/lodash/isArrayLike.js +14 -0
- package/dist/node_modules/lodash/isBoolean.js +14 -0
- package/dist/node_modules/lodash/isBuffer.js +11 -0
- package/dist/node_modules/lodash/isEqual.js +13 -0
- package/dist/node_modules/lodash/isFunction.js +16 -0
- package/dist/node_modules/lodash/isLength.js +12 -0
- package/dist/node_modules/lodash/isNaN.js +13 -0
- package/dist/node_modules/lodash/isNil.js +11 -0
- package/dist/node_modules/lodash/isNumber.js +14 -0
- package/dist/node_modules/lodash/isObject.js +12 -0
- package/dist/node_modules/lodash/isObjectLike.js +11 -0
- package/dist/node_modules/lodash/isPlainObject.js +19 -0
- package/dist/node_modules/lodash/isString.js +15 -0
- package/dist/node_modules/lodash/isSymbol.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js +12 -0
- package/dist/node_modules/lodash/keys.js +15 -0
- package/dist/node_modules/lodash/last.js +12 -0
- package/dist/node_modules/lodash/map.js +16 -0
- package/dist/node_modules/lodash/mapValues.js +18 -0
- package/dist/node_modules/lodash/max.js +15 -0
- package/dist/node_modules/lodash/maxBy.js +15 -0
- package/dist/node_modules/lodash/memoize.js +20 -0
- package/dist/node_modules/lodash/min.js +15 -0
- package/dist/node_modules/lodash/minBy.js +15 -0
- package/dist/node_modules/lodash/noop.js +9 -0
- package/dist/node_modules/lodash/now.js +12 -0
- package/dist/node_modules/lodash/property.js +16 -0
- package/dist/node_modules/lodash/range.js +9 -0
- package/dist/node_modules/lodash/some.js +18 -0
- package/dist/node_modules/lodash/sortBy.js +17 -0
- package/dist/node_modules/lodash/stubArray.js +11 -0
- package/dist/node_modules/lodash/stubFalse.js +11 -0
- package/dist/node_modules/lodash/throttle.js +20 -0
- package/dist/node_modules/lodash/toFinite.js +13 -0
- package/dist/node_modules/lodash/toInteger.js +14 -0
- package/dist/node_modules/lodash/toNumber.js +24 -0
- package/dist/node_modules/lodash/toString.js +13 -0
- package/dist/node_modules/lodash/uniqBy.js +14 -0
- package/dist/node_modules/lodash/upperFirst.js +9 -0
- package/dist/node_modules/lucide-react/dist/esm/Icon.js +16 -0
- package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +15 -0
- package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/activity.js +8 -0
- package/dist/{arrow-up-VQuGMABN.js → node_modules/lucide-react/dist/esm/icons/arrow-down.js} +2 -8
- package/dist/{arrow-left-1dVWv2dg.js → node_modules/lucide-react/dist/esm/icons/arrow-left.js} +2 -2
- package/dist/{arrow-right-PUCNATnk.js → node_modules/lucide-react/dist/esm/icons/arrow-right.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up-down.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/arrow-up.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/bell.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/bot.js +34 -0
- package/dist/{box-DW1KNP8j.js → node_modules/lucide-react/dist/esm/icons/box.js} +2 -2
- package/dist/{boxes-D6I00XqA.js → node_modules/lucide-react/dist/esm/icons/boxes.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/building-2.js +34 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/building.js +55 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +26 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/car.js +26 -0
- package/dist/{chart-column-BwQ5H9ol.js → node_modules/lucide-react/dist/esm/icons/chart-column.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/check.js +8 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +8 -0
- package/dist/{chevron-left-DzNxoaBG.js → node_modules/lucide-react/dist/esm/icons/chevron-left.js} +2 -2
- package/dist/{chevron-right-CKm3ZC1T.js → node_modules/lucide-react/dist/esm/icons/chevron-right.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/chevron-up.js +8 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-left.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-right.js +11 -0
- package/dist/{circle-alert-CtBm6oIb.js → node_modules/lucide-react/dist/esm/icons/circle-alert.js} +2 -2
- package/dist/{circle-check-big-H5pLiMBW.js → node_modules/lucide-react/dist/esm/icons/circle-check-big.js} +2 -2
- package/dist/{circle-check-B_Y7FDyR.js → node_modules/lucide-react/dist/esm/icons/circle-check.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/circle-x.js +20 -0
- package/dist/{clock-B4-qjGuB.js → node_modules/lucide-react/dist/esm/icons/clock.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/coffee.js +22 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/credit-card.js +18 -0
- package/dist/{dollar-sign-CYGHy2oS.js → node_modules/lucide-react/dist/esm/icons/dollar-sign.js} +2 -2
- package/dist/{download-BJonq2ty.js → node_modules/lucide-react/dist/esm/icons/download.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/external-link.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-chart-column-increasing.js +26 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/file-spreadsheet.js +30 -0
- package/dist/{file-text-C-cZx58r.js → node_modules/lucide-react/dist/esm/icons/file-text.js} +2 -2
- package/dist/{filter-B_S6WOqr.js → node_modules/lucide-react/dist/esm/icons/filter.js} +2 -2
- package/dist/{fuel-Cjt6IxKr.js → node_modules/lucide-react/dist/esm/icons/fuel.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/gauge.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/globe.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/info.js +20 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/layout-dashboard.js +38 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/lightbulb.js +18 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/list.js +30 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/mail.js +15 -0
- package/dist/{map-pin-BISLzLwb.js → node_modules/lucide-react/dist/esm/icons/map-pin.js} +2 -2
- package/dist/{map-CO0aWUae.js → node_modules/lucide-react/dist/esm/icons/map.js} +2 -2
- package/dist/{navigation-BFki5UJz.js → node_modules/lucide-react/dist/esm/icons/navigation.js} +2 -2
- package/dist/{package-UyaWiALC.js → node_modules/lucide-react/dist/esm/icons/package.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/phone.js +8 -0
- package/dist/{plus-Bk_G-lFC.js → node_modules/lucide-react/dist/esm/icons/plus.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/printer.js +22 -0
- package/dist/{refresh-cw-C4-jecjy.js → node_modules/lucide-react/dist/esm/icons/refresh-cw.js} +2 -2
- package/dist/{route-WpCP6F1x.js → node_modules/lucide-react/dist/esm/icons/route.js} +2 -2
- package/dist/{save-CcfoIn2J.js → node_modules/lucide-react/dist/esm/icons/save.js} +2 -2
- package/dist/{search-C3YRxW9e.js → node_modules/lucide-react/dist/esm/icons/search.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/send.js +11 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/settings.js +13 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/shield.js +8 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/sparkles.js +26 -0
- package/dist/{square-pen-Dr1X-P2s.js → node_modules/lucide-react/dist/esm/icons/square-pen.js} +2 -2
- package/dist/{star-1Ixfuzai.js → node_modules/lucide-react/dist/esm/icons/star.js} +2 -2
- package/dist/{store-BwU935v5.js → node_modules/lucide-react/dist/esm/icons/store.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/tag.js +14 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/thermometer.js +8 -0
- package/dist/{trash-2-CC4KugEJ.js → node_modules/lucide-react/dist/esm/icons/trash-2.js} +2 -2
- package/dist/{trending-up-1brglj1E.js → node_modules/lucide-react/dist/esm/icons/trending-up.js} +2 -2
- package/dist/{triangle-alert-Dh56Yu3-.js → node_modules/lucide-react/dist/esm/icons/triangle-alert.js} +2 -2
- package/dist/{truck-DxhtLfkG.js → node_modules/lucide-react/dist/esm/icons/truck.js} +2 -2
- package/dist/{upload-CLf0JLXW.js → node_modules/lucide-react/dist/esm/icons/upload.js} +2 -2
- package/dist/{user-check-Cx6fHHll.js → node_modules/lucide-react/dist/esm/icons/user-check.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/user-minus.js +23 -0
- package/dist/node_modules/lucide-react/dist/esm/icons/user-plus.js +30 -0
- package/dist/{user-B1IjWJtn.js → node_modules/lucide-react/dist/esm/icons/user.js} +2 -2
- package/dist/{users-BKmsb79k.js → node_modules/lucide-react/dist/esm/icons/users.js} +2 -2
- package/dist/{warehouse-DE1irFyJ.js → node_modules/lucide-react/dist/esm/icons/warehouse.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/webhook.js +18 -0
- package/dist/{wrench-DTJGFs17.js → node_modules/lucide-react/dist/esm/icons/wrench.js} +2 -2
- package/dist/{x-CvsUGJy1.js → node_modules/lucide-react/dist/esm/icons/x.js} +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/zap.js +8 -0
- package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +4 -0
- package/dist/node_modules/object-assign/index.js +39 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +44 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +47 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +270 -0
- package/dist/node_modules/prop-types/index.js +14 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +8 -0
- package/dist/node_modules/prop-types/lib/has.js +8 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +82 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +62 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +85 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +63 -0
- package/dist/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/react-leaflet/lib/MapContainer.js +31 -0
- package/dist/node_modules/react-leaflet/lib/Marker.js +14 -0
- package/dist/node_modules/react-leaflet/lib/Polyline.js +14 -0
- package/dist/node_modules/react-leaflet/lib/Popup.js +35 -0
- package/dist/node_modules/react-leaflet/lib/TileLayer.js +16 -0
- package/dist/node_modules/react-leaflet/lib/hooks.js +8 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +372 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +71 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +171 -0
- package/dist/node_modules/react-smooth/es6/easing.js +150 -0
- package/dist/node_modules/react-smooth/es6/index.js +7 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +12 -0
- package/dist/node_modules/react-smooth/es6/util.js +90 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js +433 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +385 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +497 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +336 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +303 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +241 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +471 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +171 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +176 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +252 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +142 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +141 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +16 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +119 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +99 -0
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +20 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +20 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +32 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1243 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +7 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +91 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +235 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +169 -0
- package/dist/node_modules/recharts/es6/component/Label.js +351 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +164 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +232 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +185 -0
- package/dist/node_modules/recharts/es6/component/Text.js +223 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +180 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +196 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +38 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +58 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +55 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +433 -0
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +213 -0
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +266 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +110 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +134 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +25 -0
- package/dist/node_modules/recharts/es6/shape/Polygon.js +110 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +203 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +190 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +141 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +173 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +179 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +110 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +232 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +560 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +68 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +106 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +55 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +56 -0
- package/dist/node_modules/recharts/es6/util/Events.js +5 -0
- package/dist/node_modules/recharts/es6/util/Global.js +19 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +7 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +13 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +196 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +135 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +179 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +8 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +29 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +21 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +14 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +15 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +10 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +86 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +11 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +10 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +85 -0
- package/dist/node_modules/recharts/es6/util/types.js +41 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +130 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +30 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +77 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1714 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +11 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +51 -0
- package/dist/node_modules/zustand/esm/middleware.js +240 -0
- package/dist/{AIAssistantPage-MWJLAMN_.js → pages/AIAssistantPage.js} +61 -99
- package/dist/{AnalyticsPage-900jpV2T.js → pages/AnalyticsPage.js} +39 -34
- package/dist/{CreateOrderPage-CXbhJLLz.js → pages/CreateOrderPage.js} +97 -94
- package/dist/pages/CustomerDetailsPage.js +567 -0
- package/dist/{CustomersPage-CwtVspuq.js → pages/CustomersPage.js} +39 -67
- package/dist/{DashboardPage-BoswH3ec.js → pages/DashboardPage.js} +166 -165
- package/dist/{DriverDetailsPage-CPO0G8Ki.js → pages/DriverDetailsPage.js} +148 -145
- package/dist/{DriversPage-6Z61dpDI.js → pages/DriversPage.js} +56 -89
- package/dist/{FinancePage-DYadOUzC.js → pages/FinancePage.js} +41 -51
- package/dist/{FleetPage-qWRj7WFO.js → pages/FleetPage.js} +88 -85
- package/dist/{ImportExportPage-BhWGfbH3.js → pages/ImportExportPage.js} +63 -88
- package/dist/{InventoryPage-DbR4Z--d.js → pages/InventoryPage.js} +56 -53
- package/dist/{LiveTrackingPage-5U68u3oA.js → pages/LiveTrackingPage.js} +66 -89
- package/dist/pages/MarketplacePage.js +425 -0
- package/dist/pages/OrderDetailsPage.js +562 -0
- package/dist/pages/OrdersListPage.js +364 -0
- package/dist/{ProductDetailsPage-CWgcRqGR.js → pages/ProductDetailsPage.js} +99 -107
- package/dist/{ProductsPage-CokwDOR2.js → pages/ProductsPage.js} +35 -37
- package/dist/pages/ReportsPage.js +317 -0
- package/dist/pages/RouteDetailsPage.js +646 -0
- package/dist/{RoutesPage-hec06HnD.js → pages/RoutesPage.js} +26 -22
- package/dist/{SettingsPage-_6SIlcBX.js → pages/SettingsPage.js} +90 -106
- package/dist/{TrackingPage-Cg0tYGJe.js → pages/TrackingPage.js} +69 -65
- package/dist/{VehicleDetailsPage-BbZlCFPo.js → pages/VehicleDetailsPage.js} +129 -126
- package/dist/{VehiclesPage-BfBEyXGs.js → pages/VehiclesPage.js} +38 -35
- package/dist/{WarehouseDetailsPage-DxNhiaoI.js → pages/WarehouseDetailsPage.js} +140 -137
- package/dist/{WarehousesPage-M3NaBT0z.js → pages/WarehousesPage.js} +35 -40
- package/dist/providers/MoveTheWheelsProvider.js +32 -0
- package/dist/services/createSandboxAssistantTransport.d.ts +1 -0
- package/dist/services/createSandboxAssistantTransport.js +10 -0
- package/dist/store/movethewheelsStore.js +63 -0
- package/dist/utils/cn.js +8 -0
- package/dist/utils/download.js +22 -0
- package/dist/{formatters-FWJDwTFv.js → utils/formatters.js} +1 -1
- package/dist/utils/graphqlClient.js +84 -0
- package/dist/{mapMarkers-NCV9MRKR.js → utils/mapMarkers.js} +1 -1
- package/dist/utils/navigation.js +6 -0
- package/package.json +6 -2
- package/src/movethewheels/index.ts +11 -0
- package/src/movethewheels/services/createSandboxAssistantTransport.ts +32 -0
- package/dist/CustomerDetailsPage-CHzg75Q5.js +0 -615
- package/dist/DocumentsCard-y2ybnAlu.js +0 -169
- package/dist/MarketplacePage-DMH0HNDH.js +0 -426
- package/dist/Notice-BrXJ85dA.js +0 -46
- package/dist/OrderDetailsPage-DRYifXm9.js +0 -588
- package/dist/OrdersListPage-DvICveRv.js +0 -388
- package/dist/PageLayout-j9Zw3wBN.js +0 -2070
- package/dist/ReportsPage-MU8F9DQC.js +0 -377
- package/dist/RouteDetailsPage-sRRVY5UM.js +0 -642
- package/dist/Sparkline-DTGdlxUH.js +0 -16729
- package/dist/StatusBadge-BfiF-nNI.js +0 -152
- package/dist/charts-Dv_zxP7L.js +0 -2018
- package/dist/phone-Bav_V7rR.js +0 -18
- package/dist/useAssistant-B9qBtRKm.js +0 -67
- package/dist/useSettings-BNNzQs_B.js +0 -81
- /package/dist/{index.css → microfe-movethewheels.css} +0 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { isNumber as e } from "../util/DataUtils.js";
|
|
2
|
+
import { DefaultLegendContent as t } from "./DefaultLegendContent.js";
|
|
3
|
+
import { getUniqPayload as n } from "../util/payload/getUniqPayload.js";
|
|
4
|
+
import r, { PureComponent as i } from "react";
|
|
5
|
+
//#region node_modules/recharts/es6/component/Legend.js
|
|
6
|
+
function a(e) {
|
|
7
|
+
"@babel/helpers - typeof";
|
|
8
|
+
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
9
|
+
return typeof e;
|
|
10
|
+
} : function(e) {
|
|
11
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
12
|
+
}, a(e);
|
|
13
|
+
}
|
|
14
|
+
var o = ["ref"];
|
|
15
|
+
function s(e, t) {
|
|
16
|
+
var n = Object.keys(e);
|
|
17
|
+
if (Object.getOwnPropertySymbols) {
|
|
18
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
19
|
+
t && (r = r.filter(function(t) {
|
|
20
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
21
|
+
})), n.push.apply(n, r);
|
|
22
|
+
}
|
|
23
|
+
return n;
|
|
24
|
+
}
|
|
25
|
+
function c(e) {
|
|
26
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
27
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
28
|
+
t % 2 ? s(Object(n), !0).forEach(function(t) {
|
|
29
|
+
y(e, t, n[t]);
|
|
30
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
|
|
31
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return e;
|
|
35
|
+
}
|
|
36
|
+
function l(e, t) {
|
|
37
|
+
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
38
|
+
}
|
|
39
|
+
function u(e, t) {
|
|
40
|
+
for (var n = 0; n < t.length; n++) {
|
|
41
|
+
var r = t[n];
|
|
42
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, b(r.key), r);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function d(e, t, n) {
|
|
46
|
+
return t && u(e.prototype, t), n && u(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
47
|
+
}
|
|
48
|
+
function f(e, t, n) {
|
|
49
|
+
return t = g(t), p(e, h() ? Reflect.construct(t, n || [], g(e).constructor) : t.apply(e, n));
|
|
50
|
+
}
|
|
51
|
+
function p(e, t) {
|
|
52
|
+
if (t && (a(t) === "object" || typeof t == "function")) return t;
|
|
53
|
+
if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
|
|
54
|
+
return m(e);
|
|
55
|
+
}
|
|
56
|
+
function m(e) {
|
|
57
|
+
if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
58
|
+
return e;
|
|
59
|
+
}
|
|
60
|
+
function h() {
|
|
61
|
+
try {
|
|
62
|
+
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
63
|
+
} catch {}
|
|
64
|
+
return (h = function() {
|
|
65
|
+
return !!e;
|
|
66
|
+
})();
|
|
67
|
+
}
|
|
68
|
+
function g(e) {
|
|
69
|
+
return g = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
|
|
70
|
+
return e.__proto__ || Object.getPrototypeOf(e);
|
|
71
|
+
}, g(e);
|
|
72
|
+
}
|
|
73
|
+
function _(e, t) {
|
|
74
|
+
if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
|
|
75
|
+
e.prototype = Object.create(t && t.prototype, { constructor: {
|
|
76
|
+
value: e,
|
|
77
|
+
writable: !0,
|
|
78
|
+
configurable: !0
|
|
79
|
+
} }), Object.defineProperty(e, "prototype", { writable: !1 }), t && v(e, t);
|
|
80
|
+
}
|
|
81
|
+
function v(e, t) {
|
|
82
|
+
return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
|
|
83
|
+
return e.__proto__ = t, e;
|
|
84
|
+
}, v(e, t);
|
|
85
|
+
}
|
|
86
|
+
function y(e, t, n) {
|
|
87
|
+
return t = b(t), t in e ? Object.defineProperty(e, t, {
|
|
88
|
+
value: n,
|
|
89
|
+
enumerable: !0,
|
|
90
|
+
configurable: !0,
|
|
91
|
+
writable: !0
|
|
92
|
+
}) : e[t] = n, e;
|
|
93
|
+
}
|
|
94
|
+
function b(e) {
|
|
95
|
+
var t = x(e, "string");
|
|
96
|
+
return a(t) == "symbol" ? t : t + "";
|
|
97
|
+
}
|
|
98
|
+
function x(e, t) {
|
|
99
|
+
if (a(e) != "object" || !e) return e;
|
|
100
|
+
var n = e[Symbol.toPrimitive];
|
|
101
|
+
if (n !== void 0) {
|
|
102
|
+
var r = n.call(e, t || "default");
|
|
103
|
+
if (a(r) != "object") return r;
|
|
104
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
105
|
+
}
|
|
106
|
+
return (t === "string" ? String : Number)(e);
|
|
107
|
+
}
|
|
108
|
+
function S(e, t) {
|
|
109
|
+
if (e == null) return {};
|
|
110
|
+
var n = C(e, t), r, i;
|
|
111
|
+
if (Object.getOwnPropertySymbols) {
|
|
112
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
113
|
+
for (i = 0; i < a.length; i++) r = a[i], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
|
|
114
|
+
}
|
|
115
|
+
return n;
|
|
116
|
+
}
|
|
117
|
+
function C(e, t) {
|
|
118
|
+
if (e == null) return {};
|
|
119
|
+
var n = {};
|
|
120
|
+
for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) {
|
|
121
|
+
if (t.indexOf(r) >= 0) continue;
|
|
122
|
+
n[r] = e[r];
|
|
123
|
+
}
|
|
124
|
+
return n;
|
|
125
|
+
}
|
|
126
|
+
function w(e) {
|
|
127
|
+
return e.value;
|
|
128
|
+
}
|
|
129
|
+
function T(e, n) {
|
|
130
|
+
if (/* @__PURE__ */ r.isValidElement(e)) return /* @__PURE__ */ r.cloneElement(e, n);
|
|
131
|
+
if (typeof e == "function") return /* @__PURE__ */ r.createElement(e, n);
|
|
132
|
+
n.ref;
|
|
133
|
+
var i = S(n, o);
|
|
134
|
+
return /* @__PURE__ */ r.createElement(t, i);
|
|
135
|
+
}
|
|
136
|
+
var E = 1, D = /* @__PURE__ */ function(t) {
|
|
137
|
+
function i() {
|
|
138
|
+
var e;
|
|
139
|
+
l(this, i);
|
|
140
|
+
var t = [...arguments];
|
|
141
|
+
return e = f(this, i, [].concat(t)), y(e, "lastBoundingBox", {
|
|
142
|
+
width: -1,
|
|
143
|
+
height: -1
|
|
144
|
+
}), e;
|
|
145
|
+
}
|
|
146
|
+
return _(i, t), d(i, [
|
|
147
|
+
{
|
|
148
|
+
key: "componentDidMount",
|
|
149
|
+
value: function() {
|
|
150
|
+
this.updateBBox();
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
key: "componentDidUpdate",
|
|
155
|
+
value: function() {
|
|
156
|
+
this.updateBBox();
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
key: "getBBox",
|
|
161
|
+
value: function() {
|
|
162
|
+
if (this.wrapperNode && this.wrapperNode.getBoundingClientRect) {
|
|
163
|
+
var e = this.wrapperNode.getBoundingClientRect();
|
|
164
|
+
return e.height = this.wrapperNode.offsetHeight, e.width = this.wrapperNode.offsetWidth, e;
|
|
165
|
+
}
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
key: "updateBBox",
|
|
171
|
+
value: function() {
|
|
172
|
+
var e = this.props.onBBoxUpdate, t = this.getBBox();
|
|
173
|
+
t ? (Math.abs(t.width - this.lastBoundingBox.width) > E || Math.abs(t.height - this.lastBoundingBox.height) > E) && (this.lastBoundingBox.width = t.width, this.lastBoundingBox.height = t.height, e && e(t)) : (this.lastBoundingBox.width !== -1 || this.lastBoundingBox.height !== -1) && (this.lastBoundingBox.width = -1, this.lastBoundingBox.height = -1, e && e(null));
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
key: "getBBoxSnapshot",
|
|
178
|
+
value: function() {
|
|
179
|
+
return this.lastBoundingBox.width >= 0 && this.lastBoundingBox.height >= 0 ? c({}, this.lastBoundingBox) : {
|
|
180
|
+
width: 0,
|
|
181
|
+
height: 0
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
key: "getDefaultPosition",
|
|
187
|
+
value: function(e) {
|
|
188
|
+
var t = this.props, n = t.layout, r = t.align, i = t.verticalAlign, a = t.margin, o = t.chartWidth, s = t.chartHeight, l, u;
|
|
189
|
+
if (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) if (r === "center" && n === "vertical") {
|
|
190
|
+
var d = this.getBBoxSnapshot();
|
|
191
|
+
l = { left: ((o || 0) - d.width) / 2 };
|
|
192
|
+
} else l = r === "right" ? { right: a && a.right || 0 } : { left: a && a.left || 0 };
|
|
193
|
+
if (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) if (i === "middle") {
|
|
194
|
+
var f = this.getBBoxSnapshot();
|
|
195
|
+
u = { top: ((s || 0) - f.height) / 2 };
|
|
196
|
+
} else u = i === "bottom" ? { bottom: a && a.bottom || 0 } : { top: a && a.top || 0 };
|
|
197
|
+
return c(c({}, l), u);
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
key: "render",
|
|
202
|
+
value: function() {
|
|
203
|
+
var e = this, t = this.props, i = t.content, a = t.width, o = t.height, s = t.wrapperStyle, l = t.payloadUniqBy, u = t.payload, d = c(c({
|
|
204
|
+
position: "absolute",
|
|
205
|
+
width: a || "auto",
|
|
206
|
+
height: o || "auto"
|
|
207
|
+
}, this.getDefaultPosition(s)), s);
|
|
208
|
+
return /* @__PURE__ */ r.createElement("div", {
|
|
209
|
+
className: "recharts-legend-wrapper",
|
|
210
|
+
style: d,
|
|
211
|
+
ref: function(t) {
|
|
212
|
+
e.wrapperNode = t;
|
|
213
|
+
}
|
|
214
|
+
}, T(i, c(c({}, this.props), {}, { payload: n(u, l, w) })));
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
], [{
|
|
218
|
+
key: "getWithHeight",
|
|
219
|
+
value: function(t, n) {
|
|
220
|
+
var r = c(c({}, this.defaultProps), t.props).layout;
|
|
221
|
+
return r === "vertical" && e(t.props.height) ? { height: t.props.height } : r === "horizontal" ? { width: t.props.width || n } : null;
|
|
222
|
+
}
|
|
223
|
+
}]);
|
|
224
|
+
}(i);
|
|
225
|
+
y(D, "displayName", "Legend"), y(D, "defaultProps", {
|
|
226
|
+
iconSize: 14,
|
|
227
|
+
layout: "horizontal",
|
|
228
|
+
align: "center",
|
|
229
|
+
verticalAlign: "bottom"
|
|
230
|
+
});
|
|
231
|
+
//#endregion
|
|
232
|
+
export { D as Legend };
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t from "../../../clsx/dist/clsx.js";
|
|
3
|
+
import { isPercent as n } from "../util/DataUtils.js";
|
|
4
|
+
import { getDisplayName as r } from "../util/ReactUtils.js";
|
|
5
|
+
import { warn as i } from "../util/LogUtils.js";
|
|
6
|
+
import { require_throttle as a } from "../../../lodash/throttle.js";
|
|
7
|
+
import o, { cloneElement as s, forwardRef as c, useCallback as l, useEffect as u, useImperativeHandle as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
8
|
+
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
|
|
9
|
+
var h = /* @__PURE__ */ e(a());
|
|
10
|
+
function g(e) {
|
|
11
|
+
"@babel/helpers - typeof";
|
|
12
|
+
return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
13
|
+
return typeof e;
|
|
14
|
+
} : function(e) {
|
|
15
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
16
|
+
}, g(e);
|
|
17
|
+
}
|
|
18
|
+
function _(e, t) {
|
|
19
|
+
var n = Object.keys(e);
|
|
20
|
+
if (Object.getOwnPropertySymbols) {
|
|
21
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
22
|
+
t && (r = r.filter(function(t) {
|
|
23
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
24
|
+
})), n.push.apply(n, r);
|
|
25
|
+
}
|
|
26
|
+
return n;
|
|
27
|
+
}
|
|
28
|
+
function v(e) {
|
|
29
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
30
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
31
|
+
t % 2 ? _(Object(n), !0).forEach(function(t) {
|
|
32
|
+
y(e, t, n[t]);
|
|
33
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _(Object(n)).forEach(function(t) {
|
|
34
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return e;
|
|
38
|
+
}
|
|
39
|
+
function y(e, t, n) {
|
|
40
|
+
return t = b(t), t in e ? Object.defineProperty(e, t, {
|
|
41
|
+
value: n,
|
|
42
|
+
enumerable: !0,
|
|
43
|
+
configurable: !0,
|
|
44
|
+
writable: !0
|
|
45
|
+
}) : e[t] = n, e;
|
|
46
|
+
}
|
|
47
|
+
function b(e) {
|
|
48
|
+
var t = x(e, "string");
|
|
49
|
+
return g(t) == "symbol" ? t : t + "";
|
|
50
|
+
}
|
|
51
|
+
function x(e, t) {
|
|
52
|
+
if (g(e) != "object" || !e) return e;
|
|
53
|
+
var n = e[Symbol.toPrimitive];
|
|
54
|
+
if (n !== void 0) {
|
|
55
|
+
var r = n.call(e, t || "default");
|
|
56
|
+
if (g(r) != "object") return r;
|
|
57
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
58
|
+
}
|
|
59
|
+
return (t === "string" ? String : Number)(e);
|
|
60
|
+
}
|
|
61
|
+
function S(e, t) {
|
|
62
|
+
return D(e) || E(e, t) || w(e, t) || C();
|
|
63
|
+
}
|
|
64
|
+
function C() {
|
|
65
|
+
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
66
|
+
}
|
|
67
|
+
function w(e, t) {
|
|
68
|
+
if (e) {
|
|
69
|
+
if (typeof e == "string") return T(e, t);
|
|
70
|
+
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
71
|
+
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
72
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return T(e, t);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function T(e, t) {
|
|
76
|
+
(t == null || t > e.length) && (t = e.length);
|
|
77
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
78
|
+
return r;
|
|
79
|
+
}
|
|
80
|
+
function E(e, t) {
|
|
81
|
+
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
82
|
+
if (n != null) {
|
|
83
|
+
var r, i, a, o, s = [], c = !0, l = !1;
|
|
84
|
+
try {
|
|
85
|
+
if (a = (n = n.call(e)).next, t === 0) {
|
|
86
|
+
if (Object(n) !== n) return;
|
|
87
|
+
c = !1;
|
|
88
|
+
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
89
|
+
} catch (e) {
|
|
90
|
+
l = !0, i = e;
|
|
91
|
+
} finally {
|
|
92
|
+
try {
|
|
93
|
+
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
94
|
+
} finally {
|
|
95
|
+
if (l) throw i;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return s;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function D(e) {
|
|
102
|
+
if (Array.isArray(e)) return e;
|
|
103
|
+
}
|
|
104
|
+
var O = /* @__PURE__ */ c(function(e, a) {
|
|
105
|
+
var c = e.aspect, g = e.initialDimension, _ = g === void 0 ? {
|
|
106
|
+
width: -1,
|
|
107
|
+
height: -1
|
|
108
|
+
} : g, y = e.width, b = y === void 0 ? "100%" : y, x = e.height, C = x === void 0 ? "100%" : x, w = e.minWidth, T = w === void 0 ? 0 : w, E = e.minHeight, D = e.maxHeight, O = e.children, k = e.debounce, A = k === void 0 ? 0 : k, j = e.id, M = e.className, N = e.onResize, P = e.style, F = P === void 0 ? {} : P, I = p(null), L = p();
|
|
109
|
+
L.current = N, d(a, function() {
|
|
110
|
+
return Object.defineProperty(I.current, "current", {
|
|
111
|
+
get: function() {
|
|
112
|
+
return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."), I.current;
|
|
113
|
+
},
|
|
114
|
+
configurable: !0
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
var R = S(m({
|
|
118
|
+
containerWidth: _.width,
|
|
119
|
+
containerHeight: _.height
|
|
120
|
+
}), 2), z = R[0], B = R[1], V = l(function(e, t) {
|
|
121
|
+
B(function(n) {
|
|
122
|
+
var r = Math.round(e), i = Math.round(t);
|
|
123
|
+
return n.containerWidth === r && n.containerHeight === i ? n : {
|
|
124
|
+
containerWidth: r,
|
|
125
|
+
containerHeight: i
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
}, []);
|
|
129
|
+
u(function() {
|
|
130
|
+
var e = function(e) {
|
|
131
|
+
var t, n = e[0].contentRect, r = n.width, i = n.height;
|
|
132
|
+
V(r, i), (t = L.current) == null || t.call(L, r, i);
|
|
133
|
+
};
|
|
134
|
+
A > 0 && (e = (0, h.default)(e, A, {
|
|
135
|
+
trailing: !0,
|
|
136
|
+
leading: !1
|
|
137
|
+
}));
|
|
138
|
+
var t = new ResizeObserver(e), n = I.current.getBoundingClientRect(), r = n.width, i = n.height;
|
|
139
|
+
return V(r, i), t.observe(I.current), function() {
|
|
140
|
+
t.disconnect();
|
|
141
|
+
};
|
|
142
|
+
}, [V, A]);
|
|
143
|
+
var H = f(function() {
|
|
144
|
+
var e = z.containerWidth, t = z.containerHeight;
|
|
145
|
+
if (e < 0 || t < 0) return null;
|
|
146
|
+
i(n(b) || n(C), "The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.", b, C), i(!c || c > 0, "The aspect(%s) must be greater than zero.", c);
|
|
147
|
+
var a = n(b) ? e : b, l = n(C) ? t : C;
|
|
148
|
+
c && c > 0 && (a ? l = a / c : l && (a = l * c), D && l > D && (l = D)), i(a > 0 || l > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", a, l, b, C, T, E, c);
|
|
149
|
+
var u = !Array.isArray(O) && r(O.type).endsWith("Chart");
|
|
150
|
+
return o.Children.map(O, function(e) {
|
|
151
|
+
return /* @__PURE__ */ o.isValidElement(e) ? /* @__PURE__ */ s(e, v({
|
|
152
|
+
width: a,
|
|
153
|
+
height: l
|
|
154
|
+
}, u ? { style: v({
|
|
155
|
+
height: "100%",
|
|
156
|
+
width: "100%",
|
|
157
|
+
maxHeight: l,
|
|
158
|
+
maxWidth: a
|
|
159
|
+
}, e.props.style) } : {})) : e;
|
|
160
|
+
});
|
|
161
|
+
}, [
|
|
162
|
+
c,
|
|
163
|
+
O,
|
|
164
|
+
C,
|
|
165
|
+
D,
|
|
166
|
+
E,
|
|
167
|
+
T,
|
|
168
|
+
z,
|
|
169
|
+
b
|
|
170
|
+
]);
|
|
171
|
+
return /* @__PURE__ */ o.createElement("div", {
|
|
172
|
+
id: j ? `${j}` : void 0,
|
|
173
|
+
className: t("recharts-responsive-container", M),
|
|
174
|
+
style: v(v({}, F), {}, {
|
|
175
|
+
width: b,
|
|
176
|
+
height: C,
|
|
177
|
+
minWidth: T,
|
|
178
|
+
minHeight: E,
|
|
179
|
+
maxHeight: D
|
|
180
|
+
}),
|
|
181
|
+
ref: I
|
|
182
|
+
}, H);
|
|
183
|
+
});
|
|
184
|
+
//#endregion
|
|
185
|
+
export { O as ResponsiveContainer };
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { __toESM as e } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t from "../../../clsx/dist/clsx.js";
|
|
3
|
+
import { require_isNil as n } from "../../../lodash/isNil.js";
|
|
4
|
+
import { isNumOrStr as r, isNumber as i } from "../util/DataUtils.js";
|
|
5
|
+
import { filterProps as a } from "../util/ReactUtils.js";
|
|
6
|
+
import { Global as o } from "../util/Global.js";
|
|
7
|
+
import { getStringSize as s } from "../util/DOMUtils.js";
|
|
8
|
+
import { reduceCSSCalc as c } from "../util/ReduceCSSCalc.js";
|
|
9
|
+
import l, { useMemo as u } from "react";
|
|
10
|
+
//#region node_modules/recharts/es6/component/Text.js
|
|
11
|
+
var d = /* @__PURE__ */ e(n()), f = [
|
|
12
|
+
"x",
|
|
13
|
+
"y",
|
|
14
|
+
"lineHeight",
|
|
15
|
+
"capHeight",
|
|
16
|
+
"scaleToFit",
|
|
17
|
+
"textAnchor",
|
|
18
|
+
"verticalAnchor",
|
|
19
|
+
"fill"
|
|
20
|
+
], p = [
|
|
21
|
+
"dx",
|
|
22
|
+
"dy",
|
|
23
|
+
"angle",
|
|
24
|
+
"className",
|
|
25
|
+
"breakAll"
|
|
26
|
+
];
|
|
27
|
+
function m() {
|
|
28
|
+
return m = Object.assign ? Object.assign.bind() : function(e) {
|
|
29
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
30
|
+
var n = arguments[t];
|
|
31
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
32
|
+
}
|
|
33
|
+
return e;
|
|
34
|
+
}, m.apply(this, arguments);
|
|
35
|
+
}
|
|
36
|
+
function h(e, t) {
|
|
37
|
+
if (e == null) return {};
|
|
38
|
+
var n = g(e, t), r, i;
|
|
39
|
+
if (Object.getOwnPropertySymbols) {
|
|
40
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
41
|
+
for (i = 0; i < a.length; i++) r = a[i], !(t.indexOf(r) >= 0) && Object.prototype.propertyIsEnumerable.call(e, r) && (n[r] = e[r]);
|
|
42
|
+
}
|
|
43
|
+
return n;
|
|
44
|
+
}
|
|
45
|
+
function g(e, t) {
|
|
46
|
+
if (e == null) return {};
|
|
47
|
+
var n = {};
|
|
48
|
+
for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) {
|
|
49
|
+
if (t.indexOf(r) >= 0) continue;
|
|
50
|
+
n[r] = e[r];
|
|
51
|
+
}
|
|
52
|
+
return n;
|
|
53
|
+
}
|
|
54
|
+
function _(e, t) {
|
|
55
|
+
return S(e) || x(e, t) || y(e, t) || v();
|
|
56
|
+
}
|
|
57
|
+
function v() {
|
|
58
|
+
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
59
|
+
}
|
|
60
|
+
function y(e, t) {
|
|
61
|
+
if (e) {
|
|
62
|
+
if (typeof e == "string") return b(e, t);
|
|
63
|
+
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
64
|
+
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
65
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return b(e, t);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function b(e, t) {
|
|
69
|
+
(t == null || t > e.length) && (t = e.length);
|
|
70
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
71
|
+
return r;
|
|
72
|
+
}
|
|
73
|
+
function x(e, t) {
|
|
74
|
+
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
75
|
+
if (n != null) {
|
|
76
|
+
var r, i, a, o, s = [], c = !0, l = !1;
|
|
77
|
+
try {
|
|
78
|
+
if (a = (n = n.call(e)).next, t === 0) {
|
|
79
|
+
if (Object(n) !== n) return;
|
|
80
|
+
c = !1;
|
|
81
|
+
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0);
|
|
82
|
+
} catch (e) {
|
|
83
|
+
l = !0, i = e;
|
|
84
|
+
} finally {
|
|
85
|
+
try {
|
|
86
|
+
if (!c && n.return != null && (o = n.return(), Object(o) !== o)) return;
|
|
87
|
+
} finally {
|
|
88
|
+
if (l) throw i;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
return s;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function S(e) {
|
|
95
|
+
if (Array.isArray(e)) return e;
|
|
96
|
+
}
|
|
97
|
+
var C = /[ \f\n\r\t\v\u2028\u2029]+/, w = function(e) {
|
|
98
|
+
var t = e.children, n = e.breakAll, r = e.style;
|
|
99
|
+
try {
|
|
100
|
+
var i = [];
|
|
101
|
+
return (0, d.default)(t) || (i = n ? t.toString().split("") : t.toString().split(C)), {
|
|
102
|
+
wordsWithComputedWidth: i.map(function(e) {
|
|
103
|
+
return {
|
|
104
|
+
word: e,
|
|
105
|
+
width: s(e, r).width
|
|
106
|
+
};
|
|
107
|
+
}),
|
|
108
|
+
spaceWidth: n ? 0 : s("\xA0", r).width
|
|
109
|
+
};
|
|
110
|
+
} catch {
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
113
|
+
}, T = function(e, t, n, r, a) {
|
|
114
|
+
var o = e.maxLines, s = e.children, c = e.style, l = e.breakAll, u = i(o), d = s, f = function() {
|
|
115
|
+
return (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : []).reduce(function(e, t) {
|
|
116
|
+
var i = t.word, o = t.width, s = e[e.length - 1];
|
|
117
|
+
if (s && (r == null || a || s.width + o + n < Number(r))) s.words.push(i), s.width += o + n;
|
|
118
|
+
else {
|
|
119
|
+
var c = {
|
|
120
|
+
words: [i],
|
|
121
|
+
width: o
|
|
122
|
+
};
|
|
123
|
+
e.push(c);
|
|
124
|
+
}
|
|
125
|
+
return e;
|
|
126
|
+
}, []);
|
|
127
|
+
}, p = f(t), m = function(e) {
|
|
128
|
+
return e.reduce(function(e, t) {
|
|
129
|
+
return e.width > t.width ? e : t;
|
|
130
|
+
});
|
|
131
|
+
};
|
|
132
|
+
if (!u) return p;
|
|
133
|
+
for (var h = "…", g = function(e) {
|
|
134
|
+
var t = w({
|
|
135
|
+
breakAll: l,
|
|
136
|
+
style: c,
|
|
137
|
+
children: d.slice(0, e) + h
|
|
138
|
+
}).wordsWithComputedWidth, n = f(t);
|
|
139
|
+
return [n.length > o || m(n).width > Number(r), n];
|
|
140
|
+
}, v = 0, y = d.length - 1, b = 0, x; v <= y && b <= d.length - 1;) {
|
|
141
|
+
var S = Math.floor((v + y) / 2), C = _(g(S - 1), 2), T = C[0], E = C[1], D = _(g(S), 1)[0];
|
|
142
|
+
if (!T && !D && (v = S + 1), T && D && (y = S - 1), !T && D) {
|
|
143
|
+
x = E;
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
b++;
|
|
147
|
+
}
|
|
148
|
+
return x || p;
|
|
149
|
+
}, E = function(e) {
|
|
150
|
+
return [{ words: (0, d.default)(e) ? [] : e.toString().split(C) }];
|
|
151
|
+
}, D = function(e) {
|
|
152
|
+
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, s = e.maxLines;
|
|
153
|
+
if ((t || n) && !o.isSsr) {
|
|
154
|
+
var c, l, u = w({
|
|
155
|
+
breakAll: a,
|
|
156
|
+
children: r,
|
|
157
|
+
style: i
|
|
158
|
+
});
|
|
159
|
+
if (u) {
|
|
160
|
+
var d = u.wordsWithComputedWidth, f = u.spaceWidth;
|
|
161
|
+
c = d, l = f;
|
|
162
|
+
} else return E(r);
|
|
163
|
+
return T({
|
|
164
|
+
breakAll: a,
|
|
165
|
+
children: r,
|
|
166
|
+
maxLines: s,
|
|
167
|
+
style: i
|
|
168
|
+
}, c, l, t, n);
|
|
169
|
+
}
|
|
170
|
+
return E(r);
|
|
171
|
+
}, O = "#808080", k = function(e) {
|
|
172
|
+
var n = e.x, o = n === void 0 ? 0 : n, s = e.y, d = s === void 0 ? 0 : s, g = e.lineHeight, _ = g === void 0 ? "1em" : g, v = e.capHeight, y = v === void 0 ? "0.71em" : v, b = e.scaleToFit, x = b === void 0 ? !1 : b, S = e.textAnchor, C = S === void 0 ? "start" : S, w = e.verticalAnchor, T = w === void 0 ? "end" : w, E = e.fill, k = E === void 0 ? O : E, A = h(e, f), j = u(function() {
|
|
173
|
+
return D({
|
|
174
|
+
breakAll: A.breakAll,
|
|
175
|
+
children: A.children,
|
|
176
|
+
maxLines: A.maxLines,
|
|
177
|
+
scaleToFit: x,
|
|
178
|
+
style: A.style,
|
|
179
|
+
width: A.width
|
|
180
|
+
});
|
|
181
|
+
}, [
|
|
182
|
+
A.breakAll,
|
|
183
|
+
A.children,
|
|
184
|
+
A.maxLines,
|
|
185
|
+
x,
|
|
186
|
+
A.style,
|
|
187
|
+
A.width
|
|
188
|
+
]), M = A.dx, N = A.dy, P = A.angle, F = A.className, I = A.breakAll, L = h(A, p);
|
|
189
|
+
if (!r(o) || !r(d)) return null;
|
|
190
|
+
var R = o + (i(M) ? M : 0), z = d + (i(N) ? N : 0), B;
|
|
191
|
+
switch (T) {
|
|
192
|
+
case "start":
|
|
193
|
+
B = c(`calc(${y})`);
|
|
194
|
+
break;
|
|
195
|
+
case "middle":
|
|
196
|
+
B = c(`calc(${(j.length - 1) / 2} * -${_} + (${y} / 2))`);
|
|
197
|
+
break;
|
|
198
|
+
default:
|
|
199
|
+
B = c(`calc(${j.length - 1} * -${_})`);
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
var V = [];
|
|
203
|
+
if (x) {
|
|
204
|
+
var H = j[0].width, U = A.width;
|
|
205
|
+
V.push(`scale(${(i(U) ? U / H : 1) / H})`);
|
|
206
|
+
}
|
|
207
|
+
return P && V.push(`rotate(${P}, ${R}, ${z})`), V.length && (L.transform = V.join(" ")), /* @__PURE__ */ l.createElement("text", m({}, a(L, !0), {
|
|
208
|
+
x: R,
|
|
209
|
+
y: z,
|
|
210
|
+
className: t("recharts-text", F),
|
|
211
|
+
textAnchor: C,
|
|
212
|
+
fill: k.includes("url") ? O : k
|
|
213
|
+
}), j.map(function(e, t) {
|
|
214
|
+
var n = e.words.join(I ? "" : " ");
|
|
215
|
+
return /* @__PURE__ */ l.createElement("tspan", {
|
|
216
|
+
x: R,
|
|
217
|
+
dy: t === 0 ? B : _,
|
|
218
|
+
key: `${n}-${t}`
|
|
219
|
+
}, n);
|
|
220
|
+
}));
|
|
221
|
+
};
|
|
222
|
+
//#endregion
|
|
223
|
+
export { k as Text };
|