@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
|
@@ -1,101 +1,93 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { ArrowLeft as e } from "../node_modules/lucide-react/dist/esm/icons/arrow-left.js";
|
|
2
|
+
import { Box as t } from "../node_modules/lucide-react/dist/esm/icons/box.js";
|
|
3
|
+
import { DollarSign as n } from "../node_modules/lucide-react/dist/esm/icons/dollar-sign.js";
|
|
4
|
+
import { Package as r } from "../node_modules/lucide-react/dist/esm/icons/package.js";
|
|
5
|
+
import { Save as i } from "../node_modules/lucide-react/dist/esm/icons/save.js";
|
|
6
|
+
import { SquarePen as a } from "../node_modules/lucide-react/dist/esm/icons/square-pen.js";
|
|
7
|
+
import { Tag as o } from "../node_modules/lucide-react/dist/esm/icons/tag.js";
|
|
8
|
+
import { joinPath as s } from "../utils/navigation.js";
|
|
9
|
+
import { useMoveTheWheels as c } from "../providers/MoveTheWheelsProvider.js";
|
|
10
|
+
import { useInventory as l, useProduct as u } from "../hooks/useInventory.js";
|
|
11
|
+
import { Badge as d, Button as f, Card as p, CardContent as m, CardHeader as h, CardTitle as g, Input as _, Label as v } from "../components/ui.js";
|
|
12
|
+
import { ErrorState as y, LoadingState as b, PageLayout as x } from "../components/PageLayout.js";
|
|
13
|
+
import { FormError as S } from "../components/FormError.js";
|
|
14
|
+
import { formatCurrency as C } from "../utils/formatters.js";
|
|
11
15
|
import { useEffect as w, useState as T } from "react";
|
|
12
16
|
import { useLocation as E, useParams as D } from "react-router-dom";
|
|
13
17
|
import { jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
14
18
|
import { EmphasisPanel as A, NextSteps as j, PagePurpose as M } from "@burdenoff/fe-libs/ui";
|
|
15
|
-
//#region node_modules/lucide-react/dist/esm/icons/tag.js
|
|
16
|
-
var N = p("Tag", [["path", {
|
|
17
|
-
d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",
|
|
18
|
-
key: "vktsd0"
|
|
19
|
-
}], ["circle", {
|
|
20
|
-
cx: "7.5",
|
|
21
|
-
cy: "7.5",
|
|
22
|
-
r: ".5",
|
|
23
|
-
fill: "currentColor",
|
|
24
|
-
key: "kqv944"
|
|
25
|
-
}]]);
|
|
26
|
-
//#endregion
|
|
27
19
|
//#region src/movethewheels/pages/ProductDetailsPage.tsx
|
|
28
|
-
function
|
|
29
|
-
let { basePath: n, navigate:
|
|
20
|
+
function N({ editId: t }) {
|
|
21
|
+
let { basePath: n, navigate: a } = c(), { createProduct: o, updateProduct: d } = l(), { product: p } = u(t), m = !!t, [h, g] = T({
|
|
30
22
|
name: "",
|
|
31
23
|
sku: "",
|
|
32
24
|
category: "",
|
|
33
25
|
brand: "",
|
|
34
26
|
weight: ""
|
|
35
|
-
}), [
|
|
27
|
+
}), [y, b] = T(!1), [C, E] = T(null);
|
|
36
28
|
w(() => {
|
|
37
|
-
t &&
|
|
38
|
-
name:
|
|
39
|
-
sku:
|
|
40
|
-
category:
|
|
41
|
-
brand:
|
|
42
|
-
weight:
|
|
29
|
+
t && p && g({
|
|
30
|
+
name: p.name ?? "",
|
|
31
|
+
sku: p.sku ?? "",
|
|
32
|
+
category: p.category ?? "",
|
|
33
|
+
brand: p.brand ?? "",
|
|
34
|
+
weight: p.weight == null ? "" : String(p.weight)
|
|
43
35
|
});
|
|
44
|
-
}, [t,
|
|
45
|
-
let D = () =>
|
|
46
|
-
if (e.preventDefault(), !
|
|
36
|
+
}, [t, p]);
|
|
37
|
+
let D = () => a?.(s(n, "inventory/products")), j = async (e) => {
|
|
38
|
+
if (e.preventDefault(), !h.name.trim() || !h.sku.trim()) {
|
|
47
39
|
E("Product name and SKU are required.");
|
|
48
40
|
return;
|
|
49
41
|
}
|
|
50
|
-
|
|
42
|
+
b(!0), E(null);
|
|
51
43
|
try {
|
|
52
|
-
let e =
|
|
53
|
-
if (
|
|
54
|
-
let
|
|
55
|
-
name:
|
|
56
|
-
sku:
|
|
57
|
-
category:
|
|
58
|
-
brand:
|
|
44
|
+
let e = h.weight.trim() ? Number(h.weight) : void 0;
|
|
45
|
+
if (m && t) {
|
|
46
|
+
let r = await d(t, {
|
|
47
|
+
name: h.name.trim(),
|
|
48
|
+
sku: h.sku.trim(),
|
|
49
|
+
category: h.category.trim() || void 0,
|
|
50
|
+
brand: h.brand.trim() || void 0,
|
|
59
51
|
weight: e !== void 0 && !Number.isNaN(e) ? e : void 0
|
|
60
52
|
});
|
|
61
|
-
|
|
53
|
+
a?.(s(n, `inventory/products/${r.id}`));
|
|
62
54
|
} else {
|
|
63
|
-
let t = await
|
|
64
|
-
name:
|
|
65
|
-
sku:
|
|
66
|
-
category:
|
|
67
|
-
brand:
|
|
55
|
+
let t = await o({
|
|
56
|
+
name: h.name.trim(),
|
|
57
|
+
sku: h.sku.trim(),
|
|
58
|
+
category: h.category.trim() || void 0,
|
|
59
|
+
brand: h.brand.trim() || void 0,
|
|
68
60
|
weight: e !== void 0 && !Number.isNaN(e) ? e : void 0
|
|
69
61
|
});
|
|
70
|
-
|
|
62
|
+
a?.(s(n, `inventory/products/${t.id}`));
|
|
71
63
|
}
|
|
72
64
|
} catch (e) {
|
|
73
|
-
console.error("Failed to create product:", e), E(e instanceof Error ? e.message : "Failed to create product. Please try again."),
|
|
65
|
+
console.error("Failed to create product:", e), E(e instanceof Error ? e.message : "Failed to create product. Please try again."), b(!1);
|
|
74
66
|
}
|
|
75
67
|
};
|
|
76
|
-
return /* @__PURE__ */ k(
|
|
77
|
-
title:
|
|
68
|
+
return /* @__PURE__ */ k(x, {
|
|
69
|
+
title: m ? "Edit Product" : "Add Product",
|
|
78
70
|
subtitle: "Add an item to your catalog",
|
|
79
|
-
icon: /* @__PURE__ */ O(
|
|
71
|
+
icon: /* @__PURE__ */ O(r, { size: 24 }),
|
|
80
72
|
headerActions: /* @__PURE__ */ k("div", {
|
|
81
73
|
className: "flex gap-2",
|
|
82
74
|
children: [/* @__PURE__ */ k(f, {
|
|
83
75
|
variant: "outline",
|
|
84
76
|
onClick: D,
|
|
85
|
-
disabled:
|
|
86
|
-
children: [/* @__PURE__ */ O(
|
|
77
|
+
disabled: y,
|
|
78
|
+
children: [/* @__PURE__ */ O(e, { size: 16 }), " Cancel"]
|
|
87
79
|
}), /* @__PURE__ */ k(f, {
|
|
88
80
|
onClick: j,
|
|
89
|
-
disabled:
|
|
81
|
+
disabled: y,
|
|
90
82
|
children: [
|
|
91
|
-
/* @__PURE__ */ O(
|
|
83
|
+
/* @__PURE__ */ O(i, { size: 16 }),
|
|
92
84
|
" ",
|
|
93
|
-
|
|
85
|
+
m ? y ? "Saving..." : "Save Changes" : y ? "Saving..." : "Add Product"
|
|
94
86
|
]
|
|
95
87
|
})]
|
|
96
88
|
}),
|
|
97
89
|
children: [/* @__PURE__ */ O(M, {
|
|
98
|
-
icon: /* @__PURE__ */ O(
|
|
90
|
+
icon: /* @__PURE__ */ O(r, { size: 18 }),
|
|
99
91
|
children: "Add a product so it can be added to orders and stocked in warehouses. A name and SKU are all it takes to start — category, brand and weight help with picking, pricing and routing."
|
|
100
92
|
}), /* @__PURE__ */ k("form", {
|
|
101
93
|
onSubmit: j,
|
|
@@ -109,16 +101,16 @@ function P({ editId: t }) {
|
|
|
109
101
|
className: "grid grid-cols-1 md:grid-cols-2 gap-4",
|
|
110
102
|
children: [/* @__PURE__ */ k("div", {
|
|
111
103
|
className: "space-y-2",
|
|
112
|
-
children: [/* @__PURE__ */ k(
|
|
104
|
+
children: [/* @__PURE__ */ k(v, {
|
|
113
105
|
htmlFor: "name",
|
|
114
106
|
children: ["Name ", /* @__PURE__ */ O("span", {
|
|
115
107
|
className: "text-status-error-text",
|
|
116
108
|
children: "*"
|
|
117
109
|
})]
|
|
118
|
-
}), /* @__PURE__ */ O(
|
|
110
|
+
}), /* @__PURE__ */ O(_, {
|
|
119
111
|
id: "name",
|
|
120
|
-
value:
|
|
121
|
-
onChange: (e) =>
|
|
112
|
+
value: h.name,
|
|
113
|
+
onChange: (e) => g((t) => ({
|
|
122
114
|
...t,
|
|
123
115
|
name: e.target.value
|
|
124
116
|
})),
|
|
@@ -127,16 +119,16 @@ function P({ editId: t }) {
|
|
|
127
119
|
})]
|
|
128
120
|
}), /* @__PURE__ */ k("div", {
|
|
129
121
|
className: "space-y-2",
|
|
130
|
-
children: [/* @__PURE__ */ k(
|
|
122
|
+
children: [/* @__PURE__ */ k(v, {
|
|
131
123
|
htmlFor: "sku",
|
|
132
124
|
children: ["SKU ", /* @__PURE__ */ O("span", {
|
|
133
125
|
className: "text-status-error-text",
|
|
134
126
|
children: "*"
|
|
135
127
|
})]
|
|
136
|
-
}), /* @__PURE__ */ O(
|
|
128
|
+
}), /* @__PURE__ */ O(_, {
|
|
137
129
|
id: "sku",
|
|
138
|
-
value:
|
|
139
|
-
onChange: (e) =>
|
|
130
|
+
value: h.sku,
|
|
131
|
+
onChange: (e) => g((t) => ({
|
|
140
132
|
...t,
|
|
141
133
|
sku: e.target.value
|
|
142
134
|
})),
|
|
@@ -149,13 +141,13 @@ function P({ editId: t }) {
|
|
|
149
141
|
children: [
|
|
150
142
|
/* @__PURE__ */ k("div", {
|
|
151
143
|
className: "space-y-2",
|
|
152
|
-
children: [/* @__PURE__ */ O(
|
|
144
|
+
children: [/* @__PURE__ */ O(v, {
|
|
153
145
|
htmlFor: "category",
|
|
154
146
|
children: "Category"
|
|
155
|
-
}), /* @__PURE__ */ O(
|
|
147
|
+
}), /* @__PURE__ */ O(_, {
|
|
156
148
|
id: "category",
|
|
157
|
-
value:
|
|
158
|
-
onChange: (e) =>
|
|
149
|
+
value: h.category,
|
|
150
|
+
onChange: (e) => g((t) => ({
|
|
159
151
|
...t,
|
|
160
152
|
category: e.target.value
|
|
161
153
|
})),
|
|
@@ -164,13 +156,13 @@ function P({ editId: t }) {
|
|
|
164
156
|
}),
|
|
165
157
|
/* @__PURE__ */ k("div", {
|
|
166
158
|
className: "space-y-2",
|
|
167
|
-
children: [/* @__PURE__ */ O(
|
|
159
|
+
children: [/* @__PURE__ */ O(v, {
|
|
168
160
|
htmlFor: "brand",
|
|
169
161
|
children: "Brand"
|
|
170
|
-
}), /* @__PURE__ */ O(
|
|
162
|
+
}), /* @__PURE__ */ O(_, {
|
|
171
163
|
id: "brand",
|
|
172
|
-
value:
|
|
173
|
-
onChange: (e) =>
|
|
164
|
+
value: h.brand,
|
|
165
|
+
onChange: (e) => g((t) => ({
|
|
174
166
|
...t,
|
|
175
167
|
brand: e.target.value
|
|
176
168
|
})),
|
|
@@ -179,16 +171,16 @@ function P({ editId: t }) {
|
|
|
179
171
|
}),
|
|
180
172
|
/* @__PURE__ */ k("div", {
|
|
181
173
|
className: "space-y-2",
|
|
182
|
-
children: [/* @__PURE__ */ O(
|
|
174
|
+
children: [/* @__PURE__ */ O(v, {
|
|
183
175
|
htmlFor: "weight",
|
|
184
176
|
children: "Weight (kg)"
|
|
185
|
-
}), /* @__PURE__ */ O(
|
|
177
|
+
}), /* @__PURE__ */ O(_, {
|
|
186
178
|
id: "weight",
|
|
187
179
|
type: "number",
|
|
188
180
|
min: "0",
|
|
189
181
|
step: "0.01",
|
|
190
|
-
value:
|
|
191
|
-
onChange: (e) =>
|
|
182
|
+
value: h.weight,
|
|
183
|
+
onChange: (e) => g((t) => ({
|
|
192
184
|
...t,
|
|
193
185
|
weight: e.target.value
|
|
194
186
|
})),
|
|
@@ -201,46 +193,46 @@ function P({ editId: t }) {
|
|
|
201
193
|
})]
|
|
202
194
|
});
|
|
203
195
|
}
|
|
204
|
-
function
|
|
205
|
-
let { productId:
|
|
206
|
-
return
|
|
196
|
+
function P() {
|
|
197
|
+
let { productId: i } = D(), { basePath: l, navigate: _ } = c(), { product: v, isLoading: S, error: w, refetch: T } = u(i), P = E().pathname.endsWith("/edit"), F = () => _?.(s(l, "inventory/products")), I = (e) => _?.(s(l, e));
|
|
198
|
+
return i ? P ? /* @__PURE__ */ O(N, { editId: i }) : S ? /* @__PURE__ */ O(b, { message: "Loading product details..." }) : w || !v ? /* @__PURE__ */ O(y, {
|
|
207
199
|
title: "Product not found",
|
|
208
|
-
onRetry:
|
|
209
|
-
}) : /* @__PURE__ */ k(
|
|
200
|
+
onRetry: T
|
|
201
|
+
}) : /* @__PURE__ */ k(x, {
|
|
210
202
|
title: v.name,
|
|
211
203
|
subtitle: `SKU: ${v.sku}`,
|
|
212
|
-
icon: /* @__PURE__ */ O(
|
|
204
|
+
icon: /* @__PURE__ */ O(r, { size: 24 }),
|
|
213
205
|
headerActions: /* @__PURE__ */ k("div", {
|
|
214
206
|
className: "flex gap-2",
|
|
215
207
|
children: [/* @__PURE__ */ k(f, {
|
|
216
208
|
variant: "outline",
|
|
217
209
|
onClick: F,
|
|
218
|
-
children: [/* @__PURE__ */ O(
|
|
210
|
+
children: [/* @__PURE__ */ O(e, { size: 16 }), " Back"]
|
|
219
211
|
}), /* @__PURE__ */ k(f, {
|
|
220
|
-
onClick: () =>
|
|
221
|
-
children: [/* @__PURE__ */ O(
|
|
212
|
+
onClick: () => _?.(s(l, `inventory/products/${i}/edit`)),
|
|
213
|
+
children: [/* @__PURE__ */ O(a, { size: 16 }), " Edit"]
|
|
222
214
|
})]
|
|
223
215
|
}),
|
|
224
216
|
headerContent: /* @__PURE__ */ k("div", {
|
|
225
217
|
className: "flex gap-2",
|
|
226
218
|
children: [
|
|
227
|
-
/* @__PURE__ */ O(
|
|
219
|
+
/* @__PURE__ */ O(d, {
|
|
228
220
|
variant: "outline",
|
|
229
221
|
children: v.category
|
|
230
222
|
}),
|
|
231
|
-
v.brand && /* @__PURE__ */ O(
|
|
223
|
+
v.brand && /* @__PURE__ */ O(d, {
|
|
232
224
|
variant: "secondary",
|
|
233
225
|
children: v.brand
|
|
234
226
|
}),
|
|
235
|
-
v.fragile && /* @__PURE__ */ O(
|
|
227
|
+
v.fragile && /* @__PURE__ */ O(d, {
|
|
236
228
|
variant: "destructive",
|
|
237
229
|
children: "Fragile"
|
|
238
230
|
}),
|
|
239
|
-
v.hazardous && /* @__PURE__ */ O(
|
|
231
|
+
v.hazardous && /* @__PURE__ */ O(d, {
|
|
240
232
|
variant: "destructive",
|
|
241
233
|
children: "Hazardous"
|
|
242
234
|
}),
|
|
243
|
-
v.temperatureControlled && /* @__PURE__ */ O(
|
|
235
|
+
v.temperatureControlled && /* @__PURE__ */ O(d, {
|
|
244
236
|
variant: "secondary",
|
|
245
237
|
children: "Temp Controlled"
|
|
246
238
|
})
|
|
@@ -248,7 +240,7 @@ function F() {
|
|
|
248
240
|
}),
|
|
249
241
|
children: [
|
|
250
242
|
/* @__PURE__ */ O(M, {
|
|
251
|
-
icon: /* @__PURE__ */ O(
|
|
243
|
+
icon: /* @__PURE__ */ O(r, { size: 18 }),
|
|
252
244
|
children: "The catalog record for this item — its dimensions, weight, value and handling flags. These drive how it's packed, priced and routed, so keep them accurate before adding the product to an order or stocking it in a warehouse."
|
|
253
245
|
}),
|
|
254
246
|
/* @__PURE__ */ O(j, {
|
|
@@ -257,13 +249,13 @@ function F() {
|
|
|
257
249
|
id: "order",
|
|
258
250
|
label: "Add this product to an order",
|
|
259
251
|
description: "Include it on a new delivery.",
|
|
260
|
-
icon: /* @__PURE__ */ O(
|
|
252
|
+
icon: /* @__PURE__ */ O(r, { size: 16 }),
|
|
261
253
|
onClick: () => I("orders/new")
|
|
262
254
|
}, {
|
|
263
255
|
id: "edit",
|
|
264
256
|
label: "Edit product details",
|
|
265
257
|
description: "Update dimensions, value or handling flags.",
|
|
266
|
-
icon: /* @__PURE__ */ O(
|
|
258
|
+
icon: /* @__PURE__ */ O(o, { size: 16 }),
|
|
267
259
|
onClick: () => {}
|
|
268
260
|
}]
|
|
269
261
|
}),
|
|
@@ -272,11 +264,11 @@ function F() {
|
|
|
272
264
|
children: [/* @__PURE__ */ k("div", {
|
|
273
265
|
className: "lg:col-span-2 space-y-6",
|
|
274
266
|
children: [
|
|
275
|
-
/* @__PURE__ */ k(
|
|
276
|
-
/* @__PURE__ */ k(
|
|
267
|
+
/* @__PURE__ */ k(p, { children: [/* @__PURE__ */ O(h, { children: /* @__PURE__ */ O(g, { children: "Description" }) }), /* @__PURE__ */ O(m, { children: /* @__PURE__ */ O("p", { children: v.description }) })] }),
|
|
268
|
+
/* @__PURE__ */ k(p, { children: [/* @__PURE__ */ O(h, { children: /* @__PURE__ */ k(g, {
|
|
277
269
|
className: "flex items-center gap-2",
|
|
278
|
-
children: [/* @__PURE__ */ O(
|
|
279
|
-
}) }), /* @__PURE__ */ O(
|
|
270
|
+
children: [/* @__PURE__ */ O(t, { size: 18 }), " Dimensions & Weight"]
|
|
271
|
+
}) }), /* @__PURE__ */ O(m, { children: /* @__PURE__ */ k("div", {
|
|
280
272
|
className: "grid grid-cols-2 md:grid-cols-4 gap-4",
|
|
281
273
|
children: [
|
|
282
274
|
/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
@@ -321,10 +313,10 @@ function F() {
|
|
|
321
313
|
})] })
|
|
322
314
|
]
|
|
323
315
|
}) })] }),
|
|
324
|
-
v.attributes.length > 0 && /* @__PURE__ */ k(
|
|
316
|
+
v.attributes.length > 0 && /* @__PURE__ */ k(p, { children: [/* @__PURE__ */ O(h, { children: /* @__PURE__ */ k(g, {
|
|
325
317
|
className: "flex items-center gap-2",
|
|
326
|
-
children: [/* @__PURE__ */ O(
|
|
327
|
-
}) }), /* @__PURE__ */ O(
|
|
318
|
+
children: [/* @__PURE__ */ O(o, { size: 18 }), " Attributes"]
|
|
319
|
+
}) }), /* @__PURE__ */ O(m, { children: /* @__PURE__ */ O("div", {
|
|
328
320
|
className: "grid grid-cols-2 md:grid-cols-3 gap-4",
|
|
329
321
|
children: v.attributes.map((e, t) => /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
330
322
|
className: "text-sm text-text-secondary",
|
|
@@ -340,7 +332,7 @@ function F() {
|
|
|
340
332
|
children: [/* @__PURE__ */ k(A, { children: [
|
|
341
333
|
/* @__PURE__ */ k("h2", {
|
|
342
334
|
className: "flex items-center gap-2 text-base font-semibold text-text-primary mb-3",
|
|
343
|
-
children: [/* @__PURE__ */ O(
|
|
335
|
+
children: [/* @__PURE__ */ O(n, { size: 18 }), " Pricing"]
|
|
344
336
|
}),
|
|
345
337
|
/* @__PURE__ */ O("p", {
|
|
346
338
|
className: "text-3xl font-bold",
|
|
@@ -350,7 +342,7 @@ function F() {
|
|
|
350
342
|
className: "text-sm text-text-secondary",
|
|
351
343
|
children: "Unit price"
|
|
352
344
|
})
|
|
353
|
-
] }), /* @__PURE__ */ k(
|
|
345
|
+
] }), /* @__PURE__ */ k(p, { children: [/* @__PURE__ */ O(h, { children: /* @__PURE__ */ O(g, { children: "Identifiers" }) }), /* @__PURE__ */ k(m, {
|
|
354
346
|
className: "space-y-3",
|
|
355
347
|
children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
|
|
356
348
|
className: "text-sm text-text-secondary",
|
|
@@ -369,7 +361,7 @@ function F() {
|
|
|
369
361
|
})]
|
|
370
362
|
})
|
|
371
363
|
]
|
|
372
|
-
}) : /* @__PURE__ */ O(
|
|
364
|
+
}) : /* @__PURE__ */ O(N, {});
|
|
373
365
|
}
|
|
374
366
|
//#endregion
|
|
375
|
-
export {
|
|
367
|
+
export { P as default };
|
|
@@ -1,51 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { Download as e } from "../node_modules/lucide-react/dist/esm/icons/download.js";
|
|
2
|
+
import { Package as t } from "../node_modules/lucide-react/dist/esm/icons/package.js";
|
|
3
|
+
import { Plus as n } from "../node_modules/lucide-react/dist/esm/icons/plus.js";
|
|
4
|
+
import { RefreshCw as r } from "../node_modules/lucide-react/dist/esm/icons/refresh-cw.js";
|
|
5
|
+
import { Thermometer as i } from "../node_modules/lucide-react/dist/esm/icons/thermometer.js";
|
|
6
|
+
import { TriangleAlert as a } from "../node_modules/lucide-react/dist/esm/icons/triangle-alert.js";
|
|
7
|
+
import { joinPath as o } from "../utils/navigation.js";
|
|
8
|
+
import { useMoveTheWheels as s } from "../providers/MoveTheWheelsProvider.js";
|
|
9
|
+
import { useProductStats as c, useProducts as l } from "../hooks/useInventory.js";
|
|
10
|
+
import { Badge as u } from "../components/ui.js";
|
|
11
|
+
import { PageLayout as d } from "../components/PageLayout.js";
|
|
12
|
+
import { MetricCard as f, MetricGrid as p } from "../components/MetricCard.js";
|
|
13
|
+
import { DataTable as m } from "../components/DataTable.js";
|
|
14
|
+
import { formatCurrency as h } from "../utils/formatters.js";
|
|
11
15
|
import { useState as g } from "react";
|
|
12
16
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
13
17
|
import { CTAOverflowMenu as y, PagePurpose as b } from "@burdenoff/fe-libs/ui";
|
|
14
|
-
//#region node_modules/lucide-react/dist/esm/icons/thermometer.js
|
|
15
|
-
var x = i("Thermometer", [["path", {
|
|
16
|
-
d: "M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",
|
|
17
|
-
key: "17jzev"
|
|
18
|
-
}]]);
|
|
19
|
-
//#endregion
|
|
20
18
|
//#region src/movethewheels/pages/ProductsPage.tsx
|
|
21
|
-
function
|
|
22
|
-
let { basePath:
|
|
19
|
+
function x() {
|
|
20
|
+
let { basePath: x, navigate: S } = s(), [C, w] = g(0), [T, E] = g(25), { products: D, hasMore: O, isLoading: k, error: A, refetch: j } = l({
|
|
23
21
|
limit: T,
|
|
24
22
|
offset: C * T
|
|
25
|
-
}), { stats: M } =
|
|
26
|
-
return /* @__PURE__ */ v(
|
|
23
|
+
}), { stats: M } = c(), N = (e) => S?.(o(x, e));
|
|
24
|
+
return /* @__PURE__ */ v(d, {
|
|
27
25
|
title: "Products",
|
|
28
26
|
subtitle: `${M.total} products`,
|
|
29
|
-
icon: /* @__PURE__ */ _(
|
|
27
|
+
icon: /* @__PURE__ */ _(t, { size: 24 }),
|
|
30
28
|
headerActions: /* @__PURE__ */ _(y, {
|
|
31
29
|
primary: {
|
|
32
30
|
label: "Add Product",
|
|
33
|
-
icon: /* @__PURE__ */ _(
|
|
31
|
+
icon: /* @__PURE__ */ _(n, { size: 16 }),
|
|
34
32
|
onSelect: () => N("inventory/products/new")
|
|
35
33
|
},
|
|
36
34
|
actions: [{
|
|
37
35
|
label: "Refresh",
|
|
38
|
-
icon: /* @__PURE__ */ _(
|
|
36
|
+
icon: /* @__PURE__ */ _(r, { size: 16 }),
|
|
39
37
|
onSelect: () => j()
|
|
40
38
|
}, {
|
|
41
39
|
label: "Export",
|
|
42
|
-
icon: /* @__PURE__ */ _(
|
|
40
|
+
icon: /* @__PURE__ */ _(e, { size: 16 }),
|
|
43
41
|
onSelect: () => N("import-export")
|
|
44
42
|
}]
|
|
45
43
|
}),
|
|
46
44
|
children: [
|
|
47
45
|
/* @__PURE__ */ _(b, {
|
|
48
|
-
icon: /* @__PURE__ */ _(
|
|
46
|
+
icon: /* @__PURE__ */ _(t, { size: 18 }),
|
|
49
47
|
children: "The catalog of items you ship. Each product's dimensions, weight, value and handling flags (fragile, hazardous, temperature-controlled) drive how it's packed, priced and routed — keep them accurate so shipments are quoted and handled correctly."
|
|
50
48
|
}),
|
|
51
49
|
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
@@ -54,28 +52,28 @@ function S() {
|
|
|
54
52
|
}), /* @__PURE__ */ v(p, {
|
|
55
53
|
columns: 3,
|
|
56
54
|
children: [
|
|
57
|
-
/* @__PURE__ */ _(
|
|
55
|
+
/* @__PURE__ */ _(f, {
|
|
58
56
|
label: "Total products",
|
|
59
57
|
value: M.total,
|
|
60
|
-
icon: /* @__PURE__ */ _(
|
|
58
|
+
icon: /* @__PURE__ */ _(t, { size: 20 }),
|
|
61
59
|
accent: "brand"
|
|
62
60
|
}),
|
|
63
|
-
/* @__PURE__ */ _(
|
|
61
|
+
/* @__PURE__ */ _(f, {
|
|
64
62
|
label: "Special handling",
|
|
65
63
|
value: M.specialHandling,
|
|
66
|
-
icon: /* @__PURE__ */ _(
|
|
64
|
+
icon: /* @__PURE__ */ _(a, { size: 20 }),
|
|
67
65
|
accent: "warning",
|
|
68
66
|
subtitle: "Fragile or hazardous"
|
|
69
67
|
}),
|
|
70
|
-
/* @__PURE__ */ _(
|
|
68
|
+
/* @__PURE__ */ _(f, {
|
|
71
69
|
label: "Temp-controlled",
|
|
72
70
|
value: M.temperatureControlled,
|
|
73
|
-
icon: /* @__PURE__ */ _(
|
|
71
|
+
icon: /* @__PURE__ */ _(i, { size: 20 }),
|
|
74
72
|
accent: "blue"
|
|
75
73
|
})
|
|
76
74
|
]
|
|
77
75
|
})] }),
|
|
78
|
-
/* @__PURE__ */ _(
|
|
76
|
+
/* @__PURE__ */ _(m, {
|
|
79
77
|
columns: [
|
|
80
78
|
{
|
|
81
79
|
id: "sku",
|
|
@@ -105,7 +103,7 @@ function S() {
|
|
|
105
103
|
header: "Category",
|
|
106
104
|
accessorKey: "category",
|
|
107
105
|
sortable: !0,
|
|
108
|
-
cell: (e) => /* @__PURE__ */ _(
|
|
106
|
+
cell: (e) => /* @__PURE__ */ _(u, {
|
|
109
107
|
variant: "outline",
|
|
110
108
|
children: e.category
|
|
111
109
|
})
|
|
@@ -138,17 +136,17 @@ function S() {
|
|
|
138
136
|
cell: (e) => /* @__PURE__ */ v("div", {
|
|
139
137
|
className: "flex gap-1",
|
|
140
138
|
children: [
|
|
141
|
-
e.fragile && /* @__PURE__ */ _(
|
|
139
|
+
e.fragile && /* @__PURE__ */ _(u, {
|
|
142
140
|
variant: "destructive",
|
|
143
141
|
className: "text-xs",
|
|
144
142
|
children: "Fragile"
|
|
145
143
|
}),
|
|
146
|
-
e.hazardous && /* @__PURE__ */ _(
|
|
144
|
+
e.hazardous && /* @__PURE__ */ _(u, {
|
|
147
145
|
variant: "destructive",
|
|
148
146
|
className: "text-xs",
|
|
149
147
|
children: "Hazardous"
|
|
150
148
|
}),
|
|
151
|
-
e.temperatureControlled && /* @__PURE__ */ _(
|
|
149
|
+
e.temperatureControlled && /* @__PURE__ */ _(u, {
|
|
152
150
|
variant: "secondary",
|
|
153
151
|
className: "text-xs",
|
|
154
152
|
children: "Temp Control"
|
|
@@ -185,4 +183,4 @@ function S() {
|
|
|
185
183
|
});
|
|
186
184
|
}
|
|
187
185
|
//#endregion
|
|
188
|
-
export {
|
|
186
|
+
export { x as default };
|