@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,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
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 { Clock as n } from "../node_modules/lucide-react/dist/esm/icons/clock.js";
|
|
4
|
+
import { MapPin as r } from "../node_modules/lucide-react/dist/esm/icons/map-pin.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 { Users as o } from "../node_modules/lucide-react/dist/esm/icons/users.js";
|
|
8
|
+
import { Warehouse as s } from "../node_modules/lucide-react/dist/esm/icons/warehouse.js";
|
|
9
|
+
import { joinPath as c } from "../utils/navigation.js";
|
|
10
|
+
import { useMoveTheWheels as l } from "../providers/MoveTheWheelsProvider.js";
|
|
11
|
+
import { useInventory as u, useWarehouse as d } from "../hooks/useInventory.js";
|
|
12
|
+
import { Badge as f, Button as p, Card as m, CardContent as h, CardHeader as g, CardTitle as _, Input as v, Label as y, Progress as b, Select as x, SelectContent as S, SelectItem as C, SelectTrigger as w, SelectValue as T } from "../components/ui.js";
|
|
13
|
+
import { ErrorState as E, LoadingState as D, PageLayout as O } from "../components/PageLayout.js";
|
|
14
|
+
import { FormError as k } from "../components/FormError.js";
|
|
15
|
+
import { formatAddress as A } from "../utils/formatters.js";
|
|
13
16
|
import { useEffect as j, useState as M } from "react";
|
|
14
17
|
import { useLocation as N, useParams as P } from "react-router-dom";
|
|
15
18
|
import { jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
@@ -37,8 +40,8 @@ var B = [
|
|
|
37
40
|
label: "Retail"
|
|
38
41
|
}
|
|
39
42
|
];
|
|
40
|
-
function V({ editId:
|
|
41
|
-
let { basePath:
|
|
43
|
+
function V({ editId: t }) {
|
|
44
|
+
let { basePath: n, navigate: a } = l(), { createWarehouse: o, updateWarehouse: f } = u(), { warehouse: b } = d(t), E = !!t, [D, A] = M({
|
|
42
45
|
code: "",
|
|
43
46
|
name: "",
|
|
44
47
|
type: "DISTRIBUTION",
|
|
@@ -50,77 +53,77 @@ function V({ editId: i }) {
|
|
|
50
53
|
totalCapacity: ""
|
|
51
54
|
}), [N, P] = M(!1), [R, V] = M(null);
|
|
52
55
|
j(() => {
|
|
53
|
-
!
|
|
54
|
-
code:
|
|
55
|
-
name:
|
|
56
|
-
type:
|
|
57
|
-
street:
|
|
58
|
-
city:
|
|
59
|
-
state:
|
|
60
|
-
postalCode:
|
|
61
|
-
country:
|
|
62
|
-
totalCapacity:
|
|
56
|
+
!t || !b || A({
|
|
57
|
+
code: b.code || "",
|
|
58
|
+
name: b.name || "",
|
|
59
|
+
type: b.type ? b.type.toUpperCase() : "DISTRIBUTION",
|
|
60
|
+
street: b.address.street || "",
|
|
61
|
+
city: b.address.city || "",
|
|
62
|
+
state: b.address.state || "",
|
|
63
|
+
postalCode: b.address.postalCode || "",
|
|
64
|
+
country: b.address.country || "USA",
|
|
65
|
+
totalCapacity: b.capacity.totalSpace ? String(b.capacity.totalSpace) : ""
|
|
63
66
|
});
|
|
64
|
-
}, [
|
|
65
|
-
let H = () =>
|
|
67
|
+
}, [t, b]);
|
|
68
|
+
let H = () => a?.(c(n, "inventory/warehouses")), U = (e, t) => A((n) => ({
|
|
66
69
|
...n,
|
|
67
70
|
[e]: t
|
|
68
71
|
})), W = async (e) => {
|
|
69
|
-
if (e.preventDefault(), !
|
|
72
|
+
if (e.preventDefault(), !D.code.trim() || !D.name.trim()) {
|
|
70
73
|
V("Warehouse code and name are required.");
|
|
71
74
|
return;
|
|
72
75
|
}
|
|
73
|
-
if (!
|
|
76
|
+
if (!D.street.trim() || !D.city.trim()) {
|
|
74
77
|
V("A street and city are required for the warehouse address.");
|
|
75
78
|
return;
|
|
76
79
|
}
|
|
77
80
|
P(!0), V(null);
|
|
78
81
|
try {
|
|
79
|
-
let e =
|
|
80
|
-
code:
|
|
81
|
-
name:
|
|
82
|
-
type:
|
|
82
|
+
let e = D.totalCapacity.trim() ? Number(D.totalCapacity) : void 0, r = {
|
|
83
|
+
code: D.code.trim(),
|
|
84
|
+
name: D.name.trim(),
|
|
85
|
+
type: D.type,
|
|
83
86
|
address: {
|
|
84
|
-
street:
|
|
85
|
-
city:
|
|
86
|
-
state:
|
|
87
|
-
postalCode:
|
|
88
|
-
country:
|
|
87
|
+
street: D.street.trim(),
|
|
88
|
+
city: D.city.trim(),
|
|
89
|
+
state: D.state.trim(),
|
|
90
|
+
postalCode: D.postalCode.trim(),
|
|
91
|
+
country: D.country.trim()
|
|
89
92
|
},
|
|
90
93
|
totalCapacity: e !== void 0 && !Number.isNaN(e) ? e : void 0
|
|
91
94
|
};
|
|
92
|
-
if (
|
|
95
|
+
if (t) await f(t, r), a?.(c(n, `inventory/warehouses/${t}`));
|
|
93
96
|
else {
|
|
94
|
-
let e = await
|
|
95
|
-
|
|
97
|
+
let e = await o(r);
|
|
98
|
+
a?.(c(n, `inventory/warehouses/${e.id}`));
|
|
96
99
|
}
|
|
97
100
|
} catch (e) {
|
|
98
101
|
console.error("Failed to create warehouse:", e), V(e instanceof Error ? e.message : "Failed to create warehouse. Please try again."), P(!1);
|
|
99
102
|
}
|
|
100
103
|
};
|
|
101
|
-
return /* @__PURE__ */ I(
|
|
102
|
-
title:
|
|
104
|
+
return /* @__PURE__ */ I(O, {
|
|
105
|
+
title: E ? "Edit Warehouse" : "Add Warehouse",
|
|
103
106
|
subtitle: "Register a storage and fulfilment site",
|
|
104
|
-
icon: /* @__PURE__ */ F(
|
|
107
|
+
icon: /* @__PURE__ */ F(s, { size: 24 }),
|
|
105
108
|
headerActions: /* @__PURE__ */ I("div", {
|
|
106
109
|
className: "flex gap-2",
|
|
107
|
-
children: [/* @__PURE__ */ I(
|
|
110
|
+
children: [/* @__PURE__ */ I(p, {
|
|
108
111
|
variant: "outline",
|
|
109
112
|
onClick: H,
|
|
110
113
|
disabled: N,
|
|
111
|
-
children: [/* @__PURE__ */ F(
|
|
112
|
-
}), /* @__PURE__ */ I(
|
|
114
|
+
children: [/* @__PURE__ */ F(e, { size: 16 }), " Cancel"]
|
|
115
|
+
}), /* @__PURE__ */ I(p, {
|
|
113
116
|
onClick: W,
|
|
114
117
|
disabled: N,
|
|
115
118
|
children: [
|
|
116
|
-
/* @__PURE__ */ F(
|
|
119
|
+
/* @__PURE__ */ F(i, { size: 16 }),
|
|
117
120
|
" ",
|
|
118
|
-
|
|
121
|
+
E ? N ? "Saving..." : "Save Changes" : N ? "Saving..." : "Add Warehouse"
|
|
119
122
|
]
|
|
120
123
|
})]
|
|
121
124
|
}),
|
|
122
125
|
children: [/* @__PURE__ */ F(z, {
|
|
123
|
-
icon: /* @__PURE__ */ F(
|
|
126
|
+
icon: /* @__PURE__ */ F(s, { size: 18 }),
|
|
124
127
|
children: "Add a warehouse so you can store inventory and fulfil orders from it. A code, name, type and location get it on the network — set a total capacity to track utilization."
|
|
125
128
|
}), /* @__PURE__ */ I("form", {
|
|
126
129
|
onSubmit: W,
|
|
@@ -137,15 +140,15 @@ function V({ editId: i }) {
|
|
|
137
140
|
children: [
|
|
138
141
|
/* @__PURE__ */ I("div", {
|
|
139
142
|
className: "space-y-2",
|
|
140
|
-
children: [/* @__PURE__ */ I(
|
|
143
|
+
children: [/* @__PURE__ */ I(y, {
|
|
141
144
|
htmlFor: "code",
|
|
142
145
|
children: ["Code ", /* @__PURE__ */ F("span", {
|
|
143
146
|
className: "text-status-error-text",
|
|
144
147
|
children: "*"
|
|
145
148
|
})]
|
|
146
|
-
}), /* @__PURE__ */ F(
|
|
149
|
+
}), /* @__PURE__ */ F(v, {
|
|
147
150
|
id: "code",
|
|
148
|
-
value:
|
|
151
|
+
value: D.code,
|
|
149
152
|
onChange: (e) => U("code", e.target.value),
|
|
150
153
|
placeholder: "WH-SF-01",
|
|
151
154
|
required: !0
|
|
@@ -153,15 +156,15 @@ function V({ editId: i }) {
|
|
|
153
156
|
}),
|
|
154
157
|
/* @__PURE__ */ I("div", {
|
|
155
158
|
className: "space-y-2",
|
|
156
|
-
children: [/* @__PURE__ */ I(
|
|
159
|
+
children: [/* @__PURE__ */ I(y, {
|
|
157
160
|
htmlFor: "name",
|
|
158
161
|
children: ["Name ", /* @__PURE__ */ F("span", {
|
|
159
162
|
className: "text-status-error-text",
|
|
160
163
|
children: "*"
|
|
161
164
|
})]
|
|
162
|
-
}), /* @__PURE__ */ F(
|
|
165
|
+
}), /* @__PURE__ */ F(v, {
|
|
163
166
|
id: "name",
|
|
164
|
-
value:
|
|
167
|
+
value: D.name,
|
|
165
168
|
onChange: (e) => U("name", e.target.value),
|
|
166
169
|
placeholder: "San Francisco DC",
|
|
167
170
|
required: !0
|
|
@@ -169,19 +172,19 @@ function V({ editId: i }) {
|
|
|
169
172
|
}),
|
|
170
173
|
/* @__PURE__ */ I("div", {
|
|
171
174
|
className: "space-y-2",
|
|
172
|
-
children: [/* @__PURE__ */ I(
|
|
175
|
+
children: [/* @__PURE__ */ I(y, {
|
|
173
176
|
htmlFor: "type",
|
|
174
177
|
children: ["Type ", /* @__PURE__ */ F("span", {
|
|
175
178
|
className: "text-status-error-text",
|
|
176
179
|
children: "*"
|
|
177
180
|
})]
|
|
178
|
-
}), /* @__PURE__ */ I(
|
|
179
|
-
value:
|
|
181
|
+
}), /* @__PURE__ */ I(x, {
|
|
182
|
+
value: D.type,
|
|
180
183
|
onValueChange: (e) => U("type", e),
|
|
181
|
-
children: [/* @__PURE__ */ F(
|
|
184
|
+
children: [/* @__PURE__ */ F(w, {
|
|
182
185
|
id: "type",
|
|
183
|
-
children: /* @__PURE__ */ F(
|
|
184
|
-
}), /* @__PURE__ */ F(
|
|
186
|
+
children: /* @__PURE__ */ F(T, {})
|
|
187
|
+
}), /* @__PURE__ */ F(S, { children: B.map((e) => /* @__PURE__ */ F(C, {
|
|
185
188
|
value: e.value,
|
|
186
189
|
children: e.label
|
|
187
190
|
}, e.value)) })]
|
|
@@ -190,40 +193,40 @@ function V({ editId: i }) {
|
|
|
190
193
|
]
|
|
191
194
|
}), /* @__PURE__ */ I("div", {
|
|
192
195
|
className: "space-y-2",
|
|
193
|
-
children: [/* @__PURE__ */ F(
|
|
196
|
+
children: [/* @__PURE__ */ F(y, {
|
|
194
197
|
htmlFor: "totalCapacity",
|
|
195
198
|
children: "Total Capacity (sq ft)"
|
|
196
|
-
}), /* @__PURE__ */ F(
|
|
199
|
+
}), /* @__PURE__ */ F(v, {
|
|
197
200
|
id: "totalCapacity",
|
|
198
201
|
type: "number",
|
|
199
202
|
min: "0",
|
|
200
|
-
value:
|
|
203
|
+
value: D.totalCapacity,
|
|
201
204
|
onChange: (e) => U("totalCapacity", e.target.value),
|
|
202
205
|
placeholder: "50000"
|
|
203
206
|
})]
|
|
204
207
|
})]
|
|
205
208
|
})] }),
|
|
206
|
-
/* @__PURE__ */ I(
|
|
209
|
+
/* @__PURE__ */ I(m, { children: [/* @__PURE__ */ F(g, { children: /* @__PURE__ */ I(_, {
|
|
207
210
|
className: "flex items-center gap-2",
|
|
208
211
|
children: [
|
|
209
|
-
/* @__PURE__ */ F(
|
|
212
|
+
/* @__PURE__ */ F(r, { size: 18 }),
|
|
210
213
|
" Address ",
|
|
211
214
|
/* @__PURE__ */ F("span", {
|
|
212
215
|
className: "text-status-error-text",
|
|
213
216
|
children: "*"
|
|
214
217
|
})
|
|
215
218
|
]
|
|
216
|
-
}) }), /* @__PURE__ */ I(
|
|
219
|
+
}) }), /* @__PURE__ */ I(h, {
|
|
217
220
|
className: "space-y-4",
|
|
218
221
|
children: [
|
|
219
222
|
/* @__PURE__ */ I("div", {
|
|
220
223
|
className: "space-y-2",
|
|
221
|
-
children: [/* @__PURE__ */ F(
|
|
224
|
+
children: [/* @__PURE__ */ F(y, {
|
|
222
225
|
htmlFor: "street",
|
|
223
226
|
children: "Street"
|
|
224
|
-
}), /* @__PURE__ */ F(
|
|
227
|
+
}), /* @__PURE__ */ F(v, {
|
|
225
228
|
id: "street",
|
|
226
|
-
value:
|
|
229
|
+
value: D.street,
|
|
227
230
|
onChange: (e) => U("street", e.target.value),
|
|
228
231
|
placeholder: "500 Industrial Way"
|
|
229
232
|
})]
|
|
@@ -232,23 +235,23 @@ function V({ editId: i }) {
|
|
|
232
235
|
className: "grid grid-cols-1 md:grid-cols-2 gap-4",
|
|
233
236
|
children: [/* @__PURE__ */ I("div", {
|
|
234
237
|
className: "space-y-2",
|
|
235
|
-
children: [/* @__PURE__ */ F(
|
|
238
|
+
children: [/* @__PURE__ */ F(y, {
|
|
236
239
|
htmlFor: "city",
|
|
237
240
|
children: "City"
|
|
238
|
-
}), /* @__PURE__ */ F(
|
|
241
|
+
}), /* @__PURE__ */ F(v, {
|
|
239
242
|
id: "city",
|
|
240
|
-
value:
|
|
243
|
+
value: D.city,
|
|
241
244
|
onChange: (e) => U("city", e.target.value),
|
|
242
245
|
placeholder: "San Francisco"
|
|
243
246
|
})]
|
|
244
247
|
}), /* @__PURE__ */ I("div", {
|
|
245
248
|
className: "space-y-2",
|
|
246
|
-
children: [/* @__PURE__ */ F(
|
|
249
|
+
children: [/* @__PURE__ */ F(y, {
|
|
247
250
|
htmlFor: "state",
|
|
248
251
|
children: "State"
|
|
249
|
-
}), /* @__PURE__ */ F(
|
|
252
|
+
}), /* @__PURE__ */ F(v, {
|
|
250
253
|
id: "state",
|
|
251
|
-
value:
|
|
254
|
+
value: D.state,
|
|
252
255
|
onChange: (e) => U("state", e.target.value),
|
|
253
256
|
placeholder: "CA"
|
|
254
257
|
})]
|
|
@@ -258,23 +261,23 @@ function V({ editId: i }) {
|
|
|
258
261
|
className: "grid grid-cols-1 md:grid-cols-2 gap-4",
|
|
259
262
|
children: [/* @__PURE__ */ I("div", {
|
|
260
263
|
className: "space-y-2",
|
|
261
|
-
children: [/* @__PURE__ */ F(
|
|
264
|
+
children: [/* @__PURE__ */ F(y, {
|
|
262
265
|
htmlFor: "postalCode",
|
|
263
266
|
children: "ZIP / Postal Code"
|
|
264
|
-
}), /* @__PURE__ */ F(
|
|
267
|
+
}), /* @__PURE__ */ F(v, {
|
|
265
268
|
id: "postalCode",
|
|
266
|
-
value:
|
|
269
|
+
value: D.postalCode,
|
|
267
270
|
onChange: (e) => U("postalCode", e.target.value),
|
|
268
271
|
placeholder: "94103"
|
|
269
272
|
})]
|
|
270
273
|
}), /* @__PURE__ */ I("div", {
|
|
271
274
|
className: "space-y-2",
|
|
272
|
-
children: [/* @__PURE__ */ F(
|
|
275
|
+
children: [/* @__PURE__ */ F(y, {
|
|
273
276
|
htmlFor: "country",
|
|
274
277
|
children: "Country"
|
|
275
|
-
}), /* @__PURE__ */ F(
|
|
278
|
+
}), /* @__PURE__ */ F(v, {
|
|
276
279
|
id: "country",
|
|
277
|
-
value:
|
|
280
|
+
value: D.country,
|
|
278
281
|
onChange: (e) => U("country", e.target.value),
|
|
279
282
|
placeholder: "USA"
|
|
280
283
|
})]
|
|
@@ -287,44 +290,44 @@ function V({ editId: i }) {
|
|
|
287
290
|
});
|
|
288
291
|
}
|
|
289
292
|
function H() {
|
|
290
|
-
let { warehouseId:
|
|
291
|
-
if (!
|
|
292
|
-
if (
|
|
293
|
-
if (
|
|
294
|
-
if (
|
|
293
|
+
let { warehouseId: i } = P(), { basePath: u, navigate: v } = l(), y = N().pathname.endsWith("/edit"), { warehouse: x, isLoading: S, error: C, refetch: w } = d(i), T = () => v?.(c(u, "inventory/warehouses")), k = (e) => v?.(c(u, e));
|
|
294
|
+
if (!i) return /* @__PURE__ */ F(V, {});
|
|
295
|
+
if (y) return /* @__PURE__ */ F(V, { editId: i });
|
|
296
|
+
if (S) return /* @__PURE__ */ F(D, { message: "Loading warehouse details..." });
|
|
297
|
+
if (C || !x) return /* @__PURE__ */ F(E, {
|
|
295
298
|
title: "Warehouse not found",
|
|
296
|
-
onRetry:
|
|
299
|
+
onRetry: w
|
|
297
300
|
});
|
|
298
|
-
let j =
|
|
299
|
-
return /* @__PURE__ */ I(
|
|
300
|
-
title:
|
|
301
|
-
subtitle: `Code: ${
|
|
302
|
-
icon: /* @__PURE__ */ F(
|
|
301
|
+
let j = x.capacity.usedSpace / x.capacity.totalSpace * 100;
|
|
302
|
+
return /* @__PURE__ */ I(O, {
|
|
303
|
+
title: x.name,
|
|
304
|
+
subtitle: `Code: ${x.code}`,
|
|
305
|
+
icon: /* @__PURE__ */ F(s, { size: 24 }),
|
|
303
306
|
headerActions: /* @__PURE__ */ I("div", {
|
|
304
307
|
className: "flex gap-2",
|
|
305
|
-
children: [/* @__PURE__ */ I(
|
|
308
|
+
children: [/* @__PURE__ */ I(p, {
|
|
306
309
|
variant: "outline",
|
|
307
|
-
onClick:
|
|
308
|
-
children: [/* @__PURE__ */ F(
|
|
309
|
-
}), /* @__PURE__ */ I(
|
|
310
|
-
onClick: () =>
|
|
311
|
-
children: [/* @__PURE__ */ F(
|
|
310
|
+
onClick: T,
|
|
311
|
+
children: [/* @__PURE__ */ F(e, { size: 16 }), " Back"]
|
|
312
|
+
}), /* @__PURE__ */ I(p, {
|
|
313
|
+
onClick: () => v?.(c(u, `inventory/warehouses/${i}/edit`)),
|
|
314
|
+
children: [/* @__PURE__ */ F(a, { size: 16 }), " Edit"]
|
|
312
315
|
})]
|
|
313
316
|
}),
|
|
314
317
|
headerContent: /* @__PURE__ */ I("div", {
|
|
315
318
|
className: "flex gap-2",
|
|
316
|
-
children: [/* @__PURE__ */ F(
|
|
317
|
-
variant:
|
|
318
|
-
children:
|
|
319
|
-
}), /* @__PURE__ */ F(
|
|
319
|
+
children: [/* @__PURE__ */ F(f, {
|
|
320
|
+
variant: x.isActive ? "default" : "secondary",
|
|
321
|
+
children: x.isActive ? "Active" : "Inactive"
|
|
322
|
+
}), /* @__PURE__ */ F(f, {
|
|
320
323
|
variant: "outline",
|
|
321
324
|
className: "capitalize",
|
|
322
|
-
children:
|
|
325
|
+
children: x.type.replace("_", " ")
|
|
323
326
|
})]
|
|
324
327
|
}),
|
|
325
328
|
children: [
|
|
326
329
|
/* @__PURE__ */ F(z, {
|
|
327
|
-
icon: /* @__PURE__ */ F(
|
|
330
|
+
icon: /* @__PURE__ */ F(s, { size: 18 }),
|
|
328
331
|
children: "A storage and fulfilment site at a glance — how full it is, its zones, operating hours, throughput and staff. Use it to decide whether this warehouse has the space and hours to fulfil an order, and where stock is running tight."
|
|
329
332
|
}),
|
|
330
333
|
/* @__PURE__ */ F(R, {
|
|
@@ -333,13 +336,13 @@ function H() {
|
|
|
333
336
|
id: "inventory",
|
|
334
337
|
label: "Review stock here",
|
|
335
338
|
description: "See which products are stored at this site.",
|
|
336
|
-
icon: /* @__PURE__ */ F(
|
|
339
|
+
icon: /* @__PURE__ */ F(t, { size: 16 }),
|
|
337
340
|
onClick: () => k("inventory/products")
|
|
338
341
|
}, {
|
|
339
342
|
id: "fulfil",
|
|
340
343
|
label: "Fulfil an order from this site",
|
|
341
344
|
description: "Pick a pending order to ship out of this warehouse.",
|
|
342
|
-
icon: /* @__PURE__ */ F(
|
|
345
|
+
icon: /* @__PURE__ */ F(r, { size: 16 }),
|
|
343
346
|
onClick: () => k("orders")
|
|
344
347
|
}]
|
|
345
348
|
}),
|
|
@@ -350,7 +353,7 @@ function H() {
|
|
|
350
353
|
children: [
|
|
351
354
|
/* @__PURE__ */ I(L, { children: [/* @__PURE__ */ I("h2", {
|
|
352
355
|
className: "flex items-center gap-2 text-base font-semibold text-text-primary mb-4",
|
|
353
|
-
children: [/* @__PURE__ */ F(
|
|
356
|
+
children: [/* @__PURE__ */ F(t, { size: 18 }), " Capacity"]
|
|
354
357
|
}), /* @__PURE__ */ I("div", {
|
|
355
358
|
className: "space-y-4",
|
|
356
359
|
children: [/* @__PURE__ */ I("div", { children: [
|
|
@@ -358,14 +361,14 @@ function H() {
|
|
|
358
361
|
className: "flex justify-between text-sm mb-2",
|
|
359
362
|
children: [/* @__PURE__ */ F("span", { children: "Space Utilization" }), /* @__PURE__ */ I("span", { children: [j.toFixed(0), "%"] })]
|
|
360
363
|
}),
|
|
361
|
-
/* @__PURE__ */ F(
|
|
364
|
+
/* @__PURE__ */ F(b, { value: j }),
|
|
362
365
|
/* @__PURE__ */ I("p", {
|
|
363
366
|
className: "text-sm text-text-secondary mt-1",
|
|
364
367
|
children: [
|
|
365
|
-
|
|
368
|
+
x.capacity.usedSpace.toLocaleString(),
|
|
366
369
|
" /",
|
|
367
370
|
" ",
|
|
368
|
-
|
|
371
|
+
x.capacity.totalSpace.toLocaleString(),
|
|
369
372
|
" sq ft"
|
|
370
373
|
]
|
|
371
374
|
})
|
|
@@ -376,24 +379,24 @@ function H() {
|
|
|
376
379
|
children: "Pallets Used"
|
|
377
380
|
}), /* @__PURE__ */ I("p", {
|
|
378
381
|
className: "text-2xl font-bold",
|
|
379
|
-
children: [
|
|
382
|
+
children: [x.capacity.usedPallets, /* @__PURE__ */ I("span", {
|
|
380
383
|
className: "text-sm font-normal text-text-secondary",
|
|
381
384
|
children: [
|
|
382
385
|
" ",
|
|
383
386
|
"/ ",
|
|
384
|
-
|
|
387
|
+
x.capacity.totalPallets
|
|
385
388
|
]
|
|
386
389
|
})]
|
|
387
390
|
})] })
|
|
388
391
|
})]
|
|
389
392
|
})] }),
|
|
390
|
-
/* @__PURE__ */ I(
|
|
393
|
+
/* @__PURE__ */ I(m, { children: [/* @__PURE__ */ F(g, { children: /* @__PURE__ */ I(_, { children: [
|
|
391
394
|
"Zones (",
|
|
392
|
-
|
|
395
|
+
x.zones.length,
|
|
393
396
|
")"
|
|
394
|
-
] }) }), /* @__PURE__ */ F(
|
|
397
|
+
] }) }), /* @__PURE__ */ F(h, { children: /* @__PURE__ */ F("div", {
|
|
395
398
|
className: "space-y-3",
|
|
396
|
-
children:
|
|
399
|
+
children: x.zones.map((e) => /* @__PURE__ */ I("div", {
|
|
397
400
|
className: "flex items-center justify-between p-3 border rounded-lg",
|
|
398
401
|
children: [/* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
|
|
399
402
|
className: "font-medium",
|
|
@@ -407,7 +410,7 @@ function H() {
|
|
|
407
410
|
]
|
|
408
411
|
})] }), /* @__PURE__ */ I("div", {
|
|
409
412
|
className: "text-right",
|
|
410
|
-
children: [/* @__PURE__ */ F(
|
|
413
|
+
children: [/* @__PURE__ */ F(b, {
|
|
411
414
|
value: e.currentOccupancy / e.capacity * 100,
|
|
412
415
|
className: "w-24 h-2"
|
|
413
416
|
}), /* @__PURE__ */ I("p", {
|
|
@@ -421,12 +424,12 @@ function H() {
|
|
|
421
424
|
})]
|
|
422
425
|
}, e.id))
|
|
423
426
|
}) })] }),
|
|
424
|
-
/* @__PURE__ */ I(
|
|
427
|
+
/* @__PURE__ */ I(m, { children: [/* @__PURE__ */ F(g, { children: /* @__PURE__ */ I(_, {
|
|
425
428
|
className: "flex items-center gap-2",
|
|
426
|
-
children: [/* @__PURE__ */ F(
|
|
427
|
-
}) }), /* @__PURE__ */ F(
|
|
429
|
+
children: [/* @__PURE__ */ F(n, { size: 18 }), " Operating Hours"]
|
|
430
|
+
}) }), /* @__PURE__ */ F(h, { children: /* @__PURE__ */ F("div", {
|
|
428
431
|
className: "grid grid-cols-2 md:grid-cols-4 gap-4",
|
|
429
|
-
children: Object.entries(
|
|
432
|
+
children: Object.entries(x.operatingHours).map(([e, t]) => /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
|
|
430
433
|
className: "text-sm font-medium",
|
|
431
434
|
children: e
|
|
432
435
|
}), /* @__PURE__ */ F("p", {
|
|
@@ -438,14 +441,14 @@ function H() {
|
|
|
438
441
|
}), /* @__PURE__ */ I("div", {
|
|
439
442
|
className: "space-y-6",
|
|
440
443
|
children: [
|
|
441
|
-
/* @__PURE__ */ I(
|
|
444
|
+
/* @__PURE__ */ I(m, { children: [/* @__PURE__ */ F(g, { children: /* @__PURE__ */ I(_, {
|
|
442
445
|
className: "flex items-center gap-2",
|
|
443
|
-
children: [/* @__PURE__ */ F(
|
|
444
|
-
}) }), /* @__PURE__ */ F(
|
|
446
|
+
children: [/* @__PURE__ */ F(r, { size: 18 }), " Location"]
|
|
447
|
+
}) }), /* @__PURE__ */ F(h, { children: /* @__PURE__ */ F("p", {
|
|
445
448
|
className: "text-sm",
|
|
446
|
-
children: A(
|
|
449
|
+
children: A(x.address)
|
|
447
450
|
}) })] }),
|
|
448
|
-
/* @__PURE__ */ I(
|
|
451
|
+
/* @__PURE__ */ I(m, { children: [/* @__PURE__ */ F(g, { children: /* @__PURE__ */ F(_, { children: "Metrics" }) }), /* @__PURE__ */ I(h, {
|
|
449
452
|
className: "space-y-3",
|
|
450
453
|
children: [
|
|
451
454
|
/* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
|
|
@@ -453,7 +456,7 @@ function H() {
|
|
|
453
456
|
children: "Throughput"
|
|
454
457
|
}), /* @__PURE__ */ I("p", {
|
|
455
458
|
className: "text-2xl font-bold",
|
|
456
|
-
children: [
|
|
459
|
+
children: [x.metrics.throughput, /* @__PURE__ */ F("span", {
|
|
457
460
|
className: "text-sm font-normal",
|
|
458
461
|
children: " orders/day"
|
|
459
462
|
})]
|
|
@@ -463,40 +466,40 @@ function H() {
|
|
|
463
466
|
children: "Accuracy"
|
|
464
467
|
}), /* @__PURE__ */ I("p", {
|
|
465
468
|
className: "text-2xl font-bold",
|
|
466
|
-
children: [
|
|
469
|
+
children: [x.metrics.accuracy, "%"]
|
|
467
470
|
})] }),
|
|
468
471
|
/* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
|
|
469
472
|
className: "text-sm text-text-secondary",
|
|
470
473
|
children: "Productivity"
|
|
471
474
|
}), /* @__PURE__ */ I("p", {
|
|
472
475
|
className: "text-2xl font-bold",
|
|
473
|
-
children: [
|
|
476
|
+
children: [x.metrics.productivity, "%"]
|
|
474
477
|
})] }),
|
|
475
478
|
/* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("p", {
|
|
476
479
|
className: "text-sm text-text-secondary",
|
|
477
480
|
children: "Orders Fulfilled"
|
|
478
481
|
}), /* @__PURE__ */ F("p", {
|
|
479
482
|
className: "text-2xl font-bold",
|
|
480
|
-
children:
|
|
483
|
+
children: x.metrics.ordersFulfilled.toLocaleString()
|
|
481
484
|
})] })
|
|
482
485
|
]
|
|
483
486
|
})] }),
|
|
484
|
-
/* @__PURE__ */ I(
|
|
487
|
+
/* @__PURE__ */ I(m, { children: [/* @__PURE__ */ F(g, { children: /* @__PURE__ */ I(_, {
|
|
485
488
|
className: "flex items-center gap-2",
|
|
486
489
|
children: [
|
|
487
|
-
/* @__PURE__ */ F(
|
|
490
|
+
/* @__PURE__ */ F(o, { size: 18 }),
|
|
488
491
|
" Staff (",
|
|
489
|
-
|
|
492
|
+
x.staff.length,
|
|
490
493
|
")"
|
|
491
494
|
]
|
|
492
|
-
}) }), /* @__PURE__ */ F(
|
|
495
|
+
}) }), /* @__PURE__ */ F(h, { children: x.staff.length > 0 ? /* @__PURE__ */ F("div", {
|
|
493
496
|
className: "space-y-2",
|
|
494
|
-
children:
|
|
497
|
+
children: x.staff.map((e, t) => /* @__PURE__ */ I("div", {
|
|
495
498
|
className: "flex items-center justify-between p-2 border rounded",
|
|
496
499
|
children: [/* @__PURE__ */ F("span", {
|
|
497
500
|
className: "text-sm capitalize",
|
|
498
501
|
children: e.role
|
|
499
|
-
}), /* @__PURE__ */ F(
|
|
502
|
+
}), /* @__PURE__ */ F(f, {
|
|
500
503
|
variant: "outline",
|
|
501
504
|
children: e.shift
|
|
502
505
|
})]
|