@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":"BatchesPage.js","names":[],"sources":["../../../../src/healthybowl/pages/products/BatchesPage.tsx"],"sourcesContent":["import { useState, type FC } from 'react';\nimport {\n Package,\n Plus,\n Search,\n Eye,\n QrCode,\n ChevronDown,\n ChevronRight,\n CheckCircle,\n Clock,\n AlertTriangle,\n FlaskConical,\n} from 'lucide-react';\nimport { PageLayout, DataTable, StatusBadge, Modal, EmptyState } from '../../components';\nimport type { Column } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { formatDate, formatCurrency, cn } from '../../utils/helpers';\nimport { useToast } from '../../hooks/useToast';\nimport { ToastContainer } from '../../components/Toast';\nimport type { ProductionBatch } from '../../types';\nimport { isNative, nativeCopyText, nativeNotify, nativeToast } from '../../../utils/nativeBridge';\n\nconst batchStatusVariant = (s: string) => {\n switch (s) {\n case 'planned':\n return 'muted' as const;\n case 'in_progress':\n return 'info' as const;\n case 'quality_check':\n return 'warning' as const;\n case 'completed':\n return 'success' as const;\n case 'rejected':\n return 'error' as const;\n default:\n return 'default' as const;\n }\n};\n\ninterface BatchFormData {\n recipe: string;\n quantity: number;\n startDate: string;\n}\n\nconst defaultBatchForm: BatchFormData = {\n recipe: '',\n quantity: 0,\n startDate: '',\n};\n\nexport const BatchesPage: FC = () => {\n const { productionBatches, recipes } = useHealthyBowlData();\n\n const [localBatches, setLocalBatches] = useState<ProductionBatch[]>(productionBatches);\n const [search, setSearch] = useState('');\n const [statusFilter, setStatusFilter] = useState<string>('all');\n const [productFilter, setProductFilter] = useState<string>('all');\n const [expandedBatch, setExpandedBatch] = useState<string | null>(null);\n const [showCreateModal, setShowCreateModal] = useState(false);\n const [showQrModal, setShowQrModal] = useState<string | null>(null);\n const [showDetailModal, setShowDetailModal] = useState<ProductionBatch | null>(null);\n const [batchForm, setBatchForm] = useState<BatchFormData>(defaultBatchForm);\n const { toasts, toast, dismiss } = useToast();\n\n // Derived stats\n const totalBatches = localBatches.length;\n const activeBatches = localBatches.filter((b) => b.status === 'in_progress').length;\n const completedBatches = localBatches.filter((b) => b.status === 'completed').length;\n const qualityCheckPending = localBatches.filter((b) => b.status === 'quality_check').length;\n\n // Unique products from batches\n const batchProducts = Array.from(new Set(localBatches.map((b) => b.product)));\n\n // Filter logic\n const filtered = localBatches.filter((b) => {\n const matchesSearch =\n (b.batchNumber ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (b.product ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (b.recipe ?? '').toLowerCase().includes(search.toLowerCase());\n const matchesStatus = statusFilter === 'all' || b.status === statusFilter;\n const matchesProduct = productFilter === 'all' || b.product === productFilter;\n return matchesSearch && matchesStatus && matchesProduct;\n });\n\n const handleCreateBatch = () => {\n if (!batchForm.recipe) {\n toast({ title: 'Select a recipe', description: 'Please select a recipe for the batch.', variant: 'warning' });\n return;\n }\n if (batchForm.quantity <= 0) {\n toast({ title: 'Invalid quantity', description: 'Quantity must be greater than zero.', variant: 'warning' });\n return;\n }\n if (!batchForm.startDate) {\n toast({\n title: 'Select start date',\n description: 'Please select a start date for the batch.',\n variant: 'warning',\n });\n return;\n }\n const recipe = recipes.find((r) => r.id === batchForm.recipe);\n const newBatch: ProductionBatch = {\n id: `pb-${Date.now()}`,\n batchNumber: `PB-${new Date().getFullYear()}-${String(localBatches.length + 1).padStart(3, '0')}`,\n product: recipe?.product ?? 'Unknown',\n recipe: recipe?.name,\n startDate: batchForm.startDate,\n quantity: batchForm.quantity,\n unit: recipe?.yieldUnit ?? 'kg',\n status: 'planned',\n cost: (recipe?.costPerUnit ?? 0) * batchForm.quantity,\n };\n setLocalBatches((prev) => [newBatch, ...prev]);\n toast({\n title: 'Batch created',\n description: `New batch for ${recipe?.product ?? 'product'} has been planned.`,\n variant: 'success',\n });\n setShowCreateModal(false);\n setBatchForm(defaultBatchForm);\n };\n\n const updateBatchForm = <K extends keyof BatchFormData>(key: K, value: BatchFormData[K]) =>\n setBatchForm((prev) => ({ ...prev, [key]: value }));\n\n // Get recipe for a batch\n const getRecipeForBatch = (batch: ProductionBatch) =>\n recipes.find((r) => r.product === batch.product || r.name === batch.recipe);\n\n const columns: Column<ProductionBatch>[] = [\n {\n key: 'expand',\n header: '',\n sortable: false,\n render: (b) => (\n <button\n onClick={(e) => {\n e.stopPropagation();\n setExpandedBatch(expandedBatch === b.id ? null : b.id);\n }}\n className=\"text-muted-foreground hover:text-foreground\"\n >\n {expandedBatch === b.id ? <ChevronDown className=\"h-4 w-4\" /> : <ChevronRight className=\"h-4 w-4\" />}\n </button>\n ),\n },\n {\n key: 'batchNumber',\n header: 'Batch #',\n render: (b) => (\n <div className=\"flex items-center gap-2\">\n <Package className=\"h-4 w-4 text-muted-foreground\" />\n <span className=\"font-mono text-xs font-medium text-foreground\">{b.batchNumber}</span>\n </div>\n ),\n },\n {\n key: 'product',\n header: 'Product',\n render: (b) => <span className=\"font-medium text-foreground\">{b.product}</span>,\n },\n {\n key: 'startDate',\n header: 'Start Date',\n render: (b) => <span className=\"text-foreground\">{formatDate(b.startDate)}</span>,\n },\n {\n key: 'endDate',\n header: 'End Date',\n render: (b) => (\n <span className=\"text-foreground\">\n {b.endDate ? formatDate(b.endDate) : <span className=\"text-muted-foreground\">—</span>}\n </span>\n ),\n },\n {\n key: 'quantity',\n header: 'Quantity',\n render: (b) => (\n <span className=\"text-foreground\">\n {b.quantity} {b.unit}\n </span>\n ),\n },\n {\n key: 'status',\n header: 'Status',\n render: (b) => (\n <StatusBadge\n label={(b.status ?? 'unknown').replace(/_/g, ' ')}\n variant={batchStatusVariant(b.status ?? 'unknown')}\n dot\n />\n ),\n },\n {\n key: 'qualityScore',\n header: 'Quality',\n render: (b) =>\n b.qualityScore != null ? (\n <span\n className={cn(\n 'font-semibold',\n b.qualityScore >= 95\n ? 'text-emerald-600 dark:text-emerald-400'\n : b.qualityScore >= 90\n ? 'text-blue-600 dark:text-blue-400'\n : b.qualityScore >= 80\n ? 'text-amber-600 dark:text-amber-400'\n : 'text-red-600 dark:text-red-400'\n )}\n >\n {b.qualityScore}%\n </span>\n ) : (\n <span className=\"text-muted-foreground\">—</span>\n ),\n },\n {\n key: 'cost',\n header: 'Cost',\n render: (b) => <span className=\"text-foreground\">{formatCurrency(b.cost)}</span>,\n },\n {\n key: 'actions',\n header: 'Actions',\n sortable: false,\n render: (b) => (\n <div className=\"flex items-center gap-1\">\n <button\n onClick={(e) => {\n e.stopPropagation();\n setShowDetailModal(b);\n }}\n className=\"rounded-md p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground\"\n title=\"View details\"\n >\n <Eye className=\"h-3.5 w-3.5\" />\n </button>\n <button\n onClick={(e) => {\n e.stopPropagation();\n setShowQrModal(b.batchNumber);\n }}\n className=\"rounded-md p-1.5 text-muted-foreground hover:bg-muted/50 hover:text-foreground\"\n title=\"Show QR code\"\n >\n <QrCode className=\"h-3.5 w-3.5\" />\n </button>\n </div>\n ),\n },\n ];\n\n return (\n <PageLayout\n title=\"Production Batches\"\n description=\"Manage production batches and track progress\"\n actions={\n <button\n onClick={() => setShowCreateModal(true)}\n className=\"flex items-center gap-1.5 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n <Plus className=\"h-4 w-4\" /> Create Batch\n </button>\n }\n >\n {/* Stats Row */}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Total Batches</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{totalBatches}</p>\n </div>\n <Package className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Active Batches</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{activeBatches}</p>\n </div>\n <Clock className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Completed</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{completedBatches}</p>\n </div>\n <CheckCircle className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Quality Check Pending</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{qualityCheckPending}</p>\n </div>\n <AlertTriangle className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n </div>\n\n {/* Filters */}\n <div className=\"flex flex-col gap-4 rounded-lg border border-border bg-card p-4 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"flex flex-wrap items-center gap-3\">\n <div className=\"relative\">\n <Search className=\"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground\" />\n <input\n type=\"text\"\n placeholder=\"Search batch, product, recipe...\"\n value={search}\n onChange={(e) => setSearch(e.target.value)}\n className=\"w-64 rounded-md border border-border bg-background py-2 pl-10 pr-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <select\n value={statusFilter}\n onChange={(e) => setStatusFilter(e.target.value)}\n className=\"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=\"all\">All Statuses</option>\n <option value=\"planned\">Planned</option>\n <option value=\"in_progress\">In Progress</option>\n <option value=\"quality_check\">Quality Check</option>\n <option value=\"completed\">Completed</option>\n <option value=\"rejected\">Rejected</option>\n </select>\n <select\n value={productFilter}\n onChange={(e) => setProductFilter(e.target.value)}\n className=\"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=\"all\">All Products</option>\n {batchProducts.map((p) => (\n <option key={p} value={p}>\n {p}\n </option>\n ))}\n </select>\n </div>\n <span className=\"text-xs text-muted-foreground\">\n {filtered.length} of {totalBatches} batches\n </span>\n </div>\n\n {/* Data Table */}\n {filtered.length > 0 ? (\n <div className=\"space-y-0\">\n <DataTable\n columns={columns}\n data={filtered}\n keyField=\"id\"\n onRowClick={(b) => setExpandedBatch(expandedBatch === b.id ? null : b.id)}\n emptyMessage=\"No batches match your filters\"\n />\n\n {/* Expanded batch detail */}\n {expandedBatch &&\n (() => {\n const batch = filtered.find((b) => b.id === expandedBatch);\n if (!batch) return null;\n const recipe = getRecipeForBatch(batch);\n return (\n <div className=\"rounded-lg border border-border bg-muted/30 p-4\">\n <div className=\"flex items-center gap-2 mb-3\">\n <FlaskConical className=\"h-5 w-5 text-primary\" />\n <h3 className=\"font-medium text-foreground\">Batch Details: {batch.batchNumber}</h3>\n </div>\n {recipe ? (\n <div className=\"grid gap-4 sm:grid-cols-2\">\n {/* Recipe ingredients */}\n <div className=\"rounded-md border border-border bg-card p-4\">\n <h4 className=\"text-sm font-medium text-foreground\">Recipe: {recipe.name}</h4>\n <p className=\"mt-1 text-xs text-muted-foreground\">\n Yield: {recipe.yieldQuantity} {recipe.yieldUnit} | Processing: {recipe.processingTime} min |\n Cost/unit: {formatCurrency(recipe.costPerUnit)}\n </p>\n <div className=\"mt-3\">\n <p className=\"text-xs font-medium text-muted-foreground mb-2\">Ingredients</p>\n <div className=\"space-y-1\">\n {(recipe.ingredients ?? []).map((ing, i) => (\n <div\n key={i}\n className=\"flex items-center justify-between rounded-md bg-muted/50 px-2.5 py-1.5 text-xs\"\n >\n <span className=\"text-foreground\">{ing.name}</span>\n <span className=\"text-muted-foreground\">\n {ing.quantity} {ing.unit}\n </span>\n </div>\n ))}\n </div>\n </div>\n </div>\n {/* Recipe steps */}\n <div className=\"rounded-md border border-border bg-card p-4\">\n <h4 className=\"text-sm font-medium text-foreground\">Processing Steps</h4>\n <div className=\"mt-3 space-y-2\">\n {(recipe.steps ?? []).map((step, i) => (\n <div key={i} className=\"flex items-start gap-2 text-xs\">\n <span className=\"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-primary/10 text-[10px] font-semibold text-primary\">\n {i + 1}\n </span>\n <span className=\"text-foreground pt-0.5\">{step}</span>\n </div>\n ))}\n </div>\n </div>\n </div>\n ) : (\n <p className=\"text-sm text-muted-foreground\">No recipe information available for this batch.</p>\n )}\n {/* Batch summary row */}\n <div className=\"mt-3 grid grid-cols-2 gap-3 sm:grid-cols-4\">\n <div className=\"rounded-md border border-border bg-card p-3\">\n <p className=\"text-xs text-muted-foreground\">Status</p>\n <div className=\"mt-1\">\n <StatusBadge\n label={(batch.status ?? 'unknown').replace(/_/g, ' ')}\n variant={batchStatusVariant(batch.status ?? 'unknown')}\n dot\n />\n </div>\n </div>\n <div className=\"rounded-md border border-border bg-card p-3\">\n <p className=\"text-xs text-muted-foreground\">Quantity</p>\n <p className=\"mt-1 text-sm font-semibold text-foreground\">\n {batch.quantity} {batch.unit}\n </p>\n </div>\n <div className=\"rounded-md border border-border bg-card p-3\">\n <p className=\"text-xs text-muted-foreground\">Cost</p>\n <p className=\"mt-1 text-sm font-semibold text-foreground\">{formatCurrency(batch.cost)}</p>\n </div>\n <div className=\"rounded-md border border-border bg-card p-3\">\n <p className=\"text-xs text-muted-foreground\">Quality Score</p>\n <p\n className={cn(\n 'mt-1 text-sm font-semibold',\n batch.qualityScore != null\n ? batch.qualityScore >= 90\n ? 'text-emerald-600 dark:text-emerald-400'\n : batch.qualityScore >= 80\n ? 'text-amber-600 dark:text-amber-400'\n : 'text-red-600 dark:text-red-400'\n : 'text-muted-foreground'\n )}\n >\n {batch.qualityScore != null ? `${batch.qualityScore}%` : 'Pending'}\n </p>\n </div>\n </div>\n </div>\n );\n })()}\n </div>\n ) : (\n <EmptyState\n title=\"No batches found\"\n description={\n search || statusFilter !== 'all' || productFilter !== 'all'\n ? 'Try adjusting your filters'\n : 'Get started by creating your first production batch'\n }\n icon={<Package className=\"h-12 w-12 text-muted-foreground\" />}\n action={\n !search && statusFilter === 'all' && productFilter === 'all' ? (\n <button\n onClick={() => setShowCreateModal(true)}\n className=\"rounded-md bg-primary px-4 py-2 text-sm text-primary-foreground\"\n >\n <Plus className=\"mr-1 inline h-4 w-4\" /> Create First Batch\n </button>\n ) : undefined\n }\n />\n )}\n\n {/* Create Batch Modal */}\n <Modal\n open={showCreateModal}\n onClose={() => {\n setShowCreateModal(false);\n setBatchForm(defaultBatchForm);\n }}\n title=\"Create Production Batch\"\n description=\"Select a recipe and configure the batch details.\"\n size=\"md\"\n footer={\n <>\n <button\n onClick={() => {\n setShowCreateModal(false);\n setBatchForm(defaultBatchForm);\n }}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground\"\n >\n Cancel\n </button>\n <button\n onClick={handleCreateBatch}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Create Batch\n </button>\n </>\n }\n >\n <div className=\"space-y-4\">\n <div>\n <label className=\"text-sm font-medium text-foreground\">Recipe *</label>\n <select\n value={batchForm.recipe}\n onChange={(e) => updateBatchForm('recipe', e.target.value)}\n className=\"mt-1 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 a recipe</option>\n {recipes.map((r) => (\n <option key={r.id} value={r.id}>\n {r.name} ({r.product})\n </option>\n ))}\n </select>\n </div>\n {batchForm.recipe &&\n (() => {\n const recipe = recipes.find((r) => r.id === batchForm.recipe);\n if (!recipe) return null;\n return (\n <div className=\"rounded-md border border-border bg-muted/50 p-3\">\n <p className=\"text-xs font-medium text-muted-foreground\">Recipe Details</p>\n <p className=\"mt-1 text-sm text-foreground\">\n <span className=\"font-medium\">{recipe.name}</span> — yields {recipe.yieldQuantity}{' '}\n {recipe.yieldUnit} in ~{recipe.processingTime} min\n </p>\n <p className=\"mt-0.5 text-xs text-muted-foreground\">\n Cost per unit: {formatCurrency(recipe.costPerUnit)} | Ingredients:{' '}\n {(recipe.ingredients ?? []).length}\n </p>\n </div>\n );\n })()}\n <div>\n <label className=\"text-sm font-medium text-foreground\">Quantity *</label>\n <input\n type=\"number\"\n min={1}\n value={batchForm.quantity || ''}\n onChange={(e) => updateBatchForm('quantity', Number(e.target.value))}\n placeholder=\"e.g., 200\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Start Date *</label>\n <input\n type=\"date\"\n value={batchForm.startDate}\n onChange={(e) => updateBatchForm('startDate', e.target.value)}\n className=\"mt-1 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 </Modal>\n\n {/* QR Code Modal */}\n <Modal\n open={showQrModal !== null}\n onClose={() => setShowQrModal(null)}\n title=\"Batch QR Code\"\n description=\"Scan this code to identify the batch.\"\n size=\"sm\"\n footer={\n <button\n onClick={() => {\n if (showQrModal) {\n void nativeCopyText(showQrModal)\n .then(() => {\n const msg = `Batch code \"${showQrModal}\" copied to clipboard.`;\n toast({ title: 'QR code copied', description: msg, variant: 'success' });\n if (isNative()) {\n void nativeToast('QR code copied');\n void nativeNotify('success');\n }\n setShowQrModal(null);\n })\n .catch(() => {\n toast({ title: 'Copy failed', description: 'Could not copy to clipboard.', variant: 'error' });\n if (isNative()) {\n void nativeToast('Copy failed');\n void nativeNotify('error');\n }\n });\n }\n }}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Copy Code\n </button>\n }\n >\n <div className=\"flex flex-col items-center gap-4\">\n {/* Mock QR code display */}\n <div className=\"flex h-48 w-48 items-center justify-center rounded-lg border-2 border-dashed border-border bg-muted/50\">\n <div className=\"text-center\">\n <QrCode className=\"mx-auto h-16 w-16 text-muted-foreground\" />\n <p className=\"mt-2 font-mono text-sm font-semibold text-foreground\">{showQrModal}</p>\n </div>\n </div>\n <p className=\"text-xs text-muted-foreground text-center\">\n This QR code links to the batch traceability record for{' '}\n <span className=\"font-medium text-foreground\">{showQrModal}</span>.\n </p>\n </div>\n </Modal>\n\n {/* Batch Detail Modal */}\n <Modal\n open={showDetailModal !== null}\n onClose={() => setShowDetailModal(null)}\n title=\"Batch Details\"\n description={showDetailModal ? `Details for ${showDetailModal.batchNumber}` : ''}\n size=\"md\"\n footer={\n <button\n onClick={() => setShowDetailModal(null)}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-foreground hover:bg-muted/50\"\n >\n Close\n </button>\n }\n >\n {showDetailModal &&\n (() => {\n const recipe = getRecipeForBatch(showDetailModal);\n return (\n <div className=\"space-y-3\">\n <div className=\"grid grid-cols-2 gap-3 text-sm\">\n <div>\n <span className=\"text-xs text-muted-foreground\">Product</span>\n <p className=\"font-medium text-foreground\">{showDetailModal.product}</p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Status</span>\n <div className=\"mt-0.5\">\n <StatusBadge\n label={(showDetailModal.status ?? 'unknown').replace(/_/g, ' ')}\n variant={batchStatusVariant(showDetailModal.status ?? 'unknown')}\n dot\n />\n </div>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Start Date</span>\n <p className=\"text-foreground\">{formatDate(showDetailModal.startDate)}</p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">End Date</span>\n <p className=\"text-foreground\">\n {showDetailModal.endDate ? formatDate(showDetailModal.endDate) : 'In progress'}\n </p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Quantity</span>\n <p className=\"text-foreground\">\n {showDetailModal.quantity} {showDetailModal.unit}\n </p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Cost</span>\n <p className=\"text-foreground\">{formatCurrency(showDetailModal.cost)}</p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Quality Score</span>\n <p className=\"text-foreground\">\n {showDetailModal.qualityScore != null ? `${showDetailModal.qualityScore}%` : 'Pending'}\n </p>\n </div>\n <div>\n <span className=\"text-xs text-muted-foreground\">Recipe</span>\n <p className=\"text-foreground\">{recipe?.name ?? showDetailModal.recipe ?? 'N/A'}</p>\n </div>\n </div>\n {recipe && (\n <div className=\"rounded-md border border-border bg-muted/50 p-3\">\n <p className=\"text-xs font-medium text-muted-foreground mb-1\">Ingredients</p>\n <div className=\"space-y-0.5\">\n {(recipe.ingredients ?? []).map((ing, i) => (\n <p key={i} className=\"text-xs text-foreground\">\n {ing.name}: {ing.quantity} {ing.unit}\n </p>\n ))}\n </div>\n </div>\n )}\n </div>\n );\n })()}\n </Modal>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;AAuBA,IAAM,KAAsB,MAAc;AACxC,SAAQ,GAAR;EACE,KAAK,UACH,QAAO;EACT,KAAK,cACH,QAAO;EACT,KAAK,gBACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,WACH,QAAO;EACT,QACE,QAAO;;GAUP,IAAkC;CACtC,QAAQ;CACR,UAAU;CACV,WAAW;CACZ,EAEY,UAAwB;CACnC,IAAM,EAAE,sBAAmB,eAAY,GAAoB,EAErD,CAAC,GAAc,KAAmB,EAA4B,EAAkB,EAChF,CAAC,GAAQ,MAAa,EAAS,GAAG,EAClC,CAAC,GAAc,KAAmB,EAAiB,MAAM,EACzD,CAAC,GAAe,KAAoB,EAAiB,MAAM,EAC3D,CAAC,GAAe,KAAoB,EAAwB,KAAK,EACjE,CAAC,GAAiB,KAAsB,EAAS,GAAM,EACvD,CAAC,GAAa,KAAkB,EAAwB,KAAK,EAC7D,CAAC,GAAiB,KAAsB,EAAiC,KAAK,EAC9E,CAAC,GAAW,KAAgB,EAAwB,EAAiB,EACrE,EAAE,WAAQ,UAAO,gBAAY,GAAU,EAGvC,IAAe,EAAa,QA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I,EAEJ,CACJ;QACE,CAAA,CACF;SAEJ;;QAEN;IACA,CAAA;GAER,kBAAC,GAAD;IAAwB;IAAQ,WAAW;IAAW,CAAA;GAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/products/InventoryPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA+C1C,eAAO,MAAM,aAAa,EAAE,EAwY3B,CAAC"}
|
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
import { cn as e, formatCurrency as t, formatDate as n, formatNumber as r } from "../../utils/helpers.js";
|
|
2
|
+
import { PageLayout as i } from "../../components/PageLayout.js";
|
|
3
|
+
import { DataTable as a } from "../../components/DataTable.js";
|
|
4
|
+
import { StatusBadge as o } from "../../components/StatusBadge.js";
|
|
5
|
+
import { ToastContainer as s } from "../../components/Toast.js";
|
|
6
|
+
import { Modal as c } from "../../components/Modal.js";
|
|
7
|
+
import "../../components/index.js";
|
|
8
|
+
import { useHealthyBowlData as l } from "../../hooks/useHealthyBowlData.js";
|
|
9
|
+
import { useToast as u } from "../../hooks/useToast.js";
|
|
10
|
+
import { useState as d } from "react";
|
|
11
|
+
import { AlertTriangle as f, ArrowDownCircle as p, ArrowUpCircle as m, Clock as h, DollarSign as g, Layers as _, Package as v, RefreshCw as y, Search as b } from "lucide-react";
|
|
12
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
13
|
+
//#region src/healthybowl/pages/products/InventoryPage.tsx
|
|
14
|
+
var w = (e) => {
|
|
15
|
+
switch (e) {
|
|
16
|
+
case "active": return "success";
|
|
17
|
+
case "low_stock": return "warning";
|
|
18
|
+
case "out_of_stock": return "error";
|
|
19
|
+
default: return "muted";
|
|
20
|
+
}
|
|
21
|
+
}, T = {
|
|
22
|
+
productId: "",
|
|
23
|
+
type: "add",
|
|
24
|
+
quantity: 0,
|
|
25
|
+
reason: ""
|
|
26
|
+
}, E = () => {
|
|
27
|
+
let { products: E } = l(), [D, O] = d(E), [k, A] = d(""), [j, M] = d("all"), [N, P] = d("all"), [F, I] = d(!1), [L, R] = d(T), { toasts: z, toast: B, dismiss: V } = u(), H = D.filter((e) => e.stock > 0 && e.stock < e.minStock), U = D.reduce((e, t) => e + t.stock * t.price, 0), W = Array.from(new Set(D.map((e) => e.category))), G = D.filter((e) => {
|
|
28
|
+
let t = (e.name ?? "").toLowerCase().includes(k.toLowerCase()) || (e.sku ?? "").toLowerCase().includes(k.toLowerCase()) || (e.category ?? "").toLowerCase().includes(k.toLowerCase()), n = j === "all" || e.category === j, r = N === "all" || e.status === N;
|
|
29
|
+
return t && n && r;
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ C(i, {
|
|
32
|
+
title: "Inventory",
|
|
33
|
+
description: "Track stock levels and inventory value",
|
|
34
|
+
actions: /* @__PURE__ */ C("div", {
|
|
35
|
+
className: "flex items-center gap-2",
|
|
36
|
+
children: [/* @__PURE__ */ C("button", {
|
|
37
|
+
onClick: () => I(!0),
|
|
38
|
+
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",
|
|
39
|
+
children: [/* @__PURE__ */ S(m, { className: "h-4 w-4" }), " Stock Adjustment"]
|
|
40
|
+
}), /* @__PURE__ */ S("button", {
|
|
41
|
+
onClick: () => {
|
|
42
|
+
O(E), B({
|
|
43
|
+
title: "Inventory refreshed",
|
|
44
|
+
description: "Stock levels have been reset to original data.",
|
|
45
|
+
variant: "info"
|
|
46
|
+
});
|
|
47
|
+
},
|
|
48
|
+
className: "rounded-md border border-border px-3 py-2 text-sm text-foreground hover:bg-muted/50",
|
|
49
|
+
children: /* @__PURE__ */ S(y, { className: "h-4 w-4" })
|
|
50
|
+
})]
|
|
51
|
+
}),
|
|
52
|
+
children: [
|
|
53
|
+
H.length > 0 && /* @__PURE__ */ C("div", {
|
|
54
|
+
className: "flex items-start gap-3 rounded-lg border border-amber-300 bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20",
|
|
55
|
+
children: [/* @__PURE__ */ S(f, { className: "mt-0.5 h-5 w-5 shrink-0 text-amber-600 dark:text-amber-400" }), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ C("p", {
|
|
56
|
+
className: "text-sm font-medium text-amber-800 dark:text-amber-300",
|
|
57
|
+
children: [
|
|
58
|
+
H.length,
|
|
59
|
+
" item",
|
|
60
|
+
H.length > 1 ? "s" : "",
|
|
61
|
+
" below minimum stock level"
|
|
62
|
+
]
|
|
63
|
+
}), /* @__PURE__ */ C("p", {
|
|
64
|
+
className: "mt-0.5 text-xs text-amber-700 dark:text-amber-400",
|
|
65
|
+
children: [H.map((e) => e.name).join(", "), " — consider restocking soon."]
|
|
66
|
+
})] })]
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ C("div", {
|
|
69
|
+
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ S("div", {
|
|
72
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
73
|
+
children: /* @__PURE__ */ C("div", {
|
|
74
|
+
className: "flex items-center justify-between",
|
|
75
|
+
children: [/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
76
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
77
|
+
children: "Total Stock Value"
|
|
78
|
+
}), /* @__PURE__ */ S("p", {
|
|
79
|
+
className: "mt-1 text-2xl font-bold text-foreground",
|
|
80
|
+
children: t(U)
|
|
81
|
+
})] }), /* @__PURE__ */ S(g, { className: "h-6 w-6 text-muted-foreground" })]
|
|
82
|
+
})
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ S("div", {
|
|
85
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
86
|
+
children: /* @__PURE__ */ C("div", {
|
|
87
|
+
className: "flex items-center justify-between",
|
|
88
|
+
children: [/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
89
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
90
|
+
children: "Below Min Stock"
|
|
91
|
+
}), /* @__PURE__ */ S("p", {
|
|
92
|
+
className: "mt-1 text-2xl font-bold text-foreground",
|
|
93
|
+
children: H.length
|
|
94
|
+
})] }), /* @__PURE__ */ S(f, { className: "h-6 w-6 text-muted-foreground" })]
|
|
95
|
+
})
|
|
96
|
+
}),
|
|
97
|
+
/* @__PURE__ */ S("div", {
|
|
98
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
99
|
+
children: /* @__PURE__ */ C("div", {
|
|
100
|
+
className: "flex items-center justify-between",
|
|
101
|
+
children: [/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
102
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
103
|
+
children: "Categories"
|
|
104
|
+
}), /* @__PURE__ */ S("p", {
|
|
105
|
+
className: "mt-1 text-2xl font-bold text-foreground",
|
|
106
|
+
children: W.length
|
|
107
|
+
})] }), /* @__PURE__ */ S(_, { className: "h-6 w-6 text-muted-foreground" })]
|
|
108
|
+
})
|
|
109
|
+
}),
|
|
110
|
+
/* @__PURE__ */ S("div", {
|
|
111
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
112
|
+
children: /* @__PURE__ */ C("div", {
|
|
113
|
+
className: "flex items-center justify-between",
|
|
114
|
+
children: [/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
115
|
+
className: "text-xs font-medium text-muted-foreground",
|
|
116
|
+
children: "Last Updated"
|
|
117
|
+
}), /* @__PURE__ */ S("p", {
|
|
118
|
+
className: "mt-1 text-2xl font-bold text-foreground",
|
|
119
|
+
children: "Today"
|
|
120
|
+
})] }), /* @__PURE__ */ S(h, { className: "h-6 w-6 text-muted-foreground" })]
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
]
|
|
124
|
+
}),
|
|
125
|
+
/* @__PURE__ */ C("div", {
|
|
126
|
+
className: "flex flex-col gap-4 rounded-lg border border-border bg-card p-4 sm:flex-row sm:items-center sm:justify-between",
|
|
127
|
+
children: [/* @__PURE__ */ C("div", {
|
|
128
|
+
className: "flex flex-wrap items-center gap-3",
|
|
129
|
+
children: [
|
|
130
|
+
/* @__PURE__ */ C("div", {
|
|
131
|
+
className: "relative",
|
|
132
|
+
children: [/* @__PURE__ */ S(b, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ S("input", {
|
|
133
|
+
type: "text",
|
|
134
|
+
placeholder: "Search products, SKU...",
|
|
135
|
+
value: k,
|
|
136
|
+
onChange: (e) => A(e.target.value),
|
|
137
|
+
className: "w-64 rounded-md border border-border bg-background py-2 pl-10 pr-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
138
|
+
})]
|
|
139
|
+
}),
|
|
140
|
+
/* @__PURE__ */ C("select", {
|
|
141
|
+
value: j,
|
|
142
|
+
onChange: (e) => M(e.target.value),
|
|
143
|
+
className: "rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
|
|
144
|
+
children: [/* @__PURE__ */ S("option", {
|
|
145
|
+
value: "all",
|
|
146
|
+
children: "All Categories"
|
|
147
|
+
}), W.map((e) => /* @__PURE__ */ S("option", {
|
|
148
|
+
value: e,
|
|
149
|
+
children: e
|
|
150
|
+
}, e))]
|
|
151
|
+
}),
|
|
152
|
+
/* @__PURE__ */ C("select", {
|
|
153
|
+
value: N,
|
|
154
|
+
onChange: (e) => P(e.target.value),
|
|
155
|
+
className: "rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
|
|
156
|
+
children: [
|
|
157
|
+
/* @__PURE__ */ S("option", {
|
|
158
|
+
value: "all",
|
|
159
|
+
children: "All Statuses"
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ S("option", {
|
|
162
|
+
value: "active",
|
|
163
|
+
children: "Active"
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ S("option", {
|
|
166
|
+
value: "low_stock",
|
|
167
|
+
children: "Low Stock"
|
|
168
|
+
}),
|
|
169
|
+
/* @__PURE__ */ S("option", {
|
|
170
|
+
value: "out_of_stock",
|
|
171
|
+
children: "Out of Stock"
|
|
172
|
+
})
|
|
173
|
+
]
|
|
174
|
+
})
|
|
175
|
+
]
|
|
176
|
+
}), /* @__PURE__ */ C("span", {
|
|
177
|
+
className: "text-xs text-muted-foreground",
|
|
178
|
+
children: [
|
|
179
|
+
G.length,
|
|
180
|
+
" of ",
|
|
181
|
+
D.length,
|
|
182
|
+
" items"
|
|
183
|
+
]
|
|
184
|
+
})]
|
|
185
|
+
}),
|
|
186
|
+
/* @__PURE__ */ S(a, {
|
|
187
|
+
columns: [
|
|
188
|
+
{
|
|
189
|
+
key: "name",
|
|
190
|
+
header: "Product",
|
|
191
|
+
render: (e) => /* @__PURE__ */ C("div", {
|
|
192
|
+
className: "flex items-center gap-2",
|
|
193
|
+
children: [/* @__PURE__ */ S(v, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ S("span", {
|
|
194
|
+
className: "font-medium text-foreground",
|
|
195
|
+
children: e.name
|
|
196
|
+
})]
|
|
197
|
+
})
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
key: "sku",
|
|
201
|
+
header: "SKU",
|
|
202
|
+
render: (e) => /* @__PURE__ */ S("span", {
|
|
203
|
+
className: "font-mono text-xs text-muted-foreground",
|
|
204
|
+
children: e.sku
|
|
205
|
+
})
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
key: "category",
|
|
209
|
+
header: "Category"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
key: "stock",
|
|
213
|
+
header: "Stock Level",
|
|
214
|
+
render: (t) => {
|
|
215
|
+
let n = Math.max(t.minStock * 3, 1), i = Math.min(Math.round(t.stock / n * 100), 100);
|
|
216
|
+
return /* @__PURE__ */ C("div", {
|
|
217
|
+
className: "flex items-center gap-3",
|
|
218
|
+
children: [/* @__PURE__ */ S("div", {
|
|
219
|
+
className: "h-2 w-24 rounded-full bg-muted",
|
|
220
|
+
children: /* @__PURE__ */ S("div", {
|
|
221
|
+
className: e("h-2 rounded-full", t.stock === 0 ? "bg-red-500" : t.stock < t.minStock ? "bg-amber-500" : "bg-emerald-500"),
|
|
222
|
+
style: { width: `${i}%` }
|
|
223
|
+
})
|
|
224
|
+
}), /* @__PURE__ */ C("span", {
|
|
225
|
+
className: "text-xs text-muted-foreground",
|
|
226
|
+
children: [
|
|
227
|
+
r(t.stock),
|
|
228
|
+
" / ",
|
|
229
|
+
r(n)
|
|
230
|
+
]
|
|
231
|
+
})]
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
key: "minStock",
|
|
237
|
+
header: "Min Stock",
|
|
238
|
+
render: (e) => /* @__PURE__ */ S("span", {
|
|
239
|
+
className: "text-foreground",
|
|
240
|
+
children: r(e.minStock)
|
|
241
|
+
})
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
key: "status",
|
|
245
|
+
header: "Status",
|
|
246
|
+
render: (e) => /* @__PURE__ */ S(o, {
|
|
247
|
+
label: (e.status ?? "unknown").replace(/_/g, " "),
|
|
248
|
+
variant: w(e.status ?? "unknown"),
|
|
249
|
+
dot: !0
|
|
250
|
+
})
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
key: "value",
|
|
254
|
+
header: "Value",
|
|
255
|
+
render: (e) => /* @__PURE__ */ S("span", {
|
|
256
|
+
className: "text-foreground",
|
|
257
|
+
children: t(e.stock * e.price)
|
|
258
|
+
})
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
key: "lastUpdated",
|
|
262
|
+
header: "Last Updated",
|
|
263
|
+
render: (e) => /* @__PURE__ */ S("span", {
|
|
264
|
+
className: "text-xs text-muted-foreground",
|
|
265
|
+
children: n(e.lastUpdated)
|
|
266
|
+
})
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
key: "actions",
|
|
270
|
+
header: "Actions",
|
|
271
|
+
sortable: !1,
|
|
272
|
+
render: (e) => /* @__PURE__ */ S("button", {
|
|
273
|
+
onClick: () => {
|
|
274
|
+
R({
|
|
275
|
+
productId: e.id,
|
|
276
|
+
type: "add",
|
|
277
|
+
quantity: 0,
|
|
278
|
+
reason: ""
|
|
279
|
+
}), I(!0);
|
|
280
|
+
},
|
|
281
|
+
className: "rounded-md border border-border px-2 py-1 text-xs text-foreground hover:bg-muted/50",
|
|
282
|
+
children: "Adjust"
|
|
283
|
+
})
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
data: G,
|
|
287
|
+
keyField: "id",
|
|
288
|
+
emptyMessage: "No inventory items match your filters"
|
|
289
|
+
}),
|
|
290
|
+
/* @__PURE__ */ S(c, {
|
|
291
|
+
open: F,
|
|
292
|
+
onClose: () => {
|
|
293
|
+
I(!1), R(T);
|
|
294
|
+
},
|
|
295
|
+
title: "Stock Adjustment",
|
|
296
|
+
description: "Add or remove stock for a product.",
|
|
297
|
+
size: "md",
|
|
298
|
+
footer: /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("button", {
|
|
299
|
+
onClick: () => {
|
|
300
|
+
I(!1), R(T);
|
|
301
|
+
},
|
|
302
|
+
className: "rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground",
|
|
303
|
+
children: "Cancel"
|
|
304
|
+
}), /* @__PURE__ */ S("button", {
|
|
305
|
+
onClick: () => {
|
|
306
|
+
if (!L.productId) {
|
|
307
|
+
B({
|
|
308
|
+
title: "Select a product",
|
|
309
|
+
description: "Please select a product to adjust.",
|
|
310
|
+
variant: "warning"
|
|
311
|
+
});
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
if (L.quantity <= 0) {
|
|
315
|
+
B({
|
|
316
|
+
title: "Invalid quantity",
|
|
317
|
+
description: "Quantity must be greater than zero.",
|
|
318
|
+
variant: "warning"
|
|
319
|
+
});
|
|
320
|
+
return;
|
|
321
|
+
}
|
|
322
|
+
if (!L.reason.trim()) {
|
|
323
|
+
B({
|
|
324
|
+
title: "Reason required",
|
|
325
|
+
description: "Please provide a reason for the adjustment.",
|
|
326
|
+
variant: "warning"
|
|
327
|
+
});
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
O((e) => e.map((e) => {
|
|
331
|
+
if (e.id !== L.productId) return e;
|
|
332
|
+
let t = L.type === "add" ? e.stock + L.quantity : Math.max(0, e.stock - L.quantity), n = t === 0 ? "out_of_stock" : t < e.minStock ? "low_stock" : "active";
|
|
333
|
+
return {
|
|
334
|
+
...e,
|
|
335
|
+
stock: t,
|
|
336
|
+
status: n,
|
|
337
|
+
lastUpdated: (/* @__PURE__ */ new Date()).toISOString().slice(0, 10)
|
|
338
|
+
};
|
|
339
|
+
}));
|
|
340
|
+
let e = D.find((e) => e.id === L.productId), t = L.type === "add" ? "added to" : "removed from";
|
|
341
|
+
B({
|
|
342
|
+
title: "Stock adjusted",
|
|
343
|
+
description: `${L.quantity} units ${t} ${e?.name ?? "product"}.`,
|
|
344
|
+
variant: "success"
|
|
345
|
+
}), I(!1), R(T);
|
|
346
|
+
},
|
|
347
|
+
className: "rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
348
|
+
children: "Apply Adjustment"
|
|
349
|
+
})] }),
|
|
350
|
+
children: /* @__PURE__ */ C("div", {
|
|
351
|
+
className: "space-y-4",
|
|
352
|
+
children: [
|
|
353
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("label", {
|
|
354
|
+
className: "text-sm font-medium text-foreground",
|
|
355
|
+
children: "Product *"
|
|
356
|
+
}), /* @__PURE__ */ C("select", {
|
|
357
|
+
value: L.productId,
|
|
358
|
+
onChange: (e) => R((t) => ({
|
|
359
|
+
...t,
|
|
360
|
+
productId: e.target.value
|
|
361
|
+
})),
|
|
362
|
+
className: "mt-1 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",
|
|
363
|
+
children: [/* @__PURE__ */ S("option", {
|
|
364
|
+
value: "",
|
|
365
|
+
children: "Select a product"
|
|
366
|
+
}), D.map((e) => /* @__PURE__ */ C("option", {
|
|
367
|
+
value: e.id,
|
|
368
|
+
children: [
|
|
369
|
+
e.name,
|
|
370
|
+
" (Stock: ",
|
|
371
|
+
e.stock,
|
|
372
|
+
")"
|
|
373
|
+
]
|
|
374
|
+
}, e.id))]
|
|
375
|
+
})] }),
|
|
376
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("label", {
|
|
377
|
+
className: "text-sm font-medium text-foreground",
|
|
378
|
+
children: "Adjustment Type *"
|
|
379
|
+
}), /* @__PURE__ */ C("div", {
|
|
380
|
+
className: "mt-2 flex gap-3",
|
|
381
|
+
children: [/* @__PURE__ */ C("button", {
|
|
382
|
+
onClick: () => R((e) => ({
|
|
383
|
+
...e,
|
|
384
|
+
type: "add"
|
|
385
|
+
})),
|
|
386
|
+
className: e("flex flex-1 items-center justify-center gap-2 rounded-md border px-4 py-2.5 text-sm font-medium transition-colors", L.type === "add" ? "border-primary bg-primary/10 text-primary" : "border-border text-muted-foreground hover:bg-muted/50"),
|
|
387
|
+
children: [/* @__PURE__ */ S(m, { className: "h-4 w-4" }), " Add Stock"]
|
|
388
|
+
}), /* @__PURE__ */ C("button", {
|
|
389
|
+
onClick: () => R((e) => ({
|
|
390
|
+
...e,
|
|
391
|
+
type: "remove"
|
|
392
|
+
})),
|
|
393
|
+
className: e("flex flex-1 items-center justify-center gap-2 rounded-md border px-4 py-2.5 text-sm font-medium transition-colors", L.type === "remove" ? "border-red-500 bg-red-50 text-red-700 dark:bg-red-900/20 dark:text-red-400" : "border-border text-muted-foreground hover:bg-muted/50"),
|
|
394
|
+
children: [/* @__PURE__ */ S(p, { className: "h-4 w-4" }), " Remove Stock"]
|
|
395
|
+
})]
|
|
396
|
+
})] }),
|
|
397
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("label", {
|
|
398
|
+
className: "text-sm font-medium text-foreground",
|
|
399
|
+
children: "Quantity *"
|
|
400
|
+
}), /* @__PURE__ */ S("input", {
|
|
401
|
+
type: "number",
|
|
402
|
+
min: 1,
|
|
403
|
+
value: L.quantity || "",
|
|
404
|
+
onChange: (e) => R((t) => ({
|
|
405
|
+
...t,
|
|
406
|
+
quantity: Number(e.target.value)
|
|
407
|
+
})),
|
|
408
|
+
placeholder: "e.g., 50",
|
|
409
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
410
|
+
})] }),
|
|
411
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("label", {
|
|
412
|
+
className: "text-sm font-medium text-foreground",
|
|
413
|
+
children: "Reason *"
|
|
414
|
+
}), /* @__PURE__ */ S("input", {
|
|
415
|
+
type: "text",
|
|
416
|
+
value: L.reason,
|
|
417
|
+
onChange: (e) => R((t) => ({
|
|
418
|
+
...t,
|
|
419
|
+
reason: e.target.value
|
|
420
|
+
})),
|
|
421
|
+
placeholder: "e.g., New shipment received",
|
|
422
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
423
|
+
})] }),
|
|
424
|
+
L.productId && /* @__PURE__ */ C("div", {
|
|
425
|
+
className: "rounded-md border border-border bg-muted/50 p-3",
|
|
426
|
+
children: [/* @__PURE__ */ S("p", {
|
|
427
|
+
className: "text-xs text-muted-foreground",
|
|
428
|
+
children: "Preview"
|
|
429
|
+
}), (() => {
|
|
430
|
+
let e = D.find((e) => e.id === L.productId);
|
|
431
|
+
if (!e) return null;
|
|
432
|
+
let t = L.type === "add" ? e.stock + (L.quantity || 0) : Math.max(0, e.stock - (L.quantity || 0));
|
|
433
|
+
return /* @__PURE__ */ C("p", {
|
|
434
|
+
className: "mt-1 text-sm text-foreground",
|
|
435
|
+
children: [
|
|
436
|
+
/* @__PURE__ */ S("span", {
|
|
437
|
+
className: "font-medium",
|
|
438
|
+
children: e.name
|
|
439
|
+
}),
|
|
440
|
+
": ",
|
|
441
|
+
e.stock,
|
|
442
|
+
" → ",
|
|
443
|
+
t,
|
|
444
|
+
" ",
|
|
445
|
+
e.unit
|
|
446
|
+
]
|
|
447
|
+
});
|
|
448
|
+
})()]
|
|
449
|
+
})
|
|
450
|
+
]
|
|
451
|
+
})
|
|
452
|
+
}),
|
|
453
|
+
/* @__PURE__ */ S(s, {
|
|
454
|
+
toasts: z,
|
|
455
|
+
onDismiss: V
|
|
456
|
+
})
|
|
457
|
+
]
|
|
458
|
+
});
|
|
459
|
+
};
|
|
460
|
+
//#endregion
|
|
461
|
+
export { E as InventoryPage };
|
|
462
|
+
|
|
463
|
+
//# sourceMappingURL=InventoryPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryPage.js","names":[],"sources":["../../../../src/healthybowl/pages/products/InventoryPage.tsx"],"sourcesContent":["import { useState, type FC } from 'react';\nimport {\n Package,\n AlertTriangle,\n DollarSign,\n Search,\n RefreshCw,\n ArrowUpCircle,\n ArrowDownCircle,\n Clock,\n Layers,\n} from 'lucide-react';\nimport { PageLayout, DataTable, StatusBadge, Modal } from '../../components';\nimport type { Column } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { formatCurrency, formatNumber, formatDate, cn } from '../../utils/helpers';\nimport { useToast } from '../../hooks/useToast';\nimport { ToastContainer } from '../../components/Toast';\nimport type { Product } from '../../types';\n\nconst statusVariant = (s: string) => {\n switch (s) {\n case 'active':\n return 'success' as const;\n case 'low_stock':\n return 'warning' as const;\n case 'out_of_stock':\n return 'error' as const;\n default:\n return 'muted' as const;\n }\n};\n\ninterface StockAdjustment {\n productId: string;\n type: 'add' | 'remove';\n quantity: number;\n reason: string;\n}\n\nconst defaultAdjustment: StockAdjustment = {\n productId: '',\n type: 'add',\n quantity: 0,\n reason: '',\n};\n\nexport const InventoryPage: FC = () => {\n const { products } = useHealthyBowlData();\n\n const [localProducts, setLocalProducts] = useState<Product[]>(products);\n const [search, setSearch] = useState('');\n const [categoryFilter, setCategoryFilter] = useState<string>('all');\n const [statusFilter, setStatusFilter] = useState<string>('all');\n const [showAdjustModal, setShowAdjustModal] = useState(false);\n const [adjustment, setAdjustment] = useState<StockAdjustment>(defaultAdjustment);\n const { toasts, toast, dismiss } = useToast();\n\n // Derived stats\n const lowStockProducts = localProducts.filter((p) => p.stock > 0 && p.stock < p.minStock);\n const totalValue = localProducts.reduce((sum, p) => sum + p.stock * p.price, 0);\n const categories = Array.from(new Set(localProducts.map((p) => p.category)));\n\n // Filter logic\n const filtered = localProducts.filter((p) => {\n const matchesSearch =\n (p.name ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (p.sku ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (p.category ?? '').toLowerCase().includes(search.toLowerCase());\n const matchesCategory = categoryFilter === 'all' || p.category === categoryFilter;\n const matchesStatus = statusFilter === 'all' || p.status === statusFilter;\n return matchesSearch && matchesCategory && matchesStatus;\n });\n\n const handleAdjustSubmit = () => {\n if (!adjustment.productId) {\n toast({ title: 'Select a product', description: 'Please select a product to adjust.', variant: 'warning' });\n return;\n }\n if (adjustment.quantity <= 0) {\n toast({ title: 'Invalid quantity', description: 'Quantity must be greater than zero.', variant: 'warning' });\n return;\n }\n if (!adjustment.reason.trim()) {\n toast({\n title: 'Reason required',\n description: 'Please provide a reason for the adjustment.',\n variant: 'warning',\n });\n return;\n }\n setLocalProducts((prev) =>\n prev.map((p) => {\n if (p.id !== adjustment.productId) return p;\n const newStock =\n adjustment.type === 'add' ? p.stock + adjustment.quantity : Math.max(0, p.stock - adjustment.quantity);\n const status: Product['status'] =\n newStock === 0 ? 'out_of_stock' : newStock < p.minStock ? 'low_stock' : 'active';\n return { ...p, stock: newStock, status, lastUpdated: new Date().toISOString().slice(0, 10) };\n })\n );\n const product = localProducts.find((p) => p.id === adjustment.productId);\n const action = adjustment.type === 'add' ? 'added to' : 'removed from';\n toast({\n title: 'Stock adjusted',\n description: `${adjustment.quantity} units ${action} ${product?.name ?? 'product'}.`,\n variant: 'success',\n });\n setShowAdjustModal(false);\n setAdjustment(defaultAdjustment);\n };\n\n const handleRefresh = () => {\n setLocalProducts(products);\n toast({\n title: 'Inventory refreshed',\n description: 'Stock levels have been reset to original data.',\n variant: 'info',\n });\n };\n\n const columns: Column<Product>[] = [\n {\n key: 'name',\n header: 'Product',\n render: (p) => (\n <div className=\"flex items-center gap-2\">\n <Package className=\"h-4 w-4 text-muted-foreground\" />\n <span className=\"font-medium text-foreground\">{p.name}</span>\n </div>\n ),\n },\n {\n key: 'sku',\n header: 'SKU',\n render: (p) => <span className=\"font-mono text-xs text-muted-foreground\">{p.sku}</span>,\n },\n { key: 'category', header: 'Category' },\n {\n key: 'stock',\n header: 'Stock Level',\n render: (p) => {\n const capacity = Math.max(p.minStock * 3, 1);\n const pct = Math.min(Math.round((p.stock / capacity) * 100), 100);\n const barColor = p.stock === 0 ? 'bg-red-500' : p.stock < p.minStock ? 'bg-amber-500' : 'bg-emerald-500';\n return (\n <div className=\"flex items-center gap-3\">\n <div className=\"h-2 w-24 rounded-full bg-muted\">\n <div className={cn('h-2 rounded-full', barColor)} style={{ width: `${pct}%` }} />\n </div>\n <span className=\"text-xs text-muted-foreground\">\n {formatNumber(p.stock)} / {formatNumber(capacity)}\n </span>\n </div>\n );\n },\n },\n {\n key: 'minStock',\n header: 'Min Stock',\n render: (p) => <span className=\"text-foreground\">{formatNumber(p.minStock)}</span>,\n },\n {\n key: 'status',\n header: 'Status',\n render: (p) => (\n <StatusBadge\n label={(p.status ?? 'unknown').replace(/_/g, ' ')}\n variant={statusVariant(p.status ?? 'unknown')}\n dot\n />\n ),\n },\n {\n key: 'value',\n header: 'Value',\n render: (p) => <span className=\"text-foreground\">{formatCurrency(p.stock * p.price)}</span>,\n },\n {\n key: 'lastUpdated',\n header: 'Last Updated',\n render: (p) => <span className=\"text-xs text-muted-foreground\">{formatDate(p.lastUpdated)}</span>,\n },\n {\n key: 'actions',\n header: 'Actions',\n sortable: false,\n render: (p) => (\n <button\n onClick={() => {\n setAdjustment({ productId: p.id, type: 'add', quantity: 0, reason: '' });\n setShowAdjustModal(true);\n }}\n className=\"rounded-md border border-border px-2 py-1 text-xs text-foreground hover:bg-muted/50\"\n >\n Adjust\n </button>\n ),\n },\n ];\n\n return (\n <PageLayout\n title=\"Inventory\"\n description=\"Track stock levels and inventory value\"\n actions={\n <div className=\"flex items-center gap-2\">\n <button\n onClick={() => setShowAdjustModal(true)}\n className=\"flex items-center gap-1.5 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n <ArrowUpCircle className=\"h-4 w-4\" /> Stock Adjustment\n </button>\n <button\n onClick={handleRefresh}\n className=\"rounded-md border border-border px-3 py-2 text-sm text-foreground hover:bg-muted/50\"\n >\n <RefreshCw className=\"h-4 w-4\" />\n </button>\n </div>\n }\n >\n {/* Low stock alert banner */}\n {lowStockProducts.length > 0 && (\n <div className=\"flex items-start gap-3 rounded-lg border border-amber-300 bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20\">\n <AlertTriangle className=\"mt-0.5 h-5 w-5 shrink-0 text-amber-600 dark:text-amber-400\" />\n <div>\n <p className=\"text-sm font-medium text-amber-800 dark:text-amber-300\">\n {lowStockProducts.length} item{lowStockProducts.length > 1 ? 's' : ''} below minimum stock level\n </p>\n <p className=\"mt-0.5 text-xs text-amber-700 dark:text-amber-400\">\n {lowStockProducts.map((p) => p.name).join(', ')} — consider restocking soon.\n </p>\n </div>\n </div>\n )}\n\n {/* Stats Row */}\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4\">\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Total Stock Value</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{formatCurrency(totalValue)}</p>\n </div>\n <DollarSign className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Below Min Stock</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{lowStockProducts.length}</p>\n </div>\n <AlertTriangle className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Categories</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">{categories.length}</p>\n </div>\n <Layers className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <div className=\"flex items-center justify-between\">\n <div>\n <p className=\"text-xs font-medium text-muted-foreground\">Last Updated</p>\n <p className=\"mt-1 text-2xl font-bold text-foreground\">Today</p>\n </div>\n <Clock className=\"h-6 w-6 text-muted-foreground\" />\n </div>\n </div>\n </div>\n\n {/* Filters */}\n <div className=\"flex flex-col gap-4 rounded-lg border border-border bg-card p-4 sm:flex-row sm:items-center sm:justify-between\">\n <div className=\"flex flex-wrap items-center gap-3\">\n <div className=\"relative\">\n <Search className=\"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground\" />\n <input\n type=\"text\"\n placeholder=\"Search products, SKU...\"\n value={search}\n onChange={(e) => setSearch(e.target.value)}\n className=\"w-64 rounded-md border border-border bg-background py-2 pl-10 pr-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <select\n value={categoryFilter}\n onChange={(e) => setCategoryFilter(e.target.value)}\n className=\"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=\"all\">All Categories</option>\n {categories.map((cat) => (\n <option key={cat} value={cat}>\n {cat}\n </option>\n ))}\n </select>\n <select\n value={statusFilter}\n onChange={(e) => setStatusFilter(e.target.value)}\n className=\"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=\"all\">All Statuses</option>\n <option value=\"active\">Active</option>\n <option value=\"low_stock\">Low Stock</option>\n <option value=\"out_of_stock\">Out of Stock</option>\n </select>\n </div>\n <span className=\"text-xs text-muted-foreground\">\n {filtered.length} of {localProducts.length} items\n </span>\n </div>\n\n {/* Data Table */}\n <DataTable columns={columns} data={filtered} keyField=\"id\" emptyMessage=\"No inventory items match your filters\" />\n\n {/* Stock Adjustment Modal */}\n <Modal\n open={showAdjustModal}\n onClose={() => {\n setShowAdjustModal(false);\n setAdjustment(defaultAdjustment);\n }}\n title=\"Stock Adjustment\"\n description=\"Add or remove stock for a product.\"\n size=\"md\"\n footer={\n <>\n <button\n onClick={() => {\n setShowAdjustModal(false);\n setAdjustment(defaultAdjustment);\n }}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground\"\n >\n Cancel\n </button>\n <button\n onClick={handleAdjustSubmit}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Apply Adjustment\n </button>\n </>\n }\n >\n <div className=\"space-y-4\">\n <div>\n <label className=\"text-sm font-medium text-foreground\">Product *</label>\n <select\n value={adjustment.productId}\n onChange={(e) => setAdjustment((prev) => ({ ...prev, productId: e.target.value }))}\n className=\"mt-1 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 a product</option>\n {localProducts.map((p) => (\n <option key={p.id} value={p.id}>\n {p.name} (Stock: {p.stock})\n </option>\n ))}\n </select>\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Adjustment Type *</label>\n <div className=\"mt-2 flex gap-3\">\n <button\n onClick={() => setAdjustment((prev) => ({ ...prev, type: 'add' }))}\n className={cn(\n 'flex flex-1 items-center justify-center gap-2 rounded-md border px-4 py-2.5 text-sm font-medium transition-colors',\n adjustment.type === 'add'\n ? 'border-primary bg-primary/10 text-primary'\n : 'border-border text-muted-foreground hover:bg-muted/50'\n )}\n >\n <ArrowUpCircle className=\"h-4 w-4\" /> Add Stock\n </button>\n <button\n onClick={() => setAdjustment((prev) => ({ ...prev, type: 'remove' }))}\n className={cn(\n 'flex flex-1 items-center justify-center gap-2 rounded-md border px-4 py-2.5 text-sm font-medium transition-colors',\n adjustment.type === 'remove'\n ? 'border-red-500 bg-red-50 text-red-700 dark:bg-red-900/20 dark:text-red-400'\n : 'border-border text-muted-foreground hover:bg-muted/50'\n )}\n >\n <ArrowDownCircle className=\"h-4 w-4\" /> Remove Stock\n </button>\n </div>\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Quantity *</label>\n <input\n type=\"number\"\n min={1}\n value={adjustment.quantity || ''}\n onChange={(e) => setAdjustment((prev) => ({ ...prev, quantity: Number(e.target.value) }))}\n placeholder=\"e.g., 50\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Reason *</label>\n <input\n type=\"text\"\n value={adjustment.reason}\n onChange={(e) => setAdjustment((prev) => ({ ...prev, reason: e.target.value }))}\n placeholder=\"e.g., New shipment received\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n {adjustment.productId && (\n <div className=\"rounded-md border border-border bg-muted/50 p-3\">\n <p className=\"text-xs text-muted-foreground\">Preview</p>\n {(() => {\n const product = localProducts.find((p) => p.id === adjustment.productId);\n if (!product) return null;\n const newStock =\n adjustment.type === 'add'\n ? product.stock + (adjustment.quantity || 0)\n : Math.max(0, product.stock - (adjustment.quantity || 0));\n return (\n <p className=\"mt-1 text-sm text-foreground\">\n <span className=\"font-medium\">{product.name}</span>: {product.stock} → {newStock} {product.unit}\n </p>\n );\n })()}\n </div>\n )}\n </div>\n </Modal>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;;AAoBA,IAAM,KAAiB,MAAc;AACnC,SAAQ,GAAR;EACE,KAAK,SACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,eACH,QAAO;EACT,QACE,QAAO;;GAWP,IAAqC;CACzC,WAAW;CACX,MAAM;CACN,UAAU;CACV,QAAQ;CACT,EAEY,UAA0B;CACrC,IAAM,EAAE,gBAAa,GAAoB,EAEnC,CAAC,GAAe,KAAoB,EAAoB,EAAS,EACjE,CAAC,GAAQ,KAAa,EAAS,GAAG,EAClC,CAAC,GAAgB,KAAqB,EAAiB,MAAM,EAC7D,CAAC,GAAc,KAAmB,EAAiB,MAAM,EACzD,CAAC,GAAiB,KAAsB,EAAS,GAAM,EACvD,CAAC,GAAY,KAAiB,EAA0B,EAAkB,EAC1E,EAAE,WAAQ,UAAO,eAAY,GAAU,EAGvC,IAAmB,EAAc,QAAQ,MAAM,EAAE,QAAQ,KAAK,EAAE,QAAQ,EAAE,SAAS,EACnF,IAAa,EAAc,QAAQ,GAAK,MAAM,IAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EACzE,IAAa,MAAM,KAAK,IAAI,IAAI,EAAc,KAAK,MAAM,EAAE,SAAS,CAAC,CAAC,EAGtE,IAAW,EAAc,QAAQ,MAAM;EAC3C,IAAM,KACH,EAA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