@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,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { MoveTheWheelsRootProps } from './types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Root component for the MoveTheWheels microfrontend.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* import { MoveTheWheelsRoot } from '@burdenoff/microfe-movethewheels';
|
|
10
|
+
*
|
|
11
|
+
* function App() {
|
|
12
|
+
* return (
|
|
13
|
+
* <MoveTheWheelsRoot
|
|
14
|
+
* basePath="/movethewheels"
|
|
15
|
+
* navigate={(path) => router.push(path)}
|
|
16
|
+
* currentUser={currentUser}
|
|
17
|
+
* workspaceId="ws-123"
|
|
18
|
+
* apiGatewayUrl="https://api.example.com"
|
|
19
|
+
* authToken="token"
|
|
20
|
+
* />
|
|
21
|
+
* );
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare const MoveTheWheelsRoot: FC<MoveTheWheelsRootProps>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface Column<T> {
|
|
4
|
+
id: string;
|
|
5
|
+
header: string | ReactNode;
|
|
6
|
+
accessorKey?: keyof T;
|
|
7
|
+
cell?: (row: T) => ReactNode;
|
|
8
|
+
sortable?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
headerClassName?: string;
|
|
11
|
+
}
|
|
12
|
+
interface DataTableProps<T> {
|
|
13
|
+
columns: Column<T>[];
|
|
14
|
+
data: T[];
|
|
15
|
+
isLoading?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* When the underlying fetch ultimately failed (after retries) and no rows are
|
|
18
|
+
* available to show, the table renders a distinct error state with a Retry
|
|
19
|
+
* action instead of the "empty" state — so a backend failure never reads as
|
|
20
|
+
* "no data".
|
|
21
|
+
*/
|
|
22
|
+
error?: Error | null;
|
|
23
|
+
/** Invoked by the error-state Retry button (typically the hook's refetch). */
|
|
24
|
+
onRetry?: () => void;
|
|
25
|
+
searchable?: boolean;
|
|
26
|
+
searchPlaceholder?: string;
|
|
27
|
+
searchFields?: (keyof T)[];
|
|
28
|
+
pagination?: boolean;
|
|
29
|
+
pageSize?: number;
|
|
30
|
+
pageSizeOptions?: number[];
|
|
31
|
+
onRowClick?: (row: T) => void;
|
|
32
|
+
rowClassName?: string | ((row: T) => string);
|
|
33
|
+
emptyMessage?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Boff UI 2.0 — standard illustration name served by the host at
|
|
36
|
+
* /illustrations/<name>.webp. When provided, the zero/empty state renders an
|
|
37
|
+
* on-brand IllustratedEmptyState instead of bare text. Search-result empties
|
|
38
|
+
* always use the empty-search illustration regardless of this value.
|
|
39
|
+
*/
|
|
40
|
+
emptyIllustration?: string;
|
|
41
|
+
/** Optional title for the illustrated empty state (defaults to emptyMessage). */
|
|
42
|
+
emptyTitle?: string;
|
|
43
|
+
/** Optional description for the illustrated empty state. */
|
|
44
|
+
emptyDescription?: ReactNode;
|
|
45
|
+
/** Optional primary action (e.g. a "Create" button) for the illustrated empty state. */
|
|
46
|
+
emptyAction?: ReactNode;
|
|
47
|
+
className?: string;
|
|
48
|
+
getRowId?: (row: T) => string;
|
|
49
|
+
/**
|
|
50
|
+
* Controlled (server-side) pagination. When `onPageChange` is provided the
|
|
51
|
+
* table stops slicing client-side — `data` is treated as the current page —
|
|
52
|
+
* and the pager Prev/Next/First/Last call the callbacks instead. Provide
|
|
53
|
+
* either `totalItems` (a real grand total is known) or `hasNextPage`
|
|
54
|
+
* (unknown total — Next is enabled while the last fetch returned a full page).
|
|
55
|
+
*/
|
|
56
|
+
pageIndex?: number;
|
|
57
|
+
onPageChange?: (pageIndex: number) => void;
|
|
58
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
59
|
+
totalItems?: number;
|
|
60
|
+
hasNextPage?: boolean;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* DataTable - A reusable data table component with sorting, search, and both
|
|
64
|
+
* client-side and controlled (server-side) pagination.
|
|
65
|
+
*/
|
|
66
|
+
export declare function DataTable<T extends object>({ columns, data, isLoading, error, onRetry, searchable, searchPlaceholder, searchFields, pagination, pageSize: pageSizeProp, pageSizeOptions, onRowClick, rowClassName, emptyMessage, emptyIllustration, emptyTitle, emptyDescription, emptyAction, className, getRowId, pageIndex, onPageChange, onPageSizeChange, totalItems, hasNextPage, }: DataTableProps<T>): import("react").JSX.Element;
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EntityDocumentType } from '../hooks/useEntityDocuments';
|
|
2
|
+
|
|
3
|
+
interface DocumentsCardProps {
|
|
4
|
+
entityType: EntityDocumentType;
|
|
5
|
+
entityId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function DocumentsCard({ entityType, entityId }: DocumentsCardProps): import("react").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FormError — inline error banner for create/edit forms.
|
|
3
|
+
*
|
|
4
|
+
* Renders nothing when there is no message, so it can be dropped into a form
|
|
5
|
+
* unconditionally. Uses semantic status tokens so it themes correctly.
|
|
6
|
+
*/
|
|
7
|
+
interface FormErrorProps {
|
|
8
|
+
message?: string | null;
|
|
9
|
+
}
|
|
10
|
+
export declare function FormError({ message }: FormErrorProps): import("react").JSX.Element | null;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface GlassPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
4
|
+
/** Optional panel title rendered in a compact header row. */
|
|
5
|
+
title?: ReactNode;
|
|
6
|
+
/** Optional right-aligned header slot (actions, filters, legend chips). */
|
|
7
|
+
action?: ReactNode;
|
|
8
|
+
/** Optional supporting text under the title. */
|
|
9
|
+
description?: ReactNode;
|
|
10
|
+
/** Inner padding. Defaults to `md`. Use `none` for edge-to-edge (maps/charts). */
|
|
11
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
12
|
+
treatment?: 'glass' | 'plain' | 'metric' | 'insight';
|
|
13
|
+
glow?: boolean;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
/** Extra classes for the inner content wrapper (below the header). */
|
|
16
|
+
bodyClassName?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* GlassPanel — a translucent, rounded surface wrapper with an optional header
|
|
20
|
+
* (title / description / action). The glassmorphism-lite building block for
|
|
21
|
+
* dashboard sections, map/chart cards, and side rails. Token-based, theme-aware,
|
|
22
|
+
* and follows the fe-libs no-movement hover policy.
|
|
23
|
+
*/
|
|
24
|
+
export declare function GlassPanel({ title, action, description, padding, treatment, glow, className, bodyClassName, children, ...rest }: GlassPanelProps): import("react").JSX.Element;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/** Semantic accent used to tint the sparkline, delta chip, and icon chip. */
|
|
4
|
+
export type MetricAccent = 'brand' | 'blue' | 'success' | 'warning' | 'error' | 'neutral';
|
|
5
|
+
export interface MetricDelta {
|
|
6
|
+
/** Formatted delta text, e.g. "+12%", "-5%", "+128". */
|
|
7
|
+
value: string;
|
|
8
|
+
/** Direction drives the arrow + semantic color. */
|
|
9
|
+
direction: 'up' | 'down' | 'flat';
|
|
10
|
+
/**
|
|
11
|
+
* When true, a downward direction is treated as GOOD (green) and upward as
|
|
12
|
+
* bad — for metrics where lower is better (e.g. failed deliveries, cost).
|
|
13
|
+
*/
|
|
14
|
+
invert?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface MetricCardProps {
|
|
17
|
+
/** Main value to display */
|
|
18
|
+
value: string | number;
|
|
19
|
+
/** Label describing the metric */
|
|
20
|
+
label: string;
|
|
21
|
+
/** Optional icon */
|
|
22
|
+
icon?: ReactNode;
|
|
23
|
+
/** Change from previous period (e.g., "+12%", "-5%") — legacy inline form. */
|
|
24
|
+
change?: string;
|
|
25
|
+
/** Whether the change is positive, negative, or neutral (legacy). */
|
|
26
|
+
changeType?: 'positive' | 'negative' | 'neutral';
|
|
27
|
+
/** Optional subtitle or additional info */
|
|
28
|
+
subtitle?: string;
|
|
29
|
+
/** Optional trend indicator (legacy inline form). */
|
|
30
|
+
trend?: 'up' | 'down' | 'flat';
|
|
31
|
+
/** Card size variant */
|
|
32
|
+
size?: 'sm' | 'md' | 'lg';
|
|
33
|
+
/** Optional click handler */
|
|
34
|
+
onClick?: () => void;
|
|
35
|
+
/** Additional CSS classes */
|
|
36
|
+
className?: string;
|
|
37
|
+
/** Boff UI 2.0 surface treatment. Defaults to the soft accent-wash metric surface. */
|
|
38
|
+
treatment?: 'metric' | 'glass';
|
|
39
|
+
/** Featured/active accent glow (used for the single hero metric per page). */
|
|
40
|
+
glow?: boolean;
|
|
41
|
+
/** Premium: a mini sparkline rendered in the card footer. Plain numbers. */
|
|
42
|
+
sparklineData?: number[];
|
|
43
|
+
/** Premium: a colored delta chip (preferred over `change`/`trend`). */
|
|
44
|
+
delta?: MetricDelta;
|
|
45
|
+
/** Accent color for the sparkline / icon chip / glow tint. Defaults to brand. */
|
|
46
|
+
accent?: MetricAccent;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* MetricCard — a premium stat card: big value, label, an optional colored delta
|
|
50
|
+
* chip, an optional inline sparkline, and a token-tinted icon chip. Backward
|
|
51
|
+
* compatible with the legacy `change`/`changeType`/`trend` props.
|
|
52
|
+
*/
|
|
53
|
+
export declare function MetricCard({ value, label, icon, change, changeType, subtitle, trend, size, onClick, className, treatment, glow, sparklineData, delta, accent, }: MetricCardProps): import("react").JSX.Element;
|
|
54
|
+
/**
|
|
55
|
+
* MetricCardSkeleton - Loading state for MetricCard
|
|
56
|
+
*/
|
|
57
|
+
export declare function MetricCardSkeleton({ size }: {
|
|
58
|
+
size?: 'sm' | 'md' | 'lg';
|
|
59
|
+
}): import("react").JSX.Element;
|
|
60
|
+
/**
|
|
61
|
+
* MetricGrid - Grid container for metric cards
|
|
62
|
+
*/
|
|
63
|
+
export declare function MetricGrid({ children, columns, className, }: {
|
|
64
|
+
children: ReactNode;
|
|
65
|
+
columns?: 2 | 3 | 4 | 5 | 6;
|
|
66
|
+
className?: string;
|
|
67
|
+
}): import("react").JSX.Element;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notice — inline success / info feedback banner.
|
|
3
|
+
*
|
|
4
|
+
* The MoveTheWheels MFE does not mount its own sonner Toaster (mounting a second
|
|
5
|
+
* Toaster inside a host shell causes duplicate toasts), so action feedback is
|
|
6
|
+
* shown inline via this banner. Renders nothing when there is no message, so it
|
|
7
|
+
* can be dropped in unconditionally. Uses semantic status tokens so it themes
|
|
8
|
+
* correctly. Pair it with `useNotice` for auto-dismiss behaviour.
|
|
9
|
+
*/
|
|
10
|
+
type NoticeVariant = 'success' | 'info';
|
|
11
|
+
interface NoticeProps {
|
|
12
|
+
message?: string | null;
|
|
13
|
+
variant?: NoticeVariant;
|
|
14
|
+
}
|
|
15
|
+
export declare function Notice({ message, variant }: NoticeProps): import("react").JSX.Element | null;
|
|
16
|
+
/**
|
|
17
|
+
* useNotice — transient success/info message that auto-clears after a delay.
|
|
18
|
+
* Returns the current message plus a `notify` setter, mirroring a toast API.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useNotice(autoDismissMs?: number): {
|
|
21
|
+
message: string | null;
|
|
22
|
+
notify: (next: string) => void;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface PageLayoutProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Page title */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Page subtitle/description */
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
/** Icon component to display next to title */
|
|
10
|
+
icon?: ReactNode;
|
|
11
|
+
/** Actions to display in header (buttons, etc.) */
|
|
12
|
+
headerActions?: ReactNode;
|
|
13
|
+
/** Additional header content below title */
|
|
14
|
+
headerContent?: ReactNode;
|
|
15
|
+
/** Maximum width of content: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' */
|
|
16
|
+
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
|
|
17
|
+
/** Whether to show the header section */
|
|
18
|
+
showHeader?: boolean;
|
|
19
|
+
/** Additional CSS classes for the container */
|
|
20
|
+
className?: string;
|
|
21
|
+
/** Additional CSS classes for the content area */
|
|
22
|
+
contentClassName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Boff UI 2.0 — render a subtle living aurora backdrop behind the page header.
|
|
25
|
+
* Reserved for the MFE's single primary page (the Dashboard). One per MFE.
|
|
26
|
+
*/
|
|
27
|
+
hero?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Boff UI 2.0 — the slice of the title to emphasise with a brand gradient.
|
|
30
|
+
* When provided, the title renders as `…<GradientText>{titleAccent}</GradientText>`.
|
|
31
|
+
*/
|
|
32
|
+
titleAccent?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* PageLayout - A consistent page wrapper with responsive design
|
|
36
|
+
*
|
|
37
|
+
* Features:
|
|
38
|
+
* - Proper max-width constraints
|
|
39
|
+
* - Responsive padding
|
|
40
|
+
* - Animated entrance
|
|
41
|
+
* - Consistent header styling
|
|
42
|
+
*/
|
|
43
|
+
export declare function PageLayout({ children, title, subtitle, icon, headerActions, headerContent, maxWidth, showHeader, className, contentClassName, hero, titleAccent, }: PageLayoutProps): import("react").JSX.Element;
|
|
44
|
+
/**
|
|
45
|
+
* PageSection - A section within a page with consistent spacing
|
|
46
|
+
*/
|
|
47
|
+
export declare function PageSection({ children, title, description, actions, className, }: {
|
|
48
|
+
children: ReactNode;
|
|
49
|
+
title?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
actions?: ReactNode;
|
|
52
|
+
className?: string;
|
|
53
|
+
}): import("react").JSX.Element;
|
|
54
|
+
/**
|
|
55
|
+
* EmptyState - A consistent empty/zero state component.
|
|
56
|
+
*
|
|
57
|
+
* Boff UI 2.0: when an `illustration` name is provided (one of the standard
|
|
58
|
+
* host-served names — empty-data, empty-search, empty-files, empty-people,
|
|
59
|
+
* empty-notifications, onboarding, empty-generic), it renders the on-brand
|
|
60
|
+
* IllustratedEmptyState. Otherwise it falls back to the legacy icon layout so
|
|
61
|
+
* existing callers keep working unchanged.
|
|
62
|
+
*/
|
|
63
|
+
export declare function EmptyState({ icon, title, description, action, className, illustration, }: {
|
|
64
|
+
icon?: ReactNode;
|
|
65
|
+
title: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
action?: ReactNode;
|
|
68
|
+
className?: string;
|
|
69
|
+
/** Standard illustration name served by the host at /illustrations/<name>.webp. */
|
|
70
|
+
illustration?: string;
|
|
71
|
+
}): import("react").JSX.Element;
|
|
72
|
+
/**
|
|
73
|
+
* LoadingState - A consistent loading state component
|
|
74
|
+
*/
|
|
75
|
+
export declare function LoadingState({ message }: {
|
|
76
|
+
message?: string;
|
|
77
|
+
}): import("react").JSX.Element;
|
|
78
|
+
/**
|
|
79
|
+
* ErrorState - A consistent error state component
|
|
80
|
+
*/
|
|
81
|
+
export declare function ErrorState({ title, message, onRetry, }: {
|
|
82
|
+
title?: string;
|
|
83
|
+
message?: string;
|
|
84
|
+
onRetry?: () => void;
|
|
85
|
+
}): import("react").JSX.Element;
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
type StatusType = 'order' | 'vehicle' | 'driver' | 'custom';
|
|
2
|
+
interface StatusBadgeProps {
|
|
3
|
+
status: string;
|
|
4
|
+
type?: StatusType;
|
|
5
|
+
customColors?: {
|
|
6
|
+
bg: string;
|
|
7
|
+
text: string;
|
|
8
|
+
};
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
|
+
showDot?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* StatusBadge - Displays status with appropriate colors
|
|
15
|
+
*/
|
|
16
|
+
export declare function StatusBadge({ status, type, customColors, size, showDot, className, }: StatusBadgeProps): import("react").JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* Priority Badge - Displays priority level
|
|
19
|
+
*/
|
|
20
|
+
export declare function PriorityBadge({ priority, size, className, }: {
|
|
21
|
+
priority: 'low' | 'normal' | 'high' | 'urgent';
|
|
22
|
+
size?: 'sm' | 'md' | 'lg';
|
|
23
|
+
className?: string;
|
|
24
|
+
}): import("react").JSX.Element;
|
|
25
|
+
/**
|
|
26
|
+
* TypeBadge - Displays B2B/B2C type
|
|
27
|
+
*/
|
|
28
|
+
export declare function TypeBadge({ type, size, className, }: {
|
|
29
|
+
type: 'b2b' | 'b2c';
|
|
30
|
+
size?: 'sm' | 'md' | 'lg';
|
|
31
|
+
className?: string;
|
|
32
|
+
}): import("react").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* PaymentStatusBadge - Displays payment status
|
|
35
|
+
*/
|
|
36
|
+
export declare function PaymentStatusBadge({ status, size, className, }: {
|
|
37
|
+
status: 'pending' | 'paid' | 'failed' | 'refunded';
|
|
38
|
+
size?: 'sm' | 'md' | 'lg';
|
|
39
|
+
className?: string;
|
|
40
|
+
}): import("react").JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* VehicleTypeBadge - Displays vehicle type
|
|
43
|
+
*/
|
|
44
|
+
export declare function VehicleTypeBadge({ type, size, className, }: {
|
|
45
|
+
type: 'van' | 'truck' | 'motorcycle' | 'bicycle' | 'car';
|
|
46
|
+
size?: 'sm' | 'md' | 'lg';
|
|
47
|
+
className?: string;
|
|
48
|
+
}): import("react").JSX.Element;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Small on-brand empty state used by every chart when there is no data.
|
|
5
|
+
* Honest: we never fabricate a placeholder series.
|
|
6
|
+
*/
|
|
7
|
+
export declare function ChartEmpty({ message, height, className, }: {
|
|
8
|
+
message?: string;
|
|
9
|
+
height?: number | string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
interface ChartTooltipPayloadItem {
|
|
13
|
+
name?: string | number;
|
|
14
|
+
value?: string | number;
|
|
15
|
+
color?: string;
|
|
16
|
+
dataKey?: string | number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Shared, token-styled recharts tooltip. Pass an optional value formatter.
|
|
20
|
+
*/
|
|
21
|
+
export declare function ChartTooltip({ active, payload, label, formatter, }: {
|
|
22
|
+
active?: boolean;
|
|
23
|
+
payload?: ChartTooltipPayloadItem[];
|
|
24
|
+
label?: ReactNode;
|
|
25
|
+
formatter?: (value: number | string, name: string) => ReactNode;
|
|
26
|
+
}): import("react").JSX.Element | null;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface SparklinePoint {
|
|
2
|
+
value: number;
|
|
3
|
+
}
|
|
4
|
+
interface SparklineProps {
|
|
5
|
+
/** Series values — plain numbers or `{ value }` points. */
|
|
6
|
+
data: Array<number | SparklinePoint>;
|
|
7
|
+
/** Chart color (defaults to brand orange). Sourced from a design token. */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** Render style. */
|
|
10
|
+
variant?: 'area' | 'line';
|
|
11
|
+
height?: number;
|
|
12
|
+
width?: number | string;
|
|
13
|
+
className?: string;
|
|
14
|
+
strokeWidth?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Sparkline — a tiny, axis-less trend chart for stat cards. Responsive within
|
|
18
|
+
* its container; renders nothing (an empty spacer) when there is no data so the
|
|
19
|
+
* card layout stays stable.
|
|
20
|
+
*/
|
|
21
|
+
export declare function Sparkline({ data, color, variant, height, width, className, strokeWidth, }: SparklineProps): import("react").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface DonutSlice {
|
|
2
|
+
name: string;
|
|
3
|
+
value: number;
|
|
4
|
+
/** Optional explicit color (design-token string). */
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
interface StatusDonutProps {
|
|
8
|
+
data: DonutSlice[];
|
|
9
|
+
height?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Big number rendered in the donut hole (e.g. a total). */
|
|
12
|
+
centerLabel?: string | number;
|
|
13
|
+
centerSubLabel?: string;
|
|
14
|
+
showLegend?: boolean;
|
|
15
|
+
emptyMessage?: string;
|
|
16
|
+
valueFormatter?: (value: number) => string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* StatusDonut — donut chart with a centered total and a token-styled legend.
|
|
20
|
+
* Responsive; renders an honest empty state when every slice is zero/absent.
|
|
21
|
+
*/
|
|
22
|
+
export declare function StatusDonut({ data, height, className, centerLabel, centerSubLabel, showLegend, emptyMessage, valueFormatter, }: StatusDonutProps): import("react").JSX.Element;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface TrendSeries {
|
|
2
|
+
/** Key into each data row. */
|
|
3
|
+
dataKey: string;
|
|
4
|
+
/** Legend / tooltip label. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Explicit color (design-token string). Defaults to the categorical palette. */
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
interface TrendChartProps {
|
|
10
|
+
/** Row objects keyed by `xKey` + each series `dataKey`. */
|
|
11
|
+
data: Array<Record<string, string | number>>;
|
|
12
|
+
series: TrendSeries[];
|
|
13
|
+
/** Row key for the X axis (e.g. "date"). */
|
|
14
|
+
xKey: string;
|
|
15
|
+
variant?: 'area' | 'line';
|
|
16
|
+
height?: number;
|
|
17
|
+
className?: string;
|
|
18
|
+
showLegend?: boolean;
|
|
19
|
+
showGrid?: boolean;
|
|
20
|
+
emptyMessage?: string;
|
|
21
|
+
/** Optional Y/tooltip value formatter. */
|
|
22
|
+
valueFormatter?: (value: number | string, name: string) => string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* TrendChart — multi-series area/line chart for trends over time. Fully
|
|
26
|
+
* responsive (ResponsiveContainer), token-colored, with an honest empty state.
|
|
27
|
+
*/
|
|
28
|
+
export declare function TrendChart({ data, series, xKey, variant, height, className, showLegend, showGrid, emptyMessage, valueFormatter, }: TrendChartProps): import("react").JSX.Element;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface VolumeSeries {
|
|
2
|
+
dataKey: string;
|
|
3
|
+
name: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
}
|
|
6
|
+
interface VolumeBarProps {
|
|
7
|
+
data: Array<Record<string, string | number>>;
|
|
8
|
+
series: VolumeSeries[];
|
|
9
|
+
xKey: string;
|
|
10
|
+
height?: number;
|
|
11
|
+
className?: string;
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
stacked?: boolean;
|
|
14
|
+
emptyMessage?: string;
|
|
15
|
+
valueFormatter?: (value: number | string, name: string) => string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* VolumeBar — grouped/stacked bar chart (e.g. weekly order volume, revenue by
|
|
19
|
+
* month). Responsive, token-colored, rounded bars, honest empty state.
|
|
20
|
+
*/
|
|
21
|
+
export declare function VolumeBar({ data, series, xKey, height, className, showLegend, stacked, emptyMessage, valueFormatter, }: VolumeBarProps): import("react").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart color tokens.
|
|
3
|
+
*
|
|
4
|
+
* Recharts needs explicit color strings on its series props (fill/stroke) where
|
|
5
|
+
* Tailwind token classes cannot reach the SVG. We source every one of those
|
|
6
|
+
* colors from the fe-libs design tokens via `var(--color-*)` so charts stay
|
|
7
|
+
* theme-aware (light/dark + product themes) and never introduce raw palette
|
|
8
|
+
* colors. The CSS variables resolve to full color values in the app-shell.
|
|
9
|
+
*/
|
|
10
|
+
export declare const chartTokens: {
|
|
11
|
+
/** Product brand orange — primary accent / first data series. */
|
|
12
|
+
readonly brandPrimary: "var(--color-brand-primary)";
|
|
13
|
+
/** Brand secondary (orange-hover) — used sparingly for gradients. */
|
|
14
|
+
readonly brandSecondary: "var(--color-brand-secondary)";
|
|
15
|
+
/** Brand blue — the natural counterpart series to the orange. */
|
|
16
|
+
readonly brandBlue: "var(--color-chart-1)";
|
|
17
|
+
/** Categorical series palette (theme-aware). */
|
|
18
|
+
readonly series: readonly ["var(--color-brand-primary)", "var(--color-chart-1)", "var(--color-chart-2)", "var(--color-chart-3)", "var(--color-chart-4)", "var(--color-chart-5)", "var(--color-chart-6)", "var(--color-chart-7)", "var(--color-chart-8)"];
|
|
19
|
+
readonly grid: "var(--color-chart-grid)";
|
|
20
|
+
readonly axis: "var(--color-chart-axis)";
|
|
21
|
+
readonly positive: "var(--color-chart-positive)";
|
|
22
|
+
readonly negative: "var(--color-chart-negative)";
|
|
23
|
+
readonly surface: "var(--color-bg-surface)";
|
|
24
|
+
readonly border: "var(--color-border-seam)";
|
|
25
|
+
readonly textSecondary: "var(--color-text-secondary)";
|
|
26
|
+
readonly textPrimary: "var(--color-text-primary)";
|
|
27
|
+
};
|
|
28
|
+
/** Resolve a categorical color by index, wrapping around the palette. */
|
|
29
|
+
export declare function seriesColor(index: number): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chart primitives (recharts) — token-colored, responsive, honest empty states.
|
|
3
|
+
*/
|
|
4
|
+
export { Sparkline, type SparklinePoint } from './Sparkline';
|
|
5
|
+
export { TrendChart, type TrendSeries } from './TrendChart';
|
|
6
|
+
export { VolumeBar, type VolumeSeries } from './VolumeBar';
|
|
7
|
+
export { StatusDonut, type DonutSlice } from './StatusDonut';
|
|
8
|
+
export { ChartEmpty, ChartTooltip } from './ChartShell';
|
|
9
|
+
export { chartTokens, seriesColor } from './chartTokens';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MoveTheWheels Components
|
|
3
|
+
*
|
|
4
|
+
* All shared components for the microfrontend.
|
|
5
|
+
*/
|
|
6
|
+
export * from './ui';
|
|
7
|
+
export { PageLayout, PageSection, EmptyState, LoadingState, ErrorState } from './PageLayout';
|
|
8
|
+
export { MetricCard, MetricCardSkeleton, MetricGrid, type MetricAccent, type MetricDelta, } from './MetricCard';
|
|
9
|
+
export { GlassPanel } from './GlassPanel';
|
|
10
|
+
export { Sparkline, TrendChart, VolumeBar, StatusDonut, ChartEmpty, ChartTooltip, chartTokens, seriesColor, type SparklinePoint, type TrendSeries, type VolumeSeries, type DonutSlice, } from './charts';
|
|
11
|
+
export { LogisticsMap, RouteMap, TrackingMap, MapCanvas, createPinIcon, createStopIcon, createCurrentIcon, isRealCoord, type LogisticsMarker, type LogisticsRoute, type RouteStop, type TrackPoint, type TrackEndpoint, type MapMarkerStatus, } from './maps';
|
|
12
|
+
export { StatusBadge, PriorityBadge, TypeBadge, PaymentStatusBadge, VehicleTypeBadge, } from './StatusBadge';
|
|
13
|
+
export { DataTable, type Column } from './DataTable';
|
|
14
|
+
export { FormError } from './FormError';
|
|
15
|
+
export { Notice, useNotice } from './Notice';
|
|
16
|
+
export { DocumentsCard } from './DocumentsCard';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MapMarkerStatus } from './leaflet-setup';
|
|
2
|
+
|
|
3
|
+
export interface LogisticsMarker {
|
|
4
|
+
id: string;
|
|
5
|
+
lat: number;
|
|
6
|
+
lng: number;
|
|
7
|
+
label: string;
|
|
8
|
+
status?: MapMarkerStatus;
|
|
9
|
+
sublabel?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface LogisticsRoute {
|
|
12
|
+
points: Array<[number, number]>;
|
|
13
|
+
color?: string;
|
|
14
|
+
}
|
|
15
|
+
interface LogisticsMapProps {
|
|
16
|
+
markers: LogisticsMarker[];
|
|
17
|
+
routes?: LogisticsRoute[];
|
|
18
|
+
height?: number | string;
|
|
19
|
+
className?: string;
|
|
20
|
+
fitToMarkers?: boolean;
|
|
21
|
+
emptyMessage?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* LogisticsMap — an OSM map of brand-styled vehicle/asset markers plus optional
|
|
25
|
+
* route polylines. Auto-fits to the visible markers. Coordinates at null-island
|
|
26
|
+
* (0,0) or non-finite values are treated as "no location" and filtered out, so
|
|
27
|
+
* the map is never dumped in the ocean. Empty markers → honest empty state.
|
|
28
|
+
*/
|
|
29
|
+
export declare function LogisticsMap({ markers, routes, height, className, fitToMarkers, emptyMessage, }: LogisticsMapProps): import("react").JSX.Element;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/** SSR/lazy safety: only mount Leaflet (which touches the DOM) after mount. */
|
|
4
|
+
export declare function useIsMounted(): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Imperatively fit the map to a set of [lat,lng] points whenever they change.
|
|
7
|
+
* Invalidates size on mount so tiles render correctly inside flex/grid parents.
|
|
8
|
+
*/
|
|
9
|
+
export declare function FitBounds({ points, padding, maxZoom, }: {
|
|
10
|
+
points: Array<[number, number]>;
|
|
11
|
+
padding?: number;
|
|
12
|
+
maxZoom?: number;
|
|
13
|
+
}): null;
|
|
14
|
+
interface MapCanvasProps {
|
|
15
|
+
points: Array<[number, number]>;
|
|
16
|
+
height?: number | string;
|
|
17
|
+
className?: string;
|
|
18
|
+
fitToMarkers?: boolean;
|
|
19
|
+
/** Fallback center when there are no points but we still render the canvas. */
|
|
20
|
+
center?: [number, number];
|
|
21
|
+
zoom?: number;
|
|
22
|
+
children?: ReactNode;
|
|
23
|
+
/** Rendered instead of the map when there are no points. */
|
|
24
|
+
emptyState?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* MapCanvas — the shared OSM MapContainer used by every map component. Handles
|
|
28
|
+
* mount-safety, container sizing, rounded/overflow styling, tile layer, and
|
|
29
|
+
* auto-fit. Renders `emptyState` when there is nothing to plot.
|
|
30
|
+
*/
|
|
31
|
+
export declare function MapCanvas({ points, height, className, fitToMarkers, center, zoom, children, emptyState, }: MapCanvasProps): import("react").JSX.Element;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface RouteStop {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
label: string;
|
|
5
|
+
sequence: number;
|
|
6
|
+
}
|
|
7
|
+
interface RouteMapProps {
|
|
8
|
+
stops: RouteStop[];
|
|
9
|
+
height?: number | string;
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Polyline color (design-token string). Defaults to brand blue. */
|
|
12
|
+
routeColor?: string;
|
|
13
|
+
emptyMessage?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* RouteMap — numbered stop markers in sequence connected by a polyline. Filters
|
|
17
|
+
* out stops without a real coordinate and orders the line by `sequence`.
|
|
18
|
+
*/
|
|
19
|
+
export declare function RouteMap({ stops, height, className, routeColor, emptyMessage, }: RouteMapProps): import("react").JSX.Element;
|
|
20
|
+
export {};
|