@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 @@
|
|
|
1
|
+
{"version":3,"file":"VaccinationSchedulePage.js","names":[],"sources":["../../../../src/healthybowl/pages/livestock/VaccinationSchedulePage.tsx"],"sourcesContent":["import { useState, useMemo, type FC, type FormEvent } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport { useBasePath } from '../../hooks/useBasePath';\nimport { Plus, Download, Upload, AlertCircle, Clock, CheckCircle, Syringe, Eye, Edit } from 'lucide-react';\nimport { PageLayout, StatCard, DataTable, StatusBadge, FilterBar, Modal } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { formatDate } from '../../utils/helpers';\nimport { useToast } from '../../hooks/useToast';\nimport { ToastContainer } from '../../components/Toast';\nimport type { Vaccination } from '../../types';\nimport type { Column } from '../../components/DataTable';\n\nconst statusVariant = (s: string) => {\n switch (s) {\n case 'completed':\n return 'success' as const;\n case 'scheduled':\n return 'info' as const;\n case 'overdue':\n return 'error' as const;\n default:\n return 'muted' as const;\n }\n};\n\n/** Vaccination schedule reference by animal type */\nconst vaccinationScheduleReference = {\n cattle: [\n { name: 'FMD Vaccine', frequency: '6 months', ageStart: '4 months' },\n { name: 'HS Vaccine', frequency: '6 months', ageStart: '6 months' },\n { name: 'BQ Vaccine', frequency: '12 months', ageStart: '6 months' },\n { name: 'Brucellosis', frequency: 'Once', ageStart: '4-8 months (female calves)' },\n { name: 'Anthrax', frequency: '12 months', ageStart: '6 months' },\n ],\n goat: [\n { name: 'PPR Vaccine', frequency: '3 years', ageStart: '3 months' },\n { name: 'ET Vaccine', frequency: '6 months', ageStart: '3 months' },\n { name: 'Goat Pox', frequency: '12 months', ageStart: '3 months' },\n { name: 'FMD Vaccine', frequency: '6 months', ageStart: '4 months' },\n ],\n buffalo: [\n { name: 'FMD Vaccine', frequency: '6 months', ageStart: '4 months' },\n { name: 'HS Vaccine', frequency: '6 months', ageStart: '6 months' },\n { name: 'BQ Vaccine', frequency: '12 months', ageStart: '6 months' },\n { name: 'Brucellosis', frequency: 'Once', ageStart: '4-8 months (female calves)' },\n ],\n};\n\nexport const VaccinationSchedulePage: FC = () => {\n const { vaccinations, animals } = useHealthyBowlData();\n\n const navigate = useNavigate();\n const { buildPath } = useBasePath();\n const [search, setSearch] = useState('');\n const [statusFilter, setStatusFilter] = useState('all');\n const [localVaccinations, setLocalVaccinations] = useState(vaccinations);\n const [showAddModal, setShowAddModal] = useState(false);\n const [showViewModal, setShowViewModal] = useState(false);\n const [viewRecord, setViewRecord] = useState<Vaccination | null>(null);\n const [showEditModal, setShowEditModal] = useState(false);\n const [editRecord, setEditRecord] = useState<Vaccination | null>(null);\n const [editStatus, setEditStatus] = useState<'scheduled' | 'completed' | 'overdue'>('scheduled');\n const [editNextDueDate, setEditNextDueDate] = useState('');\n const [editVet, setEditVet] = useState('');\n const { toasts, toast, dismiss } = useToast();\n\n // Add form state\n const [formAnimalId, setFormAnimalId] = useState('');\n const [formVaccine, setFormVaccine] = useState('');\n const [formScheduledDate, setFormScheduledDate] = useState('');\n const [formNotes, setFormNotes] = useState('');\n\n const filtered = useMemo(() => {\n return localVaccinations.filter((v) => {\n const matchesSearch =\n (v.animalName ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (v.vaccineName ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (v.veterinarian ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (v.batchNumber ?? '').toLowerCase().includes(search.toLowerCase());\n const matchesStatus = statusFilter === 'all' || v.status === statusFilter;\n return matchesSearch && matchesStatus;\n });\n }, [localVaccinations, search, statusFilter]);\n\n const overdueCount = localVaccinations.filter((v) => v.status === 'overdue').length;\n const scheduledCount = localVaccinations.filter((v) => v.status === 'scheduled').length;\n const completedCount = localVaccinations.filter((v) => v.status === 'completed').length;\n const totalCount = localVaccinations.length;\n\n const handleExport = () => {\n const csvData = [\n ['Animal', 'Vaccine', 'Date Given', 'Next Due', 'Veterinarian', 'Batch #', 'Status'],\n ...localVaccinations.map((v) => [\n v.animalName,\n v.vaccineName,\n v.administrationDate,\n v.nextDueDate,\n v.veterinarian,\n v.batchNumber,\n v.status,\n ]),\n ]\n .map((row) => (row ?? []).join(','))\n .join('\\n');\n const blob = new Blob([csvData], { type: 'text/csv' });\n const url = window.URL.createObjectURL(blob);\n const link = document.createElement('a');\n link.href = url;\n link.download = `vaccination-schedule-${new Date().toISOString().split('T')[0]}.csv`;\n link.click();\n window.URL.revokeObjectURL(url);\n };\n\n const resetForm = () => {\n setFormAnimalId('');\n setFormVaccine('');\n setFormScheduledDate('');\n setFormNotes('');\n };\n\n const handleAddVaccination = (e: FormEvent) => {\n e.preventDefault();\n if (!formAnimalId || !formVaccine || !formScheduledDate) {\n toast({ title: 'Please fill in all required fields.', variant: 'warning' });\n return;\n }\n const selectedAnimal = animals.find((a) => a.id === formAnimalId);\n const newVaccination: Vaccination = {\n id: `vac-${Date.now()}`,\n animalId: formAnimalId,\n animalName: selectedAnimal?.name ?? 'Unknown',\n vaccineName: formVaccine,\n administrationDate: formScheduledDate,\n nextDueDate: formScheduledDate,\n veterinarian: formNotes || 'TBD',\n batchNumber: `BATCH-${Date.now().toString().slice(-6)}`,\n status: 'scheduled',\n };\n setLocalVaccinations((prev) => [newVaccination, ...prev]);\n setShowAddModal(false);\n resetForm();\n toast({ title: 'Vaccination scheduled successfully.', variant: 'success' });\n };\n\n const openEditModal = (record: Vaccination) => {\n setEditRecord(record);\n setEditStatus((record.status as typeof editStatus) ?? 'scheduled');\n setEditNextDueDate(record.nextDueDate);\n setEditVet(record.veterinarian);\n setShowEditModal(true);\n };\n\n const handleEditVaccination = () => {\n if (!editRecord) return;\n setLocalVaccinations((prev) =>\n prev.map((v) =>\n v.id === editRecord.id ? { ...v, status: editStatus, nextDueDate: editNextDueDate, veterinarian: editVet } : v\n )\n );\n setShowEditModal(false);\n setEditRecord(null);\n toast({ title: 'Vaccination record updated successfully.', variant: 'success' });\n };\n\n const columns: Column<Vaccination>[] = [\n {\n key: 'animalName',\n header: 'Animal',\n render: (item: Vaccination) => (\n <span\n className=\"cursor-pointer text-sm font-medium text-foreground hover:text-primary\"\n onClick={(e) => {\n e.stopPropagation();\n navigate(buildPath(`livestock/animals/${item.animalId}`));\n }}\n >\n {item.animalName}\n </span>\n ),\n },\n {\n key: 'vaccineName',\n header: 'Vaccine',\n render: (item: Vaccination) => <span className=\"text-sm text-foreground\">{item.vaccineName}</span>,\n },\n {\n key: 'administrationDate',\n header: 'Date Given',\n render: (item: Vaccination) => (\n <span className=\"text-sm text-foreground\">{formatDate(item.administrationDate)}</span>\n ),\n },\n {\n key: 'nextDueDate',\n header: 'Next Due',\n render: (item: Vaccination) => <span className=\"text-sm text-foreground\">{formatDate(item.nextDueDate)}</span>,\n },\n {\n key: 'veterinarian',\n header: 'Veterinarian',\n render: (item: Vaccination) => <span className=\"text-sm text-foreground\">{item.veterinarian}</span>,\n },\n {\n key: 'batchNumber',\n header: 'Batch #',\n render: (item: Vaccination) => (\n <span className=\"text-sm font-mono text-muted-foreground\">{item.batchNumber}</span>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n render: (item: Vaccination) => (\n <StatusBadge label={item.status} variant={statusVariant(item.status ?? 'unknown')} dot />\n ),\n },\n {\n key: 'actions',\n header: 'Actions',\n sortable: false,\n render: (item: Vaccination) => (\n <div className=\"flex items-center gap-1\" onClick={(e) => e.stopPropagation()}>\n <button\n onClick={() => {\n setViewRecord(item);\n setShowViewModal(true);\n }}\n className=\"rounded-md border border-border p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground\"\n >\n <Eye className=\"h-3.5 w-3.5\" />\n </button>\n <button\n onClick={() => openEditModal(item)}\n className=\"rounded-md border border-border p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground\"\n >\n <Edit className=\"h-3.5 w-3.5\" />\n </button>\n </div>\n ),\n },\n ];\n\n return (\n <PageLayout\n title=\"Vaccination Schedule\"\n description=\"Manage and track all vaccination schedules\"\n actions={\n <div className=\"flex items-center gap-2\">\n <button\n onClick={() => toast({ title: 'Import feature coming soon.', variant: 'info' })}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm text-foreground hover:bg-muted/50\"\n >\n <Upload className=\"h-4 w-4\" /> Import\n </button>\n <button\n onClick={handleExport}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm text-foreground hover:bg-muted/50\"\n >\n <Download className=\"h-4 w-4\" /> Export\n </button>\n <button\n onClick={() => setShowAddModal(true)}\n className=\"inline-flex items-center gap-2 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\" /> Schedule Vaccination\n </button>\n </div>\n }\n >\n {/* Overdue Alert Banner */}\n {overdueCount > 0 && (\n <div className=\"flex flex-col gap-3 rounded-lg border border-destructive/30 bg-destructive/5 p-4 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"flex items-center gap-3\">\n <AlertCircle className=\"h-5 w-5 text-destructive\" />\n <p className=\"text-sm text-foreground\">\n <span className=\"font-semibold\">\n {overdueCount} vaccination{overdueCount > 1 ? 's are' : ' is'} overdue!\n </span>{' '}\n Please schedule them immediately.\n </p>\n </div>\n <button\n onClick={() => setStatusFilter('overdue')}\n className=\"inline-flex items-center gap-1 rounded-md border border-destructive/50 px-3 py-1.5 text-sm font-medium text-destructive hover:bg-destructive/10\"\n >\n View Overdue\n </button>\n </div>\n )}\n\n {/* Stats */}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n <StatCard label=\"Overdue\" value={overdueCount} icon={<AlertCircle className=\"h-4 w-4\" />} />\n <StatCard label=\"Scheduled\" value={scheduledCount} icon={<Clock className=\"h-4 w-4\" />} />\n <StatCard label=\"Completed\" value={completedCount} icon={<CheckCircle className=\"h-4 w-4\" />} />\n <StatCard label=\"Total Vaccinations\" value={totalCount} icon={<Syringe className=\"h-4 w-4\" />} />\n </div>\n\n {/* Filters */}\n <FilterBar\n searchValue={search}\n onSearchChange={setSearch}\n searchPlaceholder=\"Search by animal, vaccine, vet, or batch...\"\n filters={\n <select\n value={statusFilter}\n onChange={(e) => setStatusFilter(e.target.value)}\n className=\"h-9 rounded-md border border-border bg-background px-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n >\n <option value=\"all\">All Status</option>\n <option value=\"overdue\">Overdue</option>\n <option value=\"scheduled\">Scheduled</option>\n <option value=\"completed\">Completed</option>\n </select>\n }\n />\n\n {/* Data Table */}\n <DataTable\n columns={columns}\n data={filtered}\n keyField=\"id\"\n emptyMessage=\"No vaccination records found matching your filters.\"\n />\n\n {/* Vaccination Schedule Reference */}\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <h3 className=\"text-base font-semibold text-foreground\">Vaccination Schedule Reference</h3>\n <p className=\"mt-1 text-sm text-muted-foreground\">Recommended vaccination schedule by animal type</p>\n <div className=\"mt-4 grid grid-cols-1 gap-6 md:grid-cols-3\">\n {Object.entries(vaccinationScheduleReference).map(([animalType, schedule]) => (\n <div key={animalType}>\n <h4 className=\"mb-3 text-sm font-semibold capitalize text-foreground\">{animalType}</h4>\n <div className=\"space-y-2\">\n {schedule.map((vaccine, index) => (\n <div key={index} className=\"border-l-2 border-border pl-3 text-sm\">\n <p className=\"font-medium text-foreground\">{vaccine.name}</p>\n <p className=\"text-xs text-muted-foreground\">\n Every {vaccine.frequency} • Start at {vaccine.ageStart}\n </p>\n </div>\n ))}\n </div>\n </div>\n ))}\n </div>\n </div>\n\n {/* Back nav */}\n <div>\n <button\n onClick={() => navigate(buildPath('livestock'))}\n className=\"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground\"\n >\n ← Back to Livestock Dashboard\n </button>\n </div>\n\n {/* Add Vaccination Modal */}\n <Modal\n open={showAddModal}\n onClose={() => {\n setShowAddModal(false);\n resetForm();\n }}\n title=\"Schedule Vaccination\"\n description=\"Schedule a new vaccination for an animal\"\n size=\"lg\"\n footer={\n <>\n <button\n onClick={() => {\n setShowAddModal(false);\n resetForm();\n }}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-foreground hover:bg-muted/50\"\n >\n Cancel\n </button>\n <button\n onClick={handleAddVaccination 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 Schedule\n </button>\n </>\n }\n >\n <form onSubmit={handleAddVaccination} className=\"flex flex-col gap-4\">\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Animal</label>\n <select\n value={formAnimalId}\n onChange={(e) => setFormAnimalId(e.target.value)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n >\n <option value=\"\">Select animal</option>\n {animals.map((a) => (\n <option key={a.id} value={a.id}>\n {a.name} ({a.tagNumber})\n </option>\n ))}\n </select>\n </div>\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Vaccine Name</label>\n <input\n type=\"text\"\n value={formVaccine}\n onChange={(e) => setFormVaccine(e.target.value)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n placeholder=\"e.g. FMD Vaccine\"\n />\n </div>\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Scheduled Date</label>\n <input\n type=\"date\"\n value={formScheduledDate}\n onChange={(e) => setFormScheduledDate(e.target.value)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Notes</label>\n <textarea\n value={formNotes}\n onChange={(e) => setFormNotes(e.target.value)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n rows={3}\n placeholder=\"Additional notes\"\n />\n </div>\n </form>\n </Modal>\n\n {/* View Vaccination Modal */}\n <Modal\n open={showViewModal}\n onClose={() => {\n setShowViewModal(false);\n setViewRecord(null);\n }}\n title=\"Vaccination Details\"\n size=\"md\"\n >\n {viewRecord && (\n <div className=\"flex flex-col gap-3\">\n <div>\n <p className=\"text-xs text-muted-foreground\">Animal</p>\n <p className=\"text-sm font-medium text-foreground\">{viewRecord.animalName}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Vaccine</p>\n <p className=\"text-sm font-medium text-foreground\">{viewRecord.vaccineName}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Administration Date</p>\n <p className=\"text-sm font-medium text-foreground\">{formatDate(viewRecord.administrationDate)}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Next Due Date</p>\n <p className=\"text-sm font-medium text-foreground\">{formatDate(viewRecord.nextDueDate)}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Veterinarian</p>\n <p className=\"text-sm font-medium text-foreground\">{viewRecord.veterinarian}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Batch Number</p>\n <p className=\"text-sm font-mono font-medium text-foreground\">{viewRecord.batchNumber}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Status</p>\n <StatusBadge label={viewRecord.status} variant={statusVariant(viewRecord.status ?? 'unknown')} dot />\n </div>\n </div>\n )}\n </Modal>\n\n {/* Edit Vaccination Modal */}\n <Modal\n open={showEditModal}\n onClose={() => {\n setShowEditModal(false);\n setEditRecord(null);\n }}\n title=\"Edit Vaccination Record\"\n description={editRecord ? `Update vaccination for ${editRecord.animalName}` : ''}\n size=\"md\"\n footer={\n <>\n <button\n onClick={() => {\n setShowEditModal(false);\n setEditRecord(null);\n }}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-foreground hover:bg-muted/50\"\n >\n Cancel\n </button>\n <button\n onClick={handleEditVaccination}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Save Changes\n </button>\n </>\n }\n >\n {editRecord && (\n <div className=\"flex flex-col gap-4\">\n <div>\n <p className=\"text-xs text-muted-foreground\">Animal</p>\n <p className=\"text-sm font-medium text-foreground\">{editRecord.animalName}</p>\n </div>\n <div>\n <p className=\"text-xs text-muted-foreground\">Vaccine</p>\n <p className=\"text-sm font-medium text-foreground\">{editRecord.vaccineName}</p>\n </div>\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Status</label>\n <select\n value={editStatus}\n onChange={(e) => setEditStatus(e.target.value as typeof editStatus)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n >\n <option value=\"scheduled\">Scheduled</option>\n <option value=\"completed\">Completed</option>\n <option value=\"overdue\">Overdue</option>\n </select>\n </div>\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Next Due Date</label>\n <input\n type=\"date\"\n value={editNextDueDate}\n onChange={(e) => setEditNextDueDate(e.target.value)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"mb-1 block text-sm font-medium text-foreground\">Veterinarian</label>\n <input\n type=\"text\"\n value={editVet}\n onChange={(e) => setEditVet(e.target.value)}\n className=\"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n placeholder=\"Veterinarian name\"\n />\n </div>\n </div>\n )}\n </Modal>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAYA,IAAM,KAAiB,MAAc;AACnC,SAAQ,GAAR;EACE,KAAK,YACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,UACH,QAAO;EACT,QACE,QAAO;;GAKP,IAA+B;CACnC,QAAQ;EACN;GAAE,MAAM;GAAe,WAAW;GAAY,UAAU;GAAY;EACpE;GAAE,MAAM;GAAc,WAAW;GAAY,UAAU;GAAY;EACnE;GAAE,MAAM;GAAc,WAAW;GAAa,UAAU;GAAY;EACpE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AD;OAAO,WAAU;iBAAiD;OAAqB,CAAA,EACvF,kBAAC,SAAD;OACE,MAAK;OACL,OAAO;OACP,WAAW,MAAM,EAAmB,EAAE,OAAO,MAAM;OACnD,WAAU;OACV,CAAA,CACE,EAAA,CAAA;MACN,kBAAC,OAAD,EAAA,UAAA,CACE,kBAAC,SAAD;OAAO,WAAU;iBAAiD;OAAoB,CAAA,EACtF,kBAAC,SAAD;OACE,MAAK;OACL,OAAO;OACP,WAAW,MAAM,EAAW,EAAE,OAAO,MAAM;OAC3C,WAAU;OACV,aAAY;OACZ,CAAA,CACE,EAAA,CAAA;MACF;;IAEF,CAAA;GAER,kBAAC,GAAD;IAAwB;IAAQ,WAAW;IAAW,CAAA;GAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/marketplace/CartPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAsB1C,eAAO,MAAM,QAAQ,EAAE,EA0ZtB,CAAC"}
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { formatCurrency as e } from "../../utils/helpers.js";
|
|
2
|
+
import { PageLayout as t } from "../../components/PageLayout.js";
|
|
3
|
+
import { StatCard as n } from "../../components/StatCard.js";
|
|
4
|
+
import { EmptyState as r } from "../../components/EmptyState.js";
|
|
5
|
+
import { ToastContainer as i } from "../../components/Toast.js";
|
|
6
|
+
import { Breadcrumbs as a } from "../../components/Breadcrumbs.js";
|
|
7
|
+
import { Modal as o } from "../../components/Modal.js";
|
|
8
|
+
import "../../components/index.js";
|
|
9
|
+
import { useHealthyBowlData as s } from "../../hooks/useHealthyBowlData.js";
|
|
10
|
+
import { useHealthyBowlStore as c } from "../../store/healthybowlStore.js";
|
|
11
|
+
import { useToast as l } from "../../hooks/useToast.js";
|
|
12
|
+
import { useState as u } from "react";
|
|
13
|
+
import { ArrowLeft as d, CheckCircle as f, CreditCard as p, Minus as m, Package as h, Plus as g, ShieldCheck as _, ShoppingCart as v, Tag as y, Trash2 as b, Truck as x } from "lucide-react";
|
|
14
|
+
import { useNavigate as S } from "react-router-dom";
|
|
15
|
+
import { Fragment as ee, jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
16
|
+
//#region src/healthybowl/pages/marketplace/CartPage.tsx
|
|
17
|
+
var T = () => {
|
|
18
|
+
let { marketplaceProducts: T } = s(), E = S(), { cart: D, updateCartQuantity: O, removeFromCart: k, clearCart: A } = c(), { toasts: j, toast: M, dismiss: N } = l(), [P, F] = u(""), [I, L] = u(!1), [R, z] = u(0), [B, V] = u(!1), H = D.reduce((e, t) => e + t.price * t.quantity, 0), U = H * .08, W = D.length === 0 || H >= 100 ? 0 : 15, G = I ? R : 0, K = H + U + W - G, q = D.reduce((e, t) => e + t.quantity, 0), J = new Set(D.map((e) => e.seller)).size, Y = () => {
|
|
19
|
+
if (!P.trim()) {
|
|
20
|
+
M({
|
|
21
|
+
title: "Enter a promo code",
|
|
22
|
+
variant: "warning"
|
|
23
|
+
});
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (P.toUpperCase() === "ORGANIC10") {
|
|
27
|
+
let t = H * .1;
|
|
28
|
+
z(t), L(!0), M({
|
|
29
|
+
title: "Promo code applied!",
|
|
30
|
+
description: `You saved ${e(t)} (10% off)`,
|
|
31
|
+
variant: "success"
|
|
32
|
+
});
|
|
33
|
+
} else M({
|
|
34
|
+
title: "Invalid promo code",
|
|
35
|
+
description: "Try \"ORGANIC10\" for 10% off",
|
|
36
|
+
variant: "error"
|
|
37
|
+
});
|
|
38
|
+
}, X = () => {
|
|
39
|
+
F(""), L(!1), z(0), M({
|
|
40
|
+
title: "Promo code removed",
|
|
41
|
+
variant: "info"
|
|
42
|
+
});
|
|
43
|
+
}, Z = (e, t) => {
|
|
44
|
+
k(e), M({
|
|
45
|
+
title: "Item removed",
|
|
46
|
+
description: `${t} removed from cart`,
|
|
47
|
+
variant: "info"
|
|
48
|
+
});
|
|
49
|
+
}, Q = () => {
|
|
50
|
+
A(), L(!1), z(0), M({
|
|
51
|
+
title: "Cart cleared",
|
|
52
|
+
description: "All items have been removed",
|
|
53
|
+
variant: "info"
|
|
54
|
+
});
|
|
55
|
+
}, te = () => {
|
|
56
|
+
V(!0);
|
|
57
|
+
}, ne = () => {
|
|
58
|
+
V(!1), A(), L(!1), z(0), M({
|
|
59
|
+
title: "Order Confirmed!",
|
|
60
|
+
description: `Your order of ${e(K)} has been placed successfully. You'll receive a confirmation email shortly.`,
|
|
61
|
+
variant: "success"
|
|
62
|
+
});
|
|
63
|
+
}, re = new Set(D.map((e) => e.productId)), $ = T.filter((e) => !re.has(e.id)).slice(0, 3);
|
|
64
|
+
return D.length === 0 ? /* @__PURE__ */ w(t, {
|
|
65
|
+
title: "Shopping Cart",
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ C(a, { items: [{
|
|
68
|
+
label: "Marketplace",
|
|
69
|
+
href: "/marketplace"
|
|
70
|
+
}, { label: "Cart" }] }),
|
|
71
|
+
/* @__PURE__ */ C(r, {
|
|
72
|
+
icon: /* @__PURE__ */ C(v, { className: "h-12 w-12 text-muted-foreground" }),
|
|
73
|
+
title: "Your Cart is Empty",
|
|
74
|
+
description: "Looks like you haven't added any products yet. Browse the marketplace to find great organic products.",
|
|
75
|
+
action: /* @__PURE__ */ w("button", {
|
|
76
|
+
onClick: () => E("/marketplace"),
|
|
77
|
+
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",
|
|
78
|
+
children: [/* @__PURE__ */ C(d, { className: "h-4 w-4" }), " Browse Marketplace"]
|
|
79
|
+
})
|
|
80
|
+
}),
|
|
81
|
+
$.length > 0 && /* @__PURE__ */ w("div", {
|
|
82
|
+
className: "mt-6",
|
|
83
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
84
|
+
className: "text-sm font-semibold text-foreground",
|
|
85
|
+
children: "You might be interested in"
|
|
86
|
+
}), /* @__PURE__ */ C("div", {
|
|
87
|
+
className: "mt-3 grid gap-3 sm:grid-cols-3",
|
|
88
|
+
children: $.map((t) => /* @__PURE__ */ w("button", {
|
|
89
|
+
onClick: () => E(`/marketplace/${t.id}`),
|
|
90
|
+
className: "flex items-center gap-3 rounded-lg border border-border bg-card p-3 text-left transition-colors hover:bg-muted/50",
|
|
91
|
+
children: [/* @__PURE__ */ C(h, { className: "h-8 w-8 shrink-0 text-muted-foreground" }), /* @__PURE__ */ w("div", { children: [
|
|
92
|
+
/* @__PURE__ */ C("p", {
|
|
93
|
+
className: "text-sm font-medium text-foreground",
|
|
94
|
+
children: t.name
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ C("p", {
|
|
97
|
+
className: "text-xs text-muted-foreground",
|
|
98
|
+
children: t.seller
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ C("p", {
|
|
101
|
+
className: "mt-0.5 text-sm font-semibold text-foreground",
|
|
102
|
+
children: e(t.price)
|
|
103
|
+
})
|
|
104
|
+
] })]
|
|
105
|
+
}, t.id))
|
|
106
|
+
})]
|
|
107
|
+
}),
|
|
108
|
+
/* @__PURE__ */ C(i, {
|
|
109
|
+
toasts: j,
|
|
110
|
+
onDismiss: N
|
|
111
|
+
})
|
|
112
|
+
]
|
|
113
|
+
}) : /* @__PURE__ */ w(t, {
|
|
114
|
+
title: "Shopping Cart",
|
|
115
|
+
description: `${q} item(s) in your cart`,
|
|
116
|
+
actions: /* @__PURE__ */ w("button", {
|
|
117
|
+
onClick: Q,
|
|
118
|
+
className: "flex items-center gap-1 rounded-md border border-border px-3 py-1.5 text-xs text-muted-foreground hover:border-red-300 hover:text-red-500",
|
|
119
|
+
children: [/* @__PURE__ */ C(b, { className: "h-3 w-3" }), " Clear Cart"]
|
|
120
|
+
}),
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ C(a, { items: [{
|
|
123
|
+
label: "Marketplace",
|
|
124
|
+
href: "/marketplace"
|
|
125
|
+
}, { label: "Cart" }] }),
|
|
126
|
+
/* @__PURE__ */ w("div", {
|
|
127
|
+
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
128
|
+
children: [
|
|
129
|
+
/* @__PURE__ */ C(n, {
|
|
130
|
+
label: "Items in Cart",
|
|
131
|
+
value: q,
|
|
132
|
+
icon: /* @__PURE__ */ C(v, { className: "h-5 w-5" })
|
|
133
|
+
}),
|
|
134
|
+
/* @__PURE__ */ C(n, {
|
|
135
|
+
label: "Unique Products",
|
|
136
|
+
value: D.length,
|
|
137
|
+
icon: /* @__PURE__ */ C(h, { className: "h-5 w-5" })
|
|
138
|
+
}),
|
|
139
|
+
/* @__PURE__ */ C(n, {
|
|
140
|
+
label: "Sellers",
|
|
141
|
+
value: J,
|
|
142
|
+
icon: /* @__PURE__ */ C(y, { className: "h-5 w-5" })
|
|
143
|
+
}),
|
|
144
|
+
/* @__PURE__ */ C(n, {
|
|
145
|
+
label: "Subtotal",
|
|
146
|
+
value: e(H),
|
|
147
|
+
icon: /* @__PURE__ */ C(p, { className: "h-5 w-5" })
|
|
148
|
+
})
|
|
149
|
+
]
|
|
150
|
+
}),
|
|
151
|
+
/* @__PURE__ */ w("div", {
|
|
152
|
+
className: "grid gap-6 lg:grid-cols-3",
|
|
153
|
+
children: [/* @__PURE__ */ C("div", {
|
|
154
|
+
className: "space-y-3 lg:col-span-2",
|
|
155
|
+
children: D.map((t) => /* @__PURE__ */ w("div", {
|
|
156
|
+
className: "flex items-center gap-4 rounded-lg border border-border bg-card p-4 shadow-sm",
|
|
157
|
+
children: [
|
|
158
|
+
/* @__PURE__ */ C("div", {
|
|
159
|
+
className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-md bg-muted",
|
|
160
|
+
children: /* @__PURE__ */ C(h, { className: "h-5 w-5 text-muted-foreground" })
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ w("div", {
|
|
163
|
+
className: "min-w-0 flex-1",
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ C("button", {
|
|
166
|
+
onClick: () => E(`/marketplace/${t.productId}`),
|
|
167
|
+
className: "text-sm font-semibold text-foreground hover:underline",
|
|
168
|
+
children: t.name
|
|
169
|
+
}),
|
|
170
|
+
/* @__PURE__ */ C("p", {
|
|
171
|
+
className: "text-xs text-muted-foreground",
|
|
172
|
+
children: t.seller
|
|
173
|
+
}),
|
|
174
|
+
/* @__PURE__ */ w("p", {
|
|
175
|
+
className: "mt-0.5 text-sm text-foreground",
|
|
176
|
+
children: [e(t.price), /* @__PURE__ */ w("span", {
|
|
177
|
+
className: "text-xs text-muted-foreground",
|
|
178
|
+
children: [" / ", t.unit]
|
|
179
|
+
})]
|
|
180
|
+
})
|
|
181
|
+
]
|
|
182
|
+
}),
|
|
183
|
+
/* @__PURE__ */ w("div", {
|
|
184
|
+
className: "flex items-center gap-1.5",
|
|
185
|
+
children: [
|
|
186
|
+
/* @__PURE__ */ C("button", {
|
|
187
|
+
onClick: () => O(t.productId, t.quantity - 1),
|
|
188
|
+
className: "rounded-md border border-border p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground",
|
|
189
|
+
children: /* @__PURE__ */ C(m, { className: "h-3 w-3" })
|
|
190
|
+
}),
|
|
191
|
+
/* @__PURE__ */ C("span", {
|
|
192
|
+
className: "min-w-[2.5rem] text-center text-sm font-semibold text-foreground",
|
|
193
|
+
children: t.quantity
|
|
194
|
+
}),
|
|
195
|
+
/* @__PURE__ */ C("button", {
|
|
196
|
+
onClick: () => O(t.productId, t.quantity + 1),
|
|
197
|
+
className: "rounded-md border border-border p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground",
|
|
198
|
+
children: /* @__PURE__ */ C(g, { className: "h-3 w-3" })
|
|
199
|
+
})
|
|
200
|
+
]
|
|
201
|
+
}),
|
|
202
|
+
/* @__PURE__ */ C("p", {
|
|
203
|
+
className: "w-24 text-right text-sm font-bold text-foreground",
|
|
204
|
+
children: e(t.price * t.quantity)
|
|
205
|
+
}),
|
|
206
|
+
/* @__PURE__ */ C("button", {
|
|
207
|
+
onClick: () => Z(t.productId, t.name),
|
|
208
|
+
className: "rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-red-50 hover:text-red-500 dark:hover:bg-red-900/20",
|
|
209
|
+
children: /* @__PURE__ */ C(b, { className: "h-4 w-4" })
|
|
210
|
+
})
|
|
211
|
+
]
|
|
212
|
+
}, t.id))
|
|
213
|
+
}), /* @__PURE__ */ w("div", {
|
|
214
|
+
className: "space-y-4",
|
|
215
|
+
children: [/* @__PURE__ */ w("div", {
|
|
216
|
+
className: "rounded-lg border border-border bg-card p-5",
|
|
217
|
+
children: [
|
|
218
|
+
/* @__PURE__ */ C("h3", {
|
|
219
|
+
className: "text-sm font-semibold text-foreground",
|
|
220
|
+
children: "Order Summary"
|
|
221
|
+
}),
|
|
222
|
+
/* @__PURE__ */ w("div", {
|
|
223
|
+
className: "mt-4 space-y-2.5 text-sm",
|
|
224
|
+
children: [
|
|
225
|
+
/* @__PURE__ */ w("div", {
|
|
226
|
+
className: "flex justify-between text-muted-foreground",
|
|
227
|
+
children: [/* @__PURE__ */ w("span", { children: [
|
|
228
|
+
"Subtotal (",
|
|
229
|
+
q,
|
|
230
|
+
" items)"
|
|
231
|
+
] }), /* @__PURE__ */ C("span", {
|
|
232
|
+
className: "text-foreground",
|
|
233
|
+
children: e(H)
|
|
234
|
+
})]
|
|
235
|
+
}),
|
|
236
|
+
/* @__PURE__ */ w("div", {
|
|
237
|
+
className: "flex justify-between text-muted-foreground",
|
|
238
|
+
children: [/* @__PURE__ */ C("span", { children: "Tax (8%)" }), /* @__PURE__ */ C("span", {
|
|
239
|
+
className: "text-foreground",
|
|
240
|
+
children: e(U)
|
|
241
|
+
})]
|
|
242
|
+
}),
|
|
243
|
+
/* @__PURE__ */ w("div", {
|
|
244
|
+
className: "flex justify-between text-muted-foreground",
|
|
245
|
+
children: [/* @__PURE__ */ w("span", {
|
|
246
|
+
className: "flex items-center gap-1",
|
|
247
|
+
children: [/* @__PURE__ */ C(x, { className: "h-3 w-3" }), " Shipping"]
|
|
248
|
+
}), /* @__PURE__ */ C("span", {
|
|
249
|
+
className: "text-foreground",
|
|
250
|
+
children: W === 0 ? /* @__PURE__ */ C("span", {
|
|
251
|
+
className: "font-medium text-emerald-600 dark:text-emerald-400",
|
|
252
|
+
children: "Free"
|
|
253
|
+
}) : e(W)
|
|
254
|
+
})]
|
|
255
|
+
}),
|
|
256
|
+
W > 0 && /* @__PURE__ */ C("p", {
|
|
257
|
+
className: "text-xs text-muted-foreground",
|
|
258
|
+
children: "Free shipping on orders over $100"
|
|
259
|
+
}),
|
|
260
|
+
I && /* @__PURE__ */ w("div", {
|
|
261
|
+
className: "flex justify-between text-emerald-600 dark:text-emerald-400",
|
|
262
|
+
children: [/* @__PURE__ */ w("span", {
|
|
263
|
+
className: "flex items-center gap-1",
|
|
264
|
+
children: [/* @__PURE__ */ C(y, { className: "h-3 w-3" }), " Promo Discount"]
|
|
265
|
+
}), /* @__PURE__ */ w("span", { children: ["-", e(G)] })]
|
|
266
|
+
}),
|
|
267
|
+
/* @__PURE__ */ C("div", {
|
|
268
|
+
className: "border-t border-border pt-2.5",
|
|
269
|
+
children: /* @__PURE__ */ w("div", {
|
|
270
|
+
className: "flex justify-between text-base font-bold text-foreground",
|
|
271
|
+
children: [/* @__PURE__ */ C("span", { children: "Total" }), /* @__PURE__ */ C("span", { children: e(K) })]
|
|
272
|
+
})
|
|
273
|
+
})
|
|
274
|
+
]
|
|
275
|
+
}),
|
|
276
|
+
/* @__PURE__ */ w("div", {
|
|
277
|
+
className: "mt-4 border-t border-border pt-4",
|
|
278
|
+
children: [/* @__PURE__ */ C("label", {
|
|
279
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
280
|
+
children: "Promo Code"
|
|
281
|
+
}), I ? /* @__PURE__ */ w("div", {
|
|
282
|
+
className: "mt-1.5 flex items-center justify-between rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 dark:border-emerald-800 dark:bg-emerald-900/20",
|
|
283
|
+
children: [/* @__PURE__ */ w("span", {
|
|
284
|
+
className: "text-sm font-medium text-emerald-700 dark:text-emerald-400",
|
|
285
|
+
children: [P.toUpperCase(), " applied"]
|
|
286
|
+
}), /* @__PURE__ */ C("button", {
|
|
287
|
+
onClick: X,
|
|
288
|
+
className: "text-xs text-emerald-600 hover:text-emerald-800 dark:text-emerald-400",
|
|
289
|
+
children: "Remove"
|
|
290
|
+
})]
|
|
291
|
+
}) : /* @__PURE__ */ w("div", {
|
|
292
|
+
className: "mt-1.5 flex gap-2",
|
|
293
|
+
children: [/* @__PURE__ */ C("input", {
|
|
294
|
+
type: "text",
|
|
295
|
+
placeholder: "Enter code",
|
|
296
|
+
value: P,
|
|
297
|
+
onChange: (e) => F(e.target.value),
|
|
298
|
+
onKeyDown: (e) => e.key === "Enter" && Y(),
|
|
299
|
+
className: "flex-1 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"
|
|
300
|
+
}), /* @__PURE__ */ C("button", {
|
|
301
|
+
onClick: Y,
|
|
302
|
+
className: "rounded-md border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-muted/50",
|
|
303
|
+
children: "Apply"
|
|
304
|
+
})]
|
|
305
|
+
})]
|
|
306
|
+
}),
|
|
307
|
+
/* @__PURE__ */ C("button", {
|
|
308
|
+
onClick: te,
|
|
309
|
+
className: "mt-4 w-full rounded-md bg-primary py-2.5 text-sm font-medium text-primary-foreground transition-opacity hover:bg-primary/90",
|
|
310
|
+
children: "Proceed to Checkout"
|
|
311
|
+
}),
|
|
312
|
+
/* @__PURE__ */ w("button", {
|
|
313
|
+
onClick: () => E("/marketplace"),
|
|
314
|
+
className: "mt-2 flex w-full items-center justify-center gap-1.5 rounded-md border border-border py-2 text-sm text-muted-foreground hover:text-foreground",
|
|
315
|
+
children: [/* @__PURE__ */ C(d, { className: "h-3 w-3" }), " Continue Shopping"]
|
|
316
|
+
})
|
|
317
|
+
]
|
|
318
|
+
}), /* @__PURE__ */ C("div", {
|
|
319
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
320
|
+
children: /* @__PURE__ */ w("div", {
|
|
321
|
+
className: "space-y-2.5 text-xs text-muted-foreground",
|
|
322
|
+
children: [
|
|
323
|
+
/* @__PURE__ */ w("div", {
|
|
324
|
+
className: "flex items-center gap-2",
|
|
325
|
+
children: [/* @__PURE__ */ C(_, { className: "h-4 w-4 shrink-0 text-emerald-600 dark:text-emerald-400" }), /* @__PURE__ */ C("span", { children: "Secure checkout with SSL encryption" })]
|
|
326
|
+
}),
|
|
327
|
+
/* @__PURE__ */ w("div", {
|
|
328
|
+
className: "flex items-center gap-2",
|
|
329
|
+
children: [/* @__PURE__ */ C(x, { className: "h-4 w-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ C("span", { children: "Temperature-controlled delivery" })]
|
|
330
|
+
}),
|
|
331
|
+
/* @__PURE__ */ w("div", {
|
|
332
|
+
className: "flex items-center gap-2",
|
|
333
|
+
children: [/* @__PURE__ */ C(h, { className: "h-4 w-4 shrink-0 text-muted-foreground" }), /* @__PURE__ */ C("span", { children: "100% quality guarantee or money back" })]
|
|
334
|
+
})
|
|
335
|
+
]
|
|
336
|
+
})
|
|
337
|
+
})]
|
|
338
|
+
})]
|
|
339
|
+
}),
|
|
340
|
+
$.length > 0 && /* @__PURE__ */ w("div", {
|
|
341
|
+
className: "mt-2",
|
|
342
|
+
children: [/* @__PURE__ */ C("h3", {
|
|
343
|
+
className: "text-sm font-semibold text-foreground",
|
|
344
|
+
children: "You might also like"
|
|
345
|
+
}), /* @__PURE__ */ C("div", {
|
|
346
|
+
className: "mt-3 grid gap-3 sm:grid-cols-3",
|
|
347
|
+
children: $.map((t) => /* @__PURE__ */ w("button", {
|
|
348
|
+
onClick: () => E(`/marketplace/${t.id}`),
|
|
349
|
+
className: "flex items-center gap-3 rounded-lg border border-border bg-card p-3 text-left transition-colors hover:bg-muted/50",
|
|
350
|
+
children: [/* @__PURE__ */ C(h, { className: "h-8 w-8 shrink-0 text-muted-foreground" }), /* @__PURE__ */ w("div", { children: [
|
|
351
|
+
/* @__PURE__ */ C("p", {
|
|
352
|
+
className: "text-sm font-medium text-foreground",
|
|
353
|
+
children: t.name
|
|
354
|
+
}),
|
|
355
|
+
/* @__PURE__ */ C("p", {
|
|
356
|
+
className: "text-xs text-muted-foreground",
|
|
357
|
+
children: t.seller
|
|
358
|
+
}),
|
|
359
|
+
/* @__PURE__ */ w("p", {
|
|
360
|
+
className: "mt-0.5 text-sm font-semibold text-foreground",
|
|
361
|
+
children: [e(t.price), /* @__PURE__ */ w("span", {
|
|
362
|
+
className: "text-xs font-normal text-muted-foreground",
|
|
363
|
+
children: [" / ", t.unit]
|
|
364
|
+
})]
|
|
365
|
+
})
|
|
366
|
+
] })]
|
|
367
|
+
}, t.id))
|
|
368
|
+
})]
|
|
369
|
+
}),
|
|
370
|
+
/* @__PURE__ */ C(o, {
|
|
371
|
+
open: B,
|
|
372
|
+
onClose: () => V(!1),
|
|
373
|
+
title: "Confirm Order",
|
|
374
|
+
description: "Review your order before placing it",
|
|
375
|
+
size: "md",
|
|
376
|
+
footer: /* @__PURE__ */ w(ee, { children: [/* @__PURE__ */ C("button", {
|
|
377
|
+
onClick: () => V(!1),
|
|
378
|
+
className: "rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground",
|
|
379
|
+
children: "Cancel"
|
|
380
|
+
}), /* @__PURE__ */ C("button", {
|
|
381
|
+
onClick: ne,
|
|
382
|
+
className: "rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
383
|
+
children: "Place Order"
|
|
384
|
+
})] }),
|
|
385
|
+
children: /* @__PURE__ */ w("div", {
|
|
386
|
+
className: "space-y-4",
|
|
387
|
+
children: [/* @__PURE__ */ w("div", {
|
|
388
|
+
className: "flex items-center gap-3",
|
|
389
|
+
children: [/* @__PURE__ */ C(f, { className: "h-8 w-8 text-emerald-500" }), /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
|
|
390
|
+
className: "text-sm font-medium text-foreground",
|
|
391
|
+
children: "Ready to place your order?"
|
|
392
|
+
}), /* @__PURE__ */ w("p", {
|
|
393
|
+
className: "text-xs text-muted-foreground",
|
|
394
|
+
children: [
|
|
395
|
+
q,
|
|
396
|
+
" item(s) from ",
|
|
397
|
+
J,
|
|
398
|
+
" seller(s)"
|
|
399
|
+
]
|
|
400
|
+
})] })]
|
|
401
|
+
}), /* @__PURE__ */ w("div", {
|
|
402
|
+
className: "rounded-lg border border-border p-3 space-y-2 text-sm",
|
|
403
|
+
children: [
|
|
404
|
+
/* @__PURE__ */ w("div", {
|
|
405
|
+
className: "flex justify-between",
|
|
406
|
+
children: [/* @__PURE__ */ C("span", {
|
|
407
|
+
className: "text-muted-foreground",
|
|
408
|
+
children: "Subtotal"
|
|
409
|
+
}), /* @__PURE__ */ C("span", {
|
|
410
|
+
className: "text-foreground",
|
|
411
|
+
children: e(H)
|
|
412
|
+
})]
|
|
413
|
+
}),
|
|
414
|
+
/* @__PURE__ */ w("div", {
|
|
415
|
+
className: "flex justify-between",
|
|
416
|
+
children: [/* @__PURE__ */ C("span", {
|
|
417
|
+
className: "text-muted-foreground",
|
|
418
|
+
children: "Tax"
|
|
419
|
+
}), /* @__PURE__ */ C("span", {
|
|
420
|
+
className: "text-foreground",
|
|
421
|
+
children: e(U)
|
|
422
|
+
})]
|
|
423
|
+
}),
|
|
424
|
+
/* @__PURE__ */ w("div", {
|
|
425
|
+
className: "flex justify-between",
|
|
426
|
+
children: [/* @__PURE__ */ C("span", {
|
|
427
|
+
className: "text-muted-foreground",
|
|
428
|
+
children: "Shipping"
|
|
429
|
+
}), /* @__PURE__ */ C("span", {
|
|
430
|
+
className: "text-foreground",
|
|
431
|
+
children: W === 0 ? "Free" : e(W)
|
|
432
|
+
})]
|
|
433
|
+
}),
|
|
434
|
+
I && /* @__PURE__ */ w("div", {
|
|
435
|
+
className: "flex justify-between text-emerald-600 dark:text-emerald-400",
|
|
436
|
+
children: [/* @__PURE__ */ C("span", { children: "Discount" }), /* @__PURE__ */ w("span", { children: ["-", e(G)] })]
|
|
437
|
+
}),
|
|
438
|
+
/* @__PURE__ */ w("div", {
|
|
439
|
+
className: "flex justify-between border-t border-border pt-2 font-bold text-foreground",
|
|
440
|
+
children: [/* @__PURE__ */ C("span", { children: "Total" }), /* @__PURE__ */ C("span", { children: e(K) })]
|
|
441
|
+
})
|
|
442
|
+
]
|
|
443
|
+
})]
|
|
444
|
+
})
|
|
445
|
+
}),
|
|
446
|
+
/* @__PURE__ */ C(i, {
|
|
447
|
+
toasts: j,
|
|
448
|
+
onDismiss: N
|
|
449
|
+
})
|
|
450
|
+
]
|
|
451
|
+
});
|
|
452
|
+
};
|
|
453
|
+
//#endregion
|
|
454
|
+
export { T as CartPage };
|
|
455
|
+
|
|
456
|
+
//# sourceMappingURL=CartPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartPage.js","names":[],"sources":["../../../../src/healthybowl/pages/marketplace/CartPage.tsx"],"sourcesContent":["import { useState, type FC } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport {\n ShoppingCart,\n Trash2,\n Plus,\n Minus,\n ArrowLeft,\n Tag,\n Package,\n Truck,\n CreditCard,\n ShieldCheck,\n CheckCircle,\n} from 'lucide-react';\nimport { PageLayout, StatCard, EmptyState, Breadcrumbs, Modal } from '../../components';\nimport { ToastContainer } from '../../components/Toast';\nimport { useToast } from '../../hooks/useToast';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { formatCurrency } from '../../utils/helpers';\nimport { useHealthyBowlStore } from '../../store/healthybowlStore';\n\nexport const CartPage: FC = () => {\n const { marketplaceProducts } = useHealthyBowlData();\n\n const navigate = useNavigate();\n const { cart, updateCartQuantity, removeFromCart, clearCart } = useHealthyBowlStore();\n const { toasts, toast, dismiss } = useToast();\n const [promoCode, setPromoCode] = useState('');\n const [promoApplied, setPromoApplied] = useState(false);\n const [promoDiscount, setPromoDiscount] = useState(0);\n const [showCheckoutConfirm, setShowCheckoutConfirm] = useState(false);\n\n const subtotal = cart.reduce((sum, item) => sum + item.price * item.quantity, 0);\n const tax = subtotal * 0.08;\n const shipping = cart.length === 0 ? 0 : subtotal >= 100 ? 0 : 15;\n const discount = promoApplied ? promoDiscount : 0;\n const total = subtotal + tax + shipping - discount;\n const totalItems = cart.reduce((sum, item) => sum + item.quantity, 0);\n const uniqueSellers = new Set(cart.map((item) => item.seller)).size;\n\n const handleApplyPromo = () => {\n if (!promoCode.trim()) {\n toast({ title: 'Enter a promo code', variant: 'warning' });\n return;\n }\n if (promoCode.toUpperCase() === 'ORGANIC10') {\n const disc = subtotal * 0.1;\n setPromoDiscount(disc);\n setPromoApplied(true);\n toast({\n title: 'Promo code applied!',\n description: `You saved ${formatCurrency(disc)} (10% off)`,\n variant: 'success',\n });\n } else {\n toast({ title: 'Invalid promo code', description: 'Try \"ORGANIC10\" for 10% off', variant: 'error' });\n }\n };\n\n const handleRemovePromo = () => {\n setPromoCode('');\n setPromoApplied(false);\n setPromoDiscount(0);\n toast({ title: 'Promo code removed', variant: 'info' });\n };\n\n const handleRemoveItem = (productId: string, name: string) => {\n removeFromCart(productId);\n toast({ title: 'Item removed', description: `${name} removed from cart`, variant: 'info' });\n };\n\n const handleClearCart = () => {\n clearCart();\n setPromoApplied(false);\n setPromoDiscount(0);\n toast({ title: 'Cart cleared', description: 'All items have been removed', variant: 'info' });\n };\n\n const handleCheckout = () => {\n setShowCheckoutConfirm(true);\n };\n\n const handleConfirmCheckout = () => {\n setShowCheckoutConfirm(false);\n clearCart();\n setPromoApplied(false);\n setPromoDiscount(0);\n toast({\n title: 'Order Confirmed!',\n description: `Your order of ${formatCurrency(total)} has been placed successfully. You'll receive a confirmation email shortly.`,\n variant: 'success',\n });\n };\n\n // Recently viewed: pick 3 random marketplace products not in cart\n const cartProductIds = new Set(cart.map((c) => c.productId));\n const recentlyViewed = marketplaceProducts.filter((p) => !cartProductIds.has(p.id)).slice(0, 3);\n\n if (cart.length === 0) {\n return (\n <PageLayout title=\"Shopping Cart\">\n <Breadcrumbs items={[{ label: 'Marketplace', href: '/marketplace' }, { label: 'Cart' }]} />\n <EmptyState\n icon={<ShoppingCart className=\"h-12 w-12 text-muted-foreground\" />}\n title=\"Your Cart is Empty\"\n description=\"Looks like you haven't added any products yet. Browse the marketplace to find great organic products.\"\n action={\n <button\n onClick={() => navigate('/marketplace')}\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 <ArrowLeft className=\"h-4 w-4\" /> Browse Marketplace\n </button>\n }\n />\n\n {/* Recently viewed even when cart is empty */}\n {recentlyViewed.length > 0 && (\n <div className=\"mt-6\">\n <h3 className=\"text-sm font-semibold text-foreground\">You might be interested in</h3>\n <div className=\"mt-3 grid gap-3 sm:grid-cols-3\">\n {recentlyViewed.map((p) => (\n <button\n key={p.id}\n onClick={() => navigate(`/marketplace/${p.id}`)}\n className=\"flex items-center gap-3 rounded-lg border border-border bg-card p-3 text-left transition-colors hover:bg-muted/50\"\n >\n <Package className=\"h-8 w-8 shrink-0 text-muted-foreground\" />\n <div>\n <p className=\"text-sm font-medium text-foreground\">{p.name}</p>\n <p className=\"text-xs text-muted-foreground\">{p.seller}</p>\n <p className=\"mt-0.5 text-sm font-semibold text-foreground\">{formatCurrency(p.price)}</p>\n </div>\n </button>\n ))}\n </div>\n </div>\n )}\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n }\n\n return (\n <PageLayout\n title=\"Shopping Cart\"\n description={`${totalItems} item(s) in your cart`}\n actions={\n <button\n onClick={handleClearCart}\n className=\"flex items-center gap-1 rounded-md border border-border px-3 py-1.5 text-xs text-muted-foreground hover:border-red-300 hover:text-red-500\"\n >\n <Trash2 className=\"h-3 w-3\" /> Clear Cart\n </button>\n }\n >\n <Breadcrumbs items={[{ label: 'Marketplace', href: '/marketplace' }, { label: 'Cart' }]} />\n\n {/* Stats */}\n <div className=\"grid grid-cols-2 gap-4 lg:grid-cols-4\">\n <StatCard label=\"Items in Cart\" value={totalItems} icon={<ShoppingCart className=\"h-5 w-5\" />} />\n <StatCard label=\"Unique Products\" value={cart.length} icon={<Package className=\"h-5 w-5\" />} />\n <StatCard label=\"Sellers\" value={uniqueSellers} icon={<Tag className=\"h-5 w-5\" />} />\n <StatCard label=\"Subtotal\" value={formatCurrency(subtotal)} icon={<CreditCard className=\"h-5 w-5\" />} />\n </div>\n\n <div className=\"grid gap-6 lg:grid-cols-3\">\n {/* Cart Items */}\n <div className=\"space-y-3 lg:col-span-2\">\n {cart.map((item) => (\n <div\n key={item.id}\n className=\"flex items-center gap-4 rounded-lg border border-border bg-card p-4 shadow-sm\"\n >\n <div className=\"flex h-10 w-10 shrink-0 items-center justify-center rounded-md bg-muted\">\n <Package className=\"h-5 w-5 text-muted-foreground\" />\n </div>\n <div className=\"min-w-0 flex-1\">\n <button\n onClick={() => navigate(`/marketplace/${item.productId}`)}\n className=\"text-sm font-semibold text-foreground hover:underline\"\n >\n {item.name}\n </button>\n <p className=\"text-xs text-muted-foreground\">{item.seller}</p>\n <p className=\"mt-0.5 text-sm text-foreground\">\n {formatCurrency(item.price)}\n <span className=\"text-xs text-muted-foreground\"> / {item.unit}</span>\n </p>\n </div>\n\n {/* Quantity controls */}\n <div className=\"flex items-center gap-1.5\">\n <button\n onClick={() => updateCartQuantity(item.productId, item.quantity - 1)}\n className=\"rounded-md border border-border p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground\"\n >\n <Minus className=\"h-3 w-3\" />\n </button>\n <span className=\"min-w-[2.5rem] text-center text-sm font-semibold text-foreground\">\n {item.quantity}\n </span>\n <button\n onClick={() => updateCartQuantity(item.productId, item.quantity + 1)}\n className=\"rounded-md border border-border p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground\"\n >\n <Plus className=\"h-3 w-3\" />\n </button>\n </div>\n\n {/* Line total */}\n <p className=\"w-24 text-right text-sm font-bold text-foreground\">\n {formatCurrency(item.price * item.quantity)}\n </p>\n\n {/* Remove */}\n <button\n onClick={() => handleRemoveItem(item.productId, item.name)}\n className=\"rounded-md p-1.5 text-muted-foreground transition-colors hover:bg-red-50 hover:text-red-500 dark:hover:bg-red-900/20\"\n >\n <Trash2 className=\"h-4 w-4\" />\n </button>\n </div>\n ))}\n </div>\n\n {/* Order Summary Sidebar */}\n <div className=\"space-y-4\">\n <div className=\"rounded-lg border border-border bg-card p-5\">\n <h3 className=\"text-sm font-semibold text-foreground\">Order Summary</h3>\n\n <div className=\"mt-4 space-y-2.5 text-sm\">\n <div className=\"flex justify-between text-muted-foreground\">\n <span>Subtotal ({totalItems} items)</span>\n <span className=\"text-foreground\">{formatCurrency(subtotal)}</span>\n </div>\n <div className=\"flex justify-between text-muted-foreground\">\n <span>Tax (8%)</span>\n <span className=\"text-foreground\">{formatCurrency(tax)}</span>\n </div>\n <div className=\"flex justify-between text-muted-foreground\">\n <span className=\"flex items-center gap-1\">\n <Truck className=\"h-3 w-3\" /> Shipping\n </span>\n <span className=\"text-foreground\">\n {shipping === 0 ? (\n <span className=\"font-medium text-emerald-600 dark:text-emerald-400\">Free</span>\n ) : (\n formatCurrency(shipping)\n )}\n </span>\n </div>\n {shipping > 0 && <p className=\"text-xs text-muted-foreground\">Free shipping on orders over $100</p>}\n {promoApplied && (\n <div className=\"flex justify-between text-emerald-600 dark:text-emerald-400\">\n <span className=\"flex items-center gap-1\">\n <Tag className=\"h-3 w-3\" /> Promo Discount\n </span>\n <span>-{formatCurrency(discount)}</span>\n </div>\n )}\n <div className=\"border-t border-border pt-2.5\">\n <div className=\"flex justify-between text-base font-bold text-foreground\">\n <span>Total</span>\n <span>{formatCurrency(total)}</span>\n </div>\n </div>\n </div>\n\n {/* Promo Code */}\n <div className=\"mt-4 border-t border-border pt-4\">\n <label className=\"text-xs font-medium text-muted-foreground\">Promo Code</label>\n {promoApplied ? (\n <div className=\"mt-1.5 flex items-center justify-between rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 dark:border-emerald-800 dark:bg-emerald-900/20\">\n <span className=\"text-sm font-medium text-emerald-700 dark:text-emerald-400\">\n {promoCode.toUpperCase()} applied\n </span>\n <button\n onClick={handleRemovePromo}\n className=\"text-xs text-emerald-600 hover:text-emerald-800 dark:text-emerald-400\"\n >\n Remove\n </button>\n </div>\n ) : (\n <div className=\"mt-1.5 flex gap-2\">\n <input\n type=\"text\"\n placeholder=\"Enter code\"\n value={promoCode}\n onChange={(e) => setPromoCode(e.target.value)}\n onKeyDown={(e) => e.key === 'Enter' && handleApplyPromo()}\n className=\"flex-1 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 <button\n onClick={handleApplyPromo}\n className=\"rounded-md border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-muted/50\"\n >\n Apply\n </button>\n </div>\n )}\n </div>\n\n {/* Checkout */}\n <button\n onClick={handleCheckout}\n className=\"mt-4 w-full rounded-md bg-primary py-2.5 text-sm font-medium text-primary-foreground transition-opacity hover:bg-primary/90\"\n >\n Proceed to Checkout\n </button>\n\n <button\n onClick={() => navigate('/marketplace')}\n className=\"mt-2 flex w-full items-center justify-center gap-1.5 rounded-md border border-border py-2 text-sm text-muted-foreground hover:text-foreground\"\n >\n <ArrowLeft className=\"h-3 w-3\" /> Continue Shopping\n </button>\n </div>\n\n {/* Trust indicators */}\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"space-y-2.5 text-xs text-muted-foreground\">\n <div className=\"flex items-center gap-2\">\n <ShieldCheck className=\"h-4 w-4 shrink-0 text-emerald-600 dark:text-emerald-400\" />\n <span>Secure checkout with SSL encryption</span>\n </div>\n <div className=\"flex items-center gap-2\">\n <Truck className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n <span>Temperature-controlled delivery</span>\n </div>\n <div className=\"flex items-center gap-2\">\n <Package className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n <span>100% quality guarantee or money back</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n {/* Recently Viewed */}\n {recentlyViewed.length > 0 && (\n <div className=\"mt-2\">\n <h3 className=\"text-sm font-semibold text-foreground\">You might also like</h3>\n <div className=\"mt-3 grid gap-3 sm:grid-cols-3\">\n {recentlyViewed.map((p) => (\n <button\n key={p.id}\n onClick={() => navigate(`/marketplace/${p.id}`)}\n className=\"flex items-center gap-3 rounded-lg border border-border bg-card p-3 text-left transition-colors hover:bg-muted/50\"\n >\n <Package className=\"h-8 w-8 shrink-0 text-muted-foreground\" />\n <div>\n <p className=\"text-sm font-medium text-foreground\">{p.name}</p>\n <p className=\"text-xs text-muted-foreground\">{p.seller}</p>\n <p className=\"mt-0.5 text-sm font-semibold text-foreground\">\n {formatCurrency(p.price)}\n <span className=\"text-xs font-normal text-muted-foreground\"> / {p.unit}</span>\n </p>\n </div>\n </button>\n ))}\n </div>\n </div>\n )}\n\n {/* Checkout Confirmation Modal */}\n <Modal\n open={showCheckoutConfirm}\n onClose={() => setShowCheckoutConfirm(false)}\n title=\"Confirm Order\"\n description=\"Review your order before placing it\"\n size=\"md\"\n footer={\n <>\n <button\n onClick={() => setShowCheckoutConfirm(false)}\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={handleConfirmCheckout}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Place Order\n </button>\n </>\n }\n >\n <div className=\"space-y-4\">\n <div className=\"flex items-center gap-3\">\n <CheckCircle className=\"h-8 w-8 text-emerald-500\" />\n <div>\n <p className=\"text-sm font-medium text-foreground\">Ready to place your order?</p>\n <p className=\"text-xs text-muted-foreground\">\n {totalItems} item(s) from {uniqueSellers} seller(s)\n </p>\n </div>\n </div>\n <div className=\"rounded-lg border border-border p-3 space-y-2 text-sm\">\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Subtotal</span>\n <span className=\"text-foreground\">{formatCurrency(subtotal)}</span>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Tax</span>\n <span className=\"text-foreground\">{formatCurrency(tax)}</span>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Shipping</span>\n <span className=\"text-foreground\">{shipping === 0 ? 'Free' : formatCurrency(shipping)}</span>\n </div>\n {promoApplied && (\n <div className=\"flex justify-between text-emerald-600 dark:text-emerald-400\">\n <span>Discount</span>\n <span>-{formatCurrency(discount)}</span>\n </div>\n )}\n <div className=\"flex justify-between border-t border-border pt-2 font-bold text-foreground\">\n <span>Total</span>\n <span>{formatCurrency(total)}</span>\n </div>\n </div>\n </div>\n </Modal>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAsBA,IAAa,UAAqB;CAChC,IAAM,EAAE,2BAAwB,GAAoB,EAE9C,IAAW,GAAa,EACxB,EAAE,SAAM,uBAAoB,mBAAgB,iBAAc,GAAqB,EAC/E,EAAE,WAAQ,UAAO,eAAY,GAAU,EACvC,CAAC,GAAW,KAAgB,EAAS,GAAG,EACxC,CAAC,GAAc,KAAmB,EAAS,GAAM,EACjD,CAAC,GAAe,KAAoB,EAAS,EAAE,EAC/C,CAAC,GAAqB,KAA0B,EAAS,GAAM,EAE/D,IAAW,EAAK,QAAQ,GAAK,MAAS,IAAM,EAAK,QAAQ,EAAK,UAAU,EAAE,EAC1E,IAAM,IAAW,KACjB,IAAW,EAAK,WAAW,KAAQ,KAAY,MAAhB,IAA0B,IACzD,IAAW,IAAe,IAAgB,GAC1C,IAAQ,IAAW,IAAM,IAAW,GACpC,IAAa,EAAK,QAAQ,GAAK,MAAS,IAAM,EAAK,UAAU,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,EAAM,EAAQ,CAAA,CAChC;;OACF;QACF;;IACA,CAAA;GAER,kBAAC,GAAD;IAAwB;IAAQ,WAAW;IAAW,CAAA;GAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarketplacePage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/marketplace/MarketplacePage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA+C1E,eAAO,MAAM,eAAe,EAAE,EA+f7B,CAAC"}
|