@burdenoff/microfe-healthybowl 2026.510.108
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/README.md +12 -0
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2712 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +1491 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/healthybowl/HealthyBowlRoot.d.ts +5 -0
- package/dist/healthybowl/HealthyBowlRoot.d.ts.map +1 -0
- package/dist/healthybowl/HealthyBowlRoot.js +159 -0
- package/dist/healthybowl/HealthyBowlRoot.js.map +1 -0
- package/dist/healthybowl/HealthyBowlRoutes.d.ts +7 -0
- package/dist/healthybowl/HealthyBowlRoutes.d.ts.map +1 -0
- package/dist/healthybowl/HealthyBowlRoutes.js +353 -0
- package/dist/healthybowl/HealthyBowlRoutes.js.map +1 -0
- package/dist/healthybowl/components/Breadcrumbs.d.ts +13 -0
- package/dist/healthybowl/components/Breadcrumbs.d.ts.map +1 -0
- package/dist/healthybowl/components/Breadcrumbs.js +31 -0
- package/dist/healthybowl/components/Breadcrumbs.js.map +1 -0
- package/dist/healthybowl/components/ChartCard.d.ts +12 -0
- package/dist/healthybowl/components/ChartCard.d.ts.map +1 -0
- package/dist/healthybowl/components/ChartCard.js +23 -0
- package/dist/healthybowl/components/ChartCard.js.map +1 -0
- package/dist/healthybowl/components/DataTable.d.ts +24 -0
- package/dist/healthybowl/components/DataTable.d.ts.map +1 -0
- package/dist/healthybowl/components/DataTable.js +126 -0
- package/dist/healthybowl/components/DataTable.js.map +1 -0
- package/dist/healthybowl/components/EmptyState.d.ts +12 -0
- package/dist/healthybowl/components/EmptyState.d.ts.map +1 -0
- package/dist/healthybowl/components/EmptyState.js +29 -0
- package/dist/healthybowl/components/EmptyState.js.map +1 -0
- package/dist/healthybowl/components/ErrorBoundary.d.ts +19 -0
- package/dist/healthybowl/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/healthybowl/components/ErrorBoundary.js +52 -0
- package/dist/healthybowl/components/ErrorBoundary.js.map +1 -0
- package/dist/healthybowl/components/FilterBar.d.ts +13 -0
- package/dist/healthybowl/components/FilterBar.d.ts.map +1 -0
- package/dist/healthybowl/components/FilterBar.js +31 -0
- package/dist/healthybowl/components/FilterBar.js.map +1 -0
- package/dist/healthybowl/components/LoadingSkeleton.d.ts +10 -0
- package/dist/healthybowl/components/LoadingSkeleton.d.ts.map +1 -0
- package/dist/healthybowl/components/LoadingSkeleton.js +1 -0
- package/dist/healthybowl/components/Modal.d.ts +14 -0
- package/dist/healthybowl/components/Modal.d.ts.map +1 -0
- package/dist/healthybowl/components/Modal.js +59 -0
- package/dist/healthybowl/components/Modal.js.map +1 -0
- package/dist/healthybowl/components/PageLayout.d.ts +12 -0
- package/dist/healthybowl/components/PageLayout.d.ts.map +1 -0
- package/dist/healthybowl/components/PageLayout.js +23 -0
- package/dist/healthybowl/components/PageLayout.js.map +1 -0
- package/dist/healthybowl/components/StatCard.d.ts +16 -0
- package/dist/healthybowl/components/StatCard.d.ts.map +1 -0
- package/dist/healthybowl/components/StatCard.js +53 -0
- package/dist/healthybowl/components/StatCard.js.map +1 -0
- package/dist/healthybowl/components/StatusBadge.d.ts +12 -0
- package/dist/healthybowl/components/StatusBadge.d.ts.map +1 -0
- package/dist/healthybowl/components/StatusBadge.js +25 -0
- package/dist/healthybowl/components/StatusBadge.js.map +1 -0
- package/dist/healthybowl/components/Toast.d.ts +21 -0
- package/dist/healthybowl/components/Toast.d.ts.map +1 -0
- package/dist/healthybowl/components/Toast.js +65 -0
- package/dist/healthybowl/components/Toast.js.map +1 -0
- package/dist/healthybowl/components/index.d.ts +16 -0
- package/dist/healthybowl/components/index.d.ts.map +1 -0
- package/dist/healthybowl/components/index.js +12 -0
- package/dist/healthybowl/context/HealthyBowlContext.d.ts +15 -0
- package/dist/healthybowl/context/HealthyBowlContext.d.ts.map +1 -0
- package/dist/healthybowl/context/HealthyBowlContext.js +28 -0
- package/dist/healthybowl/context/HealthyBowlContext.js.map +1 -0
- package/dist/healthybowl/hooks/index.d.ts +47 -0
- package/dist/healthybowl/hooks/index.d.ts.map +1 -0
- package/dist/healthybowl/hooks/useBasePath.d.ts +21 -0
- package/dist/healthybowl/hooks/useBasePath.d.ts.map +1 -0
- package/dist/healthybowl/hooks/useBasePath.js +14 -0
- package/dist/healthybowl/hooks/useBasePath.js.map +1 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.d.ts +194 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.d.ts.map +1 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.js +616 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.js.map +1 -0
- package/dist/healthybowl/hooks/useToast.d.ts +13 -0
- package/dist/healthybowl/hooks/useToast.d.ts.map +1 -0
- package/dist/healthybowl/hooks/useToast.js +26 -0
- package/dist/healthybowl/hooks/useToast.js.map +1 -0
- package/dist/healthybowl/index.d.ts +9 -0
- package/dist/healthybowl/index.d.ts.map +1 -0
- package/dist/healthybowl/index.js +3 -0
- package/dist/healthybowl/pages/HomePage.d.ts +4 -0
- package/dist/healthybowl/pages/HomePage.d.ts.map +1 -0
- package/dist/healthybowl/pages/HomePage.js +466 -0
- package/dist/healthybowl/pages/HomePage.js.map +1 -0
- package/dist/healthybowl/pages/analytics/AnalyticsDashboardPage.d.ts +2 -0
- package/dist/healthybowl/pages/analytics/AnalyticsDashboardPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/analytics/AnalyticsDashboardPage.js +237 -0
- package/dist/healthybowl/pages/analytics/AnalyticsDashboardPage.js.map +1 -0
- package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.d.ts +2 -0
- package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.js +148 -0
- package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.js.map +1 -0
- package/dist/healthybowl/pages/analytics/ExportPage.d.ts +2 -0
- package/dist/healthybowl/pages/analytics/ExportPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/analytics/ExportPage.js +226 -0
- package/dist/healthybowl/pages/analytics/ExportPage.js.map +1 -0
- package/dist/healthybowl/pages/analytics/InsightsPage.d.ts +2 -0
- package/dist/healthybowl/pages/analytics/InsightsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/analytics/InsightsPage.js +89 -0
- package/dist/healthybowl/pages/analytics/InsightsPage.js.map +1 -0
- package/dist/healthybowl/pages/analytics/ReportsPage.d.ts +2 -0
- package/dist/healthybowl/pages/analytics/ReportsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/analytics/ReportsPage.js +170 -0
- package/dist/healthybowl/pages/analytics/ReportsPage.js.map +1 -0
- package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.d.ts +2 -0
- package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.js +301 -0
- package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.js.map +1 -0
- package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.d.ts +2 -0
- package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.js +80 -0
- package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.js.map +1 -0
- package/dist/healthybowl/pages/compliance/OrganicCertificationPage.d.ts +2 -0
- package/dist/healthybowl/pages/compliance/OrganicCertificationPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js +179 -0
- package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/CropDetailsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/CropDetailsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/CropDetailsPage.js +605 -0
- package/dist/healthybowl/pages/crops/CropDetailsPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.js +381 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/CropHarvestPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/CropHarvestPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/CropHarvestPage.js +415 -0
- package/dist/healthybowl/pages/crops/CropHarvestPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/CropPlanningPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/CropPlanningPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/CropPlanningPage.js +449 -0
- package/dist/healthybowl/pages/crops/CropPlanningPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/CropsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/CropsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/CropsPage.js +664 -0
- package/dist/healthybowl/pages/crops/CropsPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/FieldDetailsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/FieldDetailsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js +578 -0
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +783 -0
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js.map +1 -0
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.d.ts +4 -0
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.js +717 -0
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.js.map +1 -0
- package/dist/healthybowl/pages/financial/BudgetManagementPage.d.ts +2 -0
- package/dist/healthybowl/pages/financial/BudgetManagementPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/financial/BudgetManagementPage.js +356 -0
- package/dist/healthybowl/pages/financial/BudgetManagementPage.js.map +1 -0
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.d.ts +2 -0
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.js +517 -0
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.js.map +1 -0
- package/dist/healthybowl/pages/financial/FinancialReportsPage.d.ts +2 -0
- package/dist/healthybowl/pages/financial/FinancialReportsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js +395 -0
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js.map +1 -0
- package/dist/healthybowl/pages/financial/InvoiceManagementPage.d.ts +2 -0
- package/dist/healthybowl/pages/financial/InvoiceManagementPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/financial/InvoiceManagementPage.js +558 -0
- package/dist/healthybowl/pages/financial/InvoiceManagementPage.js.map +1 -0
- package/dist/healthybowl/pages/financial/TransactionsPage.d.ts +2 -0
- package/dist/healthybowl/pages/financial/TransactionsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/financial/TransactionsPage.js +419 -0
- package/dist/healthybowl/pages/financial/TransactionsPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/AccessibilitySettingsPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/AccessibilitySettingsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/AccessibilitySettingsPage.js +278 -0
- package/dist/healthybowl/pages/government-schemes/AccessibilitySettingsPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +244 -0
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/CommunicationPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/CommunicationPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/CommunicationPage.js +510 -0
- package/dist/healthybowl/pages/government-schemes/CommunicationPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.js +261 -0
- package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +505 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js +321 -0
- package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js +337 -0
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.d.ts +2 -0
- package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.js +445 -0
- package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.js.map +1 -0
- package/dist/healthybowl/pages/index.d.ts +74 -0
- package/dist/healthybowl/pages/index.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js +776 -0
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js +610 -0
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.js +521 -0
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/FeedManagementPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/FeedManagementPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/FeedManagementPage.js +477 -0
- package/dist/healthybowl/pages/livestock/FeedManagementPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.js +617 -0
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js +416 -0
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js +495 -0
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js.map +1 -0
- package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.d.ts +4 -0
- package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.d.ts.map +1 -0
- package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js +625 -0
- package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js.map +1 -0
- package/dist/healthybowl/pages/marketplace/CartPage.d.ts +4 -0
- package/dist/healthybowl/pages/marketplace/CartPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/marketplace/CartPage.js +456 -0
- package/dist/healthybowl/pages/marketplace/CartPage.js.map +1 -0
- package/dist/healthybowl/pages/marketplace/MarketplacePage.d.ts +4 -0
- package/dist/healthybowl/pages/marketplace/MarketplacePage.d.ts.map +1 -0
- package/dist/healthybowl/pages/marketplace/MarketplacePage.js +486 -0
- package/dist/healthybowl/pages/marketplace/MarketplacePage.js.map +1 -0
- package/dist/healthybowl/pages/marketplace/OrdersPage.d.ts +4 -0
- package/dist/healthybowl/pages/marketplace/OrdersPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/marketplace/OrdersPage.js +459 -0
- package/dist/healthybowl/pages/marketplace/OrdersPage.js.map +1 -0
- package/dist/healthybowl/pages/marketplace/ProductDetailPage.d.ts +4 -0
- package/dist/healthybowl/pages/marketplace/ProductDetailPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/marketplace/ProductDetailPage.js +472 -0
- package/dist/healthybowl/pages/marketplace/ProductDetailPage.js.map +1 -0
- package/dist/healthybowl/pages/marketplace/WishlistPage.d.ts +4 -0
- package/dist/healthybowl/pages/marketplace/WishlistPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/marketplace/WishlistPage.js +323 -0
- package/dist/healthybowl/pages/marketplace/WishlistPage.js.map +1 -0
- package/dist/healthybowl/pages/network/CommunityPage.d.ts +4 -0
- package/dist/healthybowl/pages/network/CommunityPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/network/CommunityPage.js +404 -0
- package/dist/healthybowl/pages/network/CommunityPage.js.map +1 -0
- package/dist/healthybowl/pages/network/EventsPage.d.ts +4 -0
- package/dist/healthybowl/pages/network/EventsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/network/EventsPage.js +554 -0
- package/dist/healthybowl/pages/network/EventsPage.js.map +1 -0
- package/dist/healthybowl/pages/network/ExpertsPage.d.ts +4 -0
- package/dist/healthybowl/pages/network/ExpertsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/network/ExpertsPage.js +418 -0
- package/dist/healthybowl/pages/network/ExpertsPage.js.map +1 -0
- package/dist/healthybowl/pages/network/MentorsPage.d.ts +4 -0
- package/dist/healthybowl/pages/network/MentorsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/network/MentorsPage.js +603 -0
- package/dist/healthybowl/pages/network/MentorsPage.js.map +1 -0
- package/dist/healthybowl/pages/network/NetworkOverviewPage.d.ts +4 -0
- package/dist/healthybowl/pages/network/NetworkOverviewPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/network/NetworkOverviewPage.js +472 -0
- package/dist/healthybowl/pages/network/NetworkOverviewPage.js.map +1 -0
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.d.ts +2 -0
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.js +303 -0
- package/dist/healthybowl/pages/pest-management/PestIssuesPage.js.map +1 -0
- package/dist/healthybowl/pages/pest-management/PestMonitoringPage.d.ts +2 -0
- package/dist/healthybowl/pages/pest-management/PestMonitoringPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/pest-management/PestMonitoringPage.js +121 -0
- package/dist/healthybowl/pages/pest-management/PestMonitoringPage.js.map +1 -0
- package/dist/healthybowl/pages/pest-management/PestOverviewPage.d.ts +2 -0
- package/dist/healthybowl/pages/pest-management/PestOverviewPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/pest-management/PestOverviewPage.js +181 -0
- package/dist/healthybowl/pages/pest-management/PestOverviewPage.js.map +1 -0
- package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.d.ts +2 -0
- package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.js +308 -0
- package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.js.map +1 -0
- package/dist/healthybowl/pages/production/ProductionBatchesPage.d.ts +2 -0
- package/dist/healthybowl/pages/production/ProductionBatchesPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/production/ProductionBatchesPage.js +106 -0
- package/dist/healthybowl/pages/production/ProductionBatchesPage.js.map +1 -0
- package/dist/healthybowl/pages/production/ProductionPlanningPage.d.ts +2 -0
- package/dist/healthybowl/pages/production/ProductionPlanningPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/production/ProductionPlanningPage.js +187 -0
- package/dist/healthybowl/pages/production/ProductionPlanningPage.js.map +1 -0
- package/dist/healthybowl/pages/production/ProductionSchedulePage.d.ts +2 -0
- package/dist/healthybowl/pages/production/ProductionSchedulePage.d.ts.map +1 -0
- package/dist/healthybowl/pages/production/ProductionSchedulePage.js +143 -0
- package/dist/healthybowl/pages/production/ProductionSchedulePage.js.map +1 -0
- package/dist/healthybowl/pages/production/RecipeManagementPage.d.ts +2 -0
- package/dist/healthybowl/pages/production/RecipeManagementPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/production/RecipeManagementPage.js +405 -0
- package/dist/healthybowl/pages/production/RecipeManagementPage.js.map +1 -0
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.d.ts +2 -0
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.js +89 -0
- package/dist/healthybowl/pages/production/ValueAddedProductsPage.js.map +1 -0
- package/dist/healthybowl/pages/products/BatchesPage.d.ts +4 -0
- package/dist/healthybowl/pages/products/BatchesPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/products/BatchesPage.js +752 -0
- package/dist/healthybowl/pages/products/BatchesPage.js.map +1 -0
- package/dist/healthybowl/pages/products/InventoryPage.d.ts +4 -0
- package/dist/healthybowl/pages/products/InventoryPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/products/InventoryPage.js +463 -0
- package/dist/healthybowl/pages/products/InventoryPage.js.map +1 -0
- package/dist/healthybowl/pages/products/ProductsOverviewPage.d.ts +4 -0
- package/dist/healthybowl/pages/products/ProductsOverviewPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js +673 -0
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js.map +1 -0
- package/dist/healthybowl/pages/products/QualityPage.d.ts +4 -0
- package/dist/healthybowl/pages/products/QualityPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/products/QualityPage.js +876 -0
- package/dist/healthybowl/pages/products/QualityPage.js.map +1 -0
- package/dist/healthybowl/pages/soil/SoilDashboardPage.d.ts +2 -0
- package/dist/healthybowl/pages/soil/SoilDashboardPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/soil/SoilDashboardPage.js +163 -0
- package/dist/healthybowl/pages/soil/SoilDashboardPage.js.map +1 -0
- package/dist/healthybowl/pages/soil/SoilMonitoringPage.d.ts +2 -0
- package/dist/healthybowl/pages/soil/SoilMonitoringPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/soil/SoilMonitoringPage.js +116 -0
- package/dist/healthybowl/pages/soil/SoilMonitoringPage.js.map +1 -0
- package/dist/healthybowl/pages/soil/SoilRecommendationsPage.d.ts +2 -0
- package/dist/healthybowl/pages/soil/SoilRecommendationsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/soil/SoilRecommendationsPage.js +102 -0
- package/dist/healthybowl/pages/soil/SoilRecommendationsPage.js.map +1 -0
- package/dist/healthybowl/pages/soil/SoilTestsPage.d.ts +2 -0
- package/dist/healthybowl/pages/soil/SoilTestsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/soil/SoilTestsPage.js +272 -0
- package/dist/healthybowl/pages/soil/SoilTestsPage.js.map +1 -0
- package/dist/healthybowl/pages/traceability/BatchTrackingPage.d.ts +2 -0
- package/dist/healthybowl/pages/traceability/BatchTrackingPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/traceability/BatchTrackingPage.js +281 -0
- package/dist/healthybowl/pages/traceability/BatchTrackingPage.js.map +1 -0
- package/dist/healthybowl/pages/traceability/QRCodesPage.d.ts +2 -0
- package/dist/healthybowl/pages/traceability/QRCodesPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/traceability/QRCodesPage.js +92 -0
- package/dist/healthybowl/pages/traceability/QRCodesPage.js.map +1 -0
- package/dist/healthybowl/pages/traceability/SupplyChainPage.d.ts +2 -0
- package/dist/healthybowl/pages/traceability/SupplyChainPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/traceability/SupplyChainPage.js +116 -0
- package/dist/healthybowl/pages/traceability/SupplyChainPage.js.map +1 -0
- package/dist/healthybowl/pages/traceability/SupplyChainTrackingPage.d.ts +2 -0
- package/dist/healthybowl/pages/traceability/SupplyChainTrackingPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/traceability/SupplyChainTrackingPage.js +102 -0
- package/dist/healthybowl/pages/traceability/SupplyChainTrackingPage.js.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherAlertsPage.d.ts +4 -0
- package/dist/healthybowl/pages/weather/WeatherAlertsPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherAlertsPage.js +372 -0
- package/dist/healthybowl/pages/weather/WeatherAlertsPage.js.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherForecastPage.d.ts +4 -0
- package/dist/healthybowl/pages/weather/WeatherForecastPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherForecastPage.js +302 -0
- package/dist/healthybowl/pages/weather/WeatherForecastPage.js.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherHistoryPage.d.ts +4 -0
- package/dist/healthybowl/pages/weather/WeatherHistoryPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherHistoryPage.js +470 -0
- package/dist/healthybowl/pages/weather/WeatherHistoryPage.js.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherOverviewPage.d.ts +4 -0
- package/dist/healthybowl/pages/weather/WeatherOverviewPage.d.ts.map +1 -0
- package/dist/healthybowl/pages/weather/WeatherOverviewPage.js +505 -0
- package/dist/healthybowl/pages/weather/WeatherOverviewPage.js.map +1 -0
- package/dist/healthybowl/store/healthybowlStore.d.ts +78 -0
- package/dist/healthybowl/store/healthybowlStore.d.ts.map +1 -0
- package/dist/healthybowl/store/healthybowlStore.js +46 -0
- package/dist/healthybowl/store/healthybowlStore.js.map +1 -0
- package/dist/healthybowl/types/index.d.ts +558 -0
- package/dist/healthybowl/types/index.d.ts.map +1 -0
- package/dist/healthybowl/utils/helpers.d.ts +21 -0
- package/dist/healthybowl/utils/helpers.d.ts.map +1 -0
- package/dist/healthybowl/utils/helpers.js +26 -0
- package/dist/healthybowl/utils/helpers.js.map +1 -0
- package/dist/healthybowl/utils/index.d.ts +2 -0
- package/dist/healthybowl/utils/index.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +23 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +23 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +23 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_apply.js +19 -0
- package/dist/node_modules/lodash/_apply.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEvery.js +14 -0
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +17 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_asciiToArray.js +13 -0
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseEach.js +13 -0
- package/dist/node_modules/lodash/_baseEach.js.map +1 -0
- package/dist/node_modules/lodash/_baseEvery.js +18 -0
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseFor.js.map +1 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +17 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseGt.js +13 -0
- package/dist/node_modules/lodash/_baseGt.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +18 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +19 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +19 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseLt.js +13 -0
- package/dist/node_modules/lodash/_baseLt.js.map +1 -0
- package/dist/node_modules/lodash/_baseMap.js +19 -0
- package/dist/node_modules/lodash/_baseMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +15 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseRest.js.map +1 -0
- package/dist/node_modules/lodash/_baseSetToString.js +21 -0
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseSome.js +18 -0
- package/dist/node_modules/lodash/_baseSome.js.map +1 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +22 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +15 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +15 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +34 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +18 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_castSlice.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js.map +1 -0
- package/dist/node_modules/lodash/_compareAscending.js +20 -0
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
- package/dist/node_modules/lodash/_compareMultiple.js +19 -0
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseEach.js +20 -0
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
- package/dist/node_modules/lodash/_createFind.js +27 -0
- package/dist/node_modules/lodash/_createFind.js.map +1 -0
- package/dist/node_modules/lodash/_createRange.js +19 -0
- package/dist/node_modules/lodash/_createRange.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +16 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +42 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +42 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +39 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +17 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +17 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +28 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hasUnicode.js +14 -0
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +20 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +16 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +16 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +17 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +14 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +18 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +15 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +16 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +16 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +16 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_overRest.js +20 -0
- package/dist/node_modules/lodash/_overRest.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +12 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +16 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_setToString.js +13 -0
- package/dist/node_modules/lodash/_setToString.js.map +1 -0
- package/dist/node_modules/lodash/_shortOut.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +13 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToArray.js +17 -0
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +17 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +22 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
- package/dist/node_modules/lodash/constant.js +15 -0
- package/dist/node_modules/lodash/constant.js.map +1 -0
- package/dist/node_modules/lodash/debounce.js +57 -0
- package/dist/node_modules/lodash/debounce.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +13 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/every.js +20 -0
- package/dist/node_modules/lodash/every.js.map +1 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/find.js.map +1 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/findIndex.js.map +1 -0
- package/dist/node_modules/lodash/flatMap.js +16 -0
- package/dist/node_modules/lodash/flatMap.js.map +1 -0
- package/dist/node_modules/lodash/get.js +16 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +16 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +13 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +17 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +16 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBoolean.js +16 -0
- package/dist/node_modules/lodash/isBoolean.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +13 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isEqual.js +15 -0
- package/dist/node_modules/lodash/isEqual.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +14 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isNaN.js +15 -0
- package/dist/node_modules/lodash/isNaN.js.map +1 -0
- package/dist/node_modules/lodash/isNil.js +13 -0
- package/dist/node_modules/lodash/isNil.js.map +1 -0
- package/dist/node_modules/lodash/isNumber.js +16 -0
- package/dist/node_modules/lodash/isNumber.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +14 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isPlainObject.js +21 -0
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/isString.js +17 -0
- package/dist/node_modules/lodash/isString.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +17 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/last.js +14 -0
- package/dist/node_modules/lodash/last.js.map +1 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/map.js.map +1 -0
- package/dist/node_modules/lodash/mapValues.js +20 -0
- package/dist/node_modules/lodash/mapValues.js.map +1 -0
- package/dist/node_modules/lodash/max.js +17 -0
- package/dist/node_modules/lodash/max.js.map +1 -0
- package/dist/node_modules/lodash/maxBy.js +17 -0
- package/dist/node_modules/lodash/maxBy.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +22 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/min.js +17 -0
- package/dist/node_modules/lodash/min.js.map +1 -0
- package/dist/node_modules/lodash/minBy.js +17 -0
- package/dist/node_modules/lodash/minBy.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/now.js +14 -0
- package/dist/node_modules/lodash/now.js.map +1 -0
- package/dist/node_modules/lodash/property.js +18 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/range.js.map +1 -0
- package/dist/node_modules/lodash/some.js +20 -0
- package/dist/node_modules/lodash/some.js.map +1 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/sortBy.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +13 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +13 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/throttle.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +15 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +16 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +26 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +15 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +16 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/upperFirst.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/easing.js +152 -0
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/index.js +9 -0
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/util.js +92 -0
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +34 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +353 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +225 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +435 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +215 -0
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +268 -0
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Polygon.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +21 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +198 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +43 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/dist/utils/nativeBridge.js +2 -0
- package/package.json +107 -0
|
@@ -0,0 +1,505 @@
|
|
|
1
|
+
import { PageLayout as e } from "../../components/PageLayout.js";
|
|
2
|
+
import { StatusBadge as t } from "../../components/StatusBadge.js";
|
|
3
|
+
import { ToastContainer as n } from "../../components/Toast.js";
|
|
4
|
+
import "../../components/index.js";
|
|
5
|
+
import { useHealthyBowlData as r } from "../../hooks/useHealthyBowlData.js";
|
|
6
|
+
import { useToast as i } from "../../hooks/useToast.js";
|
|
7
|
+
import { useCallback as a, useMemo as o } from "react";
|
|
8
|
+
import { useI18n as s } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
9
|
+
import { AlertTriangle as c, ArrowDown as l, ArrowUp as u, Bell as d, Calendar as f, ChevronRight as p, Cloud as m, CloudLightning as h, CloudRain as g, Droplets as _, Eye as v, Gauge as y, MapPin as b, Sun as x, TrendingUp as S, Wind as C } from "lucide-react";
|
|
10
|
+
import { useNavigate as w } from "react-router-dom";
|
|
11
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
12
|
+
//#region src/healthybowl/pages/weather/WeatherOverviewPage.tsx
|
|
13
|
+
var D = (e) => e === "extreme" || e === "severe" ? "error" : e === "moderate" ? "warning" : "info", O = (e) => {
|
|
14
|
+
switch (e) {
|
|
15
|
+
case "extreme": return "border-l-red-600";
|
|
16
|
+
case "severe": return "border-l-red-500";
|
|
17
|
+
case "moderate": return "border-l-amber-500";
|
|
18
|
+
case "minor": return "border-l-sky-500";
|
|
19
|
+
default: return "border-l-border";
|
|
20
|
+
}
|
|
21
|
+
}, k = (e) => {
|
|
22
|
+
switch (e.toLowerCase()) {
|
|
23
|
+
case "sunny":
|
|
24
|
+
case "clear": return x;
|
|
25
|
+
case "partly cloudy": return m;
|
|
26
|
+
case "rain": return g;
|
|
27
|
+
case "thunderstorm": return h;
|
|
28
|
+
case "cloudy": return m;
|
|
29
|
+
default: return x;
|
|
30
|
+
}
|
|
31
|
+
}, A = (e) => e <= 2 ? "Low" : e <= 5 ? "Moderate" : e <= 7 ? "High" : e <= 10 ? "Very High" : "Extreme", j = () => {
|
|
32
|
+
let { weatherData: m } = r(), h = w(), { t: g } = s(), x = a((e, t) => {
|
|
33
|
+
let n = g(e);
|
|
34
|
+
return n === e ? t : n;
|
|
35
|
+
}, [g]), { toasts: j, toast: M, dismiss: N } = i(), P = m?.current ?? {
|
|
36
|
+
temperature: 0,
|
|
37
|
+
condition: "N/A",
|
|
38
|
+
feelsLike: 0,
|
|
39
|
+
humidity: 0,
|
|
40
|
+
windSpeed: 0,
|
|
41
|
+
windDirection: "",
|
|
42
|
+
uvIndex: 0,
|
|
43
|
+
pressure: 0,
|
|
44
|
+
visibility: 0,
|
|
45
|
+
icon: ""
|
|
46
|
+
}, F = m?.forecast ?? [], I = m?.alerts ?? [], L = m?.location ?? "", R = F[0] ?? {
|
|
47
|
+
high: P.temperature,
|
|
48
|
+
low: P.temperature,
|
|
49
|
+
precipitation: 0,
|
|
50
|
+
humidity: P.humidity,
|
|
51
|
+
windSpeed: P.windSpeed
|
|
52
|
+
}, z = o(() => {
|
|
53
|
+
let e = [];
|
|
54
|
+
P.humidity >= 40 && P.humidity <= 70 && P.temperature >= 15 && P.temperature <= 30 ? e.push({
|
|
55
|
+
title: "Good conditions for irrigation",
|
|
56
|
+
description: `Humidity at ${P.humidity}% and ${P.temperature}°C are optimal for watering crops`,
|
|
57
|
+
icon: S,
|
|
58
|
+
iconColor: "text-emerald-600"
|
|
59
|
+
}) : P.humidity > 70 ? e.push({
|
|
60
|
+
title: "Skip irrigation today",
|
|
61
|
+
description: `Humidity is high at ${P.humidity}% — soil moisture is likely adequate`,
|
|
62
|
+
icon: _,
|
|
63
|
+
iconColor: "text-sky-600"
|
|
64
|
+
}) : e.push({
|
|
65
|
+
title: "Increase irrigation",
|
|
66
|
+
description: `Low humidity at ${P.humidity}% — crops may need extra watering`,
|
|
67
|
+
icon: c,
|
|
68
|
+
iconColor: "text-amber-600"
|
|
69
|
+
});
|
|
70
|
+
let t = F.find((e) => e.precipitation > 50);
|
|
71
|
+
return t && e.push({
|
|
72
|
+
title: "Prepare for heavy rain",
|
|
73
|
+
description: `${t.precipitation}% precipitation expected on ${new Date(t.date).toLocaleDateString("en-US", { weekday: "short" })} — ensure proper drainage`,
|
|
74
|
+
icon: c,
|
|
75
|
+
iconColor: "text-amber-600"
|
|
76
|
+
}), P.windSpeed > 20 && e.push({
|
|
77
|
+
title: "Monitor wind-sensitive crops",
|
|
78
|
+
description: `Wind at ${P.windSpeed} km/h ${P.windDirection} — check support structures for tall crops`,
|
|
79
|
+
icon: C,
|
|
80
|
+
iconColor: "text-sky-600"
|
|
81
|
+
}), P.uvIndex >= 8 && e.push({
|
|
82
|
+
title: "High UV exposure",
|
|
83
|
+
description: `UV index at ${P.uvIndex} (${A(P.uvIndex)}) — consider shade protection for sensitive crops`,
|
|
84
|
+
icon: c,
|
|
85
|
+
iconColor: "text-red-600"
|
|
86
|
+
}), e.length === 0 && e.push({
|
|
87
|
+
title: "Conditions are stable",
|
|
88
|
+
description: "No immediate weather concerns for farming operations",
|
|
89
|
+
icon: S,
|
|
90
|
+
iconColor: "text-emerald-600"
|
|
91
|
+
}), e;
|
|
92
|
+
}, [P, F]), B = o(() => {
|
|
93
|
+
let e = P.temperature >= 15 && P.temperature <= 30 ? 90 : P.temperature >= 10 && P.temperature <= 35 ? 60 : 30, t = P.humidity >= 40 && P.humidity <= 70 ? 85 : 50, n = Math.round((e + t) / 2), r = n >= 80 ? "Excellent" : n >= 60 ? "Good" : n >= 40 ? "Moderate" : "Poor", i = n >= 60 ? "bg-emerald-500" : n >= 40 ? "bg-amber-500" : "bg-red-500", a = I.filter((e) => e.severity === "extreme" || e.severity === "severe").length, o = Math.min(100, Math.round(P.humidity / 100 * 60 + a * 15)), s = o >= 70 ? "High" : o >= 40 ? "Moderate" : "Low", c = o >= 70 ? "bg-red-500" : o >= 40 ? "bg-amber-500" : "bg-emerald-500", l = Math.min(100, Math.round(P.windSpeed / 50 * 100)), u = Math.min(100, Math.round(l * .4 + (P.temperature > 25 ? 30 : 10))), d = u >= 60 ? "High" : u >= 30 ? "Moderate" : "Low", f = u >= 60 ? "bg-red-500" : u >= 30 ? "bg-amber-500" : "bg-emerald-500", p = F.length > 0 ? F.reduce((e, t) => e + t.precipitation, 0) / F.length : 0, m = Math.max(0, Math.min(100, Math.round(100 - p - P.humidity * .5)));
|
|
94
|
+
return [
|
|
95
|
+
{
|
|
96
|
+
label: "Crop Growth Conditions",
|
|
97
|
+
level: r,
|
|
98
|
+
percent: n,
|
|
99
|
+
color: i
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: "Disease Risk",
|
|
103
|
+
level: s,
|
|
104
|
+
percent: o,
|
|
105
|
+
color: c
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
label: "Pest Activity",
|
|
109
|
+
level: d,
|
|
110
|
+
percent: u,
|
|
111
|
+
color: f
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
label: "Irrigation Need",
|
|
115
|
+
level: m >= 60 ? "High" : m >= 30 ? "Moderate" : "Low",
|
|
116
|
+
percent: m,
|
|
117
|
+
color: m >= 60 ? "bg-red-500" : m >= 30 ? "bg-amber-500" : "bg-sky-500"
|
|
118
|
+
}
|
|
119
|
+
];
|
|
120
|
+
}, [
|
|
121
|
+
P,
|
|
122
|
+
F,
|
|
123
|
+
I
|
|
124
|
+
]);
|
|
125
|
+
return /* @__PURE__ */ E(e, {
|
|
126
|
+
title: x("healthybowl.weather.overview.title", "Weather Dashboard"),
|
|
127
|
+
description: `${x("healthybowl.weather.overview.descriptionPrefix", "Real-time weather data and forecasts for")} ${L}`,
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ E("div", {
|
|
130
|
+
className: "grid grid-cols-2 gap-3 md:grid-cols-4",
|
|
131
|
+
children: [
|
|
132
|
+
/* @__PURE__ */ E("button", {
|
|
133
|
+
onClick: () => h("forecast"),
|
|
134
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50",
|
|
135
|
+
children: [/* @__PURE__ */ T(f, { className: "h-4 w-4 text-muted-foreground" }), x("healthybowl.weather.overview.quickNav.extendedForecast", "Extended Forecast")]
|
|
136
|
+
}),
|
|
137
|
+
/* @__PURE__ */ E("button", {
|
|
138
|
+
onClick: () => h("alerts"),
|
|
139
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50",
|
|
140
|
+
children: [/* @__PURE__ */ T(d, { className: "h-4 w-4 text-muted-foreground" }), x("healthybowl.weather.overview.quickNav.alertSettings", "Alert Settings")]
|
|
141
|
+
}),
|
|
142
|
+
/* @__PURE__ */ E("button", {
|
|
143
|
+
onClick: () => h("history"),
|
|
144
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50",
|
|
145
|
+
children: [/* @__PURE__ */ T(S, { className: "h-4 w-4 text-muted-foreground" }), x("healthybowl.weather.overview.quickNav.historicalData", "Historical Data")]
|
|
146
|
+
}),
|
|
147
|
+
/* @__PURE__ */ E("button", {
|
|
148
|
+
onClick: () => M({
|
|
149
|
+
title: "Weather Maps",
|
|
150
|
+
description: "Interactive weather maps coming soon.",
|
|
151
|
+
variant: "info"
|
|
152
|
+
}),
|
|
153
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50",
|
|
154
|
+
children: [/* @__PURE__ */ T(b, { className: "h-4 w-4 text-muted-foreground" }), " Weather Maps"]
|
|
155
|
+
})
|
|
156
|
+
]
|
|
157
|
+
}),
|
|
158
|
+
I.length > 0 && /* @__PURE__ */ E("div", {
|
|
159
|
+
className: "space-y-3",
|
|
160
|
+
children: [/* @__PURE__ */ E("div", {
|
|
161
|
+
className: "flex items-center justify-between",
|
|
162
|
+
children: [/* @__PURE__ */ T("h2", {
|
|
163
|
+
className: "text-base font-semibold text-foreground",
|
|
164
|
+
children: "Weather Alerts"
|
|
165
|
+
}), /* @__PURE__ */ E("button", {
|
|
166
|
+
onClick: () => h("alerts"),
|
|
167
|
+
className: "inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground",
|
|
168
|
+
children: ["Manage Alerts ", /* @__PURE__ */ T(p, { className: "h-3.5 w-3.5" })]
|
|
169
|
+
})]
|
|
170
|
+
}), I.map((e) => /* @__PURE__ */ T("div", {
|
|
171
|
+
className: `rounded-lg border border-border border-l-4 bg-card p-4 ${O(e.severity)}`,
|
|
172
|
+
children: /* @__PURE__ */ E("div", {
|
|
173
|
+
className: "flex items-start gap-3",
|
|
174
|
+
children: [/* @__PURE__ */ T(c, { className: "mt-0.5 h-5 w-5 shrink-0 text-amber-500" }), /* @__PURE__ */ E("div", {
|
|
175
|
+
className: "flex-1",
|
|
176
|
+
children: [
|
|
177
|
+
/* @__PURE__ */ E("div", {
|
|
178
|
+
className: "flex flex-wrap items-center gap-2",
|
|
179
|
+
children: [/* @__PURE__ */ T("h3", {
|
|
180
|
+
className: "text-sm font-medium text-foreground",
|
|
181
|
+
children: e.title
|
|
182
|
+
}), /* @__PURE__ */ T(t, {
|
|
183
|
+
label: e.severity,
|
|
184
|
+
variant: D(e.severity)
|
|
185
|
+
})]
|
|
186
|
+
}),
|
|
187
|
+
/* @__PURE__ */ T("p", {
|
|
188
|
+
className: "mt-1 text-sm text-muted-foreground",
|
|
189
|
+
children: e.description
|
|
190
|
+
}),
|
|
191
|
+
/* @__PURE__ */ E("p", {
|
|
192
|
+
className: "mt-1 text-xs text-muted-foreground",
|
|
193
|
+
children: ["Affected: ", (e.affectedAreas ?? []).join(", ")]
|
|
194
|
+
})
|
|
195
|
+
]
|
|
196
|
+
})]
|
|
197
|
+
})
|
|
198
|
+
}, e.id))]
|
|
199
|
+
}),
|
|
200
|
+
/* @__PURE__ */ E("div", {
|
|
201
|
+
className: "grid grid-cols-1 gap-4 lg:grid-cols-3",
|
|
202
|
+
children: [/* @__PURE__ */ E("div", {
|
|
203
|
+
className: "rounded-lg border border-border bg-card p-6 lg:col-span-2",
|
|
204
|
+
children: [/* @__PURE__ */ E("div", {
|
|
205
|
+
className: "mb-4 flex items-center gap-2",
|
|
206
|
+
children: [/* @__PURE__ */ T(k(P.condition), { className: "h-8 w-8 text-muted-foreground" }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h3", {
|
|
207
|
+
className: "text-sm font-semibold text-foreground",
|
|
208
|
+
children: "Current Weather"
|
|
209
|
+
}), /* @__PURE__ */ E("p", {
|
|
210
|
+
className: "text-xs text-muted-foreground",
|
|
211
|
+
children: ["Last updated: ", (/* @__PURE__ */ new Date()).toLocaleString()]
|
|
212
|
+
})] })]
|
|
213
|
+
}), /* @__PURE__ */ E("div", {
|
|
214
|
+
className: "grid grid-cols-2 gap-6 md:grid-cols-4",
|
|
215
|
+
children: [
|
|
216
|
+
/* @__PURE__ */ E("div", {
|
|
217
|
+
className: "text-center",
|
|
218
|
+
children: [
|
|
219
|
+
/* @__PURE__ */ E("div", {
|
|
220
|
+
className: "text-3xl font-bold text-foreground",
|
|
221
|
+
children: [P.temperature, "°C"]
|
|
222
|
+
}),
|
|
223
|
+
/* @__PURE__ */ E("div", {
|
|
224
|
+
className: "text-sm text-muted-foreground",
|
|
225
|
+
children: [
|
|
226
|
+
"Feels like ",
|
|
227
|
+
P.feelsLike,
|
|
228
|
+
"°C"
|
|
229
|
+
]
|
|
230
|
+
}),
|
|
231
|
+
/* @__PURE__ */ T("div", {
|
|
232
|
+
className: "mt-1 text-sm font-medium text-foreground",
|
|
233
|
+
children: P.condition
|
|
234
|
+
})
|
|
235
|
+
]
|
|
236
|
+
}),
|
|
237
|
+
/* @__PURE__ */ E("div", {
|
|
238
|
+
className: "space-y-2",
|
|
239
|
+
children: [/* @__PURE__ */ E("div", {
|
|
240
|
+
className: "flex items-center gap-2",
|
|
241
|
+
children: [/* @__PURE__ */ T(_, { className: "h-4 w-4 text-sky-500" }), /* @__PURE__ */ E("span", {
|
|
242
|
+
className: "text-sm text-foreground",
|
|
243
|
+
children: [
|
|
244
|
+
"Humidity: ",
|
|
245
|
+
P.humidity,
|
|
246
|
+
"%"
|
|
247
|
+
]
|
|
248
|
+
})]
|
|
249
|
+
}), /* @__PURE__ */ E("div", {
|
|
250
|
+
className: "flex items-center gap-2",
|
|
251
|
+
children: [/* @__PURE__ */ T(C, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ E("span", {
|
|
252
|
+
className: "text-sm text-foreground",
|
|
253
|
+
children: [
|
|
254
|
+
"Wind: ",
|
|
255
|
+
P.windSpeed,
|
|
256
|
+
" km/h ",
|
|
257
|
+
P.windDirection
|
|
258
|
+
]
|
|
259
|
+
})]
|
|
260
|
+
})]
|
|
261
|
+
}),
|
|
262
|
+
/* @__PURE__ */ E("div", {
|
|
263
|
+
className: "space-y-2",
|
|
264
|
+
children: [/* @__PURE__ */ E("div", {
|
|
265
|
+
className: "flex items-center gap-2",
|
|
266
|
+
children: [/* @__PURE__ */ T(y, { className: "h-4 w-4 text-purple-500" }), /* @__PURE__ */ E("span", {
|
|
267
|
+
className: "text-sm text-foreground",
|
|
268
|
+
children: [
|
|
269
|
+
"Pressure: ",
|
|
270
|
+
P.pressure,
|
|
271
|
+
" hPa"
|
|
272
|
+
]
|
|
273
|
+
})]
|
|
274
|
+
}), /* @__PURE__ */ E("div", {
|
|
275
|
+
className: "flex items-center gap-2",
|
|
276
|
+
children: [/* @__PURE__ */ T(v, { className: "h-4 w-4 text-emerald-500" }), /* @__PURE__ */ E("span", {
|
|
277
|
+
className: "text-sm text-foreground",
|
|
278
|
+
children: [
|
|
279
|
+
"Visibility: ",
|
|
280
|
+
P.visibility,
|
|
281
|
+
" km"
|
|
282
|
+
]
|
|
283
|
+
})]
|
|
284
|
+
})]
|
|
285
|
+
}),
|
|
286
|
+
/* @__PURE__ */ T("div", {
|
|
287
|
+
className: "space-y-2",
|
|
288
|
+
children: /* @__PURE__ */ E("div", {
|
|
289
|
+
className: "text-sm",
|
|
290
|
+
children: [/* @__PURE__ */ T("span", {
|
|
291
|
+
className: "text-muted-foreground",
|
|
292
|
+
children: "UV Index: "
|
|
293
|
+
}), /* @__PURE__ */ E("span", {
|
|
294
|
+
className: "font-medium text-foreground",
|
|
295
|
+
children: [
|
|
296
|
+
P.uvIndex,
|
|
297
|
+
" (",
|
|
298
|
+
A(P.uvIndex),
|
|
299
|
+
")"
|
|
300
|
+
]
|
|
301
|
+
})]
|
|
302
|
+
})
|
|
303
|
+
})
|
|
304
|
+
]
|
|
305
|
+
})]
|
|
306
|
+
}), /* @__PURE__ */ E("div", {
|
|
307
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
308
|
+
children: [/* @__PURE__ */ T("h3", {
|
|
309
|
+
className: "text-sm font-semibold text-foreground",
|
|
310
|
+
children: "Today's Summary"
|
|
311
|
+
}), /* @__PURE__ */ E("div", {
|
|
312
|
+
className: "mt-4 space-y-4",
|
|
313
|
+
children: [
|
|
314
|
+
/* @__PURE__ */ E("div", {
|
|
315
|
+
className: "flex items-center justify-between",
|
|
316
|
+
children: [/* @__PURE__ */ T("span", {
|
|
317
|
+
className: "text-sm text-muted-foreground",
|
|
318
|
+
children: "High"
|
|
319
|
+
}), /* @__PURE__ */ E("div", {
|
|
320
|
+
className: "flex items-center gap-1",
|
|
321
|
+
children: [/* @__PURE__ */ T(u, { className: "h-3.5 w-3.5 text-red-500" }), /* @__PURE__ */ E("span", {
|
|
322
|
+
className: "font-medium text-foreground",
|
|
323
|
+
children: [R.high, "°C"]
|
|
324
|
+
})]
|
|
325
|
+
})]
|
|
326
|
+
}),
|
|
327
|
+
/* @__PURE__ */ E("div", {
|
|
328
|
+
className: "flex items-center justify-between",
|
|
329
|
+
children: [/* @__PURE__ */ T("span", {
|
|
330
|
+
className: "text-sm text-muted-foreground",
|
|
331
|
+
children: "Low"
|
|
332
|
+
}), /* @__PURE__ */ E("div", {
|
|
333
|
+
className: "flex items-center gap-1",
|
|
334
|
+
children: [/* @__PURE__ */ T(l, { className: "h-3.5 w-3.5 text-sky-500" }), /* @__PURE__ */ E("span", {
|
|
335
|
+
className: "font-medium text-foreground",
|
|
336
|
+
children: [R.low, "°C"]
|
|
337
|
+
})]
|
|
338
|
+
})]
|
|
339
|
+
}),
|
|
340
|
+
/* @__PURE__ */ E("div", {
|
|
341
|
+
className: "flex items-center justify-between",
|
|
342
|
+
children: [/* @__PURE__ */ T("span", {
|
|
343
|
+
className: "text-sm text-muted-foreground",
|
|
344
|
+
children: "Precipitation"
|
|
345
|
+
}), /* @__PURE__ */ E("span", {
|
|
346
|
+
className: "font-medium text-foreground",
|
|
347
|
+
children: [R.precipitation, "%"]
|
|
348
|
+
})]
|
|
349
|
+
}),
|
|
350
|
+
/* @__PURE__ */ E("div", {
|
|
351
|
+
className: "flex items-center justify-between",
|
|
352
|
+
children: [/* @__PURE__ */ T("span", {
|
|
353
|
+
className: "text-sm text-muted-foreground",
|
|
354
|
+
children: "Humidity"
|
|
355
|
+
}), /* @__PURE__ */ E("span", {
|
|
356
|
+
className: "font-medium text-foreground",
|
|
357
|
+
children: [R.humidity, "%"]
|
|
358
|
+
})]
|
|
359
|
+
}),
|
|
360
|
+
/* @__PURE__ */ E("div", {
|
|
361
|
+
className: "flex items-center justify-between",
|
|
362
|
+
children: [/* @__PURE__ */ T("span", {
|
|
363
|
+
className: "text-sm text-muted-foreground",
|
|
364
|
+
children: "Wind Speed"
|
|
365
|
+
}), /* @__PURE__ */ E("span", {
|
|
366
|
+
className: "font-medium text-foreground",
|
|
367
|
+
children: [R.windSpeed, " km/h"]
|
|
368
|
+
})]
|
|
369
|
+
})
|
|
370
|
+
]
|
|
371
|
+
})]
|
|
372
|
+
})]
|
|
373
|
+
}),
|
|
374
|
+
/* @__PURE__ */ E("div", {
|
|
375
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
376
|
+
children: [/* @__PURE__ */ E("div", {
|
|
377
|
+
className: "mb-4 flex items-center justify-between",
|
|
378
|
+
children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h3", {
|
|
379
|
+
className: "text-base font-semibold text-foreground",
|
|
380
|
+
children: "7-Day Forecast"
|
|
381
|
+
}), /* @__PURE__ */ T("p", {
|
|
382
|
+
className: "text-xs text-muted-foreground",
|
|
383
|
+
children: "Click on any day for detailed forecast"
|
|
384
|
+
})] }), /* @__PURE__ */ E("button", {
|
|
385
|
+
onClick: () => h("forecast"),
|
|
386
|
+
className: "inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground",
|
|
387
|
+
children: ["View Extended Forecast ", /* @__PURE__ */ T(p, { className: "h-3.5 w-3.5" })]
|
|
388
|
+
})]
|
|
389
|
+
}), /* @__PURE__ */ T("div", {
|
|
390
|
+
className: "space-y-2",
|
|
391
|
+
children: F.map((e, t) => {
|
|
392
|
+
let n = k(e.condition);
|
|
393
|
+
return /* @__PURE__ */ E("div", {
|
|
394
|
+
onClick: () => h("forecast"),
|
|
395
|
+
className: "flex cursor-pointer items-center justify-between rounded-lg px-3 py-2.5 transition-colors hover:bg-muted/50",
|
|
396
|
+
children: [/* @__PURE__ */ E("div", {
|
|
397
|
+
className: "flex items-center gap-3 flex-1",
|
|
398
|
+
children: [
|
|
399
|
+
/* @__PURE__ */ T("span", {
|
|
400
|
+
className: "w-14 text-sm font-medium text-foreground",
|
|
401
|
+
children: t === 0 ? "Today" : new Date(e.date).toLocaleDateString("en-US", { weekday: "short" })
|
|
402
|
+
}),
|
|
403
|
+
/* @__PURE__ */ T(n, { className: "h-5 w-5 text-muted-foreground" }),
|
|
404
|
+
/* @__PURE__ */ T("span", {
|
|
405
|
+
className: "text-sm text-foreground",
|
|
406
|
+
children: e.condition
|
|
407
|
+
})
|
|
408
|
+
]
|
|
409
|
+
}), /* @__PURE__ */ E("div", {
|
|
410
|
+
className: "flex items-center gap-4 text-sm",
|
|
411
|
+
children: [/* @__PURE__ */ E("div", {
|
|
412
|
+
className: "flex items-center gap-1",
|
|
413
|
+
children: [/* @__PURE__ */ T(_, { className: "h-3 w-3 text-sky-500" }), /* @__PURE__ */ E("span", {
|
|
414
|
+
className: "text-foreground",
|
|
415
|
+
children: [e.precipitation, "%"]
|
|
416
|
+
})]
|
|
417
|
+
}), /* @__PURE__ */ E("div", {
|
|
418
|
+
className: "flex items-center gap-2",
|
|
419
|
+
children: [/* @__PURE__ */ E("span", {
|
|
420
|
+
className: "font-medium text-foreground",
|
|
421
|
+
children: [e.high, "°"]
|
|
422
|
+
}), /* @__PURE__ */ E("span", {
|
|
423
|
+
className: "text-muted-foreground",
|
|
424
|
+
children: [e.low, "°"]
|
|
425
|
+
})]
|
|
426
|
+
})]
|
|
427
|
+
})]
|
|
428
|
+
}, e.date);
|
|
429
|
+
})
|
|
430
|
+
})]
|
|
431
|
+
}),
|
|
432
|
+
/* @__PURE__ */ E("div", {
|
|
433
|
+
className: "grid grid-cols-1 gap-4 md:grid-cols-2",
|
|
434
|
+
children: [/* @__PURE__ */ E("div", {
|
|
435
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
436
|
+
children: [
|
|
437
|
+
/* @__PURE__ */ T("h3", {
|
|
438
|
+
className: "text-base font-semibold text-foreground",
|
|
439
|
+
children: "Farming Recommendations"
|
|
440
|
+
}),
|
|
441
|
+
/* @__PURE__ */ T("p", {
|
|
442
|
+
className: "text-xs text-muted-foreground",
|
|
443
|
+
children: "AI-powered insights based on current conditions"
|
|
444
|
+
}),
|
|
445
|
+
/* @__PURE__ */ T("div", {
|
|
446
|
+
className: "mt-4 space-y-3",
|
|
447
|
+
children: z.map((e) => {
|
|
448
|
+
let t = e.icon;
|
|
449
|
+
return /* @__PURE__ */ E("div", {
|
|
450
|
+
className: "flex items-start gap-3 rounded-lg bg-muted/50 p-3",
|
|
451
|
+
children: [/* @__PURE__ */ T(t, { className: `mt-0.5 h-5 w-5 shrink-0 ${e.iconColor}` }), /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("p", {
|
|
452
|
+
className: "text-sm font-medium text-foreground",
|
|
453
|
+
children: e.title
|
|
454
|
+
}), /* @__PURE__ */ T("p", {
|
|
455
|
+
className: "text-xs text-muted-foreground",
|
|
456
|
+
children: e.description
|
|
457
|
+
})] })]
|
|
458
|
+
}, e.title);
|
|
459
|
+
})
|
|
460
|
+
})
|
|
461
|
+
]
|
|
462
|
+
}), /* @__PURE__ */ E("div", {
|
|
463
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
464
|
+
children: [
|
|
465
|
+
/* @__PURE__ */ T("h3", {
|
|
466
|
+
className: "text-base font-semibold text-foreground",
|
|
467
|
+
children: "Weather Impact Analysis"
|
|
468
|
+
}),
|
|
469
|
+
/* @__PURE__ */ T("p", {
|
|
470
|
+
className: "text-xs text-muted-foreground",
|
|
471
|
+
children: "Impact on farming operations"
|
|
472
|
+
}),
|
|
473
|
+
/* @__PURE__ */ T("div", {
|
|
474
|
+
className: "mt-4 space-y-4",
|
|
475
|
+
children: B.map(({ label: e, level: t, percent: n, color: r }) => /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ E("div", {
|
|
476
|
+
className: "mb-1.5 flex items-center justify-between",
|
|
477
|
+
children: [/* @__PURE__ */ T("span", {
|
|
478
|
+
className: "text-sm font-medium text-foreground",
|
|
479
|
+
children: e
|
|
480
|
+
}), /* @__PURE__ */ T("span", {
|
|
481
|
+
className: "text-sm font-medium text-muted-foreground",
|
|
482
|
+
children: t
|
|
483
|
+
})]
|
|
484
|
+
}), /* @__PURE__ */ T("div", {
|
|
485
|
+
className: "h-2 w-full rounded-full bg-muted",
|
|
486
|
+
children: /* @__PURE__ */ T("div", {
|
|
487
|
+
className: `h-2 rounded-full transition-all ${r}`,
|
|
488
|
+
style: { width: `${n}%` }
|
|
489
|
+
})
|
|
490
|
+
})] }, e))
|
|
491
|
+
})
|
|
492
|
+
]
|
|
493
|
+
})]
|
|
494
|
+
}),
|
|
495
|
+
/* @__PURE__ */ T(n, {
|
|
496
|
+
toasts: j,
|
|
497
|
+
onDismiss: N
|
|
498
|
+
})
|
|
499
|
+
]
|
|
500
|
+
});
|
|
501
|
+
};
|
|
502
|
+
//#endregion
|
|
503
|
+
export { j as WeatherOverviewPage };
|
|
504
|
+
|
|
505
|
+
//# sourceMappingURL=WeatherOverviewPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeatherOverviewPage.js","names":[],"sources":["../../../../src/healthybowl/pages/weather/WeatherOverviewPage.tsx"],"sourcesContent":["import { useMemo, useCallback, type FC } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport {\n Cloud,\n CloudRain,\n Sun,\n CloudLightning,\n Wind,\n Droplets,\n Eye,\n Gauge,\n AlertTriangle,\n TrendingUp,\n Calendar,\n Bell,\n MapPin,\n ChevronRight,\n ArrowUp,\n ArrowDown,\n} from 'lucide-react';\nimport { PageLayout, StatusBadge } from '../../components';\nimport { ToastContainer } from '../../components/Toast';\nimport { useToast } from '../../hooks/useToast';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\n\nconst severityVariant = (s: string) =>\n s === 'extreme' || s === 'severe' ? ('error' as const) : s === 'moderate' ? ('warning' as const) : ('info' as const);\n\nconst severityBorder = (s: string) => {\n switch (s) {\n case 'extreme':\n return 'border-l-red-600';\n case 'severe':\n return 'border-l-red-500';\n case 'moderate':\n return 'border-l-amber-500';\n case 'minor':\n return 'border-l-sky-500';\n default:\n return 'border-l-border';\n }\n};\n\nconst getWeatherIcon = (condition: string) => {\n switch (condition.toLowerCase()) {\n case 'sunny':\n case 'clear':\n return Sun;\n case 'partly cloudy':\n return Cloud;\n case 'rain':\n return CloudRain;\n case 'thunderstorm':\n return CloudLightning;\n case 'cloudy':\n return Cloud;\n default:\n return Sun;\n }\n};\n\nconst getUVLabel = (uv: number) => {\n if (uv <= 2) return 'Low';\n if (uv <= 5) return 'Moderate';\n if (uv <= 7) return 'High';\n if (uv <= 10) return 'Very High';\n return 'Extreme';\n};\n\nexport const WeatherOverviewPage: FC = () => {\n const { weatherData } = useHealthyBowlData();\n\n const navigate = useNavigate();\n const { t: translate } = useI18n();\n const t = useCallback(\n (key: string, fallback: string): string => {\n const value = translate(key);\n return value === key ? fallback : value;\n },\n [translate]\n );\n const { toasts, toast, dismiss } = useToast();\n const defaultCurrent = {\n temperature: 0,\n condition: 'N/A',\n feelsLike: 0,\n humidity: 0,\n windSpeed: 0,\n windDirection: '',\n uvIndex: 0,\n pressure: 0,\n visibility: 0,\n icon: '',\n };\n const current = weatherData?.current ?? defaultCurrent;\n const forecast = weatherData?.forecast ?? [];\n const alerts = weatherData?.alerts ?? [];\n const location = weatherData?.location ?? '';\n const todayForecast =\n forecast[0] ??\n ({\n high: current.temperature,\n low: current.temperature,\n precipitation: 0,\n humidity: current.humidity,\n windSpeed: current.windSpeed,\n } as const);\n\n // Derive farming recommendations from actual weather conditions\n const farmingRecommendations = useMemo(() => {\n const recs: { title: string; description: string; icon: typeof TrendingUp; iconColor: string }[] = [];\n if (current.humidity >= 40 && current.humidity <= 70 && current.temperature >= 15 && current.temperature <= 30) {\n recs.push({\n title: 'Good conditions for irrigation',\n description: `Humidity at ${current.humidity}% and ${current.temperature}°C are optimal for watering crops`,\n icon: TrendingUp,\n iconColor: 'text-emerald-600',\n });\n } else if (current.humidity > 70) {\n recs.push({\n title: 'Skip irrigation today',\n description: `Humidity is high at ${current.humidity}% — soil moisture is likely adequate`,\n icon: Droplets,\n iconColor: 'text-sky-600',\n });\n } else {\n recs.push({\n title: 'Increase irrigation',\n description: `Low humidity at ${current.humidity}% — crops may need extra watering`,\n icon: AlertTriangle,\n iconColor: 'text-amber-600',\n });\n }\n const rainForecast = forecast.find((d) => d.precipitation > 50);\n if (rainForecast) {\n recs.push({\n title: 'Prepare for heavy rain',\n description: `${rainForecast.precipitation}% precipitation expected on ${new Date(rainForecast.date).toLocaleDateString('en-US', { weekday: 'short' })} — ensure proper drainage`,\n icon: AlertTriangle,\n iconColor: 'text-amber-600',\n });\n }\n if (current.windSpeed > 20) {\n recs.push({\n title: 'Monitor wind-sensitive crops',\n description: `Wind at ${current.windSpeed} km/h ${current.windDirection} — check support structures for tall crops`,\n icon: Wind,\n iconColor: 'text-sky-600',\n });\n }\n if (current.uvIndex >= 8) {\n recs.push({\n title: 'High UV exposure',\n description: `UV index at ${current.uvIndex} (${getUVLabel(current.uvIndex)}) — consider shade protection for sensitive crops`,\n icon: AlertTriangle,\n iconColor: 'text-red-600',\n });\n }\n if (recs.length === 0) {\n recs.push({\n title: 'Conditions are stable',\n description: 'No immediate weather concerns for farming operations',\n icon: TrendingUp,\n iconColor: 'text-emerald-600',\n });\n }\n return recs;\n }, [current, forecast]);\n\n // Derive weather impact metrics from forecast/alert data\n const weatherImpactMetrics = useMemo(() => {\n const tempScore =\n current.temperature >= 15 && current.temperature <= 30\n ? 90\n : current.temperature >= 10 && current.temperature <= 35\n ? 60\n : 30;\n const humidityScore = current.humidity >= 40 && current.humidity <= 70 ? 85 : 50;\n const growthPercent = Math.round((tempScore + humidityScore) / 2);\n const growthLevel =\n growthPercent >= 80 ? 'Excellent' : growthPercent >= 60 ? 'Good' : growthPercent >= 40 ? 'Moderate' : 'Poor';\n const growthColor = growthPercent >= 60 ? 'bg-emerald-500' : growthPercent >= 40 ? 'bg-amber-500' : 'bg-red-500';\n\n const severeAlerts = alerts.filter((a) => a.severity === 'extreme' || a.severity === 'severe').length;\n const diseasePercent = Math.min(100, Math.round((current.humidity / 100) * 60 + severeAlerts * 15));\n const diseaseLevel = diseasePercent >= 70 ? 'High' : diseasePercent >= 40 ? 'Moderate' : 'Low';\n const diseaseColor = diseasePercent >= 70 ? 'bg-red-500' : diseasePercent >= 40 ? 'bg-amber-500' : 'bg-emerald-500';\n\n const windFactor = Math.min(100, Math.round((current.windSpeed / 50) * 100));\n const pestPercent = Math.min(100, Math.round(windFactor * 0.4 + (current.temperature > 25 ? 30 : 10)));\n const pestLevel = pestPercent >= 60 ? 'High' : pestPercent >= 30 ? 'Moderate' : 'Low';\n const pestColor = pestPercent >= 60 ? 'bg-red-500' : pestPercent >= 30 ? 'bg-amber-500' : 'bg-emerald-500';\n\n const avgPrecip = forecast.length > 0 ? forecast.reduce((s, d) => s + d.precipitation, 0) / forecast.length : 0;\n const irrigationPercent = Math.max(0, Math.min(100, Math.round(100 - avgPrecip - current.humidity * 0.5)));\n const irrigationLevel = irrigationPercent >= 60 ? 'High' : irrigationPercent >= 30 ? 'Moderate' : 'Low';\n const irrigationColor =\n irrigationPercent >= 60 ? 'bg-red-500' : irrigationPercent >= 30 ? 'bg-amber-500' : 'bg-sky-500';\n\n return [\n { label: 'Crop Growth Conditions', level: growthLevel, percent: growthPercent, color: growthColor },\n { label: 'Disease Risk', level: diseaseLevel, percent: diseasePercent, color: diseaseColor },\n { label: 'Pest Activity', level: pestLevel, percent: pestPercent, color: pestColor },\n { label: 'Irrigation Need', level: irrigationLevel, percent: irrigationPercent, color: irrigationColor },\n ];\n }, [current, forecast, alerts]);\n\n return (\n <PageLayout\n title={t('healthybowl.weather.overview.title', 'Weather Dashboard')}\n description={`${t('healthybowl.weather.overview.descriptionPrefix', 'Real-time weather data and forecasts for')} ${location}`}\n >\n {/* Quick Navigation */}\n <div className=\"grid grid-cols-2 gap-3 md:grid-cols-4\">\n <button\n onClick={() => navigate('forecast')}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50\"\n >\n <Calendar className=\"h-4 w-4 text-muted-foreground\" />\n {t('healthybowl.weather.overview.quickNav.extendedForecast', 'Extended Forecast')}\n </button>\n <button\n onClick={() => navigate('alerts')}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50\"\n >\n <Bell className=\"h-4 w-4 text-muted-foreground\" />\n {t('healthybowl.weather.overview.quickNav.alertSettings', 'Alert Settings')}\n </button>\n <button\n onClick={() => navigate('history')}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50\"\n >\n <TrendingUp className=\"h-4 w-4 text-muted-foreground\" />\n {t('healthybowl.weather.overview.quickNav.historicalData', 'Historical Data')}\n </button>\n <button\n onClick={() =>\n toast({ title: 'Weather Maps', description: 'Interactive weather maps coming soon.', variant: 'info' })\n }\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2.5 text-sm text-foreground hover:bg-muted/50\"\n >\n <MapPin className=\"h-4 w-4 text-muted-foreground\" /> Weather Maps\n </button>\n </div>\n\n {/* Weather Alerts */}\n {alerts.length > 0 && (\n <div className=\"space-y-3\">\n <div className=\"flex items-center justify-between\">\n <h2 className=\"text-base font-semibold text-foreground\">Weather Alerts</h2>\n <button\n onClick={() => navigate('alerts')}\n className=\"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground\"\n >\n Manage Alerts <ChevronRight className=\"h-3.5 w-3.5\" />\n </button>\n </div>\n {alerts.map((alert) => (\n <div\n key={alert.id}\n className={`rounded-lg border border-border border-l-4 bg-card p-4 ${severityBorder(alert.severity)}`}\n >\n <div className=\"flex items-start gap-3\">\n <AlertTriangle className=\"mt-0.5 h-5 w-5 shrink-0 text-amber-500\" />\n <div className=\"flex-1\">\n <div className=\"flex flex-wrap items-center gap-2\">\n <h3 className=\"text-sm font-medium text-foreground\">{alert.title}</h3>\n <StatusBadge label={alert.severity} variant={severityVariant(alert.severity)} />\n </div>\n <p className=\"mt-1 text-sm text-muted-foreground\">{alert.description}</p>\n <p className=\"mt-1 text-xs text-muted-foreground\">\n Affected: {(alert.affectedAreas ?? []).join(', ')}\n </p>\n </div>\n </div>\n </div>\n ))}\n </div>\n )}\n\n {/* Current Weather + Today's Summary */}\n <div className=\"grid grid-cols-1 gap-4 lg:grid-cols-3\">\n {/* Main Current Weather Card */}\n <div className=\"rounded-lg border border-border bg-card p-6 lg:col-span-2\">\n <div className=\"mb-4 flex items-center gap-2\">\n {(() => {\n const Icon = getWeatherIcon(current.condition);\n return <Icon className=\"h-8 w-8 text-muted-foreground\" />;\n })()}\n <div>\n <h3 className=\"text-sm font-semibold text-foreground\">Current Weather</h3>\n <p className=\"text-xs text-muted-foreground\">Last updated: {new Date().toLocaleString()}</p>\n </div>\n </div>\n <div className=\"grid grid-cols-2 gap-6 md:grid-cols-4\">\n {/* Temp */}\n <div className=\"text-center\">\n <div className=\"text-3xl font-bold text-foreground\">{current.temperature}°C</div>\n <div className=\"text-sm text-muted-foreground\">Feels like {current.feelsLike}°C</div>\n <div className=\"mt-1 text-sm font-medium text-foreground\">{current.condition}</div>\n </div>\n {/* Humidity & Wind */}\n <div className=\"space-y-2\">\n <div className=\"flex items-center gap-2\">\n <Droplets className=\"h-4 w-4 text-sky-500\" />\n <span className=\"text-sm text-foreground\">Humidity: {current.humidity}%</span>\n </div>\n <div className=\"flex items-center gap-2\">\n <Wind className=\"h-4 w-4 text-muted-foreground\" />\n <span className=\"text-sm text-foreground\">\n Wind: {current.windSpeed} km/h {current.windDirection}\n </span>\n </div>\n </div>\n {/* Pressure & Visibility */}\n <div className=\"space-y-2\">\n <div className=\"flex items-center gap-2\">\n <Gauge className=\"h-4 w-4 text-purple-500\" />\n <span className=\"text-sm text-foreground\">Pressure: {current.pressure} hPa</span>\n </div>\n <div className=\"flex items-center gap-2\">\n <Eye className=\"h-4 w-4 text-emerald-500\" />\n <span className=\"text-sm text-foreground\">Visibility: {current.visibility} km</span>\n </div>\n </div>\n {/* UV Index */}\n <div className=\"space-y-2\">\n <div className=\"text-sm\">\n <span className=\"text-muted-foreground\">UV Index: </span>\n <span className=\"font-medium text-foreground\">\n {current.uvIndex} ({getUVLabel(current.uvIndex)})\n </span>\n </div>\n </div>\n </div>\n </div>\n\n {/* Today's Summary */}\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <h3 className=\"text-sm font-semibold text-foreground\">Today's Summary</h3>\n <div className=\"mt-4 space-y-4\">\n <div className=\"flex items-center justify-between\">\n <span className=\"text-sm text-muted-foreground\">High</span>\n <div className=\"flex items-center gap-1\">\n <ArrowUp className=\"h-3.5 w-3.5 text-red-500\" />\n <span className=\"font-medium text-foreground\">{todayForecast.high}°C</span>\n </div>\n </div>\n <div className=\"flex items-center justify-between\">\n <span className=\"text-sm text-muted-foreground\">Low</span>\n <div className=\"flex items-center gap-1\">\n <ArrowDown className=\"h-3.5 w-3.5 text-sky-500\" />\n <span className=\"font-medium text-foreground\">{todayForecast.low}°C</span>\n </div>\n </div>\n <div className=\"flex items-center justify-between\">\n <span className=\"text-sm text-muted-foreground\">Precipitation</span>\n <span className=\"font-medium text-foreground\">{todayForecast.precipitation}%</span>\n </div>\n <div className=\"flex items-center justify-between\">\n <span className=\"text-sm text-muted-foreground\">Humidity</span>\n <span className=\"font-medium text-foreground\">{todayForecast.humidity}%</span>\n </div>\n <div className=\"flex items-center justify-between\">\n <span className=\"text-sm text-muted-foreground\">Wind Speed</span>\n <span className=\"font-medium text-foreground\">{todayForecast.windSpeed} km/h</span>\n </div>\n </div>\n </div>\n </div>\n\n {/* 7-Day Forecast */}\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <div className=\"mb-4 flex items-center justify-between\">\n <div>\n <h3 className=\"text-base font-semibold text-foreground\">7-Day Forecast</h3>\n <p className=\"text-xs text-muted-foreground\">Click on any day for detailed forecast</p>\n </div>\n <button\n onClick={() => navigate('forecast')}\n className=\"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground\"\n >\n View Extended Forecast <ChevronRight className=\"h-3.5 w-3.5\" />\n </button>\n </div>\n <div className=\"space-y-2\">\n {forecast.map((day, index) => {\n const Icon = getWeatherIcon(day.condition);\n return (\n <div\n key={day.date}\n onClick={() => navigate('forecast')}\n className=\"flex cursor-pointer items-center justify-between rounded-lg px-3 py-2.5 transition-colors hover:bg-muted/50\"\n >\n <div className=\"flex items-center gap-3 flex-1\">\n <span className=\"w-14 text-sm font-medium text-foreground\">\n {index === 0 ? 'Today' : new Date(day.date).toLocaleDateString('en-US', { weekday: 'short' })}\n </span>\n <Icon className=\"h-5 w-5 text-muted-foreground\" />\n <span className=\"text-sm text-foreground\">{day.condition}</span>\n </div>\n <div className=\"flex items-center gap-4 text-sm\">\n <div className=\"flex items-center gap-1\">\n <Droplets className=\"h-3 w-3 text-sky-500\" />\n <span className=\"text-foreground\">{day.precipitation}%</span>\n </div>\n <div className=\"flex items-center gap-2\">\n <span className=\"font-medium text-foreground\">{day.high}°</span>\n <span className=\"text-muted-foreground\">{day.low}°</span>\n </div>\n </div>\n </div>\n );\n })}\n </div>\n </div>\n\n {/* Farming Recommendations + Weather Impact */}\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n {/* Farming Recommendations - derived from current weather data */}\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <h3 className=\"text-base font-semibold text-foreground\">Farming Recommendations</h3>\n <p className=\"text-xs text-muted-foreground\">AI-powered insights based on current conditions</p>\n <div className=\"mt-4 space-y-3\">\n {farmingRecommendations.map((rec) => {\n const Icon = rec.icon;\n return (\n <div key={rec.title} className=\"flex items-start gap-3 rounded-lg bg-muted/50 p-3\">\n <Icon className={`mt-0.5 h-5 w-5 shrink-0 ${rec.iconColor}`} />\n <div>\n <p className=\"text-sm font-medium text-foreground\">{rec.title}</p>\n <p className=\"text-xs text-muted-foreground\">{rec.description}</p>\n </div>\n </div>\n );\n })}\n </div>\n </div>\n\n {/* Weather Impact Analysis - derived from forecast/alert data */}\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <h3 className=\"text-base font-semibold text-foreground\">Weather Impact Analysis</h3>\n <p className=\"text-xs text-muted-foreground\">Impact on farming operations</p>\n <div className=\"mt-4 space-y-4\">\n {weatherImpactMetrics.map(({ label, level, percent, color }) => (\n <div key={label}>\n <div className=\"mb-1.5 flex items-center justify-between\">\n <span className=\"text-sm font-medium text-foreground\">{label}</span>\n <span className=\"text-sm font-medium text-muted-foreground\">{level}</span>\n </div>\n <div className=\"h-2 w-full rounded-full bg-muted\">\n <div className={`h-2 rounded-full transition-all ${color}`} style={{ width: `${percent}%` }} />\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n\n <ToastContainer to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AgB,CAAA,CAC9D,EAAA,CAAA,CACF;WANI,EAAI,MAMR;SAER;OACE,CAAA;MACF;QAGN,kBAAC,OAAD;KAAK,WAAU;eAAf;MACE,kBAAC,MAAD;OAAI,WAAU;iBAA0C;OAA4B,CAAA;MACpF,kBAAC,KAAD;OAAG,WAAU;iBAAgC;OAAgC,CAAA;MAC7E,kBAAC,OAAD;OAAK,WAAU;iBACZ,EAAqB,KAAK,EAAE,UAAO,UAAO,YAAS,eAClD,kBAAC,OAAD,EAAA,UAAA,CACE,kBAAC,OAAD;QAAK,WAAU;kBAAf,CACE,kBAAC,QAAD;SAAM,WAAU;mBAAuC;SAAa,CAAA,EACpE,kBAAC,QAAD;SAAM,WAAU;mBAA6C;SAAa,CAAA,CACtE;WACN,kBAAC,OAAD;QAAK,WAAU;kBACb,kBAAC,OAAD;SAAK,WAAW,mCAAmC;SAAS,OAAO,EAAE,OAAO,GAAG,EAAQ,IAAI;SAAI,CAAA;QAC3F,CAAA,CACF,EAAA,EARI,EAQJ,CACN;OACE,CAAA;MACF;OACF;;GAEN,kBAAC,GAAD;IAAwB;IAAQ,WAAW;IAAW,CAAA;GAC3C"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HealthyBowl Zustand Store
|
|
3
|
+
* UI state management for the HealthyBowl microfrontend.
|
|
4
|
+
* @module healthybowl
|
|
5
|
+
*/
|
|
6
|
+
export type ViewMode = 'grid' | 'list' | 'table';
|
|
7
|
+
export interface CartEntry {
|
|
8
|
+
id: string;
|
|
9
|
+
productId: string;
|
|
10
|
+
name: string;
|
|
11
|
+
price: number;
|
|
12
|
+
unit: string;
|
|
13
|
+
quantity: number;
|
|
14
|
+
seller: string;
|
|
15
|
+
}
|
|
16
|
+
interface HealthyBowlState {
|
|
17
|
+
viewMode: ViewMode;
|
|
18
|
+
setViewMode: (mode: ViewMode) => void;
|
|
19
|
+
activeModule: string;
|
|
20
|
+
setActiveModule: (module: string) => void;
|
|
21
|
+
searchQuery: string;
|
|
22
|
+
setSearchQuery: (query: string) => void;
|
|
23
|
+
selectedItems: string[];
|
|
24
|
+
toggleSelectedItem: (id: string) => void;
|
|
25
|
+
clearSelectedItems: () => void;
|
|
26
|
+
sidebarCollapsed: boolean;
|
|
27
|
+
toggleSidebar: () => void;
|
|
28
|
+
cart: CartEntry[];
|
|
29
|
+
addToCart: (item: Omit<CartEntry, 'id' | 'quantity'>) => void;
|
|
30
|
+
removeFromCart: (productId: string) => void;
|
|
31
|
+
updateCartQuantity: (productId: string, quantity: number) => void;
|
|
32
|
+
clearCart: () => void;
|
|
33
|
+
getCartItemCount: () => number;
|
|
34
|
+
wishlist: Set<string>;
|
|
35
|
+
toggleWishlist: (id: string) => void;
|
|
36
|
+
clearWishlist: () => void;
|
|
37
|
+
}
|
|
38
|
+
export declare const useHealthyBowlStore: import('zustand').UseBoundStore<Omit<Omit<import('zustand').StoreApi<HealthyBowlState>, "setState" | "devtools"> & {
|
|
39
|
+
setState(partial: HealthyBowlState | Partial<HealthyBowlState> | ((state: HealthyBowlState) => HealthyBowlState | Partial<HealthyBowlState>), replace?: false | undefined, action?: (string | {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
[x: number]: unknown;
|
|
42
|
+
[x: symbol]: unknown;
|
|
43
|
+
type: string;
|
|
44
|
+
}) | undefined): void;
|
|
45
|
+
setState(state: HealthyBowlState | ((state: HealthyBowlState) => HealthyBowlState), replace: true, action?: (string | {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
[x: number]: unknown;
|
|
48
|
+
[x: symbol]: unknown;
|
|
49
|
+
type: string;
|
|
50
|
+
}) | undefined): void;
|
|
51
|
+
devtools: {
|
|
52
|
+
cleanup: () => void;
|
|
53
|
+
};
|
|
54
|
+
}, "setState" | "persist"> & {
|
|
55
|
+
setState(partial: HealthyBowlState | Partial<HealthyBowlState> | ((state: HealthyBowlState) => HealthyBowlState | Partial<HealthyBowlState>), replace?: false | undefined, action?: (string | {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
[x: number]: unknown;
|
|
58
|
+
[x: symbol]: unknown;
|
|
59
|
+
type: string;
|
|
60
|
+
}) | undefined): unknown;
|
|
61
|
+
setState(state: HealthyBowlState | ((state: HealthyBowlState) => HealthyBowlState), replace: true, action?: (string | {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
[x: number]: unknown;
|
|
64
|
+
[x: symbol]: unknown;
|
|
65
|
+
type: string;
|
|
66
|
+
}) | undefined): unknown;
|
|
67
|
+
persist: {
|
|
68
|
+
setOptions: (options: Partial<import('zustand/middleware').PersistOptions<HealthyBowlState, unknown, unknown>>) => void;
|
|
69
|
+
clearStorage: () => void;
|
|
70
|
+
rehydrate: () => Promise<void> | void;
|
|
71
|
+
hasHydrated: () => boolean;
|
|
72
|
+
onHydrate: (fn: (state: HealthyBowlState) => void) => () => void;
|
|
73
|
+
onFinishHydration: (fn: (state: HealthyBowlState) => void) => () => void;
|
|
74
|
+
getOptions: () => Partial<import('zustand/middleware').PersistOptions<HealthyBowlState, unknown, unknown>>;
|
|
75
|
+
};
|
|
76
|
+
}>;
|
|
77
|
+
export {};
|
|
78
|
+
//# sourceMappingURL=healthybowlStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"healthybowlStore.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/store/healthybowlStore.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEjD,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,gBAAgB;IAExB,QAAQ,EAAE,Q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