@burdenoff/microfe-movethewheels 2026.704.2 → 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-DAdy2BGv.js → hooks/useRoutes.js} +35 -34
- package/dist/hooks/useSettings.js +59 -0
- package/dist/{useTracking-7nd_XOSL.js → hooks/useTracking.js} +35 -34
- package/dist/index.d.ts +4 -0
- package/dist/index.js +39 -794
- package/dist/movethewheels/MoveTheWheelsRoot.d.ts +25 -0
- package/dist/movethewheels/MoveTheWheelsRoutes.d.ts +7 -0
- package/dist/movethewheels/components/DataTable.d.ts +67 -0
- package/dist/movethewheels/components/DocumentsCard.d.ts +8 -0
- package/dist/movethewheels/components/FormError.d.ts +11 -0
- package/dist/movethewheels/components/GlassPanel.d.ts +25 -0
- package/dist/movethewheels/components/MetricCard.d.ts +68 -0
- package/dist/movethewheels/components/Notice.d.ts +24 -0
- package/dist/movethewheels/components/PageLayout.d.ts +86 -0
- package/dist/movethewheels/components/StatusBadge.d.ts +49 -0
- package/dist/movethewheels/components/charts/ChartShell.d.ts +27 -0
- package/dist/movethewheels/components/charts/Sparkline.d.ts +22 -0
- package/dist/movethewheels/components/charts/StatusDonut.d.ts +23 -0
- package/dist/movethewheels/components/charts/TrendChart.d.ts +29 -0
- package/dist/movethewheels/components/charts/VolumeBar.d.ts +22 -0
- package/dist/movethewheels/components/charts/chartTokens.d.ts +29 -0
- package/dist/movethewheels/components/charts/index.d.ts +9 -0
- package/dist/movethewheels/components/index.d.ts +16 -0
- package/dist/movethewheels/components/maps/LogisticsMap.d.ts +30 -0
- package/dist/movethewheels/components/maps/MapCanvas.d.ts +32 -0
- package/dist/movethewheels/components/maps/RouteMap.d.ts +20 -0
- package/dist/movethewheels/components/maps/TrackingMap.d.ts +29 -0
- package/dist/movethewheels/components/maps/index.d.ts +10 -0
- package/dist/movethewheels/components/maps/leaflet-setup.d.ts +31 -0
- package/dist/movethewheels/components/ui.d.ts +22 -0
- package/dist/movethewheels/constants/index.d.ts +20 -0
- package/dist/movethewheels/hooks/index.d.ts +17 -0
- package/dist/movethewheels/hooks/useAnalytics.d.ts +136 -0
- package/dist/movethewheels/hooks/useAssistant.d.ts +17 -0
- package/dist/movethewheels/hooks/useCustomers.d.ts +39 -0
- package/dist/movethewheels/hooks/useEntityDocuments.d.ts +31 -0
- package/dist/movethewheels/hooks/useFleet.d.ts +100 -0
- package/dist/movethewheels/hooks/useImportExport.d.ts +13 -0
- package/dist/movethewheels/hooks/useInventory.d.ts +121 -0
- package/dist/movethewheels/hooks/useOrders.d.ts +53 -0
- package/dist/movethewheels/hooks/useReports.d.ts +39 -0
- package/dist/movethewheels/hooks/useRoutes.d.ts +46 -0
- package/dist/movethewheels/hooks/useSettings.d.ts +17 -0
- package/dist/movethewheels/hooks/useTracking.d.ts +69 -0
- package/dist/movethewheels/index.d.ts +31 -0
- package/dist/movethewheels/pages/AIAssistantPage.d.ts +4 -0
- package/dist/movethewheels/pages/AnalyticsPage.d.ts +8 -0
- package/dist/movethewheels/pages/CreateOrderPage.d.ts +6 -0
- package/dist/movethewheels/pages/CustomerDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/CustomersPage.d.ts +4 -0
- package/dist/movethewheels/pages/DashboardPage.d.ts +6 -0
- package/dist/movethewheels/pages/DriverDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/DriversPage.d.ts +4 -0
- package/dist/movethewheels/pages/FinancePage.d.ts +10 -0
- package/dist/movethewheels/pages/FleetPage.d.ts +6 -0
- package/dist/movethewheels/pages/ImportExportPage.d.ts +8 -0
- package/dist/movethewheels/pages/InventoryPage.d.ts +4 -0
- package/dist/movethewheels/pages/LiveTrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/MarketplacePage.d.ts +9 -0
- package/dist/movethewheels/pages/OrderDetailsPage.d.ts +6 -0
- package/dist/movethewheels/pages/OrdersListPage.d.ts +6 -0
- package/dist/movethewheels/pages/ProductDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ProductsPage.d.ts +4 -0
- package/dist/movethewheels/pages/ReportsPage.d.ts +8 -0
- package/dist/movethewheels/pages/RouteDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/RoutesPage.d.ts +4 -0
- package/dist/movethewheels/pages/SettingsPage.d.ts +8 -0
- package/dist/movethewheels/pages/TrackingPage.d.ts +6 -0
- package/dist/movethewheels/pages/VehicleDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/VehiclesPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehouseDetailsPage.d.ts +4 -0
- package/dist/movethewheels/pages/WarehousesPage.d.ts +4 -0
- package/dist/movethewheels/providers/MoveTheWheelsProvider.d.ts +16 -0
- package/dist/movethewheels/services/createSandboxAssistantTransport.d.ts +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-hec06HnD.js → pages/RoutesPage.js} +26 -22
- package/dist/{SettingsPage-_6SIlcBX.js → pages/SettingsPage.js} +90 -106
- package/dist/{TrackingPage-Cg0tYGJe.js → pages/TrackingPage.js} +69 -65
- package/dist/{VehicleDetailsPage-BbZlCFPo.js → pages/VehicleDetailsPage.js} +129 -126
- package/dist/{VehiclesPage-BfBEyXGs.js → pages/VehiclesPage.js} +38 -35
- package/dist/{WarehouseDetailsPage-DxNhiaoI.js → pages/WarehouseDetailsPage.js} +140 -137
- package/dist/{WarehousesPage-M3NaBT0z.js → pages/WarehousesPage.js} +35 -40
- package/dist/providers/MoveTheWheelsProvider.js +32 -0
- package/dist/services/createSandboxAssistantTransport.d.ts +1 -0
- package/dist/services/createSandboxAssistantTransport.js +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/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-sRRVY5UM.js +0 -642
- package/dist/Sparkline-DTGdlxUH.js +0 -16729
- package/dist/StatusBadge-BfiF-nNI.js +0 -152
- package/dist/charts-Dv_zxP7L.js +0 -2018
- package/dist/phone-Bav_V7rR.js +0 -18
- package/dist/useAssistant-B9qBtRKm.js +0 -67
- package/dist/useSettings-BNNzQs_B.js +0 -81
- /package/dist/{index.css → microfe-movethewheels.css} +0 -0
|
@@ -1,53 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}],
|
|
17
|
-
["path", {
|
|
18
|
-
d: "M17 20V4",
|
|
19
|
-
key: "1ejh1v"
|
|
20
|
-
}],
|
|
21
|
-
["path", {
|
|
22
|
-
d: "m3 8 4-4 4 4",
|
|
23
|
-
key: "11wl7u"
|
|
24
|
-
}],
|
|
25
|
-
["path", {
|
|
26
|
-
d: "M7 4v16",
|
|
27
|
-
key: "1glfcx"
|
|
28
|
-
}]
|
|
29
|
-
]), y = f("ChevronsLeft", [["path", {
|
|
30
|
-
d: "m11 17-5-5 5-5",
|
|
31
|
-
key: "13zhaf"
|
|
32
|
-
}], ["path", {
|
|
33
|
-
d: "m18 17-5-5 5-5",
|
|
34
|
-
key: "h8a8et"
|
|
35
|
-
}]]), b = f("ChevronsRight", [["path", {
|
|
36
|
-
d: "m6 17 5-5-5-5",
|
|
37
|
-
key: "xnjwq"
|
|
38
|
-
}], ["path", {
|
|
39
|
-
d: "m13 17 5-5-5-5",
|
|
40
|
-
key: "17xmmf"
|
|
41
|
-
}]]);
|
|
42
|
-
//#endregion
|
|
1
|
+
import { ArrowDown as e } from "../node_modules/lucide-react/dist/esm/icons/arrow-down.js";
|
|
2
|
+
import { ArrowUpDown as t } from "../node_modules/lucide-react/dist/esm/icons/arrow-up-down.js";
|
|
3
|
+
import { ArrowUp as n } from "../node_modules/lucide-react/dist/esm/icons/arrow-up.js";
|
|
4
|
+
import { ChevronLeft as r } from "../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
|
|
5
|
+
import { ChevronRight as i } from "../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
6
|
+
import { ChevronsLeft as a } from "../node_modules/lucide-react/dist/esm/icons/chevrons-left.js";
|
|
7
|
+
import { ChevronsRight as o } from "../node_modules/lucide-react/dist/esm/icons/chevrons-right.js";
|
|
8
|
+
import { RefreshCw as ee } from "../node_modules/lucide-react/dist/esm/icons/refresh-cw.js";
|
|
9
|
+
import { Search as te } from "../node_modules/lucide-react/dist/esm/icons/search.js";
|
|
10
|
+
import { TriangleAlert as ne } from "../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
|
|
11
|
+
import { cn as s } from "../utils/cn.js";
|
|
12
|
+
import { Button as c, Input as re, Select as ie, SelectContent as ae, SelectItem as oe, SelectTrigger as se, SelectValue as ce, Skeleton as l, Table as le, TableBody as u, TableCell as d, TableHead as f, TableHeader as p, TableRow as m } from "./ui.js";
|
|
13
|
+
import { useMemo as h, useState as g } from "react";
|
|
14
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
15
|
+
import { IllustratedEmptyState as y } from "@burdenoff/fe-libs/ui";
|
|
43
16
|
//#region src/movethewheels/components/DataTable.tsx
|
|
44
|
-
function
|
|
17
|
+
function b({ columns: b, data: x, isLoading: ue = !1, error: de = null, onRetry: S, searchable: C = !1, searchPlaceholder: fe = "Search...", searchFields: w, pagination: T = !0, pageSize: E = 10, pageSizeOptions: pe = [
|
|
45
18
|
10,
|
|
46
19
|
25,
|
|
47
20
|
50,
|
|
48
21
|
100
|
|
49
22
|
], onRowClick: D, rowClassName: O, emptyMessage: k = "No data found", emptyIllustration: A, emptyTitle: me, emptyDescription: he, emptyAction: ge, className: j, getRowId: M, pageIndex: _e, onPageChange: N, onPageSizeChange: ve, totalItems: P, hasNextPage: ye }) {
|
|
50
|
-
let F = typeof N == "function", I = _e ?? 0, [L, be] =
|
|
23
|
+
let F = typeof N == "function", I = _e ?? 0, [L, be] = g(""), [R, z] = g(null), [B, V] = g(null), [H, U] = g(1), [W, xe] = g(E), G = F ? E : W, K = h(() => {
|
|
51
24
|
if (!L || !w || w.length === 0) return x;
|
|
52
25
|
let e = L.toLowerCase();
|
|
53
26
|
return x.filter((t) => w.some((n) => {
|
|
@@ -58,9 +31,9 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
58
31
|
x,
|
|
59
32
|
L,
|
|
60
33
|
w
|
|
61
|
-
]), q =
|
|
34
|
+
]), q = h(() => {
|
|
62
35
|
if (!R || !B) return K;
|
|
63
|
-
let e =
|
|
36
|
+
let e = b.find((e) => e.id === R);
|
|
64
37
|
return e?.accessorKey ? [...K].sort((t, n) => {
|
|
65
38
|
let r = t[e.accessorKey], i = n[e.accessorKey];
|
|
66
39
|
if (r == null) return 1;
|
|
@@ -72,8 +45,8 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
72
45
|
K,
|
|
73
46
|
R,
|
|
74
47
|
B,
|
|
75
|
-
|
|
76
|
-
]), J =
|
|
48
|
+
b
|
|
49
|
+
]), J = h(() => {
|
|
77
50
|
if (!T || F) return q;
|
|
78
51
|
let e = (H - 1) * W;
|
|
79
52
|
return q.slice(e, e + W);
|
|
@@ -85,7 +58,7 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
85
58
|
F
|
|
86
59
|
]), Y = Math.max(1, Math.ceil(q.length / W)), X = typeof P == "number", Z = X ? Math.max(1, Math.ceil(P / G)) : void 0, Se = (e) => {
|
|
87
60
|
R === e ? B === "asc" ? V("desc") : B === "desc" && (z(null), V(null)) : (z(e), V("asc"));
|
|
88
|
-
}, Ce = (
|
|
61
|
+
}, Ce = (r) => R === r ? _(B === "asc" ? n : e, { className: "w-4 h-4 text-primary" }) : /* @__PURE__ */ _(t, { className: "w-4 h-4 text-text-secondary/50" }), Q = (e, t) => {
|
|
89
62
|
if (t.cell) return t.cell(e);
|
|
90
63
|
if (t.accessorKey) {
|
|
91
64
|
let n = e[t.accessorKey];
|
|
@@ -93,74 +66,74 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
93
66
|
}
|
|
94
67
|
return "-";
|
|
95
68
|
};
|
|
96
|
-
if (ue) return /* @__PURE__ */
|
|
97
|
-
className:
|
|
69
|
+
if (ue) return /* @__PURE__ */ v("div", {
|
|
70
|
+
className: s("space-y-4", j),
|
|
98
71
|
children: [
|
|
99
|
-
C && /* @__PURE__ */
|
|
72
|
+
C && /* @__PURE__ */ _("div", {
|
|
100
73
|
className: "flex items-center gap-4",
|
|
101
|
-
children: /* @__PURE__ */
|
|
74
|
+
children: /* @__PURE__ */ _(l, { className: "h-10 w-64" })
|
|
102
75
|
}),
|
|
103
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ _("div", {
|
|
104
77
|
className: "hidden md:block rounded-card border border-border-seam bg-bg-surface shadow-elevation-1",
|
|
105
|
-
children: /* @__PURE__ */
|
|
78
|
+
children: /* @__PURE__ */ v(le, { children: [/* @__PURE__ */ _(p, { children: /* @__PURE__ */ _(m, { children: b.map((e) => /* @__PURE__ */ _(f, { children: /* @__PURE__ */ _(l, { className: "h-4 w-20 motion-safe:animate-vc-shimmer" }) }, e.id)) }) }), /* @__PURE__ */ _(u, { children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ _(m, { children: b.map((e) => /* @__PURE__ */ _(d, { children: /* @__PURE__ */ _(l, { className: "h-4 w-full max-w-[100px] motion-safe:animate-vc-shimmer" }) }, e.id)) }, t)) })] })
|
|
106
79
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ _("div", {
|
|
108
81
|
className: "md:hidden space-y-3",
|
|
109
|
-
children: Array.from({ length: 4 }).map((e,
|
|
82
|
+
children: Array.from({ length: 4 }).map((e, t) => /* @__PURE__ */ v("div", {
|
|
110
83
|
className: "rounded-card border border-border-seam bg-bg-surface p-4 shadow-elevation-1",
|
|
111
|
-
children: [/* @__PURE__ */
|
|
112
|
-
},
|
|
84
|
+
children: [/* @__PURE__ */ _(l, { className: "h-4 w-2/3 mb-2 motion-safe:animate-vc-shimmer" }), /* @__PURE__ */ _(l, { className: "h-4 w-1/2 motion-safe:animate-vc-shimmer" })]
|
|
85
|
+
}, t))
|
|
113
86
|
})
|
|
114
87
|
]
|
|
115
88
|
});
|
|
116
|
-
if (de && x.length === 0) return /* @__PURE__ */
|
|
117
|
-
className:
|
|
89
|
+
if (de && x.length === 0) return /* @__PURE__ */ v("div", {
|
|
90
|
+
className: s("flex flex-col items-center justify-center gap-3 rounded-card border border-border-seam bg-bg-surface px-6 py-14 text-center shadow-elevation-1", j),
|
|
118
91
|
children: [
|
|
119
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ _("div", {
|
|
120
93
|
className: "flex h-12 w-12 items-center justify-center rounded-full bg-status-error-bg text-status-error-text",
|
|
121
|
-
children: /* @__PURE__ */
|
|
94
|
+
children: /* @__PURE__ */ _(ne, { size: 22 })
|
|
122
95
|
}),
|
|
123
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ _("p", {
|
|
124
97
|
className: "text-base font-medium text-text-primary",
|
|
125
98
|
children: "Couldn’t load this list"
|
|
126
99
|
}),
|
|
127
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ _("p", {
|
|
128
101
|
className: "max-w-sm text-sm text-text-secondary",
|
|
129
102
|
children: "The service was briefly unreachable. This is usually momentary — try again."
|
|
130
103
|
}),
|
|
131
|
-
S && /* @__PURE__ */
|
|
104
|
+
S && /* @__PURE__ */ v(c, {
|
|
132
105
|
variant: "outline",
|
|
133
106
|
size: "sm",
|
|
134
107
|
onClick: S,
|
|
135
108
|
className: "mt-1",
|
|
136
|
-
children: [/* @__PURE__ */
|
|
109
|
+
children: [/* @__PURE__ */ _(ee, {
|
|
137
110
|
size: 14,
|
|
138
111
|
className: "mr-1.5"
|
|
139
112
|
}), "Retry"]
|
|
140
113
|
})
|
|
141
114
|
]
|
|
142
115
|
});
|
|
143
|
-
let $ = J.length === 0, we = () => A ? L ? /* @__PURE__ */
|
|
116
|
+
let $ = J.length === 0, we = () => A ? L ? /* @__PURE__ */ _(y, {
|
|
144
117
|
illustration: "empty-search",
|
|
145
118
|
title: "No matches",
|
|
146
119
|
description: `Nothing matches “${L}”. Try a different search.`
|
|
147
|
-
}) : /* @__PURE__ */
|
|
120
|
+
}) : /* @__PURE__ */ _(y, {
|
|
148
121
|
illustration: A,
|
|
149
122
|
title: me ?? k,
|
|
150
123
|
description: he,
|
|
151
124
|
action: ge
|
|
152
|
-
}) : /* @__PURE__ */
|
|
125
|
+
}) : /* @__PURE__ */ _("p", {
|
|
153
126
|
className: "text-text-secondary",
|
|
154
127
|
children: k
|
|
155
128
|
}), Te = T && (F ? q.length > 0 || I > 0 : q.length > 0);
|
|
156
|
-
return /* @__PURE__ */
|
|
157
|
-
className:
|
|
129
|
+
return /* @__PURE__ */ v("div", {
|
|
130
|
+
className: s("space-y-4", j),
|
|
158
131
|
children: [
|
|
159
|
-
C && /* @__PURE__ */
|
|
132
|
+
C && /* @__PURE__ */ _("div", {
|
|
160
133
|
className: "flex items-center gap-4",
|
|
161
|
-
children: /* @__PURE__ */
|
|
134
|
+
children: /* @__PURE__ */ v("div", {
|
|
162
135
|
className: "relative flex-1 max-w-sm",
|
|
163
|
-
children: [/* @__PURE__ */
|
|
136
|
+
children: [/* @__PURE__ */ _(te, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-text-secondary" }), /* @__PURE__ */ _(re, {
|
|
164
137
|
placeholder: fe,
|
|
165
138
|
value: L,
|
|
166
139
|
onChange: (e) => {
|
|
@@ -170,54 +143,54 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
170
143
|
})]
|
|
171
144
|
})
|
|
172
145
|
}),
|
|
173
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ _("div", {
|
|
174
147
|
className: "hidden md:block overflow-x-auto rounded-card border border-border-seam bg-bg-surface shadow-elevation-1",
|
|
175
|
-
children: /* @__PURE__ */
|
|
176
|
-
className:
|
|
148
|
+
children: /* @__PURE__ */ v(le, { children: [/* @__PURE__ */ _(p, { children: /* @__PURE__ */ _(m, { children: b.map((e) => /* @__PURE__ */ _(f, {
|
|
149
|
+
className: s(e.sortable && "cursor-pointer select-none hover:bg-bg-sunken/50", e.headerClassName),
|
|
177
150
|
onClick: () => e.sortable && Se(e.id),
|
|
178
|
-
children: /* @__PURE__ */
|
|
151
|
+
children: /* @__PURE__ */ v("div", {
|
|
179
152
|
className: "flex items-center gap-2",
|
|
180
153
|
children: [e.header, e.sortable && Ce(e.id)]
|
|
181
154
|
})
|
|
182
|
-
}, e.id)) }) }), /* @__PURE__ */
|
|
183
|
-
colSpan:
|
|
155
|
+
}, e.id)) }) }), /* @__PURE__ */ _(u, { children: $ ? /* @__PURE__ */ _(m, { children: /* @__PURE__ */ _(d, {
|
|
156
|
+
colSpan: b.length,
|
|
184
157
|
className: "py-8 text-center",
|
|
185
158
|
children: we()
|
|
186
159
|
}) }) : J.map((e, t) => {
|
|
187
160
|
let n = M ? M(e) : t, r = typeof O == "function" ? O(e) : O;
|
|
188
|
-
return /* @__PURE__ */
|
|
189
|
-
className:
|
|
161
|
+
return /* @__PURE__ */ _(m, {
|
|
162
|
+
className: s(D && "cursor-pointer hover:bg-bg-sunken/50", r),
|
|
190
163
|
onClick: () => D?.(e),
|
|
191
|
-
children:
|
|
164
|
+
children: b.map((t) => /* @__PURE__ */ _(d, {
|
|
192
165
|
className: t.className,
|
|
193
166
|
children: Q(e, t)
|
|
194
167
|
}, t.id))
|
|
195
168
|
}, n);
|
|
196
169
|
}) })] })
|
|
197
170
|
}),
|
|
198
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ _("div", {
|
|
199
172
|
className: "md:hidden space-y-3",
|
|
200
|
-
children: $ ? /* @__PURE__ */
|
|
173
|
+
children: $ ? /* @__PURE__ */ _("div", {
|
|
201
174
|
className: "rounded-card border border-border-seam bg-bg-surface p-6 text-center shadow-elevation-1",
|
|
202
175
|
children: we()
|
|
203
176
|
}) : J.map((e, t) => {
|
|
204
177
|
let n = M ? M(e) : t, r = typeof O == "function" ? O(e) : O;
|
|
205
|
-
return /* @__PURE__ */
|
|
178
|
+
return /* @__PURE__ */ _("div", {
|
|
206
179
|
role: D ? "button" : void 0,
|
|
207
180
|
tabIndex: D ? 0 : void 0,
|
|
208
|
-
className:
|
|
181
|
+
className: s("rounded-card border border-border-seam bg-bg-surface p-4 shadow-elevation-1", D && "cursor-pointer hover:bg-bg-sunken/50", r),
|
|
209
182
|
onClick: () => D?.(e),
|
|
210
183
|
onKeyDown: (t) => {
|
|
211
184
|
D && (t.key === "Enter" || t.key === " ") && (t.preventDefault(), D(e));
|
|
212
185
|
},
|
|
213
|
-
children: /* @__PURE__ */
|
|
186
|
+
children: /* @__PURE__ */ _("dl", {
|
|
214
187
|
className: "space-y-2",
|
|
215
|
-
children:
|
|
188
|
+
children: b.map((t) => /* @__PURE__ */ v("div", {
|
|
216
189
|
className: "flex items-start justify-between gap-3",
|
|
217
|
-
children: [/* @__PURE__ */
|
|
190
|
+
children: [/* @__PURE__ */ _("dt", {
|
|
218
191
|
className: "text-xs font-medium text-text-secondary shrink-0",
|
|
219
192
|
children: t.header
|
|
220
|
-
}), /* @__PURE__ */
|
|
193
|
+
}), /* @__PURE__ */ _("dd", {
|
|
221
194
|
className: "text-sm text-right min-w-0",
|
|
222
195
|
children: Q(e, t)
|
|
223
196
|
})]
|
|
@@ -226,19 +199,19 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
226
199
|
}, n);
|
|
227
200
|
})
|
|
228
201
|
}),
|
|
229
|
-
Te && /* @__PURE__ */
|
|
202
|
+
Te && /* @__PURE__ */ v("div", {
|
|
230
203
|
className: "flex flex-wrap items-center justify-between gap-3",
|
|
231
|
-
children: [/* @__PURE__ */
|
|
204
|
+
children: [/* @__PURE__ */ v("div", {
|
|
232
205
|
className: "flex flex-wrap items-center gap-2 text-sm text-text-secondary",
|
|
233
206
|
children: [
|
|
234
|
-
F ? /* @__PURE__ */
|
|
207
|
+
F ? /* @__PURE__ */ v("span", { children: [
|
|
235
208
|
"Showing ",
|
|
236
209
|
q.length === 0 ? 0 : I * G + 1,
|
|
237
210
|
" to",
|
|
238
211
|
" ",
|
|
239
212
|
I * G + q.length,
|
|
240
213
|
X ? ` of ${P}` : ""
|
|
241
|
-
] }) : /* @__PURE__ */
|
|
214
|
+
] }) : /* @__PURE__ */ v("span", { children: [
|
|
242
215
|
"Showing ",
|
|
243
216
|
(H - 1) * W + 1,
|
|
244
217
|
" to",
|
|
@@ -247,44 +220,44 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
247
220
|
" of ",
|
|
248
221
|
q.length
|
|
249
222
|
] }),
|
|
250
|
-
/* @__PURE__ */
|
|
223
|
+
/* @__PURE__ */ v(ie, {
|
|
251
224
|
value: String(G),
|
|
252
225
|
onValueChange: (e) => {
|
|
253
226
|
let t = Number(e);
|
|
254
227
|
F ? ve?.(t) : (xe(t), U(1));
|
|
255
228
|
},
|
|
256
|
-
children: [/* @__PURE__ */
|
|
229
|
+
children: [/* @__PURE__ */ _(se, {
|
|
257
230
|
className: "w-[70px] h-8",
|
|
258
|
-
children: /* @__PURE__ */
|
|
259
|
-
}), /* @__PURE__ */
|
|
231
|
+
children: /* @__PURE__ */ _(ce, {})
|
|
232
|
+
}), /* @__PURE__ */ _(ae, { children: pe.map((e) => /* @__PURE__ */ _(oe, {
|
|
260
233
|
value: String(e),
|
|
261
234
|
children: e
|
|
262
235
|
}, e)) })]
|
|
263
236
|
}),
|
|
264
|
-
/* @__PURE__ */
|
|
237
|
+
/* @__PURE__ */ _("span", { children: "per page" })
|
|
265
238
|
]
|
|
266
|
-
}), F ? /* @__PURE__ */
|
|
239
|
+
}), F ? /* @__PURE__ */ v("div", {
|
|
267
240
|
className: "flex items-center gap-1",
|
|
268
241
|
children: [
|
|
269
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ _(c, {
|
|
270
243
|
variant: "outline",
|
|
271
244
|
size: "icon",
|
|
272
245
|
className: "h-8 w-8",
|
|
273
246
|
"aria-label": "First page",
|
|
274
247
|
onClick: () => N?.(0),
|
|
275
248
|
disabled: I === 0,
|
|
276
|
-
children: /* @__PURE__ */
|
|
249
|
+
children: /* @__PURE__ */ _(a, { className: "h-4 w-4" })
|
|
277
250
|
}),
|
|
278
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ _(c, {
|
|
279
252
|
variant: "outline",
|
|
280
253
|
size: "icon",
|
|
281
254
|
className: "h-8 w-8",
|
|
282
255
|
"aria-label": "Previous page",
|
|
283
256
|
onClick: () => N?.(Math.max(0, I - 1)),
|
|
284
257
|
disabled: I === 0,
|
|
285
|
-
children: /* @__PURE__ */
|
|
258
|
+
children: /* @__PURE__ */ _(r, { className: "h-4 w-4" })
|
|
286
259
|
}),
|
|
287
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ v("span", {
|
|
288
261
|
className: "px-3 text-sm",
|
|
289
262
|
children: [
|
|
290
263
|
"Page ",
|
|
@@ -292,47 +265,47 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
292
265
|
X ? ` of ${Z}` : ""
|
|
293
266
|
]
|
|
294
267
|
}),
|
|
295
|
-
/* @__PURE__ */
|
|
268
|
+
/* @__PURE__ */ _(c, {
|
|
296
269
|
variant: "outline",
|
|
297
270
|
size: "icon",
|
|
298
271
|
className: "h-8 w-8",
|
|
299
272
|
"aria-label": "Next page",
|
|
300
273
|
onClick: () => N?.(I + 1),
|
|
301
274
|
disabled: X ? I + 1 >= (Z ?? 1) : !ye,
|
|
302
|
-
children: /* @__PURE__ */
|
|
275
|
+
children: /* @__PURE__ */ _(i, { className: "h-4 w-4" })
|
|
303
276
|
}),
|
|
304
|
-
X && /* @__PURE__ */
|
|
277
|
+
X && /* @__PURE__ */ _(c, {
|
|
305
278
|
variant: "outline",
|
|
306
279
|
size: "icon",
|
|
307
280
|
className: "h-8 w-8",
|
|
308
281
|
"aria-label": "Last page",
|
|
309
282
|
onClick: () => N?.((Z ?? 1) - 1),
|
|
310
283
|
disabled: I + 1 >= (Z ?? 1),
|
|
311
|
-
children: /* @__PURE__ */
|
|
284
|
+
children: /* @__PURE__ */ _(o, { className: "h-4 w-4" })
|
|
312
285
|
})
|
|
313
286
|
]
|
|
314
|
-
}) : /* @__PURE__ */
|
|
287
|
+
}) : /* @__PURE__ */ v("div", {
|
|
315
288
|
className: "flex items-center gap-1",
|
|
316
289
|
children: [
|
|
317
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ _(c, {
|
|
318
291
|
variant: "outline",
|
|
319
292
|
size: "icon",
|
|
320
293
|
className: "h-8 w-8",
|
|
321
294
|
"aria-label": "First page",
|
|
322
295
|
onClick: () => U(1),
|
|
323
296
|
disabled: H === 1,
|
|
324
|
-
children: /* @__PURE__ */
|
|
297
|
+
children: /* @__PURE__ */ _(a, { className: "h-4 w-4" })
|
|
325
298
|
}),
|
|
326
|
-
/* @__PURE__ */
|
|
299
|
+
/* @__PURE__ */ _(c, {
|
|
327
300
|
variant: "outline",
|
|
328
301
|
size: "icon",
|
|
329
302
|
className: "h-8 w-8",
|
|
330
303
|
"aria-label": "Previous page",
|
|
331
304
|
onClick: () => U((e) => Math.max(1, e - 1)),
|
|
332
305
|
disabled: H === 1,
|
|
333
|
-
children: /* @__PURE__ */
|
|
306
|
+
children: /* @__PURE__ */ _(r, { className: "h-4 w-4" })
|
|
334
307
|
}),
|
|
335
|
-
/* @__PURE__ */
|
|
308
|
+
/* @__PURE__ */ v("span", {
|
|
336
309
|
className: "px-3 text-sm",
|
|
337
310
|
children: [
|
|
338
311
|
"Page ",
|
|
@@ -341,23 +314,23 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
341
314
|
Y
|
|
342
315
|
]
|
|
343
316
|
}),
|
|
344
|
-
/* @__PURE__ */
|
|
317
|
+
/* @__PURE__ */ _(c, {
|
|
345
318
|
variant: "outline",
|
|
346
319
|
size: "icon",
|
|
347
320
|
className: "h-8 w-8",
|
|
348
321
|
"aria-label": "Next page",
|
|
349
322
|
onClick: () => U((e) => Math.min(Y, e + 1)),
|
|
350
323
|
disabled: H === Y,
|
|
351
|
-
children: /* @__PURE__ */
|
|
324
|
+
children: /* @__PURE__ */ _(i, { className: "h-4 w-4" })
|
|
352
325
|
}),
|
|
353
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ _(c, {
|
|
354
327
|
variant: "outline",
|
|
355
328
|
size: "icon",
|
|
356
329
|
className: "h-8 w-8",
|
|
357
330
|
"aria-label": "Last page",
|
|
358
331
|
onClick: () => U(Y),
|
|
359
332
|
disabled: H === Y,
|
|
360
|
-
children: /* @__PURE__ */
|
|
333
|
+
children: /* @__PURE__ */ _(o, { className: "h-4 w-4" })
|
|
361
334
|
})
|
|
362
335
|
]
|
|
363
336
|
})]
|
|
@@ -366,4 +339,4 @@ function x({ columns: f, data: x, isLoading: ue = !1, error: de = null, onRetry:
|
|
|
366
339
|
});
|
|
367
340
|
}
|
|
368
341
|
//#endregion
|
|
369
|
-
export {
|
|
342
|
+
export { b as DataTable };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Download as e } from "../node_modules/lucide-react/dist/esm/icons/download.js";
|
|
2
|
+
import { ExternalLink as t } from "../node_modules/lucide-react/dist/esm/icons/external-link.js";
|
|
3
|
+
import { FileText as n } from "../node_modules/lucide-react/dist/esm/icons/file-text.js";
|
|
4
|
+
import { Upload as r } from "../node_modules/lucide-react/dist/esm/icons/upload.js";
|
|
5
|
+
import { useMoveTheWheels as i } from "../providers/MoveTheWheelsProvider.js";
|
|
6
|
+
import { useEntityDocuments as a } from "../hooks/useEntityDocuments.js";
|
|
7
|
+
import { Button as o, Card as s, CardContent as c, CardHeader as l, CardTitle as u } from "./ui.js";
|
|
8
|
+
import { formatDate as d } from "../utils/formatters.js";
|
|
9
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
10
|
+
//#region src/movethewheels/components/DocumentsCard.tsx
|
|
11
|
+
function m(e) {
|
|
12
|
+
if (!Number.isFinite(e) || e <= 0) return "—";
|
|
13
|
+
let t = [
|
|
14
|
+
"B",
|
|
15
|
+
"KB",
|
|
16
|
+
"MB",
|
|
17
|
+
"GB"
|
|
18
|
+
], n = e, r = 0;
|
|
19
|
+
for (; n >= 1024 && r < t.length - 1;) n /= 1024, r += 1;
|
|
20
|
+
return `${n.toFixed(n >= 10 || r === 0 ? 0 : 1)} ${t[r]}`;
|
|
21
|
+
}
|
|
22
|
+
function h({ entityType: h, entityId: g }) {
|
|
23
|
+
let { navigate: _ } = i(), { documents: v, isLoading: y } = a(h, g), b = () => _("/files/browse");
|
|
24
|
+
return /* @__PURE__ */ p(s, { children: [/* @__PURE__ */ p(l, {
|
|
25
|
+
className: "flex flex-row items-center justify-between",
|
|
26
|
+
children: [/* @__PURE__ */ p(u, {
|
|
27
|
+
className: "flex items-center gap-2",
|
|
28
|
+
children: [/* @__PURE__ */ f(n, { size: 18 }), " Documents"]
|
|
29
|
+
}), /* @__PURE__ */ p(o, {
|
|
30
|
+
variant: "outline",
|
|
31
|
+
size: "sm",
|
|
32
|
+
onClick: b,
|
|
33
|
+
children: [/* @__PURE__ */ f(r, { size: 14 }), " Add / Manage"]
|
|
34
|
+
})]
|
|
35
|
+
}), /* @__PURE__ */ f(c, { children: y ? /* @__PURE__ */ f("p", {
|
|
36
|
+
className: "text-text-secondary text-center py-4",
|
|
37
|
+
children: "Loading documents…"
|
|
38
|
+
}) : v.length > 0 ? /* @__PURE__ */ f("div", {
|
|
39
|
+
className: "space-y-3",
|
|
40
|
+
children: v.map((n) => /* @__PURE__ */ p("div", {
|
|
41
|
+
className: "flex items-center justify-between gap-3 p-3 border rounded-lg",
|
|
42
|
+
children: [/* @__PURE__ */ p("div", {
|
|
43
|
+
className: "min-w-0",
|
|
44
|
+
children: [/* @__PURE__ */ f("p", {
|
|
45
|
+
className: "font-medium truncate",
|
|
46
|
+
children: n.name
|
|
47
|
+
}), /* @__PURE__ */ p("p", {
|
|
48
|
+
className: "text-sm text-text-secondary",
|
|
49
|
+
children: [
|
|
50
|
+
m(n.size),
|
|
51
|
+
" · ",
|
|
52
|
+
d(n.createdAt, "relative")
|
|
53
|
+
]
|
|
54
|
+
})]
|
|
55
|
+
}), n.downloadUrl ? /* @__PURE__ */ p("a", {
|
|
56
|
+
href: n.downloadUrl,
|
|
57
|
+
target: "_blank",
|
|
58
|
+
rel: "noopener noreferrer",
|
|
59
|
+
className: "shrink-0 inline-flex items-center gap-1 text-sm text-primary hover:underline",
|
|
60
|
+
children: [/* @__PURE__ */ f(e, { size: 14 }), " Open"]
|
|
61
|
+
}) : /* @__PURE__ */ p(o, {
|
|
62
|
+
variant: "ghost",
|
|
63
|
+
size: "sm",
|
|
64
|
+
onClick: b,
|
|
65
|
+
children: [/* @__PURE__ */ f(t, { size: 14 }), " View"]
|
|
66
|
+
})]
|
|
67
|
+
}, n.id))
|
|
68
|
+
}) : /* @__PURE__ */ p("div", {
|
|
69
|
+
className: "text-center py-6",
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ f(n, {
|
|
72
|
+
size: 32,
|
|
73
|
+
className: "mx-auto mb-2 text-text-secondary opacity-50"
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ f("p", {
|
|
76
|
+
className: "text-text-secondary",
|
|
77
|
+
children: "No documents yet"
|
|
78
|
+
}),
|
|
79
|
+
/* @__PURE__ */ f("button", {
|
|
80
|
+
type: "button",
|
|
81
|
+
onClick: b,
|
|
82
|
+
className: "mt-1 text-sm text-primary hover:underline",
|
|
83
|
+
children: "Add them in Files"
|
|
84
|
+
})
|
|
85
|
+
]
|
|
86
|
+
}) })] });
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { h as DocumentsCard };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CircleAlert as e } from "../node_modules/lucide-react/dist/esm/icons/circle-alert.js";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
//#region src/movethewheels/components/FormError.tsx
|
|
4
4
|
function r({ message: r }) {
|
|
@@ -12,4 +12,4 @@ function r({ message: r }) {
|
|
|
12
12
|
}) : null;
|
|
13
13
|
}
|
|
14
14
|
//#endregion
|
|
15
|
-
export { r as
|
|
15
|
+
export { r as FormError };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { cn as e } from "../utils/cn.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { GlassCard as r } from "@burdenoff/fe-libs/ui";
|
|
4
|
+
//#region src/movethewheels/components/GlassPanel.tsx
|
|
5
|
+
var i = {
|
|
6
|
+
none: "p-0",
|
|
7
|
+
sm: "p-3",
|
|
8
|
+
md: "p-4 sm:p-5",
|
|
9
|
+
lg: "p-6"
|
|
10
|
+
};
|
|
11
|
+
function a({ title: a, action: o, description: s, padding: c = "md", treatment: l = "glass", glow: u = !1, className: d, bodyClassName: f, children: p, ...m }) {
|
|
12
|
+
let h = a != null || o != null || s != null;
|
|
13
|
+
return /* @__PURE__ */ n(r, {
|
|
14
|
+
treatment: l,
|
|
15
|
+
glow: u,
|
|
16
|
+
className: e("overflow-hidden border-border-seam", d),
|
|
17
|
+
...m,
|
|
18
|
+
children: [h && /* @__PURE__ */ n("div", {
|
|
19
|
+
className: "flex items-start justify-between gap-3 border-b border-border-seam/70 px-4 py-3 sm:px-5",
|
|
20
|
+
children: [/* @__PURE__ */ n("div", {
|
|
21
|
+
className: "min-w-0 space-y-0.5",
|
|
22
|
+
children: [a != null && /* @__PURE__ */ t("h3", {
|
|
23
|
+
className: "truncate text-sm font-semibold text-text-primary",
|
|
24
|
+
children: a
|
|
25
|
+
}), s != null && /* @__PURE__ */ t("p", {
|
|
26
|
+
className: "text-xs text-text-secondary",
|
|
27
|
+
children: s
|
|
28
|
+
})]
|
|
29
|
+
}), o != null && /* @__PURE__ */ t("div", {
|
|
30
|
+
className: "flex shrink-0 items-center gap-2",
|
|
31
|
+
children: o
|
|
32
|
+
})]
|
|
33
|
+
}), /* @__PURE__ */ t("div", {
|
|
34
|
+
className: e(i[c], f),
|
|
35
|
+
children: p
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { a as GlassPanel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./Sparkline
|
|
1
|
+
import { cn as e } from "../utils/cn.js";
|
|
2
|
+
import { Sparkline as t } from "./charts/Sparkline.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { GlassCard as i } from "@burdenoff/fe-libs/ui";
|
|
5
5
|
//#region src/movethewheels/components/MetricCard.tsx
|
|
@@ -188,4 +188,4 @@ function p({ children: t, columns: r = 4, className: i }) {
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
//#endregion
|
|
191
|
-
export {
|
|
191
|
+
export { d as MetricCard, f as MetricCardSkeleton, p as MetricGrid };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CircleCheckBig as e } from "../node_modules/lucide-react/dist/esm/icons/circle-check-big.js";
|
|
2
|
+
import { Info as t } from "../node_modules/lucide-react/dist/esm/icons/info.js";
|
|
3
|
+
import { useCallback as n, useRef as r, useState as i } from "react";
|
|
4
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
+
//#region src/movethewheels/components/Notice.tsx
|
|
6
|
+
function s({ message: n, variant: r = "success" }) {
|
|
7
|
+
if (!n) return null;
|
|
8
|
+
let i = r === "success";
|
|
9
|
+
return /* @__PURE__ */ o("div", {
|
|
10
|
+
role: "status",
|
|
11
|
+
className: `flex items-start gap-2 rounded-lg border px-4 py-3 text-sm ${i ? "border-status-success-border bg-status-success-bg-subtle text-status-success-text" : "border-status-info-border bg-status-info-bg-subtle text-status-info-text"}`,
|
|
12
|
+
children: [a(i ? e : t, {
|
|
13
|
+
size: 18,
|
|
14
|
+
className: "mt-0.5 shrink-0"
|
|
15
|
+
}), /* @__PURE__ */ a("span", { children: n })]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function c(e = 4e3) {
|
|
19
|
+
let [t, a] = i(null), o = r(null);
|
|
20
|
+
return {
|
|
21
|
+
message: t,
|
|
22
|
+
notify: n((t) => {
|
|
23
|
+
a(t), o.current && clearTimeout(o.current), o.current = setTimeout(() => a(null), e);
|
|
24
|
+
}, [e])
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { s as Notice, c as useNotice };
|