@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,181 @@
|
|
|
1
|
+
import { useBasePath as e } from "../../hooks/useBasePath.js";
|
|
2
|
+
import { cn as t, formatDate as n } from "../../utils/helpers.js";
|
|
3
|
+
import { PageLayout as r } from "../../components/PageLayout.js";
|
|
4
|
+
import { StatCard as i } from "../../components/StatCard.js";
|
|
5
|
+
import { StatusBadge as a } from "../../components/StatusBadge.js";
|
|
6
|
+
import "../../components/index.js";
|
|
7
|
+
import { useHealthyBowlData as o } from "../../hooks/useHealthyBowlData.js";
|
|
8
|
+
import { useState as s } from "react";
|
|
9
|
+
import { AlertTriangle as c, ArrowRight as l, BookOpen as u, Bug as d, Eye as f, Shield as p } from "lucide-react";
|
|
10
|
+
import { useNavigate as m } from "react-router-dom";
|
|
11
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
12
|
+
//#region src/healthybowl/pages/pest-management/PestOverviewPage.tsx
|
|
13
|
+
var _ = {
|
|
14
|
+
high: "error",
|
|
15
|
+
medium: "warning",
|
|
16
|
+
low: "info"
|
|
17
|
+
}, v = {
|
|
18
|
+
treating: "warning",
|
|
19
|
+
monitoring: "info",
|
|
20
|
+
resolved: "success"
|
|
21
|
+
};
|
|
22
|
+
function y() {
|
|
23
|
+
let { pestIssues: y, treatments: b } = o(), x = m(), { buildPath: S } = e(), [C, w] = s("all"), T = y.filter((e) => e.status !== "resolved").length, E = y.filter((e) => e.status === "treating").length, D = y.filter((e) => e.status === "monitoring").length, O = C === "all" ? y.filter((e) => e.status !== "resolved") : y.filter((e) => e.status === C);
|
|
24
|
+
return /* @__PURE__ */ g(r, {
|
|
25
|
+
title: "Pest Management",
|
|
26
|
+
description: "Monitor and manage pest and disease issues",
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ h("div", {
|
|
29
|
+
className: "flex flex-wrap gap-3",
|
|
30
|
+
children: [{
|
|
31
|
+
label: "Pest Issues",
|
|
32
|
+
icon: d,
|
|
33
|
+
path: S("pest-management/issues"),
|
|
34
|
+
desc: "Report and track issues"
|
|
35
|
+
}, {
|
|
36
|
+
label: "Treatment Library",
|
|
37
|
+
icon: u,
|
|
38
|
+
path: S("pest-management/treatments"),
|
|
39
|
+
desc: "Browse treatments"
|
|
40
|
+
}].map((e) => /* @__PURE__ */ g("button", {
|
|
41
|
+
onClick: () => x(e.path),
|
|
42
|
+
className: "flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left shadow-sm transition-colors hover:border-primary/30 hover:bg-accent",
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ h(e.icon, { className: "h-5 w-5 text-muted-foreground" }),
|
|
45
|
+
/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
|
|
46
|
+
className: "text-sm font-medium text-foreground",
|
|
47
|
+
children: e.label
|
|
48
|
+
}), /* @__PURE__ */ h("p", {
|
|
49
|
+
className: "text-xs text-muted-foreground",
|
|
50
|
+
children: e.desc
|
|
51
|
+
})] }),
|
|
52
|
+
/* @__PURE__ */ h(l, { className: "ml-2 h-4 w-4 text-muted-foreground" })
|
|
53
|
+
]
|
|
54
|
+
}, e.label))
|
|
55
|
+
}),
|
|
56
|
+
/* @__PURE__ */ g("div", {
|
|
57
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ h(i, {
|
|
60
|
+
label: "Active Issues",
|
|
61
|
+
value: T,
|
|
62
|
+
icon: /* @__PURE__ */ h(d, { className: "h-4 w-4" })
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ h(i, {
|
|
65
|
+
label: "Under Treatment",
|
|
66
|
+
value: E,
|
|
67
|
+
icon: /* @__PURE__ */ h(p, { className: "h-4 w-4" })
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ h(i, {
|
|
70
|
+
label: "Monitoring",
|
|
71
|
+
value: D,
|
|
72
|
+
icon: /* @__PURE__ */ h(f, { className: "h-4 w-4" })
|
|
73
|
+
})
|
|
74
|
+
]
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ g("div", {
|
|
77
|
+
className: "flex items-center justify-between mb-3",
|
|
78
|
+
children: [/* @__PURE__ */ h("h2", {
|
|
79
|
+
className: "text-lg font-medium text-foreground",
|
|
80
|
+
children: "Active Issues"
|
|
81
|
+
}), /* @__PURE__ */ h("div", {
|
|
82
|
+
className: "flex items-center gap-1 rounded-lg border border-border bg-muted p-0.5",
|
|
83
|
+
children: [
|
|
84
|
+
"all",
|
|
85
|
+
"treating",
|
|
86
|
+
"monitoring"
|
|
87
|
+
].map((e) => /* @__PURE__ */ h("button", {
|
|
88
|
+
onClick: () => w(e),
|
|
89
|
+
className: t("rounded-md px-3 py-1 text-xs font-medium capitalize transition-colors", C === e ? "bg-card text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"),
|
|
90
|
+
children: e
|
|
91
|
+
}, e))
|
|
92
|
+
})]
|
|
93
|
+
}), /* @__PURE__ */ h("div", {
|
|
94
|
+
className: "space-y-3",
|
|
95
|
+
children: O.map((e) => /* @__PURE__ */ g("div", {
|
|
96
|
+
className: "flex items-center gap-4 rounded-lg border border-border bg-card p-4 shadow-sm",
|
|
97
|
+
children: [
|
|
98
|
+
/* @__PURE__ */ h("div", {
|
|
99
|
+
className: "rounded-lg bg-muted p-2 text-muted-foreground",
|
|
100
|
+
children: /* @__PURE__ */ h(c, { className: "h-5 w-5" })
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ g("div", {
|
|
103
|
+
className: "flex-1 min-w-0",
|
|
104
|
+
children: [/* @__PURE__ */ g("div", {
|
|
105
|
+
className: "flex items-center gap-2",
|
|
106
|
+
children: [
|
|
107
|
+
/* @__PURE__ */ h("span", {
|
|
108
|
+
className: "font-medium text-foreground",
|
|
109
|
+
children: e.pest
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ h(a, {
|
|
112
|
+
label: e.severity,
|
|
113
|
+
variant: _[e.severity] ?? "info"
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ h(a, {
|
|
116
|
+
label: e.status,
|
|
117
|
+
variant: v[e.status ?? "unknown"] ?? "info",
|
|
118
|
+
dot: !0
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
}), /* @__PURE__ */ g("p", {
|
|
122
|
+
className: "text-sm text-muted-foreground mt-0.5",
|
|
123
|
+
children: [
|
|
124
|
+
e.affectedCrop,
|
|
125
|
+
" in ",
|
|
126
|
+
e.affectedField,
|
|
127
|
+
" · Detected ",
|
|
128
|
+
n(e.detectedDate)
|
|
129
|
+
]
|
|
130
|
+
})]
|
|
131
|
+
}),
|
|
132
|
+
e.treatment && /* @__PURE__ */ h("span", {
|
|
133
|
+
className: "text-xs text-muted-foreground bg-muted rounded-md px-2 py-1 shrink-0",
|
|
134
|
+
children: e.treatment
|
|
135
|
+
})
|
|
136
|
+
]
|
|
137
|
+
}, e.id))
|
|
138
|
+
})] }),
|
|
139
|
+
/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("h2", {
|
|
140
|
+
className: "text-lg font-medium text-foreground mb-3",
|
|
141
|
+
children: "Recent Treatments"
|
|
142
|
+
}), /* @__PURE__ */ h("div", {
|
|
143
|
+
className: "grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",
|
|
144
|
+
children: b.slice(0, 3).map((e) => /* @__PURE__ */ g("div", {
|
|
145
|
+
className: "rounded-lg border border-border bg-card p-3 shadow-sm",
|
|
146
|
+
children: [
|
|
147
|
+
/* @__PURE__ */ g("div", {
|
|
148
|
+
className: "flex items-center justify-between",
|
|
149
|
+
children: [/* @__PURE__ */ h("span", {
|
|
150
|
+
className: "font-medium text-sm text-foreground",
|
|
151
|
+
children: e.name
|
|
152
|
+
}), /* @__PURE__ */ h(a, {
|
|
153
|
+
label: e.type,
|
|
154
|
+
variant: "info"
|
|
155
|
+
})]
|
|
156
|
+
}),
|
|
157
|
+
/* @__PURE__ */ h("p", {
|
|
158
|
+
className: "text-xs text-muted-foreground mt-1",
|
|
159
|
+
children: (e.targetPests ?? []).join(", ")
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ h("div", {
|
|
162
|
+
className: "mt-2 h-1.5 w-full rounded-full bg-muted",
|
|
163
|
+
children: /* @__PURE__ */ h("div", {
|
|
164
|
+
className: "h-1.5 rounded-full bg-emerald-500",
|
|
165
|
+
style: { width: `${e.effectiveness}%` }
|
|
166
|
+
})
|
|
167
|
+
}),
|
|
168
|
+
/* @__PURE__ */ g("span", {
|
|
169
|
+
className: "text-xs text-muted-foreground",
|
|
170
|
+
children: [e.effectiveness, "% effective"]
|
|
171
|
+
})
|
|
172
|
+
]
|
|
173
|
+
}, e.id))
|
|
174
|
+
})] })
|
|
175
|
+
]
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
//#endregion
|
|
179
|
+
export { y as PestOverviewPage };
|
|
180
|
+
|
|
181
|
+
//# sourceMappingURL=PestOverviewPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PestOverviewPage.js","names":[],"sources":["../../../../src/healthybowl/pages/pest-management/PestOverviewPage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport { useBasePath } from '../../hooks/useBasePath';\nimport { Bug, Shield, Eye, AlertTriangle, ArrowRight, BookOpen } from 'lucide-react';\nimport { PageLayout, StatCard, StatusBadge } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { cn, formatDate } from '../../utils/helpers';\n\nconst severityVariant: Record<string, 'error' | 'warning' | 'info'> = {\n high: 'error',\n medium: 'warning',\n low: 'info',\n};\n\nconst statusVariant: Record<string, 'warning' | 'info' | 'success'> = {\n treating: 'warning',\n monitoring: 'info',\n resolved: 'success',\n};\n\nexport function PestOverviewPage() {\n const { pestIssues, treatments } = useHealthyBowlData();\n const navigate = useNavigate();\n const { buildPath } = useBasePath();\n\n const [filter, setFilter] = useState<string>('all');\n\n const activeCount = pestIssues.filter((p) => p.status !== 'resolved').length;\n const treatingCount = pestIssues.filter((p) => p.status === 'treating').length;\n const monitoringCount = pestIssues.filter((p) => p.status === 'monitoring').length;\n\n const filteredIssues =\n filter === 'all'\n ? pestIssues.filter((p) => p.status !== 'resolved')\n : pestIssues.filter((p) => p.status === filter);\n\n return (\n <PageLayout title=\"Pest Management\" description=\"Monitor and manage pest and disease issues\">\n {/* Quick Actions */}\n <div className=\"flex flex-wrap gap-3\">\n {[\n {\n label: 'Pest Issues',\n icon: Bug,\n path: buildPath('pest-management/issues'),\n desc: 'Report and track issues',\n },\n {\n label: 'Treatment Library',\n icon: BookOpen,\n path: buildPath('pest-management/treatments'),\n desc: 'Browse treatments',\n },\n ].map((action) => (\n <button\n key={action.label}\n onClick={() => navigate(action.path)}\n className=\"flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left shadow-sm transition-colors hover:border-primary/30 hover:bg-accent\"\n >\n <action.icon className=\"h-5 w-5 text-muted-foreground\" />\n <div>\n <p className=\"text-sm font-medium text-foreground\">{action.label}</p>\n <p className=\"text-xs text-muted-foreground\">{action.desc}</p>\n </div>\n <ArrowRight className=\"ml-2 h-4 w-4 text-muted-foreground\" />\n </button>\n ))}\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-3\">\n <StatCard label=\"Active Issues\" value={activeCount} icon={<Bug className=\"h-4 w-4\" />} />\n <StatCard label=\"Under Treatment\" value={treatingCount} icon={<Shield className=\"h-4 w-4\" />} />\n <StatCard label=\"Monitoring\" value={monitoringCount} icon={<Eye className=\"h-4 w-4\" />} />\n </div>\n\n <div>\n <div className=\"flex items-center justify-between mb-3\">\n <h2 className=\"text-lg font-medium text-foreground\">Active Issues</h2>\n <div className=\"flex items-center gap-1 rounded-lg border border-border bg-muted p-0.5\">\n {['all', 'treating', 'monitoring'].map((f) => (\n <button\n key={f}\n onClick={() => setFilter(f)}\n className={cn(\n 'rounded-md px-3 py-1 text-xs font-medium capitalize transition-colors',\n filter === f ? 'bg-card text-foreground shadow-sm' : 'text-muted-foreground hover:text-foreground'\n )}\n >\n {f}\n </button>\n ))}\n </div>\n </div>\n <div className=\"space-y-3\">\n {filteredIssues.map((issue) => (\n <div\n key={issue.id}\n className=\"flex items-center gap-4 rounded-lg border border-border bg-card p-4 shadow-sm\"\n >\n <div className=\"rounded-lg bg-muted p-2 text-muted-foreground\">\n <AlertTriangle className=\"h-5 w-5\" />\n </div>\n <div className=\"flex-1 min-w-0\">\n <div className=\"flex items-center gap-2\">\n <span className=\"font-medium text-foreground\">{issue.pest}</span>\n <StatusBadge label={issue.severity} variant={severityVariant[issue.severity] ?? 'info'} />\n <StatusBadge label={issue.status} variant={statusVariant[issue.status ?? 'unknown'] ?? 'info'} dot />\n </div>\n <p className=\"text-sm text-muted-foreground mt-0.5\">\n {issue.affectedCrop} in {issue.affectedField} · Detected {formatDate(issue.detectedDate)}\n </p>\n </div>\n {issue.treatment && (\n <span className=\"text-xs text-muted-foreground bg-muted rounded-md px-2 py-1 shrink-0\">\n {issue.treatment}\n </span>\n )}\n </div>\n ))}\n </div>\n </div>\n\n <div>\n <h2 className=\"text-lg font-medium text-foreground mb-3\">Recent Treatments</h2>\n <div className=\"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3\">\n {treatments.slice(0, 3).map((t) => (\n <div key={t.id} className=\"rounded-lg border border-border bg-card p-3 shadow-sm\">\n <div className=\"flex items-center justify-between\">\n <span className=\"font-medium text-sm text-foreground\">{t.name}</span>\n <StatusBadge label={t.type} variant=\"info\" />\n </div>\n <p className=\"text-xs text-muted-foreground mt-1\">{(t.targetPests ?? []).join(', ')}</p>\n <div className=\"mt-2 h-1.5 w-full rounded-full bg-muted\">\n <div className=\"h-1.5 rounded-full bg-emerald-500\" style={{ width: `${t.effectiveness}%` }} />\n </div>\n <span className=\"text-xs text-muted-foreground\">{t.effectiveness}% effective</span>\n </div>\n ))}\n </div>\n </div>\n </PageLayout>\n );\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreatmentLibraryPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/pest-management/TreatmentLibraryPage.tsx"],"names":[],"mappings":"AA0BA,wBAAgB,oBAAoB,4CAyPnC"}
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import { cn as e } from "../../utils/helpers.js";
|
|
2
|
+
import { PageLayout as t } from "../../components/PageLayout.js";
|
|
3
|
+
import { StatusBadge as n } from "../../components/StatusBadge.js";
|
|
4
|
+
import { FilterBar as r } from "../../components/FilterBar.js";
|
|
5
|
+
import { ToastContainer as i } from "../../components/Toast.js";
|
|
6
|
+
import { Modal as a } from "../../components/Modal.js";
|
|
7
|
+
import "../../components/index.js";
|
|
8
|
+
import { useHealthyBowlData as o } from "../../hooks/useHealthyBowlData.js";
|
|
9
|
+
import { useToast as s } from "../../hooks/useToast.js";
|
|
10
|
+
import { useState as c } from "react";
|
|
11
|
+
import { Beaker as l, Plus as u } from "lucide-react";
|
|
12
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
13
|
+
//#region src/healthybowl/pages/pest-management/TreatmentLibraryPage.tsx
|
|
14
|
+
var m = {
|
|
15
|
+
organic: "success",
|
|
16
|
+
biological: "info",
|
|
17
|
+
mechanical: "warning",
|
|
18
|
+
chemical: "muted"
|
|
19
|
+
}, h = {
|
|
20
|
+
name: "",
|
|
21
|
+
type: "organic",
|
|
22
|
+
targetPests: "",
|
|
23
|
+
application: "",
|
|
24
|
+
dosage: "",
|
|
25
|
+
frequency: "",
|
|
26
|
+
safetyPeriod: "",
|
|
27
|
+
effectiveness: ""
|
|
28
|
+
};
|
|
29
|
+
function g() {
|
|
30
|
+
let { treatments: g, createTreatment: _ } = o(), [v, y] = c(""), [b, x] = c(!1), [S, C] = c(h), { toasts: w, toast: T, dismiss: E } = s(), D = g.filter((e) => (e.name ?? "").toLowerCase().includes(v.toLowerCase()) || e.targetPests.some((e) => e.toLowerCase().includes(v.toLowerCase()))), O = async (e) => {
|
|
31
|
+
if (e.preventDefault(), !S.name || !S.application) {
|
|
32
|
+
T({
|
|
33
|
+
title: "Missing required fields",
|
|
34
|
+
description: "Please fill in name and application method.",
|
|
35
|
+
variant: "warning"
|
|
36
|
+
});
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
try {
|
|
40
|
+
await _({
|
|
41
|
+
name: S.name,
|
|
42
|
+
type: S.type,
|
|
43
|
+
targetPests: S.targetPests.split(",").map((e) => e.trim()).filter(Boolean),
|
|
44
|
+
method: S.application,
|
|
45
|
+
dosage: S.dosage,
|
|
46
|
+
frequency: S.frequency,
|
|
47
|
+
safetyPeriod: parseInt(S.safetyPeriod) || 0,
|
|
48
|
+
effectiveness: parseInt(S.effectiveness) || 0
|
|
49
|
+
}), x(!1), C(h), T({
|
|
50
|
+
title: "Treatment added successfully.",
|
|
51
|
+
variant: "success"
|
|
52
|
+
});
|
|
53
|
+
} catch (e) {
|
|
54
|
+
T({
|
|
55
|
+
title: "Failed to add treatment",
|
|
56
|
+
description: e instanceof Error ? e.message : "Unknown error",
|
|
57
|
+
variant: "error"
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
return /* @__PURE__ */ p(t, {
|
|
62
|
+
title: "Treatment Library",
|
|
63
|
+
description: "Reference library of pest and disease treatments",
|
|
64
|
+
actions: /* @__PURE__ */ p("button", {
|
|
65
|
+
onClick: () => x(!0),
|
|
66
|
+
className: "flex items-center gap-1.5 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
67
|
+
children: [/* @__PURE__ */ f(u, { className: "h-4 w-4" }), " Add Treatment"]
|
|
68
|
+
}),
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ f(r, {
|
|
71
|
+
searchValue: v,
|
|
72
|
+
onSearchChange: y,
|
|
73
|
+
searchPlaceholder: "Search treatments or target pests..."
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ f("div", {
|
|
76
|
+
className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
|
|
77
|
+
children: D.map((t) => /* @__PURE__ */ p("div", {
|
|
78
|
+
className: "rounded-lg border border-border bg-card p-4 shadow-sm",
|
|
79
|
+
children: [/* @__PURE__ */ p("div", {
|
|
80
|
+
className: "flex items-center justify-between mb-2",
|
|
81
|
+
children: [/* @__PURE__ */ p("div", {
|
|
82
|
+
className: "flex items-center gap-2",
|
|
83
|
+
children: [/* @__PURE__ */ f(l, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ f("h3", {
|
|
84
|
+
className: "font-medium text-foreground",
|
|
85
|
+
children: t.name
|
|
86
|
+
})]
|
|
87
|
+
}), /* @__PURE__ */ f(n, {
|
|
88
|
+
label: t.type,
|
|
89
|
+
variant: m[t.type] ?? "muted"
|
|
90
|
+
})]
|
|
91
|
+
}), /* @__PURE__ */ p("div", {
|
|
92
|
+
className: "space-y-2 text-sm",
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
95
|
+
className: "text-xs text-muted-foreground uppercase tracking-wider",
|
|
96
|
+
children: "Target Pests"
|
|
97
|
+
}), /* @__PURE__ */ f("div", {
|
|
98
|
+
className: "mt-1 flex flex-wrap gap-1",
|
|
99
|
+
children: (t.targetPests ?? []).map((e) => /* @__PURE__ */ f("span", {
|
|
100
|
+
className: "rounded-md bg-muted px-2 py-0.5 text-xs text-foreground",
|
|
101
|
+
children: e
|
|
102
|
+
}, e))
|
|
103
|
+
})] }),
|
|
104
|
+
/* @__PURE__ */ p("div", {
|
|
105
|
+
className: "grid grid-cols-2 gap-2 pt-1",
|
|
106
|
+
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
107
|
+
className: "text-xs text-muted-foreground",
|
|
108
|
+
children: "Application"
|
|
109
|
+
}), /* @__PURE__ */ f("p", {
|
|
110
|
+
className: "text-foreground text-xs mt-0.5",
|
|
111
|
+
children: t.application
|
|
112
|
+
})] }), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
113
|
+
className: "text-xs text-muted-foreground",
|
|
114
|
+
children: "Frequency"
|
|
115
|
+
}), /* @__PURE__ */ f("p", {
|
|
116
|
+
className: "text-foreground text-xs mt-0.5",
|
|
117
|
+
children: t.frequency
|
|
118
|
+
})] })]
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ p("div", {
|
|
121
|
+
className: "pt-1",
|
|
122
|
+
children: [/* @__PURE__ */ p("div", {
|
|
123
|
+
className: "flex items-center justify-between text-xs mb-1",
|
|
124
|
+
children: [/* @__PURE__ */ f("span", {
|
|
125
|
+
className: "text-muted-foreground",
|
|
126
|
+
children: "Effectiveness"
|
|
127
|
+
}), /* @__PURE__ */ p("span", {
|
|
128
|
+
className: "font-medium text-foreground",
|
|
129
|
+
children: [t.effectiveness, "%"]
|
|
130
|
+
})]
|
|
131
|
+
}), /* @__PURE__ */ f("div", {
|
|
132
|
+
className: "h-2 w-full rounded-full bg-muted",
|
|
133
|
+
children: /* @__PURE__ */ f("div", {
|
|
134
|
+
className: e("h-2 rounded-full", t.effectiveness >= 90 ? "bg-emerald-500" : t.effectiveness >= 80 ? "bg-blue-500" : "bg-amber-500"),
|
|
135
|
+
style: { width: `${t.effectiveness}%` }
|
|
136
|
+
})
|
|
137
|
+
})]
|
|
138
|
+
}),
|
|
139
|
+
/* @__PURE__ */ p("div", {
|
|
140
|
+
className: "flex items-center justify-between text-xs text-muted-foreground pt-1 border-t border-border",
|
|
141
|
+
children: [/* @__PURE__ */ p("span", { children: ["Dosage: ", t.dosage] }), /* @__PURE__ */ p("span", { children: [
|
|
142
|
+
"Safety: ",
|
|
143
|
+
t.safetyPeriod,
|
|
144
|
+
" day",
|
|
145
|
+
t.safetyPeriod === 1 ? "" : "s"
|
|
146
|
+
] })]
|
|
147
|
+
})
|
|
148
|
+
]
|
|
149
|
+
})]
|
|
150
|
+
}, t.id))
|
|
151
|
+
}),
|
|
152
|
+
/* @__PURE__ */ f(a, {
|
|
153
|
+
open: b,
|
|
154
|
+
onClose: () => {
|
|
155
|
+
x(!1), C(h);
|
|
156
|
+
},
|
|
157
|
+
title: "Add Treatment",
|
|
158
|
+
description: "Add a new treatment to the library.",
|
|
159
|
+
size: "lg",
|
|
160
|
+
footer: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("button", {
|
|
161
|
+
onClick: () => {
|
|
162
|
+
x(!1), C(h);
|
|
163
|
+
},
|
|
164
|
+
className: "rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground",
|
|
165
|
+
children: "Cancel"
|
|
166
|
+
}), /* @__PURE__ */ f("button", {
|
|
167
|
+
onClick: O,
|
|
168
|
+
className: "rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
169
|
+
children: "Add Treatment"
|
|
170
|
+
})] }),
|
|
171
|
+
children: /* @__PURE__ */ p("form", {
|
|
172
|
+
onSubmit: O,
|
|
173
|
+
className: "grid gap-4 sm:grid-cols-2",
|
|
174
|
+
children: [
|
|
175
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
176
|
+
className: "text-sm font-medium text-foreground",
|
|
177
|
+
children: "Name *"
|
|
178
|
+
}), /* @__PURE__ */ f("input", {
|
|
179
|
+
type: "text",
|
|
180
|
+
value: S.name,
|
|
181
|
+
onChange: (e) => C((t) => ({
|
|
182
|
+
...t,
|
|
183
|
+
name: e.target.value
|
|
184
|
+
})),
|
|
185
|
+
placeholder: "e.g., Neem Oil Spray",
|
|
186
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
187
|
+
})] }),
|
|
188
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
189
|
+
className: "text-sm font-medium text-foreground",
|
|
190
|
+
children: "Type *"
|
|
191
|
+
}), /* @__PURE__ */ p("select", {
|
|
192
|
+
value: S.type,
|
|
193
|
+
onChange: (e) => C((t) => ({
|
|
194
|
+
...t,
|
|
195
|
+
type: e.target.value
|
|
196
|
+
})),
|
|
197
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground",
|
|
198
|
+
children: [
|
|
199
|
+
/* @__PURE__ */ f("option", {
|
|
200
|
+
value: "organic",
|
|
201
|
+
children: "Organic"
|
|
202
|
+
}),
|
|
203
|
+
/* @__PURE__ */ f("option", {
|
|
204
|
+
value: "biological",
|
|
205
|
+
children: "Biological"
|
|
206
|
+
}),
|
|
207
|
+
/* @__PURE__ */ f("option", {
|
|
208
|
+
value: "mechanical",
|
|
209
|
+
children: "Mechanical"
|
|
210
|
+
}),
|
|
211
|
+
/* @__PURE__ */ f("option", {
|
|
212
|
+
value: "cultural",
|
|
213
|
+
children: "Cultural"
|
|
214
|
+
})
|
|
215
|
+
]
|
|
216
|
+
})] }),
|
|
217
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
218
|
+
className: "text-sm font-medium text-foreground",
|
|
219
|
+
children: "Application Method *"
|
|
220
|
+
}), /* @__PURE__ */ f("input", {
|
|
221
|
+
type: "text",
|
|
222
|
+
value: S.application,
|
|
223
|
+
onChange: (e) => C((t) => ({
|
|
224
|
+
...t,
|
|
225
|
+
application: e.target.value
|
|
226
|
+
})),
|
|
227
|
+
placeholder: "e.g., Foliar spray",
|
|
228
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
229
|
+
})] }),
|
|
230
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
231
|
+
className: "text-sm font-medium text-foreground",
|
|
232
|
+
children: "Dosage"
|
|
233
|
+
}), /* @__PURE__ */ f("input", {
|
|
234
|
+
type: "text",
|
|
235
|
+
value: S.dosage,
|
|
236
|
+
onChange: (e) => C((t) => ({
|
|
237
|
+
...t,
|
|
238
|
+
dosage: e.target.value
|
|
239
|
+
})),
|
|
240
|
+
placeholder: "e.g., 5ml/L",
|
|
241
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
242
|
+
})] }),
|
|
243
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
244
|
+
className: "text-sm font-medium text-foreground",
|
|
245
|
+
children: "Frequency"
|
|
246
|
+
}), /* @__PURE__ */ f("input", {
|
|
247
|
+
type: "text",
|
|
248
|
+
value: S.frequency,
|
|
249
|
+
onChange: (e) => C((t) => ({
|
|
250
|
+
...t,
|
|
251
|
+
frequency: e.target.value
|
|
252
|
+
})),
|
|
253
|
+
placeholder: "e.g., Every 7 days",
|
|
254
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
255
|
+
})] }),
|
|
256
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
257
|
+
className: "text-sm font-medium text-foreground",
|
|
258
|
+
children: "Effectiveness (%)"
|
|
259
|
+
}), /* @__PURE__ */ f("input", {
|
|
260
|
+
type: "number",
|
|
261
|
+
value: S.effectiveness,
|
|
262
|
+
onChange: (e) => C((t) => ({
|
|
263
|
+
...t,
|
|
264
|
+
effectiveness: e.target.value
|
|
265
|
+
})),
|
|
266
|
+
placeholder: "e.g., 85",
|
|
267
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
268
|
+
})] }),
|
|
269
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
270
|
+
className: "text-sm font-medium text-foreground",
|
|
271
|
+
children: "Safety Period (days)"
|
|
272
|
+
}), /* @__PURE__ */ f("input", {
|
|
273
|
+
type: "number",
|
|
274
|
+
value: S.safetyPeriod,
|
|
275
|
+
onChange: (e) => C((t) => ({
|
|
276
|
+
...t,
|
|
277
|
+
safetyPeriod: e.target.value
|
|
278
|
+
})),
|
|
279
|
+
placeholder: "e.g., 7",
|
|
280
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
281
|
+
})] }),
|
|
282
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
283
|
+
className: "text-sm font-medium text-foreground",
|
|
284
|
+
children: "Target Pests (comma-separated)"
|
|
285
|
+
}), /* @__PURE__ */ f("input", {
|
|
286
|
+
type: "text",
|
|
287
|
+
value: S.targetPests,
|
|
288
|
+
onChange: (e) => C((t) => ({
|
|
289
|
+
...t,
|
|
290
|
+
targetPests: e.target.value
|
|
291
|
+
})),
|
|
292
|
+
placeholder: "e.g., Aphids, Whiteflies",
|
|
293
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
294
|
+
})] })
|
|
295
|
+
]
|
|
296
|
+
})
|
|
297
|
+
}),
|
|
298
|
+
/* @__PURE__ */ f(i, {
|
|
299
|
+
toasts: w,
|
|
300
|
+
onDismiss: E
|
|
301
|
+
})
|
|
302
|
+
]
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
//#endregion
|
|
306
|
+
export { g as TreatmentLibraryPage };
|
|
307
|
+
|
|
308
|
+
//# sourceMappingURL=TreatmentLibraryPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreatmentLibraryPage.js","names":[],"sources":["../../../../src/healthybowl/pages/pest-management/TreatmentLibraryPage.tsx"],"sourcesContent":["import { useState, type FormEvent } from 'react';\nimport { Beaker, Plus } from 'lucide-react';\nimport { PageLayout, StatusBadge, FilterBar, Modal, ToastContainer } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { useToast } from '../../hooks/useToast';\nimport { cn } from '../../utils/helpers';\nimport type { Treatment } from '../../types';\n\nconst typeVariant: Record<string, 'success' | 'info' | 'warning' | 'muted'> = {\n organic: 'success',\n biological: 'info',\n mechanical: 'warning',\n chemical: 'muted',\n};\n\nconst defaultFormData = {\n name: '',\n type: 'organic' as Treatment['type'],\n targetPests: '',\n application: '',\n dosage: '',\n frequency: '',\n safetyPeriod: '',\n effectiveness: '',\n};\n\nexport function TreatmentLibraryPage() {\n const { treatments, createTreatment } = useHealthyBowlData();\n\n const [search, setSearch] = useState('');\n const [showAddModal, setShowAddModal] = useState(false);\n const [formData, setFormData] = useState(defaultFormData);\n const { toasts, toast, dismiss } = useToast();\n\n const filtered = treatments.filter(\n (t) =>\n (t.name ?? '').toLowerCase().includes(search.toLowerCase()) ||\n t.targetPests.some((p) => p.toLowerCase().includes(search.toLowerCase()))\n );\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n if (!formData.name || !formData.application) {\n toast({\n title: 'Missing required fields',\n description: 'Please fill in name and application method.',\n variant: 'warning',\n });\n return;\n }\n try {\n await createTreatment({\n name: formData.name,\n type: formData.type,\n targetPests: formData.targetPests\n .split(',')\n .map((p) => p.trim())\n .filter(Boolean),\n method: formData.application,\n dosage: formData.dosage,\n frequency: formData.frequency,\n safetyPeriod: parseInt(formData.safetyPeriod) || 0,\n effectiveness: parseInt(formData.effectiveness) || 0,\n });\n setShowAddModal(false);\n setFormData(defaultFormData);\n toast({ title: 'Treatment added successfully.', variant: 'success' });\n } catch (err) {\n toast({\n title: 'Failed to add treatment',\n description: err instanceof Error ? err.message : 'Unknown error',\n variant: 'error',\n });\n }\n };\n\n return (\n <PageLayout\n title=\"Treatment Library\"\n description=\"Reference library of pest and disease treatments\"\n actions={\n <button\n onClick={() => setShowAddModal(true)}\n className=\"flex items-center gap-1.5 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n <Plus className=\"h-4 w-4\" /> Add Treatment\n </button>\n }\n >\n <FilterBar\n searchValue={search}\n onSearchChange={setSearch}\n searchPlaceholder=\"Search treatments or target pests...\"\n />\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3\">\n {filtered.map((t) => (\n <div key={t.id} className=\"rounded-lg border border-border bg-card p-4 shadow-sm\">\n <div className=\"flex items-center justify-between mb-2\">\n <div className=\"flex items-center gap-2\">\n <Beaker className=\"h-4 w-4 text-muted-foreground\" />\n <h3 className=\"font-medium text-foreground\">{t.name}</h3>\n </div>\n <StatusBadge label={t.type} variant={typeVariant[t.type] ?? 'muted'} />\n </div>\n\n <div className=\"space-y-2 text-sm\">\n <div>\n <span className=\"text-xs text-muted-foreground uppercase tracking-wider\">Target Pests</span>\n <div className=\"mt-1 flex flex-wrap gap-1\">\n {(t.targetPests ?? []).map((pest) => (\n <span key={pest} className=\"rounded-md bg-muted px-2 py-0.5 text-xs text-foreground\">\n {pest}\n </span>\n ))}\n </div>\n </div>\n\n <div className=\"grid grid-cols-2 gap-2 pt-1\">\n <div>\n <span className=\"text-xs text-muted-foreground\">Application</span>\n <p className=\"text-foreground text-xs mt-0.5\">{t.application}</p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Frequency</span>\n <p className=\"text-foreground text-xs mt-0.5\">{t.frequency}</p>\n </div>\n </div>\n\n <div className=\"pt-1\">\n <div className=\"flex items-center justify-between text-xs mb-1\">\n <span className=\"text-muted-foreground\">Effectiveness</span>\n <span className=\"font-medium text-foreground\">{t.effectiveness}%</span>\n </div>\n <div className=\"h-2 w-full rounded-full bg-muted\">\n <div\n className={cn(\n 'h-2 rounded-full',\n t.effectiveness >= 90 ? 'bg-emerald-500' : t.effectiveness >= 80 ? 'bg-blue-500' : 'bg-amber-500'\n )}\n style={{ width: `${t.effectiveness}%` }}\n />\n </div>\n </div>\n\n <div className=\"flex items-center justify-between text-xs text-muted-foreground pt-1 border-t border-border\">\n <span>Dosage: {t.dosage}</span>\n <span>\n Safety: {t.safetyPeriod} day{t.safetyPeriod !== 1 ? 's' : ''}\n </span>\n </div>\n </div>\n </div>\n ))}\n </div>\n\n <Modal\n open={showAddModal}\n onClose={() => {\n setShowAddModal(false);\n setFormData(defaultFormData);\n }}\n title=\"Add Treatment\"\n description=\"Add a new treatment to the library.\"\n size=\"lg\"\n footer={\n <>\n <button\n onClick={() => {\n setShowAddModal(false);\n setFormData(defaultFormData);\n }}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground\"\n >\n Cancel\n </button>\n <button\n onClick={handleSubmit as unknown as () => void}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Add Treatment\n </button>\n </>\n }\n >\n <form onSubmit={handleSubmit} className=\"grid gap-4 sm:grid-cols-2\">\n <div>\n <label className=\"text-sm font-medium text-foreground\">Name *</label>\n <input\n type=\"text\"\n value={formData.name}\n onChange={(e) => setFormData((prev) => ({ ...prev, name: e.target.value }))}\n placeholder=\"e.g., Neem Oil Spray\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Type *</label>\n <select\n value={formData.type}\n onChange={(e) => setFormData((prev) => ({ ...prev, type: e.target.value as Treatment['type'] }))}\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground\"\n >\n <option value=\"organic\">Organic</option>\n <option value=\"biological\">Biological</option>\n <option value=\"mechanical\">Mechanical</option>\n <option value=\"cultural\">Cultural</option>\n </select>\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Application Method *</label>\n <input\n type=\"text\"\n value={formData.application}\n onChange={(e) => setFormData((prev) => ({ ...prev, application: e.target.value }))}\n placeholder=\"e.g., Foliar spray\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Dosage</label>\n <input\n type=\"text\"\n value={formData.dosage}\n onChange={(e) => setFormData((prev) => ({ ...prev, dosage: e.target.value }))}\n placeholder=\"e.g., 5ml/L\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Frequency</label>\n <input\n type=\"text\"\n value={formData.frequency}\n onChange={(e) => setFormData((prev) => ({ ...prev, frequency: e.target.value }))}\n placeholder=\"e.g., Every 7 days\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Effectiveness (%)</label>\n <input\n type=\"number\"\n value={formData.effectiveness}\n onChange={(e) => setFormData((prev) => ({ ...prev, effectiveness: e.target.value }))}\n placeholder=\"e.g., 85\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Safety Period (days)</label>\n <input\n type=\"number\"\n value={formData.safetyPeriod}\n onChange={(e) => setFormData((prev) => ({ ...prev, safetyPeriod: e.target.value }))}\n placeholder=\"e.g., 7\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Target Pests (comma-separated)</label>\n <input\n type=\"text\"\n value={formData.targetPests}\n onChange={(e) => setFormData((prev) => ({ ...prev, targetPests: e.target.value }))}\n placeholder=\"e.g., Aphids, Whiteflies\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n </form>\n </Modal>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductionBatchesPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/production/ProductionBatchesPage.tsx"],"names":[],"mappings":"AAaA,wBAAgB,qBAAqB,4CAgFpC"}
|