@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,157 @@
|
|
|
1
|
+
import { cn as e } from "../utils/cn.js";
|
|
2
|
+
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { AuroraBackground as i, GradientText as a, IllustratedEmptyState as o } from "@burdenoff/fe-libs/ui";
|
|
4
|
+
//#region src/movethewheels/components/PageLayout.tsx
|
|
5
|
+
var s = {
|
|
6
|
+
sm: "max-w-screen-sm",
|
|
7
|
+
md: "max-w-screen-md",
|
|
8
|
+
lg: "max-w-screen-lg",
|
|
9
|
+
xl: "max-w-screen-xl",
|
|
10
|
+
"2xl": "max-w-screen-2xl",
|
|
11
|
+
"3xl": "max-w-[1600px]",
|
|
12
|
+
full: "max-w-full"
|
|
13
|
+
};
|
|
14
|
+
function c({ children: o, title: c, subtitle: l, icon: u, headerActions: d, headerContent: f, maxWidth: p = "xl", showHeader: m = !0, className: h, contentClassName: g, hero: _ = !1, titleAccent: v }) {
|
|
15
|
+
return /* @__PURE__ */ n("div", {
|
|
16
|
+
className: e("min-h-full w-full", "px-4 sm:px-6 lg:px-8 xl:px-12", "py-6 sm:py-8 lg:py-10", "animate-in fade-in-0 slide-in-from-bottom-4 duration-500", h),
|
|
17
|
+
children: /* @__PURE__ */ r("div", {
|
|
18
|
+
className: e("mx-auto w-full", s[p], g),
|
|
19
|
+
children: [m && (c || d) && /* @__PURE__ */ r("header", {
|
|
20
|
+
className: e("mb-6 sm:mb-8", _ && "relative overflow-hidden rounded-card border border-border-seam bg-hero-mesh px-5 py-6 sm:px-7 sm:py-8"),
|
|
21
|
+
children: [
|
|
22
|
+
_ && /* @__PURE__ */ n(i, { intensity: "subtle" }),
|
|
23
|
+
/* @__PURE__ */ r("div", {
|
|
24
|
+
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
25
|
+
children: [/* @__PURE__ */ r("div", {
|
|
26
|
+
className: "space-y-1",
|
|
27
|
+
children: [(c || u) && /* @__PURE__ */ r("div", {
|
|
28
|
+
className: "flex items-center gap-3",
|
|
29
|
+
children: [u && /* @__PURE__ */ n("div", {
|
|
30
|
+
className: "flex-shrink-0 p-2.5 rounded-xl bg-action-primary-bg/10 text-action-primary-bg",
|
|
31
|
+
children: u
|
|
32
|
+
}), c && /* @__PURE__ */ n("h1", {
|
|
33
|
+
className: "text-2xl sm:text-3xl font-bold tracking-tight text-text-primary",
|
|
34
|
+
children: ((e) => {
|
|
35
|
+
if (!v || !e.includes(v)) return e;
|
|
36
|
+
let [i, o] = e.split(v);
|
|
37
|
+
return /* @__PURE__ */ r(t, { children: [
|
|
38
|
+
i,
|
|
39
|
+
/* @__PURE__ */ n(a, { children: v }),
|
|
40
|
+
o
|
|
41
|
+
] });
|
|
42
|
+
})(c)
|
|
43
|
+
})]
|
|
44
|
+
}), l && /* @__PURE__ */ n("p", {
|
|
45
|
+
className: "text-sm sm:text-base text-text-secondary max-w-2xl",
|
|
46
|
+
children: l
|
|
47
|
+
})]
|
|
48
|
+
}), d && /* @__PURE__ */ n("div", {
|
|
49
|
+
className: "flex items-center gap-2 flex-shrink-0",
|
|
50
|
+
children: d
|
|
51
|
+
})]
|
|
52
|
+
}),
|
|
53
|
+
f && /* @__PURE__ */ n("div", {
|
|
54
|
+
className: "mt-4",
|
|
55
|
+
children: f
|
|
56
|
+
})
|
|
57
|
+
]
|
|
58
|
+
}), /* @__PURE__ */ n("div", {
|
|
59
|
+
className: "space-y-6",
|
|
60
|
+
children: o
|
|
61
|
+
})]
|
|
62
|
+
})
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function l({ children: t, title: i, description: a, actions: o, className: s }) {
|
|
66
|
+
return /* @__PURE__ */ r("section", {
|
|
67
|
+
className: e("space-y-4", s),
|
|
68
|
+
children: [(i || o) && /* @__PURE__ */ r("div", {
|
|
69
|
+
className: "flex items-center justify-between",
|
|
70
|
+
children: [/* @__PURE__ */ r("div", { children: [i && /* @__PURE__ */ n("h2", {
|
|
71
|
+
className: "text-lg font-semibold text-text-primary",
|
|
72
|
+
children: i
|
|
73
|
+
}), a && /* @__PURE__ */ n("p", {
|
|
74
|
+
className: "text-sm text-text-secondary",
|
|
75
|
+
children: a
|
|
76
|
+
})] }), o && /* @__PURE__ */ n("div", {
|
|
77
|
+
className: "flex items-center gap-2",
|
|
78
|
+
children: o
|
|
79
|
+
})]
|
|
80
|
+
}), t]
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
function u({ icon: t, title: i, description: a, action: s, className: c, illustration: l = "empty-data" }) {
|
|
84
|
+
return t ? /* @__PURE__ */ r("div", {
|
|
85
|
+
className: e("flex flex-col items-center justify-center", "py-12 sm:py-16 px-4", "text-center", "animate-in fade-in-0 zoom-in-95 duration-300", c),
|
|
86
|
+
children: [
|
|
87
|
+
/* @__PURE__ */ n("div", {
|
|
88
|
+
className: "mb-4 p-4 rounded-2xl bg-bg-sunken/50 text-text-secondary",
|
|
89
|
+
children: t
|
|
90
|
+
}),
|
|
91
|
+
/* @__PURE__ */ n("h3", {
|
|
92
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
93
|
+
children: i
|
|
94
|
+
}),
|
|
95
|
+
a && /* @__PURE__ */ n("p", {
|
|
96
|
+
className: "text-sm text-text-secondary max-w-sm mb-4",
|
|
97
|
+
children: a
|
|
98
|
+
}),
|
|
99
|
+
s
|
|
100
|
+
]
|
|
101
|
+
}) : /* @__PURE__ */ n(o, {
|
|
102
|
+
illustration: l,
|
|
103
|
+
title: i,
|
|
104
|
+
description: a,
|
|
105
|
+
action: s,
|
|
106
|
+
className: e("animate-in fade-in-0 zoom-in-95 duration-300", c)
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
function d({ message: e = "Loading..." }) {
|
|
110
|
+
return /* @__PURE__ */ n("div", {
|
|
111
|
+
className: "flex items-center justify-center min-h-[400px]",
|
|
112
|
+
children: /* @__PURE__ */ r("div", {
|
|
113
|
+
className: "flex flex-col items-center gap-3",
|
|
114
|
+
children: [/* @__PURE__ */ n("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-primary" }), /* @__PURE__ */ n("p", {
|
|
115
|
+
className: "text-sm text-text-secondary",
|
|
116
|
+
children: e
|
|
117
|
+
})]
|
|
118
|
+
})
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function f({ title: e = "Something went wrong", message: t, onRetry: i }) {
|
|
122
|
+
return /* @__PURE__ */ r("div", {
|
|
123
|
+
className: "flex flex-col items-center justify-center py-12 px-4 text-center",
|
|
124
|
+
children: [
|
|
125
|
+
/* @__PURE__ */ n("div", {
|
|
126
|
+
className: "mb-4 p-4 rounded-2xl bg-status-error-bg/10 text-status-error-text",
|
|
127
|
+
children: /* @__PURE__ */ n("svg", {
|
|
128
|
+
className: "h-12 w-12",
|
|
129
|
+
fill: "none",
|
|
130
|
+
viewBox: "0 0 24 24",
|
|
131
|
+
stroke: "currentColor",
|
|
132
|
+
children: /* @__PURE__ */ n("path", {
|
|
133
|
+
strokeLinecap: "round",
|
|
134
|
+
strokeLinejoin: "round",
|
|
135
|
+
strokeWidth: 2,
|
|
136
|
+
d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
|
|
137
|
+
})
|
|
138
|
+
})
|
|
139
|
+
}),
|
|
140
|
+
/* @__PURE__ */ n("h3", {
|
|
141
|
+
className: "text-lg font-semibold text-text-primary mb-1",
|
|
142
|
+
children: e
|
|
143
|
+
}),
|
|
144
|
+
t && /* @__PURE__ */ n("p", {
|
|
145
|
+
className: "text-sm text-text-secondary max-w-sm mb-4",
|
|
146
|
+
children: t
|
|
147
|
+
}),
|
|
148
|
+
i && /* @__PURE__ */ n("button", {
|
|
149
|
+
onClick: i,
|
|
150
|
+
className: "px-4 py-2 text-sm font-medium text-primary hover:text-primary/80 transition-colors",
|
|
151
|
+
children: "Try again"
|
|
152
|
+
})
|
|
153
|
+
]
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
//#endregion
|
|
157
|
+
export { u as EmptyState, f as ErrorState, d as LoadingState, c as PageLayout, l as PageSection };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { cn as e } from "../utils/cn.js";
|
|
2
|
+
import { Badge as t } from "./ui.js";
|
|
3
|
+
import { DRIVER_STATUS_COLORS as n, ORDER_STATUS_COLORS as r, PRIORITY_COLORS as i, VEHICLE_STATUS_COLORS as a } from "../constants/index.js";
|
|
4
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
+
//#region src/movethewheels/components/StatusBadge.tsx
|
|
6
|
+
var c = {
|
|
7
|
+
sm: "text-xs px-2 py-0.5",
|
|
8
|
+
md: "text-sm px-2.5 py-1",
|
|
9
|
+
lg: "text-base px-3 py-1.5"
|
|
10
|
+
};
|
|
11
|
+
function l({ status: i, type: l = "custom", customColors: u, size: d = "md", showDot: f = !0, className: p }) {
|
|
12
|
+
let m = u, h = {
|
|
13
|
+
bg: "bg-bg-sunken",
|
|
14
|
+
text: "text-text-secondary"
|
|
15
|
+
};
|
|
16
|
+
if (!m) switch (l) {
|
|
17
|
+
case "order":
|
|
18
|
+
m = r[i] || h;
|
|
19
|
+
break;
|
|
20
|
+
case "vehicle":
|
|
21
|
+
m = a[i] || h;
|
|
22
|
+
break;
|
|
23
|
+
case "driver":
|
|
24
|
+
m = n[i] || h;
|
|
25
|
+
break;
|
|
26
|
+
default: m = h;
|
|
27
|
+
}
|
|
28
|
+
let g = i.replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase());
|
|
29
|
+
return /* @__PURE__ */ s(t, {
|
|
30
|
+
variant: "outline",
|
|
31
|
+
className: e("inline-flex items-center gap-1.5 whitespace-nowrap rounded-full border-0 font-medium capitalize", "ring-1 ring-inset ring-border-seam/60", m.bg, m.text, c[d], p),
|
|
32
|
+
children: [f && /* @__PURE__ */ o("span", {
|
|
33
|
+
"aria-hidden": "true",
|
|
34
|
+
className: e("h-1.5 w-1.5 flex-shrink-0 rounded-full motion-safe:animate-vc-glow-pulse", m.text.replace("text-", "bg-"))
|
|
35
|
+
}), g]
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function u({ priority: n, size: r = "md", className: a }) {
|
|
39
|
+
let s = i[n];
|
|
40
|
+
return /* @__PURE__ */ o(t, {
|
|
41
|
+
variant: "outline",
|
|
42
|
+
className: e("rounded-full font-medium capitalize border-0 whitespace-nowrap ring-1 ring-inset ring-border-seam/60", s.bg, s.text, c[r], a),
|
|
43
|
+
children: n
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function d({ type: n, size: r = "md", className: i }) {
|
|
47
|
+
let a = {
|
|
48
|
+
b2b: {
|
|
49
|
+
bg: "bg-status-info-bg-subtle",
|
|
50
|
+
text: "text-status-info-text"
|
|
51
|
+
},
|
|
52
|
+
b2c: {
|
|
53
|
+
bg: "bg-status-success-bg-subtle",
|
|
54
|
+
text: "text-status-success-text"
|
|
55
|
+
}
|
|
56
|
+
}[n];
|
|
57
|
+
return /* @__PURE__ */ o(t, {
|
|
58
|
+
variant: "outline",
|
|
59
|
+
className: e("rounded-full font-medium uppercase border-0 whitespace-nowrap ring-1 ring-inset ring-border-seam/60", a.bg, a.text, c[r], i),
|
|
60
|
+
children: n
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function f({ status: n, size: r = "md", className: i }) {
|
|
64
|
+
let a = {
|
|
65
|
+
pending: {
|
|
66
|
+
bg: "bg-status-warning-bg-subtle",
|
|
67
|
+
text: "text-status-warning-text"
|
|
68
|
+
},
|
|
69
|
+
paid: {
|
|
70
|
+
bg: "bg-status-success-bg-subtle",
|
|
71
|
+
text: "text-status-success-text"
|
|
72
|
+
},
|
|
73
|
+
failed: {
|
|
74
|
+
bg: "bg-status-error-bg-subtle",
|
|
75
|
+
text: "text-status-error-text"
|
|
76
|
+
},
|
|
77
|
+
refunded: {
|
|
78
|
+
bg: "bg-bg-sunken",
|
|
79
|
+
text: "text-text-secondary"
|
|
80
|
+
}
|
|
81
|
+
}[n];
|
|
82
|
+
return /* @__PURE__ */ o(t, {
|
|
83
|
+
variant: "outline",
|
|
84
|
+
className: e("rounded-full font-medium capitalize border-0 whitespace-nowrap ring-1 ring-inset ring-border-seam/60", a.bg, a.text, c[r], i),
|
|
85
|
+
children: n
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function p({ type: n, size: r = "md", className: i }) {
|
|
89
|
+
return /* @__PURE__ */ s(t, {
|
|
90
|
+
variant: "outline",
|
|
91
|
+
className: e("rounded-full font-medium capitalize whitespace-nowrap inline-flex items-center ring-1 ring-inset ring-border-seam/60", c[r], i),
|
|
92
|
+
children: [/* @__PURE__ */ o("span", {
|
|
93
|
+
className: "mr-1",
|
|
94
|
+
children: {
|
|
95
|
+
van: "🚐",
|
|
96
|
+
truck: "🚚",
|
|
97
|
+
motorcycle: "🏍️",
|
|
98
|
+
bicycle: "🚲",
|
|
99
|
+
car: "🚗"
|
|
100
|
+
}[n]
|
|
101
|
+
}), n]
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
export { f as PaymentStatusBadge, u as PriorityBadge, l as StatusBadge, d as TypeBadge, p as VehicleTypeBadge };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { cn as e } from "../../utils/cn.js";
|
|
2
|
+
import { chartTokens as t } from "./chartTokens.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/movethewheels/components/charts/ChartShell.tsx
|
|
5
|
+
function i({ message: t = "No data yet", height: r, className: i }) {
|
|
6
|
+
return /* @__PURE__ */ n("div", {
|
|
7
|
+
className: e("flex items-center justify-center rounded-2xl border border-dashed border-border-seam bg-bg-sunken/40 text-sm text-text-secondary", i),
|
|
8
|
+
style: {
|
|
9
|
+
height: r ?? "100%",
|
|
10
|
+
minHeight: 120
|
|
11
|
+
},
|
|
12
|
+
children: t
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function a({ active: e, payload: i, label: a, formatter: o }) {
|
|
16
|
+
return !e || !i || i.length === 0 ? null : /* @__PURE__ */ r("div", {
|
|
17
|
+
className: "rounded-xl border border-border-seam bg-bg-surface/95 px-3 py-2 shadow-elevation-2 backdrop-blur-sm",
|
|
18
|
+
children: [a != null && a !== "" && /* @__PURE__ */ n("p", {
|
|
19
|
+
className: "mb-1 text-xs font-medium text-text-secondary",
|
|
20
|
+
children: a
|
|
21
|
+
}), /* @__PURE__ */ n("div", {
|
|
22
|
+
className: "space-y-1",
|
|
23
|
+
children: i.map((e, i) => /* @__PURE__ */ r("div", {
|
|
24
|
+
className: "flex items-center gap-2 text-xs",
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ n("span", {
|
|
27
|
+
"aria-hidden": "true",
|
|
28
|
+
className: "h-2 w-2 shrink-0 rounded-full",
|
|
29
|
+
style: { background: e.color ?? t.brandPrimary }
|
|
30
|
+
}),
|
|
31
|
+
/* @__PURE__ */ n("span", {
|
|
32
|
+
className: "text-text-secondary",
|
|
33
|
+
children: e.name
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ n("span", {
|
|
36
|
+
className: "ml-auto font-semibold tabular-nums text-text-primary",
|
|
37
|
+
children: o && e.value != null ? o(e.value, String(e.name ?? "")) : e.value
|
|
38
|
+
})
|
|
39
|
+
]
|
|
40
|
+
}, i))
|
|
41
|
+
})]
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { i as ChartEmpty, a as ChartTooltip };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ResponsiveContainer as e } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
2
|
+
import { Line as t } from "../../node_modules/recharts/es6/cartesian/Line.js";
|
|
3
|
+
import { Area as n } from "../../node_modules/recharts/es6/cartesian/Area.js";
|
|
4
|
+
import { YAxis as r } from "../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
5
|
+
import { LineChart as i } from "../../node_modules/recharts/es6/chart/LineChart.js";
|
|
6
|
+
import { AreaChart as a } from "../../node_modules/recharts/es6/chart/AreaChart.js";
|
|
7
|
+
import { chartTokens as o } from "./chartTokens.js";
|
|
8
|
+
import { useId as s } from "react";
|
|
9
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
10
|
+
//#region src/movethewheels/components/charts/Sparkline.tsx
|
|
11
|
+
function u({ data: u, color: d = o.brandPrimary, variant: f = "area", height: p = 40, width: m = "100%", className: h, strokeWidth: g = 2 }) {
|
|
12
|
+
let _ = s().replace(/:/g, ""), v = u.map((e, t) => ({
|
|
13
|
+
i: t,
|
|
14
|
+
value: typeof e == "number" ? e : e.value
|
|
15
|
+
}));
|
|
16
|
+
return v.length < 2 ? /* @__PURE__ */ c("div", {
|
|
17
|
+
style: {
|
|
18
|
+
height: p,
|
|
19
|
+
width: m
|
|
20
|
+
},
|
|
21
|
+
className: h,
|
|
22
|
+
"aria-hidden": "true"
|
|
23
|
+
}) : /* @__PURE__ */ c("div", {
|
|
24
|
+
style: {
|
|
25
|
+
height: p,
|
|
26
|
+
width: m
|
|
27
|
+
},
|
|
28
|
+
className: h,
|
|
29
|
+
children: /* @__PURE__ */ c(e, {
|
|
30
|
+
width: "100%",
|
|
31
|
+
height: "100%",
|
|
32
|
+
children: f === "area" ? /* @__PURE__ */ l(a, {
|
|
33
|
+
data: v,
|
|
34
|
+
margin: {
|
|
35
|
+
top: 2,
|
|
36
|
+
right: 0,
|
|
37
|
+
bottom: 2,
|
|
38
|
+
left: 0
|
|
39
|
+
},
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ c("defs", { children: /* @__PURE__ */ l("linearGradient", {
|
|
42
|
+
id: _,
|
|
43
|
+
x1: "0",
|
|
44
|
+
y1: "0",
|
|
45
|
+
x2: "0",
|
|
46
|
+
y2: "1",
|
|
47
|
+
children: [/* @__PURE__ */ c("stop", {
|
|
48
|
+
offset: "0%",
|
|
49
|
+
stopColor: d,
|
|
50
|
+
stopOpacity: .35
|
|
51
|
+
}), /* @__PURE__ */ c("stop", {
|
|
52
|
+
offset: "100%",
|
|
53
|
+
stopColor: d,
|
|
54
|
+
stopOpacity: 0
|
|
55
|
+
})]
|
|
56
|
+
}) }),
|
|
57
|
+
/* @__PURE__ */ c(r, {
|
|
58
|
+
hide: !0,
|
|
59
|
+
domain: ["dataMin", "dataMax"]
|
|
60
|
+
}),
|
|
61
|
+
/* @__PURE__ */ c(n, {
|
|
62
|
+
type: "monotone",
|
|
63
|
+
dataKey: "value",
|
|
64
|
+
stroke: d,
|
|
65
|
+
strokeWidth: g,
|
|
66
|
+
fill: `url(#${_})`,
|
|
67
|
+
isAnimationActive: !1,
|
|
68
|
+
dot: !1
|
|
69
|
+
})
|
|
70
|
+
]
|
|
71
|
+
}) : /* @__PURE__ */ l(i, {
|
|
72
|
+
data: v,
|
|
73
|
+
margin: {
|
|
74
|
+
top: 2,
|
|
75
|
+
right: 0,
|
|
76
|
+
bottom: 2,
|
|
77
|
+
left: 0
|
|
78
|
+
},
|
|
79
|
+
children: [/* @__PURE__ */ c(r, {
|
|
80
|
+
hide: !0,
|
|
81
|
+
domain: ["dataMin", "dataMax"]
|
|
82
|
+
}), /* @__PURE__ */ c(t, {
|
|
83
|
+
type: "monotone",
|
|
84
|
+
dataKey: "value",
|
|
85
|
+
stroke: d,
|
|
86
|
+
strokeWidth: g,
|
|
87
|
+
isAnimationActive: !1,
|
|
88
|
+
dot: !1
|
|
89
|
+
})]
|
|
90
|
+
})
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { u as Sparkline };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { cn as e } from "../../utils/cn.js";
|
|
2
|
+
import { Tooltip as t } from "../../node_modules/recharts/es6/component/Tooltip.js";
|
|
3
|
+
import { ResponsiveContainer as n } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
4
|
+
import { Cell as r } from "../../node_modules/recharts/es6/component/Cell.js";
|
|
5
|
+
import { Pie as i } from "../../node_modules/recharts/es6/polar/Pie.js";
|
|
6
|
+
import { PieChart as a } from "../../node_modules/recharts/es6/chart/PieChart.js";
|
|
7
|
+
import { seriesColor as o } from "./chartTokens.js";
|
|
8
|
+
import { ChartEmpty as s, ChartTooltip as c } from "./ChartShell.js";
|
|
9
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
10
|
+
//#region src/movethewheels/components/charts/StatusDonut.tsx
|
|
11
|
+
function d({ data: d, height: f = 240, className: p, centerLabel: m, centerSubLabel: h, showLegend: g = !0, emptyMessage: _ = "No breakdown yet", valueFormatter: v }) {
|
|
12
|
+
let y = (d ?? []).filter((e) => e.value > 0), b = y.reduce((e, t) => e + t.value, 0);
|
|
13
|
+
if (y.length === 0 || b === 0) return /* @__PURE__ */ l(s, {
|
|
14
|
+
message: _,
|
|
15
|
+
height: f,
|
|
16
|
+
className: p
|
|
17
|
+
});
|
|
18
|
+
let x = (e, t) => e.color ?? o(t);
|
|
19
|
+
return /* @__PURE__ */ u("div", {
|
|
20
|
+
className: e("flex flex-col gap-4 sm:flex-row sm:items-center", p),
|
|
21
|
+
children: [/* @__PURE__ */ u("div", {
|
|
22
|
+
className: "relative mx-auto",
|
|
23
|
+
style: {
|
|
24
|
+
width: f,
|
|
25
|
+
height: f,
|
|
26
|
+
maxWidth: "100%"
|
|
27
|
+
},
|
|
28
|
+
children: [/* @__PURE__ */ l(n, {
|
|
29
|
+
width: "100%",
|
|
30
|
+
height: "100%",
|
|
31
|
+
children: /* @__PURE__ */ u(a, { children: [/* @__PURE__ */ l(i, {
|
|
32
|
+
data: y,
|
|
33
|
+
dataKey: "value",
|
|
34
|
+
nameKey: "name",
|
|
35
|
+
innerRadius: "62%",
|
|
36
|
+
outerRadius: "100%",
|
|
37
|
+
paddingAngle: 2,
|
|
38
|
+
stroke: "none",
|
|
39
|
+
isAnimationActive: !1,
|
|
40
|
+
children: y.map((e, t) => /* @__PURE__ */ l(r, { fill: x(e, t) }, e.name))
|
|
41
|
+
}), /* @__PURE__ */ l(t, { content: /* @__PURE__ */ l(c, { formatter: (e) => v ? v(Number(e)) : String(e) }) })] })
|
|
42
|
+
}), m != null && /* @__PURE__ */ u("div", {
|
|
43
|
+
className: "pointer-events-none absolute inset-0 flex flex-col items-center justify-center text-center",
|
|
44
|
+
children: [/* @__PURE__ */ l("span", {
|
|
45
|
+
className: "text-2xl font-bold tabular-nums text-text-primary",
|
|
46
|
+
children: m
|
|
47
|
+
}), h && /* @__PURE__ */ l("span", {
|
|
48
|
+
className: "text-xs text-text-secondary",
|
|
49
|
+
children: h
|
|
50
|
+
})]
|
|
51
|
+
})]
|
|
52
|
+
}), g && /* @__PURE__ */ l("ul", {
|
|
53
|
+
className: "flex flex-1 flex-col gap-2",
|
|
54
|
+
children: y.map((e, t) => {
|
|
55
|
+
let n = b > 0 ? Math.round(e.value / b * 100) : 0;
|
|
56
|
+
return /* @__PURE__ */ u("li", {
|
|
57
|
+
className: "flex items-center gap-2 text-sm",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ l("span", {
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
className: "h-2.5 w-2.5 shrink-0 rounded-full",
|
|
62
|
+
style: { background: x(e, t) }
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ l("span", {
|
|
65
|
+
className: "text-text-secondary",
|
|
66
|
+
children: e.name
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ l("span", {
|
|
69
|
+
className: "ml-auto font-semibold tabular-nums text-text-primary",
|
|
70
|
+
children: v ? v(e.value) : e.value
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ u("span", {
|
|
73
|
+
className: "w-10 text-right text-xs tabular-nums text-text-secondary",
|
|
74
|
+
children: [n, "%"]
|
|
75
|
+
})
|
|
76
|
+
]
|
|
77
|
+
}, e.name);
|
|
78
|
+
})
|
|
79
|
+
})]
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { d as StatusDonut };
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { Legend as e } from "../../node_modules/recharts/es6/component/Legend.js";
|
|
2
|
+
import { Tooltip as t } from "../../node_modules/recharts/es6/component/Tooltip.js";
|
|
3
|
+
import { ResponsiveContainer as n } from "../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
4
|
+
import { CartesianGrid as r } from "../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
|
|
5
|
+
import { Line as i } from "../../node_modules/recharts/es6/cartesian/Line.js";
|
|
6
|
+
import { Area as a } from "../../node_modules/recharts/es6/cartesian/Area.js";
|
|
7
|
+
import { XAxis as o } from "../../node_modules/recharts/es6/cartesian/XAxis.js";
|
|
8
|
+
import { YAxis as s } from "../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
9
|
+
import { LineChart as c } from "../../node_modules/recharts/es6/chart/LineChart.js";
|
|
10
|
+
import { AreaChart as l } from "../../node_modules/recharts/es6/chart/AreaChart.js";
|
|
11
|
+
import { chartTokens as u, seriesColor as d } from "./chartTokens.js";
|
|
12
|
+
import { ChartEmpty as f, ChartTooltip as p } from "./ChartShell.js";
|
|
13
|
+
import { useId as m } from "react";
|
|
14
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
15
|
+
//#region src/movethewheels/components/charts/TrendChart.tsx
|
|
16
|
+
function _({ data: _, series: v, xKey: y, variant: b = "area", height: x = 300, className: S, showLegend: C = !0, showGrid: w = !0, emptyMessage: T = "No trend data yet", valueFormatter: E }) {
|
|
17
|
+
let D = m().replace(/:/g, "");
|
|
18
|
+
if (!_ || _.length === 0 || v.length === 0) return /* @__PURE__ */ h(f, {
|
|
19
|
+
message: T,
|
|
20
|
+
height: x,
|
|
21
|
+
className: S
|
|
22
|
+
});
|
|
23
|
+
let O = {
|
|
24
|
+
fill: u.axis,
|
|
25
|
+
fontSize: 12
|
|
26
|
+
}, k = (e, t) => e.color ?? d(t);
|
|
27
|
+
return /* @__PURE__ */ h("div", {
|
|
28
|
+
className: S,
|
|
29
|
+
style: {
|
|
30
|
+
width: "100%",
|
|
31
|
+
height: x
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ h(n, {
|
|
34
|
+
width: "100%",
|
|
35
|
+
height: "100%",
|
|
36
|
+
children: b === "area" ? /* @__PURE__ */ g(l, {
|
|
37
|
+
data: _,
|
|
38
|
+
margin: {
|
|
39
|
+
top: 8,
|
|
40
|
+
right: 12,
|
|
41
|
+
bottom: 4,
|
|
42
|
+
left: -8
|
|
43
|
+
},
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ h("defs", { children: v.map((e, t) => /* @__PURE__ */ g("linearGradient", {
|
|
46
|
+
id: `${D}-${e.dataKey}`,
|
|
47
|
+
x1: "0",
|
|
48
|
+
y1: "0",
|
|
49
|
+
x2: "0",
|
|
50
|
+
y2: "1",
|
|
51
|
+
children: [/* @__PURE__ */ h("stop", {
|
|
52
|
+
offset: "0%",
|
|
53
|
+
stopColor: k(e, t),
|
|
54
|
+
stopOpacity: .28
|
|
55
|
+
}), /* @__PURE__ */ h("stop", {
|
|
56
|
+
offset: "100%",
|
|
57
|
+
stopColor: k(e, t),
|
|
58
|
+
stopOpacity: .02
|
|
59
|
+
})]
|
|
60
|
+
}, e.dataKey)) }),
|
|
61
|
+
w && /* @__PURE__ */ h(r, {
|
|
62
|
+
strokeDasharray: "3 3",
|
|
63
|
+
stroke: u.grid,
|
|
64
|
+
vertical: !1
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ h(o, {
|
|
67
|
+
dataKey: y,
|
|
68
|
+
tick: O,
|
|
69
|
+
tickLine: !1,
|
|
70
|
+
axisLine: { stroke: u.grid },
|
|
71
|
+
minTickGap: 24
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ h(s, {
|
|
74
|
+
tick: O,
|
|
75
|
+
tickLine: !1,
|
|
76
|
+
axisLine: !1,
|
|
77
|
+
width: 44,
|
|
78
|
+
tickFormatter: E ? (e) => E(e, "") : void 0
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ h(t, {
|
|
81
|
+
cursor: {
|
|
82
|
+
stroke: u.axis,
|
|
83
|
+
strokeOpacity: .3
|
|
84
|
+
},
|
|
85
|
+
content: /* @__PURE__ */ h(p, { formatter: E })
|
|
86
|
+
}),
|
|
87
|
+
C && /* @__PURE__ */ h(e, {
|
|
88
|
+
iconType: "circle",
|
|
89
|
+
wrapperStyle: {
|
|
90
|
+
fontSize: 12,
|
|
91
|
+
color: u.textSecondary
|
|
92
|
+
}
|
|
93
|
+
}),
|
|
94
|
+
v.map((e, t) => /* @__PURE__ */ h(a, {
|
|
95
|
+
type: "monotone",
|
|
96
|
+
dataKey: e.dataKey,
|
|
97
|
+
name: e.name,
|
|
98
|
+
stroke: k(e, t),
|
|
99
|
+
strokeWidth: 2.5,
|
|
100
|
+
fill: `url(#${D}-${e.dataKey})`,
|
|
101
|
+
isAnimationActive: !1,
|
|
102
|
+
activeDot: {
|
|
103
|
+
r: 4,
|
|
104
|
+
strokeWidth: 0
|
|
105
|
+
}
|
|
106
|
+
}, e.dataKey))
|
|
107
|
+
]
|
|
108
|
+
}) : /* @__PURE__ */ g(c, {
|
|
109
|
+
data: _,
|
|
110
|
+
margin: {
|
|
111
|
+
top: 8,
|
|
112
|
+
right: 12,
|
|
113
|
+
bottom: 4,
|
|
114
|
+
left: -8
|
|
115
|
+
},
|
|
116
|
+
children: [
|
|
117
|
+
w && /* @__PURE__ */ h(r, {
|
|
118
|
+
strokeDasharray: "3 3",
|
|
119
|
+
stroke: u.grid,
|
|
120
|
+
vertical: !1
|
|
121
|
+
}),
|
|
122
|
+
/* @__PURE__ */ h(o, {
|
|
123
|
+
dataKey: y,
|
|
124
|
+
tick: O,
|
|
125
|
+
tickLine: !1,
|
|
126
|
+
axisLine: { stroke: u.grid },
|
|
127
|
+
minTickGap: 24
|
|
128
|
+
}),
|
|
129
|
+
/* @__PURE__ */ h(s, {
|
|
130
|
+
tick: O,
|
|
131
|
+
tickLine: !1,
|
|
132
|
+
axisLine: !1,
|
|
133
|
+
width: 44,
|
|
134
|
+
tickFormatter: E ? (e) => E(e, "") : void 0
|
|
135
|
+
}),
|
|
136
|
+
/* @__PURE__ */ h(t, {
|
|
137
|
+
cursor: {
|
|
138
|
+
stroke: u.axis,
|
|
139
|
+
strokeOpacity: .3
|
|
140
|
+
},
|
|
141
|
+
content: /* @__PURE__ */ h(p, { formatter: E })
|
|
142
|
+
}),
|
|
143
|
+
C && /* @__PURE__ */ h(e, {
|
|
144
|
+
iconType: "circle",
|
|
145
|
+
wrapperStyle: {
|
|
146
|
+
fontSize: 12,
|
|
147
|
+
color: u.textSecondary
|
|
148
|
+
}
|
|
149
|
+
}),
|
|
150
|
+
v.map((e, t) => /* @__PURE__ */ h(i, {
|
|
151
|
+
type: "monotone",
|
|
152
|
+
dataKey: e.dataKey,
|
|
153
|
+
name: e.name,
|
|
154
|
+
stroke: k(e, t),
|
|
155
|
+
strokeWidth: 2.5,
|
|
156
|
+
dot: !1,
|
|
157
|
+
isAnimationActive: !1,
|
|
158
|
+
activeDot: {
|
|
159
|
+
r: 4,
|
|
160
|
+
strokeWidth: 0
|
|
161
|
+
}
|
|
162
|
+
}, e.dataKey))
|
|
163
|
+
]
|
|
164
|
+
})
|
|
165
|
+
})
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
export { _ as TrendChart };
|