@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,11 @@
|
|
|
1
|
+
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
2
|
+
var e = process.env.NODE_ENV === "production", t = "Invariant failed";
|
|
3
|
+
function n(n, r) {
|
|
4
|
+
if (!n) {
|
|
5
|
+
if (e) throw Error(t);
|
|
6
|
+
var i = typeof r == "function" ? r() : r, a = i ? `${t}: ${i}` : t;
|
|
7
|
+
throw Error(a);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as invariant };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { __exportAll as e } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t, { implicit as n } from "../../d3-scale/src/ordinal.js";
|
|
3
|
+
import r, { point as i } from "../../d3-scale/src/band.js";
|
|
4
|
+
import a from "../../d3-scale/src/tickFormat.js";
|
|
5
|
+
import o from "../../d3-scale/src/linear.js";
|
|
6
|
+
import s from "../../d3-scale/src/identity.js";
|
|
7
|
+
import c from "../../d3-scale/src/log.js";
|
|
8
|
+
import l from "../../d3-scale/src/symlog.js";
|
|
9
|
+
import u, { sqrt as d } from "../../d3-scale/src/pow.js";
|
|
10
|
+
import f from "../../d3-scale/src/radial.js";
|
|
11
|
+
import p from "../../d3-scale/src/quantile.js";
|
|
12
|
+
import m from "../../d3-scale/src/quantize.js";
|
|
13
|
+
import h from "../../d3-scale/src/threshold.js";
|
|
14
|
+
import g from "../../d3-scale/src/time.js";
|
|
15
|
+
import _ from "../../d3-scale/src/utcTime.js";
|
|
16
|
+
import v, { sequentialLog as y, sequentialPow as b, sequentialSqrt as x, sequentialSymlog as S } from "../../d3-scale/src/sequential.js";
|
|
17
|
+
import C from "../../d3-scale/src/sequentialQuantile.js";
|
|
18
|
+
import w, { divergingLog as T, divergingPow as E, divergingSqrt as D, divergingSymlog as O } from "../../d3-scale/src/diverging.js";
|
|
19
|
+
//#region node_modules/victory-vendor/es/d3-scale.js
|
|
20
|
+
var k = /* @__PURE__ */ e({
|
|
21
|
+
scaleBand: () => r,
|
|
22
|
+
scaleDiverging: () => w,
|
|
23
|
+
scaleDivergingLog: () => T,
|
|
24
|
+
scaleDivergingPow: () => E,
|
|
25
|
+
scaleDivergingSqrt: () => D,
|
|
26
|
+
scaleDivergingSymlog: () => O,
|
|
27
|
+
scaleIdentity: () => s,
|
|
28
|
+
scaleImplicit: () => n,
|
|
29
|
+
scaleLinear: () => o,
|
|
30
|
+
scaleLog: () => c,
|
|
31
|
+
scaleOrdinal: () => t,
|
|
32
|
+
scalePoint: () => i,
|
|
33
|
+
scalePow: () => u,
|
|
34
|
+
scaleQuantile: () => p,
|
|
35
|
+
scaleQuantize: () => m,
|
|
36
|
+
scaleRadial: () => f,
|
|
37
|
+
scaleSequential: () => v,
|
|
38
|
+
scaleSequentialLog: () => y,
|
|
39
|
+
scaleSequentialPow: () => b,
|
|
40
|
+
scaleSequentialQuantile: () => C,
|
|
41
|
+
scaleSequentialSqrt: () => x,
|
|
42
|
+
scaleSequentialSymlog: () => S,
|
|
43
|
+
scaleSqrt: () => d,
|
|
44
|
+
scaleSymlog: () => l,
|
|
45
|
+
scaleThreshold: () => h,
|
|
46
|
+
scaleTime: () => g,
|
|
47
|
+
scaleUtc: () => _,
|
|
48
|
+
tickFormat: () => a
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { k as d3_scale_exports };
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
//#region node_modules/zustand/esm/middleware.mjs
|
|
2
|
+
var e = (e) => !!e.dispatchFromDevtools && typeof e.dispatch == "function", t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
3
|
+
let n = t.get(e);
|
|
4
|
+
return n ? Object.fromEntries(Object.entries(n.stores).map(([e, t]) => [e, t.getState()])) : {};
|
|
5
|
+
}, r = (e, n, r) => {
|
|
6
|
+
if (e === void 0) return {
|
|
7
|
+
type: "untracked",
|
|
8
|
+
connection: n.connect(r)
|
|
9
|
+
};
|
|
10
|
+
let i = t.get(r.name);
|
|
11
|
+
if (i) return {
|
|
12
|
+
type: "tracked",
|
|
13
|
+
store: e,
|
|
14
|
+
...i
|
|
15
|
+
};
|
|
16
|
+
let a = {
|
|
17
|
+
connection: n.connect(r),
|
|
18
|
+
stores: {}
|
|
19
|
+
};
|
|
20
|
+
return t.set(r.name, a), {
|
|
21
|
+
type: "tracked",
|
|
22
|
+
store: e,
|
|
23
|
+
...a
|
|
24
|
+
};
|
|
25
|
+
}, i = (e, n) => {
|
|
26
|
+
if (n === void 0) return;
|
|
27
|
+
let r = t.get(e);
|
|
28
|
+
r && (delete r.stores[n], Object.keys(r.stores).length === 0 && t.delete(e));
|
|
29
|
+
}, a = /.+ (.+) .+/, o = /^([^@]+)@/;
|
|
30
|
+
function s(e) {
|
|
31
|
+
if (!e) return;
|
|
32
|
+
let t = e.split("\n"), n = t.findIndex((e) => e.includes("api.setState"));
|
|
33
|
+
if (n < 0) return;
|
|
34
|
+
let r = t[n + 1]?.trim() || "";
|
|
35
|
+
return a.exec(r)?.[1] || o.exec(r)?.[1];
|
|
36
|
+
}
|
|
37
|
+
var c = (t, a = {}) => (o, c, u) => {
|
|
38
|
+
let { enabled: d, anonymousActionType: f, store: p, ...m } = a, h;
|
|
39
|
+
try {
|
|
40
|
+
h = (d ?? !1) && window.__REDUX_DEVTOOLS_EXTENSION__;
|
|
41
|
+
} catch {}
|
|
42
|
+
if (!h) return t(o, c, u);
|
|
43
|
+
let { connection: g, ..._ } = r(p, h, m), v = !0;
|
|
44
|
+
u.setState = ((e, t, r) => {
|
|
45
|
+
let i = o(e, t);
|
|
46
|
+
if (!v) return i;
|
|
47
|
+
let a = r === void 0 ? { type: f || s((/* @__PURE__ */ Error()).stack) || "anonymous" } : typeof r == "string" ? { type: r } : r;
|
|
48
|
+
return p === void 0 ? (g?.send(a, c()), i) : (g?.send({
|
|
49
|
+
...a,
|
|
50
|
+
type: `${p}/${a.type}`
|
|
51
|
+
}, {
|
|
52
|
+
...n(m.name),
|
|
53
|
+
[p]: u.getState()
|
|
54
|
+
}), i);
|
|
55
|
+
}), u.devtools = { cleanup: () => {
|
|
56
|
+
g && typeof g.unsubscribe == "function" && g.unsubscribe(), i(m.name, p);
|
|
57
|
+
} };
|
|
58
|
+
let y = (...e) => {
|
|
59
|
+
let t = v;
|
|
60
|
+
v = !1, o(...e), v = t;
|
|
61
|
+
}, b = t(u.setState, c, u);
|
|
62
|
+
if (_.type === "untracked" ? g?.init(b) : (_.stores[_.store] = u, g?.init(Object.fromEntries(Object.entries(_.stores).map(([e, t]) => [e, e === _.store ? b : t.getState()])))), e(u)) {
|
|
63
|
+
let e = u.dispatch;
|
|
64
|
+
u.dispatch = (...t) => {
|
|
65
|
+
e(...t);
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
return g.subscribe((t) => {
|
|
69
|
+
switch (t.type) {
|
|
70
|
+
case "ACTION":
|
|
71
|
+
if (typeof t.payload != "string") {
|
|
72
|
+
console.error("[zustand devtools middleware] Unsupported action format");
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
return l(t.payload, (t) => {
|
|
76
|
+
if (t.type === "__setState") {
|
|
77
|
+
if (p === void 0) {
|
|
78
|
+
y(t.state);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
Object.keys(t.state).length !== 1 && console.error("\n [zustand devtools middleware] Unsupported __setState action format.\n When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),\n and value of this only key should be a state object. Example: { \"type\": \"__setState\", \"state\": { \"abc123Store\": { \"foo\": \"bar\" } } }\n ");
|
|
82
|
+
let e = t.state[p];
|
|
83
|
+
if (e == null) return;
|
|
84
|
+
JSON.stringify(u.getState()) !== JSON.stringify(e) && y(e);
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
e(u) && u.dispatch(t);
|
|
88
|
+
});
|
|
89
|
+
case "DISPATCH":
|
|
90
|
+
switch (t.payload.type) {
|
|
91
|
+
case "RESET": return y(b), p === void 0 ? g?.init(u.getState()) : g?.init(n(m.name));
|
|
92
|
+
case "COMMIT":
|
|
93
|
+
if (p === void 0) {
|
|
94
|
+
g?.init(u.getState());
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
return g?.init(n(m.name));
|
|
98
|
+
case "ROLLBACK": return l(t.state, (e) => {
|
|
99
|
+
if (p === void 0) {
|
|
100
|
+
y(e), g?.init(u.getState());
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
y(e[p]), g?.init(n(m.name));
|
|
104
|
+
});
|
|
105
|
+
case "JUMP_TO_STATE":
|
|
106
|
+
case "JUMP_TO_ACTION": return l(t.state, (e) => {
|
|
107
|
+
if (p === void 0) {
|
|
108
|
+
y(e);
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
JSON.stringify(u.getState()) !== JSON.stringify(e[p]) && y(e[p]);
|
|
112
|
+
});
|
|
113
|
+
case "IMPORT_STATE": {
|
|
114
|
+
let { nextLiftedState: e } = t.payload, n = e.computedStates.slice(-1)[0]?.state;
|
|
115
|
+
if (!n) return;
|
|
116
|
+
y(p === void 0 ? n : n[p]), g?.send(null, e);
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
case "PAUSE_RECORDING": return v = !v;
|
|
120
|
+
}
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
}), b;
|
|
124
|
+
}, l = (e, t) => {
|
|
125
|
+
let n;
|
|
126
|
+
try {
|
|
127
|
+
n = JSON.parse(e);
|
|
128
|
+
} catch (e) {
|
|
129
|
+
console.error("[zustand devtools middleware] Could not parse the received json", e);
|
|
130
|
+
}
|
|
131
|
+
n !== void 0 && t(n);
|
|
132
|
+
};
|
|
133
|
+
function u(e, t) {
|
|
134
|
+
let n;
|
|
135
|
+
try {
|
|
136
|
+
n = e();
|
|
137
|
+
} catch {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
return {
|
|
141
|
+
getItem: (e) => {
|
|
142
|
+
let r = (e) => e === null ? null : JSON.parse(e, t?.reviver), i = n.getItem(e) ?? null;
|
|
143
|
+
return i instanceof Promise ? i.then(r) : r(i);
|
|
144
|
+
},
|
|
145
|
+
setItem: (e, r) => n.setItem(e, JSON.stringify(r, t?.replacer)),
|
|
146
|
+
removeItem: (e) => n.removeItem(e)
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
var d = (e) => (t) => {
|
|
150
|
+
try {
|
|
151
|
+
let n = e(t);
|
|
152
|
+
return n instanceof Promise ? n : {
|
|
153
|
+
then(e) {
|
|
154
|
+
return d(e)(n);
|
|
155
|
+
},
|
|
156
|
+
catch(e) {
|
|
157
|
+
return this;
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
} catch (e) {
|
|
161
|
+
return {
|
|
162
|
+
then(e) {
|
|
163
|
+
return this;
|
|
164
|
+
},
|
|
165
|
+
catch(t) {
|
|
166
|
+
return d(t)(e);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
}, f = (e, t) => (n, r, i) => {
|
|
171
|
+
let a = {
|
|
172
|
+
storage: u(() => window.localStorage),
|
|
173
|
+
partialize: (e) => e,
|
|
174
|
+
version: 0,
|
|
175
|
+
merge: (e, t) => ({
|
|
176
|
+
...t,
|
|
177
|
+
...e
|
|
178
|
+
}),
|
|
179
|
+
...t
|
|
180
|
+
}, o = !1, s = 0, c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), f = a.storage;
|
|
181
|
+
if (!f) return e((...e) => {
|
|
182
|
+
console.warn(`[zustand persist middleware] Unable to update item '${a.name}', the given storage is currently unavailable.`), n(...e);
|
|
183
|
+
}, r, i);
|
|
184
|
+
let p = () => {
|
|
185
|
+
let e = a.partialize({ ...r() });
|
|
186
|
+
return f.setItem(a.name, {
|
|
187
|
+
state: e,
|
|
188
|
+
version: a.version
|
|
189
|
+
});
|
|
190
|
+
}, m = i.setState;
|
|
191
|
+
i.setState = (e, t) => (m(e, t), p());
|
|
192
|
+
let h = e((...e) => (n(...e), p()), r, i);
|
|
193
|
+
i.getInitialState = () => h;
|
|
194
|
+
let g, _ = () => {
|
|
195
|
+
if (!f) return;
|
|
196
|
+
let e = ++s;
|
|
197
|
+
o = !1, c.forEach((e) => e(r() ?? h));
|
|
198
|
+
let t = a.onRehydrateStorage?.call(a, r() ?? h) || void 0;
|
|
199
|
+
return d(f.getItem.bind(f))(a.name).then((e) => {
|
|
200
|
+
if (e) if (typeof e.version == "number" && e.version !== a.version) {
|
|
201
|
+
if (a.migrate) {
|
|
202
|
+
let t = a.migrate(e.state, e.version);
|
|
203
|
+
return t instanceof Promise ? t.then((e) => [!0, e]) : [!0, t];
|
|
204
|
+
}
|
|
205
|
+
console.error("State loaded from storage couldn't be migrated since no migrate function was provided");
|
|
206
|
+
} else return [!1, e.state];
|
|
207
|
+
return [!1, void 0];
|
|
208
|
+
}).then((t) => {
|
|
209
|
+
if (e !== s) return;
|
|
210
|
+
let [i, o] = t;
|
|
211
|
+
if (g = a.merge(o, r() ?? h), n(g, !0), i) return p();
|
|
212
|
+
}).then(() => {
|
|
213
|
+
e === s && (t?.(r(), void 0), g = r(), o = !0, l.forEach((e) => e(g)));
|
|
214
|
+
}).catch((n) => {
|
|
215
|
+
e === s && t?.(void 0, n);
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
return i.persist = {
|
|
219
|
+
setOptions: (e) => {
|
|
220
|
+
a = {
|
|
221
|
+
...a,
|
|
222
|
+
...e
|
|
223
|
+
}, e.storage && (f = e.storage);
|
|
224
|
+
},
|
|
225
|
+
clearStorage: () => {
|
|
226
|
+
f?.removeItem(a.name);
|
|
227
|
+
},
|
|
228
|
+
getOptions: () => a,
|
|
229
|
+
rehydrate: () => _(),
|
|
230
|
+
hasHydrated: () => o,
|
|
231
|
+
onHydrate: (e) => (c.add(e), () => {
|
|
232
|
+
c.delete(e);
|
|
233
|
+
}),
|
|
234
|
+
onFinishHydration: (e) => (l.add(e), () => {
|
|
235
|
+
l.delete(e);
|
|
236
|
+
})
|
|
237
|
+
}, a.skipHydration || _(), g || h;
|
|
238
|
+
};
|
|
239
|
+
//#endregion
|
|
240
|
+
export { c as devtools, f as persist };
|
|
@@ -1,77 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}],
|
|
15
|
-
["path", {
|
|
16
|
-
d: "M9 18h6",
|
|
17
|
-
key: "x1upvd"
|
|
18
|
-
}],
|
|
19
|
-
["path", {
|
|
20
|
-
d: "M10 22h4",
|
|
21
|
-
key: "ceow96"
|
|
22
|
-
}]
|
|
23
|
-
]), x = l("Send", [["path", {
|
|
24
|
-
d: "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",
|
|
25
|
-
key: "1ffxy3"
|
|
26
|
-
}], ["path", {
|
|
27
|
-
d: "m21.854 2.147-10.94 10.939",
|
|
28
|
-
key: "12cjpa"
|
|
29
|
-
}]]), S = l("Sparkles", [
|
|
30
|
-
["path", {
|
|
31
|
-
d: "M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",
|
|
32
|
-
key: "4pj2yx"
|
|
33
|
-
}],
|
|
34
|
-
["path", {
|
|
35
|
-
d: "M20 3v4",
|
|
36
|
-
key: "1olli1"
|
|
37
|
-
}],
|
|
38
|
-
["path", {
|
|
39
|
-
d: "M22 5h-4",
|
|
40
|
-
key: "1gvqau"
|
|
41
|
-
}],
|
|
42
|
-
["path", {
|
|
43
|
-
d: "M4 17v2",
|
|
44
|
-
key: "vumght"
|
|
45
|
-
}],
|
|
46
|
-
["path", {
|
|
47
|
-
d: "M5 18H3",
|
|
48
|
-
key: "zchphs"
|
|
49
|
-
}]
|
|
50
|
-
]);
|
|
51
|
-
//#endregion
|
|
1
|
+
import { Bot as e } from "../node_modules/lucide-react/dist/esm/icons/bot.js";
|
|
2
|
+
import { CircleAlert as t } from "../node_modules/lucide-react/dist/esm/icons/circle-alert.js";
|
|
3
|
+
import { Lightbulb as n } from "../node_modules/lucide-react/dist/esm/icons/lightbulb.js";
|
|
4
|
+
import { Route as r } from "../node_modules/lucide-react/dist/esm/icons/route.js";
|
|
5
|
+
import { Send as i } from "../node_modules/lucide-react/dist/esm/icons/send.js";
|
|
6
|
+
import { Sparkles as a } from "../node_modules/lucide-react/dist/esm/icons/sparkles.js";
|
|
7
|
+
import { TrendingUp as o } from "../node_modules/lucide-react/dist/esm/icons/trending-up.js";
|
|
8
|
+
import { useAssistant as s } from "../hooks/useAssistant.js";
|
|
9
|
+
import { Badge as c, Button as l, Card as u, CardContent as d, CardHeader as f, CardTitle as p, Input as m, ScrollArea as h } from "../components/ui.js";
|
|
10
|
+
import { PageLayout as g } from "../components/PageLayout.js";
|
|
11
|
+
import { useState as _ } from "react";
|
|
12
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
13
|
+
import { GlassCard as b, PagePurpose as x } from "@burdenoff/fe-libs/ui";
|
|
52
14
|
//#region src/movethewheels/pages/AIAssistantPage.tsx
|
|
53
|
-
function
|
|
54
|
-
let { ask:
|
|
15
|
+
function S() {
|
|
16
|
+
let { ask: S, isLoading: C } = s(), [w, T] = _(""), [E, D] = _([{
|
|
55
17
|
role: "assistant",
|
|
56
18
|
content: "Hello! I'm your logistics assistant. Ask me about your orders, deliveries, fleet or inventory and I'll answer from your live operational data."
|
|
57
19
|
}]), O = [
|
|
58
20
|
{
|
|
59
|
-
icon:
|
|
21
|
+
icon: r,
|
|
60
22
|
text: "Optimize today's delivery routes",
|
|
61
23
|
category: "Route Planning"
|
|
62
24
|
},
|
|
63
25
|
{
|
|
64
|
-
icon:
|
|
26
|
+
icon: o,
|
|
65
27
|
text: "Show demand forecast for next week",
|
|
66
28
|
category: "Analytics"
|
|
67
29
|
},
|
|
68
30
|
{
|
|
69
|
-
icon:
|
|
31
|
+
icon: t,
|
|
70
32
|
text: "Identify potential delivery delays",
|
|
71
33
|
category: "Alerts"
|
|
72
34
|
},
|
|
73
35
|
{
|
|
74
|
-
icon:
|
|
36
|
+
icon: n,
|
|
75
37
|
text: "Suggest fleet efficiency improvements",
|
|
76
38
|
category: "Insights"
|
|
77
39
|
}
|
|
@@ -89,7 +51,7 @@ function C() {
|
|
|
89
51
|
content: t
|
|
90
52
|
}]);
|
|
91
53
|
try {
|
|
92
|
-
let e = await
|
|
54
|
+
let e = await S(t);
|
|
93
55
|
D((t) => [...t, {
|
|
94
56
|
role: "assistant",
|
|
95
57
|
content: e.answer
|
|
@@ -105,54 +67,54 @@ function C() {
|
|
|
105
67
|
}, j = () => {
|
|
106
68
|
A(w);
|
|
107
69
|
};
|
|
108
|
-
return /* @__PURE__ */
|
|
70
|
+
return /* @__PURE__ */ y(g, {
|
|
109
71
|
title: "AI Assistant",
|
|
110
72
|
subtitle: "Intelligent logistics support",
|
|
111
|
-
icon: /* @__PURE__ */
|
|
112
|
-
children: [/* @__PURE__ */
|
|
113
|
-
icon: /* @__PURE__ */
|
|
73
|
+
icon: /* @__PURE__ */ v(e, { size: 24 }),
|
|
74
|
+
children: [/* @__PURE__ */ v(x, {
|
|
75
|
+
icon: /* @__PURE__ */ v(e, { size: 18 }),
|
|
114
76
|
children: "Ask plain-English questions about your operation and get answers backed by your own data. Use it to optimize routes, forecast demand, spot likely delays, and run what-if scenarios (e.g. “what if I add two vehicles?”) — like having a logistics analyst on call."
|
|
115
|
-
}), /* @__PURE__ */
|
|
77
|
+
}), /* @__PURE__ */ y("div", {
|
|
116
78
|
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
117
|
-
children: [/* @__PURE__ */
|
|
79
|
+
children: [/* @__PURE__ */ v("div", {
|
|
118
80
|
className: "lg:col-span-2 space-y-4",
|
|
119
|
-
children: /* @__PURE__ */
|
|
81
|
+
children: /* @__PURE__ */ y(b, {
|
|
120
82
|
treatment: "glass",
|
|
121
83
|
glow: !0,
|
|
122
84
|
className: "h-[600px] flex flex-col",
|
|
123
85
|
children: [
|
|
124
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ v(f, {
|
|
125
87
|
className: "border-b border-border-seam",
|
|
126
|
-
children: /* @__PURE__ */
|
|
88
|
+
children: /* @__PURE__ */ y(p, {
|
|
127
89
|
className: "flex items-center gap-2",
|
|
128
|
-
children: [/* @__PURE__ */
|
|
90
|
+
children: [/* @__PURE__ */ v(a, {
|
|
129
91
|
size: 18,
|
|
130
92
|
className: "text-primary"
|
|
131
93
|
}), " Chat with AI"]
|
|
132
94
|
})
|
|
133
95
|
}),
|
|
134
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ v(h, {
|
|
135
97
|
className: "flex-1 p-4",
|
|
136
|
-
children: /* @__PURE__ */
|
|
98
|
+
children: /* @__PURE__ */ y("div", {
|
|
137
99
|
className: "space-y-4",
|
|
138
|
-
children: [E.map((e, t) => /* @__PURE__ */
|
|
100
|
+
children: [E.map((e, t) => /* @__PURE__ */ v("div", {
|
|
139
101
|
className: `flex ${e.role === "user" ? "justify-end" : "justify-start"}`,
|
|
140
|
-
children: /* @__PURE__ */
|
|
102
|
+
children: /* @__PURE__ */ v("div", {
|
|
141
103
|
className: `max-w-[80%] p-3 rounded-lg ${e.role === "user" ? "bg-action-primary-bg text-action-primary-text" : e.isError ? "bg-status-error-bg-subtle text-status-error-text" : "bg-bg-sunken"}`,
|
|
142
|
-
children: /* @__PURE__ */
|
|
104
|
+
children: /* @__PURE__ */ v("p", {
|
|
143
105
|
className: "whitespace-pre-line text-sm",
|
|
144
106
|
children: e.content
|
|
145
107
|
})
|
|
146
108
|
})
|
|
147
|
-
}, t)), C && /* @__PURE__ */
|
|
109
|
+
}, t)), C && /* @__PURE__ */ v("div", {
|
|
148
110
|
className: "flex justify-start",
|
|
149
111
|
"aria-live": "polite",
|
|
150
|
-
children: /* @__PURE__ */
|
|
112
|
+
children: /* @__PURE__ */ y("div", {
|
|
151
113
|
className: "max-w-[80%] p-3 rounded-lg bg-bg-sunken flex items-center gap-2",
|
|
152
|
-
children: [/* @__PURE__ */
|
|
114
|
+
children: [/* @__PURE__ */ v(a, {
|
|
153
115
|
size: 14,
|
|
154
116
|
className: "text-primary motion-safe:animate-pulse"
|
|
155
|
-
}), /* @__PURE__ */
|
|
117
|
+
}), /* @__PURE__ */ v("span", {
|
|
156
118
|
className: "text-sm text-text-secondary",
|
|
157
119
|
children: "Analyzing your data…"
|
|
158
120
|
})]
|
|
@@ -160,45 +122,45 @@ function C() {
|
|
|
160
122
|
})]
|
|
161
123
|
})
|
|
162
124
|
}),
|
|
163
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ v("div", {
|
|
164
126
|
className: "p-4 border-t",
|
|
165
|
-
children: /* @__PURE__ */
|
|
127
|
+
children: /* @__PURE__ */ y("div", {
|
|
166
128
|
className: "flex gap-2",
|
|
167
|
-
children: [/* @__PURE__ */
|
|
129
|
+
children: [/* @__PURE__ */ v(m, {
|
|
168
130
|
value: w,
|
|
169
131
|
onChange: (e) => T(e.target.value),
|
|
170
132
|
placeholder: "Ask me anything about your logistics operations...",
|
|
171
133
|
disabled: C,
|
|
172
134
|
onKeyPress: (e) => e.key === "Enter" && j()
|
|
173
|
-
}), /* @__PURE__ */
|
|
135
|
+
}), /* @__PURE__ */ v(l, {
|
|
174
136
|
onClick: j,
|
|
175
137
|
disabled: C || !w.trim(),
|
|
176
|
-
children: /* @__PURE__ */
|
|
138
|
+
children: /* @__PURE__ */ v(i, { size: 16 })
|
|
177
139
|
})]
|
|
178
140
|
})
|
|
179
141
|
})
|
|
180
142
|
]
|
|
181
143
|
})
|
|
182
|
-
}), /* @__PURE__ */
|
|
144
|
+
}), /* @__PURE__ */ y("div", {
|
|
183
145
|
className: "space-y-6",
|
|
184
146
|
children: [
|
|
185
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ y(u, { children: [/* @__PURE__ */ v(f, { children: /* @__PURE__ */ v(p, { children: "Quick Actions" }) }), /* @__PURE__ */ v(d, {
|
|
186
148
|
className: "space-y-2",
|
|
187
|
-
children: O.map((e, t) => /* @__PURE__ */
|
|
149
|
+
children: O.map((e, t) => /* @__PURE__ */ y(l, {
|
|
188
150
|
variant: "outline",
|
|
189
151
|
className: "w-full justify-start text-left h-auto py-3",
|
|
190
152
|
disabled: C,
|
|
191
153
|
onClick: () => void A(e.text),
|
|
192
154
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ v(e.icon, {
|
|
194
156
|
size: 16,
|
|
195
157
|
className: "mr-2 flex-shrink-0"
|
|
196
158
|
}),
|
|
197
|
-
/* @__PURE__ */
|
|
159
|
+
/* @__PURE__ */ v("span", {
|
|
198
160
|
className: "flex-1",
|
|
199
161
|
children: e.text
|
|
200
162
|
}),
|
|
201
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ v(c, {
|
|
202
164
|
variant: "secondary",
|
|
203
165
|
className: "text-xs",
|
|
204
166
|
children: e.category
|
|
@@ -206,29 +168,29 @@ function C() {
|
|
|
206
168
|
]
|
|
207
169
|
}, t))
|
|
208
170
|
})] }),
|
|
209
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ y(u, { children: [/* @__PURE__ */ v(f, { children: /* @__PURE__ */ v(p, { children: "Capabilities" }) }), /* @__PURE__ */ v(d, { children: /* @__PURE__ */ v("ul", {
|
|
210
172
|
className: "space-y-2 text-sm",
|
|
211
|
-
children: k.map((e, t) => /* @__PURE__ */
|
|
173
|
+
children: k.map((e, t) => /* @__PURE__ */ y("li", {
|
|
212
174
|
className: "flex items-start gap-2",
|
|
213
|
-
children: [/* @__PURE__ */
|
|
175
|
+
children: [/* @__PURE__ */ v(a, {
|
|
214
176
|
size: 14,
|
|
215
177
|
className: "text-primary mt-0.5 flex-shrink-0"
|
|
216
|
-
}), /* @__PURE__ */
|
|
178
|
+
}), /* @__PURE__ */ v("span", { children: e })]
|
|
217
179
|
}, t))
|
|
218
180
|
}) })] }),
|
|
219
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ v(u, {
|
|
220
182
|
className: "bg-action-primary-bg/5 border-primary/20",
|
|
221
|
-
children: /* @__PURE__ */
|
|
183
|
+
children: /* @__PURE__ */ v(d, {
|
|
222
184
|
className: "p-4",
|
|
223
|
-
children: /* @__PURE__ */
|
|
185
|
+
children: /* @__PURE__ */ y("div", {
|
|
224
186
|
className: "flex items-start gap-3",
|
|
225
|
-
children: [/* @__PURE__ */
|
|
187
|
+
children: [/* @__PURE__ */ v(n, {
|
|
226
188
|
size: 20,
|
|
227
189
|
className: "text-primary flex-shrink-0"
|
|
228
|
-
}), /* @__PURE__ */
|
|
190
|
+
}), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
229
191
|
className: "font-medium text-sm",
|
|
230
192
|
children: "Pro Tip"
|
|
231
|
-
}), /* @__PURE__ */
|
|
193
|
+
}), /* @__PURE__ */ v("p", {
|
|
232
194
|
className: "text-xs text-text-secondary",
|
|
233
195
|
children: "You can ask complex questions like \"What would happen if I added 2 more vehicles to my fleet?\" for scenario analysis."
|
|
234
196
|
})] })]
|
|
@@ -241,4 +203,4 @@ function C() {
|
|
|
241
203
|
});
|
|
242
204
|
}
|
|
243
205
|
//#endregion
|
|
244
|
-
export {
|
|
206
|
+
export { S as default };
|