@burdenoff/microfe-healthybowl 2026.1125.4 → 2026.1126.2
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/healthybowl/HealthyBowlRoot.js +59 -55
- package/dist/healthybowl/HealthyBowlRoutes.d.ts +5 -0
- package/dist/healthybowl/HealthyBowlRoutes.js +432 -423
- package/dist/healthybowl/components/FarmArt.d.ts +8 -0
- package/dist/healthybowl/components/FarmArt.js +47 -0
- package/dist/healthybowl/components/PageLayout.d.ts +5 -16
- package/dist/healthybowl/components/PageLayout.js +51 -24
- package/dist/healthybowl/components/sidebarTitle.d.ts +9 -0
- package/dist/healthybowl/components/sidebarTitle.js +20 -0
- package/dist/healthybowl/components/useClampedPage.d.ts +5 -0
- package/dist/healthybowl/components/useClampedPage.js +13 -0
- package/dist/healthybowl/pages/HomePage.js +228 -128
- package/dist/healthybowl/pages/agri-inputs/AgriInputsStorePage.js +193 -183
- package/dist/healthybowl/pages/agri-inputs/v2/AgriInputsV2.d.ts +10 -0
- package/dist/healthybowl/pages/agri-inputs/v2/AgriInputsV2.js +186 -0
- package/dist/healthybowl/pages/catalog/PlantCatalogPage.js +151 -133
- package/dist/healthybowl/pages/catalog/v2/CatalogListV2.d.ts +18 -0
- package/dist/healthybowl/pages/catalog/v2/CatalogListV2.js +186 -0
- package/dist/healthybowl/pages/contracts/ContractsPage.js +371 -331
- package/dist/healthybowl/pages/contracts/v2/ContractsV2.d.ts +20 -0
- package/dist/healthybowl/pages/contracts/v2/ContractsV2.js +241 -0
- package/dist/healthybowl/pages/coop/CoopOverviewPage.js +200 -185
- package/dist/healthybowl/pages/coop/v2/CoopV2.d.ts +21 -0
- package/dist/healthybowl/pages/coop/v2/CoopV2.js +320 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.js +433 -423
- package/dist/healthybowl/pages/crops/CropHarvestPage.js +314 -299
- package/dist/healthybowl/pages/crops/CropPlanningPage.js +624 -609
- package/dist/healthybowl/pages/crops/CropsPage.js +293 -228
- package/dist/healthybowl/pages/crops/PlantingCalendarPage.js +35 -31
- package/dist/healthybowl/pages/crops/v2/CropsListV2.d.ts +34 -0
- package/dist/healthybowl/pages/crops/v2/CropsListV2.js +385 -0
- package/dist/healthybowl/pages/crops/v2/FieldsListV2.d.ts +11 -0
- package/dist/healthybowl/pages/crops/v2/FieldsListV2.js +371 -0
- package/dist/healthybowl/pages/crops/v2/HarvestV2.d.ts +25 -0
- package/dist/healthybowl/pages/crops/v2/HarvestV2.js +282 -0
- package/dist/healthybowl/pages/crops/v2/PlanningV2.d.ts +22 -0
- package/dist/healthybowl/pages/crops/v2/PlanningV2.js +287 -0
- package/dist/healthybowl/pages/crops/v2/PlantingCalendarV2.d.ts +8 -0
- package/dist/healthybowl/pages/crops/v2/PlantingCalendarV2.js +139 -0
- package/dist/healthybowl/pages/dashboard/v2/DashboardV2.d.ts +96 -0
- package/dist/healthybowl/pages/dashboard/v2/DashboardV2.js +689 -0
- package/dist/healthybowl/pages/dashboard/v2/parts.d.ts +49 -0
- package/dist/healthybowl/pages/dashboard/v2/parts.js +86 -0
- package/dist/healthybowl/pages/distribution/CsaPlansPage.d.ts +3 -0
- package/dist/healthybowl/pages/distribution/CsaPlansPage.js +86 -84
- package/dist/healthybowl/pages/distribution/DeliveryRoutesPage.d.ts +3 -0
- package/dist/healthybowl/pages/distribution/DeliveryRoutesPage.js +72 -70
- package/dist/healthybowl/pages/distribution/DistributionNav.d.ts +1 -1
- package/dist/healthybowl/pages/distribution/DistributionNav.js +20 -17
- package/dist/healthybowl/pages/distribution/DistributionOverviewPage.d.ts +4 -0
- package/dist/healthybowl/pages/distribution/DistributionOverviewPage.js +66 -64
- package/dist/healthybowl/pages/distribution/PickupLocationsPage.d.ts +3 -0
- package/dist/healthybowl/pages/distribution/PickupLocationsPage.js +101 -99
- package/dist/healthybowl/pages/distribution/PickupManifestPage.d.ts +5 -5
- package/dist/healthybowl/pages/distribution/PickupManifestPage.js +132 -136
- package/dist/healthybowl/pages/distribution/WholesaleOrdersPage.d.ts +3 -0
- package/dist/healthybowl/pages/distribution/WholesaleOrdersPage.js +108 -106
- package/dist/healthybowl/pages/distribution/v2/DistributionCsa.d.ts +2 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionCsa.js +302 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionFrame.d.ts +12 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionFrame.js +61 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionManifest.d.ts +2 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionManifest.js +306 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionOrders.d.ts +6 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionOrders.js +266 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionPickup.d.ts +9 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionPickup.js +239 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionRoutes.d.ts +2 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionRoutes.js +227 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionWholesale.d.ts +2 -0
- package/dist/healthybowl/pages/distribution/v2/DistributionWholesale.js +340 -0
- package/dist/healthybowl/pages/distribution/v2/ReadErrorNotice.d.ts +10 -0
- package/dist/healthybowl/pages/distribution/v2/ReadErrorNotice.js +18 -0
- package/dist/healthybowl/pages/distribution/v2/manifestNames.d.ts +6 -0
- package/dist/healthybowl/pages/distribution/v2/manifestNames.js +9 -0
- package/dist/healthybowl/pages/distribution/v2/words.d.ts +21 -0
- package/dist/healthybowl/pages/distribution/v2/words.js +79 -0
- package/dist/healthybowl/pages/farm/FarmProfilePage.js +426 -380
- package/dist/healthybowl/pages/farm/v2/FarmOverviewV2.d.ts +15 -0
- package/dist/healthybowl/pages/farm/v2/FarmOverviewV2.js +126 -0
- package/dist/healthybowl/pages/field-capture/CaptureObservationForm.js +86 -153
- package/dist/healthybowl/pages/field-capture/FieldCapturePage.d.ts +6 -0
- package/dist/healthybowl/pages/field-capture/FieldCapturePage.js +54 -27
- package/dist/healthybowl/pages/field-capture/ObservationLogPage.js +120 -87
- package/dist/healthybowl/pages/field-capture/OfflineSettingsPage.js +2 -1
- package/dist/healthybowl/pages/field-capture/PendingSyncPage.d.ts +5 -0
- package/dist/healthybowl/pages/field-capture/PendingSyncPage.js +80 -32
- package/dist/healthybowl/pages/field-capture/SyncHistoryPage.js +2 -1
- package/dist/healthybowl/pages/field-capture/useCaptureObservation.d.ts +47 -0
- package/dist/healthybowl/pages/field-capture/useCaptureObservation.js +106 -0
- package/dist/healthybowl/pages/field-capture/v2/CaptureComposer.d.ts +2 -0
- package/dist/healthybowl/pages/field-capture/v2/CaptureComposer.js +271 -0
- package/dist/healthybowl/pages/field-capture/v2/CaptureSide.d.ts +18 -0
- package/dist/healthybowl/pages/field-capture/v2/CaptureSide.js +263 -0
- package/dist/healthybowl/pages/field-capture/v2/FieldCaptureLayout.d.ts +12 -0
- package/dist/healthybowl/pages/field-capture/v2/FieldCaptureLayout.js +83 -0
- package/dist/healthybowl/pages/field-capture/v2/ObservationLogList.d.ts +21 -0
- package/dist/healthybowl/pages/field-capture/v2/ObservationLogList.js +163 -0
- package/dist/healthybowl/pages/field-capture/v2/PendingSyncList.d.ts +25 -0
- package/dist/healthybowl/pages/field-capture/v2/PendingSyncList.js +281 -0
- package/dist/healthybowl/pages/field-capture/v2/kinds.d.ts +13 -0
- package/dist/healthybowl/pages/field-capture/v2/kinds.js +53 -0
- package/dist/healthybowl/pages/fields/FieldMapPage.js +944 -919
- package/dist/healthybowl/pages/fields/v2/FieldMapList.d.ts +18 -0
- package/dist/healthybowl/pages/fields/v2/FieldMapList.js +109 -0
- package/dist/healthybowl/pages/financial/BudgetManagementPage.js +334 -318
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.js +162 -137
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js +259 -226
- package/dist/healthybowl/pages/financial/InvoiceManagementPage.js +416 -401
- package/dist/healthybowl/pages/financial/TransactionsPage.js +626 -562
- package/dist/healthybowl/pages/financial/dashboard/financialDashboardLogic.js +36 -31
- package/dist/healthybowl/pages/financial/v2/BudgetsV2.d.ts +18 -0
- package/dist/healthybowl/pages/financial/v2/BudgetsV2.js +248 -0
- package/dist/healthybowl/pages/financial/v2/DashboardV2.d.ts +19 -0
- package/dist/healthybowl/pages/financial/v2/DashboardV2.js +69 -0
- package/dist/healthybowl/pages/financial/v2/InvoicesV2.d.ts +15 -0
- package/dist/healthybowl/pages/financial/v2/InvoicesV2.js +391 -0
- package/dist/healthybowl/pages/financial/v2/ReportsV2.d.ts +38 -0
- package/dist/healthybowl/pages/financial/v2/ReportsV2.js +90 -0
- package/dist/healthybowl/pages/financial/v2/TransactionsV2.d.ts +30 -0
- package/dist/healthybowl/pages/financial/v2/TransactionsV2.js +292 -0
- package/dist/healthybowl/pages/financial/v2/useBoundList.d.ts +16 -0
- package/dist/healthybowl/pages/financial/v2/useBoundList.js +50 -0
- package/dist/healthybowl/pages/financier/FinancierPage.js +78 -67
- package/dist/healthybowl/pages/financier/v2/FinancierV2.d.ts +25 -0
- package/dist/healthybowl/pages/financier/v2/FinancierV2.js +235 -0
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js +256 -199
- package/dist/healthybowl/pages/government-schemes/v2/SchemesV2.d.ts +22 -0
- package/dist/healthybowl/pages/government-schemes/v2/SchemesV2.js +438 -0
- package/dist/healthybowl/pages/inputs-insurance/InputsInsuranceOverviewPage.js +346 -264
- package/dist/healthybowl/pages/inputs-insurance/v2/InputsInsuranceV2.d.ts +30 -0
- package/dist/healthybowl/pages/inputs-insurance/v2/InputsInsuranceV2.js +770 -0
- package/dist/healthybowl/pages/inputs-insurance/v2/words.d.ts +7 -0
- package/dist/healthybowl/pages/inputs-insurance/v2/words.js +55 -0
- package/dist/healthybowl/pages/irrigation/IrrigationPage.js +486 -467
- package/dist/healthybowl/pages/irrigation/v2/IrrigationV2.d.ts +24 -0
- package/dist/healthybowl/pages/irrigation/v2/IrrigationV2.js +412 -0
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js +218 -164
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.js +338 -309
- package/dist/healthybowl/pages/livestock/FeedManagementPage.js +340 -313
- package/dist/healthybowl/pages/livestock/GrazingPage.js +264 -231
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.js +556 -521
- package/dist/healthybowl/pages/livestock/HerdDepthPage.js +114 -88
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.d.ts +1 -0
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js +145 -144
- package/dist/healthybowl/pages/livestock/MedicationLibraryPage.js +121 -121
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js +355 -326
- package/dist/healthybowl/pages/livestock/WithdrawalAlertsPage.js +130 -121
- package/dist/healthybowl/pages/livestock/WithdrawalCalendarPage.js +43 -43
- package/dist/healthybowl/pages/livestock/v2/BreedingV2.d.ts +28 -0
- package/dist/healthybowl/pages/livestock/v2/BreedingV2.js +264 -0
- package/dist/healthybowl/pages/livestock/v2/FeedV2.d.ts +22 -0
- package/dist/healthybowl/pages/livestock/v2/FeedV2.js +171 -0
- package/dist/healthybowl/pages/livestock/v2/GrazingV2.d.ts +34 -0
- package/dist/healthybowl/pages/livestock/v2/GrazingV2.js +388 -0
- package/dist/healthybowl/pages/livestock/v2/HealthRecordsV2.d.ts +25 -0
- package/dist/healthybowl/pages/livestock/v2/HealthRecordsV2.js +275 -0
- package/dist/healthybowl/pages/livestock/v2/HerdRecordsV2.d.ts +17 -0
- package/dist/healthybowl/pages/livestock/v2/HerdRecordsV2.js +239 -0
- package/dist/healthybowl/pages/livestock/v2/LivestockOverviewV2.d.ts +2 -0
- package/dist/healthybowl/pages/livestock/v2/LivestockOverviewV2.js +488 -0
- package/dist/healthybowl/pages/livestock/v2/ProductionV2.d.ts +26 -0
- package/dist/healthybowl/pages/livestock/v2/ProductionV2.js +207 -0
- package/dist/healthybowl/pages/livestock/v2/RecordList.d.ts +50 -0
- package/dist/healthybowl/pages/livestock/v2/RecordList.js +87 -0
- package/dist/healthybowl/pages/livestock/v2/SectionBlock.d.ts +13 -0
- package/dist/healthybowl/pages/livestock/v2/SectionBlock.js +25 -0
- package/dist/healthybowl/pages/livestock/v2/WithdrawalV2.d.ts +31 -0
- package/dist/healthybowl/pages/livestock/v2/WithdrawalV2.js +212 -0
- package/dist/healthybowl/pages/livestock/v2/overviewModel.d.ts +28 -0
- package/dist/healthybowl/pages/livestock/v2/overviewModel.js +31 -0
- package/dist/healthybowl/pages/livestock/withdrawal/WithdrawalNav.js +27 -16
- package/dist/healthybowl/pages/market/MarketPricesPage.js +396 -346
- package/dist/healthybowl/pages/market/v2/MarketPricesV2.d.ts +34 -0
- package/dist/healthybowl/pages/market/v2/MarketPricesV2.js +690 -0
- package/dist/healthybowl/pages/nursery/NurseryProvenancePage.js +430 -415
- package/dist/healthybowl/pages/nursery/v2/NurseryV2.d.ts +29 -0
- package/dist/healthybowl/pages/nursery/v2/NurseryV2.js +439 -0
- package/dist/healthybowl/pages/pageShell.testkit.d.ts +19 -0
- package/dist/healthybowl/pages/production/ProductionBatchesPage.d.ts +4 -0
- package/dist/healthybowl/pages/production/ProductionBatchesPage.js +62 -58
- package/dist/healthybowl/pages/production/ProductionPlanningPage.js +120 -106
- package/dist/healthybowl/pages/production/ProductionSchedulePage.js +121 -106
- package/dist/healthybowl/pages/production/RecipeManagementPage.js +234 -225
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.d.ts +1 -0
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.js +90 -53
- package/dist/healthybowl/pages/production/scheduleRange.d.ts +6 -0
- package/dist/healthybowl/pages/production/scheduleRange.js +14 -1
- package/dist/healthybowl/pages/production/v2/BatchesV2.d.ts +2 -0
- package/dist/healthybowl/pages/production/v2/BatchesV2.js +472 -0
- package/dist/healthybowl/pages/production/v2/ProductionV2.d.ts +23 -0
- package/dist/healthybowl/pages/production/v2/ProductionV2.js +296 -0
- package/dist/healthybowl/pages/production/v2/RecipesV2.d.ts +11 -0
- package/dist/healthybowl/pages/production/v2/RecipesV2.js +137 -0
- package/dist/healthybowl/pages/production/v2/ValueAddedV2.d.ts +10 -0
- package/dist/healthybowl/pages/production/v2/ValueAddedV2.js +201 -0
- package/dist/healthybowl/pages/production/v2/batchStatus.d.ts +9 -0
- package/dist/healthybowl/pages/production/v2/batchStatus.js +32 -0
- package/dist/healthybowl/pages/products/InventoryPage.js +277 -248
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js +515 -501
- package/dist/healthybowl/pages/products/QualityPage.js +103 -92
- package/dist/healthybowl/pages/products/v2/InventoryV2.d.ts +17 -0
- package/dist/healthybowl/pages/products/v2/InventoryV2.js +241 -0
- package/dist/healthybowl/pages/products/v2/ProductsV2.d.ts +18 -0
- package/dist/healthybowl/pages/products/v2/ProductsV2.js +261 -0
- package/dist/healthybowl/pages/products/v2/QualityV2.d.ts +14 -0
- package/dist/healthybowl/pages/products/v2/QualityV2.js +203 -0
- package/dist/healthybowl/pages/satellite/SatelliteCropHealthPage.js +209 -200
- package/dist/healthybowl/pages/satellite/v2/SatelliteFieldsV2.d.ts +19 -0
- package/dist/healthybowl/pages/satellite/v2/SatelliteFieldsV2.js +256 -0
- package/dist/healthybowl/pages/soil/FieldSensorsPage.js +236 -330
- package/dist/healthybowl/pages/soil/SoilDashboardPage.d.ts +5 -0
- package/dist/healthybowl/pages/soil/SoilDashboardPage.js +125 -78
- package/dist/healthybowl/pages/soil/field-sensors/SensorCharts.d.ts +7 -0
- package/dist/healthybowl/pages/soil/field-sensors/SensorCharts.js +150 -0
- package/dist/healthybowl/pages/soil/v2/FieldSensorsV2.d.ts +17 -0
- package/dist/healthybowl/pages/soil/v2/FieldSensorsV2.js +337 -0
- package/dist/healthybowl/pages/soil/v2/SoilHealthV2.d.ts +14 -0
- package/dist/healthybowl/pages/soil/v2/SoilHealthV2.js +237 -0
- package/dist/healthybowl/pages/storage/StoragePage.d.ts +1 -0
- package/dist/healthybowl/pages/storage/StoragePage.js +116 -115
- package/dist/healthybowl/pages/storage/v2/StorageV2.d.ts +6 -0
- package/dist/healthybowl/pages/storage/v2/StorageV2.js +476 -0
- package/dist/healthybowl/pages/wallet/CreditsWalletPage.js +190 -160
- package/dist/healthybowl/pages/wallet/v2/WalletV2.d.ts +26 -0
- package/dist/healthybowl/pages/wallet/v2/WalletV2.js +258 -0
- package/dist/healthybowl/pages/weather/FrostRiskCalendarPage.js +54 -54
- package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js +145 -129
- package/dist/healthybowl/pages/weather/WeatherAlertRulesPage.js +359 -346
- package/dist/healthybowl/pages/weather/WeatherAlertsPage.js +133 -114
- package/dist/healthybowl/pages/weather/WeatherForecastPage.js +168 -154
- package/dist/healthybowl/pages/weather/WeatherHistoryPage.js +478 -429
- package/dist/healthybowl/pages/weather/WeatherOverviewPage.js +254 -186
- package/dist/healthybowl/pages/weather/overview/FarmAdvice.d.ts +3 -0
- package/dist/healthybowl/pages/weather/overview/FarmAdvice.js +1 -1
- package/dist/healthybowl/pages/weather/overview/NowAndWeek.d.ts +6 -1
- package/dist/healthybowl/pages/weather/overview/NowAndWeek.js +82 -69
- package/dist/healthybowl/pages/weather/v2/AlertsV2.d.ts +30 -0
- package/dist/healthybowl/pages/weather/v2/AlertsV2.js +282 -0
- package/dist/healthybowl/pages/weather/v2/ForecastV2.d.ts +18 -0
- package/dist/healthybowl/pages/weather/v2/ForecastV2.js +174 -0
- package/dist/healthybowl/pages/weather/v2/HistoryV2.d.ts +15 -0
- package/dist/healthybowl/pages/weather/v2/HistoryV2.js +214 -0
- package/dist/healthybowl/pages/weather/v2/RulesV2.d.ts +16 -0
- package/dist/healthybowl/pages/weather/v2/RulesV2.js +227 -0
- package/dist/healthybowl/pages/weather/v2/Section.d.ts +13 -0
- package/dist/healthybowl/pages/weather/v2/Section.js +28 -0
- package/dist/healthybowl/pages/weather/v2/WeatherOverviewV2.d.ts +84 -0
- package/dist/healthybowl/pages/weather/v2/WeatherOverviewV2.js +351 -0
- package/dist/healthybowl/pages/weather/v2/severityWord.d.ts +4 -0
- package/dist/healthybowl/pages/weather/v2/severityWord.js +14 -0
- package/dist/healthybowl/types/index.d.ts +7 -0
- package/dist/healthybowl/utils/calendarDay.d.ts +14 -0
- package/dist/healthybowl/utils/calendarDay.js +24 -0
- package/dist/healthybowl/utils/chipOfVariant.d.ts +3 -0
- package/dist/healthybowl/utils/chipOfVariant.js +11 -0
- package/dist/healthybowl/utils/fieldArea.d.ts +6 -0
- package/dist/healthybowl/utils/fieldArea.js +3 -0
- package/dist/healthybowl/utils/v2Words.d.ts +12 -0
- package/dist/healthybowl/utils/v2Words.js +88 -0
- package/package.json +1 -1
|
@@ -5,12 +5,13 @@ import { ErrorBoundary as i } from "./components/ErrorBoundary.js";
|
|
|
5
5
|
import { ConfirmProvider as a } from "./components/ConfirmDialog.js";
|
|
6
6
|
import { OfflineSyncProvider as o } from "./offline/OfflineSyncProvider.js";
|
|
7
7
|
import { HeaderOfflinePill as s } from "./offline/HeaderOfflinePill.js";
|
|
8
|
-
import { normalizeBasePath as
|
|
9
|
-
import { useCallback as
|
|
10
|
-
import { useI18n as
|
|
11
|
-
import { Award as
|
|
12
|
-
import { jsx as
|
|
13
|
-
import { FeatureFlagProvider as
|
|
8
|
+
import { normalizeBasePath as te, setHbFormatLocale as ne } from "./utils/helpers.js";
|
|
9
|
+
import { useCallback as re, useEffect as c } from "react";
|
|
10
|
+
import { useI18n as ie } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
11
|
+
import { Award as ae, Banknote as oe, BarChart3 as se, Bug as ce, Cloud as le, CloudUpload as l, DollarSign as u, Factory as d, Fence as f, FlaskConical as p, Globe as m, HardHat as h, Home as g, Landmark as _, Leaf as v, LineChart as y, ListChecks as b, Map as x, Package as S, PawPrint as C, Radio as w, RefreshCw as T, ScanLine as E, ScanSearch as D, ShieldAlert as O, ShieldCheck as k, ShoppingCart as A, Sprout as j, Stethoscope as M, Tractor as ue, UserCheck as N, Users as P, Users2 as F, Wheat as I } from "lucide-react";
|
|
12
|
+
import { jsx as L, jsxs as R } from "react/jsx-runtime";
|
|
13
|
+
import { FeatureFlagProvider as z, useFeatureFlags as B } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
14
|
+
import { WorkspacePagesV2Provider as V } from "@burdenoff/fe-libs/ui";
|
|
14
15
|
// src/healthybowl/HealthyBowlRoot.tsx
|
|
15
16
|
var H = /* @__PURE__ */ new Set([]), U = [
|
|
16
17
|
".lucide-arrow-right",
|
|
@@ -32,27 +33,27 @@ function G(e, t) {
|
|
|
32
33
|
return t ? e : e.filter((e) => !W.has(e.id));
|
|
33
34
|
}
|
|
34
35
|
var K = (n) => {
|
|
35
|
-
let { registerNavItems:
|
|
36
|
-
|
|
36
|
+
let { registerNavItems: z, registerFooterItems: W, basePath: K = "/" } = n, { error: q, getEvaluation: de, isLoading: fe } = B(), J = ee(de(t), fe || q !== null), { t: Y, locale: X } = ie();
|
|
37
|
+
ne(X);
|
|
37
38
|
let Z = H.has(X) ? "rtl" : "ltr";
|
|
38
|
-
|
|
39
|
+
c(() => {
|
|
39
40
|
let e = document.documentElement, t = e.getAttribute("dir");
|
|
40
41
|
return e.setAttribute("dir", Z), () => {
|
|
41
42
|
t === null ? e.removeAttribute("dir") : e.setAttribute("dir", t);
|
|
42
43
|
};
|
|
43
44
|
}, [Z]);
|
|
44
|
-
let Q =
|
|
45
|
+
let Q = re((e, t) => {
|
|
45
46
|
let n = Y(e);
|
|
46
47
|
return n === e ? t : n;
|
|
47
48
|
}, [Y]), $ = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
48
|
-
return
|
|
49
|
-
if (!
|
|
49
|
+
return c(() => {
|
|
50
|
+
if (!z) return;
|
|
50
51
|
let e = G([
|
|
51
52
|
{
|
|
52
53
|
id: "healthybowl-dashboard",
|
|
53
54
|
label: Q("healthybowl.nav.dashboard", "Dashboard"),
|
|
54
|
-
path:
|
|
55
|
-
icon: /* @__PURE__ */
|
|
55
|
+
path: te(K),
|
|
56
|
+
icon: /* @__PURE__ */ L(g, { size: 20 }),
|
|
56
57
|
order: 1,
|
|
57
58
|
group: "main"
|
|
58
59
|
},
|
|
@@ -60,7 +61,7 @@ var K = (n) => {
|
|
|
60
61
|
id: "healthybowl-farm",
|
|
61
62
|
label: Q("healthybowl.nav.farm", "My Farm"),
|
|
62
63
|
path: $(K, "farm"),
|
|
63
|
-
icon: /* @__PURE__ */
|
|
64
|
+
icon: /* @__PURE__ */ L(ue, { size: 20 }),
|
|
64
65
|
order: 2,
|
|
65
66
|
group: "main"
|
|
66
67
|
},
|
|
@@ -68,7 +69,7 @@ var K = (n) => {
|
|
|
68
69
|
id: "healthybowl-tasks",
|
|
69
70
|
label: Q("healthybowl.nav.tasks", "Tasks"),
|
|
70
71
|
path: $(K, "tasks"),
|
|
71
|
-
icon: /* @__PURE__ */
|
|
72
|
+
icon: /* @__PURE__ */ L(b, { size: 20 }),
|
|
72
73
|
order: 3,
|
|
73
74
|
group: "main"
|
|
74
75
|
},
|
|
@@ -76,7 +77,7 @@ var K = (n) => {
|
|
|
76
77
|
id: "healthybowl-crops",
|
|
77
78
|
label: Q("healthybowl.nav.crops", "Crops"),
|
|
78
79
|
path: $(K, "crops"),
|
|
79
|
-
icon: /* @__PURE__ */
|
|
80
|
+
icon: /* @__PURE__ */ L(I, { size: 20 }),
|
|
80
81
|
order: 10,
|
|
81
82
|
group: "farming"
|
|
82
83
|
},
|
|
@@ -84,7 +85,7 @@ var K = (n) => {
|
|
|
84
85
|
id: "healthybowl-livestock",
|
|
85
86
|
label: Q("healthybowl.nav.livestock", "Livestock"),
|
|
86
87
|
path: $(K, "livestock"),
|
|
87
|
-
icon: /* @__PURE__ */
|
|
88
|
+
icon: /* @__PURE__ */ L(C, { size: 20 }),
|
|
88
89
|
order: 11,
|
|
89
90
|
group: "farming"
|
|
90
91
|
},
|
|
@@ -92,7 +93,7 @@ var K = (n) => {
|
|
|
92
93
|
id: "healthybowl-livestock-analytics",
|
|
93
94
|
label: Q("healthybowl.nav.livestockAnalytics", "Livestock Analytics"),
|
|
94
95
|
path: $(K, "livestock/analytics"),
|
|
95
|
-
icon: /* @__PURE__ */
|
|
96
|
+
icon: /* @__PURE__ */ L(y, { size: 20 }),
|
|
96
97
|
order: 11.3,
|
|
97
98
|
group: "farming"
|
|
98
99
|
},
|
|
@@ -100,7 +101,7 @@ var K = (n) => {
|
|
|
100
101
|
id: "healthybowl-grazing",
|
|
101
102
|
label: Q("healthybowl.nav.grazing", "Grazing"),
|
|
102
103
|
path: $(K, "livestock/grazing"),
|
|
103
|
-
icon: /* @__PURE__ */
|
|
104
|
+
icon: /* @__PURE__ */ L(f, { size: 20 }),
|
|
104
105
|
order: 11.4,
|
|
105
106
|
group: "farming"
|
|
106
107
|
},
|
|
@@ -108,7 +109,7 @@ var K = (n) => {
|
|
|
108
109
|
id: "healthybowl-withdrawal-alerts",
|
|
109
110
|
label: Q("healthybowl.nav.withdrawalAlerts", "Withdrawal Alerts"),
|
|
110
111
|
path: $(K, "livestock/withdrawal-alerts"),
|
|
111
|
-
icon: /* @__PURE__ */
|
|
112
|
+
icon: /* @__PURE__ */ L(O, { size: 20 }),
|
|
112
113
|
order: 11.5,
|
|
113
114
|
group: "farming"
|
|
114
115
|
},
|
|
@@ -116,7 +117,7 @@ var K = (n) => {
|
|
|
116
117
|
id: "healthybowl-weather",
|
|
117
118
|
label: Q("healthybowl.nav.weather", "Weather"),
|
|
118
119
|
path: $(K, "weather"),
|
|
119
|
-
icon: /* @__PURE__ */
|
|
120
|
+
icon: /* @__PURE__ */ L(le, { size: 20 }),
|
|
120
121
|
order: 12,
|
|
121
122
|
group: "farming"
|
|
122
123
|
},
|
|
@@ -124,7 +125,7 @@ var K = (n) => {
|
|
|
124
125
|
id: "healthybowl-field-map",
|
|
125
126
|
label: Q("healthybowl.nav.fieldMap", "Field Map"),
|
|
126
127
|
path: $(K, "field-map"),
|
|
127
|
-
icon: /* @__PURE__ */
|
|
128
|
+
icon: /* @__PURE__ */ L(x, { size: 20 }),
|
|
128
129
|
order: 12.5,
|
|
129
130
|
group: "farming"
|
|
130
131
|
},
|
|
@@ -132,7 +133,7 @@ var K = (n) => {
|
|
|
132
133
|
id: "healthybowl-field-capture",
|
|
133
134
|
label: Q("healthybowl.nav.fieldCapture", "Field Capture"),
|
|
134
135
|
path: $(K, "field-capture"),
|
|
135
|
-
icon: /* @__PURE__ */
|
|
136
|
+
icon: /* @__PURE__ */ L(l, { size: 20 }),
|
|
136
137
|
order: 12.6,
|
|
137
138
|
group: "farming"
|
|
138
139
|
},
|
|
@@ -140,7 +141,7 @@ var K = (n) => {
|
|
|
140
141
|
id: "healthybowl-pending-sync",
|
|
141
142
|
label: Q("healthybowl.nav.pendingSync", "Pending Sync"),
|
|
142
143
|
path: $(K, "field-capture/pending"),
|
|
143
|
-
icon: /* @__PURE__ */
|
|
144
|
+
icon: /* @__PURE__ */ L(T, { size: 20 }),
|
|
144
145
|
order: 12.7,
|
|
145
146
|
group: "farming"
|
|
146
147
|
},
|
|
@@ -148,7 +149,7 @@ var K = (n) => {
|
|
|
148
149
|
id: "healthybowl-field-sensors",
|
|
149
150
|
label: Q("healthybowl.nav.fieldSensors", "Field Sensors"),
|
|
150
151
|
path: $(K, "field-sensors"),
|
|
151
|
-
icon: /* @__PURE__ */
|
|
152
|
+
icon: /* @__PURE__ */ L(w, { size: 20 }),
|
|
152
153
|
order: 12.75,
|
|
153
154
|
group: "farming"
|
|
154
155
|
},
|
|
@@ -156,7 +157,7 @@ var K = (n) => {
|
|
|
156
157
|
id: "healthybowl-soil",
|
|
157
158
|
label: Q("healthybowl.nav.soilHealth", "Soil Health"),
|
|
158
159
|
path: $(K, "soil"),
|
|
159
|
-
icon: /* @__PURE__ */
|
|
160
|
+
icon: /* @__PURE__ */ L(p, { size: 20 }),
|
|
160
161
|
order: 13,
|
|
161
162
|
group: "farming"
|
|
162
163
|
},
|
|
@@ -164,7 +165,7 @@ var K = (n) => {
|
|
|
164
165
|
id: "healthybowl-pest",
|
|
165
166
|
label: Q("healthybowl.nav.pestManagement", "Pest Management"),
|
|
166
167
|
path: $(K, "pest-management"),
|
|
167
|
-
icon: /* @__PURE__ */
|
|
168
|
+
icon: /* @__PURE__ */ L(ce, { size: 20 }),
|
|
168
169
|
order: 14,
|
|
169
170
|
group: "farming"
|
|
170
171
|
},
|
|
@@ -172,7 +173,7 @@ var K = (n) => {
|
|
|
172
173
|
id: "healthybowl-pest-ai",
|
|
173
174
|
label: Q("healthybowl.nav.aiPestDetection", "AI Pest Detection"),
|
|
174
175
|
path: $(K, "pest-management/ai-detection"),
|
|
175
|
-
icon: /* @__PURE__ */
|
|
176
|
+
icon: /* @__PURE__ */ L(D, { size: 20 }),
|
|
176
177
|
order: 14.5,
|
|
177
178
|
group: "farming"
|
|
178
179
|
},
|
|
@@ -180,7 +181,7 @@ var K = (n) => {
|
|
|
180
181
|
id: "healthybowl-production",
|
|
181
182
|
label: Q("healthybowl.nav.production", "Production"),
|
|
182
183
|
path: $(K, "production"),
|
|
183
|
-
icon: /* @__PURE__ */
|
|
184
|
+
icon: /* @__PURE__ */ L(d, { size: 20 }),
|
|
184
185
|
order: 20,
|
|
185
186
|
group: "business"
|
|
186
187
|
},
|
|
@@ -188,7 +189,7 @@ var K = (n) => {
|
|
|
188
189
|
id: "healthybowl-products",
|
|
189
190
|
label: Q("healthybowl.nav.products", "Products"),
|
|
190
191
|
path: $(K, "products"),
|
|
191
|
-
icon: /* @__PURE__ */
|
|
192
|
+
icon: /* @__PURE__ */ L(S, { size: 20 }),
|
|
192
193
|
order: 21,
|
|
193
194
|
group: "business"
|
|
194
195
|
},
|
|
@@ -196,7 +197,7 @@ var K = (n) => {
|
|
|
196
197
|
id: "healthybowl-marketplace",
|
|
197
198
|
label: Q("healthybowl.nav.marketplace", "Marketplace"),
|
|
198
199
|
path: $(K, "marketplace"),
|
|
199
|
-
icon: /* @__PURE__ */
|
|
200
|
+
icon: /* @__PURE__ */ L(A, { size: 20 }),
|
|
200
201
|
order: 22,
|
|
201
202
|
group: "business"
|
|
202
203
|
},
|
|
@@ -204,7 +205,7 @@ var K = (n) => {
|
|
|
204
205
|
id: "healthybowl-labour",
|
|
205
206
|
label: Q("healthybowl.nav.labour", "Labour"),
|
|
206
207
|
path: $(K, "labour"),
|
|
207
|
-
icon: /* @__PURE__ */
|
|
208
|
+
icon: /* @__PURE__ */ L(h, { size: 20 }),
|
|
208
209
|
order: 22.5,
|
|
209
210
|
group: "business"
|
|
210
211
|
},
|
|
@@ -212,7 +213,7 @@ var K = (n) => {
|
|
|
212
213
|
id: "healthybowl-coop",
|
|
213
214
|
label: Q("healthybowl.nav.coop", "Co-operative"),
|
|
214
215
|
path: $(K, "coop"),
|
|
215
|
-
icon: /* @__PURE__ */
|
|
216
|
+
icon: /* @__PURE__ */ L(F, { size: 20 }),
|
|
216
217
|
order: 22.5,
|
|
217
218
|
group: "business"
|
|
218
219
|
},
|
|
@@ -220,7 +221,7 @@ var K = (n) => {
|
|
|
220
221
|
id: "healthybowl-financial",
|
|
221
222
|
label: Q("healthybowl.nav.financial", "Financial"),
|
|
222
223
|
path: $(K, "financial"),
|
|
223
|
-
icon: /* @__PURE__ */
|
|
224
|
+
icon: /* @__PURE__ */ L(u, { size: 20 }),
|
|
224
225
|
order: 23,
|
|
225
226
|
group: "business"
|
|
226
227
|
},
|
|
@@ -228,7 +229,7 @@ var K = (n) => {
|
|
|
228
229
|
id: "healthybowl-financier",
|
|
229
230
|
label: Q("healthybowl.nav.financier", "Financier"),
|
|
230
231
|
path: $(K, "financier"),
|
|
231
|
-
icon: /* @__PURE__ */
|
|
232
|
+
icon: /* @__PURE__ */ L(oe, { size: 20 }),
|
|
232
233
|
order: 24,
|
|
233
234
|
group: "business"
|
|
234
235
|
},
|
|
@@ -236,7 +237,7 @@ var K = (n) => {
|
|
|
236
237
|
id: "healthybowl-compliance",
|
|
237
238
|
label: Q("healthybowl.nav.compliance", "Compliance"),
|
|
238
239
|
path: $(K, "compliance"),
|
|
239
|
-
icon: /* @__PURE__ */
|
|
240
|
+
icon: /* @__PURE__ */ L(k, { size: 20 }),
|
|
240
241
|
order: 30,
|
|
241
242
|
group: "compliance"
|
|
242
243
|
},
|
|
@@ -244,7 +245,7 @@ var K = (n) => {
|
|
|
244
245
|
id: "healthybowl-traceability",
|
|
245
246
|
label: Q("healthybowl.nav.traceability", "Traceability"),
|
|
246
247
|
path: $(K, "traceability"),
|
|
247
|
-
icon: /* @__PURE__ */
|
|
248
|
+
icon: /* @__PURE__ */ L(E, { size: 20 }),
|
|
248
249
|
order: 31,
|
|
249
250
|
group: "compliance"
|
|
250
251
|
},
|
|
@@ -252,7 +253,7 @@ var K = (n) => {
|
|
|
252
253
|
id: "healthybowl-sustainability",
|
|
253
254
|
label: Q("healthybowl.nav.sustainability", "Sustainability"),
|
|
254
255
|
path: $(K, "sustainability"),
|
|
255
|
-
icon: /* @__PURE__ */
|
|
256
|
+
icon: /* @__PURE__ */ L(v, { size: 20 }),
|
|
256
257
|
order: 32,
|
|
257
258
|
group: "compliance"
|
|
258
259
|
},
|
|
@@ -260,7 +261,7 @@ var K = (n) => {
|
|
|
260
261
|
id: "healthybowl-sustainability-carbon",
|
|
261
262
|
label: Q("healthybowl.nav.sustainabilityCarbon", "Carbon & GHG"),
|
|
262
263
|
path: $(K, "sustainability/carbon"),
|
|
263
|
-
icon: /* @__PURE__ */
|
|
264
|
+
icon: /* @__PURE__ */ L(d, { size: 20 }),
|
|
264
265
|
order: 32.1,
|
|
265
266
|
group: "compliance"
|
|
266
267
|
},
|
|
@@ -268,7 +269,7 @@ var K = (n) => {
|
|
|
268
269
|
id: "healthybowl-sustainability-soil",
|
|
269
270
|
label: Q("healthybowl.nav.sustainabilitySoil", "Soil Carbon"),
|
|
270
271
|
path: $(K, "sustainability/soil-carbon"),
|
|
271
|
-
icon: /* @__PURE__ */
|
|
272
|
+
icon: /* @__PURE__ */ L(j, { size: 20 }),
|
|
272
273
|
order: 32.2,
|
|
273
274
|
group: "compliance"
|
|
274
275
|
},
|
|
@@ -276,7 +277,7 @@ var K = (n) => {
|
|
|
276
277
|
id: "healthybowl-sustainability-credits",
|
|
277
278
|
label: Q("healthybowl.nav.sustainabilityCredits", "Carbon Credits"),
|
|
278
279
|
path: $(K, "sustainability/credits"),
|
|
279
|
-
icon: /* @__PURE__ */
|
|
280
|
+
icon: /* @__PURE__ */ L(ae, { size: 20 }),
|
|
280
281
|
order: 32.3,
|
|
281
282
|
group: "compliance"
|
|
282
283
|
},
|
|
@@ -284,7 +285,7 @@ var K = (n) => {
|
|
|
284
285
|
id: "healthybowl-sustainability-eudr",
|
|
285
286
|
label: Q("healthybowl.nav.sustainabilityEudr", "EUDR Due-Diligence"),
|
|
286
287
|
path: $(K, "sustainability/eudr"),
|
|
287
|
-
icon: /* @__PURE__ */
|
|
288
|
+
icon: /* @__PURE__ */ L(m, { size: 20 }),
|
|
288
289
|
order: 32.4,
|
|
289
290
|
group: "compliance"
|
|
290
291
|
},
|
|
@@ -292,7 +293,7 @@ var K = (n) => {
|
|
|
292
293
|
id: "healthybowl-schemes",
|
|
293
294
|
label: Q("healthybowl.nav.governmentSchemes", "Gov. Schemes"),
|
|
294
295
|
path: $(K, "government-schemes"),
|
|
295
|
-
icon: /* @__PURE__ */
|
|
296
|
+
icon: /* @__PURE__ */ L(_, { size: 20 }),
|
|
296
297
|
order: 40,
|
|
297
298
|
group: "support"
|
|
298
299
|
},
|
|
@@ -300,7 +301,7 @@ var K = (n) => {
|
|
|
300
301
|
id: "healthybowl-network",
|
|
301
302
|
label: Q("healthybowl.nav.network", "Network"),
|
|
302
303
|
path: $(K, "network"),
|
|
303
|
-
icon: /* @__PURE__ */
|
|
304
|
+
icon: /* @__PURE__ */ L(P, { size: 20 }),
|
|
304
305
|
order: 41,
|
|
305
306
|
group: "support"
|
|
306
307
|
},
|
|
@@ -308,7 +309,7 @@ var K = (n) => {
|
|
|
308
309
|
id: "healthybowl-analytics",
|
|
309
310
|
label: Q("healthybowl.nav.analytics", "Analytics"),
|
|
310
311
|
path: $(K, "analytics"),
|
|
311
|
-
icon: /* @__PURE__ */
|
|
312
|
+
icon: /* @__PURE__ */ L(se, { size: 20 }),
|
|
312
313
|
order: 42,
|
|
313
314
|
group: "support"
|
|
314
315
|
},
|
|
@@ -316,7 +317,7 @@ var K = (n) => {
|
|
|
316
317
|
id: "healthybowl-advisors",
|
|
317
318
|
label: Q("healthybowl.nav.advisors", "My Advisors"),
|
|
318
319
|
path: $(K, "advisors"),
|
|
319
|
-
icon: /* @__PURE__ */
|
|
320
|
+
icon: /* @__PURE__ */ L(N, { size: 20 }),
|
|
320
321
|
order: 43,
|
|
321
322
|
group: "support"
|
|
322
323
|
},
|
|
@@ -324,18 +325,18 @@ var K = (n) => {
|
|
|
324
325
|
id: "healthybowl-consultant",
|
|
325
326
|
label: Q("healthybowl.nav.consultant", "Consultant"),
|
|
326
327
|
path: $(K, "consultant"),
|
|
327
|
-
icon: /* @__PURE__ */
|
|
328
|
+
icon: /* @__PURE__ */ L(M, { size: 20 }),
|
|
328
329
|
order: 44,
|
|
329
330
|
group: "support"
|
|
330
331
|
}
|
|
331
332
|
], J);
|
|
332
|
-
return
|
|
333
|
+
return z(e);
|
|
333
334
|
}, [
|
|
334
|
-
|
|
335
|
+
z,
|
|
335
336
|
K,
|
|
336
337
|
J,
|
|
337
338
|
Q
|
|
338
|
-
]),
|
|
339
|
+
]), c(() => {
|
|
339
340
|
if (!W) return;
|
|
340
341
|
let e = [{
|
|
341
342
|
id: "healthybowl-status",
|
|
@@ -345,15 +346,18 @@ var K = (n) => {
|
|
|
345
346
|
section: "left"
|
|
346
347
|
}];
|
|
347
348
|
return W(e);
|
|
348
|
-
}, [W, Q]), /* @__PURE__ */
|
|
349
|
+
}, [W, Q]), /* @__PURE__ */ R(e, {
|
|
349
350
|
...n,
|
|
350
|
-
children: [/* @__PURE__ */
|
|
351
|
+
children: [/* @__PURE__ */ L("style", { children: U }), /* @__PURE__ */ L(i, { children: /* @__PURE__ */ L(a, { children: /* @__PURE__ */ R(o, { children: [/* @__PURE__ */ L(s, {}), /* @__PURE__ */ L(V, {
|
|
352
|
+
enabled: n.pagesV2 === !0,
|
|
353
|
+
children: /* @__PURE__ */ L(r, {})
|
|
354
|
+
})] }) }) })]
|
|
351
355
|
});
|
|
352
|
-
}, q = (e) => /* @__PURE__ */
|
|
356
|
+
}, q = (e) => /* @__PURE__ */ L(z, {
|
|
353
357
|
workspaceId: e.workspaceId ?? null,
|
|
354
358
|
gateway: "global",
|
|
355
359
|
flagKeys: n,
|
|
356
360
|
defaultEnabled: !0,
|
|
357
|
-
children: /* @__PURE__ */
|
|
361
|
+
children: /* @__PURE__ */ L(K, { ...e })
|
|
358
362
|
}, e.workspaceId ?? "no-workspace");
|
|
359
363
|
export { q as HealthyBowlRoot, G as filterHealthyBowlNavItemsForCarbon };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* BOFF-16671 (D12): under the page kit opt-in Product Batches and Production Batches are one page
|
|
4
|
+
* under Production, and the old address opens it. Without the opt-in, today's page.
|
|
5
|
+
*/
|
|
6
|
+
export declare function ProductBatchesRoute(): import('react').JSX.Element;
|
|
2
7
|
/**
|
|
3
8
|
* Keeps every sustainability URL behind the same default-allow kill switch.
|
|
4
9
|
* Missing evaluations and provider failures render the route; only an explicit
|