@burdenoff/microfe-movethewheels 2026.704.1 → 2026.710.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-C_ZCYJ_h.js → hooks/useRoutes.js} +43 -42
- 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 +7 -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-Dqd5Don6.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 +31 -0
- package/dist/src/generated/wspace-operations.js +793 -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 +5 -1
- package/src/movethewheels/hooks/useRoutes.ts +17 -7
- package/src/movethewheels/index.ts +11 -0
- package/src/movethewheels/services/createSandboxAssistantTransport.ts +67 -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-BHQbFgI9.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,12 @@
|
|
|
1
|
+
import "./useOrders.js";
|
|
2
|
+
import "./useFleet.js";
|
|
3
|
+
import "./useInventory.js";
|
|
4
|
+
import "./useCustomers.js";
|
|
5
|
+
import "./useRoutes.js";
|
|
6
|
+
import "./useAnalytics.js";
|
|
7
|
+
import "./useTracking.js";
|
|
8
|
+
import "./useAssistant.js";
|
|
9
|
+
import "./useReports.js";
|
|
10
|
+
import "./useImportExport.js";
|
|
11
|
+
import "./useSettings.js";
|
|
12
|
+
import "./useEntityDocuments.js";
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
|
|
2
|
+
import { executeGraphQL as t } from "../utils/graphqlClient.js";
|
|
3
|
+
import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
|
|
4
|
+
//#region src/movethewheels/hooks/useAnalytics.ts
|
|
5
|
+
var o = "\n query GetMovethewheelsAnalytics {\n analytics {\n orderTrend {\n label\n value\n }\n deliveryTrend {\n label\n value\n }\n revenueTrend {\n label\n value\n }\n }\n dashboardMetrics {\n totalOrders\n activeDeliveries\n availableDrivers\n activeVehicles\n lowStockItems\n totalRevenue\n onTimeDeliveryRate\n customerSatisfaction\n }\n fleetStats {\n totalVehicles\n activeVehicles\n maintenanceVehicles\n avgDriverRating\n }\n }\n", s = "\n query GetDashboardMetrics {\n dashboardMetrics {\n totalOrders\n activeDeliveries\n availableDrivers\n activeVehicles\n lowStockItems\n totalRevenue\n onTimeDeliveryRate\n customerSatisfaction\n }\n orderStats {\n total\n pending\n inTransit\n delivered\n cancelled\n failed\n }\n fleetStats {\n totalVehicles\n activeVehicles\n maintenanceVehicles\n totalDrivers\n availableDrivers\n onDeliveryDrivers\n avgDriverRating\n }\n financeMetrics {\n revenue {\n totalRevenue\n averageOrderValue\n }\n }\n }\n", c = "\n query GetOrderAnalytics {\n orderStats {\n pending\n inTransit\n delivered\n cancelled\n failed\n }\n analytics {\n orderTrend {\n label\n value\n }\n }\n }\n";
|
|
6
|
+
function l() {
|
|
7
|
+
return {
|
|
8
|
+
overview: {
|
|
9
|
+
totalOrders: 0,
|
|
10
|
+
totalRevenue: 0,
|
|
11
|
+
activeVehicles: 0,
|
|
12
|
+
onTimeDeliveryRate: 0,
|
|
13
|
+
customerSatisfaction: 0
|
|
14
|
+
},
|
|
15
|
+
trends: {
|
|
16
|
+
dailyOrders: [],
|
|
17
|
+
revenue: []
|
|
18
|
+
},
|
|
19
|
+
fleet: {
|
|
20
|
+
utilization: 0,
|
|
21
|
+
totalVehicles: 0,
|
|
22
|
+
activeVehicles: 0,
|
|
23
|
+
maintenanceVehicles: 0,
|
|
24
|
+
outOfServiceVehicles: 0,
|
|
25
|
+
fuelEfficiency: 0
|
|
26
|
+
},
|
|
27
|
+
performance: {
|
|
28
|
+
onTimePickup: 0,
|
|
29
|
+
onTimeDelivery: 0,
|
|
30
|
+
damagedItems: 0,
|
|
31
|
+
customerComplaints: 0,
|
|
32
|
+
driverRatings: 0
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function u(s = {}) {
|
|
37
|
+
let { apiGatewayUrl: c, authToken: u, workspaceToken: d, workspaceId: f, tenantId: p, currentUser: m } = e(), [h, g] = a(l()), [_, v] = a(!1), [y, b] = a(null), x = i(() => ({
|
|
38
|
+
apiGatewayUrl: c,
|
|
39
|
+
authToken: u,
|
|
40
|
+
workspaceToken: d,
|
|
41
|
+
workspaceId: f,
|
|
42
|
+
tenantId: p,
|
|
43
|
+
actorId: m?.id
|
|
44
|
+
}), [
|
|
45
|
+
c,
|
|
46
|
+
u,
|
|
47
|
+
d,
|
|
48
|
+
f,
|
|
49
|
+
p,
|
|
50
|
+
m?.id
|
|
51
|
+
]), S = n(async () => {
|
|
52
|
+
v(!0), b(null);
|
|
53
|
+
try {
|
|
54
|
+
let e = await t(x, o);
|
|
55
|
+
g({
|
|
56
|
+
overview: {
|
|
57
|
+
totalOrders: e.dashboardMetrics.totalOrders,
|
|
58
|
+
totalRevenue: e.dashboardMetrics.totalRevenue,
|
|
59
|
+
activeVehicles: e.dashboardMetrics.activeVehicles,
|
|
60
|
+
onTimeDeliveryRate: e.dashboardMetrics.onTimeDeliveryRate,
|
|
61
|
+
customerSatisfaction: e.dashboardMetrics.customerSatisfaction
|
|
62
|
+
},
|
|
63
|
+
trends: {
|
|
64
|
+
dailyOrders: (() => {
|
|
65
|
+
let t = new Map((e.analytics.deliveryTrend ?? []).map((e) => [e.label, Math.round(e.value)]));
|
|
66
|
+
return e.analytics.orderTrend.map((e) => ({
|
|
67
|
+
date: e.label,
|
|
68
|
+
orders: Math.round(e.value),
|
|
69
|
+
deliveries: t.get(e.label) ?? 0
|
|
70
|
+
}));
|
|
71
|
+
})(),
|
|
72
|
+
revenue: e.analytics.revenueTrend.map((e) => ({
|
|
73
|
+
month: e.label,
|
|
74
|
+
revenue: e.value
|
|
75
|
+
}))
|
|
76
|
+
},
|
|
77
|
+
fleet: {
|
|
78
|
+
utilization: e.fleetStats.totalVehicles > 0 ? e.fleetStats.activeVehicles / e.fleetStats.totalVehicles * 100 : 0,
|
|
79
|
+
totalVehicles: e.fleetStats.totalVehicles,
|
|
80
|
+
activeVehicles: e.fleetStats.activeVehicles,
|
|
81
|
+
maintenanceVehicles: e.fleetStats.maintenanceVehicles,
|
|
82
|
+
outOfServiceVehicles: Math.max(e.fleetStats.totalVehicles - e.fleetStats.activeVehicles - e.fleetStats.maintenanceVehicles, 0),
|
|
83
|
+
fuelEfficiency: 0
|
|
84
|
+
},
|
|
85
|
+
performance: {
|
|
86
|
+
onTimePickup: 0,
|
|
87
|
+
onTimeDelivery: e.dashboardMetrics.onTimeDeliveryRate,
|
|
88
|
+
damagedItems: 0,
|
|
89
|
+
customerComplaints: 0,
|
|
90
|
+
driverRatings: e.fleetStats.avgDriverRating
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
} catch (e) {
|
|
94
|
+
b(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load analytics"));
|
|
95
|
+
} finally {
|
|
96
|
+
v(!1);
|
|
97
|
+
}
|
|
98
|
+
}, [x]);
|
|
99
|
+
return r(() => {
|
|
100
|
+
S();
|
|
101
|
+
}, [S]), {
|
|
102
|
+
analytics: h,
|
|
103
|
+
isLoading: _,
|
|
104
|
+
error: y,
|
|
105
|
+
refetch: n(() => {
|
|
106
|
+
S();
|
|
107
|
+
}, [S])
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function d() {
|
|
111
|
+
let { apiGatewayUrl: n, authToken: o, workspaceToken: c, workspaceId: l, tenantId: u, currentUser: d } = e(), [f, p] = a({
|
|
112
|
+
orders: {
|
|
113
|
+
total: 0,
|
|
114
|
+
pending: 0,
|
|
115
|
+
inTransit: 0,
|
|
116
|
+
delivered: 0,
|
|
117
|
+
today: 0
|
|
118
|
+
},
|
|
119
|
+
fleet: {
|
|
120
|
+
totalVehicles: 0,
|
|
121
|
+
activeVehicles: 0,
|
|
122
|
+
totalDrivers: 0,
|
|
123
|
+
availableDrivers: 0
|
|
124
|
+
},
|
|
125
|
+
revenue: {
|
|
126
|
+
total: 0,
|
|
127
|
+
avgOrderValue: 0,
|
|
128
|
+
currency: "USD"
|
|
129
|
+
},
|
|
130
|
+
performance: {
|
|
131
|
+
onTimeDeliveryRate: 0,
|
|
132
|
+
avgDriverRating: 0
|
|
133
|
+
}
|
|
134
|
+
}), [m, h] = a(!1), [g, _] = a(null), v = i(() => ({
|
|
135
|
+
apiGatewayUrl: n,
|
|
136
|
+
authToken: o,
|
|
137
|
+
workspaceToken: c,
|
|
138
|
+
workspaceId: l,
|
|
139
|
+
tenantId: u,
|
|
140
|
+
actorId: d?.id
|
|
141
|
+
}), [
|
|
142
|
+
n,
|
|
143
|
+
o,
|
|
144
|
+
c,
|
|
145
|
+
l,
|
|
146
|
+
u,
|
|
147
|
+
d?.id
|
|
148
|
+
]);
|
|
149
|
+
return r(() => {
|
|
150
|
+
(async () => {
|
|
151
|
+
h(!0), _(null);
|
|
152
|
+
try {
|
|
153
|
+
let e = await t(v, s);
|
|
154
|
+
p({
|
|
155
|
+
orders: {
|
|
156
|
+
total: e.orderStats.total,
|
|
157
|
+
pending: e.orderStats.pending,
|
|
158
|
+
inTransit: e.orderStats.inTransit,
|
|
159
|
+
delivered: e.orderStats.delivered,
|
|
160
|
+
today: 0
|
|
161
|
+
},
|
|
162
|
+
fleet: {
|
|
163
|
+
totalVehicles: e.fleetStats.totalVehicles,
|
|
164
|
+
activeVehicles: e.fleetStats.activeVehicles,
|
|
165
|
+
totalDrivers: e.fleetStats.totalDrivers,
|
|
166
|
+
availableDrivers: e.fleetStats.availableDrivers
|
|
167
|
+
},
|
|
168
|
+
revenue: {
|
|
169
|
+
total: e.financeMetrics.revenue.totalRevenue,
|
|
170
|
+
avgOrderValue: e.financeMetrics.revenue.averageOrderValue,
|
|
171
|
+
currency: "USD"
|
|
172
|
+
},
|
|
173
|
+
performance: {
|
|
174
|
+
onTimeDeliveryRate: e.dashboardMetrics.onTimeDeliveryRate,
|
|
175
|
+
avgDriverRating: e.fleetStats.avgDriverRating
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
} catch (e) {
|
|
179
|
+
_(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load dashboard metrics"));
|
|
180
|
+
} finally {
|
|
181
|
+
h(!1);
|
|
182
|
+
}
|
|
183
|
+
})();
|
|
184
|
+
}, [v]), {
|
|
185
|
+
metrics: f,
|
|
186
|
+
isLoading: m,
|
|
187
|
+
error: g
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
function f(e = "monthly") {
|
|
191
|
+
let { analytics: t, isLoading: n, error: r } = u();
|
|
192
|
+
return {
|
|
193
|
+
revenueData: i(() => e === "daily" ? t.trends.dailyOrders.map((e) => ({
|
|
194
|
+
label: e.date,
|
|
195
|
+
value: e.orders
|
|
196
|
+
})) : t.trends.revenue.map((e) => ({
|
|
197
|
+
label: e.month,
|
|
198
|
+
value: e.revenue
|
|
199
|
+
})), [
|
|
200
|
+
t.trends.dailyOrders,
|
|
201
|
+
t.trends.revenue,
|
|
202
|
+
e
|
|
203
|
+
]),
|
|
204
|
+
isLoading: n,
|
|
205
|
+
error: r
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function p() {
|
|
209
|
+
let { apiGatewayUrl: n, authToken: o, workspaceToken: s, workspaceId: l, tenantId: u, currentUser: d } = e(), [f, p] = a({
|
|
210
|
+
byStatus: [],
|
|
211
|
+
byType: [],
|
|
212
|
+
byPriority: [],
|
|
213
|
+
trends: []
|
|
214
|
+
}), [m, h] = a(!1), [g, _] = a(null), v = i(() => ({
|
|
215
|
+
apiGatewayUrl: n,
|
|
216
|
+
authToken: o,
|
|
217
|
+
workspaceToken: s,
|
|
218
|
+
workspaceId: l,
|
|
219
|
+
tenantId: u,
|
|
220
|
+
actorId: d?.id
|
|
221
|
+
}), [
|
|
222
|
+
n,
|
|
223
|
+
o,
|
|
224
|
+
s,
|
|
225
|
+
l,
|
|
226
|
+
u,
|
|
227
|
+
d?.id
|
|
228
|
+
]);
|
|
229
|
+
return r(() => {
|
|
230
|
+
(async () => {
|
|
231
|
+
h(!0), _(null);
|
|
232
|
+
try {
|
|
233
|
+
let e = await t(v, c);
|
|
234
|
+
p({
|
|
235
|
+
byStatus: [
|
|
236
|
+
{
|
|
237
|
+
status: "pending",
|
|
238
|
+
count: e.orderStats.pending
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
status: "in_transit",
|
|
242
|
+
count: e.orderStats.inTransit
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
status: "delivered",
|
|
246
|
+
count: e.orderStats.delivered
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
status: "cancelled",
|
|
250
|
+
count: e.orderStats.cancelled
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
status: "failed",
|
|
254
|
+
count: e.orderStats.failed
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
byType: [],
|
|
258
|
+
byPriority: [],
|
|
259
|
+
trends: e.analytics.orderTrend.map((e) => ({
|
|
260
|
+
date: e.label,
|
|
261
|
+
orders: Math.round(e.value)
|
|
262
|
+
}))
|
|
263
|
+
});
|
|
264
|
+
} catch (e) {
|
|
265
|
+
_(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load order analytics"));
|
|
266
|
+
} finally {
|
|
267
|
+
h(!1);
|
|
268
|
+
}
|
|
269
|
+
})();
|
|
270
|
+
}, [v]), {
|
|
271
|
+
orderData: f,
|
|
272
|
+
isLoading: m,
|
|
273
|
+
error: g
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
function m() {
|
|
277
|
+
let { analytics: e, isLoading: t, error: n } = u();
|
|
278
|
+
return {
|
|
279
|
+
fleetData: i(() => ({
|
|
280
|
+
vehicleUtilization: e.fleet.utilization,
|
|
281
|
+
avgFuelLevel: 0,
|
|
282
|
+
vehiclesByType: [],
|
|
283
|
+
driverPerformance: [],
|
|
284
|
+
fleetStats: e.fleet
|
|
285
|
+
}), [e.fleet]),
|
|
286
|
+
isLoading: t,
|
|
287
|
+
error: n
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
var h = "\n query GetMovethewheelsFinanceMetrics {\n financeMetrics {\n revenue {\n totalRevenue\n deliveredRevenue\n averageOrderValue\n }\n fuelCost\n openInvoices\n }\n }\n";
|
|
291
|
+
function g() {
|
|
292
|
+
let { apiGatewayUrl: o, authToken: s, workspaceToken: c, workspaceId: l, tenantId: u, currentUser: d } = e(), [f, p] = a({
|
|
293
|
+
totalRevenue: 0,
|
|
294
|
+
deliveredRevenue: 0,
|
|
295
|
+
averageOrderValue: 0,
|
|
296
|
+
fuelCost: 0,
|
|
297
|
+
openInvoices: 0
|
|
298
|
+
}), [m, g] = a(!1), [_, v] = a(null), y = i(() => ({
|
|
299
|
+
apiGatewayUrl: o,
|
|
300
|
+
authToken: s,
|
|
301
|
+
workspaceToken: c,
|
|
302
|
+
workspaceId: l,
|
|
303
|
+
tenantId: u,
|
|
304
|
+
actorId: d?.id
|
|
305
|
+
}), [
|
|
306
|
+
o,
|
|
307
|
+
s,
|
|
308
|
+
c,
|
|
309
|
+
l,
|
|
310
|
+
u,
|
|
311
|
+
d?.id
|
|
312
|
+
]), b = n(async () => {
|
|
313
|
+
g(!0), v(null);
|
|
314
|
+
try {
|
|
315
|
+
let e = await t(y, h);
|
|
316
|
+
p({
|
|
317
|
+
totalRevenue: e.financeMetrics.revenue.totalRevenue,
|
|
318
|
+
deliveredRevenue: e.financeMetrics.revenue.deliveredRevenue,
|
|
319
|
+
averageOrderValue: e.financeMetrics.revenue.averageOrderValue,
|
|
320
|
+
fuelCost: e.financeMetrics.fuelCost,
|
|
321
|
+
openInvoices: e.financeMetrics.openInvoices
|
|
322
|
+
});
|
|
323
|
+
} catch (e) {
|
|
324
|
+
v(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load finance metrics"));
|
|
325
|
+
} finally {
|
|
326
|
+
g(!1);
|
|
327
|
+
}
|
|
328
|
+
}, [y]);
|
|
329
|
+
return r(() => {
|
|
330
|
+
b();
|
|
331
|
+
}, [b]), {
|
|
332
|
+
metrics: f,
|
|
333
|
+
isLoading: m,
|
|
334
|
+
error: _,
|
|
335
|
+
refetch: n(() => {
|
|
336
|
+
b();
|
|
337
|
+
}, [b])
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
function _() {
|
|
341
|
+
let { analytics: e, isLoading: t, error: n } = u();
|
|
342
|
+
return {
|
|
343
|
+
performanceData: i(() => ({
|
|
344
|
+
...e.performance,
|
|
345
|
+
driverRatings: []
|
|
346
|
+
}), [e.performance]),
|
|
347
|
+
isLoading: t,
|
|
348
|
+
error: n
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
//#endregion
|
|
352
|
+
export { u as useAnalytics, d as useDashboardMetrics, g as useFinanceMetrics, m as useFleetAnalytics, p as useOrderAnalytics, _ as usePerformanceAnalytics, f as useRevenueAnalytics };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
|
|
2
|
+
import { executeGraphQL as t } from "../utils/graphqlClient.js";
|
|
3
|
+
import { useCallback as n, useMemo as r, useState as i } from "react";
|
|
4
|
+
//#region src/movethewheels/hooks/useAssistant.ts
|
|
5
|
+
var a = "\n query MovethewheelsAssistantInsights($question: String!) {\n assistantInsights(question: $question) {\n answer\n generatedAt\n question\n }\n }\n";
|
|
6
|
+
function o() {
|
|
7
|
+
let { apiGatewayUrl: o, authToken: s, workspaceToken: c, workspaceId: l, tenantId: u, currentUser: d } = e(), [f, p] = i(!1), [m, h] = i(null), g = r(() => ({
|
|
8
|
+
apiGatewayUrl: o,
|
|
9
|
+
authToken: s,
|
|
10
|
+
workspaceToken: c,
|
|
11
|
+
workspaceId: l,
|
|
12
|
+
tenantId: u,
|
|
13
|
+
actorId: d?.id
|
|
14
|
+
}), [
|
|
15
|
+
o,
|
|
16
|
+
s,
|
|
17
|
+
c,
|
|
18
|
+
l,
|
|
19
|
+
u,
|
|
20
|
+
d?.id
|
|
21
|
+
]);
|
|
22
|
+
return {
|
|
23
|
+
ask: n(async (e) => {
|
|
24
|
+
p(!0), h(null);
|
|
25
|
+
try {
|
|
26
|
+
return (await t(g, a, { question: e })).assistantInsights;
|
|
27
|
+
} catch (e) {
|
|
28
|
+
let t = e instanceof Error ? e : /* @__PURE__ */ Error("Failed to get assistant response");
|
|
29
|
+
throw h(t), t;
|
|
30
|
+
} finally {
|
|
31
|
+
p(!1);
|
|
32
|
+
}
|
|
33
|
+
}, [g]),
|
|
34
|
+
isLoading: f,
|
|
35
|
+
error: m
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { o as useAssistant };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
|
|
2
|
+
import { executeGraphQL as t } from "../utils/graphqlClient.js";
|
|
2
3
|
import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
|
|
3
4
|
//#region src/movethewheels/hooks/useCustomers.ts
|
|
4
5
|
var o = "\n query ListCustomers($filter: CustomerFilterInput, $pagination: PaginationInput) {\n customers(filter: $filter, pagination: $pagination) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", s = "\n query GetCustomer($id: ID!) {\n customer(id: $id) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", c = "\n mutation CreateCustomer($input: CreateCustomerInput!) {\n createCustomer(input: $input) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", l = "\n mutation UpdateCustomer($id: ID!, $input: UpdateCustomerInput!) {\n updateCustomer(id: $id, input: $input) {\n id\n name\n email\n phone\n type\n company\n address\n businessLicense\n taxId\n rating\n createdAt\n updatedAt\n deletedAt\n }\n }\n", u = "\n mutation DeleteCustomer($id: ID!) {\n deleteCustomer(id: $id)\n }\n";
|
|
@@ -33,7 +34,7 @@ function f(s = {}) {
|
|
|
33
34
|
f?.isActive,
|
|
34
35
|
f?.search,
|
|
35
36
|
f?.type
|
|
36
|
-
]), { apiGatewayUrl: g, authToken: _, workspaceToken: v, workspaceId: y, tenantId: b, currentUser: x } =
|
|
37
|
+
]), { apiGatewayUrl: g, authToken: _, workspaceToken: v, workspaceId: y, tenantId: b, currentUser: x } = e(), [S, C] = a([]), [w, T] = a(!1), [E, D] = a(!1), [O, k] = a(null), A = i(() => ({
|
|
37
38
|
apiGatewayUrl: g,
|
|
38
39
|
authToken: _,
|
|
39
40
|
workspaceToken: v,
|
|
@@ -50,7 +51,7 @@ function f(s = {}) {
|
|
|
50
51
|
]), j = n(async () => {
|
|
51
52
|
D(!0), k(null);
|
|
52
53
|
try {
|
|
53
|
-
let
|
|
54
|
+
let e = (await t(A, o, {
|
|
54
55
|
filter: {
|
|
55
56
|
type: h?.type,
|
|
56
57
|
search: h?.search
|
|
@@ -60,8 +61,8 @@ function f(s = {}) {
|
|
|
60
61
|
offset: m
|
|
61
62
|
}
|
|
62
63
|
})).customers;
|
|
63
|
-
T(
|
|
64
|
-
let n =
|
|
64
|
+
T(e.length === p);
|
|
65
|
+
let n = e.map(d);
|
|
65
66
|
h?.isActive !== void 0 && (n = n.filter((e) => e.isActive === h.isActive)), C(n);
|
|
66
67
|
} catch (e) {
|
|
67
68
|
k(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load customers"));
|
|
@@ -79,22 +80,22 @@ function f(s = {}) {
|
|
|
79
80
|
}, [j]);
|
|
80
81
|
let M = n(() => {
|
|
81
82
|
j();
|
|
82
|
-
}, [j]), N = n(async (
|
|
83
|
-
let n = d((await
|
|
84
|
-
name:
|
|
85
|
-
email:
|
|
86
|
-
phone:
|
|
87
|
-
type:
|
|
88
|
-
company:
|
|
89
|
-
address:
|
|
90
|
-
businessLicense:
|
|
91
|
-
taxId:
|
|
92
|
-
rating:
|
|
83
|
+
}, [j]), N = n(async (e) => {
|
|
84
|
+
let n = d((await t(A, c, { input: {
|
|
85
|
+
name: e.name,
|
|
86
|
+
email: e.email,
|
|
87
|
+
phone: e.phone,
|
|
88
|
+
type: e.type ?? "b2c",
|
|
89
|
+
company: e.company,
|
|
90
|
+
address: e.address,
|
|
91
|
+
businessLicense: e.businessLicense,
|
|
92
|
+
taxId: e.taxId,
|
|
93
|
+
rating: e.rating
|
|
93
94
|
} })).createCustomer);
|
|
94
95
|
return C((e) => [n, ...e]), n;
|
|
95
|
-
}, [A]), P = n(async (
|
|
96
|
-
let r = d((await
|
|
97
|
-
id:
|
|
96
|
+
}, [A]), P = n(async (e, n) => {
|
|
97
|
+
let r = d((await t(A, l, {
|
|
98
|
+
id: e,
|
|
98
99
|
input: {
|
|
99
100
|
name: n.name,
|
|
100
101
|
email: n.email,
|
|
@@ -107,9 +108,9 @@ function f(s = {}) {
|
|
|
107
108
|
rating: n.rating
|
|
108
109
|
}
|
|
109
110
|
})).updateCustomer);
|
|
110
|
-
return C((
|
|
111
|
-
}, [A]), F = n(async (
|
|
112
|
-
await
|
|
111
|
+
return C((t) => t.map((t) => t.id === e ? r : t)), r;
|
|
112
|
+
}, [A]), F = n(async (e) => {
|
|
113
|
+
await t(A, u, { id: e }), C((t) => t.filter((t) => t.id !== e));
|
|
113
114
|
}, [A]);
|
|
114
115
|
return {
|
|
115
116
|
customers: S,
|
|
@@ -124,7 +125,7 @@ function f(s = {}) {
|
|
|
124
125
|
};
|
|
125
126
|
}
|
|
126
127
|
function p(o) {
|
|
127
|
-
let { apiGatewayUrl: c, authToken: l, workspaceToken: u, workspaceId: f, tenantId: p, currentUser: m } =
|
|
128
|
+
let { apiGatewayUrl: c, authToken: l, workspaceToken: u, workspaceId: f, tenantId: p, currentUser: m } = e(), [h, g] = a(null), [_, v] = a(!1), [y, b] = a(null), x = i(() => ({
|
|
128
129
|
apiGatewayUrl: c,
|
|
129
130
|
authToken: l,
|
|
130
131
|
workspaceToken: u,
|
|
@@ -145,8 +146,8 @@ function p(o) {
|
|
|
145
146
|
}
|
|
146
147
|
v(!0), b(null);
|
|
147
148
|
try {
|
|
148
|
-
let
|
|
149
|
-
g(
|
|
149
|
+
let e = await t(x, s, { id: o });
|
|
150
|
+
g(e.customer ? d(e.customer) : null);
|
|
150
151
|
} catch (e) {
|
|
151
152
|
b(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load customer"));
|
|
152
153
|
} finally {
|
|
@@ -186,4 +187,4 @@ function m() {
|
|
|
186
187
|
};
|
|
187
188
|
}
|
|
188
189
|
//#endregion
|
|
189
|
-
export {
|
|
190
|
+
export { p as useCustomer, m as useCustomerStats, f as useCustomers };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { useMoveTheWheels as e } from "../providers/MoveTheWheelsProvider.js";
|
|
2
|
+
import { executeGraphQL as t } from "../utils/graphqlClient.js";
|
|
3
|
+
import { useCallback as n, useEffect as r, useMemo as i, useState as a } from "react";
|
|
4
|
+
//#region src/movethewheels/hooks/useEntityDocuments.ts
|
|
5
|
+
var o = "\n query ListEntityDocuments($filter: FileFilterInput, $pagination: PaginationInput) {\n files(filter: $filter, pagination: $pagination) {\n id\n name\n size\n mimeType\n createdAt\n downloadUrl\n }\n }\n";
|
|
6
|
+
function s(e) {
|
|
7
|
+
return {
|
|
8
|
+
id: e.id,
|
|
9
|
+
name: e.name,
|
|
10
|
+
size: e.size == null ? 0 : Number(e.size),
|
|
11
|
+
mimeType: e.mimeType,
|
|
12
|
+
createdAt: new Date(e.createdAt),
|
|
13
|
+
downloadUrl: e.downloadUrl ?? void 0
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function c(c, l) {
|
|
17
|
+
let { apiGatewayUrl: u, authToken: d, workspaceToken: f, workspaceId: p, tenantId: m, currentUser: h } = e(), [g, _] = a([]), [v, y] = a(!1), [b, x] = a(null), S = i(() => ({
|
|
18
|
+
apiGatewayUrl: u,
|
|
19
|
+
authToken: d,
|
|
20
|
+
workspaceToken: f,
|
|
21
|
+
workspaceId: p,
|
|
22
|
+
tenantId: m,
|
|
23
|
+
actorId: h?.id
|
|
24
|
+
}), [
|
|
25
|
+
u,
|
|
26
|
+
d,
|
|
27
|
+
f,
|
|
28
|
+
p,
|
|
29
|
+
m,
|
|
30
|
+
h?.id
|
|
31
|
+
]), C = n(async () => {
|
|
32
|
+
if (!l) {
|
|
33
|
+
_([]);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
y(!0), x(null);
|
|
37
|
+
try {
|
|
38
|
+
_(((await t(S, o, {
|
|
39
|
+
filter: { tags: [{
|
|
40
|
+
key: "mtwEntityType",
|
|
41
|
+
value: c
|
|
42
|
+
}, {
|
|
43
|
+
key: "mtwEntityId",
|
|
44
|
+
value: l
|
|
45
|
+
}] },
|
|
46
|
+
pagination: {
|
|
47
|
+
limit: 50,
|
|
48
|
+
offset: 0
|
|
49
|
+
}
|
|
50
|
+
})).files ?? []).map(s));
|
|
51
|
+
} catch (e) {
|
|
52
|
+
x(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to load documents")), _([]);
|
|
53
|
+
} finally {
|
|
54
|
+
y(!1);
|
|
55
|
+
}
|
|
56
|
+
}, [
|
|
57
|
+
l,
|
|
58
|
+
c,
|
|
59
|
+
S
|
|
60
|
+
]);
|
|
61
|
+
return r(() => {
|
|
62
|
+
C();
|
|
63
|
+
}, [C]), {
|
|
64
|
+
documents: g,
|
|
65
|
+
isLoading: v,
|
|
66
|
+
error: b,
|
|
67
|
+
refetch: n(() => {
|
|
68
|
+
C();
|
|
69
|
+
}, [C])
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
73
|
+
export { c as useEntityDocuments };
|