@burdenoff/microfe-healthybowl 2026.1201.6 → 2026.1202.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/components/CreateFarmTaskButton.js +49 -49
- package/dist/healthybowl/components/DeliveryRouteMap.js +40 -42
- package/dist/healthybowl/components/FieldMap.js +277 -279
- package/dist/healthybowl/components/PlanExecutionPanel.js +0 -1
- package/dist/healthybowl/components/WeatherMap.js +116 -117
- package/dist/healthybowl/hooks/pageOperation.d.ts +26 -0
- package/dist/healthybowl/hooks/pageOperation.js +71 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.d.ts +11 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.js +1143 -1053
- package/dist/healthybowl/pages/GettingStartedPage.js +3 -4
- package/dist/healthybowl/pages/HomePage.js +11 -12
- package/dist/healthybowl/pages/agri-inputs/AgriInputsStorePage.js +156 -157
- package/dist/healthybowl/pages/ai/AiDecisionsPage.js +36 -37
- package/dist/healthybowl/pages/ai/AiHubPage.js +52 -53
- package/dist/healthybowl/pages/ai/FarmAttentionPage.js +47 -48
- package/dist/healthybowl/pages/analytics/AnalyticsDashboardPage.js +56 -66
- package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.js +11 -12
- package/dist/healthybowl/pages/analytics/ExportPage.js +7 -8
- package/dist/healthybowl/pages/analytics/InsightsPage.js +8 -9
- package/dist/healthybowl/pages/analytics/ReportsPage.js +35 -36
- package/dist/healthybowl/pages/catalog/PlantCatalogPage.js +10 -11
- package/dist/healthybowl/pages/catalog/PlantEntryDialog.js +0 -1
- package/dist/healthybowl/pages/compliance/CertificatesOfOriginPage.js +13 -14
- package/dist/healthybowl/pages/compliance/CertificationStandardDetailPage.js +293 -294
- package/dist/healthybowl/pages/compliance/ComplianceAlertsPage.js +10 -11
- package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.js +41 -42
- package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.js +8 -9
- package/dist/healthybowl/pages/compliance/ComplianceOverviewPage.js +14 -15
- package/dist/healthybowl/pages/compliance/IcsGroupDetailPage.js +28 -29
- package/dist/healthybowl/pages/compliance/IcsGroupsPage.js +155 -156
- package/dist/healthybowl/pages/compliance/IcsGrowerDetailPage.js +15 -16
- package/dist/healthybowl/pages/compliance/IcsGrowerWizardPage.js +6 -7
- package/dist/healthybowl/pages/compliance/InspectionCalendarPage.js +76 -87
- package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js +9 -10
- package/dist/healthybowl/pages/compliance/ResidueTestsPage.js +12 -13
- package/dist/healthybowl/pages/compliance/SubstanceRulesPage.js +12 -13
- package/dist/healthybowl/pages/consultant/ConsultantClientsPage.js +17 -18
- package/dist/healthybowl/pages/consultant/ConsultantDiagnosisPage.js +10 -11
- package/dist/healthybowl/pages/consultant/FarmerAdvisorsPage.js +76 -77
- package/dist/healthybowl/pages/contacts/ContactDetailPage.js +29 -30
- package/dist/healthybowl/pages/contacts/ContactFormModal.js +0 -1
- package/dist/healthybowl/pages/contacts/ContactsPage.js +130 -131
- package/dist/healthybowl/pages/contacts/CsvImportModal.js +0 -1
- package/dist/healthybowl/pages/contacts/RecordOrderModal.js +0 -1
- package/dist/healthybowl/pages/contacts/RecordPurchaseModal.js +0 -1
- package/dist/healthybowl/pages/contracts/ContractsPage.js +186 -187
- package/dist/healthybowl/pages/contracts/contract-forms/CreateContractModal.js +4 -5
- package/dist/healthybowl/pages/contracts/contract-forms/DeliveryActionModal.js +0 -1
- package/dist/healthybowl/pages/contracts/contract-forms/InviteFarmModal.js +0 -1
- package/dist/healthybowl/pages/contracts/contract-forms/RecordDeliveryModal.js +0 -1
- package/dist/healthybowl/pages/coop/AggregationLotBuilderPage.js +20 -21
- package/dist/healthybowl/pages/coop/CoopMemberDetailPage.js +19 -20
- package/dist/healthybowl/pages/coop/CoopOverviewPage.js +24 -25
- package/dist/healthybowl/pages/coop/coop-forms/CreateLotModal.js +0 -1
- package/dist/healthybowl/pages/coop/coop-forms/InviteMemberModal.js +0 -1
- package/dist/healthybowl/pages/coop/coop-forms/MarkSoldModal.js +0 -1
- package/dist/healthybowl/pages/coop/coop-forms/SettleLotModal.js +0 -1
- package/dist/healthybowl/pages/crops/CropDetailsPage.js +77 -78
- package/dist/healthybowl/pages/crops/CropFieldsPage.js +299 -300
- package/dist/healthybowl/pages/crops/CropHarvestPage.js +38 -39
- package/dist/healthybowl/pages/crops/CropPlanningPage.js +265 -266
- package/dist/healthybowl/pages/crops/CropsPage.js +14 -15
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js +888 -889
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +479 -480
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.js +435 -436
- package/dist/healthybowl/pages/crops/PlantingCalendarPage.js +4 -5
- package/dist/healthybowl/pages/crops/PlantingPlanReportPage.js +5 -6
- package/dist/healthybowl/pages/crops/cropDetail/CropActivityLog.js +0 -1
- package/dist/healthybowl/pages/crops/cropDetail/CropAttentionCard.js +0 -1
- package/dist/healthybowl/pages/crops/cropDetail/CropEditModal.js +4 -5
- package/dist/healthybowl/pages/crops/cropDetail/CropHeader.js +7 -8
- package/dist/healthybowl/pages/crops/cropDetail/CropHealthChart.js +40 -48
- package/dist/healthybowl/pages/crops/cropDetail/CropSideCards.js +0 -1
- package/dist/healthybowl/pages/crops/list/CropFormDialog.js +132 -133
- package/dist/healthybowl/pages/crops/v3/CropPageV3.js +30 -31
- package/dist/healthybowl/pages/distribution/CsaPlanDetailPage.js +59 -60
- package/dist/healthybowl/pages/distribution/CsaPlanFormModal.js +0 -1
- package/dist/healthybowl/pages/distribution/CsaPlansPage.js +18 -19
- package/dist/healthybowl/pages/distribution/DeliveryRouteDetailPage.js +21 -22
- package/dist/healthybowl/pages/distribution/DeliveryRoutesPage.js +17 -18
- package/dist/healthybowl/pages/distribution/DistributionOverviewPage.js +18 -19
- package/dist/healthybowl/pages/distribution/EnrollMemberModal.js +0 -1
- package/dist/healthybowl/pages/distribution/PickupLocationFormModal.js +0 -1
- package/dist/healthybowl/pages/distribution/PickupLocationsPage.js +16 -17
- package/dist/healthybowl/pages/distribution/PickupManifestPage.js +12 -13
- package/dist/healthybowl/pages/distribution/WholesaleOrderFormModal.js +0 -1
- package/dist/healthybowl/pages/distribution/WholesaleOrdersPage.js +15 -16
- package/dist/healthybowl/pages/distribution/WholesalePriceTiersModal.js +0 -1
- package/dist/healthybowl/pages/distribution/v2/DistributionCsa.js +3 -4
- package/dist/healthybowl/pages/distribution/v2/DistributionManifest.js +0 -1
- package/dist/healthybowl/pages/distribution/v2/DistributionPickup.js +0 -1
- package/dist/healthybowl/pages/distribution/v2/DistributionRoutes.js +3 -4
- package/dist/healthybowl/pages/distribution/v2/DistributionWholesale.js +0 -1
- package/dist/healthybowl/pages/farm/FarmProfilePage.js +276 -277
- package/dist/healthybowl/pages/field-capture/ObservationLogPage.js +14 -15
- package/dist/healthybowl/pages/field-capture/SyncQueuePanel.js +0 -1
- package/dist/healthybowl/pages/field-capture/v2/PendingSyncList.js +0 -1
- package/dist/healthybowl/pages/fields/FieldMapPage.js +1195 -1198
- package/dist/healthybowl/pages/financial/AccountingIntegrationsPage.js +13 -14
- package/dist/healthybowl/pages/financial/BankReconciliationPage.js +21 -22
- package/dist/healthybowl/pages/financial/BudgetManagementPage.js +21 -22
- package/dist/healthybowl/pages/financial/ChartOfAccountsPage.js +16 -17
- package/dist/healthybowl/pages/financial/CostByCropPage.js +93 -102
- package/dist/healthybowl/pages/financial/FarmAccountingPage.js +24 -25
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.js +5 -6
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js +101 -109
- package/dist/healthybowl/pages/financial/FinancialStatementsPage.js +4 -5
- package/dist/healthybowl/pages/financial/FinancierAccessPage.js +103 -104
- package/dist/healthybowl/pages/financial/GeneralLedgerPage.js +10 -11
- package/dist/healthybowl/pages/financial/InvoiceManagementPage.js +52 -53
- package/dist/healthybowl/pages/financial/JournalEntryModal.js +0 -1
- package/dist/healthybowl/pages/financial/MachinerySpendPage.js +7 -8
- package/dist/healthybowl/pages/financial/ProfitLossPage.js +6 -7
- package/dist/healthybowl/pages/financial/TransactionsPage.js +22 -23
- package/dist/healthybowl/pages/financial/dashboard/FinancialLists.js +0 -1
- package/dist/healthybowl/pages/financial/dashboard/IncomeCostsChart.js +39 -47
- package/dist/healthybowl/pages/financial/dashboard/NeedsAttention.js +0 -1
- package/dist/healthybowl/pages/financial/v3/FinancialOverviewV3.js +6 -7
- package/dist/healthybowl/pages/financier/FinancierPage.js +22 -23
- package/dist/healthybowl/pages/financier/v2/FinancierV2.js +17 -18
- package/dist/healthybowl/pages/government-schemes/AccessibilitySettingsPage.js +0 -1
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +40 -41
- package/dist/healthybowl/pages/government-schemes/CommunicationPage.js +112 -113
- package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.js +23 -24
- package/dist/healthybowl/pages/government-schemes/SchemeAdminPage.js +347 -348
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +74 -75
- package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js +16 -17
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js +212 -213
- package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.js +51 -52
- package/dist/healthybowl/pages/inputs-insurance/ClaimDetailPage.js +4 -5
- package/dist/healthybowl/pages/inputs-insurance/InputPlanFormModal.js +0 -1
- package/dist/healthybowl/pages/inputs-insurance/InputsInsuranceOverviewPage.js +158 -169
- package/dist/healthybowl/pages/inputs-insurance/LoanAccountingDetailPage.js +16 -17
- package/dist/healthybowl/pages/inputs-insurance/LoanFacilitationPage.js +14 -15
- package/dist/healthybowl/pages/inputs-insurance/PmfbyApplyPage.js +0 -1
- package/dist/healthybowl/pages/inputs-insurance/PolicyClaimsPage.js +13 -14
- package/dist/healthybowl/pages/irrigation/IrrigationPage.js +678 -685
- package/dist/healthybowl/pages/irrigation/v2/IrrigationV2.js +21 -22
- package/dist/healthybowl/pages/labour/CrewTimesheetPage.js +0 -1
- package/dist/healthybowl/pages/labour/LabourRosterPage.js +418 -419
- package/dist/healthybowl/pages/learn/LearnCatalogPage.js +11 -12
- package/dist/healthybowl/pages/learn/LearnCourseDetailPage.js +14 -15
- package/dist/healthybowl/pages/learn/LearnHomePage.js +8 -9
- package/dist/healthybowl/pages/learn/LearnLessonPage.js +14 -15
- package/dist/healthybowl/pages/livestock/AnimalDepthFormModal.js +0 -1
- package/dist/healthybowl/pages/livestock/AnimalDepthPage.js +10 -11
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js +82 -83
- package/dist/healthybowl/pages/livestock/AnimalGroupModal.js +15 -16
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js +12 -13
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.js +491 -492
- package/dist/healthybowl/pages/livestock/FeedManagementPage.js +17 -18
- package/dist/healthybowl/pages/livestock/FertilityCard.js +111 -119
- package/dist/healthybowl/pages/livestock/GrazingPage.js +10 -11
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.js +235 -236
- package/dist/healthybowl/pages/livestock/HerdDepthPage.js +14 -16
- package/dist/healthybowl/pages/livestock/HerdStatsCard.js +197 -204
- package/dist/healthybowl/pages/livestock/LivestockAnalyticsPage.js +0 -1
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js +161 -162
- package/dist/healthybowl/pages/livestock/LivestockFeedCard.js +52 -58
- package/dist/healthybowl/pages/livestock/LivestockGrowthCard.js +52 -58
- package/dist/healthybowl/pages/livestock/LivestockImportModal.js +0 -1
- package/dist/healthybowl/pages/livestock/MedicationLibraryPage.js +12 -13
- package/dist/healthybowl/pages/livestock/PedigreeTree.js +0 -1
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js +381 -382
- package/dist/healthybowl/pages/livestock/RecordWeightModal.js +0 -1
- package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js +19 -20
- package/dist/healthybowl/pages/livestock/WithdrawalAlertsPage.js +28 -29
- package/dist/healthybowl/pages/livestock/WithdrawalCalendarPage.js +5 -6
- package/dist/healthybowl/pages/livestock/animals/AnimalFormDialogs.js +0 -1
- package/dist/healthybowl/pages/livestock/grazing/EndGrazingMoveModal.js +4 -5
- package/dist/healthybowl/pages/livestock/grazing/RecordGrazingMoveModal.js +5 -6
- package/dist/healthybowl/pages/livestock/grazing/SetPaddockRestModal.js +0 -1
- package/dist/healthybowl/pages/livestock/v2/BreedingV2.js +12 -13
- package/dist/healthybowl/pages/livestock/v2/FeedV2.js +4 -5
- package/dist/healthybowl/pages/livestock/v2/GrazingV2.js +26 -27
- package/dist/healthybowl/pages/livestock/v2/HealthRecordsV2.js +13 -14
- package/dist/healthybowl/pages/livestock/v2/HerdRecordsV2.js +4 -5
- package/dist/healthybowl/pages/livestock/v2/LivestockOverviewV2.js +8 -9
- package/dist/healthybowl/pages/livestock/v2/ProductionV2.js +4 -5
- package/dist/healthybowl/pages/livestock/v2/WithdrawalV2.js +4 -5
- package/dist/healthybowl/pages/livestock/withdrawal/AnimalWithdrawalCard.js +0 -1
- package/dist/healthybowl/pages/livestock/withdrawal/LogTreatmentModal.js +0 -1
- package/dist/healthybowl/pages/market/MarketPricesPage.js +382 -390
- package/dist/healthybowl/pages/market/market-prices/AddWatchModal.js +0 -1
- package/dist/healthybowl/pages/market/market-prices/PriceAlertRuleModal.js +0 -1
- package/dist/healthybowl/pages/market/v2/MarketPricesV2.js +257 -265
- package/dist/healthybowl/pages/marketplace/AuctionsView.js +24 -25
- package/dist/healthybowl/pages/marketplace/CartPage.js +26 -27
- package/dist/healthybowl/pages/marketplace/MarketplacePage.js +428 -429
- package/dist/healthybowl/pages/marketplace/OrdersPage.js +19 -20
- package/dist/healthybowl/pages/marketplace/ProductDetailPage.js +14 -15
- package/dist/healthybowl/pages/marketplace/SharedMarketView.js +13 -14
- package/dist/healthybowl/pages/marketplace/ShipmentTrackingPanel.js +0 -1
- package/dist/healthybowl/pages/marketplace/WishlistPage.js +21 -22
- package/dist/healthybowl/pages/network/CohortsPage.js +152 -153
- package/dist/healthybowl/pages/network/CommunityPage.js +271 -272
- package/dist/healthybowl/pages/network/EventsPage.js +374 -375
- package/dist/healthybowl/pages/network/ExpertsPage.js +307 -308
- package/dist/healthybowl/pages/network/MentorsPage.js +514 -515
- package/dist/healthybowl/pages/network/NetworkOverviewPage.js +22 -23
- package/dist/healthybowl/pages/nursery/NurseryProvenancePage.js +124 -126
- package/dist/healthybowl/pages/pest-management/AiPestDetectionPage.js +209 -210
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.js +185 -186
- package/dist/healthybowl/pages/pest-management/PestMonitoringPage.js +7 -8
- package/dist/healthybowl/pages/pest-management/PestOverviewPage.js +14 -15
- package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.js +13 -14
- package/dist/healthybowl/pages/production/ProductionBatchesPage.js +7 -8
- package/dist/healthybowl/pages/production/ProductionPlanningPage.js +12 -13
- package/dist/healthybowl/pages/production/ProductionSchedulePage.js +9 -10
- package/dist/healthybowl/pages/production/RecipeManagementPage.js +18 -19
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.js +19 -20
- package/dist/healthybowl/pages/products/BatchesPage.js +278 -279
- package/dist/healthybowl/pages/products/InventoryPage.js +51 -52
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js +14 -15
- package/dist/healthybowl/pages/products/QualityPage.js +24 -25
- package/dist/healthybowl/pages/reports-api/ReportsApiPage.js +13 -14
- package/dist/healthybowl/pages/satellite/CropHealthAlertsPage.js +5 -6
- package/dist/healthybowl/pages/satellite/NdviComparePanel.js +55 -62
- package/dist/healthybowl/pages/satellite/NdviHeatmapMap.js +57 -58
- package/dist/healthybowl/pages/satellite/SatelliteCropHealthPage.js +52 -53
- package/dist/healthybowl/pages/satellite/SatelliteFieldDetailPage.js +186 -194
- package/dist/healthybowl/pages/satellite/SatelliteSettingsPage.js +5 -6
- package/dist/healthybowl/pages/satellite/YieldReportPanel.js +59 -64
- package/dist/healthybowl/pages/satellite/YieldSimulationPanel.js +75 -84
- package/dist/healthybowl/pages/soil/FieldSensorsPage.js +114 -115
- package/dist/healthybowl/pages/soil/SoilDashboardPage.js +23 -24
- package/dist/healthybowl/pages/soil/SoilMonitoringPage.js +5 -6
- package/dist/healthybowl/pages/soil/SoilRecommendationsPage.js +15 -16
- package/dist/healthybowl/pages/soil/SoilTestsPage.js +12 -13
- package/dist/healthybowl/pages/soil/field-sensors/RegisterProbeModal.js +0 -1
- package/dist/healthybowl/pages/soil/field-sensors/SensorCharts.js +29 -38
- package/dist/healthybowl/pages/soil/field-sensors/ThresholdsModal.js +0 -1
- package/dist/healthybowl/pages/storage/PlaceLotModal.js +0 -1
- package/dist/healthybowl/pages/storage/RecordMovementModal.js +0 -1
- package/dist/healthybowl/pages/storage/StorageLocationFormModal.js +0 -1
- package/dist/healthybowl/pages/storage/StorageLotDetailPage.js +12 -13
- package/dist/healthybowl/pages/storage/StoragePage.js +8 -9
- package/dist/healthybowl/pages/suppliers/SuppliersPage.js +415 -416
- package/dist/healthybowl/pages/sustainability/CarbonCreditLedgerPage.js +14 -15
- package/dist/healthybowl/pages/sustainability/CarbonGhgPage.js +264 -265
- package/dist/healthybowl/pages/sustainability/EudrDueDiligencePage.js +10 -11
- package/dist/healthybowl/pages/sustainability/GenerateCreditWizardPage.js +8 -9
- package/dist/healthybowl/pages/sustainability/SoilCarbonPage.js +96 -97
- package/dist/healthybowl/pages/sustainability/SustainabilityOverviewPage.js +132 -133
- package/dist/healthybowl/pages/sustainability/components.js +39 -48
- package/dist/healthybowl/pages/tasks/JobCardPage.js +19 -20
- package/dist/healthybowl/pages/tasks/TasksPage.js +102 -103
- package/dist/healthybowl/pages/terrace/CareSchedulePage.js +13 -14
- package/dist/healthybowl/pages/terrace/CompostBatchModal.js +0 -1
- package/dist/healthybowl/pages/terrace/CompostInputsPage.js +238 -239
- package/dist/healthybowl/pages/terrace/GardenDashboardPage.js +14 -15
- package/dist/healthybowl/pages/terrace/GardenFormModal.js +0 -1
- package/dist/healthybowl/pages/terrace/GardenInputModal.js +0 -1
- package/dist/healthybowl/pages/terrace/GardenJournalPage.js +11 -12
- package/dist/healthybowl/pages/terrace/GrowSpaceFormModal.js +0 -1
- package/dist/healthybowl/pages/terrace/GrowSpacesPage.js +12 -13
- package/dist/healthybowl/pages/terrace/HarvestsPage.js +81 -82
- package/dist/healthybowl/pages/terrace/JournalEntryModal.js +0 -1
- package/dist/healthybowl/pages/terrace/LogHarvestModal.js +0 -1
- package/dist/healthybowl/pages/terrace/MyGardensPage.js +6 -7
- package/dist/healthybowl/pages/terrace/PlantingDetailPage.js +13 -14
- package/dist/healthybowl/pages/terrace/PlantingFormModal.js +6 -7
- package/dist/healthybowl/pages/terrace/PlantingsPage.js +14 -15
- package/dist/healthybowl/pages/terrace/WhatToGrowPage.js +85 -86
- package/dist/healthybowl/pages/traceability/BatchTrackingPage.js +243 -244
- package/dist/healthybowl/pages/traceability/PrintLabelDialog.js +0 -1
- package/dist/healthybowl/pages/traceability/QRCodesPage.js +214 -215
- package/dist/healthybowl/pages/traceability/SupplyChainPage.js +10 -11
- package/dist/healthybowl/pages/traceability/TraceLedgerPage.js +69 -70
- package/dist/healthybowl/pages/traceability/TracePortalSettingsPage.js +10 -11
- package/dist/healthybowl/pages/traceability/TraceScanActivityPage.js +4 -5
- package/dist/healthybowl/pages/traceability/TraceTrackingPage.js +10 -11
- package/dist/healthybowl/pages/traceability/UnifiedTraceBatchPage.js +4 -5
- package/dist/healthybowl/pages/wallet/CreditsWalletPage.js +19 -20
- package/dist/healthybowl/pages/weather/FrostRiskCalendarPage.js +6 -7
- package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js +54 -55
- package/dist/healthybowl/pages/weather/WeatherAlertRulesPage.js +404 -405
- package/dist/healthybowl/pages/weather/WeatherAlertsPage.js +14 -15
- package/dist/healthybowl/pages/weather/WeatherAnomalyReportPage.js +129 -139
- package/dist/healthybowl/pages/weather/WeatherForecastPage.js +12 -13
- package/dist/healthybowl/pages/weather/WeatherHistoryPage.js +294 -304
- package/dist/healthybowl/pages/weather/WeatherOverviewPage.js +18 -19
- package/dist/healthybowl/pages/weather/WeatherSettingsPage.js +4 -5
- package/dist/healthybowl/pages/weather/overview/AlertCard.js +6 -7
- package/dist/healthybowl/pages/weather/overview/FarmAdvice.js +0 -1
- package/dist/healthybowl/pages/weather/overview/PlanWorkDialog.js +9 -10
- package/dist/healthybowl/pages/weather/overview/QuieterCards.js +0 -1
- package/dist/healthybowl/pages/weather/v2/WeatherOverviewV2.js +0 -1
- package/dist/healthybowl/pages/weather/v3/WeatherAlertsV3.js +28 -29
- package/dist/healthybowl/pages/weather/v3/WeatherOverviewV3.js +15 -16
- package/dist/healthybowl/utils/helpers.js +2 -2
- package/dist/index.js +10 -12
- package/package.json +6 -3
- package/dist/_virtual/_rolldown/runtime.js +0 -19
- package/dist/components/assistant/AssistantAutoSpeakToggle.js +0 -1
- package/dist/components/assistant/AssistantConversationList.js +0 -1
- package/dist/components/assistant/AssistantEmptyState.js +0 -1
- package/dist/components/assistant/AssistantHeader.js +0 -1
- package/dist/components/assistant/AssistantMarkdownRenderer.js +0 -2
- package/dist/components/assistant/AssistantMessageAttachments.js +0 -1
- package/dist/components/assistant/AssistantMessageItem.js +0 -1
- package/dist/components/assistant/AssistantMessageList.js +0 -1
- package/dist/components/assistant/AssistantMoreMenu.js +0 -1
- package/dist/components/assistant/AssistantSpeakButton.js +0 -1
- package/dist/components/assistant/AssistantSpeechProvider.js +0 -1
- package/dist/components/assistant/AssistantToolActivity.js +0 -1
- package/dist/components/assistant/composer/AssistantAttachmentButton.js +0 -1
- package/dist/components/assistant/composer/AssistantAttachmentChips.js +0 -1
- package/dist/components/assistant/composer/AssistantComposer.js +0 -1
- package/dist/components/assistant/composer/AssistantModeSelector.js +0 -1
- package/dist/components/assistant/composer/AssistantVoiceButton.js +0 -1
- package/dist/components/assistant/index.js +0 -19
- package/dist/healthybowl/components/ComingSoon.js +0 -6
- package/dist/healthybowl/components/index.js +0 -30
- package/dist/healthybowl/index.js +0 -12
- package/dist/healthybowl/utils/index.js +0 -10
- package/dist/node_modules/@burdenoff/planmagnet-fe-sdk/dist/index.js +0 -3767
- package/dist/node_modules/class-variance-authority/dist/index.js +0 -32
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/d3-array/dist/d3-array.js +0 -202
- package/dist/node_modules/d3-color/dist/d3-color.js +0 -386
- package/dist/node_modules/d3-format/dist/d3-format.js +0 -184
- package/dist/node_modules/d3-interpolate/dist/d3-interpolate.js +0 -183
- package/dist/node_modules/d3-path/dist/d3-path.js +0 -88
- package/dist/node_modules/d3-scale/dist/d3-scale.js +0 -620
- package/dist/node_modules/d3-shape/dist/d3-shape.js +0 -899
- package/dist/node_modules/d3-time/dist/d3-time.js +0 -239
- package/dist/node_modules/d3-time-format/dist/d3-time-format.js +0 -543
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +0 -5
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +0 -6
- package/dist/node_modules/date-fns/_lib/format/formatters.js +0 -388
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -42
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -37
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -7
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +0 -7
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +0 -10
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +0 -22
- package/dist/node_modules/date-fns/addDays.js +0 -8
- package/dist/node_modules/date-fns/addMonths.js +0 -11
- package/dist/node_modules/date-fns/addWeeks.js +0 -6
- package/dist/node_modules/date-fns/constants.js +0 -5
- package/dist/node_modules/date-fns/constructFrom.js +0 -6
- package/dist/node_modules/date-fns/constructNow.js +0 -6
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +0 -10
- package/dist/node_modules/date-fns/eachDayOfInterval.js +0 -14
- package/dist/node_modules/date-fns/endOfMonth.js +0 -7
- package/dist/node_modules/date-fns/endOfWeek.js +0 -8
- package/dist/node_modules/date-fns/format.js +0 -58
- package/dist/node_modules/date-fns/getDayOfYear.js +0 -9
- package/dist/node_modules/date-fns/getISOWeek.js +0 -10
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -13
- package/dist/node_modules/date-fns/getWeek.js +0 -10
- package/dist/node_modules/date-fns/getWeekYear.js +0 -14
- package/dist/node_modules/date-fns/isDate.js +0 -5
- package/dist/node_modules/date-fns/isSameDay.js +0 -8
- package/dist/node_modules/date-fns/isSameMonth.js +0 -7
- package/dist/node_modules/date-fns/isSameWeek.js +0 -8
- package/dist/node_modules/date-fns/isToday.js +0 -8
- package/dist/node_modules/date-fns/isValid.js +0 -7
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -8
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -16
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -21
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -17
- package/dist/node_modules/date-fns/locale/ar/_lib/formatDistance.js +0 -98
- package/dist/node_modules/date-fns/locale/ar/_lib/formatLong.js +0 -31
- package/dist/node_modules/date-fns/locale/ar/_lib/formatRelative.js +0 -10
- package/dist/node_modules/date-fns/locale/ar/_lib/localize.js +0 -193
- package/dist/node_modules/date-fns/locale/ar/_lib/match.js +0 -132
- package/dist/node_modules/date-fns/locale/ar.js +0 -19
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -68
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -31
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -10
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -201
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +0 -123
- package/dist/node_modules/date-fns/locale/en-US.js +0 -19
- package/dist/node_modules/date-fns/locale/es/_lib/formatDistance.js +0 -68
- package/dist/node_modules/date-fns/locale/es/_lib/formatLong.js +0 -31
- package/dist/node_modules/date-fns/locale/es/_lib/formatRelative.js +0 -17
- package/dist/node_modules/date-fns/locale/es/_lib/localize.js +0 -193
- package/dist/node_modules/date-fns/locale/es/_lib/match.js +0 -128
- package/dist/node_modules/date-fns/locale/es.js +0 -19
- package/dist/node_modules/date-fns/locale/hi/_lib/formatDistance.js +0 -69
- package/dist/node_modules/date-fns/locale/hi/_lib/formatLong.js +0 -31
- package/dist/node_modules/date-fns/locale/hi/_lib/formatRelative.js +0 -10
- package/dist/node_modules/date-fns/locale/hi/_lib/localize.js +0 -231
- package/dist/node_modules/date-fns/locale/hi/_lib/match.js +0 -124
- package/dist/node_modules/date-fns/locale/hi.js +0 -19
- package/dist/node_modules/date-fns/locale/ta/_lib/formatDistance.js +0 -195
- package/dist/node_modules/date-fns/locale/ta/_lib/formatLong.js +0 -31
- package/dist/node_modules/date-fns/locale/ta/_lib/formatRelative.js +0 -10
- package/dist/node_modules/date-fns/locale/ta/_lib/localize.js +0 -193
- package/dist/node_modules/date-fns/locale/ta/_lib/match.js +0 -131
- package/dist/node_modules/date-fns/locale/ta.js +0 -19
- package/dist/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.js +0 -68
- package/dist/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +0 -31
- package/dist/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +0 -17
- package/dist/node_modules/date-fns/locale/zh-CN/_lib/localize.js +0 -202
- package/dist/node_modules/date-fns/locale/zh-CN/_lib/match.js +0 -109
- package/dist/node_modules/date-fns/locale/zh-CN.js +0 -19
- package/dist/node_modules/date-fns/parseISO.js +0 -116
- package/dist/node_modules/date-fns/startOfDay.js +0 -7
- package/dist/node_modules/date-fns/startOfISOWeek.js +0 -9
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +0 -9
- package/dist/node_modules/date-fns/startOfMonth.js +0 -7
- package/dist/node_modules/date-fns/startOfWeek.js +0 -8
- package/dist/node_modules/date-fns/startOfWeekYear.js +0 -10
- package/dist/node_modules/date-fns/startOfYear.js +0 -7
- package/dist/node_modules/date-fns/subMonths.js +0 -6
- package/dist/node_modules/date-fns/toDate.js +0 -6
- package/dist/node_modules/decimal.js-light/decimal.js +0 -379
- package/dist/node_modules/dijkstrajs/dijkstra.js +0 -58
- package/dist/node_modules/eventemitter3/index.js +0 -92
- package/dist/node_modules/fast-equals/dist/es/index.js +0 -295
- package/dist/node_modules/leaflet/dist/leaflet-src.js +0 -4533
- package/dist/node_modules/lodash/_DataView.js +0 -9
- package/dist/node_modules/lodash/_Hash.js +0 -20
- package/dist/node_modules/lodash/_ListCache.js +0 -20
- package/dist/node_modules/lodash/_Map.js +0 -9
- package/dist/node_modules/lodash/_MapCache.js +0 -20
- package/dist/node_modules/lodash/_Promise.js +0 -9
- package/dist/node_modules/lodash/_Set.js +0 -9
- package/dist/node_modules/lodash/_SetCache.js +0 -15
- package/dist/node_modules/lodash/_Stack.js +0 -18
- package/dist/node_modules/lodash/_Symbol.js +0 -8
- package/dist/node_modules/lodash/_Uint8Array.js +0 -8
- package/dist/node_modules/lodash/_WeakMap.js +0 -9
- package/dist/node_modules/lodash/_apply.js +0 -16
- package/dist/node_modules/lodash/_arrayEvery.js +0 -11
- package/dist/node_modules/lodash/_arrayFilter.js +0 -14
- package/dist/node_modules/lodash/_arrayIncludes.js +0 -12
- package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -11
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -19
- package/dist/node_modules/lodash/_arrayMap.js +0 -11
- package/dist/node_modules/lodash/_arrayPush.js +0 -11
- package/dist/node_modules/lodash/_arraySome.js +0 -11
- package/dist/node_modules/lodash/_asciiToArray.js +0 -10
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -13
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -17
- package/dist/node_modules/lodash/_baseEach.js +0 -10
- package/dist/node_modules/lodash/_baseEvery.js +0 -15
- package/dist/node_modules/lodash/_baseExtremum.js +0 -16
- package/dist/node_modules/lodash/_baseFindIndex.js +0 -11
- package/dist/node_modules/lodash/_baseFlatten.js +0 -18
- package/dist/node_modules/lodash/_baseFor.js +0 -8
- package/dist/node_modules/lodash/_baseForOwn.js +0 -13
- package/dist/node_modules/lodash/_baseGet.js +0 -15
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -14
- package/dist/node_modules/lodash/_baseGetTag.js +0 -14
- package/dist/node_modules/lodash/_baseGt.js +0 -10
- package/dist/node_modules/lodash/_baseHasIn.js +0 -10
- package/dist/node_modules/lodash/_baseIndexOf.js +0 -14
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -13
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -13
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -34
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -30
- package/dist/node_modules/lodash/_baseIsNaN.js +0 -10
- package/dist/node_modules/lodash/_baseIsNative.js +0 -15
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -15
- package/dist/node_modules/lodash/_baseIteratee.js +0 -16
- package/dist/node_modules/lodash/_baseKeys.js +0 -16
- package/dist/node_modules/lodash/_baseLt.js +0 -10
- package/dist/node_modules/lodash/_baseMap.js +0 -16
- package/dist/node_modules/lodash/_baseMatches.js +0 -17
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -21
- package/dist/node_modules/lodash/_baseOrderBy.js +0 -36
- package/dist/node_modules/lodash/_baseProperty.js +0 -12
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -14
- package/dist/node_modules/lodash/_baseRange.js +0 -12
- package/dist/node_modules/lodash/_baseRest.js +0 -14
- package/dist/node_modules/lodash/_baseSetToString.js +0 -18
- package/dist/node_modules/lodash/_baseSlice.js +0 -13
- package/dist/node_modules/lodash/_baseSome.js +0 -15
- package/dist/node_modules/lodash/_baseSortBy.js +0 -12
- package/dist/node_modules/lodash/_baseTimes.js +0 -11
- package/dist/node_modules/lodash/_baseToString.js +0 -19
- package/dist/node_modules/lodash/_baseTrim.js +0 -12
- package/dist/node_modules/lodash/_baseUnary.js +0 -12
- package/dist/node_modules/lodash/_baseUniq.js +0 -31
- package/dist/node_modules/lodash/_cacheHas.js +0 -10
- package/dist/node_modules/lodash/_castPath.js +0 -15
- package/dist/node_modules/lodash/_castSlice.js +0 -13
- package/dist/node_modules/lodash/_compareAscending.js +0 -17
- package/dist/node_modules/lodash/_compareMultiple.js +0 -16
- package/dist/node_modules/lodash/_coreJsData.js +0 -8
- package/dist/node_modules/lodash/_createBaseEach.js +0 -17
- package/dist/node_modules/lodash/_createBaseFor.js +0 -16
- package/dist/node_modules/lodash/_createCaseFirst.js +0 -19
- package/dist/node_modules/lodash/_createFind.js +0 -24
- package/dist/node_modules/lodash/_createRange.js +0 -16
- package/dist/node_modules/lodash/_createSet.js +0 -13
- package/dist/node_modules/lodash/_defineProperty.js +0 -14
- package/dist/node_modules/lodash/_equalArrays.js +0 -39
- package/dist/node_modules/lodash/_equalByTag.js +0 -39
- package/dist/node_modules/lodash/_equalObjects.js +0 -36
- package/dist/node_modules/lodash/_freeGlobal.js +0 -7
- package/dist/node_modules/lodash/_getAllKeys.js +0 -14
- package/dist/node_modules/lodash/_getMapData.js +0 -13
- package/dist/node_modules/lodash/_getMatchData.js +0 -21
- package/dist/node_modules/lodash/_getNative.js +0 -14
- package/dist/node_modules/lodash/_getPrototype.js +0 -8
- package/dist/node_modules/lodash/_getRawTag.js +0 -18
- package/dist/node_modules/lodash/_getSymbols.js +0 -14
- package/dist/node_modules/lodash/_getTag.js +0 -25
- package/dist/node_modules/lodash/_getValue.js +0 -10
- package/dist/node_modules/lodash/_hasPath.js +0 -23
- package/dist/node_modules/lodash/_hasUnicode.js +0 -11
- package/dist/node_modules/lodash/_hashClear.js +0 -12
- package/dist/node_modules/lodash/_hashDelete.js +0 -11
- package/dist/node_modules/lodash/_hashGet.js +0 -17
- package/dist/node_modules/lodash/_hashHas.js +0 -13
- package/dist/node_modules/lodash/_hashSet.js +0 -13
- package/dist/node_modules/lodash/_isFlattenable.js +0 -14
- package/dist/node_modules/lodash/_isIndex.js +0 -12
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -17
- package/dist/node_modules/lodash/_isKey.js +0 -15
- package/dist/node_modules/lodash/_isKeyable.js +0 -11
- package/dist/node_modules/lodash/_isMasked.js +0 -15
- package/dist/node_modules/lodash/_isPrototype.js +0 -12
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -12
- package/dist/node_modules/lodash/_listCacheClear.js +0 -10
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -13
- package/dist/node_modules/lodash/_listCacheGet.js +0 -13
- package/dist/node_modules/lodash/_listCacheHas.js +0 -12
- package/dist/node_modules/lodash/_listCacheSet.js +0 -13
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -18
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -13
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -12
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -12
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -13
- package/dist/node_modules/lodash/_mapToArray.js +0 -13
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -12
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -15
- package/dist/node_modules/lodash/_nativeCreate.js +0 -8
- package/dist/node_modules/lodash/_nativeKeys.js +0 -8
- package/dist/node_modules/lodash/_nodeUtil.js +0 -13
- package/dist/node_modules/lodash/_objectToString.js +0 -11
- package/dist/node_modules/lodash/_overArg.js +0 -12
- package/dist/node_modules/lodash/_overRest.js +0 -17
- package/dist/node_modules/lodash/_root.js +0 -9
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -10
- package/dist/node_modules/lodash/_setCacheHas.js +0 -10
- package/dist/node_modules/lodash/_setToArray.js +0 -13
- package/dist/node_modules/lodash/_setToString.js +0 -10
- package/dist/node_modules/lodash/_shortOut.js +0 -18
- package/dist/node_modules/lodash/_stackClear.js +0 -12
- package/dist/node_modules/lodash/_stackDelete.js +0 -11
- package/dist/node_modules/lodash/_stackGet.js +0 -10
- package/dist/node_modules/lodash/_stackHas.js +0 -10
- package/dist/node_modules/lodash/_stackSet.js +0 -20
- package/dist/node_modules/lodash/_strictIndexOf.js +0 -11
- package/dist/node_modules/lodash/_stringToArray.js +0 -14
- package/dist/node_modules/lodash/_stringToPath.js +0 -14
- package/dist/node_modules/lodash/_toKey.js +0 -14
- package/dist/node_modules/lodash/_toSource.js +0 -19
- package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -12
- package/dist/node_modules/lodash/_unicodeToArray.js +0 -21
- package/dist/node_modules/lodash/constant.js +0 -12
- package/dist/node_modules/lodash/debounce.js +0 -54
- package/dist/node_modules/lodash/eq.js +0 -10
- package/dist/node_modules/lodash/every.js +0 -17
- package/dist/node_modules/lodash/find.js +0 -9
- package/dist/node_modules/lodash/findIndex.js +0 -17
- package/dist/node_modules/lodash/flatMap.js +0 -13
- package/dist/node_modules/lodash/get.js +0 -13
- package/dist/node_modules/lodash/hasIn.js +0 -13
- package/dist/node_modules/lodash/identity.js +0 -10
- package/dist/node_modules/lodash/isArguments.js +0 -14
- package/dist/node_modules/lodash/isArray.js +0 -7
- package/dist/node_modules/lodash/isArrayLike.js +0 -13
- package/dist/node_modules/lodash/isBoolean.js +0 -13
- package/dist/node_modules/lodash/isBuffer.js +0 -10
- package/dist/node_modules/lodash/isEqual.js +0 -12
- package/dist/node_modules/lodash/isFunction.js +0 -15
- package/dist/node_modules/lodash/isLength.js +0 -10
- package/dist/node_modules/lodash/isNaN.js +0 -12
- package/dist/node_modules/lodash/isNil.js +0 -10
- package/dist/node_modules/lodash/isNumber.js +0 -13
- package/dist/node_modules/lodash/isObject.js +0 -11
- package/dist/node_modules/lodash/isObjectLike.js +0 -10
- package/dist/node_modules/lodash/isPlainObject.js +0 -18
- package/dist/node_modules/lodash/isString.js +0 -14
- package/dist/node_modules/lodash/isSymbol.js +0 -13
- package/dist/node_modules/lodash/isTypedArray.js +0 -11
- package/dist/node_modules/lodash/keys.js +0 -14
- package/dist/node_modules/lodash/last.js +0 -11
- package/dist/node_modules/lodash/map.js +0 -15
- package/dist/node_modules/lodash/mapValues.js +0 -17
- package/dist/node_modules/lodash/max.js +0 -14
- package/dist/node_modules/lodash/maxBy.js +0 -14
- package/dist/node_modules/lodash/memoize.js +0 -19
- package/dist/node_modules/lodash/min.js +0 -14
- package/dist/node_modules/lodash/minBy.js +0 -14
- package/dist/node_modules/lodash/noop.js +0 -8
- package/dist/node_modules/lodash/now.js +0 -11
- package/dist/node_modules/lodash/property.js +0 -15
- package/dist/node_modules/lodash/range.js +0 -8
- package/dist/node_modules/lodash/some.js +0 -17
- package/dist/node_modules/lodash/sortBy.js +0 -16
- package/dist/node_modules/lodash/stubArray.js +0 -10
- package/dist/node_modules/lodash/stubFalse.js +0 -10
- package/dist/node_modules/lodash/throttle.js +0 -19
- package/dist/node_modules/lodash/toFinite.js +0 -12
- package/dist/node_modules/lodash/toInteger.js +0 -13
- package/dist/node_modules/lodash/toNumber.js +0 -23
- package/dist/node_modules/lodash/toString.js +0 -12
- package/dist/node_modules/lodash/uniqBy.js +0 -13
- package/dist/node_modules/lodash/upperFirst.js +0 -8
- package/dist/node_modules/object-assign/index.js +0 -38
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -43
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -46
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -270
- package/dist/node_modules/prop-types/index.js +0 -13
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -7
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -81
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -61
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -9
- package/dist/node_modules/qrcode/lib/browser.js +0 -37
- package/dist/node_modules/qrcode/lib/can-promise.js +0 -9
- package/dist/node_modules/qrcode/lib/core/alignment-pattern.js +0 -18
- package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -25
- package/dist/node_modules/qrcode/lib/core/bit-buffer.js +0 -25
- package/dist/node_modules/qrcode/lib/core/bit-matrix.js +0 -20
- package/dist/node_modules/qrcode/lib/core/byte-data.js +0 -20
- package/dist/node_modules/qrcode/lib/core/error-correction-code.js +0 -347
- package/dist/node_modules/qrcode/lib/core/error-correction-level.js +0 -31
- package/dist/node_modules/qrcode/lib/core/finder-pattern.js +0 -16
- package/dist/node_modules/qrcode/lib/core/format-info.js +0 -13
- package/dist/node_modules/qrcode/lib/core/galois-field.js +0 -19
- package/dist/node_modules/qrcode/lib/core/kanji-data.js +0 -28
- package/dist/node_modules/qrcode/lib/core/mask-pattern.js +0 -81
- package/dist/node_modules/qrcode/lib/core/mode.js +0 -71
- package/dist/node_modules/qrcode/lib/core/numeric-data.js +0 -23
- package/dist/node_modules/qrcode/lib/core/polynomial.js +0 -27
- package/dist/node_modules/qrcode/lib/core/qrcode.js +0 -114
- package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -24
- package/dist/node_modules/qrcode/lib/core/regex.js +0 -18
- package/dist/node_modules/qrcode/lib/core/segments.js +0 -141
- package/dist/node_modules/qrcode/lib/core/utils.js +0 -67
- package/dist/node_modules/qrcode/lib/core/version-check.js +0 -9
- package/dist/node_modules/qrcode/lib/core/version.js +0 -57
- package/dist/node_modules/qrcode/lib/renderer/canvas.js +0 -29
- package/dist/node_modules/qrcode/lib/renderer/svg-tag.js +0 -28
- package/dist/node_modules/qrcode/lib/renderer/utils.js +0 -52
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -84
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -62
- package/dist/node_modules/react-is/index.js +0 -9
- package/dist/node_modules/react-smooth/es6/Animate.js +0 -364
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +0 -68
- package/dist/node_modules/react-smooth/es6/configUpdate.js +0 -170
- package/dist/node_modules/react-smooth/es6/easing.js +0 -149
- package/dist/node_modules/react-smooth/es6/index.js +0 -6
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +0 -11
- package/dist/node_modules/react-smooth/es6/util.js +0 -91
- package/dist/node_modules/recharts/es6/cartesian/Area.js +0 -432
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +0 -384
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +0 -496
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +0 -329
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +0 -302
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +0 -240
- package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -470
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +0 -170
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +0 -175
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +0 -251
- package/dist/node_modules/recharts/es6/cartesian/Scatter.js +0 -365
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +0 -141
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +0 -140
- package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +0 -100
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +0 -15
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +0 -118
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +0 -96
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +0 -19
- package/dist/node_modules/recharts/es6/chart/BarChart.js +0 -21
- package/dist/node_modules/recharts/es6/chart/ComposedChart.js +0 -35
- package/dist/node_modules/recharts/es6/chart/LineChart.js +0 -19
- package/dist/node_modules/recharts/es6/chart/PieChart.js +0 -31
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +0 -1244
- package/dist/node_modules/recharts/es6/component/Cell.js +0 -6
- package/dist/node_modules/recharts/es6/component/Cursor.js +0 -90
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +0 -234
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +0 -168
- package/dist/node_modules/recharts/es6/component/Label.js +0 -350
- package/dist/node_modules/recharts/es6/component/LabelList.js +0 -163
- package/dist/node_modules/recharts/es6/component/Legend.js +0 -235
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +0 -184
- package/dist/node_modules/recharts/es6/component/Text.js +0 -220
- package/dist/node_modules/recharts/es6/component/Tooltip.js +0 -179
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +0 -195
- package/dist/node_modules/recharts/es6/container/Layer.js +0 -37
- package/dist/node_modules/recharts/es6/container/Surface.js +0 -57
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +0 -55
- package/dist/node_modules/recharts/es6/polar/Pie.js +0 -429
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +0 -212
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +0 -263
- package/dist/node_modules/recharts/es6/shape/Cross.js +0 -109
- package/dist/node_modules/recharts/es6/shape/Curve.js +0 -123
- package/dist/node_modules/recharts/es6/shape/Dot.js +0 -24
- package/dist/node_modules/recharts/es6/shape/Polygon.js +0 -109
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +0 -202
- package/dist/node_modules/recharts/es6/shape/Sector.js +0 -189
- package/dist/node_modules/recharts/es6/shape/Symbols.js +0 -133
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +0 -172
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +0 -178
- package/dist/node_modules/recharts/es6/util/BarUtils.js +0 -109
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +0 -231
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +0 -555
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +0 -67
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +0 -105
- package/dist/node_modules/recharts/es6/util/DataUtils.js +0 -64
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +0 -55
- package/dist/node_modules/recharts/es6/util/Events.js +0 -4
- package/dist/node_modules/recharts/es6/util/Global.js +0 -18
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +0 -6
- package/dist/node_modules/recharts/es6/util/LogUtils.js +0 -14
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +0 -195
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +0 -134
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +0 -178
- package/dist/node_modules/recharts/es6/util/ScatterUtils.js +0 -45
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +0 -7
- package/dist/node_modules/recharts/es6/util/TickUtils.js +0 -29
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -22
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +0 -22
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +0 -13
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +0 -14
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +0 -9
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +0 -85
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +0 -10
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +0 -9
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +0 -84
- package/dist/node_modules/recharts/es6/util/types.js +0 -40
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +0 -129
- package/dist/node_modules/recharts-scale/es6/index.js +0 -1
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +0 -29
- package/dist/node_modules/recharts-scale/es6/util/utils.js +0 -76
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1776
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -10
- package/dist/node_modules/victory-vendor/es/d3-scale.js +0 -34
|
@@ -1,18 +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 {
|
|
13
|
-
import {
|
|
1
|
+
import { Modal as e } from "./Modal.js";
|
|
2
|
+
import { useHealthyBowl as t } from "../context/HealthyBowlContext.js";
|
|
3
|
+
import { useDefaultTaskProject as n } from "../pages/tasks/useDefaultTaskProject.js";
|
|
4
|
+
import { useCanManageTasks as r } from "../pages/tasks/useCanManageTasks.js";
|
|
5
|
+
import { useToast as i } from "../hooks/useToast.js";
|
|
6
|
+
import { useCallback as a, useEffect as o, useState as s } from "react";
|
|
7
|
+
import { ClipboardList as c } from "lucide-react";
|
|
8
|
+
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
|
+
import { Button as f } from "@burdenoff/fe-libs/ui";
|
|
10
|
+
import { gql as p } from "@apollo/client";
|
|
11
|
+
import { ApolloProvider as m, useMutation as h } from "@apollo/client/react";
|
|
12
|
+
import { useSafeGatewayClient as g } from "@burdenoff/fe-libs/shared/graphql";
|
|
13
|
+
import { CreateTaskCore as _ } from "@burdenoff/planmagnet-fe-sdk";
|
|
14
14
|
// src/healthybowl/components/CreateFarmTaskButton.tsx
|
|
15
|
-
var v =
|
|
15
|
+
var v = p`
|
|
16
16
|
mutation HealthyBowlLinkWorkItem($input: PlanmagnetCreateWorkItemLinkInput!) {
|
|
17
17
|
planmagnetLinkWorkItem(input: $input) {
|
|
18
18
|
id
|
|
@@ -20,65 +20,65 @@ var v = m`
|
|
|
20
20
|
}
|
|
21
21
|
`;
|
|
22
22
|
function y() {
|
|
23
|
-
let e =
|
|
24
|
-
return !!e &&
|
|
23
|
+
let e = g("workspace"), { workspaceId: n } = t(), { canManage: i } = r(n);
|
|
24
|
+
return !!e && i;
|
|
25
25
|
}
|
|
26
|
-
var b = ({ entityType:
|
|
27
|
-
let o =
|
|
28
|
-
return o ? /* @__PURE__ */
|
|
26
|
+
var b = ({ entityType: t, entityId: n, entityLabel: r, open: i, onOpenChange: a }) => {
|
|
27
|
+
let o = g("workspace");
|
|
28
|
+
return o ? /* @__PURE__ */ u(e, {
|
|
29
29
|
open: i,
|
|
30
30
|
onClose: () => a(!1),
|
|
31
31
|
title: "Create Farm Task",
|
|
32
32
|
description: `Create a task linked to ${r}.`,
|
|
33
|
-
icon:
|
|
34
|
-
children: /* @__PURE__ */
|
|
33
|
+
icon: c,
|
|
34
|
+
children: /* @__PURE__ */ u(m, {
|
|
35
35
|
client: o,
|
|
36
|
-
children: /* @__PURE__ */
|
|
36
|
+
children: /* @__PURE__ */ u(S, {
|
|
37
37
|
client: o,
|
|
38
|
-
entityType:
|
|
38
|
+
entityType: t,
|
|
39
39
|
entityId: n,
|
|
40
40
|
entityLabel: r,
|
|
41
41
|
onDone: () => a(!1)
|
|
42
42
|
})
|
|
43
43
|
})
|
|
44
44
|
}) : null;
|
|
45
|
-
}, x = ({ entityType: e, entityId: t, entityLabel: n, label: r = "Create Task", variant: i = "outline", size: a, iconOnly: o, title:
|
|
46
|
-
let g = y(), [_, v] =
|
|
47
|
-
return g ? /* @__PURE__ */
|
|
45
|
+
}, x = ({ entityType: e, entityId: t, entityLabel: n, label: r = "Create Task", variant: i = "outline", size: a, iconOnly: o, title: p, className: m, icon: h }) => {
|
|
46
|
+
let g = y(), [_, v] = s(!1);
|
|
47
|
+
return g ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ d(f, {
|
|
48
48
|
variant: i,
|
|
49
49
|
size: a,
|
|
50
50
|
onClick: () => v(!0),
|
|
51
51
|
className: m,
|
|
52
|
-
title:
|
|
53
|
-
"aria-label": o ?
|
|
54
|
-
children: [h ?? /* @__PURE__ */
|
|
52
|
+
title: p ?? (o ? r : void 0),
|
|
53
|
+
"aria-label": o ? p ?? r : void 0,
|
|
54
|
+
children: [h ?? /* @__PURE__ */ u(c, {
|
|
55
55
|
className: "size-4",
|
|
56
56
|
"aria-hidden": "true"
|
|
57
57
|
}), !o && r]
|
|
58
|
-
}), /* @__PURE__ */
|
|
58
|
+
}), /* @__PURE__ */ u(b, {
|
|
59
59
|
entityType: e,
|
|
60
60
|
entityId: t,
|
|
61
61
|
entityLabel: n,
|
|
62
62
|
open: _,
|
|
63
63
|
onOpenChange: v
|
|
64
64
|
})] }) : null;
|
|
65
|
-
}, S = ({ client:
|
|
66
|
-
let { workspaceId:
|
|
67
|
-
|
|
65
|
+
}, S = ({ client: e, entityType: r, entityId: s, entityLabel: c, onDone: l }) => {
|
|
66
|
+
let { workspaceId: f, currentUser: p } = t(), { projectId: m, loading: g, error: y, ensureProject: b } = n(e, f, p?.id);
|
|
67
|
+
o(() => {
|
|
68
68
|
b();
|
|
69
69
|
}, [b]);
|
|
70
|
-
let [x] =
|
|
70
|
+
let [x] = h(v), { toast: S } = i(), C = a(async (e) => {
|
|
71
71
|
try {
|
|
72
72
|
await x({ variables: { input: {
|
|
73
73
|
workItemId: e.id,
|
|
74
74
|
sourceProduct: "healthybowl",
|
|
75
|
-
entityType:
|
|
76
|
-
entityId:
|
|
77
|
-
displayNameSnapshot:
|
|
75
|
+
entityType: r,
|
|
76
|
+
entityId: s,
|
|
77
|
+
displayNameSnapshot: c,
|
|
78
78
|
deepLinkSnapshot: window.location.pathname + window.location.search
|
|
79
79
|
} } }), S({
|
|
80
80
|
title: "Task created",
|
|
81
|
-
description: `Linked to ${
|
|
81
|
+
description: `Linked to ${c}.`,
|
|
82
82
|
variant: "success"
|
|
83
83
|
});
|
|
84
84
|
} catch {
|
|
@@ -88,26 +88,26 @@ var b = ({ entityType: e, entityId: n, entityLabel: r, open: i, onOpenChange: a
|
|
|
88
88
|
variant: "warning"
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
|
-
|
|
91
|
+
l();
|
|
92
92
|
}, [
|
|
93
93
|
x,
|
|
94
|
-
|
|
94
|
+
r,
|
|
95
|
+
s,
|
|
95
96
|
c,
|
|
96
|
-
l,
|
|
97
97
|
S,
|
|
98
|
-
|
|
98
|
+
l
|
|
99
99
|
]);
|
|
100
|
-
return y ? /* @__PURE__ */
|
|
100
|
+
return y ? /* @__PURE__ */ d("p", {
|
|
101
101
|
className: "text-sm text-destructive",
|
|
102
102
|
children: ["Couldn't prepare the task project: ", y.message]
|
|
103
|
-
}) :
|
|
103
|
+
}) : g || !m ? /* @__PURE__ */ u("p", {
|
|
104
104
|
className: "text-sm text-muted-foreground",
|
|
105
105
|
children: "Preparing…"
|
|
106
|
-
}) : /* @__PURE__ */
|
|
107
|
-
workspaceId:
|
|
108
|
-
projectId:
|
|
106
|
+
}) : /* @__PURE__ */ u(_, {
|
|
107
|
+
workspaceId: f,
|
|
108
|
+
projectId: m,
|
|
109
109
|
hideHeader: !0,
|
|
110
|
-
defaultValues: { title: `${
|
|
110
|
+
defaultValues: { title: `${c}: ` },
|
|
111
111
|
hiddenFields: [
|
|
112
112
|
"type",
|
|
113
113
|
"storyPoints",
|
|
@@ -115,7 +115,7 @@ var b = ({ entityType: e, entityId: n, entityLabel: r, open: i, onOpenChange: a
|
|
|
115
115
|
],
|
|
116
116
|
submitLabel: "Create & link",
|
|
117
117
|
onCreated: C,
|
|
118
|
-
onCancel:
|
|
118
|
+
onCancel: l
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
121
|
export { x as CreateFarmTaskButton, b as CreateFarmTaskDialog, y as useCanCreateFarmTask };
|
|
@@ -1,65 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
1
|
+
import { ensureLeafletCss as e } from "../utils/leaflet.js";
|
|
2
|
+
import { useEffect as t, useRef as n } from "react";
|
|
3
|
+
import { useI18n as r } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
4
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
+
import a from "leaflet";
|
|
7
6
|
// src/healthybowl/components/DeliveryRouteMap.tsx
|
|
8
|
-
|
|
9
|
-
function c(e, t) {
|
|
7
|
+
function o(e, t) {
|
|
10
8
|
return typeof document > "u" ? t : getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
|
|
11
9
|
}
|
|
12
|
-
var
|
|
13
|
-
function
|
|
10
|
+
var s = (e, t) => typeof e == "number" && typeof t == "number" && Number.isFinite(e) && Number.isFinite(t) && e >= -90 && e <= 90 && t >= -180 && t <= 180 && (e !== 0 || t !== 0);
|
|
11
|
+
function c(e) {
|
|
14
12
|
switch (e) {
|
|
15
|
-
case "DELIVERED": return
|
|
16
|
-
case "ARRIVED": return
|
|
17
|
-
case "FAILED": return
|
|
18
|
-
default: return
|
|
13
|
+
case "DELIVERED": return o("--color-status-success-text", "#16a34a");
|
|
14
|
+
case "ARRIVED": return o("--color-status-warning-text", "#d97706");
|
|
15
|
+
case "FAILED": return o("--color-status-error-text", "#dc2626");
|
|
16
|
+
default: return o("--color-text-secondary", "#64748b");
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
|
-
var
|
|
22
|
-
let { t: p } =
|
|
23
|
-
return
|
|
19
|
+
var l = ({ stops: l, startLat: u, startLng: d, onStopClick: f }) => {
|
|
20
|
+
let { t: p } = r(), m = n(null), h = n(null), g = n(f);
|
|
21
|
+
return t(() => {
|
|
24
22
|
g.current = f;
|
|
25
|
-
}, [f]),
|
|
26
|
-
let
|
|
27
|
-
if (!
|
|
28
|
-
|
|
29
|
-
let
|
|
30
|
-
|
|
31
|
-
for (let e of
|
|
32
|
-
let f =
|
|
33
|
-
center:
|
|
34
|
-
zoom:
|
|
23
|
+
}, [f]), t(() => {
|
|
24
|
+
let t = m.current;
|
|
25
|
+
if (!t) return;
|
|
26
|
+
e();
|
|
27
|
+
let n = [...l].filter((e) => s(e.lat, e.lng)).sort((e, t) => e.sequence - t.sequence), r = s(u, d), i = [];
|
|
28
|
+
r && i.push([u, d]);
|
|
29
|
+
for (let e of n) i.push([e.lat, e.lng]);
|
|
30
|
+
let f = a.map(t, {
|
|
31
|
+
center: i[0] ?? [20, 78],
|
|
32
|
+
zoom: i[0] ? 11 : 4,
|
|
35
33
|
scrollWheelZoom: !0
|
|
36
34
|
});
|
|
37
|
-
h.current = f,
|
|
35
|
+
h.current = f, a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
|
38
36
|
attribution: "© OpenStreetMap contributors",
|
|
39
37
|
maxZoom: 19
|
|
40
|
-
}).addTo(f),
|
|
41
|
-
let _ =
|
|
42
|
-
|
|
38
|
+
}).addTo(f), a.control.scale({ imperial: !1 }).addTo(f);
|
|
39
|
+
let _ = o("--color-action-primary-bg", "#16a34a"), v = o("--color-action-primary-bg", "#16a34a");
|
|
40
|
+
i.length >= 2 && a.polyline(i, {
|
|
43
41
|
color: _,
|
|
44
42
|
weight: 3,
|
|
45
43
|
opacity: .75,
|
|
46
44
|
dashArray: "6 6"
|
|
47
45
|
}).addTo(f);
|
|
48
|
-
let y = (e, t, n) =>
|
|
46
|
+
let y = (e, t, n) => a.divIcon({
|
|
49
47
|
className: "hb-route-marker",
|
|
50
48
|
html: `<div style="width:${n}px;height:${n}px;border-radius:50%;background:${t};color:#fff;border:2px solid #fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.4)">${e}</div>`,
|
|
51
49
|
iconSize: [n, n],
|
|
52
50
|
iconAnchor: [n / 2, n / 2]
|
|
53
51
|
});
|
|
54
|
-
if (
|
|
52
|
+
if (r) {
|
|
55
53
|
let e = document.createElement("span");
|
|
56
|
-
e.textContent = p("healthybowl.distribution.routeMap.start", "Start / depot"),
|
|
54
|
+
e.textContent = p("healthybowl.distribution.routeMap.start", "Start / depot"), a.marker([u, d], { icon: y("•", v, 24) }).addTo(f).bindPopup(e);
|
|
57
55
|
}
|
|
58
|
-
if (
|
|
56
|
+
if (n.forEach((e) => {
|
|
59
57
|
let t = document.createElement("span");
|
|
60
|
-
t.textContent = `${e.sequence}. ${e.label}`,
|
|
61
|
-
}),
|
|
62
|
-
f.fitBounds(
|
|
58
|
+
t.textContent = `${e.sequence}. ${e.label}`, a.marker([e.lat, e.lng], { icon: y(String(e.sequence), c(e.status), 26) }).addTo(f).bindPopup(t).on("click", () => g.current?.(e.id));
|
|
59
|
+
}), i.length >= 1) try {
|
|
60
|
+
f.fitBounds(a.latLngBounds(i), {
|
|
63
61
|
padding: [32, 32],
|
|
64
62
|
maxZoom: 15
|
|
65
63
|
});
|
|
@@ -68,13 +66,13 @@ var d = ({ stops: e, startLat: t, startLng: d, onStopClick: f }) => {
|
|
|
68
66
|
f.remove(), h.current = null;
|
|
69
67
|
};
|
|
70
68
|
}, [
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
l,
|
|
70
|
+
u,
|
|
73
71
|
d,
|
|
74
72
|
p
|
|
75
|
-
]), /* @__PURE__ */
|
|
73
|
+
]), /* @__PURE__ */ i("div", {
|
|
76
74
|
ref: m,
|
|
77
75
|
className: "h-[60vh] max-h-[480px] w-full overflow-hidden rounded-md border border-border-subtle bg-bg-sunken"
|
|
78
76
|
});
|
|
79
77
|
};
|
|
80
|
-
export {
|
|
78
|
+
export { l as DeliveryRouteMap };
|